@kvaser/canking-api 7.1.0 → 7.2.1

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 (554) hide show
  1. package/REDISTRIBUTABLES.txt +2 -0
  2. package/dist/ElectronAPIFake.js +1 -1
  3. package/dist/ElectronAPIFake.mjs +18 -15
  4. package/dist/controls/CanIdentifierControl.d.ts +45 -8
  5. package/dist/controls/ColumnItemControl.d.ts +1 -1
  6. package/dist/controls/DropdownButton.d.ts +1 -1
  7. package/dist/controls/LinChannelSelectControl.d.ts +34 -0
  8. package/dist/controls/LinIdentifierControl.d.ts +224 -0
  9. package/dist/controls/SelectMessageDialog.d.ts +28 -0
  10. package/dist/controls/SelectSignalControl.d.ts +11 -0
  11. package/dist/controls/SelectSignalDialog.d.ts +21 -0
  12. package/dist/controls/TableControl.d.ts +7 -1
  13. package/dist/controls/index.d.ts +10 -0
  14. package/dist/controls.js +1 -1
  15. package/dist/controls.mjs +1761 -949
  16. package/dist/grpc.js +1 -1
  17. package/dist/grpc.mjs +111 -97
  18. package/dist/hooks/index.d.ts +6 -1
  19. package/dist/hooks.js +1 -1
  20. package/dist/hooks.mjs +17 -16
  21. package/dist/icons/index.d.ts +6 -0
  22. package/dist/icons.js +1 -1
  23. package/dist/icons.mjs +87 -75
  24. package/dist/index.js +1 -1
  25. package/dist/index.mjs +48 -42
  26. package/dist/ipc/index.d.ts +24 -0
  27. package/dist/ipc.js +1 -1
  28. package/dist/ipc.mjs +68 -58
  29. package/dist/measurement_settings.js +1 -1
  30. package/dist/measurement_settings.mjs +3186 -1328
  31. package/dist/models.js +1 -1
  32. package/dist/models.mjs +202 -197
  33. package/dist/protos/device_params.d.ts +14 -25
  34. package/dist/protos/frame_params.d.ts +9 -1
  35. package/dist/protos/measurement_params.d.ts +2 -0
  36. package/dist/protos/measurement_service.d.ts +29 -1
  37. package/dist/protos/measurement_settings.d.ts +103 -32
  38. package/dist/protos/signal_params.d.ts +3 -3
  39. package/dist/protos/status_params.d.ts +9 -9
  40. package/dist/status_params.js +1 -1
  41. package/dist/status_params.mjs +655 -2169
  42. package/doc/assets/hierarchy.js +1 -1
  43. package/doc/assets/navigation.js +1 -1
  44. package/doc/assets/search.js +1 -1
  45. package/doc/classes/controls.LocalizedStrings.html +2 -2
  46. package/doc/classes/models.DataBuffer.html +2 -2
  47. package/doc/classes/models.DataBufferView.html +2 -2
  48. package/doc/classes/models.Point.html +2 -2
  49. package/doc/enums/models.AccessMode.html +2 -2
  50. package/doc/enums/models.AppEvent.html +2 -2
  51. package/doc/enums/models.CanChannelCap.html +2 -2
  52. package/doc/enums/models.CanFrameFlag.html +2 -2
  53. package/doc/enums/models.CanMessageFilterType.html +6 -0
  54. package/doc/enums/models.CanMode.html +2 -2
  55. package/doc/enums/models.DecimalChar.html +2 -2
  56. package/doc/enums/models.DeviceEvent.html +2 -2
  57. package/doc/enums/models.FileConflictAction.html +2 -2
  58. package/doc/enums/models.FileType.html +2 -2
  59. package/doc/enums/models.LinFrameFlag.html +2 -2
  60. package/doc/enums/models.LogFileFormat.html +5 -5
  61. package/doc/enums/models.LogLevel.html +2 -2
  62. package/doc/enums/models.LogReplayState.html +2 -2
  63. package/doc/enums/{models.MessageLoggerState.html → models.LoggerState.html} +7 -7
  64. package/doc/enums/models.MeasurementEvent.html +2 -2
  65. package/doc/enums/models.Protocols.html +2 -2
  66. package/doc/enums/models.Separator.html +2 -2
  67. package/doc/enums/models.SignalEncoding.html +2 -2
  68. package/doc/enums/models.SignalType.html +2 -2
  69. package/doc/enums/models.SignalValueTriggerOperator.html +2 -2
  70. package/doc/enums/models.StatusLevel.html +2 -2
  71. package/doc/enums/models.TimeReference.html +2 -2
  72. package/doc/enums/models.TriggerOperator.html +2 -2
  73. package/doc/functions/controls.CanChannelSelectControl.html +2 -2
  74. package/doc/functions/controls.CanIdentifierControl.html +2 -2
  75. package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
  76. package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
  77. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
  78. package/doc/functions/controls.CanKingDataProvider.html +2 -2
  79. package/doc/functions/controls.CheckboxControl.html +2 -2
  80. package/doc/functions/controls.ColumnItemControl.html +2 -2
  81. package/doc/functions/controls.ContextMenu.html +2 -2
  82. package/doc/functions/controls.DropdownButton.html +2 -2
  83. package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
  84. package/doc/functions/controls.DropdownPanel.html +2 -2
  85. package/doc/functions/controls.FillBox.html +2 -2
  86. package/doc/functions/controls.FormControlRow.html +2 -2
  87. package/doc/functions/controls.InlineEditor.html +2 -2
  88. package/doc/functions/controls.LinChannelSelectControl.html +4 -0
  89. package/doc/functions/controls.LinIdentifierControl.html +4 -0
  90. package/doc/functions/controls.LinIdentifierFrameControl.html +4 -0
  91. package/doc/functions/controls.LinIdentifierGeneratorControl.html +4 -0
  92. package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +5 -0
  93. package/doc/functions/controls.NumberRangeControl.html +2 -2
  94. package/doc/functions/controls.OneLineButton.html +2 -2
  95. package/doc/functions/controls.RadioControl.html +2 -2
  96. package/doc/functions/controls.RadioGroupControl.html +2 -2
  97. package/doc/functions/controls.SectionControl.html +2 -2
  98. package/doc/functions/controls.SelectControl.html +2 -2
  99. package/doc/functions/controls.SelectMessageDialog.html +2 -0
  100. package/doc/functions/controls.SelectSignalControl.html +1 -0
  101. package/doc/functions/controls.SelectSignalDialog.html +2 -0
  102. package/doc/functions/controls.SizedBox.html +2 -2
  103. package/doc/functions/controls.TableControl.html +2 -2
  104. package/doc/functions/controls.TabsPanel.html +2 -2
  105. package/doc/functions/controls.TextControl.html +2 -2
  106. package/doc/functions/controls.ToolbarControl.html +2 -2
  107. package/doc/functions/controls.ValidateableTextControl.html +2 -2
  108. package/doc/functions/controls.useColumnItem.html +3 -3
  109. package/doc/functions/controls.useColumnItems.html +3 -3
  110. package/doc/functions/controls.useMessageDatabases.html +2 -0
  111. package/doc/functions/hooks.useDevices.html +2 -2
  112. package/doc/functions/hooks.useIsOnline.html +2 -2
  113. package/doc/functions/hooks.useLanguage.html +2 -2
  114. package/doc/functions/hooks.useLocalizedStrings.html +2 -2
  115. package/doc/functions/hooks.useLogMessages.html +2 -2
  116. package/doc/functions/hooks.useMaxDataBytes.html +2 -2
  117. package/doc/functions/hooks.useMeasurementSetup.html +2 -2
  118. package/doc/functions/hooks.useMeasurementStatus.html +2 -2
  119. package/doc/functions/hooks.useMessageLogFileFormats.html +3 -2
  120. package/doc/functions/hooks.useNewMeasurementData.html +2 -2
  121. package/doc/functions/hooks.useNodeStatus.html +2 -2
  122. package/doc/functions/hooks.useNumericRadix.html +2 -2
  123. package/doc/functions/hooks.useOnlineStatus.html +2 -2
  124. package/doc/functions/hooks.useOverallStatusLevel.html +2 -2
  125. package/doc/functions/hooks.useProjectData.html +2 -2
  126. package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
  127. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +2 -2
  128. package/doc/functions/hooks.useSessionData.html +2 -2
  129. package/doc/functions/hooks.useSignalLogFileFormats.html +2 -0
  130. package/doc/functions/hooks.useUserSettings.html +2 -2
  131. package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
  132. package/doc/functions/icons.AddIcon.html +2 -2
  133. package/doc/functions/icons.ArrowDownIcon.html +2 -2
  134. package/doc/functions/icons.ArrowLeftIcon.html +2 -2
  135. package/doc/functions/icons.ArrowRightIcon.html +2 -2
  136. package/doc/functions/icons.ArrowUpIcon.html +2 -2
  137. package/doc/functions/icons.BusIsOffIcon.html +2 -2
  138. package/doc/functions/icons.BusIsOnIcon.html +2 -2
  139. package/doc/functions/icons.CloseIcon.html +2 -2
  140. package/doc/functions/icons.ColumnSettingsIcon.html +4 -0
  141. package/doc/functions/icons.CopyIcon.html +2 -2
  142. package/doc/functions/icons.DarkModeIcon.html +2 -2
  143. package/doc/functions/icons.DeleteIcon.html +2 -2
  144. package/doc/functions/icons.DisableIcon.html +2 -2
  145. package/doc/functions/icons.EditIcon.html +2 -2
  146. package/doc/functions/icons.EnableIcon.html +4 -0
  147. package/doc/functions/icons.FilterIcon.html +2 -2
  148. package/doc/functions/icons.FixedPositionIcon.html +2 -2
  149. package/doc/functions/icons.LeaveFullScreenIcon.html +2 -2
  150. package/doc/functions/icons.LightModeIcon.html +2 -2
  151. package/doc/functions/icons.LineArrowDownIcon.html +2 -2
  152. package/doc/functions/icons.LineArrowUpIcon.html +2 -2
  153. package/doc/functions/icons.MaximizeWindowIcon.html +2 -2
  154. package/doc/functions/icons.MeasurementSetupIcon.html +2 -2
  155. package/doc/functions/icons.MoreHorizIcon.html +2 -2
  156. package/doc/functions/icons.MoreVertIcon.html +2 -2
  157. package/doc/functions/icons.NewIcon.html +2 -2
  158. package/doc/functions/icons.OpenExternallyIcon.html +2 -2
  159. package/doc/functions/icons.OpenIcon.html +2 -2
  160. package/doc/functions/icons.PauseIcon.html +2 -2
  161. package/doc/functions/icons.PlayIcon.html +2 -2
  162. package/doc/functions/icons.PlaySolidIcon.html +2 -2
  163. package/doc/functions/icons.SaveIcon.html +2 -2
  164. package/doc/functions/icons.SelectAllIcon.html +2 -2
  165. package/doc/functions/icons.ServiceIconActive.html +2 -2
  166. package/doc/functions/icons.ServiceIconInactive.html +2 -2
  167. package/doc/functions/icons.SettingsIcon.html +2 -2
  168. package/doc/functions/icons.StopIcon.html +2 -2
  169. package/doc/functions/icons.StopSolidIcon.html +2 -2
  170. package/doc/functions/icons.ToolsPanelHiddenIcon.html +2 -2
  171. package/doc/functions/icons.ToolsPanelVisibleIcon.html +2 -2
  172. package/doc/functions/icons.UnmaximizeWindowIcon.html +2 -2
  173. package/doc/functions/icons.WorkspacesIcon.html +2 -2
  174. package/doc/functions/ipc.addDataProcessor.html +2 -2
  175. package/doc/functions/ipc.addSource.html +2 -2
  176. package/doc/functions/ipc.addTarget.html +2 -2
  177. package/doc/functions/ipc.clearLinMessage.html +4 -0
  178. package/doc/functions/ipc.connectNodes.html +2 -2
  179. package/doc/functions/ipc.deleteDataProcessor.html +2 -2
  180. package/doc/functions/ipc.deleteSource.html +2 -2
  181. package/doc/functions/ipc.deleteTarget.html +2 -2
  182. package/doc/functions/ipc.disableNode.html +2 -2
  183. package/doc/functions/ipc.disconnectNodes.html +2 -2
  184. package/doc/functions/ipc.enableNode.html +2 -2
  185. package/doc/functions/ipc.getFrameDefinitions.html +2 -2
  186. package/doc/functions/ipc.getLogger.html +2 -2
  187. package/doc/functions/ipc.getMessageLogFileFormats.html +2 -2
  188. package/doc/functions/ipc.getSignalLogFileFormats.html +3 -0
  189. package/doc/functions/ipc.requestLinMessage.html +5 -0
  190. package/doc/functions/ipc.sendCanMessage.html +2 -2
  191. package/doc/functions/ipc.sendMessage.html +2 -2
  192. package/doc/functions/ipc.showMessageBox.html +2 -2
  193. package/doc/functions/ipc.showQuestionBox.html +2 -2
  194. package/doc/functions/ipc.startLogReplay.html +2 -2
  195. package/doc/functions/ipc.startMeasurement.html +2 -2
  196. package/doc/functions/ipc.startPeriodicTransmission.html +2 -2
  197. package/doc/functions/ipc.stopLogReplay.html +2 -2
  198. package/doc/functions/ipc.stopMeasurement.html +2 -2
  199. package/doc/functions/ipc.stopPeriodicTransmission.html +2 -2
  200. package/doc/functions/ipc.updateDataProcessor.html +2 -2
  201. package/doc/functions/ipc.updateLinMessage.html +4 -0
  202. package/doc/functions/ipc.updatePeriodicTransmission.html +2 -2
  203. package/doc/functions/ipc.updateSource.html +2 -2
  204. package/doc/functions/ipc.updateTarget.html +2 -2
  205. package/doc/functions/models.accessModeFromJSON.html +1 -1
  206. package/doc/functions/models.accessModeToJSON.html +1 -1
  207. package/doc/functions/models.appEventFromJSON.html +1 -1
  208. package/doc/functions/models.appEventToJSON.html +1 -1
  209. package/doc/functions/models.canChannelCapFromJSON.html +1 -1
  210. package/doc/functions/models.canChannelCapToJSON.html +1 -1
  211. package/doc/functions/models.canFrameFlagFromJSON.html +1 -1
  212. package/doc/functions/models.canFrameFlagToJSON.html +1 -1
  213. package/doc/functions/models.canMessageFilterTypeFromJSON.html +1 -0
  214. package/doc/functions/models.canMessageFilterTypeToJSON.html +1 -0
  215. package/doc/functions/models.canModeFromJSON.html +1 -1
  216. package/doc/functions/models.canModeToJSON.html +1 -1
  217. package/doc/functions/models.createElectronApiFake.html +2 -2
  218. package/doc/functions/models.decimalCharFromJSON.html +1 -1
  219. package/doc/functions/models.decimalCharToJSON.html +1 -1
  220. package/doc/functions/models.decimalToFixed.html +1 -1
  221. package/doc/functions/models.decimalToHex.html +1 -1
  222. package/doc/functions/models.deviceEventFromJSON.html +1 -1
  223. package/doc/functions/models.deviceEventToJSON.html +1 -1
  224. package/doc/functions/models.fileConflictActionFromJSON.html +1 -1
  225. package/doc/functions/models.fileConflictActionToJSON.html +1 -1
  226. package/doc/functions/models.fileTypeFromJSON.html +1 -1
  227. package/doc/functions/models.fileTypeToJSON.html +1 -1
  228. package/doc/functions/models.linFrameFlagFromJSON.html +1 -1
  229. package/doc/functions/models.linFrameFlagToJSON.html +1 -1
  230. package/doc/functions/models.logFileFormatFromJSON.html +1 -1
  231. package/doc/functions/models.logFileFormatToJSON.html +1 -1
  232. package/doc/functions/models.logLevelFromJSON.html +1 -1
  233. package/doc/functions/models.logLevelToJSON.html +1 -1
  234. package/doc/functions/models.logReplayStateFromJSON.html +1 -1
  235. package/doc/functions/models.logReplayStateToJSON.html +1 -1
  236. package/doc/functions/models.loggerStateFromJSON.html +1 -0
  237. package/doc/functions/models.loggerStateToJSON.html +1 -0
  238. package/doc/functions/models.longToNumber.html +1 -1
  239. package/doc/functions/models.measurementEventFromJSON.html +1 -1
  240. package/doc/functions/models.measurementEventToJSON.html +1 -1
  241. package/doc/functions/models.protocolsFromJSON.html +1 -1
  242. package/doc/functions/models.protocolsToJSON.html +1 -1
  243. package/doc/functions/models.separatorFromJSON.html +1 -1
  244. package/doc/functions/models.separatorToJSON.html +1 -1
  245. package/doc/functions/models.signalEncodingFromJSON.html +1 -1
  246. package/doc/functions/models.signalEncodingToJSON.html +1 -1
  247. package/doc/functions/models.signalTypeFromJSON.html +1 -1
  248. package/doc/functions/models.signalTypeToJSON.html +1 -1
  249. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +1 -1
  250. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +1 -1
  251. package/doc/functions/models.statusLevelFromJSON.html +1 -1
  252. package/doc/functions/models.statusLevelToJSON.html +1 -1
  253. package/doc/functions/models.timeReferenceFromJSON.html +1 -1
  254. package/doc/functions/models.timeReferenceToJSON.html +1 -1
  255. package/doc/functions/models.triggerOperatorFromJSON.html +1 -1
  256. package/doc/functions/models.triggerOperatorToJSON.html +1 -1
  257. package/doc/hierarchy.html +1 -1
  258. package/doc/index.html +2 -2
  259. package/doc/interfaces/controls.ButtonGroupProps.html +2 -2
  260. package/doc/interfaces/controls.ButtonProps.html +2 -2
  261. package/doc/interfaces/controls.CanChannelSelectControlProps.html +2 -2
  262. package/doc/interfaces/controls.CanIdentifierControlProps.html +20 -4
  263. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +17 -3
  264. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +7 -7
  265. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +2 -2
  266. package/doc/interfaces/controls.CheckboxControlProps.html +2 -2
  267. package/doc/interfaces/controls.ColumnItem.html +3 -0
  268. package/doc/interfaces/controls.ColumnItemControlProps.html +2 -2
  269. package/doc/interfaces/controls.ContextMenuProps.html +2 -2
  270. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +3 -3
  271. package/doc/interfaces/controls.DropdownButtonProps.html +2 -2
  272. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +5 -5
  273. package/doc/interfaces/controls.DropdownPanelProps.html +2 -2
  274. package/doc/interfaces/controls.FormControlRowProps.html +2 -2
  275. package/doc/interfaces/controls.ILocalizedStrings.html +2 -2
  276. package/doc/interfaces/controls.IMessageDatabase.html +4 -0
  277. package/doc/interfaces/controls.InlineEditorProps.html +2 -2
  278. package/doc/interfaces/controls.LabelProps.html +2 -2
  279. package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -0
  280. package/doc/interfaces/controls.LinIdentifierControlProps.html +35 -0
  281. package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +33 -0
  282. package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -0
  283. package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +25 -0
  284. package/doc/interfaces/controls.NumberRangeControlProps.html +2 -2
  285. package/doc/interfaces/controls.RadioControlProps.html +2 -2
  286. package/doc/interfaces/controls.RadioGroupControlProps.html +2 -2
  287. package/doc/interfaces/controls.SectionControlProps.html +2 -2
  288. package/doc/interfaces/controls.SelectControlProps.html +2 -2
  289. package/doc/interfaces/controls.SelectMessageDialogProps.html +8 -0
  290. package/doc/interfaces/controls.SelectSignalDialogProps.html +12 -0
  291. package/doc/interfaces/controls.TableColumn.html +2 -2
  292. package/doc/interfaces/controls.TableControlProps.html +9 -3
  293. package/doc/interfaces/controls.TextControlProps.html +2 -2
  294. package/doc/interfaces/controls.ToggleButtonGroupProps.html +2 -2
  295. package/doc/interfaces/controls.ToggleButtonProps.html +2 -2
  296. package/doc/interfaces/controls.ToolbarControlProps.html +2 -2
  297. package/doc/interfaces/controls.ValidateableTextControlProps.html +2 -2
  298. package/doc/interfaces/controls.toolbarItem.html +2 -2
  299. package/doc/interfaces/ipc.ILogger.html +2 -2
  300. package/doc/interfaces/models.AboutInformation.html +2 -2
  301. package/doc/interfaces/models.ActivateLicenseRequest.html +2 -2
  302. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -2
  303. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -2
  304. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +2 -2
  305. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +2 -2
  306. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +2 -2
  307. package/doc/interfaces/models.ApiPreferences.html +2 -2
  308. package/doc/interfaces/models.AppEventArgs.html +2 -2
  309. package/doc/interfaces/models.BaseNodeProperties.html +2 -2
  310. package/doc/interfaces/models.BusStatus.html +2 -2
  311. package/doc/interfaces/models.CanBusParamLimits.html +2 -2
  312. package/doc/interfaces/models.CanBusParams.html +2 -2
  313. package/doc/interfaces/models.CanBusSpeedInfo.html +7 -13
  314. package/doc/interfaces/models.CanChannelCapacity.html +2 -2
  315. package/doc/interfaces/models.CanChannelConfiguration.html +11 -7
  316. package/doc/interfaces/models.CanFDBusSpeedCombination.html +4 -4
  317. package/doc/interfaces/models.CanFDBusSpeedInfo.html +8 -16
  318. package/doc/interfaces/models.CanFrameFlags.html +2 -2
  319. package/doc/interfaces/models.CanMessageFilterSettings.html +3 -3
  320. package/doc/interfaces/models.Channel.html +2 -2
  321. package/doc/interfaces/models.ChannelSettings.html +2 -2
  322. package/doc/interfaces/models.ClearLinMessageRequest.html +2 -2
  323. package/doc/interfaces/models.ConnectNodesRequest.html +2 -2
  324. package/doc/interfaces/models.DataProcessingStatus.html +2 -2
  325. package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -2
  326. package/doc/interfaces/models.DatabaseFiles.html +6 -0
  327. package/doc/interfaces/models.DatabasesSettings.html +2 -2
  328. package/doc/interfaces/models.Device.html +2 -2
  329. package/doc/interfaces/models.DeviceEventArgs.html +2 -2
  330. package/doc/interfaces/models.Devices.html +2 -2
  331. package/doc/interfaces/models.DisconnectNodesRequest.html +2 -2
  332. package/doc/interfaces/models.Empty.html +2 -2
  333. package/doc/interfaces/models.ErrorStatus.html +2 -2
  334. package/doc/interfaces/models.Frame.html +2 -2
  335. package/doc/interfaces/models.FrameDefinition.html +2 -2
  336. package/doc/interfaces/models.FrameDefinitions.html +2 -2
  337. package/doc/interfaces/models.FramePropertyValue.html +2 -2
  338. package/doc/interfaces/models.FrameReceivedTrigger.html +2 -2
  339. package/doc/interfaces/models.Frame_PropertiesEntry.html +2 -2
  340. package/doc/interfaces/models.Frames.html +2 -2
  341. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +6 -3
  342. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +2 -2
  343. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -2
  344. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +2 -2
  345. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +2 -2
  346. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +2 -2
  347. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -2
  348. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +2 -2
  349. package/doc/interfaces/models.GetDataProcessorResponse.html +2 -2
  350. package/doc/interfaces/models.GetDevicesRequest.html +2 -2
  351. package/doc/interfaces/models.GetDevicesResponse.html +2 -2
  352. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +2 -2
  353. package/doc/interfaces/models.GetLicensesResponse.html +2 -2
  354. package/doc/interfaces/models.GetLogFileFormatsRequest.html +6 -4
  355. package/doc/interfaces/models.GetLogFileFormatsResponse.html +2 -2
  356. package/doc/interfaces/models.GetLogLevelResponse.html +2 -2
  357. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +2 -2
  358. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +2 -2
  359. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +2 -2
  360. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +2 -2
  361. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +2 -2
  362. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +2 -2
  363. package/doc/interfaces/models.GetSourceResponse.html +2 -2
  364. package/doc/interfaces/models.GetTargetResponse.html +2 -2
  365. package/doc/interfaces/models.ILogFileFormat.html +2 -2
  366. package/doc/interfaces/models.IProject.html +2 -2
  367. package/doc/interfaces/models.IUserSettings.html +2 -2
  368. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -2
  369. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -2
  370. package/doc/interfaces/models.IWorkspaceData.html +2 -2
  371. package/doc/interfaces/models.IWorkspacePaneData.html +2 -2
  372. package/doc/interfaces/models.IdentifierRequest.html +2 -2
  373. package/doc/interfaces/models.IdentifiersRequest.html +2 -2
  374. package/doc/interfaces/models.InstallServiceExtensionRequest.html +2 -2
  375. package/doc/interfaces/models.InterpreterSettings.html +2 -2
  376. package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
  377. package/doc/interfaces/models.LicenseInformation.html +2 -2
  378. package/doc/interfaces/models.Licenses.html +2 -2
  379. package/doc/interfaces/models.LinChannelConfiguration.html +5 -3
  380. package/doc/interfaces/models.LinFrameFlags.html +2 -2
  381. package/doc/interfaces/models.LogMessage.html +2 -2
  382. package/doc/interfaces/models.LogMessages.html +2 -2
  383. package/doc/interfaces/models.LogReplaySettings.html +2 -2
  384. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +2 -2
  385. package/doc/interfaces/models.LogReplayStatus.html +2 -2
  386. package/doc/interfaces/models.LoggerStatus.html +3 -0
  387. package/doc/interfaces/models.MeasurementEventArgs.html +2 -2
  388. package/doc/interfaces/models.MeasurementSetup.html +2 -2
  389. package/doc/interfaces/models.MessageLoggerSettings.html +18 -14
  390. package/doc/interfaces/models.NodeStatus.html +5 -5
  391. package/doc/interfaces/models.NodeStatuses.html +2 -2
  392. package/doc/interfaces/models.OnlineStatus.html +2 -2
  393. package/doc/interfaces/models.PeriodicTransmissionSettings.html +2 -2
  394. package/doc/interfaces/models.RequestLinMessageRequest.html +2 -2
  395. package/doc/interfaces/models.ScheduleTable.html +2 -2
  396. package/doc/interfaces/models.ScheduleTableEntry.html +2 -2
  397. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +2 -2
  398. package/doc/interfaces/models.SendMessageRequest.html +2 -2
  399. package/doc/interfaces/models.ServiceExtensionSettings.html +2 -2
  400. package/doc/interfaces/models.SetLogLevelRequest.html +2 -2
  401. package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -2
  402. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +2 -2
  403. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +2 -2
  404. package/doc/interfaces/models.SignalDefinition.html +3 -3
  405. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +2 -2
  406. package/doc/interfaces/models.SignalDefinitions.html +2 -2
  407. package/doc/interfaces/models.SignalFilterSettings.html +4 -0
  408. package/doc/interfaces/models.SignalLoggerSettings.html +56 -0
  409. package/doc/interfaces/models.SignalValue.html +3 -3
  410. package/doc/interfaces/models.SignalValueTrigger.html +2 -2
  411. package/doc/interfaces/models.SourceNodeProperties.html +2 -2
  412. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +2 -2
  413. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -2
  414. package/doc/interfaces/models.TargetNodeProperties.html +4 -3
  415. package/doc/interfaces/models.TriggerSettings.html +2 -2
  416. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +2 -2
  417. package/doc/interfaces/models.UpdateLinMessageRequest.html +2 -2
  418. package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +2 -2
  419. package/doc/interfaces/models.WriteFrame.html +2 -2
  420. package/doc/modules/controls.html +2 -2
  421. package/doc/modules/hooks.html +2 -2
  422. package/doc/modules/icons.html +2 -2
  423. package/doc/modules/ipc.html +2 -2
  424. package/doc/modules/models.html +2 -2
  425. package/doc/modules.html +1 -1
  426. package/doc/types/controls.ContextMenuOption.html +2 -2
  427. package/doc/types/controls.SelectOption.html +2 -2
  428. package/doc/types/controls.StringsMap.html +2 -2
  429. package/doc/types/controls.canIdentifierGeneratorType.html +2 -0
  430. package/doc/types/controls.canIdentifierType.html +2 -2
  431. package/doc/types/controls.linIdentifierGeneratorType.html +2 -0
  432. package/doc/types/models.IReadOnlyDataBuffer.html +1 -1
  433. package/doc/types/models.themes.html +1 -1
  434. package/doc/variables/models.AboutInformation-1.html +1 -1
  435. package/doc/variables/models.ActivateLicenseRequest-1.html +1 -1
  436. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +1 -1
  437. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +1 -1
  438. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +1 -1
  439. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +1 -1
  440. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +1 -1
  441. package/doc/variables/models.ApiPreferences-1.html +1 -1
  442. package/doc/variables/models.AppEventArgs-1.html +1 -1
  443. package/doc/variables/models.BaseNodeProperties-1.html +1 -1
  444. package/doc/variables/models.BusStatus-1.html +1 -1
  445. package/doc/variables/models.CanBusParamLimits-1.html +1 -1
  446. package/doc/variables/models.CanBusParams-1.html +1 -1
  447. package/doc/variables/models.CanBusSpeedInfo-1.html +1 -1
  448. package/doc/variables/models.CanChannelCapacity-1.html +1 -1
  449. package/doc/variables/models.CanChannelConfiguration-1.html +1 -1
  450. package/doc/variables/models.CanFDBusSpeedCombination-1.html +1 -1
  451. package/doc/variables/models.CanFDBusSpeedInfo-1.html +1 -1
  452. package/doc/variables/models.CanFrameFlags-1.html +1 -1
  453. package/doc/variables/models.CanMessageFilterSettings-1.html +1 -1
  454. package/doc/variables/models.Channel-1.html +1 -1
  455. package/doc/variables/models.ChannelSettings-1.html +1 -1
  456. package/doc/variables/models.ClearLinMessageRequest-1.html +1 -1
  457. package/doc/variables/models.ConnectNodesRequest-1.html +1 -1
  458. package/doc/variables/models.DataProcessingStatus-1.html +1 -1
  459. package/doc/variables/models.DataProcessorNodeProperties-1.html +1 -1
  460. package/doc/variables/models.DatabaseFiles-1.html +1 -0
  461. package/doc/variables/models.DatabasesSettings-1.html +1 -1
  462. package/doc/variables/models.Device-1.html +1 -1
  463. package/doc/variables/models.DeviceEventArgs-1.html +1 -1
  464. package/doc/variables/models.Devices-1.html +1 -1
  465. package/doc/variables/models.DisconnectNodesRequest-1.html +1 -1
  466. package/doc/variables/models.Empty-1.html +1 -1
  467. package/doc/variables/models.ErrorStatus-1.html +1 -1
  468. package/doc/variables/models.Frame-1.html +1 -1
  469. package/doc/variables/models.FrameDefinition-1.html +1 -1
  470. package/doc/variables/models.FrameDefinitions-1.html +1 -1
  471. package/doc/variables/models.FramePropertyValue-1.html +1 -1
  472. package/doc/variables/models.FrameReceivedTrigger-1.html +1 -1
  473. package/doc/variables/models.Frame_PropertiesEntry-1.html +1 -1
  474. package/doc/variables/models.Frames-1.html +1 -1
  475. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +1 -1
  476. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +1 -1
  477. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +1 -1
  478. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +1 -1
  479. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +1 -1
  480. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +1 -1
  481. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +1 -1
  482. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +1 -1
  483. package/doc/variables/models.GetDataProcessorResponse-1.html +1 -1
  484. package/doc/variables/models.GetDevicesRequest-1.html +1 -1
  485. package/doc/variables/models.GetDevicesResponse-1.html +1 -1
  486. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +1 -1
  487. package/doc/variables/models.GetLicensesResponse-1.html +1 -1
  488. package/doc/variables/models.GetLogFileFormatsRequest-1.html +1 -1
  489. package/doc/variables/models.GetLogFileFormatsResponse-1.html +1 -1
  490. package/doc/variables/models.GetLogLevelResponse-1.html +1 -1
  491. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +1 -1
  492. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +1 -1
  493. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +1 -1
  494. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +1 -1
  495. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +1 -1
  496. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +1 -1
  497. package/doc/variables/models.GetSourceResponse-1.html +1 -1
  498. package/doc/variables/models.GetTargetResponse-1.html +1 -1
  499. package/doc/variables/models.IdentifierRequest-1.html +1 -1
  500. package/doc/variables/models.IdentifiersRequest-1.html +1 -1
  501. package/doc/variables/models.InstallServiceExtensionRequest-1.html +1 -1
  502. package/doc/variables/models.InterpreterSettings-1.html +1 -1
  503. package/doc/variables/models.J1939InterpreterSettings-1.html +1 -1
  504. package/doc/variables/models.LicenseInformation-1.html +1 -1
  505. package/doc/variables/models.Licenses-1.html +1 -1
  506. package/doc/variables/models.LinChannelConfiguration-1.html +1 -1
  507. package/doc/variables/models.LinFrameFlags-1.html +1 -1
  508. package/doc/variables/models.LogMessage-1.html +1 -1
  509. package/doc/variables/models.LogMessages-1.html +1 -1
  510. package/doc/variables/models.LogReplaySettings-1.html +1 -1
  511. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +1 -1
  512. package/doc/variables/models.LogReplayStatus-1.html +1 -1
  513. package/doc/variables/models.LoggerStatus-1.html +1 -0
  514. package/doc/variables/models.MeasurementEventArgs-1.html +1 -1
  515. package/doc/variables/models.MeasurementSetup-1.html +1 -1
  516. package/doc/variables/models.MessageLoggerSettings-1.html +1 -1
  517. package/doc/variables/models.NodeStatus-1.html +1 -1
  518. package/doc/variables/models.NodeStatuses-1.html +1 -1
  519. package/doc/variables/models.OnlineStatus-1.html +1 -1
  520. package/doc/variables/models.PeriodicTransmissionSettings-1.html +1 -1
  521. package/doc/variables/models.RequestLinMessageRequest-1.html +1 -1
  522. package/doc/variables/models.ScheduleTable-1.html +1 -1
  523. package/doc/variables/models.ScheduleTableEntry-1.html +1 -1
  524. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +1 -1
  525. package/doc/variables/models.SendMessageRequest-1.html +1 -1
  526. package/doc/variables/models.ServiceExtensionSettings-1.html +1 -1
  527. package/doc/variables/models.SetLogLevelRequest-1.html +1 -1
  528. package/doc/variables/models.SetMeasurementSetupRequest-1.html +1 -1
  529. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +1 -1
  530. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +1 -1
  531. package/doc/variables/models.SignalDefinition-1.html +1 -1
  532. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +1 -1
  533. package/doc/variables/models.SignalDefinitions-1.html +1 -1
  534. package/doc/variables/models.SignalFilterSettings-1.html +1 -0
  535. package/doc/variables/models.SignalLoggerSettings-1.html +1 -0
  536. package/doc/variables/models.SignalValue-1.html +1 -1
  537. package/doc/variables/models.SignalValueTrigger-1.html +1 -1
  538. package/doc/variables/models.SourceNodeProperties-1.html +1 -1
  539. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +1 -1
  540. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +1 -1
  541. package/doc/variables/models.TargetNodeProperties-1.html +1 -1
  542. package/doc/variables/models.TriggerSettings-1.html +1 -1
  543. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +1 -1
  544. package/doc/variables/models.UpdateLinMessageRequest-1.html +1 -1
  545. package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +1 -1
  546. package/doc/variables/models.WriteFrame-1.html +1 -1
  547. package/doc/variables/models.defaultUserSettings.html +2 -2
  548. package/package.json +14 -1
  549. package/doc/functions/models.messageLoggerStateFromJSON.html +0 -1
  550. package/doc/functions/models.messageLoggerStateToJSON.html +0 -1
  551. package/doc/interfaces/models.CanBusSpeed.html +0 -14
  552. package/doc/interfaces/models.MessageLoggerStatus.html +0 -3
  553. package/doc/variables/models.CanBusSpeed-1.html +0 -1
  554. package/doc/variables/models.MessageLoggerStatus-1.html +0 -1
@@ -1,16 +1,16 @@
1
- import { al as u, am as o, S as E, m as U, z as On, y as hn, Z as _, W as T, aa as C, a9 as R, a8 as k, U as H, R as q, ab as I } 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 An = {
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,14 @@ const An = {
26
26
  return {};
27
27
  },
28
28
  create(e) {
29
- return An.fromPartial(e ?? {});
30
- },
31
- fromPartial(e) {
32
- return Y();
33
- }
34
- };
35
- function X() {
36
- return { version: "", language: "", useHexNumericBase: !1, username: "" };
37
- }
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 ?? {});
29
+ return qe.fromPartial(e ?? {});
94
30
  },
95
31
  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;
32
+ return F();
98
33
  }
99
34
  };
100
- function w(e) {
101
- return e != null;
102
- }
103
- var _n = /* @__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))(_n || {});
104
- function Wr(e) {
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) {
105
37
  switch (e) {
106
38
  case 0:
107
39
  case "PROJECT_FILE":
@@ -121,7 +53,7 @@ function Wr(e) {
121
53
  return -1;
122
54
  }
123
55
  }
124
- function Kr(e) {
56
+ function jn(e) {
125
57
  switch (e) {
126
58
  case 0:
127
59
  return "PROJECT_FILE";
@@ -136,8 +68,8 @@ function Kr(e) {
136
68
  return "UNRECOGNIZED";
137
69
  }
138
70
  }
139
- var Tn = /* @__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))(Tn || {});
140
- 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) {
141
73
  switch (e) {
142
74
  case 0:
143
75
  case "LOG_LEVEL_TRACE":
@@ -166,7 +98,7 @@ function K(e) {
166
98
  return -1;
167
99
  }
168
100
  }
169
- function Q(e) {
101
+ function y(e) {
170
102
  switch (e) {
171
103
  case 0:
172
104
  return "LOG_LEVEL_TRACE";
@@ -187,8 +119,8 @@ function Q(e) {
187
119
  return "UNRECOGNIZED";
188
120
  }
189
121
  }
190
- var Cn = /* @__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))(Cn || {});
191
- function Rn(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) {
192
124
  switch (e) {
193
125
  case 0:
194
126
  case "APP_EVENT_UNSPECIFIED":
@@ -202,7 +134,7 @@ function Rn(e) {
202
134
  return -1;
203
135
  }
204
136
  }
205
- function kn(e) {
137
+ function We(e) {
206
138
  switch (e) {
207
139
  case 0:
208
140
  return "APP_EVENT_UNSPECIFIED";
@@ -213,17 +145,17 @@ function kn(e) {
213
145
  return "UNRECOGNIZED";
214
146
  }
215
147
  }
216
- function $() {
148
+ function U() {
217
149
  return { preferences: void 0, logLevel: 0 };
218
150
  }
219
- const In = {
151
+ const Ye = {
220
152
  encode(e, n = new u()) {
221
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;
222
154
  },
223
155
  decode(e, n) {
224
156
  const r = e instanceof o ? e : new o(e);
225
157
  let a = n === void 0 ? r.len : r.pos + n;
226
- const t = $();
158
+ const t = U();
227
159
  for (; r.pos < a; ) {
228
160
  const i = r.uint32();
229
161
  switch (i >>> 3) {
@@ -248,33 +180,33 @@ const In = {
248
180
  },
249
181
  fromJSON(e) {
250
182
  return {
251
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
252
- 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
253
185
  };
254
186
  },
255
187
  toJSON(e) {
256
188
  const n = {};
257
- 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;
258
190
  },
259
191
  create(e) {
260
- return In.fromPartial(e ?? {});
192
+ return Ye.fromPartial(e ?? {});
261
193
  },
262
194
  fromPartial(e) {
263
- const n = $();
195
+ const n = U();
264
196
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.logLevel = e.logLevel ?? 0, n;
265
197
  }
266
198
  };
267
- function z() {
199
+ function B() {
268
200
  return { logLevel: 0 };
269
201
  }
270
- const Ln = {
202
+ const $e = {
271
203
  encode(e, n = new u()) {
272
204
  return e.logLevel !== 0 && n.uint32(8).int32(e.logLevel), n;
273
205
  },
274
206
  decode(e, n) {
275
207
  const r = e instanceof o ? e : new o(e);
276
208
  let a = n === void 0 ? r.len : r.pos + n;
277
- const t = z();
209
+ const t = B();
278
210
  for (; r.pos < a; ) {
279
211
  const i = r.uint32();
280
212
  switch (i >>> 3) {
@@ -292,38 +224,38 @@ const Ln = {
292
224
  return t;
293
225
  },
294
226
  fromJSON(e) {
295
- return { logLevel: l(e.logLevel) ? K(e.logLevel) : 0 };
227
+ return { logLevel: c(e.logLevel) ? D(e.logLevel) : 0 };
296
228
  },
297
229
  toJSON(e) {
298
230
  const n = {};
299
- return e.logLevel !== 0 && (n.logLevel = Q(e.logLevel)), n;
231
+ return e.logLevel !== 0 && (n.logLevel = y(e.logLevel)), n;
300
232
  },
301
233
  create(e) {
302
- return Ln.fromPartial(e ?? {});
234
+ return $e.fromPartial(e ?? {});
303
235
  },
304
236
  fromPartial(e) {
305
- const n = z();
237
+ const n = B();
306
238
  return n.logLevel = e.logLevel ?? 0, n;
307
239
  }
308
240
  };
309
- function j() {
310
- return { time: c.ZERO, logLevel: 0, eventId: 0, categoryName: "", message: "" };
241
+ function w() {
242
+ return { time: d.ZERO, logLevel: 0, eventId: 0, categoryName: "", message: "" };
311
243
  }
312
- const L = {
244
+ const g = {
313
245
  encode(e, n = new u()) {
314
- 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;
315
247
  },
316
248
  decode(e, n) {
317
249
  const r = e instanceof o ? e : new o(e);
318
250
  let a = n === void 0 ? r.len : r.pos + n;
319
- const t = j();
251
+ const t = w();
320
252
  for (; r.pos < a; ) {
321
253
  const i = r.uint32();
322
254
  switch (i >>> 3) {
323
255
  case 1: {
324
256
  if (i !== 8)
325
257
  break;
326
- t.time = c.fromString(r.int64().toString());
258
+ t.time = d.fromString(r.int64().toString());
327
259
  continue;
328
260
  }
329
261
  case 2: {
@@ -359,45 +291,45 @@ const L = {
359
291
  },
360
292
  fromJSON(e) {
361
293
  return {
362
- time: l(e.time) ? c.fromValue(e.time) : c.ZERO,
363
- logLevel: l(e.logLevel) ? K(e.logLevel) : 0,
364
- eventId: l(e.eventId) ? globalThis.Number(e.eventId) : 0,
365
- categoryName: l(e.categoryName) ? globalThis.String(e.categoryName) : "",
366
- 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) : ""
367
299
  };
368
300
  },
369
301
  toJSON(e) {
370
302
  const n = {};
371
- 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;
372
304
  },
373
305
  create(e) {
374
- return L.fromPartial(e ?? {});
306
+ return g.fromPartial(e ?? {});
375
307
  },
376
308
  fromPartial(e) {
377
- const n = j();
378
- 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;
379
311
  }
380
312
  };
381
- function ee() {
313
+ function q() {
382
314
  return { items: [] };
383
315
  }
384
- const gn = {
316
+ const ze = {
385
317
  encode(e, n = new u()) {
386
318
  for (const r of e.items)
387
- L.encode(r, n.uint32(10).fork()).join();
319
+ g.encode(r, n.uint32(10).fork()).join();
388
320
  return n;
389
321
  },
390
322
  decode(e, n) {
391
323
  const r = e instanceof o ? e : new o(e);
392
324
  let a = n === void 0 ? r.len : r.pos + n;
393
- const t = ee();
325
+ const t = q();
394
326
  for (; r.pos < a; ) {
395
327
  const i = r.uint32();
396
328
  switch (i >>> 3) {
397
329
  case 1: {
398
330
  if (i !== 10)
399
331
  break;
400
- t.items.push(L.decode(r, r.uint32()));
332
+ t.items.push(g.decode(r, r.uint32()));
401
333
  continue;
402
334
  }
403
335
  }
@@ -409,24 +341,24 @@ const gn = {
409
341
  },
410
342
  fromJSON(e) {
411
343
  return {
412
- items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => L.fromJSON(n)) : []
344
+ items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => g.fromJSON(n)) : []
413
345
  };
414
346
  },
415
347
  toJSON(e) {
416
348
  var r;
417
349
  const n = {};
418
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => L.toJSON(a))), n;
350
+ return (r = e.items) != null && r.length && (n.items = e.items.map((a) => g.toJSON(a))), n;
419
351
  },
420
352
  create(e) {
421
- return gn.fromPartial(e ?? {});
353
+ return ze.fromPartial(e ?? {});
422
354
  },
423
355
  fromPartial(e) {
424
356
  var r;
425
- const n = ee();
426
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => L.fromPartial(a))) || [], n;
357
+ const n = q();
358
+ return n.items = ((r = e.items) == null ? void 0 : r.map((a) => g.fromPartial(a))) || [], n;
427
359
  }
428
360
  };
429
- function ne() {
361
+ function Z() {
430
362
  return {
431
363
  licenseKey: "",
432
364
  productId: "",
@@ -434,18 +366,18 @@ function ne() {
434
366
  productVersion: "",
435
367
  instanceId: "",
436
368
  instanceName: "",
437
- expirationDate: c.ZERO,
369
+ expirationDate: d.ZERO,
438
370
  isValid: !1
439
371
  };
440
372
  }
441
- const P = {
373
+ const N = {
442
374
  encode(e, n = new u()) {
443
- 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;
444
376
  },
445
377
  decode(e, n) {
446
378
  const r = e instanceof o ? e : new o(e);
447
379
  let a = n === void 0 ? r.len : r.pos + n;
448
- const t = ne();
380
+ const t = Z();
449
381
  for (; r.pos < a; ) {
450
382
  const i = r.uint32();
451
383
  switch (i >>> 3) {
@@ -488,7 +420,7 @@ const P = {
488
420
  case 7: {
489
421
  if (i !== 56)
490
422
  break;
491
- t.expirationDate = c.fromString(r.int64().toString());
423
+ t.expirationDate = d.fromString(r.int64().toString());
492
424
  continue;
493
425
  }
494
426
  case 8: {
@@ -506,48 +438,48 @@ const P = {
506
438
  },
507
439
  fromJSON(e) {
508
440
  return {
509
- licenseKey: l(e.licenseKey) ? globalThis.String(e.licenseKey) : "",
510
- productId: l(e.productId) ? globalThis.String(e.productId) : "",
511
- productName: l(e.productName) ? globalThis.String(e.productName) : "",
512
- productVersion: l(e.productVersion) ? globalThis.String(e.productVersion) : "",
513
- instanceId: l(e.instanceId) ? globalThis.String(e.instanceId) : "",
514
- instanceName: l(e.instanceName) ? globalThis.String(e.instanceName) : "",
515
- expirationDate: l(e.expirationDate) ? c.fromValue(e.expirationDate) : c.ZERO,
516
- 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
517
449
  };
518
450
  },
519
451
  toJSON(e) {
520
452
  const n = {};
521
- 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;
522
454
  },
523
455
  create(e) {
524
- return P.fromPartial(e ?? {});
456
+ return N.fromPartial(e ?? {});
525
457
  },
526
458
  fromPartial(e) {
527
- const n = ne();
528
- 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;
529
461
  }
530
462
  };
531
- function re() {
463
+ function K() {
532
464
  return { items: [] };
533
465
  }
534
- const g = {
466
+ const k = {
535
467
  encode(e, n = new u()) {
536
468
  for (const r of e.items)
537
- P.encode(r, n.uint32(10).fork()).join();
469
+ N.encode(r, n.uint32(10).fork()).join();
538
470
  return n;
539
471
  },
540
472
  decode(e, n) {
541
473
  const r = e instanceof o ? e : new o(e);
542
474
  let a = n === void 0 ? r.len : r.pos + n;
543
- const t = re();
475
+ const t = K();
544
476
  for (; r.pos < a; ) {
545
477
  const i = r.uint32();
546
478
  switch (i >>> 3) {
547
479
  case 1: {
548
480
  if (i !== 10)
549
481
  break;
550
- t.items.push(P.decode(r, r.uint32()));
482
+ t.items.push(N.decode(r, r.uint32()));
551
483
  continue;
552
484
  }
553
485
  }
@@ -559,34 +491,34 @@ const g = {
559
491
  },
560
492
  fromJSON(e) {
561
493
  return {
562
- 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)) : []
563
495
  };
564
496
  },
565
497
  toJSON(e) {
566
498
  var r;
567
499
  const n = {};
568
- 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;
569
501
  },
570
502
  create(e) {
571
- return g.fromPartial(e ?? {});
503
+ return k.fromPartial(e ?? {});
572
504
  },
573
505
  fromPartial(e) {
574
506
  var r;
575
- const n = re();
576
- 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;
577
509
  }
578
510
  };
579
- function ie() {
511
+ function Q() {
580
512
  return { eventType: 0, licenses: void 0 };
581
513
  }
582
- const Jn = {
514
+ const Xe = {
583
515
  encode(e, n = new u()) {
584
- return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.licenses !== void 0 && g.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;
585
517
  },
586
518
  decode(e, n) {
587
519
  const r = e instanceof o ? e : new o(e);
588
520
  let a = n === void 0 ? r.len : r.pos + n;
589
- const t = ie();
521
+ const t = Q();
590
522
  for (; r.pos < a; ) {
591
523
  const i = r.uint32();
592
524
  switch (i >>> 3) {
@@ -599,7 +531,7 @@ const Jn = {
599
531
  case 2: {
600
532
  if (i !== 18)
601
533
  break;
602
- t.licenses = g.decode(r, r.uint32());
534
+ t.licenses = k.decode(r, r.uint32());
603
535
  continue;
604
536
  }
605
537
  }
@@ -611,33 +543,33 @@ const Jn = {
611
543
  },
612
544
  fromJSON(e) {
613
545
  return {
614
- eventType: l(e.eventType) ? Rn(e.eventType) : 0,
615
- licenses: l(e.licenses) ? g.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
616
548
  };
617
549
  },
618
550
  toJSON(e) {
619
551
  const n = {};
620
- return e.eventType !== 0 && (n.eventType = kn(e.eventType)), e.licenses !== void 0 && (n.licenses = g.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;
621
553
  },
622
554
  create(e) {
623
- return Jn.fromPartial(e ?? {});
555
+ return Xe.fromPartial(e ?? {});
624
556
  },
625
557
  fromPartial(e) {
626
- const n = ie();
627
- return n.eventType = e.eventType ?? 0, n.licenses = e.licenses !== void 0 && e.licenses !== null ? g.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;
628
560
  }
629
561
  };
630
- function te() {
562
+ function H() {
631
563
  return { preferences: void 0, filePath: "", replaceExisting: void 0 };
632
564
  }
633
- const vn = {
565
+ const be = {
634
566
  encode(e, n = new u()) {
635
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;
636
568
  },
637
569
  decode(e, n) {
638
570
  const r = e instanceof o ? e : new o(e);
639
571
  let a = n === void 0 ? r.len : r.pos + n;
640
- const t = te();
572
+ const t = H();
641
573
  for (; r.pos < a; ) {
642
574
  const i = r.uint32();
643
575
  switch (i >>> 3) {
@@ -668,9 +600,9 @@ const vn = {
668
600
  },
669
601
  fromJSON(e) {
670
602
  return {
671
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
672
- filePath: l(e.filePath) ? globalThis.String(e.filePath) : "",
673
- 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
674
606
  };
675
607
  },
676
608
  toJSON(e) {
@@ -678,24 +610,24 @@ const vn = {
678
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;
679
611
  },
680
612
  create(e) {
681
- return vn.fromPartial(e ?? {});
613
+ return be.fromPartial(e ?? {});
682
614
  },
683
615
  fromPartial(e) {
684
- const n = te();
616
+ const n = H();
685
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;
686
618
  }
687
619
  };
688
- function ae() {
620
+ function W() {
689
621
  return { preferences: void 0, name: "" };
690
622
  }
691
- const Dn = {
623
+ const je = {
692
624
  encode(e, n = new u()) {
693
625
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.name !== "" && n.uint32(18).string(e.name), n;
694
626
  },
695
627
  decode(e, n) {
696
628
  const r = e instanceof o ? e : new o(e);
697
629
  let a = n === void 0 ? r.len : r.pos + n;
698
- const t = ae();
630
+ const t = W();
699
631
  for (; r.pos < a; ) {
700
632
  const i = r.uint32();
701
633
  switch (i >>> 3) {
@@ -720,8 +652,8 @@ const Dn = {
720
652
  },
721
653
  fromJSON(e) {
722
654
  return {
723
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
724
- 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) : ""
725
657
  };
726
658
  },
727
659
  toJSON(e) {
@@ -729,24 +661,24 @@ const Dn = {
729
661
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.name !== "" && (n.name = e.name), n;
730
662
  },
731
663
  create(e) {
732
- return Dn.fromPartial(e ?? {});
664
+ return je.fromPartial(e ?? {});
733
665
  },
734
666
  fromPartial(e) {
735
- const n = ae();
667
+ const n = W();
736
668
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.name = e.name ?? "", n;
737
669
  }
738
670
  };
739
- function se() {
671
+ function Y() {
740
672
  return { preferences: void 0, filePathOrName: "" };
741
673
  }
742
- const xn = {
674
+ const en = {
743
675
  encode(e, n = new u()) {
744
676
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.filePathOrName !== "" && n.uint32(18).string(e.filePathOrName), n;
745
677
  },
746
678
  decode(e, n) {
747
679
  const r = e instanceof o ? e : new o(e);
748
680
  let a = n === void 0 ? r.len : r.pos + n;
749
- const t = se();
681
+ const t = Y();
750
682
  for (; r.pos < a; ) {
751
683
  const i = r.uint32();
752
684
  switch (i >>> 3) {
@@ -771,8 +703,8 @@ const xn = {
771
703
  },
772
704
  fromJSON(e) {
773
705
  return {
774
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
775
- 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) : ""
776
708
  };
777
709
  },
778
710
  toJSON(e) {
@@ -780,24 +712,24 @@ const xn = {
780
712
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.filePathOrName !== "" && (n.filePathOrName = e.filePathOrName), n;
781
713
  },
782
714
  create(e) {
783
- return xn.fromPartial(e ?? {});
715
+ return en.fromPartial(e ?? {});
784
716
  },
785
717
  fromPartial(e) {
786
- const n = se();
718
+ const n = Y();
787
719
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.filePathOrName = e.filePathOrName ?? "", n;
788
720
  }
789
721
  };
790
- function oe() {
722
+ function $() {
791
723
  return { name: "", displayName: "", description: "", version: "", author: "", defaultConfig: "" };
792
724
  }
793
- const Mn = {
725
+ const nn = {
794
726
  encode(e, n = new u()) {
795
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;
796
728
  },
797
729
  decode(e, n) {
798
730
  const r = e instanceof o ? e : new o(e);
799
731
  let a = n === void 0 ? r.len : r.pos + n;
800
- const t = oe();
732
+ const t = $();
801
733
  for (; r.pos < a; ) {
802
734
  const i = r.uint32();
803
735
  switch (i >>> 3) {
@@ -846,12 +778,12 @@ const Mn = {
846
778
  },
847
779
  fromJSON(e) {
848
780
  return {
849
- name: l(e.name) ? globalThis.String(e.name) : "",
850
- displayName: l(e.displayName) ? globalThis.String(e.displayName) : "",
851
- description: l(e.description) ? globalThis.String(e.description) : "",
852
- version: l(e.version) ? globalThis.String(e.version) : "",
853
- author: l(e.author) ? globalThis.String(e.author) : "",
854
- 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) : ""
855
787
  };
856
788
  },
857
789
  toJSON(e) {
@@ -859,1473 +791,34 @@ const Mn = {
859
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;
860
792
  },
861
793
  create(e) {
862
- return Mn.fromPartial(e ?? {});
794
+ return nn.fromPartial(e ?? {});
863
795
  },
864
796
  fromPartial(e) {
865
- const n = oe();
797
+ const n = $();
866
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;
867
799
  }
868
800
  };
869
- function ue() {
801
+ function z() {
870
802
  return { licenses: [] };
871
803
  }
872
- const Gn = {
804
+ const rn = {
873
805
  encode(e, n = new u()) {
874
806
  for (const r of e.licenses)
875
- P.encode(r, n.uint32(10).fork()).join();
876
- return n;
877
- },
878
- decode(e, n) {
879
- const r = e instanceof o ? e : new o(e);
880
- let a = n === void 0 ? r.len : r.pos + n;
881
- const t = ue();
882
- for (; r.pos < a; ) {
883
- const i = r.uint32();
884
- switch (i >>> 3) {
885
- case 1: {
886
- if (i !== 10)
887
- break;
888
- t.licenses.push(P.decode(r, r.uint32()));
889
- continue;
890
- }
891
- }
892
- if ((i & 7) === 4 || i === 0)
893
- break;
894
- r.skip(i & 7);
895
- }
896
- return t;
897
- },
898
- fromJSON(e) {
899
- return {
900
- licenses: globalThis.Array.isArray(e == null ? void 0 : e.licenses) ? e.licenses.map((n) => P.fromJSON(n)) : []
901
- };
902
- },
903
- toJSON(e) {
904
- var r;
905
- const n = {};
906
- return (r = e.licenses) != null && r.length && (n.licenses = e.licenses.map((a) => P.toJSON(a))), n;
907
- },
908
- create(e) {
909
- return Gn.fromPartial(e ?? {});
910
- },
911
- fromPartial(e) {
912
- var r;
913
- const n = ue();
914
- return n.licenses = ((r = e.licenses) == null ? void 0 : r.map((a) => P.fromPartial(a))) || [], n;
915
- }
916
- };
917
- function fe() {
918
- return { preferences: void 0, licenseKey: "", productId: "" };
919
- }
920
- const bn = {
921
- encode(e, n = new u()) {
922
- 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;
923
- },
924
- decode(e, n) {
925
- const r = e instanceof o ? e : new o(e);
926
- let a = n === void 0 ? r.len : r.pos + n;
927
- const t = fe();
928
- for (; r.pos < a; ) {
929
- const i = r.uint32();
930
- switch (i >>> 3) {
931
- case 1: {
932
- if (i !== 10)
933
- break;
934
- t.preferences = s.decode(r, r.uint32());
935
- continue;
936
- }
937
- case 2: {
938
- if (i !== 18)
939
- break;
940
- t.licenseKey = r.string();
941
- continue;
942
- }
943
- case 3: {
944
- if (i !== 26)
945
- break;
946
- t.productId = r.string();
947
- continue;
948
- }
949
- }
950
- if ((i & 7) === 4 || i === 0)
951
- break;
952
- r.skip(i & 7);
953
- }
954
- return t;
955
- },
956
- fromJSON(e) {
957
- return {
958
- preferences: l(e.preferences) ? s.fromJSON(e.preferences) : void 0,
959
- licenseKey: l(e.licenseKey) ? globalThis.String(e.licenseKey) : "",
960
- productId: l(e.productId) ? globalThis.String(e.productId) : ""
961
- };
962
- },
963
- toJSON(e) {
964
- const n = {};
965
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.licenseKey !== "" && (n.licenseKey = e.licenseKey), e.productId !== "" && (n.productId = e.productId), n;
966
- },
967
- create(e) {
968
- return bn.fromPartial(e ?? {});
969
- },
970
- fromPartial(e) {
971
- const n = fe();
972
- 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;
973
- }
974
- };
975
- function de() {
976
- return { apiVersion: "", serviceVersion: "", canlibVersion: "" };
977
- }
978
- const Vn = {
979
- encode(e, n = new u()) {
980
- 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;
981
- },
982
- decode(e, n) {
983
- const r = e instanceof o ? e : new o(e);
984
- let a = n === void 0 ? r.len : r.pos + n;
985
- const t = de();
986
- for (; r.pos < a; ) {
987
- const i = r.uint32();
988
- switch (i >>> 3) {
989
- case 1: {
990
- if (i !== 10)
991
- break;
992
- t.apiVersion = r.string();
993
- continue;
994
- }
995
- case 2: {
996
- if (i !== 18)
997
- break;
998
- t.serviceVersion = r.string();
999
- continue;
1000
- }
1001
- case 3: {
1002
- if (i !== 26)
1003
- break;
1004
- t.canlibVersion = r.string();
1005
- continue;
1006
- }
1007
- }
1008
- if ((i & 7) === 4 || i === 0)
1009
- break;
1010
- r.skip(i & 7);
1011
- }
1012
- return t;
1013
- },
1014
- fromJSON(e) {
1015
- return {
1016
- apiVersion: l(e.apiVersion) ? globalThis.String(e.apiVersion) : "",
1017
- serviceVersion: l(e.serviceVersion) ? globalThis.String(e.serviceVersion) : "",
1018
- canlibVersion: l(e.canlibVersion) ? globalThis.String(e.canlibVersion) : ""
1019
- };
1020
- },
1021
- toJSON(e) {
1022
- const n = {};
1023
- return e.apiVersion !== "" && (n.apiVersion = e.apiVersion), e.serviceVersion !== "" && (n.serviceVersion = e.serviceVersion), e.canlibVersion !== "" && (n.canlibVersion = e.canlibVersion), n;
1024
- },
1025
- create(e) {
1026
- return Vn.fromPartial(e ?? {});
1027
- },
1028
- fromPartial(e) {
1029
- const n = de();
1030
- return n.apiVersion = e.apiVersion ?? "", n.serviceVersion = e.serviceVersion ?? "", n.canlibVersion = e.canlibVersion ?? "", n;
1031
- }
1032
- };
1033
- function l(e) {
1034
- return e != null;
1035
- }
1036
- 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 || {});
1037
- function Bn(e) {
1038
- switch (e) {
1039
- case 0:
1040
- case "CAN_CHANNEL_CAP_UNSPECIFIED":
1041
- return 0;
1042
- case 1:
1043
- case "CAN_CHANNEL_CAP_EXTENDED_CAN":
1044
- return 1;
1045
- case 2:
1046
- case "CAN_CHANNEL_CAP_BUS_STATISTICS":
1047
- return 2;
1048
- case 3:
1049
- case "CAN_CHANNEL_CAP_ERROR_COUNTERS":
1050
- return 3;
1051
- case 4:
1052
- case "CAN_CHANNEL_CAP_GENERATE_ERROR":
1053
- return 4;
1054
- case 5:
1055
- case "CAN_CHANNEL_CAP_GENERATE_OVERLOAD":
1056
- return 5;
1057
- case 6:
1058
- case "CAN_CHANNEL_CAP_TXREQUEST":
1059
- return 6;
1060
- case 7:
1061
- case "CAN_CHANNEL_CAP_TXACKNOWLEDGE":
1062
- return 7;
1063
- case 8:
1064
- case "CAN_CHANNEL_CAP_VIRTUAL":
1065
- return 8;
1066
- case 9:
1067
- case "CAN_CHANNEL_CAP_SIMULATED":
1068
- return 9;
1069
- case 10:
1070
- case "CAN_CHANNEL_CAP_CAN_FD":
1071
- return 10;
1072
- case 11:
1073
- case "CAN_CHANNEL_CAP_CAN_FD_NONISO":
1074
- return 11;
1075
- case 12:
1076
- case "CAN_CHANNEL_CAP_SILENT_MODE":
1077
- return 12;
1078
- case 13:
1079
- case "CAN_CHANNEL_CAP_SINGLE_SHOT":
1080
- return 13;
1081
- case 14:
1082
- case "CAN_CHANNEL_CAP_LOGGER":
1083
- return 14;
1084
- case 15:
1085
- case "CAN_CHANNEL_CAP_REMOTE_ACCESS":
1086
- return 15;
1087
- case 16:
1088
- case "CAN_CHANNEL_CAP_SCRIPT":
1089
- return 16;
1090
- case 17:
1091
- case "CAN_CHANNEL_CAP_LIN_HYBRID":
1092
- return 17;
1093
- case 18:
1094
- case "CAN_CHANNEL_CAP_IO_API":
1095
- return 18;
1096
- case 19:
1097
- case "CAN_CHANNEL_CAP_CANTEGRITY":
1098
- return 19;
1099
- case 20:
1100
- case "CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ":
1101
- return 20;
1102
- case -1:
1103
- case "UNRECOGNIZED":
1104
- default:
1105
- return -1;
1106
- }
1107
- }
1108
- function Fn(e) {
1109
- switch (e) {
1110
- case 0:
1111
- return "CAN_CHANNEL_CAP_UNSPECIFIED";
1112
- case 1:
1113
- return "CAN_CHANNEL_CAP_EXTENDED_CAN";
1114
- case 2:
1115
- return "CAN_CHANNEL_CAP_BUS_STATISTICS";
1116
- case 3:
1117
- return "CAN_CHANNEL_CAP_ERROR_COUNTERS";
1118
- case 4:
1119
- return "CAN_CHANNEL_CAP_GENERATE_ERROR";
1120
- case 5:
1121
- return "CAN_CHANNEL_CAP_GENERATE_OVERLOAD";
1122
- case 6:
1123
- return "CAN_CHANNEL_CAP_TXREQUEST";
1124
- case 7:
1125
- return "CAN_CHANNEL_CAP_TXACKNOWLEDGE";
1126
- case 8:
1127
- return "CAN_CHANNEL_CAP_VIRTUAL";
1128
- case 9:
1129
- return "CAN_CHANNEL_CAP_SIMULATED";
1130
- case 10:
1131
- return "CAN_CHANNEL_CAP_CAN_FD";
1132
- case 11:
1133
- return "CAN_CHANNEL_CAP_CAN_FD_NONISO";
1134
- case 12:
1135
- return "CAN_CHANNEL_CAP_SILENT_MODE";
1136
- case 13:
1137
- return "CAN_CHANNEL_CAP_SINGLE_SHOT";
1138
- case 14:
1139
- return "CAN_CHANNEL_CAP_LOGGER";
1140
- case 15:
1141
- return "CAN_CHANNEL_CAP_REMOTE_ACCESS";
1142
- case 16:
1143
- return "CAN_CHANNEL_CAP_SCRIPT";
1144
- case 17:
1145
- return "CAN_CHANNEL_CAP_LIN_HYBRID";
1146
- case 18:
1147
- return "CAN_CHANNEL_CAP_IO_API";
1148
- case 19:
1149
- return "CAN_CHANNEL_CAP_CANTEGRITY";
1150
- case 20:
1151
- return "CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ";
1152
- case -1:
1153
- default:
1154
- return "UNRECOGNIZED";
1155
- }
1156
- }
1157
- var Un = /* @__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))(Un || {});
1158
- function mn(e) {
1159
- switch (e) {
1160
- case 0:
1161
- case "PROTOCOLS_UNSPECIFIED":
1162
- return 0;
1163
- case 1:
1164
- case "PROTOCOLS_CAN":
1165
- return 1;
1166
- case 2:
1167
- case "PROTOCOLS_LIN":
1168
- return 2;
1169
- case -1:
1170
- case "UNRECOGNIZED":
1171
- default:
1172
- return -1;
1173
- }
1174
- }
1175
- function Pn(e) {
1176
- switch (e) {
1177
- case 0:
1178
- return "PROTOCOLS_UNSPECIFIED";
1179
- case 1:
1180
- return "PROTOCOLS_CAN";
1181
- case 2:
1182
- return "PROTOCOLS_LIN";
1183
- case -1:
1184
- default:
1185
- return "UNRECOGNIZED";
1186
- }
1187
- }
1188
- var Hn = /* @__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))(Hn || {});
1189
- function qn(e) {
1190
- switch (e) {
1191
- case 0:
1192
- case "DEVICE_EVENT_UNSPECIFIED":
1193
- return 0;
1194
- case 1:
1195
- case "DEVICE_EVENT_DEVICES_CHANGED":
1196
- return 1;
1197
- case -1:
1198
- case "UNRECOGNIZED":
1199
- default:
1200
- return -1;
1201
- }
1202
- }
1203
- function wn(e) {
1204
- switch (e) {
1205
- case 0:
1206
- return "DEVICE_EVENT_UNSPECIFIED";
1207
- case 1:
1208
- return "DEVICE_EVENT_DEVICES_CHANGED";
1209
- case -1:
1210
- default:
1211
- return "UNRECOGNIZED";
1212
- }
1213
- }
1214
- function ce() {
1215
- return { tq: 0, phase1: 0, phase2: 0, sjw: 0, prop: 0, prescaler: 0 };
1216
- }
1217
- const S = {
1218
- encode(e, n = new u()) {
1219
- 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;
1220
- },
1221
- decode(e, n) {
1222
- const r = e instanceof o ? e : new o(e);
1223
- let a = n === void 0 ? r.len : r.pos + n;
1224
- const t = ce();
1225
- for (; r.pos < a; ) {
1226
- const i = r.uint32();
1227
- switch (i >>> 3) {
1228
- case 1: {
1229
- if (i !== 8)
1230
- break;
1231
- t.tq = r.int32();
1232
- continue;
1233
- }
1234
- case 2: {
1235
- if (i !== 16)
1236
- break;
1237
- t.phase1 = r.int32();
1238
- continue;
1239
- }
1240
- case 3: {
1241
- if (i !== 24)
1242
- break;
1243
- t.phase2 = r.int32();
1244
- continue;
1245
- }
1246
- case 4: {
1247
- if (i !== 32)
1248
- break;
1249
- t.sjw = r.int32();
1250
- continue;
1251
- }
1252
- case 5: {
1253
- if (i !== 40)
1254
- break;
1255
- t.prop = r.int32();
1256
- continue;
1257
- }
1258
- case 6: {
1259
- if (i !== 48)
1260
- break;
1261
- t.prescaler = r.int32();
1262
- continue;
1263
- }
1264
- }
1265
- if ((i & 7) === 4 || i === 0)
1266
- break;
1267
- r.skip(i & 7);
1268
- }
1269
- return t;
1270
- },
1271
- fromJSON(e) {
1272
- return {
1273
- tq: d(e.tq) ? globalThis.Number(e.tq) : 0,
1274
- phase1: d(e.phase1) ? globalThis.Number(e.phase1) : 0,
1275
- phase2: d(e.phase2) ? globalThis.Number(e.phase2) : 0,
1276
- sjw: d(e.sjw) ? globalThis.Number(e.sjw) : 0,
1277
- prop: d(e.prop) ? globalThis.Number(e.prop) : 0,
1278
- prescaler: d(e.prescaler) ? globalThis.Number(e.prescaler) : 0
1279
- };
1280
- },
1281
- toJSON(e) {
1282
- const n = {};
1283
- 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;
1284
- },
1285
- create(e) {
1286
- return S.fromPartial(e ?? {});
1287
- },
1288
- fromPartial(e) {
1289
- const n = ce();
1290
- 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;
1291
- }
1292
- };
1293
- function le() {
1294
- return {
1295
- arbitrationMin: void 0,
1296
- arbitrationMax: void 0,
1297
- dataMin: void 0,
1298
- dataMax: void 0,
1299
- isValid: !1
1300
- };
1301
- }
1302
- const J = {
1303
- encode(e, n = new u()) {
1304
- 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;
1305
- },
1306
- decode(e, n) {
1307
- const r = e instanceof o ? e : new o(e);
1308
- let a = n === void 0 ? r.len : r.pos + n;
1309
- const t = le();
1310
- for (; r.pos < a; ) {
1311
- const i = r.uint32();
1312
- switch (i >>> 3) {
1313
- case 1: {
1314
- if (i !== 10)
1315
- break;
1316
- t.arbitrationMin = S.decode(r, r.uint32());
1317
- continue;
1318
- }
1319
- case 2: {
1320
- if (i !== 18)
1321
- break;
1322
- t.arbitrationMax = S.decode(r, r.uint32());
1323
- continue;
1324
- }
1325
- case 3: {
1326
- if (i !== 26)
1327
- break;
1328
- t.dataMin = S.decode(r, r.uint32());
1329
- continue;
1330
- }
1331
- case 4: {
1332
- if (i !== 34)
1333
- break;
1334
- t.dataMax = S.decode(r, r.uint32());
1335
- continue;
1336
- }
1337
- case 5: {
1338
- if (i !== 40)
1339
- break;
1340
- t.isValid = r.bool();
1341
- continue;
1342
- }
1343
- }
1344
- if ((i & 7) === 4 || i === 0)
1345
- break;
1346
- r.skip(i & 7);
1347
- }
1348
- return t;
1349
- },
1350
- fromJSON(e) {
1351
- return {
1352
- arbitrationMin: d(e.arbitrationMin) ? S.fromJSON(e.arbitrationMin) : void 0,
1353
- arbitrationMax: d(e.arbitrationMax) ? S.fromJSON(e.arbitrationMax) : void 0,
1354
- dataMin: d(e.dataMin) ? S.fromJSON(e.dataMin) : void 0,
1355
- dataMax: d(e.dataMax) ? S.fromJSON(e.dataMax) : void 0,
1356
- isValid: d(e.isValid) ? globalThis.Boolean(e.isValid) : !1
1357
- };
1358
- },
1359
- toJSON(e) {
1360
- const n = {};
1361
- 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;
1362
- },
1363
- create(e) {
1364
- return J.fromPartial(e ?? {});
1365
- },
1366
- fromPartial(e) {
1367
- const n = le();
1368
- 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;
1369
- }
1370
- };
1371
- function pe() {
1372
- return {
1373
- bitRate: 0,
1374
- actualBitRate: 0,
1375
- bitRateError: 0,
1376
- timeSegment1: 0,
1377
- timeSegment2: 0,
1378
- samplingPoint: 0,
1379
- numberOfSamplingPoints: 0,
1380
- maxSyncJumpWidth: 0,
1381
- description: ""
1382
- };
1383
- }
1384
- const O = {
1385
- encode(e, n = new u()) {
1386
- 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;
1387
- },
1388
- decode(e, n) {
1389
- const r = e instanceof o ? e : new o(e);
1390
- let a = n === void 0 ? r.len : r.pos + n;
1391
- const t = pe();
1392
- for (; r.pos < a; ) {
1393
- const i = r.uint32();
1394
- switch (i >>> 3) {
1395
- case 1: {
1396
- if (i !== 8)
1397
- break;
1398
- t.bitRate = r.int32();
1399
- continue;
1400
- }
1401
- case 2: {
1402
- if (i !== 16)
1403
- break;
1404
- t.actualBitRate = r.int32();
1405
- continue;
1406
- }
1407
- case 3: {
1408
- if (i !== 25)
1409
- break;
1410
- t.bitRateError = r.double();
1411
- continue;
1412
- }
1413
- case 4: {
1414
- if (i !== 32)
1415
- break;
1416
- t.timeSegment1 = r.int32();
1417
- continue;
1418
- }
1419
- case 5: {
1420
- if (i !== 40)
1421
- break;
1422
- t.timeSegment2 = r.int32();
1423
- continue;
1424
- }
1425
- case 6: {
1426
- if (i !== 49)
1427
- break;
1428
- t.samplingPoint = r.double();
1429
- continue;
1430
- }
1431
- case 7: {
1432
- if (i !== 56)
1433
- break;
1434
- t.numberOfSamplingPoints = r.int32();
1435
- continue;
1436
- }
1437
- case 8: {
1438
- if (i !== 64)
1439
- break;
1440
- t.maxSyncJumpWidth = r.int32();
1441
- continue;
1442
- }
1443
- case 9: {
1444
- if (i !== 74)
1445
- break;
1446
- t.description = r.string();
1447
- continue;
1448
- }
1449
- }
1450
- if ((i & 7) === 4 || i === 0)
1451
- break;
1452
- r.skip(i & 7);
1453
- }
1454
- return t;
1455
- },
1456
- fromJSON(e) {
1457
- return {
1458
- bitRate: d(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
1459
- actualBitRate: d(e.actualBitRate) ? globalThis.Number(e.actualBitRate) : 0,
1460
- bitRateError: d(e.bitRateError) ? globalThis.Number(e.bitRateError) : 0,
1461
- timeSegment1: d(e.timeSegment1) ? globalThis.Number(e.timeSegment1) : 0,
1462
- timeSegment2: d(e.timeSegment2) ? globalThis.Number(e.timeSegment2) : 0,
1463
- samplingPoint: d(e.samplingPoint) ? globalThis.Number(e.samplingPoint) : 0,
1464
- numberOfSamplingPoints: d(e.numberOfSamplingPoints) ? globalThis.Number(e.numberOfSamplingPoints) : 0,
1465
- maxSyncJumpWidth: d(e.maxSyncJumpWidth) ? globalThis.Number(e.maxSyncJumpWidth) : 0,
1466
- description: d(e.description) ? globalThis.String(e.description) : ""
1467
- };
1468
- },
1469
- toJSON(e) {
1470
- const n = {};
1471
- 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;
1472
- },
1473
- create(e) {
1474
- return O.fromPartial(e ?? {});
1475
- },
1476
- fromPartial(e) {
1477
- const n = pe();
1478
- 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;
1479
- }
1480
- };
1481
- function Ne() {
1482
- return {
1483
- bitRate: 0,
1484
- timeSegment1: 0,
1485
- timeSegment2: 0,
1486
- samplingPoint: 0,
1487
- numberOfSamplingPoints: 0,
1488
- maxSyncJumpWidth: 0,
1489
- prescaler: 0,
1490
- description: ""
1491
- };
1492
- }
1493
- const m = {
1494
- encode(e, n = new u()) {
1495
- 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;
1496
- },
1497
- decode(e, n) {
1498
- const r = e instanceof o ? e : new o(e);
1499
- let a = n === void 0 ? r.len : r.pos + n;
1500
- const t = Ne();
1501
- for (; r.pos < a; ) {
1502
- const i = r.uint32();
1503
- switch (i >>> 3) {
1504
- case 1: {
1505
- if (i !== 8)
1506
- break;
1507
- t.bitRate = r.int32();
1508
- continue;
1509
- }
1510
- case 2: {
1511
- if (i !== 16)
1512
- break;
1513
- t.timeSegment1 = r.int32();
1514
- continue;
1515
- }
1516
- case 3: {
1517
- if (i !== 24)
1518
- break;
1519
- t.timeSegment2 = r.int32();
1520
- continue;
1521
- }
1522
- case 4: {
1523
- if (i !== 33)
1524
- break;
1525
- t.samplingPoint = r.double();
1526
- continue;
1527
- }
1528
- case 5: {
1529
- if (i !== 40)
1530
- break;
1531
- t.numberOfSamplingPoints = r.int32();
1532
- continue;
1533
- }
1534
- case 6: {
1535
- if (i !== 48)
1536
- break;
1537
- t.maxSyncJumpWidth = r.int32();
1538
- continue;
1539
- }
1540
- case 7: {
1541
- if (i !== 56)
1542
- break;
1543
- t.prescaler = r.int32();
1544
- continue;
1545
- }
1546
- case 8: {
1547
- if (i !== 66)
1548
- break;
1549
- t.description = r.string();
1550
- continue;
1551
- }
1552
- }
1553
- if ((i & 7) === 4 || i === 0)
1554
- break;
1555
- r.skip(i & 7);
1556
- }
1557
- return t;
1558
- },
1559
- fromJSON(e) {
1560
- return {
1561
- bitRate: d(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
1562
- timeSegment1: d(e.timeSegment1) ? globalThis.Number(e.timeSegment1) : 0,
1563
- timeSegment2: d(e.timeSegment2) ? globalThis.Number(e.timeSegment2) : 0,
1564
- samplingPoint: d(e.samplingPoint) ? globalThis.Number(e.samplingPoint) : 0,
1565
- numberOfSamplingPoints: d(e.numberOfSamplingPoints) ? globalThis.Number(e.numberOfSamplingPoints) : 0,
1566
- maxSyncJumpWidth: d(e.maxSyncJumpWidth) ? globalThis.Number(e.maxSyncJumpWidth) : 0,
1567
- prescaler: d(e.prescaler) ? globalThis.Number(e.prescaler) : 0,
1568
- description: d(e.description) ? globalThis.String(e.description) : ""
1569
- };
1570
- },
1571
- toJSON(e) {
1572
- const n = {};
1573
- 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;
1574
- },
1575
- create(e) {
1576
- return m.fromPartial(e ?? {});
1577
- },
1578
- fromPartial(e) {
1579
- const n = Ne();
1580
- 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;
1581
- }
1582
- };
1583
- function Se() {
1584
- return { busSpeedArbPhase: void 0, busSpeedsDataPhase: [] };
1585
- }
1586
- const h = {
1587
- encode(e, n = new u()) {
1588
- e.busSpeedArbPhase !== void 0 && m.encode(e.busSpeedArbPhase, n.uint32(10).fork()).join();
1589
- for (const r of e.busSpeedsDataPhase)
1590
- m.encode(r, n.uint32(18).fork()).join();
1591
- return n;
1592
- },
1593
- decode(e, n) {
1594
- const r = e instanceof o ? e : new o(e);
1595
- let a = n === void 0 ? r.len : r.pos + n;
1596
- const t = Se();
1597
- for (; r.pos < a; ) {
1598
- const i = r.uint32();
1599
- switch (i >>> 3) {
1600
- case 1: {
1601
- if (i !== 10)
1602
- break;
1603
- t.busSpeedArbPhase = m.decode(r, r.uint32());
1604
- continue;
1605
- }
1606
- case 2: {
1607
- if (i !== 18)
1608
- break;
1609
- t.busSpeedsDataPhase.push(m.decode(r, r.uint32()));
1610
- continue;
1611
- }
1612
- }
1613
- if ((i & 7) === 4 || i === 0)
1614
- break;
1615
- r.skip(i & 7);
1616
- }
1617
- return t;
1618
- },
1619
- fromJSON(e) {
1620
- return {
1621
- busSpeedArbPhase: d(e.busSpeedArbPhase) ? m.fromJSON(e.busSpeedArbPhase) : void 0,
1622
- busSpeedsDataPhase: globalThis.Array.isArray(e == null ? void 0 : e.busSpeedsDataPhase) ? e.busSpeedsDataPhase.map((n) => m.fromJSON(n)) : []
1623
- };
1624
- },
1625
- toJSON(e) {
1626
- var r;
1627
- const n = {};
1628
- return e.busSpeedArbPhase !== void 0 && (n.busSpeedArbPhase = m.toJSON(e.busSpeedArbPhase)), (r = e.busSpeedsDataPhase) != null && r.length && (n.busSpeedsDataPhase = e.busSpeedsDataPhase.map((a) => m.toJSON(a))), n;
1629
- },
1630
- create(e) {
1631
- return h.fromPartial(e ?? {});
1632
- },
1633
- fromPartial(e) {
1634
- var r;
1635
- const n = Se();
1636
- return n.busSpeedArbPhase = e.busSpeedArbPhase !== void 0 && e.busSpeedArbPhase !== null ? m.fromPartial(e.busSpeedArbPhase) : void 0, n.busSpeedsDataPhase = ((r = e.busSpeedsDataPhase) == null ? void 0 : r.map((a) => m.fromPartial(a))) || [], n;
1637
- }
1638
- };
1639
- function Ee() {
1640
- return { busParamLimits: void 0, channelCaps: [], maxBitRate: 0, clockFrequency: 0 };
1641
- }
1642
- const v = {
1643
- encode(e, n = new u()) {
1644
- e.busParamLimits !== void 0 && J.encode(e.busParamLimits, n.uint32(10).fork()).join(), n.uint32(18).fork();
1645
- for (const r of e.channelCaps)
1646
- n.int32(r);
1647
- return n.join(), e.maxBitRate !== 0 && n.uint32(24).int32(e.maxBitRate), e.clockFrequency !== 0 && n.uint32(33).double(e.clockFrequency), n;
1648
- },
1649
- decode(e, n) {
1650
- const r = e instanceof o ? e : new o(e);
1651
- let a = n === void 0 ? r.len : r.pos + n;
1652
- const t = Ee();
1653
- for (; r.pos < a; ) {
1654
- const i = r.uint32();
1655
- switch (i >>> 3) {
1656
- case 1: {
1657
- if (i !== 10)
1658
- break;
1659
- t.busParamLimits = J.decode(r, r.uint32());
1660
- continue;
1661
- }
1662
- case 2: {
1663
- if (i === 16) {
1664
- t.channelCaps.push(r.int32());
1665
- continue;
1666
- }
1667
- if (i === 18) {
1668
- const p = r.uint32() + r.pos;
1669
- for (; r.pos < p; )
1670
- t.channelCaps.push(r.int32());
1671
- continue;
1672
- }
1673
- break;
1674
- }
1675
- case 3: {
1676
- if (i !== 24)
1677
- break;
1678
- t.maxBitRate = r.int32();
1679
- continue;
1680
- }
1681
- case 4: {
1682
- if (i !== 33)
1683
- break;
1684
- t.clockFrequency = r.double();
1685
- continue;
1686
- }
1687
- }
1688
- if ((i & 7) === 4 || i === 0)
1689
- break;
1690
- r.skip(i & 7);
1691
- }
1692
- return t;
1693
- },
1694
- fromJSON(e) {
1695
- return {
1696
- busParamLimits: d(e.busParamLimits) ? J.fromJSON(e.busParamLimits) : void 0,
1697
- channelCaps: globalThis.Array.isArray(e == null ? void 0 : e.channelCaps) ? e.channelCaps.map((n) => Bn(n)) : [],
1698
- maxBitRate: d(e.maxBitRate) ? globalThis.Number(e.maxBitRate) : 0,
1699
- clockFrequency: d(e.clockFrequency) ? globalThis.Number(e.clockFrequency) : 0
1700
- };
1701
- },
1702
- toJSON(e) {
1703
- var r;
1704
- const n = {};
1705
- return e.busParamLimits !== void 0 && (n.busParamLimits = J.toJSON(e.busParamLimits)), (r = e.channelCaps) != null && r.length && (n.channelCaps = e.channelCaps.map((a) => Fn(a))), e.maxBitRate !== 0 && (n.maxBitRate = Math.round(e.maxBitRate)), e.clockFrequency !== 0 && (n.clockFrequency = e.clockFrequency), n;
1706
- },
1707
- create(e) {
1708
- return v.fromPartial(e ?? {});
1709
- },
1710
- fromPartial(e) {
1711
- var r;
1712
- const n = Ee();
1713
- return n.busParamLimits = e.busParamLimits !== void 0 && e.busParamLimits !== null ? J.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;
1714
- }
1715
- };
1716
- function me() {
1717
- return { channelNumber: 0, channelNumberOnDevice: 0, name: "", protocols: [], canChannelCapacity: void 0 };
1718
- }
1719
- const D = {
1720
- encode(e, n = new u()) {
1721
- 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();
1722
- for (const r of e.protocols)
1723
- n.int32(r);
1724
- return n.join(), e.canChannelCapacity !== void 0 && v.encode(e.canChannelCapacity, n.uint32(42).fork()).join(), n;
1725
- },
1726
- decode(e, n) {
1727
- const r = e instanceof o ? e : new o(e);
1728
- let a = n === void 0 ? r.len : r.pos + n;
1729
- const t = me();
1730
- for (; r.pos < a; ) {
1731
- const i = r.uint32();
1732
- switch (i >>> 3) {
1733
- case 1: {
1734
- if (i !== 8)
1735
- break;
1736
- t.channelNumber = r.int32();
1737
- continue;
1738
- }
1739
- case 2: {
1740
- if (i !== 16)
1741
- break;
1742
- t.channelNumberOnDevice = r.int32();
1743
- continue;
1744
- }
1745
- case 3: {
1746
- if (i !== 26)
1747
- break;
1748
- t.name = r.string();
1749
- continue;
1750
- }
1751
- case 4: {
1752
- if (i === 32) {
1753
- t.protocols.push(r.int32());
1754
- continue;
1755
- }
1756
- if (i === 34) {
1757
- const p = r.uint32() + r.pos;
1758
- for (; r.pos < p; )
1759
- t.protocols.push(r.int32());
1760
- continue;
1761
- }
1762
- break;
1763
- }
1764
- case 5: {
1765
- if (i !== 42)
1766
- break;
1767
- t.canChannelCapacity = v.decode(r, r.uint32());
1768
- continue;
1769
- }
1770
- }
1771
- if ((i & 7) === 4 || i === 0)
1772
- break;
1773
- r.skip(i & 7);
1774
- }
1775
- return t;
1776
- },
1777
- fromJSON(e) {
1778
- return {
1779
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
1780
- channelNumberOnDevice: d(e.channelNumberOnDevice) ? globalThis.Number(e.channelNumberOnDevice) : 0,
1781
- name: d(e.name) ? globalThis.String(e.name) : "",
1782
- protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) => mn(n)) : [],
1783
- canChannelCapacity: d(e.canChannelCapacity) ? v.fromJSON(e.canChannelCapacity) : void 0
1784
- };
1785
- },
1786
- toJSON(e) {
1787
- var r;
1788
- const n = {};
1789
- 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) => Pn(a))), e.canChannelCapacity !== void 0 && (n.canChannelCapacity = v.toJSON(e.canChannelCapacity)), n;
1790
- },
1791
- create(e) {
1792
- return D.fromPartial(e ?? {});
1793
- },
1794
- fromPartial(e) {
1795
- var r;
1796
- const n = me();
1797
- 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 ? v.fromPartial(e.canChannelCapacity) : void 0, n;
1798
- }
1799
- };
1800
- function Pe() {
1801
- return { cardType: 0, cardNumber: 0, productCode: "", serialNumber: "", name: "", protocols: [], channels: [] };
1802
- }
1803
- const A = {
1804
- encode(e, n = new u()) {
1805
- 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();
1806
- for (const r of e.protocols)
1807
- n.int32(r);
1808
- n.join();
1809
- for (const r of e.channels)
1810
- D.encode(r, n.uint32(58).fork()).join();
1811
- return n;
1812
- },
1813
- decode(e, n) {
1814
- const r = e instanceof o ? e : new o(e);
1815
- let a = n === void 0 ? r.len : r.pos + n;
1816
- const t = Pe();
1817
- for (; r.pos < a; ) {
1818
- const i = r.uint32();
1819
- switch (i >>> 3) {
1820
- case 1: {
1821
- if (i !== 8)
1822
- break;
1823
- t.cardType = r.int32();
1824
- continue;
1825
- }
1826
- case 2: {
1827
- if (i !== 16)
1828
- break;
1829
- t.cardNumber = r.int32();
1830
- continue;
1831
- }
1832
- case 3: {
1833
- if (i !== 26)
1834
- break;
1835
- t.productCode = r.string();
1836
- continue;
1837
- }
1838
- case 4: {
1839
- if (i !== 34)
1840
- break;
1841
- t.serialNumber = r.string();
1842
- continue;
1843
- }
1844
- case 5: {
1845
- if (i !== 42)
1846
- break;
1847
- t.name = r.string();
1848
- continue;
1849
- }
1850
- case 6: {
1851
- if (i === 48) {
1852
- t.protocols.push(r.int32());
1853
- continue;
1854
- }
1855
- if (i === 50) {
1856
- const p = r.uint32() + r.pos;
1857
- for (; r.pos < p; )
1858
- t.protocols.push(r.int32());
1859
- continue;
1860
- }
1861
- break;
1862
- }
1863
- case 7: {
1864
- if (i !== 58)
1865
- break;
1866
- t.channels.push(D.decode(r, r.uint32()));
1867
- continue;
1868
- }
1869
- }
1870
- if ((i & 7) === 4 || i === 0)
1871
- break;
1872
- r.skip(i & 7);
1873
- }
1874
- return t;
1875
- },
1876
- fromJSON(e) {
1877
- return {
1878
- cardType: d(e.cardType) ? globalThis.Number(e.cardType) : 0,
1879
- cardNumber: d(e.cardNumber) ? globalThis.Number(e.cardNumber) : 0,
1880
- productCode: d(e.productCode) ? globalThis.String(e.productCode) : "",
1881
- serialNumber: d(e.serialNumber) ? globalThis.String(e.serialNumber) : "",
1882
- name: d(e.name) ? globalThis.String(e.name) : "",
1883
- protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) => mn(n)) : [],
1884
- channels: globalThis.Array.isArray(e == null ? void 0 : e.channels) ? e.channels.map((n) => D.fromJSON(n)) : []
1885
- };
1886
- },
1887
- toJSON(e) {
1888
- var r, a;
1889
- const n = {};
1890
- 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) => Pn(t))), (a = e.channels) != null && a.length && (n.channels = e.channels.map((t) => D.toJSON(t))), n;
1891
- },
1892
- create(e) {
1893
- return A.fromPartial(e ?? {});
1894
- },
1895
- fromPartial(e) {
1896
- var r, a;
1897
- const n = Pe();
1898
- 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) => D.fromPartial(t))) || [], n;
1899
- }
1900
- };
1901
- function Oe() {
1902
- return { items: [] };
1903
- }
1904
- const x = {
1905
- encode(e, n = new u()) {
1906
- for (const r of e.items)
1907
- A.encode(r, n.uint32(10).fork()).join();
1908
- return n;
1909
- },
1910
- decode(e, n) {
1911
- const r = e instanceof o ? e : new o(e);
1912
- let a = n === void 0 ? r.len : r.pos + n;
1913
- const t = Oe();
1914
- for (; r.pos < a; ) {
1915
- const i = r.uint32();
1916
- switch (i >>> 3) {
1917
- case 1: {
1918
- if (i !== 10)
1919
- break;
1920
- t.items.push(A.decode(r, r.uint32()));
1921
- continue;
1922
- }
1923
- }
1924
- if ((i & 7) === 4 || i === 0)
1925
- break;
1926
- r.skip(i & 7);
1927
- }
1928
- return t;
1929
- },
1930
- fromJSON(e) {
1931
- return { items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => A.fromJSON(n)) : [] };
1932
- },
1933
- toJSON(e) {
1934
- var r;
1935
- const n = {};
1936
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => A.toJSON(a))), n;
1937
- },
1938
- create(e) {
1939
- return x.fromPartial(e ?? {});
1940
- },
1941
- fromPartial(e) {
1942
- var r;
1943
- const n = Oe();
1944
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => A.fromPartial(a))) || [], n;
1945
- }
1946
- };
1947
- function he() {
1948
- return { preferences: void 0, includeVirtual: !1 };
1949
- }
1950
- const Zn = {
1951
- encode(e, n = new u()) {
1952
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.includeVirtual !== !1 && n.uint32(16).bool(e.includeVirtual), n;
1953
- },
1954
- decode(e, n) {
1955
- const r = e instanceof o ? e : new o(e);
1956
- let a = n === void 0 ? r.len : r.pos + n;
1957
- const t = he();
1958
- for (; r.pos < a; ) {
1959
- const i = r.uint32();
1960
- switch (i >>> 3) {
1961
- case 1: {
1962
- if (i !== 10)
1963
- break;
1964
- t.preferences = s.decode(r, r.uint32());
1965
- continue;
1966
- }
1967
- case 2: {
1968
- if (i !== 16)
1969
- break;
1970
- t.includeVirtual = r.bool();
1971
- continue;
1972
- }
1973
- }
1974
- if ((i & 7) === 4 || i === 0)
1975
- break;
1976
- r.skip(i & 7);
1977
- }
1978
- return t;
1979
- },
1980
- fromJSON(e) {
1981
- return {
1982
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
1983
- includeVirtual: d(e.includeVirtual) ? globalThis.Boolean(e.includeVirtual) : !1
1984
- };
1985
- },
1986
- toJSON(e) {
1987
- const n = {};
1988
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.includeVirtual !== !1 && (n.includeVirtual = e.includeVirtual), n;
1989
- },
1990
- create(e) {
1991
- return Zn.fromPartial(e ?? {});
1992
- },
1993
- fromPartial(e) {
1994
- const n = he();
1995
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.includeVirtual = e.includeVirtual ?? !1, n;
1996
- }
1997
- };
1998
- function Ae() {
1999
- return { devices: [] };
2000
- }
2001
- const Wn = {
2002
- encode(e, n = new u()) {
2003
- for (const r of e.devices)
2004
- A.encode(r, n.uint32(10).fork()).join();
2005
- return n;
2006
- },
2007
- decode(e, n) {
2008
- const r = e instanceof o ? e : new o(e);
2009
- let a = n === void 0 ? r.len : r.pos + n;
2010
- const t = Ae();
2011
- for (; r.pos < a; ) {
2012
- const i = r.uint32();
2013
- switch (i >>> 3) {
2014
- case 1: {
2015
- if (i !== 10)
2016
- break;
2017
- t.devices.push(A.decode(r, r.uint32()));
2018
- continue;
2019
- }
2020
- }
2021
- if ((i & 7) === 4 || i === 0)
2022
- break;
2023
- r.skip(i & 7);
2024
- }
2025
- return t;
2026
- },
2027
- fromJSON(e) {
2028
- return {
2029
- devices: globalThis.Array.isArray(e == null ? void 0 : e.devices) ? e.devices.map((n) => A.fromJSON(n)) : []
2030
- };
2031
- },
2032
- toJSON(e) {
2033
- var r;
2034
- const n = {};
2035
- return (r = e.devices) != null && r.length && (n.devices = e.devices.map((a) => A.toJSON(a))), n;
2036
- },
2037
- create(e) {
2038
- return Wn.fromPartial(e ?? {});
2039
- },
2040
- fromPartial(e) {
2041
- var r;
2042
- const n = Ae();
2043
- return n.devices = ((r = e.devices) == null ? void 0 : r.map((a) => A.fromPartial(a))) || [], n;
2044
- }
2045
- };
2046
- function _e() {
2047
- return { preferences: void 0, channelNumber: 0 };
2048
- }
2049
- const Kn = {
2050
- encode(e, n = new u()) {
2051
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.channelNumber !== 0 && n.uint32(16).int32(e.channelNumber), n;
2052
- },
2053
- decode(e, n) {
2054
- const r = e instanceof o ? e : new o(e);
2055
- let a = n === void 0 ? r.len : r.pos + n;
2056
- const t = _e();
2057
- for (; r.pos < a; ) {
2058
- const i = r.uint32();
2059
- switch (i >>> 3) {
2060
- case 1: {
2061
- if (i !== 10)
2062
- break;
2063
- t.preferences = s.decode(r, r.uint32());
2064
- continue;
2065
- }
2066
- case 2: {
2067
- if (i !== 16)
2068
- break;
2069
- t.channelNumber = r.int32();
2070
- continue;
2071
- }
2072
- }
2073
- if ((i & 7) === 4 || i === 0)
2074
- break;
2075
- r.skip(i & 7);
2076
- }
2077
- return t;
2078
- },
2079
- fromJSON(e) {
2080
- return {
2081
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2082
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0
2083
- };
2084
- },
2085
- toJSON(e) {
2086
- const n = {};
2087
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), n;
2088
- },
2089
- create(e) {
2090
- return Kn.fromPartial(e ?? {});
2091
- },
2092
- fromPartial(e) {
2093
- const n = _e();
2094
- return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.channelNumber = e.channelNumber ?? 0, n;
2095
- }
2096
- };
2097
- function Te() {
2098
- return { availableBusSpeeds: [], availableBusSpeedsFd: [] };
2099
- }
2100
- const Qn = {
2101
- encode(e, n = new u()) {
2102
- for (const r of e.availableBusSpeeds)
2103
- O.encode(r, n.uint32(10).fork()).join();
2104
- for (const r of e.availableBusSpeedsFd)
2105
- h.encode(r, n.uint32(18).fork()).join();
2106
- return n;
2107
- },
2108
- decode(e, n) {
2109
- const r = e instanceof o ? e : new o(e);
2110
- let a = n === void 0 ? r.len : r.pos + n;
2111
- const t = Te();
2112
- for (; r.pos < a; ) {
2113
- const i = r.uint32();
2114
- switch (i >>> 3) {
2115
- case 1: {
2116
- if (i !== 10)
2117
- break;
2118
- t.availableBusSpeeds.push(O.decode(r, r.uint32()));
2119
- continue;
2120
- }
2121
- case 2: {
2122
- if (i !== 18)
2123
- break;
2124
- t.availableBusSpeedsFd.push(h.decode(r, r.uint32()));
2125
- continue;
2126
- }
2127
- }
2128
- if ((i & 7) === 4 || i === 0)
2129
- break;
2130
- r.skip(i & 7);
2131
- }
2132
- return t;
2133
- },
2134
- fromJSON(e) {
2135
- return {
2136
- availableBusSpeeds: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeeds) ? e.availableBusSpeeds.map((n) => O.fromJSON(n)) : [],
2137
- availableBusSpeedsFd: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeedsFd) ? e.availableBusSpeedsFd.map((n) => h.fromJSON(n)) : []
2138
- };
2139
- },
2140
- toJSON(e) {
2141
- var r, a;
2142
- const n = {};
2143
- return (r = e.availableBusSpeeds) != null && r.length && (n.availableBusSpeeds = e.availableBusSpeeds.map((t) => O.toJSON(t))), (a = e.availableBusSpeedsFd) != null && a.length && (n.availableBusSpeedsFd = e.availableBusSpeedsFd.map((t) => h.toJSON(t))), n;
2144
- },
2145
- create(e) {
2146
- return Qn.fromPartial(e ?? {});
2147
- },
2148
- fromPartial(e) {
2149
- var r, a;
2150
- const n = Te();
2151
- return n.availableBusSpeeds = ((r = e.availableBusSpeeds) == null ? void 0 : r.map((t) => O.fromPartial(t))) || [], n.availableBusSpeedsFd = ((a = e.availableBusSpeedsFd) == null ? void 0 : a.map((t) => h.fromPartial(t))) || [], n;
2152
- }
2153
- };
2154
- function Ce() {
2155
- return { preferences: void 0, channelNumber: 0, bitRates: [] };
2156
- }
2157
- const Yn = {
2158
- encode(e, n = new u()) {
2159
- 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();
2160
- for (const r of e.bitRates)
2161
- n.int32(r);
2162
- return n.join(), n;
2163
- },
2164
- decode(e, n) {
2165
- const r = e instanceof o ? e : new o(e);
2166
- let a = n === void 0 ? r.len : r.pos + n;
2167
- const t = Ce();
2168
- for (; r.pos < a; ) {
2169
- const i = r.uint32();
2170
- switch (i >>> 3) {
2171
- case 1: {
2172
- if (i !== 10)
2173
- break;
2174
- t.preferences = s.decode(r, r.uint32());
2175
- continue;
2176
- }
2177
- case 2: {
2178
- if (i !== 16)
2179
- break;
2180
- t.channelNumber = r.int32();
2181
- continue;
2182
- }
2183
- case 3: {
2184
- if (i === 24) {
2185
- t.bitRates.push(r.int32());
2186
- continue;
2187
- }
2188
- if (i === 26) {
2189
- const p = r.uint32() + r.pos;
2190
- for (; r.pos < p; )
2191
- t.bitRates.push(r.int32());
2192
- continue;
2193
- }
2194
- break;
2195
- }
2196
- }
2197
- if ((i & 7) === 4 || i === 0)
2198
- break;
2199
- r.skip(i & 7);
2200
- }
2201
- return t;
2202
- },
2203
- fromJSON(e) {
2204
- return {
2205
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2206
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
2207
- bitRates: globalThis.Array.isArray(e == null ? void 0 : e.bitRates) ? e.bitRates.map((n) => globalThis.Number(n)) : []
2208
- };
2209
- },
2210
- toJSON(e) {
2211
- var r;
2212
- const n = {};
2213
- 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;
2214
- },
2215
- create(e) {
2216
- return Yn.fromPartial(e ?? {});
2217
- },
2218
- fromPartial(e) {
2219
- var r;
2220
- const n = Ce();
2221
- 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;
2222
- }
2223
- };
2224
- function Re() {
2225
- return { availableBusSpeeds: [] };
2226
- }
2227
- const Xn = {
2228
- encode(e, n = new u()) {
2229
- for (const r of e.availableBusSpeeds)
2230
- O.encode(r, n.uint32(10).fork()).join();
2231
- return n;
2232
- },
2233
- decode(e, n) {
2234
- const r = e instanceof o ? e : new o(e);
2235
- let a = n === void 0 ? r.len : r.pos + n;
2236
- const t = Re();
2237
- for (; r.pos < a; ) {
2238
- const i = r.uint32();
2239
- switch (i >>> 3) {
2240
- case 1: {
2241
- if (i !== 10)
2242
- break;
2243
- t.availableBusSpeeds.push(O.decode(r, r.uint32()));
2244
- continue;
2245
- }
2246
- }
2247
- if ((i & 7) === 4 || i === 0)
2248
- break;
2249
- r.skip(i & 7);
2250
- }
2251
- return t;
2252
- },
2253
- fromJSON(e) {
2254
- return {
2255
- availableBusSpeeds: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeeds) ? e.availableBusSpeeds.map((n) => O.fromJSON(n)) : []
2256
- };
2257
- },
2258
- toJSON(e) {
2259
- var r;
2260
- const n = {};
2261
- return (r = e.availableBusSpeeds) != null && r.length && (n.availableBusSpeeds = e.availableBusSpeeds.map((a) => O.toJSON(a))), n;
2262
- },
2263
- create(e) {
2264
- return Xn.fromPartial(e ?? {});
2265
- },
2266
- fromPartial(e) {
2267
- var r;
2268
- const n = Re();
2269
- return n.availableBusSpeeds = ((r = e.availableBusSpeeds) == null ? void 0 : r.map((a) => O.fromPartial(a))) || [], n;
2270
- }
2271
- };
2272
- function ke() {
2273
- return { preferences: void 0, channelNumber: 0, bitRatesArbitrationPhase: [], bitRatesDataPhase: [] };
2274
- }
2275
- const $n = {
2276
- encode(e, n = new u()) {
2277
- 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();
2278
- for (const r of e.bitRatesArbitrationPhase)
2279
- n.int32(r);
2280
- n.join(), n.uint32(34).fork();
2281
- for (const r of e.bitRatesDataPhase)
2282
- n.int32(r);
2283
- return n.join(), n;
2284
- },
2285
- decode(e, n) {
2286
- const r = e instanceof o ? e : new o(e);
2287
- let a = n === void 0 ? r.len : r.pos + n;
2288
- const t = ke();
2289
- for (; r.pos < a; ) {
2290
- const i = r.uint32();
2291
- switch (i >>> 3) {
2292
- case 1: {
2293
- if (i !== 10)
2294
- break;
2295
- t.preferences = s.decode(r, r.uint32());
2296
- continue;
2297
- }
2298
- case 2: {
2299
- if (i !== 16)
2300
- break;
2301
- t.channelNumber = r.int32();
2302
- continue;
2303
- }
2304
- case 3: {
2305
- if (i === 24) {
2306
- t.bitRatesArbitrationPhase.push(r.int32());
2307
- continue;
2308
- }
2309
- if (i === 26) {
2310
- const p = r.uint32() + r.pos;
2311
- for (; r.pos < p; )
2312
- t.bitRatesArbitrationPhase.push(r.int32());
2313
- continue;
2314
- }
2315
- break;
2316
- }
2317
- case 4: {
2318
- if (i === 32) {
2319
- t.bitRatesDataPhase.push(r.int32());
2320
- continue;
2321
- }
2322
- if (i === 34) {
2323
- const p = r.uint32() + r.pos;
2324
- for (; r.pos < p; )
2325
- t.bitRatesDataPhase.push(r.int32());
2326
- continue;
2327
- }
2328
- break;
807
+ N.encode(r, n.uint32(10).fork()).join();
808
+ return n;
809
+ },
810
+ decode(e, n) {
811
+ const r = e instanceof o ? e : new o(e);
812
+ let a = n === void 0 ? r.len : r.pos + n;
813
+ const t = z();
814
+ for (; r.pos < a; ) {
815
+ const i = r.uint32();
816
+ switch (i >>> 3) {
817
+ case 1: {
818
+ if (i !== 10)
819
+ break;
820
+ t.licenses.push(N.decode(r, r.uint32()));
821
+ continue;
2329
822
  }
2330
823
  }
2331
824
  if ((i & 7) === 4 || i === 0)
@@ -2336,46 +829,53 @@ const $n = {
2336
829
  },
2337
830
  fromJSON(e) {
2338
831
  return {
2339
- preferences: d(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2340
- channelNumber: d(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
2341
- bitRatesArbitrationPhase: globalThis.Array.isArray(e == null ? void 0 : e.bitRatesArbitrationPhase) ? e.bitRatesArbitrationPhase.map((n) => globalThis.Number(n)) : [],
2342
- bitRatesDataPhase: globalThis.Array.isArray(e == null ? void 0 : e.bitRatesDataPhase) ? e.bitRatesDataPhase.map((n) => globalThis.Number(n)) : []
832
+ licenses: globalThis.Array.isArray(e == null ? void 0 : e.licenses) ? e.licenses.map((n) => N.fromJSON(n)) : []
2343
833
  };
2344
834
  },
2345
835
  toJSON(e) {
2346
- var r, a;
836
+ var r;
2347
837
  const n = {};
2348
- 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;
838
+ return (r = e.licenses) != null && r.length && (n.licenses = e.licenses.map((a) => N.toJSON(a))), n;
2349
839
  },
2350
840
  create(e) {
2351
- return $n.fromPartial(e ?? {});
841
+ return rn.fromPartial(e ?? {});
2352
842
  },
2353
843
  fromPartial(e) {
2354
- var r, a;
2355
- const n = ke();
2356
- 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;
844
+ var r;
845
+ const n = z();
846
+ return n.licenses = ((r = e.licenses) == null ? void 0 : r.map((a) => N.fromPartial(a))) || [], n;
2357
847
  }
2358
848
  };
2359
- function Ie() {
2360
- return { availableBusSpeedsFd: [] };
849
+ function X() {
850
+ return { preferences: void 0, licenseKey: "", productId: "" };
2361
851
  }
2362
- const zn = {
852
+ const tn = {
2363
853
  encode(e, n = new u()) {
2364
- for (const r of e.availableBusSpeedsFd)
2365
- h.encode(r, n.uint32(10).fork()).join();
2366
- return n;
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;
2367
855
  },
2368
856
  decode(e, n) {
2369
857
  const r = e instanceof o ? e : new o(e);
2370
858
  let a = n === void 0 ? r.len : r.pos + n;
2371
- const t = Ie();
859
+ const t = X();
2372
860
  for (; r.pos < a; ) {
2373
861
  const i = r.uint32();
2374
862
  switch (i >>> 3) {
2375
863
  case 1: {
2376
864
  if (i !== 10)
2377
865
  break;
2378
- t.availableBusSpeedsFd.push(h.decode(r, r.uint32()));
866
+ t.preferences = s.decode(r, r.uint32());
867
+ continue;
868
+ }
869
+ case 2: {
870
+ if (i !== 18)
871
+ break;
872
+ t.licenseKey = r.string();
873
+ continue;
874
+ }
875
+ case 3: {
876
+ if (i !== 26)
877
+ break;
878
+ t.productId = r.string();
2379
879
  continue;
2380
880
  }
2381
881
  }
@@ -2387,47 +887,53 @@ const zn = {
2387
887
  },
2388
888
  fromJSON(e) {
2389
889
  return {
2390
- availableBusSpeedsFd: globalThis.Array.isArray(e == null ? void 0 : e.availableBusSpeedsFd) ? e.availableBusSpeedsFd.map((n) => h.fromJSON(n)) : []
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) : ""
2391
893
  };
2392
894
  },
2393
895
  toJSON(e) {
2394
- var r;
2395
896
  const n = {};
2396
- return (r = e.availableBusSpeedsFd) != null && r.length && (n.availableBusSpeedsFd = e.availableBusSpeedsFd.map((a) => h.toJSON(a))), n;
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;
2397
898
  },
2398
899
  create(e) {
2399
- return zn.fromPartial(e ?? {});
900
+ return tn.fromPartial(e ?? {});
2400
901
  },
2401
902
  fromPartial(e) {
2402
- var r;
2403
- const n = Ie();
2404
- return n.availableBusSpeedsFd = ((r = e.availableBusSpeedsFd) == null ? void 0 : r.map((a) => h.fromPartial(a))) || [], n;
903
+ const n = X();
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;
2405
905
  }
2406
906
  };
2407
- function Le() {
2408
- return { eventType: 0, devices: void 0 };
907
+ function b() {
908
+ return { apiVersion: "", serviceVersion: "", canlibVersion: "" };
2409
909
  }
2410
- const jn = {
910
+ const an = {
2411
911
  encode(e, n = new u()) {
2412
- return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.devices !== void 0 && x.encode(e.devices, n.uint32(18).fork()).join(), n;
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;
2413
913
  },
2414
914
  decode(e, n) {
2415
915
  const r = e instanceof o ? e : new o(e);
2416
916
  let a = n === void 0 ? r.len : r.pos + n;
2417
- const t = Le();
917
+ const t = b();
2418
918
  for (; r.pos < a; ) {
2419
919
  const i = r.uint32();
2420
920
  switch (i >>> 3) {
2421
921
  case 1: {
2422
- if (i !== 8)
922
+ if (i !== 10)
2423
923
  break;
2424
- t.eventType = r.int32();
924
+ t.apiVersion = r.string();
2425
925
  continue;
2426
926
  }
2427
927
  case 2: {
2428
928
  if (i !== 18)
2429
929
  break;
2430
- 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();
2431
937
  continue;
2432
938
  }
2433
939
  }
@@ -2439,27 +945,28 @@ const jn = {
2439
945
  },
2440
946
  fromJSON(e) {
2441
947
  return {
2442
- eventType: d(e.eventType) ? qn(e.eventType) : 0,
2443
- 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) : ""
2444
951
  };
2445
952
  },
2446
953
  toJSON(e) {
2447
954
  const n = {};
2448
- return e.eventType !== 0 && (n.eventType = wn(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;
2449
956
  },
2450
957
  create(e) {
2451
- return jn.fromPartial(e ?? {});
958
+ return an.fromPartial(e ?? {});
2452
959
  },
2453
960
  fromPartial(e) {
2454
- const n = Le();
2455
- 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;
2456
963
  }
2457
964
  };
2458
- function d(e) {
965
+ function c(e) {
2459
966
  return e != null;
2460
967
  }
2461
- var er = /* @__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))(er || {});
2462
- function nr(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) {
2463
970
  switch (e) {
2464
971
  case 0:
2465
972
  case "MEASUREMENT_EVENT_UNSPECIFIED":
@@ -2482,7 +989,7 @@ function nr(e) {
2482
989
  return -1;
2483
990
  }
2484
991
  }
2485
- function rr(e) {
992
+ function fn(e) {
2486
993
  switch (e) {
2487
994
  case 0:
2488
995
  return "MEASUREMENT_EVENT_UNSPECIFIED";
@@ -2499,17 +1006,17 @@ function rr(e) {
2499
1006
  return "UNRECOGNIZED";
2500
1007
  }
2501
1008
  }
2502
- function ge() {
1009
+ function j() {
2503
1010
  return { preferences: void 0, setup: void 0 };
2504
1011
  }
2505
- const ir = {
1012
+ const un = {
2506
1013
  encode(e, n = new u()) {
2507
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.setup !== void 0 && I.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;
2508
1015
  },
2509
1016
  decode(e, n) {
2510
1017
  const r = e instanceof o ? e : new o(e);
2511
1018
  let a = n === void 0 ? r.len : r.pos + n;
2512
- const t = ge();
1019
+ const t = j();
2513
1020
  for (; r.pos < a; ) {
2514
1021
  const i = r.uint32();
2515
1022
  switch (i >>> 3) {
@@ -2522,7 +1029,7 @@ const ir = {
2522
1029
  case 2: {
2523
1030
  if (i !== 18)
2524
1031
  break;
2525
- t.setup = I.decode(r, r.uint32());
1032
+ t.setup = h.decode(r, r.uint32());
2526
1033
  continue;
2527
1034
  }
2528
1035
  }
@@ -2535,32 +1042,32 @@ const ir = {
2535
1042
  fromJSON(e) {
2536
1043
  return {
2537
1044
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2538
- setup: f(e.setup) ? I.fromJSON(e.setup) : void 0
1045
+ setup: f(e.setup) ? h.fromJSON(e.setup) : void 0
2539
1046
  };
2540
1047
  },
2541
1048
  toJSON(e) {
2542
1049
  const n = {};
2543
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.setup !== void 0 && (n.setup = I.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;
2544
1051
  },
2545
1052
  create(e) {
2546
- return ir.fromPartial(e ?? {});
1053
+ return un.fromPartial(e ?? {});
2547
1054
  },
2548
1055
  fromPartial(e) {
2549
- const n = ge();
2550
- 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 ? I.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;
2551
1058
  }
2552
1059
  };
2553
- function Je() {
1060
+ function ee() {
2554
1061
  return { preferences: void 0, configuration: void 0 };
2555
1062
  }
2556
- const tr = {
1063
+ const dn = {
2557
1064
  encode(e, n = new u()) {
2558
- 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;
2559
1066
  },
2560
1067
  decode(e, n) {
2561
1068
  const r = e instanceof o ? e : new o(e);
2562
1069
  let a = n === void 0 ? r.len : r.pos + n;
2563
- const t = Je();
1070
+ const t = ee();
2564
1071
  for (; r.pos < a; ) {
2565
1072
  const i = r.uint32();
2566
1073
  switch (i >>> 3) {
@@ -2573,7 +1080,7 @@ const tr = {
2573
1080
  case 2: {
2574
1081
  if (i !== 18)
2575
1082
  break;
2576
- t.configuration = q.decode(r, r.uint32());
1083
+ t.configuration = G.decode(r, r.uint32());
2577
1084
  continue;
2578
1085
  }
2579
1086
  }
@@ -2586,32 +1093,32 @@ const tr = {
2586
1093
  fromJSON(e) {
2587
1094
  return {
2588
1095
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2589
- configuration: f(e.configuration) ? q.fromJSON(e.configuration) : void 0
1096
+ configuration: f(e.configuration) ? G.fromJSON(e.configuration) : void 0
2590
1097
  };
2591
1098
  },
2592
1099
  toJSON(e) {
2593
1100
  const n = {};
2594
- 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;
2595
1102
  },
2596
1103
  create(e) {
2597
- return tr.fromPartial(e ?? {});
1104
+ return dn.fromPartial(e ?? {});
2598
1105
  },
2599
1106
  fromPartial(e) {
2600
- const n = Je();
2601
- 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;
2602
1109
  }
2603
1110
  };
2604
- function ve() {
1111
+ function ne() {
2605
1112
  return { preferences: void 0, configuration: void 0 };
2606
1113
  }
2607
- const ar = {
1114
+ const cn = {
2608
1115
  encode(e, n = new u()) {
2609
- 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;
2610
1117
  },
2611
1118
  decode(e, n) {
2612
1119
  const r = e instanceof o ? e : new o(e);
2613
1120
  let a = n === void 0 ? r.len : r.pos + n;
2614
- const t = ve();
1121
+ const t = ne();
2615
1122
  for (; r.pos < a; ) {
2616
1123
  const i = r.uint32();
2617
1124
  switch (i >>> 3) {
@@ -2624,7 +1131,7 @@ const ar = {
2624
1131
  case 2: {
2625
1132
  if (i !== 18)
2626
1133
  break;
2627
- t.configuration = H.decode(r, r.uint32());
1134
+ t.configuration = v.decode(r, r.uint32());
2628
1135
  continue;
2629
1136
  }
2630
1137
  }
@@ -2637,32 +1144,32 @@ const ar = {
2637
1144
  fromJSON(e) {
2638
1145
  return {
2639
1146
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2640
- configuration: f(e.configuration) ? H.fromJSON(e.configuration) : void 0
1147
+ configuration: f(e.configuration) ? v.fromJSON(e.configuration) : void 0
2641
1148
  };
2642
1149
  },
2643
1150
  toJSON(e) {
2644
1151
  const n = {};
2645
- 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;
2646
1153
  },
2647
1154
  create(e) {
2648
- return ar.fromPartial(e ?? {});
1155
+ return cn.fromPartial(e ?? {});
2649
1156
  },
2650
1157
  fromPartial(e) {
2651
- const n = ve();
2652
- 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;
2653
1160
  }
2654
1161
  };
2655
- function De() {
1162
+ function re() {
2656
1163
  return { preferences: void 0, source: void 0, replaceAllProperties: !1 };
2657
1164
  }
2658
- const sr = {
1165
+ const ln = {
2659
1166
  encode(e, n = new u()) {
2660
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.source !== void 0 && k.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;
2661
1168
  },
2662
1169
  decode(e, n) {
2663
1170
  const r = e instanceof o ? e : new o(e);
2664
1171
  let a = n === void 0 ? r.len : r.pos + n;
2665
- const t = De();
1172
+ const t = re();
2666
1173
  for (; r.pos < a; ) {
2667
1174
  const i = r.uint32();
2668
1175
  switch (i >>> 3) {
@@ -2675,7 +1182,7 @@ const sr = {
2675
1182
  case 2: {
2676
1183
  if (i !== 18)
2677
1184
  break;
2678
- t.source = k.decode(r, r.uint32());
1185
+ t.source = P.decode(r, r.uint32());
2679
1186
  continue;
2680
1187
  }
2681
1188
  case 3: {
@@ -2694,40 +1201,40 @@ const sr = {
2694
1201
  fromJSON(e) {
2695
1202
  return {
2696
1203
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2697
- source: f(e.source) ? k.fromJSON(e.source) : void 0,
1204
+ source: f(e.source) ? P.fromJSON(e.source) : void 0,
2698
1205
  replaceAllProperties: f(e.replaceAllProperties) ? globalThis.Boolean(e.replaceAllProperties) : !1
2699
1206
  };
2700
1207
  },
2701
1208
  toJSON(e) {
2702
1209
  const n = {};
2703
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.source !== void 0 && (n.source = k.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;
2704
1211
  },
2705
1212
  create(e) {
2706
- return sr.fromPartial(e ?? {});
1213
+ return ln.fromPartial(e ?? {});
2707
1214
  },
2708
1215
  fromPartial(e) {
2709
- const n = De();
2710
- 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 ? k.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;
2711
1218
  }
2712
1219
  };
2713
- function xe() {
1220
+ function ie() {
2714
1221
  return { source: void 0 };
2715
1222
  }
2716
- const or = {
1223
+ const pn = {
2717
1224
  encode(e, n = new u()) {
2718
- return e.source !== void 0 && k.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;
2719
1226
  },
2720
1227
  decode(e, n) {
2721
1228
  const r = e instanceof o ? e : new o(e);
2722
1229
  let a = n === void 0 ? r.len : r.pos + n;
2723
- const t = xe();
1230
+ const t = ie();
2724
1231
  for (; r.pos < a; ) {
2725
1232
  const i = r.uint32();
2726
1233
  switch (i >>> 3) {
2727
1234
  case 1: {
2728
1235
  if (i !== 10)
2729
1236
  break;
2730
- t.source = k.decode(r, r.uint32());
1237
+ t.source = P.decode(r, r.uint32());
2731
1238
  continue;
2732
1239
  }
2733
1240
  }
@@ -2738,21 +1245,21 @@ const or = {
2738
1245
  return t;
2739
1246
  },
2740
1247
  fromJSON(e) {
2741
- return { source: f(e.source) ? k.fromJSON(e.source) : void 0 };
1248
+ return { source: f(e.source) ? P.fromJSON(e.source) : void 0 };
2742
1249
  },
2743
1250
  toJSON(e) {
2744
1251
  const n = {};
2745
- return e.source !== void 0 && (n.source = k.toJSON(e.source)), n;
1252
+ return e.source !== void 0 && (n.source = P.toJSON(e.source)), n;
2746
1253
  },
2747
1254
  create(e) {
2748
- return or.fromPartial(e ?? {});
1255
+ return pn.fromPartial(e ?? {});
2749
1256
  },
2750
1257
  fromPartial(e) {
2751
- const n = xe();
2752
- return n.source = e.source !== void 0 && e.source !== null ? k.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;
2753
1260
  }
2754
1261
  };
2755
- function Me() {
1262
+ function te() {
2756
1263
  return {
2757
1264
  preferences: void 0,
2758
1265
  dataProcessor: void 0,
@@ -2761,14 +1268,14 @@ function Me() {
2761
1268
  replaceAllProperties: !1
2762
1269
  };
2763
1270
  }
2764
- const ur = {
1271
+ const Sn = {
2765
1272
  encode(e, n = new u()) {
2766
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.dataProcessor !== void 0 && R.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;
2767
1274
  },
2768
1275
  decode(e, n) {
2769
1276
  const r = e instanceof o ? e : new o(e);
2770
1277
  let a = n === void 0 ? r.len : r.pos + n;
2771
- const t = Me();
1278
+ const t = te();
2772
1279
  for (; r.pos < a; ) {
2773
1280
  const i = r.uint32();
2774
1281
  switch (i >>> 3) {
@@ -2781,7 +1288,7 @@ const ur = {
2781
1288
  case 2: {
2782
1289
  if (i !== 18)
2783
1290
  break;
2784
- t.dataProcessor = R.decode(r, r.uint32());
1291
+ t.dataProcessor = T.decode(r, r.uint32());
2785
1292
  continue;
2786
1293
  }
2787
1294
  case 3: {
@@ -2812,7 +1319,7 @@ const ur = {
2812
1319
  fromJSON(e) {
2813
1320
  return {
2814
1321
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2815
- dataProcessor: f(e.dataProcessor) ? R.fromJSON(e.dataProcessor) : void 0,
1322
+ dataProcessor: f(e.dataProcessor) ? T.fromJSON(e.dataProcessor) : void 0,
2816
1323
  previousNode: f(e.previousNode) ? globalThis.String(e.previousNode) : "",
2817
1324
  nextNode: f(e.nextNode) ? globalThis.String(e.nextNode) : "",
2818
1325
  replaceAllProperties: f(e.replaceAllProperties) ? globalThis.Boolean(e.replaceAllProperties) : !1
@@ -2820,34 +1327,34 @@ const ur = {
2820
1327
  },
2821
1328
  toJSON(e) {
2822
1329
  const n = {};
2823
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.dataProcessor !== void 0 && (n.dataProcessor = R.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;
2824
1331
  },
2825
1332
  create(e) {
2826
- return ur.fromPartial(e ?? {});
1333
+ return Sn.fromPartial(e ?? {});
2827
1334
  },
2828
1335
  fromPartial(e) {
2829
- const n = Me();
2830
- 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 ? R.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;
2831
1338
  }
2832
1339
  };
2833
- function Ge() {
1340
+ function ae() {
2834
1341
  return { dataProcessor: void 0 };
2835
1342
  }
2836
- const fr = {
1343
+ const Nn = {
2837
1344
  encode(e, n = new u()) {
2838
- return e.dataProcessor !== void 0 && R.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;
2839
1346
  },
2840
1347
  decode(e, n) {
2841
1348
  const r = e instanceof o ? e : new o(e);
2842
1349
  let a = n === void 0 ? r.len : r.pos + n;
2843
- const t = Ge();
1350
+ const t = ae();
2844
1351
  for (; r.pos < a; ) {
2845
1352
  const i = r.uint32();
2846
1353
  switch (i >>> 3) {
2847
1354
  case 1: {
2848
1355
  if (i !== 10)
2849
1356
  break;
2850
- t.dataProcessor = R.decode(r, r.uint32());
1357
+ t.dataProcessor = T.decode(r, r.uint32());
2851
1358
  continue;
2852
1359
  }
2853
1360
  }
@@ -2859,32 +1366,32 @@ const fr = {
2859
1366
  },
2860
1367
  fromJSON(e) {
2861
1368
  return {
2862
- dataProcessor: f(e.dataProcessor) ? R.fromJSON(e.dataProcessor) : void 0
1369
+ dataProcessor: f(e.dataProcessor) ? T.fromJSON(e.dataProcessor) : void 0
2863
1370
  };
2864
1371
  },
2865
1372
  toJSON(e) {
2866
1373
  const n = {};
2867
- return e.dataProcessor !== void 0 && (n.dataProcessor = R.toJSON(e.dataProcessor)), n;
1374
+ return e.dataProcessor !== void 0 && (n.dataProcessor = T.toJSON(e.dataProcessor)), n;
2868
1375
  },
2869
1376
  create(e) {
2870
- return fr.fromPartial(e ?? {});
1377
+ return Nn.fromPartial(e ?? {});
2871
1378
  },
2872
1379
  fromPartial(e) {
2873
- const n = Ge();
2874
- return n.dataProcessor = e.dataProcessor !== void 0 && e.dataProcessor !== null ? R.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;
2875
1382
  }
2876
1383
  };
2877
- function be() {
1384
+ function se() {
2878
1385
  return { preferences: void 0, target: void 0, replaceAllProperties: !1 };
2879
1386
  }
2880
- const dr = {
1387
+ const En = {
2881
1388
  encode(e, n = new u()) {
2882
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.target !== void 0 && C.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;
2883
1390
  },
2884
1391
  decode(e, n) {
2885
1392
  const r = e instanceof o ? e : new o(e);
2886
1393
  let a = n === void 0 ? r.len : r.pos + n;
2887
- const t = be();
1394
+ const t = se();
2888
1395
  for (; r.pos < a; ) {
2889
1396
  const i = r.uint32();
2890
1397
  switch (i >>> 3) {
@@ -2897,7 +1404,7 @@ const dr = {
2897
1404
  case 2: {
2898
1405
  if (i !== 18)
2899
1406
  break;
2900
- t.target = C.decode(r, r.uint32());
1407
+ t.target = O.decode(r, r.uint32());
2901
1408
  continue;
2902
1409
  }
2903
1410
  case 3: {
@@ -2916,40 +1423,40 @@ const dr = {
2916
1423
  fromJSON(e) {
2917
1424
  return {
2918
1425
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
2919
- target: f(e.target) ? C.fromJSON(e.target) : void 0,
1426
+ target: f(e.target) ? O.fromJSON(e.target) : void 0,
2920
1427
  replaceAllProperties: f(e.replaceAllProperties) ? globalThis.Boolean(e.replaceAllProperties) : !1
2921
1428
  };
2922
1429
  },
2923
1430
  toJSON(e) {
2924
1431
  const n = {};
2925
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.target !== void 0 && (n.target = C.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;
2926
1433
  },
2927
1434
  create(e) {
2928
- return dr.fromPartial(e ?? {});
1435
+ return En.fromPartial(e ?? {});
2929
1436
  },
2930
1437
  fromPartial(e) {
2931
- const n = be();
2932
- 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 ? C.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;
2933
1440
  }
2934
1441
  };
2935
- function Ve() {
1442
+ function oe() {
2936
1443
  return { target: void 0 };
2937
1444
  }
2938
- const cr = {
1445
+ const mn = {
2939
1446
  encode(e, n = new u()) {
2940
- return e.target !== void 0 && C.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;
2941
1448
  },
2942
1449
  decode(e, n) {
2943
1450
  const r = e instanceof o ? e : new o(e);
2944
1451
  let a = n === void 0 ? r.len : r.pos + n;
2945
- const t = Ve();
1452
+ const t = oe();
2946
1453
  for (; r.pos < a; ) {
2947
1454
  const i = r.uint32();
2948
1455
  switch (i >>> 3) {
2949
1456
  case 1: {
2950
1457
  if (i !== 10)
2951
1458
  break;
2952
- t.target = C.decode(r, r.uint32());
1459
+ t.target = O.decode(r, r.uint32());
2953
1460
  continue;
2954
1461
  }
2955
1462
  }
@@ -2960,31 +1467,31 @@ const cr = {
2960
1467
  return t;
2961
1468
  },
2962
1469
  fromJSON(e) {
2963
- return { target: f(e.target) ? C.fromJSON(e.target) : void 0 };
1470
+ return { target: f(e.target) ? O.fromJSON(e.target) : void 0 };
2964
1471
  },
2965
1472
  toJSON(e) {
2966
1473
  const n = {};
2967
- return e.target !== void 0 && (n.target = C.toJSON(e.target)), n;
1474
+ return e.target !== void 0 && (n.target = O.toJSON(e.target)), n;
2968
1475
  },
2969
1476
  create(e) {
2970
- return cr.fromPartial(e ?? {});
1477
+ return mn.fromPartial(e ?? {});
2971
1478
  },
2972
1479
  fromPartial(e) {
2973
- const n = Ve();
2974
- return n.target = e.target !== void 0 && e.target !== null ? C.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;
2975
1482
  }
2976
1483
  };
2977
- function ye() {
1484
+ function fe() {
2978
1485
  return { preferences: void 0, startNode: "", endNode: "" };
2979
1486
  }
2980
- const lr = {
1487
+ const On = {
2981
1488
  encode(e, n = new u()) {
2982
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;
2983
1490
  },
2984
1491
  decode(e, n) {
2985
1492
  const r = e instanceof o ? e : new o(e);
2986
1493
  let a = n === void 0 ? r.len : r.pos + n;
2987
- const t = ye();
1494
+ const t = fe();
2988
1495
  for (; r.pos < a; ) {
2989
1496
  const i = r.uint32();
2990
1497
  switch (i >>> 3) {
@@ -3025,24 +1532,24 @@ const lr = {
3025
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;
3026
1533
  },
3027
1534
  create(e) {
3028
- return lr.fromPartial(e ?? {});
1535
+ return On.fromPartial(e ?? {});
3029
1536
  },
3030
1537
  fromPartial(e) {
3031
- const n = ye();
1538
+ const n = fe();
3032
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;
3033
1540
  }
3034
1541
  };
3035
- function Be() {
1542
+ function ue() {
3036
1543
  return { preferences: void 0, startNode: "", endNode: "" };
3037
1544
  }
3038
- const pr = {
1545
+ const Tn = {
3039
1546
  encode(e, n = new u()) {
3040
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;
3041
1548
  },
3042
1549
  decode(e, n) {
3043
1550
  const r = e instanceof o ? e : new o(e);
3044
1551
  let a = n === void 0 ? r.len : r.pos + n;
3045
- const t = Be();
1552
+ const t = ue();
3046
1553
  for (; r.pos < a; ) {
3047
1554
  const i = r.uint32();
3048
1555
  switch (i >>> 3) {
@@ -3083,24 +1590,24 @@ const pr = {
3083
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;
3084
1591
  },
3085
1592
  create(e) {
3086
- return pr.fromPartial(e ?? {});
1593
+ return Tn.fromPartial(e ?? {});
3087
1594
  },
3088
1595
  fromPartial(e) {
3089
- const n = Be();
1596
+ const n = ue();
3090
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;
3091
1598
  }
3092
1599
  };
3093
- function Fe() {
1600
+ function de() {
3094
1601
  return { preferences: void 0, identifier: "" };
3095
1602
  }
3096
- const Nr = {
1603
+ const Pn = {
3097
1604
  encode(e, n = new u()) {
3098
1605
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.identifier !== "" && n.uint32(18).string(e.identifier), n;
3099
1606
  },
3100
1607
  decode(e, n) {
3101
1608
  const r = e instanceof o ? e : new o(e);
3102
1609
  let a = n === void 0 ? r.len : r.pos + n;
3103
- const t = Fe();
1610
+ const t = de();
3104
1611
  for (; r.pos < a; ) {
3105
1612
  const i = r.uint32();
3106
1613
  switch (i >>> 3) {
@@ -3134,17 +1641,17 @@ const Nr = {
3134
1641
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.identifier !== "" && (n.identifier = e.identifier), n;
3135
1642
  },
3136
1643
  create(e) {
3137
- return Nr.fromPartial(e ?? {});
1644
+ return Pn.fromPartial(e ?? {});
3138
1645
  },
3139
1646
  fromPartial(e) {
3140
- const n = Fe();
1647
+ const n = de();
3141
1648
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.identifier = e.identifier ?? "", n;
3142
1649
  }
3143
1650
  };
3144
- function Ue() {
1651
+ function ce() {
3145
1652
  return { preferences: void 0, identifiers: [] };
3146
1653
  }
3147
- const Sr = {
1654
+ const hn = {
3148
1655
  encode(e, n = new u()) {
3149
1656
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join();
3150
1657
  for (const r of e.identifiers)
@@ -3154,7 +1661,7 @@ const Sr = {
3154
1661
  decode(e, n) {
3155
1662
  const r = e instanceof o ? e : new o(e);
3156
1663
  let a = n === void 0 ? r.len : r.pos + n;
3157
- const t = Ue();
1664
+ const t = ce();
3158
1665
  for (; r.pos < a; ) {
3159
1666
  const i = r.uint32();
3160
1667
  switch (i >>> 3) {
@@ -3189,25 +1696,25 @@ const Sr = {
3189
1696
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), (r = e.identifiers) != null && r.length && (n.identifiers = e.identifiers), n;
3190
1697
  },
3191
1698
  create(e) {
3192
- return Sr.fromPartial(e ?? {});
1699
+ return hn.fromPartial(e ?? {});
3193
1700
  },
3194
1701
  fromPartial(e) {
3195
1702
  var r;
3196
- const n = Ue();
1703
+ const n = ce();
3197
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;
3198
1705
  }
3199
1706
  };
3200
- function He() {
1707
+ function le() {
3201
1708
  return { preferences: void 0, channelIdentifier: "", frame: void 0 };
3202
1709
  }
3203
- const Er = {
1710
+ const gn = {
3204
1711
  encode(e, n = new u()) {
3205
- 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 && T.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;
3206
1713
  },
3207
1714
  decode(e, n) {
3208
1715
  const r = e instanceof o ? e : new o(e);
3209
1716
  let a = n === void 0 ? r.len : r.pos + n;
3210
- const t = He();
1717
+ const t = le();
3211
1718
  for (; r.pos < a; ) {
3212
1719
  const i = r.uint32();
3213
1720
  switch (i >>> 3) {
@@ -3226,7 +1733,7 @@ const Er = {
3226
1733
  case 3: {
3227
1734
  if (i !== 26)
3228
1735
  break;
3229
- t.frame = T.decode(r, r.uint32());
1736
+ t.frame = m.decode(r, r.uint32());
3230
1737
  continue;
3231
1738
  }
3232
1739
  }
@@ -3240,32 +1747,32 @@ const Er = {
3240
1747
  return {
3241
1748
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3242
1749
  channelIdentifier: f(e.channelIdentifier) ? globalThis.String(e.channelIdentifier) : "",
3243
- frame: f(e.frame) ? T.fromJSON(e.frame) : void 0
1750
+ frame: f(e.frame) ? m.fromJSON(e.frame) : void 0
3244
1751
  };
3245
1752
  },
3246
1753
  toJSON(e) {
3247
1754
  const n = {};
3248
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = T.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;
3249
1756
  },
3250
1757
  create(e) {
3251
- return Er.fromPartial(e ?? {});
1758
+ return gn.fromPartial(e ?? {});
3252
1759
  },
3253
1760
  fromPartial(e) {
3254
- const n = He();
3255
- 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 ? T.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;
3256
1763
  }
3257
1764
  };
3258
- function qe() {
1765
+ function pe() {
3259
1766
  return { preferences: void 0, channelIdentifier: "", count: 0, interval: 0 };
3260
1767
  }
3261
- const mr = {
1768
+ const kn = {
3262
1769
  encode(e, n = new u()) {
3263
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;
3264
1771
  },
3265
1772
  decode(e, n) {
3266
1773
  const r = e instanceof o ? e : new o(e);
3267
1774
  let a = n === void 0 ? r.len : r.pos + n;
3268
- const t = qe();
1775
+ const t = pe();
3269
1776
  for (; r.pos < a; ) {
3270
1777
  const i = r.uint32();
3271
1778
  switch (i >>> 3) {
@@ -3313,24 +1820,24 @@ const mr = {
3313
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;
3314
1821
  },
3315
1822
  create(e) {
3316
- return mr.fromPartial(e ?? {});
1823
+ return kn.fromPartial(e ?? {});
3317
1824
  },
3318
1825
  fromPartial(e) {
3319
- const n = qe();
1826
+ const n = pe();
3320
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;
3321
1828
  }
3322
1829
  };
3323
- function we() {
1830
+ function Se() {
3324
1831
  return { preferences: void 0, channelIdentifier: "", frameId: 0 };
3325
1832
  }
3326
- const Pr = {
1833
+ const In = {
3327
1834
  encode(e, n = new u()) {
3328
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;
3329
1836
  },
3330
1837
  decode(e, n) {
3331
1838
  const r = e instanceof o ? e : new o(e);
3332
1839
  let a = n === void 0 ? r.len : r.pos + n;
3333
- const t = we();
1840
+ const t = Se();
3334
1841
  for (; r.pos < a; ) {
3335
1842
  const i = r.uint32();
3336
1843
  switch (i >>> 3) {
@@ -3371,24 +1878,24 @@ const Pr = {
3371
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;
3372
1879
  },
3373
1880
  create(e) {
3374
- return Pr.fromPartial(e ?? {});
1881
+ return In.fromPartial(e ?? {});
3375
1882
  },
3376
1883
  fromPartial(e) {
3377
- const n = we();
1884
+ const n = Se();
3378
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;
3379
1886
  }
3380
1887
  };
3381
- function Ze() {
1888
+ function Ne() {
3382
1889
  return { preferences: void 0, channelIdentifier: "", frame: void 0 };
3383
1890
  }
3384
- const Or = {
1891
+ const Rn = {
3385
1892
  encode(e, n = new u()) {
3386
- 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 && T.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;
3387
1894
  },
3388
1895
  decode(e, n) {
3389
1896
  const r = e instanceof o ? e : new o(e);
3390
1897
  let a = n === void 0 ? r.len : r.pos + n;
3391
- const t = Ze();
1898
+ const t = Ne();
3392
1899
  for (; r.pos < a; ) {
3393
1900
  const i = r.uint32();
3394
1901
  switch (i >>> 3) {
@@ -3407,7 +1914,7 @@ const Or = {
3407
1914
  case 3: {
3408
1915
  if (i !== 26)
3409
1916
  break;
3410
- t.frame = T.decode(r, r.uint32());
1917
+ t.frame = m.decode(r, r.uint32());
3411
1918
  continue;
3412
1919
  }
3413
1920
  }
@@ -3421,32 +1928,32 @@ const Or = {
3421
1928
  return {
3422
1929
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3423
1930
  channelIdentifier: f(e.channelIdentifier) ? globalThis.String(e.channelIdentifier) : "",
3424
- frame: f(e.frame) ? T.fromJSON(e.frame) : void 0
1931
+ frame: f(e.frame) ? m.fromJSON(e.frame) : void 0
3425
1932
  };
3426
1933
  },
3427
1934
  toJSON(e) {
3428
1935
  const n = {};
3429
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = T.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;
3430
1937
  },
3431
1938
  create(e) {
3432
- return Or.fromPartial(e ?? {});
1939
+ return Rn.fromPartial(e ?? {});
3433
1940
  },
3434
1941
  fromPartial(e) {
3435
- const n = Ze();
3436
- 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 ? T.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;
3437
1944
  }
3438
1945
  };
3439
- function We() {
1946
+ function Ee() {
3440
1947
  return { preferences: void 0, channelIdentifier: "", frameId: 0 };
3441
1948
  }
3442
- const hr = {
1949
+ const _n = {
3443
1950
  encode(e, n = new u()) {
3444
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;
3445
1952
  },
3446
1953
  decode(e, n) {
3447
1954
  const r = e instanceof o ? e : new o(e);
3448
1955
  let a = n === void 0 ? r.len : r.pos + n;
3449
- const t = We();
1956
+ const t = Ee();
3450
1957
  for (; r.pos < a; ) {
3451
1958
  const i = r.uint32();
3452
1959
  switch (i >>> 3) {
@@ -3487,24 +1994,24 @@ const hr = {
3487
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;
3488
1995
  },
3489
1996
  create(e) {
3490
- return hr.fromPartial(e ?? {});
1997
+ return _n.fromPartial(e ?? {});
3491
1998
  },
3492
1999
  fromPartial(e) {
3493
- const n = We();
2000
+ const n = Ee();
3494
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;
3495
2002
  }
3496
2003
  };
3497
- function Ke() {
2004
+ function me() {
3498
2005
  return { preferences: void 0, settings: void 0 };
3499
2006
  }
3500
- const Ar = {
2007
+ const An = {
3501
2008
  encode(e, n = new u()) {
3502
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.settings !== void 0 && _.encode(e.settings, n.uint32(18).fork()).join(), n;
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;
3503
2010
  },
3504
2011
  decode(e, n) {
3505
2012
  const r = e instanceof o ? e : new o(e);
3506
2013
  let a = n === void 0 ? r.len : r.pos + n;
3507
- const t = Ke();
2014
+ const t = me();
3508
2015
  for (; r.pos < a; ) {
3509
2016
  const i = r.uint32();
3510
2017
  switch (i >>> 3) {
@@ -3517,7 +2024,7 @@ const Ar = {
3517
2024
  case 2: {
3518
2025
  if (i !== 18)
3519
2026
  break;
3520
- t.settings = _.decode(r, r.uint32());
2027
+ t.settings = E.decode(r, r.uint32());
3521
2028
  continue;
3522
2029
  }
3523
2030
  }
@@ -3530,32 +2037,32 @@ const Ar = {
3530
2037
  fromJSON(e) {
3531
2038
  return {
3532
2039
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3533
- settings: f(e.settings) ? _.fromJSON(e.settings) : void 0
2040
+ settings: f(e.settings) ? E.fromJSON(e.settings) : void 0
3534
2041
  };
3535
2042
  },
3536
2043
  toJSON(e) {
3537
2044
  const n = {};
3538
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.settings !== void 0 && (n.settings = _.toJSON(e.settings)), n;
2045
+ return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.settings !== void 0 && (n.settings = E.toJSON(e.settings)), n;
3539
2046
  },
3540
2047
  create(e) {
3541
- return Ar.fromPartial(e ?? {});
2048
+ return An.fromPartial(e ?? {});
3542
2049
  },
3543
2050
  fromPartial(e) {
3544
- const n = Ke();
3545
- 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 ? _.fromPartial(e.settings) : void 0, n;
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;
3546
2053
  }
3547
2054
  };
3548
- function Qe() {
2055
+ function Oe() {
3549
2056
  return { preferences: void 0, settings: void 0, identifier: "" };
3550
2057
  }
3551
- const _r = {
2058
+ const Ln = {
3552
2059
  encode(e, n = new u()) {
3553
- return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.settings !== void 0 && _.encode(e.settings, n.uint32(18).fork()).join(), e.identifier !== "" && n.uint32(26).string(e.identifier), 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;
3554
2061
  },
3555
2062
  decode(e, n) {
3556
2063
  const r = e instanceof o ? e : new o(e);
3557
2064
  let a = n === void 0 ? r.len : r.pos + n;
3558
- const t = Qe();
2065
+ const t = Oe();
3559
2066
  for (; r.pos < a; ) {
3560
2067
  const i = r.uint32();
3561
2068
  switch (i >>> 3) {
@@ -3568,7 +2075,7 @@ const _r = {
3568
2075
  case 2: {
3569
2076
  if (i !== 18)
3570
2077
  break;
3571
- t.settings = _.decode(r, r.uint32());
2078
+ t.settings = E.decode(r, r.uint32());
3572
2079
  continue;
3573
2080
  }
3574
2081
  case 3: {
@@ -3587,33 +2094,33 @@ const _r = {
3587
2094
  fromJSON(e) {
3588
2095
  return {
3589
2096
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3590
- settings: f(e.settings) ? _.fromJSON(e.settings) : void 0,
2097
+ settings: f(e.settings) ? E.fromJSON(e.settings) : void 0,
3591
2098
  identifier: f(e.identifier) ? globalThis.String(e.identifier) : ""
3592
2099
  };
3593
2100
  },
3594
2101
  toJSON(e) {
3595
2102
  const n = {};
3596
- return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.settings !== void 0 && (n.settings = _.toJSON(e.settings)), e.identifier !== "" && (n.identifier = e.identifier), 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;
3597
2104
  },
3598
2105
  create(e) {
3599
- return _r.fromPartial(e ?? {});
2106
+ return Ln.fromPartial(e ?? {});
3600
2107
  },
3601
2108
  fromPartial(e) {
3602
- const n = Qe();
3603
- 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 ? _.fromPartial(e.settings) : void 0, n.identifier = e.identifier ?? "", 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;
3604
2111
  }
3605
2112
  };
3606
- function Ye() {
2113
+ function Te() {
3607
2114
  return { periodicTransmissionIdentifier: "" };
3608
2115
  }
3609
- const Tr = {
2116
+ const Jn = {
3610
2117
  encode(e, n = new u()) {
3611
2118
  return e.periodicTransmissionIdentifier !== "" && n.uint32(10).string(e.periodicTransmissionIdentifier), n;
3612
2119
  },
3613
2120
  decode(e, n) {
3614
2121
  const r = e instanceof o ? e : new o(e);
3615
2122
  let a = n === void 0 ? r.len : r.pos + n;
3616
- const t = Ye();
2123
+ const t = Te();
3617
2124
  for (; r.pos < a; ) {
3618
2125
  const i = r.uint32();
3619
2126
  switch (i >>> 3) {
@@ -3640,24 +2147,24 @@ const Tr = {
3640
2147
  return e.periodicTransmissionIdentifier !== "" && (n.periodicTransmissionIdentifier = e.periodicTransmissionIdentifier), n;
3641
2148
  },
3642
2149
  create(e) {
3643
- return Tr.fromPartial(e ?? {});
2150
+ return Jn.fromPartial(e ?? {});
3644
2151
  },
3645
2152
  fromPartial(e) {
3646
- const n = Ye();
2153
+ const n = Te();
3647
2154
  return n.periodicTransmissionIdentifier = e.periodicTransmissionIdentifier ?? "", n;
3648
2155
  }
3649
2156
  };
3650
- function Xe() {
2157
+ function Pe() {
3651
2158
  return { isOnline: !1 };
3652
2159
  }
3653
- const M = {
2160
+ const I = {
3654
2161
  encode(e, n = new u()) {
3655
2162
  return e.isOnline !== !1 && n.uint32(8).bool(e.isOnline), n;
3656
2163
  },
3657
2164
  decode(e, n) {
3658
2165
  const r = e instanceof o ? e : new o(e);
3659
2166
  let a = n === void 0 ? r.len : r.pos + n;
3660
- const t = Xe();
2167
+ const t = Pe();
3661
2168
  for (; r.pos < a; ) {
3662
2169
  const i = r.uint32();
3663
2170
  switch (i >>> 3) {
@@ -3682,24 +2189,24 @@ const M = {
3682
2189
  return e.isOnline !== !1 && (n.isOnline = e.isOnline), n;
3683
2190
  },
3684
2191
  create(e) {
3685
- return M.fromPartial(e ?? {});
2192
+ return I.fromPartial(e ?? {});
3686
2193
  },
3687
2194
  fromPartial(e) {
3688
- const n = Xe();
2195
+ const n = Pe();
3689
2196
  return n.isOnline = e.isOnline ?? !1, n;
3690
2197
  }
3691
2198
  };
3692
- function $e() {
2199
+ function he() {
3693
2200
  return { eventType: 0, identifier: void 0, measurementSetup: void 0, onlineStatus: void 0 };
3694
2201
  }
3695
- const Cr = {
2202
+ const Cn = {
3696
2203
  encode(e, n = new u()) {
3697
- return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.identifier !== void 0 && n.uint32(18).string(e.identifier), e.measurementSetup !== void 0 && I.encode(e.measurementSetup, n.uint32(26).fork()).join(), e.onlineStatus !== void 0 && M.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;
3698
2205
  },
3699
2206
  decode(e, n) {
3700
2207
  const r = e instanceof o ? e : new o(e);
3701
2208
  let a = n === void 0 ? r.len : r.pos + n;
3702
- const t = $e();
2209
+ const t = he();
3703
2210
  for (; r.pos < a; ) {
3704
2211
  const i = r.uint32();
3705
2212
  switch (i >>> 3) {
@@ -3718,13 +2225,13 @@ const Cr = {
3718
2225
  case 3: {
3719
2226
  if (i !== 26)
3720
2227
  break;
3721
- t.measurementSetup = I.decode(r, r.uint32());
2228
+ t.measurementSetup = h.decode(r, r.uint32());
3722
2229
  continue;
3723
2230
  }
3724
2231
  case 4: {
3725
2232
  if (i !== 34)
3726
2233
  break;
3727
- t.onlineStatus = M.decode(r, r.uint32());
2234
+ t.onlineStatus = I.decode(r, r.uint32());
3728
2235
  continue;
3729
2236
  }
3730
2237
  }
@@ -3736,35 +2243,35 @@ const Cr = {
3736
2243
  },
3737
2244
  fromJSON(e) {
3738
2245
  return {
3739
- eventType: f(e.eventType) ? nr(e.eventType) : 0,
2246
+ eventType: f(e.eventType) ? on(e.eventType) : 0,
3740
2247
  identifier: f(e.identifier) ? globalThis.String(e.identifier) : void 0,
3741
- measurementSetup: f(e.measurementSetup) ? I.fromJSON(e.measurementSetup) : void 0,
3742
- onlineStatus: f(e.onlineStatus) ? M.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
3743
2250
  };
3744
2251
  },
3745
2252
  toJSON(e) {
3746
2253
  const n = {};
3747
- return e.eventType !== 0 && (n.eventType = rr(e.eventType)), e.identifier !== void 0 && (n.identifier = e.identifier), e.measurementSetup !== void 0 && (n.measurementSetup = I.toJSON(e.measurementSetup)), e.onlineStatus !== void 0 && (n.onlineStatus = M.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;
3748
2255
  },
3749
2256
  create(e) {
3750
- return Cr.fromPartial(e ?? {});
2257
+ return Cn.fromPartial(e ?? {});
3751
2258
  },
3752
2259
  fromPartial(e) {
3753
- const n = $e();
3754
- return n.eventType = e.eventType ?? 0, n.identifier = e.identifier ?? void 0, n.measurementSetup = e.measurementSetup !== void 0 && e.measurementSetup !== null ? I.fromPartial(e.measurementSetup) : void 0, n.onlineStatus = e.onlineStatus !== void 0 && e.onlineStatus !== null ? M.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;
3755
2262
  }
3756
2263
  };
3757
- function ze() {
3758
- return { preferences: void 0, messageLog: !1, signalLog: !1 };
2264
+ function ge() {
2265
+ return { preferences: void 0, messageLog: !1, signalLog: !1, readSupport: !1 };
3759
2266
  }
3760
- const Rr = {
2267
+ const xn = {
3761
2268
  encode(e, n = new u()) {
3762
- 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;
3763
2270
  },
3764
2271
  decode(e, n) {
3765
2272
  const r = e instanceof o ? e : new o(e);
3766
2273
  let a = n === void 0 ? r.len : r.pos + n;
3767
- const t = ze();
2274
+ const t = ge();
3768
2275
  for (; r.pos < a; ) {
3769
2276
  const i = r.uint32();
3770
2277
  switch (i >>> 3) {
@@ -3786,6 +2293,12 @@ const Rr = {
3786
2293
  t.signalLog = r.bool();
3787
2294
  continue;
3788
2295
  }
2296
+ case 4: {
2297
+ if (i !== 32)
2298
+ break;
2299
+ t.readSupport = r.bool();
2300
+ continue;
2301
+ }
3789
2302
  }
3790
2303
  if ((i & 7) === 4 || i === 0)
3791
2304
  break;
@@ -3797,25 +2310,26 @@ const Rr = {
3797
2310
  return {
3798
2311
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
3799
2312
  messageLog: f(e.messageLog) ? globalThis.Boolean(e.messageLog) : !1,
3800
- 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
3801
2315
  };
3802
2316
  },
3803
2317
  toJSON(e) {
3804
2318
  const n = {};
3805
- 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;
3806
2320
  },
3807
2321
  create(e) {
3808
- return Rr.fromPartial(e ?? {});
2322
+ return xn.fromPartial(e ?? {});
3809
2323
  },
3810
2324
  fromPartial(e) {
3811
- const n = ze();
3812
- 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;
3813
2327
  }
3814
2328
  };
3815
- function je() {
2329
+ function ke() {
3816
2330
  return { formats: [], names: [], extensions: [], descriptions: [] };
3817
2331
  }
3818
- const kr = {
2332
+ const vn = {
3819
2333
  encode(e, n = new u()) {
3820
2334
  n.uint32(10).fork();
3821
2335
  for (const r of e.formats)
@@ -3832,7 +2346,7 @@ const kr = {
3832
2346
  decode(e, n) {
3833
2347
  const r = e instanceof o ? e : new o(e);
3834
2348
  let a = n === void 0 ? r.len : r.pos + n;
3835
- const t = je();
2349
+ const t = ke();
3836
2350
  for (; r.pos < a; ) {
3837
2351
  const i = r.uint32();
3838
2352
  switch (i >>> 3) {
@@ -3876,7 +2390,7 @@ const kr = {
3876
2390
  },
3877
2391
  fromJSON(e) {
3878
2392
  return {
3879
- 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)) : [],
3880
2394
  names: globalThis.Array.isArray(e == null ? void 0 : e.names) ? e.names.map((n) => globalThis.String(n)) : [],
3881
2395
  extensions: globalThis.Array.isArray(e == null ? void 0 : e.extensions) ? e.extensions.map((n) => globalThis.String(n)) : [],
3882
2396
  descriptions: globalThis.Array.isArray(e == null ? void 0 : e.descriptions) ? e.descriptions.map((n) => globalThis.String(n)) : []
@@ -3885,28 +2399,28 @@ const kr = {
3885
2399
  toJSON(e) {
3886
2400
  var r, a, t, i;
3887
2401
  const n = {};
3888
- return (r = e.formats) != null && r.length && (n.formats = e.formats.map((p) => On(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;
3889
2403
  },
3890
2404
  create(e) {
3891
- return kr.fromPartial(e ?? {});
2405
+ return vn.fromPartial(e ?? {});
3892
2406
  },
3893
2407
  fromPartial(e) {
3894
2408
  var r, a, t, i;
3895
- const n = je();
2409
+ const n = ke();
3896
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;
3897
2411
  }
3898
2412
  };
3899
- function en() {
2413
+ function Ie() {
3900
2414
  return { preferences: void 0, logFile: "" };
3901
2415
  }
3902
- const Ir = {
2416
+ const Gn = {
3903
2417
  encode(e, n = new u()) {
3904
2418
  return e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join(), e.logFile !== "" && n.uint32(18).string(e.logFile), n;
3905
2419
  },
3906
2420
  decode(e, n) {
3907
2421
  const r = e instanceof o ? e : new o(e);
3908
2422
  let a = n === void 0 ? r.len : r.pos + n;
3909
- const t = en();
2423
+ const t = Ie();
3910
2424
  for (; r.pos < a; ) {
3911
2425
  const i = r.uint32();
3912
2426
  switch (i >>> 3) {
@@ -3940,17 +2454,17 @@ const Ir = {
3940
2454
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), e.logFile !== "" && (n.logFile = e.logFile), n;
3941
2455
  },
3942
2456
  create(e) {
3943
- return Ir.fromPartial(e ?? {});
2457
+ return Gn.fromPartial(e ?? {});
3944
2458
  },
3945
2459
  fromPartial(e) {
3946
- const n = en();
2460
+ const n = Ie();
3947
2461
  return n.preferences = e.preferences !== void 0 && e.preferences !== null ? s.fromPartial(e.preferences) : void 0, n.logFile = e.logFile ?? "", n;
3948
2462
  }
3949
2463
  };
3950
- function nn() {
2464
+ function Re() {
3951
2465
  return { channels: [] };
3952
2466
  }
3953
- const Lr = {
2467
+ const Vn = {
3954
2468
  encode(e, n = new u()) {
3955
2469
  n.uint32(10).fork();
3956
2470
  for (const r of e.channels)
@@ -3960,7 +2474,7 @@ const Lr = {
3960
2474
  decode(e, n) {
3961
2475
  const r = e instanceof o ? e : new o(e);
3962
2476
  let a = n === void 0 ? r.len : r.pos + n;
3963
- const t = nn();
2477
+ const t = Re();
3964
2478
  for (; r.pos < a; ) {
3965
2479
  const i = r.uint32();
3966
2480
  switch (i >>> 3) {
@@ -3995,18 +2509,18 @@ const Lr = {
3995
2509
  return (r = e.channels) != null && r.length && (n.channels = e.channels.map((a) => Math.round(a))), n;
3996
2510
  },
3997
2511
  create(e) {
3998
- return Lr.fromPartial(e ?? {});
2512
+ return Vn.fromPartial(e ?? {});
3999
2513
  },
4000
2514
  fromPartial(e) {
4001
2515
  var r;
4002
- const n = nn();
2516
+ const n = Re();
4003
2517
  return n.channels = ((r = e.channels) == null ? void 0 : r.map((a) => a)) || [], n;
4004
2518
  }
4005
2519
  };
4006
- function rn() {
2520
+ function _e() {
4007
2521
  return { preferences: void 0, files: [] };
4008
2522
  }
4009
- const gr = {
2523
+ const Mn = {
4010
2524
  encode(e, n = new u()) {
4011
2525
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join();
4012
2526
  for (const r of e.files)
@@ -4016,7 +2530,7 @@ const gr = {
4016
2530
  decode(e, n) {
4017
2531
  const r = e instanceof o ? e : new o(e);
4018
2532
  let a = n === void 0 ? r.len : r.pos + n;
4019
- const t = rn();
2533
+ const t = _e();
4020
2534
  for (; r.pos < a; ) {
4021
2535
  const i = r.uint32();
4022
2536
  switch (i >>> 3) {
@@ -4051,18 +2565,18 @@ const gr = {
4051
2565
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), (r = e.files) != null && r.length && (n.files = e.files), n;
4052
2566
  },
4053
2567
  create(e) {
4054
- return gr.fromPartial(e ?? {});
2568
+ return Mn.fromPartial(e ?? {});
4055
2569
  },
4056
2570
  fromPartial(e) {
4057
2571
  var r;
4058
- const n = rn();
2572
+ const n = _e();
4059
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;
4060
2574
  }
4061
2575
  };
4062
- function tn() {
2576
+ function Ae() {
4063
2577
  return { preferences: void 0, files: [] };
4064
2578
  }
4065
- const Jr = {
2579
+ const Dn = {
4066
2580
  encode(e, n = new u()) {
4067
2581
  e.preferences !== void 0 && s.encode(e.preferences, n.uint32(10).fork()).join();
4068
2582
  for (const r of e.files)
@@ -4072,7 +2586,7 @@ const Jr = {
4072
2586
  decode(e, n) {
4073
2587
  const r = e instanceof o ? e : new o(e);
4074
2588
  let a = n === void 0 ? r.len : r.pos + n;
4075
- const t = tn();
2589
+ const t = Ae();
4076
2590
  for (; r.pos < a; ) {
4077
2591
  const i = r.uint32();
4078
2592
  switch (i >>> 3) {
@@ -4107,34 +2621,34 @@ const Jr = {
4107
2621
  return e.preferences !== void 0 && (n.preferences = s.toJSON(e.preferences)), (r = e.files) != null && r.length && (n.files = e.files), n;
4108
2622
  },
4109
2623
  create(e) {
4110
- return Jr.fromPartial(e ?? {});
2624
+ return Dn.fromPartial(e ?? {});
4111
2625
  },
4112
2626
  fromPartial(e) {
4113
2627
  var r;
4114
- const n = tn();
2628
+ const n = Ae();
4115
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;
4116
2630
  }
4117
2631
  };
4118
- function an() {
2632
+ function Le() {
4119
2633
  return { tables: [] };
4120
2634
  }
4121
- const vr = {
2635
+ const yn = {
4122
2636
  encode(e, n = new u()) {
4123
2637
  for (const r of e.tables)
4124
- U.encode(r, n.uint32(10).fork()).join();
2638
+ x.encode(r, n.uint32(10).fork()).join();
4125
2639
  return n;
4126
2640
  },
4127
2641
  decode(e, n) {
4128
2642
  const r = e instanceof o ? e : new o(e);
4129
2643
  let a = n === void 0 ? r.len : r.pos + n;
4130
- const t = an();
2644
+ const t = Le();
4131
2645
  for (; r.pos < a; ) {
4132
2646
  const i = r.uint32();
4133
2647
  switch (i >>> 3) {
4134
2648
  case 1: {
4135
2649
  if (i !== 10)
4136
2650
  break;
4137
- t.tables.push(U.decode(r, r.uint32()));
2651
+ t.tables.push(x.decode(r, r.uint32()));
4138
2652
  continue;
4139
2653
  }
4140
2654
  }
@@ -4146,27 +2660,27 @@ const vr = {
4146
2660
  },
4147
2661
  fromJSON(e) {
4148
2662
  return {
4149
- tables: globalThis.Array.isArray(e == null ? void 0 : e.tables) ? e.tables.map((n) => U.fromJSON(n)) : []
2663
+ tables: globalThis.Array.isArray(e == null ? void 0 : e.tables) ? e.tables.map((n) => x.fromJSON(n)) : []
4150
2664
  };
4151
2665
  },
4152
2666
  toJSON(e) {
4153
2667
  var r;
4154
2668
  const n = {};
4155
- return (r = e.tables) != null && r.length && (n.tables = e.tables.map((a) => U.toJSON(a))), n;
2669
+ return (r = e.tables) != null && r.length && (n.tables = e.tables.map((a) => x.toJSON(a))), n;
4156
2670
  },
4157
2671
  create(e) {
4158
- return vr.fromPartial(e ?? {});
2672
+ return yn.fromPartial(e ?? {});
4159
2673
  },
4160
2674
  fromPartial(e) {
4161
2675
  var r;
4162
- const n = an();
4163
- return n.tables = ((r = e.tables) == null ? void 0 : r.map((a) => U.fromPartial(a))) || [], n;
2676
+ const n = Le();
2677
+ return n.tables = ((r = e.tables) == null ? void 0 : r.map((a) => x.fromPartial(a))) || [], n;
4164
2678
  }
4165
2679
  };
4166
- function sn() {
2680
+ function Je() {
4167
2681
  return { preferences: void 0, messageQualifiedName: "", data: [] };
4168
2682
  }
4169
- const Dr = {
2683
+ const Fn = {
4170
2684
  encode(e, n = new u()) {
4171
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();
4172
2686
  for (const r of e.data)
@@ -4176,7 +2690,7 @@ const Dr = {
4176
2690
  decode(e, n) {
4177
2691
  const r = e instanceof o ? e : new o(e);
4178
2692
  let a = n === void 0 ? r.len : r.pos + n;
4179
- const t = sn();
2693
+ const t = Je();
4180
2694
  for (; r.pos < a; ) {
4181
2695
  const i = r.uint32();
4182
2696
  switch (i >>> 3) {
@@ -4225,34 +2739,34 @@ const Dr = {
4225
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;
4226
2740
  },
4227
2741
  create(e) {
4228
- return Dr.fromPartial(e ?? {});
2742
+ return Fn.fromPartial(e ?? {});
4229
2743
  },
4230
2744
  fromPartial(e) {
4231
2745
  var r;
4232
- const n = sn();
2746
+ const n = Je();
4233
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;
4234
2748
  }
4235
2749
  };
4236
- function on() {
2750
+ function Ce() {
4237
2751
  return { signalValues: [] };
4238
2752
  }
4239
- const xr = {
2753
+ const Un = {
4240
2754
  encode(e, n = new u()) {
4241
2755
  for (const r of e.signalValues)
4242
- E.encode(r, n.uint32(10).fork()).join();
2756
+ S.encode(r, n.uint32(10).fork()).join();
4243
2757
  return n;
4244
2758
  },
4245
2759
  decode(e, n) {
4246
2760
  const r = e instanceof o ? e : new o(e);
4247
2761
  let a = n === void 0 ? r.len : r.pos + n;
4248
- const t = on();
2762
+ const t = Ce();
4249
2763
  for (; r.pos < a; ) {
4250
2764
  const i = r.uint32();
4251
2765
  switch (i >>> 3) {
4252
2766
  case 1: {
4253
2767
  if (i !== 10)
4254
2768
  break;
4255
- t.signalValues.push(E.decode(r, r.uint32()));
2769
+ t.signalValues.push(S.decode(r, r.uint32()));
4256
2770
  continue;
4257
2771
  }
4258
2772
  }
@@ -4264,40 +2778,40 @@ const xr = {
4264
2778
  },
4265
2779
  fromJSON(e) {
4266
2780
  return {
4267
- signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => E.fromJSON(n)) : []
2781
+ signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => S.fromJSON(n)) : []
4268
2782
  };
4269
2783
  },
4270
2784
  toJSON(e) {
4271
2785
  var r;
4272
2786
  const n = {};
4273
- return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((a) => E.toJSON(a))), n;
2787
+ return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((a) => S.toJSON(a))), n;
4274
2788
  },
4275
2789
  create(e) {
4276
- return xr.fromPartial(e ?? {});
2790
+ return Un.fromPartial(e ?? {});
4277
2791
  },
4278
2792
  fromPartial(e) {
4279
2793
  var r;
4280
- const n = on();
4281
- return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((a) => E.fromPartial(a))) || [], n;
2794
+ const n = Ce();
2795
+ return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((a) => S.fromPartial(a))) || [], n;
4282
2796
  }
4283
2797
  };
4284
- function un() {
2798
+ function xe() {
4285
2799
  return { preferences: void 0, messageQualifiedName: "", data: [], signalValues: [] };
4286
2800
  }
4287
- const Mr = {
2801
+ const Bn = {
4288
2802
  encode(e, n = new u()) {
4289
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();
4290
2804
  for (const r of e.data)
4291
2805
  n.uint32(r);
4292
2806
  n.join();
4293
2807
  for (const r of e.signalValues)
4294
- E.encode(r, n.uint32(34).fork()).join();
2808
+ S.encode(r, n.uint32(34).fork()).join();
4295
2809
  return n;
4296
2810
  },
4297
2811
  decode(e, n) {
4298
2812
  const r = e instanceof o ? e : new o(e);
4299
2813
  let a = n === void 0 ? r.len : r.pos + n;
4300
- const t = un();
2814
+ const t = xe();
4301
2815
  for (; r.pos < a; ) {
4302
2816
  const i = r.uint32();
4303
2817
  switch (i >>> 3) {
@@ -4329,7 +2843,7 @@ const Mr = {
4329
2843
  case 4: {
4330
2844
  if (i !== 34)
4331
2845
  break;
4332
- t.signalValues.push(E.decode(r, r.uint32()));
2846
+ t.signalValues.push(S.decode(r, r.uint32()));
4333
2847
  continue;
4334
2848
  }
4335
2849
  }
@@ -4344,30 +2858,30 @@ const Mr = {
4344
2858
  preferences: f(e.preferences) ? s.fromJSON(e.preferences) : void 0,
4345
2859
  messageQualifiedName: f(e.messageQualifiedName) ? globalThis.String(e.messageQualifiedName) : "",
4346
2860
  data: globalThis.Array.isArray(e == null ? void 0 : e.data) ? e.data.map((n) => globalThis.Number(n)) : [],
4347
- signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => E.fromJSON(n)) : []
2861
+ signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => S.fromJSON(n)) : []
4348
2862
  };
4349
2863
  },
4350
2864
  toJSON(e) {
4351
2865
  var r, a;
4352
2866
  const n = {};
4353
- 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) => E.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;
4354
2868
  },
4355
2869
  create(e) {
4356
- return Mr.fromPartial(e ?? {});
2870
+ return Bn.fromPartial(e ?? {});
4357
2871
  },
4358
2872
  fromPartial(e) {
4359
2873
  var r, a;
4360
- const n = un();
4361
- 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) => E.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;
4362
2876
  }
4363
2877
  };
4364
- function fn() {
2878
+ function ve() {
4365
2879
  return { signalValues: [], data: [] };
4366
2880
  }
4367
- const Gr = {
2881
+ const wn = {
4368
2882
  encode(e, n = new u()) {
4369
2883
  for (const r of e.signalValues)
4370
- E.encode(r, n.uint32(10).fork()).join();
2884
+ S.encode(r, n.uint32(10).fork()).join();
4371
2885
  n.uint32(18).fork();
4372
2886
  for (const r of e.data)
4373
2887
  n.uint32(r);
@@ -4376,14 +2890,14 @@ const Gr = {
4376
2890
  decode(e, n) {
4377
2891
  const r = e instanceof o ? e : new o(e);
4378
2892
  let a = n === void 0 ? r.len : r.pos + n;
4379
- const t = fn();
2893
+ const t = ve();
4380
2894
  for (; r.pos < a; ) {
4381
2895
  const i = r.uint32();
4382
2896
  switch (i >>> 3) {
4383
2897
  case 1: {
4384
2898
  if (i !== 10)
4385
2899
  break;
4386
- t.signalValues.push(E.decode(r, r.uint32()));
2900
+ t.signalValues.push(S.decode(r, r.uint32()));
4387
2901
  continue;
4388
2902
  }
4389
2903
  case 2: {
@@ -4408,29 +2922,29 @@ const Gr = {
4408
2922
  },
4409
2923
  fromJSON(e) {
4410
2924
  return {
4411
- signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => E.fromJSON(n)) : [],
2925
+ signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => S.fromJSON(n)) : [],
4412
2926
  data: globalThis.Array.isArray(e == null ? void 0 : e.data) ? e.data.map((n) => globalThis.Number(n)) : []
4413
2927
  };
4414
2928
  },
4415
2929
  toJSON(e) {
4416
2930
  var r, a;
4417
2931
  const n = {};
4418
- return (r = e.signalValues) != null && r.length && (n.signalValues = e.signalValues.map((t) => E.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;
4419
2933
  },
4420
2934
  create(e) {
4421
- return Gr.fromPartial(e ?? {});
2935
+ return wn.fromPartial(e ?? {});
4422
2936
  },
4423
2937
  fromPartial(e) {
4424
2938
  var r, a;
4425
- const n = fn();
4426
- return n.signalValues = ((r = e.signalValues) == null ? void 0 : r.map((t) => E.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;
4427
2941
  }
4428
2942
  };
4429
2943
  function f(e) {
4430
2944
  return e != null;
4431
2945
  }
4432
- var br = /* @__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))(br || {});
4433
- 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) {
4434
2948
  switch (e) {
4435
2949
  case 0:
4436
2950
  case "STATUS_LEVEL_NONE":
@@ -4450,7 +2964,7 @@ function Z(e) {
4450
2964
  return -1;
4451
2965
  }
4452
2966
  }
4453
- function W(e) {
2967
+ function M(e) {
4454
2968
  switch (e) {
4455
2969
  case 0:
4456
2970
  return "STATUS_LEVEL_NONE";
@@ -4465,8 +2979,8 @@ function W(e) {
4465
2979
  return "UNRECOGNIZED";
4466
2980
  }
4467
2981
  }
4468
- var Vr = /* @__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))(Vr || {});
4469
- function yr(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) {
4470
2984
  switch (e) {
4471
2985
  case 0:
4472
2986
  case "LOG_REPLAY_STATE_UNSPECIFIED":
@@ -4483,7 +2997,7 @@ function yr(e) {
4483
2997
  return -1;
4484
2998
  }
4485
2999
  }
4486
- function Br(e) {
3000
+ function Qn(e) {
4487
3001
  switch (e) {
4488
3002
  case 0:
4489
3003
  return "LOG_REPLAY_STATE_UNSPECIFIED";
@@ -4496,8 +3010,8 @@ function Br(e) {
4496
3010
  return "UNRECOGNIZED";
4497
3011
  }
4498
3012
  }
4499
- var Fr = /* @__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))(Fr || {});
4500
- function Ur(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) {
4501
3015
  switch (e) {
4502
3016
  case 0:
4503
3017
  case "MESSAGE_LOGGER_STATE_UNSPECIFIED":
@@ -4517,7 +3031,7 @@ function Ur(e) {
4517
3031
  return -1;
4518
3032
  }
4519
3033
  }
4520
- function Hr(e) {
3034
+ function Yn(e) {
4521
3035
  switch (e) {
4522
3036
  case 0:
4523
3037
  return "MESSAGE_LOGGER_STATE_UNSPECIFIED";
@@ -4532,7 +3046,7 @@ function Hr(e) {
4532
3046
  return "UNRECOGNIZED";
4533
3047
  }
4534
3048
  }
4535
- function dn() {
3049
+ function Ge() {
4536
3050
  return {
4537
3051
  rxMessageCounter: 0,
4538
3052
  rxMessagesPerSecond: 0,
@@ -4551,14 +3065,14 @@ function dn() {
4551
3065
  busLoad: 0
4552
3066
  };
4553
3067
  }
4554
- const G = {
3068
+ const R = {
4555
3069
  encode(e, n = new u()) {
4556
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;
4557
3071
  },
4558
3072
  decode(e, n) {
4559
3073
  const r = e instanceof o ? e : new o(e);
4560
3074
  let a = n === void 0 ? r.len : r.pos + n;
4561
- const t = dn();
3075
+ const t = Ge();
4562
3076
  for (; r.pos < a; ) {
4563
3077
  const i = r.uint32();
4564
3078
  switch (i >>> 3) {
@@ -4661,46 +3175,46 @@ const G = {
4661
3175
  },
4662
3176
  fromJSON(e) {
4663
3177
  return {
4664
- rxMessageCounter: N(e.rxMessageCounter) ? globalThis.Number(e.rxMessageCounter) : 0,
4665
- rxMessagesPerSecond: N(e.rxMessagesPerSecond) ? globalThis.Number(e.rxMessagesPerSecond) : 0,
4666
- txMessageCounter: N(e.txMessageCounter) ? globalThis.Number(e.txMessageCounter) : 0,
4667
- txMessagesPerSecond: N(e.txMessagesPerSecond) ? globalThis.Number(e.txMessagesPerSecond) : 0,
4668
- errorFrameCounter: N(e.errorFrameCounter) ? globalThis.Number(e.errorFrameCounter) : 0,
4669
- errorFramesPerSecond: N(e.errorFramesPerSecond) ? globalThis.Number(e.errorFramesPerSecond) : 0,
4670
- overrunCounter: N(e.overrunCounter) ? globalThis.Number(e.overrunCounter) : 0,
4671
- overrunsPerSecond: N(e.overrunsPerSecond) ? globalThis.Number(e.overrunsPerSecond) : 0,
4672
- rxErrorCounter: N(e.rxErrorCounter) ? globalThis.Number(e.rxErrorCounter) : 0,
4673
- txErrorCounter: N(e.txErrorCounter) ? globalThis.Number(e.txErrorCounter) : 0,
4674
- overrunErrorCounter: N(e.overrunErrorCounter) ? globalThis.Number(e.overrunErrorCounter) : 0,
4675
- busOnStatus: N(e.busOnStatus) ? Z(e.busOnStatus) : 0,
4676
- errorStatus: N(e.errorStatus) ? Z(e.errorStatus) : 0,
4677
- overrunStatus: N(e.overrunStatus) ? Z(e.overrunStatus) : 0,
4678
- 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
4679
3193
  };
4680
3194
  },
4681
3195
  toJSON(e) {
4682
3196
  const n = {};
4683
- 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;
4684
3198
  },
4685
3199
  create(e) {
4686
- return G.fromPartial(e ?? {});
3200
+ return R.fromPartial(e ?? {});
4687
3201
  },
4688
3202
  fromPartial(e) {
4689
- const n = dn();
3203
+ const n = Ge();
4690
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;
4691
3205
  }
4692
3206
  };
4693
- function cn() {
4694
- 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 };
4695
3209
  }
4696
- const b = {
3210
+ const _ = {
4697
3211
  encode(e, n = new u()) {
4698
- 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;
4699
3213
  },
4700
3214
  decode(e, n) {
4701
3215
  const r = e instanceof o ? e : new o(e);
4702
3216
  let a = n === void 0 ? r.len : r.pos + n;
4703
- const t = cn();
3217
+ const t = Ve();
4704
3218
  for (; r.pos < a; ) {
4705
3219
  const i = r.uint32();
4706
3220
  switch (i >>> 3) {
@@ -4713,19 +3227,19 @@ const b = {
4713
3227
  case 2: {
4714
3228
  if (i !== 16)
4715
3229
  break;
4716
- t.lastExecutionTime = c.fromString(r.int64().toString());
3230
+ t.lastExecutionTime = d.fromString(r.int64().toString());
4717
3231
  continue;
4718
3232
  }
4719
3233
  case 3: {
4720
3234
  if (i !== 24)
4721
3235
  break;
4722
- t.minExecutionTime = c.fromString(r.int64().toString());
3236
+ t.minExecutionTime = d.fromString(r.int64().toString());
4723
3237
  continue;
4724
3238
  }
4725
3239
  case 4: {
4726
3240
  if (i !== 32)
4727
3241
  break;
4728
- t.maxExecutionTime = c.fromString(r.int64().toString());
3242
+ t.maxExecutionTime = d.fromString(r.int64().toString());
4729
3243
  continue;
4730
3244
  }
4731
3245
  }
@@ -4737,35 +3251,35 @@ const b = {
4737
3251
  },
4738
3252
  fromJSON(e) {
4739
3253
  return {
4740
- errorCounter: N(e.errorCounter) ? globalThis.Number(e.errorCounter) : 0,
4741
- lastExecutionTime: N(e.lastExecutionTime) ? c.fromValue(e.lastExecutionTime) : c.ZERO,
4742
- minExecutionTime: N(e.minExecutionTime) ? c.fromValue(e.minExecutionTime) : c.ZERO,
4743
- 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
4744
3258
  };
4745
3259
  },
4746
3260
  toJSON(e) {
4747
3261
  const n = {};
4748
- 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;
4749
3263
  },
4750
3264
  create(e) {
4751
- return b.fromPartial(e ?? {});
3265
+ return _.fromPartial(e ?? {});
4752
3266
  },
4753
3267
  fromPartial(e) {
4754
- const n = cn();
4755
- 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;
4756
3270
  }
4757
3271
  };
4758
- function ln() {
3272
+ function Me() {
4759
3273
  return { state: 0 };
4760
3274
  }
4761
- const V = {
3275
+ const A = {
4762
3276
  encode(e, n = new u()) {
4763
3277
  return e.state !== 0 && n.uint32(8).int32(e.state), n;
4764
3278
  },
4765
3279
  decode(e, n) {
4766
3280
  const r = e instanceof o ? e : new o(e);
4767
3281
  let a = n === void 0 ? r.len : r.pos + n;
4768
- const t = ln();
3282
+ const t = Me();
4769
3283
  for (; r.pos < a; ) {
4770
3284
  const i = r.uint32();
4771
3285
  switch (i >>> 3) {
@@ -4783,31 +3297,31 @@ const V = {
4783
3297
  return t;
4784
3298
  },
4785
3299
  fromJSON(e) {
4786
- return { state: N(e.state) ? yr(e.state) : 0 };
3300
+ return { state: l(e.state) ? Kn(e.state) : 0 };
4787
3301
  },
4788
3302
  toJSON(e) {
4789
3303
  const n = {};
4790
- return e.state !== 0 && (n.state = Br(e.state)), n;
3304
+ return e.state !== 0 && (n.state = Qn(e.state)), n;
4791
3305
  },
4792
3306
  create(e) {
4793
- return V.fromPartial(e ?? {});
3307
+ return A.fromPartial(e ?? {});
4794
3308
  },
4795
3309
  fromPartial(e) {
4796
- const n = ln();
3310
+ const n = Me();
4797
3311
  return n.state = e.state ?? 0, n;
4798
3312
  }
4799
3313
  };
4800
- function pn() {
3314
+ function De() {
4801
3315
  return { state: 0 };
4802
3316
  }
4803
- const y = {
3317
+ const L = {
4804
3318
  encode(e, n = new u()) {
4805
3319
  return e.state !== 0 && n.uint32(8).int32(e.state), n;
4806
3320
  },
4807
3321
  decode(e, n) {
4808
3322
  const r = e instanceof o ? e : new o(e);
4809
3323
  let a = n === void 0 ? r.len : r.pos + n;
4810
- const t = pn();
3324
+ const t = De();
4811
3325
  for (; r.pos < a; ) {
4812
3326
  const i = r.uint32();
4813
3327
  switch (i >>> 3) {
@@ -4825,31 +3339,31 @@ const y = {
4825
3339
  return t;
4826
3340
  },
4827
3341
  fromJSON(e) {
4828
- return { state: N(e.state) ? Ur(e.state) : 0 };
3342
+ return { state: l(e.state) ? Wn(e.state) : 0 };
4829
3343
  },
4830
3344
  toJSON(e) {
4831
3345
  const n = {};
4832
- return e.state !== 0 && (n.state = Hr(e.state)), n;
3346
+ return e.state !== 0 && (n.state = Yn(e.state)), n;
4833
3347
  },
4834
3348
  create(e) {
4835
- return y.fromPartial(e ?? {});
3349
+ return L.fromPartial(e ?? {});
4836
3350
  },
4837
3351
  fromPartial(e) {
4838
- const n = pn();
3352
+ const n = De();
4839
3353
  return n.state = e.state ?? 0, n;
4840
3354
  }
4841
3355
  };
4842
- function Nn() {
3356
+ function ye() {
4843
3357
  return { errors: "" };
4844
3358
  }
4845
- const B = {
3359
+ const J = {
4846
3360
  encode(e, n = new u()) {
4847
3361
  return e.errors !== "" && n.uint32(10).string(e.errors), n;
4848
3362
  },
4849
3363
  decode(e, n) {
4850
3364
  const r = e instanceof o ? e : new o(e);
4851
3365
  let a = n === void 0 ? r.len : r.pos + n;
4852
- const t = Nn();
3366
+ const t = ye();
4853
3367
  for (; r.pos < a; ) {
4854
3368
  const i = r.uint32();
4855
3369
  switch (i >>> 3) {
@@ -4867,21 +3381,21 @@ const B = {
4867
3381
  return t;
4868
3382
  },
4869
3383
  fromJSON(e) {
4870
- return { errors: N(e.errors) ? globalThis.String(e.errors) : "" };
3384
+ return { errors: l(e.errors) ? globalThis.String(e.errors) : "" };
4871
3385
  },
4872
3386
  toJSON(e) {
4873
3387
  const n = {};
4874
3388
  return e.errors !== "" && (n.errors = e.errors), n;
4875
3389
  },
4876
3390
  create(e) {
4877
- return B.fromPartial(e ?? {});
3391
+ return J.fromPartial(e ?? {});
4878
3392
  },
4879
3393
  fromPartial(e) {
4880
- const n = Nn();
3394
+ const n = ye();
4881
3395
  return n.errors = e.errors ?? "", n;
4882
3396
  }
4883
3397
  };
4884
- function Sn() {
3398
+ function Fe() {
4885
3399
  return {
4886
3400
  nodeId: "",
4887
3401
  nodeName: "",
@@ -4889,18 +3403,18 @@ function Sn() {
4889
3403
  busStatus: void 0,
4890
3404
  dataProcessingStatus: void 0,
4891
3405
  logReplayStatus: void 0,
4892
- messageLoggerStatus: void 0,
3406
+ loggerStatus: void 0,
4893
3407
  errorStatus: void 0
4894
3408
  };
4895
3409
  }
4896
- const F = {
3410
+ const C = {
4897
3411
  encode(e, n = new u()) {
4898
- 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 && G.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 && V.encode(e.logReplayStatus, n.uint32(50).fork()).join(), e.messageLoggerStatus !== void 0 && y.encode(e.messageLoggerStatus, n.uint32(58).fork()).join(), e.errorStatus !== void 0 && B.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;
4899
3413
  },
4900
3414
  decode(e, n) {
4901
3415
  const r = e instanceof o ? e : new o(e);
4902
3416
  let a = n === void 0 ? r.len : r.pos + n;
4903
- const t = Sn();
3417
+ const t = Fe();
4904
3418
  for (; r.pos < a; ) {
4905
3419
  const i = r.uint32();
4906
3420
  switch (i >>> 3) {
@@ -4925,31 +3439,31 @@ const F = {
4925
3439
  case 4: {
4926
3440
  if (i !== 34)
4927
3441
  break;
4928
- t.busStatus = G.decode(r, r.uint32());
3442
+ t.busStatus = R.decode(r, r.uint32());
4929
3443
  continue;
4930
3444
  }
4931
3445
  case 5: {
4932
3446
  if (i !== 42)
4933
3447
  break;
4934
- t.dataProcessingStatus = b.decode(r, r.uint32());
3448
+ t.dataProcessingStatus = _.decode(r, r.uint32());
4935
3449
  continue;
4936
3450
  }
4937
3451
  case 6: {
4938
3452
  if (i !== 50)
4939
3453
  break;
4940
- t.logReplayStatus = V.decode(r, r.uint32());
3454
+ t.logReplayStatus = A.decode(r, r.uint32());
4941
3455
  continue;
4942
3456
  }
4943
3457
  case 7: {
4944
3458
  if (i !== 58)
4945
3459
  break;
4946
- t.messageLoggerStatus = y.decode(r, r.uint32());
3460
+ t.loggerStatus = L.decode(r, r.uint32());
4947
3461
  continue;
4948
3462
  }
4949
3463
  case 8: {
4950
3464
  if (i !== 66)
4951
3465
  break;
4952
- t.errorStatus = B.decode(r, r.uint32());
3466
+ t.errorStatus = J.decode(r, r.uint32());
4953
3467
  continue;
4954
3468
  }
4955
3469
  }
@@ -4961,48 +3475,48 @@ const F = {
4961
3475
  },
4962
3476
  fromJSON(e) {
4963
3477
  return {
4964
- nodeId: N(e.nodeId) ? globalThis.String(e.nodeId) : "",
4965
- nodeName: N(e.nodeName) ? globalThis.String(e.nodeName) : "",
4966
- streamId: N(e.streamId) ? globalThis.String(e.streamId) : "",
4967
- busStatus: N(e.busStatus) ? G.fromJSON(e.busStatus) : void 0,
4968
- dataProcessingStatus: N(e.dataProcessingStatus) ? b.fromJSON(e.dataProcessingStatus) : void 0,
4969
- logReplayStatus: N(e.logReplayStatus) ? V.fromJSON(e.logReplayStatus) : void 0,
4970
- messageLoggerStatus: N(e.messageLoggerStatus) ? y.fromJSON(e.messageLoggerStatus) : void 0,
4971
- errorStatus: N(e.errorStatus) ? B.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
4972
3486
  };
4973
3487
  },
4974
3488
  toJSON(e) {
4975
3489
  const n = {};
4976
- 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 = G.toJSON(e.busStatus)), e.dataProcessingStatus !== void 0 && (n.dataProcessingStatus = b.toJSON(e.dataProcessingStatus)), e.logReplayStatus !== void 0 && (n.logReplayStatus = V.toJSON(e.logReplayStatus)), e.messageLoggerStatus !== void 0 && (n.messageLoggerStatus = y.toJSON(e.messageLoggerStatus)), e.errorStatus !== void 0 && (n.errorStatus = B.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;
4977
3491
  },
4978
3492
  create(e) {
4979
- return F.fromPartial(e ?? {});
3493
+ return C.fromPartial(e ?? {});
4980
3494
  },
4981
3495
  fromPartial(e) {
4982
- const n = Sn();
4983
- return n.nodeId = e.nodeId ?? "", n.nodeName = e.nodeName ?? "", n.streamId = e.streamId ?? "", n.busStatus = e.busStatus !== void 0 && e.busStatus !== null ? G.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 ? V.fromPartial(e.logReplayStatus) : void 0, n.messageLoggerStatus = e.messageLoggerStatus !== void 0 && e.messageLoggerStatus !== null ? y.fromPartial(e.messageLoggerStatus) : void 0, n.errorStatus = e.errorStatus !== void 0 && e.errorStatus !== null ? B.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;
4984
3498
  }
4985
3499
  };
4986
- function En() {
3500
+ function Ue() {
4987
3501
  return { items: [] };
4988
3502
  }
4989
- const qr = {
3503
+ const $n = {
4990
3504
  encode(e, n = new u()) {
4991
3505
  for (const r of e.items)
4992
- F.encode(r, n.uint32(10).fork()).join();
3506
+ C.encode(r, n.uint32(10).fork()).join();
4993
3507
  return n;
4994
3508
  },
4995
3509
  decode(e, n) {
4996
3510
  const r = e instanceof o ? e : new o(e);
4997
3511
  let a = n === void 0 ? r.len : r.pos + n;
4998
- const t = En();
3512
+ const t = Ue();
4999
3513
  for (; r.pos < a; ) {
5000
3514
  const i = r.uint32();
5001
3515
  switch (i >>> 3) {
5002
3516
  case 1: {
5003
3517
  if (i !== 10)
5004
3518
  break;
5005
- t.items.push(F.decode(r, r.uint32()));
3519
+ t.items.push(C.decode(r, r.uint32()));
5006
3520
  continue;
5007
3521
  }
5008
3522
  }
@@ -5014,130 +3528,102 @@ const qr = {
5014
3528
  },
5015
3529
  fromJSON(e) {
5016
3530
  return {
5017
- items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => F.fromJSON(n)) : []
3531
+ items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => C.fromJSON(n)) : []
5018
3532
  };
5019
3533
  },
5020
3534
  toJSON(e) {
5021
3535
  var r;
5022
3536
  const n = {};
5023
- return (r = e.items) != null && r.length && (n.items = e.items.map((a) => F.toJSON(a))), n;
3537
+ return (r = e.items) != null && r.length && (n.items = e.items.map((a) => C.toJSON(a))), n;
5024
3538
  },
5025
3539
  create(e) {
5026
- return qr.fromPartial(e ?? {});
3540
+ return $n.fromPartial(e ?? {});
5027
3541
  },
5028
3542
  fromPartial(e) {
5029
3543
  var r;
5030
- const n = En();
5031
- return n.items = ((r = e.items) == null ? void 0 : r.map((a) => F.fromPartial(a))) || [], n;
3544
+ const n = Ue();
3545
+ return n.items = ((r = e.items) == null ? void 0 : r.map((a) => C.fromPartial(a))) || [], n;
5032
3546
  }
5033
3547
  };
5034
- function N(e) {
3548
+ function l(e) {
5035
3549
  return e != null;
5036
3550
  }
5037
3551
  export {
5038
- er as $,
5039
- s as A,
5040
- O as B,
5041
- yn as C,
5042
- Hn as D,
5043
- An as E,
5044
- _n as F,
5045
- Ln as G,
5046
- m as H,
5047
- vn as I,
5048
- h as J,
5049
- v as K,
5050
- Tn as L,
5051
- D as M,
5052
- A as N,
5053
- x as O,
5054
- Un as P,
5055
- Zn as Q,
5056
- Wn as R,
5057
- br as S,
5058
- Kn as T,
5059
- Dn as U,
5060
- Qn as V,
5061
- Yn as W,
5062
- Xn as X,
5063
- $n as Y,
5064
- zn as Z,
5065
- jn as _,
5066
- Kr as a,
5067
- nr as a0,
5068
- rr as a1,
5069
- ir as a2,
5070
- tr as a3,
5071
- ar as a4,
5072
- sr as a5,
5073
- or as a6,
5074
- ur as a7,
5075
- fr as a8,
5076
- dr as a9,
5077
- Z as aA,
5078
- W as aB,
5079
- Vr as aC,
5080
- yr as aD,
5081
- Br as aE,
5082
- Fr as aF,
5083
- Ur as aG,
5084
- Hr as aH,
5085
- G as aI,
5086
- b as aJ,
5087
- V as aK,
5088
- y as aL,
5089
- B as aM,
5090
- F as aN,
5091
- qr as aO,
5092
- cr as aa,
5093
- lr as ab,
5094
- pr as ac,
5095
- Nr as ad,
5096
- Sr as ae,
5097
- Er as af,
5098
- mr as ag,
5099
- Pr as ah,
5100
- Or as ai,
5101
- hr as aj,
5102
- Ar as ak,
5103
- _r as al,
5104
- Tr as am,
5105
- M as an,
5106
- Cr as ao,
5107
- Rr as ap,
5108
- kr as aq,
5109
- Ir as ar,
5110
- Lr as as,
5111
- gr as at,
5112
- Jr as au,
5113
- vr as av,
5114
- Dr as aw,
5115
- xr as ax,
5116
- Mr as ay,
5117
- Gr as az,
5118
- Q as b,
5119
- Cn as c,
5120
- Rn as d,
5121
- kn as e,
5122
- Wr as f,
5123
- In as g,
5124
- L as h,
5125
- gn as i,
5126
- P as j,
5127
- g as k,
5128
- K as l,
5129
- Jn as m,
5130
- xn as n,
5131
- Mn as o,
5132
- Gn as p,
5133
- bn as q,
5134
- Vn as r,
5135
- Bn as s,
5136
- Fn as t,
5137
- mn as u,
5138
- Pn as v,
5139
- qn as w,
5140
- wn as x,
5141
- S as y,
5142
- J 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
5143
3629
  };