@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e1cf8aca7

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 (128) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +210 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +103 -96
  4. package/dist/api/api/aiApi.d.ts +168 -0
  5. package/dist/api/api/authzApi.d.ts +37 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/swr/Swr.d.ts +1 -1
  8. package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +133 -100
  9. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +9 -7
  10. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  11. package/dist/api/api/index.d.ts +13 -0
  12. package/dist/api/api/ingestApi.d.ts +156 -0
  13. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  14. package/dist/api/api/videoWallApi.d.ts +9 -0
  15. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  16. package/dist/api/index.d.ts +3 -13
  17. package/dist/api/types/360.d.ts +395 -0
  18. package/dist/api/types/aconex.d.ts +143 -0
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/api/types/aiConfigs.d.ts +154 -0
  21. package/dist/{types → api/types}/analytics.d.ts +167 -50
  22. package/dist/{types → api/types}/anpr.d.ts +48 -2
  23. package/dist/{types → api/types}/auditLogs.d.ts +19 -1
  24. package/dist/api/types/authz.d.ts +61 -0
  25. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  26. package/dist/api/types/automation.d.ts +95 -0
  27. package/dist/{types → api/types}/axios.d.ts +17 -10
  28. package/dist/{types → api/types}/bim.d.ts +36 -5
  29. package/dist/{types → api/types}/camera.d.ts +103 -98
  30. package/dist/{types → api/types}/comments.d.ts +10 -11
  31. package/dist/{types → api/types}/company.d.ts +42 -1
  32. package/dist/{types → api/types}/compare.d.ts +20 -5
  33. package/dist/{types → api/types}/connector.d.ts +4 -5
  34. package/dist/{types → api/types}/coolify.d.ts +18 -2
  35. package/dist/{types → api/types}/copilot.d.ts +11 -6
  36. package/dist/{types → api/types}/credentials.d.ts +1 -0
  37. package/dist/{types → api/types}/detections.d.ts +22 -32
  38. package/dist/api/types/drone.d.ts +107 -0
  39. package/dist/{types → api/types}/errors.d.ts +11 -0
  40. package/dist/{types → api/types}/gateReport.d.ts +50 -158
  41. package/dist/api/types/gateReportManagement.d.ts +175 -0
  42. package/dist/{types → api/types}/hdd.d.ts +26 -1
  43. package/dist/{types → api/types}/index.d.ts +11 -1
  44. package/dist/api/types/ingest.d.ts +158 -0
  45. package/dist/{types → api/types}/kit.d.ts +44 -7
  46. package/dist/api/types/map.d.ts +16 -0
  47. package/dist/{types → api/types}/media.d.ts +8 -2
  48. package/dist/api/types/notification.d.ts +57 -0
  49. package/dist/api/types/oauth.d.ts +62 -0
  50. package/dist/api/types/planner.d.ts +132 -0
  51. package/dist/api/types/posthog.d.ts +53 -0
  52. package/dist/{types → api/types}/procore.d.ts +13 -6
  53. package/dist/{types → api/types}/progressPhoto.d.ts +6 -32
  54. package/dist/api/types/project.d.ts +247 -0
  55. package/dist/{types → api/types}/recording.d.ts +9 -12
  56. package/dist/{types → api/types}/recycleBin.d.ts +1 -1
  57. package/dist/api/types/ring.d.ts +53 -0
  58. package/dist/{types → api/types}/roi.d.ts +4 -3
  59. package/dist/{types → api/types}/router.d.ts +20 -1
  60. package/dist/{types → api/types}/shared.d.ts +30 -4
  61. package/dist/api/types/shares.d.ts +58 -0
  62. package/dist/{types → api/types}/sim.d.ts +6 -6
  63. package/dist/api/types/siteAnalytics.d.ts +287 -0
  64. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  65. package/dist/api/types/siteView.d.ts +73 -0
  66. package/dist/api/types/smartSeach.d.ts +5 -0
  67. package/dist/{types → api/types}/snapshots.d.ts +49 -4
  68. package/dist/api/types/storageProvider.d.ts +19 -0
  69. package/dist/api/types/storyblok.d.ts +40 -0
  70. package/dist/{types → api/types}/streaming.d.ts +3 -3
  71. package/dist/{types → api/types}/tag.d.ts +1 -1
  72. package/dist/api/types/time.d.ts +7 -0
  73. package/dist/{types → api/types}/timelapse.d.ts +8 -5
  74. package/dist/{types → api/types}/user.d.ts +106 -35
  75. package/dist/api/types/videoWall.d.ts +66 -0
  76. package/dist/{types → api/types}/weather.d.ts +75 -11
  77. package/dist/{types → api/types}/widget.d.ts +72 -11
  78. package/dist/{types → api/types}/xweather.d.ts +4 -4
  79. package/dist/index.d.ts +2 -3
  80. package/dist/index.js +2014 -1021
  81. package/dist/index.js.map +1 -1
  82. package/dist/index.umd.cjs +1 -1
  83. package/dist/index.umd.cjs.map +1 -1
  84. package/dist/shared/api/index.d.ts +3 -0
  85. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  86. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  87. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  88. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  89. package/dist/shared/types/components.d.ts +334 -0
  90. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  91. package/dist/shared/types/imagePlayer.d.ts +41 -0
  92. package/dist/shared/types/index.d.ts +6 -0
  93. package/dist/shared/types/rbac.d.ts +67 -0
  94. package/dist/shared/types/timeline.d.ts +10 -0
  95. package/package.json +6 -4
  96. package/dist/api/3dFirebaseApi.d.ts +0 -20
  97. package/dist/api/aiApi.d.ts +0 -146
  98. package/dist/api/authzApi.d.ts +0 -21
  99. package/dist/api/ingestApi.d.ts +0 -88
  100. package/dist/api/videoWallApi.d.ts +0 -9
  101. package/dist/types/360.d.ts +0 -139
  102. package/dist/types/aconex.d.ts +0 -45
  103. package/dist/types/automation.d.ts +0 -10
  104. package/dist/types/drone.d.ts +0 -17
  105. package/dist/types/ingest.d.ts +0 -47
  106. package/dist/types/map.d.ts +0 -4
  107. package/dist/types/notification.d.ts +0 -27
  108. package/dist/types/planner.d.ts +0 -32
  109. package/dist/types/posthog.d.ts +0 -18
  110. package/dist/types/project.d.ts +0 -129
  111. package/dist/types/shares.d.ts +0 -196
  112. package/dist/types/siteAnalytics.d.ts +0 -142
  113. package/dist/types/storageServers.d.ts +0 -4
  114. package/dist/types/time.d.ts +0 -21
  115. package/dist/types/videoWall.d.ts +0 -33
  116. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  117. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  118. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  119. /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
  120. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  121. /package/dist/{types → api/types}/countries.d.ts +0 -0
  122. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  123. /package/dist/{types → api/types}/routeParams.d.ts +0 -0
  124. /package/dist/{types → api/types}/sso.d.ts +0 -0
  125. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  126. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  127. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  128. /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
package/dist/index.js CHANGED
@@ -1,12 +1,31 @@
1
1
  var A = Object.defineProperty;
2
- var E = (e, r, t) => r in e ? A(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var B = (e, r, t) => E(e, typeof r != "symbol" ? r + "" : r, t);
4
- import $ from "axios";
5
- import f from "humps";
6
- var C = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(C || {}), I = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(I || {}), y = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e.MobilePhoto = "MobilePhoto", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.Long = "LONG", e.Integer = "INTEGER", e.String = "STRING", e.Boolean = "BOOLEAN", e.Date = "DATE", e))(te || {}), se = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(ie || {}), oe = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e))(oe || {}), ne = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.AiToolToggleBrainToolsMenu = "AITool-ToggleBrainToolsMenu", e.AiToolSelectObjectDetection = "AITool-SelectObjectDetection", e.AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt", e.AiToolSelectSegmentation = "AITool-SelectSegmentation", e.AiToolUpdateTransparency = "AITool-UpdateTransparency", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange", e.ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures", e.ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName", e.ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy", e.ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem", e.ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick", e.ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog", e.ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters", e.ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName", e.ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.ThreeSixtyEnableCommentTool = "EnableCommentTool", e.ThreeSixtyLockCompare = "LockCompare", e.ThreeSixtyLockForgeBIM = "LockForgeBIM", e.ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked", e.ThreeSixtyMiniMapMarkerClicked = "MiniMapMarkerClicked", e.ThreeSixtyOpen = "Open", e.ThreeSixtyOpenCompare = "OpenCompare", e.ThreeSixtyOpenForgeBIM = "OpenForgeBIM", e.ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList", e.ThreeSixtyOpenCommentsList = "OpenCommentsList", e.ThreeSixtySaveComment = "SaveComment", e.ThreeSixtyUnarchiveComment = "UnarchiveComment", e.ThreeSixtyArchiveComment = "ArchiveComment", e.ThreeSixtyShareView = "ShareView", e.ThreeSixtyCommentClicked = "CommentClicked", e.ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility", e.ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility", e.ThreeSixtyToggleMiniModel = "ToggleMiniModel", e.ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility", e.ThreeSixtyTourPause = "Tour-Pause", e.ThreeSixtyTourPlay = "Tour-Play", e.ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5", e.ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1", e.ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2", e.ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4", e.ThreeSixtyTourToggleLoop = "Tour-ToggleLoop", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseTagType = "ChooseTagType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSaveTag = "SaveTag", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleTagsVisibility = "Settings-ToggleTagsVisibility", e.DroneShareLink = "ShareLink", e.DroneTagsToolClick = "TagsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.DroneUploadSkipping = "SkipImageUpload", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.MarkerClicked = "MarkerClicked", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter", e.ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter", e.ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter", e.ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter", e.ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter", e.ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter", e.ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoSelectDelay = "ProgressPhoto-SelectDelay", e.ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog", e.ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersFiltersClick = "FiltersClick", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchCameraSelected = "SmartSearch-CameraSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(ue || {}), he = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.Mask = "mask", e.MeasuringGrid = "measuring_grid", e.BimArchitectural = "bim_architectural", e.BimStructural = "bim_structural", e.Bim4D = "bim_4d", e.BimMep = "bim_mep", e.RecordingsTag = "recordings_tag", e.Milestone = "milestone", e))($e || {}), Te = /* @__PURE__ */ ((e) => (e.Online = "online", e.Offline = "offline", e.OfflineScheduled = "offline_scheduled", e.Decommissioned = "decommissioned", e.OnHold = "on_hold", e.Waiting = "waiting", e.UnderMaintenance = "under_maintenance", e.WaitingForSiteVisit = "waiting_for_site_visit", e))(Te || {}), be = /* @__PURE__ */ ((e) => (e.High = "#FF5252", e.Moderate = "#FBC02D", e.Low = "#006400", e.NoChange = "#3ACF3A", e.Default = "black", e))(be || {}), ke = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e))(ke || {}), fe = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(fe || {}), we = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Milesight = "milesight", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Other = "other", e))(we || {}), Pe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Pe || {}), Me = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Me || {}), Re = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Re || {}), Ue = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(Ue || {}), _e = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(_e || {}), De = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(De || {}), Be = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e))(Be || {}), je = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(Oe || {}), Ve = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Ve || {}), ve = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e))(ve || {}), xe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(xe || {}), Ne = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e))(Ge || {}), He = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(He || {}), Fe = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Fe || {}), ze = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(ze || {}), We = /* @__PURE__ */ ((e) => (e.Date = "date", e))(We || {}), u = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))(u || {}), d = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e))(d || {}), Le = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(Ze || {}), qe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(qe || {}), Xe = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.PlasticWrap = "plastic_wrap", e.ContainerOffice = "container_office", e.ElectricalPole = "electrical_pole", e.ElectricalBox = "electrical_box", e.FireHydrant = "fire_hydrant", e.HoseReel = "hose_reel", e.Ladder = "ladder", e.MetalBeam = "metal_beam", e.MetalPipe = "metal_pipe", e.Pallet = "pallet", e.Pillar = "pillar", e.PlasticBin = "plastic_bin", e.PlasticBucket = "plastic_bucket", e.PlasticPipe = "plastic_pipe", e.PublicToilet = "public_toilet", e.Sign = "sign", e.SiteToolbox = "site_toolbox", e.StreetSink = "street_sink", e.TrafficBarrier = "traffic_barrier", e.TrafficCone = "traffic_cone", e.Wall = "wall", e.WasteContainer = "waste_container", e.WaterStorageTank = "water_storage_tank", e.Wheelbarrow = "wheelbarrow", e.Window = "window", e.WoodPlank = "wood_plank", e.CableReel = "cable_reel", e.AirConditioningSystem = "air_conditioning_system", e.WoodenBox = "wooden_box", e.PlasticBag = "plastic_bag", e.MaterialStack = "material_stack", e))(Xe || {}), Je = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(Je || {}), L = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(L || {}), Qe = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Qe || {}), Ye = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ke || {}), Ae = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ae || {}), Ee = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ee || {});
7
- const V = Object.values(L);
8
- var Ce = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(Ce || {}), Ie = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))(tr || {}), m = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(m || {}), sr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(sr || {}), j = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.XWeather = "xweather", e))(j || {}), ir = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(ir || {}), or = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e))(or || {}), nr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(gr || {}), mr = /* @__PURE__ */ ((e) => (e.Number = "number", e.Name = "name", e.Status = "status", e.Trade = "tradeId", e.Assignee = "assigneeId", e.DueDate = "dueDate", e.SpecificationSection = "specificationSectionId", e.Priority = "priority", e.Location = "locationId", e.DistributionMembers = "distributionMemberIds", e.Personal = "personal", e.Hazard = "hazardId", e.ContributingBehavior = "contributingBehaviorId", e.ContributingCondition = "contributingConditionId", e.Description = "description", e))(mr || {}), pr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(pr || {}), cr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(ur || {}), hr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(hr || {}), dr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e))(dr || {}), Sr = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportAutoVerify = "auto_publish", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segmentation = "sam", e))($r || {}), Tr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 60] = "EverySecond", e[e.Every2Seconds = 30] = "Every2Seconds", e[e.Every5Seconds = 12] = "Every5Seconds", e[e.Every10Seconds = 6] = "Every10Seconds", e[e.Every15Seconds = 4] = "Every15Seconds", e[e.Every30Seconds = 2] = "Every30Seconds", e[e.Every60Seconds = 1] = "Every60Seconds", e[e.Every5Minutes = 5] = "Every5Minutes", e[e.Every10Minutes = 10] = "Every10Minutes", e))(Tr || {}), br = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(br || {}), kr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(kr || {}), fr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 1] = "EverySecond", e[e.Every5Seconds = 5] = "Every5Seconds", e[e.Every10Seconds = 10] = "Every10Seconds", e[e.Every15Seconds = 15] = "Every15Seconds", e[e.Every20Seconds = 20] = "Every20Seconds", e[e.Every30Second = 30] = "Every30Second", e[e.EveryMinute = 60] = "EveryMinute", e[e.Every5Minutes = 300] = "Every5Minutes", e[e.Every10Minutes = 600] = "Every10Minutes", e[e.Every15Minutes = 900] = "Every15Minutes", e[e.Every20Minutes = 1200] = "Every20Minutes", e[e.Every30Minutes = 1800] = "Every30Minutes", e[e.EveryHour = 3600] = "EveryHour", e[e.Every2Hours = 7200] = "Every2Hours", e[e.Every6Hours = 21600] = "Every6Hours", e[e.Every12Hours = 43200] = "Every12Hours", e[e.Every24Hours = 86400] = "Every24Hours", e))(fr || {}), wr = /* @__PURE__ */ ((e) => (e.None = "None", e.OpenVPN1 = "OpenVPN1", e.OpenVPN2 = "OpenVPN2", e.OpenVPN3 = "OpenVPN3", e.OpenVPN4 = "OpenVPN4", e.OpenVPN5 = "OpenVPN5", e.PPTP1 = "PPTP1", e.PPTP2 = "PPTP2", e.WireGuard1 = "WireGuard1", e.WireGuard2 = "WireGuard2", e.WireGuard3 = "WireGuard3", e.WireGuard4 = "WireGuard4", e.WireGuard5 = "WireGuard5", e.WireGuard6 = "WireGuard6", e.WireGuard7 = "WireGuard7", e.WireGuard8 = "WireGuard8", e.WireGuard9 = "WireGuard9", e.WireGuard10 = "WireGuard10", e))(wr || {}), Pr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(Pr || {}), Mr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Mr || {}), Rr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Rr || {}), Ur = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Ur || {}), _r = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(_r || {}), Dr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Dr || {}), Br = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Or || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Vr || {}), vr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(vr || {}), xr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(xr || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Nr || {}), Gr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Gr || {}), Hr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(Hr || {}), Fr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(Fr || {}), zr = /* @__PURE__ */ ((e) => (e.Minimum = "minimum", e.Share = "minimal+share", e.Full = "full", e.Custom = "custom", e))(zr || {}), Wr = /* @__PURE__ */ ((e) => (e.Share = "share", e.Request = "request", e))(Wr || {}), Lr = /* @__PURE__ */ ((e) => (e[e.Pending = -1] = "Pending", e[e.Cancelled = -2] = "Cancelled", e[e.Failed = -3] = "Failed", e[e.Used = 1] = "Used", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Zr || {}), qr = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(qr || {}), Xr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(Xr || {}), Jr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(Jr || {}), Qr = /* @__PURE__ */ ((e) => (e.OESTextureFloat = "OES_texture_float", e.EXTFloatBlend = "EXT_float_blend", e.EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic", e.OESElementIndexUint = "OES_element_index_uint", e.WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info", e))(Qr || {}), Yr = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Kr || {}), Ar = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Ar || {}), Er = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Er || {}), Cr = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(Cr || {}), Ir = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(ta || {}), sa = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(ia || {}), oa = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(oa || {}), na = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(na || {}), la = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(la || {}), ga = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(ua || {}), ha = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Ta || {}), ba = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(ka || {}), Z = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Z || {}), fa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(fa || {}), wa = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(wa || {}), Pa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Pa || {}), Ma = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Ma || {}), Ra = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ra || {}), Ua = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ua || {}), _a = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(_a || {}), Da = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e))(Da || {}), Ba = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Ba || {}), q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(q || {}), ja = /* @__PURE__ */ ((e) => (e.SbcCpuLoad = "SbcCpuLoad", e.SbcSystemLoad5MnAvg = "SbcSystemLoad5MnAvg", e.SbcSystemLoad15MnAvg = "SbcSystemLoad15MnAvg", e.SbcRamUsed = "SbcRamUsed", e.SbcSwapUsed = "SbcSwapUsed", e.SbcRootFsUsed = "SbcRootFsUsed", e.SbcCpuCoresTotal = "SbcCpuCoresTotal", e.SbcRamTotal = "SbcRamTotal", e.SbcSwapTotal = "SbcSwapTotal", e.SbcRootFsTotal = "SbcRootFsTotal", e.SbcUptime = "SbcUptime", e.SbcCpuStats = "SbcCpuStats", e.SbcRamStats = "SbcRamStats", e.SbcNetworkStats = "SbcNetworkStats", e.SbcTimeSyncStats = "SbcTimeSyncStats", e.SbcTemperatureStats = "SbcTemperatureStats", e.SbcTimeSyncDriftStats = "SbcTimeSyncDriftStats", e.CameraInfo = "CameraInfo", e.CameraRecordingStateTimeline = "CameraRecordingStateTimeline", e.CameraStreamInfo = "CameraStreamInfo", e.LocalStorage = "LocalStorage", e.StorageSpaceUsed = "StorageSpaceUsed", e.RouterTemperature = "RouterTemperature", e.RouterCpuLoad = "RouterCpuLoad", e.RouterRamUsed = "RouterRamUsed", e.RouterSystemLoad5MnAvg = "RouterSystemLoad5MnAvg", e.RouterSwapTotal = "RouterSwapTotal", e.RouterRamTotal = "RouterRamTotal", e.RouterUptime = "RouterUptime", e.RouterCpuCoresTotal = "RouterCpuCoresTotal", e.RouterSignalReliability = "RouterSignalReliability", e.RouterSINR = "RouterSINR", e.RouterRSRP = "RouterRSRP", e.RouterRSRQ = "RouterRSRQ", e.RouterRSSI = "RouterRSSI", e.RouterSignalStrengthStats = "RouterSignalStrengthStats", e.RouterSignalQualityStats = "RouterSignalQualityStats", e.RouterDataConsumptionStats = "RouterDataConsumptionStats", e.BatteryVoltageAndCurrentStats = "BatteryVoltageAndCurrentStats", e.PanelVoltageAndPowerStats = "PanelVoltageAndPowerStats", e.ExNvrStatus = "ExNvrStatus", e.ExNvrVersion = "ExNvrVersion", e.ExNvrMemoryUsage = "ExNvrMemoryUsage", e.ExNvrLogs = "ExNvrLogs", e))(ja || {}), Oa = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(Oa || {}), Va = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Va || {}), va = /* @__PURE__ */ ((e) => (e.VH_STATUS = "vh_status", e.CR_UPDATED = "cr_updated", e.CR_CREATED = "cr_created", e.ONLINE = "online", e.OFFLINE = "offline", e.ON_HOLD = "on_hold", e.WAITING = "waiting", e.DECOMMISSIONED = "decommissioned", e.UNDER_MAINTENANCE = "under_maintenance", e.WAITING_FOR_SITE_VISIT = "waiting_for_site_visit", e.SMS = "sms", e.CUSTOM = "custom", e.PUBLIC_NOTE = "public_note", e.SIM = "sim", e.LOGIN = "login", e.LOGOUT = "logout", e.CREATE = "create", e.UPDATE = "update", e.DELETE = "delete", e.DEVICE_SETTINGS = "device_settings", e.LINK_SIM_WITH_ROUTER = "link_sim_with_router", e.UNLINK_SIM_FROM_ROUTER = "unlink_sim_from_router", e.LINK_CAMERA_WITH_ROUTER = "link_camera_with_router", e.UNLINK_CAMERA_FROM_ROUTER = "unlink_camera_from_router", e.SHARE = "share", e.UPDATE_SHARE = "update_share", e.DELETE_SHARE = "delete_share", e.SHARE_REQUEST = "share_request", e.DELETE_SHARE_REQUEST = "delete_share_request", e.TRANSFER_OWNERSHIP = "transfer_ownership", e.BIM_NOTE = "bim_note", e.GATE_REPORT_NOTE = "gate_report_note", e))(va || {}), xa = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(xa || {}), Na = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(Ga || {}), Ha = /* @__PURE__ */ ((e) => (e.Condition = "condition", e.Object = "object", e.Area = "in_area", e.Time = "time", e.Operator = "operator", e.Camera = "camera", e.DateRange = "date_range", e))(Ha || {}), Fa = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(Fa || {}), za = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(za || {}), Wa = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(Wa || {}), La = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(Za || {}), qa = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(qa || {}), Xa = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Xa || {}), Ja = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ja || {}), Qa = /* @__PURE__ */ ((e) => (e.DarkMode = "darkMode", e.Calendar = "calendar", e.HasDelay = "hasDelay", e.Delay = "delay", e.DelayUnit = "delayUnit", e.HasRange = "hasRange", e.DateRange = "dateRange", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Qa || {}), Ya = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ka || {}), Aa = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Aa || {}), Ea = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.DateLocked = "dateLocked", e.FloorId = "floorId", e.FloorLocked = "floorLocked", e.Marker = "markerId", e.MarkerLocked = "markerLocked", e.MediaLocked = "mediaLocked", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ea || {}), Ca = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(Ca || {});
9
- const vt = {
2
+ var I = (e, r, t) => r in e ? A(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var B = (e, r, t) => I(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import D from "humps";
6
+ var y = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e.Zoom = "zoom", e.User = "user", e.ViewerMode = "viewer_mode", e.ProjectId = "projectId", e.Unit = "unit", e.LockDate = "lockDate", e.LockFloor = "lockFloor", e.LockMarker = "lockMarker", e.IsWidget = "isWidget", e.MediaLocked = "mediaLocked", e.Debug = "debug", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(oe || {}), se = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.FBX = "FBX", e.PointCloud = "PLY", e))(ie || {}), ne = /* @__PURE__ */ ((e) => (e.String = "STRING", e.Boolean = "BOOLEAN", e.Ratio = "RATIO", e.Integer = "INTEGER", e.Double = "DOUBLE", e.Long = "LONG", e.Date = "DATE", e.Complex = "COMPLEX", e.SingleLineText = "SINGLE_LINE_TEXT", e.MultiLineText = "MULTI_LINE_TEXT", e.SingleSelect = "SINGLE_SELECT", e.MultiSelect = "MULTI_SELECT", e.User = "USER", e.Number = "NUMBER", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(ge || {}), pe = /* @__PURE__ */ ((e) => (e.DocumentNumber = "DocumentNumber", e.DocumentTypeId = "DocumentTypeId", e.Revision = "Revision", e.HasFile = "HasFile", e.AccessList = "AccessList", e.AsBuiltRequired = "AsBuiltRequired", e.Attribute1 = "Attribute1", e.Attribute2 = "Attribute2", e.Attribute3 = "Attribute3", e.Attribute4 = "Attribute4", e.Author = "Author", e.AuthorisedBy = "AuthorisedBy", e.Category = "Category", e.Check1 = "Check1", e.Check2 = "Check2", e.Comments = "Comments", e.Comments2 = "Comments2", e.ContractNumber = "ContractNumber", e.ContractDeliverable = "ContractDeliverable", e.ContractorDocumentNumber = "ContractorDocumentNumber", e.ContractorRev = "ContractorRev", e.Date1 = "Date1", e.Date2 = "Date2", e.DateApproved = "DateApproved", e.DateCreated = "DateCreated", e.DateForReview = "DateForReview", e.DateReviewed = "DateReviewed", e.Discipline = "Discipline", e.DocumentStatusId = "DocumentStatusId", e.MilestoneDate = "MilestoneDate", e.PackageNumber = "PackageNumber", e.PercentageComplete = "PercentageComplete", e.PlannedSubmissionDate = "PlannedSubmissionDate", e.PrintSize = "PrintSize", e.ProjectField1 = "ProjectField1", e.ProjectField2 = "ProjectField2", e.ProjectField3 = "ProjectField3", e.Reference = "Reference", e.RevisionDate = "RevisionDate", e.Scale = "Scale", e.SelectList1 = "SelectList1", e.SelectList2 = "SelectList2", e.SelectList3 = "SelectList3", e.SelectList4 = "SelectList4", e.SelectList5 = "SelectList5", e.SelectList6 = "SelectList6", e.SelectList7 = "SelectList7", e.SelectList8 = "SelectList8", e.SelectList9 = "SelectList9", e.SelectList10 = "SelectList10", e.TagNumber = "TagNumber", e.Title = "Title", e.ToClientDate = "ToClientDate", e.UploadDate = "UploadDate", e.UploadedBy = "UploadedBy", e.Vdrcode = "Vdrcode", e.VendorDocumentNumber = "VendorDocumentNumber", e.VendorRev = "VendorRev", e.AutoNumber = "AutoNumber", e))(pe || {}), me = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.TimelineInfo = "TimelineInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e.Drawings = "Drawings", e))(me || {}), ce = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", e.WidgetsPauseWidget = "PauseWidget", e.WidgetsEditWidget = "EditWidget", e.WidgetsOpenCredentials = "OpenCredentials", e.WidgetsCopyEmbeddedCode = "CopyEmbeddedCode", e.WidgetsCopyIFrameCode = "CopyIFrameCode", e.WidgetsCopyURLCode = "CopyURLCode", e.WidgetsDeleteWidget = "DeleteWidget", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.XraySendToConnectorSent = "Xray-SendToConnector-Sent", e.XraySendToConnectorProcore = "Xray-SendToConnector-Procore", e.XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos", e.XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations", e.XraySendToConnectorAconex = "Xray-SendToConnector-Aconex", e.XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent", e.MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore", e.MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos", e.MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations", e.MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex", e.MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk", e.MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail", e.MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.ThreeSixtyMeasuringPerformed = "measuring_performed", e.ThreeSixtyEnableCommentTool = "EnableCommentTool", e.ThreeSixtyLockCompare = "LockCompare", e.ThreeSixtyLockForgeBIM = "LockForgeBIM", e.ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked", e.ThreeSixtyMiniMapMarkerClicked = "MiniMapMarkerClicked", e.ThreeSixtyOpen = "Open", e.ThreeSixtyOpenCompare = "OpenCompare", e.ThreeSixtyOpenForgeBIM = "OpenForgeBIM", e.ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList", e.ThreeSixtyOpenCommentsList = "OpenCommentsList", e.ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName", e.ThreeSixtySaveComment = "SaveComment", e.ThreeSixtyUnarchiveComment = "UnarchiveComment", e.ThreeSixtyArchiveComment = "ArchiveComment", e.ThreeSixtyShareView = "ShareView", e.ThreeSixtyCommentClicked = "CommentClicked", e.ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility", e.ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility", e.ThreeSixtyToggleMiniModel = "ToggleMiniModel", e.ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility", e.ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility", e.ThreeSixtyTourPause = "Tour-Pause", e.ThreeSixtyTourPlay = "Tour-Play", e.ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5", e.ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1", e.ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2", e.ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4", e.ThreeSixtyTourToggleLoop = "Tour-ToggleLoop", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseCommentType = "ChooseCommentType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility", e.DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility", e.DroneSettingsOpenCommentsList = "Settings-OpenCommentsList", e.DroneShareLink = "ShareLink", e.DroneCommentsToolClick = "CommentsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneTogglePointCloud = "TogglePointCloud", e.DroneToggleGaussianSplat = "ToggleGaussianSplat", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.DroneUploadSkipping = "SkipImageUpload", e.DroneSaveComment = "SaveComment", e.DroneUnarchiveComment = "UnarchiveComment", e.DroneArchiveComment = "ArchiveComment", e.DroneDeleteComment = "DeleteComment", e.DroneSaveAerialShot = "SaveAerialShot", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.DrawingCreateSave = "CreateSave", e.DrawingUpdateSave = "UpdateSave", e.DrawingEditName = "EditName", e.DrawingUpdateName = "UpdateName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingClickHome = "ClickHome", e.DrawingsUploadDrawing = "UploadDrawing", e.DrawingsCreateDrawing = "CreateDrawing", e.DrawingsDeleteDrawing = "DeleteDrawing", e.DrawingToggleMapStyle = "ToggleMapStyle", e.DrawingToggleMapLabels = "ToggleMapLabels", e.DrawingToggleCamerasLabels = "ToggleCamerasLabels", e.DrawingToggleCamerasVisibility = "ToggleCamerasVisibility", e.DrawingToggleTransparencyMode = "ToggleTransparencyMode", e.DrawingChooseDrawing = "ChooseDrawing", e.DrawingChangeLocation = "ChangeLocation", e.DrawingFilterDateRange = "FilterDateRange", e.DrawingFilterDrawingName = "FilterDrawingName", e.DrawingFilterCreatedBy = "FilterCreatedBy", e.DrawingFilterMapStyle = "FilterMapStyle", e.DrawingToggleRotate = "ToggleRotate", e.DrawingToggleScale = "ToggleScale", e.DrawingOpenExistingDrawing = "OpenExistingDrawing", e.MarkerClicked = "MarkerClicked", e.MarkerSelected = "MarkerSelected", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo", e.ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo", e.ProjectSettingsMembersBulkRemove = "BulkRemove", e.ProjectSettingsMembersInviteSent = "InviteSent", e.ProjectSettingsMembersRejectInvite = "RejectInvite", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras", e.ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras", e.ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras", e.ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.CompareSelectProvider = "Compare-SelectProvider", e.CompareSelectCameras = "Compare-SelectCameras", e.CompareEdit = "Compare-Edit", e.CompareSelectTimezone = "Compare-SelectTimezone", e.CompareSelectMember = "Compare-SelectMember", e.CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras", e.CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras", e.CompareClearAllCameras = "Compare-ClearAllCameras", e.CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter", e.CompareSelectType = "Compare-SelectType", e.CompareCreate = "Compare-Create", e.AutomationsEditSearchFilter = "EditSearchFilter", e.AutomationsEditStatusFilter = "EditStatusFilter", e.AutomationsEditUsersFilter = "EditUsersFilter", e.AutomationsEditDaysFilter = "EditDaysFilter", e.AutomationsEditCamerasFilter = "EditCamerasFilter", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", e.GateReportSelectType = "GateReport-SelectType", e.GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras", e.GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras", e.GateReportToggleClearAllCameras = "GateReport-ClearAllCameras", e.GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter", e.GateReportSelectDays = "GateReport-SelectDays", e.GateReportSelectTime = "GateReport-SelectTime", e.GateReportSelectTimezone = "GateReport-SelectTimezone", e.GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes", e.GateReportSelectColumn = "GateReport-SelectColumn", e.GateReportSelectPeriod = "GateReport-SelectPeriod", e.GateReportSelectExportType = "GateReport-SelectExportType", e.GateReportSelectMember = "GateReport-SelectMember", e.GateReportSelectCameras = "GateReport-SelectCameras", e.GateReportCreate = "GateReport-Create", e.GateReportEdit = "GateReport-Edit", e.CompareSelectDays = "Compare-SelectDays", e.CompareSelectDelay = "Compare-SelectDelay", e.CompareSelectTime = "Compare-SelectTime", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchViewSelected = "SmartSearch-ViewSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e.AskAIClickAskAI = "AskAI-ClickAskAI", e.AskAIClickExpand = "AskAI-ClickExpand", e.AskAIClickCollapse = "AskAI-ClickCollapse", e.AskAIClickVoice = "AskAI-ClickVoice", e.AskAIClickFullscreen = "AskAI-ClickFullscreen", e.AskAIExitFullscreen = "AskAI-ExitFullscreen", e.AskAICloseChat = "AskAI-CloseChat", e.ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked", e.ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened", e.ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected", e.ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed", e.ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected", e.ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected", e.ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted", e.ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted", e.ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed", e.ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened", e.ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed", e.ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed", e.ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected", e.ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked", e.ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened", e.ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed", e.ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled", e.ForgeBimModelAdded = "ForgeBim-ModelAdded", e.ForgeBimModelUpdated = "ForgeBim-ModelUpdated", e.ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed", e.ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(de || {}), he = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(he || {}), Se = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))($e || {}), Te = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(Te || {}), ke = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ke || {}), be = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(be || {}), we = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(we || {}), Me = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e.Copilot = "copilot", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(fe || {}), De = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(De || {}), Re = /* @__PURE__ */ ((e) => (e.Mask = "mask", e.BimMask = "bim_mask", e.MeasuringGrid = "measuring_grid", e.BimArchitectural = "bim_architectural", e.BimStructural = "bim_structural", e.Bim4D = "bim_4d", e.BimMep = "bim_mep", e.RecordingsTag = "recordings_tag", e.Milestone = "milestone", e.ForgeBimArchitectural = "forge_bim_architectural", e.ForgeBimStructural = "forge_bim_structural", e.ForgeBim4D = "forge_bim_4d", e.ForgeBimMep = "forge_bim_mep", e))(Re || {}), Pe = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(Pe || {}), _e = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(_e || {}), je = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(je || {}), Ue = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(Ue || {}), Be = /* @__PURE__ */ ((e) => (e.Online = "online", e.Offline = "offline", e.OfflineScheduled = "offline_scheduled", e.Decommissioned = "decommissioned", e.OnHold = "on_hold", e.Waiting = "waiting", e.UnderMaintenance = "under_maintenance", e.WaitingForSiteVisit = "waiting_for_site_visit", e))(Be || {}), Fe = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Fe || {});
7
+ const $o = {
8
+ High: "#FF5252",
9
+ Moderate: "#FBC02D",
10
+ Low: "#006400",
11
+ "No change": "#3ACF3A",
12
+ Default: "black"
13
+ };
14
+ var Oe = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e.PpeOwlv2 = "ppe_owlv2", e.PpeGemini = "ppe_gemini", e.PpeYolo = "ppe_yolo", e.PpeV2 = "ppe_v2", e.NoLiveView = "no_live_view", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(Oe || {}), Ne = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Milesight = "milesight", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Other = "other", e.Ring = "ring", e))(Ge || {}), Ve = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(He || {}), ve = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(ve || {}), We = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(We || {}), xe = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(xe || {}), ze = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(ze || {}), Le = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e.RequestAgentCall = "request_agent_call", e.ExecAgentCall = "exec_agent_call", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Ze || {}), Xe = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Qe || {}), qe = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e.SmartSearch = "smart_search", e))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e.SmartSearch = "smartSearch", e))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Date = "date", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(rr || {}), $ = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))($ || {}), k = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e))(k || {}), ar = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(tr || {}), or = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(or || {}), sr = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.Door = "door", e.PlasticWrap = "plastic_wrap", e.ContainerOffice = "container_office", e.ElectricalPole = "electrical_pole", e.ElectricalBox = "electrical_box", e.FireHydrant = "fire_hydrant", e.FireExtinguisher = "fire-extinguisher", e.HoseReel = "hose_reel", e.Ladder = "ladder", e.MetalBeam = "metal_beam", e.MetalPipe = "metal_pipe", e.Pallet = "pallet", e.Person = "person", e.Pillar = "pillar", e.PlasticBin = "plastic_bin", e.PlasticBucket = "plastic_bucket", e.PlasticPipe = "plastic_pipe", e.PublicToilet = "public_toilet", e.Sign = "sign", e.SiteToolbox = "site_toolbox", e.StreetSink = "street_sink", e.TrafficBarrier = "traffic_barrier", e.TrafficCone = "traffic_cone", e.Wall = "wall", e.WasteContainer = "waste_container", e.WaterStorageTank = "water_storage_tank", e.Wheelbarrow = "wheelbarrow", e.Window = "window", e.WoodPlank = "wood_plank", e.CableReel = "cable_reel", e.AirConditioningSystem = "air_conditioning_system", e.WoodenBox = "wooden_box", e.PlasticBag = "plastic_bag", e.MaterialStack = "material_stack", e))(sr || {}), ir = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(ir || {}), Z = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(Z || {}), nr = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(gr || {}), pr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(pr || {});
15
+ const To = Object.values(Z);
16
+ var mr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(mr || {}), cr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ur || {}), dr = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(dr || {}), hr = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(hr || {}), Sr = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))($r || {}), Tr = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(Tr || {}), kr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(kr || {}), m = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(m || {}), br = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(br || {}), F = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.Ring = "ring", e.Email = "email", e.XWeather = "xweather", e))(F || {}), wr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(wr || {}), Mr = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(fr || {}), Dr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(Dr || {}), Rr = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(Rr || {}), Pr = /* @__PURE__ */ ((e) => (e.Number = "number", e.Name = "name", e.Status = "status", e.Trade = "tradeId", e.Assignee = "assigneeId", e.DueDate = "dueDate", e.SpecificationSection = "specificationSectionId", e.Priority = "priority", e.Location = "locationId", e.DistributionMembers = "distributionMemberIds", e.Personal = "personal", e.Hazard = "hazardId", e.ContributingBehavior = "contributingBehaviorId", e.ContributingCondition = "contributingConditionId", e.Description = "description", e))(Pr || {}), _r = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(_r || {}), jr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(jr || {}), Ur = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Br || {}), Fr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Fr || {}), Or = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e.NoGdpr = "no_gdpr", e))(Or || {}), Nr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Nr || {}), Gr = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Gr || {}), Vr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 60] = "EverySecond", e[e.Every2Seconds = 30] = "Every2Seconds", e[e.Every5Seconds = 12] = "Every5Seconds", e[e.Every10Seconds = 6] = "Every10Seconds", e[e.Every15Seconds = 4] = "Every15Seconds", e[e.Every30Seconds = 2] = "Every30Seconds", e[e.Every60Seconds = 1] = "Every60Seconds", e[e.Every5Minutes = 5] = "Every5Minutes", e[e.Every10Minutes = 10] = "Every10Minutes", e))(Vr || {}), Hr = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(Hr || {});
17
+ const ko = {
18
+ [
19
+ -1
20
+ /* Infinity */
21
+ ]: "content.cloud_recording_duration.unlimited",
22
+ 1: "content.cloud_recording_duration.day",
23
+ 7: "content.cloud_recording_duration.week",
24
+ 30: "content.cloud_recording_duration.month",
25
+ 90: "content.cloud_recording_duration.three_months"
26
+ };
27
+ var vr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(vr || {}), Wr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 1] = "EverySecond", e[e.Every5Seconds = 5] = "Every5Seconds", e[e.Every10Seconds = 10] = "Every10Seconds", e[e.Every15Seconds = 15] = "Every15Seconds", e[e.Every20Seconds = 20] = "Every20Seconds", e[e.Every30Second = 30] = "Every30Second", e[e.EveryMinute = 60] = "EveryMinute", e[e.Every5Minutes = 300] = "Every5Minutes", e[e.Every10Minutes = 600] = "Every10Minutes", e[e.Every15Minutes = 900] = "Every15Minutes", e[e.Every20Minutes = 1200] = "Every20Minutes", e[e.Every30Minutes = 1800] = "Every30Minutes", e[e.EveryHour = 3600] = "EveryHour", e[e.Every2Hours = 7200] = "Every2Hours", e[e.Every6Hours = 21600] = "Every6Hours", e[e.Every12Hours = 43200] = "Every12Hours", e[e.Every24Hours = 86400] = "Every24Hours", e))(Wr || {}), xr = /* @__PURE__ */ ((e) => (e.None = "None", e.WireGuard1 = "WireGuard1", e.WireGuard2 = "WireGuard2", e.WireGuard3 = "WireGuard3", e.WireGuard4 = "WireGuard4", e.WireGuard5 = "WireGuard5", e.WireGuard6 = "WireGuard6", e.WireGuard7 = "WireGuard7", e.WireGuard8 = "WireGuard8", e.WireGuard9 = "WireGuard9", e.WireGuard10 = "WireGuard10", e.WgHub = "WgHub", e))(xr || {}), zr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e.Ppe = "ppe_roi", e))(zr || {}), Lr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Zr || {}), Xr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Xr || {}), Qr = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(ia || {}), na = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(na || {}), la = /* @__PURE__ */ ((e) => (e.OESTextureFloat = "OES_texture_float", e.EXTFloatBlend = "EXT_float_blend", e.EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic", e.OESElementIndexUint = "OES_element_index_uint", e.WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info", e))(la || {}), ga = /* @__PURE__ */ ((e) => (e.SitePlanId = "site_plan_id", e.IsNewSitePlan = "is_new_site_plan", e.IsBoundsMode = "is_bounds_mode", e.ProjectPosition = "project_position", e.DealId = "deal_id", e))(ga || {}), pa = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(pa || {}), ma = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(ma || {}), ca = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(ha || {}), Sa = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(Ta || {}), ka = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ka || {}), ba = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(ba || {}), wa = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(wa || {}), Ma = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(Ma || {}), fa = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(fa || {}), Da = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(Da || {}), Ra = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Ra || {}), Pa = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(Pa || {}), _a = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(_a || {}), ja = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(ja || {}), Ua = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(Ba || {}), Fa = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Fa || {}), Oa = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Oa || {}), Na = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Ga || {}), Va = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Va || {}), Ha = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e[e.PpeV2 = 6] = "PpeV2", e))(Ha || {}), va = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(va || {}), Wa = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(Wa || {}), xa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(xa || {}), za = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(za || {}), La = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(La || {}), X = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(X || {}), Za = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(Za || {}), Xa = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e.GeneratorOff = "generator_off", e))(Ca || {}), Ea = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e.Fan = "fan", e.FanTemperature = "fan_temperature", e))(Ea || {}), Q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(Q || {}), Aa = /* @__PURE__ */ ((e) => (e.SbcCpuLoad = "SbcCpuLoad", e.SbcSystemLoad5MnAvg = "SbcSystemLoad5MnAvg", e.SbcSystemLoad15MnAvg = "SbcSystemLoad15MnAvg", e.SbcRamUsed = "SbcRamUsed", e.SbcSwapUsed = "SbcSwapUsed", e.SbcRootFsUsed = "SbcRootFsUsed", e.SbcCpuCoresTotal = "SbcCpuCoresTotal", e.SbcRamTotal = "SbcRamTotal", e.SbcSwapTotal = "SbcSwapTotal", e.SbcRootFsTotal = "SbcRootFsTotal", e.SbcUptime = "SbcUptime", e.SbcCpuStats = "SbcCpuStats", e.SbcRamStats = "SbcRamStats", e.SbcNetworkStats = "SbcNetworkStats", e.SbcTimeSyncStats = "SbcTimeSyncStats", e.SbcTemperatureStats = "SbcTemperatureStats", e.SbcTimeSyncDriftStats = "SbcTimeSyncDriftStats", e.CameraInfo = "CameraInfo", e.CameraRecordingStateTimeline = "CameraRecordingStateTimeline", e.CameraStreamInfo = "CameraStreamInfo", e.LocalStorage = "LocalStorage", e.StorageSpaceUsed = "StorageSpaceUsed", e.RouterTemperature = "RouterTemperature", e.RouterCpuLoad = "RouterCpuLoad", e.RouterRamUsed = "RouterRamUsed", e.RouterSystemLoad5MnAvg = "RouterSystemLoad5MnAvg", e.RouterSwapTotal = "RouterSwapTotal", e.RouterRamTotal = "RouterRamTotal", e.RouterUptime = "RouterUptime", e.RouterCpuCoresTotal = "RouterCpuCoresTotal", e.RouterSignalReliability = "RouterSignalReliability", e.RouterSINR = "RouterSINR", e.RouterRSRP = "RouterRSRP", e.RouterRSRQ = "RouterRSRQ", e.RouterRSSI = "RouterRSSI", e.RouterSignalStrengthStats = "RouterSignalStrengthStats", e.RouterSignalQualityStats = "RouterSignalQualityStats", e.RouterDataConsumptionStats = "RouterDataConsumptionStats", e.BatteryVoltageAndCurrentStats = "BatteryVoltageAndCurrentStats", e.PanelVoltageAndPowerStats = "PanelVoltageAndPowerStats", e.ExNvrStatus = "ExNvrStatus", e.ExNvrVersion = "ExNvrVersion", e.ExNvrMemoryUsage = "ExNvrMemoryUsage", e.ExNvrLogs = "ExNvrLogs", e))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.VH_STATUS = "vh_status", e.CR_UPDATED = "cr_updated", e.CR_CREATED = "cr_created", e.ONLINE = "online", e.OFFLINE = "offline", e.ON_HOLD = "on_hold", e.WAITING = "waiting", e.DECOMMISSIONED = "decommissioned", e.UNDER_MAINTENANCE = "under_maintenance", e.WAITING_FOR_SITE_VISIT = "waiting_for_site_visit", e.SMS = "sms", e.CUSTOM = "custom", e.PUBLIC_NOTE = "public_note", e.SIM = "sim", e.LOGIN = "login", e.LOGOUT = "logout", e.CREATE = "create", e.UPDATE = "update", e.DELETE = "delete", e.DEVICE_SETTINGS = "device_settings", e.LINK_SIM_WITH_ROUTER = "link_sim_with_router", e.UNLINK_SIM_FROM_ROUTER = "unlink_sim_from_router", e.LINK_CAMERA_WITH_ROUTER = "link_camera_with_router", e.UNLINK_CAMERA_FROM_ROUTER = "unlink_camera_from_router", e.SHARE = "share", e.UPDATE_SHARE = "update_share", e.DELETE_SHARE = "delete_share", e.SHARE_REQUEST = "share_request", e.DELETE_SHARE_REQUEST = "delete_share_request", e.TRANSFER_OWNERSHIP = "transfer_ownership", e.BIM_NOTE = "bim_note", e.GATE_REPORT_NOTE = "gate_report_note", e))(et || {}), rt = /* @__PURE__ */ ((e) => (e.Cameras = "cameras", e.Projects = "projects", e.Layers = "layers", e.Routers = "routers", e.Sims = "sims", e.Hdds = "hdds", e.Nvr = "nvr", e.Archives = "archives", e.Users = "users", e.Rois = "rois", e.Kits = "kits", e.Roles = "roles", e.Tags = "tags", e.KitsTags = "kits_tags", e.Oauth = "oauth", e.StorageProviders = "storage_providers", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(ot || {}), st = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(st || {}), it = /* @__PURE__ */ ((e) => (e.Condition = "condition", e.Object = "object", e.Area = "in_area", e.Time = "time", e.Operator = "operator", e.View = "view", e.DateRange = "date_range", e.Heatmap = "heatmap", e))(it || {}), nt = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(gt || {}), pt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(pt || {}), mt = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(mt || {}), ct = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.GeoArea = "in_geo_area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(dt || {}), ht = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ht || {}), St = /* @__PURE__ */ ((e) => (e.DarkMode = "darkMode", e.Calendar = "calendar", e.HasDelay = "hasDelay", e.Delay = "delay", e.DelayUnit = "delayUnit", e.HasRange = "hasRange", e.DateRange = "dateRange", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(St || {}), $t = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))($t || {}), Tt = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Tt || {}), kt = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(kt || {}), bt = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.DateLocked = "dateLocked", e.FloorId = "floorId", e.FloorLocked = "floorLocked", e.Marker = "markerId", e.MarkerLocked = "markerLocked", e.MediaLocked = "mediaLocked", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(bt || {}), wt = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(wt || {});
28
+ const bo = {
10
29
  camera: [
11
30
  "Live View",
12
31
  "Recordings",
@@ -19,258 +38,312 @@ const vt = {
19
38
  /* ThreeSixty */
20
39
  ]
21
40
  };
22
- var Ia = /* @__PURE__ */ ((e) => (e[e.Andorra = 1] = "Andorra", e[e.UnitedArabEmirates = 2] = "UnitedArabEmirates", e[e.Afghanistan = 3] = "Afghanistan", e[e.AntiguaAndBarbuda = 4] = "AntiguaAndBarbuda", e[e.Anguilla = 5] = "Anguilla", e[e.Albania = 6] = "Albania", e[e.Armenia = 7] = "Armenia", e[e.NetherlandsAntilles = 8] = "NetherlandsAntilles", e[e.Angola = 9] = "Angola", e[e.Antarctica = 10] = "Antarctica", e[e.Argentina = 11] = "Argentina", e[e.AmericanSamoa = 12] = "AmericanSamoa", e[e.Austria = 13] = "Austria", e[e.Australia = 14] = "Australia", e[e.Aruba = 15] = "Aruba", e[e.AlandIslands = 16] = "AlandIslands", e[e.Azerbaijan = 17] = "Azerbaijan", e[e.BosniaAndHerzegovina = 18] = "BosniaAndHerzegovina", e[e.Barbados = 19] = "Barbados", e[e.Bangladesh = 20] = "Bangladesh", e[e.Belgium = 21] = "Belgium", e[e.BurkinaFaso = 22] = "BurkinaFaso", e[e.Bulgaria = 23] = "Bulgaria", e[e.Bahrain = 24] = "Bahrain", e[e.Burundi = 25] = "Burundi", e[e.Benin = 26] = "Benin", e[e.Bermuda = 27] = "Bermuda", e[e.BruneiDarussalam = 28] = "BruneiDarussalam", e[e.Bolivia = 29] = "Bolivia", e[e.Brazil = 30] = "Brazil", e[e.Bahamas = 31] = "Bahamas", e[e.Bhutan = 32] = "Bhutan", e[e.BouvetIsland = 33] = "BouvetIsland", e[e.Botswana = 34] = "Botswana", e[e.Belarus = 35] = "Belarus", e[e.Belize = 36] = "Belize", e[e.Canada = 37] = "Canada", e[e.CocosKeelingIslands = 38] = "CocosKeelingIslands", e[e.CongoKinshasa = 39] = "CongoKinshasa", e[e.CentralAfricanRepublic = 40] = "CentralAfricanRepublic", e[e.CongoBrazzaville = 41] = "CongoBrazzaville", e[e.Switzerland = 42] = "Switzerland", e[e.CoteDIvoire = 43] = "CoteDIvoire", e[e.CookIslands = 44] = "CookIslands", e[e.Chile = 45] = "Chile", e[e.Cameroon = 46] = "Cameroon", e[e.China = 47] = "China", e[e.Colombia = 48] = "Colombia", e[e.CostaRica = 49] = "CostaRica", e[e.Cuba = 50] = "Cuba", e[e.CapeVerde = 51] = "CapeVerde", e[e.ChristmasIsland = 52] = "ChristmasIsland", e[e.Cyprus = 53] = "Cyprus", e[e.CzechRepublic = 54] = "CzechRepublic", e[e.Germany = 55] = "Germany", e[e.Djibouti = 56] = "Djibouti", e[e.Denmark = 57] = "Denmark", e[e.Dominica = 58] = "Dominica", e[e.DominicanRepublic = 59] = "DominicanRepublic", e[e.Algeria = 60] = "Algeria", e[e.Ecuador = 61] = "Ecuador", e[e.Estonia = 62] = "Estonia", e[e.Egypt = 63] = "Egypt", e[e.WesternSahara = 64] = "WesternSahara", e[e.Eritrea = 65] = "Eritrea", e[e.Spain = 66] = "Spain", e[e.Ethiopia = 67] = "Ethiopia", e[e.Finland = 68] = "Finland", e[e.Fiji = 69] = "Fiji", e[e.FalklandIslands = 70] = "FalklandIslands", e[e.Micronesia = 71] = "Micronesia", e[e.FaroeIslands = 72] = "FaroeIslands", e[e.France = 73] = "France", e[e.Gabon = 74] = "Gabon", e[e.UnitedKingdom = 75] = "UnitedKingdom", e[e.Grenada = 76] = "Grenada", e[e.Georgia = 77] = "Georgia", e[e.FrenchGuiana = 78] = "FrenchGuiana", e[e.Guernsey = 79] = "Guernsey", e[e.Ghana = 80] = "Ghana", e[e.Gibraltar = 81] = "Gibraltar", e[e.Greenland = 82] = "Greenland", e[e.Gambia = 83] = "Gambia", e[e.Guinea = 84] = "Guinea", e[e.Guadeloupe = 85] = "Guadeloupe", e[e.EquatorialGuinea = 86] = "EquatorialGuinea", e[e.Greece = 87] = "Greece", e[e.SouthGeorgiaAndTheSouthSandwichIslands = 88] = "SouthGeorgiaAndTheSouthSandwichIslands", e[e.Guatemala = 89] = "Guatemala", e[e.Guam = 90] = "Guam", e[e.GuineaBissau = 91] = "GuineaBissau", e[e.Guyana = 92] = "Guyana", e[e.HongKong = 93] = "HongKong", e[e.HeardIslandAndMcDonaldIslands = 94] = "HeardIslandAndMcDonaldIslands", e[e.Honduras = 95] = "Honduras", e[e.Croatia = 96] = "Croatia", e[e.Haiti = 97] = "Haiti", e[e.Hungary = 98] = "Hungary", e[e.Indonesia = 99] = "Indonesia", e[e.Ireland = 100] = "Ireland", e[e.Israel = 101] = "Israel", e[e.IsleOfMan = 102] = "IsleOfMan", e[e.India = 103] = "India", e[e.BritishIndianOceanTerritory = 104] = "BritishIndianOceanTerritory", e[e.Iraq = 105] = "Iraq", e[e.Iran = 106] = "Iran", e[e.Iceland = 107] = "Iceland", e[e.Italy = 108] = "Italy", e[e.Jersey = 109] = "Jersey", e[e.Jamaica = 110] = "Jamaica", e[e.Jordan = 111] = "Jordan", e[e.Japan = 112] = "Japan", e[e.Kenya = 113] = "Kenya", e[e.Kyrgyzstan = 114] = "Kyrgyzstan", e[e.Cambodia = 115] = "Cambodia", e[e.Kiribati = 116] = "Kiribati", e[e.Comoros = 117] = "Comoros", e[e.SaintKittsAndNevis = 118] = "SaintKittsAndNevis", e[e.NorthKorea = 119] = "NorthKorea", e[e.SouthKorea = 120] = "SouthKorea", e[e.Kuwait = 121] = "Kuwait", e[e.CaymanIslands = 122] = "CaymanIslands", e[e.Kazakhstan = 123] = "Kazakhstan", e[e.Laos = 124] = "Laos", e[e.Lebanon = 125] = "Lebanon", e[e.SaintLucia = 126] = "SaintLucia", e[e.Liechtenstein = 127] = "Liechtenstein", e[e.SriLanka = 128] = "SriLanka", e[e.Liberia = 129] = "Liberia", e[e.Lesotho = 130] = "Lesotho", e[e.Lithuania = 131] = "Lithuania", e[e.Luxembourg = 132] = "Luxembourg", e[e.Latvia = 133] = "Latvia", e[e.LibyanArabJamahiriya = 134] = "LibyanArabJamahiriya", e[e.Morocco = 135] = "Morocco", e[e.Monaco = 136] = "Monaco", e[e.Moldova = 137] = "Moldova", e[e.Montenegro = 138] = "Montenegro", e[e.Madagascar = 139] = "Madagascar", e[e.MarshallIslands = 140] = "MarshallIslands", e[e.Macedonia = 141] = "Macedonia", e[e.Mali = 142] = "Mali", e[e.Myanmar = 143] = "Myanmar", e[e.Mongolia = 144] = "Mongolia", e[e.Macao = 145] = "Macao", e[e.NorthernMarianaIslands = 146] = "NorthernMarianaIslands", e[e.Martinique = 147] = "Martinique", e[e.Mauritania = 148] = "Mauritania", e[e.Montserrat = 149] = "Montserrat", e[e.Malta = 150] = "Malta", e[e.Mauritius = 151] = "Mauritius", e[e.Maldives = 152] = "Maldives", e[e.Malawi = 153] = "Malawi", e[e.Mexico = 154] = "Mexico", e[e.Malaysia = 155] = "Malaysia", e[e.Mozambique = 156] = "Mozambique", e[e.Namibia = 157] = "Namibia", e[e.NewCaledonia = 158] = "NewCaledonia", e[e.Niger = 159] = "Niger", e[e.NorfolkIsland = 160] = "NorfolkIsland", e[e.Nigeria = 161] = "Nigeria", e[e.Nicaragua = 162] = "Nicaragua", e[e.Netherlands = 163] = "Netherlands", e[e.Norway = 164] = "Norway", e[e.Nepal = 165] = "Nepal", e[e.Nauru = 166] = "Nauru", e[e.Niue = 167] = "Niue", e[e.NewZealand = 168] = "NewZealand", e[e.Oman = 169] = "Oman", e[e.Panama = 170] = "Panama", e[e.Peru = 171] = "Peru", e[e.FrenchPolynesia = 172] = "FrenchPolynesia", e[e.PapuaNewGuinea = 173] = "PapuaNewGuinea", e[e.Philippines = 174] = "Philippines", e[e.Pakistan = 175] = "Pakistan", e[e.Poland = 176] = "Poland", e[e.SaintPierreAndMiquelon = 177] = "SaintPierreAndMiquelon", e[e.Pitcairn = 178] = "Pitcairn", e[e.PuertoRico = 179] = "PuertoRico", e[e.PalestinianTerritory = 180] = "PalestinianTerritory", e[e.Portugal = 181] = "Portugal", e[e.Palau = 182] = "Palau", e[e.Paraguay = 183] = "Paraguay", e[e.Qatar = 184] = "Qatar", e[e.Reunion = 185] = "Reunion", e[e.Romania = 186] = "Romania", e[e.Serbia = 187] = "Serbia", e[e.RussianFederation = 188] = "RussianFederation", e[e.Rwanda = 189] = "Rwanda", e[e.SaudiArabia = 190] = "SaudiArabia", e[e.SolomonIslands = 191] = "SolomonIslands", e[e.Seychelles = 192] = "Seychelles", e[e.Sudan = 193] = "Sudan", e[e.Sweden = 194] = "Sweden", e[e.Singapore = 195] = "Singapore", e[e.SaintHelena = 196] = "SaintHelena", e[e.Slovenia = 197] = "Slovenia", e[e.SvalbardAndJanMayen = 198] = "SvalbardAndJanMayen", e[e.Slovakia = 199] = "Slovakia", e[e.SierraLeone = 200] = "SierraLeone", e[e.SanMarino = 201] = "SanMarino", e[e.Senegal = 202] = "Senegal", e[e.Somalia = 203] = "Somalia", e[e.Suriname = 204] = "Suriname", e[e.SaoTomeAndPrincipe = 205] = "SaoTomeAndPrincipe", e[e.ElSalvador = 206] = "ElSalvador", e[e.SyrianArabRepublic = 207] = "SyrianArabRepublic", e[e.Swaziland = 208] = "Swaziland", e[e.TurksAndCaicosIslands = 209] = "TurksAndCaicosIslands", e[e.Chad = 210] = "Chad", e[e.FrenchSouthernTerritories = 211] = "FrenchSouthernTerritories", e[e.Togo = 212] = "Togo", e[e.Thailand = 213] = "Thailand", e[e.Tajikistan = 214] = "Tajikistan", e[e.Tokelau = 215] = "Tokelau", e[e.TimorLeste = 216] = "TimorLeste", e[e.Turkmenistan = 217] = "Turkmenistan", e[e.Tunisia = 218] = "Tunisia", e[e.Tonga = 219] = "Tonga", e[e.Turkey = 220] = "Turkey", e[e.TrinidadAndTobago = 221] = "TrinidadAndTobago", e[e.Tuvalu = 222] = "Tuvalu", e[e.Taiwan = 223] = "Taiwan", e[e.Tanzania = 224] = "Tanzania", e[e.Ukraine = 225] = "Ukraine", e[e.Uganda = 226] = "Uganda", e[e.UnitedStatesMinorOutlyingIslands = 227] = "UnitedStatesMinorOutlyingIslands", e[e.UnitedStates = 228] = "UnitedStates", e[e.Uruguay = 229] = "Uruguay", e[e.Uzbekistan = 230] = "Uzbekistan", e[e.VaticanCityState = 231] = "VaticanCityState", e[e.SaintVincentAndTheGrenadines = 232] = "SaintVincentAndTheGrenadines", e[e.Venezuela = 233] = "Venezuela", e[e.VirginIslandsBritish = 234] = "VirginIslandsBritish", e[e.VirginIslandsUS = 235] = "VirginIslandsUS", e[e.VietNam = 236] = "VietNam", e[e.Vanuatu = 237] = "Vanuatu", e[e.WallisAndFutuna = 238] = "WallisAndFutuna", e[e.Samoa = 239] = "Samoa", e[e.Yemen = 240] = "Yemen", e[e.Mayotte = 241] = "Mayotte", e[e.SouthAfrica = 242] = "SouthAfrica", e[e.Zambia = 243] = "Zambia", e[e.Zimbabwe = 244] = "Zimbabwe", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.Andorra = "ad", e.UnitedArabEmirates = "ae", e.Afghanistan = "af", e.AntiguaAndBarbuda = "ag", e.Anguilla = "ai", e.Albania = "al", e.Armenia = "am", e.NetherlandsAntilles = "an", e.Angola = "ao", e.Antarctica = "aq", e.Argentina = "ar", e.AmericanSamoa = "as", e.Austria = "at", e.Australia = "au", e.Aruba = "aw", e.AlandIslands = "ax", e.Azerbaijan = "az", e.BosniaAndHerzegovina = "ba", e.Barbados = "bb", e.Bangladesh = "bd", e.Belgium = "be", e.BurkinaFaso = "bf", e.Bulgaria = "bg", e.Bahrain = "bh", e.Burundi = "bi", e.Benin = "bj", e.Bermuda = "bm", e.BruneiDarussalam = "bn", e.Bolivia = "bo", e.Brazil = "br", e.Bahamas = "bs", e.Bhutan = "bt", e.BouvetIsland = "bv", e.Botswana = "bw", e.Belarus = "by", e.Belize = "bz", e.Canada = "ca", e.CocosKeelingIslands = "cc", e.CongoKinshasa = "cd", e.CentralAfricanRepublic = "cf", e.CongoBrazzaville = "cg", e.Switzerland = "ch", e.CoteDIvoire = "ci", e.CookIslands = "ck", e.Chile = "cl", e.Cameroon = "cm", e.China = "cn", e.Colombia = "co", e.CostaRica = "cr", e.Cuba = "cu", e.CapeVerde = "cv", e.ChristmasIsland = "cx", e.Cyprus = "cy", e.CzechRepublic = "cz", e.Germany = "de", e.Djibouti = "dj", e.Denmark = "dk", e.Dominica = "dm", e.DominicanRepublic = "do", e.Algeria = "dz", e.Ecuador = "ec", e.Estonia = "ee", e.Egypt = "eg", e.WesternSahara = "eh", e.Eritrea = "er", e.Spain = "es", e.Ethiopia = "et", e.Finland = "fi", e.Fiji = "fj", e.FalklandIslands = "fk", e.Micronesia = "fm", e.FaroeIslands = "fo", e.France = "fr", e.Gabon = "ga", e.UnitedKingdom = "gb", e.Grenada = "gd", e.Georgia = "ge", e.FrenchGuiana = "gf", e.Guernsey = "gg", e.Ghana = "gh", e.Gibraltar = "gi", e.Greenland = "gl", e.Gambia = "gm", e.Guinea = "gn", e.Guadeloupe = "gp", e.EquatorialGuinea = "gq", e.Greece = "gr", e.SouthGeorgiaAndTheSouthSandwichIslands = "gs", e.Guatemala = "gt", e.Guam = "gu", e.GuineaBissau = "gw", e.Guyana = "gy", e.HongKong = "hk", e.HeardIslandAndMcDonaldIslands = "hm", e.Honduras = "hn", e.Croatia = "hr", e.Haiti = "ht", e.Hungary = "hu", e.Indonesia = "id", e.Ireland = "ie", e.Israel = "il", e.IsleOfMan = "im", e.India = "in", e.BritishIndianOceanTerritory = "io", e.Iraq = "iq", e.Iran = "ir", e.Iceland = "is", e.Italy = "it", e.Jersey = "je", e.Jamaica = "jm", e.Jordan = "jo", e.Japan = "jp", e.Kenya = "ke", e.Kyrgyzstan = "kg", e.Cambodia = "kh", e.Kiribati = "ki", e.Comoros = "km", e.SaintKittsAndNevis = "kn", e.NorthKorea = "kp", e.SouthKorea = "kr", e.Kuwait = "kw", e.CaymanIslands = "ky", e.Kazakhstan = "kz", e.Laos = "la", e.Lebanon = "lb", e.SaintLucia = "lc", e.Liechtenstein = "li", e.SriLanka = "lk", e.Liberia = "lr", e.Lesotho = "ls", e.Lithuania = "lt", e.Luxembourg = "lu", e.Latvia = "lv", e.LibyanArabJamahiriya = "ly", e.Morocco = "ma", e.Monaco = "mc", e.Moldova = "md", e.Montenegro = "me", e.Madagascar = "mg", e.MarshallIslands = "mh", e.Macedonia = "mk", e.Mali = "ml", e.Myanmar = "mm", e.Mongolia = "mn", e.Macao = "mo", e.NorthernMarianaIslands = "mp", e.Martinique = "mq", e.Mauritania = "mr", e.Montserrat = "ms", e.Malta = "mt", e.Mauritius = "mu", e.Maldives = "mv", e.Malawi = "mw", e.Mexico = "mx", e.Malaysia = "my", e.Mozambique = "mz", e.Namibia = "na", e.NewCaledonia = "nc", e.Niger = "ne", e.NorfolkIsland = "nf", e.Nigeria = "ng", e.Nicaragua = "ni", e.Netherlands = "nl", e.Norway = "no", e.Nepal = "np", e.Nauru = "nr", e.Niue = "nu", e.NewZealand = "nz", e.Oman = "om", e.Panama = "pa", e.Peru = "pe", e.FrenchPolynesia = "pf", e.PapuaNewGuinea = "pg", e.Philippines = "ph", e.Pakistan = "pk", e.Poland = "pl", e.SaintPierreAndMiquelon = "pm", e.Pitcairn = "pn", e.PuertoRico = "pr", e.PalestinianTerritory = "ps", e.Portugal = "pt", e.Palau = "pw", e.Paraguay = "py", e.Qatar = "qa", e.Reunion = "re", e.Romania = "ro", e.Serbia = "rs", e.RussianFederation = "ru", e.Rwanda = "rw", e.SaudiArabia = "sa", e.SolomonIslands = "sb", e.Seychelles = "sc", e.Sudan = "sd", e.Sweden = "se", e.Singapore = "sg", e.SaintHelena = "sh", e.Slovenia = "si", e.SvalbardAndJanMayen = "sj", e.Slovakia = "sk", e.SierraLeone = "sl", e.SanMarino = "sm", e.Senegal = "sn", e.Somalia = "so", e.Suriname = "sr", e.SaoTomeAndPrincipe = "st", e.ElSalvador = "sv", e.SyrianArabRepublic = "sy", e.Swaziland = "sz", e.TurksAndCaicosIslands = "tc", e.Chad = "td", e.FrenchSouthernTerritories = "tf", e.Togo = "tg", e.Thailand = "th", e.Tajikistan = "tj", e.Tokelau = "tk", e.TimorLeste = "tl", e.Turkmenistan = "tm", e.Tunisia = "tn", e.Tonga = "to", e.Turkey = "tr", e.TrinidadAndTobago = "tt", e.Tuvalu = "tv", e.Taiwan = "tw", e.Tanzania = "tz", e.Ukraine = "ua", e.Uganda = "ug", e.UnitedStatesMinorOutlyingIslands = "um", e.UnitedStates = "us", e.Uruguay = "uy", e.Uzbekistan = "uz", e.VaticanCityState = "va", e.SaintVincentAndTheGrenadines = "vc", e.Venezuela = "ve", e.VirginIslandsBritish = "vg", e.VirginIslandsUS = "vi", e.VietNam = "vn", e.Vanuatu = "vu", e.WallisAndFutuna = "wf", e.Samoa = "ws", e.Yemen = "ye", e.Mayotte = "yt", e.SouthAfrica = "za", e.Zambia = "zm", e.Zimbabwe = "zw", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(et || {}), rt = ((e) => (e[e.Aconex = j.Aconex] = "Aconex", e[e.Procore = j.Procore] = "Procore", e[e.Autodesk = j.Autodesk] = "Autodesk", e.Email = "email", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(tt || {});
23
- const S = (e) => class extends Error {
41
+ var Mt = /* @__PURE__ */ ((e) => (e[e.Andorra = 1] = "Andorra", e[e.UnitedArabEmirates = 2] = "UnitedArabEmirates", e[e.Afghanistan = 3] = "Afghanistan", e[e.AntiguaAndBarbuda = 4] = "AntiguaAndBarbuda", e[e.Anguilla = 5] = "Anguilla", e[e.Albania = 6] = "Albania", e[e.Armenia = 7] = "Armenia", e[e.NetherlandsAntilles = 8] = "NetherlandsAntilles", e[e.Angola = 9] = "Angola", e[e.Antarctica = 10] = "Antarctica", e[e.Argentina = 11] = "Argentina", e[e.AmericanSamoa = 12] = "AmericanSamoa", e[e.Austria = 13] = "Austria", e[e.Australia = 14] = "Australia", e[e.Aruba = 15] = "Aruba", e[e.AlandIslands = 16] = "AlandIslands", e[e.Azerbaijan = 17] = "Azerbaijan", e[e.BosniaAndHerzegovina = 18] = "BosniaAndHerzegovina", e[e.Barbados = 19] = "Barbados", e[e.Bangladesh = 20] = "Bangladesh", e[e.Belgium = 21] = "Belgium", e[e.BurkinaFaso = 22] = "BurkinaFaso", e[e.Bulgaria = 23] = "Bulgaria", e[e.Bahrain = 24] = "Bahrain", e[e.Burundi = 25] = "Burundi", e[e.Benin = 26] = "Benin", e[e.Bermuda = 27] = "Bermuda", e[e.BruneiDarussalam = 28] = "BruneiDarussalam", e[e.Bolivia = 29] = "Bolivia", e[e.Brazil = 30] = "Brazil", e[e.Bahamas = 31] = "Bahamas", e[e.Bhutan = 32] = "Bhutan", e[e.BouvetIsland = 33] = "BouvetIsland", e[e.Botswana = 34] = "Botswana", e[e.Belarus = 35] = "Belarus", e[e.Belize = 36] = "Belize", e[e.Canada = 37] = "Canada", e[e.CocosKeelingIslands = 38] = "CocosKeelingIslands", e[e.CongoKinshasa = 39] = "CongoKinshasa", e[e.CentralAfricanRepublic = 40] = "CentralAfricanRepublic", e[e.CongoBrazzaville = 41] = "CongoBrazzaville", e[e.Switzerland = 42] = "Switzerland", e[e.CoteDIvoire = 43] = "CoteDIvoire", e[e.CookIslands = 44] = "CookIslands", e[e.Chile = 45] = "Chile", e[e.Cameroon = 46] = "Cameroon", e[e.China = 47] = "China", e[e.Colombia = 48] = "Colombia", e[e.CostaRica = 49] = "CostaRica", e[e.Cuba = 50] = "Cuba", e[e.CapeVerde = 51] = "CapeVerde", e[e.ChristmasIsland = 52] = "ChristmasIsland", e[e.Cyprus = 53] = "Cyprus", e[e.CzechRepublic = 54] = "CzechRepublic", e[e.Germany = 55] = "Germany", e[e.Djibouti = 56] = "Djibouti", e[e.Denmark = 57] = "Denmark", e[e.Dominica = 58] = "Dominica", e[e.DominicanRepublic = 59] = "DominicanRepublic", e[e.Algeria = 60] = "Algeria", e[e.Ecuador = 61] = "Ecuador", e[e.Estonia = 62] = "Estonia", e[e.Egypt = 63] = "Egypt", e[e.WesternSahara = 64] = "WesternSahara", e[e.Eritrea = 65] = "Eritrea", e[e.Spain = 66] = "Spain", e[e.Ethiopia = 67] = "Ethiopia", e[e.Finland = 68] = "Finland", e[e.Fiji = 69] = "Fiji", e[e.FalklandIslands = 70] = "FalklandIslands", e[e.Micronesia = 71] = "Micronesia", e[e.FaroeIslands = 72] = "FaroeIslands", e[e.France = 73] = "France", e[e.Gabon = 74] = "Gabon", e[e.UnitedKingdom = 75] = "UnitedKingdom", e[e.Grenada = 76] = "Grenada", e[e.Georgia = 77] = "Georgia", e[e.FrenchGuiana = 78] = "FrenchGuiana", e[e.Guernsey = 79] = "Guernsey", e[e.Ghana = 80] = "Ghana", e[e.Gibraltar = 81] = "Gibraltar", e[e.Greenland = 82] = "Greenland", e[e.Gambia = 83] = "Gambia", e[e.Guinea = 84] = "Guinea", e[e.Guadeloupe = 85] = "Guadeloupe", e[e.EquatorialGuinea = 86] = "EquatorialGuinea", e[e.Greece = 87] = "Greece", e[e.SouthGeorgiaAndTheSouthSandwichIslands = 88] = "SouthGeorgiaAndTheSouthSandwichIslands", e[e.Guatemala = 89] = "Guatemala", e[e.Guam = 90] = "Guam", e[e.GuineaBissau = 91] = "GuineaBissau", e[e.Guyana = 92] = "Guyana", e[e.HongKong = 93] = "HongKong", e[e.HeardIslandAndMcDonaldIslands = 94] = "HeardIslandAndMcDonaldIslands", e[e.Honduras = 95] = "Honduras", e[e.Croatia = 96] = "Croatia", e[e.Haiti = 97] = "Haiti", e[e.Hungary = 98] = "Hungary", e[e.Indonesia = 99] = "Indonesia", e[e.Ireland = 100] = "Ireland", e[e.Israel = 101] = "Israel", e[e.IsleOfMan = 102] = "IsleOfMan", e[e.India = 103] = "India", e[e.BritishIndianOceanTerritory = 104] = "BritishIndianOceanTerritory", e[e.Iraq = 105] = "Iraq", e[e.Iran = 106] = "Iran", e[e.Iceland = 107] = "Iceland", e[e.Italy = 108] = "Italy", e[e.Jersey = 109] = "Jersey", e[e.Jamaica = 110] = "Jamaica", e[e.Jordan = 111] = "Jordan", e[e.Japan = 112] = "Japan", e[e.Kenya = 113] = "Kenya", e[e.Kyrgyzstan = 114] = "Kyrgyzstan", e[e.Cambodia = 115] = "Cambodia", e[e.Kiribati = 116] = "Kiribati", e[e.Comoros = 117] = "Comoros", e[e.SaintKittsAndNevis = 118] = "SaintKittsAndNevis", e[e.NorthKorea = 119] = "NorthKorea", e[e.SouthKorea = 120] = "SouthKorea", e[e.Kuwait = 121] = "Kuwait", e[e.CaymanIslands = 122] = "CaymanIslands", e[e.Kazakhstan = 123] = "Kazakhstan", e[e.Laos = 124] = "Laos", e[e.Lebanon = 125] = "Lebanon", e[e.SaintLucia = 126] = "SaintLucia", e[e.Liechtenstein = 127] = "Liechtenstein", e[e.SriLanka = 128] = "SriLanka", e[e.Liberia = 129] = "Liberia", e[e.Lesotho = 130] = "Lesotho", e[e.Lithuania = 131] = "Lithuania", e[e.Luxembourg = 132] = "Luxembourg", e[e.Latvia = 133] = "Latvia", e[e.LibyanArabJamahiriya = 134] = "LibyanArabJamahiriya", e[e.Morocco = 135] = "Morocco", e[e.Monaco = 136] = "Monaco", e[e.Moldova = 137] = "Moldova", e[e.Montenegro = 138] = "Montenegro", e[e.Madagascar = 139] = "Madagascar", e[e.MarshallIslands = 140] = "MarshallIslands", e[e.Macedonia = 141] = "Macedonia", e[e.Mali = 142] = "Mali", e[e.Myanmar = 143] = "Myanmar", e[e.Mongolia = 144] = "Mongolia", e[e.Macao = 145] = "Macao", e[e.NorthernMarianaIslands = 146] = "NorthernMarianaIslands", e[e.Martinique = 147] = "Martinique", e[e.Mauritania = 148] = "Mauritania", e[e.Montserrat = 149] = "Montserrat", e[e.Malta = 150] = "Malta", e[e.Mauritius = 151] = "Mauritius", e[e.Maldives = 152] = "Maldives", e[e.Malawi = 153] = "Malawi", e[e.Mexico = 154] = "Mexico", e[e.Malaysia = 155] = "Malaysia", e[e.Mozambique = 156] = "Mozambique", e[e.Namibia = 157] = "Namibia", e[e.NewCaledonia = 158] = "NewCaledonia", e[e.Niger = 159] = "Niger", e[e.NorfolkIsland = 160] = "NorfolkIsland", e[e.Nigeria = 161] = "Nigeria", e[e.Nicaragua = 162] = "Nicaragua", e[e.Netherlands = 163] = "Netherlands", e[e.Norway = 164] = "Norway", e[e.Nepal = 165] = "Nepal", e[e.Nauru = 166] = "Nauru", e[e.Niue = 167] = "Niue", e[e.NewZealand = 168] = "NewZealand", e[e.Oman = 169] = "Oman", e[e.Panama = 170] = "Panama", e[e.Peru = 171] = "Peru", e[e.FrenchPolynesia = 172] = "FrenchPolynesia", e[e.PapuaNewGuinea = 173] = "PapuaNewGuinea", e[e.Philippines = 174] = "Philippines", e[e.Pakistan = 175] = "Pakistan", e[e.Poland = 176] = "Poland", e[e.SaintPierreAndMiquelon = 177] = "SaintPierreAndMiquelon", e[e.Pitcairn = 178] = "Pitcairn", e[e.PuertoRico = 179] = "PuertoRico", e[e.PalestinianTerritory = 180] = "PalestinianTerritory", e[e.Portugal = 181] = "Portugal", e[e.Palau = 182] = "Palau", e[e.Paraguay = 183] = "Paraguay", e[e.Qatar = 184] = "Qatar", e[e.Reunion = 185] = "Reunion", e[e.Romania = 186] = "Romania", e[e.Serbia = 187] = "Serbia", e[e.RussianFederation = 188] = "RussianFederation", e[e.Rwanda = 189] = "Rwanda", e[e.SaudiArabia = 190] = "SaudiArabia", e[e.SolomonIslands = 191] = "SolomonIslands", e[e.Seychelles = 192] = "Seychelles", e[e.Sudan = 193] = "Sudan", e[e.Sweden = 194] = "Sweden", e[e.Singapore = 195] = "Singapore", e[e.SaintHelena = 196] = "SaintHelena", e[e.Slovenia = 197] = "Slovenia", e[e.SvalbardAndJanMayen = 198] = "SvalbardAndJanMayen", e[e.Slovakia = 199] = "Slovakia", e[e.SierraLeone = 200] = "SierraLeone", e[e.SanMarino = 201] = "SanMarino", e[e.Senegal = 202] = "Senegal", e[e.Somalia = 203] = "Somalia", e[e.Suriname = 204] = "Suriname", e[e.SaoTomeAndPrincipe = 205] = "SaoTomeAndPrincipe", e[e.ElSalvador = 206] = "ElSalvador", e[e.SyrianArabRepublic = 207] = "SyrianArabRepublic", e[e.Swaziland = 208] = "Swaziland", e[e.TurksAndCaicosIslands = 209] = "TurksAndCaicosIslands", e[e.Chad = 210] = "Chad", e[e.FrenchSouthernTerritories = 211] = "FrenchSouthernTerritories", e[e.Togo = 212] = "Togo", e[e.Thailand = 213] = "Thailand", e[e.Tajikistan = 214] = "Tajikistan", e[e.Tokelau = 215] = "Tokelau", e[e.TimorLeste = 216] = "TimorLeste", e[e.Turkmenistan = 217] = "Turkmenistan", e[e.Tunisia = 218] = "Tunisia", e[e.Tonga = 219] = "Tonga", e[e.Turkey = 220] = "Turkey", e[e.TrinidadAndTobago = 221] = "TrinidadAndTobago", e[e.Tuvalu = 222] = "Tuvalu", e[e.Taiwan = 223] = "Taiwan", e[e.Tanzania = 224] = "Tanzania", e[e.Ukraine = 225] = "Ukraine", e[e.Uganda = 226] = "Uganda", e[e.UnitedStatesMinorOutlyingIslands = 227] = "UnitedStatesMinorOutlyingIslands", e[e.UnitedStates = 228] = "UnitedStates", e[e.Uruguay = 229] = "Uruguay", e[e.Uzbekistan = 230] = "Uzbekistan", e[e.VaticanCityState = 231] = "VaticanCityState", e[e.SaintVincentAndTheGrenadines = 232] = "SaintVincentAndTheGrenadines", e[e.Venezuela = 233] = "Venezuela", e[e.VirginIslandsBritish = 234] = "VirginIslandsBritish", e[e.VirginIslandsUS = 235] = "VirginIslandsUS", e[e.VietNam = 236] = "VietNam", e[e.Vanuatu = 237] = "Vanuatu", e[e.WallisAndFutuna = 238] = "WallisAndFutuna", e[e.Samoa = 239] = "Samoa", e[e.Yemen = 240] = "Yemen", e[e.Mayotte = 241] = "Mayotte", e[e.SouthAfrica = 242] = "SouthAfrica", e[e.Zambia = 243] = "Zambia", e[e.Zimbabwe = 244] = "Zimbabwe", e))(Mt || {}), ft = /* @__PURE__ */ ((e) => (e.Andorra = "ad", e.UnitedArabEmirates = "ae", e.Afghanistan = "af", e.AntiguaAndBarbuda = "ag", e.Anguilla = "ai", e.Albania = "al", e.Armenia = "am", e.NetherlandsAntilles = "an", e.Angola = "ao", e.Antarctica = "aq", e.Argentina = "ar", e.AmericanSamoa = "as", e.Austria = "at", e.Australia = "au", e.Aruba = "aw", e.AlandIslands = "ax", e.Azerbaijan = "az", e.BosniaAndHerzegovina = "ba", e.Barbados = "bb", e.Bangladesh = "bd", e.Belgium = "be", e.BurkinaFaso = "bf", e.Bulgaria = "bg", e.Bahrain = "bh", e.Burundi = "bi", e.Benin = "bj", e.Bermuda = "bm", e.BruneiDarussalam = "bn", e.Bolivia = "bo", e.Brazil = "br", e.Bahamas = "bs", e.Bhutan = "bt", e.BouvetIsland = "bv", e.Botswana = "bw", e.Belarus = "by", e.Belize = "bz", e.Canada = "ca", e.CocosKeelingIslands = "cc", e.CongoKinshasa = "cd", e.CentralAfricanRepublic = "cf", e.CongoBrazzaville = "cg", e.Switzerland = "ch", e.CoteDIvoire = "ci", e.CookIslands = "ck", e.Chile = "cl", e.Cameroon = "cm", e.China = "cn", e.Colombia = "co", e.CostaRica = "cr", e.Cuba = "cu", e.CapeVerde = "cv", e.ChristmasIsland = "cx", e.Cyprus = "cy", e.CzechRepublic = "cz", e.Germany = "de", e.Djibouti = "dj", e.Denmark = "dk", e.Dominica = "dm", e.DominicanRepublic = "do", e.Algeria = "dz", e.Ecuador = "ec", e.Estonia = "ee", e.Egypt = "eg", e.WesternSahara = "eh", e.Eritrea = "er", e.Spain = "es", e.Ethiopia = "et", e.Finland = "fi", e.Fiji = "fj", e.FalklandIslands = "fk", e.Micronesia = "fm", e.FaroeIslands = "fo", e.France = "fr", e.Gabon = "ga", e.UnitedKingdom = "gb", e.Grenada = "gd", e.Georgia = "ge", e.FrenchGuiana = "gf", e.Guernsey = "gg", e.Ghana = "gh", e.Gibraltar = "gi", e.Greenland = "gl", e.Gambia = "gm", e.Guinea = "gn", e.Guadeloupe = "gp", e.EquatorialGuinea = "gq", e.Greece = "gr", e.SouthGeorgiaAndTheSouthSandwichIslands = "gs", e.Guatemala = "gt", e.Guam = "gu", e.GuineaBissau = "gw", e.Guyana = "gy", e.HongKong = "hk", e.HeardIslandAndMcDonaldIslands = "hm", e.Honduras = "hn", e.Croatia = "hr", e.Haiti = "ht", e.Hungary = "hu", e.Indonesia = "id", e.Ireland = "ie", e.Israel = "il", e.IsleOfMan = "im", e.India = "in", e.BritishIndianOceanTerritory = "io", e.Iraq = "iq", e.Iran = "ir", e.Iceland = "is", e.Italy = "it", e.Jersey = "je", e.Jamaica = "jm", e.Jordan = "jo", e.Japan = "jp", e.Kenya = "ke", e.Kyrgyzstan = "kg", e.Cambodia = "kh", e.Kiribati = "ki", e.Comoros = "km", e.SaintKittsAndNevis = "kn", e.NorthKorea = "kp", e.SouthKorea = "kr", e.Kuwait = "kw", e.CaymanIslands = "ky", e.Kazakhstan = "kz", e.Laos = "la", e.Lebanon = "lb", e.SaintLucia = "lc", e.Liechtenstein = "li", e.SriLanka = "lk", e.Liberia = "lr", e.Lesotho = "ls", e.Lithuania = "lt", e.Luxembourg = "lu", e.Latvia = "lv", e.LibyanArabJamahiriya = "ly", e.Morocco = "ma", e.Monaco = "mc", e.Moldova = "md", e.Montenegro = "me", e.Madagascar = "mg", e.MarshallIslands = "mh", e.Macedonia = "mk", e.Mali = "ml", e.Myanmar = "mm", e.Mongolia = "mn", e.Macao = "mo", e.NorthernMarianaIslands = "mp", e.Martinique = "mq", e.Mauritania = "mr", e.Montserrat = "ms", e.Malta = "mt", e.Mauritius = "mu", e.Maldives = "mv", e.Malawi = "mw", e.Mexico = "mx", e.Malaysia = "my", e.Mozambique = "mz", e.Namibia = "na", e.NewCaledonia = "nc", e.Niger = "ne", e.NorfolkIsland = "nf", e.Nigeria = "ng", e.Nicaragua = "ni", e.Netherlands = "nl", e.Norway = "no", e.Nepal = "np", e.Nauru = "nr", e.Niue = "nu", e.NewZealand = "nz", e.Oman = "om", e.Panama = "pa", e.Peru = "pe", e.FrenchPolynesia = "pf", e.PapuaNewGuinea = "pg", e.Philippines = "ph", e.Pakistan = "pk", e.Poland = "pl", e.SaintPierreAndMiquelon = "pm", e.Pitcairn = "pn", e.PuertoRico = "pr", e.PalestinianTerritory = "ps", e.Portugal = "pt", e.Palau = "pw", e.Paraguay = "py", e.Qatar = "qa", e.Reunion = "re", e.Romania = "ro", e.Serbia = "rs", e.RussianFederation = "ru", e.Rwanda = "rw", e.SaudiArabia = "sa", e.SolomonIslands = "sb", e.Seychelles = "sc", e.Sudan = "sd", e.Sweden = "se", e.Singapore = "sg", e.SaintHelena = "sh", e.Slovenia = "si", e.SvalbardAndJanMayen = "sj", e.Slovakia = "sk", e.SierraLeone = "sl", e.SanMarino = "sm", e.Senegal = "sn", e.Somalia = "so", e.Suriname = "sr", e.SaoTomeAndPrincipe = "st", e.ElSalvador = "sv", e.SyrianArabRepublic = "sy", e.Swaziland = "sz", e.TurksAndCaicosIslands = "tc", e.Chad = "td", e.FrenchSouthernTerritories = "tf", e.Togo = "tg", e.Thailand = "th", e.Tajikistan = "tj", e.Tokelau = "tk", e.TimorLeste = "tl", e.Turkmenistan = "tm", e.Tunisia = "tn", e.Tonga = "to", e.Turkey = "tr", e.TrinidadAndTobago = "tt", e.Tuvalu = "tv", e.Taiwan = "tw", e.Tanzania = "tz", e.Ukraine = "ua", e.Uganda = "ug", e.UnitedStatesMinorOutlyingIslands = "um", e.UnitedStates = "us", e.Uruguay = "uy", e.Uzbekistan = "uz", e.VaticanCityState = "va", e.SaintVincentAndTheGrenadines = "vc", e.Venezuela = "ve", e.VirginIslandsBritish = "vg", e.VirginIslandsUS = "vi", e.VietNam = "vn", e.Vanuatu = "vu", e.WallisAndFutuna = "wf", e.Samoa = "ws", e.Yemen = "ye", e.Mayotte = "yt", e.SouthAfrica = "za", e.Zambia = "zm", e.Zimbabwe = "zw", e))(ft || {}), Dt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(Dt || {}), Rt = ((e) => (e[e.Aconex = F.Aconex] = "Aconex", e[e.Procore = F.Procore] = "Procore", e[e.Autodesk = F.Autodesk] = "Autodesk", e.Email = "email", e))(Rt || {}), Pt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e))(Pt || {}), _t = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(_t || {}), jt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(jt || {}), Ut = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(Ut || {});
42
+ function wo(e) {
43
+ return e.resourceType === "project";
44
+ }
45
+ function Mo(e) {
46
+ return e.resourceType === "camera";
47
+ }
48
+ var Bt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(Bt || {}), Ft = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Ft || {}), Ot = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(Ot || {}), Nt = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(Nt || {}), Gt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e))(Gt || {}), Vt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Vt || {});
49
+ const fo = {
50
+ gate_report: {
51
+ bg: "#ecfdf5",
52
+ fg: "#047857",
53
+ border: "#a7f3d0",
54
+ icon: "fa-truck"
55
+ },
56
+ ppe: {
57
+ bg: "#fff7ed",
58
+ fg: "#c2410c",
59
+ border: "#fed7aa",
60
+ icon: "fa-helmet-safety"
61
+ },
62
+ site_analytics: {
63
+ bg: "#eff6ff",
64
+ fg: "#1d4ed8",
65
+ border: "#bfdbfe",
66
+ icon: "fa-chart-simple"
67
+ },
68
+ generic: {
69
+ bg: "#f1f5f9",
70
+ fg: "#334155",
71
+ border: "#cbd5e1",
72
+ icon: "fa-cube"
73
+ }
74
+ }, Do = {
75
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
76
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
77
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
78
+ };
79
+ var Ht = /* @__PURE__ */ ((e) => (e.Gemini3Pro = "gemini-3-pro", e.Gemini3FlashPreview = "gemini-3-flash-preview", e.Gemini25Pro = "gemini-2.5-pro", e.Gemini25Flash = "gemini-2.5-flash", e.Gemini20Flash = "gemini-2.0-flash", e.Gpt5 = "gpt-5", e.Gpt5Mini = "gpt-5-mini", e.Gpt4o = "gpt-4o", e.Gpt4oMini = "gpt-4o-mini", e.ClaudeOpus45 = "claude-opus-4-5", e.ClaudeSonnet46 = "claude-sonnet-4-6", e.ClaudeHaiku45 = "claude-haiku-4-5", e))(Ht || {}), vt = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(vt || {}), Wt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(Wt || {});
80
+ const b = (e) => class extends Error {
24
81
  constructor(r) {
25
82
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
26
83
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
27
84
  }
28
- }, st = S(u.BadRequestError), it = S(u.NotFoundError), ot = S(u.UnauthorizedError), nt = S(
29
- u.GatewayTimeoutError
30
- ), lt = S(u.BadGatewayError), gt = S(u.ForbiddenError), xt = S(u.HlsError), Nt = S(u.SnapshotError), mt = S(u.ConflictError), pt = S(
31
- u.InternalServerError
85
+ }, xt = b($.BadRequestError), zt = b($.NotFoundError), Lt = b($.UnauthorizedError), Zt = b(
86
+ $.GatewayTimeoutError
87
+ ), Xt = b($.BadGatewayError), Qt = b($.ForbiddenError), Ro = b($.HlsError), Po = b($.SnapshotError), qt = b($.ConflictError), Jt = b(
88
+ $.InternalServerError
32
89
  );
33
- let v = 0;
34
- const ct = 10, ut = async () => {
35
- for (; v === ct; )
90
+ let N = 0;
91
+ const Yt = 10, Kt = async () => {
92
+ for (; N === Yt; )
36
93
  await new Promise((e) => setTimeout(e, 1e3));
37
- v++, setTimeout(() => {
38
- v--;
94
+ N++, setTimeout(() => {
95
+ N--;
39
96
  }, 1e3);
40
- }, ht = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await ut(), $t(e, r), St(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && (e.headers.common["iframe-origin"] = new URL(document.referrer).origin), e.preserveCasing || Tt(e)), e), dt = (e) => {
41
- var t, s, i, n, l;
97
+ }, Ct = async (e, r) => {
98
+ var t;
99
+ if (e != null && e.raw)
100
+ return e;
101
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await Kt(), It(e, r), e != null && e.skipAuth ? eo(e) : At(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && ((t = e == null ? void 0 : e.headers) != null && t.common) && !(r.forgeTokenServerUrl && (e.url || "").startsWith(r.forgeTokenServerUrl))) {
102
+ const o = e.headers.common;
103
+ o["iframe-origin"] = new URL(document.referrer).origin;
104
+ }
105
+ return e.preserveCasing || yt(e), e;
106
+ }, Et = (e) => {
107
+ var t, o, i, g, p;
42
108
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
43
109
  return e;
44
110
  if ("data" in e) {
45
111
  if (e.data instanceof Blob)
46
112
  return e.data;
47
113
  } else return e;
48
- const r = (s = e == null ? void 0 : e.config) != null && s.preserveCasing ? e.data : f.camelizeKeys(e.data);
49
- if ((i = e == null ? void 0 : e.config) != null && i.timing && ((l = (n = e == null ? void 0 : e.config) == null ? void 0 : n._metadata) != null && l.startTime)) {
50
- const p = performance.now() - e.config._metadata.startTime;
114
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : D.camelizeKeys(e.data);
115
+ if ((i = e == null ? void 0 : e.config) != null && i.timing && ((p = (g = e == null ? void 0 : e.config) == null ? void 0 : g._metadata) != null && p.startTime)) {
116
+ const d = performance.now() - e.config._metadata.startTime;
51
117
  return {
52
118
  ...e,
53
119
  data: r,
54
- duration: p
120
+ duration: d
55
121
  };
56
122
  }
57
123
  return r;
58
- }, X = async (e, r) => {
59
- var P, _, D, k, N, G, H;
60
- if ((P = e == null ? void 0 : e.config) != null && P.timing && ((D = (_ = e == null ? void 0 : e.config) == null ? void 0 : _._metadata) != null && D.startTime)) {
61
- const K = performance.now() - e.config._metadata.startTime;
62
- return { error: e, duration: K };
124
+ }, q = async (e, r) => {
125
+ var P, j, U, f, V, H, v;
126
+ if ((P = e == null ? void 0 : e.config) != null && P.timing && ((U = (j = e == null ? void 0 : e.config) == null ? void 0 : j._metadata) != null && U.startTime)) {
127
+ const E = performance.now() - e.config._metadata.startTime;
128
+ return { error: e, duration: E };
63
129
  }
64
- const t = e.response ? e.response.status : null, s = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), i = (N = e.config) == null ? void 0 : N.url, n = ((H = (G = e == null ? void 0 : e.response) == null ? void 0 : G.data) == null ? void 0 : H.code) || "";
65
- let l = {}, p = e.message;
66
- switch (i && s && t && (p = `${s} ${i} (${t}) ${n}`.trim()), t) {
67
- case d.BadRequestError:
68
- l = new st(new Error(p));
130
+ const t = e.response ? e.response.status : null, o = (((f = e.config) == null ? void 0 : f.method) || "").toUpperCase(), i = (V = e.config) == null ? void 0 : V.url, g = ((v = (H = e == null ? void 0 : e.response) == null ? void 0 : H.data) == null ? void 0 : v.code) || "";
131
+ let p = {}, d = e.message;
132
+ switch (i && o && t && (d = `${o} ${i} (${t}) ${g}`.trim()), t) {
133
+ case k.BadRequestError:
134
+ p = new xt(new Error(d));
69
135
  break;
70
- case d.UnauthorizedError:
71
- l = new ot(new Error(p));
136
+ case k.UnauthorizedError:
137
+ p = new Lt(new Error(d));
72
138
  break;
73
- case d.ForbiddenError:
74
- l = new gt(new Error(p));
139
+ case k.ForbiddenError:
140
+ p = new Qt(new Error(d));
75
141
  break;
76
- case d.NotFoundError:
77
- l = new it(new Error(p));
142
+ case k.NotFoundError:
143
+ p = new zt(new Error(d));
78
144
  break;
79
- case d.ConflictError:
80
- l = new mt(new Error(p));
145
+ case k.ConflictError:
146
+ p = new qt(new Error(d));
81
147
  break;
82
- case d.InternalServerError:
83
- l = new pt(new Error(p));
148
+ case k.InternalServerError:
149
+ p = new Jt(new Error(d));
84
150
  break;
85
- case d.BadGatewayError:
86
- l = new lt(new Error(p));
151
+ case k.BadGatewayError:
152
+ p = new Xt(new Error(d));
87
153
  break;
88
- case d.GatewayTimeoutError:
89
- l = new nt(new Error(p));
154
+ case k.GatewayTimeoutError:
155
+ p = new Zt(new Error(d));
90
156
  break;
91
157
  case null:
92
158
  // null case
93
159
  case 0:
94
- l = new Error(
160
+ p = new Error(
95
161
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
96
162
  );
97
163
  break;
98
164
  }
99
- if ($.isCancel(e) || t === d.NotFoundError)
100
- return Promise.reject(l);
165
+ if (w.isCancel(e) || t === k.NotFoundError)
166
+ return Promise.reject(p);
101
167
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
102
- const U = r.errorLogger;
103
- return i && U && U({
168
+ const M = r.errorLogger;
169
+ return i && M && M({
104
170
  // @ts-expect-error axios issue
105
171
  category: "axios.info",
106
172
  data: {
107
173
  url: `Error in URL: ${i}`,
108
174
  status: t
109
175
  }
110
- }), Promise.reject(l);
176
+ }), Promise.reject(p);
111
177
  }, J = (e) => {
112
178
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
113
179
  };
114
- function St(e, r) {
115
- var s;
116
- const t = (s = r == null ? void 0 : r.getAuthToken) == null ? void 0 : s.call(r);
180
+ function At(e, r) {
181
+ var o;
182
+ const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
117
183
  t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
118
184
  }
119
- function $t(e, r) {
185
+ function It(e, r) {
120
186
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
121
187
  }
122
- function Tt(e) {
123
- let r = {}, { data: t, params: s } = e;
188
+ function yt(e) {
189
+ let r = {}, { data: t, params: o } = e;
124
190
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
125
- (i, n) => ({
191
+ (i, g) => ({
126
192
  ...i,
127
- [n]: t[n]
193
+ [g]: t[g]
128
194
  }),
129
195
  {}
130
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = f.decamelizeKeys(t) : t = { ...f.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
196
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = D.decamelizeKeys(t) : t = { ...D.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
131
197
  let i = new FormData();
132
- for (const [n, l] of t.entries())
133
- i.append(f.decamelize(n), l);
198
+ for (const [g, p] of t.entries())
199
+ i.append(D.decamelize(g), p);
134
200
  t = i;
135
201
  }
136
- s && !(s instanceof Blob) && (s = f.decamelizeKeys(s)), e.data = t, e.params = s;
202
+ o && !(o instanceof Blob) && (o = D.decamelizeKeys(o)), e.data = t, e.params = o;
137
203
  }
138
- const Gt = async (e, r, t) => {
204
+ const _o = async (e, r, t) => {
139
205
  if (r())
140
- throw await t(), new $.Cancel("Request canceled due to expired token");
206
+ throw await t(), new w.Cancel("Request canceled due to expired token");
141
207
  return e;
142
208
  };
143
- function R(e) {
209
+ function eo(e) {
210
+ if (!e.headers)
211
+ return;
212
+ const r = e.headers;
213
+ delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
214
+ }
215
+ function _(e) {
144
216
  return new Promise((r, t) => {
145
217
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
146
218
  });
147
219
  }
148
- function bt(e, r) {
220
+ function ro(e, r) {
149
221
  let t;
150
- const s = () => {
222
+ const o = () => {
151
223
  if (t)
152
224
  return t;
153
225
  const i = indexedDB.open(e);
154
- return i.onupgradeneeded = () => i.result.createObjectStore(r), t = R(i), t.then((n) => {
155
- n.onclose = () => t = void 0;
226
+ return i.onupgradeneeded = () => i.result.createObjectStore(r), t = _(i), t.then((g) => {
227
+ g.onclose = () => t = void 0;
156
228
  }, () => {
229
+ t = void 0;
157
230
  }), t;
158
231
  };
159
- return (i, n) => s().then((l) => n(l.transaction(r, i).objectStore(r)));
232
+ return (i, g) => o().then((p) => g(p.transaction(r, i).objectStore(r)));
160
233
  }
161
- let x;
234
+ let G;
162
235
  function O() {
163
- return x || (x = bt("keyval-store", "keyval")), x;
236
+ return G || (G = ro("keyval-store", "keyval")), G;
164
237
  }
165
- function kt(e, r = O()) {
166
- return r("readonly", (t) => R(t.get(e)));
238
+ function ao(e, r = O()) {
239
+ return r("readonly", (t) => _(t.get(e)));
167
240
  }
168
- function ft(e, r, t = O()) {
169
- return t("readwrite", (s) => (s.put(r, e), R(s.transaction)));
241
+ function to(e, r, t = O()) {
242
+ return t("readwrite", (o) => (o.put(r, e), _(o.transaction)));
170
243
  }
171
- function wt(e, r = O()) {
172
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
244
+ function oo(e, r = O()) {
245
+ return r("readwrite", (t) => (t.delete(e), _(t.transaction)));
173
246
  }
174
- function Pt(e = O()) {
175
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
247
+ function so(e = O()) {
248
+ return e("readwrite", (r) => (r.clear(), _(r.transaction)));
176
249
  }
177
- class Mt {
250
+ class io {
178
251
  constructor(r) {
179
252
  B(this, "prefix");
180
253
  this.prefix = r;
181
254
  }
182
255
  generateKey(r) {
183
- var i, n;
256
+ var i, g;
184
257
  const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
185
- let s = "";
258
+ let o = "";
186
259
  if (r.params) {
187
- const l = Object.keys(r.params).sort().reduce((p, T) => (p[T] = r.params[T], p), {});
188
- s = JSON.stringify(l);
260
+ const p = Object.keys(r.params).sort().reduce((d, h) => (d[h] = r.params[h], d), {});
261
+ o = JSON.stringify(p);
189
262
  }
190
- return `${this.prefix}:${((n = r.method) == null ? void 0 : n.toUpperCase()) || "GET"}:${t}?${s}`;
263
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
191
264
  }
192
265
  async get(r) {
193
266
  let t;
194
267
  try {
195
- if (t = await kt(r), t === void 0)
268
+ if (t = await ao(r), t === void 0)
196
269
  return;
197
- } catch (s) {
198
- console.error(`[SWR Store]: Error getting value for key "${r}"`, s);
270
+ } catch (o) {
271
+ console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
199
272
  return;
200
273
  }
201
274
  try {
202
275
  t = JSON.parse(t);
203
- } catch (s) {
276
+ } catch (o) {
204
277
  console.error(
205
278
  `[SWR Store]: Error parsing value for key "${r}", got ${t}`,
206
- s
279
+ o
207
280
  );
208
281
  }
209
282
  return t;
210
283
  }
211
284
  async set(r, t) {
212
285
  try {
213
- const s = JSON.stringify(t);
214
- await ft(r, s);
215
- } catch (s) {
286
+ const o = JSON.stringify(t);
287
+ await to(r, o);
288
+ } catch (o) {
216
289
  console.error(
217
290
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
218
- s
291
+ o
219
292
  );
220
293
  }
221
294
  }
222
295
  async delete(r) {
223
296
  try {
224
- await wt(r);
297
+ await oo(r);
225
298
  } catch (t) {
226
299
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
227
300
  }
228
301
  }
229
302
  async clear() {
230
303
  try {
231
- await Pt();
304
+ await so();
232
305
  } catch (r) {
233
306
  console.error("[SWR Store]: Error clearing cache", r);
234
307
  }
235
308
  }
236
309
  }
237
- class Q {
310
+ class Y {
238
311
  constructor({
239
312
  key: r,
240
313
  axiosInstance: t
241
314
  }) {
242
315
  B(this, "axiosInstance");
243
316
  B(this, "store");
244
- this.store = new Mt(r), this.axiosInstance = t;
317
+ this.store = new io(r), this.axiosInstance = t;
245
318
  }
246
319
  async get(r, t = {}) {
247
- const s = {
320
+ const o = {
248
321
  ...t,
249
322
  method: "get",
250
323
  url: r
251
- }, i = this.store.generateKey(s), n = this.getCachedValue(i, s), l = this.getFreshValue(i, s);
324
+ }, i = this.store.generateKey(o), g = this.getCachedValue(i, o), p = this.getFreshValue(i, o);
252
325
  return Promise.race([
253
- n.then((p) => p != null ? p : l),
254
- l
326
+ g.then((d) => d != null ? d : p),
327
+ p
255
328
  ]);
256
329
  }
257
330
  async getCachedValue(r, t) {
258
331
  try {
259
- const s = await this.store.get(r);
260
- return s ? (t.onSwrHit && t.onSwrHit(s), s) : void 0;
261
- } catch (s) {
262
- console.warn(`[SWR] Error fetching value for key: ${r}`, s);
332
+ const o = await this.store.get(r);
333
+ return o ? (t.onSwrHit && t.onSwrHit(o), o) : void 0;
334
+ } catch (o) {
335
+ console.warn(`[SWR] Error fetching value for key: ${r}`, o);
263
336
  }
264
337
  }
265
338
  async getFreshValue(r, t) {
266
- var s;
339
+ var o;
267
340
  try {
268
341
  const i = await this.axiosInstance.request(
269
342
  t
270
- ), n = (s = i == null ? void 0 : i.data) != null ? s : i;
271
- return this.store.set(r, n).catch((l) => {
272
- console.warn(`[SWR] Failed to write to cache: ${r}`, l);
273
- }), t.onSwrRefresh && t.onSwrRefresh(n), n;
343
+ ), g = (o = i == null ? void 0 : i.data) != null ? o : i;
344
+ return this.store.set(r, g).catch((p) => {
345
+ console.warn(`[SWR] Failed to write to cache: ${r}`, p);
346
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
274
347
  } catch (i) {
275
348
  throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
276
349
  }
@@ -279,8 +352,8 @@ class Q {
279
352
  await this.store.clear();
280
353
  }
281
354
  }
282
- let F = [], z = [], w = [];
283
- const a = $.create({
355
+ let W = [], x = [], R = [];
356
+ const a = w.create({
284
357
  headers: {
285
358
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
286
359
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -298,66 +371,74 @@ a.addEnvironmentVariables = (e) => {
298
371
  );
299
372
  });
300
373
  };
301
- a.swr = new Q({
374
+ a.swr = new Y({
302
375
  key: a.env.swrKey || "swr",
303
376
  axiosInstance: a
304
377
  });
305
- const Rt = a.get.bind(a);
306
- a.swr = new Q({
378
+ const no = a.get.bind(a);
379
+ a.swr = new Y({
307
380
  key: a.env.swrKey || "swr",
308
381
  axiosInstance: a
309
382
  });
310
383
  a.get = function(...e) {
311
- return (e[1] || {}).swr ? this.swr.get(...e) : Rt(...e);
384
+ return (e[1] || {}).swr ? this.swr.get(...e) : no(...e);
312
385
  };
313
386
  a.addRequestInterceptor = (e, r) => {
314
- F.push(e), r && !w.includes(r) && w.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
387
+ W.push(e), r && !R.includes(r) && R.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
315
388
  async (t) => {
316
- for (const s of F)
317
- t = await s(t, a.env);
389
+ for (const o of W)
390
+ t = await o(t, a.env);
318
391
  return t;
319
392
  },
320
393
  (t) => {
321
- for (const s of w)
322
- s(t, a.env);
394
+ for (const o of R)
395
+ o(t, a.env);
323
396
  }
324
397
  );
325
398
  };
326
399
  a.addResponseInterceptor = (e, r) => {
327
- z.push(e), r && !w.includes(r) && w.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
400
+ x.push(e), r && !R.includes(r) && R.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
328
401
  async (t) => {
329
- for (const s of z)
330
- t = await s(t, a.env);
402
+ for (const o of x)
403
+ t = await o(t, a.env);
331
404
  return t;
332
405
  },
333
406
  (t) => {
334
- for (const s of w)
335
- s(t, a.env);
407
+ for (const o of R)
408
+ o(t, a.env);
336
409
  return Promise.reject(t);
337
410
  }
338
411
  );
339
412
  };
340
- a.addRequestInterceptor(ht, X);
341
- a.addResponseInterceptor(dt, X);
342
- const Y = (e, r) => {
413
+ a.addRequestInterceptor(Ct, q);
414
+ a.addResponseInterceptor(Et, q);
415
+ const K = (e, r) => {
343
416
  J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
344
- }, Ut = (e) => {
345
- Y("Authorization", e ? `Bearer ${e}` : null);
417
+ }, lo = (e) => {
418
+ K("Authorization", e ? `Bearer ${e}` : null);
346
419
  };
347
- a.CancelToken = $.CancelToken;
348
- a.isCancel = $.isCancel;
349
- a.setHeader = Y;
350
- a.setToken = Ut;
351
- let M = [];
352
- a.generateCancelTokenSource = () => a.CancelToken.source();
353
- a.addCancelToken = (e) => M = [e, ...M];
354
- a.resetCancelTokens = () => M = [];
355
- a.cancelRequests = () => {
356
- M.length && (M.forEach((e) => {
357
- e.cancel("Operation canceled due to new request");
358
- }), a.resetCancelTokens());
359
- };
360
- const Ht = {
420
+ a.CancelToken = w.CancelToken;
421
+ a.isCancel = w.isCancel;
422
+ a.setHeader = K;
423
+ a.setToken = lo;
424
+ const z = "Operation canceled due to new request";
425
+ function C() {
426
+ const e = /* @__PURE__ */ new Map();
427
+ return {
428
+ createToken(r) {
429
+ var o;
430
+ (o = e.get(r)) == null || o.cancel(z);
431
+ const t = a.CancelToken.source();
432
+ return e.set(r, t), t.token;
433
+ },
434
+ cancelAll() {
435
+ e.forEach((r) => r.cancel(z)), e.clear();
436
+ }
437
+ };
438
+ }
439
+ a.createRequestManager = C;
440
+ a.requestManager = C();
441
+ const jo = {
361
442
  mediaHub: {
362
443
  getAllMedia(e) {
363
444
  return a.get("/admin/media-hub", e);
@@ -381,8 +462,17 @@ const Ht = {
381
462
  focusCamera(e, r) {
382
463
  return a.post(`/admin/devices/${r}/${e}/focus`);
383
464
  },
384
- getStorageServers() {
385
- return a.get("/admin/storage/servers");
465
+ getStorageProviders(e, r) {
466
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
467
+ },
468
+ createStorageProvider(e, r) {
469
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
470
+ },
471
+ updateStorageProvider(e, r, t) {
472
+ return a.put(
473
+ `/admin/cameras/${e}/storage-providers/${r}`,
474
+ t
475
+ );
386
476
  },
387
477
  getStorageDetails() {
388
478
  return a.get("/admin/storage");
@@ -420,6 +510,9 @@ const Ht = {
420
510
  getCameraDetails(e) {
421
511
  return a.get(`/admin/cameras/${e}`);
422
512
  },
513
+ getCameraStatusLogs(e, r) {
514
+ return a.get(`/admin/cameras/${e}/health`, r);
515
+ },
423
516
  deleteSnapshots(e, r) {
424
517
  return a.delete(`admin/cameras/${e}/snapshots`, {
425
518
  params: r
@@ -452,7 +545,7 @@ const Ht = {
452
545
  }
453
546
  },
454
547
  companies: {
455
- show(e, r) {
548
+ show(e, r = {}) {
456
549
  return a.get(`/admin/companies/${e}`, r);
457
550
  },
458
551
  getCompanyUsers(e, r) {
@@ -475,9 +568,6 @@ const Ht = {
475
568
  },
476
569
  deleteCompany(e) {
477
570
  return a.delete("/admin/companies", { params: e });
478
- },
479
- reSyncCompanies(e) {
480
- return a.post("/admin/companies/resync", e);
481
571
  }
482
572
  },
483
573
  sso: {
@@ -494,6 +584,26 @@ const Ht = {
494
584
  return a.delete("/admin/sso-providers", { params: { ids: e } });
495
585
  }
496
586
  },
587
+ oauthClients: {
588
+ index() {
589
+ return a.get("/admin/oauth/clients");
590
+ },
591
+ show(e) {
592
+ return a.get(`/admin/oauth/clients/${e}`);
593
+ },
594
+ create(e) {
595
+ return a.post("/admin/oauth/clients", e);
596
+ },
597
+ update(e, r) {
598
+ return a.patch(`/admin/oauth/clients/${e}`, r);
599
+ },
600
+ delete(e) {
601
+ return a.delete(`/admin/oauth/clients/${e}`);
602
+ },
603
+ regenerateSecret(e) {
604
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
605
+ }
606
+ },
497
607
  emailing: {
498
608
  performEmailing(e, r) {
499
609
  return a.post(`/admin/mailing/${e}`, r);
@@ -512,14 +622,6 @@ const Ht = {
512
622
  addExtraction(e, r) {
513
623
  return a.post(`admin/cameras/${e}/extractions`, r);
514
624
  },
515
- getExtractionStatus(e, r, t) {
516
- return a.get(
517
- `admin/cameras/${e}/extractions/${r}`,
518
- {
519
- params: t
520
- }
521
- );
522
- },
523
625
  deleteSnapshotExtraction(e, r, t) {
524
626
  return a.delete(
525
627
  `admin/cameras/${e}/extractions/${r}`,
@@ -527,6 +629,30 @@ const Ht = {
527
629
  params: t
528
630
  }
529
631
  );
632
+ },
633
+ getExtraction(e, r) {
634
+ return a.get(
635
+ `admin/cameras/${e}/extractions/${r}`
636
+ );
637
+ },
638
+ reprocessExtraction(e, r) {
639
+ return a.post(
640
+ `admin/cameras/${e}/extractions/${r}/reprocess`
641
+ );
642
+ }
643
+ },
644
+ anprExtractions: {
645
+ list(e) {
646
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
647
+ },
648
+ create(e, r) {
649
+ return a.post(
650
+ `/admin/cameras/${e}/anpr/extractions`,
651
+ r
652
+ );
653
+ },
654
+ delete(e, r) {
655
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
530
656
  }
531
657
  },
532
658
  kits: {
@@ -549,12 +675,12 @@ const Ht = {
549
675
  kitId: e,
550
676
  metric: r,
551
677
  fromDate: t,
552
- toDate: s
678
+ toDate: o
553
679
  }) {
554
680
  return a.get(`/admin/kits/${e}/stats/${r}`, {
555
681
  params: {
556
682
  fromDate: t,
557
- toDate: s
683
+ toDate: o
558
684
  }
559
685
  });
560
686
  },
@@ -572,6 +698,15 @@ const Ht = {
572
698
  },
573
699
  getAlarms(e) {
574
700
  return a.get(`/admin/kits/${e}/alarms`);
701
+ },
702
+ getBoxes(e) {
703
+ return a.get("/admin/kit-boxes", e);
704
+ },
705
+ createBox(e) {
706
+ return a.post("/admin/kit-boxes", e);
707
+ },
708
+ updateBox(e, r) {
709
+ return a.patch(`/admin/kit-boxes/${e}`, r);
575
710
  }
576
711
  },
577
712
  logs: {
@@ -579,7 +714,9 @@ const Ht = {
579
714
  return a.get("/admin/cameras-logs", e);
580
715
  },
581
716
  getCameraLogs(e, r) {
582
- return a.get(`/admin/cameras/${e}/audit-logs`, r);
717
+ return a.get(`/admin/cameras/${e}/audit-logs`, {
718
+ params: r
719
+ });
583
720
  },
584
721
  togglePinNote(e) {
585
722
  return a.patch(`/admin/audit-logs/${e}/toggle-pin`);
@@ -647,6 +784,12 @@ const Ht = {
647
784
  },
648
785
  addToProject(e, r) {
649
786
  return a.post(`/admin/projects/${e}/add-cameras`, r);
787
+ },
788
+ getProjectStorages(e) {
789
+ return a.get("/admin/projects/storages", e);
790
+ },
791
+ retryProjectStorage(e) {
792
+ return a.post(`/admin/projects/storages/${e}/retry`);
650
793
  }
651
794
  },
652
795
  routers: {
@@ -700,26 +843,9 @@ const Ht = {
700
843
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
701
844
  }
702
845
  },
703
- shareRequests: {
704
- getShareRequests(e) {
705
- return a.get("/admin/camera-share-requests", e);
706
- },
707
- deleteShareRequest(e) {
708
- return a.delete("/admin/camera-share-requests", { params: e });
709
- },
710
- updateShareRequestStatus(e) {
711
- return a.patch("/admin/camera-share-requests", e);
712
- }
713
- },
714
846
  shares: {
715
- createShares(e, r) {
716
- return a.post(`/admin/cameras/${e}/shares`, r);
717
- },
718
- getShares(e) {
719
- return a.get("/admin/camera-shares", e);
720
- },
721
- deleteShares(e) {
722
- return a.delete("/admin/camera-shares", { params: e });
847
+ getInvites(e) {
848
+ return a.get("/admin/invites", e);
723
849
  }
724
850
  },
725
851
  sims: {
@@ -797,7 +923,7 @@ const Ht = {
797
923
  return a.put(`/admin/users/${e}/grant-admin`);
798
924
  },
799
925
  deleteUser(e, r) {
800
- return a.post(`/users/${e}/delete`, r);
926
+ return a.delete(`/admin/users/${e}`, { params: r });
801
927
  },
802
928
  impersonateUser(e) {
803
929
  return a.post(`/admin/users/${e}/impersonate`);
@@ -805,7 +931,7 @@ const Ht = {
805
931
  getUsers(e) {
806
932
  return a.get("/admin/users", e);
807
933
  },
808
- show(e, r) {
934
+ show(e, r = {}) {
809
935
  return a.get(
810
936
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
811
937
  );
@@ -846,410 +972,875 @@ const Ht = {
846
972
  index(e) {
847
973
  return a.get("/admin/comments", e);
848
974
  }
975
+ },
976
+ snapshotTransfers: {
977
+ index(e) {
978
+ return a.get("/admin/snapshot-transfers", e);
979
+ },
980
+ cancel(e) {
981
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
982
+ }
849
983
  }
850
- }, Ft = {
851
- presets: {
852
- getProjectPresets(e, r) {
853
- const t = btoa(e);
984
+ }, Uo = {
985
+ list(e = {}) {
986
+ return a.get("/video-walls", { params: e });
987
+ },
988
+ create(e) {
989
+ return a.post("/video-walls", {
990
+ source: "default",
991
+ ...e
992
+ });
993
+ },
994
+ get(e) {
995
+ return a.get(`/video-walls/${e}`);
996
+ },
997
+ update(e, r) {
998
+ return a.put(`/video-walls/${e}`, {
999
+ source: "default",
1000
+ ...r
1001
+ });
1002
+ },
1003
+ delete(e) {
1004
+ return a.delete(`/video-walls/${e}`);
1005
+ }
1006
+ }, n = () => a.env.firebaseDbLink, go = () => a.env.firebaseStorageUrl, po = () => a.env.firebaseStorageToken, mo = () => a.env.forgeTokenServerUrl, s = { skipAuth: !0, preserveCasing: !0 }, Bo = {
1007
+ drone: {
1008
+ getProjectInfo(e) {
854
1009
  return a.get(
855
- `${a.env.firebaseVideowallUrl}/${t}/presets/${r}.json`,
856
- {
857
- transformRequest: (s, i) => (delete i.common.Authorization, s)
858
- }
1010
+ `${n()}data/projects/cesium/${e}.json`,
1011
+ s
1012
+ );
1013
+ },
1014
+ getProjectTags(e) {
1015
+ return a.get(
1016
+ `${n()}data/projects/cesium/${e}/transform/tags.json`,
1017
+ s
859
1018
  );
860
1019
  },
861
- saveProjectPreset(e, r, t) {
862
- const s = JSON.stringify({ configuration: t.configuration }), i = t.name, n = btoa(e);
1020
+ patchTags({
1021
+ projectId: e,
1022
+ tags: r
1023
+ }) {
863
1024
  return a.patch(
864
- `${a.env.firebaseVideowallUrl}/${n}/presets/${r}/${i}.json`,
865
- s,
866
- {
867
- transformRequest: (l, p) => (delete p.common.Authorization, l)
868
- }
1025
+ `${n()}data/projects/cesium/${e}/transform/tags.json`,
1026
+ r,
1027
+ s
869
1028
  );
870
1029
  },
871
- getGlobalPreset(e) {
872
- const r = btoa(e);
873
- return a.get(
874
- `${a.env.firebaseVideowallUrl}/${r}/presets/global.json`,
875
- {
876
- transformRequest: (t, s) => (delete s.common.Authorization, t)
877
- }
1030
+ saveMarkers({
1031
+ projectId: e,
1032
+ markers: r
1033
+ }) {
1034
+ return a.put(
1035
+ `${n()}data/projects/cesium/${e}/transform/markers.json`,
1036
+ r,
1037
+ s
878
1038
  );
879
1039
  },
880
- saveGlobalPreset(e, r) {
881
- const t = JSON.stringify({ configuration: r.configuration }), s = btoa(e);
1040
+ patchTransform({
1041
+ projectId: e,
1042
+ data: r
1043
+ }) {
882
1044
  return a.patch(
883
- `${a.env.firebaseVideowallUrl}/${s}/presets/global.json`,
884
- t,
885
- {
886
- transformRequest: (i, n) => (delete n.common.Authorization, i)
887
- }
1045
+ `${n()}data/projects/cesium/${e}/transform.json`,
1046
+ r,
1047
+ s
888
1048
  );
889
- }
890
- }
891
- }, b = () => a.env.firebaseDbLink, _t = () => a.env.firebaseStorageUrl, Dt = () => a.env.firebaseStorageToken, zt = {
892
- drone: {
893
- getProjectInfo(e) {
894
- return fetch(
895
- `${b()}data/projects/cesium/${e}.json`
896
- ).then((r) => r.json());
897
- }
898
- },
899
- _360: {
900
- getProjectInfo(e) {
901
- return fetch(
902
- `${b()}data/projects/360/${e}.json`
903
- ).then((r) => r.json());
904
- },
905
- updateFloor(e, r, t, s) {
906
- return fetch(
907
- `${b()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
908
- {
909
- method: "PATCH",
910
- body: JSON.stringify(s)
911
- }
912
- ).then((i) => i.json());
913
1049
  },
914
- updateRoute(e, r, t, s) {
915
- return fetch(
916
- `${b()}360/${e}/${r}/${t}/route.json`,
917
- {
918
- method: "PATCH",
919
- body: JSON.stringify(s)
920
- }
921
- ).then((i) => i.json());
1050
+ saveTerrainPoints({
1051
+ projectId: e,
1052
+ dateId: r,
1053
+ points: t
1054
+ }) {
1055
+ return a.put(
1056
+ `${n()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1057
+ t,
1058
+ s
1059
+ );
922
1060
  },
923
- async updateFeatureFlag(e, r, t, s, i) {
924
- return fetch(
925
- `${b()}360/${e}/${r}/${t}/${s}.json`,
926
- {
927
- method: "PUT",
928
- body: JSON.stringify(i)
929
- }
930
- ).then((n) => n.json());
1061
+ patchImageryPlan({
1062
+ projectId: e,
1063
+ plan: r
1064
+ }) {
1065
+ return a.patch(
1066
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1067
+ r,
1068
+ s
1069
+ );
931
1070
  },
932
- async saveSteps(e, r, t, s) {
933
- return fetch(
934
- `${b()}360/${e}/${r}/${t}/steps.json`,
935
- {
936
- method: "PUT",
937
- body: JSON.stringify(s)
938
- }
939
- ).then((i) => i.json());
1071
+ deleteImageryPlan({
1072
+ projectId: e,
1073
+ uuid: r
1074
+ }) {
1075
+ return a.delete(
1076
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1077
+ s
1078
+ );
940
1079
  },
941
- updateGPXFile(e, r, t, s) {
942
- const i = new Blob([s], { type: "application/gpx+xml" }), n = new FormData();
943
- return n.append("gpxFile", i, "updated-track.gpx"), fetch(
944
- `${_t() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Dt()}`,
945
- {
946
- method: "POST",
947
- body: n
948
- }
1080
+ saveImageryPlans({
1081
+ projectId: e,
1082
+ plans: r
1083
+ }) {
1084
+ return a.put(
1085
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1086
+ r,
1087
+ s
949
1088
  );
950
- }
951
- },
952
- forge: {
953
- async getProjectInfo(e) {
954
- return fetch(
955
- `${b()}data/projects/forge/${e}.json`
956
- ).then((r) => r.json());
957
- }
958
- }
959
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
960
- if (Object.keys(e).length === 0)
961
- return;
962
- let s = { ...e };
963
- return r && (s = f.decamelizeKeys(e)), Object.entries(s).reduce((i, [n, l], p) => {
964
- let T = "";
965
- return ["", null, void 0].includes(l) || Array.isArray(l) && l.length === 0 ? i : (l && typeof l == "object" ? T = Object.entries(l).reduce((U, [P, _], D) => {
966
- let k = n;
967
- return isNaN(Number.parseInt(P)) ? k = `${n}[${P}]` : Array.isArray(l) && t && (k = `${n}[]`), `${U}${D > 0 ? "&" : ""}${k}=${encodeURIComponent(_)}`;
968
- }, "") : T = `${n}=${encodeURIComponent(
969
- l
970
- )}`, `${i}${p > 0 ? "&" : ""}${T}`);
971
- }, "");
972
- };
973
- function Bt(e = "") {
974
- return [
975
- ...new URLSearchParams(
976
- e.indexOf("#") > -1 ? e.split("#")[0] : e
977
- ).entries()
978
- ].filter(([, t]) => t).reduce((t, [s, i]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: i } : t[s] ? {
979
- ...t,
980
- [s]: [...t[s], i]
981
- } : { ...t, [s]: [i] }, {});
982
- }
983
- const o = () => a.env.aiApiUrl, Wt = {
984
- analyticsParameters: {
985
- getParameters(e, r = {}) {
1089
+ },
1090
+ getBlackListIds(e) {
986
1091
  return a.get(
987
- `${o()}/cameras/${e}/analytics-parameters`,
988
- {
989
- params: r
990
- }
1092
+ `${n()}data/projects/cesium/${e}/transform/blackListIds.json`,
1093
+ s
991
1094
  );
992
1095
  },
993
- createParameters(e) {
994
- return a.post(`${o()}/cameras/analytics-parameters`, e);
1096
+ saveBlackListIds({
1097
+ projectId: e,
1098
+ ids: r
1099
+ }) {
1100
+ return a.put(
1101
+ `${n()}data/projects/cesium/${e}/transform/blackListIds.json`,
1102
+ r,
1103
+ s
1104
+ );
995
1105
  },
996
- updateParameters({
997
- updatedBy: e,
998
- id: r,
999
- ...t
1106
+ saveModel({
1107
+ projectId: e,
1108
+ model: r
1000
1109
  }) {
1001
- return a.patch(
1002
- `${o()}/cameras/analytics-parameters/${r}?${g({
1003
- updatedBy: e
1004
- })}`,
1005
- t
1110
+ const { trueIndex: t, ...o } = r;
1111
+ return a.put(
1112
+ `${n()}data/projects/cesium/${e}/models/${t}.json`,
1113
+ o,
1114
+ s
1006
1115
  );
1007
- }
1008
- },
1009
- anpr: {
1010
- exportAnprLegacyEvents(e, r) {
1011
- return a({
1012
- url: `${o()}/projects/${e}/anpr/export?${g(
1013
- r
1014
- )}`,
1015
- method: "GET",
1016
- responseType: "blob"
1017
- });
1018
1116
  },
1019
- getAnprEvents(e, r, t = {}) {
1020
- return a.get(
1021
- `${o()}/projects/${e}/anpr?${g(
1022
- r
1023
- )}`,
1024
- t
1117
+ saveModels({
1118
+ projectId: e,
1119
+ models: r
1120
+ }) {
1121
+ return a.put(
1122
+ `${n()}data/projects/cesium/${e}/models.json`,
1123
+ r,
1124
+ s
1025
1125
  );
1026
1126
  },
1027
- getAnprCounts(e, r, t) {
1028
- return a.get(
1029
- `${o()}/projects/${e}/anpr/counts?${g(
1030
- r
1031
- )}`,
1032
- t
1127
+ saveBimData({
1128
+ projectId: e,
1129
+ data: r
1130
+ }) {
1131
+ return a.put(
1132
+ `${n()}data/projects/cesium/${e}/transform/bimData.json`,
1133
+ r,
1134
+ s
1033
1135
  );
1034
1136
  },
1035
- updateAnprEvent(e, r) {
1036
- return a.patch(`${o()}/projects/anpr/${e}`, {
1037
- ...r
1038
- });
1137
+ getBimTransparencyFlag(e) {
1138
+ return a.get(
1139
+ `${n()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1140
+ s
1141
+ );
1039
1142
  },
1040
- bulkUpdateAnprRecords(e, r) {
1143
+ saveCameraTransform({
1144
+ projectId: e,
1145
+ isScene3D: r,
1146
+ transform: t
1147
+ }) {
1041
1148
  return a.patch(
1042
- `${o()}/projects/anpr/update/status?${g({
1043
- anprEventsIds: e,
1044
- action: r
1045
- })}`
1149
+ `${n()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1150
+ t,
1151
+ s
1046
1152
  );
1047
- },
1048
- exportAnprEvents(e, r) {
1049
- return a({
1050
- url: `${o()}/projects/${e}/anpr/events/export?${g(
1051
- r
1052
- )}`,
1053
- method: "GET",
1054
- responseType: "blob"
1055
- });
1056
1153
  }
1057
1154
  },
1058
- gateReport: {
1059
- getLastVerified(e) {
1155
+ _360: {
1156
+ getProjectInfo(e, r = { config: {} }) {
1060
1157
  return a.get(
1061
- `${o()}/projects/gate-report/last-verified`,
1062
- e
1158
+ `${n()}data/projects/360/${e}.json`,
1159
+ {
1160
+ ...r.config,
1161
+ ...s
1162
+ }
1063
1163
  );
1064
1164
  },
1065
- deleteEvent(e, r) {
1066
- return a.delete(
1067
- `${o()}/projects/events/${e}?${g(r)}`
1165
+ getProjectsList() {
1166
+ return a.get(
1167
+ `${n()}data/360-list.json`,
1168
+ s
1068
1169
  );
1069
1170
  },
1070
- dismissEvents(e) {
1071
- return a.delete(
1072
- `${o()}/projects/events?${g(e)}`
1171
+ updateProjectsList(e) {
1172
+ return a.put(
1173
+ `${n()}data/360-list.json`,
1174
+ e,
1175
+ s
1073
1176
  );
1074
1177
  },
1075
- exportEvents(e, r) {
1076
- return a({
1077
- url: `${o()}/projects/${e}/gate-report/events/export?${g(
1078
- r
1079
- )}`,
1080
- method: "GET",
1081
- responseType: "blob"
1082
- });
1178
+ updateProjectsListItem(e, r) {
1179
+ return a.put(
1180
+ `${n()}data/360-list/${e}.json`,
1181
+ r,
1182
+ s
1183
+ );
1083
1184
  },
1084
- exportEventsProgress(e, r) {
1085
- return a.get(
1086
- `${o()}/projects/${e}/gate-report/events/export/progress?${g(
1087
- r
1088
- )}`
1185
+ deleteProject(e) {
1186
+ return a.delete(
1187
+ `${n()}data/projects/360/${e}.json`,
1188
+ s
1089
1189
  );
1090
1190
  },
1091
- generateAnprThumbnail(e, r) {
1092
- return a.post(
1093
- `${o()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1094
- {},
1095
- {
1096
- headers: {
1097
- "Content-Type": "application/json"
1098
- }
1099
- }
1191
+ updateProjectInfo(e, r) {
1192
+ return a.patch(
1193
+ `${n()}data/projects/360/${e}.json`,
1194
+ r,
1195
+ s
1100
1196
  );
1101
1197
  },
1102
- getAllEvents(e, r, t) {
1103
- return r.vehicleTypes || (r.vehicleTypes = V), r.truckTypes || (r.vehicleTypes = V), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1104
- `${o()}/projects/${e}/events?${g(
1105
- r
1106
- )}`,
1107
- t
1198
+ updateFloor(e, r, t, o) {
1199
+ return a.patch(
1200
+ `${n()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1201
+ o,
1202
+ s
1108
1203
  );
1109
1204
  },
1110
- getEventCounts(e, r = {}, t) {
1111
- return r.vehicleTypes || (r.vehicleTypes = V), a.get(
1112
- `${o()}/projects/${e}/project-stats?${g(
1113
- r
1114
- )}`,
1205
+ getFloor({
1206
+ projectId: e,
1207
+ dateId: r,
1208
+ floorId: t
1209
+ }) {
1210
+ return a.get(
1211
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1212
+ s
1213
+ );
1214
+ },
1215
+ getAerialShotsFloor({
1216
+ projectId: e,
1217
+ dateId: r,
1218
+ floorId: t
1219
+ }) {
1220
+ return a.get(
1221
+ `${n()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1222
+ s
1223
+ );
1224
+ },
1225
+ update3DMarkers({
1226
+ projectId: e,
1227
+ dateId: r,
1228
+ floorId: t,
1229
+ markers: o
1230
+ }) {
1231
+ return a.put(
1232
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1233
+ o,
1234
+ s
1235
+ );
1236
+ },
1237
+ updateFloors({
1238
+ projectId: e,
1239
+ dateId: r,
1240
+ floors: t
1241
+ }) {
1242
+ return a.put(
1243
+ `${n()}data/projects/360/${e}/dates/${r}/floors.json`,
1244
+ t,
1245
+ s
1246
+ );
1247
+ },
1248
+ deleteFloor({
1249
+ projectId: e,
1250
+ dateId: r,
1251
+ floorId: t
1252
+ }) {
1253
+ return a.delete(
1254
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1255
+ s
1256
+ );
1257
+ },
1258
+ updateDates(e, r) {
1259
+ return a.put(
1260
+ `${n()}data/projects/360/${e}/dates.json`,
1261
+ r,
1262
+ s
1263
+ );
1264
+ },
1265
+ updatePins({
1266
+ projectId: e,
1267
+ dateId: r,
1268
+ floorId: t,
1269
+ pins: o
1270
+ }) {
1271
+ return a.put(
1272
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1273
+ o,
1274
+ s
1275
+ );
1276
+ },
1277
+ getGPXText(e) {
1278
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1279
+ ...s,
1280
+ responseType: "text"
1281
+ }) : Promise.resolve("");
1282
+ },
1283
+ updateRoute(e, r, t, o) {
1284
+ return a.patch(
1285
+ `${n()}data/projects/360/${e}/${r}/${t}/route.json`,
1286
+ o,
1287
+ s
1288
+ );
1289
+ },
1290
+ async updateFeatureFlag(e, r, t, o, i) {
1291
+ return a.put(
1292
+ `${n()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1293
+ i,
1115
1294
  {
1116
- ...t || {}
1295
+ ...s,
1296
+ transformRequest: [(g) => JSON.stringify(g)]
1117
1297
  }
1118
1298
  );
1119
1299
  },
1120
- getVerifiedDays(e, r, t = {}) {
1300
+ async saveSteps(e, r, t, o) {
1301
+ return a.put(
1302
+ `${n()}data/projects/360/${e}/${r}/${t}/steps.json`,
1303
+ o,
1304
+ s
1305
+ );
1306
+ },
1307
+ getDates({
1308
+ projectID: e,
1309
+ prefix: r = ""
1310
+ }) {
1121
1311
  return a.get(
1122
- `${o()}/projects/${e}/gate-report/verified-days?${g(
1123
- r
1124
- )}`,
1125
- t
1312
+ `${n()}data/projects/360/${e}/${r}dates.json`,
1313
+ s
1126
1314
  );
1127
1315
  },
1128
- updateEventById(e, {
1129
- updatedBy: r,
1130
- payload: t
1316
+ getFloorData({
1317
+ projectID: e,
1318
+ dateID: r,
1319
+ floorID: t,
1320
+ prefix: o = ""
1321
+ }) {
1322
+ return a.get(
1323
+ `${n()}data/projects/360/${e}/${o}${r}/${t}.json`,
1324
+ s
1325
+ );
1326
+ },
1327
+ patchFloor({
1328
+ projectID: e,
1329
+ dateID: r,
1330
+ floorID: t,
1331
+ body: o
1131
1332
  }) {
1132
1333
  return a.patch(
1133
- `${o()}/projects/events/${e}?${g({
1134
- updatedBy: r
1135
- })}`,
1136
- t
1334
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1335
+ o,
1336
+ s
1137
1337
  );
1138
1338
  },
1139
- verifyDay(e) {
1140
- return a.post(
1141
- `${o()}/projects/gate-report/verified-days`,
1142
- e
1339
+ deleteMarkers({ projectID: e, dateID: r, floorID: t }) {
1340
+ return a.delete(
1341
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1342
+ s
1143
1343
  );
1144
1344
  },
1145
- regenerateThumbnail(e, r) {
1345
+ patchMarkers({
1346
+ projectID: e,
1347
+ dateID: r,
1348
+ floorID: t,
1349
+ markers: o
1350
+ }) {
1351
+ return a.patch(
1352
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1353
+ o,
1354
+ s
1355
+ );
1356
+ },
1357
+ putMarkers({
1358
+ projectID: e,
1359
+ dateID: r,
1360
+ floorID: t,
1361
+ markers: o
1362
+ }) {
1146
1363
  return a.put(
1147
- `${o()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1148
- r
1149
- )}`,
1364
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1365
+ o,
1366
+ s
1367
+ );
1368
+ },
1369
+ putFloors({
1370
+ projectID: e,
1371
+ dateID: r,
1372
+ floors: t
1373
+ }) {
1374
+ return a.put(
1375
+ `${n()}data/projects/360/${e}/dates/${r}/floors.json`,
1376
+ t,
1377
+ s
1378
+ );
1379
+ },
1380
+ deleteFloorData({
1381
+ projectID: e,
1382
+ dateID: r,
1383
+ floorID: t
1384
+ }) {
1385
+ return a.delete(
1386
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1387
+ s
1388
+ );
1389
+ },
1390
+ putDates({
1391
+ projectID: e,
1392
+ dates: r
1393
+ }) {
1394
+ return a.put(
1395
+ `${n()}data/projects/360/${e}/dates.json`,
1396
+ r,
1397
+ s
1398
+ );
1399
+ },
1400
+ deleteDate({
1401
+ projectID: e,
1402
+ dateID: r
1403
+ }) {
1404
+ return a.delete(
1405
+ `${n()}data/projects/360/${e}/${r}.json`,
1406
+ s
1407
+ );
1408
+ },
1409
+ getPins({
1410
+ projectID: e,
1411
+ dateID: r,
1412
+ floorID: t
1413
+ }) {
1414
+ return a.get(
1415
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1416
+ s
1417
+ );
1418
+ },
1419
+ putPins({
1420
+ projectID: e,
1421
+ dateID: r,
1422
+ floorID: t,
1423
+ pins: o
1424
+ }) {
1425
+ return a.put(
1426
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1427
+ o,
1428
+ s
1429
+ );
1430
+ },
1431
+ patchCalibrationDetails({
1432
+ projectID: e,
1433
+ dateID: r,
1434
+ floorID: t,
1435
+ details: o
1436
+ }) {
1437
+ return a.patch(
1438
+ `${n()}data/projects/360/${e}/${r}/${t}/calibrationDetails.json`,
1439
+ o,
1440
+ s
1441
+ );
1442
+ },
1443
+ getDateWalks(e, r) {
1444
+ return a.get(
1445
+ `${n()}data/projects/360/${e}/${r}.json`,
1446
+ s
1447
+ );
1448
+ },
1449
+ getRoute({
1450
+ projectID: e,
1451
+ dateID: r,
1452
+ floorID: t
1453
+ }) {
1454
+ return a.get(
1455
+ `${n()}data/projects/360/${e}/${r}/${t}/route.json`,
1456
+ s
1457
+ );
1458
+ },
1459
+ getAerialShotDate({
1460
+ projectID: e,
1461
+ dateID: r
1462
+ }) {
1463
+ return a.get(
1464
+ `${n()}data/projects/360/${e}/aerial-shots/dates/${r}/date.json`,
1465
+ s
1466
+ );
1467
+ },
1468
+ updateGPXFile(e, r, t, o) {
1469
+ const i = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1470
+ return g.append("gpxFile", i, "updated-track.gpx"), a.post(
1471
+ `${go() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${po()}`,
1472
+ g,
1150
1473
  {
1151
- method: "PUT"
1474
+ ...s,
1475
+ headers: { "Content-Type": "multipart/form-data" }
1152
1476
  }
1153
1477
  );
1154
1478
  },
1155
- getDailyStatus(e, r = {}) {
1479
+ getProjectDates(e) {
1156
1480
  return a.get(
1157
- `${o()}/projects/${e}/processed-days`,
1158
- { params: r }
1481
+ `${n()}data/projects/360/${e}/dates.json`,
1482
+ s
1159
1483
  );
1160
1484
  },
1161
- getEventThumbnail({
1162
- cameraExid: e,
1163
- eventType: r,
1164
- eventTime: t,
1165
- token: s
1485
+ getProjectAerialShotsDates(e) {
1486
+ return a.get(
1487
+ `${n()}data/projects/360/${e}/aerial-shots/dates.json`,
1488
+ s
1489
+ );
1490
+ },
1491
+ getProjectDateFloors({
1492
+ projectId: e,
1493
+ dateId: r,
1494
+ prefix: t = ""
1166
1495
  }) {
1167
- return `${o()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1496
+ return a.get(
1497
+ `${n()}data/projects/360/${e}/${t}${r}.json`,
1498
+ s
1499
+ );
1500
+ }
1501
+ },
1502
+ forge: {
1503
+ getAccessToken() {
1504
+ return a.get(mo(), s);
1168
1505
  },
1169
- getEventSnapshot({
1170
- cameraExid: e,
1171
- eventType: r,
1172
- eventTime: t,
1173
- token: s
1506
+ getProjectInfo(e) {
1507
+ return a.get(
1508
+ `${n()}data/projects/forge/${e}.json`,
1509
+ s
1510
+ );
1511
+ },
1512
+ saveSavedView(e, r) {
1513
+ return a.put(
1514
+ `${n()}data/projects/forge/${e}/savedView.json`,
1515
+ r,
1516
+ s
1517
+ );
1518
+ },
1519
+ saveMarkers(e, r) {
1520
+ return a.put(
1521
+ `${n()}data/projects/forge/${e}/markers.json`,
1522
+ r,
1523
+ s
1524
+ );
1525
+ },
1526
+ getForgeProject({
1527
+ projectID: e
1174
1528
  }) {
1175
- return `${o()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1529
+ return a.get(
1530
+ `${n()}data/projects/forge/${e}.json`,
1531
+ s
1532
+ );
1533
+ }
1534
+ },
1535
+ itwin: {
1536
+ getProjectInfo(e) {
1537
+ return a.get(
1538
+ `${n()}data/projects/itwin/${e}.json`,
1539
+ s
1540
+ );
1176
1541
  },
1177
- getEvents(e, r, t = {}) {
1542
+ clearBimCompare(e) {
1543
+ return a.delete(
1544
+ `${n()}data/projects/itwin/${e}/bim-compare.json`,
1545
+ s
1546
+ );
1547
+ },
1548
+ clearSiteView(e, r) {
1549
+ return a.delete(
1550
+ `${n()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1551
+ s
1552
+ );
1553
+ }
1554
+ },
1555
+ siteView: {
1556
+ getCamerasList() {
1557
+ return a.get(
1558
+ `${n()}data/cameras-list.json`,
1559
+ s
1560
+ );
1561
+ },
1562
+ updateCamerasList(e) {
1563
+ return a.put(
1564
+ `${n()}data/cameras-list.json`,
1565
+ e,
1566
+ s
1567
+ );
1568
+ },
1569
+ updateCamerasListItem(e, r) {
1570
+ return a.put(
1571
+ `${n()}data/cameras-list/${e}.json`,
1572
+ r,
1573
+ s
1574
+ );
1575
+ },
1576
+ updateProjectData({
1577
+ viewerType: e,
1578
+ projectId: r,
1579
+ data: t
1580
+ }) {
1581
+ const o = e.toLowerCase();
1582
+ return a.patch(
1583
+ `${n()}data/projects/${o}/${r}.json`,
1584
+ t,
1585
+ s
1586
+ );
1587
+ },
1588
+ deleteProjectData(e, r) {
1589
+ const t = e.toLowerCase();
1590
+ return a.delete(
1591
+ `${n()}data/projects/${t}/${r}.json`,
1592
+ s
1593
+ );
1594
+ },
1595
+ readAllData(e) {
1596
+ return a.get(`${e}data.json`, s);
1597
+ },
1598
+ writeAllData(e, r) {
1599
+ return a.put(`${e}data.json`, r, s);
1600
+ }
1601
+ },
1602
+ map: {
1603
+ getMapViews(e) {
1604
+ return a.get(
1605
+ `${n()}data/projects/maps/${e}.json`,
1606
+ s
1607
+ );
1608
+ },
1609
+ updateMapViews(e, r) {
1610
+ return a.put(
1611
+ `${n()}data/projects/maps/${e}.json`,
1612
+ r,
1613
+ s
1614
+ );
1615
+ }
1616
+ },
1617
+ safety: {
1618
+ getTPulseLink(e) {
1619
+ return a.get(
1620
+ `${n()}data/projects/safety/${e}.json`,
1621
+ s
1622
+ );
1623
+ },
1624
+ updateTPulseLink(e, r) {
1625
+ return a.put(
1626
+ `${n()}data/projects/safety/${e}.json`,
1627
+ { link: r },
1628
+ s
1629
+ );
1630
+ }
1631
+ },
1632
+ planner: {
1633
+ getPlannerList() {
1634
+ return a.get(`${n()}data/planner-list.json`, {
1635
+ ...s
1636
+ });
1637
+ },
1638
+ getPlannerItem(e) {
1639
+ return a.get(
1640
+ `${n()}data/planner-list/${e}.json`,
1641
+ s
1642
+ );
1643
+ },
1644
+ saveSitePlanMetaData(e, r) {
1645
+ return a.put(
1646
+ `${n()}data/planner-list/${e}.json`,
1647
+ r,
1648
+ s
1649
+ );
1650
+ },
1651
+ getSitePlan(e) {
1652
+ return a.get(
1653
+ `${n()}data/projects/planner/${e}.json`,
1654
+ s
1655
+ );
1656
+ },
1657
+ saveSitePlan(e, r) {
1658
+ return a.put(
1659
+ `${n()}data/projects/planner/${e}.json`,
1660
+ r,
1661
+ s
1662
+ );
1663
+ }
1664
+ }
1665
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1666
+ if (Object.keys(e).length === 0)
1667
+ return;
1668
+ let o = { ...e };
1669
+ return r && (o = D.decamelizeKeys(e)), Object.entries(o).reduce((i, [g, p], d) => {
1670
+ let h = "";
1671
+ return ["", null, void 0].includes(p) || Array.isArray(p) && p.length === 0 ? i : (p && typeof p == "object" ? h = Object.entries(p).reduce((M, [P, j], U) => {
1672
+ let f = g;
1673
+ return isNaN(Number.parseInt(P)) ? f = `${g}[${P}]` : Array.isArray(p) && t && (f = `${g}[]`), `${M}${U > 0 ? "&" : ""}${f}=${encodeURIComponent(j)}`;
1674
+ }, "") : h = `${g}=${encodeURIComponent(
1675
+ p
1676
+ )}`, `${i}${d > 0 ? "&" : ""}${h}`);
1677
+ }, "");
1678
+ };
1679
+ function co(e = "") {
1680
+ return [
1681
+ ...new URLSearchParams(
1682
+ e.indexOf("#") > -1 ? e.split("#")[0] : e
1683
+ ).entries()
1684
+ ].filter(([, t]) => t).reduce((t, [o, i]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: i } : t[o] ? {
1685
+ ...t,
1686
+ [o]: [...t[o], i]
1687
+ } : { ...t, [o]: [i] }, {});
1688
+ }
1689
+ const L = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, Fo = {
1690
+ anpr: {
1691
+ exportAnprLegacyEvents(e, r) {
1692
+ return a({
1693
+ url: `${L()}/projects/${e}/anpr/export?${u(
1694
+ r
1695
+ )}`,
1696
+ method: "GET",
1697
+ responseType: "blob"
1698
+ });
1699
+ },
1700
+ getAnprEvents(e, r, t = {}) {
1178
1701
  return a.get(
1179
- `${o()}/projects/${e}/gate-report/events?${g(
1702
+ `${l()}/projects/${e}/anpr?${u(
1180
1703
  r
1181
1704
  )}`,
1182
1705
  t
1183
1706
  );
1184
1707
  },
1185
- getCounts(e, r = {}, t = {}) {
1708
+ getAnprCounts(e, r, t) {
1186
1709
  return a.get(
1187
- `${o()}/projects/${e}/gate-report/counts?${g(
1710
+ `${l()}/projects/${e}/anpr/counts?${u(
1188
1711
  r
1189
1712
  )}`,
1190
1713
  t
1191
1714
  );
1192
1715
  },
1193
- getGateReportApplications(e, r) {
1716
+ updateAnprEvent(e, r) {
1717
+ return a.patch(`${l()}/anpr/${e}`, r);
1718
+ },
1719
+ bulkUpdateAnprRecords(e) {
1720
+ return a.patch(`${l()}/anpr/status`, e);
1721
+ },
1722
+ exportAnprEvents(e, r) {
1723
+ return a({
1724
+ url: `${l()}/projects/${e}/anpr/events/export?${u(
1725
+ r
1726
+ )}`,
1727
+ method: "GET",
1728
+ responseType: "blob"
1729
+ });
1730
+ }
1731
+ },
1732
+ gateReport: {
1733
+ exportEvents(e, r) {
1734
+ return a({
1735
+ url: `${l()}/projects/${e}/gate-report/events/export?${u(
1736
+ r
1737
+ )}`,
1738
+ method: "GET",
1739
+ responseType: "blob"
1740
+ });
1741
+ },
1742
+ exportEventsProgress(e, r) {
1194
1743
  return a.get(
1195
- `${o()}/projects/${e}/cameras/${r}/gate-report/apps`
1744
+ `${L()}/projects/${e}/gate-report/events/export/progress?${u(
1745
+ r
1746
+ )}`
1196
1747
  );
1197
1748
  },
1198
- getGateReportProjectsInfos(e) {
1749
+ generateAnprThumbnail(e, r) {
1750
+ return a.post(
1751
+ `${l()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1752
+ {},
1753
+ {
1754
+ headers: {
1755
+ "Content-Type": "application/json"
1756
+ }
1757
+ }
1758
+ );
1759
+ },
1760
+ getVerifiedDays(e, r, t = {}) {
1199
1761
  return a.get(
1200
- `${o()}/projects/gate-report/get-projects-info`,
1762
+ `${l()}/projects/${e}/gate-report/verified-days?${u(
1763
+ r
1764
+ )}`,
1765
+ t
1766
+ );
1767
+ },
1768
+ verifyDay(e) {
1769
+ return a.post(
1770
+ `${l()}/projects/gate-report/verified-days`,
1201
1771
  e
1202
1772
  );
1773
+ },
1774
+ getDailyStatus(e, r = {}) {
1775
+ return a.get(
1776
+ `${l()}/projects/${e}/gate-report/processed-days`,
1777
+ { params: r }
1778
+ );
1779
+ },
1780
+ getEvents(e, r, t = {}) {
1781
+ return a.get(
1782
+ `${l()}/projects/${e}/gate-report/events?${u(
1783
+ r
1784
+ )}`,
1785
+ t
1786
+ );
1787
+ },
1788
+ getCounts(e, r = {}, t = {}) {
1789
+ return a.get(
1790
+ `${l()}/projects/${e}/gate-report/counts?${u(
1791
+ r
1792
+ )}`,
1793
+ t
1794
+ );
1203
1795
  }
1204
1796
  },
1205
1797
  brainTool: {
1206
1798
  getObjectDetectionsResults(e = {}) {
1207
- return a.post(`${o()}/ai-models/object-detection`, e);
1208
- },
1209
- getSegments(e = {}) {
1210
- return a.post(`${o()}/ai-models/segment`, e);
1799
+ return a.post(
1800
+ `${l()}/ai-models/object-detection`,
1801
+ e
1802
+ );
1211
1803
  }
1212
1804
  },
1213
1805
  roi: {
1214
1806
  getROIs(e, r = {}) {
1215
1807
  return a.get(
1216
- `${o()}/projects/${e}/rois?${g(r)}`
1808
+ `${l()}/projects/${e}/rois?${u(
1809
+ r
1810
+ )}`
1217
1811
  );
1218
1812
  },
1813
+ listROIs(e = {}) {
1814
+ return a.get(`${l()}/rois?${u(e)}`);
1815
+ },
1219
1816
  createROI(e) {
1220
- return a.post(`${o()}/projects/rois`, e);
1817
+ return a.post(`${l()}/rois`, e);
1221
1818
  },
1222
1819
  updateROI({
1223
1820
  updatedBy: e,
1224
- roi: r
1821
+ id: r,
1822
+ ...t
1225
1823
  }) {
1226
1824
  return a.patch(
1227
- `${o()}/projects/rois/${r.id}?${g({
1825
+ `${l()}/rois/${r}?${u({
1228
1826
  updatedBy: e
1229
1827
  })}`,
1230
- r
1828
+ t
1231
1829
  );
1232
1830
  },
1233
1831
  deleteROI({ id: e, updatedBy: r }) {
1234
1832
  return a.patch(
1235
- `${o()}/projects/rois/${e}?${g({
1833
+ `${l()}/rois/${e}?${u({
1236
1834
  updatedBy: r
1237
1835
  })}`,
1238
- { isactive: !1, note: "delete roi" }
1836
+ { isActive: !1, note: "delete roi" }
1239
1837
  );
1240
1838
  }
1241
1839
  },
1242
1840
  detections: {
1243
- async getDetections({ projectExid: e, ...r }) {
1244
- return a.get(
1245
- `${o()}/projects/${e}/detections?${g(
1246
- r
1247
- )}`
1248
- );
1249
- },
1250
1841
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1251
1842
  return a.get(
1252
- `${o()}/projects/${e}/detections/counts?${g(
1843
+ `${l()}/projects/${e}/trackings/counts?${u(
1253
1844
  r
1254
1845
  )}`,
1255
1846
  t
@@ -1257,7 +1848,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1257
1848
  },
1258
1849
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1259
1850
  return a.get(
1260
- `${o()}/projects/${e}/detections/timestamps?${g(
1851
+ `${l()}/projects/${e}/trackings/timestamps?${u(
1261
1852
  r
1262
1853
  )}`,
1263
1854
  t
@@ -1269,7 +1860,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1269
1860
  ...t
1270
1861
  }) {
1271
1862
  return a.get(
1272
- `${o()}/cameras/${e}/segments/appearance-from-points`,
1863
+ `${l()}/cameras/${e}/segments/appearance-from-points`,
1273
1864
  {
1274
1865
  params: {
1275
1866
  cameraExid: e,
@@ -1279,27 +1870,37 @@ const o = () => a.env.aiApiUrl, Wt = {
1279
1870
  }
1280
1871
  );
1281
1872
  },
1282
- async getDetectionsTracking(e, r) {
1873
+ async getGroupedTrackings(e, r) {
1283
1874
  return a.get(
1284
- `${o()}/projects/${e}/detections/trackings?${g(
1875
+ `${l()}/projects/${e}/trackings/grouped?${u(
1285
1876
  r
1286
1877
  )}`
1287
1878
  );
1288
1879
  },
1289
1880
  async getSegmentsMasks(e, r) {
1290
1881
  return a.get(
1291
- `${o()}/cameras/${e}/segments/masks`,
1882
+ `${l()}/cameras/${e}/segments/masks`,
1292
1883
  {
1293
1884
  params: r
1294
1885
  }
1295
1886
  );
1296
1887
  },
1888
+ async getSegmentsPresenceDateIntervals({
1889
+ cameraExid: e,
1890
+ ...r
1891
+ }) {
1892
+ return a.get(
1893
+ `${l()}/cameras/${e}/segments/presence-intervals?${u(
1894
+ r
1895
+ )}`
1896
+ );
1897
+ },
1297
1898
  async getDetectionsPresenceDateIntervals({
1298
1899
  projectExid: e,
1299
1900
  ...r
1300
1901
  }) {
1301
1902
  return a.get(
1302
- `${o()}/projects/${e}/detections/presence-intervals?${g(
1903
+ `${l()}/projects/${e}/trackings/presence-intervals?${u(
1303
1904
  r
1304
1905
  )}`
1305
1906
  );
@@ -1309,7 +1910,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1309
1910
  ...r
1310
1911
  }) {
1311
1912
  return a.get(
1312
- `${o()}/projects/${e}/detections/timestamps/export?${g(
1913
+ `${l()}/projects/${e}/detections/timestamps/export?${u(
1313
1914
  r
1314
1915
  )}`,
1315
1916
  { responseType: "blob" }
@@ -1317,105 +1918,176 @@ const o = () => a.env.aiApiUrl, Wt = {
1317
1918
  }
1318
1919
  },
1319
1920
  siteAnalytics: {
1320
- smartSearch({
1321
- cameraExid: e,
1322
- payload: r,
1323
- fromDate: t,
1324
- toDate: s,
1325
- page: i = 1,
1326
- pageSize: n = 20
1921
+ smartSearchAll(e, r) {
1922
+ const { payload: t, ...o } = r, i = {
1923
+ page: 1,
1924
+ limit: 20,
1925
+ ...o
1926
+ };
1927
+ let g = `${l()}/projects/${e}/smart-search/all?${u(
1928
+ i
1929
+ )}`;
1930
+ return a.post(g, t);
1931
+ },
1932
+ smartSearchFirstLastSeen(e, r) {
1933
+ const { payload: t, ...o } = r, i = {
1934
+ page: 1,
1935
+ limit: 20,
1936
+ ...o
1937
+ };
1938
+ let g = `${l()}/projects/${e}/smart-search/first-last-seen?${u(
1939
+ i
1940
+ )}`;
1941
+ return a.post(g, t);
1942
+ },
1943
+ saveQuery({
1944
+ projectExid: e,
1945
+ cameraExid: r,
1946
+ payload: t
1947
+ }) {
1948
+ return a.post(
1949
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries`,
1950
+ t
1951
+ );
1952
+ },
1953
+ getQueries(e, r) {
1954
+ return a.get(
1955
+ `${l()}/projects/${e}/smart-search/queries?${u(
1956
+ r
1957
+ )}`
1958
+ );
1959
+ },
1960
+ getQueryById(e, r, t) {
1961
+ return a.get(
1962
+ `${l()}/projects/${e}/smart-search/queries/${t}?${u(
1963
+ { cameraExid: r }
1964
+ )}`
1965
+ );
1966
+ },
1967
+ updateQuery({
1968
+ projectExid: e,
1969
+ cameraExid: r,
1970
+ queryId: t,
1971
+ payload: o
1327
1972
  }) {
1328
- let l = `${o()}/cameras/${e}/advanced_search?page=${i}&page_size=${n}`;
1329
- return t && s && (l += `&from_date=${t}&to_date=${s}`), a.post(l, r);
1973
+ return a.patch(
1974
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1975
+ o
1976
+ );
1330
1977
  },
1331
- saveQuery(e) {
1978
+ deleteQuery({
1979
+ projectExid: e,
1980
+ cameraExid: r,
1981
+ queryId: t
1982
+ }) {
1983
+ return a.delete(
1984
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1985
+ {}
1986
+ );
1987
+ },
1988
+ exportResultsData({
1989
+ projectExid: e,
1990
+ cameraExids: r,
1991
+ fromDate: t,
1992
+ toDate: o,
1993
+ query: i,
1994
+ fileType: g = X.Csv,
1995
+ directDownload: p = !0,
1996
+ payload: d,
1997
+ limit: h,
1998
+ page: M
1999
+ }) {
1332
2000
  return a.post(
1333
- `${o()}/cameras/${e.cameraExid}/advanced_search/queries`,
1334
- e
2001
+ `${l()}/projects/${e}/smart-search/export?${u(
2002
+ {
2003
+ cameraExids: r,
2004
+ fromDate: t,
2005
+ toDate: o,
2006
+ query: i,
2007
+ fileType: g,
2008
+ directDownload: p,
2009
+ limit: h,
2010
+ page: M
2011
+ }
2012
+ )}`,
2013
+ d,
2014
+ {
2015
+ responseType: "blob"
2016
+ }
2017
+ );
2018
+ },
2019
+ getDetectionsHeatmapData(e, r) {
2020
+ return a.get(
2021
+ `${l()}/projects/${e}/smart-search/heatmap?${u(
2022
+ r
2023
+ )}`,
2024
+ {}
1335
2025
  );
1336
- },
1337
- getQueries(e, r) {
2026
+ }
2027
+ },
2028
+ siteAnalyticsManagement: {
2029
+ listApps(e = {}) {
1338
2030
  return a.get(
1339
- `${o()}/cameras/${e}/advanced_search/queries`,
1340
- {
1341
- params: r
1342
- }
2031
+ `${l()}/site-analytics-management/apps?${u(
2032
+ e
2033
+ )}`
1343
2034
  );
1344
2035
  },
1345
- getQueryById(e, r) {
1346
- return a.get(
1347
- `${o()}/cameras/${e}/advanced_search/queries/${r}`
2036
+ createApp(e) {
2037
+ return a.post(
2038
+ `${l()}/site-analytics-management/apps`,
2039
+ e
1348
2040
  );
1349
2041
  },
1350
- updateQuery(e, r, t) {
1351
- return a.put(
1352
- `${o()}/cameras/${e}/advanced_search/queries/${r}`,
2042
+ updateApp(e, r, t) {
2043
+ return a.patch(
2044
+ `${l()}/site-analytics-management/apps/${e}/${r}`,
1353
2045
  t
1354
2046
  );
1355
2047
  },
1356
- deleteQuery(e, r) {
2048
+ deleteApp(e, r) {
1357
2049
  return a.delete(
1358
- `${o()}/cameras/${e}/advanced_search/queries/${r}`,
1359
- {}
2050
+ `${l()}/site-analytics-management/apps/${e}/${r}`
1360
2051
  );
1361
2052
  },
1362
- getProcessedTimes({
1363
- projectExid: e,
1364
- cameraExids: r,
1365
- granularity: t = "day",
1366
- endDate: s,
1367
- startDate: i
1368
- }) {
2053
+ setAppState(e, r, t) {
2054
+ return a.patch(
2055
+ `${l()}/site-analytics-management/apps/${e}/${r}/state`,
2056
+ { state: t }
2057
+ );
2058
+ },
2059
+ listCoolifyServers() {
1369
2060
  return a.get(
1370
- `${o()}/projects/${e}/processed_times`,
1371
- {
1372
- params: {
1373
- camera_exids: r,
1374
- granularity: t,
1375
- start_date: i,
1376
- end_date: s
1377
- },
1378
- preserveCasing: !0
1379
- }
2061
+ `${l()}/site-analytics-management/coolify-servers`
1380
2062
  );
1381
2063
  },
1382
- exportResultsData({
1383
- cameraExid: e,
1384
- fromDate: r,
1385
- toDate: t,
1386
- query: s,
1387
- fileType: i = Z.Csv,
1388
- directDownload: n = !0,
1389
- payload: l
1390
- }) {
1391
- return a.post(
1392
- `${o()}/cameras/${e}/advanced_search/export`,
1393
- l,
1394
- {
1395
- responseType: "blob",
1396
- params: {
1397
- fromDate: r,
1398
- toDate: t,
1399
- query: s,
1400
- fileType: i,
1401
- directDownload: n
1402
- }
1403
- }
2064
+ listModelVersions() {
2065
+ return a.get(
2066
+ `${l()}/site-analytics-management/model-versions`
1404
2067
  );
1405
2068
  }
1406
2069
  },
1407
2070
  coolify: {
1408
2071
  getCoolifyServers() {
1409
- return a.get(`${o()}/coolify/servers`);
2072
+ return a.get(`${l()}/coolify/servers`);
1410
2073
  },
1411
- createAppOnCoolify(e) {
2074
+ createAppOnCoolify({
2075
+ projectExid: e,
2076
+ cameraExid: r,
2077
+ payload: t
2078
+ }) {
1412
2079
  return a.post(
1413
- `${o()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
2080
+ `${l()}/projects/${e}/cameras/${r}/anpr/apps`,
2081
+ t
1414
2082
  );
1415
2083
  },
1416
- saveAppOnCoolify(e, r, t) {
2084
+ registerCoolifyApp({
2085
+ projectExid: e,
2086
+ cameraExid: r,
2087
+ payload: t
2088
+ }) {
1417
2089
  return a.post(
1418
- `${o()}/projects/${e}/cameras/${r}/gate_report/apps`,
2090
+ `${l()}/projects/${e}/cameras/${r}/gate-report/apps`,
1419
2091
  t
1420
2092
  );
1421
2093
  },
@@ -1423,11 +2095,11 @@ const o = () => a.env.aiApiUrl, Wt = {
1423
2095
  appUuid: e,
1424
2096
  appId: r,
1425
2097
  payload: t,
1426
- cameraExid: s,
2098
+ cameraExid: o,
1427
2099
  projectExid: i
1428
2100
  }) {
1429
2101
  return a.patch(
1430
- `${o()}/projects/${i}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
2102
+ `${l()}/projects/${i}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1431
2103
  t
1432
2104
  );
1433
2105
  },
@@ -1435,37 +2107,128 @@ const o = () => a.env.aiApiUrl, Wt = {
1435
2107
  appUuid: e,
1436
2108
  appId: r,
1437
2109
  cameraExid: t,
1438
- projectExid: s
2110
+ projectExid: o
1439
2111
  }) {
1440
2112
  return a.delete(
1441
- `${o()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
2113
+ `${l()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1442
2114
  );
1443
2115
  },
1444
2116
  startService(e) {
1445
- return a.post(`${o()}/coolify/services/${e}/start`);
2117
+ return a.post(
2118
+ `${l()}/coolify/services/${e}/start`
2119
+ );
1446
2120
  },
1447
2121
  pauseService(e) {
1448
- return a.post(`${o()}/coolify/services/${e}/stop`);
2122
+ return a.post(`${l()}/coolify/services/${e}/stop`);
1449
2123
  },
1450
2124
  restartService(e) {
1451
2125
  return a.post(
1452
- `${o()}/coolify/services/${e}/restart`
2126
+ `${l()}/coolify/services/${e}/restart`
1453
2127
  );
1454
2128
  }
1455
2129
  },
1456
2130
  fovChanges: {
1457
2131
  getCameraFovChanges(e, r = {}) {
1458
2132
  return a.post(
1459
- `${o()}/cameras/${e}/fov_changes`,
2133
+ `${l()}/cameras/${e}/fov_changes`,
1460
2134
  {},
1461
2135
  r
1462
2136
  );
1463
2137
  }
2138
+ },
2139
+ prompts: {
2140
+ list(e = {}) {
2141
+ return a.get(`${l()}/prompts?${u(e)}`);
2142
+ },
2143
+ get(e) {
2144
+ return a.get(`${l()}/prompts/${e}`);
2145
+ },
2146
+ create(e) {
2147
+ return a.post(`${l()}/prompts`, e);
2148
+ },
2149
+ update(e, r) {
2150
+ return a.patch(`${l()}/prompts/${e}`, r);
2151
+ },
2152
+ delete(e) {
2153
+ return a.delete(`${l()}/prompts/${e}`);
2154
+ }
2155
+ },
2156
+ apiKeys: {
2157
+ list(e = {}) {
2158
+ const r = u(e);
2159
+ return a.get(`${l()}/api-keys${r ? `?${r}` : ""}`);
2160
+ },
2161
+ purposes() {
2162
+ return a.get(`${l()}/api-keys/purposes`);
2163
+ },
2164
+ get(e) {
2165
+ return a.get(`${l()}/api-keys/${e}`);
2166
+ },
2167
+ create(e) {
2168
+ return a.post(`${l()}/api-keys`, e);
2169
+ },
2170
+ update(e, r) {
2171
+ return a.patch(`${l()}/api-keys/${e}`, r);
2172
+ },
2173
+ delete(e, r = !1) {
2174
+ const t = r ? "?revoke=true" : "";
2175
+ return a.delete(`${l()}/api-keys/${e}${t}`);
2176
+ }
2177
+ },
2178
+ gateReportManagement: {
2179
+ listApps(e = {}) {
2180
+ return a.get(
2181
+ `${l()}/gate-report/apps?${u(
2182
+ e
2183
+ )}`
2184
+ );
2185
+ },
2186
+ getApp(e, r) {
2187
+ return a.get(
2188
+ `${l()}/gate-report/apps/${e}/${r}`
2189
+ );
2190
+ },
2191
+ listAppEvents(e) {
2192
+ return a.get(
2193
+ `${l()}/gate-report/apps/last-event-status?${u({
2194
+ projectExid: e
2195
+ })}`
2196
+ );
2197
+ },
2198
+ createApp(e) {
2199
+ return a.post(`${l()}/gate-report/apps`, e);
2200
+ },
2201
+ updateApp(e, r, t) {
2202
+ return a.patch(
2203
+ `${l()}/gate-report/apps/${e}/${r}`,
2204
+ t
2205
+ );
2206
+ },
2207
+ deleteApp(e, r) {
2208
+ return a.delete(
2209
+ `${l()}/gate-report/apps/${e}/${r}`
2210
+ );
2211
+ },
2212
+ setAppState(e, r, t) {
2213
+ return a.patch(
2214
+ `${l()}/gate-report/apps/${e}/${r}/state`,
2215
+ { state: t }
2216
+ );
2217
+ },
2218
+ listCoolifyProjects() {
2219
+ return a.get(`${l()}/gate-report/coolify-projects`);
2220
+ },
2221
+ listCoolifyServers() {
2222
+ return a.get(`${l()}/gate-report/coolify-servers`);
2223
+ },
2224
+ listImageTags() {
2225
+ return a.get(`${l()}/gate-report/image-tags`);
2226
+ }
1464
2227
  }
1465
- }, Lt = {
2228
+ }, Oo = {
1466
2229
  webRtc: {
1467
2230
  requestIceServers({ url: e, token: r }) {
1468
- return $({
2231
+ return w({
1469
2232
  url: e,
1470
2233
  method: "OPTIONS",
1471
2234
  headers: {
@@ -1478,7 +2241,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1478
2241
  token: r,
1479
2242
  data: t
1480
2243
  }) {
1481
- return $({
2244
+ return w({
1482
2245
  url: e,
1483
2246
  method: "POST",
1484
2247
  headers: {
@@ -1492,21 +2255,21 @@ const o = () => a.env.aiApiUrl, Wt = {
1492
2255
  url: e,
1493
2256
  token: r,
1494
2257
  data: t,
1495
- tag: s
2258
+ tag: o
1496
2259
  }) {
1497
- return $({
2260
+ return w({
1498
2261
  url: e,
1499
2262
  method: "PATCH",
1500
2263
  headers: {
1501
2264
  "Content-Type": "application/trickle-ice-sdpfrag",
1502
- "If-Match": s,
2265
+ "If-Match": o,
1503
2266
  Authorization: `Bearer ${r}`
1504
2267
  },
1505
2268
  data: t
1506
2269
  });
1507
2270
  }
1508
2271
  }
1509
- }, Zt = {
2272
+ }, No = {
1510
2273
  current(e, r) {
1511
2274
  return a.get(`/projects/${e}/weather/current`, {
1512
2275
  params: r
@@ -1522,25 +2285,23 @@ const o = () => a.env.aiApiUrl, Wt = {
1522
2285
  });
1523
2286
  }
1524
2287
  };
1525
- function c() {
2288
+ function S() {
1526
2289
  var r;
1527
2290
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1528
2291
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1529
2292
  }
1530
- const qt = {
2293
+ const Go = {
1531
2294
  posthog: {
1532
2295
  getEvents(e) {
1533
- return a.get(`${c()}/posthog/events`, {
1534
- params: e
1535
- });
2296
+ return a.get(`${S()}/posthog/events`, e);
1536
2297
  },
1537
2298
  getUsers(e) {
1538
- return a.get(`${c()}/posthog/users`, {
2299
+ return a.get(`${S()}/posthog/users`, {
1539
2300
  params: e
1540
2301
  });
1541
2302
  },
1542
2303
  getActiveUsers(e) {
1543
- return a.get(`${c()}/posthog/active-users`, {
2304
+ return a.get(`${S()}/posthog/active-users`, {
1544
2305
  params: e,
1545
2306
  preserveCasing: !0
1546
2307
  });
@@ -1548,14 +2309,14 @@ const qt = {
1548
2309
  },
1549
2310
  copilot: {
1550
2311
  async getAllConversations(e) {
1551
- return a.get(`${c()}/copilot/conversations`, {
2312
+ return a.get(`${S()}/copilot/conversations`, {
1552
2313
  params: e,
1553
2314
  preserveCasing: !0
1554
2315
  });
1555
2316
  },
1556
2317
  async getOneConversation(e) {
1557
2318
  return a.get(
1558
- `${c()}/copilot/conversations/${e}`,
2319
+ `${S()}/copilot/conversations/${e}`,
1559
2320
  {
1560
2321
  preserveCasing: !0
1561
2322
  }
@@ -1563,13 +2324,13 @@ const qt = {
1563
2324
  },
1564
2325
  async getConversationMessages(e, r) {
1565
2326
  return a.get(
1566
- `${c()}/copilot/conversations/${e}/messages`,
2327
+ `${S()}/copilot/conversations/${e}/messages`,
1567
2328
  { params: r, preserveCasing: !0 }
1568
2329
  );
1569
2330
  },
1570
2331
  async getMessageSteps(e) {
1571
2332
  return a.get(
1572
- `${c()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2333
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1573
2334
  );
1574
2335
  },
1575
2336
  async submitMessageFeedback({
@@ -1578,7 +2339,7 @@ const qt = {
1578
2339
  ...t
1579
2340
  }) {
1580
2341
  return a.post(
1581
- `${c()}/copilot/conversations/${e}/messages/${r}/feedback`,
2342
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1582
2343
  t,
1583
2344
  {
1584
2345
  preserveCasing: !0
@@ -1586,17 +2347,20 @@ const qt = {
1586
2347
  );
1587
2348
  }
1588
2349
  },
1589
- detections: {
1590
- async getSegmentsDateIntervals({
1591
- cameraExid: e,
1592
- fromDate: r,
1593
- toDate: t,
1594
- precision: s
1595
- }) {
2350
+ siteAnalytics: {
2351
+ async getProcessingStatus(e = {}, r = {}) {
2352
+ return a.get(`${S()}/site-analytics/processing-status`, {
2353
+ params: e,
2354
+ ...r,
2355
+ preserveCasing: !0
2356
+ });
2357
+ },
2358
+ async getIntersectionsHeatmapData(e) {
2359
+ const { cameraExid: r, ...t } = e;
1596
2360
  return a.get(
1597
- `${c()}/cameras/${e}/segments/presence-intervals`,
2361
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1598
2362
  {
1599
- params: { fromDate: r, toDate: t, precision: s },
2363
+ params: t,
1600
2364
  preserveCasing: !0
1601
2365
  }
1602
2366
  );
@@ -1605,7 +2369,7 @@ const qt = {
1605
2369
  googleCloudStorage: {
1606
2370
  listFiles(e = "") {
1607
2371
  return a.get(
1608
- `${c()}/gc-storage/buckets/evercam-labs/files`,
2372
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1609
2373
  {
1610
2374
  params: {
1611
2375
  prefix: e
@@ -1616,7 +2380,7 @@ const qt = {
1616
2380
  },
1617
2381
  getSignedUrl(e) {
1618
2382
  return a.get(
1619
- `${c()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2383
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1620
2384
  {
1621
2385
  params: {
1622
2386
  fileName: e
@@ -1629,7 +2393,7 @@ const qt = {
1629
2393
  luminance: {
1630
2394
  getReadings(e) {
1631
2395
  return a.get(
1632
- `${c()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2396
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1633
2397
  {
1634
2398
  params: {
1635
2399
  fromDate: e.fromDate,
@@ -1641,8 +2405,8 @@ const qt = {
1641
2405
  }
1642
2406
  },
1643
2407
  kits: {
1644
- getMetrics(e, r, t = q.Last24Hours) {
1645
- return a.get(`${c()}/kits/${e}/metrics`, {
2408
+ getMetrics(e, r, t = Q.Last24Hours) {
2409
+ return a.get(`${S()}/kits/${e}/metrics`, {
1646
2410
  params: {
1647
2411
  metrics: r,
1648
2412
  from: t
@@ -1651,7 +2415,7 @@ const qt = {
1651
2415
  });
1652
2416
  }
1653
2417
  }
1654
- }, Xt = {
2418
+ }, Vo = {
1655
2419
  apiStatus: {
1656
2420
  getApiStatus() {
1657
2421
  return a.get("/status");
@@ -1661,6 +2425,9 @@ const qt = {
1661
2425
  signup(e) {
1662
2426
  return a.post("/users", e);
1663
2427
  },
2428
+ zohoAuthUrl(e) {
2429
+ return a.post("/support/zoho-auth-url", e);
2430
+ },
1664
2431
  fetchAccessFeatures(e) {
1665
2432
  return a.get(`/users/${e}/features`);
1666
2433
  },
@@ -1678,7 +2445,7 @@ const qt = {
1678
2445
  return a.get(`/auth/provider/${e}`);
1679
2446
  },
1680
2447
  login(e) {
1681
- return a.post("/auth/login", g(e));
2448
+ return a.post("/auth/login", u(e));
1682
2449
  },
1683
2450
  loginWithApiCredentials(e, r) {
1684
2451
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1712,42 +2479,43 @@ const qt = {
1712
2479
  confirm(e, r) {
1713
2480
  return a.post(`/users/${e}/confirm`, r);
1714
2481
  },
1715
- deleteActiveSession(e, r = {}) {
2482
+ deleteActiveSession(e, r) {
1716
2483
  return a.delete(`/users/active-sessions/${e}`, {
1717
2484
  params: r
1718
2485
  });
1719
2486
  },
1720
2487
  getActiveSessions(e) {
1721
- return a.get("/users/active-sessions", {
1722
- params: e
1723
- });
2488
+ return a.get("/users/active-sessions", e);
1724
2489
  },
1725
2490
  update(e, r = {}) {
1726
2491
  return a.patch(`/users/${e}`, r);
1727
2492
  },
1728
- delete(e, r) {
1729
- return a.post(`/users/${e}/delete`, r);
2493
+ deleteAccount() {
2494
+ return a.delete("/users/me");
1730
2495
  },
1731
2496
  fetchPermissions() {
1732
2497
  return a.get("/users/permissions");
2498
+ },
2499
+ getProjectContacts(e) {
2500
+ return a.get(`/projects/${e}/contacts`);
1733
2501
  }
1734
2502
  },
1735
2503
  notifications: {
1736
2504
  get() {
1737
2505
  return a.get("/notifications");
1738
2506
  },
1739
- markAllAsRead(e) {
1740
- return a.patch(`/notifications/${e}`);
1741
- },
1742
- markAsRead() {
2507
+ markAllAsRead() {
1743
2508
  return a.post("/notifications/mark-as-read");
2509
+ },
2510
+ markAsRead(e) {
2511
+ return a.patch(`/notifications/${e}`);
1744
2512
  }
1745
2513
  },
1746
2514
  bim: {
1747
- getBimSnapshot(e, r, t, s) {
2515
+ getBimSnapshot(e, r, t, o) {
1748
2516
  return a.get(`/cameras/${e}/bim/${r}`, {
1749
2517
  params: t,
1750
- ...s || {}
2518
+ ...o || {}
1751
2519
  });
1752
2520
  },
1753
2521
  getBimModel(e, r, t) {
@@ -1785,7 +2553,7 @@ const qt = {
1785
2553
  return a.get("/cameras", { params: e, ...e.config });
1786
2554
  },
1787
2555
  getCameraById(e, r) {
1788
- return a.get(`/cameras/${e}?${g(r)}`);
2556
+ return a.get(`/cameras/${e}?${u(r)}`);
1789
2557
  },
1790
2558
  getCameraLastPublicNote(e) {
1791
2559
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1797,7 +2565,7 @@ const qt = {
1797
2565
  return fetch(
1798
2566
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1799
2567
  ).then(
1800
- ({ url: t }) => Bt(t.split("?")[1] || "").access_token
2568
+ ({ url: t }) => co(t.split("?")[1] || "").access_token
1801
2569
  );
1802
2570
  },
1803
2571
  getCameraStatusLogs(e, r) {
@@ -1811,8 +2579,11 @@ const qt = {
1811
2579
  index({
1812
2580
  params: e,
1813
2581
  config: r
1814
- }) {
1815
- return a.get(`/projects?${g(e)}`, r);
2582
+ } = { params: {}, config: {} }) {
2583
+ return a.get(`/projects?${u(e)}`, r);
2584
+ },
2585
+ create(e) {
2586
+ return a.post("/projects", e);
1816
2587
  },
1817
2588
  getLogos(e) {
1818
2589
  return a.get(`/projects/${e}/logos`);
@@ -1829,7 +2600,7 @@ const qt = {
1829
2600
  updateLogo(e, r, t) {
1830
2601
  return a.patch(
1831
2602
  `/projects/${e}/logos/${r}`,
1832
- g({ name: t })
2603
+ u({ name: t })
1833
2604
  );
1834
2605
  },
1835
2606
  updateThumbnail(e, r) {
@@ -1868,6 +2639,20 @@ const qt = {
1868
2639
  },
1869
2640
  getTeamMembers() {
1870
2641
  return a.get("/projects/team-members");
2642
+ },
2643
+ getMembers(e) {
2644
+ return a.get(`/projects/${e}/users`);
2645
+ },
2646
+ inviteMembers(e, r) {
2647
+ return a.post(`/projects/${e}/users`, r);
2648
+ },
2649
+ removeMembers(e, r) {
2650
+ return a.delete(`/projects/${e}/users`, {
2651
+ params: { emails: r }
2652
+ });
2653
+ },
2654
+ updateMembersRole(e, r) {
2655
+ return a.patch(`/projects/${e}/users`, r);
1871
2656
  }
1872
2657
  },
1873
2658
  timelapse: {
@@ -1940,6 +2725,11 @@ const qt = {
1940
2725
  },
1941
2726
  getDocumentSchema(e) {
1942
2727
  return a.get(`/aconex/projects/${e}/register/schema`);
2728
+ },
2729
+ getDocumentTypeSchema(e, r) {
2730
+ return a.get(
2731
+ `/aconex/projects/${e}/register/schema/${r}`
2732
+ );
1943
2733
  }
1944
2734
  },
1945
2735
  procore: {
@@ -2075,6 +2865,32 @@ const qt = {
2075
2865
  return a.post("/voyage-control/auth/revoke");
2076
2866
  }
2077
2867
  },
2868
+ ring: {
2869
+ authenticate(e) {
2870
+ return a.post("/ring/callback", e);
2871
+ },
2872
+ getDevices() {
2873
+ return a.get("/ring/devices");
2874
+ },
2875
+ importDevices(e) {
2876
+ return a.post("/ring/devices/import", e);
2877
+ },
2878
+ moveDevice(e, r) {
2879
+ return a.patch(`/ring/devices/${e}/move`, r);
2880
+ },
2881
+ deleteDevice(e) {
2882
+ return a.delete(`/ring/devices/${e}`);
2883
+ },
2884
+ disconnect() {
2885
+ return a.post("/ring/disconnect");
2886
+ },
2887
+ startLiveView(e, r) {
2888
+ return a.post(`/ring/devices/${e}/live`, r);
2889
+ },
2890
+ stopLiveView(e, r) {
2891
+ return a.delete(`/ring/devices/${e}/live/${r}`);
2892
+ }
2893
+ },
2078
2894
  xweather: {
2079
2895
  connect(e, r) {
2080
2896
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2094,12 +2910,12 @@ const qt = {
2094
2910
  params: r
2095
2911
  });
2096
2912
  },
2097
- nearest(e, r, t, s) {
2913
+ nearest(e, r, t, o) {
2098
2914
  return a.get(
2099
2915
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2100
2916
  {
2101
2917
  params: t,
2102
- ...s || {}
2918
+ ...o || {}
2103
2919
  }
2104
2920
  );
2105
2921
  },
@@ -2107,12 +2923,14 @@ const qt = {
2107
2923
  cameraId: e,
2108
2924
  year: r,
2109
2925
  month: t,
2110
- payload: s
2926
+ payload: o,
2927
+ cancelToken: i
2111
2928
  }) {
2112
2929
  return a.get(
2113
2930
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2114
2931
  {
2115
- params: s
2932
+ params: o,
2933
+ cancelToken: i
2116
2934
  }
2117
2935
  );
2118
2936
  },
@@ -2120,30 +2938,31 @@ const qt = {
2120
2938
  cameraId: e,
2121
2939
  year: r,
2122
2940
  month: t,
2123
- day: s,
2941
+ day: o,
2124
2942
  payload: i,
2125
- cancelToken: n
2943
+ cancelToken: g
2126
2944
  }) {
2127
2945
  return a.get(
2128
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
2946
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2129
2947
  {
2130
2948
  params: i,
2131
- cancelToken: n
2949
+ cancelToken: g
2132
2950
  }
2133
2951
  );
2134
2952
  },
2135
2953
  getSnapshot(e, r) {
2136
2954
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2137
2955
  },
2138
- getSnapshotRange(e, r) {
2956
+ getSnapshotRange(e, r, t) {
2139
2957
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2140
- params: r
2958
+ params: r,
2959
+ ...t || {}
2141
2960
  });
2142
2961
  }
2143
2962
  },
2144
2963
  progressPhotos: {
2145
- index() {
2146
- return a.get("/progress-photos");
2964
+ index(e) {
2965
+ return a.get(`/projects/${e}/progress-photos`);
2147
2966
  },
2148
2967
  show(e) {
2149
2968
  return a.get(`/progress-photos/${e}`);
@@ -2156,19 +2975,19 @@ const qt = {
2156
2975
  },
2157
2976
  unsubscribe(e, r) {
2158
2977
  return a.patch(
2159
- `/progress-photos/${e}/unsubscribe?${g(
2978
+ `/progress-photos/${e}/unsubscribe?${u(
2160
2979
  r
2161
2980
  )}`
2162
2981
  );
2163
2982
  },
2164
2983
  delete(e, r) {
2165
- return a.delete(`/progress-photos/${e}?${g(r)}`);
2984
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2166
2985
  }
2167
2986
  },
2168
2987
  mediaHub: {
2169
2988
  getAllMedia(e, r) {
2170
2989
  return a.get(
2171
- `projects/${e}/media-hub?${g(r, {
2990
+ `projects/${e}/media-hub?${u(r, {
2172
2991
  forceArrayBrackets: !0
2173
2992
  })}`
2174
2993
  );
@@ -2179,8 +2998,12 @@ const qt = {
2179
2998
  cShow(e, r) {
2180
2999
  return a.get(`/projects/${e}/media-hub/${r}`);
2181
3000
  },
2182
- cCreate(e, r) {
2183
- return a.post(`/projects/${e}/media-hub`, r);
3001
+ cCreate(e, r, t = (o) => {
3002
+ }) {
3003
+ return a.post(`/projects/${e}/media-hub`, r, {
3004
+ onUploadProgress: t,
3005
+ timeout: 72e5
3006
+ });
2184
3007
  },
2185
3008
  cUpdate(e, r, t) {
2186
3009
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2190,51 +3013,14 @@ const qt = {
2190
3013
  }
2191
3014
  },
2192
3015
  shares: {
2193
- updateShareRights(e, r) {
2194
- return a.patch(`/cameras/${e}/shares`, r);
2195
- },
2196
- updateShareRequestRights(e, r) {
2197
- return a.patch(`/cameras/${e}/shares/requests`, r);
2198
- },
2199
- cIndex(e) {
2200
- return a.get(`/cameras/${e}/shares`);
2201
- },
2202
- getShareRequest(e, r) {
2203
- return a.get(`/cameras/${e}/shares/requests`, {
2204
- params: r
2205
- });
2206
- },
2207
- deleteShare(e, r) {
2208
- return a.delete(`/cameras/${e}/shares`, r);
2209
- },
2210
- deleteRequest(e, r) {
2211
- return a.delete(`/cameras/${e}/shares/requests`, r);
2212
- },
2213
3016
  deleteShareRequest(e) {
2214
3017
  return a.delete(`/share-requests/${e.params.key}`);
2215
3018
  },
2216
3019
  getSharedUsers(e) {
2217
3020
  return a.get(`/cameras/${e}/shares/users`);
2218
3021
  },
2219
- cCreate(e, r) {
2220
- return a.post(`/cameras/${e}/shares`, r);
2221
- },
2222
- shareProjectCameras(e, r) {
2223
- return a.post(`/projects/${e}/shares/cameras`, r);
2224
- },
2225
3022
  getShareRequestByKey(e) {
2226
3023
  return a.get(`/shares/requests/${e}`);
2227
- },
2228
- resendShareRequest(e, r) {
2229
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2230
- },
2231
- getProjectShares(e) {
2232
- return a.get(
2233
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2234
- );
2235
- },
2236
- updateUserRestriction(e, r) {
2237
- return a.patch(`/projects/${e}/shares/cameras`, r);
2238
3024
  }
2239
3025
  },
2240
3026
  company: {
@@ -2250,7 +3036,8 @@ const qt = {
2250
3036
  return a.get("/company/projects", e);
2251
3037
  },
2252
3038
  getCompanyCameras(e) {
2253
- return a.get("/company/cameras", e);
3039
+ const r = "params" in e ? e : { params: e };
3040
+ return a.get("/company/cameras", r);
2254
3041
  },
2255
3042
  getCompanyKits(e) {
2256
3043
  return a.get("/company/kits", e);
@@ -2306,7 +3093,7 @@ const qt = {
2306
3093
  },
2307
3094
  archiveOrUnarchiveComment(e, r, t) {
2308
3095
  return a.patch(
2309
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
3096
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2310
3097
  );
2311
3098
  },
2312
3099
  deleteComment(e, r) {
@@ -2318,6 +3105,14 @@ const qt = {
2318
3105
  return a.get("/proxy/storyblok", { params: e });
2319
3106
  }
2320
3107
  },
3108
+ snapshots: {
3109
+ deliverViaEmail(e, r) {
3110
+ return a.post(
3111
+ `/projects/${e}/snapshots/deliver/email`,
3112
+ r
3113
+ );
3114
+ }
3115
+ },
2321
3116
  mailing: {
2322
3117
  unsubscribe(e) {
2323
3118
  return a.post("/mailing/unsubscribe", e);
@@ -2325,7 +3120,7 @@ const qt = {
2325
3120
  },
2326
3121
  widgets: {
2327
3122
  index(e) {
2328
- return a.get(`/widgets?${g(e)}`);
3123
+ return a.get(`/widgets?${u(e)}`);
2329
3124
  },
2330
3125
  show(e) {
2331
3126
  return a.get(`/widgets/${e}`);
@@ -2348,10 +3143,50 @@ const qt = {
2348
3143
  delete(e) {
2349
3144
  return a.delete(`/widgets/${e}`);
2350
3145
  }
3146
+ },
3147
+ developerApps: {
3148
+ index() {
3149
+ return a.get("/developer/apps");
3150
+ },
3151
+ show(e) {
3152
+ return a.get(`/developer/apps/${e}`);
3153
+ },
3154
+ create(e) {
3155
+ return a.post("/developer/apps", e);
3156
+ },
3157
+ update(e, r) {
3158
+ return a.patch(`/developer/apps/${e}`, r);
3159
+ },
3160
+ delete(e) {
3161
+ return a.delete(`/developer/apps/${e}`);
3162
+ },
3163
+ regenerateSecret(e) {
3164
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
3165
+ }
3166
+ },
3167
+ oauth: {
3168
+ getClientInfo(e, r) {
3169
+ return a.get("/oauth/client-info", {
3170
+ params: { client_id: e, scope: r }
3171
+ });
3172
+ },
3173
+ submitConsent(e) {
3174
+ return a.post("/oauth/consent", e);
3175
+ }
3176
+ },
3177
+ zoho: {
3178
+ getDealLocation(e) {
3179
+ return a.get(`/zoho/deals/${e}/location`);
3180
+ },
3181
+ updateDealLocation(e, r) {
3182
+ return a.post(`/zoho/deals/${e}/location`, r);
3183
+ }
2351
3184
  }
2352
- }, Jt = {
3185
+ }, Ho = {
2353
3186
  presets: {
2354
- index({ cameraExid: e }) {
3187
+ index({
3188
+ cameraExid: e
3189
+ }) {
2355
3190
  return a.get(`/cameras/${e}/ptz/presets`);
2356
3191
  },
2357
3192
  go({
@@ -2383,6 +3218,14 @@ const qt = {
2383
3218
  presetName: t
2384
3219
  });
2385
3220
  },
3221
+ updateHome({
3222
+ cameraExid: e,
3223
+ presetName: r
3224
+ }) {
3225
+ return a.post(`/cameras/${e}/ptz/home/set`, {
3226
+ presetName: r
3227
+ });
3228
+ },
2386
3229
  delete({
2387
3230
  cameraExid: e,
2388
3231
  presetId: r
@@ -2400,9 +3243,9 @@ const qt = {
2400
3243
  },
2401
3244
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2402
3245
  if (!t) {
2403
- const s = r === "in" ? 1 : -1;
3246
+ const o = r === "in" ? 1 : -1;
2404
3247
  return a.post(
2405
- `/cameras/${e}/ptz/relative?zoom=${s}`
3248
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2406
3249
  );
2407
3250
  }
2408
3251
  return a.post(
@@ -2416,286 +3259,384 @@ const qt = {
2416
3259
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2417
3260
  }
2418
3261
  }
2419
- }, h = (e) => ({
2420
- [m.V1]: a.env.ingestApiUrl,
2421
- [m.V2]: a.env.ingestGpuApiUrl
2422
- })[e], W = {
3262
+ }, c = (e) => e === m.Drone ? (a.env.ingestDroneApi || "").split(";") : e === m.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2423
3263
  drone: {
2424
3264
  createUpload(e, r) {
2425
3265
  return a.post(
2426
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3266
+ `${c(m.Drone)[0]}/drone/${e}/upload`,
2427
3267
  null,
2428
3268
  { params: r }
2429
3269
  );
2430
3270
  },
2431
- reprocessDrone(e, r) {
2432
- return a.post(
2433
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2434
- null,
2435
- { params: r }
3271
+ async reprocessDrone(e, r = {}) {
3272
+ const t = await T.utils.chooseIngestApiUrl(
3273
+ m.Drone
2436
3274
  );
3275
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2437
3276
  },
2438
3277
  getDrones(e) {
2439
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3278
+ return a.get(
3279
+ `${c(m.Drone)[0]}/drone/uploads/`,
3280
+ e
3281
+ );
2440
3282
  },
2441
3283
  getArchive(e, r) {
2442
3284
  return a.get(
2443
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3285
+ `${c(m.Drone)[0]}/drone/uploads/archive/${e}`,
2444
3286
  {
2445
3287
  params: r
2446
3288
  }
2447
3289
  );
2448
3290
  },
2449
3291
  deleteUpload(e) {
2450
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3292
+ return a.delete(
3293
+ `${c(m.Drone)[0]}/drone/uploads/${e}`
3294
+ );
2451
3295
  },
2452
3296
  prepareForUpload(e, r) {
2453
3297
  return a.put(
2454
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3298
+ `${c(m.Drone)[0]}/drone/${e}/prepare-upload`,
2455
3299
  null,
2456
3300
  { params: r }
2457
3301
  );
2458
3302
  },
2459
- upload(e, r, t) {
2460
- return a.put(
2461
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2462
- t,
2463
- { params: r }
3303
+ async upload(e, r, t) {
3304
+ const o = await T.utils.chooseIngestApiUrl(
3305
+ m.Drone
2464
3306
  );
3307
+ return a.put(`${o}/drone/${e}/upload`, t, {
3308
+ params: r
3309
+ });
2465
3310
  },
2466
3311
  verifyToken(e, r) {
2467
3312
  return a.get(
2468
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3313
+ `${c(m.Drone)[0]}/drone/uploads/${e}/verify`,
2469
3314
  {
2470
3315
  params: { token: r.token }
2471
3316
  }
2472
3317
  );
2473
3318
  },
2474
- calculateMeasuringOperation(e, r) {
3319
+ calculateMeasuringOperation(e, r, t = c(m.Drone)[0]) {
2475
3320
  return a.post(
2476
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3321
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2477
3322
  r
2478
3323
  );
2479
3324
  },
2480
3325
  inspectionTool(e, r) {
2481
3326
  return a.post(
2482
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3327
+ `${c(m.Drone)[0]}/drone/api/${e}/inspection-tool`,
2483
3328
  r
2484
3329
  );
2485
3330
  },
2486
- isInspectionEnabled(e, r) {
3331
+ isInspectionEnabled(e, r = {}) {
2487
3332
  return a.post(
2488
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3333
+ `${c(m.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2489
3334
  null,
2490
3335
  { params: r }
2491
3336
  );
2492
3337
  },
2493
- getDroneQueueSize(e = m.V1) {
2494
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2495
- return a.get(`${r}/drone/queue`);
3338
+ getDroneQueueSize(e) {
3339
+ return a.get(`${e}/drone/queue`);
2496
3340
  },
2497
3341
  getFlightImages(e, r) {
2498
3342
  return a.get(
2499
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3343
+ `${c(m.Drone)[0]}/drone/api/${e}/flight-images`,
2500
3344
  {
2501
3345
  params: r
2502
3346
  }
2503
3347
  );
2504
3348
  },
2505
- checkFlightAvailableFeatures(e, r) {
2506
- return a.get(
2507
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2508
- {
2509
- params: r
2510
- }
2511
- );
3349
+ async checkFlightAvailableFeatures(e, r) {
3350
+ var p;
3351
+ const t = c(m.Drone), i = (await Promise.all(
3352
+ t.map(async (d) => {
3353
+ try {
3354
+ return { ...await a.get(
3355
+ `${d}/drone/api/${e}/flight-available-features`,
3356
+ { params: r }
3357
+ ), ingestUrl: d };
3358
+ } catch {
3359
+ return null;
3360
+ }
3361
+ })
3362
+ )).filter(Boolean), g = i.find((d) => d.isVolumeToolEnabled);
3363
+ return (p = g != null ? g : i[0]) != null ? p : {};
2512
3364
  }
2513
3365
  },
2514
3366
  assets360: {
2515
- get360Assets(e, r = m.V1) {
2516
- return a.get(`${h(r)}/360/assets/`, e);
3367
+ get360Assets(e) {
3368
+ const r = c(m.ThreeSixty)[0];
3369
+ return a.get(`${r}/360/assets/`, e);
2517
3370
  },
2518
- get360AssetsCounts(e, r, t = m.V2) {
2519
- const s = t === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2520
- return a.get(`${s}/360/assets/${e}/counts`, {
3371
+ get360AssetsCounts(e, r) {
3372
+ const t = c(m.ThreeSixty)[0];
3373
+ return a.get(`${t}/360/assets/${e}/counts`, {
2521
3374
  params: r
2522
3375
  });
2523
3376
  },
2524
- get360AssetLink(e, r, t, s, i, n) {
3377
+ get360AssetLink(e, r, t, o, i, g) {
2525
3378
  return a.get(
2526
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${i}`,
3379
+ `${c(m.ThreeSixty)[0]}/360/assets/${e}/${r}/${i}`,
2527
3380
  {
2528
- params: { marker: n, assetType: s, name: t }
3381
+ params: { marker: g, assetType: o, name: t }
2529
3382
  }
2530
3383
  );
2531
3384
  },
2532
- update360(e, r, t = m.V1) {
2533
- return a.put(`${h(t)}/360/assets/${e}`, r);
3385
+ update360(e, r) {
3386
+ const t = c(m.ThreeSixty)[0];
3387
+ return a.put(`${t}/360/assets/${e}`, r);
2534
3388
  },
2535
- update360ByProjectDateName(e, r, t, s, i = m.V2) {
3389
+ update360ByProjectDateName(e, r, t, o) {
3390
+ const i = c(m.ThreeSixty)[0];
2536
3391
  return a.put(
2537
- `${h(i)}/360/assets/${e}/${r}/${t}`,
2538
- s
3392
+ `${i}/360/assets/${e}/${r}/${t}`,
3393
+ o
2539
3394
  );
2540
3395
  },
2541
3396
  deleteUpload(e) {
2542
- return a.delete(`${a.env.ingestApiUrl}/360/assets/${e}`);
3397
+ const r = c(m.ThreeSixty)[0];
3398
+ return a.delete(`${r}/360/assets/${e}`);
2543
3399
  },
2544
3400
  getArchive(e, r) {
2545
- return a.get(`${a.env.ingestApiUrl}/360/assets/archive/${e}`, {
3401
+ const t = c(m.ThreeSixty)[0];
3402
+ return a.get(`${t}/360/assets/archive/${e}`, {
2546
3403
  params: r
2547
3404
  });
2548
3405
  },
2549
- createUpload(e, r, t = m.V1) {
2550
- return a.post(
2551
- `${h(t)}/360/${e}/upload`,
2552
- null,
2553
- { params: r }
3406
+ createUpload(e, r) {
3407
+ const t = c(m.ThreeSixty)[0];
3408
+ return a.post(`${t}/360/${e}/upload`, null, {
3409
+ params: r
3410
+ });
3411
+ },
3412
+ async upload(e, r, t) {
3413
+ const o = await T.utils.chooseIngestApiUrl(
3414
+ m.ThreeSixty
3415
+ );
3416
+ return a.put(`${o}/360/${e}/upload`, t, {
3417
+ params: r,
3418
+ headers: {
3419
+ "X-Processing-Source": "DASHBOARD"
3420
+ }
3421
+ });
3422
+ },
3423
+ async reprocess360(e) {
3424
+ const r = await T.utils.chooseIngestApiUrl(
3425
+ m.ThreeSixty
2554
3426
  );
3427
+ return a.put(`${r}/360/${e}/reprocess`);
2555
3428
  },
2556
- upload(e, r, t, s = m.V1) {
2557
- return a.put(
2558
- `${h(s)}/360/${e}/upload`,
2559
- t,
2560
- { params: r }
3429
+ drawingExists(e) {
3430
+ var t;
3431
+ const r = c(m.ThreeSixty)[0];
3432
+ return a.get(
3433
+ `${r}/360/floors/exists?${u(
3434
+ (t = e.params) != null ? t : e
3435
+ )}`
2561
3436
  );
2562
3437
  },
2563
- getDrawings(e, r = m.V1) {
2564
- var s;
2565
- const t = r === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3438
+ getDrawings(e) {
3439
+ var t;
3440
+ const r = c(m.ThreeSixty)[0];
2566
3441
  return a.get(
2567
- `${t}/360/floors/?${g((s = e.params) != null ? s : e)}`
3442
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
3443
+ e.config
2568
3444
  );
2569
3445
  },
2570
- getDrawingById(e, r, t = m.V2) {
2571
- const s = t === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2572
- return a.get(`${s}/360/floors/${e}?project_id=${r}`);
3446
+ getDrawingById(e, r) {
3447
+ const t = c(m.ThreeSixty)[0];
3448
+ return a.get(
3449
+ `${t}/360/floors/${e}?project_id=${r}`
3450
+ );
2573
3451
  },
2574
- updateDrawing(e, r, t, s = m.V2) {
2575
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3452
+ updateDrawing(e, r, t) {
3453
+ const o = c(m.ThreeSixty)[0];
2576
3454
  return a.put(
2577
- `${i}/360/floors/${e}?project_id=${r}`,
3455
+ `${o}/360/floors/${e}?project_id=${r}`,
2578
3456
  t
2579
3457
  );
2580
3458
  },
2581
- deleteDrawing(e, r = m.V2) {
2582
- const t = r === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2583
- return a.delete(`${t}/360/floors/${e}`);
3459
+ deleteDrawing(e) {
3460
+ const r = c(m.ThreeSixty)[0];
3461
+ return a.delete(`${r}/360/floors/${e}`);
3462
+ },
3463
+ restoreDrawing(e) {
3464
+ const r = c(m.ThreeSixty)[0];
3465
+ return a.post(`${r}/360/floors/${e}/restore`);
2584
3466
  },
2585
- transferWalks(e, r, t, s = m.V1) {
2586
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3467
+ transferWalks(e, r, t) {
3468
+ const o = c(m.ThreeSixty)[0];
2587
3469
  return a.post(
2588
- `${i}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3470
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2589
3471
  );
2590
3472
  },
2591
- createDrawing(e, r, t, s = m.V2) {
2592
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3473
+ createDrawing(e, r, t) {
3474
+ const o = c(m.ThreeSixty)[0];
2593
3475
  return a.post(
2594
- `${i}/360/floors/${e}?created_by=${t}`,
3476
+ `${o}/360/floors/${e}?created_by=${t}`,
2595
3477
  r
2596
3478
  );
2597
3479
  },
2598
- fetchDrawingOverlay(e, r, t, s = m.V2) {
2599
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2600
- return a.get(`${i}/360/floors/${e}/overlay`, {
3480
+ fetchDrawingOverlay(e, r, t) {
3481
+ const o = c(m.ThreeSixty)[0];
3482
+ return a.get(`${o}/360/floors/${e}/overlay`, {
2601
3483
  params: r,
2602
3484
  onDownloadProgress: t
2603
3485
  });
2604
3486
  },
2605
- generate360map(e, r, t = m.V2) {
3487
+ getFloorArchive(e) {
3488
+ const r = c(m.ThreeSixty)[0];
3489
+ return a.get(`${r}/360/floors/${e}/archive`);
3490
+ },
3491
+ generate360map(e, r) {
3492
+ const t = c(m.ThreeSixty)[0];
2606
3493
  return a.post(
2607
- `${h(t)}/360/api/${e}/generate-360-map`,
3494
+ `${t}/360/api/${e}/generate-360-map`,
2608
3495
  r
2609
3496
  );
2610
3497
  },
2611
- get360QueueSize(e = m.V1) {
2612
- return a.get(`${h(e)}/360/queue`);
3498
+ get360QueueSize(e, r = {}) {
3499
+ return a.get(`${e}/360/queue`, { params: r });
2613
3500
  }
2614
3501
  },
2615
3502
  bim: {
2616
3503
  createUpload(e, r) {
2617
3504
  return a.post(
2618
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3505
+ `${c(m.Drone)[0]}/bim/${e}/upload`,
2619
3506
  null,
2620
3507
  { params: r }
2621
3508
  );
2622
3509
  },
2623
3510
  getBIMs(e) {
2624
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3511
+ return a.get(
3512
+ `${c(m.Drone)[0]}/bim/uploads/`,
3513
+ e
3514
+ );
2625
3515
  },
2626
3516
  getArchive(e) {
2627
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3517
+ return a.get(
3518
+ `${c(m.Drone)[0]}/bim/uploads/archive/${e}`
3519
+ );
2628
3520
  },
2629
3521
  deleteUpload(e) {
2630
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3522
+ return a.delete(
3523
+ `${c(m.Drone)[0]}/bim/uploads/${e}`
3524
+ );
2631
3525
  },
2632
3526
  upload(e, r, t) {
2633
3527
  return a.put(
2634
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3528
+ `${c(m.Drone)[0]}/bim/${e}/upload`,
2635
3529
  t,
2636
3530
  { params: r }
2637
3531
  );
2638
3532
  }
2639
3533
  },
3534
+ webhook: {
3535
+ notifyBimUpdated(e, r) {
3536
+ const t = {
3537
+ eventName: "bim.updated",
3538
+ projectId: e,
3539
+ data: {
3540
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3541
+ bimIdentifier: r
3542
+ }
3543
+ };
3544
+ return a.post(
3545
+ `${c(m.Drone)[0]}/webhook/`,
3546
+ t
3547
+ );
3548
+ }
3549
+ },
2640
3550
  mobileCapture: {
2641
- getProjectMobileAssets(e, r = {}, t = m.V1) {
2642
- return a.get(`${h(t)}/mobile/assets/`, {
3551
+ getProjectMobileAssets(e, r = {}) {
3552
+ const t = c(m.ThreeSixty)[0];
3553
+ return a.get(`${t}/mobile/assets/`, {
2643
3554
  params: e,
2644
3555
  ...r
2645
3556
  });
2646
3557
  },
2647
- getMobileAssetPhoto(e, r, t = m.V1) {
2648
- return a.get(`${h(t)}/mobile/assets/${e}`, {
3558
+ getMobileAssetPhoto(e, r) {
3559
+ const t = c(m.ThreeSixty)[0];
3560
+ return a.get(`${t}/mobile/assets/${e}`, {
2649
3561
  params: r
2650
3562
  });
2651
3563
  },
2652
- deleteAsset(e, r = m.V1) {
2653
- return a.delete(
2654
- `${h(r)}/mobile/assets/${e}`
2655
- );
3564
+ deleteAsset(e) {
3565
+ const r = c(m.ThreeSixty)[0];
3566
+ return a.delete(`${r}/mobile/assets/${e}`);
2656
3567
  }
2657
3568
  },
2658
3569
  utils: {
2659
3570
  async loadAllAssetsInQueue() {
2660
3571
  try {
2661
- const e = [m.V1, m.V2], r = [];
2662
- for (const t of e) {
2663
- const [s, i] = await Promise.all([
2664
- W.assets360.get360QueueSize(t),
2665
- W.drone.getDroneQueueSize(t)
2666
- ]), n = [
2667
- s == null ? void 0 : s.assets360,
2668
- i == null ? void 0 : i.assetsDrone
2669
- ].flatMap(
2670
- (l) => (l || []).map((p) => ({
2671
- ...p,
2672
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2673
- }))
2674
- );
2675
- r.push(...n);
2676
- }
2677
- return r.sort(
2678
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3572
+ const e = c(m.Drone), r = c(m.ThreeSixty), t = [], o = await Promise.all(
3573
+ e.map(async (g) => {
3574
+ const p = await T.drone.getDroneQueueSize(g), d = T.utils.getIngestVersion(g);
3575
+ return ((p == null ? void 0 : p.assetsDrone) || []).map((h) => ({
3576
+ ...h,
3577
+ ingestVersion: d.toUpperCase()
3578
+ }));
3579
+ })
3580
+ ), i = await Promise.all(
3581
+ r.map(async (g) => {
3582
+ const p = await T.assets360.get360QueueSize(g), d = T.utils.getIngestVersion(g);
3583
+ return ((p == null ? void 0 : p.assets360) || []).map((h) => ({
3584
+ ...h,
3585
+ ingestVersion: d.toUpperCase()
3586
+ }));
3587
+ })
3588
+ );
3589
+ return t.push(...o.flat(), ...i.flat()), t.sort(
3590
+ (g, p) => new Date(g.updatedAt).getTime() - new Date(p.updatedAt).getTime()
2679
3591
  );
2680
3592
  } catch (e) {
2681
3593
  return console.error("Error:", e), [];
2682
3594
  }
3595
+ },
3596
+ getIngestVersion(e) {
3597
+ var t;
3598
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3599
+ },
3600
+ async chooseIngestApiUrl(e) {
3601
+ const r = c(e);
3602
+ return (await Promise.all(
3603
+ r.map(async (o) => {
3604
+ var i, g;
3605
+ try {
3606
+ let p = 0;
3607
+ if (e === m.Drone) {
3608
+ const d = await T.drone.getDroneQueueSize(o);
3609
+ p = ((i = d == null ? void 0 : d.assetsDrone) == null ? void 0 : i.length) || 0;
3610
+ } else {
3611
+ const d = await T.assets360.get360QueueSize(
3612
+ o
3613
+ );
3614
+ p = ((g = d == null ? void 0 : d.assets360) == null ? void 0 : g.length) || 0;
3615
+ }
3616
+ return { ingestUrl: o, queue: p };
3617
+ } catch {
3618
+ return { ingestUrl: o, queue: 1 / 0 };
3619
+ }
3620
+ })
3621
+ )).reduce(
3622
+ (o, i) => i.queue < o.queue ? i : o
3623
+ ).ingestUrl;
2683
3624
  }
2684
3625
  }
2685
- }, Qt = {
3626
+ }, vo = {
2686
3627
  users: {
2687
3628
  login({
2688
3629
  apiUrl: e,
2689
3630
  username: r,
2690
3631
  password: t
2691
- }, s = {}) {
3632
+ }, o = {}) {
2692
3633
  return a.post(
2693
3634
  `${e}/api/users/login`,
2694
3635
  {
2695
3636
  username: r,
2696
3637
  password: t
2697
3638
  },
2698
- s
3639
+ o
2699
3640
  );
2700
3641
  }
2701
3642
  },
@@ -2722,31 +3663,31 @@ const qt = {
2722
3663
  apiUrl: e,
2723
3664
  deviceId: r,
2724
3665
  token: t
2725
- }, s = {}) {
3666
+ }, o = {}) {
2726
3667
  return a.get(`${e}/api/devices/${r}`, {
2727
3668
  headers: {
2728
3669
  Authorization: `Bearer ${t}`
2729
3670
  },
2730
- ...s
3671
+ ...o
2731
3672
  });
2732
3673
  },
2733
3674
  getAvailableRecordings({
2734
3675
  apiUrl: e,
2735
3676
  deviceId: r,
2736
3677
  token: t
2737
- }, s = {}) {
3678
+ }, o = {}) {
2738
3679
  return a.get(`${e}/api/devices/${r}/recordings`, {
2739
3680
  headers: {
2740
3681
  Authorization: `Bearer ${t}`
2741
3682
  },
2742
- ...s
3683
+ ...o
2743
3684
  });
2744
3685
  },
2745
3686
  downloadFootage({
2746
3687
  apiUrl: e,
2747
3688
  deviceId: r,
2748
3689
  token: t,
2749
- startDate: s,
3690
+ startDate: o,
2750
3691
  duration: i
2751
3692
  }) {
2752
3693
  return a.get(`${e}/api/devices/${r}/footage`, {
@@ -2754,14 +3695,14 @@ const qt = {
2754
3695
  Authorization: `Bearer ${t}`
2755
3696
  },
2756
3697
  params: {
2757
- startDate: s,
3698
+ startDate: o,
2758
3699
  duration: i
2759
3700
  },
2760
3701
  responseType: "blob"
2761
3702
  });
2762
3703
  }
2763
3704
  }
2764
- }, Yt = {
3705
+ }, Wo = {
2765
3706
  roles: {
2766
3707
  async get(e) {
2767
3708
  return await a.get("/admin/authz/roles", e);
@@ -2787,22 +3728,33 @@ const qt = {
2787
3728
  async getRoleUsers(e) {
2788
3729
  return a.get(`/admin/authz/roles/${e}/users`);
2789
3730
  },
2790
- async assignUsers(e, r, t) {
3731
+ async assignUsers(e, r, t = "evercam-admin") {
2791
3732
  return a.post(`/admin/authz/roles/${e}/users`, {
2792
3733
  emails: r,
2793
- resource_id: t
3734
+ resourceId: t
2794
3735
  });
2795
3736
  },
2796
- async unassignUsers(e, r, t) {
2797
- return a.delete(`/admin/authz/roles/${e}/users`, {
3737
+ getUserRoles(e, r) {
3738
+ return a.get("/users/roles", {
2798
3739
  params: {
2799
- emails: r,
2800
- resource_id: t
3740
+ resourceId: e || null,
3741
+ resourceType: r || null
2801
3742
  }
2802
3743
  });
3744
+ }
3745
+ },
3746
+ projectRoles: {
3747
+ get(e) {
3748
+ return a.get(`/projects/${e}/roles`);
3749
+ },
3750
+ create(e, r) {
3751
+ return a.post(`/projects/${e}/roles`, r);
2803
3752
  },
2804
- getUserRoles() {
2805
- return a.get("/users/roles");
3753
+ update(e, r, t) {
3754
+ return a.patch(`/projects/${e}/roles/${r}`, t);
3755
+ },
3756
+ delete(e, r) {
3757
+ return a.delete(`/projects/${e}/roles/${r}`);
2806
3758
  }
2807
3759
  },
2808
3760
  scopes: {
@@ -2821,219 +3773,260 @@ const qt = {
2821
3773
  }
2822
3774
  };
2823
3775
  export {
2824
- te as AconexDocumentDataType,
2825
- se as AconexFormComponentType,
2826
- ie as AconexMandatoryStatus,
2827
- tt as ActiveUsersMetric,
2828
- Ht as AdminApi,
2829
- Wt as AiApi,
2830
- ne as AnalyticsEvent,
2831
- oe as AnalyticsEventPageId,
2832
- le as AnprDirection,
2833
- ge as AnprEventStatus,
2834
- va as AuditLogActionType,
2835
- Yt as AuthzApi,
2836
- ur as AutomationDialogType,
2837
- rt as AutomationProvider,
2838
- at as AutomationType,
2839
- $e as BIMLayerTypes,
2840
- lt as BadGatewayError,
2841
- st as BadRequestError,
2842
- Ka as BimCompareWidgetSettingsKeys,
2843
- de as BimModelType,
2844
- Re as BimType,
2845
- Se as BimUploadStatus,
2846
- $r as BrainTool,
2847
- ke as CameraFeatureFlag,
2848
- we as CameraModel,
2849
- et as CameraRegion,
2850
- Te as CameraStatus,
2851
- he as ClipsCategory,
2852
- br as CloudRecordingDuration,
2853
- Tr as CloudRecordingFrequency,
2854
- kr as CloudRecordingStatus,
2855
- ha as CommentsLabel,
2856
- ua as CommentsScope,
2857
- Ja as CommonWidgetSettingsKeys,
2858
- Ue as CompareStatus,
2859
- mt as ConflictError,
2860
- j as Connector,
2861
- xe as CopilotChatProvider,
2862
- Ne as CopilotLayout,
2863
- _e as CopilotMessageAuthor,
2864
- De as CopilotMessageType,
2865
- He as CopilotMissingFieldComponent,
2866
- Fe as CopilotMissingFieldName,
2867
- ze as CopilotMissingFieldType,
2868
- je as CopilotMissingFieldsLabels,
2869
- Ve as CopilotProvider,
2870
- Oe as CopilotSocketEvent,
2871
- Be as CopilotStepId,
2872
- ve as CopilotSuggestion,
2873
- Ge as CopilotToolId,
2874
- ya as CountryCode,
2875
- Ia as CountryId,
2876
- Xa as DelayUnit,
2877
- Xe as DetectionLabel,
2878
- Sa as DetectionModel,
2879
- Z as DownloadFileType,
2880
- We as DroneUrlParams,
2881
- Me as DuplicatedCameraFields,
2882
- Yr as EDistortImageModes,
2883
- Kr as EMapTypes,
2884
- Ar as EMarkers,
2885
- Er as EPageType,
2886
- Cr as EPaths,
2887
- Ir as EProjectItems,
2888
- yr as ERoles,
2889
- d as ErrorCode,
2890
- u as ErrorType,
2891
- Xt as EvercamApi,
2892
- Le as EvercamApiErrorCode,
2893
- qt as EvercamLabsApi,
2894
- Qt as ExNvrApi,
2895
- ra as ExNvrDeviceState,
2896
- ea as ExNvrFootageAvailableStatus,
2897
- aa as ExNvrMetricId,
2898
- fa as FeedbackContext,
2899
- gt as ForbiddenError,
2900
- Qe as GateReportDataSource,
2901
- Ze as GateReportDetectionType,
2902
- Ye as GateReportEventDirection,
2903
- qe as GateReportEventType,
2904
- Ke as GateReportExportType,
2905
- Ee as GateReportProcessingStatus,
2906
- Ae as GateReportROIShapeType,
2907
- L as GateReportVehicleType,
2908
- nt as GatewayTimeoutError,
2909
- ja as GrafanaMetricId,
2910
- Ce as HddFormat,
2911
- ar as HddSize,
2912
- ye as HddState,
2913
- Pe as HddStatus,
2914
- Ie as HddType,
2915
- xt as HlsError,
2916
- ka as InfoPage,
2917
- W as IngestApi,
2918
- tr as IngestProcessingStatus,
2919
- m as IngestVersions,
2920
- be as IntensityChangeColors,
2921
- pt as InternalServerError,
2922
- Da as KitAlarm,
2923
- Oa as KitChartType,
2924
- Ba as KitMetricId,
2925
- q as KitMetricPeriod,
2926
- _a as KitRegion,
2927
- Ua as KitStatus,
2928
- Va as KitStorageTransport,
2929
- Ya as LiveViewWidgetSettingsKeys,
2930
- sr as MapType,
2931
- pe as MediaFileType,
2932
- ce as MediaStatus,
2933
- ue as MediaStatusId,
2934
- me as MediaType,
2935
- Ta as MobileDevice,
2936
- it as NotFoundError,
2937
- or as NotificationType,
2938
- nr as NvrDeviceType,
2939
- lr as NvrHddStatus,
2940
- fe as NvrModel,
2941
- Gt as OnRequestExpiredTokenInterceptor,
2942
- ae as PathMarkerColor,
2943
- Jr as PerformanceStatus,
2944
- ma as Persona,
2945
- Hr as PowerSchedule,
2946
- Gr as PowerType,
2947
- da as PpeLabel,
2948
- gr as ProcoreObservationCustomFieldDataType,
2949
- mr as ProcoreObservationDefaultFieldNames,
2950
- cr as ProcoreToolUserAccessLevelIds,
2951
- pr as ProcoreTools,
2952
- ir as ProcoreType,
2953
- dr as ProjectArchiveTier,
2954
- Sr as ProjectFeatureFlag,
2955
- hr as ProjectStatus,
2956
- Jt as PtzApi,
2957
- Ma as PtzDirection,
2958
- Qa as RecordingsWidgetSettingsKeys,
2959
- Rr as RoiDirection,
2960
- Mr as RoiShapeType,
2961
- Pr as RoiType,
2962
- Fr as RouterStatus,
2963
- Je as SegmentLabel,
2964
- zr as SharePermission,
2965
- Lr as ShareRequestStatus,
2966
- Wr as ShareType,
2967
- Zr as ShareVisibility,
2968
- Ga as SiteAnalyticsMode,
2969
- Fa as SmartSearchCondition,
2970
- La as SmartSearchOperatorType,
2971
- Ha as SmartSearchQueryComponentType,
2972
- qa as SmartSearchQueryConditionTypes,
2973
- Za as SmartSearchQueryOperators,
2974
- Wa as SmartSearchQueryReturnType,
2975
- za as SmartSearchQueryTargets,
2976
- qr as SmsCommands,
2977
- Xr as SmsStatuses,
2978
- Nt as SnapshotError,
2979
- fr as SnapshotExtractionInterval,
2980
- xa as SnapshotExtractionStatus,
2981
- Na as SnapshotExtractionType,
2982
- Pa as TaskStatus,
2983
- Ea as ThreeSixtyKeys,
2984
- sa as TimelapseDuration,
2985
- la as TimelapseExportStep,
2986
- oa as TimelapsePeriod,
2987
- ia as TimelapseScheduleType,
2988
- ta as TimelapseStatus,
2989
- na as TimelapseType,
2990
- Dr as Timeline360UrlParams,
2991
- vr as TimelineAnprUrlParams,
2992
- Or as TimelineBimUrlParams,
2993
- Nr as TimelineCommentsUrlParams,
2994
- Br as TimelineDroneUrlParams,
2995
- Vr as TimelineExNvrRecordingsUrlParams,
2996
- jr as TimelineMediaUrlParams,
2997
- xr as TimelineMobileCaptureUrlParams,
2998
- wa as TimelinePrecision,
2999
- _r as TimelineUrlParam,
3000
- ot as UnauthorizedError,
3001
- $a as UnitSystem,
3002
- Ur as UrlParamValue,
3003
- ga as UserFeatureFlag,
3004
- V as VEHICLE_TYPE_IDS,
3005
- Ft as VideoWallApi,
3006
- pa as VideoWallItemType,
3007
- Aa as VideoWallWidgetSettingsKeys,
3008
- wr as VpnServer,
3009
- rr as WarehouseLocation,
3010
- er as WarehouseLocationIndex,
3011
- Zt as WeatherApi,
3012
- ca as WeatherProvider,
3013
- Qr as WebGLExtensions,
3014
- Lt as WebRtcApi,
3015
- Ca as WidgetType,
3016
- vt as WidgetTypesByResource,
3017
- Ra as ZoomDirection,
3018
- y as _360AssetLabel,
3019
- I as _360AssetType,
3020
- ee as _360Feature,
3021
- re as _360IntergrationType,
3022
- C as _360UrlParams,
3023
- zt as _3dFirebaseApi,
3024
- ba as _3dViewer,
3776
+ fo as AI_APP_CONFIGS,
3777
+ Do as AI_PROVIDER_CONFIGS,
3778
+ ne as AconexDocumentDataType,
3779
+ le as AconexFormComponentType,
3780
+ pe as AconexIdentifiers,
3781
+ ge as AconexMandatoryStatus,
3782
+ jt as ActiveUsersMetric,
3783
+ jo as AdminApi,
3784
+ Fo as AiApi,
3785
+ Ot as AiApp,
3786
+ Vt as AiConfigsKeyDialogMode,
3787
+ Gt as AiConfigsPromptDialogMode,
3788
+ Ht as AiPromptModel,
3789
+ Nt as AiProvider,
3790
+ ce as AnalyticsEvent,
3791
+ me as AnalyticsEventPageId,
3792
+ ue as AnprDirection,
3793
+ de as AnprEventStatus,
3794
+ Se as AnprExtractionSaveMode,
3795
+ he as AnprExtractionStatus,
3796
+ Wt as AppRuntimeState,
3797
+ et as AuditLogActionType,
3798
+ rt as AuditLogEntity,
3799
+ Wo as AuthzApi,
3800
+ _t as AutomationConfigStep,
3801
+ Ur as AutomationDialogType,
3802
+ Rt as AutomationProvider,
3803
+ Pt as AutomationType,
3804
+ Re as BIMLayerTypes,
3805
+ Xt as BadGatewayError,
3806
+ xt as BadRequestError,
3807
+ Tt as BimCompareWidgetSettingsKeys,
3808
+ fe as BimModelType,
3809
+ ve as BimType,
3810
+ De as BimUploadStatus,
3811
+ Gr as BrainTool,
3812
+ Oe as CameraFeatureFlag,
3813
+ Ge as CameraModel,
3814
+ Dt as CameraRegion,
3815
+ Be as CameraStatus,
3816
+ we as ClipsCategory,
3817
+ Hr as CloudRecordingDuration,
3818
+ ko as CloudRecordingDurationLabel,
3819
+ Vr as CloudRecordingFrequency,
3820
+ vr as CloudRecordingStatus,
3821
+ Ga as CommentsLabel,
3822
+ Na as CommentsScope,
3823
+ ht as CommonWidgetSettingsKeys,
3824
+ We as CompareStatus,
3825
+ qt as ConflictError,
3826
+ F as Connector,
3827
+ ja as ContactRole,
3828
+ Je as CopilotChatProvider,
3829
+ Ye as CopilotLayout,
3830
+ xe as CopilotMessageAuthor,
3831
+ ze as CopilotMessageType,
3832
+ Ce as CopilotMissingFieldComponent,
3833
+ Ee as CopilotMissingFieldName,
3834
+ Ae as CopilotMissingFieldType,
3835
+ Ze as CopilotMissingFieldsLabels,
3836
+ Qe as CopilotProvider,
3837
+ Xe as CopilotSocketEvent,
3838
+ Le as CopilotStepId,
3839
+ qe as CopilotSuggestion,
3840
+ Ke as CopilotToolId,
3841
+ ft as CountryCode,
3842
+ Mt as CountryId,
3843
+ dt as DelayUnit,
3844
+ sr as DetectionLabel,
3845
+ Ha as DetectionModel,
3846
+ X as DownloadFileType,
3847
+ ye as DroneMarkerType,
3848
+ rr as DroneProvider,
3849
+ Ie as DroneTagType,
3850
+ er as DroneUrlParams,
3851
+ He as DuplicatedCameraFields,
3852
+ pa as EDistortImageModes,
3853
+ ma as EMapTypes,
3854
+ ca as EMarkers,
3855
+ ie as EModelsType,
3856
+ ua as EPageType,
3857
+ da as EPaths,
3858
+ ha as EProjectItems,
3859
+ Sa as ERoles,
3860
+ k as ErrorCode,
3861
+ $ as ErrorType,
3862
+ Vo as EvercamApi,
3863
+ ar as EvercamApiErrorCode,
3864
+ Go as EvercamLabsApi,
3865
+ vo as ExNvrApi,
3866
+ ka as ExNvrDeviceState,
3867
+ Ta as ExNvrFootageAvailableStatus,
3868
+ ba as ExNvrMetricId,
3869
+ Za as FeedbackContext,
3870
+ Qt as ForbiddenError,
3871
+ Ue as ForgeBimDialogTrigger,
3872
+ _e as ForgeBimFileRejectionReason,
3873
+ Pe as ForgeBimUploadMethod,
3874
+ je as ForgeBimUploadStage,
3875
+ nr as GateReportDataSource,
3876
+ tr as GateReportDetectionType,
3877
+ lr as GateReportEventDirection,
3878
+ or as GateReportEventType,
3879
+ gr as GateReportExportType,
3880
+ pr as GateReportProcessingStatus,
3881
+ Z as GateReportVehicleType,
3882
+ Zt as GatewayTimeoutError,
3883
+ Aa as GrafanaMetricId,
3884
+ mr as HddFormat,
3885
+ Sr as HddSize,
3886
+ ur as HddState,
3887
+ Ve as HddStatus,
3888
+ cr as HddType,
3889
+ Ro as HlsError,
3890
+ La as InfoPage,
3891
+ T as IngestApi,
3892
+ $r as IngestProcessingStatus,
3893
+ m as IngestTypes,
3894
+ kr as IngestVersions,
3895
+ Fe as IntensityChange,
3896
+ $o as IntensityChangeColorMap,
3897
+ Jt as InternalServerError,
3898
+ ta as InviteStatus,
3899
+ Ca as KitAlarm,
3900
+ Ia as KitChartType,
3901
+ Ea as KitMetricId,
3902
+ Q as KitMetricPeriod,
3903
+ Ka as KitRegion,
3904
+ Ya as KitStatus,
3905
+ ya as KitStorageTransport,
3906
+ $t as LiveViewWidgetSettingsKeys,
3907
+ br as MapType,
3908
+ Me as MediaCategory,
3909
+ Te as MediaFileType,
3910
+ ke as MediaStatus,
3911
+ be as MediaStatusId,
3912
+ $e as MediaType,
3913
+ Tr as MobileAssetsType,
3914
+ xa as MobileDevice,
3915
+ zt as NotFoundError,
3916
+ Mr as NotificationType,
3917
+ fr as NvrDeviceType,
3918
+ Dr as NvrHddStatus,
3919
+ Ne as NvrModel,
3920
+ _o as OnRequestExpiredTokenInterceptor,
3921
+ va as Operator,
3922
+ se as PathMarkerColor,
3923
+ na as PerformanceStatus,
3924
+ Ua as Persona,
3925
+ ga as PlannerUrlParams,
3926
+ ea as PowerSchedule,
3927
+ yr as PowerType,
3928
+ Va as PpeLabel,
3929
+ Rr as ProcoreObservationCustomFieldDataType,
3930
+ Pr as ProcoreObservationDefaultFieldNames,
3931
+ jr as ProcoreToolUserAccessLevelIds,
3932
+ _r as ProcoreTools,
3933
+ wr as ProcoreType,
3934
+ Fr as ProjectArchiveTier,
3935
+ Or as ProjectFeatureFlag,
3936
+ Br as ProjectStatus,
3937
+ $a as ProjectStorageProvider,
3938
+ Nr as ProjectStorageStatus,
3939
+ Ho as PtzApi,
3940
+ qa as PtzDirection,
3941
+ St as RecordingsWidgetSettingsKeys,
3942
+ Zr as RoiDirection,
3943
+ Lr as RoiShapeType,
3944
+ zr as RoiType,
3945
+ Ut as RoleResourceType,
3946
+ aa as RouterScanInputMode,
3947
+ ra as RouterStatus,
3948
+ ir as SegmentLabel,
3949
+ oa as ShareVisibility,
3950
+ st as SiteAnalyticsMode,
3951
+ ut as SiteAnalyticsViewType,
3952
+ Bt as SiteViewSoftwareType,
3953
+ Ft as SiteViewerType,
3954
+ it as SmartSearchComponentType,
3955
+ nt as SmartSearchCondition,
3956
+ ct as SmartSearchConditionTypes,
3957
+ pt as SmartSearchOperatorType,
3958
+ mt as SmartSearchOperators,
3959
+ gt as SmartSearchReturnType,
3960
+ lt as SmartSearchTargets,
3961
+ sa as SmsCommands,
3962
+ ia as SmsStatuses,
3963
+ Po as SnapshotError,
3964
+ Wr as SnapshotExtractionInterval,
3965
+ at as SnapshotExtractionStatus,
3966
+ tt as SnapshotExtractionType,
3967
+ ot as SnapshotTransferStatus,
3968
+ Qa as TaskStatus,
3969
+ bt as ThreeSixtyKeys,
3970
+ Ma as TimelapseDuration,
3971
+ Pa as TimelapseExportStep,
3972
+ Da as TimelapsePeriod,
3973
+ fa as TimelapseScheduleType,
3974
+ wa as TimelapseStatus,
3975
+ Ra as TimelapseType,
3976
+ qr as Timeline360UrlParams,
3977
+ Er as TimelineAnprUrlParams,
3978
+ Kr as TimelineBimUrlParams,
3979
+ Ir as TimelineCommentsUrlParams,
3980
+ Jr as TimelineDroneUrlParams,
3981
+ Cr as TimelineExNvrRecordingsUrlParams,
3982
+ Yr as TimelineMediaUrlParams,
3983
+ Ar as TimelineMobileCaptureUrlParams,
3984
+ Xa as TimelinePrecision,
3985
+ Qr as TimelineUrlParam,
3986
+ Lt as UnauthorizedError,
3987
+ Wa as UnitSystem,
3988
+ Xr as UrlParamValue,
3989
+ _a as UserFeatureFlag,
3990
+ To as VEHICLE_TYPE_IDS,
3991
+ vt as VehicleClassifierSource,
3992
+ Uo as VideoWallApi,
3993
+ Ba as VideoWallItemType,
3994
+ kt as VideoWallWidgetSettingsKeys,
3995
+ xr as VpnServer,
3996
+ hr as WarehouseLocation,
3997
+ dr as WarehouseLocationIndex,
3998
+ No as WeatherApi,
3999
+ Oa as WeatherProvider,
4000
+ Fa as WeatherReportScope,
4001
+ la as WebGLExtensions,
4002
+ Oo as WebRtcApi,
4003
+ wt as WidgetType,
4004
+ bo as WidgetTypesByResource,
4005
+ Ja as ZoomDirection,
4006
+ ae as _360AssetLabel,
4007
+ re as _360AssetType,
4008
+ te as _360Feature,
4009
+ oe as _360IntergrationType,
4010
+ y as _360PinType,
4011
+ ee as _360UrlParams,
4012
+ Bo as _3dFirebaseApi,
4013
+ za as _3dViewer,
3025
4014
  a as axios,
3026
4015
  J as ensureCommonHeaders,
3027
- o as getAiApiUrl,
3028
- b as getFirebaseDbApi,
3029
- Dt as getFirebaseStorageToken,
3030
- _t as getFirebaseStorageUrl,
3031
- h as getIngestApiUrl,
3032
- c as getLabsBaseUrl,
3033
- X as onError,
3034
- ht as onRequest,
3035
- dt as onResponse,
3036
- Bt as queryStringToObject,
3037
- g as toQueryString
4016
+ L as getAiApiUrl,
4017
+ l as getAiApiUrlV2,
4018
+ n as getFirebaseDbApi,
4019
+ po as getFirebaseStorageToken,
4020
+ go as getFirebaseStorageUrl,
4021
+ mo as getForgeTokenServerUrl,
4022
+ c as getIngestApiUrls,
4023
+ S as getLabsBaseUrl,
4024
+ Mo as isCameraRole,
4025
+ wo as isProjectRole,
4026
+ q as onError,
4027
+ Ct as onRequest,
4028
+ Et as onResponse,
4029
+ co as queryStringToObject,
4030
+ u as toQueryString
3038
4031
  };
3039
4032
  //# sourceMappingURL=index.js.map