qairt-visualizer 0.5.1__py3-none-win_amd64.whl → 0.6.0__py3-none-win_amd64.whl

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.
Files changed (309) hide show
  1. qairt_visualizer/core/helpers/version.py +23 -0
  2. qairt_visualizer/core/launchers/base_ui_launcher_context.py +28 -7
  3. qairt_visualizer/core/launchers/electron_launcher_context.py +72 -3
  4. qairt_visualizer/core/parsers/dlc_parser/dlc_parser.py +105 -33
  5. qairt_visualizer/core/parsers/dlc_parser/get_source_topology.py +47 -0
  6. qairt_visualizer/core/parsers/dlc_parser/libDlModelToolsPy.pyd +0 -0
  7. qairt_visualizer/core/parsers/dlc_parser/libDlModelToolsPy.so +0 -0
  8. qairt_visualizer/core/parsers/dlc_parser/libPyIrGraph.pyd +0 -0
  9. qairt_visualizer/core/parsers/dlc_parser/libPyIrGraph.so +0 -0
  10. qairt_visualizer/core/parsers/dlc_parser/models/op_tensor_mappings.py +8 -4
  11. qairt_visualizer/core/ui/dist/browser/__init__.py +47 -0
  12. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/acuity.js → acuity.js} +3 -3
  13. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/app.js → app.js} +63 -57
  14. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/armnn-schema.js → armnn-schema.js} +590 -5
  15. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/armnn.js → armnn.js} +3 -5
  16. qairt_visualizer/core/ui/dist/browser/assets/i18n/common/en.json +8 -2
  17. qairt_visualizer/core/ui/dist/browser/assets/i18n/graph/en.json +32 -36
  18. qairt_visualizer/core/ui/dist/browser/assets/i18n/panels/en.json +9 -3
  19. qairt_visualizer/core/ui/dist/browser/assets/i18n/panels/model-diff/en.json +6 -0
  20. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/barracuda.js → barracuda.js} +3 -3
  21. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/base.js → base.js} +20 -16
  22. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/bigdl.js → bigdl.js} +2 -2
  23. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/browser.js → browser.js} +59 -49
  24. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/caffe.js → caffe.js} +3 -3
  25. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/caffe2-proto.js → caffe2-proto.js} +26 -26
  26. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/caffe2.js → caffe2.js} +113 -114
  27. qairt_visualizer/core/ui/dist/browser/chunk-3SMGFPTN.js +11 -0
  28. qairt_visualizer/core/ui/dist/browser/chunk-43LQFSHA.js +1 -0
  29. qairt_visualizer/core/ui/dist/browser/chunk-447NKSFT.js +1 -0
  30. qairt_visualizer/core/ui/dist/browser/chunk-5MAR72QP.js +1 -0
  31. qairt_visualizer/core/ui/dist/browser/chunk-7PTY53DS.js +5 -0
  32. qairt_visualizer/core/ui/dist/browser/chunk-GAUD627J.js +1 -0
  33. qairt_visualizer/core/ui/dist/browser/chunk-H7TLLCSI.js +1 -0
  34. qairt_visualizer/core/ui/dist/browser/chunk-HISUA6LZ.js +4 -0
  35. qairt_visualizer/core/ui/dist/browser/chunk-HXB7IAZI.js +1 -0
  36. qairt_visualizer/core/ui/dist/browser/chunk-L3QJ7DR2.js +1 -0
  37. qairt_visualizer/core/ui/dist/browser/chunk-M7SD7HRU.js +129 -0
  38. qairt_visualizer/core/ui/dist/browser/{chunk-HBP6TEQ6.js → chunk-MCR4N53U.js} +1 -1
  39. qairt_visualizer/core/ui/dist/browser/chunk-QD7PA2I4.js +19 -0
  40. qairt_visualizer/core/ui/dist/browser/chunk-TKZG6FLW.js +12 -0
  41. qairt_visualizer/core/ui/dist/browser/chunk-WFAVWONI.js +5 -0
  42. qairt_visualizer/core/ui/dist/browser/chunk-WRMDGTCT.js +35 -0
  43. qairt_visualizer/core/ui/dist/browser/chunk-X25J6H7V.js +1 -0
  44. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/circle-schema.js → circle-schema.js} +17 -0
  45. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/circle.js → circle.js} +3 -3
  46. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/cntk.js → cntk.js} +1 -1
  47. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/coreml-proto.js → coreml-proto.js} +1 -0
  48. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/coreml.js → coreml.js} +24 -21
  49. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dagre.js → dagre.js} +5 -5
  50. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/darknet-metadata.json → darknet-metadata.json} +0 -1
  51. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/darknet.js → darknet.js} +3 -3
  52. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/electron.mjs → desktop.mjs} +44 -131
  53. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dl4j.js → dl4j.js} +5 -2
  54. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dlc-schema.js → dlc-schema.js} +8 -8
  55. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dlc.js → dlc.js} +110 -29
  56. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dnn.js → dnn.js} +2 -4
  57. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dot.js → dot.js} +1 -1
  58. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/espresso.js → espresso.js} +1 -1
  59. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/executorch-schema.js → executorch-schema.js} +363 -42
  60. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/executorch.js → executorch.js} +108 -40
  61. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/flatbuffers.js → flatbuffers.js} +1 -1
  62. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/flax.js → flax.js} +1 -1
  63. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/flux.js → flux.js} +2 -2
  64. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/gguf.js → gguf.js} +44 -24
  65. qairt_visualizer/core/ui/dist/browser/grapher.css +145 -0
  66. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/grapher.js → grapher.js} +24 -48
  67. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/hailo.js → hailo.js} +1 -1
  68. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/hickle.js → hickle.js} +1 -1
  69. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/imgdnn.js → imgdnn.js} +1 -1
  70. qairt_visualizer/core/ui/dist/browser/index.html +15 -16
  71. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/index.js → index.js} +2 -24
  72. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/json.js → json.js} +28 -3
  73. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/kann.js → kann.js} +1 -1
  74. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/keras-metadata.json → keras-metadata.json} +15 -7
  75. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/keras.js → keras.js} +13 -7
  76. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/kmodel.js → kmodel.js} +3 -3
  77. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/lasagne.js → lasagne.js} +2 -2
  78. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/lightgbm.js → lightgbm.js} +1 -1
  79. qairt_visualizer/core/ui/dist/browser/main-VGWU2273.js +1 -0
  80. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mediapipe.js → mediapipe.js} +1 -1
  81. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/megengine.js → megengine.js} +1 -1
  82. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/message.js → message.js} +3 -2
  83. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mlir.js → mlir.js} +53 -17
  84. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mlnet.js → mlnet.js} +2 -3
  85. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mnn-schema.js → mnn-schema.js} +9 -6
  86. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mnn.js → mnn.js} +2 -2
  87. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mslite.js → mslite.js} +3 -3
  88. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mxnet.js → mxnet.js} +2 -2
  89. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/ncnn.js → ncnn.js} +3 -2
  90. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/nnabla.js → nnabla.js} +4 -4
  91. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/nnef.js → nnef.js} +1 -1
  92. qairt_visualizer/core/ui/dist/browser/node.js +102 -0
  93. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/numpy.js → numpy.js} +9 -9
  94. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/om.js → om.js} +2 -2
  95. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/onednn.js → onednn.js} +1 -1
  96. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/onnx-metadata.json → onnx-metadata.json} +3500 -233
  97. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/onnx-proto.js → onnx-proto.js} +436 -4
  98. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/onnx.js → onnx.js} +284 -199
  99. qairt_visualizer/core/ui/dist/browser/onnx.py +231 -0
  100. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/openvino.js → openvino.js} +36 -31
  101. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/paddle-proto.js → paddle-proto.js} +54 -54
  102. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/paddle.js → paddle.js} +22 -3
  103. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/pickle.js → pickle.js} +3 -3
  104. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/python.js → python.js} +743 -325
  105. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/pytorch-metadata.json → pytorch-metadata.json} +3217 -2934
  106. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/pytorch-proto.js → pytorch-proto.js} +4 -4
  107. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/pytorch.js → pytorch.js} +172 -86
  108. qairt_visualizer/core/ui/dist/browser/pytorch.py +304 -0
  109. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/qnn.js → qnn.js} +6 -2
  110. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/rknn.js → rknn.js} +3 -3
  111. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/safetensors.js → safetensors.js} +2 -2
  112. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/sentencepiece.js → sentencepiece.js} +1 -1
  113. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/server.py → server.py} +95 -103
  114. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/sklearn-metadata.json → sklearn-metadata.json} +15 -10
  115. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/sklearn.js → sklearn.js} +5 -5
  116. qairt_visualizer/core/ui/dist/browser/{styles-MRR6DOT2.css → styles-52VQCFP5.css} +1 -1
  117. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tar.js → tar.js} +18 -1
  118. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tengine.js → tengine.js} +1 -1
  119. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tensorrt.js → tensorrt.js} +1 -1
  120. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tf-metadata.json → tf-metadata.json} +1255 -163
  121. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tf-proto.js → tf-proto.js} +46 -12
  122. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tf.js → tf.js} +36 -13
  123. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tflite.js → tflite.js} +18 -21
  124. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tnn.js → tnn.js} +1 -3
  125. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/torch.js → torch.js} +1 -1
  126. qairt_visualizer/core/ui/dist/browser/transformers.js +171 -0
  127. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tvm.js → tvm.js} +2 -2
  128. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/uff.js → uff.js} +2 -2
  129. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/view.js → view.js} +1405 -1115
  130. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/weka.js → weka.js} +3 -4
  131. qairt_visualizer/core/ui/dist/browser/worker-CECUQ4FG.js +1 -0
  132. qairt_visualizer/core/ui/dist/browser/worker-IGSZ74QJ.js +4 -0
  133. qairt_visualizer/core/ui/dist/browser/xgboost.js +59 -0
  134. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/xml.js → xml.js} +2 -2
  135. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/xmodel.js → xmodel.js} +1 -1
  136. qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/zip.js → zip.js} +38 -41
  137. qairt_visualizer/core/ui/dist/qairt_visualizer.exe +0 -0
  138. qairt_visualizer/core/ui/dist/resources/app.asar +0 -0
  139. {qairt_visualizer-0.5.1.dist-info → qairt_visualizer-0.6.0.dist-info}/METADATA +1 -1
  140. qairt_visualizer-0.6.0.dist-info/RECORD +264 -0
  141. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/CITATION.cff +0 -10
  142. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/CONTRIBUTING.md +0 -29
  143. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/LICENSE +0 -21
  144. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/README.md +0 -36
  145. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/jenkins/Jenkinsfile +0 -69
  146. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/package-lock.json +0 -5743
  147. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/package.js +0 -689
  148. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/package.json +0 -53
  149. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/package.py +0 -87
  150. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/background.png +0 -0
  151. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/background.svg +0 -5
  152. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/background@2x.png +0 -0
  153. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/electron-builder.json +0 -109
  154. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/eslint.config.js +0 -231
  155. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/forge.config.js +0 -87
  156. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/icon.html +0 -27
  157. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/icon.icns +0 -0
  158. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/icon.icns.svg +0 -175
  159. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/icon.ico +0 -0
  160. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/icon.png +0 -0
  161. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/icon.svg +0 -179
  162. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/notarize.cjs +0 -24
  163. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/pyproject.toml +0 -63
  164. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/publish/setup.py +0 -43
  165. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/resolve_upgrade_merge.sh +0 -10
  166. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/__init__.py +0 -41
  167. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/cambricon.js +0 -32
  168. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/favicon.ico +0 -0
  169. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/grapher.css +0 -602
  170. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/index.html +0 -2222
  171. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/modular.js +0 -81
  172. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/onnx.py +0 -227
  173. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/pytorch.py +0 -298
  174. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/qais/qcontrol.js +0 -207
  175. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/qais/qgraph-toolkit.js +0 -123
  176. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/qais/qsubgraph.js +0 -226
  177. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/qais/qsummary-panel.js +0 -89
  178. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/source/server.js +0 -250
  179. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/test/backend.py +0 -80
  180. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/test/measures.py +0 -27
  181. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/test/models.js +0 -359
  182. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/test/models.json +0 -8523
  183. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/test/worker.js +0 -859
  184. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/armnn +0 -33
  185. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/bigdl +0 -33
  186. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/caffe +0 -37
  187. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/caffe-script.js +0 -12
  188. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/circle +0 -43
  189. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/circle-script.js +0 -87
  190. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/circle_script.js +0 -73
  191. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/cntk +0 -33
  192. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/coreml +0 -49
  193. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/dlc +0 -20
  194. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/dlc.fbs +0 -165
  195. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/dnn +0 -20
  196. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/dnn.proto +0 -79
  197. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/executorch +0 -41
  198. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/flatc.js +0 -1315
  199. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/gguf +0 -22
  200. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/kann +0 -33
  201. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/keras +0 -62
  202. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/keras_metadata.py +0 -205
  203. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/keras_script.py +0 -204
  204. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/mediapipe +0 -72
  205. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/megengine +0 -47
  206. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/megengine-script.js +0 -113
  207. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/megengine_script.js +0 -112
  208. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/mnn +0 -40
  209. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/mslite +0 -45
  210. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/mslite-script.js +0 -83
  211. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/mslite_metadata.js +0 -82
  212. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/nnabla +0 -79
  213. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/nnabla_script.py +0 -145
  214. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/om +0 -26
  215. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/om.proto +0 -204
  216. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/onnx +0 -135
  217. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/onnx_metadata.py +0 -233
  218. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/onnx_script.py +0 -332
  219. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/paddle +0 -38
  220. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/protoc.js +0 -1609
  221. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/pytorch +0 -85
  222. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/pytorch_metadata.py +0 -166
  223. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/pytorch_script.py +0 -404
  224. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/rknn +0 -20
  225. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/rknn.fbs +0 -78
  226. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/sentencepiece +0 -39
  227. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/sklearn +0 -65
  228. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/sklearn_metadata.py +0 -126
  229. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/sklearn_script.py +0 -129
  230. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/tf +0 -97
  231. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/tf_metadata.py +0 -403
  232. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/tf_script.py +0 -422
  233. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/tflite-script.js +0 -87
  234. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/tflite_metadata.js +0 -73
  235. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/uff +0 -20
  236. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/uff.proto +0 -127
  237. qairt_visualizer/core/ui/dist/browser/assets/netron_plugin/tools/xmodel +0 -36
  238. qairt_visualizer/core/ui/dist/browser/chunk-3NAQCYEU.js +0 -1
  239. qairt_visualizer/core/ui/dist/browser/chunk-NFKTPX3Z.js +0 -11
  240. qairt_visualizer/core/ui/dist/browser/chunk-OMI6HJ5Y.js +0 -19
  241. qairt_visualizer/core/ui/dist/browser/chunk-TTZXMRJ5.js +0 -34
  242. qairt_visualizer/core/ui/dist/browser/main-NXPVOKMG.js +0 -1
  243. qairt_visualizer/core/ui/dist/browser/worker-5VPKG2GV.js +0 -4
  244. qairt_visualizer/core/ui/dist/browser/worker-UVGWDZ5K.js +0 -1
  245. qairt_visualizer-0.5.1.dist-info/RECORD +0 -337
  246. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/acuity-metadata.json → acuity-metadata.json} +0 -0
  247. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/armnn-metadata.json → armnn-metadata.json} +0 -0
  248. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/bigdl-metadata.json → bigdl-metadata.json} +0 -0
  249. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/bigdl-proto.js → bigdl-proto.js} +0 -0
  250. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/caffe-metadata.json → caffe-metadata.json} +0 -0
  251. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/caffe-proto.js → caffe-proto.js} +0 -0
  252. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/caffe2-metadata.json → caffe2-metadata.json} +0 -0
  253. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/catboost.js → catboost.js} +0 -0
  254. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/circle-metadata.json → circle-metadata.json} +0 -0
  255. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/cntk-metadata.json → cntk-metadata.json} +0 -0
  256. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/cntk-proto.js → cntk-proto.js} +0 -0
  257. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/coreml-metadata.json → coreml-metadata.json} +0 -0
  258. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dl4j-metadata.json → dl4j-metadata.json} +0 -0
  259. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dlc-metadata.json → dlc-metadata.json} +0 -0
  260. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dnn-metadata.json → dnn-metadata.json} +0 -0
  261. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/dnn-proto.js → dnn-proto.js} +0 -0
  262. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/espresso-metadata.json → espresso-metadata.json} +0 -0
  263. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/flexbuffers.js → flexbuffers.js} +0 -0
  264. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/flux-metadata.json → flux-metadata.json} +0 -0
  265. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/hailo-metadata.json → hailo-metadata.json} +0 -0
  266. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/hdf5.js → hdf5.js} +0 -0
  267. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/icon.png → icon.png} +0 -0
  268. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/kann-metadata.json → kann-metadata.json} +0 -0
  269. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/kann-schema.js → kann-schema.js} +0 -0
  270. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/keras-proto.js → keras-proto.js} +0 -0
  271. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/lasagne-metadata.json → lasagne-metadata.json} +0 -0
  272. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/megengine-metadata.json → megengine-metadata.json} +0 -0
  273. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/megengine-schema.js → megengine-schema.js} +0 -0
  274. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mlnet-metadata.json → mlnet-metadata.json} +0 -0
  275. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mnn-metadata.json → mnn-metadata.json} +0 -0
  276. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mslite-metadata.json → mslite-metadata.json} +0 -0
  277. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mslite-schema.js → mslite-schema.js} +0 -0
  278. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/mxnet-metadata.json → mxnet-metadata.json} +0 -0
  279. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/ncnn-metadata.json → ncnn-metadata.json} +0 -0
  280. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/nnabla-metadata.json → nnabla-metadata.json} +0 -0
  281. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/nnabla-proto.js → nnabla-proto.js} +0 -0
  282. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/nnc.js → nnc.js} +0 -0
  283. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/om-metadata.json → om-metadata.json} +0 -0
  284. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/om-proto.js → om-proto.js} +0 -0
  285. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/onednn-metadata.json → onednn-metadata.json} +0 -0
  286. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/onnx-schema.js → onnx-schema.js} +0 -0
  287. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/openvino-metadata.json → openvino-metadata.json} +0 -0
  288. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/paddle-metadata.json → paddle-metadata.json} +0 -0
  289. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/paddle-schema.js → paddle-schema.js} +0 -0
  290. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/protobuf.js → protobuf.js} +0 -0
  291. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/pytorch-schema.js → pytorch-schema.js} +0 -0
  292. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/qnn-metadata.json → qnn-metadata.json} +0 -0
  293. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/rknn-metadata.json → rknn-metadata.json} +0 -0
  294. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/rknn-schema.js → rknn-schema.js} +0 -0
  295. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/sentencepiece-proto.js → sentencepiece-proto.js} +0 -0
  296. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tengine-metadata.json → tengine-metadata.json} +0 -0
  297. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/text.js → text.js} +0 -0
  298. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tflite-metadata.json → tflite-metadata.json} +0 -0
  299. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tflite-schema.js → tflite-schema.js} +0 -0
  300. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/tnn-metadata.json → tnn-metadata.json} +0 -0
  301. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/torch-metadata.json → torch-metadata.json} +0 -0
  302. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/uff-metadata.json → uff-metadata.json} +0 -0
  303. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/uff-proto.js → uff-proto.js} +0 -0
  304. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/worker.js → worker.js} +0 -0
  305. /qairt_visualizer/core/ui/dist/browser/{assets/netron_plugin/source/xmodel-proto.js → xmodel-proto.js} +0 -0
  306. {qairt_visualizer-0.5.1.dist-info → qairt_visualizer-0.6.0.dist-info}/LICENSE.pdf +0 -0
  307. {qairt_visualizer-0.5.1.dist-info → qairt_visualizer-0.6.0.dist-info}/WHEEL +0 -0
  308. {qairt_visualizer-0.5.1.dist-info → qairt_visualizer-0.6.0.dist-info}/entry_points.txt +0 -0
  309. {qairt_visualizer-0.5.1.dist-info → qairt_visualizer-0.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,19 @@
1
+ import{a as k,b as K,d as Tp,i as lt}from"./chunk-43LQFSHA.js";function fg(t,n){return Object.is(t,n)}var dt=null,ya=!1,xl=1,dn=Symbol("SIGNAL");function ke(t){let n=dt;return dt=t,n}function mg(){return dt}function g4(){return ya}var Br={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function _l(t){if(ya)throw new Error("");if(dt===null)return;dt.consumerOnSignalRead(t);let n=dt.nextProducerIndex++;if(Dl(dt),n<dt.producerNode.length&&dt.producerNode[n]!==t&&va(dt)){let e=dt.producerNode[n];Sl(e,dt.producerIndexOfThis[n])}dt.producerNode[n]!==t&&(dt.producerNode[n]=t,dt.producerIndexOfThis[n]=va(dt)?bg(t,dt,n):0),dt.producerLastReadVersion[n]=t.version}function y4(){xl++}function gg(t){if(!(va(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===xl)){if(!t.producerMustRecompute(t)&&!Ml(t)){t.dirty=!1,t.lastCleanEpoch=xl;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=xl}}function yg(t){if(t.liveConsumerNode===void 0)return;let n=ya;ya=!0;try{for(let e of t.liveConsumerNode)e.dirty||kg(e)}finally{ya=n}}function vg(){return dt?.consumerAllowSignalWrites!==!1}function kg(t){t.dirty=!0,yg(t),t.consumerMarkedDirty?.(t)}function ka(t){return t&&(t.nextProducerIndex=0),ke(t)}function wl(t,n){if(ke(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(va(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Sl(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ml(t){Dl(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(gg(e),i!==e.version))return!0}return!1}function Il(t){if(Dl(t),va(t))for(let n=0;n<t.producerNode.length;n++)Sl(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function bg(t,n,e){if(xg(t),t.liveConsumerNode.length===0&&Cg(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=bg(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function Sl(t,n){if(xg(t),t.liveConsumerNode.length===1&&Cg(t))for(let i=0;i<t.producerNode.length;i++)Sl(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],o=t.liveConsumerNode[n];Dl(o),o.producerIndexOfThis[i]=n}}function va(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Dl(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function xg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Cg(t){return t.producerNode!==void 0}function Rp(t){let n=Object.create(v4);n.computation=t;let e=()=>{if(gg(n),_l(n),n.value===Cl)throw n.error;return n.value};return e[dn]=n,e}var Ep=Symbol("UNSET"),Ap=Symbol("COMPUTING"),Cl=Symbol("ERRORED"),v4=K(k({},Br),{value:Ep,dirty:!0,error:null,equal:fg,producerMustRecompute(t){return t.value===Ep||t.value===Ap},producerRecomputeValue(t){if(t.value===Ap)throw new Error("Detected cycle in computations.");let n=t.value;t.value=Ap;let e=ka(t),i;try{i=t.computation()}catch(o){i=Cl,t.error=o}finally{wl(t,e)}if(n!==Ep&&n!==Cl&&i!==Cl&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});function k4(){throw new Error}var _g=k4;function wg(){_g()}function Mg(t){_g=t}var b4=null;function Ig(t){let n=Object.create(Op);n.value=t;let e=()=>(_l(n),n.value);return e[dn]=n,e}function Tl(t,n){vg()||wg(),t.equal(t.value,n)||(t.value=n,x4(t))}function Sg(t,n){vg()||wg(),Tl(t,n(t.value))}var Op=K(k({},Br),{equal:fg,value:void 0});function x4(t){t.version++,y4(),yg(t),b4?.()}function Dg(t,n,e){let i=Object.create(C4);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;let o=c=>{i.cleanupFn=c};function r(c){return c.fn===null&&c.schedule===null}function s(c){r(c)||(Il(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Lp)}let a=()=>{if(i.fn===null)return;if(g4())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Ml(i))return;i.hasRun=!0;let c=ka(i);try{i.cleanupFn(),i.cleanupFn=Lp,i.fn(o)}finally{wl(i,c)}};return i.ref={notify:()=>kg(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[dn]:i},i.ref}var Lp=()=>{},C4=K(k({},Br),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Lp});function se(t){return typeof t=="function"}function Hr(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var El=Hr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
+ ${e.map((i,o)=>`${o+1}) ${i.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=e});function jo(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Oe=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(se(i))try{i()}catch(r){n=r instanceof El?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{Tg(r)}catch(s){n=n??[],s instanceof El?n=[...n,...s.errors]:n.push(s)}}if(n)throw new El(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Tg(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&jo(e,n)}remove(n){let{_finalizers:e}=this;e&&jo(e,n),n instanceof t&&n._removeParent(this)}};Oe.EMPTY=(()=>{let t=new Oe;return t.closed=!0,t})();var Pp=Oe.EMPTY;function Al(t){return t instanceof Oe||t&&"closed"in t&&se(t.remove)&&se(t.add)&&se(t.unsubscribe)}function Tg(t){se(t)?t():t.unsubscribe()}var Fn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ur={setTimeout(t,n,...e){let{delegate:i}=Ur;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Ur;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ll(t){Ur.setTimeout(()=>{let{onUnhandledError:n}=Fn;if(n)n(t);else throw t})}function zo(){}var Eg=Fp("C",void 0,void 0);function Ag(t){return Fp("E",void 0,t)}function Lg(t){return Fp("N",t,void 0)}function Fp(t,n,e){return{kind:t,value:n,error:e}}var Bo=null;function Qr(t){if(Fn.useDeprecatedSynchronousErrorHandling){let n=!Bo;if(n&&(Bo={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Bo;if(Bo=null,e)throw i}}else t()}function Rg(t){Fn.useDeprecatedSynchronousErrorHandling&&Bo&&(Bo.errorThrown=!0,Bo.error=t)}var Ho=class extends Oe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Al(n)&&n.add(this)):this.destination=M4}static create(n,e,i){return new Ei(n,e,i)}next(n){this.isStopped?qp(Lg(n),this):this._next(n)}error(n){this.isStopped?qp(Ag(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?qp(Eg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_4=Function.prototype.bind;function Np(t,n){return _4.call(t,n)}var Vp=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Rl(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Rl(i)}else Rl(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Rl(e)}}},Ei=class extends Ho{constructor(n,e,i){super();let o;if(se(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&Fn.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Np(n.next,r),error:n.error&&Np(n.error,r),complete:n.complete&&Np(n.complete,r)}):o=n}this.destination=new Vp(o)}};function Rl(t){Fn.useDeprecatedSynchronousErrorHandling?Rg(t):Ll(t)}function w4(t){throw t}function qp(t,n){let{onStoppedNotification:e}=Fn;e&&Ur.setTimeout(()=>e(t,n))}var M4={closed:!0,next:zo,error:w4,complete:zo};var $r=typeof Symbol=="function"&&Symbol.observable||"@@observable";function _t(t){return t}function jp(...t){return zp(t)}function zp(t){return t.length===0?_t:t.length===1?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}var le=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){let r=S4(e)?e:new Ei(e,i,o);return Qr(()=>{let{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Og(i),new i((o,r)=>{let s=new Ei({next:a=>{try{e(a)}catch(c){r(c),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[$r](){return this}pipe(...e){return zp(e)(this)}toPromise(e){return e=Og(e),new e((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Og(t){var n;return(n=t??Fn.Promise)!==null&&n!==void 0?n:Promise}function I4(t){return t&&se(t.next)&&se(t.error)&&se(t.complete)}function S4(t){return t&&t instanceof Ho||I4(t)&&Al(t)}function Bp(t){return se(t?.lift)}function de(t){return n=>{if(Bp(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ae(t,n,e,i,o){return new Hp(t,n,e,i,o)}var Hp=class extends Ho{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Wr(){return de((t,n)=>{let e=null;t._refCount++;let i=ae(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var eo=class extends le{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Bp(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Oe;let e=this.getSubject();n.add(this.source.subscribe(ae(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Oe.EMPTY)}return n}refCount(){return Wr()(this)}};var Gr={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=Gr;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let o=n(r=>{e=void 0,t(r)});return new Oe(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=Gr;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Gr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Pg=Hr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class t extends le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Ol(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Pg}next(e){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:o,observers:r}=this;return i||o?Pp:(this.currentObservers=null,r.push(e),new Oe(()=>{this.currentObservers=null,jo(r,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){let e=new le;return e.source=this,e}}return t.create=(n,e)=>new Ol(n,e),t})(),Ol=class extends te{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Pp}};var Je=class extends te{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var ba={now(){return(ba.delegate||Date).now()},delegate:void 0};var Zr=class extends te{constructor(n=1/0,e=1/0,i=ba){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){let s=e.now(),a=0;for(let c=1;c<i.length&&i[c]<=s;c+=2)a=c;a&&i.splice(0,a+1)}}};var Pl=class extends Oe{constructor(n,e){super()}schedule(n,e=0){return this}};var xa={setInterval(t,n,...e){let{delegate:i}=xa;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=xa;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var to=class extends Pl{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return xa.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&xa.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,o;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,jo(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var D4=1,Up,Qp={};function Fg(t){return t in Qp?(delete Qp[t],!0):!1}var Ng={setImmediate(t){let n=D4++;return Qp[n]=!0,Up||(Up=Promise.resolve()),Up.then(()=>Fg(n)&&t()),n},clearImmediate(t){Fg(t)}};var{setImmediate:T4,clearImmediate:E4}=Ng,Ca={setImmediate(...t){let{delegate:n}=Ca;return(n?.setImmediate||T4)(...t)},clearImmediate(t){let{delegate:n}=Ca;return(n?.clearImmediate||E4)(t)},delegate:void 0};var Fl=class extends to{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ca.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(Ca.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var Kr=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Kr.now=ba.now;var no=class extends Kr{constructor(n,e=Kr.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var Nl=class extends no{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var $p=new Nl(Fl);var ri=new no(to),Wp=ri;var ql=class extends to{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Gr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(Gr.cancelAnimationFrame(e),n._scheduled=void 0)}};var Vl=class extends no{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var Gp=new Vl(ql);var qt=new le(t=>t.complete());function jl(t){return t&&se(t.schedule)}function Zp(t){return t[t.length-1]}function zl(t){return se(Zp(t))?t.pop():void 0}function si(t){return jl(Zp(t))?t.pop():void 0}function qg(t,n){return typeof Zp(t)=="number"?t.pop():n}function jg(t,n,e,i){function o(r){return r instanceof e?r:new e(function(s){s(r)})}return new(e||(e=Promise))(function(r,s){function a(d){try{l(i.next(d))}catch(u){s(u)}}function c(d){try{l(i.throw(d))}catch(u){s(u)}}function l(d){d.done?r(d.value):o(d.value).then(a,c)}l((i=i.apply(t,n||[])).next())})}function Vg(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Uo(t){return this instanceof Uo?(this.v=t,this):new Uo(t)}function zg(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(y){return Promise.resolve(y).then(f,u)}}function a(f,y){i[f]&&(o[f]=function(_){return new Promise(function(A,R){r.push([f,_,A,R])>1||c(f,_)})},y&&(o[f]=y(o[f])))}function c(f,y){try{l(i[f](y))}catch(_){g(r[0][3],_)}}function l(f){f.value instanceof Uo?Promise.resolve(f.value.v).then(d,u):g(r[0][2],f)}function d(f){c("next",f)}function u(f){c("throw",f)}function g(f,y){f(y),r.shift(),r.length&&c(r[0][0],r[0][1])}}function Bg(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof Vg=="function"?Vg(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,c){s=t[r](s),o(a,c,s.done,s.value)})}}function o(r,s,a,c){Promise.resolve(c).then(function(l){r({value:l,done:a})},s)}}var Xr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Bl(t){return se(t?.then)}function Hl(t){return se(t[$r])}function Ul(t){return Symbol.asyncIterator&&se(t?.[Symbol.asyncIterator])}function Ql(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function A4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var $l=A4();function Wl(t){return se(t?.[$l])}function Gl(t){return zg(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:o}=yield Uo(e.read());if(o)return yield Uo(void 0);yield yield Uo(i)}}finally{e.releaseLock()}})}function Zl(t){return se(t?.getReader)}function De(t){if(t instanceof le)return t;if(t!=null){if(Hl(t))return L4(t);if(Xr(t))return R4(t);if(Bl(t))return O4(t);if(Ul(t))return Hg(t);if(Wl(t))return P4(t);if(Zl(t))return F4(t)}throw Ql(t)}function L4(t){return new le(n=>{let e=t[$r]();if(se(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function R4(t){return new le(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function O4(t){return new le(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Ll)})}function P4(t){return new le(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Hg(t){return new le(n=>{N4(t,n).catch(e=>n.error(e))})}function F4(t){return Hg(Gl(t))}function N4(t,n){var e,i,o,r;return jg(this,void 0,void 0,function*(){try{for(e=Bg(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})}function Gt(t,n,e,i=0,o=!1){let r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function Kl(t,n=0){return de((e,i)=>{e.subscribe(ae(i,o=>Gt(i,t,()=>i.next(o),n),()=>Gt(i,t,()=>i.complete(),n),o=>Gt(i,t,()=>i.error(o),n)))})}function Xl(t,n=0){return de((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Ug(t,n){return De(t).pipe(Xl(n),Kl(n))}function Qg(t,n){return De(t).pipe(Xl(n),Kl(n))}function $g(t,n){return new le(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function Wg(t,n){return new le(e=>{let i;return Gt(e,n,()=>{i=t[$l](),Gt(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){e.error(s);return}r?e.complete():e.next(o)},0,!0)}),()=>se(i?.return)&&i.return()})}function Yl(t,n){if(!t)throw new Error("Iterable cannot be null");return new le(e=>{Gt(e,n,()=>{let i=t[Symbol.asyncIterator]();Gt(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function Gg(t,n){return Yl(Gl(t),n)}function Zg(t,n){if(t!=null){if(Hl(t))return Ug(t,n);if(Xr(t))return $g(t,n);if(Bl(t))return Qg(t,n);if(Ul(t))return Yl(t,n);if(Wl(t))return Wg(t,n);if(Zl(t))return Gg(t,n)}throw Ql(t)}function Ve(t,n){return n?Zg(t,n):De(t)}function G(...t){let n=si(t);return Ve(t,n)}function Yr(t,n){let e=se(t)?t:()=>t,i=o=>o.error(e());return new le(n?o=>n.schedule(i,0,o):i)}function Zt(t){return!!t&&(t instanceof le||se(t.lift)&&se(t.subscribe))}var Nn=Hr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function q4(t,n){let e=typeof n=="object";return new Promise((i,o)=>{let r=!1,s;t.subscribe({next:a=>{s=a,r=!0},error:o,complete:()=>{r?i(s):e?i(n.defaultValue):o(new Nn)}})})}function Kg(t){return t instanceof Date&&!isNaN(t)}function ne(t,n){return de((e,i)=>{let o=0;e.subscribe(ae(i,r=>{i.next(t.call(n,r,o++))}))})}var{isArray:V4}=Array;function j4(t,n){return V4(n)?t(...n):t(n)}function Jr(t){return ne(n=>j4(t,n))}var{isArray:z4}=Array,{getPrototypeOf:B4,prototype:H4,keys:U4}=Object;function Jl(t){if(t.length===1){let n=t[0];if(z4(n))return{args:n,keys:null};if(Q4(n)){let e=U4(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function Q4(t){return t&&typeof t=="object"&&B4(t)===H4}function ed(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function Qo(...t){let n=si(t),e=zl(t),{args:i,keys:o}=Jl(t);if(i.length===0)return Ve([],n);let r=new le($4(i,n,o?s=>ed(o,s):_t));return e?r.pipe(Jr(e)):r}function $4(t,n,e=_t){return i=>{Xg(n,()=>{let{length:o}=t,r=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Xg(n,()=>{let l=Ve(t[c],n),d=!1;l.subscribe(ae(i,u=>{r[c]=u,d||(d=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Xg(t,n,e){t?Gt(e,t,n):n()}function Yg(t,n,e,i,o,r,s,a){let c=[],l=0,d=0,u=!1,g=()=>{u&&!c.length&&!l&&n.complete()},f=_=>l<i?y(_):c.push(_),y=_=>{r&&n.next(_),l++;let A=!1;De(e(_,d++)).subscribe(ae(n,R=>{o?.(R),r?f(R):n.next(R)},()=>{A=!0},void 0,()=>{if(A)try{for(l--;c.length&&l<i;){let R=c.shift();s?Gt(n,s,()=>y(R)):y(R)}g()}catch(R){n.error(R)}}))};return t.subscribe(ae(n,f,()=>{u=!0,g()})),()=>{a?.()}}function Ye(t,n,e=1/0){return se(n)?Ye((i,o)=>ne((r,s)=>n(i,r,o,s))(De(t(i,o))),e):(typeof n=="number"&&(e=n),de((i,o)=>Yg(i,o,t,e)))}function ai(t=1/0){return Ye(_t,t)}function Jg(){return ai(1)}function un(...t){return Jg()(Ve(t,si(t)))}function $o(t){return new le(n=>{De(t()).subscribe(n)})}function _a(...t){let n=zl(t),{args:e,keys:i}=Jl(t),o=new le(r=>{let{length:s}=e;if(!s){r.complete();return}let a=new Array(s),c=s,l=s;for(let d=0;d<s;d++){let u=!1;De(e[d]).subscribe(ae(r,g=>{u||(u=!0,l--),a[d]=g},()=>c--,void 0,()=>{(!c||!u)&&(l||r.next(i?ed(i,a):a),r.complete())}))}});return n?o.pipe(Jr(n)):o}var W4=["addListener","removeListener"],G4=["addEventListener","removeEventListener"],Z4=["on","off"];function io(t,n,e,i){if(se(e)&&(i=e,e=void 0),i)return io(t,n,e).pipe(Jr(i));let[o,r]=Y4(t)?G4.map(s=>a=>t[s](n,a,e)):K4(t)?W4.map(ey(t,n)):X4(t)?Z4.map(ey(t,n)):[];if(!o&&Xr(t))return Ye(s=>io(s,n,e))(De(t));if(!o)throw new TypeError("Invalid event target");return new le(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>r(a)})}function ey(t,n){return e=>i=>t[e](n,i)}function K4(t){return se(t.addListener)&&se(t.removeListener)}function X4(t){return se(t.on)&&se(t.off)}function Y4(t){return se(t.addEventListener)&&se(t.removeEventListener)}function Wo(t=0,n,e=Wp){let i=-1;return n!=null&&(jl(n)?e=n:i=n),new le(o=>{let r=Kg(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function J4(t=0,n=ri){return t<0&&(t=0),Wo(t,t,n)}function Kp(...t){let n=si(t),e=qg(t,1/0),i=t;return i.length?i.length===1?De(i[0]):ai(e)(Ve(i,n)):qt}function Pe(t,n){return de((e,i)=>{let o=0;e.subscribe(ae(i,r=>t.call(n,r,o++)&&i.next(r)))})}function ty(t){return de((n,e)=>{let i=!1,o=null,r=null,s=!1,a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;let l=o;o=null,e.next(l)}s&&e.complete()},c=()=>{r=null,s&&e.complete()};n.subscribe(ae(e,l=>{i=!0,o=l,r||De(t(l)).subscribe(r=ae(e,a,c))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}function wa(t,n=ri){return ty(()=>Wo(t,n))}function Ai(t){return de((n,e)=>{let i=null,o=!1,r;i=n.subscribe(ae(e,void 0,void 0,s=>{r=De(t(s,Ai(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function ny(t,n,e,i,o){return(r,s)=>{let a=e,c=n,l=0;r.subscribe(ae(s,d=>{let u=l++;c=a?t(c,d,u):(a=!0,d),i&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function qn(t,n){return se(n)?Ye(t,n,1):Ye(t,1)}function kn(t,n=ri){return de((e,i)=>{let o=null,r=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=r;r=null,i.next(l)}};function c(){let l=s+t,d=n.now();if(d<l){o=this.schedule(void 0,l-d),i.add(o);return}a()}e.subscribe(ae(i,l=>{r=l,s=n.now(),o||(o=n.schedule(c,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function oo(t){return de((n,e)=>{let i=!1;n.subscribe(ae(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function et(t){return t<=0?()=>qt:de((n,e)=>{let i=0;n.subscribe(ae(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function iy(){return de((t,n)=>{t.subscribe(ae(n,zo))})}function ro(t){return ne(()=>t)}function oy(t,n){return n?e=>un(n.pipe(et(1),iy()),e.pipe(oy(t))):Ye((e,i)=>De(t(e,i)).pipe(et(1),ro(e)))}function so(t,n=_t){return t=t??eS,de((e,i)=>{let o,r=!0;e.subscribe(ae(i,s=>{let a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function eS(t,n){return t===n}function td(t=tS){return de((n,e)=>{let i=!1;n.subscribe(ae(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function tS(){return new Nn}function Go(t){return de((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function ci(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Pe((o,r)=>t(o,r,i)):_t,et(1),e?oo(n):td(()=>new Nn))}function es(t){return t<=0?()=>qt:de((n,e)=>{let i=[];n.subscribe(ae(e,o=>{i.push(o),t<i.length&&i.shift()},()=>{for(let o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}function Xp(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Pe((o,r)=>t(o,r,i)):_t,es(1),e?oo(n):td(()=>new Nn))}function ry(){return de((t,n)=>{let e,i=!1;t.subscribe(ae(n,o=>{let r=e;e=o,i&&n.next([r,o]),i=!0}))})}function Yp(t,n){return de(ny(t,n,arguments.length>=2,!0))}function sy(t={}){let{connector:n=()=>new te,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,c,l=0,d=!1,u=!1,g=()=>{a?.unsubscribe(),a=void 0},f=()=>{g(),s=c=void 0,d=u=!1},y=()=>{let _=s;f(),_?.unsubscribe()};return de((_,A)=>{l++,!u&&!d&&g();let R=c=c??n();A.add(()=>{l--,l===0&&!u&&!d&&(a=Jp(y,o))}),R.subscribe(A),!s&&l>0&&(s=new Ei({next:Z=>R.next(Z),error:Z=>{u=!0,g(),a=Jp(f,e,Z),R.error(Z)},complete:()=>{d=!0,g(),a=Jp(f,i),R.complete()}}),De(_).subscribe(s))})(r)}}function Jp(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Ei({next:()=>{i.unsubscribe(),t()}});return De(n(...e)).subscribe(i)}function Ma(t,n,e){let i,o=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:i=t??1/0,sy({connector:()=>new Zr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ia(t){return Pe((n,e)=>t<=e)}function Vn(...t){let n=si(t);return de((e,i)=>{(n?un(t,e,n):un(t,e)).subscribe(i)})}function st(t,n){return de((e,i)=>{let o=null,r=0,s=!1,a=()=>s&&!o&&i.complete();e.subscribe(ae(i,c=>{o?.unsubscribe();let l=0,d=r++;De(t(c,d)).subscribe(o=ae(i,u=>i.next(n?n(c,u,d,l++):u),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function nS(){return st(_t)}function Qe(t){return de((n,e)=>{De(t).subscribe(ae(e,()=>e.complete(),zo)),!e.closed&&n.subscribe(e)})}function ot(t,n,e){let i=se(t)||n||e?{next:t,error:n,complete:e}:t;return i?de((o,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;o.subscribe(ae(r,c=>{var l;(l=i.next)===null||l===void 0||l.call(i,c),r.next(c)},()=>{var c;a=!1,(c=i.complete)===null||c===void 0||c.call(i),r.complete()},c=>{var l;a=!1,(l=i.error)===null||l===void 0||l.call(i,c),r.error(c)},()=>{var c,l;a&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(l=i.finalize)===null||l===void 0||l.call(i)}))}):_t}function ay(t,n){return de((e,i)=>{let{leading:o=!0,trailing:r=!1}=n??{},s=!1,a=null,c=null,l=!1,d=()=>{c?.unsubscribe(),c=null,r&&(f(),l&&i.complete())},u=()=>{c=null,l&&i.complete()},g=y=>c=De(t(y)).subscribe(ae(i,d,u)),f=()=>{if(s){s=!1;let y=a;a=null,i.next(y),!l&&g(y)}};e.subscribe(ae(i,y=>{s=!0,a=y,!(c&&!c.closed)&&(o?f():g(y))},()=>{l=!0,!(r&&s&&c&&!c.closed)&&i.complete()}))})}function iS(t,n=ri,e){let i=Wo(t,n);return ay(()=>i,e)}var iv="https://g.co/ng/security#xss",$=class extends Error{constructor(n,e){super(zd(n,e)),this.code=n}};function zd(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}var ov=Symbol("InputSignalNode#UNSET"),oS=K(k({},Op),{transformFn:void 0,applyValueToInputSignal(t,n){Tl(t,n)}});function rv(t,n){let e=Object.create(oS);e.value=t,e.transformFn=n?.transform;function i(){if(_l(e),e.value===ov)throw new $(-950,!1);return e.value}return i[dn]=e,i}function qa(t){return{toString:t}.toString()}var nd="__parameters__";function rS(t){return function(...e){if(t){let i=t(...e);for(let o in i)this[o]=i[o]}}}function Mm(t,n,e){return qa(()=>{let i=rS(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;let s=new o(...r);return a.annotation=s,a;function a(c,l,d){let u=c.hasOwnProperty(nd)?c[nd]:Object.defineProperty(c,nd,{value:[]})[nd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),c}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var hi=globalThis;function ze(t){for(let n in t)if(t[n]===ze)return n;throw Error("Could not find renamed property on target object.")}function sS(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function jt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(jt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
4
+ `);return e===-1?n:n.substring(0,e)}function gf(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var aS=ze({__forward_ref__:ze});function at(t){return t.__forward_ref__=at,t.toString=function(){return jt(this())},t}function wt(t){return sv(t)?t():t}function sv(t){return typeof t=="function"&&t.hasOwnProperty(aS)&&t.__forward_ref__===at}function E(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function z(t){return{providers:t.providers||[],imports:t.imports||[]}}function Bd(t){return cy(t,cv)||cy(t,lv)}function av(t){return Bd(t)!==null}function cy(t,n){return t.hasOwnProperty(n)?t[n]:null}function cS(t){let n=t&&(t[cv]||t[lv]);return n||null}function ly(t){return t&&(t.hasOwnProperty(dy)||t.hasOwnProperty(lS))?t[dy]:null}var cv=ze({\u0275prov:ze}),dy=ze({\u0275inj:ze}),lv=ze({ngInjectableDef:ze}),lS=ze({ngInjectorDef:ze}),O=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=E({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function dv(t){return t&&!!t.\u0275providers}var dS=ze({\u0275cmp:ze}),uS=ze({\u0275dir:ze}),hS=ze({\u0275pipe:ze}),pS=ze({\u0275mod:ze}),fd=ze({\u0275fac:ze}),Da=ze({__NG_ELEMENT_ID__:ze}),uy=ze({__NG_ENV_ID__:ze});function Li(t){return typeof t=="string"?t:t==null?"":String(t)}function fS(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Li(t)}function mS(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new $(-200,t)}function Im(t,n){throw new $(-201,!1)}var be=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(be||{}),yf;function uv(){return yf}function Kt(t){let n=yf;return yf=t,n}function hv(t,n,e){let i=Bd(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&be.Optional)return null;if(n!==void 0)return n;Im(t,"Injector")}var gS={},Ta=gS,vf="__NG_DI_FLAG__",md="ngTempTokenPath",yS="ngTokenPath",vS=/\n/gm,kS="\u0275",hy="__source",ss;function bS(){return ss}function ao(t){let n=ss;return ss=t,n}function xS(t,n=be.Default){if(ss===void 0)throw new $(-203,!1);return ss===null?hv(t,void 0,n):ss.get(t,n&be.Optional?null:void 0,n)}function D(t,n=be.Default){return(uv()||xS)(wt(t),n)}function S(t,n=be.Default){return D(t,Hd(n))}function Hd(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function kf(t){let n=[];for(let e=0;e<t.length;e++){let i=wt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new $(900,!1);let o,r=be.Default;for(let s=0;s<i.length;s++){let a=i[s],c=CS(a);typeof c=="number"?c===-1?o=a.token:r|=c:o=a}n.push(D(o,r))}else n.push(D(i))}return n}function Sm(t,n){return t[vf]=n,t.prototype[vf]=n,t}function CS(t){return t[vf]}function _S(t,n,e,i){let o=t[md];throw n[hy]&&o.unshift(n[hy]),t.message=wS(`
5
+ `+t.message,o,e,i),t[yS]=o,t[md]=null,t}function wS(t,n,e,i=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==kS?t.slice(2):t;let o=jt(n);if(Array.isArray(n))o=n.map(jt).join(" -> ");else if(typeof n=="object"){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):jt(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(vS,`
7
+ `)}`}var pv=Sm(Mm("Inject",t=>({token:t})),-1),Ni=Sm(Mm("Optional"),8);var Ud=Sm(Mm("SkipSelf"),4);function Xo(t,n){let e=t.hasOwnProperty(fd);return e?t[fd]:null}function MS(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function IS(t){return t.flat(Number.POSITIVE_INFINITY)}function Dm(t,n){t.forEach(e=>Array.isArray(e)?Dm(e,n):n(e))}function fv(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function gd(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function SS(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function DS(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function Qd(t,n,e){let i=Va(t,n);return i>=0?t[i|1]=e:(i=~i,DS(t,i,n,e)),i}function ef(t,n){let e=Va(t,n);if(e>=0)return t[e|1]}function Va(t,n){return TS(t,n,1)}function TS(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var Ri={},Vt=[],ls=new O(""),mv=new O("",-1),gv=new O(""),yd=class{get(n,e=Ta){if(e===Ta){let i=new Error(`NullInjectorError: No provider for ${jt(n)}!`);throw i.name="NullInjectorError",i}return e}},yv=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(yv||{}),pi=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(pi||{}),uo=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(uo||{});function ES(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function bf(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];AS(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function vv(t){return t===3||t===4||t===6}function AS(t){return t.charCodeAt(0)===64}function Ea(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?py(t,e,o,null,n[++i]):py(t,e,o,null,null))}}return t}function py(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var kv="ng-template";function LS(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&ES(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Tm(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function Tm(t){return t.type===4&&t.value!==kv}function RS(t,n,e){let i=t.type===4&&!e?kv:t.value;return n===i}function OS(t,n,e){let i=4,o=t.attrs,r=o!==null?NS(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!jn(i)&&!jn(c))return!1;if(s&&jn(c))continue;s=!1,i=c|i&1;continue}if(!s)if(i&4){if(i=2|i&1,c!==""&&!RS(t,c,e)||c===""&&n.length===1){if(jn(i))return!1;s=!0}}else if(i&8){if(o===null||!LS(t,o,c,e)){if(jn(i))return!1;s=!0}}else{let l=n[++a],d=PS(c,o,Tm(t),e);if(d===-1){if(jn(i))return!1;s=!0;continue}if(l!==""){let u;if(d>r?u="":u=o[d+1].toLowerCase(),i&2&&l!==u){if(jn(i))return!1;s=!0}}}}return jn(i)||s}function jn(t){return(t&1)===0}function PS(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return qS(n,t)}function bv(t,n,e=!1){for(let i=0;i<n.length;i++)if(OS(t,n[i],e))return!0;return!1}function FS(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function NS(t){for(let n=0;n<t.length;n++){let e=t[n];if(vv(e))return n}return t.length}function qS(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function VS(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function fy(t,n){return t?":not("+n.trim()+")":n}function jS(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!jn(s)&&(n+=fy(r,o),o=""),i=s,r=r||!jn(i);e++}return o!==""&&(n+=fy(r,o)),n}function zS(t){return t.map(jS).join(",")}function BS(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!jn(o))break;o=r}i++}return{attrs:n,classes:e}}function Q(t){return qa(()=>{let n=_v(t),e=K(k({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yv.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||pi.Emulated,styles:t.styles||Vt,_:null,schemas:t.schemas||null,tView:null,id:""});wv(e);let i=t.dependencies;return e.directiveDefs=gy(i,!1),e.pipeDefs=gy(i,!0),e.id=QS(e),e})}function HS(t){return fi(t)||$d(t)}function US(t){return t!==null}function B(t){return qa(()=>({type:t.type,bootstrap:t.bootstrap||Vt,declarations:t.declarations||Vt,imports:t.imports||Vt,exports:t.exports||Vt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function my(t,n){if(t==null)return Ri;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=uo.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==uo.None?[i,a]:i,n[r]=s):e[r]=i}return e}function Y(t){return qa(()=>{let n=_v(t);return wv(n),n})}function ja(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function fi(t){return t[dS]||null}function $d(t){return t[uS]||null}function Em(t){return t[hS]||null}function xv(t){let n=fi(t)||$d(t)||Em(t);return n!==null?n.standalone:!1}function Cv(t,n){let e=t[pS]||null;if(!e&&n===!0)throw new Error(`Type ${jt(t)} does not have '\u0275mod' property.`);return e}function _v(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Ri,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Vt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:my(t.inputs,n),outputs:my(t.outputs),debugInfo:null}}function wv(t){t.features?.forEach(n=>n(t))}function gy(t,n){if(!t)return null;let e=n?Em:HS;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(US)}function QS(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function za(t){return{\u0275providers:t}}function $S(...t){return{\u0275providers:Am(!0,t),\u0275fromNgModule:!0}}function Am(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return Dm(n,s=>{let a=s;xf(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&Mv(o,r),e}function Mv(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];Lm(o,r=>{n(r,i)})}}function xf(t,n,e,i){if(t=wt(t),!t)return!1;let o=null,r=ly(t),s=!r&&fi(t);if(!r&&!s){let c=t.ngModule;if(r=ly(c),r)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)xf(l,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let l;try{Dm(r.imports,d=>{xf(d,n,e,i)&&(l||=[],l.push(d))})}finally{}l!==void 0&&Mv(l,n)}if(!a){let l=Xo(o)||(()=>new o);n({provide:o,useFactory:l,deps:Vt},o),n({provide:gv,useValue:o,multi:!0},o),n({provide:ls,useValue:()=>D(o),multi:!0},o)}let c=r.providers;if(c!=null&&!a){let l=t;Lm(c,d=>{n(d,l)})}}else return!1;return o!==t&&t.providers!==void 0}function Lm(t,n){for(let e of t)dv(e)&&(e=e.\u0275providers),Array.isArray(e)?Lm(e,n):n(e)}var WS=ze({provide:String,useValue:ze});function Iv(t){return t!==null&&typeof t=="object"&&WS in t}function GS(t){return!!(t&&t.useExisting)}function ZS(t){return!!(t&&t.useFactory)}function ds(t){return typeof t=="function"}function KS(t){return!!t.useClass}var Wd=new O(""),ad={},XS={},tf;function Gd(){return tf===void 0&&(tf=new yd),tf}var At=class{},Aa=class extends At{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_f(n,s=>this.processProvider(s)),this.records.set(mv,is(void 0,this)),o.has("environment")&&this.records.set(At,is(void 0,this));let r=this.records.get(Wd);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(gv,Vt,be.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=ke(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ke(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=ao(this),i=Kt(void 0),o;try{return n()}finally{ao(e),Kt(i)}}get(n,e=Ta,i=be.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(uy))return n[uy](this);i=Hd(i);let o,r=ao(this),s=Kt(void 0);try{if(!(i&be.SkipSelf)){let c=this.records.get(n);if(c===void 0){let l=n3(n)&&Bd(n);l&&this.injectableDefInScope(l)?c=is(Cf(n),ad):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c)}let a=i&be.Self?Gd():this.parent;return e=i&be.Optional&&e===Ta?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[md]=a[md]||[]).unshift(jt(n)),r)throw a;return _S(a,n,"R3InjectorError",this.source)}else throw a}finally{Kt(s),ao(r)}}resolveInjectorInitializers(){let n=ke(null),e=ao(this),i=Kt(void 0),o;try{let r=this.get(ls,Vt,be.Self);for(let s of r)s()}finally{ao(e),Kt(i),ke(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(jt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processProvider(n){n=wt(n);let e=ds(n)?n:wt(n&&n.provide),i=JS(n);if(!ds(n)&&n.multi===!0){let o=this.records.get(e);o||(o=is(void 0,ad,!0),o.factory=()=>kf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=ke(null);try{return e.value===ad&&(e.value=XS,e.value=e.factory()),typeof e.value=="object"&&e.value&&t3(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ke(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=wt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Cf(t){let n=Bd(t),e=n!==null?n.factory:Xo(t);if(e!==null)return e;if(t instanceof O)throw new $(204,!1);if(t instanceof Function)return YS(t);throw new $(204,!1)}function YS(t){if(t.length>0)throw new $(204,!1);let e=cS(t);return e!==null?()=>e.factory(t):()=>new t}function JS(t){if(Iv(t))return is(void 0,t.useValue);{let n=Sv(t);return is(n,ad)}}function Sv(t,n,e){let i;if(ds(t)){let o=wt(t);return Xo(o)||Cf(o)}else if(Iv(t))i=()=>wt(t.useValue);else if(ZS(t))i=()=>t.useFactory(...kf(t.deps||[]));else if(GS(t))i=()=>D(wt(t.useExisting));else{let o=wt(t&&(t.useClass||t.provide));if(e3(t))i=()=>new o(...kf(t.deps));else return Xo(o)||Cf(o)}return i}function is(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function e3(t){return!!t.deps}function t3(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function n3(t){return typeof t=="function"||typeof t=="object"&&t instanceof O}function _f(t,n){for(let e of t)Array.isArray(e)?_f(e,n):e&&dv(e)?_f(e.\u0275providers,n):n(e)}function zt(t,n){t instanceof Aa&&t.assertNotDestroyed();let e,i=ao(t),o=Kt(void 0);try{return n()}finally{ao(i),Kt(o)}}function Dv(){return uv()!==void 0||bS()!=null}function go(t){if(!Dv())throw new $(-203,!1)}function i3(t){return typeof t=="function"}var yi=0,re=1,ce=2,St=3,zn=4,tn=5,us=6,vd=7,Mt=8,Bn=9,mi=10,$e=11,La=12,yy=13,ys=14,Yt=15,Yo=16,os=17,Oi=18,Zd=19,Tv=20,co=21,cd=22,bn=23,nt=25,Rm=1;var Jo=7,kd=8,hs=9,It=10,bd=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bd||{});function lo(t){return Array.isArray(t)&&typeof t[Rm]=="object"}function qi(t){return Array.isArray(t)&&t[Rm]===!0}function Om(t){return(t.flags&4)!==0}function Kd(t){return t.componentOffset>-1}function Xd(t){return(t.flags&1)===1}function Pi(t){return!!t.template}function wf(t){return(t[ce]&512)!==0}function Mf(t){return(t[ce]&256)===256}var If=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Ev(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function X(){return Av}function Av(t){return t.type.prototype.ngOnChanges&&(t.setInput=r3),o3}X.ngInherit=!0;function o3(){let t=Rv(this),n=t?.current;if(n){let e=t.previous;if(e===Ri)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function r3(t,n,e,i,o){let r=this.declaredInputs[i],s=Rv(t)||s3(t,{previous:Ri,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[r];a[r]=new If(l&&l.currentValue,e,c===Ri),Ev(t,n,o,e)}var Lv="__ngSimpleChanges__";function Rv(t){return t[Lv]||null}function s3(t,n){return t[Lv]=n}var vy=null;var li=function(t,n,e){vy?.(t,n,e)},Ov="svg",a3="math";function gi(t){for(;Array.isArray(t);)t=t[yi];return t}function c3(t){for(;Array.isArray(t);){if(typeof t[Rm]=="object")return t;t=t[yi]}return null}function Pm(t,n){return gi(n[t])}function Cn(t,n){return gi(n[t.index])}function Ba(t,n){return t.data[n]}function Fm(t,n){return t[n]}function yo(t,n){let e=n[t];return lo(e)?e:e[yi]}function l3(t){return(t[ce]&4)===4}function Nm(t){return(t[ce]&128)===128}function d3(t){return qi(t[St])}function ho(t,n){return n==null?null:t[n]}function Pv(t){t[os]=0}function Fv(t){t[ce]&1024||(t[ce]|=1024,Nm(t)&&Jd(t))}function Nv(t,n){for(;t>0;)n=n[ys],t--;return n}function Yd(t){return!!(t[ce]&9216||t[bn]?.dirty)}function Sf(t){t[mi].changeDetectionScheduler?.notify(8),t[ce]&64&&(t[ce]|=1024),Yd(t)&&Jd(t)}function Jd(t){t[mi].changeDetectionScheduler?.notify(0);let n=er(t);for(;n!==null&&!(n[ce]&8192||(n[ce]|=8192,!Nm(n)));)n=er(n)}function eu(t,n){if((t[ce]&256)===256)throw new $(911,!1);t[co]===null&&(t[co]=[]),t[co].push(n)}function qm(t,n){if(t[co]===null)return;let e=t[co].indexOf(n);e!==-1&&t[co].splice(e,1)}function er(t){let n=t[St];return qi(n)?n[St]:n}var pe={lFrame:$v(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qv=!1;function u3(){return pe.lFrame.elementDepthCount}function h3(){pe.lFrame.elementDepthCount++}function p3(){pe.lFrame.elementDepthCount--}function Vv(){return pe.bindingsEnabled}function jv(){return pe.skipHydrationRootTNode!==null}function f3(t){return pe.skipHydrationRootTNode===t}function m3(){pe.skipHydrationRootTNode=null}function oe(){return pe.lFrame.lView}function He(){return pe.lFrame.tView}function V(t){return pe.lFrame.contextLView=t,t[Mt]}function j(t){return pe.lFrame.contextLView=null,t}function ht(){let t=zv();for(;t!==null&&t.type===64;)t=t.parent;return t}function zv(){return pe.lFrame.currentTNode}function g3(){let t=pe.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function lr(t,n){let e=pe.lFrame;e.currentTNode=t,e.isParent=n}function Vm(){return pe.lFrame.isParent}function jm(){pe.lFrame.isParent=!1}function y3(){return pe.lFrame.contextLView}function Bv(){return qv}function ky(t){qv=t}function dr(){let t=pe.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Hv(){return pe.lFrame.bindingIndex}function v3(t){return pe.lFrame.bindingIndex=t}function vo(){return pe.lFrame.bindingIndex++}function tu(t){let n=pe.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function k3(){return pe.lFrame.inI18n}function b3(t,n){let e=pe.lFrame;e.bindingIndex=e.bindingRootIndex=t,Df(n)}function x3(){return pe.lFrame.currentDirectiveIndex}function Df(t){pe.lFrame.currentDirectiveIndex=t}function zm(t){let n=pe.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Bm(){return pe.lFrame.currentQueryIndex}function nu(t){pe.lFrame.currentQueryIndex=t}function C3(t){let n=t[re];return n.type===2?n.declTNode:n.type===1?t[tn]:null}function Uv(t,n,e){if(e&be.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&be.Host);)if(o=C3(r),o===null||(r=r[ys],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=pe.lFrame=Qv();return i.currentTNode=n,i.lView=t,!0}function Hm(t){let n=Qv(),e=t[re];pe.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Qv(){let t=pe.lFrame,n=t===null?null:t.child;return n===null?$v(t):n}function $v(t){let n={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 t!==null&&(t.child=n),n}function Wv(){let t=pe.lFrame;return pe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Gv=Wv;function Um(){let t=Wv();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 _3(t){return(pe.lFrame.contextLView=Nv(t,pe.lFrame.contextLView))[Mt]}function vi(){return pe.lFrame.selectedIndex}function tr(t){pe.lFrame.selectedIndex=t}function vs(){let t=pe.lFrame;return Ba(t.tView,t.selectedIndex)}function Qm(){pe.lFrame.currentNamespace=Ov}function w3(){return pe.lFrame.currentNamespace}var Zv=!0;function iu(){return Zv}function ou(t){Zv=t}function M3(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=Av(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function ru(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function ld(t,n,e){Kv(t,n,3,e)}function dd(t,n,e,i){(t[ce]&3)===e&&Kv(t,n,e,i)}function nf(t,n){let e=t[ce];(e&3)===n&&(e&=16383,e+=1,t[ce]=e)}function Kv(t,n,e,i){let o=i!==void 0?t[os]&65535:0,r=i??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],i!=null&&a>=i)break}else n[c]<0&&(t[os]+=65536),(a<r||r==-1)&&(I3(t,e,n,c),t[os]=(t[os]&4294901760)+c+2),c++}function by(t,n){li(4,t,n);let e=ke(null);try{n.call(t)}finally{ke(e),li(5,t,n)}}function I3(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[ce]>>14<t[os]>>16&&(t[ce]&3)===n&&(t[ce]+=16384,by(a,r)):by(a,r)}var as=-1,nr=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function S3(t){return t instanceof nr}function D3(t){return(t.flags&8)!==0}function T3(t){return(t.flags&16)!==0}var of={},cs=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Hd(i);let o=this.injector.get(n,of,i);return o!==of||e===of?o:this.parentInjector.get(n,e,i)}};function Xv(t){return t!==as}function xd(t){return t&32767}function E3(t){return t>>16}function Cd(t,n){let e=E3(t),i=n;for(;e>0;)i=i[ys],e--;return i}var Tf=!0;function _d(t){let n=Tf;return Tf=t,n}var A3=256,Yv=A3-1,Jv=5,L3=0,di={};function R3(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Da)&&(i=e[Da]),i==null&&(i=e[Da]=L3++);let o=i&Yv,r=1<<o;n.data[t+(o>>Jv)]|=r}function wd(t,n){let e=ek(t,n);if(e!==-1)return e;let i=n[re];i.firstCreatePass&&(t.injectorIndex=n.length,rf(i.data,t),rf(n,null),rf(i.blueprint,null));let o=$m(t,n),r=t.injectorIndex;if(Xv(o)){let s=xd(o),a=Cd(o,n),c=a[re].data;for(let l=0;l<8;l++)n[r+l]=a[s+l]|c[s+l]}return n[r+8]=o,r}function rf(t,n){t.push(0,0,0,0,0,0,0,0,n)}function ek(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function $m(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=rk(o),i===null)return as;if(e++,o=o[ys],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return as}function Ef(t,n,e){R3(t,n,e)}function O3(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(vv(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function tk(t,n,e){if(e&be.Optional||t!==void 0)return t;Im(n,"NodeInjector")}function nk(t,n,e,i){if(e&be.Optional&&i===void 0&&(i=null),!(e&(be.Self|be.Host))){let o=t[Bn],r=Kt(void 0);try{return o?o.get(n,i,e&be.Optional):hv(n,i,e&be.Optional)}finally{Kt(r)}}return tk(i,n,e)}function ik(t,n,e,i=be.Default,o){if(t!==null){if(n[ce]&2048&&!(i&be.Self)){let s=q3(t,n,e,i,di);if(s!==di)return s}let r=ok(t,n,e,i,di);if(r!==di)return r}return nk(n,e,i,o)}function ok(t,n,e,i,o){let r=F3(e);if(typeof r=="function"){if(!Uv(n,t,i))return i&be.Host?tk(o,e,i):nk(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&be.Optional))Im(e);else return s}finally{Gv()}}else if(typeof r=="number"){let s=null,a=ek(t,n),c=as,l=i&be.Host?n[Yt][tn]:null;for((a===-1||i&be.SkipSelf)&&(c=a===-1?$m(t,n):n[a+8],c===as||!Cy(i,!1)?a=-1:(s=n[re],a=xd(c),n=Cd(c,n)));a!==-1;){let d=n[re];if(xy(r,a,d.data)){let u=P3(a,n,e,s,i,l);if(u!==di)return u}c=n[a+8],c!==as&&Cy(i,n[re].data[a+8]===l)&&xy(r,a,n)?(s=d,a=xd(c),n=Cd(c,n)):a=-1}}return o}function P3(t,n,e,i,o,r){let s=n[re],a=s.data[t+8],c=i==null?Kd(a)&&Tf:i!=s&&(a.type&3)!==0,l=o&be.Host&&r===a,d=ud(a,s,e,c,l);return d!==null?ir(n,s,d,a):di}function ud(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,c=t.directiveStart,l=t.directiveEnd,d=r>>20,u=i?a:a+d,g=o?a+d:l;for(let f=u;f<g;f++){let y=s[f];if(f<c&&e===y||f>=c&&y.type===e)return f}if(o){let f=s[c];if(f&&Pi(f)&&f.type===e)return c}return null}function ir(t,n,e,i){let o=t[e],r=n.data;if(S3(o)){let s=o;s.resolving&&mS(fS(r[e]));let a=_d(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Kt(s.injectImpl):null,d=Uv(t,i,be.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&M3(e,r[e],n)}finally{l!==null&&Kt(l),_d(a),s.resolving=!1,Gv()}}return o}function F3(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Da)?t[Da]:void 0;return typeof n=="number"?n>=0?n&Yv:N3:n}function xy(t,n,e){let i=1<<t;return!!(e[n+(t>>Jv)]&i)}function Cy(t,n){return!(t&be.Self)&&!(t&be.Host&&n)}var Ko=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return ik(this._tNode,this._lView,n,Hd(i),e)}};function N3(){return new Ko(ht(),oe())}function Dt(t){return qa(()=>{let n=t.prototype.constructor,e=n[fd]||Af(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[fd]||Af(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Af(t){return sv(t)?()=>{let n=Af(wt(t));return n&&n()}:Xo(t)}function q3(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[ce]&2048&&!(s[ce]&512);){let a=ok(r,s,e,i|be.Self,di);if(a!==di)return a;let c=r.parent;if(!c){let l=s[Tv];if(l){let d=l.get(e,di,i);if(d!==di)return d}c=rk(s),s=s[ys]}r=c}return o}function rk(t){let n=t[re],e=n.type;return e===2?n.declTNode:e===1?t[tn]:null}function pt(t){return O3(ht(),t)}function _y(t,n=null,e=null,i){let o=sk(t,n,e,i);return o.resolveInjectorInitializers(),o}function sk(t,n=null,e=null,i,o=new Set){let r=[e||Vt,$S(t)];return i=i||(typeof t=="object"?void 0:jt(t)),new Aa(r,n||Gd(),i||null,o)}var Be=class t{static{this.THROW_IF_NOT_FOUND=Ta}static{this.NULL=new yd}static create(n,e){if(Array.isArray(n))return _y({name:""},e,n,"");{let i=n.name??"";return _y({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=E({token:t,providedIn:"any",factory:()=>D(mv)})}static{this.__NG_ELEMENT_ID__=-1}};var V3=new O("");V3.__NG_ELEMENT_ID__=t=>{let n=ht();if(n===null)throw new $(204,!1);if(n.type&2)return n.value;if(t&be.Optional)return null;throw new $(204,!1)};var j3="ngOriginalError";function sf(t){return t[j3]}var ak=!0,_n=(()=>{class t{static{this.__NG_ELEMENT_ID__=z3}static{this.__NG_ENV_ID__=e=>e}}return t})(),Lf=class extends _n{constructor(n){super(),this._lView=n}onDestroy(n){return eu(this._lView,n),()=>qm(this._lView,n)}};function z3(){return new Lf(oe())}var ki=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Je(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Rf=class extends te{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Dv()&&(this.destroyRef=S(_n,{optional:!0})??void 0,this.pendingTasks=S(ki,{optional:!0})??void 0)}emit(n){let e=ke(null);try{super.next(n)}finally{ke(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),r=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof Oe&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},F=Rf;function Md(...t){}function ck(t){let n,e;function i(){t=Md;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function wy(t){return queueMicrotask(()=>t()),()=>{t=Md}}var Wm="isAngularZone",Id=Wm+"_ID",B3=0,ie=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new F(!1),this.onMicrotaskEmpty=new F(!1),this.onStable=new F(!1),this.onError=new F(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=ak}=n;if(typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,Q3(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wm)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new $(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,H3,Md,Md);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},H3={};function Gm(t){if(t._nesting==0&&!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 U3(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){ck(()=>{t.callbackScheduled=!1,Of(t),t.isCheckStableRunning=!0,Gm(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Of(t)}function Q3(t){let n=()=>{U3(t)},e=B3++;t._inner=t._inner.fork({name:"angular",properties:{[Wm]:!0,[Id]:e,[Id+e]:!0},onInvokeTask:(i,o,r,s,a,c)=>{if($3(c))return i.invokeTask(r,s,a,c);try{return My(t),i.invokeTask(r,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Iy(t)}},onInvoke:(i,o,r,s,a,c,l)=>{try{return My(t),i.invoke(r,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!W3(c)&&n(),Iy(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Of(t),Gm(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Of(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function My(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Iy(t){t._nesting--,Gm(t)}var Pf=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new F,this.onMicrotaskEmpty=new F,this.onStable=new F,this.onError=new F}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function $3(t){return lk(t,"__ignore_ng_zone__")}function W3(t){return lk(t,"__scheduler_tick__")}function lk(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Hn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&sf(n);for(;e&&sf(e);)e=sf(e);return e||null}},G3=new O("",{providedIn:"root",factory:()=>{let t=S(ie),n=S(Hn);return e=>t.runOutsideAngular(()=>n.handleError(e))}}),Ff=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=S(Hn,{optional:!0}),this.destroyRef=S(_n),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new $(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed)throw new $(953,!1);if(this.listeners===null)return;let e=ke(null);try{for(let i of this.listeners)try{i(n)}catch(o){this.errorHandler?.handleError(o)}}finally{ke(e)}}};function su(t){return new Ff}function Sy(t,n){return rv(t,n)}function Z3(t){return rv(ov,t)}var H=(Sy.required=Z3,Sy);function K3(){return ks(ht(),oe())}function ks(t,n){return new J(Cn(t,n))}var J=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=K3}}return t})();function dk(t){return t instanceof J?t.nativeElement:t}function X3(){return this._results[Symbol.iterator]()}var po=class t{get changes(){return this._changes??=new F}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=X3)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=IS(n);(this._changesDetected=!MS(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function uk(t){return(t.flags&128)===128}var hk=new Map,Y3=0;function J3(){return Y3++}function eD(t){hk.set(t[Zd],t)}function Nf(t){hk.delete(t[Zd])}var Dy="__ngContext__";function fo(t,n){lo(n)?(t[Dy]=n[Zd],eD(n)):t[Dy]=n}function pk(t){return mk(t[La])}function fk(t){return mk(t[zn])}function mk(t){for(;t!==null&&!qi(t);)t=t[zn];return t}var qf;function gk(t){qf=t}function tD(){if(qf!==void 0)return qf;if(typeof document<"u")return document;throw new $(210,!1)}var Ha=new O("",{providedIn:"root",factory:()=>nD}),nD="ng",Zm=new O(""),gt=new O("",{providedIn:"platform",factory:()=>"unknown"});var au=new O(""),Ua=new O("",{providedIn:"root",factory:()=>tD().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var iD="h",oD="b";var rD=()=>null;function Km(t,n,e=!1){return rD(t,n,e)}var yk=!1,sD=new O("",{providedIn:"root",factory:()=>yk});var id;function aD(){if(id===void 0&&(id=null,hi.trustedTypes))try{id=hi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return id}function Ty(t){return aD()?.createScriptURL(t)||t}var Sd=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${iv})`}};function ur(t){return t instanceof Sd?t.changingThisBreaksApplicationSecurity:t}function Xm(t,n){let e=cD(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${iv})`)}return e===n}function cD(t){return t instanceof Sd&&t.getTypeName()||null}var lD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vk(t){return t=String(t),t.match(lD)?t:"unsafe:"+t}var cu=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(cu||{});function lu(t){let n=bk();return n?n.sanitize(cu.URL,t)||"":Xm(t,"URL")?ur(t):vk(Li(t))}function dD(t){let n=bk();if(n)return Ty(n.sanitize(cu.RESOURCE_URL,t)||"");if(Xm(t,"ResourceURL"))return Ty(ur(t));throw new $(904,!1)}function uD(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?dD:lu}function kk(t,n,e){return uD(n,e)(t)}function bk(){let t=oe();return t&&t[mi].sanitizer}var hD=/^>|^->|<!--|-->|--!>|<!-$/g,pD=/(<|>)/g,fD="\u200B$1\u200B";function mD(t){return t.replace(hD,n=>n.replace(pD,fD))}function eG(t){return t.ownerDocument.defaultView}function tG(t){return t.ownerDocument}function xk(t){return t instanceof Function?t():t}function du(t){return(t??S(Be)).get(gt)==="browser"}var xn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(xn||{}),gD;function Ym(t,n){return gD(t,n)}function rs(t,n,e,i,o){if(i!=null){let r,s=!1;qi(i)?r=i:lo(i)&&(s=!0,i=i[yi]);let a=gi(i);t===0&&e!==null?o==null?Ik(n,e,a):Dd(n,e,a,o||null,!0):t===1&&e!==null?Dd(n,e,a,o||null,!0):t===2?ED(n,a,s):t===3&&n.destroyNode(a),r!=null&&LD(n,t,r,e,o)}}function yD(t,n){return t.createText(n)}function vD(t,n,e){t.setValue(n,e)}function kD(t,n){return t.createComment(mD(n))}function Ck(t,n,e){return t.createElement(n,e)}function bD(t,n){_k(t,n),n[yi]=null,n[tn]=null}function xD(t,n,e,i,o,r){i[yi]=o,i[tn]=n,pu(t,i,e,1,o,r)}function _k(t,n){n[mi].changeDetectionScheduler?.notify(9),pu(t,n,n[$e],2,null,null)}function CD(t){let n=t[La];if(!n)return af(t[re],t);for(;n;){let e=null;if(lo(n))e=n[La];else{let i=n[It];i&&(e=i)}if(!e){for(;n&&!n[zn]&&n!==t;)lo(n)&&af(n[re],n),n=n[St];n===null&&(n=t),lo(n)&&af(n[re],n),e=n&&n[zn]}n=e}}function _D(t,n,e,i){let o=It+i,r=e.length;i>0&&(e[o-1][zn]=n),i<r-It?(n[zn]=e[o],fv(e,It+i,n)):(e.push(n),n[zn]=null),n[St]=e;let s=n[Yo];s!==null&&e!==s&&wk(s,n);let a=n[Oi];a!==null&&a.insertView(t),Sf(n),n[ce]|=128}function wk(t,n){let e=t[hs],i=n[St];if(lo(i))t[ce]|=bd.HasTransplantedViews;else{let o=i[St][Yt];n[Yt]!==o&&(t[ce]|=bd.HasTransplantedViews)}e===null?t[hs]=[n]:e.push(n)}function Jm(t,n){let e=t[hs],i=e.indexOf(n);e.splice(i,1)}function Ra(t,n){if(t.length<=It)return;let e=It+n,i=t[e];if(i){let o=i[Yo];o!==null&&o!==t&&Jm(o,i),n>0&&(t[e-1][zn]=i[zn]);let r=gd(t,It+n);bD(i[re],i);let s=r[Oi];s!==null&&s.detachView(r[re]),i[St]=null,i[zn]=null,i[ce]&=-129}return i}function uu(t,n){if(!(n[ce]&256)){let e=n[$e];e.destroyNode&&pu(t,n,e,3,null,null),CD(n)}}function af(t,n){if(n[ce]&256)return;let e=ke(null);try{n[ce]&=-129,n[ce]|=256,n[bn]&&Il(n[bn]),MD(t,n),wD(t,n),n[re].type===1&&n[$e].destroy();let i=n[Yo];if(i!==null&&qi(n[St])){i!==n[St]&&Jm(i,n);let o=n[Oi];o!==null&&o.detachView(t)}Nf(n)}finally{ke(e)}}function wD(t,n){let e=t.cleanup,i=n[vd];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[vd]=null);let o=n[co];if(o!==null){n[co]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function MD(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof nr)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],c=r[s+1];li(4,a,c);try{c.call(a)}finally{li(5,a,c)}}else{li(4,o,r);try{r.call(o)}finally{li(5,o,r)}}}}}function Mk(t,n,e){return ID(t,n.parent,e)}function ID(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[yi];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===pi.None||r===pi.Emulated)return null}return Cn(i,e)}}function Dd(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Ik(t,n,e){t.appendChild(n,e)}function Ey(t,n,e,i,o){i!==null?Dd(t,n,e,i,o):Ik(t,n,e)}function Sk(t,n){return t.parentNode(n)}function SD(t,n){return t.nextSibling(n)}function Dk(t,n,e){return TD(t,n,e)}function DD(t,n,e){return t.type&40?Cn(t,e):null}var TD=DD,Ay;function hu(t,n,e,i){let o=Mk(t,i,n),r=n[$e],s=i.parent||n[tn],a=Dk(s,i,n);if(o!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)Ey(r,o,e[c],a,!1);else Ey(r,o,e,a,!1);Ay!==void 0&&Ay(r,i,n,e,o)}function Sa(t,n){if(n!==null){let e=n.type;if(e&3)return Cn(n,t);if(e&4)return Vf(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Sa(t,i);{let o=t[n.index];return qi(o)?Vf(-1,o):gi(o)}}else{if(e&128)return Sa(t,n.next);if(e&32)return Ym(n,t)()||gi(t[n.index]);{let i=Tk(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=er(t[Yt]);return Sa(o,i)}else return Sa(t,n.next)}}}return null}function Tk(t,n){if(n!==null){let i=t[Yt][tn],o=n.projection;return i.projection[o]}return null}function Vf(t,n){let e=It+t+1;if(e<n.length){let i=n[e],o=i[re].firstChild;if(o!==null)return Sa(i,o)}return n[Jo]}function ED(t,n,e){t.removeChild(null,n,e)}function e1(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],c=e.type;if(s&&n===0&&(a&&fo(gi(a),i),e.flags|=2),(e.flags&32)!==32)if(c&8)e1(t,n,e.child,i,o,r,!1),rs(n,t,o,a,r);else if(c&32){let l=Ym(e,i),d;for(;d=l();)rs(n,t,o,d,r);rs(n,t,o,a,r)}else c&16?Ek(t,n,i,e,o,r):rs(n,t,o,a,r);e=s?e.projectionNext:e.next}}function pu(t,n,e,i,o,r){e1(e,i,t.firstChild,n,o,r,!1)}function AD(t,n,e){let i=n[$e],o=Mk(t,e,n),r=e.parent||n[tn],s=Dk(r,e,n);Ek(i,0,n,e,o,s)}function Ek(t,n,e,i,o,r){let s=e[Yt],c=s[tn].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let d=c[l];rs(n,t,o,d,r)}else{let l=c,d=s[St];uk(i)&&(l.flags|=128),e1(t,n,l,d,o,r,!0)}}function LD(t,n,e,i,o){let r=e[Jo],s=gi(e);r!==s&&rs(n,t,i,r,o);for(let a=It;a<e.length;a++){let c=e[a];pu(c[re],c,t,n,i,r)}}function RD(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:xn.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=xn.Important),t.setStyle(e,i,o,r))}}function OD(t,n,e){t.setAttribute(n,"style",e)}function Ak(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Lk(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&bf(t,n,i),o!==null&&Ak(t,n,o),r!==null&&OD(t,n,r)}var Lt={};function m(t=1){Rk(He(),oe(),vi()+t,!1)}function Rk(t,n,e,i){if(!i)if((n[ce]&3)===3){let r=t.preOrderCheckHooks;r!==null&&ld(n,r,e)}else{let r=t.preOrderHooks;r!==null&&dd(n,r,0,e)}tr(e)}function h(t,n=be.Default){let e=oe();if(e===null)return D(t,n);let i=ht();return ik(i,e,wt(t),n)}function ko(){let t="invalid";throw new Error(t)}function Ok(t,n,e,i,o,r){let s=ke(null);try{let a=null;o&uo.SignalBased&&(a=n[i][dn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&uo.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):Ev(n,a,i,r)}finally{ke(s)}}function PD(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)tr(~o);else{let r=o,s=e[++i],a=e[++i];b3(s,r);let c=n[r];a(2,c)}}}finally{tr(-1)}}function fu(t,n,e,i,o,r,s,a,c,l,d){let u=n.blueprint.slice();return u[yi]=o,u[ce]=i|4|128|8|64,(l!==null||t&&t[ce]&2048)&&(u[ce]|=2048),Pv(u),u[St]=u[ys]=t,u[Mt]=e,u[mi]=s||t&&t[mi],u[$e]=a||t&&t[$e],u[Bn]=c||t&&t[Bn]||null,u[tn]=r,u[Zd]=J3(),u[us]=d,u[Tv]=l,u[Yt]=n.type==2?t[Yt]:u,u}function bs(t,n,e,i,o){let r=t.data[n];if(r===null)r=FD(t,n,e,i,o),k3()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=g3();r.injectorIndex=s===null?-1:s.injectorIndex}return lr(r,!0),r}function FD(t,n,e,i,o){let r=zv(),s=Vm(),a=s?r:r&&r.parent,c=t.data[n]=BD(t,a,e,n,i,o);return t.firstChild===null&&(t.firstChild=c),r!==null&&(s?r.child==null&&c.parent!==null&&(r.child=c):r.next===null&&(r.next=c,c.prev=r)),c}function Pk(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Fk(t,n,e,i,o){let r=vi(),s=i&2;try{tr(-1),s&&n.length>nt&&Rk(t,n,nt,!1),li(s?2:0,o),e(i,o)}finally{tr(r),li(s?3:1,o)}}function t1(t,n,e){if(Om(n)){let i=ke(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let c=e[s];a.contentQueries(1,c,s)}}}finally{ke(i)}}}function n1(t,n,e){Vv()&&(GD(t,n,e,Cn(e,n)),(e.flags&64)===64&&Vk(t,n,e))}function i1(t,n,e=Cn){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function Nk(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=o1(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function o1(t,n,e,i,o,r,s,a,c,l,d){let u=nt+i,g=u+o,f=ND(u,g),y=typeof l=="function"?l():l;return f[re]={type:t,blueprint:f,template:e,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:g,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:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:y,incompleteFirstPass:!1,ssrId:d}}function ND(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Lt);return e}function qD(t,n,e,i){let r=i.get(sD,yk)||e===pi.ShadowDom,s=t.selectRootElement(n,r);return VD(s),s}function VD(t){jD(t)}var jD=()=>null;function zD(t,n,e,i){let o=Bk(n);o.push(e),t.firstCreatePass&&Hk(t).push(i,o.length-1)}function BD(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return jv()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ly(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,c=uo.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=r;if(o!==null){if(!o.hasOwnProperty(r))continue;l=o[r]}t===0?Ry(i,e,l,a,c):Ry(i,e,l,a)}return i}function Ry(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function HD(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],c=null,l=null;for(let d=i;d<o;d++){let u=r[d],g=e?e.get(u):null,f=g?g.inputs:null,y=g?g.outputs:null;c=Ly(0,u.inputs,d,c,f),l=Ly(1,u.outputs,d,l,y);let _=c!==null&&s!==null&&!Tm(n)?r5(c,d,s):null;a.push(_)}c!==null&&(c.hasOwnProperty("class")&&(n.flags|=8),c.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=c,n.outputs=l}function UD(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Qa(t,n,e,i,o,r,s,a){let c=Cn(n,e),l=n.inputs,d;!a&&l!=null&&(d=l[i])?(s1(t,e,d,i,o),Kd(n)&&QD(e,n.index)):n.type&3?(i=UD(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(c,i,o)):n.type&12}function QD(t,n){let e=yo(n,t);e[ce]&16||(e[ce]|=64)}function r1(t,n,e,i){if(Vv()){let o=i===null?null:{"":-1},r=KD(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&qk(t,n,e,s,o,a),o&&XD(e,i,o)}e.mergedAttrs=Ea(e.mergedAttrs,e.attrs)}function qk(t,n,e,i,o,r){for(let l=0;l<i.length;l++)Ef(wd(e,n),t,i[l].type);JD(e,t.data.length,i.length);for(let l=0;l<i.length;l++){let d=i[l];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,c=Pk(t,n,i.length,null);for(let l=0;l<i.length;l++){let d=i[l];e.mergedAttrs=Ea(e.mergedAttrs,d.hostAttrs),e5(t,e,n,c,d),YD(c,d,o),d.contentQueries!==null&&(e.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(e.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),c++}HD(t,e,r)}function $D(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;WD(s)!=a&&s.push(a),s.push(e,i,r)}}function WD(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function GD(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Kd(e)&&t5(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||wd(e,n),fo(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let c=t.data[a],l=ir(n,t,a,e);if(fo(l,n),s!==null&&o5(n,a-o,l,c,e,s),Pi(c)){let d=yo(e.index,n);d[Mt]=ir(n,t,a,e)}}}function Vk(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=x3();try{tr(r);for(let a=i;a<o;a++){let c=t.data[a],l=n[a];Df(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ZD(c,l)}}finally{tr(-1),Df(s)}}function ZD(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function KD(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(bv(n,s.selectors,!1))if(i||(i=[]),Pi(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let c=a.length;jf(t,n,c)}else i.unshift(s),jf(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function jf(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function XD(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new $(-301,!1);i.push(n[o],r)}}}function YD(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Pi(n)&&(e[""]=t)}}function JD(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function e5(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=Xo(o.type,!0)),s=new nr(r,Pi(o),h);t.blueprint[i]=s,e[i]=s,$D(t,n,i,Pk(t,e,o.hostVars,Lt),o)}function t5(t,n,e){let i=Cn(n,t),o=Nk(e),r=t[mi].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=mu(t,fu(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function n5(t,n,e,i,o,r){let s=Cn(t,n);i5(n[$e],s,r,t.value,e,i,o)}function i5(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?Li(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function o5(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],d=s[a++],u=s[a++];Ok(i,e,c,l,d,u)}}function r5(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function jk(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function zk(t,n){let e=t.contentQueries;if(e!==null){let i=ke(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];nu(r),a.contentQueries(2,n[s],s)}}}finally{ke(i)}}}function mu(t,n){return t[La]?t[yy][zn]=n:t[La]=n,t[yy]=n,n}function zf(t,n,e){nu(0);let i=ke(null);try{n(t,e)}finally{ke(i)}}function Bk(t){return t[vd]??=[]}function Hk(t){return t.cleanup??=[]}function Uk(t,n,e){return(t===null||Pi(t))&&(e=c3(e[n.index])),e[$e]}function gu(t,n){let e=t[Bn],i=e?e.get(Hn,null):null;i&&i.handleError(n)}function s1(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],c=e[r++],l=n[s],d=t.data[s];Ok(d,l,i,a,c,o)}}function a1(t,n,e){let i=Pm(n,t);vD(t[$e],i,e)}function s5(t,n){let e=yo(n,t),i=e[re];a5(i,e);let o=e[yi];o!==null&&e[us]===null&&(e[us]=Km(o,e[Bn])),c1(i,e,e[Mt])}function a5(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function c1(t,n,e){Hm(n);try{let i=t.viewQuery;i!==null&&zf(1,i,e);let o=t.template;o!==null&&Fk(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Oi]?.finishViewCreation(t),t.staticContentQueries&&zk(t,n),t.staticViewQueries&&zf(2,t.viewQuery,e);let r=t.components;r!==null&&c5(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[ce]&=-5,Um()}}function c5(t,n){for(let e=0;e<n.length;e++)s5(t,n[e])}function xs(t,n,e,i){let o=ke(null);try{let r=n.tView,a=t[ce]&4096?4096:16,c=fu(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),l=t[n.index];c[Yo]=l;let d=t[Oi];return d!==null&&(c[Oi]=d.createEmbeddedView(r)),c1(r,c,e),c}finally{ke(o)}}function Qk(t,n){let e=It+n;if(e<t.length)return t[e]}function or(t,n){return!n||n.firstChild===null||uk(t)}function Cs(t,n,e,i=!0){let o=n[re];if(_D(o,n,t,e),i){let s=Vf(e,t),a=n[$e],c=Sk(a,t[Jo]);c!==null&&xD(o,t[tn],a,n,c,s)}let r=n[us];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function l1(t,n){let e=Ra(t,n);return e!==void 0&&uu(e[re],e),e}function Td(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(gi(r)),qi(r)&&l5(r,i);let s=e.type;if(s&8)Td(t,n,e.child,i);else if(s&32){let a=Ym(e,n),c;for(;c=a();)i.push(c)}else if(s&16){let a=Tk(n,e);if(Array.isArray(a))i.push(...a);else{let c=er(n[Yt]);Td(c[re],c,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function l5(t,n){for(let e=It;e<t.length;e++){let i=t[e],o=i[re].firstChild;o!==null&&Td(i[re],i,o,n)}t[Jo]!==t[yi]&&n.push(t[Jo])}var $k=[];function d5(t){return t[bn]??u5(t)}function u5(t){let n=$k.pop()??Object.create(p5);return n.lView=t,n}function h5(t){t.lView[bn]!==t&&(t.lView=null,$k.push(t))}var p5=K(k({},Br),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Jd(t.lView)},consumerOnSignalRead(){this.lView[bn]=this}});function f5(t){let n=t[bn]??Object.create(m5);return n.lView=t,n}var m5=K(k({},Br),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=er(t.lView);for(;n&&!Wk(n[re]);)n=er(n);n&&Fv(n)},consumerOnSignalRead(){this.lView[bn]=this}});function Wk(t){return t.type!==2}var g5=100;function Gk(t,n=!0,e=0){let i=t[mi],o=i.rendererFactory,r=!1;r||o.begin?.();try{y5(t,e)}catch(s){throw n&&gu(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function y5(t,n){let e=Bv();try{ky(!0),Bf(t,n);let i=0;for(;Yd(t);){if(i===g5)throw new $(103,!1);i++,Bf(t,1)}}finally{ky(e)}}function v5(t,n,e,i){let o=n[ce];if((o&256)===256)return;let r=!1,s=!1;!r&&n[mi].inlineEffectRunner?.flush(),Hm(n);let a=!0,c=null,l=null;r||(Wk(t)?(l=d5(n),c=ka(l)):mg()===null?(a=!1,l=f5(n),c=ka(l)):n[bn]&&(Il(n[bn]),n[bn]=null));try{Pv(n),v3(t.bindingStartIndex),e!==null&&Fk(t,n,e,2,i);let d=(o&3)===3;if(!r)if(d){let f=t.preOrderCheckHooks;f!==null&&ld(n,f,null)}else{let f=t.preOrderHooks;f!==null&&dd(n,f,0,null),nf(n,0)}if(s||k5(n),Zk(n,0),t.contentQueries!==null&&zk(t,n),!r)if(d){let f=t.contentCheckHooks;f!==null&&ld(n,f)}else{let f=t.contentHooks;f!==null&&dd(n,f,1),nf(n,1)}PD(t,n);let u=t.components;u!==null&&Xk(n,u,0);let g=t.viewQuery;if(g!==null&&zf(2,g,i),!r)if(d){let f=t.viewCheckHooks;f!==null&&ld(n,f)}else{let f=t.viewHooks;f!==null&&dd(n,f,2),nf(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[cd]){for(let f of n[cd])f();n[cd]=null}r||(n[ce]&=-73)}catch(d){throw r||Jd(n),d}finally{l!==null&&(wl(l,c),a&&h5(l)),Um()}}function Zk(t,n){for(let e=pk(t);e!==null;e=fk(e))for(let i=It;i<e.length;i++){let o=e[i];Kk(o,n)}}function k5(t){for(let n=pk(t);n!==null;n=fk(n)){if(!(n[ce]&bd.HasTransplantedViews))continue;let e=n[hs];for(let i=0;i<e.length;i++){let o=e[i];Fv(o)}}}function b5(t,n,e){let i=yo(n,t);Kk(i,e)}function Kk(t,n){Nm(t)&&Bf(t,n)}function Bf(t,n){let i=t[re],o=t[ce],r=t[bn],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&Ml(r)),s||=!1,r&&(r.dirty=!1),t[ce]&=-9217,s)v5(i,t,i.template,t[Mt]);else if(o&8192){Zk(t,1);let a=i.components;a!==null&&Xk(t,a,1)}}function Xk(t,n,e){for(let i=0;i<n.length;i++)b5(t,n[i],e)}function yu(t,n){let e=Bv()?64:1088;for(t[mi].changeDetectionScheduler?.notify(n);t;){t[ce]|=e;let i=er(t);if(wf(t)&&!i)return t;t=i}return null}var rr=class{get rootNodes(){let n=this._lView,e=n[re];return Td(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Mt]}set context(n){this._lView[Mt]=n}get destroyed(){return(this._lView[ce]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[St];if(qi(n)){let e=n[kd],i=e?e.indexOf(this):-1;i>-1&&(Ra(n,i),gd(e,i))}this._attachedToViewContainer=!1}uu(this._lView[re],this._lView)}onDestroy(n){eu(this._lView,n)}markForCheck(){yu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){Sf(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,Gk(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=wf(this._lView),e=this._lView[Yo];e!==null&&!n&&Jm(e,this._lView),_k(this._lView[re],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=n;let e=wf(this._lView),i=this._lView[Yo];i!==null&&!e&&wk(i,this._lView),Sf(this._lView)}},ue=(()=>{class t{static{this.__NG_ELEMENT_ID__=_5}}return t})(),x5=ue,C5=class extends x5{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=xs(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new rr(o)}};function _5(){return vu(ht(),oe())}function vu(t,n){return t.type&4?new C5(n,t,ks(t,n)):null}var iG=new RegExp(`^(\\d+)*(${oD}|${iD})*(.*)`);var w5=()=>null;function sr(t,n){return w5(t,n)}var ps=class{},d1=new O("",{providedIn:"root",factory:()=>!1});var Yk=new O(""),Jk=new O(""),Hf=class{},Ed=class{};function M5(t){let n=Error(`No component factory found for ${jt(t)}.`);return n[I5]=t,n}var I5="ngComponent";var Uf=class{resolveComponentFactory(n){throw M5(n)}},fs=class{static{this.NULL=new Uf}},mo=class{},Ue=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>S5()}}return t})();function S5(){let t=oe(),n=ht(),e=yo(n.index,t);return(lo(e)?e:t)[$e]}var D5=(()=>{class t{static{this.\u0275prov=E({token:t,providedIn:"root",factory:()=>null})}}return t})();function Ad(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=gf(o,a);else if(r==2){let c=a,l=n[++s];i=gf(i,c+": "+l+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Ld=class extends fs{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=fi(n);return new ar(e,this.ngModule)}};function Oy(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:uo.None;n?e.push({propName:s,templateName:i,isSignal:(a&uo.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function T5(t){let n=t.toLowerCase();return n==="svg"?Ov:n==="math"?a3:null}var ar=class extends Ed{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=Oy(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return Oy(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=zS(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=ke(null);try{o=o||this.ngModule;let s=o instanceof At?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new cs(n,s):n,c=a.get(mo,null);if(c===null)throw new $(407,!1);let l=a.get(D5,null),d=a.get(ps,null),u={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,changeDetectionScheduler:d},g=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",y=i?qD(g,i,this.componentDef.encapsulation,a):Ck(g,f,T5(f)),_=512;this.componentDef.signals?_|=4096:this.componentDef.onPush||(_|=16);let A=null;y!==null&&(A=Km(y,a,!0));let R=o1(0,null,null,1,0,null,null,null,null,null,null),Z=fu(null,R,null,_,null,null,u,g,a,null,A);Hm(Z);let ee,_e,ge=null;try{let Se=this.componentDef,Xe,Ut=null;Se.findHostDirectiveDefs?(Xe=[],Ut=new Map,Se.findHostDirectiveDefs(Se,Xe,Ut),Xe.push(Se)):Xe=[Se];let ni=E5(Z,y);ge=A5(ni,y,Se,Xe,Z,u,g),_e=Ba(R,nt),y&&O5(g,Se,y,i),e!==void 0&&P5(_e,this.ngContentSelectors,e),ee=R5(ge,Se,Xe,Ut,Z,[F5]),c1(R,Z,null)}catch(Se){throw ge!==null&&Nf(ge),Nf(Z),Se}finally{Um()}return new Qf(this.componentType,ee,ks(_e,Z),Z,_e)}finally{ke(r)}}},Qf=class extends Hf{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new rr(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;s1(r[re],r,o,n,e),this.previousInputValues.set(n,e);let s=yo(this._tNode.index,r);yu(s,1)}}get injector(){return new Ko(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function E5(t,n){let e=t[re],i=nt;return t[i]=n,bs(e,i,2,"#host",null)}function A5(t,n,e,i,o,r,s){let a=o[re];L5(i,t,n,s);let c=null;n!==null&&(c=Km(n,o[Bn]));let l=r.rendererFactory.createRenderer(n,e),d=16;e.signals?d=4096:e.onPush&&(d=64);let u=fu(o,Nk(e),null,d,o[t.index],t,r,l,null,null,c);return a.firstCreatePass&&jf(a,t,i.length-1),mu(o,u),o[t.index]=u}function L5(t,n,e,i){for(let o of t)n.mergedAttrs=Ea(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(Ad(n,n.mergedAttrs,!0),e!==null&&Lk(i,e,n))}function R5(t,n,e,i,o,r){let s=ht(),a=o[re],c=Cn(s,o);qk(a,o,s,e,null,i);for(let d=0;d<e.length;d++){let u=s.directiveStart+d,g=ir(o,a,u,s);fo(g,o)}Vk(a,o,s),c&&fo(c,o);let l=ir(o,a,s.directiveStart+s.componentOffset,s);if(t[Mt]=o[Mt]=l,r!==null)for(let d of r)d(l,n);return t1(a,s,o),l}function O5(t,n,e,i){if(i)bf(t,e,["ng-version","18.2.13"]);else{let{attrs:o,classes:r}=BS(n.selectors[0]);o&&bf(t,e,o),r&&r.length>0&&Ak(t,e,r.join(" "))}}function P5(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function F5(){let t=ht();ru(oe()[re],t)}var Bt=(()=>{class t{static{this.__NG_ELEMENT_ID__=N5}}return t})();function N5(){let t=ht();return tb(t,oe())}var q5=Bt,eb=class extends q5{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return ks(this._hostTNode,this._hostLView)}get injector(){return new Ko(this._hostTNode,this._hostLView)}get parentInjector(){let n=$m(this._hostTNode,this._hostLView);if(Xv(n)){let e=Cd(n,this._hostLView),i=xd(n),o=e[re].data[i+8];return new Ko(o,e)}else return new Ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Py(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-It}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=sr(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,or(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!i3(n),a;if(s)a=e;else{let y=e||{};a=y.index,i=y.injector,o=y.projectableNodes,r=y.environmentInjector||y.ngModuleRef}let c=s?n:new ar(fi(n)),l=i||this.parentInjector;if(!r&&c.ngModule==null){let _=(s?l:this.parentInjector).get(At,null);_&&(r=_)}let d=fi(c.componentType??{}),u=sr(this._lContainer,d?.id??null),g=u?.firstChild??null,f=c.create(l,o,g,r);return this.insertImpl(f.hostView,a,or(this._hostTNode,u)),f}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(d3(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[St],l=new eb(c,c[tn],c[St]);l.detach(l.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return Cs(s,o,r,i),n.attachToViewContainerRef(),fv(cf(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Py(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Ra(this._lContainer,e);i&&(gd(cf(this._lContainer),e),uu(i[re],i))}detach(n){let e=this._adjustIndex(n,-1),i=Ra(this._lContainer,e);return i&&gd(cf(this._lContainer),e)!=null?new rr(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Py(t){return t[kd]}function cf(t){return t[kd]||(t[kd]=[])}function tb(t,n){let e,i=n[t.index];return qi(i)?e=i:(e=jk(i,n,null,t),n[t.index]=e,mu(n,e)),j5(e,n,t,i),new eb(e,t,n)}function V5(t,n){let e=t[$e],i=e.createComment(""),o=Cn(n,t),r=Sk(e,o);return Dd(e,r,i,SD(e,o),!1),i}var j5=B5,z5=()=>!1;function nb(t,n,e){return z5(t,n,e)}function B5(t,n,e,i){if(t[Jo])return;let o;e.type&8?o=gi(i):o=V5(n,e),t[Jo]=o}var $f=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wf=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)h1(n,e).matches!==null&&this.queries[e].setDirty()}},Rd=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=W5(n):this.predicate=n}},Gf=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Zf=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,H5(e,r)),this.matchTNodeWithReadOption(n,e,ud(e,n,r,!1,!1))}else i===ue?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,ud(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===J||o===Bt||o===ue&&e.type&4)this.addMatch(e.index,-2);else{let r=ud(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function H5(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function U5(t,n){return t.type&11?ks(t,n):t.type&4?vu(t,n):null}function Q5(t,n,e,i){return e===-1?U5(n,t):e===-2?$5(t,n,i):ir(t,t[re],e,n)}function $5(t,n,e){if(e===J)return ks(n,t);if(e===ue)return vu(n,t);if(e===Bt)return tb(n,t)}function ib(t,n,e,i){let o=n[Oi].queries[i];if(o.matches===null){let r=t.data,s=e.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let d=r[l];a.push(Q5(n,d,s[c+1],e.metadata.read))}}o.matches=a}return o.matches}function Kf(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=ib(t,n,o,e);for(let a=0;a<r.length;a+=2){let c=r[a];if(c>0)i.push(s[a/2]);else{let l=r[a+1],d=n[-c];for(let u=It;u<d.length;u++){let g=d[u];g[Yo]===g[St]&&Kf(g[re],g,l,i)}if(d[hs]!==null){let u=d[hs];for(let g=0;g<u.length;g++){let f=u[g];Kf(f[re],f,l,i)}}}}}return i}function u1(t,n){return t[Oi].queries[n].queryList}function ob(t,n,e){let i=new po((e&4)===4);return zD(t,n,i,i.destroy),(n[Oi]??=new Wf).queries.push(new $f(i))-1}function rb(t,n,e){let i=He();return i.firstCreatePass&&(ab(i,new Rd(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),ob(i,oe(),n)}function sb(t,n,e,i){let o=He();if(o.firstCreatePass){let r=ht();ab(o,new Rd(n,e,i),r.index),G5(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return ob(o,oe(),e)}function W5(t){return t.split(",").map(n=>n.trim())}function ab(t,n,e){t.queries===null&&(t.queries=new Gf),t.queries.track(new Zf(n,e))}function G5(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function h1(t,n){return t.queries.getByIndex(n)}function cb(t,n){let e=t[re],i=h1(e,n);return i.crossesNgTemplate?Kf(e,t,n,[]):ib(e,t,i,n)}var Fy=new Set;function Un(t){Fy.has(t)||(Fy.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function ku(t){return typeof t=="function"&&t[dn]!==void 0}function N(t,n){Un("NgSignals");let e=Ig(t),i=e[dn];return n?.equal&&(i.equal=n.equal),e.set=o=>Tl(i,o),e.update=o=>Sg(i,o),e.asReadonly=Z5.bind(e),e}function Z5(){let t=this[dn];if(t.readonlyFn===void 0){let n=()=>this();n[dn]=t,t.readonlyFn=n}return t.readonlyFn}function lb(t){return ku(t)&&typeof t.set=="function"}function p1(t,n){let e,i=Rp(()=>{e._dirtyCounter();let o=K5(e,t);if(n&&o===void 0)throw new $(-951,!1);return o});return e=i[dn],e._dirtyCounter=N(0),e._flatValue=void 0,i}function db(){return p1(!0,!1)}function ub(){return p1(!0,!0)}function hb(){return p1(!1,!1)}function pb(t,n){let e=t[dn];e._lView=oe(),e._queryIndex=n,e._queryList=u1(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function K5(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[ce]&4)return n?void 0:Vt;let o=u1(e,i),r=cb(e,i);return o.reset(r,dk),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function Ny(t,n){return db()}function X5(t,n){return ub()}var f1=(Ny.required=X5,Ny);function $a(t,n){return hb()}function qy(t,n){return db()}function Y5(t,n){return ub()}var Wa=(qy.required=Y5,qy);function m1(t,n){return hb()}function J5(t){return Object.getPrototypeOf(t.prototype).constructor}function we(t){let n=J5(t.type),e=!0,i=[t];for(;n;){let o;if(Pi(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new $(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=od(t.inputs),s.inputTransforms=od(t.inputTransforms),s.declaredInputs=od(t.declaredInputs),s.outputs=od(t.outputs);let a=o.hostBindings;a&&oT(t,a);let c=o.viewQuery,l=o.contentQueries;if(c&&nT(t,c),l&&iT(t,l),eT(t,o),sS(t.outputs,o.outputs),Pi(o)&&o.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===we&&(e=!1)}}n=Object.getPrototypeOf(n)}tT(i)}function eT(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function tT(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Ea(o.hostAttrs,e=Ea(e,o.hostAttrs))}}function od(t){return t===Ri?{}:t===Vt?[]:t}function nT(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function iT(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function oT(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function rT(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=fb,e.hostDirectives=i?t.map(Xf):[t]):i?e.hostDirectives.unshift(...t.map(Xf)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function fb(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let o=i();for(let r of o)Vy(Xf(r),n,e)}else Vy(i,n,e)}function Vy(t,n,e){let i=$d(t.directive);sT(i.declaredInputs,t.inputs),fb(i,n,e),e.set(i,t),n.push(i)}function Xf(t){return typeof t=="function"?{directive:wt(t),inputs:Ri,outputs:Ri}:{directive:wt(t.directive),inputs:jy(t.inputs),outputs:jy(t.outputs)}}function jy(t){if(t===void 0||t.length===0)return Ri;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function sT(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],o=t[e];t[i]=o}}function he(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var Fi=class{},Oa=class{};function mb(t,n){return new Od(t,n??null,[])}var Od=class extends Fi{constructor(n,e,i,o=!0){super(),this.ngModuleType=n,this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ld(this);let r=Cv(n);this._bootstrapComponents=xk(r.bootstrap),this._r3Injector=sk(n,e,[{provide:Fi,useValue:this},{provide:fs,useValue:this.componentFactoryResolver},...i],jt(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Yf=class extends Oa{constructor(n){super(),this.moduleType=n}create(n){return new Od(this.moduleType,n,[])}};var Pd=class extends Fi{constructor(n){super(),this.componentFactoryResolver=new Ld(this),this.instance=null;let e=new Aa([...n.providers,{provide:Fi,useValue:this},{provide:fs,useValue:this.componentFactoryResolver}],n.parent||Gd(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Ga(t,n,e=null){return new Pd({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var aT=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(e,i,o,r){if(!this.cachedInjectors.has(e)){let s=o.length>0?Ga(o,i,r):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=E({token:t,providedIn:"environment",factory:()=>new t})}}return t})();function gb(t){return g1(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function cT(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function g1(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Za(t,n,e){return t[n]=e}function lT(t,n){return t[n]}function Jt(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Pa(t,n,e,i){let o=Jt(t,n,e);return Jt(t,n+1,i)||o}function yb(t,n,e,i,o){let r=Pa(t,n,e,i);return Jt(t,n+2,o)||r}function dT(t,n,e,i,o,r){let s=Pa(t,n,e,i);return Pa(t,n+2,o,r)||s}function uT(t){return(t.flags&32)===32}function hT(t,n,e,i,o,r,s,a,c){let l=n.consts,d=bs(n,t,4,s||null,a||null);r1(n,e,d,ho(l,c)),ru(n,d);let u=d.tView=o1(2,d,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return n.queries!==null&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}function Fa(t,n,e,i,o,r,s,a,c,l){let d=e+nt,u=n.firstCreatePass?hT(d,n,t,i,o,r,s,a,c):n.data[d];lr(u,!1);let g=pT(n,t,u,e);iu()&&hu(n,t,g,u),fo(g,t);let f=jk(g,t,g,u);return t[d]=f,mu(t,f),nb(f,u,t),Xd(u)&&n1(n,t,u),c!=null&&i1(t,u,l),u}function M(t,n,e,i,o,r,s,a){let c=oe(),l=He(),d=ho(l.consts,r);return Fa(c,l,t,n,e,i,o,d,s,a),M}var pT=fT;function fT(t,n,e,i){return ou(!0),n[$e].createComment("")}var Xt=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Xt||{}),zy=0,mT=1,mt=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(mt||{}),y1=function(t){return t[t.Initial=-1]="Initial",t}(y1||{}),gT=0,v1=1;var vb=4,kb=5,bb=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(bb||{});function xb(t,n,e){let i=t===1?kb:vb;n[i]===null&&(n[i]=[]),n[i].push(e)}function Jf(t,n){let e=t===1?kb:vb,i=n[e];if(i!==null){for(let o of i)o();n[e]=null}}function Cb(t){Jf(1,t),Jf(0,t)}var ui=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ui||{}),_b=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}}return t})(),em=class t{constructor(){this.ngZone=S(ie),this.scheduler=S(ps),this.errorHandler=S(Hn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[ui.EarlyRead,ui.Write,ui.MixedReadWrite,ui.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t})}},tm=class{constructor(n,e,i,o){this.impl=n,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function yT(t,n){!n?.injector&&go(yT);let e=n?.injector??S(Be);return du(e)?(Un("NgAfterRender"),wb(t,e,n,!1)):Mb}function en(t,n){!n?.injector&&go(en);let e=n?.injector??S(Be);return du(e)?(Un("NgAfterNextRender"),wb(t,e,n,!0)):Mb}function vT(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function wb(t,n,e,i){let o=n.get(_b);o.impl??=n.get(em);let r=e?.phase??ui.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(_n):null,a=new tm(o.impl,vT(t,r),i,s);return o.impl.register(a),a}var Mb={destroy(){}};function bu(t){return t+1}function xu(t,n){let e=t[re],i=bu(n.index);return t[i]}function kT(t,n,e){let i=t[re],o=bu(n);t[o]=e}function Cu(t,n){let e=bu(n.index);return t.data[e]}function bT(t,n,e){let i=bu(n);t.data[i]=e}function xT(t,n,e){let i=n[re],o=Cu(i,e);switch(t){case mt.Complete:return o.primaryTmplIndex;case mt.Loading:return o.loadingTmplIndex;case mt.Error:return o.errorTmplIndex;case mt.Placeholder:return o.placeholderTmplIndex;default:return null}}function By(t,n){return n===mt.Placeholder?t.placeholderBlockConfig?.[zy]??null:n===mt.Loading?t.loadingBlockConfig?.[zy]??null:null}function CT(t){return t.loadingBlockConfig?.[mT]??null}function Hy(t,n){if(!t||t.length===0)return n;let e=new Set(t);for(let i of n)e.add(i);return t.length===e.size?t:Array.from(e)}function _T(t,n){let e=n.primaryTmplIndex+nt;return Ba(t,e)}var ts=new WeakMap;var ns=null,lf=0,nm=class{constructor(){this.callbacks=new Set,this.listener=()=>{for(let n of this.callbacks)n()}}};function wT(t,n,e){let i=e.get(ie),o=ts.get(t);return ns=ns||i.runOutsideAngular(()=>new IntersectionObserver(r=>{for(let s of r)s.isIntersecting&&ts.has(s.target)&&i.run(ts.get(s.target).listener)})),o||(o=new nm,i.runOutsideAngular(()=>ns.observe(t)),ts.set(t,o),lf++),o.callbacks.add(n),()=>{ts.has(t)&&(o.callbacks.delete(n),o.callbacks.size===0&&(ns?.unobserve(t),ts.delete(t),lf--),lf===0&&(ns?.disconnect(),ns=null))}}function MT(t,n,e){return e==null?t:e>=0?Nv(e,t):t[n.index][It]??null}function IT(t,n){return Pm(nt+n,t)}function ST(t,n,e,i,o,r,s){let a=t[Bn],c=a.get(ie);function l(){if(Mf(t))return;let d=xu(t,n),u=d[v1];if(u!==y1.Initial&&u!==mt.Placeholder)return;let g=MT(t,n,i);if(!g){en({read:l},{injector:a});return}if(Mf(g))return;let f=IT(g,e),y=o(f,()=>{c.run(()=>{t!==g&&qm(g,y),r()})},a);t!==g&&eu(g,y),xb(s,d,y)}en({read:l},{injector:a})}var DT=new O("");function TT(t){return t.get(DT,null,{optional:!0})?.behavior===bb.Manual?!1:du(t)}var ET=null;function rG(t,n,e,i,o,r,s,a,c){let l=oe(),d=He(),u=t+nt,g=Fa(l,d,t,null,0,0);if(d.firstCreatePass){Un("NgDefer");let A={primaryTmplIndex:n,loadingTmplIndex:i??null,placeholderTmplIndex:o??null,errorTmplIndex:r??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:e??null,loadingState:Xt.NOT_STARTED,loadingPromise:null,providers:null};c?.(d,A,a,s),bT(d,u,A)}let f=l[u];nb(f,g,l);let y=[null,y1.Initial,null,null,null,null];kT(l,u,y);let _=()=>Cb(y);xb(0,y,()=>qm(l,_)),eu(l,_)}function sG(t,n){let e=oe(),i=ht();OT(e,i),ST(e,i,t,n,wT,()=>PT(e,i),0)}function Zo(t,n,e,i=!1){let o=e[St],r=o[re];if(Mf(o))return;let s=xu(o,n),a=s[v1];if(Uy(a,t)&&Uy(s[gT]??-1,t)){let c=o[Bn],l=Cu(r,n),u=!i&&du(c)&&(CT(l)!==null||By(l,mt.Loading)!==null||By(l,mt.Placeholder))?ET:LT;try{u(t,s,e,n,o)}catch(g){gu(o,g)}}}function df(t,n,e){return t.get(aT).getOrCreateInjector(n,t,e,"")}function AT(t,n,e){if(t instanceof cs){let o=t.injector,r=t.parentInjector,s=df(r,n,e);return new cs(o,s)}let i=t.get(At);if(i!==t){let o=df(i,n,e);return new cs(t,o)}return df(t,n,e)}function LT(t,n,e,i,o){let r=xT(t,o,i);if(r!==null){n[v1]=t;let s=o[re],a=r+nt,c=Ba(s,a),l=0;l1(e,l);let d;if(t===mt.Complete){let f=Cu(s,i),y=f.providers;y&&y.length>0&&(d=AT(o[Bn],f,y))}let u=sr(e,c.tView.ssrId),g=xs(o,c,null,{dehydratedView:u,injector:d});Cs(e,g,l,or(c,u)),yu(g,2)}}function Uy(t,n){return t<n}function RT(t,n,e){let i=n[Bn],o=n[re];if(t.loadingState!==Xt.NOT_STARTED)return t.loadingPromise??Promise.resolve();let r=xu(n,e),s=_T(o,t);t.loadingState=Xt.IN_PROGRESS,Jf(1,r);let a=t.dependencyResolverFn,c=i.get(ki),l=c.add();return a?(t.loadingPromise=Promise.allSettled(a()).then(d=>{let u=!1,g=[],f=[];for(let y of d)if(y.status==="fulfilled"){let _=y.value,A=fi(_)||$d(_);if(A)g.push(A);else{let R=Em(_);R&&f.push(R)}}else{u=!0;break}if(t.loadingPromise=null,c.remove(l),u){if(t.loadingState=Xt.FAILED,t.errorTmplIndex===null){let y="",_=new $(750,!1);gu(n,_)}}else{t.loadingState=Xt.COMPLETE;let y=s.tView;if(g.length>0){y.directiveRegistry=Hy(y.directiveRegistry,g);let _=g.map(R=>R.type),A=Am(!1,..._);t.providers=A}f.length>0&&(y.pipeRegistry=Hy(y.pipeRegistry,f))}}),t.loadingPromise):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Xt.COMPLETE,c.remove(l)}),t.loadingPromise)}function OT(t,n){let e=t[n.index];Zo(mt.Placeholder,n,e)}function Qy(t,n,e){t.loadingPromise.then(()=>{t.loadingState===Xt.COMPLETE?Zo(mt.Complete,n,e):t.loadingState===Xt.FAILED&&Zo(mt.Error,n,e)})}function PT(t,n){let e=t[re],i=t[n.index],o=t[Bn];if(!TT(o))return;let r=xu(t,n),s=Cu(e,n);switch(Cb(r),s.loadingState){case Xt.NOT_STARTED:Zo(mt.Loading,n,i),RT(s,t,n),s.loadingState===Xt.IN_PROGRESS&&Qy(s,n,i);break;case Xt.IN_PROGRESS:Zo(mt.Loading,n,i),Qy(s,n,i);break;case Xt.COMPLETE:Zo(mt.Complete,n,i);break;case Xt.FAILED:Zo(mt.Error,n,i);break;default:}}function W(t,n,e,i){let o=oe(),r=vo();if(Jt(o,r,n)){let s=He(),a=vs();n5(a,o,t,n,e,i)}return W}function Ib(t,n,e,i){return Jt(t,vo(),e)?n+Li(e)+i:Lt}function FT(t,n,e,i,o,r){let s=Hv(),a=Pa(t,s,e,o);return tu(2),a?n+Li(e)+i+Li(o)+r:Lt}function NT(t,n,e,i,o,r,s,a){let c=Hv(),l=yb(t,c,e,o,s);return tu(3),l?n+Li(e)+i+Li(o)+r+Li(s)+a:Lt}function rd(t,n){return t<<17|n<<2}function cr(t){return t>>17&32767}function qT(t){return(t&2)==2}function VT(t,n){return t&131071|n<<17}function im(t){return t|2}function ms(t){return(t&131068)>>2}function uf(t,n){return t&-131069|n<<2}function jT(t){return(t&1)===1}function om(t){return t|1}function zT(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=cr(s),c=ms(s);t[i]=e;let l=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||Va(u,d)>0)&&(l=!0)}else d=e;if(o)if(c!==0){let g=cr(t[a+1]);t[i+1]=rd(g,a),g!==0&&(t[g+1]=uf(t[g+1],i)),t[a+1]=VT(t[a+1],i)}else t[i+1]=rd(a,0),a!==0&&(t[a+1]=uf(t[a+1],i)),a=i;else t[i+1]=rd(c,0),a===0?a=i:t[c+1]=uf(t[c+1],i),c=i;l&&(t[i+1]=im(t[i+1])),$y(t,d,i,!0),$y(t,d,i,!1),BT(n,d,t,i,r),s=rd(a,c),r?n.classBindings=s:n.styleBindings=s}function BT(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&Va(r,n)>=0&&(e[i+1]=om(e[i+1]))}function $y(t,n,e,i){let o=t[e+1],r=n===null,s=i?cr(o):ms(o),a=!1;for(;s!==0&&(a===!1||r);){let c=t[s],l=t[s+1];HT(c,n)&&(a=!0,t[s+1]=i?om(l):im(l)),s=i?cr(l):ms(l)}a&&(t[e+1]=i?im(o):om(o))}function HT(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Va(t,n)>=0:!1}var ut={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Sb(t){return t.substring(ut.key,ut.keyEnd)}function UT(t){return t.substring(ut.value,ut.valueEnd)}function QT(t){return Eb(t),Db(t,gs(t,0,ut.textEnd))}function Db(t,n){let e=ut.textEnd;return e===n?-1:(n=ut.keyEnd=WT(t,ut.key=n,e),gs(t,n,e))}function $T(t){return Eb(t),Tb(t,gs(t,0,ut.textEnd))}function Tb(t,n){let e=ut.textEnd,i=ut.key=gs(t,n,e);return e===i?-1:(i=ut.keyEnd=GT(t,i,e),i=Wy(t,i,e,58),i=ut.value=gs(t,i,e),i=ut.valueEnd=ZT(t,i,e),Wy(t,i,e,59))}function Eb(t){ut.key=0,ut.keyEnd=0,ut.value=0,ut.valueEnd=0,ut.textEnd=t.length}function gs(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function WT(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function GT(t,n,e){let i;for(;n<e&&((i=t.charCodeAt(n))===45||i===95||(i&-33)>=65&&(i&-33)<=90||i>=48&&i<=57);)n++;return n}function Wy(t,n,e,i){return n=gs(t,n,e),n<e&&n++,n}function ZT(t,n,e){let i=-1,o=-1,r=-1,s=n,a=s;for(;s<e;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Gy(t,c,s,e):n===s-4&&r===85&&o===82&&i===76&&c===40?a=s=Gy(t,41,s,e):c>32&&(a=s),r=o,o=i,i=c&-33}return a}function Gy(t,n,e,i){let o=-1,r=e;for(;r<i;){let s=t.charCodeAt(r++);if(s==n&&o!==92)return r;s==92&&o===92?o=0:o=s}throw new Error}function v(t,n,e){let i=oe(),o=vo();if(Jt(i,o,n)){let r=He(),s=vs();Qa(r,s,i,t,n,i[$e],e,!1)}return v}function rm(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";s1(t,e,r[s],s,i)}function We(t,n,e){return Ab(t,n,e,!1),We}function nn(t,n){return Ab(t,n,null,!0),nn}function _u(t){Lb(Pb,KT,t,!1)}function KT(t,n){for(let e=$T(n);e>=0;e=Tb(n,e))Pb(t,Sb(n),UT(n))}function x(t){Lb(i6,XT,t,!0)}function XT(t,n){for(let e=QT(n);e>=0;e=Db(n,e))Qd(t,Sb(n),!0)}function Ab(t,n,e,i){let o=oe(),r=He(),s=tu(2);if(r.firstUpdatePass&&Ob(r,t,s,i),n!==Lt&&Jt(o,s,n)){let a=r.data[vi()];Fb(r,a,o,o[$e],t,o[s+1]=r6(n,e),i,s)}}function Lb(t,n,e,i){let o=He(),r=tu(2);o.firstUpdatePass&&Ob(o,null,r,i);let s=oe();if(e!==Lt&&Jt(s,r,e)){let a=o.data[vi()];if(Nb(a,i)&&!Rb(o,r)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=gf(c,e||"")),rm(o,a,s,e,i)}else o6(o,a,s,s[$e],s[r+1],s[r+1]=n6(t,n,e),i,r)}}function Rb(t,n){return n>=t.expandoStartIndex}function Ob(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[vi()],s=Rb(t,e);Nb(r,i)&&n===null&&!s&&(n=!1),n=YT(o,r,n,i),zT(o,r,n,e,s,i)}}function YT(t,n,e,i){let o=zm(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=hf(null,t,n,e,i),e=Na(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=hf(o,t,n,e,i),r===null){let c=JT(t,n,i);c!==void 0&&Array.isArray(c)&&(c=hf(null,t,n,c[1],i),c=Na(c,n.attrs,i),e6(t,n,i,c))}else r=t6(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function JT(t,n,e){let i=e?n.classBindings:n.styleBindings;if(ms(i)!==0)return t[cr(i)]}function e6(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[cr(o)]=i}function t6(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Na(i,s,e)}return Na(i,n.attrs,e)}function hf(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=Na(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function Na(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Qd(t,s,e?!0:n[++r]))}return t===void 0?null:t}function n6(t,n,e){if(e==null||e==="")return Vt;let i=[],o=ur(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function Pb(t,n,e){Qd(t,n,ur(e))}function i6(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Qd(t,i,e)}function o6(t,n,e,i,o,r,s,a){o===Lt&&(o=Vt);let c=0,l=0,d=0<o.length?o[0]:null,u=0<r.length?r[0]:null;for(;d!==null||u!==null;){let g=c<o.length?o[c+1]:void 0,f=l<r.length?r[l+1]:void 0,y=null,_;d===u?(c+=2,l+=2,g!==f&&(y=u,_=f)):u===null||d!==null&&d<u?(c+=2,y=d):(l+=2,y=u,_=f),y!==null&&Fb(t,n,e,i,y,_,s,a),d=c<o.length?o[c]:null,u=l<r.length?r[l]:null}}function Fb(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],d=jT(l)?Zy(c,n,e,o,ms(l),s):void 0;if(!Fd(d)){Fd(r)||qT(l)&&(r=Zy(c,null,e,o,a,s));let u=Pm(vi(),e);RD(i,s,u,o,r)}}function Zy(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let c=t[o],l=Array.isArray(c),d=l?c[1]:c,u=d===null,g=e[o+1];g===Lt&&(g=u?Vt:void 0);let f=u?ef(g,i):d===i?g:void 0;if(l&&!Fd(f)&&(f=ef(c,i)),Fd(f)&&(a=f,s))return a;let y=t[o+1];o=s?cr(y):ms(y)}if(n!==null){let c=r?n.residualClasses:n.residualStyles;c!=null&&(a=ef(c,i))}return a}function Fd(t){return t!==void 0}function r6(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=jt(ur(t)))),t}function Nb(t,n){return(t.flags&(n?8:16))!==0}function qb(){return oe()[Yt][Mt]}var sm=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function pf(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function s6(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let c=n.length-1;for(;r<=s&&r<=c;){let l=t.at(r),d=n[r],u=pf(r,l,r,d,e);if(u!==0){u<0&&t.updateValue(r,d),r++;continue}let g=t.at(s),f=n[c],y=pf(s,g,c,f,e);if(y!==0){y<0&&t.updateValue(s,f),s--,c--;continue}let _=e(r,l),A=e(s,g),R=e(r,d);if(Object.is(R,A)){let Z=e(c,f);Object.is(Z,_)?(t.swap(r,s),t.updateValue(s,f),c--,s--):t.move(s,r),t.updateValue(r,d),r++;continue}if(i??=new Nd,o??=Xy(t,r,s,e),am(t,i,r,R))t.updateValue(r,d),r++,s++;else if(o.has(R))i.set(_,t.detach(r)),s--;else{let Z=t.create(r,n[r]);t.attach(r,Z),r++,s++}}for(;r<=c;)Ky(t,i,e,r,n[r]),r++}else if(n!=null){let c=n[Symbol.iterator](),l=c.next();for(;!l.done&&r<=s;){let d=t.at(r),u=l.value,g=pf(r,d,r,u,e);if(g!==0)g<0&&t.updateValue(r,u),r++,l=c.next();else{i??=new Nd,o??=Xy(t,r,s,e);let f=e(r,u);if(am(t,i,r,f))t.updateValue(r,u),r++,s++,l=c.next();else if(!o.has(f))t.attach(r,t.create(r,u)),r++,s++,l=c.next();else{let y=e(r,d);i.set(y,t.detach(r)),s--}}}for(;!l.done;)Ky(t,i,e,t.length,l.value),l=c.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(c=>{t.destroy(c)})}function am(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Ky(t,n,e,i,o){if(am(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Xy(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var Nd=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function w(t,n){Un("NgControlFlow");let e=oe(),i=vo(),o=e[i]!==Lt?e[i]:-1,r=o!==-1?qd(e,nt+o):void 0,s=0;if(Jt(e,i,t)){let a=ke(null);try{if(r!==void 0&&l1(r,s),t!==-1){let c=nt+t,l=qd(e,c),d=um(e[re],c),u=sr(l,d.tView.ssrId),g=xs(e,d,n,{dehydratedView:u});Cs(l,g,s,or(d,u))}}finally{ke(a)}}else if(r!==void 0){let a=Qk(r,s);a!==void 0&&(a[Mt]=n)}}var cm=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-It}};function k1(t){return t}function a6(t,n){return n}var lm=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function wn(t,n,e,i,o,r,s,a,c,l,d,u,g){Un("NgControlFlow");let f=oe(),y=He(),_=c!==void 0,A=oe(),R=a?s.bind(A[Yt][Mt]):s,Z=new lm(_,R);A[nt+t]=Z,Fa(f,y,t+1,n,e,i,o,ho(y.consts,r)),_&&Fa(f,y,t+2,c,l,d,u,ho(y.consts,g))}var dm=class extends sm{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-It}at(n){return this.getLView(n)[Mt].$implicit}attach(n,e){let i=e[us];this.needsIndexUpdate||=n!==this.length,Cs(this.lContainer,e,n,or(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,c6(this.lContainer,n)}create(n,e){let i=sr(this.lContainer,this.templateTNode.tView.ssrId),o=xs(this.hostLView,this.templateTNode,new cm(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){uu(n[re],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Mt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Mt].$index=n}getLView(n){return l6(this.lContainer,n)}};function Mn(t){let n=ke(null),e=vi();try{let i=oe(),o=i[re],r=i[e],s=e+1,a=qd(i,s);if(r.liveCollection===void 0){let l=um(o,s);r.liveCollection=new dm(a,i,l)}else r.liveCollection.reset();let c=r.liveCollection;if(s6(c,t,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let l=vo(),d=c.length===0;if(Jt(i,l,d)){let u=e+2,g=qd(i,u);if(d){let f=um(o,u),y=sr(g,f.tView.ssrId),_=xs(i,f,void 0,{dehydratedView:y});Cs(g,_,0,or(f,y))}else l1(g,0)}}}finally{ke(n)}}function qd(t,n){return t[n]}function c6(t,n){return Ra(t,n)}function l6(t,n){return Qk(t,n)}function um(t,n){return Ba(t,n)}function d6(t,n,e,i,o,r){let s=n.consts,a=ho(s,o),c=bs(n,t,2,i,a);return r1(n,e,c,ho(s,r)),c.attrs!==null&&Ad(c,c.attrs,!1),c.mergedAttrs!==null&&Ad(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function C(t,n,e,i){let o=oe(),r=He(),s=nt+t,a=o[$e],c=r.firstCreatePass?d6(s,r,o,n,e,i):r.data[s],l=u6(r,o,c,a,n,t);o[s]=l;let d=Xd(c);return lr(c,!0),Lk(a,l,c),!uT(c)&&iu()&&hu(r,o,l,c),u3()===0&&fo(l,o),h3(),d&&(n1(r,o,c),t1(r,c,o)),i!==null&&i1(o,c),C}function b(){let t=ht();Vm()?jm():(t=t.parent,lr(t,!1));let n=t;f3(n)&&m3(),p3();let e=He();return e.firstCreatePass&&(ru(e,t),Om(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&D3(n)&&rm(e,n,oe(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&T3(n)&&rm(e,n,oe(),n.stylesWithoutHost,!1),b}function q(t,n,e,i){return C(t,n,e,i),b(),q}var u6=(t,n,e,i,o,r)=>(ou(!0),Ck(i,o,w3()));function h6(t,n,e,i,o){let r=n.consts,s=ho(r,i),a=bs(n,t,8,"ng-container",s);s!==null&&Ad(a,s,!0);let c=ho(r,o);return r1(n,e,a,c),n.queries!==null&&n.queries.elementStart(n,a),a}function Ka(t,n,e){let i=oe(),o=He(),r=t+nt,s=o.firstCreatePass?h6(r,o,i,n,e):o.data[r];lr(s,!0);let a=p6(o,i,s,t);return i[r]=a,iu()&&hu(o,i,a,s),fo(a,i),Xd(s)&&(n1(o,i,s),t1(o,s,i)),e!=null&&i1(i,s),Ka}function Xa(){let t=ht(),n=He();return Vm()?jm():(t=t.parent,lr(t,!1)),n.firstCreatePass&&(ru(n,t),Om(t)&&n.queries.elementEnd(t)),Xa}function hn(t,n,e){return Ka(t,n,e),Xa(),hn}var p6=(t,n,e,i)=>(ou(!0),kD(n[$e],""));function fe(){return oe()}function wu(t,n,e){let i=oe(),o=vo();if(Jt(i,o,n)){let r=He(),s=vs();Qa(r,s,i,t,n,i[$e],e,!0)}return wu}function _s(t,n,e){let i=oe(),o=vo();if(Jt(i,o,n)){let r=He(),s=vs(),a=zm(r.data),c=Uk(a,s,i);Qa(r,s,i,t,n,c,e,!0)}return _s}var Vd="en-US";var f6=Vd;function m6(t){typeof t=="string"&&(f6=t.toLowerCase().replace(/_/g,"-"))}var g6=(t,n,e)=>{};function U(t,n,e,i){let o=oe(),r=He(),s=ht();return b1(r,o,o[$e],s,t,n,i),U}function ws(t,n){let e=ht(),i=oe(),o=He(),r=zm(o.data),s=Uk(r,e,i);return b1(o,i,s,e,t,n),ws}function y6(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[vd],c=o[r+2];return a.length>c?a[c]:null}typeof s=="string"&&(r+=2)}return null}function b1(t,n,e,i,o,r,s){let a=Xd(i),l=t.firstCreatePass&&Hk(t),d=n[Mt],u=Bk(n),g=!0;if(i.type&3||s){let _=Cn(i,n),A=s?s(_):_,R=u.length,Z=s?_e=>s(gi(_e[i.index])):i.index,ee=null;if(!s&&a&&(ee=y6(t,n,o,i.index)),ee!==null){let _e=ee.__ngLastListenerFn__||ee;_e.__ngNextListenerFn__=r,ee.__ngLastListenerFn__=r,g=!1}else{r=Jy(i,n,d,r),g6(_,o,r);let _e=e.listen(A,o,r);u.push(r,_e),l&&l.push(o,Z,R,R+1)}}else r=Jy(i,n,d,r);let f=i.outputs,y;if(g&&f!==null&&(y=f[o])){let _=y.length;if(_)for(let A=0;A<_;A+=2){let R=y[A],Z=y[A+1],ge=n[R][Z].subscribe(r),Se=u.length;u.push(r,ge),l&&l.push(o,i.index,Se,-(Se+1))}}}function Yy(t,n,e,i){let o=ke(null);try{return li(6,n,e),e(i)!==!1}catch(r){return gu(t,r),!1}finally{li(7,n,e),ke(o)}}function Jy(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?yo(t.index,n):n;yu(s,5);let a=Yy(n,e,i,r),c=o.__ngNextListenerFn__;for(;c;)a=Yy(n,e,c,r)&&a,c=c.__ngNextListenerFn__;return a}}function p(t=1){return _3(t)}function v6(t,n){let e=null,i=FS(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?bv(t,r,!0):VS(i,r))return o}return e}function qe(t){let n=oe()[Yt][tn];if(!n.projection){let e=t?t.length:1,i=n.projection=SS(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?v6(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Te(t,n=0,e,i,o,r){let s=oe(),a=He(),c=i?t+1:null;c!==null&&Fa(s,a,c,i,o,r,null,e);let l=bs(a,nt+t,16,null,e||null);l.projection===null&&(l.projection=n),jm();let u=!s[us]||jv();s[Yt][tn].projection[l.projection]===null&&c!==null?k6(s,a,c):u&&(l.flags&32)!==32&&AD(a,s,l)}function k6(t,n,e){let i=nt+e,o=n.data[i],r=t[i],s=sr(r,o.tView.ssrId),a=xs(t,o,void 0,{dehydratedView:s});Cs(r,a,0,or(o,s))}function b6(t,n,e){return Vb(t,"",n,"",e),b6}function Vb(t,n,e,i,o){let r=oe(),s=Ib(r,n,e,i);if(s!==Lt){let a=He(),c=vs();Qa(a,c,r,t,s,r[$e],o,!1)}return Vb}function pn(t,n,e,i){sb(t,n,e,i)}function Fe(t,n,e){rb(t,n,e)}function ye(t){let n=oe(),e=He(),i=Bm();nu(i+1);let o=h1(e,i);if(t.dirty&&l3(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=cb(n,i);t.reset(r,dk),t.notifyOnChanges()}return!0}return!1}function ve(){return u1(oe(),Bm())}function hr(t,n,e,i,o){pb(n,sb(t,e,i,o))}function pr(t,n,e,i){pb(t,rb(n,e,i))}function bi(t=1){nu(Bm()+t)}function x6(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Ge(t){let n=y3();return Fm(n,nt+t)}function Ae(t,n=""){let e=oe(),i=He(),o=t+nt,r=i.firstCreatePass?bs(i,o,1,n,null):i.data[o],s=C6(i,e,r,n,t);e[o]=s,iu()&&hu(i,e,s,r),lr(r,!1)}var C6=(t,n,e,i,o)=>(ou(!0),yD(n[$e],i));function Mu(t){return Le("",t,""),Mu}function Le(t,n,e){let i=oe(),o=Ib(i,t,n,e);return o!==Lt&&a1(i,vi(),o),Le}function _6(t,n,e,i,o){let r=oe(),s=FT(r,t,n,e,i,o);return s!==Lt&&a1(r,vi(),s),_6}function w6(t,n,e,i,o,r,s){let a=oe(),c=NT(a,t,n,e,i,o,r,s);return c!==Lt&&a1(a,vi(),c),w6}function x1(t,n,e){lb(n)&&(n=n());let i=oe(),o=vo();if(Jt(i,o,n)){let r=He(),s=vs();Qa(r,s,i,t,n,i[$e],e,!1)}return x1}function jb(t,n){let e=lb(t);return e&&t.set(n),e}function C1(t,n){let e=oe(),i=He(),o=ht();return b1(i,e,e[$e],o,t,n),C1}function M6(t,n,e){let i=He();if(i.firstCreatePass){let o=Pi(t);hm(e,i.data,i.blueprint,o,!0),hm(n,i.data,i.blueprint,o,!1)}}function hm(t,n,e,i,o){if(t=wt(t),Array.isArray(t))for(let r=0;r<t.length;r++)hm(t[r],n,e,i,o);else{let r=He(),s=oe(),a=ht(),c=ds(t)?t:wt(t.provide),l=Sv(t),d=a.providerIndexes&1048575,u=a.directiveStart,g=a.providerIndexes>>20;if(ds(t)||!t.multi){let f=new nr(l,o,h),y=mf(c,n,o?d:d+g,u);y===-1?(Ef(wd(a,s),r,c),ff(r,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(f),s.push(f)):(e[y]=f,s[y]=f)}else{let f=mf(c,n,d+g,u),y=mf(c,n,d,d+g),_=f>=0&&e[f],A=y>=0&&e[y];if(o&&!A||!o&&!_){Ef(wd(a,s),r,c);let R=D6(o?S6:I6,e.length,o,i,l);!o&&A&&(e[y].providerFactory=R),ff(r,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(R),s.push(R)}else{let R=zb(e[o?y:f],l,!o&&i);ff(r,t,f>-1?f:y,R)}!o&&i&&A&&e[y].componentProviders++}}}function ff(t,n,e,i){let o=ds(n),r=KS(n);if(o||r){let c=(r?wt(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let d=l.indexOf(e);d===-1?l.push(e,[i,c]):l[d+1].push(i,c)}else l.push(e,c)}}}function zb(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function mf(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function I6(t,n,e,i){return pm(this.multi,[])}function S6(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=ir(e,e[re],this.providerFactory.index,i);r=a.slice(0,s),pm(o,r);for(let c=s;c<a.length;c++)r.push(a[c])}else r=[],pm(o,r);return r}function pm(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function D6(t,n,e,i,o){let r=new nr(t,e,h);return r.multi=[],r.index=n,r.componentProviders=0,zb(r,o,i&&!e),r}function Ie(t,n=[]){return e=>{e.providersResolver=(i,o)=>M6(i,o?o(t):t,n)}}var T6=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=Am(!1,e.type),o=i.length>0?Ga([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=E({token:t,providedIn:"environment",factory:()=>new t(D(At))})}}return t})();function it(t){Un("NgStandalone"),t.getStandaloneInjector=n=>n.get(T6).getOrCreateStandaloneInjector(t)}function E6(t,n,e){let i=dr()+t,o=oe();return o[i]===Lt?Za(o,i,e?n.call(e):n()):lT(o,i)}function Ya(t,n,e,i){return Bb(oe(),dr(),t,n,e,i)}function _1(t,n,e,i,o){return Hb(oe(),dr(),t,n,e,i,o)}function aG(t,n,e,i,o,r){return A6(oe(),dr(),t,n,e,i,o,r)}function cG(t,n,e,i,o,r,s){return L6(oe(),dr(),t,n,e,i,o,r,s)}function Iu(t,n){let e=t[n];return e===Lt?void 0:e}function Bb(t,n,e,i,o,r){let s=n+e;return Jt(t,s,o)?Za(t,s+1,r?i.call(r,o):i(o)):Iu(t,s+1)}function Hb(t,n,e,i,o,r,s){let a=n+e;return Pa(t,a,o,r)?Za(t,a+2,s?i.call(s,o,r):i(o,r)):Iu(t,a+2)}function A6(t,n,e,i,o,r,s,a){let c=n+e;return yb(t,c,o,r,s)?Za(t,c+3,a?i.call(a,o,r,s):i(o,r,s)):Iu(t,c+3)}function L6(t,n,e,i,o,r,s,a,c){let l=n+e;return dT(t,l,o,r,s,a)?Za(t,l+4,c?i.call(c,o,r,s,a):i(o,r,s,a)):Iu(t,l+4)}function lG(t,n){let e=He(),i,o=t+nt;e.firstCreatePass?(i=R6(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=Xo(i.type,!0)),s,a=Kt(h);try{let c=_d(!1),l=r();return _d(c),x6(e,oe(),o,l),l}finally{Kt(a)}}function R6(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function dG(t,n,e){let i=t+nt,o=oe(),r=Fm(o,i);return Ub(o,i)?Bb(o,dr(),n,r.transform,e,r):r.transform(e)}function uG(t,n,e,i){let o=t+nt,r=oe(),s=Fm(r,o);return Ub(r,o)?Hb(r,dr(),n,s.transform,e,i,s):s.transform(e,i)}function Ub(t,n){return t[re].data[n].pure}function Qn(t,n){return vu(t,n)}var Su=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();var w1=new O(""),Ja=new O(""),Du=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,M1||(O6(o),o.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e()},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!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(e,i,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}static{this.\u0275fac=function(i){return new(i||t)(D(ie),D(Tu),D(Ja))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),Tu=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return M1?.findTestabilityInTree(this,e,i)??null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function O6(t){M1=t}var M1;function bo(t){return!!t&&typeof t.then=="function"}function I1(t){return!!t&&typeof t.subscribe=="function"}var Eu=new O(""),Qb=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=S(Eu,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(bo(r))e.push(r);else if(I1(r)){let s=new Promise((a,c)=>{r.subscribe({complete:a,error:c})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ec=new O("");function P6(){Mg(()=>{throw new $(600,!1)})}function F6(t){return t.isBoundToModule}var N6=10;function q6(t,n,e){try{let i=e();return bo(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var Vi=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=S(G3),this.afterRenderManager=S(_b),this.zonelessEnabled=S(d1),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new te,this.afterTick=new te,this.componentTypes=[],this.components=[],this.isStable=S(ki).hasPendingTasks.pipe(ne(e=>!e)),this._injector=S(At)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof Ed;if(!this._injector.get(Qb).done){let g=!o&&xv(e),f=!1;throw new $(405,f)}let s;o?s=e:s=this._injector.get(fs).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=F6(s)?void 0:this._injector.get(Fi),c=i||s.selector,l=s.create(Be.NULL,[],c,a),d=l.location.nativeElement,u=l.injector.get(w1,null);return u?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),hd(this.components,l),u?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new $(101,!1);let e=ke(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ke(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(mo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<N6;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)V6(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Yd(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;hd(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(ec,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>hd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new $(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function hd(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function V6(t,n,e,i){if(!e&&!Yd(t))return;Gk(t,n,e&&!i?0:1)}var fm=class{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Au=(()=>{class t{compileModuleSync(e){return new Yf(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),o=Cv(e),r=xk(o.declarations).reduce((s,a)=>{let c=fi(a);return c&&s.push(new ar(c)),s},[]);return new fm(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var j6=(()=>{class t{constructor(){this.zone=S(ie),this.changeDetectionScheduler=S(ps),this.applicationRef=S(Vi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function z6({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new ie(K(k({},B6()),{scheduleInRootZone:e})),[{provide:ie,useFactory:t},{provide:ls,multi:!0,useFactory:()=>{let i=S(j6,{optional:!0});return()=>i.initialize()}},{provide:ls,multi:!0,useFactory:()=>{let i=S(H6);return()=>{i.initialize()}}},n===!0?{provide:Yk,useValue:!0}:[],{provide:Jk,useValue:e??ak}]}function B6(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var H6=(()=>{class t{constructor(){this.subscription=new Oe,this.initialized=!1,this.zone=S(ie),this.pendingTasks=S(ki)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ie.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var U6=(()=>{class t{constructor(){this.appRef=S(Vi),this.taskService=S(ki),this.ngZone=S(ie),this.zonelessEnabled=S(d1),this.disableScheduling=S(Yk,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Oe,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Id):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(S(Jk,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Pf||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?wy:ck;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Id+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wy(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Q6(){return typeof $localize<"u"&&$localize.locale||Vd}var Lu=new O("",{providedIn:"root",factory:()=>S(Lu,be.Optional|be.SkipSelf)||Q6()});var mm=new O("");function sd(t){return!t.moduleRef}function $6(t){let n=sd(t)?t.r3Injector:t.moduleRef.injector,e=n.get(ie);return e.run(()=>{sd(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Hn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),sd(t)){let r=()=>n.destroy(),s=t.platformInjector.get(mm);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(mm);s.add(r),t.moduleRef.onDestroy(()=>{hd(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return q6(i,e,()=>{let r=n.get(Qb);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Lu,Vd);if(m6(s||Vd),sd(t)){let a=n.get(Vi);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return W6(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function W6(t,n){let e=t.injector.get(Vi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new $(-403,!1);n.push(t)}var pd=null;function G6(t=[],n){return Be.create({name:n,providers:[{provide:Wd,useValue:"platform"},{provide:mm,useValue:new Set([()=>pd=null])},...t]})}function Z6(t=[]){if(pd)return pd;let n=G6(t);return pd=n,P6(),K6(n),n}function K6(t){t.get(Zm,null)?.forEach(e=>e())}function Ru(){return!1}var xe=(()=>{class t{static{this.__NG_ELEMENT_ID__=X6}}return t})();function X6(t){return Y6(ht(),oe(),(t&16)===16)}function Y6(t,n,e){if(Kd(t)&&!e){let i=yo(t.index,n);return new rr(i,i)}else if(t.type&175){let i=n[Yt];return new rr(i,n)}return null}var gm=class{constructor(){}supports(n){return gb(n)}create(n){return new ym(n)}},J6=(t,n)=>n,ym=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||J6}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<ev(i,o,r)?e:i,a=ev(s,o,r),c=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let l=a-o,d=c-o;if(l!=d){for(let g=0;g<l;g++){let f=g<r.length?r[g]:r[g]=0,y=f+g;d<=y&&y<l&&(r[g]=f+1)}let u=s.previousIndex;r[u]=d-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!gb(n))throw new $(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,cT(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new vm(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new jd),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new jd),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},vm=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},km=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},jd=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new km,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ev(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var bm=class{constructor(){}supports(n){return n instanceof Map||g1(n)}create(){return new xm}},xm=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||g1(n)))throw new $(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new Cm(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},Cm=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function tv(){return new Ou([new gm])}var Ou=(()=>{class t{static{this.\u0275prov=E({token:t,providedIn:"root",factory:tv})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||tv()),deps:[[t,new Ud,new Ni]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new $(901,!1)}}return t})();function nv(){return new Pu([new bm])}var Pu=(()=>{class t{static{this.\u0275prov=E({token:t,providedIn:"root",factory:nv})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||nv()),deps:[[t,new Ud,new Ni]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new $(901,!1)}}return t})();var $b=(()=>{class t{constructor(e){}static{this.\u0275fac=function(i){return new(i||t)(D(Vi))}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({})}}return t})();function Wb(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=Z6(i),r=[z6({}),{provide:ps,useExisting:U6},...e||[]],s=new Pd({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return $6({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function L(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function fn(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function P(t,n){Un("NgSignals");let e=Rp(t);return n?.equal&&(e[dn].equal=n.equal),e}function Ee(t){let n=ke(null);try{return t()}finally{ke(n)}}var eE=new O("",{providedIn:"root",factory:()=>S(tE)}),tE=(()=>{class t{static{this.\u0275prov=E({token:t,providedIn:"root",factory:()=>new _m})}}return t})(),_m=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=S(ki),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(n){let e=n.creationZone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},wm=class{constructor(n,e,i,o,r,s){this.scheduler=n,this.effectFn=e,this.creationZone=i,this.injector=r,this.watcher=Dg(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Hn,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Rt(t,n){Un("NgSignals"),!n?.injector&&go(Rt);let e=n?.injector??S(Be),i=n?.manualCleanup!==!0?e.get(_n):null,o=new wm(e.get(eE),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),r=e.get(xe,null,{optional:!0});return!r||!(r._lView[ce]&8)?o.watcher.notify():(r._lView[cd]??=[]).push(o.watcher.notify),o}function hG(t,n){let e=fi(t),i=n.elementInjector||Gd();return new ar(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function Gb(t){let n=fi(t);if(!n)return null;let e=new ar(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var nx=null;function xi(){return nx}function ix(t){nx??=t}var Fu=class{};var Me=new O(""),O1=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>S(iE),providedIn:"platform"})}}return t})(),ox=new O(""),iE=(()=>{class t extends O1{constructor(){super(),this._doc=S(Me),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xi().getBaseHref(this._doc)}onPopState(e){let i=xi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=xi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>new t,providedIn:"platform"})}}return t})();function P1(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function Zb(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,i=e-(t[e-1]==="/"?1:0);return t.slice(0,i)+t.slice(e)}function ji(t){return t&&t[0]!=="?"?"?"+t:t}var Ci=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>S(F1),providedIn:"root"})}}return t})(),rx=new O(""),F1=(()=>{class t extends Ci{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??S(Me).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return P1(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+ji(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){let s=this.prepareExternalUrl(o+ji(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){let s=this.prepareExternalUrl(o+ji(r));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(D(O1),D(rx,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),N1=(()=>{class t extends Ci{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=P1(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let s=this.prepareExternalUrl(o+ji(r));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){let s=this.prepareExternalUrl(o+ji(r));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(D(O1),D(rx,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),xo=(()=>{class t{constructor(e){this._subject=new F,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=sE(Zb(Kb(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ji(i))}normalize(e){return t.stripTrailingSlash(rE(this._basePath,Kb(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ji(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ji(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}static{this.normalizeQueryParams=ji}static{this.joinWithSlash=P1}static{this.stripTrailingSlash=Zb}static{this.\u0275fac=function(i){return new(i||t)(D(Ci))}}static{this.\u0275prov=E({token:t,factory:()=>oE(),providedIn:"root"})}}return t})();function oE(){return new xo(D(Ci))}function rE(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Kb(t){return t.replace(/\/index.html$/,"")}function sE(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function qu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var S1=/\s+/,Xb=[],sx=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=Xb,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(S1):Xb}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(S1):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(S1).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(Ue))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})(),ax=(()=>{class t{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0||e.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let i=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=mb(this.ngComponentOutletNgModule,Yb(i)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Yb(i)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[i,o]of this._inputsUsed)o?(e.setInput(i,this.ngComponentOutletInputs[i]),this._inputsUsed.set(i,!1)):(e.setInput(i,void 0),this._inputsUsed.delete(i))}static{this.\u0275fac=function(i){return new(i||t)(h(Bt))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[X]})}}return t})();function Yb(t){return t.get(Fi).injector}var D1=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},aE=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new D1(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),Jb(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Jb(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(h(Bt),h(ue),h(Ou))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Jb(t,n){t.context.$implicit=n.item}var cE=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new T1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ex("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ex("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(h(Bt),h(ue))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),T1=class{constructor(){this.$implicit=null,this.ngIf=null}};function ex(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${jt(n)}'.`)}var on=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:xn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(Pu),h(Ue))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Ze=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(h(Bt))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[X]})}}return t})();function lE(t,n){return new $(2100,!1)}var E1=class{createSubscription(n,e){return Ee(()=>n.subscribe({next:e,error:i=>{throw i}}))}dispose(n){Ee(()=>n.unsubscribe())}},A1=class{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}},dE=new A1,uE=new E1,RG=(()=>{class t{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(bo(e))return dE;if(I1(e))return uE;throw lE(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(i){return new(i||t)(h(xe,16))}}static{this.\u0275pipe=ja({name:"async",type:t,pure:!1,standalone:!0})}}return t})();function hE(t,n){return{key:t,value:n}}var OG=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=tx}transform(e,i=tx){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let o=this.differ.diff(e),r=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(hE(s.key,s.currentValue))})),(o||r)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static{this.\u0275fac=function(i){return new(i||t)(h(Pu,16))}}static{this.\u0275pipe=ja({name:"keyvalue",type:t,pure:!1,standalone:!0})}}return t})();function tx(t,n){let e=t.key,i=n.key;if(e===i)return 0;if(e===void 0)return 1;if(i===void 0)return-1;if(e===null)return 1;if(i===null)return-1;if(typeof e=="string"&&typeof i=="string")return e<i?-1:1;if(typeof e=="number"&&typeof i=="number")return e-i;if(typeof e=="boolean"&&typeof i=="boolean")return e<i?-1:1;let o=String(e),r=String(i);return o==r?0:o<r?-1:1}var Ce=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({})}}return t})(),q1="browser",pE="server";function fr(t){return t===q1}function In(t){return t===pE}var cx=(()=>{class t{static{this.\u0275prov=E({token:t,providedIn:"root",factory:()=>fr(S(gt))?new L1(S(Me),window):new R1})}}return t})(),L1=class{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=fE(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}};function fE(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=i.currentNode;for(;o;){let r=o.shadowRoot;if(r){let s=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(s)return s}o=i.nextNode()}}return null}var R1=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Ms=class{};var nc=class{},ju=class{},zi=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
+ `).forEach(e=>{let i=e.indexOf(":");if(i>0){let o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var z1=class{encodeKey(n){return lx(n)}encodeValue(n){return lx(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function mE(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,a]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var gE=/%(\d[a-f0-9])/gi,yE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lx(t){return encodeURIComponent(t).replace(gE,(n,e)=>yE[e]??n)}function Vu(t){return`${t}`}var _o=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new z1,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=mE(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],o=Array.isArray(i)?i.map(Vu):[Vu(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Vu(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],o=i.indexOf(Vu(n.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var B1=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function vE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dx(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ux(t){return typeof Blob<"u"&&t instanceof Blob}function hx(t){return typeof FormData<"u"&&t instanceof FormData}function kE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var tc=class t{constructor(n,e,i,o){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let r;if(vE(this.method)||o?(this.body=i!==void 0?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new zi,this.context??=new B1,!this.params)this.params=new _o,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||dx(this.body)||ux(this.body)||hx(this.body)||kE(this.body)?this.body:this.body instanceof _o?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||hx(this.body)?null:ux(this.body)?this.body.type||null:dx(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof _o?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress,l=n.headers||this.headers,d=n.params||this.params,u=n.context??this.context;return n.setHeaders!==void 0&&(l=Object.keys(n.setHeaders).reduce((g,f)=>g.set(f,n.setHeaders[f]),l)),n.setParams&&(d=Object.keys(n.setParams).reduce((g,f)=>g.set(f,n.setParams[f]),d)),new t(e,i,s,{params:d,headers:l,context:u,reportProgress:c,responseType:o,withCredentials:a,transferCache:r})}},wo=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(wo||{}),ic=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new zi,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},zu=class t extends ic{constructor(n={}){super(n),this.type=wo.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},oc=class t extends ic{constructor(n={}){super(n),this.type=wo.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Co=class extends ic{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gx=200,bE=204;function j1(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var xE=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof tc)r=e;else{let c;o.headers instanceof zi?c=o.headers:c=new zi(o.headers);let l;o.params&&(o.params instanceof _o?l=o.params:l=new _o({fromObject:o.params})),r=new tc(e,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=G(r).pipe(qn(c=>this.handler.handle(c)));if(e instanceof tc||o.observe==="events")return s;let a=s.pipe(Pe(c=>c instanceof oc));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(ne(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(ne(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(ne(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(ne(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new _o().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,j1(o,i))}post(e,i,o={}){return this.request("POST",e,j1(o,i))}put(e,i,o={}){return this.request("PUT",e,j1(o,i))}static{this.\u0275fac=function(i){return new(i||t)(D(nc))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),CE=/^\)\]\}',?\n/,_E="X-Request-URL";function px(t){if(t.url)return t.url;let n=_E.toLocaleLowerCase();return t.headers.get(n)}var wE=(()=>{class t{constructor(){this.fetchImpl=S(H1,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=S(ie)}handle(e){return new le(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(U1,r=>i.error(new Co({error:r}))),()=>o.abort()})}doRequest(e,i,o){return lt(this,null,function*(){let r=this.createRequestInit(e),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,k({signal:i},r)));ME(f),o.next({type:wo.Sent}),s=yield f}catch(f){o.error(new Co({error:f,status:f.status??0,statusText:f.statusText,url:e.urlWithParams,headers:f.headers}));return}let a=new zi(s.headers),c=s.statusText,l=px(s)??e.urlWithParams,d=s.status,u=null;if(e.reportProgress&&o.next(new zu({headers:a,status:d,statusText:c,url:l})),s.body){let f=s.headers.get("content-length"),y=[],_=s.body.getReader(),A=0,R,Z,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>lt(this,null,function*(){for(;;){let{done:ge,value:Se}=yield _.read();if(ge)break;if(y.push(Se),A+=Se.length,e.reportProgress){Z=e.responseType==="text"?(Z??"")+(R??=new TextDecoder).decode(Se,{stream:!0}):void 0;let Xe=()=>o.next({type:wo.DownloadProgress,total:f?+f:void 0,loaded:A,partialText:Z});ee?ee.run(Xe):Xe()}}}));let _e=this.concatChunks(y,A);try{let ge=s.headers.get("Content-Type")??"";u=this.parseBody(e,_e,ge)}catch(ge){o.error(new Co({error:ge,headers:new zi(s.headers),status:s.status,statusText:s.statusText,url:px(s)??e.urlWithParams}));return}}d===0&&(d=u?gx:0),d>=200&&d<300?(o.next(new oc({body:u,headers:a,status:d,statusText:c,url:l})),o.complete()):o.error(new Co({error:u,headers:a,status:d,statusText:c,url:l}))})}parseBody(e,i,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(i).replace(CE,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>i[r]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(i["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),H1=class{};function U1(){}function ME(t){t.then(U1,U1)}function IE(t,n){return n(t)}function SE(t,n,e){return(i,o)=>zt(e,()=>n(i,r=>t(r,o)))}var yx=new O(""),DE=new O(""),TE=new O("",{providedIn:"root",factory:()=>!0});var fx=(()=>{class t extends nc{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=S(ki),this.contributeToStability=S(TE)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(yx),...this.injector.get(DE,[])]));this.chain=i.reduceRight((o,r)=>SE(o,r,this.injector),IE)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Go(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(D(ju),D(At))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})();var EE=/^\)\]\}',?\n/;function AE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var mx=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new $(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ve(i.\u0275loadImpl()):G(null)).pipe(st(()=>new le(r=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((_,A)=>s.setRequestHeader(_,A.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let _=e.detectContentTypeHeader();_!==null&&s.setRequestHeader("Content-Type",_)}if(e.responseType){let _=e.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",A=new zi(s.getAllResponseHeaders()),R=AE(s)||e.url;return c=new zu({headers:A,status:s.status,statusText:_,url:R}),c},d=()=>{let{headers:_,status:A,statusText:R,url:Z}=l(),ee=null;A!==bE&&(ee=typeof s.response>"u"?s.responseText:s.response),A===0&&(A=ee?gx:0);let _e=A>=200&&A<300;if(e.responseType==="json"&&typeof ee=="string"){let ge=ee;ee=ee.replace(EE,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Se){ee=ge,_e&&(_e=!1,ee={error:Se,text:ee})}}_e?(r.next(new oc({body:ee,headers:_,status:A,statusText:R,url:Z||void 0})),r.complete()):r.error(new Co({error:ee,headers:_,status:A,statusText:R,url:Z||void 0}))},u=_=>{let{url:A}=l(),R=new Co({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:A||void 0});r.error(R)},g=!1,f=_=>{g||(r.next(l()),g=!0);let A={type:wo.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(A.total=_.total),e.responseType==="text"&&s.responseText&&(A.partialText=s.responseText),r.next(A)},y=_=>{let A={type:wo.UploadProgress,loaded:_.loaded};_.lengthComputable&&(A.total=_.total),r.next(A)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",y)),s.send(a),r.next({type:wo.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(D(Ms))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),vx=new O(""),LE="XSRF-TOKEN",RE=new O("",{providedIn:"root",factory:()=>LE}),OE="X-XSRF-TOKEN",PE=new O("",{providedIn:"root",factory:()=>OE}),Bu=class{},FE=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=qu(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(D(Me),D(gt),D(RE))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})();function NE(t,n){let e=t.url.toLowerCase();if(!S(vx)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=S(Bu).getToken(),o=S(PE);return i!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}function WG(...t){let n=[xE,mx,fx,{provide:nc,useExisting:fx},{provide:ju,useFactory:()=>S(wE,{optional:!0})??S(mx)},{provide:yx,useValue:NE,multi:!0},{provide:vx,useValue:!0},{provide:Bu,useClass:FE}];for(let e of t)n.push(...e.\u0275providers);return za(n)}var W1=class extends Fu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},G1=class t extends W1{static makeCurrent(){ix(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=qE();return e==null?null:VE(e)}resetBaseElement(){rc=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return qu(document.cookie,n)}},rc=null;function qE(){return rc=rc||document.querySelector("base"),rc?rc.getAttribute("href"):null}function VE(t){return new URL(t,document.baseURI).pathname}var Z1=class{addToWindow(n){hi.getAngularTestability=(i,o=!0)=>{let r=n.findTestabilityInTree(i,o);if(r==null)throw new $(5103,!1);return r},hi.getAllAngularTestabilities=()=>n.getAllTestabilities(),hi.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let o=hi.getAllAngularTestabilities(),r=o.length,s=function(){r--,r==0&&i()};o.forEach(a=>{a.whenStable(s)})};hi.frameworkStabilizers||(hi.frameworkStabilizers=[]),hi.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,i){if(e==null)return null;let o=n.getTestability(e);return o??(i?xi().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},jE=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),K1=new O(""),Cx=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new $(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(D(K1),D(ie))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),Hu=class{constructor(n){this._doc=n}},Q1="ng-app-id",_x=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=In(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Q1}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(Q1),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Q1,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(D(Me),D(Ha),D(Ua,8),D(gt))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),$1={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Y1=/%COMP%/g,wx="%COMP%",zE=`_nghost-${wx}`,BE=`_ngcontent-${wx}`,HE=!0,UE=new O("",{providedIn:"root",factory:()=>HE});function QE(t){return BE.replace(Y1,t)}function $E(t){return zE.replace(Y1,t)}function Mx(t,n){return n.map(e=>e.replace(Y1,t))}var kx=(()=>{class t{constructor(e,i,o,r,s,a,c,l=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=In(a),this.defaultRenderer=new sc(e,s,c,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===pi.ShadowDom&&(i=K(k({},i),{encapsulation:pi.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof Uu?o.applyToHost(e):o instanceof ac&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case pi.Emulated:r=new Uu(c,l,i,this.appId,d,s,a,u);break;case pi.ShadowDom:return new X1(c,l,e,i,s,a,this.nonce,u);default:r=new ac(c,l,i,d,s,a,u);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(D(Cx),D(_x),D(Ha),D(UE),D(Me),D(gt),D(ie),D(Ua))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),sc=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS($1[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(bx(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(bx(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new $(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=$1[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=$1[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(xn.DashCase|xn.Important)?n.style.setProperty(e,i,o&xn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&xn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=xi().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function bx(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var X1=class extends sc{constructor(n,e,i,o,r,s,a,c){super(n,r,s,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Mx(o.id,o.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ac=class extends sc{constructor(n,e,i,o,r,s,a,c){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=c?Mx(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Uu=class extends ac{constructor(n,e,i,o,r,s,a,c){let l=o+"-"+i.id;super(n,e,i,r,s,a,c,l),this.contentAttr=QE(l),this.hostAttr=$E(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},WE=(()=>{class t extends Hu{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(D(Me))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})(),xx=["alt","control","meta","shift"],GE={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ZE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},KE=(()=>{class t extends Hu{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xi().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),xx.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),s+=l+".")}),s+=r,i.length!=0||r.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(e,i){let o=GE[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),xx.forEach(s=>{if(s!==o){let a=ZE[s];a(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(D(Me))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})();function mZ(t,n){return Wb(k({rootComponent:t},XE(n)))}function XE(t){return{appProviders:[...Ix,...t?.providers??[]],platformProviders:t8}}function YE(){G1.makeCurrent()}function JE(){return new Hn}function e8(){return gk(document),document}var t8=[{provide:gt,useValue:q1},{provide:Zm,useValue:YE,multi:!0},{provide:Me,useFactory:e8,deps:[]}];var n8=new O(""),i8=[{provide:Ja,useClass:Z1,deps:[]},{provide:w1,useClass:Du,deps:[ie,Tu,Ja]},{provide:Du,useClass:Du,deps:[ie,Tu,Ja]}],Ix=[{provide:Wd,useValue:"root"},{provide:Hn,useFactory:JE,deps:[]},{provide:K1,useClass:WE,multi:!0,deps:[Me,ie,gt]},{provide:K1,useClass:KE,multi:!0,deps:[Me]},kx,_x,Cx,{provide:mo,useExisting:kx},{provide:Ms,useClass:jE,deps:[]},[]],gZ=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ha,useValue:e.appId}]}}static{this.\u0275fac=function(i){return new(i||t)(D(n8,12))}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({providers:[...Ix,...i8],imports:[Ce,$b]})}}return t})();var Sx=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(i){return new(i||t)(D(Me))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ot(t){return t!=null&&`${t}`!="false"}function _i(t,n=0){return r8(t)?Number(t):arguments.length===2?n:0}function r8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function J1(t){return Array.isArray(t)?t:[t]}function kZ(t){return t==null?"":typeof t=="string"?t:`${t}px`}function $n(t){return t instanceof J?t.nativeElement:t}var t0;try{t0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{t0=!1}var yt=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?fr(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||t0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(D(gt))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var cc;function s8(){if(cc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cc=!0}))}finally{cc=cc||!1}return cc}function Is(t){return s8()?t:!!t.capture}var Wn=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Wn||{}),Qu,mr;function Dx(){if(mr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return mr=!1,mr;if("scrollBehavior"in document.documentElement.style)mr=!0;else{let t=Element.prototype.scrollTo;t?mr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):mr=!1}}return mr}function Ss(){if(typeof document!="object"||!document)return Wn.NORMAL;if(Qu==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Qu=Wn.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Qu=t.scrollLeft===0?Wn.NEGATED:Wn.INVERTED),t.remove()}return Qu}var e0;function a8(){if(e0==null){let t=typeof document<"u"?document.head:null;e0=!!(t&&(t.createShadowRoot||t.attachShadow))}return e0}function Tx(t){if(a8()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function c8(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Mo(t){return t.composedPath?t.composedPath()[0]:t.target}function Ex(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function $u(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function l8(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var Ax=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),d8=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=S(ie)}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=$n(e);return new le(o=>{let s=this._observeElement(i).pipe(ne(a=>a.filter(c=>!l8(c))),Pe(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new te,o=this._mutationObserverFactory.create(r=>i.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(i){return new(i||t)(D(Ax))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),u8=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=_i(e),this._subscribe()}constructor(e,i){this._contentObserver=e,this._elementRef=i,this.event=new F,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(kn(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(h(d8),h(J))}}static{this.\u0275dir=Y({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",L],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[he]})}}return t})(),Wu=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({providers:[Ax]})}}return t})();var Lx=new Set,gr,h8=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):f8}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&p8(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(D(yt),D(Ua,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function p8(t,n){if(!Lx.has(t))try{gr||(gr=document.createElement("style"),n&&gr.setAttribute("nonce",n),gr.setAttribute("type","text/css"),document.head.appendChild(gr)),gr.sheet&&(gr.sheet.insertRule(`@media ${t} {body{ }}`,0),Lx.add(t))}catch(e){console.error(e)}}function f8(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Ox=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new te}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Rx(J1(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Rx(J1(e)).map(s=>this._registerQuery(s).observable),r=Qo(o);return r=un(r.pipe(et(1)),r.pipe(Ia(1),kn(0))),r.pipe(ne(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),r={observable:new le(s=>{let a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Vn(i),ne(({matches:s})=>({query:e,matches:s})),Qe(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static{this.\u0275fac=function(i){return new(i||t)(D(h8),D(ie))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Rx(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var R8=200,i0=class{constructor(n,e){this._letterKeyStream=new te,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new te,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:R8;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(ot(e=>this._pressedLetters.push(e)),kn(n),Pe(()=>this._pressedLetters.length>0),ne(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let o=(this._selectedItemIndex+i)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}},o0=class{constructor(n,e){this._items=n,this._activeItemIndex=-1,this._activeItem=N(null),this._wrap=!1,this._typeaheadSubscription=Oe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this.tabOut=new te,this.change=new te,n instanceof po?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):ku(n)&&(this._effectRef=Rt(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new i0(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(o||$u(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),o=e[i];this._activeItem.set(o??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let o=(this._activeItemIndex+n*i+e.length)%e.length,r=e[o];if(!this._skipPredicateFn(r)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return ku(this._items)?this._items():this._items instanceof po?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Px=class extends o0{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var s0=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return P8(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=O8(H8(e));if(i&&(Fx(i)===-1||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=Fx(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!z8(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return B8(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||t)(D(yt))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function O8(t){try{return t.frameElement}catch{return null}}function P8(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function F8(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function N8(t){return V8(t)&&t.type=="hidden"}function q8(t){return j8(t)&&t.hasAttribute("href")}function V8(t){return t.nodeName.toLowerCase()=="input"}function j8(t){return t.nodeName.toLowerCase()=="a"}function Vx(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Fx(t){if(!Vx(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function z8(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function B8(t){return N8(t)?!1:F8(t)||q8(t)||t.hasAttribute("contenteditable")||Vx(t)}function H8(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var r0=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let o=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?en(n,{injector:this._injector}):setTimeout(n)}},jx=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._injector=S(Be),this._document=o}create(e,i=!1){return new r0(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||t)(D(s0),D(ie),D(Me))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function a0(t){return t.buttons===0||t.detail===0}function c0(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var U8=new O("cdk-input-modality-detector-options"),Q8={ignoreKeys:[18,17,224,91,16]},zx=650,Ds=Is({passive:!0,capture:!0}),$8=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Je(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Mo(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<zx||(this._modality.next(a0(s)?"keyboard":"mouse"),this._mostRecentTarget=Mo(s))},this._onTouchstart=s=>{if(c0(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Mo(s)},this._options=k(k({},Q8),r),this.modalityDetected=this._modality.pipe(Ia(1)),this.modalityChanged=this.modalityDetected.pipe(so()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ds),o.addEventListener("mousedown",this._onMousedown,Ds),o.addEventListener("touchstart",this._onTouchstart,Ds)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ds),document.removeEventListener("mousedown",this._onMousedown,Ds),document.removeEventListener("touchstart",this._onTouchstart,Ds))}static{this.\u0275fac=function(i){return new(i||t)(D(yt),D(ie),D(Me),D(U8,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Zu=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Zu||{}),W8=new O("cdk-focus-monitor-default-options"),Gu=Is({passive:!0,capture:!0}),Bx=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new te,this._rootNodeFocusAndBlurListener=a=>{let c=Mo(a);for(let l=c;l;l=l.parentElement)a.type==="focus"?this._onFocus(a,l):this._onBlur(a,l)},this._document=r,this._detectionMode=s?.detectionMode||Zu.IMMEDIATE}monitor(e,i=!1){let o=$n(e);if(!this._platform.isBrowser||o.nodeType!==1)return G();let r=Tx(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new te,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=$n(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let r=$n(e),s=this._getDocument().activeElement;r===s?this._getClosestElementsInfo(r).forEach(([a,c])=>this._originChanged(a,i,c)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Zu.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Zu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?zx:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),r=Mo(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gu)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Qe(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||t)(D(ie),D(yt),D($8),D(Me,8),D(W8,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yr=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(yr||{}),Nx="cdk-high-contrast-black-on-white",qx="cdk-high-contrast-white-on-black",n0="cdk-high-contrast-active",l0=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=S(Ox).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return yr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return yr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return yr.BLACK_ON_WHITE}return yr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(n0,Nx,qx),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===yr.BLACK_ON_WHITE?e.add(n0,Nx):i===yr.WHITE_ON_BLACK&&e.add(n0,qx)}}static{this.\u0275fac=function(i){return new(i||t)(D(yt),D(Me))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),cK=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||t)(D(l0))}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Wu]})}}return t})();var G8=new O("cdk-dir-doc",{providedIn:"root",factory:Z8});function Z8(){return S(Me)}var K8=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function X8(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?K8.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ts=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new F,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=X8(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(D(G8,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Es=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({})}}return t})();function Y8(){return!0}var J8=new O("mat-sanity-checks",{providedIn:"root",factory:Y8}),Gn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Ex()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(D(l0),D(J8,8),D(Me))}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Es,Es]})}}return t})();var Sn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Sn||{}),d0=class{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=Sn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Qx=Is({passive:!0,capture:!0}),u0=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Mo(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){let r=this._events.get(e);if(r){let s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Qx)})}removeHandler(n,e,i){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(i),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Qx)))}},$x={enterDuration:225,exitDuration:150},eA=800,Wx=Is({passive:!0,capture:!0}),Gx=["mousedown","touchstart"],Zx=["mouseup","mouseleave","touchend","touchcancel"],Ku=class t{static{this._eventManager=new u0}constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=$n(i))}fadeInRipple(n,e,i={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=k(k({},$x),i.animation);i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=i.radius||tA(n,e,o),a=n-o.left,c=e-o.top,l=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),g=u.transitionProperty,f=u.transitionDuration,y=g==="none"||f==="0s"||f==="0s, 0s"||o.width===0&&o.height===0,_=new d0(this,d,i,y);d.style.transform="scale3d(1, 1, 1)",_.state=Sn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_);let A=null;return!y&&(l||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>{A&&(A.fallbackTimer=null),clearTimeout(ee),this._finishRippleTransition(_)},Z=()=>this._destroyRipple(_),ee=setTimeout(Z,l+100);d.addEventListener("transitionend",R),d.addEventListener("transitioncancel",Z),A={onTransitionEnd:R,onTransitionCancel:Z,fallbackTimer:ee}}),this._activeRipples.set(_,A),(y||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===Sn.FADING_OUT||n.state===Sn.HIDDEN)return;let e=n.element,i=k(k({},$x),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Sn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=$n(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Gx.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Zx.forEach(e=>{this._triggerElement.addEventListener(e,this,Wx)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Sn.FADING_IN?this._startFadeOutTransition(n):n.state===Sn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Sn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Sn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=a0(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+eA;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!c0(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===Sn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Sn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Gx.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(Zx.forEach(e=>n.removeEventListener(e,this,Wx)),this._pointerUpEventsRegistered=!1))}};function tA(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}var Kx=new O("mat-ripple-global-options"),FK=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Ku(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:k(k(k({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,k(k({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,k(k({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(ie),h(yt),h(Kx,8),h(au,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&nn("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),Xx=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Gn,Gn]})}}return t})();var Yx=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Gn]})}}return t})();var Jx=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Gn,Gn]})}}return t})();var eC=class{};function UK(t){return t&&typeof t.connect=="function"&&!(t instanceof eo)}var Xu=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(Xu||{}),QK=new O("_ViewRepeater"),tC=class{applyChanges(n,e,i,o,r){n.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=i(s,a,c);l=e.createEmbeddedView(u.templateRef,u.context,u.index),d=Xu.INSERTED}else c==null?(e.remove(a),d=Xu.REMOVED):(l=e.get(a),e.move(l,c),d=Xu.MOVED);r&&r({context:l?.context,operation:d,record:s})})}detach(){}};var lC=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(h(Ue),h(J))}}static{this.\u0275dir=Y({type:t})}}return t})(),nA=(()=>{class t extends lC{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})()}static{this.\u0275dir=Y({type:t,features:[we]})}}return t})(),Do=new O("");var iA={provide:Do,useExisting:at(()=>ch),multi:!0};function oA(){let t=xi()?xi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var rA=new O(""),ch=(()=>{class t extends lC{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!oA())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(h(Ue),h(J),h(rA,8))}}static{this.\u0275dir=Y({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&U("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Ie([iA]),we]})}}return t})();function Io(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function dC(t){return t!=null&&typeof t.length=="number"}var lh=new O(""),dh=new O(""),sA=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Os=class{static min(n){return aA(n)}static max(n){return cA(n)}static required(n){return lA(n)}static requiredTrue(n){return dA(n)}static email(n){return uA(n)}static minLength(n){return hA(n)}static maxLength(n){return pA(n)}static pattern(n){return fA(n)}static nullValidator(n){return uC(n)}static compose(n){return yC(n)}static composeAsync(n){return kC(n)}};function aA(t){return n=>{if(Io(n.value)||Io(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function cA(t){return n=>{if(Io(n.value)||Io(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function lA(t){return Io(t.value)?{required:!0}:null}function dA(t){return t.value===!0?null:{required:!0}}function uA(t){return Io(t.value)||sA.test(t.value)?null:{email:!0}}function hA(t){return n=>Io(n.value)||!dC(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}function pA(t){return n=>dC(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function fA(t){if(!t)return uC;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(Io(i.value))return null;let o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function uC(t){return null}function hC(t){return t!=null}function pC(t){return bo(t)?Ve(t):t}function fC(t){let n={};return t.forEach(e=>{n=e!=null?k(k({},n),e):n}),Object.keys(n).length===0?null:n}function mC(t,n){return n.map(e=>e(t))}function mA(t){return!t.validate}function gC(t){return t.map(n=>mA(n)?n:e=>n.validate(e))}function yC(t){if(!t)return null;let n=t.filter(hC);return n.length==0?null:function(e){return fC(mC(e,n))}}function vC(t){return t!=null?yC(gC(t)):null}function kC(t){if(!t)return null;let n=t.filter(hC);return n.length==0?null:function(e){let i=mC(e,n).map(pC);return _a(i).pipe(ne(fC))}}function bC(t){return t!=null?kC(gC(t)):null}function nC(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function xC(t){return t._rawValidators}function CC(t){return t._rawAsyncValidators}function h0(t){return t?Array.isArray(t)?t:[t]:[]}function Ju(t,n){return Array.isArray(t)?t.includes(n):t===n}function iC(t,n){let e=h0(n);return h0(t).forEach(o=>{Ju(e,o)||e.push(o)}),e}function oC(t,n){return h0(n).filter(e=>!Ju(t,e))}var eh=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=vC(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=bC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},vr=class extends eh{get formDirective(){return null}get path(){return null}},Zn=class extends eh{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},th=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},gA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},cX=K(k({},gA),{"[class.ng-submitted]":"isSubmitted"}),y0=(()=>{class t extends th{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(h(Zn,2))}}static{this.\u0275dir=Y({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&nn("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[we]})}}return t})(),lX=(()=>{class t extends th{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(h(vr,10))}}static{this.\u0275dir=Y({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&nn("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[we]})}}return t})();var dc="VALID",Yu="INVALID",As="PENDING",uc="DISABLED",So=class{},nh=class extends So{constructor(n,e){super(),this.value=n,this.source=e}},hc=class extends So{constructor(n,e){super(),this.pristine=n,this.source=e}},pc=class extends So{constructor(n,e){super(),this.touched=n,this.source=e}},Ls=class extends So{constructor(n,e){super(),this.status=n,this.source=e}},p0=class extends So{constructor(n){super(),this.source=n}},f0=class extends So{constructor(n){super(),this.source=n}};function v0(t){return(uh(t)?t.validators:t)||null}function yA(t){return Array.isArray(t)?vC(t):t||null}function k0(t,n){return(uh(n)?n.asyncValidators:t)||null}function vA(t){return Array.isArray(t)?bC(t):t||null}function uh(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function _C(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new $(1e3,"");if(!i[e])throw new $(1001,"")}function wC(t,n,e){t._forEachChild((i,o)=>{if(e[o]===void 0)throw new $(1002,"")})}var Ps=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=P(()=>this.statusReactive()),this.statusReactive=N(void 0),this._pristine=P(()=>this.pristineReactive()),this.pristineReactive=N(!0),this._touched=P(()=>this.touchedReactive()),this.touchedReactive=N(!1),this._events=new te,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Ee(this.statusReactive)}set status(n){Ee(()=>this.statusReactive.set(n))}get valid(){return this.status===dc}get invalid(){return this.status===Yu}get pending(){return this.status==As}get disabled(){return this.status===uc}get enabled(){return this.status!==uc}get pristine(){return Ee(this.pristineReactive)}set pristine(n){Ee(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Ee(this.touchedReactive)}set touched(n){Ee(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(iC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(iC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(oC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(oC(n,this._rawAsyncValidators))}hasValidator(n){return Ju(this._rawValidators,n)}hasAsyncValidator(n){return Ju(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(K(k({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new pc(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new pc(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(K(k({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new hc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new hc(!0,i))}markAsPending(n={}){this.status=As;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ls(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(K(k({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=uc,this.errors=null,this._forEachChild(o=>{o.disable(K(k({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new nh(this.value,i)),this._events.next(new Ls(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(k({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=dc,this._forEachChild(i=>{i.enable(K(k({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(K(k({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===dc||this.status===As)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new nh(this.value,e)),this._events.next(new Ls(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(K(k({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?uc:dc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=As,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=pC(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Ls(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new F,this.statusChanges=new F}_calculateStatus(){return this._allControlsDisabled()?uc:this.errors?Yu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(As)?As:this._anyControlsHaveStatus(Yu)?Yu:dc}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new hc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new pc(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){uh(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=yA(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=vA(this._rawAsyncValidators)}},ih=class extends Ps{constructor(n,e,i){super(v0(e),k0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){wC(this,!0,n),Object.keys(n).forEach(i=>{_C(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var m0=class extends ih{};var fc=new O("CallSetDisabledState",{providedIn:"root",factory:()=>hh}),hh="always";function MC(t,n){return[...n.path,t]}function oh(t,n,e=hh){b0(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),bA(t,n),CA(t,n),xA(t,n),kA(t,n)}function rh(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),ah(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function sh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function kA(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function b0(t,n){let e=xC(t);n.validator!==null?t.setValidators(nC(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=CC(t);n.asyncValidator!==null?t.setAsyncValidators(nC(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();sh(n._rawValidators,o),sh(n._rawAsyncValidators,o)}function ah(t,n){let e=!1;if(t!==null){if(n.validator!==null){let o=xC(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(s=>s!==n.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(n.asyncValidator!==null){let o=CC(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}let i=()=>{};return sh(n._rawValidators,i),sh(n._rawAsyncValidators,i),e}function bA(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&IC(t,n)})}function xA(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&IC(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function IC(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function CA(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function _A(t,n){t==null,b0(t,n)}function wA(t,n){return ah(t,n)}function x0(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function MA(t){return Object.getPrototypeOf(t.constructor)===nA}function IA(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function C0(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===ch?e=r:MA(r)?i=r:o=r}),o||i||e||null}function SA(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function rC(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function sC(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Rs=class extends Ps{constructor(n=null,e,i){super(v0(e),k0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),uh(e)&&(e.nonNullable||e.initialValueIsDefault)&&(sC(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){rC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){rC(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){sC(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var DA=t=>t instanceof Rs;var TA={provide:Zn,useExisting:at(()=>ph)},aC=Promise.resolve(),ph=(()=>{class t extends Zn{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Rs,this._registered=!1,this.name="",this.update=new F,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=C0(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),x0(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){oh(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){aC.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&L(i);aC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?MC(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(h(vr,9),h(lh,10),h(dh,10),h(Do,10),h(xe,8),h(fc,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([TA]),we,X]})}}return t})(),uX=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=Y({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return t})();var _0=new O(""),EA={provide:Zn,useExisting:at(()=>SC)},SC=(()=>{class t extends Zn{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,o,r,s){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=s,this.update=new F,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=C0(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&rh(i,this,!1),oh(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}x0(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&rh(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(i){return new(i||t)(h(lh,10),h(dh,10),h(Do,10),h(_0,8),h(fc,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ie([EA]),we,X]})}}return t})(),AA={provide:vr,useExisting:at(()=>LA)},LA=(()=>{class t extends vr{get submitted(){return Ee(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,o){super(),this.callSetDisabledState=o,this._submitted=P(()=>this._submittedReactive()),this._submittedReactive=N(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new F,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ah(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return oh(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){rh(e.control||null,e,!1),SA(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),IA(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new p0(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new f0(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,o=this.form.get(e.path);i!==o&&(rh(i||null,e),DA(o)&&(oh(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);_A(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&wA(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){b0(this.form,this),this._oldForm&&ah(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(i){return new(i||t)(h(lh,10),h(dh,10),h(fc,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&U("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ie([AA]),we,X]})}}return t})();var RA={provide:Zn,useExisting:at(()=>OA)},OA=(()=>{class t extends Zn{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,o,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new F,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=C0(this,r)}ngOnChanges(e){this._added||this._setUpControl(),x0(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return MC(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(i){return new(i||t)(h(vr,13),h(lh,10),h(dh,10),h(Do,10),h(_0,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ie([RA]),we,X]})}}return t})();var DC=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({})}}return t})(),g0=class extends Ps{constructor(n,e,i){super(v0(e),k0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){wC(this,!1,n),n.forEach((i,o)=>{_C(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};function cC(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var TC=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let o=this._reduceControls(e),r={};return cC(i)?r=i:i!==null&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new ih(o,r)}record(e,i=null){let o=this._reduceControls(e);return new m0(o,i)}control(e,i,o){let r={};return this.useNonNullable?(cC(i)?r=i:(r.validators=i,r.asyncValidators=o),new Rs(e,K(k({},r),{nonNullable:!0}))):new Rs(e,i,o)}array(e,i,o){let r=e.map(s=>this._createControl(s));return new g0(r,i,o)}_reduceControls(e){let i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){if(e instanceof Rs)return e;if(e instanceof Ps)return e;if(Array.isArray(e)){let i=e[0],o=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(i,o,r)}else return this.control(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var To=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:fc,useValue:e.callSetDisabledState??hh}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[DC]})}}return t})(),mc=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:_0,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:fc,useValue:e.callSetDisabledState??hh}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[DC]})}}return t})();var vX=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Wu,Ce,Gn,Xx,Yx,Jx]})}}return t})();var PA=["contentWrapper"],FA=["*"],NA=new O("VIRTUAL_SCROLL_STRATEGY");var qA=20,yc=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new te,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=qA){return this._platform.isBrowser?new le(i=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(wa(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):G()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Pe(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=$n(i),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return io(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||t)(D(ie),D(yt),D(Me,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Fs=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new te,this._elementScrolled=new le(s=>this.ngZone.runOutsideAngular(()=>io(this.elementRef.nativeElement,"scroll").pipe(Qe(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&Ss()!=Wn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Ss()==Wn.INVERTED?e.left=e.right:Ss()==Wn.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Dx()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:i:e=="end"&&(e=s?i:o),s&&Ss()==Wn.INVERTED?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&Ss()==Wn.NEGATED?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(yc),h(ie),h(Ts,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return t})(),VA=20,w0=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new te,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){let r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),s=-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,a=-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(e=VA){return e>0?this._change.pipe(wa(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||t)(D(yt),D(ie),D(Me,8))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),AC=new O("VIRTUAL_SCROLLABLE"),jA=(()=>{class t extends Fs{constructor(e,i,o,r){super(e,i,o,r)}measureViewportSize(e){let i=this.elementRef.nativeElement;return e==="horizontal"?i.clientWidth:i.clientHeight}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(yc),h(ie),h(Ts,8))}}static{this.\u0275dir=Y({type:t,features:[we]})}}return t})();function zA(t,n){return t.start==n.start&&t.end==n.end}var BA=typeof requestAnimationFrame<"u"?Gp:$p,LC=(()=>{class t extends jA{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}constructor(e,i,o,r,s,a,c,l){super(e,a,o,s),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=r,this.scrollable=l,this._platform=S(yt),this._detachedSubject=new te,this._renderedRangeSubject=new te,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new le(d=>this._scrollStrategy.scrolledIndexChange.subscribe(u=>Promise.resolve().then(()=>this.ngZone.run(()=>d.next(u))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Oe.EMPTY,this._injector=S(Be),this._isDestroyed=!1,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Vn(null),wa(0,BA),Qe(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Qe(this._detachedSubject)).subscribe(i=>{let o=i.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){zA(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&i==="to-start"?0:e;let o=this.dir&&this.dir.value=="rtl",r=this.orientation=="horizontal",s=r?"X":"Y",c=`translate${s}(${Number((r&&o?-1:1)*e)}px)`;this._renderedContentOffset=e,i==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){let o={behavior:i};this.orientation==="horizontal"?o.start=e:o.top=e,this.scrollable.scrollTo(o)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return this.scrollable==this?i=o=>super.measureScrollOffset(o):i=o=>this.scrollable.measureScrollOffset(o),Math.max(0,i(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i,o="left",r="right",s=this.dir?.value=="rtl";e=="start"?i=s?r:o:e=="end"?i=s?o:r:e?i=e:i=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-a}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,en(()=>{this._isChangeDetectionPending=!1;let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of e)i()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":`${this._totalContentSize}px`,this._totalContentWidth=this.orientation==="horizontal"?`${this._totalContentSize}px`:""}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(xe),h(ie),h(NA,8),h(Ts,8),h(yc),h(w0),h(AC,8))}}static{this.\u0275cmp=Q({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,o){if(i&1&&Fe(PA,7),i&2){let r;ye(r=ve())&&(o._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,o){i&2&&nn("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",L]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Ie([{provide:Fs,useFactory:(e,i)=>e||i,deps:[[new Ni,new pv(AC)],t]}]),he,we,it],ngContentSelectors:FA,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(i,o){i&1&&(qe(),C(0,"div",1,0),Te(2),b(),q(3,"div",2)),i&2&&(m(3),We("width",o._totalContentWidth)("height",o._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}}return t})();var gc=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({})}}return t})(),NX=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Es,gc,Es,gc]})}}return t})();var kr=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(kr||{}),qX="*";function vc(t,n){return{type:kr.Trigger,name:t,definitions:n,options:{}}}function Dn(t,n=null){return{type:kr.Animate,styles:n,timings:t}}function VX(t,n=null){return{type:kr.Sequence,steps:t,options:n}}function vt(t){return{type:kr.Style,styles:t,offset:null}}function kt(t,n,e){return{type:kr.State,name:t,styles:n,options:e}}function Pt(t,n,e=null){return{type:kr.Transition,expr:t,animation:n,options:e}}var RC=class{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},OC=class{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},jX="!";var PC=["*"],QA=["content"],$A=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],WA=["mat-drawer","mat-drawer-content","*"];function GA(t,n){if(t&1){let e=fe();C(0,"div",1),U("click",function(){V(e);let o=p();return j(o._onBackdropClicked())}),b()}if(t&2){let e=p();nn("mat-drawer-shown",e._isShowingBackdrop())}}function ZA(t,n){t&1&&(C(0,"mat-drawer-content"),Te(1,2),b())}var KA={transformDrawer:vc("transform",[kt("open, open-instant",vt({transform:"none",visibility:"visible"})),kt("void",vt({"box-shadow":"none",visibility:"hidden"})),Pt("void => open-instant",Dn("0ms")),Pt("void <=> open, open-instant => void",Dn("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var XA=new O("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:YA}),FC=new O("MAT_DRAWER_CONTAINER");function YA(){return!1}var M0=(()=>{class t extends Fs{constructor(e,i,o,r,s){super(o,r,s),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(i){return new(i||t)(h(xe),h(at(()=>eL)),h(J),h(yc),h(ie))}}static{this.\u0275cmp=Q({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(i,o){i&2&&We("margin-left",o._container._contentMargins.left,"px")("margin-right",o._container._contentMargins.right,"px")},standalone:!0,features:[Ie([{provide:Fs,useExisting:t}]),we,it],ngContentSelectors:PC,decls:1,vars:0,template:function(i,o){i&1&&(qe(),Te(0))},encapsulation:2,changeDetection:0})}}return t})(),JA=(()=>{class t{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ot(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=Ot(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ot(e))}constructor(e,i,o,r,s,a,c,l){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=o,this._platform=r,this._ngZone=s,this._interactivityChecker=a,this._doc=c,this._container=l,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new te,this._animationEnd=new te,this._animationState="void",this.openedChange=new F(!0),this._openedStream=this.openedChange.pipe(Pe(d=>d),ne(()=>{})),this.openedStart=this._animationStarted.pipe(Pe(d=>d.fromState!==d.toState&&d.toState.indexOf("open")===0),ro(void 0)),this._closedStream=this.openedChange.pipe(Pe(d=>!d),ne(()=>{})),this.closedStart=this._animationStarted.pipe(Pe(d=>d.fromState!==d.toState&&d.toState==="void"),ro(void 0)),this._destroyed=new te,this.onPositionChanged=new F,this._modeChanged=new te,this._injector=S(Be),this._changeDetectorRef=S(xe),this.openedChange.pipe(Qe(this._destroyed)).subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{io(this._elementRef.nativeElement,"keydown").pipe(Pe(d=>d.keyCode===27&&!this.disableClose&&!$u(d)),Qe(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.subscribe(d=>{let{fromState:u,toState:g}=d;(g.indexOf("open")===0&&u==="void"||g==="void"&&u.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":en(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);let o=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),o}_setOpen(e,i,o){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(o)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(r=>{this.openedChange.pipe(et(1)).subscribe(s=>r(s?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let i=this._elementRef.nativeElement,o=i.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),o.insertBefore(this._anchor,i)),o.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}static{this.\u0275fac=function(i){return new(i||t)(h(J),h(jx),h(Bx),h(yt),h(ie),h(s0),h(Me,8),h(FC,8))}}static{this.\u0275cmp=Q({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,o){if(i&1&&Fe(QA,5),i&2){let r;ye(r=ve())&&(o._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(i,o){i&1&&ws("@transform.start",function(s){return o._animationStarted.next(s)})("@transform.done",function(s){return o._animationEnd.next(s)}),i&2&&(_s("@transform",o._animationState),W("align",null),nn("mat-drawer-end",o.position==="end")("mat-drawer-over",o.mode==="over")("mat-drawer-push",o.mode==="push")("mat-drawer-side",o.mode==="side")("mat-drawer-opened",o.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[it],ngContentSelectors:PC,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,o){i&1&&(qe(),C(0,"div",1,0),Te(2),b())},dependencies:[Fs],encapsulation:2,data:{animation:[KA.transformDrawer]},changeDetection:0})}}return t})(),eL=(()=>{class t{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ot(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:Ot(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,o,r,s,a=!1,c){this._dir=e,this._element=i,this._ngZone=o,this._changeDetectorRef=r,this._animationMode=c,this._drawers=new po,this.backdropClick=new F,this._destroyed=new te,this._doCheckSubject=new te,this._contentMargins={left:null,right:null},this._contentMarginChanges=new te,this._injector=S(Be),e&&e.change.pipe(Qe(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Qe(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}ngAfterContentInit(){this._allDrawers.changes.pipe(Vn(this._allDrawers),Qe(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Vn(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(kn(10),Qe(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let o=this._left._getWidth();e+=o,i-=o}}if(this._right&&this._right.opened){if(this._right.mode=="side")i+=this._right._getWidth();else if(this._right.mode=="push"){let o=this._right._getWidth();i+=o,e-=o}}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Pe(i=>i.fromState!==i.toState),Qe(this._drawers.changes)).subscribe(i=>{i.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(Qe(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(Qe(this._drawers.changes)).subscribe(()=>{en(()=>{this._validateDrawers()},{injector:this._injector,phase:ui.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(Qe(Kp(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let i=this._element.nativeElement.classList,o="mat-drawer-container-has-open";e?i.add(o):i.remove(o)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(i){return new(i||t)(h(Ts,8),h(J),h(ie),h(xe),h(w0),h(XA),h(au,8))}}static{this.\u0275cmp=Q({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,o,r){if(i&1&&(pn(r,M0,5),pn(r,JA,5)),i&2){let s;ye(s=ve())&&(o._content=s.first),ye(s=ve())&&(o._allDrawers=s)}},viewQuery:function(i,o){if(i&1&&Fe(M0,5),i&2){let r;ye(r=ve())&&(o._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,o){i&2&&nn("mat-drawer-container-explicit-backdrop",o._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[Ie([{provide:FC,useExisting:t}]),it],ngContentSelectors:WA,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,o){i&1&&(qe($A),M(0,GA,1,2,"div",0),Te(1),Te(2,1),M(3,ZA,2,0,"mat-drawer-content")),i&2&&(w(o.hasBackdrop?0:-1),m(3),w(o._content?-1:3))},dependencies:[M0],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return t})();var cY=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({imports:[Gn,gc,gc,Gn]})}}return t})();var me="primary",Oc=Symbol("RouteTitle"),E0=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Bs(t){return new E0(t)}function tL(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let o={};for(let r=0;r<i.length;r++){let s=i[r],a=t[r];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:o}}function nL(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!wi(t[e],n[e]))return!1;return!0}function wi(t,n){let e=t?A0(t):void 0,i=n?A0(n):void 0;if(!e||!i||e.length!=i.length)return!1;let o;for(let r=0;r<e.length;r++)if(o=e[r],!WC(t[o],n[o]))return!1;return!0}function A0(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function WC(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((o,r)=>i[r]===o)}else return t===n}function GC(t){return t.length>0?t[t.length-1]:null}function Lo(t){return Zt(t)?t:bo(t)?Ve(Promise.resolve(t)):G(t)}var iL={exact:KC,subset:XC},ZC={exact:oL,subset:rL,ignored:()=>!0};function NC(t,n,e){return iL[e.paths](t.root,n.root,e.matrixParams)&&ZC[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function oL(t,n){return wi(t,n)}function KC(t,n,e){if(!xr(t.segments,n.segments)||!gh(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!KC(t.children[i],n.children[i],e))return!1;return!0}function rL(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>WC(t[e],n[e]))}function XC(t,n,e){return YC(t,n,n.segments,e)}function YC(t,n,e,i){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!xr(o,e)||n.hasChildren()||!gh(o,e,i))}else if(t.segments.length===e.length){if(!xr(t.segments,e)||!gh(t.segments,e,i))return!1;for(let o in n.children)if(!t.children[o]||!XC(t.children[o],n.children[o],i))return!1;return!0}else{let o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!xr(t.segments,o)||!gh(t.segments,o,i)||!t.children[me]?!1:YC(t.children[me],n,r,i)}}function gh(t,n,e){return n.every((i,o)=>ZC[e](t[o].parameters,i.parameters))}var Hi=class{constructor(n=new Ne([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Bs(this.queryParams),this._queryParamMap}toString(){return cL.serialize(this)}},Ne=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yh(this)}},br=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Bs(this.parameters),this._parameterMap}toString(){return e_(this)}};function sL(t,n){return xr(t,n)&&t.every((e,i)=>wi(e.parameters,n[i].parameters))}function xr(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function aL(t,n){let e=[];return Object.entries(t.children).forEach(([i,o])=>{i===me&&(e=e.concat(n(o,i)))}),Object.entries(t.children).forEach(([i,o])=>{i!==me&&(e=e.concat(n(o,i)))}),e}var Pc=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>new Hs,providedIn:"root"})}}return t})(),Hs=class{parse(n){let e=new R0(n);return new Hi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${kc(n.root,!0)}`,i=uL(n.queryParams),o=typeof n.fragment=="string"?`#${lL(n.fragment)}`:"";return`${e}${i}${o}`}},cL=new Hs;function yh(t){return t.segments.map(n=>e_(n)).join("/")}function kc(t,n){if(!t.hasChildren())return yh(t);if(n){let e=t.children[me]?kc(t.children[me],!1):"",i=[];return Object.entries(t.children).forEach(([o,r])=>{o!==me&&i.push(`${o}:${kc(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=aL(t,(i,o)=>o===me?[kc(t.children[me],!1)]:[`${o}:${kc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[me]!=null?`${yh(t)}/${e[0]}`:`${yh(t)}/(${e.join("//")})`}}function JC(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fh(t){return JC(t).replace(/%3B/gi,";")}function lL(t){return encodeURI(t)}function L0(t){return JC(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vh(t){return decodeURIComponent(t)}function qC(t){return vh(t.replace(/\+/g,"%20"))}function e_(t){return`${L0(t.path)}${dL(t.parameters)}`}function dL(t){return Object.entries(t).map(([n,e])=>`;${L0(n)}=${L0(e)}`).join("")}function uL(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(o=>`${fh(e)}=${fh(o)}`).join("&"):`${fh(e)}=${fh(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var hL=/^[^\/()?;#]+/;function I0(t){let n=t.match(hL);return n?n[0]:""}var pL=/^[^\/()?;=#]+/;function fL(t){let n=t.match(pL);return n?n[0]:""}var mL=/^[^=?&#]+/;function gL(t){let n=t.match(mL);return n?n[0]:""}var yL=/^[^&#]+/;function vL(t){let n=t.match(yL);return n?n[0]:""}var R0=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[me]=new Ne(n,e)),i}parseSegment(){let n=I0(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new $(4009,!1);return this.capture(n),new br(vh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=fL(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let o=I0(this.remaining);o&&(i=o,this.capture(i))}n[vh(e)]=vh(i)}parseQueryParam(n){let e=gL(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=vL(this.remaining);s&&(i=s,this.capture(i))}let o=qC(e),r=qC(i);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(r)}else n[o]=r}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=I0(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new $(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=me);let s=this.parseChildren();e[r]=Object.keys(s).length===1?s[me]:new Ne([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new $(4011,!1)}};function t_(t){return t.segments.length>0?new Ne([],{[me]:t}):t}function n_(t){let n={};for(let[i,o]of Object.entries(t.children)){let r=n_(o);if(i===me&&r.segments.length===0&&r.hasChildren())for(let[s,a]of Object.entries(r.children))n[s]=a;else(r.segments.length>0||r.hasChildren())&&(n[i]=r)}let e=new Ne(t.segments,n);return kL(e)}function kL(t){if(t.numberOfChildren===1&&t.children[me]){let n=t.children[me];return new Ne(t.segments.concat(n.segments),n.children)}return t}function Cr(t){return t instanceof Hi}function bL(t,n,e=null,i=null){let o=i_(t);return o_(o,n,e,i)}function i_(t){let n;function e(r){let s={};for(let c of r.children){let l=e(c);s[c.outlet]=l}let a=new Ne(r.url,s);return r===t&&(n=a),a}let i=e(t.root),o=t_(i);return n??o}function o_(t,n,e,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return S0(o,o,o,e,i);let r=xL(n);if(r.toRoot())return S0(o,o,new Ne([],{}),e,i);let s=CL(r,o,t),a=s.processChildren?Cc(s.segmentGroup,s.index,r.commands):s_(s.segmentGroup,s.index,r.commands);return S0(o,s.segmentGroup,a,e,i)}function kh(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Mc(t){return typeof t=="object"&&t!=null&&t.outlets}function S0(t,n,e,i,o){let r={};i&&Object.entries(i).forEach(([c,l])=>{r[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;t===n?s=e:s=r_(t,n,e);let a=t_(n_(s));return new Hi(a,r,o)}function r_(t,n,e){let i={};return Object.entries(t.children).forEach(([o,r])=>{r===n?i[o]=e:i[o]=r_(r,n,e)}),new Ne(t.segments,i)}var bh=class{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&kh(i[0]))throw new $(4003,!1);let o=i.find(Mc);if(o&&o!==GC(i))throw new $(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function xL(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new bh(!0,0,t);let n=0,e=!1,i=t.reduce((o,r,s)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let a={};return Object.entries(r.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:s===0?(r.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,r]},[]);return new bh(e,n,i)}var Vs=class{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function CL(t,n,e){if(t.isAbsolute)return new Vs(n,!0,0);if(!e)return new Vs(n,!1,NaN);if(e.parent===null)return new Vs(e,!0,0);let i=kh(t.commands[0])?0:1,o=e.segments.length-1+i;return _L(e,o,t.numberOfDoubleDots)}function _L(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new $(4005,!1);o=i.segments.length}return new Vs(i,!1,o-r)}function wL(t){return Mc(t[0])?t[0].outlets:{[me]:t}}function s_(t,n,e){if(t??=new Ne([],{}),t.segments.length===0&&t.hasChildren())return Cc(t,n,e);let i=ML(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let r=new Ne(t.segments.slice(0,i.pathIndex),{});return r.children[me]=new Ne(t.segments.slice(i.pathIndex),t.children),Cc(r,0,o)}else return i.match&&o.length===0?new Ne(t.segments,{}):i.match&&!t.hasChildren()?O0(t,n,e):i.match?Cc(t,0,o):O0(t,n,e)}function Cc(t,n,e){if(e.length===0)return new Ne(t.segments,{});{let i=wL(e),o={};if(Object.keys(i).some(r=>r!==me)&&t.children[me]&&t.numberOfChildren===1&&t.children[me].segments.length===0){let r=Cc(t.children[me],n,e);return new Ne(t.segments,r.children)}return Object.entries(i).forEach(([r,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[r]=s_(t.children[r],n,s))}),Object.entries(t.children).forEach(([r,s])=>{i[r]===void 0&&(o[r]=s)}),new Ne(t.segments,o)}}function ML(t,n,e){let i=0,o=n,r={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(i>=e.length)return r;let s=t.segments[o],a=e[i];if(Mc(a))break;let c=`${a}`,l=i<e.length-1?e[i+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!jC(c,l,s))return r;i+=2}else{if(!jC(c,{},s))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}function O0(t,n,e){let i=t.segments.slice(0,n),o=0;for(;o<e.length;){let r=e[o];if(Mc(r)){let c=IL(r.outlets);return new Ne(i,c)}if(o===0&&kh(e[0])){let c=t.segments[n];i.push(new br(c.path,VC(e[0]))),o++;continue}let s=Mc(r)?r.outlets[me]:`${r}`,a=o<e.length-1?e[o+1]:null;s&&a&&kh(a)?(i.push(new br(s,VC(a))),o+=2):(i.push(new br(s,{})),o++)}return new Ne(i,{})}function IL(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=O0(new Ne([],{}),0,i))}),n}function VC(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function jC(t,n,e){return t==e.path&&wi(n,e.parameters)}var _c="imperative",bt=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(bt||{}),Tn=class{constructor(n,e){this.id=n,this.url=e}},Us=class extends Tn{constructor(n,e,i="imperative",o=null){super(n,e),this.type=bt.NavigationStart,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},yn=class extends Tn{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=bt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},gn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(gn||{}),xh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(xh||{}),Bi=class extends Tn{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=bt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Eo=class extends Tn{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=bt.NavigationSkipped}},Ic=class extends Tn{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=bt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ch=class extends Tn{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=bt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},P0=class extends Tn{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=bt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},F0=class extends Tn{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=r,this.type=bt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},N0=class extends Tn{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=bt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},q0=class extends Tn{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=bt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},V0=class{constructor(n){this.route=n,this.type=bt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},j0=class{constructor(n){this.route=n,this.type=bt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},z0=class{constructor(n){this.snapshot=n,this.type=bt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},B0=class{constructor(n){this.snapshot=n,this.type=bt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},H0=class{constructor(n){this.snapshot=n,this.type=bt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},U0=class{constructor(n){this.snapshot=n,this.type=bt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_h=class{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=bt.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Sc=class{},Qs=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function SL(t,n){return t.providers&&!t._injector&&(t._injector=Ga(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Kn(t){return t.outlet||me}function DL(t,n){let e=t.filter(i=>Kn(i)===n);return e.push(...t.filter(i=>Kn(i)!==n)),e}function Fc(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Q0=class{get injector(){return Fc(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new Nc(this.rootInjector),this.attachRef=null}},Nc=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Q0(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||t)(D(At))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wh=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=$0(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=$0(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=W0(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return W0(n,this._root).map(e=>e.value)}};function $0(t,n){if(t===n.value)return n;for(let e of n.children){let i=$0(t,e);if(i)return i}return null}function W0(t,n){if(t===n.value)return[n];for(let e of n.children){let i=W0(t,e);if(i.length)return i.unshift(n),i}return[]}var mn=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function qs(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Mh=class extends wh{constructor(n,e){super(n),this.snapshot=e,n2(this,n)}toString(){return this.snapshot.toString()}};function a_(t){let n=TL(t),e=new Je([new br("",{})]),i=new Je({}),o=new Je({}),r=new Je({}),s=new Je(""),a=new Ao(e,i,r,s,o,me,t,n.root);return a.snapshot=n.root,new Mh(new mn(a,[]),n)}function TL(t){let n={},e={},i={},o="",r=new js([],n,i,o,e,me,t,null,{});return new Sh("",new mn(r,[]))}var Ao=class{constructor(n,e,i,o,r,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=r,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(ne(l=>l[Oc]))??G(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ne(n=>Bs(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ne(n=>Bs(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ih(t,n,e="emptyOnly"){let i,{routeConfig:o}=t;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:k(k({},n.params),t.params),data:k(k({},n.data),t.data),resolve:k(k(k(k({},t.data),n.data),o?.data),t._resolvedData)}:i={params:k({},t.params),data:k({},t.data),resolve:k(k({},t.data),t._resolvedData??{})},o&&l_(o)&&(i.resolve[Oc]=o.title),i}var js=class{get title(){return this.data?.[Oc]}constructor(n,e,i,o,r,s,a,c,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Bs(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Bs(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Sh=class extends wh{constructor(n,e){super(e),this.url=n,n2(this,e)}toString(){return c_(this._root)}};function n2(t,n){n.value._routerState=t,n.children.forEach(e=>n2(t,e))}function c_(t){let n=t.children.length>0?` { ${t.children.map(c_).join(", ")} } `:"";return`${t.value}${n}`}function D0(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,wi(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),wi(n.params,e.params)||t.paramsSubject.next(e.params),nL(n.url,e.url)||t.urlSubject.next(e.url),wi(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function G0(t,n){let e=wi(t.params,n.params)&&sL(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||G0(t.parent,n.parent))}function l_(t){return typeof t.title=="string"||t.title===null}var EL=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=me,this.activateEvents=new F,this.deactivateEvents=new F,this.attachEvents=new F,this.detachEvents=new F,this.parentContexts=S(Nc),this.location=S(Bt),this.changeDetector=S(xe),this.inputBinder=S(Ah,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new $(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new $(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new $(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new $(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Z0(e,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=Y({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[X]})}}return t})(),Z0=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Ao?this.route:n===Nc?this.childContexts:this.parent.get(n,e)}},Ah=new O(""),zC=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,o=Qo([i.queryParams,i.params,i.data]).pipe(st(([r,s,a],c)=>(a=k(k(k({},r),s),a),c===0?G(a):Promise.resolve(a)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=Gb(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,r[a])});this.outletDataSubscriptions.set(e,o)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})();function AL(t,n,e){let i=Dc(t,n._root,e?e._root:void 0);return new Mh(i,n)}function Dc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let o=LL(t,n,e);return new mn(i,o)}else{if(t.shouldAttach(n.value)){let r=t.retrieve(n.value);if(r!==null){let s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Dc(t,a)),s}}let i=RL(n.value),o=n.children.map(r=>Dc(t,r));return new mn(i,o)}}function LL(t,n,e){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Dc(t,i,o);return Dc(t,i)})}function RL(t){return new Ao(new Je(t.url),new Je(t.params),new Je(t.queryParams),new Je(t.fragment),new Je(t.data),t.outlet,t.component,t)}var Tc=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},d_="ngNavigationCancelingError";function Dh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Cr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=u_(!1,gn.Redirect);return o.url=e,o.navigationBehaviorOptions=i,o}function u_(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[d_]=!0,e.cancellationCode=n,e}function OL(t){return h_(t)&&Cr(t.url)}function h_(t){return!!t&&t[d_]}var PL=(t,n,e,i)=>ne(o=>(new K0(n,o.targetRouterState,o.currentRouterState,e,i).activate(t),o)),K0=class{constructor(n,e,i,o,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=r}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),D0(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let o=qs(e);n.children.forEach(r=>{let s=r.value.outlet;this.deactivateRoutes(r,o[s],i),delete o[s]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){let o=n.value,r=e?e.value:null;if(o===r)if(o.component){let s=i.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=qs(n);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,o);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=qs(n);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let o=qs(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new U0(r.value.snapshot))}),n.children.length&&this.forwardEvent(new B0(n.value.snapshot))}activateRoutes(n,e,i){let o=n.value,r=e?e.value:null;if(D0(o),o===r)if(o.component){let s=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(o.component){let s=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),D0(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Th=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},zs=class{constructor(n,e){this.component=n,this.route=e}};function FL(t,n,e){let i=t._root,o=n?n._root:null;return bc(i,o,e,[i.value])}function NL(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ws(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!av(t)?t:n.get(t):i}function bc(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=qs(n);return t.children.forEach(s=>{qL(s,r[s.value.outlet],e,i.concat([s.value]),o),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,a])=>wc(a,e.getContext(s),o)),o}function qL(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){let c=VL(s,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Th(i)):(r.data=s.data,r._resolvedData=s._resolvedData),r.component?bc(t,n,a?a.children:null,i,o):bc(t,n,e,i,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new zs(a.outlet.component,s))}else s&&wc(n,a,o),o.canActivateChecks.push(new Th(i)),r.component?bc(t,null,a?a.children:null,i,o):bc(t,null,e,i,o);return o}function VL(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!xr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!xr(t.url,n.url)||!wi(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!G0(t,n)||!wi(t.queryParams,n.queryParams);case"paramsChange":default:return!G0(t,n)}}function wc(t,n,e){let i=qs(t),o=t.value;Object.entries(i).forEach(([r,s])=>{o.component?n?wc(s,n.children.getContext(r),e):wc(s,null,e):wc(s,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new zs(n.outlet.component,o)):e.canDeactivateChecks.push(new zs(null,o)):e.canDeactivateChecks.push(new zs(null,o))}function qc(t){return typeof t=="function"}function jL(t){return typeof t=="boolean"}function zL(t){return t&&qc(t.canLoad)}function BL(t){return t&&qc(t.canActivate)}function HL(t){return t&&qc(t.canActivateChild)}function UL(t){return t&&qc(t.canDeactivate)}function QL(t){return t&&qc(t.canMatch)}function p_(t){return t instanceof Nn||t?.name==="EmptyError"}var mh=Symbol("INITIAL_VALUE");function $s(){return st(t=>Qo(t.map(n=>n.pipe(et(1),Vn(mh)))).pipe(ne(n=>{for(let e of n)if(e!==!0){if(e===mh)return mh;if(e===!1||$L(e))return e}return!0}),Pe(n=>n!==mh),et(1)))}function $L(t){return Cr(t)||t instanceof Tc}function WL(t,n){return Ye(e=>{let{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return s.length===0&&r.length===0?G(K(k({},e),{guardsResult:!0})):GL(s,i,o,t).pipe(Ye(a=>a&&jL(a)?ZL(i,r,t,n):G(a)),ne(a=>K(k({},e),{guardsResult:a})))})}function GL(t,n,e,i){return Ve(t).pipe(Ye(o=>e7(o.component,o.route,e,n,i)),ci(o=>o!==!0,!0))}function ZL(t,n,e,i){return Ve(n).pipe(qn(o=>un(XL(o.route.parent,i),KL(o.route,i),JL(t,o.path,e),YL(t,o.route,e))),ci(o=>o!==!0,!0))}function KL(t,n){return t!==null&&n&&n(new H0(t)),G(!0)}function XL(t,n){return t!==null&&n&&n(new z0(t)),G(!0)}function YL(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return G(!0);let o=i.map(r=>$o(()=>{let s=Fc(n)??e,a=Ws(r,s),c=BL(a)?a.canActivate(n,t):zt(s,()=>a(n,t));return Lo(c).pipe(ci())}));return G(o).pipe($s())}function JL(t,n,e){let i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>NL(s)).filter(s=>s!==null).map(s=>$o(()=>{let a=s.guards.map(c=>{let l=Fc(s.node)??e,d=Ws(c,l),u=HL(d)?d.canActivateChild(i,t):zt(l,()=>d(i,t));return Lo(u).pipe(ci())});return G(a).pipe($s())}));return G(r).pipe($s())}function e7(t,n,e,i,o){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return G(!0);let s=r.map(a=>{let c=Fc(n)??o,l=Ws(a,c),d=UL(l)?l.canDeactivate(t,n,e,i):zt(c,()=>l(t,n,e,i));return Lo(d).pipe(ci())});return G(s).pipe($s())}function t7(t,n,e,i){let o=n.canLoad;if(o===void 0||o.length===0)return G(!0);let r=o.map(s=>{let a=Ws(s,t),c=zL(a)?a.canLoad(n,e):zt(t,()=>a(n,e));return Lo(c)});return G(r).pipe($s(),f_(i))}function f_(t){return jp(ot(n=>{if(typeof n!="boolean")throw Dh(t,n)}),ne(n=>n===!0))}function n7(t,n,e,i){let o=n.canMatch;if(!o||o.length===0)return G(!0);let r=o.map(s=>{let a=Ws(s,t),c=QL(a)?a.canMatch(n,e):zt(t,()=>a(n,e));return Lo(c)});return G(r).pipe($s(),f_(i))}var Ec=class{constructor(n){this.segmentGroup=n||null}},Ac=class extends Error{constructor(n){super(),this.urlTree=n}};function Ns(t){return Yr(new Ec(t))}function i7(t){return Yr(new $(4e3,!1))}function o7(t){return Yr(u_(!1,gn.GuardRejected))}var X0=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),o.numberOfChildren===0)return G(i);if(o.numberOfChildren>1||!o.children[me])return i7(`${n.redirectTo}`);o=o.children[me]}}applyRedirectCommands(n,e,i,o,r){if(typeof e!="string"){let a=e,{queryParams:c,fragment:l,routeConfig:d,url:u,outlet:g,params:f,data:y,title:_}=o,A=zt(r,()=>a({params:f,data:y,queryParams:c,fragment:l,routeConfig:d,url:u,outlet:g,title:_}));if(A instanceof Hi)throw new Ac(A);e=A}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new Ac(s);return s}applyRedirectCreateUrlTree(n,e,i,o){let r=this.createSegmentGroup(n,e.root,i,o);return new Hi(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(n,e,i,o){let r=this.createSegments(n,e.segments,i,o),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,i,o)}),new Ne(r,s)}createSegments(n,e,i,o){return e.map(r=>r.path[0]===":"?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){let o=i[e.path.substring(1)];if(!o)throw new $(4001,!1);return o}findOrReturn(n,e){let i=0;for(let o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}},Y0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function r7(t,n,e,i,o){let r=m_(t,n,e);return r.matched?(i=SL(n,i),n7(i,n,e,o).pipe(ne(s=>s===!0?r:k({},Y0)))):G(r)}function m_(t,n,e){if(n.path==="**")return s7(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?k({},Y0):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||tL)(e,t,n);if(!o)return k({},Y0);let r={};Object.entries(o.posParams??{}).forEach(([a,c])=>{r[a]=c.path});let s=o.consumed.length>0?k(k({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function s7(t){return{matched:!0,parameters:t.length>0?GC(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function BC(t,n,e,i){return e.length>0&&l7(t,e,i)?{segmentGroup:new Ne(n,c7(i,new Ne(e,t.children))),slicedSegments:[]}:e.length===0&&d7(t,e,i)?{segmentGroup:new Ne(t.segments,a7(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Ne(t.segments,t.children),slicedSegments:e}}function a7(t,n,e,i){let o={};for(let r of e)if(Lh(t,n,r)&&!i[Kn(r)]){let s=new Ne([],{});o[Kn(r)]=s}return k(k({},i),o)}function c7(t,n){let e={};e[me]=n;for(let i of t)if(i.path===""&&Kn(i)!==me){let o=new Ne([],{});e[Kn(i)]=o}return e}function l7(t,n,e){return e.some(i=>Lh(t,n,i)&&Kn(i)!==me)}function d7(t,n,e){return e.some(i=>Lh(t,n,i))}function Lh(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function u7(t,n,e){return n.length===0&&!t.children[e]}var J0=class{};function h7(t,n,e,i,o,r,s="emptyOnly"){return new e2(t,n,e,i,o,s,r).recognize()}var p7=31,e2=class{constructor(n,e,i,o,r,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new X0(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new $(4002,`'${n.segmentGroup}'`)}recognize(){let n=BC(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ne(({children:e,rootSnapshot:i})=>{let o=new mn(i,e),r=new Sh("",o),s=bL(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),{state:r,tree:s}}))}match(n){let e=new js([],Object.freeze({}),Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),me,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,me,e).pipe(ne(i=>({children:i,rootSnapshot:e})),Ai(i=>{if(i instanceof Ac)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Ec?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,o,r){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,r):this.processSegment(n,e,i,i.segments,o,!0,r).pipe(ne(s=>s instanceof mn?[s]:[]))}processChildren(n,e,i,o){let r=[];for(let s of Object.keys(i.children))s==="primary"?r.unshift(s):r.push(s);return Ve(r).pipe(qn(s=>{let a=i.children[s],c=DL(e,s);return this.processSegmentGroup(n,c,a,s,o)}),Yp((s,a)=>(s.push(...a),s)),oo(null),Xp(),Ye(s=>{if(s===null)return Ns(i);let a=g_(s);return f7(a),G(a)}))}processSegment(n,e,i,o,r,s,a){return Ve(e).pipe(qn(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,i,o,r,s,a).pipe(Ai(l=>{if(l instanceof Ec)return G(null);throw l}))),ci(c=>!!c),Ai(c=>{if(p_(c))return u7(i,o,r)?G(new J0):Ns(i);throw c}))}processSegmentAgainstRoute(n,e,i,o,r,s,a,c){return Kn(i)!==s&&(s===me||!Lh(o,r,i))?Ns(o):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,i,r,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,i,r,s,c):Ns(o)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s,a){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:u,remainingSegments:g}=m_(e,o,r);if(!c)return Ns(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>p7&&(this.allowRedirects=!1));let f=new js(r,l,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,HC(o),Kn(o),o.component??o._loadedComponent??null,o,UC(o)),y=Ih(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(y.params),f.data=Object.freeze(y.data);let _=this.applyRedirects.applyRedirectCommands(d,o.redirectTo,u,f,n);return this.applyRedirects.lineralizeSegments(o,_).pipe(Ye(A=>this.processSegment(n,i,e,A.concat(g),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,o,r,s){let a=r7(e,i,o,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(st(c=>c.matched?(n=i._injector??n,this.getChildConfig(n,i,o).pipe(st(({routes:l})=>{let d=i._loadedInjector??n,{parameters:u,consumedSegments:g,remainingSegments:f}=c,y=new js(g,u,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,HC(i),Kn(i),i.component??i._loadedComponent??null,i,UC(i)),_=Ih(y,s,this.paramsInheritanceStrategy);y.params=Object.freeze(_.params),y.data=Object.freeze(_.data);let{segmentGroup:A,slicedSegments:R}=BC(e,g,f,l);if(R.length===0&&A.hasChildren())return this.processChildren(d,l,A,y).pipe(ne(ee=>new mn(y,ee)));if(l.length===0&&R.length===0)return G(new mn(y,[]));let Z=Kn(i)===r;return this.processSegment(d,l,A,R,Z?me:r,!0,y).pipe(ne(ee=>new mn(y,ee instanceof mn?[ee]:[])))}))):Ns(e)))}getChildConfig(n,e,i){return e.children?G({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?G({routes:e._loadedRoutes,injector:e._loadedInjector}):t7(n,e,i,this.urlSerializer).pipe(Ye(o=>o?this.configLoader.loadChildren(n,e).pipe(ot(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):o7(e))):G({routes:[],injector:n})}};function f7(t){t.sort((n,e)=>n.value.outlet===me?-1:e.value.outlet===me?1:n.value.outlet.localeCompare(e.value.outlet))}function m7(t){let n=t.value.routeConfig;return n&&n.path===""}function g_(t){let n=[],e=new Set;for(let i of t){if(!m7(i)){n.push(i);continue}let o=n.find(r=>i.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...i.children),e.add(o)):n.push(i)}for(let i of e){let o=g_(i.children);n.push(new mn(i.value,o))}return n.filter(i=>!e.has(i))}function HC(t){return t.data||{}}function UC(t){return t.resolve||{}}function g7(t,n,e,i,o,r){return Ye(s=>h7(t,n,e,i,s.extractedUrl,o,r).pipe(ne(({state:a,tree:c})=>K(k({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function y7(t,n){return Ye(e=>{let{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return G(e);let r=new Set(o.map(c=>c.route)),s=new Set;for(let c of r)if(!s.has(c))for(let l of y_(c))s.add(l);let a=0;return Ve(s).pipe(qn(c=>r.has(c)?v7(c,i,t,n):(c.data=Ih(c,c.parent,t).resolve,G(void 0))),ot(()=>a++),es(1),Ye(c=>a===s.size?G(e):qt))})}function y_(t){let n=t.children.map(e=>y_(e)).flat();return[t,...n]}function v7(t,n,e,i){let o=t.routeConfig,r=t._resolve;return o?.title!==void 0&&!l_(o)&&(r[Oc]=o.title),k7(r,t,n,i).pipe(ne(s=>(t._resolvedData=s,t.data=Ih(t,t.parent,e).resolve,null)))}function k7(t,n,e,i){let o=A0(t);if(o.length===0)return G({});let r={};return Ve(o).pipe(Ye(s=>b7(t[s],n,e,i).pipe(ci(),ot(a=>{if(a instanceof Tc)throw Dh(new Hs,a);r[s]=a}))),es(1),ro(r),Ai(s=>p_(s)?qt:Yr(s)))}function b7(t,n,e,i){let o=Fc(n)??i,r=Ws(t,o),s=r.resolve?r.resolve(n,e):zt(o,()=>r(n,e));return Lo(s)}function T0(t){return st(n=>{let e=t(n);return e?Ve(e).pipe(ne(()=>n)):G(n)})}var v_=(()=>{class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===me);return i}getResolvedTitleForRoute(e){return e.data[Oc]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>S(x7),providedIn:"root"})}}return t})(),x7=(()=>{class t extends v_{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||t)(D(Sx))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Vc=new O("",{providedIn:"root",factory:()=>({})}),C7=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Q({type:t,selectors:[["ng-component"]],standalone:!0,features:[it],decls:1,vars:0,template:function(i,o){i&1&&q(0,"router-outlet")},dependencies:[EL],encapsulation:2})}}return t})();function i2(t){let n=t.children&&t.children.map(i2),e=n?K(k({},t),{children:n}):k({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==me&&(e.component=C7),e}var Lc=new O(""),o2=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=S(Au)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return G(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Lo(e.loadComponent()).pipe(ne(k_),ot(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Go(()=>{this.componentLoaders.delete(e)})),o=new eo(i,()=>new te).pipe(Wr());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return G({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let r=_7(i,this.compiler,e,this.onLoadEndListener).pipe(Go(()=>{this.childrenLoaders.delete(i)})),s=new eo(r,()=>new te).pipe(Wr());return this.childrenLoaders.set(i,s),s}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function _7(t,n,e,i){return Lo(t.loadChildren()).pipe(ne(k_),Ye(o=>o instanceof Oa||Array.isArray(o)?G(o):Ve(n.compileModuleAsync(o))),ne(o=>{i&&i(t);let r,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(r=o.create(e).injector,s=r.get(Lc,[],{optional:!0,self:!0}).flat()),{routes:s.map(i2),injector:r}}))}function w7(t){return t&&typeof t=="object"&&"default"in t}function k_(t){return w7(t)?t.default:t}var r2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>S(M7),providedIn:"root"})}}return t})(),M7=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),b_=new O(""),x_=new O("");function I7(t,n,e){let i=t.get(x_),o=t.get(Me);return t.get(ie).runOutsideAngular(()=>{if(!o.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(l=>setTimeout(l));let r,s=new Promise(l=>{r=l}),a=o.startViewTransition(()=>(r(),S7(t))),{onViewTransitionCreated:c}=i;return c&&zt(t,()=>c({transition:a,from:n,to:e})),s})}function S7(t){return new Promise(n=>{en({read:()=>setTimeout(n)},{injector:t})})}var D7=new O(""),s2=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new te,this.transitionAbortSubject=new te,this.configLoader=S(o2),this.environmentInjector=S(At),this.urlSerializer=S(Pc),this.rootContexts=S(Nc),this.location=S(xo),this.inputBindingEnabled=S(Ah,{optional:!0})!==null,this.titleStrategy=S(v_),this.options=S(Vc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=S(r2),this.createViewTransition=S(b_,{optional:!0}),this.navigationErrorHandler=S(D7,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>G(void 0),this.rootComponentType=null;let e=o=>this.events.next(new V0(o)),i=o=>this.events.next(new j0(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(K(k(k({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new Je({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:_c,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Pe(r=>r.id!==0),ne(r=>K(k({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),st(r=>{let s=!1,a=!1;return G(r).pipe(st(c=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",gn.SupersededByNewNavigation),qt;this.currentTransition=r,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?K(k({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&d!=="reload"){let u="";return this.events.next(new Eo(c.id,this.urlSerializer.serialize(c.rawUrl),u,xh.IgnoredSameUrlNavigation)),c.resolve(!1),qt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return G(c).pipe(st(u=>{let g=this.transitions?.getValue();return this.events.next(new Us(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),g!==this.transitions?.getValue()?qt:Promise.resolve(u)}),g7(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ot(u=>{r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=K(k({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let g=new Ch(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(g)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:u,extractedUrl:g,source:f,restoredState:y,extras:_}=c,A=new Us(u,this.urlSerializer.serialize(g),f,y);this.events.next(A);let R=a_(this.rootComponentType).snapshot;return this.currentTransition=r=K(k({},c),{targetSnapshot:R,urlAfterRedirects:g,extras:K(k({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,G(r)}else{let u="";return this.events.next(new Eo(c.id,this.urlSerializer.serialize(c.extractedUrl),u,xh.IgnoredByUrlHandlingStrategy)),c.resolve(!1),qt}}),ot(c=>{let l=new P0(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),ne(c=>(this.currentTransition=r=K(k({},c),{guards:FL(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),r)),WL(this.environmentInjector,c=>this.events.next(c)),ot(c=>{if(r.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Dh(this.urlSerializer,c.guardsResult);let l=new F0(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Pe(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",gn.GuardRejected),!1)),T0(c=>{if(c.guards.canActivateChecks.length)return G(c).pipe(ot(l=>{let d=new N0(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),st(l=>{let d=!1;return G(l).pipe(y7(this.paramsInheritanceStrategy,this.environmentInjector),ot({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",gn.NoDataFromResolver)}}))}),ot(l=>{let d=new q0(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),T0(c=>{let l=d=>{let u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(ot(g=>{d.component=g}),ne(()=>{})));for(let g of d.children)u.push(...l(g));return u};return Qo(l(c.targetSnapshot.root)).pipe(oo(null),et(1))}),T0(()=>this.afterPreactivation()),st(()=>{let{currentSnapshot:c,targetSnapshot:l}=r,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?Ve(d).pipe(ne(()=>r)):G(r)}),ne(c=>{let l=AL(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r=K(k({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,r}),ot(()=>{this.events.next(new Sc)}),PL(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),et(1),ot({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new yn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Qe(this.transitionAbortSubject.pipe(ot(c=>{throw c}))),Go(()=>{!s&&!a&&this.cancelNavigationTransition(r,"",gn.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ai(c=>{if(a=!0,h_(c))this.events.next(new Bi(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),OL(c)?this.events.next(new Qs(c.url,c.navigationBehaviorOptions)):r.resolve(!1);else{let l=new Ic(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0);try{let d=zt(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Tc){let{message:u,cancellationCode:g}=Dh(this.urlSerializer,d);this.events.next(new Bi(r.id,this.urlSerializer.serialize(r.extractedUrl),u,g)),this.events.next(new Qs(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let u=e.errorHandler(c);r.resolve(!!u)}}catch(d){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(d)}}return qt}))}))}cancelNavigationTransition(e,i,o){let r=new Bi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function T7(t){return t!==_c}var E7=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>S(A7),providedIn:"root"})}}return t})(),t2=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},A7=(()=>{class t extends t2{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})()}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),C_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:()=>S(L7),providedIn:"root"})}}return t})(),L7=(()=>{class t extends C_{constructor(){super(...arguments),this.location=S(xo),this.urlSerializer=S(Pc),this.options=S(Vc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=S(r2),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Hi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=a_(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof Us)this.stateMemento=this.createStateMemento();else if(e instanceof Eo)this.rawUrlTree=i.initialUrl;else if(e instanceof Ch){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else e instanceof Sc?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof Bi&&(e.code===gn.GuardRejected||e.code===gn.NoDataFromResolver)?this.restoreHistory(i):e instanceof Ic?this.restoreHistory(i,!0):e instanceof yn&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=e instanceof Hi?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let r=this.browserPageId,s=k(k({},i.extras.state),this.generateNgRouterState(i.id,r));this.location.replaceState(o,"",s)}else{let r=k(k({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",r)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&r===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})()}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),xc=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xc||{});function __(t,n){t.events.pipe(Pe(e=>e instanceof yn||e instanceof Bi||e instanceof Ic||e instanceof Eo),ne(e=>e instanceof yn||e instanceof Eo?xc.COMPLETE:(e instanceof Bi?e.code===gn.Redirect||e.code===gn.SupersededByNewNavigation:!1)?xc.REDIRECTING:xc.FAILED),Pe(e=>e!==xc.REDIRECTING),et(1)).subscribe(()=>{n()})}function R7(t){throw t}var O7={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},P7={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vn=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=S(Su),this.stateManager=S(C_),this.options=S(Vc,{optional:!0})||{},this.pendingTasks=S(ki),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=S(s2),this.urlSerializer=S(Pc),this.location=S(xo),this.urlHandlingStrategy=S(r2),this._events=new te,this.errorHandler=this.options.errorHandler||R7,this.navigated=!1,this.routeReuseStrategy=S(E7),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=S(Lc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!S(Ah,{optional:!0}),this.eventsSubscription=new Oe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(i,r),i instanceof Bi&&i.code!==gn.Redirect&&i.code!==gn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof yn)this.navigated=!0;else if(i instanceof Qs){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c=k({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||T7(o.source)},s);this.scheduleNavigation(a,_c,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}N7(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),_c,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let r={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=k({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(r.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(i2),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=k(k({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let g=o?o.snapshot:this.routerState.snapshot.root;u=i_(g)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return o_(u,e,d,l??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=Cr(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,_c,null,i)}navigate(e,i={skipLocationChange:!1}){return F7(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=k({},O7):i===!1?o=k({},P7):o=i,Cr(e))return NC(this.currentUrlTree,e,o);let r=this.parseUrl(e);return NC(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,r])=>(r!=null&&(i[o]=r),i),{})}scheduleNavigation(e,i,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((u,g)=>{a=u,c=g});let d=this.pendingTasks.add();return __(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(u=>Promise.reject(u))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function F7(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new $(4008,!1)}function N7(t){return!(t instanceof Sc)&&!(t instanceof Qs)}var Rc=(()=>{class t{constructor(e,i,o,r,s,a){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new te,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof yn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Cr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,o,r,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||o||r||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:kk(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let o=this.renderer,r=this.el.nativeElement;i!==null?o.setAttribute(r,e,i):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:Cr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||t)(h(vn),h(Ao),pt("tabindex"),h(Ue),h(J),h(Ci))}}static{this.\u0275dir=Y({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&U("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&W("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",L],skipLocationChange:[2,"skipLocationChange","skipLocationChange",L],replaceUrl:[2,"replaceUrl","replaceUrl",L],routerLink:"routerLink"},standalone:!0,features:[he,X]})}}return t})(),IY=(()=>{class t{get isActive(){return this._isActive}constructor(e,i,o,r,s){this.router=e,this.element=i,this.renderer=o,this.cdr=r,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new F,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof yn&&this.update()})}ngAfterContentInit(){G(this.links.changes,G(null)).pipe(ai()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Ve(e).pipe(ai()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let i=q7(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let r=o.urlTree;return r?e.isActive(r,i):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(i){return new(i||t)(h(vn),h(J),h(Ue),h(xe),h(Rc,8))}}static{this.\u0275dir=Y({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,r){if(i&1&&pn(r,Rc,5),i&2){let s;ye(s=ve())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[X]})}}return t})();function q7(t){return!!t.paths}var Eh=class{};var V7=(()=>{class t{constructor(e,i,o,r,s){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Pe(e=>e instanceof yn),qn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let o=[];for(let r of i){r.providers&&!r._injector&&(r._injector=Ga(r.providers,e,`Route: ${r.path}`));let s=r._injector??e,a=r._loadedInjector??s;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(s,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(a,r.children??r._loadedRoutes))}return Ve(o).pipe(ai())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(e,i):o=G(null);let r=o.pipe(Ye(s=>s===null?G(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Ve([r,s]).pipe(ai())}else return r})}static{this.\u0275fac=function(i){return new(i||t)(D(vn),D(Au),D(At),D(Eh),D(o2))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),w_=new O(""),j7=(()=>{class t{constructor(e,i,o,r,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=r,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Us?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof yn?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Eo&&e.code===xh.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _h&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _h(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){ko()}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac})}}return t})();function SY(t,...n){return za([{provide:Lc,multi:!0,useValue:t},[],{provide:Ao,useFactory:M_,deps:[vn]},{provide:ec,multi:!0,useFactory:I_},n.map(e=>e.\u0275providers)])}function M_(t){return t.routerState.root}function Gs(t,n){return{\u0275kind:t,\u0275providers:n}}function I_(){let t=S(Be);return n=>{let e=t.get(Vi);if(n!==e.components[0])return;let i=t.get(vn),o=t.get(S_);t.get(a2)===1&&i.initialNavigation(),t.get(D_,null,be.Optional)?.setUpPreloading(),t.get(w_,null,be.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var S_=new O("",{factory:()=>new te}),a2=new O("",{providedIn:"root",factory:()=>1});function z7(){return Gs(2,[{provide:a2,useValue:0},{provide:Eu,multi:!0,deps:[Be],useFactory:n=>{let e=n.get(ox,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let o=n.get(vn),r=n.get(S_);__(o,()=>{i(!0)}),n.get(s2).afterPreactivation=()=>(i(!0),r.closed?G(void 0):r),o.initialNavigation()}))}}])}function B7(){return Gs(3,[{provide:Eu,multi:!0,useFactory:()=>{let n=S(vn);return()=>{n.setUpLocationChangeListener()}}},{provide:a2,useValue:2}])}var D_=new O("");function H7(t){return Gs(0,[{provide:D_,useExisting:V7},{provide:Eh,useExisting:t}])}function DY(){return Gs(6,[{provide:Ci,useClass:N1}])}function U7(){return Gs(8,[zC,{provide:Ah,useExisting:zC}])}function Q7(t){let n=[{provide:b_,useValue:I7},{provide:x_,useValue:k({skipNextTransition:!!t?.skipInitialTransition},t)}];return Gs(9,n)}var QC=new O("ROUTER_FORROOT_GUARD"),$7=[xo,{provide:Pc,useClass:Hs},vn,Nc,{provide:Ao,useFactory:M_,deps:[vn]},o2,[]],Rh=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[$7,[],{provide:Lc,multi:!0,useValue:e},{provide:QC,useFactory:K7,deps:[[vn,new Ni,new Ud]]},{provide:Vc,useValue:i||{}},i?.useHash?G7():Z7(),W7(),i?.preloadingStrategy?H7(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?X7(i):[],i?.bindToComponentInputs?U7().\u0275providers:[],i?.enableViewTransitions?Q7().\u0275providers:[],Y7()]}}static forChild(e){return{ngModule:t,providers:[{provide:Lc,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||t)(D(QC,8))}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=z({})}}return t})();function W7(){return{provide:w_,useFactory:()=>{let t=S(cx),n=S(ie),e=S(Vc),i=S(s2),o=S(Pc);return e.scrollOffset&&t.setOffset(e.scrollOffset),new j7(o,i,t,n,e)}}}function G7(){return{provide:Ci,useClass:N1}}function Z7(){return{provide:Ci,useClass:F1}}function K7(t){return"guarded"}function X7(t){return[t.initialNavigation==="disabled"?B7().\u0275providers:[],t.initialNavigation==="enabledBlocking"?z7().\u0275providers:[]]}var $C=new O("");function Y7(){return[{provide:$C,useFactory:I_},{provide:ec,multi:!0,useExisting:$C}]}var Zs=class{},T_=(()=>{class t extends Zs{getTranslation(e){return G({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),jc=class{},E_=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function Oh(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!Oh(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!Oh(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function Ro(t){return typeof t<"u"&&t!==null}function c2(t){return t&&typeof t=="object"&&!Array.isArray(t)}function R_(t,n){let e=Object.assign({},t);return c2(t)&&c2(n)&&Object.keys(n).forEach(i=>{c2(n[i])?i in t?e[i]=R_(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}var Ks=class{},A_=(()=>{class t extends Ks{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){let o;return typeof e=="string"?o=this.interpolateString(e,i):typeof e=="function"?o=this.interpolateFunction(e,i):o=e,o}getValue(e,i){let o=typeof i=="string"?i.split("."):[i];i="";do i+=o.shift(),Ro(e)&&Ro(e[i])&&(typeof e[i]=="object"||!o.length)?(e=e[i],i=""):o.length?i+=".":e=void 0;while(o.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(i,r);return Ro(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Xs=class{},L_=(()=>{class t extends Xs{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Ph=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new F;onLangChange=new F;onDefaultLangChange=new F},l2=new O("USE_STORE"),d2=new O("USE_DEFAULT_LANG"),u2=new O("DEFAULT_LANGUAGE"),h2=new O("USE_EXTEND"),Ui=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new F;_onLangChange=new F;_onDefaultLangChange=new F;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,a=!0,c=!1,l=!1,d){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=c,this.extend=l,d&&this.setDefaultLang(d)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(et(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return G(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(et(1)).subscribe(o=>{this.changeLang(e)}),i):(this.changeLang(e),G(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Ma(1),et(1));return this.loadingTranslations=i.pipe(ne(o=>this.compiler.compileTranslations(o,e)),Ma(1),et(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?k(k({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){i=this.compiler.compileTranslations(i,e),(o||this.extend)&&this.translations[e]?this.translations[e]=R_(this.translations[e],i):this.translations[e]=i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,o){let r;if(i instanceof Array){let s={},a=!1;for(let c of i)s[c]=this.getParsedResult(e,c,o),Zt(s[c])&&(a=!0);if(a){let c=i.map(l=>Zt(s[l])?s[l]:G(s[l]));return _a(c).pipe(ne(l=>{let d={};return l.forEach((u,g)=>{d[i[g]]=u}),d}))}return s}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,i),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof r>"u"){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:i}get(e,i){if(!Ro(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(qn(o=>(o=this.getParsedResult(o,e,i),Zt(o)?o:G(o))));{let o=this.getParsedResult(this.translations[this.currentLang],e,i);return Zt(o)?o:G(o)}}getStreamOnTranslationChange(e,i){if(!Ro(e)||!e.length)throw new Error('Parameter "key" required');return un($o(()=>this.get(e,i)),this.onTranslationChange.pipe(st(o=>{let r=this.getParsedResult(o.translations,e,i);return typeof r.subscribe=="function"?r:G(r)})))}stream(e,i){if(!Ro(e)||!e.length)throw new Error('Parameter "key" required');return un($o(()=>this.get(e,i)),this.onLangChange.pipe(st(o=>{let r=this.getParsedResult(o.translations,e,i);return Zt(r)?r:G(r)})))}instant(e,i){if(!Ro(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,i);if(Zt(o)){if(e instanceof Array){let r={};return e.forEach((s,a)=>{r[e[a]]=e[a]}),r}return e}else return o}set(e,i,o=this.currentLang){this.translations[o][e]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(i){return new(i||t)(D(Ph),D(Zs),D(Xs),D(Ks),D(jc),D(d2),D(l2),D(h2),D(u2))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();var VY=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);Zt(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(Oh(e,this.lastKey)&&Oh(i,this.lastParams))return this.value;let o;if(Ro(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let r=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(h(Ui,16),h(xe,16))};static \u0275pipe=ja({name:"translate",type:t,pure:!1});static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),O_=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Zs,useClass:T_},e.compiler||{provide:Xs,useClass:L_},e.parser||{provide:Ks,useClass:A_},e.missingTranslationHandler||{provide:jc,useClass:E_},Ph,{provide:l2,useValue:e.isolate},{provide:d2,useValue:e.useDefaultLang},{provide:h2,useValue:e.extend},{provide:u2,useValue:e.defaultLanguage},Ui]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Zs,useClass:T_},e.compiler||{provide:Xs,useClass:L_},e.parser||{provide:Ks,useClass:A_},e.missingTranslationHandler||{provide:jc,useClass:E_},{provide:l2,useValue:e.isolate},{provide:d2,useValue:e.useDefaultLang},{provide:h2,useValue:e.extend},{provide:u2,useValue:e.defaultLanguage},Ui]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({})}return t})();var F_=[["line",{x1:"21",x2:"3",y1:"6",y2:"6",key:"1fp77t"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}],["line",{x1:"17",x2:"3",y1:"18",y2:"18",key:"1awlsn"}]];var N_=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]];var q_=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]];var V_=[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]];var j_=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]];var z_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]];var B_=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]];var H_=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]];var U_=[["path",{d:"M12 6v12",key:"1vza4d"}],["path",{d:"M17.196 9 6.804 15",key:"1ah31z"}],["path",{d:"m6.804 9 10.392 6",key:"1b6pxd"}]];var WY=[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]],Q_=[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]];var $_=[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]];var W_=[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}]];var G_=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]];var Z_=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]];var K_=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]];var Qi=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]];var Mi=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]];var m2=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Bc=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],X_=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],GY=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]];var ZY=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]];var g2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]];var Y_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]];var J_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]];var ew=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]];var tw=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]];var nw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]];var iw=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m8 17 4 4 4-4",key:"1ul180"}]];var ow=[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m16 16-4-4-4 4",key:"119tzi"}]];var y2=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]];var rw=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]];var sw=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]];var aw=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]];var Fh=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],v2=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]];var cw=[["path",{d:"m21 21-6-6m6 6v-4.8m0 4.8h-4.8",key:"1c15vz"}],["path",{d:"M3 16.2V21m0 0h4.8M3 21l6-6",key:"1fsnz2"}],["path",{d:"M21 7.8V3m0 0h-4.8M21 3l-6 6",key:"hawz9i"}],["path",{d:"M3 7.8V3m0 0h4.8M3 3l6 6",key:"u9ee12"}]];var KY=[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],XY=[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]];var lw=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]];var k2=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],YY=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],dw=[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"37hlfg"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]];var uw=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]];var JY=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.5",key:"13ddob"}],["path",{d:"M4.017 11.512a6 6 0 1 0 8.466 8.475",key:"s6vs5t"}],["path",{d:"M8 16v-6a6 6 0 0 1 6 6z",key:"zfixgv"}]],hw=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}],["path",{d:"M6 12v6",key:"1u72j0"}]];var pw=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]];var fw=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]];var eJ=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],mw=[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]];var gw=[["circle",{cx:"15",cy:"19",r:"2",key:"u2pros"}],["path",{d:"M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1",key:"1jj40k"}],["path",{d:"M15 11v-1",key:"cntcp"}],["path",{d:"M15 17v-2",key:"1279jj"}]];var yw=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m15 13-3 3-3-3",key:"6j2sf0"}]];var vw=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]];var kw=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]];var bw=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]];var tJ=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]],xw=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]];var Cw=[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]];var _w=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]];var Hc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]];var ww=[["path",{d:"m16.02 12 5.48 3.13a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74L7.98 12",key:"1cuww1"}],["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74Z",key:"pdlvxu"}]];var Mw=[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]];var Iw=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]];var Sw=[["line",{x1:"8",x2:"21",y1:"6",y2:"6",key:"7ey8pc"}],["line",{x1:"8",x2:"21",y1:"12",y2:"12",key:"rjfblc"}],["line",{x1:"8",x2:"21",y1:"18",y2:"18",key:"c3b1m8"}],["line",{x1:"3",x2:"3.01",y1:"6",y2:"6",key:"1g7gq3"}],["line",{x1:"3",x2:"3.01",y1:"12",y2:"12",key:"1pjlvk"}],["line",{x1:"3",x2:"3.01",y1:"18",y2:"18",key:"28t2mc"}]];var Dw=[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]];var Tw=[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}]];var Ew=[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]],Aw=[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]];var Lw=[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]];var Rw=[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]];var Nh=[["path",{d:"M5 12h14",key:"1ays0h"}]];var Ow=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]];var Pw=[["polyline",{points:"13 5 19 5 19 11",key:"11219e"}],["polyline",{points:"11 19 5 19 5 13",key:"sfq3wq"}],["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}]];var Fw=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]];var qh=[["polygon",{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2",key:"h1p8hx"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]];var Nw=[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]];var Vh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]];var jh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]];var zh=[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]];var qw=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]];var Vw=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]];var jw=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]];var zw=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M14 15H9v-5",key:"pi4jk9"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M21 3 9 15",key:"15kdhq"}]];var Bw=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]];var Hw=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]];var Uw=[["path",{d:"M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5",key:"bt2siv"}],["path",{d:"M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z",key:"1hjrv1"}],["path",{d:"M22 17v-1a2 2 0 0 0-2-2h-1",key:"1iynyr"}],["path",{d:"M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z",key:"161ggg"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Qw=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],$w=[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Ww=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]];var Gw=[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]];var Zw=[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]];var Kw=[["path",{d:"M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6",key:"14qz4y"}],["path",{d:"m3 21 9-9",key:"1jfql5"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]];var Xw=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 8h8v8",key:"b65dnt"}],["path",{d:"m8 16 8-8",key:"13b9ih"}]];var Yw=[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"m12 12 4 10 1.7-4.3L22 16Z",key:"64ilsv"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h2",key:"1qve2z"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v2",key:"p14lih"}],["path",{d:"M3 14v1",key:"vnatye"}]];var Jw=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]];var eM=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]];var tM=[["path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4",key:"1fu5g2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.9 4.9 1.4 1.4",key:"b9915j"}],["path",{d:"m17.7 17.7 1.4 1.4",key:"qc3ed3"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.3 17.7-1.4 1.4",key:"5gca6"}],["path",{d:"m19.1 4.9-1.4 1.4",key:"wpu9u6"}]];var nM=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]];var nJ=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]];var iM=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]];var _r=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]];var oM=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]];var rM=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]];var Ii=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]];var sM=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],aM=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]];var P_=new O("LucideIcons",{factory:()=>new zc({})}),zc=class{constructor(n){this.icons=n}getIcon(n){return this.hasIcon(n)?this.icons[n]:null}hasIcon(n){return typeof this.icons=="object"&&n in this.icons}};var f2=class{constructor(n){this.icons=n}},e9=t=>new zc(t??{}),iJ=(()=>{class t{static pick(e){return{ngModule:t,providers:[{provide:P_,multi:!0,useValue:new zc(e)},{provide:P_,multi:!0,useFactory:e9,deps:[[new Ni,f2]]}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=B({type:t}),t.\u0275inj=z({imports:[[]]}),t})();var t9=Object.defineProperty,n9=(t,n,e)=>n in t?t9(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,T=(t,n,e)=>n9(t,typeof n!="symbol"?n+"":n,e),D2="cubic-bezier(0.6, 0, 0.61, 1)";function IM(t){let n,e,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){let o=t.length;for(n=0;n<o;n++)t[n]&&(e=IM(t[n]))&&(i&&(i+=" "),i+=e)}else for(e in t)t!=null&&t[e]&&(i&&(i+=" "),i+=e);return i}function I(...t){let n=0,e,i,o="",r=t.length;for(;n<r;n++)(e=t[n])&&(i=IM(e))&&(o&&(o+=" "),o+=i);return o}function cM(t){return t.sort((n,e)=>{let i=n.compareDocumentPosition(e);if(i&Node.DOCUMENT_POSITION_FOLLOWING||i&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(i&Node.DOCUMENT_POSITION_DISCONNECTED||i&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var i9=t=>typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE;function lM(t,n,e){let i=t+1;return e&&i>=n&&(i=0),i}function dM(t,n,e){let i=t-1;return e&&i<0&&(i=n),i}var Wh=class{constructor(){T(this,"descendants",new Map)}register(n){if(n!=null)return i9(n)?this.registerNode(n):e=>{this.registerNode(e,n)}}unregister(n){this.descendants.delete(n);let e=cM(Array.from(this.descendants.keys()));this.assignIndex(e)}destroy(){this.descendants.clear()}assignIndex(n){this.descendants.forEach(e=>{let i=n.indexOf(e.node);e.index=i,e.node&&(e.node.dataset.index=e.index.toString())})}count(){return this.descendants.size}enabledCount(){return this.enabledValues().length}values(){return Array.from(this.descendants.values()).sort((n,e)=>n.index-e.index)}enabledValues(){return this.values().filter(n=>{var e;return!n.disabled&&((e=n?.node)==null?void 0:e.ariaDisabled)!=="true"})}item(n){if(this.count()!==0)return this.values()[n]}disableItem(n){if(this.count()!==0){if(typeof n=="number"){if(!this.values()[n])return;this.values()[n].disabled=!0}else{if(!this.descendants.has(n))return;this.descendants.get(n).disabled=!0}return!0}}enableItem(n){if(!(this.count()===0||!this.values()[n]))return this.values()[n].disabled=!1,!0}enabledItem(n){if(this.enabledCount()!==0)return this.enabledValues()[n]}first(){return this.item(0)}firstEnabled(){return this.enabledItem(0)}last(){return this.item(this.descendants.size-1)}lastEnabled(){let n=this.enabledValues().length-1;return this.enabledItem(n)}indexOf(n){var e;return n?((e=this.descendants.get(n))==null?void 0:e.index)??-1:-1}enabledIndexOf(n){return n==null?-1:this.enabledValues().findIndex(e=>e.node.isSameNode(n))}next(n,e=!0){let i=lM(n,this.count(),e);return this.item(i)}nextEnabled(n,e=!0){let i=this.item(n);if(!i)return;let o=this.enabledIndexOf(i.node),r=lM(o,this.enabledCount(),e);return this.enabledItem(r)}prev(n,e=!0){let i=dM(n,this.count()-1,e);return this.item(i)}prevEnabled(n,e=!0){let i=this.item(n);if(!i)return;let o=this.enabledIndexOf(i.node),r=dM(o,this.enabledCount()-1,e);return this.enabledItem(r)}registerNode(n,e){if(!n||this.descendants.has(n))return;let i=Array.from(this.descendants.keys()).concat(n),o=cM(i);e!=null&&e.disabled&&(e.disabled=!!e.disabled);let r=k({index:-1,node:n},e);this.descendants.set(n,r),this.assignIndex(o)}hasNode(n){return!!n&&this.descendants.has(n)}};function SM(t){let{isSelected:n,mode:e="off",wasSelected:i}=t;return!!(e==="off"||n||e==="keepMounted"&&i)}function Gh(t){return typeof t>"u"||t===null}var DM={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00C6:"AE",\u00C7:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00E6:"ae",\u00E7:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u0202:"A",\u00F0:"d",\u0206:"E",\u00F1:"n",\u1EA4:"A",\u00F2:"o",\u1EA6:"A",\u00F3:"o",\u1EAE:"A",\u00F4:"o",\u1EB2:"A",\u00F5:"o",\u1EB4:"A",\u00F6:"o",\u1EB6:"A",\u00F8:"o",\u00F9:"u",\u1EB0:"A",\u00FA:"u",\u1E08:"C",\u00FB:"u",\u1E14:"E",\u00FC:"u",\u1E16:"E",C\u0306:"C",\u1EBE:"E",c\u0306:"c",\u1EC0:"E",\u00FD:"y",\u1E1C:"E",\u00FF:"y",\u0100:"A",\u0101:"a",\u020A:"I",\u0102:"A",\u1E2E:"I",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u020E:"O",\u0108:"C",\u1E4C:"O",\u0109:"c",\u1ED0:"O",\u010A:"C",\u1E52:"O",\u010B:"c",\u010C:"C",\u0203:"a",\u010D:"c",\u0207:"e",\u010E:"D",\u1EA5:"a",\u010F:"d",\u1EA7:"a",\u0110:"D",\u1EAF:"a",\u0111:"d",\u1EB3:"a",\u0112:"E",\u1EB5:"a",\u0113:"e",\u1EB7:"a",\u0114:"E",\u0115:"e",\u1EB1:"a",\u0116:"E",\u1E09:"c",\u0117:"e",\u1E15:"e",K\u0306:"K",\u1E17:"e",k\u0306:"k",\u1EBF:"e",\u0118:"E",\u1EC1:"e",\u0119:"e",\u1E1D:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u020B:"i",\u011D:"g",\u1E2F:"i",M\u0306:"M",\u011E:"G",m\u0306:"m",\u011F:"g",\u0120:"G",\u020F:"o",\u0121:"g",\u1E4D:"o",\u0122:"G",\u1ED1:"o",N\u0306:"N",\u1E53:"o",n\u0306:"n",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u0128:"I",P\u0306:"P",\u0129:"i",p\u0306:"p",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",R\u0306:"R",\u012F:"i",r\u0306:"r",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u00DF:"ss",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u0143:"N",\u01F4:"G",\u0144:"n",\u01F5:"g",T\u0306:"T",\u0145:"N",t\u0306:"t",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",\u014C:"O",\u014D:"o",\u1E2A:"H",\u014E:"O",\u1E2B:"h",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",V\u0306:"V",\u0153:"oe",v\u0306:"v",\u0154:"R",\u0155:"r",\u0156:"R",X\u0306:"X",\u0157:"r",x\u0306:"x",\u0158:"R",\u0159:"r",\u1E30:"K",Y\u0306:"Y",\u1E31:"k",y\u0306:"y",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u1E3E:"M",\u0164:"T",\u1E3F:"m",\u0165:"t",\u0166:"T",\u0167:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u00DE:"TH",\u017C:"z",\u00FE:"th",\u017D:"Z",\u017E:"z",\u0212:"R",X\u0301:"X",\u0213:"r",x\u0301:"x",\u017F:"s",\u0192:"f",A\u030B:"A",\u0218:"S",E\u030B:"E",\u0219:"s",I\u030B:"I",a\u030B:"a",\u01A0:"O",e\u030B:"e",\u021A:"T",i\u030B:"i",\u021B:"t",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",B\u030C:"B",\u0216:"U",b\u030C:"b",\u0217:"u",\u00CA\u030C:"E",\u01DB:"U",F\u030C:"F",\u1E82:"W",f\u030C:"f",\u1E83:"w",\u00EA\u030C:"e",J\u030C:"J",\u01DC:"u",\u010C\u0323:"C",\u01F8:"N",M\u030C:"M",\u01F9:"n",P\u030C:"P",\u01FA:"A",Q\u030C:"Q",\u01FB:"a",m\u030C:"m",\u01FC:"AE",p\u030C:"p",\u01FD:"ae",V\u030C:"V",\u01FE:"O",W\u030C:"W",\u01FF:"o",X\u030C:"X",\u0200:"A",Y\u030C:"Y",\u0201:"a",A\u0327:"A",\u0204:"E",B\u0327:"B",\u0205:"e",a\u0327:"a",\u0208:"I",b\u0327:"b",\u0209:"i",q\u030C:"q",\u1E78:"U",v\u030C:"v",\u1EE8:"U",I\u0327:"I",\u1EE9:"u",i\u0327:"i",\u1E79:"u",M\u0327:"M",\u0403:"\u0413",O\u0327:"O",\u040C:"\u041A",Q\u0327:"Q",\u1E54:"P",U\u0327:"U",\u1E55:"p",X\u0327:"X",\u1E64:"S",Z\u0327:"Z",\u1E65:"s",m\u0327:"m",\u0453:"\u0433",o\u0327:"o",\u045C:"\u043A",q\u0327:"q",\u1E50:"O",u\u0327:"u",\u1E51:"o",w\u030C:"w",\u1E80:"W",x\u030C:"x",\u1E81:"w",x\u0327:"x",\u1ED2:"O",y\u030C:"y",\u1ED3:"o",z\u0327:"z",\u1EEA:"U",\u010D\u0323:"c",\u1EEB:"u",\u0158\u0329:"R",\u1EF2:"Y",\u0159\u0329:"r",\u1EF3:"y",\u0190\u0327:"E",\u020C:"O",\u0197\u0327:"I",\u020D:"o",\u01E6:"G",\u0210:"R",\u01E7:"g",\u0211:"r",\u01E8:"K",\u0214:"U",\u01E9:"k",\u0215:"u",\u01F0:"j",\u021E:"H",\u021F:"h",\u0228:"E",\u0229:"e",\u025B\u0327:"e",\u0268\u0327:"i",\u0401:"\u0415",\u0419:"\u0418",\u0439:"\u0438",\u0451:"\u0435",\u1E10:"D",\u1E11:"d",\u1E28:"H",\u1E29:"h",\u1E66:"S",\u1E67:"s"},TM=Object.keys(DM).join("|"),o9=new RegExp(TM,"g"),sJ=new RegExp(TM,"");function r9(t){return DM[t]}function s9(t){return t.replace(o9,r9)}var T2={ACRONYM:2,CASE_SENSITIVE_EQUAL:7,CONTAINS:3,EQUAL:6,MATCHES:1,NO_MATCH:0,STARTS_WITH:5,WORD_STARTS_WITH:4};EM.rankings=T2;var a9=(t,n)=>String(t.rankedValue).localeCompare(String(n.rankedValue));function EM(t,n,e={}){let{keys:i,threshold:o=T2.MATCHES,baseSort:r=a9,sorter:s=l=>l.sort((d,u)=>u9(d,u,r))}=e,a=t.reduce(c,[]);return s(a).map(({item:l})=>l);function c(l,d,u){let g=c9(d,i,n,e),{keyThreshold:f=o,rank:y}=g;return y>=f&&l.push(K(k({},g),{index:u,item:d})),l}}function c9(t,n,e,i){if(!n){let o=t;return{keyIndex:-1,keyThreshold:i.threshold,rank:uM(o,e,i),rankedValue:o}}return f9(t,n).reduce(({keyIndex:o,keyThreshold:r,rank:s,rankedValue:a},{attributes:c,itemValue:l},d)=>{let u=uM(l,e,i),g=a,{maxRanking:f,minRanking:y,threshold:_}=c;return u<y&&u>=T2.MATCHES?u=y:u>f&&(u=f),u>s&&(s=u,o=d,r=_,g=l),{keyIndex:o,keyThreshold:r,rank:s,rankedValue:g}},{keyIndex:-1,keyThreshold:i.threshold,rank:0,rankedValue:t})}function uM(t,n,e){return t=hM(t,e),n=hM(n,e),n.length>t.length?0:t===n?7:(t=t.toLowerCase(),n=n.toLowerCase(),t===n?6:t.startsWith(n)?5:t.includes(` ${n}`)?4:t.includes(n)?3:n.length===1?0:l9(t).includes(n)?2:d9(t,n))}function l9(t){let n="";return t.split(" ").forEach(e=>{e.split("-").forEach(i=>{n+=i.substr(0,1)})}),n}function d9(t,n){let e=0,i=0;function o(c,l,d){for(let u=d,g=l.length;u<g;u++)if(l[u]===c)return e+=1,u+1;return-1}function r(c){let l=1/c;return 1+e/n.length*l}let s=o(n[0],t,0);if(s<0)return 0;i=s;for(let c=1,l=n.length;c<l;c++){let d=n[c];if(i=o(d,t,i),!(i>-1))return 0}let a=i-s;return r(a)}function u9(t,n,e){let{keyIndex:i,rank:o}=t,{keyIndex:r,rank:s}=n;return o===s?i===r?e(t,n):i<r?-1:1:o>s?-1:1}function hM(t,{keepDiacritics:n}){return t=`${t}`,n||(t=s9(t)),t}function h9(t,n){typeof n=="object"&&(n=n.key);let e;if(typeof n=="function")e=n(t);else if(Gh(t))e=null;else if(Object.hasOwnProperty.call(t,n))e=t[n];else{if(n.includes("."))return p9(n,t);e=null}return Gh(e)?[]:Array.isArray(e)?e:[String(e)]}function p9(t,n){let e=t.split("."),i=[n];for(let o=0,r=e.length;o<r;o++){let s=e[o],a=[];for(let c=0,l=i.length;c<l;c++){let d=i[c];if(!Gh(d))if(Object.hasOwnProperty.call(d,s)){let u=d[s];Gh(u)||a.push(u)}else s==="*"&&(a=a.concat(d))}i=a}return Array.isArray(i[0])?[].concat(...i):i}function f9(t,n){let e=[];for(let i=0,o=n.length;i<o;i++){let r=n[i],s=m9(r),a=h9(t,r);for(let c=0,l=a.length;c<l;c++)e.push({attributes:s,itemValue:a[c]})}return e}var pM={maxRanking:1/0,minRanking:-1/0};function m9(t){return typeof t=="string"?pM:k(k({},pM),t)}var fM=t=>typeof t=="object"&&t!=null&&t.nodeType===1,mM=(t,n)=>n&&t==="hidden"?!1:t!=="visible"&&t!=="clip",g9=t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch{return null}},y9=t=>{let n=g9(t);return n?n.clientHeight<t.scrollHeight||n.clientWidth<t.scrollWidth:!1},b2=(t,n)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let e=getComputedStyle(t,null);return mM(e.overflowY,n)||mM(e.overflowX,n)||y9(t)}return!1},Bh=(t,n,e,i,o,r,s,a)=>r<t&&s>n||r>t&&s<n?0:r<=t&&a<=e||s>=n&&a>=e?r-t-i:s>n&&a<e||r<t&&a>e?s-n+o:0,v9=t=>t.parentElement??(t.getRootNode().host||null),k9=t=>{let n=window.getComputedStyle(t);return{bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0,right:parseFloat(n.scrollMarginRight)||0,top:parseFloat(n.scrollMarginTop)||0}},gM=(t,n)=>{var e,i;if(typeof document>"u")return[];let{block:o,boundary:r,inline:s,scrollMode:a,skipOverflowHiddenElements:c}=n,l=typeof r=="function"?r:On=>On!==r;if(!fM(t))throw new TypeError("Invalid target");let d=document.scrollingElement||document.documentElement,u=[],g=t;for(;fM(g)&&l(g);){if(g=v9(g),g===d){u.push(g);break}g!=null&&g===document.body&&b2(g)&&!b2(document.documentElement)||g!=null&&b2(g,c)&&u.push(g)}let f=((e=window.visualViewport)==null?void 0:e.width)??innerWidth,y=((i=window.visualViewport)==null?void 0:i.height)??innerHeight,{scrollX:_,scrollY:A}=window,{bottom:R,height:Z,left:ee,right:_e,top:ge,width:Se}=t.getBoundingClientRect(),{bottom:Xe,left:Ut,right:ni,top:ii}=k9(t),rt=o==="start"||o==="nearest"?ge-ii:o==="end"?R+Xe:ge+Z/2-ii+Xe,Ct=s==="center"?ee+Se/2-Ut+ni:s==="end"?_e+ni:ee-Ut,Rn=[];for(let On=0;On<u.length;On++){let Re=u[On],{bottom:Nt,height:Pn,left:Qt,right:oi,top:cn,width:ln}=Re.getBoundingClientRect();if(a==="if-needed"&&ge>=0&&ee>=0&&R<=y&&_e<=f&&ge>=cn&&R<=Nt&&ee>=Qt&&_e<=oi)return Rn;let zr=getComputedStyle(Re),ml=parseInt(zr.borderLeftWidth,10),gl=parseInt(zr.borderTopWidth,10),yl=parseInt(zr.borderRightWidth,10),vl=parseInt(zr.borderBottomWidth,10),$t=0,Wt=0,kl="offsetWidth"in Re?Re.offsetWidth-Re.clientWidth-ml-yl:0,bl="offsetHeight"in Re?Re.offsetHeight-Re.clientHeight-gl-vl:0,Sp="offsetWidth"in Re?Re.offsetWidth===0?0:ln/Re.offsetWidth:0,Dp="offsetHeight"in Re?Re.offsetHeight===0?0:Pn/Re.offsetHeight:0;if(d===Re)o==="start"?$t=rt:o==="end"?$t=rt-y:o==="nearest"?$t=Bh(A,A+y,y,gl,vl,A+rt,A+rt+Z,Z):$t=rt-y/2,s==="start"?Wt=Ct:s==="center"?Wt=Ct-f/2:s==="end"?Wt=Ct-f:Wt=Bh(_,_+f,f,ml,yl,_+Ct,_+Ct+Se,Se),$t=Math.max(0,$t+A),Wt=Math.max(0,Wt+_);else{o==="start"?$t=rt-cn-gl:o==="end"?$t=rt-Nt+vl+bl:o==="nearest"?$t=Bh(cn,Nt,Pn,gl,vl+bl,rt,rt+Z,Z):$t=rt-(cn+Pn/2)+bl/2,s==="start"?Wt=Ct-Qt-ml:s==="center"?Wt=Ct-(Qt+ln/2)+kl/2:s==="end"?Wt=Ct-oi+yl+kl:Wt=Bh(Qt,oi,ln,ml,yl+kl,Ct,Ct+Se,Se);let{scrollLeft:hg,scrollTop:pg}=Re;$t=Dp===0?0:Math.max(0,Math.min(pg+$t/Dp,Re.scrollHeight-Pn/Dp+bl)),Wt=Sp===0?0:Math.max(0,Math.min(hg+Wt/Sp,Re.scrollWidth-ln/Sp+kl)),rt+=pg-$t,Ct+=hg-Wt}Rn.push({el:Re,left:Wt,top:$t})}return Rn},b9=t=>t===Object(t)&&Object.keys(t).length!==0,x9=t=>typeof t=="object"?typeof t.behavior=="function":!1,C9=t=>t===!1?{block:"end",inline:"nearest"}:b9(t)?t:{block:"start",inline:"nearest"},_9=t=>{let n=window.getComputedStyle(t);return{bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0,right:parseFloat(n.scrollMarginRight)||0,top:parseFloat(n.scrollMarginTop)||0}},w9=t=>{let n=t;for(;n&&n.parentNode;){if(n.parentNode===document)return!0;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode}return!1};function AM(t,n){if(!t.isConnected||!w9(t))return;let e=_9(t);if(x9(n))return n.behavior(gM(t,n));let i=typeof n=="boolean"||n==null?void 0:n.behavior;for(let{el:o,left:r,top:s}of gM(t,C9(n))){let a=s-e.top+e.bottom,c=r-e.left+e.right;o.scroll({behavior:i,left:c,top:a})}}var Zh=class{static root(...n){return I("q-accordion--root",n)}};function Hh(t="m"){return`q-size-${t}`}var Ys=class{static root(n,e,...i){return I("q-accordion-item--root",{"q-disabled":n,"q-separator":!e},i)}static titleBar(n,e,...i){return I("q-accordion-item--title-bar",{"q-disabled":n},Hh(e),i)}static expandIcon(n,e,i,...o){return I("q-accordion-item--expand-icon",`q-placement-${e}`,{"q-disabled":i,"q-expanded":n},o)}static label(n,e,...i){return I("q-accordion-item--label",Hh(n),{"q-disabled":e},i)}static secondaryText(n,...e){return I("q-accordion-item--secondary-text",{"q-disabled":n},e)}static panel(n,...e){return I("q-accordion-item--panel",Hh(n),e)}static description(n,...e){return I("q-accordion-item--description",Hh(n),e)}};T(Ys,"startIcon","q-accordion-item--start-icon"),T(Ys,"endIcon","q-accordion-item--end-icon");var M9={l:"xl",m:"l",s:"m"},Kh=class{static getIconSize(n){return M9[n]}},Wi=class{static root(n="neutral"){return I("q-alert-banner--root",`q-color-${n}`)}};T(Wi,"headIcon","q-alert-banner--head-icon"),T(Wi,"closeButton","q-alert-banner--close-button"),T(Wi,"description","q-alert-banner--description"),T(Wi,"content","q-alert-banner--content"),T(Wi,"label","q-alert-banner--label");function LM(t){return t.split(" ").reduce((n,e)=>(n[e]=!0,n),{})}function Xh(t){return typeof t=="number"||/^\d+$/.test(t)?`${t}px`:t}function ap(t){return Array.isArray(t)?t:[t]}function wr(t){return t?"q-disabled":!1}function yM(t){return t?"q-full-height":!1}function S2(t){return t?"q-full-width":!1}function x2(t){return`q-size-${t}`}var E2=t=>typeof t<"u"&&t!==null;function sa(t){return typeof t<"u"&&t!==null}function C2(t,n){let e=n-t+1;return Array.from({length:e},(i,o)=>t+o)}function aa(t=0){return typeof t=="number"?{enter:t,exit:t}:t}function A2(t="ease"){return typeof t=="string"?{enter:t,exit:t}:t}var Si=class{};T(Si,"clickable",!0),T(Si,"color","neutral"),T(Si,"content",""),T(Si,"disabled",!1),T(Si,"emphasis","subtle"),T(Si,"shape","round"),T(Si,"size","m"),T(Si,"variant","text");var Uh={l:"36",m:"32",s:"28",xl:"40",xs:"24"},vM={l:"14",m:"14",s:"12",xl:"17",xs:"10"},Mr=class{};T(Mr,"getNumericSize",(t,n=!0)=>n?Uh[t]?`${Uh[t]}px`:Xh(t):Uh[t]?`${Uh[t]}`:`${t}`),T(Mr,"getNumericFontSize",t=>vM[t]?`${vM[t]}px`:Xh(t)),T(Mr,"getIconSize",(t,n)=>t??n),T(Mr,"getContent",t=>t.slice(0,2));var I9={informative:"brand",negative:"red",positive:"green",warning:"yellow"},Js=class{static root(n,e="text",i="m",o="standard",r,s,...a){return I("q-badge--root",`q-color-${I9[n]||n}`,`q-kind-${e}`,`q-size-${i}`,`q-emphasis-${o}`,{"q-floating":s},wr(r),a)}};T(Js,"icon","q-badge--icon"),T(Js,"content","q-badge--content");function kM(t="m"){return`q-size-${t}`}var $c=class{static root(n){return I("q-breadcrumb-item--root",{"q-disabled":n})}static label(n,e){return I("q-breadcrumb-item--label",kM(e),{"has-icon":n})}static content(n,e,i){return I("q-breadcrumb-item--content",kM(e),{"q-active":i,"q-disabled":n})}};T($c,"icon","q-breadcrumb-item--icon"),T($c,"separator","q-breadcrumb-item--separator");var Yh=class{static root(...n){return I("q-breadcrumb--root",n)}};T(Yh,"listItem","q-breadcrumb--list-item");function _2(t="m"){return`q-size-${t}`}var Jh=class{static root(n="neutral",e,i="ghost",o,r,s,a,c,...l){return I("q-button--root",`q-button--${i}`,`q-${n}`,{"q-dense":o,"q-disable-transitions":c,"q-disabled":s,"q-full-width":r,"q-selected":a},_2(e),l)}static endIcon(n,...e){return I("q-button--end-icon","q-icon",_2(n),e)}static startIcon(n,...e){return I("q-button--start-icon","q-icon",_2(n),e)}},Zi=class{static root(n,e,i,...o){return I("q-button-group--root",`q-${i}`,`q-${e}`,{"q-compact":n},o)}static startButton(n,...e){return I("q-button-group--start",`q-${n}`,e)}static endButton(n,...e){return I("q-button-group--end",`q-${n}`,e)}static centerButton(n,...e){return I("q-button-group--center",`q-${n}`,e)}};var ea=class{static root(n,e,i,...o){return I("q-checkbox--root",wr(i),{"q-checked":n,"q-indeterminate":!n&&e,"q-selected":n||e},o)}static checkbox(n){return I("q-checkbox--box",wr(n))}static label(n,...e){return I("q-checkbox--label",wr(n),e)}static labelTemplate(n,...e){return I("q-checkbox--label-template",wr(n),e)}},Wc=class{static root(n,e,...i){return I("q-combobox--root",{"q-disabled":e,"q-full-width":n},i)}static input(n,e){return I("q-combobox--input",{"q-disabled":n,"q-filterable":e})}static inputContainer(){return I("q-combobox--input-container")}static inputWrapper(n="m",e){return I("q-combobox--input-wrapper",`q-size-${n}`,{"q-has-tags":e})}};T(Wc,"inputGhost","q-combobox--input-ghost");function Uc(t,n){return t?typeof t=="string"?t:typeof n=="function"?n(t):t[n]:""}var Tr=class{static makeGetOptionLabel(n){return e=>e?typeof e!="object"?e:n?Uc(e,n):"label"in e?e.label:e:""}static makeGetOptionValue(n,e){return i=>i?typeof i!="object"?i:!e&&!n?"label"in i?i.label:i:e?Uc(i,e):n?Uc(i,n):"":""}static getSafeValue(n){return n?ap(n):[]}static getOptionComparer(n){return(e,i)=>Array.isArray(e)||Array.isArray(i)?e===i:Uc(e,n)===Uc(i,n)}static isOptionDisabled(n){return typeof n=="string"?!1:n?.disabled??!1}static makeDefaultFilterFn(n){return(e,i)=>!i||!i.length?e:EM(e,i,{keys:typeof n=="string"||typeof n=="number"?[`${n}`]:typeof n=="symbol"?[String(n)]:[o=>n(o)]})}static shouldCloseFromSelection(n,e,i){return!!(e||i&&n.shiftKey)}},Ir=class{static labelWrapper(){return I("q-device-card--label-wrapper")}static label(){return I("q-device-card--label")}static root(n="2",e,i){return I("q-device-card--root",`q-elevation-${n}`,{"q-full-height":i,"q-has-top-section":e})}};T(Ir,"description","q-device-card--description"),T(Ir,"footer","q-device-card--footer"),T(Ir,"header","q-device-card--header"),T(Ir,"metadata","q-device-card--metadata");var Tt=class{};T(Tt,"animationDuration",250),T(Tt,"animationEasing","ease"),T(Tt,"breakpoints",Object.freeze({"0px":"95vw","360px":"85vw","640px":"400px","1280px":"500px"})),T(Tt,"closeOnEscape",!0),T(Tt,"disabled",!1),T(Tt,"disableAnimations",!1),T(Tt,"disableAutoFocus",!1),T(Tt,"disableScrollLock",!1),T(Tt,"fullHeight",!1),T(Tt,"fullWidth",!1),T(Tt,"hideBackdrop",!1),T(Tt,"keepMounted",!1),T(Tt,"elevation",5),T(Tt,"size","m"),T(Tt,"zIndex","var(--q-zindex-modal)");var Gc=class{static root(n="default",e,i="primary",...o){return I("q-divider--root",`q-${n}-${i}`,`q-orientation-${e}`,o)}},Zc=class{static getSpacing(n,e,i){return!e&&!n?"0":i==="horizontal"?`${n??0}px 0 ${e??0}px 0`:`0 ${e??0}px 0 ${n??0}px`}},ep=class{static root(n){return I("q-dropdown--root",{"q-full-width":n})}static controls(n){return I("q-dropdown--controls",`q-${n}`)}},rn=class{static input(n,...e){return I("q-form-field--input",{"q-error":n},e)}static inputContainer(n="m",e,i,o,...r){return I("q-form-field--input-container",`q-size-${n}`,{"q-disabled":e,"q-error":i,"q-select":o},r)}};T(rn,"actions","q-form-field--actions"),T(rn,"actionButton","q-form-field--action-button"),T(rn,"clearIcon","q-form-field--clear-icon"),T(rn,"endIcon","q-form-field--end-icon"),T(rn,"errorIcon","q-form-field--error-icon"),T(rn,"startIcon","q-form-field--start-icon"),T(rn,"error","q-form-field--error"),T(rn,"hint","q-form-field--hint"),T(rn,"label","q-form-field--label"),T(rn,"root","q-form-field--root");function bM(t="primary"){return`q-color-${t}`}var $i=class{static root(n,...e){return I("q-header--root",bM(n),e)}static navItem(n,e,...i){return I("q-header--nav-item",bM(n),{"q-active":e},i)}};T($i,"content","q-header--content"),T($i,"actionsContainer","q-header--actions-container"),T($i,"controlsContainer","q-header--controls-container"),T($i,"logoContainer","q-header--logo-container"),T($i,"menuContainer","q-header--menu-container"),T($i,"title","q-header--title");var Kc=class{static root(n,...e){return I("q-icon",{"q-disabled":n},e)}};var Er=class{static root(n="neutral",e="square",i="m",o="ghost",r,s,a,c,...l){return I("q-icon-button--root",`q-button--${o}`,`q-${n}`,`q-shape-${e}`,`q-size-${i}`,{"q-dense":r,"q-disable-transitions":c,"q-disabled":s,"q-selected":a},l)}},Gi=class{static root(n,...e){return I("q-inline-alert--root",`q-color-${n??"neutral"}`,e)}static closeButton(...n){return I("q-inline-alert--close-button",n)}};T(Gi,"bottomContent","q-inline-alert--bottom-content"),T(Gi,"description","q-inline-alert--description"),T(Gi,"content","q-inline-alert--content"),T(Gi,"header","q-inline-alert--header"),T(Gi,"label","q-inline-alert--label");function w2(t="m"){return`q-size-${t}`}var ta=class{static hint(n,...e){return I("q-input--hint",w2(n),e)}static label(n,...e){return I("q-input--label",w2(n),e)}static error(n,...e){return I("q-input--error",w2(n),e)}},Xc=class{static root(n,e,...i){return I("q-link--root",{"q-disabled":e},`q-variant-${n}`,i)}static text(...n){return I("q-link--text",n)}};var Po=class{static root(n,...e){return I("q-menu--root",{"q-display-inline":n},e)}};T(Po,"list","q-menu--list"),T(Po,"listItem","q-menu--list-item"),T(Po,"popup","q-menu--popup");var Oo=class{};T(Oo,"animationDuration",250),T(Oo,"autoFocus",!0),T(Oo,"loop",!0),T(Oo,"restoreFocus",!0),T(Oo,"size","m"),T(Oo,"zIndex","var(--q-zindex-dropdown)");var Yc=class{static interactionDisabled(n){return n.sectionTitle||n.disabled}};function M2(t="m"){return`q-size-${t}`}var Xn=class{static root(n=!1,e,...i){return I("q-menu-item--root",{"q-disabled":n,"q-separator-bottom":e==="bottom"||e==="both","q-separator-top":e==="top"||e==="both"},i)}static label(n){return I("q-menu-item--label",M2(n))}static description(n){return I("q-menu-item--description",M2(n))}static secondaryText(n){return I("q-menu-item--secondary-text",M2(n))}static content(n,e){return I("q-menu-item--content",{"has-start-icon":n,"q-disabled":e})}};T(Xn,"endContent","q-menu-item--end-content"),T(Xn,"endIcon","q-menu-item--end-icon"),T(Xn,"startIcon","q-menu-item--start-icon"),T(Xn,"startContent","q-menu-item--start-content"),T(Xn,"sectionTitle","q-menu-item--section-title");function xM(t="informative"){return`q-color-${t}`}var Di=class{static root(n){return I("q-notification--root",{"q-placement-inline":n})}static iconWrapper(n){return I("q-notification--icon-wrapper",xM(n))}static bar(n="informative"){return I("q-notification--bar",xM(n))}};T(Di,"closeIcon","q-notification--close-icon"),T(Di,"content","q-notification--content"),T(Di,"description","q-notification--description"),T(Di,"label","q-notification--label"),T(Di,"subtleLabel","q-notification--subtle-label"),T(Di,"bottomContent","q-notification--bottom-content");var na=class{static root(...n){return I("q-overlay-panel-popup--root",n)}static position(n){return I(`q-position-${n}`)}static arrow(n){return I("q-overlay-panel--arrow",`q-${n}`)}},ct=class{};T(ct,"animationDuration",200),T(ct,"arrow",!1),T(ct,"autoUpdate",!0),T(ct,"elevation",3),T(ct,"flip",!0),T(ct,"focus",!1),T(ct,"hover",!1),T(ct,"offset",1),T(ct,"placement","bottom-start"),T(ct,"position","absolute"),T(ct,"restoreFocus",!0),T(ct,"zIndex","var(--q-zindex-dropdown)");var Ki={boundarySeparator(...t){return I("q-pagination--boundary-separator",t)},pageLink(t,...n){return I("q-pagination--page-link",{"q-active":t},n)},pageLinksContainer(...t){return I("q-pagination--page-links-container",t)},pageMetadata(...t){return I("q-pagination--page-metadata",t)},pageRowsDropdownContainer(...t){return I("q-pagination--page-rows-dropdown-container",t)},pageRowsLabel(...t){return I("q-pagination--page-rows-label",t)},root(t,...n){return I("q-pagination--root",{"q-full-width":t},n)}},tp=class{static computePageLinks({boundaryCount:n,hidePageLinks:e,page:i,pageCount:o,siblingCount:r}){if(e)return[];let s=C2(1,Math.min(n,o)),a=C2(Math.max(o-n+1,n+1),o),c=Math.max(Math.min(i-r,o-n-r*2-1),n+2),l=Math.min(Math.max(i+r,n+r*2+2),a.length>0?a[0]-2:o-1),d=[...s,...c>n+2?["separator"]:n+1<o-n?[n+1]:[],...C2(c,l),...l<o-n-1?["separator"]:o-n>n?[o-n]:[],...a].map(u=>typeof u=="number"?{active:u===i,label:`Go to page ${u}`,page:u}:"separator");return d.length?d:[{active:!0,label:"Go to page 1",page:1}]}},S9={l:"md",m:"sm",s:"xs"},D9={l:"sm",m:"sm",s:"xs"},Dr=class{static label(n,...e){return I("q-popover--label",`q-font-body-${S9[n]}-strong`,e)}static description(n,...e){return I("q-popover--description",`q-font-body-${D9[n??"m"]}`,e)}};T(Dr,"root","q-popover--root"),T(Dr,"bottomContent","q-popover--bottom-content"),T(Dr,"dismissButton","q-popover--dismiss-button");function CM(t="m"){return`q-size-${t}`}var ia=class{static root(n,e,...i){return I("q-progress-bar--root",{"q-label-side":e,"q-label-top":n},i)}static progressBarContainer(n){return I("q-progress-bar--container",CM(n))}static progress(n,e){return I("q-progress-bar--progress",CM(n),{"q-indeterminate":e})}};T(ia,"label","q-progress-bar--label"),T(ia,"topLabelContainer","q-progress-bar--top-label-container");function T9(t="m"){return`q-size-${t}`}var oa=class{static root(n,...e){return I("q-progress-circle--root",{"q-indeterminate":n},e)}static label(n){return I("q-progress-circle--label",T9(n))}static outerCircle(n){return I("q-progress-circle--outer-circle",{"q-indeterminate":n})}};T(oa,"progressSvg","q-progress-circle--svg"),T(oa,"innerCircle","q-progress-circle--inner-circle");var Ar=class{static getStrokeWidthFromSize(n){switch(n){case"xxs":case"xs":case"s":return 7;case"m":case"l":return 6;default:return n<48?7:n>=48&&n<=80?6:5}}static getPixelSize(n){if(typeof n=="number")return`${n}px`;switch(n){case"xxs":return"16px";case"xs":return"20px";case"s":return"32px";case"m":return"48px";case"l":return"80px";default:return"32px"}}static getCanShowLabel(n,e,i){return!n&&e&&(typeof i=="number"&&i>=48||i==="m"||i==="l")}static getStrokeDashOffset(n){return sa(n)?288.88*((100-n)/100):288.88}},np=class{static root(n,e,...i){return I("q-radio--root",{"q-disabled":e,"q-selected":n},i)}static circle(n){return I("q-radio--circle",{"q-disabled":n})}static innerCircle(){return I("q-radio--inner-circle")}static label(n){return I(ea.label(n),"q-radio--label")}},ra=class{static input(n,...e){return I("q-select--input",{"q-disabled":n},e)}static optionsContainer(...n){return I("q-select--options-container",n)}static root(n,e,...i){return I("q-select--root",{"q-disabled":e,"q-full-width":n},i)}static dropdownIcon(n,...e){return I("q-select--dropdown-icon",n?"q-open":"",e)}static option(n,e,i,o,r,...s){return I("q-select--option",{"q-disabled":e,"q-highlighted":r,"q-no-option-label":o,"q-selected":n,"q-virtual":i},s)}},sn=class{static inputHiddenAccessible(n,...e){return I("q-input-hidden-accessible",{"q-disabled":n},e)}static elevation(n){return I(`q-elevation-${n}`)}};T(sn,"displayContents","q-display-contents"),T(sn,"hiddenAccessible","q-hidden-accessible"),T(sn,"fullHeight","q-full-height"),T(sn,"displayNone","q-display-none"),T(sn,"overflowHidden","q-overflow-hidden"),T(sn,"relative","q-relative");var RM={content(t,n,e,...i){return I("q-side-navigation-item--content",{"q-active":n,"q-collapsed":t,"q-disabled":e},i)},endContent:"q-side-navigation-item--end-content",endIcon(t,...n){return I("q-side-navigation-item--end-icon",{"q-expanded":t},n)},label:"q-side-navigation-item--label",root(t,n,e,i,...o){return I("q-side-navigation-item--root",{"q-active":e,"q-collapsed":i,"q-disabled":t,"q-separator":n},o)},sectionTitle:"q-side-navigation-item--section-title",separator(t,...n){return I("q-side-navigation-item--separator",{"q-collapsed":t},n)},startContent:"q-side-navigation-item--start-content",startIcon:"q-side-navigation-item--start-icon"},OM={collapseButton(){return I("q-side-navigation--collapse-button")},collapseDivider(){return I("q-side-navigation--collapse-divider")},collapseIcon(){return I("q-side-navigation--collapse-icon")},items(t){return I("q-side-navigation--items",{"q-collapse-container":t})},root(t,n,...e){return I("q-side-navigation--root",{"q-collapsed":t,"q-full-height":n},e)},searchContainer(){return I("q-side-navigation--search-container")},topContent(t){return I("q-side-navigation--top-content",{"q-sticky":t})}};var L2={arrow(t="top"){return I({"q-tooltip--arrow-bottom":t.includes("bottom"),"q-tooltip--arrow-left":t.includes("left"),"q-tooltip--arrow-right":t.includes("right"),"q-tooltip--arrow-top":t.includes("top")})},label(t="m",...n){return I("q-tooltip--label",`q-size-${t}`,n)},root(t="top",n="absolute",...e){return I("q-tooltip--root",`q-tooltip--${t}`,`q-position-${n}`,e)}},En=class{};T(En,"animationDuration",250),T(En,"arrow",!0),T(En,"disabled",!1),T(En,"flip",!0),T(En,"focus",!0),T(En,"hover",!0),T(En,"offset",5),T(En,"placement","top"),T(En,"position","absolute"),T(En,"zIndex","var(--q-zindex-tooltip)");var Sr=class{};T(Sr,"disabled",!1),T(Sr,"kind","dot"),T(Sr,"size","m"),T(Sr,"subtle",!1);function _M(t="m"){return`q-size-${t}`}function Qh(t){return`q-orientation-${t??"horizontal"}`}function $h(t){return`q-status-${t??"incomplete"}`}var ip=class{static root(n,e,i,...o){return I("q-step-item--root",Qh(n),$h(e),{"q-step--inline":i},o)}static step(n,e,i,o,r){return I("q-step-item--step",Qh(n),$h(o),_M(e),{"q-selected":i},{"q-icon":r})}static label(n,e,i,o,r){return I("q-step-item--label",Qh(n),$h(e),_M(o),{"q-selected":i},{"q-step--inline":r})}static description(n,e,i){return I("q-step-item--description",Qh(n),$h(e),{"q-step--inline":i})}};T(ip,"content","q-step-item--content");var op=class{static root(n,e,i,...o){return I("q-switch--root",{"q-disabled":n,"q-full-width":i,"q-toggled":e},o)}static slider(n,e){return I("q-switch--slider",x2(n),{"q-toggled":e})}static track(n,e){return I("q-switch--track",x2(n),{"q-toggled":e})}static label(n,e,i,...o){return I("q-switch--label",x2(n),wr(i),`q-placement-${e}`,o)}};T(op,"inputContainer","q-switch--input-container");function wM(t){return`q-size-${t}`}var aJ={table(...t){return I("q-table--table",t)},tbody(...t){return I("q-table--tbody",t)},td(t,n,e,i,o,...r){return I("q-table--td",{"q-aggregated":n,"q-compact":i,"q-divider":t,"q-grouped":e},wM(o),r)},tfoot(...t){return I("q-table--tfoot",t)},th(t,n,e,i,o,...r){return I("q-table--th",{"q-compact":i,"q-divider":t,"q-dragging":n,"q-dragging-over":e},wM(o),r)},thead(...t){return I("q-table--thead",t)},tr(t,n,e,...i){return I("q-table--tr",{"q-dragging":n,"q-dragging-over":e,"q-selected":t},i)}};function MM(t){return`q-size-${t??"m"}`}var Jc={content(t,n,...e){return I("q-tab--content",S2(t),{"q-hidden":n},e)},dismissAction(...t){return I("q-tab--dismiss-action",Er.root("neutral","square","xs","ghost",!1,!1,!1,!1),t)},endIcon:"q-tab--end-icon",root(t,n,e,i,o,...r){return I("q-tab--root",`q-tab--${e}-${i??"horizontal"}`,MM(o),wr(t),{"q-selected":n},r)},separator(t){return I("q-tab--separator",MM(t))},startIcon:"q-tab--start-icon"};function I2(t){return`q-orientation-${t??"horizontal"}`}function Qc(t){return`q-alignment-${t}`}var ca={horizontalBar(t){return I("q-tabs--horizontal-bar",Qc(t))},nav(t,n,e,...i){return I("q-tabs--nav",I2(t),Qc(e),yM(n),i)},panel(t,n,e,...i){return I("q-tabs--panel",I2(t),Qc(n),S2(e),i)},root(t,n,e,i,...o){return I("q-tabs--root",I2(t),Qc(e),yM(n),S2(i),o)},verticalBar(t){return I("q-tabs--vertical-bar",Qc(t))}},E9={l:"m",m:"s",s:"s"},Fo={getHorizontalBarLeftOffset(t,n){return!t||!n?0:n.left-t.left},getHorizontalBarRightOffset(t,n){return!t||!n?0:n.right-t.right},getHorizontalBarStyle(t,n,e,i){if(!e||!n||!i)return{width:"0px"};let o=`${e.width}px`;return t==="start"?{left:`${Fo.getHorizontalBarLeftOffset(n,e)}px`,width:o}:{right:`${Fo.getHorizontalBarRightOffset(e,i)}px`,width:o}},getIconSize(t){return E9[t]},getShowTabSeparator(t,n,e,i,o){return t!=="vertical"&&n!=="secondary"&&!e&&!i&&o},getVerticalBarStyle(t,n){return!n||!t?{height:"0px",top:"0px"}:{height:`${n.height}px`,top:`${Fo.getVerticalBarTopOffset(t,n)}px`}},getVerticalBarTopOffset(t,n){return!t||!n?0:n.top-t.top}},rp=class{static root(n,e,i,o,r){return I("q-tag--root",`q-size-${n??"m"}`,{"q-checked":e,"q-disabled":o,"q-readonly":i,"q-stretch":r})}static closeIcon(){return I("q-tag--close-icon")}static label(){return I("q-tag--label")}};var sp=class{static root(n,...e){return I("q-text-input--root",{"q-full-width":n},e)}static input(n){return I("q-text-input--input",`q-type-${n}`)}};var No=Math.min,Xi=Math.max,tl=Math.round,nl=Math.floor,Yn=t=>({x:t,y:t}),A9={left:"right",right:"left",bottom:"top",top:"bottom"},L9={start:"end",end:"start"};function PM(t,n,e){return Xi(t,No(n,e))}function il(t,n){return typeof t=="function"?t(n):t}function Lr(t){return t.split("-")[0]}function la(t){return t.split("-")[1]}function FM(t){return t==="x"?"y":"x"}function lp(t){return t==="y"?"height":"width"}function da(t){return["top","bottom"].includes(Lr(t))?"y":"x"}function dp(t){return FM(da(t))}function NM(t,n,e){e===void 0&&(e=!1);let i=la(t),o=dp(t),r=lp(o),s=o==="x"?i===(e?"end":"start")?"right":"left":i==="start"?"bottom":"top";return n.reference[r]>n.floating[r]&&(s=el(s)),[s,el(s)]}function qM(t){let n=el(t);return[cp(t),n,cp(n)]}function cp(t){return t.replace(/start|end/g,n=>L9[n])}function R9(t,n,e){let i=["left","right"],o=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return e?n?o:i:n?i:o;case"left":case"right":return n?r:s;default:return[]}}function VM(t,n,e,i){let o=la(t),r=R9(Lr(t),e==="start",i);return o&&(r=r.map(s=>s+"-"+o),n&&(r=r.concat(r.map(cp)))),r}function el(t){return t.replace(/left|right|bottom|top/g,n=>A9[n])}function O9(t){return k({top:0,right:0,bottom:0,left:0},t)}function R2(t){return typeof t!="number"?O9(t):{top:t,right:t,bottom:t,left:t}}function Rr(t){let{x:n,y:e,width:i,height:o}=t;return{width:i,height:o,top:e,left:n,right:n+i,bottom:e+o,x:n,y:e}}function jM(t,n,e){let{reference:i,floating:o}=t,r=da(n),s=dp(n),a=lp(s),c=Lr(n),l=r==="y",d=i.x+i.width/2-o.width/2,u=i.y+i.height/2-o.height/2,g=i[a]/2-o[a]/2,f;switch(c){case"top":f={x:d,y:i.y-o.height};break;case"bottom":f={x:d,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:u};break;case"left":f={x:i.x-o.width,y:u};break;default:f={x:i.x,y:i.y}}switch(la(n)){case"start":f[s]-=g*(e&&l?-1:1);break;case"end":f[s]+=g*(e&&l?-1:1);break}return f}var zM=(t,n,e)=>lt(void 0,null,function*(){let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=e,a=r.filter(Boolean),c=yield s.isRTL==null?void 0:s.isRTL(n),l=yield s.getElementRects({reference:t,floating:n,strategy:o}),{x:d,y:u}=jM(l,i,c),g=i,f={},y=0;for(let _=0;_<a.length;_++){let{name:A,fn:R}=a[_],{x:Z,y:ee,data:_e,reset:ge}=yield R({x:d,y:u,initialPlacement:i,placement:g,strategy:o,middlewareData:f,rects:l,platform:s,elements:{reference:t,floating:n}});d=Z??d,u=ee??u,f=K(k({},f),{[A]:k(k({},f[A]),_e)}),ge&&y<=50&&(y++,typeof ge=="object"&&(ge.placement&&(g=ge.placement),ge.rects&&(l=ge.rects===!0?yield s.getElementRects({reference:t,floating:n,strategy:o}):ge.rects),{x:d,y:u}=jM(l,g,c)),_=-1)}return{x:d,y:u,placement:g,strategy:o,middlewareData:f}});function BM(t,n){return lt(this,null,function*(){var e;n===void 0&&(n={});let{x:i,y:o,platform:r,rects:s,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:g=!1,padding:f=0}=il(n,t),y=R2(f),A=a[g?u==="floating"?"reference":"floating":u],R=Rr(yield r.getClippingRect({element:(e=yield r.isElement==null?void 0:r.isElement(A))==null||e?A:A.contextElement||(yield r.getDocumentElement==null?void 0:r.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),Z=u==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,ee=yield r.getOffsetParent==null?void 0:r.getOffsetParent(a.floating),_e=(yield r.isElement==null?void 0:r.isElement(ee))?(yield r.getScale==null?void 0:r.getScale(ee))||{x:1,y:1}:{x:1,y:1},ge=Rr(r.convertOffsetParentRelativeRectToViewportRelativeRect?yield r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:Z,offsetParent:ee,strategy:c}):Z);return{top:(R.top-ge.top+y.top)/_e.y,bottom:(ge.bottom-R.bottom+y.bottom)/_e.y,left:(R.left-ge.left+y.left)/_e.x,right:(ge.right-R.right+y.right)/_e.x}})}var HM=t=>({name:"arrow",options:t,fn(e){return lt(this,null,function*(){let{x:i,y:o,placement:r,rects:s,platform:a,elements:c,middlewareData:l}=e,{element:d,padding:u=0}=il(t,e)||{};if(d==null)return{};let g=R2(u),f={x:i,y:o},y=dp(r),_=lp(y),A=yield a.getDimensions(d),R=y==="y",Z=R?"top":"left",ee=R?"bottom":"right",_e=R?"clientHeight":"clientWidth",ge=s.reference[_]+s.reference[y]-f[y]-s.floating[_],Se=f[y]-s.reference[y],Xe=yield a.getOffsetParent==null?void 0:a.getOffsetParent(d),Ut=Xe?Xe[_e]:0;(!Ut||!(yield a.isElement==null?void 0:a.isElement(Xe)))&&(Ut=c.floating[_e]||s.floating[_]);let ni=ge/2-Se/2,ii=Ut/2-A[_]/2-1,rt=No(g[Z],ii),Ct=No(g[ee],ii),Rn=rt,On=Ut-A[_]-Ct,Re=Ut/2-A[_]/2+ni,Nt=PM(Rn,Re,On),Pn=!l.arrow&&la(r)!=null&&Re!==Nt&&s.reference[_]/2-(Re<Rn?rt:Ct)-A[_]/2<0,Qt=Pn?Re<Rn?Re-Rn:Re-On:0;return{[y]:f[y]+Qt,data:k({[y]:Nt,centerOffset:Re-Nt-Qt},Pn&&{alignmentOffset:Qt}),reset:Pn}})}});var UM=function(t){return t===void 0&&(t={}),{name:"flip",options:t,fn(e){return lt(this,null,function*(){var i,o;let{placement:r,middlewareData:s,rects:a,initialPlacement:c,platform:l,elements:d}=e,Re=il(t,e),{mainAxis:u=!0,crossAxis:g=!0,fallbackPlacements:f,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:A=!0}=Re,R=Tp(Re,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((i=s.arrow)!=null&&i.alignmentOffset)return{};let Z=Lr(r),ee=da(c),_e=Lr(c)===c,ge=yield l.isRTL==null?void 0:l.isRTL(d.floating),Se=f||(_e||!A?[el(c)]:qM(c)),Xe=_!=="none";!f&&Xe&&Se.push(...VM(c,A,_,ge));let Ut=[c,...Se],ni=yield BM(e,R),ii=[],rt=((o=s.flip)==null?void 0:o.overflows)||[];if(u&&ii.push(ni[Z]),g){let Nt=NM(r,a,ge);ii.push(ni[Nt[0]],ni[Nt[1]])}if(rt=[...rt,{placement:r,overflows:ii}],!ii.every(Nt=>Nt<=0)){var Ct,Rn;let Nt=(((Ct=s.flip)==null?void 0:Ct.index)||0)+1,Pn=Ut[Nt];if(Pn)return{data:{index:Nt,overflows:rt},reset:{placement:Pn}};let Qt=(Rn=rt.filter(oi=>oi.overflows[0]<=0).sort((oi,cn)=>oi.overflows[1]-cn.overflows[1])[0])==null?void 0:Rn.placement;if(!Qt)switch(y){case"bestFit":{var On;let oi=(On=rt.filter(cn=>{if(Xe){let ln=da(cn.placement);return ln===ee||ln==="y"}return!0}).map(cn=>[cn.placement,cn.overflows.filter(ln=>ln>0).reduce((ln,zr)=>ln+zr,0)]).sort((cn,ln)=>cn[1]-ln[1])[0])==null?void 0:On[0];oi&&(Qt=oi);break}case"initialPlacement":Qt=c;break}if(r!==Qt)return{reset:{placement:Qt}}}return{}})}}};function P9(t,n){return lt(this,null,function*(){let{placement:e,platform:i,elements:o}=t,r=yield i.isRTL==null?void 0:i.isRTL(o.floating),s=Lr(e),a=la(e),c=da(e)==="y",l=["left","top"].includes(s)?-1:1,d=r&&c?-1:1,u=il(n,t),{mainAxis:g,crossAxis:f,alignmentAxis:y}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&typeof y=="number"&&(f=a==="end"?y*-1:y),c?{x:f*d,y:g*l}:{x:g*l,y:f*d}})}var QM=function(t){return t===void 0&&(t=0),{name:"offset",options:t,fn(e){return lt(this,null,function*(){var i,o;let{x:r,y:s,placement:a,middlewareData:c}=e,l=yield P9(e,t);return a===((i=c.offset)==null?void 0:i.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:K(k({},l),{placement:a})}})}}};function up(){return typeof window<"u"}function Or(t){return WM(t)?(t.nodeName||"").toLowerCase():"#document"}function an(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Jn(t){var n;return(n=(WM(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function WM(t){return up()?t instanceof Node||t instanceof an(t).Node:!1}function An(t){return up()?t instanceof Element||t instanceof an(t).Element:!1}function ei(t){return up()?t instanceof HTMLElement||t instanceof an(t).HTMLElement:!1}function $M(t){return!up()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof an(t).ShadowRoot}function ha(t){let{overflow:n,overflowX:e,overflowY:i,display:o}=Ln(t);return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!["inline","contents"].includes(o)}function GM(t){return["table","td","th"].includes(Or(t))}function ol(t){return[":popover-open",":modal"].some(n=>{try{return t.matches(n)}catch{return!1}})}function hp(t){let n=pp(),e=An(t)?Ln(t):t;return["transform","translate","scale","rotate","perspective"].some(i=>e[i]?e[i]!=="none":!1)||(e.containerType?e.containerType!=="normal":!1)||!n&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!n&&(e.filter?e.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(e.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(e.contain||"").includes(i))}function ZM(t){let n=Yi(t);for(;ei(n)&&!Pr(n);){if(hp(n))return n;if(ol(n))return null;n=Yi(n)}return null}function pp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Pr(t){return["html","body","#document"].includes(Or(t))}function Ln(t){return an(t).getComputedStyle(t)}function rl(t){return An(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Yi(t){if(Or(t)==="html")return t;let n=t.assignedSlot||t.parentNode||$M(t)&&t.host||Jn(t);return $M(n)?n.host:n}function KM(t){let n=Yi(t);return Pr(n)?t.ownerDocument?t.ownerDocument.body:t.body:ei(n)&&ha(n)?n:KM(n)}function ua(t,n,e){var i;n===void 0&&(n=[]),e===void 0&&(e=!0);let o=KM(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=an(o);if(r){let a=fp(s);return n.concat(s,s.visualViewport||[],ha(o)?o:[],a&&e?ua(a):[])}return n.concat(o,ua(o,[],e))}function fp(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function JM(t){let n=Ln(t),e=parseFloat(n.width)||0,i=parseFloat(n.height)||0,o=ei(t),r=o?t.offsetWidth:e,s=o?t.offsetHeight:i,a=tl(e)!==r||tl(i)!==s;return a&&(e=r,i=s),{width:e,height:i,$:a}}function P2(t){return An(t)?t:t.contextElement}function pa(t){let n=P2(t);if(!ei(n))return Yn(1);let e=n.getBoundingClientRect(),{width:i,height:o,$:r}=JM(n),s=(r?tl(e.width):e.width)/i,a=(r?tl(e.height):e.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}var F9=Yn(0);function eI(t){let n=an(t);return!pp()||!n.visualViewport?F9:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function N9(t,n,e){return n===void 0&&(n=!1),!e||n&&e!==an(t)?!1:n}function Fr(t,n,e,i){n===void 0&&(n=!1),e===void 0&&(e=!1);let o=t.getBoundingClientRect(),r=P2(t),s=Yn(1);n&&(i?An(i)&&(s=pa(i)):s=pa(t));let a=N9(r,e,i)?eI(r):Yn(0),c=(o.left+a.x)/s.x,l=(o.top+a.y)/s.y,d=o.width/s.x,u=o.height/s.y;if(r){let g=an(r),f=i&&An(i)?an(i):i,y=g,_=fp(y);for(;_&&i&&f!==y;){let A=pa(_),R=_.getBoundingClientRect(),Z=Ln(_),ee=R.left+(_.clientLeft+parseFloat(Z.paddingLeft))*A.x,_e=R.top+(_.clientTop+parseFloat(Z.paddingTop))*A.y;c*=A.x,l*=A.y,d*=A.x,u*=A.y,c+=ee,l+=_e,y=an(_),_=fp(y)}}return Rr({width:d,height:u,x:c,y:l})}function F2(t,n){let e=rl(t).scrollLeft;return n?n.left+e:Fr(Jn(t)).left+e}function tI(t,n,e){e===void 0&&(e=!1);let i=t.getBoundingClientRect(),o=i.left+n.scrollLeft-(e?0:F2(t,i)),r=i.top+n.scrollTop;return{x:o,y:r}}function q9(t){let{elements:n,rect:e,offsetParent:i,strategy:o}=t,r=o==="fixed",s=Jn(i),a=n?ol(n.floating):!1;if(i===s||a&&r)return e;let c={scrollLeft:0,scrollTop:0},l=Yn(1),d=Yn(0),u=ei(i);if((u||!u&&!r)&&((Or(i)!=="body"||ha(s))&&(c=rl(i)),ei(i))){let f=Fr(i);l=pa(i),d.x=f.x+i.clientLeft,d.y=f.y+i.clientTop}let g=s&&!u&&!r?tI(s,c,!0):Yn(0);return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-c.scrollLeft*l.x+d.x+g.x,y:e.y*l.y-c.scrollTop*l.y+d.y+g.y}}function V9(t){return Array.from(t.getClientRects())}function j9(t){let n=Jn(t),e=rl(t),i=t.ownerDocument.body,o=Xi(n.scrollWidth,n.clientWidth,i.scrollWidth,i.clientWidth),r=Xi(n.scrollHeight,n.clientHeight,i.scrollHeight,i.clientHeight),s=-e.scrollLeft+F2(t),a=-e.scrollTop;return Ln(i).direction==="rtl"&&(s+=Xi(n.clientWidth,i.clientWidth)-o),{width:o,height:r,x:s,y:a}}function z9(t,n){let e=an(t),i=Jn(t),o=e.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;let l=pp();(!l||l&&n==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a,y:c}}function B9(t,n){let e=Fr(t,!0,n==="fixed"),i=e.top+t.clientTop,o=e.left+t.clientLeft,r=ei(t)?pa(t):Yn(1),s=t.clientWidth*r.x,a=t.clientHeight*r.y,c=o*r.x,l=i*r.y;return{width:s,height:a,x:c,y:l}}function XM(t,n,e){let i;if(n==="viewport")i=z9(t,e);else if(n==="document")i=j9(Jn(t));else if(An(n))i=B9(n,e);else{let o=eI(t);i={x:n.x-o.x,y:n.y-o.y,width:n.width,height:n.height}}return Rr(i)}function nI(t,n){let e=Yi(t);return e===n||!An(e)||Pr(e)?!1:Ln(e).position==="fixed"||nI(e,n)}function H9(t,n){let e=n.get(t);if(e)return e;let i=ua(t,[],!1).filter(a=>An(a)&&Or(a)!=="body"),o=null,r=Ln(t).position==="fixed",s=r?Yi(t):t;for(;An(s)&&!Pr(s);){let a=Ln(s),c=hp(s);!c&&a.position==="fixed"&&(o=null),(r?!c&&!o:!c&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ha(s)&&!c&&nI(t,s))?i=i.filter(d=>d!==s):o=a,s=Yi(s)}return n.set(t,i),i}function U9(t){let{element:n,boundary:e,rootBoundary:i,strategy:o}=t,s=[...e==="clippingAncestors"?ol(n)?[]:H9(n,this._c):[].concat(e),i],a=s[0],c=s.reduce((l,d)=>{let u=XM(n,d,o);return l.top=Xi(u.top,l.top),l.right=No(u.right,l.right),l.bottom=No(u.bottom,l.bottom),l.left=Xi(u.left,l.left),l},XM(n,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Q9(t){let{width:n,height:e}=JM(t);return{width:n,height:e}}function $9(t,n,e){let i=ei(n),o=Jn(n),r=e==="fixed",s=Fr(t,!0,r,n),a={scrollLeft:0,scrollTop:0},c=Yn(0);if(i||!i&&!r)if((Or(n)!=="body"||ha(o))&&(a=rl(n)),i){let g=Fr(n,!0,r,n);c.x=g.x+n.clientLeft,c.y=g.y+n.clientTop}else o&&(c.x=F2(o));let l=o&&!i&&!r?tI(o,a):Yn(0),d=s.left+a.scrollLeft-c.x-l.x,u=s.top+a.scrollTop-c.y-l.y;return{x:d,y:u,width:s.width,height:s.height}}function O2(t){return Ln(t).position==="static"}function YM(t,n){if(!ei(t)||Ln(t).position==="fixed")return null;if(n)return n(t);let e=t.offsetParent;return Jn(t)===e&&(e=e.ownerDocument.body),e}function iI(t,n){let e=an(t);if(ol(t))return e;if(!ei(t)){let o=Yi(t);for(;o&&!Pr(o);){if(An(o)&&!O2(o))return o;o=Yi(o)}return e}let i=YM(t,n);for(;i&&GM(i)&&O2(i);)i=YM(i,n);return i&&Pr(i)&&O2(i)&&!hp(i)?e:i||ZM(t)||e}var W9=function(t){return lt(this,null,function*(){let n=this.getOffsetParent||iI,e=this.getDimensions,i=yield e(t.floating);return{reference:$9(t.reference,yield n(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}})};function G9(t){return Ln(t).direction==="rtl"}var Z9={convertOffsetParentRelativeRectToViewportRelativeRect:q9,getDocumentElement:Jn,getClippingRect:U9,getOffsetParent:iI,getElementRects:W9,getClientRects:V9,getDimensions:Q9,getScale:pa,isElement:An,isRTL:G9};function oI(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function K9(t,n){let e=null,i,o=Jn(t);function r(){var a;clearTimeout(i),(a=e)==null||a.disconnect(),e=null}function s(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),r();let l=t.getBoundingClientRect(),{left:d,top:u,width:g,height:f}=l;if(a||n(),!g||!f)return;let y=nl(u),_=nl(o.clientWidth-(d+g)),A=nl(o.clientHeight-(u+f)),R=nl(d),ee={rootMargin:-y+"px "+-_+"px "+-A+"px "+-R+"px",threshold:Xi(0,No(1,c))||1},_e=!0;function ge(Se){let Xe=Se[0].intersectionRatio;if(Xe!==c){if(!_e)return s();Xe?s(!1,Xe):i=setTimeout(()=>{s(!1,1e-7)},1e3)}Xe===1&&!oI(l,t.getBoundingClientRect())&&s(),_e=!1}try{e=new IntersectionObserver(ge,K(k({},ee),{root:o.ownerDocument}))}catch{e=new IntersectionObserver(ge,ee)}e.observe(t)}return s(!0),r}function N2(t,n,e,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,l=P2(t),d=o||r?[...l?ua(l):[],...ua(n)]:[];d.forEach(R=>{o&&R.addEventListener("scroll",e,{passive:!0}),r&&R.addEventListener("resize",e)});let u=l&&a?K9(l,e):null,g=-1,f=null;s&&(f=new ResizeObserver(R=>{let[Z]=R;Z&&Z.target===l&&f&&(f.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var ee;(ee=f)==null||ee.observe(n)})),e()}),l&&!c&&f.observe(l),f.observe(n));let y,_=c?Fr(t):null;c&&A();function A(){let R=Fr(t);_&&!oI(_,R)&&e(),_=R,y=requestAnimationFrame(A)}return e(),()=>{var R;d.forEach(Z=>{o&&Z.removeEventListener("scroll",e),r&&Z.removeEventListener("resize",e)}),u?.(),(R=f)==null||R.disconnect(),f=null,c&&cancelAnimationFrame(y)}}var fa=QM;var sl=UM;var q2=HM;var V2=(t,n,e)=>{let i=new Map,o=k({platform:Z9},e),r=K(k({},o.platform),{_c:i});return zM(t,n,K(k({},o),{platform:r}))};function Nr(t,n,e){let i=e.initialDeps??[],o;return()=>{var r,s,a,c;let l;e.key&&((r=e.debug)!=null&&r.call(e))&&(l=Date.now());let d=t();if(!(d.length!==i.length||d.some((f,y)=>i[y]!==f)))return o;i=d;let g;if(e.key&&((s=e.debug)!=null&&s.call(e))&&(g=Date.now()),o=n(...d),e.key&&((a=e.debug)!=null&&a.call(e))){let f=Math.round((Date.now()-l)*100)/100,y=Math.round((Date.now()-g)*100)/100,_=y/16,A=(R,Z)=>{for(R=String(R);R.length<Z;)R=" "+R;return R};console.info(`%c\u23F1 ${A(y,5)} /${A(f,5)} ms`,`
9
+ font-size: .6rem;
10
+ font-weight: bold;
11
+ color: hsl(${Math.max(0,Math.min(120-120*_,120))}deg 100% 31%);`,e?.key)}return(c=e?.onChange)==null||c.call(e,o),o}}function mp(t,n){if(t===void 0)throw new Error(`Unexpected undefined${n?`: ${n}`:""}`);return t}var rI=(t,n)=>Math.abs(t-n)<1,sI=(t,n,e)=>{let i;return function(...o){t.clearTimeout(i),i=t.setTimeout(()=>n.apply(this,o),e)}};var X9=t=>t,Y9=t=>{let n=Math.max(t.startIndex-t.overscan,0),e=Math.min(t.endIndex+t.overscan,t.count-1),i=[];for(let o=n;o<=e;o++)i.push(o);return i},cI=(t,n)=>{let e=t.scrollElement;if(!e)return;let i=t.targetWindow;if(!i)return;let o=s=>{let{width:a,height:c}=s;n({width:Math.round(a),height:Math.round(c)})};if(o(e.getBoundingClientRect()),!i.ResizeObserver)return()=>{};let r=new i.ResizeObserver(s=>{let a=s[0];if(a?.borderBoxSize){let c=a.borderBoxSize[0];if(c){o({width:c.inlineSize,height:c.blockSize});return}}o(e.getBoundingClientRect())});return r.observe(e,{box:"border-box"}),()=>{r.unobserve(e)}},aI={passive:!0};var J9=typeof window>"u"?!0:"onscrollend"in window,lI=(t,n)=>{let e=t.scrollElement;if(!e)return;let i=t.targetWindow;if(!i)return;let o=0,r=t.options.useScrollendEvent&&J9?()=>{}:sI(i,()=>{n(o,!1)},t.options.isScrollingResetDelay),s=l=>()=>{let{horizontal:d,isRtl:u}=t.options;o=d?e.scrollLeft*(u&&-1||1):e.scrollTop,r(),n(o,l)},a=s(!0),c=s(!1);return c(),e.addEventListener("scroll",a,aI),e.addEventListener("scrollend",c,aI),()=>{e.removeEventListener("scroll",a),e.removeEventListener("scrollend",c)}};var eR=(t,n,e)=>{if(n?.borderBoxSize){let i=n.borderBoxSize[0];if(i)return Math.round(i[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(t.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var dI=(t,{adjustments:n=0,behavior:e},i)=>{var o,r;let s=t+n;(r=(o=i.scrollElement)==null?void 0:o.scrollTo)==null||r.call(o,{[i.options.horizontal?"left":"top"]:s,behavior:e})},gp=class{constructor(n){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,i=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(o=>{o.forEach(r=>{this._measureElement(r.target,r)})}));return{disconnect:()=>{var o;(o=i())==null||o.disconnect(),e=null},observe:o=>{var r;return(r=i())==null?void 0:r.observe(o,{box:"border-box"})},unobserve:o=>{var r;return(r=i())==null?void 0:r.unobserve(o)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([i,o])=>{typeof o>"u"&&delete e[i]}),this.options=k({debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:X9,rangeExtractor:Y9,onChange:()=>{},measureElement:eR,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0},e)},this.notify=e=>{var i,o;(o=(i=this.options).onChange)==null||o.call(i,this,e)},this.maybeNotify=Nr(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((e=this.scrollElement)==null?void 0:e.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,r)=>{this.scrollAdjustments=0,this.scrollDirection=r?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=r,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,i)=>{let o=new Map,r=new Map;for(let s=i-1;s>=0;s--){let a=e[s];if(o.has(a.lane))continue;let c=r.get(a.lane);if(c==null||a.end>c.end?r.set(a.lane,a):a.end<c.end&&o.set(a.lane,!0),o.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((s,a)=>s.end===a.end?s.index-a.index:s.end-a.end)[0]:void 0},this.getMeasurementOptions=Nr(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,i,o,r,s)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:i,scrollMargin:o,getItemKey:r,enabled:s}),{key:!1}),this.getMeasurements=Nr(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:i,scrollMargin:o,getItemKey:r,enabled:s},a)=>{if(!s)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(d=>{this.itemSizeCache.set(d.key,d.size)}));let c=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let l=this.measurementsCache.slice(0,c);for(let d=c;d<e;d++){let u=r(d),g=this.options.lanes===1?l[d-1]:this.getFurthestMeasurement(l,d),f=g?g.end+this.options.gap:i+o,y=a.get(u),_=typeof y=="number"?y:this.options.estimateSize(d),A=f+_,R=g?g.lane:d%this.options.lanes;l[d]={index:d,start:f,size:_,end:A,key:u,lane:R}}return this.measurementsCache=l,l},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Nr(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,i,o)=>this.range=e.length>0&&i>0?tR({measurements:e,outerSize:i,scrollOffset:o}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Nr(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(e,i,o,r)=>i===null?[]:e({startIndex:i.startIndex,endIndex:i.endIndex,overscan:o,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let i=this.options.indexAttribute,o=e.getAttribute(i);return o?parseInt(o,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(e,i)=>{let o=this.indexFromElement(e),r=this.measurementsCache[o];if(!r)return;let s=r.key,a=this.elementsCache.get(s);a!==e&&(a&&this.observer.unobserve(a),this.observer.observe(e),this.elementsCache.set(s,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,i,this))},this.resizeItem=(e,i)=>{let o=this.measurementsCache[e];if(!o)return;let r=this.itemSizeCache.get(o.key)??o.size,s=i-r;s!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,s,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=s,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,i)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((i,o)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(o))});return}this._measureElement(e,void 0)},this.getVirtualItems=Nr(()=>[this.getIndexes(),this.getMeasurements()],(e,i)=>{let o=[];for(let r=0,s=e.length;r<s;r++){let a=e[r],c=i[a];o.push(c)}return o},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let i=this.getMeasurements();if(i.length!==0)return mp(i[uI(0,i.length-1,o=>mp(i[o]).start,e)])},this.getOffsetForAlignment=(e,i)=>{let o=this.getSize(),r=this.getScrollOffset();i==="auto"&&e>=r+o&&(i="end"),i==="end"&&(e-=o);let s=this.options.horizontal?"scrollWidth":"scrollHeight",c=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[s]:this.scrollElement[s]:0)-o;return Math.max(Math.min(c,e),0)},this.getOffsetForIndex=(e,i="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let o=this.measurementsCache[e];if(!o)return;let r=this.getSize(),s=this.getScrollOffset();if(i==="auto")if(o.end>=s+r-this.options.scrollPaddingEnd)i="end";else if(o.start<=s+this.options.scrollPaddingStart)i="start";else return[s,i];let a=o.start-this.options.scrollPaddingStart+(o.size-r)/2;switch(i){case"center":return[this.getOffsetForAlignment(a,i),i];case"end":return[this.getOffsetForAlignment(o.end+this.options.scrollPaddingEnd,i),i];default:return[this.getOffsetForAlignment(o.start-this.options.scrollPaddingStart,i),i]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:i="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,i),{adjustments:void 0,behavior:o})},this.scrollToIndex=(e,{align:i="auto",behavior:o}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let r=this.getOffsetForIndex(e,i);if(!r)return;let[s,a]=r;this._scrollToOffset(s,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[l]=mp(this.getOffsetForIndex(e,a));rI(l,this.getScrollOffset())||this.scrollToIndex(e,{align:a,behavior:o})}else this.scrollToIndex(e,{align:a,behavior:o})}))},this.scrollBy=(e,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var e;let i=this.getMeasurements(),o;return i.length===0?o=this.options.paddingStart:o=this.options.lanes===1?((e=i[i.length-1])==null?void 0:e.end)??0:Math.max(...i.slice(-this.options.lanes).map(r=>r.end)),Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:i,behavior:o})=>{this.options.scrollToFn(e,{behavior:o,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(n)}},uI=(t,n,e,i)=>{for(;t<=n;){let o=(t+n)/2|0,r=e(o);if(r<i)t=o+1;else if(r>i)n=o-1;else return o}return t>0?t-1:0};function tR({measurements:t,outerSize:n,scrollOffset:e}){let i=t.length-1,r=uI(0,i,a=>t[a].start,e),s=r;for(;s<i&&t[s].end<e+n;)s++;return{startIndex:r,endIndex:s}}function nR(t,n){return new Proxy(t,{apply(){return t()},get(e,i){let o=e;if(o[i])return o[i];let r=Ee(t);if(r==null&&(r=n(),Ee(()=>t.set(r))),typeof i=="string"&&["getTotalSize","getVirtualItems","isScrolling","options","range","scrollDirection","scrollElement","scrollOffset","scrollRect","measureElementCache","measurementsCache"].includes(i)){let s=typeof r[i]=="function";Object.defineProperty(o,i,{value:s?P(()=>e()[i]()):P(()=>e()[i]),configurable:!0,enumerable:!0})}if(typeof i=="string"&&["getOffsetForAlignment","getOffsetForIndex","getVirtualItemForOffset","indexFromElement"].includes(i)){let s=r[i];Object.defineProperty(o,i,{value:iR(t,s),configurable:!0,enumerable:!0})}return o[i]||r[i]},has(e,i){return!!Ee(t)[i]},ownKeys(){return Reflect.ownKeys(Ee(t))},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})}function iR(t,n){let e={};return(...i)=>{let o=oR(...i);if(e.hasOwnProperty(o))return e[o]?.();let r=P(()=>(t(),n(...i)));return e[o]=r,r()}}function oR(...t){return JSON.stringify(t)}function rR(t){let n;function e(){return n??=new gp(t()),n}let i=N(n,{equal:()=>!1});Rt(()=>{let s=t();e(),i.set(n),n.setOptions(K(k({},s),{onChange:(a,c)=>{i.set(a),s.onChange?.(a,c)}})),i.set(n)},{allowSignalWrites:!0});let o=P(()=>t().getScrollElement());Rt(()=>{o()&&Ee(i)._willUpdate()},{allowSignalWrites:!0});let r;return en(()=>(n??e())._didMount(),{phase:ui.Read}),S(_n).onDestroy(()=>r?.()),nR(i,e)}function hI(t){let n=P(()=>k({observeElementRect:cI,observeElementOffset:lI,scrollToFn:dI,getScrollElement:()=>{let e=t().scrollElement;return(sR(e)?e.nativeElement:e)??null}},t()));return rR(n)}function sR(t){return t!=null&&"nativeElement"in t}function aR(t){t||(go(aR),t=S(_n));let n=new le(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(Qe(n))}function cR(t,n){let e=!n?.manualCleanup;e&&!n?.injector&&go(cR);let i=e?n?.injector?.get(_n)??S(_n):null,o=lR(n?.equal),r;n?.requireSync?r=N({kind:0},{equal:o}):r=N({kind:1,value:n?.initialValue},{equal:o});let s=t.subscribe({next:a=>r.set({kind:1,value:a}),error:a=>{if(n?.rejectErrors)throw a;r.set({kind:2,error:a})}});if(n?.requireSync&&r().kind===0)throw new $(601,!1);return i?.onDestroy(s.unsubscribe.bind(s)),P(()=>{let a=r();switch(a.kind){case 1:return a.value;case 2:throw a.error;case 0:throw new $(601,!1)}},{equal:n?.equal})}function lR(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}var dR=["qCollapse",""],xt=["*"];function uR(t,n){t&1&&Te(0)}var hR=["itemButton"];function pR(t,n){if(t&1&&q(0,"q-icon",9),t&2){let e=p();x(e.classes.expandIcon(e.expanded,"start",e.disabled)),v("icon",e.expandIcon)("size",e.iconSizes.expandIcon)}}function fR(t,n){if(t&1&&q(0,"q-icon",9),t&2){let e=p();x(e.classes.startIcon),v("icon",e.startIcon)("size",e.iconSizes.startIcon)}}function mR(t,n){if(t&1&&(C(0,"div"),Ae(1),b()),t&2){let e=p();x(e.classes.label(e.size,e.disabled)),m(),Le(" ",e.label," ")}}function gR(t,n){}function yR(t,n){t&1&&M(0,gR,0,0,"ng-template")}function vR(t,n){if(t&1&&(C(0,"span"),Ae(1),b()),t&2){let e=p();x(e.classes.secondaryText(e.disabled)),m(),Le(" ",e.secondaryText," ")}}function kR(t,n){if(t&1&&q(0,"q-icon",9),t&2){let e=p();x(e.classes.endIcon),v("icon",e.endIcon)("size",e.iconSizes.endIcon)}}function bR(t,n){if(t&1&&q(0,"q-icon",9),t&2){let e=p();x(e.classes.expandIcon(e.expanded,"end",e.disabled)),v("icon",e.expandIcon)("size",e.iconSizes.expandIcon)}}function xR(t,n){}function CR(t,n){if(t&1&&(C(0,"div",7),M(1,xR,0,0,"ng-template",8),b()),t&2){let e=p(),i=Ge(13);v("animationDuration",200)("show",e.expanded),m(),v("ngTemplateOutlet",i)}}function _R(t,n){}function wR(t,n){if(t&1&&M(0,_R,0,0,"ng-template",8),t&2){p();let e=Ge(13);v("ngTemplateOutlet",e)}}function MR(t,n){if(t&1&&(C(0,"div"),Ae(1),b()),t&2){let e=p(2);x(e.classes.description(e.size)),m(),Le(" ",e.content," ")}}function IR(t,n){t&1&&hn(0)}function SR(t,n){if(t&1&&(C(0,"div",10),M(1,MR,2,3,"div",5)(2,IR,1,0,"ng-container",6),b()),t&2){let e=p();x(e.classes.panel(e.size)),v("id",e.contentId),W("aria-labelledby",e.headerId),m(),w(!e.contentTemplate&&e.content?1:-1),m(),v("ngTemplateOutlet",e.contentTemplate)}}function DR(t,n){}function TR(t,n){if(t&1&&M(0,DR,0,0,"ng-template",0),t&2){let e=p();v("ngTemplateOutlet",e.templateRef)("ngTemplateOutletContext",e.templateContext)}}function ER(t,n){if(t&1&&q(0,"q-icon",1),t&2){let e=p();v("ariaLabel",e.ariaLabel)("ariaLabelledby",e.ariaLabelledby)("disabled",e.disabled)("icon",e.lucideIcon)("size",e.size)("strokeWidth",e.strokeWidth)}}function AR(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon-or-template",2),b()),t&2){let e,i=p();x(i.classes.startIcon(i.size,i.classNames.startIcon)),m(),v("icon",i.startIcon)("size",(e=i.startIconSize)!==null&&e!==void 0?e:i.size)}}function LR(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon-or-template",2),b()),t&2){let e,i=p();x(i.classes.endIcon(i.size,i.classNames.endIcon)),m(),v("icon",i.endIcon)("size",(e=i.endIconSize)!==null&&e!==void 0?e:i.size)}}var RR=["qButton",""];function OR(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon-or-template",1),b()),t&2){let e,i=p();x(i.classes.startIcon(i.size,i.classNames.startIcon)),m(),v("icon",i.startIcon)("size",(e=i.startIconSize)!==null&&e!==void 0?e:i.size)}}function PR(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon-or-template",1),b()),t&2){let e,i=p();x(i.classes.endIcon(i.size,i.classNames.endIcon)),m(),v("icon",i.endIcon)("size",(e=i.endIconSize)!==null&&e!==void 0?e:i.size)}}function FR(t,n){if(t&1&&q(0,"q-icon",2),t&2){let e,i=p();x(i.classNames.icon),v("disabled",i.disabled)("icon",i.icon)("size",(e=i.iconSize)!==null&&e!==void 0?e:i.size)}}function NR(t,n){}function qR(t,n){if(t&1&&(C(0,"span"),M(1,NR,0,0,"ng-template",2),b()),t&2){let e=p();x(e.templateContentClass),m(),v("ngStyle",e.style)("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",e.context)}}function VR(t,n){if(t&1&&(C(0,"span",3),Ae(1),b()),t&2){let e=p();x(e.stringContentClass),v("ngStyle",e.style),m(),Le(" ",e.content," ")}}function jR(t,n){if(t&1&&q(0,"q-span-template",1),t&2){let e=p();v("content",e.label)("contentClass",e.classes.label)}}function zR(t,n){if(t&1&&q(0,"q-span-template",1),t&2){let e=p();v("content",e.description)("contentClass",e.classes.description)}}function BR(t,n){}function HR(t,n){if(t&1&&M(0,BR,0,0,"ng-template",2),t&2){let e=p();v("ngTemplateOutlet",e.endContent)}}function UR(t,n){if(t&1){let e=fe();C(0,"q-icon-button",4),U("click",function(o){V(e);let r=p();return j(r.onCloseClicked(o))}),b()}if(t&2){let e=p();x(e.classes.closeButton),v("ariaLabel",e.dismissAriaLabel)("icon",e.X)}}function QR(t,n){return this.identifyAlert(n)}function $R(t,n){if(t&1){let e=fe();C(0,"div")(1,"q-alert-animator",0),U("dismissed",function(o){V(e);let r=p();return j(r.onAlertDismiss(o))})("ready",function(o){V(e);let r=p();return j(r.onAlertReady(o))}),b()()}if(t&2){let e=n.$implicit;m(),v("alert",e)}}function WR(t,n){}function GR(t,n){if(t&1&&(C(0,"div",1),M(1,WR,0,0,"ng-template",2),b()),t&2){let e=p();x(e.templateContentClass),v("ngStyle",e.style),m(),v("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",e.context)}}function ZR(t,n){if(t&1&&(C(0,"div",1),Ae(1),b()),t&2){let e=p();x(e.stringContentClass),v("ngStyle",e.style),m(),Le(" ",e.content," ")}}function KR(t,n){}function XR(t,n){if(t&1&&(C(0,"label",1),M(1,KR,0,0,"ng-template",2),b()),t&2){let e=p();x(e.templateContentClass),v("ngStyle",e.style),W("for",e.for)("id",e.controlledId),m(),v("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",e.context)}}function YR(t,n){if(t&1&&(C(0,"label",1),Ae(1),b()),t&2){let e=p();x(e.stringContentClass),v("ngStyle",e.style),W("for",e.for)("id",e.controlledId),m(),Le(" ",e.content," ")}}var JR=["collapseRef"],eO=["qOverlayPanelPopup",""],tO=["arrowElementRef"],nO=["trackerRef"],iO=["badgeRootRef"];function oO(t,n){if(t&1&&q(0,"q-icon-or-template",5),t&2){let e=p(3);v("ariaLabel",e.ariaLabel)("ariaLabelledby",e.ariaLabelledby)("icon",e.icon)("size",e.size==="s"?"xs":"m")}}function rO(t,n){if(t&1&&M(0,oO,1,4,"q-icon-or-template",5),t&2){let e=p(2);w((e.kind==="icon"||e.kind==="text")&&e.icon?0:-1)}}function sO(t,n){if(t&1&&hn(0,3),t&2){p();let e=Ge(3);v("ngTemplateOutlet",e)}}function aO(t,n){if(t&1&&(C(0,"div"),Ae(1),b()),t&2){let e=p(2);x(e.classes.content),m(),Le(" ",e.content," ")}}function cO(t,n){if(t&1&&hn(0,3),t&2){p();let e=Ge(3);v("ngTemplateOutlet",e)}}function lO(t,n){if(t&1&&(C(0,"div",null,1),M(2,rO,1,1,"ng-template",null,2,Qn)(4,sO,1,1,"ng-container",3)(5,aO,2,3,"div",4)(6,cO,1,1,"ng-container",3),b()),t&2){let e=p();x(e.classes.root(e.color,e.kind,e.size,e.emphasis,e.disabled,e.floating)),m(4),w(e.iconPlacement==="start"?4:-1),m(),w(e.kind!=="dot"&&e.content!==void 0?5:-1),m(),w(e.iconPlacement==="end"?6:-1)}}function dO(t,n){}function uO(t,n){if(t&1&&M(0,dO,0,0,"ng-template",3),t&2){p();let e=Ge(1);v("ngTemplateOutlet",e)}}function hO(t,n){}function pO(t,n){if(t&1&&(C(0,"q-overlay-panel",6),M(1,hO,0,0,"ng-template",3),b(),Te(2)),t&2){let e=p(),i=Ge(1);v("anchorElement",e.hostElement)("anchorOffset",e.adjustedAnchorOffset)("placement",e.placement)("show",e.show),m(),v("ngTemplateOutlet",i)}}function fO(t,n){if(t&1&&(C(0,"div"),Ae(1),b()),t&2){let e=p();x(e.classes.label(e.size())),m(),Le(" ",e.content()," ")}}function mO(t,n){}function gO(t,n){}function yO(t,n){if(t&1&&(C(0,"label",1),M(1,gO,0,0,"ng-template",2),b()),t&2){let e=p();x(e.classes.labelTemplate(e.disabled)),v("for",e.for)("id",e.controlledId),m(),v("ngTemplateOutlet",e.labelTemplate)}}function vO(t,n){if(t&1&&(C(0,"label",1),Ae(1),b()),t&2){let e=p();x(e.classes.label(e.disabled)),v("for",e.for)("id",e.controlledId),m(),Le(" ",e.label," ")}}function kO(t,n){t&1&&hn(0)}function bO(t,n){if(t&1&&(C(0,"label",1),M(1,kO,1,0,"ng-container",2),b()),t&2){let e=p(),i=Ge(3);v("animationDuration",e.animationDuration)("show",!!e.errorTemplate||!!e.error),W("for",e.for),m(),v("ngTemplateOutlet",i)}}function xO(t,n){t&1&&hn(0)}function CO(t,n){if(t&1&&M(0,xO,1,0,"ng-container",2),t&2){p();let e=Ge(3);v("ngTemplateOutlet",e)}}function _O(t,n){}function wO(t,n){if(t&1&&(C(0,"label"),M(1,_O,0,0,"ng-template",4),b()),t&2){let e=p(2);x(e.class),W("for",e.for)("id",e.controlledId),m(),v("ngTemplateOutlet",e.errorTemplate)}}function MO(t,n){if(t&1&&(C(0,"label"),Ae(1),b()),t&2){let e=p(2);x(e.classes.error(e.size,e.class)),W("for",e.for)("id",e.controlledId),m(),Le(" ",e.error," ")}}function IO(t,n){if(t&1&&M(0,wO,2,5,"label",3)(1,MO,2,5,"label",3),t&2){let e=p();w(e.errorTemplate?0:-1),m(),w(e.error||e.closing?1:-1)}}function SO(t,n){}function DO(t,n){if(t&1&&(C(0,"label"),M(1,SO,0,0,"ng-template",1),b()),t&2){let e=p();x(e.class),W("for",e.for)("id",e.controlledId),m(),v("ngTemplateOutlet",e.hintTemplate)}}function TO(t,n){if(t&1&&(C(0,"label"),Ae(1),b()),t&2){let e=p();x(e.classes.hint(e.size,e.class)),W("for",e.for)("id",e.controlledId),m(),Le(" ",e.hint," ")}}function EO(t,n){}function AO(t,n){if(t&1&&(C(0,"label"),M(1,EO,0,0,"ng-template",1),b()),t&2){let e=p();x(e.class),W("data-required",e.required)("for",e.for)("id",e.controlledId),m(),v("ngTemplateOutlet",e.labelTemplate)}}function LO(t,n){if(t&1&&q(0,"q-icon",2),t&2){let e=p(2);v("icon",e.Asterisk)}}function RO(t,n){if(t&1&&(C(0,"label"),Ae(1),M(2,LO,1,1,"q-icon",2),b()),t&2){let e=p();x(e.classes.label(e.size,e.class)),W("data-required",e.required)("for",e.for)("id",e.controlledId),m(),Le(" ",e.label," "),m(),w(e.required?2:-1)}}function OO(t,n){if(t&1&&q(0,"q-icon",3),t&2){let e=p(2);v("icon",e.getIcon())}}function PO(t,n){if(t&1&&q(0,"q-checkbox-label",4),t&2){let e=p(2);v("disabled",e.disabled)("for",e.id())("id",e.labelId())("label",e.internalLabel())}}function FO(t,n){if(t&1){let e=fe();C(0,"div",1),U("click",function(o){V(e);let r=p();return j(r.onToggle(o))})("keyup.enter",function(o){V(e);let r=p();return j(r.onToggle(o))})("keyup.space",function(o){V(e);let r=p();return j(r.onToggle(o))}),C(1,"input",2),U("change",function(o){V(e);let r=p();return j(r.onToggle(o))}),b(),C(2,"span"),M(3,OO,1,1,"q-icon",3),b(),M(4,PO,1,4,"q-checkbox-label",4),b()}if(t&2){let e=p();x(e.classes.root(e.value,e.localIndeterminate,e.disabled)),m(),x(e.sharedClasses.hiddenAccessible),v("checked",e.value)("disabled",e.disabled)("id",e.id())("indeterminate",e.localIndeterminate)("name",e.label)("readonly",e.readonly)("value",e.label),W("aria-checked",e.ariaChecked)("aria-invalid",e.invalid)("aria-labelledby",e.ariaLabelledby()),m(),x(e.classes.checkbox(e.disabled)),m(),w(e.value||e.localIndeterminate?3:-1),m(),w(e.internalLabel()?4:-1)}}function NO(t,n){if(t&1&&q(0,"q-label-template",7),t&2){let e=p(2);v("content",e.internalLabel())("contentClass",e.radioClasses.label(e.disabled))("for",e.id())("id",e.labelId())}}function qO(t,n){if(t&1){let e=fe();C(0,"div",5),U("click",function(o){V(e);let r=p();return j(r.onToggle(o))}),C(1,"input",6),U("blur",function(o){V(e);let r=p();return j(r.onBlur(o))})("change",function(o){V(e);let r=p();return j(r.onToggle(o))})("focus",function(o){V(e);let r=p();return j(r.onFocus(o))}),b(),C(2,"span"),q(3,"span"),b(),M(4,NO,1,4,"q-label-template",7),b()}if(t&2){let e=p();x(e.radioClasses.root(e.value,e.disabled)),m(),x(e.sharedClasses.hiddenAccessible),v("disabled",e.disabled)("id",e.id())("value",e.value),W("aria-checked",e.ariaChecked)("aria-labelledby",e.ariaLabelledby())("readonly",e.readonly),m(),x(e.radioClasses.circle(e.disabled)),m(),x(e.radioClasses.innerCircle()),m(),w(e.internalLabel()?4:-1)}}var VO=["rootRef"];function jO(t,n){if(t&1){let e=fe();C(0,"q-icon",3),U("click",function(o){V(e);let r=p();return j(r.onDismiss(o))}),b()}if(t&2){let e=p();x(e.classes.closeIcon()),v("icon",e.X)}}var zO=["rootElementRef"];function BO(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon",2),b()),t&2){let e=p();m(),v("icon",e.icons.Check)}}var HO=["virtualItem"],UO=["templateOptions"],QO=["virtual-option-renderer",""];function SI(t,n){return this.trackOption(n.index)}var eg=t=>({$implicit:t});function $O(t,n){}function WO(t,n){if(t&1&&M(0,$O,0,0,"ng-template",4,0,Qn),t&2){let e=n.$implicit,i=p(2);v("ngTemplateOutlet",i.renderOption)("ngTemplateOutletContext",Ya(2,eg,i.getContext(e.index)))}}function GO(t,n){if(t&1&&wn(0,WO,2,4,null,4,SI,!0),t&2){let e=p();Mn(e.virtualizer.getVirtualItems())}}function ZO(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon",6),b()),t&2){let e=p(3);m(),v("icon",e.Check)}}function KO(t,n){if(t&1&&(C(0,"button",5,1),Ae(2),M(3,ZO,2,1,"span"),b()),t&2){let e=n.$implicit,i=p(2);v("context",i.getContext(e.index)),m(2),Le(" ",i.getOptionLabel(i.filteredOptions()[e.index])," "),m(),w(i.showActiveIndicator()&&i.getContext(e.index).active?3:-1)}}function XO(t,n){if(t&1&&wn(0,KO,4,3,"button",5,SI,!0),t&2){let e=p();Mn(e.virtualizer.getVirtualItems())}}function YO(t,n){if(t&1&&(C(0,"label",4),Ae(1),b()),t&2){let e=p();x(e.classes.label(e.size)),v("for",e.controlledId)("id",e.labelId),m(),Le(" ",e.value,"% ")}}var JO=["dropdownContent"],eP=["virtualRenderer"],tP=["root"],nP=["input"],DI=["overlayPanel"];function iP(t,n){return this.identifyTag(n)}function TI(t,n){return this.identifyOption(n)}var EI=(t,n)=>[t,n];function oP(t,n){if(t&1){let e=fe();C(0,"q-input-label",16),U("click",function(o){V(e);let r=p();return j(r.onLabelClick(o))}),b()}if(t&2){let e=p();x(e.formFieldClasses.label),v("for",e.controlledId)("id",e.labelId)("label",e.label)("required",e.required)("size",e.size)}}function rP(t,n){if(t&1&&(C(0,"span"),q(1,"q-icon",17),b()),t&2){let e=p();x(e.formFieldClasses.startIcon),m(),v("icon",e.startIcon)("size",e.iconSize)}}function sP(t,n){if(t&1){let e=fe();C(0,"q-tag",20),U("click",function(o){let r=V(e).$implicit,s=p(2);return j(s.onTagClick(o,r.option))})("keydown",function(o){let r=V(e).$implicit,s=p(2);return j(s.onTagKeyDown(o,r.option))}),b()}if(t&2){let e=n.$implicit,i=p(2);v("dismissable",e.dismissable)("id",i.getTagId(e.option))("label",e.label)("size",i.size)}}function aP(t,n){if(t&1&&q(0,"q-tag",19),t&2){let e=p(2);v("label",e.truncateLabel)("size",e.size)}}function cP(t,n){if(t&1&&(wn(0,sP,1,4,"q-tag",18,iP,!0),M(2,aP,1,2,"q-tag",19)),t&2){let e=p();Mn(e.tags),m(2),w(e.truncateLabel?2:-1)}}function lP(t,n){if(t&1&&q(0,"q-icon",17),t&2){let e=p(2);x(e.formFieldClasses.errorIcon),v("icon",e.errorIcon)("size",e.size)}}function dP(t,n){if(t&1){let e=fe();C(0,"q-icon",25),U("click",function(o){V(e);let r=p(2);return j(r.onClearValueClick(o))}),b()}if(t&2){let e=p(2);x(e.formFieldClasses.clearIcon),v("icon",e.clearIcon)("size",e.size)}}function uP(t,n){if(t&1&&(C(0,"span",23),q(1,"q-icon",17),b()),t&2){let e=p(2);v("ngClass",_1(3,EI,e.formFieldClasses.endIcon,e.selectClasses.dropdownIcon(e.isDropdownOpen))),m(),v("icon",e.icons.ChevronDown)("size",e.size)}}function hP(t,n){if(t&1&&(C(0,"span",24),q(1,"q-progress-circle",26),b()),t&2){let e=p(2);m(),v("size",e.progressCircleSize)}}function pP(t,n){if(t&1&&(C(0,"div"),M(1,lP,1,4,"q-icon",21)(2,dP,1,4,"q-icon",22)(3,uP,2,6,"span",23)(4,hP,2,1,"span",24),b()),t&2){let e=p();x(e.formFieldClasses.actions),m(),w(e.hasError?1:-1),m(),w(e.showClearIcon?2:-1),m(),w(e.showDropdownIcon&&!e.loading?3:-1),m(),w(e.loading?4:-1)}}function fP(t,n){if(t&1&&q(0,"q-input-hint",27),t&2){let e=p();x(e.formFieldClasses.hint),v("for",e.controlledId)("hint",e.hint)("id",e.hintId)("size",e.size)}}function mP(t,n){if(t&1&&q(0,"div",28,5),t&2){let e=p(2);v("filteredOptions",e.filteredOptions())("getOptionContext",e.getOptionTemplateState.bind(e))("getOptionLabel",e.getOptionLabel.bind(e))("identifyOption",e.identifyOptionByIndex.bind(e))("renderOption",e.optionTemplate())("virtualOptions",e.virtualOptions)}}function gP(t,n){}function yP(t,n){t&1&&M(0,gP,0,0,"ng-template")}function vP(t,n){if(t&1&&M(0,yP,1,0,null,30),t&2){let e=n.$implicit,i=n.$index,o=p(4);v("ngTemplateOutlet",o.optionTemplate())("ngTemplateOutletContext",Ya(2,eg,o.getOptionTemplateState(e,i)))}}function kP(t,n){if(t&1&&wn(0,vP,1,4,null,null,TI,!0),t&2){let e=p(3);Mn(e.filteredOptions())}}function bP(t,n){if(t&1){let e=fe();C(0,"q-combobox-option",32),U("click",function(){let o=V(e).$implicit,r=p(4);return j(r.onOptionClicked(o))}),b()}if(t&2){let e=n.$implicit,i=n.$index,o=p(4);v("active",o.getOptionActive(e))("disabled",o.getOptionDisabled(e))("highlighted",o.highlightedIndex()===i)("label",o.getOptionLabel(e))("rootClass",o.getOptionClass(e))("rootId",o.getOptionId(e))("rootStyle",o.getOptionNgStyle(e)),W("data-index",i)}}function xP(t,n){if(t&1&&wn(0,bP,1,8,"q-combobox-option",31,TI,!0),t&2){let e=p(3);Mn(e.filteredOptions())}}function CP(t,n){if(t&1&&q(0,"q-combobox-option",29),t&2){let e=p(3);v("label",e.noOptionsLabel)}}function _P(t,n){if(t&1&&M(0,kP,2,0)(1,xP,2,0)(2,CP,1,1,"q-combobox-option",29),t&2){let e=p(2);w(e.optionTemplate()?0:1),m(2),w(e.noOptionsLabel&&!e.filteredOptions().length?2:-1)}}function wP(t,n){if(t&1&&M(0,mP,2,6,"div",28)(1,_P,3,2),t&2){let e=p();w(e.virtual?0:1)}}var MP=["nestedMenu"],IP=["qMenuItem",""];function SP(t,n){if(t&1&&(C(0,"span",4),Ae(1),b()),t&2){let e=p();x(e.classes.sectionTitle),m(),Le(" ",e.item.sectionTitle," ")}}function DP(t,n){if(t&1&&q(0,"q-icon-or-template",6),t&2){let e=p(2);x(e.classes.startIcon),v("icon",e.item.startIcon)("size",e.getIconSize(e.item.startIconSize))("templateContext",e.item)}}function TP(t,n){if(t&1&&(C(0,"span"),Ae(1),b()),t&2){let e=p(2);x(e.classes.description(e.getSize())),m(),Le(" ",e.item.description," ")}}function EP(t,n){if(t&1&&q(0,"q-icon-or-template",6),t&2){let e=p(3);x(e.classes.endIcon),v("icon",e.item.endIcon)("size",e.getIconSize(e.item.endIconSize))("templateContext",e.item)}}function AP(t,n){if(t&1&&(C(0,"div")(1,"span"),Ae(2),b(),M(3,EP,1,5,"q-icon-or-template",5),b()),t&2){let e=p(2);x(e.classes.endContent),m(),x(e.classes.secondaryText(e.getSize())),m(),Le(" ",e.item.secondaryText," "),m(),w(e.item.endIcon?3:-1)}}function LP(t,n){if(t&1&&(C(0,"div"),M(1,DP,1,5,"q-icon-or-template",5),C(2,"div")(3,"span"),Ae(4),b(),M(5,TP,2,3,"span",2),b(),M(6,AP,4,6,"div",2),b()),t&2){let e=p();x(e.classes.content(!!e.item.startIcon,e.item.disabled)),m(),w(e.item.startIcon?1:-1),m(),x(e.classes.startContent),m(),x(e.classes.label(e.getSize())),m(),Mu(e.item.label),m(),w(e.item.description?5:-1),m(),w(e.item.endIcon||e.item.secondaryText?6:-1)}}function RP(t,n){if(t&1){let e=fe();C(0,"q-menu",7,0),U("closeTriggered",function(){V(e);let o=p();return j(o.onChildMenuCloseTriggered())}),b()}if(t&2){let e=p();v("anchorElement",e.hostElement)("items",e.childItems)("parentItem",e)("show",e.showChildMenu)("zIndex",e.zIndex+1)}}function OP(t,n){if(t&1&&hn(0,2),t&2){p();let e=Ge(3);v("ngTemplateOutlet",e)}}function PP(t,n){}function FP(t,n){if(t&1){let e=fe();C(0,"q-overlay-panel",4,1),U("closeTriggered",function(o){V(e);let r=p();return j(r.onPanelCloseTriggered(o))})("stateChanged",function(o){V(e);let r=p();return j(r.onDropdownStateChanged(o))}),M(2,PP,0,0,"ng-template",2),b()}if(t&2){let e=p(),i=Ge(3);v("anchorElement",e.anchorElement)("anchorOffset",e.anchorOffset)("animation",e.animation)("animationDuration",e.animationDuration)("animationEasing",e.animationEasing)("appendTo",e.appendTo)("placement",e.placement)("position",e.position)("restoreFocus",e.restoreFocus)("show",e._show)("zIndex",e.zIndex),m(2),v("ngTemplateOutlet",i)}}function NP(t,n){if(t&1){let e=fe();C(0,"a",8),U("closeSiblingMenus",function(o){V(e);let r=p(3);return j(r.closeSiblingMenus(o))})("focusNextHandler",function(o){V(e);let r=p(3);return j(r.focusNextItem(o))})("focusParentAnchor",function(){V(e);let o=p(3);return j(o.focusPanelAnchorElement())})("focusPrevHandler",function(o){V(e);let r=p(3);return j(r.focusPrevItem(o))})("selectionHandler",function(o){V(e);let r=p(3);return j(r.onSelected(o))}),b()}if(t&2){let e,i,o=p(),r=o.$implicit,s=o.$index,a=o.$count,c=p(2);x(c.getItemClass(r)),v("disableArrowKeys",c.disableArrowKeys)("fragment",r.fragment)("index",s)("inline",c.inline)("isLast",s===a-1)("parentItem",c.parentItem)("parentPanelVisible",c.overlayPanel==null?null:c.overlayPanel.open)("qMenuItem",r)("queryParams",r.queryParams)("queryParamsHandling",r.queryParamsHandling)("replaceUrl",r.replaceUrl)("routerLink",r.routerLink)("size",c.size)("skipLocationChange",r.skipLocationChange)("state",r.state)("subMenuTrigger",c.subMenuTrigger)("tabIndex",s===0&&c.inline?0:-1)("target",r.target)("zIndex",c.zIndex),W("aria-disabled",r.disabled||!!r.sectionTitle)("id",(e=r.id)!==null&&e!==void 0?e:null)("role",(i=r.role)!==null&&i!==void 0?i:"menuitem")}}function qP(t,n){if(t&1){let e=fe();C(0,"a",9),U("closeSiblingMenus",function(o){V(e);let r=p(3);return j(r.closeSiblingMenus(o))})("focusNextHandler",function(o){V(e);let r=p(3);return j(r.focusNextItem(o))})("focusParentAnchor",function(){V(e);let o=p(3);return j(o.focusPanelAnchorElement())})("focusPrevHandler",function(o){V(e);let r=p(3);return j(r.focusPrevItem(o))})("selectionHandler",function(o){V(e);let r=p(3);return j(r.onSelected(o))}),b()}if(t&2){let e,i,o=p(),r=o.$implicit,s=o.$index,a=o.$count,c=p(2);x(c.getItemClass(r)),v("disableArrowKeys",c.disableArrowKeys)("index",s)("inline",c.inline)("isLast",s===a-1)("parentItem",c.parentItem)("parentPanelVisible",c.overlayPanel==null?null:c.overlayPanel.open)("qMenuItem",r)("size",c.size)("subMenuTrigger",c.subMenuTrigger)("tabIndex",s===0&&c.inline?0:-1)("target",r.target)("zIndex",c.zIndex),W("aria-disabled",r.disabled||!!r.sectionTitle)("href",r.url||null,lu)("id",(e=r.id)!==null&&e!==void 0?e:null)("role",(i=r.role)!==null&&i!==void 0?i:"menuitem")}}function VP(t,n){if(t&1){let e=fe();C(0,"button",10),U("closeSiblingMenus",function(o){V(e);let r=p(3);return j(r.closeSiblingMenus(o))})("focusNextHandler",function(o){V(e);let r=p(3);return j(r.focusNextItem(o))})("focusParentAnchor",function(){V(e);let o=p(3);return j(o.focusPanelAnchorElement())})("focusPrevHandler",function(o){V(e);let r=p(3);return j(r.focusPrevItem(o))})("selectionHandler",function(o){V(e);let r=p(3);return j(r.onSelected(o))}),b()}if(t&2){let e,i,o=p(),r=o.$implicit,s=o.$index,a=o.$count,c=p(2);x(c.getItemClass(r)),v("disableArrowKeys",c.disableArrowKeys)("disabled",r.disabled)("index",s)("inline",c.inline)("isLast",s===a-1)("parentItem",c.parentItem)("parentPanelVisible",c.overlayPanel==null?null:c.overlayPanel.open)("qMenuItem",r)("size",c.size)("subMenuTrigger",c.subMenuTrigger)("tabIndex",s===0&&c.inline?0:-1)("zIndex",c.zIndex),W("id",(e=r.id)!==null&&e!==void 0?e:null)("role",(i=r.role)!==null&&i!==void 0?i:"menuitem")}}function jP(t,n){if(t&1&&M(0,NP,1,24,"a",5)(1,qP,1,18,"a",6)(2,VP,1,16,"button",7),t&2){let e=n.$implicit;w(e.routerLink?0:!e.routerLink&&e.url?1:!e.routerLink&&!e.url?2:-1)}}function zP(t,n){if(t&1&&(C(0,"div")(1,"div"),wn(2,jP,3,1,null,null,k1),b()()),t&2){let e=p();x(e.classes.root(e.inline)),m(),x(e.classes.list),W("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("role",e.role),m(),Mn(e.items)}}var BP=["menu"];function HP(t,n){if(t&1){let e=fe();C(0,"button",5),U("click",function(o){V(e);let r=p();return j(r.onButtonClick(o))}),Te(1),b()}if(t&2){let e=p();v("classNames",e.buttonClassNames)("color",e.color)("endIcon",e.buttonEndIcon)("fullWidth",e.fullWidth)("selected",e.buttonSelected)("size",e.size)("variant",e.variant)}}function UP(t,n){t&1&&q(0,"q-divider",2)}function QP(t,n){if(t&1){let e=fe();C(0,"button",6),U("click",function(o){V(e);let r=p();return j(r.onIconButtonClick(o))}),b()}if(t&2){let e=p();v("classNames",e.iconButtonClassNames)("color",e.color)("icon",e.iconButtonIcon)("selected",e.dropdownShown)("shape",e.shape)("size",e.size)("variant",e.variant)}}var $P=["wrapper"];function WP(t,n){if(t&1&&q(0,"q-div-template",2),t&2){let e=p();v("content",e.label)("contentClass",e.classes.label)}}function GP(t,n){if(t&1&&(C(0,"q-wrap-balancer"),q(1,"q-span-template",2),b()),t&2){let e=p(2);m(),v("content",e.description)("contentClass",e.classes.description)}}function ZP(t,n){if(t&1&&q(0,"q-span-template",2),t&2){let e=p(2);v("content",e.description)("contentClass",e.classes.description)}}function KP(t,n){if(t&1&&M(0,GP,2,2,"q-wrap-balancer")(1,ZP,1,2,"q-span-template",2),t&2){let e=p();w(e.wrapDescription?0:1)}}function XP(t,n){}function YP(t,n){if(t&1&&(C(0,"div"),M(1,XP,0,0,"ng-template",5),b()),t&2){let e=p();x(e.classes.bottomContent),m(),v("ngTemplateOutlet",e.footerTemplate)}}function JP(t,n){if(t&1){let e=fe();C(0,"q-icon-button",6),U("click",function(o){V(e);let r=p();return j(r.onCloseClicked(o))}),b()}if(t&2){let e=p();x(e.classes.closeButton()),v("icon",e.X)}}var eF=["qLink",""];function tF(t,n){if(t&1&&q(0,"q-icon",0),t&2){let e=p();v("icon",e.startIcon)("ngStyle",e.startIconStyle)("size",e.startIconSize)}}function nF(t,n){if(t&1&&q(0,"q-icon",0),t&2){let e=p();v("icon",e.endIcon)("ngStyle",e.endIconStyle)("size",e.endIconSize)}}var iF=["elementRef"];var oF=["content"];function rF(t,n){if(t&1&&q(0,"q-span-template",3),t&2){let e=p(2);v("content",e.labelTemplate)("context",e.notification)}}function sF(t,n){if(t&1&&hn(0,4),t&2){let e=p(2);v("ngComponentOutlet",e.labelComponent)("ngComponentOutletInputs",e.componentOutletInput)}}function aF(t,n){if(t&1&&(C(0,"span"),Ae(1),b()),t&2){let e=p(2);x(e.classes.subtleLabel),m(),Le(" ",e.notification.subtleLabel," ")}}function cF(t,n){if(t&1&&(C(0,"span"),M(1,rF,1,2,"q-span-template",3)(2,sF,1,2,"ng-container",4)(3,aF,2,3,"span",1),b()),t&2){let e=p();x(e.classes.label),m(),w(e.labelTemplate?1:e.labelComponent?2:-1),m(2),w(e.notification.subtleLabel?3:-1)}}function lF(t,n){if(t&1&&q(0,"q-span-template",5),t&2){let e=p(2);v("content",e.descriptionTemplate)("contentClass",e.classes.description)("context",e.notification)}}function dF(t,n){if(t&1&&hn(0,4),t&2){let e=p(2);v("ngComponentOutlet",e.descriptionComponent)("ngComponentOutletInputs",e.componentOutletInput)}}function uF(t,n){if(t&1&&M(0,lF,1,3,"q-span-template",5)(1,dF,1,2,"ng-container",4),t&2){let e=p();w(e.descriptionTemplate?0:e.descriptionComponent?1:-1)}}function hF(t,n){}function pF(t,n){if(t&1&&M(0,hF,0,0,"ng-template",6),t&2){let e=p(2);v("ngTemplateOutlet",e.bottomContentTemplate)("ngTemplateOutletContext",e.notification)}}function fF(t,n){if(t&1&&hn(0,4),t&2){let e=p(2);v("ngComponentOutlet",e.bottomContentComponent)("ngComponentOutletInputs",e.componentOutletInput)}}function mF(t,n){if(t&1&&(C(0,"div"),M(1,pF,1,2,null,6)(2,fF,1,2,"ng-container",4),b()),t&2){let e=p();x(e.classes.bottomContent),m(),w(e.bottomContentTemplate?1:e.bottomContentComponent?2:-1)}}function gF(t,n){if(t&1){let e=fe();C(0,"q-icon-button",7),U("click",function(o){V(e);let r=p();return j(r.onClose(o))}),b()}if(t&2){let e=p();x(e.classes.closeIcon),v("icon",e.X)}}function yF(t,n){return this.identifyNotification(n)}function vF(t,n){if(t&1){let e=fe();C(0,"div")(1,"q-notification-animator",0),U("dismissHandler",function(o){V(e);let r=p();return j(r.onNotificationDismiss(o))})("readyHandler",function(o){V(e);let r=p();return j(r.onNotificationReady(o))}),b()()}if(t&2){let e=n.$implicit;m(),v("notification",e)}}var kF=["q-pagination-next-page-link",""],AI=["pageButton"],bF=["q-pagination-page-links",""],xF=[[["","q-pagination-prev-page-link",""]],[["","q-pagination-next-page-link",""]]],CF=["[q-pagination-prev-page-link]","[q-pagination-next-page-link]"],_F=t=>({root:t});function wF(t,n){if(t&1){let e=fe();C(0,"button",3,0),U("click",function(){V(e);let o=p().$implicit,r=p(2);return j(r.context.onPageButtonClick(o.page))}),Ae(2),b()}if(t&2){let e=p().$implicit,i=p(2);v("classNames",Ya(4,_F,i.classes.pageLink(e.active))),W("aria-current",e.active)("aria-label",e.label),m(2),Le(" ",e.page," ")}}function MF(t,n){if(t&1&&(C(0,"div",4),q(1,"q-icon",5),b()),t&2){let e=p(3);x(e.classes.boundarySeparator()),m(),v("icon",e.MoreHorizontal)}}function IF(t,n){if(t&1&&M(0,wF,3,6,"button",1)(1,MF,2,3,"div",2),t&2){let e=n.$implicit;w(e!=="separator"?0:1)}}function SF(t,n){if(t&1&&wn(0,IF,2,1,null,null,qb().trackPageLinks,!0),t&2){let e=p();Mn(e.context.pageLinks())}}var DF=["q-pagination-page-metadata",""];function TF(t,n){if(t&1&&Ae(0),t&2){let e=p();Le(" ",e.pageMetadataLabel()," ")}}function EF(t,n){}function AF(t,n){if(t&1&&M(0,EF,0,0,"ng-template",0),t&2){let e=p();v("ngTemplateOutlet",e.pageMetadataTemplateRef())("ngTemplateOutletContext",e.context.pageMetadataState())}}function LF(t,n){}function RF(t,n){t&1&&M(0,LF,0,0,"ng-template")}function OF(t,n){if(t&1&&M(0,RF,1,0,null,1),t&2){let e=p();v("ngTemplateOutlet",e.metadataTemplate())("ngTemplateOutletContext",Ya(2,eg,e.context.pageMetadataState()))}}var PF=["q-pagination-page-rows",""];function FF(t,n){if(t&1){let e=fe();C(0,"q-combobox",1),U("ngModelChange",function(o){V(e);let r=p();return j(r.onPageRowsChanged(o))}),b()}if(t&2){let e=p();v("appendTo",e.appendTo())("ariaLabel",e.context.pageRowsLabelId()?null:"Rows per Page")("ariaLabelledby",e.context.pageRowsLabelId()||void 0)("inputMinWidth",20)("inputStyle",e.inputStyle)("ngModel",e.context.rowsPerPageOpt())("options",e.context.rowsPerPageSelectOptions())}}var NF=["q-pagination-prev-page-link",""];function qF(t,n){}function VF(t,n){if(t&1&&M(0,qF,0,0,"ng-template",2),t&2){p();let e=Ge(11);v("ngTemplateOutlet",e)}}function jF(t,n){}function zF(t,n){if(t&1&&M(0,jF,0,0,"ng-template",2),t&2){p();let e=Ge(9);v("ngTemplateOutlet",e)}}function BF(t,n){if(t&1&&q(0,"button",4),t&2){let e=p();W("aria-label",e.prevPageAriaLabel())}}function HF(t,n){if(t&1&&q(0,"button",5),t&2){let e=p();W("aria-label",e.nextPageAriaLabel())}}function UF(t,n){}function QF(t,n){if(t&1&&M(0,UF,0,0,"ng-template",2),t&2){p();let e=Ge(9);v("ngTemplateOutlet",e)}}function $F(t,n){}function WF(t,n){if(t&1&&M(0,$F,0,0,"ng-template",2),t&2){p();let e=Ge(11);v("ngTemplateOutlet",e)}}function GF(t,n){if(t&1&&Ae(0),t&2){let e=p(3);Le(" ",e.rowsPerPageLabelStr()," ")}}function ZF(t,n){}function KF(t,n){if(t&1&&M(0,ZF,0,0,"ng-template",2),t&2){let e=p(3);v("ngTemplateOutlet",e.rowsPerPageLabelTemplate())}}function XF(t,n){if(t&1&&(C(0,"span",7),M(1,GF,1,1)(2,KF,1,1,null,2),b()),t&2){let e=p(2);m(),w(e.rowsPerPageLabelStr()?1:2)}}function YF(t,n){if(t&1){let e=fe();C(0,"div",6),U("optionChanged",function(o){V(e);let r=p();return j(r.rowsPerPageChanged.emit(o))}),M(1,XF,3,1,"span",7),b()}if(t&2){let e=p();v("appendTo",e.rowsPerPageAppendTo())("options",e.rowsPerPageOptions()),m(),w(e.rowsPerPageLabel()?1:-1)}}function JF(t,n){if(t&1&&q(0,"span",8),t&2){let e=p(2);v("pageMetadataTemplate",e.pageMetadataTemplate())}}function eN(t,n){if(t&1&&M(0,JF,1,1,"span",8),t&2){let e=p();w(e.showPageMetadata()?0:-1)}}function tN(t,n){if(t&1&&q(0,"q-div-template",1),t&2){let e=p();v("content",e.label)("contentClass",e.classes.label(e.size))}}function nN(t,n){if(t&1){let e=fe();C(0,"q-icon-button",3),U("click",function(o){V(e);let r=p();return j(r.onDismissClick(o))}),b()}if(t&2){let e=p();x(e.classes.dismissButton),v("icon",e.X),W("aria-label",e.dismissAriaLabel)}}function iN(t,n){if(t&1&&q(0,"q-div-template",1),t&2){let e=p();v("content",e.description)("contentClass",e.classes.description(e.size))}}function oN(t,n){if(t&1&&q(0,"q-div-template",1),t&2){let e=p();v("content",e.bottomContent)("contentClass",e.classes.bottomContent)}}var rN=["portalNode"];function sN(t,n){if(t&1&&q(0,"q-label-template",5),t&2){let e=p(2);v("content",e.label)("contentClass",e.classes.label)("for",e.controlledId)("id",e.labelId)}}function aN(t,n){t&1&&q(0,"span")}function cN(t,n){if(t&1&&(C(0,"label",6),Ae(1),b()),t&2){let e=p(2);x(e.classes.label),v("for",e.controlledId),m(),Le("",e.value,"%")}}function lN(t,n){if(t&1&&(C(0,"div"),M(1,sN,1,4,"q-label-template",5)(2,aN,1,0,"span")(3,cN,2,4,"label",4),b()),t&2){let e=p();x(e.classes.topLabelContainer),m(),w(e.label?1:2),m(2),w(!e.indeterminate&&e.showValueLabel?3:-1)}}function dN(t,n){if(t&1&&q(0,"q-label-template",7),t&2){let e=p();x(e.classes.label),v("content",e.label)("for",e.controlledId)("id",e.labelId)}}function uN(t,n){if(t&1&&q(0,"div",8),t&2){let e,i=p();x(i.classes.progress(i.size,i.indeterminate)),We("color",i.color),v("id",i.controlledId),W("aria-label",i.ariaLabel)("aria-labelledby",(e=i.ariaLabelledby)!==null&&e!==void 0?e:i.label?i.labelId:void 0)}}function hN(t,n){if(t&1&&q(0,"div",9),t&2){let e,i=p();x(i.classes.progress(i.size,i.indeterminate)),We("color",i.color)("width",i.value,"%"),v("id",i.controlledId),W("aria-label",i.ariaLabel)("aria-labelledby",(e=i.ariaLabelledby)!==null&&e!==void 0?e:i.label?i.labelId:void 0)("aria-valuenow",i.value)}}function pN(t,n){if(t&1&&(C(0,"label",6),Ae(1),b()),t&2){let e=p();x(e.classes.label),v("for",e.controlledId),W("aria-labelledby",e.controlledId),m(),Le(" ",e.value,"% ")}}var fN=["qSideNavigationItem",""];function mN(t,n){}function gN(t,n){}function yN(t,n){if(t&1){let e=fe();C(0,"a",7,1),U("click",function(o){V(e);let r=p();return j(r.onSelect(o))})("keydown",function(o){V(e);let r=p();return j(r.onItemKeyDown(o))}),M(2,gN,0,0,"ng-template",8),b()}if(t&2){let e=p(),i=Ge(6);x(e.rootClass),v("fragment",e.item.fragment)("queryParams",e.item.queryParams)("queryParamsHandling",e.item.queryParamsHandling)("replaceUrl",e.item.replaceUrl)("routerLink",e.item.routerLink)("skipLocationChange",e.item.skipLocationChange)("state",e.item.state)("tabindex",e.tabIndex)("target",e.item.target),W("aria-current",e.ariaCurrent)("aria-disabled",e.item.disabled)("aria-labelledby",e.labelId())("id",e.id())("role",e.role),m(2),v("ngTemplateOutlet",i)}}function vN(t,n){}function kN(t,n){if(t&1){let e=fe();C(0,"a",9,1),U("click",function(o){V(e);let r=p();return j(r.onSelect(o))})("keydown",function(o){V(e);let r=p();return j(r.onItemKeyDown(o))}),M(2,vN,0,0,"ng-template",8),b()}if(t&2){let e=p(),i=Ge(6);x(e.rootClass),v("tabindex",e.tabIndex)("target",e.item.target),W("aria-disabled",e.item.disabled)("aria-labelledby",e.labelId())("href",e.item.url||null,lu)("id",e.id())("role",e.role),m(2),v("ngTemplateOutlet",i)}}function bN(t,n){}function xN(t,n){if(t&1){let e=fe();C(0,"button",10,1),U("click",function(o){V(e);let r=p();return j(r.onSelect(o))})("keydown",function(o){V(e);let r=p();return j(r.onItemKeyDown(o))}),M(2,bN,0,0,"ng-template",8),b()}if(t&2){let e=p(),i=Ge(6);x(e.rootClass),v("tabindex",e.tabIndex),W("aria-labelledby",e.labelId())("id",e.id())("role",e.role),m(2),v("ngTemplateOutlet",i)}}function CN(t,n){if(t&1&&q(0,"div",12),t&2){let e=p(2);x(e.classes.separator(e.collapsed))}}function _N(t,n){if(t&1&&(C(0,"span"),Ae(1),b()),t&2){let e=p(2);x(e.classes.sectionTitle),m(),Le(" ",e.item.sectionTitle," ")}}function wN(t,n){if(t&1&&(C(0,"div",null,1),M(2,CN,1,2,"div",11)(3,_N,2,3,"span",5),b()),t&2){let e=p();x(e.rootClass),m(2),w(e.item.separator?2:-1),m(),w(e.item.sectionTitle&&!e.collapsed?3:-1)}}function MN(t,n){if(t&1&&q(0,"q-icon-or-template",14),t&2){let e=p(2);x(e.classes.startIcon),v("icon",e.item.startIcon)("size",e.startIconSize)("templateContext",e.item)}}function IN(t,n){if(t&1&&q(0,"q-icon-or-template",14),t&2){let e=p(3);x(e.classes.startIcon),v("icon",e.item.startIcon)("size",e.startIconSize)("templateContext",e.item)}}function SN(t,n){if(t&1&&(C(0,"div"),q(1,"q-icon",16),b()),t&2){let e=p(3);x(e.classes.endContent),m(),x(e.classes.endIcon(e.expanded)),v("icon",e.endIcon)}}function DN(t,n){if(t&1&&(C(0,"div"),M(1,IN,1,5,"q-icon-or-template",13),C(2,"span",15),Ae(3),b()(),M(4,SN,2,5,"div",5)),t&2){let e=p(2);x(e.classes.startContent),m(),w(e.item.startIcon?1:-1),m(),x(e.classes.label),v("id",e.labelId()),m(),Mu(e.item.label),m(),w(e.endIcon?4:-1)}}function TN(t,n){if(t&1&&(C(0,"div"),M(1,MN,1,5,"q-icon-or-template",13)(2,DN,5,8),b()),t&2){let e=p();x(e.classes.content(e.collapsed,e.active,e.item.disabled)),m(),w(e.item.startIcon&&e.collapsed?1:-1),m(),w(e.collapsed?-1:2)}}function EN(t,n){if(t&1&&q(0,"div",17),t&2){let e=n.$implicit,i=p(2);v("activeId",i.activeId)("childListStyle",i.childItemsContainerStyle)("collapsed",i.collapsed)("disableScrollAdjustment",i.disableScrollAdjustment)("expandStrategy",i.expandStrategy)("level",i.level+1)("levelPadding",i.levelPadding)("parent",i)("qSideNavigationItem",e)}}function AN(t,n){if(t&1&&(C(0,"div",6),wn(1,EN,1,9,"div",17,k1),b()),t&2){let e=p();v("ngStyle",e.childItemsContainerStyle)("show",e.expanded),m(),Mn(e.children)}}function LN(t,n){}function RN(t,n){if(t&1&&(C(0,"div")(1,"div"),M(2,LN,0,0,"ng-template",2),b(),q(3,"div",3),b()),t&2){let e=p();x(e.classes.topContent(e.stickyTopContent)),m(),x(e.classes.searchContainer()),m(),v("ngTemplateOutlet",e.topContent)}}function ON(t,n){if(t&1&&q(0,"div",1),t&2){let e=n.$implicit,i=p();v("activeId",i.activeId)("childListStyle",i.childListStyle)("collapsed",i.collapsed)("disableScrollAdjustment",i.disableScrollAdjustment)("expandStrategy",i.expandStrategy)("level",0)("levelPadding",i.levelPadding)("qSideNavigationItem",e)}}function PN(t,n){if(t&1&&(C(0,"div"),q(1,"div",4)(2,"div",4),b()),t&2){let e=p();x(e.classes.items(!0)),m(),v("collapsed",e.collapsed)("qSideNavigationItem",e.collapseSeparatorItem),m(),v("collapsed",e.collapsed)("qSideNavigationItem",e.collapseButtonItem())}}function FN(t,n){if(t&1&&q(0,"q-input-label",8),t&2){let e=p();x(e.formFieldClasses.label),v("for",e.controlledId)("id",e.labelId)("label",e.label)("required",e.required)("size",e.size)}}function NN(t,n){if(t&1&&q(0,"q-icon",11),t&2){let e,i=p(2);v("icon",i.startIcon)("size",(e=i.startIconSize)!==null&&e!==void 0?e:i.size)}}function qN(t,n){if(t&1&&(C(0,"span",9),hn(1,10),M(2,NN,1,2,"q-icon",11),b()),t&2){let e=p();x(e.formFieldClasses.startIcon),m(),v("ngTemplateOutlet",e.qStartIcon),m(),w(e.qStartIcon?-1:2)}}function VN(t,n){if(t&1){let e=fe();C(0,"q-icon",16),U("click",function(){V(e);let o=p(3);return j(o.clearValue())}),b()}if(t&2){let e,i=p(3);x(i.formFieldClasses.clearIcon),v("disabled",i.disabled)("icon",i.clearIcon)("size",(e=i.endIconSize)!==null&&e!==void 0?e:i.size)}}function jN(t,n){if(t&1&&q(0,"q-icon",15),t&2){let e,i=p(3);v("disabled",i.disabled)("icon",i.EmptyIcon)("ngStyle",i.fakeClearIconStyle)("size",(e=i.endIconSize)!==null&&e!==void 0?e:i.size)}}function zN(t,n){if(t&1&&M(0,VN,1,5,"q-icon",14)(1,jN,1,4,"q-icon",15),t&2){let e=p(2);w(e.value?0:1)}}function BN(t,n){if(t&1&&q(0,"q-icon",17),t&2){let e=p(2);x(e.formFieldClasses.errorIcon),v("icon",e.errorIcon)("size",e.size)}}function HN(t,n){if(t&1&&q(0,"q-icon",11),t&2){let e=p(3);v("icon",e.endIcon)("size",e.size)}}function UN(t,n){if(t&1&&(C(0,"span",18),hn(1,10),M(2,HN,1,2,"q-icon",11),b()),t&2){let e=p(2);x(e.formFieldClasses.endIcon),m(),v("ngTemplateOutlet",e.qEndIcon),m(),w(e.endIcon?2:-1)}}function QN(t,n){if(t&1&&(C(0,"div"),M(1,zN,2,1)(2,BN,1,4,"q-icon",12)(3,UN,3,4,"span",13),b()),t&2){let e=p();x(e.formFieldClasses.actions),m(),w(e.clearable?1:-1),m(),w(e.hasError?2:-1),m(),w(e.qEndIcon||e.endIcon?3:-1)}}function $N(t,n){if(t&1&&q(0,"q-input-hint",19),t&2){let e=p();x(e.formFieldClasses.hint),v("for",e.controlledId)("hint",e.hint)("id",e.hintId)("size",e.size)}}var WN=["q-tab-dismiss-action",""],GN=["q-tab",""];function ZN(t,n){if(t&1&&q(0,"q-icon-or-template",2),t&2){let e=p();x(e.classes.startIcon),v("icon",e.startIcon())("size",e.context.iconSize())}}function KN(t,n){if(t&1&&q(0,"q-icon-or-template",2),t&2){let e=p();x(e.classes.endIcon),v("icon",e.endIcon())("size",e.context.iconSize())}}function XN(t,n){if(t&1){let e=fe();C(0,"div",3),U("click",function(o){V(e);let r=p();return j(r.onTabDismissed(o))})("mousedown",function(o){V(e);let r=p();return j(r.onDismissMouseDown(o))}),b()}if(t&2){let e=p();W("aria-label",e.dismissAriaLabel())}}var YN=["q-tab-list",""];function JN(t,n){t&1&&q(0,"div",0)}function eq(t,n){t&1&&q(0,"div",1)}var tq=["q-tab-panel",""];function nq(t,n){t&1&&Te(0)}var Ji=new O("An abstraction over global window object",{factory:()=>{let{defaultView:t}=S(Me);if(!t)throw new Error("Window is not available");return t}}),Uee=new O("An abstraction over window.caches object",{factory:()=>S(Ji).caches}),Qee=new O("An abstraction over window.CSS object",{factory:()=>S(Ji).CSS||{escape:t=>t,supports:()=>!1}}),iq=new O("An abstraction over window.localStorage object",{factory:()=>S(Ji).localStorage}),$ee=new O("An abstraction over window.location object",{factory:()=>S(Ji).location}),LI=new O("An abstraction over window.navigator object",{factory:()=>S(Ji).navigator}),Wee=new O("An abstraction over window.navigator.mediaDevices object",{factory:()=>S(LI).mediaDevices}),Gee=new O("An abstraction over window.performance object",{factory:()=>S(Ji).performance}),Zee=new O("An abstraction over window.screen object",{factory:()=>S(Ji).screen}),Kee=new O("An abstraction over window.navigator.userAgent object",{factory:()=>S(LI).userAgent});var RI=(()=>{class t{_portalNodeId="q-portal-root";get portalNodeId(){return this._portalNodeId}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oq=new O("DARK_MODE_OPTIONS"),rq={darkModeClass:"dark",element:"body",lightModeClass:"light",preloadingClass:"dark-mode-preloading",storageKey:"dark-mode",transitionClass:"theme-switching"},sq="(prefers-color-scheme: dark)",aq=(()=>{class t{window;constructor(e){this.window=e}matchMedia(e){return this.window?.matchMedia?.(e)}prefersDarkMode(){let e=this.matchMedia(sq);return e?e.matches:!1}static \u0275fac=function(i){return new(i||t)(D(Ji))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OI=(()=>{class t{rendererFactory;mediaQueryService;document;localStorage;providedOptions;options;renderer;darkModeSubject$;transitionTimeout;get darkMode(){return this._darkMode.asReadonly()}_darkMode=N(!1);constructor(e,i,o,r,s){this.rendererFactory=e,this.mediaQueryService=i,this.document=o,this.localStorage=r,this.providedOptions=s,this.options=k(k({},rq),this.providedOptions||{}),this.options.element==="body"&&(this.options.element=this.document.body),this.renderer=this.rendererFactory.createRenderer(null,null);let a=this.getInitialDarkModeValue();this.darkModeSubject$=new Je(a),this.darkModeSubject$.getValue()?this.enable():this.disable(),this._darkMode.set(a),this.removePreloadingClass()}get darkMode$(){return this.darkModeSubject$.asObservable().pipe(so())}toggle(){return this.darkModeSubject$.getValue()?this.disable():this.enable()}enable(){let{darkModeClass:e,element:i,lightModeClass:o}=this.options;return this.addTransition(),this.renderer.removeClass(i,o),this.renderer.addClass(i,e),this.renderer.setStyle(i,"color-scheme","dark"),this.saveDarkModeToStorage(!0),this.darkModeSubject$.next(!0),this._darkMode.set(!0),!0}disable(){let{darkModeClass:e,element:i,lightModeClass:o}=this.options;return this.addTransition(),this.renderer.removeClass(i,e),this.renderer.addClass(i,o),this.renderer.setStyle(i,"color-scheme","light"),this.saveDarkModeToStorage(!1),this.darkModeSubject$.next(!1),this._darkMode.set(!1),!1}addTransition(){let{element:e,transitionClass:i}=this.options;clearTimeout(this.transitionTimeout),this.renderer.addClass(e,i),this.transitionTimeout=setTimeout(()=>{this.renderer.removeClass(e,i)},200)}getMode=P(()=>this.darkMode()?"dark":"light");getInitialDarkModeValue(){let{defaultModeOverride:e,defaultModeSkipsCache:i}=this.options,o=this.getDarkModeFromStorage();return i||o===null||typeof o>"u"?e?e==="dark":this.mediaQueryService.prefersDarkMode():o}saveDarkModeToStorage(e){this.localStorage?.setItem?.(this.options.storageKey,JSON.stringify({darkMode:e}))}getDarkModeFromStorage(){let e=this.localStorage?.getItem?.(this.options.storageKey);if(e)try{return JSON.parse(e)?.darkMode}catch{console.error("Invalid darkMode localStorage item:",e,"falling back to color scheme media query")}return null}removePreloadingClass(){setTimeout(()=>{this.renderer.removeClass(this.options.element,this.options.preloadingClass)})}static \u0275fac=function(i){return new(i||t)(D(mo),D(aq),D(Me),D(iq),D(oq,8))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ht=(()=>{class t extends Wh{get subscribe(){return this._subscribe.asReadonly()}_subscribe=N(0);emit(){this._subscribe.update(e=>e+1)}register(e){super.register(e),Ee(()=>this.emit())}unregister(e){super.unregister(e),Ee(()=>this.emit())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),tg=(()=>{class t{document;window;configService;constructor(e,i,o){this.document=e,this.window=i,this.configService=o}set portalElement(e){this._portalElement=e}get portalElement(){let e=this._portalElement??this.document.getElementById(this.configService.portalNodeId);return e||(Ru()&&console.warn("Portal element not found, defaulting to document.body"),this.document.body)}_portalElement;isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}find(e,i){return Array.from(e.querySelectorAll(i))}getFocusableElements(e){let i=this.find(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
12
+ [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
13
+ input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
14
+ textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
15
+ [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`),o=[];for(let r of i)(r.offsetWidth||r.offsetHeight||r.getClientRects().length)&&o.push(r);return o}getNextFocusableElement(e,i=!1){if(!e)return;let o=this.getFocusableElements(e),r=0;if(o&&o.length>0){let s=o.indexOf(o[0].ownerDocument?.activeElement);i?s===-1||s===0?r=o.length-1:r=s-1:s!==-1&&s!==o.length-1&&(r=s+1)}return o[r]}static \u0275fac=function(i){return new(i||t)(D(Me),D(Ji),D(RI))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=(()=>{class t{ids={};useId(e,i,o){let r=i||o;return r||(this.ids[e]||(this.ids[e]=1),`${e}::auto-id::${this.ids[e]++}`)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ma=(()=>{class t{renderer;document;listeners=new Map;rendererListeners=[];constructor(e,i){this.renderer=e,this.document=i}setDocumentListener(e,i){this.setListener(this.document,e,i)}setListener(e,i,o){this.rendererListeners.push(this.renderer.listen(e,i,o))}clearDomListeners(){this.rendererListeners.forEach(e=>e?.()),this.rendererListeners.fill(void 0),this.rendererListeners=[]}setListeners({callbackOff:e,callbackOn:i,callbackToggle:o,hostElement:r,trigger:s}){let a=r.nativeElement,c=Array.isArray(s)?s:s?.split(" ")??[];c.includes("click")&&typeof o=="function"&&this.listeners.set("click",this.renderer.listen(a,"click",l=>o(l,"click"))),c.includes("focus")&&typeof i=="function"&&this.listeners.set("focus",this.renderer.listen(a,"focus",l=>i(l,"focus"))),(c.includes("click")||c.includes("focus"))&&typeof e=="function"&&this.listeners.set("blur",this.renderer.listen(a,"blur",l=>e(l,"blur"))),c.includes("hover")&&(typeof i=="function"&&this.listeners.set("mouseenter",this.renderer.listen(a,"mouseenter",l=>i(l,"mouse-enter"))),typeof e=="function"&&this.listeners.set("mouseleave",this.renderer.listen(a,"mouseleave",l=>e(l,"mouse-leave"))))}clearListeners(){this.listeners.forEach(e=>{e()}),this.listeners.forEach((e,i)=>{this.listeners.set(i,null)}),this.listeners.clear()}static \u0275fac=function(i){return new(i||t)(D(Ue),D(Me))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),cq={informative:Iw,negative:qh,neutral:Hc,positive:Qi,warning:_r};function PI(t){return cq[t||"neutral"]}var lq={informative:Hc,negative:_r,positive:Qi,warning:_r};function dq(t){return lq[t||"informative"]}var pI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})(),uq=(()=>{class t{icon;constructor(e){this.icon=e}static \u0275fac=function(i){return new(i||t)(h(ue))};static \u0275dir=Y({type:t,selectors:[["","qStartIcon",""],["","q-start-icon",""]]})}return t})(),hq=(()=>{class t{icon;constructor(e){this.icon=e}static \u0275fac=function(i){return new(i||t)(h(ue))};static \u0275dir=Y({type:t,selectors:[["","qEndIcon",""],["","q-end-icon",""]]})}return t})(),fI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({})}return t})(),FI=(()=>{class t{template;type;name;constructor(e){this.template=e}getType(){return this.name}static \u0275fac=function(i){return new(i||t)(h(ue))};static \u0275dir=Y({type:t,selectors:[["","qTemplate",""]],inputs:{type:"type",name:[0,"qTemplate","name"]}})}return t})(),al=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({})}return t})(),cl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[pI,al,fI,al,fI,pI]})}return t})();function pq(t,n,e){!n&&go(t);let i=n??S(Be);return e?zt(i,e):i}function Ft(t,n,e){return e=pq(Ft,e),zt(e,()=>{let i=S(Ue),o=S(J).nativeElement;Rt(()=>{let r=[],s=n(),[a,c,l]=t.split(".");switch(a){case"style":i.setStyle(o,c,`${s}${l??""}`,c.startsWith("--")?xn.DashCase:void 0);break;case"attr":s==null?i.removeAttribute(o,c):i.setAttribute(o,c,String(s));break;case"class":c?s?i.addClass(o,c):i.removeClass(o,c):(r.length&&r.forEach(d=>i.removeClass(o,d)),r=typeof s=="string"?s.split(" ").filter(Boolean):[],r.forEach(d=>i.addClass(o,d)));break;default:i.setProperty(o,a,s)}})}),n}var fq=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),mq=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Xee=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),gq=/[^\p{L}\d]+/giu,mI="$1\0$2",gI="";function yq(t){let n=t.trim();n=n.replace(fq,mI).replace(mq,mI),n=n.replace(gq,"\0");let e=0,i=n.length;for(;n.charAt(e)==="\0";)e++;if(e===i)return[];for(;n.charAt(i-1)==="\0";)i--;return n.slice(e,i).split(/\0/g)}function vq(t,n){let[e,i,o]=_q(t,n),r=kq(n?.locale),s=bq(n?.locale),a=n?.mergeAmbiguousCharacters?xq(r,s):Cq(r,s);return e+i.map(a).join(n?.delimiter??"")+o}function kq(t){return t===!1?n=>n.toLowerCase():n=>n.toLocaleLowerCase(t)}function bq(t){return t===!1?n=>n.toUpperCase():n=>n.toLocaleUpperCase(t)}function xq(t,n){return e=>`${n(e[0])}${t(e.slice(1))}`}function Cq(t,n){return(e,i)=>{let o=e[0];return(i>0&&o>="0"&&o<="9"?`_${o}`:n(o))+t(e.slice(1))}}function _q(t,n={}){let e=n.split??yq,i=n.prefixCharacters??gI,o=n.suffixCharacters??gI,r=0,s=t.length;for(;r<t.length;){let a=t.charAt(r);if(!i.includes(a))break;r++}for(;s>r;){let a=s-1,c=t.charAt(a);if(!o.includes(c))break;s=a}return[t.slice(0,r),e(t.slice(r,s)),t.slice(s)]}function ll(t){return typeof t=="number"||/^\d+$/.test(t)?`${t}px`:t}function qr(t){return fn(t,0)}function xp(t){let n=N(t);return new Proxy(n,{apply(){return n()},get(e,i){if(e[i])return e[i];let o=Ee(n),r=o[i];return typeof r=="function"?(Object.defineProperty(e,i,{configurable:!0,enumerable:!0,value:wq(n,r)}),e[i]):e[i]=o[i]},getOwnPropertyDescriptor(){return{configurable:!0,enumerable:!0}},has(e,i){return!!Ee(n)[i]},ownKeys(){return Reflect.ownKeys(Ee(n))}})}function wq(t,n){if(!(n.length>0))return P(()=>(t(),n()));let i={};return(...o)=>{let r=Mq(...o);if(i.hasOwnProperty(r))return i[r]?.();let s=P(()=>(t(),n(...o)));return i[r]=s,s()}}function Mq(...t){return JSON.stringify(t)}var yI={l:"20px",m:"16px",s:"14px",xl:"22px",xs:"12px"},NI=(()=>{class t{renderer;icons;constructor(e,i){this.renderer=e,this.icons=i}createElement([e,i,o=[]]){let r=this.renderer.createElement(e,"http://www.w3.org/2000/svg");return Object.keys(i).forEach(s=>{let a=typeof i[s]=="string"?i[s]:i[s].toString(10);this.renderer.setAttribute(r,s,a)}),o.length&&o.forEach(s=>{let a=this.createElement(s);this.renderer.appendChild(r,a)}),r}createIconElement(e,i,o="inherit"){if(!e)return;let[r,s,a=[]]=e,c=this.getNumericSize(i??"m"),l;return typeof r=="string"?(l=this.createElement([r,s,a]),this.renderer.setAttribute(l,"width",c),this.renderer.setAttribute(l,"height",c),this.renderer.setAttribute(l,"stroke-width",o),this.renderer.setAttribute(l,"fill","inherit")):l=this.createElement(["svg",{fill:"inherit",height:c,stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":o,viewBox:"0 0 24 24",width:c,xmlns:"http://www.w3.org/2000/svg"},e]),l}getNumericSize(e){return yI[e]?yI[e]:Xh(e)}getIcon(e){if(typeof e=="string"){let i=this.icons||{},o=vq(e),r=i[o]||i[`${o}Icon`]||i[e];if(!r)throw new Error(`Expected to find an icon named "${o}" but none was provided. Refer to the provider documentation at https://qui.aws.qualcomm.com/components/icons#provider`);return r}return e}static \u0275fac=function(i){ko()};static \u0275dir=Y({type:t})}return t})(),dl=new O("LUCIDE_ICONS");function Iq(t){return{provide:dl,useFactory:()=>{let n=S(dl,{optional:!0,skipSelf:!0});return n?k(k({},n),t):t}}}var Et=(()=>{class t extends NI{elementRef;renderer;icons;ariaLabel;ariaLabelledby;classNames={};disabled;icon;size="m";strokeWidth="inherit";dataTestId="q-icon";iconElement;constructor(e,i,o){super(i,o),this.elementRef=e,this.renderer=i,this.icons=o}get hostElement(){return this.elementRef.nativeElement}ngOnChanges(e){(e.icon||e.size)&&this.renderIcon()}get classes(){return Kc.root(this.disabled,this.classNames.root)}removeChildNodes(){this.hostElement.childNodes.forEach(i=>this.renderer.removeChild(this.hostElement,i))}renderIcon(){this.iconElement&&this.removeChildNodes(),this.icon&&(this.iconElement=this.createIconElement(this.getIcon(this.icon),this.size,this.strokeWidth),this.ariaLabel?this.renderer.setAttribute(this.iconElement,"aria-label",this.ariaLabel):this.renderer.removeAttribute(this.iconElement,"aria-label"),this.ariaLabelledby?this.renderer.setAttribute(this.iconElement,"aria-labelledby",this.ariaLabelledby):this.renderer.removeAttribute(this.iconElement,"aria-labelledby"),this.iconElement&&(this.removeChildNodes(),this.renderer.appendChild(this.hostElement,this.iconElement)))}static \u0275fac=function(i){return new(i||t)(h(J),h(Ue),h(dl,8))};static \u0275cmp=Q({type:t,selectors:[["q-icon"]],hostVars:3,hostBindings:function(i,o){i&2&&(W("data-test-id",o.dataTestId),x(o.classes))},inputs:{ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",classNames:"classNames",disabled:[2,"disabled","disabled",L],icon:"icon",size:"size",strokeWidth:"strokeWidth"},features:[he,we,X],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})(),Sq=(()=>{class t{hostElementRef;renderer;config;animate=!0;animateOnMount;animationDuration={enter:250,exit:250};animationEasing={enter:"ease",exit:"ease"};unmountOnExit;set show(e){this._show=Ot(e),this._show&&(this.visible.set(!0),this.renderer.setStyle(this.hostElement,"display","block")),this.initialized&&(this.animationTrigger=K(k({},this.animationTrigger),{value:this._show}))}get show(){return this._show}_show;static ngAcceptInputType_show;stateChanged=new F;animationTrigger;visible=N(!1);onAnimationStart(e){clearTimeout(this.timeoutRef),this.stateChanged.emit({event:e,state:this.show?"opening":"closing"}),this.config.onStart?.(),this.show?this.renderer.removeAttribute(this.hostElement,"aria-hidden"):this.renderer.setAttribute(this.hostElement,"aria-hidden","true")}onAnimationDone(e){this.timeoutRef=setTimeout(()=>{this.stateChanged.emit({event:e,state:this.show?"open":"closed"}),this.config.onDone?.(),this.shouldUpdateDuration&&(this.updateDuration(this.animationDuration),this.shouldUpdateDuration=!1),this.show||(this.visible.set(!1),this.renderer.setStyle(this.hostElement,"display","none"))},50)}initialized=!1;shouldUpdateDuration=!1;timeoutRef;constructor(e,i,o){this.hostElementRef=e,this.renderer=i,this.config=o,this.animationTrigger={params:{enterDuration:o.initialDuration.enter,enterEasing:o.initialEasing.enter,exitDuration:o.initialDuration.exit,exitEasing:o.initialEasing.exit},value:!1}}ngOnChanges(e){e.animate&&this.updateDuration(e.animate.currentValue?this.animationDuration:{enter:0,exit:0}),e.animationEasing&&this.updateEasing(e.animationEasing.currentValue)}ngAfterViewInit(){if(this.show){let e=aa(this.animationDuration);this.animationTrigger={params:this.animateOnMount?K(k({},this.animationTrigger.params),{enterDuration:e.enter,exitDuration:e.exit}):K(k({},this.animationTrigger.params),{enterDuration:0,exitDuration:0}),value:!0},this.shouldUpdateDuration=!this.animateOnMount}this.initialized=!0}get hostElement(){return this.hostElementRef.nativeElement}toggle(){this.show=!this.show}updateDuration(e){let i=aa(e);this.animationTrigger=K(k({},this.animationTrigger),{params:K(k({},this.animationTrigger.params),{enterDuration:i.enter||250,exitDuration:i.exit||250})})}updateEasing(e){let i=A2(e);this.animationTrigger=K(k({},this.animationTrigger),{params:K(k({},this.animationTrigger.params),{enterEasing:i.enter||"ease",exitEasing:i.exit||"ease"})})}static \u0275fac=function(i){ko()};static \u0275dir=Y({type:t,hostVars:1,hostBindings:function(i,o){i&1&&ws("@animation.start",function(s){return o.onAnimationStart(s)})("@animation.done",function(s){return o.onAnimationDone(s)}),i&2&&_s("@animation",o.animationTrigger)},inputs:{animate:[2,"animate","animate",L],animateOnMount:[2,"animateOnMount","animateOnMount",L],animationDuration:"animationDuration",animationEasing:"animationEasing",unmountOnExit:[2,"unmountOnExit","unmountOnExit",L],show:"show"},outputs:{stateChanged:"stateChanged"},features:[he,X]})}return t})(),ng=(()=>{class t extends Sq{hostElementRef;renderer;constructor(e,i){super(e,i,{initialDuration:{enter:250,exit:250},initialEasing:{enter:"ease",exit:"ease"},onDone:()=>{this.renderer.removeStyle(this.hostElement,"overflow")},onStart:()=>{this.renderer.setStyle(this.hostElement,"overflow","hidden")}}),this.hostElementRef=e,this.renderer=i}ngOnChanges(e){super.ngOnChanges(e)}ngAfterViewInit(){super.ngAfterViewInit()}static \u0275fac=function(i){return new(i||t)(h(J),h(Ue))};static \u0275cmp=Q({type:t,selectors:[["","qCollapse",""],["","q-collapse",""]],features:[we,X],attrs:dR,ngContentSelectors:xt,decls:1,vars:1,template:function(i,o){i&1&&(qe(),M(0,uR,1,0)),i&2&&w(!o.unmountOnExit||o.visible()?0:-1)},encapsulation:2,data:{animation:[vc("animation",[kt("0",vt({height:"0",opacity:"0"})),kt("1",vt({height:"*",opacity:"1"})),Pt("0 => 1",Dn("{{enterDuration}}ms {{enterEasing}}")),Pt("1 => 0",Dn("{{exitDuration}}ms {{exitEasing}}"))])]}})}return t})(),Dq=(()=>{class t{accordion;cd;idService;descendantsManagerService;idAttr;platformId;animate=!0;disabled;set expanded(e){this._expanded=Ot(e),this._expanded?this.opened.emit(this.id):this.closed.emit(this.id)}get expanded(){return this._expanded}_expanded;static ngAcceptInputType_expanded;hideSeparator;expandIconPlacement="end";label;content;size="m";secondaryText;startIcon;startIconSize;endIcon;endIconSize;opened=new F;closed=new F;qTemplates;buttonNode;classes=Ys;expandIcon=Mi;iconSizes={endIcon:"m",expandIcon:"m",startIcon:"m"};contentTemplate;labelTemplate;id;index;constructor(e,i,o,r,s,a){this.accordion=e,this.cd=i,this.idService=o,this.descendantsManagerService=r,this.idAttr=s,this.platformId=a}ngOnInit(){this.id||this.updateId(),this.updateIconSizes()}ngOnChanges(e){e.content&&(this.contentTemplate=this.content instanceof ue?this.content:null),e.label&&(this.labelTemplate=this.label instanceof ue?this.label:null),(e.endIconSize||e.startIconSize||e.size)&&this.updateIconSizes(),e.disabled&&this.syncDisabledState()}ngAfterContentInit(){this.qTemplates.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;case"titleBarContent":this.labelTemplate=e.template;break}}),this.content instanceof ue&&(this.contentTemplate=this.content),this.label instanceof ue&&(this.labelTemplate=this.label)}ngAfterViewInit(){fr(this.platformId)&&(this.descendantsManagerService.register(this.buttonNode?.nativeElement),this.disabled&&this.descendantsManagerService.disableItem(this.index))}ngOnDestroy(){fr(this.platformId)&&this.descendantsManagerService.unregister(this.buttonNode?.nativeElement)}syncDisabledState(){let e=this.descendantsManagerService.item(this.index);e&&this.buttonNode?.nativeElement===e.node&&(this.disabled?this.descendantsManagerService.disableItem(this.index):this.descendantsManagerService.enabledItem(this.index))}updateId(){this.id=this.idService.useId("q-accordion-item",null,this.idAttr)}findTabIndex(){let e=-1;for(let i=0;i<this.accordion.items.length;i++)if(this.accordion.items[i]===this){e=i;break}return e}updateIconSizes(){let e=Kh.getIconSize(this.size);this.iconSizes={endIcon:this.endIconSize||e,expandIcon:e,startIcon:this.startIconSize||e}}getId(e){return`${this.id}-${e}`}get contentId(){return this.getId("content")}get headerId(){return this.getId("header")}onToggleClick(e){let i=this.findTabIndex(),o={event:e,index:i,nextState:!this.expanded};if(this.accordion.changed.emit(o),!this.accordion.isControlled){if(this.expanded){this.expanded=!1;return}if(!this.accordion.multiple)for(let r=0;r<this.accordion.items.length;r++)this.accordion.items[r].expanded&&(this.accordion.items[r].expanded=!1,this.accordion.items[r].cd.markForCheck());this.expanded=!0}}onItemKeyDown(e,i){let o=this.descendantsManagerService,s={ArrowDown:()=>{o.nextEnabled(i)?.node?.focus()},ArrowUp:()=>{o.prevEnabled(i)?.node?.focus()},End:()=>{o.lastEnabled()?.node?.focus()},Home:()=>{o.firstEnabled()?.node?.focus()}}[e.key];s&&(e.preventDefault(),s())}static \u0275fac=function(i){return new(i||t)(h(at(()=>Tq)),h(xe),h(ft),h(Ht),pt("id"),h(gt))};static \u0275cmp=Q({type:t,selectors:[["q-accordion-item"]],contentQueries:function(i,o,r){if(i&1&&pn(r,FI,4),i&2){let s;ye(s=ve())&&(o.qTemplates=s)}},viewQuery:function(i,o){if(i&1&&Fe(hR,7),i&2){let r;ye(r=ve())&&(o.buttonNode=r.first)}},inputs:{animate:[2,"animate","animate",L],disabled:[2,"disabled","disabled",L],expanded:"expanded",hideSeparator:[2,"hideSeparator","hideSeparator",L],expandIconPlacement:"expandIconPlacement",label:"label",content:"content",size:"size",secondaryText:"secondaryText",startIcon:"startIcon",startIconSize:"startIconSize",endIcon:"endIcon",endIconSize:"endIconSize"},outputs:{opened:"opened",closed:"closed"},features:[he,X],decls:14,vars:18,consts:[["itemButton",""],["panelContent",""],[3,"id"],[3,"click","keydown","disabled","id"],[3,"class","icon","size"],[3,"class"],[4,"ngTemplateOutlet"],["qCollapse","",3,"animationDuration","show"],[3,"ngTemplateOutlet"],[3,"icon","size"],["role","region",3,"id"]],template:function(i,o){if(i&1){let r=fe();C(0,"div",2)(1,"button",3,0),U("click",function(a){return V(r),j(o.onToggleClick(a))})("keydown",function(a){return V(r),j(o.onItemKeyDown(a,o.index))}),M(3,pR,1,4,"q-icon",4)(4,fR,1,4,"q-icon",4)(5,mR,2,3,"div",5)(6,yR,1,0,null,6)(7,vR,2,3,"span",5)(8,kR,1,4,"q-icon",4)(9,bR,1,4,"q-icon",4),b(),M(10,CR,2,3,"div",7)(11,wR,1,1,null,8),b(),M(12,SR,3,6,"ng-template",null,1,Qn)}i&2&&(x(o.classes.root(o.disabled,o.hideSeparator)),v("id",o.id),m(),x(o.classes.titleBar(o.disabled,o.size)),v("disabled",o.disabled)("id",o.headerId),W("aria-controls",o.contentId)("aria-expanded",o.expanded),m(2),w(o.expandIconPlacement==="start"?3:-1),m(),w(o.startIcon?4:-1),m(),w(!o.labelTemplate&&o.label?5:-1),m(),v("ngTemplateOutlet",o.labelTemplate),m(),w(o.secondaryText?7:-1),m(),w(o.endIcon?8:-1),m(),w(o.expandIconPlacement==="end"?9:-1),m(),w(o.animate?10:-1),m(),w(!o.animate&&o.expanded?11:-1))},dependencies:[Ze,Et,ng],encapsulation:2,changeDetection:0})}return t})(),Tq=(()=>{class t{set activeIndex(e){this._activeIndex=Array.isArray(e)?e:_i(e)}get activeIndex(){return this._activeIndex}_activeIndex;static ngAcceptInputType_activeIndex;set defaultActiveIndex(e){this._defaultActiveIndex=Array.isArray(e)?e:_i(e),!this.items||!this.items.length?this.shouldUpdateItemVisibility=!0:this.updateSelectionState(this._defaultActiveIndex)}get defaultActiveIndex(){return this._defaultActiveIndex}_defaultActiveIndex;static ngAcceptInputType_defaultActiveIndex;multiple=!1;changed=new F;children;classes=Zh;isControlled=!1;items=[];itemSubscription;shouldUpdateItemVisibility=!1;ngOnChanges(e){e.activeIndex&&(this.isControlled=!0,!this.items||!this.items.length?this.shouldUpdateItemVisibility=!0:this.updateSelectionState(this._activeIndex))}ngAfterContentInit(){this.initItems(),this.itemSubscription=this.children.changes.subscribe(()=>{this.initItems()}),this.shouldUpdateItemVisibility&&(this.shouldUpdateItemVisibility=!1,this.updateSelectionState(this.isControlled?this.activeIndex:this.defaultActiveIndex))}ngOnDestroy(){this.itemSubscription&&this.itemSubscription.unsubscribe()}initItems(){this.items=this.children.toArray(),this.items.forEach((e,i)=>{e.index=i})}updateSelectionState(e){let i=ap(e);if(this.items&&this.items.length&&i.length>0)for(let o=0;o<this.items.length;o++){let r=this.multiple||this.isControlled?i.includes(o):o===e;r!==this.items[o].expanded&&(this.items[o].expanded=r,this.items[o].cd.detectChanges())}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-accordion"]],contentQueries:function(i,o,r){if(i&1&&pn(r,Dq,5),i&2){let s;ye(s=ve())&&(o.children=s)}},inputs:{activeIndex:"activeIndex",defaultActiveIndex:"defaultActiveIndex",multiple:[2,"multiple","multiple",L]},outputs:{changed:"changed"},features:[Ie([Ht]),he,X],ngContentSelectors:xt,decls:2,vars:2,template:function(i,o){i&1&&(qe(),C(0,"div"),Te(1),b()),i&2&&x(o.classes.root())},encapsulation:2})}return t})(),Vo=(()=>{class t{ariaLabel;ariaLabelledby;disabled;icon;templateContext;size="m";strokeWidth="inherit";lucideIcon;templateRef;ngOnChanges(e){e.icon&&(this.icon instanceof ue?(this.lucideIcon=null,this.templateRef=this.icon):(this.lucideIcon=this.icon,this.templateRef=null))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-icon-or-template"]],inputs:{ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",disabled:[2,"disabled","disabled",L],icon:"icon",templateContext:"templateContext",size:"size",strokeWidth:"strokeWidth"},features:[he,X],decls:2,vars:2,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ariaLabel","ariaLabelledby","disabled","icon","size","strokeWidth"]],template:function(i,o){i&1&&M(0,TR,1,2,null,0)(1,ER,1,6,"q-icon",1),i&2&&(w(o.templateRef?0:-1),m(),w(o.lucideIcon?1:-1))},dependencies:[Ze,Et],encapsulation:2,changeDetection:0})}return t})(),Ke=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})();var Cp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})(),Yee=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,Cp,al]})}return t})(),G2=class{animations;behaviour;position;constructor(n={}){this.setConfig(n)}setConfig(n={}){this.animations={enabled:!0,hide:{easing:"ease",offset:50,preset:"fade",speed:250},overlap:150,shift:{easing:D2,speed:250},show:{easing:"ease",preset:"slide",speed:250}},this.behaviour={onClick:!1,onMouseover:"pauseAutoHide",showDismissButton:!0,stacking:3},this.position={horizontal:{distance:20},vertical:{distance:20,gap:20,position:"top"}},n.animations!==void 0&&(n.animations.enabled!==void 0&&(this.animations.enabled=n.animations.enabled),n.animations.overlap!==void 0&&(this.animations.overlap=n.animations.overlap),n.animations.hide!==void 0&&Object.assign(this.animations.hide,n.animations.hide),n.animations.shift!==void 0&&Object.assign(this.animations.shift,n.animations.shift),n.animations.show!==void 0&&Object.assign(this.animations.show,n.animations.show)),n.behaviour!==void 0&&Object.assign(this.behaviour,n.behaviour),n.position!==void 0&&(n.position.horizontal!==void 0&&Object.assign(this.position.horizontal,n.position.horizontal),n.position.vertical!==void 0&&Object.assign(this.position.vertical,n.position.vertical))}},kp=class{id;key;component;autoHide;color;dismissable;dismissAriaLabel;description;label;icon;iconSize;subtleLabel;constructor(n){Object.assign(this,n),this.autoHide=n.autoHide===!1?!1:6e3,this.dismissable=n.dismissable??!0,this.key=n.key||`ID_${new Date().getTime()}`}},Eq={hide:()=>({from:{opacity:"1"},to:{opacity:"0"}}),show:()=>({from:{opacity:"0"},to:{opacity:"1"}})},Aq={hide:t=>{let n=t.component.getConfig(),e=t.component.getShift(),i,o,r=n.position.vertical.position==="top"?`calc( -100% - ${n.position.horizontal.distance}px - 10px )`:`calc( 100% + ${n.position.horizontal.distance}px + 10px )`;return i={transform:`translate3d( -50%, ${e}px, 0 )`},o={transform:`translate3d( -50%, ${r}, 0 )`},{from:i,to:o}},show:t=>{let n=t.component.getConfig(),e,i;return e={transform:`translate3d( -50%, ${n.position.vertical.position==="top"?`calc( -100% - ${n.position.horizontal.distance}px - 10px )`:`calc( 100% + ${n.position.horizontal.distance}px + 10px )`}, 0 )`},i={transform:"translate3d( -50%, 0, 0 )"},{from:e,to:i}}},Lq=(()=>{class t{animationPresets;constructor(){this.animationPresets={fade:Eq,slide:Aq}}getAnimationData(e,i){let o,r,s;return e==="show"?(o=this.animationPresets[i.component.getConfig().animations.show.preset].show(i),r=i.component.getConfig().animations.show.speed,s=i.component.getConfig().animations.show.easing):(o=this.animationPresets[i.component.getConfig().animations.hide.preset].hide(i),r=i.component.getConfig().animations.hide.speed,s=i.component.getConfig().animations.hide.easing),{keyframes:[o.from,o.to],options:{duration:r,easing:s,fill:"forwards"}}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Z2=class{actionStream=new te;actionQueue=[];isActionInProgress=!1;push(n){this.actionQueue.push(n),this.tryToRunNextAction()}continue(){this.isActionInProgress=!1,this.tryToRunNextAction()}tryToRunNextAction(){if(this.isActionInProgress||this.actionQueue.length===0)return;this.isActionInProgress=!0;let n=this.actionQueue.shift();this.actionStream.next(n)}},Rq=(()=>{class t{now;remaining;timerId;finishPromiseResolver;constructor(){this.now=0,this.remaining=0}start(e){return new Promise(i=>{this.remaining=e,this.finishPromiseResolver=i,this.continue()})}pause(){clearTimeout(this.timerId),this.remaining-=new Date().getTime()-this.now}continue(){this.now=new Date().getTime(),this.timerId=setTimeout(()=>{this.finish()},this.remaining)}stop(){clearTimeout(this.timerId),this.remaining=0}finish(){this.finishPromiseResolver?.()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})();function Oq(){return new G2({})}var vI="ALERT_TIMER_SERVICE",qI="ALERT_ANIMATION_SERVICE",VI=new O("QAlertServiceConfig"),ig=(()=>{class t{config;id;queueService=new Z2;enabled=!1;actionSubscription;currentAlerts=[];constructor(e){this.config=e,this.id=Math.floor(Math.random()*1e6).toString(10),this.actionSubscription=this.actionStream.subscribe(i=>{this.handleAction(i)})}ngOnDestroy(){this.actionSubscription.unsubscribe()}enable(){this.enabled=!0}set placement(e){this.config.setConfig({position:{vertical:{position:e}}})}get placement(){return this.config.position.vertical.position}get actionStream(){return this.queueService.actionStream.asObservable()}updateConfig(e={}){this.config.setConfig(e)}handleAction(e){switch(e.type){case"SHOW":this.currentAlerts.length===this.config.behaviour.stacking&&this.currentAlerts.shift(),this.currentAlerts.push(e.payload);break;case"HIDE":this.currentAlerts=this.currentAlerts.filter(i=>i.key!==e.payload);break;case"HIDE_ALL":this.currentAlerts=[];break}}find(e){return this.currentAlerts.find(i=>i.id===e)}show(e){this.queueService.push({payload:e,type:"SHOW"})}hide(e){this.enabled&&this.queueService.push({payload:e,type:"HIDE"})}hideAll(){this.enabled&&this.queueService.push({type:"HIDE_ALL"})}showAlert(e){if(this.enabled)return this.show(new kp(K(k({},e),{key:void 0})))}getInstance(){return this.id}static \u0275fac=function(i){return new(i||t)(D(VI))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pl=(()=>{class t{color=N("neutral");disabled=N(!1);orientation=N("horizontal");multiple=N(!1);readonly=N(!1);size=N("m");variant=N("ghost");activeIndices=N([]);init(e){this.onStateChanged=e}onStateChanged;onButtonSelected(e,i){this.readonly()||(this.multiple()?this.activeIndices.update(o=>{let r=o.includes(e)?o.filter(s=>s!==e):[...o,e];return this.onStateChanged({event:i,index:e,state:r}),r}):this.activeIndices.update(o=>{let r=o.includes(e)?[]:[e];return this.onStateChanged({event:i,index:e,state:r}),r}))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),jI=(()=>{class t{el;context;descendantsManager;classNames={};color;dense;disabled;disableTransitions;endIcon;endIconSize;fullWidth;selected;size="m";startIcon;startIconSize;variant;classes=Jh;_color=N("neutral");_disableTransitions=N(!1);_dense=N(!1);_disabled=N(!1);_fullWidth=N(!1);_selected=N(!1);_size=N("m");_variant=N("ghost");classNameState=P(()=>({color:this._color(),dense:this._dense(),disableTransitions:this._disableTransitions(),disabled:this._disabled(),fullWidth:this._fullWidth(),selected:this._selected(),size:this._size(),variant:this._variant()}));contextClass=P(()=>{let e=this.classNameState();this.descendantsManager?.subscribe();let i=this.index(),o=this.descendantsManager?.count()??0;if(!this.context)return null;let r=this.context.orientation(),s="";return i===0&&o>1?s=Zi.startButton(this.context.orientation()):i===o-1&&o>1?s=Zi.endButton(r):o>1&&(s=Zi.centerButton(r)),this.classes.root(this.context.color(),this.context.size(),this.context.variant(),e.dense,this.context.orientation()==="vertical"?!0:e.fullWidth,this.context.disabled(),this.isSelected()||!1,this.disableTransitions,s)});stateClass=P(()=>{let e=this.classNameState(),i=this.contextClass();return i||this.classes.root(e.color,e.size,e.variant,e.dense,e.fullWidth,e.disabled,e.selected,e.disableTransitions,this.classNames.root)});index=P(()=>(this.descendantsManager?.subscribe(),this.descendantsManager?.indexOf(this.el.nativeElement)??-1));isDisabled=P(()=>{let e=this.context?.disabled(),i=this._disabled();return e||i||null});isSelected=P(()=>{let e=this.index(),i=this.context?.activeIndices(),o=this._selected();return!this.context||!i||typeof e>"u"||e<0?o||null:i.includes(e)||null});constructor(e,i,o){this.el=e,this.context=i,this.descendantsManager=o}ngOnChanges(e){e.color&&this._color.set(this.color),e.disableTransitions&&this._disableTransitions.set(this.disableTransitions),e.disabled&&this._disabled.set(this.disabled),e.dense&&this._dense.set(this.dense),e.fullWidth&&this._fullWidth.set(this.fullWidth),e.selected&&this._selected.set(this.selected),e.size&&this._size.set(this.size),e.variant&&this._variant.set(this.variant)}ngOnDestroy(){this.context&&this.destroyButton()}destroyButton(){let e=this.index();if(this.context){let i=this.context.activeIndices();typeof e<"u"&&i.includes(e)&&this.context.activeIndices.update(o=>o.filter(r=>r!==e))}}isTemplate(e){return e instanceof ue}isIcon(e){return!this.isTemplate(e)}static \u0275fac=function(i){return new(i||t)(h(J),h(pl),h(Ht))};static \u0275dir=Y({type:t,inputs:{classNames:"classNames",color:"color",dense:[2,"dense","dense",L],disabled:[2,"disabled","disabled",L],disableTransitions:[2,"disableTransitions","disableTransitions",L],endIcon:"endIcon",endIconSize:"endIconSize",fullWidth:[2,"fullWidth","fullWidth",L],selected:[2,"selected","selected",L],size:"size",startIcon:"startIcon",startIconSize:"startIconSize",variant:"variant"},features:[he,X]})}return t})(),_p=(()=>{class t{el;cd;classNames;color;disabled;fullWidth;selected;size;variant;constructor(e,i){this.el=e,this.cd=i}static \u0275fac=function(i){return new(i||t)(h(J),h(xe))};static \u0275dir=Y({type:t})}return t})(),Jee=(()=>{class t extends jI{el;cd;context;descendantsManager;rootNgStyle;get pointerEvents(){return this.disabled?"none":"unset"}computedClass=P(()=>{let e=this.contextClass(),i=this.stateClass();return e||i});onClick(e){this.disabled||this.context?.onButtonSelected(this.index(),e)}constructor(e,i,o,r){super(e,o,r),this.el=e,this.cd=i,this.context=o,this.descendantsManager=r}ngOnChanges(e){super.ngOnChanges(e)}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=function(i){return new(i||t)(h(J),h(xe),h(pl,8),h(Ht,8))};static \u0275cmp=Q({type:t,selectors:[["q-button"]],hostVars:2,hostBindings:function(i,o){i&2&&We("pointer-events",o.pointerEvents)},inputs:{rootNgStyle:"rootNgStyle"},features:[Ie([{provide:_p,useExisting:at(()=>t)}]),we,X],ngContentSelectors:xt,decls:4,vars:7,consts:[["data-test-id","q-button-root",3,"click","disabled","ngStyle"],[3,"class"],[3,"icon","size"]],template:function(i,o){i&1&&(qe(),C(0,"button",0),U("click",function(s){return o.onClick(s)}),M(1,AR,2,4,"span",1),Te(2),M(3,LR,2,4,"span",1),b()),i&2&&(x(o.computedClass()),v("disabled",o.isDisabled())("ngStyle",o.rootNgStyle),W("aria-checked",o.isSelected()),m(),w(o.startIcon?1:-1),m(2),w(o.endIcon?3:-1))},dependencies:[on,Vo],encapsulation:2,changeDetection:0})}return t})(),Pq=(()=>{class t extends jI{el;cd;context;descendantsManager;class;hostClass=P(()=>{let e=this.contextClass(),i=this.stateClass();return e?I(e,this.class):I(i,this.class)});onClick(e){this.isDisabled()||this.context?.onButtonSelected(this.index(),e)}constructor(e,i,o,r){super(e,o,r),this.el=e,this.cd=i,this.context=o,this.descendantsManager=r}get htmlElement(){return this.el.nativeElement}ngOnChanges(e){super.ngOnChanges(e)}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=function(i){return new(i||t)(h(J),h(xe),h(pl,8),h(Ht,8))};static \u0275cmp=Q({type:t,selectors:[["","qButton",""],["","q-button",""]],hostVars:3,hostBindings:function(i,o){i&1&&U("click",function(s){return o.onClick(s)}),i&2&&W("aria-checked",o.isSelected())("class",o.hostClass())("disabled",o.isDisabled())},inputs:{class:"class"},features:[Ie([{provide:_p,useExisting:at(()=>t)}]),we,X],attrs:RR,ngContentSelectors:xt,decls:3,vars:2,consts:[[3,"class"],[3,"icon","size"]],template:function(i,o){i&1&&(qe(),M(0,OR,2,4,"span",0),Te(1),M(2,PR,2,4,"span",0)),i&2&&(w(o.startIcon?0:-1),m(2),w(o.endIcon?2:-1))},dependencies:[Vo],encapsulation:2})}return t})(),og=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,cl,Ke,cl]})}return t})(),zI=(()=>{class t extends NI{el;renderer;cd;context;descendantsManager;icons;classNames={};color;dense;disabled;disableTransitions;icon;iconSize;selected;shape;size="m";variant;classes=Er;_color=N("neutral");_disableTransitions=N(!1);_dense=N(!1);_disabled=N(!1);_selected=N(!1);_size=N("m");_shape=N("square");_variant=N("ghost");classNameState=P(()=>({color:this._color(),dense:this._dense(),disableTransitions:this._disableTransitions(),disabled:this._disabled(),selected:this._selected(),shape:this._shape(),size:this._size(),variant:this._variant()}));contextClass=P(()=>{let e=this.classNameState();this.descendantsManager?.subscribe();let i=this.index(),o=this.descendantsManager?.count()??0;if(!this.context)return null;let r=this.context.orientation(),s="";return i===0&&o>1?s=Zi.startButton(this.context.orientation()):i===o-1&&o>1?s=Zi.endButton(r):o>1&&(s=Zi.centerButton(r)),this.classes.root(this.context.color(),this._shape(),this.context.size(),this.context.variant(),e.dense,this.context.disabled(),this.isSelected()||!1,this.disableTransitions,s)});stateClass=P(()=>{let e=this.classNameState(),i=this.contextClass();return i||this.classes.root(e.color,e.shape,e.size,e.variant,e.dense,e.disabled,e.selected,e.disableTransitions,this.classNames.root)});index=P(()=>(this.descendantsManager?.subscribe(),this.descendantsManager?.indexOf(this.el.nativeElement)??-1));isDisabled=P(()=>{let e=this.context?.disabled(),i=this._disabled();return e||i||null});isSelected=P(()=>{let e=this.index(),i=this.context?.activeIndices(),o=this._selected();return!this.context||!i||typeof e>"u"||e<0?o||null:i.includes(e)||null});constructor(e,i,o,r,s,a){super(i,a),this.el=e,this.renderer=i,this.cd=o,this.context=r,this.descendantsManager=s,this.icons=a}ngOnChanges(e){e.color&&this._color.set(this.color),e.disableTransitions&&this._disableTransitions.set(this.disableTransitions),e.disabled&&this._disabled.set(this.disabled),e.dense&&this._dense.set(this.dense),e.selected&&this._selected.set(this.selected),e.shape&&this._shape.set(this.shape),e.size&&this._size.set(this.size),e.variant&&this._variant.set(this.variant)}ngOnDestroy(){this.context&&this.destroyButton()}destroyButton(){let e=this.index();if(this.context){let i=this.context.activeIndices();typeof e<"u"&&i.includes(e)&&this.context.activeIndices.update(o=>o.filter(r=>r!==e))}}static \u0275fac=function(i){ko()};static \u0275dir=Y({type:t,inputs:{classNames:"classNames",color:"color",dense:[2,"dense","dense",L],disabled:[2,"disabled","disabled",L],disableTransitions:[2,"disableTransitions","disableTransitions",L],icon:"icon",iconSize:"iconSize",selected:[2,"selected","selected",L],shape:"shape",size:"size",variant:"variant"},features:[he,we,X]})}return t})(),ga=(()=>{class t extends zI{el;renderer;cd;context;descendantsManager;rootNgStyle;ariaLabel;ariaLabelledby;get pointerEvents(){return this.disabled?"none":"unset"}computedClass=P(()=>{let e=this.contextClass(),i=this.stateClass();return e||i});onClick(e){this.isDisabled()||this.context?.onButtonSelected(this.index(),e)}constructor(e,i,o,r,s){let a=S(dl,{optional:!0});super(e,i,o,r,s,a),this.el=e,this.renderer=i,this.cd=o,this.context=r,this.descendantsManager=s}static \u0275fac=function(i){return new(i||t)(h(J),h(Ue),h(xe),h(pl,8),h(Ht,8))};static \u0275cmp=Q({type:t,selectors:[["q-icon-button"]],hostVars:2,hostBindings:function(i,o){i&2&&We("pointer-events",o.pointerEvents)},inputs:{rootNgStyle:"rootNgStyle",ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby"},features:[Ie([{provide:_p,useExisting:at(()=>t)}]),we],ngContentSelectors:xt,decls:3,vars:8,consts:[[3,"click","disabled","ngStyle"],[3,"class","disabled","icon","size"],[3,"disabled","icon","size"]],template:function(i,o){i&1&&(qe(),C(0,"button",0),U("click",function(s){return o.onClick(s)}),M(1,FR,1,5,"q-icon",1),Te(2),b()),i&2&&(x(o.computedClass()),v("disabled",o.isDisabled())("ngStyle",o.rootNgStyle),W("aria-checked",o.isSelected())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),m(),w(o.icon?1:-1))},dependencies:[on,Et],encapsulation:2,changeDetection:0})}return t})(),rg=(()=>{class t{hostClass=sn.displayContents;content;context;contentClass;contentStyle;stringClass;templateClass;templateStyle;contentTemplate;stringContentClass;templateContentClass;style;ngOnChanges(e){e.content&&(this.contentTemplate=e.content.currentValue instanceof ue?e.content.currentValue:null),(e.contentClass||e.stringClass)&&(this.stringContentClass=I(this.contentClass,this.stringClass)),(e.contentClass||e.templateClass)&&(this.templateContentClass=I(this.contentClass,this.templateClass)),(e.contentStyle||e.templateStyle)&&(this.style=k(k({},this.templateStyle),this.contentStyle))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Y({type:t,hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClass)},inputs:{content:"content",context:"context",contentClass:"contentClass",contentStyle:"contentStyle",stringClass:"stringClass",templateClass:"templateClass",templateStyle:"templateStyle"},features:[X]})}return t})(),sg=(()=>{class t extends rg{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275cmp=Q({type:t,selectors:[["q-span-template"]],features:[we],decls:2,vars:1,consts:[[3,"class"],[3,"class","ngStyle"],[3,"ngStyle","ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngStyle"]],template:function(i,o){i&1&&M(0,qR,2,5,"span",0)(1,VR,2,4,"span",1),i&2&&w(o.contentTemplate?0:!o.contentTemplate&&o.content?1:-1)},dependencies:[Ze,on],encapsulation:2,changeDetection:0})}return t})(),Fq=(()=>{class t{color;dismissable;dismissAriaLabel="Dismiss Alert";label;description;endContent;icon;iconSize;closed=new F;computedIconSize;iconContent;X=Ii;classes=Wi;ngOnChanges(e){(e.color||e.icon)&&(this.iconContent=this.icon??PI(this.color)),e.iconSize&&(this.computedIconSize=this.iconSize??"m")}onCloseClicked(e){this.closed.emit(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-alert-banner"]],inputs:{color:"color",dismissable:[2,"dismissable","dismissable",L],dismissAriaLabel:"dismissAriaLabel",label:"label",description:"description",endContent:"endContent",icon:"icon",iconSize:"iconSize"},outputs:{closed:"closed"},features:[he,X],ngContentSelectors:xt,decls:8,vars:12,consts:[[3,"icon","size"],[3,"content","contentClass"],[3,"ngTemplateOutlet"],["color","contrast","dense","","size","m",3,"ariaLabel","class","icon"],["color","contrast","dense","","size","m",3,"click","ariaLabel","icon"]],template:function(i,o){i&1&&(qe(),C(0,"div"),q(1,"q-icon",0),C(2,"div"),M(3,jR,1,2,"q-span-template",1)(4,zR,1,2,"q-span-template",1),b(),Te(5),M(6,HR,1,1,null,2)(7,UR,1,4,"q-icon-button",3),b()),i&2&&(x(o.classes.root(o.color)),m(),x(o.classes.headIcon),v("icon",o.iconContent)("size",o.computedIconSize),m(),x(o.classes.content),m(),w(o.label?3:-1),m(),w(o.description?4:-1),m(2),w(o.endContent?6:-1),m(),w(o.dismissable?7:-1))},dependencies:[Ze,ga,Et,sg],encapsulation:2,changeDetection:0})}return t})(),Nq=(()=>{class t{elementRef;renderer;alertService;timerService;animationService;className="q-alert-animator--root";alert;ready=new F;dismissed=new F;config;elementHeight;elementWidth;elementShift=0;visible;constructor(e,i,o,r,s){this.elementRef=e,this.renderer=i,this.alertService=o,this.timerService=r,this.animationService=s,this.config=o.config}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){this.setup(),this.elementHeight=this.element.offsetHeight,this.elementWidth=this.element.offsetWidth,this.ready.emit(this)}closeTriggered(e){this.dismissed.emit(e.key)}onClick(){this.config.behaviour.onClick==="hide"&&this.onClickDismiss()}onMouseOut(){this.config.behaviour.onMouseover==="pauseAutoHide"?this.continueAutoHideTimer():this.config.behaviour.onMouseover==="resetAutoHide"&&this.startAutoHideTimer()}onMouseOver(){this.config.behaviour.onMouseover==="pauseAutoHide"?this.pauseAutoHideTimer():this.config.behaviour.onMouseover==="resetAutoHide"&&this.stopAutoHideTimer()}get autoHide(){return this.alert.autoHide}getConfig(){return this.config}getHeight(){return this.elementHeight}getShift(){return this.elementShift}show(){return new Promise(e=>{if(this.config.animations.enabled&&this.config.animations.show.speed>0){let i=this.animationService.getAnimationData("show",this.alert),o=Object.keys(i.keyframes[0]);for(let s=o.length-1;s>=0;s--)this.renderer.setStyle(this.element,o[s],i.keyframes[0][o[s]]);this.renderer.setStyle(this.element,"visibility","visible"),this.visible=!0;let r=this.element.animate(i.keyframes,i.options);r.onfinish=()=>{this.startAutoHideTimer(),e()}}else this.renderer.setStyle(this.element,"visibility","visible"),this.visible=!0,this.startAutoHideTimer(),e()})}hide(){return new Promise(e=>{if(this.stopAutoHideTimer(),this.config.animations.enabled&&this.config.animations.hide.speed>0){let i=this.animationService.getAnimationData("hide",this.alert),o=this.element.animate(i.keyframes,i.options);o.onfinish=()=>{e(),this.renderer.setStyle(this.element,"visibility","hidden"),this.visible=!1}}else this.renderer.setStyle(this.element,"visibility","hidden"),this.visible=!1,e()})}shift(e,i){return new Promise(o=>{let r;this.config.position.vertical.position==="top"&&i||this.config.position.vertical.position==="bottom"&&!i?r=this.elementShift+e+this.config.position.vertical.gap:r=this.elementShift-e-this.config.position.vertical.gap;let s="-50%";if(this.config.animations.enabled&&this.config.animations.shift.speed>0){let a={keyframes:[{transform:`translate3d( ${s}, ${this.elementShift}px, 0 )`},{transform:`translate3d( ${s}, ${r}px, 0 )`}],options:{duration:this.config.animations.shift.speed,easing:this.config.animations.shift.easing,fill:"forwards"}};this.elementShift=r;let c=this.element.animate(a.keyframes,a.options);c.onfinish=()=>{o()}}else this.renderer.setStyle(this.element,"transform",`translate3d( ${s}, ${r}px, 0 )`),this.elementShift=r,o()})}onClickDismiss(){this.dismissed.emit(this.alert.key)}startAutoHideTimer(){this.alert.autoHide!==!1&&this.alert.autoHide>0&&this.timerService.start(this.alert.autoHide).then(()=>{this.onClickDismiss()})}pauseAutoHideTimer(){this.alert.autoHide!==!1&&this.alert.autoHide>0&&this.timerService.pause()}continueAutoHideTimer(){this.alert.autoHide!==!1&&this.alert.autoHide>0&&this.timerService.continue()}stopAutoHideTimer(){this.alert.autoHide!==!1&&this.alert.autoHide>0&&this.timerService.stop()}setup(){this.renderer.setStyle(this.element,"left","50%"),this.renderer.setStyle(this.element,"transform","translate3d( -50%, 0, 0 )"),this.config.position.vertical.position==="top"?this.renderer.setStyle(this.element,"top",`${this.config.position.vertical.distance}px`):this.renderer.setStyle(this.element,"bottom",`${this.config.position.vertical.distance}px`)}static \u0275fac=function(i){return new(i||t)(h(J),h(Ue),h(ig),h(vI),h(qI))};static \u0275cmp=Q({type:t,selectors:[["q-alert-animator"]],hostVars:2,hostBindings:function(i,o){i&1&&U("click",function(){return o.onClick()})("mouseout",function(){return o.onMouseOut()})("mouseover",function(){return o.onMouseOver()}),i&2&&x(o.className)},inputs:{alert:"alert"},outputs:{ready:"ready",dismissed:"dismissed"},features:[Ie([{provide:vI,useClass:Rq}])],decls:1,vars:7,consts:[[3,"closed","color","description","dismissAriaLabel","dismissable","icon","iconSize","label"]],template:function(i,o){i&1&&(C(0,"q-alert-banner",0),U("closed",function(){return o.closeTriggered(o.alert)}),b()),i&2&&v("color",o.alert.color)("description",o.alert.description)("dismissAriaLabel",o.alert.dismissAriaLabel)("dismissable",o.alert.dismissable)("icon",o.alert.icon)("iconSize",o.alert.iconSize)("label",o.alert.label)},dependencies:[Fq],encapsulation:2,changeDetection:0})}return t})(),qq=(()=>{class t{cd;alertService;alerts=[];queueServiceSubscription;tempPromiseResolver;constructor(e,i){this.cd=e,this.alertService=i,this.queueServiceSubscription=this.alertService.actionStream.subscribe(o=>{this.handleAction(o).then(()=>{this.alertService.queueService.continue()})})}ngOnDestroy(){this.queueServiceSubscription&&this.queueServiceSubscription.unsubscribe()}identifyAlert(e){return e.key}onAlertDismiss(e){this.alertService.queueService.push({payload:e,type:"HIDE"})}onAlertReady(e){let i=this.alerts[this.alerts.length-1];i.component=e,this.continueHandleShowAction(i)}handleAction(e){switch(e.type){case"SHOW":return this.handleShowAction(e);case"HIDE":return this.handleHideAction(e);case"HIDE_ALL":return this.handleHideAllAction()}}handleShowAction(e){return new Promise(i=>{this.tempPromiseResolver=i,this.addAlertToList(new kp(e.payload))})}continueHandleShowAction(e){let i=this.alerts.length;if(i===1)e.component.show().then(this.tempPromiseResolver);else if(this.alertService.config.behaviour.stacking===!1||this.alertService.config.behaviour.stacking<2)this.alerts[0].component.hide().then(()=>{this.removeAlertFromList(this.alerts[0]),e.component.show().then(this.tempPromiseResolver)});else{let r=[];if(i>this.alertService.config.behaviour.stacking){let s=this.alerts.slice(1,i-1);this.alertService.config.animations.enabled?this.alertService.config.animations.overlap!==!1&&this.alertService.config.animations.overlap>0?(r.push(this.alerts[0].component.hide()),setTimeout(()=>{r.push(this.shiftAlerts(s,e.component.getHeight(),!0))},this.alertService.config.animations.hide.speed-this.alertService.config.animations.overlap),setTimeout(()=>{r.push(e.component.show())},this.alertService.config.animations.hide.speed+this.alertService.config.animations.shift.speed-this.alertService.config.animations.overlap)):r.push(new Promise(a=>{this.alerts[0].component.hide().then(()=>{this.shiftAlerts(s,e.component.getHeight(),!0).then(()=>{e.component.show().then(a)})})})):(r.push(this.alerts[0].component.hide()),r.push(this.shiftAlerts(s,e.component.getHeight(),!0)),r.push(e.component.show()))}else{let s=this.alerts.slice(0,i-1);this.alertService.config.animations.enabled?this.alertService.config.animations.overlap!==!1&&this.alertService.config.animations.overlap>0?(r.push(this.shiftAlerts(s,e.component.getHeight(),!0)),setTimeout(()=>{r.push(e.component.show())},this.alertService.config.animations.shift.speed-this.alertService.config.animations.overlap)):r.push(new Promise(a=>{this.shiftAlerts(s,e.component.getHeight(),!0).then(()=>{e.component.show().then(a)})})):(r.push(this.shiftAlerts(s,e.component.getHeight(),!0)),r.push(e.component.show()))}Promise.all(r).then(()=>{(!this.alertService.config.behaviour.stacking||i>this.alertService.config.behaviour.stacking)&&this.removeAlertFromList(this.alerts[0]),this.tempPromiseResolver()})}}handleHideAction(e){return new Promise(i=>{let o=[],r=this.findAlertById(e.payload);if(r===void 0){i();return}let s=this.findAlertIndexById(e.payload);if(s===void 0){i();return}let a=this.alerts.slice(0,s);a.length>0?this.alertService.config.animations.enabled&&this.alertService.config.animations.hide.speed>0?this.alertService.config.animations.overlap!==!1&&this.alertService.config.animations.overlap>0?(o.push(r.component.hide()),setTimeout(()=>{o.push(this.shiftAlerts(a,r.component.getHeight(),!1))},this.alertService.config.animations.hide.speed-this.alertService.config.animations.overlap)):r.component.hide().then(()=>{o.push(this.shiftAlerts(a,r.component.getHeight(),!1))}):(o.push(r.component.hide()),o.push(this.shiftAlerts(a,r.component.getHeight(),!1))):o.push(r.component.hide()),Promise.all(o).then(()=>{this.removeAlertFromList(r),i()})})}handleHideAllAction(){return new Promise(e=>{let i=this.alerts.length;if(i===0){e();return}if(this.alertService.config.animations.enabled&&this.alertService.config.animations.hide.speed>0&&this.alertService.config.animations.hide.offset!==!1&&this.alertService.config.animations.hide.offset>0)for(let o=i-1;o>=0;o--){let r=this.alertService.config.position.vertical.position==="top"?i-1:o;setTimeout(()=>{this.alerts[o].component.hide().then(()=>{(this.alertService.config.position.vertical.position==="top"&&o===0||this.alertService.config.position.vertical.position==="bottom"&&o===i-1)&&(this.removeAllAlertsFromList(),e())})},this.alertService.config.animations.hide.offset*r)}else{let o=[];for(let r=i-1;r>=0;r--)o.push(this.alerts[r].component.hide());Promise.all(o).then(()=>{this.removeAllAlertsFromList(),e()})}})}shiftAlerts(e,i,o){return new Promise(r=>{if(e.length===0){r();return}let s=[];for(let a=e.length-1;a>=0;a--)s.push(e[a].component.shift(i,o));Promise.all(s).then(r)})}addAlertToList(e){this.alerts.push(e),this.cd.markForCheck()}removeAlertFromList(e){this.alerts=this.alerts.filter(i=>i.component!==e.component),this.cd.markForCheck()}removeAllAlertsFromList(){this.alerts=[],this.cd.markForCheck()}findAlertById(e){return this.alerts.find(i=>i.key===e)}findAlertIndexById(e){let i=this.alerts.findIndex(o=>o.key===e);return i!==-1?i:void 0}static \u0275fac=function(i){return new(i||t)(h(xe),h(ig))};static \u0275cmp=Q({type:t,selectors:[["q-alert-container"]],decls:2,vars:0,consts:[[3,"dismissed","ready","alert"]],template:function(i,o){i&1&&wn(0,$R,2,1,"div",null,QR,!0),i&2&&Mn(o.alerts)},dependencies:[Nq],encapsulation:2,changeDetection:0})}return t})(),BI=(()=>{class t extends zI{renderer;el;cd;context;descendantsManager;iconElement;class;hostClass=P(()=>{let e=this.contextClass(),i=this.stateClass();return e?I(e,this.class):I(i,this.class)});onClick(e){this.disabled||this.context?.onButtonSelected(this.index(),e)}constructor(e,i,o,r,s){let a=S(dl,{optional:!0});super(i,e,o,r,s,a),this.renderer=e,this.el=i,this.cd=o,this.context=r,this.descendantsManager=s}get htmlElement(){return this.el.nativeElement}ngOnChanges(e){super.ngOnChanges(e),this.renderIcon(),e.disabled&&this.renderer.setProperty(this.htmlElement,"disabled",this.disabled)}ngOnDestroy(){super.ngOnDestroy()}removeChildNodes(){this.htmlElement.childNodes.forEach(i=>this.renderer.removeChild(this.htmlElement,i))}renderIcon(){if(this.iconElement&&this.removeChildNodes(),!this.icon)return;let e=this.createIconElement(this.getIcon(this.icon),this.iconSize??this.size);e&&(this.iconElement=this.renderer.createElement("span"),this.renderer.setAttribute(this.iconElement,"class",Kc.root(this.disabled,this.classNames.icon)),this.removeChildNodes(),this.iconElement.appendChild(e),this.renderer.appendChild(this.htmlElement,this.iconElement))}static \u0275fac=function(i){return new(i||t)(h(Ue),h(J),h(xe),h(pl,8),h(Ht,8))};static \u0275dir=Y({type:t,selectors:[["","q-icon-button",""],["","qIconButton",""]],hostVars:3,hostBindings:function(i,o){i&1&&U("click",function(s){return o.onClick(s)}),i&2&&W("aria-checked",o.isSelected())("class",o.hostClass())("disabled",o.isDisabled())},inputs:{class:"class"},features:[Ie([{provide:_p,useExisting:at(()=>t)}]),we,X]})}return t})(),ti=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke]})}return t})(),HI=(()=>{class t extends rg{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275cmp=Q({type:t,selectors:[["q-div-template"]],features:[we],decls:2,vars:1,consts:[[3,"class","ngStyle"],[3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&M(0,GR,2,5,"div",0)(1,ZR,2,4,"div",0),i&2&&w(o.contentTemplate?0:!o.contentTemplate&&o.content?1:-1)},dependencies:[Ze,on],encapsulation:2,changeDetection:0})}return t})(),UI=(()=>{class t extends rg{idService;idAttr;id;for;controlledId;constructor(e,i){super(),this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateIds()}ngOnChanges(e){super.ngOnChanges(e),e.id&&this.updateIds()}updateIds(){this.controlledId=this.idService.useId("q-label-template",this.id,this.idAttr)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-label-template"]],inputs:{id:"id",for:"for"},features:[we,X],decls:2,vars:1,consts:[[3,"class","ngStyle"],[3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&M(0,XR,2,7,"label",0)(1,YR,2,6,"label",0),i&2&&w(o.contentTemplate?0:!o.contentTemplate&&o.content?1:-1)},dependencies:[Ze,on],encapsulation:2,changeDetection:0})}return t})(),Vr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})(),Vq=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,ti,Ke,Vr]})}return t})(),jq=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({providers:[{provide:qI,useClass:Lq},{provide:VI,useFactory:Oq}],imports:[Ce,Vq]})}return t})();function zq(t){return fn(t,-1)}var ul=class t{set anchorOffset(n){this._anchorOffset=typeof n=="string"||typeof n=="number"?_i(n):n}get anchorOffset(){return this._anchorOffset}_anchorOffset;static ngAcceptInputType_anchorOffset=ct.offset;animation="collapse-and-fade";set animationDuration(n){this._animationDuration=aa(typeof n=="number"||typeof n=="string"?_i(n):n)}get animationDuration(){return this._animationDuration}_animationDuration={enter:250,exit:250};animationEasing="ease";appendTo="host";elevation=ct.elevation;manual;placement=ct.placement;pollInterval=-1;position=ct.position;restoreFocus=ct.restoreFocus;static \u0275fac=function(e){return new(e||t)};static \u0275dir=Y({type:t,inputs:{anchorOffset:"anchorOffset",animation:"animation",animationDuration:"animationDuration",animationEasing:"animationEasing",appendTo:"appendTo",elevation:"elevation",manual:[2,"manual","manual",L],placement:"placement",pollInterval:[2,"pollInterval","pollInterval",zq],position:"position",restoreFocus:[2,"restoreFocus","restoreFocus",L]},features:[he]})},j2=Dn("{{enterDuration}}ms {{enterDelay}}ms {{enterTiming}}"),z2=Dn("{{exitDuration}}ms {{exitDelay}}ms {{exitTiming}}"),B2=kt("collapse-hide",vt({height:0,offset:0,visibility:"hidden"})),H2=kt("collapse-show",vt({height:"*",offset:1,visibility:"visible"})),U2=kt("collapse-and-fade-hide",vt({height:"0",offset:0,opacity:"0",visibility:"hidden"})),Q2=kt("collapse-and-fade-show",vt({height:"*",offset:1,opacity:"1",visibility:"visible"})),$2=kt("fade-hide",vt({opacity:"0",visibility:"hidden"})),W2=kt("fade-show",vt({opacity:"1",visibility:"visible"})),Bq=[B2,H2,Pt(`${B2.name} => ${H2.name}`,j2),Pt(`${H2.name} => ${B2.name}`,z2),U2,Q2,Pt(`${U2.name} => ${Q2.name}`,j2),Pt(`${Q2.name} => ${U2.name}`,z2),$2,W2,Pt(`${$2.name} => ${W2.name}`,j2),Pt(`${W2.name} => ${$2.name}`,z2),kt("none-hide",vt({display:"none",visibility:"hidden"})),kt("none-show",vt({display:"block",visibility:"visible"})),Pt("none-hide <=> none-show",Dn("0ms 0ms"))],kI=(()=>{class t{elementRef;renderer;id;role;animation;animationDuration;animationEasing;elevation;placement;position="absolute";show=!1;visible;display="none";zIndex=1e3;stateChanged=new F;collapseRef;get hostClasses(){return{[na.root()]:!0,[na.position(this.position)]:!0,[sn.elevation(this.elevation)]:!0}}animationConfig;onAnimationStart(e){clearTimeout(this.timeoutRef),(this.animation==="collapse"||this.animation==="collapse-and-fade")&&this.renderer.setStyle(this.hostElement,"overflow","hidden"),this.stateChanged.emit({event:e,state:this.show?"opening":"closing"})}onAnimationDone(e){this.timeoutRef=setTimeout(()=>{(this.animation==="collapse"||this.animation==="collapse-and-fade")&&this.renderer.removeStyle(this.hostElement,"overflow"),this.stateChanged.emit({event:e,state:this.show?"open":"closed"})},50)}timeoutRef;constructor(e,i){this.elementRef=e,this.renderer=i}ngOnInit(){this.updateAnimation()}ngOnChanges(e){e.animation?(this.updateAnimation(`${this.animation}-hide`),setTimeout(()=>{this.updateAnimation()})):this.updateAnimation(),e.visible&&(this.display=this.visible?"block":"none")}updateAnimation(e){let i=aa(this.animationDuration),o=A2(this.animationEasing);this.animationConfig={params:{enterDelay:0,enterDuration:i.enter??250,enterTiming:o.enter??"ease",exitDelay:0,exitDuration:i.exit??250,exitTiming:o.exit??"ease"},value:e||`${this.animation}-${this.show?"show":"hide"}`}}get hostElement(){return this.elementRef.nativeElement}static \u0275fac=function(i){return new(i||t)(h(J),h(Ue))};static \u0275cmp=Q({type:t,selectors:[["","qOverlayPanelPopup",""],["","q-overlay-panel-popup",""]],viewQuery:function(i,o){if(i&1&&Fe(JR,7),i&2){let r;ye(r=ve())&&(o.collapseRef=r.first)}},hostVars:9,hostBindings:function(i,o){i&1&&ws("@animation.start",function(s){return o.onAnimationStart(s)})("@animation.done",function(s){return o.onAnimationDone(s)}),i&2&&(_s("@animation",o.animationConfig),W("id",o.id)("role",o.role),x(o.hostClasses),We("display",o.display)("z-index",o.zIndex))},inputs:{id:"id",role:"role",animation:"animation",animationDuration:"animationDuration",animationEasing:"animationEasing",elevation:"elevation",placement:"placement",position:"position",show:"show",visible:[2,"visible","visible",L],display:"display",zIndex:"zIndex"},outputs:{stateChanged:"stateChanged"},features:[he,X],attrs:eO,ngContentSelectors:xt,decls:1,vars:0,template:function(i,o){i&1&&(qe(),Te(0))},encapsulation:2,data:{animation:[vc("animation",Bq)]},changeDetection:0})}return t})();function QI(t,n,e,i,o,r){let{centerOffset:s,x:a,y:c}=t;if(typeof s>"u"||!e||!i)return;let l=e.getBoundingClientRect();if(s!==0||a&&a<1)switch(n){case"bottom-start":case"top-start":o.setStyle(i,"right","10px");break;case"bottom-end":case"top-end":o.setStyle(i,"left","10px");break;case"left-start":case"right-start":case"left-end":case"right-end":let d=(l.bottom-l.top)/2-4;o.setStyle(i,"top",`${d}px`);break;default:return}else o.setStyle(i,"left",typeof a<"u"?`${a}px`:""),o.setStyle(i,"top",typeof c<"u"?`${c}px`:"");o.setAttribute(i,"class",r)}function Hq(t,n){return!t||!n?!0:t&&!n||!t&&n?!1:t.x===n.x&&t.y===n.y&&t.top===n.top&&t.bottom===n.bottom&&t.height===n.height&&t.width===n.width&&t.left===n.left&&t.right===n.right}var ag=(()=>{class t extends ul{renderer;domService;elementRef;cd;listenerService;platformId;idService;anchorElement;defaultShow=!1;flip=!0;id;middleware=[];popupStyle;set show(e){this._show=e===void 0?void 0:Ot(e),this._show&&(this.popupElement&&(this.renderer.setStyle(this.popupElement,"opacity",0),setTimeout(()=>{this.popupElement&&this.renderer.removeStyle(this.popupElement,"opacity")})),this._visible=!0)}get show(){return this._show}_show;showArrow;zIndex=1e3;closeTriggered=new F;stateChanged=new F;hostPosition="absolute";get floatingOptions(){return k({placement:this.placement,strategy:"absolute"},this._floatingOptions)}_floatingOptions={middleware:[sl(),fa(this.resolvedAnchorOffset??1)]};get resolvedAnchorOffset(){let e=this.anchorOffset??1;return e}childPanels;overlayPopup;getFloatingMiddleware(){let e=[];if(this.flip&&e.push(sl()),this.arrowElement&&this.showArrow){let i=this.anchorOffset??1;e.push(fa(typeof i=="number"?i+8:i)),e.push(q2({element:this.arrowElement}))}else this.middleware.some(i=>i.name==="offset")||e.push(fa(this.anchorOffset??1));return[...e,...this.middleware]}arrowElementRef;trackerRef;showPopup;get visible(){return this._visible}_visible;set open(e){this._open=e,this._open&&(this._visible=!0)}get open(){return this._show??this._open}_open=!1;get controlled(){return E2(this._show)}anchorEl;arrowElement;clickedTarget;deregisterWatcher;hideTimeoutRef;showTimeoutRef;updateInterval;controlledId="";updateFloatingOptions(){In(this.platformId)||(this._floatingOptions=K(k({},this._floatingOptions),{middleware:this.getFloatingMiddleware(),placement:this.placement,strategy:this.position}))}constructor(e,i,o,r,s,a,c){super(),this.renderer=e,this.domService=i,this.elementRef=o,this.cd=r,this.listenerService=s,this.platformId=a,this.idService=c}ngOnInit(){this.updateFloatingOptions(),this.renderer.setStyle(this.popupElement,"visibility","hidden"),this.controlledId||this.updateId()}ngOnChanges(e){e.id&&this.updateId(),e.anchorOffset&&(this.updateFloatingOptions(),this.open&&!(e.show&&e.show.isFirstChange())&&this.showDropdown()),e.flip&&this.updateFloatingOptions(),e.middleware&&this.updateFloatingOptions(),e.anchorElement&&e.anchorElement.currentValue&&!In(this.platformId)&&(this.anchorEl=this.anchorElement,this.updatePosition()),e.placement&&(this.updateFloatingOptions(),this.open&&!(e.show&&e.show.isFirstChange())&&this.showDropdown()),e.position&&(this.updateFloatingOptions(),this.hostPosition=this.position),e.showArrow&&(this.showArrow?(this.arrowElement=this.arrowElement??this.renderer.createElement("div"),this.renderer.setStyle(this.arrowElement,"position","absolute"),this.appendArrowElement()):this.removeArrowElement(),this.updateFloatingOptions(),this.open&&!(e.show&&e.show.isFirstChange())&&this.showDropdown()),e.show&&!e.show.isFirstChange()&&(e.show.currentValue?this.showDropdown():this.hideDropdown())}ngAfterViewInit(){this.appendTo!=="host"&&(this.renderer.removeChild(this.hostElement,this.popupElement),this.renderer.appendChild(this.appendTargetElement,this.popupElement)),(this.defaultShow||this.show)&&(this.open=!0,this.syncDropdownState())}ngOnDestroy(){clearTimeout(this.hideTimeoutRef),clearTimeout(this.showTimeoutRef),this.listenerService.clearDomListeners(),this.open=!1,this.popupElement&&this.appendTargetElement&&this.appendTargetElement.contains(this.popupElement)&&this.renderer.removeChild(this.appendTargetElement,this.popupElement),this.forceHide()}get hostElement(){return this.elementRef.nativeElement}get toggleElement(){return this.anchorEl}get popupElement(){return this.overlayPopup.hostElement}get appendTargetElement(){switch(this.appendTo){case"host":return this.hostElement;case"portal":return this.domService.portalElement;default:return this.appendTo}}updateId(){this.controlledId=this.idService.useId("q-overlay-panel",this.id,null)}focusAnchorElement(){this.anchorElement.focus()}appendArrowElement(){this.arrowElement&&this.popupElement&&!this.popupElement.contains(this.arrowElement)&&this.renderer.appendChild(this.popupElement,this.arrowElement)}removeArrowElement(){this.arrowElement&&this.popupElement&&this.popupElement.contains(this.arrowElement)&&this.renderer.removeChild(this.popupElement,this.arrowElement)}syncDropdownState(){this.open?this.showDropdown():this.hideDropdown()}onStateChanged(e){this.stateChanged.emit({event:e.event,id:this.controlledId,state:e.state}),this.showArrow&&(this.animation==="collapse"||this.animation==="collapse-and-fade")&&(e.state==="opening"?this.renderer.setStyle(this.arrowElement,"display","none"):e.state==="open"&&this.renderer.setStyle(this.arrowElement,"display","block"))}toggle(e){this.anchorEl=this.anchorElement||e?.currentTarget,!this.open&&!this.anchorEl&&Ru()&&console.error("The Overlay Panel requires a valid anchor element."),this.controlled?Ru()&&console.debug("controlled, not toggling",this._show):(this.open=!this.open,this.syncDropdownState())}close(e,i){this.open&&(this.controlled?this.closeTriggered.emit({event:e,id:this.controlledId,reason:i}):this.toggle())}updatePosition(){if(!(!this.popupElement||!this.toggleElement))return V2(this.toggleElement,this.popupElement,k({},this.floatingOptions)).then(({middlewareData:e,placement:i,x:o,y:r})=>{if(!this.popupElement||!this.open)return;let s=`${o}px`,a=`${r}px`;this.renderer.setStyle(this.popupElement,"left",s),this.renderer.setStyle(this.popupElement,"top",a),this.showArrow&&QI(e.arrow??{},i,this.popupElement,this.arrowElement,this.renderer,na.arrow(i)),this.cd.detectChanges()})}showDropdown(){In(this.platformId)||(clearTimeout(this.hideTimeoutRef),this.showTimeoutRef=setTimeout(()=>{!this.toggleElement||!this.popupElement||(this.updatePosition(),this.deregisterWatcher&&this.deregisterWatcher?.(),this.deregisterWatcher=N2(this.toggleElement,this.popupElement,()=>this.updatePosition()),this.showArrow&&!this.popupElement.contains(this.arrowElement)&&this.renderer.appendChild(this.popupElement,this.arrowElement),this.pollInterval>-1&&(clearInterval(this.updateInterval),this.updateInterval=setInterval(()=>{this.updatePosition()},this.pollInterval)),this.renderer.setStyle(this.popupElement,"visibility","visible"),this.showPopup=!0,setTimeout(()=>{this.setListeners()}))}))}hideDropdown(){this.hideChildPanels(),clearTimeout(this.showTimeoutRef),this.listenerService.clearDomListeners(),this.showPopup=!1,this.cd.detectChanges(),clearTimeout(this.hideTimeoutRef),this.hideTimeoutRef=setTimeout(()=>{this.forceHide()},this.animation==="none"?0:aa(this.animationDuration).exit)}forceHide(){this.deregisterWatcher?.(),this.removeArrowElement(),clearInterval(this.updateInterval),this._visible=!1,this.showPopup=!1}parentClosed(){this.open&&(this.closeTriggered.emit({id:this.controlledId,reason:"parent-closed"}),!this.controlled&&(this.open=!1,this.syncDropdownState()))}hideChildPanels(){this.childPanels?.forEach?.(e=>{e.parentClosed()})}setListeners(){this.listenerService.setDocumentListener("click",e=>{let i=e.target;this.popupElement&&this.popupElement.contains(i)&&(this.clickedTarget=i),(this.toggleElement===e.target||this.toggleElement&&this.toggleElement.contains(i))&&(this.clickedTarget=i),this.clickedTarget!==i?this.closeTriggered.emit({event:e,id:this.controlledId,reason:"click-outside"}):this.closeTriggered.emit({event:e,id:this.controlledId,reason:"click-inside"}),!(this.controlled||e.defaultPrevented)&&(this.open=!1,this.syncDropdownState())}),this.listenerService.setDocumentListener("keyup",e=>{if(e.key==="Escape"){if(this.closeTriggered.emit({event:e,id:this.id,reason:"escape-key"}),this.controlled)return;e.stopPropagation(),this.open=!1,this.syncDropdownState();return}else if(e.key==="Tab"&&!this.hostElement.contains(e.target)&&!this.popupElement?.contains(e.target)){if(this.closeTriggered.emit({event:e,id:this.id,reason:"tab-key"}),this.controlled||e.defaultPrevented)return;this.open=!1,this.syncDropdownState()}})}static \u0275fac=function(i){return new(i||t)(h(Ue),h(tg),h(J),h(xe),h(ma),h(gt),h(ft))};static \u0275cmp=Q({type:t,selectors:[["q-overlay-panel"]],contentQueries:function(i,o,r){if(i&1&&pn(r,t,5),i&2){let s;ye(s=ve())&&(o.childPanels=s)}},viewQuery:function(i,o){if(i&1&&(Fe(kI,7),Fe(tO,7),Fe(nO,7)),i&2){let r;ye(r=ve())&&(o.overlayPopup=r.first),ye(r=ve())&&(o.arrowElementRef=r.first),ye(r=ve())&&(o.trackerRef=r.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:2,hostBindings:function(i,o){i&2&&We("position",o.hostPosition)},inputs:{anchorElement:"anchorElement",defaultShow:[2,"defaultShow","defaultShow",L],flip:[2,"flip","flip",L],id:"id",middleware:"middleware",popupStyle:"popupStyle",show:"show",showArrow:[2,"showArrow","showArrow",L],zIndex:[2,"zIndex","zIndex",fn]},outputs:{closeTriggered:"closeTriggered",stateChanged:"stateChanged"},features:[Ie([ma]),he,we,X],ngContentSelectors:xt,decls:2,vars:9,consts:[["q-overlay-panel-popup","",3,"stateChanged","animation","animationDuration","animationEasing","elevation","ngStyle","placement","show","visible","zIndex"]],template:function(i,o){i&1&&(qe(),C(0,"div",0),U("stateChanged",function(s){return o.onStateChanged(s)}),Te(1),b()),i&2&&v("animation",o.animation)("animationDuration",o.animationDuration)("animationEasing",o.animationEasing)("elevation",o.elevation)("ngStyle",o.popupStyle)("placement",o.placement)("show",o.open)("visible",o.visible)("zIndex",o.zIndex)},dependencies:[on,kI],encapsulation:2,changeDetection:0})}return t})(),ete=(()=>{class t{elementRef;ariaLabel;ariaLabelledby;anchorOffset;color;content;disabled;emphasis="standard";floating;hostDisplay="inline-block";icon;iconPlacement="end";kind="text";placement="top-start";show=!0;size;badgeRootRef;adjustedAnchorOffset;classes=Js;constructor(e){this.elementRef=e}ngOnInit(){this.updateAnchorOffset()}ngOnChanges(){this.updateAnchorOffset()}ngAfterViewInit(){this.updateAnchorOffset()}ngOnDestroy(){this.show=!1}updateAnchorOffset(){let e=this.badgeRootRef?.nativeElement?.getBoundingClientRect?.();if(this.anchorOffset){this.adjustedAnchorOffset=this.anchorOffset;return}let i=this.kind==="dot"?8:10,o=(e?.height||i)/2,r=(e?.width||i)/2;this.adjustedAnchorOffset={alignmentAxis:this.placement.includes("start")?-r:r,mainAxis:this.placement.includes("top")?o:-o}}get hostElement(){return this.elementRef.nativeElement}static \u0275fac=function(i){return new(i||t)(h(J))};static \u0275cmp=Q({type:t,selectors:[["q-badge"]],viewQuery:function(i,o){if(i&1&&Fe(iO,5),i&2){let r;ye(r=ve())&&(o.badgeRootRef=r.first)}},hostVars:2,hostBindings:function(i,o){i&2&&We("display",o.hostDisplay)},inputs:{ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",anchorOffset:"anchorOffset",color:"color",content:"content",disabled:[2,"disabled","disabled",L],emphasis:"emphasis",floating:[2,"floating","floating",L],hostDisplay:"hostDisplay",icon:"icon",iconPlacement:"iconPlacement",kind:"kind",placement:"placement",show:[2,"show","show",L],size:"size"},features:[he,X],ngContentSelectors:xt,decls:4,vars:1,consts:[["badgeContentRef",""],["badgeRootRef",""],["iconTemplate",""],[3,"ngTemplateOutlet"],[3,"class"],[3,"ariaLabel","ariaLabelledby","icon","size"],["animation","fade","appendTo","portal","elevation","0",3,"anchorElement","anchorOffset","placement","show"]],template:function(i,o){i&1&&(qe(),M(0,lO,7,5,"ng-template",null,0,Qn)(2,uO,1,1,null,3)(3,pO,3,5)),i&2&&(m(2),w(o.floating?3:2))},dependencies:[Ze,Vo,ag],encapsulation:2,changeDetection:0})}return t})(),hl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Cp]})}return t})(),tte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,hl]})}return t})();var Uq=(()=>{class t{content=N("");id=Ft("attr.id",N(""));role=Ft("attr.role",N("tooltip"));placement=N("top");position=N("absolute");showArrow=N(!1);size=N("m");visible=N(!1);classes=xp(L2);contentTemplate=P(()=>{let e=this.content();return e instanceof ue?e:null});get hostClasses(){return k({"q-fade":!0,show:this.visible()},LM(this.classes.root(this.placement(),this.position())))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-tooltip-content-v2"]],hostVars:2,hostBindings:function(i,o){i&2&&x(o.hostClasses)},standalone:!0,features:[it],decls:3,vars:2,consts:[[3,"class"],[3,"ngTemplateOutlet"]],template:function(i,o){i&1&&(Ka(0),M(1,fO,2,3,"div",0)(2,mO,0,0,"ng-template",1),Xa()),i&2&&(m(),w(o.content()&&!o.contentTemplate()?1:-1),m(),v("ngTemplateOutlet",o.contentTemplate()))},dependencies:[Ze],encapsulation:2,changeDetection:0})}return t})(),nte=(()=>{class t{domService;hostElementRef;listenerService;renderer;viewContainerRef;cd;idService;qTooltip;qTooltipAppendTo="portal";qTooltipDisabled=!1;qTooltipFlip=!0;qTooltipPlacement="top";qTooltipTrigger="hover";qTooltipArrow=!0;qTooltipMaxWidth=200;qTooltipVisible;set qTooltipId(e){this._qTooltipId=e}get qTooltipId(){return this._qTooltipId}_qTooltipId;qTooltipOffset=5;qTooltipPosition="absolute";qTooltipPollInterval=!1;get controlled(){return ap(this.qTooltipTrigger).includes("manual")}popupComponentRef;deregisterWatcher;arrowEl;controlledId=N("");previousRect;pollInterval;floatingOptions={middleware:[sl(),fa(this.qTooltipOffset)],placement:this.qTooltipPlacement,strategy:this.qTooltipPosition};mergeFloatingOptions(e){this.floatingOptions=k(k({},this.floatingOptions),e)}getFloatingMiddleware(){let e=[];return this.qTooltipFlip&&e.push(sl()),this.qTooltipOffset&&e.push(fa(this.qTooltipOffset)),this.arrowEl&&e.push(q2({element:this.arrowEl})),e}ariaDescribedBy=Ft("attr.aria-describedby",N(null));constructor(e,i,o,r,s,a,c){this.domService=e,this.hostElementRef=i,this.listenerService=o,this.renderer=r,this.viewContainerRef=s,this.cd=a,this.idService=c}ngOnInit(){this.setListeners(),this.controlledId()||this.updateIds()}ngOnChanges(e){e.qTooltipVisible&&(e.qTooltipVisible.currentValue?this.addPopupElement():this.removePopupElement()),e.qTooltipFlip&&this.mergeFloatingOptions({middleware:this.getFloatingMiddleware()}),e.qTooltipOffset&&this.mergeFloatingOptions({middleware:this.getFloatingMiddleware()}),e.qTooltipPlacement&&(this.mergeFloatingOptions({placement:this.qTooltipPlacement}),this.popupComponentRef?.instance&&this.popupComponentRef.instance.placement.set(this.qTooltipPlacement),this.updatePosition()),e.qTooltipPosition&&(this.mergeFloatingOptions({strategy:this.qTooltipPosition}),this.popupComponentRef?.instance&&this.popupComponentRef.instance.position.set(this.qTooltipPosition),this.updatePosition()),e.qTooltipId&&this.updateIds()}ngOnDestroy(){this.clearListeners(),this.popupComponentRef?.destroy(),this.popupComponentRef=void 0,this.viewContainerRef?.clear(),this.viewContainerRef?.detach()}updateIds(){this.controlledId.set(this.idService.useId("q-tooltip",this.qTooltipId,null))}compareRects(){let e=this.hostEl.getBoundingClientRect();Hq(e,this.previousRect)||(this.previousRect=e,this.updatePosition())}initObserver(){!this.hostEl||!this.qTooltipPollInterval||(this.previousRect=this.hostEl.getBoundingClientRect(),this.pollInterval=setInterval(this.compareRects.bind(this),this.qTooltipPollInterval))}destroyObserver(){clearInterval(this.pollInterval)}get hostEl(){return this.hostElementRef.nativeElement}get popupEl(){return this.popupComponentRef?.location?.nativeElement}setListeners(){if(this.controlled)return;let e={callbackOff:()=>{this.qTooltipVisible=!1,this.removePopupElement()},callbackOn:()=>{this.qTooltipVisible=!0,this.addPopupElement()},callbackToggle:()=>{this.qTooltipVisible=!this.qTooltipVisible,this.qTooltipVisible?this.addPopupElement():this.removePopupElement()},hostElement:this.hostElementRef,trigger:this.qTooltipTrigger};this.listenerService.clearListeners(),this.listenerService.setListeners(e)}clearListeners(){this.listenerService.clearListeners(),this.listenerService.clearDomListeners()}updatePosition(){return lt(this,null,function*(){if(!(!this.popupEl||!this.hostEl))return V2(this.hostEl,this.popupEl,this.floatingOptions).then(({middlewareData:e,placement:i,x:o,y:r})=>{if(this.popupEl){if(!this.qTooltipVisible){this.removePopupElement();return}this.qTooltipArrow&&this.popupComponentRef.instance.placement()!==i&&this.popupComponentRef.instance.placement.set(i),this.renderer.setStyle(this.popupEl,"left",`${o}px`),this.renderer.setStyle(this.popupEl,"top",`${r}px`),this.renderer.setStyle(this.popupEl,"max-width",ll(this.qTooltipMaxWidth)),this.popupComponentRef.instance.visible.set(!0),this.qTooltipArrow&&QI(e.arrow??{},i,this.popupEl,this.arrowEl,this.renderer,L2.arrow(i)),this.cd.detectChanges()}})})}get appendTargetElement(){switch(this.qTooltipAppendTo){case"host":return this.hostEl;case"portal":return this.domService.portalElement;default:return this.qTooltipAppendTo}}addPopupElement(){if(!(!this.qTooltip||this.qTooltipDisabled)){if(this.popupComponentRef||(this.popupComponentRef=this.viewContainerRef.createComponent(Uq)),this.controlledId()||this.updateIds(),this.ariaDescribedBy.set(this.controlledId()),this.popupComponentRef.instance.id.set(this.controlledId()),this.popupComponentRef.instance.placement.set(this.qTooltipPlacement),this.popupComponentRef.instance.position.set(this.qTooltipPosition),this.popupComponentRef.instance.content.set(this.qTooltip),this.renderer.addClass(this.popupEl,"q-fade"),this.viewContainerRef.insert(this.popupComponentRef.hostView),this.renderer.appendChild(this.appendTargetElement,this.popupEl),this.qTooltipArrow&&(this.arrowEl&&this.popupEl?.contains?.(this.arrowEl)&&this.renderer.removeChild(this.popupEl,this.arrowEl),this.arrowEl=this.renderer.createElement("div"),this.renderer.setStyle(this.arrowEl,"position","absolute"),this.renderer.setStyle(this.arrowEl,"width","5px"),this.renderer.setStyle(this.arrowEl,"height","5px"),this.renderer.appendChild(this.popupEl,this.arrowEl),this.mergeFloatingOptions({middleware:this.getFloatingMiddleware()})),this.qTooltipVisible?this.initObserver():this.destroyObserver(),this.popupComponentRef.changeDetectorRef.markForCheck(),!this.qTooltipVisible){this.removePopupElement();return}this.deregisterWatcher&&this.deregisterWatcher?.(),this.popupEl&&(this.deregisterWatcher=N2(this.hostEl,this.popupEl,()=>this.updatePosition()))}}removePopupElement(){if(!this.popupComponentRef){this.deregisterWatcher?.();return}this.popupComponentRef.instance.visible.set(!1),setTimeout(()=>{this.qTooltipVisible?(this.popupComponentRef.instance?.visible.set(!0),this.addPopupElement()):(this.listenerService.clearDomListeners(),this.viewContainerRef.detach(),this.deregisterWatcher?.(),this.popupComponentRef?.destroy?.(),this.destroyObserver(),this.ariaDescribedBy.set(null),this.popupComponentRef=void 0)},161)}static \u0275fac=function(i){return new(i||t)(h(tg),h(J),h(ma),h(Ue),h(Bt),h(xe),h(ft))};static \u0275dir=Y({type:t,selectors:[["","qTooltip",""],["","q-tooltip",""]],inputs:{qTooltip:"qTooltip",qTooltipAppendTo:"qTooltipAppendTo",qTooltipDisabled:[2,"qTooltipDisabled","qTooltipDisabled",L],qTooltipFlip:[2,"qTooltipFlip","qTooltipFlip",L],qTooltipPlacement:"qTooltipPlacement",qTooltipTrigger:"qTooltipTrigger",qTooltipArrow:[2,"qTooltipArrow","qTooltipArrow",L],qTooltipMaxWidth:"qTooltipMaxWidth",qTooltipVisible:[2,"qTooltipVisible","qTooltipVisible",L],qTooltipId:"qTooltipId",qTooltipOffset:"qTooltipOffset",qTooltipPosition:"qTooltipPosition",qTooltipPollInterval:"qTooltipPollInterval"},exportAs:["qTooltip","q-tooltip"],features:[Ie([ma]),he,X]})}return t})();var $I=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})();var Qq=(()=>{class t{idService;idAttr;disabled;id;for;label;labelTemplate;classes=ea;controlledId;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateIds()}ngOnChanges(e){e.id&&this.updateIds(),e.label&&(this.labelTemplate=this.label instanceof ue?this.label:null)}updateIds(){this.controlledId=this.idService.useId("q-checkbox-label",this.id,this.idAttr)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-checkbox-label"]],inputs:{disabled:[2,"disabled","disabled",L],id:"id",for:"for",label:"label"},features:[he,X],decls:2,vars:2,consts:[[3,"class","for","id"],[3,"for","id"],[3,"ngTemplateOutlet"]],template:function(i,o){i&1&&M(0,yO,2,5,"label",0)(1,vO,2,5,"label",0),i&2&&(w(o.labelTemplate?0:-1),m(),w(!o.labelTemplate&&o.label?1:-1))},dependencies:[Ze],encapsulation:2})}return t})(),WI=(()=>{class t{injector;disabled;readonly;debounce;set invalid(e){this._invalid=Ot(e)}get invalid(){return this._invalid||!this.controlled||this.formControl.untouched||this.formControl.parent?.untouched?!!this._invalid:!!this.formControl.errors}_invalid;static ngAcceptInputType_invalid;set required(e){this._required=Ot(e)}get required(){return this.controlled?this._required||this.formControl.hasValidator(Os.required):this._required}_required;static ngAcceptInputType_required;focused=new F;blurred=new F;changed=new F;onFocus(e){this.focused.emit(e)}onBlur(e){this.onTouched(),this.blurred.emit(e)}formControl;initialized=!1;get controlled(){return!!this.formControl}debounceSubject=new te;valueUpdated=new te;emitChange(e){this.debounce&&this.debounce>0?this.debounceSubject.observed||this.debounceSubject.pipe(kn(this.debounce),so()).subscribe(i=>{this.changed.emit(i)}):this.changed.emit(e),this.debounceSubject.next(e)}clearSubscriptions(){this.debounceSubject.unsubscribe()}localOnChange(e){this.value=e,this.emitChange(e)}initFormControl(){if(!this.initialized)return;let e=this.injector.get(Zn,null);e?this.formControl||(this.formControl=e.control):this.registerOnChange(i=>{})}defaultValue;constructor(e,i){this.injector=i,this.defaultValue=e}ngOnDestroy(){this.clearSubscriptions()}ngAfterContentInit(){this.initialized=!0,this.initFormControl(),this.formControl?.value||(this.value=this.defaultValue)}get pointerEventsStyle(){return this.disabled?"none":"initial"}value;onChange=e=>{};onTouched=()=>{};writeValue(e){this.value=e??this.defaultValue,this.valueUpdated.next(this.value)}registerOnChange(e){this.onChange=i=>{(this.disabled||this.readonly)&&!this.controlled||(this.localOnChange(i),e(i))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}static \u0275fac=function(i){ko()};static \u0275dir=Y({type:t,inputs:{disabled:[2,"disabled","disabled",L],readonly:[2,"readonly","readonly",L],debounce:[2,"debounce","debounce",qr],invalid:"invalid",required:"required"},outputs:{focused:"focused",blurred:"blurred",changed:"changed"},features:[he]})}return t})(),GI=(()=>{class t{idService;idAttr;animate=!0;class;error;for=null;id;size;errorTemplate;classes=ta;closing=!1;animationDuration=150;closingTimeoutRef;controlledId;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateId()}ngOnChanges(e){e.error&&(clearTimeout(this.closingTimeoutRef),this.errorTemplate=this.error instanceof ue?this.error:null,this.closing=!e.error.currentValue&&!!e.error.previousValue,this.closingTimeoutRef=setTimeout(()=>{this.closing=!1},this.animationDuration)),e.id&&this.updateId()}updateId(){this.controlledId=this.idService.useId("q-input-error",this.id,this.idAttr)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-input-error"]],inputs:{animate:[2,"animate","animate",L],class:"class",error:"error",for:"for",id:"id",size:"size"},features:[he,X],decls:4,vars:2,consts:[["errorMessage",""],["q-collapse","",3,"animationDuration","show"],[4,"ngTemplateOutlet"],[3,"class"],[3,"ngTemplateOutlet"]],template:function(i,o){i&1&&M(0,bO,2,4,"label",1)(1,CO,1,1,"ng-container")(2,IO,2,2,"ng-template",null,0,Qn),i&2&&(w(o.animate?0:-1),m(),w(o.animate?-1:1))},dependencies:[Ze,ng],encapsulation:2})}return t})(),ZI=(()=>{class t{idService;idAttr;classes=ta;class;for=null;id;hint;size;hintTemplate;controlledId;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateId()}ngOnChanges(e){e.hint&&(this.hintTemplate=this.hint instanceof ue?this.hint:null),e.id&&this.updateId()}updateId(){this.controlledId=this.idService.useId("q-input-error",this.id,this.idAttr)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-input-hint"]],inputs:{class:"class",for:"for",id:"id",hint:"hint",size:"size"},features:[X],decls:2,vars:1,consts:[[3,"class"],[3,"ngTemplateOutlet"]],template:function(i,o){i&1&&M(0,DO,2,5,"label",0)(1,TO,2,5,"label",0),i&2&&w(o.hintTemplate?0:!o.hintTemplate&&o.hint?1:-1)},dependencies:[Ze],encapsulation:2})}return t})(),KI=(()=>{class t{idService;idAttr;required;class;id;for;size;label;labelTemplate;classes=ta;Asterisk=U_;controlledId;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateIds()}ngOnChanges(e){e.label&&(this.labelTemplate=this.label instanceof ue?this.label:null),e.id&&this.updateIds()}updateIds(){this.controlledId=this.idService.useId("q-input-label",this.id,this.idAttr)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-input-label"]],inputs:{required:[2,"required","required",L],class:"class",id:"id",for:"for",size:"size",label:"label"},features:[he,X],decls:2,vars:1,consts:[[3,"class"],[3,"ngTemplateOutlet"],["size","xs",3,"icon"]],template:function(i,o){i&1&&M(0,AO,2,6,"label",0)(1,RO,3,7,"label",0),i&2&&w(o.labelTemplate?0:!o.labelTemplate&&o.label?1:-1)},dependencies:[Ze,Et],encapsulation:2,changeDetection:0})}return t})(),XI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,Cp]})}return t})(),ite=(()=>{class t extends WI{injector;idService;classes=ea;radioClasses=np;sharedClasses=sn;localIndeterminate=!1;inputId;indeterminate;label;variant="checkbox";ariaLabelledby=P(()=>{let e=this.labelId();return this.internalLabel()?e:void 0});internalLabel=N(null);labelId=P(()=>`${this.id()}-label`);id=N("");constructor(e,i){super(!1,e),this.injector=e,this.idService=i}ngOnInit(){this.inputId||this.updateId()}ngOnChanges(e){e.indeterminate&&(this.localIndeterminate=e.indeterminate.currentValue),e.label&&this.internalLabel.set(this.label),e.inputId&&this.updateId()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}updateId(){this.id.set(this.idService.useId("q-checkbox",this.inputId,null))}onToggle(e){e.preventDefault(),!(this.disabled||this.readonly)&&(this.value?this.localIndeterminate=this.indeterminate:this.localIndeterminate=!1,this.onChange(!this.value))}getIcon(){return this.value?Qi:Nh}get ariaChecked(){return this.value?"true":this.localIndeterminate?"mixed":"false"}static \u0275fac=function(i){return new(i||t)(h(Be),h(ft))};static \u0275cmp=Q({type:t,selectors:[["q-checkbox"]],inputs:{inputId:"inputId",indeterminate:[2,"indeterminate","indeterminate",L],label:"label",variant:"variant"},features:[Ie([{multi:!0,provide:Do,useExisting:at(()=>t)}]),he,we,X],decls:2,vars:1,consts:[[3,"class"],[3,"click","keyup.enter","keyup.space"],["type","checkbox",3,"change","checked","disabled","id","indeterminate","name","readonly","value"],["ariaLabel","Check","size","s",3,"icon"],[3,"disabled","for","id","label"],[3,"click"],["type","radio",3,"blur","change","focus","disabled","id","value"],[3,"content","contentClass","for","id"]],template:function(i,o){i&1&&M(0,FO,5,18,"div",0)(1,qO,5,15,"div",0),i&2&&w(o.variant==="checkbox"?0:1)},dependencies:[Et,UI,Qq],encapsulation:2})}return t})(),$q=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[cl,mc,To,Ke,Vr]})}return t})(),Wq=(()=>{class t{elementRef;class=H();context=H.required();role=H("option");hostClass=P(()=>{let{active:e,disabled:i,highlighted:o,option:r,virtual:s}=this.context();return ra.option(e,i,s,!1,o,typeof r=="object"?r.class:null,this.class())});hostClick(){this.context().onClick()}constructor(e){this.elementRef=e}static \u0275fac=function(i){return new(i||t)(h(J))};static \u0275dir=Y({type:t,selectors:[["","q-combobox-custom-option",""]],hostAttrs:["attr.tabindex","-1"],hostVars:6,hostBindings:function(i,o){i&1&&U("click",function(s){return o.hostClick(s)}),i&2&&W("class",o.hostClass())("data-highlighted",o.context().highlighted)("data-index",o.context().index)("disabled",o.context().disabled||void 0)("id",o.context().id)("role",o.role())},inputs:{class:[1,"class"],context:[1,"context"],role:[1,"role"]},standalone:!0})}return t})(),bI=(()=>{class t{static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Y({type:t,selectors:[["ng-template","option-template",""]]})}return t})(),YI=(()=>{class t extends WI{injector;idPrefix;idService;idAttr;ariaLabel;ariaLabelledby;id;error;hint;label;size="m";controlledId;errorId;hintId;labelId;formFieldClasses=rn;errorIcon=_r;clearIcon=Ii;constructor(e,i,o,r,s){super(i,e),this.injector=e,this.idPrefix=o,this.idService=r,this.idAttr=s}ngOnInit(){this.controlledId||this.updateIds()}ngOnChanges(e){e.id&&this.updateIds()}updateIds(){this.controlledId=this.idService.useId(this.idPrefix,this.id,this.idAttr),this.errorId=this.getId("error"),this.hintId=this.getId("hint"),this.labelId=this.getId("label")}ngAfterContentInit(){super.ngAfterContentInit()}getId(e){return`${this.controlledId}-${e}`}get inputAriaDescribedBy(){return this.error?this.errorId:this.hint?this.hintId:null}get inputAriaLabelledBy(){return this.ariaLabelledby??(this.label?this.labelId:null)}get inputAriaErrorMessage(){return this.hasError?this.errorId:null}onInputChange(e){e.type==="input"&&this.onChange(e.target.value)}get hasError(){return this.invalid||!!this.error}static \u0275fac=function(i){ko()};static \u0275dir=Y({type:t,inputs:{ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",id:"id",error:"error",hint:"hint",label:"label",size:"size"},features:[we,X]})}return t})(),K2=(()=>{class t{idService;idAttr;checked;disabled;dismissable;readonly;stretch;tabIndex;toggleable;id;label;size="m";dismissed=new F;get hostStyle(){return this.stretch?{display:"contents"}:null}toggled=new F;rootElementRef;controlled=!1;controlledId;showCloseIcon=!1;tabindex=0;classes=rp;X=Ii;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateId()}ngOnChanges(e){e.checked&&(this.controlled=typeof e.checked.currentValue>"u"),(e.tabIndex||e.disabled||e.readonly)&&(this.tabindex=this.readonly||this.disabled?-1:this.tabIndex??0),(e.dismissable||e.toggleable||e.readonly)&&(this.showCloseIcon=this.dismissable&&!this.toggleable&&!this.readonly),e.id&&this.updateId()}updateId(){this.controlledId=this.idService.useId("q-tag",this.id,this.idAttr)}get rootElement(){return this.rootElementRef.nativeElement}onToggle(e){this.toggleable&&(this.toggled.emit({checked:!this.checked,event:e,id:this.controlledId,label:this.label}),this.controlled||(this.checked=!this.checked))}onDismiss(e){this.dismissed.emit(e)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-tag"]],viewQuery:function(i,o){if(i&1&&Fe(VO,7),i&2){let r;ye(r=ve())&&(o.rootElementRef=r.first)}},hostVars:2,hostBindings:function(i,o){i&2&&_u(o.hostStyle)},inputs:{checked:[2,"checked","checked",L],disabled:[2,"disabled","disabled",L],dismissable:[2,"dismissable","dismissable",L],readonly:[2,"readonly","readonly",L],stretch:[2,"stretch","stretch",L],tabIndex:[2,"tabIndex","tabIndex",fn],toggleable:[2,"toggleable","toggleable",L],id:"id",label:"label",size:"size"},outputs:{dismissed:"dismissed",toggled:"toggled"},standalone:!0,features:[he,X,it],decls:5,vars:9,consts:[["rootRef",""],[3,"click","disabled","id","tabindex"],["size","xs",3,"class","icon"],["size","xs",3,"click","icon"]],template:function(i,o){if(i&1){let r=fe();C(0,"button",1,0),U("click",function(a){return V(r),j(o.onToggle(a))}),C(2,"span"),Ae(3),b(),M(4,jO,1,3,"q-icon",2),b()}i&2&&(x(o.classes.root(o.size,o.checked,o.readonly,o.disabled,o.stretch)),v("disabled",o.disabled)("id",o.controlledId)("tabindex",o.tabindex),m(2),x(o.classes.label()),m(),Le(" ",o.label," "),m(),w(o.showCloseIcon?4:-1))},dependencies:[Ce,Ke,Et],encapsulation:2})}return t})();var Gq=(()=>{class t{active;disabled=!1;highlighted;label;isNoOptionsLabel;rootId;rootClass;rootStyle;virtual=!1;showActiveIndicator;focused=new F;blurred=new F;rootElementRef;onFocus(){this.focused.emit(this.rootId)}onBlur(){this.blurred.emit(this.rootId)}selectClasses=ra;icons={Check:Qi};get rootElement(){return this.rootElementRef.nativeElement}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-combobox-option"]],viewQuery:function(i,o){if(i&1&&Fe(zO,7),i&2){let r;ye(r=ve())&&(o.rootElementRef=r.first)}},inputs:{active:"active",disabled:"disabled",highlighted:"highlighted",label:"label",isNoOptionsLabel:[2,"isNoOptionsLabel","isNoOptionsLabel",L],rootId:"rootId",rootClass:"rootClass",rootStyle:"rootStyle",virtual:"virtual",showActiveIndicator:[2,"showActiveIndicator","showActiveIndicator",L]},outputs:{focused:"focused",blurred:"blurred"},features:[he],decls:4,vars:10,consts:[["rootElementRef",""],["role","option","tabindex","-1",3,"blur","focus","disabled","ngStyle"],["size","m",1,"q-foreground-1-secondary",3,"icon"]],template:function(i,o){if(i&1){let r=fe();C(0,"button",1,0),U("blur",function(){return V(r),j(o.onBlur())})("focus",function(){return V(r),j(o.onFocus())}),Ae(2),M(3,BO,2,1,"span"),b()}i&2&&(x(o.selectClasses.option(o.active,o.disabled,o.virtual,o.isNoOptionsLabel,o.highlighted,o.rootClass)),v("disabled",o.disabled)("ngStyle",o.rootStyle),W("aria-disabled",o.disabled)("aria-selected",o.active)("data-highlighted",o.highlighted)("id",o.rootId),m(2),Le(" ",o.label," "),m(),w(o.showActiveIndicator&&o.active?3:-1))},dependencies:[on,Et],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),JI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,$q]})}return t})(),e4=(()=>{class t{elementRef;filteredOptions=H.required();identifyOption;getOptionLabel;getOptionContext;renderOption;showActiveIndicator=H.required({transform:L});virtualOptions=H();virtualItems=$a("virtualItem");virtualOptionTemplates=$a("templateOptions");hostStyle=P(()=>{let e=this.optionElements(),i=200;if(e.length<20&&e.length>0){let o=e.reduce((r,s)=>r+s.getBoundingClientRect().height,0);i=Math.min(i,o)}else e.length===0&&(i=36);return`overflow-y: auto; contain: strict; height: ${i}px`});Check=Qi;optionElements=P(()=>{let e=this.virtualItems(),i=this.virtualOptionTemplates();return this.renderOption?i.map(o=>o.elementRef.nativeElement):e.map(o=>o.nativeElement)});virtualizer=hI(()=>{let e=this.filteredOptions(),i=this.virtualOptions(),o=i?.estimateSize?r=>{let s=e[r];return i.estimateSize(r,s)}:()=>36;return{count:this.filteredOptions().length,estimateSize:o,getItemKey:this.identifyOption,overscan:32,scrollElement:this.elementRef}});constructor(e){this.elementRef=e,Rt(()=>{let i=this.optionElements();this.renderOption?i.filter(o=>o?.getAttribute).forEach(o=>this.virtualizer.measureElement(o)):i.forEach(o=>this.virtualizer.measureElement(o))})}getContext(e){return this.getOptionContext(this.filteredOptions()[e],e)}trackOption(e){return`${e}-${this.identifyOption(e)}-${this.getContext(e).active}`}static \u0275fac=function(i){return new(i||t)(h(J))};static \u0275cmp=Q({type:t,selectors:[["","virtual-option-renderer",""]],viewQuery:function(i,o){i&1&&(pr(o.virtualItems,HO,5),pr(o.virtualOptionTemplates,UO,5)),i&2&&bi(2)},hostVars:2,hostBindings:function(i,o){i&2&&_u(o.hostStyle())},inputs:{filteredOptions:[1,"filteredOptions"],identifyOption:"identifyOption",getOptionLabel:"getOptionLabel",getOptionContext:"getOptionContext",renderOption:"renderOption",showActiveIndicator:[1,"showActiveIndicator"],virtualOptions:[1,"virtualOptions"]},standalone:!0,features:[it],attrs:QO,decls:4,vars:5,consts:[["templateOptions",""],["virtualItem",""],[2,"position","relative","width","100%"],[2,"position","absolute","top","0","left","0","width","100%"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["q-combobox-custom-option","",3,"context"],["size","m",1,"q-foreground-1-secondary",3,"icon"]],template:function(i,o){i&1&&(C(0,"div",2)(1,"div",3),M(2,GO,2,0)(3,XO,2,0),b()()),i&2&&(We("height",o.virtualizer.getTotalSize(),"px"),m(),We("transform","translateY("+(o.virtualizer.getVirtualItems()[0]?o.virtualizer.getVirtualItems()[0].start:0)+"px)"),m(),w(o.renderOption?2:3))},dependencies:[Wq,JI,Ke,Et,Ce,Ze],encapsulation:2})}return t})();function Zq(t){return fn(t,void 0)}var Kq=(()=>{class t{idService;idAttr;ariaLabel;ariaLabelledby;color="var(--q-brand-600)";id;showValueLabel;size="m";strokeWidth;value;hostDisplay="contents";completed=new F;classes=oa;circleStyle={};rootStyle={};indeterminate=!0;controlledId;labelId;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.updateStyle(),this.controlledId||this.updateIds()}ngOnChanges(e){typeof e.value?.currentValue>"u"?this.indeterminate=!0:(this.value===100&&this.completed.emit(),this.indeterminate=!1),(e.size&&!e.size.isFirstChange()||e.strokeWidth&&!e.strokeWidth.isFirstChange())&&this.updateStyle(),e.id&&this.updateIds()}updateIds(){this.controlledId=this.idService.useId("q-progress-bar",this.id,this.idAttr),this.labelId=`${this.controlledId}-label`}updateStyle(){let e=Ar.getPixelSize(this.size);this.rootStyle={height:e,width:e},this.circleStyle={strokeWidth:this.strokeWidth?`${this.strokeWidth}px`:Ar.getStrokeWidthFromSize(this.size)}}get showLabel(){return Ar.getCanShowLabel(this.indeterminate,this.showValueLabel,this.size)}getStrokeDashOffset(){return Ar.getStrokeDashOffset(this.value)}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-progress-circle"]],hostVars:2,hostBindings:function(i,o){i&2&&We("display",o.hostDisplay)},inputs:{ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",color:"color",id:"id",showValueLabel:[2,"showValueLabel","showValueLabel",L],size:"size",strokeWidth:[2,"strokeWidth","strokeWidth",fn],value:[2,"value","value",Zq],hostDisplay:"hostDisplay"},outputs:{completed:"completed"},features:[he,X],decls:5,vars:19,consts:[[3,"ngStyle"],["aria-valuemax","100","aria-valuemin","0","role","progressbar","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",3,"id"],["cx","50","cy","50","r","46",3,"ngStyle"],[3,"class","for","id"],[3,"for","id"]],template:function(i,o){i&1&&(C(0,"div",0),Qm(),C(1,"svg",1),q(2,"circle",2)(3,"circle",2),b(),M(4,YO,2,5,"label",3),b()),i&2&&(x(o.classes.root(o.indeterminate)),v("ngStyle",o.rootStyle),m(),x(o.classes.progressSvg),v("id",o.controlledId),W("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-valuenow",o.value),m(),x(o.classes.innerCircle),v("ngStyle",o.circleStyle),m(),x(o.classes.outerCircle(o.indeterminate)),We("stroke-dashoffset",o.getStrokeDashOffset()),v("ngStyle",o.circleStyle),W("color",o.color),m(),w(o.showLabel?4:-1))},dependencies:[on],encapsulation:2,changeDetection:0})}return t})(),Xq=(()=>{class t extends YI{injector;idService;document;listenerService;cd;idAttr;platformId;appendTo="host";autoComplete="none";clearable=!0;disableCloseOnSelect=!1;disableCloseOnShiftSelect=!0;disableOptionToggle=!1;filterable=!1;filterOptions;fullWidth=!1;inputMinWidth="50px";inputStyle;inputValue="";limitTags=-1;loading=!1;minWidth="100px";multiple=!1;noOptionsLabel="No options...";optionLabel;optionValue;options;placeholder="";position="absolute";rootStyle;set showDropdown(e){this._showDropdown=e===void 0?void 0:Ot(e)}get showDropdown(){return this._showDropdown}_showDropdown;static ngAcceptInputType_showDropdown;showDropdownIcon=!0;startIcon;startIconSize;virtual=!1;virtualOptions;inputValueChanged=new F;tagClicked=new F;closeTriggered=new F;showDropdownChanged=new F;stateChanged=new F;rootElementRef;dropdownContentRef=f1("dropdownContent");inputElementRef;optionTemplate=Wa(bI,{descendants:!0,read:ue});overlayPanel;virtualRenderer=f1("virtualRenderer");tagRefs;onHostFocusOut(e){this.limitTags>=0&&!this.rootElement?.contains(e.relatedTarget)&&!this.dropdownContentElement?.contains(e.relatedTarget)&&this.updateTags()}ariaActiveDescendant=void 0;ariaAutocomplete=void 0;filteredOptions=N([]);iconSize="m";progressCircleSize="xs";tags=[];truncateLabel="";activeOptions=new Set;filterFn=()=>[];icons={Check:Qi,ChevronDown:Mi};comboBoxClasses=Wc;selectClasses=ra;dropdownStyle={};highlightedIndex=N(-1);subscriptions;resizeObserver;isDropdownOpen=!1;toggleDropdown(e){this.showDropdownChanged.emit({event:e,show:!this.showDropdown}),this.isDropdownControlled||(this.isDropdownOpen=!this.isDropdownOpen)}constructor(e,i,o,r,s,a,c){super(e,[],"q-combobox",i,a),this.injector=e,this.idService=i,this.document=o,this.listenerService=r,this.cd=s,this.idAttr=a,this.platformId=c}ngOnInit(){super.ngOnInit(),this.updateIconSize(),this.updateFilterFn(),this.updateTags(),this.updateProgressCircleSize(),this.filteredOptions.set(this.filterFn(this.options,this.inputValue)),this.initLabelGetters(),fr(this.platformId)&&(this.resizeObserver=new ResizeObserver(()=>{this.dropdownStyle={minWidth:this.rootElement?`${this.rootElement.getBoundingClientRect().width}px`:"100px"}})),this.defaultValue=this.multiple?[]:void 0,this.subscriptions=[this.changed.subscribe(()=>{this.updateTags(),this.handleValueChanged()}),this.valueUpdated.subscribe(()=>{this.updateTags(),this.handleValueChanged()})],this.listenerService.setDocumentListener("keydown",e=>{(e.key==="Tab"||e.key==="Escape")&&this.isDropdownOpen&&(e.preventDefault(),this.inputElement?.focus())})}ngOnChanges(e){super.ngOnChanges(e),this.onChangesAllProps(e)}onChangesAllProps(e){(e.optionLabel||e.optionValue)&&this.initLabelGetters(),e.showDropdown&&(this.isDropdownOpen=this.showDropdown||!1,this.onControlledDropdownChange()),e.multiple&&!e.multiple.isFirstChange()&&(this.defaultValue=this.multiple?[]:void 0,this.updateTags(),this.inputValue="",e.multiple.previousValue&&!e.multiple.currentValue&&this.safeValue.length?this.onChange(this.safeValue[0]):!e.multiple.previousValue&&e.multiple.currentValue&&this.safeValue.length&&this.onChange([this.safeValue[0]])),e.limitTags&&!e.limitTags.isFirstChange()&&this.updateTags(),e.startIconSize&&this.updateIconSize(),e.size&&(this.updateProgressCircleSize(),this.updateTags()),e.filterOptions&&this.updateFilterFn(),e.options&&this.filteredOptions.set(this.filterFn(this.options,"")),(e.filterable||e.autoComplete)&&(this.ariaAutocomplete=this.filterable?this.autoComplete:void 0)}ngAfterContentInit(){super.ngAfterContentInit(),setTimeout(()=>this.updateTags()),this.resizeObserver?.observe?.(this.rootElement)}ngOnDestroy(){super.ngOnDestroy(),this.subscriptions?.forEach?.(e=>e.unsubscribe()),this.listenerService.clearDomListeners(),this.resizeObserver?.disconnect?.()}setDisabledState(e){super.setDisabledState(e),this.initialized&&this.cd.detectChanges()}get safeValue(){return Tr.getSafeValue(this.value)}updateProgressCircleSize(){this.progressCircleSize=this.size==="s"?"xxs":"xs"}updateActiveOptions(){let e=this.safeValue;this.activeOptions.clear(),e.map(i=>this.activeOptions.add(this.getOptionValue(i)))}initLabelGetters(){this.getOptionLabel=Tr.makeGetOptionLabel(this.optionLabel),this.getOptionValue=Tr.makeGetOptionValue(this.optionLabel,this.optionValue)}updateTags(e=!1){let i=this.safeValue;if(this.updateActiveOptions(),this.multiple){let o=this.limitTags>=0?i.length-this.limitTags:0;this.truncateLabel=o>0&&!e&&this.document.activeElement!==this.inputElement?`+ ${o}`:"",this.tags=this.buildTags(this.truncateLabel?i.slice(0,this.limitTags):i)}else this.truncateLabel="",this.inputValue=i.length?`${this.getOptionLabel(i[0])}`:"",this.tags=this.buildTags(i.slice(0,1));this.cd.detectChanges()}buildTags(e){return e.map(i=>({dismissable:!0,label:`${this.getOptionLabel(i)}`,option:i,value:this.getOptionValue(i)}))}updateIconSize(){this.iconSize=this.startIconSize??this.size??"m"}updateFilterFn(){this.optionLabel||(this.optionLabel=e=>e),this.filterFn=this.filterOptions??Tr.makeDefaultFilterFn(this.optionLabel)}identifyTag(e){return e.value}identifyOption(e){return this.getOptionValue(e)}get listboxId(){return this.getId("listbox")}getOptionId(e){return this.getId(this.getOptionValue(e))}getTagId(e){return`${this.getId(this.getOptionValue(e))}-tag`}get showClearIcon(){return this.clearable&&(this.inputValue||this.safeValue.length)}get showActions(){return this.showClearIcon||this.showDropdownIcon||this.hasError||this.loading}get showTags(){return this.multiple&&!!this.safeValue.length}get rootElement(){return this.rootElementRef.nativeElement}get inputElement(){return this.inputElementRef?.nativeElement||null}get dropdownContentElement(){return this.dropdownContentRef()?.nativeElement||null}onElementActivated(e){if(!this.disabled&&!this.readonly&&(this.toggleDropdown(e),e.type==="keydown"&&e.preventDefault(),this.isDropdownOpen)){let i=this.safeValue[0]?this.findActiveOptionIndex():this.firstEnabledIndex;this.updateAndScrollToActiveIndex(i)}}onControlledDropdownChange(){if(this.isDropdownOpen){let e=this.safeValue[0]?this.findActiveOptionIndex():this.firstEnabledIndex;this.updateAndScrollToActiveIndex(e)}}onClearValueClick(e){this.readonly||this.disabled||(this.resetValue(),this.isDropdownOpen||(e.preventDefault(),e.stopPropagation()))}handleValueChanged(){if(this.multiple)this.activeOptions=new Set(this.safeValue.map(e=>this.getOptionValue(e))),this.inputValue="";else{let e=this.safeValue[0],i=e?this.getOptionLabel(e):"";this.inputValue!==i&&(this.inputValue=i)}}findActiveOptionIndex(){if(!this.safeValue[0])return-1;let i=this.getOptionId(this.safeValue[0]);return this.options.findIndex(o=>this.getOptionId(o)===i)}resetValue(){this.disabled||this.readonly||(this.inputValue="",this.activeOptions.clear(),this.filteredOptions.set([...this.options]),this.onChange(this.defaultValue))}onInputChanged(e){this.inputValueChanged.emit({event:e,inputValue:this.inputValue}),this.filterable&&(this.isDropdownOpen||this.toggleDropdown(),this.highlightedIndex.set(0),this.filteredOptions.set(this.filterFn(this.options,this.inputValue)),this.virtual&&this.virtualRenderer()?.virtualizer?.scrollToIndex(0))}updateAndScrollToActiveIndex(e){this.updateHighlightedIndex(e),setTimeout(()=>{this.scrollToHighlightedOption(),this.virtual&&this.virtualRenderer()?.virtualizer?.scrollToIndex(e,{align:"start"})}),this.virtual&&this.virtualRenderer()?.virtualizer?.scrollToIndex(e,{align:"start"})}onInputKeyDown(e){switch(e.key){case"ArrowDown":if(!this.isDropdownOpen){this.toggleDropdown(e),e.preventDefault(),e.stopPropagation();let o=this.safeValue[0]?this.findActiveOptionIndex():this.firstEnabledIndex;this.updateAndScrollToActiveIndex(o)}break;case"ArrowUp":if(!this.isDropdownOpen){this.toggleDropdown(e),e.preventDefault(),e.stopPropagation();let o=this.safeValue[0]?this.findActiveOptionIndex():this.lastEnabledIndex;this.updateAndScrollToActiveIndex(o)}break;case"Backspace":let i=this.safeValue;if(i.length)if(this.multiple){if(this.inputValue&&this.inputElement?.selectionStart)return;this.onChange(i.slice(0,i.length-1))}else this.onChange(this.defaultValue),this.inputValue="",this.filteredOptions.set([...this.options]);break}}onRootKeyDown(e){if(!this.isDropdownOpen){(e.key==="Enter"||e.key==="Space")&&this.onElementActivated(e);return}({ArrowDown:()=>{this.focusNextItem({currentIndex:this.highlightedIndex()}),e.preventDefault()},ArrowUp:()=>{this.focusPrevItem({currentIndex:this.highlightedIndex()}),e.preventDefault()},Enter:()=>{let o=this.disableCloseOnSelect||e.shiftKey&&this.disableCloseOnShiftSelect;this.isDropdownOpen&&!o&&this.filteredOptions().length&&this.toggleDropdown(),this.filteredOptions().length&&this.onOptionSelected(this.filteredOptions()[this.highlightedIndex()],!o),e.preventDefault()},Space:()=>{if(this.filterable)return;let o=this.disableCloseOnSelect||e.shiftKey&&this.disableCloseOnShiftSelect;this.isDropdownOpen&&!o&&this.filteredOptions().length&&this.toggleDropdown(),this.onOptionSelected(this.filteredOptions()[this.highlightedIndex()],!o),e.preventDefault()}})[e.code]?.()}onTagClick(e,i){this.tagClicked.emit({event:e,option:i}),this.inputValue="",e.defaultPrevented||this.toggleOption(i),e.preventDefault(),e.stopPropagation()}onTagKeyDown(e,i){switch(e.key){case"Backspace":case"Delete":this.onTagClick(e,i);break}}toggleOption(e){let i=this.getOptionValue(e),o=this.safeValue,r=o.findIndex(s=>this.getOptionValue(s)===i);if(r>-1){if(this.multiple){this.onChange([...o.slice(0,r),...o.slice(r+1)]),this.inputValue="";return}this.disableOptionToggle||this.onChange(void 0)}else{if(this.multiple){this.onChange([...o??[],e]),this.inputValue="";return}this.inputValue=`${this.getOptionLabel(e)}`,this.onChange(e)}}onBlur(e){if(!(this.dropdownContentElement&&this.dropdownContentElement.contains(e.relatedTarget))){if(this.rootElement?.contains(e.relatedTarget)){e.preventDefault(),e.stopPropagation();return}this.onTouched(),this.blurred.emit(e),this.filterable&&!this.multiple&&this.safeValue.length&&this.inputValue!==this.getOptionLabel(this.safeValue[0])&&(this.inputValue=this.getOptionLabel(this.safeValue[0]))}}onFocus(e){this.focused.emit(e),this.limitTags&&this.updateTags(),!this.multiple&&this.safeValue.length&&this.filterable&&this.filteredOptions.set([...this.options])}onOverlayPanelStateChanged(e){switch(this.stateChanged.emit(e),e.state){case"closed":this.onTouched();break;case"closing":this.ariaActiveDescendant=void 0;break;case"opening":this.truncateLabel&&this.updateTags();break}}onOverlayPanelCloseTriggered(e){this.toggleDropdown(e.event),this.closeTriggered.emit(e);let{event:i,reason:o}=e;o==="click-inside"&&(this.disableCloseOnSelect||i.shiftKey&&this.disableCloseOnShiftSelect)&&i?.preventDefault?.()}get isDropdownControlled(){return E2(this.showDropdown)}getOptionActive(e){return this.activeOptions.has(this.getOptionValue(e))}getOptionClass(e){return typeof e=="string"?"":e.class}getOptionNgStyle(e){return typeof e=="string"?{}:e.ngStyle??{}}getOptionDisabled(e){return typeof e=="string"?!1:e?.disabled??!1}getOptionLabel=e=>"";getOptionValue=e=>null;onOptionClicked(e){this.onOptionSelected(e,!this.disableCloseOnSelect)}onOptionSelected(e,i){this.toggleOption(e),i&&(this.filterable?this.inputElement?.focus():setTimeout(()=>{let o=this.tagRefs.find(r=>r.label===this.getOptionLabel(e));o?o.rootElement.focus():this.inputElement?.focus()}))}focusNextItem(e,i){if(!this.filteredOptions()||this.filteredOptions()?.length===0||i&&e.currentIndex+1===i.currentIndex)return;let o=e.currentIndex+1,r=this.filteredOptions()[o];if(r){if(this.getOptionDisabled(r))return this.focusNextItem({currentIndex:e.currentIndex+1},i||e)}else return this.virtual&&this.virtualRenderer()?.virtualizer?.scrollToIndex(this.firstEnabledIndex),this.focusNextItem({currentIndex:-1},i||e);this.updateHighlightedIndex(o)}focusPrevItem(e,i){if(!this.filteredOptions()||this.filteredOptions()?.length===0||i&&e.currentIndex-1===i.currentIndex)return;let o=e.currentIndex-1,r=this.filteredOptions()[o];if(r){if(this.getOptionDisabled(r))return this.focusPrevItem({currentIndex:e.currentIndex-1},i||e)}else return this.virtual&&this.virtualRenderer()?.virtualizer?.scrollToIndex(this.lastEnabledIndex),this.focusPrevItem({currentIndex:this.filteredOptions().length},i||e);this.updateHighlightedIndex(o)}updateHighlightedIndex(e){this.highlightedIndex.set(e),this.scrollToHighlightedOption(),this.ariaActiveDescendant=this.getOptionId(this.filteredOptions()[e])}scrollToHighlightedOption(){let e=this.dropdownContentElement?.querySelector?.(`[id="${this.getOptionId(this.filteredOptions()[this.highlightedIndex()])}"]`);e&&AM(e,{block:"nearest",boundary:this.dropdownContentElement,scrollMode:"if-needed"})}get lastEnabledIndex(){for(let e=this.filteredOptions().length-1;e>0;e--)if(!this.getOptionDisabled(this.filteredOptions()[e]))return e;return-1}get firstEnabledIndex(){return(this.filteredOptions()??[]).findIndex(e=>!this.getOptionDisabled(e))}onLabelClick(e){this.disabled||this.isDropdownOpen||this.toggleDropdown(e)}getOptionTemplateState(e,i){return{active:this.getOptionActive(e),disabled:this.getOptionDisabled(e),highlighted:this.highlightedIndex()===i,id:this.getOptionId(e),index:i,onClick:()=>this.onOptionClicked(e),option:e,virtual:this.virtual}}identifyOptionByIndex(e){return this.getOptionValue(this.filteredOptions()[e])}static \u0275fac=function(i){return new(i||t)(h(Be),h(ft),h(Me),h(ma),h(xe),pt("id"),h(gt))};static \u0275cmp=Q({type:t,selectors:[["q-combobox"]],contentQueries:function(i,o,r){i&1&&hr(r,o.optionTemplate,bI,5,ue),i&2&&bi()},viewQuery:function(i,o){if(i&1&&(pr(o.dropdownContentRef,JO,5),pr(o.virtualRenderer,eP,5),Fe(tP,7),Fe(nP,7),Fe(DI,7),Fe(K2,5)),i&2){bi(2);let r;ye(r=ve())&&(o.rootElementRef=r.first),ye(r=ve())&&(o.inputElementRef=r.first),ye(r=ve())&&(o.overlayPanel=r.first),ye(r=ve())&&(o.tagRefs=r)}},hostBindings:function(i,o){i&1&&U("focusout",function(s){return o.onHostFocusOut(s)})},inputs:{appendTo:"appendTo",autoComplete:"autoComplete",clearable:[2,"clearable","clearable",L],disableCloseOnSelect:[2,"disableCloseOnSelect","disableCloseOnSelect",L],disableCloseOnShiftSelect:[2,"disableCloseOnShiftSelect","disableCloseOnShiftSelect",L],disableOptionToggle:[2,"disableOptionToggle","disableOptionToggle",L],filterable:[2,"filterable","filterable",L],filterOptions:"filterOptions",fullWidth:[2,"fullWidth","fullWidth",L],inputMinWidth:[2,"inputMinWidth","inputMinWidth",ll],inputStyle:"inputStyle",inputValue:"inputValue",limitTags:[2,"limitTags","limitTags",qr],loading:[2,"loading","loading",L],minWidth:[2,"minWidth","minWidth",ll],multiple:[2,"multiple","multiple",L],noOptionsLabel:"noOptionsLabel",optionLabel:"optionLabel",optionValue:"optionValue",options:"options",placeholder:"placeholder",position:"position",rootStyle:"rootStyle",showDropdown:"showDropdown",showDropdownIcon:[2,"showDropdownIcon","showDropdownIcon",L],startIcon:"startIcon",startIconSize:"startIconSize",virtual:[2,"virtual","virtual",L],virtualOptions:"virtualOptions"},outputs:{inputValueChanged:"inputValueChanged",tagClicked:"tagClicked",closeTriggered:"closeTriggered",showDropdownChanged:"showDropdownChanged",stateChanged:"stateChanged"},features:[Ie([ma,{multi:!0,provide:Do,useExisting:at(()=>t)}]),he,we,X],decls:21,vars:56,consts:[["root",""],["inputRow",""],["input",""],["overlayPanel",""],["dropdownContent",""],["virtualRenderer",""],[3,"click","keydown","ngStyle"],[2,"display","contents",3,"class","for","id","label","required","size"],[3,"click"],[3,"class"],["data-test-id","combobox-input-container"],["role","combobox","tabindex","0","type","text",3,"ngModelChange","blur","focus","keydown","disabled","id","ngClass","ngStyle","placeholder","readonly","ngModel"],[3,"error","for","id"],[3,"class","for","hint","id","size"],["animation","none","placement","bottom-start",3,"closeTriggered","stateChanged","anchorElement","anchorOffset","appendTo","position","show"],["role","listbox",3,"id","ngStyle"],[2,"display","contents",3,"click","for","id","label","required","size"],[3,"icon","size"],["tabIndex","-1","toggleable","false",3,"dismissable","id","label","size"],["tabIndex","-1",3,"label","size"],["tabIndex","-1","toggleable","false",3,"click","keydown","dismissable","id","label","size"],[3,"class","icon","size"],["ariaLabel","Clear",3,"class","icon","size"],[3,"ngClass"],["aria-label","Loading"],["ariaLabel","Clear",3,"click","icon","size"],[3,"size"],[3,"for","hint","id","size"],["showActiveIndicator","","virtual-option-renderer","",3,"filteredOptions","getOptionContext","getOptionLabel","identifyOption","renderOption","virtualOptions"],["isNoOptionsLabel","",3,"label"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["showActiveIndicator","",3,"active","disabled","highlighted","label","rootClass","rootId","rootStyle"],["showActiveIndicator","",3,"click","active","disabled","highlighted","label","rootClass","rootId","rootStyle"]],template:function(i,o){if(i&1){let r=fe();C(0,"div",6,0),U("click",function(a){return V(r),j(o.onElementActivated(a))})("keydown",function(a){return V(r),j(o.onRootKeyDown(a))}),M(2,oP,1,7,"q-input-label",7),C(3,"div",8,1),U("click",function(){V(r);let a=Ge(12);return j(a.focus())}),M(5,rP,2,4,"span",9),C(6,"div",10),M(7,cP,3,1),C(8,"div")(9,"div"),Ae(10),b(),C(11,"input",11,2),C1("ngModelChange",function(a){return V(r),jb(o.inputValue,a)||(o.inputValue=a),j(a)}),U("blur",function(a){return V(r),j(o.onBlur(a))})("focus",function(a){return V(r),j(o.onFocus(a))})("keydown",function(a){return V(r),j(o.onInputKeyDown(a))})("ngModelChange",function(a){return V(r),j(o.onInputChanged(a))}),b()()(),M(13,pP,5,6,"div",9),b(),q(14,"q-input-error",12),M(15,fP,1,6,"q-input-hint",13),b(),C(16,"q-overlay-panel",14,3),U("closeTriggered",function(a){return V(r),j(o.onOverlayPanelCloseTriggered(a))})("stateChanged",function(a){return V(r),j(o.onOverlayPanelStateChanged(a))}),C(18,"div",15,4),M(20,wP,2,1),b()()}if(i&2){let r=Ge(4),s=Ge(17);x(o.comboBoxClasses.root(o.fullWidth,o.disabled)),We("min-width",o.minWidth),v("ngStyle",o.rootStyle),m(2),w(o.label?2:-1),m(),x(o.formFieldClasses.inputContainer(o.size,o.disabled,o.hasError,!o.filterable)),m(2),w(o.startIcon?5:-1),m(),x(o.comboBoxClasses.inputContainer()),m(),w(o.showTags?7:-1),m(),x(o.comboBoxClasses.inputWrapper(o.size,o.showTags)),m(),x(o.comboBoxClasses.inputGhost),We("min-width",o.inputMinWidth),m(),Le(" ",o.inputValue," "),m(),v("disabled",o.disabled)("id",o.controlledId)("ngClass",_1(53,EI,o.formFieldClasses.input(o.hasError),o.comboBoxClasses.input(o.disabled,o.filterable)))("ngStyle",o.inputStyle)("placeholder",o.placeholder)("readonly",!o.filterable),x1("ngModel",o.inputValue),W("aria-autocomplete",o.ariaAutocomplete)("aria-controls",o.listboxId)("aria-describedby",o.inputAriaDescribedBy)("aria-errormessage",o.inputAriaErrorMessage)("aria-expanded",o.isDropdownOpen)("aria-invalid",o.hasError)("aria-label",o.ariaLabel)("aria-labelledby",o.inputAriaLabelledBy),m(2),w(o.showActions?13:-1),m(),x(o.formFieldClasses.error),v("error",o.error)("for",o.controlledId)("id",o.errorId),m(),w(o.hint?15:-1),m(),v("anchorElement",r)("anchorOffset",2)("appendTo",o.appendTo)("position",o.position)("show",o.isDropdownOpen),m(2),x(o.selectClasses.optionsContainer()),v("id",o.listboxId)("ngStyle",o.dropdownStyle),W("aria-activedescendant",o.ariaActiveDescendant)("multiple",o.multiple),m(2),w(s.visible?20:-1)}},dependencies:[e4,sx,Ze,on,ch,y0,ph,KI,ZI,GI,Et,ag,K2,Gq,Kq],encapsulation:2,changeDetection:0})}return t})(),Yq=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})(),t4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[e4,Ce,To,XI,Ke,hl,K2,JI,LC,Yq]})}return t})(),n4=(()=>{class t{accent;color;orientation="horizontal";spacingAfter;spacingBefore;static \u0275fac=function(i){return new(i||t)};static \u0275dir=Y({type:t,inputs:{accent:"accent",color:"color",orientation:"orientation",spacingAfter:[2,"spacingAfter","spacingAfter",qr],spacingBefore:[2,"spacingBefore","spacingBefore",qr]},features:[he]})}return t})(),Jq=(()=>{class t extends n4{cd;classes=Gc;margin;constructor(e){super(),this.cd=e}ngOnChanges(e){(e.spacingAfter||e.spacingBefore||e.orientation)&&(this.margin=Zc.getSpacing(this.spacingBefore,this.spacingAfter,this.orientation))}static \u0275fac=function(i){return new(i||t)(h(xe))};static \u0275cmp=Q({type:t,selectors:[["q-divider"]],features:[we,X],decls:1,vars:4,consts:[["role","separator"]],template:function(i,o){i&1&&q(0,"div",0),i&2&&(x(o.classes.root(o.color,o.orientation,o.accent)),We("margin",o.margin))},styles:[`:host{display:contents}
16
+ `],encapsulation:2,changeDetection:0})}return t})();var i4=(()=>{class t extends n4{class;role="separator";hostClass;hostMargin="0px";ngOnChanges(){this.updateStyles()}ngAfterContentInit(){this.updateStyles()}updateStyles(){this.hostMargin=Zc.getSpacing(this.spacingBefore,this.spacingAfter,this.orientation),this.hostClass=Gc.root(this.color,this.orientation,this.accent,this.class)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275dir=Y({type:t,selectors:[["","q-divider",""]],hostVars:5,hostBindings:function(i,o){i&2&&(wu("role",o.role),x(o.hostClass),We("margin",o.hostMargin))},inputs:{class:"class",role:"role"},features:[we,X]})}return t})(),cg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})();var eV=Dn("{{enterDuration}}ms {{enterDelay}}ms {{enterTiming}}"),tV=Dn("{{exitDuration}}ms {{exitDelay}}ms {{exitTiming}}"),ote=[kt("fade-hide",vt({opacity:"0",visibility:"hidden"})),kt("fade-show",vt({opacity:"1",visibility:"visible"})),Pt("fade-hide => fade-show",eV),Pt("fade-show => fade-hide",tV),kt("none-hide",vt({display:"none",visibility:"hidden"})),kt("none-show",vt({display:"block",visibility:"visible"})),Pt("none-hide <=> none-show",Dn("0ms 0ms"))];var xI=(()=>{class t{cd;elementRef;set qMenuItem(e){this._item=e}get item(){return this._item}_item;disableArrowKeys;inline;isLast;index;subMenuTrigger="hover";parentItem;parentPanelVisible;size;zIndex=1e3;focusParentAnchor=new F;closeSiblingMenus=new F;focusNextHandler=new F;focusPrevHandler=new F;selectionHandler=new F;nestedMenu;set showChildMenu(e){e&&this.closeSiblingMenus.emit(this),this._showChildMenu=e}get showChildMenu(){return this._showChildMenu}_showChildMenu;childItems=[];classes=Xn;constructor(e,i){this.cd=e,this.elementRef=i}ngOnChanges(e){e.qMenuItem&&(this.childItems=this.item.items??[]),e.parentPanelVisible&&!e.parentPanelVisible.currentValue&&(this.showChildMenu=!1)}get hostElement(){return this.elementRef?.nativeElement}focusItem(){this.elementRef.nativeElement?.focus?.()}onSelect(e){this.item.command?.(this.item),this.selectionHandler.emit({event:e,index:this.index,item:this.item}),this.childItems.length&&(this.showChildMenu=!0,e.preventDefault(),e.stopPropagation(),this.cd.detectChanges())}onItemKeyDown(e){if(this.disableArrowKeys&&e.code.includes("Arrow")){e.preventDefault(),e.stopPropagation();return}switch(e.code){case"ArrowDown":this.focusNextHandler.emit({currentIndex:this.index}),e.preventDefault();break;case"ArrowUp":this.focusPrevHandler.emit({currentIndex:this.index}),e.preventDefault();break;case"ArrowLeft":this.parentItem&&(this.parentItem.focusItem(),this.parentItem.showChildMenu=!1),e.preventDefault();break;case"ArrowRight":this.childItems.length&&(this.showChildMenu||(this.showChildMenu=!0),this.nestedMenu.menuItems.get(0)?.focusItem?.()),e.preventDefault();break;case"Escape":case"Tab":this.inline||(e.preventDefault(),e.stopPropagation(),this.focusRootAnchor());break;case"Space":case"Enter":this.elementRef.nativeElement?.click?.(),this.parentItem||e.preventDefault();break;default:break}}onItemMouseEnter(){this.childItems.length&&this.subMenuTrigger==="hover"&&(this.showChildMenu=!0)}getIconSize(e){return e||(this.item.size??this.size??"m")}focusRootAnchor(){this.parentItem?this.parentItem.focusRootAnchor():this.focusParentAnchor.emit()}get role(){return this.item.sectionTitle?"label":"menuitem"}get tabIndex(){return this.item.disabled||this.item.sectionTitle?-1:0}get rootClass(){return this.classes.root(this.item.disabled,this.item.separator)}getSize(){return this.item.size??this.size??"m"}onChildMenuCloseTriggered(){this.showChildMenu=!1}static \u0275fac=function(i){return new(i||t)(h(xe),h(J))};static \u0275cmp=Q({type:t,selectors:[["","qMenuItem",""]],viewQuery:function(i,o){if(i&1&&Fe(MP,5),i&2){let r;ye(r=ve())&&(o.nestedMenu=r.first)}},hostBindings:function(i,o){i&1&&U("click",function(s){return o.onSelect(s)})("keydown",function(s){return o.onItemKeyDown(s)})("mouseenter",function(){return o.onItemMouseEnter()})},inputs:{qMenuItem:"qMenuItem",disableArrowKeys:"disableArrowKeys",inline:"inline",isLast:"isLast",index:"index",subMenuTrigger:"subMenuTrigger",parentItem:"parentItem",parentPanelVisible:"parentPanelVisible",size:"size",zIndex:"zIndex"},outputs:{focusParentAnchor:"focusParentAnchor",closeSiblingMenus:"closeSiblingMenus",focusNextHandler:"focusNextHandler",focusPrevHandler:"focusPrevHandler",selectionHandler:"selectionHandler"},features:[X],attrs:IP,decls:3,vars:2,consts:[["nestedMenu",""],["role","presentation",3,"class"],[3,"class"],["animation","none","appendTo","portal","placement","right-start","restoreFocus","false",3,"anchorElement","items","parentItem","show","zIndex"],["role","presentation"],[3,"class","icon","size","templateContext"],[3,"icon","size","templateContext"],["animation","none","appendTo","portal","placement","right-start","restoreFocus","false",3,"closeTriggered","anchorElement","items","parentItem","show","zIndex"]],template:function(i,o){i&1&&M(0,SP,2,3,"span",1)(1,LP,7,10,"div",2)(2,RP,2,5,"q-menu",3),i&2&&(w(o.item.sectionTitle?0:1),m(2),w(o.childItems.length?2:-1))},dependencies:()=>[Vo,wp],encapsulation:2,changeDetection:0})}return t})(),wp=(()=>{class t extends ul{anchorElement;ariaLabel;ariaLabelledby;autoFocus=!0;disableArrowKeys;inline;items;subMenuTrigger="hover";parentItem;role="menu";set show(e){this._show=e===void 0?void 0:Ot(e)}get show(){return this._show}_show;static ngAcceptInputType_show;size="m";zIndex=1e3;selected=new F;closeTriggered=new F;stateChanged=new F;overlayPanel;menuItems;classes=Po;menuItemClasses=Xn;visible=!1;onDropdownStateChanged(e){e.state==="open"&&this.autoFocus&&setTimeout(()=>this.focusNextItem({currentIndex:-1})),e.state==="opening"?this.visible=!0:e.state==="closing"&&(this.visible=!1),this.stateChanged.emit(e)}focusNextItem(e,i){if(this.items.length===0||i&&e.currentIndex+1===i.currentIndex)return;let o=this.menuItems.get(e.currentIndex+1);if(o){if(Yc.interactionDisabled(o.item))return this.focusNextItem({currentIndex:e.currentIndex+1},i||e)}else return this.focusNextItem({currentIndex:-1},i||e);o.focusItem()}focusPrevItem(e,i){if(this.items.length===0||i&&e.currentIndex-1===i.currentIndex)return;let o=this.menuItems.get(e.currentIndex-1);if(o){if(Yc.interactionDisabled(o.item))return this.focusPrevItem({currentIndex:e.currentIndex-1},i||e)}else return this.focusPrevItem({currentIndex:this.menuItems.length},i||e);o.focusItem()}toggle(e){this.overlayPanel&&(this.overlayPanel.anchorElement=this.anchorElement||e?.currentTarget,this.overlayPanel.toggle())}childIsEventTarget(e){return e.target?this.menuItems.some(i=>i.hostElement.contains(e.target)||i.nestedMenu&&i.nestedMenu.childIsEventTarget(e)):!1}onSelected(e){this.selected.emit(e),(e.item.routerLink||e.item.url)&&this.overlayPanel?.open&&(this.parentItem?this.parentItem.selectionHandler.emit(e):this.overlayPanel?.close(e.event,"click-inside")),!e.item.items?.length&&this.overlayPanel?.open&&this.parentItem&&(this.parentItem.showChildMenu=!1)}onPanelCloseTriggered(e){if(e.reason==="tab-key"&&this.childIsEventTarget(e.event)){e?.event?.preventDefault?.();return}this.closeTriggered.emit(e)}closeSiblingMenus(e){this.menuItems.forEach(i=>{i.showChildMenu&&i!==e&&(i.showChildMenu=!1,i.cd.detectChanges())})}focusPanelAnchorElement(){!this.inline&&this.overlayPanel&&this.restoreFocus&&this.overlayPanel.focusAnchorElement()}getItemClass(e){return Xn.root(e.disabled,e.separator,Po.listItem)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Dt(t)))(o||t)}})();static \u0275cmp=Q({type:t,selectors:[["q-menu"]],viewQuery:function(i,o){if(i&1&&(Fe(DI,5),Fe(xI,5)),i&2){let r;ye(r=ve())&&(o.overlayPanel=r.first),ye(r=ve())&&(o.menuItems=r)}},inputs:{anchorElement:"anchorElement",ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",autoFocus:[2,"autoFocus","autoFocus",L],disableArrowKeys:[2,"disableArrowKeys","disableArrowKeys",L],inline:[2,"inline","inline",L],items:"items",subMenuTrigger:"subMenuTrigger",parentItem:"parentItem",role:"role",show:"show",size:"size",zIndex:[2,"zIndex","zIndex",fn]},outputs:{selected:"selected",closeTriggered:"closeTriggered",stateChanged:"stateChanged"},features:[he,we],decls:4,vars:1,consts:[["menuContent",""],["overlayPanel",""],[3,"ngTemplateOutlet"],[3,"anchorElement","anchorOffset","animation","animationDuration","animationEasing","appendTo","placement","position","restoreFocus","show","zIndex"],[3,"closeTriggered","stateChanged","anchorElement","anchorOffset","animation","animationDuration","animationEasing","appendTo","placement","position","restoreFocus","show","zIndex"],[3,"class","disableArrowKeys","fragment","index","inline","isLast","parentItem","parentPanelVisible","qMenuItem","queryParams","queryParamsHandling","replaceUrl","routerLink","size","skipLocationChange","state","subMenuTrigger","tabIndex","target","zIndex"],[3,"class","disableArrowKeys","index","inline","isLast","parentItem","parentPanelVisible","qMenuItem","size","subMenuTrigger","tabIndex","target","zIndex"],[3,"class","disableArrowKeys","disabled","index","inline","isLast","parentItem","parentPanelVisible","qMenuItem","size","subMenuTrigger","tabIndex","zIndex"],[3,"closeSiblingMenus","focusNextHandler","focusParentAnchor","focusPrevHandler","selectionHandler","disableArrowKeys","fragment","index","inline","isLast","parentItem","parentPanelVisible","qMenuItem","queryParams","queryParamsHandling","replaceUrl","routerLink","size","skipLocationChange","state","subMenuTrigger","tabIndex","target","zIndex"],[3,"closeSiblingMenus","focusNextHandler","focusParentAnchor","focusPrevHandler","selectionHandler","disableArrowKeys","index","inline","isLast","parentItem","parentPanelVisible","qMenuItem","size","subMenuTrigger","tabIndex","target","zIndex"],[3,"closeSiblingMenus","focusNextHandler","focusParentAnchor","focusPrevHandler","selectionHandler","disableArrowKeys","disabled","index","inline","isLast","parentItem","parentPanelVisible","qMenuItem","size","subMenuTrigger","tabIndex","zIndex"]],template:function(i,o){i&1&&M(0,OP,1,1,"ng-container",2)(1,FP,3,12,"q-overlay-panel",3)(2,zP,4,7,"ng-template",null,0,Qn),i&2&&w(o.inline?0:1)},dependencies:[Ze,Rc,ag,xI],encapsulation:2,changeDetection:0})}return t})(),Mp=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Rh,hl,cl,Ke,Rh]})}return t})(),rte=(()=>{class t extends ul{cd;autoFocus=!0;color="neutral";fullWidth;kind="single";icon;items;menuSize="m";set show(e){this._show=e===void 0?void 0:Ot(e)}get show(){return this._show}_show;static ngAcceptInputType_show;shape="round";size="m";subMenuTrigger="hover";variant="fill";selected=new F;buttonClicked=new F;iconButtonClicked=new F;closeTriggered=new F;stateChanged=new F;qMenu;buttonClassNames={root:void 0};buttonEndIcon=Mi;buttonSelected=!1;dropdownShown=!1;iconButtonClassNames={root:void 0};iconButtonShape;iconButtonIcon=Mi;classes=ep;constructor(e){super(),this.cd=e}ngOnChanges(e){(e.kind||e.shape)&&(this.iconButtonShape=this.kind==="icon"&&this.shape==="round"?this.shape:"square"),e.kind&&(this.buttonClassNames=this.kind==="split"?{root:["q-split",sn.fullHeight]}:{root:void 0},this.iconButtonClassNames=this.kind==="split"?{root:"q-split"}:{root:sn.fullHeight},this.buttonEndIcon=this.kind==="single"?Mi:void 0,this.iconButtonIcon=this.kind==="icon"&&this.icon?this.icon:Mi)}onSelected(e){this.selected.emit(e)}onDropdownStateChanged(e){this.dropdownShown=e.state==="open"||e.state==="opening",this.buttonSelected=this.kind==="single"&&this.dropdownShown,this.stateChanged.emit(e),this.cd.detectChanges()}onButtonClick(e){this.buttonClicked.emit(e),!this.manual&&this.kind==="single"&&this.qMenu.toggle(e)}onIconButtonClick(e){this.iconButtonClicked.emit(e),!this.manual&&this.kind!=="single"&&this.qMenu.toggle(e)}static \u0275fac=function(i){return new(i||t)(h(xe))};static \u0275cmp=Q({type:t,selectors:[["q-dropdown"]],viewQuery:function(i,o){if(i&1&&Fe(BP,5),i&2){let r;ye(r=ve())&&(o.qMenu=r.first)}},inputs:{autoFocus:[2,"autoFocus","autoFocus",L],color:"color",fullWidth:[2,"fullWidth","fullWidth",L],kind:"kind",icon:"icon",items:"items",menuSize:"menuSize",show:"show",shape:"shape",size:"size",subMenuTrigger:"subMenuTrigger",variant:"variant"},outputs:{selected:"selected",buttonClicked:"buttonClicked",iconButtonClicked:"iconButtonClicked",closeTriggered:"closeTriggered",stateChanged:"stateChanged"},features:[he,we,X],ngContentSelectors:xt,decls:7,vars:19,consts:[["menu",""],["qButton","",3,"classNames","color","endIcon","fullWidth","selected","size","variant"],["orientation","vertical"],["qIconButton","",3,"classNames","color","icon","selected","shape","size","variant"],[3,"closeTriggered","selected","stateChanged","animation","animationDuration","animationEasing","appendTo","autoFocus","items","placement","position","restoreFocus","show","size","subMenuTrigger"],["qButton","",3,"click","classNames","color","endIcon","fullWidth","selected","size","variant"],["qIconButton","",3,"click","classNames","color","icon","selected","shape","size","variant"]],template:function(i,o){if(i&1){let r=fe();qe(),C(0,"div")(1,"div"),M(2,HP,2,7,"button",1)(3,UP,1,0,"q-divider",2)(4,QP,1,7,"button",3),b()(),C(5,"q-menu",4,0),U("closeTriggered",function(a){return V(r),j(o.closeTriggered.emit(a))})("selected",function(a){return V(r),j(o.onSelected(a))})("stateChanged",function(a){return V(r),j(o.onDropdownStateChanged(a))}),b()}i&2&&(x(o.classes.root(o.fullWidth)),m(),x(o.classes.controls(o.kind)),m(),w(o.kind!=="icon"?2:-1),m(),w(o.kind==="split"?3:-1),m(),w(o.kind!=="single"?4:-1),m(),v("animation",o.animation)("animationDuration",o.animationDuration)("animationEasing",o.animationEasing)("appendTo",o.appendTo)("autoFocus",o.autoFocus)("items",o.items)("placement",o.placement)("position",o.position)("restoreFocus",o.restoreFocus)("show",o.show)("size",o.menuSize)("subMenuTrigger",o.subMenuTrigger))},dependencies:[Pq,BI,wp,Jq],encapsulation:2,changeDetection:0})}return t})(),ste=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[og,Ce,ti,Mp,cg,cl]})}return t})();var nV=["svg",{fill:"none","stroke-width":2,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}],CI=(()=>{class t{ngZone;platformId;elementCount=0;entries=new Map;resizeObserver=null;constructor(e,i){this.ngZone=e,this.platformId=i}ngOnDestroy(){this.resizeObserver&&this.clearObserver()}observe(e,i,o){In(this.platformId)||!e||(this.resizeObserver||(this.resizeObserver=new ResizeObserver(r=>{for(let s of r){let a=this.entries.get(s.target);a&&this.ngZone.run(()=>{a(s)})}})),o==="border-box"?this.resizeObserver.observe(e,{box:"border-box"}):this.resizeObserver.observe(e),this.elementCount+=1,this.entries.set(e,i))}unobserve(e){if(In(this.platformId)||!e)return;this.entries.get(e)&&this.resizeObserver&&(this.resizeObserver.unobserve(e),this.entries.delete(e),this.elementCount-=1,this.elementCount===0&&this.clearObserver())}clearObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=null,this.elementCount=0,this.entries=new Map}static \u0275fac=function(i){return new(i||t)(D(ie),D(gt))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),iV=(()=>{class t{el;resizeObserverService;platformId;resizeBoxModel;resizeHandler=new F;qResizeObserver=new F;observing=!1;constructor(e,i,o){this.el=e,this.resizeObserverService=i,this.platformId=o}ngOnChanges(e){this.observing&&e.resizeBoxModel&&(this.unobserve(),this.observe())}ngAfterViewInit(){this.observe()}ngOnDestroy(){this.unobserve()}onResize(e){this.resizeHandler.emit(e),this.qResizeObserver.emit(e)}observe(){In(this.platformId)||this.observing||(this.resizeObserverService.observe(this.el?.nativeElement,e=>this.onResize(e),this.resizeBoxModel),this.observing=!0)}unobserve(){In(this.platformId)||this.observing&&(this.resizeObserverService.unobserve(this.el?.nativeElement),this.observing=!1)}static \u0275fac=function(i){return new(i||t)(h(J),h(CI),h(gt))};static \u0275dir=Y({type:t,selectors:[["","qResizeObserver",""]],inputs:{resizeBoxModel:"resizeBoxModel"},outputs:{resizeHandler:"resizeHandler",qResizeObserver:"qResizeObserver"},standalone:!0,features:[Ie([CI]),X]})}return t})(),oV=(()=>{class t{observer;wrapperEl;onResize(e){let i=this.wrapperEl.nativeElement,o=e.target,r=u=>i.style.maxWidth=`${u}px`;i.style.maxWidth="";let s=o.clientWidth,a=o.clientHeight,c=s/2,l=s,d;if(s){for(;c+1<l;)d=~~((c+l)/2),r(d),o.clientHeight===a?l=d:c=d;r(l*1+s*0)}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-wrap-balancer"]],viewQuery:function(i,o){if(i&1&&Fe($P,5),i&2){let r;ye(r=ve())&&(o.wrapperEl=r.first)}},ngContentSelectors:xt,decls:3,vars:0,consts:[["wrapper",""],[2,"display","inline-block",3,"qResizeObserver"]],template:function(i,o){if(i&1){let r=fe();qe(),C(0,"span",1,0),U("qResizeObserver",function(a){return V(r),j(o.onResize(a))}),Te(2),b()}},dependencies:[iV],encapsulation:2})}return t})(),ate=(()=>{class t{bottomContent;color;dismissable;icon;label;description;footer;wrapDescription;closed=new F;templates;footerTemplate;X=Ii;classes=Gi;ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"bottomContent":this.footerTemplate=this.footer||e.template;break}})}ngOnChanges(e){e.footer&&(this.footerTemplate=this.footer)}getIcon(){return this.icon??PI(this.color)}onCloseClicked(e){this.closed.emit(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-inline-alert"]],contentQueries:function(i,o,r){if(i&1&&pn(r,FI,4),i&2){let s;ye(s=ve())&&(o.templates=s)}},inputs:{bottomContent:"bottomContent",color:"color",dismissable:[2,"dismissable","dismissable",L],icon:"icon",label:"label",description:"description",footer:"footer",wrapDescription:[2,"wrapDescription","wrapDescription",L]},outputs:{closed:"closed"},features:[he,X],decls:8,vars:11,consts:[["data-test-id","inline-alert"],["size","14",3,"icon"],[3,"content","contentClass"],[3,"class"],["ariaLabel","Dismiss","dense","","size","m",3,"class","icon"],[3,"ngTemplateOutlet"],["ariaLabel","Dismiss","dense","","size","m",3,"click","icon"]],template:function(i,o){i&1&&(C(0,"div",0)(1,"div")(2,"div"),q(3,"q-icon",1),M(4,WP,1,2,"q-div-template",2),b(),M(5,KP,2,1)(6,YP,2,3,"div",3),b(),M(7,JP,1,3,"q-icon-button",4),b()),i&2&&(x(o.classes.root(o.color)),m(),x(o.classes.content),m(),x(o.classes.header),m(),v("icon",o.getIcon()),m(),w(o.label?4:-1),m(),w(o.description?5:-1),m(),w(o.footerTemplate?6:-1),m(),w(o.dismissable?7:-1))},dependencies:[Et,Ze,ga,oV,sg,HI],encapsulation:2})}return t})();var rV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({})}return t})(),cte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ke,Ce,cg,ti,rV,Vr,al]})}return t})(),lte=(()=>{class t{elementRef;class;disabled;endIcon;endIconSize="m";endIconStyle;role="link";startIcon;startIconSize="m";startIconStyle;textClass;variant="primary";classes=Xc;_class=N("");_disabled=N(null);_role=N("link");_variant=N("primary");hostClass=P(()=>Xc.root(this._variant(),this._disabled()||!1,this._class()));tabIndex=P(()=>this._disabled()?"-1":"0");constructor(e){this.elementRef=e}ngOnChanges(e){e.class&&this._class.set(this.class),e.disabled&&this._disabled.set(this.disabled||null),e.role&&this._role.set(this.role),e.variant&&this._variant.set(this.variant)}get hostElement(){return this.elementRef.nativeElement}static \u0275fac=function(i){return new(i||t)(h(J))};static \u0275cmp=Q({type:t,selectors:[["","qLink",""],["","q-link",""]],hostVars:5,hostBindings:function(i,o){i&2&&W("aria-disabled",o._disabled())("class",o.hostClass())("inert",o._disabled())("role",o._role())("tabindex",o.tabIndex())},inputs:{class:"class",disabled:[2,"disabled","disabled",L],endIcon:"endIcon",endIconSize:"endIconSize",endIconStyle:"endIconStyle",role:"role",startIcon:"startIcon",startIconSize:"startIconSize",startIconStyle:"startIconStyle",textClass:"textClass",variant:"variant"},features:[he,X],attrs:eF,ngContentSelectors:xt,decls:4,vars:4,consts:[[3,"icon","ngStyle","size"]],template:function(i,o){i&1&&(qe(),M(0,tF,1,3,"q-icon",0),C(1,"span"),Te(2),b(),M(3,nF,1,3,"q-icon",0)),i&2&&(w(o.startIcon?0:-1),m(),x(o.classes.text(o.textClass)),m(2),w(o.endIcon?3:-1))},dependencies:[on,Et],encapsulation:2})}return t})(),dte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke]})}return t})();var X2=class{animations;behaviour;position;constructor(n={}){this.setConfig(n)}setConfig(n={}){this.animations={enabled:!0,hide:{easing:"ease",offset:50,preset:"fade",speed:250},overlap:150,shift:{easing:D2,speed:250},show:{easing:"ease",preset:"slide",speed:250}},this.behaviour={onClick:!1,onMouseover:"pauseAutoHide",showDismissButton:!0,stacking:3},this.position={horizontal:{distance:20,position:"right"},vertical:{distance:20,gap:20,position:"top"}},n.animations!==void 0&&(n.animations.enabled!==void 0&&(this.animations.enabled=n.animations.enabled),n.animations.overlap!==void 0&&(this.animations.overlap=n.animations.overlap),n.animations.hide!==void 0&&Object.assign(this.animations.hide,n.animations.hide),n.animations.shift!==void 0&&Object.assign(this.animations.shift,n.animations.shift),n.animations.show!==void 0&&Object.assign(this.animations.show,n.animations.show)),n.behaviour!==void 0&&Object.assign(this.behaviour,n.behaviour),n.position!==void 0&&(n.position.horizontal!==void 0&&Object.assign(this.position.horizontal,n.position.horizontal),n.position.vertical!==void 0&&Object.assign(this.position.vertical,n.position.vertical))}},sV=0,bp=class{id;key;component;autoHide;bottomContent;color;dismissable;description;label;subtleLabel;constructor(n){Object.assign(this,n),this.autoHide=n.autoHide===!1?!1:6e3,this.dismissable=n.dismissable??!0,this.color=n.color??"informative",this.key=n.key||`ID_${++sV}`}};function aV(){return new X2({})}var cV={hide:()=>({from:{opacity:"1"},to:{opacity:"0"}}),show:()=>({from:{opacity:"0"},to:{opacity:"1"}})},lV={hide:t=>{let n=t.component.getConfig(),e=t.component.getShift(),i,o;if(n.position.horizontal.position==="left")i={transform:`translate3d( 0, ${e}px, 0 )`},o={transform:`translate3d( calc( -100% - ${n.position.horizontal.distance}px - 10px ), ${e}px, 0 )`};else if(n.position.horizontal.position==="right")i={transform:`translate3d( 0, ${e}px, 0 )`},o={transform:`translate3d( calc( 100% + ${n.position.horizontal.distance}px + 10px ), ${e}px, 0 )`};else{let r;n.position.vertical.position==="top"?r=`calc( -100% - ${n.position.horizontal.distance}px - 10px )`:r=`calc( 100% + ${n.position.horizontal.distance}px + 10px )`,i={transform:`translate3d( -50%, ${e}px, 0 )`},o={transform:`translate3d( -50%, ${r}, 0 )`}}return{from:i,to:o}},show:t=>{let n=t.component.getConfig(),e,i;if(n.position.horizontal.position==="left")e={transform:`translate3d( calc( -100% - ${n.position.horizontal.distance}px - 10px ), 0, 0 )`},i={transform:"translate3d( 0, 0, 0 )"};else if(n.position.horizontal.position==="right")e={transform:`translate3d( calc( 100% + ${n.position.horizontal.distance}px + 10px ), 0, 0 )`},i={transform:"translate3d( 0, 0, 0 )"};else{let o;n.position.vertical.position==="top"?o=`calc( -100% - ${n.position.horizontal.distance}px - 10px )`:o=`calc( 100% + ${n.position.horizontal.distance}px + 10px )`,e={transform:`translate3d( -50%, ${o}, 0 )`},i={transform:"translate3d( -50%, 0, 0 )"}}return{from:e,to:i}}},dV=(()=>{class t{animationPresets;constructor(){this.animationPresets={fade:cV,slide:lV}}getAnimationData(e,i){let o,r,s;return e==="show"?(o=this.animationPresets[i.component.getConfig().animations.show.preset].show(i),r=i.component.getConfig().animations.show.speed,s=i.component.getConfig().animations.show.easing):(o=this.animationPresets[i.component.getConfig().animations.hide.preset].hide(i),r=i.component.getConfig().animations.hide.speed,s=i.component.getConfig().animations.hide.easing),{keyframes:[o.from,o.to],options:{duration:r,easing:s,fill:"forwards"}}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),Y2=class{actionStream=new te;actionQueue=[];isActionInProgress=!1;push(n){this.actionQueue.push(n),this.tryToRunNextAction()}continue(){this.isActionInProgress=!1,this.tryToRunNextAction()}tryToRunNextAction(){if(this.isActionInProgress||this.actionQueue.length===0)return;this.isActionInProgress=!0;let n=this.actionQueue.shift();this.actionStream.next(n)}},uV=(()=>{class t{now;remaining;timerId;finishPromiseResolver;constructor(){this.now=0,this.remaining=0}start(e){return new Promise(i=>{this.remaining=e,this.finishPromiseResolver=i,this.continue()})}pause(){clearTimeout(this.timerId),this.remaining-=new Date().getTime()-this.now}continue(){this.now=new Date().getTime(),this.timerId=setTimeout(()=>{this.finish()},this.remaining)}stop(){clearTimeout(this.timerId),this.remaining=0}finish(){this.finishPromiseResolver?.()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),_I="NOTIFICATION_TIMER_SERVICE",o4="NOTIFICATION_ANIMATION_SERVICE",r4=new O("QNotificationServiceConfig"),fl=(()=>{class t{config;id;queueService=new Y2;enabled=!1;actionSubscription;currentNotifications=[];constructor(e){this.config=e,this.id=Math.floor(Math.random()*1e6).toString(10),this.actionSubscription=this.actionStream.subscribe(i=>{this.handleAction(i)})}ngOnDestroy(){this.actionSubscription.unsubscribe()}enable(){this.enabled=!0}getConfig(){return this.config}get actionStream(){return this.queueService.actionStream.asObservable()}setConfig(e={}){this.config.setConfig(e)}handleAction(e){switch(e.type){case"SHOW":this.currentNotifications.length===this.config.behaviour.stacking&&this.currentNotifications.shift(),this.currentNotifications.push(e.payload);break;case"HIDE":this.currentNotifications=this.currentNotifications.filter(i=>i.key!==e.payload);break;case"HIDE_ALL":this.currentNotifications=[];break}}find(e){return this.currentNotifications.find(i=>i.id===e)}show(e){this.queueService.push({payload:e,type:"SHOW"})}hide(e){this.enabled&&this.queueService.push({payload:e,type:"HIDE"})}hideAll(){this.enabled&&this.queueService.push({type:"HIDE_ALL"})}notify(e){if(this.enabled)return this.show(new bp(K(k({},e),{key:void 0})))}getInstance(){return this.id}static \u0275fac=function(i){return new(i||t)(D(r4))};static \u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hV=(()=>{class t{cd;renderer;inline=!0;notification;index;animate;showTranslate="";hideTranslate="";visible;closeHandler=new F;closed=new F;contentContainer;bottomContentTemplate;bottomContentComponent;descriptionTemplate;descriptionComponent;labelTemplate;labelComponent;componentOutletInput;icon;iconSize;X=Ii;classes=Di;constructor(e,i){this.cd=e,this.renderer=i}ngOnChanges(e){e.notification&&(this.icon=this.notification.icon||dq(this.notification.color),this.iconSize=this.notification.iconSize??"m",this.componentOutletInput={notification:this.notification},this.initBottomContent(),this.initLabel(),this.initDescription())}initBottomContent(){this.bottomContentComponent=null,this.bottomContentTemplate=null,this.notification.bottomContent&&(this.notification.bottomContent instanceof ue?this.bottomContentTemplate=this.notification.bottomContent:this.bottomContentComponent=this.notification.bottomContent)}initLabel(){this.labelComponent=null,this.labelTemplate=null;let e=this.notification.label;e&&(typeof e=="string"||e instanceof ue?this.labelTemplate=e:this.labelComponent=e)}initDescription(){this.descriptionComponent=null,this.descriptionTemplate=null;let e=this.notification.description;e&&(typeof e=="string"||e instanceof ue?this.descriptionTemplate=e:this.descriptionComponent=e)}onClose(e){this.closed.emit({event:e,notification:this.notification}),this.closeHandler.emit(this.notification)}static \u0275fac=function(i){return new(i||t)(h(xe),h(Ue))};static \u0275cmp=Q({type:t,selectors:[["q-notification-content"]],viewQuery:function(i,o){if(i&1&&Fe(oF,7,Bt),i&2){let r;ye(r=ve())&&(o.contentContainer=r.first)}},inputs:{inline:[2,"inline","inline",L],notification:"notification",index:"index",animate:"animate",showTranslate:"showTranslate",hideTranslate:"hideTranslate",visible:[2,"visible","visible",L]},outputs:{closeHandler:"closeHandler",closed:"closed"},features:[he,X],decls:9,vars:14,consts:[[3,"icon","size"],[3,"class"],["ariaLabel","Close","dense","",3,"class","icon"],[3,"content","context"],[3,"ngComponentOutlet","ngComponentOutletInputs"],[3,"content","contentClass","context"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ariaLabel","Close","dense","",3,"click","icon"]],template:function(i,o){i&1&&(C(0,"div"),q(1,"div"),C(2,"span"),q(3,"q-icon",0),b(),C(4,"div"),M(5,cF,4,4,"span",1)(6,uF,2,1)(7,mF,3,3,"div",1),b(),M(8,gF,1,3,"q-icon-button",2),b()),i&2&&(x(o.classes.root(o.inline)),m(),x(o.classes.bar(o.notification.color)),m(),x(o.classes.iconWrapper(o.notification.color)),m(),v("icon",o.icon)("size",o.iconSize),m(),x(o.classes.content),m(),w(o.notification.label||o.notification.subtleLabel?5:-1),m(),w(o.notification.description?6:-1),m(),w(o.notification.bottomContent?7:-1),m(),w(o.notification.dismissable||o.notification.autoHide===!1?8:-1))},dependencies:[ax,Ze,ga,Et,sg],encapsulation:2,changeDetection:0})}return t})(),pV=(()=>{class t{elementRef;renderer;notifierService;timerService;animationService;className="q-notification-animator--root";notification;readyHandler=new F;dismissHandler=new F;config;elementHeight;elementShift=0;visible;constructor(e,i,o,r,s){this.elementRef=e,this.renderer=i,this.notifierService=o,this.timerService=r,this.animationService=s,this.config=o.getConfig()}get element(){return this.elementRef.nativeElement}ngAfterViewInit(){this.setup(),this.elementHeight=this.element.offsetHeight,this.readyHandler.emit(this)}closeTriggered(e){this.dismissHandler.emit(e.notification.key)}onClick(){this.config.behaviour.onClick==="hide"&&this.onClickDismiss()}onMouseOut(){this.config.behaviour.onMouseover==="pauseAutoHide"?this.continueAutoHideTimer():this.config.behaviour.onMouseover==="resetAutoHide"&&this.startAutoHideTimer()}onMouseOver(){this.config.behaviour.onMouseover==="pauseAutoHide"?this.pauseAutoHideTimer():this.config.behaviour.onMouseover==="resetAutoHide"&&this.stopAutoHideTimer()}get autoHide(){return this.notification.autoHide}getConfig(){return this.config}getHeight(){return this.elementHeight}getShift(){return this.elementShift}show(){return new Promise(e=>{if(this.config.animations.enabled&&this.config.animations.show.speed>0){let i=this.animationService.getAnimationData("show",this.notification),o=Object.keys(i.keyframes[0]);for(let s=o.length-1;s>=0;s--)this.renderer.setStyle(this.element,o[s],i.keyframes[0][o[s]]);this.renderer.setStyle(this.element,"visibility","visible"),this.visible=!0;let r=this.element.animate(i.keyframes,i.options);r.onfinish=()=>{this.startAutoHideTimer(),e()}}else this.renderer.setStyle(this.element,"visibility","visible"),this.visible=!0,this.startAutoHideTimer(),e()})}hide(){return new Promise(e=>{if(this.stopAutoHideTimer(),this.config.animations.enabled&&this.config.animations.hide.speed>0){let i=this.animationService.getAnimationData("hide",this.notification),o=this.element.animate(i.keyframes,i.options);o.onfinish=()=>{e(),this.renderer.setStyle(this.element,"visibility","hidden"),this.visible=!1}}else this.renderer.setStyle(this.element,"visibility","hidden"),this.visible=!1,e()})}shift(e,i){return new Promise(o=>{let r;this.config.position.vertical.position==="top"&&i||this.config.position.vertical.position==="bottom"&&!i?r=this.elementShift+e+this.config.position.vertical.gap:r=this.elementShift-e-this.config.position.vertical.gap;let s=this.config.position.horizontal.position==="center"?"-50%":"0";if(this.config.animations.enabled&&this.config.animations.shift.speed>0){let a={keyframes:[{transform:`translate3d( ${s}, ${this.elementShift}px, 0 )`},{transform:`translate3d( ${s}, ${r}px, 0 )`}],options:{duration:this.config.animations.shift.speed,easing:this.config.animations.shift.easing,fill:"forwards"}};this.elementShift=r;let c=this.element.animate(a.keyframes,a.options);c.onfinish=()=>{o()}}else this.renderer.setStyle(this.element,"transform",`translate3d( ${s}, ${r}px, 0 )`),this.elementShift=r,o()})}onClickDismiss(){this.dismissHandler.emit(this.notification.key)}startAutoHideTimer(){this.notification.autoHide!==!1&&this.notification.autoHide>0&&this.timerService.start(this.notification.autoHide).then(()=>{this.onClickDismiss()})}pauseAutoHideTimer(){this.notification.autoHide!==!1&&this.notification.autoHide>0&&this.timerService.pause()}continueAutoHideTimer(){this.notification.autoHide!==!1&&this.notification.autoHide>0&&this.timerService.continue()}stopAutoHideTimer(){this.notification.autoHide!==!1&&this.notification.autoHide>0&&this.timerService.stop()}setup(){this.config.position.horizontal.position==="left"?this.renderer.setStyle(this.element,"left",`${this.config.position.horizontal.distance}px`):this.config.position.horizontal.position==="right"?this.renderer.setStyle(this.element,"right",`${this.config.position.horizontal.distance}px`):(this.renderer.setStyle(this.element,"left","50%"),this.renderer.setStyle(this.element,"transform","translate3d( -50%, 0, 0 )")),this.config.position.vertical.position==="top"?this.renderer.setStyle(this.element,"top",`${this.config.position.vertical.distance}px`):this.renderer.setStyle(this.element,"bottom",`${this.config.position.vertical.distance}px`)}static \u0275fac=function(i){return new(i||t)(h(J),h(Ue),h(fl),h(_I),h(o4))};static \u0275cmp=Q({type:t,selectors:[["q-notification-animator"]],hostVars:2,hostBindings:function(i,o){i&1&&U("click",function(){return o.onClick()})("mouseout",function(){return o.onMouseOut()})("mouseover",function(){return o.onMouseOver()}),i&2&&x(o.className)},inputs:{notification:"notification"},outputs:{readyHandler:"readyHandler",dismissHandler:"dismissHandler"},features:[Ie([{provide:_I,useClass:uV}])],decls:1,vars:2,consts:[["inline","false",3,"closed","notification","visible"]],template:function(i,o){i&1&&(C(0,"q-notification-content",0),U("closed",function(s){return o.closeTriggered(s)}),b()),i&2&&v("notification",o.notification)("visible",o.visible)},dependencies:[hV],encapsulation:2,changeDetection:0})}return t})(),fV=(()=>{class t{changeDetector;notificationService;config;notifications=[];queueServiceSubscription;tempPromiseResolver;constructor(e,i){this.changeDetector=e,this.notificationService=i,this.config=i.getConfig(),this.queueServiceSubscription=this.notificationService.actionStream.subscribe(o=>{this.handleAction(o).then(()=>{this.notificationService.queueService.continue()})})}ngOnDestroy(){this.queueServiceSubscription&&this.queueServiceSubscription.unsubscribe()}identifyNotification(e){return e.key}onNotificationDismiss(e){this.notificationService.queueService.push({payload:e,type:"HIDE"})}onNotificationReady(e){let i=this.notifications[this.notifications.length-1];i.component=e,this.continueHandleShowAction(i)}handleAction(e){switch(e.type){case"SHOW":return this.handleShowAction(e);case"HIDE":return this.handleHideAction(e);case"HIDE_ALL":return this.handleHideAllAction()}}handleShowAction(e){return new Promise(i=>{this.tempPromiseResolver=i,this.addNotificationToList(new bp(e.payload))})}continueHandleShowAction(e){let i=this.notifications.length;if(i===1)e.component.show().then(this.tempPromiseResolver);else if(this.config.behaviour.stacking===!1||this.config.behaviour.stacking<2)this.notifications[0].component.hide().then(()=>{this.removeNotificationFromList(this.notifications[0]),e.component.show().then(this.tempPromiseResolver)});else{let r=[];if(i>this.config.behaviour.stacking){let s=this.notifications.slice(1,i-1);this.config.animations.enabled?this.config.animations.overlap!==!1&&this.config.animations.overlap>0?(r.push(this.notifications[0].component.hide()),setTimeout(()=>{r.push(this.shiftNotifications(s,e.component.getHeight(),!0))},this.config.animations.hide.speed-this.config.animations.overlap),setTimeout(()=>{r.push(e.component.show())},this.config.animations.hide.speed+this.config.animations.shift.speed-this.config.animations.overlap)):r.push(new Promise(a=>{this.notifications[0].component.hide().then(()=>{this.shiftNotifications(s,e.component.getHeight(),!0).then(()=>{e.component.show().then(a)})})})):(r.push(this.notifications[0].component.hide()),r.push(this.shiftNotifications(s,e.component.getHeight(),!0)),r.push(e.component.show()))}else{let s=this.notifications.slice(0,i-1);this.config.animations.enabled?this.config.animations.overlap!==!1&&this.config.animations.overlap>0?(r.push(this.shiftNotifications(s,e.component.getHeight(),!0)),setTimeout(()=>{r.push(e.component.show())},this.config.animations.shift.speed-this.config.animations.overlap)):r.push(new Promise(a=>{this.shiftNotifications(s,e.component.getHeight(),!0).then(()=>{e.component.show().then(a)})})):(r.push(this.shiftNotifications(s,e.component.getHeight(),!0)),r.push(e.component.show()))}Promise.all(r).then(()=>{(!this.config.behaviour.stacking||i>this.config.behaviour.stacking)&&this.removeNotificationFromList(this.notifications[0]),this.tempPromiseResolver()})}}handleHideAction(e){return new Promise(i=>{let o=[],r=this.findNotificationById(e.payload);if(r===void 0){i();return}let s=this.findNotificationIndexById(e.payload);if(s===void 0){i();return}let a=this.notifications.slice(0,s);a.length>0?this.config.animations.enabled&&this.config.animations.hide.speed>0?this.config.animations.overlap!==!1&&this.config.animations.overlap>0?(o.push(r.component.hide()),setTimeout(()=>{o.push(this.shiftNotifications(a,r.component.getHeight(),!1))},this.config.animations.hide.speed-this.config.animations.overlap)):r.component.hide().then(()=>{o.push(this.shiftNotifications(a,r.component.getHeight(),!1))}):(o.push(r.component.hide()),o.push(this.shiftNotifications(a,r.component.getHeight(),!1))):o.push(r.component.hide()),Promise.all(o).then(()=>{this.removeNotificationFromList(r),i()})})}handleHideAllAction(){return new Promise(e=>{let i=this.notifications.length;if(i===0){e();return}if(this.config.animations.enabled&&this.config.animations.hide.speed>0&&this.config.animations.hide.offset!==!1&&this.config.animations.hide.offset>0)for(let o=i-1;o>=0;o--){let r=this.config.position.vertical.position==="top"?i-1:o;setTimeout(()=>{this.notifications[o].component.hide().then(()=>{(this.config.position.vertical.position==="top"&&o===0||this.config.position.vertical.position==="bottom"&&o===i-1)&&(this.removeAllNotificationsFromList(),e())})},this.config.animations.hide.offset*r)}else{let o=[];for(let r=i-1;r>=0;r--)o.push(this.notifications[r].component.hide());Promise.all(o).then(()=>{this.removeAllNotificationsFromList(),e()})}})}shiftNotifications(e,i,o){return new Promise(r=>{if(e.length===0){r();return}let s=[];for(let a=e.length-1;a>=0;a--)s.push(e[a].component.shift(i,o));Promise.all(s).then(r)})}addNotificationToList(e){this.notifications.push(e),this.changeDetector.markForCheck()}removeNotificationFromList(e){this.notifications=this.notifications.filter(i=>i.component!==e.component),this.changeDetector.markForCheck()}removeAllNotificationsFromList(){this.notifications=[],this.changeDetector.markForCheck()}findNotificationById(e){return this.notifications.find(i=>i.key===e)}findNotificationIndexById(e){let i=this.notifications.findIndex(o=>o.key===e);return i!==-1?i:void 0}static \u0275fac=function(i){return new(i||t)(h(xe),h(fl))};static \u0275cmp=Q({type:t,selectors:[["q-notification-container"]],decls:2,vars:0,consts:[[3,"dismissHandler","readyHandler","notification"]],template:function(i,o){i&1&&wn(0,vF,2,1,"div",null,yF,!0),i&2&&Mn(o.notifications)},dependencies:[pV],encapsulation:2,changeDetection:0})}return t})(),mV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,ti,Ke,og,Vr]})}return t})(),gV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({providers:[{provide:o4,useClass:dV},{provide:r4,useFactory:aV}],imports:[Ce,mV]})}return t})();function yp(t){return fn(t,1)}var s4=(()=>{class t{boundaryCount=H(1,{transform:yp});defaultPage=H(1,{transform:yp});page=H(void 0,{transform:fn});rowsPerPage=H(1,{transform:yp});siblingCount=H(1,{transform:yp});totalRows=H.required({transform:qr});pageChanged=su();static \u0275fac=function(i){return new(i||t)};static \u0275dir=Y({type:t,inputs:{boundaryCount:[1,"boundaryCount"],defaultPage:[1,"defaultPage"],page:[1,"page"],rowsPerPage:[1,"rowsPerPage"],siblingCount:[1,"siblingCount"],totalRows:[1,"totalRows"]},outputs:{pageChanged:"pageChanged"}})}return t})(),Ti=(()=>{class t{boundaryCount=N(1);currentRow=N(1);hidePageLinks=N(!1);isControlled=N(!1);page=N(void 0);rowsPerPage=N(1);rowsPerPageOptions=N(void 0);siblingCount=N(1);totalRows=N(1);pageButtons=N([]);pageRowsLabelId=N("");constructor(){Rt(()=>{let e=this.page(),i=this.rowsPerPage();sa(e)&&Ee(()=>this.currentRow.set(Math.max(1,i*e)))})}getPage=P(()=>Math.floor(this.currentRow()/this.rowsPerPage())||1);getPageCount=P(()=>Math.ceil(this.totalRows()/this.rowsPerPage()));canGoToNextPage=P(()=>this.getPage()<this.getPageCount());canGoToPrevPage=P(()=>this.getPage()>1);currentPageStart=P(()=>{let e=this.getPage(),i=this.rowsPerPage();return this.totalRows()?e===1?Math.max(i*(e-1),1):i*(e-1)+1:0});currentPageEnd=P(()=>{let e=this.getPage(),i=this.getPageCount(),o=this.rowsPerPage(),r=this.totalRows(),s=this.currentPageStart();return r?e<i?e*o:e===i?r:r-s:0});pageLinks=P(()=>tp.computePageLinks({boundaryCount:this.boundaryCount(),hidePageLinks:this.hidePageLinks(),page:this.getPage(),pageCount:this.getPageCount(),siblingCount:this.siblingCount()}));rowsPerPageSelectOptions=P(()=>(this.rowsPerPageOptions()??[]).map(i=>({label:i})));rowsPerPageOpt=P(()=>({label:this.rowsPerPage()}));pageMetadataState=P(()=>({currentPage:this.getPage(),currentPageEnd:this.currentPageEnd(),currentPageStart:this.currentPageStart(),totalPages:this.getPageCount(),totalRows:this.totalRows()}));onRowsPerPageChanged(e){this.currentRow.set(1),this.rowsPerPage.set(e)}goToPage(e){if(e<1||e>this.getPageCount())return;let i=this.rowsPerPage()*e;this.onPageChanged({firstVisiblePage:i,page:e,totalPages:this.getPageCount()}),!this.isControlled()&&this.currentRow.set(i)}focusActivePageButton(){if(!this.pageButtons())return;this.pageButtons().find(i=>i.nativeElement.ariaCurrent==="true")?.nativeElement?.focus()}goToNextPage(){this.goToPage(this.getPage()+1)}goToPrevPage(){this.goToPage(this.getPage()-1)}onPageChanged=e=>{};onTotalRowsChanged(){if(this.getPage()>this.getPageCount()&&!this.isControlled()){this.goToPage(this.getPageCount());return}}onPageButtonClick(e){this.goToPage(e),setTimeout(()=>this.focusActivePageButton())}onChanges(e){e.page&&(this.page.set(e.page.currentValue),this.isControlled.set(!0)),e.rowsPerPage&&this.rowsPerPage.set(e.rowsPerPage.currentValue),e.boundaryCount&&this.boundaryCount.set(e.boundaryCount.currentValue),e.siblingCount&&this.siblingCount.set(e.siblingCount.currentValue),e.totalRows&&(this.totalRows.set(e.totalRows.currentValue),e.totalRows.isFirstChange()||this.onTotalRowsChanged())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),a4=(()=>{class t{context;ariaLabel=H("Go to next page",{alias:"aria-label"});class=H();disabled=H();icon=H(Bc);hostDisabled=P(()=>{let e=!this.context.canGoToNextPage();return this.disabled()||e||void 0});hostAriaLabel=P(()=>this.ariaLabel());hostClass=P(()=>Er.root("neutral","square","m","outline",!0,!!this.hostDisabled(),!1,!1));hostClick(){this.hostDisabled()||this.context.goToNextPage()}constructor(e){this.context=e}static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275cmp=Q({type:t,selectors:[["","q-pagination-next-page-link",""]],hostVars:3,hostBindings:function(i,o){i&1&&U("click",function(){return o.hostClick()}),i&2&&W("aria-label",o.hostAriaLabel())("class",o.hostClass())("disabled",o.hostDisabled())},inputs:{ariaLabel:[1,"aria-label","ariaLabel"],class:[1,"class"],disabled:[1,"disabled"],icon:[1,"icon"]},standalone:!0,features:[it],attrs:kF,decls:1,vars:1,consts:[[3,"icon"]],template:function(i,o){i&1&&q(0,"q-icon-or-template",0),i&2&&v("icon",o.icon())},dependencies:[Ke,Vo],encapsulation:2})}return t})(),c4=(()=>{class t{context;class=H();hostClass=P(()=>Ki.pageLinksContainer(this.class()));pageButtons=$a("pageButton");classes=xp(Ki);MoreHorizontal=v2;constructor(e){this.context=e,Rt(()=>{let i=this.pageButtons();Ee(()=>this.context.pageButtons.set(i))})}trackPageLinks(e,i){return typeof i=="string"?`${e}-${i}`:`${i.page}-${i.label}-${i.active}`}static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275cmp=Q({type:t,selectors:[["","q-pagination-page-links",""]],viewQuery:function(i,o){i&1&&pr(o.pageButtons,AI,5),i&2&&bi()},hostVars:1,hostBindings:function(i,o){i&2&&W("class",o.hostClass())},inputs:{class:[1,"class"]},standalone:!0,features:[it],attrs:bF,ngContentSelectors:CF,decls:3,vars:1,consts:[["pageButton",""],["dense","","q-icon-button","","tabindex","0","variant","outline",3,"classNames"],["role","separator",3,"class"],["dense","","q-icon-button","","tabindex","0","variant","outline",3,"click","classNames"],["role","separator"],["size","m",3,"icon"]],template:function(i,o){i&1&&(qe(xF),Te(0),M(1,SF,2,0),Te(2,1)),i&2&&(m(),w(o.context.hidePageLinks()?-1:1))},dependencies:[ti,BI,Ke,Et],encapsulation:2})}return t})(),wI=(()=>{class t{static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Y({type:t,selectors:[["ng-template","metadata-template",""]],standalone:!0})}return t})(),yV=(()=>{class t{context;class=H();hostClass=P(()=>Ki.pageMetadata(this.class()));pageMetadataTemplate=H("{currentPage} of {totalPages}");metadataTemplate=Wa(wI,{descendants:!0,read:ue});pageMetadata=P(()=>{let e=this.metadataTemplate(),i=this.pageMetadataTemplate();return i instanceof ue||e?"":i});pageMetadataTemplateRef=P(()=>{let e=this.pageMetadataTemplate();return e instanceof ue?e:null});constructor(e){this.context=e}pageMetadataLabel=P(()=>{let e=this.pageMetadata(),{currentPage:i,currentPageEnd:o,currentPageStart:r,totalPages:s,totalRows:a}=this.context.pageMetadataState();return e?e.replace(/{currentPage}/g,`${i}`).replace(/{totalPages}/g,`${s}`).replace(/{totalRows}/g,`${a}`).replace(/{currentPageStart}/g,`${r}`).replace(/{currentPageEnd}/g,`${o}`):""});static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275cmp=Q({type:t,selectors:[["","q-pagination-page-metadata",""]],contentQueries:function(i,o,r){i&1&&hr(r,o.metadataTemplate,wI,5,ue),i&2&&bi()},hostVars:1,hostBindings:function(i,o){i&2&&W("class",o.hostClass())},inputs:{class:[1,"class"],pageMetadataTemplate:[1,"pageMetadataTemplate"]},standalone:!0,features:[it],attrs:DF,ngContentSelectors:xt,decls:4,vars:1,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(qe(),M(0,TF,1,1)(1,AF,1,2,null,0)(2,OF,1,4),Te(3)),i&2&&w(o.pageMetadataLabel()?0:o.pageMetadataTemplateRef()?1:o.metadataTemplate()?2:-1)},dependencies:[Ze],encapsulation:2})}return t})(),vV=(()=>{class t{context;idService;idAttr;class=H();id=H();hostClass=P(()=>Ki.pageRowsLabel(this.class()));hostId=P(()=>{let e=this.id(),i=this.idService.useId("q-pagination-page-rows-label",e,this.idAttr);return Ee(()=>{this.context.pageRowsLabelId.set(i)}),i});constructor(e,i,o){this.context=e,this.idService=i,this.idAttr=o}static \u0275fac=function(i){return new(i||t)(h(Ti),h(ft),pt("id"))};static \u0275dir=Y({type:t,selectors:[["","q-pagination-page-rows-label",""]],hostVars:2,hostBindings:function(i,o){i&2&&W("class",o.hostClass())("id",o.hostId())},inputs:{class:[1,"class"],id:[1,"id"]},standalone:!0})}return t})(),l4=(()=>{class t{context;class=H();appendTo=H("host");options=H.required();rowsPerPage=H(void 0,{transform:qr});optionChanged=su();hostClass=P(()=>Ki.pageRowsDropdownContainer(this.class()));inputStyle={textOverflow:"unset"};constructor(e){this.context=e}ngOnChanges(e){e.options&&this.context.rowsPerPageOptions.set(this.options()),e.rowsPerPage&&this.context.rowsPerPage.set(this.rowsPerPage()||1)}onPageRowsChanged(e){this.context.onRowsPerPageChanged(e.label),this.optionChanged.emit(e.label)}static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275cmp=Q({type:t,selectors:[["","q-pagination-page-rows",""]],hostVars:1,hostBindings:function(i,o){i&2&&W("class",o.hostClass())},inputs:{class:[1,"class"],appendTo:[1,"appendTo"],options:[1,"options"],rowsPerPage:[1,"rowsPerPage"]},outputs:{optionChanged:"optionChanged"},standalone:!0,features:[X,it],attrs:PF,ngContentSelectors:xt,decls:2,vars:1,consts:[["clearable","false","disableOptionToggle","","minWidth","auto","optionLabel","label","size","s",3,"appendTo","ariaLabel","ariaLabelledby","inputMinWidth","inputStyle","ngModel","options"],["clearable","false","disableOptionToggle","","minWidth","auto","optionLabel","label","size","s",3,"ngModelChange","appendTo","ariaLabel","ariaLabelledby","inputMinWidth","inputStyle","ngModel","options"]],template:function(i,o){if(i&1&&(qe(),Te(0),M(1,FF,1,7,"q-combobox",0)),i&2){let r;m(),w((r=o.context.rowsPerPageOptions())!=null&&r.length?1:-1)}},dependencies:[t4,Xq,To,y0,ph],encapsulation:2})}return t})(),d4=(()=>{class t{context;ariaLabel=H("Go to previous page",{alias:"aria-label"});class=H();disabled=H();icon=H(m2);hostDisabled=P(()=>{let e=!this.context.canGoToPrevPage();return this.disabled()||e||void 0});hostAriaLabel=P(()=>this.ariaLabel());hostClass=P(()=>Er.root("neutral","square","m","outline",!0,!!this.hostDisabled(),!1,!1,Ki.pageLink(!1)));hostClick(){this.hostDisabled()||this.context.goToPrevPage()}constructor(e){this.context=e}static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275cmp=Q({type:t,selectors:[["","q-pagination-prev-page-link",""]],hostVars:3,hostBindings:function(i,o){i&1&&U("click",function(){return o.hostClick()}),i&2&&W("aria-label",o.hostAriaLabel())("class",o.hostClass())("disabled",o.hostDisabled())},inputs:{ariaLabel:[1,"aria-label","ariaLabel"],class:[1,"class"],disabled:[1,"disabled"],icon:[1,"icon"]},standalone:!0,features:[it],attrs:NF,decls:1,vars:1,consts:[[3,"icon"]],template:function(i,o){i&1&&q(0,"q-icon-or-template",0),i&2&&v("icon",o.icon())},dependencies:[Ke,Vo],encapsulation:2})}return t})(),ute=(()=>{class t extends s4{context;fullWidth=H(void 0,{transform:L});hideNextButton=H(void 0,{transform:L});hidePrevButton=H(void 0,{transform:L});hidePageLinks=H(void 0,{transform:L});nextPageAriaLabel=H("Go to next page");pageMetadataPlacement=H("before");prevPageAriaLabel=H("Go to previous page");pageMetadataTemplate=H("{currentPage} of {totalPages}");rowsPerPageAppendTo=H("host");rowsPerPageLabel=H();rowsPerPageOptions=H([]);rowsPerPagePlacement=H("after");showPageMetadata=H(!1,{transform:L});rowsPerPageChanged=su();rowsPerPageLabelTemplate=P(()=>{let e=this.rowsPerPageLabel();return e instanceof ue?e:null});rowsPerPageLabelStr=P(()=>{let e=this.rowsPerPageLabel();return e instanceof ue?"":e});classes=xp(Ki);constructor(e){super(),this.context=e,this.context.onPageChanged=i=>this.pageChanged.emit(i)}ngOnInit(){let e=this.defaultPage();!this.page()&&e!==1&&(this.context.currentRow.set(e),this.context.goToPage(e))}ngOnChanges(e){this.context.onChanges(e),e.hidePageLinks&&this.context.hidePageLinks.set(e.hidePageLinks.currentValue||!1),e.rowsPerPageOptions&&this.context.rowsPerPageOptions.set(this.rowsPerPageOptions())}static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275cmp=Q({type:t,selectors:[["q-pagination"]],inputs:{fullWidth:[1,"fullWidth"],hideNextButton:[1,"hideNextButton"],hidePrevButton:[1,"hidePrevButton"],hidePageLinks:[1,"hidePageLinks"],nextPageAriaLabel:[1,"nextPageAriaLabel"],pageMetadataPlacement:[1,"pageMetadataPlacement"],prevPageAriaLabel:[1,"prevPageAriaLabel"],pageMetadataTemplate:[1,"pageMetadataTemplate"],rowsPerPageAppendTo:[1,"rowsPerPageAppendTo"],rowsPerPageLabel:[1,"rowsPerPageLabel"],rowsPerPageOptions:[1,"rowsPerPageOptions"],rowsPerPagePlacement:[1,"rowsPerPagePlacement"],showPageMetadata:[1,"showPageMetadata"]},outputs:{rowsPerPageChanged:"rowsPerPageChanged"},features:[Ie([Ti,Iq({ChevronLeft:m2,ChevronRight:Bc,MoreHorizontal:v2})]),we,X],decls:12,vars:8,consts:[["pageOptionsMenu",""],["currentPageReport",""],[3,"ngTemplateOutlet"],["q-pagination-page-links",""],["q-pagination-prev-page-link",""],["q-pagination-next-page-link",""],["q-pagination-page-rows","",3,"optionChanged","appendTo","options"],["q-pagination-page-rows-label",""],["q-pagination-page-metadata","",3,"pageMetadataTemplate"]],template:function(i,o){i&1&&(C(0,"div"),M(1,VF,1,1,null,2)(2,zF,1,1,null,2),C(3,"div",3),M(4,BF,1,1,"button",4)(5,HF,1,1,"button",5),b(),M(6,QF,1,1,null,2)(7,WF,1,1,null,2),b(),M(8,YF,2,3,"ng-template",null,0,Qn)(10,eN,1,1,"ng-template",null,1,Qn)),i&2&&(x(o.classes.root(o.fullWidth())),m(),w(o.pageMetadataPlacement()==="before"?1:-1),m(),w(o.rowsPerPagePlacement()==="before"?2:-1),m(2),w(o.hidePrevButton()?-1:4),m(),w(o.hideNextButton()?-1:5),m(),w(o.rowsPerPagePlacement()==="after"?6:-1),m(),w(o.pageMetadataPlacement()==="after"?7:-1))},dependencies:[Ze,a4,c4,yV,l4,vV,d4],encapsulation:2,changeDetection:0})}return t})(),hte=(()=>{class t extends s4{context;class=H();hostClass=P(()=>Ki.root(!1,this.class()));pageButtons=$a("pageButton");get state(){return this.context.pageMetadataState()}constructor(e){super(),this.context=e,this.context.onPageChanged=i=>this.pageChanged.emit(i),Rt(()=>{let i=this.pageButtons();Ee(()=>this.context.pageButtons.set(i))})}ngOnInit(){let e=this.defaultPage();!this.page()&&e!==1&&(this.context.currentRow.set(e),this.context.goToPage(e))}ngOnChanges(e){this.context.onChanges(e)}static \u0275fac=function(i){return new(i||t)(h(Ti))};static \u0275dir=Y({type:t,selectors:[["","q-pagination",""]],viewQuery:function(i,o){i&1&&pr(o.pageButtons,AI,5),i&2&&bi()},hostVars:1,hostBindings:function(i,o){i&2&&W("class",o.hostClass())},inputs:{class:[1,"class"]},standalone:!0,features:[Ie([Ti]),we,X]})}return t})(),pte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[ti,Ce,Mp,To,Ke,t4,a4,c4,l4,d4]})}return t})(),fte=(()=>{class t{bottomContent;dismissable;dismissAriaLabel="Dismiss Popover";description;label;rootStyle;size="m";dismissed=new F;classes=Dr;dismissButtonSize="s";X=Ii;ngOnChanges(e){e.size&&(this.dismissButtonSize=this.size==="l"?"m":"s")}onDismissClick(e){this.dismissed.emit({event:e})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["q-popover"]],inputs:{bottomContent:"bottomContent",dismissable:[2,"dismissable","dismissable",L],dismissAriaLabel:"dismissAriaLabel",description:"description",label:"label",rootStyle:"rootStyle",size:"size"},outputs:{dismissed:"dismissed"},features:[he,X],decls:5,vars:7,consts:[[3,"ngStyle"],[3,"content","contentClass"],["dense","","size","s",3,"class","icon"],["dense","","size","s",3,"click","icon"]],template:function(i,o){i&1&&(C(0,"div",0),M(1,tN,1,2,"q-div-template",1)(2,nN,1,4,"q-icon-button",2)(3,iN,1,2,"q-div-template",1)(4,oN,1,2,"q-div-template",1),b()),i&2&&(x(o.classes.root),v("ngStyle",o.rootStyle),m(),w(o.label?1:-1),m(),w(o.dismissable?2:-1),m(),w(o.description?3:-1),m(),w(o.bottomContent?4:-1))},dependencies:[on,HI,ga],encapsulation:2})}return t})(),mte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Vr,ti,hl,hl]})}return t})(),kV=(()=>{class t{configService;domService;constructor(e,i){this.configService=e,this.domService=i}portalNode;ngOnInit(){this.domService.portalElement=this.portalNode.nativeElement}static \u0275fac=function(i){return new(i||t)(h(RI),h(tg))};static \u0275cmp=Q({type:t,selectors:[["q-portal"]],viewQuery:function(i,o){if(i&1&&Fe(rN,7),i&2){let r;ye(r=ve())&&(o.portalNode=r.first)}},decls:2,vars:1,consts:[["portalNode",""],[2,"max-height","0","max-width","0",3,"id"]],template:function(i,o){i&1&&q(0,"div",1,0),i&2&&v("id",o.configService.portalNodeId)},encapsulation:2})}return t})(),bV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce]})}return t})(),gte=(()=>{class t{idService;idAttr;ariaLabel;ariaLabelledby;color="var(--q-brand-600)";id;label;labelPosition="top";size="m";showValueLabel;value;hostDisplay="contents";completed=new F;indeterminate=!0;classes=ia;labelId;controlledId;constructor(e,i){this.idService=e,this.idAttr=i}ngOnInit(){this.controlledId||this.updateIds()}ngOnChanges(e){e.value&&(this.indeterminate=typeof e.value.currentValue>"u",this.value===100&&this.completed.emit()),e.id&&this.updateIds()}updateIds(){this.controlledId=this.idService.useId("q-progress-bar",this.id,this.idAttr),this.labelId=`${this.controlledId}-label`}get showSideLabel(){return this.labelPosition!=="side"?!1:!!this.label||!this.indeterminate&&this.showValueLabel}get showTopLabel(){return this.labelPosition!=="top"?!1:!!this.label||!this.indeterminate&&this.showValueLabel}static \u0275fac=function(i){return new(i||t)(h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-progress-bar"]],hostVars:2,hostBindings:function(i,o){i&2&&We("display",o.hostDisplay)},inputs:{ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",color:"color",id:"id",label:"label",labelPosition:"labelPosition",size:"size",showValueLabel:[2,"showValueLabel","showValueLabel",L],value:[2,"value","value",fn],hostDisplay:"hostDisplay"},outputs:{completed:"completed"},features:[he,X],decls:7,vars:8,consts:[[3,"class"],[3,"class","content","for","id"],["role","progressbar",3,"class","id","color"],["aria-valuemax","100","aria-valuemin","0","role","progressbar",3,"class","id","color","width"],[3,"class","for"],[3,"content","contentClass","for","id"],[3,"for"],[3,"content","for","id"],["role","progressbar",3,"id"],["aria-valuemax","100","aria-valuemin","0","role","progressbar",3,"id"]],template:function(i,o){i&1&&(C(0,"div"),M(1,lN,4,4,"div",0)(2,dN,1,5,"q-label-template",1),C(3,"div"),M(4,uN,1,7,"div",2)(5,hN,1,10,"div",3),b(),M(6,pN,2,5,"label",4),b()),i&2&&(x(o.classes.root(o.showTopLabel,o.showSideLabel)),m(),w(o.showTopLabel?1:-1),m(),w(o.showSideLabel&&o.label?2:-1),m(),x(o.classes.progressBarContainer(o.size)),m(),w(o.indeterminate?4:5),m(2),w(o.showSideLabel&&!o.indeterminate&&o.showValueLabel?6:-1))},dependencies:[UI],encapsulation:2,changeDetection:0})}return t})(),yte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Vr]})}return t})(),vte=(()=>{class t{alertService;notificationService;document;renderer;styleElement;constructor(e,i,o,r){this.alertService=e,this.notificationService=i,this.document=o,this.renderer=r}ngAfterViewInit(){this.alertService.enable(),this.notificationService.enable(),setTimeout(()=>{this.initStyles()},100)}initStyles(){this.styleElement&&this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=this.renderer.createElement("style"),this.renderer.setAttribute(this.styleElement,"type","text/css"),this.renderer.appendChild(this.document.head,this.styleElement),this.renderer.setProperty(this.styleElement,"innerHTML",`:root {
17
+ --q-lazy-loaded-transition-duration: 161ms;
18
+ }`)}ngOnDestroy(){this.styleElement&&this.renderer.removeChild(this.document.head,this.styleElement)}static \u0275fac=function(i){return new(i||t)(h(ig),h(fl),h(Me),h(Ue))};static \u0275cmp=Q({type:t,selectors:[["qui-root"]],ngContentSelectors:xt,decls:5,vars:0,consts:[["id","qui-notification-container"],["id","qui-alert-container"]],template:function(i,o){i&1&&(qe(),Ka(0),q(1,"q-notification-container",0)(2,"q-alert-container",1),Te(3),q(4,"q-portal"),Xa())},dependencies:[qq,fV,kV],encapsulation:2})}return t})(),kte=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,jq,gV,bV]})}return t})(),bte=new O("RADIO_GROUP");var u4=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,Vr,To]})}return t})();var vp=(()=>{class t{location;router;nodes=[];expandedNodes=new Set;expandStrategy="navigation";focusEventSubject=new te;expandEventSubject=new te;selectSubject=new te;constructor(e,i){this.location=e,this.router=i}focusNext(e){this.focusEventSubject.next({currentIndex:e,nextIndex:e+1})}focusPrev(e){this.focusEventSubject.next({currentIndex:e,nextIndex:e-1})}registerNode(e){return this.nodes.push(e),this.nodes.length-1}nodeSelected(e,i){this.selectSubject.next({event:i,index:e.index,item:e.item})}updateExpandedState(e){this.expandStrategy==="navigation"&&this.isRouteActive(e.item)?this.expandNodes(e):(this.expandStrategy==="all"||e.item.expanded)&&(this.expandedNodes.add(e),e.expanded=!0)}unregisterNode(e){this.expandedNodes.clear(),this.nodes=this.nodes.filter(i=>e!==i),this.nodes.forEach((i,o)=>{i.index=o})}get(e){return this.nodes[e]}get count(){return this.nodes.length}expandNodes(e){if(this.hasChildren(e)&&!e.expanded&&this.expandNode(e),!!e.parent)return this.expandNodes(e.parent)}expandNode(e){this.hasChildren(e)&&(this.expandedNodes.add(e),e.expanded=!0,this.expandEventSubject.next({expanded:!0,instance:e}))}collapseNode(e){(this.hasChildren(e)||e.expanded)&&(this.expandedNodes.delete(e),this.expandEventSubject.next({expanded:!1,instance:e}))}toggleExpanded(e){this.expandedNodes.has(e)?this.collapseNode(e):this.expandNode(e)}hasChildren(e){return!!e.item?.items?.length}activateLink(e){this.expandNodes(e),e.active=!0,e.updateRootClass(),e.cd.detectChanges(),e.disableScrollAdjustment||e.hostElement.nativeElement?.scrollIntoView?.({block:"nearest",inline:"nearest"})}deactivateLink(e){e.active=!1,e.updateRootClass(),e.cd.detectChanges()}isRouteActive(e){let i=this.location.path();return e.routerLink===""||e.routerLink==="/"?i==="":e.routerLink&&e.routerLink===i?!0:e.routerLink&&this.router.isActive(e.routerLink,{fragment:"ignored",matrixParams:"ignored",paths:"exact",queryParams:"subset"})}handleUrlUpdate(e,i){this.isRouteActive(e.item)?this.activateLink(e):e.active&&!(i&&e.item.id===i)&&this.deactivateLink(e)}reset(){this.nodes=[],this.expandedNodes=new Set}isItemVisible(e){return!e.parent||e.parent.expanded}static \u0275fac=function(i){return new(i||t)(D(xo),D(vn))};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),xV=(()=>{class t{cd;hostElement;itemService;router;idService;set qSideNavigationItem(e){this._item=e}get item(){return this._item}_item;activeId;childListStyle;collapsed;disableScrollAdjustment=!1;expandStrategy;selected=new F;elementRef;index;classes=RM;set expanded(e){this.ariaExpanded=`${e}`,this._expanded=e}get expanded(){return this._expanded}_expanded=!1;levelPadding=24;level;parent;set active(e){this._active=e,e&&this.itemType==="internal-link"?this.ariaCurrent="page":this.ariaCurrent=null}get active(){return this._active}_active;ariaExpanded;ariaCurrent;children;childItemsContainerStyle={};endIcon;expandAnimate=!1;hasChildren;id=N("");itemType;role;rootClass;startIconSize;tabIndex;labelId=P(()=>`${this.id()}-label`);subscriptions;constructor(e,i,o,r,s){this.cd=e,this.hostElement=i,this.itemService=o,this.router=r,this.idService=s}ngOnInit(){this.index=this.itemService.registerNode(this),this.itemService.updateExpandedState(this),this.itemService.handleUrlUpdate(this,this.activeId),(this.expandStrategy==="all"||this.item?.expanded)&&(this.expanded=!0),this.subscriptions=[this.itemService.expandEventSubject.subscribe(e=>{this===e.instance&&(this.expanded=e.expanded,this.cd.detectChanges())}),this.router.events.subscribe(e=>{e instanceof yn&&this.itemService.handleUrlUpdate(this,this.activeId)})]}ngOnChanges(e){e.qSideNavigationItem&&(this.updateId(),this.children=this.item.items??[],this.hasChildren=this.itemService.hasChildren(this),this.endIcon=this.hasChildren?Mi:null,this.item.sectionTitle&&(this.role="label"),this.startIconSize=this.item.startIconSize??"m",this.tabIndex=this.item.disabled||this.item.sectionTitle?-1:0,this.updateChildListStyle(),this.computeItemType(),this.updateRootClass()),e.collapsed&&(this.computeItemType(),this.updateRootClass()),e.activeId&&(this.item.id||this.active)&&(this.item.id===this.activeId?this.itemService.activateLink(this):this.itemService.deactivateLink(this)),(e.levelPadding||e.childListStyle)&&this.updateChildListStyle()}ngAfterViewInit(){this.expanded&&this.cd.detectChanges(),setTimeout(()=>{this.expandAnimate=!0},50)}ngOnDestroy(){this.itemService.unregisterNode(this),this.subscriptions.forEach(e=>{e instanceof Oe?e.unsubscribe():e()})}updateId(){this.id.set(this.idService.useId("q-side-navigation-item",this.item.id,null))}updateChildListStyle(){let e=this.item.childListStyle??{},i=`${this.levelPadding}px`;this.childItemsContainerStyle=this.childListStyle?k(k({paddingLeft:i},this.childListStyle),e):k({paddingLeft:i},e)}computeItemType(){this.item.separator?this.itemType="separator":this.collapsed&&this.level>0?this.itemType="hide-content":this.item.sectionTitle?this.itemType="separator":this.item.routerLink?this.itemType="internal-link":this.item.url?this.itemType="external-link":this.itemType="button"}updateRootClass(){this.rootClass=this.classes.root(this.item.disabled,this.item.separator,this.active,this.collapsed)}focusItem(){this.elementRef.nativeElement?.focus?.(),this.hasChildren&&!this.expanded&&this.itemService.expandNode(this)}onSelect(e){this.hasChildren&&this.itemService.toggleExpanded(this),this.item.command?.(this.item),this.itemService.nodeSelected(this,e)}onItemKeyDown(e){switch(e.code){case"ArrowDown":this.expanded||this.itemService.expandNode(this),this.itemService.focusNext(this.index),e.preventDefault();break;case"ArrowUp":this.itemService.focusPrev(this.index),e.preventDefault();break;case"ArrowLeft":this.itemService.collapseNode(this),e.preventDefault();break;case"ArrowRight":this.itemService.expandNode(this),e.preventDefault();break;case"Space":case"Enter":this.elementRef.nativeElement?.click?.(),e.preventDefault();break;default:break}}static \u0275fac=function(i){return new(i||t)(h(xe),h(J),h(vp),h(vn),h(ft))};static \u0275cmp=Q({type:t,selectors:[["","qSideNavigationItem",""]],viewQuery:function(i,o){if(i&1&&Fe(iF,5),i&2){let r;ye(r=ve())&&(o.elementRef=r.first)}},inputs:{qSideNavigationItem:"qSideNavigationItem",activeId:"activeId",childListStyle:"childListStyle",collapsed:[2,"collapsed","collapsed",L],disableScrollAdjustment:"disableScrollAdjustment",expandStrategy:"expandStrategy",levelPadding:[2,"levelPadding","levelPadding",fn],level:"level",parent:"parent"},outputs:{selected:"selected"},features:[he,X],attrs:fN,decls:8,vars:2,consts:[["contentRef",""],["elementRef",""],[3,"class","fragment","queryParams","queryParamsHandling","replaceUrl","routerLink","skipLocationChange","state","tabindex","target"],[3,"class","tabindex","target"],[3,"class","tabindex"],[3,"class"],["qCollapse","",3,"ngStyle","show"],[3,"click","keydown","fragment","queryParams","queryParamsHandling","replaceUrl","routerLink","skipLocationChange","state","tabindex","target"],[3,"ngTemplateOutlet"],[3,"click","keydown","tabindex","target"],[3,"click","keydown","tabindex"],["orientation","horizontal","q-divider","",3,"class"],["orientation","horizontal","q-divider",""],[3,"class","icon","size","templateContext"],[3,"icon","size","templateContext"],[3,"id"],["size","m",3,"icon"],[3,"activeId","childListStyle","collapsed","disableScrollAdjustment","expandStrategy","level","levelPadding","parent","qSideNavigationItem"]],template:function(i,o){if(i&1&&M(0,mN,0,0)(1,yN,3,17,"a",2)(2,kN,3,10,"a",3)(3,xN,3,7,"button",4)(4,wN,4,4,"div",5)(5,TN,3,4,"ng-template",null,0,Qn)(7,AN,3,2,"div",6),i&2){let r;w((r=o.itemType)==="hide-content"?0:r==="internal-link"?1:r==="external-link"?2:r==="button"?3:r==="separator"?4:-1),m(7),w(o.hasChildren?7:-1)}},dependencies:[Ze,on,Et,Vo,Rc,i4,ng,t],encapsulation:2,changeDetection:0})}return t})(),xte=(()=>{class t{itemService;activeId;childListStyle;collapsed;collapsible;disableScrollAdjustment;expandStrategy="navigation";fullHeight;levelPadding=24;maxWidth="240px";items=[];stickyTopContent;topContent;itemExpanded=new F;itemCollapsed=new F;itemSelected=new F;classes=OM;collapseSeparatorItem={id:"qui-internal-side-nav-collapse-separator",separator:!0};collapseButtonItem=()=>({command:()=>{this.onCollapseClick()},id:"qui-internal-side-nav-collapse-button",label:"Collapse",startIcon:this.collapsed?jh:Vh});subscriptions;constructor(e){this.itemService=e}ngOnInit(){this.itemService.expandStrategy=this.expandStrategy,this.subscriptions=[this.itemService.focusEventSubject.subscribe(e=>{e.currentIndex<e.nextIndex?this.focusNextItem(e.currentIndex):this.focusPrevItem(e.currentIndex)}),this.itemService.expandEventSubject.subscribe(e=>{e.expanded?this.itemExpanded.emit({index:e.instance.index,item:e.instance.item}):this.itemExpanded.emit({index:e.instance.index,item:e.instance.item})}),this.itemService.selectSubject.subscribe(e=>{this.itemSelected.emit(e)})]}ngOnChanges(e){e.items&&this.itemService.reset(),e.expandStrategy&&(this.itemService.expandStrategy=e.expandStrategy.currentValue)}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}onCollapseClick(){this.collapsed=!this.collapsed}canFocusItem(e){return!e.item.sectionTitle&&!e.item.disabled&&!e.item.separator}canFocusPrevItem(e){return this.canFocusItem(e)&&this.itemService.isItemVisible(e)}focusNextItem(e){if(this.itemService.count===0||e>this.items.length-1,this.itemService.count===0||e>this.itemService.count-1)return;let i=this.itemService.get(e+1);if(i){if(this.canFocusItem(i))return i.focusItem();this.focusNextItem(e+1)}}focusPrevItem(e){if(this.itemService.count===0||e<0)return;let i=this.itemService.get(e-1);if(i){if(this.canFocusPrevItem(i))return i.focusItem();this.focusPrevItem(e-1)}}trackItem(e,i){return`${i.id}-${i.label}-${e}`}static \u0275fac=function(i){return new(i||t)(h(vp))};static \u0275cmp=Q({type:t,selectors:[["q-side-navigation"]],inputs:{activeId:"activeId",childListStyle:"childListStyle",collapsed:[2,"collapsed","collapsed",L],collapsible:[2,"collapsible","collapsible",L],disableScrollAdjustment:[2,"disableScrollAdjustment","disableScrollAdjustment",L],expandStrategy:"expandStrategy",fullHeight:[2,"fullHeight","fullHeight",L],levelPadding:[2,"levelPadding","levelPadding",qr],maxWidth:[2,"maxWidth","maxWidth",ll],items:"items",stickyTopContent:[2,"stickyTopContent","stickyTopContent",L],topContent:"topContent"},outputs:{itemExpanded:"itemExpanded",itemCollapsed:"itemCollapsed",itemSelected:"itemSelected"},features:[Ie([{provide:vp,useClass:vp}]),he,X],decls:6,vars:8,consts:[[3,"class"],[3,"activeId","childListStyle","collapsed","disableScrollAdjustment","expandStrategy","level","levelPadding","qSideNavigationItem"],[3,"ngTemplateOutlet"],["orientation","horizontal","q-divider","","spacingBefore","12"],[3,"collapsed","qSideNavigationItem"]],template:function(i,o){i&1&&(C(0,"div"),M(1,RN,4,5,"div",0),C(2,"div"),wn(3,ON,1,8,"div",1,o.trackItem,!0),b(),M(5,PN,3,6,"div",0),b()),i&2&&(x(o.classes.root(o.collapsed,o.fullHeight)),We("max-width",o.maxWidth),m(),w(o.topContent?1:-1),m(),x(o.classes.items()),m(),Mn(o.items),m(2),w(o.collapsible?5:-1))},dependencies:[Ze,i4,xV],encapsulation:2,changeDetection:0})}return t})();var Cte=(()=>{class t extends YI{injector;idService;idAttr;autofocus;clearable=!0;fullWidth;maxLength;minLength;minWidth="100px";placeholder="";endIcon;endIconSize;startIcon;startIconSize;type="text";keyPressed=new F;qStartIcon;qEndIcon;get style(){return this.fullWidth?{display:"block",width:"100%"}:{}}classes=sp;fakeClearIconStyle={color:"transparent",userSelect:"none"};EmptyIcon=nV;constructor(e,i,o){super(e,"","q-text-input",i,o),this.injector=e,this.idService=i,this.idAttr=o}clearValue(){!this.disabled&&!this.readonly&&this.onChange("")}onKeyPress(e){this.keyPressed.emit(e)}static \u0275fac=function(i){return new(i||t)(h(Be),h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["q-text-input"]],contentQueries:function(i,o,r){if(i&1&&(pn(r,uq,7,ue),pn(r,hq,7,ue)),i&2){let s;ye(s=ve())&&(o.qStartIcon=s.first),ye(s=ve())&&(o.qEndIcon=s.first)}},hostVars:2,hostBindings:function(i,o){i&2&&_u(o.style)},inputs:{autofocus:[2,"autofocus","autofocus",L],clearable:[2,"clearable","clearable",L],fullWidth:[2,"fullWidth","fullWidth",L],maxLength:"maxLength",minLength:"minLength",minWidth:[2,"minWidth","minWidth",ll],placeholder:"placeholder",endIcon:"endIcon",endIconSize:"endIconSize",startIcon:"startIcon",startIconSize:"startIconSize",type:"type"},outputs:{keyPressed:"keyPressed"},features:[Ie([{multi:!0,provide:Do,useExisting:at(()=>t)}]),he,we],decls:9,vars:30,consts:[["input",""],[3,"class","for","id","label","required","size"],[3,"blur","click","focus"],["data-test-id","q-text-input-start-icon",3,"class"],[3,"blur","focus","input","keydown","autofocus","disabled","id","placeholder","readonly","type","value"],[3,"class"],[3,"error","for","id"],[3,"class","for","hint","id","size"],[3,"for","id","label","required","size"],["data-test-id","q-text-input-start-icon"],[3,"ngTemplateOutlet"],[3,"icon","size"],["data-test-id","q-text-input-error-icon",3,"class","icon","size"],["data-test-id","q-text-input-end-icon",3,"class"],["ariaLabel","Clear",3,"class","disabled","icon","size"],[3,"disabled","icon","ngStyle","size"],["ariaLabel","Clear",3,"click","disabled","icon","size"],["data-test-id","q-text-input-error-icon",3,"icon","size"],["data-test-id","q-text-input-end-icon"],[3,"for","hint","id","size"]],template:function(i,o){if(i&1){let r=fe();C(0,"div"),M(1,FN,1,7,"q-input-label",1),C(2,"div",2),U("blur",function(a){return V(r),j(o.onBlur(a))})("click",function(){V(r);let a=Ge(5);return j(a.focus())})("focus",function(a){return V(r),j(o.onFocus(a))}),M(3,qN,3,4,"span",3),C(4,"input",4,0),U("blur",function(a){return V(r),j(o.onBlur(a))})("focus",function(a){return V(r),j(o.onFocus(a))})("input",function(a){return V(r),j(o.onInputChange(a))})("keydown",function(a){return V(r),j(o.onKeyPress(a))}),b(),M(6,QN,4,5,"div",5),b(),q(7,"q-input-error",6),M(8,$N,1,6,"q-input-hint",7),b()}i&2&&(x(o.classes.root(o.fullWidth)),We("min-width",o.minWidth),m(),w(o.label?1:-1),m(),x(o.formFieldClasses.inputContainer(o.size,o.disabled,o.hasError,!1)),m(),w(o.qStartIcon||o.startIcon?3:-1),m(),x(o.formFieldClasses.input(o.hasError,o.classes.input("text"))),v("autofocus",o.autofocus)("disabled",o.disabled)("id",o.controlledId)("placeholder",o.placeholder)("readonly",o.readonly)("type",o.type)("value",o.value),W("aria-describedby",o.inputAriaDescribedBy)("aria-errormessage",o.inputAriaErrorMessage)("aria-invalid",o.hasError)("aria-labelledby",o.inputAriaLabelledBy)("maxLength",o.maxLength)("minLength",o.minLength),m(2),w(o.qEndIcon||o.endIcon||o.clearable||o.hasError?6:-1),m(),x(o.formFieldClasses.error),v("error",o.error)("for",o.controlledId)("id",o.errorId),m(),w(o.hint?8:-1))},dependencies:[KI,ZI,GI,Et,Ze,on],encapsulation:2})}return t})(),CV=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[XI,mc,Ke,Ce]})}return t})(),_te=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,Rh,cg,CV,og,ti,Cp]})}return t})();var _V=(()=>{class t{class;_class=N("");hostClass=P(()=>Jc.dismissAction(this._class()));X=Ii;ngOnChanges(e){e.class&&this._class.set(this.class)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=Q({type:t,selectors:[["","q-tab-dismiss-action",""]],hostVars:1,hostBindings:function(i,o){i&2&&W("class",o.hostClass())},inputs:{class:"class"},features:[X],attrs:WN,decls:1,vars:1,consts:[["size","xs",3,"icon"]],template:function(i,o){i&1&&q(0,"q-icon",0),i&2&&v("icon",o.X)},dependencies:[Et],encapsulation:2})}return t})(),qo=(()=>{class t{accent=N("primary");alignment=N("start");animateBar=N(!0);focusedIndex=N(-1);dismissable=N(!1);fullWidth=N(!0);fullHeight=N(!1);id=N("");lazyMode=N("off");manual=N(!1);orientation=N("horizontal");size=N("m");index;onTabDismissed;isSelected(e){return e===this.index.get()}iconSize=P(()=>Fo.getIconSize(this.size()));panelIds=N({});tabIds=N({});static \u0275fac=function(i){return new(i||t)};static \u0275prov=E({token:t,factory:t.\u0275fac})}return t})(),wV=(()=>{class t{context;descendantsManager;hostClass=Ft("attr.class",P(()=>ca.horizontalBar(this.context.alignment())));leftStyle=Ft("style.left",P(()=>this.style().left));rightStyle=Ft("style.right",P(()=>this.style().right));transitionDurationStyle=Ft("style.transition-duration",P(()=>this.transitionDuration()));widthStyle=Ft("style.width",P(()=>this.style().width));style=P(()=>(this.descendantsManager.subscribe(),Fo.getHorizontalBarStyle(this.context.alignment(),this.descendantsManager.first()?.node.getBoundingClientRect(),this.descendantsManager.item(this.context.index.get()??-1)?.node.getBoundingClientRect(),this.descendantsManager.last()?.node.getBoundingClientRect())));transitionDuration=N("0ms");constructor(e,i){this.context=e,this.descendantsManager=i}ngAfterViewInit(){setTimeout(()=>{this.transitionDuration.set(this.context.animateBar()?"161ms":"0ms")},10)}static \u0275fac=function(i){return new(i||t)(h(qo),h(Ht))};static \u0275dir=Y({type:t,selectors:[["","q-tab-horizontal-bar",""]],hostVars:1,hostBindings:function(i,o){i&2&&W("data-test-id","tab-bar")}})}return t})(),MV=(()=>{class t{context;descendantsManager;hostClass=Ft("attr.class",P(()=>ca.verticalBar(this.context.alignment())));heightStyle=Ft("style.height",P(()=>this.style().height));transitionDurationStyle=Ft("style.transition-duration",P(()=>this.transitionDuration()));topStyle=Ft("style.top",P(()=>this.style().top));style=P(()=>(this.descendantsManager.subscribe(),Fo.getVerticalBarStyle(this.descendantsManager.first()?.node.getBoundingClientRect(),this.descendantsManager.item(this.context.index.get()??-1)?.node.getBoundingClientRect())));transitionDuration=N("0ms");constructor(e,i){this.context=e,this.descendantsManager=i}ngAfterViewInit(){setTimeout(()=>{this.transitionDuration.set(this.context.animateBar()?"161ms":"0ms")},10)}static \u0275fac=function(i){return new(i||t)(h(qo),h(Ht))};static \u0275dir=Y({type:t,selectors:[["","q-tab-vertical-bar",""]],hostVars:1,hostBindings:function(i,o){i&2&&W("data-test-id","tab-bar")}})}return t})(),MI=(()=>{class t{elementRef;descendantsManager;context;idService;idAttr;class=H();disabled=H(!1,{transform:L});dismissable=H(void 0,{transform:L});dismissAriaLabel=H("Close Tab");endIcon=H();hideSeparator=H(!1,{transform:L});id=H();readonly=H(!1,{transform:L});role=H("tab");startIcon=H();hostAriaSelected=P(()=>this.index()===this.context.index.get());hostId=P(()=>{let e=this.index(),i=this.id(),o=this.idService.useId("q-tab",i,this.idAttr);return Ee(()=>{e>-1&&this.context.tabIds.update(r=>K(k({},r),{[e]:o}))}),o});hostTabIndex=P(()=>{let e=this.index();return this.context.isSelected(e)?0:-1});startIconContent=Wa(ue,{read:ue});endIconContent=Wa(ue,{read:ue});hostClass=P(()=>Jc.root(this.disabled(),this.isSelected(),this.context.accent(),this.context.orientation(),this.context.size(),this.class()));hostStyle=Ft("style.margin-right.px",P(()=>{let e=this.context.size();if(!this.showSeparator())return 0;switch(e){case"l":return 24;case"m":return 20;case"s":return 16}}));onFocus(e){if(this.disabled())return;this.context.focusedIndex.set(this.index()),!this.context.manual()&&this.context.index.set(this.index(),{event:e,reason:"select"})}onClick(e){this.context.manual()&&this.context.index.set(this.index(),{event:e,reason:"select"})}classes=xp(Jc);isDismissable=P(()=>{let e=this.dismissable(),i=this.context.dismissable();return sa(e)?e:i});isSelected=P(()=>{let e=this.context.index.get(),i=this.index();return e===i});showSeparator=P(()=>{let e=this.hideSeparator(),i=this.context.orientation(),o=this.context.accent(),r=this.index();return!e&&Fo.getShowTabSeparator(i,o,r===this.descendantsManager.last()?.index,!1,!0)});index=P(()=>(this.descendantsManager.subscribe(),this.descendantsManager.indexOf(this.element)));constructor(e,i,o,r,s){this.elementRef=e,this.descendantsManager=i,this.context=o,this.idService=r,this.idAttr=s}ngOnChanges(e){e.disabled&&this.disabled()&&this.index()>-1}ngAfterViewInit(){setTimeout(()=>this.descendantsManager.emit())}ngOnDestroy(){this.destroyTab()}get element(){return this.elementRef.nativeElement}onDismissMouseDown(e){e.stopPropagation(),e.preventDefault()}onTabDismissed(e){this.context.onTabDismissed(e,this.index())}destroyTab(){let e=this.index(),i=this.descendantsManager.values().findIndex(r=>r.node?.getAttribute("aria-selected")==="true");if(this.descendantsManager.item(i+1)?.disabled){let r=this.descendantsManager.prevEnabled(e,!1)?.index,s=(this.descendantsManager.nextEnabled(e,!1)?.index??-1)-1;this.context.index.set(r??s??-1,{reason:"reset"})}else if(e===this.descendantsManager.count()-1&&i===e){let r=this.descendantsManager.firstEnabled();this.context.index.set(r?.index??-1,{reason:"reset"})}}static \u0275fac=function(i){return new(i||t)(h(J),h(Ht),h(qo),h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["","q-tab",""]],contentQueries:function(i,o,r){i&1&&(hr(r,o.startIconContent,ue,5,ue),hr(r,o.endIconContent,ue,5,ue)),i&2&&bi(2)},hostVars:7,hostBindings:function(i,o){i&1&&U("focus",function(s){return o.onFocus(s)})("click",function(s){return o.onClick(s)}),i&2&&W("aria-selected",o.hostAriaSelected())("class",o.hostClass())("disabled",o.disabled()||null)("id",o.hostId())("inert",o.disabled()||null)("role",o.role())("tabIndex",o.hostTabIndex())},inputs:{class:[1,"class"],disabled:[1,"disabled"],dismissable:[1,"dismissable"],dismissAriaLabel:[1,"dismissAriaLabel"],endIcon:[1,"endIcon"],hideSeparator:[1,"hideSeparator"],id:[1,"id"],readonly:[1,"readonly"],role:[1,"role"],startIcon:[1,"startIcon"]},features:[X],attrs:GN,ngContentSelectors:xt,decls:4,vars:3,consts:[[3,"class","icon","size"],["q-tab-dismiss-action",""],[3,"icon","size"],["q-tab-dismiss-action","",3,"click","mousedown"]],template:function(i,o){i&1&&(qe(),M(0,ZN,1,4,"q-icon-or-template",0),Te(1),M(2,KN,1,4,"q-icon-or-template",0)(3,XN,1,1,"div",1)),i&2&&(w(o.startIcon()?0:-1),m(2),w(o.endIcon()?2:-1),m(),w(o.isDismissable()?3:-1))},dependencies:[Vo,_V],encapsulation:2})}return t})(),wte=(()=>{class t{context;descendantsManager;elementRef;class=H();role=H("tablist");hostClass=P(()=>ca.nav(this.context.orientation(),this.context.fullHeight(),this.context.alignment(),this.class()));onKeyDown(e){let i=this.context.orientation()==="vertical",o=this.context.orientation()==="horizontal",s={ArrowDown:()=>i&&this.goToNextTab(),ArrowLeft:()=>o&&this.goToPreviousTab(),ArrowRight:()=>o&&this.goToNextTab(),ArrowUp:()=>i&&this.goToPreviousTab(),End:()=>this.goToLastTab(),Home:()=>this.goToFirstTab()}[e.key];s&&(e.preventDefault(),s(e))}tabs=m1(MI,{descendants:!0});constructor(e,i,o){this.context=e,this.descendantsManager=i,this.elementRef=o,Rt(()=>{let r=this.tabs();this.descendantsManager.count()&&this.descendantsManager.destroy(),r.forEach(s=>{this.descendantsManager.register(s.element),s.disabled()&&this.descendantsManager.disableItem(s.element)}),this.checkIndex()})}get element(){return this.elementRef.nativeElement}goToNextTab(){this.descendantsManager.nextEnabled(this.context.focusedIndex())?.node?.focus()}goToPreviousTab(){this.descendantsManager.prevEnabled(this.context.focusedIndex())?.node?.focus()}goToFirstTab(){this.descendantsManager.firstEnabled()?.node?.focus()}goToLastTab(){this.descendantsManager.lastEnabled()?.node?.focus()}checkIndex(){let e=this.context.index.get()??-1;if(e<0)return;let i=this.tabs();i.length<=e&&this.context.index.set(i.length-1,{reason:"reset"}),this.descendantsManager.item(e)?.disabled&&this.context.index.set(this.descendantsManager.firstEnabled()?.index??-1,{reason:"reset"})}static \u0275fac=function(i){return new(i||t)(h(qo),h(Ht),h(J))};static \u0275cmp=Q({type:t,selectors:[["","q-tab-list",""]],contentQueries:function(i,o,r){i&1&&hr(r,o.tabs,MI,5),i&2&&bi()},hostVars:2,hostBindings:function(i,o){i&1&&U("keydown",function(s){return o.onKeyDown(s)}),i&2&&W("class",o.hostClass())("role",o.role())},inputs:{class:[1,"class"],role:[1,"role"]},features:[Ie([Ht])],attrs:YN,ngContentSelectors:xt,decls:3,vars:2,consts:[["q-tab-vertical-bar",""],["q-tab-horizontal-bar",""]],template:function(i,o){i&1&&(qe(),M(0,JN,1,0,"div",0),Te(1),M(2,eq,1,0,"div",1)),i&2&&(w(o.context.orientation()==="vertical"?0:-1),m(2),w(o.context.orientation()==="horizontal"?2:-1))},dependencies:[MV,wV],encapsulation:2})}return t})(),II=(()=>{class t{elementRef;descendantsManager;context;idService;idAttr;class=H();id=H();role=H("tabpanel");hostClass=P(()=>{let e=this.context.isSelected(this.index());return Jc.content(this.context.fullWidth(),!e,this.class())});hostAriaLabelledby=P(()=>this.context.tabIds()[this.index()]??null);hostId=P(()=>{let e=this.index(),i=this.idService.useId("q-tab-panel",this.id(),this.idAttr);return Ee(()=>{e>-1&&this.context.panelIds.update(o=>K(k({},o),{[e]:i}))}),i});onKeyDown(e){e.shiftKey&&e.currentTarget===this.element&&e.target===this.element?.firstChild&&(e.preventDefault(),e.stopPropagation(),this.descendantsManager.item(this.context.index.get())?.node?.focus?.())}hasBeenSelected=N(!1);index=P(()=>(this.descendantsManager.subscribe(),this.descendantsManager.indexOf(this.element)));shouldRenderChildren=P(()=>SM({isSelected:this.context.isSelected(this.index()),mode:this.context.lazyMode(),wasSelected:this.hasBeenSelected()}));constructor(e,i,o,r,s){this.elementRef=e,this.descendantsManager=i,this.context=o,this.idService=r,this.idAttr=s,Rt(()=>{this.context.isSelected(this.index())&&Ee(()=>{this.hasBeenSelected.set(!0)})})}get element(){return this.elementRef.nativeElement}static \u0275fac=function(i){return new(i||t)(h(J),h(Ht),h(qo),h(ft),pt("id"))};static \u0275cmp=Q({type:t,selectors:[["","q-tab-panel",""]],hostVars:5,hostBindings:function(i,o){i&1&&U("keydown.tab",function(s){return o.onKeyDown(s)}),i&2&&W("aria-labelledby",o.hostAriaLabelledby())("class",o.hostClass())("id",o.hostId())("role",o.role())("tabindex",0)},inputs:{class:[1,"class"],id:[1,"id"],role:[1,"role"]},attrs:tq,ngContentSelectors:xt,decls:1,vars:1,template:function(i,o){i&1&&(qe(),M(0,nq,1,0)),i&2&&w(o.shouldRenderChildren()?0:-1)},encapsulation:2})}return t})(),Mte=(()=>{class t{context;descendantsManager;class=H();hostClass=Ft("attr.class",P(()=>ca.panel(this.context.orientation(),this.context.alignment(),this.context.fullWidth(),this.class())));panels=m1(II,{descendants:!0});constructor(e,i){this.context=e,this.descendantsManager=i,Rt(()=>{let o=this.panels();this.descendantsManager.count()&&this.descendantsManager.destroy(),o.forEach(r=>{this.descendantsManager.register(r.element)})})}static \u0275fac=function(i){return new(i||t)(h(qo),h(Ht))};static \u0275dir=Y({type:t,selectors:[["","q-tab-panels",""]],contentQueries:function(i,o,r){i&1&&hr(r,o.panels,II,5),i&2&&bi()},inputs:{class:[1,"class"]},features:[Ie([Ht])]})}return t})(),J2=class{onChange;name;state;get controlled(){return this._controlled.asReadonly()}_controlled=N(!1);value=N(void 0);controlledValue=N(void 0);initialized=!1;constructor(n,e,i,o,r){this.onChange=i,this.name=o,this.state=r,this._controlled.set(sa(n)),this.controlledValue.set(n),this.value.set(e)}set(n,e){this._controlled()||Ee(()=>this.value.set(n)),this.onChange.emit(K(k({},e),{index:n}))}get=P(()=>{let n=this.controlledValue(),e=this.value();return n??e});emitWarning(){console.error([`QUI: A component is changing the ${this.controlled()?"":"un"}controlled ${this.state} state of ${this.name} to be ${this.controlled()?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${this.name} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`."].join(`
19
+ `))}handleOnChange(n){if(!n)return;!this.controlled()&&sa(n.currentValue)&&!n.isFirstChange()&&this.emitWarning();let e=n.currentValue;this.controlledValue.set(e),this.value.set(e)}},Ite=(()=>{class t{context;idService;idAttr;accent=H("primary");activeIndex=H();alignment=H("start");animateBar=H(!0,{transform:L});class=H();closedTabs=H();defaultIndex=H();fullHeight=H(!1,{transform:L});fullWidth=H(!0,{transform:L});id=H();lazyMode=H("off");manual=H(!1,{transform:L});orientation=H("horizontal");size=H("m");activeIndexChanged=new F;tabDismissed=new F;hostClass=Ft("attr.class",P(()=>ca.root(this.context.orientation(),this.context.fullHeight(),this.context.alignment(),this.context.fullWidth(),this.class())));initialized=!1;constructor(e,i,o){this.context=e,this.idService=i,this.idAttr=o}ngOnInit(){this.initialized||(this.initControlledState(),this.initialized=!0)}ngOnChanges(e){this.initialized||(this.initControlledState(),this.initialized=!0),e.accent&&this.context.accent.set(this.accent()),e.activeIndex&&this.context.index.handleOnChange(e.activeIndex),e.alignment&&this.context.alignment.set(this.alignment()),e.animateBar&&this.context.animateBar.set(this.animateBar()),e.fullHeight&&this.context.fullHeight.set(this.fullHeight()),e.fullWidth&&this.context.fullWidth.set(this.fullWidth()),e.id&&this.context.id.set(this.idService.useId("q-tabs",this.id(),this.idAttr)),e.lazyMode&&this.context.lazyMode.set(this.lazyMode()),e.manual&&this.context.manual.set(this.manual()),e.orientation&&this.context.orientation.set(this.orientation()),e.size&&this.context.size.set(this.size())}initControlledState(){this.context.index=new J2(this.activeIndex(),this.defaultIndex()??0,this.activeIndexChanged,"q-tabs","index"),this.context.onTabDismissed=(e,i)=>{this.tabDismissed.emit({event:e,index:i})},this.context.focusedIndex.set(this.defaultIndex()??this.activeIndex()??0)}static \u0275fac=function(i){return new(i||t)(h(qo),h(ft),pt("id"))};static \u0275dir=Y({type:t,selectors:[["","q-tabs",""]],inputs:{accent:[1,"accent"],activeIndex:[1,"activeIndex"],alignment:[1,"alignment"],animateBar:[1,"animateBar"],class:[1,"class"],closedTabs:[1,"closedTabs"],defaultIndex:[1,"defaultIndex"],fullHeight:[1,"fullHeight"],fullWidth:[1,"fullWidth"],id:[1,"id"],lazyMode:[1,"lazyMode"],manual:[1,"manual"],orientation:[1,"orientation"],size:[1,"size"]},outputs:{activeIndexChanged:"activeIndexChanged",tabDismissed:"tabDismissed"},features:[Ie([qo]),X]})}return t})();var Ste=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=B({type:t});static \u0275inj=z({imports:[Ce,Ke,ti,al]})}return t})();var jr=function(t){return t.QAIRT_VIZ_THEME="qairt-viz-theme",t.PREFER_DARK_MODE_MEDIA_QUERY="(prefers-color-scheme: dark)",t}(jr||{}),je=function(t){return t.DARK="dark",t.LIGHT="light",t.SYSTEM="system",t}(je||{});var h4=(()=>{class t{constructor(e){this.darkModeService=e,this._theme$=new Je(je.DARK),this.handleThemeChange=o=>this.setSystemMode(o),this.initializeApplicationTheme(),window.matchMedia(jr.PREFER_DARK_MODE_MEDIA_QUERY).addEventListener("change",this.handleThemeChange),this.theme$=this._theme$.asObservable()}initializeApplicationTheme(){let e=this.getLocalStorageTheme();e||(this.setLocalStorageTheme(je.SYSTEM),e=je.SYSTEM),this.currentTheme=e;let i;e===je.SYSTEM?i=this.getSystemDarkOrLightMode():i=e,this.applyTheme(i),this._theme$.next(i)}setSystemMode(e){if(this.currentTheme===je.SYSTEM){e.matches?this.darkModeService.enable():this.darkModeService.disable();let i=e.matches?je.DARK:je.LIGHT;this._theme$.next(i)}}applyTheme(e){e===je.DARK?this.darkModeService.enable():this.darkModeService.disable()}changeTheme(e){let i;e===je.SYSTEM?i=this.getSystemDarkOrLightMode():i=e===je.DARK?je.DARK:je.LIGHT,this.applyTheme(i),this.currentTheme=e,this._theme$.next(i),this.setLocalStorageTheme(e)}getSystemDarkOrLightMode(){return window.matchMedia?window.matchMedia(jr.PREFER_DARK_MODE_MEDIA_QUERY).matches?je.DARK:je.LIGHT:je.DARK}setLocalStorageTheme(e){localStorage.setItem(jr.QAIRT_VIZ_THEME,JSON.stringify(e))}getLocalStorageTheme(){return JSON.parse(localStorage.getItem(jr.QAIRT_VIZ_THEME))}ngOnDestroy(){window.matchMedia(jr.PREFER_DARK_MODE_MEDIA_QUERY).removeEventListener("change",this.handleThemeChange,!0)}static{this.\u0275fac=function(i){return new(i||t)(D(OI))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var p4={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};var f4=([t,n,e])=>{let i=document.createElementNS("http://www.w3.org/2000/svg",t);return Object.keys(n).forEach(o=>{i.setAttribute(o,String(n[o]))}),e?.length&&e.forEach(o=>{let r=f4(o);i.appendChild(r)}),i},SV=(t,n={})=>{let e="svg",i=k(k({},p4),n);return f4([e,i,t])};var DV=[["path",{d:"M15 3h6v6"}],["path",{d:"m21 3-7 7"}],["path",{d:"m3 21 7-7"}],["path",{d:"M9 21H3v-6"}]];var TV=[["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]];var dg=[["path",{d:"M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 0 1 1h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-3a1 1 0 0 0-1-1z"}]];var m4=(()=>{class t{constructor(){this.alertCircle=g2,this.alertOctagon=qh,this.alertTriangle=_r,this.alignLeft=F_,this.arrowLeft=j_,this.arrowLeftRight=V_,this.arrowRight=z_,this.arrowDown=q_,this.arrowDownUp=N_,this.arrowUp=H_,this.arrowUpFromLine=B_,this.arrowUpRightSquare=Xw,this.barChart=$_,this.barChart3=Q_,this.box=Z_,this.book=G_,this.bookOpen=W_,this.brainCircuit=K_,this.check=Qi,this.checkCircle2=Y_,this.chevronDown=Mi,this.chevronRight=Bc,this.chevronUp=X_,this.clipboard=tw,this.circle=ew,this.clock3=nw,this.copy=y2,this.cpu=rw,this.database=sw,this.download=aw,this.downloadCloud=iw,this.editIcon=Jw,this.edit2=zh,this.ellipsisVertical=Fh,this.expand=cw,this.filePlus2=hw,this.fileCheck2=k2,this.files=mw,this.fileBarChart=lw,this.fileCheckIcon=k2,this.fileClock=dw,this.fileDiff=uw,this.fileSearch=pw,this.fileText=fw,this.folder=kw,this.folderArchive=gw,this.folderDown=yw,this.folderOpen=vw,this.gitFork=xw,this.helpCircle=J_,this.home=Cw,this.import=_w,this.info=Hc,this.layers=Mw,this.layers2=ww,this.list=Sw,this.locate=Tw,this.locateFixed=Dw,this.login=Ew,this.logout=Aw,this.lucideGauge=bw,this.minus=Nh,this.maximize2=Lw,this.minimize2=Rw,this.moreVertical=Fh,this.moon=Ow,this.moveDiagonal=Pw,this.network=Fw,this.packageCheck=Nw,this.pen=zh,this.play=qw,this.plus=Vw,this.refreshCcw=jw,this.scaling=zw,this.scrollText=Bw,this.search=Hw,this.server=Qw,this.serverOff=Uw,this.settings=Ww,this.shrink=Gw,this.slider=Zw,this.settings2=$w,this.sidebarClose=Vh,this.sidebarOpen=jh,this.square=eM,this.squareArrowOutDownLeftIcon=Kw,this.squareDashedMousePointer=Yw,this.squaresUnite=dg,this.sun=nM,this.sunMoon=tM,this.trash=iM,this.upload=oM,this.uploadCloud=ow,this.user=rM,this.x=Ii,this.zoomIn=sM,this.zoomOut=aM}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var AV=["menu"],Xte=(()=>{class t{constructor(e,i,o,r){this.fb=e,this.translateService=i,this.customThemeService=o,this.iconService=r,this.destroy$=new te,this.selectedTheme=this.fb.group({themes:[je.SYSTEM,Os.required]}),this.menuItems=[]}ngOnInit(){this.themeIcon=this.getThemeIcon(this.customThemeService.currentTheme),this.menuItems=this.getThemeMenuItems(this.customThemeService.currentTheme,this.iconService.check)}toggleThemeMenu(){this.menu.toggle()}switchTheme(e){e!==this.customThemeService.currentTheme&&(this.customThemeService.changeTheme(e),this.menuItems=this.getThemeMenuItems(e,this.iconService.check),this.themeIcon=this.getThemeIcon(this.customThemeService.currentTheme))}getThemeIcon(e){switch(e){case je.DARK:return this.iconService.moon;case je.LIGHT:return this.iconService.sun;case je.SYSTEM:return this.iconService.sunMoon}}getThemeMenuItems(e,i){return[{label:this.translateService.instant("THEMES.DARK"),command:()=>this.switchTheme(je.DARK),endIcon:e===je.DARK?i:void 0},{label:this.translateService.instant("THEMES.LIGHT"),command:()=>this.switchTheme(je.LIGHT),endIcon:e===je.LIGHT?i:void 0},{label:this.translateService.instant("THEMES.SYSTEM"),command:()=>this.switchTheme(je.SYSTEM),endIcon:e===je.SYSTEM?i:void 0}]}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(h(TC),h(Ui),h(h4),h(m4))}}static{this.\u0275cmp=Q({type:t,selectors:[["app-theme-toggle-icon"]],viewQuery:function(i,o){if(i&1&&Fe(AV,5),i&2){let r;ye(r=ve())&&(o.menu=r.first)}},standalone:!0,features:[it],decls:3,vars:2,consts:[["menu",""],["appendTo","portal",3,"items"],[3,"click","icon"]],template:function(i,o){if(i&1){let r=fe();q(0,"q-menu",1,0),C(2,"q-icon-button",2),U("click",function(a){V(r);let c=Ge(1);return j(c.toggle(a))}),b()}i&2&&(v("items",o.menuItems),m(2),v("icon",o.themeIcon))},dependencies:[To,mc,u4,O_,Ke,$I,ti,ga,Mp,wp],styles:[".theme-option-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}"]})}}return t})();var Ip=class{constructor(n,e){this._file=n,this._manualPath=e}get file(){return this._file}get path(){let n=this._file;return n.path&&n.path!==""?n.path:this._manualPath}get name(){return this._file.name}get type(){return this._file.type}get size(){return this._file.size}get lastModified(){return this._file.lastModified}get stream(){return this._file.stream.bind(this._file)}get webkitRelativePath(){return this._file.webkitRelativePath}get arrayBuffer(){return this._file.arrayBuffer.bind(this._file)}get text(){return this._file.text.bind(this._file)}get bytes(){return this._file.arrayBuffer.bind(this._file)}slice(n,e,i){return this._file.slice(n,e,i)}};var ug=function(t){return t.NEUTRAL="informative",t.INFORMATION="information",t.POSITIVE="positive",t.WARNING="warning",t.ERROR="negative",t}(ug||{});var ine=(()=>{class t{constructor(e,i,o){this.translateService=e,this.notificationService=i,this.zone=o,this.isRunningElectron()&&this.on("toast-message",r=>{let{message:s,messageVariables:a,color:c}=r;this.zone.run(()=>{this.notificationService.notify({label:this.translateService.instant(s,a),color:c})})})}isRunningElectron(){return!!(window&&window.electronAPI)}send(e,...i){window.electronAPI.send(e,...i)}sendAndReceive(e,i){return window.electronAPI.sendAndReceive(e,i)}sendAndReceiveWithArgs(e,i,...o){return window.electronAPI.sendAndReceive(e,i,...o)}on(e,i){window.electronAPI.on(e,i)}registerEventHandler(e,i,o=!1){if(!o&&this.events.includes(e))throw new Error(`Unable to register handler name ${e} - it has already been registered`);this.on(e,i)}removeEventHandler(e,i){window.electronAPI.removeListener(e,i)}get events(){return window.electronAPI.getEventNames()}createStreamingFileFromPath(e){return lt(this,null,function*(){try{let{filename:i,fileType:o,lastModified:r,size:s}=yield window.electronAPI.getFileMetadata(e),a=10*1024*1024*10,c=0,l=[];for(;c<s;){let u=yield window.electronAPI.readFileChunk(e,c,a);l.push(new Uint8Array(u)),c+=u.byteLength}let d=new Blob(l,{type:o});return new Ip(new File([d],i,{type:o,lastModified:r}),e)}catch(i){throw this.notificationService.notify({color:ug.ERROR,label:this.translateService.instant("UNABLE_TO_OPEN",{filePath:e})}),i}})}removeTemporaryFile(e){return lt(this,null,function*(){return yield window.electronAPI.removeTemporaryFile(e)})}runPythonFile(e,...i){return lt(this,null,function*(){if(!this.isRunningElectron())throw new Error(`Cannot run Python script ${e} - Electron is not currently running!`);return yield window.electronAPI.runPythonFile(e,i)})}static{this.\u0275fac=function(i){return new(i||t)(D(Ui),D(fl),D(ie))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sne=(()=>{class t{constructor(e){this.translate=e,this.changeLanguage=i=>this.translate.use(i),this.instant=(i,o)=>this.translate.instant(i,o)}get translateService(){return this.translate}joinAndTranslate(e){return this.translate.instant(e.map(i=>i.toUpperCase()).join("."))}static{this.\u0275fac=function(i){return new(i||t)(D(Ui))}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{Oe as a,le as b,te as c,Je as d,Zr as e,ri as f,Gp as g,qt as h,Ve as i,G as j,Zt as k,q4 as l,ne as m,Qo as n,$o as o,_a as p,io as q,Wo as r,J4 as s,Kp as t,Pe as u,Ai as v,kn as w,et as x,oy as y,so as z,ry as A,Ma as B,Ia as C,Vn as D,st as E,nS as F,Qe as G,ot as H,iS as I,$ as J,at as K,E as L,z as M,O as N,D as O,S as P,Q,B as R,Y as S,$S as T,At as U,X as V,V as W,j as X,Qm as Y,Dt as Z,pt as _,Be as $,F as aa,ie as ba,su as ca,H as da,J as ea,au as fa,eG as ga,tG as ha,m as ia,h as ja,ue as ka,fs as la,mo as ma,Ue as na,Bt as oa,Un as pa,N as qa,we as ra,rT as sa,he as ta,M as ua,yT as va,en as wa,rG as xa,sG as ya,W as za,v as Aa,We as Ba,nn as Ca,x as Da,w as Ea,k1 as Fa,a6 as Ga,wn as Ha,Mn as Ia,C as Ja,b as Ka,q as La,Ka as Ma,Xa as Na,hn as Oa,fe as Pa,wu as Qa,U as Ra,p as Sa,qe as Ta,Te as Ua,b6 as Va,Vb as Wa,pn as Xa,Fe as Ya,ye as Za,ve as _a,Ge as $a,Ae as ab,Mu as bb,Le as cb,_6 as db,w6 as eb,x1 as fb,jb as gb,C1 as hb,Ie as ib,it as jb,E6 as kb,Ya as lb,_1 as mb,aG as nb,cG as ob,lG as pb,dG as qb,uG as rb,Qn as sb,Eu as tb,Vi as ub,xe as vb,Ou as wb,L as xb,fn as yb,P as zb,Ee as Ab,Rt as Bb,hG as Cb,Me as Db,xo as Eb,sx as Fb,ax as Gb,aE as Hb,cE as Ib,on as Jb,Ze as Kb,RG as Lb,OG as Mb,Ce as Nb,_i as Ob,r8 as Pb,J1 as Qb,kZ as Rb,$n as Sb,yt as Tb,Is as Ub,Dx as Vb,Tx as Wb,c8 as Xb,Mo as Yb,Ex as Zb,Ts as _b,Es as $b,eC as ac,UK as bc,Xu as cc,QK as dc,tC as ec,NA as fc,yc as gc,Fs as hc,w0 as ic,LC as jc,gc as kc,NX as lc,$u as mc,u8 as nc,Px as oc,s0 as pc,jx as qc,a0 as rc,c0 as sc,Bx as tc,cK as uc,ju as vc,xE as wc,WG as xc,Gn as yc,Kx as zc,FK as Ac,kr as Bc,qX as Cc,VX as Dc,vt as Ec,RC as Fc,OC as Gc,jX as Hc,kx as Ic,mZ as Jc,gZ as Kc,Os as Lc,y0 as Mc,lX as Nc,ih as Oc,Rs as Pc,ph as Qc,uX as Rc,SC as Sc,LA as Tc,OA as Uc,To as Vc,mc as Wc,vX as Xc,M0 as Yc,JA as Zc,eL as _c,cY as $c,Us as ad,yn as bd,Ao as cd,EL as dd,vn as ed,Rc as fd,IY as gd,SY as hd,DY as id,Rh as jd,Zs as kd,Ui as ld,VY as md,O_ as nd,N_ as od,q_ as pd,z_ as qd,H_ as rd,WY as sd,$_ as td,Z_ as ud,K_ as vd,Qi as wd,Mi as xd,Bc as yd,X_ as zd,GY as Ad,ZY as Bd,Y_ as Cd,J_ as Dd,ow as Ed,y2 as Fd,aw as Gd,Fh as Hd,KY as Id,XY as Jd,YY as Kd,JY as Ld,hw as Md,eJ as Nd,mw as Od,kw as Pd,bw as Qd,tJ as Rd,xw as Sd,Cw as Td,_w as Ud,Hc as Vd,Mw as Wd,Sw as Xd,Dw as Yd,Tw as Zd,Lw as _d,Rw as $d,Nh as ae,Fw as be,Vh as ce,jh as de,zh as ee,Vw as fe,zw as ge,Hw as he,Uw as ie,Qw as je,$w as ke,eM as le,nJ as me,iM as ne,_r as oe,Ii as pe,sM as qe,aM as re,iJ as se,E2 as te,aJ as ue,aR as ve,cR as we,OI as xe,Et as ye,Dq as ze,Tq as Ae,Ke as Be,Yee as Ce,Jee as De,Pq as Ee,og as Fe,ga as Ge,BI as He,ti as Ie,ag as Je,ete as Ke,hl as Le,tte as Me,nte as Ne,$I as Oe,ite as Pe,$q as Qe,Kq as Re,Xq as Se,Yq as Te,t4 as Ue,Jq as Ve,cg as We,wp as Xe,Mp as Ye,rte as Ze,ste as _e,ate as $e,cte as af,lte as bf,dte as cf,fl as df,hV as ef,mV as ff,a4 as gf,c4 as hf,wI as if,yV as jf,vV as kf,l4 as lf,ute as mf,hte as nf,pte as of,fte as pf,mte as qf,gte as rf,yte as sf,vte as tf,kte as uf,u4 as vf,xte as wf,Cte as xf,CV as yf,_te as zf,MI as Af,wte as Bf,II as Cf,Mte as Df,Ite as Ef,Ste as Ff,ug as Gf,ine as Hf,sne as If,SV as Jf,DV as Kf,TV as Lf,m4 as Mf,Xte as Nf};