@rr0/ufoathome 0.192.0 → 0.193.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 (390) hide show
  1. package/dist-embed-interview/rr0-interview.mjs +3 -3
  2. package/dist-embed-scene/rr0-scene.mjs +306 -306
  3. package/dist-embed-sighting/CaseMessages_en-BbbbikHH.js +1 -0
  4. package/dist-embed-sighting/CaseMessages_es-AHBxl8Ka.js +1 -0
  5. package/dist-embed-sighting/CaseMessages_fr-CD33PQCH.js +1 -0
  6. package/dist-embed-sighting/CaseMessages_it-DyMACGSU.js +1 -0
  7. package/dist-embed-sighting/{CaseReportExport-dMWWJNIh.js → CaseReportExport-CYeoYzU0.js} +1 -1
  8. package/dist-embed-sighting/rr0-sighting.mjs +345 -330
  9. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BrZzIuec.js → AdsbLolArchiveProvider--KjPxNqw.js} +1 -1
  10. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-CXvIvYxV.js → BallesterGuaspAssessor-BTmq0r-G.js} +1 -1
  11. package/dist-embed-sighting-editor/{BeamEditor-5-OlhNfL.js → BeamEditor-CI8-9VOc.js} +1 -1
  12. package/dist-embed-sighting-editor/{BeamSystem-BGdR-Xez.js → BeamSystem-odg570aR.js} +1 -1
  13. package/dist-embed-sighting-editor/BirdEditor-DV3ndYff.js +16 -0
  14. package/dist-embed-sighting-editor/{BirdFlock-DtshFXGT.js → BirdFlock-O7K_g8y7.js} +1 -1
  15. package/dist-embed-sighting-editor/{BodyEditor-Dn5HrH2t.js → BodyEditor-COLTBHzX.js} +1 -1
  16. package/dist-embed-sighting-editor/{CaseEditorMessages_en-DrJY0M8h.js → CaseEditorMessages_en-CoFukfwf.js} +1 -1
  17. package/dist-embed-sighting-editor/{CaseEditorMessages_es-j8EeOBq6.js → CaseEditorMessages_es-DZptbzB7.js} +1 -1
  18. package/dist-embed-sighting-editor/{CaseEditorMessages_fr-BkwEF9mu.js → CaseEditorMessages_fr-DXl2GNmR.js} +1 -1
  19. package/dist-embed-sighting-editor/{CaseEditorMessages_it-d3Z0PBEw.js → CaseEditorMessages_it-ss10VmRM.js} +1 -1
  20. package/dist-embed-sighting-editor/CaseElement-Bo31UxpS.js +100 -0
  21. package/dist-embed-sighting-editor/CaseMessages_en-BbbbikHH.js +1 -0
  22. package/dist-embed-sighting-editor/CaseMessages_es-AHBxl8Ka.js +1 -0
  23. package/dist-embed-sighting-editor/CaseMessages_fr-CD33PQCH.js +1 -0
  24. package/dist-embed-sighting-editor/CaseMessages_it-DyMACGSU.js +1 -0
  25. package/dist-embed-sighting-editor/{CaseReportExport-ByPXoIiq.js → CaseReportExport-DpsJ5_r9.js} +2 -2
  26. package/dist-embed-sighting-editor/{ContrailSystem-BTVyJpmn.js → ContrailSystem-BddkU7fj.js} +1 -1
  27. package/dist-embed-sighting-editor/{ControlPasses-DiQAXMzD.js → ControlPasses-CNlCUT1L.js} +1 -1
  28. package/dist-embed-sighting-editor/{CoverageAssessor-CJQzNdyr.js → CoverageAssessor-DjY8iKp5.js} +1 -1
  29. package/dist-embed-sighting-editor/DroneEditor-DRsM2ash.js +16 -0
  30. package/dist-embed-sighting-editor/{DroneFlight-tXCk1Tg1.js → DroneFlight-Fr4Vgso3.js} +1 -1
  31. package/dist-embed-sighting-editor/{Flightradar24Provider-DUVcPAF2.js → Flightradar24Provider-BxeduRam.js} +1 -1
  32. package/dist-embed-sighting-editor/GLTFLoader-C6nlGTTi.js +1 -0
  33. package/dist-embed-sighting-editor/{GenerativeKitMessages-I8xH2ec9.js → GenerativeKitMessages-B8L7U7gD.js} +1 -1
  34. package/dist-embed-sighting-editor/{GeoExportTexts-DAllttgw.js → GeoExportTexts-DrGdI2OF.js} +1 -1
  35. package/dist-embed-sighting-editor/{GeoJsonExport-_yjIEd4F.js → GeoJsonExport-BZ-0v8fM.js} +1 -1
  36. package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +1 -0
  37. package/dist-embed-sighting-editor/{HeadlightSystem-DRq40K7R.js → HeadlightSystem-DI5wHYZu.js} +1 -1
  38. package/dist-embed-sighting-editor/{HynekAssessor-PxE7JR1h.js → HynekAssessor-DlXalbph.js} +1 -1
  39. package/dist-embed-sighting-editor/InterviewEditorElement-Bbkze5KE.js +240 -0
  40. package/dist-embed-sighting-editor/InterviewElement-B3tm7y49.js +31 -0
  41. package/dist-embed-sighting-editor/{KmlExport-dpml2tIJ.js → KmlExport-Bh4eTycx.js} +1 -1
  42. package/dist-embed-sighting-editor/LanternEditor-M887ltwe.js +24 -0
  43. package/dist-embed-sighting-editor/{LaserBeam-CadJcSMd.js → LaserBeam-Drpkr84G.js} +1 -1
  44. package/dist-embed-sighting-editor/LaunchEditor-BjAk4XZR.js +22 -0
  45. package/dist-embed-sighting-editor/{LaunchPlume-C7My5ccR.js → LaunchPlume-CrzPcqw7.js} +1 -1
  46. package/dist-embed-sighting-editor/{LaunchSimulation-45Z9GUBF.js → LaunchSimulation-C1ZWpKZT.js} +1 -1
  47. package/dist-embed-sighting-editor/{ModelSource-CzGHu4XS.js → ModelSource-Bko_3OJt.js} +1 -1
  48. package/dist-embed-sighting-editor/{ModelThumbnails-CNO_j-KM.js → ModelThumbnails-DSshyLu2.js} +1 -1
  49. package/dist-embed-sighting-editor/{ModelViewer-yfIxofpG.js → ModelViewer-_yhAYvNy.js} +1 -1
  50. package/dist-embed-sighting-editor/{ModuleConformance-C9DED8Lk.js → ModuleConformance-B6iFVb8X.js} +2 -2
  51. package/dist-embed-sighting-editor/{ModuleSession-Cxe0BJue.js → ModuleSession-jKFl1FMo.js} +3 -3
  52. package/dist-embed-sighting-editor/ModuleThree-Fvr5G-Yh.js +1 -0
  53. package/dist-embed-sighting-editor/{ModulesPanelElement-DgbOYqaS.js → ModulesPanelElement-VPRCdjmv.js} +3 -3
  54. package/dist-embed-sighting-editor/{NearestApproach-EbQIYGTt.js → NearestApproach-O8k2n_qL.js} +1 -1
  55. package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +1 -0
  56. package/dist-embed-sighting-editor/{PoherAssessor-BisQ5ybV.js → PoherAssessor-sTJEnlmb.js} +1 -1
  57. package/dist-embed-sighting-editor/{RailwaySystem-CIAIBvLT.js → RailwaySystem-BZqNSSFA.js} +1 -1
  58. package/dist-embed-sighting-editor/ReentryEditor-DfDGpL5C.js +28 -0
  59. package/dist-embed-sighting-editor/{ReentrySimulation-Crd-CW_o.js → ReentrySimulation-BuUK0niI.js} +1 -1
  60. package/dist-embed-sighting-editor/{ReferenceSystem-DUIJceGg.js → ReferenceSystem-DvcQp167.js} +1 -1
  61. package/dist-embed-sighting-editor/{RoadMarkings-D9-6Cy9S.js → RoadMarkings-BGK7ToZP.js} +1 -1
  62. package/dist-embed-sighting-editor/SightingEditorMessages_en-CTQYcybj.js +12 -0
  63. package/dist-embed-sighting-editor/SightingEditorMessages_es-D-ASD5a3.js +12 -0
  64. package/dist-embed-sighting-editor/SightingEditorMessages_fr-DjUByAq4.js +12 -0
  65. package/dist-embed-sighting-editor/SightingEditorMessages_it-Eat0U-4p.js +12 -0
  66. package/dist-embed-sighting-editor/SightingElement-FJvhqoCj.js +693 -0
  67. package/dist-embed-sighting-editor/SightingLabels_en-oIpytoq_.js +1 -0
  68. package/dist-embed-sighting-editor/SightingLabels_es-DUh1CTXl.js +1 -0
  69. package/dist-embed-sighting-editor/SightingLabels_fr-D69zENbW.js +1 -0
  70. package/dist-embed-sighting-editor/SightingLabels_it-COLZ2Qth.js +1 -0
  71. package/dist-embed-sighting-editor/SightingMessages_en-CYzanHjT.js +1 -0
  72. package/dist-embed-sighting-editor/SightingMessages_es-hjvESK6f.js +1 -0
  73. package/dist-embed-sighting-editor/SightingMessages_fr-BtfWbIP7.js +1 -0
  74. package/dist-embed-sighting-editor/SightingMessages_it-Bqm4pewZ.js +1 -0
  75. package/dist-embed-sighting-editor/{SkyLantern-De_MXfQz.js → SkyLantern-B7UlFgmB.js} +1 -1
  76. package/dist-embed-sighting-editor/{TraceSystem-Ba5H90GB.js → TraceSystem-vZF4B5EC.js} +2 -2
  77. package/dist-embed-sighting-editor/{UfoMessages_en-FAvzKxmR.js → UfoMessages_en-JeMK-39o.js} +1 -1
  78. package/dist-embed-sighting-editor/VideoButton-Kxg7pF1Y.js +1 -0
  79. package/dist-embed-sighting-editor/{WaterSystem-Dpdw46hF.js → WaterSystem-DSWmZbiL.js} +2 -2
  80. package/dist-embed-sighting-editor/{interviewImport-CgWyTdKb.js → interviewImport-BlSMFEw_.js} +1 -1
  81. package/dist-embed-sighting-editor/interviewJson-CsMHIcZ-.js +8 -0
  82. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +440 -393
  83. package/dist-embed-sighting-editor/{surroundingsSources-YIawBCws.js → surroundingsSources-z7680fTA.js} +1 -1
  84. package/dist-embed-sighting-editor/{trafficRuntime-DwnTE9-7.js → trafficRuntime-C5BXL-G6.js} +1 -1
  85. package/dist-embed-ufoathome/Account-C4jhsVtN.js +1 -0
  86. package/dist-embed-ufoathome/AdsbLolArchiveProvider-886uuL_s.js +1 -0
  87. package/dist-embed-ufoathome/AssemblyAiTranscriptionProvider-o2kkPD5o.js +1 -0
  88. package/dist-embed-ufoathome/BallesterGuaspAssessor-BSKybYn0.js +1 -0
  89. package/dist-embed-ufoathome/BeamEditor-U2XQEG_6.js +30 -0
  90. package/dist-embed-ufoathome/BeamEditorMessages_en-DDvPWAdd.js +1 -0
  91. package/dist-embed-ufoathome/BeamEditorMessages_es-BhCkhUkN.js +1 -0
  92. package/dist-embed-ufoathome/BeamEditorMessages_fr-CtX6uP-x.js +1 -0
  93. package/dist-embed-ufoathome/BeamEditorMessages_it-DVweRQFi.js +1 -0
  94. package/dist-embed-ufoathome/BeamKindMessages_en-5RezNkyz.js +1 -0
  95. package/dist-embed-ufoathome/BeamKindMessages_es-B5vSWVjK.js +1 -0
  96. package/dist-embed-ufoathome/BeamKindMessages_fr--28-36OI.js +1 -0
  97. package/dist-embed-ufoathome/BeamKindMessages_it-X53Fuf2U.js +1 -0
  98. package/dist-embed-ufoathome/BeamParameterTexts_en-DZB75ouZ.js +1 -0
  99. package/dist-embed-ufoathome/BeamParameterTexts_es-AeZmsufG.js +1 -0
  100. package/dist-embed-ufoathome/BeamParameterTexts_fr-BHG3fW40.js +1 -0
  101. package/dist-embed-ufoathome/BeamParameterTexts_it-CPwmQX-g.js +1 -0
  102. package/dist-embed-ufoathome/BeamSystem-eYdKPRQZ.js +1 -0
  103. package/dist-embed-ufoathome/BirdEditor-6vr7bLHy.js +16 -0
  104. package/dist-embed-ufoathome/BirdEditorMessages_en-CN1OJud9.js +1 -0
  105. package/dist-embed-ufoathome/BirdEditorMessages_es-DDEnjRrz.js +1 -0
  106. package/dist-embed-ufoathome/BirdEditorMessages_fr-hL72V8wm.js +1 -0
  107. package/dist-embed-ufoathome/BirdEditorMessages_it-BmLyiPYp.js +1 -0
  108. package/dist-embed-ufoathome/BirdFlock-ByBkJV35.js +1 -0
  109. package/dist-embed-ufoathome/BirdKindMessages_en-c_-L7frF.js +1 -0
  110. package/dist-embed-ufoathome/BirdKindMessages_es-8Zo2t0o4.js +1 -0
  111. package/dist-embed-ufoathome/BirdKindMessages_fr-C1TuqqEj.js +1 -0
  112. package/dist-embed-ufoathome/BirdKindMessages_it-DQZcrCkf.js +1 -0
  113. package/dist-embed-ufoathome/BirdParameterTexts_en-C6FkYUww.js +1 -0
  114. package/dist-embed-ufoathome/BirdParameterTexts_es-T8JyeNlI.js +1 -0
  115. package/dist-embed-ufoathome/BirdParameterTexts_fr-BiTR-olu.js +1 -0
  116. package/dist-embed-ufoathome/BirdParameterTexts_it-oQY4DX6B.js +1 -0
  117. package/dist-embed-ufoathome/BodyEditor-CRlKW7yl.js +28 -0
  118. package/dist-embed-ufoathome/BodyEditorMessages_en-CckxSS1L.js +1 -0
  119. package/dist-embed-ufoathome/BodyEditorMessages_es-B8GlFFBo.js +1 -0
  120. package/dist-embed-ufoathome/BodyEditorMessages_fr-638ypdqf.js +1 -0
  121. package/dist-embed-ufoathome/BodyEditorMessages_it-SKpMkHFI.js +1 -0
  122. package/dist-embed-ufoathome/BodyParameterTexts_en-CKiFdpaz.js +1 -0
  123. package/dist-embed-ufoathome/BodyParameterTexts_es-DT9XO1Hc.js +1 -0
  124. package/dist-embed-ufoathome/BodyParameterTexts_fr-B5jLsE0g.js +1 -0
  125. package/dist-embed-ufoathome/BodyParameterTexts_it-iyJGx4Ta.js +1 -0
  126. package/dist-embed-ufoathome/BrowserWhisperProvider-Dn44ZE45.js +1 -0
  127. package/dist-embed-ufoathome/CaseEditorElement-Ds4yB5UC.js +3033 -0
  128. package/dist-embed-ufoathome/CaseEditorMessages_en-CoFukfwf.js +1 -0
  129. package/dist-embed-ufoathome/CaseEditorMessages_es-DZptbzB7.js +1 -0
  130. package/dist-embed-ufoathome/CaseEditorMessages_fr-DXl2GNmR.js +1 -0
  131. package/dist-embed-ufoathome/CaseEditorMessages_it-ss10VmRM.js +1 -0
  132. package/dist-embed-ufoathome/CaseElement-fKdvuMAp.js +100 -0
  133. package/dist-embed-ufoathome/CaseExportMessages_en-jHlu58Y7.js +1 -0
  134. package/dist-embed-ufoathome/CaseExportMessages_es-dCQQFgjq.js +1 -0
  135. package/dist-embed-ufoathome/CaseExportMessages_fr-sDfEgjWg.js +1 -0
  136. package/dist-embed-ufoathome/CaseExportMessages_it-BJaglZtP.js +1 -0
  137. package/dist-embed-ufoathome/CaseMessages_en-BbbbikHH.js +1 -0
  138. package/dist-embed-ufoathome/CaseMessages_es-AHBxl8Ka.js +1 -0
  139. package/dist-embed-ufoathome/CaseMessages_fr-CD33PQCH.js +1 -0
  140. package/dist-embed-ufoathome/CaseMessages_it-DyMACGSU.js +1 -0
  141. package/dist-embed-ufoathome/CaseReportExport-Dy1xmhTI.js +66 -0
  142. package/dist-embed-ufoathome/CaseReportTexts_en-DlN7p1pC.js +1 -0
  143. package/dist-embed-ufoathome/CaseReportTexts_es-CncAEaey.js +1 -0
  144. package/dist-embed-ufoathome/CaseReportTexts_fr-B5nP6RlP.js +1 -0
  145. package/dist-embed-ufoathome/CaseReportTexts_it-Dc-oPmXB.js +1 -0
  146. package/dist-embed-ufoathome/CaseTimeline-Dq1H2Ucy.js +142 -0
  147. package/dist-embed-ufoathome/ClaudeNarrativeTexts_en-CBLJZ7b6.js +1 -0
  148. package/dist-embed-ufoathome/ClaudeNarrativeTexts_es-BDV0GimU.js +1 -0
  149. package/dist-embed-ufoathome/ClaudeNarrativeTexts_fr-DiKzTF9T.js +1 -0
  150. package/dist-embed-ufoathome/ClaudeNarrativeTexts_it-DwxjRDVG.js +1 -0
  151. package/dist-embed-ufoathome/CloudEditorMessages_en-SmcRKW1O.js +1 -0
  152. package/dist-embed-ufoathome/CloudEditorMessages_es-DFCuS9Qg.js +1 -0
  153. package/dist-embed-ufoathome/CloudEditorMessages_fr-SvL-CR04.js +1 -0
  154. package/dist-embed-ufoathome/CloudEditorMessages_it-BvfiHWV9.js +1 -0
  155. package/dist-embed-ufoathome/CloudParameterTexts_en-NIa0gfgA.js +1 -0
  156. package/dist-embed-ufoathome/CloudParameterTexts_es-DXu4T30p.js +1 -0
  157. package/dist-embed-ufoathome/CloudParameterTexts_fr-Bv-jc2dq.js +1 -0
  158. package/dist-embed-ufoathome/CloudParameterTexts_it-C3RrkRwI.js +1 -0
  159. package/dist-embed-ufoathome/ContrailGrowth-DwHS8If9.js +1 -0
  160. package/dist-embed-ufoathome/ContrailSystem-pwF1XPex.js +1 -0
  161. package/dist-embed-ufoathome/ControlPasses-ApTdQK9r.js +29 -0
  162. package/dist-embed-ufoathome/CoverageAssessor-DFMo5umu.js +1 -0
  163. package/dist-embed-ufoathome/Decor-Dn-cvniW.js +1 -0
  164. package/dist-embed-ufoathome/DecorParameterTexts_en-idbdHsFG.js +1 -0
  165. package/dist-embed-ufoathome/DecorParameterTexts_es-CIkkLQc2.js +1 -0
  166. package/dist-embed-ufoathome/DecorParameterTexts_fr-D9GeuW_Y.js +1 -0
  167. package/dist-embed-ufoathome/DecorParameterTexts_it-v7TBrnsr.js +1 -0
  168. package/dist-embed-ufoathome/DecoyFlare-DUt1_LcW.js +1 -0
  169. package/dist-embed-ufoathome/DroneEditor-C3SH8yYq.js +16 -0
  170. package/dist-embed-ufoathome/DroneEditorMessages_en-BViHK30c.js +1 -0
  171. package/dist-embed-ufoathome/DroneEditorMessages_es-D6bhIOAa.js +1 -0
  172. package/dist-embed-ufoathome/DroneEditorMessages_fr-CvV0RyOT.js +1 -0
  173. package/dist-embed-ufoathome/DroneEditorMessages_it-CYi-jmVN.js +1 -0
  174. package/dist-embed-ufoathome/DroneFlight-CGNIh9XS.js +1 -0
  175. package/dist-embed-ufoathome/DroneKindMessages_en-CLygXcsv.js +1 -0
  176. package/dist-embed-ufoathome/DroneKindMessages_es-B9XFRYnQ.js +1 -0
  177. package/dist-embed-ufoathome/DroneKindMessages_fr-CAX15_pk.js +1 -0
  178. package/dist-embed-ufoathome/DroneKindMessages_it-CSGsCaJQ.js +1 -0
  179. package/dist-embed-ufoathome/DroneParameterTexts_en-sL1dR2RG.js +1 -0
  180. package/dist-embed-ufoathome/DroneParameterTexts_es-Bg8_8XVE.js +1 -0
  181. package/dist-embed-ufoathome/DroneParameterTexts_fr-B8Ym7Yz6.js +1 -0
  182. package/dist-embed-ufoathome/DroneParameterTexts_it-DfvWjvoc.js +1 -0
  183. package/dist-embed-ufoathome/FilmChrome-DYiyzoB_.js +1 -0
  184. package/dist-embed-ufoathome/FlareKindMessages_en-j3CY_TxX.js +1 -0
  185. package/dist-embed-ufoathome/FlareKindMessages_es-CZgrFIOO.js +1 -0
  186. package/dist-embed-ufoathome/FlareKindMessages_fr-B2MezoN2.js +1 -0
  187. package/dist-embed-ufoathome/FlareKindMessages_it-CmZmb3RP.js +1 -0
  188. package/dist-embed-ufoathome/Flightradar24Provider-BT0RC4qJ.js +1 -0
  189. package/dist-embed-ufoathome/GLTFLoader-DpXgTKpb.js +1 -0
  190. package/dist-embed-ufoathome/GenerativeKit-BmhvjjzB.js +9 -0
  191. package/dist-embed-ufoathome/GenerativeKitMessages-BwG7cWZX.js +1 -0
  192. package/dist-embed-ufoathome/GenerativeKitMessages_en-BY4B6yas.js +34 -0
  193. package/dist-embed-ufoathome/GenerativeKitMessages_es-_iYkoRhK.js +34 -0
  194. package/dist-embed-ufoathome/GenerativeKitMessages_fr-BY5yUJwK.js +34 -0
  195. package/dist-embed-ufoathome/GenerativeKitMessages_it-DAgB31P1.js +34 -0
  196. package/dist-embed-ufoathome/GeoExportTexts-3a51cuxQ.js +1 -0
  197. package/dist-embed-ufoathome/GeoExportTexts_en-Dq0fSJQp.js +1 -0
  198. package/dist-embed-ufoathome/GeoExportTexts_es-CoVHdOo0.js +1 -0
  199. package/dist-embed-ufoathome/GeoExportTexts_fr-DVAMpZIR.js +1 -0
  200. package/dist-embed-ufoathome/GeoExportTexts_it-Bh1uJBQp.js +1 -0
  201. package/dist-embed-ufoathome/GeoJsonExport-bpBmwqb7.js +2 -0
  202. package/dist-embed-ufoathome/GeoJsonImport-CIftC0ws.js +1 -0
  203. package/dist-embed-ufoathome/GeographicFigures-B0Bqeh10.js +1 -0
  204. package/dist-embed-ufoathome/GhostSearchView-Dlhj3xWa.js +1 -0
  205. package/dist-embed-ufoathome/HeadlightSystem-CMT7XiIH.js +34 -0
  206. package/dist-embed-ufoathome/HynekAssessor-qlHGyZnD.js +1 -0
  207. package/dist-embed-ufoathome/InterviewEditorElement-B33-sGHI.js +240 -0
  208. package/dist-embed-ufoathome/InterviewElement-CiZNhb70.js +31 -0
  209. package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +1 -0
  210. package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +1 -0
  211. package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +1 -0
  212. package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +1 -0
  213. package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +1 -0
  214. package/dist-embed-ufoathome/KmlExport-gFuPcL9A.js +19 -0
  215. package/dist-embed-ufoathome/KmlImport-BMAfiqoV.js +1 -0
  216. package/dist-embed-ufoathome/LanternEditor-BaRDgTw-.js +24 -0
  217. package/dist-embed-ufoathome/LanternEditorMessages_en-DaT3UNfD.js +1 -0
  218. package/dist-embed-ufoathome/LanternEditorMessages_es-TDV5lKeJ.js +1 -0
  219. package/dist-embed-ufoathome/LanternEditorMessages_fr-9mByTFMG.js +1 -0
  220. package/dist-embed-ufoathome/LanternEditorMessages_it-MRkJnDQp.js +1 -0
  221. package/dist-embed-ufoathome/LanternKindMessages_en-CQXdJ-k6.js +1 -0
  222. package/dist-embed-ufoathome/LanternKindMessages_es-BOO6kPjs.js +1 -0
  223. package/dist-embed-ufoathome/LanternKindMessages_fr-D7tQa_tQ.js +1 -0
  224. package/dist-embed-ufoathome/LanternKindMessages_it-B8J-29Mj.js +1 -0
  225. package/dist-embed-ufoathome/LanternParameterTexts_en-CcnGd8UH.js +1 -0
  226. package/dist-embed-ufoathome/LanternParameterTexts_es-CUTgNutZ.js +1 -0
  227. package/dist-embed-ufoathome/LanternParameterTexts_fr-P2JwYOUy.js +1 -0
  228. package/dist-embed-ufoathome/LanternParameterTexts_it-CzNnIUrX.js +1 -0
  229. package/dist-embed-ufoathome/LaserBeam-BKuiBaAN.js +1 -0
  230. package/dist-embed-ufoathome/LaunchEditor-CFsq327k.js +22 -0
  231. package/dist-embed-ufoathome/LaunchEditorMessages_en-BnzNAYW9.js +1 -0
  232. package/dist-embed-ufoathome/LaunchEditorMessages_es-BE0dEl7I.js +1 -0
  233. package/dist-embed-ufoathome/LaunchEditorMessages_fr-Ds_VOB8c.js +1 -0
  234. package/dist-embed-ufoathome/LaunchEditorMessages_it-DPQaR8HY.js +1 -0
  235. package/dist-embed-ufoathome/LaunchKindMessages_en-Batvnyw3.js +1 -0
  236. package/dist-embed-ufoathome/LaunchKindMessages_es-KYyQ9gbu.js +1 -0
  237. package/dist-embed-ufoathome/LaunchKindMessages_fr-CoojboIk.js +1 -0
  238. package/dist-embed-ufoathome/LaunchKindMessages_it-9HA3cjgP.js +1 -0
  239. package/dist-embed-ufoathome/LaunchParameterTexts_en-DvrCwbDM.js +1 -0
  240. package/dist-embed-ufoathome/LaunchParameterTexts_es--RUAegVp.js +1 -0
  241. package/dist-embed-ufoathome/LaunchParameterTexts_fr-Bh_1zVzy.js +1 -0
  242. package/dist-embed-ufoathome/LaunchParameterTexts_it-CWDx9nJy.js +1 -0
  243. package/dist-embed-ufoathome/LaunchPlume-p7V7Yg6y.js +1 -0
  244. package/dist-embed-ufoathome/LaunchSimulation-3vTsM_A7.js +1 -0
  245. package/dist-embed-ufoathome/ModelSource-Cd7ByLN1.js +1 -0
  246. package/dist-embed-ufoathome/ModelThumbnails-CASGbavJ.js +1 -0
  247. package/dist-embed-ufoathome/ModelViewer-DEaj6_6R.js +1 -0
  248. package/dist-embed-ufoathome/ModuleConformance-CSg3Ac74.js +2 -0
  249. package/dist-embed-ufoathome/ModuleSession-BaaLmhnz.js +3 -0
  250. package/dist-embed-ufoathome/ModuleThree-DF_JfVBK.js +1 -0
  251. package/dist-embed-ufoathome/ModulesPanelElement-BqF6eK1X.js +15 -0
  252. package/dist-embed-ufoathome/ModulesPanelMessages_en-DuwrY3Pm.js +1 -0
  253. package/dist-embed-ufoathome/ModulesPanelMessages_es-Bq5X-XuT.js +1 -0
  254. package/dist-embed-ufoathome/ModulesPanelMessages_fr-B8cSDc6o.js +1 -0
  255. package/dist-embed-ufoathome/ModulesPanelMessages_it-BdC626aJ.js +1 -0
  256. package/dist-embed-ufoathome/NearestApproach-DnGPayAo.js +1 -0
  257. package/dist-embed-ufoathome/Obstacles-v9SkfBD7.js +1 -0
  258. package/dist-embed-ufoathome/OffThreadTracer-ByPLWaYU.js +6 -0
  259. package/dist-embed-ufoathome/OpenAiTranscriptionProvider-DDW446tK.js +1 -0
  260. package/dist-embed-ufoathome/PanoramaxPictures-CELY3Ecc.js +1 -0
  261. package/dist-embed-ufoathome/ParameterForm-DfpJQGku.js +91 -0
  262. package/dist-embed-ufoathome/PerceptionMessages_en-B2O6DR64.js +1 -0
  263. package/dist-embed-ufoathome/PerceptionMessages_es-BmkP6OqD.js +1 -0
  264. package/dist-embed-ufoathome/PerceptionMessages_fr-B59TnGBC.js +1 -0
  265. package/dist-embed-ufoathome/PerceptionMessages_it-DPlxRmxu.js +1 -0
  266. package/dist-embed-ufoathome/PictureFetch-C3wgf1ZV.js +1 -0
  267. package/dist-embed-ufoathome/PictureRegistration-BFn75haQ.js +1 -0
  268. package/dist-embed-ufoathome/PoherAssessor-DRTvhhZp.js +1 -0
  269. package/dist-embed-ufoathome/RailwaySystem-CUJHpW5y.js +41 -0
  270. package/dist-embed-ufoathome/ReadingCheckTexts_en-eq6teExJ.js +1 -0
  271. package/dist-embed-ufoathome/ReadingCheckTexts_es-CR_JJZMV.js +1 -0
  272. package/dist-embed-ufoathome/ReadingCheckTexts_fr-pcDleIvY.js +1 -0
  273. package/dist-embed-ufoathome/ReadingCheckTexts_it-MFKeoXnq.js +1 -0
  274. package/dist-embed-ufoathome/ReadingSensitivityMessages_en-ChQHFyxb.js +1 -0
  275. package/dist-embed-ufoathome/ReadingSensitivityMessages_es-BbFqHsvR.js +1 -0
  276. package/dist-embed-ufoathome/ReadingSensitivityMessages_fr-Dl4a8udu.js +1 -0
  277. package/dist-embed-ufoathome/ReadingSensitivityMessages_it-CwiJfUo_.js +1 -0
  278. package/dist-embed-ufoathome/RecordingIssue-BlWT8Xsu.js +3 -0
  279. package/dist-embed-ufoathome/ReentryArchive-CeXHrU7L.js +1 -0
  280. package/dist-embed-ufoathome/ReentryEditor-DynYe51Y.js +28 -0
  281. package/dist-embed-ufoathome/ReentryEditorMessages_en-BmTZMr-m.js +1 -0
  282. package/dist-embed-ufoathome/ReentryEditorMessages_es-edid__Jo.js +1 -0
  283. package/dist-embed-ufoathome/ReentryEditorMessages_fr-DHbcY0tN.js +1 -0
  284. package/dist-embed-ufoathome/ReentryEditorMessages_it-CIzkIU4G.js +1 -0
  285. package/dist-embed-ufoathome/ReentryKindMessages_en-BGZgya17.js +1 -0
  286. package/dist-embed-ufoathome/ReentryKindMessages_es--UxzPNfj.js +1 -0
  287. package/dist-embed-ufoathome/ReentryKindMessages_fr-7mer-cdj.js +1 -0
  288. package/dist-embed-ufoathome/ReentryKindMessages_it-BBVQXE1M.js +1 -0
  289. package/dist-embed-ufoathome/ReentryParameterTexts_en-5BOfwCsS.js +1 -0
  290. package/dist-embed-ufoathome/ReentryParameterTexts_es-ze1-U4jB.js +1 -0
  291. package/dist-embed-ufoathome/ReentryParameterTexts_fr-BgUJROXF.js +1 -0
  292. package/dist-embed-ufoathome/ReentryParameterTexts_it-MTb9Vuq0.js +1 -0
  293. package/dist-embed-ufoathome/ReentrySimulation-BTcyhCCG.js +1 -0
  294. package/dist-embed-ufoathome/ReentryTypeNames_en-CBu890Bd.js +1 -0
  295. package/dist-embed-ufoathome/ReentryTypeNames_es-_LnketjJ.js +1 -0
  296. package/dist-embed-ufoathome/ReentryTypeNames_fr-BXq89mrz.js +1 -0
  297. package/dist-embed-ufoathome/ReentryTypeNames_it-Yfq-TDip.js +1 -0
  298. package/dist-embed-ufoathome/ReferenceSystem-WdAT5UCN.js +1 -0
  299. package/dist-embed-ufoathome/ReferenceTimeline-2kBldQeG.js +1 -0
  300. package/dist-embed-ufoathome/RoadMarkings-BsN3rh0W.js +1 -0
  301. package/dist-embed-ufoathome/SaidPosition-CWiVNaNW.js +4 -0
  302. package/dist-embed-ufoathome/SatellitePasses-Pfro2-0Z.js +1 -0
  303. package/dist-embed-ufoathome/SceneNames_en-7OZ7peGc.js +1 -0
  304. package/dist-embed-ufoathome/SceneNames_es-P5-Mavdi.js +1 -0
  305. package/dist-embed-ufoathome/SceneNames_fr-qzw0QzD0.js +1 -0
  306. package/dist-embed-ufoathome/SceneNames_it-Sqf8JFOd.js +1 -0
  307. package/dist-embed-ufoathome/ShareCodeEditor-DyEYu_9d.js +13 -0
  308. package/dist-embed-ufoathome/ShareDialogElement-C3HL-Smq.js +9222 -0
  309. package/dist-embed-ufoathome/ShareMessages_en-B43x8LgJ.js +1 -0
  310. package/dist-embed-ufoathome/ShareMessages_es-DZCJojSc.js +1 -0
  311. package/dist-embed-ufoathome/ShareMessages_fr-CzZyVbbX.js +1 -0
  312. package/dist-embed-ufoathome/ShareMessages_it-C_Z6eDQK.js +1 -0
  313. package/dist-embed-ufoathome/Sighting-CBpJpdm9.js +1 -0
  314. package/dist-embed-ufoathome/SightingEditorMessages_en-CTQYcybj.js +12 -0
  315. package/dist-embed-ufoathome/SightingEditorMessages_es-D-ASD5a3.js +12 -0
  316. package/dist-embed-ufoathome/SightingEditorMessages_fr-DjUByAq4.js +12 -0
  317. package/dist-embed-ufoathome/SightingEditorMessages_it-Eat0U-4p.js +12 -0
  318. package/dist-embed-ufoathome/SightingElement-CexCUTjH.js +693 -0
  319. package/dist-embed-ufoathome/SightingFileEditor-Cllslp2u.js +8 -0
  320. package/dist-embed-ufoathome/SightingLabels_en-oIpytoq_.js +1 -0
  321. package/dist-embed-ufoathome/SightingLabels_es-DUh1CTXl.js +1 -0
  322. package/dist-embed-ufoathome/SightingLabels_fr-D69zENbW.js +1 -0
  323. package/dist-embed-ufoathome/SightingLabels_it-COLZ2Qth.js +1 -0
  324. package/dist-embed-ufoathome/SightingMessages_en-CYzanHjT.js +1 -0
  325. package/dist-embed-ufoathome/SightingMessages_es-hjvESK6f.js +1 -0
  326. package/dist-embed-ufoathome/SightingMessages_fr-BtfWbIP7.js +1 -0
  327. package/dist-embed-ufoathome/SightingMessages_it-Bqm4pewZ.js +1 -0
  328. package/dist-embed-ufoathome/SkyEventEditorStyle-CvY_AhbI.js +1 -0
  329. package/dist-embed-ufoathome/SkyLantern-DJT_Ibzh.js +1 -0
  330. package/dist-embed-ufoathome/TagNames_es-BfnMpc3D.js +1 -0
  331. package/dist-embed-ufoathome/TagNames_fr-Dnqq6HQ5.js +1 -0
  332. package/dist-embed-ufoathome/TagNames_it-n6E4EGYO.js +1 -0
  333. package/dist-embed-ufoathome/TimelineTracks-X_GEZi12.js +35 -0
  334. package/dist-embed-ufoathome/TraceImport-CntRHXoJ.js +2 -0
  335. package/dist-embed-ufoathome/TraceSystem-Bm9JDfkW.js +393 -0
  336. package/dist-embed-ufoathome/TranscriptionAudio-C_xvRUv2.js +5 -0
  337. package/dist-embed-ufoathome/TranscriptionError-D_TCbYbt.js +1 -0
  338. package/dist-embed-ufoathome/UfoAtHomeMessages_en-dlx_C679.js +1 -0
  339. package/dist-embed-ufoathome/UfoAtHomeMessages_es-uLOvtAD0.js +1 -0
  340. package/dist-embed-ufoathome/UfoAtHomeMessages_fr-LR76-eHS.js +1 -0
  341. package/dist-embed-ufoathome/UfoAtHomeMessages_it-CQl4uTnG.js +1 -0
  342. package/dist-embed-ufoathome/UfoMessages_en-D5OYWJ3K.js +1 -0
  343. package/dist-embed-ufoathome/UfoMessages_es-CO-v8Jl6.js +1 -0
  344. package/dist-embed-ufoathome/UfoMessages_fr-CGkQBn5r.js +1 -0
  345. package/dist-embed-ufoathome/UfoMessages_it-BScqxIaH.js +1 -0
  346. package/dist-embed-ufoathome/VideoButton-CH3rw9kX.js +1 -0
  347. package/dist-embed-ufoathome/VideoExport-B8ZhHNnd.js +169 -0
  348. package/dist-embed-ufoathome/VisualAids-DI-hEL46.js +1 -0
  349. package/dist-embed-ufoathome/WaterSystem-CraSRAgB.js +19 -0
  350. package/dist-embed-ufoathome/browser-CltifEM0.js +1 -0
  351. package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +1 -0
  352. package/dist-embed-ufoathome/index-C8cdeM8E.js +11 -0
  353. package/dist-embed-ufoathome/index-DqGmxMZD.js +42 -0
  354. package/dist-embed-ufoathome/interviewImport-ym5iXO4Z.js +4 -0
  355. package/{dist-embed-sighting-editor/interviewJson-iURHP4Zk.js → dist-embed-ufoathome/interviewJson-D-i14LTf.js} +1 -1
  356. package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +1 -0
  357. package/dist-embed-ufoathome/logo-h2-w4Mwu.png +0 -0
  358. package/dist-embed-ufoathome/lunar-relief.bin-ByThqxUn.gz +0 -0
  359. package/dist-embed-ufoathome/node.browser-AK49Qif5.js +1 -0
  360. package/dist-embed-ufoathome/node.browser-HEqoqodz.js +1 -0
  361. package/dist-embed-ufoathome/rain-BvWZrB9h.ogg +0 -0
  362. package/dist-embed-ufoathome/rr0-ufoathome.mjs +159 -0
  363. package/dist-embed-ufoathome/sightingSchema-CgwoRMl-.js +1 -0
  364. package/dist-embed-ufoathome/stars-mag7.5-9-BLV2tFmZ.bin +0 -0
  365. package/dist-embed-ufoathome/stars-mag7.5-B43R6Wvg.bin +0 -0
  366. package/dist-embed-ufoathome/surroundingsSources-kPwp7ewe.js +1 -0
  367. package/dist-embed-ufoathome/thunder-DA48qs_v.wav +0 -0
  368. package/dist-embed-ufoathome/trafficRuntime-DM6gQGDZ.js +2 -0
  369. package/dist-embed-ufoathome/upperAirSources-BGuLpdwu.js +1 -0
  370. package/dist-embed-ufoathome/wind-BjklexY7.ogg +0 -0
  371. package/package.json +9 -6
  372. package/dist-embed-sighting/CaseMessages_en-Bv5lKWl_.js +0 -1
  373. package/dist-embed-sighting/CaseMessages_es-BhZv_CtC.js +0 -1
  374. package/dist-embed-sighting/CaseMessages_fr-C5V5YNc_.js +0 -1
  375. package/dist-embed-sighting/CaseMessages_it-NPdAZwa_.js +0 -1
  376. package/dist-embed-sighting-editor/BirdEditor-ESUliJEN.js +0 -16
  377. package/dist-embed-sighting-editor/DroneEditor-DDaJO8FS.js +0 -16
  378. package/dist-embed-sighting-editor/GLTFLoader-DdijxzcI.js +0 -1
  379. package/dist-embed-sighting-editor/GeographicFigures-DC6Tw3ja.js +0 -1
  380. package/dist-embed-sighting-editor/InterviewEditorElement-D-UDHU0L.js +0 -270
  381. package/dist-embed-sighting-editor/LanternEditor-DDcI5Kv1.js +0 -24
  382. package/dist-embed-sighting-editor/LaunchEditor-Pkk0K648.js +0 -22
  383. package/dist-embed-sighting-editor/ModuleThree-DSghL4fp.js +0 -1
  384. package/dist-embed-sighting-editor/PictureRegistration-CbfytwCX.js +0 -1
  385. package/dist-embed-sighting-editor/ReentryEditor-NE8z5aZT.js +0 -28
  386. package/dist-embed-sighting-editor/SightingEditorMessages_en-DSPvgYFi.js +0 -12
  387. package/dist-embed-sighting-editor/SightingEditorMessages_es-Bl3DipHr.js +0 -12
  388. package/dist-embed-sighting-editor/SightingEditorMessages_fr-BTmWQX0n.js +0 -12
  389. package/dist-embed-sighting-editor/SightingEditorMessages_it-lzbDsHjx.js +0 -12
  390. package/dist-embed-sighting-editor/VideoButton-CqCZ65oK.js +0 -1
@@ -0,0 +1,142 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CaseReportExport-Dy1xmhTI.js","./rr0-ufoathome.mjs","./ShareDialogElement-C3HL-Smq.js","./SaidPosition-CWiVNaNW.js","./Sighting-CBpJpdm9.js","./VisualAids-DI-hEL46.js","./Decor-Dn-cvniW.js","./RecordingIssue-BlWT8Xsu.js","./Obstacles-v9SkfBD7.js"])))=>i.map(i=>d[i]);
2
+ import{l as C,R as T,aR as A,H as y}from"./ShareDialogElement-C3HL-Smq.js";import{s as N,U as R,H as I,x as L,P as E,y as O,_ as M}from"./rr0-ufoathome.mjs";import{I as S}from"./SaidPosition-CWiVNaNW.js";class v extends HTMLElement{static TAG="rr0-readings-comparison";static CSS=`
3
+ :host { display: block; font-size: 13px; line-height: 1.4; }
4
+ :host([hidden]) { display: none; }
5
+ summary { cursor: pointer; list-style-position: inside; font: 600 12px/1.4 var(--rr0-sans, system-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
6
+ .scroll { overflow-x: auto; margin-top: 6px; }
7
+ table { border-collapse: collapse; width: 100%; min-width: 34em; }
8
+ th, td { padding: 4px 8px; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); text-align: left; vertical-align: top; }
9
+ th { font-weight: 600; opacity: .75; white-space: nowrap; }
10
+ td.number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
11
+ td[data-robustness="sufficient"] { color: var(--ok, #2e8b3e); }
12
+ td[data-robustness="fine-tuned"], td[data-robustness="too-few"] { color: var(--warn, #d9822b); }
13
+ td[data-robustness="none"] { opacity: .6; }
14
+ th button.sort { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; white-space: nowrap; }
15
+ th button.sort:hover, th[aria-sort] button.sort { text-decoration: underline; text-underline-offset: 2px; }
16
+ button.link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
17
+ ${C.CSS}
18
+ `;messages;language="en";rows=[];load;loaded=!1;opened=!1;sort={key:"reproduced",descending:!0};static register(){customElements.get(v.TAG)||customElements.define(v.TAG,v)}static create(){return v.register(),document.createElement(v.TAG)}constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.messages||this.loadLocale()}show(e,n){this.rows=e,this.load=n,this.loaded=e.every(a=>a.account&&a.reading),this.draw(),this.opened&&this.loadRows()}async loadLocale(){const e=N(I.preferencesFor(this),R);this.messages=await L.load(e),this.language=e,this.draw()}async loadRows(){this.loaded||!this.load||(this.loaded=!0,this.rows=await this.load(),this.draw())}draw(){const e=this.messages;if(this.hidden=this.rows.length===0,!e||this.rows.length===0){this.shadowRoot.replaceChildren();return}const n=e.comparison,a=document.createElement("style");a.textContent=v.CSS;const s=document.createElement("details");s.open=this.opened,s.addEventListener("toggle",()=>{this.opened=s.open,s.open&&this.loadRows()});const o=document.createElement("summary");o.append(n.heading.replace("{n}",String(this.rows.length)),C.of(n.hint));const t=document.createElement("table"),i=t.createTHead().insertRow(),l=[[n.reading,"case"],[n.witness,void 0],[n.reproduced,"reproduced"],[n.gap,"gap"],[n.robustness,"robustness"],[n.supposed,"supposed"]];for(const[p,u]of l){const g=document.createElement("th");if(g.scope="col",!u)g.textContent=p;else{const f=this.sort.key===u;f&&u!=="case"&&g.setAttribute("aria-sort",this.sort.descending?"descending":"ascending"),f&&u==="case"&&g.setAttribute("aria-sort","other");const m=document.createElement("button");m.type="button",m.className="sort",m.title=n.sortBy.replace("{column}",p),m.textContent=f&&u!=="case"?`${p} ${this.sort.descending?"▾":"▴"}`:p,m.addEventListener("click",()=>{this.sort=f?{key:u,descending:!this.sort.descending}:{key:u,descending:u!=="gap"&&u!=="supposed"},this.draw()}),g.append(m)}i.append(g)}const c=t.createTBody(),d=this.ordered(),r=this.sort.key==="case"||this.sort.key==="reproduced",w=[...new Set(d.map(p=>p.title))],h=r?w.flatMap(p=>d.filter(u=>u.title===p)):d;h.forEach((p,u)=>{const f=!r||u===0||h[u-1].title!==p.title?r?h.filter(m=>m.title===p.title).length:1:0;this.drawRow(c.insertRow(),p,e,f)});const x=document.createElement("div");x.className="scroll",x.append(t),s.append(o,x),this.shadowRoot.replaceChildren(a,s)}ordered(){const{key:e,descending:n}=this.sort;if(e==="case")return[...this.rows];const a=new Map(this.rows.map(t=>[t,this.standingOf(t)])),s=n?-1:1,o={reproduced:(t,i)=>s*(t.agreement-i.agreement)||(i.robustness-t.robustness)*s||((t.gapDeg??1/0)-(i.gapDeg??1/0))*-s||(t.supposed-i.supposed)*-s,gap:(t,i)=>(t.gapDeg===void 0?1:0)-(i.gapDeg===void 0?1:0)||s*((t.gapDeg??0)-(i.gapDeg??0)),robustness:(t,i)=>-s*(t.robustness-i.robustness),supposed:(t,i)=>s*(t.supposed-i.supposed)}[e];return this.rows.map((t,i)=>({row:t,index:i})).sort((t,i)=>{const l=a.get(t.row),c=a.get(i.row);return!l||!c?(l?0:1)-(c?0:1)||t.index-i.index:o(l,c)||t.index-i.index}).map(t=>t.row)}standingOf(e){if(!e.account||!e.reading)return;const n=T.resultOf(e.account,e.reading);if(!n||n.compared===0)return;const{provenance:a}=E.strip(e.reading),s=a.paths().filter(t=>t.startsWith("interpretation")&&E.free(a.at(t))).length,o=A.measurable(n)?n.sufficient===!0?0:n.sufficient===!1?2:1:3;return{agreement:n.agreement,robustness:o,...n.medianSeparationDeg===void 0?{}:{gapDeg:n.medianSeparationDeg},supposed:s}}drawTitle(e,n,a){const s=e.insertCell();s.rowSpan=a,s.textContent=n.title}drawWitness(e,n){const a=e.insertCell();if(!n.open){a.textContent=n.witness;return}const s=document.createElement("button");s.type="button",s.className="link",s.textContent=n.witness,s.addEventListener("click",n.open),a.append(s)}drawRow(e,n,a,s){const o=a.comparison,t=(h,x=!1)=>{const p=e.insertCell();return p.textContent=h,x&&(p.className="number"),p};if(s>0&&this.drawTitle(e,n,s),this.drawWitness(e,n),!n.account||!n.reading){for(let h=0;h<4;h++)t(o.loading);return}const i=T.resultOf(n.account,n.reading),{provenance:l}=E.strip(n.reading),c=l.paths().filter(h=>h.startsWith("interpretation")&&E.free(l.at(h)));if(!i||i.compared===0){const h=t(o.nothing);h.colSpan=3,h.dataset.robustness="none",t(String(c.length),!0);return}const d=Math.round(i.agreement*i.compared);t(`${d} / ${i.compared}`,!0);const r=new Intl.NumberFormat(this.language,{maximumFractionDigits:1});t(i.medianSeparationDeg===void 0?"–":`${r.format(i.medianSeparationDeg)}°`,!0);const w=A.measurable(i)?i.sufficient===!0?{kind:"sufficient",text:o.sufficient}:i.sufficient===!1?{kind:"fine-tuned",text:o.fineTuned.replace("{knob}",a.knobs[i.margins[0].knob])}:{kind:"none",text:o.unjudged}:{kind:"too-few",text:o.tooFew};t(w.text).dataset.robustness=w.kind,t(String(c.length),!0)}}class b extends HTMLElement{static TAG="rr0-case-export";static ICON='<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 1.8h5.2L12.5 5v9.2H4z"/><path d="M9 1.8V5h3.5M6 8.2h4.5M6 10.6h4.5M6 12.9h2.5"/></svg>';static CSS=`
19
+ :host { display: inline-block; position: relative; }
20
+ :host([hidden]) { display: none; }
21
+ /* A button's own type, as its neighbours keep theirs: a size in em taken from the bar's text made it taller than they are. */
22
+ button.open { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
23
+ .menu { min-width: 16em; max-width: 22em; padding: 4px; border: 1px solid var(--line, #ccc); border-radius: 10px; background: var(--ground, Canvas);
24
+ color: var(--ink, CanvasText); box-shadow: 0 8px 28px rgba(0, 0, 0, .2); font: 400 13px/1.35 var(--sans, system-ui, sans-serif); }
25
+ .menu button { display: block; width: 100%; padding: 6px 10px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
26
+ .menu button:is(:hover, :focus-visible) { background: color-mix(in srgb, currentColor 9%, transparent); }
27
+ .menu strong { display: block; font-weight: 600; }
28
+ .menu small { display: block; opacity: .7; }
29
+ .status { padding: 6px 10px; opacity: .8; }
30
+ .option { display: flex; gap: 8px; align-items: flex-start; padding: 6px 10px; border-top: 1px solid var(--line, #ddd); margin-top: 4px; cursor: pointer; }
31
+ .option input { margin: 2px 0 0; }
32
+ ${y.css(".menu")}
33
+ .menu:popover-open { position-area: bottom span-left; margin: .35em 0 0; }
34
+ `;source;messages;language="en";preferences=["en"];status;withPictures;static register(){customElements.get(b.TAG)||customElements.define(b.TAG,b)}constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.messages||this.loadLocale()}async loadLocale(){this.preferences=I.preferencesFor(this),this.language=N([...this.preferences],R),this.messages=await O.load(this.language),this.draw()}draw(){const e=this.messages,n=document.createElement("style");n.textContent=b.CSS;const a=document.createElement("button");a.type="button",a.className="open",a.setAttribute("part","button"),a.title=e.hint,a.setAttribute("aria-label",e.hint),a.setAttribute("aria-haspopup","menu"),a.innerHTML=b.ICON,this.getAttribute("variant")==="pill"&&a.append(Object.assign(document.createElement("span"),{textContent:e.button}));const s=document.createElement("div");s.className="menu",s.setAttribute("role","menu"),y.attach(a,s);const o=[["html",e.html,e.htmlHint],["print",e.print,e.printHint],["json",e.json,e.jsonHint],["csv",e.csv,e.csvHint]];s.append(...o.map(([l,c,d])=>{const r=document.createElement("button");return r.type="button",r.setAttribute("role","menuitem"),r.append(Object.assign(document.createElement("strong"),{textContent:c}),Object.assign(document.createElement("small"),{textContent:d})),r.addEventListener("click",()=>void this.export(l,s)),r}));const t=document.createElement("label");t.className="option",this.withPictures=Object.assign(document.createElement("input"),{type:"checkbox"});const i=document.createElement("span");i.append(Object.assign(document.createElement("strong"),{textContent:e.pictures}),Object.assign(document.createElement("small"),{textContent:e.picturesHint})),t.append(this.withPictures,i),s.append(t),this.status=Object.assign(document.createElement("p"),{className:"status",hidden:!0}),this.status.setAttribute("role","status"),s.append(this.status),a.addEventListener("click",()=>y.show(s,s.hidden)),this.shadowRoot.replaceChildren(n,a,s)}async export(e,n){const a=this.messages;if(this.source){this.status.textContent=a.working,this.status.hidden=!1;try{const[{CaseReportExport:s},o]=await Promise.all([M(()=>import("./CaseReportExport-Dy1xmhTI.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),this.source()]);await s.make(e,o,this.language,this.preferences,this.withPictures?.checked??!1,(t,i)=>{this.status.textContent=a.drawing.replace("{done}",String(t)).replace("{total}",String(i))}),this.status.hidden=!0,y.show(n,!1)}catch{this.status.textContent=a.failed}}}}const j="interviewchange",P="interviewseek";class k{constructor(e,n,a=n,s,o){this.list=e,this.choose=n,this.follow=a,this.toggle=s,this.fold=o}static CSS=`
35
+ :host {
36
+ --tl-ink: currentColor;
37
+ --tl-ink-dim: color-mix(in srgb, currentColor 80%, transparent);
38
+ --tl-ink-faint: color-mix(in srgb, currentColor 65%, transparent);
39
+ --tl-line: color-mix(in srgb, currentColor 18%, transparent);
40
+ --tl-ground: transparent;
41
+ /* The disc takes the page's own background, not a dark one: on a light page every mark was a dark coin, where a reading's dimmed
42
+ grey icon simply did not show. The Canvas system colour is the page's own, so this follows light and dark by itself. */
43
+ --tl-disc: var(--rr0-ground, Canvas);
44
+ --tl-hover: color-mix(in srgb, currentColor 5%, transparent);
45
+ --tl-sky: var(--rr0-sky, #7fd4ff);
46
+ --tl-glow: var(--rr0-glow, #e8b84b);
47
+ --tl-sans: var(--rr0-sans, system-ui, sans-serif);
48
+ }
49
+ .event-card, .kind-pill { --kind: var(--tl-glow); --kind-bg: color-mix(in srgb, var(--kind) 16%, transparent); }
50
+ :is(.event-card, .kind-pill)[data-kind="interview"] { --kind: var(--tl-sky); }
51
+ :is(.event-card, .kind-pill)[data-kind="reading"] { --kind: var(--tl-ink-faint); }
52
+ /* The line runs through the centre of every mark: each event draws its own stretch of it, from the one above to the one below, the
53
+ first from its mark down and the last down to its mark, and none when it is the only one. Both are placed from the card's outer edge,
54
+ past its 1px border. The mark stands level with the kind's pill: the card's middle while the card is one row, the pill's line once it
55
+ wraps. */
56
+ /* Its own container: the cards are laid out for the width the list is given, which a column beside an open event narrows (see the
57
+ editor's and the reader's two columns), not for the whole component's. */
58
+ .event-list { --rail: 7px; --gap: 10px; display: grid; gap: var(--gap); margin: 0; padding: 0 0 0 24px; list-style: none; container-type: inline-size; }
59
+ .event-card { --dot-y: 50%; position: relative; border: 1px solid var(--tl-line); border-radius: 10px; background: var(--tl-ground); color: var(--tl-ink); }
60
+ .event-card::after { content: ""; position: absolute; left: calc(var(--rail) - 24px - 1px); top: calc(-1px - var(--gap) / 2);
61
+ bottom: calc(-1px - var(--gap) / 2); width: 1px; transform: translateX(-50%); background: var(--tl-line); pointer-events: none; }
62
+ .event-card:first-child::after { top: calc(var(--dot-y) - 1px); }
63
+ .event-card:last-child::after { bottom: calc(100% - var(--dot-y) - 1px); }
64
+ .event-card:only-child::after { display: none; }
65
+ /* On the rail, in the colour of its kind: what kind of event it is, rather than a dot that says only that there is one. */
66
+ .event-mark { position: absolute; z-index: 1; left: calc(var(--rail) - 24px - 1px); top: calc(var(--dot-y) - 1px); display: grid; place-items: center;
67
+ width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--tl-disc); color: var(--kind);
68
+ pointer-events: none; }
69
+ .event-mark svg { width: 14px; height: 14px; }
70
+ /* Where the host lets several events be open, the mark is what shows one beside the others or puts it away: the card itself opens it
71
+ alone. Above the title's hit area, which runs over the rail. */
72
+ button.event-mark { z-index: 2; padding: 0; border: 1px solid var(--tl-line); font: inherit; cursor: pointer; pointer-events: auto; }
73
+ button.event-mark:hover { border-color: var(--kind); }
74
+ button.event-mark:focus-visible { outline: 2px solid var(--tl-sky); outline-offset: 1px; }
75
+ /* Open, it is ringed in the kind's colour on its disc, never filled: a reading's colour is a translucent grey, which the rail showed through. */
76
+ .event-card[data-open] > button.event-mark { border-color: var(--kind); box-shadow: 0 0 0 1px var(--kind); color: var(--tl-ink); }
77
+ /* A reading grouped under its observation: set in from the rail, on a branch that comes out of the observation's card, its mark on that
78
+ branch. The rail goes on past it, to the next event in time. The branch runs from the card above (the observation, or the reading before)
79
+ down to this mark, and on to the next reading's when there is one. */
80
+ .event-card[data-nested] { --nest: 28px; --branch: calc(-1px - var(--nest) / 2 - 3px); margin-left: var(--nest); }
81
+ .event-card[data-nested]::after { left: calc(var(--rail) - 24px - 1px - var(--nest)); }
82
+ .event-card[data-nested] > .event-mark { left: var(--branch); }
83
+ .event-card[data-nested]::before { content: ""; position: absolute; left: var(--branch); top: calc(-1px - var(--gap));
84
+ bottom: calc(100% - var(--dot-y) - 1px); width: 1px; transform: translateX(-50%); background: var(--tl-line); pointer-events: none; }
85
+ .event-card[data-nested]:has(+ .event-card[data-nested])::before { bottom: -1px; }
86
+ .event-card[data-nested] .event-open::after { left: calc(-24px - 1px - var(--nest)); }
87
+ /* What folds an observation's readings away or unfolds them: above the title's hit area, at the card's end. */
88
+ .event-fold { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; justify-self: end; grid-column: -2 / -1;
89
+ grid-row: 1; padding: 2px 8px; border: 1px solid var(--tl-line); border-radius: 999px; background: none; color: var(--tl-ink-dim);
90
+ font: 600 12px/1.5 var(--tl-sans); cursor: pointer; }
91
+ .event-fold:hover { color: var(--tl-ink); border-color: var(--tl-ink-faint); }
92
+ .event-fold:focus-visible { outline: 2px solid var(--tl-sky); outline-offset: 2px; }
93
+ .event-fold svg { width: 12px; height: 12px; transition: transform .15s; }
94
+ .event-fold[aria-expanded="false"] svg { transform: rotate(-90deg); }
95
+ .event-main:has(+ .event-fold) { padding-right: 64px; }
96
+ /* What the card is linked to goes UNDER what it says, across the card: beside the title it had a third of the width and wrapped on every
97
+ reference, below it has the whole of it. */
98
+ .event-body { display: grid; grid-template-columns: minmax(96px, auto) minmax(0, 1fr); grid-template-areas: "pill main" "links links";
99
+ align-items: center; gap: 4px 12px; min-width: 0; padding: 12px 14px; }
100
+ .kind-pill { grid-area: pill; justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--kind-bg); color: var(--tl-ink);
101
+ font: 700 12px/1.5 var(--tl-sans); white-space: nowrap; }
102
+ .event-main { grid-area: main; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
103
+ /* The title opens the event, and the whole card with it: its hit area is stretched over the card, and left over the rail beside it, the
104
+ whole height of the card: the mark there is the card's too (see .event-list's padding, which the rail stands in). */
105
+ .event-open { min-height: 0; padding: 0; border: 0; background: none; color: var(--tl-ink); font: 600 15px/1.35 var(--tl-sans); text-align: left; cursor: pointer; }
106
+ .event-open::after { content: ""; position: absolute; inset: 0 0 0 calc(-24px - 1px); border-radius: 0 10px 10px 0; }
107
+ .event-open:hover:not(:disabled) { background: none; }
108
+ .event-open:focus-visible { outline: none; }
109
+ .event-card:has(.event-open:hover) { background: var(--tl-hover); }
110
+ .event-card:has(.event-open:focus-visible) { outline: 2px solid var(--tl-sky); outline-offset: 2px; }
111
+ .event-meta { font-size: 13px; color: var(--tl-ink-faint); overflow-wrap: anywhere; }
112
+ .event-links { grid-area: links; font-size: 13px; color: var(--tl-ink-dim); }
113
+ .event-links:empty { display: none; }
114
+ /* Open, it is lit: the card and what it opened below are the same thing seen twice. */
115
+ .event-card[data-open] { border-color: var(--kind); background: color-mix(in srgb, var(--kind) 8%, transparent); }
116
+ /* A renvoi to another event of the case: it opens it, so it looks like what it is. Above the hit area the title stretches over the whole
117
+ card: otherwise the card swallows the click and opens itself, which is exactly not where the renvoi leads. */
118
+ .event-ref { position: relative; z-index: 1; padding: 0; border: 0; background: none; font: inherit; color: var(--tl-sky);
119
+ text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
120
+ .event-ref:hover { color: var(--tl-ink); }
121
+ .event-ref:focus-visible { outline: 2px solid var(--tl-sky); outline-offset: 2px; border-radius: 3px; }
122
+ /* The card a renvoi is pointing at, while it is pointed at. */
123
+ .event-card.event-aimed { outline: 2px solid var(--tl-sky); outline-offset: 2px; background: var(--tl-hover); }
124
+ @container (max-width: 640px) {
125
+ .event-card { --dot-y: 24px; }
126
+ .event-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pill" "main" "links"; gap: 6px 10px; }
127
+ /* The fold under what the card says: on the top line it would sit under an editor's tools. */
128
+ .event-fold { grid-row: auto; justify-self: start; }
129
+ .event-main:has(+ .event-fold) { padding-right: 0; }
130
+ }
131
+ `;static EDITOR_TOKENS=`
132
+ --tl-ink: var(--ink);
133
+ --tl-ink-dim: var(--ink-dim);
134
+ --tl-ink-faint: var(--ink-faint);
135
+ --tl-line: var(--line-strong);
136
+ --tl-ground: var(--ground);
137
+ --tl-disc: var(--ground-raised);
138
+ --tl-hover: var(--ground-sunken);
139
+ --tl-sky: var(--sky);
140
+ --tl-glow: var(--glow-solid);
141
+ --tl-sans: var(--sans);
142
+ `;static MARKS={observation:S.WITNESS,reading:S.SUMMARY,interview:S.INTERVIEW};static inTime(e,n){const a=o=>{const t=n.when(o);return t!==""||n.kind(o)!=="reading"?t:n.read(o).map(i=>n.when(i)).find(i=>i!=="")??""},s=o=>n.kind(o)==="reading"?1:0;return e.map((o,t)=>({item:o,index:t,when:a(o)})).sort((o,t)=>o.when.localeCompare(t.when)||s(o.item)-s(t.item)||o.index-t.index).map(({item:o,index:t})=>({item:o,index:t}))}static grouped(e,n){const a=new Set(e.filter(({item:t})=>n.kind(t)==="observation").map(({item:t})=>t)),s=new Map;for(const{item:t}of e){if(n.kind(t)!=="reading")continue;const i=n.read(t).find(l=>a.has(l));i!==void 0&&s.set(t,i)}const o=[];for(const t of e)if(!s.has(t.item)&&(o.push(t),!!a.has(t.item)))for(const i of e)s.get(i.item)===t.item&&o.push({...i,under:t.item});return o}static GROUPING_KEY="rr0-case-group-readings";static groupingRemembered(){try{return localStorage.getItem(k.GROUPING_KEY)==="1"}catch{return!1}}static rememberGrouping(e){try{localStorage.setItem(k.GROUPING_KEY,e?"1":"0")}catch{}}static kindLabel(e,n){return{observation:n.kindObservation,reading:n.kindReading,interview:n.kindInterview}[e]}render(e,n,a){this.list.replaceChildren(...e.map(s=>{const o=this.card(s,n);return a?.(s,o),o.card}))}card(e,n){const a=document.createElement("li");a.className="event-card",a.dataset.kind=e.kind,a.dataset.at=String(e.at),e.open&&(a.dataset.open=""),e.nested&&(a.dataset.nested="");const s=document.createElement("span");s.className="kind-pill",s.dataset.kind=e.kind,s.textContent=k.kindLabel(e.kind,n);const o=document.createElement("div");o.className="event-main";const t=document.createElement("button");t.type="button",t.className="event-open",t.textContent=e.title,t.title=n.openEvent,t.addEventListener("click",()=>this.choose(e.at));const i=document.createElement("span");i.className="event-meta",i.textContent=e.meta,o.append(t,i);const l=document.createElement("span");l.className="event-links",l.append(...this.said(e,n));const c=document.createElement("div");if(c.className="event-body",c.append(s,o),e.readings&&e.readings.count>0&&this.fold){const r=document.createElement("button");r.type="button",r.className="event-fold",r.setAttribute("aria-expanded",String(!e.readings.folded)),r.title=(e.readings.folded?n.unfoldReadings:n.foldReadings)??"",r.innerHTML='<svg viewBox="0 0 16 16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6l4 4 4-4"/></svg>',r.append(String(e.readings.count)),r.addEventListener("click",()=>this.fold(e.at)),c.append(r)}c.append(l);const d=document.createElement(this.toggle?"button":"span");return d.className="event-mark",d.innerHTML=k.MARKS[e.kind],d instanceof HTMLButtonElement?(d.type="button",d.title=n.toggleEvent??n.openEvent,d.setAttribute("aria-label",`${d.title} — ${e.title}`),d.setAttribute("aria-pressed",String(e.open===!0)),d.addEventListener("click",()=>this.toggle(e.at))):d.setAttribute("aria-hidden","true"),a.append(c,d),{card:a,body:c,links:l}}said(e,n){const a=[],s=e.links?.to??[];if(e.links&&s.length>0){const o=s.map(t=>this.renvoi(t.at,t.title,n));a.push(`${e.links.heading} `,...o.flatMap((t,i)=>i===0?[t]:[document.createTextNode(i===o.length-1?` ${n.linkAnd} `:", "),t]))}return e.by&&a.push(`${a.length>0?" ":""}${n.byAuthor} ${e.by}`),a}renvoi(e,n,a){const s=document.createElement("a");s.href="#",s.className="event-ref",s.textContent=n,s.title=a.openEvent,s.addEventListener("click",t=>{t.preventDefault(),this.follow(e)});const o=t=>this.list.querySelectorAll(`.event-card[data-at="${e}"]`).forEach(i=>i.classList.toggle("event-aimed",t));for(const[t,i]of[["mouseenter",!0],["mouseleave",!1],["focus",!0],["blur",!1]])s.addEventListener(t,()=>o(i));return s}}export{k as C,P as I,v as R,b as a,j as b};
@@ -0,0 +1 @@
1
+ const e={keyLabel:"Claude API key",keySuspect:"This does not look like a Claude API key: they begin with sk-ant-",workspaceLabel:"Workspace ID",workspacePlaceholder:"only if your key spans several",workspaceHint:"Only for a key whose scope is the whole organisation. Simpler: leave this empty and create a key scoped to one workspace instead.",modelLabel:"Model",fableChoice:"Claude Fable 5.1 (most capable, dearer)",sonnetChoice:"Claude Sonnet 5.5 (cheaper)",haikuChoice:"Claude Haiku 4.5 (cheapest)"};export{e as claudeNarrativeTexts_en};
@@ -0,0 +1 @@
1
+ const a={keyLabel:"Clave de API de Claude",keySuspect:"Esto no parece una clave de API de Claude: empiezan por sk-ant-",workspaceLabel:"ID del espacio de trabajo",workspacePlaceholder:"solo si tu clave abarca varios",workspaceHint:"Solo para una clave que abarca toda la organización. Más sencillo: déjalo vacío y crea una clave limitada a un espacio de trabajo.",modelLabel:"Modelo",fableChoice:"Claude Fable 5.1 (el más capaz, más caro)",sonnetChoice:"Claude Sonnet 5.5 (más barato)",haikuChoice:"Claude Haiku 4.5 (el más barato)"};export{a as claudeNarrativeTexts_es};
@@ -0,0 +1 @@
1
+ const e={keyLabel:"Clé d'API Claude",keySuspect:"Ceci ne ressemble pas à une clé d'API Claude : elles commencent par sk-ant-",workspaceLabel:"ID d'espace de travail",workspacePlaceholder:"seulement si votre clé en couvre plusieurs",workspaceHint:"Seulement pour une clé couvrant toute l'organisation. Plus simple : laissez vide et créez une clé limitée à un espace de travail.",modelLabel:"Modèle",fableChoice:"Claude Fable 5.1 (le plus capable, plus cher)",sonnetChoice:"Claude Sonnet 5.5 (moins cher)",haikuChoice:"Claude Haiku 4.5 (le moins cher)"};export{e as claudeNarrativeTexts_fr};
@@ -0,0 +1 @@
1
+ const a={keyLabel:"Chiave API di Claude",keySuspect:"Questa non sembra una chiave API di Claude: iniziano con sk-ant-",workspaceLabel:"ID dell'area di lavoro",workspacePlaceholder:"solo se la tua chiave ne copre più di una",workspaceHint:"Solo per una chiave valida per tutta l'organizzazione. Più semplice: lascia vuoto e crea una chiave limitata a un'area di lavoro.",modelLabel:"Modello",fableChoice:"Claude Fable 5.1 (il più capace, più caro)",sonnetChoice:"Claude Sonnet 5.5 (più economico)",haikuChoice:"Claude Haiku 4.5 (il più economico)"};export{a as claudeNarrativeTexts_it};
@@ -0,0 +1 @@
1
+ const e={intro:"Weather records supply coverage and wind when available. Cloud shape, thickness and size are visual estimates; they are not measured individual clouds.",editScope:"Edit scope",scopeInstant:"Current time",scopeObservation:"Whole observation",layer:"Layer",addLayer:"Add layer",deleteLayer:"Delete layer",editHelp:"Edits pause playback and save at the current weather time. Empty layer wind fields inherit the general wind. Whole observation applies the edited property to every weather keyframe.",individualClouds:"Individual clouds",individualCloud:"Individual cloud",addIndividualCloud:"Add individual cloud",pointAtCloud:"Point at cloud",deleteCloud:"Delete cloud",manipulate:"Select and drag clouds in the sky",individualHelp:"Individual clouds remain present at 0% global coverage. Dragging changes position and altitude; numeric fields provide precise dimensions. Clouds follow their layer's wind.",none:"None",cloud:"Cloud",savedAcrossObservation:"Saved across the observation; winds preserved.",savedAtThisTime:"Weather saved at this time.",noCloudHere:"No individual cloud here.",cloudSelected:"Cloud selected. Drag to move it.",cloudAdded:" Individual cloud added, independent of global coverage.",emptyLayers:"No cloud layer"};export{e as cloudEditorMessages_en};
@@ -0,0 +1 @@
1
+ const a={intro:"Los registros meteorológicos aportan la cobertura y el viento cuando están disponibles. La forma, el espesor y el tamaño de las nubes son estimaciones visuales, no nubes individuales medidas.",editScope:"Alcance de los cambios",scopeInstant:"Instante actual",scopeObservation:"Toda la observación",layer:"Capa",addLayer:"Añadir capa",deleteLayer:"Eliminar capa",editHelp:"Editar pausa la reproducción y guarda en el instante meteorológico actual. Un viento de capa vacío toma el viento general. Toda la observación aplica la propiedad editada a cada fotograma clave meteorológico.",individualClouds:"Nubes individuales",individualCloud:"Nube individual",addIndividualCloud:"Añadir nube individual",pointAtCloud:"Apuntar a la nube",deleteCloud:"Eliminar nube",manipulate:"Seleccionar y arrastrar nubes en el cielo",individualHelp:"Las nubes individuales siguen presentes con un 0 % de cobertura global. Arrastrar cambia la posición y la altitud; los campos numéricos fijan las dimensiones con precisión. Las nubes siguen el viento de su capa.",none:"Ninguna",cloud:"Nube",savedAcrossObservation:"Guardado en toda la observación; vientos conservados.",savedAtThisTime:"Meteorología guardada en este instante.",noCloudHere:"No hay ninguna nube individual aquí.",cloudSelected:"Nube seleccionada. Arrástrala para moverla.",cloudAdded:" Nube individual añadida, independiente de la cobertura global.",emptyLayers:"Ninguna capa de nubes"};export{a as cloudEditorMessages_es};
@@ -0,0 +1 @@
1
+ const e={intro:"Les relevés fournissent la couverture et le vent lorsqu’ils sont disponibles. La forme, l’épaisseur et la taille des nuages sont des estimations visuelles, pas des nuages individuels mesurés.",editScope:"Portée des modifications",scopeInstant:"Instant courant",scopeObservation:"Toute l’observation",layer:"Couche",addLayer:"Ajouter une couche",deleteLayer:"Supprimer la couche",editHelp:"L’édition met la lecture en pause et enregistre à l’instant météo courant. Un vent de couche vide reprend le vent général. Toute l’observation applique la propriété modifiée à chaque point de la timeline météo.",individualClouds:"Nuages individuels",individualCloud:"Nuage individuel",addIndividualCloud:"Ajouter un nuage individuel",pointAtCloud:"Pointer le nuage",deleteCloud:"Supprimer ce nuage",manipulate:"Sélectionner et déplacer les nuages dans le ciel",individualHelp:"Les nuages individuels restent présents à 0 % de couverture globale. Le glissement change la position et l’altitude ; les champs règlent précisément les dimensions. Les nuages suivent le vent de leur couche.",none:"Aucun",cloud:"Nuage",savedAcrossObservation:"Modifications enregistrées sur toute l’observation, vents conservés.",savedAtThisTime:"Météo enregistrée à cet instant.",noCloudHere:"Aucun nuage individuel à cet endroit.",cloudSelected:"Nuage sélectionné. Faire glisser pour le déplacer.",cloudAdded:" Nuage individuel ajouté : sa présence est indépendante de la couverture globale.",emptyLayers:"Aucune couche de nuages"};export{e as cloudEditorMessages_fr};
@@ -0,0 +1 @@
1
+ const e={intro:"I dati meteorologici forniscono la copertura e il vento quando sono disponibili. Forma, spessore e dimensione delle nuvole sono stime visive, non nuvole singole misurate.",editScope:"Ambito delle modifiche",scopeInstant:"Istante corrente",scopeObservation:"Tutta l’osservazione",layer:"Strato",addLayer:"Aggiungi strato",deleteLayer:"Elimina strato",editHelp:"La modifica mette in pausa la riproduzione e salva all’istante meteorologico corrente. Un vento di strato vuoto riprende il vento generale. Tutta l’osservazione applica la proprietà modificata a ogni fotogramma chiave meteorologico.",individualClouds:"Nuvole singole",individualCloud:"Nuvola singola",addIndividualCloud:"Aggiungi nuvola singola",pointAtCloud:"Punta la nuvola",deleteCloud:"Elimina nuvola",manipulate:"Seleziona e trascina le nuvole nel cielo",individualHelp:"Le nuvole singole restano presenti allo 0 % di copertura globale. Il trascinamento cambia posizione e quota; i campi numerici fissano con precisione le dimensioni. Le nuvole seguono il vento del loro strato.",none:"Nessuna",cloud:"Nuvola",savedAcrossObservation:"Salvato su tutta l’osservazione; venti conservati.",savedAtThisTime:"Meteo salvato in questo istante.",noCloudHere:"Nessuna nuvola singola qui.",cloudSelected:"Nuvola selezionata. Trascinala per spostarla.",cloudAdded:" Nuvola singola aggiunta, indipendente dalla copertura globale.",emptyLayers:"Nessuno strato di nuvole"};export{e as cloudEditorMessages_it};
@@ -0,0 +1 @@
1
+ const e={cloudLayer:"Cloud layer",cloudType:"Cloud type",unknown:"Unknown",base:"Base",thickness:"Thickness",coverage:"Coverage",cloudSize:"Cloud size",density:"Density",darkness:"Darkness",crystalAlignment:"Crystal alignment",layerWindDirection:"Layer wind direction",generalWind:"General wind",layerWindSpeed:"Layer wind speed",patternSeed:"Pattern seed",individualCloud:"Individual cloud",position:"Position",cloudBase:"Cloud base",cloudThickness:"Cloud thickness",cloudWidth:"Cloud width",cloudDepth:"Cloud depth",cloudRotation:"Cloud rotation",cloudDensity:"Cloud density",layerDarkness:"Layer darkness",cumulus:"Cumulus",stratus:"Stratus",stratocumulus:"Stratocumulus",cirrus:"Cirrus"};export{e as cloudParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={cloudLayer:"Capa de nubes",cloudType:"Tipo de nube",unknown:"Desconocido",base:"Base",thickness:"Espesor",coverage:"Cobertura",cloudSize:"Tamaño de las nubes",density:"Densidad",darkness:"Oscuridad",crystalAlignment:"Alineación de los cristales",layerWindDirection:"Dirección del viento de la capa",generalWind:"Viento general",layerWindSpeed:"Velocidad del viento de la capa",patternSeed:"Semilla del patrón",individualCloud:"Nube individual",position:"Posición",cloudBase:"Base de la nube",cloudThickness:"Espesor de la nube",cloudWidth:"Anchura de la nube",cloudDepth:"Profundidad de la nube",cloudRotation:"Rotación de la nube",cloudDensity:"Densidad de la nube",layerDarkness:"Oscuridad de la capa",cumulus:"Cúmulo",stratus:"Estrato",stratocumulus:"Estratocúmulo",cirrus:"Cirro"};export{e as cloudParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={cloudLayer:"Couche de nuages",cloudType:"Type de nuage",unknown:"Inconnu",base:"Base",thickness:"Épaisseur",coverage:"Couverture",cloudSize:"Taille des nuages",density:"Densité",darkness:"Obscurité",crystalAlignment:"Alignement des cristaux",layerWindDirection:"Direction du vent de la couche",generalWind:"Vent général",layerWindSpeed:"Vitesse du vent de la couche",patternSeed:"Graine du motif",individualCloud:"Nuage individuel",position:"Position",cloudBase:"Base du nuage",cloudThickness:"Épaisseur du nuage",cloudWidth:"Largeur du nuage",cloudDepth:"Profondeur du nuage",cloudRotation:"Rotation du nuage",cloudDensity:"Densité du nuage",layerDarkness:"Obscurité de la couche",cumulus:"Cumulus",stratus:"Stratus",stratocumulus:"Stratocumulus",cirrus:"Cirrus"};export{e as cloudParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const e={cloudLayer:"Strato di nuvole",cloudType:"Tipo di nuvola",unknown:"Sconosciuto",base:"Base",thickness:"Spessore",coverage:"Copertura",cloudSize:"Dimensione delle nuvole",density:"Densità",darkness:"Oscurità",crystalAlignment:"Allineamento dei cristalli",layerWindDirection:"Direzione del vento dello strato",generalWind:"Vento generale",layerWindSpeed:"Velocità del vento dello strato",patternSeed:"Seme del motivo",individualCloud:"Nuvola individuale",position:"Posizione",cloudBase:"Base della nuvola",cloudThickness:"Spessore della nuvola",cloudWidth:"Larghezza della nuvola",cloudDepth:"Profondità della nuvola",cloudRotation:"Rotazione della nuvola",cloudDensity:"Densità della nuvola",layerDarkness:"Oscurità dello strato",cumulus:"Cumulo",stratus:"Strato",stratocumulus:"Stratocumulo",cirrus:"Cirro"};export{e as cloudParameterTexts_it};
@@ -0,0 +1 @@
1
+ class t{static FORMATION_S=.3;static VORTEX_SPREAD=2;static VORTEX_S=150;static RICHARDSON_M_PER_S15=800/3600**1.5;static DIFFUSING_S=600;static TYPICAL_SHEAR_PER_S=.003;static INITIAL_DEPTH_M=150;static DEEPENING_M_PER_S=.1;static YOUNG_OPTICAL_DEPTH=.5;static DILUTION_EXPONENT=.5;static SUBLIMATION_S=600;static INVISIBLE=.006;static MIN_LIFETIME_S=15;static LIFETIME_SPAN_S=120;static widthM(I,s,_=t.TYPICAL_SHEAR_PER_S){const E=Math.max(0,s),S=I*(1+(t.VORTEX_SPREAD-1)*(1-Math.exp(-((E/t.VORTEX_S)**2)))),c=_*(t.INITIAL_DEPTH_M*E+t.DEEPENING_M_PER_S*E*E/2),e=t.RICHARDSON_M_PER_S15*E**1.5;return Math.hypot(S+c,e)}static profileExponent(I){return 2+6*Math.exp(-((Math.max(0,I)/t.DIFFUSING_S)**2))}static lifetimeS(I){const s=Math.min(1,Math.max(0,I));return t.MIN_LIFETIME_S+t.LIFETIME_SPAN_S*s*s}static opacity(I,s){if(I<t.FORMATION_S)return 0;const _=s.spanM*t.VORTEX_SPREAD,E=e=>Math.max(_,t.widthM(s.spanM,e,s.shearPerS));let S;if(s.persistent){const e=Math.min(I,s.saturatedForS??1/0);S=t.YOUNG_OPTICAL_DEPTH*(_/E(e))**t.DILUTION_EXPONENT;const M=I-e;M>0&&(S*=E(e)/E(I)*Math.max(0,1-M/t.SUBLIMATION_S)**2)}else{if(I>=s.lifetimeS)return 0;S=t.YOUNG_OPTICAL_DEPTH*(_/E(I))*(1-I/s.lifetimeS)**2}const c=1-Math.exp(-S);return c<t.INVISIBLE?0:c}}export{t as C};
@@ -0,0 +1 @@
1
+ import{b2 as b,bg as P,bj as I,bb as F,bD as D,bE as X}from"./ShareDialogElement-C3HL-Smq.js";import{C as x}from"./ContrailGrowth-DwHS8If9.js";import"./rr0-ufoathome.mjs";import"./SaidPosition-CWiVNaNW.js";import"./Sighting-CBpJpdm9.js";import"./VisualAids-DI-hEL46.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./Obstacles-v9SkfBD7.js";class h{static MAX_SEGMENTS=8e3;static MIN_PIXELS=2;static UNRESOLVED_CONTRAST=.5;static STATIONS=[0,.5,1,1.5,2.25];static VERTICES_PER_SEGMENT=12*(h.STATIONS.length-1);static ICE_ASYMMETRY=.75;static phase(t){const s=h.ICE_ASYMMETRY;return(1-s*s)/(1+s*s-2*s*t)**1.5}object;group=new b;trails=[];positions=new Float32Array(h.MAX_SEGMENTS*h.VERTICES_PER_SEGMENT*3);colors=new Float32Array(h.MAX_SEGMENTS*h.VERTICES_PER_SEGMENT*4);segments=0;constructor(){const t=new P;t.setAttribute("position",new I(this.positions,3)),t.setAttribute("color",new I(this.colors,4)),t.setDrawRange(0,0),this.object=new F(t,new D({vertexColors:!0,transparent:!0,depthWrite:!1,side:X})),this.object.frustumCulled=!1,this.object.name="contrails",this.group.name="contrails",this.group.add(this.object)}get segmentCount(){return this.segments}set(t){this.trails=t}update(t,s,c){let p=0;this.segments=0;for(const e of this.trails){const u=this.samplesOf(e,t,s),i=c(e.id);for(let a=0;a+1<u.length;a++){const n=u[a],M=u[a+1];if(!n.forms||!M.forms)continue;if(this.segments>=h.MAX_SEGMENTS)break;const d=this.pushSegment(p,n,M,e.spanM,i,s);d>p&&this.segments++,p=d}}const y=this.object.geometry;y.setDrawRange(0,p);for(const[e,u]of[["position",3],["color",4]]){const i=y.getAttribute(e);i.clearUpdateRanges(),p>0&&i.addUpdateRange(0,p*u),i.needsUpdate=!0}}samplesOf(t,s,c){const p=s-x.FORMATION_S*1e3,y=[],e=(n,M,d,T,g,N)=>({x:M+n.driftEastMs*g+c.origin.x,y:T,z:-(d+n.driftNorthMs*g)+c.origin.z,age:g,forms:N,point:n});let u=-1;t.points.forEach((n,M)=>{n.tMs>p||(u=M,y.push(e(n,n.eastM,n.northM,n.upM,(s-n.tMs)/1e3,n.forms)))});const i=t.points[u],a=t.points[u+1];if(i&&a){const n=(p-i.tMs)/(a.tMs-i.tMs),M=(d,T)=>d+(T-d)*n;y.push(e(i,M(i.eastM,a.eastM),M(i.northM,a.northM),M(i.upM,a.upM),x.FORMATION_S,i.forms&&a.forms))}return y}pushSegment(t,s,c,p,y,e){const u=o=>({persistent:o.point.persistent,lifetimeS:o.point.lifetimeS,spanM:p,shearPerS:o.point.shearPerS,saturatedForS:o.point.saturatedForS}),i=x.opacity(s.age,u(s)),a=x.opacity(c.age,u(c));if(i<=0&&a<=0)return t;const n={x:c.x-s.x,y:c.y-s.y,z:c.z-s.z};if(Math.hypot(n.x,n.y,n.z)<1e-6)return t;const M={x:(s.x+c.x)/2-e.eye.x,y:(s.y+c.y)/2-e.eye.y,z:(s.z+c.z)/2-e.eye.z},d=this.normalise(this.cross(n,M)),T=o=>{if(!e.sun)return y;const r={x:o.x-e.eye.x,y:o.y-e.eye.y,z:o.z-e.eye.z},E=h.phase((e.sun.x*r.x+e.sun.y*r.y+e.sun.z*r.z)/(Math.hypot(r.x,r.y,r.z)||1));return[y[0]*E,y[1]*E,y[2]*E]},g=(o,r)=>{const E=Math.hypot(o.x-e.eye.x,o.y-e.eye.y,o.z-e.eye.z),A=x.widthM(p,o.age,o.point.shearPerS),f=Math.max(A,h.MIN_PIXELS*e.pixelRad*E),z=r*(A/f)**h.UNRESOLVED_CONTRAST,S=x.profileExponent(o.age),m=h.STATIONS.map((j,G)=>G===h.STATIONS.length-1?0:z*Math.exp(-Math.LN2*j**S));return{half:f/2,profile:m,scattered:T(o)}},N=[{sample:s,...g(s,i)},{sample:c,...g(c,a)}],w=h.STATIONS.length-1,l=(o,r,E)=>{const A=h.STATIONS[r],f=o.half*A*E,z=t*3;this.positions[z]=o.sample.x+d.x*f,this.positions[z+1]=o.sample.y+d.y*f,this.positions[z+2]=o.sample.z+d.z*f;const S=t*4;this.colors[S]=o.scattered[0],this.colors[S+1]=o.scattered[1],this.colors[S+2]=o.scattered[2],this.colors[S+3]=o.profile[r],t++},[R,O]=N;for(const o of[-1,1])for(let r=0;r<w;r++)l(R,r+1,o),l(R,r,o),l(O,r+1,o),l(R,r,o),l(O,r,o),l(O,r+1,o);return t}cross(t,s){return{x:t.y*s.z-t.z*s.y,y:t.z*s.x-t.x*s.z,z:t.x*s.y-t.y*s.x}}normalise(t){const s=Math.hypot(t.x,t.y,t.z)||1;return{x:t.x/s,y:t.y/s,z:t.z/s}}dispose(){this.object.geometry.dispose(),this.object.material.dispose(),this.group.removeFromParent()}}export{h as ContrailSystem};
@@ -0,0 +1,29 @@
1
+ import{b6 as _,ba as A,bH as D,bd as F,bI as M,bJ as R,bK as E,bb as P,b4 as U,bL as k,br as S}from"./ShareDialogElement-C3HL-Smq.js";import"./rr0-ufoathome.mjs";import"./SaidPosition-CWiVNaNW.js";import"./Sighting-CBpJpdm9.js";import"./VisualAids-DI-hEL46.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./Obstacles-v9SkfBD7.js";class w{target;wideCamera=new _;materials=new Map;draw(t){const{renderer:s,camera:a,equidistant:r}=t,i=s.getDrawingBufferSize(new A),n=i.x,o=i.y,e=n/o;if(r&&!D.supports(a.fov,e))throw new Error(`A field of ${a.fov}° is drawn through a cube, which the control passes do not follow yet: export through a narrower field.`);const c=this.sourceCamera(a,r?r.sourceFovDeg(a.fov,e):a.fov),d=this.usableTarget(n,o),l=this.drawDistance(t,c,d),u=this.drawPhenomenon(t,c,d),f=Math.tan(c.fov*Math.PI/360),p=new Float32Array(n*o),m=new Uint8Array(n*o);for(let v=0;v<o;v++)for(let g=0;g<n;g++){const h=this.sourcePixel(g,v,n,o,a.fov,e,f,r);if(h<0)continue;const x=v*n+g;p[x]=l[h*4];const y=u[h*4],b=u[h*4+1],T=u[h*4+2],C=u[h*4+3];m[x]=Math.max(y,b,T,C)>w.LIGHT_THRESHOLD?255:0}return{width:n,height:o,distanceM:p,phenomenon:m}}dispose(){this.target?.dispose();for(const t of this.materials.values())t.dispose();this.materials.clear()}static LIGHT_THRESHOLD=1e-6;sourcePixel(t,s,a,r,i,n,o,e){if(!e)return(r-1-s)*a+t;const c=(t+.5)/a*2-1,d=1-(s+.5)/r*2,l=e.directionFor(c,d,i);if(l.z>=0)return-1;const u=l.x/-l.z/(o*n),f=l.y/-l.z/o,p=Math.floor((u+1)/2*a),m=Math.floor((f+1)/2*r);return p<0||p>=a||m<0||m>=r?-1:m*a+p}sourceCamera(t,s){const a=this.wideCamera.copy(t);return a.fov=s,a.clearViewOffset(),a.updateProjectionMatrix(),a.updateMatrixWorld(),a}usableTarget(t,s){return this.target?(this.target.width!==t||this.target.height!==s)&&this.target.setSize(t,s):this.target=new F(t,s,{type:E,format:R,minFilter:M,magFilter:M,depthBuffer:!0}),this.target}drawDistance(t,s,a){const{renderer:r,scene:i}=t,n=[],o=[];for(const e of t.sky)e.visible&&(e.visible=!1,n.push(e));i.traverseVisible(e=>{if(e instanceof P){if(t.isSolid(e)){o.push({mesh:e,material:e.material}),e.material=Array.isArray(e.material)?e.material.map(c=>this.distanceMaterial(c)):this.distanceMaterial(e.material);return}}else if(!e.isPoints&&!e.isLine&&!e.isSprite)return;n.push(e)});for(const e of n)e.visible=!1;try{return this.drawInto(t,a,()=>r.render(i,s))}finally{for(const e of n)e.visible=!0;for(const{mesh:e,material:c}of o)e.material=c}}drawPhenomenon(t,s,a){return this.drawInto(t,a,()=>t.drawPhenomena(s))}drawInto(t,s,a){const{renderer:r,scene:i}=t,n=r.getRenderTarget(),o=r.autoClear,e=r.shadowMap.autoUpdate,c=i.fog,d=i.background,l=r.getClearAlpha(),u=r.getClearColor(new U);i.fog=null,i.background=null,r.shadowMap.autoUpdate=!1,r.setRenderTarget(s),r.setClearColor(0,0),r.clear(!0,!0,!0),r.autoClear=!1;try{a();const f=new Float32Array(s.width*s.height*4);return k.now(r,s,0,0,s.width,s.height,f),f}finally{r.autoClear=o,r.shadowMap.autoUpdate=e,r.setRenderTarget(n),r.setClearColor(u,l),i.fog=c,i.background=d}}distanceMaterial(t){const s=t.alphaTest??0,a=t.map??t.alphaMap??null,r=s>0&&a!==null,i=`${t.side}:${r?`${a.uuid}:${s}`:"-"}`;let n=this.materials.get(i);return n||(n=new S({defines:r?{CUTOUT:"",USE_UV:""}:{},uniforms:{cutoutMap:{value:a},cutoutAlpha:{value:s}},vertexShader:w.VERTEX,fragmentShader:w.FRAGMENT,side:t.side}),this.materials.set(i,n)),n}static VERTEX=`
2
+ #include <common>
3
+ #include <uv_pars_vertex>
4
+ #include <batching_pars_vertex>
5
+ #include <morphtarget_pars_vertex>
6
+ #include <skinning_pars_vertex>
7
+ varying float vDistance;
8
+ void main() {
9
+ #include <uv_vertex>
10
+ #include <batching_vertex>
11
+ #include <skinbase_vertex>
12
+ #include <begin_vertex>
13
+ #include <morphtarget_vertex>
14
+ #include <skinning_vertex>
15
+ #include <project_vertex>
16
+ vDistance = length(mvPosition.xyz);
17
+ }
18
+ `;static FRAGMENT=`
19
+ #include <uv_pars_fragment>
20
+ uniform sampler2D cutoutMap;
21
+ uniform float cutoutAlpha;
22
+ varying float vDistance;
23
+ void main() {
24
+ #ifdef CUTOUT
25
+ if (texture2D(cutoutMap, vUv).a < cutoutAlpha) discard;
26
+ #endif
27
+ gl_FragColor = vec4(vDistance, 0.0, 0.0, 1.0);
28
+ }
29
+ `}export{w as ControlPasses};
@@ -0,0 +1 @@
1
+ import{am as h}from"./ShareDialogElement-C3HL-Smq.js";import"./rr0-ufoathome.mjs";import"./SaidPosition-CWiVNaNW.js";import"./Sighting-CBpJpdm9.js";import"./VisualAids-DI-hEL46.js";import"./Decor-Dn-cvniW.js";import"./RecordingIssue-BlWT8Xsu.js";import"./Obstacles-v9SkfBD7.js";const l=[{id:"when",paths:["time"]},{id:"where",paths:["place.locations.*.lat","place.locations.*.lng","observerTrack.keyframes.*.pose.lat","observerTrack.keyframes.*.pose.lng"]},{id:"facing",paths:["observerTrack.keyframes.*.pose.headingDeg"]},{id:"apparent-size",paths:["timeline.keyframes.*.shapes.*.shape.angular.widthDeg","timeline.keyframes.*.shapes.*.shape.angular.heightDeg"]},{id:"sky-position",paths:["timeline.keyframes.*.shapes.*.shape.aim.azimuthDeg","timeline.keyframes.*.shapes.*.shape.aim.altitudeDeg"]},{id:"how-long",paths:["durationSeconds","endTime"]},{id:"appearance",paths:["timeline.keyframes.*.shapes.*.shape.kind","timeline.keyframes.*.shapes.*.shape.title","timeline.keyframes.*.shapes.*.shape.color","timeline.keyframes.*.shapes.*.shape.brightness"]},{id:"movement",paths:["timeline.keyframes.1.t","observerTrack.keyframes.1.t"]},{id:"sound",paths:["soundTrack.keyframes.*.sound.kind"]},{id:"conditions",paths:["weatherTrack.keyframes.*.weather.*","weather.*"]}],m=["fitted","assumed","derived","stated","measured","established"];class p{about="observer";async assess(t){const i=h(t,!0),s=l.map(e=>p.answer(e,i,t));return{score:s.filter(e=>e.basis==="stated").length/s.length,criteria:s}}static answer(t,i,s){const e=t.paths.flatMap(a=>p.resolve(a,i));if(e.length===0)return{id:t.id,paths:[]};const r=e.map(a=>p.basisAt(a,s)??"stated");return{id:t.id,basis:m.find(a=>r.includes(a)),paths:e}}static basisAt(t,i){const s=t.split(".");for(let e=s.length;e>0;e--){const r=i.provenance.at(s.slice(0,e).join("."))?.basis;if(r)return r}}static resolve(t,i){let s=[{path:[],value:i}];for(const e of t.split("."))s=s.flatMap(({path:r,value:a})=>{if(typeof a!="object"||a===null)return[];if(e!=="*"){const n=a[e];return n===void 0?[]:[{path:[...r,e],value:n}]}return Object.entries(a).filter(([,n])=>n!==void 0).map(([n,o])=>({path:[...r,n],value:o}))});return s.filter(({value:e})=>e!==null&&e!==""&&!(Array.isArray(e)&&e.length===0)).map(({path:e})=>e.join("."))}}export{p as CoverageAssessor};
@@ -0,0 +1 @@
1
+ class c{static MODES=["off","position","dipped","main","fog"];static DISPLAY_GAIN=.006;static TOE_IN_DEG=.6;static AUTO_BELOW_SUN_DEG=-1;static BEAMS={off:void 0,position:void 0,dipped:{candela:25e3,halfAngleDeg:24,pitchDeg:2.5,penumbra:1,color:"#fff2d8"},main:{candela:12e4,halfAngleDeg:14,pitchDeg:.4,penumbra:.85,color:"#fff6e6"},fog:{candela:9e3,halfAngleDeg:38,pitchDeg:5,penumbra:1,color:"#ffe9b0"}};static isMode(n){return typeof n=="string"&&c.MODES.includes(n)}static at(n,t,i){if(!t||t.length===0)return n;let a=t[0];for(const s of t){if(s.t>i)break;a=s}return a.mode}static auto(n){return n<c.AUTO_BELOW_SUN_DEG?"dipped":"off"}static lamps(n){return n!=="off"}}function p(e){return e==="vehicle"?["front","behind","front-left","front-right","behind-left","behind-right"]:["front","behind","left","right"]}function S(e){return e==="vehicle"?["front-left","front-right","behind-left","behind-right"]:p(e)}const A=90,E=50;function I(e){if(!v(e))return;const n={};for(const t of p(e))n[t]=O(e,t)?E:A;return n}const z=2;function v(e){return e==="building"||e==="vehicle"}function O(e,n){return e==="building"?!0:e==="vehicle"?n!=="front"&&n!=="behind":!1}function F(e){return e==="building"||e==="vehicle"}const b={aircraft:{id:"poly-google-airliner"},tree:{id:"jungle-jim-tree-large-a"},observer:{id:"makehuman-farmer-40s"},entity:{id:"makehuman-farmer-40s"}},_=["makehuman-farmer-40s","makehuman-man-overalls","makehuman-man-jacket","makehuman-old-man","makehuman-woman"];function D(e,n){let t=0;for(const i of n)t=t*31+i.charCodeAt(0)>>>0;return{id:e[t%e.length]}}const y=["jungle-jim-tree-large-a","jungle-jim-tree-medium-a","jungle-jim-tree-large-b","jungle-jim-tree-medium-b","jungle-jim-tree-large-c","jungle-jim-tree-medium-c","jagobo-tree-maple-a","jagobo-tree-maple-b","jagobo-tree-aspen-a","jagobo-tree-aspen-b","nicholas-3d-tree-a","nicholas-3d-tree-b","nicholas-3d-tree-c"];function U(e){return e.model?e.model:e.kind==="tree"&&e.id!==void 0?D(y,e.id):(e.kind==="observer"||e.kind==="entity")&&e.id!==void 0?D(_,e.id):b[e.kind]}function j(e,n){const t=c.at(e.headlights,e.headlightKeyframes,n);return t!==void 0?t:T(e,n)?"dipped":"off"}class g{static DEFAULT_KIND="airliner-narrow";static kindOf(n,t){if(n.kind!=="aircraft"||!g.flies(n))return;const i=n.aircraftSound??t??g.DEFAULT_KIND;return i==="silent"?void 0:i}static flies(n){return(n.track??[]).some(t=>(t.altitudeM??0)>0)}}const k=-.5;function L(e){return e.kind==="streetlight"&&e.origin!==void 0&&e.lit===void 0&&!e.litKeyframes?.length}function T(e,n,t){if(t!==void 0&&L(e))return t<k;const i=e.litKeyframes;if(!i||i.length===0)return e.lit??!1;let a=i[0];for(const s of i){if(s.t>n)break;a=s}return a.lit}function w(e,n){const t=e.observerKeyframes;if(!t||t.length===0)return{side:e.observerSide,facing:e.observerFacing};let i=t[0];for(const a of t){if(a.t>n)break;i=a}return{side:i.side,facing:i.facing}}function C(e,n){const t=u(e,n);return t.intensity<=0?!1:t.pattern.kind==="steady"?!0:N(e,n,n+1)>.5}const P=100;function u(e,n){let t;for(const i of e.keyframes??[]){if(i.t>n)break;t=i}return{intensity:t?.intensity??e.intensity??1,pattern:t?.pattern??e.pattern}}function N(e,n,t){const i=e.keyframes??[];if(i.length===0)return h(e.pattern,n,t);const a=[n,...i.map(r=>r.t).filter(r=>r>n&&r<t),t];if(t<=n)return u(e,n).intensity>0?h(u(e,n).pattern,n,t):0;let s=0;for(let r=0;r<a.length-1;r++){const o=u(e,a[r]);o.intensity>0&&(s+=h(o.pattern,a[r],a[r+1])*(a[r+1]-a[r]))}return s/(t-n)}function h(e,n,t){if(e.kind==="steady")return 1;const{perMinute:i,dutyCycle:a,phase:s=0}=e,r=Math.min(Math.max(a,0),1);if(r===0||i<=0)return 0;const o=6e4/i,f=n/o+s,l=t/o+s;if(l<=f)return Math.min(Math.max(f-Math.floor(f),0),r)<r?1:0;const m=d=>Math.floor(d)*r+Math.min(d-Math.floor(d),r);return(m(l)-m(f))/(l-f)}function R(e,n){const t=e.track,i={eastM:e.eastM,northM:e.northM,altitudeM:0,headingDeg:e.headingDeg};if(!t||t.length===0)return i;if(t.length===1||n<=t[0].t)return M(t[0],e);const a=t[t.length-1];if(n>=a.t)return M(a,e);for(let s=0;s<t.length-1;s++){const r=t[s],o=t[s+1];if(n<r.t||n>o.t)continue;const f=o.t-r.t,l=f===0?0:(n-r.t)/f;return{eastM:r.eastM+(o.eastM-r.eastM)*l,northM:r.northM+(o.northM-r.northM)*l,altitudeM:(r.altitudeM??0)+((o.altitudeM??0)-(r.altitudeM??0))*l,headingDeg:r.headingDeg??e.headingDeg}}return i}function W(e,n){const t=(e.track??[]).filter(i=>i.gazeAzimuthDeg!==void 0);if(t.length!==0){if(n<=t[0].t)return t[0].gazeAzimuthDeg;for(let i=0;i<t.length-1;i++){const a=t[i],s=t[i+1];if(n>s.t)continue;const r=s.t-a.t,o=r===0?0:(n-a.t)/r,f=((s.gazeAzimuthDeg-a.gazeAzimuthDeg)%360+540)%360-180;return((a.gazeAzimuthDeg+f*o)%360+360)%360}return t[t.length-1].gazeAzimuthDeg}}function M(e,n){return{eastM:e.eastM,northM:e.northM,altitudeM:e.altitudeM??0,headingDeg:e.headingDeg??n.headingDeg}}export{z as D,A as F,c as H,U as a,b,F as c,I as d,P as e,p as f,O as g,v as h,C as i,T as j,j as k,u as l,N as m,W as n,S as o,g as p,w as q,R as r};
@@ -0,0 +1 @@
1
+ const e={front:"Front",behind:"Behind",left:"Left",right:"Right",frontLeft:"Front-left",frontRight:"Front-right",behindLeft:"Behind-left",behindRight:"Behind-right",windows:"Windows",building:"Building",bridge:"Bridge",railing:"Railing",overheadLine:"Overhead line",properties:"Properties",floors:"Floors",upperStoriesAboveTheGround:"Upper stories above the ground floor.",occupiedFloor:"Occupied floor",theFloorTheWitnessIs:"The floor the witness is on, from 0 (ground floor).",walls:"Walls",wallColour:"Wall colour",theColourOfTheWalls:"The colour of the walls, drawn with the facade of their kind where the width, the length and the height of the building are all stated. Empty: a pale plaster.",facade:"Facade",aHouseS:"A house's",aHouseSAWindowEvery:"A house's: a window every three metres of every floor and a door, from a storey high (lower, a shed's bare wall). The tall windows of an old building, the tall narrow bays of a church, a bare wall (a warehouse, a shed, a monument), or none: the plain box.",oldBuilding:"Old building",church:"Church",bareWall:"Bare wall",noFacade:"None",roof:"Roof",flat:"Flat",flatTheBoxTwoSlopes:"Flat (the box), two slopes to a ridge, four slopes, or a dome.",twoSlopes:"Two slopes",fourSlopes:"Four slopes",dome:"Dome",rise:"Rise",howFarTheRidgeStands:"How far the ridge stands above the eaves: the walls are the building's height less this.",ridgeAlong:"Ridge along",theWidth:"The width",theDepth:"The depth",roofColour:"Roof colour",opacityOfTheWindowOn:"Opacity of the window on this side: 0 is open, 100 shut. Empty: no window.",engineSound:"Engine sound",engine:"Engine",whetherTheVehicleIsHeard:"Whether the vehicle is heard running, and what sort of engine: how many cylinders fire, how low they turn, how its gears are spaced.",silentParked:"Silent (parked)",car:"Car",van:"Van",truck:"Truck",motorcycle:"Motorcycle",unknown:"Unknown",loudness:"Loudness",againstAnOrdinaryOneOf:"Against an ordinary one of its kind: 1 by default, 1.5 for a very noisy one.",theirOwnRecordingURL:"Their own recording URL",sound:"Sound",noiseInFlight:"Noise in flight",whatItSoundsLikeWhile:"What it sounds like while it flies: nothing is heard of a machine that flies silent, and the stand-in of a phenomenon says so.",silentAsTheModel:"Silent (as the model)",asTheModel:"As the model",span:"Span",metresOfOpenSpanUnder:"Metres of open span under the deck, centred. Empty: the whole length, no embankments.",deckThickness:"Deck thickness",height:"Height",postSpacing:"Post spacing",rails:"Rails",poles:"Poles",whichEndsStandOnA:"Which ends stand on a pole: both, the one the heading points away from, the one it points towards, or none (a line anchored on buildings).",both:"Both",start:"Start",end:"End",noPoles:"None",strandThickness:"Strand thickness",poleHeight:"Pole height",emptyHalfAMetreOver:"Empty: half a metre over the highest strand.",object:"Object",name:"Name",position:"Position",altitude:"Altitude",heading:"Heading",colour:"Colour",width:"Width",length:"Length",n3DModel:"3D model",noModelBuiltInShape:"No model (built-in shape)",off:"Off",positionLights:"Position lights",dippedBeam:"Dipped beam",mainBeam:"Main beam",fogLamps:"Fog lamps",state:"State",lit:"Lit",headlights:"Headlights",lights:"Lights",noLights:"none",witnessLocation:"Witness location",notPresent:"Not present",aircraftNarrowBodyAirliner:"Narrow-body airliner",aircraftWideBodyAirliner:"Wide-body airliner",aircraftRegionalJet:"Regional jet",aircraftTurboprop:"Turboprop",aircraftBusinessJet:"Business jet",aircraftSupersonicAirliner:"Supersonic airliner",aircraftLightPistonAircraft:"Light piston aircraft",aircraftHeavyPistonAircraft:"Heavy piston aircraft (warbird, DC-3, DC-4)",aircraftLightHelicopter:"Light helicopter",aircraftMediumHelicopter:"Medium helicopter",aircraftHeavyHelicopter:"Heavy helicopter",aircraftMilitaryJet:"Military jet",aircraftUltralight:"Ultralight",aircraftDrone:"Drone",aircraftGlider:"Glider",aircraftSilent:"Silent"};export{e as decorParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={front:"Frente",behind:"Detrás",left:"Izquierda",right:"Derecha",frontLeft:"Delantero izquierdo",frontRight:"Delantero derecho",behindLeft:"Trasero izquierdo",behindRight:"Trasero derecho",windows:"Ventanas",building:"Edificio",bridge:"Puente",railing:"Barandilla",overheadLine:"Línea aérea",properties:"Propiedades",floors:"Plantas",upperStoriesAboveTheGround:"Plantas sobre la planta baja.",occupiedFloor:"Planta ocupada",theFloorTheWitnessIs:"La planta donde está el testigo, desde 0 (planta baja).",walls:"Muros",wallColour:"Color de los muros",theColourOfTheWalls:"El color de los muros, dibujados con la fachada de su tipo donde el ancho, el largo y el alto del edificio están todos enunciados. Vacío: un enlucido pálido.",facade:"Tipo de fachada",aHouseS:"De una casa",aHouseSAWindowEvery:"De una casa: una ventana cada tres metros de cada planta y una puerta, desde la altura de una planta (más bajo, el muro liso de un cobertizo). Las ventanas altas de un edificio antiguo, los vanos altos y estrechos de una iglesia, un muro liso (un almacén, un cobertizo, un monumento), o ninguna: la caja lisa.",oldBuilding:"Edificio antiguo",church:"Iglesia",bareWall:"Muro liso",noFacade:"Ninguna",roof:"Tejado",flat:"Plano",flatTheBoxTwoSlopes:"Plano (la caja), dos vertientes hasta una cumbrera, cuatro vertientes, o una cúpula.",twoSlopes:"Dos vertientes",fourSlopes:"Cuatro vertientes",dome:"Cúpula",rise:"Altura del tejado",howFarTheRidgeStands:"Cuánto sube la cumbrera sobre el alero: los muros miden la altura del edificio menos esto.",ridgeAlong:"Cumbrera a lo largo de",theWidth:"El ancho",theDepth:"El largo",roofColour:"Color del tejado",opacityOfTheWindowOn:"Opacidad de la ventana de este lado: 0 abierta, 100 cerrada. Vacío: sin ventana.",engineSound:"Sonido del motor",engine:"Motor",whetherTheVehicleIsHeard:"Si se oye el vehículo en marcha, y qué motor: cuántos cilindros disparan, cuán bajo giran, cómo se escalonan sus marchas.",silentParked:"Silencioso (parado)",car:"Coche",van:"Furgoneta",truck:"Camión",motorcycle:"Moto",unknown:"Desconocido",loudness:"Volumen",againstAnOrdinaryOneOf:"Frente a uno ordinario de su tipo: 1 por defecto, 1,5 para uno muy ruidoso.",theirOwnRecordingURL:"URL de su propia grabación",sound:"Sonido",noiseInFlight:"Ruido en vuelo",whatItSoundsLikeWhile:"Cómo suena mientras vuela: nada se oye de una máquina que vuela en silencio, y la maqueta de un fenómeno lo dice.",silentAsTheModel:"Silencioso (como el modelo)",asTheModel:"Según el modelo",span:"Luz",metresOfOpenSpanUnder:"Metros de luz libre bajo el tablero, centrados. Vacío: toda la longitud, sin terraplenes.",deckThickness:"Espesor del tablero",height:"Altura",postSpacing:"Separación de postes",rails:"Barandas",poles:"Postes",whichEndsStandOnA:"Qué extremos se apoyan en un poste: ambos, aquel del que se aleja el rumbo, aquel hacia el que apunta, o ninguno (una línea anclada en edificios).",both:"Ambos",start:"Inicio",end:"Fin",noPoles:"Ninguno",strandThickness:"Grosor del hilo",poleHeight:"Altura de los postes",emptyHalfAMetreOver:"Vacío: medio metro sobre el hilo más alto.",object:"Objeto",name:"Nombre",position:"Posición",altitude:"Altitud",heading:"Orientación",colour:"Color",width:"Anchura",length:"Longitud",n3DModel:"Modelo 3D",noModelBuiltInShape:"Sin modelo (forma básica)",off:"Apagados",positionLights:"Luces de posición",dippedBeam:"Luces de cruce",mainBeam:"Luces de carretera",fogLamps:"Faros antiniebla",state:"Estado",lit:"Encendido",headlights:"Faros",lights:"Luces",noLights:"ninguna",witnessLocation:"Ubicación del testigo",notPresent:"No presente",aircraftNarrowBodyAirliner:"Avión de pasillo único",aircraftWideBodyAirliner:"Avión de fuselaje ancho",aircraftRegionalJet:"Jet regional",aircraftTurboprop:"Turbohélice",aircraftBusinessJet:"Jet privado",aircraftSupersonicAirliner:"Avión de pasajeros supersónico",aircraftLightPistonAircraft:"Avioneta de pistones",aircraftHeavyPistonAircraft:"Avión grande de pistones (caza de época, DC-3, DC-4)",aircraftLightHelicopter:"Helicóptero ligero",aircraftMediumHelicopter:"Helicóptero medio",aircraftHeavyHelicopter:"Helicóptero pesado",aircraftMilitaryJet:"Reactor militar",aircraftUltralight:"Ultraligero",aircraftDrone:"Dron",aircraftGlider:"Planeador",aircraftSilent:"Silencioso"};export{e as decorParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={front:"Avant",behind:"Arrière",left:"Gauche",right:"Droite",frontLeft:"Avant gauche",frontRight:"Avant droit",behindLeft:"Arrière gauche",behindRight:"Arrière droit",windows:"Fenêtres",building:"Bâtiment",bridge:"Pont",railing:"Garde-corps",overheadLine:"Ligne aérienne",properties:"Propriétés",floors:"Étages",upperStoriesAboveTheGround:"Étages au-dessus du rez-de-chaussée.",occupiedFloor:"Étage occupé",theFloorTheWitnessIs:"L'étage où se tient le témoin, à partir de 0 (rez-de-chaussée).",walls:"Murs",wallColour:"Couleur des murs",theColourOfTheWalls:"La couleur des murs, dessinés avec la façade de leur type là où la largeur, la longueur et la hauteur du bâtiment sont toutes énoncées. Vide : un enduit pâle.",facade:"Type de façade",aHouseS:"D'une maison",aHouseSAWindowEvery:"D'une maison : une fenêtre tous les trois mètres de chaque étage et une porte, dès la hauteur d'un étage (plus bas, le mur nu d'un abri). Les hautes fenêtres d'un immeuble ancien, les hautes baies étroites d'une église, un mur nu (un entrepôt, un hangar, un monument), ou aucune : la simple boîte.",oldBuilding:"Immeuble ancien",church:"Église",bareWall:"Mur nu",noFacade:"Aucune",roof:"Toit",flat:"Plat",flatTheBoxTwoSlopes:"Plat (la boîte), deux pentes jusqu'à un faîte, quatre pentes, ou une coupole.",twoSlopes:"Deux pentes",fourSlopes:"Quatre pentes",dome:"Coupole",rise:"Hauteur du toit",howFarTheRidgeStands:"De combien le faîte dépasse l'égout : les murs font la hauteur du bâtiment moins cela.",ridgeAlong:"Faîte le long de",theWidth:"La largeur",theDepth:"La profondeur",roofColour:"Couleur du toit",opacityOfTheWindowOn:"Opacité de la fenêtre de ce côté : 0 ouverte, 100 fermée. Vide : pas de fenêtre.",engineSound:"Bruit du moteur",engine:"Moteur",whetherTheVehicleIsHeard:"Si le véhicule s'entend rouler, et de quel moteur : combien de cylindres tirent, à quel régime bas ils tournent, comment ses vitesses sont étagées.",silentParked:"Silencieux (à l'arrêt)",car:"Voiture",van:"Camionnette",truck:"Camion",motorcycle:"Moto",unknown:"Inconnu",loudness:"Volume",againstAnOrdinaryOneOf:"Par rapport à un véhicule ordinaire de son genre : 1 par défaut, 1,5 pour un très bruyant.",theirOwnRecordingURL:"URL de son propre enregistrement",sound:"Bruit",noiseInFlight:"Bruit en vol",whatItSoundsLikeWhile:"Ce qu'on entend quand il vole : rien d'une machine qui vole en silence, et la maquette d'un phénomène le dit.",silentAsTheModel:"Silencieux (comme le modèle)",asTheModel:"Selon le modèle",span:"Portée",metresOfOpenSpanUnder:"Mètres de portée libre sous le tablier, centrés. Vide : toute la longueur, sans remblais.",deckThickness:"Épaisseur du tablier",height:"Hauteur",postSpacing:"Espacement des poteaux",rails:"Lisses",poles:"Poteaux",whichEndsStandOnA:"Quelles extrémités reposent sur un poteau : les deux, celle dont le cap s'éloigne, celle vers laquelle il pointe, ou aucune (une ligne ancrée sur des bâtiments).",both:"Les deux",start:"Début",end:"Fin",noPoles:"Aucun",strandThickness:"Épaisseur du brin",poleHeight:"Hauteur des poteaux",emptyHalfAMetreOver:"Vide : un demi-mètre au-dessus du brin le plus haut.",object:"Objet",name:"Nom",position:"Position",altitude:"Altitude",heading:"Orientation",colour:"Couleur",width:"Largeur",length:"Longueur",n3DModel:"Modèle 3D",noModelBuiltInShape:"Aucun modèle (forme de base)",off:"Éteints",positionLights:"Feux de position",dippedBeam:"Feux de croisement",mainBeam:"Feux de route",fogLamps:"Antibrouillards",state:"État",lit:"Allumé",headlights:"Phares",lights:"Feux",noLights:"aucun",witnessLocation:"Emplacement du témoin",notPresent:"Non présent",aircraftNarrowBodyAirliner:"Avion de ligne monocouloir",aircraftWideBodyAirliner:"Avion de ligne gros-porteur",aircraftRegionalJet:"Jet régional",aircraftTurboprop:"Turbopropulseur",aircraftBusinessJet:"Jet d'affaires",aircraftSupersonicAirliner:"Avion de ligne supersonique",aircraftLightPistonAircraft:"Avion léger à pistons",aircraftHeavyPistonAircraft:"Gros avion à pistons (chasseur d'époque, DC-3, DC-4)",aircraftLightHelicopter:"Hélicoptère léger",aircraftMediumHelicopter:"Hélicoptère moyen",aircraftHeavyHelicopter:"Hélicoptère lourd",aircraftMilitaryJet:"Avion de combat",aircraftUltralight:"ULM",aircraftDrone:"Drone",aircraftGlider:"Planeur",aircraftSilent:"Silencieux"};export{e as decorParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const e={front:"Fronte",behind:"Dietro",left:"Sinistra",right:"Destra",frontLeft:"Anteriore sinistro",frontRight:"Anteriore destro",behindLeft:"Posteriore sinistro",behindRight:"Posteriore destro",windows:"Finestre",building:"Edificio",bridge:"Ponte",railing:"Parapetto",overheadLine:"Linea aerea",properties:"Proprietà",floors:"Piani",upperStoriesAboveTheGround:"Piani sopra il pianterreno.",occupiedFloor:"Piano occupato",theFloorTheWitnessIs:"Il piano dove si trova il testimone, da 0 (pianterreno).",walls:"Muri",wallColour:"Colore dei muri",theColourOfTheWalls:"Il colore dei muri, disegnati con la facciata del loro tipo dove larghezza, lunghezza e altezza dell'edificio sono tutte enunciate. Vuoto: un intonaco chiaro.",facade:"Tipo di facciata",aHouseS:"Di una casa",aHouseSAWindowEvery:"Di una casa: una finestra ogni tre metri di ogni piano e una porta, dall'altezza di un piano (più basso, il muro liscio di un capanno). Le finestre alte di un edificio antico, le alte aperture strette di una chiesa, un muro liscio (un magazzino, un capannone, un monumento), o nessuna: la semplice scatola.",oldBuilding:"Edificio antico",church:"Chiesa",bareWall:"Muro liscio",noFacade:"Nessuna",roof:"Tetto",flat:"Piano",flatTheBoxTwoSlopes:"Piano (la scatola), due falde fino a un colmo, quattro falde, o una cupola.",twoSlopes:"Due falde",fourSlopes:"Quattro falde",dome:"Cupola",rise:"Altezza del tetto",howFarTheRidgeStands:"Quanto il colmo sta sopra la gronda: i muri sono l'altezza dell'edificio meno questo.",ridgeAlong:"Colmo lungo",theWidth:"La larghezza",theDepth:"La profondità",roofColour:"Colore del tetto",opacityOfTheWindowOn:"Opacità della finestra di questo lato: 0 aperta, 100 chiusa. Vuoto: nessuna finestra.",engineSound:"Suono del motore",engine:"Motore",whetherTheVehicleIsHeard:"Se il veicolo si sente in marcia, e di che motore: quanti cilindri sparano, quanto in basso girano, come sono distanziate le marce.",silentParked:"Silenzioso (fermo)",car:"Auto",van:"Furgone",truck:"Camion",motorcycle:"Moto",unknown:"Sconosciuto",loudness:"Volume",againstAnOrdinaryOneOf:"Rispetto a uno ordinario del suo tipo: 1 per impostazione predefinita, 1,5 per uno molto rumoroso.",theirOwnRecordingURL:"URL della sua registrazione",sound:"Suono",noiseInFlight:"Rumore in volo",whatItSoundsLikeWhile:"Come suona mentre vola: nulla si sente di una macchina che vola in silenzio, e il modello di un fenomeno lo dice.",silentAsTheModel:"Silenzioso (come il modello)",asTheModel:"Secondo il modello",span:"Luce",metresOfOpenSpanUnder:"Metri di luce libera sotto l'impalcato, centrati. Vuoto: tutta la lunghezza, senza rilevati.",deckThickness:"Spessore dell'impalcato",height:"Altezza",postSpacing:"Distanza dei montanti",rails:"Correnti",poles:"Pali",whichEndsStandOnA:"Quali estremità poggiano su un palo: entrambe, quella da cui si allontana la direzione, quella verso cui punta, o nessuna (una linea ancorata a edifici).",both:"Entrambi",start:"Inizio",end:"Fine",noPoles:"Nessuno",strandThickness:"Spessore del filo",poleHeight:"Altezza dei pali",emptyHalfAMetreOver:"Vuoto: mezzo metro sopra il filo più alto.",object:"Oggetto",name:"Nome",position:"Posizione",altitude:"Altitudine",heading:"Orientamento",colour:"Colore",width:"Larghezza",length:"Lunghezza",n3DModel:"Modello 3D",noModelBuiltInShape:"Nessun modello (forma di base)",off:"Spenti",positionLights:"Luci di posizione",dippedBeam:"Anabbaglianti",mainBeam:"Abbaglianti",fogLamps:"Fendinebbia",state:"Stato",lit:"Acceso",headlights:"Fari",lights:"Luci",noLights:"nessuna",witnessLocation:"Posizione del testimone",notPresent:"Non presente",aircraftNarrowBodyAirliner:"Aereo di linea a fusoliera stretta",aircraftWideBodyAirliner:"Aereo di linea a fusoliera larga",aircraftRegionalJet:"Jet regionale",aircraftTurboprop:"Turboelica",aircraftBusinessJet:"Jet privato",aircraftSupersonicAirliner:"Aereo di linea supersonico",aircraftLightPistonAircraft:"Aereo leggero a pistoni",aircraftHeavyPistonAircraft:"Grande aereo a pistoni (caccia d'epoca, DC-3, DC-4)",aircraftLightHelicopter:"Elicottero leggero",aircraftMediumHelicopter:"Elicottero medio",aircraftHeavyHelicopter:"Elicottero pesante",aircraftMilitaryJet:"Jet militare",aircraftUltralight:"Ultraleggero",aircraftDrone:"Drone",aircraftGlider:"Aliante",aircraftSilent:"Silenzioso"};export{e as decorParameterTexts_it};
@@ -0,0 +1 @@
1
+ class h{static MJU_7={massKg:.37,burnedKg:.26,dragAreaM2:1.2*.0508*.2032,ejectionMS:30,burnS:4.5,luminousIntensityCd:2e4,flameSizeM:1.5,color:"#ffd9a0"};static SAMPLE_MS=100;static STEP_S=.002;static G=9.81;static expand(e){const t=e?.flares;return!e||!t||t.length===0?e:{...e,bodies:[...e.bodies,...t.flatMap(n=>h.bodiesOf(n))]}}static bodiesOf(e){const t={...h.MJU_7,...e.flare},n=[],a=e.aircraft;if(a.model||a.sound){const r=e.releases.map(i=>i.t),M=Math.min(a.t,...r)-12e4,o=Math.max(a.t,...r)+12e4,s=a.model?{color:"#30333a",albedo:.15}:{transparency:1},c=i=>{const d=h.aircraftAt(a,i);return{t:i,eastM:d.x,northM:d.y,altitudeM:d.z,attitude:{headingDeg:a.headingDeg},sizeM:a.sizeM??{widthM:1,lengthM:1,heightM:1},appearance:s}};n.push({id:`${e.id}-aircraft`,title:e.title,model:a.model??{id:"sphere"},track:[c(M),c(o)],sound:a.sound})}return a.glow&&n.push(h.glowBody(e,a.glow)),e.releases.forEach((r,M)=>n.push(h.flareBody(e,t,r,M))),n}static aircraftAt(e,t){const n=e.headingDeg*Math.PI/180,a=(t-e.t)/1e3*e.speedMS;return{x:e.eastM+Math.sin(n)*a,y:e.northM+Math.cos(n)*a,z:e.altitudeM}}static burnShare(e,t){if(t<0||t>=e.burnS)return 0;if(t<.2)return t/.2;const n=e.burnS*.75;return t<=n?1:(e.burnS-t)/(e.burnS-n)}static trajectory(e,t,n,a=h.SAMPLE_MS){const r=e.aircraft,M=r.headingDeg*Math.PI/180,s={...h.aircraftAt(r,n),vx:Math.sin(M)*r.speedMS,vy:Math.cos(M)*r.speedMS,vz:-t.ejectionMS},c=(e.wind?.towardDeg??0)*Math.PI/180,i=e.wind?.speedMS??0,d=Math.sin(c)*i,S=Math.cos(c)*i,x=r.originElevationM??1e3,p=[{t:n,x:s.x,y:s.y,z:s.z}],u=h.STEP_S,b=Math.round(a/1e3/u),m=Math.ceil(t.burnS/u);for(let f=1;f<=m;f++){const z=f*u,g=t.massKg-t.burnedKg*Math.min(1,z/t.burnS),P=1.225*Math.exp(-(s.z+x)/8500),A=s.vx-d,I=s.vy-S,E=s.vz,y=Math.hypot(A,I,E),l=.5*P*t.dragAreaM2*y/g;s.vx=(s.vx+l*u*d)/(1+l*u),s.vy=(s.vy+l*u*S)/(1+l*u),s.vz=(s.vz-h.G*u)/(1+l*u),s.x+=s.vx*u,s.y+=s.vy*u,s.z+=s.vz*u,(f%b===0||f===m)&&p.push({t:n+Math.round(z*1e3),x:s.x,y:s.y,z:s.z})}return p}static glowBody(e,t){const n=t.sizeM/2,a=t.luminousIntensityCd/(Math.PI*n*n),r=[{t:t.fromT,lit:!0}];if(t.onS&&t.offS)for(let c=t.fromT,i=!0;c<t.untilT;i=!i)c+=(i?t.onS:t.offS)*1e3,c<t.untilT&&r.push({t:c,lit:!i});const M=(c,i)=>{const d=h.aircraftAt(e.aircraft,c);return{t:c,eastM:d.x,northM:d.y,altitudeM:d.z,appearance:{color:t.color,luminanceCdM2:i?a:0}}},o=[];r.forEach(({t:c,lit:i},d)=>{d>0&&o.push(M(c-1,!i)),o.push(M(c,i))}),o[0]={...o[0],sizeM:{widthM:t.sizeM,lengthM:t.sizeM,heightM:t.sizeM},present:!0};const s=r[r.length-1];return o.push(M(t.untilT,s.lit),{t:t.untilT+1,present:!1}),{id:`${e.id}-glow`,title:e.title,explains:t.explains,model:{id:"sphere"},track:o}}static flareBody(e,t,n,a){const r=t.flameSizeM,M=r/2,o=t.luminousIntensityCd/(Math.PI*M*M),s=h.trajectory(e,t,n.t),c=s.map((i,d)=>({t:i.t,eastM:i.x,northM:i.y,altitudeM:i.z,...d===0?{sizeM:{widthM:r,lengthM:r,heightM:r},present:!0}:{},appearance:{color:t.color,luminanceCdM2:o*h.burnShare(t,(i.t-n.t)/1e3),...d===0?{haloScale:1}:{}}}));return c.push({t:s[s.length-1].t+1,present:!1}),{id:`${e.id}-flare-${a+1}`,title:e.title,explains:n.explains,model:{id:"sphere"},track:c}}}export{h as DecoyFlare};
@@ -0,0 +1,16 @@
1
+ import{M as v,_ as l,n as w,o as O}from"./rr0-ufoathome.mjs";import{b as p,d as f,P as T,I}from"./SaidPosition-CWiVNaNW.js";import{S as M}from"./SkyEventEditorStyle-CvY_AhbI.js";import{D as m,a as c,b as k}from"./DroneFlight-CGNIh9XS.js";import{P as b,a as y,E as L}from"./ParameterForm-DfpJQGku.js";import{T as E}from"./TimelineTracks-X_GEZi12.js";import"./Decor-Dn-cvniW.js";const S=v.catalog({en:()=>l(()=>import("./DroneParameterTexts_en-sL1dR2RG.js"),[],import.meta.url).then(a=>a.droneParameterTexts_en),fr:()=>l(()=>import("./DroneParameterTexts_fr-B8Ym7Yz6.js"),[],import.meta.url).then(a=>a.droneParameterTexts_fr),es:()=>l(()=>import("./DroneParameterTexts_es-Bg8_8XVE.js"),[],import.meta.url).then(a=>a.droneParameterTexts_es),it:()=>l(()=>import("./DroneParameterTexts_it-DfvWjvoc.js"),[],import.meta.url).then(a=>a.droneParameterTexts_it)});class s{static DRONE="drone";static FLIGHT="flight";static LOOK="look";static LIGHT_NAMES=[...new Set(m.ALL.flatMap(t=>Object.keys(t.lights)))];static textKey(t){return t.replace(/-([a-z])/g,(e,i)=>i.toUpperCase())}static flightOf(t){return t}static ownLight(t,e){return c.airframeOf(s.flightOf(t)).lights[e]}static formationUnstated(t){return(p.read(t,"count")??1)>1?"cluster":"single"}static formationOf(t){const e=p.read(t,"formation.kind");return typeof e=="string"?e:s.formationUnstated(t)}static hovers(t){return c.airframeOf(s.flightOf(t)).hovers}static light(t){const e=s.textKey(t),i=o=>s.ownLight(o,t)!==void 0,n=o=>{const h=s.flightOf(o).lights?.[t];return h===!1?!0:typeof h?.off=="boolean"?h.off:s.ownLight(o,t)?.off===!0},r=o=>i(o)&&!n(o);return[{type:"boolean",key:`lights.${t}.off`,group:e,label:"switchedOff",visibleWhen:i,effective:o=>s.flightOf(o).lights?.[t]===!1||s.ownLight(o,t)?.off===!0},{type:"colour",key:`lights.${t}.color`,group:e,label:"colour",visibleWhen:r,effective:o=>s.ownLight(o,t)?.color},{type:"number",key:`lights.${t}.candela`,min:0,max:1e5,step:.1,unit:"cd",group:e,label:"intensity",hint:"eachLed",visibleWhen:r,effective:o=>s.ownLight(o,t)?.candela},{type:"number",key:`lights.${t}.hz`,min:0,max:50,step:.05,unit:"Hz",group:e,label:"flashesASecond",hint:"steadyAtNought",visibleWhen:r,effective:o=>s.ownLight(o,t)?.hz??0},{type:"number",key:`lights.${t}.flashS`,min:.001,max:60,step:.001,unit:"s",group:e,label:"eachFlashLasts",visibleWhen:o=>r(o)&&(p.read(o,`lights.${t}.hz`)??s.ownLight(o,t)?.hz??0)>0,effective:o=>{const h=s.ownLight(o,t),d=p.read(o,`lights.${t}.hz`)??h?.hz??0;return h?.flashS??(d>0?Math.round(500/d)/1e3:void 0)}}]}static SET={kind:"drones",title:"drones",parameters:[{type:"said",key:"title",label:"name",group:s.DRONE},{type:"choice",key:"airframe",required:!0,group:s.DRONE,label:"airframe",choices:m.ALL.map(t=>({value:t.id,label:s.textKey(t.id)}))},{type:"number",key:"count",min:1,max:2e3,step:1,group:s.DRONE,effective:()=>1,label:"howMany"},{type:"set",key:"explains",group:s.DRONE,label:"standForTheShapes",hint:"theWholeGroupTakenForOne",visibleWhen:t=>s.flightOf(t).explainsEach===void 0,options:(t,e)=>{const i=e?.shapes??[],n=(s.flightOf(t).explains??[]).filter(r=>!i.some(o=>o.value===r));return[...i,...n.map(r=>({value:r,label:r}))]},empty:"noShape"},{type:"number",key:"seed",min:0,max:4294967295,step:1,group:s.DRONE,effective:()=>1,label:"draw",hint:"whatTheDrawsStartFrom"},{type:"choice",key:"formation.kind",group:s.FLIGHT,label:"pattern",effective:t=>s.formationUnstated(t),choices:[{value:"single",label:"oneDrone"},{value:"cluster",label:"aLooseGroup"},{value:"line",label:"abreast"}],visibleWhen:t=>(p.read(t,"count")??1)>1},{type:"number",key:"formation.spacingM",min:.5,max:1e3,step:.5,unit:"m",group:s.FLIGHT,effective:t=>s.formationOf(t)==="line"?5:10,label:"spacing",hint:"betweenNeighbours",visibleWhen:t=>(p.read(t,"count")??1)>1&&s.formationOf(t)!=="single"},{type:"number",key:"headingDeg",min:0,max:360,step:1,unit:"°",group:s.FLIGHT,label:"noseTowards",hint:"emptyItFacesWhereItGoes",placeholder:"whereItGoes",visibleWhen:s.hovers},{type:"number",key:"wind.fromDeg",min:0,max:360,step:1,unit:"°",group:s.FLIGHT,label:"windFrom",effective:()=>0,hint:"whatItLeansInto"},{type:"number",key:"wind.speedMS",min:0,max:60,step:.1,unit:"m/s",group:s.FLIGHT,label:"windSpeed",effective:()=>0},{type:"boolean",key:"silent",group:s.FLIGHT,label:"silent",hint:"notEvenItsRotors"},{type:"number",key:"quieterDb",min:0,max:60,step:1,unit:"dB",group:s.FLIGHT,label:"quieter",hint:"thanItsClass",effective:()=>0,visibleWhen:t=>p.read(t,"silent")!==!0},{type:"colour",key:"bodyColor",group:s.LOOK,label:"hull",effective:t=>c.airframeOf(s.flightOf(t)).bodyColor},...s.LIGHT_NAMES.flatMap(t=>s.light(t))]};static angular(t){return typeof t.azimuthDeg=="number"}static WAYPOINT={kind:"drones-waypoint",title:"pointOfThePath",parameters:[{type:"number",key:"t",min:-36e3,max:36e3,step:.1,unit:"s",scale:.001,required:!0,label:"time",hint:"secondsOfTheRecording"},{type:"position",key:"eastM",secondKey:"northM",saidKey:"saidPosition",native:"local",step:1,rangeM:1e5,label:"position",visibleWhen:t=>!s.angular(t)},{type:"number",key:"altitudeM",min:-500,max:2e4,step:.1,unit:"m",required:!0,label:"height",hint:"aboveTheGroundOfThePlace",visibleWhen:t=>!s.angular(t)},{type:"number",key:"azimuthDeg",min:0,max:360,step:.1,unit:"°",required:!0,label:"azimuth",visibleWhen:t=>s.angular(t)},{type:"number",key:"altitudeDeg",min:-90,max:90,step:.1,unit:"°",required:!0,label:"elevation",visibleWhen:t=>s.angular(t)},{type:"number",key:"distanceM",min:0,max:1e5,step:1,unit:"m",required:!0,label:"distance",visibleWhen:t=>s.angular(t)},{type:"number",key:"eyeHeightM",min:0,max:1e4,step:.1,unit:"m",effective:()=>1.6,label:"eyeHeight",visibleWhen:t=>s.angular(t)}]};static waypointAt(t,e){const i=c.pathOf(t);if(i.length===0)return{t:Math.round(e),eastM:0,northM:0,altitudeM:0};const n=new k(i,c.airframeOf(t).hovers).at(e),r=o=>Math.round(o*10)/10;return{t:Math.round(e),eastM:r(n.eastM),northM:r(n.northM),altitudeM:r(n.upM)}}static publish(){f.publish(s.SET),f.publish(s.WAYPOINT)}}const A=v.catalog({en:()=>l(()=>import("./DroneEditorMessages_en-BViHK30c.js"),[],import.meta.url).then(a=>a.droneEditorMessages_en),fr:()=>l(()=>import("./DroneEditorMessages_fr-CvV0RyOT.js"),[],import.meta.url).then(a=>a.droneEditorMessages_fr),es:()=>l(()=>import("./DroneEditorMessages_es-D6bhIOAa.js"),[],import.meta.url).then(a=>a.droneEditorMessages_es),it:()=>l(()=>import("./DroneEditorMessages_it-CYi-jmVN.js"),[],import.meta.url).then(a=>a.droneEditorMessages_it)});class u{constructor(t,e,i){this.container=t,this.host=e,M.attach(t,"drone-editor-part",u.STYLE),this.language=i,f.of("drones")||s.publish(),this.ready=this.setLanguage(i)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;pointForm;pointIndex=0;language;shown=[];static STYLE='.drone-editor-part { flex-basis: 100%; min-width: 0; } .drone-editor-part #drone-list, .drone-editor-part #drone-timeline { flex-basis: 100%; min-width: 0; } .drone-editor-part #drone-timeline { padding: 4px 0; } .drone-editor-part #drone-path > .icon-btn { align-self: flex-end; } .drone-editor-part .launch-editor, .drone-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .drone-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .drone-editor-part [hidden] { display: none !important; } .drone-editor-part select { min-width: 0; width: 100%; } .drone-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .drone-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .drone-editor-part .parameter-group { flex: 1 1 14em; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; align-content: flex-start; } .drone-editor-part input, .drone-editor-part select { max-width: 100%; box-sizing: border-box; } .drone-editor-part input[type="text"] { width: 12em; } .drone-editor-part label { min-width: 0; max-width: 100%; } .drone-editor-part input.parameter-derived::placeholder { opacity: .65; } .drone-editor-part .launch-path { flex: 1 1 100%; min-width: 0; box-sizing: border-box; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; }';static PATH_COLOR="#3b82c4";async setLanguage(t){const e=++this.languageToken;this.language=t;const[i,n]=await Promise.all([A.load(t),S.load(t)]);e===this.languageToken&&(this.messages=i,this.parameterTexts=n,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.flights;this.shown=[...t],t.some(n=>n.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(n=>({id:n.id,label:this.labelOf(n)})),this.currentId),this.syncAddState();const e=this.current;if(this.element("drone-fields").hidden=e===void 0,!e)return;const i=this.element("drone-each");i.hidden=e.explainsEach===void 0,i.textContent=this.messages.explainsEachNote.replace("{n}",String(e.explainsEach?.length??0)),this.form??=new b(this.element("drone-parameters"),this.language,"drones.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(s.SET),new y(()=>this.current,n=>this.editFlight(r=>n(r)),()=>({shapes:this.host.shapes().map(n=>({value:n.id,label:n.label}))}),this.host.positionPlace?.()),()=>this.written()),this.syncPoint(!0)}refresh(){if(!this.messages)return;this.syncAddState();const t=this.flights;if(t.length===this.shown.length&&t.every((e,i)=>e.id===this.shown[i].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}syncAddState(){const t=this.frontOfObserver()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}get current(){return this.flights.find(t=>t.id===this.currentId)}resolved(t){return T.resolve(t,this.parameterTexts)}render(){if(!this.messages)return;const t=this.messages;this.form=void 0,this.pointForm=void 0,this.container.innerHTML=`<div class="launch-editor">
2
+ <p class="launch-intro">${t.intro}</p>
3
+ <div id="drone-list"></div>
4
+ <div id="drone-fields" class="launch-fields">
5
+ <div id="drone-parameters" class="launch-parameters"></div>
6
+ <p id="drone-each" class="launch-intro" hidden></p>
7
+ <div id="drone-timeline"></div>
8
+ <p class="launch-intro">${t.timelineNote}</p>
9
+ <fieldset id="drone-path" class="launch-path">
10
+ <legend>${this.parameterTexts.pointOfThePath}</legend>
11
+ <div id="drone-point-parameters" class="launch-parameters"></div>
12
+ <button id="drone-point-delete" class="icon-btn" type="button" title="${t.deletePoint}" aria-label="${t.deletePoint}">${I.TRASH}</button>
13
+ </fieldset>
14
+ <p class="launch-intro">${t.derivedNote}</p>
15
+ </div>
16
+ </div>`,this.list=new L({header:this.element("drone-list"),body:this.element("drone-fields"),ids:{list:"drone-select",remove:"drone-delete",add:"drone-add"},onSelect:e=>this.show(e),onAdd:()=>this.addDrone(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:t.drone,remove:t.deleteDrone,add:t.addDrone,empty:t.none}),this.timeline=new E(this.element("drone-timeline"),e=>this.host.seekTo?.(e),{addKeyframeHere:t.addPointHere,keyframeHere:t.pointHere,zoomHint:t.zoomHint}),this.element("drone-point-delete").addEventListener("click",()=>this.removePoint())}show(t){this.messages&&(this.currentId=t,this.pointIndex=0,this.sync())}written(){const t=this.current;t&&this.list?.rename(t.id,this.labelOf(t)),this.syncPoint()}pathOf(t){return[...t?.path??[]].sort((e,i)=>e.t-i.t)}static MIN_POINTS=1;syncTimeline(){const t=this.current;if(!this.timeline||!t)return;const e=this.pathOf(t),i={id:"path",label:this.messages.path,color:u.PATH_COLOR,times:e.map(h=>h.t),active:!0,selectedTime:e[this.pointIndex]?.t,open:()=>this.selectPoint(this.pointIndex),pressed:(h,d)=>{const g=d===void 0?-1:this.pathOf(this.current).findIndex(x=>x.t===d);this.selectPoint(g>=0?g:this.pointIndex)},move:(h,d)=>this.movePoint(h,d),add:()=>this.addPointAt(this.host.currentTime?.()??0)},n=e[0]?.t??0,r=e[e.length-1]?.t??0,o=Math.max(500,(r-n)/10);this.timeline.show([i],this.host.duration?.()??r,this.host.currentTime?.()??0,{from:n-o,to:r+o})}syncPoint(t=!1){const e=this.pathOf(this.current);this.pointIndex=Math.max(0,Math.min(this.pointIndex,e.length-1)),this.element("drone-point-delete").disabled=e.length<=u.MIN_POINTS,this.pointForm?this.pointForm.sync(t):(this.pointForm=new b(this.element("drone-point-parameters"),this.language,"dronesPoint."),this.pointForm.show(this.resolved(s.WAYPOINT),new y(()=>this.pathOf(this.current)[this.pointIndex],i=>this.editPoint(this.pointIndex,i),void 0,this.host.positionPlace?.()),()=>{})),this.syncTimeline()}selectPoint(t){this.pointIndex=t;const e=this.pathOf(this.current)[t];e&&this.host.seekTo?.(e.t),this.syncPoint(!0)}editPoint(t,e){let i;this.editFlight(n=>{const r=this.pathOf(n);i={...r[t]},e(i),n.path=r.map((o,h)=>h===t?i:o).sort((o,h)=>o.t-h.t)}),i&&(this.pointIndex=this.current?.path.indexOf(i)??0),this.syncPoint()}movePoint(t,e){const i=this.pathOf(this.current).findIndex(n=>n.t===t);i<0||(this.editPoint(i,n=>{n.t=Math.round(e)}),this.syncPoint(!0))}addPointAt(t){const e=this.current;if(!e)return;const i=this.pathOf(e).findIndex(r=>Math.abs(r.t-t)<1);if(i>=0){this.selectPoint(i);return}const n=s.waypointAt(e,t);this.editFlight(r=>{r.path=[...this.pathOf(r),n].sort((o,h)=>o.t-h.t)}),this.selectPoint(this.current?.path.indexOf(n)??0)}removePoint(){const t=this.pathOf(this.current);if(t.length<=u.MIN_POINTS)return;const e=this.pointIndex;this.editFlight(i=>{i.path=t.filter((n,r)=>r!==e)}),this.syncPoint(!0)}editFlight(t){const e=this.current;if(!e)return;const i=structuredClone(e);if(i.lights)for(const[n,r]of Object.entries(i.lights))r===!1&&(i.lights[n]={off:!0});if(t(i),i.formation&&i.formation.kind===void 0&&(Object.entries(i.formation).some(([r,o])=>r!=="kind"&&o!==void 0)?i.formation.kind=e.formation?.kind??((i.count??1)>1?"cluster":"single"):delete i.formation),i.wind&&(i.wind.fromDeg===void 0&&i.wind.speedMS===void 0?delete i.wind:(i.wind.fromDeg??=0,i.wind.speedMS??=0)),i.lights){for(const[n,r]of Object.entries(i.lights))r!==!1&&Object.keys(r).length===0&&delete i.lights[n];Object.keys(i.lights).length===0&&delete i.lights}this.writeFlights(this.flights.map(n=>n===e?i:n)),this.host.changed()}frontOfObserver(){const t=this.host.sighting(),e=t.event?.place?.[0];if(e?.lat===void 0||e.lng===void 0)return;const i=t.observerTrack?.getInterpolatedPoseAt(this.host.currentTime?.()??0),n=111320,r=i?.lng!==void 0?(i.lng-e.lng)*n*Math.cos(e.lat*Math.PI/180):0,o=i?.lat!==void 0?(i.lat-e.lat)*n:0;return{eastM:r,northM:o,headingRad:(i?.headingDeg??0)*Math.PI/180}}addDrone(){const t=this.frontOfObserver();if(!t)return;let e=this.flights.length+1;for(;this.flights.some(o=>o.id===`drone-${e}`);)e++;const i=Math.round(this.host.currentTime?.()??0),n=o=>({t:o,eastM:Math.round(t.eastM+150*Math.sin(t.headingRad)),northM:Math.round(t.northM+150*Math.cos(t.headingRad)),altitudeM:60}),r={id:`drone-${e}`,airframe:"quadcopter",path:[n(i),n(i+2e4)],seed:e};this.writeFlights([...this.flights,r]),this.host.changed(),this.show(r.id)}deleteCurrent(){const t=this.current;t&&(this.currentId=void 0,this.writeFlights(this.flights.filter(e=>e!==t)),this.host.changed(),this.sync())}writeFlights(t){const e=this.host.sighting(),i={...e.interpretation??{bodies:[]},drones:t.length>0?t:void 0};i.drones===void 0&&delete i.drones;const n=w.saysNothing(i,O.kinds());e.interpretation=n?void 0:i}labelOf(t){const e=this.host.said().read(t.title);return e?`${e} (${t.id})`:t.id}get flights(){return this.host.sighting().interpretation?.drones??[]}element(t){return this.container.querySelector(`#${t}`)}}export{u as DroneEditor};
@@ -0,0 +1 @@
1
+ const e={intro:"Drones, as a reading of the account: what it saw was a drone, or several. Each flies its own track, computed from its airframe and its path: it stops where its path stops, leans into where it goes and into the wind, and its lights flash as they do — computed, not drawn.",none:"No drone in this recording",drone:"Drones",deleteDrone:"Delete these drones",addDrone:"Add a drone",addNowhere:"Give the recording a place first: a drone is put in front of the observer",explainsEachNote:"These drones each stand for a shape of the account, {n} in their order: change which in the recording's file.",path:"Path",deletePoint:"Remove this point",timelineNote:"On the timeline, a diamond pressed is the point of the path shown below, and the scene goes to its instant; drag it to move it in time. The “+” puts a point at the playhead, where the drone is then. Two points at the same place are a hover: a multirotor stops there, and at the first point and the last.",addPointHere:"Add a point here, at the playhead",pointHere:"A point is at the playhead: press it to edit it",zoomHint:"Pinch, or Ctrl + wheel, to zoom; Shift + wheel to scroll",derivedNote:"An empty field shows, greyed, the value in use: its airframe's for its colour and its lights. Empty a field to go back to it."};export{e as droneEditorMessages_en};
@@ -0,0 +1 @@
1
+ const e={intro:"Drones, como lectura del relato: lo que vio era un dron, o varios. Cada uno vuela su propia trayectoria, calculada según su célula y su trayecto: se detiene donde su trayecto se detiene, se inclina hacia donde va y contra el viento, y sus luces parpadean como lo hacen — calculado, no dibujado.",none:"Ningún dron en esta grabación",drone:"Drones",deleteDrone:"Eliminar estos drones",addDrone:"Añadir un dron",addNowhere:"Dé primero un lugar a la grabación: un dron se coloca delante del testigo",explainsEachNote:"Estos drones representan cada uno una forma del relato, {n} en su orden: cambie cuáles en el archivo de la grabación.",path:"Trayecto",deletePoint:"Quitar este punto",timelineNote:"En la línea de tiempo, un rombo pulsado es el punto del trayecto que se muestra debajo, y la escena va a su instante; arrástrelo para moverlo en el tiempo. El «+» pone un punto en el cabezal de reproducción, donde está entonces el dron. Dos puntos en el mismo sitio son un vuelo estacionario: un multirrotor se detiene allí, y en el primer punto y el último.",addPointHere:"Añadir un punto aquí, en el cabezal",pointHere:"Hay un punto en el cabezal: púlselo para editarlo",zoomHint:"Pellizque, o Ctrl + rueda, para ampliar; Mayús + rueda para desplazarse",derivedNote:"Un campo vacío muestra, en gris, el valor en uso: el de su célula para su color y sus luces. Vacíe un campo para volver a él."};export{e as droneEditorMessages_es};
@@ -0,0 +1 @@
1
+ const e={intro:"Des drones, comme lecture du compte rendu : ce qu'il a vu était un drone, ou plusieurs. Chacun vole sa propre trajectoire, calculée d'après sa cellule et son trajet : il s'arrête où son trajet s'arrête, s'incline vers où il va et contre le vent, et ses feux clignotent comme ils le font — calculé, pas dessiné.",none:"Aucun drone dans cet enregistrement",drone:"Drones",deleteDrone:"Supprimer ces drones",addDrone:"Ajouter un drone",addNowhere:"Donnez d'abord un lieu à l'enregistrement : un drone est placé devant le témoin",explainsEachNote:"Ces drones représentent chacun une forme du compte rendu, {n} dans leur ordre : modifiez lesquelles dans le fichier de l'enregistrement.",path:"Trajet",deletePoint:"Retirer ce point",timelineNote:"Sur la frise, un losange pressé est le point du trajet affiché dessous, et la scène va à son instant ; faites-le glisser pour le déplacer dans le temps. Le « + » pose un point à la tête de lecture, là où est alors le drone. Deux points au même endroit font un vol stationnaire : un multirotor s'y arrête, comme au premier point et au dernier.",addPointHere:"Ajouter un point ici, à la tête de lecture",pointHere:"Un point est à la tête de lecture : pressez-le pour le modifier",zoomHint:"Pincez, ou Ctrl + molette, pour zoomer ; Maj + molette pour défiler",derivedNote:"Un champ vide montre, en grisé, la valeur utilisée : celle de sa cellule pour sa couleur et ses feux. Videz un champ pour y revenir."};export{e as droneEditorMessages_fr};
@@ -0,0 +1 @@
1
+ const o={intro:"Droni, come lettura del resoconto: ciò che ha visto era un drone, o più d'uno. Ognuno vola la propria traiettoria, calcolata dalla sua cellula e dal suo tragitto: si ferma dove il tragitto si ferma, si inclina verso dove va e contro il vento, e le sue luci lampeggiano come fanno — calcolato, non disegnato.",none:"Nessun drone in questa registrazione",drone:"Droni",deleteDrone:"Elimina questi droni",addDrone:"Aggiungi un drone",addNowhere:"Dai prima un luogo alla registrazione: un drone viene posto davanti al testimone",explainsEachNote:"Questi droni rappresentano ciascuno una forma del resoconto, {n} nel loro ordine: cambia quali nel file della registrazione.",path:"Tragitto",deletePoint:"Rimuovi questo punto",timelineNote:"Sulla linea del tempo, un rombo premuto è il punto del tragitto mostrato sotto, e la scena va al suo istante; trascinalo per spostarlo nel tempo. Il «+» mette un punto alla testina, dove si trova allora il drone. Due punti nello stesso posto sono un volo stazionario: un multirotore vi si ferma, come al primo punto e all'ultimo.",addPointHere:"Aggiungi un punto qui, alla testina",pointHere:"C'è un punto alla testina: premilo per modificarlo",zoomHint:"Pizzica, o Ctrl + rotella, per ingrandire; Maiusc + rotella per scorrere",derivedNote:"Un campo vuoto mostra, in grigio, il valore in uso: quello della sua cellula per il colore e le luci. Svuota un campo per tornarvi."};export{o as droneEditorMessages_it};
@@ -0,0 +1 @@
1
+ import{e as T}from"./Decor-Dn-cvniW.js";class b{static G=9.81;static ALL=[{id:"quadcopter",modelId:"ufoathome-drone-quadcopter",sizeM:{widthM:.508,lengthM:.493,heightM:.093},hovers:!0,maxSpeedMS:21,maxTiltDeg:35,holdM:{horizontalM:.5,verticalM:.5},yawRateDegS:120,bodyColor:"#5b5f63",lights:{front:{color:"#ff2a1a",candela:1,leds:[{at:[-.125,-.03,-.14],radiusM:.004},{at:[.125,-.03,-.14],radiusM:.004}]},rear:{color:"#2aff5a",candela:1,hz:.5,leds:[{at:[0,.005,.135],radiusM:.004}]},strobe:{color:"#ffffff",candela:40,hz:1.25,flashS:.06,leds:[{at:[0,-.034,.05],radiusM:.006}]}}},{id:"saucer",modelId:"ufoathome-drone-saucer",sizeM:{widthM:.8,lengthM:.8,heightM:.206},hovers:!0,maxSpeedMS:12,maxTiltDeg:25,holdM:{horizontalM:.5,verticalM:.5},yawRateDegS:90,bodyColor:"#c9ccd0",lights:{rim:{color:"#4fd2ff",candela:1,leds:b.ring(12,.388,0,.012)},under:{color:"#ffffff",candela:3,leds:[{at:[0,-.094,0],radiusM:.02}]},strobe:{color:"#ffffff",candela:40,hz:1.25,flashS:.06,off:!0,leds:[{at:[0,.1,0],radiusM:.006}]}}},{id:"fixed-wing",modelId:"ufoathome-drone-fixed-wing",sizeM:{widthM:3.596,lengthM:1.848,heightM:.53},hovers:!1,maxSpeedMS:33,maxTiltDeg:0,holdM:{horizontalM:1,verticalM:.5},yawRateDegS:0,bodyColor:"#6f7568",lights:{"nav-left":{color:"#ff2a1a",candela:2,leds:[{at:[-1.79,.02,.05],radiusM:.008}]},"nav-right":{color:"#2aff5a",candela:2,leds:[{at:[1.79,.02,.05],radiusM:.008}]},tail:{color:"#ffffff",candela:1,leds:[{at:[0,.05,.94],radiusM:.008}]},strobe:{color:"#ffffff",candela:40,hz:1,flashS:.06,leds:[{at:[0,-.1,.1],radiusM:.008}]}}}];static byId(t){return b.ALL.find(a=>a.id===t)}static materialOf(t,a,e){return e>1?`light-${t}-${a+1}`:`light-${t}`}static colourKeyOf(t){return t.replace(/-([a-z])/g,(a,e)=>e.toUpperCase())+"Color"}static ring(t,a,e,n){return Array.from({length:t},(s,M)=>{const r=M/t*2*Math.PI;return{at:[Math.round(a*Math.sin(r)*1e4)/1e4,e,Math.round(-a*Math.cos(r)*1e4)/1e4],radiusM:n}})}}class i{static SAMPLE_MS=100;static MAX_KEYFRAMES=6e4;static computed=new Map;static bodiesOf(t){const a=JSON.stringify(t);let e=i.computed.get(a);return e||(e=i.compute(t),i.computed.set(a,e),i.computed.size>16&&i.computed.delete(i.computed.keys().next().value)),e}static airframeOf(t){return b.byId(t.airframe)??b.ALL[0]}static lightsOf(t){const a=i.airframeOf(t),e={};for(const[n,s]of Object.entries(a.lights)){const M=t.lights?.[n];if(M===!1)continue;const r={...s,...M??{}};r.off||(e[n]=r)}return e}static compute(t){const a=i.pathOf(t);if(a.length===0)return[];const e=i.airframeOf(t),n=new j(a,e.hovers),s=Math.max(1,Math.floor(t.count??1)),M=i.randomFrom(t.seed??1),r=a[0].t,c=Math.max(a[a.length-1].t,r),d=i.sampleMs(s,c-r),u=i.offsetsOf(t.formation??{kind:s>1?"cluster":"single"},s,M),f=i.lightsOf(t),y={bodyColor:t.bodyColor??e.bodyColor};for(const[m,o]of Object.entries(f))y[b.colourKeyOf(m)]=o.color;const S=t.formation?.kind==="line";return u.map((m,o)=>{const h=i.swayFrom(M,e.holdM),p=Object.fromEntries(Object.entries(f).map(([l,z])=>[l,z.phase??(s>1?M():0)])),g=l=>{const z=n.at(l),[O,I,N]=h((l-r)/1e3);let k=m.eastM,C=m.northM;if(S){const D=n.velocityAt(l),R=Math.hypot(D.east,D.north)>.3?Math.atan2(D.east,D.north):n.headingAtRest(l);k=Math.cos(R)*m.rightM,C=-Math.sin(R)*m.rightM}return{eastM:z.eastM+k+O,northM:z.northM+C+I,upM:z.upM+m.upM+N}},w=[];for(let l=r;l<=c+1e-6;l+=d)w.push(l);w[w.length-1]<c&&w.push(c);const x=i.attitudes(w.map(l=>({t:l,...g(l),headingDeg:0,pitchDeg:0,rollDeg:0})),e,t),P=i.switchesOf(f,p,r,c),E=[...new Set([...w.map(l=>Math.round(l)),...P])].filter(l=>l>=r&&l<=c).sort((l,z)=>l-z);let v=0;const A=E.map((l,z)=>{for(;v<x.length-2&&x[v+1].t<=l;)v++;const O=i.between(x[v],x[Math.min(x.length-1,v+1)],l,g);return{t:l,eastM:i.round(O.eastM),northM:i.round(O.northM),altitudeM:i.round(O.upM-e.sizeM.heightM/2),...z===0?{sizeM:e.sizeM}:{},attitude:{headingDeg:i.round(O.headingDeg,10),pitchDeg:i.round(O.pitchDeg,10),rollDeg:i.round(O.rollDeg,10)},lights:i.luminancesAt(f,p,l,E[z+1]===l+1)}});return{id:s>1?`${t.id}-${o+1}`:t.id,...t.title?{title:t.title}:{},...t.explainsEach?t.explainsEach[o]!==void 0?{explains:[t.explainsEach[o]]}:{}:{...t.explains?{explains:t.explains}:{},...s>1?{ensemble:t.id}:{}},model:{id:e.modelId},modelParameters:y,lamps:i.lampsOf(f,p),...t.silent?{}:{sound:{kind:"unmanned",...t.quieterDb?{quieterDb:t.quieterDb}:{}}},track:A}})}static lampsOf(t,a){return Object.entries(t).flatMap(([e,n])=>n.leds.map((s,M)=>{const r=n.hz>0,c=r?1/n.hz:0;return{id:b.materialOf(e,M,n.leds.length),offsetM:{x:s.at[0],y:s.at[1],z:-s.at[2]},color:n.color,intensity:n.candela/T,pattern:r?{kind:"flash",perMinute:n.hz*60,dutyCycle:Math.min(1,(n.flashS??.5*c)/c),phase:((1-(a[e]??0))%1+1)%1}:{kind:"steady"}}}))}static luminancesAt(t,a,e,n=!1){const s={};for(const[M,r]of Object.entries(t)){const c=i.isOn(r,a[M]??0,n?e-1:e+.5);r.leds.forEach((d,u)=>{s[b.materialOf(M,u,r.leds.length)]=c?i.round(r.candela/(Math.PI*d.radiusM**2),1):0})}return s}static isOn(t,a,e){if(!(t.hz>0))return!0;const n=1e3/t.hz,s=Math.min(n,(t.flashS??.5/t.hz)*1e3);return((e/n-a)%1+1)%1*n<s}static switchesOf(t,a,e,n){const s=[];for(const[M,r]of Object.entries(t)){if(!(r.hz>0))continue;const c=1e3/r.hz,d=Math.min(c,(r.flashS??.5/r.hz)*1e3);if(d>=c)continue;const u=(a[M]??0)*c;for(let f=Math.floor((e-u)/c)*c+u;f<=n;f+=c)for(const y of[f,f+d]){const S=Math.round(y);S>=e&&S<n&&s.push(S,S+1)}}return s}static sampleMs(t,a){const e=t*(a/i.SAMPLE_MS+1);return e<=i.MAX_KEYFRAMES?i.SAMPLE_MS:Math.ceil(i.SAMPLE_MS*e/i.MAX_KEYFRAMES/50)*50}static pathOf(t){return[...t.path].sort((a,e)=>a.t-e.t).map(a=>{if("eastM"in a)return{t:a.t,eastM:a.eastM,northM:a.northM,upM:a.altitudeM};const e=a.azimuthDeg*Math.PI/180,n=a.altitudeDeg*Math.PI/180,s=a.distanceM*Math.cos(n);return{t:a.t,eastM:s*Math.sin(e),northM:s*Math.cos(e),upM:(a.eyeHeightM??1.6)+a.distanceM*Math.sin(n)}})}static offsetsOf(t,a,e){if(t.kind==="single"||a===1)return[{eastM:0,northM:0,upM:0,rightM:0}];if(t.kind==="line"){const c=t.spacingM??5;return Array.from({length:a},(d,u)=>({eastM:0,northM:0,upM:(e()-.5)*c*.2,rightM:(u-(a-1)/2)*c}))}const n=t.spacingM??10,s=Math.cbrt(a*n**3/(4/3*Math.PI*2*2*1)),M=[];let r=0;for(;M.length<a&&r<a*200;){r++;const c=2*e()-1,d=2*e()-1,u=2*e()-1;if(c*c+d*d+u*u>1)continue;const f={eastM:c*2*s,northM:d*2*s,upM:u*s,rightM:0};M.some(y=>(y.eastM-f.eastM)**2+(y.northM-f.northM)**2+(y.upM-f.upM)**2<(n/2)**2)||M.push(f)}for(;M.length<a;)M.push({eastM:(e()-.5)*4*s,northM:(e()-.5)*4*s,upM:0,rightM:0});return M}static swayFrom(t,a){const e=[a.horizontalM,a.horizontalM,a.verticalM].map(n=>[0,1].map(()=>({period:4+t()*10,phase:t()*2*Math.PI,amplitude:n*.5*(.5+.5*t())})));return n=>e.map(s=>s.reduce((M,r)=>M+r.amplitude*Math.sin(2*Math.PI*n/r.period+r.phase),0))}static attitudes(t,a,e){const n=t.length;if(n===0)return t;const s=b.G,M=(e.wind?.fromDeg??0)*Math.PI/180,r=-(e.wind?.speedMS??0)*Math.sin(M),c=-(e.wind?.speedMS??0)*Math.cos(M),d=o=>{const h=t[Math.max(0,o-1)],p=t[Math.min(n-1,o+1)],g=Math.max((p.t-h.t)/1e3,.001);return{e:(p.eastM-h.eastM)/g,n:(p.northM-h.northM)/g,u:(p.upM-h.upM)/g}},u=t.map((o,h)=>d(h)),f=o=>{const h=u[Math.max(0,o-1)],p=u[Math.min(n-1,o+1)],g=Math.max((t[Math.min(n-1,o+1)].t-t[Math.max(0,o-1)].t)/1e3,.001);return{e:(p.e-h.e)/g,n:(p.n-h.n)/g,u:(p.u-h.u)/g}};if(!a.hovers){for(let o=0;o<n;o++){const h=u[o],p=h.e-r,g=h.n-c,w=Math.hypot(h.e,h.n);t[o].headingDeg=Math.hypot(p,g)>.5?(Math.atan2(p,g)*180/Math.PI+360)%360:o>0?t[o-1].headingDeg:0,t[o].pitchDeg=Math.atan2(h.u,Math.max(w,1))*180/Math.PI+2;const x=f(o),P=w>.5?(x.e*h.n-x.n*h.e)/w:0;t[o].rollDeg=Math.max(-45,Math.min(45,Math.atan(P/s)*180/Math.PI))}return t}const y=s*Math.tan(a.maxTiltDeg*Math.PI/180)/a.maxSpeedMS**2,S=a.yawRateDegS*i.SAMPLE_MS/1e3;let m=e.headingDeg;if(m===void 0){const o=u.find(h=>Math.hypot(h.e,h.n)>1);m=o?(Math.atan2(o.e,o.n)*180/Math.PI+360)%360:0}for(let o=0;o<n;o++){const h=u[o];if(e.headingDeg===void 0&&Math.hypot(h.e,h.n)>1){const O=((Math.atan2(h.e,h.n)*180/Math.PI+360)%360-m+540)%360-180,I=o>0?(t[o].t-t[o-1].t)/i.SAMPLE_MS:1;m=(m+Math.max(-S*I,Math.min(S*I,O))+360)%360}const p=f(o),g=h.e-r,w=h.n-c,x=Math.hypot(g,w),P=p.e+y*x*g,E=p.n+y*x*w,v=Math.max(s+p.u,.2*s),A=m*Math.PI/180,L=P*Math.sin(A)+E*Math.cos(A),l=P*Math.cos(A)-E*Math.sin(A);t[o].headingDeg=m,t[o].pitchDeg=-Math.atan(L/v)*180/Math.PI,t[o].rollDeg=Math.atan(l/v)*180/Math.PI}return t}static between(t,a,e,n){if(e===t.t)return t;if(e===a.t)return a;const s=a.t===t.t?0:Math.min(1,Math.max(0,(e-t.t)/(a.t-t.t))),M=(a.headingDeg-t.headingDeg+540)%360-180;return{t:e,...n(e),headingDeg:(t.headingDeg+M*s+360)%360,pitchDeg:t.pitchDeg+(a.pitchDeg-t.pitchDeg)*s,rollDeg:t.rollDeg+(a.rollDeg-t.rollDeg)*s}}static randomFrom(t){let a=t>>>0;return()=>{a=a+1831565813>>>0;let e=a;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}static round(t,a=100){return Math.round(t*a)/a}}class j{constructor(t,a){this.points=t,this.hovers=a;const e=t;this.speeds=e.map((n,s)=>{const M=e[s-1],r=e[s+1],c=(h,p)=>{const g=Math.max((p.t-h.t)/1e3,.001);return{e:(p.eastM-h.eastM)/g,n:(p.northM-h.northM)/g,u:(p.upM-h.upM)/g}};if(!M||!r)return a||e.length<2?{e:0,n:0,u:0}:M?c(M,n):c(n,r);const d=c(M,n),u=c(n,r),f=Math.hypot(d.e,d.n,d.u),y=Math.hypot(u.e,u.n,u.u);if(a&&(f<.05||y<.05||d.e*u.e+d.n*u.n+d.u*u.u<0))return{e:0,n:0,u:0};const S=n.t-M.t,m=r.t-n.t,o=S/Math.max(S+m,1);return{e:d.e*(1-o)+u.e*o,n:d.n*(1-o)+u.n*o,u:d.u*(1-o)+u.u*o}})}speeds;at(t){const a=this.points;if(a.length===1)return{...a[0],t};if(t<=a[0].t)return this.outside(t,0);if(t>=a[a.length-1].t)return this.outside(t,a.length-1);let e=0;for(;e<a.length-2&&t>a[e+1].t;)e++;const n=a[e],s=a[e+1],M=Math.max((s.t-n.t)/1e3,.001),r=(t-n.t)/(s.t-n.t),c=r*r,d=c*r,u=2*d-3*c+1,f=d-2*c+r,y=-2*d+3*c,S=d-c,m=this.speeds[e],o=this.speeds[e+1];return{t,eastM:u*n.eastM+f*m.e*M+y*s.eastM+S*o.e*M,northM:u*n.northM+f*m.n*M+y*s.northM+S*o.n*M,upM:u*n.upM+f*m.u*M+y*s.upM+S*o.u*M}}velocityAt(t){const a=this.at(t-50),e=this.at(t+50);return{east:(e.eastM-a.eastM)/.1,north:(e.northM-a.northM)/.1,up:(e.upM-a.upM)/.1}}headingAtRest(t){const a=this.points;for(let e=a.length-1;e>0;e--){if(a[e].t>t&&e>1)continue;const n=a[e].eastM-a[e-1].eastM,s=a[e].northM-a[e-1].northM;if(Math.hypot(n,s)>.1)return Math.atan2(n,s)}for(let e=1;e<a.length;e++){const n=a[e].eastM-a[e-1].eastM,s=a[e].northM-a[e-1].northM;if(Math.hypot(n,s)>.1)return Math.atan2(n,s)}return 0}outside(t,a){const e=this.points[a];if(this.hovers)return{...e,t};const n=this.speeds[a],s=(t-e.t)/1e3;return{t,eastM:e.eastM+n.e*s,northM:e.northM+n.n*s,upM:e.upM+n.u*s}}}const K=Object.freeze(Object.defineProperty({__proto__:null,DroneFlight:i,DronePath:j},Symbol.toStringTag,{value:"Module"}));export{b as D,i as a,j as b,K as c};
@@ -0,0 +1 @@
1
+ const e={title:"Drones",name:"Drone"};export{e as droneKindMessages_en};
@@ -0,0 +1 @@
1
+ const e={title:"Drones",name:"Dron"};export{e as droneKindMessages_es};
@@ -0,0 +1 @@
1
+ const e={title:"Drones",name:"Drone"};export{e as droneKindMessages_fr};
@@ -0,0 +1 @@
1
+ const e={title:"Droni",name:"Drone"};export{e as droneKindMessages_it};
@@ -0,0 +1 @@
1
+ const e={drones:"Drones",drone:"Drone",flight:"Flight",look:"Look",name:"Name",airframe:"Airframe",quadcopter:"Quadcopter",saucer:"Saucer (“drufo”)",fixedWing:"Fixed wing",howMany:"How many",standForTheShapes:"Stand for the shapes",theWholeGroupTakenForOne:"The whole group, taken for one",noShape:"No shape in the account",draw:"Draw",whatTheDrawsStartFrom:"What the draws start from: where each drone is in the group, how it strays, when its lights flash.",pattern:"Arrangement",oneDrone:"One drone",aLooseGroup:"A loose group",abreast:"Abreast",spacing:"Spacing",betweenNeighbours:"Between neighbours.",noseTowards:"Nose towards",whereItGoes:"track",emptyItFacesWhereItGoes:"Empty: it faces where it goes.",windFrom:"Wind from",whatItLeansInto:"The wind at its height, which a multirotor leans into to hold its place.",windSpeed:"Wind speed",silent:"Silent",notEvenItsRotors:"Unheard: not even its rotors' whine.",quieter:"Quieter",thanItsClass:"Than a drone of its class.",hull:"Hull",front:"Front lights",rear:"Status light",strobe:"Strobe",rim:"Rim LEDs",under:"Light under it",navLeft:"Left wingtip light",navRight:"Right wingtip light",tail:"Tail light",switchedOff:"Off",colour:"Colour",intensity:"Intensity",eachLed:"Each LED's, what is seen of it from afar.",flashesASecond:"Flashes a second",steadyAtNought:"0: steady.",eachFlashLasts:"Each flash lasts",pointOfThePath:"Point of the path",time:"Time",secondsOfTheRecording:"Seconds of the recording.",position:"Position",height:"Height",aboveTheGroundOfThePlace:"Above the ground of the place.",azimuth:"Azimuth",elevation:"Elevation",distance:"Distance",eyeHeight:"Eye height"};export{e as droneParameterTexts_en};
@@ -0,0 +1 @@
1
+ const e={drones:"Drones",drone:"Dron",flight:"Vuelo",look:"Aspecto",name:"Nombre",airframe:"Célula",quadcopter:"Cuadricóptero",saucer:"Platillo («drufo»)",fixedWing:"Ala fija",howMany:"Cuántos",standForTheShapes:"Representan las formas",theWholeGroupTakenForOne:"El grupo entero, tomado por una sola",noShape:"Ninguna forma en el relato",draw:"Sorteo",whatTheDrawsStartFrom:"De qué parten los sorteos: el sitio de cada dron en el grupo, cómo se desvía, cuándo destellan sus luces.",pattern:"Disposición",oneDrone:"Un solo dron",aLooseGroup:"Un grupo suelto",abreast:"De frente",spacing:"Separación",betweenNeighbours:"Entre vecinos.",noseTowards:"Morro hacia",whereItGoes:"rumbo",emptyItFacesWhereItGoes:"Vacío: apunta adonde va.",windFrom:"Viento del",whatItLeansInto:"El viento a su altura, contra el que un multirrotor se inclina para mantener su sitio.",windSpeed:"Velocidad del viento",silent:"Silencioso",notEvenItsRotors:"Inaudible: ni siquiera el silbido de sus rotores.",quieter:"Más silencioso en",thanItsClass:"Que un dron de su clase.",hull:"Casco",front:"Luces delanteras",rear:"Luz de estado",strobe:"Luz estroboscópica",rim:"LED del borde",under:"Luz inferior",navLeft:"Luz del ala izquierda",navRight:"Luz del ala derecha",tail:"Luz de cola",switchedOff:"Apagada",colour:"Color",intensity:"Intensidad",eachLed:"La de cada LED, lo que se ve de ella de lejos.",flashesASecond:"Destellos por segundo",steadyAtNought:"0: fija.",eachFlashLasts:"Duración de un destello",pointOfThePath:"Punto del trayecto",time:"Instante",secondsOfTheRecording:"Segundos de la grabación.",position:"Posición",height:"Altura",aboveTheGroundOfThePlace:"Sobre el suelo del lugar.",azimuth:"Acimut",elevation:"Elevación",distance:"Distancia",eyeHeight:"Altura del ojo"};export{e as droneParameterTexts_es};
@@ -0,0 +1 @@
1
+ const e={drones:"Drones",drone:"Drone",flight:"Vol",look:"Aspect",name:"Nom",airframe:"Cellule",quadcopter:"Quadricoptère",saucer:"Soucoupe (« drufo »)",fixedWing:"Voilure fixe",howMany:"Combien",standForTheShapes:"Représentent les formes",theWholeGroupTakenForOne:"Le groupe entier, pris pour une seule",noShape:"Aucune forme dans le compte rendu",draw:"Tirage",whatTheDrawsStartFrom:"Ce dont partent les tirages : la place de chaque drone dans le groupe, ses écarts, quand ses feux éclatent.",pattern:"Disposition",oneDrone:"Un seul drone",aLooseGroup:"Un groupe lâche",abreast:"De front",spacing:"Espacement",betweenNeighbours:"Entre voisins.",noseTowards:"Nez vers",whereItGoes:"route",emptyItFacesWhereItGoes:"Vide : il pointe vers où il va.",windFrom:"Vent du",whatItLeansInto:"Le vent à sa hauteur, contre lequel un multirotor s'incline pour tenir sa place.",windSpeed:"Vitesse du vent",silent:"Silencieux",notEvenItsRotors:"Inaudible : pas même le sifflement de ses rotors.",quieter:"Plus silencieux de",thanItsClass:"Qu'un drone de sa catégorie.",hull:"Coque",front:"Feux avant",rear:"Voyant d'état",strobe:"Feu à éclats",rim:"LED du pourtour",under:"Lumière dessous",navLeft:"Feu de saumon gauche",navRight:"Feu de saumon droit",tail:"Feu de queue",switchedOff:"Éteint",colour:"Couleur",intensity:"Intensité",eachLed:"Celle de chaque LED, ce qu'on en voit de loin.",flashesASecond:"Éclats par seconde",steadyAtNought:"0 : fixe.",eachFlashLasts:"Durée d'un éclat",pointOfThePath:"Point du trajet",time:"Instant",secondsOfTheRecording:"Secondes de l'enregistrement.",position:"Position",height:"Hauteur",aboveTheGroundOfThePlace:"Au-dessus du sol du lieu.",azimuth:"Azimut",elevation:"Hauteur angulaire",distance:"Distance",eyeHeight:"Hauteur de l'œil"};export{e as droneParameterTexts_fr};
@@ -0,0 +1 @@
1
+ const e={drones:"Droni",drone:"Drone",flight:"Volo",look:"Aspetto",name:"Nome",airframe:"Cellula",quadcopter:"Quadricottero",saucer:"Disco («drufo»)",fixedWing:"Ala fissa",howMany:"Quanti",standForTheShapes:"Rappresentano le forme",theWholeGroupTakenForOne:"L'intero gruppo, preso per una sola",noShape:"Nessuna forma nel resoconto",draw:"Estrazione",whatTheDrawsStartFrom:"Da cosa partono le estrazioni: il posto di ogni drone nel gruppo, come si scosta, quando lampeggiano le sue luci.",pattern:"Disposizione",oneDrone:"Un solo drone",aLooseGroup:"Un gruppo sparso",abreast:"Affiancati",spacing:"Spaziatura",betweenNeighbours:"Tra vicini.",noseTowards:"Muso verso",whereItGoes:"rotta",emptyItFacesWhereItGoes:"Vuoto: punta dove va.",windFrom:"Vento da",whatItLeansInto:"Il vento alla sua quota, contro cui un multirotore si inclina per restare al suo posto.",windSpeed:"Velocità del vento",silent:"Silenzioso",notEvenItsRotors:"Inudibile: nemmeno il sibilo dei suoi rotori.",quieter:"Più silenzioso di",thanItsClass:"Di un drone della sua classe.",hull:"Scafo",front:"Luci anteriori",rear:"Spia di stato",strobe:"Luce stroboscopica",rim:"LED del bordo",under:"Luce inferiore",navLeft:"Luce dell'ala sinistra",navRight:"Luce dell'ala destra",tail:"Luce di coda",switchedOff:"Spenta",colour:"Colore",intensity:"Intensità",eachLed:"Quella di ogni LED, ciò che se ne vede da lontano.",flashesASecond:"Lampi al secondo",steadyAtNought:"0: fissa.",eachFlashLasts:"Durata di un lampo",pointOfThePath:"Punto del tragitto",time:"Istante",secondsOfTheRecording:"Secondi della registrazione.",position:"Posizione",height:"Altezza",aboveTheGroundOfThePlace:"Sopra il suolo del luogo.",azimuth:"Azimut",elevation:"Elevazione",distance:"Distanza",eyeHeight:"Altezza dell'occhio"};export{e as droneParameterTexts_it};
@@ -0,0 +1 @@
1
+ class o{static TEXT_SHARE=.032;static MARGIN=.8;static LINE_SHARE=.9;static FONT="system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif";static LOGO_URL=new URL(""+new URL("logo-h2-w4Mwu.png",import.meta.url).href,import.meta.url).href;static LOGO_SHARE=.08;static LOGO_OPACITY=.45;static logo;static loadLogo(){return o.logo??=fetch(o.LOGO_URL).then(t=>t.ok?t.blob():Promise.reject(new Error(`Logo: ${t.status}`))).then(t=>createImageBitmap(t)).catch(t=>{console.warn("UFO@home: the film's logo could not be loaded:",t)})}static paint(t,i,e){const{width:d,height:f}=t.canvas,l=Math.max(10,Math.round(f*o.TEXT_SHARE));let c=d*o.LINE_SHARE;t.save();try{if(e){const s=Math.round(f*o.LOGO_SHARE),w=l*o.MARGIN;t.globalAlpha=o.LOGO_OPACITY,t.imageSmoothingQuality="high",t.drawImage(e,d-w-s,f-w-s,s,s),t.globalAlpha=1,c=Math.min(c,d-2*(s+2*w))}if(i.map){const s=i.map;t.drawImage(s.canvas,s.left*d,s.top*f,s.width*d,s.height*f)}t.fillStyle="#fff",t.shadowColor="rgba(0, 0, 0, 0.9)",t.shadowBlur=l*.3,t.shadowOffsetY=l*.06,i.time&&(t.font=`600 ${l}px ${o.FONT}`,t.textBaseline="top",t.textAlign="left",t.fillText(i.time,l*o.MARGIN,l*o.MARGIN)),i.caption&&o.paintCaption(t,i.caption,l,c)}finally{t.restore()}}static paintCaption(t,i,e,d){const{width:f,height:l}=t.canvas,c=`700 ${e}px ${o.FONT}`,s=`400 ${e}px ${o.FONT}`,R=[...i.label.split(/\s+/).filter(Boolean).map(n=>({text:n,font:c})),...i.note?`— ${i.note}`.split(/\s+/).filter(Boolean).map(n=>({text:n,font:s})):[]].map(n=>(t.font=n.font,{...n,width:t.measureText(n.text).width}));t.font=s;const u=t.measureText(" ").width,h=[];let a={words:[],width:0};for(const n of R){const p=a.width+(a.words.length>0?u:0)+n.width;a.words.length>0&&p>d&&(h.push(a),a={words:[],width:0}),a.width+=(a.words.length>0?u:0)+n.width,a.words.push(n)}a.words.length>0&&h.push(a);const A=e*1.3;t.textBaseline="alphabetic",t.textAlign="left";let x=l-e*o.MARGIN-(h.length-1)*A;for(const n of h){let p=(f-n.width)/2;for(const O of n.words)t.font=O.font,t.fillText(O.text,p,x),p+=O.width+u;x+=A}}}export{o as FilmChrome};
@@ -0,0 +1 @@
1
+ const e={title:"Decoy flares",name:"Decoy flare"};export{e as flareKindMessages_en};
@@ -0,0 +1 @@
1
+ const e={title:"Bengalas señuelo",name:"Bengala señuelo"};export{e as flareKindMessages_es};
@@ -0,0 +1 @@
1
+ const e={title:"Leurres pyrotechniques",name:"Leurre pyrotechnique"};export{e as flareKindMessages_fr};
@@ -0,0 +1 @@
1
+ const e={title:"Bengala esca",name:"Bengala esca"};export{e as flareKindMessages_it};