@kvaser/canking-api 7.1.0-beta.241 → 7.2.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 (565) hide show
  1. package/README.md +98 -64
  2. package/REDISTRIBUTABLES.txt +88 -2
  3. package/dist/ElectronAPIFake.js +1 -1
  4. package/dist/ElectronAPIFake.mjs +20 -14
  5. package/dist/controls/CanIdentifierControl.d.ts +45 -8
  6. package/dist/controls/ColumnItemControl.d.ts +1 -1
  7. package/dist/controls/DropdownButton.d.ts +1 -1
  8. package/dist/controls/LinChannelSelectControl.d.ts +34 -0
  9. package/dist/controls/LinIdentifierControl.d.ts +224 -0
  10. package/dist/controls/SelectMessageDialog.d.ts +28 -0
  11. package/dist/controls/SelectSignalControl.d.ts +11 -0
  12. package/dist/controls/SelectSignalDialog.d.ts +21 -0
  13. package/dist/controls/TableControl.d.ts +7 -1
  14. package/dist/controls/index.d.ts +10 -0
  15. package/dist/controls.js +1 -1
  16. package/dist/controls.mjs +1862 -1054
  17. package/dist/grpc.js +1 -1
  18. package/dist/grpc.mjs +123 -95
  19. package/dist/hooks/index.d.ts +6 -1
  20. package/dist/hooks.js +1 -1
  21. package/dist/hooks.mjs +17 -16
  22. package/dist/icons/index.d.ts +6 -0
  23. package/dist/icons.js +1 -1
  24. package/dist/icons.mjs +87 -75
  25. package/dist/index.js +1 -1
  26. package/dist/index.mjs +48 -42
  27. package/dist/ipc/index.d.ts +30 -0
  28. package/dist/ipc.js +1 -1
  29. package/dist/ipc.mjs +64 -51
  30. package/dist/measurement_settings.js +1 -1
  31. package/dist/measurement_settings.mjs +3196 -1353
  32. package/dist/models/index.d.ts +4 -1
  33. package/dist/models.js +1 -1
  34. package/dist/models.mjs +235 -223
  35. package/dist/protos/app_params.d.ts +10 -0
  36. package/dist/protos/device_params.d.ts +14 -25
  37. package/dist/protos/frame_params.d.ts +10 -6
  38. package/dist/protos/measurement_params.d.ts +11 -0
  39. package/dist/protos/measurement_service.d.ts +58 -2
  40. package/dist/protos/measurement_settings.d.ts +106 -35
  41. package/dist/protos/signal_params.d.ts +3 -0
  42. package/dist/protos/status_params.d.ts +9 -9
  43. package/dist/status_params.js +1 -1
  44. package/dist/status_params.mjs +699 -2115
  45. package/doc/assets/favicon.png +0 -0
  46. package/doc/assets/hierarchy.js +1 -0
  47. package/doc/assets/highlight.css +16 -16
  48. package/doc/assets/icons.js +1 -1
  49. package/doc/assets/icons.svg +1 -1
  50. package/doc/assets/main.js +5 -5
  51. package/doc/assets/navigation.js +1 -1
  52. package/doc/assets/search.js +1 -1
  53. package/doc/assets/style.css +1405 -1288
  54. package/doc/classes/controls.LocalizedStrings.html +3 -176
  55. package/doc/classes/models.DataBuffer.html +16 -189
  56. package/doc/classes/models.DataBufferView.html +11 -184
  57. package/doc/classes/models.Point.html +7 -180
  58. package/doc/enums/models.AccessMode.html +9 -182
  59. package/doc/enums/models.AppEvent.html +6 -179
  60. package/doc/enums/models.CanChannelCap.html +44 -217
  61. package/doc/enums/models.CanFrameFlag.html +27 -200
  62. package/doc/enums/models.CanMessageFilterType.html +6 -0
  63. package/doc/enums/models.CanMode.html +7 -180
  64. package/doc/enums/models.DecimalChar.html +5 -178
  65. package/doc/enums/models.DeviceEvent.html +6 -179
  66. package/doc/enums/models.FileConflictAction.html +7 -180
  67. package/doc/enums/models.FileType.html +7 -0
  68. package/doc/enums/models.LinFrameFlag.html +12 -185
  69. package/doc/enums/models.LogFileFormat.html +48 -221
  70. package/doc/enums/models.LogLevel.html +17 -190
  71. package/doc/enums/models.LogReplayState.html +6 -179
  72. package/doc/enums/models.LoggerState.html +7 -0
  73. package/doc/enums/models.MeasurementEvent.html +12 -185
  74. package/doc/enums/models.Protocols.html +9 -182
  75. package/doc/enums/models.Separator.html +5 -178
  76. package/doc/enums/models.SignalEncoding.html +5 -178
  77. package/doc/enums/models.SignalType.html +12 -185
  78. package/doc/enums/models.SignalValueTriggerOperator.html +13 -186
  79. package/doc/enums/models.StatusLevel.html +7 -180
  80. package/doc/enums/models.TimeReference.html +5 -178
  81. package/doc/enums/models.TriggerOperator.html +6 -179
  82. package/doc/functions/controls.CanChannelSelectControl.html +2 -175
  83. package/doc/functions/controls.CanIdentifierControl.html +2 -175
  84. package/doc/functions/controls.CanIdentifierFrameControl.html +2 -175
  85. package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -175
  86. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -175
  87. package/doc/functions/controls.CanKingDataProvider.html +5 -178
  88. package/doc/functions/controls.CheckboxControl.html +2 -175
  89. package/doc/functions/controls.ColumnItemControl.html +2 -175
  90. package/doc/functions/controls.ContextMenu.html +2 -175
  91. package/doc/functions/controls.DropdownButton.html +2 -175
  92. package/doc/functions/controls.DropdownButtonTextItems.html +2 -175
  93. package/doc/functions/controls.DropdownPanel.html +2 -175
  94. package/doc/functions/controls.FillBox.html +19 -192
  95. package/doc/functions/controls.FormControlRow.html +2 -175
  96. package/doc/functions/controls.InlineEditor.html +2 -175
  97. package/doc/functions/controls.LinChannelSelectControl.html +4 -0
  98. package/doc/functions/controls.LinIdentifierControl.html +4 -0
  99. package/doc/functions/controls.LinIdentifierFrameControl.html +4 -0
  100. package/doc/functions/controls.LinIdentifierGeneratorControl.html +4 -0
  101. package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +5 -0
  102. package/doc/functions/controls.NumberRangeControl.html +2 -175
  103. package/doc/functions/controls.OneLineButton.html +19 -192
  104. package/doc/functions/controls.RadioControl.html +2 -175
  105. package/doc/functions/controls.RadioGroupControl.html +2 -175
  106. package/doc/functions/controls.SectionControl.html +2 -175
  107. package/doc/functions/controls.SelectControl.html +2 -175
  108. package/doc/functions/controls.SelectMessageDialog.html +2 -0
  109. package/doc/functions/controls.SelectSignalControl.html +1 -0
  110. package/doc/functions/controls.SelectSignalDialog.html +2 -0
  111. package/doc/functions/controls.SizedBox.html +19 -192
  112. package/doc/functions/controls.TableControl.html +3 -176
  113. package/doc/functions/controls.TabsPanel.html +19 -192
  114. package/doc/functions/controls.TextControl.html +2 -175
  115. package/doc/functions/controls.ToolbarControl.html +2 -175
  116. package/doc/functions/controls.ValidateableTextControl.html +2 -175
  117. package/doc/functions/controls.useColumnItem.html +3 -176
  118. package/doc/functions/controls.useColumnItems.html +3 -176
  119. package/doc/functions/controls.useMessageDatabases.html +2 -0
  120. package/doc/functions/hooks.useDevices.html +3 -176
  121. package/doc/functions/hooks.useIsOnline.html +3 -176
  122. package/doc/functions/hooks.useLanguage.html +3 -176
  123. package/doc/functions/hooks.useLocalizedStrings.html +3 -176
  124. package/doc/functions/hooks.useLogMessages.html +3 -176
  125. package/doc/functions/hooks.useMaxDataBytes.html +2 -175
  126. package/doc/functions/hooks.useMeasurementSetup.html +3 -176
  127. package/doc/functions/hooks.useMeasurementStatus.html +3 -176
  128. package/doc/functions/hooks.useMessageLogFileFormats.html +3 -175
  129. package/doc/functions/hooks.useNewMeasurementData.html +5 -178
  130. package/doc/functions/hooks.useNodeStatus.html +3 -176
  131. package/doc/functions/hooks.useNumericRadix.html +3 -176
  132. package/doc/functions/hooks.useOnlineStatus.html +3 -176
  133. package/doc/functions/hooks.useOverallStatusLevel.html +3 -176
  134. package/doc/functions/hooks.useProjectData.html +5 -178
  135. package/doc/functions/hooks.useRecentProjectFiles.html +2 -175
  136. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -176
  137. package/doc/functions/hooks.useSessionData.html +5 -178
  138. package/doc/functions/hooks.useSignalLogFileFormats.html +2 -0
  139. package/doc/functions/hooks.useUserSettings.html +3 -176
  140. package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -175
  141. package/doc/functions/icons.AddIcon.html +4 -175
  142. package/doc/functions/icons.ArrowDownIcon.html +4 -175
  143. package/doc/functions/icons.ArrowLeftIcon.html +4 -175
  144. package/doc/functions/icons.ArrowRightIcon.html +4 -175
  145. package/doc/functions/icons.ArrowUpIcon.html +4 -175
  146. package/doc/functions/icons.BusIsOffIcon.html +4 -175
  147. package/doc/functions/icons.BusIsOnIcon.html +4 -175
  148. package/doc/functions/icons.CloseIcon.html +4 -175
  149. package/doc/functions/icons.ColumnSettingsIcon.html +4 -0
  150. package/doc/functions/icons.CopyIcon.html +4 -175
  151. package/doc/functions/icons.DarkModeIcon.html +4 -175
  152. package/doc/functions/icons.DeleteIcon.html +4 -175
  153. package/doc/functions/icons.DisableIcon.html +4 -175
  154. package/doc/functions/icons.EditIcon.html +4 -175
  155. package/doc/functions/icons.EnableIcon.html +4 -0
  156. package/doc/functions/icons.FilterIcon.html +4 -175
  157. package/doc/functions/icons.FixedPositionIcon.html +4 -175
  158. package/doc/functions/icons.LeaveFullScreenIcon.html +4 -175
  159. package/doc/functions/icons.LightModeIcon.html +4 -175
  160. package/doc/functions/icons.LineArrowDownIcon.html +4 -175
  161. package/doc/functions/icons.LineArrowUpIcon.html +4 -175
  162. package/doc/functions/icons.MaximizeWindowIcon.html +4 -175
  163. package/doc/functions/icons.MeasurementSetupIcon.html +4 -175
  164. package/doc/functions/icons.MoreHorizIcon.html +4 -175
  165. package/doc/functions/icons.MoreVertIcon.html +4 -175
  166. package/doc/functions/icons.NewIcon.html +4 -175
  167. package/doc/functions/icons.OpenExternallyIcon.html +4 -175
  168. package/doc/functions/icons.OpenIcon.html +4 -175
  169. package/doc/functions/icons.PauseIcon.html +4 -175
  170. package/doc/functions/icons.PlayIcon.html +4 -175
  171. package/doc/functions/icons.PlaySolidIcon.html +4 -175
  172. package/doc/functions/icons.SaveIcon.html +4 -175
  173. package/doc/functions/icons.SelectAllIcon.html +4 -175
  174. package/doc/functions/icons.ServiceIconActive.html +4 -175
  175. package/doc/functions/icons.ServiceIconInactive.html +4 -175
  176. package/doc/functions/icons.SettingsIcon.html +4 -175
  177. package/doc/functions/icons.StopIcon.html +4 -175
  178. package/doc/functions/icons.StopSolidIcon.html +4 -175
  179. package/doc/functions/icons.ToolsPanelHiddenIcon.html +4 -175
  180. package/doc/functions/icons.ToolsPanelVisibleIcon.html +4 -175
  181. package/doc/functions/icons.UnmaximizeWindowIcon.html +4 -175
  182. package/doc/functions/icons.WorkspacesIcon.html +4 -175
  183. package/doc/functions/ipc.addDataProcessor.html +3 -176
  184. package/doc/functions/ipc.addSource.html +3 -176
  185. package/doc/functions/ipc.addTarget.html +3 -176
  186. package/doc/functions/ipc.clearLinMessage.html +4 -0
  187. package/doc/functions/ipc.connectNodes.html +3 -176
  188. package/doc/functions/ipc.deleteDataProcessor.html +3 -176
  189. package/doc/functions/ipc.deleteSource.html +3 -176
  190. package/doc/functions/ipc.deleteTarget.html +3 -176
  191. package/doc/functions/ipc.disableNode.html +3 -176
  192. package/doc/functions/ipc.disconnectNodes.html +3 -176
  193. package/doc/functions/ipc.enableNode.html +3 -176
  194. package/doc/functions/ipc.getFrameDefinitions.html +3 -176
  195. package/doc/functions/ipc.getLogger.html +3 -176
  196. package/doc/functions/ipc.getMessageLogFileFormats.html +3 -176
  197. package/doc/functions/ipc.getSignalLogFileFormats.html +3 -0
  198. package/doc/functions/ipc.requestLinMessage.html +5 -0
  199. package/doc/functions/ipc.sendCanMessage.html +4 -177
  200. package/doc/functions/ipc.sendMessage.html +3 -176
  201. package/doc/functions/ipc.showMessageBox.html +3 -176
  202. package/doc/functions/ipc.showQuestionBox.html +3 -176
  203. package/doc/functions/ipc.startLogReplay.html +3 -176
  204. package/doc/functions/ipc.startMeasurement.html +2 -175
  205. package/doc/functions/ipc.startPeriodicTransmission.html +3 -176
  206. package/doc/functions/ipc.stopLogReplay.html +3 -176
  207. package/doc/functions/ipc.stopMeasurement.html +2 -175
  208. package/doc/functions/ipc.stopPeriodicTransmission.html +3 -176
  209. package/doc/functions/ipc.updateDataProcessor.html +3 -176
  210. package/doc/functions/ipc.updateLinMessage.html +4 -0
  211. package/doc/functions/ipc.updatePeriodicTransmission.html +4 -0
  212. package/doc/functions/ipc.updateSource.html +3 -176
  213. package/doc/functions/ipc.updateTarget.html +3 -176
  214. package/doc/functions/models.accessModeFromJSON.html +1 -174
  215. package/doc/functions/models.accessModeToJSON.html +1 -174
  216. package/doc/functions/models.appEventFromJSON.html +1 -174
  217. package/doc/functions/models.appEventToJSON.html +1 -174
  218. package/doc/functions/models.canChannelCapFromJSON.html +1 -174
  219. package/doc/functions/models.canChannelCapToJSON.html +1 -174
  220. package/doc/functions/models.canFrameFlagFromJSON.html +1 -174
  221. package/doc/functions/models.canFrameFlagToJSON.html +1 -174
  222. package/doc/functions/models.canMessageFilterTypeFromJSON.html +1 -0
  223. package/doc/functions/models.canMessageFilterTypeToJSON.html +1 -0
  224. package/doc/functions/models.canModeFromJSON.html +1 -174
  225. package/doc/functions/models.canModeToJSON.html +1 -174
  226. package/doc/functions/models.createElectronApiFake.html +3 -176
  227. package/doc/functions/models.decimalCharFromJSON.html +1 -174
  228. package/doc/functions/models.decimalCharToJSON.html +1 -174
  229. package/doc/functions/models.decimalToFixed.html +1 -174
  230. package/doc/functions/models.decimalToHex.html +1 -174
  231. package/doc/functions/models.deviceEventFromJSON.html +1 -174
  232. package/doc/functions/models.deviceEventToJSON.html +1 -174
  233. package/doc/functions/models.fileConflictActionFromJSON.html +1 -174
  234. package/doc/functions/models.fileConflictActionToJSON.html +1 -174
  235. package/doc/functions/models.fileTypeFromJSON.html +1 -0
  236. package/doc/functions/models.fileTypeToJSON.html +1 -0
  237. package/doc/functions/models.linFrameFlagFromJSON.html +1 -174
  238. package/doc/functions/models.linFrameFlagToJSON.html +1 -174
  239. package/doc/functions/models.logFileFormatFromJSON.html +1 -174
  240. package/doc/functions/models.logFileFormatToJSON.html +1 -174
  241. package/doc/functions/models.logLevelFromJSON.html +1 -174
  242. package/doc/functions/models.logLevelToJSON.html +1 -174
  243. package/doc/functions/models.logReplayStateFromJSON.html +1 -174
  244. package/doc/functions/models.logReplayStateToJSON.html +1 -174
  245. package/doc/functions/models.loggerStateFromJSON.html +1 -0
  246. package/doc/functions/models.loggerStateToJSON.html +1 -0
  247. package/doc/functions/models.longToNumber.html +1 -174
  248. package/doc/functions/models.measurementEventFromJSON.html +1 -174
  249. package/doc/functions/models.measurementEventToJSON.html +1 -174
  250. package/doc/functions/models.protocolsFromJSON.html +1 -174
  251. package/doc/functions/models.protocolsToJSON.html +1 -174
  252. package/doc/functions/models.separatorFromJSON.html +1 -174
  253. package/doc/functions/models.separatorToJSON.html +1 -174
  254. package/doc/functions/models.signalEncodingFromJSON.html +1 -174
  255. package/doc/functions/models.signalEncodingToJSON.html +1 -174
  256. package/doc/functions/models.signalTypeFromJSON.html +1 -174
  257. package/doc/functions/models.signalTypeToJSON.html +1 -174
  258. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +1 -174
  259. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +1 -174
  260. package/doc/functions/models.statusLevelFromJSON.html +1 -174
  261. package/doc/functions/models.statusLevelToJSON.html +1 -174
  262. package/doc/functions/models.timeReferenceFromJSON.html +1 -174
  263. package/doc/functions/models.timeReferenceToJSON.html +1 -174
  264. package/doc/functions/models.triggerOperatorFromJSON.html +1 -174
  265. package/doc/functions/models.triggerOperatorToJSON.html +1 -174
  266. package/doc/hierarchy.html +1 -174
  267. package/doc/index.html +65 -237
  268. package/doc/interfaces/controls.ButtonGroupProps.html +6 -179
  269. package/doc/interfaces/controls.ButtonProps.html +10 -183
  270. package/doc/interfaces/controls.CanChannelSelectControlProps.html +14 -187
  271. package/doc/interfaces/controls.CanIdentifierControlProps.html +32 -189
  272. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +28 -187
  273. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +28 -201
  274. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +17 -190
  275. package/doc/interfaces/controls.CheckboxControlProps.html +7 -180
  276. package/doc/interfaces/controls.ColumnItem.html +3 -0
  277. package/doc/interfaces/controls.ColumnItemControlProps.html +3 -176
  278. package/doc/interfaces/controls.ContextMenuProps.html +6 -179
  279. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -177
  280. package/doc/interfaces/controls.DropdownButtonProps.html +11 -184
  281. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -182
  282. package/doc/interfaces/controls.DropdownPanelProps.html +15 -188
  283. package/doc/interfaces/controls.FormControlRowProps.html +7 -180
  284. package/doc/interfaces/controls.ILocalizedStrings.html +3 -176
  285. package/doc/interfaces/controls.IMessageDatabase.html +4 -0
  286. package/doc/interfaces/controls.InlineEditorProps.html +9 -182
  287. package/doc/interfaces/controls.LabelProps.html +3 -176
  288. package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -0
  289. package/doc/interfaces/controls.LinIdentifierControlProps.html +35 -0
  290. package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +33 -0
  291. package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -0
  292. package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +25 -0
  293. package/doc/interfaces/controls.NumberRangeControlProps.html +41 -214
  294. package/doc/interfaces/controls.RadioControlProps.html +4 -177
  295. package/doc/interfaces/controls.RadioGroupControlProps.html +6 -179
  296. package/doc/interfaces/controls.SectionControlProps.html +8 -181
  297. package/doc/interfaces/controls.SelectControlProps.html +20 -193
  298. package/doc/interfaces/controls.SelectMessageDialogProps.html +8 -0
  299. package/doc/interfaces/controls.SelectSignalDialogProps.html +12 -0
  300. package/doc/interfaces/controls.TableColumn.html +10 -183
  301. package/doc/interfaces/controls.TableControlProps.html +24 -191
  302. package/doc/interfaces/controls.TextControlProps.html +24 -197
  303. package/doc/interfaces/controls.ToggleButtonGroupProps.html +9 -182
  304. package/doc/interfaces/controls.ToggleButtonProps.html +5 -178
  305. package/doc/interfaces/controls.ToolbarControlProps.html +9 -182
  306. package/doc/interfaces/controls.ValidateableTextControlProps.html +40 -213
  307. package/doc/interfaces/controls.toolbarItem.html +7 -180
  308. package/doc/interfaces/ipc.ILogger.html +3 -176
  309. package/doc/interfaces/models.AboutInformation.html +8 -181
  310. package/doc/interfaces/models.ActivateLicenseRequest.html +6 -179
  311. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +3 -176
  312. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +3 -176
  313. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +9 -182
  314. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +5 -178
  315. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +5 -178
  316. package/doc/interfaces/models.ApiPreferences.html +5 -178
  317. package/doc/interfaces/models.AppEventArgs.html +4 -177
  318. package/doc/interfaces/models.BaseNodeProperties.html +5 -178
  319. package/doc/interfaces/models.BusStatus.html +17 -190
  320. package/doc/interfaces/models.CanBusParamLimits.html +7 -180
  321. package/doc/interfaces/models.CanBusParams.html +3 -176
  322. package/doc/interfaces/models.CanBusSpeedInfo.html +12 -191
  323. package/doc/interfaces/models.CanChannelCapacity.html +7 -180
  324. package/doc/interfaces/models.CanChannelConfiguration.html +16 -185
  325. package/doc/interfaces/models.CanFDBusSpeedCombination.html +4 -177
  326. package/doc/interfaces/models.CanFDBusSpeedInfo.html +8 -189
  327. package/doc/interfaces/models.CanFrameFlags.html +3 -176
  328. package/doc/interfaces/models.CanMessageFilterSettings.html +5 -178
  329. package/doc/interfaces/models.Channel.html +5 -178
  330. package/doc/interfaces/models.ChannelSettings.html +20 -193
  331. package/doc/interfaces/models.ClearLinMessageRequest.html +6 -179
  332. package/doc/interfaces/models.ConnectNodesRequest.html +4 -177
  333. package/doc/interfaces/models.DataProcessingStatus.html +6 -179
  334. package/doc/interfaces/models.DataProcessorNodeProperties.html +8 -181
  335. package/doc/interfaces/models.DatabaseFiles.html +6 -0
  336. package/doc/interfaces/models.DatabasesSettings.html +3 -176
  337. package/doc/interfaces/models.Device.html +6 -179
  338. package/doc/interfaces/models.DeviceEventArgs.html +4 -177
  339. package/doc/interfaces/models.Devices.html +2 -175
  340. package/doc/interfaces/models.DisconnectNodesRequest.html +4 -177
  341. package/doc/interfaces/models.Empty.html +2 -175
  342. package/doc/interfaces/models.ErrorStatus.html +3 -176
  343. package/doc/interfaces/models.Frame.html +19 -192
  344. package/doc/interfaces/models.FrameDefinition.html +10 -181
  345. package/doc/interfaces/models.FrameDefinitions.html +2 -175
  346. package/doc/interfaces/models.FramePropertyValue.html +4 -177
  347. package/doc/interfaces/models.FrameReceivedTrigger.html +6 -179
  348. package/doc/interfaces/models.Frame_PropertiesEntry.html +2 -175
  349. package/doc/interfaces/models.Frames.html +2 -175
  350. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +6 -176
  351. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -179
  352. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +5 -178
  353. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -177
  354. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -177
  355. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +3 -176
  356. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +4 -177
  357. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -177
  358. package/doc/interfaces/models.GetDataProcessorResponse.html +3 -176
  359. package/doc/interfaces/models.GetDevicesRequest.html +3 -176
  360. package/doc/interfaces/models.GetDevicesResponse.html +3 -176
  361. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +3 -176
  362. package/doc/interfaces/models.GetLicensesResponse.html +3 -176
  363. package/doc/interfaces/models.GetLogFileFormatsRequest.html +8 -179
  364. package/doc/interfaces/models.GetLogFileFormatsResponse.html +3 -176
  365. package/doc/interfaces/models.GetLogLevelResponse.html +4 -177
  366. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +3 -176
  367. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +3 -176
  368. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +4 -177
  369. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +7 -180
  370. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +5 -178
  371. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -177
  372. package/doc/interfaces/models.GetSourceResponse.html +3 -176
  373. package/doc/interfaces/models.GetTargetResponse.html +3 -176
  374. package/doc/interfaces/models.ILogFileFormat.html +3 -176
  375. package/doc/interfaces/models.IProject.html +4 -177
  376. package/doc/interfaces/models.IUserSettings.html +13 -183
  377. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +4 -177
  378. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +4 -177
  379. package/doc/interfaces/models.IWorkspaceData.html +4 -177
  380. package/doc/interfaces/models.IWorkspacePaneData.html +4 -177
  381. package/doc/interfaces/models.IdentifierRequest.html +3 -176
  382. package/doc/interfaces/models.IdentifiersRequest.html +3 -176
  383. package/doc/interfaces/models.InstallServiceExtensionRequest.html +6 -179
  384. package/doc/interfaces/models.InterpreterSettings.html +4 -177
  385. package/doc/interfaces/models.J1939InterpreterSettings.html +2 -175
  386. package/doc/interfaces/models.LicenseInformation.html +18 -191
  387. package/doc/interfaces/models.Licenses.html +3 -176
  388. package/doc/interfaces/models.LinChannelConfiguration.html +14 -185
  389. package/doc/interfaces/models.LinFrameFlags.html +3 -176
  390. package/doc/interfaces/models.LogMessage.html +8 -181
  391. package/doc/interfaces/models.LogMessages.html +3 -176
  392. package/doc/interfaces/models.LogReplaySettings.html +24 -197
  393. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +2 -175
  394. package/doc/interfaces/models.LogReplayStatus.html +3 -176
  395. package/doc/interfaces/models.LoggerStatus.html +3 -0
  396. package/doc/interfaces/models.MeasurementEventArgs.html +5 -178
  397. package/doc/interfaces/models.MeasurementSetup.html +3 -176
  398. package/doc/interfaces/models.MessageLoggerSettings.html +44 -213
  399. package/doc/interfaces/models.NodeStatus.html +18 -191
  400. package/doc/interfaces/models.NodeStatuses.html +3 -176
  401. package/doc/interfaces/models.OnlineStatus.html +3 -176
  402. package/doc/interfaces/models.PeriodicTransmissionSettings.html +34 -207
  403. package/doc/interfaces/models.RequestLinMessageRequest.html +6 -179
  404. package/doc/interfaces/models.ScheduleTable.html +5 -178
  405. package/doc/interfaces/models.ScheduleTableEntry.html +5 -178
  406. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +4 -177
  407. package/doc/interfaces/models.SendMessageRequest.html +3 -176
  408. package/doc/interfaces/models.ServiceExtensionSettings.html +4 -177
  409. package/doc/interfaces/models.SetLogLevelRequest.html +4 -177
  410. package/doc/interfaces/models.SetMeasurementSetupRequest.html +3 -176
  411. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +7 -180
  412. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +5 -178
  413. package/doc/interfaces/models.SignalDefinition.html +11 -181
  414. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +2 -175
  415. package/doc/interfaces/models.SignalDefinitions.html +2 -175
  416. package/doc/interfaces/models.SignalFilterSettings.html +4 -0
  417. package/doc/interfaces/models.SignalLoggerSettings.html +56 -0
  418. package/doc/interfaces/models.SignalValue.html +5 -180
  419. package/doc/interfaces/models.SignalValueTrigger.html +14 -187
  420. package/doc/interfaces/models.SourceNodeProperties.html +7 -180
  421. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +3 -176
  422. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +3 -176
  423. package/doc/interfaces/models.TargetNodeProperties.html +6 -178
  424. package/doc/interfaces/models.TriggerSettings.html +8 -181
  425. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +3 -176
  426. package/doc/interfaces/models.UpdateLinMessageRequest.html +4 -177
  427. package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +7 -0
  428. package/doc/interfaces/models.WriteFrame.html +6 -183
  429. package/doc/modules/controls.html +3 -241
  430. package/doc/modules/hooks.html +3 -196
  431. package/doc/modules/icons.html +2 -216
  432. package/doc/modules/ipc.html +2 -202
  433. package/doc/modules/models.html +2 -478
  434. package/doc/modules.html +1 -179
  435. package/doc/types/controls.ContextMenuOption.html +6 -179
  436. package/doc/types/controls.SelectOption.html +4 -177
  437. package/doc/types/controls.StringsMap.html +2 -175
  438. package/doc/types/controls.canIdentifierGeneratorType.html +2 -0
  439. package/doc/types/controls.canIdentifierType.html +2 -175
  440. package/doc/types/controls.linIdentifierGeneratorType.html +2 -0
  441. package/doc/types/models.IReadOnlyDataBuffer.html +1 -174
  442. package/doc/types/models.themes.html +1 -174
  443. package/doc/variables/models.AboutInformation-1.html +1 -174
  444. package/doc/variables/models.ActivateLicenseRequest-1.html +1 -174
  445. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +1 -174
  446. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +1 -174
  447. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +1 -174
  448. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +1 -174
  449. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +1 -174
  450. package/doc/variables/models.ApiPreferences-1.html +1 -174
  451. package/doc/variables/models.AppEventArgs-1.html +1 -174
  452. package/doc/variables/models.BaseNodeProperties-1.html +1 -174
  453. package/doc/variables/models.BusStatus-1.html +1 -174
  454. package/doc/variables/models.CanBusParamLimits-1.html +1 -174
  455. package/doc/variables/models.CanBusParams-1.html +1 -174
  456. package/doc/variables/models.CanBusSpeedInfo-1.html +1 -174
  457. package/doc/variables/models.CanChannelCapacity-1.html +1 -174
  458. package/doc/variables/models.CanChannelConfiguration-1.html +1 -174
  459. package/doc/variables/models.CanFDBusSpeedCombination-1.html +1 -174
  460. package/doc/variables/models.CanFDBusSpeedInfo-1.html +1 -174
  461. package/doc/variables/models.CanFrameFlags-1.html +1 -174
  462. package/doc/variables/models.CanMessageFilterSettings-1.html +1 -174
  463. package/doc/variables/models.Channel-1.html +1 -174
  464. package/doc/variables/models.ChannelSettings-1.html +1 -174
  465. package/doc/variables/models.ClearLinMessageRequest-1.html +1 -174
  466. package/doc/variables/models.ConnectNodesRequest-1.html +1 -174
  467. package/doc/variables/models.DataProcessingStatus-1.html +1 -174
  468. package/doc/variables/models.DataProcessorNodeProperties-1.html +1 -174
  469. package/doc/variables/models.DatabaseFiles-1.html +1 -0
  470. package/doc/variables/models.DatabasesSettings-1.html +1 -174
  471. package/doc/variables/models.Device-1.html +1 -174
  472. package/doc/variables/models.DeviceEventArgs-1.html +1 -174
  473. package/doc/variables/models.Devices-1.html +1 -174
  474. package/doc/variables/models.DisconnectNodesRequest-1.html +1 -174
  475. package/doc/variables/models.Empty-1.html +1 -174
  476. package/doc/variables/models.ErrorStatus-1.html +1 -174
  477. package/doc/variables/models.Frame-1.html +1 -174
  478. package/doc/variables/models.FrameDefinition-1.html +1 -174
  479. package/doc/variables/models.FrameDefinitions-1.html +1 -174
  480. package/doc/variables/models.FramePropertyValue-1.html +1 -174
  481. package/doc/variables/models.FrameReceivedTrigger-1.html +1 -174
  482. package/doc/variables/models.Frame_PropertiesEntry-1.html +1 -174
  483. package/doc/variables/models.Frames-1.html +1 -174
  484. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +1 -174
  485. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +1 -174
  486. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +1 -174
  487. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +1 -174
  488. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +1 -174
  489. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +1 -174
  490. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +1 -174
  491. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +1 -174
  492. package/doc/variables/models.GetDataProcessorResponse-1.html +1 -174
  493. package/doc/variables/models.GetDevicesRequest-1.html +1 -174
  494. package/doc/variables/models.GetDevicesResponse-1.html +1 -174
  495. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +1 -174
  496. package/doc/variables/models.GetLicensesResponse-1.html +1 -174
  497. package/doc/variables/models.GetLogFileFormatsRequest-1.html +1 -174
  498. package/doc/variables/models.GetLogFileFormatsResponse-1.html +1 -174
  499. package/doc/variables/models.GetLogLevelResponse-1.html +1 -174
  500. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +1 -174
  501. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +1 -174
  502. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +1 -174
  503. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +1 -174
  504. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +1 -174
  505. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +1 -174
  506. package/doc/variables/models.GetSourceResponse-1.html +1 -174
  507. package/doc/variables/models.GetTargetResponse-1.html +1 -174
  508. package/doc/variables/models.IdentifierRequest-1.html +1 -174
  509. package/doc/variables/models.IdentifiersRequest-1.html +1 -174
  510. package/doc/variables/models.InstallServiceExtensionRequest-1.html +1 -174
  511. package/doc/variables/models.InterpreterSettings-1.html +1 -174
  512. package/doc/variables/models.J1939InterpreterSettings-1.html +1 -174
  513. package/doc/variables/models.LicenseInformation-1.html +1 -174
  514. package/doc/variables/models.Licenses-1.html +1 -174
  515. package/doc/variables/models.LinChannelConfiguration-1.html +1 -174
  516. package/doc/variables/models.LinFrameFlags-1.html +1 -174
  517. package/doc/variables/models.LogMessage-1.html +1 -174
  518. package/doc/variables/models.LogMessages-1.html +1 -174
  519. package/doc/variables/models.LogReplaySettings-1.html +1 -174
  520. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +1 -174
  521. package/doc/variables/models.LogReplayStatus-1.html +1 -174
  522. package/doc/variables/models.LoggerStatus-1.html +1 -0
  523. package/doc/variables/models.MeasurementEventArgs-1.html +1 -174
  524. package/doc/variables/models.MeasurementSetup-1.html +1 -174
  525. package/doc/variables/models.MessageLoggerSettings-1.html +1 -174
  526. package/doc/variables/models.NodeStatus-1.html +1 -174
  527. package/doc/variables/models.NodeStatuses-1.html +1 -174
  528. package/doc/variables/models.OnlineStatus-1.html +1 -174
  529. package/doc/variables/models.PeriodicTransmissionSettings-1.html +1 -174
  530. package/doc/variables/models.RequestLinMessageRequest-1.html +1 -174
  531. package/doc/variables/models.ScheduleTable-1.html +1 -174
  532. package/doc/variables/models.ScheduleTableEntry-1.html +1 -174
  533. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +1 -174
  534. package/doc/variables/models.SendMessageRequest-1.html +1 -174
  535. package/doc/variables/models.ServiceExtensionSettings-1.html +1 -174
  536. package/doc/variables/models.SetLogLevelRequest-1.html +1 -174
  537. package/doc/variables/models.SetMeasurementSetupRequest-1.html +1 -174
  538. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +1 -174
  539. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +1 -174
  540. package/doc/variables/models.SignalDefinition-1.html +1 -174
  541. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +1 -174
  542. package/doc/variables/models.SignalDefinitions-1.html +1 -174
  543. package/doc/variables/models.SignalFilterSettings-1.html +1 -0
  544. package/doc/variables/models.SignalLoggerSettings-1.html +1 -0
  545. package/doc/variables/models.SignalValue-1.html +1 -174
  546. package/doc/variables/models.SignalValueTrigger-1.html +1 -174
  547. package/doc/variables/models.SourceNodeProperties-1.html +1 -174
  548. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +1 -174
  549. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +1 -174
  550. package/doc/variables/models.TargetNodeProperties-1.html +1 -174
  551. package/doc/variables/models.TriggerSettings-1.html +1 -174
  552. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +1 -174
  553. package/doc/variables/models.UpdateLinMessageRequest-1.html +1 -174
  554. package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +1 -0
  555. package/doc/variables/models.WriteFrame-1.html +1 -174
  556. package/doc/variables/models.defaultUserSettings.html +2 -175
  557. package/package.json +15 -3
  558. package/doc/assets/material-style.css +0 -338
  559. package/doc/enums/models.MessageLoggerState.html +0 -180
  560. package/doc/functions/models.messageLoggerStateFromJSON.html +0 -174
  561. package/doc/functions/models.messageLoggerStateToJSON.html +0 -174
  562. package/doc/interfaces/models.CanBusSpeed.html +0 -187
  563. package/doc/interfaces/models.MessageLoggerStatus.html +0 -176
  564. package/doc/variables/models.CanBusSpeed-1.html +0 -174
  565. package/doc/variables/models.MessageLoggerStatus-1.html +0 -174
@@ -1,16 +1,16 @@
1
- import { al as u, am as o, S as m, m as F, z as Pn, y as hn, Z as U, W as _, aa as T, a9 as C, a8 as R, U as H, R as q, ab as k } from "./measurement_settings.mjs";
2
- import c from "long";
3
- function Y() {
1
+ import { aS as u, aT as o, A as s, S, T as x, aa as Be, a9 as we, as as E, W as m, aH as O, aG as T, aF as P, ao as v, an as G, aI as h } from "./measurement_settings.mjs";
2
+ import d from "long";
3
+ function F() {
4
4
  return {};
5
5
  }
6
- const On = {
6
+ const qe = {
7
7
  encode(e, n = new u()) {
8
8
  return n;
9
9
  },
10
10
  decode(e, n) {
11
11
  const r = e instanceof o ? e : new o(e);
12
12
  let a = n === void 0 ? r.len : r.pos + n;
13
- const t = Y();
13
+ const t = F();
14
14
  for (; r.pos < a; ) {
15
15
  const i = r.uint32();
16
16
  if ((i & 7) === 4 || i === 0)
@@ -26,82 +26,50 @@ const On = {
26
26
  return {};
27
27
  },
28
28
  create(e) {
29
- return On.fromPartial(e ?? {});
29
+ return qe.fromPartial(e ?? {});
30
30
  },
31
31
  fromPartial(e) {
32
- return Y();
32
+ return F();
33
33
  }
34
34
  };
35
- function X() {
36
- return { version: "", language: "", useHexNumericBase: !1, username: "" };
35
+ var Ze = /* @__PURE__ */ ((e) => (e[e.PROJECT_FILE = 0] = "PROJECT_FILE", e[e.LOG_FILE = 1] = "LOG_FILE", e[e.CAN_DATABASES = 2] = "CAN_DATABASES", e[e.LIN_DATABASES = 3] = "LIN_DATABASES", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Ze || {});
36
+ function bn(e) {
37
+ switch (e) {
38
+ case 0:
39
+ case "PROJECT_FILE":
40
+ return 0;
41
+ case 1:
42
+ case "LOG_FILE":
43
+ return 1;
44
+ case 2:
45
+ case "CAN_DATABASES":
46
+ return 2;
47
+ case 3:
48
+ case "LIN_DATABASES":
49
+ return 3;
50
+ case -1:
51
+ case "UNRECOGNIZED":
52
+ default:
53
+ return -1;
54
+ }
37
55
  }
38
- const s = {
39
- encode(e, n = new u()) {
40
- return e.version !== "" && n.uint32(10).string(e.version), e.language !== "" && n.uint32(18).string(e.language), e.useHexNumericBase !== !1 && n.uint32(24).bool(e.useHexNumericBase), e.username !== "" && n.uint32(34).string(e.username), n;
41
- },
42
- decode(e, n) {
43
- const r = e instanceof o ? e : new o(e);
44
- let a = n === void 0 ? r.len : r.pos + n;
45
- const t = X();
46
- for (; r.pos < a; ) {
47
- const i = r.uint32();
48
- switch (i >>> 3) {
49
- case 1: {
50
- if (i !== 10)
51
- break;
52
- t.version = r.string();
53
- continue;
54
- }
55
- case 2: {
56
- if (i !== 18)
57
- break;
58
- t.language = r.string();
59
- continue;
60
- }
61
- case 3: {
62
- if (i !== 24)
63
- break;
64
- t.useHexNumericBase = r.bool();
65
- continue;
66
- }
67
- case 4: {
68
- if (i !== 34)
69
- break;
70
- t.username = r.string();
71
- continue;
72
- }
73
- }
74
- if ((i & 7) === 4 || i === 0)
75
- break;
76
- r.skip(i & 7);
77
- }
78
- return t;
79
- },
80
- fromJSON(e) {
81
- return {
82
- version: w(e.version) ? globalThis.String(e.version) : "",
83
- language: w(e.language) ? globalThis.String(e.language) : "",
84
- useHexNumericBase: w(e.useHexNumericBase) ? globalThis.Boolean(e.useHexNumericBase) : !1,
85
- username: w(e.username) ? globalThis.String(e.username) : ""
86
- };
87
- },
88
- toJSON(e) {
89
- const n = {};
90
- return e.version !== "" && (n.version = e.version), e.language !== "" && (n.language = e.language), e.useHexNumericBase !== !1 && (n.useHexNumericBase = e.useHexNumericBase), e.username !== "" && (n.username = e.username), n;
91
- },
92
- create(e) {
93
- return s.fromPartial(e ?? {});
94
- },
95
- fromPartial(e) {
96
- const n = X();
97
- return n.version = e.version ?? "", n.language = e.language ?? "", n.useHexNumericBase = e.useHexNumericBase ?? !1, n.username = e.username ?? "", n;
56
+ function jn(e) {
57
+ switch (e) {
58
+ case 0:
59
+ return "PROJECT_FILE";
60
+ case 1:
61
+ return "LOG_FILE";
62
+ case 2:
63
+ return "CAN_DATABASES";
64
+ case 3:
65
+ return "LIN_DATABASES";
66
+ case -1:
67
+ default:
68
+ return "UNRECOGNIZED";
98
69
  }
99
- };
100
- function w(e) {
101
- return e != null;
102
70
  }
103
- var An = /* @__PURE__ */ ((e) => (e[e.LOG_LEVEL_TRACE = 0] = "LOG_LEVEL_TRACE", e[e.LOG_LEVEL_DEBUG = 1] = "LOG_LEVEL_DEBUG", e[e.LOG_LEVEL_INFORMATION = 2] = "LOG_LEVEL_INFORMATION", e[e.LOG_LEVEL_WARNING = 3] = "LOG_LEVEL_WARNING", e[e.LOG_LEVEL_ERROR = 4] = "LOG_LEVEL_ERROR", e[e.LOG_LEVEL_CRITICAL = 5] = "LOG_LEVEL_CRITICAL", e[e.LOG_LEVEL_NONE = 6] = "LOG_LEVEL_NONE", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(An || {});
104
- function K(e) {
71
+ var Ke = /* @__PURE__ */ ((e) => (e[e.LOG_LEVEL_TRACE = 0] = "LOG_LEVEL_TRACE", e[e.LOG_LEVEL_DEBUG = 1] = "LOG_LEVEL_DEBUG", e[e.LOG_LEVEL_INFORMATION = 2] = "LOG_LEVEL_INFORMATION", e[e.LOG_LEVEL_WARNING = 3] = "LOG_LEVEL_WARNING", e[e.LOG_LEVEL_ERROR = 4] = "LOG_LEVEL_ERROR", e[e.LOG_LEVEL_CRITICAL = 5] = "LOG_LEVEL_CRITICAL", e[e.LOG_LEVEL_NONE = 6] = "LOG_LEVEL_NONE", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Ke || {});
72
+ function D(e) {
105
73
  switch (e) {
106
74
  case 0:
107
75
  case "LOG_LEVEL_TRACE":
@@ -130,7 +98,7 @@ function K(e) {
130
98
  return -1;
131
99
  }
132
100
  }
133
- function Q(e) {
101
+ function y(e) {
134
102
  switch (e) {
135
103
  case 0:
136
104
  return "LOG_LEVEL_TRACE";
@@ -151,8 +119,8 @@ function Q(e) {
151
119
  return "UNRECOGNIZED";
152
120
  }
153
121
  }
154
- var _n = /* @__PURE__ */ ((e) => (e[e.APP_EVENT_UNSPECIFIED = 0] = "APP_EVENT_UNSPECIFIED", e[e.APP_EVENT_LICENSE_INFO_CHANGED = 1] = "APP_EVENT_LICENSE_INFO_CHANGED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(_n || {});
155
- function Tn(e) {
122
+ var Qe = /* @__PURE__ */ ((e) => (e[e.APP_EVENT_UNSPECIFIED = 0] = "APP_EVENT_UNSPECIFIED", e[e.APP_EVENT_LICENSE_INFO_CHANGED = 1] = "APP_EVENT_LICENSE_INFO_CHANGED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Qe || {});
123
+ function He(e) {
156
124
  switch (e) {
157
125
  case 0:
158
126
  case "APP_EVENT_UNSPECIFIED":
@@ -166,7 +134,7 @@ function Tn(e) {
166
134
  return -1;
167
135
  }
168
136
  }
169
- function Cn(e) {
137
+ function We(e) {
170
138
  switch (e) {
171
139
  case 0:
172
140
  return "APP_EVENT_UNSPECIFIED";
@@ -177,17 +145,17 @@ function Cn(e) {
177
145
  return "UNRECOGNIZED";
178
146
  }
179
147
  }
180
- function $() {
148
+ function U() {
181
149
  return { preferences: void 0, logLevel: 0 };
182
150
  }
183
- const Rn = {
151
+ const Ye = {
184
152
  encode(e, n = new u()) {
185
153
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.logLevel !== 0 && n.uint32(16).int32(e.logLevel), n;
186
154
  },
187
155
  decode(e, n) {
188
156
  const r = e instanceof o ? e : new o(e);
189
157
  let a = n === void 0 ? r.len : r.pos + n;
190
- const t = $();
158
+ const t = U();
191
159
  for (; r.pos < a; ) {
192
160
  const i = r.uint32();
193
161
  switch (i >>> 3) {
@@ -212,33 +180,33 @@ const Rn = {
212
180
  },
213
181
  fromJSON(e) {
214
182
  return {
215
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
216
- logLevel: l(e.logLevel) ? K(e.logLevel) : 0
183
+ preferences: c(e.preferences) ? s.fromJSON(e.preferences) : void 0,
184
+ logLevel: c(e.logLevel) ? D(e.logLevel) : 0
217
185
  };
218
186
  },
219
187
  toJSON(e) {
220
188
  const n = {};
221
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.logLevel !== 0 && (n.logLevel = Q(e.logLevel)), n;
189
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.logLevel !== 0 && (n.logLevel = y(e.logLevel)), n;
222
190
  },
223
191
  create(e) {
224
- return Rn.fromPartial(e ?? {});
192
+ return Ye.fromPartial(e ?? {});
225
193
  },
226
194
  fromPartial(e) {
227
- const n = $();
195
+ const n = U();
228
196
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.logLevel = e.logLevel ?? 0, n;
229
197
  }
230
198
  };
231
- function z() {
199
+ function B() {
232
200
  return { logLevel: 0 };
233
201
  }
234
- const kn = {
202
+ const $e = {
235
203
  encode(e, n = new u()) {
236
204
  return e.logLevel !== 0 && n.uint32(8).int32(e.logLevel), n;
237
205
  },
238
206
  decode(e, n) {
239
207
  const r = e instanceof o ? e : new o(e);
240
208
  let a = n === void 0 ? r.len : r.pos + n;
241
- const t = z();
209
+ const t = B();
242
210
  for (; r.pos < a; ) {
243
211
  const i = r.uint32();
244
212
  switch (i >>> 3) {
@@ -256,38 +224,38 @@ const kn = {
256
224
  return t;
257
225
  },
258
226
  fromJSON(e) {
259
- return { logLevel: l(e.logLevel) ? K(e.logLevel) : 0 };
227
+ return { logLevel: c(e.logLevel) ? D(e.logLevel) : 0 };
260
228
  },
261
229
  toJSON(e) {
262
230
  const n = {};
263
- return e.logLevel !== 0 && (n.logLevel = Q(e.logLevel)), n;
231
+ return e.logLevel !== 0 && (n.logLevel = y(e.logLevel)), n;
264
232
  },
265
233
  create(e) {
266
- return kn.fromPartial(e ?? {});
234
+ return $e.fromPartial(e ?? {});
267
235
  },
268
236
  fromPartial(e) {
269
- const n = z();
237
+ const n = B();
270
238
  return n.logLevel = e.logLevel ?? 0, n;
271
239
  }
272
240
  };
273
- function j() {
274
- return { time: c.ZERO, logLevel: 0, eventId: 0, categoryName: "", message: "" };
241
+ function w() {
242
+ return { time: d.ZERO, logLevel: 0, eventId: 0, categoryName: "", message: "" };
275
243
  }
276
- const I = {
244
+ const g = {
277
245
  encode(e, n = new u()) {
278
- return e.time.equals(c.ZERO) || n.uint32(8).int64(e.time.toString()), e.logLevel !== 0 && n.uint32(16).int32(e.logLevel), e.eventId !== 0 && n.uint32(24).int32(e.eventId), e.categoryName !== "" && n.uint32(34).string(e.categoryName), e.message !== "" && n.uint32(42).string(e.message), n;
246
+ return e.time.equals(d.ZERO) || n.uint32(8).int64(e.time.toString()), e.logLevel !== 0 && n.uint32(16).int32(e.logLevel), e.eventId !== 0 && n.uint32(24).int32(e.eventId), e.categoryName !== "" && n.uint32(34).string(e.categoryName), e.message !== "" && n.uint32(42).string(e.message), n;
279
247
  },
280
248
  decode(e, n) {
281
249
  const r = e instanceof o ? e : new o(e);
282
250
  let a = n === void 0 ? r.len : r.pos + n;
283
- const t = j();
251
+ const t = w();
284
252
  for (; r.pos < a; ) {
285
253
  const i = r.uint32();
286
254
  switch (i >>> 3) {
287
255
  case 1: {
288
256
  if (i !== 8)
289
257
  break;
290
- t.time = c.fromString(r.int64().toString());
258
+ t.time = d.fromString(r.int64().toString());
291
259
  continue;
292
260
  }
293
261
  case 2: {
@@ -323,45 +291,45 @@ const I = {
323
291
  },
324
292
  fromJSON(e) {
325
293
  return {
326
- time: l(e.time) ? c.fromValue(e.time) : c.ZERO,
327
- logLevel: l(e.logLevel) ? K(e.logLevel) : 0,
328
- eventId: l(e.eventId) ? globalThis.Number(e.eventId) : 0,
329
- categoryName: l(e.categoryName) ? globalThis.String(e.categoryName) : "",
330
- message: l(e.message) ? globalThis.String(e.message) : ""
294
+ time: c(e.time) ? d.fromValue(e.time) : d.ZERO,
295
+ logLevel: c(e.logLevel) ? D(e.logLevel) : 0,
296
+ eventId: c(e.eventId) ? globalThis.Number(e.eventId) : 0,
297
+ categoryName: c(e.categoryName) ? globalThis.String(e.categoryName) : "",
298
+ message: c(e.message) ? globalThis.String(e.message) : ""
331
299
  };
332
300
  },
333
301
  toJSON(e) {
334
302
  const n = {};
335
- return e.time.equals(c.ZERO) || (n.time = (e.time || c.ZERO).toString()), e.logLevel !== 0 && (n.logLevel = Q(e.logLevel)), e.eventId !== 0 && (n.eventId = Math.round(e.eventId)), e.categoryName !== "" && (n.categoryName = e.categoryName), e.message !== "" && (n.message = e.message), n;
303
+ return e.time.equals(d.ZERO) || (n.time = (e.time || d.ZERO).toString()), e.logLevel !== 0 && (n.logLevel = y(e.logLevel)), e.eventId !== 0 && (n.eventId = Math.round(e.eventId)), e.categoryName !== "" && (n.categoryName = e.categoryName), e.message !== "" && (n.message = e.message), n;
336
304
  },
337
305
  create(e) {
338
- return I.fromPartial(e ?? {});
306
+ return g.fromPartial(e ?? {});
339
307
  },
340
308
  fromPartial(e) {
341
- const n = j();
342
- return n.time = e.time !== void 0 && e.time !== null ? c.fromValue(e.time) : c.ZERO, n.logLevel = e.logLevel ?? 0, n.eventId = e.eventId ?? 0, n.categoryName = e.categoryName ?? "", n.message = e.message ?? "", n;
309
+ const n = w();
310
+ return n.time = e.time !== void 0 && e.time !== null ? d.fromValue(e.time) : d.ZERO, n.logLevel = e.logLevel ?? 0, n.eventId = e.eventId ?? 0, n.categoryName = e.categoryName ?? "", n.message = e.message ?? "", n;
343
311
  }
344
312
  };
345
- function ee() {
313
+ function q() {
346
314
  return { items: [] };
347
315
  }
348
- const In = {
316
+ const ze = {
349
317
  encode(e, n = new u()) {
350
318
  for (const r of e.items)
351
- I.encode(r, n.uint32(10).fork()).join();
319
+ g.encode(r, n.uint32(10).fork()).join();
352
320
  return n;
353
321
  },
354
322
  decode(e, n) {
355
323
  const r = e instanceof o ? e : new o(e);
356
324
  let a = n === void 0 ? r.len : r.pos + n;
357
- const t = ee();
325
+ const t = q();
358
326
  for (; r.pos < a; ) {
359
327
  const i = r.uint32();
360
328
  switch (i >>> 3) {
361
329
  case 1: {
362
330
  if (i !== 10)
363
331
  break;
364
- t.items.push(I.decode(r, r.uint32()));
332
+ t.items.push(g.decode(r, r.uint32()));
365
333
  continue;
366
334
  }
367
335
  }
@@ -373,24 +341,24 @@ const In = {
373
341
  },
374
342
  fromJSON(e) {
375
343
  return {
376
- items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => I.fromJSON(n)) : []
344
+ items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => g.fromJSON(n)) : []
377
345
  };
378
346
  },
379
347
  toJSON(e) {
380
348
  var r;
381
349
  const n = {};
382
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => I.toJSON(a))), n;
350
+ return (r = e.items) != null && r.length && (n.items = e.items.map((a) => g.toJSON(a))), n;
383
351
  },
384
352
  create(e) {
385
- return In.fromPartial(e ?? {});
353
+ return ze.fromPartial(e ?? {});
386
354
  },
387
355
  fromPartial(e) {
388
356
  var r;
389
- const n = ee();
390
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => I.fromPartial(a))) || [], n;
357
+ const n = q();
358
+ return n.items = ((r = e.items) == null ? void 0 : r.map((a) => g.fromPartial(a))) || [], n;
391
359
  }
392
360
  };
393
- function ne() {
361
+ function Z() {
394
362
  return {
395
363
  licenseKey: "",
396
364
  productId: "",
@@ -398,18 +366,18 @@ function ne() {
398
366
  productVersion: "",
399
367
  instanceId: "",
400
368
  instanceName: "",
401
- expirationDate: c.ZERO,
369
+ expirationDate: d.ZERO,
402
370
  isValid: !1
403
371
  };
404
372
  }
405
- const P = {
373
+ const N = {
406
374
  encode(e, n = new u()) {
407
- return e.licenseKey !== "" && n.uint32(10).string(e.licenseKey), e.productId !== "" && n.uint32(18).string(e.productId), e.productName !== "" && n.uint32(26).string(e.productName), e.productVersion !== "" && n.uint32(34).string(e.productVersion), e.instanceId !== "" && n.uint32(42).string(e.instanceId), e.instanceName !== "" && n.uint32(50).string(e.instanceName), e.expirationDate.equals(c.ZERO) || n.uint32(56).int64(e.expirationDate.toString()), e.isValid !== !1 && n.uint32(64).bool(e.isValid), n;
375
+ return e.licenseKey !== "" && n.uint32(10).string(e.licenseKey), e.productId !== "" && n.uint32(18).string(e.productId), e.productName !== "" && n.uint32(26).string(e.productName), e.productVersion !== "" && n.uint32(34).string(e.productVersion), e.instanceId !== "" && n.uint32(42).string(e.instanceId), e.instanceName !== "" && n.uint32(50).string(e.instanceName), e.expirationDate.equals(d.ZERO) || n.uint32(56).int64(e.expirationDate.toString()), e.isValid !== !1 && n.uint32(64).bool(e.isValid), n;
408
376
  },
409
377
  decode(e, n) {
410
378
  const r = e instanceof o ? e : new o(e);
411
379
  let a = n === void 0 ? r.len : r.pos + n;
412
- const t = ne();
380
+ const t = Z();
413
381
  for (; r.pos < a; ) {
414
382
  const i = r.uint32();
415
383
  switch (i >>> 3) {
@@ -452,7 +420,7 @@ const P = {
452
420
  case 7: {
453
421
  if (i !== 56)
454
422
  break;
455
- t.expirationDate = c.fromString(r.int64().toString());
423
+ t.expirationDate = d.fromString(r.int64().toString());
456
424
  continue;
457
425
  }
458
426
  case 8: {
@@ -470,48 +438,48 @@ const P = {
470
438
  },
471
439
  fromJSON(e) {
472
440
  return {
473
- licenseKey: l(e.licenseKey) ? globalThis.String(e.licenseKey) : "",
474
- productId: l(e.productId) ? globalThis.String(e.productId) : "",
475
- productName: l(e.productName) ? globalThis.String(e.productName) : "",
476
- productVersion: l(e.productVersion) ? globalThis.String(e.productVersion) : "",
477
- instanceId: l(e.instanceId) ? globalThis.String(e.instanceId) : "",
478
- instanceName: l(e.instanceName) ? globalThis.String(e.instanceName) : "",
479
- expirationDate: l(e.expirationDate) ? c.fromValue(e.expirationDate) : c.ZERO,
480
- isValid: l(e.isValid) ? globalThis.Boolean(e.isValid) : !1
441
+ licenseKey: c(e.licenseKey) ? globalThis.String(e.licenseKey) : "",
442
+ productId: c(e.productId) ? globalThis.String(e.productId) : "",
443
+ productName: c(e.productName) ? globalThis.String(e.productName) : "",
444
+ productVersion: c(e.productVersion) ? globalThis.String(e.productVersion) : "",
445
+ instanceId: c(e.instanceId) ? globalThis.String(e.instanceId) : "",
446
+ instanceName: c(e.instanceName) ? globalThis.String(e.instanceName) : "",
447
+ expirationDate: c(e.expirationDate) ? d.fromValue(e.expirationDate) : d.ZERO,
448
+ isValid: c(e.isValid) ? globalThis.Boolean(e.isValid) : !1
481
449
  };
482
450
  },
483
451
  toJSON(e) {
484
452
  const n = {};
485
- return e.licenseKey !== "" && (n.licenseKey = e.licenseKey), e.productId !== "" && (n.productId = e.productId), e.productName !== "" && (n.productName = e.productName), e.productVersion !== "" && (n.productVersion = e.productVersion), e.instanceId !== "" && (n.instanceId = e.instanceId), e.instanceName !== "" && (n.instanceName = e.instanceName), e.expirationDate.equals(c.ZERO) || (n.expirationDate = (e.expirationDate || c.ZERO).toString()), e.isValid !== !1 && (n.isValid = e.isValid), n;
453
+ return e.licenseKey !== "" && (n.licenseKey = e.licenseKey), e.productId !== "" && (n.productId = e.productId), e.productName !== "" && (n.productName = e.productName), e.productVersion !== "" && (n.productVersion = e.productVersion), e.instanceId !== "" && (n.instanceId = e.instanceId), e.instanceName !== "" && (n.instanceName = e.instanceName), e.expirationDate.equals(d.ZERO) || (n.expirationDate = (e.expirationDate || d.ZERO).toString()), e.isValid !== !1 && (n.isValid = e.isValid), n;
486
454
  },
487
455
  create(e) {
488
- return P.fromPartial(e ?? {});
456
+ return N.fromPartial(e ?? {});
489
457
  },
490
458
  fromPartial(e) {
491
- const n = ne();
492
- return n.licenseKey = e.licenseKey ?? "", n.productId = e.productId ?? "", n.productName = e.productName ?? "", n.productVersion = e.productVersion ?? "", n.instanceId = e.instanceId ?? "", n.instanceName = e.instanceName ?? "", n.expirationDate = e.expirationDate !== void 0 && e.expirationDate !== null ? c.fromValue(e.expirationDate) : c.ZERO, n.isValid = e.isValid ?? !1, n;
459
+ const n = Z();
460
+ return n.licenseKey = e.licenseKey ?? "", n.productId = e.productId ?? "", n.productName = e.productName ?? "", n.productVersion = e.productVersion ?? "", n.instanceId = e.instanceId ?? "", n.instanceName = e.instanceName ?? "", n.expirationDate = e.expirationDate !== void 0 && e.expirationDate !== null ? d.fromValue(e.expirationDate) : d.ZERO, n.isValid = e.isValid ?? !1, n;
493
461
  }
494
462
  };
495
- function re() {
463
+ function K() {
496
464
  return { items: [] };
497
465
  }
498
- const L = {
466
+ const k = {
499
467
  encode(e, n = new u()) {
500
468
  for (const r of e.items)
501
- P.encode(r, n.uint32(10).fork()).join();
469
+ N.encode(r, n.uint32(10).fork()).join();
502
470
  return n;
503
471
  },
504
472
  decode(e, n) {
505
473
  const r = e instanceof o ? e : new o(e);
506
474
  let a = n === void 0 ? r.len : r.pos + n;
507
- const t = re();
475
+ const t = K();
508
476
  for (; r.pos < a; ) {
509
477
  const i = r.uint32();
510
478
  switch (i >>> 3) {
511
479
  case 1: {
512
480
  if (i !== 10)
513
481
  break;
514
- t.items.push(P.decode(r, r.uint32()));
482
+ t.items.push(N.decode(r, r.uint32()));
515
483
  continue;
516
484
  }
517
485
  }
@@ -523,34 +491,34 @@ const L = {
523
491
  },
524
492
  fromJSON(e) {
525
493
  return {
526
- items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => P.fromJSON(n)) : []
494
+ items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => N.fromJSON(n)) : []
527
495
  };
528
496
  },
529
497
  toJSON(e) {
530
498
  var r;
531
499
  const n = {};
532
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => P.toJSON(a))), n;
500
+ return (r = e.items) != null && r.length && (n.items = e.items.map((a) => N.toJSON(a))), n;
533
501
  },
534
502
  create(e) {
535
- return L.fromPartial(e ?? {});
503
+ return k.fromPartial(e ?? {});
536
504
  },
537
505
  fromPartial(e) {
538
506
  var r;
539
- const n = re();
540
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => P.fromPartial(a))) || [], n;
507
+ const n = K();
508
+ return n.items = ((r = e.items) == null ? void 0 : r.map((a) => N.fromPartial(a))) || [], n;
541
509
  }
542
510
  };
543
- function ie() {
511
+ function Q() {
544
512
  return { eventType: 0, licenses: void 0 };
545
513
  }
546
- const Ln = {
514
+ const Xe = {
547
515
  encode(e, n = new u()) {
548
- return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.licenses !== void 0 && L.encode(e.licenses, n.uint32(18).fork()).join(), n;
516
+ return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.licenses !== void 0 && k.encode(e.licenses, n.uint32(18).fork()).join(), n;
549
517
  },
550
518
  decode(e, n) {
551
519
  const r = e instanceof o ? e : new o(e);
552
520
  let a = n === void 0 ? r.len : r.pos + n;
553
- const t = ie();
521
+ const t = Q();
554
522
  for (; r.pos < a; ) {
555
523
  const i = r.uint32();
556
524
  switch (i >>> 3) {
@@ -563,7 +531,7 @@ const Ln = {
563
531
  case 2: {
564
532
  if (i !== 18)
565
533
  break;
566
- t.licenses = L.decode(r, r.uint32());
534
+ t.licenses = k.decode(r, r.uint32());
567
535
  continue;
568
536
  }
569
537
  }
@@ -575,33 +543,33 @@ const Ln = {
575
543
  },
576
544
  fromJSON(e) {
577
545
  return {
578
- eventType: l(e.eventType) ? Tn(e.eventType) : 0,
579
- licenses: l(e.licenses) ? L.fromJSON(e.licenses) : void 0
546
+ eventType: c(e.eventType) ? He(e.eventType) : 0,
547
+ licenses: c(e.licenses) ? k.fromJSON(e.licenses) : void 0
580
548
  };
581
549
  },
582
550
  toJSON(e) {
583
551
  const n = {};
584
- return e.eventType !== 0 && (n.eventType = Cn(e.eventType)), e.licenses !== void 0 && (n.licenses = L.toJSON(e.licenses)), n;
552
+ return e.eventType !== 0 && (n.eventType = We(e.eventType)), e.licenses !== void 0 && (n.licenses = k.toJSON(e.licenses)), n;
585
553
  },
586
554
  create(e) {
587
- return Ln.fromPartial(e ?? {});
555
+ return Xe.fromPartial(e ?? {});
588
556
  },
589
557
  fromPartial(e) {
590
- const n = ie();
591
- return n.eventType = e.eventType ?? 0, n.licenses = e.licenses !== void 0 && e.licenses !== null ? L.fromPartial(e.licenses) : void 0, n;
558
+ const n = Q();
559
+ return n.eventType = e.eventType ?? 0, n.licenses = e.licenses !== void 0 && e.licenses !== null ? k.fromPartial(e.licenses) : void 0, n;
592
560
  }
593
561
  };
594
- function te() {
562
+ function H() {
595
563
  return { preferences: void 0, filePath: "", replaceExisting: void 0 };
596
564
  }
597
- const gn = {
565
+ const be = {
598
566
  encode(e, n = new u()) {
599
567
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.filePath !== "" && n.uint32(18).string(e.filePath), e.replaceExisting !== void 0 && n.uint32(24).bool(e.replaceExisting), n;
600
568
  },
601
569
  decode(e, n) {
602
570
  const r = e instanceof o ? e : new o(e);
603
571
  let a = n === void 0 ? r.len : r.pos + n;
604
- const t = te();
572
+ const t = H();
605
573
  for (; r.pos < a; ) {
606
574
  const i = r.uint32();
607
575
  switch (i >>> 3) {
@@ -632,9 +600,9 @@ const gn = {
632
600
  },
633
601
  fromJSON(e) {
634
602
  return {
635
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
636
- filePath: l(e.filePath) ? globalThis.String(e.filePath) : "",
637
- replaceExisting: l(e.replaceExisting) ? globalThis.Boolean(e.replaceExisting) : void 0
603
+ preferences: c(e.preferences) ? s.fromJSON(e.preferences) : void 0,
604
+ filePath: c(e.filePath) ? globalThis.String(e.filePath) : "",
605
+ replaceExisting: c(e.replaceExisting) ? globalThis.Boolean(e.replaceExisting) : void 0
638
606
  };
639
607
  },
640
608
  toJSON(e) {
@@ -642,24 +610,24 @@ const gn = {
642
610
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.filePath !== "" && (n.filePath = e.filePath), e.replaceExisting !== void 0 && (n.replaceExisting = e.replaceExisting), n;
643
611
  },
644
612
  create(e) {
645
- return gn.fromPartial(e ?? {});
613
+ return be.fromPartial(e ?? {});
646
614
  },
647
615
  fromPartial(e) {
648
- const n = te();
616
+ const n = H();
649
617
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.filePath = e.filePath ?? "", n.replaceExisting = e.replaceExisting ?? void 0, n;
650
618
  }
651
619
  };
652
- function ae() {
620
+ function W() {
653
621
  return { preferences: void 0, name: "" };
654
622
  }
655
- const Jn = {
623
+ const je = {
656
624
  encode(e, n = new u()) {
657
625
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.name !== "" && n.uint32(18).string(e.name), n;
658
626
  },
659
627
  decode(e, n) {
660
628
  const r = e instanceof o ? e : new o(e);
661
629
  let a = n === void 0 ? r.len : r.pos + n;
662
- const t = ae();
630
+ const t = W();
663
631
  for (; r.pos < a; ) {
664
632
  const i = r.uint32();
665
633
  switch (i >>> 3) {
@@ -684,8 +652,8 @@ const Jn = {
684
652
  },
685
653
  fromJSON(e) {
686
654
  return {
687
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
688
- name: l(e.name) ? globalThis.String(e.name) : ""
655
+ preferences: c(e.preferences) ? s.fromJSON(e.preferences) : void 0,
656
+ name: c(e.name) ? globalThis.String(e.name) : ""
689
657
  };
690
658
  },
691
659
  toJSON(e) {
@@ -693,24 +661,24 @@ const Jn = {
693
661
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.name !== "" && (n.name = e.name), n;
694
662
  },
695
663
  create(e) {
696
- return Jn.fromPartial(e ?? {});
664
+ return je.fromPartial(e ?? {});
697
665
  },
698
666
  fromPartial(e) {
699
- const n = ae();
667
+ const n = W();
700
668
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.name = e.name ?? "", n;
701
669
  }
702
670
  };
703
- function se() {
671
+ function Y() {
704
672
  return { preferences: void 0, filePathOrName: "" };
705
673
  }
706
- const vn = {
674
+ const en = {
707
675
  encode(e, n = new u()) {
708
676
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.filePathOrName !== "" && n.uint32(18).string(e.filePathOrName), n;
709
677
  },
710
678
  decode(e, n) {
711
679
  const r = e instanceof o ? e : new o(e);
712
680
  let a = n === void 0 ? r.len : r.pos + n;
713
- const t = se();
681
+ const t = Y();
714
682
  for (; r.pos < a; ) {
715
683
  const i = r.uint32();
716
684
  switch (i >>> 3) {
@@ -735,8 +703,8 @@ const vn = {
735
703
  },
736
704
  fromJSON(e) {
737
705
  return {
738
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
739
- filePathOrName: l(e.filePathOrName) ? globalThis.String(e.filePathOrName) : ""
706
+ preferences: c(e.preferences) ? s.fromJSON(e.preferences) : void 0,
707
+ filePathOrName: c(e.filePathOrName) ? globalThis.String(e.filePathOrName) : ""
740
708
  };
741
709
  },
742
710
  toJSON(e) {
@@ -744,24 +712,24 @@ const vn = {
744
712
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.filePathOrName !== "" && (n.filePathOrName = e.filePathOrName), n;
745
713
  },
746
714
  create(e) {
747
- return vn.fromPartial(e ?? {});
715
+ return en.fromPartial(e ?? {});
748
716
  },
749
717
  fromPartial(e) {
750
- const n = se();
718
+ const n = Y();
751
719
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.filePathOrName = e.filePathOrName ?? "", n;
752
720
  }
753
721
  };
754
- function oe() {
722
+ function $() {
755
723
  return { name: "", displayName: "", description: "", version: "", author: "", defaultConfig: "" };
756
724
  }
757
- const xn = {
725
+ const nn = {
758
726
  encode(e, n = new u()) {
759
727
  return e.name !== "" && n.uint32(10).string(e.name), e.displayName !== "" && n.uint32(18).string(e.displayName), e.description !== "" && n.uint32(26).string(e.description), e.version !== "" && n.uint32(34).string(e.version), e.author !== "" && n.uint32(42).string(e.author), e.defaultConfig !== "" && n.uint32(50).string(e.defaultConfig), n;
760
728
  },
761
729
  decode(e, n) {
762
730
  const r = e instanceof o ? e : new o(e);
763
731
  let a = n === void 0 ? r.len : r.pos + n;
764
- const t = oe();
732
+ const t = $();
765
733
  for (; r.pos < a; ) {
766
734
  const i = r.uint32();
767
735
  switch (i >>> 3) {
@@ -810,12 +778,12 @@ const xn = {
810
778
  },
811
779
  fromJSON(e) {
812
780
  return {
813
- name: l(e.name) ? globalThis.String(e.name) : "",
814
- displayName: l(e.displayName) ? globalThis.String(e.displayName) : "",
815
- description: l(e.description) ? globalThis.String(e.description) : "",
816
- version: l(e.version) ? globalThis.String(e.version) : "",
817
- author: l(e.author) ? globalThis.String(e.author) : "",
818
- defaultConfig: l(e.defaultConfig) ? globalThis.String(e.defaultConfig) : ""
781
+ name: c(e.name) ? globalThis.String(e.name) : "",
782
+ displayName: c(e.displayName) ? globalThis.String(e.displayName) : "",
783
+ description: c(e.description) ? globalThis.String(e.description) : "",
784
+ version: c(e.version) ? globalThis.String(e.version) : "",
785
+ author: c(e.author) ? globalThis.String(e.author) : "",
786
+ defaultConfig: c(e.defaultConfig) ? globalThis.String(e.defaultConfig) : ""
819
787
  };
820
788
  },
821
789
  toJSON(e) {
@@ -823,33 +791,33 @@ const xn = {
823
791
  return e.name !== "" && (n.name = e.name), e.displayName !== "" && (n.displayName = e.displayName), e.description !== "" && (n.description = e.description), e.version !== "" && (n.version = e.version), e.author !== "" && (n.author = e.author), e.defaultConfig !== "" && (n.defaultConfig = e.defaultConfig), n;
824
792
  },
825
793
  create(e) {
826
- return xn.fromPartial(e ?? {});
794
+ return nn.fromPartial(e ?? {});
827
795
  },
828
796
  fromPartial(e) {
829
- const n = oe();
797
+ const n = $();
830
798
  return n.name = e.name ?? "", n.displayName = e.displayName ?? "", n.description = e.description ?? "", n.version = e.version ?? "", n.author = e.author ?? "", n.defaultConfig = e.defaultConfig ?? "", n;
831
799
  }
832
800
  };
833
- function ue() {
801
+ function z() {
834
802
  return { licenses: [] };
835
803
  }
836
- const Dn = {
804
+ const rn = {
837
805
  encode(e, n = new u()) {
838
806
  for (const r of e.licenses)
839
- P.encode(r, n.uint32(10).fork()).join();
807
+ N.encode(r, n.uint32(10).fork()).join();
840
808
  return n;
841
809
  },
842
810
  decode(e, n) {
843
811
  const r = e instanceof o ? e : new o(e);
844
812
  let a = n === void 0 ? r.len : r.pos + n;
845
- const t = ue();
813
+ const t = z();
846
814
  for (; r.pos < a; ) {
847
815
  const i = r.uint32();
848
816
  switch (i >>> 3) {
849
817
  case 1: {
850
818
  if (i !== 10)
851
819
  break;
852
- t.licenses.push(P.decode(r, r.uint32()));
820
+ t.licenses.push(N.decode(r, r.uint32()));
853
821
  continue;
854
822
  }
855
823
  }
@@ -861,34 +829,34 @@ const Dn = {
861
829
  },
862
830
  fromJSON(e) {
863
831
  return {
864
- licenses: globalThis.Array.isArray(e == null ? void 0 : e.licenses) ? e.licenses.map((n) => P.fromJSON(n)) : []
832
+ licenses: globalThis.Array.isArray(e == null ? void 0 : e.licenses) ? e.licenses.map((n) => N.fromJSON(n)) : []
865
833
  };
866
834
  },
867
835
  toJSON(e) {
868
836
  var r;
869
837
  const n = {};
870
- return (r = e.licenses) != null && r.length && (n.licenses = e.licenses.map((a) => P.toJSON(a))), n;
838
+ return (r = e.licenses) != null && r.length && (n.licenses = e.licenses.map((a) => N.toJSON(a))), n;
871
839
  },
872
840
  create(e) {
873
- return Dn.fromPartial(e ?? {});
841
+ return rn.fromPartial(e ?? {});
874
842
  },
875
843
  fromPartial(e) {
876
844
  var r;
877
- const n = ue();
878
- return n.licenses = ((r = e.licenses) == null ? void 0 : r.map((a) => P.fromPartial(a))) || [], n;
845
+ const n = z();
846
+ return n.licenses = ((r = e.licenses) == null ? void 0 : r.map((a) => N.fromPartial(a))) || [], n;
879
847
  }
880
848
  };
881
- function fe() {
849
+ function X() {
882
850
  return { preferences: void 0, licenseKey: "", productId: "" };
883
851
  }
884
- const Mn = {
852
+ const tn = {
885
853
  encode(e, n = new u()) {
886
854
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.licenseKey !== "" && n.uint32(18).string(e.licenseKey), e.productId !== "" && n.uint32(26).string(e.productId), n;
887
855
  },
888
856
  decode(e, n) {
889
857
  const r = e instanceof o ? e : new o(e);
890
858
  let a = n === void 0 ? r.len : r.pos + n;
891
- const t = fe();
859
+ const t = X();
892
860
  for (; r.pos < a; ) {
893
861
  const i = r.uint32();
894
862
  switch (i >>> 3) {
@@ -919,9 +887,9 @@ const Mn = {
919
887
  },
920
888
  fromJSON(e) {
921
889
  return {
922
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
923
- licenseKey: l(e.licenseKey) ? globalThis.String(e.licenseKey) : "",
924
- productId: l(e.productId) ? globalThis.String(e.productId) : ""
890
+ preferences: c(e.preferences) ? s.fromJSON(e.preferences) : void 0,
891
+ licenseKey: c(e.licenseKey) ? globalThis.String(e.licenseKey) : "",
892
+ productId: c(e.productId) ? globalThis.String(e.productId) : ""
925
893
  };
926
894
  },
927
895
  toJSON(e) {
@@ -929,1469 +897,43 @@ const Mn = {
929
897
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.licenseKey !== "" && (n.licenseKey = e.licenseKey), e.productId !== "" && (n.productId = e.productId), n;
930
898
  },
931
899
  create(e) {
932
- return Mn.fromPartial(e ?? {});
900
+ return tn.fromPartial(e ?? {});
933
901
  },
934
902
  fromPartial(e) {
935
- const n = fe();
903
+ const n = X();
936
904
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.licenseKey = e.licenseKey ?? "", n.productId = e.productId ?? "", n;
937
905
  }
938
906
  };
939
- function de() {
907
+ function b() {
940
908
  return { apiVersion: "", serviceVersion: "", canlibVersion: "" };
941
909
  }
942
- const bn = {
910
+ const an = {
943
911
  encode(e, n = new u()) {
944
912
  return e.apiVersion !== "" && n.uint32(10).string(e.apiVersion), e.serviceVersion !== "" && n.uint32(18).string(e.serviceVersion), e.canlibVersion !== "" && n.uint32(26).string(e.canlibVersion), n;
945
913
  },
946
914
  decode(e, n) {
947
915
  const r = e instanceof o ? e : new o(e);
948
916
  let a = n === void 0 ? r.len : r.pos + n;
949
- const t = de();
917
+ const t = b();
950
918
  for (; r.pos < a; ) {
951
919
  const i = r.uint32();
952
920
  switch (i >>> 3) {
953
921
  case 1: {
954
922
  if (i !== 10)
955
923
  break;
956
- t.apiVersion = r.string();
957
- continue;
958
- }
959
- case 2: {
960
- if (i !== 18)
961
- break;
962
- t.serviceVersion = r.string();
963
- continue;
964
- }
965
- case 3: {
966
- if (i !== 26)
967
- break;
968
- t.canlibVersion = r.string();
969
- continue;
970
- }
971
- }
972
- if ((i & 7) === 4 || i === 0)
973
- break;
974
- r.skip(i & 7);
975
- }
976
- return t;
977
- },
978
- fromJSON(e) {
979
- return {
980
- apiVersion: l(e.apiVersion) ? globalThis.String(e.apiVersion) : "",
981
- serviceVersion: l(e.serviceVersion) ? globalThis.String(e.serviceVersion) : "",
982
- canlibVersion: l(e.canlibVersion) ? globalThis.String(e.canlibVersion) : ""
983
- };
984
- },
985
- toJSON(e) {
986
- const n = {};
987
- return e.apiVersion !== "" && (n.apiVersion = e.apiVersion), e.serviceVersion !== "" && (n.serviceVersion = e.serviceVersion), e.canlibVersion !== "" && (n.canlibVersion = e.canlibVersion), n;
988
- },
989
- create(e) {
990
- return bn.fromPartial(e ?? {});
991
- },
992
- fromPartial(e) {
993
- const n = de();
994
- return n.apiVersion = e.apiVersion ?? "", n.serviceVersion = e.serviceVersion ?? "", n.canlibVersion = e.canlibVersion ?? "", n;
995
- }
996
- };
997
- function l(e) {
998
- return e != null;
999
- }
1000
- var yn = /* @__PURE__ */ ((e) => (e[e.CAN_CHANNEL_CAP_UNSPECIFIED = 0] = "CAN_CHANNEL_CAP_UNSPECIFIED", e[e.CAN_CHANNEL_CAP_EXTENDED_CAN = 1] = "CAN_CHANNEL_CAP_EXTENDED_CAN", e[e.CAN_CHANNEL_CAP_BUS_STATISTICS = 2] = "CAN_CHANNEL_CAP_BUS_STATISTICS", e[e.CAN_CHANNEL_CAP_ERROR_COUNTERS = 3] = "CAN_CHANNEL_CAP_ERROR_COUNTERS", e[e.CAN_CHANNEL_CAP_GENERATE_ERROR = 4] = "CAN_CHANNEL_CAP_GENERATE_ERROR", e[e.CAN_CHANNEL_CAP_GENERATE_OVERLOAD = 5] = "CAN_CHANNEL_CAP_GENERATE_OVERLOAD", e[e.CAN_CHANNEL_CAP_TXREQUEST = 6] = "CAN_CHANNEL_CAP_TXREQUEST", e[e.CAN_CHANNEL_CAP_TXACKNOWLEDGE = 7] = "CAN_CHANNEL_CAP_TXACKNOWLEDGE", e[e.CAN_CHANNEL_CAP_VIRTUAL = 8] = "CAN_CHANNEL_CAP_VIRTUAL", e[e.CAN_CHANNEL_CAP_SIMULATED = 9] = "CAN_CHANNEL_CAP_SIMULATED", e[e.CAN_CHANNEL_CAP_CAN_FD = 10] = "CAN_CHANNEL_CAP_CAN_FD", e[e.CAN_CHANNEL_CAP_CAN_FD_NONISO = 11] = "CAN_CHANNEL_CAP_CAN_FD_NONISO", e[e.CAN_CHANNEL_CAP_SILENT_MODE = 12] = "CAN_CHANNEL_CAP_SILENT_MODE", e[e.CAN_CHANNEL_CAP_SINGLE_SHOT = 13] = "CAN_CHANNEL_CAP_SINGLE_SHOT", e[e.CAN_CHANNEL_CAP_LOGGER = 14] = "CAN_CHANNEL_CAP_LOGGER", e[e.CAN_CHANNEL_CAP_REMOTE_ACCESS = 15] = "CAN_CHANNEL_CAP_REMOTE_ACCESS", e[e.CAN_CHANNEL_CAP_SCRIPT = 16] = "CAN_CHANNEL_CAP_SCRIPT", e[e.CAN_CHANNEL_CAP_LIN_HYBRID = 17] = "CAN_CHANNEL_CAP_LIN_HYBRID", e[e.CAN_CHANNEL_CAP_IO_API = 18] = "CAN_CHANNEL_CAP_IO_API", e[e.CAN_CHANNEL_CAP_CANTEGRITY = 19] = "CAN_CHANNEL_CAP_CANTEGRITY", e[e.CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ = 20] = "CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(yn || {});
1001
- function Gn(e) {
1002
- switch (e) {
1003
- case 0:
1004
- case "CAN_CHANNEL_CAP_UNSPECIFIED":
1005
- return 0;
1006
- case 1:
1007
- case "CAN_CHANNEL_CAP_EXTENDED_CAN":
1008
- return 1;
1009
- case 2:
1010
- case "CAN_CHANNEL_CAP_BUS_STATISTICS":
1011
- return 2;
1012
- case 3:
1013
- case "CAN_CHANNEL_CAP_ERROR_COUNTERS":
1014
- return 3;
1015
- case 4:
1016
- case "CAN_CHANNEL_CAP_GENERATE_ERROR":
1017
- return 4;
1018
- case 5:
1019
- case "CAN_CHANNEL_CAP_GENERATE_OVERLOAD":
1020
- return 5;
1021
- case 6:
1022
- case "CAN_CHANNEL_CAP_TXREQUEST":
1023
- return 6;
1024
- case 7:
1025
- case "CAN_CHANNEL_CAP_TXACKNOWLEDGE":
1026
- return 7;
1027
- case 8:
1028
- case "CAN_CHANNEL_CAP_VIRTUAL":
1029
- return 8;
1030
- case 9:
1031
- case "CAN_CHANNEL_CAP_SIMULATED":
1032
- return 9;
1033
- case 10:
1034
- case "CAN_CHANNEL_CAP_CAN_FD":
1035
- return 10;
1036
- case 11:
1037
- case "CAN_CHANNEL_CAP_CAN_FD_NONISO":
1038
- return 11;
1039
- case 12:
1040
- case "CAN_CHANNEL_CAP_SILENT_MODE":
1041
- return 12;
1042
- case 13:
1043
- case "CAN_CHANNEL_CAP_SINGLE_SHOT":
1044
- return 13;
1045
- case 14:
1046
- case "CAN_CHANNEL_CAP_LOGGER":
1047
- return 14;
1048
- case 15:
1049
- case "CAN_CHANNEL_CAP_REMOTE_ACCESS":
1050
- return 15;
1051
- case 16:
1052
- case "CAN_CHANNEL_CAP_SCRIPT":
1053
- return 16;
1054
- case 17:
1055
- case "CAN_CHANNEL_CAP_LIN_HYBRID":
1056
- return 17;
1057
- case 18:
1058
- case "CAN_CHANNEL_CAP_IO_API":
1059
- return 18;
1060
- case 19:
1061
- case "CAN_CHANNEL_CAP_CANTEGRITY":
1062
- return 19;
1063
- case 20:
1064
- case "CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ":
1065
- return 20;
1066
- case -1:
1067
- case "UNRECOGNIZED":
1068
- default:
1069
- return -1;
1070
- }
1071
- }
1072
- function Vn(e) {
1073
- switch (e) {
1074
- case 0:
1075
- return "CAN_CHANNEL_CAP_UNSPECIFIED";
1076
- case 1:
1077
- return "CAN_CHANNEL_CAP_EXTENDED_CAN";
1078
- case 2:
1079
- return "CAN_CHANNEL_CAP_BUS_STATISTICS";
1080
- case 3:
1081
- return "CAN_CHANNEL_CAP_ERROR_COUNTERS";
1082
- case 4:
1083
- return "CAN_CHANNEL_CAP_GENERATE_ERROR";
1084
- case 5:
1085
- return "CAN_CHANNEL_CAP_GENERATE_OVERLOAD";
1086
- case 6:
1087
- return "CAN_CHANNEL_CAP_TXREQUEST";
1088
- case 7:
1089
- return "CAN_CHANNEL_CAP_TXACKNOWLEDGE";
1090
- case 8:
1091
- return "CAN_CHANNEL_CAP_VIRTUAL";
1092
- case 9:
1093
- return "CAN_CHANNEL_CAP_SIMULATED";
1094
- case 10:
1095
- return "CAN_CHANNEL_CAP_CAN_FD";
1096
- case 11:
1097
- return "CAN_CHANNEL_CAP_CAN_FD_NONISO";
1098
- case 12:
1099
- return "CAN_CHANNEL_CAP_SILENT_MODE";
1100
- case 13:
1101
- return "CAN_CHANNEL_CAP_SINGLE_SHOT";
1102
- case 14:
1103
- return "CAN_CHANNEL_CAP_LOGGER";
1104
- case 15:
1105
- return "CAN_CHANNEL_CAP_REMOTE_ACCESS";
1106
- case 16:
1107
- return "CAN_CHANNEL_CAP_SCRIPT";
1108
- case 17:
1109
- return "CAN_CHANNEL_CAP_LIN_HYBRID";
1110
- case 18:
1111
- return "CAN_CHANNEL_CAP_IO_API";
1112
- case 19:
1113
- return "CAN_CHANNEL_CAP_CANTEGRITY";
1114
- case 20:
1115
- return "CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ";
1116
- case -1:
1117
- default:
1118
- return "UNRECOGNIZED";
1119
- }
1120
- }
1121
- var Bn = /* @__PURE__ */ ((e) => (e[e.PROTOCOLS_UNSPECIFIED = 0] = "PROTOCOLS_UNSPECIFIED", e[e.PROTOCOLS_CAN = 1] = "PROTOCOLS_CAN", e[e.PROTOCOLS_LIN = 2] = "PROTOCOLS_LIN", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Bn || {});
1122
- function mn(e) {
1123
- switch (e) {
1124
- case 0:
1125
- case "PROTOCOLS_UNSPECIFIED":
1126
- return 0;
1127
- case 1:
1128
- case "PROTOCOLS_CAN":
1129
- return 1;
1130
- case 2:
1131
- case "PROTOCOLS_LIN":
1132
- return 2;
1133
- case -1:
1134
- case "UNRECOGNIZED":
1135
- default:
1136
- return -1;
1137
- }
1138
- }
1139
- function En(e) {
1140
- switch (e) {
1141
- case 0:
1142
- return "PROTOCOLS_UNSPECIFIED";
1143
- case 1:
1144
- return "PROTOCOLS_CAN";
1145
- case 2:
1146
- return "PROTOCOLS_LIN";
1147
- case -1:
1148
- default:
1149
- return "UNRECOGNIZED";
1150
- }
1151
- }
1152
- var Fn = /* @__PURE__ */ ((e) => (e[e.DEVICE_EVENT_UNSPECIFIED = 0] = "DEVICE_EVENT_UNSPECIFIED", e[e.DEVICE_EVENT_DEVICES_CHANGED = 1] = "DEVICE_EVENT_DEVICES_CHANGED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Fn || {});
1153
- function Un(e) {
1154
- switch (e) {
1155
- case 0:
1156
- case "DEVICE_EVENT_UNSPECIFIED":
1157
- return 0;
1158
- case 1:
1159
- case "DEVICE_EVENT_DEVICES_CHANGED":
1160
- return 1;
1161
- case -1:
1162
- case "UNRECOGNIZED":
1163
- default:
1164
- return -1;
1165
- }
1166
- }
1167
- function Hn(e) {
1168
- switch (e) {
1169
- case 0:
1170
- return "DEVICE_EVENT_UNSPECIFIED";
1171
- case 1:
1172
- return "DEVICE_EVENT_DEVICES_CHANGED";
1173
- case -1:
1174
- default:
1175
- return "UNRECOGNIZED";
1176
- }
1177
- }
1178
- function ce() {
1179
- return { tq: 0, phase1: 0, phase2: 0, sjw: 0, prop: 0, prescaler: 0 };
1180
- }
1181
- const S = {
1182
- encode(e, n = new u()) {
1183
- return e.tq !== 0 && n.uint32(8).int32(e.tq), e.phase1 !== 0 && n.uint32(16).int32(e.phase1), e.phase2 !== 0 && n.uint32(24).int32(e.phase2), e.sjw !== 0 && n.uint32(32).int32(e.sjw), e.prop !== 0 && n.uint32(40).int32(e.prop), e.prescaler !== 0 && n.uint32(48).int32(e.prescaler), n;
1184
- },
1185
- decode(e, n) {
1186
- const r = e instanceof o ? e : new o(e);
1187
- let a = n === void 0 ? r.len : r.pos + n;
1188
- const t = ce();
1189
- for (; r.pos < a; ) {
1190
- const i = r.uint32();
1191
- switch (i >>> 3) {
1192
- case 1: {
1193
- if (i !== 8)
1194
- break;
1195
- t.tq = r.int32();
1196
- continue;
1197
- }
1198
- case 2: {
1199
- if (i !== 16)
1200
- break;
1201
- t.phase1 = r.int32();
1202
- continue;
1203
- }
1204
- case 3: {
1205
- if (i !== 24)
1206
- break;
1207
- t.phase2 = r.int32();
1208
- continue;
1209
- }
1210
- case 4: {
1211
- if (i !== 32)
1212
- break;
1213
- t.sjw = r.int32();
1214
- continue;
1215
- }
1216
- case 5: {
1217
- if (i !== 40)
1218
- break;
1219
- t.prop = r.int32();
1220
- continue;
1221
- }
1222
- case 6: {
1223
- if (i !== 48)
1224
- break;
1225
- t.prescaler = r.int32();
1226
- continue;
1227
- }
1228
- }
1229
- if ((i & 7) === 4 || i === 0)
1230
- break;
1231
- r.skip(i & 7);
1232
- }
1233
- return t;
1234
- },
1235
- fromJSON(e) {
1236
- return {
1237
- tq: d(e.tq) ? globalThis.Number(e.tq) : 0,
1238
- phase1: d(e.phase1) ? globalThis.Number(e.phase1) : 0,
1239
- phase2: d(e.phase2) ? globalThis.Number(e.phase2) : 0,
1240
- sjw: d(e.sjw) ? globalThis.Number(e.sjw) : 0,
1241
- prop: d(e.prop) ? globalThis.Number(e.prop) : 0,
1242
- prescaler: d(e.prescaler) ? globalThis.Number(e.prescaler) : 0
1243
- };
1244
- },
1245
- toJSON(e) {
1246
- const n = {};
1247
- return e.tq !== 0 && (n.tq = Math.round(e.tq)), e.phase1 !== 0 && (n.phase1 = Math.round(e.phase1)), e.phase2 !== 0 && (n.phase2 = Math.round(e.phase2)), e.sjw !== 0 && (n.sjw = Math.round(e.sjw)), e.prop !== 0 && (n.prop = Math.round(e.prop)), e.prescaler !== 0 && (n.prescaler = Math.round(e.prescaler)), n;
1248
- },
1249
- create(e) {
1250
- return S.fromPartial(e ?? {});
1251
- },
1252
- fromPartial(e) {
1253
- const n = ce();
1254
- return n.tq = e.tq ?? 0, n.phase1 = e.phase1 ?? 0, n.phase2 = e.phase2 ?? 0, n.sjw = e.sjw ?? 0, n.prop = e.prop ?? 0, n.prescaler = e.prescaler ?? 0, n;
1255
- }
1256
- };
1257
- function le() {
1258
- return {
1259
- arbitrationMin: void 0,
1260
- arbitrationMax: void 0,
1261
- dataMin: void 0,
1262
- dataMax: void 0,
1263
- isValid: !1
1264
- };
1265
- }
1266
- const g = {
1267
- encode(e, n = new u()) {
1268
- return e.arbitrationMin !== void 0 && S.encode(e.arbitrationMin, n.uint32(10).fork()).join(), e.arbitrationMax !== void 0 && S.encode(e.arbitrationMax, n.uint32(18).fork()).join(), e.dataMin !== void 0 && S.encode(e.dataMin, n.uint32(26).fork()).join(), e.dataMax !== void 0 && S.encode(e.dataMax, n.uint32(34).fork()).join(), e.isValid !== !1 && n.uint32(40).bool(e.isValid), n;
1269
- },
1270
- decode(e, n) {
1271
- const r = e instanceof o ? e : new o(e);
1272
- let a = n === void 0 ? r.len : r.pos + n;
1273
- const t = le();
1274
- for (; r.pos < a; ) {
1275
- const i = r.uint32();
1276
- switch (i >>> 3) {
1277
- case 1: {
1278
- if (i !== 10)
1279
- break;
1280
- t.arbitrationMin = S.decode(r, r.uint32());
1281
- continue;
1282
- }
1283
- case 2: {
1284
- if (i !== 18)
1285
- break;
1286
- t.arbitrationMax = S.decode(r, r.uint32());
1287
- continue;
1288
- }
1289
- case 3: {
1290
- if (i !== 26)
1291
- break;
1292
- t.dataMin = S.decode(r, r.uint32());
1293
- continue;
1294
- }
1295
- case 4: {
1296
- if (i !== 34)
1297
- break;
1298
- t.dataMax = S.decode(r, r.uint32());
1299
- continue;
1300
- }
1301
- case 5: {
1302
- if (i !== 40)
1303
- break;
1304
- t.isValid = r.bool();
1305
- continue;
1306
- }
1307
- }
1308
- if ((i & 7) === 4 || i === 0)
1309
- break;
1310
- r.skip(i & 7);
1311
- }
1312
- return t;
1313
- },
1314
- fromJSON(e) {
1315
- return {
1316
- arbitrationMin: d(e.arbitrationMin) ? S.fromJSON(e.arbitrationMin) : void 0,
1317
- arbitrationMax: d(e.arbitrationMax) ? S.fromJSON(e.arbitrationMax) : void 0,
1318
- dataMin: d(e.dataMin) ? S.fromJSON(e.dataMin) : void 0,
1319
- dataMax: d(e.dataMax) ? S.fromJSON(e.dataMax) : void 0,
1320
- isValid: d(e.isValid) ? globalThis.Boolean(e.isValid) : !1
1321
- };
1322
- },
1323
- toJSON(e) {
1324
- const n = {};
1325
- return e.arbitrationMin !== void 0 && (n.arbitrationMin = S.toJSON(e.arbitrationMin)), e.arbitrationMax !== void 0 && (n.arbitrationMax = S.toJSON(e.arbitrationMax)), e.dataMin !== void 0 && (n.dataMin = S.toJSON(e.dataMin)), e.dataMax !== void 0 && (n.dataMax = S.toJSON(e.dataMax)), e.isValid !== !1 && (n.isValid = e.isValid), n;
1326
- },
1327
- create(e) {
1328
- return g.fromPartial(e ?? {});
1329
- },
1330
- fromPartial(e) {
1331
- const n = le();
1332
- return n.arbitrationMin = e.arbitrationMin !== void 0 && e.arbitrationMin !== null ? S.fromPartial(e.arbitrationMin) : void 0, n.arbitrationMax = e.arbitrationMax !== void 0 && e.arbitrationMax !== null ? S.fromPartial(e.arbitrationMax) : void 0, n.dataMin = e.dataMin !== void 0 && e.dataMin !== null ? S.fromPartial(e.dataMin) : void 0, n.dataMax = e.dataMax !== void 0 && e.dataMax !== null ? S.fromPartial(e.dataMax) : void 0, n.isValid = e.isValid ?? !1, n;
1333
- }
1334
- };
1335
- function pe() {
1336
- return {
1337
- bitRate: 0,
1338
- actualBitRate: 0,
1339
- bitRateError: 0,
1340
- timeSegment1: 0,
1341
- timeSegment2: 0,
1342
- samplingPoint: 0,
1343
- numberOfSamplingPoints: 0,
1344
- maxSyncJumpWidth: 0,
1345
- description: ""
1346
- };
1347
- }
1348
- const h = {
1349
- encode(e, n = new u()) {
1350
- return e.bitRate !== 0 && n.uint32(8).int32(e.bitRate), e.actualBitRate !== 0 && n.uint32(16).int32(e.actualBitRate), e.bitRateError !== 0 && n.uint32(25).double(e.bitRateError), e.timeSegment1 !== 0 && n.uint32(32).int32(e.timeSegment1), e.timeSegment2 !== 0 && n.uint32(40).int32(e.timeSegment2), e.samplingPoint !== 0 && n.uint32(49).double(e.samplingPoint), e.numberOfSamplingPoints !== 0 && n.uint32(56).int32(e.numberOfSamplingPoints), e.maxSyncJumpWidth !== 0 && n.uint32(64).int32(e.maxSyncJumpWidth), e.description !== "" && n.uint32(74).string(e.description), n;
1351
- },
1352
- decode(e, n) {
1353
- const r = e instanceof o ? e : new o(e);
1354
- let a = n === void 0 ? r.len : r.pos + n;
1355
- const t = pe();
1356
- for (; r.pos < a; ) {
1357
- const i = r.uint32();
1358
- switch (i >>> 3) {
1359
- case 1: {
1360
- if (i !== 8)
1361
- break;
1362
- t.bitRate = r.int32();
1363
- continue;
1364
- }
1365
- case 2: {
1366
- if (i !== 16)
1367
- break;
1368
- t.actualBitRate = r.int32();
1369
- continue;
1370
- }
1371
- case 3: {
1372
- if (i !== 25)
1373
- break;
1374
- t.bitRateError = r.double();
1375
- continue;
1376
- }
1377
- case 4: {
1378
- if (i !== 32)
1379
- break;
1380
- t.timeSegment1 = r.int32();
1381
- continue;
1382
- }
1383
- case 5: {
1384
- if (i !== 40)
1385
- break;
1386
- t.timeSegment2 = r.int32();
1387
- continue;
1388
- }
1389
- case 6: {
1390
- if (i !== 49)
1391
- break;
1392
- t.samplingPoint = r.double();
1393
- continue;
1394
- }
1395
- case 7: {
1396
- if (i !== 56)
1397
- break;
1398
- t.numberOfSamplingPoints = r.int32();
1399
- continue;
1400
- }
1401
- case 8: {
1402
- if (i !== 64)
1403
- break;
1404
- t.maxSyncJumpWidth = r.int32();
1405
- continue;
1406
- }
1407
- case 9: {
1408
- if (i !== 74)
1409
- break;
1410
- t.description = r.string();
1411
- continue;
1412
- }
1413
- }
1414
- if ((i & 7) === 4 || i === 0)
1415
- break;
1416
- r.skip(i & 7);
1417
- }
1418
- return t;
1419
- },
1420
- fromJSON(e) {
1421
- return {
1422
- bitRate: d(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
1423
- actualBitRate: d(e.actualBitRate) ? globalThis.Number(e.actualBitRate) : 0,
1424
- bitRateError: d(e.bitRateError) ? globalThis.Number(e.bitRateError) : 0,
1425
- timeSegment1: d(e.timeSegment1) ? globalThis.Number(e.timeSegment1) : 0,
1426
- timeSegment2: d(e.timeSegment2) ? globalThis.Number(e.timeSegment2) : 0,
1427
- samplingPoint: d(e.samplingPoint) ? globalThis.Number(e.samplingPoint) : 0,
1428
- numberOfSamplingPoints: d(e.numberOfSamplingPoints) ? globalThis.Number(e.numberOfSamplingPoints) : 0,
1429
- maxSyncJumpWidth: d(e.maxSyncJumpWidth) ? globalThis.Number(e.maxSyncJumpWidth) : 0,
1430
- description: d(e.description) ? globalThis.String(e.description) : ""
1431
- };
1432
- },
1433
- toJSON(e) {
1434
- const n = {};
1435
- return e.bitRate !== 0 && (n.bitRate = Math.round(e.bitRate)), e.actualBitRate !== 0 && (n.actualBitRate = Math.round(e.actualBitRate)), e.bitRateError !== 0 && (n.bitRateError = e.bitRateError), e.timeSegment1 !== 0 && (n.timeSegment1 = Math.round(e.timeSegment1)), e.timeSegment2 !== 0 && (n.timeSegment2 = Math.round(e.timeSegment2)), e.samplingPoint !== 0 && (n.samplingPoint = e.samplingPoint), e.numberOfSamplingPoints !== 0 && (n.numberOfSamplingPoints = Math.round(e.numberOfSamplingPoints)), e.maxSyncJumpWidth !== 0 && (n.maxSyncJumpWidth = Math.round(e.maxSyncJumpWidth)), e.description !== "" && (n.description = e.description), n;
1436
- },
1437
- create(e) {
1438
- return h.fromPartial(e ?? {});
1439
- },
1440
- fromPartial(e) {
1441
- const n = pe();
1442
- return n.bitRate = e.bitRate ?? 0, n.actualBitRate = e.actualBitRate ?? 0, n.bitRateError = e.bitRateError ?? 0, n.timeSegment1 = e.timeSegment1 ?? 0, n.timeSegment2 = e.timeSegment2 ?? 0, n.samplingPoint = e.samplingPoint ?? 0, n.numberOfSamplingPoints = e.numberOfSamplingPoints ?? 0, n.maxSyncJumpWidth = e.maxSyncJumpWidth ?? 0, n.description = e.description ?? "", n;
1443
- }
1444
- };
1445
- function Ne() {
1446
- return {
1447
- bitRate: 0,
1448
- timeSegment1: 0,
1449
- timeSegment2: 0,
1450
- samplingPoint: 0,
1451
- numberOfSamplingPoints: 0,
1452
- maxSyncJumpWidth: 0,
1453
- prescaler: 0,
1454
- description: ""
1455
- };
1456
- }
1457
- const E = {
1458
- encode(e, n = new u()) {
1459
- return e.bitRate !== 0 && n.uint32(8).int32(e.bitRate), e.timeSegment1 !== 0 && n.uint32(16).int32(e.timeSegment1), e.timeSegment2 !== 0 && n.uint32(24).int32(e.timeSegment2), e.samplingPoint !== 0 && n.uint32(33).double(e.samplingPoint), e.numberOfSamplingPoints !== 0 && n.uint32(40).int32(e.numberOfSamplingPoints), e.maxSyncJumpWidth !== 0 && n.uint32(48).int32(e.maxSyncJumpWidth), e.prescaler !== 0 && n.uint32(56).int32(e.prescaler), e.description !== "" && n.uint32(66).string(e.description), n;
1460
- },
1461
- decode(e, n) {
1462
- const r = e instanceof o ? e : new o(e);
1463
- let a = n === void 0 ? r.len : r.pos + n;
1464
- const t = Ne();
1465
- for (; r.pos < a; ) {
1466
- const i = r.uint32();
1467
- switch (i >>> 3) {
1468
- case 1: {
1469
- if (i !== 8)
1470
- break;
1471
- t.bitRate = r.int32();
1472
- continue;
1473
- }
1474
- case 2: {
1475
- if (i !== 16)
1476
- break;
1477
- t.timeSegment1 = r.int32();
1478
- continue;
1479
- }
1480
- case 3: {
1481
- if (i !== 24)
1482
- break;
1483
- t.timeSegment2 = r.int32();
1484
- continue;
1485
- }
1486
- case 4: {
1487
- if (i !== 33)
1488
- break;
1489
- t.samplingPoint = r.double();
1490
- continue;
1491
- }
1492
- case 5: {
1493
- if (i !== 40)
1494
- break;
1495
- t.numberOfSamplingPoints = r.int32();
1496
- continue;
1497
- }
1498
- case 6: {
1499
- if (i !== 48)
1500
- break;
1501
- t.maxSyncJumpWidth = r.int32();
1502
- continue;
1503
- }
1504
- case 7: {
1505
- if (i !== 56)
1506
- break;
1507
- t.prescaler = r.int32();
1508
- continue;
1509
- }
1510
- case 8: {
1511
- if (i !== 66)
1512
- break;
1513
- t.description = r.string();
1514
- continue;
1515
- }
1516
- }
1517
- if ((i & 7) === 4 || i === 0)
1518
- break;
1519
- r.skip(i & 7);
1520
- }
1521
- return t;
1522
- },
1523
- fromJSON(e) {
1524
- return {
1525
- bitRate: d(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
1526
- timeSegment1: d(e.timeSegment1) ? globalThis.Number(e.timeSegment1) : 0,
1527
- timeSegment2: d(e.timeSegment2) ? globalThis.Number(e.timeSegment2) : 0,
1528
- samplingPoint: d(e.samplingPoint) ? globalThis.Number(e.samplingPoint) : 0,
1529
- numberOfSamplingPoints: d(e.numberOfSamplingPoints) ? globalThis.Number(e.numberOfSamplingPoints) : 0,
1530
- maxSyncJumpWidth: d(e.maxSyncJumpWidth) ? globalThis.Number(e.maxSyncJumpWidth) : 0,
1531
- prescaler: d(e.prescaler) ? globalThis.Number(e.prescaler) : 0,
1532
- description: d(e.description) ? globalThis.String(e.description) : ""
1533
- };
1534
- },
1535
- toJSON(e) {
1536
- const n = {};
1537
- return e.bitRate !== 0 && (n.bitRate = Math.round(e.bitRate)), e.timeSegment1 !== 0 && (n.timeSegment1 = Math.round(e.timeSegment1)), e.timeSegment2 !== 0 && (n.timeSegment2 = Math.round(e.timeSegment2)), e.samplingPoint !== 0 && (n.samplingPoint = e.samplingPoint), e.numberOfSamplingPoints !== 0 && (n.numberOfSamplingPoints = Math.round(e.numberOfSamplingPoints)), e.maxSyncJumpWidth !== 0 && (n.maxSyncJumpWidth = Math.round(e.maxSyncJumpWidth)), e.prescaler !== 0 && (n.prescaler = Math.round(e.prescaler)), e.description !== "" && (n.description = e.description), n;
1538
- },
1539
- create(e) {
1540
- return E.fromPartial(e ?? {});
1541
- },
1542
- fromPartial(e) {
1543
- const n = Ne();
1544
- return n.bitRate = e.bitRate ?? 0, n.timeSegment1 = e.timeSegment1 ?? 0, n.timeSegment2 = e.timeSegment2 ?? 0, n.samplingPoint = e.samplingPoint ?? 0, n.numberOfSamplingPoints = e.numberOfSamplingPoints ?? 0, n.maxSyncJumpWidth = e.maxSyncJumpWidth ?? 0, n.prescaler = e.prescaler ?? 0, n.description = e.description ?? "", n;
1545
- }
1546
- };
1547
- function Se() {
1548
- return { busSpeedArbPhase: void 0, busSpeedsDataPhase: [] };
1549
- }
1550
- const O = {
1551
- encode(e, n = new u()) {
1552
- e.busSpeedArbPhase !== void 0 && E.encode(e.busSpeedArbPhase, n.uint32(10).fork()).join();
1553
- for (const r of e.busSpeedsDataPhase)
1554
- E.encode(r, n.uint32(18).fork()).join();
1555
- return n;
1556
- },
1557
- decode(e, n) {
1558
- const r = e instanceof o ? e : new o(e);
1559
- let a = n === void 0 ? r.len : r.pos + n;
1560
- const t = Se();
1561
- for (; r.pos < a; ) {
1562
- const i = r.uint32();
1563
- switch (i >>> 3) {
1564
- case 1: {
1565
- if (i !== 10)
1566
- break;
1567
- t.busSpeedArbPhase = E.decode(r, r.uint32());
1568
- continue;
1569
- }
1570
- case 2: {
1571
- if (i !== 18)
1572
- break;
1573
- t.busSpeedsDataPhase.push(E.decode(r, r.uint32()));
1574
- continue;
1575
- }
1576
- }
1577
- if ((i & 7) === 4 || i === 0)
1578
- break;
1579
- r.skip(i & 7);
1580
- }
1581
- return t;
1582
- },
1583
- fromJSON(e) {
1584
- return {
1585
- busSpeedArbPhase: d(e.busSpeedArbPhase) ? E.fromJSON(e.busSpeedArbPhase) : void 0,
1586
- busSpeedsDataPhase: globalThis.Array.isArray(e == null ? void 0 : e.busSpeedsDataPhase) ? e.busSpeedsDataPhase.map((n) => E.fromJSON(n)) : []
1587
- };
1588
- },
1589
- toJSON(e) {
1590
- var r;
1591
- const n = {};
1592
- return e.busSpeedArbPhase !== void 0 && (n.busSpeedArbPhase = E.toJSON(e.busSpeedArbPhase)), (r = e.busSpeedsDataPhase) != null && r.length && (n.busSpeedsDataPhase = e.busSpeedsDataPhase.map((a) => E.toJSON(a))), n;
1593
- },
1594
- create(e) {
1595
- return O.fromPartial(e ?? {});
1596
- },
1597
- fromPartial(e) {
1598
- var r;
1599
- const n = Se();
1600
- return n.busSpeedArbPhase = e.busSpeedArbPhase !== void 0 && e.busSpeedArbPhase !== null ? E.fromPartial(e.busSpeedArbPhase) : void 0, n.busSpeedsDataPhase = ((r = e.busSpeedsDataPhase) == null ? void 0 : r.map((a) => E.fromPartial(a))) || [], n;
1601
- }
1602
- };
1603
- function me() {
1604
- return { busParamLimits: void 0, channelCaps: [], maxBitRate: 0, clockFrequency: 0 };
1605
- }
1606
- const J = {
1607
- encode(e, n = new u()) {
1608
- e.busParamLimits !== void 0 && g.encode(e.busParamLimits, n.uint32(10).fork()).join(), n.uint32(18).fork();
1609
- for (const r of e.channelCaps)
1610
- n.int32(r);
1611
- return n.join(), e.maxBitRate !== 0 && n.uint32(24).int32(e.maxBitRate), e.clockFrequency !== 0 && n.uint32(33).double(e.clockFrequency), n;
1612
- },
1613
- decode(e, n) {
1614
- const r = e instanceof o ? e : new o(e);
1615
- let a = n === void 0 ? r.len : r.pos + n;
1616
- const t = me();
1617
- for (; r.pos < a; ) {
1618
- const i = r.uint32();
1619
- switch (i >>> 3) {
1620
- case 1: {
1621
- if (i !== 10)
1622
- break;
1623
- t.busParamLimits = g.decode(r, r.uint32());
1624
- continue;
1625
- }
1626
- case 2: {
1627
- if (i === 16) {
1628
- t.channelCaps.push(r.int32());
1629
- continue;
1630
- }
1631
- if (i === 18) {
1632
- const p = r.uint32() + r.pos;
1633
- for (; r.pos < p; )
1634
- t.channelCaps.push(r.int32());
1635
- continue;
1636
- }
1637
- break;
1638
- }
1639
- case 3: {
1640
- if (i !== 24)
1641
- break;
1642
- t.maxBitRate = r.int32();
1643
- continue;
1644
- }
1645
- case 4: {
1646
- if (i !== 33)
1647
- break;
1648
- t.clockFrequency = r.double();
1649
- continue;
1650
- }
1651
- }
1652
- if ((i & 7) === 4 || i === 0)
1653
- break;
1654
- r.skip(i & 7);
1655
- }
1656
- return t;
1657
- },
1658
- fromJSON(e) {
1659
- return {
1660
- busParamLimits: d(e.busParamLimits) ? g.fromJSON(e.busParamLimits) : void 0,
1661
- channelCaps: globalThis.Array.isArray(e == null ? void 0 : e.channelCaps) ? e.channelCaps.map((n) => Gn(n)) : [],
1662
- maxBitRate: d(e.maxBitRate) ? globalThis.Number(e.maxBitRate) : 0,
1663
- clockFrequency: d(e.clockFrequency) ? globalThis.Number(e.clockFrequency) : 0
1664
- };
1665
- },
1666
- toJSON(e) {
1667
- var r;
1668
- const n = {};
1669
- return e.busParamLimits !== void 0 && (n.busParamLimits = g.toJSON(e.busParamLimits)), (r = e.channelCaps) != null && r.length && (n.channelCaps = e.channelCaps.map((a) => Vn(a))), e.maxBitRate !== 0 && (n.maxBitRate = Math.round(e.maxBitRate)), e.clockFrequency !== 0 && (n.clockFrequency = e.clockFrequency), n;
1670
- },
1671
- create(e) {
1672
- return J.fromPartial(e ?? {});
1673
- },
1674
- fromPartial(e) {
1675
- var r;
1676
- const n = me();
1677
- return n.busParamLimits = e.busParamLimits !== void 0 && e.busParamLimits !== null ? g.fromPartial(e.busParamLimits) : void 0, n.channelCaps = ((r = e.channelCaps) == null ? void 0 : r.map((a) => a)) || [], n.maxBitRate = e.maxBitRate ?? 0, n.clockFrequency = e.clockFrequency ?? 0, n;
1678
- }
1679
- };
1680
- function Ee() {
1681
- return { channelNumber: 0, channelNumberOnDevice: 0, name: "", protocols: [], canChannelCapacity: void 0 };
1682
- }
1683
- const v = {
1684
- encode(e, n = new u()) {
1685
- e.channelNumber !== 0 && n.uint32(8).int32(e.channelNumber), e.channelNumberOnDevice !== 0 && n.uint32(16).int32(e.channelNumberOnDevice), e.name !== "" && n.uint32(26).string(e.name), n.uint32(34).fork();
1686
- for (const r of e.protocols)
1687
- n.int32(r);
1688
- return n.join(), e.canChannelCapacity !== void 0 && J.encode(e.canChannelCapacity, n.uint32(42).fork()).join(), n;
1689
- },
1690
- decode(e, n) {
1691
- const r = e instanceof o ? e : new o(e);
1692
- let a = n === void 0 ? r.len : r.pos + n;
1693
- const t = Ee();
1694
- for (; r.pos < a; ) {
1695
- const i = r.uint32();
1696
- switch (i >>> 3) {
1697
- case 1: {
1698
- if (i !== 8)
1699
- break;
1700
- t.channelNumber = r.int32();
1701
- continue;
1702
- }
1703
- case 2: {
1704
- if (i !== 16)
1705
- break;
1706
- t.channelNumberOnDevice = r.int32();
1707
- continue;
1708
- }
1709
- case 3: {
1710
- if (i !== 26)
1711
- break;
1712
- t.name = r.string();
1713
- continue;
1714
- }
1715
- case 4: {
1716
- if (i === 32) {
1717
- t.protocols.push(r.int32());
1718
- continue;
1719
- }
1720
- if (i === 34) {
1721
- const p = r.uint32() + r.pos;
1722
- for (; r.pos < p; )
1723
- t.protocols.push(r.int32());
1724
- continue;
1725
- }
1726
- break;
1727
- }
1728
- case 5: {
1729
- if (i !== 42)
1730
- break;
1731
- t.canChannelCapacity = J.decode(r, r.uint32());
1732
- continue;
1733
- }
1734
- }
1735
- if ((i & 7) === 4 || i === 0)
1736
- break;
1737
- r.skip(i & 7);
1738
- }
1739
- return t;
1740
- },
1741
- fromJSON(e) {
1742
- return {
1743
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
1744
- channelNumberOnDevice: d(e.channelNumberOnDevice) ? globalThis.Number(e.channelNumberOnDevice) : 0,
1745
- name: d(e.name) ? globalThis.String(e.name) : "",
1746
- protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) => mn(n)) : [],
1747
- canChannelCapacity: d(e.canChannelCapacity) ? J.fromJSON(e.canChannelCapacity) : void 0
1748
- };
1749
- },
1750
- toJSON(e) {
1751
- var r;
1752
- const n = {};
1753
- return e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), e.channelNumberOnDevice !== 0 && (n.channelNumberOnDevice = Math.round(e.channelNumberOnDevice)), e.name !== "" && (n.name = e.name), (r = e.protocols) != null && r.length && (n.protocols = e.protocols.map((a) => En(a))), e.canChannelCapacity !== void 0 && (n.canChannelCapacity = J.toJSON(e.canChannelCapacity)), n;
1754
- },
1755
- create(e) {
1756
- return v.fromPartial(e ?? {});
1757
- },
1758
- fromPartial(e) {
1759
- var r;
1760
- const n = Ee();
1761
- return n.channelNumber = e.channelNumber ?? 0, n.channelNumberOnDevice = e.channelNumberOnDevice ?? 0, n.name = e.name ?? "", n.protocols = ((r = e.protocols) == null ? void 0 : r.map((a) => a)) || [], n.canChannelCapacity = e.canChannelCapacity !== void 0 && e.canChannelCapacity !== null ? J.fromPartial(e.canChannelCapacity) : void 0, n;
1762
- }
1763
- };
1764
- function Pe() {
1765
- return { cardType: 0, cardNumber: 0, productCode: "", serialNumber: "", name: "", protocols: [], channels: [] };
1766
- }
1767
- const A = {
1768
- encode(e, n = new u()) {
1769
- e.cardType !== 0 && n.uint32(8).int32(e.cardType), e.cardNumber !== 0 && n.uint32(16).int32(e.cardNumber), e.productCode !== "" && n.uint32(26).string(e.productCode), e.serialNumber !== "" && n.uint32(34).string(e.serialNumber), e.name !== "" && n.uint32(42).string(e.name), n.uint32(50).fork();
1770
- for (const r of e.protocols)
1771
- n.int32(r);
1772
- n.join();
1773
- for (const r of e.channels)
1774
- v.encode(r, n.uint32(58).fork()).join();
1775
- return n;
1776
- },
1777
- decode(e, n) {
1778
- const r = e instanceof o ? e : new o(e);
1779
- let a = n === void 0 ? r.len : r.pos + n;
1780
- const t = Pe();
1781
- for (; r.pos < a; ) {
1782
- const i = r.uint32();
1783
- switch (i >>> 3) {
1784
- case 1: {
1785
- if (i !== 8)
1786
- break;
1787
- t.cardType = r.int32();
1788
- continue;
1789
- }
1790
- case 2: {
1791
- if (i !== 16)
1792
- break;
1793
- t.cardNumber = r.int32();
1794
- continue;
1795
- }
1796
- case 3: {
1797
- if (i !== 26)
1798
- break;
1799
- t.productCode = r.string();
1800
- continue;
1801
- }
1802
- case 4: {
1803
- if (i !== 34)
1804
- break;
1805
- t.serialNumber = r.string();
1806
- continue;
1807
- }
1808
- case 5: {
1809
- if (i !== 42)
1810
- break;
1811
- t.name = r.string();
1812
- continue;
1813
- }
1814
- case 6: {
1815
- if (i === 48) {
1816
- t.protocols.push(r.int32());
1817
- continue;
1818
- }
1819
- if (i === 50) {
1820
- const p = r.uint32() + r.pos;
1821
- for (; r.pos < p; )
1822
- t.protocols.push(r.int32());
1823
- continue;
1824
- }
1825
- break;
1826
- }
1827
- case 7: {
1828
- if (i !== 58)
1829
- break;
1830
- t.channels.push(v.decode(r, r.uint32()));
1831
- continue;
1832
- }
1833
- }
1834
- if ((i & 7) === 4 || i === 0)
1835
- break;
1836
- r.skip(i & 7);
1837
- }
1838
- return t;
1839
- },
1840
- fromJSON(e) {
1841
- return {
1842
- cardType: d(e.cardType) ? globalThis.Number(e.cardType) : 0,
1843
- cardNumber: d(e.cardNumber) ? globalThis.Number(e.cardNumber) : 0,
1844
- productCode: d(e.productCode) ? globalThis.String(e.productCode) : "",
1845
- serialNumber: d(e.serialNumber) ? globalThis.String(e.serialNumber) : "",
1846
- name: d(e.name) ? globalThis.String(e.name) : "",
1847
- protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) => mn(n)) : [],
1848
- channels: globalThis.Array.isArray(e == null ? void 0 : e.channels) ? e.channels.map((n) => v.fromJSON(n)) : []
1849
- };
1850
- },
1851
- toJSON(e) {
1852
- var r, a;
1853
- const n = {};
1854
- return e.cardType !== 0 && (n.cardType = Math.round(e.cardType)), e.cardNumber !== 0 && (n.cardNumber = Math.round(e.cardNumber)), e.productCode !== "" && (n.productCode = e.productCode), e.serialNumber !== "" && (n.serialNumber = e.serialNumber), e.name !== "" && (n.name = e.name), (r = e.protocols) != null && r.length && (n.protocols = e.protocols.map((t) => En(t))), (a = e.channels) != null && a.length && (n.channels = e.channels.map((t) => v.toJSON(t))), n;
1855
- },
1856
- create(e) {
1857
- return A.fromPartial(e ?? {});
1858
- },
1859
- fromPartial(e) {
1860
- var r, a;
1861
- const n = Pe();
1862
- return n.cardType = e.cardType ?? 0, n.cardNumber = e.cardNumber ?? 0, n.productCode = e.productCode ?? "", n.serialNumber = e.serialNumber ?? "", n.name = e.name ?? "", n.protocols = ((r = e.protocols) == null ? void 0 : r.map((t) => t)) || [], n.channels = ((a = e.channels) == null ? void 0 : a.map((t) => v.fromPartial(t))) || [], n;
1863
- }
1864
- };
1865
- function he() {
1866
- return { items: [] };
1867
- }
1868
- const x = {
1869
- encode(e, n = new u()) {
1870
- for (const r of e.items)
1871
- A.encode(r, n.uint32(10).fork()).join();
1872
- return n;
1873
- },
1874
- decode(e, n) {
1875
- const r = e instanceof o ? e : new o(e);
1876
- let a = n === void 0 ? r.len : r.pos + n;
1877
- const t = he();
1878
- for (; r.pos < a; ) {
1879
- const i = r.uint32();
1880
- switch (i >>> 3) {
1881
- case 1: {
1882
- if (i !== 10)
1883
- break;
1884
- t.items.push(A.decode(r, r.uint32()));
1885
- continue;
1886
- }
1887
- }
1888
- if ((i & 7) === 4 || i === 0)
1889
- break;
1890
- r.skip(i & 7);
1891
- }
1892
- return t;
1893
- },
1894
- fromJSON(e) {
1895
- return { items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => A.fromJSON(n)) : [] };
1896
- },
1897
- toJSON(e) {
1898
- var r;
1899
- const n = {};
1900
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => A.toJSON(a))), n;
1901
- },
1902
- create(e) {
1903
- return x.fromPartial(e ?? {});
1904
- },
1905
- fromPartial(e) {
1906
- var r;
1907
- const n = he();
1908
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => A.fromPartial(a))) || [], n;
1909
- }
1910
- };
1911
- function Oe() {
1912
- return { preferences: void 0, includeVirtual: !1 };
1913
- }
1914
- const qn = {
1915
- encode(e, n = new u()) {
1916
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.includeVirtual !== !1 && n.uint32(16).bool(e.includeVirtual), n;
1917
- },
1918
- decode(e, n) {
1919
- const r = e instanceof o ? e : new o(e);
1920
- let a = n === void 0 ? r.len : r.pos + n;
1921
- const t = Oe();
1922
- for (; r.pos < a; ) {
1923
- const i = r.uint32();
1924
- switch (i >>> 3) {
1925
- case 1: {
1926
- if (i !== 10)
1927
- break;
1928
- t.preferences = s.decode(r, r.uint32());
1929
- continue;
1930
- }
1931
- case 2: {
1932
- if (i !== 16)
1933
- break;
1934
- t.includeVirtual = r.bool();
1935
- continue;
1936
- }
1937
- }
1938
- if ((i & 7) === 4 || i === 0)
1939
- break;
1940
- r.skip(i & 7);
1941
- }
1942
- return t;
1943
- },
1944
- fromJSON(e) {
1945
- return {
1946
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
1947
- includeVirtual: d(e.includeVirtual) ? globalThis.Boolean(e.includeVirtual) : !1
1948
- };
1949
- },
1950
- toJSON(e) {
1951
- const n = {};
1952
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.includeVirtual !== !1 && (n.includeVirtual = e.includeVirtual), n;
1953
- },
1954
- create(e) {
1955
- return qn.fromPartial(e ?? {});
1956
- },
1957
- fromPartial(e) {
1958
- const n = Oe();
1959
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.includeVirtual = e.includeVirtual ?? !1, n;
1960
- }
1961
- };
1962
- function Ae() {
1963
- return { devices: [] };
1964
- }
1965
- const wn = {
1966
- encode(e, n = new u()) {
1967
- for (const r of e.devices)
1968
- A.encode(r, n.uint32(10).fork()).join();
1969
- return n;
1970
- },
1971
- decode(e, n) {
1972
- const r = e instanceof o ? e : new o(e);
1973
- let a = n === void 0 ? r.len : r.pos + n;
1974
- const t = Ae();
1975
- for (; r.pos < a; ) {
1976
- const i = r.uint32();
1977
- switch (i >>> 3) {
1978
- case 1: {
1979
- if (i !== 10)
1980
- break;
1981
- t.devices.push(A.decode(r, r.uint32()));
1982
- continue;
1983
- }
1984
- }
1985
- if ((i & 7) === 4 || i === 0)
1986
- break;
1987
- r.skip(i & 7);
1988
- }
1989
- return t;
1990
- },
1991
- fromJSON(e) {
1992
- return {
1993
- devices: globalThis.Array.isArray(e == null ? void 0 : e.devices) ? e.devices.map((n) => A.fromJSON(n)) : []
1994
- };
1995
- },
1996
- toJSON(e) {
1997
- var r;
1998
- const n = {};
1999
- return (r = e.devices) != null && r.length && (n.devices = e.devices.map((a) => A.toJSON(a))), n;
2000
- },
2001
- create(e) {
2002
- return wn.fromPartial(e ?? {});
2003
- },
2004
- fromPartial(e) {
2005
- var r;
2006
- const n = Ae();
2007
- return n.devices = ((r = e.devices) == null ? void 0 : r.map((a) => A.fromPartial(a))) || [], n;
2008
- }
2009
- };
2010
- function _e() {
2011
- return { preferences: void 0, channelNumber: 0 };
2012
- }
2013
- const Zn = {
2014
- encode(e, n = new u()) {
2015
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelNumber !== 0 && n.uint32(16).int32(e.channelNumber), n;
2016
- },
2017
- decode(e, n) {
2018
- const r = e instanceof o ? e : new o(e);
2019
- let a = n === void 0 ? r.len : r.pos + n;
2020
- const t = _e();
2021
- for (; r.pos < a; ) {
2022
- const i = r.uint32();
2023
- switch (i >>> 3) {
2024
- case 1: {
2025
- if (i !== 10)
2026
- break;
2027
- t.preferences = s.decode(r, r.uint32());
2028
- continue;
2029
- }
2030
- case 2: {
2031
- if (i !== 16)
2032
- break;
2033
- t.channelNumber = r.int32();
2034
- continue;
2035
- }
2036
- }
2037
- if ((i & 7) === 4 || i === 0)
2038
- break;
2039
- r.skip(i & 7);
2040
- }
2041
- return t;
2042
- },
2043
- fromJSON(e) {
2044
- return {
2045
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2046
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0
2047
- };
2048
- },
2049
- toJSON(e) {
2050
- const n = {};
2051
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), n;
2052
- },
2053
- create(e) {
2054
- return Zn.fromPartial(e ?? {});
2055
- },
2056
- fromPartial(e) {
2057
- const n = _e();
2058
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelNumber = e.channelNumber ?? 0, n;
2059
- }
2060
- };
2061
- function Te() {
2062
- return { availableBusSpeeds: [], availableBusSpeedsFd: [] };
2063
- }
2064
- const Wn = {
2065
- encode(e, n = new u()) {
2066
- for (const r of e.availableBusSpeeds)
2067
- h.encode(r, n.uint32(10).fork()).join();
2068
- for (const r of e.availableBusSpeedsFd)
2069
- O.encode(r, n.uint32(18).fork()).join();
2070
- return n;
2071
- },
2072
- decode(e, n) {
2073
- const r = e instanceof o ? e : new o(e);
2074
- let a = n === void 0 ? r.len : r.pos + n;
2075
- const t = Te();
2076
- for (; r.pos < a; ) {
2077
- const i = r.uint32();
2078
- switch (i >>> 3) {
2079
- case 1: {
2080
- if (i !== 10)
2081
- break;
2082
- t.availableBusSpeeds.push(h.decode(r, r.uint32()));
2083
- continue;
2084
- }
2085
- case 2: {
2086
- if (i !== 18)
2087
- break;
2088
- t.availableBusSpeedsFd.push(O.decode(r, r.uint32()));
2089
- continue;
2090
- }
2091
- }
2092
- if ((i & 7) === 4 || i === 0)
2093
- break;
2094
- r.skip(i & 7);
2095
- }
2096
- return t;
2097
- },
2098
- fromJSON(e) {
2099
- return {
2100
- availableBusSpeeds: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeeds) ? e.availableBusSpeeds.map((n) => h.fromJSON(n)) : [],
2101
- availableBusSpeedsFd: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeedsFd) ? e.availableBusSpeedsFd.map((n) => O.fromJSON(n)) : []
2102
- };
2103
- },
2104
- toJSON(e) {
2105
- var r, a;
2106
- const n = {};
2107
- return (r = e.availableBusSpeeds) != null && r.length && (n.availableBusSpeeds = e.availableBusSpeeds.map((t) => h.toJSON(t))), (a = e.availableBusSpeedsFd) != null && a.length && (n.availableBusSpeedsFd = e.availableBusSpeedsFd.map((t) => O.toJSON(t))), n;
2108
- },
2109
- create(e) {
2110
- return Wn.fromPartial(e ?? {});
2111
- },
2112
- fromPartial(e) {
2113
- var r, a;
2114
- const n = Te();
2115
- return n.availableBusSpeeds = ((r = e.availableBusSpeeds) == null ? void 0 : r.map((t) => h.fromPartial(t))) || [], n.availableBusSpeedsFd = ((a = e.availableBusSpeedsFd) == null ? void 0 : a.map((t) => O.fromPartial(t))) || [], n;
2116
- }
2117
- };
2118
- function Ce() {
2119
- return { preferences: void 0, channelNumber: 0, bitRates: [] };
2120
- }
2121
- const Kn = {
2122
- encode(e, n = new u()) {
2123
- e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelNumber !== 0 && n.uint32(16).int32(e.channelNumber), n.uint32(26).fork();
2124
- for (const r of e.bitRates)
2125
- n.int32(r);
2126
- return n.join(), n;
2127
- },
2128
- decode(e, n) {
2129
- const r = e instanceof o ? e : new o(e);
2130
- let a = n === void 0 ? r.len : r.pos + n;
2131
- const t = Ce();
2132
- for (; r.pos < a; ) {
2133
- const i = r.uint32();
2134
- switch (i >>> 3) {
2135
- case 1: {
2136
- if (i !== 10)
2137
- break;
2138
- t.preferences = s.decode(r, r.uint32());
2139
- continue;
2140
- }
2141
- case 2: {
2142
- if (i !== 16)
2143
- break;
2144
- t.channelNumber = r.int32();
2145
- continue;
2146
- }
2147
- case 3: {
2148
- if (i === 24) {
2149
- t.bitRates.push(r.int32());
2150
- continue;
2151
- }
2152
- if (i === 26) {
2153
- const p = r.uint32() + r.pos;
2154
- for (; r.pos < p; )
2155
- t.bitRates.push(r.int32());
2156
- continue;
2157
- }
2158
- break;
2159
- }
2160
- }
2161
- if ((i & 7) === 4 || i === 0)
2162
- break;
2163
- r.skip(i & 7);
2164
- }
2165
- return t;
2166
- },
2167
- fromJSON(e) {
2168
- return {
2169
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2170
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
2171
- bitRates: globalThis.Array.isArray(e == null ? void 0 : e.bitRates) ? e.bitRates.map((n) => globalThis.Number(n)) : []
2172
- };
2173
- },
2174
- toJSON(e) {
2175
- var r;
2176
- const n = {};
2177
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), (r = e.bitRates) != null && r.length && (n.bitRates = e.bitRates.map((a) => Math.round(a))), n;
2178
- },
2179
- create(e) {
2180
- return Kn.fromPartial(e ?? {});
2181
- },
2182
- fromPartial(e) {
2183
- var r;
2184
- const n = Ce();
2185
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelNumber = e.channelNumber ?? 0, n.bitRates = ((r = e.bitRates) == null ? void 0 : r.map((a) => a)) || [], n;
2186
- }
2187
- };
2188
- function Re() {
2189
- return { availableBusSpeeds: [] };
2190
- }
2191
- const Qn = {
2192
- encode(e, n = new u()) {
2193
- for (const r of e.availableBusSpeeds)
2194
- h.encode(r, n.uint32(10).fork()).join();
2195
- return n;
2196
- },
2197
- decode(e, n) {
2198
- const r = e instanceof o ? e : new o(e);
2199
- let a = n === void 0 ? r.len : r.pos + n;
2200
- const t = Re();
2201
- for (; r.pos < a; ) {
2202
- const i = r.uint32();
2203
- switch (i >>> 3) {
2204
- case 1: {
2205
- if (i !== 10)
2206
- break;
2207
- t.availableBusSpeeds.push(h.decode(r, r.uint32()));
2208
- continue;
2209
- }
2210
- }
2211
- if ((i & 7) === 4 || i === 0)
2212
- break;
2213
- r.skip(i & 7);
2214
- }
2215
- return t;
2216
- },
2217
- fromJSON(e) {
2218
- return {
2219
- availableBusSpeeds: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeeds) ? e.availableBusSpeeds.map((n) => h.fromJSON(n)) : []
2220
- };
2221
- },
2222
- toJSON(e) {
2223
- var r;
2224
- const n = {};
2225
- return (r = e.availableBusSpeeds) != null && r.length && (n.availableBusSpeeds = e.availableBusSpeeds.map((a) => h.toJSON(a))), n;
2226
- },
2227
- create(e) {
2228
- return Qn.fromPartial(e ?? {});
2229
- },
2230
- fromPartial(e) {
2231
- var r;
2232
- const n = Re();
2233
- return n.availableBusSpeeds = ((r = e.availableBusSpeeds) == null ? void 0 : r.map((a) => h.fromPartial(a))) || [], n;
2234
- }
2235
- };
2236
- function ke() {
2237
- return { preferences: void 0, channelNumber: 0, bitRatesArbitrationPhase: [], bitRatesDataPhase: [] };
2238
- }
2239
- const Yn = {
2240
- encode(e, n = new u()) {
2241
- e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelNumber !== 0 && n.uint32(16).int32(e.channelNumber), n.uint32(26).fork();
2242
- for (const r of e.bitRatesArbitrationPhase)
2243
- n.int32(r);
2244
- n.join(), n.uint32(34).fork();
2245
- for (const r of e.bitRatesDataPhase)
2246
- n.int32(r);
2247
- return n.join(), n;
2248
- },
2249
- decode(e, n) {
2250
- const r = e instanceof o ? e : new o(e);
2251
- let a = n === void 0 ? r.len : r.pos + n;
2252
- const t = ke();
2253
- for (; r.pos < a; ) {
2254
- const i = r.uint32();
2255
- switch (i >>> 3) {
2256
- case 1: {
2257
- if (i !== 10)
2258
- break;
2259
- t.preferences = s.decode(r, r.uint32());
2260
- continue;
2261
- }
2262
- case 2: {
2263
- if (i !== 16)
2264
- break;
2265
- t.channelNumber = r.int32();
2266
- continue;
2267
- }
2268
- case 3: {
2269
- if (i === 24) {
2270
- t.bitRatesArbitrationPhase.push(r.int32());
2271
- continue;
2272
- }
2273
- if (i === 26) {
2274
- const p = r.uint32() + r.pos;
2275
- for (; r.pos < p; )
2276
- t.bitRatesArbitrationPhase.push(r.int32());
2277
- continue;
2278
- }
2279
- break;
2280
- }
2281
- case 4: {
2282
- if (i === 32) {
2283
- t.bitRatesDataPhase.push(r.int32());
2284
- continue;
2285
- }
2286
- if (i === 34) {
2287
- const p = r.uint32() + r.pos;
2288
- for (; r.pos < p; )
2289
- t.bitRatesDataPhase.push(r.int32());
2290
- continue;
2291
- }
2292
- break;
2293
- }
2294
- }
2295
- if ((i & 7) === 4 || i === 0)
2296
- break;
2297
- r.skip(i & 7);
2298
- }
2299
- return t;
2300
- },
2301
- fromJSON(e) {
2302
- return {
2303
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2304
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
2305
- bitRatesArbitrationPhase: globalThis.Array.isArray(e == null ? void 0 : e.bitRatesArbitrationPhase) ? e.bitRatesArbitrationPhase.map((n) => globalThis.Number(n)) : [],
2306
- bitRatesDataPhase: globalThis.Array.isArray(e == null ? void 0 : e.bitRatesDataPhase) ? e.bitRatesDataPhase.map((n) => globalThis.Number(n)) : []
2307
- };
2308
- },
2309
- toJSON(e) {
2310
- var r, a;
2311
- const n = {};
2312
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), (r = e.bitRatesArbitrationPhase) != null && r.length && (n.bitRatesArbitrationPhase = e.bitRatesArbitrationPhase.map((t) => Math.round(t))), (a = e.bitRatesDataPhase) != null && a.length && (n.bitRatesDataPhase = e.bitRatesDataPhase.map((t) => Math.round(t))), n;
2313
- },
2314
- create(e) {
2315
- return Yn.fromPartial(e ?? {});
2316
- },
2317
- fromPartial(e) {
2318
- var r, a;
2319
- const n = ke();
2320
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelNumber = e.channelNumber ?? 0, n.bitRatesArbitrationPhase = ((r = e.bitRatesArbitrationPhase) == null ? void 0 : r.map((t) => t)) || [], n.bitRatesDataPhase = ((a = e.bitRatesDataPhase) == null ? void 0 : a.map((t) => t)) || [], n;
2321
- }
2322
- };
2323
- function Ie() {
2324
- return { availableBusSpeedsFd: [] };
2325
- }
2326
- const Xn = {
2327
- encode(e, n = new u()) {
2328
- for (const r of e.availableBusSpeedsFd)
2329
- O.encode(r, n.uint32(10).fork()).join();
2330
- return n;
2331
- },
2332
- decode(e, n) {
2333
- const r = e instanceof o ? e : new o(e);
2334
- let a = n === void 0 ? r.len : r.pos + n;
2335
- const t = Ie();
2336
- for (; r.pos < a; ) {
2337
- const i = r.uint32();
2338
- switch (i >>> 3) {
2339
- case 1: {
2340
- if (i !== 10)
2341
- break;
2342
- t.availableBusSpeedsFd.push(O.decode(r, r.uint32()));
2343
- continue;
2344
- }
2345
- }
2346
- if ((i & 7) === 4 || i === 0)
2347
- break;
2348
- r.skip(i & 7);
2349
- }
2350
- return t;
2351
- },
2352
- fromJSON(e) {
2353
- return {
2354
- availableBusSpeedsFd: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeedsFd) ? e.availableBusSpeedsFd.map((n) => O.fromJSON(n)) : []
2355
- };
2356
- },
2357
- toJSON(e) {
2358
- var r;
2359
- const n = {};
2360
- return (r = e.availableBusSpeedsFd) != null && r.length && (n.availableBusSpeedsFd = e.availableBusSpeedsFd.map((a) => O.toJSON(a))), n;
2361
- },
2362
- create(e) {
2363
- return Xn.fromPartial(e ?? {});
2364
- },
2365
- fromPartial(e) {
2366
- var r;
2367
- const n = Ie();
2368
- return n.availableBusSpeedsFd = ((r = e.availableBusSpeedsFd) == null ? void 0 : r.map((a) => O.fromPartial(a))) || [], n;
2369
- }
2370
- };
2371
- function Le() {
2372
- return { eventType: 0, devices: void 0 };
2373
- }
2374
- const $n = {
2375
- encode(e, n = new u()) {
2376
- return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.devices !== void 0 && x.encode(e.devices, n.uint32(18).fork()).join(), n;
2377
- },
2378
- decode(e, n) {
2379
- const r = e instanceof o ? e : new o(e);
2380
- let a = n === void 0 ? r.len : r.pos + n;
2381
- const t = Le();
2382
- for (; r.pos < a; ) {
2383
- const i = r.uint32();
2384
- switch (i >>> 3) {
2385
- case 1: {
2386
- if (i !== 8)
2387
- break;
2388
- t.eventType = r.int32();
924
+ t.apiVersion = r.string();
2389
925
  continue;
2390
926
  }
2391
927
  case 2: {
2392
928
  if (i !== 18)
2393
929
  break;
2394
- t.devices = x.decode(r, r.uint32());
930
+ t.serviceVersion = r.string();
931
+ continue;
932
+ }
933
+ case 3: {
934
+ if (i !== 26)
935
+ break;
936
+ t.canlibVersion = r.string();
2395
937
  continue;
2396
938
  }
2397
939
  }
@@ -2403,27 +945,28 @@ const $n = {
2403
945
  },
2404
946
  fromJSON(e) {
2405
947
  return {
2406
- eventType: d(e.eventType) ? Un(e.eventType) : 0,
2407
- devices: d(e.devices) ? x.fromJSON(e.devices) : void 0
948
+ apiVersion: c(e.apiVersion) ? globalThis.String(e.apiVersion) : "",
949
+ serviceVersion: c(e.serviceVersion) ? globalThis.String(e.serviceVersion) : "",
950
+ canlibVersion: c(e.canlibVersion) ? globalThis.String(e.canlibVersion) : ""
2408
951
  };
2409
952
  },
2410
953
  toJSON(e) {
2411
954
  const n = {};
2412
- return e.eventType !== 0 && (n.eventType = Hn(e.eventType)), e.devices !== void 0 && (n.devices = x.toJSON(e.devices)), n;
955
+ return e.apiVersion !== "" && (n.apiVersion = e.apiVersion), e.serviceVersion !== "" && (n.serviceVersion = e.serviceVersion), e.canlibVersion !== "" && (n.canlibVersion = e.canlibVersion), n;
2413
956
  },
2414
957
  create(e) {
2415
- return $n.fromPartial(e ?? {});
958
+ return an.fromPartial(e ?? {});
2416
959
  },
2417
960
  fromPartial(e) {
2418
- const n = Le();
2419
- return n.eventType = e.eventType ?? 0, n.devices = e.devices !== void 0 && e.devices !== null ? x.fromPartial(e.devices) : void 0, n;
961
+ const n = b();
962
+ return n.apiVersion = e.apiVersion ?? "", n.serviceVersion = e.serviceVersion ?? "", n.canlibVersion = e.canlibVersion ?? "", n;
2420
963
  }
2421
964
  };
2422
- function d(e) {
965
+ function c(e) {
2423
966
  return e != null;
2424
967
  }
2425
- var zn = /* @__PURE__ */ ((e) => (e[e.MEASUREMENT_EVENT_UNSPECIFIED = 0] = "MEASUREMENT_EVENT_UNSPECIFIED", e[e.MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED = 1] = "MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED", e[e.MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED = 2] = "MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED", e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED = 3] = "MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED", e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED = 4] = "MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(zn || {});
2426
- function jn(e) {
968
+ var sn = /* @__PURE__ */ ((e) => (e[e.MEASUREMENT_EVENT_UNSPECIFIED = 0] = "MEASUREMENT_EVENT_UNSPECIFIED", e[e.MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED = 1] = "MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED", e[e.MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED = 2] = "MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED", e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED = 3] = "MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED", e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED = 4] = "MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(sn || {});
969
+ function on(e) {
2427
970
  switch (e) {
2428
971
  case 0:
2429
972
  case "MEASUREMENT_EVENT_UNSPECIFIED":
@@ -2446,7 +989,7 @@ function jn(e) {
2446
989
  return -1;
2447
990
  }
2448
991
  }
2449
- function er(e) {
992
+ function fn(e) {
2450
993
  switch (e) {
2451
994
  case 0:
2452
995
  return "MEASUREMENT_EVENT_UNSPECIFIED";
@@ -2463,17 +1006,17 @@ function er(e) {
2463
1006
  return "UNRECOGNIZED";
2464
1007
  }
2465
1008
  }
2466
- function ge() {
1009
+ function j() {
2467
1010
  return { preferences: void 0, setup: void 0 };
2468
1011
  }
2469
- const nr = {
1012
+ const un = {
2470
1013
  encode(e, n = new u()) {
2471
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.setup !== void 0 && k.encode(e.setup, n.uint32(18).fork()).join(), n;
1014
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.setup !== void 0 && h.encode(e.setup, n.uint32(18).fork()).join(), n;
2472
1015
  },
2473
1016
  decode(e, n) {
2474
1017
  const r = e instanceof o ? e : new o(e);
2475
1018
  let a = n === void 0 ? r.len : r.pos + n;
2476
- const t = ge();
1019
+ const t = j();
2477
1020
  for (; r.pos < a; ) {
2478
1021
  const i = r.uint32();
2479
1022
  switch (i >>> 3) {
@@ -2486,7 +1029,7 @@ const nr = {
2486
1029
  case 2: {
2487
1030
  if (i !== 18)
2488
1031
  break;
2489
- t.setup = k.decode(r, r.uint32());
1032
+ t.setup = h.decode(r, r.uint32());
2490
1033
  continue;
2491
1034
  }
2492
1035
  }
@@ -2499,32 +1042,32 @@ const nr = {
2499
1042
  fromJSON(e) {
2500
1043
  return {
2501
1044
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2502
- setup: f(e.setup) ? k.fromJSON(e.setup) : void 0
1045
+ setup: f(e.setup) ? h.fromJSON(e.setup) : void 0
2503
1046
  };
2504
1047
  },
2505
1048
  toJSON(e) {
2506
1049
  const n = {};
2507
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.setup !== void 0 && (n.setup = k.toJSON(e.setup)), n;
1050
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.setup !== void 0 && (n.setup = h.toJSON(e.setup)), n;
2508
1051
  },
2509
1052
  create(e) {
2510
- return nr.fromPartial(e ?? {});
1053
+ return un.fromPartial(e ?? {});
2511
1054
  },
2512
1055
  fromPartial(e) {
2513
- const n = ge();
2514
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.setup = e.setup !== void 0 && e.setup !== null ? k.fromPartial(e.setup) : void 0, n;
1056
+ const n = j();
1057
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.setup = e.setup !== void 0 && e.setup !== null ? h.fromPartial(e.setup) : void 0, n;
2515
1058
  }
2516
1059
  };
2517
- function Je() {
1060
+ function ee() {
2518
1061
  return { preferences: void 0, configuration: void 0 };
2519
1062
  }
2520
- const rr = {
1063
+ const dn = {
2521
1064
  encode(e, n = new u()) {
2522
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.configuration !== void 0 && q.encode(e.configuration, n.uint32(18).fork()).join(), n;
1065
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.configuration !== void 0 && G.encode(e.configuration, n.uint32(18).fork()).join(), n;
2523
1066
  },
2524
1067
  decode(e, n) {
2525
1068
  const r = e instanceof o ? e : new o(e);
2526
1069
  let a = n === void 0 ? r.len : r.pos + n;
2527
- const t = Je();
1070
+ const t = ee();
2528
1071
  for (; r.pos < a; ) {
2529
1072
  const i = r.uint32();
2530
1073
  switch (i >>> 3) {
@@ -2537,7 +1080,7 @@ const rr = {
2537
1080
  case 2: {
2538
1081
  if (i !== 18)
2539
1082
  break;
2540
- t.configuration = q.decode(r, r.uint32());
1083
+ t.configuration = G.decode(r, r.uint32());
2541
1084
  continue;
2542
1085
  }
2543
1086
  }
@@ -2550,32 +1093,32 @@ const rr = {
2550
1093
  fromJSON(e) {
2551
1094
  return {
2552
1095
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2553
- configuration: f(e.configuration) ? q.fromJSON(e.configuration) : void 0
1096
+ configuration: f(e.configuration) ? G.fromJSON(e.configuration) : void 0
2554
1097
  };
2555
1098
  },
2556
1099
  toJSON(e) {
2557
1100
  const n = {};
2558
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.configuration !== void 0 && (n.configuration = q.toJSON(e.configuration)), n;
1101
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.configuration !== void 0 && (n.configuration = G.toJSON(e.configuration)), n;
2559
1102
  },
2560
1103
  create(e) {
2561
- return rr.fromPartial(e ?? {});
1104
+ return dn.fromPartial(e ?? {});
2562
1105
  },
2563
1106
  fromPartial(e) {
2564
- const n = Je();
2565
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.configuration = e.configuration !== void 0 && e.configuration !== null ? q.fromPartial(e.configuration) : void 0, n;
1107
+ const n = ee();
1108
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.configuration = e.configuration !== void 0 && e.configuration !== null ? G.fromPartial(e.configuration) : void 0, n;
2566
1109
  }
2567
1110
  };
2568
- function ve() {
1111
+ function ne() {
2569
1112
  return { preferences: void 0, configuration: void 0 };
2570
1113
  }
2571
- const ir = {
1114
+ const cn = {
2572
1115
  encode(e, n = new u()) {
2573
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.configuration !== void 0 && H.encode(e.configuration, n.uint32(18).fork()).join(), n;
1116
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.configuration !== void 0 && v.encode(e.configuration, n.uint32(18).fork()).join(), n;
2574
1117
  },
2575
1118
  decode(e, n) {
2576
1119
  const r = e instanceof o ? e : new o(e);
2577
1120
  let a = n === void 0 ? r.len : r.pos + n;
2578
- const t = ve();
1121
+ const t = ne();
2579
1122
  for (; r.pos < a; ) {
2580
1123
  const i = r.uint32();
2581
1124
  switch (i >>> 3) {
@@ -2588,7 +1131,7 @@ const ir = {
2588
1131
  case 2: {
2589
1132
  if (i !== 18)
2590
1133
  break;
2591
- t.configuration = H.decode(r, r.uint32());
1134
+ t.configuration = v.decode(r, r.uint32());
2592
1135
  continue;
2593
1136
  }
2594
1137
  }
@@ -2601,32 +1144,32 @@ const ir = {
2601
1144
  fromJSON(e) {
2602
1145
  return {
2603
1146
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2604
- configuration: f(e.configuration) ? H.fromJSON(e.configuration) : void 0
1147
+ configuration: f(e.configuration) ? v.fromJSON(e.configuration) : void 0
2605
1148
  };
2606
1149
  },
2607
1150
  toJSON(e) {
2608
1151
  const n = {};
2609
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.configuration !== void 0 && (n.configuration = H.toJSON(e.configuration)), n;
1152
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.configuration !== void 0 && (n.configuration = v.toJSON(e.configuration)), n;
2610
1153
  },
2611
1154
  create(e) {
2612
- return ir.fromPartial(e ?? {});
1155
+ return cn.fromPartial(e ?? {});
2613
1156
  },
2614
1157
  fromPartial(e) {
2615
- const n = ve();
2616
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.configuration = e.configuration !== void 0 && e.configuration !== null ? H.fromPartial(e.configuration) : void 0, n;
1158
+ const n = ne();
1159
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.configuration = e.configuration !== void 0 && e.configuration !== null ? v.fromPartial(e.configuration) : void 0, n;
2617
1160
  }
2618
1161
  };
2619
- function xe() {
1162
+ function re() {
2620
1163
  return { preferences: void 0, source: void 0, replaceAllProperties: !1 };
2621
1164
  }
2622
- const tr = {
1165
+ const ln = {
2623
1166
  encode(e, n = new u()) {
2624
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.source !== void 0 && R.encode(e.source, n.uint32(18).fork()).join(), e.replaceAllProperties !== !1 && n.uint32(24).bool(e.replaceAllProperties), n;
1167
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.source !== void 0 && P.encode(e.source, n.uint32(18).fork()).join(), e.replaceAllProperties !== !1 && n.uint32(24).bool(e.replaceAllProperties), n;
2625
1168
  },
2626
1169
  decode(e, n) {
2627
1170
  const r = e instanceof o ? e : new o(e);
2628
1171
  let a = n === void 0 ? r.len : r.pos + n;
2629
- const t = xe();
1172
+ const t = re();
2630
1173
  for (; r.pos < a; ) {
2631
1174
  const i = r.uint32();
2632
1175
  switch (i >>> 3) {
@@ -2639,7 +1182,7 @@ const tr = {
2639
1182
  case 2: {
2640
1183
  if (i !== 18)
2641
1184
  break;
2642
- t.source = R.decode(r, r.uint32());
1185
+ t.source = P.decode(r, r.uint32());
2643
1186
  continue;
2644
1187
  }
2645
1188
  case 3: {
@@ -2658,40 +1201,40 @@ const tr = {
2658
1201
  fromJSON(e) {
2659
1202
  return {
2660
1203
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2661
- source: f(e.source) ? R.fromJSON(e.source) : void 0,
1204
+ source: f(e.source) ? P.fromJSON(e.source) : void 0,
2662
1205
  replaceAllProperties: f(e.replaceAllProperties) ? globalThis.Boolean(e.replaceAllProperties) : !1
2663
1206
  };
2664
1207
  },
2665
1208
  toJSON(e) {
2666
1209
  const n = {};
2667
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.source !== void 0 && (n.source = R.toJSON(e.source)), e.replaceAllProperties !== !1 && (n.replaceAllProperties = e.replaceAllProperties), n;
1210
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.source !== void 0 && (n.source = P.toJSON(e.source)), e.replaceAllProperties !== !1 && (n.replaceAllProperties = e.replaceAllProperties), n;
2668
1211
  },
2669
1212
  create(e) {
2670
- return tr.fromPartial(e ?? {});
1213
+ return ln.fromPartial(e ?? {});
2671
1214
  },
2672
1215
  fromPartial(e) {
2673
- const n = xe();
2674
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.source = e.source !== void 0 && e.source !== null ? R.fromPartial(e.source) : void 0, n.replaceAllProperties = e.replaceAllProperties ?? !1, n;
1216
+ const n = re();
1217
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.source = e.source !== void 0 && e.source !== null ? P.fromPartial(e.source) : void 0, n.replaceAllProperties = e.replaceAllProperties ?? !1, n;
2675
1218
  }
2676
1219
  };
2677
- function De() {
1220
+ function ie() {
2678
1221
  return { source: void 0 };
2679
1222
  }
2680
- const ar = {
1223
+ const pn = {
2681
1224
  encode(e, n = new u()) {
2682
- return e.source !== void 0 && R.encode(e.source, n.uint32(10).fork()).join(), n;
1225
+ return e.source !== void 0 && P.encode(e.source, n.uint32(10).fork()).join(), n;
2683
1226
  },
2684
1227
  decode(e, n) {
2685
1228
  const r = e instanceof o ? e : new o(e);
2686
1229
  let a = n === void 0 ? r.len : r.pos + n;
2687
- const t = De();
1230
+ const t = ie();
2688
1231
  for (; r.pos < a; ) {
2689
1232
  const i = r.uint32();
2690
1233
  switch (i >>> 3) {
2691
1234
  case 1: {
2692
1235
  if (i !== 10)
2693
1236
  break;
2694
- t.source = R.decode(r, r.uint32());
1237
+ t.source = P.decode(r, r.uint32());
2695
1238
  continue;
2696
1239
  }
2697
1240
  }
@@ -2702,21 +1245,21 @@ const ar = {
2702
1245
  return t;
2703
1246
  },
2704
1247
  fromJSON(e) {
2705
- return { source: f(e.source) ? R.fromJSON(e.source) : void 0 };
1248
+ return { source: f(e.source) ? P.fromJSON(e.source) : void 0 };
2706
1249
  },
2707
1250
  toJSON(e) {
2708
1251
  const n = {};
2709
- return e.source !== void 0 && (n.source = R.toJSON(e.source)), n;
1252
+ return e.source !== void 0 && (n.source = P.toJSON(e.source)), n;
2710
1253
  },
2711
1254
  create(e) {
2712
- return ar.fromPartial(e ?? {});
1255
+ return pn.fromPartial(e ?? {});
2713
1256
  },
2714
1257
  fromPartial(e) {
2715
- const n = De();
2716
- return n.source = e.source !== void 0 && e.source !== null ? R.fromPartial(e.source) : void 0, n;
1258
+ const n = ie();
1259
+ return n.source = e.source !== void 0 && e.source !== null ? P.fromPartial(e.source) : void 0, n;
2717
1260
  }
2718
1261
  };
2719
- function Me() {
1262
+ function te() {
2720
1263
  return {
2721
1264
  preferences: void 0,
2722
1265
  dataProcessor: void 0,
@@ -2725,14 +1268,14 @@ function Me() {
2725
1268
  replaceAllProperties: !1
2726
1269
  };
2727
1270
  }
2728
- const sr = {
1271
+ const Sn = {
2729
1272
  encode(e, n = new u()) {
2730
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.dataProcessor !== void 0 && C.encode(e.dataProcessor, n.uint32(18).fork()).join(), e.previousNode !== "" && n.uint32(26).string(e.previousNode), e.nextNode !== "" && n.uint32(34).string(e.nextNode), e.replaceAllProperties !== !1 && n.uint32(40).bool(e.replaceAllProperties), n;
1273
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.dataProcessor !== void 0 && T.encode(e.dataProcessor, n.uint32(18).fork()).join(), e.previousNode !== "" && n.uint32(26).string(e.previousNode), e.nextNode !== "" && n.uint32(34).string(e.nextNode), e.replaceAllProperties !== !1 && n.uint32(40).bool(e.replaceAllProperties), n;
2731
1274
  },
2732
1275
  decode(e, n) {
2733
1276
  const r = e instanceof o ? e : new o(e);
2734
1277
  let a = n === void 0 ? r.len : r.pos + n;
2735
- const t = Me();
1278
+ const t = te();
2736
1279
  for (; r.pos < a; ) {
2737
1280
  const i = r.uint32();
2738
1281
  switch (i >>> 3) {
@@ -2745,7 +1288,7 @@ const sr = {
2745
1288
  case 2: {
2746
1289
  if (i !== 18)
2747
1290
  break;
2748
- t.dataProcessor = C.decode(r, r.uint32());
1291
+ t.dataProcessor = T.decode(r, r.uint32());
2749
1292
  continue;
2750
1293
  }
2751
1294
  case 3: {
@@ -2776,7 +1319,7 @@ const sr = {
2776
1319
  fromJSON(e) {
2777
1320
  return {
2778
1321
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2779
- dataProcessor: f(e.dataProcessor) ? C.fromJSON(e.dataProcessor) : void 0,
1322
+ dataProcessor: f(e.dataProcessor) ? T.fromJSON(e.dataProcessor) : void 0,
2780
1323
  previousNode: f(e.previousNode) ? globalThis.String(e.previousNode) : "",
2781
1324
  nextNode: f(e.nextNode) ? globalThis.String(e.nextNode) : "",
2782
1325
  replaceAllProperties: f(e.replaceAllProperties) ? globalThis.Boolean(e.replaceAllProperties) : !1
@@ -2784,34 +1327,34 @@ const sr = {
2784
1327
  },
2785
1328
  toJSON(e) {
2786
1329
  const n = {};
2787
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.dataProcessor !== void 0 && (n.dataProcessor = C.toJSON(e.dataProcessor)), e.previousNode !== "" && (n.previousNode = e.previousNode), e.nextNode !== "" && (n.nextNode = e.nextNode), e.replaceAllProperties !== !1 && (n.replaceAllProperties = e.replaceAllProperties), n;
1330
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.dataProcessor !== void 0 && (n.dataProcessor = T.toJSON(e.dataProcessor)), e.previousNode !== "" && (n.previousNode = e.previousNode), e.nextNode !== "" && (n.nextNode = e.nextNode), e.replaceAllProperties !== !1 && (n.replaceAllProperties = e.replaceAllProperties), n;
2788
1331
  },
2789
1332
  create(e) {
2790
- return sr.fromPartial(e ?? {});
1333
+ return Sn.fromPartial(e ?? {});
2791
1334
  },
2792
1335
  fromPartial(e) {
2793
- const n = Me();
2794
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.dataProcessor = e.dataProcessor !== void 0 && e.dataProcessor !== null ? C.fromPartial(e.dataProcessor) : void 0, n.previousNode = e.previousNode ?? "", n.nextNode = e.nextNode ?? "", n.replaceAllProperties = e.replaceAllProperties ?? !1, n;
1336
+ const n = te();
1337
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.dataProcessor = e.dataProcessor !== void 0 && e.dataProcessor !== null ? T.fromPartial(e.dataProcessor) : void 0, n.previousNode = e.previousNode ?? "", n.nextNode = e.nextNode ?? "", n.replaceAllProperties = e.replaceAllProperties ?? !1, n;
2795
1338
  }
2796
1339
  };
2797
- function be() {
1340
+ function ae() {
2798
1341
  return { dataProcessor: void 0 };
2799
1342
  }
2800
- const or = {
1343
+ const Nn = {
2801
1344
  encode(e, n = new u()) {
2802
- return e.dataProcessor !== void 0 && C.encode(e.dataProcessor, n.uint32(10).fork()).join(), n;
1345
+ return e.dataProcessor !== void 0 && T.encode(e.dataProcessor, n.uint32(10).fork()).join(), n;
2803
1346
  },
2804
1347
  decode(e, n) {
2805
1348
  const r = e instanceof o ? e : new o(e);
2806
1349
  let a = n === void 0 ? r.len : r.pos + n;
2807
- const t = be();
1350
+ const t = ae();
2808
1351
  for (; r.pos < a; ) {
2809
1352
  const i = r.uint32();
2810
1353
  switch (i >>> 3) {
2811
1354
  case 1: {
2812
1355
  if (i !== 10)
2813
1356
  break;
2814
- t.dataProcessor = C.decode(r, r.uint32());
1357
+ t.dataProcessor = T.decode(r, r.uint32());
2815
1358
  continue;
2816
1359
  }
2817
1360
  }
@@ -2823,32 +1366,32 @@ const or = {
2823
1366
  },
2824
1367
  fromJSON(e) {
2825
1368
  return {
2826
- dataProcessor: f(e.dataProcessor) ? C.fromJSON(e.dataProcessor) : void 0
1369
+ dataProcessor: f(e.dataProcessor) ? T.fromJSON(e.dataProcessor) : void 0
2827
1370
  };
2828
1371
  },
2829
1372
  toJSON(e) {
2830
1373
  const n = {};
2831
- return e.dataProcessor !== void 0 && (n.dataProcessor = C.toJSON(e.dataProcessor)), n;
1374
+ return e.dataProcessor !== void 0 && (n.dataProcessor = T.toJSON(e.dataProcessor)), n;
2832
1375
  },
2833
1376
  create(e) {
2834
- return or.fromPartial(e ?? {});
1377
+ return Nn.fromPartial(e ?? {});
2835
1378
  },
2836
1379
  fromPartial(e) {
2837
- const n = be();
2838
- return n.dataProcessor = e.dataProcessor !== void 0 && e.dataProcessor !== null ? C.fromPartial(e.dataProcessor) : void 0, n;
1380
+ const n = ae();
1381
+ return n.dataProcessor = e.dataProcessor !== void 0 && e.dataProcessor !== null ? T.fromPartial(e.dataProcessor) : void 0, n;
2839
1382
  }
2840
1383
  };
2841
- function ye() {
1384
+ function se() {
2842
1385
  return { preferences: void 0, target: void 0, replaceAllProperties: !1 };
2843
1386
  }
2844
- const ur = {
1387
+ const En = {
2845
1388
  encode(e, n = new u()) {
2846
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.target !== void 0 && T.encode(e.target, n.uint32(18).fork()).join(), e.replaceAllProperties !== !1 && n.uint32(24).bool(e.replaceAllProperties), n;
1389
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.target !== void 0 && O.encode(e.target, n.uint32(18).fork()).join(), e.replaceAllProperties !== !1 && n.uint32(24).bool(e.replaceAllProperties), n;
2847
1390
  },
2848
1391
  decode(e, n) {
2849
1392
  const r = e instanceof o ? e : new o(e);
2850
1393
  let a = n === void 0 ? r.len : r.pos + n;
2851
- const t = ye();
1394
+ const t = se();
2852
1395
  for (; r.pos < a; ) {
2853
1396
  const i = r.uint32();
2854
1397
  switch (i >>> 3) {
@@ -2861,7 +1404,7 @@ const ur = {
2861
1404
  case 2: {
2862
1405
  if (i !== 18)
2863
1406
  break;
2864
- t.target = T.decode(r, r.uint32());
1407
+ t.target = O.decode(r, r.uint32());
2865
1408
  continue;
2866
1409
  }
2867
1410
  case 3: {
@@ -2880,40 +1423,40 @@ const ur = {
2880
1423
  fromJSON(e) {
2881
1424
  return {
2882
1425
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2883
- target: f(e.target) ? T.fromJSON(e.target) : void 0,
1426
+ target: f(e.target) ? O.fromJSON(e.target) : void 0,
2884
1427
  replaceAllProperties: f(e.replaceAllProperties) ? globalThis.Boolean(e.replaceAllProperties) : !1
2885
1428
  };
2886
1429
  },
2887
1430
  toJSON(e) {
2888
1431
  const n = {};
2889
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.target !== void 0 && (n.target = T.toJSON(e.target)), e.replaceAllProperties !== !1 && (n.replaceAllProperties = e.replaceAllProperties), n;
1432
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.target !== void 0 && (n.target = O.toJSON(e.target)), e.replaceAllProperties !== !1 && (n.replaceAllProperties = e.replaceAllProperties), n;
2890
1433
  },
2891
1434
  create(e) {
2892
- return ur.fromPartial(e ?? {});
1435
+ return En.fromPartial(e ?? {});
2893
1436
  },
2894
1437
  fromPartial(e) {
2895
- const n = ye();
2896
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.target = e.target !== void 0 && e.target !== null ? T.fromPartial(e.target) : void 0, n.replaceAllProperties = e.replaceAllProperties ?? !1, n;
1438
+ const n = se();
1439
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.target = e.target !== void 0 && e.target !== null ? O.fromPartial(e.target) : void 0, n.replaceAllProperties = e.replaceAllProperties ?? !1, n;
2897
1440
  }
2898
1441
  };
2899
- function Ge() {
1442
+ function oe() {
2900
1443
  return { target: void 0 };
2901
1444
  }
2902
- const fr = {
1445
+ const mn = {
2903
1446
  encode(e, n = new u()) {
2904
- return e.target !== void 0 && T.encode(e.target, n.uint32(10).fork()).join(), n;
1447
+ return e.target !== void 0 && O.encode(e.target, n.uint32(10).fork()).join(), n;
2905
1448
  },
2906
1449
  decode(e, n) {
2907
1450
  const r = e instanceof o ? e : new o(e);
2908
1451
  let a = n === void 0 ? r.len : r.pos + n;
2909
- const t = Ge();
1452
+ const t = oe();
2910
1453
  for (; r.pos < a; ) {
2911
1454
  const i = r.uint32();
2912
1455
  switch (i >>> 3) {
2913
1456
  case 1: {
2914
1457
  if (i !== 10)
2915
1458
  break;
2916
- t.target = T.decode(r, r.uint32());
1459
+ t.target = O.decode(r, r.uint32());
2917
1460
  continue;
2918
1461
  }
2919
1462
  }
@@ -2924,31 +1467,31 @@ const fr = {
2924
1467
  return t;
2925
1468
  },
2926
1469
  fromJSON(e) {
2927
- return { target: f(e.target) ? T.fromJSON(e.target) : void 0 };
1470
+ return { target: f(e.target) ? O.fromJSON(e.target) : void 0 };
2928
1471
  },
2929
1472
  toJSON(e) {
2930
1473
  const n = {};
2931
- return e.target !== void 0 && (n.target = T.toJSON(e.target)), n;
1474
+ return e.target !== void 0 && (n.target = O.toJSON(e.target)), n;
2932
1475
  },
2933
1476
  create(e) {
2934
- return fr.fromPartial(e ?? {});
1477
+ return mn.fromPartial(e ?? {});
2935
1478
  },
2936
1479
  fromPartial(e) {
2937
- const n = Ge();
2938
- return n.target = e.target !== void 0 && e.target !== null ? T.fromPartial(e.target) : void 0, n;
1480
+ const n = oe();
1481
+ return n.target = e.target !== void 0 && e.target !== null ? O.fromPartial(e.target) : void 0, n;
2939
1482
  }
2940
1483
  };
2941
- function Ve() {
1484
+ function fe() {
2942
1485
  return { preferences: void 0, startNode: "", endNode: "" };
2943
1486
  }
2944
- const dr = {
1487
+ const On = {
2945
1488
  encode(e, n = new u()) {
2946
1489
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.startNode !== "" && n.uint32(18).string(e.startNode), e.endNode !== "" && n.uint32(26).string(e.endNode), n;
2947
1490
  },
2948
1491
  decode(e, n) {
2949
1492
  const r = e instanceof o ? e : new o(e);
2950
1493
  let a = n === void 0 ? r.len : r.pos + n;
2951
- const t = Ve();
1494
+ const t = fe();
2952
1495
  for (; r.pos < a; ) {
2953
1496
  const i = r.uint32();
2954
1497
  switch (i >>> 3) {
@@ -2989,24 +1532,24 @@ const dr = {
2989
1532
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.startNode !== "" && (n.startNode = e.startNode), e.endNode !== "" && (n.endNode = e.endNode), n;
2990
1533
  },
2991
1534
  create(e) {
2992
- return dr.fromPartial(e ?? {});
1535
+ return On.fromPartial(e ?? {});
2993
1536
  },
2994
1537
  fromPartial(e) {
2995
- const n = Ve();
1538
+ const n = fe();
2996
1539
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.startNode = e.startNode ?? "", n.endNode = e.endNode ?? "", n;
2997
1540
  }
2998
1541
  };
2999
- function Be() {
1542
+ function ue() {
3000
1543
  return { preferences: void 0, startNode: "", endNode: "" };
3001
1544
  }
3002
- const cr = {
1545
+ const Tn = {
3003
1546
  encode(e, n = new u()) {
3004
1547
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.startNode !== "" && n.uint32(18).string(e.startNode), e.endNode !== "" && n.uint32(26).string(e.endNode), n;
3005
1548
  },
3006
1549
  decode(e, n) {
3007
1550
  const r = e instanceof o ? e : new o(e);
3008
1551
  let a = n === void 0 ? r.len : r.pos + n;
3009
- const t = Be();
1552
+ const t = ue();
3010
1553
  for (; r.pos < a; ) {
3011
1554
  const i = r.uint32();
3012
1555
  switch (i >>> 3) {
@@ -3047,24 +1590,24 @@ const cr = {
3047
1590
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.startNode !== "" && (n.startNode = e.startNode), e.endNode !== "" && (n.endNode = e.endNode), n;
3048
1591
  },
3049
1592
  create(e) {
3050
- return cr.fromPartial(e ?? {});
1593
+ return Tn.fromPartial(e ?? {});
3051
1594
  },
3052
1595
  fromPartial(e) {
3053
- const n = Be();
1596
+ const n = ue();
3054
1597
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.startNode = e.startNode ?? "", n.endNode = e.endNode ?? "", n;
3055
1598
  }
3056
1599
  };
3057
- function Fe() {
1600
+ function de() {
3058
1601
  return { preferences: void 0, identifier: "" };
3059
1602
  }
3060
- const lr = {
1603
+ const Pn = {
3061
1604
  encode(e, n = new u()) {
3062
1605
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.identifier !== "" && n.uint32(18).string(e.identifier), n;
3063
1606
  },
3064
1607
  decode(e, n) {
3065
1608
  const r = e instanceof o ? e : new o(e);
3066
1609
  let a = n === void 0 ? r.len : r.pos + n;
3067
- const t = Fe();
1610
+ const t = de();
3068
1611
  for (; r.pos < a; ) {
3069
1612
  const i = r.uint32();
3070
1613
  switch (i >>> 3) {
@@ -3098,17 +1641,17 @@ const lr = {
3098
1641
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.identifier !== "" && (n.identifier = e.identifier), n;
3099
1642
  },
3100
1643
  create(e) {
3101
- return lr.fromPartial(e ?? {});
1644
+ return Pn.fromPartial(e ?? {});
3102
1645
  },
3103
1646
  fromPartial(e) {
3104
- const n = Fe();
1647
+ const n = de();
3105
1648
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.identifier = e.identifier ?? "", n;
3106
1649
  }
3107
1650
  };
3108
- function Ue() {
1651
+ function ce() {
3109
1652
  return { preferences: void 0, identifiers: [] };
3110
1653
  }
3111
- const pr = {
1654
+ const hn = {
3112
1655
  encode(e, n = new u()) {
3113
1656
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join();
3114
1657
  for (const r of e.identifiers)
@@ -3118,7 +1661,7 @@ const pr = {
3118
1661
  decode(e, n) {
3119
1662
  const r = e instanceof o ? e : new o(e);
3120
1663
  let a = n === void 0 ? r.len : r.pos + n;
3121
- const t = Ue();
1664
+ const t = ce();
3122
1665
  for (; r.pos < a; ) {
3123
1666
  const i = r.uint32();
3124
1667
  switch (i >>> 3) {
@@ -3153,25 +1696,25 @@ const pr = {
3153
1696
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), (r = e.identifiers) != null && r.length && (n.identifiers = e.identifiers), n;
3154
1697
  },
3155
1698
  create(e) {
3156
- return pr.fromPartial(e ?? {});
1699
+ return hn.fromPartial(e ?? {});
3157
1700
  },
3158
1701
  fromPartial(e) {
3159
1702
  var r;
3160
- const n = Ue();
1703
+ const n = ce();
3161
1704
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.identifiers = ((r = e.identifiers) == null ? void 0 : r.map((a) => a)) || [], n;
3162
1705
  }
3163
1706
  };
3164
- function He() {
1707
+ function le() {
3165
1708
  return { preferences: void 0, channelIdentifier: "", frame: void 0 };
3166
1709
  }
3167
- const Nr = {
1710
+ const gn = {
3168
1711
  encode(e, n = new u()) {
3169
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.frame !== void 0 && _.encode(e.frame, n.uint32(26).fork()).join(), n;
1712
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.frame !== void 0 && m.encode(e.frame, n.uint32(26).fork()).join(), n;
3170
1713
  },
3171
1714
  decode(e, n) {
3172
1715
  const r = e instanceof o ? e : new o(e);
3173
1716
  let a = n === void 0 ? r.len : r.pos + n;
3174
- const t = He();
1717
+ const t = le();
3175
1718
  for (; r.pos < a; ) {
3176
1719
  const i = r.uint32();
3177
1720
  switch (i >>> 3) {
@@ -3190,7 +1733,7 @@ const Nr = {
3190
1733
  case 3: {
3191
1734
  if (i !== 26)
3192
1735
  break;
3193
- t.frame = _.decode(r, r.uint32());
1736
+ t.frame = m.decode(r, r.uint32());
3194
1737
  continue;
3195
1738
  }
3196
1739
  }
@@ -3204,32 +1747,32 @@ const Nr = {
3204
1747
  return {
3205
1748
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3206
1749
  channelIdentifier: f(e.channelIdentifier) ? globalThis.String(e.channelIdentifier) : "",
3207
- frame: f(e.frame) ? _.fromJSON(e.frame) : void 0
1750
+ frame: f(e.frame) ? m.fromJSON(e.frame) : void 0
3208
1751
  };
3209
1752
  },
3210
1753
  toJSON(e) {
3211
1754
  const n = {};
3212
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = _.toJSON(e.frame)), n;
1755
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = m.toJSON(e.frame)), n;
3213
1756
  },
3214
1757
  create(e) {
3215
- return Nr.fromPartial(e ?? {});
1758
+ return gn.fromPartial(e ?? {});
3216
1759
  },
3217
1760
  fromPartial(e) {
3218
- const n = He();
3219
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ? _.fromPartial(e.frame) : void 0, n;
1761
+ const n = le();
1762
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ? m.fromPartial(e.frame) : void 0, n;
3220
1763
  }
3221
1764
  };
3222
- function qe() {
1765
+ function pe() {
3223
1766
  return { preferences: void 0, channelIdentifier: "", count: 0, interval: 0 };
3224
1767
  }
3225
- const Sr = {
1768
+ const kn = {
3226
1769
  encode(e, n = new u()) {
3227
1770
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.count !== 0 && n.uint32(24).int32(e.count), e.interval !== 0 && n.uint32(32).int32(e.interval), n;
3228
1771
  },
3229
1772
  decode(e, n) {
3230
1773
  const r = e instanceof o ? e : new o(e);
3231
1774
  let a = n === void 0 ? r.len : r.pos + n;
3232
- const t = qe();
1775
+ const t = pe();
3233
1776
  for (; r.pos < a; ) {
3234
1777
  const i = r.uint32();
3235
1778
  switch (i >>> 3) {
@@ -3277,24 +1820,24 @@ const Sr = {
3277
1820
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.count !== 0 && (n.count = Math.round(e.count)), e.interval !== 0 && (n.interval = Math.round(e.interval)), n;
3278
1821
  },
3279
1822
  create(e) {
3280
- return Sr.fromPartial(e ?? {});
1823
+ return kn.fromPartial(e ?? {});
3281
1824
  },
3282
1825
  fromPartial(e) {
3283
- const n = qe();
1826
+ const n = pe();
3284
1827
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.count = e.count ?? 0, n.interval = e.interval ?? 0, n;
3285
1828
  }
3286
1829
  };
3287
- function we() {
1830
+ function Se() {
3288
1831
  return { preferences: void 0, channelIdentifier: "", frameId: 0 };
3289
1832
  }
3290
- const mr = {
1833
+ const In = {
3291
1834
  encode(e, n = new u()) {
3292
1835
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.frameId !== 0 && n.uint32(24).int32(e.frameId), n;
3293
1836
  },
3294
1837
  decode(e, n) {
3295
1838
  const r = e instanceof o ? e : new o(e);
3296
1839
  let a = n === void 0 ? r.len : r.pos + n;
3297
- const t = we();
1840
+ const t = Se();
3298
1841
  for (; r.pos < a; ) {
3299
1842
  const i = r.uint32();
3300
1843
  switch (i >>> 3) {
@@ -3335,24 +1878,24 @@ const mr = {
3335
1878
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frameId !== 0 && (n.frameId = Math.round(e.frameId)), n;
3336
1879
  },
3337
1880
  create(e) {
3338
- return mr.fromPartial(e ?? {});
1881
+ return In.fromPartial(e ?? {});
3339
1882
  },
3340
1883
  fromPartial(e) {
3341
- const n = we();
1884
+ const n = Se();
3342
1885
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.frameId = e.frameId ?? 0, n;
3343
1886
  }
3344
1887
  };
3345
- function Ze() {
1888
+ function Ne() {
3346
1889
  return { preferences: void 0, channelIdentifier: "", frame: void 0 };
3347
1890
  }
3348
- const Er = {
1891
+ const Rn = {
3349
1892
  encode(e, n = new u()) {
3350
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.frame !== void 0 && _.encode(e.frame, n.uint32(26).fork()).join(), n;
1893
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.frame !== void 0 && m.encode(e.frame, n.uint32(26).fork()).join(), n;
3351
1894
  },
3352
1895
  decode(e, n) {
3353
1896
  const r = e instanceof o ? e : new o(e);
3354
1897
  let a = n === void 0 ? r.len : r.pos + n;
3355
- const t = Ze();
1898
+ const t = Ne();
3356
1899
  for (; r.pos < a; ) {
3357
1900
  const i = r.uint32();
3358
1901
  switch (i >>> 3) {
@@ -3371,7 +1914,7 @@ const Er = {
3371
1914
  case 3: {
3372
1915
  if (i !== 26)
3373
1916
  break;
3374
- t.frame = _.decode(r, r.uint32());
1917
+ t.frame = m.decode(r, r.uint32());
3375
1918
  continue;
3376
1919
  }
3377
1920
  }
@@ -3385,32 +1928,32 @@ const Er = {
3385
1928
  return {
3386
1929
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3387
1930
  channelIdentifier: f(e.channelIdentifier) ? globalThis.String(e.channelIdentifier) : "",
3388
- frame: f(e.frame) ? _.fromJSON(e.frame) : void 0
1931
+ frame: f(e.frame) ? m.fromJSON(e.frame) : void 0
3389
1932
  };
3390
1933
  },
3391
1934
  toJSON(e) {
3392
1935
  const n = {};
3393
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = _.toJSON(e.frame)), n;
1936
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = m.toJSON(e.frame)), n;
3394
1937
  },
3395
1938
  create(e) {
3396
- return Er.fromPartial(e ?? {});
1939
+ return Rn.fromPartial(e ?? {});
3397
1940
  },
3398
1941
  fromPartial(e) {
3399
- const n = Ze();
3400
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ? _.fromPartial(e.frame) : void 0, n;
1942
+ const n = Ne();
1943
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ? m.fromPartial(e.frame) : void 0, n;
3401
1944
  }
3402
1945
  };
3403
- function We() {
1946
+ function Ee() {
3404
1947
  return { preferences: void 0, channelIdentifier: "", frameId: 0 };
3405
1948
  }
3406
- const Pr = {
1949
+ const _n = {
3407
1950
  encode(e, n = new u()) {
3408
1951
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelIdentifier !== "" && n.uint32(18).string(e.channelIdentifier), e.frameId !== 0 && n.uint32(24).int32(e.frameId), n;
3409
1952
  },
3410
1953
  decode(e, n) {
3411
1954
  const r = e instanceof o ? e : new o(e);
3412
1955
  let a = n === void 0 ? r.len : r.pos + n;
3413
- const t = We();
1956
+ const t = Ee();
3414
1957
  for (; r.pos < a; ) {
3415
1958
  const i = r.uint32();
3416
1959
  switch (i >>> 3) {
@@ -3451,24 +1994,75 @@ const Pr = {
3451
1994
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frameId !== 0 && (n.frameId = Math.round(e.frameId)), n;
3452
1995
  },
3453
1996
  create(e) {
3454
- return Pr.fromPartial(e ?? {});
1997
+ return _n.fromPartial(e ?? {});
3455
1998
  },
3456
1999
  fromPartial(e) {
3457
- const n = We();
2000
+ const n = Ee();
3458
2001
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelIdentifier = e.channelIdentifier ?? "", n.frameId = e.frameId ?? 0, n;
3459
2002
  }
3460
2003
  };
3461
- function Ke() {
2004
+ function me() {
3462
2005
  return { preferences: void 0, settings: void 0 };
3463
2006
  }
3464
- const hr = {
2007
+ const An = {
2008
+ encode(e, n = new u()) {
2009
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.settings !== void 0 && E.encode(e.settings, n.uint32(18).fork()).join(), n;
2010
+ },
2011
+ decode(e, n) {
2012
+ const r = e instanceof o ? e : new o(e);
2013
+ let a = n === void 0 ? r.len : r.pos + n;
2014
+ const t = me();
2015
+ for (; r.pos < a; ) {
2016
+ const i = r.uint32();
2017
+ switch (i >>> 3) {
2018
+ case 1: {
2019
+ if (i !== 10)
2020
+ break;
2021
+ t.preferences = s.decode(r, r.uint32());
2022
+ continue;
2023
+ }
2024
+ case 2: {
2025
+ if (i !== 18)
2026
+ break;
2027
+ t.settings = E.decode(r, r.uint32());
2028
+ continue;
2029
+ }
2030
+ }
2031
+ if ((i & 7) === 4 || i === 0)
2032
+ break;
2033
+ r.skip(i & 7);
2034
+ }
2035
+ return t;
2036
+ },
2037
+ fromJSON(e) {
2038
+ return {
2039
+ preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2040
+ settings: f(e.settings) ? E.fromJSON(e.settings) : void 0
2041
+ };
2042
+ },
2043
+ toJSON(e) {
2044
+ const n = {};
2045
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.settings !== void 0 && (n.settings = E.toJSON(e.settings)), n;
2046
+ },
2047
+ create(e) {
2048
+ return An.fromPartial(e ?? {});
2049
+ },
2050
+ fromPartial(e) {
2051
+ const n = me();
2052
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.settings = e.settings !== void 0 && e.settings !== null ? E.fromPartial(e.settings) : void 0, n;
2053
+ }
2054
+ };
2055
+ function Oe() {
2056
+ return { preferences: void 0, settings: void 0, identifier: "" };
2057
+ }
2058
+ const Ln = {
3465
2059
  encode(e, n = new u()) {
3466
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.settings !== void 0 && U.encode(e.settings, n.uint32(18).fork()).join(), n;
2060
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.settings !== void 0 && E.encode(e.settings, n.uint32(18).fork()).join(), e.identifier !== "" && n.uint32(26).string(e.identifier), n;
3467
2061
  },
3468
2062
  decode(e, n) {
3469
2063
  const r = e instanceof o ? e : new o(e);
3470
2064
  let a = n === void 0 ? r.len : r.pos + n;
3471
- const t = Ke();
2065
+ const t = Oe();
3472
2066
  for (; r.pos < a; ) {
3473
2067
  const i = r.uint32();
3474
2068
  switch (i >>> 3) {
@@ -3481,7 +2075,13 @@ const hr = {
3481
2075
  case 2: {
3482
2076
  if (i !== 18)
3483
2077
  break;
3484
- t.settings = U.decode(r, r.uint32());
2078
+ t.settings = E.decode(r, r.uint32());
2079
+ continue;
2080
+ }
2081
+ case 3: {
2082
+ if (i !== 26)
2083
+ break;
2084
+ t.identifier = r.string();
3485
2085
  continue;
3486
2086
  }
3487
2087
  }
@@ -3494,32 +2094,33 @@ const hr = {
3494
2094
  fromJSON(e) {
3495
2095
  return {
3496
2096
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3497
- settings: f(e.settings) ? U.fromJSON(e.settings) : void 0
2097
+ settings: f(e.settings) ? E.fromJSON(e.settings) : void 0,
2098
+ identifier: f(e.identifier) ? globalThis.String(e.identifier) : ""
3498
2099
  };
3499
2100
  },
3500
2101
  toJSON(e) {
3501
2102
  const n = {};
3502
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.settings !== void 0 && (n.settings = U.toJSON(e.settings)), n;
2103
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.settings !== void 0 && (n.settings = E.toJSON(e.settings)), e.identifier !== "" && (n.identifier = e.identifier), n;
3503
2104
  },
3504
2105
  create(e) {
3505
- return hr.fromPartial(e ?? {});
2106
+ return Ln.fromPartial(e ?? {});
3506
2107
  },
3507
2108
  fromPartial(e) {
3508
- const n = Ke();
3509
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.settings = e.settings !== void 0 && e.settings !== null ? U.fromPartial(e.settings) : void 0, n;
2109
+ const n = Oe();
2110
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.settings = e.settings !== void 0 && e.settings !== null ? E.fromPartial(e.settings) : void 0, n.identifier = e.identifier ?? "", n;
3510
2111
  }
3511
2112
  };
3512
- function Qe() {
2113
+ function Te() {
3513
2114
  return { periodicTransmissionIdentifier: "" };
3514
2115
  }
3515
- const Or = {
2116
+ const Jn = {
3516
2117
  encode(e, n = new u()) {
3517
2118
  return e.periodicTransmissionIdentifier !== "" && n.uint32(10).string(e.periodicTransmissionIdentifier), n;
3518
2119
  },
3519
2120
  decode(e, n) {
3520
2121
  const r = e instanceof o ? e : new o(e);
3521
2122
  let a = n === void 0 ? r.len : r.pos + n;
3522
- const t = Qe();
2123
+ const t = Te();
3523
2124
  for (; r.pos < a; ) {
3524
2125
  const i = r.uint32();
3525
2126
  switch (i >>> 3) {
@@ -3546,24 +2147,24 @@ const Or = {
3546
2147
  return e.periodicTransmissionIdentifier !== "" && (n.periodicTransmissionIdentifier = e.periodicTransmissionIdentifier), n;
3547
2148
  },
3548
2149
  create(e) {
3549
- return Or.fromPartial(e ?? {});
2150
+ return Jn.fromPartial(e ?? {});
3550
2151
  },
3551
2152
  fromPartial(e) {
3552
- const n = Qe();
2153
+ const n = Te();
3553
2154
  return n.periodicTransmissionIdentifier = e.periodicTransmissionIdentifier ?? "", n;
3554
2155
  }
3555
2156
  };
3556
- function Ye() {
2157
+ function Pe() {
3557
2158
  return { isOnline: !1 };
3558
2159
  }
3559
- const D = {
2160
+ const I = {
3560
2161
  encode(e, n = new u()) {
3561
2162
  return e.isOnline !== !1 && n.uint32(8).bool(e.isOnline), n;
3562
2163
  },
3563
2164
  decode(e, n) {
3564
2165
  const r = e instanceof o ? e : new o(e);
3565
2166
  let a = n === void 0 ? r.len : r.pos + n;
3566
- const t = Ye();
2167
+ const t = Pe();
3567
2168
  for (; r.pos < a; ) {
3568
2169
  const i = r.uint32();
3569
2170
  switch (i >>> 3) {
@@ -3588,24 +2189,24 @@ const D = {
3588
2189
  return e.isOnline !== !1 && (n.isOnline = e.isOnline), n;
3589
2190
  },
3590
2191
  create(e) {
3591
- return D.fromPartial(e ?? {});
2192
+ return I.fromPartial(e ?? {});
3592
2193
  },
3593
2194
  fromPartial(e) {
3594
- const n = Ye();
2195
+ const n = Pe();
3595
2196
  return n.isOnline = e.isOnline ?? !1, n;
3596
2197
  }
3597
2198
  };
3598
- function Xe() {
2199
+ function he() {
3599
2200
  return { eventType: 0, identifier: void 0, measurementSetup: void 0, onlineStatus: void 0 };
3600
2201
  }
3601
- const Ar = {
2202
+ const Cn = {
3602
2203
  encode(e, n = new u()) {
3603
- return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.identifier !== void 0 && n.uint32(18).string(e.identifier), e.measurementSetup !== void 0 && k.encode(e.measurementSetup, n.uint32(26).fork()).join(), e.onlineStatus !== void 0 && D.encode(e.onlineStatus, n.uint32(34).fork()).join(), n;
2204
+ return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.identifier !== void 0 && n.uint32(18).string(e.identifier), e.measurementSetup !== void 0 && h.encode(e.measurementSetup, n.uint32(26).fork()).join(), e.onlineStatus !== void 0 && I.encode(e.onlineStatus, n.uint32(34).fork()).join(), n;
3604
2205
  },
3605
2206
  decode(e, n) {
3606
2207
  const r = e instanceof o ? e : new o(e);
3607
2208
  let a = n === void 0 ? r.len : r.pos + n;
3608
- const t = Xe();
2209
+ const t = he();
3609
2210
  for (; r.pos < a; ) {
3610
2211
  const i = r.uint32();
3611
2212
  switch (i >>> 3) {
@@ -3624,13 +2225,13 @@ const Ar = {
3624
2225
  case 3: {
3625
2226
  if (i !== 26)
3626
2227
  break;
3627
- t.measurementSetup = k.decode(r, r.uint32());
2228
+ t.measurementSetup = h.decode(r, r.uint32());
3628
2229
  continue;
3629
2230
  }
3630
2231
  case 4: {
3631
2232
  if (i !== 34)
3632
2233
  break;
3633
- t.onlineStatus = D.decode(r, r.uint32());
2234
+ t.onlineStatus = I.decode(r, r.uint32());
3634
2235
  continue;
3635
2236
  }
3636
2237
  }
@@ -3642,35 +2243,35 @@ const Ar = {
3642
2243
  },
3643
2244
  fromJSON(e) {
3644
2245
  return {
3645
- eventType: f(e.eventType) ? jn(e.eventType) : 0,
2246
+ eventType: f(e.eventType) ? on(e.eventType) : 0,
3646
2247
  identifier: f(e.identifier) ? globalThis.String(e.identifier) : void 0,
3647
- measurementSetup: f(e.measurementSetup) ? k.fromJSON(e.measurementSetup) : void 0,
3648
- onlineStatus: f(e.onlineStatus) ? D.fromJSON(e.onlineStatus) : void 0
2248
+ measurementSetup: f(e.measurementSetup) ? h.fromJSON(e.measurementSetup) : void 0,
2249
+ onlineStatus: f(e.onlineStatus) ? I.fromJSON(e.onlineStatus) : void 0
3649
2250
  };
3650
2251
  },
3651
2252
  toJSON(e) {
3652
2253
  const n = {};
3653
- return e.eventType !== 0 && (n.eventType = er(e.eventType)), e.identifier !== void 0 && (n.identifier = e.identifier), e.measurementSetup !== void 0 && (n.measurementSetup = k.toJSON(e.measurementSetup)), e.onlineStatus !== void 0 && (n.onlineStatus = D.toJSON(e.onlineStatus)), n;
2254
+ return e.eventType !== 0 && (n.eventType = fn(e.eventType)), e.identifier !== void 0 && (n.identifier = e.identifier), e.measurementSetup !== void 0 && (n.measurementSetup = h.toJSON(e.measurementSetup)), e.onlineStatus !== void 0 && (n.onlineStatus = I.toJSON(e.onlineStatus)), n;
3654
2255
  },
3655
2256
  create(e) {
3656
- return Ar.fromPartial(e ?? {});
2257
+ return Cn.fromPartial(e ?? {});
3657
2258
  },
3658
2259
  fromPartial(e) {
3659
- const n = Xe();
3660
- return n.eventType = e.eventType ?? 0, n.identifier = e.identifier ?? void 0, n.measurementSetup = e.measurementSetup !== void 0 && e.measurementSetup !== null ? k.fromPartial(e.measurementSetup) : void 0, n.onlineStatus = e.onlineStatus !== void 0 && e.onlineStatus !== null ? D.fromPartial(e.onlineStatus) : void 0, n;
2260
+ const n = he();
2261
+ return n.eventType = e.eventType ?? 0, n.identifier = e.identifier ?? void 0, n.measurementSetup = e.measurementSetup !== void 0 && e.measurementSetup !== null ? h.fromPartial(e.measurementSetup) : void 0, n.onlineStatus = e.onlineStatus !== void 0 && e.onlineStatus !== null ? I.fromPartial(e.onlineStatus) : void 0, n;
3661
2262
  }
3662
2263
  };
3663
- function $e() {
3664
- return { preferences: void 0, messageLog: !1, signalLog: !1 };
2264
+ function ge() {
2265
+ return { preferences: void 0, messageLog: !1, signalLog: !1, readSupport: !1 };
3665
2266
  }
3666
- const _r = {
2267
+ const xn = {
3667
2268
  encode(e, n = new u()) {
3668
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.messageLog !== !1 && n.uint32(16).bool(e.messageLog), e.signalLog !== !1 && n.uint32(24).bool(e.signalLog), n;
2269
+ return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.messageLog !== !1 && n.uint32(16).bool(e.messageLog), e.signalLog !== !1 && n.uint32(24).bool(e.signalLog), e.readSupport !== !1 && n.uint32(32).bool(e.readSupport), n;
3669
2270
  },
3670
2271
  decode(e, n) {
3671
2272
  const r = e instanceof o ? e : new o(e);
3672
2273
  let a = n === void 0 ? r.len : r.pos + n;
3673
- const t = $e();
2274
+ const t = ge();
3674
2275
  for (; r.pos < a; ) {
3675
2276
  const i = r.uint32();
3676
2277
  switch (i >>> 3) {
@@ -3692,6 +2293,12 @@ const _r = {
3692
2293
  t.signalLog = r.bool();
3693
2294
  continue;
3694
2295
  }
2296
+ case 4: {
2297
+ if (i !== 32)
2298
+ break;
2299
+ t.readSupport = r.bool();
2300
+ continue;
2301
+ }
3695
2302
  }
3696
2303
  if ((i & 7) === 4 || i === 0)
3697
2304
  break;
@@ -3703,25 +2310,26 @@ const _r = {
3703
2310
  return {
3704
2311
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3705
2312
  messageLog: f(e.messageLog) ? globalThis.Boolean(e.messageLog) : !1,
3706
- signalLog: f(e.signalLog) ? globalThis.Boolean(e.signalLog) : !1
2313
+ signalLog: f(e.signalLog) ? globalThis.Boolean(e.signalLog) : !1,
2314
+ readSupport: f(e.readSupport) ? globalThis.Boolean(e.readSupport) : !1
3707
2315
  };
3708
2316
  },
3709
2317
  toJSON(e) {
3710
2318
  const n = {};
3711
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.messageLog !== !1 && (n.messageLog = e.messageLog), e.signalLog !== !1 && (n.signalLog = e.signalLog), n;
2319
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.messageLog !== !1 && (n.messageLog = e.messageLog), e.signalLog !== !1 && (n.signalLog = e.signalLog), e.readSupport !== !1 && (n.readSupport = e.readSupport), n;
3712
2320
  },
3713
2321
  create(e) {
3714
- return _r.fromPartial(e ?? {});
2322
+ return xn.fromPartial(e ?? {});
3715
2323
  },
3716
2324
  fromPartial(e) {
3717
- const n = $e();
3718
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.messageLog = e.messageLog ?? !1, n.signalLog = e.signalLog ?? !1, n;
2325
+ const n = ge();
2326
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.messageLog = e.messageLog ?? !1, n.signalLog = e.signalLog ?? !1, n.readSupport = e.readSupport ?? !1, n;
3719
2327
  }
3720
2328
  };
3721
- function ze() {
2329
+ function ke() {
3722
2330
  return { formats: [], names: [], extensions: [], descriptions: [] };
3723
2331
  }
3724
- const Tr = {
2332
+ const vn = {
3725
2333
  encode(e, n = new u()) {
3726
2334
  n.uint32(10).fork();
3727
2335
  for (const r of e.formats)
@@ -3738,7 +2346,7 @@ const Tr = {
3738
2346
  decode(e, n) {
3739
2347
  const r = e instanceof o ? e : new o(e);
3740
2348
  let a = n === void 0 ? r.len : r.pos + n;
3741
- const t = ze();
2349
+ const t = ke();
3742
2350
  for (; r.pos < a; ) {
3743
2351
  const i = r.uint32();
3744
2352
  switch (i >>> 3) {
@@ -3782,7 +2390,7 @@ const Tr = {
3782
2390
  },
3783
2391
  fromJSON(e) {
3784
2392
  return {
3785
- formats: globalThis.Array.isArray(e == null ? void 0 : e.formats) ? e.formats.map((n) => hn(n)) : [],
2393
+ formats: globalThis.Array.isArray(e == null ? void 0 : e.formats) ? e.formats.map((n) => we(n)) : [],
3786
2394
  names: globalThis.Array.isArray(e == null ? void 0 : e.names) ? e.names.map((n) => globalThis.String(n)) : [],
3787
2395
  extensions: globalThis.Array.isArray(e == null ? void 0 : e.extensions) ? e.extensions.map((n) => globalThis.String(n)) : [],
3788
2396
  descriptions: globalThis.Array.isArray(e == null ? void 0 : e.descriptions) ? e.descriptions.map((n) => globalThis.String(n)) : []
@@ -3791,28 +2399,28 @@ const Tr = {
3791
2399
  toJSON(e) {
3792
2400
  var r, a, t, i;
3793
2401
  const n = {};
3794
- return (r = e.formats) != null && r.length && (n.formats = e.formats.map((p) => Pn(p))), (a = e.names) != null && a.length && (n.names = e.names), (t = e.extensions) != null && t.length && (n.extensions = e.extensions), (i = e.descriptions) != null && i.length && (n.descriptions = e.descriptions), n;
2402
+ return (r = e.formats) != null && r.length && (n.formats = e.formats.map((p) => Be(p))), (a = e.names) != null && a.length && (n.names = e.names), (t = e.extensions) != null && t.length && (n.extensions = e.extensions), (i = e.descriptions) != null && i.length && (n.descriptions = e.descriptions), n;
3795
2403
  },
3796
2404
  create(e) {
3797
- return Tr.fromPartial(e ?? {});
2405
+ return vn.fromPartial(e ?? {});
3798
2406
  },
3799
2407
  fromPartial(e) {
3800
2408
  var r, a, t, i;
3801
- const n = ze();
2409
+ const n = ke();
3802
2410
  return n.formats = ((r = e.formats) == null ? void 0 : r.map((p) => p)) || [], n.names = ((a = e.names) == null ? void 0 : a.map((p) => p)) || [], n.extensions = ((t = e.extensions) == null ? void 0 : t.map((p) => p)) || [], n.descriptions = ((i = e.descriptions) == null ? void 0 : i.map((p) => p)) || [], n;
3803
2411
  }
3804
2412
  };
3805
- function je() {
2413
+ function Ie() {
3806
2414
  return { preferences: void 0, logFile: "" };
3807
2415
  }
3808
- const Cr = {
2416
+ const Gn = {
3809
2417
  encode(e, n = new u()) {
3810
2418
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.logFile !== "" && n.uint32(18).string(e.logFile), n;
3811
2419
  },
3812
2420
  decode(e, n) {
3813
2421
  const r = e instanceof o ? e : new o(e);
3814
2422
  let a = n === void 0 ? r.len : r.pos + n;
3815
- const t = je();
2423
+ const t = Ie();
3816
2424
  for (; r.pos < a; ) {
3817
2425
  const i = r.uint32();
3818
2426
  switch (i >>> 3) {
@@ -3846,17 +2454,17 @@ const Cr = {
3846
2454
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.logFile !== "" && (n.logFile = e.logFile), n;
3847
2455
  },
3848
2456
  create(e) {
3849
- return Cr.fromPartial(e ?? {});
2457
+ return Gn.fromPartial(e ?? {});
3850
2458
  },
3851
2459
  fromPartial(e) {
3852
- const n = je();
2460
+ const n = Ie();
3853
2461
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.logFile = e.logFile ?? "", n;
3854
2462
  }
3855
2463
  };
3856
- function en() {
2464
+ function Re() {
3857
2465
  return { channels: [] };
3858
2466
  }
3859
- const Rr = {
2467
+ const Vn = {
3860
2468
  encode(e, n = new u()) {
3861
2469
  n.uint32(10).fork();
3862
2470
  for (const r of e.channels)
@@ -3866,7 +2474,7 @@ const Rr = {
3866
2474
  decode(e, n) {
3867
2475
  const r = e instanceof o ? e : new o(e);
3868
2476
  let a = n === void 0 ? r.len : r.pos + n;
3869
- const t = en();
2477
+ const t = Re();
3870
2478
  for (; r.pos < a; ) {
3871
2479
  const i = r.uint32();
3872
2480
  switch (i >>> 3) {
@@ -3901,18 +2509,18 @@ const Rr = {
3901
2509
  return (r = e.channels) != null && r.length && (n.channels = e.channels.map((a) => Math.round(a))), n;
3902
2510
  },
3903
2511
  create(e) {
3904
- return Rr.fromPartial(e ?? {});
2512
+ return Vn.fromPartial(e ?? {});
3905
2513
  },
3906
2514
  fromPartial(e) {
3907
2515
  var r;
3908
- const n = en();
2516
+ const n = Re();
3909
2517
  return n.channels = ((r = e.channels) == null ? void 0 : r.map((a) => a)) || [], n;
3910
2518
  }
3911
2519
  };
3912
- function nn() {
2520
+ function _e() {
3913
2521
  return { preferences: void 0, files: [] };
3914
2522
  }
3915
- const kr = {
2523
+ const Mn = {
3916
2524
  encode(e, n = new u()) {
3917
2525
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join();
3918
2526
  for (const r of e.files)
@@ -3922,7 +2530,7 @@ const kr = {
3922
2530
  decode(e, n) {
3923
2531
  const r = e instanceof o ? e : new o(e);
3924
2532
  let a = n === void 0 ? r.len : r.pos + n;
3925
- const t = nn();
2533
+ const t = _e();
3926
2534
  for (; r.pos < a; ) {
3927
2535
  const i = r.uint32();
3928
2536
  switch (i >>> 3) {
@@ -3957,18 +2565,18 @@ const kr = {
3957
2565
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), (r = e.files) != null && r.length && (n.files = e.files), n;
3958
2566
  },
3959
2567
  create(e) {
3960
- return kr.fromPartial(e ?? {});
2568
+ return Mn.fromPartial(e ?? {});
3961
2569
  },
3962
2570
  fromPartial(e) {
3963
2571
  var r;
3964
- const n = nn();
2572
+ const n = _e();
3965
2573
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.files = ((r = e.files) == null ? void 0 : r.map((a) => a)) || [], n;
3966
2574
  }
3967
2575
  };
3968
- function rn() {
2576
+ function Ae() {
3969
2577
  return { preferences: void 0, files: [] };
3970
2578
  }
3971
- const Ir = {
2579
+ const Dn = {
3972
2580
  encode(e, n = new u()) {
3973
2581
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join();
3974
2582
  for (const r of e.files)
@@ -3978,7 +2586,7 @@ const Ir = {
3978
2586
  decode(e, n) {
3979
2587
  const r = e instanceof o ? e : new o(e);
3980
2588
  let a = n === void 0 ? r.len : r.pos + n;
3981
- const t = rn();
2589
+ const t = Ae();
3982
2590
  for (; r.pos < a; ) {
3983
2591
  const i = r.uint32();
3984
2592
  switch (i >>> 3) {
@@ -4013,34 +2621,34 @@ const Ir = {
4013
2621
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), (r = e.files) != null && r.length && (n.files = e.files), n;
4014
2622
  },
4015
2623
  create(e) {
4016
- return Ir.fromPartial(e ?? {});
2624
+ return Dn.fromPartial(e ?? {});
4017
2625
  },
4018
2626
  fromPartial(e) {
4019
2627
  var r;
4020
- const n = rn();
2628
+ const n = Ae();
4021
2629
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.files = ((r = e.files) == null ? void 0 : r.map((a) => a)) || [], n;
4022
2630
  }
4023
2631
  };
4024
- function tn() {
2632
+ function Le() {
4025
2633
  return { tables: [] };
4026
2634
  }
4027
- const Lr = {
2635
+ const yn = {
4028
2636
  encode(e, n = new u()) {
4029
2637
  for (const r of e.tables)
4030
- F.encode(r, n.uint32(10).fork()).join();
2638
+ x.encode(r, n.uint32(10).fork()).join();
4031
2639
  return n;
4032
2640
  },
4033
2641
  decode(e, n) {
4034
2642
  const r = e instanceof o ? e : new o(e);
4035
2643
  let a = n === void 0 ? r.len : r.pos + n;
4036
- const t = tn();
2644
+ const t = Le();
4037
2645
  for (; r.pos < a; ) {
4038
2646
  const i = r.uint32();
4039
2647
  switch (i >>> 3) {
4040
2648
  case 1: {
4041
2649
  if (i !== 10)
4042
2650
  break;
4043
- t.tables.push(F.decode(r, r.uint32()));
2651
+ t.tables.push(x.decode(r, r.uint32()));
4044
2652
  continue;
4045
2653
  }
4046
2654
  }
@@ -4052,27 +2660,27 @@ const Lr = {
4052
2660
  },
4053
2661
  fromJSON(e) {
4054
2662
  return {
4055
- tables: globalThis.Array.isArray(e == null ? void 0 : e.tables) ? e.tables.map((n) => F.fromJSON(n)) : []
2663
+ tables: globalThis.Array.isArray(e == null ? void 0 : e.tables) ? e.tables.map((n) => x.fromJSON(n)) : []
4056
2664
  };
4057
2665
  },
4058
2666
  toJSON(e) {
4059
2667
  var r;
4060
2668
  const n = {};
4061
- return (r = e.tables) != null && r.length && (n.tables = e.tables.map((a) => F.toJSON(a))), n;
2669
+ return (r = e.tables) != null && r.length && (n.tables = e.tables.map((a) => x.toJSON(a))), n;
4062
2670
  },
4063
2671
  create(e) {
4064
- return Lr.fromPartial(e ?? {});
2672
+ return yn.fromPartial(e ?? {});
4065
2673
  },
4066
2674
  fromPartial(e) {
4067
2675
  var r;
4068
- const n = tn();
4069
- return n.tables = ((r = e.tables) == null ? void 0 : r.map((a) => F.fromPartial(a))) || [], n;
2676
+ const n = Le();
2677
+ return n.tables = ((r = e.tables) == null ? void 0 : r.map((a) => x.fromPartial(a))) || [], n;
4070
2678
  }
4071
2679
  };
4072
- function an() {
2680
+ function Je() {
4073
2681
  return { preferences: void 0, messageQualifiedName: "", data: [] };
4074
2682
  }
4075
- const gr = {
2683
+ const Fn = {
4076
2684
  encode(e, n = new u()) {
4077
2685
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.messageQualifiedName !== "" && n.uint32(18).string(e.messageQualifiedName), n.uint32(26).fork();
4078
2686
  for (const r of e.data)
@@ -4082,7 +2690,7 @@ const gr = {
4082
2690
  decode(e, n) {
4083
2691
  const r = e instanceof o ? e : new o(e);
4084
2692
  let a = n === void 0 ? r.len : r.pos + n;
4085
- const t = an();
2693
+ const t = Je();
4086
2694
  for (; r.pos < a; ) {
4087
2695
  const i = r.uint32();
4088
2696
  switch (i >>> 3) {
@@ -4131,34 +2739,34 @@ const gr = {
4131
2739
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), (r = e.data) != null && r.length && (n.data = e.data.map((a) => Math.round(a))), n;
4132
2740
  },
4133
2741
  create(e) {
4134
- return gr.fromPartial(e ?? {});
2742
+ return Fn.fromPartial(e ?? {});
4135
2743
  },
4136
2744
  fromPartial(e) {
4137
2745
  var r;
4138
- const n = an();
2746
+ const n = Je();
4139
2747
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.messageQualifiedName = e.messageQualifiedName ?? "", n.data = ((r = e.data) == null ? void 0 : r.map((a) => a)) || [], n;
4140
2748
  }
4141
2749
  };
4142
- function sn() {
2750
+ function Ce() {
4143
2751
  return { signalValues: [] };
4144
2752
  }
4145
- const Jr = {
2753
+ const Un = {
4146
2754
  encode(e, n = new u()) {
4147
2755
  for (const r of e.signalValues)
4148
- m.encode(r, n.uint32(10).fork()).join();
2756
+ S.encode(r, n.uint32(10).fork()).join();
4149
2757
  return n;
4150
2758
  },
4151
2759
  decode(e, n) {
4152
2760
  const r = e instanceof o ? e : new o(e);
4153
2761
  let a = n === void 0 ? r.len : r.pos + n;
4154
- const t = sn();
2762
+ const t = Ce();
4155
2763
  for (; r.pos < a; ) {
4156
2764
  const i = r.uint32();
4157
2765
  switch (i >>> 3) {
4158
2766
  case 1: {
4159
2767
  if (i !== 10)
4160
2768
  break;
4161
- t.signalValues.push(m.decode(r, r.uint32()));
2769
+ t.signalValues.push(S.decode(r, r.uint32()));
4162
2770
  continue;
4163
2771
  }
4164
2772
  }
@@ -4170,40 +2778,40 @@ const Jr = {
4170
2778
  },
4171
2779
  fromJSON(e) {
4172
2780
  return {
4173
- signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => m.fromJSON(n)) : []
2781
+ signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => S.fromJSON(n)) : []
4174
2782
  };
4175
2783
  },
4176
2784
  toJSON(e) {
4177
2785
  var r;
4178
2786
  const n = {};
4179
- return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((a) => m.toJSON(a))), n;
2787
+ return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((a) => S.toJSON(a))), n;
4180
2788
  },
4181
2789
  create(e) {
4182
- return Jr.fromPartial(e ?? {});
2790
+ return Un.fromPartial(e ?? {});
4183
2791
  },
4184
2792
  fromPartial(e) {
4185
2793
  var r;
4186
- const n = sn();
4187
- return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((a) => m.fromPartial(a))) || [], n;
2794
+ const n = Ce();
2795
+ return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((a) => S.fromPartial(a))) || [], n;
4188
2796
  }
4189
2797
  };
4190
- function on() {
2798
+ function xe() {
4191
2799
  return { preferences: void 0, messageQualifiedName: "", data: [], signalValues: [] };
4192
2800
  }
4193
- const vr = {
2801
+ const Bn = {
4194
2802
  encode(e, n = new u()) {
4195
2803
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.messageQualifiedName !== "" && n.uint32(18).string(e.messageQualifiedName), n.uint32(26).fork();
4196
2804
  for (const r of e.data)
4197
2805
  n.uint32(r);
4198
2806
  n.join();
4199
2807
  for (const r of e.signalValues)
4200
- m.encode(r, n.uint32(34).fork()).join();
2808
+ S.encode(r, n.uint32(34).fork()).join();
4201
2809
  return n;
4202
2810
  },
4203
2811
  decode(e, n) {
4204
2812
  const r = e instanceof o ? e : new o(e);
4205
2813
  let a = n === void 0 ? r.len : r.pos + n;
4206
- const t = on();
2814
+ const t = xe();
4207
2815
  for (; r.pos < a; ) {
4208
2816
  const i = r.uint32();
4209
2817
  switch (i >>> 3) {
@@ -4235,7 +2843,7 @@ const vr = {
4235
2843
  case 4: {
4236
2844
  if (i !== 34)
4237
2845
  break;
4238
- t.signalValues.push(m.decode(r, r.uint32()));
2846
+ t.signalValues.push(S.decode(r, r.uint32()));
4239
2847
  continue;
4240
2848
  }
4241
2849
  }
@@ -4250,30 +2858,30 @@ const vr = {
4250
2858
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
4251
2859
  messageQualifiedName: f(e.messageQualifiedName) ? globalThis.String(e.messageQualifiedName) : "",
4252
2860
  data: globalThis.Array.isArray(e == null ? void 0 : e.data) ? e.data.map((n) => globalThis.Number(n)) : [],
4253
- signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => m.fromJSON(n)) : []
2861
+ signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => S.fromJSON(n)) : []
4254
2862
  };
4255
2863
  },
4256
2864
  toJSON(e) {
4257
2865
  var r, a;
4258
2866
  const n = {};
4259
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), (r = e.data) != null && r.length && (n.data = e.data.map((t) => Math.round(t))), (a = e.signalValues) != null && a.length && (n.signalValues = e.signalValues.map((t) => m.toJSON(t))), n;
2867
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), (r = e.data) != null && r.length && (n.data = e.data.map((t) => Math.round(t))), (a = e.signalValues) != null && a.length && (n.signalValues = e.signalValues.map((t) => S.toJSON(t))), n;
4260
2868
  },
4261
2869
  create(e) {
4262
- return vr.fromPartial(e ?? {});
2870
+ return Bn.fromPartial(e ?? {});
4263
2871
  },
4264
2872
  fromPartial(e) {
4265
2873
  var r, a;
4266
- const n = on();
4267
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.messageQualifiedName = e.messageQualifiedName ?? "", n.data = ((r = e.data) == null ? void 0 : r.map((t) => t)) || [], n.signalValues = ((a = e.signalValues) == null ? void 0 : a.map((t) => m.fromPartial(t))) || [], n;
2874
+ const n = xe();
2875
+ return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.messageQualifiedName = e.messageQualifiedName ?? "", n.data = ((r = e.data) == null ? void 0 : r.map((t) => t)) || [], n.signalValues = ((a = e.signalValues) == null ? void 0 : a.map((t) => S.fromPartial(t))) || [], n;
4268
2876
  }
4269
2877
  };
4270
- function un() {
2878
+ function ve() {
4271
2879
  return { signalValues: [], data: [] };
4272
2880
  }
4273
- const xr = {
2881
+ const wn = {
4274
2882
  encode(e, n = new u()) {
4275
2883
  for (const r of e.signalValues)
4276
- m.encode(r, n.uint32(10).fork()).join();
2884
+ S.encode(r, n.uint32(10).fork()).join();
4277
2885
  n.uint32(18).fork();
4278
2886
  for (const r of e.data)
4279
2887
  n.uint32(r);
@@ -4282,14 +2890,14 @@ const xr = {
4282
2890
  decode(e, n) {
4283
2891
  const r = e instanceof o ? e : new o(e);
4284
2892
  let a = n === void 0 ? r.len : r.pos + n;
4285
- const t = un();
2893
+ const t = ve();
4286
2894
  for (; r.pos < a; ) {
4287
2895
  const i = r.uint32();
4288
2896
  switch (i >>> 3) {
4289
2897
  case 1: {
4290
2898
  if (i !== 10)
4291
2899
  break;
4292
- t.signalValues.push(m.decode(r, r.uint32()));
2900
+ t.signalValues.push(S.decode(r, r.uint32()));
4293
2901
  continue;
4294
2902
  }
4295
2903
  case 2: {
@@ -4314,29 +2922,29 @@ const xr = {
4314
2922
  },
4315
2923
  fromJSON(e) {
4316
2924
  return {
4317
- signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => m.fromJSON(n)) : [],
2925
+ signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => S.fromJSON(n)) : [],
4318
2926
  data: globalThis.Array.isArray(e == null ? void 0 : e.data) ? e.data.map((n) => globalThis.Number(n)) : []
4319
2927
  };
4320
2928
  },
4321
2929
  toJSON(e) {
4322
2930
  var r, a;
4323
2931
  const n = {};
4324
- return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((t) => m.toJSON(t))), (a = e.data) != null && a.length && (n.data = e.data.map((t) => Math.round(t))), n;
2932
+ return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((t) => S.toJSON(t))), (a = e.data) != null && a.length && (n.data = e.data.map((t) => Math.round(t))), n;
4325
2933
  },
4326
2934
  create(e) {
4327
- return xr.fromPartial(e ?? {});
2935
+ return wn.fromPartial(e ?? {});
4328
2936
  },
4329
2937
  fromPartial(e) {
4330
2938
  var r, a;
4331
- const n = un();
4332
- return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((t) => m.fromPartial(t))) || [], n.data = ((a = e.data) == null ? void 0 : a.map((t) => t)) || [], n;
2939
+ const n = ve();
2940
+ return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((t) => S.fromPartial(t))) || [], n.data = ((a = e.data) == null ? void 0 : a.map((t) => t)) || [], n;
4333
2941
  }
4334
2942
  };
4335
2943
  function f(e) {
4336
2944
  return e != null;
4337
2945
  }
4338
- var Dr = /* @__PURE__ */ ((e) => (e[e.STATUS_LEVEL_NONE = 0] = "STATUS_LEVEL_NONE", e[e.STATUS_LEVEL_OK = 1] = "STATUS_LEVEL_OK", e[e.STATUS_LEVEL_WARNING = 2] = "STATUS_LEVEL_WARNING", e[e.STATUS_LEVEL_ERROR = 3] = "STATUS_LEVEL_ERROR", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Dr || {});
4339
- function Z(e) {
2946
+ var qn = /* @__PURE__ */ ((e) => (e[e.STATUS_LEVEL_NONE = 0] = "STATUS_LEVEL_NONE", e[e.STATUS_LEVEL_OK = 1] = "STATUS_LEVEL_OK", e[e.STATUS_LEVEL_WARNING = 2] = "STATUS_LEVEL_WARNING", e[e.STATUS_LEVEL_ERROR = 3] = "STATUS_LEVEL_ERROR", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(qn || {});
2947
+ function V(e) {
4340
2948
  switch (e) {
4341
2949
  case 0:
4342
2950
  case "STATUS_LEVEL_NONE":
@@ -4356,7 +2964,7 @@ function Z(e) {
4356
2964
  return -1;
4357
2965
  }
4358
2966
  }
4359
- function W(e) {
2967
+ function M(e) {
4360
2968
  switch (e) {
4361
2969
  case 0:
4362
2970
  return "STATUS_LEVEL_NONE";
@@ -4371,8 +2979,8 @@ function W(e) {
4371
2979
  return "UNRECOGNIZED";
4372
2980
  }
4373
2981
  }
4374
- var Mr = /* @__PURE__ */ ((e) => (e[e.LOG_REPLAY_STATE_UNSPECIFIED = 0] = "LOG_REPLAY_STATE_UNSPECIFIED", e[e.LOG_REPLAY_STATE_STARTED = 1] = "LOG_REPLAY_STATE_STARTED", e[e.LOG_REPLAY_STATE_STOPPED = 2] = "LOG_REPLAY_STATE_STOPPED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Mr || {});
4375
- function br(e) {
2982
+ var Zn = /* @__PURE__ */ ((e) => (e[e.LOG_REPLAY_STATE_UNSPECIFIED = 0] = "LOG_REPLAY_STATE_UNSPECIFIED", e[e.LOG_REPLAY_STATE_STARTED = 1] = "LOG_REPLAY_STATE_STARTED", e[e.LOG_REPLAY_STATE_STOPPED = 2] = "LOG_REPLAY_STATE_STOPPED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Zn || {});
2983
+ function Kn(e) {
4376
2984
  switch (e) {
4377
2985
  case 0:
4378
2986
  case "LOG_REPLAY_STATE_UNSPECIFIED":
@@ -4389,7 +2997,7 @@ function br(e) {
4389
2997
  return -1;
4390
2998
  }
4391
2999
  }
4392
- function yr(e) {
3000
+ function Qn(e) {
4393
3001
  switch (e) {
4394
3002
  case 0:
4395
3003
  return "LOG_REPLAY_STATE_UNSPECIFIED";
@@ -4402,8 +3010,8 @@ function yr(e) {
4402
3010
  return "UNRECOGNIZED";
4403
3011
  }
4404
3012
  }
4405
- var Gr = /* @__PURE__ */ ((e) => (e[e.MESSAGE_LOGGER_STATE_UNSPECIFIED = 0] = "MESSAGE_LOGGER_STATE_UNSPECIFIED", e[e.MESSAGE_LOGGER_STATE_PRESTART = 1] = "MESSAGE_LOGGER_STATE_PRESTART", e[e.MESSAGE_LOGGER_STATE_STARTED = 2] = "MESSAGE_LOGGER_STATE_STARTED", e[e.MESSAGE_LOGGER_STATE_STOPPED = 3] = "MESSAGE_LOGGER_STATE_STOPPED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Gr || {});
4406
- function Vr(e) {
3013
+ var Hn = /* @__PURE__ */ ((e) => (e[e.MESSAGE_LOGGER_STATE_UNSPECIFIED = 0] = "MESSAGE_LOGGER_STATE_UNSPECIFIED", e[e.MESSAGE_LOGGER_STATE_PRESTART = 1] = "MESSAGE_LOGGER_STATE_PRESTART", e[e.MESSAGE_LOGGER_STATE_STARTED = 2] = "MESSAGE_LOGGER_STATE_STARTED", e[e.MESSAGE_LOGGER_STATE_STOPPED = 3] = "MESSAGE_LOGGER_STATE_STOPPED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Hn || {});
3014
+ function Wn(e) {
4407
3015
  switch (e) {
4408
3016
  case 0:
4409
3017
  case "MESSAGE_LOGGER_STATE_UNSPECIFIED":
@@ -4423,7 +3031,7 @@ function Vr(e) {
4423
3031
  return -1;
4424
3032
  }
4425
3033
  }
4426
- function Br(e) {
3034
+ function Yn(e) {
4427
3035
  switch (e) {
4428
3036
  case 0:
4429
3037
  return "MESSAGE_LOGGER_STATE_UNSPECIFIED";
@@ -4438,7 +3046,7 @@ function Br(e) {
4438
3046
  return "UNRECOGNIZED";
4439
3047
  }
4440
3048
  }
4441
- function fn() {
3049
+ function Ge() {
4442
3050
  return {
4443
3051
  rxMessageCounter: 0,
4444
3052
  rxMessagesPerSecond: 0,
@@ -4457,14 +3065,14 @@ function fn() {
4457
3065
  busLoad: 0
4458
3066
  };
4459
3067
  }
4460
- const M = {
3068
+ const R = {
4461
3069
  encode(e, n = new u()) {
4462
3070
  return e.rxMessageCounter !== 0 && n.uint32(8).int32(e.rxMessageCounter), e.rxMessagesPerSecond !== 0 && n.uint32(16).int32(e.rxMessagesPerSecond), e.txMessageCounter !== 0 && n.uint32(24).int32(e.txMessageCounter), e.txMessagesPerSecond !== 0 && n.uint32(32).int32(e.txMessagesPerSecond), e.errorFrameCounter !== 0 && n.uint32(40).int32(e.errorFrameCounter), e.errorFramesPerSecond !== 0 && n.uint32(48).int32(e.errorFramesPerSecond), e.overrunCounter !== 0 && n.uint32(56).int32(e.overrunCounter), e.overrunsPerSecond !== 0 && n.uint32(64).int32(e.overrunsPerSecond), e.rxErrorCounter !== 0 && n.uint32(72).int32(e.rxErrorCounter), e.txErrorCounter !== 0 && n.uint32(80).int32(e.txErrorCounter), e.overrunErrorCounter !== 0 && n.uint32(88).int32(e.overrunErrorCounter), e.busOnStatus !== 0 && n.uint32(96).int32(e.busOnStatus), e.errorStatus !== 0 && n.uint32(104).int32(e.errorStatus), e.overrunStatus !== 0 && n.uint32(112).int32(e.overrunStatus), e.busLoad !== 0 && n.uint32(120).int32(e.busLoad), n;
4463
3071
  },
4464
3072
  decode(e, n) {
4465
3073
  const r = e instanceof o ? e : new o(e);
4466
3074
  let a = n === void 0 ? r.len : r.pos + n;
4467
- const t = fn();
3075
+ const t = Ge();
4468
3076
  for (; r.pos < a; ) {
4469
3077
  const i = r.uint32();
4470
3078
  switch (i >>> 3) {
@@ -4567,46 +3175,46 @@ const M = {
4567
3175
  },
4568
3176
  fromJSON(e) {
4569
3177
  return {
4570
- rxMessageCounter: N(e.rxMessageCounter) ? globalThis.Number(e.rxMessageCounter) : 0,
4571
- rxMessagesPerSecond: N(e.rxMessagesPerSecond) ? globalThis.Number(e.rxMessagesPerSecond) : 0,
4572
- txMessageCounter: N(e.txMessageCounter) ? globalThis.Number(e.txMessageCounter) : 0,
4573
- txMessagesPerSecond: N(e.txMessagesPerSecond) ? globalThis.Number(e.txMessagesPerSecond) : 0,
4574
- errorFrameCounter: N(e.errorFrameCounter) ? globalThis.Number(e.errorFrameCounter) : 0,
4575
- errorFramesPerSecond: N(e.errorFramesPerSecond) ? globalThis.Number(e.errorFramesPerSecond) : 0,
4576
- overrunCounter: N(e.overrunCounter) ? globalThis.Number(e.overrunCounter) : 0,
4577
- overrunsPerSecond: N(e.overrunsPerSecond) ? globalThis.Number(e.overrunsPerSecond) : 0,
4578
- rxErrorCounter: N(e.rxErrorCounter) ? globalThis.Number(e.rxErrorCounter) : 0,
4579
- txErrorCounter: N(e.txErrorCounter) ? globalThis.Number(e.txErrorCounter) : 0,
4580
- overrunErrorCounter: N(e.overrunErrorCounter) ? globalThis.Number(e.overrunErrorCounter) : 0,
4581
- busOnStatus: N(e.busOnStatus) ? Z(e.busOnStatus) : 0,
4582
- errorStatus: N(e.errorStatus) ? Z(e.errorStatus) : 0,
4583
- overrunStatus: N(e.overrunStatus) ? Z(e.overrunStatus) : 0,
4584
- busLoad: N(e.busLoad) ? globalThis.Number(e.busLoad) : 0
3178
+ rxMessageCounter: l(e.rxMessageCounter) ? globalThis.Number(e.rxMessageCounter) : 0,
3179
+ rxMessagesPerSecond: l(e.rxMessagesPerSecond) ? globalThis.Number(e.rxMessagesPerSecond) : 0,
3180
+ txMessageCounter: l(e.txMessageCounter) ? globalThis.Number(e.txMessageCounter) : 0,
3181
+ txMessagesPerSecond: l(e.txMessagesPerSecond) ? globalThis.Number(e.txMessagesPerSecond) : 0,
3182
+ errorFrameCounter: l(e.errorFrameCounter) ? globalThis.Number(e.errorFrameCounter) : 0,
3183
+ errorFramesPerSecond: l(e.errorFramesPerSecond) ? globalThis.Number(e.errorFramesPerSecond) : 0,
3184
+ overrunCounter: l(e.overrunCounter) ? globalThis.Number(e.overrunCounter) : 0,
3185
+ overrunsPerSecond: l(e.overrunsPerSecond) ? globalThis.Number(e.overrunsPerSecond) : 0,
3186
+ rxErrorCounter: l(e.rxErrorCounter) ? globalThis.Number(e.rxErrorCounter) : 0,
3187
+ txErrorCounter: l(e.txErrorCounter) ? globalThis.Number(e.txErrorCounter) : 0,
3188
+ overrunErrorCounter: l(e.overrunErrorCounter) ? globalThis.Number(e.overrunErrorCounter) : 0,
3189
+ busOnStatus: l(e.busOnStatus) ? V(e.busOnStatus) : 0,
3190
+ errorStatus: l(e.errorStatus) ? V(e.errorStatus) : 0,
3191
+ overrunStatus: l(e.overrunStatus) ? V(e.overrunStatus) : 0,
3192
+ busLoad: l(e.busLoad) ? globalThis.Number(e.busLoad) : 0
4585
3193
  };
4586
3194
  },
4587
3195
  toJSON(e) {
4588
3196
  const n = {};
4589
- return e.rxMessageCounter !== 0 && (n.rxMessageCounter = Math.round(e.rxMessageCounter)), e.rxMessagesPerSecond !== 0 && (n.rxMessagesPerSecond = Math.round(e.rxMessagesPerSecond)), e.txMessageCounter !== 0 && (n.txMessageCounter = Math.round(e.txMessageCounter)), e.txMessagesPerSecond !== 0 && (n.txMessagesPerSecond = Math.round(e.txMessagesPerSecond)), e.errorFrameCounter !== 0 && (n.errorFrameCounter = Math.round(e.errorFrameCounter)), e.errorFramesPerSecond !== 0 && (n.errorFramesPerSecond = Math.round(e.errorFramesPerSecond)), e.overrunCounter !== 0 && (n.overrunCounter = Math.round(e.overrunCounter)), e.overrunsPerSecond !== 0 && (n.overrunsPerSecond = Math.round(e.overrunsPerSecond)), e.rxErrorCounter !== 0 && (n.rxErrorCounter = Math.round(e.rxErrorCounter)), e.txErrorCounter !== 0 && (n.txErrorCounter = Math.round(e.txErrorCounter)), e.overrunErrorCounter !== 0 && (n.overrunErrorCounter = Math.round(e.overrunErrorCounter)), e.busOnStatus !== 0 && (n.busOnStatus = W(e.busOnStatus)), e.errorStatus !== 0 && (n.errorStatus = W(e.errorStatus)), e.overrunStatus !== 0 && (n.overrunStatus = W(e.overrunStatus)), e.busLoad !== 0 && (n.busLoad = Math.round(e.busLoad)), n;
3197
+ return e.rxMessageCounter !== 0 && (n.rxMessageCounter = Math.round(e.rxMessageCounter)), e.rxMessagesPerSecond !== 0 && (n.rxMessagesPerSecond = Math.round(e.rxMessagesPerSecond)), e.txMessageCounter !== 0 && (n.txMessageCounter = Math.round(e.txMessageCounter)), e.txMessagesPerSecond !== 0 && (n.txMessagesPerSecond = Math.round(e.txMessagesPerSecond)), e.errorFrameCounter !== 0 && (n.errorFrameCounter = Math.round(e.errorFrameCounter)), e.errorFramesPerSecond !== 0 && (n.errorFramesPerSecond = Math.round(e.errorFramesPerSecond)), e.overrunCounter !== 0 && (n.overrunCounter = Math.round(e.overrunCounter)), e.overrunsPerSecond !== 0 && (n.overrunsPerSecond = Math.round(e.overrunsPerSecond)), e.rxErrorCounter !== 0 && (n.rxErrorCounter = Math.round(e.rxErrorCounter)), e.txErrorCounter !== 0 && (n.txErrorCounter = Math.round(e.txErrorCounter)), e.overrunErrorCounter !== 0 && (n.overrunErrorCounter = Math.round(e.overrunErrorCounter)), e.busOnStatus !== 0 && (n.busOnStatus = M(e.busOnStatus)), e.errorStatus !== 0 && (n.errorStatus = M(e.errorStatus)), e.overrunStatus !== 0 && (n.overrunStatus = M(e.overrunStatus)), e.busLoad !== 0 && (n.busLoad = Math.round(e.busLoad)), n;
4590
3198
  },
4591
3199
  create(e) {
4592
- return M.fromPartial(e ?? {});
3200
+ return R.fromPartial(e ?? {});
4593
3201
  },
4594
3202
  fromPartial(e) {
4595
- const n = fn();
3203
+ const n = Ge();
4596
3204
  return n.rxMessageCounter = e.rxMessageCounter ?? 0, n.rxMessagesPerSecond = e.rxMessagesPerSecond ?? 0, n.txMessageCounter = e.txMessageCounter ?? 0, n.txMessagesPerSecond = e.txMessagesPerSecond ?? 0, n.errorFrameCounter = e.errorFrameCounter ?? 0, n.errorFramesPerSecond = e.errorFramesPerSecond ?? 0, n.overrunCounter = e.overrunCounter ?? 0, n.overrunsPerSecond = e.overrunsPerSecond ?? 0, n.rxErrorCounter = e.rxErrorCounter ?? 0, n.txErrorCounter = e.txErrorCounter ?? 0, n.overrunErrorCounter = e.overrunErrorCounter ?? 0, n.busOnStatus = e.busOnStatus ?? 0, n.errorStatus = e.errorStatus ?? 0, n.overrunStatus = e.overrunStatus ?? 0, n.busLoad = e.busLoad ?? 0, n;
4597
3205
  }
4598
3206
  };
4599
- function dn() {
4600
- return { errorCounter: 0, lastExecutionTime: c.ZERO, minExecutionTime: c.ZERO, maxExecutionTime: c.ZERO };
3207
+ function Ve() {
3208
+ return { errorCounter: 0, lastExecutionTime: d.ZERO, minExecutionTime: d.ZERO, maxExecutionTime: d.ZERO };
4601
3209
  }
4602
- const b = {
3210
+ const _ = {
4603
3211
  encode(e, n = new u()) {
4604
- return e.errorCounter !== 0 && n.uint32(8).int32(e.errorCounter), e.lastExecutionTime.equals(c.ZERO) || n.uint32(16).int64(e.lastExecutionTime.toString()), e.minExecutionTime.equals(c.ZERO) || n.uint32(24).int64(e.minExecutionTime.toString()), e.maxExecutionTime.equals(c.ZERO) || n.uint32(32).int64(e.maxExecutionTime.toString()), n;
3212
+ return e.errorCounter !== 0 && n.uint32(8).int32(e.errorCounter), e.lastExecutionTime.equals(d.ZERO) || n.uint32(16).int64(e.lastExecutionTime.toString()), e.minExecutionTime.equals(d.ZERO) || n.uint32(24).int64(e.minExecutionTime.toString()), e.maxExecutionTime.equals(d.ZERO) || n.uint32(32).int64(e.maxExecutionTime.toString()), n;
4605
3213
  },
4606
3214
  decode(e, n) {
4607
3215
  const r = e instanceof o ? e : new o(e);
4608
3216
  let a = n === void 0 ? r.len : r.pos + n;
4609
- const t = dn();
3217
+ const t = Ve();
4610
3218
  for (; r.pos < a; ) {
4611
3219
  const i = r.uint32();
4612
3220
  switch (i >>> 3) {
@@ -4619,19 +3227,19 @@ const b = {
4619
3227
  case 2: {
4620
3228
  if (i !== 16)
4621
3229
  break;
4622
- t.lastExecutionTime = c.fromString(r.int64().toString());
3230
+ t.lastExecutionTime = d.fromString(r.int64().toString());
4623
3231
  continue;
4624
3232
  }
4625
3233
  case 3: {
4626
3234
  if (i !== 24)
4627
3235
  break;
4628
- t.minExecutionTime = c.fromString(r.int64().toString());
3236
+ t.minExecutionTime = d.fromString(r.int64().toString());
4629
3237
  continue;
4630
3238
  }
4631
3239
  case 4: {
4632
3240
  if (i !== 32)
4633
3241
  break;
4634
- t.maxExecutionTime = c.fromString(r.int64().toString());
3242
+ t.maxExecutionTime = d.fromString(r.int64().toString());
4635
3243
  continue;
4636
3244
  }
4637
3245
  }
@@ -4643,35 +3251,35 @@ const b = {
4643
3251
  },
4644
3252
  fromJSON(e) {
4645
3253
  return {
4646
- errorCounter: N(e.errorCounter) ? globalThis.Number(e.errorCounter) : 0,
4647
- lastExecutionTime: N(e.lastExecutionTime) ? c.fromValue(e.lastExecutionTime) : c.ZERO,
4648
- minExecutionTime: N(e.minExecutionTime) ? c.fromValue(e.minExecutionTime) : c.ZERO,
4649
- maxExecutionTime: N(e.maxExecutionTime) ? c.fromValue(e.maxExecutionTime) : c.ZERO
3254
+ errorCounter: l(e.errorCounter) ? globalThis.Number(e.errorCounter) : 0,
3255
+ lastExecutionTime: l(e.lastExecutionTime) ? d.fromValue(e.lastExecutionTime) : d.ZERO,
3256
+ minExecutionTime: l(e.minExecutionTime) ? d.fromValue(e.minExecutionTime) : d.ZERO,
3257
+ maxExecutionTime: l(e.maxExecutionTime) ? d.fromValue(e.maxExecutionTime) : d.ZERO
4650
3258
  };
4651
3259
  },
4652
3260
  toJSON(e) {
4653
3261
  const n = {};
4654
- return e.errorCounter !== 0 && (n.errorCounter = Math.round(e.errorCounter)), e.lastExecutionTime.equals(c.ZERO) || (n.lastExecutionTime = (e.lastExecutionTime || c.ZERO).toString()), e.minExecutionTime.equals(c.ZERO) || (n.minExecutionTime = (e.minExecutionTime || c.ZERO).toString()), e.maxExecutionTime.equals(c.ZERO) || (n.maxExecutionTime = (e.maxExecutionTime || c.ZERO).toString()), n;
3262
+ return e.errorCounter !== 0 && (n.errorCounter = Math.round(e.errorCounter)), e.lastExecutionTime.equals(d.ZERO) || (n.lastExecutionTime = (e.lastExecutionTime || d.ZERO).toString()), e.minExecutionTime.equals(d.ZERO) || (n.minExecutionTime = (e.minExecutionTime || d.ZERO).toString()), e.maxExecutionTime.equals(d.ZERO) || (n.maxExecutionTime = (e.maxExecutionTime || d.ZERO).toString()), n;
4655
3263
  },
4656
3264
  create(e) {
4657
- return b.fromPartial(e ?? {});
3265
+ return _.fromPartial(e ?? {});
4658
3266
  },
4659
3267
  fromPartial(e) {
4660
- const n = dn();
4661
- return n.errorCounter = e.errorCounter ?? 0, n.lastExecutionTime = e.lastExecutionTime !== void 0 && e.lastExecutionTime !== null ? c.fromValue(e.lastExecutionTime) : c.ZERO, n.minExecutionTime = e.minExecutionTime !== void 0 && e.minExecutionTime !== null ? c.fromValue(e.minExecutionTime) : c.ZERO, n.maxExecutionTime = e.maxExecutionTime !== void 0 && e.maxExecutionTime !== null ? c.fromValue(e.maxExecutionTime) : c.ZERO, n;
3268
+ const n = Ve();
3269
+ return n.errorCounter = e.errorCounter ?? 0, n.lastExecutionTime = e.lastExecutionTime !== void 0 && e.lastExecutionTime !== null ? d.fromValue(e.lastExecutionTime) : d.ZERO, n.minExecutionTime = e.minExecutionTime !== void 0 && e.minExecutionTime !== null ? d.fromValue(e.minExecutionTime) : d.ZERO, n.maxExecutionTime = e.maxExecutionTime !== void 0 && e.maxExecutionTime !== null ? d.fromValue(e.maxExecutionTime) : d.ZERO, n;
4662
3270
  }
4663
3271
  };
4664
- function cn() {
3272
+ function Me() {
4665
3273
  return { state: 0 };
4666
3274
  }
4667
- const y = {
3275
+ const A = {
4668
3276
  encode(e, n = new u()) {
4669
3277
  return e.state !== 0 && n.uint32(8).int32(e.state), n;
4670
3278
  },
4671
3279
  decode(e, n) {
4672
3280
  const r = e instanceof o ? e : new o(e);
4673
3281
  let a = n === void 0 ? r.len : r.pos + n;
4674
- const t = cn();
3282
+ const t = Me();
4675
3283
  for (; r.pos < a; ) {
4676
3284
  const i = r.uint32();
4677
3285
  switch (i >>> 3) {
@@ -4689,31 +3297,31 @@ const y = {
4689
3297
  return t;
4690
3298
  },
4691
3299
  fromJSON(e) {
4692
- return { state: N(e.state) ? br(e.state) : 0 };
3300
+ return { state: l(e.state) ? Kn(e.state) : 0 };
4693
3301
  },
4694
3302
  toJSON(e) {
4695
3303
  const n = {};
4696
- return e.state !== 0 && (n.state = yr(e.state)), n;
3304
+ return e.state !== 0 && (n.state = Qn(e.state)), n;
4697
3305
  },
4698
3306
  create(e) {
4699
- return y.fromPartial(e ?? {});
3307
+ return A.fromPartial(e ?? {});
4700
3308
  },
4701
3309
  fromPartial(e) {
4702
- const n = cn();
3310
+ const n = Me();
4703
3311
  return n.state = e.state ?? 0, n;
4704
3312
  }
4705
3313
  };
4706
- function ln() {
3314
+ function De() {
4707
3315
  return { state: 0 };
4708
3316
  }
4709
- const G = {
3317
+ const L = {
4710
3318
  encode(e, n = new u()) {
4711
3319
  return e.state !== 0 && n.uint32(8).int32(e.state), n;
4712
3320
  },
4713
3321
  decode(e, n) {
4714
3322
  const r = e instanceof o ? e : new o(e);
4715
3323
  let a = n === void 0 ? r.len : r.pos + n;
4716
- const t = ln();
3324
+ const t = De();
4717
3325
  for (; r.pos < a; ) {
4718
3326
  const i = r.uint32();
4719
3327
  switch (i >>> 3) {
@@ -4731,31 +3339,31 @@ const G = {
4731
3339
  return t;
4732
3340
  },
4733
3341
  fromJSON(e) {
4734
- return { state: N(e.state) ? Vr(e.state) : 0 };
3342
+ return { state: l(e.state) ? Wn(e.state) : 0 };
4735
3343
  },
4736
3344
  toJSON(e) {
4737
3345
  const n = {};
4738
- return e.state !== 0 && (n.state = Br(e.state)), n;
3346
+ return e.state !== 0 && (n.state = Yn(e.state)), n;
4739
3347
  },
4740
3348
  create(e) {
4741
- return G.fromPartial(e ?? {});
3349
+ return L.fromPartial(e ?? {});
4742
3350
  },
4743
3351
  fromPartial(e) {
4744
- const n = ln();
3352
+ const n = De();
4745
3353
  return n.state = e.state ?? 0, n;
4746
3354
  }
4747
3355
  };
4748
- function pn() {
3356
+ function ye() {
4749
3357
  return { errors: "" };
4750
3358
  }
4751
- const V = {
3359
+ const J = {
4752
3360
  encode(e, n = new u()) {
4753
3361
  return e.errors !== "" && n.uint32(10).string(e.errors), n;
4754
3362
  },
4755
3363
  decode(e, n) {
4756
3364
  const r = e instanceof o ? e : new o(e);
4757
3365
  let a = n === void 0 ? r.len : r.pos + n;
4758
- const t = pn();
3366
+ const t = ye();
4759
3367
  for (; r.pos < a; ) {
4760
3368
  const i = r.uint32();
4761
3369
  switch (i >>> 3) {
@@ -4773,21 +3381,21 @@ const V = {
4773
3381
  return t;
4774
3382
  },
4775
3383
  fromJSON(e) {
4776
- return { errors: N(e.errors) ? globalThis.String(e.errors) : "" };
3384
+ return { errors: l(e.errors) ? globalThis.String(e.errors) : "" };
4777
3385
  },
4778
3386
  toJSON(e) {
4779
3387
  const n = {};
4780
3388
  return e.errors !== "" && (n.errors = e.errors), n;
4781
3389
  },
4782
3390
  create(e) {
4783
- return V.fromPartial(e ?? {});
3391
+ return J.fromPartial(e ?? {});
4784
3392
  },
4785
3393
  fromPartial(e) {
4786
- const n = pn();
3394
+ const n = ye();
4787
3395
  return n.errors = e.errors ?? "", n;
4788
3396
  }
4789
3397
  };
4790
- function Nn() {
3398
+ function Fe() {
4791
3399
  return {
4792
3400
  nodeId: "",
4793
3401
  nodeName: "",
@@ -4795,18 +3403,18 @@ function Nn() {
4795
3403
  busStatus: void 0,
4796
3404
  dataProcessingStatus: void 0,
4797
3405
  logReplayStatus: void 0,
4798
- messageLoggerStatus: void 0,
3406
+ loggerStatus: void 0,
4799
3407
  errorStatus: void 0
4800
3408
  };
4801
3409
  }
4802
- const B = {
3410
+ const C = {
4803
3411
  encode(e, n = new u()) {
4804
- return e.nodeId !== "" && n.uint32(10).string(e.nodeId), e.nodeName !== "" && n.uint32(18).string(e.nodeName), e.streamId !== "" && n.uint32(26).string(e.streamId), e.busStatus !== void 0 && M.encode(e.busStatus, n.uint32(34).fork()).join(), e.dataProcessingStatus !== void 0 && b.encode(e.dataProcessingStatus, n.uint32(42).fork()).join(), e.logReplayStatus !== void 0 && y.encode(e.logReplayStatus, n.uint32(50).fork()).join(), e.messageLoggerStatus !== void 0 && G.encode(e.messageLoggerStatus, n.uint32(58).fork()).join(), e.errorStatus !== void 0 && V.encode(e.errorStatus, n.uint32(66).fork()).join(), n;
3412
+ return e.nodeId !== "" && n.uint32(10).string(e.nodeId), e.nodeName !== "" && n.uint32(18).string(e.nodeName), e.streamId !== "" && n.uint32(26).string(e.streamId), e.busStatus !== void 0 && R.encode(e.busStatus, n.uint32(34).fork()).join(), e.dataProcessingStatus !== void 0 && _.encode(e.dataProcessingStatus, n.uint32(42).fork()).join(), e.logReplayStatus !== void 0 && A.encode(e.logReplayStatus, n.uint32(50).fork()).join(), e.loggerStatus !== void 0 && L.encode(e.loggerStatus, n.uint32(58).fork()).join(), e.errorStatus !== void 0 && J.encode(e.errorStatus, n.uint32(66).fork()).join(), n;
4805
3413
  },
4806
3414
  decode(e, n) {
4807
3415
  const r = e instanceof o ? e : new o(e);
4808
3416
  let a = n === void 0 ? r.len : r.pos + n;
4809
- const t = Nn();
3417
+ const t = Fe();
4810
3418
  for (; r.pos < a; ) {
4811
3419
  const i = r.uint32();
4812
3420
  switch (i >>> 3) {
@@ -4831,31 +3439,31 @@ const B = {
4831
3439
  case 4: {
4832
3440
  if (i !== 34)
4833
3441
  break;
4834
- t.busStatus = M.decode(r, r.uint32());
3442
+ t.busStatus = R.decode(r, r.uint32());
4835
3443
  continue;
4836
3444
  }
4837
3445
  case 5: {
4838
3446
  if (i !== 42)
4839
3447
  break;
4840
- t.dataProcessingStatus = b.decode(r, r.uint32());
3448
+ t.dataProcessingStatus = _.decode(r, r.uint32());
4841
3449
  continue;
4842
3450
  }
4843
3451
  case 6: {
4844
3452
  if (i !== 50)
4845
3453
  break;
4846
- t.logReplayStatus = y.decode(r, r.uint32());
3454
+ t.logReplayStatus = A.decode(r, r.uint32());
4847
3455
  continue;
4848
3456
  }
4849
3457
  case 7: {
4850
3458
  if (i !== 58)
4851
3459
  break;
4852
- t.messageLoggerStatus = G.decode(r, r.uint32());
3460
+ t.loggerStatus = L.decode(r, r.uint32());
4853
3461
  continue;
4854
3462
  }
4855
3463
  case 8: {
4856
3464
  if (i !== 66)
4857
3465
  break;
4858
- t.errorStatus = V.decode(r, r.uint32());
3466
+ t.errorStatus = J.decode(r, r.uint32());
4859
3467
  continue;
4860
3468
  }
4861
3469
  }
@@ -4867,48 +3475,48 @@ const B = {
4867
3475
  },
4868
3476
  fromJSON(e) {
4869
3477
  return {
4870
- nodeId: N(e.nodeId) ? globalThis.String(e.nodeId) : "",
4871
- nodeName: N(e.nodeName) ? globalThis.String(e.nodeName) : "",
4872
- streamId: N(e.streamId) ? globalThis.String(e.streamId) : "",
4873
- busStatus: N(e.busStatus) ? M.fromJSON(e.busStatus) : void 0,
4874
- dataProcessingStatus: N(e.dataProcessingStatus) ? b.fromJSON(e.dataProcessingStatus) : void 0,
4875
- logReplayStatus: N(e.logReplayStatus) ? y.fromJSON(e.logReplayStatus) : void 0,
4876
- messageLoggerStatus: N(e.messageLoggerStatus) ? G.fromJSON(e.messageLoggerStatus) : void 0,
4877
- errorStatus: N(e.errorStatus) ? V.fromJSON(e.errorStatus) : void 0
3478
+ nodeId: l(e.nodeId) ? globalThis.String(e.nodeId) : "",
3479
+ nodeName: l(e.nodeName) ? globalThis.String(e.nodeName) : "",
3480
+ streamId: l(e.streamId) ? globalThis.String(e.streamId) : "",
3481
+ busStatus: l(e.busStatus) ? R.fromJSON(e.busStatus) : void 0,
3482
+ dataProcessingStatus: l(e.dataProcessingStatus) ? _.fromJSON(e.dataProcessingStatus) : void 0,
3483
+ logReplayStatus: l(e.logReplayStatus) ? A.fromJSON(e.logReplayStatus) : void 0,
3484
+ loggerStatus: l(e.loggerStatus) ? L.fromJSON(e.loggerStatus) : void 0,
3485
+ errorStatus: l(e.errorStatus) ? J.fromJSON(e.errorStatus) : void 0
4878
3486
  };
4879
3487
  },
4880
3488
  toJSON(e) {
4881
3489
  const n = {};
4882
- return e.nodeId !== "" && (n.nodeId = e.nodeId), e.nodeName !== "" && (n.nodeName = e.nodeName), e.streamId !== "" && (n.streamId = e.streamId), e.busStatus !== void 0 && (n.busStatus = M.toJSON(e.busStatus)), e.dataProcessingStatus !== void 0 && (n.dataProcessingStatus = b.toJSON(e.dataProcessingStatus)), e.logReplayStatus !== void 0 && (n.logReplayStatus = y.toJSON(e.logReplayStatus)), e.messageLoggerStatus !== void 0 && (n.messageLoggerStatus = G.toJSON(e.messageLoggerStatus)), e.errorStatus !== void 0 && (n.errorStatus = V.toJSON(e.errorStatus)), n;
3490
+ return e.nodeId !== "" && (n.nodeId = e.nodeId), e.nodeName !== "" && (n.nodeName = e.nodeName), e.streamId !== "" && (n.streamId = e.streamId), e.busStatus !== void 0 && (n.busStatus = R.toJSON(e.busStatus)), e.dataProcessingStatus !== void 0 && (n.dataProcessingStatus = _.toJSON(e.dataProcessingStatus)), e.logReplayStatus !== void 0 && (n.logReplayStatus = A.toJSON(e.logReplayStatus)), e.loggerStatus !== void 0 && (n.loggerStatus = L.toJSON(e.loggerStatus)), e.errorStatus !== void 0 && (n.errorStatus = J.toJSON(e.errorStatus)), n;
4883
3491
  },
4884
3492
  create(e) {
4885
- return B.fromPartial(e ?? {});
3493
+ return C.fromPartial(e ?? {});
4886
3494
  },
4887
3495
  fromPartial(e) {
4888
- const n = Nn();
4889
- return n.nodeId = e.nodeId ?? "", n.nodeName = e.nodeName ?? "", n.streamId = e.streamId ?? "", n.busStatus = e.busStatus !== void 0 && e.busStatus !== null ? M.fromPartial(e.busStatus) : void 0, n.dataProcessingStatus = e.dataProcessingStatus !== void 0 && e.dataProcessingStatus !== null ? b.fromPartial(e.dataProcessingStatus) : void 0, n.logReplayStatus = e.logReplayStatus !== void 0 && e.logReplayStatus !== null ? y.fromPartial(e.logReplayStatus) : void 0, n.messageLoggerStatus = e.messageLoggerStatus !== void 0 && e.messageLoggerStatus !== null ? G.fromPartial(e.messageLoggerStatus) : void 0, n.errorStatus = e.errorStatus !== void 0 && e.errorStatus !== null ? V.fromPartial(e.errorStatus) : void 0, n;
3496
+ const n = Fe();
3497
+ return n.nodeId = e.nodeId ?? "", n.nodeName = e.nodeName ?? "", n.streamId = e.streamId ?? "", n.busStatus = e.busStatus !== void 0 && e.busStatus !== null ? R.fromPartial(e.busStatus) : void 0, n.dataProcessingStatus = e.dataProcessingStatus !== void 0 && e.dataProcessingStatus !== null ? _.fromPartial(e.dataProcessingStatus) : void 0, n.logReplayStatus = e.logReplayStatus !== void 0 && e.logReplayStatus !== null ? A.fromPartial(e.logReplayStatus) : void 0, n.loggerStatus = e.loggerStatus !== void 0 && e.loggerStatus !== null ? L.fromPartial(e.loggerStatus) : void 0, n.errorStatus = e.errorStatus !== void 0 && e.errorStatus !== null ? J.fromPartial(e.errorStatus) : void 0, n;
4890
3498
  }
4891
3499
  };
4892
- function Sn() {
3500
+ function Ue() {
4893
3501
  return { items: [] };
4894
3502
  }
4895
- const Fr = {
3503
+ const $n = {
4896
3504
  encode(e, n = new u()) {
4897
3505
  for (const r of e.items)
4898
- B.encode(r, n.uint32(10).fork()).join();
3506
+ C.encode(r, n.uint32(10).fork()).join();
4899
3507
  return n;
4900
3508
  },
4901
3509
  decode(e, n) {
4902
3510
  const r = e instanceof o ? e : new o(e);
4903
3511
  let a = n === void 0 ? r.len : r.pos + n;
4904
- const t = Sn();
3512
+ const t = Ue();
4905
3513
  for (; r.pos < a; ) {
4906
3514
  const i = r.uint32();
4907
3515
  switch (i >>> 3) {
4908
3516
  case 1: {
4909
3517
  if (i !== 10)
4910
3518
  break;
4911
- t.items.push(B.decode(r, r.uint32()));
3519
+ t.items.push(C.decode(r, r.uint32()));
4912
3520
  continue;
4913
3521
  }
4914
3522
  }
@@ -4920,126 +3528,102 @@ const Fr = {
4920
3528
  },
4921
3529
  fromJSON(e) {
4922
3530
  return {
4923
- items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => B.fromJSON(n)) : []
3531
+ items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => C.fromJSON(n)) : []
4924
3532
  };
4925
3533
  },
4926
3534
  toJSON(e) {
4927
3535
  var r;
4928
3536
  const n = {};
4929
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => B.toJSON(a))), n;
3537
+ return (r = e.items) != null && r.length && (n.items = e.items.map((a) => C.toJSON(a))), n;
4930
3538
  },
4931
3539
  create(e) {
4932
- return Fr.fromPartial(e ?? {});
3540
+ return $n.fromPartial(e ?? {});
4933
3541
  },
4934
3542
  fromPartial(e) {
4935
3543
  var r;
4936
- const n = Sn();
4937
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => B.fromPartial(a))) || [], n;
3544
+ const n = Ue();
3545
+ return n.items = ((r = e.items) == null ? void 0 : r.map((a) => C.fromPartial(a))) || [], n;
4938
3546
  }
4939
3547
  };
4940
- function N(e) {
3548
+ function l(e) {
4941
3549
  return e != null;
4942
3550
  }
4943
3551
  export {
4944
- nr as $,
4945
- s as A,
4946
- O as B,
4947
- yn as C,
4948
- Fn as D,
4949
- On as E,
4950
- J as F,
4951
- kn as G,
4952
- v as H,
4953
- gn as I,
4954
- A as J,
4955
- x as K,
4956
- An as L,
4957
- qn as M,
4958
- wn as N,
4959
- Zn as O,
4960
- Bn as P,
4961
- Wn as Q,
4962
- Kn as R,
4963
- Dr as S,
4964
- Qn as T,
4965
- Jn as U,
4966
- Yn as V,
4967
- Xn as W,
4968
- $n as X,
4969
- zn as Y,
4970
- jn as Z,
4971
- er as _,
4972
- Q as a,
4973
- rr as a0,
4974
- ir as a1,
4975
- tr as a2,
4976
- ar as a3,
4977
- sr as a4,
4978
- or as a5,
4979
- ur as a6,
4980
- fr as a7,
4981
- dr as a8,
4982
- cr as a9,
4983
- yr as aA,
4984
- Gr as aB,
4985
- Vr as aC,
4986
- Br as aD,
4987
- M as aE,
4988
- b as aF,
4989
- y as aG,
4990
- G as aH,
4991
- V as aI,
4992
- B as aJ,
4993
- Fr as aK,
4994
- lr as aa,
4995
- pr as ab,
4996
- Nr as ac,
4997
- Sr as ad,
4998
- mr as ae,
4999
- Er as af,
5000
- Pr as ag,
5001
- hr as ah,
5002
- Or as ai,
5003
- D as aj,
5004
- Ar as ak,
5005
- _r as al,
5006
- Tr as am,
5007
- Cr as an,
5008
- Rr as ao,
5009
- kr as ap,
5010
- Ir as aq,
5011
- Lr as ar,
5012
- gr as as,
5013
- Jr as at,
5014
- vr as au,
5015
- xr as av,
5016
- Z as aw,
5017
- W as ax,
5018
- Mr as ay,
5019
- br as az,
5020
- _n as b,
5021
- Tn as c,
5022
- Cn as d,
5023
- Rn as e,
5024
- I as f,
5025
- In as g,
5026
- P as h,
5027
- L as i,
5028
- Ln as j,
5029
- vn as k,
5030
- K as l,
5031
- xn as m,
5032
- Dn as n,
5033
- Mn as o,
5034
- bn as p,
5035
- Gn as q,
5036
- Vn as r,
5037
- mn as s,
5038
- En as t,
5039
- Un as u,
5040
- Hn as v,
5041
- S as w,
5042
- g as x,
5043
- h as y,
5044
- E as z
3552
+ Gn as $,
3553
+ Qe as A,
3554
+ En as B,
3555
+ mn as C,
3556
+ On as D,
3557
+ qe as E,
3558
+ Ze as F,
3559
+ $e as G,
3560
+ Tn as H,
3561
+ be as I,
3562
+ Pn as J,
3563
+ hn as K,
3564
+ Ke as L,
3565
+ sn as M,
3566
+ gn as N,
3567
+ kn as O,
3568
+ Rn as P,
3569
+ _n as Q,
3570
+ In as R,
3571
+ qn as S,
3572
+ An as T,
3573
+ je as U,
3574
+ Ln as V,
3575
+ Jn as W,
3576
+ I as X,
3577
+ Cn as Y,
3578
+ xn as Z,
3579
+ vn as _,
3580
+ jn as a,
3581
+ Vn as a0,
3582
+ Mn as a1,
3583
+ Dn as a2,
3584
+ yn as a3,
3585
+ Fn as a4,
3586
+ Un as a5,
3587
+ Bn as a6,
3588
+ wn as a7,
3589
+ V as a8,
3590
+ M as a9,
3591
+ Zn as aa,
3592
+ Kn as ab,
3593
+ Qn as ac,
3594
+ Hn as ad,
3595
+ Wn as ae,
3596
+ Yn as af,
3597
+ R as ag,
3598
+ _ as ah,
3599
+ A as ai,
3600
+ L as aj,
3601
+ J as ak,
3602
+ C as al,
3603
+ $n as am,
3604
+ y as b,
3605
+ He as c,
3606
+ We as d,
3607
+ Ye as e,
3608
+ bn as f,
3609
+ g,
3610
+ ze as h,
3611
+ N as i,
3612
+ k as j,
3613
+ Xe as k,
3614
+ D as l,
3615
+ en as m,
3616
+ nn as n,
3617
+ rn as o,
3618
+ tn as p,
3619
+ an as q,
3620
+ on as r,
3621
+ fn as s,
3622
+ un as t,
3623
+ dn as u,
3624
+ cn as v,
3625
+ ln as w,
3626
+ pn as x,
3627
+ Sn as y,
3628
+ Nn as z
5045
3629
  };