@evercam/api 1.0.0-55a4368ec → 1.0.0-57d7783ef

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 (88) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +202 -15
  3. package/dist/api/api/adminApi.d.ts +88 -71
  4. package/dist/api/api/aiApi.d.ts +99 -86
  5. package/dist/api/api/authzApi.d.ts +26 -17
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +125 -100
  9. package/dist/api/api/evercamLabsApi.d.ts +7 -6
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +107 -46
  12. package/dist/api/api/ptzApi.d.ts +9 -4
  13. package/dist/api/api/videoWallApi.d.ts +2 -2
  14. package/dist/api/api/weatherApi.d.ts +2 -2
  15. package/dist/api/types/360.d.ts +275 -27
  16. package/dist/api/types/aconex.d.ts +9 -9
  17. package/dist/api/types/admin.d.ts +51 -0
  18. package/dist/api/types/aiConfigs.d.ts +154 -0
  19. package/dist/api/types/analytics.d.ts +112 -59
  20. package/dist/api/types/anpr.d.ts +48 -2
  21. package/dist/api/types/auditLogs.d.ts +19 -1
  22. package/dist/api/types/authz.d.ts +45 -6
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +37 -3
  25. package/dist/api/types/axios.d.ts +18 -10
  26. package/dist/api/types/bim.d.ts +36 -5
  27. package/dist/api/types/camera.d.ts +93 -93
  28. package/dist/api/types/comments.d.ts +10 -11
  29. package/dist/api/types/company.d.ts +42 -1
  30. package/dist/api/types/compare.d.ts +20 -5
  31. package/dist/api/types/connector.d.ts +4 -5
  32. package/dist/api/types/coolify.d.ts +18 -2
  33. package/dist/api/types/copilot.d.ts +11 -6
  34. package/dist/api/types/detections.d.ts +22 -18
  35. package/dist/api/types/drone.d.ts +96 -6
  36. package/dist/api/types/errors.d.ts +11 -0
  37. package/dist/api/types/gateReport.d.ts +50 -158
  38. package/dist/api/types/gateReportManagement.d.ts +175 -0
  39. package/dist/api/types/hdd.d.ts +26 -1
  40. package/dist/api/types/index.d.ts +10 -1
  41. package/dist/api/types/ingest.d.ts +110 -3
  42. package/dist/api/types/kit.d.ts +42 -7
  43. package/dist/api/types/map.d.ts +12 -0
  44. package/dist/api/types/media.d.ts +8 -2
  45. package/dist/api/types/notification.d.ts +32 -2
  46. package/dist/api/types/oauth.d.ts +62 -0
  47. package/dist/api/types/planner.d.ts +97 -0
  48. package/dist/api/types/posthog.d.ts +35 -0
  49. package/dist/api/types/procore.d.ts +13 -6
  50. package/dist/api/types/progressPhoto.d.ts +6 -2
  51. package/dist/api/types/project.d.ts +101 -22
  52. package/dist/api/types/recording.d.ts +8 -12
  53. package/dist/api/types/recycleBin.d.ts +1 -1
  54. package/dist/api/types/ring.d.ts +53 -0
  55. package/dist/api/types/roi.d.ts +4 -3
  56. package/dist/api/types/router.d.ts +20 -1
  57. package/dist/api/types/shared.d.ts +30 -4
  58. package/dist/api/types/shares.d.ts +6 -144
  59. package/dist/api/types/sim.d.ts +6 -6
  60. package/dist/api/types/siteAnalytics.d.ts +171 -47
  61. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  62. package/dist/api/types/siteView.d.ts +73 -0
  63. package/dist/api/types/smartSeach.d.ts +5 -0
  64. package/dist/api/types/snapshots.d.ts +49 -4
  65. package/dist/api/types/storageProvider.d.ts +19 -0
  66. package/dist/api/types/storyblok.d.ts +40 -0
  67. package/dist/api/types/streaming.d.ts +3 -3
  68. package/dist/api/types/tag.d.ts +1 -1
  69. package/dist/api/types/time.d.ts +0 -18
  70. package/dist/api/types/timelapse.d.ts +8 -5
  71. package/dist/api/types/user.d.ts +102 -35
  72. package/dist/api/types/videoWall.d.ts +21 -21
  73. package/dist/api/types/weather.d.ts +75 -11
  74. package/dist/api/types/widget.d.ts +71 -12
  75. package/dist/api/types/xweather.d.ts +4 -4
  76. package/dist/api/utils.d.ts +0 -1
  77. package/dist/index.js +1949 -1054
  78. package/dist/index.js.map +1 -1
  79. package/dist/index.umd.cjs +1 -1
  80. package/dist/index.umd.cjs.map +1 -1
  81. package/dist/shared/types/components.d.ts +151 -16
  82. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  83. package/dist/shared/types/imagePlayer.d.ts +9 -2
  84. package/dist/shared/types/index.d.ts +2 -0
  85. package/dist/shared/types/rbac.d.ts +67 -0
  86. package/dist/shared/types/timeline.d.ts +2 -1
  87. package/package.json +4 -2
  88. package/dist/api/types/storageServers.d.ts +0 -4
package/dist/index.js CHANGED
@@ -1,20 +1,31 @@
1
- var E = Object.defineProperty;
2
- var C = (e, r, t) => r in e ? E(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var B = (e, r, t) => C(e, typeof r != "symbol" ? r + "" : r, t);
4
- import b from "axios";
5
- import w from "humps";
6
- var A = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(A || {}), 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))(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.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))(te || {}), se = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(se || {}), oe = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(oe || {}), ie = /* @__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))(ie || {}), le = /* @__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.Drawings = "Drawings", e))(le || {}), 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.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.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.ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes", 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.DrawingCreateSave = "CreateSave", e.DrawingUpdateSave = "UpdateSave", e.DrawingEditName = "EditName", e.DrawingUpdateName = "UpdateName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingClickHome = "ClickHome", e.DrawingsUploadDrawing = "UploadDrawing", e.DrawingsCreateDrawing = "CreateDrawing", e.DrawingToggleFilter = "ToggleFilter", 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.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.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.ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras", 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.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.CompareSelectProvider = "Compare-SelectProvider", e.CompareEditSelectedCameras = "Compare-EditSelectedCameras", 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.AutomationsSelectProgressPhoto = "SelectProgressPhoto", e.AutomationsSelectCompare = "SelectCompare", e.AutomationsCreateCompare = "CreateCompare", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", 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.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.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e))(ne || {}), ge = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(me || {}), pe = /* @__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))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(ce || {}), ue = /* @__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))(ue || {}), he = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Se || {}), Te = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Te || {}), $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 || {}), 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 || {}), ke = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(ke || {});
7
- const zt = {
1
+ var A = Object.defineProperty;
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 || {}), me = /* @__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))(me || {}), pe = /* @__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))(pe || {}), 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
8
  High: "#FF5252",
9
9
  Moderate: "#FBC02D",
10
10
  Low: "#006400",
11
11
  "No change": "#3ACF3A",
12
12
  Default: "black"
13
13
  };
14
- var we = /* @__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))(we || {}), Pe = /* @__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))(Pe || {}), Me = /* @__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))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(fe || {}), Re = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Re || {}), De = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(Ue || {}), Be = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(Be || {}), je = /* @__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))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Oe || {}), Ne = /* @__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))(Ne || {}), Ve = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e))(He || {}), Fe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Fe || {}), Ge = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ge || {}), We = /* @__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))(We || {}), ze = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(ze || {}), ve = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(ve || {}), xe = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(xe || {}), Le = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Le || {}), h = /* @__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))(h || {}), 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 || {}), Ze = /* @__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))(Ze || {}), qe = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(qe || {}), Xe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(Xe || {}), Je = /* @__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))(Je || {}), Qe = /* @__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))(Qe || {}), 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 || {}), Ye = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ke || {}), Ee = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ee || {}), Ce = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ce || {}), Ae = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ae || {});
15
- const N = Object.values(L);
16
- var Ie = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(er || {}), rr = /* @__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))(rr || {}), ar = /* @__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))(ar || {}), tr = /* @__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))(tr || {}), sr = /* @__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))(sr || {}), or = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(or || {}), m = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(m || {}), ir = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(ir || {}), 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 || {}), lr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(lr || {}), nr = /* @__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))(nr || {}), gr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(gr || {}), mr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(mr || {}), pr = /* @__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))(pr || {}), cr = /* @__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))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(ur || {}), hr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(hr || {}), dr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(dr || {}), Sr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Sr || {}), Tr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e))(Tr || {}), $r = /* @__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.NoGdpr = "no_gdpr", e))($r || {}), br = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segmentation = "sam", e))(br || {}), kr = /* @__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))(kr || {}), wr = /* @__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))(wr || {}), Pr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Pr || {}), Mr = /* @__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))(Mr || {}), fr = /* @__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))(fr || {}), Rr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Ur || {}), Br = /* @__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))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Or || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Nr || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Vr || {}), Hr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Hr || {}), Fr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Fr || {}), Gr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Gr || {}), Wr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Wr || {}), zr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(zr || {}), vr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(vr || {}), xr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(xr || {}), Lr = /* @__PURE__ */ ((e) => (e.Minimum = "minimum", e.Share = "minimal+share", e.Full = "full", e.Custom = "custom", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Share = "share", e.Request = "request", e))(Zr || {}), qr = /* @__PURE__ */ ((e) => (e[e.Pending = -1] = "Pending", e[e.Cancelled = -2] = "Cancelled", e[e.Failed = -3] = "Failed", e[e.Used = 1] = "Used", e))(qr || {}), Xr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Xr || {}), Jr = /* @__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))(Jr || {}), Qr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(Qr || {}), Yr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(Yr || {}), Kr = /* @__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))(Kr || {}), Er = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(Er || {}), Cr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Cr || {}), Ar = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ta || {}), sa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(sa || {}), oa = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(oa || {}), ia = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(ia || {}), la = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(la || {}), na = /* @__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))(na || {}), ga = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(ca || {}), 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 || {}), ha = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(Sa || {}), Ta = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Ta || {}), $a = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))($a || {}), ba = /* @__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))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(ka || {}), wa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(wa || {}), Pa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(Pa || {}), Ma = /* @__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))(Ma || {}), Z = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Z || {}), fa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(fa || {}), Ra = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ba || {}), ja = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(ja || {}), Oa = /* @__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))(Oa || {}), Na = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Na || {}), 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 || {}), Va = /* @__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))(Va || {}), Ha = /* @__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))(Ha || {}), Fa = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Fa || {}), Ga = /* @__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))(Ga || {}), Wa = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(Wa || {}), za = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(za || {}), va = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(va || {}), xa = /* @__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.Heatmap = "heatmap", e))(xa || {}), La = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(Za || {}), qa = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(qa || {}), Xa = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(Xa || {}), Ja = /* @__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))(Ja || {}), Qa = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(Qa || {}), Ya = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ka || {}), Ea = /* @__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))(Ea || {}), Ca = /* @__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))(Ca || {}), Aa = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ia || {}), ya = /* @__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))(ya || {}), et = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(et || {});
17
- const vt = {
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 || {}), mr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(mr || {});
15
+ const To = Object.values(Z);
16
+ var pr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(pr || {}), 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 || {}), p = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(p || {}), 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 || {}), ma = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(pa || {}), 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 || {}), mt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(mt || {}), pt = /* @__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))(pt || {}), 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 = {
18
29
  camera: [
19
30
  "Live View",
20
31
  "Recordings",
@@ -27,268 +38,326 @@ const vt = {
27
38
  /* ThreeSixty */
28
39
  ]
29
40
  };
30
- var rt = /* @__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))(rt || {}), at = /* @__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))(at || {}), tt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(tt || {}), st = ((e) => (e[e.Aconex = j.Aconex] = "Aconex", e[e.Procore = j.Procore] = "Procore", e[e.Autodesk = j.Autodesk] = "Autodesk", e.Email = "email", e))(st || {}), ot = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e))(ot || {}), it = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(it || {}), lt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(lt || {}), nt = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Project = "project", e))(nt || {});
31
- 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 {
32
81
  constructor(r) {
33
82
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
34
83
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
35
84
  }
36
- }, gt = S(h.BadRequestError), mt = S(h.NotFoundError), pt = S(h.UnauthorizedError), ct = S(
37
- h.GatewayTimeoutError
38
- ), ut = S(h.BadGatewayError), ht = S(h.ForbiddenError), xt = S(h.HlsError), Lt = S(h.SnapshotError), dt = S(h.ConflictError), St = S(
39
- h.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
40
89
  );
41
- let V = 0;
42
- const Tt = 10, $t = async () => {
43
- for (; V === Tt; )
90
+ let N = 0;
91
+ const Yt = 10, Kt = async () => {
92
+ for (; N === Yt; )
44
93
  await new Promise((e) => setTimeout(e, 1e3));
45
- V++, setTimeout(() => {
46
- V--;
94
+ N++, setTimeout(() => {
95
+ N--;
47
96
  }, 1e3);
48
- }, bt = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await $t(), Pt(e, r), wt(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 || Mt(e)), e), kt = (e) => {
49
- var t, s, o, l, n;
97
+ }, Ct = async (e, r) => {
98
+ var t, o;
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 i = e.headers.common;
103
+ i["iframe-origin"] = new URL(document.referrer).origin;
104
+ }
105
+ if (r.evercamLabsUrl && (e.url || "").startsWith(r.evercamLabsUrl) && ((o = e == null ? void 0 : e.headers) != null && o.common)) {
106
+ const i = e.headers.common;
107
+ i["x-environment"] = r.isLabsStaging ? "staging" : "production";
108
+ }
109
+ return e.preserveCasing || yt(e), e;
110
+ }, Et = (e) => {
111
+ var t, o, i, g, m;
50
112
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
51
113
  return e;
52
114
  if ("data" in e) {
53
115
  if (e.data instanceof Blob)
54
116
  return e.data;
55
117
  } else return e;
56
- const r = (s = e == null ? void 0 : e.config) != null && s.preserveCasing ? e.data : w.camelizeKeys(e.data);
57
- if ((o = e == null ? void 0 : e.config) != null && o.timing && ((n = (l = e == null ? void 0 : e.config) == null ? void 0 : l._metadata) != null && n.startTime)) {
58
- const p = performance.now() - e.config._metadata.startTime;
118
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : D.camelizeKeys(e.data);
119
+ if ((i = e == null ? void 0 : e.config) != null && i.timing && ((m = (g = e == null ? void 0 : e.config) == null ? void 0 : g._metadata) != null && m.startTime)) {
120
+ const d = performance.now() - e.config._metadata.startTime;
59
121
  return {
60
122
  ...e,
61
123
  data: r,
62
- duration: p
124
+ duration: d
63
125
  };
64
126
  }
65
127
  return r;
66
- }, X = async (e, r) => {
67
- var M, _, U, k, F, G, W;
68
- if ((M = e == null ? void 0 : e.config) != null && M.timing && ((U = (_ = e == null ? void 0 : e.config) == null ? void 0 : _._metadata) != null && U.startTime)) {
69
- const K = performance.now() - e.config._metadata.startTime;
70
- return { error: e, duration: K };
128
+ }, q = async (e, r) => {
129
+ var P, j, U, f, V, H, v;
130
+ 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)) {
131
+ const E = performance.now() - e.config._metadata.startTime;
132
+ return { error: e, duration: E };
71
133
  }
72
- const t = e.response ? e.response.status : null, s = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), o = (F = e.config) == null ? void 0 : F.url, l = ((W = (G = e == null ? void 0 : e.response) == null ? void 0 : G.data) == null ? void 0 : W.code) || "";
73
- let n = {}, p = e.message;
74
- switch (o && s && t && (p = `${s} ${o} (${t}) ${l}`.trim()), t) {
75
- case d.BadRequestError:
76
- n = new gt(new Error(p));
134
+ 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) || "";
135
+ let m = {}, d = e.message;
136
+ switch (i && o && t && (d = `${o} ${i} (${t}) ${g}`.trim()), t) {
137
+ case k.BadRequestError:
138
+ m = new xt(new Error(d));
77
139
  break;
78
- case d.UnauthorizedError:
79
- n = new pt(new Error(p));
140
+ case k.UnauthorizedError:
141
+ m = new Lt(new Error(d));
80
142
  break;
81
- case d.ForbiddenError:
82
- n = new ht(new Error(p));
143
+ case k.ForbiddenError:
144
+ m = new Qt(new Error(d));
83
145
  break;
84
- case d.NotFoundError:
85
- n = new mt(new Error(p));
146
+ case k.NotFoundError:
147
+ m = new zt(new Error(d));
86
148
  break;
87
- case d.ConflictError:
88
- n = new dt(new Error(p));
149
+ case k.ConflictError:
150
+ m = new qt(new Error(d));
89
151
  break;
90
- case d.InternalServerError:
91
- n = new St(new Error(p));
152
+ case k.InternalServerError:
153
+ m = new Jt(new Error(d));
92
154
  break;
93
- case d.BadGatewayError:
94
- n = new ut(new Error(p));
155
+ case k.BadGatewayError:
156
+ m = new Xt(new Error(d));
95
157
  break;
96
- case d.GatewayTimeoutError:
97
- n = new ct(new Error(p));
158
+ case k.GatewayTimeoutError:
159
+ m = new Zt(new Error(d));
98
160
  break;
99
161
  case null:
100
162
  // null case
101
163
  case 0:
102
- n = new Error(
164
+ m = new Error(
103
165
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
104
166
  );
105
167
  break;
106
168
  }
107
- if (b.isCancel(e) || t === d.NotFoundError)
108
- return Promise.reject(n);
169
+ if (w.isCancel(e) || t === k.NotFoundError)
170
+ return Promise.reject(m);
109
171
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
110
- const D = r.errorLogger;
111
- return o && D && D({
172
+ const M = r.errorLogger;
173
+ return i && M && M({
112
174
  // @ts-expect-error axios issue
113
175
  category: "axios.info",
114
176
  data: {
115
- url: `Error in URL: ${o}`,
177
+ url: `Error in URL: ${i}`,
116
178
  status: t
117
179
  }
118
- }), Promise.reject(n);
180
+ }), Promise.reject(m);
119
181
  }, J = (e) => {
120
182
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
121
183
  };
122
- function wt(e, r) {
123
- var s;
124
- const t = (s = r == null ? void 0 : r.getAuthToken) == null ? void 0 : s.call(r);
184
+ function At(e, r) {
185
+ var o;
186
+ const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
125
187
  t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
126
188
  }
127
- function Pt(e, r) {
189
+ function It(e, r) {
128
190
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
129
191
  }
130
- function Mt(e) {
131
- let r = {}, { data: t, params: s } = e;
192
+ function yt(e) {
193
+ let r = {}, { data: t, params: o } = e;
132
194
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
133
- (o, l) => ({
134
- ...o,
135
- [l]: t[l]
195
+ (i, g) => ({
196
+ ...i,
197
+ [g]: t[g]
136
198
  }),
137
199
  {}
138
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = w.decamelizeKeys(t) : t = { ...w.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
139
- let o = new FormData();
140
- for (const [l, n] of t.entries())
141
- o.append(w.decamelize(l), n);
142
- t = o;
200
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = D.decamelizeKeys(t) : t = { ...D.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
201
+ let i = new FormData();
202
+ for (const [g, m] of t.entries())
203
+ i.append(D.decamelize(g), m);
204
+ t = i;
143
205
  }
144
- s && !(s instanceof Blob) && (s = w.decamelizeKeys(s)), e.data = t, e.params = s;
206
+ o && !(o instanceof Blob) && (o = D.decamelizeKeys(o)), e.data = t, e.params = o;
145
207
  }
146
- const Zt = async (e, r, t) => {
208
+ const _o = async (e, r, t) => {
147
209
  if (r())
148
- throw await t(), new b.Cancel("Request canceled due to expired token");
210
+ throw await t(), new w.Cancel("Request canceled due to expired token");
149
211
  return e;
150
212
  };
151
- function R(e) {
213
+ function eo(e) {
214
+ if (!e.headers)
215
+ return;
216
+ const r = e.headers;
217
+ delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
218
+ }
219
+ function _(e) {
152
220
  return new Promise((r, t) => {
153
221
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
154
222
  });
155
223
  }
156
- function ft(e, r) {
224
+ function ro(e, r) {
157
225
  let t;
158
- const s = () => {
226
+ const o = () => {
159
227
  if (t)
160
228
  return t;
161
- const o = indexedDB.open(e);
162
- return o.onupgradeneeded = () => o.result.createObjectStore(r), t = R(o), t.then((l) => {
163
- l.onclose = () => t = void 0;
229
+ const i = indexedDB.open(e);
230
+ return i.onupgradeneeded = () => i.result.createObjectStore(r), t = _(i), t.then((g) => {
231
+ g.onclose = () => t = void 0;
164
232
  }, () => {
233
+ t = void 0;
165
234
  }), t;
166
235
  };
167
- return (o, l) => s().then((n) => l(n.transaction(r, o).objectStore(r)));
236
+ return (i, g) => o().then((m) => g(m.transaction(r, i).objectStore(r)));
168
237
  }
169
- let H;
238
+ let G;
170
239
  function O() {
171
- return H || (H = ft("keyval-store", "keyval")), H;
240
+ return G || (G = ro("keyval-store", "keyval")), G;
172
241
  }
173
- function Rt(e, r = O()) {
174
- return r("readonly", (t) => R(t.get(e)));
242
+ function ao(e, r = O()) {
243
+ return r("readonly", (t) => _(t.get(e)));
175
244
  }
176
- function Dt(e, r, t = O()) {
177
- return t("readwrite", (s) => (s.put(r, e), R(s.transaction)));
245
+ function to(e, r, t = O()) {
246
+ return t("readwrite", (o) => (o.put(r, e), _(o.transaction)));
178
247
  }
179
- function _t(e, r = O()) {
180
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
248
+ function oo(e, r = O()) {
249
+ return r("readwrite", (t) => (t.delete(e), _(t.transaction)));
181
250
  }
182
- function Ut(e = O()) {
183
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
251
+ function so(e = O()) {
252
+ return e("readwrite", (r) => (r.clear(), _(r.transaction)));
184
253
  }
185
- class Bt {
254
+ class io {
186
255
  constructor(r) {
187
256
  B(this, "prefix");
188
257
  this.prefix = r;
189
258
  }
190
259
  generateKey(r) {
191
- var o, l;
192
- const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(o = r.url) == null ? void 0 : o.replace(/^\//, "")}` : r.url;
193
- let s = "";
260
+ var i, g;
261
+ const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
262
+ let o = "";
194
263
  if (r.params) {
195
- const n = Object.keys(r.params).sort().reduce((p, T) => (p[T] = r.params[T], p), {});
196
- s = JSON.stringify(n);
264
+ const m = Object.keys(r.params).sort().reduce((d, h) => (d[h] = r.params[h], d), {});
265
+ o = JSON.stringify(m);
197
266
  }
198
- return `${this.prefix}:${((l = r.method) == null ? void 0 : l.toUpperCase()) || "GET"}:${t}?${s}`;
267
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
199
268
  }
200
269
  async get(r) {
201
270
  let t;
202
271
  try {
203
- if (t = await Rt(r), t === void 0)
272
+ if (t = await ao(r), t === void 0)
204
273
  return;
205
- } catch (s) {
206
- console.error(`[SWR Store]: Error getting value for key "${r}"`, s);
274
+ } catch (o) {
275
+ console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
207
276
  return;
208
277
  }
209
278
  try {
210
279
  t = JSON.parse(t);
211
- } catch (s) {
280
+ } catch (o) {
212
281
  console.error(
213
282
  `[SWR Store]: Error parsing value for key "${r}", got ${t}`,
214
- s
283
+ o
215
284
  );
216
285
  }
217
286
  return t;
218
287
  }
219
288
  async set(r, t) {
220
289
  try {
221
- const s = JSON.stringify(t);
222
- await Dt(r, s);
223
- } catch (s) {
290
+ const o = JSON.stringify(t);
291
+ await to(r, o);
292
+ } catch (o) {
224
293
  console.error(
225
294
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
226
- s
295
+ o
227
296
  );
228
297
  }
229
298
  }
230
299
  async delete(r) {
231
300
  try {
232
- await _t(r);
301
+ await oo(r);
233
302
  } catch (t) {
234
303
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
235
304
  }
236
305
  }
237
306
  async clear() {
238
307
  try {
239
- await Ut();
308
+ await so();
240
309
  } catch (r) {
241
310
  console.error("[SWR Store]: Error clearing cache", r);
242
311
  }
243
312
  }
244
313
  }
245
- class Q {
314
+ class Y {
246
315
  constructor({
247
316
  key: r,
248
317
  axiosInstance: t
249
318
  }) {
250
319
  B(this, "axiosInstance");
251
320
  B(this, "store");
252
- this.store = new Bt(r), this.axiosInstance = t;
321
+ this.store = new io(r), this.axiosInstance = t;
253
322
  }
254
323
  async get(r, t = {}) {
255
- const s = {
324
+ const o = {
256
325
  ...t,
257
326
  method: "get",
258
327
  url: r
259
- }, o = this.store.generateKey(s), l = this.getCachedValue(o, s), n = this.getFreshValue(o, s);
328
+ }, i = this.store.generateKey(o), g = this.getCachedValue(i, o), m = this.getFreshValue(i, o);
260
329
  return Promise.race([
261
- l.then((p) => p != null ? p : n),
262
- n
330
+ g.then((d) => d != null ? d : m),
331
+ m
263
332
  ]);
264
333
  }
265
334
  async getCachedValue(r, t) {
266
335
  try {
267
- const s = await this.store.get(r);
268
- return s ? (t.onSwrHit && t.onSwrHit(s), s) : void 0;
269
- } catch (s) {
270
- console.warn(`[SWR] Error fetching value for key: ${r}`, s);
336
+ const o = await this.store.get(r);
337
+ return o ? (t.onSwrHit && t.onSwrHit(o), o) : void 0;
338
+ } catch (o) {
339
+ console.warn(`[SWR] Error fetching value for key: ${r}`, o);
271
340
  }
272
341
  }
273
342
  async getFreshValue(r, t) {
274
- var s;
343
+ var o;
275
344
  try {
276
- const o = await this.axiosInstance.request(
345
+ const i = await this.axiosInstance.request(
277
346
  t
278
- ), l = (s = o == null ? void 0 : o.data) != null ? s : o;
279
- return this.store.set(r, l).catch((n) => {
280
- console.warn(`[SWR] Failed to write to cache: ${r}`, n);
281
- }), t.onSwrRefresh && t.onSwrRefresh(l), l;
282
- } catch (o) {
283
- throw console.warn(`[SWR] Request failed: ${t.url}`, o), t.onSwrError && t.onSwrError(o), o;
347
+ ), g = (o = i == null ? void 0 : i.data) != null ? o : i;
348
+ return this.store.set(r, g).catch((m) => {
349
+ console.warn(`[SWR] Failed to write to cache: ${r}`, m);
350
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
351
+ } catch (i) {
352
+ throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
284
353
  }
285
354
  }
286
355
  async clear() {
287
356
  await this.store.clear();
288
357
  }
289
358
  }
290
- let z = [], v = [], P = [];
291
- const a = b.create({
359
+ let W = [], x = [], R = [];
360
+ const a = w.create({
292
361
  headers: {
293
362
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
294
363
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -306,66 +375,74 @@ a.addEnvironmentVariables = (e) => {
306
375
  );
307
376
  });
308
377
  };
309
- a.swr = new Q({
378
+ a.swr = new Y({
310
379
  key: a.env.swrKey || "swr",
311
380
  axiosInstance: a
312
381
  });
313
- const jt = a.get.bind(a);
314
- a.swr = new Q({
382
+ const no = a.get.bind(a);
383
+ a.swr = new Y({
315
384
  key: a.env.swrKey || "swr",
316
385
  axiosInstance: a
317
386
  });
318
387
  a.get = function(...e) {
319
- return (e[1] || {}).swr ? this.swr.get(...e) : jt(...e);
388
+ return (e[1] || {}).swr ? this.swr.get(...e) : no(...e);
320
389
  };
321
390
  a.addRequestInterceptor = (e, r) => {
322
- z.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
391
+ W.push(e), r && !R.includes(r) && R.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
323
392
  async (t) => {
324
- for (const s of z)
325
- t = await s(t, a.env);
393
+ for (const o of W)
394
+ t = await o(t, a.env);
326
395
  return t;
327
396
  },
328
397
  (t) => {
329
- for (const s of P)
330
- s(t, a.env);
398
+ for (const o of R)
399
+ o(t, a.env);
331
400
  }
332
401
  );
333
402
  };
334
403
  a.addResponseInterceptor = (e, r) => {
335
- v.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
404
+ x.push(e), r && !R.includes(r) && R.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
336
405
  async (t) => {
337
- for (const s of v)
338
- t = await s(t, a.env);
406
+ for (const o of x)
407
+ t = await o(t, a.env);
339
408
  return t;
340
409
  },
341
410
  (t) => {
342
- for (const s of P)
343
- s(t, a.env);
411
+ for (const o of R)
412
+ o(t, a.env);
344
413
  return Promise.reject(t);
345
414
  }
346
415
  );
347
416
  };
348
- a.addRequestInterceptor(bt, X);
349
- a.addResponseInterceptor(kt, X);
350
- const Y = (e, r) => {
417
+ a.addRequestInterceptor(Ct, q);
418
+ a.addResponseInterceptor(Et, q);
419
+ const K = (e, r) => {
351
420
  J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
352
- }, Ot = (e) => {
353
- Y("Authorization", e ? `Bearer ${e}` : null);
354
- };
355
- a.CancelToken = b.CancelToken;
356
- a.isCancel = b.isCancel;
357
- a.setHeader = Y;
358
- a.setToken = Ot;
359
- let f = [];
360
- a.generateCancelTokenSource = () => a.CancelToken.source();
361
- a.addCancelToken = (e) => f = [e, ...f];
362
- a.resetCancelTokens = () => f = [];
363
- a.cancelRequests = () => {
364
- f.length && (f.forEach((e) => {
365
- e.cancel("Operation canceled due to new request");
366
- }), a.resetCancelTokens());
421
+ }, lo = (e) => {
422
+ K("Authorization", e ? `Bearer ${e}` : null);
367
423
  };
368
- const qt = {
424
+ a.CancelToken = w.CancelToken;
425
+ a.isCancel = w.isCancel;
426
+ a.setHeader = K;
427
+ a.setToken = lo;
428
+ const z = "Operation canceled due to new request";
429
+ function C() {
430
+ const e = /* @__PURE__ */ new Map();
431
+ return {
432
+ createToken(r) {
433
+ var o;
434
+ (o = e.get(r)) == null || o.cancel(z);
435
+ const t = a.CancelToken.source();
436
+ return e.set(r, t), t.token;
437
+ },
438
+ cancelAll() {
439
+ e.forEach((r) => r.cancel(z)), e.clear();
440
+ }
441
+ };
442
+ }
443
+ a.createRequestManager = C;
444
+ a.requestManager = C();
445
+ const jo = {
369
446
  mediaHub: {
370
447
  getAllMedia(e) {
371
448
  return a.get("/admin/media-hub", e);
@@ -389,8 +466,17 @@ const qt = {
389
466
  focusCamera(e, r) {
390
467
  return a.post(`/admin/devices/${r}/${e}/focus`);
391
468
  },
392
- getStorageServers() {
393
- return a.get("/admin/storage/servers");
469
+ getStorageProviders(e, r) {
470
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
471
+ },
472
+ createStorageProvider(e, r) {
473
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
474
+ },
475
+ updateStorageProvider(e, r, t) {
476
+ return a.put(
477
+ `/admin/cameras/${e}/storage-providers/${r}`,
478
+ t
479
+ );
394
480
  },
395
481
  getStorageDetails() {
396
482
  return a.get("/admin/storage");
@@ -463,7 +549,7 @@ const qt = {
463
549
  }
464
550
  },
465
551
  companies: {
466
- show(e, r) {
552
+ show(e, r = {}) {
467
553
  return a.get(`/admin/companies/${e}`, r);
468
554
  },
469
555
  getCompanyUsers(e, r) {
@@ -486,9 +572,6 @@ const qt = {
486
572
  },
487
573
  deleteCompany(e) {
488
574
  return a.delete("/admin/companies", { params: e });
489
- },
490
- reSyncCompanies(e) {
491
- return a.post("/admin/companies/resync", e);
492
575
  }
493
576
  },
494
577
  sso: {
@@ -505,6 +588,26 @@ const qt = {
505
588
  return a.delete("/admin/sso-providers", { params: { ids: e } });
506
589
  }
507
590
  },
591
+ oauthClients: {
592
+ index() {
593
+ return a.get("/admin/oauth/clients");
594
+ },
595
+ show(e) {
596
+ return a.get(`/admin/oauth/clients/${e}`);
597
+ },
598
+ create(e) {
599
+ return a.post("/admin/oauth/clients", e);
600
+ },
601
+ update(e, r) {
602
+ return a.patch(`/admin/oauth/clients/${e}`, r);
603
+ },
604
+ delete(e) {
605
+ return a.delete(`/admin/oauth/clients/${e}`);
606
+ },
607
+ regenerateSecret(e) {
608
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
609
+ }
610
+ },
508
611
  emailing: {
509
612
  performEmailing(e, r) {
510
613
  return a.post(`/admin/mailing/${e}`, r);
@@ -523,14 +626,6 @@ const qt = {
523
626
  addExtraction(e, r) {
524
627
  return a.post(`admin/cameras/${e}/extractions`, r);
525
628
  },
526
- getExtractionStatus(e, r, t) {
527
- return a.get(
528
- `admin/cameras/${e}/extractions/${r}`,
529
- {
530
- params: t
531
- }
532
- );
533
- },
534
629
  deleteSnapshotExtraction(e, r, t) {
535
630
  return a.delete(
536
631
  `admin/cameras/${e}/extractions/${r}`,
@@ -538,6 +633,30 @@ const qt = {
538
633
  params: t
539
634
  }
540
635
  );
636
+ },
637
+ getExtraction(e, r) {
638
+ return a.get(
639
+ `admin/cameras/${e}/extractions/${r}`
640
+ );
641
+ },
642
+ reprocessExtraction(e, r) {
643
+ return a.post(
644
+ `admin/cameras/${e}/extractions/${r}/reprocess`
645
+ );
646
+ }
647
+ },
648
+ anprExtractions: {
649
+ list(e) {
650
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
651
+ },
652
+ create(e, r) {
653
+ return a.post(
654
+ `/admin/cameras/${e}/anpr/extractions`,
655
+ r
656
+ );
657
+ },
658
+ delete(e, r) {
659
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
541
660
  }
542
661
  },
543
662
  kits: {
@@ -560,12 +679,12 @@ const qt = {
560
679
  kitId: e,
561
680
  metric: r,
562
681
  fromDate: t,
563
- toDate: s
682
+ toDate: o
564
683
  }) {
565
684
  return a.get(`/admin/kits/${e}/stats/${r}`, {
566
685
  params: {
567
686
  fromDate: t,
568
- toDate: s
687
+ toDate: o
569
688
  }
570
689
  });
571
690
  },
@@ -583,6 +702,15 @@ const qt = {
583
702
  },
584
703
  getAlarms(e) {
585
704
  return a.get(`/admin/kits/${e}/alarms`);
705
+ },
706
+ getBoxes(e) {
707
+ return a.get("/admin/kit-boxes", e);
708
+ },
709
+ createBox(e) {
710
+ return a.post("/admin/kit-boxes", e);
711
+ },
712
+ updateBox(e, r) {
713
+ return a.patch(`/admin/kit-boxes/${e}`, r);
586
714
  }
587
715
  },
588
716
  logs: {
@@ -660,6 +788,12 @@ const qt = {
660
788
  },
661
789
  addToProject(e, r) {
662
790
  return a.post(`/admin/projects/${e}/add-cameras`, r);
791
+ },
792
+ getProjectStorages(e) {
793
+ return a.get("/admin/projects/storages", e);
794
+ },
795
+ retryProjectStorage(e) {
796
+ return a.post(`/admin/projects/storages/${e}/retry`);
663
797
  }
664
798
  },
665
799
  routers: {
@@ -713,26 +847,9 @@ const qt = {
713
847
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
714
848
  }
715
849
  },
716
- shareRequests: {
717
- getShareRequests(e) {
718
- return a.get("/admin/camera-share-requests", e);
719
- },
720
- deleteShareRequest(e) {
721
- return a.delete("/admin/camera-share-requests", { params: e });
722
- },
723
- updateShareRequestStatus(e) {
724
- return a.patch("/admin/camera-share-requests", e);
725
- }
726
- },
727
850
  shares: {
728
- createShares(e, r) {
729
- return a.post(`/admin/cameras/${e}/shares`, r);
730
- },
731
- getShares(e) {
732
- return a.get("/admin/camera-shares", e);
733
- },
734
- deleteShares(e) {
735
- return a.delete("/admin/camera-shares", { params: e });
851
+ getInvites(e) {
852
+ return a.get("/admin/invites", e);
736
853
  }
737
854
  },
738
855
  sims: {
@@ -810,7 +927,7 @@ const qt = {
810
927
  return a.put(`/admin/users/${e}/grant-admin`);
811
928
  },
812
929
  deleteUser(e, r) {
813
- return a.post(`/users/${e}/delete`, r);
930
+ return a.delete(`/admin/users/${e}`, { params: r });
814
931
  },
815
932
  impersonateUser(e) {
816
933
  return a.post(`/admin/users/${e}/impersonate`);
@@ -818,7 +935,7 @@ const qt = {
818
935
  getUsers(e) {
819
936
  return a.get("/admin/users", e);
820
937
  },
821
- show(e, r) {
938
+ show(e, r = {}) {
822
939
  return a.get(
823
940
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
824
941
  );
@@ -859,8 +976,16 @@ const qt = {
859
976
  index(e) {
860
977
  return a.get("/admin/comments", e);
861
978
  }
979
+ },
980
+ snapshotTransfers: {
981
+ index(e) {
982
+ return a.get("/admin/snapshot-transfers", e);
983
+ },
984
+ cancel(e) {
985
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
986
+ }
862
987
  }
863
- }, Xt = {
988
+ }, Uo = {
864
989
  list(e = {}) {
865
990
  return a.get("/video-walls", { params: e });
866
991
  },
@@ -882,389 +1007,844 @@ const qt = {
882
1007
  delete(e) {
883
1008
  return a.delete(`/video-walls/${e}`);
884
1009
  }
885
- }, $ = () => a.env.firebaseDbLink, Nt = () => a.env.firebaseStorageUrl, Vt = () => a.env.firebaseStorageToken, Jt = {
1010
+ }, n = () => a.env.firebaseDbLink, go = () => a.env.firebaseStorageUrl, mo = () => a.env.firebaseStorageToken, po = () => a.env.forgeTokenServerUrl, s = { skipAuth: !0, preserveCasing: !0 }, Bo = {
886
1011
  drone: {
887
1012
  getProjectInfo(e) {
888
- return fetch(
889
- `${$()}data/projects/cesium/${e}.json`
890
- ).then((r) => r.json());
1013
+ return a.get(
1014
+ `${n()}data/projects/cesium/${e}.json`,
1015
+ s
1016
+ );
891
1017
  },
892
1018
  getProjectTags(e) {
893
- return fetch(
894
- `${$()}cesium/${e}/transform/tags.json`
895
- ).then((r) => r.json());
896
- }
897
- },
898
- _360: {
899
- getProjectInfo(e) {
900
- return fetch(
901
- `${$()}data/projects/360/${e}.json`
902
- ).then((r) => r.json());
1019
+ return a.get(
1020
+ `${n()}data/projects/cesium/${e}/transform/tags.json`,
1021
+ s
1022
+ );
903
1023
  },
904
- updateFloor(e, r, t, s) {
905
- return fetch(
906
- `${$()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
907
- {
908
- method: "PATCH",
909
- body: JSON.stringify(s)
910
- }
911
- ).then((o) => o.json());
1024
+ patchTags({
1025
+ projectId: e,
1026
+ tags: r
1027
+ }) {
1028
+ return a.patch(
1029
+ `${n()}data/projects/cesium/${e}/transform/tags.json`,
1030
+ r,
1031
+ s
1032
+ );
912
1033
  },
913
- getRoute(e, r, t) {
914
- return fetch(
915
- `${$()}360/${e}/${r}/${t}/route.json`,
916
- {
917
- method: "GET"
918
- }
919
- ).then((s) => s.json());
1034
+ saveMarkers({
1035
+ projectId: e,
1036
+ markers: r
1037
+ }) {
1038
+ return a.put(
1039
+ `${n()}data/projects/cesium/${e}/transform/markers.json`,
1040
+ r,
1041
+ s
1042
+ );
920
1043
  },
921
- getGPXText(e) {
922
- return fetch(e == null ? void 0 : e.replace(/token=\s*/, "token=")).then(
923
- (r) => r.text()
1044
+ patchTransform({
1045
+ projectId: e,
1046
+ data: r
1047
+ }) {
1048
+ return a.patch(
1049
+ `${n()}data/projects/cesium/${e}/transform.json`,
1050
+ r,
1051
+ s
924
1052
  );
925
1053
  },
926
- updateRoute(e, r, t, s) {
927
- return fetch(
928
- `${$()}360/${e}/${r}/${t}/route.json`,
929
- {
930
- method: "PATCH",
931
- body: JSON.stringify(s)
932
- }
933
- ).then((o) => o.json());
1054
+ saveTerrainPoints({
1055
+ projectId: e,
1056
+ dateId: r,
1057
+ points: t
1058
+ }) {
1059
+ return a.put(
1060
+ `${n()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1061
+ t,
1062
+ s
1063
+ );
934
1064
  },
935
- async updateFeatureFlag(e, r, t, s, o) {
936
- return fetch(
937
- `${$()}360/${e}/${r}/${t}/${s}.json`,
938
- {
939
- method: "PUT",
940
- body: JSON.stringify(o)
941
- }
942
- ).then((l) => l.json());
1065
+ patchImageryPlan({
1066
+ projectId: e,
1067
+ plan: r
1068
+ }) {
1069
+ return a.patch(
1070
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1071
+ r,
1072
+ s
1073
+ );
943
1074
  },
944
- async saveSteps(e, r, t, s) {
945
- return fetch(
946
- `${$()}360/${e}/${r}/${t}/steps.json`,
947
- {
948
- method: "PUT",
949
- body: JSON.stringify(s)
950
- }
951
- ).then((o) => o.json());
1075
+ deleteImageryPlan({
1076
+ projectId: e,
1077
+ uuid: r
1078
+ }) {
1079
+ return a.delete(
1080
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1081
+ s
1082
+ );
952
1083
  },
953
- updateGPXFile(e, r, t, s) {
954
- const o = new Blob([s], { type: "application/gpx+xml" }), l = new FormData();
955
- return l.append("gpxFile", o, "updated-track.gpx"), fetch(
956
- `${Nt() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Vt()}`,
957
- {
958
- method: "POST",
959
- body: l
960
- }
1084
+ saveImageryPlans({
1085
+ projectId: e,
1086
+ plans: r
1087
+ }) {
1088
+ return a.put(
1089
+ `${n()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1090
+ r,
1091
+ s
961
1092
  );
962
- }
963
- },
964
- forge: {
965
- async getProjectInfo(e) {
966
- return fetch(
967
- `${$()}data/projects/forge/${e}.json`
968
- ).then((r) => r.json());
969
- }
970
- }
971
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
972
- if (Object.keys(e).length === 0)
973
- return;
974
- let s = { ...e };
975
- return r && (s = w.decamelizeKeys(e)), Object.entries(s).reduce((o, [l, n], p) => {
976
- let T = "";
977
- return ["", null, void 0].includes(n) || Array.isArray(n) && n.length === 0 ? o : (n && typeof n == "object" ? T = Object.entries(n).reduce((D, [M, _], U) => {
978
- let k = l;
979
- return isNaN(Number.parseInt(M)) ? k = `${l}[${M}]` : Array.isArray(n) && t && (k = `${l}[]`), `${D}${U > 0 ? "&" : ""}${k}=${encodeURIComponent(_)}`;
980
- }, "") : T = `${l}=${encodeURIComponent(
981
- n
982
- )}`, `${o}${p > 0 ? "&" : ""}${T}`);
983
- }, "");
984
- };
985
- function Ht(e = "") {
986
- return [
987
- ...new URLSearchParams(
988
- e.indexOf("#") > -1 ? e.split("#")[0] : e
989
- ).entries()
990
- ].filter(([, t]) => t).reduce((t, [s, o]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: o } : t[s] ? {
991
- ...t,
992
- [s]: [...t[s], o]
993
- } : { ...t, [s]: [o] }, {});
994
- }
995
- function Qt(e) {
996
- return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
997
- }
998
- const i = () => a.env.aiApiUrl, Yt = {
999
- analyticsParameters: {
1000
- getParameters(e, r = {}) {
1093
+ },
1094
+ getBlackListIds(e) {
1001
1095
  return a.get(
1002
- `${i()}/cameras/${e}/analytics-parameters`,
1003
- {
1004
- params: r
1005
- }
1096
+ `${n()}data/projects/cesium/${e}/transform/blackListIds.json`,
1097
+ s
1006
1098
  );
1007
1099
  },
1008
- createParameters(e) {
1009
- return a.post(`${i()}/cameras/analytics-parameters`, e);
1100
+ saveBlackListIds({
1101
+ projectId: e,
1102
+ ids: r
1103
+ }) {
1104
+ return a.put(
1105
+ `${n()}data/projects/cesium/${e}/transform/blackListIds.json`,
1106
+ r,
1107
+ s
1108
+ );
1010
1109
  },
1011
- updateParameters({
1012
- updatedBy: e,
1013
- id: r,
1014
- ...t
1110
+ saveModel({
1111
+ projectId: e,
1112
+ model: r
1015
1113
  }) {
1016
- return a.patch(
1017
- `${i()}/cameras/analytics-parameters/${r}?${g({
1018
- updatedBy: e
1019
- })}`,
1020
- t
1114
+ const { trueIndex: t, ...o } = r;
1115
+ return a.put(
1116
+ `${n()}data/projects/cesium/${e}/models/${t}.json`,
1117
+ o,
1118
+ s
1021
1119
  );
1022
- }
1023
- },
1024
- anpr: {
1025
- exportAnprLegacyEvents(e, r) {
1026
- return a({
1027
- url: `${i()}/projects/${e}/anpr/export?${g(
1028
- r
1029
- )}`,
1030
- method: "GET",
1031
- responseType: "blob"
1032
- });
1033
1120
  },
1034
- getAnprEvents(e, r, t = {}) {
1035
- return a.get(
1036
- `${i()}/projects/${e}/anpr?${g(
1037
- r
1038
- )}`,
1039
- t
1121
+ saveModels({
1122
+ projectId: e,
1123
+ models: r
1124
+ }) {
1125
+ return a.put(
1126
+ `${n()}data/projects/cesium/${e}/models.json`,
1127
+ r,
1128
+ s
1040
1129
  );
1041
1130
  },
1042
- getAnprCounts(e, r, t) {
1043
- return a.get(
1044
- `${i()}/projects/${e}/anpr/counts?${g(
1045
- r
1046
- )}`,
1047
- t
1131
+ saveBimData({
1132
+ projectId: e,
1133
+ data: r
1134
+ }) {
1135
+ return a.put(
1136
+ `${n()}data/projects/cesium/${e}/transform/bimData.json`,
1137
+ r,
1138
+ s
1048
1139
  );
1049
1140
  },
1050
- updateAnprEvent(e, r) {
1051
- return a.patch(`${i()}/projects/anpr/${e}`, {
1052
- ...r
1053
- });
1141
+ getBimTransparencyFlag(e) {
1142
+ return a.get(
1143
+ `${n()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1144
+ s
1145
+ );
1054
1146
  },
1055
- bulkUpdateAnprRecords(e, r) {
1147
+ saveCameraTransform({
1148
+ projectId: e,
1149
+ isScene3D: r,
1150
+ transform: t
1151
+ }) {
1056
1152
  return a.patch(
1057
- `${i()}/projects/anpr/update/status?${g({
1058
- anprEventsIds: e,
1059
- action: r
1060
- })}`
1153
+ `${n()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1154
+ t,
1155
+ s
1061
1156
  );
1062
- },
1063
- exportAnprEvents(e, r) {
1064
- return a({
1065
- url: `${i()}/projects/${e}/anpr/events/export?${g(
1066
- r
1067
- )}`,
1068
- method: "GET",
1069
- responseType: "blob"
1070
- });
1071
1157
  }
1072
1158
  },
1073
- gateReport: {
1074
- getLastVerified(e) {
1159
+ _360: {
1160
+ getProjectInfo(e, r = { config: {} }) {
1075
1161
  return a.get(
1076
- `${i()}/projects/gate-report/last-verified`,
1077
- e
1162
+ `${n()}data/projects/360/${e}.json`,
1163
+ {
1164
+ ...r.config,
1165
+ ...s
1166
+ }
1078
1167
  );
1079
1168
  },
1080
- deleteEvent(e, r) {
1081
- return a.delete(
1082
- `${i()}/projects/events/${e}?${g(r)}`
1169
+ getProjectsList() {
1170
+ return a.get(
1171
+ `${n()}data/360-list.json`,
1172
+ s
1083
1173
  );
1084
1174
  },
1085
- dismissEvents(e) {
1086
- return a.delete(
1087
- `${i()}/projects/events?${g(e)}`
1175
+ updateProjectsList(e) {
1176
+ return a.put(
1177
+ `${n()}data/360-list.json`,
1178
+ e,
1179
+ s
1088
1180
  );
1089
1181
  },
1090
- exportEvents(e, r) {
1091
- return a({
1092
- url: `${i()}/projects/${e}/gate-report/events/export?${g(
1093
- r
1094
- )}`,
1095
- method: "GET",
1096
- responseType: "blob"
1097
- });
1182
+ updateProjectsListItem(e, r) {
1183
+ return a.put(
1184
+ `${n()}data/360-list/${e}.json`,
1185
+ r,
1186
+ s
1187
+ );
1098
1188
  },
1099
- exportEventsProgress(e, r) {
1100
- return a.get(
1101
- `${i()}/projects/${e}/gate-report/events/export/progress?${g(
1102
- r
1103
- )}`
1189
+ deleteProject(e) {
1190
+ return a.delete(
1191
+ `${n()}data/projects/360/${e}.json`,
1192
+ s
1104
1193
  );
1105
1194
  },
1106
- generateAnprThumbnail(e, r) {
1107
- return a.post(
1108
- `${i()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1109
- {},
1110
- {
1111
- headers: {
1112
- "Content-Type": "application/json"
1113
- }
1114
- }
1195
+ updateProjectInfo(e, r) {
1196
+ return a.patch(
1197
+ `${n()}data/projects/360/${e}.json`,
1198
+ r,
1199
+ s
1115
1200
  );
1116
1201
  },
1117
- getAllEvents(e, r, t) {
1118
- return r.vehicleTypes || (r.vehicleTypes = N), r.truckTypes || (r.vehicleTypes = N), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1119
- `${i()}/projects/${e}/events?${g(
1120
- r
1121
- )}`,
1122
- t
1202
+ updateFloor(e, r, t, o) {
1203
+ return a.patch(
1204
+ `${n()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1205
+ o,
1206
+ s
1123
1207
  );
1124
1208
  },
1125
- getEventCounts(e, r = {}, t) {
1126
- return r.vehicleTypes || (r.vehicleTypes = N), a.get(
1127
- `${i()}/projects/${e}/project-stats?${g(
1128
- r
1129
- )}`,
1209
+ getFloor({
1210
+ projectId: e,
1211
+ dateId: r,
1212
+ floorId: t
1213
+ }) {
1214
+ return a.get(
1215
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1216
+ s
1217
+ );
1218
+ },
1219
+ getAerialShotsFloor({
1220
+ projectId: e,
1221
+ dateId: r,
1222
+ floorId: t
1223
+ }) {
1224
+ return a.get(
1225
+ `${n()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1226
+ s
1227
+ );
1228
+ },
1229
+ update3DMarkers({
1230
+ projectId: e,
1231
+ dateId: r,
1232
+ floorId: t,
1233
+ markers: o
1234
+ }) {
1235
+ return a.put(
1236
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1237
+ o,
1238
+ s
1239
+ );
1240
+ },
1241
+ updateFloors({
1242
+ projectId: e,
1243
+ dateId: r,
1244
+ floors: t
1245
+ }) {
1246
+ return a.put(
1247
+ `${n()}data/projects/360/${e}/dates/${r}/floors.json`,
1248
+ t,
1249
+ s
1250
+ );
1251
+ },
1252
+ deleteFloor({
1253
+ projectId: e,
1254
+ dateId: r,
1255
+ floorId: t
1256
+ }) {
1257
+ return a.delete(
1258
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1259
+ s
1260
+ );
1261
+ },
1262
+ updateDates(e, r) {
1263
+ return a.put(
1264
+ `${n()}data/projects/360/${e}/dates.json`,
1265
+ r,
1266
+ s
1267
+ );
1268
+ },
1269
+ updatePins({
1270
+ projectId: e,
1271
+ dateId: r,
1272
+ floorId: t,
1273
+ pins: o
1274
+ }) {
1275
+ return a.put(
1276
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1277
+ o,
1278
+ s
1279
+ );
1280
+ },
1281
+ getGPXText(e) {
1282
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1283
+ ...s,
1284
+ responseType: "text"
1285
+ }) : Promise.resolve("");
1286
+ },
1287
+ updateRoute(e, r, t, o) {
1288
+ return a.patch(
1289
+ `${n()}data/projects/360/${e}/${r}/${t}/route.json`,
1290
+ o,
1291
+ s
1292
+ );
1293
+ },
1294
+ async updateFeatureFlag(e, r, t, o, i) {
1295
+ return a.put(
1296
+ `${n()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1297
+ i,
1130
1298
  {
1131
- ...t || {}
1299
+ ...s,
1300
+ transformRequest: [(g) => JSON.stringify(g)]
1132
1301
  }
1133
1302
  );
1134
1303
  },
1135
- getVerifiedDays(e, r, t = {}) {
1304
+ async saveSteps(e, r, t, o) {
1305
+ return a.put(
1306
+ `${n()}data/projects/360/${e}/${r}/${t}/steps.json`,
1307
+ o,
1308
+ s
1309
+ );
1310
+ },
1311
+ getDates({
1312
+ projectID: e,
1313
+ prefix: r = ""
1314
+ }) {
1136
1315
  return a.get(
1137
- `${i()}/projects/${e}/gate-report/verified-days?${g(
1138
- r
1139
- )}`,
1140
- t
1316
+ `${n()}data/projects/360/${e}/${r}dates.json`,
1317
+ s
1141
1318
  );
1142
1319
  },
1143
- updateEventById(e, {
1144
- updatedBy: r,
1145
- payload: t
1320
+ getFloorData({
1321
+ projectID: e,
1322
+ dateID: r,
1323
+ floorID: t,
1324
+ prefix: o = ""
1325
+ }) {
1326
+ return a.get(
1327
+ `${n()}data/projects/360/${e}/${o}${r}/${t}.json`,
1328
+ s
1329
+ );
1330
+ },
1331
+ patchFloor({
1332
+ projectID: e,
1333
+ dateID: r,
1334
+ floorID: t,
1335
+ body: o
1146
1336
  }) {
1147
1337
  return a.patch(
1148
- `${i()}/projects/events/${e}?${g({
1149
- updatedBy: r
1150
- })}`,
1151
- t
1338
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1339
+ o,
1340
+ s
1152
1341
  );
1153
1342
  },
1154
- verifyDay(e) {
1155
- return a.post(
1156
- `${i()}/projects/gate-report/verified-days`,
1157
- e
1343
+ deleteMarkers({ projectID: e, dateID: r, floorID: t }) {
1344
+ return a.delete(
1345
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1346
+ s
1347
+ );
1348
+ },
1349
+ patchMarkers({
1350
+ projectID: e,
1351
+ dateID: r,
1352
+ floorID: t,
1353
+ markers: o
1354
+ }) {
1355
+ return a.patch(
1356
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1357
+ o,
1358
+ s
1158
1359
  );
1159
1360
  },
1160
- regenerateThumbnail(e, r) {
1361
+ putMarkers({
1362
+ projectID: e,
1363
+ dateID: r,
1364
+ floorID: t,
1365
+ markers: o
1366
+ }) {
1161
1367
  return a.put(
1162
- `${i()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1163
- r
1164
- )}`,
1368
+ `${n()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1369
+ o,
1370
+ s
1371
+ );
1372
+ },
1373
+ putFloors({
1374
+ projectID: e,
1375
+ dateID: r,
1376
+ floors: t
1377
+ }) {
1378
+ return a.put(
1379
+ `${n()}data/projects/360/${e}/dates/${r}/floors.json`,
1380
+ t,
1381
+ s
1382
+ );
1383
+ },
1384
+ deleteFloorData({
1385
+ projectID: e,
1386
+ dateID: r,
1387
+ floorID: t
1388
+ }) {
1389
+ return a.delete(
1390
+ `${n()}data/projects/360/${e}/${r}/${t}.json`,
1391
+ s
1392
+ );
1393
+ },
1394
+ putDates({
1395
+ projectID: e,
1396
+ dates: r
1397
+ }) {
1398
+ return a.put(
1399
+ `${n()}data/projects/360/${e}/dates.json`,
1400
+ r,
1401
+ s
1402
+ );
1403
+ },
1404
+ deleteDate({
1405
+ projectID: e,
1406
+ dateID: r
1407
+ }) {
1408
+ return a.delete(
1409
+ `${n()}data/projects/360/${e}/${r}.json`,
1410
+ s
1411
+ );
1412
+ },
1413
+ getPins({
1414
+ projectID: e,
1415
+ dateID: r,
1416
+ floorID: t
1417
+ }) {
1418
+ return a.get(
1419
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1420
+ s
1421
+ );
1422
+ },
1423
+ putPins({
1424
+ projectID: e,
1425
+ dateID: r,
1426
+ floorID: t,
1427
+ pins: o
1428
+ }) {
1429
+ return a.put(
1430
+ `${n()}data/projects/360/${e}/${r}/${t}/pins.json`,
1431
+ o,
1432
+ s
1433
+ );
1434
+ },
1435
+ patchCalibrationDetails({
1436
+ projectID: e,
1437
+ dateID: r,
1438
+ floorID: t,
1439
+ details: o
1440
+ }) {
1441
+ return a.patch(
1442
+ `${n()}data/projects/360/${e}/${r}/${t}/calibrationDetails.json`,
1443
+ o,
1444
+ s
1445
+ );
1446
+ },
1447
+ getDateWalks(e, r) {
1448
+ return a.get(
1449
+ `${n()}data/projects/360/${e}/${r}.json`,
1450
+ s
1451
+ );
1452
+ },
1453
+ getRoute({
1454
+ projectID: e,
1455
+ dateID: r,
1456
+ floorID: t
1457
+ }) {
1458
+ return a.get(
1459
+ `${n()}data/projects/360/${e}/${r}/${t}/route.json`,
1460
+ s
1461
+ );
1462
+ },
1463
+ getAerialShotDate({
1464
+ projectID: e,
1465
+ dateID: r
1466
+ }) {
1467
+ return a.get(
1468
+ `${n()}data/projects/360/${e}/aerial-shots/dates/${r}/date.json`,
1469
+ s
1470
+ );
1471
+ },
1472
+ updateGPXFile(e, r, t, o) {
1473
+ const i = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1474
+ return g.append("gpxFile", i, "updated-track.gpx"), a.post(
1475
+ `${go() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${mo()}`,
1476
+ g,
1165
1477
  {
1166
- method: "PUT"
1478
+ ...s,
1479
+ headers: { "Content-Type": "multipart/form-data" }
1167
1480
  }
1168
1481
  );
1169
1482
  },
1170
- getDailyStatus(e, r = {}) {
1483
+ getProjectDates(e) {
1171
1484
  return a.get(
1172
- `${i()}/projects/${e}/processed-days`,
1173
- { params: r }
1485
+ `${n()}data/projects/360/${e}/dates.json`,
1486
+ s
1174
1487
  );
1175
1488
  },
1176
- getEventThumbnail({
1177
- cameraExid: e,
1178
- eventType: r,
1179
- eventTime: t,
1180
- token: s
1489
+ getProjectAerialShotsDates(e) {
1490
+ return a.get(
1491
+ `${n()}data/projects/360/${e}/aerial-shots/dates.json`,
1492
+ s
1493
+ );
1494
+ },
1495
+ getProjectDateFloors({
1496
+ projectId: e,
1497
+ dateId: r,
1498
+ prefix: t = ""
1181
1499
  }) {
1182
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1500
+ return a.get(
1501
+ `${n()}data/projects/360/${e}/${t}${r}.json`,
1502
+ s
1503
+ );
1504
+ }
1505
+ },
1506
+ forge: {
1507
+ getAccessToken() {
1508
+ return a.get(po(), s);
1183
1509
  },
1184
- getEventSnapshot({
1185
- cameraExid: e,
1186
- eventType: r,
1187
- eventTime: t,
1188
- token: s
1510
+ getProjectInfo(e) {
1511
+ return a.get(
1512
+ `${n()}data/projects/forge/${e}.json`,
1513
+ s
1514
+ );
1515
+ },
1516
+ saveSavedView(e, r) {
1517
+ return a.put(
1518
+ `${n()}data/projects/forge/${e}/savedView.json`,
1519
+ r,
1520
+ s
1521
+ );
1522
+ },
1523
+ saveMarkers(e, r) {
1524
+ return a.put(
1525
+ `${n()}data/projects/forge/${e}/markers.json`,
1526
+ r,
1527
+ s
1528
+ );
1529
+ },
1530
+ getForgeProject({
1531
+ projectID: e
1189
1532
  }) {
1190
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1533
+ return a.get(
1534
+ `${n()}data/projects/forge/${e}.json`,
1535
+ s
1536
+ );
1537
+ }
1538
+ },
1539
+ itwin: {
1540
+ getProjectInfo(e) {
1541
+ return a.get(
1542
+ `${n()}data/projects/itwin/${e}.json`,
1543
+ s
1544
+ );
1191
1545
  },
1192
- getEvents(e, r, t = {}) {
1546
+ clearBimCompare(e) {
1547
+ return a.delete(
1548
+ `${n()}data/projects/itwin/${e}/bim-compare.json`,
1549
+ s
1550
+ );
1551
+ },
1552
+ clearSiteView(e, r) {
1553
+ return a.delete(
1554
+ `${n()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1555
+ s
1556
+ );
1557
+ }
1558
+ },
1559
+ siteView: {
1560
+ getCamerasList() {
1193
1561
  return a.get(
1194
- `${i()}/projects/${e}/gate-report/events?${g(
1562
+ `${n()}data/cameras-list.json`,
1563
+ s
1564
+ );
1565
+ },
1566
+ updateCamerasList(e) {
1567
+ return a.put(
1568
+ `${n()}data/cameras-list.json`,
1569
+ e,
1570
+ s
1571
+ );
1572
+ },
1573
+ updateCamerasListItem(e, r) {
1574
+ return a.put(
1575
+ `${n()}data/cameras-list/${e}.json`,
1576
+ r,
1577
+ s
1578
+ );
1579
+ },
1580
+ updateProjectData({
1581
+ viewerType: e,
1582
+ projectId: r,
1583
+ data: t
1584
+ }) {
1585
+ const o = e.toLowerCase();
1586
+ return a.patch(
1587
+ `${n()}data/projects/${o}/${r}.json`,
1588
+ t,
1589
+ s
1590
+ );
1591
+ },
1592
+ deleteProjectData(e, r) {
1593
+ const t = e.toLowerCase();
1594
+ return a.delete(
1595
+ `${n()}data/projects/${t}/${r}.json`,
1596
+ s
1597
+ );
1598
+ },
1599
+ readAllData(e) {
1600
+ return a.get(`${e}data.json`, s);
1601
+ },
1602
+ writeAllData(e, r) {
1603
+ return a.put(`${e}data.json`, r, s);
1604
+ }
1605
+ },
1606
+ map: {
1607
+ getMapViews(e) {
1608
+ return a.get(
1609
+ `${n()}data/projects/maps/${e}.json`,
1610
+ s
1611
+ );
1612
+ },
1613
+ updateMapViews(e, r) {
1614
+ return a.put(
1615
+ `${n()}data/projects/maps/${e}.json`,
1616
+ r,
1617
+ s
1618
+ );
1619
+ }
1620
+ },
1621
+ safety: {
1622
+ getTPulseLink(e) {
1623
+ return a.get(
1624
+ `${n()}data/projects/safety/${e}.json`,
1625
+ s
1626
+ );
1627
+ },
1628
+ updateTPulseLink(e, r) {
1629
+ return a.put(
1630
+ `${n()}data/projects/safety/${e}.json`,
1631
+ { link: r },
1632
+ s
1633
+ );
1634
+ }
1635
+ },
1636
+ planner: {
1637
+ getPlannerList() {
1638
+ return a.get(`${n()}data/planner-list.json`, {
1639
+ ...s
1640
+ });
1641
+ },
1642
+ getPlannerItem(e) {
1643
+ return a.get(
1644
+ `${n()}data/planner-list/${e}.json`,
1645
+ s
1646
+ );
1647
+ },
1648
+ saveSitePlanMetaData(e, r) {
1649
+ return a.put(
1650
+ `${n()}data/planner-list/${e}.json`,
1651
+ r,
1652
+ s
1653
+ );
1654
+ },
1655
+ getSitePlan(e) {
1656
+ return a.get(
1657
+ `${n()}data/projects/planner/${e}.json`,
1658
+ s
1659
+ );
1660
+ },
1661
+ saveSitePlan(e, r) {
1662
+ return a.put(
1663
+ `${n()}data/projects/planner/${e}.json`,
1664
+ r,
1665
+ s
1666
+ );
1667
+ }
1668
+ }
1669
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1670
+ if (Object.keys(e).length === 0)
1671
+ return;
1672
+ let o = { ...e };
1673
+ return r && (o = D.decamelizeKeys(e)), Object.entries(o).reduce((i, [g, m], d) => {
1674
+ let h = "";
1675
+ return ["", null, void 0].includes(m) || Array.isArray(m) && m.length === 0 ? i : (m && typeof m == "object" ? h = Object.entries(m).reduce((M, [P, j], U) => {
1676
+ let f = g;
1677
+ return isNaN(Number.parseInt(P)) ? f = `${g}[${P}]` : Array.isArray(m) && t && (f = `${g}[]`), `${M}${U > 0 ? "&" : ""}${f}=${encodeURIComponent(j)}`;
1678
+ }, "") : h = `${g}=${encodeURIComponent(
1679
+ m
1680
+ )}`, `${i}${d > 0 ? "&" : ""}${h}`);
1681
+ }, "");
1682
+ };
1683
+ function co(e = "") {
1684
+ return [
1685
+ ...new URLSearchParams(
1686
+ e.indexOf("#") > -1 ? e.split("#")[0] : e
1687
+ ).entries()
1688
+ ].filter(([, t]) => t).reduce((t, [o, i]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: i } : t[o] ? {
1689
+ ...t,
1690
+ [o]: [...t[o], i]
1691
+ } : { ...t, [o]: [i] }, {});
1692
+ }
1693
+ const L = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, Fo = {
1694
+ anpr: {
1695
+ exportAnprLegacyEvents(e, r) {
1696
+ return a({
1697
+ url: `${L()}/projects/${e}/anpr/export?${u(
1698
+ r
1699
+ )}`,
1700
+ method: "GET",
1701
+ responseType: "blob"
1702
+ });
1703
+ },
1704
+ getAnprEvents(e, r, t = {}) {
1705
+ return a.get(
1706
+ `${l()}/projects/${e}/anpr?${u(
1195
1707
  r
1196
1708
  )}`,
1197
1709
  t
1198
1710
  );
1199
1711
  },
1200
- getCounts(e, r = {}, t = {}) {
1712
+ getAnprCounts(e, r, t) {
1201
1713
  return a.get(
1202
- `${i()}/projects/${e}/gate-report/counts?${g(
1714
+ `${l()}/projects/${e}/anpr/counts?${u(
1203
1715
  r
1204
1716
  )}`,
1205
1717
  t
1206
1718
  );
1207
1719
  },
1208
- getGateReportApplications(e, r) {
1720
+ updateAnprEvent(e, r) {
1721
+ return a.patch(`${l()}/anpr/${e}`, r);
1722
+ },
1723
+ bulkUpdateAnprRecords(e) {
1724
+ return a.patch(`${l()}/anpr/status`, e);
1725
+ },
1726
+ exportAnprEvents(e, r) {
1727
+ return a({
1728
+ url: `${l()}/projects/${e}/anpr/events/export?${u(
1729
+ r
1730
+ )}`,
1731
+ method: "GET",
1732
+ responseType: "blob"
1733
+ });
1734
+ }
1735
+ },
1736
+ gateReport: {
1737
+ exportEvents(e, r) {
1738
+ return a({
1739
+ url: `${l()}/projects/${e}/gate-report/events/export?${u(
1740
+ r
1741
+ )}`,
1742
+ method: "GET",
1743
+ responseType: "blob"
1744
+ });
1745
+ },
1746
+ exportEventsProgress(e, r) {
1209
1747
  return a.get(
1210
- `${i()}/projects/${e}/cameras/${r}/gate-report/apps`
1748
+ `${L()}/projects/${e}/gate-report/events/export/progress?${u(
1749
+ r
1750
+ )}`
1751
+ );
1752
+ },
1753
+ generateAnprThumbnail(e, r) {
1754
+ return a.post(
1755
+ `${l()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1756
+ {},
1757
+ {
1758
+ headers: {
1759
+ "Content-Type": "application/json"
1760
+ }
1761
+ }
1211
1762
  );
1212
1763
  },
1213
- getGateReportProjectsInfos(e) {
1764
+ getVerifiedDays(e, r, t = {}) {
1214
1765
  return a.get(
1215
- `${i()}/projects/gate-report/get-projects-info`,
1766
+ `${l()}/projects/${e}/gate-report/verified-days?${u(
1767
+ r
1768
+ )}`,
1769
+ t
1770
+ );
1771
+ },
1772
+ verifyDay(e) {
1773
+ return a.post(
1774
+ `${l()}/projects/gate-report/verified-days`,
1216
1775
  e
1217
1776
  );
1777
+ },
1778
+ getDailyStatus(e, r = {}) {
1779
+ return a.get(
1780
+ `${l()}/projects/${e}/gate-report/processed-days`,
1781
+ { params: r }
1782
+ );
1783
+ },
1784
+ getEvents(e, r, t = {}) {
1785
+ return a.get(
1786
+ `${l()}/projects/${e}/gate-report/events?${u(
1787
+ r
1788
+ )}`,
1789
+ t
1790
+ );
1791
+ },
1792
+ getCounts(e, r = {}, t = {}) {
1793
+ return a.get(
1794
+ `${l()}/projects/${e}/gate-report/counts?${u(
1795
+ r
1796
+ )}`,
1797
+ t
1798
+ );
1218
1799
  }
1219
1800
  },
1220
1801
  brainTool: {
1221
1802
  getObjectDetectionsResults(e = {}) {
1222
- return a.post(`${i()}/ai-models/object-detection`, e);
1223
- },
1224
- getSegments(e = {}) {
1225
- return a.post(`${i()}/ai-models/segment`, e);
1803
+ return a.post(
1804
+ `${l()}/ai-models/object-detection`,
1805
+ e
1806
+ );
1226
1807
  }
1227
1808
  },
1228
1809
  roi: {
1229
1810
  getROIs(e, r = {}) {
1230
1811
  return a.get(
1231
- `${i()}/projects/${e}/rois?${g(r)}`
1812
+ `${l()}/projects/${e}/rois?${u(
1813
+ r
1814
+ )}`
1232
1815
  );
1233
1816
  },
1817
+ listROIs(e = {}) {
1818
+ return a.get(`${l()}/rois?${u(e)}`);
1819
+ },
1234
1820
  createROI(e) {
1235
- return a.post(`${i()}/projects/rois`, e);
1821
+ return a.post(`${l()}/rois`, e);
1236
1822
  },
1237
1823
  updateROI({
1238
1824
  updatedBy: e,
1239
- roi: r
1825
+ id: r,
1826
+ ...t
1240
1827
  }) {
1241
1828
  return a.patch(
1242
- `${i()}/projects/rois/${r.id}?${g({
1829
+ `${l()}/rois/${r}?${u({
1243
1830
  updatedBy: e
1244
1831
  })}`,
1245
- r
1832
+ t
1246
1833
  );
1247
1834
  },
1248
1835
  deleteROI({ id: e, updatedBy: r }) {
1249
1836
  return a.patch(
1250
- `${i()}/projects/rois/${e}?${g({
1837
+ `${l()}/rois/${e}?${u({
1251
1838
  updatedBy: r
1252
1839
  })}`,
1253
- { isactive: !1, note: "delete roi" }
1840
+ { isActive: !1, note: "delete roi" }
1254
1841
  );
1255
1842
  }
1256
1843
  },
1257
1844
  detections: {
1258
- async getDetections({ projectExid: e, ...r }) {
1259
- return a.get(
1260
- `${i()}/projects/${e}/detections?${g(
1261
- r
1262
- )}`
1263
- );
1264
- },
1265
1845
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1266
1846
  return a.get(
1267
- `${i()}/projects/${e}/detections/counts?${g(
1847
+ `${l()}/projects/${e}/trackings/counts?${u(
1268
1848
  r
1269
1849
  )}`,
1270
1850
  t
@@ -1272,7 +1852,7 @@ const i = () => a.env.aiApiUrl, Yt = {
1272
1852
  },
1273
1853
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1274
1854
  return a.get(
1275
- `${i()}/projects/${e}/detections/timestamps?${g(
1855
+ `${l()}/projects/${e}/trackings/timestamps?${u(
1276
1856
  r
1277
1857
  )}`,
1278
1858
  t
@@ -1284,7 +1864,7 @@ const i = () => a.env.aiApiUrl, Yt = {
1284
1864
  ...t
1285
1865
  }) {
1286
1866
  return a.get(
1287
- `${i()}/cameras/${e}/segments/appearance-from-points`,
1867
+ `${l()}/cameras/${e}/segments/appearance-from-points`,
1288
1868
  {
1289
1869
  params: {
1290
1870
  cameraExid: e,
@@ -1294,27 +1874,37 @@ const i = () => a.env.aiApiUrl, Yt = {
1294
1874
  }
1295
1875
  );
1296
1876
  },
1297
- async getDetectionsTracking(e, r) {
1877
+ async getGroupedTrackings(e, r) {
1298
1878
  return a.get(
1299
- `${i()}/projects/${e}/detections/trackings?${g(
1879
+ `${l()}/projects/${e}/trackings/grouped?${u(
1300
1880
  r
1301
1881
  )}`
1302
1882
  );
1303
1883
  },
1304
1884
  async getSegmentsMasks(e, r) {
1305
1885
  return a.get(
1306
- `${i()}/cameras/${e}/segments/masks`,
1886
+ `${l()}/cameras/${e}/segments/masks`,
1307
1887
  {
1308
1888
  params: r
1309
1889
  }
1310
1890
  );
1311
1891
  },
1892
+ async getSegmentsPresenceDateIntervals({
1893
+ cameraExid: e,
1894
+ ...r
1895
+ }) {
1896
+ return a.get(
1897
+ `${l()}/cameras/${e}/segments/presence-intervals?${u(
1898
+ r
1899
+ )}`
1900
+ );
1901
+ },
1312
1902
  async getDetectionsPresenceDateIntervals({
1313
1903
  projectExid: e,
1314
1904
  ...r
1315
1905
  }) {
1316
1906
  return a.get(
1317
- `${i()}/projects/${e}/detections/presence-intervals?${g(
1907
+ `${l()}/projects/${e}/trackings/presence-intervals?${u(
1318
1908
  r
1319
1909
  )}`
1320
1910
  );
@@ -1324,127 +1914,184 @@ const i = () => a.env.aiApiUrl, Yt = {
1324
1914
  ...r
1325
1915
  }) {
1326
1916
  return a.get(
1327
- `${i()}/projects/${e}/detections/timestamps/export?${g(
1917
+ `${l()}/projects/${e}/detections/timestamps/export?${u(
1328
1918
  r
1329
1919
  )}`,
1330
1920
  { responseType: "blob" }
1331
1921
  );
1332
1922
  }
1333
1923
  },
1334
- siteAnalytics: {
1335
- smartSearch({
1336
- cameraExid: e,
1337
- payload: r,
1338
- fromDate: t,
1339
- toDate: s,
1340
- page: o = 1,
1341
- pageSize: l = 20
1342
- }) {
1343
- const n = encodeURIComponent(
1344
- (s != null ? s : "").replace(/\.\d+Z$/, "").replace("T", " ")
1345
- ), p = encodeURIComponent(
1346
- (t != null ? t : "").replace(/\.\d+Z$/, "").replace("T", " ")
1924
+ siteAnalytics: {
1925
+ smartSearchAll(e, r) {
1926
+ const { payload: t, ...o } = r, i = {
1927
+ page: 1,
1928
+ limit: 20,
1929
+ ...o
1930
+ };
1931
+ let g = `${l()}/projects/${e}/smart-search/all?${u(
1932
+ i
1933
+ )}`;
1934
+ return a.post(g, t);
1935
+ },
1936
+ smartSearchFirstLastSeen(e, r) {
1937
+ const { payload: t, ...o } = r, i = {
1938
+ page: 1,
1939
+ limit: 20,
1940
+ ...o
1941
+ };
1942
+ let g = `${l()}/projects/${e}/smart-search/first-last-seen?${u(
1943
+ i
1944
+ )}`;
1945
+ return a.post(g, t);
1946
+ },
1947
+ saveQuery({
1948
+ projectExid: e,
1949
+ cameraExid: r,
1950
+ payload: t
1951
+ }) {
1952
+ return a.post(
1953
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries`,
1954
+ t
1955
+ );
1956
+ },
1957
+ getQueries(e, r) {
1958
+ return a.get(
1959
+ `${l()}/projects/${e}/smart-search/queries?${u(
1960
+ r
1961
+ )}`
1962
+ );
1963
+ },
1964
+ getQueryById(e, r, t) {
1965
+ return a.get(
1966
+ `${l()}/projects/${e}/smart-search/queries/${t}?${u(
1967
+ { cameraExid: r }
1968
+ )}`
1969
+ );
1970
+ },
1971
+ updateQuery({
1972
+ projectExid: e,
1973
+ cameraExid: r,
1974
+ queryId: t,
1975
+ payload: o
1976
+ }) {
1977
+ return a.patch(
1978
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1979
+ o
1980
+ );
1981
+ },
1982
+ deleteQuery({
1983
+ projectExid: e,
1984
+ cameraExid: r,
1985
+ queryId: t
1986
+ }) {
1987
+ return a.delete(
1988
+ `${l()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1989
+ {}
1990
+ );
1991
+ },
1992
+ exportResultsData({
1993
+ projectExid: e,
1994
+ cameraExids: r,
1995
+ fromDate: t,
1996
+ toDate: o,
1997
+ query: i,
1998
+ fileType: g = X.Csv,
1999
+ directDownload: m = !0,
2000
+ payload: d,
2001
+ limit: h,
2002
+ page: M
2003
+ }) {
2004
+ return a.post(
2005
+ `${l()}/projects/${e}/smart-search/export?${u(
2006
+ {
2007
+ cameraExids: r,
2008
+ fromDate: t,
2009
+ toDate: o,
2010
+ query: i,
2011
+ fileType: g,
2012
+ directDownload: m,
2013
+ limit: h,
2014
+ page: M
2015
+ }
2016
+ )}`,
2017
+ d,
2018
+ {
2019
+ responseType: "blob"
2020
+ }
2021
+ );
2022
+ },
2023
+ getDetectionsHeatmapData(e, r) {
2024
+ return a.get(
2025
+ `${l()}/projects/${e}/smart-search/heatmap?${u(
2026
+ r
2027
+ )}`,
2028
+ {}
2029
+ );
2030
+ }
2031
+ },
2032
+ siteAnalyticsManagement: {
2033
+ listApps(e = {}) {
2034
+ return a.get(
2035
+ `${l()}/site-analytics-management/apps?${u(
2036
+ e
2037
+ )}`
1347
2038
  );
1348
- let T = `${i()}/cameras/${e}/advanced_search?page=${o}&page_size=${l}&from_date=${p}&to_date=${n}`;
1349
- return a.post(T, r);
1350
2039
  },
1351
- saveQuery(e) {
2040
+ createApp(e) {
1352
2041
  return a.post(
1353
- `${i()}/cameras/${e.cameraExid}/advanced_search/queries`,
2042
+ `${l()}/site-analytics-management/apps`,
1354
2043
  e
1355
2044
  );
1356
2045
  },
1357
- getQueries(e, r) {
1358
- return a.get(
1359
- `${i()}/cameras/${e}/advanced_search/queries`,
1360
- {
1361
- params: r
1362
- }
1363
- );
1364
- },
1365
- getQueryById(e, r) {
1366
- return a.get(
1367
- `${i()}/cameras/${e}/advanced_search/queries/${r}`
1368
- );
1369
- },
1370
- updateQuery(e, r, t) {
1371
- return a.put(
1372
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
2046
+ updateApp(e, r, t) {
2047
+ return a.patch(
2048
+ `${l()}/site-analytics-management/apps/${e}/${r}`,
1373
2049
  t
1374
2050
  );
1375
2051
  },
1376
- deleteQuery(e, r) {
2052
+ deleteApp(e, r) {
1377
2053
  return a.delete(
1378
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
1379
- {}
2054
+ `${l()}/site-analytics-management/apps/${e}/${r}`
1380
2055
  );
1381
2056
  },
1382
- getProcessedTimes({
1383
- projectExid: e,
1384
- cameraExids: r,
1385
- granularity: t = "day",
1386
- endDate: s,
1387
- startDate: o
1388
- }) {
1389
- return a.get(
1390
- `${i()}/projects/${e}/processed_times`,
1391
- {
1392
- params: {
1393
- camera_exids: r,
1394
- granularity: t,
1395
- start_date: o,
1396
- end_date: s
1397
- },
1398
- preserveCasing: !0
1399
- }
2057
+ setAppState(e, r, t) {
2058
+ return a.patch(
2059
+ `${l()}/site-analytics-management/apps/${e}/${r}/state`,
2060
+ { state: t }
1400
2061
  );
1401
2062
  },
1402
- exportResultsData({
1403
- cameraExid: e,
1404
- fromDate: r,
1405
- toDate: t,
1406
- query: s,
1407
- fileType: o = Z.Csv,
1408
- directDownload: l = !0,
1409
- payload: n
1410
- }) {
1411
- return a.post(
1412
- `${i()}/cameras/${e}/advanced_search/export`,
1413
- n,
1414
- {
1415
- responseType: "blob",
1416
- params: {
1417
- fromDate: r,
1418
- toDate: t,
1419
- query: s,
1420
- fileType: o,
1421
- directDownload: l
1422
- }
1423
- }
2063
+ listCoolifyServers() {
2064
+ return a.get(
2065
+ `${l()}/site-analytics-management/coolify-servers`
1424
2066
  );
1425
2067
  },
1426
- getDetectionsHeatmapData(e, r) {
1427
- return a.post(
1428
- `${i()}/cameras/${e}/advanced_search/heatmap?${g(
1429
- r,
1430
- { forceArrayBrackets: !0 }
1431
- )}`,
1432
- {}
2068
+ listModelVersions() {
2069
+ return a.get(
2070
+ `${l()}/site-analytics-management/model-versions`
1433
2071
  );
1434
2072
  }
1435
2073
  },
1436
2074
  coolify: {
1437
2075
  getCoolifyServers() {
1438
- return a.get(`${i()}/coolify/servers`);
2076
+ return a.get(`${l()}/coolify/servers`);
1439
2077
  },
1440
- createAppOnCoolify(e) {
2078
+ createAppOnCoolify({
2079
+ projectExid: e,
2080
+ cameraExid: r,
2081
+ payload: t
2082
+ }) {
1441
2083
  return a.post(
1442
- `${i()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
2084
+ `${l()}/projects/${e}/cameras/${r}/anpr/apps`,
2085
+ t
1443
2086
  );
1444
2087
  },
1445
- saveAppOnCoolify(e, r, t) {
2088
+ registerCoolifyApp({
2089
+ projectExid: e,
2090
+ cameraExid: r,
2091
+ payload: t
2092
+ }) {
1446
2093
  return a.post(
1447
- `${i()}/projects/${e}/cameras/${r}/gate_report/apps`,
2094
+ `${l()}/projects/${e}/cameras/${r}/gate-report/apps`,
1448
2095
  t
1449
2096
  );
1450
2097
  },
@@ -1452,11 +2099,11 @@ const i = () => a.env.aiApiUrl, Yt = {
1452
2099
  appUuid: e,
1453
2100
  appId: r,
1454
2101
  payload: t,
1455
- cameraExid: s,
1456
- projectExid: o
2102
+ cameraExid: o,
2103
+ projectExid: i
1457
2104
  }) {
1458
2105
  return a.patch(
1459
- `${i()}/projects/${o}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
2106
+ `${l()}/projects/${i}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1460
2107
  t
1461
2108
  );
1462
2109
  },
@@ -1464,37 +2111,128 @@ const i = () => a.env.aiApiUrl, Yt = {
1464
2111
  appUuid: e,
1465
2112
  appId: r,
1466
2113
  cameraExid: t,
1467
- projectExid: s
2114
+ projectExid: o
1468
2115
  }) {
1469
2116
  return a.delete(
1470
- `${i()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
2117
+ `${l()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1471
2118
  );
1472
2119
  },
1473
2120
  startService(e) {
1474
- return a.post(`${i()}/coolify/services/${e}/start`);
2121
+ return a.post(
2122
+ `${l()}/coolify/services/${e}/start`
2123
+ );
1475
2124
  },
1476
2125
  pauseService(e) {
1477
- return a.post(`${i()}/coolify/services/${e}/stop`);
2126
+ return a.post(`${l()}/coolify/services/${e}/stop`);
1478
2127
  },
1479
2128
  restartService(e) {
1480
2129
  return a.post(
1481
- `${i()}/coolify/services/${e}/restart`
2130
+ `${l()}/coolify/services/${e}/restart`
1482
2131
  );
1483
2132
  }
1484
2133
  },
1485
2134
  fovChanges: {
1486
2135
  getCameraFovChanges(e, r = {}) {
1487
2136
  return a.post(
1488
- `${i()}/cameras/${e}/fov_changes`,
2137
+ `${l()}/cameras/${e}/fov_changes`,
1489
2138
  {},
1490
2139
  r
1491
2140
  );
1492
2141
  }
2142
+ },
2143
+ prompts: {
2144
+ list(e = {}) {
2145
+ return a.get(`${l()}/prompts?${u(e)}`);
2146
+ },
2147
+ get(e) {
2148
+ return a.get(`${l()}/prompts/${e}`);
2149
+ },
2150
+ create(e) {
2151
+ return a.post(`${l()}/prompts`, e);
2152
+ },
2153
+ update(e, r) {
2154
+ return a.patch(`${l()}/prompts/${e}`, r);
2155
+ },
2156
+ delete(e) {
2157
+ return a.delete(`${l()}/prompts/${e}`);
2158
+ }
2159
+ },
2160
+ apiKeys: {
2161
+ list(e = {}) {
2162
+ const r = u(e);
2163
+ return a.get(`${l()}/api-keys${r ? `?${r}` : ""}`);
2164
+ },
2165
+ purposes() {
2166
+ return a.get(`${l()}/api-keys/purposes`);
2167
+ },
2168
+ get(e) {
2169
+ return a.get(`${l()}/api-keys/${e}`);
2170
+ },
2171
+ create(e) {
2172
+ return a.post(`${l()}/api-keys`, e);
2173
+ },
2174
+ update(e, r) {
2175
+ return a.patch(`${l()}/api-keys/${e}`, r);
2176
+ },
2177
+ delete(e, r = !1) {
2178
+ const t = r ? "?revoke=true" : "";
2179
+ return a.delete(`${l()}/api-keys/${e}${t}`);
2180
+ }
2181
+ },
2182
+ gateReportManagement: {
2183
+ listApps(e = {}) {
2184
+ return a.get(
2185
+ `${l()}/gate-report/apps?${u(
2186
+ e
2187
+ )}`
2188
+ );
2189
+ },
2190
+ getApp(e, r) {
2191
+ return a.get(
2192
+ `${l()}/gate-report/apps/${e}/${r}`
2193
+ );
2194
+ },
2195
+ listAppEvents(e) {
2196
+ return a.get(
2197
+ `${l()}/gate-report/apps/last-event-status?${u({
2198
+ projectExid: e
2199
+ })}`
2200
+ );
2201
+ },
2202
+ createApp(e) {
2203
+ return a.post(`${l()}/gate-report/apps`, e);
2204
+ },
2205
+ updateApp(e, r, t) {
2206
+ return a.patch(
2207
+ `${l()}/gate-report/apps/${e}/${r}`,
2208
+ t
2209
+ );
2210
+ },
2211
+ deleteApp(e, r) {
2212
+ return a.delete(
2213
+ `${l()}/gate-report/apps/${e}/${r}`
2214
+ );
2215
+ },
2216
+ setAppState(e, r, t) {
2217
+ return a.patch(
2218
+ `${l()}/gate-report/apps/${e}/${r}/state`,
2219
+ { state: t }
2220
+ );
2221
+ },
2222
+ listCoolifyProjects() {
2223
+ return a.get(`${l()}/gate-report/coolify-projects`);
2224
+ },
2225
+ listCoolifyServers() {
2226
+ return a.get(`${l()}/gate-report/coolify-servers`);
2227
+ },
2228
+ listImageTags() {
2229
+ return a.get(`${l()}/gate-report/image-tags`);
2230
+ }
1493
2231
  }
1494
- }, Kt = {
2232
+ }, Oo = {
1495
2233
  webRtc: {
1496
2234
  requestIceServers({ url: e, token: r }) {
1497
- return b({
2235
+ return w({
1498
2236
  url: e,
1499
2237
  method: "OPTIONS",
1500
2238
  headers: {
@@ -1507,7 +2245,7 @@ const i = () => a.env.aiApiUrl, Yt = {
1507
2245
  token: r,
1508
2246
  data: t
1509
2247
  }) {
1510
- return b({
2248
+ return w({
1511
2249
  url: e,
1512
2250
  method: "POST",
1513
2251
  headers: {
@@ -1521,21 +2259,21 @@ const i = () => a.env.aiApiUrl, Yt = {
1521
2259
  url: e,
1522
2260
  token: r,
1523
2261
  data: t,
1524
- tag: s
2262
+ tag: o
1525
2263
  }) {
1526
- return b({
2264
+ return w({
1527
2265
  url: e,
1528
2266
  method: "PATCH",
1529
2267
  headers: {
1530
2268
  "Content-Type": "application/trickle-ice-sdpfrag",
1531
- "If-Match": s,
2269
+ "If-Match": o,
1532
2270
  Authorization: `Bearer ${r}`
1533
2271
  },
1534
2272
  data: t
1535
2273
  });
1536
2274
  }
1537
2275
  }
1538
- }, Et = {
2276
+ }, No = {
1539
2277
  current(e, r) {
1540
2278
  return a.get(`/projects/${e}/weather/current`, {
1541
2279
  params: r
@@ -1551,23 +2289,23 @@ const i = () => a.env.aiApiUrl, Yt = {
1551
2289
  });
1552
2290
  }
1553
2291
  };
1554
- function u() {
2292
+ function S() {
1555
2293
  var r;
1556
2294
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1557
2295
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1558
2296
  }
1559
- const Ct = {
2297
+ const Go = {
1560
2298
  posthog: {
1561
2299
  getEvents(e) {
1562
- return a.get(`${u()}/posthog/events`, e);
2300
+ return a.get(`${S()}/posthog/events`, e);
1563
2301
  },
1564
2302
  getUsers(e) {
1565
- return a.get(`${u()}/posthog/users`, {
2303
+ return a.get(`${S()}/posthog/users`, {
1566
2304
  params: e
1567
2305
  });
1568
2306
  },
1569
2307
  getActiveUsers(e) {
1570
- return a.get(`${u()}/posthog/active-users`, {
2308
+ return a.get(`${S()}/posthog/active-users`, {
1571
2309
  params: e,
1572
2310
  preserveCasing: !0
1573
2311
  });
@@ -1575,14 +2313,14 @@ const Ct = {
1575
2313
  },
1576
2314
  copilot: {
1577
2315
  async getAllConversations(e) {
1578
- return a.get(`${u()}/copilot/conversations`, {
2316
+ return a.get(`${S()}/copilot/conversations`, {
1579
2317
  params: e,
1580
2318
  preserveCasing: !0
1581
2319
  });
1582
2320
  },
1583
2321
  async getOneConversation(e) {
1584
2322
  return a.get(
1585
- `${u()}/copilot/conversations/${e}`,
2323
+ `${S()}/copilot/conversations/${e}`,
1586
2324
  {
1587
2325
  preserveCasing: !0
1588
2326
  }
@@ -1590,13 +2328,13 @@ const Ct = {
1590
2328
  },
1591
2329
  async getConversationMessages(e, r) {
1592
2330
  return a.get(
1593
- `${u()}/copilot/conversations/${e}/messages`,
2331
+ `${S()}/copilot/conversations/${e}/messages`,
1594
2332
  { params: r, preserveCasing: !0 }
1595
2333
  );
1596
2334
  },
1597
2335
  async getMessageSteps(e) {
1598
2336
  return a.get(
1599
- `${u()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2337
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1600
2338
  );
1601
2339
  },
1602
2340
  async submitMessageFeedback({
@@ -1605,7 +2343,7 @@ const Ct = {
1605
2343
  ...t
1606
2344
  }) {
1607
2345
  return a.post(
1608
- `${u()}/copilot/conversations/${e}/messages/${r}/feedback`,
2346
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1609
2347
  t,
1610
2348
  {
1611
2349
  preserveCasing: !0
@@ -1614,24 +2352,17 @@ const Ct = {
1614
2352
  }
1615
2353
  },
1616
2354
  siteAnalytics: {
1617
- async getSegmentsDateIntervals({
1618
- cameraExid: e,
1619
- fromDate: r,
1620
- toDate: t,
1621
- precision: s
1622
- }) {
1623
- return a.get(
1624
- `${u()}/cameras/${e}/segments/presence-intervals`,
1625
- {
1626
- params: { fromDate: r, toDate: t, precision: s },
1627
- preserveCasing: !0
1628
- }
1629
- );
2355
+ async getProcessingStatus(e = {}, r = {}) {
2356
+ return a.get(`${S()}/site-analytics/processing-status`, {
2357
+ params: e,
2358
+ ...r,
2359
+ preserveCasing: !0
2360
+ });
1630
2361
  },
1631
2362
  async getIntersectionsHeatmapData(e) {
1632
2363
  const { cameraExid: r, ...t } = e;
1633
2364
  return a.get(
1634
- `${u()}/site-analytics/cameras/${r}/heatmap/intersections`,
2365
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1635
2366
  {
1636
2367
  params: t,
1637
2368
  preserveCasing: !0
@@ -1642,7 +2373,7 @@ const Ct = {
1642
2373
  googleCloudStorage: {
1643
2374
  listFiles(e = "") {
1644
2375
  return a.get(
1645
- `${u()}/gc-storage/buckets/evercam-labs/files`,
2376
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1646
2377
  {
1647
2378
  params: {
1648
2379
  prefix: e
@@ -1653,7 +2384,7 @@ const Ct = {
1653
2384
  },
1654
2385
  getSignedUrl(e) {
1655
2386
  return a.get(
1656
- `${u()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2387
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1657
2388
  {
1658
2389
  params: {
1659
2390
  fileName: e
@@ -1666,7 +2397,7 @@ const Ct = {
1666
2397
  luminance: {
1667
2398
  getReadings(e) {
1668
2399
  return a.get(
1669
- `${u()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2400
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1670
2401
  {
1671
2402
  params: {
1672
2403
  fromDate: e.fromDate,
@@ -1678,8 +2409,8 @@ const Ct = {
1678
2409
  }
1679
2410
  },
1680
2411
  kits: {
1681
- getMetrics(e, r, t = q.Last24Hours) {
1682
- return a.get(`${u()}/kits/${e}/metrics`, {
2412
+ getMetrics(e, r, t = Q.Last24Hours) {
2413
+ return a.get(`${S()}/kits/${e}/metrics`, {
1683
2414
  params: {
1684
2415
  metrics: r,
1685
2416
  from: t
@@ -1688,7 +2419,7 @@ const Ct = {
1688
2419
  });
1689
2420
  }
1690
2421
  }
1691
- }, At = {
2422
+ }, Vo = {
1692
2423
  apiStatus: {
1693
2424
  getApiStatus() {
1694
2425
  return a.get("/status");
@@ -1698,6 +2429,9 @@ const Ct = {
1698
2429
  signup(e) {
1699
2430
  return a.post("/users", e);
1700
2431
  },
2432
+ zohoAuthUrl(e) {
2433
+ return a.post("/support/zoho-auth-url", e);
2434
+ },
1701
2435
  fetchAccessFeatures(e) {
1702
2436
  return a.get(`/users/${e}/features`);
1703
2437
  },
@@ -1715,7 +2449,7 @@ const Ct = {
1715
2449
  return a.get(`/auth/provider/${e}`);
1716
2450
  },
1717
2451
  login(e) {
1718
- return a.post("/auth/login", g(e));
2452
+ return a.post("/auth/login", u(e));
1719
2453
  },
1720
2454
  loginWithApiCredentials(e, r) {
1721
2455
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1749,7 +2483,7 @@ const Ct = {
1749
2483
  confirm(e, r) {
1750
2484
  return a.post(`/users/${e}/confirm`, r);
1751
2485
  },
1752
- deleteActiveSession(e, r = {}) {
2486
+ deleteActiveSession(e, r) {
1753
2487
  return a.delete(`/users/active-sessions/${e}`, {
1754
2488
  params: r
1755
2489
  });
@@ -1760,8 +2494,8 @@ const Ct = {
1760
2494
  update(e, r = {}) {
1761
2495
  return a.patch(`/users/${e}`, r);
1762
2496
  },
1763
- delete(e, r) {
1764
- return a.post(`/users/${e}/delete`, r);
2497
+ deleteAccount() {
2498
+ return a.delete("/users/me");
1765
2499
  },
1766
2500
  fetchPermissions() {
1767
2501
  return a.get("/users/permissions");
@@ -1774,18 +2508,18 @@ const Ct = {
1774
2508
  get() {
1775
2509
  return a.get("/notifications");
1776
2510
  },
1777
- markAllAsRead(e) {
1778
- return a.patch(`/notifications/${e}`);
1779
- },
1780
- markAsRead() {
2511
+ markAllAsRead() {
1781
2512
  return a.post("/notifications/mark-as-read");
2513
+ },
2514
+ markAsRead(e) {
2515
+ return a.patch(`/notifications/${e}`);
1782
2516
  }
1783
2517
  },
1784
2518
  bim: {
1785
- getBimSnapshot(e, r, t, s) {
2519
+ getBimSnapshot(e, r, t, o) {
1786
2520
  return a.get(`/cameras/${e}/bim/${r}`, {
1787
2521
  params: t,
1788
- ...s || {}
2522
+ ...o || {}
1789
2523
  });
1790
2524
  },
1791
2525
  getBimModel(e, r, t) {
@@ -1823,7 +2557,7 @@ const Ct = {
1823
2557
  return a.get("/cameras", { params: e, ...e.config });
1824
2558
  },
1825
2559
  getCameraById(e, r) {
1826
- return a.get(`/cameras/${e}?${g(r)}`);
2560
+ return a.get(`/cameras/${e}?${u(r)}`);
1827
2561
  },
1828
2562
  getCameraLastPublicNote(e) {
1829
2563
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1835,7 +2569,7 @@ const Ct = {
1835
2569
  return fetch(
1836
2570
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1837
2571
  ).then(
1838
- ({ url: t }) => Ht(t.split("?")[1] || "").access_token
2572
+ ({ url: t }) => co(t.split("?")[1] || "").access_token
1839
2573
  );
1840
2574
  },
1841
2575
  getCameraStatusLogs(e, r) {
@@ -1849,8 +2583,11 @@ const Ct = {
1849
2583
  index({
1850
2584
  params: e,
1851
2585
  config: r
1852
- }) {
1853
- return a.get(`/projects?${g(e)}`, r);
2586
+ } = { params: {}, config: {} }) {
2587
+ return a.get(`/projects?${u(e)}`, r);
2588
+ },
2589
+ create(e) {
2590
+ return a.post("/projects", e);
1854
2591
  },
1855
2592
  getLogos(e) {
1856
2593
  return a.get(`/projects/${e}/logos`);
@@ -1867,7 +2604,7 @@ const Ct = {
1867
2604
  updateLogo(e, r, t) {
1868
2605
  return a.patch(
1869
2606
  `/projects/${e}/logos/${r}`,
1870
- g({ name: t })
2607
+ u({ name: t })
1871
2608
  );
1872
2609
  },
1873
2610
  updateThumbnail(e, r) {
@@ -2132,6 +2869,32 @@ const Ct = {
2132
2869
  return a.post("/voyage-control/auth/revoke");
2133
2870
  }
2134
2871
  },
2872
+ ring: {
2873
+ authenticate(e) {
2874
+ return a.post("/ring/callback", e);
2875
+ },
2876
+ getDevices() {
2877
+ return a.get("/ring/devices");
2878
+ },
2879
+ importDevices(e) {
2880
+ return a.post("/ring/devices/import", e);
2881
+ },
2882
+ moveDevice(e, r) {
2883
+ return a.patch(`/ring/devices/${e}/move`, r);
2884
+ },
2885
+ deleteDevice(e) {
2886
+ return a.delete(`/ring/devices/${e}`);
2887
+ },
2888
+ disconnect() {
2889
+ return a.post("/ring/disconnect");
2890
+ },
2891
+ startLiveView(e, r) {
2892
+ return a.post(`/ring/devices/${e}/live`, r);
2893
+ },
2894
+ stopLiveView(e, r) {
2895
+ return a.delete(`/ring/devices/${e}/live/${r}`);
2896
+ }
2897
+ },
2135
2898
  xweather: {
2136
2899
  connect(e, r) {
2137
2900
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2151,12 +2914,12 @@ const Ct = {
2151
2914
  params: r
2152
2915
  });
2153
2916
  },
2154
- nearest(e, r, t, s) {
2917
+ nearest(e, r, t, o) {
2155
2918
  return a.get(
2156
2919
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2157
2920
  {
2158
2921
  params: t,
2159
- ...s || {}
2922
+ ...o || {}
2160
2923
  }
2161
2924
  );
2162
2925
  },
@@ -2164,12 +2927,14 @@ const Ct = {
2164
2927
  cameraId: e,
2165
2928
  year: r,
2166
2929
  month: t,
2167
- payload: s
2930
+ payload: o,
2931
+ cancelToken: i
2168
2932
  }) {
2169
2933
  return a.get(
2170
2934
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2171
2935
  {
2172
- params: s
2936
+ params: o,
2937
+ cancelToken: i
2173
2938
  }
2174
2939
  );
2175
2940
  },
@@ -2177,24 +2942,25 @@ const Ct = {
2177
2942
  cameraId: e,
2178
2943
  year: r,
2179
2944
  month: t,
2180
- day: s,
2181
- payload: o,
2182
- cancelToken: l
2945
+ day: o,
2946
+ payload: i,
2947
+ cancelToken: g
2183
2948
  }) {
2184
2949
  return a.get(
2185
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
2950
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2186
2951
  {
2187
- params: o,
2188
- cancelToken: l
2952
+ params: i,
2953
+ cancelToken: g
2189
2954
  }
2190
2955
  );
2191
2956
  },
2192
2957
  getSnapshot(e, r) {
2193
2958
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2194
2959
  },
2195
- getSnapshotRange(e, r) {
2960
+ getSnapshotRange(e, r, t) {
2196
2961
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2197
- params: r
2962
+ params: r,
2963
+ ...t || {}
2198
2964
  });
2199
2965
  }
2200
2966
  },
@@ -2213,19 +2979,19 @@ const Ct = {
2213
2979
  },
2214
2980
  unsubscribe(e, r) {
2215
2981
  return a.patch(
2216
- `/progress-photos/${e}/unsubscribe?${g(
2982
+ `/progress-photos/${e}/unsubscribe?${u(
2217
2983
  r
2218
2984
  )}`
2219
2985
  );
2220
2986
  },
2221
2987
  delete(e, r) {
2222
- return a.delete(`/progress-photos/${e}?${g(r)}`);
2988
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2223
2989
  }
2224
2990
  },
2225
2991
  mediaHub: {
2226
2992
  getAllMedia(e, r) {
2227
2993
  return a.get(
2228
- `projects/${e}/media-hub?${g(r, {
2994
+ `projects/${e}/media-hub?${u(r, {
2229
2995
  forceArrayBrackets: !0
2230
2996
  })}`
2231
2997
  );
@@ -2236,8 +3002,12 @@ const Ct = {
2236
3002
  cShow(e, r) {
2237
3003
  return a.get(`/projects/${e}/media-hub/${r}`);
2238
3004
  },
2239
- cCreate(e, r) {
2240
- return a.post(`/projects/${e}/media-hub`, r);
3005
+ cCreate(e, r, t = (o) => {
3006
+ }) {
3007
+ return a.post(`/projects/${e}/media-hub`, r, {
3008
+ onUploadProgress: t,
3009
+ timeout: 72e5
3010
+ });
2241
3011
  },
2242
3012
  cUpdate(e, r, t) {
2243
3013
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2247,51 +3017,14 @@ const Ct = {
2247
3017
  }
2248
3018
  },
2249
3019
  shares: {
2250
- updateShareRights(e, r) {
2251
- return a.patch(`/cameras/${e}/shares`, r);
2252
- },
2253
- updateShareRequestRights(e, r) {
2254
- return a.patch(`/cameras/${e}/shares/requests`, r);
2255
- },
2256
- cIndex(e) {
2257
- return a.get(`/cameras/${e}/shares`);
2258
- },
2259
- getShareRequest(e, r) {
2260
- return a.get(`/cameras/${e}/shares/requests`, {
2261
- params: r
2262
- });
2263
- },
2264
- deleteShare(e, r) {
2265
- return a.delete(`/cameras/${e}/shares`, r);
2266
- },
2267
- deleteRequest(e, r) {
2268
- return a.delete(`/cameras/${e}/shares/requests`, r);
2269
- },
2270
3020
  deleteShareRequest(e) {
2271
3021
  return a.delete(`/share-requests/${e.params.key}`);
2272
3022
  },
2273
3023
  getSharedUsers(e) {
2274
3024
  return a.get(`/cameras/${e}/shares/users`);
2275
3025
  },
2276
- cCreate(e, r) {
2277
- return a.post(`/cameras/${e}/shares`, r);
2278
- },
2279
- shareProjectCameras(e, r) {
2280
- return a.post(`/projects/${e}/shares/cameras`, r);
2281
- },
2282
3026
  getShareRequestByKey(e) {
2283
3027
  return a.get(`/shares/requests/${e}`);
2284
- },
2285
- resendShareRequest(e, r) {
2286
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2287
- },
2288
- getProjectShares(e) {
2289
- return a.get(
2290
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2291
- );
2292
- },
2293
- updateUserRestriction(e, r) {
2294
- return a.patch(`/projects/${e}/shares/cameras`, r);
2295
3028
  }
2296
3029
  },
2297
3030
  company: {
@@ -2307,7 +3040,8 @@ const Ct = {
2307
3040
  return a.get("/company/projects", e);
2308
3041
  },
2309
3042
  getCompanyCameras(e) {
2310
- return a.get("/company/cameras", e);
3043
+ const r = "params" in e ? e : { params: e };
3044
+ return a.get("/company/cameras", r);
2311
3045
  },
2312
3046
  getCompanyKits(e) {
2313
3047
  return a.get("/company/kits", e);
@@ -2363,7 +3097,7 @@ const Ct = {
2363
3097
  },
2364
3098
  archiveOrUnarchiveComment(e, r, t) {
2365
3099
  return a.patch(
2366
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
3100
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2367
3101
  );
2368
3102
  },
2369
3103
  deleteComment(e, r) {
@@ -2375,6 +3109,14 @@ const Ct = {
2375
3109
  return a.get("/proxy/storyblok", { params: e });
2376
3110
  }
2377
3111
  },
3112
+ snapshots: {
3113
+ deliverViaEmail(e, r) {
3114
+ return a.post(
3115
+ `/projects/${e}/snapshots/deliver/email`,
3116
+ r
3117
+ );
3118
+ }
3119
+ },
2378
3120
  mailing: {
2379
3121
  unsubscribe(e) {
2380
3122
  return a.post("/mailing/unsubscribe", e);
@@ -2382,7 +3124,7 @@ const Ct = {
2382
3124
  },
2383
3125
  widgets: {
2384
3126
  index(e) {
2385
- return a.get(`/widgets?${g(e)}`);
3127
+ return a.get(`/widgets?${u(e)}`);
2386
3128
  },
2387
3129
  show(e) {
2388
3130
  return a.get(`/widgets/${e}`);
@@ -2405,10 +3147,50 @@ const Ct = {
2405
3147
  delete(e) {
2406
3148
  return a.delete(`/widgets/${e}`);
2407
3149
  }
3150
+ },
3151
+ developerApps: {
3152
+ index() {
3153
+ return a.get("/developer/apps");
3154
+ },
3155
+ show(e) {
3156
+ return a.get(`/developer/apps/${e}`);
3157
+ },
3158
+ create(e) {
3159
+ return a.post("/developer/apps", e);
3160
+ },
3161
+ update(e, r) {
3162
+ return a.patch(`/developer/apps/${e}`, r);
3163
+ },
3164
+ delete(e) {
3165
+ return a.delete(`/developer/apps/${e}`);
3166
+ },
3167
+ regenerateSecret(e) {
3168
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
3169
+ }
3170
+ },
3171
+ oauth: {
3172
+ getClientInfo(e, r) {
3173
+ return a.get("/oauth/client-info", {
3174
+ params: { client_id: e, scope: r }
3175
+ });
3176
+ },
3177
+ submitConsent(e) {
3178
+ return a.post("/oauth/consent", e);
3179
+ }
3180
+ },
3181
+ zoho: {
3182
+ getDealLocation(e) {
3183
+ return a.get(`/zoho/deals/${e}/location`);
3184
+ },
3185
+ updateDealLocation(e, r) {
3186
+ return a.post(`/zoho/deals/${e}/location`, r);
3187
+ }
2408
3188
  }
2409
- }, It = {
3189
+ }, Ho = {
2410
3190
  presets: {
2411
- index({ cameraExid: e }) {
3191
+ index({
3192
+ cameraExid: e
3193
+ }) {
2412
3194
  return a.get(`/cameras/${e}/ptz/presets`);
2413
3195
  },
2414
3196
  go({
@@ -2465,9 +3247,9 @@ const Ct = {
2465
3247
  },
2466
3248
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2467
3249
  if (!t) {
2468
- const s = r === "in" ? 1 : -1;
3250
+ const o = r === "in" ? 1 : -1;
2469
3251
  return a.post(
2470
- `/cameras/${e}/ptz/relative?zoom=${s}`
3252
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2471
3253
  );
2472
3254
  }
2473
3255
  return a.post(
@@ -2481,302 +3263,384 @@ const Ct = {
2481
3263
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2482
3264
  }
2483
3265
  }
2484
- }, c = (e) => ({
2485
- [m.V1]: a.env.ingestApiUrl,
2486
- [m.V2]: a.env.ingestGpuApiUrl
2487
- })[e], x = {
3266
+ }, c = (e) => e === p.Drone ? (a.env.ingestDroneApi || "").split(";") : e === p.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2488
3267
  drone: {
2489
3268
  createUpload(e, r) {
2490
3269
  return a.post(
2491
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3270
+ `${c(p.Drone)[0]}/drone/${e}/upload`,
2492
3271
  null,
2493
3272
  { params: r }
2494
3273
  );
2495
3274
  },
2496
- reprocessDrone(e, r) {
2497
- return a.post(
2498
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2499
- null,
2500
- { params: r }
3275
+ async reprocessDrone(e, r = {}) {
3276
+ const t = await T.utils.chooseIngestApiUrl(
3277
+ p.Drone
2501
3278
  );
3279
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2502
3280
  },
2503
3281
  getDrones(e) {
2504
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3282
+ return a.get(
3283
+ `${c(p.Drone)[0]}/drone/uploads/`,
3284
+ e
3285
+ );
2505
3286
  },
2506
3287
  getArchive(e, r) {
2507
3288
  return a.get(
2508
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3289
+ `${c(p.Drone)[0]}/drone/uploads/archive/${e}`,
2509
3290
  {
2510
3291
  params: r
2511
3292
  }
2512
3293
  );
2513
3294
  },
2514
3295
  deleteUpload(e) {
2515
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3296
+ return a.delete(
3297
+ `${c(p.Drone)[0]}/drone/uploads/${e}`
3298
+ );
2516
3299
  },
2517
3300
  prepareForUpload(e, r) {
2518
3301
  return a.put(
2519
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3302
+ `${c(p.Drone)[0]}/drone/${e}/prepare-upload`,
2520
3303
  null,
2521
3304
  { params: r }
2522
3305
  );
2523
3306
  },
2524
- upload(e, r, t) {
2525
- return a.put(
2526
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2527
- t,
2528
- { params: r }
3307
+ async upload(e, r, t) {
3308
+ const o = await T.utils.chooseIngestApiUrl(
3309
+ p.Drone
2529
3310
  );
3311
+ return a.put(`${o}/drone/${e}/upload`, t, {
3312
+ params: r
3313
+ });
2530
3314
  },
2531
3315
  verifyToken(e, r) {
2532
3316
  return a.get(
2533
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3317
+ `${c(p.Drone)[0]}/drone/uploads/${e}/verify`,
2534
3318
  {
2535
3319
  params: { token: r.token }
2536
3320
  }
2537
3321
  );
2538
3322
  },
2539
- calculateMeasuringOperation(e, r) {
3323
+ calculateMeasuringOperation(e, r, t = c(p.Drone)[0]) {
2540
3324
  return a.post(
2541
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3325
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2542
3326
  r
2543
3327
  );
2544
3328
  },
2545
3329
  inspectionTool(e, r) {
2546
3330
  return a.post(
2547
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3331
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-tool`,
2548
3332
  r
2549
3333
  );
2550
3334
  },
2551
- isInspectionEnabled(e, r) {
3335
+ isInspectionEnabled(e, r = {}) {
2552
3336
  return a.post(
2553
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3337
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2554
3338
  null,
2555
3339
  { params: r }
2556
3340
  );
2557
3341
  },
2558
- getDroneQueueSize(e = m.V1) {
2559
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2560
- return a.get(`${r}/drone/queue`);
3342
+ getDroneQueueSize(e) {
3343
+ return a.get(`${e}/drone/queue`);
2561
3344
  },
2562
3345
  getFlightImages(e, r) {
2563
3346
  return a.get(
2564
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3347
+ `${c(p.Drone)[0]}/drone/api/${e}/flight-images`,
2565
3348
  {
2566
3349
  params: r
2567
3350
  }
2568
3351
  );
2569
3352
  },
2570
- checkFlightAvailableFeatures(e, r) {
2571
- return a.get(
2572
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2573
- {
2574
- params: r
2575
- }
2576
- );
3353
+ async checkFlightAvailableFeatures(e, r) {
3354
+ var m;
3355
+ const t = c(p.Drone), i = (await Promise.all(
3356
+ t.map(async (d) => {
3357
+ try {
3358
+ return { ...await a.get(
3359
+ `${d}/drone/api/${e}/flight-available-features`,
3360
+ { params: r }
3361
+ ), ingestUrl: d };
3362
+ } catch {
3363
+ return null;
3364
+ }
3365
+ })
3366
+ )).filter(Boolean), g = i.find((d) => d.isVolumeToolEnabled);
3367
+ return (m = g != null ? g : i[0]) != null ? m : {};
2577
3368
  }
2578
3369
  },
2579
3370
  assets360: {
2580
- get360Assets(e, r = m.V1) {
2581
- return a.get(`${c(r)}/360/assets/`, e);
3371
+ get360Assets(e) {
3372
+ const r = c(p.ThreeSixty)[0];
3373
+ return a.get(`${r}/360/assets/`, e);
2582
3374
  },
2583
- get360AssetsCounts(e, r, t = m.V2) {
2584
- return a.get(
2585
- `${c(t)}/360/assets/${e}/counts`,
2586
- {
2587
- params: r
2588
- }
2589
- );
3375
+ get360AssetsCounts(e, r) {
3376
+ const t = c(p.ThreeSixty)[0];
3377
+ return a.get(`${t}/360/assets/${e}/counts`, {
3378
+ params: r
3379
+ });
2590
3380
  },
2591
- get360AssetLink(e, r, t, s, o, l) {
3381
+ get360AssetLink(e, r, t, o, i, g) {
2592
3382
  return a.get(
2593
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${o}`,
3383
+ `${c(p.ThreeSixty)[0]}/360/assets/${e}/${r}/${i}`,
2594
3384
  {
2595
- params: { marker: l, assetType: s, name: t }
3385
+ params: { marker: g, assetType: o, name: t }
2596
3386
  }
2597
3387
  );
2598
3388
  },
2599
- update360(e, r, t = m.V2) {
2600
- return a.put(`${c(t)}/360/assets/${e}`, r);
3389
+ update360(e, r) {
3390
+ const t = c(p.ThreeSixty)[0];
3391
+ return a.put(`${t}/360/assets/${e}`, r);
2601
3392
  },
2602
- update360ByProjectDateName(e, r, t, s, o = m.V2) {
3393
+ update360ByProjectDateName(e, r, t, o) {
3394
+ const i = c(p.ThreeSixty)[0];
2603
3395
  return a.put(
2604
- `${c(o)}/360/assets/${e}/${r}/${t}`,
2605
- s
3396
+ `${i}/360/assets/${e}/${r}/${t}`,
3397
+ o
2606
3398
  );
2607
3399
  },
2608
- deleteUpload(e, r = m.V2) {
2609
- return a.delete(`${c(r)}/360/assets/${e}`);
3400
+ deleteUpload(e) {
3401
+ const r = c(p.ThreeSixty)[0];
3402
+ return a.delete(`${r}/360/assets/${e}`);
2610
3403
  },
2611
- getArchive(e, r, t = m.V2) {
2612
- return a.get(`${c(t)}/360/assets/archive/${e}`, {
3404
+ getArchive(e, r) {
3405
+ const t = c(p.ThreeSixty)[0];
3406
+ return a.get(`${t}/360/assets/archive/${e}`, {
2613
3407
  params: r
2614
3408
  });
2615
3409
  },
2616
- createUpload(e, r, t = m.V2) {
2617
- return a.post(
2618
- `${c(t)}/360/${e}/upload`,
2619
- null,
2620
- { params: r }
2621
- );
3410
+ createUpload(e, r) {
3411
+ const t = c(p.ThreeSixty)[0];
3412
+ return a.post(`${t}/360/${e}/upload`, null, {
3413
+ params: r
3414
+ });
2622
3415
  },
2623
- upload(e, r, t, s = m.V2) {
2624
- return a.put(
2625
- `${c(s)}/360/${e}/upload`,
2626
- t,
2627
- { params: r }
3416
+ async upload(e, r, t) {
3417
+ const o = await T.utils.chooseIngestApiUrl(
3418
+ p.ThreeSixty
2628
3419
  );
3420
+ return a.put(`${o}/360/${e}/upload`, t, {
3421
+ params: r,
3422
+ headers: {
3423
+ "X-Processing-Source": "DASHBOARD"
3424
+ }
3425
+ });
2629
3426
  },
2630
- reprocess360(e, r = m.V2) {
2631
- return a.put(`${c(r)}/360/${e}/reprocess`);
3427
+ async reprocess360(e) {
3428
+ const r = await T.utils.chooseIngestApiUrl(
3429
+ p.ThreeSixty
3430
+ );
3431
+ return a.put(`${r}/360/${e}/reprocess`);
2632
3432
  },
2633
- drawingExists(e, r = m.V2) {
3433
+ drawingExists(e) {
2634
3434
  var t;
3435
+ const r = c(p.ThreeSixty)[0];
2635
3436
  return a.get(
2636
- `${c(r)}/360/floors/exists?${g(
3437
+ `${r}/360/floors/exists?${u(
2637
3438
  (t = e.params) != null ? t : e
2638
3439
  )}`
2639
3440
  );
2640
3441
  },
2641
- getDrawings(e, r = m.V2) {
3442
+ getDrawings(e) {
2642
3443
  var t;
3444
+ const r = c(p.ThreeSixty)[0];
2643
3445
  return a.get(
2644
- `${c(r)}/360/floors/?${g(
2645
- (t = e.params) != null ? t : e
2646
- )}`
3446
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
3447
+ e.config
2647
3448
  );
2648
3449
  },
2649
- getDrawingById(e, r, t = m.V2) {
3450
+ getDrawingById(e, r) {
3451
+ const t = c(p.ThreeSixty)[0];
2650
3452
  return a.get(
2651
- `${c(t)}/360/floors/${e}?project_id=${r}`
3453
+ `${t}/360/floors/${e}?project_id=${r}`
2652
3454
  );
2653
3455
  },
2654
- updateDrawing(e, r, t, s = m.V2) {
3456
+ updateDrawing(e, r, t) {
3457
+ const o = c(p.ThreeSixty)[0];
2655
3458
  return a.put(
2656
- `${c(
2657
- s
2658
- )}/360/floors/${e}?project_id=${r}`,
3459
+ `${o}/360/floors/${e}?project_id=${r}`,
2659
3460
  t
2660
3461
  );
2661
3462
  },
2662
- deleteDrawing(e, r = m.V2) {
2663
- return a.delete(`${c(r)}/360/floors/${e}`);
3463
+ deleteDrawing(e) {
3464
+ const r = c(p.ThreeSixty)[0];
3465
+ return a.delete(`${r}/360/floors/${e}`);
2664
3466
  },
2665
- transferWalks(e, r, t, s = m.V2) {
3467
+ restoreDrawing(e) {
3468
+ const r = c(p.ThreeSixty)[0];
3469
+ return a.post(`${r}/360/floors/${e}/restore`);
3470
+ },
3471
+ transferWalks(e, r, t) {
3472
+ const o = c(p.ThreeSixty)[0];
2666
3473
  return a.post(
2667
- `${c(
2668
- s
2669
- )}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3474
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2670
3475
  );
2671
3476
  },
2672
- createDrawing(e, r, t, s = m.V2) {
3477
+ createDrawing(e, r, t) {
3478
+ const o = c(p.ThreeSixty)[0];
2673
3479
  return a.post(
2674
- `${c(
2675
- s
2676
- )}/360/floors/${e}?created_by=${t}`,
3480
+ `${o}/360/floors/${e}?created_by=${t}`,
2677
3481
  r
2678
3482
  );
2679
3483
  },
2680
- fetchDrawingOverlay(e, r, t, s = m.V2) {
2681
- return a.get(`${c(s)}/360/floors/${e}/overlay`, {
3484
+ fetchDrawingOverlay(e, r, t) {
3485
+ const o = c(p.ThreeSixty)[0];
3486
+ return a.get(`${o}/360/floors/${e}/overlay`, {
2682
3487
  params: r,
2683
3488
  onDownloadProgress: t
2684
3489
  });
2685
3490
  },
2686
- generate360map(e, r, t = m.V2) {
3491
+ getFloorArchive(e) {
3492
+ const r = c(p.ThreeSixty)[0];
3493
+ return a.get(`${r}/360/floors/${e}/archive`);
3494
+ },
3495
+ generate360map(e, r) {
3496
+ const t = c(p.ThreeSixty)[0];
2687
3497
  return a.post(
2688
- `${c(t)}/360/api/${e}/generate-360-map`,
3498
+ `${t}/360/api/${e}/generate-360-map`,
2689
3499
  r
2690
3500
  );
2691
3501
  },
2692
- get360QueueSize(e, r = m.V2) {
2693
- return a.get(`${c(r)}/360/queue`, { params: e });
3502
+ get360QueueSize(e, r = {}) {
3503
+ return a.get(`${e}/360/queue`, { params: r });
2694
3504
  }
2695
3505
  },
2696
3506
  bim: {
2697
3507
  createUpload(e, r) {
2698
3508
  return a.post(
2699
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3509
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2700
3510
  null,
2701
3511
  { params: r }
2702
3512
  );
2703
3513
  },
2704
3514
  getBIMs(e) {
2705
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3515
+ return a.get(
3516
+ `${c(p.Drone)[0]}/bim/uploads/`,
3517
+ e
3518
+ );
2706
3519
  },
2707
3520
  getArchive(e) {
2708
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3521
+ return a.get(
3522
+ `${c(p.Drone)[0]}/bim/uploads/archive/${e}`
3523
+ );
2709
3524
  },
2710
3525
  deleteUpload(e) {
2711
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3526
+ return a.delete(
3527
+ `${c(p.Drone)[0]}/bim/uploads/${e}`
3528
+ );
2712
3529
  },
2713
3530
  upload(e, r, t) {
2714
3531
  return a.put(
2715
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3532
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2716
3533
  t,
2717
3534
  { params: r }
2718
3535
  );
2719
3536
  }
2720
3537
  },
3538
+ webhook: {
3539
+ notifyBimUpdated(e, r) {
3540
+ const t = {
3541
+ eventName: "bim.updated",
3542
+ projectId: e,
3543
+ data: {
3544
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3545
+ bimIdentifier: r
3546
+ }
3547
+ };
3548
+ return a.post(
3549
+ `${c(p.Drone)[0]}/webhook/`,
3550
+ t
3551
+ );
3552
+ }
3553
+ },
2721
3554
  mobileCapture: {
2722
- getProjectMobileAssets(e, r = {}, t = m.V2) {
2723
- return a.get(`${c(t)}/mobile/assets/`, {
3555
+ getProjectMobileAssets(e, r = {}) {
3556
+ const t = c(p.ThreeSixty)[0];
3557
+ return a.get(`${t}/mobile/assets/`, {
2724
3558
  params: e,
2725
3559
  ...r
2726
3560
  });
2727
3561
  },
2728
- getMobileAssetPhoto(e, r, t = m.V2) {
2729
- return a.get(`${c(t)}/mobile/assets/${e}`, {
3562
+ getMobileAssetPhoto(e, r) {
3563
+ const t = c(p.ThreeSixty)[0];
3564
+ return a.get(`${t}/mobile/assets/${e}`, {
2730
3565
  params: r
2731
3566
  });
2732
3567
  },
2733
- deleteAsset(e, r = m.V2) {
2734
- return a.delete(
2735
- `${c(r)}/mobile/assets/${e}`
2736
- );
3568
+ deleteAsset(e) {
3569
+ const r = c(p.ThreeSixty)[0];
3570
+ return a.delete(`${r}/mobile/assets/${e}`);
2737
3571
  }
2738
3572
  },
2739
3573
  utils: {
2740
3574
  async loadAllAssetsInQueue() {
2741
3575
  try {
2742
- const e = [m.V1, m.V2], r = [];
2743
- for (const t of e) {
2744
- const [s, o] = await Promise.all([
2745
- x.assets360.get360QueueSize({}, t),
2746
- x.drone.getDroneQueueSize(t)
2747
- ]), l = [
2748
- s == null ? void 0 : s.assets360,
2749
- o == null ? void 0 : o.assetsDrone
2750
- ].flatMap(
2751
- (n) => (n || []).map((p) => ({
2752
- ...p,
2753
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2754
- }))
2755
- );
2756
- r.push(...l);
2757
- }
2758
- return r.sort(
2759
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3576
+ const e = c(p.Drone), r = c(p.ThreeSixty), t = [], o = await Promise.all(
3577
+ e.map(async (g) => {
3578
+ const m = await T.drone.getDroneQueueSize(g), d = T.utils.getIngestVersion(g);
3579
+ return ((m == null ? void 0 : m.assetsDrone) || []).map((h) => ({
3580
+ ...h,
3581
+ ingestVersion: d.toUpperCase()
3582
+ }));
3583
+ })
3584
+ ), i = await Promise.all(
3585
+ r.map(async (g) => {
3586
+ const m = await T.assets360.get360QueueSize(g), d = T.utils.getIngestVersion(g);
3587
+ return ((m == null ? void 0 : m.assets360) || []).map((h) => ({
3588
+ ...h,
3589
+ ingestVersion: d.toUpperCase()
3590
+ }));
3591
+ })
3592
+ );
3593
+ return t.push(...o.flat(), ...i.flat()), t.sort(
3594
+ (g, m) => new Date(g.updatedAt).getTime() - new Date(m.updatedAt).getTime()
2760
3595
  );
2761
3596
  } catch (e) {
2762
3597
  return console.error("Error:", e), [];
2763
3598
  }
3599
+ },
3600
+ getIngestVersion(e) {
3601
+ var t;
3602
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3603
+ },
3604
+ async chooseIngestApiUrl(e) {
3605
+ const r = c(e);
3606
+ return (await Promise.all(
3607
+ r.map(async (o) => {
3608
+ var i, g;
3609
+ try {
3610
+ let m = 0;
3611
+ if (e === p.Drone) {
3612
+ const d = await T.drone.getDroneQueueSize(o);
3613
+ m = ((i = d == null ? void 0 : d.assetsDrone) == null ? void 0 : i.length) || 0;
3614
+ } else {
3615
+ const d = await T.assets360.get360QueueSize(
3616
+ o
3617
+ );
3618
+ m = ((g = d == null ? void 0 : d.assets360) == null ? void 0 : g.length) || 0;
3619
+ }
3620
+ return { ingestUrl: o, queue: m };
3621
+ } catch {
3622
+ return { ingestUrl: o, queue: 1 / 0 };
3623
+ }
3624
+ })
3625
+ )).reduce(
3626
+ (o, i) => i.queue < o.queue ? i : o
3627
+ ).ingestUrl;
2764
3628
  }
2765
3629
  }
2766
- }, yt = {
3630
+ }, vo = {
2767
3631
  users: {
2768
3632
  login({
2769
3633
  apiUrl: e,
2770
3634
  username: r,
2771
3635
  password: t
2772
- }, s = {}) {
3636
+ }, o = {}) {
2773
3637
  return a.post(
2774
3638
  `${e}/api/users/login`,
2775
3639
  {
2776
3640
  username: r,
2777
3641
  password: t
2778
3642
  },
2779
- s
3643
+ o
2780
3644
  );
2781
3645
  }
2782
3646
  },
@@ -2803,46 +3667,46 @@ const Ct = {
2803
3667
  apiUrl: e,
2804
3668
  deviceId: r,
2805
3669
  token: t
2806
- }, s = {}) {
3670
+ }, o = {}) {
2807
3671
  return a.get(`${e}/api/devices/${r}`, {
2808
3672
  headers: {
2809
3673
  Authorization: `Bearer ${t}`
2810
3674
  },
2811
- ...s
3675
+ ...o
2812
3676
  });
2813
3677
  },
2814
3678
  getAvailableRecordings({
2815
3679
  apiUrl: e,
2816
3680
  deviceId: r,
2817
3681
  token: t
2818
- }, s = {}) {
3682
+ }, o = {}) {
2819
3683
  return a.get(`${e}/api/devices/${r}/recordings`, {
2820
3684
  headers: {
2821
3685
  Authorization: `Bearer ${t}`
2822
3686
  },
2823
- ...s
3687
+ ...o
2824
3688
  });
2825
3689
  },
2826
3690
  downloadFootage({
2827
3691
  apiUrl: e,
2828
3692
  deviceId: r,
2829
3693
  token: t,
2830
- startDate: s,
2831
- duration: o
3694
+ startDate: o,
3695
+ duration: i
2832
3696
  }) {
2833
3697
  return a.get(`${e}/api/devices/${r}/footage`, {
2834
3698
  headers: {
2835
3699
  Authorization: `Bearer ${t}`
2836
3700
  },
2837
3701
  params: {
2838
- startDate: s,
2839
- duration: o
3702
+ startDate: o,
3703
+ duration: i
2840
3704
  },
2841
3705
  responseType: "blob"
2842
3706
  });
2843
3707
  }
2844
3708
  }
2845
- }, es = {
3709
+ }, Wo = {
2846
3710
  roles: {
2847
3711
  async get(e) {
2848
3712
  return await a.get("/admin/authz/roles", e);
@@ -2868,22 +3732,19 @@ const Ct = {
2868
3732
  async getRoleUsers(e) {
2869
3733
  return a.get(`/admin/authz/roles/${e}/users`);
2870
3734
  },
2871
- async assignUsers(e, r, t) {
3735
+ async assignUsers(e, r, t = "evercam-admin") {
2872
3736
  return a.post(`/admin/authz/roles/${e}/users`, {
2873
3737
  emails: r,
2874
- resource_id: t
3738
+ resourceId: t
2875
3739
  });
2876
3740
  },
2877
- async unassignUsers(e, r, t) {
2878
- return a.delete(`/admin/authz/roles/${e}/users`, {
3741
+ getUserRoles(e, r) {
3742
+ return a.get("/users/roles", {
2879
3743
  params: {
2880
- emails: r,
2881
- resource_id: t
3744
+ resourceId: e || null,
3745
+ resourceType: r || null
2882
3746
  }
2883
3747
  });
2884
- },
2885
- getUserRoles() {
2886
- return a.get("/users/roles");
2887
3748
  }
2888
3749
  },
2889
3750
  projectRoles: {
@@ -2916,226 +3777,260 @@ const Ct = {
2916
3777
  }
2917
3778
  };
2918
3779
  export {
2919
- te as AconexDocumentDataType,
2920
- se as AconexFormComponentType,
2921
- ie as AconexIdentifiers,
2922
- oe as AconexMandatoryStatus,
2923
- lt as ActiveUsersMetric,
2924
- qt as AdminApi,
2925
- Yt as AiApi,
2926
- ne as AnalyticsEvent,
2927
- le as AnalyticsEventPageId,
2928
- ge as AnprDirection,
2929
- me as AnprEventStatus,
2930
- Ga as AuditLogActionType,
2931
- es as AuthzApi,
2932
- it as AutomationConfigStep,
2933
- dr as AutomationDialogType,
2934
- st as AutomationProvider,
2935
- ot as AutomationType,
2936
- $e as BIMLayerTypes,
2937
- ut as BadGatewayError,
2938
- gt as BadRequestError,
2939
- Aa as BimCompareWidgetSettingsKeys,
2940
- Se as BimModelType,
2941
- De as BimType,
2942
- Te as BimUploadStatus,
2943
- br as BrainTool,
2944
- we as CameraFeatureFlag,
2945
- Me as CameraModel,
2946
- tt as CameraRegion,
2947
- be as CameraStatus,
2948
- de as ClipsCategory,
2949
- wr as CloudRecordingDuration,
2950
- kr as CloudRecordingFrequency,
2951
- Pr as CloudRecordingStatus,
2952
- Ta as CommentsLabel,
2953
- Sa as CommentsScope,
2954
- Ka as CommonWidgetSettingsKeys,
2955
- _e as CompareStatus,
2956
- dt as ConflictError,
2957
- j as Connector,
2958
- ca as ContactRole,
2959
- Fe as CopilotChatProvider,
2960
- Ge as CopilotLayout,
2961
- Ue as CopilotMessageAuthor,
2962
- Be as CopilotMessageType,
2963
- ze as CopilotMissingFieldComponent,
2964
- ve as CopilotMissingFieldName,
2965
- xe as CopilotMissingFieldType,
2966
- Oe as CopilotMissingFieldsLabels,
2967
- Ve as CopilotProvider,
2968
- Ne as CopilotSocketEvent,
2969
- je as CopilotStepId,
2970
- He as CopilotSuggestion,
2971
- We as CopilotToolId,
2972
- at as CountryCode,
2973
- rt as CountryId,
2974
- Ya as DelayUnit,
2975
- Je as DetectionLabel,
2976
- ba as DetectionModel,
2977
- Z as DownloadFileType,
2978
- Le as DroneUrlParams,
2979
- Re as DuplicatedCameraFields,
2980
- Er as EDistortImageModes,
2981
- Cr as EMapTypes,
2982
- Ar as EMarkers,
2983
- Ir as EPageType,
2984
- yr as EPaths,
2985
- ea as EProjectItems,
2986
- ra as ERoles,
2987
- d as ErrorCode,
2988
- h as ErrorType,
2989
- At as EvercamApi,
2990
- Ze as EvercamApiErrorCode,
2991
- Ct as EvercamLabsApi,
2992
- yt as ExNvrApi,
2993
- ta as ExNvrDeviceState,
2994
- aa as ExNvrFootageAvailableStatus,
2995
- sa as ExNvrMetricId,
2996
- fa as FeedbackContext,
2997
- ht as ForbiddenError,
2998
- Ye as GateReportDataSource,
2999
- qe as GateReportDetectionType,
3000
- Ke as GateReportEventDirection,
3001
- Xe as GateReportEventType,
3002
- Ee as GateReportExportType,
3003
- Ae as GateReportProcessingStatus,
3004
- Ce as GateReportROIShapeType,
3005
- L as GateReportVehicleType,
3006
- ct as GatewayTimeoutError,
3007
- Va as GrafanaMetricId,
3008
- Ie as HddFormat,
3009
- tr as HddSize,
3010
- er as HddState,
3011
- fe as HddStatus,
3012
- ye as HddType,
3013
- xt as HlsError,
3014
- Ma as InfoPage,
3015
- x as IngestApi,
3016
- sr as IngestProcessingStatus,
3017
- m as IngestVersions,
3018
- ke as IntensityChange,
3019
- zt as IntensityChangeColorMap,
3020
- St as InternalServerError,
3021
- Oa as KitAlarm,
3022
- Ha as KitChartType,
3023
- Na as KitMetricId,
3024
- q as KitMetricPeriod,
3025
- ja as KitRegion,
3026
- Ba as KitStatus,
3027
- Fa as KitStorageTransport,
3028
- Ca as LiveViewWidgetSettingsKeys,
3029
- ir as MapType,
3030
- ce as MediaFileType,
3031
- ue as MediaStatus,
3032
- he as MediaStatusId,
3033
- pe as MediaType,
3034
- or as MobileAssetsType,
3035
- wa as MobileDevice,
3036
- mt as NotFoundError,
3037
- nr as NotificationType,
3038
- gr as NvrDeviceType,
3039
- mr as NvrHddStatus,
3040
- Pe as NvrModel,
3041
- Zt as OnRequestExpiredTokenInterceptor,
3042
- ae as PathMarkerColor,
3043
- Yr as PerformanceStatus,
3044
- ua as Persona,
3045
- vr as PowerSchedule,
3046
- zr as PowerType,
3047
- $a as PpeLabel,
3048
- pr as ProcoreObservationCustomFieldDataType,
3049
- cr as ProcoreObservationDefaultFieldNames,
3050
- hr as ProcoreToolUserAccessLevelIds,
3051
- ur as ProcoreTools,
3052
- lr as ProcoreType,
3053
- Tr as ProjectArchiveTier,
3054
- $r as ProjectFeatureFlag,
3055
- Sr as ProjectStatus,
3056
- It as PtzApi,
3057
- _a as PtzDirection,
3058
- Ea as RecordingsWidgetSettingsKeys,
3059
- _r as RoiDirection,
3060
- Dr as RoiShapeType,
3061
- Rr as RoiType,
3062
- nt as RoleResourceType,
3063
- xr as RouterStatus,
3064
- Qe as SegmentLabel,
3065
- Lr as SharePermission,
3066
- qr as ShareRequestStatus,
3067
- Zr as ShareType,
3068
- Xr as ShareVisibility,
3069
- va as SiteAnalyticsMode,
3070
- La as SmartSearchCondition,
3071
- Xa as SmartSearchOperatorType,
3072
- xa as SmartSearchQueryComponentType,
3073
- Qa as SmartSearchQueryConditionTypes,
3074
- Ja as SmartSearchQueryOperators,
3075
- qa as SmartSearchQueryReturnType,
3076
- Za as SmartSearchQueryTargets,
3077
- Jr as SmsCommands,
3078
- Qr as SmsStatuses,
3079
- Lt as SnapshotError,
3080
- Mr as SnapshotExtractionInterval,
3081
- Wa as SnapshotExtractionStatus,
3082
- za as SnapshotExtractionType,
3083
- Da as TaskStatus,
3084
- ya as ThreeSixtyKeys,
3085
- ia as TimelapseDuration,
3086
- ma as TimelapseExportStep,
3087
- na as TimelapsePeriod,
3088
- la as TimelapseScheduleType,
3089
- oa as TimelapseStatus,
3090
- ga as TimelapseType,
3091
- jr as Timeline360UrlParams,
3092
- Fr as TimelineAnprUrlParams,
3093
- Vr as TimelineBimUrlParams,
3094
- Wr as TimelineCommentsUrlParams,
3095
- Or as TimelineDroneUrlParams,
3096
- Hr as TimelineExNvrRecordingsUrlParams,
3097
- Nr as TimelineMediaUrlParams,
3098
- Gr as TimelineMobileCaptureUrlParams,
3099
- Ra as TimelinePrecision,
3100
- Br as TimelineUrlParam,
3101
- pt as UnauthorizedError,
3102
- ka as UnitSystem,
3103
- Ur as UrlParamValue,
3104
- pa as UserFeatureFlag,
3105
- N as VEHICLE_TYPE_IDS,
3106
- Xt as VideoWallApi,
3107
- ha as VideoWallItemType,
3108
- Ia as VideoWallWidgetSettingsKeys,
3109
- fr as VpnServer,
3110
- ar as WarehouseLocation,
3111
- rr as WarehouseLocationIndex,
3112
- Et as WeatherApi,
3113
- da as WeatherProvider,
3114
- Kr as WebGLExtensions,
3115
- Kt as WebRtcApi,
3116
- et as WidgetType,
3117
- vt as WidgetTypesByResource,
3118
- Ua as ZoomDirection,
3119
- y as _360AssetLabel,
3120
- I as _360AssetType,
3121
- ee as _360Feature,
3122
- re as _360IntergrationType,
3123
- A as _360UrlParams,
3124
- Jt as _3dFirebaseApi,
3125
- Pa as _3dViewer,
3780
+ fo as AI_APP_CONFIGS,
3781
+ Do as AI_PROVIDER_CONFIGS,
3782
+ ne as AconexDocumentDataType,
3783
+ le as AconexFormComponentType,
3784
+ me as AconexIdentifiers,
3785
+ ge as AconexMandatoryStatus,
3786
+ jt as ActiveUsersMetric,
3787
+ jo as AdminApi,
3788
+ Fo as AiApi,
3789
+ Ot as AiApp,
3790
+ Vt as AiConfigsKeyDialogMode,
3791
+ Gt as AiConfigsPromptDialogMode,
3792
+ Ht as AiPromptModel,
3793
+ Nt as AiProvider,
3794
+ ce as AnalyticsEvent,
3795
+ pe as AnalyticsEventPageId,
3796
+ ue as AnprDirection,
3797
+ de as AnprEventStatus,
3798
+ Se as AnprExtractionSaveMode,
3799
+ he as AnprExtractionStatus,
3800
+ Wt as AppRuntimeState,
3801
+ et as AuditLogActionType,
3802
+ rt as AuditLogEntity,
3803
+ Wo as AuthzApi,
3804
+ _t as AutomationConfigStep,
3805
+ Ur as AutomationDialogType,
3806
+ Rt as AutomationProvider,
3807
+ Pt as AutomationType,
3808
+ Re as BIMLayerTypes,
3809
+ Xt as BadGatewayError,
3810
+ xt as BadRequestError,
3811
+ Tt as BimCompareWidgetSettingsKeys,
3812
+ fe as BimModelType,
3813
+ ve as BimType,
3814
+ De as BimUploadStatus,
3815
+ Gr as BrainTool,
3816
+ Oe as CameraFeatureFlag,
3817
+ Ge as CameraModel,
3818
+ Dt as CameraRegion,
3819
+ Be as CameraStatus,
3820
+ we as ClipsCategory,
3821
+ Hr as CloudRecordingDuration,
3822
+ ko as CloudRecordingDurationLabel,
3823
+ Vr as CloudRecordingFrequency,
3824
+ vr as CloudRecordingStatus,
3825
+ Ga as CommentsLabel,
3826
+ Na as CommentsScope,
3827
+ ht as CommonWidgetSettingsKeys,
3828
+ We as CompareStatus,
3829
+ qt as ConflictError,
3830
+ F as Connector,
3831
+ ja as ContactRole,
3832
+ Je as CopilotChatProvider,
3833
+ Ye as CopilotLayout,
3834
+ xe as CopilotMessageAuthor,
3835
+ ze as CopilotMessageType,
3836
+ Ce as CopilotMissingFieldComponent,
3837
+ Ee as CopilotMissingFieldName,
3838
+ Ae as CopilotMissingFieldType,
3839
+ Ze as CopilotMissingFieldsLabels,
3840
+ Qe as CopilotProvider,
3841
+ Xe as CopilotSocketEvent,
3842
+ Le as CopilotStepId,
3843
+ qe as CopilotSuggestion,
3844
+ Ke as CopilotToolId,
3845
+ ft as CountryCode,
3846
+ Mt as CountryId,
3847
+ dt as DelayUnit,
3848
+ sr as DetectionLabel,
3849
+ Ha as DetectionModel,
3850
+ X as DownloadFileType,
3851
+ ye as DroneMarkerType,
3852
+ rr as DroneProvider,
3853
+ Ie as DroneTagType,
3854
+ er as DroneUrlParams,
3855
+ He as DuplicatedCameraFields,
3856
+ ma as EDistortImageModes,
3857
+ pa as EMapTypes,
3858
+ ca as EMarkers,
3859
+ ie as EModelsType,
3860
+ ua as EPageType,
3861
+ da as EPaths,
3862
+ ha as EProjectItems,
3863
+ Sa as ERoles,
3864
+ k as ErrorCode,
3865
+ $ as ErrorType,
3866
+ Vo as EvercamApi,
3867
+ ar as EvercamApiErrorCode,
3868
+ Go as EvercamLabsApi,
3869
+ vo as ExNvrApi,
3870
+ ka as ExNvrDeviceState,
3871
+ Ta as ExNvrFootageAvailableStatus,
3872
+ ba as ExNvrMetricId,
3873
+ Za as FeedbackContext,
3874
+ Qt as ForbiddenError,
3875
+ Ue as ForgeBimDialogTrigger,
3876
+ _e as ForgeBimFileRejectionReason,
3877
+ Pe as ForgeBimUploadMethod,
3878
+ je as ForgeBimUploadStage,
3879
+ nr as GateReportDataSource,
3880
+ tr as GateReportDetectionType,
3881
+ lr as GateReportEventDirection,
3882
+ or as GateReportEventType,
3883
+ gr as GateReportExportType,
3884
+ mr as GateReportProcessingStatus,
3885
+ Z as GateReportVehicleType,
3886
+ Zt as GatewayTimeoutError,
3887
+ Aa as GrafanaMetricId,
3888
+ pr as HddFormat,
3889
+ Sr as HddSize,
3890
+ ur as HddState,
3891
+ Ve as HddStatus,
3892
+ cr as HddType,
3893
+ Ro as HlsError,
3894
+ La as InfoPage,
3895
+ T as IngestApi,
3896
+ $r as IngestProcessingStatus,
3897
+ p as IngestTypes,
3898
+ kr as IngestVersions,
3899
+ Fe as IntensityChange,
3900
+ $o as IntensityChangeColorMap,
3901
+ Jt as InternalServerError,
3902
+ ta as InviteStatus,
3903
+ Ca as KitAlarm,
3904
+ Ia as KitChartType,
3905
+ Ea as KitMetricId,
3906
+ Q as KitMetricPeriod,
3907
+ Ka as KitRegion,
3908
+ Ya as KitStatus,
3909
+ ya as KitStorageTransport,
3910
+ $t as LiveViewWidgetSettingsKeys,
3911
+ br as MapType,
3912
+ Me as MediaCategory,
3913
+ Te as MediaFileType,
3914
+ ke as MediaStatus,
3915
+ be as MediaStatusId,
3916
+ $e as MediaType,
3917
+ Tr as MobileAssetsType,
3918
+ xa as MobileDevice,
3919
+ zt as NotFoundError,
3920
+ Mr as NotificationType,
3921
+ fr as NvrDeviceType,
3922
+ Dr as NvrHddStatus,
3923
+ Ne as NvrModel,
3924
+ _o as OnRequestExpiredTokenInterceptor,
3925
+ va as Operator,
3926
+ se as PathMarkerColor,
3927
+ na as PerformanceStatus,
3928
+ Ua as Persona,
3929
+ ga as PlannerUrlParams,
3930
+ ea as PowerSchedule,
3931
+ yr as PowerType,
3932
+ Va as PpeLabel,
3933
+ Rr as ProcoreObservationCustomFieldDataType,
3934
+ Pr as ProcoreObservationDefaultFieldNames,
3935
+ jr as ProcoreToolUserAccessLevelIds,
3936
+ _r as ProcoreTools,
3937
+ wr as ProcoreType,
3938
+ Fr as ProjectArchiveTier,
3939
+ Or as ProjectFeatureFlag,
3940
+ Br as ProjectStatus,
3941
+ $a as ProjectStorageProvider,
3942
+ Nr as ProjectStorageStatus,
3943
+ Ho as PtzApi,
3944
+ qa as PtzDirection,
3945
+ St as RecordingsWidgetSettingsKeys,
3946
+ Zr as RoiDirection,
3947
+ Lr as RoiShapeType,
3948
+ zr as RoiType,
3949
+ Ut as RoleResourceType,
3950
+ aa as RouterScanInputMode,
3951
+ ra as RouterStatus,
3952
+ ir as SegmentLabel,
3953
+ oa as ShareVisibility,
3954
+ st as SiteAnalyticsMode,
3955
+ ut as SiteAnalyticsViewType,
3956
+ Bt as SiteViewSoftwareType,
3957
+ Ft as SiteViewerType,
3958
+ it as SmartSearchComponentType,
3959
+ nt as SmartSearchCondition,
3960
+ ct as SmartSearchConditionTypes,
3961
+ mt as SmartSearchOperatorType,
3962
+ pt as SmartSearchOperators,
3963
+ gt as SmartSearchReturnType,
3964
+ lt as SmartSearchTargets,
3965
+ sa as SmsCommands,
3966
+ ia as SmsStatuses,
3967
+ Po as SnapshotError,
3968
+ Wr as SnapshotExtractionInterval,
3969
+ at as SnapshotExtractionStatus,
3970
+ tt as SnapshotExtractionType,
3971
+ ot as SnapshotTransferStatus,
3972
+ Qa as TaskStatus,
3973
+ bt as ThreeSixtyKeys,
3974
+ Ma as TimelapseDuration,
3975
+ Pa as TimelapseExportStep,
3976
+ Da as TimelapsePeriod,
3977
+ fa as TimelapseScheduleType,
3978
+ wa as TimelapseStatus,
3979
+ Ra as TimelapseType,
3980
+ qr as Timeline360UrlParams,
3981
+ Er as TimelineAnprUrlParams,
3982
+ Kr as TimelineBimUrlParams,
3983
+ Ir as TimelineCommentsUrlParams,
3984
+ Jr as TimelineDroneUrlParams,
3985
+ Cr as TimelineExNvrRecordingsUrlParams,
3986
+ Yr as TimelineMediaUrlParams,
3987
+ Ar as TimelineMobileCaptureUrlParams,
3988
+ Xa as TimelinePrecision,
3989
+ Qr as TimelineUrlParam,
3990
+ Lt as UnauthorizedError,
3991
+ Wa as UnitSystem,
3992
+ Xr as UrlParamValue,
3993
+ _a as UserFeatureFlag,
3994
+ To as VEHICLE_TYPE_IDS,
3995
+ vt as VehicleClassifierSource,
3996
+ Uo as VideoWallApi,
3997
+ Ba as VideoWallItemType,
3998
+ kt as VideoWallWidgetSettingsKeys,
3999
+ xr as VpnServer,
4000
+ hr as WarehouseLocation,
4001
+ dr as WarehouseLocationIndex,
4002
+ No as WeatherApi,
4003
+ Oa as WeatherProvider,
4004
+ Fa as WeatherReportScope,
4005
+ la as WebGLExtensions,
4006
+ Oo as WebRtcApi,
4007
+ wt as WidgetType,
4008
+ bo as WidgetTypesByResource,
4009
+ Ja as ZoomDirection,
4010
+ ae as _360AssetLabel,
4011
+ re as _360AssetType,
4012
+ te as _360Feature,
4013
+ oe as _360IntergrationType,
4014
+ y as _360PinType,
4015
+ ee as _360UrlParams,
4016
+ Bo as _3dFirebaseApi,
4017
+ za as _3dViewer,
3126
4018
  a as axios,
3127
- Qt as capitalizeFirstLetter,
3128
4019
  J as ensureCommonHeaders,
3129
- i as getAiApiUrl,
3130
- $ as getFirebaseDbApi,
3131
- Vt as getFirebaseStorageToken,
3132
- Nt as getFirebaseStorageUrl,
3133
- c as getIngestApiUrl,
3134
- u as getLabsBaseUrl,
3135
- X as onError,
3136
- bt as onRequest,
3137
- kt as onResponse,
3138
- Ht as queryStringToObject,
3139
- g as toQueryString
4020
+ L as getAiApiUrl,
4021
+ l as getAiApiUrlV2,
4022
+ n as getFirebaseDbApi,
4023
+ mo as getFirebaseStorageToken,
4024
+ go as getFirebaseStorageUrl,
4025
+ po as getForgeTokenServerUrl,
4026
+ c as getIngestApiUrls,
4027
+ S as getLabsBaseUrl,
4028
+ Mo as isCameraRole,
4029
+ wo as isProjectRole,
4030
+ q as onError,
4031
+ Ct as onRequest,
4032
+ Et as onResponse,
4033
+ co as queryStringToObject,
4034
+ u as toQueryString
3140
4035
  };
3141
4036
  //# sourceMappingURL=index.js.map