@evercam/api 1.0.0-eea993f14 → 1.0.0-eefb67c4d

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 (102) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +209 -15
  3. package/dist/api/api/adminApi.d.ts +96 -56
  4. package/dist/api/api/aiApi.d.ts +182 -55
  5. package/dist/api/api/authzApi.d.ts +26 -16
  6. package/dist/api/api/client/axios.d.ts +1 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +152 -90
  9. package/dist/api/api/evercamLabsApi.d.ts +6 -18
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/index.d.ts +1 -0
  12. package/dist/api/api/ingestApi.d.ts +123 -58
  13. package/dist/api/api/ptzApi.d.ts +9 -4
  14. package/dist/api/api/videoWallApi.d.ts +2 -2
  15. package/dist/api/api/weatherApi.d.ts +2 -2
  16. package/dist/api/api/workflowsApi.d.ts +15 -0
  17. package/dist/api/types/360.d.ts +176 -85
  18. package/dist/api/types/aconex.d.ts +9 -9
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/api/types/aiConfigs.d.ts +244 -0
  21. package/dist/api/types/analytics.d.ts +128 -74
  22. package/dist/api/types/anpr.d.ts +48 -2
  23. package/dist/api/types/auditLogs.d.ts +20 -5
  24. package/dist/api/types/authz.d.ts +116 -12
  25. package/dist/api/types/autodesk.d.ts +7 -7
  26. package/dist/api/types/automation.d.ts +65 -3
  27. package/dist/api/types/axios.d.ts +20 -15
  28. package/dist/api/types/bim.d.ts +39 -10
  29. package/dist/api/types/camera.d.ts +120 -115
  30. package/dist/api/types/comments.d.ts +16 -11
  31. package/dist/api/types/company.d.ts +43 -3
  32. package/dist/api/types/compare.d.ts +21 -6
  33. package/dist/api/types/connector.d.ts +5 -5
  34. package/dist/api/types/coolify.d.ts +18 -2
  35. package/dist/api/types/detections.d.ts +23 -18
  36. package/dist/api/types/drone.d.ts +95 -6
  37. package/dist/api/types/errors.d.ts +18 -2
  38. package/dist/api/types/gateReport.d.ts +46 -68
  39. package/dist/api/types/gateReportManagement.d.ts +170 -0
  40. package/dist/api/types/hammertech.d.ts +98 -0
  41. package/dist/api/types/hdd.d.ts +26 -1
  42. package/dist/api/types/index.d.ts +15 -3
  43. package/dist/api/types/ingest.d.ts +267 -17
  44. package/dist/api/types/kit.d.ts +55 -105
  45. package/dist/api/types/map.d.ts +12 -0
  46. package/dist/api/types/media.d.ts +9 -3
  47. package/dist/api/types/notification.d.ts +83 -3
  48. package/dist/api/types/oauth.d.ts +62 -0
  49. package/dist/api/types/observationEvents.d.ts +141 -0
  50. package/dist/api/types/observations.d.ts +84 -0
  51. package/dist/api/types/planner.d.ts +98 -8
  52. package/dist/api/types/posthog.d.ts +35 -0
  53. package/dist/api/types/procore.d.ts +13 -6
  54. package/dist/api/types/progressPhoto.d.ts +6 -2
  55. package/dist/api/types/project.d.ts +111 -25
  56. package/dist/api/types/recording.d.ts +9 -15
  57. package/dist/api/types/recycleBin.d.ts +1 -1
  58. package/dist/api/types/ring.d.ts +53 -0
  59. package/dist/api/types/roi.d.ts +3 -11
  60. package/dist/api/types/routeParams.d.ts +1 -0
  61. package/dist/api/types/router.d.ts +1 -1
  62. package/dist/api/types/shared.d.ts +33 -24
  63. package/dist/api/types/shares.d.ts +1 -14
  64. package/dist/api/types/sim.d.ts +6 -6
  65. package/dist/api/types/siteAnalytics.d.ts +81 -43
  66. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  67. package/dist/api/types/siteView.d.ts +78 -0
  68. package/dist/api/types/smartSeach.d.ts +5 -0
  69. package/dist/api/types/snapshots.d.ts +49 -4
  70. package/dist/api/types/socket.d.ts +4 -0
  71. package/dist/api/types/storageProvider.d.ts +19 -0
  72. package/dist/api/types/storyblok.d.ts +27 -0
  73. package/dist/api/types/streaming.d.ts +3 -3
  74. package/dist/api/types/tag.d.ts +1 -1
  75. package/dist/api/types/time.d.ts +0 -18
  76. package/dist/api/types/timelapse.d.ts +7 -11
  77. package/dist/api/types/user.d.ts +106 -37
  78. package/dist/api/types/videoWall.d.ts +21 -21
  79. package/dist/api/types/weather.d.ts +75 -11
  80. package/dist/api/types/widget.d.ts +71 -12
  81. package/dist/api/types/workflows.d.ts +108 -0
  82. package/dist/api/types/xweather.d.ts +4 -4
  83. package/dist/api/utils.d.ts +1 -1
  84. package/dist/index.js +2431 -965
  85. package/dist/index.js.map +1 -1
  86. package/dist/index.umd.cjs +1 -1
  87. package/dist/index.umd.cjs.map +1 -1
  88. package/dist/shared/types/components.d.ts +336 -34
  89. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  90. package/dist/shared/types/droneUpload.d.ts +67 -0
  91. package/dist/shared/types/imagePlayer.d.ts +9 -2
  92. package/dist/shared/types/index.d.ts +5 -0
  93. package/dist/shared/types/observations.d.ts +25 -0
  94. package/dist/shared/types/rbac.d.ts +67 -0
  95. package/dist/shared/types/report.d.ts +101 -0
  96. package/dist/shared/types/timeline.d.ts +2 -1
  97. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  98. package/dist/shared/utils/datePresets.d.ts +31 -0
  99. package/package.json +4 -2
  100. package/dist/api/types/copilot.d.ts +0 -157
  101. package/dist/api/types/storageServers.d.ts +0 -4
  102. package/dist/api/types/vendorModel.d.ts +0 -15
package/dist/index.js CHANGED
@@ -1,20 +1,66 @@
1
- var K = Object.defineProperty;
2
- var E = (e, r, t) => r in e ? K(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var B = (e, r, t) => E(e, typeof r != "symbol" ? r + "" : r, t);
4
- import b from "axios";
5
- import w from "humps";
6
- var C = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(C || {}), A = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(A || {}), I = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(I || {}), y = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(re || {}), ae = /* @__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))(ae || {}), te = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(oe || {}), se = /* @__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))(se || {}), ie = /* @__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))(ie || {}), le = /* @__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.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))(le || {}), ne = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ne || {}), ge = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(ue || {}), he = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Se || {}), Te = /* @__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))(Te || {}), $e = /* @__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))($e || {}), be = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(be || {});
7
- const zt = {
1
+ var te = Object.defineProperty;
2
+ var oe = (e, r, t) => r in e ? te(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var F = (e, r, t) => oe(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import f from "axios";
5
+ import P from "humps";
6
+ var se = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(se || {}), ie = /* @__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.RequiresValidation = "requires_validation", e.CommentId = "comment_id", e))(ie || {}), ne = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(ge || {}), pe = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Anchor = "#ffb300", e.Default = "#2196F3", e))(pe || {}), me = /* @__PURE__ */ ((e) => (e.FBX = "FBX", e.PointCloud = "PLY", e))(me || {}), ce = /* @__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))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(de || {}), he = /* @__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))(he || {}), Se = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Chat = "Chat", 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.GlobalVideoWall = "GlobalVideoWall", 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.GlobalWidgets = "GlobalWidgets", 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))(Se || {}), $e = /* @__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.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountRevokeAuthorizedApp = "RevokeAuthorizedApp", 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.SettingsConnectorsConnectToHammertech = "ConnectToHammertech", e.SettingsConnectorsRemoveHammertechConnection = "RemoveHammertech", e.SettingsConnectorsToggleHammertechDialog = "ToggleHammertechDialog", 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.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.XraySendToConnectorHammerTech = "Xray-SendToConnector-HammerTech", 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.MarkUpToolSendToConnectorHammerTech = "MarkUpTool-SendToConnector-HammerTech", 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.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.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.DroneToggleGlobe = "ToggleGlobe", 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.DrawingsSelectPdfPage = "SelectPdfPage", 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.ProjectSettingsMembersResendInvite = "ResendInvite", 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.ObservationsFilterTypes = "Observations-FilterTypes", 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.ChatToggleSidebarMode = "Chat-ToggleSidebarMode", e.ChatSendMessage = "Chat-SendMessage", e.ChatClickStarter = "Chat-ClickStarter", e.ChatStopResponse = "Chat-StopResponse", e.ChatCopyAnswer = "Chat-CopyAnswer", e.ChatDownloadPdf = "Chat-DownloadPdf", e.ChatOpenCamera = "Chat-OpenCamera", e.ChatNewConversation = "Chat-NewConversation", e.ChatOpenConversation = "Chat-OpenConversation", e.ChatRenameConversation = "Chat-RenameConversation", e.ChatDeleteConversation = "Chat-DeleteConversation", 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))($e || {}), be = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(be || {}), ke = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ke || {}), Te = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(Te || {}), we = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(we || {}), fe = /* @__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))(fe || {}), Me = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e.Csv = "csv", e))(Me || {}), Re = /* @__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))(Re || {}), De = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(De || {}), Pe = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(Pe || {}), _e = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e))(_e || {}), je = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(je || {}), Ue = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Ue || {}), Be = /* @__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))(Be || {}), ve = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(ve || {}), Fe = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(Fe || {}), Oe = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(Oe || {}), Ne = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(Ne || {}), He = /* @__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))(He || {}), Ve = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Ve || {});
7
+ const No = {
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 ke = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e))(ke || {}), we = /* @__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))(we || {}), Pe = /* @__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))(Pe || {}), Me = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(fe || {}), Re = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Re || {}), De = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(Ue || {}), Be = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e))(Be || {}), je = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(Oe || {}), Ne = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Ne || {}), Ve = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(He || {}), Fe = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Fe || {}), Ge = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e))(Ge || {}), We = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(We || {}), ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(ze || {}), xe = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(xe || {}), ve = /* @__PURE__ */ ((e) => (e.Date = "date", e))(ve || {}), 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 || {}), S = /* @__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))(S || {}), Le = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(Ze || {}), Qe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(Qe || {}), Xe = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.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))(Xe || {}), 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 || {}), v = /* @__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))(v || {}), Je = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ke || {}), Ee = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ee || {}), Ce = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ce || {});
15
- const xt = Object.values(v);
16
- var Ae = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))(tr || {}), or = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(or || {}), m = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(m || {}), sr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(sr || {}), j = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.XWeather = "xweather", e))(j || {}), ir = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(ir || {}), lr = /* @__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))(lr || {}), nr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(nr || {}), gr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(gr || {}), mr = /* @__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))(mr || {}), 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 || {}), cr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(ur || {}), hr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(hr || {}), dr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(dr || {}), Sr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e))(Sr || {}), Tr = /* @__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))(Tr || {}), $r = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segmentation = "sam", e))($r || {}), br = /* @__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))(br || {}), kr = /* @__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))(kr || {}), wr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(wr || {}), Pr = /* @__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))(Pr || {}), Mr = /* @__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))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(fr || {}), Rr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(_r || {}), Ur = /* @__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))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Or || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Nr || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Vr || {}), Hr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Hr || {}), Fr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Fr || {}), Gr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Gr || {}), Wr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Wr || {}), zr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(zr || {}), xr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(xr || {}), vr = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(vr || {}), Lr = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Zr || {}), Qr = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(Qr || {}), Xr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(Xr || {}), qr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(qr || {}), Jr = /* @__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))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Kr || {}), Er = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Er || {}), Cr = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Cr || {}), Ar = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(sa || {}), ia = /* @__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))(ia || {}), la = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(la || {}), na = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(na || {}), ga = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(ma || {}), pa = /* @__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))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(ua || {}), ha = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Sa || {}), Ta = /* @__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))(Ta || {}), $a = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))($a || {}), ba = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(ka || {}), wa = /* @__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))(wa || {}), L = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(L || {}), Pa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(Pa || {}), Ma = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Ma || {}), fa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(fa || {}), Ra = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ua || {}), Ba = /* @__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))(Ba || {}), ja = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(ja || {}), Z = /* @__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))(Z || {}), Oa = /* @__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))(Oa || {}), Na = /* @__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))(Na || {}), Va = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Va || {}), Ha = /* @__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))(Ha || {}), Fa = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(Fa || {}), Ga = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(Ga || {}), Wa = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(Wa || {}), za = /* @__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))(za || {}), xa = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(xa || {}), va = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(va || {}), La = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(Za || {}), Qa = /* @__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))(Qa || {}), Xa = /* @__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))(Xa || {}), qa = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ya || {}), Ka = /* @__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))(Ka || {}), Ea = /* @__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))(Ea || {}), Ca = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ca || {}), Aa = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Aa || {}), Ia = /* @__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))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(ya || {});
17
- const vt = {
14
+ var Ge = /* @__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.NoRecordings = "no_recordings", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(Ge || {}), We = /* @__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))(We || {}), ze = /* @__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))(ze || {}), xe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(xe || {}), Le = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Ze || {}), Xe = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Qe || {}), qe = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(Ye || {}), $ = /* @__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))($ || {}), b = /* @__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[e.GoneError = 410] = "GoneError", e[e.TooManyRequestsError = 429] = "TooManyRequestsError", e))(b || {}), Ke = /* @__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.VideoWallInUse = "VIDEO_WALL_IN_USE", e))(Ke || {});
15
+ function Ce(e) {
16
+ return f.isAxiosError(e);
17
+ }
18
+ function Ho(e) {
19
+ var r, t;
20
+ if (Ce(e))
21
+ return (t = (r = e.response) == null ? void 0 : r.data) == null ? void 0 : t.code;
22
+ }
23
+ var Ee = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(Ae || {}), Ie = /* @__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))(Ie || {}), ye = /* @__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))(ye || {}), J = /* @__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))(J || {}), er = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(tr || {});
24
+ const Vo = Object.values(J);
25
+ var or = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(or || {}), sr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(sr || {}), ir = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ir || {}), nr = /* @__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))(nr || {}), lr = /* @__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))(lr || {}), gr = /* @__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))(gr || {}), pr = /* @__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.Downloading = "downloading", e))(pr || {}), mr = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(mr || {}), cr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(cr || {}), m = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(m || {}), ur = /* @__PURE__ */ ((e) => (e.Running = "running", e.Completed = "completed", e.Failed = "failed", e.Skipped = "skipped", e))(ur || {}), dr = /* @__PURE__ */ ((e) => (e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(dr || {}), Y = /* @__PURE__ */ ((e) => (e.Allocated = "allocated", e.Acknowledged = "acknowledged", e))(Y || {}), hr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(hr || {}), O = /* @__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.Hammertech = "hammertech", e.XWeather = "xweather", e))(O || {}), Sr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.CommentMention = "comment_mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e.SmartSearchExportReady = "smart_search_export_ready", e.SmartSearchExportFailed = "smart_search_export_failed", e.GateReportExportReady = "gate_report_export_ready", e.GateReportExportFailed = "gate_report_export_failed", e.PpeExportReady = "ppe_export_ready", e.PpeExportFailed = "ppe_export_failed", e.WeatherExportReady = "weather_export_ready", e.WeatherExportFailed = "weather_export_failed", e.CompareReady = "compare_ready", e.CompareFailed = "compare_failed", e.ClipExportReady = "clip_export_ready", e.ClipExportFailed = "clip_export_failed", e.NvrClipReady = "nvr_clip_ready", e.NvrClipFailed = "nvr_clip_failed", e.UploadComplete = "upload_complete", e.UploadFailed = "upload_failed", e.RingCamerasImported = "ring_cameras_imported", e.StorageWarning = "storage_warning", e.Other = "other", e))($r || {}), br = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(br || {}), kr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(kr || {}), Tr = /* @__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))(Tr || {}), wr = /* @__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))(wr || {}), fr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(fr || {}), Mr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(Mr || {}), Rr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Dr || {}), Pr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Pr || {}), _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.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e.NoGdpr = "no_gdpr", e.Chat = "chat", e))(_r || {}), jr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(jr || {}), Ur = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Ur || {}), Br = /* @__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))(Br || {}), vr = /* @__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))(vr || {});
26
+ const Go = {
27
+ [
28
+ -1
29
+ /* Infinity */
30
+ ]: "content.cloud_recording_duration.unlimited",
31
+ 1: "content.cloud_recording_duration.day",
32
+ 7: "content.cloud_recording_duration.week",
33
+ 30: "content.cloud_recording_duration.month",
34
+ 90: "content.cloud_recording_duration.three_months"
35
+ };
36
+ var Fr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Fr || {}), Or = /* @__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))(Or || {}), Nr = /* @__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))(Nr || {}), Hr = /* @__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))(Hr || {}), Vr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(Vr || {}), Gr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Gr || {}), Wr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Wr || {}), zr = /* @__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))(zr || {}), xr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(xr || {}), Lr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Zr || {}), Xr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Xr || {}), Qr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(Ir || {}), yr = /* @__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))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(ra || {}), aa = /* @__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))(aa || {}), ta = /* @__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))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(ia || {}), na = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(na || {}), la = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(la || {}), ga = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))(ga || {}), pa = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(pa || {}), ma = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ma || {}), ca = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(ha || {}), Sa = /* @__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))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))($a || {}), ba = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(ka || {}), Ta = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(Ta || {}), wa = /* @__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))(wa || {}), fa = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(fa || {}), Ma = /* @__PURE__ */ ((e) => (e.US = "us", e.AU = "au", e.EU = "eu", e))(Ma || {}), Ra = /* @__PURE__ */ ((e) => (e.Low = "Low", e.Medium = "Medium", e.High = "High", e.Critical = "Critical", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e.Undefined = "Undefined", e.Positive = "Positive", e.Negative = "Negative", e.Neutral = "Neutral", e))(Da || {});
37
+ const Pa = [
38
+ "imageupload",
39
+ "fileupload",
40
+ "signature",
41
+ "signaturewithname"
42
+ ];
43
+ function Wo(e) {
44
+ return Pa.includes(String(e || "").toLowerCase());
45
+ }
46
+ function zo(e) {
47
+ return String(e || "").toLowerCase() === "signaturewithname";
48
+ }
49
+ var _a = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(_a || {}), ja = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(ja || {}), Ua = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Ba || {}), va = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Gloves = "gloves", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(va || {}), Fa = /* @__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))(Fa || {}), Oa = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisVest = "high_vis_vest", e.Gloves = "gloves", e.Glasses = "glasses", e))(Oa || {}), Na = /* @__PURE__ */ ((e) => (e.Day = "day", e.Week = "week", e.Month = "month", e))(Na || {}), Ha = /* @__PURE__ */ ((e) => (e.Helmet = "has_helmet", e.HighVisVest = "has_high_vis_vest", e))(Ha || {}), Va = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(Va || {}), Ga = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(Ga || {}), Wa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Wa || {}), za = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(za || {}), xa = /* @__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.Cameras = "cameras", e))(xa || {}), K = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(K || {}), La = /* @__PURE__ */ ((e) => (e.Fulfilled = "fulfilled", e.Rejected = "rejected", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Za || {}), Xa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.RouterSmsRoundTrip = "router_sms_round_trip", e.NvrRecordingAllCameras = "nvr_recording_all_cameras", e.NvrRecordingThirdStream = "nvr_recording_third_stream", e.CamerasHaveDeviceId = "cameras_have_device_id", e.CamerasRecording = "cameras_recording", e.CamerasSdCardMounted = "cameras_sd_card_mounted", e.BatteryReadings = "battery_readings", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.Passed = "passed", e.Failed = "failed", e.Skipped = "skipped", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ca || {}), Ea = /* @__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))(Ea || {}), Aa = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e.Fan = "fan", e.FanTemperature = "fan_temperature", e))(Aa || {}), C = /* @__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))(C || {}), Ia = /* @__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))(Ia || {}), ya = /* @__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))(ya || {}), et = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(et || {}), rt = /* @__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.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))(rt || {}), at = /* @__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))(at || {}), tt = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(ot || {}), st = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(st || {}), it = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(it || {}), nt = /* @__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))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(gt || {}), pt = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(pt || {}), mt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(mt || {}), ct = /* @__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))(ct || {}), ut = /* @__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))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(dt || {}), ht = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.Gemma = "gemma", e))(ht || {});
50
+ const xo = [
51
+ {
52
+ text: "Gemini (hosted, billed per call)",
53
+ value: "gemini"
54
+ /* Gemini */
55
+ },
56
+ {
57
+ text: "Gemma 4 31B (self-hosted, free)",
58
+ value: "gemma"
59
+ /* Gemma */
60
+ }
61
+ ];
62
+ var St = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(St || {}), $t = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))($t || {}), bt = /* @__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))(bt || {}), kt = /* @__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))(kt || {}), 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 || {}), wt = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(wt || {}), ft = /* @__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))(ft || {}), Mt = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(Mt || {});
63
+ const Lo = {
18
64
  camera: [
19
65
  "Live View",
20
66
  "Recordings",
@@ -27,186 +73,337 @@ const vt = {
27
73
  /* ThreeSixty */
28
74
  ]
29
75
  };
30
- var et = /* @__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))(et || {}), rt = /* @__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))(rt || {}), at = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(at || {}), tt = ((e) => (e[e.Aconex = j.Aconex] = "Aconex", e[e.Procore = j.Procore] = "Procore", e[e.Autodesk = j.Autodesk] = "Autodesk", e.Email = "email", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e))(ot || {}), st = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(st || {}), it = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(it || {}), lt = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(lt || {});
31
- const T = (e) => class extends Error {
76
+ 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 || {}), Dt = /* @__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))(Dt || {}), Pt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(Pt || {}), _t = ((e) => (e[e.Aconex = O.Aconex] = "Aconex", e[e.Procore = O.Procore] = "Procore", e[e.Autodesk = O.Autodesk] = "Autodesk", e.Email = "email", e))(_t || {}), jt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e.Weather = "weather", e))(jt || {}), Ut = /* @__PURE__ */ ((e) => (e.Forecast = "forecast", e.History = "history", e))(Ut || {}), Bt = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Bt || {}), vt = /* @__PURE__ */ ((e) => (e.Daily = "daily", e.Hourly = "hourly", e))(vt || {}), Ft = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(Ft || {}), Ot = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(Ot || {}), Nt = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(Nt || {}), Ht = /* @__PURE__ */ ((e) => (e.Assign = "assign", e.Unassign = "unassign", e))(Ht || {});
77
+ function Zo(e) {
78
+ return e.resourceType === "project";
79
+ }
80
+ function Xo(e) {
81
+ return e.resourceType === "camera";
82
+ }
83
+ const Qo = "queued";
84
+ var Vt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(Vt || {}), Gt = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Gt || {}), Wt = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e.Observations360 = "observations_360", e))(Wt || {}), zt = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(zt || {}), xt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e.Subprompt = "subprompt", e))(xt || {}), Lt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Lt || {});
85
+ const qo = {
86
+ gate_report: {
87
+ bg: "#ecfdf5",
88
+ fg: "#047857",
89
+ border: "#a7f3d0",
90
+ icon: "fa-truck"
91
+ },
92
+ ppe: {
93
+ bg: "#fff7ed",
94
+ fg: "#c2410c",
95
+ border: "#fed7aa",
96
+ icon: "fa-helmet-safety"
97
+ },
98
+ site_analytics: {
99
+ bg: "#eff6ff",
100
+ fg: "#1d4ed8",
101
+ border: "#bfdbfe",
102
+ icon: "fa-chart-simple"
103
+ },
104
+ observations_360: {
105
+ bg: "#eef2ff",
106
+ fg: "#4338ca",
107
+ border: "#c7d2fe",
108
+ icon: "fa-street-view"
109
+ },
110
+ generic: {
111
+ bg: "#f1f5f9",
112
+ fg: "#334155",
113
+ border: "#cbd5e1",
114
+ icon: "fa-cube"
115
+ }
116
+ }, Jo = {
117
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
118
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
119
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
120
+ };
121
+ var Zt = /* @__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))(Zt || {}), Xt = /* @__PURE__ */ ((e) => (e.Prompt = "prompt", e.Parent = "parent", e.Subprompt = "subprompt", e))(Xt || {}), Qt = /* @__PURE__ */ ((e) => (e.Prod = "prod", e.Beta = "beta", e.Parked = "parked", e))(Qt || {}), qt = /* @__PURE__ */ ((e) => (e.PerSecond = "per_second", e.PerMinute = "per_minute", e.Hourly = "hourly", e.Daily = "daily", e))(qt || {});
122
+ const Yo = {
123
+ prod: {
124
+ bg: "#ecfdf5",
125
+ fg: "#047857",
126
+ border: "#a7f3d0",
127
+ label: "Prod"
128
+ },
129
+ beta: {
130
+ bg: "#fffbeb",
131
+ fg: "#b45309",
132
+ border: "#fde68a",
133
+ label: "Beta"
134
+ },
135
+ parked: {
136
+ bg: "#f1f5f9",
137
+ fg: "#475569",
138
+ border: "#cbd5e1",
139
+ label: "Parked"
140
+ }
141
+ };
142
+ var Jt = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(Jt || {}), Yt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(Yt || {}), Kt = /* @__PURE__ */ ((e) => (e.Workflow = "workflow", e.Chat = "chat", e))(Kt || {}), E = /* @__PURE__ */ ((e) => (e.Mine = "mine", e.Account = "account", e.All = "all", e))(E || {}), Ct = /* @__PURE__ */ ((e) => (e.Detected = "detected", e.Approved = "approved", e.Disapproved = "disapproved", e.Unsure = "unsure", e))(Ct || {});
143
+ const Ko = {
144
+ detected: {
145
+ bg: "#f1f5f9",
146
+ fg: "#334155",
147
+ border: "#cbd5e1",
148
+ label: "Detected"
149
+ },
150
+ approved: {
151
+ bg: "#ecfdf5",
152
+ fg: "#047857",
153
+ border: "#a7f3d0",
154
+ label: "Approved"
155
+ },
156
+ disapproved: {
157
+ bg: "#fef2f2",
158
+ fg: "#b91c1c",
159
+ border: "#fecaca",
160
+ label: "Disapproved"
161
+ },
162
+ unsure: {
163
+ bg: "#fffbeb",
164
+ fg: "#b45309",
165
+ border: "#fde68a",
166
+ label: "Unsure"
167
+ }
168
+ };
169
+ var A = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Walk360 = "walk360", e.Drone = "drone", e))(A || {}), Et = /* @__PURE__ */ ((e) => (e.CameraDetection = "camera_detection", e.Walk = "walk", e))(Et || {}), At = /* @__PURE__ */ ((e) => (e.Done = "done", e.Processing = "processing", e.Retryable = "retryable", e.Error = "error", e))(At || {});
170
+ const c = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
171
+ if (Object.keys(e).length === 0)
172
+ return;
173
+ let o = { ...e };
174
+ return r && (o = P.decamelizeKeys(e)), Object.entries(o).reduce((i, [l, p], u) => {
175
+ let h = "";
176
+ return ["", null, void 0].includes(p) || Array.isArray(p) && p.length === 0 ? i : (p && typeof p == "object" ? h = Object.entries(p).reduce((M, [j, B], v) => {
177
+ let R = l;
178
+ return isNaN(Number.parseInt(j)) ? R = `${l}[${j}]` : Array.isArray(p) && t && (R = `${l}[]`), `${M}${v > 0 ? "&" : ""}${R}=${encodeURIComponent(B)}`;
179
+ }, "") : h = `${l}=${encodeURIComponent(
180
+ p
181
+ )}`, `${i}${u > 0 ? "&" : ""}${h}`);
182
+ }, "");
183
+ };
184
+ function It(e = "") {
185
+ return [
186
+ ...new URLSearchParams(
187
+ e.indexOf("#") > -1 ? e.split("#")[0] : e
188
+ ).entries()
189
+ ].filter(([, t]) => t).reduce((t, [o, i]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: i } : t[o] ? {
190
+ ...t,
191
+ [o]: [...t[o], i]
192
+ } : { ...t, [o]: [i] }, {});
193
+ }
194
+ const yt = /^https?:\/\/([^./]+)\.staging\.media\.evercam\.io(?::\d+)?(?:\/|$)/;
195
+ function eo(e) {
196
+ var r;
197
+ return ((r = e == null ? void 0 : e.match(yt)) == null ? void 0 : r[1]) || null;
198
+ }
199
+ const k = (e) => class extends Error {
32
200
  constructor(r) {
33
201
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
34
202
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
35
203
  }
36
- }, nt = T(h.BadRequestError), gt = T(h.NotFoundError), mt = T(h.UnauthorizedError), pt = T(
37
- h.GatewayTimeoutError
38
- ), ct = T(h.BadGatewayError), ut = T(h.ForbiddenError), Lt = T(h.HlsError), Zt = T(h.SnapshotError), ht = T(h.ConflictError), dt = T(
39
- h.InternalServerError
40
- );
41
- let N = 0;
42
- const St = 10, Tt = async () => {
43
- for (; N === St; )
44
- await new Promise((e) => setTimeout(e, 1e3));
45
- N++, setTimeout(() => {
46
- N--;
47
- }, 1e3);
48
- }, $t = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await Tt(), wt(e, r), e != null && e.skipAuth ? Mt(e) : kt(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 || Pt(e)), e), bt = (e) => {
49
- var t, o, s, l, n;
204
+ }, ro = k($.BadRequestError), ao = k($.NotFoundError), to = k($.UnauthorizedError), oo = k(
205
+ $.GatewayTimeoutError
206
+ ), so = k($.BadGatewayError), io = k($.ForbiddenError), Co = k($.HlsError), Eo = k($.SnapshotError), no = k($.ConflictError), lo = k(
207
+ $.InternalServerError
208
+ ), go = 10, L = 1e3, D = [], po = async () => {
209
+ for (; ; ) {
210
+ const e = Date.now();
211
+ for (; D.length && e - D[0] >= L; )
212
+ D.shift();
213
+ if (D.length < go) {
214
+ D.push(e);
215
+ return;
216
+ }
217
+ const r = L - (e - D[0]);
218
+ await new Promise((t) => setTimeout(t, r));
219
+ }
220
+ }, mo = async (e, r) => {
221
+ var t, o;
222
+ if (e != null && e.raw)
223
+ return e;
224
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await po(), So(e, r), e != null && e.skipAuth ? bo(e) : uo(e, r), ho(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))) {
225
+ const i = e.headers.common;
226
+ i["iframe-origin"] = new URL(document.referrer).origin;
227
+ }
228
+ if (r.evercamLabsUrl && (e.url || "").startsWith(r.evercamLabsUrl) && ((o = e == null ? void 0 : e.headers) != null && o.common)) {
229
+ const i = e.headers.common;
230
+ i["x-environment"] = r.isLabsStaging ? "staging" : "production";
231
+ }
232
+ return e.preserveCasing || $o(e), e;
233
+ }, co = (e) => {
234
+ var t, o, i, l, p;
50
235
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
51
236
  return e;
52
237
  if ("data" in e) {
53
238
  if (e.data instanceof Blob)
54
239
  return e.data;
55
240
  } else return e;
56
- const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : w.camelizeKeys(e.data);
57
- if ((s = e == null ? void 0 : e.config) != null && s.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;
241
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : P.camelizeKeys(e.data);
242
+ if ((i = e == null ? void 0 : e.config) != null && i.timing && ((p = (l = e == null ? void 0 : e.config) == null ? void 0 : l._metadata) != null && p.startTime)) {
243
+ const u = performance.now() - e.config._metadata.startTime;
59
244
  return {
60
245
  ...e,
61
246
  data: r,
62
- duration: p
247
+ duration: u
63
248
  };
64
249
  }
65
250
  return r;
66
- }, Q = async (e, r) => {
67
- var M, _, U, k, H, F, G;
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 Y = performance.now() - e.config._metadata.startTime;
70
- return { error: e, duration: Y };
251
+ }, I = async (e, r) => {
252
+ var j, B, v, R, W, z, x;
253
+ if ((j = e == null ? void 0 : e.config) != null && j.timing && ((v = (B = e == null ? void 0 : e.config) == null ? void 0 : B._metadata) != null && v.startTime)) {
254
+ const ae = performance.now() - e.config._metadata.startTime;
255
+ return { error: e, duration: ae };
71
256
  }
72
- const t = e.response ? e.response.status : null, o = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), s = (H = e.config) == null ? void 0 : H.url, l = ((G = (F = e == null ? void 0 : e.response) == null ? void 0 : F.data) == null ? void 0 : G.code) || "";
73
- let n = {}, p = e.message;
74
- switch (s && o && t && (p = `${o} ${s} (${t}) ${l}`.trim()), t) {
75
- case S.BadRequestError:
76
- n = new nt(new Error(p));
257
+ const t = e.response ? e.response.status : null, o = (((R = e.config) == null ? void 0 : R.method) || "").toUpperCase(), i = (W = e.config) == null ? void 0 : W.url, l = ((x = (z = e == null ? void 0 : e.response) == null ? void 0 : z.data) == null ? void 0 : x.code) || "";
258
+ let p = {}, u = e.message;
259
+ switch (i && o && t && (u = `${o} ${i} (${t}) ${l}`.trim()), t) {
260
+ case b.BadRequestError:
261
+ p = new ro(new Error(u));
77
262
  break;
78
- case S.UnauthorizedError:
79
- n = new mt(new Error(p));
263
+ case b.UnauthorizedError:
264
+ p = new to(new Error(u));
80
265
  break;
81
- case S.ForbiddenError:
82
- n = new ut(new Error(p));
266
+ case b.ForbiddenError:
267
+ p = new io(new Error(u));
83
268
  break;
84
- case S.NotFoundError:
85
- n = new gt(new Error(p));
269
+ case b.NotFoundError:
270
+ p = new ao(new Error(u));
86
271
  break;
87
- case S.ConflictError:
88
- n = new ht(new Error(p));
272
+ case b.ConflictError:
273
+ p = new no(new Error(u));
89
274
  break;
90
- case S.InternalServerError:
91
- n = new dt(new Error(p));
275
+ case b.InternalServerError:
276
+ p = new lo(new Error(u));
92
277
  break;
93
- case S.BadGatewayError:
94
- n = new ct(new Error(p));
278
+ case b.BadGatewayError:
279
+ p = new so(new Error(u));
95
280
  break;
96
- case S.GatewayTimeoutError:
97
- n = new pt(new Error(p));
281
+ case b.GatewayTimeoutError:
282
+ p = new oo(new Error(u));
98
283
  break;
99
284
  case null:
100
285
  // null case
101
286
  case 0:
102
- n = new Error(
287
+ p = new Error(
103
288
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
104
289
  );
105
290
  break;
106
291
  }
107
- if (b.isCancel(e) || t === S.NotFoundError)
108
- return Promise.reject(n);
292
+ if (f.isCancel(e) || t === b.NotFoundError)
293
+ return Promise.reject(p);
109
294
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
110
- const D = r.errorLogger;
111
- return s && D && D({
295
+ const M = r.errorLogger;
296
+ return i && M && M({
112
297
  // @ts-expect-error axios issue
113
298
  category: "axios.info",
114
299
  data: {
115
- url: `Error in URL: ${s}`,
300
+ url: `Error in URL: ${i}`,
116
301
  status: t
117
302
  }
118
- }), Promise.reject(n);
119
- }, X = (e) => {
303
+ }), Promise.reject(p);
304
+ }, G = (e) => {
120
305
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
121
306
  };
122
- function kt(e, r) {
307
+ function uo(e, r) {
123
308
  var o;
124
309
  const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
125
- t && (X(e), e.headers.common.Authorization = `Bearer ${t}`);
310
+ t && (G(e), e.headers.common.Authorization = `Bearer ${t}`);
311
+ }
312
+ function ho(e, r) {
313
+ const t = eo(r == null ? void 0 : r.baseUrl);
314
+ !t || !e.url || ![
315
+ r.ingest360Api,
316
+ r.ingestDroneApi,
317
+ r.ingestGpuApiUrl
318
+ ].flatMap((i) => (i || "").split(";")).filter((i) => !!i).some((i) => {
319
+ var l;
320
+ return (l = e.url) == null ? void 0 : l.startsWith(i);
321
+ }) || (G(e), e.headers.common["X-Media-Api-Preview"] = t);
126
322
  }
127
- function wt(e, r) {
323
+ function So(e, r) {
128
324
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
129
325
  }
130
- function Pt(e) {
326
+ function $o(e) {
131
327
  let r = {}, { data: t, params: o } = e;
132
328
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
133
- (s, l) => ({
134
- ...s,
329
+ (i, l) => ({
330
+ ...i,
135
331
  [l]: t[l]
136
332
  }),
137
333
  {}
138
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = w.decamelizeKeys(t) : t = { ...w.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
139
- let s = new FormData();
140
- for (const [l, n] of t.entries())
141
- s.append(w.decamelize(l), n);
142
- t = s;
334
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = P.decamelizeKeys(t) : t = { ...P.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
335
+ let i = new FormData();
336
+ for (const [l, p] of t.entries())
337
+ i.append(P.decamelize(l), p);
338
+ t = i;
143
339
  }
144
- o && !(o instanceof Blob) && (o = w.decamelizeKeys(o)), e.data = t, e.params = o;
340
+ o && !(o instanceof Blob) && (o = P.decamelizeKeys(o)), e.data = t, e.params = o;
145
341
  }
146
- const Qt = async (e, r, t) => {
342
+ const Ao = async (e, r, t) => {
147
343
  if (r())
148
- throw await t(), new b.Cancel("Request canceled due to expired token");
344
+ throw await t(), new f.Cancel("Request canceled due to expired token");
149
345
  return e;
150
346
  };
151
- function Mt(e) {
347
+ function bo(e) {
152
348
  if (!e.headers)
153
349
  return;
154
350
  const r = e.headers;
155
351
  delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
156
352
  }
157
- function R(e) {
353
+ function U(e) {
158
354
  return new Promise((r, t) => {
159
355
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
160
356
  });
161
357
  }
162
- function ft(e, r) {
358
+ function ko(e, r) {
163
359
  let t;
164
360
  const o = () => {
165
361
  if (t)
166
362
  return t;
167
- const s = indexedDB.open(e);
168
- return s.onupgradeneeded = () => s.result.createObjectStore(r), t = R(s), t.then((l) => {
363
+ const i = indexedDB.open(e);
364
+ return i.onupgradeneeded = () => i.result.createObjectStore(r), t = U(i), t.then((l) => {
169
365
  l.onclose = () => t = void 0;
170
366
  }, () => {
367
+ t = void 0;
171
368
  }), t;
172
369
  };
173
- return (s, l) => o().then((n) => l(n.transaction(r, s).objectStore(r)));
370
+ return (i, l) => o().then((p) => l(p.transaction(r, i).objectStore(r)));
174
371
  }
175
- let V;
176
- function O() {
177
- return V || (V = ft("keyval-store", "keyval")), V;
372
+ let H;
373
+ function N() {
374
+ return H || (H = ko("keyval-store", "keyval")), H;
178
375
  }
179
- function Rt(e, r = O()) {
180
- return r("readonly", (t) => R(t.get(e)));
376
+ function To(e, r = N()) {
377
+ return r("readonly", (t) => U(t.get(e)));
181
378
  }
182
- function Dt(e, r, t = O()) {
183
- return t("readwrite", (o) => (o.put(r, e), R(o.transaction)));
379
+ function wo(e, r, t = N()) {
380
+ return t("readwrite", (o) => (o.put(r, e), U(o.transaction)));
184
381
  }
185
- function _t(e, r = O()) {
186
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
382
+ function fo(e, r = N()) {
383
+ return r("readwrite", (t) => (t.delete(e), U(t.transaction)));
187
384
  }
188
- function Ut(e = O()) {
189
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
385
+ function Mo(e = N()) {
386
+ return e("readwrite", (r) => (r.clear(), U(r.transaction)));
190
387
  }
191
- class Bt {
388
+ class Ro {
192
389
  constructor(r) {
193
- B(this, "prefix");
390
+ F(this, "prefix");
194
391
  this.prefix = r;
195
392
  }
196
393
  generateKey(r) {
197
- var s, l;
198
- const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(s = r.url) == null ? void 0 : s.replace(/^\//, "")}` : r.url;
394
+ var i, l;
395
+ const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
199
396
  let o = "";
200
397
  if (r.params) {
201
- const n = Object.keys(r.params).sort().reduce((p, $) => (p[$] = r.params[$], p), {});
202
- o = JSON.stringify(n);
398
+ const p = Object.keys(r.params).sort().reduce((u, h) => (u[h] = r.params[h], u), {});
399
+ o = JSON.stringify(p);
203
400
  }
204
401
  return `${this.prefix}:${((l = r.method) == null ? void 0 : l.toUpperCase()) || "GET"}:${t}?${o}`;
205
402
  }
206
403
  async get(r) {
207
404
  let t;
208
405
  try {
209
- if (t = await Rt(r), t === void 0)
406
+ if (t = await To(r), t === void 0)
210
407
  return;
211
408
  } catch (o) {
212
409
  console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
@@ -225,7 +422,7 @@ class Bt {
225
422
  async set(r, t) {
226
423
  try {
227
424
  const o = JSON.stringify(t);
228
- await Dt(r, o);
425
+ await wo(r, o);
229
426
  } catch (o) {
230
427
  console.error(
231
428
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
@@ -235,37 +432,37 @@ class Bt {
235
432
  }
236
433
  async delete(r) {
237
434
  try {
238
- await _t(r);
435
+ await fo(r);
239
436
  } catch (t) {
240
437
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
241
438
  }
242
439
  }
243
440
  async clear() {
244
441
  try {
245
- await Ut();
442
+ await Mo();
246
443
  } catch (r) {
247
444
  console.error("[SWR Store]: Error clearing cache", r);
248
445
  }
249
446
  }
250
447
  }
251
- class q {
448
+ class y {
252
449
  constructor({
253
450
  key: r,
254
451
  axiosInstance: t
255
452
  }) {
256
- B(this, "axiosInstance");
257
- B(this, "store");
258
- this.store = new Bt(r), this.axiosInstance = t;
453
+ F(this, "axiosInstance");
454
+ F(this, "store");
455
+ this.store = new Ro(r), this.axiosInstance = t;
259
456
  }
260
457
  async get(r, t = {}) {
261
458
  const o = {
262
459
  ...t,
263
460
  method: "get",
264
461
  url: r
265
- }, s = this.store.generateKey(o), l = this.getCachedValue(s, o), n = this.getFreshValue(s, o);
462
+ }, i = this.store.generateKey(o), l = this.getCachedValue(i, o), p = this.getFreshValue(i, o);
266
463
  return Promise.race([
267
- l.then((p) => p != null ? p : n),
268
- n
464
+ l.then((u) => u != null ? u : p),
465
+ p
269
466
  ]);
270
467
  }
271
468
  async getCachedValue(r, t) {
@@ -279,22 +476,22 @@ class q {
279
476
  async getFreshValue(r, t) {
280
477
  var o;
281
478
  try {
282
- const s = await this.axiosInstance.request(
479
+ const i = await this.axiosInstance.request(
283
480
  t
284
- ), l = (o = s == null ? void 0 : s.data) != null ? o : s;
285
- return this.store.set(r, l).catch((n) => {
286
- console.warn(`[SWR] Failed to write to cache: ${r}`, n);
481
+ ), l = (o = i == null ? void 0 : i.data) != null ? o : i;
482
+ return this.store.set(r, l).catch((p) => {
483
+ console.warn(`[SWR] Failed to write to cache: ${r}`, p);
287
484
  }), t.onSwrRefresh && t.onSwrRefresh(l), l;
288
- } catch (s) {
289
- throw console.warn(`[SWR] Request failed: ${t.url}`, s), t.onSwrError && t.onSwrError(s), s;
485
+ } catch (i) {
486
+ throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
290
487
  }
291
488
  }
292
489
  async clear() {
293
490
  await this.store.clear();
294
491
  }
295
492
  }
296
- let W = [], z = [], P = [];
297
- const a = b.create({
493
+ let Z = [], X = [], _ = [];
494
+ const a = f.create({
298
495
  headers: {
299
496
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
300
497
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -312,66 +509,78 @@ a.addEnvironmentVariables = (e) => {
312
509
  );
313
510
  });
314
511
  };
315
- a.swr = new q({
512
+ a.swr = new y({
316
513
  key: a.env.swrKey || "swr",
317
514
  axiosInstance: a
318
515
  });
319
- const jt = a.get.bind(a);
320
- a.swr = new q({
516
+ const Do = a.get.bind(a);
517
+ a.swr = new y({
321
518
  key: a.env.swrKey || "swr",
322
519
  axiosInstance: a
323
520
  });
324
521
  a.get = function(...e) {
325
- return (e[1] || {}).swr ? this.swr.get(...e) : jt(...e);
522
+ return (e[1] || {}).swr ? this.swr.get(...e) : Do(...e);
326
523
  };
327
524
  a.addRequestInterceptor = (e, r) => {
328
- W.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
525
+ Z.push(e), r && !_.includes(r) && _.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
329
526
  async (t) => {
330
- for (const o of W)
527
+ for (const o of Z)
331
528
  t = await o(t, a.env);
332
529
  return t;
333
530
  },
334
531
  (t) => {
335
- for (const o of P)
532
+ for (const o of _)
336
533
  o(t, a.env);
337
534
  }
338
535
  );
339
536
  };
340
537
  a.addResponseInterceptor = (e, r) => {
341
- z.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
538
+ X.push(e), r && !_.includes(r) && _.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
342
539
  async (t) => {
343
- for (const o of z)
540
+ for (const o of X)
344
541
  t = await o(t, a.env);
345
542
  return t;
346
543
  },
347
544
  (t) => {
348
- for (const o of P)
545
+ for (const o of _)
349
546
  o(t, a.env);
350
547
  return Promise.reject(t);
351
548
  }
352
549
  );
353
550
  };
354
- a.addRequestInterceptor($t, Q);
355
- a.addResponseInterceptor(bt, Q);
356
- const J = (e, r) => {
357
- X(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
358
- }, Ot = (e) => {
359
- J("Authorization", e ? `Bearer ${e}` : null);
551
+ a.addRequestInterceptor(mo, I);
552
+ a.addResponseInterceptor(co, I);
553
+ const ee = (e, r) => {
554
+ G(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
555
+ }, Po = (e) => {
556
+ ee("Authorization", e ? `Bearer ${e}` : null);
360
557
  };
361
- a.CancelToken = b.CancelToken;
362
- a.isCancel = b.isCancel;
363
- a.setHeader = J;
364
- a.setToken = Ot;
365
- let f = [];
366
- a.generateCancelTokenSource = () => a.CancelToken.source();
367
- a.addCancelToken = (e) => f = [e, ...f];
368
- a.resetCancelTokens = () => f = [];
369
- a.cancelRequests = () => {
370
- f.length && (f.forEach((e) => {
371
- e.cancel("Operation canceled due to new request");
372
- }), a.resetCancelTokens());
373
- };
374
- const Xt = {
558
+ a.CancelToken = f.CancelToken;
559
+ a.isCancel = f.isCancel;
560
+ a.setHeader = ee;
561
+ a.setToken = Po;
562
+ const V = "Operation canceled due to new request";
563
+ function re() {
564
+ const e = /* @__PURE__ */ new Map();
565
+ return {
566
+ createToken(r) {
567
+ var o;
568
+ (o = e.get(r)) == null || o.cancel(V);
569
+ const t = a.CancelToken.source();
570
+ return e.set(r, t), t.token;
571
+ },
572
+ cancelToken(r) {
573
+ var t;
574
+ (t = e.get(r)) == null || t.cancel(V), e.delete(r);
575
+ },
576
+ cancelAll() {
577
+ e.forEach((r) => r.cancel(V)), e.clear();
578
+ }
579
+ };
580
+ }
581
+ a.createRequestManager = re;
582
+ a.requestManager = re();
583
+ const _o = 10 * 60 * 1e3, Io = {
375
584
  mediaHub: {
376
585
  getAllMedia(e) {
377
586
  return a.get("/admin/media-hub", e);
@@ -395,8 +604,17 @@ const Xt = {
395
604
  focusCamera(e, r) {
396
605
  return a.post(`/admin/devices/${r}/${e}/focus`);
397
606
  },
398
- getStorageServers() {
399
- return a.get("/admin/storage/servers");
607
+ getStorageProviders(e, r) {
608
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
609
+ },
610
+ createStorageProvider(e, r) {
611
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
612
+ },
613
+ updateStorageProvider(e, r, t) {
614
+ return a.put(
615
+ `/admin/cameras/${e}/storage-providers/${r}`,
616
+ t
617
+ );
400
618
  },
401
619
  getStorageDetails() {
402
620
  return a.get("/admin/storage");
@@ -451,13 +669,6 @@ const Xt = {
451
669
  {}
452
670
  );
453
671
  },
454
- // (Azhar) Old save note code will be remove once we migrate all old saved camera notes
455
- saveNote(e, r) {
456
- return a.post(`/admin/cameras/${e}/save-note`, r);
457
- },
458
- saveCameraNote(e, r) {
459
- return a.post(`/admin/cameras/${e}/note`, r);
460
- },
461
672
  update(e, r) {
462
673
  return a.patch(`/admin/cameras/${e}`, r);
463
674
  },
@@ -469,7 +680,7 @@ const Xt = {
469
680
  }
470
681
  },
471
682
  companies: {
472
- show(e, r) {
683
+ show(e, r = {}) {
473
684
  return a.get(`/admin/companies/${e}`, r);
474
685
  },
475
686
  getCompanyUsers(e, r) {
@@ -492,9 +703,6 @@ const Xt = {
492
703
  },
493
704
  deleteCompany(e) {
494
705
  return a.delete("/admin/companies", { params: e });
495
- },
496
- reSyncCompanies(e) {
497
- return a.post("/admin/companies/resync", e);
498
706
  }
499
707
  },
500
708
  sso: {
@@ -511,6 +719,26 @@ const Xt = {
511
719
  return a.delete("/admin/sso-providers", { params: { ids: e } });
512
720
  }
513
721
  },
722
+ oauthClients: {
723
+ index() {
724
+ return a.get("/admin/oauth/clients");
725
+ },
726
+ show(e) {
727
+ return a.get(`/admin/oauth/clients/${e}`);
728
+ },
729
+ create(e) {
730
+ return a.post("/admin/oauth/clients", e);
731
+ },
732
+ update(e, r) {
733
+ return a.patch(`/admin/oauth/clients/${e}`, r);
734
+ },
735
+ delete(e) {
736
+ return a.delete(`/admin/oauth/clients/${e}`);
737
+ },
738
+ regenerateSecret(e) {
739
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
740
+ }
741
+ },
514
742
  emailing: {
515
743
  performEmailing(e, r) {
516
744
  return a.post(`/admin/mailing/${e}`, r);
@@ -529,14 +757,6 @@ const Xt = {
529
757
  addExtraction(e, r) {
530
758
  return a.post(`admin/cameras/${e}/extractions`, r);
531
759
  },
532
- getExtractionStatus(e, r, t) {
533
- return a.get(
534
- `admin/cameras/${e}/extractions/${r}`,
535
- {
536
- params: t
537
- }
538
- );
539
- },
540
760
  deleteSnapshotExtraction(e, r, t) {
541
761
  return a.delete(
542
762
  `admin/cameras/${e}/extractions/${r}`,
@@ -544,6 +764,30 @@ const Xt = {
544
764
  params: t
545
765
  }
546
766
  );
767
+ },
768
+ getExtraction(e, r) {
769
+ return a.get(
770
+ `admin/cameras/${e}/extractions/${r}`
771
+ );
772
+ },
773
+ reprocessExtraction(e, r) {
774
+ return a.post(
775
+ `admin/cameras/${e}/extractions/${r}/reprocess`
776
+ );
777
+ }
778
+ },
779
+ anprExtractions: {
780
+ list(e) {
781
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
782
+ },
783
+ create(e, r) {
784
+ return a.post(
785
+ `/admin/cameras/${e}/anpr/extractions`,
786
+ r
787
+ );
788
+ },
789
+ delete(e, r) {
790
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
547
791
  }
548
792
  },
549
793
  kits: {
@@ -553,9 +797,6 @@ const Xt = {
553
797
  async getKit(e) {
554
798
  return a.get(`/admin/kits/${e}`);
555
799
  },
556
- createKit(e) {
557
- return a.post("/admin/kits", e);
558
- },
559
800
  updateKit(e, r) {
560
801
  return a.patch(`/admin/kits/${e}`, r);
561
802
  },
@@ -590,11 +831,22 @@ const Xt = {
590
831
  getAlarms(e) {
591
832
  return a.get(`/admin/kits/${e}/alarms`);
592
833
  },
834
+ runSupportChecklist(e) {
835
+ return a.post(`/admin/kits/${e}/support-checklist`, null, {
836
+ timeout: _o
837
+ });
838
+ },
839
+ transferProject(e, r) {
840
+ return a.put(`/admin/kits/${e}/transfer-project/${r}`);
841
+ },
593
842
  getBoxes(e) {
594
843
  return a.get("/admin/kit-boxes", e);
595
844
  },
596
845
  createBox(e) {
597
846
  return a.post("/admin/kit-boxes", e);
847
+ },
848
+ updateBox(e, r) {
849
+ return a.patch(`/admin/kit-boxes/${e}`, r);
598
850
  }
599
851
  },
600
852
  logs: {
@@ -605,9 +857,17 @@ const Xt = {
605
857
  return a.get(`/admin/cameras/${e}/audit-logs`, {
606
858
  params: r
607
859
  });
860
+ }
861
+ },
862
+ notes: {
863
+ togglePin(e) {
864
+ return a.patch(`/admin/notes/${e}/toggle-pin`);
608
865
  },
609
- togglePinNote(e) {
610
- return a.patch(`/admin/audit-logs/${e}/toggle-pin`);
866
+ getNotes(e, r) {
867
+ return a.get(`/admin/cameras/${e}/notes`, { params: r });
868
+ },
869
+ createNote(e, r) {
870
+ return a.post(`/admin/cameras/${e}/notes`, r);
611
871
  }
612
872
  },
613
873
  nvrs: {
@@ -672,6 +932,12 @@ const Xt = {
672
932
  },
673
933
  addToProject(e, r) {
674
934
  return a.post(`/admin/projects/${e}/add-cameras`, r);
935
+ },
936
+ getProjectStorages(e) {
937
+ return a.get("/admin/projects/storages", e);
938
+ },
939
+ retryProjectStorage(e) {
940
+ return a.post(`/admin/projects/storages/${e}/retry`);
675
941
  }
676
942
  },
677
943
  routers: {
@@ -726,8 +992,14 @@ const Xt = {
726
992
  }
727
993
  },
728
994
  shares: {
729
- async getInvites(e) {
995
+ getInvites(e) {
730
996
  return a.get("/admin/invites", e);
997
+ },
998
+ resendInvite(e) {
999
+ return a.post(`/admin/invites/${e}/resend`);
1000
+ },
1001
+ cancelInvite(e) {
1002
+ return a.post(`/admin/invites/${e}/cancel`);
731
1003
  }
732
1004
  },
733
1005
  sims: {
@@ -805,7 +1077,7 @@ const Xt = {
805
1077
  return a.put(`/admin/users/${e}/grant-admin`);
806
1078
  },
807
1079
  deleteUser(e, r) {
808
- return a.post(`/users/${e}/delete`, r);
1080
+ return a.delete(`/admin/users/${e}`, { params: r });
809
1081
  },
810
1082
  impersonateUser(e) {
811
1083
  return a.post(`/admin/users/${e}/impersonate`);
@@ -813,7 +1085,7 @@ const Xt = {
813
1085
  getUsers(e) {
814
1086
  return a.get("/admin/users", e);
815
1087
  },
816
- show(e, r) {
1088
+ show(e, r = {}) {
817
1089
  return a.get(
818
1090
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
819
1091
  );
@@ -854,8 +1126,16 @@ const Xt = {
854
1126
  index(e) {
855
1127
  return a.get("/admin/comments", e);
856
1128
  }
1129
+ },
1130
+ snapshotTransfers: {
1131
+ index(e) {
1132
+ return a.get("/admin/snapshot-transfers", e);
1133
+ },
1134
+ cancel(e) {
1135
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
1136
+ }
857
1137
  }
858
- }, qt = {
1138
+ }, yo = {
859
1139
  list(e = {}) {
860
1140
  return a.get("/video-walls", { params: e });
861
1141
  },
@@ -877,238 +1157,786 @@ const Xt = {
877
1157
  delete(e) {
878
1158
  return a.delete(`/video-walls/${e}`);
879
1159
  }
880
- }, d = () => a.env.firebaseDbLink, Nt = () => a.env.firebaseStorageUrl, Vt = () => a.env.firebaseStorageToken, Jt = {
1160
+ }, g = () => a.env.firebaseDbLink, jo = () => a.env.firebaseStorageUrl, Uo = () => a.env.firebaseStorageToken, Bo = () => a.env.forgeTokenServerUrl, n = { skipAuth: !0, preserveCasing: !0 }, es = {
881
1161
  drone: {
882
1162
  getProjectInfo(e) {
883
- return fetch(
884
- `${d()}data/projects/cesium/${e}.json`
885
- ).then((r) => r.json());
1163
+ return a.get(
1164
+ `${g()}data/projects/cesium/${e}.json`,
1165
+ n
1166
+ );
886
1167
  },
887
1168
  getProjectTags(e) {
888
- return fetch(
889
- `${d()}cesium/${e}/transform/tags.json`
890
- ).then((r) => r.json());
891
- }
892
- },
893
- _360: {
894
- getProjectInfo(e, r = { config: {} }) {
895
1169
  return a.get(
896
- `${d()}data/projects/360/${e}.json`,
897
- {
898
- ...r.config,
899
- skipAuth: !0,
900
- preserveCasing: !0
901
- }
1170
+ `${g()}data/projects/cesium/${e}/transform/tags.json`,
1171
+ n
902
1172
  );
903
1173
  },
904
- getDateWalks(e, r) {
905
- return fetch(
906
- `${d()}360/${e}/${r}.json`
907
- ).then((t) => t.json());
1174
+ patchTags({
1175
+ projectId: e,
1176
+ tags: r
1177
+ }) {
1178
+ return a.patch(
1179
+ `${g()}data/projects/cesium/${e}/transform/tags.json`,
1180
+ r,
1181
+ n
1182
+ );
908
1183
  },
909
- updateFloor(e, r, t, o) {
910
- return fetch(
911
- `${d()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
912
- {
913
- method: "PATCH",
914
- body: JSON.stringify(o)
915
- }
916
- ).then((s) => s.json());
1184
+ saveMarkers({
1185
+ projectId: e,
1186
+ markers: r
1187
+ }) {
1188
+ return a.put(
1189
+ `${g()}data/projects/cesium/${e}/transform/markers.json`,
1190
+ r,
1191
+ n
1192
+ );
917
1193
  },
918
- getRoute(e, r, t) {
919
- return fetch(
920
- `${d()}360/${e}/${r}/${t}/route.json`,
921
- {
922
- method: "GET"
923
- }
924
- ).then((o) => o.json());
1194
+ patchTransform({
1195
+ projectId: e,
1196
+ data: r
1197
+ }) {
1198
+ return a.patch(
1199
+ `${g()}data/projects/cesium/${e}/transform.json`,
1200
+ r,
1201
+ n
1202
+ );
925
1203
  },
926
- getGPXText(e) {
927
- return fetch(e == null ? void 0 : e.replace(/token=\s*/, "token=")).then(
928
- (r) => r.text()
1204
+ saveTerrainPoints({
1205
+ projectId: e,
1206
+ dateId: r,
1207
+ points: t
1208
+ }) {
1209
+ return a.put(
1210
+ `${g()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1211
+ t,
1212
+ n
929
1213
  );
930
1214
  },
931
- updateRoute(e, r, t, o) {
932
- return fetch(
933
- `${d()}360/${e}/${r}/${t}/route.json`,
934
- {
935
- method: "PATCH",
936
- body: JSON.stringify(o)
937
- }
938
- ).then((s) => s.json());
1215
+ patchImageryPlan({
1216
+ projectId: e,
1217
+ plan: r
1218
+ }) {
1219
+ return a.patch(
1220
+ `${g()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1221
+ r,
1222
+ n
1223
+ );
939
1224
  },
940
- async updateFeatureFlag(e, r, t, o, s) {
941
- return fetch(
942
- `${d()}360/${e}/${r}/${t}/${o}.json`,
943
- {
944
- method: "PUT",
945
- body: JSON.stringify(s)
946
- }
947
- ).then((l) => l.json());
1225
+ deleteImageryPlan({
1226
+ projectId: e,
1227
+ uuid: r
1228
+ }) {
1229
+ return a.delete(
1230
+ `${g()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1231
+ n
1232
+ );
948
1233
  },
949
- async saveSteps(e, r, t, o) {
950
- return fetch(
951
- `${d()}360/${e}/${r}/${t}/steps.json`,
952
- {
953
- method: "PUT",
954
- body: JSON.stringify(o)
955
- }
956
- ).then((s) => s.json());
1234
+ saveImageryPlans({
1235
+ projectId: e,
1236
+ plans: r
1237
+ }) {
1238
+ return a.put(
1239
+ `${g()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1240
+ r,
1241
+ n
1242
+ );
957
1243
  },
958
- updateGPXFile(e, r, t, o) {
959
- const s = new Blob([o], { type: "application/gpx+xml" }), l = new FormData();
960
- return l.append("gpxFile", s, "updated-track.gpx"), fetch(
961
- `${Nt() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Vt()}`,
962
- {
963
- method: "POST",
964
- body: l
965
- }
1244
+ saveModel({
1245
+ projectId: e,
1246
+ model: r
1247
+ }) {
1248
+ const { trueIndex: t, ...o } = r;
1249
+ return a.put(
1250
+ `${g()}data/projects/cesium/${e}/models/${t}.json`,
1251
+ o,
1252
+ n
966
1253
  );
967
- }
968
- },
969
- forge: {
970
- async getProjectInfo(e) {
971
- return fetch(
972
- `${d()}data/projects/forge/${e}.json`
973
- ).then((r) => r.json());
974
- }
975
- }
976
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
977
- if (Object.keys(e).length === 0)
978
- return;
979
- let o = { ...e };
980
- return r && (o = w.decamelizeKeys(e)), Object.entries(o).reduce((s, [l, n], p) => {
981
- let $ = "";
982
- return ["", null, void 0].includes(n) || Array.isArray(n) && n.length === 0 ? s : (n && typeof n == "object" ? $ = Object.entries(n).reduce((D, [M, _], U) => {
983
- let k = l;
984
- return isNaN(Number.parseInt(M)) ? k = `${l}[${M}]` : Array.isArray(n) && t && (k = `${l}[]`), `${D}${U > 0 ? "&" : ""}${k}=${encodeURIComponent(_)}`;
985
- }, "") : $ = `${l}=${encodeURIComponent(
986
- n
987
- )}`, `${s}${p > 0 ? "&" : ""}${$}`);
988
- }, "");
989
- };
990
- function Ht(e = "") {
991
- return [
992
- ...new URLSearchParams(
993
- e.indexOf("#") > -1 ? e.split("#")[0] : e
994
- ).entries()
995
- ].filter(([, t]) => t).reduce((t, [o, s]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: s } : t[o] ? {
996
- ...t,
997
- [o]: [...t[o], s]
998
- } : { ...t, [o]: [s] }, {});
999
- }
1000
- function Yt(e) {
1001
- return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
1002
- }
1003
- const i = () => a.env.aiApiUrl, Kt = {
1004
- anpr: {
1005
- exportAnprLegacyEvents(e, r) {
1006
- return a({
1007
- url: `${i()}/projects/${e}/anpr/export?${g(
1008
- r
1009
- )}`,
1010
- method: "GET",
1011
- responseType: "blob"
1012
- });
1013
1254
  },
1014
- getAnprEvents(e, r, t = {}) {
1015
- return a.get(
1016
- `${i()}/projects/${e}/anpr?${g(
1017
- r
1018
- )}`,
1019
- t
1255
+ saveModels({
1256
+ projectId: e,
1257
+ models: r
1258
+ }) {
1259
+ return a.put(
1260
+ `${g()}data/projects/cesium/${e}/models.json`,
1261
+ r,
1262
+ n
1020
1263
  );
1021
1264
  },
1022
- getAnprCounts(e, r, t) {
1023
- return a.get(
1024
- `${i()}/projects/${e}/anpr/counts?${g(
1025
- r
1026
- )}`,
1027
- t
1265
+ saveBimData({
1266
+ projectId: e,
1267
+ data: r
1268
+ }) {
1269
+ return a.put(
1270
+ `${g()}data/projects/cesium/${e}/transform/bimData.json`,
1271
+ r,
1272
+ n
1028
1273
  );
1029
1274
  },
1030
- updateAnprEvent(e, r) {
1031
- return a.patch(`${i()}/projects/anpr/${e}`, {
1032
- ...r
1033
- });
1275
+ getBimTransparencyFlag(e) {
1276
+ return a.get(
1277
+ `${g()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1278
+ n
1279
+ );
1034
1280
  },
1035
- bulkUpdateAnprRecords(e, r) {
1281
+ saveCameraTransform({
1282
+ projectId: e,
1283
+ isScene3D: r,
1284
+ transform: t
1285
+ }) {
1036
1286
  return a.patch(
1037
- `${i()}/projects/anpr/update/status?${g({
1038
- anprEventsIds: e,
1039
- action: r
1040
- })}`
1287
+ `${g()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1288
+ t,
1289
+ n
1041
1290
  );
1042
- },
1043
- exportAnprEvents(e, r) {
1044
- return a({
1045
- url: `${i()}/projects/${e}/anpr/events/export?${g(
1046
- r
1047
- )}`,
1048
- method: "GET",
1049
- responseType: "blob"
1050
- });
1051
1291
  }
1052
1292
  },
1053
- gateReport: {
1054
- exportEvents(e, r) {
1055
- return a({
1056
- url: `${i()}/projects/${e}/gate-report/events/export?${g(
1057
- r
1058
- )}`,
1059
- method: "GET",
1060
- responseType: "blob"
1061
- });
1062
- },
1063
- exportEventsProgress(e, r) {
1293
+ _360: {
1294
+ getProjectInfo(e, r = { config: {} }) {
1064
1295
  return a.get(
1065
- `${i()}/projects/${e}/gate-report/events/export/progress?${g(
1066
- r
1067
- )}`
1068
- );
1069
- },
1070
- generateAnprThumbnail(e, r) {
1071
- return a.post(
1072
- `${i()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1073
- {},
1296
+ `${g()}data/projects/360/${e}.json`,
1074
1297
  {
1075
- headers: {
1076
- "Content-Type": "application/json"
1077
- }
1298
+ ...r.config,
1299
+ ...n
1078
1300
  }
1079
1301
  );
1080
1302
  },
1081
- getVerifiedDays(e, r, t = {}) {
1303
+ getProjectsList() {
1082
1304
  return a.get(
1083
- `${i()}/projects/${e}/gate-report/verified-days?${g(
1084
- r
1085
- )}`,
1086
- t
1305
+ `${g()}data/360-list.json`,
1306
+ n
1087
1307
  );
1088
1308
  },
1089
- verifyDay(e) {
1090
- return a.post(
1091
- `${i()}/projects/gate-report/verified-days`,
1092
- e
1309
+ updateProjectsList(e) {
1310
+ return a.put(
1311
+ `${g()}data/360-list.json`,
1312
+ e,
1313
+ n
1314
+ );
1315
+ },
1316
+ updateProjectsListItem(e, r) {
1317
+ return a.put(
1318
+ `${g()}data/360-list/${e}.json`,
1319
+ r,
1320
+ n
1321
+ );
1322
+ },
1323
+ deleteProject(e) {
1324
+ return a.delete(
1325
+ `${g()}data/projects/360/${e}.json`,
1326
+ n
1327
+ );
1328
+ },
1329
+ updateProjectInfo(e, r) {
1330
+ return a.patch(
1331
+ `${g()}data/projects/360/${e}.json`,
1332
+ r,
1333
+ n
1334
+ );
1335
+ },
1336
+ updateFloor(e, r, t, o) {
1337
+ return a.patch(
1338
+ `${g()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1339
+ o,
1340
+ n
1341
+ );
1342
+ },
1343
+ getFloor({
1344
+ projectId: e,
1345
+ dateId: r,
1346
+ floorId: t
1347
+ }) {
1348
+ return a.get(
1349
+ `${g()}data/projects/360/${e}/${r}/${t}.json`,
1350
+ n
1351
+ );
1352
+ },
1353
+ getAerialShotsFloor({
1354
+ projectId: e,
1355
+ dateId: r,
1356
+ floorId: t
1357
+ }) {
1358
+ return a.get(
1359
+ `${g()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1360
+ n
1361
+ );
1362
+ },
1363
+ update3DMarkers({
1364
+ projectId: e,
1365
+ dateId: r,
1366
+ floorId: t,
1367
+ markers: o
1368
+ }) {
1369
+ return a.put(
1370
+ `${g()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1371
+ o,
1372
+ n
1373
+ );
1374
+ },
1375
+ updateFloors({
1376
+ projectId: e,
1377
+ dateId: r,
1378
+ floors: t
1379
+ }) {
1380
+ return a.put(
1381
+ `${g()}data/projects/360/${e}/dates/${r}/floors.json`,
1382
+ t,
1383
+ n
1384
+ );
1385
+ },
1386
+ deleteFloor({
1387
+ projectId: e,
1388
+ dateId: r,
1389
+ floorId: t
1390
+ }) {
1391
+ return a.delete(
1392
+ `${g()}data/projects/360/${e}/${r}/${t}.json`,
1393
+ n
1394
+ );
1395
+ },
1396
+ updateDates(e, r) {
1397
+ return a.put(
1398
+ `${g()}data/projects/360/${e}/dates.json`,
1399
+ r,
1400
+ n
1401
+ );
1402
+ },
1403
+ updatePins({
1404
+ projectId: e,
1405
+ dateId: r,
1406
+ floorId: t,
1407
+ pins: o
1408
+ }) {
1409
+ return a.put(
1410
+ `${g()}data/projects/360/${e}/${r}/${t}/pins.json`,
1411
+ o,
1412
+ n
1413
+ );
1414
+ },
1415
+ getGPXText(e) {
1416
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1417
+ ...n,
1418
+ responseType: "text"
1419
+ }) : Promise.resolve("");
1420
+ },
1421
+ updateRoute(e, r, t, o) {
1422
+ return a.patch(
1423
+ `${g()}data/projects/360/${e}/${r}/${t}/route.json`,
1424
+ o,
1425
+ n
1426
+ );
1427
+ },
1428
+ async updateFeatureFlag(e, r, t, o, i) {
1429
+ return a.put(
1430
+ `${g()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1431
+ i,
1432
+ {
1433
+ ...n,
1434
+ transformRequest: [(l) => JSON.stringify(l)]
1435
+ }
1436
+ );
1437
+ },
1438
+ async saveSteps(e, r, t, o) {
1439
+ return a.put(
1440
+ `${g()}data/projects/360/${e}/${r}/${t}/steps.json`,
1441
+ o,
1442
+ n
1443
+ );
1444
+ },
1445
+ getDates({
1446
+ projectID: e,
1447
+ prefix: r = ""
1448
+ }) {
1449
+ return a.get(
1450
+ `${g()}data/projects/360/${e}/${r}dates.json`,
1451
+ n
1452
+ );
1453
+ },
1454
+ getFloorData({
1455
+ projectID: e,
1456
+ dateID: r,
1457
+ floorID: t,
1458
+ prefix: o = ""
1459
+ }) {
1460
+ return a.get(
1461
+ `${g()}data/projects/360/${e}/${o}${r}/${t}.json`,
1462
+ n
1463
+ );
1464
+ },
1465
+ patchFloor({
1466
+ projectID: e,
1467
+ dateID: r,
1468
+ floorID: t,
1469
+ body: o
1470
+ }) {
1471
+ return a.patch(
1472
+ `${g()}data/projects/360/${e}/${r}/${t}.json`,
1473
+ o,
1474
+ n
1475
+ );
1476
+ },
1477
+ deleteMarkers({ projectID: e, dateID: r, floorID: t }) {
1478
+ return a.delete(
1479
+ `${g()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1480
+ n
1481
+ );
1482
+ },
1483
+ patchMarkers({
1484
+ projectID: e,
1485
+ dateID: r,
1486
+ floorID: t,
1487
+ markers: o
1488
+ }) {
1489
+ return a.patch(
1490
+ `${g()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1491
+ o,
1492
+ n
1493
+ );
1494
+ },
1495
+ putMarkers({
1496
+ projectID: e,
1497
+ dateID: r,
1498
+ floorID: t,
1499
+ markers: o
1500
+ }) {
1501
+ return a.put(
1502
+ `${g()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1503
+ o,
1504
+ n
1505
+ );
1506
+ },
1507
+ putFloors({
1508
+ projectID: e,
1509
+ dateID: r,
1510
+ floors: t
1511
+ }) {
1512
+ return a.put(
1513
+ `${g()}data/projects/360/${e}/dates/${r}/floors.json`,
1514
+ t,
1515
+ n
1516
+ );
1517
+ },
1518
+ deleteFloorData({
1519
+ projectID: e,
1520
+ dateID: r,
1521
+ floorID: t
1522
+ }) {
1523
+ return a.delete(
1524
+ `${g()}data/projects/360/${e}/${r}/${t}.json`,
1525
+ n
1526
+ );
1527
+ },
1528
+ putDates({
1529
+ projectID: e,
1530
+ dates: r
1531
+ }) {
1532
+ return a.put(
1533
+ `${g()}data/projects/360/${e}/dates.json`,
1534
+ r,
1535
+ n
1536
+ );
1537
+ },
1538
+ deleteDate({
1539
+ projectID: e,
1540
+ dateID: r
1541
+ }) {
1542
+ return a.delete(
1543
+ `${g()}data/projects/360/${e}/${r}.json`,
1544
+ n
1545
+ );
1546
+ },
1547
+ getPins({
1548
+ projectID: e,
1549
+ dateID: r,
1550
+ floorID: t
1551
+ }) {
1552
+ return a.get(
1553
+ `${g()}data/projects/360/${e}/${r}/${t}/pins.json`,
1554
+ n
1555
+ );
1556
+ },
1557
+ putPins({
1558
+ projectID: e,
1559
+ dateID: r,
1560
+ floorID: t,
1561
+ pins: o
1562
+ }) {
1563
+ return a.put(
1564
+ `${g()}data/projects/360/${e}/${r}/${t}/pins.json`,
1565
+ o,
1566
+ n
1567
+ );
1568
+ },
1569
+ patchCalibrationDetails({
1570
+ projectID: e,
1571
+ dateID: r,
1572
+ floorID: t,
1573
+ details: o
1574
+ }) {
1575
+ return a.patch(
1576
+ `${g()}data/projects/360/${e}/${r}/${t}/calibrationDetails.json`,
1577
+ o,
1578
+ n
1579
+ );
1580
+ },
1581
+ getDateWalks(e, r) {
1582
+ return a.get(
1583
+ `${g()}data/projects/360/${e}/${r}.json`,
1584
+ n
1585
+ );
1586
+ },
1587
+ getRoute({
1588
+ projectID: e,
1589
+ dateID: r,
1590
+ floorID: t
1591
+ }) {
1592
+ return a.get(
1593
+ `${g()}data/projects/360/${e}/${r}/${t}/route.json`,
1594
+ n
1595
+ );
1596
+ },
1597
+ deleteRoute({ projectID: e, dateID: r, floorID: t }) {
1598
+ return a.delete(
1599
+ `${g()}data/projects/360/${e}/${r}/${t}/route.json`,
1600
+ n
1601
+ );
1602
+ },
1603
+ getAerialShotDate({
1604
+ projectID: e,
1605
+ dateID: r
1606
+ }) {
1607
+ return a.get(
1608
+ `${g()}data/projects/360/${e}/aerial-shots/dates/${r}/date.json`,
1609
+ n
1610
+ );
1611
+ },
1612
+ updateGPXFile(e, r, t, o) {
1613
+ const i = new Blob([o], { type: "application/gpx+xml" }), l = new FormData();
1614
+ return l.append("gpxFile", i, "updated-track.gpx"), a.post(
1615
+ `${jo() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Uo()}`,
1616
+ l,
1617
+ {
1618
+ ...n,
1619
+ headers: { "Content-Type": "multipart/form-data" }
1620
+ }
1621
+ );
1622
+ },
1623
+ getProjectDates(e) {
1624
+ return a.get(
1625
+ `${g()}data/projects/360/${e}/dates.json`,
1626
+ n
1627
+ );
1628
+ },
1629
+ getProjectAerialShotsDates(e) {
1630
+ return a.get(
1631
+ `${g()}data/projects/360/${e}/aerial-shots/dates.json`,
1632
+ n
1633
+ );
1634
+ },
1635
+ getProjectDateFloors({
1636
+ projectId: e,
1637
+ dateId: r,
1638
+ prefix: t = ""
1639
+ }) {
1640
+ return a.get(
1641
+ `${g()}data/projects/360/${e}/${t}${r}.json`,
1642
+ n
1643
+ );
1644
+ },
1645
+ getFloorMarkers({
1646
+ projectId: e,
1647
+ dateId: r,
1648
+ floorId: t,
1649
+ prefix: o = ""
1650
+ }) {
1651
+ return a.get(
1652
+ `${g()}data/projects/360/${e}/${o}${r}/${t}/_3DMarkers.json`,
1653
+ n
1654
+ );
1655
+ }
1656
+ },
1657
+ forge: {
1658
+ getAccessToken() {
1659
+ return a.get(Bo(), n);
1660
+ },
1661
+ getProjectInfo(e) {
1662
+ return a.get(
1663
+ `${g()}data/projects/forge/${e}.json`,
1664
+ n
1665
+ );
1666
+ },
1667
+ getUrns(e) {
1668
+ return a.get(
1669
+ `${g()}data/projects/forge/${e}/urns.json`,
1670
+ n
1671
+ );
1672
+ },
1673
+ saveModelView({
1674
+ projectId: e,
1675
+ modelIndex: r,
1676
+ viewId: t,
1677
+ view: o
1678
+ }) {
1679
+ return a.put(
1680
+ `${g()}data/projects/forge/${e}/urns/${r}/savedViews/${t}.json`,
1681
+ o,
1682
+ n
1683
+ );
1684
+ },
1685
+ saveModelId({
1686
+ projectId: e,
1687
+ modelIndex: r,
1688
+ id: t
1689
+ }) {
1690
+ return a.patch(
1691
+ `${g()}data/projects/forge/${e}/urns/${r}.json`,
1692
+ { id: t },
1693
+ n
1694
+ );
1695
+ },
1696
+ patchCameraMarkers(e, r) {
1697
+ return a.patch(
1698
+ `${g()}data/projects/forge/${e}/cameraMarkers.json`,
1699
+ r,
1700
+ n
1701
+ );
1702
+ },
1703
+ patchCameraMarkerNames(e, r) {
1704
+ return a.patch(
1705
+ `${g()}data/projects/forge/${e}/cameraMarkers.json`,
1706
+ Object.fromEntries(
1707
+ Object.entries(r).map(([t, o]) => [
1708
+ `${t}/name`,
1709
+ o
1710
+ ])
1711
+ ),
1712
+ n
1713
+ );
1714
+ }
1715
+ },
1716
+ itwin: {
1717
+ getProjectInfo(e) {
1718
+ return a.get(
1719
+ `${g()}data/projects/itwin/${e}.json`,
1720
+ n
1721
+ );
1722
+ },
1723
+ clearBimCompare(e) {
1724
+ return a.delete(
1725
+ `${g()}data/projects/itwin/${e}/bim-compare.json`,
1726
+ n
1727
+ );
1728
+ },
1729
+ clearSiteView(e, r) {
1730
+ return a.delete(
1731
+ `${g()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1732
+ n
1733
+ );
1734
+ }
1735
+ },
1736
+ siteView: {
1737
+ getCamerasList() {
1738
+ return a.get(
1739
+ `${g()}data/cameras-list.json`,
1740
+ n
1741
+ );
1742
+ },
1743
+ updateCamerasList(e) {
1744
+ return a.put(
1745
+ `${g()}data/cameras-list.json`,
1746
+ e,
1747
+ n
1748
+ );
1749
+ },
1750
+ updateCamerasListItem(e, r) {
1751
+ return a.put(
1752
+ `${g()}data/cameras-list/${e}.json`,
1753
+ r,
1754
+ n
1755
+ );
1756
+ },
1757
+ updateProjectData({
1758
+ viewerType: e,
1759
+ projectId: r,
1760
+ data: t
1761
+ }) {
1762
+ const o = e.toLowerCase();
1763
+ return a.patch(
1764
+ `${g()}data/projects/${o}/${r}.json`,
1765
+ t,
1766
+ n
1767
+ );
1768
+ },
1769
+ deleteProjectData(e, r) {
1770
+ const t = e.toLowerCase();
1771
+ return a.delete(
1772
+ `${g()}data/projects/${t}/${r}.json`,
1773
+ n
1774
+ );
1775
+ },
1776
+ readAllData(e) {
1777
+ return a.get(`${e}data.json`, n);
1778
+ },
1779
+ writeAllData(e, r) {
1780
+ return a.put(`${e}data.json`, r, n);
1781
+ }
1782
+ },
1783
+ map: {
1784
+ getMapViews(e) {
1785
+ return a.get(
1786
+ `${g()}data/projects/maps/${e}.json`,
1787
+ n
1788
+ );
1789
+ },
1790
+ updateMapViews(e, r) {
1791
+ return a.put(
1792
+ `${g()}data/projects/maps/${e}.json`,
1793
+ r,
1794
+ n
1795
+ );
1796
+ }
1797
+ },
1798
+ safety: {
1799
+ getTPulseLink(e) {
1800
+ return a.get(
1801
+ `${g()}data/projects/safety/${e}.json`,
1802
+ n
1803
+ );
1804
+ },
1805
+ updateTPulseLink(e, r) {
1806
+ return a.put(
1807
+ `${g()}data/projects/safety/${e}.json`,
1808
+ { link: r },
1809
+ n
1810
+ );
1811
+ }
1812
+ },
1813
+ planner: {
1814
+ getPlannerList() {
1815
+ return a.get(`${g()}data/planner-list.json`, {
1816
+ ...n
1817
+ });
1818
+ },
1819
+ getPlannerItem(e) {
1820
+ return a.get(
1821
+ `${g()}data/planner-list/${e}.json`,
1822
+ n
1823
+ );
1824
+ },
1825
+ saveSitePlanMetaData(e, r) {
1826
+ return a.put(
1827
+ `${g()}data/planner-list/${e}.json`,
1828
+ r,
1829
+ n
1830
+ );
1831
+ },
1832
+ getSitePlan(e) {
1833
+ return a.get(
1834
+ `${g()}data/projects/planner/${e}.json`,
1835
+ n
1836
+ );
1837
+ },
1838
+ saveSitePlan(e, r) {
1839
+ return a.put(
1840
+ `${g()}data/projects/planner/${e}.json`,
1841
+ r,
1842
+ n
1843
+ );
1844
+ }
1845
+ }
1846
+ }, Q = () => a.env.aiApiUrl, s = () => `${a.env.aiApiUrl}/v2`, rs = {
1847
+ anpr: {
1848
+ exportAnprLegacyEvents(e, r) {
1849
+ return a({
1850
+ url: `${Q()}/projects/${e}/anpr/export?${c(
1851
+ r
1852
+ )}`,
1853
+ method: "GET",
1854
+ responseType: "blob"
1855
+ });
1856
+ },
1857
+ getAnprEvents(e, r, t = {}) {
1858
+ return a.get(
1859
+ `${s()}/projects/${e}/anpr?${c(
1860
+ r
1861
+ )}`,
1862
+ t
1863
+ );
1864
+ },
1865
+ getAnprCounts(e, r, t) {
1866
+ return a.get(
1867
+ `${s()}/projects/${e}/anpr/counts?${c(
1868
+ r
1869
+ )}`,
1870
+ t
1871
+ );
1872
+ },
1873
+ updateAnprEvent(e, r) {
1874
+ return a.patch(`${s()}/anpr/${e}`, r);
1875
+ },
1876
+ bulkUpdateAnprRecords(e) {
1877
+ return a.patch(`${s()}/anpr/status`, e);
1878
+ },
1879
+ exportAnprEvents(e, r) {
1880
+ return a({
1881
+ url: `${s()}/projects/${e}/anpr/events/export?${c(
1882
+ r
1883
+ )}`,
1884
+ method: "GET",
1885
+ responseType: "blob"
1886
+ });
1887
+ }
1888
+ },
1889
+ gateReport: {
1890
+ exportEvents(e, r) {
1891
+ return a({
1892
+ url: `${s()}/projects/${e}/gate-report/events/export?${c(
1893
+ r
1894
+ )}`,
1895
+ method: "GET",
1896
+ responseType: "blob"
1897
+ });
1898
+ },
1899
+ exportEventsProgress(e, r) {
1900
+ return a.get(
1901
+ `${Q()}/projects/${e}/gate-report/events/export/progress?${c(
1902
+ r
1903
+ )}`
1904
+ );
1905
+ },
1906
+ generateAnprThumbnail(e, r) {
1907
+ return a.post(
1908
+ `${s()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1909
+ {},
1910
+ {
1911
+ headers: {
1912
+ "Content-Type": "application/json"
1913
+ }
1914
+ }
1915
+ );
1916
+ },
1917
+ getVerifiedDays(e, r, t = {}) {
1918
+ return a.get(
1919
+ `${s()}/projects/${e}/gate-report/verified-days?${c(
1920
+ r
1921
+ )}`,
1922
+ t
1923
+ );
1924
+ },
1925
+ verifyDay(e) {
1926
+ return a.post(
1927
+ `${s()}/projects/gate-report/verified-days`,
1928
+ e
1093
1929
  );
1094
1930
  },
1095
1931
  getDailyStatus(e, r = {}) {
1096
1932
  return a.get(
1097
- `${i()}/projects/${e}/processed-days`,
1933
+ `${s()}/projects/${e}/gate-report/processed-days`,
1098
1934
  { params: r }
1099
1935
  );
1100
1936
  },
1101
- getEventThumbnail({
1102
- cameraExid: e,
1103
- eventType: r,
1104
- eventTime: t,
1105
- token: o
1106
- }) {
1107
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${o}`;
1108
- },
1109
1937
  getEvents(e, r, t = {}) {
1110
1938
  return a.get(
1111
- `${i()}/projects/${e}/gate-report/events?${g(
1939
+ `${s()}/projects/${e}/gate-report/events?${c(
1112
1940
  r
1113
1941
  )}`,
1114
1942
  t
@@ -1116,67 +1944,60 @@ const i = () => a.env.aiApiUrl, Kt = {
1116
1944
  },
1117
1945
  getCounts(e, r = {}, t = {}) {
1118
1946
  return a.get(
1119
- `${i()}/projects/${e}/gate-report/counts?${g(
1947
+ `${s()}/projects/${e}/gate-report/counts?${c(
1120
1948
  r
1121
1949
  )}`,
1122
1950
  t
1123
1951
  );
1124
- },
1125
- getGateReportProjectsInfos(e) {
1126
- return a.get(
1127
- `${i()}/projects/gate-report/get-projects-info`,
1128
- e
1129
- );
1130
1952
  }
1131
1953
  },
1132
1954
  brainTool: {
1133
1955
  getObjectDetectionsResults(e = {}) {
1134
- return a.post(`${i()}/ai-models/object-detection`, e);
1135
- },
1136
- getSegments(e = {}) {
1137
- return a.post(`${i()}/ai-models/segment`, e);
1956
+ return a.post(
1957
+ `${s()}/ai-models/object-detection`,
1958
+ e
1959
+ );
1138
1960
  }
1139
1961
  },
1140
1962
  roi: {
1141
1963
  getROIs(e, r = {}) {
1142
1964
  return a.get(
1143
- `${i()}/projects/${e}/rois?${g(r)}`
1965
+ `${s()}/projects/${e}/rois?${c(
1966
+ r
1967
+ )}`
1144
1968
  );
1145
1969
  },
1970
+ listROIs(e = {}) {
1971
+ return a.get(`${s()}/rois?${c(e)}`);
1972
+ },
1146
1973
  createROI(e) {
1147
- return a.post(`${i()}/projects/rois`, e);
1974
+ return a.post(`${s()}/rois`, e);
1148
1975
  },
1149
1976
  updateROI({
1150
1977
  updatedBy: e,
1151
- roi: r
1978
+ id: r,
1979
+ ...t
1152
1980
  }) {
1153
1981
  return a.patch(
1154
- `${i()}/projects/rois/${r.id}?${g({
1982
+ `${s()}/rois/${r}?${c({
1155
1983
  updatedBy: e
1156
1984
  })}`,
1157
- r
1985
+ t
1158
1986
  );
1159
1987
  },
1160
1988
  deleteROI({ id: e, updatedBy: r }) {
1161
1989
  return a.patch(
1162
- `${i()}/projects/rois/${e}?${g({
1990
+ `${s()}/rois/${e}?${c({
1163
1991
  updatedBy: r
1164
1992
  })}`,
1165
- { isactive: !1, note: "delete roi" }
1993
+ { isActive: !1, note: "delete roi" }
1166
1994
  );
1167
1995
  }
1168
1996
  },
1169
1997
  detections: {
1170
- async getDetections({ projectExid: e, ...r }) {
1171
- return a.get(
1172
- `${i()}/projects/${e}/detections?${g(
1173
- r
1174
- )}`
1175
- );
1176
- },
1177
1998
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1178
1999
  return a.get(
1179
- `${i()}/projects/${e}/detections/counts?${g(
2000
+ `${s()}/projects/${e}/trackings/counts?${c(
1180
2001
  r
1181
2002
  )}`,
1182
2003
  t
@@ -1184,7 +2005,7 @@ const i = () => a.env.aiApiUrl, Kt = {
1184
2005
  },
1185
2006
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1186
2007
  return a.get(
1187
- `${i()}/projects/${e}/detections/timestamps?${g(
2008
+ `${s()}/projects/${e}/trackings/timestamps?${c(
1188
2009
  r
1189
2010
  )}`,
1190
2011
  t
@@ -1196,7 +2017,7 @@ const i = () => a.env.aiApiUrl, Kt = {
1196
2017
  ...t
1197
2018
  }) {
1198
2019
  return a.get(
1199
- `${i()}/cameras/${e}/segments/appearance-from-points`,
2020
+ `${s()}/cameras/${e}/segments/appearance-from-points`,
1200
2021
  {
1201
2022
  params: {
1202
2023
  cameraExid: e,
@@ -1206,27 +2027,37 @@ const i = () => a.env.aiApiUrl, Kt = {
1206
2027
  }
1207
2028
  );
1208
2029
  },
1209
- async getDetectionsTracking(e, r) {
2030
+ async getGroupedTrackings(e, r) {
1210
2031
  return a.get(
1211
- `${i()}/projects/${e}/detections/trackings?${g(
2032
+ `${s()}/projects/${e}/trackings/grouped?${c(
1212
2033
  r
1213
2034
  )}`
1214
2035
  );
1215
2036
  },
1216
2037
  async getSegmentsMasks(e, r) {
1217
2038
  return a.get(
1218
- `${i()}/cameras/${e}/segments/masks`,
2039
+ `${s()}/cameras/${e}/segments/masks`,
1219
2040
  {
1220
2041
  params: r
1221
2042
  }
1222
2043
  );
1223
2044
  },
2045
+ async getSegmentsPresenceDateIntervals({
2046
+ cameraExid: e,
2047
+ ...r
2048
+ }) {
2049
+ return a.get(
2050
+ `${s()}/cameras/${e}/segments/presence-intervals?${c(
2051
+ r
2052
+ )}`
2053
+ );
2054
+ },
1224
2055
  async getDetectionsPresenceDateIntervals({
1225
2056
  projectExid: e,
1226
2057
  ...r
1227
2058
  }) {
1228
2059
  return a.get(
1229
- `${i()}/projects/${e}/detections/presence-intervals?${g(
2060
+ `${s()}/projects/${e}/trackings/presence-intervals?${c(
1230
2061
  r
1231
2062
  )}`
1232
2063
  );
@@ -1236,129 +2067,240 @@ const i = () => a.env.aiApiUrl, Kt = {
1236
2067
  ...r
1237
2068
  }) {
1238
2069
  return a.get(
1239
- `${i()}/projects/${e}/detections/timestamps/export?${g(
2070
+ `${s()}/projects/${e}/detections/timestamps/export?${c(
1240
2071
  r
1241
2072
  )}`,
1242
2073
  { responseType: "blob" }
1243
2074
  );
1244
2075
  }
1245
2076
  },
1246
- siteAnalytics: {
1247
- smartSearch({
1248
- cameraExid: e,
1249
- payload: r,
1250
- fromDate: t,
1251
- toDate: o,
1252
- page: s = 1,
1253
- pageSize: l = 20
1254
- }) {
1255
- const n = encodeURIComponent(
1256
- (o != null ? o : "").replace(/\.\d+Z$/, "").replace("T", " ")
1257
- ), p = encodeURIComponent(
1258
- (t != null ? t : "").replace(/\.\d+Z$/, "").replace("T", " ")
2077
+ observations: {
2078
+ getEvents({
2079
+ projectExid: e,
2080
+ ...r
2081
+ }, t = {}) {
2082
+ return a.get(
2083
+ `${s()}/projects/${e}/observations?${c(
2084
+ r
2085
+ )}`,
2086
+ t
2087
+ );
2088
+ },
2089
+ getCounts({
2090
+ projectExid: e,
2091
+ ...r
2092
+ }, t = {}) {
2093
+ return a.get(
2094
+ `${s()}/projects/${e}/observations/counts?${c(
2095
+ r
2096
+ )}`,
2097
+ t
2098
+ );
2099
+ },
2100
+ getConfiguredTypes(e, r = {}) {
2101
+ return a.get(
2102
+ `${s()}/projects/${e}/observations/configured-types`,
2103
+ r
2104
+ );
2105
+ },
2106
+ exportEvents({
2107
+ projectExid: e,
2108
+ ...r
2109
+ }, t = {}) {
2110
+ return a.get(
2111
+ `${s()}/projects/${e}/ppe-events/export?${c(
2112
+ r
2113
+ )}`,
2114
+ t
1259
2115
  );
1260
- let $ = `${i()}/cameras/${e}/advanced_search?page=${s}&page_size=${l}&from_date=${p}&to_date=${n}`;
1261
- return a.post($, r);
1262
2116
  },
2117
+ updateEventApproval({
2118
+ projectExid: e,
2119
+ eventId: r,
2120
+ isApproved: t
2121
+ }) {
2122
+ return a.patch(
2123
+ `${s()}/projects/${e}/observations/${r}/approval`,
2124
+ { isApproved: t }
2125
+ );
2126
+ }
2127
+ },
2128
+ siteAnalytics: {
1263
2129
  smartSearchAll(e, r) {
1264
- const { payload: t, ...o } = r, s = {
2130
+ const { payload: t, ...o } = r, i = {
1265
2131
  page: 1,
1266
- pageSize: 20,
2132
+ limit: 20,
1267
2133
  ...o
1268
2134
  };
1269
- let l = `${i()}/v2/projects/${e}/smart_search/all?${g(
1270
- s
2135
+ let l = `${s()}/projects/${e}/smart-search/all?${c(
2136
+ i
1271
2137
  )}`;
1272
2138
  return a.post(l, t);
1273
2139
  },
1274
2140
  smartSearchFirstLastSeen(e, r) {
1275
- const { payload: t, ...o } = r, s = {
2141
+ const { payload: t, ...o } = r, i = {
1276
2142
  page: 1,
1277
- pageSize: 20,
2143
+ limit: 20,
1278
2144
  ...o
1279
2145
  };
1280
- let l = `${i()}/v2/projects/${e}/smart_search/first_last_seen?${g(
1281
- s
2146
+ let l = `${s()}/projects/${e}/smart-search/first-last-seen?${c(
2147
+ i
1282
2148
  )}`;
1283
2149
  return a.post(l, t);
1284
2150
  },
1285
- saveQuery(e) {
2151
+ saveQuery({
2152
+ projectExid: e,
2153
+ cameraExid: r,
2154
+ payload: t
2155
+ }) {
1286
2156
  return a.post(
1287
- `${i()}/cameras/${e.cameraExid}/advanced_search/queries`,
1288
- e
2157
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries`,
2158
+ t
1289
2159
  );
1290
2160
  },
1291
2161
  getQueries(e, r) {
1292
2162
  return a.get(
1293
- `${i()}/cameras/${e}/advanced_search/queries`,
1294
- {
1295
- params: r
1296
- }
2163
+ `${s()}/projects/${e}/smart-search/queries?${c(
2164
+ r
2165
+ )}`
1297
2166
  );
1298
2167
  },
1299
- getQueryById(e, r) {
2168
+ getQueryById(e, r, t) {
1300
2169
  return a.get(
1301
- `${i()}/cameras/${e}/advanced_search/queries/${r}`
2170
+ `${s()}/projects/${e}/smart-search/queries/${t}?${c(
2171
+ { cameraExid: r }
2172
+ )}`
1302
2173
  );
1303
2174
  },
1304
- updateQuery(e, r, t) {
1305
- return a.put(
1306
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
1307
- t
2175
+ updateQuery({
2176
+ projectExid: e,
2177
+ cameraExid: r,
2178
+ queryId: t,
2179
+ payload: o
2180
+ }) {
2181
+ return a.patch(
2182
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
2183
+ o
1308
2184
  );
1309
2185
  },
1310
- deleteQuery(e, r) {
2186
+ deleteQuery({
2187
+ projectExid: e,
2188
+ cameraExid: r,
2189
+ queryId: t
2190
+ }) {
1311
2191
  return a.delete(
1312
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
2192
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1313
2193
  {}
1314
2194
  );
1315
2195
  },
1316
2196
  exportResultsData({
1317
- cameraExid: e,
1318
- fromDate: r,
1319
- toDate: t,
1320
- query: o,
1321
- fileType: s = L.Csv,
1322
- directDownload: l = !0,
1323
- payload: n
2197
+ projectExid: e,
2198
+ cameraExids: r,
2199
+ fromDate: t,
2200
+ toDate: o,
2201
+ query: i,
2202
+ fileType: l = K.Csv,
2203
+ directDownload: p = !0,
2204
+ payload: u,
2205
+ limit: h,
2206
+ page: M
1324
2207
  }) {
1325
2208
  return a.post(
1326
- `${i()}/cameras/${e}/advanced_search/export`,
1327
- n,
1328
- {
1329
- responseType: "blob",
1330
- params: {
1331
- fromDate: r,
1332
- toDate: t,
1333
- query: o,
1334
- fileType: s,
1335
- directDownload: l
2209
+ `${s()}/projects/${e}/smart-search/export?${c(
2210
+ {
2211
+ cameraExids: r,
2212
+ fromDate: t,
2213
+ toDate: o,
2214
+ query: i,
2215
+ fileType: l,
2216
+ directDownload: p,
2217
+ limit: h,
2218
+ page: M
1336
2219
  }
2220
+ )}`,
2221
+ u,
2222
+ {
2223
+ responseType: "blob"
1337
2224
  }
1338
2225
  );
1339
2226
  },
1340
2227
  getDetectionsHeatmapData(e, r) {
1341
- return a.post(
1342
- `${i()}/cameras/${e}/advanced_search/heatmap?${g(
1343
- r,
1344
- { forceArrayBrackets: !0 }
2228
+ return a.get(
2229
+ `${s()}/projects/${e}/smart-search/heatmap?${c(
2230
+ r
1345
2231
  )}`,
1346
2232
  {}
1347
2233
  );
1348
2234
  }
1349
2235
  },
2236
+ siteAnalyticsManagement: {
2237
+ listApps(e = {}) {
2238
+ return a.get(
2239
+ `${s()}/site-analytics-management/apps?${c(
2240
+ e
2241
+ )}`
2242
+ );
2243
+ },
2244
+ createApp(e) {
2245
+ return a.post(
2246
+ `${s()}/site-analytics-management/apps`,
2247
+ e
2248
+ );
2249
+ },
2250
+ getApp(e, r) {
2251
+ return a.get(
2252
+ `${s()}/site-analytics-management/apps/${e}/${r}`
2253
+ );
2254
+ },
2255
+ updateApp(e, r, t) {
2256
+ return a.patch(
2257
+ `${s()}/site-analytics-management/apps/${e}/${r}`,
2258
+ t
2259
+ );
2260
+ },
2261
+ deleteApp(e, r) {
2262
+ return a.delete(
2263
+ `${s()}/site-analytics-management/apps/${e}/${r}`
2264
+ );
2265
+ },
2266
+ setAppState(e, r, t) {
2267
+ return a.patch(
2268
+ `${s()}/site-analytics-management/apps/${e}/${r}/state`,
2269
+ { state: t }
2270
+ );
2271
+ },
2272
+ listCoolifyServers() {
2273
+ return a.get(
2274
+ `${s()}/site-analytics-management/coolify-servers`
2275
+ );
2276
+ },
2277
+ listModelVersions() {
2278
+ return a.get(
2279
+ `${s()}/site-analytics-management/model-versions`
2280
+ );
2281
+ }
2282
+ },
1350
2283
  coolify: {
1351
2284
  getCoolifyServers() {
1352
- return a.get(`${i()}/coolify/servers`);
2285
+ return a.get(`${s()}/coolify/servers`);
1353
2286
  },
1354
- createAppOnCoolify(e) {
2287
+ createAppOnCoolify({
2288
+ projectExid: e,
2289
+ cameraExid: r,
2290
+ payload: t
2291
+ }) {
1355
2292
  return a.post(
1356
- `${i()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
2293
+ `${s()}/projects/${e}/cameras/${r}/anpr/apps`,
2294
+ t
1357
2295
  );
1358
2296
  },
1359
- saveAppOnCoolify(e, r, t) {
2297
+ registerCoolifyApp({
2298
+ projectExid: e,
2299
+ cameraExid: r,
2300
+ payload: t
2301
+ }) {
1360
2302
  return a.post(
1361
- `${i()}/projects/${e}/cameras/${r}/gate_report/apps`,
2303
+ `${s()}/projects/${e}/cameras/${r}/gate-report/apps`,
1362
2304
  t
1363
2305
  );
1364
2306
  },
@@ -1367,10 +2309,10 @@ const i = () => a.env.aiApiUrl, Kt = {
1367
2309
  appId: r,
1368
2310
  payload: t,
1369
2311
  cameraExid: o,
1370
- projectExid: s
2312
+ projectExid: i
1371
2313
  }) {
1372
2314
  return a.patch(
1373
- `${i()}/projects/${s}/cameras/${o}/gate_report/apps/${r}?app_uuid=${e}`,
2315
+ `${s()}/projects/${i}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1374
2316
  t
1375
2317
  );
1376
2318
  },
@@ -1381,34 +2323,262 @@ const i = () => a.env.aiApiUrl, Kt = {
1381
2323
  projectExid: o
1382
2324
  }) {
1383
2325
  return a.delete(
1384
- `${i()}/projects/${o}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
2326
+ `${s()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1385
2327
  );
1386
2328
  },
1387
2329
  startService(e) {
1388
- return a.post(`${i()}/coolify/services/${e}/start`);
2330
+ return a.post(
2331
+ `${s()}/coolify/services/${e}/start`
2332
+ );
1389
2333
  },
1390
2334
  pauseService(e) {
1391
- return a.post(`${i()}/coolify/services/${e}/stop`);
2335
+ return a.post(`${s()}/coolify/services/${e}/stop`);
1392
2336
  },
1393
2337
  restartService(e) {
1394
2338
  return a.post(
1395
- `${i()}/coolify/services/${e}/restart`
2339
+ `${s()}/coolify/services/${e}/restart`
1396
2340
  );
1397
2341
  }
1398
2342
  },
1399
2343
  fovChanges: {
1400
2344
  getCameraFovChanges(e, r = {}) {
1401
2345
  return a.post(
1402
- `${i()}/cameras/${e}/fov_changes`,
2346
+ `${s()}/cameras/${e}/fov_changes`,
1403
2347
  {},
1404
2348
  r
1405
2349
  );
1406
2350
  }
2351
+ },
2352
+ prompts: {
2353
+ list(e = {}) {
2354
+ return a.get(`${s()}/prompts?${c(e)}`);
2355
+ },
2356
+ get(e) {
2357
+ return a.get(`${s()}/prompts/${e}`);
2358
+ },
2359
+ create(e) {
2360
+ return a.post(`${s()}/prompts`, e);
2361
+ },
2362
+ update(e, r) {
2363
+ return a.patch(`${s()}/prompts/${e}`, r);
2364
+ },
2365
+ delete(e) {
2366
+ return a.delete(`${s()}/prompts/${e}`);
2367
+ },
2368
+ listSubprompts(e) {
2369
+ return a.get(`${s()}/prompts/${e}/subprompts`);
2370
+ },
2371
+ createSubprompt(e, r) {
2372
+ return a.post(
2373
+ `${s()}/prompts/${e}/subprompts`,
2374
+ r
2375
+ );
2376
+ }
2377
+ },
2378
+ observations360: {
2379
+ getWalkConfig(e) {
2380
+ return a.get(
2381
+ `${s()}/projects/${e}/observations/walk-config`
2382
+ );
2383
+ },
2384
+ saveWalkConfig(e, r) {
2385
+ return a.put(
2386
+ `${s()}/projects/${e}/observations/walk-config`,
2387
+ r
2388
+ );
2389
+ },
2390
+ listProcessedWalks(e) {
2391
+ return a.get(
2392
+ `${s()}/projects/${e}/observations/walks`
2393
+ );
2394
+ },
2395
+ listWalkTypes() {
2396
+ return a.get(
2397
+ `${s()}/observations/types?source_type=${A.Walk360}`
2398
+ );
2399
+ },
2400
+ listConfigs() {
2401
+ return a.get(`${s()}/observations/walk-configs`);
2402
+ },
2403
+ deleteWalkConfig(e) {
2404
+ return a.delete(
2405
+ `${s()}/projects/${e}/observations/walk-config`
2406
+ );
2407
+ },
2408
+ setWorkerState(e, r) {
2409
+ return a.patch(
2410
+ `${s()}/projects/${e}/observations/walk-worker/state`,
2411
+ { state: r }
2412
+ );
2413
+ }
2414
+ },
2415
+ observationTypes: {
2416
+ list(e = {}) {
2417
+ return a.get(
2418
+ `${s()}/observation-types?${c(e)}`
2419
+ );
2420
+ },
2421
+ get(e) {
2422
+ return a.get(
2423
+ `${s()}/observation-types/${e}`
2424
+ );
2425
+ },
2426
+ create(e) {
2427
+ return a.post(`${s()}/observation-types`, e);
2428
+ },
2429
+ update(e, r) {
2430
+ return a.patch(
2431
+ `${s()}/observation-types/${e}`,
2432
+ r
2433
+ );
2434
+ },
2435
+ delete(e) {
2436
+ return a.delete(
2437
+ `${s()}/observation-types/${e}`
2438
+ );
2439
+ }
2440
+ },
2441
+ siteAnalyticsObservations: {
2442
+ getConfig(e) {
2443
+ return a.get(
2444
+ `${s()}/site-analytics/observation-configs/${e}`
2445
+ );
2446
+ },
2447
+ upsertConfig(e, r) {
2448
+ return a.put(
2449
+ `${s()}/site-analytics/observation-configs/${e}`,
2450
+ r
2451
+ );
2452
+ },
2453
+ deleteConfig(e) {
2454
+ return a.delete(
2455
+ `${s()}/site-analytics/observation-configs/${e}`
2456
+ );
2457
+ }
2458
+ },
2459
+ apiKeys: {
2460
+ list(e = {}) {
2461
+ const r = c(e);
2462
+ return a.get(`${s()}/api-keys${r ? `?${r}` : ""}`);
2463
+ },
2464
+ purposes() {
2465
+ return a.get(`${s()}/api-keys/purposes`);
2466
+ },
2467
+ get(e) {
2468
+ return a.get(`${s()}/api-keys/${e}`);
2469
+ },
2470
+ create(e) {
2471
+ return a.post(`${s()}/api-keys`, e);
2472
+ },
2473
+ update(e, r) {
2474
+ return a.patch(`${s()}/api-keys/${e}`, r);
2475
+ },
2476
+ delete(e, r = !1) {
2477
+ const t = r ? "?revoke=true" : "";
2478
+ return a.delete(`${s()}/api-keys/${e}${t}`);
2479
+ }
2480
+ },
2481
+ observationEvents: {
2482
+ async list(e = {}) {
2483
+ const { sortBy: r, sortDir: t, observationTypeIds: o, ...i } = e, l = { ...i };
2484
+ l.sourceType || delete l.sourceType, l.modelName || delete l.modelName, o && (l.observationTypeId = o), r && (l.sort = `${r}|${t || "desc"}`);
2485
+ const p = await a.get(
2486
+ `${s()}/observations?${c(l)}`
2487
+ );
2488
+ return {
2489
+ ...p,
2490
+ items: (p.items || []).map(
2491
+ (u) => ({
2492
+ ...u,
2493
+ observationName: null,
2494
+ startTime: u.capturedAt,
2495
+ aiEvidence: u.reason,
2496
+ bbox: u.personBbox,
2497
+ model: u.modelVersion,
2498
+ promptId: null,
2499
+ insertedAt: u.capturedAt
2500
+ })
2501
+ )
2502
+ };
2503
+ },
2504
+ frameUrl(e, r = {}) {
2505
+ const t = new URLSearchParams();
2506
+ r.thumbnail && t.set("thumbnail", "true"), r.token && t.set("authorization", r.token);
2507
+ const o = t.toString();
2508
+ return `${s()}/observations/${e}/frame${o ? `?${o}` : ""}`;
2509
+ },
2510
+ projects() {
2511
+ return a.get(`${s()}/observations/projects`);
2512
+ },
2513
+ models() {
2514
+ return a.get(`${s()}/observations/models`);
2515
+ },
2516
+ review(e, r, t) {
2517
+ const o = {
2518
+ approved: !0,
2519
+ disapproved: !1,
2520
+ unsure: "unsure"
2521
+ };
2522
+ return a.patch(
2523
+ `${s()}/projects/${e}/observations/${r}/approval`,
2524
+ { isApproved: o[t.status] }
2525
+ );
2526
+ }
2527
+ },
2528
+ gateReportManagement: {
2529
+ listApps(e = {}) {
2530
+ return a.get(
2531
+ `${s()}/gate-report/apps?${c(
2532
+ e
2533
+ )}`
2534
+ );
2535
+ },
2536
+ getApp(e, r) {
2537
+ return a.get(
2538
+ `${s()}/gate-report/apps/${e}/${r}`
2539
+ );
2540
+ },
2541
+ listAppEvents(e) {
2542
+ return a.get(
2543
+ `${s()}/gate-report/apps/last-event-status?${c({
2544
+ projectExid: e
2545
+ })}`
2546
+ );
2547
+ },
2548
+ createApp(e) {
2549
+ return a.post(`${s()}/gate-report/apps`, e);
2550
+ },
2551
+ updateApp(e, r, t) {
2552
+ return a.patch(
2553
+ `${s()}/gate-report/apps/${e}/${r}`,
2554
+ t
2555
+ );
2556
+ },
2557
+ deleteApp(e, r) {
2558
+ return a.delete(
2559
+ `${s()}/gate-report/apps/${e}/${r}`
2560
+ );
2561
+ },
2562
+ setAppState(e, r, t) {
2563
+ return a.patch(
2564
+ `${s()}/gate-report/apps/${e}/${r}/state`,
2565
+ { state: t }
2566
+ );
2567
+ },
2568
+ listCoolifyProjects() {
2569
+ return a.get(`${s()}/gate-report/coolify-projects`);
2570
+ },
2571
+ listCoolifyServers() {
2572
+ return a.get(`${s()}/gate-report/coolify-servers`);
2573
+ },
2574
+ listImageTags() {
2575
+ return a.get(`${s()}/gate-report/image-tags`);
2576
+ }
1407
2577
  }
1408
- }, Et = {
2578
+ }, as = {
1409
2579
  webRtc: {
1410
2580
  requestIceServers({ url: e, token: r }) {
1411
- return b({
2581
+ return f({
1412
2582
  url: e,
1413
2583
  method: "OPTIONS",
1414
2584
  headers: {
@@ -1421,7 +2591,7 @@ const i = () => a.env.aiApiUrl, Kt = {
1421
2591
  token: r,
1422
2592
  data: t
1423
2593
  }) {
1424
- return b({
2594
+ return f({
1425
2595
  url: e,
1426
2596
  method: "POST",
1427
2597
  headers: {
@@ -1437,7 +2607,7 @@ const i = () => a.env.aiApiUrl, Kt = {
1437
2607
  data: t,
1438
2608
  tag: o
1439
2609
  }) {
1440
- return b({
2610
+ return f({
1441
2611
  url: e,
1442
2612
  method: "PATCH",
1443
2613
  headers: {
@@ -1449,7 +2619,7 @@ const i = () => a.env.aiApiUrl, Kt = {
1449
2619
  });
1450
2620
  }
1451
2621
  }
1452
- }, Ct = {
2622
+ }, ts = {
1453
2623
  current(e, r) {
1454
2624
  return a.get(`/projects/${e}/weather/current`, {
1455
2625
  params: r
@@ -1465,94 +2635,40 @@ const i = () => a.env.aiApiUrl, Kt = {
1465
2635
  });
1466
2636
  }
1467
2637
  };
1468
- function u() {
2638
+ function T() {
1469
2639
  var r;
1470
2640
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1471
2641
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1472
2642
  }
1473
- const At = {
2643
+ const os = {
1474
2644
  posthog: {
1475
2645
  getEvents(e) {
1476
- return a.get(`${u()}/posthog/events`, e);
2646
+ return a.get(`${T()}/posthog/events`, e);
1477
2647
  },
1478
2648
  getUsers(e) {
1479
- return a.get(`${u()}/posthog/users`, {
2649
+ return a.get(`${T()}/posthog/users`, {
1480
2650
  params: e
1481
2651
  });
1482
2652
  },
1483
2653
  getActiveUsers(e) {
1484
- return a.get(`${u()}/posthog/active-users`, {
1485
- params: e,
1486
- preserveCasing: !0
1487
- });
1488
- }
1489
- },
1490
- copilot: {
1491
- async getAllConversations(e) {
1492
- return a.get(`${u()}/copilot/conversations`, {
2654
+ return a.get(`${T()}/posthog/active-users`, {
1493
2655
  params: e,
1494
2656
  preserveCasing: !0
1495
2657
  });
1496
- },
1497
- async getOneConversation(e) {
1498
- return a.get(
1499
- `${u()}/copilot/conversations/${e}`,
1500
- {
1501
- preserveCasing: !0
1502
- }
1503
- );
1504
- },
1505
- async getConversationMessages(e, r) {
1506
- return a.get(
1507
- `${u()}/copilot/conversations/${e}/messages`,
1508
- { params: r, preserveCasing: !0 }
1509
- );
1510
- },
1511
- async getMessageSteps(e) {
1512
- return a.get(
1513
- `${u()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1514
- );
1515
- },
1516
- async submitMessageFeedback({
1517
- conversationId: e,
1518
- messageId: r,
1519
- ...t
1520
- }) {
1521
- return a.post(
1522
- `${u()}/copilot/conversations/${e}/messages/${r}/feedback`,
1523
- t,
1524
- {
1525
- preserveCasing: !0
1526
- }
1527
- );
1528
2658
  }
1529
2659
  },
1530
2660
  siteAnalytics: {
1531
2661
  async getProcessingStatus(e = {}, r = {}) {
1532
- return a.get(`${u()}/site-analytics/processing-status`, {
2662
+ return a.get(`${T()}/site-analytics/processing-status`, {
1533
2663
  params: e,
1534
2664
  ...r,
1535
2665
  preserveCasing: !0
1536
2666
  });
1537
2667
  },
1538
- async getSegmentsDateIntervals({
1539
- cameraExid: e,
1540
- fromDate: r,
1541
- toDate: t,
1542
- precision: o
1543
- }) {
1544
- return a.get(
1545
- `${u()}/cameras/${e}/segments/presence-intervals`,
1546
- {
1547
- params: { fromDate: r, toDate: t, precision: o },
1548
- preserveCasing: !0
1549
- }
1550
- );
1551
- },
1552
2668
  async getIntersectionsHeatmapData(e) {
1553
2669
  const { cameraExid: r, ...t } = e;
1554
2670
  return a.get(
1555
- `${u()}/site-analytics/cameras/${r}/heatmap/intersections`,
2671
+ `${T()}/site-analytics/cameras/${r}/heatmap/intersections`,
1556
2672
  {
1557
2673
  params: t,
1558
2674
  preserveCasing: !0
@@ -1563,7 +2679,7 @@ const At = {
1563
2679
  googleCloudStorage: {
1564
2680
  listFiles(e = "") {
1565
2681
  return a.get(
1566
- `${u()}/gc-storage/buckets/evercam-labs/files`,
2682
+ `${T()}/gc-storage/buckets/evercam-labs/files`,
1567
2683
  {
1568
2684
  params: {
1569
2685
  prefix: e
@@ -1574,7 +2690,7 @@ const At = {
1574
2690
  },
1575
2691
  getSignedUrl(e) {
1576
2692
  return a.get(
1577
- `${u()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2693
+ `${T()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1578
2694
  {
1579
2695
  params: {
1580
2696
  fileName: e
@@ -1587,7 +2703,7 @@ const At = {
1587
2703
  luminance: {
1588
2704
  getReadings(e) {
1589
2705
  return a.get(
1590
- `${u()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2706
+ `${T()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1591
2707
  {
1592
2708
  params: {
1593
2709
  fromDate: e.fromDate,
@@ -1599,8 +2715,8 @@ const At = {
1599
2715
  }
1600
2716
  },
1601
2717
  kits: {
1602
- getMetrics(e, r, t = Z.Last24Hours) {
1603
- return a.get(`${u()}/kits/${e}/metrics`, {
2718
+ getMetrics(e, r, t = C.Last24Hours) {
2719
+ return a.get(`${T()}/kits/${e}/metrics`, {
1604
2720
  params: {
1605
2721
  metrics: r,
1606
2722
  from: t
@@ -1609,7 +2725,7 @@ const At = {
1609
2725
  });
1610
2726
  }
1611
2727
  }
1612
- }, It = {
2728
+ }, ss = {
1613
2729
  apiStatus: {
1614
2730
  getApiStatus() {
1615
2731
  return a.get("/status");
@@ -1619,6 +2735,9 @@ const At = {
1619
2735
  signup(e) {
1620
2736
  return a.post("/users", e);
1621
2737
  },
2738
+ zohoAuthUrl(e) {
2739
+ return a.post("/support/zoho-auth-url", e);
2740
+ },
1622
2741
  fetchAccessFeatures(e) {
1623
2742
  return a.get(`/users/${e}/features`);
1624
2743
  },
@@ -1636,7 +2755,7 @@ const At = {
1636
2755
  return a.get(`/auth/provider/${e}`);
1637
2756
  },
1638
2757
  login(e) {
1639
- return a.post("/auth/login", g(e));
2758
+ return a.post("/auth/login", c(e));
1640
2759
  },
1641
2760
  loginWithApiCredentials(e, r) {
1642
2761
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1670,7 +2789,7 @@ const At = {
1670
2789
  confirm(e, r) {
1671
2790
  return a.post(`/users/${e}/confirm`, r);
1672
2791
  },
1673
- deleteActiveSession(e, r = {}) {
2792
+ deleteActiveSession(e, r) {
1674
2793
  return a.delete(`/users/active-sessions/${e}`, {
1675
2794
  params: r
1676
2795
  });
@@ -1678,11 +2797,17 @@ const At = {
1678
2797
  getActiveSessions(e) {
1679
2798
  return a.get("/users/active-sessions", e);
1680
2799
  },
2800
+ getAuthorizedApps(e) {
2801
+ return a.get("/users/authorized-apps", e);
2802
+ },
2803
+ revokeAuthorizedApp(e) {
2804
+ return a.delete(`/users/authorized-apps/${e}`);
2805
+ },
1681
2806
  update(e, r = {}) {
1682
2807
  return a.patch(`/users/${e}`, r);
1683
2808
  },
1684
- delete(e, r) {
1685
- return a.post(`/users/${e}/delete`, r);
2809
+ deleteAccount() {
2810
+ return a.delete("/users/me");
1686
2811
  },
1687
2812
  fetchPermissions() {
1688
2813
  return a.get("/users/permissions");
@@ -1695,11 +2820,11 @@ const At = {
1695
2820
  get() {
1696
2821
  return a.get("/notifications");
1697
2822
  },
1698
- markAllAsRead(e) {
1699
- return a.patch(`/notifications/${e}`);
1700
- },
1701
- markAsRead() {
2823
+ markAllAsRead() {
1702
2824
  return a.post("/notifications/mark-as-read");
2825
+ },
2826
+ markAsRead(e) {
2827
+ return a.patch(`/notifications/${e}`);
1703
2828
  }
1704
2829
  },
1705
2830
  bim: {
@@ -1744,7 +2869,7 @@ const At = {
1744
2869
  return a.get("/cameras", { params: e, ...e.config });
1745
2870
  },
1746
2871
  getCameraById(e, r) {
1747
- return a.get(`/cameras/${e}?${g(r)}`);
2872
+ return a.get(`/cameras/${e}?${c(r)}`);
1748
2873
  },
1749
2874
  getCameraLastPublicNote(e) {
1750
2875
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1756,7 +2881,7 @@ const At = {
1756
2881
  return fetch(
1757
2882
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1758
2883
  ).then(
1759
- ({ url: t }) => Ht(t.split("?")[1] || "").access_token
2884
+ ({ url: t }) => It(t.split("?")[1] || "").access_token
1760
2885
  );
1761
2886
  },
1762
2887
  getCameraStatusLogs(e, r) {
@@ -1770,8 +2895,14 @@ const At = {
1770
2895
  index({
1771
2896
  params: e,
1772
2897
  config: r
1773
- }) {
1774
- return a.get(`/projects?${g(e)}`, r);
2898
+ } = { params: {}, config: {} }) {
2899
+ return a.get(`/projects?${c(e)}`, r);
2900
+ },
2901
+ show(e) {
2902
+ return a.get(`/projects/${e}`);
2903
+ },
2904
+ create(e) {
2905
+ return a.post("/projects", e);
1775
2906
  },
1776
2907
  getLogos(e) {
1777
2908
  return a.get(`/projects/${e}/logos`);
@@ -1788,7 +2919,7 @@ const At = {
1788
2919
  updateLogo(e, r, t) {
1789
2920
  return a.patch(
1790
2921
  `/projects/${e}/logos/${r}`,
1791
- g({ name: t })
2922
+ c({ name: t })
1792
2923
  );
1793
2924
  },
1794
2925
  updateThumbnail(e, r) {
@@ -1804,6 +2935,9 @@ const At = {
1804
2935
  updateCamerasRestriction(e, r) {
1805
2936
  return a.patch(`/projects/${e}/cameras`, r);
1806
2937
  },
2938
+ reorderCameras(e, r) {
2939
+ return a.patch(`/projects/${e}/cameras/reorder`, r);
2940
+ },
1807
2941
  updatePlaceholderThumbnail(e, r) {
1808
2942
  return a.post(
1809
2943
  `/projects/${e}/waiting-camera-placeholder`,
@@ -1839,8 +2973,26 @@ const At = {
1839
2973
  params: { emails: r }
1840
2974
  });
1841
2975
  },
2976
+ resendInvite(e, r) {
2977
+ return a.post(`/projects/${e}/users/resend-invite`, {
2978
+ email: r
2979
+ });
2980
+ },
2981
+ cancelInvite(e, r) {
2982
+ return a.delete(
2983
+ `/projects/${e}/users/cancel-invite/${r}`
2984
+ );
2985
+ },
1842
2986
  updateMembersRole(e, r) {
1843
2987
  return a.patch(`/projects/${e}/users`, r);
2988
+ },
2989
+ requestCameraInfo(e) {
2990
+ return a.post(`/projects/${e}/camera-inquiry-request`);
2991
+ },
2992
+ getMentionableUsers(e, r) {
2993
+ return a.get(`/projects/${e}/users/mentionable`, {
2994
+ params: { scope: r }
2995
+ });
1844
2996
  }
1845
2997
  },
1846
2998
  timelapse: {
@@ -2053,6 +3205,59 @@ const At = {
2053
3205
  return a.post("/voyage-control/auth/revoke");
2054
3206
  }
2055
3207
  },
3208
+ hammertech: {
3209
+ connect(e) {
3210
+ return a.post("/users/auth/hammertech/connect", e);
3211
+ },
3212
+ revoke() {
3213
+ return a.post("/users/auth/hammertech/revoke");
3214
+ },
3215
+ getProjects() {
3216
+ return a.get("/hammertech/projects");
3217
+ },
3218
+ getIssueTypes(e) {
3219
+ return a.get("/hammertech/issue-types", {
3220
+ params: {
3221
+ projectId: e,
3222
+ includeCustomFieldForms: !0
3223
+ }
3224
+ });
3225
+ },
3226
+ getLocations(e) {
3227
+ return a.get("/hammertech/locations", {
3228
+ params: { projectId: e }
3229
+ });
3230
+ },
3231
+ createIssue(e) {
3232
+ return a.post("/hammertech/issues", e);
3233
+ },
3234
+ createStoredFile(e) {
3235
+ return a.post("/hammertech/stored-files", e);
3236
+ }
3237
+ },
3238
+ ring: {
3239
+ completeLinking(e) {
3240
+ return a.post("/ring/complete-linking", e);
3241
+ },
3242
+ getDevices() {
3243
+ return a.get("/ring/devices");
3244
+ },
3245
+ moveDevice(e, r) {
3246
+ return a.patch(`/ring/devices/${e}/move`, r);
3247
+ },
3248
+ deleteDevice(e) {
3249
+ return a.delete(`/ring/devices/${e}`);
3250
+ },
3251
+ disconnect() {
3252
+ return a.post("/ring/disconnect");
3253
+ },
3254
+ startLiveView(e, r) {
3255
+ return a.post(`/ring/devices/${e}/live`, r);
3256
+ },
3257
+ stopLiveView(e, r) {
3258
+ return a.delete(`/ring/devices/${e}/live/${r}`);
3259
+ }
3260
+ },
2056
3261
  xweather: {
2057
3262
  connect(e, r) {
2058
3263
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2085,12 +3290,14 @@ const At = {
2085
3290
  cameraId: e,
2086
3291
  year: r,
2087
3292
  month: t,
2088
- payload: o
3293
+ payload: o,
3294
+ cancelToken: i
2089
3295
  }) {
2090
3296
  return a.get(
2091
3297
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2092
3298
  {
2093
- params: o
3299
+ params: o,
3300
+ cancelToken: i
2094
3301
  }
2095
3302
  );
2096
3303
  },
@@ -2099,13 +3306,13 @@ const At = {
2099
3306
  year: r,
2100
3307
  month: t,
2101
3308
  day: o,
2102
- payload: s,
3309
+ payload: i,
2103
3310
  cancelToken: l
2104
3311
  }) {
2105
3312
  return a.get(
2106
3313
  `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2107
3314
  {
2108
- params: s,
3315
+ params: i,
2109
3316
  cancelToken: l
2110
3317
  }
2111
3318
  );
@@ -2113,9 +3320,10 @@ const At = {
2113
3320
  getSnapshot(e, r) {
2114
3321
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2115
3322
  },
2116
- getSnapshotRange(e, r) {
3323
+ getSnapshotRange(e, r, t) {
2117
3324
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2118
- params: r
3325
+ params: r,
3326
+ ...t || {}
2119
3327
  });
2120
3328
  }
2121
3329
  },
@@ -2134,19 +3342,19 @@ const At = {
2134
3342
  },
2135
3343
  unsubscribe(e, r) {
2136
3344
  return a.patch(
2137
- `/progress-photos/${e}/unsubscribe?${g(
3345
+ `/progress-photos/${e}/unsubscribe?${c(
2138
3346
  r
2139
3347
  )}`
2140
3348
  );
2141
3349
  },
2142
3350
  delete(e, r) {
2143
- return a.delete(`/progress-photos/${e}?${g(r)}`);
3351
+ return a.delete(`/progress-photos/${e}?${c(r)}`);
2144
3352
  }
2145
3353
  },
2146
3354
  mediaHub: {
2147
3355
  getAllMedia(e, r) {
2148
3356
  return a.get(
2149
- `projects/${e}/media-hub?${g(r, {
3357
+ `projects/${e}/media-hub?${c(r, {
2150
3358
  forceArrayBrackets: !0
2151
3359
  })}`
2152
3360
  );
@@ -2157,8 +3365,12 @@ const At = {
2157
3365
  cShow(e, r) {
2158
3366
  return a.get(`/projects/${e}/media-hub/${r}`);
2159
3367
  },
2160
- cCreate(e, r) {
2161
- return a.post(`/projects/${e}/media-hub`, r);
3368
+ cCreate(e, r, t = (o) => {
3369
+ }) {
3370
+ return a.post(`/projects/${e}/media-hub`, r, {
3371
+ onUploadProgress: t,
3372
+ timeout: 72e5
3373
+ });
2162
3374
  },
2163
3375
  cUpdate(e, r, t) {
2164
3376
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2191,7 +3403,8 @@ const At = {
2191
3403
  return a.get("/company/projects", e);
2192
3404
  },
2193
3405
  getCompanyCameras(e) {
2194
- return a.get("/company/cameras", e);
3406
+ const r = "params" in e ? e : { params: e };
3407
+ return a.get("/company/cameras", r);
2195
3408
  },
2196
3409
  getCompanyKits(e) {
2197
3410
  return a.get("/company/kits", e);
@@ -2247,7 +3460,7 @@ const At = {
2247
3460
  },
2248
3461
  archiveOrUnarchiveComment(e, r, t) {
2249
3462
  return a.patch(
2250
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
3463
+ `/projects/${e}/comments/${r}?${c({ archive: t })}`
2251
3464
  );
2252
3465
  },
2253
3466
  deleteComment(e, r) {
@@ -2259,6 +3472,19 @@ const At = {
2259
3472
  return a.get("/proxy/storyblok", { params: e });
2260
3473
  }
2261
3474
  },
3475
+ snapshots: {
3476
+ deliverViaEmail(e, r) {
3477
+ return a.post(
3478
+ `/projects/${e}/snapshots/deliver/email`,
3479
+ r
3480
+ );
3481
+ }
3482
+ },
3483
+ sockets: {
3484
+ getWsToken() {
3485
+ return a.post("/sockets/auth");
3486
+ }
3487
+ },
2262
3488
  mailing: {
2263
3489
  unsubscribe(e) {
2264
3490
  return a.post("/mailing/unsubscribe", e);
@@ -2266,7 +3492,7 @@ const At = {
2266
3492
  },
2267
3493
  widgets: {
2268
3494
  index(e) {
2269
- return a.get(`/widgets?${g(e)}`);
3495
+ return a.get(`/widgets?${c(e)}`);
2270
3496
  },
2271
3497
  show(e) {
2272
3498
  return a.get(`/widgets/${e}`);
@@ -2289,10 +3515,50 @@ const At = {
2289
3515
  delete(e) {
2290
3516
  return a.delete(`/widgets/${e}`);
2291
3517
  }
3518
+ },
3519
+ developerApps: {
3520
+ index() {
3521
+ return a.get("/developer/apps");
3522
+ },
3523
+ show(e) {
3524
+ return a.get(`/developer/apps/${e}`);
3525
+ },
3526
+ create(e) {
3527
+ return a.post("/developer/apps", e);
3528
+ },
3529
+ update(e, r) {
3530
+ return a.patch(`/developer/apps/${e}`, r);
3531
+ },
3532
+ delete(e) {
3533
+ return a.delete(`/developer/apps/${e}`);
3534
+ },
3535
+ regenerateSecret(e) {
3536
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
3537
+ }
3538
+ },
3539
+ oauth: {
3540
+ getClientInfo(e, r) {
3541
+ return a.get("/oauth/client-info", {
3542
+ params: { client_id: e, scope: r }
3543
+ });
3544
+ },
3545
+ submitConsent(e) {
3546
+ return a.post("/oauth/consent", e);
3547
+ }
3548
+ },
3549
+ zoho: {
3550
+ getDealLocation(e) {
3551
+ return a.get(`/zoho/deals/${e}/location`);
3552
+ },
3553
+ updateDealLocation(e, r) {
3554
+ return a.post(`/zoho/deals/${e}/location`, r);
3555
+ }
2292
3556
  }
2293
- }, yt = {
3557
+ }, is = {
2294
3558
  presets: {
2295
- index({ cameraExid: e }) {
3559
+ index({
3560
+ cameraExid: e
3561
+ }) {
2296
3562
  return a.get(`/cameras/${e}/ptz/presets`);
2297
3563
  },
2298
3564
  go({
@@ -2365,295 +3631,426 @@ const At = {
2365
3631
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2366
3632
  }
2367
3633
  }
2368
- }, c = (e) => ({
2369
- [m.V1]: a.env.ingestApiUrl,
2370
- [m.V2]: a.env.ingestGpuApiUrl
2371
- })[e], x = {
3634
+ }, w = 6e4, d = (e) => e === m.Drone ? (a.env.ingestDroneApi || "").split(";") : e === m.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], S = {
2372
3635
  drone: {
2373
- createUpload(e, r) {
3636
+ createProcessing(e, r, t) {
3637
+ return a.post(`${e}/drone/`, r, {
3638
+ timeout: w,
3639
+ signal: t
3640
+ });
3641
+ },
3642
+ getProcessing({ ingestUrl: e, id: r }, t) {
3643
+ return a.get(`${e}/drone/${r}`, {
3644
+ timeout: w,
3645
+ signal: t
3646
+ });
3647
+ },
3648
+ getFlightProcessing(e, r) {
3649
+ return a.get(
3650
+ `${d(m.Drone)[0]}/drone/projects/${e}/flights/${r}`,
3651
+ { timeout: w }
3652
+ );
3653
+ },
3654
+ allocateFiles({ ingestUrl: e, id: r }, t, o) {
2374
3655
  return a.post(
2375
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2376
- null,
2377
- { params: r }
3656
+ `${e}/drone/${r}/files`,
3657
+ { files: t },
3658
+ { timeout: w, signal: o }
3659
+ );
3660
+ },
3661
+ acknowledgeFiles({ ingestUrl: e, id: r }, t, o) {
3662
+ return a.patch(
3663
+ `${e}/drone/${r}/files`,
3664
+ {
3665
+ files: t.map((i) => ({
3666
+ filename: i,
3667
+ status: Y.Acknowledged
3668
+ }))
3669
+ },
3670
+ { timeout: w, signal: o }
3671
+ );
3672
+ },
3673
+ completeProcessing({ ingestUrl: e, id: r }, t) {
3674
+ return a.patch(
3675
+ `${e}/drone/${r}/files`,
3676
+ { complete: !0 },
3677
+ { timeout: w, signal: t }
3678
+ );
3679
+ },
3680
+ deleteFiles(e, r) {
3681
+ const t = r ? { files: r.map((o) => ({ filename: o })) } : { all: !0 };
3682
+ return a.delete(
3683
+ `${d(m.Drone)[0]}/drone/${e}/files`,
3684
+ { data: t }
2378
3685
  );
2379
3686
  },
2380
- reprocessDrone(e, r) {
3687
+ allocateAerialShots({ ingestUrl: e, id: r }, t, o) {
2381
3688
  return a.post(
2382
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2383
- null,
2384
- { params: r }
3689
+ `${e}/drone/${r}/aerial-shots`,
3690
+ { aerialShots: t },
3691
+ { timeout: w, signal: o }
2385
3692
  );
2386
3693
  },
2387
- getDrones(e) {
2388
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3694
+ acknowledgeAerialShots({ ingestUrl: e, id: r }, t, o) {
3695
+ return a.patch(
3696
+ `${e}/drone/${r}/aerial-shots`,
3697
+ {
3698
+ aerialShots: t.map((i) => ({ filename: i }))
3699
+ },
3700
+ { timeout: w, signal: o }
3701
+ );
2389
3702
  },
2390
- getArchive(e, r) {
3703
+ getAerialShots(e, r = {}) {
2391
3704
  return a.get(
2392
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
2393
- {
2394
- params: r
2395
- }
3705
+ `${d(m.Drone)[0]}/drone/${e}/aerial-shots`,
3706
+ { params: r }
2396
3707
  );
2397
3708
  },
2398
- deleteUpload(e) {
2399
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3709
+ deleteAerialShots(e, r) {
3710
+ const t = r ? { aerialShots: r.map((o) => ({ filename: o })) } : void 0;
3711
+ return a.delete(
3712
+ `${d(m.Drone)[0]}/drone/${e}/aerial-shots`,
3713
+ { data: t }
3714
+ );
2400
3715
  },
2401
- prepareForUpload(e, r) {
2402
- return a.put(
2403
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
2404
- null,
2405
- { params: r }
3716
+ async reprocessDrone(e, r = {}) {
3717
+ const t = await S.utils.chooseIngestApiUrl(
3718
+ m.Drone
2406
3719
  );
3720
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2407
3721
  },
2408
- upload(e, r, t) {
2409
- return a.put(
2410
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2411
- t,
2412
- { params: r }
3722
+ getDrones(e) {
3723
+ return a.get(
3724
+ `${d(m.Drone)[0]}/drone/`,
3725
+ e
3726
+ );
3727
+ },
3728
+ getProcessingProgress(e) {
3729
+ return a.get(
3730
+ `${d(m.Drone)[0]}/drone/${e}/progress`
2413
3731
  );
2414
3732
  },
2415
- verifyToken(e, r) {
3733
+ getArchive(e, r) {
2416
3734
  return a.get(
2417
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3735
+ `${d(m.Drone)[0]}/drone/${e}/artifacts`,
2418
3736
  {
2419
- params: { token: r.token }
3737
+ params: r
2420
3738
  }
2421
3739
  );
2422
3740
  },
2423
- calculateMeasuringOperation(e, r) {
2424
- return a.post(
2425
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
2426
- r
3741
+ deleteUpload(e) {
3742
+ return a.delete(
3743
+ `${d(m.Drone)[0]}/drone/${e}`
2427
3744
  );
2428
3745
  },
2429
- inspectionTool(e, r) {
3746
+ calculateMeasuringOperation(e, r, t = d(m.Drone)[0]) {
2430
3747
  return a.post(
2431
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3748
+ `${t}/drone/projects/${e}/measurements`,
2432
3749
  r
2433
3750
  );
2434
3751
  },
2435
- isInspectionEnabled(e, r) {
3752
+ inspectionTool(e, r) {
2436
3753
  return a.post(
2437
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
2438
- null,
2439
- { params: r }
3754
+ `${d(m.Drone)[0]}/drone/projects/${e}/inspections`,
3755
+ r
2440
3756
  );
2441
3757
  },
2442
- getDroneQueueSize(e = m.V1) {
2443
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2444
- return a.get(`${r}/drone/queue`);
3758
+ getDroneQueueSize(e) {
3759
+ return a.get(`${e}/drone/queue`, {
3760
+ timeout: w
3761
+ });
2445
3762
  },
2446
3763
  getFlightImages(e, r) {
2447
3764
  return a.get(
2448
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3765
+ `${d(m.Drone)[0]}/drone/projects/${e}/images`,
2449
3766
  {
2450
3767
  params: r
2451
3768
  }
2452
3769
  );
2453
3770
  },
2454
- checkFlightAvailableFeatures(e, r) {
2455
- return a.get(
2456
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2457
- {
2458
- params: r
2459
- }
2460
- );
3771
+ async checkFlightAvailableFeatures(e, r) {
3772
+ var p;
3773
+ const t = d(m.Drone), i = (await Promise.all(
3774
+ t.map(async (u) => {
3775
+ try {
3776
+ return { ...await a.get(
3777
+ `${u}/drone/projects/${e}/features`,
3778
+ { params: r }
3779
+ ), ingestUrl: u };
3780
+ } catch {
3781
+ return null;
3782
+ }
3783
+ })
3784
+ )).filter(Boolean), l = i.find((u) => u.isVolumeToolEnabled);
3785
+ return (p = l != null ? l : i[0]) != null ? p : {};
2461
3786
  }
2462
3787
  },
2463
3788
  assets360: {
2464
- get360Assets(e, r = m.V1) {
2465
- return a.get(`${c(r)}/360/assets/`, e);
3789
+ get360Assets(e) {
3790
+ const r = d(m.ThreeSixty)[0];
3791
+ return a.get(`${r}/360/assets/`, e);
2466
3792
  },
2467
- get360AssetsCounts(e, r, t = m.V2) {
2468
- return a.get(
2469
- `${c(t)}/360/assets/${e}/counts`,
2470
- {
2471
- params: r
2472
- }
2473
- );
2474
- },
2475
- get360AssetLink(e, r, t, o, s, l) {
2476
- return a.get(
2477
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${s}`,
2478
- {
2479
- params: { marker: l, assetType: o, name: t }
2480
- }
2481
- );
3793
+ get360AssetsCounts(e, r) {
3794
+ const t = d(m.ThreeSixty)[0];
3795
+ return a.get(`${t}/360/assets/${e}/counts`, {
3796
+ params: r
3797
+ });
2482
3798
  },
2483
- update360(e, r, t = m.V2) {
2484
- return a.put(`${c(t)}/360/assets/${e}`, r);
3799
+ update360(e, r) {
3800
+ const t = d(m.ThreeSixty)[0];
3801
+ return a.put(`${t}/360/assets/${e}`, r);
2485
3802
  },
2486
- update360ByProjectDateName(e, r, t, o, s = m.V2) {
3803
+ update360ByProjectDateName(e, r, t, o) {
3804
+ const i = d(m.ThreeSixty)[0];
2487
3805
  return a.put(
2488
- `${c(s)}/360/assets/${e}/${r}/${t}`,
3806
+ `${i}/360/assets/${e}/${r}/${t}`,
2489
3807
  o
2490
3808
  );
2491
3809
  },
2492
- deleteUpload(e, r = m.V2) {
2493
- return a.delete(`${c(r)}/360/assets/${e}`);
3810
+ deleteUpload(e) {
3811
+ const r = d(m.ThreeSixty)[0];
3812
+ return a.delete(`${r}/360/assets/${e}`);
2494
3813
  },
2495
- getArchive(e, r, t = m.V2) {
2496
- return a.get(`${c(t)}/360/assets/archive/${e}`, {
3814
+ getArchive(e, r) {
3815
+ const t = d(m.ThreeSixty)[0];
3816
+ return a.get(`${t}/360/assets/archive/${e}`, {
2497
3817
  params: r
2498
3818
  });
2499
3819
  },
2500
- createUpload(e, r, t = m.V2) {
2501
- return a.post(
2502
- `${c(t)}/360/${e}/upload`,
2503
- null,
2504
- { params: r }
2505
- );
3820
+ get360Progress(e) {
3821
+ const r = d(m.ThreeSixty)[0];
3822
+ return a.get(`${r}/360/assets/${e}/progress`);
2506
3823
  },
2507
- upload(e, r, t, o = m.V2) {
2508
- return a.put(
2509
- `${c(o)}/360/${e}/upload`,
2510
- t,
2511
- {
2512
- params: r,
2513
- headers: {
2514
- "X-Processing-Source": "DASHBOARD"
2515
- }
2516
- }
3824
+ createUpload(e, r) {
3825
+ const t = d(m.ThreeSixty)[0];
3826
+ return a.post(`${t}/360/${e}/upload`, null, {
3827
+ params: r
3828
+ });
3829
+ },
3830
+ async upload(e, r, t) {
3831
+ const o = await S.utils.chooseIngestApiUrl(
3832
+ m.ThreeSixty
2517
3833
  );
3834
+ return a.put(`${o}/360/${e}/upload`, t, {
3835
+ params: r,
3836
+ headers: {
3837
+ "X-Processing-Source": "DASHBOARD"
3838
+ }
3839
+ });
2518
3840
  },
2519
- reprocess360(e, r = m.V2) {
2520
- return a.put(`${c(r)}/360/${e}/reprocess`);
3841
+ async reprocess360(e) {
3842
+ const r = await S.utils.chooseIngestApiUrl(
3843
+ m.ThreeSixty
3844
+ );
3845
+ return a.put(`${r}/360/${e}/reprocess`);
2521
3846
  },
2522
- drawingExists(e, r = m.V2) {
3847
+ drawingExists(e) {
2523
3848
  var t;
3849
+ const r = d(m.ThreeSixty)[0];
2524
3850
  return a.get(
2525
- `${c(r)}/360/floors/exists?${g(
3851
+ `${r}/360/floors/exists?${c(
2526
3852
  (t = e.params) != null ? t : e
2527
3853
  )}`
2528
3854
  );
2529
3855
  },
2530
- getDrawings(e, r = m.V2) {
3856
+ getDrawings(e) {
2531
3857
  var t;
3858
+ const r = d(m.ThreeSixty)[0];
2532
3859
  return a.get(
2533
- `${c(r)}/360/floors/?${g(
2534
- (t = e.params) != null ? t : e
2535
- )}`,
3860
+ `${r}/360/floors/?${c((t = e.params) != null ? t : e)}`,
2536
3861
  e.config
2537
3862
  );
2538
3863
  },
2539
- getDrawingById(e, r, t = m.V2) {
3864
+ getDrawingById(e, r) {
3865
+ const t = d(m.ThreeSixty)[0];
2540
3866
  return a.get(
2541
- `${c(t)}/360/floors/${e}?project_id=${r}`
3867
+ `${t}/360/floors/${e}?project_id=${r}`
2542
3868
  );
2543
3869
  },
2544
- updateDrawing(e, r, t, o = m.V2) {
3870
+ updateDrawing(e, r, t) {
3871
+ const o = d(m.ThreeSixty)[0];
2545
3872
  return a.put(
2546
- `${c(
2547
- o
2548
- )}/360/floors/${e}?project_id=${r}`,
3873
+ `${o}/360/floors/${e}?project_id=${r}`,
2549
3874
  t
2550
3875
  );
2551
3876
  },
2552
- deleteDrawing(e, r = m.V2) {
2553
- return a.delete(`${c(r)}/360/floors/${e}`);
3877
+ deleteDrawing(e) {
3878
+ const r = d(m.ThreeSixty)[0];
3879
+ return a.delete(`${r}/360/floors/${e}`);
3880
+ },
3881
+ restoreDrawing(e) {
3882
+ const r = d(m.ThreeSixty)[0];
3883
+ return a.post(`${r}/360/floors/${e}/restore`);
2554
3884
  },
2555
- transferWalks(e, r, t, o = m.V2) {
3885
+ transferWalks(e, r, t) {
3886
+ const o = d(m.ThreeSixty)[0];
2556
3887
  return a.post(
2557
- `${c(
2558
- o
2559
- )}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3888
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2560
3889
  );
2561
3890
  },
2562
- createDrawing(e, r, t, o = m.V2) {
3891
+ createDrawing(e, r, t) {
3892
+ const o = d(m.ThreeSixty)[0];
2563
3893
  return a.post(
2564
- `${c(
2565
- o
2566
- )}/360/floors/${e}?created_by=${t}`,
3894
+ `${o}/360/floors/${e}?created_by=${t}`,
2567
3895
  r
2568
3896
  );
2569
3897
  },
2570
- fetchDrawingOverlay(e, r, t, o = m.V2) {
2571
- return a.get(`${c(o)}/360/floors/${e}/overlay`, {
3898
+ fetchDrawingOverlay(e, r, t, o = {}) {
3899
+ const i = d(m.ThreeSixty)[0];
3900
+ return a.get(`${i}/360/floors/${e}/overlay`, {
3901
+ ...o,
2572
3902
  params: r,
2573
3903
  onDownloadProgress: t
2574
3904
  });
2575
3905
  },
2576
- generate360map(e, r, t = m.V2) {
3906
+ getFloorArchive(e) {
3907
+ const r = d(m.ThreeSixty)[0];
3908
+ return a.get(`${r}/360/floors/${e}/archive`);
3909
+ },
3910
+ generate360map(e, r) {
3911
+ const t = d(m.ThreeSixty)[0];
2577
3912
  return a.post(
2578
- `${c(t)}/360/api/${e}/generate-360-map`,
3913
+ `${t}/360/api/${e}/generate-360-map`,
2579
3914
  r
2580
3915
  );
2581
3916
  },
2582
- get360QueueSize(e, r = m.V2) {
2583
- return a.get(`${c(r)}/360/queue`, { params: e });
3917
+ get360QueueSize(e, r = {}) {
3918
+ return a.get(`${e}/360/queue`, { params: r });
2584
3919
  }
2585
3920
  },
2586
3921
  bim: {
2587
3922
  createUpload(e, r) {
2588
3923
  return a.post(
2589
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3924
+ `${d(m.Drone)[0]}/bim/${e}/upload`,
2590
3925
  null,
2591
3926
  { params: r }
2592
3927
  );
2593
3928
  },
2594
3929
  getBIMs(e) {
2595
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3930
+ return a.get(
3931
+ `${d(m.Drone)[0]}/bim/uploads/`,
3932
+ e
3933
+ );
2596
3934
  },
2597
3935
  getArchive(e) {
2598
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3936
+ return a.get(
3937
+ `${d(m.Drone)[0]}/bim/uploads/archive/${e}`
3938
+ );
2599
3939
  },
2600
3940
  deleteUpload(e) {
2601
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3941
+ return a.delete(
3942
+ `${d(m.Drone)[0]}/bim/uploads/${e}`
3943
+ );
2602
3944
  },
2603
3945
  upload(e, r, t) {
2604
3946
  return a.put(
2605
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3947
+ `${d(m.Drone)[0]}/bim/${e}/upload`,
2606
3948
  t,
2607
3949
  { params: r }
2608
3950
  );
2609
3951
  }
2610
3952
  },
3953
+ webhook: {
3954
+ notifyBimUpdated(e, r) {
3955
+ const t = {
3956
+ eventName: "bim.updated",
3957
+ projectId: e,
3958
+ data: {
3959
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3960
+ bimIdentifier: r
3961
+ }
3962
+ };
3963
+ return a.post(
3964
+ `${d(m.Drone)[0]}/webhook/`,
3965
+ t
3966
+ );
3967
+ }
3968
+ },
2611
3969
  mobileCapture: {
2612
- getProjectMobileAssets(e, r = {}, t = m.V2) {
2613
- return a.get(`${c(t)}/mobile/assets/`, {
3970
+ getProjectMobileAssets(e, r = {}) {
3971
+ const t = d(m.ThreeSixty)[0];
3972
+ return a.get(`${t}/mobile/assets/`, {
2614
3973
  params: e,
2615
3974
  ...r
2616
3975
  });
2617
3976
  },
2618
- getMobileAssetPhoto(e, r, t = m.V2) {
2619
- return a.get(`${c(t)}/mobile/assets/${e}`, {
3977
+ getMobileAssetPhoto(e, r) {
3978
+ const t = d(m.ThreeSixty)[0];
3979
+ return a.get(`${t}/mobile/assets/${e}`, {
2620
3980
  params: r
2621
3981
  });
2622
3982
  },
2623
- deleteAsset(e, r = m.V2) {
2624
- return a.delete(
2625
- `${c(r)}/mobile/assets/${e}`
2626
- );
3983
+ deleteAsset(e) {
3984
+ const r = d(m.ThreeSixty)[0];
3985
+ return a.delete(`${r}/mobile/assets/${e}`);
2627
3986
  }
2628
3987
  },
2629
3988
  utils: {
2630
3989
  async loadAllAssetsInQueue() {
2631
3990
  try {
2632
- const e = [m.V1, m.V2], r = [];
2633
- for (const t of e) {
2634
- const [o, s] = await Promise.all([
2635
- x.assets360.get360QueueSize({}, t),
2636
- x.drone.getDroneQueueSize(t)
2637
- ]), l = [
2638
- o == null ? void 0 : o.assets360,
2639
- s == null ? void 0 : s.assetsDrone
2640
- ].flatMap(
2641
- (n) => (n || []).map((p) => ({
2642
- ...p,
2643
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2644
- }))
2645
- );
2646
- r.push(...l);
2647
- }
2648
- return r.sort(
2649
- (t, o) => new Date(t.updatedAt).getTime() - new Date(o.updatedAt).getTime()
3991
+ const e = d(m.Drone), r = d(m.ThreeSixty), t = [], o = await Promise.all(
3992
+ e.map(async (l) => {
3993
+ const p = await S.drone.getDroneQueueSize(l), u = S.utils.getIngestVersion(l);
3994
+ return ((p == null ? void 0 : p.assetsDrone) || []).map((h) => ({
3995
+ ...h,
3996
+ ingestVersion: u
3997
+ }));
3998
+ })
3999
+ ), i = await Promise.all(
4000
+ r.map(async (l) => {
4001
+ const p = await S.assets360.get360QueueSize(l), u = S.utils.getIngestVersion(l);
4002
+ return ((p == null ? void 0 : p.assets360) || []).map((h) => ({
4003
+ ...h,
4004
+ ingestVersion: u
4005
+ }));
4006
+ })
4007
+ );
4008
+ return t.push(...o.flat(), ...i.flat()), t.sort(
4009
+ (l, p) => new Date(l.updatedAt).getTime() - new Date(p.updatedAt).getTime()
2650
4010
  );
2651
4011
  } catch (e) {
2652
4012
  return console.error("Error:", e), [];
2653
4013
  }
4014
+ },
4015
+ getIngestNumber(e) {
4016
+ var r;
4017
+ return Number(((r = e.match(/ingest(\d*)/)) == null ? void 0 : r[1]) || "1");
4018
+ },
4019
+ getIngestVersion(e) {
4020
+ return `V${S.utils.getIngestNumber(e)}`;
4021
+ },
4022
+ async chooseIngestApiUrl(e, r = !1) {
4023
+ const t = d(e);
4024
+ return (await Promise.all(
4025
+ t.map(async (i) => {
4026
+ var l, p;
4027
+ try {
4028
+ let u = 0;
4029
+ if (e === m.Drone) {
4030
+ const h = await S.drone.getDroneQueueSize(i);
4031
+ u = ((l = h == null ? void 0 : h.assetsDrone) == null ? void 0 : l.length) || 0;
4032
+ } else {
4033
+ const h = await S.assets360.get360QueueSize(
4034
+ i
4035
+ );
4036
+ u = ((p = h == null ? void 0 : h.assets360) == null ? void 0 : p.length) || 0;
4037
+ }
4038
+ return { ingestUrl: i, queue: u };
4039
+ } catch {
4040
+ return { ingestUrl: i, queue: 1 / 0 };
4041
+ }
4042
+ })
4043
+ )).reduce((i, l) => {
4044
+ if (l.queue < i.queue)
4045
+ return l;
4046
+ if (!r || l.queue !== i.queue)
4047
+ return i;
4048
+ const p = S.utils.getIngestNumber(l.ingestUrl), u = S.utils.getIngestNumber(i.ingestUrl);
4049
+ return l.queue === 1 / 0 ? p < u ? l : i : p > u ? l : i;
4050
+ }).ingestUrl;
2654
4051
  }
2655
4052
  }
2656
- }, eo = {
4053
+ }, ns = {
2657
4054
  users: {
2658
4055
  login({
2659
4056
  apiUrl: e,
@@ -2718,7 +4115,7 @@ const At = {
2718
4115
  deviceId: r,
2719
4116
  token: t,
2720
4117
  startDate: o,
2721
- duration: s
4118
+ duration: i
2722
4119
  }) {
2723
4120
  return a.get(`${e}/api/devices/${r}/footage`, {
2724
4121
  headers: {
@@ -2726,13 +4123,13 @@ const At = {
2726
4123
  },
2727
4124
  params: {
2728
4125
  startDate: o,
2729
- duration: s
4126
+ duration: i
2730
4127
  },
2731
4128
  responseType: "blob"
2732
4129
  });
2733
4130
  }
2734
4131
  }
2735
- }, ro = {
4132
+ }, ls = {
2736
4133
  roles: {
2737
4134
  async get(e) {
2738
4135
  return await a.get("/admin/authz/roles", e);
@@ -2758,25 +4155,20 @@ const At = {
2758
4155
  async getRoleUsers(e) {
2759
4156
  return a.get(`/admin/authz/roles/${e}/users`);
2760
4157
  },
2761
- async assignUsers(e, r, t) {
4158
+ async assignUsers(e, r, t = "evercam-admin") {
2762
4159
  return a.post(`/admin/authz/roles/${e}/users`, {
2763
4160
  emails: r,
2764
- resource_id: t
4161
+ resourceId: t
2765
4162
  });
2766
4163
  },
2767
- async unassignUsers(e, r, t) {
2768
- return a.delete(`/admin/authz/roles/${e}/users`, {
2769
- params: {
2770
- emails: r,
2771
- resource_id: t
2772
- }
2773
- });
4164
+ getAssignments(e) {
4165
+ return a.get("/admin/authz/roles/assignments", e);
2774
4166
  },
2775
4167
  getUserRoles(e, r) {
2776
4168
  return a.get("/users/roles", {
2777
4169
  params: {
2778
- resource_id: e || null,
2779
- resource_type: r || null
4170
+ resourceId: e || null,
4171
+ resourceType: r || null
2780
4172
  }
2781
4173
  });
2782
4174
  }
@@ -2810,227 +4202,301 @@ const At = {
2810
4202
  }
2811
4203
  }
2812
4204
  };
4205
+ function q() {
4206
+ return (a.env.workflowsApiUrl || "").replace(/\/+$/, "");
4207
+ }
4208
+ const gs = {
4209
+ chat: {
4210
+ listConversations(e = {}) {
4211
+ return a.get(`${q()}/chats/admin`, {
4212
+ params: { scope: E.All, ...e },
4213
+ preserveCasing: !0
4214
+ });
4215
+ },
4216
+ getConversation(e) {
4217
+ return a.get(
4218
+ `${q()}/chats/${encodeURIComponent(e)}`,
4219
+ {
4220
+ preserveCasing: !0
4221
+ }
4222
+ );
4223
+ }
4224
+ }
4225
+ };
2813
4226
  export {
2814
- ae as AconexDocumentDataType,
2815
- te as AconexFormComponentType,
2816
- se as AconexIdentifiers,
2817
- oe as AconexMandatoryStatus,
2818
- it as ActiveUsersMetric,
2819
- Xt as AdminApi,
2820
- Kt as AiApi,
2821
- le as AnalyticsEvent,
2822
- ie as AnalyticsEventPageId,
2823
- ne as AnprDirection,
2824
- ge as AnprEventStatus,
2825
- Ha as AuditLogActionType,
2826
- ro as AuthzApi,
2827
- st as AutomationConfigStep,
2828
- hr as AutomationDialogType,
2829
- tt as AutomationProvider,
2830
- ot as AutomationType,
2831
- Te as BIMLayerTypes,
2832
- ct as BadGatewayError,
2833
- nt as BadRequestError,
2834
- Ca as BimCompareWidgetSettingsKeys,
2835
- de as BimModelType,
2836
- Re as BimType,
2837
- Se as BimUploadStatus,
2838
- $r as BrainTool,
2839
- ke as CameraFeatureFlag,
2840
- Pe as CameraModel,
2841
- at as CameraRegion,
2842
- $e as CameraStatus,
2843
- he as ClipsCategory,
2844
- kr as CloudRecordingDuration,
2845
- br as CloudRecordingFrequency,
2846
- wr as CloudRecordingStatus,
2847
- da as CommentsLabel,
2848
- ha as CommentsScope,
2849
- Ya as CommonWidgetSettingsKeys,
2850
- De as CompareStatus,
2851
- ht as ConflictError,
2852
- j as Connector,
2853
- ma as ContactRole,
2854
- He as CopilotChatProvider,
2855
- Fe as CopilotLayout,
2856
- _e as CopilotMessageAuthor,
2857
- Ue as CopilotMessageType,
2858
- We as CopilotMissingFieldComponent,
2859
- ze as CopilotMissingFieldName,
2860
- xe as CopilotMissingFieldType,
2861
- je as CopilotMissingFieldsLabels,
2862
- Ne as CopilotProvider,
2863
- Oe as CopilotSocketEvent,
2864
- Be as CopilotStepId,
2865
- Ve as CopilotSuggestion,
2866
- Ge as CopilotToolId,
2867
- rt as CountryCode,
2868
- et as CountryId,
2869
- Ja as DelayUnit,
2870
- Xe as DetectionLabel,
2871
- Ta as DetectionModel,
2872
- L as DownloadFileType,
2873
- ve as DroneUrlParams,
2874
- fe as DuplicatedCameraFields,
2875
- Yr as EDistortImageModes,
2876
- Kr as EMapTypes,
2877
- Er as EMarkers,
2878
- Cr as EPageType,
2879
- Ar as EPaths,
2880
- Ir as EProjectItems,
2881
- yr as ERoles,
2882
- S as ErrorCode,
2883
- h as ErrorType,
2884
- It as EvercamApi,
2885
- Le as EvercamApiErrorCode,
2886
- At as EvercamLabsApi,
2887
- eo as ExNvrApi,
2888
- ra as ExNvrDeviceState,
2889
- ea as ExNvrFootageAvailableStatus,
2890
- aa as ExNvrMetricId,
2891
- Pa as FeedbackContext,
2892
- ut as ForbiddenError,
2893
- Je as GateReportDataSource,
2894
- Ze as GateReportDetectionType,
2895
- Ye as GateReportEventDirection,
2896
- Qe as GateReportEventType,
2897
- Ke as GateReportExportType,
2898
- Ce as GateReportProcessingStatus,
2899
- Ee as GateReportROIShapeType,
2900
- v as GateReportVehicleType,
2901
- pt as GatewayTimeoutError,
2902
- Oa as GrafanaMetricId,
2903
- Ae as HddFormat,
2904
- ar as HddSize,
2905
- ye as HddState,
2906
- Me as HddStatus,
2907
- Ie as HddType,
2908
- Lt as HlsError,
2909
- wa as InfoPage,
2910
- x as IngestApi,
2911
- tr as IngestProcessingStatus,
2912
- m as IngestVersions,
2913
- be as IntensityChange,
2914
- zt as IntensityChangeColorMap,
2915
- dt as InternalServerError,
2916
- Lr as InviteStatus,
2917
- Ba as KitAlarm,
2918
- Na as KitChartType,
2919
- ja as KitMetricId,
2920
- Z as KitMetricPeriod,
2921
- Ua as KitRegion,
2922
- _a as KitStatus,
2923
- Va as KitStorageTransport,
2924
- Ea as LiveViewWidgetSettingsKeys,
2925
- sr as MapType,
2926
- pe as MediaFileType,
2927
- ce as MediaStatus,
2928
- ue as MediaStatusId,
2929
- me as MediaType,
2930
- or as MobileAssetsType,
2931
- ba as MobileDevice,
2932
- gt as NotFoundError,
2933
- lr as NotificationType,
2934
- nr as NvrDeviceType,
2935
- gr as NvrHddStatus,
2936
- we as NvrModel,
2937
- Qt as OnRequestExpiredTokenInterceptor,
2938
- re as PathMarkerColor,
2939
- qr as PerformanceStatus,
2940
- pa as Persona,
2941
- zr as PowerSchedule,
2942
- Wr as PowerType,
2943
- Sa as PpeLabel,
2944
- mr as ProcoreObservationCustomFieldDataType,
2945
- pr as ProcoreObservationDefaultFieldNames,
2946
- ur as ProcoreToolUserAccessLevelIds,
2947
- cr as ProcoreTools,
2948
- ir as ProcoreType,
2949
- Sr as ProjectArchiveTier,
2950
- Tr as ProjectFeatureFlag,
2951
- dr as ProjectStatus,
2952
- yt as PtzApi,
2953
- Ra as PtzDirection,
2954
- Ka as RecordingsWidgetSettingsKeys,
2955
- Dr as RoiDirection,
2956
- Rr as RoiShapeType,
2957
- fr as RoiType,
2958
- lt as RoleResourceType,
2959
- vr as RouterScanInputMode,
2960
- xr as RouterStatus,
2961
- qe as SegmentLabel,
2962
- Zr as ShareVisibility,
2963
- Wa as SiteAnalyticsMode,
2964
- qa as SiteAnalyticsViewType,
2965
- za as SmartSearchComponentType,
2966
- xa as SmartSearchCondition,
2967
- Xa as SmartSearchConditionTypes,
2968
- Za as SmartSearchOperatorType,
2969
- Qa as SmartSearchOperators,
2970
- La as SmartSearchReturnType,
2971
- va as SmartSearchTargets,
2972
- Qr as SmsCommands,
2973
- Xr as SmsStatuses,
2974
- Zt as SnapshotError,
2975
- Pr as SnapshotExtractionInterval,
2976
- Fa as SnapshotExtractionStatus,
2977
- Ga as SnapshotExtractionType,
2978
- fa as TaskStatus,
2979
- Ia as ThreeSixtyKeys,
2980
- oa as TimelapseDuration,
2981
- na as TimelapseExportStep,
2982
- ia as TimelapsePeriod,
2983
- sa as TimelapseScheduleType,
2984
- ta as TimelapseStatus,
2985
- la as TimelapseType,
2986
- Br as Timeline360UrlParams,
2987
- Hr as TimelineAnprUrlParams,
2988
- Nr as TimelineBimUrlParams,
2989
- Gr as TimelineCommentsUrlParams,
2990
- jr as TimelineDroneUrlParams,
2991
- Vr as TimelineExNvrRecordingsUrlParams,
2992
- Or as TimelineMediaUrlParams,
2993
- Fr as TimelineMobileCaptureUrlParams,
2994
- Ma as TimelinePrecision,
2995
- Ur as TimelineUrlParam,
2996
- mt as UnauthorizedError,
2997
- $a as UnitSystem,
2998
- _r as UrlParamValue,
2999
- ga as UserFeatureFlag,
3000
- xt as VEHICLE_TYPE_IDS,
3001
- qt as VideoWallApi,
3002
- ca as VideoWallItemType,
3003
- Aa as VideoWallWidgetSettingsKeys,
3004
- Mr as VpnServer,
3005
- rr as WarehouseLocation,
3006
- er as WarehouseLocationIndex,
3007
- Ct as WeatherApi,
3008
- ua as WeatherProvider,
3009
- Jr as WebGLExtensions,
3010
- Et as WebRtcApi,
3011
- ya as WidgetType,
3012
- vt as WidgetTypesByResource,
3013
- Da as ZoomDirection,
3014
- I as _360AssetLabel,
3015
- A as _360AssetType,
3016
- y as _360Feature,
3017
- ee as _360IntergrationType,
3018
- C as _360UrlParams,
3019
- Jt as _3dFirebaseApi,
3020
- ka as _3dViewer,
4227
+ qo as AI_APP_CONFIGS,
4228
+ Yo as AI_OBSERVATION_FEASIBILITY_CONFIGS,
4229
+ Jo as AI_PROVIDER_CONFIGS,
4230
+ ce as AconexDocumentDataType,
4231
+ ue as AconexFormComponentType,
4232
+ he as AconexIdentifiers,
4233
+ de as AconexMandatoryStatus,
4234
+ Ot as ActiveUsersMetric,
4235
+ Io as AdminApi,
4236
+ rs as AiApi,
4237
+ Wt as AiApp,
4238
+ Lt as AiConfigsKeyDialogMode,
4239
+ xt as AiConfigsPromptDialogMode,
4240
+ Qt as AiObservationFeasibilityStatus,
4241
+ qt as AiObservationTimeDetection,
4242
+ Zt as AiPromptModel,
4243
+ Xt as AiPromptType,
4244
+ zt as AiProvider,
4245
+ $e as AnalyticsEvent,
4246
+ Se as AnalyticsEventPageId,
4247
+ be as AnprDirection,
4248
+ ke as AnprEventStatus,
4249
+ we as AnprExtractionSaveMode,
4250
+ Te as AnprExtractionStatus,
4251
+ Yt as AppRuntimeState,
4252
+ rt as AuditLogActionType,
4253
+ at as AuditLogEntity,
4254
+ ls as AuthzApi,
4255
+ Ft as AutomationConfigStep,
4256
+ Rr as AutomationDialogType,
4257
+ Bt as AutomationExportFormat,
4258
+ _t as AutomationProvider,
4259
+ jt as AutomationType,
4260
+ vt as AutomationWeatherDataGranularity,
4261
+ Ut as AutomationWeatherReportType,
4262
+ Be as BIMLayerTypes,
4263
+ so as BadGatewayError,
4264
+ ro as BadRequestError,
4265
+ Tt as BimCompareWidgetSettingsKeys,
4266
+ je as BimModelType,
4267
+ Ze as BimType,
4268
+ Ue as BimUploadStatus,
4269
+ Ur as BrainTool,
4270
+ Ge as CameraFeatureFlag,
4271
+ ze as CameraModel,
4272
+ Pt as CameraRegion,
4273
+ He as CameraStatus,
4274
+ Kt as ChatMode,
4275
+ E as ChatScope,
4276
+ Pe as ClipsCategory,
4277
+ vr as CloudRecordingDuration,
4278
+ Go as CloudRecordingDurationLabel,
4279
+ Br as CloudRecordingFrequency,
4280
+ Fr as CloudRecordingStatus,
4281
+ Ba as CommentsLabel,
4282
+ Ua as CommentsScope,
4283
+ $t as CommonWidgetSettingsKeys,
4284
+ Xe as CompareStatus,
4285
+ no as ConflictError,
4286
+ O as Connector,
4287
+ Ta as ContactRole,
4288
+ Dt as CountryCode,
4289
+ Rt as CountryId,
4290
+ St as DelayUnit,
4291
+ Ie as DetectionLabel,
4292
+ Fa as DetectionModel,
4293
+ K as DownloadFileType,
4294
+ qe as DroneMarkerType,
4295
+ Ye as DroneProvider,
4296
+ Qe as DroneTagType,
4297
+ Je as DroneUrlParams,
4298
+ Le as DuplicatedCameraFields,
4299
+ oa as EDistortImageModes,
4300
+ sa as EMapTypes,
4301
+ ia as EMarkers,
4302
+ me as EModelsType,
4303
+ na as EPageType,
4304
+ la as ERoles,
4305
+ b as ErrorCode,
4306
+ $ as ErrorType,
4307
+ ss as EvercamApi,
4308
+ Ke as EvercamApiErrorCode,
4309
+ os as EvercamLabsApi,
4310
+ ns as ExNvrApi,
4311
+ ma as ExNvrDeviceState,
4312
+ pa as ExNvrFootageAvailableStatus,
4313
+ ca as ExNvrMetricId,
4314
+ io as ForbiddenError,
4315
+ Ne as ForgeBimDialogTrigger,
4316
+ Fe as ForgeBimFileRejectionReason,
4317
+ ve as ForgeBimUploadMethod,
4318
+ Oe as ForgeBimUploadStage,
4319
+ er as GateReportDataSource,
4320
+ Ee as GateReportDetectionType,
4321
+ rr as GateReportEventDirection,
4322
+ Ae as GateReportEventType,
4323
+ ar as GateReportExportType,
4324
+ tr as GateReportProcessingStatus,
4325
+ J as GateReportVehicleType,
4326
+ oo as GatewayTimeoutError,
4327
+ Ia as GrafanaMetricId,
4328
+ Pa as HAMMERTECH_FILE_FIELD_TYPES,
4329
+ Da as HammertechClassification,
4330
+ Ra as HammertechPriority,
4331
+ Ma as HammertechRegion,
4332
+ or as HddFormat,
4333
+ gr as HddSize,
4334
+ ir as HddState,
4335
+ xe as HddStatus,
4336
+ sr as HddType,
4337
+ Co as HlsError,
4338
+ xa as InfoPage,
4339
+ S as IngestApi,
4340
+ dr as IngestProcessingRunStatus,
4341
+ pr as IngestProcessingStatus,
4342
+ ur as IngestProcessingStepStatus,
4343
+ m as IngestTypes,
4344
+ cr as IngestVersions,
4345
+ Ve as IntensityChange,
4346
+ No as IntensityChangeColorMap,
4347
+ lo as InternalServerError,
4348
+ Ir as InviteStatus,
4349
+ Ea as KitAlarm,
4350
+ ya as KitChartType,
4351
+ Aa as KitMetricId,
4352
+ C as KitMetricPeriod,
4353
+ Ca as KitRegion,
4354
+ Ka as KitStatus,
4355
+ et as KitStorageTransport,
4356
+ Ja as KitSupportCheckId,
4357
+ Ya as KitSupportCheckStatus,
4358
+ kt as LiveViewWidgetSettingsKeys,
4359
+ hr as MapType,
4360
+ _e as MediaCategory,
4361
+ Me as MediaFileType,
4362
+ Re as MediaStatus,
4363
+ De as MediaStatusId,
4364
+ fe as MediaType,
4365
+ mr as MobileAssetsType,
4366
+ Wa as MobileDevice,
4367
+ ao as NotFoundError,
4368
+ $r as NotificationType,
4369
+ br as NvrDeviceType,
4370
+ kr as NvrHddStatus,
4371
+ We as NvrModel,
4372
+ Ko as OBSERVATION_EVENT_STATUS_CONFIGS,
4373
+ Na as ObservationCountsGranularity,
4374
+ Ct as ObservationEventStatus,
4375
+ Et as ObservationEventTrigger,
4376
+ Oa as ObservationMissingItem,
4377
+ Ha as ObservationRequiredItem,
4378
+ A as ObservationSourceType,
4379
+ Ao as OnRequestExpiredTokenInterceptor,
4380
+ Va as Operator,
4381
+ pe as PathMarkerColor,
4382
+ ra as PerformanceStatus,
4383
+ wa as Persona,
4384
+ ta as PlannerUrlParams,
4385
+ Cr as PowerSchedule,
4386
+ Kr as PowerType,
4387
+ va as PpeLabel,
4388
+ Tr as ProcoreObservationCustomFieldDataType,
4389
+ wr as ProcoreObservationDefaultFieldNames,
4390
+ Mr as ProcoreToolUserAccessLevelIds,
4391
+ fr as ProcoreTools,
4392
+ Sr as ProcoreType,
4393
+ Pr as ProjectArchiveTier,
4394
+ _r as ProjectFeatureFlag,
4395
+ Dr as ProjectStatus,
4396
+ ga as ProjectStorageProvider,
4397
+ jr as ProjectStorageStatus,
4398
+ La as PromiseSettledStatus,
4399
+ is as PtzApi,
4400
+ Qa as PtzDirection,
4401
+ Qo as RING_AUTO_IMPORT_QUEUED,
4402
+ bt as RecordingsWidgetSettingsKeys,
4403
+ Gr as RoiDirection,
4404
+ Vr as RoiShapeType,
4405
+ Hr as RoiType,
4406
+ Ht as RoleAssignmentLogAction,
4407
+ Nt as RoleResourceType,
4408
+ Ar as RouterScanInputMode,
4409
+ Er as RouterStatus,
4410
+ ye as SegmentLabel,
4411
+ it as SiteAnalyticsMode,
4412
+ dt as SiteAnalyticsViewType,
4413
+ Vt as SiteViewSoftwareType,
4414
+ Gt as SiteViewerType,
4415
+ nt as SmartSearchComponentType,
4416
+ lt as SmartSearchCondition,
4417
+ ut as SmartSearchConditionTypes,
4418
+ mt as SmartSearchOperatorType,
4419
+ ct as SmartSearchOperators,
4420
+ pt as SmartSearchReturnType,
4421
+ gt as SmartSearchTargets,
4422
+ yr as SmsCommands,
4423
+ ea as SmsStatuses,
4424
+ Eo as SnapshotError,
4425
+ Or as SnapshotExtractionInterval,
4426
+ tt as SnapshotExtractionStatus,
4427
+ ot as SnapshotExtractionType,
4428
+ st as SnapshotTransferStatus,
4429
+ Xa as TaskStatus,
4430
+ ft as ThreeSixtyKeys,
4431
+ da as TimelapseDuration,
4432
+ ba as TimelapseExportStep,
4433
+ Sa as TimelapsePeriod,
4434
+ ha as TimelapseScheduleType,
4435
+ ua as TimelapseStatus,
4436
+ $a as TimelapseType,
4437
+ xr as Timeline360UrlParams,
4438
+ qr as TimelineAnprUrlParams,
4439
+ Xr as TimelineBimUrlParams,
4440
+ Yr as TimelineCommentsUrlParams,
4441
+ Lr as TimelineDroneUrlParams,
4442
+ Qr as TimelineExNvrRecordingsUrlParams,
4443
+ Zr as TimelineMediaUrlParams,
4444
+ Jr as TimelineMobileCaptureUrlParams,
4445
+ Za as TimelinePrecision,
4446
+ zr as TimelineUrlParam,
4447
+ to as UnauthorizedError,
4448
+ Ga as UnitSystem,
4449
+ Y as UploadFileStatus,
4450
+ Wr as UrlParamValue,
4451
+ ka as UserFeatureFlag,
4452
+ Vo as VEHICLE_TYPE_IDS,
4453
+ xo as VISION_PROVIDER_OPTIONS,
4454
+ Jt as VehicleClassifierSource,
4455
+ yo as VideoWallApi,
4456
+ fa as VideoWallItemType,
4457
+ wt as VideoWallWidgetSettingsKeys,
4458
+ ht as VisionProvider,
4459
+ Nr as VpnServer,
4460
+ At as Walk360ProcessedSessionStatus,
4461
+ lr as WarehouseLocation,
4462
+ nr as WarehouseLocationIndex,
4463
+ ts as WeatherApi,
4464
+ ja as WeatherProvider,
4465
+ _a as WeatherReportScope,
4466
+ aa as WebGLExtensions,
4467
+ as as WebRtcApi,
4468
+ Mt as WidgetType,
4469
+ Lo as WidgetTypesByResource,
4470
+ gs as WorkflowsApi,
4471
+ qa as ZoomDirection,
4472
+ le as _360AssetLabel,
4473
+ ne as _360AssetType,
4474
+ ge as _360IntergrationType,
4475
+ se as _360PinType,
4476
+ ie as _360UrlParams,
4477
+ es as _3dFirebaseApi,
4478
+ za as _3dViewer,
3021
4479
  a as axios,
3022
- Yt as capitalizeFirstLetter,
3023
- X as ensureCommonHeaders,
3024
- i as getAiApiUrl,
3025
- d as getFirebaseDbApi,
3026
- Vt as getFirebaseStorageToken,
3027
- Nt as getFirebaseStorageUrl,
3028
- c as getIngestApiUrl,
3029
- u as getLabsBaseUrl,
3030
- Q as onError,
3031
- $t as onRequest,
3032
- bt as onResponse,
3033
- Ht as queryStringToObject,
3034
- g as toQueryString
4480
+ G as ensureCommonHeaders,
4481
+ Q as getAiApiUrl,
4482
+ s as getAiApiUrlV2,
4483
+ Ho as getEvercamApiErrorCode,
4484
+ g as getFirebaseDbApi,
4485
+ Uo as getFirebaseStorageToken,
4486
+ jo as getFirebaseStorageUrl,
4487
+ Bo as getForgeTokenServerUrl,
4488
+ d as getIngestApiUrls,
4489
+ T as getLabsBaseUrl,
4490
+ eo as getMediaApiPreviewName,
4491
+ Xo as isCameraRole,
4492
+ Ce as isEvercamApiError,
4493
+ Wo as isHammertechFileFieldType,
4494
+ zo as isHammertechSignatureWithName,
4495
+ Zo as isProjectRole,
4496
+ I as onError,
4497
+ mo as onRequest,
4498
+ co as onResponse,
4499
+ It as queryStringToObject,
4500
+ c as toQueryString
3035
4501
  };
3036
4502
  //# sourceMappingURL=index.js.map