@evercam/api 1.0.0-bc158a880 → 1.0.0-bdf31a1d5

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 (48) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +164 -15
  3. package/dist/api/api/adminApi.d.ts +22 -12
  4. package/dist/api/api/aiApi.d.ts +35 -3
  5. package/dist/api/api/authzApi.d.ts +1 -2
  6. package/dist/api/api/evercamApi.d.ts +25 -8
  7. package/dist/api/api/ingestApi.d.ts +51 -44
  8. package/dist/api/types/360.d.ts +65 -51
  9. package/dist/api/types/aiConfigs.d.ts +154 -0
  10. package/dist/api/types/analytics.d.ts +34 -15
  11. package/dist/api/types/anpr.d.ts +31 -2
  12. package/dist/api/types/auditLogs.d.ts +18 -0
  13. package/dist/api/types/authz.d.ts +1 -0
  14. package/dist/api/types/axios.d.ts +9 -8
  15. package/dist/api/types/bim.d.ts +25 -0
  16. package/dist/api/types/camera.d.ts +14 -25
  17. package/dist/api/types/comments.d.ts +8 -6
  18. package/dist/api/types/connector.d.ts +1 -0
  19. package/dist/api/types/detections.d.ts +2 -10
  20. package/dist/api/types/drone.d.ts +96 -6
  21. package/dist/api/types/errors.d.ts +11 -0
  22. package/dist/api/types/gateReport.d.ts +7 -11
  23. package/dist/api/types/gateReportManagement.d.ts +175 -0
  24. package/dist/api/types/index.d.ts +3 -0
  25. package/dist/api/types/ingest.d.ts +17 -3
  26. package/dist/api/types/map.d.ts +12 -0
  27. package/dist/api/types/media.d.ts +6 -1
  28. package/dist/api/types/planner.d.ts +97 -0
  29. package/dist/api/types/project.d.ts +8 -3
  30. package/dist/api/types/recording.d.ts +6 -9
  31. package/dist/api/types/roi.d.ts +4 -3
  32. package/dist/api/types/shared.d.ts +19 -0
  33. package/dist/api/types/siteAnalytics.d.ts +3 -3
  34. package/dist/api/types/siteView.d.ts +73 -0
  35. package/dist/api/types/snapshots.d.ts +48 -3
  36. package/dist/api/types/timelapse.d.ts +6 -2
  37. package/dist/api/types/user.d.ts +1 -2
  38. package/dist/api/utils.d.ts +0 -1
  39. package/dist/index.js +1399 -717
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.umd.cjs +1 -1
  42. package/dist/index.umd.cjs.map +1 -1
  43. package/dist/shared/types/components.d.ts +68 -9
  44. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  45. package/dist/shared/types/imagePlayer.d.ts +8 -1
  46. package/dist/shared/types/index.d.ts +2 -0
  47. package/dist/shared/types/rbac.d.ts +67 -0
  48. package/package.json +4 -2
package/dist/index.js CHANGED
@@ -1,20 +1,31 @@
1
- var C = Object.defineProperty;
2
- var E = (e, r, t) => r in e ? C(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var j = (e, r, t) => E(e, typeof r != "symbol" ? r + "" : r, t);
4
- import $ from "axios";
5
- import M from "humps";
6
- var A = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(A || {}), I = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(I || {}), y = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.String = "STRING", e.Boolean = "BOOLEAN", e.Ratio = "RATIO", e.Integer = "INTEGER", e.Double = "DOUBLE", e.Long = "LONG", e.Date = "DATE", e.Complex = "COMPLEX", e.SingleLineText = "SINGLE_LINE_TEXT", e.MultiLineText = "MULTI_LINE_TEXT", e.SingleSelect = "SINGLE_SELECT", e.MultiSelect = "MULTI_SELECT", e.User = "USER", e.Number = "NUMBER", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(oe || {}), se = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.DocumentNumber = "DocumentNumber", e.DocumentTypeId = "DocumentTypeId", e.Revision = "Revision", e.HasFile = "HasFile", e.AccessList = "AccessList", e.AsBuiltRequired = "AsBuiltRequired", e.Attribute1 = "Attribute1", e.Attribute2 = "Attribute2", e.Attribute3 = "Attribute3", e.Attribute4 = "Attribute4", e.Author = "Author", e.AuthorisedBy = "AuthorisedBy", e.Category = "Category", e.Check1 = "Check1", e.Check2 = "Check2", e.Comments = "Comments", e.Comments2 = "Comments2", e.ContractNumber = "ContractNumber", e.ContractDeliverable = "ContractDeliverable", e.ContractorDocumentNumber = "ContractorDocumentNumber", e.ContractorRev = "ContractorRev", e.Date1 = "Date1", e.Date2 = "Date2", e.DateApproved = "DateApproved", e.DateCreated = "DateCreated", e.DateForReview = "DateForReview", e.DateReviewed = "DateReviewed", e.Discipline = "Discipline", e.DocumentStatusId = "DocumentStatusId", e.MilestoneDate = "MilestoneDate", e.PackageNumber = "PackageNumber", e.PercentageComplete = "PercentageComplete", e.PlannedSubmissionDate = "PlannedSubmissionDate", e.PrintSize = "PrintSize", e.ProjectField1 = "ProjectField1", e.ProjectField2 = "ProjectField2", e.ProjectField3 = "ProjectField3", e.Reference = "Reference", e.RevisionDate = "RevisionDate", e.Scale = "Scale", e.SelectList1 = "SelectList1", e.SelectList2 = "SelectList2", e.SelectList3 = "SelectList3", e.SelectList4 = "SelectList4", e.SelectList5 = "SelectList5", e.SelectList6 = "SelectList6", e.SelectList7 = "SelectList7", e.SelectList8 = "SelectList8", e.SelectList9 = "SelectList9", e.SelectList10 = "SelectList10", e.TagNumber = "TagNumber", e.Title = "Title", e.ToClientDate = "ToClientDate", e.UploadDate = "UploadDate", e.UploadedBy = "UploadedBy", e.Vdrcode = "Vdrcode", e.VendorDocumentNumber = "VendorDocumentNumber", e.VendorRev = "VendorRev", e.AutoNumber = "AutoNumber", e))(ie || {}), le = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.TimelineInfo = "TimelineInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e.Drawings = "Drawings", e))(le || {}), ne = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", e.WidgetsPauseWidget = "PauseWidget", e.WidgetsEditWidget = "EditWidget", e.WidgetsOpenCredentials = "OpenCredentials", e.WidgetsCopyEmbeddedCode = "CopyEmbeddedCode", e.WidgetsCopyIFrameCode = "CopyIFrameCode", e.WidgetsCopyURLCode = "CopyURLCode", e.WidgetsDeleteWidget = "DeleteWidget", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.XraySendToConnectorSent = "Xray-SendToConnector-Sent", e.XraySendToConnectorProcore = "Xray-SendToConnector-Procore", e.XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos", e.XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations", e.XraySendToConnectorAconex = "Xray-SendToConnector-Aconex", e.XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent", e.MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore", e.MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos", e.MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations", e.MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex", e.MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk", e.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.DroneChooseCommentType = "ChooseCommentType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility", e.DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility", e.DroneSettingsOpenCommentsList = "Settings-OpenCommentsList", e.DroneShareLink = "ShareLink", e.DroneCommentsToolClick = "CommentsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.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.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.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.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.AutomationsFiltersClicked = "FiltersClicked", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", e.GateReportSelectType = "GateReport-SelectType", e.GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras", e.GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras", e.GateReportToggleClearAllCameras = "GateReport-ClearAllCameras", e.GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter", e.GateReportSelectDays = "GateReport-SelectDays", e.GateReportSelectTime = "GateReport-SelectTime", e.GateReportSelectTimezone = "GateReport-SelectTimezone", e.GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes", e.GateReportSelectColumn = "GateReport-SelectColumn", e.GateReportSelectPeriod = "GateReport-SelectPeriod", e.GateReportSelectExportType = "GateReport-SelectExportType", e.GateReportSelectMember = "GateReport-SelectMember", e.GateReportSelectCameras = "GateReport-SelectCameras", e.GateReportCreate = "GateReport-Create", e.GateReportEdit = "GateReport-Edit", e.CompareSelectDays = "Compare-SelectDays", e.CompareSelectDelay = "Compare-SelectDelay", e.CompareSelectTime = "Compare-SelectTime", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchViewSelected = "SmartSearch-ViewSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e.AskAIClickAskAI = "AskAI-ClickAskAI", e.AskAIClickExpand = "AskAI-ClickExpand", e.AskAIClickCollapse = "AskAI-ClickCollapse", e.AskAIClickVoice = "AskAI-ClickVoice", e.AskAIClickFullscreen = "AskAI-ClickFullscreen", e.AskAIExitFullscreen = "AskAI-ExitFullscreen", e.AskAICloseChat = "AskAI-CloseChat", e))(ne || {}), ge = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ue || {}), he = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Se || {}), Te = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Te || {}), ke = /* @__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))(ke || {}), $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 Lt = {
1
+ var A = Object.defineProperty;
2
+ var I = (e, r, t) => r in e ? A(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var B = (e, r, t) => I(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import P from "humps";
6
+ var y = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(oe || {}), se = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.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))(ie || {}), ne = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(le || {}), ge = /* @__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))(ge || {}), me = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.TimelineInfo = "TimelineInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e.Drawings = "Drawings", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", e.WidgetsPauseWidget = "PauseWidget", e.WidgetsEditWidget = "EditWidget", e.WidgetsOpenCredentials = "OpenCredentials", e.WidgetsCopyEmbeddedCode = "CopyEmbeddedCode", e.WidgetsCopyIFrameCode = "CopyIFrameCode", e.WidgetsCopyURLCode = "CopyURLCode", e.WidgetsDeleteWidget = "DeleteWidget", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.XraySendToConnectorSent = "Xray-SendToConnector-Sent", e.XraySendToConnectorProcore = "Xray-SendToConnector-Procore", e.XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos", e.XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations", e.XraySendToConnectorAconex = "Xray-SendToConnector-Aconex", e.XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent", e.MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore", e.MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos", e.MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations", e.MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex", e.MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk", e.MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail", e.MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.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.ThreeSixtyTourPause = "Tour-Pause", e.ThreeSixtyTourPlay = "Tour-Play", e.ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5", e.ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1", e.ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2", e.ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4", e.ThreeSixtyTourToggleLoop = "Tour-ToggleLoop", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseCommentType = "ChooseCommentType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility", e.DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility", e.DroneSettingsOpenCommentsList = "Settings-OpenCommentsList", e.DroneShareLink = "ShareLink", e.DroneCommentsToolClick = "CommentsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneTogglePointCloud = "TogglePointCloud", e.DroneToggleGaussianSplat = "ToggleGaussianSplat", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.DroneUploadSkipping = "SkipImageUpload", e.DroneSaveComment = "SaveComment", e.DroneUnarchiveComment = "UnarchiveComment", e.DroneArchiveComment = "ArchiveComment", e.DroneDeleteComment = "DeleteComment", e.DroneSaveAerialShot = "SaveAerialShot", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.DrawingCreateSave = "CreateSave", e.DrawingUpdateSave = "UpdateSave", e.DrawingEditName = "EditName", e.DrawingUpdateName = "UpdateName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingClickHome = "ClickHome", e.DrawingsUploadDrawing = "UploadDrawing", e.DrawingsCreateDrawing = "CreateDrawing", e.DrawingToggleMapStyle = "ToggleMapStyle", e.DrawingToggleMapLabels = "ToggleMapLabels", e.DrawingToggleCamerasLabels = "ToggleCamerasLabels", e.DrawingToggleCamerasVisibility = "ToggleCamerasVisibility", e.DrawingToggleTransparencyMode = "ToggleTransparencyMode", e.DrawingChooseDrawing = "ChooseDrawing", e.DrawingChangeLocation = "ChangeLocation", e.DrawingFilterDateRange = "FilterDateRange", e.DrawingFilterDrawingName = "FilterDrawingName", e.DrawingFilterCreatedBy = "FilterCreatedBy", e.DrawingFilterMapStyle = "FilterMapStyle", e.DrawingToggleRotate = "ToggleRotate", e.DrawingToggleScale = "ToggleScale", e.DrawingOpenExistingDrawing = "OpenExistingDrawing", e.MarkerClicked = "MarkerClicked", e.MarkerSelected = "MarkerSelected", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo", e.ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo", e.ProjectSettingsMembersBulkRemove = "BulkRemove", e.ProjectSettingsMembersInviteSent = "InviteSent", e.ProjectSettingsMembersRejectInvite = "RejectInvite", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras", e.ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras", e.ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras", e.ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.CompareSelectProvider = "Compare-SelectProvider", e.CompareSelectCameras = "Compare-SelectCameras", e.CompareEdit = "Compare-Edit", e.CompareSelectTimezone = "Compare-SelectTimezone", e.CompareSelectMember = "Compare-SelectMember", e.CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras", e.CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras", e.CompareClearAllCameras = "Compare-ClearAllCameras", e.CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter", e.CompareSelectType = "Compare-SelectType", e.CompareCreate = "Compare-Create", e.AutomationsEditSearchFilter = "EditSearchFilter", e.AutomationsEditStatusFilter = "EditStatusFilter", e.AutomationsEditUsersFilter = "EditUsersFilter", e.AutomationsEditDaysFilter = "EditDaysFilter", e.AutomationsEditCamerasFilter = "EditCamerasFilter", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", e.GateReportSelectType = "GateReport-SelectType", e.GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras", e.GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras", e.GateReportToggleClearAllCameras = "GateReport-ClearAllCameras", e.GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter", e.GateReportSelectDays = "GateReport-SelectDays", e.GateReportSelectTime = "GateReport-SelectTime", e.GateReportSelectTimezone = "GateReport-SelectTimezone", e.GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes", e.GateReportSelectColumn = "GateReport-SelectColumn", e.GateReportSelectPeriod = "GateReport-SelectPeriod", e.GateReportSelectExportType = "GateReport-SelectExportType", e.GateReportSelectMember = "GateReport-SelectMember", e.GateReportSelectCameras = "GateReport-SelectCameras", e.GateReportCreate = "GateReport-Create", e.GateReportEdit = "GateReport-Edit", e.CompareSelectDays = "Compare-SelectDays", e.CompareSelectDelay = "Compare-SelectDelay", e.CompareSelectTime = "Compare-SelectTime", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchViewSelected = "SmartSearch-ViewSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e.AskAIClickAskAI = "AskAI-ClickAskAI", e.AskAIClickExpand = "AskAI-ClickExpand", e.AskAIClickCollapse = "AskAI-ClickCollapse", e.AskAIClickVoice = "AskAI-ClickVoice", e.AskAIClickFullscreen = "AskAI-ClickFullscreen", e.AskAIExitFullscreen = "AskAI-ExitFullscreen", e.AskAICloseChat = "AskAI-CloseChat", e.ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked", e.ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened", e.ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected", e.ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed", e.ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected", e.ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected", e.ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted", e.ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted", e.ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed", e.ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened", e.ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed", e.ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed", e.ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected", e.ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked", e.ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened", e.ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed", e.ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled", e.ForgeBimModelAdded = "ForgeBim-ModelAdded", e.ForgeBimModelUpdated = "ForgeBim-ModelUpdated", e.ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed", e.ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(de || {}), he = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(he || {}), Se = /* @__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))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))($e || {}), Te = /* @__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))(Te || {}), ke = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(ke || {}), be = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(be || {}), we = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e.Copilot = "copilot", e))(we || {}), Me = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(fe || {}), Pe = /* @__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))(Pe || {}), Re = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(Re || {}), De = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(Ue || {}), je = /* @__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))(je || {}), Be = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Be || {});
7
+ const So = {
8
8
  High: "#FF5252",
9
9
  Moderate: "#FBC02D",
10
10
  Low: "#006400",
11
11
  "No change": "#3ACF3A",
12
12
  Default: "black"
13
13
  };
14
- var we = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e.NoLiveView = "no_live_view", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(we || {}), Me = /* @__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))(Me || {}), 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.Ring = "ring", e))(Pe || {}), Re = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Re || {}), fe = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(fe || {}), De = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(Ue || {}), Be = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(Be || {}), je = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e.RequestAgentCall = "request_agent_call", e.ExecAgentCall = "exec_agent_call", e))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Oe || {}), Ve = /* @__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))(Ve || {}), Ne = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e.SmartSearch = "smart_search", e))(Ge || {}), He = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(He || {}), Fe = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Fe || {}), We = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e.SmartSearch = "smartSearch", e))(We || {}), ze = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(ze || {}), xe = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(xe || {}), ve = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(ve || {}), Le = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Le || {}), h = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))(h || {}), 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 || {}), Ze = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(Ze || {}), Xe = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(Qe || {}), qe = /* @__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))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(Je || {}), L = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(L || {}), Ye = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ee || {});
15
- const Zt = Object.values(L);
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 || {}), g = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e))(g || {}), sr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(sr || {}), O = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.Ring = "ring", e.XWeather = "xweather", e))(O || {}), 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 || {}), kr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(kr || {}), $r = /* @__PURE__ */ ((e) => (e.Detections = "detections", 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 || {}), wr = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(wr || {}), Mr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Mr || {}), 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 || {}), Rr = /* @__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))(Rr || {}), fr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(fr || {}), Dr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Or || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Vr || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Nr || {}), Gr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Gr || {}), Hr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Hr || {}), Fr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Fr || {}), Wr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Wr || {}), zr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(zr || {}), xr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(xr || {}), vr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(vr || {}), Lr = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(Zr || {}), Xr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Xr || {}), 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 || {}), qr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(Jr || {}), Yr = /* @__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))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(ia || {}), la = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(la || {}), na = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(na || {}), ga = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(ua || {}), ha = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Sa || {}), Ta = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(Ta || {}), ka = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(ka || {}), $a = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))($a || {}), ba = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e))(ba || {}), wa = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(wa || {}), Ma = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Ma || {}), Pa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(Pa || {}), Ra = /* @__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))(Ra || {}), Z = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Z || {}), fa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(fa || {}), Da = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ba || {}), ja = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(ja || {}), Oa = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Oa || {}), Va = /* @__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))(Va || {}), Na = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Na || {}), X = /* @__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))(X || {}), Ga = /* @__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))(Ga || {}), Ha = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(Ha || {}), Fa = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Fa || {}), Wa = /* @__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))(Wa || {}), za = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(za || {}), xa = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(xa || {}), va = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(va || {}), La = /* @__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))(La || {}), Za = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(Za || {}), Xa = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(Ja || {}), Ya = /* @__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))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Ca || {}), Ea = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ea || {}), Aa = /* @__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))(Aa || {}), Ia = /* @__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))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(et || {}), rt = /* @__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))(rt || {}), at = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(at || {});
17
- const Xt = {
14
+ var Oe = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e.PpeOwlv2 = "ppe_owlv2", e.PpeGemini = "ppe_gemini", e.PpeYolo = "ppe_yolo", e.PpeV2 = "ppe_v2", e.NoLiveView = "no_live_view", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(Oe || {}), Fe = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(Fe || {}), Ne = /* @__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))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Ge || {}), Ve = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(He || {}), ve = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(ve || {}), We = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(We || {}), xe = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(xe || {}), ze = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e.RequestAgentCall = "request_agent_call", e.ExecAgentCall = "exec_agent_call", e))(ze || {}), Le = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Le || {}), Ze = /* @__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))(Ze || {}), Xe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e.SmartSearch = "smart_search", e))(Qe || {}), qe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e.SmartSearch = "smartSearch", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Date = "date", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(er || {}), $ = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))($ || {}), k = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e))(k || {}), rr = /* @__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))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(tr || {}), or = /* @__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))(or || {}), sr = /* @__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))(sr || {}), Z = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(Z || {}), ir = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(ir || {}), nr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(gr || {});
15
+ const $o = Object.values(Z);
16
+ var mr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(mr || {}), pr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(pr || {}), cr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(cr || {}), ur = /* @__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))(ur || {}), dr = /* @__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))(dr || {}), hr = /* @__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))(hr || {}), Sr = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))($r || {}), Tr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(Tr || {}), p = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(p || {}), kr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(kr || {}), 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.XWeather = "xweather", e))(O || {}), br = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(br || {}), wr = /* @__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))(wr || {}), Mr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(fr || {}), Pr = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(Pr || {}), Rr = /* @__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))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Ur || {}), jr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(jr || {}), Br = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Br || {}), Or = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e.NoGdpr = "no_gdpr", e))(Or || {}), Fr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Fr || {}), Nr = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Nr || {}), Gr = /* @__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))(Gr || {}), 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 || {});
17
+ const To = {
18
+ [
19
+ -1
20
+ /* Infinity */
21
+ ]: "content.cloud_recording_duration.unlimited",
22
+ 1: "content.cloud_recording_duration.day",
23
+ 7: "content.cloud_recording_duration.week",
24
+ 30: "content.cloud_recording_duration.month",
25
+ 90: "content.cloud_recording_duration.three_months"
26
+ };
27
+ var Hr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Hr || {}), vr = /* @__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))(vr || {}), Wr = /* @__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))(Wr || {}), xr = /* @__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))(xr || {}), zr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(zr || {}), Lr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Zr || {}), Xr = /* @__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))(Xr || {}), Qr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(ta || {}), oa = /* @__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))(oa || {}), sa = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(ia || {}), na = /* @__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))(na || {}), la = /* @__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))(la || {}), ga = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ha || {}), Sa = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(Ta || {}), ka = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(ka || {}), ba = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(ba || {}), wa = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(wa || {}), Ma = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(Ma || {}), fa = /* @__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))(fa || {}), Pa = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Pa || {}), Ra = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(Ua || {}), ja = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ja || {}), Ba = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Ba || {}), Oa = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Oa || {}), Fa = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Fa || {}), Na = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Ga || {}), Va = /* @__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))(Va || {}), Ha = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(Ha || {}), va = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(va || {}), Wa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Wa || {}), xa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(xa || {}), za = /* @__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))(za || {}), X = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(X || {}), La = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", 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.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ya || {}), Ka = /* @__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))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Ca || {}), Q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(Q || {}), Ea = /* @__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))(Ea || {}), Aa = /* @__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))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Ia || {}), ya = /* @__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))(ya || {}), et = /* @__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))(et || {}), rt = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(ot || {}), st = /* @__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))(st || {}), it = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(it || {}), nt = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(gt || {}), mt = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(mt || {}), pt = /* @__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))(pt || {}), ct = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(dt || {}), ht = /* @__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))(ht || {}), St = /* @__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))(St || {}), $t = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))($t || {}), Tt = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Tt || {}), kt = /* @__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))(kt || {}), bt = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(bt || {});
28
+ const ko = {
18
29
  camera: [
19
30
  "Live View",
20
31
  "Recordings",
@@ -27,143 +38,175 @@ const Xt = {
27
38
  /* ThreeSixty */
28
39
  ]
29
40
  };
30
- var tt = /* @__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))(tt || {}), ot = /* @__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))(ot || {}), st = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(st || {}), it = ((e) => (e[e.Aconex = O.Aconex] = "Aconex", e[e.Procore = O.Procore] = "Procore", e[e.Autodesk = O.Autodesk] = "Autodesk", e.Email = "email", e))(it || {}), lt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e))(lt || {}), nt = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(nt || {}), gt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(gt || {}), mt = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(mt || {});
31
- function Qt(e) {
41
+ var wt = /* @__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))(wt || {}), Mt = /* @__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))(Mt || {}), ft = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(ft || {}), Pt = ((e) => (e[e.Aconex = O.Aconex] = "Aconex", e[e.Procore = O.Procore] = "Procore", e[e.Autodesk = O.Autodesk] = "Autodesk", e.Email = "email", e))(Pt || {}), Rt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e))(Rt || {}), Dt = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(Dt || {}), _t = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(_t || {}), Ut = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(Ut || {});
42
+ function bo(e) {
32
43
  return e.resourceType === "project";
33
44
  }
34
- function qt(e) {
45
+ function wo(e) {
35
46
  return e.resourceType === "camera";
36
47
  }
37
- const T = (e) => class extends Error {
48
+ var jt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(jt || {}), Bt = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Bt || {}), Ot = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(Ot || {}), Ft = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(Ft || {}), Nt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e))(Nt || {}), Gt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Gt || {});
49
+ const Mo = {
50
+ gate_report: {
51
+ bg: "#ecfdf5",
52
+ fg: "#047857",
53
+ border: "#a7f3d0",
54
+ icon: "fa-truck"
55
+ },
56
+ ppe: {
57
+ bg: "#fff7ed",
58
+ fg: "#c2410c",
59
+ border: "#fed7aa",
60
+ icon: "fa-helmet-safety"
61
+ },
62
+ site_analytics: {
63
+ bg: "#eff6ff",
64
+ fg: "#1d4ed8",
65
+ border: "#bfdbfe",
66
+ icon: "fa-chart-simple"
67
+ },
68
+ generic: {
69
+ bg: "#f1f5f9",
70
+ fg: "#334155",
71
+ border: "#cbd5e1",
72
+ icon: "fa-cube"
73
+ }
74
+ }, fo = {
75
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
76
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
77
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
78
+ };
79
+ var Vt = /* @__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))(Vt || {}), Ht = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(Ht || {}), vt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(vt || {});
80
+ const b = (e) => class extends Error {
38
81
  constructor(r) {
39
82
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
40
83
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
41
84
  }
42
- }, pt = T(h.BadRequestError), ct = T(h.NotFoundError), ut = T(h.UnauthorizedError), ht = T(
43
- h.GatewayTimeoutError
44
- ), dt = T(h.BadGatewayError), St = T(h.ForbiddenError), Jt = T(h.HlsError), Yt = T(h.SnapshotError), Tt = T(h.ConflictError), kt = T(
45
- h.InternalServerError
85
+ }, Wt = b($.BadRequestError), xt = b($.NotFoundError), zt = b($.UnauthorizedError), Lt = b(
86
+ $.GatewayTimeoutError
87
+ ), Zt = b($.BadGatewayError), Xt = b($.ForbiddenError), Po = b($.HlsError), Ro = b($.SnapshotError), Qt = b($.ConflictError), qt = b(
88
+ $.InternalServerError
46
89
  );
47
90
  let N = 0;
48
- const $t = 10, bt = async () => {
49
- for (; N === $t; )
91
+ const Jt = 10, Yt = async () => {
92
+ for (; N === Jt; )
50
93
  await new Promise((e) => setTimeout(e, 1e3));
51
94
  N++, setTimeout(() => {
52
95
  N--;
53
96
  }, 1e3);
54
- }, wt = async (e, r) => {
97
+ }, Kt = async (e, r) => {
55
98
  var t;
56
99
  if (e != null && e.raw)
57
100
  return e;
58
- if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await bt(), Rt(e, r), e != null && e.skipAuth ? Dt(e) : Pt(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && ((t = e == null ? void 0 : e.headers) != null && t.common)) {
101
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await Yt(), At(e, r), e != null && e.skipAuth ? yt(e) : Et(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))) {
59
102
  const o = e.headers.common;
60
103
  o["iframe-origin"] = new URL(document.referrer).origin;
61
104
  }
62
- return e.preserveCasing || ft(e), e;
63
- }, Mt = (e) => {
64
- var t, o, s, i, n;
105
+ return e.preserveCasing || It(e), e;
106
+ }, Ct = (e) => {
107
+ var t, o, s, g, m;
65
108
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
66
109
  return e;
67
110
  if ("data" in e) {
68
111
  if (e.data instanceof Blob)
69
112
  return e.data;
70
113
  } else return e;
71
- const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : M.camelizeKeys(e.data);
72
- if ((s = e == null ? void 0 : e.config) != null && s.timing && ((n = (i = e == null ? void 0 : e.config) == null ? void 0 : i._metadata) != null && n.startTime)) {
73
- const p = performance.now() - e.config._metadata.startTime;
114
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : P.camelizeKeys(e.data);
115
+ if ((s = e == null ? void 0 : e.config) != null && s.timing && ((m = (g = e == null ? void 0 : e.config) == null ? void 0 : g._metadata) != null && m.startTime)) {
116
+ const d = performance.now() - e.config._metadata.startTime;
74
117
  return {
75
118
  ...e,
76
119
  data: r,
77
- duration: p
120
+ duration: d
78
121
  };
79
122
  }
80
123
  return r;
81
- }, Q = async (e, r) => {
82
- var R, U, B, w, F, W, z;
83
- if ((R = e == null ? void 0 : e.config) != null && R.timing && ((B = (U = e == null ? void 0 : e.config) == null ? void 0 : U._metadata) != null && B.startTime)) {
84
- const K = performance.now() - e.config._metadata.startTime;
85
- return { error: e, duration: K };
124
+ }, q = async (e, r) => {
125
+ var D, U, j, f, V, H, v;
126
+ if ((D = e == null ? void 0 : e.config) != null && D.timing && ((j = (U = e == null ? void 0 : e.config) == null ? void 0 : U._metadata) != null && j.startTime)) {
127
+ const E = performance.now() - e.config._metadata.startTime;
128
+ return { error: e, duration: E };
86
129
  }
87
- const t = e.response ? e.response.status : null, o = (((w = e.config) == null ? void 0 : w.method) || "").toUpperCase(), s = (F = e.config) == null ? void 0 : F.url, i = ((z = (W = e == null ? void 0 : e.response) == null ? void 0 : W.data) == null ? void 0 : z.code) || "";
88
- let n = {}, p = e.message;
89
- switch (s && o && t && (p = `${o} ${s} (${t}) ${i}`.trim()), t) {
90
- case S.BadRequestError:
91
- n = new pt(new Error(p));
130
+ const t = e.response ? e.response.status : null, o = (((f = e.config) == null ? void 0 : f.method) || "").toUpperCase(), s = (V = e.config) == null ? void 0 : V.url, g = ((v = (H = e == null ? void 0 : e.response) == null ? void 0 : H.data) == null ? void 0 : v.code) || "";
131
+ let m = {}, d = e.message;
132
+ switch (s && o && t && (d = `${o} ${s} (${t}) ${g}`.trim()), t) {
133
+ case k.BadRequestError:
134
+ m = new Wt(new Error(d));
92
135
  break;
93
- case S.UnauthorizedError:
94
- n = new ut(new Error(p));
136
+ case k.UnauthorizedError:
137
+ m = new zt(new Error(d));
95
138
  break;
96
- case S.ForbiddenError:
97
- n = new St(new Error(p));
139
+ case k.ForbiddenError:
140
+ m = new Xt(new Error(d));
98
141
  break;
99
- case S.NotFoundError:
100
- n = new ct(new Error(p));
142
+ case k.NotFoundError:
143
+ m = new xt(new Error(d));
101
144
  break;
102
- case S.ConflictError:
103
- n = new Tt(new Error(p));
145
+ case k.ConflictError:
146
+ m = new Qt(new Error(d));
104
147
  break;
105
- case S.InternalServerError:
106
- n = new kt(new Error(p));
148
+ case k.InternalServerError:
149
+ m = new qt(new Error(d));
107
150
  break;
108
- case S.BadGatewayError:
109
- n = new dt(new Error(p));
151
+ case k.BadGatewayError:
152
+ m = new Zt(new Error(d));
110
153
  break;
111
- case S.GatewayTimeoutError:
112
- n = new ht(new Error(p));
154
+ case k.GatewayTimeoutError:
155
+ m = new Lt(new Error(d));
113
156
  break;
114
157
  case null:
115
158
  // null case
116
159
  case 0:
117
- n = new Error(
160
+ m = new Error(
118
161
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
119
162
  );
120
163
  break;
121
164
  }
122
- if ($.isCancel(e) || t === S.NotFoundError)
123
- return Promise.reject(n);
165
+ if (w.isCancel(e) || t === k.NotFoundError)
166
+ return Promise.reject(m);
124
167
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
125
- const b = r.errorLogger;
126
- return s && b && b({
168
+ const M = r.errorLogger;
169
+ return s && M && M({
127
170
  // @ts-expect-error axios issue
128
171
  category: "axios.info",
129
172
  data: {
130
173
  url: `Error in URL: ${s}`,
131
174
  status: t
132
175
  }
133
- }), Promise.reject(n);
134
- }, q = (e) => {
176
+ }), Promise.reject(m);
177
+ }, J = (e) => {
135
178
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
136
179
  };
137
- function Pt(e, r) {
180
+ function Et(e, r) {
138
181
  var o;
139
182
  const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
140
- t && (q(e), e.headers.common.Authorization = `Bearer ${t}`);
183
+ t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
141
184
  }
142
- function Rt(e, r) {
185
+ function At(e, r) {
143
186
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
144
187
  }
145
- function ft(e) {
188
+ function It(e) {
146
189
  let r = {}, { data: t, params: o } = e;
147
190
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
148
- (s, i) => ({
191
+ (s, g) => ({
149
192
  ...s,
150
- [i]: t[i]
193
+ [g]: t[g]
151
194
  }),
152
195
  {}
153
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = M.decamelizeKeys(t) : t = { ...M.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
196
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = P.decamelizeKeys(t) : t = { ...P.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
154
197
  let s = new FormData();
155
- for (const [i, n] of t.entries())
156
- s.append(M.decamelize(i), n);
198
+ for (const [g, m] of t.entries())
199
+ s.append(P.decamelize(g), m);
157
200
  t = s;
158
201
  }
159
- o && !(o instanceof Blob) && (o = M.decamelizeKeys(o)), e.data = t, e.params = o;
202
+ o && !(o instanceof Blob) && (o = P.decamelizeKeys(o)), e.data = t, e.params = o;
160
203
  }
161
- const Kt = async (e, r, t) => {
204
+ const Do = async (e, r, t) => {
162
205
  if (r())
163
- throw await t(), new $.Cancel("Request canceled due to expired token");
206
+ throw await t(), new w.Cancel("Request canceled due to expired token");
164
207
  return e;
165
208
  };
166
- function Dt(e) {
209
+ function yt(e) {
167
210
  if (!e.headers)
168
211
  return;
169
212
  const r = e.headers;
@@ -174,54 +217,54 @@ function _(e) {
174
217
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
175
218
  });
176
219
  }
177
- function _t(e, r) {
220
+ function eo(e, r) {
178
221
  let t;
179
222
  const o = () => {
180
223
  if (t)
181
224
  return t;
182
225
  const s = indexedDB.open(e);
183
- return s.onupgradeneeded = () => s.result.createObjectStore(r), t = _(s), t.then((i) => {
184
- i.onclose = () => t = void 0;
226
+ return s.onupgradeneeded = () => s.result.createObjectStore(r), t = _(s), t.then((g) => {
227
+ g.onclose = () => t = void 0;
185
228
  }, () => {
186
229
  }), t;
187
230
  };
188
- return (s, i) => o().then((n) => i(n.transaction(r, s).objectStore(r)));
231
+ return (s, g) => o().then((m) => g(m.transaction(r, s).objectStore(r)));
189
232
  }
190
233
  let G;
191
- function V() {
192
- return G || (G = _t("keyval-store", "keyval")), G;
234
+ function F() {
235
+ return G || (G = eo("keyval-store", "keyval")), G;
193
236
  }
194
- function Ut(e, r = V()) {
237
+ function ro(e, r = F()) {
195
238
  return r("readonly", (t) => _(t.get(e)));
196
239
  }
197
- function Bt(e, r, t = V()) {
240
+ function ao(e, r, t = F()) {
198
241
  return t("readwrite", (o) => (o.put(r, e), _(o.transaction)));
199
242
  }
200
- function jt(e, r = V()) {
243
+ function to(e, r = F()) {
201
244
  return r("readwrite", (t) => (t.delete(e), _(t.transaction)));
202
245
  }
203
- function Ot(e = V()) {
246
+ function oo(e = F()) {
204
247
  return e("readwrite", (r) => (r.clear(), _(r.transaction)));
205
248
  }
206
- class Vt {
249
+ class so {
207
250
  constructor(r) {
208
- j(this, "prefix");
251
+ B(this, "prefix");
209
252
  this.prefix = r;
210
253
  }
211
254
  generateKey(r) {
212
- var s, i;
255
+ var s, g;
213
256
  const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(s = r.url) == null ? void 0 : s.replace(/^\//, "")}` : r.url;
214
257
  let o = "";
215
258
  if (r.params) {
216
- const n = Object.keys(r.params).sort().reduce((p, k) => (p[k] = r.params[k], p), {});
217
- o = JSON.stringify(n);
259
+ const m = Object.keys(r.params).sort().reduce((d, h) => (d[h] = r.params[h], d), {});
260
+ o = JSON.stringify(m);
218
261
  }
219
- return `${this.prefix}:${((i = r.method) == null ? void 0 : i.toUpperCase()) || "GET"}:${t}?${o}`;
262
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
220
263
  }
221
264
  async get(r) {
222
265
  let t;
223
266
  try {
224
- if (t = await Ut(r), t === void 0)
267
+ if (t = await ro(r), t === void 0)
225
268
  return;
226
269
  } catch (o) {
227
270
  console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
@@ -240,7 +283,7 @@ class Vt {
240
283
  async set(r, t) {
241
284
  try {
242
285
  const o = JSON.stringify(t);
243
- await Bt(r, o);
286
+ await ao(r, o);
244
287
  } catch (o) {
245
288
  console.error(
246
289
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
@@ -250,37 +293,37 @@ class Vt {
250
293
  }
251
294
  async delete(r) {
252
295
  try {
253
- await jt(r);
296
+ await to(r);
254
297
  } catch (t) {
255
298
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
256
299
  }
257
300
  }
258
301
  async clear() {
259
302
  try {
260
- await Ot();
303
+ await oo();
261
304
  } catch (r) {
262
305
  console.error("[SWR Store]: Error clearing cache", r);
263
306
  }
264
307
  }
265
308
  }
266
- class J {
309
+ class Y {
267
310
  constructor({
268
311
  key: r,
269
312
  axiosInstance: t
270
313
  }) {
271
- j(this, "axiosInstance");
272
- j(this, "store");
273
- this.store = new Vt(r), this.axiosInstance = t;
314
+ B(this, "axiosInstance");
315
+ B(this, "store");
316
+ this.store = new so(r), this.axiosInstance = t;
274
317
  }
275
318
  async get(r, t = {}) {
276
319
  const o = {
277
320
  ...t,
278
321
  method: "get",
279
322
  url: r
280
- }, s = this.store.generateKey(o), i = this.getCachedValue(s, o), n = this.getFreshValue(s, o);
323
+ }, s = this.store.generateKey(o), g = this.getCachedValue(s, o), m = this.getFreshValue(s, o);
281
324
  return Promise.race([
282
- i.then((p) => p != null ? p : n),
283
- n
325
+ g.then((d) => d != null ? d : m),
326
+ m
284
327
  ]);
285
328
  }
286
329
  async getCachedValue(r, t) {
@@ -296,10 +339,10 @@ class J {
296
339
  try {
297
340
  const s = await this.axiosInstance.request(
298
341
  t
299
- ), i = (o = s == null ? void 0 : s.data) != null ? o : s;
300
- return this.store.set(r, i).catch((n) => {
301
- console.warn(`[SWR] Failed to write to cache: ${r}`, n);
302
- }), t.onSwrRefresh && t.onSwrRefresh(i), i;
342
+ ), g = (o = s == null ? void 0 : s.data) != null ? o : s;
343
+ return this.store.set(r, g).catch((m) => {
344
+ console.warn(`[SWR] Failed to write to cache: ${r}`, m);
345
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
303
346
  } catch (s) {
304
347
  throw console.warn(`[SWR] Request failed: ${t.url}`, s), t.onSwrError && t.onSwrError(s), s;
305
348
  }
@@ -308,8 +351,8 @@ class J {
308
351
  await this.store.clear();
309
352
  }
310
353
  }
311
- let x = [], v = [], P = [];
312
- const a = $.create({
354
+ let W = [], x = [], R = [];
355
+ const a = w.create({
313
356
  headers: {
314
357
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
315
358
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -327,66 +370,74 @@ a.addEnvironmentVariables = (e) => {
327
370
  );
328
371
  });
329
372
  };
330
- a.swr = new J({
373
+ a.swr = new Y({
331
374
  key: a.env.swrKey || "swr",
332
375
  axiosInstance: a
333
376
  });
334
- const Nt = a.get.bind(a);
335
- a.swr = new J({
377
+ const io = a.get.bind(a);
378
+ a.swr = new Y({
336
379
  key: a.env.swrKey || "swr",
337
380
  axiosInstance: a
338
381
  });
339
382
  a.get = function(...e) {
340
- return (e[1] || {}).swr ? this.swr.get(...e) : Nt(...e);
383
+ return (e[1] || {}).swr ? this.swr.get(...e) : io(...e);
341
384
  };
342
385
  a.addRequestInterceptor = (e, r) => {
343
- x.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
386
+ W.push(e), r && !R.includes(r) && R.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
344
387
  async (t) => {
345
- for (const o of x)
388
+ for (const o of W)
346
389
  t = await o(t, a.env);
347
390
  return t;
348
391
  },
349
392
  (t) => {
350
- for (const o of P)
393
+ for (const o of R)
351
394
  o(t, a.env);
352
395
  }
353
396
  );
354
397
  };
355
398
  a.addResponseInterceptor = (e, r) => {
356
- v.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
399
+ x.push(e), r && !R.includes(r) && R.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
357
400
  async (t) => {
358
- for (const o of v)
401
+ for (const o of x)
359
402
  t = await o(t, a.env);
360
403
  return t;
361
404
  },
362
405
  (t) => {
363
- for (const o of P)
406
+ for (const o of R)
364
407
  o(t, a.env);
365
408
  return Promise.reject(t);
366
409
  }
367
410
  );
368
411
  };
369
- a.addRequestInterceptor(wt, Q);
370
- a.addResponseInterceptor(Mt, Q);
371
- const Y = (e, r) => {
372
- q(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
373
- }, Gt = (e) => {
374
- Y("Authorization", e ? `Bearer ${e}` : null);
375
- };
376
- a.CancelToken = $.CancelToken;
377
- a.isCancel = $.isCancel;
378
- a.setHeader = Y;
379
- a.setToken = Gt;
380
- let D = [];
381
- a.generateCancelTokenSource = () => a.CancelToken.source();
382
- a.addCancelToken = (e) => D = [e, ...D];
383
- a.resetCancelTokens = () => D = [];
384
- a.cancelRequests = () => {
385
- D.length && (D.forEach((e) => {
386
- e.cancel("Operation canceled due to new request");
387
- }), a.resetCancelTokens());
412
+ a.addRequestInterceptor(Kt, q);
413
+ a.addResponseInterceptor(Ct, q);
414
+ const K = (e, r) => {
415
+ J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
416
+ }, no = (e) => {
417
+ K("Authorization", e ? `Bearer ${e}` : null);
388
418
  };
389
- const Ct = {
419
+ a.CancelToken = w.CancelToken;
420
+ a.isCancel = w.isCancel;
421
+ a.setHeader = K;
422
+ a.setToken = no;
423
+ const z = "Operation canceled due to new request";
424
+ function C() {
425
+ const e = /* @__PURE__ */ new Map();
426
+ return {
427
+ createToken(r) {
428
+ var o;
429
+ (o = e.get(r)) == null || o.cancel(z);
430
+ const t = a.CancelToken.source();
431
+ return e.set(r, t), t.token;
432
+ },
433
+ cancelAll() {
434
+ e.forEach((r) => r.cancel(z)), e.clear();
435
+ }
436
+ };
437
+ }
438
+ a.createRequestManager = C;
439
+ a.requestManager = C();
440
+ const _o = {
390
441
  mediaHub: {
391
442
  getAllMedia(e) {
392
443
  return a.get("/admin/media-hub", e);
@@ -516,9 +567,6 @@ const Ct = {
516
567
  },
517
568
  deleteCompany(e) {
518
569
  return a.delete("/admin/companies", { params: e });
519
- },
520
- reSyncCompanies(e) {
521
- return a.post("/admin/companies/resync", e);
522
570
  }
523
571
  },
524
572
  sso: {
@@ -573,14 +621,6 @@ const Ct = {
573
621
  addExtraction(e, r) {
574
622
  return a.post(`admin/cameras/${e}/extractions`, r);
575
623
  },
576
- getExtractionStatus(e, r, t) {
577
- return a.get(
578
- `admin/cameras/${e}/extractions/${r}`,
579
- {
580
- params: t
581
- }
582
- );
583
- },
584
624
  deleteSnapshotExtraction(e, r, t) {
585
625
  return a.delete(
586
626
  `admin/cameras/${e}/extractions/${r}`,
@@ -588,6 +628,30 @@ const Ct = {
588
628
  params: t
589
629
  }
590
630
  );
631
+ },
632
+ getExtraction(e, r) {
633
+ return a.get(
634
+ `admin/cameras/${e}/extractions/${r}`
635
+ );
636
+ },
637
+ reprocessExtraction(e, r) {
638
+ return a.post(
639
+ `admin/cameras/${e}/extractions/${r}/reprocess`
640
+ );
641
+ }
642
+ },
643
+ anprExtractions: {
644
+ list(e) {
645
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
646
+ },
647
+ create(e, r) {
648
+ return a.post(
649
+ `/admin/cameras/${e}/anpr/extractions`,
650
+ r
651
+ );
652
+ },
653
+ delete(e, r) {
654
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
591
655
  }
592
656
  },
593
657
  kits: {
@@ -639,6 +703,9 @@ const Ct = {
639
703
  },
640
704
  createBox(e) {
641
705
  return a.post("/admin/kit-boxes", e);
706
+ },
707
+ updateBox(e, r) {
708
+ return a.patch(`/admin/kit-boxes/${e}`, r);
642
709
  }
643
710
  },
644
711
  logs: {
@@ -904,8 +971,16 @@ const Ct = {
904
971
  index(e) {
905
972
  return a.get("/admin/comments", e);
906
973
  }
974
+ },
975
+ snapshotTransfers: {
976
+ index(e) {
977
+ return a.get("/admin/snapshot-transfers", e);
978
+ },
979
+ cancel(e) {
980
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
981
+ }
907
982
  }
908
- }, Et = {
983
+ }, Uo = {
909
984
  list(e = {}) {
910
985
  return a.get("/video-walls", { params: e });
911
986
  },
@@ -927,117 +1002,552 @@ const Ct = {
927
1002
  delete(e) {
928
1003
  return a.delete(`/video-walls/${e}`);
929
1004
  }
930
- }, d = () => a.env.firebaseDbLink, Ht = () => a.env.firebaseStorageUrl, Ft = () => a.env.firebaseStorageToken, At = {
1005
+ }, l = () => a.env.firebaseDbLink, lo = () => a.env.firebaseStorageUrl, go = () => a.env.firebaseStorageToken, mo = () => a.env.forgeTokenServerUrl, i = { skipAuth: !0, preserveCasing: !0 }, jo = {
931
1006
  drone: {
932
1007
  getProjectInfo(e) {
933
- return fetch(
934
- `${d()}data/projects/cesium/${e}.json`
935
- ).then((r) => r.json());
1008
+ return a.get(
1009
+ `${l()}data/projects/cesium/${e}.json`,
1010
+ i
1011
+ );
936
1012
  },
937
1013
  getProjectTags(e) {
938
- return fetch(
939
- `${d()}cesium/${e}/transform/tags.json`
940
- ).then((r) => r.json());
1014
+ return a.get(
1015
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1016
+ i
1017
+ );
1018
+ },
1019
+ patchTags({
1020
+ projectId: e,
1021
+ tags: r
1022
+ }) {
1023
+ return a.patch(
1024
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1025
+ r,
1026
+ i
1027
+ );
1028
+ },
1029
+ saveMarkers({
1030
+ projectId: e,
1031
+ markers: r
1032
+ }) {
1033
+ return a.put(
1034
+ `${l()}data/projects/cesium/${e}/transform/markers.json`,
1035
+ r,
1036
+ i
1037
+ );
1038
+ },
1039
+ patchTransform({
1040
+ projectId: e,
1041
+ data: r
1042
+ }) {
1043
+ return a.patch(
1044
+ `${l()}data/projects/cesium/${e}/transform.json`,
1045
+ r,
1046
+ i
1047
+ );
1048
+ },
1049
+ saveTerrainPoints({
1050
+ projectId: e,
1051
+ dateId: r,
1052
+ points: t
1053
+ }) {
1054
+ return a.put(
1055
+ `${l()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1056
+ t,
1057
+ i
1058
+ );
1059
+ },
1060
+ patchImageryPlan({
1061
+ projectId: e,
1062
+ plan: r
1063
+ }) {
1064
+ return a.patch(
1065
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1066
+ r,
1067
+ i
1068
+ );
1069
+ },
1070
+ deleteImageryPlan({
1071
+ projectId: e,
1072
+ uuid: r
1073
+ }) {
1074
+ return a.delete(
1075
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1076
+ i
1077
+ );
1078
+ },
1079
+ saveImageryPlans({
1080
+ projectId: e,
1081
+ plans: r
1082
+ }) {
1083
+ return a.put(
1084
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1085
+ r,
1086
+ i
1087
+ );
1088
+ },
1089
+ getBlackListIds(e) {
1090
+ return a.get(
1091
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1092
+ i
1093
+ );
1094
+ },
1095
+ saveBlackListIds({
1096
+ projectId: e,
1097
+ ids: r
1098
+ }) {
1099
+ return a.put(
1100
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1101
+ r,
1102
+ i
1103
+ );
1104
+ },
1105
+ saveModel({
1106
+ projectId: e,
1107
+ model: r
1108
+ }) {
1109
+ const { trueIndex: t, ...o } = r;
1110
+ return a.put(
1111
+ `${l()}data/projects/cesium/${e}/models/${t}.json`,
1112
+ o,
1113
+ i
1114
+ );
1115
+ },
1116
+ saveModels({
1117
+ projectId: e,
1118
+ models: r
1119
+ }) {
1120
+ return a.put(
1121
+ `${l()}data/projects/cesium/${e}/models.json`,
1122
+ r,
1123
+ i
1124
+ );
1125
+ },
1126
+ saveBimData({
1127
+ projectId: e,
1128
+ data: r
1129
+ }) {
1130
+ return a.put(
1131
+ `${l()}data/projects/cesium/${e}/transform/bimData.json`,
1132
+ r,
1133
+ i
1134
+ );
1135
+ },
1136
+ getBimTransparencyFlag(e) {
1137
+ return a.get(
1138
+ `${l()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1139
+ i
1140
+ );
1141
+ },
1142
+ saveCameraTransform({
1143
+ projectId: e,
1144
+ isScene3D: r,
1145
+ transform: t
1146
+ }) {
1147
+ return a.patch(
1148
+ `${l()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1149
+ t,
1150
+ i
1151
+ );
941
1152
  }
942
1153
  },
943
1154
  _360: {
944
1155
  getProjectInfo(e, r = { config: {} }) {
945
1156
  return a.get(
946
- `${d()}data/projects/360/${e}.json`,
1157
+ `${l()}data/projects/360/${e}.json`,
947
1158
  {
948
1159
  ...r.config,
949
- skipAuth: !0,
950
- preserveCasing: !0
1160
+ ...i
951
1161
  }
952
1162
  );
953
1163
  },
954
- getDateWalks(e, r) {
955
- return fetch(
956
- `${d()}360/${e}/${r}.json`
957
- ).then((t) => t.json());
1164
+ getProjectsList() {
1165
+ return a.get(
1166
+ `${l()}data/360-list.json`,
1167
+ i
1168
+ );
1169
+ },
1170
+ updateProjectsList(e) {
1171
+ return a.put(
1172
+ `${l()}data/360-list.json`,
1173
+ e,
1174
+ i
1175
+ );
1176
+ },
1177
+ updateProjectsListItem(e, r) {
1178
+ return a.put(
1179
+ `${l()}data/360-list/${e}.json`,
1180
+ r,
1181
+ i
1182
+ );
1183
+ },
1184
+ deleteProject(e) {
1185
+ return a.delete(
1186
+ `${l()}data/projects/360/${e}.json`,
1187
+ i
1188
+ );
1189
+ },
1190
+ updateProjectInfo(e, r) {
1191
+ return a.patch(
1192
+ `${l()}data/projects/360/${e}.json`,
1193
+ r,
1194
+ i
1195
+ );
958
1196
  },
959
1197
  updateFloor(e, r, t, o) {
960
- return fetch(
961
- `${d()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
962
- {
963
- method: "PATCH",
964
- body: JSON.stringify(o)
965
- }
966
- ).then((s) => s.json());
1198
+ return a.patch(
1199
+ `${l()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1200
+ o,
1201
+ i
1202
+ );
967
1203
  },
968
1204
  getRoute(e, r, t) {
969
- return fetch(
970
- `${d()}360/${e}/${r}/${t}/route.json`,
971
- {
972
- method: "GET"
973
- }
974
- ).then((o) => o.json());
1205
+ return a.get(
1206
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1207
+ i
1208
+ );
975
1209
  },
976
- getGPXText(e) {
977
- return fetch(e == null ? void 0 : e.replace(/token=\s*/, "token=")).then(
978
- (r) => r.text()
1210
+ getAerialShotDate(e, r) {
1211
+ return a.get(
1212
+ `${l()}data/projects/360/${encodeURIComponent(
1213
+ `${e}/aerial-shots/dates/`
1214
+ )}${r}/date.json`,
1215
+ i
1216
+ );
1217
+ },
1218
+ getFloor({
1219
+ projectId: e,
1220
+ dateId: r,
1221
+ floorId: t
1222
+ }) {
1223
+ return a.get(
1224
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1225
+ i
1226
+ );
1227
+ },
1228
+ getAerialShotsFloor({
1229
+ projectId: e,
1230
+ dateId: r,
1231
+ floorId: t
1232
+ }) {
1233
+ return a.get(
1234
+ `${l()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1235
+ i
1236
+ );
1237
+ },
1238
+ update3DMarkers({
1239
+ projectId: e,
1240
+ dateId: r,
1241
+ floorId: t,
1242
+ markers: o
1243
+ }) {
1244
+ return a.put(
1245
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1246
+ o,
1247
+ i
1248
+ );
1249
+ },
1250
+ patchFloor({
1251
+ projectId: e,
1252
+ dateId: r,
1253
+ floorId: t,
1254
+ data: o
1255
+ }) {
1256
+ return a.patch(
1257
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1258
+ o,
1259
+ i
1260
+ );
1261
+ },
1262
+ updateFloors({
1263
+ projectId: e,
1264
+ dateId: r,
1265
+ floors: t
1266
+ }) {
1267
+ return a.put(
1268
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1269
+ t,
1270
+ i
979
1271
  );
980
1272
  },
1273
+ deleteFloor({
1274
+ projectId: e,
1275
+ dateId: r,
1276
+ floorId: t
1277
+ }) {
1278
+ return a.delete(
1279
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1280
+ i
1281
+ );
1282
+ },
1283
+ updateDates(e, r) {
1284
+ return a.put(
1285
+ `${l()}data/projects/360/${e}/dates.json`,
1286
+ r,
1287
+ i
1288
+ );
1289
+ },
1290
+ deleteDate(e, r) {
1291
+ return a.delete(
1292
+ `${l()}data/projects/360/${e}/${r}.json`,
1293
+ i
1294
+ );
1295
+ },
1296
+ getPins({
1297
+ projectId: e,
1298
+ dateId: r,
1299
+ floorId: t
1300
+ }) {
1301
+ return a.get(
1302
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1303
+ i
1304
+ );
1305
+ },
1306
+ updatePins({
1307
+ projectId: e,
1308
+ dateId: r,
1309
+ floorId: t,
1310
+ pins: o
1311
+ }) {
1312
+ return a.put(
1313
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1314
+ o,
1315
+ i
1316
+ );
1317
+ },
1318
+ getGPXText(e) {
1319
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1320
+ ...i,
1321
+ responseType: "text"
1322
+ }) : Promise.resolve("");
1323
+ },
981
1324
  updateRoute(e, r, t, o) {
982
- return fetch(
983
- `${d()}360/${e}/${r}/${t}/route.json`,
984
- {
985
- method: "PATCH",
986
- body: JSON.stringify(o)
987
- }
988
- ).then((s) => s.json());
1325
+ return a.patch(
1326
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1327
+ o,
1328
+ i
1329
+ );
989
1330
  },
990
1331
  async updateFeatureFlag(e, r, t, o, s) {
991
- return fetch(
992
- `${d()}360/${e}/${r}/${t}/${o}.json`,
1332
+ return a.put(
1333
+ `${l()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1334
+ s,
993
1335
  {
994
- method: "PUT",
995
- body: JSON.stringify(s)
1336
+ ...i,
1337
+ transformRequest: [(g) => JSON.stringify(g)]
996
1338
  }
997
- ).then((i) => i.json());
1339
+ );
998
1340
  },
999
1341
  async saveSteps(e, r, t, o) {
1000
- return fetch(
1001
- `${d()}360/${e}/${r}/${t}/steps.json`,
1002
- {
1003
- method: "PUT",
1004
- body: JSON.stringify(o)
1005
- }
1006
- ).then((s) => s.json());
1342
+ return a.put(
1343
+ `${l()}data/projects/360/${e}/${r}/${t}/steps.json`,
1344
+ o,
1345
+ i
1346
+ );
1007
1347
  },
1008
1348
  updateGPXFile(e, r, t, o) {
1009
- const s = new Blob([o], { type: "application/gpx+xml" }), i = new FormData();
1010
- return i.append("gpxFile", s, "updated-track.gpx"), fetch(
1011
- `${Ht() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Ft()}`,
1349
+ const s = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1350
+ return g.append("gpxFile", s, "updated-track.gpx"), a.post(
1351
+ `${lo() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${go()}`,
1352
+ g,
1012
1353
  {
1013
- method: "POST",
1014
- body: i
1354
+ ...i,
1355
+ headers: { "Content-Type": "multipart/form-data" }
1015
1356
  }
1016
1357
  );
1358
+ },
1359
+ getProjectDates(e) {
1360
+ return a.get(
1361
+ `${l()}data/projects/360/${e}/dates.json`,
1362
+ i
1363
+ );
1364
+ },
1365
+ getProjectAerialShotsDates(e) {
1366
+ return a.get(
1367
+ `${l()}data/projects/360/${e}/aerial-shots/dates.json`,
1368
+ i
1369
+ );
1370
+ },
1371
+ getProjectDateFloors({
1372
+ projectId: e,
1373
+ dateId: r
1374
+ }) {
1375
+ return a.get(
1376
+ `${l()}data/projects/360/${e}/${r}.json`,
1377
+ i
1378
+ );
1017
1379
  }
1018
1380
  },
1019
1381
  forge: {
1020
- async getProjectInfo(e) {
1021
- return fetch(
1022
- `${d()}data/projects/forge/${e}.json`
1023
- ).then((r) => r.json());
1382
+ getAccessToken() {
1383
+ return a.get(mo(), i);
1384
+ },
1385
+ getProjectInfo(e) {
1386
+ return a.get(
1387
+ `${l()}data/projects/forge/${e}.json`,
1388
+ i
1389
+ );
1390
+ },
1391
+ saveSavedView(e, r) {
1392
+ return a.put(
1393
+ `${l()}data/projects/forge/${e}/savedView.json`,
1394
+ r,
1395
+ i
1396
+ );
1397
+ },
1398
+ saveMarkers(e, r) {
1399
+ return a.put(
1400
+ `${l()}data/projects/forge/${e}/markers.json`,
1401
+ r,
1402
+ i
1403
+ );
1404
+ }
1405
+ },
1406
+ itwin: {
1407
+ getProjectInfo(e) {
1408
+ return a.get(
1409
+ `${l()}data/projects/itwin/${e}.json`,
1410
+ i
1411
+ );
1412
+ },
1413
+ clearBimCompare(e) {
1414
+ return a.delete(
1415
+ `${l()}data/projects/itwin/${e}/bim-compare.json`,
1416
+ i
1417
+ );
1418
+ },
1419
+ clearSiteView(e, r) {
1420
+ return a.delete(
1421
+ `${l()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1422
+ i
1423
+ );
1424
+ }
1425
+ },
1426
+ siteView: {
1427
+ getCamerasList() {
1428
+ return a.get(
1429
+ `${l()}data/cameras-list.json`,
1430
+ i
1431
+ );
1432
+ },
1433
+ updateCamerasList(e) {
1434
+ return a.put(
1435
+ `${l()}data/cameras-list.json`,
1436
+ e,
1437
+ i
1438
+ );
1439
+ },
1440
+ updateCamerasListItem(e, r) {
1441
+ return a.put(
1442
+ `${l()}data/cameras-list/${e}.json`,
1443
+ r,
1444
+ i
1445
+ );
1446
+ },
1447
+ updateProjectData({
1448
+ viewerType: e,
1449
+ projectId: r,
1450
+ data: t
1451
+ }) {
1452
+ const o = e.toLowerCase();
1453
+ return a.patch(
1454
+ `${l()}data/projects/${o}/${r}.json`,
1455
+ t,
1456
+ i
1457
+ );
1458
+ },
1459
+ deleteProjectData(e, r) {
1460
+ const t = e.toLowerCase();
1461
+ return a.delete(
1462
+ `${l()}data/projects/${t}/${r}.json`,
1463
+ i
1464
+ );
1465
+ },
1466
+ readAllData(e) {
1467
+ return a.get(`${e}data.json`, i);
1468
+ },
1469
+ writeAllData(e, r) {
1470
+ return a.put(`${e}data.json`, r, i);
1471
+ }
1472
+ },
1473
+ map: {
1474
+ getMapViews(e) {
1475
+ return a.get(
1476
+ `${l()}data/projects/maps/${e}.json`,
1477
+ i
1478
+ );
1479
+ },
1480
+ updateMapViews(e, r) {
1481
+ return a.put(
1482
+ `${l()}data/projects/maps/${e}.json`,
1483
+ r,
1484
+ i
1485
+ );
1486
+ }
1487
+ },
1488
+ safety: {
1489
+ getTPulseLink(e) {
1490
+ return a.get(
1491
+ `${l()}data/projects/safety/${e}.json`,
1492
+ i
1493
+ );
1494
+ },
1495
+ updateTPulseLink(e, r) {
1496
+ return a.put(
1497
+ `${l()}data/projects/safety/${e}.json`,
1498
+ { link: r },
1499
+ i
1500
+ );
1501
+ }
1502
+ },
1503
+ planner: {
1504
+ getPlannerList() {
1505
+ return a.get(`${l()}data/planner-list.json`, {
1506
+ ...i
1507
+ });
1508
+ },
1509
+ getPlannerItem(e) {
1510
+ return a.get(
1511
+ `${l()}data/planner-list/${e}.json`,
1512
+ i
1513
+ );
1514
+ },
1515
+ saveSitePlanMetaData(e, r) {
1516
+ return a.put(
1517
+ `${l()}data/planner-list/${e}.json`,
1518
+ r,
1519
+ i
1520
+ );
1521
+ },
1522
+ getSitePlan(e) {
1523
+ return a.get(
1524
+ `${l()}data/projects/planner/${e}.json`,
1525
+ i
1526
+ );
1527
+ },
1528
+ saveSitePlan(e, r) {
1529
+ return a.put(
1530
+ `${l()}data/projects/planner/${e}.json`,
1531
+ r,
1532
+ i
1533
+ );
1024
1534
  }
1025
1535
  }
1026
- }, m = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1536
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1027
1537
  if (Object.keys(e).length === 0)
1028
1538
  return;
1029
1539
  let o = { ...e };
1030
- return r && (o = M.decamelizeKeys(e)), Object.entries(o).reduce((s, [i, n], p) => {
1031
- let k = "";
1032
- return ["", null, void 0].includes(n) || Array.isArray(n) && n.length === 0 ? s : (n && typeof n == "object" ? k = Object.entries(n).reduce((b, [R, U], B) => {
1033
- let w = i;
1034
- return isNaN(Number.parseInt(R)) ? w = `${i}[${R}]` : Array.isArray(n) && t && (w = `${i}[]`), `${b}${B > 0 ? "&" : ""}${w}=${encodeURIComponent(U)}`;
1035
- }, "") : k = `${i}=${encodeURIComponent(
1036
- n
1037
- )}`, `${s}${p > 0 ? "&" : ""}${k}`);
1540
+ return r && (o = P.decamelizeKeys(e)), Object.entries(o).reduce((s, [g, m], d) => {
1541
+ let h = "";
1542
+ return ["", null, void 0].includes(m) || Array.isArray(m) && m.length === 0 ? s : (m && typeof m == "object" ? h = Object.entries(m).reduce((M, [D, U], j) => {
1543
+ let f = g;
1544
+ return isNaN(Number.parseInt(D)) ? f = `${g}[${D}]` : Array.isArray(m) && t && (f = `${g}[]`), `${M}${j > 0 ? "&" : ""}${f}=${encodeURIComponent(U)}`;
1545
+ }, "") : h = `${g}=${encodeURIComponent(
1546
+ m
1547
+ )}`, `${s}${d > 0 ? "&" : ""}${h}`);
1038
1548
  }, "");
1039
1549
  };
1040
- function Wt(e = "") {
1550
+ function po(e = "") {
1041
1551
  return [
1042
1552
  ...new URLSearchParams(
1043
1553
  e.indexOf("#") > -1 ? e.split("#")[0] : e
@@ -1047,14 +1557,11 @@ function Wt(e = "") {
1047
1557
  [o]: [...t[o], s]
1048
1558
  } : { ...t, [o]: [s] }, {});
1049
1559
  }
1050
- function It(e) {
1051
- return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
1052
- }
1053
- const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1560
+ const L = () => a.env.aiApiUrl, n = () => `${a.env.aiApiUrl}/v2`, Bo = {
1054
1561
  anpr: {
1055
1562
  exportAnprLegacyEvents(e, r) {
1056
1563
  return a({
1057
- url: `${f()}/projects/${e}/anpr/export?${m(
1564
+ url: `${L()}/projects/${e}/anpr/export?${u(
1058
1565
  r
1059
1566
  )}`,
1060
1567
  method: "GET",
@@ -1063,7 +1570,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1063
1570
  },
1064
1571
  getAnprEvents(e, r, t = {}) {
1065
1572
  return a.get(
1066
- `${l()}/projects/${e}/anpr?${m(
1573
+ `${n()}/projects/${e}/anpr?${u(
1067
1574
  r
1068
1575
  )}`,
1069
1576
  t
@@ -1071,27 +1578,21 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1071
1578
  },
1072
1579
  getAnprCounts(e, r, t) {
1073
1580
  return a.get(
1074
- `${l()}/projects/${e}/anpr/counts?${m(
1581
+ `${n()}/projects/${e}/anpr/counts?${u(
1075
1582
  r
1076
1583
  )}`,
1077
1584
  t
1078
1585
  );
1079
1586
  },
1080
1587
  updateAnprEvent(e, r) {
1081
- return a.patch(
1082
- `${l()}/projects/anpr/${e}`,
1083
- r
1084
- );
1588
+ return a.patch(`${n()}/anpr/${e}`, r);
1085
1589
  },
1086
1590
  bulkUpdateAnprRecords(e) {
1087
- return a.patch(
1088
- `${l()}/projects/anpr/update/status`,
1089
- e
1090
- );
1591
+ return a.patch(`${n()}/anpr/status`, e);
1091
1592
  },
1092
1593
  exportAnprEvents(e, r) {
1093
1594
  return a({
1094
- url: `${f()}/projects/${e}/anpr/events/export?${m(
1595
+ url: `${n()}/projects/${e}/anpr/events/export?${u(
1095
1596
  r
1096
1597
  )}`,
1097
1598
  method: "GET",
@@ -1102,7 +1603,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1102
1603
  gateReport: {
1103
1604
  exportEvents(e, r) {
1104
1605
  return a({
1105
- url: `${f()}/projects/${e}/gate-report/events/export?${m(
1606
+ url: `${n()}/projects/${e}/gate-report/events/export?${u(
1106
1607
  r
1107
1608
  )}`,
1108
1609
  method: "GET",
@@ -1111,14 +1612,14 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1111
1612
  },
1112
1613
  exportEventsProgress(e, r) {
1113
1614
  return a.get(
1114
- `${f()}/projects/${e}/gate-report/events/export/progress?${m(
1615
+ `${L()}/projects/${e}/gate-report/events/export/progress?${u(
1115
1616
  r
1116
1617
  )}`
1117
1618
  );
1118
1619
  },
1119
1620
  generateAnprThumbnail(e, r) {
1120
1621
  return a.post(
1121
- `${l()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1622
+ `${n()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1122
1623
  {},
1123
1624
  {
1124
1625
  headers: {
@@ -1129,7 +1630,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1129
1630
  },
1130
1631
  getVerifiedDays(e, r, t = {}) {
1131
1632
  return a.get(
1132
- `${l()}/projects/${e}/gate-report/verified-days?${m(
1633
+ `${n()}/projects/${e}/gate-report/verified-days?${u(
1133
1634
  r
1134
1635
  )}`,
1135
1636
  t
@@ -1137,19 +1638,19 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1137
1638
  },
1138
1639
  verifyDay(e) {
1139
1640
  return a.post(
1140
- `${l()}/projects/gate-report/verified-days`,
1641
+ `${n()}/projects/gate-report/verified-days`,
1141
1642
  e
1142
1643
  );
1143
1644
  },
1144
1645
  getDailyStatus(e, r = {}) {
1145
1646
  return a.get(
1146
- `${l()}/projects/${e}/gate-report/processed-days`,
1647
+ `${n()}/projects/${e}/gate-report/processed-days`,
1147
1648
  { params: r }
1148
1649
  );
1149
1650
  },
1150
1651
  getEvents(e, r, t = {}) {
1151
1652
  return a.get(
1152
- `${l()}/projects/${e}/gate-report/events?${m(
1653
+ `${n()}/projects/${e}/gate-report/events?${u(
1153
1654
  r
1154
1655
  )}`,
1155
1656
  t
@@ -1157,20 +1658,20 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1157
1658
  },
1158
1659
  getCounts(e, r = {}, t = {}) {
1159
1660
  return a.get(
1160
- `${l()}/projects/${e}/gate-report/counts?${m(
1661
+ `${n()}/projects/${e}/gate-report/counts?${u(
1161
1662
  r
1162
1663
  )}`,
1163
1664
  t
1164
1665
  );
1165
1666
  },
1166
1667
  getGateReportProjectsInfos(e) {
1167
- return a.get(`${l()}/projects/gate-report/info`, e);
1668
+ return a.get(`${n()}/projects/gate-report/info`, e);
1168
1669
  }
1169
1670
  },
1170
1671
  brainTool: {
1171
1672
  getObjectDetectionsResults(e = {}) {
1172
1673
  return a.post(
1173
- `${l()}/ai-models/object-detection`,
1674
+ `${n()}/ai-models/object-detection`,
1174
1675
  e
1175
1676
  );
1176
1677
  }
@@ -1178,13 +1679,16 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1178
1679
  roi: {
1179
1680
  getROIs(e, r = {}) {
1180
1681
  return a.get(
1181
- `${l()}/projects/${e}/rois?${m(
1682
+ `${n()}/projects/${e}/rois?${u(
1182
1683
  r
1183
1684
  )}`
1184
1685
  );
1185
1686
  },
1687
+ listROIs(e = {}) {
1688
+ return a.get(`${n()}/rois?${u(e)}`);
1689
+ },
1186
1690
  createROI(e) {
1187
- return a.post(`${l()}/projects/rois`, e);
1691
+ return a.post(`${n()}/rois`, e);
1188
1692
  },
1189
1693
  updateROI({
1190
1694
  updatedBy: e,
@@ -1192,7 +1696,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1192
1696
  ...t
1193
1697
  }) {
1194
1698
  return a.patch(
1195
- `${l()}/projects/rois/${r}?${m({
1699
+ `${n()}/rois/${r}?${u({
1196
1700
  updatedBy: e
1197
1701
  })}`,
1198
1702
  t
@@ -1200,7 +1704,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1200
1704
  },
1201
1705
  deleteROI({ id: e, updatedBy: r }) {
1202
1706
  return a.patch(
1203
- `${l()}/projects/rois/${e}?${m({
1707
+ `${n()}/rois/${e}?${u({
1204
1708
  updatedBy: r
1205
1709
  })}`,
1206
1710
  { isActive: !1, note: "delete roi" }
@@ -1210,7 +1714,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1210
1714
  detections: {
1211
1715
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1212
1716
  return a.get(
1213
- `${l()}/projects/${e}/trackings/counts?${m(
1717
+ `${n()}/projects/${e}/trackings/counts?${u(
1214
1718
  r
1215
1719
  )}`,
1216
1720
  t
@@ -1218,7 +1722,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1218
1722
  },
1219
1723
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1220
1724
  return a.get(
1221
- `${l()}/projects/${e}/trackings/timestamps?${m(
1725
+ `${n()}/projects/${e}/trackings/timestamps?${u(
1222
1726
  r
1223
1727
  )}`,
1224
1728
  t
@@ -1230,7 +1734,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1230
1734
  ...t
1231
1735
  }) {
1232
1736
  return a.get(
1233
- `${l()}/cameras/${e}/segments/appearance-from-points`,
1737
+ `${n()}/cameras/${e}/segments/appearance-from-points`,
1234
1738
  {
1235
1739
  params: {
1236
1740
  cameraExid: e,
@@ -1242,14 +1746,14 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1242
1746
  },
1243
1747
  async getGroupedTrackings(e, r) {
1244
1748
  return a.get(
1245
- `${l()}/projects/${e}/trackings/grouped?${m(
1749
+ `${n()}/projects/${e}/trackings/grouped?${u(
1246
1750
  r
1247
1751
  )}`
1248
1752
  );
1249
1753
  },
1250
1754
  async getSegmentsMasks(e, r) {
1251
1755
  return a.get(
1252
- `${l()}/cameras/${e}/segments/masks`,
1756
+ `${n()}/cameras/${e}/segments/masks`,
1253
1757
  {
1254
1758
  params: r
1255
1759
  }
@@ -1260,7 +1764,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1260
1764
  ...r
1261
1765
  }) {
1262
1766
  return a.get(
1263
- `${l()}/cameras/${e}/segments/presence-intervals?${m(
1767
+ `${n()}/cameras/${e}/segments/presence-intervals?${u(
1264
1768
  r
1265
1769
  )}`
1266
1770
  );
@@ -1270,7 +1774,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1270
1774
  ...r
1271
1775
  }) {
1272
1776
  return a.get(
1273
- `${l()}/projects/${e}/trackings/presence-intervals?${m(
1777
+ `${n()}/projects/${e}/trackings/presence-intervals?${u(
1274
1778
  r
1275
1779
  )}`
1276
1780
  );
@@ -1280,7 +1784,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1280
1784
  ...r
1281
1785
  }) {
1282
1786
  return a.get(
1283
- `${f()}/projects/${e}/detections/timestamps/export?${m(
1787
+ `${n()}/projects/${e}/detections/timestamps/export?${u(
1284
1788
  r
1285
1789
  )}`,
1286
1790
  { responseType: "blob" }
@@ -1291,24 +1795,24 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1291
1795
  smartSearchAll(e, r) {
1292
1796
  const { payload: t, ...o } = r, s = {
1293
1797
  page: 1,
1294
- pageSize: 20,
1798
+ limit: 20,
1295
1799
  ...o
1296
1800
  };
1297
- let i = `${l()}/projects/${e}/smart_search/all?${m(
1801
+ let g = `${n()}/projects/${e}/smart-search/all?${u(
1298
1802
  s
1299
1803
  )}`;
1300
- return a.post(i, t);
1804
+ return a.post(g, t);
1301
1805
  },
1302
1806
  smartSearchFirstLastSeen(e, r) {
1303
1807
  const { payload: t, ...o } = r, s = {
1304
1808
  page: 1,
1305
- pageSize: 20,
1809
+ limit: 20,
1306
1810
  ...o
1307
1811
  };
1308
- let i = `${l()}/projects/${e}/smart_search/first_last_seen?${m(
1812
+ let g = `${n()}/projects/${e}/smart-search/first-last-seen?${u(
1309
1813
  s
1310
1814
  )}`;
1311
- return a.post(i, t);
1815
+ return a.post(g, t);
1312
1816
  },
1313
1817
  saveQuery({
1314
1818
  projectExid: e,
@@ -1316,20 +1820,20 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1316
1820
  payload: t
1317
1821
  }) {
1318
1822
  return a.post(
1319
- `${l()}/projects/${e}/cameras/${r}/smart_search/queries`,
1823
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries`,
1320
1824
  t
1321
1825
  );
1322
1826
  },
1323
1827
  getQueries(e, r) {
1324
1828
  return a.get(
1325
- `${l()}/projects/${e}/smart_search/queries?${m(
1829
+ `${n()}/projects/${e}/smart-search/queries?${u(
1326
1830
  r
1327
1831
  )}`
1328
1832
  );
1329
1833
  },
1330
1834
  getQueryById(e, r, t) {
1331
1835
  return a.get(
1332
- `${l()}/projects/${e}/smart_search/queries/${t}?${m(
1836
+ `${n()}/projects/${e}/smart-search/queries/${t}?${u(
1333
1837
  { cameraExid: r }
1334
1838
  )}`
1335
1839
  );
@@ -1341,7 +1845,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1341
1845
  payload: o
1342
1846
  }) {
1343
1847
  return a.patch(
1344
- `${l()}/projects/${e}/cameras/${r}/smart_search/queries/${t}`,
1848
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1345
1849
  o
1346
1850
  );
1347
1851
  },
@@ -1351,7 +1855,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1351
1855
  queryId: t
1352
1856
  }) {
1353
1857
  return a.delete(
1354
- `${l()}/projects/${e}/cameras/${r}/smart_search/queries/${t}`,
1858
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1355
1859
  {}
1356
1860
  );
1357
1861
  },
@@ -1361,26 +1865,26 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1361
1865
  fromDate: t,
1362
1866
  toDate: o,
1363
1867
  query: s,
1364
- fileType: i = Z.Csv,
1365
- directDownload: n = !0,
1366
- payload: p,
1367
- limit: k,
1368
- page: b
1868
+ fileType: g = X.Csv,
1869
+ directDownload: m = !0,
1870
+ payload: d,
1871
+ limit: h,
1872
+ page: M
1369
1873
  }) {
1370
1874
  return a.post(
1371
- `${l()}/projects/${e}/smart_search/export?${m(
1875
+ `${n()}/projects/${e}/smart-search/export?${u(
1372
1876
  {
1373
1877
  cameraExids: r,
1374
1878
  fromDate: t,
1375
1879
  toDate: o,
1376
1880
  query: s,
1377
- fileType: i,
1378
- directDownload: n,
1379
- limit: k,
1380
- page: b
1881
+ fileType: g,
1882
+ directDownload: m,
1883
+ limit: h,
1884
+ page: M
1381
1885
  }
1382
1886
  )}`,
1383
- p,
1887
+ d,
1384
1888
  {
1385
1889
  responseType: "blob"
1386
1890
  }
@@ -1388,7 +1892,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1388
1892
  },
1389
1893
  getDetectionsHeatmapData(e, r) {
1390
1894
  return a.get(
1391
- `${l()}/projects/${e}/smart_search/heatmap?${m(
1895
+ `${n()}/projects/${e}/smart-search/heatmap?${u(
1392
1896
  r
1393
1897
  )}`,
1394
1898
  {}
@@ -1397,7 +1901,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1397
1901
  },
1398
1902
  coolify: {
1399
1903
  getCoolifyServers() {
1400
- return a.get(`${l()}/coolify/servers`);
1904
+ return a.get(`${n()}/coolify/servers`);
1401
1905
  },
1402
1906
  createAppOnCoolify({
1403
1907
  projectExid: e,
@@ -1405,7 +1909,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1405
1909
  payload: t
1406
1910
  }) {
1407
1911
  return a.post(
1408
- `${l()}/projects/${e}/cameras/${r}/anpr/apps`,
1912
+ `${n()}/projects/${e}/cameras/${r}/anpr/apps`,
1409
1913
  t
1410
1914
  );
1411
1915
  },
@@ -1415,7 +1919,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1415
1919
  payload: t
1416
1920
  }) {
1417
1921
  return a.post(
1418
- `${l()}/projects/${e}/cameras/${r}/gate-report/apps`,
1922
+ `${n()}/projects/${e}/cameras/${r}/gate-report/apps`,
1419
1923
  t
1420
1924
  );
1421
1925
  },
@@ -1427,7 +1931,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1427
1931
  projectExid: s
1428
1932
  }) {
1429
1933
  return a.patch(
1430
- `${l()}/projects/${s}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1934
+ `${n()}/projects/${s}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1431
1935
  t
1432
1936
  );
1433
1937
  },
@@ -1438,36 +1942,125 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1438
1942
  projectExid: o
1439
1943
  }) {
1440
1944
  return a.delete(
1441
- `${l()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1945
+ `${n()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1442
1946
  );
1443
1947
  },
1444
1948
  startService(e) {
1445
1949
  return a.post(
1446
- `${l()}/coolify/services/${e}/start`
1950
+ `${n()}/coolify/services/${e}/start`
1447
1951
  );
1448
1952
  },
1449
1953
  pauseService(e) {
1450
- return a.post(`${l()}/coolify/services/${e}/stop`);
1954
+ return a.post(`${n()}/coolify/services/${e}/stop`);
1451
1955
  },
1452
1956
  restartService(e) {
1453
1957
  return a.post(
1454
- `${l()}/coolify/services/${e}/restart`
1958
+ `${n()}/coolify/services/${e}/restart`
1455
1959
  );
1456
1960
  }
1457
1961
  },
1458
1962
  fovChanges: {
1459
1963
  getCameraFovChanges(e, r = {}) {
1460
1964
  return a.post(
1461
- `${l()}/cameras/${e}/fov_changes`,
1965
+ `${n()}/cameras/${e}/fov_changes`,
1462
1966
  {},
1463
1967
  r
1464
1968
  );
1465
1969
  }
1970
+ },
1971
+ prompts: {
1972
+ list(e = {}) {
1973
+ return a.get(`${n()}/prompts?${u(e)}`);
1974
+ },
1975
+ get(e) {
1976
+ return a.get(`${n()}/prompts/${e}`);
1977
+ },
1978
+ create(e) {
1979
+ return a.post(`${n()}/prompts`, e);
1980
+ },
1981
+ update(e, r) {
1982
+ return a.patch(`${n()}/prompts/${e}`, r);
1983
+ },
1984
+ delete(e) {
1985
+ return a.delete(`${n()}/prompts/${e}`);
1986
+ }
1987
+ },
1988
+ apiKeys: {
1989
+ list(e = {}) {
1990
+ const r = u(e);
1991
+ return a.get(`${n()}/api-keys${r ? `?${r}` : ""}`);
1992
+ },
1993
+ purposes() {
1994
+ return a.get(`${n()}/api-keys/purposes`);
1995
+ },
1996
+ get(e) {
1997
+ return a.get(`${n()}/api-keys/${e}`);
1998
+ },
1999
+ create(e) {
2000
+ return a.post(`${n()}/api-keys`, e);
2001
+ },
2002
+ update(e, r) {
2003
+ return a.patch(`${n()}/api-keys/${e}`, r);
2004
+ },
2005
+ delete(e, r = !1) {
2006
+ const t = r ? "?revoke=true" : "";
2007
+ return a.delete(`${n()}/api-keys/${e}${t}`);
2008
+ }
2009
+ },
2010
+ gateReportManagement: {
2011
+ listApps(e = {}) {
2012
+ return a.get(
2013
+ `${n()}/gate-report/apps?${u(
2014
+ e
2015
+ )}`
2016
+ );
2017
+ },
2018
+ getApp(e, r) {
2019
+ return a.get(
2020
+ `${n()}/gate-report/apps/${e}/${r}`
2021
+ );
2022
+ },
2023
+ listAppEvents(e) {
2024
+ return a.get(
2025
+ `${n()}/gate-report/apps/last-event-status?${u({
2026
+ projectExid: e
2027
+ })}`
2028
+ );
2029
+ },
2030
+ createApp(e) {
2031
+ return a.post(`${n()}/gate-report/apps`, e);
2032
+ },
2033
+ updateApp(e, r, t) {
2034
+ return a.patch(
2035
+ `${n()}/gate-report/apps/${e}/${r}`,
2036
+ t
2037
+ );
2038
+ },
2039
+ deleteApp(e, r) {
2040
+ return a.delete(
2041
+ `${n()}/gate-report/apps/${e}/${r}`
2042
+ );
2043
+ },
2044
+ setAppState(e, r, t) {
2045
+ return a.patch(
2046
+ `${n()}/gate-report/apps/${e}/${r}/state`,
2047
+ { state: t }
2048
+ );
2049
+ },
2050
+ listCoolifyProjects() {
2051
+ return a.get(`${n()}/gate-report/coolify-projects`);
2052
+ },
2053
+ listCoolifyServers() {
2054
+ return a.get(`${n()}/gate-report/coolify-servers`);
2055
+ },
2056
+ listImageTags() {
2057
+ return a.get(`${n()}/gate-report/image-tags`);
2058
+ }
1466
2059
  }
1467
- }, eo = {
2060
+ }, Oo = {
1468
2061
  webRtc: {
1469
2062
  requestIceServers({ url: e, token: r }) {
1470
- return $({
2063
+ return w({
1471
2064
  url: e,
1472
2065
  method: "OPTIONS",
1473
2066
  headers: {
@@ -1480,7 +2073,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1480
2073
  token: r,
1481
2074
  data: t
1482
2075
  }) {
1483
- return $({
2076
+ return w({
1484
2077
  url: e,
1485
2078
  method: "POST",
1486
2079
  headers: {
@@ -1496,7 +2089,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1496
2089
  data: t,
1497
2090
  tag: o
1498
2091
  }) {
1499
- return $({
2092
+ return w({
1500
2093
  url: e,
1501
2094
  method: "PATCH",
1502
2095
  headers: {
@@ -1508,7 +2101,7 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1508
2101
  });
1509
2102
  }
1510
2103
  }
1511
- }, ro = {
2104
+ }, Fo = {
1512
2105
  current(e, r) {
1513
2106
  return a.get(`/projects/${e}/weather/current`, {
1514
2107
  params: r
@@ -1524,23 +2117,23 @@ const f = () => a.env.aiApiUrl, l = () => `${a.env.aiApiUrl}/v2`, yt = {
1524
2117
  });
1525
2118
  }
1526
2119
  };
1527
- function u() {
2120
+ function S() {
1528
2121
  var r;
1529
2122
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1530
2123
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1531
2124
  }
1532
- const ao = {
2125
+ const No = {
1533
2126
  posthog: {
1534
2127
  getEvents(e) {
1535
- return a.get(`${u()}/posthog/events`, e);
2128
+ return a.get(`${S()}/posthog/events`, e);
1536
2129
  },
1537
2130
  getUsers(e) {
1538
- return a.get(`${u()}/posthog/users`, {
2131
+ return a.get(`${S()}/posthog/users`, {
1539
2132
  params: e
1540
2133
  });
1541
2134
  },
1542
2135
  getActiveUsers(e) {
1543
- return a.get(`${u()}/posthog/active-users`, {
2136
+ return a.get(`${S()}/posthog/active-users`, {
1544
2137
  params: e,
1545
2138
  preserveCasing: !0
1546
2139
  });
@@ -1548,14 +2141,14 @@ const ao = {
1548
2141
  },
1549
2142
  copilot: {
1550
2143
  async getAllConversations(e) {
1551
- return a.get(`${u()}/copilot/conversations`, {
2144
+ return a.get(`${S()}/copilot/conversations`, {
1552
2145
  params: e,
1553
2146
  preserveCasing: !0
1554
2147
  });
1555
2148
  },
1556
2149
  async getOneConversation(e) {
1557
2150
  return a.get(
1558
- `${u()}/copilot/conversations/${e}`,
2151
+ `${S()}/copilot/conversations/${e}`,
1559
2152
  {
1560
2153
  preserveCasing: !0
1561
2154
  }
@@ -1563,13 +2156,13 @@ const ao = {
1563
2156
  },
1564
2157
  async getConversationMessages(e, r) {
1565
2158
  return a.get(
1566
- `${u()}/copilot/conversations/${e}/messages`,
2159
+ `${S()}/copilot/conversations/${e}/messages`,
1567
2160
  { params: r, preserveCasing: !0 }
1568
2161
  );
1569
2162
  },
1570
2163
  async getMessageSteps(e) {
1571
2164
  return a.get(
1572
- `${u()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2165
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1573
2166
  );
1574
2167
  },
1575
2168
  async submitMessageFeedback({
@@ -1578,7 +2171,7 @@ const ao = {
1578
2171
  ...t
1579
2172
  }) {
1580
2173
  return a.post(
1581
- `${u()}/copilot/conversations/${e}/messages/${r}/feedback`,
2174
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1582
2175
  t,
1583
2176
  {
1584
2177
  preserveCasing: !0
@@ -1588,7 +2181,7 @@ const ao = {
1588
2181
  },
1589
2182
  siteAnalytics: {
1590
2183
  async getProcessingStatus(e = {}, r = {}) {
1591
- return a.get(`${u()}/site-analytics/processing-status`, {
2184
+ return a.get(`${S()}/site-analytics/processing-status`, {
1592
2185
  params: e,
1593
2186
  ...r,
1594
2187
  preserveCasing: !0
@@ -1597,7 +2190,7 @@ const ao = {
1597
2190
  async getIntersectionsHeatmapData(e) {
1598
2191
  const { cameraExid: r, ...t } = e;
1599
2192
  return a.get(
1600
- `${u()}/site-analytics/cameras/${r}/heatmap/intersections`,
2193
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1601
2194
  {
1602
2195
  params: t,
1603
2196
  preserveCasing: !0
@@ -1608,7 +2201,7 @@ const ao = {
1608
2201
  googleCloudStorage: {
1609
2202
  listFiles(e = "") {
1610
2203
  return a.get(
1611
- `${u()}/gc-storage/buckets/evercam-labs/files`,
2204
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1612
2205
  {
1613
2206
  params: {
1614
2207
  prefix: e
@@ -1619,7 +2212,7 @@ const ao = {
1619
2212
  },
1620
2213
  getSignedUrl(e) {
1621
2214
  return a.get(
1622
- `${u()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2215
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1623
2216
  {
1624
2217
  params: {
1625
2218
  fileName: e
@@ -1632,7 +2225,7 @@ const ao = {
1632
2225
  luminance: {
1633
2226
  getReadings(e) {
1634
2227
  return a.get(
1635
- `${u()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2228
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1636
2229
  {
1637
2230
  params: {
1638
2231
  fromDate: e.fromDate,
@@ -1644,8 +2237,8 @@ const ao = {
1644
2237
  }
1645
2238
  },
1646
2239
  kits: {
1647
- getMetrics(e, r, t = X.Last24Hours) {
1648
- return a.get(`${u()}/kits/${e}/metrics`, {
2240
+ getMetrics(e, r, t = Q.Last24Hours) {
2241
+ return a.get(`${S()}/kits/${e}/metrics`, {
1649
2242
  params: {
1650
2243
  metrics: r,
1651
2244
  from: t
@@ -1654,7 +2247,7 @@ const ao = {
1654
2247
  });
1655
2248
  }
1656
2249
  }
1657
- }, to = {
2250
+ }, Go = {
1658
2251
  apiStatus: {
1659
2252
  getApiStatus() {
1660
2253
  return a.get("/status");
@@ -1664,6 +2257,9 @@ const ao = {
1664
2257
  signup(e) {
1665
2258
  return a.post("/users", e);
1666
2259
  },
2260
+ zohoAuthUrl(e) {
2261
+ return a.post("/support/zoho-auth-url", e);
2262
+ },
1667
2263
  fetchAccessFeatures(e) {
1668
2264
  return a.get(`/users/${e}/features`);
1669
2265
  },
@@ -1681,7 +2277,7 @@ const ao = {
1681
2277
  return a.get(`/auth/provider/${e}`);
1682
2278
  },
1683
2279
  login(e) {
1684
- return a.post("/auth/login", m(e));
2280
+ return a.post("/auth/login", u(e));
1685
2281
  },
1686
2282
  loginWithApiCredentials(e, r) {
1687
2283
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1789,7 +2385,7 @@ const ao = {
1789
2385
  return a.get("/cameras", { params: e, ...e.config });
1790
2386
  },
1791
2387
  getCameraById(e, r) {
1792
- return a.get(`/cameras/${e}?${m(r)}`);
2388
+ return a.get(`/cameras/${e}?${u(r)}`);
1793
2389
  },
1794
2390
  getCameraLastPublicNote(e) {
1795
2391
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1801,7 +2397,7 @@ const ao = {
1801
2397
  return fetch(
1802
2398
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1803
2399
  ).then(
1804
- ({ url: t }) => Wt(t.split("?")[1] || "").access_token
2400
+ ({ url: t }) => po(t.split("?")[1] || "").access_token
1805
2401
  );
1806
2402
  },
1807
2403
  getCameraStatusLogs(e, r) {
@@ -1816,7 +2412,7 @@ const ao = {
1816
2412
  params: e,
1817
2413
  config: r
1818
2414
  } = { params: {}, config: {} }) {
1819
- return a.get(`/projects?${m(e)}`, r);
2415
+ return a.get(`/projects?${u(e)}`, r);
1820
2416
  },
1821
2417
  create(e) {
1822
2418
  return a.post("/projects", e);
@@ -1836,7 +2432,7 @@ const ao = {
1836
2432
  updateLogo(e, r, t) {
1837
2433
  return a.patch(
1838
2434
  `/projects/${e}/logos/${r}`,
1839
- m({ name: t })
2435
+ u({ name: t })
1840
2436
  );
1841
2437
  },
1842
2438
  updateThumbnail(e, r) {
@@ -2159,12 +2755,14 @@ const ao = {
2159
2755
  cameraId: e,
2160
2756
  year: r,
2161
2757
  month: t,
2162
- payload: o
2758
+ payload: o,
2759
+ cancelToken: s
2163
2760
  }) {
2164
2761
  return a.get(
2165
2762
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2166
2763
  {
2167
- params: o
2764
+ params: o,
2765
+ cancelToken: s
2168
2766
  }
2169
2767
  );
2170
2768
  },
@@ -2174,22 +2772,23 @@ const ao = {
2174
2772
  month: t,
2175
2773
  day: o,
2176
2774
  payload: s,
2177
- cancelToken: i
2775
+ cancelToken: g
2178
2776
  }) {
2179
2777
  return a.get(
2180
2778
  `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2181
2779
  {
2182
2780
  params: s,
2183
- cancelToken: i
2781
+ cancelToken: g
2184
2782
  }
2185
2783
  );
2186
2784
  },
2187
2785
  getSnapshot(e, r) {
2188
2786
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2189
2787
  },
2190
- getSnapshotRange(e, r) {
2788
+ getSnapshotRange(e, r, t) {
2191
2789
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2192
- params: r
2790
+ params: r,
2791
+ ...t || {}
2193
2792
  });
2194
2793
  }
2195
2794
  },
@@ -2208,19 +2807,19 @@ const ao = {
2208
2807
  },
2209
2808
  unsubscribe(e, r) {
2210
2809
  return a.patch(
2211
- `/progress-photos/${e}/unsubscribe?${m(
2810
+ `/progress-photos/${e}/unsubscribe?${u(
2212
2811
  r
2213
2812
  )}`
2214
2813
  );
2215
2814
  },
2216
2815
  delete(e, r) {
2217
- return a.delete(`/progress-photos/${e}?${m(r)}`);
2816
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2218
2817
  }
2219
2818
  },
2220
2819
  mediaHub: {
2221
2820
  getAllMedia(e, r) {
2222
2821
  return a.get(
2223
- `projects/${e}/media-hub?${m(r, {
2822
+ `projects/${e}/media-hub?${u(r, {
2224
2823
  forceArrayBrackets: !0
2225
2824
  })}`
2226
2825
  );
@@ -2231,8 +2830,12 @@ const ao = {
2231
2830
  cShow(e, r) {
2232
2831
  return a.get(`/projects/${e}/media-hub/${r}`);
2233
2832
  },
2234
- cCreate(e, r) {
2235
- return a.post(`/projects/${e}/media-hub`, r);
2833
+ cCreate(e, r, t = (o) => {
2834
+ }) {
2835
+ return a.post(`/projects/${e}/media-hub`, r, {
2836
+ onUploadProgress: t,
2837
+ timeout: 72e5
2838
+ });
2236
2839
  },
2237
2840
  cUpdate(e, r, t) {
2238
2841
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2322,7 +2925,7 @@ const ao = {
2322
2925
  },
2323
2926
  archiveOrUnarchiveComment(e, r, t) {
2324
2927
  return a.patch(
2325
- `/projects/${e}/comments/${r}?${m({ archive: t })}`
2928
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2326
2929
  );
2327
2930
  },
2328
2931
  deleteComment(e, r) {
@@ -2334,6 +2937,14 @@ const ao = {
2334
2937
  return a.get("/proxy/storyblok", { params: e });
2335
2938
  }
2336
2939
  },
2940
+ snapshots: {
2941
+ deliverViaEmail(e, r) {
2942
+ return a.post(
2943
+ `/projects/${e}/snapshots/deliver/email`,
2944
+ r
2945
+ );
2946
+ }
2947
+ },
2337
2948
  mailing: {
2338
2949
  unsubscribe(e) {
2339
2950
  return a.post("/mailing/unsubscribe", e);
@@ -2341,7 +2952,7 @@ const ao = {
2341
2952
  },
2342
2953
  widgets: {
2343
2954
  index(e) {
2344
- return a.get(`/widgets?${m(e)}`);
2955
+ return a.get(`/widgets?${u(e)}`);
2345
2956
  },
2346
2957
  show(e) {
2347
2958
  return a.get(`/widgets/${e}`);
@@ -2394,8 +3005,16 @@ const ao = {
2394
3005
  submitConsent(e) {
2395
3006
  return a.post("/oauth/consent", e);
2396
3007
  }
3008
+ },
3009
+ zoho: {
3010
+ getDealLocation(e) {
3011
+ return a.get(`/zoho/deals/${e}/location`);
3012
+ },
3013
+ updateDealLocation(e, r) {
3014
+ return a.post(`/zoho/deals/${e}/location`, r);
3015
+ }
2397
3016
  }
2398
- }, oo = {
3017
+ }, Vo = {
2399
3018
  presets: {
2400
3019
  index({
2401
3020
  cameraExid: e
@@ -2472,324 +3091,367 @@ const ao = {
2472
3091
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2473
3092
  }
2474
3093
  }
2475
- }, c = (e) => ({
2476
- [g.V1]: a.env.ingestApiUrl,
2477
- [g.V2]: a.env.ingestGpuApiUrl,
2478
- [g.V3]: a.env.ingestGpuV3ApiUrl,
2479
- [g.V4]: a.env.ingestGpuV4ApiUrl
2480
- })[e], H = {
3094
+ }, c = (e) => e === p.Drone ? (a.env.ingestDroneApi || "").split(";") : e === p.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2481
3095
  drone: {
2482
3096
  createUpload(e, r) {
2483
3097
  return a.post(
2484
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3098
+ `${c(p.Drone)[0]}/drone/${e}/upload`,
2485
3099
  null,
2486
3100
  { params: r }
2487
3101
  );
2488
3102
  },
2489
- reprocessDrone(e, r = {}) {
2490
- return a.post(
2491
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2492
- null,
2493
- { params: r }
3103
+ async reprocessDrone(e, r = {}) {
3104
+ const t = await T.utils.chooseIngestApiUrl(
3105
+ p.Drone
2494
3106
  );
3107
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2495
3108
  },
2496
3109
  getDrones(e) {
2497
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3110
+ return a.get(
3111
+ `${c(p.Drone)[0]}/drone/uploads/`,
3112
+ e
3113
+ );
2498
3114
  },
2499
3115
  getArchive(e, r) {
2500
3116
  return a.get(
2501
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3117
+ `${c(p.Drone)[0]}/drone/uploads/archive/${e}`,
2502
3118
  {
2503
3119
  params: r
2504
3120
  }
2505
3121
  );
2506
3122
  },
2507
3123
  deleteUpload(e) {
2508
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3124
+ return a.delete(
3125
+ `${c(p.Drone)[0]}/drone/uploads/${e}`
3126
+ );
2509
3127
  },
2510
3128
  prepareForUpload(e, r) {
2511
3129
  return a.put(
2512
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3130
+ `${c(p.Drone)[0]}/drone/${e}/prepare-upload`,
2513
3131
  null,
2514
3132
  { params: r }
2515
3133
  );
2516
3134
  },
2517
- upload(e, r, t) {
2518
- return a.put(
2519
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2520
- t,
2521
- { params: r }
3135
+ async upload(e, r, t) {
3136
+ const o = await T.utils.chooseIngestApiUrl(
3137
+ p.Drone
2522
3138
  );
3139
+ return a.put(`${o}/drone/${e}/upload`, t, {
3140
+ params: r
3141
+ });
2523
3142
  },
2524
3143
  verifyToken(e, r) {
2525
3144
  return a.get(
2526
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3145
+ `${c(p.Drone)[0]}/drone/uploads/${e}/verify`,
2527
3146
  {
2528
3147
  params: { token: r.token }
2529
3148
  }
2530
3149
  );
2531
3150
  },
2532
- calculateMeasuringOperation(e, r) {
3151
+ calculateMeasuringOperation(e, r, t = c(p.Drone)[0]) {
2533
3152
  return a.post(
2534
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3153
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2535
3154
  r
2536
3155
  );
2537
3156
  },
2538
3157
  inspectionTool(e, r) {
2539
3158
  return a.post(
2540
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3159
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-tool`,
2541
3160
  r
2542
3161
  );
2543
3162
  },
2544
3163
  isInspectionEnabled(e, r = {}) {
2545
3164
  return a.post(
2546
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3165
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2547
3166
  null,
2548
3167
  { params: r }
2549
3168
  );
2550
3169
  },
2551
- getDroneQueueSize(e = g.V1) {
2552
- const r = e === g.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2553
- return a.get(`${r}/drone/queue`);
3170
+ getDroneQueueSize(e) {
3171
+ return a.get(`${e}/drone/queue`);
2554
3172
  },
2555
3173
  getFlightImages(e, r) {
2556
3174
  return a.get(
2557
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3175
+ `${c(p.Drone)[0]}/drone/api/${e}/flight-images`,
2558
3176
  {
2559
3177
  params: r
2560
3178
  }
2561
3179
  );
2562
3180
  },
2563
- checkFlightAvailableFeatures(e, r) {
2564
- return a.get(
2565
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2566
- {
2567
- params: r
2568
- }
2569
- );
3181
+ async checkFlightAvailableFeatures(e, r) {
3182
+ var m;
3183
+ const t = c(p.Drone), s = (await Promise.all(
3184
+ t.map(async (d) => {
3185
+ try {
3186
+ return { ...await a.get(
3187
+ `${d}/drone/api/${e}/flight-available-features`,
3188
+ { params: r }
3189
+ ), ingestUrl: d };
3190
+ } catch {
3191
+ return null;
3192
+ }
3193
+ })
3194
+ )).filter(Boolean), g = s.find((d) => d.isVolumeToolEnabled);
3195
+ return (m = g != null ? g : s[0]) != null ? m : {};
2570
3196
  }
2571
3197
  },
2572
3198
  assets360: {
2573
- get360Assets(e, r = g.V1) {
2574
- return a.get(`${c(r)}/360/assets/`, e);
3199
+ get360Assets(e) {
3200
+ const r = c(p.ThreeSixty)[0];
3201
+ return a.get(`${r}/360/assets/`, e);
2575
3202
  },
2576
- get360AssetsCounts(e, r, t = g.V2) {
2577
- return a.get(
2578
- `${c(t)}/360/assets/${e}/counts`,
2579
- {
2580
- params: r
2581
- }
2582
- );
3203
+ get360AssetsCounts(e, r) {
3204
+ const t = c(p.ThreeSixty)[0];
3205
+ return a.get(`${t}/360/assets/${e}/counts`, {
3206
+ params: r
3207
+ });
2583
3208
  },
2584
- get360AssetLink(e, r, t, o, s, i) {
3209
+ get360AssetLink(e, r, t, o, s, g) {
2585
3210
  return a.get(
2586
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${s}`,
3211
+ `${c(p.ThreeSixty)[0]}/360/assets/${e}/${r}/${s}`,
2587
3212
  {
2588
- params: { marker: i, assetType: o, name: t }
3213
+ params: { marker: g, assetType: o, name: t }
2589
3214
  }
2590
3215
  );
2591
3216
  },
2592
- update360(e, r, t = g.V2) {
2593
- return a.put(`${c(t)}/360/assets/${e}`, r);
3217
+ update360(e, r) {
3218
+ const t = c(p.ThreeSixty)[0];
3219
+ return a.put(`${t}/360/assets/${e}`, r);
2594
3220
  },
2595
- update360ByProjectDateName(e, r, t, o, s = g.V2) {
3221
+ update360ByProjectDateName(e, r, t, o) {
3222
+ const s = c(p.ThreeSixty)[0];
2596
3223
  return a.put(
2597
- `${c(s)}/360/assets/${e}/${r}/${t}`,
3224
+ `${s}/360/assets/${e}/${r}/${t}`,
2598
3225
  o
2599
3226
  );
2600
3227
  },
2601
- deleteUpload(e, r = g.V2) {
2602
- return a.delete(`${c(r)}/360/assets/${e}`);
3228
+ deleteUpload(e) {
3229
+ const r = c(p.ThreeSixty)[0];
3230
+ return a.delete(`${r}/360/assets/${e}`);
2603
3231
  },
2604
- getArchive(e, r, t = g.V2) {
2605
- return a.get(`${c(t)}/360/assets/archive/${e}`, {
3232
+ getArchive(e, r) {
3233
+ const t = c(p.ThreeSixty)[0];
3234
+ return a.get(`${t}/360/assets/archive/${e}`, {
2606
3235
  params: r
2607
3236
  });
2608
3237
  },
2609
- createUpload(e, r, t = g.V2) {
2610
- return a.post(
2611
- `${c(t)}/360/${e}/upload`,
2612
- null,
2613
- { params: r }
2614
- );
3238
+ createUpload(e, r) {
3239
+ const t = c(p.ThreeSixty)[0];
3240
+ return a.post(`${t}/360/${e}/upload`, null, {
3241
+ params: r
3242
+ });
2615
3243
  },
2616
- upload(e, r, t, o = g.V2) {
2617
- return a.put(
2618
- `${c(o)}/360/${e}/upload`,
2619
- t,
2620
- {
2621
- params: r,
2622
- headers: {
2623
- "X-Processing-Source": "DASHBOARD"
2624
- }
2625
- }
3244
+ async upload(e, r, t) {
3245
+ const o = await T.utils.chooseIngestApiUrl(
3246
+ p.ThreeSixty
2626
3247
  );
3248
+ return a.put(`${o}/360/${e}/upload`, t, {
3249
+ params: r,
3250
+ headers: {
3251
+ "X-Processing-Source": "DASHBOARD"
3252
+ }
3253
+ });
2627
3254
  },
2628
- reprocess360(e, r = g.V2) {
2629
- return a.put(`${c(r)}/360/${e}/reprocess`);
3255
+ async reprocess360(e) {
3256
+ const r = await T.utils.chooseIngestApiUrl(
3257
+ p.ThreeSixty
3258
+ );
3259
+ return a.put(`${r}/360/${e}/reprocess`);
2630
3260
  },
2631
- drawingExists(e, r = g.V2) {
3261
+ drawingExists(e) {
2632
3262
  var t;
3263
+ const r = c(p.ThreeSixty)[0];
2633
3264
  return a.get(
2634
- `${c(r)}/360/floors/exists?${m(
3265
+ `${r}/360/floors/exists?${u(
2635
3266
  (t = e.params) != null ? t : e
2636
3267
  )}`
2637
3268
  );
2638
3269
  },
2639
- getDrawings(e, r = g.V2) {
3270
+ getDrawings(e) {
2640
3271
  var t;
3272
+ const r = c(p.ThreeSixty)[0];
2641
3273
  return a.get(
2642
- `${c(r)}/360/floors/?${m(
2643
- (t = e.params) != null ? t : e
2644
- )}`,
3274
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
2645
3275
  e.config
2646
3276
  );
2647
3277
  },
2648
- getDrawingById(e, r, t = g.V2) {
3278
+ getDrawingById(e, r) {
3279
+ const t = c(p.ThreeSixty)[0];
2649
3280
  return a.get(
2650
- `${c(t)}/360/floors/${e}?project_id=${r}`
3281
+ `${t}/360/floors/${e}?project_id=${r}`
2651
3282
  );
2652
3283
  },
2653
- updateDrawing(e, r, t, o = g.V2) {
3284
+ updateDrawing(e, r, t) {
3285
+ const o = c(p.ThreeSixty)[0];
2654
3286
  return a.put(
2655
- `${c(
2656
- o
2657
- )}/360/floors/${e}?project_id=${r}`,
3287
+ `${o}/360/floors/${e}?project_id=${r}`,
2658
3288
  t
2659
3289
  );
2660
3290
  },
2661
- deleteDrawing(e, r = g.V2) {
2662
- return a.delete(`${c(r)}/360/floors/${e}`);
3291
+ deleteDrawing(e) {
3292
+ const r = c(p.ThreeSixty)[0];
3293
+ return a.delete(`${r}/360/floors/${e}`);
2663
3294
  },
2664
- transferWalks(e, r, t, o = g.V2) {
3295
+ transferWalks(e, r, t) {
3296
+ const o = c(p.ThreeSixty)[0];
2665
3297
  return a.post(
2666
- `${c(
2667
- o
2668
- )}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3298
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2669
3299
  );
2670
3300
  },
2671
- createDrawing(e, r, t, o = g.V2) {
3301
+ createDrawing(e, r, t) {
3302
+ const o = c(p.ThreeSixty)[0];
2672
3303
  return a.post(
2673
- `${c(
2674
- o
2675
- )}/360/floors/${e}?created_by=${t}`,
3304
+ `${o}/360/floors/${e}?created_by=${t}`,
2676
3305
  r
2677
3306
  );
2678
3307
  },
2679
- fetchDrawingOverlay(e, r, t, o = g.V2) {
2680
- return a.get(`${c(o)}/360/floors/${e}/overlay`, {
3308
+ fetchDrawingOverlay(e, r, t) {
3309
+ const o = c(p.ThreeSixty)[0];
3310
+ return a.get(`${o}/360/floors/${e}/overlay`, {
2681
3311
  params: r,
2682
3312
  onDownloadProgress: t
2683
3313
  });
2684
3314
  },
2685
- getFloorArchive(e, r = g.V2) {
2686
- return a.get(`${c(r)}/360/floors/${e}/archive`);
3315
+ getFloorArchive(e) {
3316
+ const r = c(p.ThreeSixty)[0];
3317
+ return a.get(`${r}/360/floors/${e}/archive`);
2687
3318
  },
2688
- generate360map(e, r, t = g.V2) {
3319
+ generate360map(e, r) {
3320
+ const t = c(p.ThreeSixty)[0];
2689
3321
  return a.post(
2690
- `${c(t)}/360/api/${e}/generate-360-map`,
3322
+ `${t}/360/api/${e}/generate-360-map`,
2691
3323
  r
2692
3324
  );
2693
3325
  },
2694
- get360QueueSize(e, r = g.V2) {
2695
- return a.get(`${c(r)}/360/queue`, { params: e });
3326
+ get360QueueSize(e, r = {}) {
3327
+ return a.get(`${e}/360/queue`, { params: r });
2696
3328
  }
2697
3329
  },
2698
3330
  bim: {
2699
3331
  createUpload(e, r) {
2700
3332
  return a.post(
2701
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3333
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2702
3334
  null,
2703
3335
  { params: r }
2704
3336
  );
2705
3337
  },
2706
3338
  getBIMs(e) {
2707
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3339
+ return a.get(
3340
+ `${c(p.Drone)[0]}/bim/uploads/`,
3341
+ e
3342
+ );
2708
3343
  },
2709
3344
  getArchive(e) {
2710
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3345
+ return a.get(
3346
+ `${c(p.Drone)[0]}/bim/uploads/archive/${e}`
3347
+ );
2711
3348
  },
2712
3349
  deleteUpload(e) {
2713
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3350
+ return a.delete(
3351
+ `${c(p.Drone)[0]}/bim/uploads/${e}`
3352
+ );
2714
3353
  },
2715
3354
  upload(e, r, t) {
2716
3355
  return a.put(
2717
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3356
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2718
3357
  t,
2719
3358
  { params: r }
2720
3359
  );
2721
3360
  }
2722
3361
  },
3362
+ webhook: {
3363
+ notifyBimUpdated(e, r) {
3364
+ const t = {
3365
+ eventName: "bim.updated",
3366
+ projectId: e,
3367
+ data: {
3368
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3369
+ bimIdentifier: r
3370
+ }
3371
+ };
3372
+ return a.post(
3373
+ `${c(p.Drone)[0]}/webhook/`,
3374
+ t
3375
+ );
3376
+ }
3377
+ },
2723
3378
  mobileCapture: {
2724
- getProjectMobileAssets(e, r = {}, t = g.V2) {
2725
- return a.get(`${c(t)}/mobile/assets/`, {
3379
+ getProjectMobileAssets(e, r = {}) {
3380
+ const t = c(p.ThreeSixty)[0];
3381
+ return a.get(`${t}/mobile/assets/`, {
2726
3382
  params: e,
2727
3383
  ...r
2728
3384
  });
2729
3385
  },
2730
- getMobileAssetPhoto(e, r, t = g.V2) {
2731
- return a.get(`${c(t)}/mobile/assets/${e}`, {
3386
+ getMobileAssetPhoto(e, r) {
3387
+ const t = c(p.ThreeSixty)[0];
3388
+ return a.get(`${t}/mobile/assets/${e}`, {
2732
3389
  params: r
2733
3390
  });
2734
3391
  },
2735
- deleteAsset(e, r = g.V2) {
2736
- return a.delete(
2737
- `${c(r)}/mobile/assets/${e}`
2738
- );
3392
+ deleteAsset(e) {
3393
+ const r = c(p.ThreeSixty)[0];
3394
+ return a.delete(`${r}/mobile/assets/${e}`);
2739
3395
  }
2740
3396
  },
2741
3397
  utils: {
2742
3398
  async loadAllAssetsInQueue() {
2743
3399
  try {
2744
- const e = [
2745
- g.V1,
2746
- g.V2,
2747
- g.V3,
2748
- g.V4
2749
- ], r = [];
2750
- for (const t of e) {
2751
- const [o, s] = await Promise.all([
2752
- H.assets360.get360QueueSize({}, t),
2753
- H.drone.getDroneQueueSize(t)
2754
- ]), i = [
2755
- o == null ? void 0 : o.assets360,
2756
- s == null ? void 0 : s.assetsDrone
2757
- ].flatMap(
2758
- (n) => (n || []).map((p) => ({
2759
- ...p,
2760
- ingestVersion: t.toUpperCase()
2761
- }))
2762
- );
2763
- r.push(...i);
2764
- }
2765
- return r.sort(
2766
- (t, o) => new Date(t.updatedAt).getTime() - new Date(o.updatedAt).getTime()
3400
+ const e = c(p.Drone), r = c(p.ThreeSixty), t = [], o = await Promise.all(
3401
+ e.map(async (g) => {
3402
+ const m = await T.drone.getDroneQueueSize(g), d = T.utils.getIngestVersion(g);
3403
+ return ((m == null ? void 0 : m.assetsDrone) || []).map((h) => ({
3404
+ ...h,
3405
+ ingestVersion: d.toUpperCase()
3406
+ }));
3407
+ })
3408
+ ), s = await Promise.all(
3409
+ r.map(async (g) => {
3410
+ const m = await T.assets360.get360QueueSize(g), d = T.utils.getIngestVersion(g);
3411
+ return ((m == null ? void 0 : m.assets360) || []).map((h) => ({
3412
+ ...h,
3413
+ ingestVersion: d.toUpperCase()
3414
+ }));
3415
+ })
3416
+ );
3417
+ return t.push(...o.flat(), ...s.flat()), t.sort(
3418
+ (g, m) => new Date(g.updatedAt).getTime() - new Date(m.updatedAt).getTime()
2767
3419
  );
2768
3420
  } catch (e) {
2769
3421
  return console.error("Error:", e), [];
2770
3422
  }
2771
3423
  },
2772
- async choose360IngestVersion() {
2773
- const e = [g.V2, g.V3, g.V4];
3424
+ getIngestVersion(e) {
3425
+ var t;
3426
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3427
+ },
3428
+ async chooseIngestApiUrl(e) {
3429
+ const r = c(e);
2774
3430
  return (await Promise.all(
2775
- e.map(async (t) => {
2776
- var o;
3431
+ r.map(async (o) => {
3432
+ var s, g;
2777
3433
  try {
2778
- const s = await H.assets360.get360QueueSize(
2779
- {},
2780
- t
2781
- ), i = ((o = s == null ? void 0 : s.assets360) == null ? void 0 : o.length) || 0;
2782
- return { version: t, queue: i };
3434
+ let m = 0;
3435
+ if (e === p.Drone) {
3436
+ const d = await T.drone.getDroneQueueSize(o);
3437
+ m = ((s = d == null ? void 0 : d.assetsDrone) == null ? void 0 : s.length) || 0;
3438
+ } else {
3439
+ const d = await T.assets360.get360QueueSize(
3440
+ o
3441
+ );
3442
+ m = ((g = d == null ? void 0 : d.assets360) == null ? void 0 : g.length) || 0;
3443
+ }
3444
+ return { ingestUrl: o, queue: m };
2783
3445
  } catch {
2784
- return { version: t, queue: 1 / 0 };
3446
+ return { ingestUrl: o, queue: 1 / 0 };
2785
3447
  }
2786
3448
  })
2787
3449
  )).reduce(
2788
- (t, o) => o.queue < t.queue ? o : t
2789
- ).version;
3450
+ (o, s) => s.queue < o.queue ? s : o
3451
+ ).ingestUrl;
2790
3452
  }
2791
3453
  }
2792
- }, so = {
3454
+ }, Ho = {
2793
3455
  users: {
2794
3456
  login({
2795
3457
  apiUrl: e,
@@ -2868,7 +3530,7 @@ const ao = {
2868
3530
  });
2869
3531
  }
2870
3532
  }
2871
- }, io = {
3533
+ }, vo = {
2872
3534
  roles: {
2873
3535
  async get(e) {
2874
3536
  return await a.get("/admin/authz/roles", e);
@@ -2894,20 +3556,12 @@ const ao = {
2894
3556
  async getRoleUsers(e) {
2895
3557
  return a.get(`/admin/authz/roles/${e}/users`);
2896
3558
  },
2897
- async assignUsers(e, r, t) {
3559
+ async assignUsers(e, r, t = "evercam-admin") {
2898
3560
  return a.post(`/admin/authz/roles/${e}/users`, {
2899
3561
  emails: r,
2900
3562
  resourceId: t
2901
3563
  });
2902
3564
  },
2903
- async unassignUsers(e, r, t) {
2904
- return a.delete(`/admin/authz/roles/${e}/users`, {
2905
- params: {
2906
- emails: r,
2907
- resourceId: t
2908
- }
2909
- });
2910
- },
2911
3565
  getUserRoles(e, r) {
2912
3566
  return a.get("/users/roles", {
2913
3567
  params: {
@@ -2947,231 +3601,259 @@ const ao = {
2947
3601
  }
2948
3602
  };
2949
3603
  export {
2950
- te as AconexDocumentDataType,
2951
- oe as AconexFormComponentType,
2952
- ie as AconexIdentifiers,
2953
- se as AconexMandatoryStatus,
2954
- gt as ActiveUsersMetric,
2955
- Ct as AdminApi,
2956
- yt as AiApi,
2957
- ne as AnalyticsEvent,
2958
- le as AnalyticsEventPageId,
2959
- ge as AnprDirection,
2960
- me as AnprEventStatus,
2961
- Wa as AuditLogActionType,
2962
- io as AuthzApi,
2963
- nt as AutomationConfigStep,
2964
- hr as AutomationDialogType,
2965
- it as AutomationProvider,
2966
- lt as AutomationType,
2967
- ke as BIMLayerTypes,
2968
- dt as BadGatewayError,
2969
- pt as BadRequestError,
2970
- ya as BimCompareWidgetSettingsKeys,
2971
- Se as BimModelType,
2972
- De as BimType,
2973
- Te as BimUploadStatus,
2974
- $r as BrainTool,
2975
- we as CameraFeatureFlag,
2976
- Pe as CameraModel,
2977
- st as CameraRegion,
2978
- $e as CameraStatus,
2979
- de as ClipsCategory,
2980
- wr as CloudRecordingDuration,
2981
- br as CloudRecordingFrequency,
2982
- Mr as CloudRecordingStatus,
2983
- ka as CommentsLabel,
2984
- Ta as CommentsScope,
2985
- Ea as CommonWidgetSettingsKeys,
2986
- _e as CompareStatus,
2987
- Tt as ConflictError,
3604
+ Mo as AI_APP_CONFIGS,
3605
+ fo as AI_PROVIDER_CONFIGS,
3606
+ ie as AconexDocumentDataType,
3607
+ ne as AconexFormComponentType,
3608
+ ge as AconexIdentifiers,
3609
+ le as AconexMandatoryStatus,
3610
+ _t as ActiveUsersMetric,
3611
+ _o as AdminApi,
3612
+ Bo as AiApi,
3613
+ Ot as AiApp,
3614
+ Gt as AiConfigsKeyDialogMode,
3615
+ Nt as AiConfigsPromptDialogMode,
3616
+ Vt as AiPromptModel,
3617
+ Ft as AiProvider,
3618
+ pe as AnalyticsEvent,
3619
+ me as AnalyticsEventPageId,
3620
+ ce as AnprDirection,
3621
+ ue as AnprEventStatus,
3622
+ he as AnprExtractionSaveMode,
3623
+ de as AnprExtractionStatus,
3624
+ vt as AppRuntimeState,
3625
+ ya as AuditLogActionType,
3626
+ et as AuditLogEntity,
3627
+ vo as AuthzApi,
3628
+ Dt as AutomationConfigStep,
3629
+ Ur as AutomationDialogType,
3630
+ Pt as AutomationProvider,
3631
+ Rt as AutomationType,
3632
+ Pe as BIMLayerTypes,
3633
+ Zt as BadGatewayError,
3634
+ Wt as BadRequestError,
3635
+ $t as BimCompareWidgetSettingsKeys,
3636
+ Me as BimModelType,
3637
+ He as BimType,
3638
+ fe as BimUploadStatus,
3639
+ Nr as BrainTool,
3640
+ Oe as CameraFeatureFlag,
3641
+ Ne as CameraModel,
3642
+ ft as CameraRegion,
3643
+ je as CameraStatus,
3644
+ be as ClipsCategory,
3645
+ Vr as CloudRecordingDuration,
3646
+ To as CloudRecordingDurationLabel,
3647
+ Gr as CloudRecordingFrequency,
3648
+ Hr as CloudRecordingStatus,
3649
+ Na as CommentsLabel,
3650
+ Fa as CommentsScope,
3651
+ dt as CommonWidgetSettingsKeys,
3652
+ ve as CompareStatus,
3653
+ Qt as ConflictError,
2988
3654
  O as Connector,
2989
- ca as ContactRole,
2990
- He as CopilotChatProvider,
2991
- Fe as CopilotLayout,
2992
- Ue as CopilotMessageAuthor,
2993
- Be as CopilotMessageType,
2994
- ze as CopilotMissingFieldComponent,
2995
- xe as CopilotMissingFieldName,
2996
- ve as CopilotMissingFieldType,
2997
- Oe as CopilotMissingFieldsLabels,
2998
- Ne as CopilotProvider,
2999
- Ve as CopilotSocketEvent,
3000
- je as CopilotStepId,
3001
- Ge as CopilotSuggestion,
3002
- We as CopilotToolId,
3003
- ot as CountryCode,
3004
- tt as CountryId,
3005
- Ca as DelayUnit,
3006
- qe as DetectionLabel,
3007
- ba as DetectionModel,
3008
- Z as DownloadFileType,
3009
- Le as DroneUrlParams,
3010
- fe as DuplicatedCameraFields,
3011
- Kr as EDistortImageModes,
3012
- Cr as EMapTypes,
3013
- Er as EMarkers,
3014
- Ar as EPageType,
3015
- Ir as EPaths,
3016
- yr as EProjectItems,
3017
- ea as ERoles,
3018
- S as ErrorCode,
3019
- h as ErrorType,
3020
- to as EvercamApi,
3021
- Ze as EvercamApiErrorCode,
3022
- ao as EvercamLabsApi,
3023
- so as ExNvrApi,
3024
- ta as ExNvrDeviceState,
3025
- aa as ExNvrFootageAvailableStatus,
3026
- oa as ExNvrMetricId,
3027
- fa as FeedbackContext,
3028
- St as ForbiddenError,
3029
- Ye as GateReportDataSource,
3030
- Xe as GateReportDetectionType,
3031
- Ke as GateReportEventDirection,
3032
- Qe as GateReportEventType,
3033
- Ce as GateReportExportType,
3034
- Ee as GateReportProcessingStatus,
3035
- L as GateReportVehicleType,
3036
- ht as GatewayTimeoutError,
3037
- Ga as GrafanaMetricId,
3038
- Ae as HddFormat,
3039
- ar as HddSize,
3040
- ye as HddState,
3041
- Re as HddStatus,
3042
- Ie as HddType,
3043
- Jt as HlsError,
3044
- Ra as InfoPage,
3045
- H as IngestApi,
3046
- tr as IngestProcessingStatus,
3047
- g as IngestVersions,
3048
- be as IntensityChange,
3049
- Lt as IntensityChangeColorMap,
3050
- kt as InternalServerError,
3051
- Zr as InviteStatus,
3052
- Va as KitAlarm,
3053
- Ha as KitChartType,
3054
- Na as KitMetricId,
3055
- X as KitMetricPeriod,
3056
- Oa as KitRegion,
3057
- ja as KitStatus,
3058
- Fa as KitStorageTransport,
3059
- Ia as LiveViewWidgetSettingsKeys,
3060
- sr as MapType,
3061
- ce as MediaFileType,
3062
- ue as MediaStatus,
3063
- he as MediaStatusId,
3064
- pe as MediaType,
3065
- or as MobileAssetsType,
3066
- Ma as MobileDevice,
3067
- ct as NotFoundError,
3068
- lr as NotificationType,
3069
- nr as NvrDeviceType,
3070
- gr as NvrHddStatus,
3071
- Me as NvrModel,
3072
- Kt as OnRequestExpiredTokenInterceptor,
3073
- ae as PathMarkerColor,
3074
- Jr as PerformanceStatus,
3075
- ua as Persona,
3076
- xr as PowerSchedule,
3077
- zr as PowerType,
3078
- $a as PpeLabel,
3079
- mr as ProcoreObservationCustomFieldDataType,
3080
- pr as ProcoreObservationDefaultFieldNames,
3081
- ur as ProcoreToolUserAccessLevelIds,
3082
- cr as ProcoreTools,
3083
- ir as ProcoreType,
3084
- Sr as ProjectArchiveTier,
3085
- Tr as ProjectFeatureFlag,
3086
- dr as ProjectStatus,
3087
- ra as ProjectStorageProvider,
3088
- kr as ProjectStorageStatus,
3089
- oo as PtzApi,
3090
- Ua as PtzDirection,
3091
- Aa as RecordingsWidgetSettingsKeys,
3092
- _r as RoiDirection,
3093
- Dr as RoiShapeType,
3094
- fr as RoiType,
3095
- mt as RoleResourceType,
3096
- Lr as RouterScanInputMode,
3097
- vr as RouterStatus,
3098
- Je as SegmentLabel,
3099
- Xr as ShareVisibility,
3100
- va as SiteAnalyticsMode,
3101
- Ka as SiteAnalyticsViewType,
3102
- La as SmartSearchComponentType,
3103
- Za as SmartSearchCondition,
3104
- Ya as SmartSearchConditionTypes,
3105
- qa as SmartSearchOperatorType,
3106
- Ja as SmartSearchOperators,
3107
- Qa as SmartSearchReturnType,
3108
- Xa as SmartSearchTargets,
3109
- Qr as SmsCommands,
3110
- qr as SmsStatuses,
3111
- Yt as SnapshotError,
3112
- Pr as SnapshotExtractionInterval,
3113
- za as SnapshotExtractionStatus,
3114
- xa as SnapshotExtractionType,
3115
- _a as TaskStatus,
3116
- rt as ThreeSixtyKeys,
3117
- ia as TimelapseDuration,
3118
- ma as TimelapseExportStep,
3119
- na as TimelapsePeriod,
3120
- la as TimelapseScheduleType,
3121
- sa as TimelapseStatus,
3122
- ga as TimelapseType,
3123
- jr as Timeline360UrlParams,
3124
- Hr as TimelineAnprUrlParams,
3125
- Nr as TimelineBimUrlParams,
3126
- Wr as TimelineCommentsUrlParams,
3127
- Or as TimelineDroneUrlParams,
3128
- Gr as TimelineExNvrRecordingsUrlParams,
3129
- Vr as TimelineMediaUrlParams,
3130
- Fr as TimelineMobileCaptureUrlParams,
3131
- Da as TimelinePrecision,
3132
- Br as TimelineUrlParam,
3133
- ut as UnauthorizedError,
3134
- wa as UnitSystem,
3135
- Ur as UrlParamValue,
3136
- pa as UserFeatureFlag,
3137
- Zt as VEHICLE_TYPE_IDS,
3138
- Et as VideoWallApi,
3139
- ha as VideoWallItemType,
3140
- et as VideoWallWidgetSettingsKeys,
3141
- Rr as VpnServer,
3142
- rr as WarehouseLocation,
3143
- er as WarehouseLocationIndex,
3144
- ro as WeatherApi,
3145
- Sa as WeatherProvider,
3146
- da as WeatherReportScope,
3147
- Yr as WebGLExtensions,
3148
- eo as WebRtcApi,
3149
- at as WidgetType,
3150
- Xt as WidgetTypesByResource,
3151
- Ba as ZoomDirection,
3152
- y as _360AssetLabel,
3153
- I as _360AssetType,
3154
- ee as _360Feature,
3155
- re as _360IntergrationType,
3156
- A as _360UrlParams,
3157
- At as _3dFirebaseApi,
3158
- Pa as _3dViewer,
3655
+ _a as ContactRole,
3656
+ qe as CopilotChatProvider,
3657
+ Je as CopilotLayout,
3658
+ We as CopilotMessageAuthor,
3659
+ xe as CopilotMessageType,
3660
+ Ke as CopilotMissingFieldComponent,
3661
+ Ce as CopilotMissingFieldName,
3662
+ Ee as CopilotMissingFieldType,
3663
+ Le as CopilotMissingFieldsLabels,
3664
+ Xe as CopilotProvider,
3665
+ Ze as CopilotSocketEvent,
3666
+ ze as CopilotStepId,
3667
+ Qe as CopilotSuggestion,
3668
+ Ye as CopilotToolId,
3669
+ Mt as CountryCode,
3670
+ wt as CountryId,
3671
+ ut as DelayUnit,
3672
+ or as DetectionLabel,
3673
+ Va as DetectionModel,
3674
+ X as DownloadFileType,
3675
+ Ie as DroneMarkerType,
3676
+ er as DroneProvider,
3677
+ Ae as DroneTagType,
3678
+ ye as DroneUrlParams,
3679
+ Ve as DuplicatedCameraFields,
3680
+ ga as EDistortImageModes,
3681
+ ma as EMapTypes,
3682
+ pa as EMarkers,
3683
+ ca as EPageType,
3684
+ ua as EPaths,
3685
+ da as EProjectItems,
3686
+ ha as ERoles,
3687
+ k as ErrorCode,
3688
+ $ as ErrorType,
3689
+ Go as EvercamApi,
3690
+ rr as EvercamApiErrorCode,
3691
+ No as EvercamLabsApi,
3692
+ Ho as ExNvrApi,
3693
+ Ta as ExNvrDeviceState,
3694
+ $a as ExNvrFootageAvailableStatus,
3695
+ ka as ExNvrMetricId,
3696
+ La as FeedbackContext,
3697
+ Xt as ForbiddenError,
3698
+ Ue as ForgeBimDialogTrigger,
3699
+ De as ForgeBimFileRejectionReason,
3700
+ Re as ForgeBimUploadMethod,
3701
+ _e as ForgeBimUploadStage,
3702
+ ir as GateReportDataSource,
3703
+ ar as GateReportDetectionType,
3704
+ nr as GateReportEventDirection,
3705
+ tr as GateReportEventType,
3706
+ lr as GateReportExportType,
3707
+ gr as GateReportProcessingStatus,
3708
+ Z as GateReportVehicleType,
3709
+ Lt as GatewayTimeoutError,
3710
+ Ea as GrafanaMetricId,
3711
+ mr as HddFormat,
3712
+ hr as HddSize,
3713
+ cr as HddState,
3714
+ Ge as HddStatus,
3715
+ pr as HddType,
3716
+ Po as HlsError,
3717
+ za as InfoPage,
3718
+ T as IngestApi,
3719
+ Sr as IngestProcessingStatus,
3720
+ p as IngestTypes,
3721
+ Tr as IngestVersions,
3722
+ Be as IntensityChange,
3723
+ So as IntensityChangeColorMap,
3724
+ qt as InternalServerError,
3725
+ aa as InviteStatus,
3726
+ Ka as KitAlarm,
3727
+ Aa as KitChartType,
3728
+ Ca as KitMetricId,
3729
+ Q as KitMetricPeriod,
3730
+ Ya as KitRegion,
3731
+ Ja as KitStatus,
3732
+ Ia as KitStorageTransport,
3733
+ St as LiveViewWidgetSettingsKeys,
3734
+ kr as MapType,
3735
+ we as MediaCategory,
3736
+ $e as MediaFileType,
3737
+ Te as MediaStatus,
3738
+ ke as MediaStatusId,
3739
+ Se as MediaType,
3740
+ $r as MobileAssetsType,
3741
+ Wa as MobileDevice,
3742
+ xt as NotFoundError,
3743
+ wr as NotificationType,
3744
+ Mr as NvrDeviceType,
3745
+ fr as NvrHddStatus,
3746
+ Fe as NvrModel,
3747
+ Do as OnRequestExpiredTokenInterceptor,
3748
+ Ha as Operator,
3749
+ se as PathMarkerColor,
3750
+ ia as PerformanceStatus,
3751
+ Ua as Persona,
3752
+ la as PlannerUrlParams,
3753
+ yr as PowerSchedule,
3754
+ Ir as PowerType,
3755
+ Ga as PpeLabel,
3756
+ Pr as ProcoreObservationCustomFieldDataType,
3757
+ Rr as ProcoreObservationDefaultFieldNames,
3758
+ _r as ProcoreToolUserAccessLevelIds,
3759
+ Dr as ProcoreTools,
3760
+ br as ProcoreType,
3761
+ Br as ProjectArchiveTier,
3762
+ Or as ProjectFeatureFlag,
3763
+ jr as ProjectStatus,
3764
+ Sa as ProjectStorageProvider,
3765
+ Fr as ProjectStorageStatus,
3766
+ Vo as PtzApi,
3767
+ Qa as PtzDirection,
3768
+ ht as RecordingsWidgetSettingsKeys,
3769
+ Lr as RoiDirection,
3770
+ zr as RoiShapeType,
3771
+ xr as RoiType,
3772
+ Ut as RoleResourceType,
3773
+ ra as RouterScanInputMode,
3774
+ ea as RouterStatus,
3775
+ sr as SegmentLabel,
3776
+ ta as ShareVisibility,
3777
+ ot as SiteAnalyticsMode,
3778
+ ct as SiteAnalyticsViewType,
3779
+ jt as SiteViewSoftwareType,
3780
+ Bt as SiteViewerType,
3781
+ st as SmartSearchComponentType,
3782
+ it as SmartSearchCondition,
3783
+ pt as SmartSearchConditionTypes,
3784
+ gt as SmartSearchOperatorType,
3785
+ mt as SmartSearchOperators,
3786
+ lt as SmartSearchReturnType,
3787
+ nt as SmartSearchTargets,
3788
+ oa as SmsCommands,
3789
+ sa as SmsStatuses,
3790
+ Ro as SnapshotError,
3791
+ vr as SnapshotExtractionInterval,
3792
+ rt as SnapshotExtractionStatus,
3793
+ at as SnapshotExtractionType,
3794
+ tt as SnapshotTransferStatus,
3795
+ Xa as TaskStatus,
3796
+ kt as ThreeSixtyKeys,
3797
+ wa as TimelapseDuration,
3798
+ Ra as TimelapseExportStep,
3799
+ fa as TimelapsePeriod,
3800
+ Ma as TimelapseScheduleType,
3801
+ ba as TimelapseStatus,
3802
+ Pa as TimelapseType,
3803
+ Qr as Timeline360UrlParams,
3804
+ Cr as TimelineAnprUrlParams,
3805
+ Yr as TimelineBimUrlParams,
3806
+ Ar as TimelineCommentsUrlParams,
3807
+ qr as TimelineDroneUrlParams,
3808
+ Kr as TimelineExNvrRecordingsUrlParams,
3809
+ Jr as TimelineMediaUrlParams,
3810
+ Er as TimelineMobileCaptureUrlParams,
3811
+ Za as TimelinePrecision,
3812
+ Xr as TimelineUrlParam,
3813
+ zt as UnauthorizedError,
3814
+ va as UnitSystem,
3815
+ Zr as UrlParamValue,
3816
+ Da as UserFeatureFlag,
3817
+ $o as VEHICLE_TYPE_IDS,
3818
+ Ht as VehicleClassifierSource,
3819
+ Uo as VideoWallApi,
3820
+ ja as VideoWallItemType,
3821
+ Tt as VideoWallWidgetSettingsKeys,
3822
+ Wr as VpnServer,
3823
+ dr as WarehouseLocation,
3824
+ ur as WarehouseLocationIndex,
3825
+ Fo as WeatherApi,
3826
+ Oa as WeatherProvider,
3827
+ Ba as WeatherReportScope,
3828
+ na as WebGLExtensions,
3829
+ Oo as WebRtcApi,
3830
+ bt as WidgetType,
3831
+ ko as WidgetTypesByResource,
3832
+ qa as ZoomDirection,
3833
+ ae as _360AssetLabel,
3834
+ re as _360AssetType,
3835
+ te as _360Feature,
3836
+ oe as _360IntergrationType,
3837
+ y as _360PinType,
3838
+ ee as _360UrlParams,
3839
+ jo as _3dFirebaseApi,
3840
+ xa as _3dViewer,
3159
3841
  a as axios,
3160
- It as capitalizeFirstLetter,
3161
- q as ensureCommonHeaders,
3162
- f as getAiApiUrl,
3163
- l as getAiApiUrlV2,
3164
- d as getFirebaseDbApi,
3165
- Ft as getFirebaseStorageToken,
3166
- Ht as getFirebaseStorageUrl,
3167
- c as getIngestApiUrl,
3168
- u as getLabsBaseUrl,
3169
- qt as isCameraRole,
3170
- Qt as isProjectRole,
3171
- Q as onError,
3172
- wt as onRequest,
3173
- Mt as onResponse,
3174
- Wt as queryStringToObject,
3175
- m as toQueryString
3842
+ J as ensureCommonHeaders,
3843
+ L as getAiApiUrl,
3844
+ n as getAiApiUrlV2,
3845
+ l as getFirebaseDbApi,
3846
+ go as getFirebaseStorageToken,
3847
+ lo as getFirebaseStorageUrl,
3848
+ mo as getForgeTokenServerUrl,
3849
+ c as getIngestApiUrls,
3850
+ S as getLabsBaseUrl,
3851
+ wo as isCameraRole,
3852
+ bo as isProjectRole,
3853
+ q as onError,
3854
+ Kt as onRequest,
3855
+ Ct as onResponse,
3856
+ po as queryStringToObject,
3857
+ u as toQueryString
3176
3858
  };
3177
3859
  //# sourceMappingURL=index.js.map