@rr0/ufoathome 0.200.0 → 0.202.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/dist-embed-interview/InterviewMessages_en-BrnxG2rl.js +3 -0
  2. package/dist-embed-interview/InterviewMessages_es-Dxfjqrte.js +3 -0
  3. package/dist-embed-interview/InterviewMessages_fr-DIA-1qu8.js +3 -0
  4. package/dist-embed-interview/InterviewMessages_it-CYBEIKX-.js +3 -0
  5. package/dist-embed-interview/rr0-interview.mjs +10 -6
  6. package/dist-embed-scene/{AirshipEditor-B0RloPOv.js → AirshipEditor-BnRmKeVs.js} +1 -1
  7. package/dist-embed-scene/{AirshipFlight-D6tC26P5.js → AirshipFlight-C9DSPGwk.js} +1 -1
  8. package/dist-embed-scene/Aurora-BmVyTP6i.js +1 -0
  9. package/dist-embed-scene/AuroraEditor-CN6BQMUW.js +8 -0
  10. package/dist-embed-scene/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  11. package/dist-embed-scene/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  12. package/dist-embed-scene/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  13. package/dist-embed-scene/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  14. package/dist-embed-scene/AuroraKindMessages_en-D_W4giJa.js +1 -0
  15. package/dist-embed-scene/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  16. package/dist-embed-scene/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  17. package/dist-embed-scene/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  18. package/dist-embed-scene/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  19. package/dist-embed-scene/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  20. package/dist-embed-scene/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  21. package/dist-embed-scene/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  22. package/dist-embed-scene/AuroraSimulation-Dh4kZW1x.js +157 -0
  23. package/dist-embed-scene/{BalloonEditor-D1b8pmSn.js → BalloonEditor-BehJs6H-.js} +2 -2
  24. package/dist-embed-scene/{BalloonFlight-D015vbBe.js → BalloonFlight-BYn4diw1.js} +1 -1
  25. package/dist-embed-scene/BeamSystem-DtRwoKHP.js +1 -0
  26. package/dist-embed-scene/{BirdEditor-CxGMe4UD.js → BirdEditor-dOp1sGsz.js} +1 -1
  27. package/dist-embed-scene/{BirdFlock-D2mckZ_l.js → BirdFlock-CfJeXvWu.js} +1 -1
  28. package/dist-embed-scene/{DroneEditor-BNGmR5II.js → DroneEditor-CBoR4fJ_.js} +1 -1
  29. package/dist-embed-scene/{DroneFlight-DKHsNqDw.js → DroneFlight-DSE1OXqh.js} +1 -1
  30. package/dist-embed-scene/{DroneParameters-Bq6XBchK.js → DroneParameters-D3EOg4oe.js} +1 -1
  31. package/dist-embed-scene/{LanternEditor-FU0WHV3j.js → LanternEditor-CbcA7K8y.js} +2 -2
  32. package/dist-embed-scene/ModuleSession-XnOI5Mcr.js +3 -0
  33. package/dist-embed-scene/ModuleThree-BTQgimAj.js +1 -0
  34. package/dist-embed-scene/SearchlightEditor-CogwU9pl.js +8 -0
  35. package/dist-embed-scene/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  36. package/dist-embed-scene/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  37. package/dist-embed-scene/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  38. package/dist-embed-scene/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  39. package/dist-embed-scene/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  40. package/dist-embed-scene/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  41. package/dist-embed-scene/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  42. package/dist-embed-scene/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  43. package/dist-embed-scene/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  44. package/dist-embed-scene/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  45. package/dist-embed-scene/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  46. package/dist-embed-scene/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  47. package/dist-embed-scene/SearchlightSystem-CX1_nBkz.js +1 -0
  48. package/dist-embed-scene/{SkyLantern-a9qLkbZo.js → SkyLantern-Dp_B40X0.js} +1 -1
  49. package/dist-embed-scene/rr0-scene.mjs +416 -337
  50. package/dist-embed-scene/sightingSchema-9MogCcUd.js +1 -0
  51. package/dist-embed-sighting/Aurora-DN89D94m.js +1 -0
  52. package/dist-embed-sighting/AuroraEditor-C4tY9hXK.js +8 -0
  53. package/dist-embed-sighting/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  54. package/dist-embed-sighting/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  55. package/dist-embed-sighting/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  56. package/dist-embed-sighting/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  57. package/dist-embed-sighting/AuroraKindMessages_en-D_W4giJa.js +1 -0
  58. package/dist-embed-sighting/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  59. package/dist-embed-sighting/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  60. package/dist-embed-sighting/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  61. package/dist-embed-sighting/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  62. package/dist-embed-sighting/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  63. package/dist-embed-sighting/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  64. package/dist-embed-sighting/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  65. package/dist-embed-sighting/AuroraSimulation-C7LAHgWM.js +157 -0
  66. package/dist-embed-sighting/BeamSystem-CsNwl_vM.js +1 -0
  67. package/dist-embed-sighting/{CaseReportExport-B13vvVvn.js → CaseReportExport-CkWf0HNx.js} +1 -1
  68. package/dist-embed-sighting/{InterviewElement-BduwyUn5.js → InterviewElement-B_ULRy5z.js} +9 -5
  69. package/dist-embed-sighting/InterviewMessages_en-BrnxG2rl.js +3 -0
  70. package/dist-embed-sighting/InterviewMessages_es-Dxfjqrte.js +3 -0
  71. package/dist-embed-sighting/InterviewMessages_fr-DIA-1qu8.js +3 -0
  72. package/dist-embed-sighting/InterviewMessages_it-CYBEIKX-.js +3 -0
  73. package/dist-embed-sighting/ModuleSession-ChJsGuTn.js +3 -0
  74. package/dist-embed-sighting/ModuleThree-whEZoXYF.js +1 -0
  75. package/dist-embed-sighting/SearchlightEditor-By5Z3ef7.js +8 -0
  76. package/dist-embed-sighting/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  77. package/dist-embed-sighting/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  78. package/dist-embed-sighting/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  79. package/dist-embed-sighting/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  80. package/dist-embed-sighting/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  81. package/dist-embed-sighting/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  82. package/dist-embed-sighting/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  83. package/dist-embed-sighting/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  84. package/dist-embed-sighting/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  85. package/dist-embed-sighting/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  86. package/dist-embed-sighting/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  87. package/dist-embed-sighting/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  88. package/dist-embed-sighting/SearchlightSystem-B2-MzG4x.js +1 -0
  89. package/dist-embed-sighting/{SightingMessages_en-sch1T1ki.js → SightingMessages_en-D3YVhgUj.js} +1 -1
  90. package/dist-embed-sighting/{SightingMessages_es-DemDEDtF.js → SightingMessages_es-ME6FeTp-.js} +1 -1
  91. package/dist-embed-sighting/{SightingMessages_fr-DskVkEj0.js → SightingMessages_fr-BgXYuIq4.js} +1 -1
  92. package/dist-embed-sighting/{SightingMessages_it-CrbYpdv8.js → SightingMessages_it-DcE90eAl.js} +1 -1
  93. package/dist-embed-sighting/rr0-sighting.mjs +431 -352
  94. package/dist-embed-sighting/sightingSchema-9MogCcUd.js +1 -0
  95. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BqEnqRP0.js → AdsbLolArchiveProvider-Bz1OjSjY.js} +1 -1
  96. package/dist-embed-sighting-editor/AirshipEditor-BlJXyxlr.js +16 -0
  97. package/dist-embed-sighting-editor/{AirshipFlight-Bh7J0sWg.js → AirshipFlight-Cx40Y8JT.js} +1 -1
  98. package/dist-embed-sighting-editor/Aurora-Ldk66p1A.js +1 -0
  99. package/dist-embed-sighting-editor/AuroraEditor-CGSomAFk.js +8 -0
  100. package/dist-embed-sighting-editor/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  101. package/dist-embed-sighting-editor/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  102. package/dist-embed-sighting-editor/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  103. package/dist-embed-sighting-editor/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  104. package/dist-embed-sighting-editor/AuroraKindMessages_en-D_W4giJa.js +1 -0
  105. package/dist-embed-sighting-editor/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  106. package/dist-embed-sighting-editor/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  107. package/dist-embed-sighting-editor/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  108. package/dist-embed-sighting-editor/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  109. package/dist-embed-sighting-editor/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  110. package/dist-embed-sighting-editor/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  111. package/dist-embed-sighting-editor/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  112. package/dist-embed-sighting-editor/AuroraSimulation-vKcv2Hue.js +157 -0
  113. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-BNfSwq_l.js → BallesterGuaspAssessor-Bylahnc2.js} +1 -1
  114. package/dist-embed-sighting-editor/BalloonEditor-CgO4LaWn.js +24 -0
  115. package/dist-embed-sighting-editor/{BalloonFlight-DqwGZzum.js → BalloonFlight-hLr_4TFU.js} +1 -1
  116. package/dist-embed-sighting-editor/{BeamEditor-C9VQ2YBN.js → BeamEditor-B8qreA3j.js} +1 -1
  117. package/dist-embed-sighting-editor/BeamSystem-D0hrju5J.js +1 -0
  118. package/dist-embed-sighting-editor/BirdEditor-BNzrfSqX.js +16 -0
  119. package/dist-embed-sighting-editor/{BirdFlock-TI63ZAKZ.js → BirdFlock-iSovVEZd.js} +1 -1
  120. package/dist-embed-sighting-editor/{BodyEditor-COLTBHzX.js → BodyEditor-Bd_pKafG.js} +2 -2
  121. package/dist-embed-sighting-editor/{CaseElement-D_ItKhFD.js → CaseElement-DPlro-7S.js} +3 -3
  122. package/dist-embed-sighting-editor/{CaseReportExport-BSLhYJJA.js → CaseReportExport-C1g5C8hi.js} +3 -3
  123. package/dist-embed-sighting-editor/{ContrailSystem-C8K88Cwo.js → ContrailSystem-D3tXAg2r.js} +1 -1
  124. package/dist-embed-sighting-editor/{ControlPasses-DNMyuRwb.js → ControlPasses-BMEmppip.js} +1 -1
  125. package/dist-embed-sighting-editor/{CoverageAssessor-p-LX-eEi.js → CoverageAssessor-uzQnTEH8.js} +1 -1
  126. package/dist-embed-sighting-editor/{DroneEditor-v0oaeAUh.js → DroneEditor-BFsArPKi.js} +1 -1
  127. package/dist-embed-sighting-editor/{DroneFlight-BpnBgJ9K.js → DroneFlight-B96pVrY1.js} +1 -1
  128. package/dist-embed-sighting-editor/{DroneParameters-B1oTz3dZ.js → DroneParameters-DW-enQUo.js} +1 -1
  129. package/dist-embed-sighting-editor/{Flightradar24Provider-D5OdIL0L.js → Flightradar24Provider-CBGkjw03.js} +1 -1
  130. package/dist-embed-sighting-editor/GLTFLoader-2Zbfb3kh.js +1 -0
  131. package/dist-embed-sighting-editor/{GenerativeKitMessages-B8L7U7gD.js → GenerativeKitMessages-DmeZ_YZO.js} +1 -1
  132. package/dist-embed-sighting-editor/{GeoExportTexts-DrGdI2OF.js → GeoExportTexts-Cp95Dg-h.js} +1 -1
  133. package/dist-embed-sighting-editor/{GeoJsonExport-BZ-0v8fM.js → GeoJsonExport-CdadOwd2.js} +1 -1
  134. package/dist-embed-sighting-editor/GeographicFigures-Bo9rsT_L.js +1 -0
  135. package/dist-embed-sighting-editor/{HeadlightSystem-DHoSdTng.js → HeadlightSystem-CBmEcC9f.js} +1 -1
  136. package/dist-embed-sighting-editor/{HynekAssessor-ByXW15nZ.js → HynekAssessor-uub2VxTi.js} +1 -1
  137. package/dist-embed-sighting-editor/InterviewEditorElement-_1fa2bG7.js +294 -0
  138. package/dist-embed-sighting-editor/{InterviewElement-B3tm7y49.js → InterviewElement-Ala811KB.js} +6 -2
  139. package/dist-embed-sighting-editor/InterviewMedia-CGVsMdje.js +1 -0
  140. package/dist-embed-sighting-editor/InterviewMessages_en-BrnxG2rl.js +3 -0
  141. package/dist-embed-sighting-editor/InterviewMessages_es-Dxfjqrte.js +3 -0
  142. package/dist-embed-sighting-editor/InterviewMessages_fr-DIA-1qu8.js +3 -0
  143. package/dist-embed-sighting-editor/InterviewMessages_it-CYBEIKX-.js +3 -0
  144. package/dist-embed-sighting-editor/{KmlExport-Bh4eTycx.js → KmlExport-DIxM5Hpx.js} +1 -1
  145. package/dist-embed-sighting-editor/LanternEditor-CjQVFowY.js +24 -0
  146. package/dist-embed-sighting-editor/{LaserBeam-iHLKAi5q.js → LaserBeam-BVc8Mvhr.js} +1 -1
  147. package/dist-embed-sighting-editor/LaunchEditor-Cz8Mzo4a.js +22 -0
  148. package/dist-embed-sighting-editor/{LaunchPlume-BJwW1kU1.js → LaunchPlume-CvBhTPgN.js} +1 -1
  149. package/dist-embed-sighting-editor/LaunchSimulation-CkZIG-3P.js +1 -0
  150. package/dist-embed-sighting-editor/ModelSource-B153oeTu.js +1 -0
  151. package/dist-embed-sighting-editor/{ModelThumbnails-C_8KCF7H.js → ModelThumbnails-BUL_OLFv.js} +1 -1
  152. package/dist-embed-sighting-editor/{ModelViewer-Cy-6IZBY.js → ModelViewer-BzBLcY9s.js} +1 -1
  153. package/dist-embed-sighting-editor/ModuleConformance-Cr6fM28A.js +2 -0
  154. package/dist-embed-sighting-editor/ModuleSession-WA6lqfV6.js +3 -0
  155. package/dist-embed-sighting-editor/ModuleThree-CB_EjTOI.js +1 -0
  156. package/dist-embed-sighting-editor/{ModulesPanelElement-B9R5rI0T.js → ModulesPanelElement-BsRg3mzl.js} +3 -3
  157. package/dist-embed-sighting-editor/{NearestApproach-pefE2Svz.js → NearestApproach-Bnx9Ld5_.js} +1 -1
  158. package/dist-embed-sighting-editor/PictureRegistration-D8fDZm4v.js +1 -0
  159. package/dist-embed-sighting-editor/{PoherAssessor-BEiAV-7m.js → PoherAssessor-CNj_Nyci.js} +1 -1
  160. package/dist-embed-sighting-editor/QuestionnaireFeed-B0j8W4JM.js +1 -0
  161. package/dist-embed-sighting-editor/QuestionnaireForm-lzn9MPr2.js +1 -0
  162. package/dist-embed-sighting-editor/QuestionnaireImport-BmcxlQBq.js +5 -0
  163. package/dist-embed-sighting-editor/QuestionnaireSeal-DpZYUhnf.js +1 -0
  164. package/dist-embed-sighting-editor/RailwaySystem-6bwbv8UB.js +41 -0
  165. package/dist-embed-sighting-editor/ReentryEditor-BWCK2g_s.js +28 -0
  166. package/dist-embed-sighting-editor/{ReentrySimulation-PK2Z7Smw.js → ReentrySimulation-B09JXMu5.js} +1 -1
  167. package/dist-embed-sighting-editor/ReferenceSystem-8QgwbbAG.js +1 -0
  168. package/dist-embed-sighting-editor/{RoadMarkings-BGK7ToZP.js → RoadMarkings-Dl6zVQIx.js} +1 -1
  169. package/dist-embed-sighting-editor/ScenarioReadings-DyMshXS4.js +1 -0
  170. package/dist-embed-sighting-editor/ScenarioSweep-ByqOTfs2.js +1 -0
  171. package/dist-embed-sighting-editor/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  172. package/dist-embed-sighting-editor/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  173. package/dist-embed-sighting-editor/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  174. package/dist-embed-sighting-editor/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  175. package/dist-embed-sighting-editor/{SceneNames_en-9zK_E4jO.js → SceneNames_en-c5zNw0Hi.js} +1 -1
  176. package/dist-embed-sighting-editor/{SceneNames_es-B6FtSh6r.js → SceneNames_es-CDjoBwy_.js} +1 -1
  177. package/dist-embed-sighting-editor/{SceneNames_fr-lUEwaxUk.js → SceneNames_fr-CoZNmFu3.js} +1 -1
  178. package/dist-embed-sighting-editor/{SceneNames_it-ChU8RE2E.js → SceneNames_it-CVEahBpq.js} +1 -1
  179. package/dist-embed-sighting-editor/SearchlightEditor-BpwPOhJ6.js +8 -0
  180. package/dist-embed-sighting-editor/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  181. package/dist-embed-sighting-editor/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  182. package/dist-embed-sighting-editor/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  183. package/dist-embed-sighting-editor/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  184. package/dist-embed-sighting-editor/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  185. package/dist-embed-sighting-editor/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  186. package/dist-embed-sighting-editor/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  187. package/dist-embed-sighting-editor/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  188. package/dist-embed-sighting-editor/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  189. package/dist-embed-sighting-editor/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  190. package/dist-embed-sighting-editor/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  191. package/dist-embed-sighting-editor/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  192. package/dist-embed-sighting-editor/SearchlightSystem-CEG52QDx.js +1 -0
  193. package/dist-embed-sighting-editor/{SightingEditorMessages_en-CtZXoBSS.js → SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  194. package/{dist-embed-ufoathome/SightingEditorMessages_es-CKXlDIja.js → dist-embed-sighting-editor/SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  195. package/dist-embed-sighting-editor/{SightingEditorMessages_fr-DjP6vAKo.js → SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  196. package/{dist-embed-ufoathome/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  197. package/dist-embed-sighting-editor/{SightingElement-BpRRhJzS.js → SightingElement-BQdiez39.js} +4 -4
  198. package/dist-embed-sighting-editor/{SightingFileEditor-B7GimING.js → SightingFileEditor-Du3A9uZm.js} +1 -1
  199. package/dist-embed-sighting-editor/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  200. package/dist-embed-sighting-editor/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  201. package/dist-embed-sighting-editor/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  202. package/dist-embed-sighting-editor/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  203. package/dist-embed-sighting-editor/{SkyLantern-BDpxvmY3.js → SkyLantern-D6bru_e_.js} +1 -1
  204. package/dist-embed-sighting-editor/{TraceSystem-JWQpvSdA.js → TraceSystem-DZMUxSn-.js} +2 -2
  205. package/dist-embed-sighting-editor/{UfoMessages_en-JeMK-39o.js → UfoMessages_en-DdCKc-Ez.js} +1 -1
  206. package/dist-embed-sighting-editor/{VideoButton-Kxg7pF1Y.js → VideoButton-CzJg9lBG.js} +1 -1
  207. package/dist-embed-sighting-editor/{WaterSystem-DwGepfDm.js → WaterSystem-CB5jE7qB.js} +2 -2
  208. package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
  209. package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
  210. package/dist-embed-sighting-editor/caseSchema-BEJTs2Ld.js +1 -0
  211. package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
  212. package/dist-embed-sighting-editor/geipan-qt-2025-B_RUiH8B.js +7 -0
  213. package/dist-embed-sighting-editor/{interviewImport-BlSMFEw_.js → interviewImport-D4P6e28u.js} +1 -1
  214. package/dist-embed-sighting-editor/{interviewJson-CsMHIcZ-.js → interviewJson-BJF9C-Rb.js} +1 -1
  215. package/dist-embed-sighting-editor/interviewSchema-r5bW7skq.js +1 -0
  216. package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
  217. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +573 -467
  218. package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +1 -0
  219. package/dist-embed-sighting-editor/{surroundingsSources-z7680fTA.js → surroundingsSources-CqL7lcmF.js} +1 -1
  220. package/dist-embed-sighting-editor/{trafficRuntime-CvK_m6bC.js → trafficRuntime-Bu3my6S4.js} +2 -2
  221. package/dist-embed-ufoathome/AdsbLolArchiveProvider-KbJPyJ97.js +1 -0
  222. package/dist-embed-ufoathome/AirshipEditor-CBSrQM3J.js +16 -0
  223. package/dist-embed-ufoathome/{AirshipFlight-CX32XrkA.js → AirshipFlight-Dzpw8HRM.js} +1 -1
  224. package/dist-embed-ufoathome/Aurora-C_mCH4JM.js +1 -0
  225. package/dist-embed-ufoathome/AuroraEditor-Dzvgh6e0.js +8 -0
  226. package/dist-embed-ufoathome/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  227. package/dist-embed-ufoathome/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  228. package/dist-embed-ufoathome/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  229. package/dist-embed-ufoathome/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  230. package/dist-embed-ufoathome/AuroraKindMessages_en-D_W4giJa.js +1 -0
  231. package/dist-embed-ufoathome/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  232. package/dist-embed-ufoathome/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  233. package/dist-embed-ufoathome/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  234. package/dist-embed-ufoathome/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  235. package/dist-embed-ufoathome/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  236. package/dist-embed-ufoathome/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  237. package/dist-embed-ufoathome/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  238. package/dist-embed-ufoathome/AuroraSimulation-BRUnHmlp.js +157 -0
  239. package/dist-embed-ufoathome/BallesterGuaspAssessor-DurdUgbG.js +1 -0
  240. package/dist-embed-ufoathome/BalloonEditor-dCIjTsIz.js +24 -0
  241. package/dist-embed-ufoathome/{BalloonFlight-DC31tnhH.js → BalloonFlight-CztT6ddg.js} +1 -1
  242. package/dist-embed-ufoathome/{BeamEditor-WKZhN3Hp.js → BeamEditor-Ccvx7l7x.js} +2 -2
  243. package/dist-embed-ufoathome/BeamSystem-CPM8m17q.js +1 -0
  244. package/dist-embed-ufoathome/BirdEditor-Dk3huwHa.js +16 -0
  245. package/dist-embed-ufoathome/{BodyEditor-uxbNOCFJ.js → BodyEditor-BG--NjnZ.js} +1 -1
  246. package/dist-embed-ufoathome/CaseEditorElement-0J_TCeiq.js +3175 -0
  247. package/dist-embed-ufoathome/{CaseElement-Lil-kZRm.js → CaseElement-CRXPyMMR.js} +3 -3
  248. package/dist-embed-ufoathome/{CaseReportExport-DX7PQi1u.js → CaseReportExport-DKrBXPgZ.js} +3 -3
  249. package/dist-embed-ufoathome/{ColumnResize-DXi_g6cq.js → ColumnResize-DV-byvDt.js} +7 -7
  250. package/dist-embed-ufoathome/ContrailSystem-D2AR5Zgy.js +1 -0
  251. package/dist-embed-ufoathome/ControlPasses-CKvTCqTI.js +29 -0
  252. package/dist-embed-ufoathome/CoverageAssessor-MeOMUjkZ.js +1 -0
  253. package/dist-embed-ufoathome/{DroneEditor-BSYPs6jg.js → DroneEditor-D60uhSHO.js} +1 -1
  254. package/dist-embed-ufoathome/{DroneParameters-O6pYnfX7.js → DroneParameters-CfTAaLCT.js} +1 -1
  255. package/dist-embed-ufoathome/Flightradar24Provider-DxTfswSh.js +1 -0
  256. package/dist-embed-ufoathome/GLTFLoader-pi-JKaNa.js +1 -0
  257. package/dist-embed-ufoathome/GeoJsonExport-iyhoKOUU.js +2 -0
  258. package/dist-embed-ufoathome/GeoProjection-DvqDbRIx.js +1 -0
  259. package/dist-embed-ufoathome/{GeographicFigures-D9njFJso.js → GeographicFigures-DBmuFlvH.js} +1 -1
  260. package/dist-embed-ufoathome/HeadlightSystem-D5-78PFB.js +34 -0
  261. package/dist-embed-ufoathome/HynekAssessor-Bda6csgM.js +1 -0
  262. package/dist-embed-ufoathome/InterviewAttachments-BP6Prvdu.js +1 -0
  263. package/dist-embed-ufoathome/InterviewEditorElement-BA060rqJ.js +294 -0
  264. package/dist-embed-ufoathome/{InterviewElement-kdRloxH-.js → InterviewElement-DvqsCA3I.js} +6 -2
  265. package/dist-embed-ufoathome/InterviewMedia-CGVsMdje.js +1 -0
  266. package/dist-embed-ufoathome/InterviewMessages_en-BrnxG2rl.js +3 -0
  267. package/dist-embed-ufoathome/InterviewMessages_es-Dxfjqrte.js +3 -0
  268. package/dist-embed-ufoathome/InterviewMessages_fr-DIA-1qu8.js +3 -0
  269. package/dist-embed-ufoathome/InterviewMessages_it-CYBEIKX-.js +3 -0
  270. package/dist-embed-ufoathome/KmlExport-DEPgRRWe.js +19 -0
  271. package/dist-embed-ufoathome/LanternEditor-BapUZdog.js +24 -0
  272. package/dist-embed-ufoathome/{LaserBeam-6xHkBslk.js → LaserBeam--dquPX_h.js} +1 -1
  273. package/dist-embed-ufoathome/LaunchEditor-D3P0GkLr.js +22 -0
  274. package/dist-embed-ufoathome/{LaunchPlume-BRYgiI9s.js → LaunchPlume-w4l4TR4A.js} +1 -1
  275. package/dist-embed-ufoathome/LaunchSimulation-BpZd-Nov.js +1 -0
  276. package/dist-embed-ufoathome/ModelSource-Csnm3RH_.js +1 -0
  277. package/dist-embed-ufoathome/ModelThumbnails-Cnt2GxTb.js +1 -0
  278. package/dist-embed-ufoathome/ModelViewer-DOfAkPgK.js +1 -0
  279. package/dist-embed-ufoathome/ModuleConformance-DYDAaJJQ.js +2 -0
  280. package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +3 -0
  281. package/dist-embed-ufoathome/ModuleThree-D18Rh2Nj.js +1 -0
  282. package/dist-embed-ufoathome/{ModulesPanelElement-fUfO3DeN.js → ModulesPanelElement-DH1oroWm.js} +3 -3
  283. package/dist-embed-ufoathome/{NearestApproach-MxAHwcUE.js → NearestApproach-DJ98M81-.js} +1 -1
  284. package/dist-embed-ufoathome/{ParameterForm-DcVFxrcO.js → ParameterForm-XbqxCLRn.js} +1 -1
  285. package/dist-embed-ufoathome/PictureRegistration-BJeiCK8A.js +1 -0
  286. package/dist-embed-ufoathome/PoherAssessor-4zSdFnFp.js +1 -0
  287. package/dist-embed-ufoathome/QuestionnaireFeed-W69udpmT.js +1 -0
  288. package/dist-embed-ufoathome/QuestionnaireForm-U78nFPn5.js +1 -0
  289. package/dist-embed-ufoathome/QuestionnaireImport-Q5uHxQwU.js +5 -0
  290. package/dist-embed-ufoathome/QuestionnaireSeal-DpZYUhnf.js +1 -0
  291. package/dist-embed-ufoathome/RailwaySystem-KlBj8mLP.js +41 -0
  292. package/dist-embed-ufoathome/ReentryEditor-DEi9nT0z.js +28 -0
  293. package/dist-embed-ufoathome/ReentrySimulation-CSO1vgro.js +1 -0
  294. package/dist-embed-ufoathome/ReferenceSystem--tiMGm4e.js +1 -0
  295. package/dist-embed-ufoathome/RoadMarkings-DKUNImjj.js +1 -0
  296. package/dist-embed-ufoathome/SaidPosition-OJEYhVKN.js +4 -0
  297. package/dist-embed-ufoathome/ScenarioReadings-Dzdgopl3.js +1 -0
  298. package/dist-embed-ufoathome/ScenarioSweep-CMcleprC.js +1 -0
  299. package/dist-embed-ufoathome/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  300. package/dist-embed-ufoathome/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  301. package/dist-embed-ufoathome/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  302. package/dist-embed-ufoathome/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  303. package/dist-embed-ufoathome/SearchlightEditor--1uL8bTa.js +8 -0
  304. package/dist-embed-ufoathome/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  305. package/dist-embed-ufoathome/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  306. package/dist-embed-ufoathome/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  307. package/dist-embed-ufoathome/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  308. package/dist-embed-ufoathome/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  309. package/dist-embed-ufoathome/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  310. package/dist-embed-ufoathome/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  311. package/dist-embed-ufoathome/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  312. package/dist-embed-ufoathome/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  313. package/dist-embed-ufoathome/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  314. package/dist-embed-ufoathome/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  315. package/dist-embed-ufoathome/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  316. package/dist-embed-ufoathome/SearchlightSystem-7bntVtp_.js +1 -0
  317. package/dist-embed-ufoathome/ShareDialogElement-Dlfy9NCE.js +5186 -0
  318. package/dist-embed-ufoathome/Sighting-B7bsiTIQ.js +1 -0
  319. package/dist-embed-ufoathome/{SightingEditorMessages_en-CtZXoBSS.js → SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  320. package/{dist-embed-sighting-editor/SightingEditorMessages_es-CKXlDIja.js → dist-embed-ufoathome/SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  321. package/dist-embed-ufoathome/{SightingEditorMessages_fr-DjP6vAKo.js → SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  322. package/{dist-embed-sighting-editor/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  323. package/dist-embed-ufoathome/{SightingElement-Ct3sIryk.js → SightingElement-BJSNmFM6.js} +4 -4
  324. package/dist-embed-ufoathome/{SightingFileEditor-D1s9Dv6G.js → SightingFileEditor-DS1DRU2p.js} +1 -1
  325. package/dist-embed-ufoathome/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  326. package/dist-embed-ufoathome/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  327. package/dist-embed-ufoathome/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  328. package/dist-embed-ufoathome/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  329. package/dist-embed-ufoathome/{TimelineTracks-BgZmkKhn.js → TimelineTracks-Daaqw9ly.js} +1 -1
  330. package/dist-embed-ufoathome/{TraceSystem-Bop2Zoa_.js → TraceSystem-Cq2TgP-u.js} +2 -2
  331. package/dist-embed-ufoathome/{UfoAtHomeMessages_en-dlx_C679.js → UfoAtHomeMessages_en-BK2qJyZN.js} +1 -1
  332. package/dist-embed-ufoathome/{UfoAtHomeMessages_es-uLOvtAD0.js → UfoAtHomeMessages_es-B1-NDCau.js} +1 -1
  333. package/dist-embed-ufoathome/{UfoAtHomeMessages_fr-LR76-eHS.js → UfoAtHomeMessages_fr-BTG047qo.js} +1 -1
  334. package/dist-embed-ufoathome/{UfoAtHomeMessages_it-CQl4uTnG.js → UfoAtHomeMessages_it-Ryxv4HNU.js} +1 -1
  335. package/dist-embed-ufoathome/VideoButton-MRJlVNm_.js +1 -0
  336. package/dist-embed-ufoathome/WaterSystem-BNxlYNtW.js +19 -0
  337. package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
  338. package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
  339. package/dist-embed-ufoathome/caseSchema-BEJTs2Ld.js +1 -0
  340. package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
  341. package/dist-embed-ufoathome/geipan-qt-2025-B_RUiH8B.js +7 -0
  342. package/dist-embed-ufoathome/interviewSchema-r5bW7skq.js +1 -0
  343. package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
  344. package/dist-embed-ufoathome/rr0-ufoathome.mjs +41 -31
  345. package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +1 -0
  346. package/dist-embed-ufoathome/surroundingsSources--qffL_nJ.js +1 -0
  347. package/dist-embed-ufoathome/three.module-CbaHqYFq.js +4116 -0
  348. package/dist-embed-ufoathome/trafficRuntime-CTCGr90P.js +2 -0
  349. package/dist-embed-ufoathome/{upperAirSources-BGuLpdwu.js → upperAirSources-BU0pD84c.js} +1 -1
  350. package/dist-embed-ufoathome/xyzImageryRaster-Dhxs0B26.js +1 -0
  351. package/package.json +4 -2
  352. package/dist-embed-interview/InterviewMessages_en-ru7GkZlQ.js +0 -1
  353. package/dist-embed-interview/InterviewMessages_es-DkJurNrG.js +0 -1
  354. package/dist-embed-interview/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  355. package/dist-embed-interview/InterviewMessages_it-6lenkmSg.js +0 -1
  356. package/dist-embed-scene/BeamSystem-BtLpnMXz.js +0 -1
  357. package/dist-embed-scene/ModuleSession-BodXzA3g.js +0 -3
  358. package/dist-embed-scene/ModuleThree-D7qc50Hj.js +0 -1
  359. package/dist-embed-scene/sightingSchema-BDxKVE3v.js +0 -1
  360. package/dist-embed-sighting/BeamSystem-DJZTpG0z.js +0 -1
  361. package/dist-embed-sighting/InterviewMessages_en-ru7GkZlQ.js +0 -1
  362. package/dist-embed-sighting/InterviewMessages_es-DkJurNrG.js +0 -1
  363. package/dist-embed-sighting/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  364. package/dist-embed-sighting/InterviewMessages_it-6lenkmSg.js +0 -1
  365. package/dist-embed-sighting/ModuleSession-BZbes53G.js +0 -3
  366. package/dist-embed-sighting/ModuleThree-CPPPDBO4.js +0 -1
  367. package/dist-embed-sighting/sightingSchema-BDxKVE3v.js +0 -1
  368. package/dist-embed-sighting-editor/AirshipEditor-rA-Sr4D1.js +0 -16
  369. package/dist-embed-sighting-editor/BalloonEditor-CPZoayzz.js +0 -24
  370. package/dist-embed-sighting-editor/BeamSystem-Br0h-uSI.js +0 -1
  371. package/dist-embed-sighting-editor/BirdEditor-CAoRqqRV.js +0 -16
  372. package/dist-embed-sighting-editor/GLTFLoader-DT3hr416.js +0 -1
  373. package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +0 -1
  374. package/dist-embed-sighting-editor/InterviewEditorElement-CcXO_w9X.js +0 -242
  375. package/dist-embed-sighting-editor/InterviewMedia-CvAxC62V.js +0 -1
  376. package/dist-embed-sighting-editor/InterviewMessages_en-ru7GkZlQ.js +0 -1
  377. package/dist-embed-sighting-editor/InterviewMessages_es-DkJurNrG.js +0 -1
  378. package/dist-embed-sighting-editor/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  379. package/dist-embed-sighting-editor/InterviewMessages_it-6lenkmSg.js +0 -1
  380. package/dist-embed-sighting-editor/LanternEditor-BnXAwLuQ.js +0 -24
  381. package/dist-embed-sighting-editor/LaunchEditor-f4kJ5pWG.js +0 -22
  382. package/dist-embed-sighting-editor/LaunchSimulation-B3vlOUUu.js +0 -1
  383. package/dist-embed-sighting-editor/ModelSource-D1Wt6VYS.js +0 -1
  384. package/dist-embed-sighting-editor/ModuleConformance-DF6CNBvD.js +0 -2
  385. package/dist-embed-sighting-editor/ModuleSession-BgxzArtm.js +0 -3
  386. package/dist-embed-sighting-editor/ModuleThree-DXFS5Pjb.js +0 -1
  387. package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +0 -1
  388. package/dist-embed-sighting-editor/RailwaySystem-7A12KSnk.js +0 -41
  389. package/dist-embed-sighting-editor/ReentryEditor-Ch9_6pS8.js +0 -28
  390. package/dist-embed-sighting-editor/ReferenceSystem-Bt7l5nHl.js +0 -1
  391. package/dist-embed-sighting-editor/caseSchema-ChUB1-9j.js +0 -1
  392. package/dist-embed-sighting-editor/interviewSchema-Dk0AWHwc.js +0 -1
  393. package/dist-embed-sighting-editor/sightingSchema-C1S-Kr9w.js +0 -1
  394. package/dist-embed-ufoathome/AdsbLolArchiveProvider-DzC2OwjF.js +0 -1
  395. package/dist-embed-ufoathome/AirshipEditor-DDmu9JT8.js +0 -16
  396. package/dist-embed-ufoathome/BallesterGuaspAssessor-Bn5TGAvJ.js +0 -1
  397. package/dist-embed-ufoathome/BalloonEditor-CGrzszk1.js +0 -24
  398. package/dist-embed-ufoathome/BeamSystem-CWJkeTmf.js +0 -1
  399. package/dist-embed-ufoathome/BirdEditor-07sg3Pt0.js +0 -16
  400. package/dist-embed-ufoathome/CaseEditorElement-DNZt-oc7.js +0 -3148
  401. package/dist-embed-ufoathome/ContrailSystem-DBPA_rNt.js +0 -1
  402. package/dist-embed-ufoathome/ControlPasses-BgvVicQS.js +0 -29
  403. package/dist-embed-ufoathome/CoverageAssessor-BiDfEPse.js +0 -1
  404. package/dist-embed-ufoathome/Flightradar24Provider-DJtlvu72.js +0 -1
  405. package/dist-embed-ufoathome/GLTFLoader-2tuw29HP.js +0 -1
  406. package/dist-embed-ufoathome/GeoJsonExport-DHZOlC4h.js +0 -2
  407. package/dist-embed-ufoathome/HeadlightSystem-h2F6DzUW.js +0 -34
  408. package/dist-embed-ufoathome/HynekAssessor-C1TFQQNc.js +0 -1
  409. package/dist-embed-ufoathome/InterviewEditorElement-BythuoeV.js +0 -242
  410. package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +0 -1
  411. package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +0 -1
  412. package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +0 -1
  413. package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  414. package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +0 -1
  415. package/dist-embed-ufoathome/KmlExport-Qih5jB1R.js +0 -19
  416. package/dist-embed-ufoathome/LanternEditor-BRqgj1S6.js +0 -24
  417. package/dist-embed-ufoathome/LaunchEditor-D5FlWL04.js +0 -22
  418. package/dist-embed-ufoathome/LaunchSimulation-DS7JtdJz.js +0 -1
  419. package/dist-embed-ufoathome/ModelSource-DQDWsfAb.js +0 -1
  420. package/dist-embed-ufoathome/ModelThumbnails-DovTOA0Y.js +0 -1
  421. package/dist-embed-ufoathome/ModelViewer-DIvwFZDg.js +0 -1
  422. package/dist-embed-ufoathome/ModuleConformance-VMgvNBlc.js +0 -2
  423. package/dist-embed-ufoathome/ModuleSession-D6wg8SbE.js +0 -3
  424. package/dist-embed-ufoathome/ModuleThree-CLkMHq_q.js +0 -1
  425. package/dist-embed-ufoathome/PictureRegistration-Dnh3w7Ph.js +0 -1
  426. package/dist-embed-ufoathome/PoherAssessor-h8_-WKIK.js +0 -1
  427. package/dist-embed-ufoathome/RailwaySystem-DZ2hctVL.js +0 -41
  428. package/dist-embed-ufoathome/ReentryEditor-DxyGO7_Z.js +0 -28
  429. package/dist-embed-ufoathome/ReentrySimulation-B55Uq-6-.js +0 -1
  430. package/dist-embed-ufoathome/ReferenceSystem-DJosChqB.js +0 -1
  431. package/dist-embed-ufoathome/RoadMarkings-DDRxawvf.js +0 -1
  432. package/dist-embed-ufoathome/SaidPosition-CXZLm-ck.js +0 -4
  433. package/dist-embed-ufoathome/ShareDialogElement--Mjaublp.js +0 -9222
  434. package/dist-embed-ufoathome/Sighting-Ch4eiBNK.js +0 -1
  435. package/dist-embed-ufoathome/VideoButton-DzEuUvRs.js +0 -1
  436. package/dist-embed-ufoathome/WaterSystem-KQAAtpYS.js +0 -19
  437. package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +0 -1
  438. package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +0 -1
  439. package/dist-embed-ufoathome/sightingSchema-C1S-Kr9w.js +0 -1
  440. package/dist-embed-ufoathome/surroundingsSources-LtEaPPRc.js +0 -1
  441. package/dist-embed-ufoathome/trafficRuntime-uPEasExE.js +0 -2
@@ -0,0 +1,2 @@
1
+ import{aT as et,aU as g,aV as It,aW as Z,q as j,aX as N,aY as Dt,aZ as st,a_ as it}from"./ShareDialogElement-Dlfy9NCE.js";import{C as ot}from"./ContrailGrowth-DwHS8If9.js";import{U as Ee}from"./upperAirSources-BU0pD84c.js";import{p as V,r as Tt}from"./Decor-Dn-cvniW.js";import{l as at}from"./GeoProjection-DvqDbRIx.js";import"./rr0-ufoathome.mjs";import"./Sighting-B7bsiTIQ.js";import"./VisualAids-DI-hEL46.js";import"./three.module-CbaHqYFq.js";import"./SaidPosition-OJEYhVKN.js";import"./RecordingIssue-BlWT8Xsu.js";import"./xyzImageryRaster-Dhxs0B26.js";import"./Obstacles-v9SkfBD7.js";const Rt=.25,rt=.4,ct=6,X=12,Bt=3,lt=.2,vt=.2,ht=24,Nt=3,Ct=24,ut=1,_t=.7,Ht=1.5,wt=.8,yt=1.3,dt=.02,Pt=700,kt=-30,pt=.9,mt=5,Lt=25,Ft=.5,jt=.12,Mt=[.13,.31],Gt=.16,Ut=1.6,Kt=2,zt=3.6,At=1.1,Wt=.3,Vt=1e3,gt=.7,Xt=.7;class q{context;constructor(t){this.context=t}noiseBuffer;roughBuffers=new Map;voices=new Map;bus;reverb;reverbOut;level=1;master;paused=!0;requested=[];headingDeg=0;resume(){if(!this.context){if(typeof AudioContext>"u")return;try{this.context=new AudioContext}catch(t){console.warn("AircraftAudio: Web Audio unavailable, aircraft stay silent:",t);return}}et.isLive(this.context)&&et.unlock(this.context),this.apply()}setLevel(t){this.level=t,this.master&&(this.master.gain.value=t)}setPaused(t){t!==this.paused&&(this.paused=t,this.apply())}setVoices(t,e=0){this.requested=t,this.headingDeg=e,this.apply()}dispose(){for(const t of[...this.voices.keys()])this.release(t);et.isLive(this.context)&&this.context.close(),this.context=void 0,this.master=void 0,this.bus=void 0}apply(){const t=this.context;if(!t)return;const e=this.paused?[]:this.requested,a=new Set(e.map(n=>n.id));for(const n of[...this.voices.keys()])a.has(n)||this.release(n);for(const n of e){const s=this.voices.get(n.id)??this.build(t,n);this.retarget(t,s,n)}}build(t,e){const a=t.createGain();a.gain.value=0;let n;const s=this.busOf(t);typeof t.createStereoPanner=="function"?(n=t.createStereoPanner(),a.connect(n).connect(s)):a.connect(s);const i=t.createGain(),o=e.character?.modulationDepth??0;i.gain.value=1-o/2;const r=t.createOscillator();r.type="sine";const l=t.createGain();l.gain.value=o/2,r.connect(l).connect(i.gain),i.connect(a);const c=t.createBufferSource();c.buffer=this.noise(t),c.loop=!0,c.loopStart=Math.random()*ct*.5;const u=[],d=[],h=[];for(const D of g.OCTAVES){const I=t.createBiquadFilter();I.type="bandpass",I.frequency.value=D,I.Q.value=ut;const H=t.createBiquadFilter();H.type="bandpass",H.frequency.value=D,H.Q.value=ut;const P=t.createGain();P.gain.value=0,c.connect(I).connect(H).connect(P).connect(i),u.push(I),d.push(H),h.push(P)}const p=[];for(const[D,I]of[[e.character?.toneHz,e.character?.toneShare],[e.character?.humHz,e.character?.humShare]])if(D!==void 0)for(let H=1;H<=Nt;H++){const P=t.createOscillator();P.type="sine",P.frequency.value=D*H;const tt=t.createGain();tt.gain.value=0,P.connect(tt).connect(a),p.push({oscillator:P,gain:tt,harmonic:H,baseHz:D,share:I??0})}const m=t.createGain();m.gain.value=0,m.connect(a.gain);const E=Mt.map(D=>{const I=t.createOscillator();return I.type="sine",I.frequency.value=D,I.connect(m),I}),O=t.createGain();O.gain.value=e.character?.roughness??lt;const B=t.createBufferSource();B.buffer=this.roughTable(t,Bt),B.loop=!0,B.loopStart=Math.random()*X*.5,B.connect(O).connect(i.gain);const v=t.createGain();v.gain.value=(e.character?.roughness??lt)*vt;const S=t.createBufferSource();S.buffer=this.roughTable(t,ht),S.loop=!0,S.loopStart=Math.random()*X*.5,S.connect(v).connect(i.gain);let F;const x=this.busOf(t)&&this.reverb;x&&(F=t.createGain(),F.gain.value=0,a.connect(F).connect(x));let L,_;if(!e.inside&&typeof t.createDelay=="function"){const D=t.createDelay(dt);D.delayTime.value=0;const I=t.createBiquadFilter();I.type="highshelf",I.frequency.value=Pt,I.gain.value=0;const H=t.createGain();H.gain.value=0,a.connect(D).connect(I).connect(H).connect(n??s);const P=t.createGain();P.gain.value=0,_=t.createBufferSource(),_.buffer=this.roughTable(t,ht),_.loop=!0,_.loopStart=Math.random()*X*.5,_.connect(P).connect(D.delayTime),L={delay:D,jitter:P,shelf:I,gain:H}}const k=[c,B,S,r,...p.map(D=>D.oscillator),...E,..._?[_]:[]];for(const D of k)D.start();const $={nodes:[a,i,l,O,v,m,...L?[L.delay,L.jitter,L.shelf,L.gain]:[],...p.map(D=>D.gain),...u,...d,...h,...F?[F]:[],...n?[n]:[],...k],sources:k,filters:u,seconds:d,gains:h,tones:p,lfo:r,lfoDepth:l,wander:E,wanderDepth:m,roughDepth:O,crackleDepth:v,beat:i,output:a,panner:n,send:F,echo:L};return this.voices.set(e.id,$),$}retarget(t,e,a){const n=t.currentTime,s=(p,m)=>p.setTargetAtTime(m,n,Rt),i=Math.min(Ht,Math.max(_t,a.dopplerRatio)),o=Math.min(yt,Math.max(wt,Math.sqrt(a.dopplerRatio))),r=t.sampleRate*.45,l=a.bandAmplitudes.map((p,m)=>p*q.unweighting(g.OCTAVES[m])),c=Math.sqrt(l.reduce((p,m)=>p+m*m,0)),u=Math.min(1,Math.max(0,(a.distanceKm-mt)/(Lt-mt)));g.OCTAVES.forEach((p,m)=>{s(e.filters[m].frequency,Math.min(r,p*o)),s(e.seconds[m].frequency,Math.min(r,p*o)),s(e.gains[m].gain,l[m]*Math.sqrt(Vt/p))});const d=a.character;for(const{oscillator:p,gain:m,harmonic:E,baseHz:O,share:B}of e.tones){const v=O*E;s(p.frequency,v*i);const S=v*i;s(m.gain,S<r?B*Gt*l[q.bandOf(S)]/E:0)}d?.modulationHz!==void 0&&s(e.lfo.frequency,d.modulationHz*i);const h=c>0?q.saturated(c)/c:1;if(s(e.output.gain,h*(1-Wt*u)),s(e.wanderDepth.gain,h*jt*u/Mt.length),e.send&&s(e.send.gain,q.reverbSend(a.distanceKm)),e.echo){const p=a.groundEcho;s(e.echo.gain.gain,p?.lowGain??0),p&&(s(e.echo.delay.delayTime,Math.min(dt,p.delayS)),s(e.echo.jitter.gain,p.jitterS),s(e.echo.shelf.gain,p.lowGain>0?Math.max(kt,20*Math.log10(Math.max(p.highGain,1e-6)/p.lowGain)):0))}if(e.panner){const p=(a.azimuthDeg-this.headingDeg)*Math.PI/180,m=a.inside?0:Math.max(-pt,Math.min(pt,Math.sin(p)))*(1-Ft*u);s(e.panner.pan,m)}}static saturated(t){const e=Xt*gt;if(t<=e)return t;const a=gt-e;return e+a*(1-Math.exp(-(t-e)/a))}static reverbSend(t){return Math.min(Ut,Math.sqrt(Math.max(0,t)/Kt))}static unweighting(t){return 10**(Math.min(Ct,Math.max(0,-g.aWeightingDb(t)))/20)}static bandOf(t){let e=0;return g.OCTAVES.forEach((a,n)=>{Math.abs(Math.log(t/a))<Math.abs(Math.log(t/g.OCTAVES[e]))&&(e=n)}),e}roughTable(t,e){const a=this.roughBuffers.get(e);if(a)return a;const n=Math.floor(t.sampleRate*X),s=t.createBuffer(1,n,t.sampleRate),i=s.getChannelData(0),o=Array.from({length:X*e},()=>(Math.random()*2-1)**3),r=t.sampleRate/e;for(let l=0;l<i.length;l++){const c=l/r,u=Math.floor(c),d=c-u,h=d*d*(3-2*d);i[l]=o[u%o.length]*(1-h)+o[(u+1)%o.length]*h}return this.roughBuffers.set(e,s),s}roomImpulse(t){const e=Math.floor(t.sampleRate*zt),a=t.createBuffer(2,e,t.sampleRate);for(let n=0;n<2;n++){const s=a.getChannelData(n);let i=0;for(let o=0;o<e;o++){const r=o/t.sampleRate,l=.6*Math.exp(-r/(At*2))+.04;i+=l*(Math.random()*2-1-i),s[o]=i*Math.exp(-r/At)}}return a}busOf(t){if(this.bus)return this.bus;const e=t.createGain();if(e.gain.value=this.level,e.connect(t.destination),this.master=e,typeof t.createConvolver=="function"){const a=t.createConvolver();a.buffer=this.roomImpulse(t);const n=t.createGain();n.gain.value=.9,a.connect(n),this.reverb=a,this.reverbOut=n}if(typeof t.createDynamicsCompressor=="function"){const a=t.createDynamicsCompressor();a.threshold.value=-6,a.knee.value=3,a.ratio.value=4,a.attack.value=.005,a.release.value=.25,a.connect(e),this.bus=a}else this.bus=e;return this.reverbOut?.connect(this.bus),this.bus}release(t){const e=this.voices.get(t);if(!e)return;this.voices.delete(t);const a=this.context;a&&(e.output.gain.setTargetAtTime(0,a.currentTime,rt/3),setTimeout(()=>{for(const n of e.sources)try{n.stop()}catch{}for(const n of e.nodes)n.disconnect()},rt*1e3*3))}noise(t){if(this.noiseBuffer)return this.noiseBuffer;const e=t.createBuffer(1,t.sampleRate*ct,t.sampleRate),a=e.getChannelData(0);for(let n=0;n<a.length;n++)a[n]=Math.random()*2-1;return this.noiseBuffer=e,e}}class U{static TYPES={A318:["Airbus A318","airliner-narrow",34.1,31.4],A319:["Airbus A319","airliner-narrow",34.1,33.8],A320:["Airbus A320","airliner-narrow",34.1,37.6],A321:["Airbus A321","airliner-narrow",34.1,44.5],A19N:["Airbus A319neo","airliner-narrow",35.8,33.8],A20N:["Airbus A320neo","airliner-narrow",35.8,37.6],A21N:["Airbus A321neo","airliner-narrow",35.8,44.5],B737:["Boeing 737-700","airliner-narrow",34.3,33.6],B738:["Boeing 737-800","airliner-narrow",35.8,39.5],B739:["Boeing 737-900","airliner-narrow",35.8,42.1],B38M:["Boeing 737 MAX 8","airliner-narrow",35.9,39.5],B39M:["Boeing 737 MAX 9","airliner-narrow",35.9,42.2],B752:["Boeing 757-200","airliner-narrow",38,47.3],B753:["Boeing 757-300","airliner-narrow",38,54.4],B762:["Boeing 767-200","airliner-wide",47.6,48.5],B763:["Boeing 767-300","airliner-wide",47.6,54.9],B764:["Boeing 767-400","airliner-wide",51.9,61.4],B772:["Boeing 777-200","airliner-wide",60.9,63.7],B77L:["Boeing 777-200LR","airliner-wide",64.8,63.7],B77W:["Boeing 777-300ER","airliner-wide",64.8,73.9],B788:["Boeing 787-8","airliner-wide",60.1,56.7],B789:["Boeing 787-9","airliner-wide",60.1,62.8],B78X:["Boeing 787-10","airliner-wide",60.1,68.3],B744:["Boeing 747-400","airliner-wide",64.4,70.7],B748:["Boeing 747-8","airliner-wide",68.4,76.3],A306:["Airbus A300-600","airliner-wide",44.8,54.1],A310:["Airbus A310","airliner-wide",43.9,46.7],A332:["Airbus A330-200","airliner-wide",60.3,58.8],A333:["Airbus A330-300","airliner-wide",60.3,63.7],A338:["Airbus A330-800","airliner-wide",64,58.8],A339:["Airbus A330-900","airliner-wide",64,63.7],A343:["Airbus A340-300","airliner-wide",60.3,63.7],A346:["Airbus A340-600","airliner-wide",63.5,75.4],A359:["Airbus A350-900","airliner-wide",64.8,66.8],A35K:["Airbus A350-1000","airliner-wide",64.8,73.8],A388:["Airbus A380-800","airliner-wide",79.8,72.7],CONC:["Concorde","airliner-supersonic",25.6,61.7],DC3:["Douglas DC-3","piston-heavy",29,19.7],DC4:["Douglas DC-4","piston-heavy",35.8,28.6],P51:["North American P-51 Mustang","piston-heavy",11.3,9.8],E170:["Embraer 170","regional-jet",26,29.9],E75L:["Embraer 175","regional-jet",26,31.7],E75S:["Embraer 175","regional-jet",26,31.7],E190:["Embraer 190","regional-jet",28.7,36.2],E195:["Embraer 195","regional-jet",28.7,38.7],E290:["Embraer 190-E2","regional-jet",33.7,36.2],E295:["Embraer 195-E2","regional-jet",33.7,41.5],CRJ2:["Bombardier CRJ200","regional-jet",21.2,26.8],CRJ7:["Bombardier CRJ700","regional-jet",23.2,32.3],CRJ9:["Bombardier CRJ900","regional-jet",24.9,36.2],CRJX:["Bombardier CRJ1000","regional-jet",26.2,39.1],AT72:["ATR 72","regional-turboprop",27.1,27.2],AT76:["ATR 72-600","regional-turboprop",27.1,27.2],AT45:["ATR 42","regional-turboprop",24.6,22.7],DH8D:["Dash 8 Q400","regional-turboprop",28.4,32.8],DH8C:["Dash 8-300","regional-turboprop",27.4,25.7],SF34:["Saab 340","regional-turboprop",21.4,19.7],B190:["Beechcraft 1900","regional-turboprop",17.7,17.6],C25A:["Cessna CitationJet CJ2","business-jet",14.3,14.4],C56X:["Cessna Citation Excel","business-jet",17.2,16],C68A:["Cessna Citation Latitude","business-jet",22,18.9],C550:["Cessna Citation II","business-jet",15.8,14.4],E55P:["Embraer Phenom 300","business-jet",15.9,15.6],E50P:["Embraer Phenom 100","business-jet",12.3,12.8],GLF5:["Gulfstream G550","business-jet",28.5,29.4],FA7X:["Dassault Falcon 7X","business-jet",26.2,23.4],CL60:["Bombardier Challenger 600","business-jet",19.6,20.9],LJ45:["Learjet 45","business-jet",14.6,17.7],H25B:["Hawker 800","business-jet",15.7,15.6],C172:["Cessna 172","light-piston",11,8.3],C152:["Cessna 152","light-piston",10.2,7.3],C182:["Cessna 182","light-piston",10.9,8.8],P28A:["Piper Cherokee","light-piston",10.7,7.2],PA34:["Piper Seneca","light-piston",11.8,8.7],SR20:["Cirrus SR20","light-piston",10.9,7.9],SR22:["Cirrus SR22","light-piston",11.7,7.9],S22T:["Cirrus SR22T","light-piston",11.7,7.9],DA40:["Diamond DA40","light-piston",11.6,8.1],DA42:["Diamond DA42","light-piston",13.4,8.6],BE20:["Beechcraft King Air 200","turboprop-light",16.6,13.3],BE58:["Beechcraft Baron","light-piston",11.5,9.1],C208:["Cessna Caravan","turboprop-light",15.9,11.5],PC12:["Pilatus PC-12","turboprop-light",16.3,14.4],TBM9:["Daher TBM 900","turboprop-light",12.8,10.7],EC35:["Airbus H135","helicopter-light",10.2,12.1],EC45:["Airbus H145","helicopter-medium",11,13.6],AS50:["Airbus H125","helicopter-light",10.7,12.9],EC30:["Airbus H130","helicopter-light",10.7,12.6],B407:["Bell 407","helicopter-light",10.7,12.7],B06:["Bell 206","helicopter-light",10.2,12],B429:["Bell 429","helicopter-medium",10.9,13],B505:["Bell 505","helicopter-light",10.4,11.9],R44:["Robinson R44","helicopter-light",10.1,11.7],R22:["Robinson R22","helicopter-light",7.7,8.8],A109:["Agusta A109","helicopter-medium",11,13],A139:["Leonardo AW139","helicopter-medium",13.8,16.7],S92:["Sikorsky S-92","helicopter-heavy",17.2,20.9],H60:["Sikorsky UH-60 Black Hawk","helicopter-heavy",16.4,19.8],T38:["Northrop T-38 Talon","military-jet",7.7,14.1],HAWK:["BAE Hawk","military-jet",9.4,11.9],GLID:["Glider","glider",17,7],BALL:["Balloon","balloon",15,20],ULAC:["Ultralight","ultralight",9.5,6],C42:["Ikarus C42","ultralight",9.4,6.3],DRON:["Drone","unmanned",1,.6]};static CATEGORIES={A1:["Light aircraft","light-piston",11,8.3],A2:["Small aircraft","business-jet",15,15],A3:["Large aircraft","airliner-narrow",34.1,37.6],A4:["High-vortex large aircraft","airliner-narrow",38,47.3],A5:["Heavy aircraft","airliner-wide",60.3,63.7],A6:["High-performance aircraft","military-jet",8,14],A7:["Rotorcraft","helicopter-medium",10.7,12.7],B1:["Glider","glider",17,7],B2:["Lighter-than-air","balloon",15,20],B4:["Ultralight","ultralight",9.5,6],B6:["Unmanned aircraft","unmanned",1.5,1]};static GENERIC={name:"Airliner",kind:"airliner-narrow",spanM:34.1,lengthM:37.6,basis:"nothing"};static of(t){const e=t?.type?.toUpperCase(),a=e?U.TYPES[e]:void 0;if(a)return{code:e,name:a[0],kind:a[1],spanM:a[2],lengthM:a[3],basis:"type"};const n=t?.category?U.CATEGORIES[t.category]:void 0;return n?{name:n[0],kind:n[1],spanM:n[2],lengthM:n[3],basis:"category"}:{...U.GENERIC}}static isHelicopter(t){return t.kind.startsWith("helicopter")}}class C{static DUSK_SUN_ELEVATION_DEG=-.83;static ALWAYS=new Set(["airliner-narrow","airliner-wide","airliner-supersonic","regional-turboprop","regional-jet","business-jet"]);static NONE=new Set(["glider","balloon"]);static BRIGHTNESS={"light-piston":[.5,.2,.5],"turboprop-light":[.7,.4,.8],ultralight:[.4,.2,.4],unmanned:[0,.05,0],"helicopter-light":[1,1,1],"helicopter-medium":[1,1,1],"helicopter-heavy":[1,1,1],"military-jet":[1,1,1]};static LANDING_LIGHTS_BELOW_FT=1e4;static LANDING_INTENSITY=600;static LANDING_BEAM_DEG=10;static LANDING_COLOR="#fff1dc";static LANDING_BRIGHTNESS={"airliner-narrow":1,"airliner-wide":1,"airliner-supersonic":1,"regional-jet":.6,"regional-turboprop":.6,"business-jet":.4,"turboprop-light":.2,"light-piston":.1,ultralight:.05,"helicopter-light":.1,"helicopter-medium":.2,"helicopter-heavy":.2};static lampsOn(t,e){if(C.NONE.has(t))return{navigation:!1,beacon:!1,strobes:!1};if(C.ALWAYS.has(t))return{navigation:!0,beacon:!0,strobes:!0};const a=e<C.DUSK_SUN_ELEVATION_DEG;return t==="unmanned"?{navigation:!1,beacon:!1,strobes:a}:{navigation:a,beacon:a,strobes:a}}static lights(t,e){const a=C.lampsOn(t.kind,e),n=t.kind.startsWith("helicopter"),s=It.find(h=>h.id===(n?"helicopter":"airliner")).create(),[i,o]=n?[5,7]:[17,18],r=t.spanM/2/i,l=t.lengthM/2/o,[c,u,d]=C.BRIGHTNESS[t.kind]??[1,1,1];return s.filter(h=>h.id.startsWith("nav")?a.navigation:h.id.startsWith("strobe")?a.strobes:h.id.startsWith("beacon")?a.beacon:!0).filter(h=>!(h.id.startsWith("beacon")&&!a.beacon)).map(h=>{const p=h.id.startsWith("nav")?c:h.id.startsWith("strobe")?u:d;return{...h,offsetM:{x:h.offsetM.x*r,y:h.offsetM.y,z:h.offsetM.z*l},intensity:(h.intensity??1)*p}}).filter(h=>(h.intensity??1)>0)}static landingLights(t,e,a){const n=C.LANDING_BRIGHTNESS[t.kind]??0;if(n===0||!C.lampsOn(t.kind,e).navigation)return[];const s=c=>c<C.LANDING_LIGHTS_BELOW_FT;if(!a.some(c=>s(c.altitudeFt)))return[];const i=C.LANDING_INTENSITY*n,o=a.flatMap((c,u)=>u>0&&s(c.altitudeFt)!==s(a[u-1].altitudeFt)?[{t:c.t,intensity:s(c.altitudeFt)?i:0}]:[]),r=t.spanM/34,l=t.lengthM/36;return[-1,1].map(c=>({id:c<0?"landing-left":"landing-right",offsetM:{x:c*5*r,y:-1,z:3*l},color:C.LANDING_COLOR,intensity:s(a[0].altitudeFt)?i:0,pattern:{kind:"steady"},beamDeg:C.LANDING_BEAM_DEG,keyframes:o}))}static bodyColor(t){return t.kind==="military-jet"?"#8a8e94":t.kind.startsWith("helicopter")?"#c8ccd1":t.kind==="unmanned"?"#2c2e33":"#dde0e4"}}class J{static FAMILIES={"amvlab-a320":["A318","A319","A320","A321","A19N","A20N","A21N"],"amvlab-b737":["B732","B733","B734","B735","B736","B737","B738","B739","B37M","B38M","B39M","B3XM"],"amvlab-a350":["A359","A35K"],"amvlab-a380":["A388"],"amvlab-b787":["B788","B789","B78X"]};static BY_TYPE=new Map(Object.entries(J.FAMILIES).flatMap(([t,e])=>e.map(a=>[a,t])));static idOf(t){return t?J.BY_TYPE.get(t.toUpperCase()):void 0}}class R{static ID_PREFIX=Z.ID_PREFIX;static MAX_OBJECTS=40;static FT_TO_M=.3048;static DEG=Math.PI/180;static from(t,e,a,n=R.MAX_OBJECTS,s={}){return new qt(t,e,a,n,s).build()}static idOf(t,e){return Z.idOf(t,e)}static keyOf(t){return Z.keyOf(t)}static HEIGHT_OVER_LENGTH=.29;static sizeOf(t){return{widthM:t.spanM,lengthM:t.lengthM,heightM:t.lengthM*R.HEIGHT_OVER_LENGTH}}static offsetOf(t,e){const a=j.seenFrom(t,{lat:e.lat,lng:e.lng,heightM:e.altitudeFt*R.FT_TO_M}),n=a.distanceKm*1e3,s=n*Math.cos(a.altitudeDeg*R.DEG);return{eastM:s*Math.sin(a.azimuthDeg*R.DEG),northM:s*Math.cos(a.azimuthDeg*R.DEG),upM:n*Math.sin(a.altitudeDeg*R.DEG),altitudeDeg:a.altitudeDeg,distanceKm:a.distanceKm}}static segments(t){const e=[];let a=[];for(const n of t.points){const s=a[a.length-1];s&&n.t-s.t>N.MAX_GAP_S*1e3&&(e.push(a),a=[]),a.push(n)}return e.push(a),e.filter(n=>n.length>=2)}static bearingDeg(t,e){return(Math.atan2(e.eastM-t.eastM,e.northM-t.northM)/R.DEG+360)%360}}class qt{constructor(t,e,a,n,s){this.tracks=t,this.observer=e,this.startMs=a,this.maxObjects=n,this.options=s}build(){const t=[];for(const a of this.tracks){const n=R.keyOf(a),s=this.options.models?.get(n)??U.of(void 0);R.segments(a).forEach((i,o)=>{const r=i.map(h=>({point:h,at:R.offsetOf(this.observer,h)}));if(!r.some(h=>h.at.altitudeDeg>=0))return;const l=r.map((h,p)=>({t:h.point.t-this.startMs,eastM:h.at.eastM,northM:h.at.northM,altitudeM:h.at.upM,headingDeg:h.point.trackDeg??(p+1<r.length?R.bearingDeg(h.at,r[p+1].at):R.bearingDeg(r[p-1].at,h.at))})),c=R.idOf(a,o),u=r[Math.floor(r.length/2)].point,d=this.options.sunElevationAt?.(u)??90;t.push({object:{id:c,kind:"aircraft",eastM:l[0].eastM,northM:l[0].northM,headingDeg:l[0].headingDeg,sizeM:R.sizeOf(s),model:J.idOf(s.code)?{id:J.idOf(s.code)}:void 0,color:C.bodyColor(s),lights:[...C.lights(s,d),...C.landingLights(s,d,i.map(h=>({t:h.t-this.startMs,altitudeFt:h.altitudeFt})))],track:l},presence:{fromMs:l[0].t,untilMs:l[l.length-1].t},flight:{icao:a.icao,nonIcao:a.nonIcao,points:i},closestKm:Math.min(...r.map(h=>h.at.distanceKm))})})}t.sort((a,n)=>a.closestKm-n.closestKm);const e=t.slice(0,this.maxObjects);return{objects:e.map(a=>a.object),presence:new Map(e.map(a=>[a.object.id,a.presence])),flights:new Map(e.map(a=>[a.object.id,a.flight])),total:t.length,shown:e.length}}}const Yt=[[20,0],[120,0],[130,1.5],[140,4],[150,7.5],[160,7.5]],Jt=[[20,1.5],[40,1],[60,1],[80,0],[120,0],[130,1],[140,1],[150,-3],[160,-6.5],[170,-12]],bt=.16,xt=1,$t=[[0,-2],[10,-1],[20,0],[40,0],[50,-2],[60,-4.5],[70,-7.5],[80,-11],[90,-15],[100,-19.5],[110,-25]],Zt=[[60,-15.8],[70,-11.5],[80,-8],[90,-5],[100,-2.7],[110,-1.2],[120,-.3],[130,0],[140,-2],[150,-6],[160,-10],[170,-15],[180,-20]],Qt=1.5,Et=-40,te=1.5,ee={takeoff:{jetMps:300,flightMps:80,jetShare:[1,1,.9,.6,.3,.1,0,0]},overflight:{jetMps:280,flightMps:130,jetShare:[1,1,.9,.6,.3,.1,0,0]},approach:{jetMps:180,flightMps:70,jetShare:[.6,.5,.4,.2,.1,0,0,0]}};class w{static bandsDb(t,e,a=340){const n=ee[e],s=w.fan(t)-w.fan(90),i=.62*Math.max(0,n.jetMps-n.flightMps)/a,o=-30*Math.log10(1+i/(1+i**5)**.2*Math.cos(t*Math.PI/180));return g.OCTAVES.map((r,l)=>{const c=o+w.jetRemainder(t,r*te/n.jetMps),u=n.jetShare[l];return 10*Math.log10(u*10**(c/10)+(1-u)*10**(s/10))})}static loudestDb(t){const e=w.loudest.get(t);if(e)return e;const a=g.OCTAVES.map(()=>-1/0);for(let n=0;n<=180;n+=5)w.bandsDb(n,t).forEach((s,i)=>a[i]=Math.max(a[i],s));return w.loudest.set(t,a),a}static loudest=new Map;static angleDeg(t,e){const a=t.reduce((s,i,o)=>s+i*e[o],0),n=Math.hypot(...t)*Math.hypot(...e);return n===0?90:Math.acos(Math.min(1,Math.max(-1,a/n)))*180/Math.PI}static fan(t){const e=w.read($t,t,!0),a=w.read(Zt,t,!0)+Qt;return 10*Math.log10(10**(e/10)+10**(a/10))}static jetRemainder(t,e){const a=Math.min(1,Math.max(0,Math.log(e/bt)/Math.log(xt/bt)));return(1-a)*w.read(Yt,t)+a*w.read(Jt,t)}static read(t,e,a=!1){const[n,s]=[t[0],t[1]],[i,o]=[t[t.length-2],t[t.length-1]];if(e<=n[0])return a?Math.max(Et,n[1]+(s[1]-n[1])/(s[0]-n[0])*(e-n[0])):n[1];if(e>=o[0])return a?Math.max(Et,o[1]+(o[1]-i[1])/(o[0]-i[0])*(e-o[0])):o[1];for(let r=1;r<t.length;r++){const[l,c]=[t[r-1],t[r]];if(e<=c[0])return l[1]+(c[1]-l[1])*(e-l[0])/(c[0]-l[0])}return o[1]}}class A{static GRASS={flowResistivityKPa:200,earHeightM:1.6};static COHERENCE=.4;static JITTER_S=1e-4;static ECHO_UNDER_S=5e-4;static ECHO_FROM_S=.0015;static LOW_HZ=125;static HIGH_HZ=2e3;static AIR_DENSITY=1.2;static reflection(t,e,a=A.GRASS){const[n,s]=A.impedance(t,a);return A.reflected(n,s,Math.sin(Math.max(0,e)*Math.PI/180))}static impedance(t,e=A.GRASS){const a=A.AIR_DENSITY*t/(e.flowResistivityKPa*1e3);return[1+.0571*a**-.754,-.087*a**-.732]}static reflected(t,e,a){const[n,s,i,o]=[t*a-1,e*a,t*a+1,e*a],r=i*i+o*o;return{re:(n*i+s*o)/r,im:(s*i-n*o)/r}}static delayS(t,e=A.GRASS,a=340){return 2*e.earHeightM*Math.sin(Math.max(0,t)*Math.PI/180)/a}static excessDb(t,e=A.GRASS,a=340){const n=`${e.flowResistivityKPa}|${e.earHeightM}|${a}`;let s=A.overheads.get(n);return s||A.overheads.set(n,s=A.bandsDb(90,e,a)),A.bandsDb(t,e,a).map((i,o)=>i-s[o])}static echo(t,e=A.GRASS,a=340){const n=A.delayS(t,e,a);if(n<=A.ECHO_UNDER_S)return;const s=Math.min(1,(n-A.ECHO_UNDER_S)/(A.ECHO_FROM_S-A.ECHO_UNDER_S)),i=s*s*(3-2*s),o=r=>{const l=A.reflection(r,t,e);return i*A.COHERENCE*Math.hypot(l.re,l.im)};return{delayS:n,lowGain:o(A.LOW_HZ),highGain:o(A.HIGH_HZ),jitterS:A.JITTER_S}}static overheads=new Map;static thirds=g.OCTAVES.map(t=>[-1,0,1].map(e=>{const a=t*2**(e/3);return{middle:a,from:a*2**(-1/6),to:a*2**(1/6)}}));static impedances=new Map;static bandsDb(t,e,a){const n=A.delayS(t,e,a),s=A.COHERENCE,i=Math.sin(Math.max(0,t)*Math.PI/180);let o=A.impedances.get(e.flowResistivityKPa);return o||A.impedances.set(e.flowResistivityKPa,o=A.thirds.map(r=>r.map(l=>A.impedance(l.middle,e)))),A.thirds.map((r,l)=>{let c=0;return r.forEach((u,d)=>{const h=A.reflected(o[l][d][0],o[l][d][1],i),p=2*Math.PI*n*(u.to-u.from),[m,E]=p<1e-9?[1,0]:[(Math.sin(2*Math.PI*u.to*n)-Math.sin(2*Math.PI*u.from*n))/p,(Math.cos(2*Math.PI*u.from*n)-Math.cos(2*Math.PI*u.to*n))/p];c+=1+h.re*h.re+h.im*h.im+2*s*(h.re*m+h.im*E)}),10*Math.log10(c/r.length)})}}const Y={takeoff:{shapeDb:[10,3,-3,-2,-2,-2,5,4],levelDb:0},approach:{shapeDb:[0,0,0,0,0,0,0,0],levelDb:-8}},ae={takeoff:{shapeDb:[0,0,0,0,0,0,0,0],levelDb:0},approach:{shapeDb:[0,0,0,0,0,0,0,0],levelDb:-8}},Ot=[{id:"turbofan-narrow-body",name:"Turbofan airliner, narrow-body",kinds:["airliner-narrow"],totalDbA:148,shapeDb:[-32,-17,-9,-6,-5,-7,-12,-22],character:{toneHz:1800,toneShare:.3,humHz:90,humShare:.7},regimes:Y},{id:"turbojet-supersonic",name:"Supersonic turbojet airliner",kinds:["airliner-supersonic"],totalDbA:169.5,shapeDb:[-22,-13,-9,-6,-6,-9,-15,-25],character:{humHz:100,humShare:.7},regimes:ae},{id:"turbofan-wide-body",name:"Turbofan airliner, wide-body",kinds:["airliner-wide"],totalDbA:151,shapeDb:[-28,-14,-7,-4,-3,-6,-12,-22],character:{toneHz:1200,toneShare:.3,humHz:70,humShare:.7},regimes:Y},{id:"regional-jet",name:"Regional jet",kinds:["regional-jet"],totalDbA:144,shapeDb:[-32,-17,-9,-5,-4,-6,-11,-21],character:{toneHz:1900,toneShare:.3,humHz:95,humShare:.7},regimes:Y},{id:"business-jet",name:"Business jet",kinds:["business-jet"],totalDbA:141,shapeDb:[-30,-15,-8,-4,-3,-4,-9,-19],character:{toneHz:2500,toneShare:.25,humHz:110,humShare:.7},regimes:Y},{id:"turboprop",name:"Turboprop",kinds:["regional-turboprop","turboprop-light"],totalDbA:138,shapeDb:[-14,-9,-8,-6,-8,-13,-20,-28],character:{toneHz:80,toneShare:.5}},{id:"light-piston",name:"Light piston aircraft",kinds:["light-piston"],totalDbA:130,shapeDb:[-20,-10,-3,-6,-10,-20,-27,-42],character:{toneHz:80,toneShare:.4,modulationHz:80,modulationDepth:.4}},{id:"piston-heavy",name:"Heavy piston aircraft",kinds:["piston-heavy"],totalDbA:140,shapeDb:[-31,-12,-11,-9,-7,-6,-7,-11],character:{toneHz:84,toneShare:.4,modulationHz:84,modulationDepth:.36}},{id:"ultralight",name:"Ultralight",kinds:["ultralight"],totalDbA:124,shapeDb:[-16,-8,-5,-4,-9,-15,-23,-31],character:{toneHz:140,toneShare:.4}},{id:"helicopter-light",name:"Light helicopter",kinds:["helicopter-light"],totalDbA:134,shapeDb:[-15,-8,-4,-3,-6,-10,-16,-24],character:{modulationHz:20,modulationDepth:.5}},{id:"helicopter-medium",name:"Medium helicopter",kinds:["helicopter-medium"],totalDbA:138,shapeDb:[-14,-7,-4,-3,-6,-10,-16,-24],character:{modulationHz:22,modulationDepth:.5}},{id:"helicopter-heavy",name:"Heavy helicopter",kinds:["helicopter-heavy"],totalDbA:144,shapeDb:[-12,-6,-4,-4,-7,-11,-17,-25],character:{modulationHz:17,modulationDepth:.5}},{id:"military-jet",name:"Military jet",kinds:["military-jet"],totalDbA:152,shapeDb:[-26,-12,-6,-3,-2,-3,-7,-15]},{id:"glider",name:"Glider",kinds:["glider"],totalDbA:85,shapeDb:[-30,-22,-15,-10,-8,-8,-14,-22]},{id:"balloon",name:"Hot-air balloon",kinds:["balloon"],totalDbA:100,shapeDb:[-25,-15,-9,-5,-3,-6,-12,-20]},{id:"unmanned",name:"Unmanned aircraft",kinds:["unmanned"],totalDbA:88,shapeDb:[-40,-30,-20,-12,-6,-3,-3,-8],character:{toneHz:450,toneShare:1}}],ft=(b,t)=>b.map(e=>e+t-g.sumDb(b));function ne(b,t){if(!b)return;const e=t.toneRatio??1,a=t.toneGain??1;return{...b,...b.toneHz!==void 0?{toneHz:b.toneHz*e,toneShare:Math.min(1,(b.toneShare??0)*a)}:{},...b.humHz!==void 0?{humHz:b.humHz*e,humShare:Math.min(1,(b.humShare??0)*a)}:{}}}const St=Ot.map(b=>{const t=b.regimes===Y?"turbofan":void 0,e={id:b.id,name:b.name,soundPowerA:ft(b.shapeDb,b.totalDbA),character:b.character,directivity:t};if(!b.regimes)return e;const a={overflight:e};for(const[n,s]of Object.entries(b.regimes))a[n]={id:`${b.id}-${n}`,name:`${b.name}, ${n}`,soundPowerA:ft(b.shapeDb.map((i,o)=>i+s.shapeDb[o]),b.totalDbA+s.levelDb),character:ne(b.character,s),directivity:t};return{...e,regimes:a}});class M{static DEFAULT_AMBIENT_DB_A=35;static DETECTION_MARGIN_DB=3;static AMBIENT_SHAPE_DB=Dt.OUTDOOR_SHAPE_DB;static HEARING_FLOOR_DB_A=0;static ITERATIONS=30;static CONVERGED_MS=.5;static VELOCITY_STEP_MS=500;static CLIMB_MPS=2.5;static DESCENT_MPS=1.5;static LOW_M=3e3;static CLIMB_SPAN_MS=3e4;static noiseOfKind(t){const e=Ot.find(a=>a.kinds.includes(t));return St.find(a=>a.id===(e?.id??"turbofan-narrow-body"))}static bandsAt(t,e,a=g.STANDARD){const n=20*Math.log10(Math.max(e*1e3,1))+11;return g.OCTAVES.map((s,i)=>t.soundPowerA[i]-n-g.absorptionDbPerKm(s,a)*e)}static couldBeHeard(t,e,a=M.DEFAULT_AMBIENT_DB_A,n=g.STANDARD,s){const i=M.ambientBands(a,s);return Object.entries(t.regimes??{overflight:t}).some(([r,l])=>M.bandsAt(l,e,n).map((c,u)=>c+(l.directivity==="turbofan"?w.loudestDb(r)[u]:0)).some((c,u)=>c>=Math.max(i[u]+M.DETECTION_MARGIN_DB,M.HEARING_FLOOR_DB_A)))}static ambientBands(t,e=M.AMBIENT_SHAPE_DB){const a=g.sumDb(e);return e.map(n=>t+n-a)}static heardAt(t,e,a,n={}){const s=n.air??g.STANDARD,i=g.speedOfSound(s.temperatureC),o=t.points[t.points.length-1]?.t;if(o===void 0)return;let r=Math.min(a,o),l=N.positionAt(t,r);if(!l)return;let c=j.seenFrom(e,l.geo);for(let _=0;_<M.ITERATIONS;_++){const k=a-c.distanceKm*1e3*1e3/i,$=Math.abs(k-r);if(r=k,l=N.positionAt(t,r),!l)return;if(c=j.seenFrom(e,l.geo),$<M.CONVERGED_MS)break}const u=N.positionAt(t,a),d=u?j.seenFrom(e,u.geo):c,h=M.regimeAt(t,r,e),p=M.inRegime(n.noise??St[0],h),m=n.ambientDbA??M.DEFAULT_AMBIENT_DB_A,E=M.ambientBands(m,n.ambientShapeDb),O=M.emissionAngle(t,e,r),B=p.directivity==="turbofan"?w.bandsDb(O,h,i):void 0,v=n.ground===null?g.OCTAVES.map(()=>0):A.excessDb(c.altitudeDeg,n.ground,i),S=M.bandsAt(p,c.distanceKm,s).map((_,k)=>_+(B?.[k]??0)+v[k]),F=S.map((_,k)=>_>=Math.max(E[k]+M.DETECTION_MARGIN_DB,M.HEARING_FLOOR_DB_A)),x=S.indexOf(Math.max(...S)),L=F.lastIndexOf(!0);return{track:t,audible:F.some(Boolean),levelDbA:g.sumDb(S),bandsDbA:S,ambientDbA:m,delayS:(a-r)/1e3,emittedAtMs:r,sound:c,seen:d,lagDeg:M.angleBetween(c,d),dopplerRatio:M.doppler(t,e,r,i),dominantHz:g.OCTAVES[x],cutoffHz:L<0?void 0:g.OCTAVES[L],regime:h,noise:p,emissionAngleDeg:O}}static emissionAngle(t,e,a){const n=M.VELOCITY_STEP_MS,s=N.positionAt(t,a-n),i=N.positionAt(t,a+n),o=N.positionAt(t,a);if(!s||!i||!o)return 90;const r=d=>{const h=j.seenFrom(e,d),p=h.altitudeDeg*Math.PI/180,m=h.azimuthDeg*Math.PI/180,E=h.distanceKm*1e3;return[E*Math.cos(p)*Math.sin(m),E*Math.cos(p)*Math.cos(m),E*Math.sin(p)]},[l,c,u]=[r(s.geo),r(i.geo),r(o.geo)];return w.angleDeg(c.map((d,h)=>d-l[h]),u.map(d=>-d))}static regimeAt(t,e,a){const n=M.CLIMB_SPAN_MS,s=N.positionAt(t,e-n)??N.positionAt(t,e),i=N.positionAt(t,e+n)??N.positionAt(t,e),o=N.positionAt(t,e);if(!s||!i||!o)return"overflight";const r=(Math.min(e+n,t.points[t.points.length-1].t)-Math.max(e-n,t.points[0].t))/1e3;if(r<=0)return"overflight";const l=(i.altitudeFt-s.altitudeFt)*.3048/r;return o.altitudeFt*.3048-a.heightM>M.LOW_M?"overflight":l>M.CLIMB_MPS?"takeoff":l<-1.5?"approach":"overflight"}static inRegime(t,e){return t.regimes?.[e]??t}static profile(t,e,a,n,s=2e3,i={}){const o=[];let r,l,c=a;for(let u=a;u<=n;u+=s){const d=M.heardAt(t,e,u,i);d&&(!l||d.levelDbA>l.levelDbA)&&(l=d,c=u),d?.audible?r?r.untilMs=u:o.push(r={fromMs:u,untilMs:u}):r=void 0}return{track:t,audible:o,peakDbA:l?.levelDbA??-1/0,peakAtMs:c,peakDelayS:l?.delayS??0}}static angleBetween(t,e){const a=c=>{const u=c.altitudeDeg*Math.PI/180,d=c.azimuthDeg*Math.PI/180;return[Math.cos(u)*Math.sin(d),Math.cos(u)*Math.cos(d),Math.sin(u)]},[n,s,i]=a(t),[o,r,l]=a(e);return Math.acos(Math.min(1,Math.max(-1,n*o+s*r+i*l)))*180/Math.PI}static doppler(t,e,a,n){const s=M.VELOCITY_STEP_MS,i=N.positionAt(t,a-s),o=N.positionAt(t,a+s);if(!i||!o)return 1;const r=j.seenFrom(e,i.geo).distanceKm*1e3,l=j.seenFrom(e,o.geo).distanceKm*1e3;return 1/(1-(r-l)/(2*s/1e3)/n)}}class Ae{static at(t,e,a,n,s={}){const i=N.seenFrom(t,a,n);if(!i)return;const o=U.of(e),r=M.heardAt(t,a,n,{noise:M.noiseOfKind(o.kind),...s});return{hex:`${t.nonIcao?"~":""}${t.icao.toString(16).padStart(6,"0")}`,registration:e?.registration,typeCode:o.code??e?.type,name:o.basis==="nothing"?void 0:o.name,kind:o.kind,basis:o.basis,military:e?.military===!0,restricted:e?.restricted===!0,altitudeFt:i.altitudeFt,groundSpeedKt:i.groundSpeedKt,trackDeg:i.trackDeg,sky:i.sky,angularRateDegPerS:i.angularRateDegPerS,hearing:r&&{audible:r.audible,levelDbA:r.levelDbA,ambientDbA:r.ambientDbA,delayS:r.delayS,lagDeg:r.lagDeg,dopplerRatio:r.dopplerRatio,cutoffHz:r.cutoffHz,dominantHz:r.dominantHz}}}}class T{static REFERENCE_AMPLITUDE=.02;static MASKING_RANGE_DB=6;static KNEE_DB=20;static COMPRESSION_RATIO=1;static EXPANSION_RATIO=1.8;static HEADROOM_DB=Dt.HEADROOM_DB;static DEFAULT_MAX_VOICES=4;static candidates(t,e,a,n,s={}){const i=new Set;for(const[o,r]of t){const l=M.noiseOfKind(U.of(e.get(a(r))).kind);let c=1/0;for(const u of r.points)c=Math.min(c,j.seenFrom(n,{lat:u.lat,lng:u.lng,heightM:u.altitudeFt*.3048}).distanceKm);M.couldBeHeard(l,c,s.ambientDbA,s.air,s.ambientShapeDb)&&i.add(o)}return i}static voices(t,e,a,n,s,i,o={}){const r=[];for(const l of t){const c=e.get(l);if(!c||o.only?.(l)===!1)continue;const u=o.kindOf?.(l)??U.of(a.get(n(c))).kind,d=o.noiseOf?.(l)??M.noiseOfKind(u),h=M.heardAt(c,s,i,{...o,noise:d});if(!h?.audible)continue;const p=o.throughDb,m=p?h.bandsDbA.map((E,O)=>E-(p[O]??0)):h.bandsDbA;p&&!T.noticed(m,h.ambientDbA,o.ambientShapeDb)||r.push({id:l,kind:u,bandAmplitudes:T.bandAmplitudes(m,h.ambientDbA,o.referenceAmplitude,{ambientShapeDb:o.ambientShapeDb,expandUnderKnee:o.expandUnderKnee}),levelDbA:p?g.sumDb(m):h.levelDbA,distanceKm:h.sound.distanceKm,dopplerRatio:h.dopplerRatio,azimuthDeg:h.sound.azimuthDeg,elevationDeg:h.sound.altitudeDeg,character:h.noise.character,groundEcho:o.ground===null?void 0:A.echo(h.sound.altitudeDeg,o.ground,g.speedOfSound((o.air??g.STANDARD).temperatureC))})}return r.sort((l,c)=>c.levelDbA-l.levelDbA).slice(0,o.maxVoices??T.DEFAULT_MAX_VOICES)}static noticed(t,e,a){const n=M.ambientBands(e,a);return t.some((s,i)=>s>=n[i]+M.DETECTION_MARGIN_DB)}static bandAmplitudes(t,e,a=T.REFERENCE_AMPLITUDE,n={}){const s=M.ambientBands(e,n.ambientShapeDb),i=n.expandUnderKnee===!1?1:T.EXPANSION_RATIO,o=M.DETECTION_MARGIN_DB,r=g.sumDb(t),l=r-e,c=l>=T.KNEE_DB?T.KNEE_DB+(l-T.KNEE_DB)/T.COMPRESSION_RATIO:T.KNEE_DB-(T.KNEE_DB-l)*i,u=a*10**((c-T.HEADROOM_DB)/20);return t.map((d,h)=>{const p=Math.min(1,Math.max(0,(d-s[h]-o+T.MASKING_RANGE_DB)/(2*T.MASKING_RANGE_DB)));return p*p*(3-2*p)*u*10**((d-r)/20)})}static BANDS_HZ=g.OCTAVES}class Q{static RUMBLE_BELOW_HZ=500;static DULL_BELOW_HZ=2e3;static PITCH_NOTICED=.03;static text(t,e,a,n){const s=(d,h=0)=>d.toLocaleString(n,{maximumFractionDigits:h}),i=(d,h)=>d.replace(/\{(\w+)\}/g,(p,m)=>h[m]??`{${m}}`),o=[],r=[t.registration,t.name].filter(Boolean).join(" · ");o.push(r||i(e.unnamed,{hex:t.hex}));const l=[i(e.altitude,{value:s(Math.round(t.altitudeFt/100)*100)}),t.groundSpeedKt===void 0?void 0:i(e.speed,{value:s(Math.round(t.groundSpeedKt))}),t.trackDeg===void 0?void 0:i(e.heading,{value:s(Math.round(t.trackDeg))})].filter(Boolean);o.push(l.join(" · ")),o.push(i(e.position,{distance:s(t.sky.distanceKm,t.sky.distanceKm<10?1:0),elevation:s(Math.round(t.sky.altitudeDeg)),bearing:a(t.sky.azimuthDeg)}));const c=t.hearing;if(!c)o.push(e.soundUnknown);else if(!c.audible)o.push(i(e.inaudible,{level:s(Math.round(c.levelDbA)),ambient:s(Math.round(c.ambientDbA))}));else{const d=c.cutoffHz??0,h=d<=Q.RUMBLE_BELOW_HZ?e.rumble:d<=Q.DULL_BELOW_HZ?e.muffled:e.broad,p=c.dopplerRatio-1,m=Math.abs(p)<Q.PITCH_NOTICED?"":i(p>0?e.pitchHigher:e.pitchLower,{percent:s(Math.round(Math.abs(p)*100))});o.push(i(e.heard,{level:s(Math.round(c.levelDbA)),delay:s(Math.round(c.delayS)),lag:s(Math.round(c.lagDeg)),character:i(h,{cutoff:s(d)}),pitch:m}))}t.contrail&&o.push(i(t.contrail.persistent?e.contrailPersistent:e.contrailShort,{rhi:s(Math.round(t.contrail.iceRelativeHumidity*100))}));const u=[t.military?e.military:void 0,t.restricted?e.restricted:void 0].filter(Boolean);return u.length>0&&o.push(u.join(" · ")),o.push(e.candidate),o.join(`
2
+ `)}}class nt{static EFFICIENCY={"airliner-narrow":.34,"airliner-wide":.38,"regional-jet":.32,"business-jet":.3,"military-jet":.22,unknown:.34};static efficiencyOf(t){return nt.EFFICIENCY[t]}}class f{static EMISSION_INDEX_WATER=1.25;static COMBUSTION_HEAT=432e5;static AIR_HEAT_CAPACITY=1004;static MOLAR_MASS_RATIO=.622;static FT_TO_M=.3048;static TROPOPAUSE_M=11e3;static TROPOPAUSE_HPA=226.32;static ISOTHERMAL_SCALE_HEIGHT_M=6341.62;static pressureAtAltitudeFt(t){const e=t*f.FT_TO_M;return e<=f.TROPOPAUSE_M?1013.25*(1-225577e-10*e)**5.25588:f.TROPOPAUSE_HPA*Math.exp(-(e-f.TROPOPAUSE_M)/f.ISOTHERMAL_SCALE_HEIGHT_M)}static saturationOverWaterPa(t){const e=t+273.15;return Math.exp(54.842763-6763.22/e-4.21*Math.log(e)+367e-6*e+Math.tanh(.0415*(e-218.8))*(53.878-1331.22/e-9.44523*Math.log(e)+.014025*e))}static saturationOverIcePa(t){const e=t+273.15;return Math.exp(9.550426-5723.265/e+3.53068*Math.log(e)-.00728332*e)}static iceRelativeHumidity(t,e){return e*f.saturationOverWaterPa(t)/f.saturationOverIcePa(t)}static mixingSlope(t,e){return f.EMISSION_INDEX_WATER*f.AIR_HEAT_CAPACITY*t*100/(f.MOLAR_MASS_RATIO*f.COMBUSTION_HEAT*(1-e))}static criticalTemperatureC(t,e){const a=Math.log(f.mixingSlope(t,e)-.053);return-46.46+9.43*a+.72*a*a}static requiredHumidity(t,e,a){const n=f.criticalTemperatureC(t,e);return(f.mixingSlope(t,e)*(a-n)+f.saturationOverWaterPa(n))/f.saturationOverWaterPa(a)}static evaluate(t,e){const a=f.criticalTemperatureC(t.pressureHpa,e),n=f.requiredHumidity(t.pressureHpa,e,t.temperatureC),s=f.iceRelativeHumidity(t.temperatureC,t.relativeHumidity),i=t.temperatureC<a&&t.relativeHumidity>=n;return{forms:i,persistent:i&&s>=1,criticalTemperatureC:a,requiredHumidity:n,iceRelativeHumidity:s}}}class G{static HOLD_MS=36e5;static DEG=Math.PI/180;static GAS_CONSTANT_OVER_GRAVITY=287.05/9.80665;static at(t,e,a){if(t.length===0)return;const n=t[0],s=t[t.length-1];if(e<n.t-G.HOLD_MS||e>s.t+G.HOLD_MS)return;const i=t.findIndex(h=>h.t>e),o=i===0?t[0]:t[(i===-1?t.length:i)-1],r=i===-1||i===0?o:t[i],l=G.atLevel(o,a),c=G.atLevel(r,a);if(!l||!c)return;const u=r.t>o.t?Math.min(1,Math.max(0,(e-o.t)/(r.t-o.t))):0,d=(h,p)=>h+(p-h)*u;return{pressureHpa:a,temperatureC:d(l.temperatureC,c.temperatureC),relativeHumidity:d(l.relativeHumidity,c.relativeHumidity),driftEastMs:d(l.driftEastMs,c.driftEastMs),driftNorthMs:d(l.driftNorthMs,c.driftNorthMs),shearPerS:d(l.shearPerS,c.shearPerS)}}static atLevel(t,e){const a=t.levels;for(let n=0;n+1<a.length;n++){const s=a[n],i=a[n+1];if(e>s.pressureHpa||e<i.pressureHpa)continue;const o=(Math.log(s.pressureHpa)-Math.log(e))/(Math.log(s.pressureHpa)-Math.log(i.pressureHpa)),r=(h,p)=>h+(p-h)*o,l=h=>{const p=h.windFromDeg*G.DEG;return{east:-h.windSpeedMs*Math.sin(p),north:-h.windSpeedMs*Math.cos(p)}},c=l(s),u=l(i),d=G.GAS_CONSTANT_OVER_GRAVITY*((s.temperatureC+i.temperatureC)/2+273.15)*Math.log(s.pressureHpa/i.pressureHpa);return{pressureHpa:e,temperatureC:r(s.temperatureC,i.temperatureC),relativeHumidity:r(s.relativeHumidity,i.relativeHumidity),driftEastMs:r(c.east,u.east),driftNorthMs:r(c.north,u.north),shearPerS:Math.hypot(u.east-c.east,u.north-c.north)/d}}}}class K{static MIN_ALTITUDE_FT=2e4;static DENSE_MS=3e5;static SPARSE_STEP_MS=6e4;static SATURATION_HORIZON_MS=3*36e5;static SATURATION_STEP_MS=6e5;static PRESSURE_STEP_HPA=5;static plan(t,e,a,n){if(a.length===0)return[];const s=[],i=new Map,o=(r,l,c)=>{const u=Math.round(l/K.PRESSURE_STEP_HPA)*K.PRESSURE_STEP_HPA,d=K.SATURATION_STEP_MS,h=Math.floor(r/d)*d,p=`${u}|${h}`,m=i.get(p);if(m!==void 0)return m+(h-r)/1e3;let E=1/0;for(let O=d;O<=K.SATURATION_HORIZON_MS;O+=d){const B=G.at(a,h+O,u);if(!B)break;if(f.evaluate(B,c).iceRelativeHumidity<1){E=O/1e3;break}}return i.set(p,E),E+(h-r)/1e3};for(const r of t.objects){const l=t.flights.get(r.id),c=r.track;if(!l||!c||c.length!==l.points.length)continue;const u=e?.get(Z.keyOf(l))??U.of(void 0),d=nt.efficiencyOf(u.kind);if(d===void 0)continue;const h=[];let p=-1/0;c.forEach((m,E)=>{if(m.t<-K.DENSE_MS&&E+1<c.length&&m.t-p<K.SPARSE_STEP_MS)return;p=m.t;const O=l.points[E],B=f.pressureAtAltitudeFt(O.altitudeFt),v=G.at(a,n+m.t,B),S=v&&f.evaluate(v,d);h.push({tMs:m.t,eastM:m.eastM,northM:m.northM,upM:m.altitudeM??0,forms:S?.forms??!1,persistent:S?.persistent??!1,lifetimeS:S?ot.lifetimeS(S.iceRelativeHumidity):0,driftEastMs:v?.driftEastMs??0,driftNorthMs:v?.driftNorthMs??0,shearPerS:v?.shearPerS??ot.TYPICAL_SHEAR_PER_S,iceRelativeHumidity:S?.iceRelativeHumidity??0,saturatedForS:S?.persistent?o(n+m.t,B,d):0})}),h.some((m,E)=>m.forms&&h[E+1]?.forms)&&s.push({id:r.id,spanM:u.spanM,points:h})}return s}}class y{static DEFAULT_KIND=V.DEFAULT_KIND;static STEP_MS=1e3;static LEAD_MS=12e4;static FT_PER_M=1/.3048;static ID_PREFIX="decor:";tracks=new Map;static kindOf(t,e){return V.kindOf(t,e)}static flies(t){return V.flies(t)}static ridden(t,e,a,n=()=>{}){const s=st.originOf(t);if(s)for(const i of t.decor){const o=V.kindOf(i,n(i));if(!o)continue;const r=i.sizeM,l=Math.max(r?.widthM??0,r?.lengthM??0,r?.heightM??0)/2;if(l<=0)continue;const c=y.pointAt(i,e,s),{distanceKm:u}=j.seenFrom(a,{lat:c.lat,lng:c.lng,heightM:c.altitudeFt/y.FT_PER_M});if(u*1e3<=l)return{decor:i,kind:o}}}voices(t,e,a,n={},s=()=>{}){const i=st.originOf(t);if(!i)return[];const o=new Map,r=new Map,l=Math.max(t.observerTrack.duration,(t.event.durationSeconds??0)*1e3),c=y.ridden(t,e,a,s)?.decor;for(const u of t.decor){const d=u===c?void 0:V.kindOf(u,s(u));if(!d)continue;const h=`${y.ID_PREFIX}${u.id}`;o.set(h,this.trackOf(u,h,i,l)),r.set(h,d)}for(const u of this.tracks.keys())o.has(u)||this.tracks.delete(u);return o.size===0?[]:T.voices(new Set(o.keys()),o,new Map,u=>String(u.icao),a,e,{...n,kindOf:u=>r.get(u)})}trackOf(t,e,a,n){const s=JSON.stringify([t.track,t.eastM,t.northM,t.headingDeg,a.lat,a.lng,n]),i=this.tracks.get(e);if(i?.key===s)return i.track;const o=[];for(let d=0;d<=n;d+=y.STEP_MS)o.push(y.pointAt(t,d,a));(o.length===0||o[o.length-1].t<n)&&o.push(y.pointAt(t,n,a));const r=o[0],l=o[1]??r,c=d=>(l[d]-r[d])/(l.t-r.t||1);for(let d=y.STEP_MS*10;d<=y.LEAD_MS;d+=y.STEP_MS*10)o.unshift({t:-d,lat:r.lat-c("lat")*d,lng:r.lng-c("lng")*d,altitudeFt:Math.max(0,r.altitudeFt-c("altitudeFt")*d)});const u={icao:y.hash(e),nonIcao:!0,points:o};return this.tracks.set(e,{key:s,track:u}),u}static pointAt(t,e,a){const n=Tt(t,e),s=at(n.eastM,-n.northM,a.lat,a.lng);return{t:e,lat:s.lat,lng:s.lng,altitudeFt:n.altitudeM*y.FT_PER_M}}static hash(t){let e=0;for(let a=0;a<t.length;a++)e=e*31+t.charCodeAt(a)>>>0;return e}}class z{static CABIN_DB_A={"airliner-wide":76,"airliner-narrow":78,"regional-jet":78,"business-jet":82,"regional-turboprop":84,"turboprop-light":88,"light-piston":92,"piston-heavy":90,"military-jet":95,ultralight:95,"helicopter-light":95,"helicopter-medium":96,"helicopter-heavy":98,glider:70,balloon:60};static JET_CABINS=["airliner-narrow","airliner-wide","airliner-supersonic","regional-jet","business-jet"];static JET_CABIN_SHAPE_DB=[-3,-4,-13,-24,-33,-36,-42,-55];static DEFAULT_DB_A=78;static voice(t,e={}){const a=it.aircraftOf(t);if(!a)return;const n=M.noiseOfKind(a),s=it.insulationDb(t),i=z.JET_CABINS.includes(a)&&t?.windowsOpen!==!0?z.JET_CABIN_SHAPE_DB.map((c,u)=>c+g.aWeightingDb(g.OCTAVES[u])):n.soundPowerA.map((c,u)=>c-s[u]),o=g.sumDb(i),r=z.levelDbA(a,t?.noise),l=i.map(c=>c-o+r);return{id:"observer:cabin",kind:a,bandAmplitudes:T.bandAmplitudes(l,e.ambientDbA??0,e.referenceAmplitude,{ambientShapeDb:e.ambientShapeDb,expandUnderKnee:e.expandUnderKnee}),levelDbA:r,inside:!0,distanceKm:0,dopplerRatio:1,azimuthDeg:0,elevationDeg:0,character:n.character}}static levelDbA(t,e){return(z.CABIN_DB_A[t]??z.DEFAULT_DB_A)+20*Math.log10(Math.max(e??1,.01))}}class W{static STEP_MS=250;static FT_PER_M=1/.3048;static ID_PREFIX="body:";tracks=new Map;static noiseOf(t){const e=M.noiseOfKind(t.kind),a=t.quieterDb??0;return a===0?e:{...e,id:`${e.id}-${a}dB`,soundPowerA:e.soundPowerA.map(n=>n-a)}}voices(t,e,a,n,s,i,o={}){const r=new Map,l=new Map,c=new Map;for(const d of t){if(!d.sound)continue;const h=`${W.ID_PREFIX}${d.id}`,p=this.trackOf(d,h,e,n,i);p&&(r.set(h,p),l.set(h,d.sound.kind),c.set(h,W.noiseOf(d.sound)))}for(const d of this.tracks.keys())r.has(d)||this.tracks.delete(d);if(r.size===0)return[];const u=at(a.eastM,-a.northM,n.lat,n.lng);return T.voices(new Set(r.keys()),r,new Map,d=>String(d.icao),{lat:u.lat,lng:u.lng,heightM:a.upM},s,{...o,kindOf:d=>l.get(d),noiseOf:d=>c.get(d)})}trackOf(t,e,a,n,s){const i=`${n.lat},${n.lng},${s}`,o=this.tracks.get(e);if(o&&o.body===t&&o.origin===i)return o.track;const r=[];for(let c=-12e4;c<=s;c+=W.STEP_MS){const u=a(t,c);if(!u)continue;const d=at(u.eastM,-u.northM,n.lat,n.lng);r.push({t:c,lat:d.lat,lng:d.lng,altitudeFt:u.upM*W.FT_PER_M})}if(r.length<2)return;const l={icao:W.hash(e),nonIcao:!0,points:r};return this.tracks.set(e,{body:t,origin:i,track:l}),l}static hash(t){let e=0;for(let a=0;a<t.length;a++)e=e*31+t.charCodeAt(a)>>>0;return e}}export{q as AircraftAudio,K as AircraftContrails,U as AircraftModels,Dt as AmbientNoise,W as BodyHearing,z as CabinHearing,y as DecorAircraftHearing,R as TrafficDecor,Ae as TrafficInfos,T as TrafficSound,Q as TrafficTooltip,Ee as UPPER_AIR_SOURCES};
@@ -1 +1 @@
1
- import{e as m}from"./rr0-ufoathome.mjs";const f=[500,400,300,250,200,150],w=["temperature","relative_humidity","wind_speed","wind_direction"],y="2022-01-01",_=.25;class S{fetchImpl;baseUrl;cache=new Map;constructor(t={}){this.fetchImpl=t.fetchImpl??fetch.bind(globalThis),this.baseUrl=t.baseUrl??"https://historical-forecast-api.open-meteo.com/v1/forecast"}between(t,n,r){const o=new Date(n).toISOString().slice(0,10);if(o<y)return Promise.resolve({status:"outside"});const i=new Date(r).toISOString().slice(0,10),s=`${`${Math.round(t.lat/_)},${Math.round(t.lng/_)}`}|${o}|${i}`;let e=this.cache.get(s);return e||(e=this.read(t,o,i),this.cache.set(s,e),e.then(a=>{a.status==="failed"&&this.cache.delete(s)})),e}async read(t,n,r){const o=f.flatMap(s=>w.map(e=>`${e}_${s}hPa`)),i=new URLSearchParams({latitude:String(t.lat),longitude:String(t.lng),start_date:n,end_date:r,hourly:o.join(","),wind_speed_unit:"ms",timezone:"UTC"}),c=`${this.baseUrl}?${i}`;try{const s=await this.fetchImpl(c);if(!s.ok)return{status:"failed"};const e=await s.json();return this.decode(e,{id:"open-meteo-forecast",name:"Open-Meteo (historical forecast)",url:c})}catch{return{status:"failed"}}}decode(t,n){const r=t.hourly;if(!r?.time)return{status:"outside"};const o=[];return r.time.forEach((i,c)=>{const s=[];for(const e of f){const a=d=>r[`${d}_${e}hPa`]?.[c],l=a("temperature"),h=a("relative_humidity"),u=a("wind_speed"),p=a("wind_direction");if([l,h,u,p].some(d=>d==null))return;s.push({pressureHpa:e,temperatureC:l,relativeHumidity:h/100,windSpeedMs:u,windFromDeg:p})}o.push({t:Date.parse(`${i}Z`),levels:s})}),o.length>0?{status:"found",samples:o,source:n}:{status:"outside"}}}const U=m.point("upperAir").provide(m.BUILT_IN,[{id:"open-meteo-forecast",name:"Open-Meteo (historical forecast)",credit:"Weather data by Open-Meteo.com, CC BY 4.0",creditUrl:"https://open-meteo.com/en/docs/historical-forecast-api",create:()=>new S}]);export{U};
1
+ import{g as m}from"./rr0-ufoathome.mjs";const f=[500,400,300,250,200,150],w=["temperature","relative_humidity","wind_speed","wind_direction"],g="2022-01-01",_=.25;class y{fetchImpl;baseUrl;cache=new Map;constructor(t={}){this.fetchImpl=t.fetchImpl??fetch.bind(globalThis),this.baseUrl=t.baseUrl??"https://historical-forecast-api.open-meteo.com/v1/forecast"}between(t,n,r){const o=new Date(n).toISOString().slice(0,10);if(o<g)return Promise.resolve({status:"outside"});const i=new Date(r).toISOString().slice(0,10),s=`${`${Math.round(t.lat/_)},${Math.round(t.lng/_)}`}|${o}|${i}`;let e=this.cache.get(s);return e||(e=this.read(t,o,i),this.cache.set(s,e),e.then(a=>{a.status==="failed"&&this.cache.delete(s)})),e}async read(t,n,r){const o=f.flatMap(s=>w.map(e=>`${e}_${s}hPa`)),i=new URLSearchParams({latitude:String(t.lat),longitude:String(t.lng),start_date:n,end_date:r,hourly:o.join(","),wind_speed_unit:"ms",timezone:"UTC"}),c=`${this.baseUrl}?${i}`;try{const s=await this.fetchImpl(c);if(!s.ok)return{status:"failed"};const e=await s.json();return this.decode(e,{id:"open-meteo-forecast",name:"Open-Meteo (historical forecast)",url:c})}catch{return{status:"failed"}}}decode(t,n){const r=t.hourly;if(!r?.time)return{status:"outside"};const o=[];return r.time.forEach((i,c)=>{const s=[];for(const e of f){const a=d=>r[`${d}_${e}hPa`]?.[c],l=a("temperature"),h=a("relative_humidity"),u=a("wind_speed"),p=a("wind_direction");if([l,h,u,p].some(d=>d==null))return;s.push({pressureHpa:e,temperatureC:l,relativeHumidity:h/100,windSpeedMs:u,windFromDeg:p})}o.push({t:Date.parse(`${i}Z`),levels:s})}),o.length>0?{status:"found",samples:o,source:n}:{status:"outside"}}}const U=m.point("upperAir").provide(m.BUILT_IN,[{id:"open-meteo-forecast",name:"Open-Meteo (historical forecast)",credit:"Weather data by Open-Meteo.com, CC BY 4.0",creditUrl:"https://open-meteo.com/en/docs/historical-forecast-api",create:()=>new y}]);export{U};
@@ -0,0 +1 @@
1
+ import{g as v}from"./GeoProjection-DvqDbRIx.js";const S=Math.PI/180,C=180/Math.PI,$=256,R=19,B=1.25;function z(e,t){return 156543.03392*Math.cos(e*S)/2**t}function D(e,t){return z(e,t)*$}function U(e,t){let n=0;for(;n<R&&D(e,n+1)>=t;)n++;return n}function A(e,t){return D(e,t)}function X(e,t){const n=t*B;let a=0;for(;a<R&&z(e,a)>n;)a++;return a}function _(e){const t=e*S;return(1-Math.log(Math.tan(t)+1/Math.cos(t))/Math.PI)/2}function Z(e,t,n){const a=2**n;return{x:(e+180)/360*a,y:_(t)*a}}function Q(e,t,n){const a=_(e.north),o=_(e.south);return{x:(t-e.west)/(e.east-e.west),y:(_(n)-a)/(o-a)}}function Y(e,t,n){const{x:a,y:o}=Z(e,t,n);return{x:Math.floor(a),y:Math.floor(o),z:n}}function N(e){const t=2**e.z,n=e.x/t*360-180,a=(e.x+1)/t*360-180,o=L(e.y,t);return{south:L(e.y+1,t),north:o,west:n,east:a}}function L(e,t){const n=e/t;return Math.atan(Math.sinh(Math.PI*(1-2*n)))*C}function G(e,t,n,a){const o=Y(e,t,n),h=Math.floor(a/2),s=[];for(let c=-h;c<=h;c++)for(let m=-h;m<=h;m++)s.push({x:o.x+m,y:o.y+c,z:n});const g=s.map(N),f={south:Math.min(...g.map(c=>c.south)),north:Math.max(...g.map(c=>c.north)),west:Math.min(...g.map(c=>c.west)),east:Math.max(...g.map(c=>c.east))};return{tiles:s,bounds:f}}const u=256,k=3,W=129,j=7,q=32768;class V{fetchImpl;tileUrlTemplate;constructor(t={}){this.fetchImpl=t.fetchImpl??fetch.bind(globalThis),this.tileUrlTemplate=t.tileUrlTemplate??"https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"}async getElevationGrid(t,n){const a=(t.south+t.north)/2,o=(t.west+t.east)/2,h=Math.abs(v(a,t.east,a,t.west).x),s=Math.abs(v(t.north,o,t.south,o).z),g=Math.max(h,s);let f=U(a,g),c=k;if(n.width>=W){const i=l=>2*Math.ceil((g/A(a,l)+1)/2)+1;let M=X(a,g/(n.width-1)/2);for(;M>f&&i(M)>j;)M--;M>f&&(f=M,c=i(M))}const{tiles:m}=G(o,a,f,c),x=c*u,p=new Float32Array(x*x),r=m[0];await Promise.all(m.map(i=>this.decodeTileInto(i,r,p,x)));const w=new Float32Array(n.width*n.height);for(let i=0;i<n.height;i++){const M=t.north+(t.south-t.north)*(i/(n.height-1));for(let l=0;l<n.width;l++){const I=t.west+(t.east-t.west)*(l/(n.width-1));w[i*n.width+l]=this.sampleAt(M,I,f,r,p,x)}}return{heights:w,width:n.width,height:n.height,bounds:t}}async decodeTileInto(t,n,a,o){const h=this.tileUrlTemplate.replace("{z}",String(t.z)).replace("{x}",String(t.x)).replace("{y}",String(t.y)),s=await this.fetchImpl(h);if(!s.ok)throw new Error(`Elevation tile fetch failed (${s.status}): ${h}`);const g=await createImageBitmap(await s.blob()),f=document.createElement("canvas");f.width=u,f.height=u;const c=f.getContext("2d");if(!c)throw new Error("2D canvas context unavailable");c.drawImage(g,0,0);const{data:m}=c.getImageData(0,0,u,u),x=(t.x-n.x)*u,p=(t.y-n.y)*u;for(let r=0;r<u;r++)for(let w=0;w<u;w++){const i=(r*u+w)*4,M=m[i]*256+m[i+1]+m[i+2]/256-q,l=x+w,I=p+r;a[I*o+l]=M}}sampleAt(t,n,a,o,h,s){const{x:g,y:f}=Z(n,t,a),c=(g-o.x)*u,m=(f-o.y)*u,x=Math.max(0,Math.min(s-1,Math.floor(c))),p=Math.max(0,Math.min(s-1,Math.floor(m))),r=Math.min(s-1,x+1),w=Math.min(s-1,p+1),i=c-x,M=m-p,l=h[p*s+x],I=h[p*s+r],E=h[w*s+x],d=h[w*s+r],y=l+(I-l)*i,T=E+(d-E)*i;return y+(T-y)*M}}const P=256,H=5;async function b(e,t,n,a){const o=(e.south+e.north)/2,h=(e.west+e.east)/2,s=Math.abs(v(o,e.east,o,e.west).x),g=Math.abs(v(e.north,h,e.south,h).z),f=Math.max(s,g),{zoom:c,gridSize:m}=J(o,f,Math.max(t.width,t.height)),{tiles:x,bounds:p}=G(h,o,c,m),r=m*P,w=document.createElement("canvas");w.width=r,w.height=r;const i=w.getContext("2d");if(!i)throw new Error("2D canvas context unavailable");const M=x[0];await Promise.all(x.map(async d=>{const y=n(d),T=await a(y);if(!T.ok)throw new Error(`Imagery tile fetch failed (${T.status}): ${y}`);const O=await createImageBitmap(await T.blob());i.drawImage(O,(d.x-M.x)*P,(d.y-M.y)*P)}));const l=Math.min(Math.max(t.width,t.height),r);if(l===r)return{source:w,width:r,height:r,bounds:p};const I=document.createElement("canvas");I.width=l,I.height=l;const E=I.getContext("2d");if(!E)throw new Error("2D canvas context unavailable");return E.drawImage(w,0,0,r,r,0,0,l,l),{source:I,width:l,height:l,bounds:p}}function J(e,t,n){let a=X(e,t/Math.max(1,n)),o=F(e,a,t);for(;o>H&&a>0;)a--,o=F(e,a,t);return{zoom:a,gridSize:o,mPerPixel:A(e,a)/P}}function F(e,t,n){const a=Math.ceil(n/2/A(e,t));return Math.max(3,2*a+1)}export{V as A,b as a,Q as f};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rr0/ufoathome",
3
3
  "type": "module",
4
- "version": "0.200.0",
4
+ "version": "0.202.0",
5
5
  "description": "UFO@home — record and replay a UFO sighting's shape, movement and appearance",
6
6
  "author": "Jérôme Beau <rr0@rr0.org> (https://rr0.org)",
7
7
  "license": "MIT",
@@ -67,7 +67,9 @@
67
67
  "build:aircraft-sound-reference": "node --import tsx scripts/build-aircraft-sound-reference.ts",
68
68
  "build:aircraft": "node --import tsx scripts/build-aircraft-archive.ts",
69
69
  "build:aircraft-demo": "node --import tsx scripts/build-aircraft-demo-slice.ts",
70
- "fetch:aircraft": "node --import tsx scripts/fetch-aircraft-release.ts"
70
+ "fetch:aircraft": "node --import tsx scripts/fetch-aircraft-release.ts",
71
+ "build:igrf": "node --import tsx scripts/build-igrf.ts",
72
+ "build:kp": "node --import tsx scripts/build-kp-archive.ts"
71
73
  },
72
74
  "dependencies": {
73
75
  "@anthropic-ai/sdk": "^0.124.0",
@@ -1 +0,0 @@
1
- const e={title:"Title",time:"When",by:"Interviewer",medium:"Medium",witness:"Witness",witnessNone:"—",summary:"Description",transcript:"Transcript",transcriptHint:"Address of the anonymised transcript file (optional)",summaryTab:"Summary",fileTab:"File",importFile:"Load a file",importFileHint:"JSON, text, WebVTT, SRT",inputFileFromFile:"from your disk",inputFileFromUrl:"from an address",inputFileModeHint:"Click to give it the other way: a file of yours, or an address",inputFileLoad:"Load",saveButton:"Save",loading:"Loading the transcript…",invalid:"This text is not valid JSON yet: the interview keeps the last transcript it understood.",notATranscript:"That file is not an interview transcript (it has no segments).",loadFailed:"That transcript could not be read.",editorLabel:"Interview transcript as JSON",byHint:"RR0 people ids, separated by commas",exchangesTab:"Exchanges",exchangesEmpty:"Nothing was said yet.",redacted:"Passage removed",colon:": ",proofreadAll:"Proofread by everyone.",proofreadPending:"Not proofread yet by: {names}",play:"Play",pause:"Pause",recordings:"Recordings ({n})",recordingsTitle:"Recordings",recordingKind:"Type",recordingAudio:"Audio",recordingVideo:"Video",recordingFile:"File",recordingOffset:"Offset",recordingRemove:"Remove",recordingAdd:"Add a recording",close:"Close",noRecording:"No recording: add the audio or video file of the interview to listen to it.",redactSelection:"Take out the selection",redactedWords:"passage taken out · {n} word(s)",redactAll:"Take all out",redactRestore:"Restore",restoreAll:"Restore all",editTurn:"Edit",deleteTurn:"Delete this turn",saveTurn:"Save",cancelTurn:"Cancel",turnEditHint:"⟦ … ⟧ marks a passage taken out",selectionOnePassage:"The selection has to stay within one passage not taken out.",reviewedBy:"{name} has proofread",linkMoment:"Link to a moment…",momentLabel:"Moment {k} · {text}",unlinkMoment:"Remove this link",noMoments:"The observation has no named moment yet.",redactReasonLabel:"Reason",redactReasonHint:"Said of every passage taken out next: the reader of the published interview sees it in the passage's place",redactReasons:["private life","identifying detail","off topic","recognition error"],redactReason:"taken out at proofreading",roles:{interviewer:"Interviewer",interviewee:"Interviewee",witness:"Witness",unattributed:"Voice to attribute"},transcribe:"Transcribe the recording",transcribeWith:"with",transcribeHint:"Turns the interview's recording into turns of speech, with their times. Whose each voice is stays to say, turn by turn (Who speaks), then to have proofread.",transcribeLocal:"Nothing leaves your computer. The first time, the model (about {mb} MB) is downloaded, then kept by the browser.",transcribeSends:"The recording will be sent to {name} to be transcribed.",transcribeReplaces:"The current transcript will be replaced.",transcribeNoRecording:"There is no recording of the interview yet: the button opens the window where you add it.",transcribeKey:"Key",transcribeKeyGet:"get a key",transcribeKeyHint:"Kept in memory until the page is reloaded, never stored",transcribeReading:"Reading the recording…",transcribeLoading:"Downloading the model: {loaded} of {total} MB",transcribeLoadingSoFar:"Downloading the model: {loaded} MB",transcribeSending:"Sending the recording to {name}…",transcribeWaiting:"{name} is transcribing the recording…",transcribeProgress:"Transcribing: {done} of {total}",transcribeStop:"Stop",transcribeDone:"Transcribed by {engine}. Say whose each voice is (Who speaks), then have it proofread.",transcribeStopped:"Transcription stopped: nothing was changed.",transcribeErrors:{noKey:"Type your key for this service first.",key:"The service refused the key.",rateLimited:"The service asks to wait (its quota is reached): try again later.",tooLarge:"The recording is too large to be read in the page: give its audio alone.",unsupported:"This browser cannot run the transcription.",failed:"The transcription failed: {detail}"},voiceNamed:"Voice {name}",whoSpeaks:"Who speaks…"};export{e as interviewMessages_en};
@@ -1 +0,0 @@
1
- const e={title:"Título",time:"Fecha",by:"Entrevistador",medium:"Medio",witness:"Testigo",witnessNone:"—",summary:"Descripción",transcript:"Transcripción",transcriptHint:"Dirección del archivo de transcripción anonimizada (opcional)",summaryTab:"Resumen",fileTab:"Archivo",importFile:"Cargar un archivo",importFileHint:"JSON, texto, WebVTT, SRT",inputFileFromFile:"desde su disco",inputFileFromUrl:"desde una dirección",inputFileModeHint:"Pulsar para darlo de la otra forma: un archivo suyo o una dirección",inputFileLoad:"Cargar",saveButton:"Guardar",loading:"Cargando la transcripción…",invalid:"Este texto aún no es JSON válido: la entrevista conserva la última transcripción que entendió.",notATranscript:"Ese archivo no es una transcripción de entrevista (no tiene turnos de palabra).",loadFailed:"No se pudo leer esa transcripción.",editorLabel:"Transcripción de la entrevista en JSON",byHint:"Identificadores de personas de RR0, separados por comas",exchangesTab:"Intercambios",exchangesEmpty:"Todavía no se ha dicho nada.",redacted:"Pasaje eliminado",colon:": ",proofreadAll:"Revisado por todos.",proofreadPending:"Aún no revisado por: {names}",play:"Reproducir",pause:"Pausa",recordings:"Grabaciones ({n})",recordingsTitle:"Grabaciones",recordingKind:"Tipo",recordingAudio:"Audio",recordingVideo:"Vídeo",recordingFile:"Archivo",recordingOffset:"Desfase",recordingRemove:"Quitar",recordingAdd:"Añadir una grabación",close:"Cerrar",noRecording:"Sin grabación: añada el archivo de audio o vídeo de la entrevista para poder escucharla.",redactSelection:"Retirar la selección",redactedWords:"pasaje retirado · {n} palabra(s)",redactAll:"Retirar todo",redactRestore:"Restablecer",restoreAll:"Restablecer todo",editTurn:"Modificar",deleteTurn:"Eliminar este turno de palabra",saveTurn:"Guardar",cancelTurn:"Cancelar",turnEditHint:"⟦ … ⟧ marca un pasaje retirado",selectionOnePassage:"La selección debe caber en un solo pasaje no retirado.",reviewedBy:"{name} ha revisado",linkMoment:"Vincular a un momento…",momentLabel:"Momento {k} · {text}",unlinkMoment:"Quitar este vínculo",noMoments:"La observación aún no tiene momentos con nombre.",redactReasonLabel:"Motivo",redactReasonHint:"Se dice de cada pasaje retirado a continuación: el lector de la entrevista publicada lo ve en lugar del pasaje",redactReasons:["vida privada","dato que identifica","fuera de tema","error de reconocimiento"],redactReason:"retirado en la revisión",roles:{interviewer:"Entrevistador",interviewee:"Entrevistado",witness:"Testigo",unattributed:"Voz por atribuir"},transcribe:"Transcribir la grabación",transcribeWith:"con",transcribeHint:"Convierte la grabación de la entrevista en turnos de palabra, con sus tiempos. De quién es cada voz queda por decir, turno por turno (Quién habla), y luego por hacer revisar.",transcribeLocal:"Nada sale de su ordenador. La primera vez, el modelo (unos {mb} MB) se descarga y el navegador lo conserva.",transcribeSends:"La grabación se enviará a {name} para ser transcrita.",transcribeReplaces:"La transcripción actual será reemplazada.",transcribeNoRecording:"La entrevista aún no tiene grabación: el botón abre la ventana donde añadirla.",transcribeKey:"Clave",transcribeKeyGet:"obtener una clave",transcribeKeyHint:"Se guarda en memoria hasta que se recarga la página, nunca se almacena",transcribeReading:"Leyendo la grabación…",transcribeLoading:"Descargando el modelo: {loaded} de {total} MB",transcribeLoadingSoFar:"Descargando el modelo: {loaded} MB",transcribeSending:"Enviando la grabación a {name}…",transcribeWaiting:"{name} transcribe la grabación…",transcribeProgress:"Transcribiendo: {done} de {total}",transcribeStop:"Detener",transcribeDone:"Transcrito por {engine}. Indique de quién es cada voz (Quién habla) y luego hágalo revisar.",transcribeStopped:"Transcripción detenida: no se ha cambiado nada.",transcribeErrors:{noKey:"Escriba primero su clave para este servicio.",key:"El servicio rechazó la clave.",rateLimited:"El servicio pide esperar (cuota alcanzada): inténtelo más tarde.",tooLarge:"La grabación es demasiado grande para leerse en la página: proporcione solo su audio.",unsupported:"Este navegador no puede ejecutar la transcripción.",failed:"La transcripción ha fallado: {detail}"},voiceNamed:"Voz {name}",whoSpeaks:"Quién habla…"};export{e as interviewMessages_es};
@@ -1 +0,0 @@
1
- const e={title:"Titre",time:"Date",by:"Enquêteur",medium:"Moyen",witness:"Témoin",witnessNone:"—",summary:"Description",transcript:"Transcription",transcriptHint:"Adresse du fichier de transcription anonymisée (facultative)",summaryTab:"Résumé",fileTab:"Fichier",importFile:"Charger un fichier",importFileHint:"JSON, texte, WebVTT, SRT",inputFileFromFile:"depuis votre disque",inputFileFromUrl:"depuis une adresse",inputFileModeHint:"Cliquer pour le donner autrement : un fichier à vous, ou une adresse",inputFileLoad:"Charger",saveButton:"Sauver",loading:"Chargement de la transcription…",invalid:"Ce texte n'est pas encore du JSON valide : l'interview garde la dernière transcription qu'elle a comprise.",notATranscript:"Ce fichier n'est pas une transcription d'interview (il n'a pas de tours de parole).",loadFailed:"Cette transcription n'a pas pu être lue.",editorLabel:"Transcription de l'interview en JSON",byHint:"Identifiants de personnes RR0, séparés par des virgules",exchangesTab:"Échanges",exchangesEmpty:"Rien n'a encore été dit.",redacted:"Passage retiré",colon:" : ",proofreadAll:"Relu par tous les participants.",proofreadPending:"Pas encore relu par : {names}",play:"Lecture",pause:"Pause",recordings:"Enregistrements ({n})",recordingsTitle:"Enregistrements",recordingKind:"Type",recordingAudio:"Audio",recordingVideo:"Vidéo",recordingFile:"Fichier",recordingOffset:"Décalage",recordingRemove:"Retirer",recordingAdd:"Ajouter un enregistrement",close:"Fermer",noRecording:"Aucun enregistrement : ajoutez le fichier audio ou vidéo de l'entretien pour pouvoir l'écouter.",redactSelection:"Retirer la sélection",redactedWords:"passage retiré · {n} mot(s)",redactAll:"Retirer tout",redactRestore:"Rétablir",restoreAll:"Rétablir tout",editTurn:"Modifier",deleteTurn:"Supprimer ce tour de parole",saveTurn:"Enregistrer",cancelTurn:"Annuler",turnEditHint:"⟦ … ⟧ marque un passage retiré",selectionOnePassage:"La sélection doit tenir dans un seul passage non retiré.",reviewedBy:"{name} a relu",linkMoment:"Relier à un moment…",momentLabel:"Moment {k} · {text}",unlinkMoment:"Retirer ce lien",noMoments:"L'observation n'a pas encore de moment nommé.",redactReasonLabel:"Raison",redactReasonHint:"Dite de chaque passage retiré ensuite : le lecteur de l'interview publiée la voit à la place du passage",redactReasons:["vie privée","détail qui identifie","hors sujet","erreur de reconnaissance"],redactReason:"retiré à la relecture",roles:{interviewer:"Intervieweur",interviewee:"Interviewé",witness:"Témoin",unattributed:"Voix à attribuer"},transcribe:"Transcrire l'enregistrement",transcribeWith:"avec",transcribeHint:"Fait de l'enregistrement de l'entretien des tours de parole, avec leurs instants. À qui est chaque voix reste à dire, tour par tour (Qui parle), puis à faire relire.",transcribeLocal:"Rien ne quitte votre ordinateur. La première fois, le modèle (environ {mb} Mo) est téléchargé, puis gardé par le navigateur.",transcribeSends:"L'enregistrement sera envoyé à {name} pour être transcrit.",transcribeReplaces:"La transcription actuelle sera remplacée.",transcribeNoRecording:"L'interview n'a pas encore d'enregistrement : le bouton ouvre la fenêtre où l'ajouter.",transcribeKey:"Clé",transcribeKeyGet:"obtenir une clé",transcribeKeyHint:"Gardée en mémoire jusqu'au rechargement de la page, jamais enregistrée",transcribeReading:"Lecture de l'enregistrement…",transcribeLoading:"Téléchargement du modèle : {loaded} sur {total} Mo",transcribeLoadingSoFar:"Téléchargement du modèle : {loaded} Mo",transcribeSending:"Envoi de l'enregistrement à {name}…",transcribeWaiting:"{name} transcrit l'enregistrement…",transcribeProgress:"Transcription : {done} sur {total}",transcribeStop:"Arrêter",transcribeDone:"Transcrit par {engine}. Dites à qui est chaque voix (Qui parle), puis faites relire.",transcribeStopped:"Transcription arrêtée : rien n'a été changé.",transcribeErrors:{noKey:"Saisissez d'abord votre clé pour ce service.",key:"Le service a refusé la clé.",rateLimited:"Le service demande d'attendre (quota atteint) : réessayez plus tard.",tooLarge:"L'enregistrement est trop gros pour être lu dans la page : donnez-en l'audio seul.",unsupported:"Ce navigateur ne peut pas faire tourner la transcription.",failed:"La transcription a échoué : {detail}"},voiceNamed:"Voix {name}",whoSpeaks:"Qui parle…"};export{e as interviewMessages_fr};
@@ -1 +0,0 @@
1
- const i={title:"Titolo",time:"Data",by:"Intervistatore",medium:"Mezzo",witness:"Testimone",witnessNone:"—",summary:"Descrizione",transcript:"Trascrizione",transcriptHint:"Indirizzo del file di trascrizione anonimizzata (facoltativo)",summaryTab:"Riepilogo",fileTab:"File",importFile:"Carica un file",importFileHint:"JSON, testo, WebVTT, SRT",inputFileFromFile:"dal proprio disco",inputFileFromUrl:"da un indirizzo",inputFileModeHint:"Fare clic per darlo nell'altro modo: un proprio file o un indirizzo",inputFileLoad:"Carica",saveButton:"Salva",loading:"Caricamento della trascrizione…",invalid:"Questo testo non è ancora JSON valido: l'intervista conserva l'ultima trascrizione che ha capito.",notATranscript:"Quel file non è una trascrizione di intervista (non ha turni di parola).",loadFailed:"Impossibile leggere quella trascrizione.",editorLabel:"Trascrizione dell'intervista in JSON",byHint:"Identificatori di persone RR0, separati da virgole",exchangesTab:"Scambi",exchangesEmpty:"Non è stato ancora detto nulla.",redacted:"Passaggio rimosso",colon:": ",proofreadAll:"Rivisto da tutti.",proofreadPending:"Non ancora rivisto da: {names}",play:"Riproduci",pause:"Pausa",recordings:"Registrazioni ({n})",recordingsTitle:"Registrazioni",recordingKind:"Tipo",recordingAudio:"Audio",recordingVideo:"Video",recordingFile:"File",recordingOffset:"Scarto",recordingRemove:"Rimuovi",recordingAdd:"Aggiungi una registrazione",close:"Chiudi",noRecording:"Nessuna registrazione: aggiungi il file audio o video dell'intervista per poterla ascoltare.",redactSelection:"Rimuovi la selezione",redactedWords:"passaggio rimosso · {n} parola/e",redactAll:"Rimuovi tutto",redactRestore:"Ripristina",restoreAll:"Ripristina tutto",editTurn:"Modifica",deleteTurn:"Elimina questo turno",saveTurn:"Salva",cancelTurn:"Annulla",turnEditHint:"⟦ … ⟧ indica un passaggio rimosso",selectionOnePassage:"La selezione deve restare in un solo passaggio non rimosso.",reviewedBy:"{name} ha riletto",linkMoment:"Collega a un momento…",momentLabel:"Momento {k} · {text}",unlinkMoment:"Rimuovi questo collegamento",noMoments:"L'osservazione non ha ancora momenti con nome.",redactReasonLabel:"Motivo",redactReasonHint:"Detto di ogni passaggio rimosso in seguito: il lettore dell'intervista pubblicata lo vede al posto del passaggio",redactReasons:["vita privata","dettaglio che identifica","fuori tema","errore di riconoscimento"],redactReason:"rimosso in rilettura",roles:{interviewer:"Intervistatore",interviewee:"Intervistato",witness:"Testimone",unattributed:"Voce da attribuire"},transcribe:"Trascrivi la registrazione",transcribeWith:"con",transcribeHint:"Trasforma la registrazione dell'intervista in turni di parola, con i loro tempi. Di chi sia ogni voce resta da dire, turno per turno (Chi parla), e poi da far rileggere.",transcribeLocal:"Nulla lascia il tuo computer. La prima volta il modello (circa {mb} MB) viene scaricato e poi conservato dal browser.",transcribeSends:"La registrazione sarà inviata a {name} per essere trascritta.",transcribeReplaces:"La trascrizione attuale sarà sostituita.",transcribeNoRecording:"L'intervista non ha ancora una registrazione: il pulsante apre la finestra dove aggiungerla.",transcribeKey:"Chiave",transcribeKeyGet:"ottieni una chiave",transcribeKeyHint:"Tenuta in memoria fino al ricaricamento della pagina, mai salvata",transcribeReading:"Lettura della registrazione…",transcribeLoading:"Download del modello: {loaded} di {total} MB",transcribeLoadingSoFar:"Download del modello: {loaded} MB",transcribeSending:"Invio della registrazione a {name}…",transcribeWaiting:"{name} trascrive la registrazione…",transcribeProgress:"Trascrizione: {done} di {total}",transcribeStop:"Interrompi",transcribeDone:"Trascritto da {engine}. Indica di chi è ogni voce (Chi parla), poi fai rileggere.",transcribeStopped:"Trascrizione interrotta: non è stato cambiato nulla.",transcribeErrors:{noKey:"Inserisci prima la tua chiave per questo servizio.",key:"Il servizio ha rifiutato la chiave.",rateLimited:"Il servizio chiede di attendere (quota raggiunta): riprova più tardi.",tooLarge:"La registrazione è troppo grande per essere letta nella pagina: fornisci solo il suo audio.",unsupported:"Questo browser non può eseguire la trascrizione.",failed:"La trascrizione non è riuscita: {detail}"},voiceNamed:"Voce {name}",whoSpeaks:"Chi parla…"};export{i as interviewMessages_it};
@@ -1 +0,0 @@
1
- import{G as W,B as X,t as H,o as m,a2 as v,a3 as k,a6 as D}from"./rr0-scene.mjs";import{L as S}from"./LaserBeam-AjgGxDIq.js";class x{static MAX_SEGMENTS=12e3;static MIN_PIXELS=2;static VERTICES_PER_SEGMENT=24;static HALO_RAD=.002;static HALO_SHARE=.15;static BRIGHTEST_RELATIVE=6e4;group=new W;mesh;positions=new Float32Array(x.MAX_SEGMENTS*x.VERTICES_PER_SEGMENT*3);colors=new Float32Array(x.MAX_SEGMENTS*x.VERTICES_PER_SEGMENT*3);segments=0;drawn=[];cut;constructor(){const s=new X;s.setAttribute("position",new H(this.positions,3)),s.setAttribute("color",new H(this.colors,3)),s.setDrawRange(0,0),this.mesh=new m(s,new v({vertexColors:!0,transparent:!0,blending:D,depthWrite:!1,fog:!1,side:k})),this.mesh.frustumCulled=!1,this.mesh.renderOrder=8,this.mesh.name="beams",this.group.name="beams",this.group.add(this.mesh)}get segmentCount(){return this.segments}get object(){return this.group}get drawnCount(){return this.segments}pick(s,t,e){return this.pickAt(s,t,e.toleranceRad)}update(s,t,e){const l=this.viewsOf(s,t,e);let r=0;this.segments=0,this.drawn=[];for(const h of l){const c=S.colourOf(h.wavelengthNm),i=this.place(h,t,e);this.drawn.push({id:h.id,points:i});for(let y=0;y+1<i.length&&!(this.segments>=x.MAX_SEGMENTS);y++){const E=this.pushSegment(r,i[y],i[y+1],h.wavelengthNm,c,e);E>r&&this.segments++,r=E}}const o=this.mesh.geometry;o.setDrawRange(0,r);for(const h of["position","color"]){const c=o.getAttribute(h);c.clearUpdateRanges(),r>0&&c.addUpdateRange(0,r*3),c.needsUpdate=!0}}viewsOf(s,t,e){const{lat:l,lng:r}=e.reference;(!this.cut||this.cut.lat!==l||this.cut.lng!==r||this.cut.air!==e.air)&&(this.cut={lat:l,lng:r,air:e.air,views:new Map});const o=this.cut.views,h=new Set(s);return S.onAt(s,t).map(c=>{if(!h.has(c))return S.viewOf(c,e.reference,e.air);let i=o.get(c);return i||o.set(c,i=S.viewOf(c,e.reference,e.air)),i})}place(s,t,e){const l=[],r=e.wind??{eastMS:0,northMS:0};for(const o of s.samples){const h=e.origin.x+o.eastM*e.eastScale,c=e.origin.z-o.northM,i=o.upM-e.siteElevationM;if(l.length>0&&i<e.groundYAt(h,c))break;const y=r.eastMS*o.dirEast+r.northMS*o.dirNorth,E=r.eastMS*o.dirNorth-r.northMS*o.dirEast,g=S.patchAt(o.fromSourceM,t,{windAlongMS:y,windAcrossMS:E,patchiness:s.patchiness});l.push({x:h,y:i,z:c,altitudeM:o.altitudeM,widthM:o.widthM,powerW:o.powerW,haze:g})}return l}static SMOOTH_RATIO=1.08;static MAX_HALVINGS=6;pushSegment(s,t,e,l,r,o,h=0){const c={x:e.x-t.x,y:e.y-t.y,z:e.z-t.z},i=Math.hypot(c.x,c.y,c.z);if(i<1e-6)return s;const y={x:c.x/i,y:c.y/i,z:c.z/i};if(Math.hypot((t.x+e.x)/2-o.eye.x,(t.y+e.y)/2-o.eye.y,(t.z+e.z)/2-o.eye.z)<.001)return s;const E=n=>{const u={x:o.eye.x-n.x,y:o.eye.y-n.y,z:o.eye.z-n.z},z=Math.hypot(u.x,u.y,u.z)||.001,p=(y.x*u.x+y.y*u.y+y.z*u.z)/z,a=Math.sqrt(Math.max(0,1-p*p)),w=S.coefficientsAt(o.air,l,n.altitudeM),d=S.phasedScattering({...w,aerosolPerM:w.aerosolPerM*n.haze},p);return{sinTurn:a,scattered:d,through:o.transmittanceTo(n.x,n.y,n.z)}},g=n=>x.MIN_PIXELS*o.pixelRad*Math.hypot(n.x-o.eye.x,n.y-o.eye.y,n.z-o.eye.z),N=n=>Math.hypot(n.x-o.eye.x,n.y-o.eye.y,n.z-o.eye.z),R=n=>Math.max(n.widthM,x.HALO_RAD*N(n)),f=n=>{const u=R(n)/g(n),z=Math.min(1,Math.max(0,u-1));return x.HALO_SHARE*z*z*(3-2*z)},O=new Map([t,e].map(n=>[n,E(n)])),M=(n,u,z)=>{const p=Math.max(u,g(n)),{sinTurn:a,scattered:w,through:d}=O.get(n),I=2*z*S.luminanceCdM2(n.powerW,l,w,p,a),L=r.map((C,V)=>Math.min(x.BRIGHTEST_RELATIVE,I*o.relativeScale*C*d[V])),_={x:o.eye.x-n.x,y:o.eye.y-n.y,z:o.eye.z-n.z},P=this.normalise(this.cross(y,_));return{point:n,half:p/2,level:L,across:P}},A=[[M(t,t.widthM,1-f(t)),M(e,e.widthM,1-f(e))],[M(t,R(t),f(t)),M(e,R(e),f(e))]],[G,T]=A[0].map(n=>Math.max(...n.level));if(h<x.MAX_HALVINGS&&Math.max(G,T)>x.SMOOTH_RATIO*Math.max(Math.min(G,T),1e-12)){const n={x:(t.x+e.x)/2,y:(t.y+e.y)/2,z:(t.z+e.z)/2,altitudeM:(t.altitudeM+e.altitudeM)/2,widthM:(t.widthM+e.widthM)/2,powerW:Math.sqrt(t.powerW*e.powerW),haze:(t.haze+e.haze)/2};return this.pushSegment(this.pushSegment(s,t,n,l,r,o,h+1),n,e,l,r,o,h+1)}if((s+x.VERTICES_PER_SEGMENT)*3>this.positions.length)return s;for(const n of A){if(n.every(a=>Math.max(...a.level)<=0))continue;const u=(a,w)=>{const d=s*3;this.positions[d]=a.point.x+a.across.x*a.half*w,this.positions[d+1]=a.point.y+a.across.y*a.half*w,this.positions[d+2]=a.point.z+a.across.z*a.half*w;const I=w===0?1:0;this.colors[d]=a.level[0]*I,this.colors[d+1]=a.level[1]*I,this.colors[d+2]=a.level[2]*I,s++},[z,p]=n;for(const a of[-1,1])u(z,a),u(z,0),u(p,a),u(z,0),u(p,0),u(p,a)}return s}pickAt(s,t,e){let l;for(const r of this.drawn)for(let o=0;o+1<r.points.length;o++){const h=r.points[o],c=r.points[o+1],i={x:c.x-h.x,y:c.y-h.y,z:c.z-h.z},y={x:h.x-s.x,y:h.y-s.y,z:h.z-s.z},E=i.x*i.x+i.y*i.y+i.z*i.z,g=i.x*t.x+i.y*t.y+i.z*t.z,N=i.x*y.x+i.y*y.y+i.z*y.z,R=t.x*y.x+t.y*y.y+t.z*y.z,f=E-g*g,O=f>1e-9?Math.min(1,Math.max(0,(g*R-N)/f)):0,M={x:h.x+i.x*O,y:h.y+i.y*O,z:h.z+i.z*O},A=(M.x-s.x)*t.x+(M.y-s.y)*t.y+(M.z-s.z)*t.z;if(A<=0)continue;const G=Math.hypot(M.x-s.x-t.x*A,M.y-s.y-t.y*A,M.z-s.z-t.z*A),T=Math.atan2(G,A);T<=e&&(!l||T<l.angle)&&(l={id:r.id,distanceM:Math.hypot(M.x-s.x,M.y-s.y,M.z-s.z),angle:T})}return l&&{id:l.id,distanceM:l.distanceM}}cross(s,t){return{x:s.y*t.z-s.z*t.y,y:s.z*t.x-s.x*t.z,z:s.x*t.y-s.y*t.x}}normalise(s){const t=Math.hypot(s.x,s.y,s.z)||1;return{x:s.x/t,y:s.y/t,z:s.z/t}}dispose(){this.mesh.geometry.dispose(),this.mesh.material.dispose(),this.group.removeFromParent()}}export{x as BeamSystem};
@@ -1,3 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ModuleThree-D7qc50Hj.js","./rr0-scene.mjs"])))=>i.map(i=>d[i]);
2
- import{f as g,d as w,_ as b,M as p}from"./rr0-scene.mjs";class n{static STORAGE_KEY="ufoathome.modules";static FORMAT=1;static empty(){return{format:1,modules:[]}}static read(t=n.storage()){try{const e=t?.getItem(n.STORAGE_KEY);return e?n.parse(e):n.empty()}catch{return n.empty()}}static write(t,e=n.storage()){try{return e?(t.modules.length===0?e.removeItem(n.STORAGE_KEY):e.setItem(n.STORAGE_KEY,n.text(t)),!0):!1}catch{return!1}}static parse(t){const e=JSON.parse(t);if(e===null||typeof e!="object"||!Array.isArray(e.modules))throw new Error("not a UFO@home module list");if(typeof e.format=="number"&&e.format>n.FORMAT)throw new Error(`format ${e.format} is newer than ${n.FORMAT}`);const r=new Set,s=[];for(const i of e.modules)typeof i?.url!="string"||r.has(i.url)||(r.add(i.url),s.push({url:i.url,enabled:i.enabled!==!1}));return{format:1,modules:s}}static text(t){return JSON.stringify({format:n.FORMAT,modules:t.modules},null,2)+`
3
- `}static storage(){try{return typeof localStorage>"u"?void 0:localStorage}catch{return}}}class E{constructor(t,e){this.attribution=t,this.models=e}async entries(t){return t?this.models.filter(e=>[e.kind].flat().includes(t)):[...this.models]}async entry(t){return this.models.find(e=>e.id===t)}}class f{attribution;fetchImpl;tileUrlTemplate;constructor(t){this.attribution=t.attribution,this.tileUrlTemplate=t.tileUrlTemplate,this.fetchImpl=t.fetchImpl??fetch.bind(globalThis)}getImageryTexture(t,e){return g(t,e,r=>f.tileUrl(this.tileUrlTemplate,r),this.fetchImpl)}static tileUrl(t,e){return t.replaceAll("{z}",String(e.z)).replaceAll("{x}",String(e.x)).replaceAll("{y}",String(e.y))}}class v extends Error{constructor(t,e){super(`${t}: ${e}`),this.url=t,this.reason=e,this.name="ModuleManifestError"}}class d{static FORMAT=1;static check(t,e){const r=o=>{throw new v(e,o)};(t===null||typeof t!="object"||Array.isArray(t))&&r("not a JSON object");const s=t;typeof s.format!="number"&&r('no "format"'),s.format>d.FORMAT&&r(`format ${s.format} is newer than ${d.FORMAT}, which this version reads`),(typeof s.id!="string"||!/^[a-z0-9][a-z0-9._-]*$/.test(s.id))&&r(`"id" must be lowercase letters, digits, '.', '_' or '-'`),(typeof s.name!="string"||s.name.trim()==="")&&r('no "name"'),s.script!==void 0&&typeof s.script!="string"&&r('"script" must be an address');const i=s.contributes??{};for(const o of["imagery","elevation"]){const c=i[o];c!==void 0&&(Array.isArray(c)||r(`"contributes.${o}" must be a list`),c.forEach((l,h)=>{for(const m of["id","name","credit","creditUrl","tiles"])(typeof l?.[m]!="string"||l[m]==="")&&r(`"contributes.${o}[${h}].${m}" is missing`);["{z}","{x}","{y}"].every(m=>l.tiles.includes(m))||r(`"contributes.${o}[${h}].tiles" must hold {z}, {x} and {y}`)}))}const a=i.models;return a!==void 0&&(Array.isArray(a)||r('"contributes.models" must be a list'),a.forEach((o,c)=>{for(const l of["id","name","file"])(typeof o?.[l]!="string"||o[l]==="")&&r(`"contributes.models[${c}].${l}" is missing`);o.kind===void 0&&r(`"contributes.models[${c}].kind" is missing`),(!o.credit||typeof o.credit!="object")&&r(`"contributes.models[${c}].credit" is missing: a model is shown with its author and licence`)})),s}static contributions(t,e){const r=t.contributes??{},s={};if(r.imagery?.length&&(s.imagery=r.imagery.map(i=>({id:i.id,name:i.name,credit:i.credit,creditUrl:i.creditUrl,create:a=>new f({tileUrlTemplate:d.absoluteTemplate(i.tiles,e),attribution:i.credit,fetchImpl:a})}))),r.elevation?.length&&(s.elevation=r.elevation.map(i=>({id:i.id,name:i.name,credit:i.credit,creditUrl:i.creditUrl,create:a=>new w({tileUrlTemplate:d.absoluteTemplate(i.tiles,e),fetchImpl:a})}))),r.models?.length){const i=r.models.map(({file:o,...c})=>({...c,url:new URL(o,e).href})),a=t.credit??t.name;s.decorModels=[{id:`${t.id}-models`,name:t.name,credit:a,creditUrl:t.creditUrl??e,create:()=>new E(a,i)}]}return s}static module(t,e,r={}){const s=d.contributions(t,e);for(const[i,a]of Object.entries(r))Array.isArray(a)&&(s[i]=[...s[i]??[],...a]);return{id:t.id,name:t.name,credit:t.credit,creditUrl:t.creditUrl,url:e,contributes:s}}static absoluteTemplate(t,e){const r=t.replaceAll("{z}","__Z__").replaceAll("{x}","__X__").replaceAll("{y}","__Y__");return new URL(r,e).href.replaceAll("__Z__","{z}").replaceAll("__X__","{x}").replaceAll("__Y__","{y}")}}class T{fetchImpl;importImpl;constructor(t={}){this.fetchImpl=t.fetchImpl??fetch.bind(globalThis),this.importImpl=t.importImpl??(e=>import(e))}async load(t,e){const r=await this.fetchImpl(t);if(!r.ok)throw new Error(`${t}: HTTP ${r.status}`);const s=d.check(await r.json(),t),i=s.script!==void 0;let a={};if(i&&e.runScript){const o=new URL(s.script,t).href,c=await this.importImpl(o);if(typeof c.default!="function")throw new Error(`${o}: its default export is not a function`);const{MODULE_THREE:l}=await b(async()=>{const{MODULE_THREE:h}=await import("./ModuleThree-D7qc50Hj.js");return{MODULE_THREE:h}},__vite__mapDeps([0,1]),import.meta.url);a=await c.default({manifestUrl:t,three:l})??{}}return{url:t,manifest:s,module:d.module(s,t,a),hasScript:i,scriptRun:i&&e.runScript}}}class y{constructor(t=new T,e){this.loader=t,this.storage=e}static shared=new y;changes=new EventTarget;states=new Map;config=n.empty();started;list(){const t=[...this.states.values()];return[...t.filter(e=>e.addedByPerson),...t.filter(e=>!e.addedByPerson)]}state(t){return this.states.get(t)}start(){return this.started??=this.applyConfig(n.read(this.storage)),this.started}async add(t){await this.start();const e=new URL(t,typeof location>"u"?void 0:location.href).href;return this.config.modules.some(r=>r.url===e)||(this.config={...this.config,modules:[...this.config.modules,{url:e,enabled:!0}]},this.save()),this.reload(e)}async remove(t){this.config={...this.config,modules:this.config.modules.filter(e=>e.url!==t)},this.save(),await this.reload(t)}async setEnabled(t,e){this.config={...this.config,modules:this.config.modules.map(r=>r.url===t?{...r,enabled:e}:r)},this.save(),await this.reload(t)}exportText(){return n.text(this.config)}async importText(t){const e=n.parse(t);await this.start();const r=this.config.modules.map(s=>s.url);this.config=e,this.save(),await Promise.all([...new Set([...r,...e.modules.map(s=>s.url)])].map(s=>this.reload(s)))}async require(t,e){t?.length&&(await this.start(),await Promise.all(t.map(async r=>{let s;try{s=new URL(r,e??(typeof location>"u"?void 0:location.href)).href}catch{return}const i=this.states.get(s);if(i&&i.status!=="off")return i.status==="loading"?this.pending.get(s):void 0;this.named.add(s),await this.reload(s)})))}named=new Set;pending=new Map;async applyConfig(t){this.config=t,await Promise.all(t.modules.map(e=>this.reload(e.url)))}reload(t){const e=this.reloadNow(t);return this.pending.set(t,e),e}async reloadNow(t){const e=this.config.modules.find(a=>a.url===t),r=this.states.get(t);r?.loaded&&p.uninstall(r.loaded.module.id);const s=e!==void 0,i=e?.enabled??!0;if(!s&&!this.named.has(t))return this.states.delete(t),this.announce(),{url:t,addedByPerson:s,enabled:i,status:"off"};if(s&&!i&&!this.named.has(t))return this.set({url:t,addedByPerson:s,enabled:i,status:"off"});this.set({url:t,addedByPerson:s,enabled:i,status:"loading"});try{const a=await this.loader.load(t,{runScript:s&&i});return p.install(a.module),this.set({url:t,addedByPerson:s,enabled:i,status:"installed",loaded:a})}catch(a){return this.set({url:t,addedByPerson:s,enabled:i,status:"failed",error:a instanceof Error?a.message:String(a)})}}set(t){return this.states.set(t.url,t),this.announce(),t}save(){n.write(this.config,this.storage)}announce(){this.changes.dispatchEvent(new Event("change"))}}export{y as ModuleSession};
@@ -1 +0,0 @@
1
- import{V as a,m as e,bF as s,$ as t,a1 as r,ai as i,E as o,ad as n,Y as l,Z as b,ay as d,aj as m,ak as u,bG as M,s as B,a2 as G,o as y,h as S,aQ as h,aN as c,aR as f,G as p,b2 as L,F as x,bH as C,a3 as E,bI as g,bJ as D,bK as F,C as P,a0 as T,B as A,t as V,bL as j,ah as k,a6 as v}from"./rr0-scene.mjs";const N={AdditiveBlending:v,BackSide:k,BoxGeometry:j,BufferAttribute:V,BufferGeometry:A,CanvasTexture:T,Color:P,ConeGeometry:F,CylinderGeometry:D,DataTexture:g,DoubleSide:E,Euler:C,Float32BufferAttribute:x,FrontSide:L,Group:p,Line:f,LineBasicMaterial:c,LineSegments:h,Matrix4:S,Mesh:y,MeshBasicMaterial:G,MeshStandardMaterial:B,NormalBlending:M,Object3D:u,PlaneGeometry:m,PointLight:d,Points:b,PointsMaterial:l,Quaternion:n,ShaderMaterial:o,SphereGeometry:i,Sprite:r,SpriteMaterial:t,TorusGeometry:s,Vector2:e,Vector3:a};export{N as MODULE_THREE};