@rr0/ufoathome 0.200.0 → 0.201.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 (436) hide show
  1. package/dist-embed-interview/InterviewMessages_en-BRmuWrAg.js +1 -0
  2. package/dist-embed-interview/InterviewMessages_es-BTotimwY.js +1 -0
  3. package/dist-embed-interview/InterviewMessages_fr-DBCdGB0r.js +1 -0
  4. package/dist-embed-interview/InterviewMessages_it-B5EyMD-k.js +1 -0
  5. package/dist-embed-interview/rr0-interview.mjs +1 -1
  6. package/dist-embed-scene/{AirshipEditor-B0RloPOv.js → AirshipEditor-BnRmKeVs.js} +1 -1
  7. package/dist-embed-scene/{AirshipFlight-D6tC26P5.js → AirshipFlight-C9DSPGwk.js} +1 -1
  8. package/dist-embed-scene/Aurora-BmVyTP6i.js +1 -0
  9. package/dist-embed-scene/AuroraEditor-CN6BQMUW.js +8 -0
  10. package/dist-embed-scene/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  11. package/dist-embed-scene/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  12. package/dist-embed-scene/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  13. package/dist-embed-scene/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  14. package/dist-embed-scene/AuroraKindMessages_en-D_W4giJa.js +1 -0
  15. package/dist-embed-scene/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  16. package/dist-embed-scene/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  17. package/dist-embed-scene/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  18. package/dist-embed-scene/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  19. package/dist-embed-scene/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  20. package/dist-embed-scene/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  21. package/dist-embed-scene/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  22. package/dist-embed-scene/AuroraSimulation-BZpjImM0.js +152 -0
  23. package/dist-embed-scene/{BalloonEditor-D1b8pmSn.js → BalloonEditor-BehJs6H-.js} +2 -2
  24. package/dist-embed-scene/{BalloonFlight-D015vbBe.js → BalloonFlight-BYn4diw1.js} +1 -1
  25. package/dist-embed-scene/BeamSystem-DtRwoKHP.js +1 -0
  26. package/dist-embed-scene/{BirdEditor-CxGMe4UD.js → BirdEditor-dOp1sGsz.js} +1 -1
  27. package/dist-embed-scene/{BirdFlock-D2mckZ_l.js → BirdFlock-CfJeXvWu.js} +1 -1
  28. package/dist-embed-scene/{DroneEditor-BNGmR5II.js → DroneEditor-CBoR4fJ_.js} +1 -1
  29. package/dist-embed-scene/{DroneFlight-DKHsNqDw.js → DroneFlight-DSE1OXqh.js} +1 -1
  30. package/dist-embed-scene/{DroneParameters-Bq6XBchK.js → DroneParameters-D3EOg4oe.js} +1 -1
  31. package/dist-embed-scene/{LanternEditor-FU0WHV3j.js → LanternEditor-CbcA7K8y.js} +2 -2
  32. package/dist-embed-scene/ModuleSession-XnOI5Mcr.js +3 -0
  33. package/dist-embed-scene/ModuleThree-BTQgimAj.js +1 -0
  34. package/dist-embed-scene/SearchlightEditor-CogwU9pl.js +8 -0
  35. package/dist-embed-scene/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  36. package/dist-embed-scene/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  37. package/dist-embed-scene/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  38. package/dist-embed-scene/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  39. package/dist-embed-scene/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  40. package/dist-embed-scene/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  41. package/dist-embed-scene/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  42. package/dist-embed-scene/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  43. package/dist-embed-scene/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  44. package/dist-embed-scene/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  45. package/dist-embed-scene/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  46. package/dist-embed-scene/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  47. package/dist-embed-scene/SearchlightSystem-CX1_nBkz.js +1 -0
  48. package/dist-embed-scene/{SkyLantern-a9qLkbZo.js → SkyLantern-Dp_B40X0.js} +1 -1
  49. package/dist-embed-scene/rr0-scene.mjs +397 -322
  50. package/dist-embed-scene/sightingSchema-9MogCcUd.js +1 -0
  51. package/dist-embed-sighting/Aurora-DN89D94m.js +1 -0
  52. package/dist-embed-sighting/AuroraEditor-C4tY9hXK.js +8 -0
  53. package/dist-embed-sighting/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  54. package/dist-embed-sighting/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  55. package/dist-embed-sighting/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  56. package/dist-embed-sighting/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  57. package/dist-embed-sighting/AuroraKindMessages_en-D_W4giJa.js +1 -0
  58. package/dist-embed-sighting/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  59. package/dist-embed-sighting/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  60. package/dist-embed-sighting/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  61. package/dist-embed-sighting/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  62. package/dist-embed-sighting/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  63. package/dist-embed-sighting/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  64. package/dist-embed-sighting/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  65. package/dist-embed-sighting/AuroraSimulation-C9hvCV0W.js +152 -0
  66. package/dist-embed-sighting/BeamSystem-CsNwl_vM.js +1 -0
  67. package/dist-embed-sighting/{CaseReportExport-B13vvVvn.js → CaseReportExport-DVVsc8gA.js} +1 -1
  68. package/dist-embed-sighting/InterviewMessages_en-BRmuWrAg.js +1 -0
  69. package/dist-embed-sighting/InterviewMessages_es-BTotimwY.js +1 -0
  70. package/dist-embed-sighting/InterviewMessages_fr-DBCdGB0r.js +1 -0
  71. package/dist-embed-sighting/InterviewMessages_it-B5EyMD-k.js +1 -0
  72. package/dist-embed-sighting/ModuleSession-ChJsGuTn.js +3 -0
  73. package/dist-embed-sighting/ModuleThree-whEZoXYF.js +1 -0
  74. package/dist-embed-sighting/SearchlightEditor-By5Z3ef7.js +8 -0
  75. package/dist-embed-sighting/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  76. package/dist-embed-sighting/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  77. package/dist-embed-sighting/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  78. package/dist-embed-sighting/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  79. package/dist-embed-sighting/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  80. package/dist-embed-sighting/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  81. package/dist-embed-sighting/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  82. package/dist-embed-sighting/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  83. package/dist-embed-sighting/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  84. package/dist-embed-sighting/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  85. package/dist-embed-sighting/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  86. package/dist-embed-sighting/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  87. package/dist-embed-sighting/SearchlightSystem-B2-MzG4x.js +1 -0
  88. package/dist-embed-sighting/{SightingMessages_en-sch1T1ki.js → SightingMessages_en-D3YVhgUj.js} +1 -1
  89. package/dist-embed-sighting/{SightingMessages_es-DemDEDtF.js → SightingMessages_es-ME6FeTp-.js} +1 -1
  90. package/dist-embed-sighting/{SightingMessages_fr-DskVkEj0.js → SightingMessages_fr-BgXYuIq4.js} +1 -1
  91. package/dist-embed-sighting/{SightingMessages_it-CrbYpdv8.js → SightingMessages_it-DcE90eAl.js} +1 -1
  92. package/dist-embed-sighting/rr0-sighting.mjs +412 -337
  93. package/dist-embed-sighting/sightingSchema-9MogCcUd.js +1 -0
  94. package/dist-embed-sighting-editor/{AdsbLolArchiveProvider-BqEnqRP0.js → AdsbLolArchiveProvider-CWpyBqG3.js} +1 -1
  95. package/dist-embed-sighting-editor/AirshipEditor-BvnVNcF4.js +16 -0
  96. package/dist-embed-sighting-editor/{AirshipFlight-Bh7J0sWg.js → AirshipFlight-CB1Quf68.js} +1 -1
  97. package/dist-embed-sighting-editor/Aurora-BRXvgyRM.js +1 -0
  98. package/dist-embed-sighting-editor/AuroraEditor-JQ3kRqrq.js +8 -0
  99. package/dist-embed-sighting-editor/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  100. package/dist-embed-sighting-editor/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  101. package/dist-embed-sighting-editor/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  102. package/dist-embed-sighting-editor/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  103. package/dist-embed-sighting-editor/AuroraKindMessages_en-D_W4giJa.js +1 -0
  104. package/dist-embed-sighting-editor/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  105. package/dist-embed-sighting-editor/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  106. package/dist-embed-sighting-editor/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  107. package/dist-embed-sighting-editor/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  108. package/dist-embed-sighting-editor/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  109. package/dist-embed-sighting-editor/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  110. package/dist-embed-sighting-editor/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  111. package/dist-embed-sighting-editor/AuroraSimulation-i64MFW2z.js +152 -0
  112. package/dist-embed-sighting-editor/{BallesterGuaspAssessor-BNfSwq_l.js → BallesterGuaspAssessor-BaKKAdY3.js} +1 -1
  113. package/dist-embed-sighting-editor/BalloonEditor-C2oHClW7.js +24 -0
  114. package/dist-embed-sighting-editor/{BalloonFlight-DqwGZzum.js → BalloonFlight-B9A6MoCj.js} +1 -1
  115. package/dist-embed-sighting-editor/{BeamEditor-C9VQ2YBN.js → BeamEditor-CW7mTQjS.js} +1 -1
  116. package/dist-embed-sighting-editor/BeamSystem-CSfJjLCb.js +1 -0
  117. package/dist-embed-sighting-editor/BirdEditor-BdxhCoW9.js +16 -0
  118. package/dist-embed-sighting-editor/{BirdFlock-TI63ZAKZ.js → BirdFlock-DCbrukNp.js} +1 -1
  119. package/dist-embed-sighting-editor/{BodyEditor-COLTBHzX.js → BodyEditor-DE8ZQrqe.js} +1 -1
  120. package/dist-embed-sighting-editor/{CaseElement-D_ItKhFD.js → CaseElement-C46wM-nU.js} +3 -3
  121. package/dist-embed-sighting-editor/{CaseReportExport-BSLhYJJA.js → CaseReportExport-UVrInf6H.js} +3 -3
  122. package/dist-embed-sighting-editor/{ContrailSystem-C8K88Cwo.js → ContrailSystem-CDSSxouG.js} +1 -1
  123. package/dist-embed-sighting-editor/{ControlPasses-DNMyuRwb.js → ControlPasses-CsOVa-jq.js} +1 -1
  124. package/dist-embed-sighting-editor/{CoverageAssessor-p-LX-eEi.js → CoverageAssessor-DWY_gJJX.js} +1 -1
  125. package/dist-embed-sighting-editor/{DroneEditor-v0oaeAUh.js → DroneEditor-DgeuaHdb.js} +1 -1
  126. package/dist-embed-sighting-editor/{DroneFlight-BpnBgJ9K.js → DroneFlight-CFztr-9j.js} +1 -1
  127. package/dist-embed-sighting-editor/{DroneParameters-B1oTz3dZ.js → DroneParameters-CHmDmRoC.js} +1 -1
  128. package/dist-embed-sighting-editor/{Flightradar24Provider-D5OdIL0L.js → Flightradar24Provider-e6_3o9Jf.js} +1 -1
  129. package/dist-embed-sighting-editor/{GLTFLoader-DT3hr416.js → GLTFLoader-Df-r7_lf.js} +1 -1
  130. package/dist-embed-sighting-editor/{GenerativeKitMessages-B8L7U7gD.js → GenerativeKitMessages-CmqG-T2c.js} +1 -1
  131. package/dist-embed-sighting-editor/{GeoExportTexts-DrGdI2OF.js → GeoExportTexts-Wjc5YKlM.js} +1 -1
  132. package/dist-embed-sighting-editor/{GeoJsonExport-BZ-0v8fM.js → GeoJsonExport-BSPGzTbG.js} +1 -1
  133. package/dist-embed-sighting-editor/GeographicFigures-D_TfLkj9.js +1 -0
  134. package/dist-embed-sighting-editor/{HeadlightSystem-DHoSdTng.js → HeadlightSystem-DljWmzj5.js} +1 -1
  135. package/dist-embed-sighting-editor/{HynekAssessor-ByXW15nZ.js → HynekAssessor-BCDwoOI9.js} +1 -1
  136. package/dist-embed-sighting-editor/InterviewEditorElement-KHpgfy3k.js +277 -0
  137. package/dist-embed-sighting-editor/{InterviewElement-B3tm7y49.js → InterviewElement-DDa53uMq.js} +1 -1
  138. package/dist-embed-sighting-editor/InterviewMedia-CGVsMdje.js +1 -0
  139. package/dist-embed-sighting-editor/InterviewMessages_en-BRmuWrAg.js +1 -0
  140. package/dist-embed-sighting-editor/InterviewMessages_es-BTotimwY.js +1 -0
  141. package/dist-embed-sighting-editor/InterviewMessages_fr-DBCdGB0r.js +1 -0
  142. package/dist-embed-sighting-editor/InterviewMessages_it-B5EyMD-k.js +1 -0
  143. package/dist-embed-sighting-editor/{KmlExport-Bh4eTycx.js → KmlExport-B46AfaoJ.js} +1 -1
  144. package/dist-embed-sighting-editor/LanternEditor-CkbeitJh.js +24 -0
  145. package/dist-embed-sighting-editor/{LaserBeam-iHLKAi5q.js → LaserBeam-Ber-PT8j.js} +1 -1
  146. package/dist-embed-sighting-editor/LaunchEditor-BsvHahqK.js +22 -0
  147. package/dist-embed-sighting-editor/{LaunchPlume-BJwW1kU1.js → LaunchPlume-BmPMeGMN.js} +1 -1
  148. package/dist-embed-sighting-editor/LaunchSimulation-g-ETWhEH.js +1 -0
  149. package/dist-embed-sighting-editor/ModelSource-DOUnBBhu.js +1 -0
  150. package/dist-embed-sighting-editor/{ModelThumbnails-C_8KCF7H.js → ModelThumbnails-TwG1snwZ.js} +1 -1
  151. package/dist-embed-sighting-editor/{ModelViewer-Cy-6IZBY.js → ModelViewer-Y_B6eM4z.js} +1 -1
  152. package/dist-embed-sighting-editor/ModuleConformance-CO1S9pa3.js +2 -0
  153. package/dist-embed-sighting-editor/ModuleSession-VLS0tjAb.js +3 -0
  154. package/dist-embed-sighting-editor/ModuleThree-DQ2dT7XW.js +1 -0
  155. package/dist-embed-sighting-editor/{ModulesPanelElement-B9R5rI0T.js → ModulesPanelElement--YQ0QtcW.js} +3 -3
  156. package/dist-embed-sighting-editor/{NearestApproach-pefE2Svz.js → NearestApproach-C_8Uvp6i.js} +1 -1
  157. package/dist-embed-sighting-editor/PictureRegistration-Br0xjLE2.js +1 -0
  158. package/dist-embed-sighting-editor/{PoherAssessor-BEiAV-7m.js → PoherAssessor-DtDcuhWK.js} +1 -1
  159. package/dist-embed-sighting-editor/QuestionnaireFeed-CvLtuLIH.js +1 -0
  160. package/dist-embed-sighting-editor/QuestionnaireForm-DA6LPvBt.js +1 -0
  161. package/dist-embed-sighting-editor/QuestionnaireImport-BYj5QoJS.js +5 -0
  162. package/dist-embed-sighting-editor/QuestionnaireSeal-DpZYUhnf.js +1 -0
  163. package/dist-embed-sighting-editor/{RailwaySystem-7A12KSnk.js → RailwaySystem-eT-ZKfZl.js} +1 -1
  164. package/dist-embed-sighting-editor/ReentryEditor-CW8H7KaA.js +28 -0
  165. package/dist-embed-sighting-editor/{ReentrySimulation-PK2Z7Smw.js → ReentrySimulation-DVl__RjO.js} +1 -1
  166. package/dist-embed-sighting-editor/{ReferenceSystem-Bt7l5nHl.js → ReferenceSystem-DxVYO7g9.js} +1 -1
  167. package/dist-embed-sighting-editor/{RoadMarkings-BGK7ToZP.js → RoadMarkings-DJraHdS6.js} +1 -1
  168. package/dist-embed-sighting-editor/ScenarioReadings-BYqlpLo8.js +1 -0
  169. package/dist-embed-sighting-editor/ScenarioSweep-Ddtuo_Af.js +1 -0
  170. package/dist-embed-sighting-editor/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  171. package/dist-embed-sighting-editor/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  172. package/dist-embed-sighting-editor/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  173. package/dist-embed-sighting-editor/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  174. package/dist-embed-sighting-editor/{SceneNames_en-9zK_E4jO.js → SceneNames_en-p5YNYZhA.js} +1 -1
  175. package/dist-embed-sighting-editor/{SceneNames_es-B6FtSh6r.js → SceneNames_es-DlMqYLL9.js} +1 -1
  176. package/dist-embed-sighting-editor/{SceneNames_fr-lUEwaxUk.js → SceneNames_fr-lFA7hY3x.js} +1 -1
  177. package/dist-embed-sighting-editor/{SceneNames_it-ChU8RE2E.js → SceneNames_it-CDwvX1Nw.js} +1 -1
  178. package/dist-embed-sighting-editor/SearchlightEditor-BSI8hB1V.js +8 -0
  179. package/dist-embed-sighting-editor/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  180. package/dist-embed-sighting-editor/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  181. package/dist-embed-sighting-editor/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  182. package/dist-embed-sighting-editor/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  183. package/dist-embed-sighting-editor/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  184. package/dist-embed-sighting-editor/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  185. package/dist-embed-sighting-editor/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  186. package/dist-embed-sighting-editor/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  187. package/dist-embed-sighting-editor/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  188. package/dist-embed-sighting-editor/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  189. package/dist-embed-sighting-editor/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  190. package/dist-embed-sighting-editor/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  191. package/dist-embed-sighting-editor/SearchlightSystem-DHfVi2np.js +1 -0
  192. package/dist-embed-sighting-editor/{SightingEditorMessages_en-CtZXoBSS.js → SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  193. package/{dist-embed-ufoathome/SightingEditorMessages_es-CKXlDIja.js → dist-embed-sighting-editor/SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  194. package/dist-embed-sighting-editor/{SightingEditorMessages_fr-DjP6vAKo.js → SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  195. package/{dist-embed-ufoathome/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-sighting-editor/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  196. package/dist-embed-sighting-editor/{SightingElement-BpRRhJzS.js → SightingElement-T0x4j9Zt.js} +4 -4
  197. package/dist-embed-sighting-editor/{SightingFileEditor-B7GimING.js → SightingFileEditor-Du3A9uZm.js} +1 -1
  198. package/dist-embed-sighting-editor/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  199. package/dist-embed-sighting-editor/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  200. package/dist-embed-sighting-editor/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  201. package/dist-embed-sighting-editor/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  202. package/dist-embed-sighting-editor/{SkyLantern-BDpxvmY3.js → SkyLantern-Dl4yl-lc.js} +1 -1
  203. package/dist-embed-sighting-editor/{TraceSystem-JWQpvSdA.js → TraceSystem-Dbu_bgfE.js} +2 -2
  204. package/dist-embed-sighting-editor/{UfoMessages_en-JeMK-39o.js → UfoMessages_en-BAuHAGgq.js} +1 -1
  205. package/dist-embed-sighting-editor/{VideoButton-Kxg7pF1Y.js → VideoButton-C8eRmv7A.js} +1 -1
  206. package/dist-embed-sighting-editor/{WaterSystem-DwGepfDm.js → WaterSystem-DpJCe_2Q.js} +2 -2
  207. package/dist-embed-sighting-editor/angular-size-CxoysZle.png +0 -0
  208. package/dist-embed-sighting-editor/azimuth-CvjiPmz0.png +0 -0
  209. package/dist-embed-sighting-editor/caseSchema-BEJTs2Ld.js +1 -0
  210. package/dist-embed-sighting-editor/elevation-DPr5S6Jt.png +0 -0
  211. package/dist-embed-sighting-editor/geipan-qt-2025-j-yGY7EN.js +7 -0
  212. package/dist-embed-sighting-editor/{interviewImport-BlSMFEw_.js → interviewImport-zzDGCbXd.js} +1 -1
  213. package/dist-embed-sighting-editor/{interviewJson-CsMHIcZ-.js → interviewJson-DngUPqK8.js} +1 -1
  214. package/dist-embed-sighting-editor/interviewSchema-DRWvRSL2.js +1 -0
  215. package/dist-embed-sighting-editor/protractor-DyE30B87.png +0 -0
  216. package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +522 -422
  217. package/dist-embed-sighting-editor/sightingSchema-9MogCcUd.js +1 -0
  218. package/dist-embed-sighting-editor/{surroundingsSources-z7680fTA.js → surroundingsSources-lvh4Rw5C.js} +1 -1
  219. package/dist-embed-sighting-editor/{trafficRuntime-CvK_m6bC.js → trafficRuntime-Drx7CE9H.js} +1 -1
  220. package/dist-embed-ufoathome/AdsbLolArchiveProvider-CqedGYi5.js +1 -0
  221. package/dist-embed-ufoathome/AirshipEditor-CBSrQM3J.js +16 -0
  222. package/dist-embed-ufoathome/{AirshipFlight-CX32XrkA.js → AirshipFlight-Dzpw8HRM.js} +1 -1
  223. package/dist-embed-ufoathome/Aurora-CpZx9hQ3.js +1 -0
  224. package/dist-embed-ufoathome/AuroraEditor-D2v8sWVE.js +8 -0
  225. package/dist-embed-ufoathome/AuroraEditorMessages_en-CpU3BS-B.js +1 -0
  226. package/dist-embed-ufoathome/AuroraEditorMessages_es-i8-psDHN.js +1 -0
  227. package/dist-embed-ufoathome/AuroraEditorMessages_fr-0DtPXXAs.js +1 -0
  228. package/dist-embed-ufoathome/AuroraEditorMessages_it-Dn2UHyk9.js +1 -0
  229. package/dist-embed-ufoathome/AuroraKindMessages_en-D_W4giJa.js +1 -0
  230. package/dist-embed-ufoathome/AuroraKindMessages_es-jJ5_ltZq.js +1 -0
  231. package/dist-embed-ufoathome/AuroraKindMessages_fr-6IzUVbRH.js +1 -0
  232. package/dist-embed-ufoathome/AuroraKindMessages_it-DcwuoMkp.js +1 -0
  233. package/dist-embed-ufoathome/AuroraParameterTexts_en-shkUd-dT.js +1 -0
  234. package/dist-embed-ufoathome/AuroraParameterTexts_es-CwGYyafK.js +1 -0
  235. package/dist-embed-ufoathome/AuroraParameterTexts_fr-CoJnicWs.js +1 -0
  236. package/dist-embed-ufoathome/AuroraParameterTexts_it-DHniBj_2.js +1 -0
  237. package/dist-embed-ufoathome/AuroraSimulation-DdSP66LD.js +152 -0
  238. package/dist-embed-ufoathome/BallesterGuaspAssessor-C4IktJ1l.js +1 -0
  239. package/dist-embed-ufoathome/BalloonEditor-dCIjTsIz.js +24 -0
  240. package/dist-embed-ufoathome/{BalloonFlight-DC31tnhH.js → BalloonFlight-CztT6ddg.js} +1 -1
  241. package/dist-embed-ufoathome/{BeamEditor-WKZhN3Hp.js → BeamEditor-CuW3LVO-.js} +2 -2
  242. package/dist-embed-ufoathome/BeamSystem-BPEYuCF4.js +1 -0
  243. package/dist-embed-ufoathome/BirdEditor-Dk3huwHa.js +16 -0
  244. package/dist-embed-ufoathome/{BodyEditor-uxbNOCFJ.js → BodyEditor-COMX-T65.js} +1 -1
  245. package/dist-embed-ufoathome/CaseEditorElement-C5BHP8jT.js +3173 -0
  246. package/dist-embed-ufoathome/{CaseElement-Lil-kZRm.js → CaseElement-CIZvyRVi.js} +3 -3
  247. package/dist-embed-ufoathome/{CaseReportExport-DX7PQi1u.js → CaseReportExport-BFbswUIB.js} +3 -3
  248. package/dist-embed-ufoathome/{ColumnResize-DXi_g6cq.js → ColumnResize-Dh6Xyspd.js} +6 -6
  249. package/dist-embed-ufoathome/ContrailSystem-D2AR5Zgy.js +1 -0
  250. package/dist-embed-ufoathome/ControlPasses-CnL1GmT-.js +29 -0
  251. package/dist-embed-ufoathome/CoverageAssessor-CiqUEJkN.js +1 -0
  252. package/dist-embed-ufoathome/{DroneEditor-BSYPs6jg.js → DroneEditor-D60uhSHO.js} +1 -1
  253. package/dist-embed-ufoathome/{DroneParameters-O6pYnfX7.js → DroneParameters-CfTAaLCT.js} +1 -1
  254. package/dist-embed-ufoathome/Flightradar24Provider-_tNmWf11.js +1 -0
  255. package/dist-embed-ufoathome/GLTFLoader-BLk8prLt.js +1 -0
  256. package/dist-embed-ufoathome/GeoJsonExport-DkPKk-7q.js +2 -0
  257. package/dist-embed-ufoathome/GeoProjection-DvqDbRIx.js +1 -0
  258. package/dist-embed-ufoathome/{GeographicFigures-D9njFJso.js → GeographicFigures-l-PfHdSR.js} +1 -1
  259. package/dist-embed-ufoathome/HeadlightSystem-D5-78PFB.js +34 -0
  260. package/dist-embed-ufoathome/HynekAssessor-BhnvqsYz.js +1 -0
  261. package/dist-embed-ufoathome/InterviewEditorElement-iw2lnwx8.js +277 -0
  262. package/dist-embed-ufoathome/{InterviewElement-kdRloxH-.js → InterviewElement-CuRmQ0d3.js} +2 -2
  263. package/dist-embed-ufoathome/InterviewMedia-CGVsMdje.js +1 -0
  264. package/dist-embed-ufoathome/InterviewMessages_en-BRmuWrAg.js +1 -0
  265. package/dist-embed-ufoathome/InterviewMessages_es-BTotimwY.js +1 -0
  266. package/dist-embed-ufoathome/InterviewMessages_fr-DBCdGB0r.js +1 -0
  267. package/dist-embed-ufoathome/InterviewMessages_it-B5EyMD-k.js +1 -0
  268. package/dist-embed-ufoathome/KmlExport-BUl3gOrw.js +19 -0
  269. package/dist-embed-ufoathome/LanternEditor-BapUZdog.js +24 -0
  270. package/dist-embed-ufoathome/{LaserBeam-6xHkBslk.js → LaserBeam-C7glTvQN.js} +1 -1
  271. package/dist-embed-ufoathome/LaunchEditor-DvudtAzp.js +22 -0
  272. package/dist-embed-ufoathome/{LaunchPlume-BRYgiI9s.js → LaunchPlume-CrDBzsQe.js} +1 -1
  273. package/dist-embed-ufoathome/LaunchSimulation-DyOA4lPb.js +1 -0
  274. package/dist-embed-ufoathome/ModelSource-CoT4mxTx.js +1 -0
  275. package/dist-embed-ufoathome/ModelThumbnails-t59SZ3Vn.js +1 -0
  276. package/dist-embed-ufoathome/ModelViewer-DEdruEtl.js +1 -0
  277. package/dist-embed-ufoathome/ModuleConformance-DYDAaJJQ.js +2 -0
  278. package/dist-embed-ufoathome/ModuleSession-BKDWGSEo.js +3 -0
  279. package/dist-embed-ufoathome/ModuleThree-D18Rh2Nj.js +1 -0
  280. package/dist-embed-ufoathome/{ModulesPanelElement-fUfO3DeN.js → ModulesPanelElement-N-ccpGxl.js} +3 -3
  281. package/dist-embed-ufoathome/{NearestApproach-MxAHwcUE.js → NearestApproach-Do15yfeg.js} +1 -1
  282. package/dist-embed-ufoathome/{ParameterForm-DcVFxrcO.js → ParameterForm-XbqxCLRn.js} +1 -1
  283. package/dist-embed-ufoathome/PictureRegistration-BJeiCK8A.js +1 -0
  284. package/dist-embed-ufoathome/PoherAssessor-Cs8-ZBge.js +1 -0
  285. package/dist-embed-ufoathome/QuestionnaireFeed-BfvRSPoo.js +1 -0
  286. package/dist-embed-ufoathome/QuestionnaireForm-ByFmq67M.js +1 -0
  287. package/dist-embed-ufoathome/QuestionnaireImport-Cx1dQiha.js +5 -0
  288. package/dist-embed-ufoathome/QuestionnaireSeal-DpZYUhnf.js +1 -0
  289. package/dist-embed-ufoathome/RailwaySystem-KlBj8mLP.js +41 -0
  290. package/dist-embed-ufoathome/ReentryEditor-CJUFkVFO.js +28 -0
  291. package/dist-embed-ufoathome/ReentrySimulation-B5QcdOTq.js +1 -0
  292. package/dist-embed-ufoathome/ReferenceSystem-DyzOUClN.js +1 -0
  293. package/dist-embed-ufoathome/RoadMarkings-DKUNImjj.js +1 -0
  294. package/dist-embed-ufoathome/SaidPosition-OJEYhVKN.js +4 -0
  295. package/dist-embed-ufoathome/ScenarioReadings-CfZehU_P.js +1 -0
  296. package/dist-embed-ufoathome/ScenarioSweep-CDumnmq2.js +1 -0
  297. package/dist-embed-ufoathome/ScenarioSweepMessages_en-Bf4BscDU.js +1 -0
  298. package/dist-embed-ufoathome/ScenarioSweepMessages_es-CBHQfuRB.js +1 -0
  299. package/dist-embed-ufoathome/ScenarioSweepMessages_fr-DlPsO6oI.js +1 -0
  300. package/dist-embed-ufoathome/ScenarioSweepMessages_it-DANW3_la.js +1 -0
  301. package/dist-embed-ufoathome/SearchlightEditor-CPDNpfNC.js +8 -0
  302. package/dist-embed-ufoathome/SearchlightEditorMessages_en-BWTcGHYC.js +1 -0
  303. package/dist-embed-ufoathome/SearchlightEditorMessages_es-PS4IIWFS.js +1 -0
  304. package/dist-embed-ufoathome/SearchlightEditorMessages_fr-CpaD2Il2.js +1 -0
  305. package/dist-embed-ufoathome/SearchlightEditorMessages_it-Br2IjowF.js +1 -0
  306. package/dist-embed-ufoathome/SearchlightKindMessages_en-CwJDAjsc.js +1 -0
  307. package/dist-embed-ufoathome/SearchlightKindMessages_es-CCCgZyTQ.js +1 -0
  308. package/dist-embed-ufoathome/SearchlightKindMessages_fr-DsxiUhmK.js +1 -0
  309. package/dist-embed-ufoathome/SearchlightKindMessages_it-CyWpJL5c.js +1 -0
  310. package/dist-embed-ufoathome/SearchlightParameterTexts_en-BwanYoMW.js +1 -0
  311. package/dist-embed-ufoathome/SearchlightParameterTexts_es-Cz_rg-Xe.js +1 -0
  312. package/dist-embed-ufoathome/SearchlightParameterTexts_fr-B7eZQIdG.js +1 -0
  313. package/dist-embed-ufoathome/SearchlightParameterTexts_it-BjhuOJre.js +1 -0
  314. package/dist-embed-ufoathome/SearchlightSystem-Ca0rZcXv.js +1 -0
  315. package/dist-embed-ufoathome/ShareDialogElement-CBeU9ChH.js +5182 -0
  316. package/dist-embed-ufoathome/Sighting-B7bsiTIQ.js +1 -0
  317. package/dist-embed-ufoathome/{SightingEditorMessages_en-CtZXoBSS.js → SightingEditorMessages_en-k7_ua2OM.js} +1 -1
  318. package/{dist-embed-sighting-editor/SightingEditorMessages_es-CKXlDIja.js → dist-embed-ufoathome/SightingEditorMessages_es-Drqbbr5_.js} +1 -1
  319. package/dist-embed-ufoathome/{SightingEditorMessages_fr-DjP6vAKo.js → SightingEditorMessages_fr-B_K5hsuV.js} +1 -1
  320. package/{dist-embed-sighting-editor/SightingEditorMessages_it-CxtFzCzo.js → dist-embed-ufoathome/SightingEditorMessages_it-QCLg1d7x.js} +1 -1
  321. package/dist-embed-ufoathome/{SightingElement-Ct3sIryk.js → SightingElement-BveOM4nF.js} +4 -4
  322. package/dist-embed-ufoathome/{SightingFileEditor-D1s9Dv6G.js → SightingFileEditor-DS1DRU2p.js} +1 -1
  323. package/dist-embed-ufoathome/{SightingMessages_en-CYzanHjT.js → SightingMessages_en-CzICxNU3.js} +1 -1
  324. package/dist-embed-ufoathome/{SightingMessages_es-hjvESK6f.js → SightingMessages_es-CiVFZlgA.js} +1 -1
  325. package/dist-embed-ufoathome/{SightingMessages_fr-BtfWbIP7.js → SightingMessages_fr-nopOVDa1.js} +1 -1
  326. package/dist-embed-ufoathome/{SightingMessages_it-Bqm4pewZ.js → SightingMessages_it-Cu0nnPts.js} +1 -1
  327. package/dist-embed-ufoathome/{TimelineTracks-BgZmkKhn.js → TimelineTracks-Daaqw9ly.js} +1 -1
  328. package/dist-embed-ufoathome/{TraceSystem-Bop2Zoa_.js → TraceSystem-CoHX04R3.js} +2 -2
  329. package/dist-embed-ufoathome/{UfoAtHomeMessages_en-dlx_C679.js → UfoAtHomeMessages_en-BK2qJyZN.js} +1 -1
  330. package/dist-embed-ufoathome/{UfoAtHomeMessages_es-uLOvtAD0.js → UfoAtHomeMessages_es-B1-NDCau.js} +1 -1
  331. package/dist-embed-ufoathome/{UfoAtHomeMessages_fr-LR76-eHS.js → UfoAtHomeMessages_fr-BTG047qo.js} +1 -1
  332. package/dist-embed-ufoathome/{UfoAtHomeMessages_it-CQl4uTnG.js → UfoAtHomeMessages_it-Ryxv4HNU.js} +1 -1
  333. package/dist-embed-ufoathome/VideoButton-DNQmWtfv.js +1 -0
  334. package/dist-embed-ufoathome/WaterSystem-BNxlYNtW.js +19 -0
  335. package/dist-embed-ufoathome/angular-size-CxoysZle.png +0 -0
  336. package/dist-embed-ufoathome/azimuth-CvjiPmz0.png +0 -0
  337. package/dist-embed-ufoathome/caseSchema-BEJTs2Ld.js +1 -0
  338. package/dist-embed-ufoathome/elevation-DPr5S6Jt.png +0 -0
  339. package/dist-embed-ufoathome/geipan-qt-2025-j-yGY7EN.js +7 -0
  340. package/dist-embed-ufoathome/interviewSchema-DRWvRSL2.js +1 -0
  341. package/dist-embed-ufoathome/protractor-DyE30B87.png +0 -0
  342. package/dist-embed-ufoathome/rr0-ufoathome.mjs +41 -31
  343. package/dist-embed-ufoathome/sightingSchema-9MogCcUd.js +1 -0
  344. package/dist-embed-ufoathome/surroundingsSources-C823p3dG.js +1 -0
  345. package/dist-embed-ufoathome/three.module-CbaHqYFq.js +4116 -0
  346. package/dist-embed-ufoathome/trafficRuntime-DtXb9B2f.js +2 -0
  347. package/dist-embed-ufoathome/{upperAirSources-BGuLpdwu.js → upperAirSources-BU0pD84c.js} +1 -1
  348. package/dist-embed-ufoathome/xyzImageryRaster-Dhxs0B26.js +1 -0
  349. package/package.json +4 -2
  350. package/dist-embed-interview/InterviewMessages_en-ru7GkZlQ.js +0 -1
  351. package/dist-embed-interview/InterviewMessages_es-DkJurNrG.js +0 -1
  352. package/dist-embed-interview/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  353. package/dist-embed-interview/InterviewMessages_it-6lenkmSg.js +0 -1
  354. package/dist-embed-scene/BeamSystem-BtLpnMXz.js +0 -1
  355. package/dist-embed-scene/ModuleSession-BodXzA3g.js +0 -3
  356. package/dist-embed-scene/ModuleThree-D7qc50Hj.js +0 -1
  357. package/dist-embed-scene/sightingSchema-BDxKVE3v.js +0 -1
  358. package/dist-embed-sighting/BeamSystem-DJZTpG0z.js +0 -1
  359. package/dist-embed-sighting/InterviewMessages_en-ru7GkZlQ.js +0 -1
  360. package/dist-embed-sighting/InterviewMessages_es-DkJurNrG.js +0 -1
  361. package/dist-embed-sighting/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  362. package/dist-embed-sighting/InterviewMessages_it-6lenkmSg.js +0 -1
  363. package/dist-embed-sighting/ModuleSession-BZbes53G.js +0 -3
  364. package/dist-embed-sighting/ModuleThree-CPPPDBO4.js +0 -1
  365. package/dist-embed-sighting/sightingSchema-BDxKVE3v.js +0 -1
  366. package/dist-embed-sighting-editor/AirshipEditor-rA-Sr4D1.js +0 -16
  367. package/dist-embed-sighting-editor/BalloonEditor-CPZoayzz.js +0 -24
  368. package/dist-embed-sighting-editor/BeamSystem-Br0h-uSI.js +0 -1
  369. package/dist-embed-sighting-editor/BirdEditor-CAoRqqRV.js +0 -16
  370. package/dist-embed-sighting-editor/GeographicFigures-DqhWddS9.js +0 -1
  371. package/dist-embed-sighting-editor/InterviewEditorElement-CcXO_w9X.js +0 -242
  372. package/dist-embed-sighting-editor/InterviewMedia-CvAxC62V.js +0 -1
  373. package/dist-embed-sighting-editor/InterviewMessages_en-ru7GkZlQ.js +0 -1
  374. package/dist-embed-sighting-editor/InterviewMessages_es-DkJurNrG.js +0 -1
  375. package/dist-embed-sighting-editor/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  376. package/dist-embed-sighting-editor/InterviewMessages_it-6lenkmSg.js +0 -1
  377. package/dist-embed-sighting-editor/LanternEditor-BnXAwLuQ.js +0 -24
  378. package/dist-embed-sighting-editor/LaunchEditor-f4kJ5pWG.js +0 -22
  379. package/dist-embed-sighting-editor/LaunchSimulation-B3vlOUUu.js +0 -1
  380. package/dist-embed-sighting-editor/ModelSource-D1Wt6VYS.js +0 -1
  381. package/dist-embed-sighting-editor/ModuleConformance-DF6CNBvD.js +0 -2
  382. package/dist-embed-sighting-editor/ModuleSession-BgxzArtm.js +0 -3
  383. package/dist-embed-sighting-editor/ModuleThree-DXFS5Pjb.js +0 -1
  384. package/dist-embed-sighting-editor/PictureRegistration-DBBH_E6I.js +0 -1
  385. package/dist-embed-sighting-editor/ReentryEditor-Ch9_6pS8.js +0 -28
  386. package/dist-embed-sighting-editor/caseSchema-ChUB1-9j.js +0 -1
  387. package/dist-embed-sighting-editor/interviewSchema-Dk0AWHwc.js +0 -1
  388. package/dist-embed-sighting-editor/sightingSchema-C1S-Kr9w.js +0 -1
  389. package/dist-embed-ufoathome/AdsbLolArchiveProvider-DzC2OwjF.js +0 -1
  390. package/dist-embed-ufoathome/AirshipEditor-DDmu9JT8.js +0 -16
  391. package/dist-embed-ufoathome/BallesterGuaspAssessor-Bn5TGAvJ.js +0 -1
  392. package/dist-embed-ufoathome/BalloonEditor-CGrzszk1.js +0 -24
  393. package/dist-embed-ufoathome/BeamSystem-CWJkeTmf.js +0 -1
  394. package/dist-embed-ufoathome/BirdEditor-07sg3Pt0.js +0 -16
  395. package/dist-embed-ufoathome/CaseEditorElement-DNZt-oc7.js +0 -3148
  396. package/dist-embed-ufoathome/ContrailSystem-DBPA_rNt.js +0 -1
  397. package/dist-embed-ufoathome/ControlPasses-BgvVicQS.js +0 -29
  398. package/dist-embed-ufoathome/CoverageAssessor-BiDfEPse.js +0 -1
  399. package/dist-embed-ufoathome/Flightradar24Provider-DJtlvu72.js +0 -1
  400. package/dist-embed-ufoathome/GLTFLoader-2tuw29HP.js +0 -1
  401. package/dist-embed-ufoathome/GeoJsonExport-DHZOlC4h.js +0 -2
  402. package/dist-embed-ufoathome/HeadlightSystem-h2F6DzUW.js +0 -34
  403. package/dist-embed-ufoathome/HynekAssessor-C1TFQQNc.js +0 -1
  404. package/dist-embed-ufoathome/InterviewEditorElement-BythuoeV.js +0 -242
  405. package/dist-embed-ufoathome/InterviewMedia-CvAxC62V.js +0 -1
  406. package/dist-embed-ufoathome/InterviewMessages_en-ru7GkZlQ.js +0 -1
  407. package/dist-embed-ufoathome/InterviewMessages_es-DkJurNrG.js +0 -1
  408. package/dist-embed-ufoathome/InterviewMessages_fr-DAYgf8Ms.js +0 -1
  409. package/dist-embed-ufoathome/InterviewMessages_it-6lenkmSg.js +0 -1
  410. package/dist-embed-ufoathome/KmlExport-Qih5jB1R.js +0 -19
  411. package/dist-embed-ufoathome/LanternEditor-BRqgj1S6.js +0 -24
  412. package/dist-embed-ufoathome/LaunchEditor-D5FlWL04.js +0 -22
  413. package/dist-embed-ufoathome/LaunchSimulation-DS7JtdJz.js +0 -1
  414. package/dist-embed-ufoathome/ModelSource-DQDWsfAb.js +0 -1
  415. package/dist-embed-ufoathome/ModelThumbnails-DovTOA0Y.js +0 -1
  416. package/dist-embed-ufoathome/ModelViewer-DIvwFZDg.js +0 -1
  417. package/dist-embed-ufoathome/ModuleConformance-VMgvNBlc.js +0 -2
  418. package/dist-embed-ufoathome/ModuleSession-D6wg8SbE.js +0 -3
  419. package/dist-embed-ufoathome/ModuleThree-CLkMHq_q.js +0 -1
  420. package/dist-embed-ufoathome/PictureRegistration-Dnh3w7Ph.js +0 -1
  421. package/dist-embed-ufoathome/PoherAssessor-h8_-WKIK.js +0 -1
  422. package/dist-embed-ufoathome/RailwaySystem-DZ2hctVL.js +0 -41
  423. package/dist-embed-ufoathome/ReentryEditor-DxyGO7_Z.js +0 -28
  424. package/dist-embed-ufoathome/ReentrySimulation-B55Uq-6-.js +0 -1
  425. package/dist-embed-ufoathome/ReferenceSystem-DJosChqB.js +0 -1
  426. package/dist-embed-ufoathome/RoadMarkings-DDRxawvf.js +0 -1
  427. package/dist-embed-ufoathome/SaidPosition-CXZLm-ck.js +0 -4
  428. package/dist-embed-ufoathome/ShareDialogElement--Mjaublp.js +0 -9222
  429. package/dist-embed-ufoathome/Sighting-Ch4eiBNK.js +0 -1
  430. package/dist-embed-ufoathome/VideoButton-DzEuUvRs.js +0 -1
  431. package/dist-embed-ufoathome/WaterSystem-KQAAtpYS.js +0 -19
  432. package/dist-embed-ufoathome/caseSchema-ChUB1-9j.js +0 -1
  433. package/dist-embed-ufoathome/interviewSchema-Dk0AWHwc.js +0 -1
  434. package/dist-embed-ufoathome/sightingSchema-C1S-Kr9w.js +0 -1
  435. package/dist-embed-ufoathome/surroundingsSources-LtEaPPRc.js +0 -1
  436. package/dist-embed-ufoathome/trafficRuntime-uPEasExE.js +0 -2
@@ -0,0 +1 @@
1
+ const e={title:"Title",time:"When",by:"Interviewer",medium:"Medium",witness:"Witness",witnessNone:"—",summary:"Description",transcript:"Transcript",transcriptHint:"Address of the anonymised transcript file (optional)",summaryTab:"Summary",fileTab:"File",importFile:"Load a file",importFileHint:"JSON, text, WebVTT, SRT; a filled questionnaire (JSON, CSV, text) when the medium is Questionnaire: each field becomes a question and its answer",inputFileFromFile:"from your disk",inputFileFromUrl:"from an address",inputFileModeHint:"Click to give it the other way: a file of yours, or an address",inputFileLoad:"Load",saveButton:"Save",loading:"Loading the transcript…",invalid:"This text is not valid JSON yet: the interview keeps the last transcript it understood.",notATranscript:"That file is not an interview transcript (it has no segments).",questionnaireTab:"Questionnaire",questionnaire:{intro:"Fill in the {title}: each answer is kept as the witness's words, and a question left empty stays unanswered.",source:"The questionnaire as {publisher} publishes it",other:"Other questions",required:"Asked of every witness",precise:"precise",imprecise:"imprecise",preciseHint:"Say it in your own words instead: a rough date or time, or one you are not sure of",impreciseHint:"Pick an exact date or time instead",impreciseDate:"e.g. early July 1965, a Saturday, I'm not sure of the day",impreciseTime:"e.g. around 9 pm, shortly after sunset",confidentialSealed:"Confidential: sealed for {name}, who alone can read it; it is in no file in clear.",confidentialSealedBefore:"An answer sealed for {name} has been given already: it cannot be shown again, and writing another replaces it.",confidentialNowhere:"Confidential: this case names no recipient to seal it for, so it is kept in no file."},feed:"Set in the observation",feedHint:"What the answers say of when, how long, the colour and where it was in the sky is set in the witness's observation, each value citing its answer",fed:"{n} values set in the observation, each citing its answer.",fedNothing:"Nothing in the answers the observation can be given yet (date, time, duration, colour, direction, height).",unknownQuestionnaire:"The questionnaire {id} is not one this version knows: its questions are shown as the interview has them.",notAQuestionnaire:"That file holds no field of a questionnaire (a question and its answer).",loadFailed:"That transcript could not be read.",editorLabel:"Interview transcript as JSON",byHint:"RR0 people ids, separated by commas",exchangesTab:"Exchanges",exchangesEmpty:"Nothing was said yet.",redacted:"Passage removed",colon:": ",proofreadAll:"Proofread by everyone.",proofreadPending:"Not proofread yet by: {names}",play:"Play",pause:"Pause",recordings:"Recordings ({n})",recordingsTitle:"Recordings",recordingKind:"Type",recordingAudio:"Audio",recordingVideo:"Video",recordingFile:"File",recordingOffset:"Offset",recordingRemove:"Remove",recordingAdd:"Add a recording",recordingAddFirst:"Give the file of the recording above first",close:"Close",noRecording:"No recording: add the audio or video file of the interview to listen to it.",redactSelection:"Take out the selection",redactedWords:"passage taken out · {n} word(s)",sealOpen:"Open with {name}",sealOpened:"Confidential, read with {name}: kept in this page only, never written.",sealFailed:"This key does not open this answer: it was sealed for another.",redactAll:"Take all out",redactRestore:"Restore",restoreAll:"Restore all",editTurn:"Edit",deleteTurn:"Delete this turn",saveTurn:"Save",cancelTurn:"Cancel",turnEditHint:"⟦ … ⟧ marks a passage taken out",selectionOnePassage:"The selection has to stay within one passage not taken out.",reviewedBy:"{name} has proofread",linkMoment:"Link to a moment…",momentLabel:"Moment {k} · {text}",unlinkMoment:"Remove this link",noMoments:"The observation has no named moment yet.",redactReasonLabel:"Reason",redactReasonHint:"Said of every passage taken out next: the reader of the published interview sees it in the passage's place",redactReasons:["private life","identifying detail","off topic","recognition error"],redactReason:"taken out at proofreading",roles:{interviewer:"Interviewer",interviewee:"Interviewee",witness:"Witness",unattributed:"Voice to attribute"},transcribe:"Transcribe the recording",transcribeWith:"with",transcribeHint:"Turns the interview's recording into turns of speech, with their times. Whose each voice is stays to say, turn by turn (Who speaks), then to have proofread.",transcribeLocal:"Nothing leaves your computer. The first time, the model (about {mb} MB) is downloaded, then kept by the browser.",transcribeSends:"The recording will be sent to {name} to be transcribed.",transcribeReplaces:"The current transcript will be replaced.",transcribeNoRecording:"There is no recording of the interview yet: the button opens the window where you add it.",transcribeKey:"Key",transcribeKeyGet:"get a key",transcribeKeyHint:"Kept in memory until the page is reloaded, never stored",transcribeReading:"Reading the recording…",transcribeLoading:"Downloading the model: {loaded} of {total} MB",transcribeLoadingSoFar:"Downloading the model: {loaded} MB",transcribeSending:"Sending the recording to {name}…",transcribeWaiting:"{name} is transcribing the recording…",transcribeProgress:"Transcribing: {done} of {total}",transcribeStop:"Stop",transcribeDone:"Transcribed by {engine}. Say whose each voice is (Who speaks), then have it proofread.",transcribeStopped:"Transcription stopped: nothing was changed.",transcribeErrors:{noKey:"Type your key for this service first.",key:"The service refused the key.",rateLimited:"The service asks to wait (its quota is reached): try again later.",tooLarge:"The recording is too large to be read in the page: give its audio alone.",unsupported:"This browser cannot run the transcription.",failed:"The transcription failed: {detail}"},voiceNamed:"Voice {name}",whoSpeaks:"Who speaks…"};export{e as interviewMessages_en};
@@ -0,0 +1 @@
1
+ const e={title:"Título",time:"Fecha",by:"Entrevistador",medium:"Medio",witness:"Testigo",witnessNone:"—",summary:"Descripción",transcript:"Transcripción",transcriptHint:"Dirección del archivo de transcripción anonimizada (opcional)",summaryTab:"Resumen",fileTab:"Archivo",importFile:"Cargar un archivo",importFileHint:"JSON, texto, WebVTT, SRT; un cuestionario rellenado (JSON, CSV, texto) si el medio es Cuestionario: cada campo pasa a ser una pregunta y su respuesta",inputFileFromFile:"desde su disco",inputFileFromUrl:"desde una dirección",inputFileModeHint:"Pulsar para darlo de la otra forma: un archivo suyo o una dirección",inputFileLoad:"Cargar",saveButton:"Guardar",loading:"Cargando la transcripción…",invalid:"Este texto aún no es JSON válido: la entrevista conserva la última transcripción que entendió.",notATranscript:"Ese archivo no es una transcripción de entrevista (no tiene turnos de palabra).",questionnaireTab:"Cuestionario",questionnaire:{intro:"Rellene el {title}: cada respuesta se guarda con las palabras del testigo, y una pregunta dejada vacía queda sin respuesta.",source:"El cuestionario tal como lo publica {publisher}",other:"Otras preguntas",required:"Se pregunta a todo testigo",precise:"precisa",imprecise:"imprecisa",preciseHint:"Decirla mejor con sus palabras: una fecha o una hora aproximada, o de la que no está seguro",impreciseHint:"Elegir mejor una fecha o una hora exacta",impreciseDate:"p. ej. a principios de julio de 1965, un sábado, no estoy seguro del día",impreciseTime:"p. ej. hacia las 21 h, poco después de la puesta del sol",confidentialSealed:"Confidencial: sellada para {name}, el único que puede leerla; no figura en claro en ningún archivo.",confidentialSealedBefore:"Ya se dio una respuesta sellada para {name}: no puede volver a mostrarse, y escribir otra la sustituye.",confidentialNowhere:"Confidencial: este caso no nombra ningún destinatario para quien sellarla, así que no se guarda en ningún archivo."},feed:"Pasar a la observación",feedHint:"Lo que las respuestas dicen del momento, la duración, el color y la posición en el cielo se pasa a la observación del testigo, cada valor citando su respuesta",fed:"{n} valores pasados a la observación, cada uno citando su respuesta.",fedNothing:"Nada en las respuestas puede pasarse aún a la observación (fecha, hora, duración, color, dirección, altura).",unknownQuestionnaire:"El cuestionario {id} no es uno que esta versión conozca: sus preguntas se muestran tal como las tiene la entrevista.",notAQuestionnaire:"Ese archivo no contiene ningún campo de cuestionario (una pregunta y su respuesta).",loadFailed:"No se pudo leer esa transcripción.",editorLabel:"Transcripción de la entrevista en JSON",byHint:"Identificadores de personas de RR0, separados por comas",exchangesTab:"Intercambios",exchangesEmpty:"Todavía no se ha dicho nada.",redacted:"Pasaje eliminado",colon:": ",proofreadAll:"Revisado por todos.",proofreadPending:"Aún no revisado por: {names}",play:"Reproducir",pause:"Pausa",recordings:"Grabaciones ({n})",recordingsTitle:"Grabaciones",recordingKind:"Tipo",recordingAudio:"Audio",recordingVideo:"Vídeo",recordingFile:"Archivo",recordingOffset:"Desfase",recordingRemove:"Quitar",recordingAdd:"Añadir una grabación",recordingAddFirst:"Indique primero el archivo de la grabación de arriba",close:"Cerrar",noRecording:"Sin grabación: añada el archivo de audio o vídeo de la entrevista para poder escucharla.",redactSelection:"Retirar la selección",redactedWords:"pasaje retirado · {n} palabra(s)",sealOpen:"Abrir con {name}",sealOpened:"Confidencial, leída con {name}: se guarda solo en esta página, nunca se escribe.",sealFailed:"Esta clave no abre esta respuesta: se selló para otra.",redactAll:"Retirar todo",redactRestore:"Restablecer",restoreAll:"Restablecer todo",editTurn:"Modificar",deleteTurn:"Eliminar este turno de palabra",saveTurn:"Guardar",cancelTurn:"Cancelar",turnEditHint:"⟦ … ⟧ marca un pasaje retirado",selectionOnePassage:"La selección debe caber en un solo pasaje no retirado.",reviewedBy:"{name} ha revisado",linkMoment:"Vincular a un momento…",momentLabel:"Momento {k} · {text}",unlinkMoment:"Quitar este vínculo",noMoments:"La observación aún no tiene momentos con nombre.",redactReasonLabel:"Motivo",redactReasonHint:"Se dice de cada pasaje retirado a continuación: el lector de la entrevista publicada lo ve en lugar del pasaje",redactReasons:["vida privada","dato que identifica","fuera de tema","error de reconocimiento"],redactReason:"retirado en la revisión",roles:{interviewer:"Entrevistador",interviewee:"Entrevistado",witness:"Testigo",unattributed:"Voz por atribuir"},transcribe:"Transcribir la grabación",transcribeWith:"con",transcribeHint:"Convierte la grabación de la entrevista en turnos de palabra, con sus tiempos. De quién es cada voz queda por decir, turno por turno (Quién habla), y luego por hacer revisar.",transcribeLocal:"Nada sale de su ordenador. La primera vez, el modelo (unos {mb} MB) se descarga y el navegador lo conserva.",transcribeSends:"La grabación se enviará a {name} para ser transcrita.",transcribeReplaces:"La transcripción actual será reemplazada.",transcribeNoRecording:"La entrevista aún no tiene grabación: el botón abre la ventana donde añadirla.",transcribeKey:"Clave",transcribeKeyGet:"obtener una clave",transcribeKeyHint:"Se guarda en memoria hasta que se recarga la página, nunca se almacena",transcribeReading:"Leyendo la grabación…",transcribeLoading:"Descargando el modelo: {loaded} de {total} MB",transcribeLoadingSoFar:"Descargando el modelo: {loaded} MB",transcribeSending:"Enviando la grabación a {name}…",transcribeWaiting:"{name} transcribe la grabación…",transcribeProgress:"Transcribiendo: {done} de {total}",transcribeStop:"Detener",transcribeDone:"Transcrito por {engine}. Indique de quién es cada voz (Quién habla) y luego hágalo revisar.",transcribeStopped:"Transcripción detenida: no se ha cambiado nada.",transcribeErrors:{noKey:"Escriba primero su clave para este servicio.",key:"El servicio rechazó la clave.",rateLimited:"El servicio pide esperar (cuota alcanzada): inténtelo más tarde.",tooLarge:"La grabación es demasiado grande para leerse en la página: proporcione solo su audio.",unsupported:"Este navegador no puede ejecutar la transcripción.",failed:"La transcripción ha fallado: {detail}"},voiceNamed:"Voz {name}",whoSpeaks:"Quién habla…"};export{e as interviewMessages_es};
@@ -0,0 +1 @@
1
+ const e={title:"Titre",time:"Date",by:"Enquêteur",medium:"Moyen",witness:"Témoin",witnessNone:"—",summary:"Description",transcript:"Transcription",transcriptHint:"Adresse du fichier de transcription anonymisée (facultative)",summaryTab:"Résumé",fileTab:"Fichier",importFile:"Charger un fichier",importFileHint:"JSON, texte, WebVTT, SRT ; un questionnaire rempli (JSON, CSV, texte) si le moyen est Questionnaire : chaque champ devient une question et sa réponse",inputFileFromFile:"depuis votre disque",inputFileFromUrl:"depuis une adresse",inputFileModeHint:"Cliquer pour le donner autrement : un fichier à vous, ou une adresse",inputFileLoad:"Charger",saveButton:"Sauver",loading:"Chargement de la transcription…",invalid:"Ce texte n'est pas encore du JSON valide : l'interview garde la dernière transcription qu'elle a comprise.",notATranscript:"Ce fichier n'est pas une transcription d'interview (il n'a pas de tours de parole).",questionnaireTab:"Questionnaire",questionnaire:{intro:"Remplissez le {title} : chaque réponse est gardée dans les mots du témoin, et une question laissée vide reste sans réponse.",source:"Le questionnaire tel que le publie {publisher}",other:"Autres questions",required:"Demandé à tout témoin",precise:"précise",imprecise:"imprécise",preciseHint:"La dire plutôt dans vos mots : une date ou une heure approximative, ou dont vous n'êtes pas sûr",impreciseHint:"Choisir plutôt une date ou une heure exacte",impreciseDate:"ex. début juillet 1965, un samedi, je ne suis pas sûr du jour",impreciseTime:"ex. vers 21 h, peu après le coucher du soleil",confidentialSealed:"Confidentielle : scellée pour {name}, qui seul peut la lire ; elle ne figure en clair dans aucun fichier.",confidentialSealedBefore:"Une réponse scellée pour {name} a déjà été donnée : elle ne peut plus être affichée, et en écrire une autre la remplace.",confidentialNowhere:"Confidentielle : ce dossier ne nomme aucun destinataire pour qui la sceller, elle n'est donc gardée dans aucun fichier."},feed:"Reporter dans l'observation",feedHint:"Ce que les réponses disent du moment, de la durée, de la couleur et de la position dans le ciel est reporté dans l'observation du témoin, chaque valeur citant sa réponse",fed:"{n} valeurs reportées dans l'observation, chacune citant sa réponse.",fedNothing:"Rien dans les réponses ne peut encore être reporté dans l'observation (date, heure, durée, couleur, direction, hauteur).",unknownQuestionnaire:"Le questionnaire {id} n'est pas connu de cette version : ses questions sont montrées telles que l'interview les a.",notAQuestionnaire:"Ce fichier ne contient aucun champ de questionnaire (une question et sa réponse).",loadFailed:"Cette transcription n'a pas pu être lue.",editorLabel:"Transcription de l'interview en JSON",byHint:"Identifiants de personnes RR0, séparés par des virgules",exchangesTab:"Échanges",exchangesEmpty:"Rien n'a encore été dit.",redacted:"Passage retiré",colon:" : ",proofreadAll:"Relu par tous les participants.",proofreadPending:"Pas encore relu par : {names}",play:"Lecture",pause:"Pause",recordings:"Enregistrements ({n})",recordingsTitle:"Enregistrements",recordingKind:"Type",recordingAudio:"Audio",recordingVideo:"Vidéo",recordingFile:"Fichier",recordingOffset:"Décalage",recordingRemove:"Retirer",recordingAdd:"Ajouter un enregistrement",recordingAddFirst:"Donnez d'abord le fichier de l'enregistrement ci-dessus",close:"Fermer",noRecording:"Aucun enregistrement : ajoutez le fichier audio ou vidéo de l'entretien pour pouvoir l'écouter.",redactSelection:"Retirer la sélection",redactedWords:"passage retiré · {n} mot(s)",sealOpen:"Ouvrir avec {name}",sealOpened:"Confidentielle, lue avec {name} : gardée dans cette page seulement, jamais écrite.",sealFailed:"Cette clé n'ouvre pas cette réponse : elle a été scellée pour une autre.",redactAll:"Retirer tout",redactRestore:"Rétablir",restoreAll:"Rétablir tout",editTurn:"Modifier",deleteTurn:"Supprimer ce tour de parole",saveTurn:"Enregistrer",cancelTurn:"Annuler",turnEditHint:"⟦ … ⟧ marque un passage retiré",selectionOnePassage:"La sélection doit tenir dans un seul passage non retiré.",reviewedBy:"{name} a relu",linkMoment:"Relier à un moment…",momentLabel:"Moment {k} · {text}",unlinkMoment:"Retirer ce lien",noMoments:"L'observation n'a pas encore de moment nommé.",redactReasonLabel:"Raison",redactReasonHint:"Dite de chaque passage retiré ensuite : le lecteur de l'interview publiée la voit à la place du passage",redactReasons:["vie privée","détail qui identifie","hors sujet","erreur de reconnaissance"],redactReason:"retiré à la relecture",roles:{interviewer:"Intervieweur",interviewee:"Interviewé",witness:"Témoin",unattributed:"Voix à attribuer"},transcribe:"Transcrire l'enregistrement",transcribeWith:"avec",transcribeHint:"Fait de l'enregistrement de l'entretien des tours de parole, avec leurs instants. À qui est chaque voix reste à dire, tour par tour (Qui parle), puis à faire relire.",transcribeLocal:"Rien ne quitte votre ordinateur. La première fois, le modèle (environ {mb} Mo) est téléchargé, puis gardé par le navigateur.",transcribeSends:"L'enregistrement sera envoyé à {name} pour être transcrit.",transcribeReplaces:"La transcription actuelle sera remplacée.",transcribeNoRecording:"L'interview n'a pas encore d'enregistrement : le bouton ouvre la fenêtre où l'ajouter.",transcribeKey:"Clé",transcribeKeyGet:"obtenir une clé",transcribeKeyHint:"Gardée en mémoire jusqu'au rechargement de la page, jamais enregistrée",transcribeReading:"Lecture de l'enregistrement…",transcribeLoading:"Téléchargement du modèle : {loaded} sur {total} Mo",transcribeLoadingSoFar:"Téléchargement du modèle : {loaded} Mo",transcribeSending:"Envoi de l'enregistrement à {name}…",transcribeWaiting:"{name} transcrit l'enregistrement…",transcribeProgress:"Transcription : {done} sur {total}",transcribeStop:"Arrêter",transcribeDone:"Transcrit par {engine}. Dites à qui est chaque voix (Qui parle), puis faites relire.",transcribeStopped:"Transcription arrêtée : rien n'a été changé.",transcribeErrors:{noKey:"Saisissez d'abord votre clé pour ce service.",key:"Le service a refusé la clé.",rateLimited:"Le service demande d'attendre (quota atteint) : réessayez plus tard.",tooLarge:"L'enregistrement est trop gros pour être lu dans la page : donnez-en l'audio seul.",unsupported:"Ce navigateur ne peut pas faire tourner la transcription.",failed:"La transcription a échoué : {detail}"},voiceNamed:"Voix {name}",whoSpeaks:"Qui parle…"};export{e as interviewMessages_fr};
@@ -0,0 +1 @@
1
+ const e={title:"Titolo",time:"Data",by:"Intervistatore",medium:"Mezzo",witness:"Testimone",witnessNone:"—",summary:"Descrizione",transcript:"Trascrizione",transcriptHint:"Indirizzo del file di trascrizione anonimizzata (facoltativo)",summaryTab:"Riepilogo",fileTab:"File",importFile:"Carica un file",importFileHint:"JSON, testo, WebVTT, SRT; un questionario compilato (JSON, CSV, testo) se il mezzo è Questionario: ogni campo diventa una domanda e la sua risposta",inputFileFromFile:"dal proprio disco",inputFileFromUrl:"da un indirizzo",inputFileModeHint:"Fare clic per darlo nell'altro modo: un proprio file o un indirizzo",inputFileLoad:"Carica",saveButton:"Salva",loading:"Caricamento della trascrizione…",invalid:"Questo testo non è ancora JSON valido: l'intervista conserva l'ultima trascrizione che ha capito.",notATranscript:"Quel file non è una trascrizione di intervista (non ha turni di parola).",questionnaireTab:"Questionario",questionnaire:{intro:"Compili il {title}: ogni risposta è conservata con le parole del testimone, e una domanda lasciata vuota resta senza risposta.",source:"Il questionario come lo pubblica {publisher}",other:"Altre domande",required:"Chiesto a ogni testimone",precise:"precisa",imprecise:"imprecisa",preciseHint:"Dirla piuttosto con parole sue: una data o un'ora approssimativa, o di cui non è sicuro",impreciseHint:"Scegliere piuttosto una data o un'ora esatta",impreciseDate:"es. inizio luglio 1965, un sabato, non sono sicuro del giorno",impreciseTime:"es. verso le 21, poco dopo il tramonto",confidentialSealed:"Riservata: sigillata per {name}, l'unico che può leggerla; non compare in chiaro in nessun file.",confidentialSealedBefore:"Una risposta sigillata per {name} è già stata data: non può più essere mostrata, e scriverne un'altra la sostituisce.",confidentialNowhere:"Riservata: questo caso non nomina alcun destinatario per cui sigillarla, quindi non è conservata in nessun file."},feed:"Riporta nell'osservazione",feedHint:"Ciò che le risposte dicono del momento, della durata, del colore e della posizione nel cielo è riportato nell'osservazione del testimone, ogni valore citando la sua risposta",fed:"{n} valori riportati nell'osservazione, ciascuno citando la sua risposta.",fedNothing:"Nulla nelle risposte può ancora essere riportato nell'osservazione (data, ora, durata, colore, direzione, altezza).",unknownQuestionnaire:"Il questionario {id} non è noto a questa versione: le sue domande sono mostrate come le ha l'intervista.",notAQuestionnaire:"Quel file non contiene alcun campo di questionario (una domanda e la sua risposta).",loadFailed:"Impossibile leggere quella trascrizione.",editorLabel:"Trascrizione dell'intervista in JSON",byHint:"Identificatori di persone RR0, separati da virgole",exchangesTab:"Scambi",exchangesEmpty:"Non è stato ancora detto nulla.",redacted:"Passaggio rimosso",colon:": ",proofreadAll:"Rivisto da tutti.",proofreadPending:"Non ancora rivisto da: {names}",play:"Riproduci",pause:"Pausa",recordings:"Registrazioni ({n})",recordingsTitle:"Registrazioni",recordingKind:"Tipo",recordingAudio:"Audio",recordingVideo:"Video",recordingFile:"File",recordingOffset:"Scarto",recordingRemove:"Rimuovi",recordingAdd:"Aggiungi una registrazione",recordingAddFirst:"Indichi prima il file della registrazione qui sopra",close:"Chiudi",noRecording:"Nessuna registrazione: aggiungi il file audio o video dell'intervista per poterla ascoltare.",redactSelection:"Rimuovi la selezione",redactedWords:"passaggio rimosso · {n} parola/e",sealOpen:"Aprire con {name}",sealOpened:"Riservata, letta con {name}: conservata solo in questa pagina, mai scritta.",sealFailed:"Questa chiave non apre questa risposta: è stata sigillata per un'altra.",redactAll:"Rimuovi tutto",redactRestore:"Ripristina",restoreAll:"Ripristina tutto",editTurn:"Modifica",deleteTurn:"Elimina questo turno",saveTurn:"Salva",cancelTurn:"Annulla",turnEditHint:"⟦ … ⟧ indica un passaggio rimosso",selectionOnePassage:"La selezione deve restare in un solo passaggio non rimosso.",reviewedBy:"{name} ha riletto",linkMoment:"Collega a un momento…",momentLabel:"Momento {k} · {text}",unlinkMoment:"Rimuovi questo collegamento",noMoments:"L'osservazione non ha ancora momenti con nome.",redactReasonLabel:"Motivo",redactReasonHint:"Detto di ogni passaggio rimosso in seguito: il lettore dell'intervista pubblicata lo vede al posto del passaggio",redactReasons:["vita privata","dettaglio che identifica","fuori tema","errore di riconoscimento"],redactReason:"rimosso in rilettura",roles:{interviewer:"Intervistatore",interviewee:"Intervistato",witness:"Testimone",unattributed:"Voce da attribuire"},transcribe:"Trascrivi la registrazione",transcribeWith:"con",transcribeHint:"Trasforma la registrazione dell'intervista in turni di parola, con i loro tempi. Di chi sia ogni voce resta da dire, turno per turno (Chi parla), e poi da far rileggere.",transcribeLocal:"Nulla lascia il tuo computer. La prima volta il modello (circa {mb} MB) viene scaricato e poi conservato dal browser.",transcribeSends:"La registrazione sarà inviata a {name} per essere trascritta.",transcribeReplaces:"La trascrizione attuale sarà sostituita.",transcribeNoRecording:"L'intervista non ha ancora una registrazione: il pulsante apre la finestra dove aggiungerla.",transcribeKey:"Chiave",transcribeKeyGet:"ottieni una chiave",transcribeKeyHint:"Tenuta in memoria fino al ricaricamento della pagina, mai salvata",transcribeReading:"Lettura della registrazione…",transcribeLoading:"Download del modello: {loaded} di {total} MB",transcribeLoadingSoFar:"Download del modello: {loaded} MB",transcribeSending:"Invio della registrazione a {name}…",transcribeWaiting:"{name} trascrive la registrazione…",transcribeProgress:"Trascrizione: {done} di {total}",transcribeStop:"Interrompi",transcribeDone:"Trascritto da {engine}. Indica di chi è ogni voce (Chi parla), poi fai rileggere.",transcribeStopped:"Trascrizione interrotta: non è stato cambiato nulla.",transcribeErrors:{noKey:"Inserisci prima la tua chiave per questo servizio.",key:"Il servizio ha rifiutato la chiave.",rateLimited:"Il servizio chiede di attendere (quota raggiunta): riprova più tardi.",tooLarge:"La registrazione è troppo grande per essere letta nella pagina: fornisci solo il suo audio.",unsupported:"Questo browser non può eseguire la trascrizione.",failed:"La trascrizione non è riuscita: {detail}"},voiceNamed:"Voce {name}",whoSpeaks:"Chi parla…"};export{e as interviewMessages_it};
@@ -1,4 +1,4 @@
1
- class C extends Error{}class ne{constructor(t){this.name=t}validate(t){return!0}}class vn extends ne{min;max;constructor(t,e,n){super(t),this.min=e,this.max=n}validate(t){if(typeof t!="number")throw new C(`${this.name} value must be a number, but was ${t}`);if(t<this.min||t>this.max)throw new C(`${this.name} value must be >= ${this.min} and <= ${this.max}, but was ${t}`);return super.validate(t)}}class N{name;min;max;duration;subUnit;validator;constructor(t,e,n,r,o=new vn(t,e,n)){this.name=t,this.min=e,this.max=n,this.subUnit=r,this.duration=r?(r.max-r.min+1)*r.duration:1,this.validator=o}validate(t){return this.validator.validate(t)}[Symbol.iterator](){let t=this.min;return{next:()=>{const e={done:t>this.max,value:t};return t++,e}}}}class ye{millisecond;second;minute;hour;day;month;year}class Un extends ye{}class An extends Un{millisecond=new N("millisecond",0,999,void 0);second=new N("second",0,59,this.millisecond);minute=new N("minute",0,59,this.second);hour=new N("hour",0,23,this.minute);day=new N("day",1,31,this.hour);month=new N("month",1,12,this.day);year=new N("year",0,9999,this.month)}const l=new An;class kn extends vn{constructor(t=1,e=12){super("month",t,e)}}class gt extends N{static Month28=new gt(28);static Month29=new gt(29);static ThirtyDays=new gt(30);static ThirtyOneDays=new gt(31);constructor(t,e=new kn(1,t)){super("month",1,t,l.day,e)}static create(t,e){switch(t){case 1:case 3:case 5:case 7:case 8:case 10:case 12:return this.ThirtyOneDays;case 2:return e%4===0?this.Month29:this.Month28;case 4:case 6:case 9:case 11:return this.ThirtyDays;default:throw new C("Unsupported month",t,e)}}}class H{static instance=new H;render(t){return t.value.toString()}}class I{unit;#t;constructor(t,e){this.unit=e,this.value=typeof t=="number"?t:t.value}get value(){return this.#t}set value(t){this.unit.validate(t),this.#t=t}get duration(){return this.value*this.unit.duration}#e(t){if(this.constructor.name!==t.constructor.name)throw new ne(`${this.unit.name} "${this.toString()}" cannot be compared with ${t.unit?.name} "${t.toString()}"`)}compare(t){return this.#e(t),this.value-t.value}isEqual(t){return this.compare(t)===0}isBefore(t){return this.compare(t)<0}isAfter(t){return this.compare(t)>0}previous(t=this.unit){const e=this.value-1;return new this.constructor(e,t)}next(t=this.unit){const e=this.value+1;return new this.constructor(e,t)}toString(t=H.instance){return t.render(this)}toSpec(){return{value:this.value}}toJSON(){return this.toSpec()}}class d{static#t=new Map;static register(t,e){d.#t.set(t,e)}static get(t){const e=d.#t.get(t);if(!e)throw new C(`No default parser registered for ${t.name}: import "@rr0/time/defaults" or pass a parser to fromString()`);return e()}}class bt extends I{constructor(t=new Date().getFullYear(),e=l.year){super(t,e)}static fromString(t,e=d.get(bt)){return new bt(e.parse(t))}}class W extends H{static default=new W("0",2);constructor(t,e){super(),this.char=t,this.size=e}render(t){return super.render(t).padStart(this.size,this.char)}}class Gt extends I{constructor(t=new Date().getMonth()+1,e=l.month){super(t,e)}static fromString(t,e=d.get(Gt)){return new Gt(e.parse(t))}toString(t=W.default){return super.toString(t)}}class xt extends I{constructor(t=new Date().getDate(),e=l.day){super(t,e)}static fromString(t,e=d.get(xt)){const n=e.parse(t);return new xt(n)}toString(t=W.default){return super.toString(t)}}class Nt extends I{constructor(t=new Date().getHours(),e=l.hour){super(t,e)}static fromString(t,e=d.get(Nt)){return new Nt(e.parse(t))}toString(t=W.default){return super.toString(t)}}class Et extends I{constructor(t=new Date().getMinutes(),e=l.minute){super(t,e)}static fromString(t,e=d.get(Et)){return new Et(e.parse(t))}toString(t=W.default){return super.toString(t)}}class Tt extends I{constructor(t=new Date().getSeconds(),e=l.second){super(t,e)}static fromString(t,e=d.get(Tt)){return new Tt(e.parse(t),l.second)}toString(t=W.default){return super.toString(t)}}class ct extends I{static renderer=new W("0",3);constructor(t,e=l.millisecond){super(t,e)}static parseFraction(t){return parseInt(t.padEnd(3,"0").substring(0,3),10)}toString(t=ct.renderer){return super.toString(t)}}class zn{render(t){return t.toString()}}class Cn extends zn{render(t){const e=t.value,n=Math.abs(e),r=Math.floor(n/60),o=n%60;if(r===0&&o===0)return"Z";{const a=e<0?"-":"+",u=r.toString().padStart(2,"0"),p=o>0?":"+o.toString().padEnd(2,"0"):"";return a+u+p}}}class ut{value;name="timeshift";renderer;constructor(t=0){this.value=t}static fromString(t,e=d.get(ut),n=void 0){const r=e.parse(t,n);return new ut(r)}toString(t=new Cn){return t.render(this)}toSpec(){return{value:this.value}}toJSON(){return this.toSpec()}}class V{static timeshift(t,e){return t+(V.isDaylight(e)?60:0)}static isDaylight(t){const{year:e,month:n,day:r}=t,o=t.hour??12;if(![e,n,r].every(Number.isInteger))throw new RangeError("Daylight saving time depends on the year, month and day");const a=V.rule(e);if(!a)return!1;const u=V.rank(n,r,o);return u>=V.rank(a.start.month,a.start.day,2)&&u<V.rank(a.end.month,a.end.day,2)}static rule(t){if(t<1967)return;const e={month:10,day:V.sunday(t,10,-1)};return t>=2007?{start:{month:3,day:V.sunday(t,3,2)},end:{month:11,day:V.sunday(t,11,1)}}:t>=1987?{start:{month:4,day:V.sunday(t,4,1)},end:e}:t===1975?{start:{month:2,day:23},end:e}:t===1974?{start:{month:1,day:6},end:e}:{start:{month:4,day:V.sunday(t,4,-1)},end:e}}static sunday(t,e,n){const r=new Date(Date.UTC(2e3,e-1,1));r.setUTCFullYear(t);const o=1+(7-r.getUTCDay())%7;if(n>0)return o+7*(n-1);const a=[31,V.isLeap(t)?29:28,31,30,31,30,31,31,30,31,30,31][e-1];let u=o;for(;u+7<=a;)u+=7;return u}static isLeap(t){return t%4===0&&(t%100!==0||t%400===0)}static rank(t,e,n){return(t*100+e)*100+n}}const Bn={name:"PST",timeshift:"-08",title:"Pacific Standard Time (US)"},qn={name:"PDT",timeshift:"-07",title:"Pacific Daylight Time (US)"},Hn={name:"MDT",timeshift:"-06",title:"Mountain Standard Time (US)"},Yn={name:"MST",timeshift:"-07",title:"Mountain Daylight Time (US)"},Xn={name:"PT",timeshift:s=>V.timeshift(-480,s),title:"Pacific Time (US)"},Wn={name:"MT",timeshift:s=>V.timeshift(-420,s),title:"Mountain Time (US)"},Jn={name:"CT",timeshift:s=>V.timeshift(-360,s),title:"Central Time (US)"},Kn={name:"ET",timeshift:s=>V.timeshift(-300,s),title:"Eastern Time (US)"},On={name:"CWT",timeshift:"-05",title:"Central War Time (US)"},Zn={name:"CDT",timeshift:"-05",title:"Central Daylight Time"},Qn={name:"EST",timeshift:"-05",title:"Eastern Standard Time (US)"},Dn={name:"EDT",timeshift:"-04",title:"Eastern Time (US)"},Pn={name:"AST",timeshift:"-04",title:"Atlantic Standard Time (US)"},Ln={name:"ADT",timeshift:"-03",title:"Atlantic Daylight Time (US)"},_n={name:"UTC",timeshift:"Z",title:"Coordinated Universal Time"},tr={name:"Z",timeshift:"Z",title:"UTC"},er={name:"GMT",timeshift:"Z",title:"Greenwich Mean Time"},nr={name:"BST",timeshift:"+01",title:"British Summer Time"},rr={name:"CEST",timeshift:"+02",title:"Central European Summer Time"},sr={name:"CET",timeshift:"+01",title:"Central European Time"},or={name:"MSK",timeshift:"+03",title:"Moscow Time (RU)"},ir={name:"IST",timeshift:"+05:30",title:"Indian Standard Time"},ar={name:"BJT",timeshift:"+08",title:"Beijing Time"},ur={name:"CST",timeshift:"-06",title:"Central Standard Time"},cr={name:"JST",timeshift:"+09",title:"Japan Standard Time"},mr={name:"AEST",timeshift:"+10",title:"Australian Eastern Standard Time"},dr={name:"NZST",timeshift:"+12",title:"New Zealand Standard Time"},pr={name:"LST",timeshift:"?",title:"Local Sideral Time"},$e=[Ln,mr,Pn,ar,nr,ur,Zn,sr,rr,Jn,On,Dn,Qn,Kn,er,ir,cr,pr,Hn,or,Yn,Wn,dr,qn,Bn,Xn,_n,tr];class re{static instance=new re;renderComponent(t,e){return t[e].toString()}renderSecond(t){return this.renderComponent(t,"second")+(t.millisecond?"."+t.millisecond.toString():"")}render(t){const e=[];t.year&&e.push(this.renderComponent(t,"year")),t.month&&e.push(this.renderComponent(t,"month")),t.day&&e.push(this.renderComponent(t,"day"));const n=[];t.hour&&n.push(this.renderComponent(t,"hour")),t.minute&&n.push(this.renderComponent(t,"minute")),t.second&&n.push(this.renderSecond(t));const r=e.join("-"),o=t.timeshift?t.timeshift.toString():"",a=n.join(":")+o;return r+(a.length>0?"T"+a:"")}}class mt extends C{constructor(t="method is abstract"){super(t)}}class be{units;constructor(t){this.units=t}newYear(t){throw new mt}newMonth(t){throw new mt}newDay(t){throw new mt}newHour(t){throw new mt}newMinute(t){throw new mt}newSecond(t){throw new mt}}class hr extends ye{millisecond=new N("milliseconds",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,void 0);second=new N("seconds",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.millisecond);minute=new N("minutes",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.second);hour=new N("hours",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.minutes);day=new N("days",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.hour);month=new N("months",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.day);year=new N("years",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.month)}const Dt=new hr;class se{static instance=new se;render(t){const e=q.toSpec(t);let n="P";const r=e.years;r&&(n+=r.toString()+"Y");const o=e.months;o&&(n+=o.toString(H.instance)+"MM");const a=e.days;a&&(n+=a.toString(H.instance)+"D");const u=e.hours;u&&(n+=u.toString(H.instance)+"H");const p=e.minutes;p&&(n+=p.toString(H.instance)+"M");const c=e.seconds;return c&&(n+=c.toString(H.instance)+"S"),n}}class q extends I{constructor(t={years:new Date().getFullYear(),months:new Date().getMonth(),days:new Date().getDate(),hours:new Date().getHours(),minutes:new Date().getMinutes(),seconds:new Date().getSeconds(),milliseconds:new Date().getMilliseconds()}){super({value:typeof t=="number"?t:+(t.years?t.years*l.year.duration:0)+(t.months?t.months*l.month.duration:0)+(t.days?t.days*l.day.duration:0)+(t.hours?t.hours*l.hour.duration:0)+(t.minutes?t.minutes*l.minute.duration:0)+(t.seconds?t.seconds*l.second.duration:0)},new N("millisecond",0,Number.MAX_SAFE_INTEGER,void 0))}static toSpec(t,e=fr){let n=typeof t=="number"?t:t.value;const r=n>0?1:-1;n=Math.abs(n);const o={},a=n/l.year.duration,u=Math.floor(a);u>0&&(o.years=e.newYear(r*u),n-=u*l.year.duration);const p=n/l.month.duration,c=Math.floor(p);c>0&&(o.months=e.newMonth(r*c),n-=c*l.month.duration);const f=n/l.day.duration,m=Math.floor(f);m>0&&(o.days=e.newDay(r*m),n-=m*l.day.duration);const b=n/l.hour.duration,g=Math.floor(b);g>0&&(o.hours=e.newHour(r*g),n-=g*l.hour.duration);const G=n/l.minute.duration,S=Math.floor(G);S>0&&(o.minutes=e.newMinute(r*S),n-=S*l.minute.duration);const F=n/l.second.duration,M=Math.floor(r*F);return M>0&&(o.seconds=e.newSecond(M)),o}static fromString(t,e=d.get(q)){return new q(e.parse(t))}static between(t,e){const n=e.getTime(),r=t.getTime();return new q(n-r)}toSpec(){return q.toSpec(this)}toString(t=se.instance){return t.render(this)}}class $n extends be{constructor(t){super(t)}newYear(t){return new bt(t,this.units.year)}newMonth(t){return new Gt(t,this.units.month)}newDay(t){return new xt(t,this.units.day)}newHour(t){return new Nt(t,this.units.hour)}newMinute(t){return new Et(t,this.units.minute)}newSecond(t){return new Tt(t,this.units.second)}newMillisecond(t){return new ct(t,this.units.millisecond)}newTimeshift(t){return new ut(typeof t=="number"?t:t.value)}}const lr=new $n(l),fr=new $n(Dt);class R{#t;#e;#n;#r;#s;#o;#i;#a;constructor(t={year:new Date().getFullYear(),month:new Date().getMonth()+1,day:new Date().getDate(),hour:new Date().getHours(),minute:new Date().getMinutes(),second:new Date().getSeconds(),timeshift:R.timeshiftOf(new Date)}){this.year=t.year,this.month=t.month,this.day=t.day,this.hour=t.hour,this.minute=t.minute,this.second=t.second,this.millisecond=t.millisecond,this.timeshift=t.timeshift}get year(){return this.#t}set year(t){const e=typeof t=="number";this.#t&&e?this.#t.value=t:this.#t=e?this.factory.newYear(t):!t||t.start||t instanceof I?t:this.factory.newYear(t)}get month(){return this.#e}set month(t){const e=typeof t=="number";this.#e&&e?this.#e.value=t:this.#e=e?this.factory.newMonth(t):!t||t.start||t instanceof I?t:this.factory.newMonth(t)}get day(){return this.#n}set day(t){const e=typeof t=="number";this.#n&&e?this.#n.value=t:this.#n=e?this.factory.newDay(t):!t||t.start||t instanceof I?t:this.factory.newDay(t)}get hour(){return this.#r}set hour(t){const e=typeof t=="number";this.#r&&e?this.#r.value=t:this.#r=e?this.factory.newHour(t):!t||t.start||t instanceof I?t:this.factory.newHour(t)}get minute(){return this.#s}set minute(t){const e=typeof t=="number";this.#s&&e?this.#s.value=t:this.#s=e?this.factory.newMinute(t):!t||t.start||t instanceof I?t:this.factory.newMinute(t)}get second(){return this.#o}set second(t){const e=typeof t=="number";this.#o&&e?this.#o.value=t:this.#o=e?this.factory.newSecond(t):!t||t.start||t instanceof I?t:this.factory.newSecond(t)}get millisecond(){return this.#i}set millisecond(t){const e=typeof t=="number";this.#i&&e?this.#i.value=t:this.#i=e||t&&!(t instanceof I)?this.factory.newMillisecond(t):t}get timeshift(){return this.#a}set timeshift(t){const e=typeof t=="number";this.#a&&e?this.#a.value=t:this.#a=e||t&&!(t instanceof ut)?this.factory.newTimeshift(t):t}get factory(){return lr}static fromString(t,e=d.get(R)){const{year:n,month:r,day:o,hour:a,minute:u,second:p,millisecond:c,timeshift:f}=e.parse(t);return new R({year:n,month:r,day:o,hour:a,minute:u,second:p,millisecond:c,timeshift:f})}static timeshiftOf(t){return-t.getTimezoneOffset()||0}static fromDate(t){return new R({year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),timeshift:R.timeshiftOf(t)})}static newInstance(){const t=new Date().toISOString(),e=t.indexOf("."),n=t.substring(0,e)+t.substring(e+4);return R.fromString(n)}#u(t){if(this.constructor.name!==t.constructor.name)throw new ne(`Date "${this.toString()}" cannot be compared with "${t.toString()}"`)}compare(t){return this.#u(t),this.getTime()-t.getTime()}delta(t){const e=this.compare(t);return new q(e)}getTime(){return(this.year?.duration||0)+(this.month?.duration||0)+(this.day?.duration||0)+(this.hour?.duration||0)+(this.minute?.duration||0)+(this.second?.duration||0)+(this.millisecond?.duration||0)}isEqual(t){return this.compare(t)===0}isBefore(t){return this.compare(t)<0}isAfter(t){return this.compare(t)>0}clone(){return new R(this.toSpec())}previous(){let t=this.clone();try{t.second=this.second.previous()}catch{try{t.minute=this.minute.previous()}catch{try{t.hour=this.hour.previous()}catch{try{t.day=this.day.previous()}catch{try{t.month=this.month.previous()}catch{t.year=this.year.previous()}}}}}return t}next(){let t=this.clone();try{t.second=this.second.next()}catch{try{t.minute=this.minute.next()}catch{try{t.hour=this.hour.next()}catch{try{t.day=this.day.next()}catch{try{t.month=this.month.next()}catch{t.year=this.year.next()}}}}}return t}toString(t=re.instance){return t.render(this)}toSpec(){const t={},e=this.year?.toSpec();e&&(t.year=e);const n=this.month?.toSpec();n&&(t.month=n);const r=this.day?.toSpec();r&&(t.day=r);const o=this.hour?.toSpec();o&&(t.hour=o);const a=this.minute?.toSpec();a&&(t.minute=a);const u=this.second?.toSpec();u&&(t.second=u);const p=this.millisecond?.toSpec();p&&(t.millisecond=p);const c=this.timeshift?.toSpec();return c&&(t.timeshift=c),t}toJSON(){return this.toSpec()}}class Ge{static instance=new Ge;render(t){return(t.start?t.start.toString():"")+"/"+(t.end?t.end.toString():"")}}class $t{constructor(t,e){this.start=t,this.end=e}_start;get start(){return this._start}set start(t){if(typeof t=="string"&&(t=R.fromString(t)),t&&!(t instanceof R)&&!(t instanceof q))throw new C("Interval start is not a level 0 date or duration: "+t);this._start=t}_end;get end(){return this._end}set end(t){if(typeof t=="string"&&(t=R.fromString(t)),t&&!(t instanceof R)&&!(t instanceof q))throw new C("Interval end is not a level 0 date or duration: "+t);this._end=t}static fromString(t,e=d.get($t)){const{start:n,end:r}=e.parse(t);return new $t(n,r)}toString(t=Ge.instance){return t.render(this)}[Symbol.iterator](){let t=this.start;return{next:()=>{const e={done:t>this.end,value:t};return t++,e}}}}class Pt extends H{static instance=new Pt(W.default);constructor(t){super(),this.valueRenderer=t}render(t){return(this.valueRenderer?this.valueRenderer.render(t):super.render(t))+this.qualifier(t)}qualifier(t){return t.uncertain?t.approximate?"%":"?":t.approximate?"~":""}}class X extends I{#t;#e;constructor(t,e){super(t,e),this.#t=t.uncertain||!1,this.#e=t.approximate||!1}get uncertain(){return this.#t}set uncertain(t){return this.#t=t}get approximate(){return this.#e}set approximate(t){return this.#e=t}isCertainAndPrecise(){return!this.approximate&&!this.uncertain}isEqual(t){return this.isCertainAndPrecise()&&super.isEqual(t)}isBefore(t){return this.isCertainAndPrecise()&&super.isBefore(t)}isAfter(t){return this.isCertainAndPrecise()&&super.isAfter(t)}toString(t=Pt.instance){return super.toString(t)}toSpec(){return{...super.toSpec(),uncertain:this.uncertain,approximate:this.approximate}}toJSON(){return this.toSpec()}}class Rn extends An{year=new N("year",-9999,9999,this.month);yearExtended=new N("year",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.month)}const _t=new Rn;class nt extends X{constructor(t,e=_t.year){super(t,e)}static fromString(t,e=_t.year,n=d.get(nt)){const r=n.parse(t),o=r.value.start;if(t.startsWith("Y")&&(e=_t.yearExtended),o!==void 0){const a=new nt(Object.assign({...r},{value:Math.max(o,e.min)})),u=new nt(Object.assign({...r},{value:Math.min(r.value.end,e.max)}));return{start:a,end:u}}else return new nt(r,e)}}class Fn extends ne{monthValidator=new kn;validate(t){switch(t){case 21:case 22:case 23:case 24:return!0;default:return this.monthValidator.validate(t)}}}class rt extends X{constructor(t,e=new N(l.month.name,1,24,l.day,new Fn)){super(t,e)}static fromString(t,e=d.get(rt)){const n=e.parse(t),r=n.value.start;if(r!==void 0){let o=l.month;const a=new rt(Object.assign({...n},{value:Math.max(r,o.min)})),u=new rt(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new rt(n)}toString(t){return super.toString(t).padStart(2,"0")}}class st extends X{constructor(t,e=l.day){super(t,e)}static fromString(t,e=d.get(st)){const n=e.parse(t),r=n.value.start;if(r!==void 0){let o=l.day;const a=new st(Object.assign({...n},{value:Math.max(r,o.min)})),u=new st(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new st(n)}toString(t){return super.toString(t).padStart(2,"0")}}class ot extends X{constructor(t,e=l.hour){super(t,e)}static fromString(t,e=d.get(ot)){const n=e.parse(t),r=n.value.start;if(r!==void 0){let o=l.hour;const a=new ot(Object.assign({...n},{value:Math.max(r,o.min)})),u=new ot(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new ot(n)}}class it extends X{constructor(t,e=l.minute){super(t,e)}static fromString(t,e=d.get(it)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.minute,a=new it(Object.assign({...n},{value:Math.max(r,o.min)})),u=new it(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new it(n)}toString(t=Pt.instance){return super.toString(t)}}class at extends X{constructor(t,e=l.second){super(t,e)}static fromString(t,e=d.get(at)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.second,a=new at(Object.assign({...n},{value:Math.max(r,o.min)})),u=new at(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new at(n)}}class ht extends ut{static fromString(t,e=d.get(ht),n=void 0){return new ht(e.parse(t,n))}}class Vn extends be{constructor(t){super(t)}newYear(t){return new nt(t,this.units.year)}newMonth(t){return new rt(t,this.units.month)}newDay(t){return new st(t,this.units.day)}newHour(t){return new ot(t,this.units.hour)}newMinute(t){return new it(t,this.units.minute)}newSecond(t){return new at(t,this.units.second)}newMillisecond(t){return new ct(t,this.units.millisecond)}newTimeshift(t){return new ht(typeof t=="number"?t:t.value)}}const gr=new Vn(_t),wr=new Vn(Dt);class U extends R{constructor(t){super(t)}get factory(){return gr}get uncertain(){return this.year?.uncertain===!0||this.month?.uncertain===!0||this.day?.uncertain===!0||this.hour?.uncertain===!0||this.minute?.uncertain===!0||this.second?.uncertain===!0}get approximate(){return this.year?.approximate===!0||this.month?.approximate===!0||this.day?.approximate===!0||this.hour?.approximate===!0||this.minute?.approximate===!0||this.second?.approximate===!0}static fromDate(t){return new U({year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),timeshift:R.timeshiftOf(t)})}static fromString(t,e=d.get(U)){const n=e.parse(t);return new U(n)}static newInstance(){const t=new Date().toISOString(),e=t.indexOf("."),n=t.substring(0,e)+t.substring(e+4);return U.fromString(n)}clone(){return new U(this.toSpec())}}const $=Object.freeze({year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",timeshift:"timeshift",uncertain:"uncertain",approximate:"approx"});class oe extends se{static instance=new oe;render(t){return super.render(t)}}class k extends X{constructor(t){super(typeof t=="number"||t.hasOwnProperty("value")?t:{value:k.getValue(t,$.year)+k.getValue(t,$.month)+k.getValue(t,$.day)+k.getValue(t,$.hour)+k.getValue(t,$.minute)+k.getValue(t,$.second),uncertain:k.getBoolean(t,$.uncertain),approximate:k.getBoolean(t,"approximate")},Dt.millisecond)}static getBoolean(t,e){return t[e]||t[$.year+"s"]?.[e]||t[$.month+"s"]?.[e]||t[$.day+"s"]?.[e]||t[$.hour+"s"]?.[e]||t[$.minute+"s"]?.[e]||t[$.second+"s"]?.[e]||!1}static getValue(t,e){let n=0,r=t[e+"s"];if(r instanceof X?r=r.value:typeof t=="number"&&(r=t),r){const o=l[e];n=r*o.duration}return n}static toSpec(t,e=wr){return{...q.toSpec(t,e),uncertain:t.uncertain||!1,approximate:t.approximate||!1}}static fromString(t,e=d.get(k)){const n=e.parse(t);return new k(n)}static between(t,e){const n=e.getTime(),r=t.getTime();return new k(n-r)}toString(t=oe.instance){return super.toString(t)}toSpec(){return k.toSpec(this)}}class Rt extends $t{constructor(t,e){super(t,e)}get start(){return this._start}set start(t){if(typeof t=="string"&&(super.start=U.fromString(t)),t&&!(t instanceof U)&&!(t instanceof k))throw new C("Interval start is not a level 1 date or duration: "+t);this._start=t}get end(){return this._end}set end(t){if(typeof t=="string"&&(t=U.fromString(t)),t&&!(t instanceof U)&&!(t instanceof k))throw new C("Interval end is not a level 1 date or duration: "+t);this._end=t}static fromString(t,e=d.get(Rt)){const{start:n,end:r}=e.parse(t);return new Rt(n,r)}}class vt extends X{uncertainComponent;approximateComponent;constructor(t,e){super(t,e),this.uncertainComponent=t.uncertainComponent||!1,this.approximateComponent=t.approximateComponent||!1}get uncertain(){return super.uncertain||this.uncertainComponent}set uncertain(t){return super.uncertain=t}get approximate(){return super.approximate||this.approximateComponent}set approximate(t){return super.approximate=t}get uncertainGroup(){return super.uncertain}get approximateGroup(){return super.approximate}toSpec(){return{...super.toSpec(),uncertain:this.uncertainGroup,approximate:this.approximateGroup,uncertainComponent:this.uncertainComponent,approximateComponent:this.approximateComponent}}toJSON(){return this.toSpec()}}class Sr extends Rn{year=new N("year",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.month)}const Se=new Sr;class K extends vt{constructor(t,e=Se.year){super(t,e)}static fromString(t,e=Se.year,n=d.get(K)){const r=n.parse(t),o=r.value.start;if(o!==void 0){const a=new K(Object.assign({...r},{value:Math.max(o,e.min)})),u=new K(Object.assign({...r},{value:Math.min(r.value.end,e.max)})),p={start:a,end:u},c=r.value.estimate;return c&&(p.estimate=c),p}else return new K(r)}}class yr extends Fn{validate(t){switch(t){case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:return!0;default:return super.validate(t)}}}class O extends vt{constructor(t,e=new N(l.month.name,1,41,l.day,new yr)){super(t,e)}static fromString(t,e=d.get(O)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.month,a=new O(Object.assign({...n},{value:Math.max(r,o.min)})),u=new O(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new O(n)}toString(t){return super.toString(t).padStart(2,"0")}}class Z extends vt{constructor(t,e=l.day){super(t,e)}static fromString(t,e=d.get(Z)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.day,a=new Z(Object.assign({...n},{value:Math.max(r,o.min)})),u=new Z(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new Z(n)}toString(t){return super.toString(t).padStart(2,"0")}}class Q extends vt{constructor(t,e=l.hour){super(t,e)}static fromString(t,e=d.get(Q)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.hour,a=new Q(Object.assign({...n},{value:Math.max(r,o.min)})),u=new Q(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new Q(n)}}class D extends vt{constructor(t,e=l.minute){super(t,e)}static fromString(t,e=d.get(D)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.minute,a=new D(Object.assign({...n},{value:Math.max(r,o.min)})),u=new D(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new D(n)}}class P extends vt{constructor(t,e=l.second){super(t,e)}static fromString(t,e=l.second,n=d.get(P)){const r=n.parse(t),o=r.value.start;if(o!==void 0){const a=new P(Object.assign({...r},{value:Math.max(o,e.min)})),u=new P(Object.assign({...r},{value:Math.min(r.value.end,e.max)}));return{start:a,end:u}}else return new P(r,e)}}class In extends ht{}class br extends Pt{qualifier(){return""}}class tt extends re{static instance=new tt;static valueRenderer=new br(W.default);static names=["year","month","day","hour","minute","second"];static qualifier(t,e){return t?e?"%":"?":e?"~":""}renderComponent(t,e){const n=t[e],r=tt.names.slice(tt.names.indexOf(e)+1).map(u=>t[u]).filter(Boolean),o=tt.qualifier(n.uncertainComponent,n.approximateComponent),a=tt.qualifier(n.uncertainGroup&&!n.uncertainComponent&&!r.some(u=>u.uncertain),n.approximateGroup&&!n.approximateComponent&&!r.some(u=>u.approximate));return o+n.toString(tt.valueRenderer)+a}}class jn extends be{constructor(t){super(t)}newYear(t){return new K(t,this.units.year)}newMonth(t){return new O(t,this.units.month)}newDay(t){return new Z(t,this.units.day)}newHour(t){return new Q(t,this.units.hour)}newMinute(t){return new D(t,this.units.minute)}newSecond(t){return new P(t,this.units.second)}newMillisecond(t){return new ct(t,this.units.millisecond)}newTimeshift(t){return new In(typeof t=="number"?t:t.value)}}const Gr=new jn(Se),xr=new jn(Dt);class z extends U{constructor(t){super(t)}toString(t=tt.instance){return super.toString(t)}get year(){return super.year}set year(t){super.year=t}get month(){return super.month}set month(t){super.month=t}get factory(){return Gr}static fromDate(t){return new z({year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),timeshift:R.timeshiftOf(t)})}static fromString(t,e=d.get(z)){const n=e.parse(t);return new z(n)}static newInstance(){const t=new Date().toISOString(),e=t.indexOf("."),n=t.substring(0,e)+t.substring(e+4);return z.fromString(n)}clone(){return new z(this.toSpec())}}class L{regExp;constructor(t,e){this.name=t,this.regExp=new RegExp(`^(?:${e})$`)}regexGroups(t){const e=this.regExp.exec(t);if(!e)throw new C(`Invalid ${this.name} "${t}"`);return e.groups}parseGroups(t){throw new mt(`${this.constructor.name} is abstract`)}parse(t){const e=this.regexGroups(t);return this.parseGroups(e)}}class wt extends oe{static instance=new wt;static designators=[["years","Y"],["months","MM"],["days","D"],["hours","H"],["minutes","M"],["seconds","S"]];static qualifier(t,e){return t?e?"%":"?":e?"~":""}render(t){const e=wt.qualifier(t.uncertainDuration,t.approximateDuration);if(!t.hasQualifiedComponent)return e+super.render(t);let n=e+"P";for(const[r,o]of wt.designators){const a=t.components[r];a&&(n+=wt.qualifier(a.uncertainComponent,a.approximateComponent)+a.value+o)}return n}}class A extends k{#t;constructor(t){if(super(typeof t=="number"?t:{value:A.valueFromSpec(t),uncertain:t.uncertain===!0,approximate:t.approximate===!0},Dt.millisecond),typeof t!="number"){const e={};for(const n of A.componentNames)t[n]instanceof X&&(e[n]=t[n]);Object.keys(e).length>0&&(this.#t=e)}}static componentNames=["years","months","days","hours","minutes","seconds"];get components(){return this.#t}#e(t){return this.#t?Object.values(this.#t).some(e=>e[t]):!1}get uncertainDuration(){return super.uncertain}get approximateDuration(){return super.approximate}get uncertain(){return super.uncertain||this.#e("uncertain")}set uncertain(t){super.uncertain=t}get approximate(){return super.approximate||this.#e("approximate")}set approximate(t){super.approximate=t}get hasQualifiedComponent(){return this.#t?Object.values(this.#t).some(t=>t.uncertainComponent||t.approximateComponent):!1}static valueFromSpec(t){return A.getValue(t,$.year)+A.getValue(t,$.month)+A.getValue(t,$.day)+A.getValue(t,$.hour)+A.getValue(t,$.minute)+A.getValue(t,$.second)}static toSpec(t,e=xr){const n=k.toSpec(t,e);if(t instanceof A&&t.hasQualifiedComponent)for(const r of A.componentNames)delete n[r],t.components[r]&&(n[r]=t.components[r]);return n}static fromString(t,e=d.get(A)){const n=e.parse(t);return new A(n)}static between(t,e){const n=e.getTime(),r=t.getTime();return new A(n-r)}toSpec(){return A.toSpec(this)}toString(t=wt.instance){return super.toString(t)}}class Ft extends Rt{get start(){return this._start}set start(t){if(typeof t=="string"&&(super.start=z.fromString(t)),t&&!(t instanceof z)&&!(t instanceof A))throw new C("Interval start is not a level 2 date or duration: "+t);this._start=t}get end(){return this._end}set end(t){if(typeof t=="string"&&(t=z.fromString(t)),t&&!(t instanceof z)&&!(t instanceof A))throw new C("Interval end is not a level 2 date or duration: "+t);this._end=t}static fromString(t,e=d.get(Ft)){const{start:n,end:r}=e.parse(t);return new Ft(n,r)}}class te extends Set{constructor(t,e){super(t),this.exclusive=e}has(t){const e=t.toString().replace("..","/");for(const n of this)if(n.toString()===e)return!0;return!1}static fromString(t,e=d.get(te)){const{exclusive:n,values:r}=e.parse(t);return new te(r,n)}}class _ extends L{constructor(t,e){super(t,e)}static read(t){return{value:t?parseInt(t,10):void 0}}parseGroups(t){return _.read(t[this.name])}parse(t){if(t.startsWith("-"))throw new C(`${this.name} cannot be negative`);return super.parse(t)}}class i{static groupName(...t){return t.reduce((e,n)=>e?e+n.charAt(0).toUpperCase()+n.substring(1):n,"")}static group(t,...e){return`(?<${t}>${e.join("")})`}static optional(t){return t+"?"}static nonCapturingGroup(...t){return`(?:${t.join("")})`}static optionalGroup(t,...e){return i.optional(i.group(t,...e))}static optionalNonCapturingGroup(...t){return i.optional(i.nonCapturingGroup(...t))}static numberGroup(t,e,n,r="\\d"){return i.group(t,`${n||""}[${r}]${e}`)}}const Re="yearValue";class Vt extends _{static format(t=""){return i.numberGroup(i.groupName(t,Re),"{4}",void 0)}constructor(){super(Re,Vt.format())}}const Fe="monthValue";class It extends _{static format(t=""){return i.numberGroup(i.groupName(t,Fe),"{1,2}",void 0)}constructor(){super(Fe,It.format())}}const Ve="dayValue";class St extends _{static format(t=""){return i.numberGroup(i.groupName(t,Ve),"{1,2}",void 0)}constructor(){super(Ve,St.format())}}const Ie="hourValue";class yt extends _{static format(t=""){return i.numberGroup(i.groupName(t,Ie),"{1,2}",void 0)}constructor(){super(Ie,yt.format())}}const je="minuteValue";class jt extends _{static format(t=""){return i.numberGroup(i.groupName(t,je),"{1,2}",void 0)}constructor(){super(je,jt.format())}}const Ue="secondValue";class Ut extends _{static format(t=""){return i.numberGroup(i.groupName(t,Ue),"{1,2}",void 0)}constructor(){super(Ue,Ut.format())}}const ze="timeshiftValue",Ce="shiftHour",Be="shiftMinute";class Mt extends L{static format(t=""){return $e.map(e=>e.name).join("|")+"|"+i.nonCapturingGroup(i.group(t+Ce,i.numberGroup(i.groupName(t,ze),"{2}","[+-]")),i.optionalNonCapturingGroup(":?",i.numberGroup(i.groupName(t,Be),"{2}",void 0)))}constructor(){super(ze,Mt.format())}parse(t,e){let n=0;const r=$e.find(o=>o.name===t);if(r){if(typeof r.timeshift=="function")try{return r.timeshift(e??{})}catch(o){throw new C(`The time zone ${t} depends on the date: ${o.message}`)}t=r.timeshift}if(t!=="Z"){const o=this.regexGroups(t),a=o[Ce];a&&(n+=parseInt(a,10)*60);const u=o[Be];u&&(n+=parseInt(u,10))}return n}}const qe="year",He="month",Ye="day",Xe="hour",We="minute",Je="second",Ke="millisecond",Oe="timeshift";class dt extends L{static format(t=""){return i.group(i.groupName(t,qe),Vt.format(t))+i.optionalNonCapturingGroup("-",i.group(i.groupName(t,He),It.format(t)),i.optionalNonCapturingGroup("-",i.group(i.groupName(t,Ye),St.format(t)),i.optionalNonCapturingGroup("[T ]",i.group(i.groupName(t,Xe),yt.format(t)),":?",i.group(i.groupName(t,We),jt.format(t)),i.optionalNonCapturingGroup(":",i.group(i.groupName(t,Je),Ut.format(t)),i.optionalNonCapturingGroup("[.,]",i.group(i.groupName(t,Ke),"\\d+"))),"\\s*",i.optionalGroup(i.groupName(t,Oe),Mt.format(t)))))}constructor(){super("date",dt.format())}parse(t){const e=this.regexGroups(t),n=e[qe],r=e[He],o=e[Ye],a=e[Xe],u=e[We],p=e[Je],c=e[Ke],f=e[Oe],m=n?new bt(Vt.read(n)):void 0,b=r?It.read(r):void 0;return{year:m,month:b?new Gt(b,gt.create(b.value,m?.value)):void 0,day:o?new xt(St.read(o)):void 0,hour:a?new Nt(yt.read(a)):void 0,minute:u?new Et(jt.read(u)):void 0,second:p?new Tt(Ut.read(p)):void 0,millisecond:c?ct.parseFraction(c):void 0,timeshift:f?ut.fromString(f,new Mt,{year:m?.value,month:b?.value,day:o?St.read(o).value:void 0,hour:a?yt.read(a).value:void 0}):void 0}}}const Ze="years",ae="months",Nr="days",Qe="hours",De="minutes",Pe="seconds";class xe extends L{static format(t=""){return"P"+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Ze),"+",void 0,"\\d"),"Y")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,ae),"+",void 0,"\\d"),"MM")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Nr),"+",void 0,"\\d"),"D")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Qe),"+",void 0,"\\d"),"H")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,De),"+",void 0,"\\d"),"M")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Pe),"+",void 0,"\\d"),"S")}constructor(){super("duration",xe.format())}parseGroups(t){return{years:t[Ze],months:t[ae],days:t[ae],hours:t[Qe],minutes:t[De],seconds:t[Pe]}}}const ue="start",ce="end";class Ne extends L{static format=i.group(ue,dt.format(ue))+"/"+i.group(ce,dt.format(ce));constructor(){super("interval",Ne.format)}parse(t){const e=this.regexGroups(t),n=e[ue],r=e[ce];return{start:n?R.fromString(n,new dt):void 0,end:r?R.fromString(r,new dt):void 0}}}d.register(R,()=>new dt);d.register(xt,()=>new St);d.register(q,()=>new xe);d.register(Nt,()=>new yt);d.register($t,()=>new Ne);d.register(Et,()=>new jt);d.register(Gt,()=>new It);d.register(Tt,()=>new Ut);d.register(ut,()=>new Mt);d.register(bt,()=>new Vt);class E extends _{static uncertainGroup="uncertain";static approximateGroup="approx";static uncertainAndApproximateGroup=E.uncertainGroup+E.approximateGroup;constructor(t,e){super(t,e)}static qualifierFormat(t,e){return i.optionalGroup(t,`\\${e}`)}static formatSuffix(t){return this.qualifierFormat(i.groupName(E.uncertainGroup,t),"?")+this.qualifierFormat(i.groupName(E.approximateGroup,t),"~")+this.qualifierFormat(i.groupName(E.uncertainAndApproximateGroup,t),"%")}static numberFormat(t,e,n){return i.numberGroup(t,e,n,"\\dX")+this.formatSuffix(t)}getValueAndSign(t){let e=t[this.name],n;return e.charAt(0)==="-"?(n=-1,e=e.substring(1)):n=1,{valueStr:e,sign:n}}parseGroups(t){const{valueStr:e,sign:n}=this.getValueAndSign(t);let r=0,o;for(o=0;o<e.length;o++){const c=e[o];if(c==="X")break;r=r*10+parseInt(c,10)}if(o<e.length){let c=1;for(let b=0;b<e.length-o;b++)c*=10;const f=n*r*c,m=f+c-1;r={start:f,end:m}}else r*=n;const a=t[i.groupName(E.uncertainAndApproximateGroup,this.name)],u=t[i.groupName(E.approximateGroup,this.name)]||a,p=t[i.groupName(E.uncertainGroup,this.name)]||a;return{value:r,approximate:u?!!u:!1,uncertain:p?!!p:!1}}}const Le="yearValue";class zt extends E{constructor(){super(Le,zt.format())}static format(t=""){return"Y?"+E.numberFormat(i.groupName(t,Le),"+","[-]?")}parse(t){const e=this.regexGroups(t);return this.parseGroups(e)}}const _e="monthValue";class Ct extends E{static format(t=""){return E.numberFormat(i.groupName(t,_e),"{1,2}",void 0)}constructor(){super(_e,Ct.format())}}const tn="dayValue";class Bt extends E{static format(t=""){return E.numberFormat(i.groupName(t,tn),"{1,2}",void 0)}constructor(){super(tn,Bt.format())}}const en="hourValue";class qt extends E{static format(t=""){return E.numberFormat(i.groupName(t,en),"{1,2}",void 0)}constructor(){super(en,qt.format())}}const nn="minuteValue";class Ht extends E{static format(t=""){return E.numberFormat(i.groupName(t,nn),"{1,2}",void 0)}constructor(){super(nn,Ht.format())}}const rn="secondValue";class Yt extends E{static format(t=""){return E.numberFormat(i.groupName(t,rn),"{1,2}",void 0)}constructor(){super(rn,Yt.format())}}class Xt extends Mt{}class T extends L{static yearGroup="year";static monthGroup="month";static dayGroup="day";static hourGroup="hour";static minuteGroup="minute";static secondGroup="second";static millisecondGroup="millisecond";static timeshiftGroup="timeshift";constructor(t=T.format()){super("date",t)}static format(t=""){return i.group(i.groupName(t,T.yearGroup),zt.format(t))+i.optionalNonCapturingGroup("-",i.group(i.groupName(t,T.monthGroup),Ct.format(t)),i.optionalNonCapturingGroup("-",i.group(i.groupName(t,T.dayGroup),Bt.format(t)),i.optionalNonCapturingGroup("[T ]",i.group(i.groupName(t,T.hourGroup),qt.format(t)),":",i.group(i.groupName(t,T.minuteGroup),Ht.format(t)),i.optionalNonCapturingGroup(":",i.group(i.groupName(t,T.secondGroup),Yt.format(t)),i.optionalNonCapturingGroup("[.,]",i.group(i.groupName(t,T.millisecondGroup),"\\d+"))),i.optionalGroup(i.groupName(t,T.timeshiftGroup),Xt.format(t)))))}parseGroups(t){const e=t[T.millisecondGroup],n=e?ct.parseFraction(e):void 0,r=t[T.secondGroup],o=r?at.fromString(r,new Yt):void 0,a=t[T.minuteGroup];let u;a&&(u=it.fromString(a,new Ht),u.uncertain=u.uncertain||o?.uncertain||!1,u.approximate=u.approximate||o?.approximate||!1);const p=t[T.hourGroup];let c;p&&(c=ot.fromString(p,new qt),c.uncertain=c.uncertain||u?.uncertain||!1,c.approximate=c.approximate||u?.approximate||!1);const f=t[T.dayGroup];let m;f&&(m=st.fromString(f,new Bt),m.uncertain=m.uncertain||c?.uncertain||!1,m.approximate=m.approximate||c?.approximate||!1);const b=t[T.monthGroup];let g;b&&(g=rt.fromString(b,new Ct),g.uncertain=g.uncertain||m?.uncertain||!1,g.approximate=g.approximate||m?.approximate||!1);const G=t[T.yearGroup];let S;G&&(S=nt.fromString(G,void 0,new zt),S.uncertain=S.uncertain||g?.uncertain||!1,S.approximate=S.approximate||g?.approximate||!1);const F=t[T.timeshiftGroup],M=F?ht.fromString(F,new Xt,{year:S?.value,month:g?.value,day:m?.value,hour:c?.value}):void 0;return{year:S,month:g,day:m,hour:c,minute:u,second:o,millisecond:n,timeshift:M}}}const sn="years",on="months",an="days",un="hours",cn="minutes",mn="seconds";class pt extends E{static format(t=""){return"P"+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,sn),"+",void 0,"\\d"),"Y")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,on),"+",void 0,"\\d"),"MM")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,an),"+",void 0,"\\d"),"D")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,un),"+",void 0,"\\d"),"H")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,cn),"+",void 0,"\\d"),"M")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,mn),"+",void 0,"\\d"),"S")+this.formatSuffix(t)}constructor(){super("duration",pt.format())}parseGroups(t){return{years:t[sn],months:t[on],days:t[an],hours:t[un],minutes:t[cn],seconds:t[mn],uncertain:!!t[E.uncertainGroup],approximate:!!t[E.approximateGroup]}}}const Er="dates",me="start",de="end",dn="durations",pe="durationMin",he="durationMax";class Ee extends L{static format=i.group(Er,i.optionalGroup(me,i.group("openStart","\\.\\.")+"|"+T.format(me))+"/"+i.optionalGroup(de,i.group("openEnd","\\.\\.")+"|"+T.format(de)))+"|"+i.group(dn,i.group(pe,pt.format(pe))+"/"+i.group(he,pt.format(he)));constructor(t="interval",e=Ee.format){super(t,e)}parseGroups(t){let e,n;if(t[dn]){const o=t[pe];e=k.fromString(o,new pt);const a=t[he];n=k.fromString(a,new pt)}else{const o=t[me];switch(o){case void 0:e=null;break;case"..":e=void 0;break;default:e=U.fromString(o,new T)}const a=t[de];switch(a){case void 0:n=null;break;case"..":n=void 0;break;default:n=U.fromString(a,new T)}}return{start:e,end:n}}}d.register(U,()=>new T);d.register(st,()=>new Bt);d.register(k,()=>new pt);d.register(ot,()=>new qt);d.register(Rt,()=>new Ee);d.register(it,()=>new Ht);d.register(rt,()=>new Ct);d.register(at,()=>new Yt);d.register(ht,()=>new Xt);d.register(nt,()=>new zt);class y extends E{static uncertainGroup="uncertain1";static approximateGroup="approx1";static uncertainAndApproximateGroup=y.uncertainGroup+y.approximateGroup;constructor(t,e){super(t,e)}static numberFormat(t,e,n){return this.qualifierFormat(i.groupName(y.uncertainGroup,t),"?")+this.qualifierFormat(i.groupName(y.approximateGroup,t),"~")+this.qualifierFormat(i.groupName(y.uncertainAndApproximateGroup,t),"%")+E.numberFormat(t,e,n)}parseGroups(t){const e=super.parseGroups(t),n=t[i.groupName(y.uncertainAndApproximateGroup,this.name)];return(t[i.groupName(y.uncertainGroup,this.name)]||n)&&(e.uncertainComponent=!0),(t[i.groupName(y.approximateGroup,this.name)]||n)&&(e.approximateComponent=!0),e}}const kt="yearValue",pn="exp",hn="signif";class Wt extends y{constructor(){super(kt,Wt.format())}static format(t=""){return"Y?"+i.nonCapturingGroup(i.group(i.groupName(t,pn),"[-]?\\d+E\\d+")+"|"+y.numberFormat(i.groupName(t,kt),"+","[-]?")+i.optionalGroup(i.groupName(t,hn),"S\\d+"))}parseGroups(t){const e=t[pn];if(e){const a=e.indexOf("E"),u=parseInt(e.substring(a+1),10),c=parseInt(e.substring(0,a),10)*Math.pow(10,u);t[kt]=c.toString()}const n=t[hn],r=t[kt];if(n){const a=parseInt(n.substring(1),10),{valueStr:u,sign:p}=this.getValueAndSign(t);let c="";for(let f=0;f<u.length;f++)c+=f<a?u.charAt(f):"X";t[kt]=(p<0?"-":"")+c}const o=super.parseGroups(t);return n&&(o.value.estimate=parseInt(r,10)),o}parse(t){const e=this.regexGroups(t);return this.parseGroups(e)}}const ln="monthValue";class Jt extends y{static format(t=""){return y.numberFormat(i.groupName(t,ln),"{1,2}",void 0)}constructor(){super(ln,Jt.format())}}const fn="dayValue";class Kt extends y{static format(t=""){return y.numberFormat(i.groupName(t,fn),"{1,2}",void 0)}constructor(){super(fn,Kt.format())}}const gn="hourValue";class Ot extends y{static format(t=""){return y.numberFormat(i.groupName(t,gn),"{1,2}",void 0)}constructor(){super(gn,Ot.format())}}const wn="secondValue";class Zt extends y{static format(t=""){return y.numberFormat(i.groupName(t,wn),"{1,2}",void 0)}constructor(){super(wn,Zt.format())}}const Sn="minuteValue";class Qt extends y{static format(t=""){return y.numberFormat(i.groupName(t,Sn),"{1,2}",void 0)}constructor(){super(Sn,Qt.format())}}class Tr extends Xt{}class x extends L{static yearGroup=T.yearGroup;static monthGroup="month";static dayGroup="day";static hourGroup="hour";static minuteGroup="minute";static secondGroup="second";static millisecondGroup="millisecond";static timeshiftGroup="timeshift";constructor(){super("date",x.format())}static format(t=""){return i.group(i.groupName(t,x.yearGroup),Wt.format(t))+i.optionalNonCapturingGroup("-",i.group(i.groupName(t,x.monthGroup),Jt.format(t)),i.optionalNonCapturingGroup("-",i.group(i.groupName(t,x.dayGroup),Kt.format(t)),i.optionalNonCapturingGroup("[T ]",i.group(i.groupName(t,x.hourGroup),Ot.format(t)),":",i.group(i.groupName(t,x.minuteGroup),Qt.format(t)),i.optionalNonCapturingGroup(":",i.group(i.groupName(t,x.secondGroup),Zt.format(t)),i.optionalNonCapturingGroup("[.,]",i.group(i.groupName(t,x.millisecondGroup),"\\d+"))),i.optionalGroup(i.groupName(t,x.timeshiftGroup),Tr.format(t)))))}parseGroups(t){const e=t[x.millisecondGroup],n=e?ct.parseFraction(e):void 0,r=t[x.secondGroup];let o;r&&(o=P.fromString(r,void 0,new Zt),o.uncertain=o?.uncertain||!1,o.approximate=o?.approximate||!1);const a=t[x.minuteGroup];let u;a&&(u=D.fromString(a,new Qt),u.uncertain=u.uncertain||o?.uncertain||!1,u.approximate=u.approximate||o?.approximate||!1);const p=t[x.hourGroup];let c;p&&(c=Q.fromString(p,new Ot),c.uncertain=c.uncertain||u?.uncertain||!1,c.approximate=c.approximate||u?.approximate||!1);const f=t[x.dayGroup];let m;f&&(m=Z.fromString(f,new Kt),m.uncertain=m.uncertain||c?.uncertain||!1,m.approximate=m.approximate||c?.approximate||!1);const b=t[x.monthGroup];let g;b&&(g=O.fromString(b,new Jt),g.uncertain=g.uncertain||m?.uncertain||!1,g.approximate=g.approximate||m?.approximate||!1);const G=t[x.yearGroup];let S;G&&(S=K.fromString(G,void 0,new Wt),S.uncertain=S.uncertain||g?.uncertain||!1,S.approximate=S.approximate||g?.approximate||!1);const F=t[x.timeshiftGroup],M=F?In.fromString(F,new Xt,{year:S?.value,month:g?.value,day:m?.value,hour:c?.value}):void 0;return{year:S,month:g,day:m,hour:c,minute:u,second:o,millisecond:n,timeshift:M}}}const yn="durationValue";class Te extends y{static format(t=""){return"^"+y.numberFormat(i.groupName(t,yn),"+",void 0)}constructor(){super(yn,Te.format())}}class Mr extends ye{millisecond=new N("millisecond",0,Number.MAX_SAFE_INTEGER,void 0);second=new N("second",0,Number.MAX_SAFE_INTEGER,this.millisecond);minute=new N("minute",0,Number.MAX_SAFE_INTEGER,this.second);hour=new N("hour",0,Number.MAX_SAFE_INTEGER,this.minute);day=new N("day",1,Number.MAX_SAFE_INTEGER,this.hour);month=new N("month",1,Number.MAX_SAFE_INTEGER,this.day);year=new N("year",0,Number.MAX_SAFE_INTEGER,this.month)}const lt=new Mr;class h extends y{static yearsGroup="years";static monthsGroup="months";static isoMonthsGroup="isoMonths";static daysGroup="days";static hoursGroup="hours";static minutesGroup="minutes";static secondsGroup="seconds";static durationGroup="duration";static suffixGroup="durationSuffix";static componentParser=new Te;static componentFormat(t,e,n,r,o=""){const a=i.group(i.groupName(t,h.quantityGroup(e)),y.numberFormat(i.groupName(t,n),"+",void 0,"\\d"));return i.group(i.groupName(t,e),a,r,o)}static quantityGroup(t){return t+"Quantity"}static isoMonthsLookahead="(?=[?~%]?\\d+D|T)";constructor(){super("duration",h.format())}static format(t=""){const e=i.groupName(t,h.durationGroup);return this.qualifierFormat(i.groupName(y.uncertainGroup,e),"?")+this.qualifierFormat(i.groupName(y.approximateGroup,e),"~")+this.qualifierFormat(i.groupName(y.uncertainAndApproximateGroup,e),"%")+"P"+i.optional(h.componentFormat(t,h.yearsGroup,x.yearGroup,"Y"))+i.optionalNonCapturingGroup(h.componentFormat(t,h.monthsGroup,x.monthGroup,"MM")+"|"+h.componentFormat(t,h.isoMonthsGroup,"isoMonth","M",h.isoMonthsLookahead))+i.optional(h.componentFormat(t,h.daysGroup,x.dayGroup,"D"))+"T?"+i.optional(h.componentFormat(t,h.hoursGroup,x.hourGroup,"H"))+i.optional(h.componentFormat(t,h.minutesGroup,x.minuteGroup,"M"))+i.optional(h.componentFormat(t,h.secondsGroup,x.secondGroup,"S"))+i.optionalGroup(i.groupName(t,h.suffixGroup),"[?~%]")}static parseComponent(t,e,n){const r=h.componentParser.parse(t);return new e(r,n)}parseGroups(t){const e=t[h.quantityGroup(h.secondsGroup)];let n;e&&(n=h.parseComponent(e,P,lt.second),n.uncertain=!!t[i.groupName(y.uncertainGroup,h.secondsGroup)]||!1,n.approximate=!!t[i.groupName(y.approximateGroup,h.secondsGroup)]||!1);const r=t[h.quantityGroup(h.minutesGroup)];let o;r&&(o=h.parseComponent(r,D,lt.minute),o.uncertain=o.uncertain||n?.uncertain||!1,o.approximate=o.approximate||n?.approximate||!1);const a=t[h.quantityGroup(h.hoursGroup)];let u;a&&(u=h.parseComponent(a,Q,lt.hour),u.uncertain=u.uncertain||o?.uncertain||!1,u.approximate=u.approximate||o?.approximate||!1);const p=t[h.quantityGroup(h.daysGroup)];let c;p&&(c=h.parseComponent(p,Z,lt.day),c.uncertain=c.uncertain||u?.uncertain||!1,c.approximate=c.approximate||u?.approximate||!1);const f=t[h.quantityGroup(h.monthsGroup)]||t[h.quantityGroup(h.isoMonthsGroup)];let m;f&&(m=h.parseComponent(f,O,lt.month),m.uncertain=m.uncertain||c?.uncertain||!1,m.approximate=m.approximate||c?.approximate||!1);const b=t[h.quantityGroup(h.yearsGroup)];let g;b&&(g=h.parseComponent(b,K,lt.year),g.uncertain=g.uncertain||m?.uncertain||!1,g.approximate=g.approximate||m?.approximate||!1);const G=t[h.suffixGroup],S=!!t[i.groupName(y.uncertainAndApproximateGroup,h.durationGroup)]||G==="%",F=S||!!t[i.groupName(y.uncertainGroup,h.durationGroup)]||G==="?",M=S||!!t[i.groupName(y.approximateGroup,h.durationGroup)]||G==="~";return{years:g,months:m,days:c,hours:u,minutes:o,seconds:n,uncertain:F,approximate:M}}}const vr="dates",le="start",fe="end",bn="durations",ge="durationMin",we="durationMax";class ie extends L{static format=i.group(vr,i.optionalGroup(le,i.group("openStart","\\.\\.")+"|"+x.format(le))+"/"+i.optionalGroup(fe,i.group("openEnd","\\.\\.")+"|"+x.format(fe)))+"|"+i.group(bn,i.group(ge,h.format(ge))+"/"+i.group(we,h.format(we)));constructor(t="interval",e=ie.format){super(t,e)}parseGroups(t){let e,n;if(t[bn]){const o=t[ge];e=A.fromString(o,new h);const a=t[we];n=A.fromString(a,new h)}else{const o=t[le];switch(o){case void 0:e=null;break;case"..":e=void 0;break;default:e=z.fromString(o,new x)}const a=t[fe];switch(a){case void 0:n=null;break;case"..":n=void 0;break;default:n=z.fromString(a,new x)}}return{start:e,end:n}}}class Ar{parse(t){t=t.trim();const e=t.startsWith("["),r=t.substring(1,t.length-1).split(","),o=[];for(const a of r){let u;a.includes("..")?u=Ft.fromString(a.replace("..","/"),new ie):u=z.fromString(a,new x),o.push(u)}return{values:o,exclusive:e}}}d.register(z,()=>new x);d.register(Z,()=>new Kt);d.register(A,()=>new h);d.register(Q,()=>new Ot);d.register(Ft,()=>new ie);d.register(D,()=>new Qt);d.register(O,()=>new Jt);d.register(P,()=>new Zt);d.register(te,()=>new Ar);d.register(K,()=>new Wt);class Y{constructor(t){this.preferences=t}read(t){var e,n;if(t===void 0)return;if(typeof t=="string")return t===""?void 0:t;for(const o of this.preferences){const a=(e=t[o])!==null&&e!==void 0?e:t[Y.base(o)];if(a)return a}const r=new Set(this.preferences.map(o=>Y.base(o)));for(const[o,a]of Object.entries(t))if(a&&r.has(Y.base(o)))return a;return(n=Object.values(t).find(o=>o))!==null&&n!==void 0?n:void 0}write(t,e,n){var r,o;const a=e?.trim()?e.trim():void 0;if(t===void 0||typeof t=="string")return a;const u={...t},p=(o=(r=Object.keys(u).find(c=>c===n))!==null&&r!==void 0?r:Object.keys(u).find(c=>Y.base(c)===Y.base(n)))!==null&&o!==void 0?o:n;return a===void 0?delete u[p]:u[p]=a,Object.keys(u).length===0?void 0:u}static base(t){return t.toLowerCase().split("-")[0]}}Y.any=new Y([]);var Gn;(function(s){s.abductee="abductee",s.actor="actor",s.artist="artist",s.anthropologist="anthropologist",s.archeologist="archeologist",s.astronaut="astronaut",s.astronomer="astronomer",s.astrologist="astrologist",s.astrophysicist="astrophysicist",s.banker="banker",s.barman="barman",s.biologist="biologist",s.biochemist="biochemist",s.biophysicist="biophysicist",s.bishop="bishop",s.businessman="businessman",s.botanist="botanist",s.cameraman="cameraman",s.chemist="chemist",s.contactee="contactee",s.cryptozoologist="cryptozoologist",s.dentist="dentist",s.director="director",s.diplomat="diplomat",s.diver="diver",s.electronics="electronics",s.engineer="engineer",s.ethnologist="ethnologist",s.exobiologist="exobiologist",s.farmer="farmer",s.firefighter="firefighter",s.flightAttendant="flightAttendant",s.geologist="geologist",s.geophysicist="geophysicist",s.geographer="geographer",s.historian="historian",s.houseWife="houseWife",s.hypnotherapist="hypnotherapist",s.illusionist="illusionist",s.journalist="journalist",s.judge="judge",s.lawyer="lawyer",s.leader="leader",s.librarian="librarian",s.logger="logger",s.mathematician="mathematician",s.mechanic="mechanic",s.meteorologist="meteorologist",s.military="military",s.musician="musician",s.neurologist="neurologist",s.neuroscientist="neuroscientist",s.neuropsychiatrist="neuropsychiatrist",s.nurse="nurse",s.oceanographer="oceanographer",s.painter="painter",s.parapsychologist="parapsychologist",s.philosopher="philosopher",s.photographer="photographer",s.physician="physician",s.physicist="physicist",s.pilot="pilot",s.politician="politician",s.policeman="policeman",s.priest="priest",s.producer="producer",s.prospector="prospector",s.psychologist="psychologist",s.psychiatrist="psychiatrist",s.radioastronomer="radioastronomer",s.radioamateur="radioamateur",s.salesman="salesman",s.sailor="sailor",s.sociologist="sociologist",s.softwareEngineer="softwareEngineer",s.stuntman="stuntman",s.taxiDriver="taxiDriver",s.teacher="teacher",s.telegrapher="telegrapher",s.truckDriver="truckDriver",s.ufologist="ufologist",s.ufoWitness="ufoWitness",s.ufoWitness2="ufoWitness2",s.worker="worker",s.writer="writer"})(Gn||(Gn={}));var xn;(function(s){s.neutral="neutral",s.male="male",s.female="female"})(xn||(xn={}));const kr="modulepreload",$r=function(s,t){return new URL(s,t).href},Nn={},Lt=function(t,e,n){let r=Promise.resolve();if(e&&e.length>0){let a=function(f){return Promise.all(f.map(m=>Promise.resolve(m).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const u=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),c=p?.nonce||p?.getAttribute("nonce");r=a(e.map(f=>{if(f=$r(f,n),f in Nn)return;Nn[f]=!0;const m=f.endsWith(".css"),b=m?'[rel="stylesheet"]':"";if(!!n)for(let S=u.length-1;S>=0;S--){const F=u[S];if(F.href===f&&(!m||F.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${b}`))return;const G=document.createElement("link");if(G.rel=m?"stylesheet":kr,m||(G.as="script"),G.crossOrigin="",G.href=f,c&&G.setAttribute("nonce",c),document.head.appendChild(G),m)return new Promise((S,F)=>{G.addEventListener("load",S),G.addEventListener("error",()=>F(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(a){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=a,window.dispatchEvent(u),!u.defaultPrevented)throw a}return r.then(a=>{for(const u of a||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})};class Rr extends Error{constructor(t,e){super(t),this.cause=e}}class Me extends Rr{constructor(t=Me.defaultMessage,e){super(t,e)}}Me.defaultMessage="Assertion failed";var En;(function(s){s.country="country",s.region="region",s.department="department",s.city="city",s.company="company"})(En||(En={}));var Tn;(function(s){s.at="at",s.au="au",s.ar="ar",s.be="be",s.br="br",s.ca="ca",s.ch="ch",s.cn="cn",s.cl="cl",s.co="co",s.cy="cy",s.de="de",s.dk="dk",s.do="do",s.dz="dz",s.gr="gr",s.ec="ec",s.eg="eg",s.es="es",s.fi="fi",s.fr="fr",s.ga="ga",s.ge="ge",s.hu="hu",s.in="in",s.ie="ie",s.ir="ir",s.il="il",s.it="it",s.jp="jp",s.kr="kr",s.ma="ma",s.mx="mx",s.my="my",s.mz="mz",s.nl="nl",s.no="no",s.nz="nz",s.pa="pa",s.pe="pe",s.ph="ph",s.pl="pl",s.pt="pt",s.ro="ro",s.ru="ru",s.sc="sc",s.tr="tr",s.ua="ua",s.uk="uk",s.us="us",s.sa="sa",s.se="se",s.su="su",s.tn="tn",s.tw="tw",s.ve="ve",s.za="za"})(Tn||(Tn={}));class Fr extends Error{constructor(t,e,n){super(typeof e=="number"&&Number.isInteger(e)&&e>=1?`This ${t} file is in version ${e} of its format; this UFO@home reads version ${n}. Read it with the UFO@home that reads its version.`:`This ${t} file states ${JSON.stringify(e)} as its format version, which is not a version.`),this.format=t,this.found=e,this.supported=n,this.name="FormatVersionError"}said(t){return t.replace("{found}",typeof this.found=="number"?String(this.found):JSON.stringify(this.found)).replace("{supported}",String(this.supported))}}class et{static CURRENT={sighting:4,case:1,interview:1};static SCHEMA_BASE="https://ufoathome.org/schema";static schemaUrl(t,e=et.CURRENT[t]){return`${et.SCHEMA_BASE}/${e}/${t}.schema.json`}static of(t){if(typeof t!="object"||t===null)return 1;const e=t.version;return e===void 0?1:typeof e=="object"&&e!==null&&"value"in e?e.value:e}static recording(t){return et.check(t,"sighting")}static check(t,e){const n=et.of(t),r=et.CURRENT[e];if(typeof n!="number"||!Number.isInteger(n)||n!==r)throw new Fr(e,n,r);return t}}class J{static NAMES=["weather","place","lightPollution","decor"];static KEYS={weather:["weatherTrack","weatherSource"],place:["place"],lightPollution:["lightPollution"],decor:["decor"]};static annexName(t,e){return`${t}.${e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}.json`}static taken(t,e){const n={};if(t==="decor")return Array.isArray(e.decor)&&(n.decor=e.decor.filter(J.surveyed)),n;for(const r of J.KEYS[t])e[r]!==void 0&&(n[r]=e[r]);return n}static strip(t,e){if(t==="decor"){const n=Array.isArray(e.decor)?e.decor.filter(r=>!J.surveyed(r)):[];n.length>0?e.decor=n:delete e.decor;return}for(const n of J.KEYS[t])delete e[n]}static put(t,e,n){if(t==="decor"){if(!Array.isArray(n.decor))return;const r=Array.isArray(e.decor)?e.decor.filter(o=>!J.surveyed(o)):[];e.decor=[...r,...n.decor];return}for(const r of J.KEYS[t])n[r]!==void 0&&(e[r]=n[r])}static surveyed(t){return typeof t=="object"&&t!==null&&typeof t.origin=="string"}static fromFile(t,e){return t?.[e]!==void 0&&t[e].live!==!0}}class j{static files=new Map;static hold(t){for(const[e,n]of t)j.files.set(j.key(e),n)}static releaseCopies(){for(const[t,e]of j.files)e.local||j.files.delete(t)}static clear(){j.files.clear()}static localBase(){return new URL(`local/${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}/`,location.href).href}static read(t){const e=j.files.get(j.key(t));return e===void 0?void 0:structuredClone(e.json)}static changed(...t){return t.some(e=>e!==void 0&&j.files.get(j.key(e))?.changed===!0)}static local(t){return t!==void 0&&j.files.get(j.key(t))?.local===!0}static key(t){const e=new URL(t,location.href);return e.hash="",e.href}}class ft extends Error{constructor(t,e,n){super(`${t}: ${e}${n===void 0?"":` (HTTP ${n})`}`),this.kind=t,this.url=e,this.status=n,this.name="SightingFetchError"}}class ee{static async recording(t){const e=j.read(t);if(e!==void 0)return e;const n=await ee.json(t);for(const r of J.NAMES){const o=n?.snapshots?.[r];if(!(!o?.src||o.live))try{const a=et.recording(await ee.json(new URL(o.src,new URL(t,location.href)).href));J.put(r,n,a)}catch{}}return n}static async json(t){const e=new URL(t,location.href),n=j.read(e.href);if(n!==void 0)return n;if(location.protocol==="https:"&&e.protocol==="http:")throw new ft("mixed-content",t);let r;try{r=await fetch(t)}catch{throw await this.diagnose(t,e)}if(!r.ok)throw new ft("status",t,r.status);try{return await r.json()}catch{throw new ft("malformed",t)}}static async diagnose(t,e){if(e.origin===location.origin)return new ft("unreachable",t);try{return await fetch(t,{mode:"no-cors"}),new ft("cors",t)}catch{return new ft("unreachable",t)}}}function Vr(s,t){for(const e of s){const n=e.toLowerCase().split("-")[0];if(t.includes(n))return n}return"en"}class Ir{static preferencesFor(t){const e=navigator.languages??[],n=this.declaredFor(t);return n?[n,...e]:e}static declaredFor(t){for(let e=t;e;){const n=e.closest("[lang]")?.getAttribute("lang")?.trim();if(n)return n;const r=e.getRootNode();e=r instanceof ShadowRoot?r.host:void 0}}}const jr=["en","fr","es","it"];class ve{static catalog(t){const e=new Map;return{load(n){const r=ve.languageOf(n);let o=e.get(r);return o||(o=t[r](),e.set(r,o),o.catch(()=>e.delete(r))),o}}}static none(){return new Proxy({},{get:()=>""})}static blank(){const t=new Proxy(()=>t,{get:(e,n)=>n===Symbol.toPrimitive?()=>"":n===Symbol.iterator?function*(){}:n==="toString"||n==="valueOf"?()=>"":n==="then"?void 0:t,apply:()=>t,has:()=>!1,ownKeys:()=>[],getOwnPropertyDescriptor:()=>{}});return t}static languageOf(t){const e=t.toLowerCase().split("-")[0];return jr.includes(e)?e:"en"}}const Ur=["en","fr","es","it"],zr={en:()=>Lt(()=>import("./InterviewMessages_en-ru7GkZlQ.js"),[],import.meta.url).then(s=>s.interviewMessages_en),fr:()=>Lt(()=>import("./InterviewMessages_fr-DAYgf8Ms.js"),[],import.meta.url).then(s=>s.interviewMessages_fr),es:()=>Lt(()=>import("./InterviewMessages_es-DkJurNrG.js"),[],import.meta.url).then(s=>s.interviewMessages_es),it:()=>Lt(()=>import("./InterviewMessages_it-6lenkmSg.js"),[],import.meta.url).then(s=>s.interviewMessages_it)},Cr=ve.catalog(zr),Br="interviewseek";class v{static UNATTRIBUTED="unattributed";static read(t){return et.check(t,"interview")}static isProofread(t){const e=Object.keys(t.speakers);return e.length>0&&e.every(n=>{const r=t.proofreading?.[n]?.status;return r==="approved"||r==="covered"})}static said(t){return t.parts?t.parts.map(e=>"redacted"in e?"…":v.plain(e.text)).join(" "):t.redacted?void 0:v.plain(t.text??"")}static ENTITIES={amp:"&",lt:"<",gt:">",quot:'"',apos:"'",nbsp:" "};static plain(t){return/[<&]/.test(t)?t.replace(/<br\s*\/?>/gi,`
1
+ class C extends Error{}class ne{constructor(t){this.name=t}validate(t){return!0}}class vn extends ne{min;max;constructor(t,e,n){super(t),this.min=e,this.max=n}validate(t){if(typeof t!="number")throw new C(`${this.name} value must be a number, but was ${t}`);if(t<this.min||t>this.max)throw new C(`${this.name} value must be >= ${this.min} and <= ${this.max}, but was ${t}`);return super.validate(t)}}class N{name;min;max;duration;subUnit;validator;constructor(t,e,n,r,o=new vn(t,e,n)){this.name=t,this.min=e,this.max=n,this.subUnit=r,this.duration=r?(r.max-r.min+1)*r.duration:1,this.validator=o}validate(t){return this.validator.validate(t)}[Symbol.iterator](){let t=this.min;return{next:()=>{const e={done:t>this.max,value:t};return t++,e}}}}class ye{millisecond;second;minute;hour;day;month;year}class Un extends ye{}class An extends Un{millisecond=new N("millisecond",0,999,void 0);second=new N("second",0,59,this.millisecond);minute=new N("minute",0,59,this.second);hour=new N("hour",0,23,this.minute);day=new N("day",1,31,this.hour);month=new N("month",1,12,this.day);year=new N("year",0,9999,this.month)}const l=new An;class kn extends vn{constructor(t=1,e=12){super("month",t,e)}}class gt extends N{static Month28=new gt(28);static Month29=new gt(29);static ThirtyDays=new gt(30);static ThirtyOneDays=new gt(31);constructor(t,e=new kn(1,t)){super("month",1,t,l.day,e)}static create(t,e){switch(t){case 1:case 3:case 5:case 7:case 8:case 10:case 12:return this.ThirtyOneDays;case 2:return e%4===0?this.Month29:this.Month28;case 4:case 6:case 9:case 11:return this.ThirtyDays;default:throw new C("Unsupported month",t,e)}}}class H{static instance=new H;render(t){return t.value.toString()}}class I{unit;#t;constructor(t,e){this.unit=e,this.value=typeof t=="number"?t:t.value}get value(){return this.#t}set value(t){this.unit.validate(t),this.#t=t}get duration(){return this.value*this.unit.duration}#e(t){if(this.constructor.name!==t.constructor.name)throw new ne(`${this.unit.name} "${this.toString()}" cannot be compared with ${t.unit?.name} "${t.toString()}"`)}compare(t){return this.#e(t),this.value-t.value}isEqual(t){return this.compare(t)===0}isBefore(t){return this.compare(t)<0}isAfter(t){return this.compare(t)>0}previous(t=this.unit){const e=this.value-1;return new this.constructor(e,t)}next(t=this.unit){const e=this.value+1;return new this.constructor(e,t)}toString(t=H.instance){return t.render(this)}toSpec(){return{value:this.value}}toJSON(){return this.toSpec()}}class d{static#t=new Map;static register(t,e){d.#t.set(t,e)}static get(t){const e=d.#t.get(t);if(!e)throw new C(`No default parser registered for ${t.name}: import "@rr0/time/defaults" or pass a parser to fromString()`);return e()}}class bt extends I{constructor(t=new Date().getFullYear(),e=l.year){super(t,e)}static fromString(t,e=d.get(bt)){return new bt(e.parse(t))}}class W extends H{static default=new W("0",2);constructor(t,e){super(),this.char=t,this.size=e}render(t){return super.render(t).padStart(this.size,this.char)}}class Gt extends I{constructor(t=new Date().getMonth()+1,e=l.month){super(t,e)}static fromString(t,e=d.get(Gt)){return new Gt(e.parse(t))}toString(t=W.default){return super.toString(t)}}class xt extends I{constructor(t=new Date().getDate(),e=l.day){super(t,e)}static fromString(t,e=d.get(xt)){const n=e.parse(t);return new xt(n)}toString(t=W.default){return super.toString(t)}}class Nt extends I{constructor(t=new Date().getHours(),e=l.hour){super(t,e)}static fromString(t,e=d.get(Nt)){return new Nt(e.parse(t))}toString(t=W.default){return super.toString(t)}}class Et extends I{constructor(t=new Date().getMinutes(),e=l.minute){super(t,e)}static fromString(t,e=d.get(Et)){return new Et(e.parse(t))}toString(t=W.default){return super.toString(t)}}class Tt extends I{constructor(t=new Date().getSeconds(),e=l.second){super(t,e)}static fromString(t,e=d.get(Tt)){return new Tt(e.parse(t),l.second)}toString(t=W.default){return super.toString(t)}}class ct extends I{static renderer=new W("0",3);constructor(t,e=l.millisecond){super(t,e)}static parseFraction(t){return parseInt(t.padEnd(3,"0").substring(0,3),10)}toString(t=ct.renderer){return super.toString(t)}}class zn{render(t){return t.toString()}}class Cn extends zn{render(t){const e=t.value,n=Math.abs(e),r=Math.floor(n/60),o=n%60;if(r===0&&o===0)return"Z";{const a=e<0?"-":"+",u=r.toString().padStart(2,"0"),p=o>0?":"+o.toString().padEnd(2,"0"):"";return a+u+p}}}class ut{value;name="timeshift";renderer;constructor(t=0){this.value=t}static fromString(t,e=d.get(ut),n=void 0){const r=e.parse(t,n);return new ut(r)}toString(t=new Cn){return t.render(this)}toSpec(){return{value:this.value}}toJSON(){return this.toSpec()}}class V{static timeshift(t,e){return t+(V.isDaylight(e)?60:0)}static isDaylight(t){const{year:e,month:n,day:r}=t,o=t.hour??12;if(![e,n,r].every(Number.isInteger))throw new RangeError("Daylight saving time depends on the year, month and day");const a=V.rule(e);if(!a)return!1;const u=V.rank(n,r,o);return u>=V.rank(a.start.month,a.start.day,2)&&u<V.rank(a.end.month,a.end.day,2)}static rule(t){if(t<1967)return;const e={month:10,day:V.sunday(t,10,-1)};return t>=2007?{start:{month:3,day:V.sunday(t,3,2)},end:{month:11,day:V.sunday(t,11,1)}}:t>=1987?{start:{month:4,day:V.sunday(t,4,1)},end:e}:t===1975?{start:{month:2,day:23},end:e}:t===1974?{start:{month:1,day:6},end:e}:{start:{month:4,day:V.sunday(t,4,-1)},end:e}}static sunday(t,e,n){const r=new Date(Date.UTC(2e3,e-1,1));r.setUTCFullYear(t);const o=1+(7-r.getUTCDay())%7;if(n>0)return o+7*(n-1);const a=[31,V.isLeap(t)?29:28,31,30,31,30,31,31,30,31,30,31][e-1];let u=o;for(;u+7<=a;)u+=7;return u}static isLeap(t){return t%4===0&&(t%100!==0||t%400===0)}static rank(t,e,n){return(t*100+e)*100+n}}const Bn={name:"PST",timeshift:"-08",title:"Pacific Standard Time (US)"},qn={name:"PDT",timeshift:"-07",title:"Pacific Daylight Time (US)"},Hn={name:"MDT",timeshift:"-06",title:"Mountain Standard Time (US)"},Yn={name:"MST",timeshift:"-07",title:"Mountain Daylight Time (US)"},Xn={name:"PT",timeshift:s=>V.timeshift(-480,s),title:"Pacific Time (US)"},Wn={name:"MT",timeshift:s=>V.timeshift(-420,s),title:"Mountain Time (US)"},Jn={name:"CT",timeshift:s=>V.timeshift(-360,s),title:"Central Time (US)"},Kn={name:"ET",timeshift:s=>V.timeshift(-300,s),title:"Eastern Time (US)"},On={name:"CWT",timeshift:"-05",title:"Central War Time (US)"},Zn={name:"CDT",timeshift:"-05",title:"Central Daylight Time"},Qn={name:"EST",timeshift:"-05",title:"Eastern Standard Time (US)"},Dn={name:"EDT",timeshift:"-04",title:"Eastern Time (US)"},Pn={name:"AST",timeshift:"-04",title:"Atlantic Standard Time (US)"},Ln={name:"ADT",timeshift:"-03",title:"Atlantic Daylight Time (US)"},_n={name:"UTC",timeshift:"Z",title:"Coordinated Universal Time"},tr={name:"Z",timeshift:"Z",title:"UTC"},er={name:"GMT",timeshift:"Z",title:"Greenwich Mean Time"},nr={name:"BST",timeshift:"+01",title:"British Summer Time"},rr={name:"CEST",timeshift:"+02",title:"Central European Summer Time"},sr={name:"CET",timeshift:"+01",title:"Central European Time"},or={name:"MSK",timeshift:"+03",title:"Moscow Time (RU)"},ir={name:"IST",timeshift:"+05:30",title:"Indian Standard Time"},ar={name:"BJT",timeshift:"+08",title:"Beijing Time"},ur={name:"CST",timeshift:"-06",title:"Central Standard Time"},cr={name:"JST",timeshift:"+09",title:"Japan Standard Time"},mr={name:"AEST",timeshift:"+10",title:"Australian Eastern Standard Time"},dr={name:"NZST",timeshift:"+12",title:"New Zealand Standard Time"},pr={name:"LST",timeshift:"?",title:"Local Sideral Time"},$e=[Ln,mr,Pn,ar,nr,ur,Zn,sr,rr,Jn,On,Dn,Qn,Kn,er,ir,cr,pr,Hn,or,Yn,Wn,dr,qn,Bn,Xn,_n,tr];class re{static instance=new re;renderComponent(t,e){return t[e].toString()}renderSecond(t){return this.renderComponent(t,"second")+(t.millisecond?"."+t.millisecond.toString():"")}render(t){const e=[];t.year&&e.push(this.renderComponent(t,"year")),t.month&&e.push(this.renderComponent(t,"month")),t.day&&e.push(this.renderComponent(t,"day"));const n=[];t.hour&&n.push(this.renderComponent(t,"hour")),t.minute&&n.push(this.renderComponent(t,"minute")),t.second&&n.push(this.renderSecond(t));const r=e.join("-"),o=t.timeshift?t.timeshift.toString():"",a=n.join(":")+o;return r+(a.length>0?"T"+a:"")}}class mt extends C{constructor(t="method is abstract"){super(t)}}class be{units;constructor(t){this.units=t}newYear(t){throw new mt}newMonth(t){throw new mt}newDay(t){throw new mt}newHour(t){throw new mt}newMinute(t){throw new mt}newSecond(t){throw new mt}}class hr extends ye{millisecond=new N("milliseconds",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,void 0);second=new N("seconds",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.millisecond);minute=new N("minutes",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.second);hour=new N("hours",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.minutes);day=new N("days",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.hour);month=new N("months",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.day);year=new N("years",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.month)}const Dt=new hr;class se{static instance=new se;render(t){const e=q.toSpec(t);let n="P";const r=e.years;r&&(n+=r.toString()+"Y");const o=e.months;o&&(n+=o.toString(H.instance)+"MM");const a=e.days;a&&(n+=a.toString(H.instance)+"D");const u=e.hours;u&&(n+=u.toString(H.instance)+"H");const p=e.minutes;p&&(n+=p.toString(H.instance)+"M");const c=e.seconds;return c&&(n+=c.toString(H.instance)+"S"),n}}class q extends I{constructor(t={years:new Date().getFullYear(),months:new Date().getMonth(),days:new Date().getDate(),hours:new Date().getHours(),minutes:new Date().getMinutes(),seconds:new Date().getSeconds(),milliseconds:new Date().getMilliseconds()}){super({value:typeof t=="number"?t:+(t.years?t.years*l.year.duration:0)+(t.months?t.months*l.month.duration:0)+(t.days?t.days*l.day.duration:0)+(t.hours?t.hours*l.hour.duration:0)+(t.minutes?t.minutes*l.minute.duration:0)+(t.seconds?t.seconds*l.second.duration:0)},new N("millisecond",0,Number.MAX_SAFE_INTEGER,void 0))}static toSpec(t,e=fr){let n=typeof t=="number"?t:t.value;const r=n>0?1:-1;n=Math.abs(n);const o={},a=n/l.year.duration,u=Math.floor(a);u>0&&(o.years=e.newYear(r*u),n-=u*l.year.duration);const p=n/l.month.duration,c=Math.floor(p);c>0&&(o.months=e.newMonth(r*c),n-=c*l.month.duration);const f=n/l.day.duration,m=Math.floor(f);m>0&&(o.days=e.newDay(r*m),n-=m*l.day.duration);const b=n/l.hour.duration,g=Math.floor(b);g>0&&(o.hours=e.newHour(r*g),n-=g*l.hour.duration);const G=n/l.minute.duration,S=Math.floor(G);S>0&&(o.minutes=e.newMinute(r*S),n-=S*l.minute.duration);const F=n/l.second.duration,M=Math.floor(r*F);return M>0&&(o.seconds=e.newSecond(M)),o}static fromString(t,e=d.get(q)){return new q(e.parse(t))}static between(t,e){const n=e.getTime(),r=t.getTime();return new q(n-r)}toSpec(){return q.toSpec(this)}toString(t=se.instance){return t.render(this)}}class $n extends be{constructor(t){super(t)}newYear(t){return new bt(t,this.units.year)}newMonth(t){return new Gt(t,this.units.month)}newDay(t){return new xt(t,this.units.day)}newHour(t){return new Nt(t,this.units.hour)}newMinute(t){return new Et(t,this.units.minute)}newSecond(t){return new Tt(t,this.units.second)}newMillisecond(t){return new ct(t,this.units.millisecond)}newTimeshift(t){return new ut(typeof t=="number"?t:t.value)}}const lr=new $n(l),fr=new $n(Dt);class R{#t;#e;#n;#r;#s;#o;#i;#a;constructor(t={year:new Date().getFullYear(),month:new Date().getMonth()+1,day:new Date().getDate(),hour:new Date().getHours(),minute:new Date().getMinutes(),second:new Date().getSeconds(),timeshift:R.timeshiftOf(new Date)}){this.year=t.year,this.month=t.month,this.day=t.day,this.hour=t.hour,this.minute=t.minute,this.second=t.second,this.millisecond=t.millisecond,this.timeshift=t.timeshift}get year(){return this.#t}set year(t){const e=typeof t=="number";this.#t&&e?this.#t.value=t:this.#t=e?this.factory.newYear(t):!t||t.start||t instanceof I?t:this.factory.newYear(t)}get month(){return this.#e}set month(t){const e=typeof t=="number";this.#e&&e?this.#e.value=t:this.#e=e?this.factory.newMonth(t):!t||t.start||t instanceof I?t:this.factory.newMonth(t)}get day(){return this.#n}set day(t){const e=typeof t=="number";this.#n&&e?this.#n.value=t:this.#n=e?this.factory.newDay(t):!t||t.start||t instanceof I?t:this.factory.newDay(t)}get hour(){return this.#r}set hour(t){const e=typeof t=="number";this.#r&&e?this.#r.value=t:this.#r=e?this.factory.newHour(t):!t||t.start||t instanceof I?t:this.factory.newHour(t)}get minute(){return this.#s}set minute(t){const e=typeof t=="number";this.#s&&e?this.#s.value=t:this.#s=e?this.factory.newMinute(t):!t||t.start||t instanceof I?t:this.factory.newMinute(t)}get second(){return this.#o}set second(t){const e=typeof t=="number";this.#o&&e?this.#o.value=t:this.#o=e?this.factory.newSecond(t):!t||t.start||t instanceof I?t:this.factory.newSecond(t)}get millisecond(){return this.#i}set millisecond(t){const e=typeof t=="number";this.#i&&e?this.#i.value=t:this.#i=e||t&&!(t instanceof I)?this.factory.newMillisecond(t):t}get timeshift(){return this.#a}set timeshift(t){const e=typeof t=="number";this.#a&&e?this.#a.value=t:this.#a=e||t&&!(t instanceof ut)?this.factory.newTimeshift(t):t}get factory(){return lr}static fromString(t,e=d.get(R)){const{year:n,month:r,day:o,hour:a,minute:u,second:p,millisecond:c,timeshift:f}=e.parse(t);return new R({year:n,month:r,day:o,hour:a,minute:u,second:p,millisecond:c,timeshift:f})}static timeshiftOf(t){return-t.getTimezoneOffset()||0}static fromDate(t){return new R({year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),timeshift:R.timeshiftOf(t)})}static newInstance(){const t=new Date().toISOString(),e=t.indexOf("."),n=t.substring(0,e)+t.substring(e+4);return R.fromString(n)}#u(t){if(this.constructor.name!==t.constructor.name)throw new ne(`Date "${this.toString()}" cannot be compared with "${t.toString()}"`)}compare(t){return this.#u(t),this.getTime()-t.getTime()}delta(t){const e=this.compare(t);return new q(e)}getTime(){return(this.year?.duration||0)+(this.month?.duration||0)+(this.day?.duration||0)+(this.hour?.duration||0)+(this.minute?.duration||0)+(this.second?.duration||0)+(this.millisecond?.duration||0)}isEqual(t){return this.compare(t)===0}isBefore(t){return this.compare(t)<0}isAfter(t){return this.compare(t)>0}clone(){return new R(this.toSpec())}previous(){let t=this.clone();try{t.second=this.second.previous()}catch{try{t.minute=this.minute.previous()}catch{try{t.hour=this.hour.previous()}catch{try{t.day=this.day.previous()}catch{try{t.month=this.month.previous()}catch{t.year=this.year.previous()}}}}}return t}next(){let t=this.clone();try{t.second=this.second.next()}catch{try{t.minute=this.minute.next()}catch{try{t.hour=this.hour.next()}catch{try{t.day=this.day.next()}catch{try{t.month=this.month.next()}catch{t.year=this.year.next()}}}}}return t}toString(t=re.instance){return t.render(this)}toSpec(){const t={},e=this.year?.toSpec();e&&(t.year=e);const n=this.month?.toSpec();n&&(t.month=n);const r=this.day?.toSpec();r&&(t.day=r);const o=this.hour?.toSpec();o&&(t.hour=o);const a=this.minute?.toSpec();a&&(t.minute=a);const u=this.second?.toSpec();u&&(t.second=u);const p=this.millisecond?.toSpec();p&&(t.millisecond=p);const c=this.timeshift?.toSpec();return c&&(t.timeshift=c),t}toJSON(){return this.toSpec()}}class Ge{static instance=new Ge;render(t){return(t.start?t.start.toString():"")+"/"+(t.end?t.end.toString():"")}}class $t{constructor(t,e){this.start=t,this.end=e}_start;get start(){return this._start}set start(t){if(typeof t=="string"&&(t=R.fromString(t)),t&&!(t instanceof R)&&!(t instanceof q))throw new C("Interval start is not a level 0 date or duration: "+t);this._start=t}_end;get end(){return this._end}set end(t){if(typeof t=="string"&&(t=R.fromString(t)),t&&!(t instanceof R)&&!(t instanceof q))throw new C("Interval end is not a level 0 date or duration: "+t);this._end=t}static fromString(t,e=d.get($t)){const{start:n,end:r}=e.parse(t);return new $t(n,r)}toString(t=Ge.instance){return t.render(this)}[Symbol.iterator](){let t=this.start;return{next:()=>{const e={done:t>this.end,value:t};return t++,e}}}}class Pt extends H{static instance=new Pt(W.default);constructor(t){super(),this.valueRenderer=t}render(t){return(this.valueRenderer?this.valueRenderer.render(t):super.render(t))+this.qualifier(t)}qualifier(t){return t.uncertain?t.approximate?"%":"?":t.approximate?"~":""}}class X extends I{#t;#e;constructor(t,e){super(t,e),this.#t=t.uncertain||!1,this.#e=t.approximate||!1}get uncertain(){return this.#t}set uncertain(t){return this.#t=t}get approximate(){return this.#e}set approximate(t){return this.#e=t}isCertainAndPrecise(){return!this.approximate&&!this.uncertain}isEqual(t){return this.isCertainAndPrecise()&&super.isEqual(t)}isBefore(t){return this.isCertainAndPrecise()&&super.isBefore(t)}isAfter(t){return this.isCertainAndPrecise()&&super.isAfter(t)}toString(t=Pt.instance){return super.toString(t)}toSpec(){return{...super.toSpec(),uncertain:this.uncertain,approximate:this.approximate}}toJSON(){return this.toSpec()}}class Rn extends An{year=new N("year",-9999,9999,this.month);yearExtended=new N("year",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.month)}const _t=new Rn;class nt extends X{constructor(t,e=_t.year){super(t,e)}static fromString(t,e=_t.year,n=d.get(nt)){const r=n.parse(t),o=r.value.start;if(t.startsWith("Y")&&(e=_t.yearExtended),o!==void 0){const a=new nt(Object.assign({...r},{value:Math.max(o,e.min)})),u=new nt(Object.assign({...r},{value:Math.min(r.value.end,e.max)}));return{start:a,end:u}}else return new nt(r,e)}}class Fn extends ne{monthValidator=new kn;validate(t){switch(t){case 21:case 22:case 23:case 24:return!0;default:return this.monthValidator.validate(t)}}}class rt extends X{constructor(t,e=new N(l.month.name,1,24,l.day,new Fn)){super(t,e)}static fromString(t,e=d.get(rt)){const n=e.parse(t),r=n.value.start;if(r!==void 0){let o=l.month;const a=new rt(Object.assign({...n},{value:Math.max(r,o.min)})),u=new rt(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new rt(n)}toString(t){return super.toString(t).padStart(2,"0")}}class st extends X{constructor(t,e=l.day){super(t,e)}static fromString(t,e=d.get(st)){const n=e.parse(t),r=n.value.start;if(r!==void 0){let o=l.day;const a=new st(Object.assign({...n},{value:Math.max(r,o.min)})),u=new st(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new st(n)}toString(t){return super.toString(t).padStart(2,"0")}}class ot extends X{constructor(t,e=l.hour){super(t,e)}static fromString(t,e=d.get(ot)){const n=e.parse(t),r=n.value.start;if(r!==void 0){let o=l.hour;const a=new ot(Object.assign({...n},{value:Math.max(r,o.min)})),u=new ot(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new ot(n)}}class it extends X{constructor(t,e=l.minute){super(t,e)}static fromString(t,e=d.get(it)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.minute,a=new it(Object.assign({...n},{value:Math.max(r,o.min)})),u=new it(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new it(n)}toString(t=Pt.instance){return super.toString(t)}}class at extends X{constructor(t,e=l.second){super(t,e)}static fromString(t,e=d.get(at)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.second,a=new at(Object.assign({...n},{value:Math.max(r,o.min)})),u=new at(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new at(n)}}class ht extends ut{static fromString(t,e=d.get(ht),n=void 0){return new ht(e.parse(t,n))}}class Vn extends be{constructor(t){super(t)}newYear(t){return new nt(t,this.units.year)}newMonth(t){return new rt(t,this.units.month)}newDay(t){return new st(t,this.units.day)}newHour(t){return new ot(t,this.units.hour)}newMinute(t){return new it(t,this.units.minute)}newSecond(t){return new at(t,this.units.second)}newMillisecond(t){return new ct(t,this.units.millisecond)}newTimeshift(t){return new ht(typeof t=="number"?t:t.value)}}const gr=new Vn(_t),wr=new Vn(Dt);class U extends R{constructor(t){super(t)}get factory(){return gr}get uncertain(){return this.year?.uncertain===!0||this.month?.uncertain===!0||this.day?.uncertain===!0||this.hour?.uncertain===!0||this.minute?.uncertain===!0||this.second?.uncertain===!0}get approximate(){return this.year?.approximate===!0||this.month?.approximate===!0||this.day?.approximate===!0||this.hour?.approximate===!0||this.minute?.approximate===!0||this.second?.approximate===!0}static fromDate(t){return new U({year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),timeshift:R.timeshiftOf(t)})}static fromString(t,e=d.get(U)){const n=e.parse(t);return new U(n)}static newInstance(){const t=new Date().toISOString(),e=t.indexOf("."),n=t.substring(0,e)+t.substring(e+4);return U.fromString(n)}clone(){return new U(this.toSpec())}}const $=Object.freeze({year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",timeshift:"timeshift",uncertain:"uncertain",approximate:"approx"});class oe extends se{static instance=new oe;render(t){return super.render(t)}}class k extends X{constructor(t){super(typeof t=="number"||t.hasOwnProperty("value")?t:{value:k.getValue(t,$.year)+k.getValue(t,$.month)+k.getValue(t,$.day)+k.getValue(t,$.hour)+k.getValue(t,$.minute)+k.getValue(t,$.second),uncertain:k.getBoolean(t,$.uncertain),approximate:k.getBoolean(t,"approximate")},Dt.millisecond)}static getBoolean(t,e){return t[e]||t[$.year+"s"]?.[e]||t[$.month+"s"]?.[e]||t[$.day+"s"]?.[e]||t[$.hour+"s"]?.[e]||t[$.minute+"s"]?.[e]||t[$.second+"s"]?.[e]||!1}static getValue(t,e){let n=0,r=t[e+"s"];if(r instanceof X?r=r.value:typeof t=="number"&&(r=t),r){const o=l[e];n=r*o.duration}return n}static toSpec(t,e=wr){return{...q.toSpec(t,e),uncertain:t.uncertain||!1,approximate:t.approximate||!1}}static fromString(t,e=d.get(k)){const n=e.parse(t);return new k(n)}static between(t,e){const n=e.getTime(),r=t.getTime();return new k(n-r)}toString(t=oe.instance){return super.toString(t)}toSpec(){return k.toSpec(this)}}class Rt extends $t{constructor(t,e){super(t,e)}get start(){return this._start}set start(t){if(typeof t=="string"&&(super.start=U.fromString(t)),t&&!(t instanceof U)&&!(t instanceof k))throw new C("Interval start is not a level 1 date or duration: "+t);this._start=t}get end(){return this._end}set end(t){if(typeof t=="string"&&(t=U.fromString(t)),t&&!(t instanceof U)&&!(t instanceof k))throw new C("Interval end is not a level 1 date or duration: "+t);this._end=t}static fromString(t,e=d.get(Rt)){const{start:n,end:r}=e.parse(t);return new Rt(n,r)}}class vt extends X{uncertainComponent;approximateComponent;constructor(t,e){super(t,e),this.uncertainComponent=t.uncertainComponent||!1,this.approximateComponent=t.approximateComponent||!1}get uncertain(){return super.uncertain||this.uncertainComponent}set uncertain(t){return super.uncertain=t}get approximate(){return super.approximate||this.approximateComponent}set approximate(t){return super.approximate=t}get uncertainGroup(){return super.uncertain}get approximateGroup(){return super.approximate}toSpec(){return{...super.toSpec(),uncertain:this.uncertainGroup,approximate:this.approximateGroup,uncertainComponent:this.uncertainComponent,approximateComponent:this.approximateComponent}}toJSON(){return this.toSpec()}}class Sr extends Rn{year=new N("year",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,this.month)}const Se=new Sr;class K extends vt{constructor(t,e=Se.year){super(t,e)}static fromString(t,e=Se.year,n=d.get(K)){const r=n.parse(t),o=r.value.start;if(o!==void 0){const a=new K(Object.assign({...r},{value:Math.max(o,e.min)})),u=new K(Object.assign({...r},{value:Math.min(r.value.end,e.max)})),p={start:a,end:u},c=r.value.estimate;return c&&(p.estimate=c),p}else return new K(r)}}class yr extends Fn{validate(t){switch(t){case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:return!0;default:return super.validate(t)}}}class O extends vt{constructor(t,e=new N(l.month.name,1,41,l.day,new yr)){super(t,e)}static fromString(t,e=d.get(O)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.month,a=new O(Object.assign({...n},{value:Math.max(r,o.min)})),u=new O(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new O(n)}toString(t){return super.toString(t).padStart(2,"0")}}class Z extends vt{constructor(t,e=l.day){super(t,e)}static fromString(t,e=d.get(Z)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.day,a=new Z(Object.assign({...n},{value:Math.max(r,o.min)})),u=new Z(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new Z(n)}toString(t){return super.toString(t).padStart(2,"0")}}class Q extends vt{constructor(t,e=l.hour){super(t,e)}static fromString(t,e=d.get(Q)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.hour,a=new Q(Object.assign({...n},{value:Math.max(r,o.min)})),u=new Q(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new Q(n)}}class D extends vt{constructor(t,e=l.minute){super(t,e)}static fromString(t,e=d.get(D)){const n=e.parse(t),r=n.value.start;if(r!==void 0){const o=l.minute,a=new D(Object.assign({...n},{value:Math.max(r,o.min)})),u=new D(Object.assign({...n},{value:Math.min(n.value.end,o.max)}));return{start:a,end:u}}else return new D(n)}}class P extends vt{constructor(t,e=l.second){super(t,e)}static fromString(t,e=l.second,n=d.get(P)){const r=n.parse(t),o=r.value.start;if(o!==void 0){const a=new P(Object.assign({...r},{value:Math.max(o,e.min)})),u=new P(Object.assign({...r},{value:Math.min(r.value.end,e.max)}));return{start:a,end:u}}else return new P(r,e)}}class In extends ht{}class br extends Pt{qualifier(){return""}}class tt extends re{static instance=new tt;static valueRenderer=new br(W.default);static names=["year","month","day","hour","minute","second"];static qualifier(t,e){return t?e?"%":"?":e?"~":""}renderComponent(t,e){const n=t[e],r=tt.names.slice(tt.names.indexOf(e)+1).map(u=>t[u]).filter(Boolean),o=tt.qualifier(n.uncertainComponent,n.approximateComponent),a=tt.qualifier(n.uncertainGroup&&!n.uncertainComponent&&!r.some(u=>u.uncertain),n.approximateGroup&&!n.approximateComponent&&!r.some(u=>u.approximate));return o+n.toString(tt.valueRenderer)+a}}class jn extends be{constructor(t){super(t)}newYear(t){return new K(t,this.units.year)}newMonth(t){return new O(t,this.units.month)}newDay(t){return new Z(t,this.units.day)}newHour(t){return new Q(t,this.units.hour)}newMinute(t){return new D(t,this.units.minute)}newSecond(t){return new P(t,this.units.second)}newMillisecond(t){return new ct(t,this.units.millisecond)}newTimeshift(t){return new In(typeof t=="number"?t:t.value)}}const Gr=new jn(Se),xr=new jn(Dt);class z extends U{constructor(t){super(t)}toString(t=tt.instance){return super.toString(t)}get year(){return super.year}set year(t){super.year=t}get month(){return super.month}set month(t){super.month=t}get factory(){return Gr}static fromDate(t){return new z({year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),timeshift:R.timeshiftOf(t)})}static fromString(t,e=d.get(z)){const n=e.parse(t);return new z(n)}static newInstance(){const t=new Date().toISOString(),e=t.indexOf("."),n=t.substring(0,e)+t.substring(e+4);return z.fromString(n)}clone(){return new z(this.toSpec())}}class L{regExp;constructor(t,e){this.name=t,this.regExp=new RegExp(`^(?:${e})$`)}regexGroups(t){const e=this.regExp.exec(t);if(!e)throw new C(`Invalid ${this.name} "${t}"`);return e.groups}parseGroups(t){throw new mt(`${this.constructor.name} is abstract`)}parse(t){const e=this.regexGroups(t);return this.parseGroups(e)}}class wt extends oe{static instance=new wt;static designators=[["years","Y"],["months","MM"],["days","D"],["hours","H"],["minutes","M"],["seconds","S"]];static qualifier(t,e){return t?e?"%":"?":e?"~":""}render(t){const e=wt.qualifier(t.uncertainDuration,t.approximateDuration);if(!t.hasQualifiedComponent)return e+super.render(t);let n=e+"P";for(const[r,o]of wt.designators){const a=t.components[r];a&&(n+=wt.qualifier(a.uncertainComponent,a.approximateComponent)+a.value+o)}return n}}class A extends k{#t;constructor(t){if(super(typeof t=="number"?t:{value:A.valueFromSpec(t),uncertain:t.uncertain===!0,approximate:t.approximate===!0},Dt.millisecond),typeof t!="number"){const e={};for(const n of A.componentNames)t[n]instanceof X&&(e[n]=t[n]);Object.keys(e).length>0&&(this.#t=e)}}static componentNames=["years","months","days","hours","minutes","seconds"];get components(){return this.#t}#e(t){return this.#t?Object.values(this.#t).some(e=>e[t]):!1}get uncertainDuration(){return super.uncertain}get approximateDuration(){return super.approximate}get uncertain(){return super.uncertain||this.#e("uncertain")}set uncertain(t){super.uncertain=t}get approximate(){return super.approximate||this.#e("approximate")}set approximate(t){super.approximate=t}get hasQualifiedComponent(){return this.#t?Object.values(this.#t).some(t=>t.uncertainComponent||t.approximateComponent):!1}static valueFromSpec(t){return A.getValue(t,$.year)+A.getValue(t,$.month)+A.getValue(t,$.day)+A.getValue(t,$.hour)+A.getValue(t,$.minute)+A.getValue(t,$.second)}static toSpec(t,e=xr){const n=k.toSpec(t,e);if(t instanceof A&&t.hasQualifiedComponent)for(const r of A.componentNames)delete n[r],t.components[r]&&(n[r]=t.components[r]);return n}static fromString(t,e=d.get(A)){const n=e.parse(t);return new A(n)}static between(t,e){const n=e.getTime(),r=t.getTime();return new A(n-r)}toSpec(){return A.toSpec(this)}toString(t=wt.instance){return super.toString(t)}}class Ft extends Rt{get start(){return this._start}set start(t){if(typeof t=="string"&&(super.start=z.fromString(t)),t&&!(t instanceof z)&&!(t instanceof A))throw new C("Interval start is not a level 2 date or duration: "+t);this._start=t}get end(){return this._end}set end(t){if(typeof t=="string"&&(t=z.fromString(t)),t&&!(t instanceof z)&&!(t instanceof A))throw new C("Interval end is not a level 2 date or duration: "+t);this._end=t}static fromString(t,e=d.get(Ft)){const{start:n,end:r}=e.parse(t);return new Ft(n,r)}}class te extends Set{constructor(t,e){super(t),this.exclusive=e}has(t){const e=t.toString().replace("..","/");for(const n of this)if(n.toString()===e)return!0;return!1}static fromString(t,e=d.get(te)){const{exclusive:n,values:r}=e.parse(t);return new te(r,n)}}class _ extends L{constructor(t,e){super(t,e)}static read(t){return{value:t?parseInt(t,10):void 0}}parseGroups(t){return _.read(t[this.name])}parse(t){if(t.startsWith("-"))throw new C(`${this.name} cannot be negative`);return super.parse(t)}}class i{static groupName(...t){return t.reduce((e,n)=>e?e+n.charAt(0).toUpperCase()+n.substring(1):n,"")}static group(t,...e){return`(?<${t}>${e.join("")})`}static optional(t){return t+"?"}static nonCapturingGroup(...t){return`(?:${t.join("")})`}static optionalGroup(t,...e){return i.optional(i.group(t,...e))}static optionalNonCapturingGroup(...t){return i.optional(i.nonCapturingGroup(...t))}static numberGroup(t,e,n,r="\\d"){return i.group(t,`${n||""}[${r}]${e}`)}}const Re="yearValue";class Vt extends _{static format(t=""){return i.numberGroup(i.groupName(t,Re),"{4}",void 0)}constructor(){super(Re,Vt.format())}}const Fe="monthValue";class It extends _{static format(t=""){return i.numberGroup(i.groupName(t,Fe),"{1,2}",void 0)}constructor(){super(Fe,It.format())}}const Ve="dayValue";class St extends _{static format(t=""){return i.numberGroup(i.groupName(t,Ve),"{1,2}",void 0)}constructor(){super(Ve,St.format())}}const Ie="hourValue";class yt extends _{static format(t=""){return i.numberGroup(i.groupName(t,Ie),"{1,2}",void 0)}constructor(){super(Ie,yt.format())}}const je="minuteValue";class jt extends _{static format(t=""){return i.numberGroup(i.groupName(t,je),"{1,2}",void 0)}constructor(){super(je,jt.format())}}const Ue="secondValue";class Ut extends _{static format(t=""){return i.numberGroup(i.groupName(t,Ue),"{1,2}",void 0)}constructor(){super(Ue,Ut.format())}}const ze="timeshiftValue",Ce="shiftHour",Be="shiftMinute";class Mt extends L{static format(t=""){return $e.map(e=>e.name).join("|")+"|"+i.nonCapturingGroup(i.group(t+Ce,i.numberGroup(i.groupName(t,ze),"{2}","[+-]")),i.optionalNonCapturingGroup(":?",i.numberGroup(i.groupName(t,Be),"{2}",void 0)))}constructor(){super(ze,Mt.format())}parse(t,e){let n=0;const r=$e.find(o=>o.name===t);if(r){if(typeof r.timeshift=="function")try{return r.timeshift(e??{})}catch(o){throw new C(`The time zone ${t} depends on the date: ${o.message}`)}t=r.timeshift}if(t!=="Z"){const o=this.regexGroups(t),a=o[Ce];a&&(n+=parseInt(a,10)*60);const u=o[Be];u&&(n+=parseInt(u,10))}return n}}const qe="year",He="month",Ye="day",Xe="hour",We="minute",Je="second",Ke="millisecond",Oe="timeshift";class dt extends L{static format(t=""){return i.group(i.groupName(t,qe),Vt.format(t))+i.optionalNonCapturingGroup("-",i.group(i.groupName(t,He),It.format(t)),i.optionalNonCapturingGroup("-",i.group(i.groupName(t,Ye),St.format(t)),i.optionalNonCapturingGroup("[T ]",i.group(i.groupName(t,Xe),yt.format(t)),":?",i.group(i.groupName(t,We),jt.format(t)),i.optionalNonCapturingGroup(":",i.group(i.groupName(t,Je),Ut.format(t)),i.optionalNonCapturingGroup("[.,]",i.group(i.groupName(t,Ke),"\\d+"))),"\\s*",i.optionalGroup(i.groupName(t,Oe),Mt.format(t)))))}constructor(){super("date",dt.format())}parse(t){const e=this.regexGroups(t),n=e[qe],r=e[He],o=e[Ye],a=e[Xe],u=e[We],p=e[Je],c=e[Ke],f=e[Oe],m=n?new bt(Vt.read(n)):void 0,b=r?It.read(r):void 0;return{year:m,month:b?new Gt(b,gt.create(b.value,m?.value)):void 0,day:o?new xt(St.read(o)):void 0,hour:a?new Nt(yt.read(a)):void 0,minute:u?new Et(jt.read(u)):void 0,second:p?new Tt(Ut.read(p)):void 0,millisecond:c?ct.parseFraction(c):void 0,timeshift:f?ut.fromString(f,new Mt,{year:m?.value,month:b?.value,day:o?St.read(o).value:void 0,hour:a?yt.read(a).value:void 0}):void 0}}}const Ze="years",ae="months",Nr="days",Qe="hours",De="minutes",Pe="seconds";class xe extends L{static format(t=""){return"P"+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Ze),"+",void 0,"\\d"),"Y")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,ae),"+",void 0,"\\d"),"MM")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Nr),"+",void 0,"\\d"),"D")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Qe),"+",void 0,"\\d"),"H")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,De),"+",void 0,"\\d"),"M")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,Pe),"+",void 0,"\\d"),"S")}constructor(){super("duration",xe.format())}parseGroups(t){return{years:t[Ze],months:t[ae],days:t[ae],hours:t[Qe],minutes:t[De],seconds:t[Pe]}}}const ue="start",ce="end";class Ne extends L{static format=i.group(ue,dt.format(ue))+"/"+i.group(ce,dt.format(ce));constructor(){super("interval",Ne.format)}parse(t){const e=this.regexGroups(t),n=e[ue],r=e[ce];return{start:n?R.fromString(n,new dt):void 0,end:r?R.fromString(r,new dt):void 0}}}d.register(R,()=>new dt);d.register(xt,()=>new St);d.register(q,()=>new xe);d.register(Nt,()=>new yt);d.register($t,()=>new Ne);d.register(Et,()=>new jt);d.register(Gt,()=>new It);d.register(Tt,()=>new Ut);d.register(ut,()=>new Mt);d.register(bt,()=>new Vt);class E extends _{static uncertainGroup="uncertain";static approximateGroup="approx";static uncertainAndApproximateGroup=E.uncertainGroup+E.approximateGroup;constructor(t,e){super(t,e)}static qualifierFormat(t,e){return i.optionalGroup(t,`\\${e}`)}static formatSuffix(t){return this.qualifierFormat(i.groupName(E.uncertainGroup,t),"?")+this.qualifierFormat(i.groupName(E.approximateGroup,t),"~")+this.qualifierFormat(i.groupName(E.uncertainAndApproximateGroup,t),"%")}static numberFormat(t,e,n){return i.numberGroup(t,e,n,"\\dX")+this.formatSuffix(t)}getValueAndSign(t){let e=t[this.name],n;return e.charAt(0)==="-"?(n=-1,e=e.substring(1)):n=1,{valueStr:e,sign:n}}parseGroups(t){const{valueStr:e,sign:n}=this.getValueAndSign(t);let r=0,o;for(o=0;o<e.length;o++){const c=e[o];if(c==="X")break;r=r*10+parseInt(c,10)}if(o<e.length){let c=1;for(let b=0;b<e.length-o;b++)c*=10;const f=n*r*c,m=f+c-1;r={start:f,end:m}}else r*=n;const a=t[i.groupName(E.uncertainAndApproximateGroup,this.name)],u=t[i.groupName(E.approximateGroup,this.name)]||a,p=t[i.groupName(E.uncertainGroup,this.name)]||a;return{value:r,approximate:u?!!u:!1,uncertain:p?!!p:!1}}}const Le="yearValue";class zt extends E{constructor(){super(Le,zt.format())}static format(t=""){return"Y?"+E.numberFormat(i.groupName(t,Le),"+","[-]?")}parse(t){const e=this.regexGroups(t);return this.parseGroups(e)}}const _e="monthValue";class Ct extends E{static format(t=""){return E.numberFormat(i.groupName(t,_e),"{1,2}",void 0)}constructor(){super(_e,Ct.format())}}const tn="dayValue";class Bt extends E{static format(t=""){return E.numberFormat(i.groupName(t,tn),"{1,2}",void 0)}constructor(){super(tn,Bt.format())}}const en="hourValue";class qt extends E{static format(t=""){return E.numberFormat(i.groupName(t,en),"{1,2}",void 0)}constructor(){super(en,qt.format())}}const nn="minuteValue";class Ht extends E{static format(t=""){return E.numberFormat(i.groupName(t,nn),"{1,2}",void 0)}constructor(){super(nn,Ht.format())}}const rn="secondValue";class Yt extends E{static format(t=""){return E.numberFormat(i.groupName(t,rn),"{1,2}",void 0)}constructor(){super(rn,Yt.format())}}class Xt extends Mt{}class T extends L{static yearGroup="year";static monthGroup="month";static dayGroup="day";static hourGroup="hour";static minuteGroup="minute";static secondGroup="second";static millisecondGroup="millisecond";static timeshiftGroup="timeshift";constructor(t=T.format()){super("date",t)}static format(t=""){return i.group(i.groupName(t,T.yearGroup),zt.format(t))+i.optionalNonCapturingGroup("-",i.group(i.groupName(t,T.monthGroup),Ct.format(t)),i.optionalNonCapturingGroup("-",i.group(i.groupName(t,T.dayGroup),Bt.format(t)),i.optionalNonCapturingGroup("[T ]",i.group(i.groupName(t,T.hourGroup),qt.format(t)),":",i.group(i.groupName(t,T.minuteGroup),Ht.format(t)),i.optionalNonCapturingGroup(":",i.group(i.groupName(t,T.secondGroup),Yt.format(t)),i.optionalNonCapturingGroup("[.,]",i.group(i.groupName(t,T.millisecondGroup),"\\d+"))),i.optionalGroup(i.groupName(t,T.timeshiftGroup),Xt.format(t)))))}parseGroups(t){const e=t[T.millisecondGroup],n=e?ct.parseFraction(e):void 0,r=t[T.secondGroup],o=r?at.fromString(r,new Yt):void 0,a=t[T.minuteGroup];let u;a&&(u=it.fromString(a,new Ht),u.uncertain=u.uncertain||o?.uncertain||!1,u.approximate=u.approximate||o?.approximate||!1);const p=t[T.hourGroup];let c;p&&(c=ot.fromString(p,new qt),c.uncertain=c.uncertain||u?.uncertain||!1,c.approximate=c.approximate||u?.approximate||!1);const f=t[T.dayGroup];let m;f&&(m=st.fromString(f,new Bt),m.uncertain=m.uncertain||c?.uncertain||!1,m.approximate=m.approximate||c?.approximate||!1);const b=t[T.monthGroup];let g;b&&(g=rt.fromString(b,new Ct),g.uncertain=g.uncertain||m?.uncertain||!1,g.approximate=g.approximate||m?.approximate||!1);const G=t[T.yearGroup];let S;G&&(S=nt.fromString(G,void 0,new zt),S.uncertain=S.uncertain||g?.uncertain||!1,S.approximate=S.approximate||g?.approximate||!1);const F=t[T.timeshiftGroup],M=F?ht.fromString(F,new Xt,{year:S?.value,month:g?.value,day:m?.value,hour:c?.value}):void 0;return{year:S,month:g,day:m,hour:c,minute:u,second:o,millisecond:n,timeshift:M}}}const sn="years",on="months",an="days",un="hours",cn="minutes",mn="seconds";class pt extends E{static format(t=""){return"P"+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,sn),"+",void 0,"\\d"),"Y")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,on),"+",void 0,"\\d"),"MM")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,an),"+",void 0,"\\d"),"D")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,un),"+",void 0,"\\d"),"H")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,cn),"+",void 0,"\\d"),"M")+i.optionalNonCapturingGroup(i.numberGroup(i.groupName(t,mn),"+",void 0,"\\d"),"S")+this.formatSuffix(t)}constructor(){super("duration",pt.format())}parseGroups(t){return{years:t[sn],months:t[on],days:t[an],hours:t[un],minutes:t[cn],seconds:t[mn],uncertain:!!t[E.uncertainGroup],approximate:!!t[E.approximateGroup]}}}const Er="dates",me="start",de="end",dn="durations",pe="durationMin",he="durationMax";class Ee extends L{static format=i.group(Er,i.optionalGroup(me,i.group("openStart","\\.\\.")+"|"+T.format(me))+"/"+i.optionalGroup(de,i.group("openEnd","\\.\\.")+"|"+T.format(de)))+"|"+i.group(dn,i.group(pe,pt.format(pe))+"/"+i.group(he,pt.format(he)));constructor(t="interval",e=Ee.format){super(t,e)}parseGroups(t){let e,n;if(t[dn]){const o=t[pe];e=k.fromString(o,new pt);const a=t[he];n=k.fromString(a,new pt)}else{const o=t[me];switch(o){case void 0:e=null;break;case"..":e=void 0;break;default:e=U.fromString(o,new T)}const a=t[de];switch(a){case void 0:n=null;break;case"..":n=void 0;break;default:n=U.fromString(a,new T)}}return{start:e,end:n}}}d.register(U,()=>new T);d.register(st,()=>new Bt);d.register(k,()=>new pt);d.register(ot,()=>new qt);d.register(Rt,()=>new Ee);d.register(it,()=>new Ht);d.register(rt,()=>new Ct);d.register(at,()=>new Yt);d.register(ht,()=>new Xt);d.register(nt,()=>new zt);class y extends E{static uncertainGroup="uncertain1";static approximateGroup="approx1";static uncertainAndApproximateGroup=y.uncertainGroup+y.approximateGroup;constructor(t,e){super(t,e)}static numberFormat(t,e,n){return this.qualifierFormat(i.groupName(y.uncertainGroup,t),"?")+this.qualifierFormat(i.groupName(y.approximateGroup,t),"~")+this.qualifierFormat(i.groupName(y.uncertainAndApproximateGroup,t),"%")+E.numberFormat(t,e,n)}parseGroups(t){const e=super.parseGroups(t),n=t[i.groupName(y.uncertainAndApproximateGroup,this.name)];return(t[i.groupName(y.uncertainGroup,this.name)]||n)&&(e.uncertainComponent=!0),(t[i.groupName(y.approximateGroup,this.name)]||n)&&(e.approximateComponent=!0),e}}const kt="yearValue",pn="exp",hn="signif";class Wt extends y{constructor(){super(kt,Wt.format())}static format(t=""){return"Y?"+i.nonCapturingGroup(i.group(i.groupName(t,pn),"[-]?\\d+E\\d+")+"|"+y.numberFormat(i.groupName(t,kt),"+","[-]?")+i.optionalGroup(i.groupName(t,hn),"S\\d+"))}parseGroups(t){const e=t[pn];if(e){const a=e.indexOf("E"),u=parseInt(e.substring(a+1),10),c=parseInt(e.substring(0,a),10)*Math.pow(10,u);t[kt]=c.toString()}const n=t[hn],r=t[kt];if(n){const a=parseInt(n.substring(1),10),{valueStr:u,sign:p}=this.getValueAndSign(t);let c="";for(let f=0;f<u.length;f++)c+=f<a?u.charAt(f):"X";t[kt]=(p<0?"-":"")+c}const o=super.parseGroups(t);return n&&(o.value.estimate=parseInt(r,10)),o}parse(t){const e=this.regexGroups(t);return this.parseGroups(e)}}const ln="monthValue";class Jt extends y{static format(t=""){return y.numberFormat(i.groupName(t,ln),"{1,2}",void 0)}constructor(){super(ln,Jt.format())}}const fn="dayValue";class Kt extends y{static format(t=""){return y.numberFormat(i.groupName(t,fn),"{1,2}",void 0)}constructor(){super(fn,Kt.format())}}const gn="hourValue";class Ot extends y{static format(t=""){return y.numberFormat(i.groupName(t,gn),"{1,2}",void 0)}constructor(){super(gn,Ot.format())}}const wn="secondValue";class Zt extends y{static format(t=""){return y.numberFormat(i.groupName(t,wn),"{1,2}",void 0)}constructor(){super(wn,Zt.format())}}const Sn="minuteValue";class Qt extends y{static format(t=""){return y.numberFormat(i.groupName(t,Sn),"{1,2}",void 0)}constructor(){super(Sn,Qt.format())}}class Tr extends Xt{}class x extends L{static yearGroup=T.yearGroup;static monthGroup="month";static dayGroup="day";static hourGroup="hour";static minuteGroup="minute";static secondGroup="second";static millisecondGroup="millisecond";static timeshiftGroup="timeshift";constructor(){super("date",x.format())}static format(t=""){return i.group(i.groupName(t,x.yearGroup),Wt.format(t))+i.optionalNonCapturingGroup("-",i.group(i.groupName(t,x.monthGroup),Jt.format(t)),i.optionalNonCapturingGroup("-",i.group(i.groupName(t,x.dayGroup),Kt.format(t)),i.optionalNonCapturingGroup("[T ]",i.group(i.groupName(t,x.hourGroup),Ot.format(t)),":",i.group(i.groupName(t,x.minuteGroup),Qt.format(t)),i.optionalNonCapturingGroup(":",i.group(i.groupName(t,x.secondGroup),Zt.format(t)),i.optionalNonCapturingGroup("[.,]",i.group(i.groupName(t,x.millisecondGroup),"\\d+"))),i.optionalGroup(i.groupName(t,x.timeshiftGroup),Tr.format(t)))))}parseGroups(t){const e=t[x.millisecondGroup],n=e?ct.parseFraction(e):void 0,r=t[x.secondGroup];let o;r&&(o=P.fromString(r,void 0,new Zt),o.uncertain=o?.uncertain||!1,o.approximate=o?.approximate||!1);const a=t[x.minuteGroup];let u;a&&(u=D.fromString(a,new Qt),u.uncertain=u.uncertain||o?.uncertain||!1,u.approximate=u.approximate||o?.approximate||!1);const p=t[x.hourGroup];let c;p&&(c=Q.fromString(p,new Ot),c.uncertain=c.uncertain||u?.uncertain||!1,c.approximate=c.approximate||u?.approximate||!1);const f=t[x.dayGroup];let m;f&&(m=Z.fromString(f,new Kt),m.uncertain=m.uncertain||c?.uncertain||!1,m.approximate=m.approximate||c?.approximate||!1);const b=t[x.monthGroup];let g;b&&(g=O.fromString(b,new Jt),g.uncertain=g.uncertain||m?.uncertain||!1,g.approximate=g.approximate||m?.approximate||!1);const G=t[x.yearGroup];let S;G&&(S=K.fromString(G,void 0,new Wt),S.uncertain=S.uncertain||g?.uncertain||!1,S.approximate=S.approximate||g?.approximate||!1);const F=t[x.timeshiftGroup],M=F?In.fromString(F,new Xt,{year:S?.value,month:g?.value,day:m?.value,hour:c?.value}):void 0;return{year:S,month:g,day:m,hour:c,minute:u,second:o,millisecond:n,timeshift:M}}}const yn="durationValue";class Te extends y{static format(t=""){return"^"+y.numberFormat(i.groupName(t,yn),"+",void 0)}constructor(){super(yn,Te.format())}}class Mr extends ye{millisecond=new N("millisecond",0,Number.MAX_SAFE_INTEGER,void 0);second=new N("second",0,Number.MAX_SAFE_INTEGER,this.millisecond);minute=new N("minute",0,Number.MAX_SAFE_INTEGER,this.second);hour=new N("hour",0,Number.MAX_SAFE_INTEGER,this.minute);day=new N("day",1,Number.MAX_SAFE_INTEGER,this.hour);month=new N("month",1,Number.MAX_SAFE_INTEGER,this.day);year=new N("year",0,Number.MAX_SAFE_INTEGER,this.month)}const lt=new Mr;class h extends y{static yearsGroup="years";static monthsGroup="months";static isoMonthsGroup="isoMonths";static daysGroup="days";static hoursGroup="hours";static minutesGroup="minutes";static secondsGroup="seconds";static durationGroup="duration";static suffixGroup="durationSuffix";static componentParser=new Te;static componentFormat(t,e,n,r,o=""){const a=i.group(i.groupName(t,h.quantityGroup(e)),y.numberFormat(i.groupName(t,n),"+",void 0,"\\d"));return i.group(i.groupName(t,e),a,r,o)}static quantityGroup(t){return t+"Quantity"}static isoMonthsLookahead="(?=[?~%]?\\d+D|T)";constructor(){super("duration",h.format())}static format(t=""){const e=i.groupName(t,h.durationGroup);return this.qualifierFormat(i.groupName(y.uncertainGroup,e),"?")+this.qualifierFormat(i.groupName(y.approximateGroup,e),"~")+this.qualifierFormat(i.groupName(y.uncertainAndApproximateGroup,e),"%")+"P"+i.optional(h.componentFormat(t,h.yearsGroup,x.yearGroup,"Y"))+i.optionalNonCapturingGroup(h.componentFormat(t,h.monthsGroup,x.monthGroup,"MM")+"|"+h.componentFormat(t,h.isoMonthsGroup,"isoMonth","M",h.isoMonthsLookahead))+i.optional(h.componentFormat(t,h.daysGroup,x.dayGroup,"D"))+"T?"+i.optional(h.componentFormat(t,h.hoursGroup,x.hourGroup,"H"))+i.optional(h.componentFormat(t,h.minutesGroup,x.minuteGroup,"M"))+i.optional(h.componentFormat(t,h.secondsGroup,x.secondGroup,"S"))+i.optionalGroup(i.groupName(t,h.suffixGroup),"[?~%]")}static parseComponent(t,e,n){const r=h.componentParser.parse(t);return new e(r,n)}parseGroups(t){const e=t[h.quantityGroup(h.secondsGroup)];let n;e&&(n=h.parseComponent(e,P,lt.second),n.uncertain=!!t[i.groupName(y.uncertainGroup,h.secondsGroup)]||!1,n.approximate=!!t[i.groupName(y.approximateGroup,h.secondsGroup)]||!1);const r=t[h.quantityGroup(h.minutesGroup)];let o;r&&(o=h.parseComponent(r,D,lt.minute),o.uncertain=o.uncertain||n?.uncertain||!1,o.approximate=o.approximate||n?.approximate||!1);const a=t[h.quantityGroup(h.hoursGroup)];let u;a&&(u=h.parseComponent(a,Q,lt.hour),u.uncertain=u.uncertain||o?.uncertain||!1,u.approximate=u.approximate||o?.approximate||!1);const p=t[h.quantityGroup(h.daysGroup)];let c;p&&(c=h.parseComponent(p,Z,lt.day),c.uncertain=c.uncertain||u?.uncertain||!1,c.approximate=c.approximate||u?.approximate||!1);const f=t[h.quantityGroup(h.monthsGroup)]||t[h.quantityGroup(h.isoMonthsGroup)];let m;f&&(m=h.parseComponent(f,O,lt.month),m.uncertain=m.uncertain||c?.uncertain||!1,m.approximate=m.approximate||c?.approximate||!1);const b=t[h.quantityGroup(h.yearsGroup)];let g;b&&(g=h.parseComponent(b,K,lt.year),g.uncertain=g.uncertain||m?.uncertain||!1,g.approximate=g.approximate||m?.approximate||!1);const G=t[h.suffixGroup],S=!!t[i.groupName(y.uncertainAndApproximateGroup,h.durationGroup)]||G==="%",F=S||!!t[i.groupName(y.uncertainGroup,h.durationGroup)]||G==="?",M=S||!!t[i.groupName(y.approximateGroup,h.durationGroup)]||G==="~";return{years:g,months:m,days:c,hours:u,minutes:o,seconds:n,uncertain:F,approximate:M}}}const vr="dates",le="start",fe="end",bn="durations",ge="durationMin",we="durationMax";class ie extends L{static format=i.group(vr,i.optionalGroup(le,i.group("openStart","\\.\\.")+"|"+x.format(le))+"/"+i.optionalGroup(fe,i.group("openEnd","\\.\\.")+"|"+x.format(fe)))+"|"+i.group(bn,i.group(ge,h.format(ge))+"/"+i.group(we,h.format(we)));constructor(t="interval",e=ie.format){super(t,e)}parseGroups(t){let e,n;if(t[bn]){const o=t[ge];e=A.fromString(o,new h);const a=t[we];n=A.fromString(a,new h)}else{const o=t[le];switch(o){case void 0:e=null;break;case"..":e=void 0;break;default:e=z.fromString(o,new x)}const a=t[fe];switch(a){case void 0:n=null;break;case"..":n=void 0;break;default:n=z.fromString(a,new x)}}return{start:e,end:n}}}class Ar{parse(t){t=t.trim();const e=t.startsWith("["),r=t.substring(1,t.length-1).split(","),o=[];for(const a of r){let u;a.includes("..")?u=Ft.fromString(a.replace("..","/"),new ie):u=z.fromString(a,new x),o.push(u)}return{values:o,exclusive:e}}}d.register(z,()=>new x);d.register(Z,()=>new Kt);d.register(A,()=>new h);d.register(Q,()=>new Ot);d.register(Ft,()=>new ie);d.register(D,()=>new Qt);d.register(O,()=>new Jt);d.register(P,()=>new Zt);d.register(te,()=>new Ar);d.register(K,()=>new Wt);class Y{constructor(t){this.preferences=t}read(t){var e,n;if(t===void 0)return;if(typeof t=="string")return t===""?void 0:t;for(const o of this.preferences){const a=(e=t[o])!==null&&e!==void 0?e:t[Y.base(o)];if(a)return a}const r=new Set(this.preferences.map(o=>Y.base(o)));for(const[o,a]of Object.entries(t))if(a&&r.has(Y.base(o)))return a;return(n=Object.values(t).find(o=>o))!==null&&n!==void 0?n:void 0}write(t,e,n){var r,o;const a=e?.trim()?e.trim():void 0;if(t===void 0||typeof t=="string")return a;const u={...t},p=(o=(r=Object.keys(u).find(c=>c===n))!==null&&r!==void 0?r:Object.keys(u).find(c=>Y.base(c)===Y.base(n)))!==null&&o!==void 0?o:n;return a===void 0?delete u[p]:u[p]=a,Object.keys(u).length===0?void 0:u}static base(t){return t.toLowerCase().split("-")[0]}}Y.any=new Y([]);var Gn;(function(s){s.abductee="abductee",s.actor="actor",s.artist="artist",s.anthropologist="anthropologist",s.archeologist="archeologist",s.astronaut="astronaut",s.astronomer="astronomer",s.astrologist="astrologist",s.astrophysicist="astrophysicist",s.banker="banker",s.barman="barman",s.biologist="biologist",s.biochemist="biochemist",s.biophysicist="biophysicist",s.bishop="bishop",s.businessman="businessman",s.botanist="botanist",s.cameraman="cameraman",s.chemist="chemist",s.contactee="contactee",s.cryptozoologist="cryptozoologist",s.dentist="dentist",s.director="director",s.diplomat="diplomat",s.diver="diver",s.electronics="electronics",s.engineer="engineer",s.ethnologist="ethnologist",s.exobiologist="exobiologist",s.farmer="farmer",s.firefighter="firefighter",s.flightAttendant="flightAttendant",s.geologist="geologist",s.geophysicist="geophysicist",s.geographer="geographer",s.historian="historian",s.houseWife="houseWife",s.hypnotherapist="hypnotherapist",s.illusionist="illusionist",s.journalist="journalist",s.judge="judge",s.lawyer="lawyer",s.leader="leader",s.librarian="librarian",s.logger="logger",s.mathematician="mathematician",s.mechanic="mechanic",s.meteorologist="meteorologist",s.military="military",s.musician="musician",s.neurologist="neurologist",s.neuroscientist="neuroscientist",s.neuropsychiatrist="neuropsychiatrist",s.nurse="nurse",s.oceanographer="oceanographer",s.painter="painter",s.parapsychologist="parapsychologist",s.philosopher="philosopher",s.photographer="photographer",s.physician="physician",s.physicist="physicist",s.pilot="pilot",s.politician="politician",s.policeman="policeman",s.priest="priest",s.producer="producer",s.prospector="prospector",s.psychologist="psychologist",s.psychiatrist="psychiatrist",s.radioastronomer="radioastronomer",s.radioamateur="radioamateur",s.salesman="salesman",s.sailor="sailor",s.sociologist="sociologist",s.softwareEngineer="softwareEngineer",s.stuntman="stuntman",s.taxiDriver="taxiDriver",s.teacher="teacher",s.telegrapher="telegrapher",s.truckDriver="truckDriver",s.ufologist="ufologist",s.ufoWitness="ufoWitness",s.ufoWitness2="ufoWitness2",s.worker="worker",s.writer="writer"})(Gn||(Gn={}));var xn;(function(s){s.neutral="neutral",s.male="male",s.female="female"})(xn||(xn={}));const kr="modulepreload",$r=function(s,t){return new URL(s,t).href},Nn={},Lt=function(t,e,n){let r=Promise.resolve();if(e&&e.length>0){let a=function(f){return Promise.all(f.map(m=>Promise.resolve(m).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const u=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),c=p?.nonce||p?.getAttribute("nonce");r=a(e.map(f=>{if(f=$r(f,n),f in Nn)return;Nn[f]=!0;const m=f.endsWith(".css"),b=m?'[rel="stylesheet"]':"";if(!!n)for(let S=u.length-1;S>=0;S--){const F=u[S];if(F.href===f&&(!m||F.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${b}`))return;const G=document.createElement("link");if(G.rel=m?"stylesheet":kr,m||(G.as="script"),G.crossOrigin="",G.href=f,c&&G.setAttribute("nonce",c),document.head.appendChild(G),m)return new Promise((S,F)=>{G.addEventListener("load",S),G.addEventListener("error",()=>F(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(a){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=a,window.dispatchEvent(u),!u.defaultPrevented)throw a}return r.then(a=>{for(const u of a||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})};class Rr extends Error{constructor(t,e){super(t),this.cause=e}}class Me extends Rr{constructor(t=Me.defaultMessage,e){super(t,e)}}Me.defaultMessage="Assertion failed";var En;(function(s){s.country="country",s.region="region",s.department="department",s.city="city",s.company="company"})(En||(En={}));var Tn;(function(s){s.at="at",s.au="au",s.ar="ar",s.be="be",s.br="br",s.ca="ca",s.ch="ch",s.cn="cn",s.cl="cl",s.co="co",s.cy="cy",s.de="de",s.dk="dk",s.do="do",s.dz="dz",s.gr="gr",s.ec="ec",s.eg="eg",s.es="es",s.fi="fi",s.fr="fr",s.ga="ga",s.ge="ge",s.hu="hu",s.in="in",s.ie="ie",s.ir="ir",s.il="il",s.it="it",s.jp="jp",s.kr="kr",s.ma="ma",s.mx="mx",s.my="my",s.mz="mz",s.nl="nl",s.no="no",s.nz="nz",s.pa="pa",s.pe="pe",s.ph="ph",s.pl="pl",s.pt="pt",s.ro="ro",s.ru="ru",s.sc="sc",s.tr="tr",s.ua="ua",s.uk="uk",s.us="us",s.sa="sa",s.se="se",s.su="su",s.tn="tn",s.tw="tw",s.ve="ve",s.za="za"})(Tn||(Tn={}));class Fr extends Error{constructor(t,e,n){super(typeof e=="number"&&Number.isInteger(e)&&e>=1?`This ${t} file is in version ${e} of its format; this UFO@home reads version ${n}. Read it with the UFO@home that reads its version.`:`This ${t} file states ${JSON.stringify(e)} as its format version, which is not a version.`),this.format=t,this.found=e,this.supported=n,this.name="FormatVersionError"}said(t){return t.replace("{found}",typeof this.found=="number"?String(this.found):JSON.stringify(this.found)).replace("{supported}",String(this.supported))}}class et{static CURRENT={sighting:4,case:1,interview:1};static SCHEMA_BASE="https://ufoathome.org/schema";static schemaUrl(t,e=et.CURRENT[t]){return`${et.SCHEMA_BASE}/${e}/${t}.schema.json`}static of(t){if(typeof t!="object"||t===null)return 1;const e=t.version;return e===void 0?1:typeof e=="object"&&e!==null&&"value"in e?e.value:e}static recording(t){return et.check(t,"sighting")}static check(t,e){const n=et.of(t),r=et.CURRENT[e];if(typeof n!="number"||!Number.isInteger(n)||n!==r)throw new Fr(e,n,r);return t}}class J{static NAMES=["weather","place","lightPollution","decor"];static KEYS={weather:["weatherTrack","weatherSource"],place:["place"],lightPollution:["lightPollution"],decor:["decor"]};static annexName(t,e){return`${t}.${e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}.json`}static taken(t,e){const n={};if(t==="decor")return Array.isArray(e.decor)&&(n.decor=e.decor.filter(J.surveyed)),n;for(const r of J.KEYS[t])e[r]!==void 0&&(n[r]=e[r]);return n}static strip(t,e){if(t==="decor"){const n=Array.isArray(e.decor)?e.decor.filter(r=>!J.surveyed(r)):[];n.length>0?e.decor=n:delete e.decor;return}for(const n of J.KEYS[t])delete e[n]}static put(t,e,n){if(t==="decor"){if(!Array.isArray(n.decor))return;const r=Array.isArray(e.decor)?e.decor.filter(o=>!J.surveyed(o)):[];e.decor=[...r,...n.decor];return}for(const r of J.KEYS[t])n[r]!==void 0&&(e[r]=n[r])}static surveyed(t){return typeof t=="object"&&t!==null&&typeof t.origin=="string"}static fromFile(t,e){return t?.[e]!==void 0&&t[e].live!==!0}}class j{static files=new Map;static hold(t){for(const[e,n]of t)j.files.set(j.key(e),n)}static releaseCopies(){for(const[t,e]of j.files)e.local||j.files.delete(t)}static clear(){j.files.clear()}static localBase(){return new URL(`local/${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}/`,location.href).href}static read(t){const e=j.files.get(j.key(t));return e===void 0?void 0:structuredClone(e.json)}static changed(...t){return t.some(e=>e!==void 0&&j.files.get(j.key(e))?.changed===!0)}static local(t){return t!==void 0&&j.files.get(j.key(t))?.local===!0}static key(t){const e=new URL(t,location.href);return e.hash="",e.href}}class ft extends Error{constructor(t,e,n){super(`${t}: ${e}${n===void 0?"":` (HTTP ${n})`}`),this.kind=t,this.url=e,this.status=n,this.name="SightingFetchError"}}class ee{static async recording(t){const e=j.read(t);if(e!==void 0)return e;const n=await ee.json(t);for(const r of J.NAMES){const o=n?.snapshots?.[r];if(!(!o?.src||o.live))try{const a=et.recording(await ee.json(new URL(o.src,new URL(t,location.href)).href));J.put(r,n,a)}catch{}}return n}static async json(t){const e=new URL(t,location.href),n=j.read(e.href);if(n!==void 0)return n;if(location.protocol==="https:"&&e.protocol==="http:")throw new ft("mixed-content",t);let r;try{r=await fetch(t)}catch{throw await this.diagnose(t,e)}if(!r.ok)throw new ft("status",t,r.status);try{return await r.json()}catch{throw new ft("malformed",t)}}static async diagnose(t,e){if(e.origin===location.origin)return new ft("unreachable",t);try{return await fetch(t,{mode:"no-cors"}),new ft("cors",t)}catch{return new ft("unreachable",t)}}}function Vr(s,t){for(const e of s){const n=e.toLowerCase().split("-")[0];if(t.includes(n))return n}return"en"}class Ir{static preferencesFor(t){const e=navigator.languages??[],n=this.declaredFor(t);return n?[n,...e]:e}static declaredFor(t){for(let e=t;e;){const n=e.closest("[lang]")?.getAttribute("lang")?.trim();if(n)return n;const r=e.getRootNode();e=r instanceof ShadowRoot?r.host:void 0}}}const jr=["en","fr","es","it"];class ve{static catalog(t){const e=new Map;return{load(n){const r=ve.languageOf(n);let o=e.get(r);return o||(o=t[r](),e.set(r,o),o.catch(()=>e.delete(r))),o}}}static none(){return new Proxy({},{get:()=>""})}static blank(){const t=new Proxy(()=>t,{get:(e,n)=>n===Symbol.toPrimitive?()=>"":n===Symbol.iterator?function*(){}:n==="toString"||n==="valueOf"?()=>"":n==="then"?void 0:t,apply:()=>t,has:()=>!1,ownKeys:()=>[],getOwnPropertyDescriptor:()=>{}});return t}static languageOf(t){const e=t.toLowerCase().split("-")[0];return jr.includes(e)?e:"en"}}const Ur=["en","fr","es","it"],zr={en:()=>Lt(()=>import("./InterviewMessages_en-BRmuWrAg.js"),[],import.meta.url).then(s=>s.interviewMessages_en),fr:()=>Lt(()=>import("./InterviewMessages_fr-DBCdGB0r.js"),[],import.meta.url).then(s=>s.interviewMessages_fr),es:()=>Lt(()=>import("./InterviewMessages_es-BTotimwY.js"),[],import.meta.url).then(s=>s.interviewMessages_es),it:()=>Lt(()=>import("./InterviewMessages_it-B5EyMD-k.js"),[],import.meta.url).then(s=>s.interviewMessages_it)},Cr=ve.catalog(zr),Br="interviewseek";class v{static UNATTRIBUTED="unattributed";static read(t){return et.check(t,"interview")}static isProofread(t){const e=Object.keys(t.speakers);return e.length>0&&e.every(n=>{const r=t.proofreading?.[n]?.status;return r==="approved"||r==="covered"})}static said(t){return t.parts?t.parts.map(e=>"redacted"in e?"…":v.plain(e.text)).join(" "):t.redacted?void 0:v.plain(t.text??"")}static ENTITIES={amp:"&",lt:"<",gt:">",quot:'"',apos:"'",nbsp:" "};static plain(t){return/[<&]/.test(t)?t.replace(/<br\s*\/?>/gi,`
2
2
  `).replace(/<\/?[a-z][^>]*>/gi,"").replace(/&#x([0-9a-f]+);/gi,(e,n)=>String.fromCodePoint(parseInt(n,16))).replace(/&#(\d+);/g,(e,n)=>String.fromCodePoint(Number(n))).replace(/&(\w+);/g,(e,n)=>v.ENTITIES[n.toLowerCase()]??e):t}static sightingsOf(t){return[t.interviewOf].flat().filter(e=>typeof e=="string")}static passagesAbout(t,e){const n=v.sightingsOf(t),r=[];return t.segments.forEach((o,a)=>{for(const u of o.refs??[]){if(u.sighting===void 0?!n.includes(e):u.sighting!==e)continue;const p=v.said(o);r.push({index:a,speaker:o.speaker,at:u.at,...p!==void 0?{text:p}:{},...u.range?{range:u.range}:{}})}}),r.sort((o,a)=>o.at-a.at||o.index-a.index)}static clock(t,e=!1){const n=Math.round(t*10),r=Math.floor(n/10),o=p=>String(p).padStart(2,"0"),a=Math.floor(r/3600),u=`${a>0||e?o(Math.floor(r/60)%60):Math.floor(r/60)}:${o(r%60)}`;return`${a>0?`${a}:`:""}${u}${e||n%10!==0?`.${n%10}`:""}`}static speakerName(t,e){const n=t.speakers[e];if(!n)return e;const r=typeof n.title=="string"?n.title:n.title?Object.values(n.title)[0]:void 0;return r||n.by&&v.agentName(n.by)||n.role}static agentName(t){if("people"in t){const[e,...n]=t.people.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ");return[...n,e].join(" ")}return"org"in t?t.org:t.title??""}static stamp(t){const e=Math.round(t*1e3),n=(r,o=2)=>String(r).padStart(o,"0");return`${n(Math.floor(e/36e5))}:${n(Math.floor(e/6e4)%60)}:${n(Math.floor(e/1e3)%60)}.${n(e%1e3,3)}`}static toVtt(t){const e=o=>o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n=t.segments.filter(o=>o.start!==void 0);return`WEBVTT
3
3
 
4
4
  ${n.map((o,a)=>{const u=n[a+1],p=o.end??u?.start??o.start+5,c=u&&u.start<p?Math.max(o.start,u.start):p;return`${v.stamp(o.start)} --> ${v.stamp(c)}
@@ -1,4 +1,4 @@
1
- import{e as b,_ as d,bE as m,b6 as x,bz as I,bA as T}from"./rr0-scene.mjs";import{d as f,P as u,S as L,a as v,c as y,b as M,E as S}from"./ParameterForm-CRC9iA-m.js";import{D as g}from"./DroneParameters-Bq6XBchK.js";import{a as E,b as P}from"./DroneFlight-DKHsNqDw.js";import{AirshipFlight as w}from"./AirshipFlight-D6tC26P5.js";import{T as k}from"./TimelineTracks-iym9uOfD.js";const R=b.catalog({en:()=>d(()=>import("./AirshipParameterTexts_en-DZxqhSI3.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_en),fr:()=>d(()=>import("./AirshipParameterTexts_fr-Cj-D0Xb_.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_fr),es:()=>d(()=>import("./AirshipParameterTexts_es-BDJUZOmr.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_es),it:()=>d(()=>import("./AirshipParameterTexts_it-BhC9cEbs.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_it)});class o{static AIRSHIP="airship";static FLIGHT="flight";static LOOK="look";static LIGHT_NAMES=[...new Set(m.ALL.flatMap(t=>Object.keys(t.lights)))];static viewOf(t){const{airship:i,sign:e,...r}=structuredClone(t),s={...r,airship:typeof i=="string"?i:i.id};return e===!1?s.signLit=!1:e===!0?s.signLit=!0:e&&(s.signLit=!0,e.color&&(s.signColor=e.color)),s}static fromView(t,i){const{airship:e,signLit:r,signColor:s,...n}=t,h=typeof i.airship=="object"?i.airship:void 0,l={...n,airship:h?{...h,id:e}:e},p=typeof i.sign=="object"?i.sign.luminanceCdM2:void 0;return r===!1?l.sign=!1:s!==void 0||p!==void 0?l.sign={...s?{color:s}:{},...p!==void 0?{luminanceCdM2:p}:{}}:r===!0&&(l.sign=!0),l}static typeOf(t){return w.typeOf(t)}static ownLight(t,i){return o.typeOf(t).lights[i]}static signLit(t){const i=f.read(t,"signLit");return typeof i=="boolean"?i:o.typeOf(t).sign?.lit===!0}static light(t){const i=g.textKey(t),e=n=>o.ownLight(n,t)!==void 0,r=n=>{const h=n.lights?.[t];return h===!1?!0:typeof h?.off=="boolean"?h.off:o.ownLight(n,t)?.off===!0},s=n=>e(n)&&!r(n);return[{type:"boolean",key:`lights.${t}.off`,group:i,label:"switchedOff",visibleWhen:e,effective:n=>n.lights?.[t]===!1||o.ownLight(n,t)?.off===!0},{type:"colour",key:`lights.${t}.color`,group:i,label:"colour",visibleWhen:s,effective:n=>o.ownLight(n,t)?.color},{type:"number",key:`lights.${t}.candela`,min:0,max:1e5,step:.1,unit:"cd",group:i,label:"intensity",hint:"eachLed",visibleWhen:s,effective:n=>o.ownLight(n,t)?.candela},{type:"number",key:`lights.${t}.hz`,min:0,max:50,step:.05,unit:"Hz",group:i,label:"flashesASecond",hint:"steadyAtNought",visibleWhen:s,effective:n=>o.ownLight(n,t)?.hz??0},{type:"number",key:`lights.${t}.flashS`,min:.001,max:60,step:.001,unit:"s",group:i,label:"eachFlashLasts",visibleWhen:n=>s(n)&&(f.read(n,`lights.${t}.hz`)??o.ownLight(n,t)?.hz??0)>0,effective:n=>{const h=o.ownLight(n,t),l=f.read(n,`lights.${t}.hz`)??h?.hz??0;return h?.flashS??(l>0?Math.round(500/l)/1e3:void 0)}}]}static SET={kind:"airships",title:"airships",parameters:[{type:"said",key:"title",label:"name",group:o.AIRSHIP},{type:"choice",key:"airship",required:!0,group:o.AIRSHIP,label:"type",choices:m.ALL.map(t=>({value:t.id,label:g.textKey(t.id)}))},{type:"set",key:"explains",group:o.AIRSHIP,label:"standsForTheShapes",options:(t,i)=>{const e=i?.shapes??[],r=(t.explains??[]).filter(s=>!e.some(n=>n.value===s));return[...e,...r.map(s=>({value:s,label:s}))]},empty:"noShape"},{type:"number",key:"seed",min:0,max:4294967295,step:1,group:o.AIRSHIP,effective:()=>1,label:"draw",hint:"whatTheDrawsStartFrom"},{type:"number",key:"wind.fromDeg",min:0,max:360,step:1,unit:"°",group:o.FLIGHT,label:"windFrom",effective:()=>0,hint:"whatItNosesInto"},{type:"number",key:"wind.speedMS",min:0,max:60,step:.1,unit:"m/s",group:o.FLIGHT,label:"windSpeed",effective:()=>0},{type:"boolean",key:"silent",group:o.FLIGHT,label:"silent",hint:"notEvenItsEngines",visibleWhen:t=>o.typeOf(t).sound!==void 0},{type:"colour",key:"color",group:o.LOOK,label:"envelope",effective:t=>o.typeOf(t).color},{type:"colour",key:"finColor",group:o.LOOK,label:"fins",effective:t=>o.typeOf(t).finColor,visibleWhen:t=>o.typeOf(t).glowCdM2===void 0},{type:"boolean",key:"signLit",group:o.LOOK,label:"signLit",hint:"itsSignOfLamps",visibleWhen:t=>o.typeOf(t).sign!==void 0,effective:t=>o.typeOf(t).sign?.lit===!0},{type:"colour",key:"signColor",group:o.LOOK,label:"signColour",visibleWhen:t=>o.typeOf(t).sign!==void 0&&o.signLit(t),effective:t=>o.typeOf(t).sign?.color},{type:"boolean",key:"lit",group:o.LOOK,label:"litFromWithin",hint:"itsEnvelopeGlows",effective:()=>!0,visibleWhen:t=>o.typeOf(t).glowCdM2!==void 0},...o.LIGHT_NAMES.flatMap(t=>o.light(t))]};static WAYPOINT={...g.WAYPOINT,kind:"airships-waypoint"};static waypointAt(t,i){const e=E.pathOf(t);if(e.length===0)return{t:Math.round(i),eastM:0,northM:0,altitudeM:0};const r=new P(e,!1).at(i),s=n=>Math.round(n*10)/10;return{t:Math.round(i),eastM:s(r.eastM),northM:s(r.northM),altitudeM:s(r.upM)}}static publish(){u.publish(o.SET),u.publish(o.WAYPOINT)}}const H=b.catalog({en:()=>d(()=>import("./AirshipEditorMessages_en-CFafbbN8.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_en),fr:()=>d(()=>import("./AirshipEditorMessages_fr-Bhj6QKCL.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_fr),es:()=>d(()=>import("./AirshipEditorMessages_es-ht4kFQUD.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_es),it:()=>d(()=>import("./AirshipEditorMessages_it-Cfl9mFjn.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_it)});class c{constructor(t,i,e){this.container=t,this.host=i,L.attach(t,"airship-editor-part",c.STYLE),this.language=e,u.of("airships")||o.publish(),this.ready=this.setLanguage(e)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;pointForm;pointIndex=0;language;shown=[];viewed;static STYLE='.airship-editor-part { flex-basis: 100%; min-width: 0; } .airship-editor-part #airship-list, .airship-editor-part #airship-timeline { flex-basis: 100%; min-width: 0; } .airship-editor-part #airship-timeline { padding: 4px 0; } .airship-editor-part #airship-path > .icon-btn { align-self: flex-end; } .airship-editor-part .launch-editor, .airship-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .airship-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .airship-editor-part [hidden] { display: none !important; } .airship-editor-part select { min-width: 0; width: 100%; } .airship-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .airship-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .airship-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; } .airship-editor-part input, .airship-editor-part select { max-width: 100%; box-sizing: border-box; } .airship-editor-part input[type="text"] { width: 12em; } .airship-editor-part label { min-width: 0; max-width: 100%; } .airship-editor-part input.parameter-derived::placeholder { opacity: .65; } .airship-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";static MIN_POINTS=1;async setLanguage(t){const i=++this.languageToken;this.language=t;const[e,r]=await Promise.all([H.load(t),R.load(t)]);i===this.languageToken&&(this.messages=e,this.parameterTexts=r,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.flights;this.shown=[...t],t.some(e=>e.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(e=>({id:e.id,label:this.labelOf(e)})),this.currentId),this.syncAddState();const i=this.current;this.element("airship-fields").hidden=i===void 0,i&&(this.syncTethered(),this.form??=new v(this.element("airship-parameters"),this.language,"airships.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(o.SET),new y(()=>this.view,e=>this.editView(r=>e(r)),()=>({shapes:this.host.shapes().map(e=>({value:e.id,label:e.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((i,e)=>i.id===this.shown[e].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}get current(){return this.flights.find(t=>t.id===this.currentId)}get view(){const t=this.current;if(t)return this.viewed?.of!==t&&(this.viewed={of:t,view:o.viewOf(t)}),this.viewed.view}syncAddState(){const t=this.frontOfObserver()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}syncTethered(){const t=this.current;this.element("airship-tethered").hidden=!t||!w.typeOf(t).tethered}resolved(t){return M.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">
1
+ import{e as b,_ as d,bJ as m,b6 as x,bE as I,bF as T}from"./rr0-scene.mjs";import{d as f,P as u,S as L,a as v,c as y,b as M,E as S}from"./ParameterForm-CRC9iA-m.js";import{D as g}from"./DroneParameters-D3EOg4oe.js";import{a as E,b as P}from"./DroneFlight-DSE1OXqh.js";import{AirshipFlight as w}from"./AirshipFlight-C9DSPGwk.js";import{T as k}from"./TimelineTracks-iym9uOfD.js";const R=b.catalog({en:()=>d(()=>import("./AirshipParameterTexts_en-DZxqhSI3.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_en),fr:()=>d(()=>import("./AirshipParameterTexts_fr-Cj-D0Xb_.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_fr),es:()=>d(()=>import("./AirshipParameterTexts_es-BDJUZOmr.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_es),it:()=>d(()=>import("./AirshipParameterTexts_it-BhC9cEbs.js"),[],import.meta.url).then(a=>a.airshipParameterTexts_it)});class o{static AIRSHIP="airship";static FLIGHT="flight";static LOOK="look";static LIGHT_NAMES=[...new Set(m.ALL.flatMap(t=>Object.keys(t.lights)))];static viewOf(t){const{airship:i,sign:e,...r}=structuredClone(t),s={...r,airship:typeof i=="string"?i:i.id};return e===!1?s.signLit=!1:e===!0?s.signLit=!0:e&&(s.signLit=!0,e.color&&(s.signColor=e.color)),s}static fromView(t,i){const{airship:e,signLit:r,signColor:s,...n}=t,h=typeof i.airship=="object"?i.airship:void 0,l={...n,airship:h?{...h,id:e}:e},p=typeof i.sign=="object"?i.sign.luminanceCdM2:void 0;return r===!1?l.sign=!1:s!==void 0||p!==void 0?l.sign={...s?{color:s}:{},...p!==void 0?{luminanceCdM2:p}:{}}:r===!0&&(l.sign=!0),l}static typeOf(t){return w.typeOf(t)}static ownLight(t,i){return o.typeOf(t).lights[i]}static signLit(t){const i=f.read(t,"signLit");return typeof i=="boolean"?i:o.typeOf(t).sign?.lit===!0}static light(t){const i=g.textKey(t),e=n=>o.ownLight(n,t)!==void 0,r=n=>{const h=n.lights?.[t];return h===!1?!0:typeof h?.off=="boolean"?h.off:o.ownLight(n,t)?.off===!0},s=n=>e(n)&&!r(n);return[{type:"boolean",key:`lights.${t}.off`,group:i,label:"switchedOff",visibleWhen:e,effective:n=>n.lights?.[t]===!1||o.ownLight(n,t)?.off===!0},{type:"colour",key:`lights.${t}.color`,group:i,label:"colour",visibleWhen:s,effective:n=>o.ownLight(n,t)?.color},{type:"number",key:`lights.${t}.candela`,min:0,max:1e5,step:.1,unit:"cd",group:i,label:"intensity",hint:"eachLed",visibleWhen:s,effective:n=>o.ownLight(n,t)?.candela},{type:"number",key:`lights.${t}.hz`,min:0,max:50,step:.05,unit:"Hz",group:i,label:"flashesASecond",hint:"steadyAtNought",visibleWhen:s,effective:n=>o.ownLight(n,t)?.hz??0},{type:"number",key:`lights.${t}.flashS`,min:.001,max:60,step:.001,unit:"s",group:i,label:"eachFlashLasts",visibleWhen:n=>s(n)&&(f.read(n,`lights.${t}.hz`)??o.ownLight(n,t)?.hz??0)>0,effective:n=>{const h=o.ownLight(n,t),l=f.read(n,`lights.${t}.hz`)??h?.hz??0;return h?.flashS??(l>0?Math.round(500/l)/1e3:void 0)}}]}static SET={kind:"airships",title:"airships",parameters:[{type:"said",key:"title",label:"name",group:o.AIRSHIP},{type:"choice",key:"airship",required:!0,group:o.AIRSHIP,label:"type",choices:m.ALL.map(t=>({value:t.id,label:g.textKey(t.id)}))},{type:"set",key:"explains",group:o.AIRSHIP,label:"standsForTheShapes",options:(t,i)=>{const e=i?.shapes??[],r=(t.explains??[]).filter(s=>!e.some(n=>n.value===s));return[...e,...r.map(s=>({value:s,label:s}))]},empty:"noShape"},{type:"number",key:"seed",min:0,max:4294967295,step:1,group:o.AIRSHIP,effective:()=>1,label:"draw",hint:"whatTheDrawsStartFrom"},{type:"number",key:"wind.fromDeg",min:0,max:360,step:1,unit:"°",group:o.FLIGHT,label:"windFrom",effective:()=>0,hint:"whatItNosesInto"},{type:"number",key:"wind.speedMS",min:0,max:60,step:.1,unit:"m/s",group:o.FLIGHT,label:"windSpeed",effective:()=>0},{type:"boolean",key:"silent",group:o.FLIGHT,label:"silent",hint:"notEvenItsEngines",visibleWhen:t=>o.typeOf(t).sound!==void 0},{type:"colour",key:"color",group:o.LOOK,label:"envelope",effective:t=>o.typeOf(t).color},{type:"colour",key:"finColor",group:o.LOOK,label:"fins",effective:t=>o.typeOf(t).finColor,visibleWhen:t=>o.typeOf(t).glowCdM2===void 0},{type:"boolean",key:"signLit",group:o.LOOK,label:"signLit",hint:"itsSignOfLamps",visibleWhen:t=>o.typeOf(t).sign!==void 0,effective:t=>o.typeOf(t).sign?.lit===!0},{type:"colour",key:"signColor",group:o.LOOK,label:"signColour",visibleWhen:t=>o.typeOf(t).sign!==void 0&&o.signLit(t),effective:t=>o.typeOf(t).sign?.color},{type:"boolean",key:"lit",group:o.LOOK,label:"litFromWithin",hint:"itsEnvelopeGlows",effective:()=>!0,visibleWhen:t=>o.typeOf(t).glowCdM2!==void 0},...o.LIGHT_NAMES.flatMap(t=>o.light(t))]};static WAYPOINT={...g.WAYPOINT,kind:"airships-waypoint"};static waypointAt(t,i){const e=E.pathOf(t);if(e.length===0)return{t:Math.round(i),eastM:0,northM:0,altitudeM:0};const r=new P(e,!1).at(i),s=n=>Math.round(n*10)/10;return{t:Math.round(i),eastM:s(r.eastM),northM:s(r.northM),altitudeM:s(r.upM)}}static publish(){u.publish(o.SET),u.publish(o.WAYPOINT)}}const H=b.catalog({en:()=>d(()=>import("./AirshipEditorMessages_en-CFafbbN8.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_en),fr:()=>d(()=>import("./AirshipEditorMessages_fr-Bhj6QKCL.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_fr),es:()=>d(()=>import("./AirshipEditorMessages_es-ht4kFQUD.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_es),it:()=>d(()=>import("./AirshipEditorMessages_it-Cfl9mFjn.js"),[],import.meta.url).then(a=>a.airshipEditorMessages_it)});class c{constructor(t,i,e){this.container=t,this.host=i,L.attach(t,"airship-editor-part",c.STYLE),this.language=e,u.of("airships")||o.publish(),this.ready=this.setLanguage(e)}messages;ready;parameterTexts;languageToken=0;currentId;form;list;timeline;pointForm;pointIndex=0;language;shown=[];viewed;static STYLE='.airship-editor-part { flex-basis: 100%; min-width: 0; } .airship-editor-part #airship-list, .airship-editor-part #airship-timeline { flex-basis: 100%; min-width: 0; } .airship-editor-part #airship-timeline { padding: 4px 0; } .airship-editor-part #airship-path > .icon-btn { align-self: flex-end; } .airship-editor-part .launch-editor, .airship-editor-part .launch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .airship-editor-part .launch-fields { flex-basis: 100%; min-width: 0; } .airship-editor-part [hidden] { display: none !important; } .airship-editor-part select { min-width: 0; width: 100%; } .airship-editor-part .launch-intro { flex-basis: 100%; margin: 0; } .airship-editor-part .launch-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .airship-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; } .airship-editor-part input, .airship-editor-part select { max-width: 100%; box-sizing: border-box; } .airship-editor-part input[type="text"] { width: 12em; } .airship-editor-part label { min-width: 0; max-width: 100%; } .airship-editor-part input.parameter-derived::placeholder { opacity: .65; } .airship-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";static MIN_POINTS=1;async setLanguage(t){const i=++this.languageToken;this.language=t;const[e,r]=await Promise.all([H.load(t),R.load(t)]);i===this.languageToken&&(this.messages=e,this.parameterTexts=r,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.flights;this.shown=[...t],t.some(e=>e.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(e=>({id:e.id,label:this.labelOf(e)})),this.currentId),this.syncAddState();const i=this.current;this.element("airship-fields").hidden=i===void 0,i&&(this.syncTethered(),this.form??=new v(this.element("airship-parameters"),this.language,"airships.",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(this.resolved(o.SET),new y(()=>this.view,e=>this.editView(r=>e(r)),()=>({shapes:this.host.shapes().map(e=>({value:e.id,label:e.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((i,e)=>i.id===this.shown[e].id)){this.syncTimeline();return}this.sync()}setTime(t){this.messages&&this.timeline?.setTime(t)}get current(){return this.flights.find(t=>t.id===this.currentId)}get view(){const t=this.current;if(t)return this.viewed?.of!==t&&(this.viewed={of:t,view:o.viewOf(t)}),this.viewed.view}syncAddState(){const t=this.frontOfObserver()!==void 0;this.list?.setAddState(t,t?void 0:this.messages.addNowhere)}syncTethered(){const t=this.current;this.element("airship-tethered").hidden=!t||!w.typeOf(t).tethered}resolved(t){return M.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
2
  <p class="launch-intro">${t.intro}</p>
3
3
  <div id="airship-list"></div>
4
4
  <div id="airship-fields" class="launch-fields">
@@ -1 +1 @@
1
- import{a as h,b as J,D as N}from"./DroneFlight-DKHsNqDw.js";import{bE as H}from"./rr0-scene.mjs";class s{static SAMPLE_MS=500;static MAX_KEYFRAMES=2e4;static BANK_SHARE=.25;static MAX_PITCH_DEG=20;static TITLES={blimp:{en:"Blimp",fr:"Dirigeable souple",es:"Dirigible flexible",it:"Dirigibile floscio"},"zeppelin-nt":{en:"Zeppelin NT",fr:"Zeppelin NT",es:"Zeppelin NT",it:"Zeppelin NT"},lightship:{en:"Lightship",fr:"Dirigeable lumineux",es:"Dirigible luminoso",it:"Dirigibile luminoso"},aerostat:{en:"Tethered aerostat",fr:"Aérostat captif",es:"Aeróstato cautivo",it:"Aerostato frenato"},rigid:{en:"Rigid airship",fr:"Dirigeable rigide",es:"Dirigible rígido",it:"Dirigibile rigido"}};static computed=new Map;static bodiesOf(t){const o=JSON.stringify(t);let e=s.computed.get(o);return e||(e=s.compute(t),s.computed.set(o,e),s.computed.size>16&&s.computed.delete(s.computed.keys().next().value)),e}static typeOf(t){const o=t.airship,e=typeof o=="string"?o:o?.id,i=H.byId(e)??H.ALL[0];return typeof o=="string"?i:{...i,...o,id:i.id}}static lightsOf(t){const o={};for(const[e,i]of Object.entries(s.typeOf(t).lights)){const r=t.lights?.[e];if(r===!1)continue;const c={...i,...r??{}};c.off||(o[e]=c)}return o}static signOf(t){const o=s.typeOf(t).sign;if(!o)return;const e=t.sign;if(!(e===!1||e===void 0&&!o.lit))return{color:o.color,luminanceCdM2:o.luminanceCdM2,...typeof e=="object"?e:{}}}static compute(t){const o=h.pathOf(t);if(o.length===0)return[];const e=s.typeOf(t),i=h.randomFrom(t.seed??1),r=o[0].t,c=Math.max(o[o.length-1].t,r),L=Math.max(s.SAMPLE_MS,Math.ceil((c-r)/s.MAX_KEYFRAMES/100)*100),S=(t.wind?.fromDeg??0)*Math.PI/180,w=t.wind?.speedMS??0,j=-w*Math.sin(S),z=-w*Math.cos(S),K=new J(o,!1),M={period:40+40*i(),phase:2*Math.PI*i(),amplitudeDeg:4+4*i()},O=n=>{if(!e.tethered){const d=K.at(n);return{eastM:d.eastM,northM:d.northM,upM:d.upM}}const a=(n-r)/1e3,l=Math.sin(2*Math.PI*a/M.period+M.phase);return{eastM:o[0].eastM+3*l,northM:o[0].northM+3*Math.cos(2*Math.PI*a/M.period*.7),upM:o[0].upM+1.5*l}},u=s.lightsOf(t),y=Object.fromEntries(Object.entries(u).map(([n,a])=>[n,a.phase??i()])),p=[];for(let n=r;n<=c+1e-6;n+=L)p.push(Math.round(n));p[p.length-1]<c&&p.push(Math.round(c));const E=[...new Set([...p,...h.switchesOf(u,y,r,c)])].filter(n=>n>=r&&n<=c).sort((n,a)=>n-a),T=s.signOf(t),R=e.glowCdM2!==void 0&&t.lit!==!1?e.glowCdM2:0,X=e.sizeM.heightM/2;let b;const k=E.map((n,a)=>{const l=O(n),d=O(n-1e3),I=O(n+1e3),m={e:(I.eastM-d.eastM)/2,n:(I.northM-d.northM)/2,u:(I.upM-d.upM)/2},C=m.e-j,x=m.n-z,G=Math.hypot(C,x);let f;if(e.tethered||G<1){const D=w>.3?(t.wind.fromDeg+360)%360:b??0;f=e.tethered?(D+M.amplitudeDeg*Math.sin(2*Math.PI*(n-r)/1e3/M.period+M.phase)+360)%360:D}else f=(Math.atan2(C,x)*180/Math.PI+360)%360;const v=Math.hypot(m.e,m.n),Z=e.tethered?0:Math.max(-s.MAX_PITCH_DEG,Math.min(s.MAX_PITCH_DEG,Math.atan2(m.u,Math.max(v,2))*180/Math.PI)),B=b===void 0?0:((f-b+540)%360-180)/Math.max(.001,(n-(E[a-1]??n))/1e3),Y=e.tethered?0:Math.max(-10,Math.min(10,Math.atan(v*B*Math.PI/180/N.G)*180/Math.PI*s.BANK_SHARE));b=f;const P=h.luminancesAt(u,y,n,E[a+1]===n+1);if(e.sign)for(const D of["left","right"])P[`light-sign-${D}`]=T?.luminanceCdM2??0;return e.glowCdM2!==void 0&&(P.envelope=R),{t:n,eastM:s.round(l.eastM),northM:s.round(l.northM),altitudeM:s.round(l.upM-X),...a===0?{sizeM:e.sizeM,appearance:{color:t.color??e.color,albedo:e.albedo}}:{},attitude:{headingDeg:s.round(f,10),pitchDeg:s.round(Z,10),rollDeg:s.round(Y,10)},lights:P}}),g={envelopeColor:t.color??e.color};e.modelId!=="ufoathome-airship-lightship"&&(g.finColor=t.finColor??e.finColor),e.sign&&(g.signColor=T?.color??e.sign.color);for(const[n,a]of Object.entries(u))g[N.colourKeyOf(n)]=a.color;return[{id:t.id,title:t.title??s.TITLES[e.id],...t.explains?{explains:t.explains}:{},model:{id:e.modelId},modelParameters:g,lamps:h.lampsOf(u,y),...t.silent||!e.sound?{}:{sound:{kind:e.sound}},track:k}]}static round(t,o=100){return Math.round(t*o)/o}}export{s as AirshipFlight};
1
+ import{a as h,b as Y,D as N}from"./DroneFlight-DSE1OXqh.js";import{bJ as H}from"./rr0-scene.mjs";class s{static SAMPLE_MS=500;static MAX_KEYFRAMES=2e4;static BANK_SHARE=.25;static MAX_PITCH_DEG=20;static TITLES={blimp:{en:"Blimp",fr:"Dirigeable souple",es:"Dirigible flexible",it:"Dirigibile floscio"},"zeppelin-nt":{en:"Zeppelin NT",fr:"Zeppelin NT",es:"Zeppelin NT",it:"Zeppelin NT"},lightship:{en:"Lightship",fr:"Dirigeable lumineux",es:"Dirigible luminoso",it:"Dirigibile luminoso"},aerostat:{en:"Tethered aerostat",fr:"Aérostat captif",es:"Aeróstato cautivo",it:"Aerostato frenato"},rigid:{en:"Rigid airship",fr:"Dirigeable rigide",es:"Dirigible rígido",it:"Dirigibile rigido"}};static computed=new Map;static bodiesOf(t){const o=JSON.stringify(t);let e=s.computed.get(o);return e||(e=s.compute(t),s.computed.set(o,e),s.computed.size>16&&s.computed.delete(s.computed.keys().next().value)),e}static typeOf(t){const o=t.airship,e=typeof o=="string"?o:o?.id,i=H.byId(e)??H.ALL[0];return typeof o=="string"?i:{...i,...o,id:i.id}}static lightsOf(t){const o={};for(const[e,i]of Object.entries(s.typeOf(t).lights)){const r=t.lights?.[e];if(r===!1)continue;const c={...i,...r??{}};c.off||(o[e]=c)}return o}static signOf(t){const o=s.typeOf(t).sign;if(!o)return;const e=t.sign;if(!(e===!1||e===void 0&&!o.lit))return{color:o.color,luminanceCdM2:o.luminanceCdM2,...typeof e=="object"?e:{}}}static compute(t){const o=h.pathOf(t);if(o.length===0)return[];const e=s.typeOf(t),i=h.randomFrom(t.seed??1),r=o[0].t,c=Math.max(o[o.length-1].t,r),L=Math.max(s.SAMPLE_MS,Math.ceil((c-r)/s.MAX_KEYFRAMES/100)*100),S=(t.wind?.fromDeg??0)*Math.PI/180,w=t.wind?.speedMS??0,j=-w*Math.sin(S),z=-w*Math.cos(S),K=new Y(o,!1),M={period:40+40*i(),phase:2*Math.PI*i(),amplitudeDeg:4+4*i()},O=n=>{if(!e.tethered){const d=K.at(n);return{eastM:d.eastM,northM:d.northM,upM:d.upM}}const a=(n-r)/1e3,l=Math.sin(2*Math.PI*a/M.period+M.phase);return{eastM:o[0].eastM+3*l,northM:o[0].northM+3*Math.cos(2*Math.PI*a/M.period*.7),upM:o[0].upM+1.5*l}},u=s.lightsOf(t),y=Object.fromEntries(Object.entries(u).map(([n,a])=>[n,a.phase??i()])),p=[];for(let n=r;n<=c+1e-6;n+=L)p.push(Math.round(n));p[p.length-1]<c&&p.push(Math.round(c));const I=[...new Set([...p,...h.switchesOf(u,y,r,c)])].filter(n=>n>=r&&n<=c).sort((n,a)=>n-a),T=s.signOf(t),R=e.glowCdM2!==void 0&&t.lit!==!1?e.glowCdM2:0,X=e.sizeM.heightM/2;let b;const k=I.map((n,a)=>{const l=O(n),d=O(n-1e3),E=O(n+1e3),m={e:(E.eastM-d.eastM)/2,n:(E.northM-d.northM)/2,u:(E.upM-d.upM)/2},C=m.e-j,x=m.n-z,G=Math.hypot(C,x);let f;if(e.tethered||G<1){const D=w>.3?(t.wind.fromDeg+360)%360:b??0;f=e.tethered?(D+M.amplitudeDeg*Math.sin(2*Math.PI*(n-r)/1e3/M.period+M.phase)+360)%360:D}else f=(Math.atan2(C,x)*180/Math.PI+360)%360;const v=Math.hypot(m.e,m.n),Z=e.tethered?0:Math.max(-s.MAX_PITCH_DEG,Math.min(s.MAX_PITCH_DEG,Math.atan2(m.u,Math.max(v,2))*180/Math.PI)),B=b===void 0?0:((f-b+540)%360-180)/Math.max(.001,(n-(I[a-1]??n))/1e3),J=e.tethered?0:Math.max(-10,Math.min(10,Math.atan(v*B*Math.PI/180/N.G)*180/Math.PI*s.BANK_SHARE));b=f;const P=h.luminancesAt(u,y,n,I[a+1]===n+1);if(e.sign)for(const D of["left","right"])P[`light-sign-${D}`]=T?.luminanceCdM2??0;return e.glowCdM2!==void 0&&(P.envelope=R),{t:n,eastM:s.round(l.eastM),northM:s.round(l.northM),altitudeM:s.round(l.upM-X),...a===0?{sizeM:e.sizeM,appearance:{color:t.color??e.color,albedo:e.albedo}}:{},attitude:{headingDeg:s.round(f,10),pitchDeg:s.round(Z,10),rollDeg:s.round(J,10)},lights:P}}),g={envelopeColor:t.color??e.color};e.modelId!=="ufoathome-airship-lightship"&&(g.finColor=t.finColor??e.finColor),e.sign&&(g.signColor=T?.color??e.sign.color);for(const[n,a]of Object.entries(u))g[N.colourKeyOf(n)]=a.color;return[{id:t.id,title:t.title??s.TITLES[e.id],...t.explains?{explains:t.explains}:{},model:{id:e.modelId},modelParameters:g,lamps:h.lampsOf(u,y),...t.silent||!e.sound?{}:{sound:{kind:e.sound}},track:k}]}static round(t,o=100){return Math.round(t*o)/o}}export{s as AirshipFlight};
@@ -0,0 +1 @@
1
+ import{bw as F,b5 as y}from"./rr0-scene.mjs";const N=[1900,1905,1910,1915,1920,1925,1930,1935,1940,1945,1950,1955,1960,1965,1970,1975,1980,1985,1990,1995,2e3,2005,2010,2015,2020,2025],b=[["g",1,0],["g",1,1],["h",1,1],["g",2,0],["g",2,1],["h",2,1],["g",2,2],["h",2,2],["g",3,0],["g",3,1],["h",3,1],["g",3,2],["h",3,2],["g",3,3],["h",3,3],["g",4,0],["g",4,1],["h",4,1],["g",4,2],["h",4,2],["g",4,3],["h",4,3],["g",4,4],["h",4,4],["g",5,0],["g",5,1],["h",5,1],["g",5,2],["h",5,2],["g",5,3],["h",5,3],["g",5,4],["h",5,4],["g",5,5],["h",5,5],["g",6,0],["g",6,1],["h",6,1],["g",6,2],["h",6,2],["g",6,3],["h",6,3],["g",6,4],["h",6,4],["g",6,5],["h",6,5],["g",6,6],["h",6,6],["g",7,0],["g",7,1],["h",7,1],["g",7,2],["h",7,2],["g",7,3],["h",7,3],["g",7,4],["h",7,4],["g",7,5],["h",7,5],["g",7,6],["h",7,6],["g",7,7],["h",7,7],["g",8,0],["g",8,1],["h",8,1],["g",8,2],["h",8,2],["g",8,3],["h",8,3],["g",8,4],["h",8,4],["g",8,5],["h",8,5],["g",8,6],["h",8,6],["g",8,7],["h",8,7],["g",8,8],["h",8,8],["g",9,0],["g",9,1],["h",9,1],["g",9,2],["h",9,2],["g",9,3],["h",9,3],["g",9,4],["h",9,4],["g",9,5],["h",9,5],["g",9,6],["h",9,6],["g",9,7],["h",9,7],["g",9,8],["h",9,8],["g",9,9],["h",9,9],["g",10,0],["g",10,1],["h",10,1],["g",10,2],["h",10,2],["g",10,3],["h",10,3],["g",10,4],["h",10,4],["g",10,5],["h",10,5],["g",10,6],["h",10,6],["g",10,7],["h",10,7],["g",10,8],["h",10,8],["g",10,9],["h",10,9],["g",10,10],["h",10,10],["g",11,0],["g",11,1],["h",11,1],["g",11,2],["h",11,2],["g",11,3],["h",11,3],["g",11,4],["h",11,4],["g",11,5],["h",11,5],["g",11,6],["h",11,6],["g",11,7],["h",11,7],["g",11,8],["h",11,8],["g",11,9],["h",11,9],["g",11,10],["h",11,10],["g",11,11],["h",11,11],["g",12,0],["g",12,1],["h",12,1],["g",12,2],["h",12,2],["g",12,3],["h",12,3],["g",12,4],["h",12,4],["g",12,5],["h",12,5],["g",12,6],["h",12,6],["g",12,7],["h",12,7],["g",12,8],["h",12,8],["g",12,9],["h",12,9],["g",12,10],["h",12,10],["g",12,11],["h",12,11],["g",12,12],["h",12,12],["g",13,0],["g",13,1],["h",13,1],["g",13,2],["h",13,2],["g",13,3],["h",13,3],["g",13,4],["h",13,4],["g",13,5],["h",13,5],["g",13,6],["h",13,6],["g",13,7],["h",13,7],["g",13,8],["h",13,8],["g",13,9],["h",13,9],["g",13,10],["h",13,10],["g",13,11],["h",13,11],["g",13,12],["h",13,12],["g",13,13],["h",13,13]],P=[[-31543,-2298,5922,-677,2905,-1061,924,1121,1022,-1469,-330,1256,3,572,523,876,628,195,660,-69,-361,-210,134,-75,-184,328,-210,264,53,5,-33,-86,-124,-16,3,63,61,-9,-11,83,-217,2,-58,-35,59,36,-90,-69,70,-55,-45,0,-13,34,-10,-41,-1,-21,28,18,-12,6,-22,11,8,8,-4,-14,-9,7,1,-13,2,5,-9,16,5,-5,8,-18,8,10,-20,1,14,-11,5,12,-3,1,-2,-2,8,2,10,-1,-2,-1,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,2,4,2,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-31464,-2298,5909,-728,2928,-1086,1041,1065,1037,-1494,-357,1239,34,635,480,880,643,203,653,-77,-380,-201,146,-65,-192,328,-193,259,56,-1,-32,-93,-125,-26,11,62,60,-7,-11,86,-221,4,-57,-32,57,32,-92,-67,70,-54,-46,0,-14,33,-11,-41,0,-20,28,18,-12,6,-22,11,8,8,-4,-15,-9,7,1,-13,2,5,-8,16,5,-5,8,-18,8,10,-20,1,14,-11,5,12,-3,1,-2,-2,8,2,10,0,-2,-1,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,2,4,2,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-31354,-2297,5898,-769,2948,-1128,1176,1e3,1058,-1524,-389,1223,62,705,425,884,660,211,644,-90,-400,-189,160,-55,-201,327,-172,253,57,-9,-33,-102,-126,-38,21,62,58,-5,-11,89,-224,5,-54,-29,54,28,-95,-65,71,-54,-47,1,-14,32,-12,-40,1,-19,28,18,-13,6,-22,11,8,8,-4,-15,-9,6,1,-13,2,5,-8,16,5,-5,8,-18,8,10,-20,1,14,-11,5,12,-3,1,-2,-2,8,2,10,0,-2,-1,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,2,4,2,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-31212,-2306,5875,-802,2956,-1191,1309,917,1084,-1559,-421,1212,84,778,360,887,678,218,631,-109,-416,-173,178,-51,-211,327,-148,245,58,-16,-34,-111,-126,-51,32,61,57,-2,-10,93,-228,8,-51,-26,49,23,-98,-62,72,-54,-48,2,-14,31,-12,-38,2,-18,28,19,-15,6,-22,11,8,8,-4,-15,-9,6,2,-13,3,5,-8,16,6,-5,8,-18,8,10,-20,1,14,-11,5,12,-3,1,-2,-2,8,2,10,0,-2,-1,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,1,4,2,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-31060,-2317,5845,-839,2959,-1259,1407,823,1111,-1600,-445,1205,103,839,293,889,695,220,616,-134,-424,-153,199,-57,-221,326,-122,236,58,-23,-38,-119,-125,-62,43,61,55,0,-10,96,-233,11,-46,-22,44,18,-101,-57,73,-54,-49,2,-14,29,-13,-37,4,-16,28,19,-16,6,-22,11,7,8,-3,-15,-9,6,2,-14,4,5,-7,17,6,-5,8,-19,8,10,-20,1,14,-11,5,12,-3,1,-2,-2,9,2,10,0,-2,-1,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,1,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30926,-2318,5817,-893,2969,-1334,1471,728,1140,-1645,-462,1202,119,881,229,891,711,216,601,-163,-426,-130,217,-70,-230,326,-96,226,58,-28,-44,-125,-122,-69,51,61,54,3,-9,99,-238,14,-40,-18,39,13,-103,-52,73,-54,-50,3,-14,27,-14,-35,5,-14,29,19,-17,6,-21,11,7,8,-3,-15,-9,6,2,-14,4,5,-7,17,7,-5,8,-19,8,10,-20,1,14,-11,5,12,-3,1,-2,-2,9,2,10,0,-2,-1,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,1,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30805,-2316,5808,-951,2980,-1424,1517,644,1172,-1692,-480,1205,133,907,166,896,727,205,584,-195,-422,-109,234,-90,-237,327,-72,218,60,-32,-53,-131,-118,-74,58,60,53,4,-9,102,-242,19,-32,-16,32,8,-104,-46,74,-54,-51,4,-15,25,-14,-34,6,-12,29,18,-18,6,-20,11,7,8,-3,-15,-9,5,2,-14,5,5,-6,18,8,-5,8,-19,8,10,-20,1,14,-12,5,12,-3,1,-2,-2,9,3,10,0,-2,-2,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-2,1,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30715,-2306,5812,-1018,2984,-1520,1550,586,1206,-1740,-494,1215,146,918,101,903,744,188,565,-226,-415,-90,249,-114,-241,329,-51,211,64,-33,-64,-136,-115,-76,64,59,53,4,-8,104,-246,25,-25,-15,25,4,-106,-40,74,-53,-52,4,-17,23,-14,-33,7,-11,29,18,-19,6,-19,11,7,8,-3,-15,-9,5,1,-15,6,5,-6,18,8,-5,7,-19,8,10,-20,1,15,-12,5,11,-3,1,-3,-2,9,3,11,0,-2,-2,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-1,2,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30654,-2292,5821,-1106,2981,-1614,1566,528,1240,-1790,-499,1232,163,916,43,914,762,169,550,-252,-405,-72,265,-141,-241,334,-33,208,71,-33,-75,-141,-113,-76,69,57,54,4,-7,105,-249,33,-18,-15,18,0,-107,-33,74,-53,-52,4,-18,20,-14,-31,7,-9,29,17,-20,5,-19,11,7,8,-3,-14,-10,5,1,-15,6,5,-5,19,9,-5,7,-19,8,10,-21,1,15,-12,5,11,-3,1,-3,-2,9,3,11,1,-2,-2,2,-3,-4,2,2,1,-5,2,-2,6,6,-4,4,0,0,-1,2,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30594,-2285,5810,-1244,2990,-1702,1578,477,1282,-1834,-499,1255,186,913,-11,944,776,144,544,-276,-421,-55,304,-178,-253,346,-12,194,95,-20,-67,-142,-119,-82,82,59,57,6,6,100,-246,16,-25,-9,21,-16,-104,-39,70,-40,-45,0,-18,0,2,-29,6,-10,28,15,-17,29,-22,13,7,12,-8,-21,-5,-12,9,-7,7,2,-10,18,7,3,2,-11,5,-21,-27,1,17,-11,29,3,-9,16,4,-3,9,-4,6,-3,1,-4,8,-3,11,5,1,1,2,-20,-5,-1,-1,-6,8,6,-1,-4,-3,-2,5,0,-2,-2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30554,-2250,5815,-1341,2998,-1810,1576,381,1297,-1889,-476,1274,206,896,-46,954,792,136,528,-278,-408,-37,303,-210,-240,349,3,211,103,-20,-87,-147,-122,-76,80,54,57,-1,4,99,-247,33,-16,-12,12,-12,-105,-30,65,-55,-35,2,-17,1,0,-40,10,-7,36,5,-18,19,-16,22,15,5,-4,-22,-1,0,11,-21,15,-8,-13,17,5,-4,-1,-17,3,-7,-24,-1,19,-25,12,10,2,5,2,-5,8,-2,8,3,-11,8,-7,-8,4,13,-1,-2,13,-10,-4,2,4,-3,12,6,3,-3,2,6,10,11,3,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30500,-2215,5820,-1440,3003,-1898,1581,291,1302,-1944,-462,1288,216,882,-83,958,796,133,510,-274,-397,-23,290,-230,-229,360,15,230,110,-23,-98,-152,-121,-69,78,47,57,-9,3,96,-247,48,-8,-16,7,-12,-107,-24,65,-56,-50,2,-24,10,-4,-32,8,-11,28,9,-20,18,-18,11,9,10,-6,-15,-14,5,6,-23,10,3,-7,23,6,-4,9,-13,4,9,-11,-4,12,-5,7,2,6,4,-2,1,10,2,7,2,-6,5,5,-3,-5,-4,-1,0,2,-8,-3,-2,7,-4,4,1,-2,-3,6,7,-2,-1,0,-3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30421,-2169,5791,-1555,3002,-1967,1590,206,1302,-1992,-414,1289,224,878,-130,957,800,135,504,-278,-394,3,269,-255,-222,362,16,242,125,-26,-117,-156,-114,-63,81,46,58,-10,1,99,-237,60,-1,-20,-2,-11,-113,-17,67,-56,-55,5,-28,15,-6,-32,7,-7,23,17,-18,8,-17,15,6,11,-4,-14,-11,7,2,-18,10,4,-5,23,10,1,8,-20,4,6,-18,0,12,-9,2,1,0,4,-3,-1,9,-2,8,3,0,-1,5,1,-3,4,4,1,0,0,-1,2,4,-5,6,1,1,-1,-1,6,2,0,0,-7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30334,-2119,5776,-1662,2997,-2016,1594,114,1297,-2038,-404,1292,240,856,-165,957,804,148,479,-269,-390,13,252,-269,-219,358,19,254,128,-31,-126,-157,-97,-62,81,45,61,-11,8,100,-228,68,4,-32,1,-8,-111,-7,75,-57,-61,4,-27,13,-2,-26,6,-6,26,13,-23,1,-12,13,5,7,-4,-12,-14,9,0,-16,8,4,-1,24,11,-3,4,-17,8,10,-22,2,15,-13,7,10,-4,-1,-5,-1,10,5,10,1,-4,-2,1,-2,-3,2,2,1,-5,2,-2,6,4,-4,4,0,0,-2,2,3,2,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30220,-2068,5737,-1781,3e3,-2047,1611,25,1287,-2091,-366,1278,251,838,-196,952,800,167,461,-266,-395,26,234,-279,-216,359,26,262,139,-42,-139,-160,-91,-56,83,43,64,-12,15,100,-212,72,2,-37,3,-6,-112,1,72,-57,-70,1,-27,14,-4,-22,8,-2,23,13,-23,-2,-11,14,6,7,-2,-15,-13,6,-3,-17,5,6,0,21,11,-6,3,-16,8,10,-21,2,16,-12,6,10,-4,-1,-5,0,10,3,11,1,-2,-1,1,-3,-3,1,2,1,-5,3,-1,4,6,-4,4,0,1,-1,0,3,3,1,-1,-4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-30100,-2013,5675,-1902,3010,-2067,1632,-68,1276,-2144,-333,1260,262,830,-223,946,791,191,438,-265,-405,39,216,-288,-218,356,31,264,148,-59,-152,-159,-83,-49,88,45,66,-13,28,99,-198,75,1,-41,6,-4,-111,11,71,-56,-77,1,-26,16,-5,-14,10,0,22,12,-23,-5,-12,14,6,6,-1,-16,-12,4,-8,-19,4,6,0,18,10,-10,1,-17,7,10,-21,2,16,-12,7,10,-4,-1,-5,-1,10,4,11,1,-3,-2,1,-3,-3,1,2,1,-5,3,-2,4,5,-4,4,-1,1,-1,0,3,3,1,-1,-5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-29992,-1956,5604,-1997,3027,-2129,1663,-200,1281,-2180,-336,1251,271,833,-252,938,782,212,398,-257,-419,53,199,-297,-218,357,46,261,150,-74,-151,-162,-78,-48,92,48,66,-15,42,93,-192,71,4,-43,14,-2,-108,17,72,-59,-82,2,-27,21,-5,-12,16,1,18,11,-23,-2,-10,18,6,7,0,-18,-11,4,-7,-22,4,9,3,16,6,-13,-1,-15,5,10,-21,1,16,-12,9,9,-5,-3,-6,-1,9,7,10,2,-6,-5,2,-4,-4,1,2,0,-5,3,-2,6,5,-4,3,0,1,-1,2,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-29873,-1905,5500,-2072,3044,-2197,1687,-306,1296,-2208,-310,1247,284,829,-297,936,780,232,361,-249,-424,69,170,-297,-214,355,47,253,150,-93,-154,-164,-75,-46,95,53,65,-16,51,88,-185,69,4,-48,16,-1,-102,21,74,-62,-83,3,-27,24,-2,-6,20,4,17,10,-23,0,-7,21,6,8,0,-19,-11,5,-9,-23,4,11,4,14,4,-15,-4,-11,5,10,-21,1,15,-12,9,9,-6,-3,-6,-1,9,7,9,1,-7,-5,2,-4,-4,1,3,0,-5,3,-2,6,5,-4,3,0,1,-1,2,4,3,0,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-29775,-1848,5406,-2131,3059,-2279,1686,-373,1314,-2239,-284,1248,293,802,-352,939,780,247,325,-240,-423,84,141,-299,-214,353,46,245,154,-109,-153,-165,-69,-36,97,61,65,-16,59,82,-178,69,3,-52,18,1,-96,24,77,-64,-80,2,-26,26,0,-1,21,5,17,9,-23,0,-4,23,5,10,-1,-19,-10,6,-12,-22,3,12,4,12,2,-16,-6,-10,4,9,-20,1,15,-12,11,9,-7,-4,-7,-2,9,7,8,1,-7,-6,2,-3,-4,2,2,1,-5,3,-2,6,4,-4,3,0,1,-2,3,3,3,-1,0,-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-29692,-1784,5306,-2200,3070,-2366,1681,-413,1335,-2267,-262,1249,302,759,-427,940,780,262,290,-236,-418,97,122,-306,-214,352,46,235,165,-118,-143,-166,-55,-17,107,68,67,-17,68,72,-170,67,-1,-58,19,1,-93,36,77,-72,-69,1,-25,28,4,5,24,4,17,8,-24,-2,-6,25,6,11,-6,-21,-9,8,-14,-23,9,15,6,11,-5,-16,-7,-4,4,9,-20,3,15,-10,12,8,-6,-8,-8,-1,8,10,5,-2,-8,-8,3,-3,-6,1,2,0,-4,4,-1,5,4,-5,2,-1,2,-2,5,1,1,-2,0,-7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-29619.4,-1728.2,5186.1,-2267.7,3068.4,-2481.6,1670.9,-458,1339.6,-2288,-227.6,1252.1,293.4,714.5,-491.1,932.3,786.8,272.6,250,-231.9,-403,119.8,111.3,-303.8,-218.8,351.4,43.8,222.3,171.9,-130.4,-133.1,-168.6,-39.3,-12.9,106.3,72.3,68.2,-17.4,74.2,63.7,-160.9,65.1,-5.9,-61.2,16.9,.7,-90.4,43.8,79,-74,-64.6,0,-24.2,33.3,6.2,9.1,24,6.9,14.8,7.3,-25.4,-1.2,-5.8,24.4,6.6,11.9,-9.2,-21.5,-7.9,8.5,-16.6,-21.5,9.1,15.5,7,8.9,-7.9,-14.9,-7,-2.1,5,9.4,-19.7,3,13.4,-8.4,12.5,6.3,-6.2,-8.9,-8.4,-1.5,8.4,9.3,3.8,-4.3,-8.2,-8.2,4.8,-2.6,-6,1.7,1.7,0,-3.1,4,-.5,4.9,3.7,-5.9,1,-1.2,2,-2.9,4.2,.2,.3,-2.2,-1.1,-7.4,2.7,-1.7,.1,-1.9,1.3,1.5,-.9,-.1,-2.6,.1,.9,-.7,-.7,.7,-2.8,1.7,-.9,.1,-1.2,1.2,-1.9,4,-.9,-2.2,-.3,-.4,.2,.3,.9,2.5,-.2,-2.6,.9,.7,-.5,.3,.3,0,-.3,0,-.4,.3,-.1,-.9,-.2,-.4,-.4,.8,-.2,-.9,-.9,.3,.2,.1,1.8,-.4,-.4,1.3,-1,-.4,-.1,.7,.7,-.4,.3,.3,.6,-.1,.3,.4,-.2,0,-.5,.1,-.9],[-29554.63,-1669.05,5077.99,-2337.24,3047.69,-2594.5,1657.76,-515.43,1336.3,-2305.83,-198.86,1246.39,269.72,672.51,-524.72,920.55,797.96,282.07,210.65,-225.23,-379.86,145.15,100,-305.36,-227,354.41,42.72,208.95,180.25,-136.54,-123.45,-168.05,-19.57,-13.55,103.85,73.6,69.56,-20.33,76.74,54.75,-151.34,63.63,-14.58,-63.53,14.58,.24,-86.36,50.94,79.88,-74.46,-61.14,-1.65,-22.57,38.73,6.82,12.3,25.35,9.37,10.93,5.42,-26.32,1.94,-4.64,24.8,7.62,11.2,-11.73,-20.88,-6.88,9.83,-18.11,-19.71,10.17,16.22,9.36,7.61,-11.25,-12.76,-4.87,-.06,5.58,9.76,-20.11,3.58,12.69,-6.94,12.67,5.01,-6.72,-10.76,-8.16,-1.25,8.1,8.76,2.92,-6.66,-7.73,-9.22,6.01,-2.17,-6.12,2.19,1.42,.1,-2.35,4.46,-.15,4.76,3.06,-6.58,.29,-1.01,2.06,-3.47,3.77,-.86,-.21,-2.31,-2.09,-7.93,2.95,-1.6,.26,-1.88,1.44,1.44,-.77,-.31,-2.27,.29,.9,-.79,-.58,.53,-2.69,1.8,-1.08,.16,-1.58,.96,-1.9,3.99,-1.39,-2.15,-.29,-.55,.21,.23,.89,2.38,-.38,-2.63,.96,.61,-.3,.4,.46,.01,-.35,.02,-.36,.28,.08,-.87,-.49,-.34,-.08,.88,-.16,-.88,-.76,.3,.33,.28,1.72,-.43,-.54,1.18,-1.07,-.37,-.04,.75,.63,-.26,.21,.35,.53,-.05,.38,.41,-.22,-.1,-.57,-.18,-.82],[-29496.57,-1586.42,4944.26,-2396.06,3026.34,-2708.54,1668.17,-575.73,1339.85,-2326.54,-160.4,1232.1,251.75,633.73,-537.03,912.66,808.97,286.48,166.58,-211.03,-356.83,164.46,89.4,-309.72,-230.87,357.29,44.58,200.26,189.01,-141.05,-118.06,-163.17,-.01,-8.03,101.04,72.78,68.69,-20.9,75.92,44.18,-141.4,61.54,-22.83,-66.26,13.1,3.02,-78.09,55.4,80.44,-75,-57.8,-4.55,-21.2,45.24,6.54,14,24.96,10.46,7.03,1.64,-27.61,4.92,-3.28,24.41,8.21,10.84,-14.5,-20.03,-5.59,11.83,-19.34,-17.41,11.61,16.71,10.85,6.96,-14.05,-10.74,-3.54,1.64,5.5,9.45,-20.54,3.45,11.51,-5.27,12.75,3.13,-7.14,-12.38,-7.42,-.76,7.97,8.43,2.14,-8.42,-6.08,-10.08,7.01,-1.94,-6.24,2.73,.89,-.1,-1.07,4.71,-.16,4.44,2.45,-7.22,-.33,-.96,2.13,-3.95,3.09,-1.99,-1.03,-1.97,-2.8,-8.31,3.05,-1.48,.13,-2.03,1.67,1.65,-.66,-.51,-1.76,.54,.85,-.79,-.39,.37,-2.51,1.79,-1.27,.12,-2.11,.75,-1.94,3.75,-1.86,-2.12,-.21,-.87,.3,.27,1.04,2.13,-.63,-2.49,.95,.49,-.11,.59,.52,0,-.39,.13,-.37,.27,.21,-.86,-.77,-.23,.04,.87,-.09,-.89,-.87,.31,.3,.42,1.66,-.45,-.59,1.08,-1.14,-.31,-.07,.78,.54,-.18,.1,.38,.49,.02,.44,.42,-.25,-.26,-.53,-.26,-.79],[-29441.46,-1501.77,4795.99,-2445.88,3012.2,-2845.41,1676.35,-642.17,1350.33,-2352.26,-115.29,1225.85,245.04,581.69,-538.7,907.42,813.68,283.54,120.49,-188.43,-334.85,180.95,70.38,-329.23,-232.91,360.14,46.98,192.35,196.98,-140.94,-119.14,-157.4,15.98,4.3,100.12,69.55,67.57,-20.61,72.79,33.3,-129.85,58.74,-28.93,-66.64,13.14,7.35,-70.85,62.41,81.29,-75.99,-54.27,-6.79,-19.53,51.82,5.59,15.07,24.45,9.32,3.27,-2.88,-27.5,6.61,-2.32,23.98,8.89,10.04,-16.78,-18.26,-3.16,13.18,-20.56,-14.6,13.33,16.16,11.76,5.69,-15.98,-9.1,-2.02,2.26,5.33,8.83,-21.77,3.02,10.76,-3.22,11.74,.67,-6.74,-13.2,-6.88,-.1,7.79,8.68,1.04,-9.06,-3.89,-10.54,8.44,-2.01,-6.26,3.28,.17,-.4,.55,4.55,-.55,4.4,1.7,-7.92,-.67,-.61,2.13,-4.16,2.33,-2.85,-1.8,-1.12,-3.59,-8.72,3,-1.4,0,-2.3,2.11,2.08,-.6,-.79,-1.05,.58,.76,-.7,-.2,.14,-2.12,1.7,-1.44,-.22,-2.57,.44,-2.01,3.49,-2.34,-2.09,-.16,-1.08,.46,.37,1.23,1.75,-.89,-2.19,.85,.27,.1,.72,.54,-.09,-.37,.29,-.43,.23,.22,-.89,-.94,-.16,-.03,.72,-.02,-.92,-.88,.42,.49,.63,1.56,-.42,-.5,.96,-1.24,-.19,-.1,.81,.42,-.13,-.04,.38,.48,.08,.48,.46,-.3,-.35,-.43,-.36,-.71],[-29403.41,-1451.37,4653.35,-2499.78,2981.96,-2991.72,1676.85,-734.62,1363,-2380.8,-81.96,1236.06,241.8,525.6,-542.52,902.82,809.47,282.1,86.18,-158.5,-309.47,199.75,47.44,-350.3,-234.42,363.26,47.52,187.86,208.36,-140.73,-121.43,-151.16,32.09,13.98,99.14,65.97,65.56,-19.22,72.96,25.02,-121.57,52.76,-36.06,-64.4,13.6,8.96,-64.8,68.04,80.54,-76.63,-51.5,-8.23,-16.85,56.45,2.36,15.8,23.56,6.3,-2.19,-7.21,-27.19,9.77,-1.9,23.66,9.74,8.43,-17.49,-15.23,-.49,12.83,-21.07,-11.76,15.28,14.94,13.65,3.62,-16.59,-6.9,-.34,2.9,5.03,8.36,-23.44,2.84,11.04,-1.48,9.86,-1.14,-5.13,-13.22,-6.2,1.08,7.79,8.82,.4,-9.23,-1.44,-11.86,9.6,-1.84,-6.25,3.38,-.11,-.18,1.66,3.5,-.86,4.86,.65,-8.62,-.88,-.11,1.88,-4.26,1.44,-3.43,-2.38,-.1,-3.84,-8.84,2.96,-1.36,-.02,-2.51,2.5,2.31,-.55,-.85,-.39,.28,.62,-.66,-.21,-.07,-1.66,1.44,-1.6,-.59,-2.98,.18,-1.97,3.09,-2.51,-2,-.13,-1.15,.43,.52,1.28,1.37,-1.14,-1.81,.71,.08,.31,.71,.49,-.15,-.26,.55,-.47,.16,.09,-.93,-1.13,-.04,-.33,.52,.08,-.93,-.88,.53,.64,.72,1.4,-.3,-.38,.75,-1.31,-.01,-.09,.76,.29,-.05,-.11,.37,.47,.13,.54,.45,-.41,-.46,-.36,-.4,-.6],[-29350,-1410.3,4545.5,-2556.2,2950.9,-3133.6,1648.7,-814.2,1360.9,-2404.2,-56.9,1243.8,237.6,453.4,-549.6,894.7,799.6,278.6,55.8,-134,-281.1,212,12,-375.4,-232.9,369,45.3,187.2,220,-138.7,-122.9,-141.9,42.9,20.9,106.2,64.3,63.8,-18.4,76.7,16.8,-115.7,48.9,-40.9,-59.8,14.9,10.9,-60.8,72.8,79.6,-76.9,-48.9,-8.8,-14.4,59.3,-1,15.8,23.5,2.5,-7.4,-11.2,-25.1,14.3,-2.2,23.1,10.9,7.2,-17.5,-12.6,2,11.5,-21.8,-9.7,16.9,12.7,14.9,.7,-16.8,-5.2,1,3.9,4.7,8,-24.8,3,12.1,-.2,8.3,-2.5,-3.4,-13.1,-5.3,2.4,7.2,8.6,-.6,-8.7,.8,-12.8,9.8,-1.3,-6.4,3.3,.2,.1,2,2.5,-1,5.4,-.5,-9,-.9,.4,1.5,-4.2,.9,-3.8,-2.6,.9,-3.9,-9,3,-1.4,0,-2.5,2.8,2.4,-.6,-.6,.1,0,.5,-.6,-.3,-.1,-1.2,1.1,-1.7,-1,-2.9,-.1,-1.8,2.6,-2.3,-2,-.1,-1.2,.4,.6,1.2,1,-1.2,-1.5,.6,0,.5,.6,.5,-.2,-.1,.8,-.5,.1,-.2,-.9,-1.2,.1,-.7,.2,.2,-.9,-.9,.6,.7,.7,1.2,-.2,-.3,.5,-1.3,.1,-.1,.7,.2,0,-.2,.3,.5,.2,.6,.4,-.6,-.5,-.3,-.4,-.5]],B=[12.6,10,-21.5,-11.2,-5.3,-27.3,-8.3,-11.1,-1.5,-4.4,3.8,.4,-.2,-15.6,-3.9,-1.7,-2.3,-1.3,-5.8,4.1,5.4,1.6,-6.8,-4.1,.6,1.3,-.5,0,2.1,.7,.5,2.3,1.7,1,1.9,-.2,-.3,.3,.8,-1.6,1.2,-.4,-.8,.8,.4,.7,.9,.9,-.1,-.1,.6,-.1,.5,.5,-.7,-.1,0,-.8,-.9,-.8,.5,.9,-.3,-.1,.2,-.3,0,.4,.4,-.3,-.1,.4,.3,-.5,.1,-.6,0,.3,.3,.2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];class d{static A_KM=6371.2;static MAX_DEGREE=13;static coefficientsAt(t){const a=t.getUTCFullYear()+(t.getUTCMonth()+t.getUTCDate()/31)/12,s=N;let n;if(a<=s[0])n=[...P[0]];else if(a>=s[s.length-1]){const e=Math.min(a-s[s.length-1],5);n=P[s.length-1].map((l,o)=>l+B[o]*e)}else{const e=s.findIndex(o=>o>a),l=(a-s[e-1])/(s[e]-s[e-1]);n=P[e-1].map((o,g)=>o+(P[e][g]-o)*l)}const i=Array.from({length:d.MAX_DEGREE+1},()=>new Array(d.MAX_DEGREE+1).fill(0)),r=Array.from({length:d.MAX_DEGREE+1},()=>new Array(d.MAX_DEGREE+1).fill(0));return b.forEach(([e,l,o],g)=>{(e==="g"?i:r)[l][o]=n[g]}),{g:i,h:r}}static fieldAt(t,a,s,n,i=d.MAX_DEGREE){const r=Math.hypot(a,s,n),e=n/r,l=Math.max(Math.sqrt(Math.max(0,1-e*e)),1e-9),o=Math.atan2(s,a),g=d.p,c=d.dp;g[0][0]=1,c[0][0]=0;let f=0,K=0,E=0,_=(d.A_KM/r)**2;for(let h=1;h<=i;h++){_*=d.A_KM/r;for(let M=0;M<=h;M++){if(h===M){const O=h===1?1:Math.sqrt(1-1/(2*h));g[h][h]=O*l*g[h-1][h-1],c[h][h]=O*(l*c[h-1][h-1]+e*g[h-1][h-1])}else{const O=Math.sqrt(h*h-M*M),L=h-2>=M?Math.sqrt((h-1)**2-M*M):0,U=h-2>=M?g[h-2][M]:0,C=h-2>=M?c[h-2][M]:0;g[h][M]=((2*h-1)*e*g[h-1][M]-L*U)/O,c[h][M]=((2*h-1)*(e*c[h-1][M]-l*g[h-1][M])-L*C)/O}const T=Math.cos(M*o),x=Math.sin(M*o),G=t.g[h][M],H=t.h[h][M],k=G*T+H*x;f+=(h+1)*_*k*g[h][M],K-=_*k*c[h][M],E+=_*M*(G*x-H*T)*g[h][M]/l}}const m=Math.cos(o),R=Math.sin(o);return[f*l*m+K*e*m-E*R,f*l*R+K*e*R+E*m,f*e-K*l]}static p=Array.from({length:d.MAX_DEGREE+1},()=>new Array(d.MAX_DEGREE+1).fill(0));static dp=Array.from({length:d.MAX_DEGREE+1},()=>new Array(d.MAX_DEGREE+1).fill(0));static apexLatitude(t,a,s){const n=d.coefficientsAt(s),i=t*Math.PI/180,r=a*Math.PI/180;let e=[d.A_KM*Math.cos(i)*Math.cos(r),d.A_KM*Math.cos(i)*Math.sin(r),d.A_KM*Math.sin(i)];const l=d.fieldAt(n,...e),o=l[0]*e[0]+l[1]*e[1]+l[2]*e[2]<0?-1:1,g=K=>{const E=d.fieldAt(n,K[0],K[1],K[2],8),_=Math.hypot(E[0],E[1],E[2]);return[o*E[0]/_,o*E[1]/_,o*E[2]/_]};let c=d.A_KM,f=c;for(let K=0;K<4e3;K++){const E=.01*c,_=g(e),m=g([e[0]+_[0]*E/2,e[1]+_[1]*E/2,e[2]+_[2]*E/2]),R=g([e[0]+m[0]*E/2,e[1]+m[1]*E/2,e[2]+m[2]*E/2]),h=g([e[0]+R[0]*E,e[1]+R[1]*E,e[2]+R[2]*E]);if(e=[0,1,2].map(M=>e[M]+E/6*(_[M]+2*m[M]+2*R[M]+h[M])),c=Math.hypot(e[0],e[1],e[2]),c>30*d.A_KM)return Math.sign(t||1)*80;if(c<f)break;f=c}return Math.sign(o===-1?1:-1)*(Math.acos(Math.sqrt(Math.min(1,d.A_KM/f)))*180)/Math.PI}}class S{static PHOTONS_PER_KR=1e13/(4*Math.PI);static GREEN=S.line(557.7);static RED=S.line(631.5);static BLUE=S.line(427.8);static line(t){const a=y.colourMatching(t),s=662607015e-42*299792458/(t*1e-9),n=S.PHOTONS_PER_KR*s,i=y.linearSrgbOf(a).map(e=>Math.max(e,0)),r=.2126*i[0]+.7152*i[1]+.0722*i[2];return{wavelengthNm:t,cdM2PerKR:683*a[1]*n,colour:i.map(e=>e/r)}}}class D{static DEFAULT_KP=3;static NOON_SHIFT_DEG=8;static equatorwardEdgeDeg(t){return 66.5-2.04*Math.max(0,Math.min(12,t))}static widthDeg(t){return 8+1.2*Math.max(0,Math.min(12,t))}static diffuseKR(t){return .5+.15*Math.max(0,t)}static arcsOf(t){return t<1?1:Math.min(4,Math.round(1+t/2.5))}static arcKROf(t){return 10*2**(Math.max(0,t)/2.5)}static arcRedOf(t){const a=Math.max(0,t-6);return{share:.1+.25*a,peakKm:250+40*a,widthKm:70+30*a}}static redKROf(t){return t<=5?0:.5*(t-5)**1.5}static edgeAt(t,a){return t+D.NOON_SHIFT_DEG*(1-Math.cos(a*Math.PI/12))/2}}class p{static EARTH_KM=6371;static BOTTOM_KM=90;static TOP_KM=900;static ARC_BASE_KM=105;static ARC_SCALE_KM=35;static DIFFUSE_BASE_KM=115;static DIFFUSE_SCALE_KM=45;static RED_PEAK_KM=250;static RED_WIDTH_KM=70;static STORM_RED_PEAK_KM=380;static STORM_RED_WIDTH_KM=150;static ARC_THICKNESS_DEG=.06;static RED_OF_GREEN=.25;static BLUE_OF_GREEN=.12;static SUNLIT_BLUE_OF_GREEN=.2;static exponential(t,a,s){if(t<a-8)return 0;const n=Math.min(1,Math.max(0,(t-(a-8))/10));return n*n*(3-2*n)*Math.exp(-Math.max(0,t-a)/s)/(s+5)}static gaussian(t,a,s){const n=(t-a)/s;return Math.exp(-.5*n*n)/(s*Math.sqrt(2*Math.PI))}}class A{static FADE_MS=6e4;static OUT_OF_SIGHT_DEG=28;static kpAt(t,a){const s=t.activity;if(!s||s.length===0)return t.kp??D.DEFAULT_KP;if(a<=s[0].t)return s[0].kp;for(let n=1;n<s.length;n++){if(a>s[n].t)continue;const i=s[n-1],r=s[n];return i.kp+(r.kp-i.kp)*(a-i.t)/Math.max(r.t-i.t,1)}return s[s.length-1].kp}static fadeAt(t,a){const s=t.fromT===void 0?1:Math.min(1,Math.max(0,(a-t.fromT)/A.FADE_MS)),n=t.untilT===void 0?1:Math.min(1,Math.max(0,(t.untilT-a)/A.FADE_MS));return s*n}static apexes=new Map;static apexLatitude(t,a,s){const n=`${t.toFixed(2)},${a.toFixed(2)},${s.toISOString().slice(0,10)}`;let i=A.apexes.get(n);return i===void 0&&(i=d.apexLatitude(t,a,s),A.apexes.size>64&&A.apexes.clear(),A.apexes.set(n,i)),i}static seed(t){let a=2166136261;for(let s=0;s<t.length;s++)a=Math.imul(a^t.charCodeAt(s),16777619);return(a>>>0)%1e4/1e4}static viewAt(t,a,s,n,i){const r=A.fadeAt(t,a);if(r<=0)return;const e=A.kpAt(t,a),l=A.seed(t.id),o=a/1e3,g=Math.max(0,Math.min(4,Math.round(t.arcs??D.arcsOf(e)))),c=t.arcKR??D.arcKROf(e),f=D.widthDeg(e),K=[];for(let R=0;R<g;R++){const h=l*37+R*2.3,M=.7+.3*Math.sin(2*Math.PI*o/(90+40*R)+h);K.push({offsetDeg:f*(g===1?.15:.1+.8*R/(g-1)),kr:c*M/(1+.6*R),foldPhase:h,rayPhase:l*1e3+R*131})}const E=Math.abs(A.apexLatitude(s.lat,s.lng,n));if((t.edgeLatDeg??D.equatorwardEdgeDeg(e))-E>A.OUT_OF_SIGHT_DEG)return;const _=F.latitudeOf(s.lat,s.lng,n),m=_-E*Math.sign(_||1);return{id:t.id,kp:e,edgeDeg:(t.edgeLatDeg??D.equatorwardEdgeDeg(e))+m,widthDeg:f,diffuseKR:D.diffuseKR(e),redKR:t.redKR??D.redKROf(e),arcRed:D.arcRedOf(e),arcs:K,axis:F.axisAt(s.lat,s.lng,n),sun:i,observerLatitudeDeg:_-m,observerHeightKm:s.heightM/1e3,fade:r,timeS:o}}}class u{static STEPS=160;static along(t,a,s=u.STEPS){const i=p.EARTH_KM+t.observerHeightKm,r=u.shellRange(i,a[1]);if(!r)return[0,0,0];const[e,l]=r,o=(l-e)/s,g=[0,0,0];for(let c=0;c<s;c++){const f=e+(c+.5)*o,K=[a[0]*f,i+a[1]*f,a[2]*f],E=u.emission(t,K);g[0]+=E[0]*o,g[1]+=E[1]*o,g[2]+=E[2]*o}return[g[0]*t.fade,g[1]*t.fade,g[2]*t.fade]}static shellRange(t,a){const s=p.EARTH_KM,n=l=>{const o=t*a,g=t*t-l*l,c=o*o-g;if(c<0)return;const f=Math.sqrt(c);return[-o-f,-o+f]},i=n(s);if(i&&i[0]>0)return;const r=n(s+p.BOTTOM_KM),e=n(s+p.TOP_KM);return[Math.max(0,r[1]),e[1]]}static emission(t,a){const s=Math.hypot(a[0],a[1],a[2]),n=s-p.EARTH_KM;if(n<p.BOTTOM_KM-10||n>p.TOP_KM)return[0,0,0];const i=[a[0]/s,a[1]/s,a[2]/s],r=Math.asin(Math.max(-1,Math.min(1,i[0]*t.axis[0]+i[1]*t.axis[1]+i[2]*t.axis[2])))*180/Math.PI,e=Math.abs(F.footLatitude(r,n)),l=F.localTime(i,t.axis,t.sun),o=D.edgeAt(t.edgeDeg,l),g=t.widthDeg*(1-.4*(1-Math.cos(l*Math.PI/12))/2),c=p,f=u.smoothstep(o-1,o+.5,e)*(1-u.smoothstep(o+g-1,o+g+1.5,e));let K=t.diffuseKR*f*c.exponential(n,c.DIFFUSE_BASE_KM,c.DIFFUSE_SCALE_KM),E=t.diffuseKR*f*c.RED_OF_GREEN*c.gaussian(n,c.RED_PEAK_KM,c.RED_WIDTH_KM),_=0;const m=u.sunlit(a,t.sun);for(const R of t.arcs){const h=(e-(o+R.offsetDeg))/c.ARC_THICKNESS_DEG,M=Math.exp(-.5*h*h);if(M<1e-4)continue;const T=R.kr*M,x=T*c.exponential(n,c.ARC_BASE_KM,c.ARC_SCALE_KM);K+=x,E+=T*t.arcRed.share*c.gaussian(n,t.arcRed.peakKm,t.arcRed.widthKm),_+=x*c.BLUE_OF_GREEN+T*m*c.SUNLIT_BLUE_OF_GREEN*c.gaussian(n,300,120)}if(t.redKR>0){const R=(e-(o-1))/3;E+=t.redKR*Math.exp(-.5*R*R)*c.gaussian(n,c.STORM_RED_PEAK_KM,c.STORM_RED_WIDTH_KM)}return[K,E,_]}static sunlit(t,a){const s=t[0]*a[0]+t[1]*a[1]+t[2]*a[2];if(s>0)return 1;const n=Math.hypot(t[0]-s*a[0],t[1]-s*a[1],t[2]-s*a[2]);return u.smoothstep(p.EARTH_KM+20,p.EARTH_KM+80,n)}static smoothstep(t,a,s){const n=Math.min(1,Math.max(0,(s-t)/(a-t)));return n*n*(3-2*n)}}export{p as A,S as a,u as b,A as c,D as d};
@@ -0,0 +1,8 @@
1
+ import{e as h,_ as o,b7 as p}from"./rr0-scene.mjs";import{P as d,S as g,b as c,a as f,E as _}from"./ParameterForm-CRC9iA-m.js";import{c as u,d as n}from"./Aurora-BmVyTP6i.js";const E=h.catalog({en:()=>o(()=>import("./AuroraParameterTexts_en-shkUd-dT.js"),[],import.meta.url).then(a=>a.auroraParameterTexts_en),fr:()=>o(()=>import("./AuroraParameterTexts_fr-CoJnicWs.js"),[],import.meta.url).then(a=>a.auroraParameterTexts_fr),es:()=>o(()=>import("./AuroraParameterTexts_es-CwGYyafK.js"),[],import.meta.url).then(a=>a.auroraParameterTexts_es),it:()=>o(()=>import("./AuroraParameterTexts_it-DHniBj_2.js"),[],import.meta.url).then(a=>a.auroraParameterTexts_it)}),y=h.catalog({en:()=>o(()=>import("./AuroraEditorMessages_en-CpU3BS-B.js"),[],import.meta.url).then(a=>a.auroraEditorMessages_en),fr:()=>o(()=>import("./AuroraEditorMessages_fr-0DtPXXAs.js"),[],import.meta.url).then(a=>a.auroraEditorMessages_fr),es:()=>o(()=>import("./AuroraEditorMessages_es-i8-psDHN.js"),[],import.meta.url).then(a=>a.auroraEditorMessages_es),it:()=>o(()=>import("./AuroraEditorMessages_it-Dn2UHyk9.js"),[],import.meta.url).then(a=>a.auroraEditorMessages_it)});class s{static fromKp(t){return r=>t(u.kpAt(r,0))}static time(t,r,e){return{type:"number",key:t,min:-36e3,max:36e3,step:1,unit:"s",scale:.001,label:r,hint:e,group:"when"}}static SET={kind:"aurora",title:"aurora",parameters:[{type:"said",key:"title",label:"name",group:"field"},{type:"number",key:"kp",min:0,max:12,step:.33,label:"kp",hint:"kpHint",effective:t=>t.activity?.length?u.kpAt(t,0):n.DEFAULT_KP,group:"field"},{type:"number",key:"edgeLatDeg",min:20,max:75,step:.1,unit:"°",label:"edge",hint:"edgeHint",effective:s.fromKp(t=>Math.round(n.equatorwardEdgeDeg(t)*10)/10),group:"field"},{type:"number",key:"arcs",min:0,max:4,step:1,label:"arcs",hint:"arcsHint",effective:s.fromKp(n.arcsOf),group:"light"},{type:"number",key:"arcKR",min:.1,max:1e3,step:.1,unit:"kR",label:"arcBrightness",hint:"arcBrightnessHint",effective:s.fromKp(t=>Math.round(n.arcKROf(t)*10)/10),group:"light"},{type:"number",key:"redKR",min:0,max:100,step:.1,unit:"kR",label:"red",hint:"redHint",effective:s.fromKp(t=>Math.round(n.redKROf(t)*10)/10),group:"light"},s.time("fromT","from","fromHint"),s.time("untilT","until","untilHint")]};static publish(){d.publish(s.SET)}}class l{constructor(t,r,e){this.container=t,this.host=r,g.attach(t,"aurora-editor-part",l.STYLE),this.language=e,d.of("aurora")||s.publish(),this.ready=this.setLanguage(e)}messages;parameterTexts;ready;languageToken=0;currentId;form;list;language;shown=[];static STYLE=".aurora-editor-part { flex-basis: 100%; min-width: 0; } .aurora-editor-part .aurora-editor, .aurora-editor-part .aurora-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .aurora-editor-part #aurora-list, .aurora-editor-part .aurora-fields { flex-basis: 100%; min-width: 0; } .aurora-editor-part [hidden] { display: none !important; } .aurora-editor-part .aurora-intro { flex-basis: 100%; margin: 0; } .aurora-editor-part .aurora-parameters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; } .aurora-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; } .aurora-editor-part input, .aurora-editor-part select { max-width: 100%; box-sizing: border-box; } .aurora-editor-part label { min-width: 0; max-width: 100%; } .aurora-editor-part input.parameter-derived::placeholder { opacity: .65; }";async setLanguage(t){const r=++this.languageToken;this.language=t;const[e,i]=await Promise.all([y.load(t),E.load(t)]);r===this.languageToken&&(this.messages=e,this.parameterTexts=i,this.render(),this.sync())}sync(){if(!this.messages)return;const t=this.auroras;this.shown=[...t],t.some(i=>i.id===this.currentId)||(this.currentId=t[0]?.id),this.list?.setItems(t.map(i=>({id:i.id,label:this.labelOf(i)})),this.currentId);const r=this.current;if(this.element("aurora-fields").hidden=r===void 0,!r)return;const e=c.resolve(d.of("aurora"),this.parameterTexts);this.form??=new f(this.element("aurora-parameters"),this.language,"",{said:()=>this.host.said(),writingLanguage:()=>this.host.writingLanguage()}),this.form.show(e,r,()=>this.host.changed())}refresh(){if(!this.messages)return;const t=this.auroras;t.length===this.shown.length&&t.every((r,e)=>r===this.shown[e])||this.sync()}setTime(t){}get current(){return this.auroras.find(t=>t.id===this.currentId)}render(){const t=this.messages;this.form=void 0,this.container.innerHTML=`<div class="aurora-editor">
2
+ <p class="aurora-intro">${t.intro}</p>
3
+ <div id="aurora-list"></div>
4
+ <div id="aurora-fields" class="aurora-fields">
5
+ <div id="aurora-parameters" class="aurora-parameters"></div>
6
+ <p class="aurora-intro">${t.derivedNote}</p>
7
+ </div>
8
+ </div>`,this.list=new _({header:this.element("aurora-list"),body:this.element("aurora-fields"),ids:{list:"aurora-select",remove:"aurora-delete",add:"aurora-add"},onSelect:r=>{this.currentId=r,this.sync()},onAdd:()=>this.addAurora(),onRemove:()=>this.deleteCurrent()}),this.list.setLabels({list:t.aurora,remove:t.deleteAurora,add:t.addAurora,empty:t.none})}addAurora(){const t=this.host.sighting(),r=new Set(this.auroras.map(m=>m.id));let e=this.auroras.length+1;for(;r.has(`aurora-${e}`);)e++;const i={id:`aurora-${e}`,kp:5};t.skyEvents={...t.skyEvents,auroras:[...this.auroras,i]},this.currentId=i.id,this.host.changed(),this.sync()}deleteCurrent(){const t=this.current;if(!t)return;const r=this.host.sighting();r.skyEvents=p.written({...r.skyEvents,auroras:this.auroras.filter(e=>e!==t)}),this.host.changed(),this.sync()}labelOf(t){const r=t.title?this.host.said().read(t.title):"";return r?`${r} (${t.id})`:t.id}get auroras(){return this.host.sighting().skyEvents?.auroras??[]}element(t){return this.container.querySelector(`#${t}`)}}export{l as AuroraEditor};