@conboai/app.db.query 1.2.2 → 1.2.4
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.
package/dist/app.db.query.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,*:after,*:before{box-sizing:inherit}html{box-sizing:border-box}body,html{padding:0;margin:0;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;font-variant-ligatures:none;line-height:1.5;scroll-behavior:smooth}section{width:100%}img{max-width:100%;height:auto}button.gm-fullscreen-control{background-color:#0000007f!important;width:32px!important;height:32px!important;border-radius:4px!important}button.gm-fullscreen-control:hover{opacity:70%}button.gm-fullscreen-control img{filter:brightness(0) invert(1);opacity:80%;width:16px!important;height:18px}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}}.Toastify__toast{--y: 0;position:relative;-ms-touch-action:none;touch-action:none;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0;overflow:hidden}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial;border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp{position:absolute;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.custom-toast-container{width:auto;padding:0}.custom-toast{max-width:496px;height:64px;position:relative;background-color:#fff;border-radius:8px;padding:12px;box-shadow:0 2px 10px #0000001a;display:flex;align-items:center}.custom-toast-body{display:flex;align-items:center;font-weight:500;color:#333;font-size:14px;gap:12px;padding:0;margin:0 30px 0 0}.custom-toast .Toastify__toast-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;margin:0}.custom-toast--error .Toastify__toast-icon{background-color:#fde8e8;color:#d32f2f}.custom-toast--warning .Toastify__toast-icon{background-color:#fff4e5;color:#ed6c02}.custom-toast--info .Toastify__toast-icon{background-color:#e7f3ff;color:#0288d1}.custom-toast--success .Toastify__toast-icon{background-color:#e8f5e9;color:#2e7d32}.Toastify__close-button{position:absolute;top:8px;right:8px;color:#9e9e9e;background:none;border:none;font-size:18px;cursor:pointer}.Toastify__close-button:hover{color:#616161}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
import { a as r, e as t, C as i, b as n, d as c, c as l, E as p, F as C, H as h, I as m, P as S, S as g, f as y } from "./index-
|
|
2
|
+
import { a as r, e as t, C as i, b as n, d as c, c as l, E as p, F as C, H as h, I as m, P as S, S as g, f as y } from "./index-d81f138b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
export {
|
|
@@ -98440,7 +98440,7 @@ function r$e(e, t) {
|
|
|
98440
98440
|
je(() => {
|
|
98441
98441
|
const c = e.mapLib;
|
|
98442
98442
|
let u = !0, d;
|
|
98443
|
-
return Promise.resolve(c || import("./mapbox-gl-CkD_wa7N-
|
|
98443
|
+
return Promise.resolve(c || import("./mapbox-gl-CkD_wa7N-2fb4c835.js").then((h) => h.m)).then((h) => {
|
|
98444
98444
|
if (!u)
|
|
98445
98445
|
return;
|
|
98446
98446
|
if (!h)
|
|
@@ -134439,96 +134439,97 @@ const Wit = (e) => e.map((t) => ({ x: t[0], y: t[1] })), Mk = (e) => e.map((t) =
|
|
|
134439
134439
|
})), Ow = ({
|
|
134440
134440
|
type: e,
|
|
134441
134441
|
imageUrl: t,
|
|
134442
|
-
|
|
134443
|
-
|
|
134444
|
-
|
|
134445
|
-
|
|
134446
|
-
|
|
134447
|
-
|
|
134448
|
-
|
|
134449
|
-
|
|
134450
|
-
|
|
134451
|
-
|
|
134452
|
-
|
|
134453
|
-
|
|
134454
|
-
|
|
134455
|
-
|
|
134456
|
-
|
|
134442
|
+
isIndoor: n,
|
|
134443
|
+
trailPixelPoints: r = [],
|
|
134444
|
+
trailGeoCoordinates: o = [],
|
|
134445
|
+
fov: i,
|
|
134446
|
+
crossLines: s,
|
|
134447
|
+
zones: a,
|
|
134448
|
+
googleMapsApiKey: l,
|
|
134449
|
+
markerGeoPoint: c = null,
|
|
134450
|
+
markerPixelPoint: u = null,
|
|
134451
|
+
scaleNumber: d,
|
|
134452
|
+
fullscreenControl: h,
|
|
134453
|
+
darkShapeMode: m = !1,
|
|
134454
|
+
mapOverlay: g,
|
|
134455
|
+
shapesStyles: y,
|
|
134456
|
+
imageStyles: b = {},
|
|
134457
|
+
showZoomControls: T = !1
|
|
134457
134458
|
}) => {
|
|
134458
|
-
var
|
|
134459
|
-
const
|
|
134459
|
+
var A;
|
|
134460
|
+
const v = {
|
|
134460
134461
|
id: "1",
|
|
134461
134462
|
showDirection: !1,
|
|
134462
|
-
coordinates: Mk(
|
|
134463
|
+
coordinates: Mk(o),
|
|
134463
134464
|
type: es.Polyline
|
|
134464
|
-
},
|
|
134465
|
+
}, x = c != null && c.length ? {
|
|
134465
134466
|
id: "positioning-marker",
|
|
134466
134467
|
type: es.Circle,
|
|
134467
|
-
coordinates: Mk([
|
|
134468
|
+
coordinates: Mk([c]),
|
|
134468
134469
|
text: "",
|
|
134469
134470
|
styles: {
|
|
134470
134471
|
strokeWeight: 0,
|
|
134471
134472
|
radius: 1.6,
|
|
134472
134473
|
fillOpacity: 1,
|
|
134473
|
-
fillColor: "
|
|
134474
|
+
fillColor: "red"
|
|
134474
134475
|
}
|
|
134475
|
-
} : null,
|
|
134476
|
+
} : null, D = i ? {
|
|
134476
134477
|
id: "fov",
|
|
134477
|
-
coordinates: Mk(((
|
|
134478
|
+
coordinates: Mk(((A = i == null ? void 0 : i.geo_points) == null ? void 0 : A.coordinates[0]) || []),
|
|
134478
134479
|
type: es.Polygon,
|
|
134479
134480
|
color: "#00bc2f",
|
|
134480
134481
|
styles: { fillColor: "transparent" }
|
|
134481
|
-
} : null,
|
|
134482
|
+
} : null, w = sk(s), I = sk((s == null ? void 0 : s.map(vle)) || []), k = sk(a), U = {
|
|
134482
134483
|
id: "1",
|
|
134483
|
-
points: Wit(
|
|
134484
|
+
points: Wit(r),
|
|
134484
134485
|
type: Tr.Polyline,
|
|
134485
|
-
showStartMarker: !1
|
|
134486
|
-
|
|
134486
|
+
showStartMarker: !1,
|
|
134487
|
+
showEndDirection: !1
|
|
134488
|
+
}, P = u ? {
|
|
134487
134489
|
id: "positioning-marker",
|
|
134488
134490
|
type: Tr.Point,
|
|
134489
|
-
points: [
|
|
134490
|
-
|
|
134491
|
+
points: [
|
|
134492
|
+
n ? { x: u[1], y: u[0] } : { x: u[0], y: u[1] }
|
|
134493
|
+
],
|
|
134494
|
+
styles: { stroke: "transparent", fill: "red", radius: 7 },
|
|
134491
134495
|
header: { text: "" }
|
|
134492
134496
|
} : null;
|
|
134493
134497
|
return /* @__PURE__ */ Y.jsxs(Be, { width: "100%", height: "100%", borderRadius: 3, position: "relative", children: [
|
|
134494
134498
|
e === ZN.Geo && /* @__PURE__ */ Y.jsx(
|
|
134495
134499
|
f9,
|
|
134496
134500
|
{
|
|
134497
|
-
googleMapsApiKey:
|
|
134501
|
+
googleMapsApiKey: l,
|
|
134498
134502
|
showDirection: !1,
|
|
134499
134503
|
mode: { type: "view", shape: "polyline" },
|
|
134500
134504
|
data: [
|
|
134501
|
-
...
|
|
134502
|
-
|
|
134503
|
-
|
|
134505
|
+
...D ? [D] : [],
|
|
134506
|
+
v,
|
|
134507
|
+
...k,
|
|
134508
|
+
...w,
|
|
134504
134509
|
...I,
|
|
134505
|
-
...
|
|
134506
|
-
...w
|
|
134510
|
+
...x ? [x] : []
|
|
134507
134511
|
],
|
|
134508
134512
|
showNumbers: !1,
|
|
134509
134513
|
disableControls: !0,
|
|
134510
|
-
scaleNumber:
|
|
134511
|
-
fullscreenControl:
|
|
134512
|
-
mapOverlay:
|
|
134514
|
+
scaleNumber: d,
|
|
134515
|
+
fullscreenControl: h,
|
|
134516
|
+
mapOverlay: g
|
|
134513
134517
|
}
|
|
134514
134518
|
),
|
|
134515
|
-
e === ZN.Pixel && /* @__PURE__ */ Y.jsx(XP, { showControls:
|
|
134519
|
+
e === ZN.Pixel && /* @__PURE__ */ Y.jsx(XP, { showControls: T, minScale: 1, maxScale: 3, step: 0.1, children: /* @__PURE__ */ Y.jsx(
|
|
134516
134520
|
h9,
|
|
134517
134521
|
{
|
|
134518
134522
|
showDirection: !0,
|
|
134519
134523
|
menu: { show: !1 },
|
|
134520
134524
|
shapes: [
|
|
134521
|
-
...
|
|
134522
|
-
|
|
134525
|
+
...P ? [P] : [],
|
|
134526
|
+
U
|
|
134523
134527
|
],
|
|
134524
134528
|
mode: br.View,
|
|
134525
134529
|
showPoints: !1,
|
|
134526
134530
|
showId: !1,
|
|
134527
|
-
polylineProps: {
|
|
134528
|
-
|
|
134529
|
-
polylineCircleFill: "#1975d2"
|
|
134530
|
-
},
|
|
134531
|
-
styles: g,
|
|
134531
|
+
polylineProps: {},
|
|
134532
|
+
styles: y,
|
|
134532
134533
|
children: t ? /* @__PURE__ */ Y.jsxs(Be, { position: "relative", width: "100%", height: "100%", children: [
|
|
134533
134534
|
/* @__PURE__ */ Y.jsx(
|
|
134534
134535
|
ml,
|
|
@@ -134540,11 +134541,11 @@ const Wit = (e) => e.map((t) => ({ x: t[0], y: t[1] })), Mk = (e) => e.map((t) =
|
|
|
134540
134541
|
width: "100%",
|
|
134541
134542
|
height: "100%",
|
|
134542
134543
|
objectFit: "contain",
|
|
134543
|
-
...
|
|
134544
|
+
...b
|
|
134544
134545
|
}
|
|
134545
134546
|
}
|
|
134546
134547
|
),
|
|
134547
|
-
|
|
134548
|
+
m && /* @__PURE__ */ Y.jsx(
|
|
134548
134549
|
Be,
|
|
134549
134550
|
{
|
|
134550
134551
|
sx: {
|
|
@@ -134651,6 +134652,7 @@ const Wit = (e) => e.map((t) => ({ x: t[0], y: t[1] })), Mk = (e) => e.map((t) =
|
|
|
134651
134652
|
) : /* @__PURE__ */ Y.jsx(Y.Fragment, { children: h ? /* @__PURE__ */ Y.jsx(
|
|
134652
134653
|
Ow,
|
|
134653
134654
|
{
|
|
134655
|
+
isIndoor: !0,
|
|
134654
134656
|
showZoomControls: !0,
|
|
134655
134657
|
type: 1,
|
|
134656
134658
|
trailPixelPoints: n,
|
|
@@ -134660,6 +134662,7 @@ const Wit = (e) => e.map((t) => ({ x: t[0], y: t[1] })), Mk = (e) => e.map((t) =
|
|
|
134660
134662
|
) : /* @__PURE__ */ Y.jsx(
|
|
134661
134663
|
Ow,
|
|
134662
134664
|
{
|
|
134665
|
+
isIndoor: !1,
|
|
134663
134666
|
type: 0,
|
|
134664
134667
|
trailGeoCoordinates: t,
|
|
134665
134668
|
googleMapsApiKey: CZ,
|
|
@@ -155988,97 +155991,99 @@ const e0t = ({
|
|
|
155988
155991
|
const t = Xs(S0t(e)), n = Xs(O0t(e));
|
|
155989
155992
|
return { loading: t, error: n };
|
|
155990
155993
|
}, j0t = ({ deploymentId: e, baseUrl: t = "", links: n }) => {
|
|
155991
|
-
var
|
|
155994
|
+
var ee, ie, de, G;
|
|
155992
155995
|
const {
|
|
155993
155996
|
selectedConboKey: r,
|
|
155994
155997
|
topOne: o,
|
|
155995
155998
|
pixelGeo: i,
|
|
155996
155999
|
floorPlanPixelGeo: s,
|
|
155997
156000
|
floorPlan: a,
|
|
155998
|
-
|
|
155999
|
-
|
|
156000
|
-
|
|
156001
|
-
|
|
156002
|
-
|
|
156003
|
-
|
|
156004
|
-
|
|
156005
|
-
|
|
156006
|
-
|
|
156007
|
-
|
|
156001
|
+
frameDetails: l,
|
|
156002
|
+
geo: c,
|
|
156003
|
+
tabFovInfo: u,
|
|
156004
|
+
snapshots: d,
|
|
156005
|
+
classifierSummaryRight: h,
|
|
156006
|
+
feed: m,
|
|
156007
|
+
regions: g,
|
|
156008
|
+
selectedCrossLines: y,
|
|
156009
|
+
selectedZones: b,
|
|
156010
|
+
panelCheckboxes: T
|
|
156011
|
+
} = We(Ft), { detailsLoading: v, vehicleInfoImages: x, trailLoading: D, snapshotsLoading: w } = Uo(), { kitsElements: I } = no(), k = We((te) => te.newFeeds), U = Vp(k, m[0]), P = U == null ? void 0 : U.is_indoor, { loading: A } = Bc(
|
|
156008
156012
|
"FetchVehicleInfoImages"
|
|
156009
|
-
),
|
|
156013
|
+
), L = I0t(), R = !!r, E = l.find((te) => te.conbo_key === r) || null, N = hd(d, t), O = Ot(
|
|
156010
156014
|
() => ({
|
|
156011
|
-
feedImages:
|
|
156012
|
-
objectImages:
|
|
156013
|
-
feedImagesLoading:
|
|
156014
|
-
objectImagesLoading:
|
|
156015
|
+
feedImages: N,
|
|
156016
|
+
objectImages: x,
|
|
156017
|
+
feedImagesLoading: w === "pending",
|
|
156018
|
+
objectImagesLoading: A
|
|
156015
156019
|
}),
|
|
156016
|
-
[
|
|
156017
|
-
),
|
|
156018
|
-
(
|
|
156019
|
-
)) == null ? void 0 :
|
|
156020
|
-
var
|
|
156021
|
-
return
|
|
156022
|
-
}, [
|
|
156023
|
-
const
|
|
156024
|
-
return h_(
|
|
156025
|
-
}, [
|
|
156026
|
-
geoCoordinates:
|
|
156027
|
-
floorPlanCoordinates:
|
|
156028
|
-
pixelCoordinates:
|
|
156029
|
-
|
|
156030
|
-
|
|
156031
|
-
|
|
156020
|
+
[N, x, A, w]
|
|
156021
|
+
), z = Yp(O), j = $p(N, x), F = (ee = c == null ? void 0 : c.geometry) == null ? void 0 : ee.coordinates, V = (ie = i == null ? void 0 : i.geometry) == null ? void 0 : ie.coordinates, _ = ((de = s == null ? void 0 : s.geometry) == null ? void 0 : de.coordinates) || [], $ = (G = T == null ? void 0 : T.find(
|
|
156022
|
+
(te) => (te == null ? void 0 : te.label) === "FOV"
|
|
156023
|
+
)) == null ? void 0 : G.value, Q = Ot(() => {
|
|
156024
|
+
var H;
|
|
156025
|
+
return y != null && y.length ? (((H = g == null ? void 0 : g[0]) == null ? void 0 : H.crosses) || []).filter((ue) => y.includes(ue.id)) : [];
|
|
156026
|
+
}, [g, y]), W = Ot(() => {
|
|
156027
|
+
const te = g == null ? void 0 : g[0], H = (te == null ? void 0 : te.areas) || [], ue = b.length ? H.filter((ae) => b.includes(ae.id)) : [];
|
|
156028
|
+
return h_(ue, te == null ? void 0 : te.assignedFeedId);
|
|
156029
|
+
}, [g, b]), q = Hp({
|
|
156030
|
+
geoCoordinates: F,
|
|
156031
|
+
floorPlanCoordinates: _,
|
|
156032
|
+
pixelCoordinates: V,
|
|
156033
|
+
selectedFrame: E,
|
|
156034
|
+
fov: $ ? u : null,
|
|
156035
|
+
crossLines: Q,
|
|
156036
|
+
zones: W,
|
|
156032
156037
|
floorPlanUrl: (a == null ? void 0 : a.image) || "",
|
|
156033
|
-
feedUrl:
|
|
156034
|
-
isIndoor:
|
|
156035
|
-
isLoadingPolyline:
|
|
156036
|
-
isLoadingTrail:
|
|
156037
|
-
}),
|
|
156038
|
-
|
|
156039
|
-
|
|
156040
|
-
|
|
156041
|
-
),
|
|
156038
|
+
feedUrl: N[0],
|
|
156039
|
+
isIndoor: P,
|
|
156040
|
+
isLoadingPolyline: D === "pending",
|
|
156041
|
+
isLoadingTrail: D === "pending"
|
|
156042
|
+
}), K = Qp(
|
|
156043
|
+
P ? _ : F,
|
|
156044
|
+
V,
|
|
156045
|
+
P
|
|
156046
|
+
), Z = Ot(
|
|
156042
156047
|
() => D0t({
|
|
156043
156048
|
topOne: o,
|
|
156044
|
-
classifierSummary:
|
|
156045
|
-
kitsElements:
|
|
156046
|
-
isLoading:
|
|
156049
|
+
classifierSummary: h,
|
|
156050
|
+
kitsElements: I,
|
|
156051
|
+
isLoading: v === "pending"
|
|
156047
156052
|
}),
|
|
156048
|
-
[o,
|
|
156049
|
-
),
|
|
156050
|
-
var
|
|
156053
|
+
[o, h, I, v]
|
|
156054
|
+
), le = () => {
|
|
156055
|
+
var ue, ae, se;
|
|
156051
156056
|
if (!r)
|
|
156052
156057
|
return;
|
|
156053
|
-
(
|
|
156054
|
-
const
|
|
156055
|
-
window.open(
|
|
156056
|
-
},
|
|
156057
|
-
var
|
|
156058
|
+
(ae = (ue = navigator == null ? void 0 : navigator.clipboard) == null ? void 0 : ue.writeText) == null || ae.call(ue, r);
|
|
156059
|
+
const H = `${((se = window.location) == null ? void 0 : se.origin) || ""}/conboKeySearch/${e}?conboKey=${r}`;
|
|
156060
|
+
window.open(H, "_blank");
|
|
156061
|
+
}, X = () => {
|
|
156062
|
+
var H, ue;
|
|
156058
156063
|
if (!r)
|
|
156059
156064
|
return;
|
|
156060
|
-
(
|
|
156061
|
-
const
|
|
156062
|
-
window.open(
|
|
156065
|
+
(ue = (H = navigator == null ? void 0 : navigator.clipboard) == null ? void 0 : H.writeText) == null || ue.call(H, r);
|
|
156066
|
+
const te = `https://prowl.conbo.io/?conboKey=${r}`;
|
|
156067
|
+
window.open(te, "_blank");
|
|
156063
156068
|
};
|
|
156064
156069
|
return /* @__PURE__ */ Y.jsx(
|
|
156065
156070
|
tu,
|
|
156066
156071
|
{
|
|
156067
156072
|
textToCopy: r,
|
|
156068
156073
|
subtitle: `Conbo key: ${r}`,
|
|
156069
|
-
showHeader:
|
|
156074
|
+
showHeader: R,
|
|
156070
156075
|
links: n,
|
|
156071
|
-
bottomActions:
|
|
156072
|
-
/* @__PURE__ */ Y.jsx(yi, { size: "full", onClick:
|
|
156073
|
-
/* @__PURE__ */ Y.jsx(yi, { size: "full", onClick:
|
|
156076
|
+
bottomActions: R && /* @__PURE__ */ Y.jsxs(Y.Fragment, { children: [
|
|
156077
|
+
/* @__PURE__ */ Y.jsx(yi, { size: "full", onClick: le, sx: { mt: 1 }, children: "Event Analysis →" }),
|
|
156078
|
+
/* @__PURE__ */ Y.jsx(yi, { size: "full", onClick: X, sx: { mt: 1 }, children: "Match Tool →" })
|
|
156074
156079
|
] }),
|
|
156075
|
-
children:
|
|
156076
|
-
/* @__PURE__ */ Y.jsx(wi, { tabsContent:
|
|
156080
|
+
children: R && /* @__PURE__ */ Y.jsxs(Y.Fragment, { children: [
|
|
156081
|
+
/* @__PURE__ */ Y.jsx(wi, { tabsContent: q, tabs: K, isCollapseActive: !0 }),
|
|
156077
156082
|
/* @__PURE__ */ Y.jsx(
|
|
156078
156083
|
wi,
|
|
156079
156084
|
{
|
|
156080
|
-
tabsContent:
|
|
156081
|
-
tabs:
|
|
156085
|
+
tabsContent: z,
|
|
156086
|
+
tabs: j,
|
|
156082
156087
|
isCollapseActive: !0,
|
|
156083
156088
|
sx: { paddingTop: 0 }
|
|
156084
156089
|
}
|
|
@@ -156086,8 +156091,8 @@ const e0t = ({
|
|
|
156086
156091
|
/* @__PURE__ */ Y.jsx(
|
|
156087
156092
|
wi,
|
|
156088
156093
|
{
|
|
156089
|
-
tabsContent:
|
|
156090
|
-
tabs:
|
|
156094
|
+
tabsContent: Z,
|
|
156095
|
+
tabs: L,
|
|
156091
156096
|
isCollapseActive: !0,
|
|
156092
156097
|
sx: { paddingTop: 0 }
|
|
156093
156098
|
}
|
|
@@ -156705,6 +156710,7 @@ const U3t = ({
|
|
|
156705
156710
|
), P = Yp(U), A = $p(k, m), L = (j = o == null ? void 0 : o.geometry) == null ? void 0 : j.coordinates, R = (F = i == null ? void 0 : i.geometry) == null ? void 0 : F.coordinates, E = ((V = s == null ? void 0 : s.geometry) == null ? void 0 : V.coordinates) || [], N = Hp({
|
|
156706
156711
|
geoCoordinates: L,
|
|
156707
156712
|
floorPlanCoordinates: E,
|
|
156713
|
+
selectedFrame: x,
|
|
156708
156714
|
pixelCoordinates: R,
|
|
156709
156715
|
floorPlanUrl: (a == null ? void 0 : a.image) || "",
|
|
156710
156716
|
feedUrl: k[0],
|
|
@@ -159080,6 +159086,7 @@ function yyt({ baseUrl: e = "" }) {
|
|
|
159080
159086
|
geoCoordinates: L,
|
|
159081
159087
|
floorPlanCoordinates: E,
|
|
159082
159088
|
pixelCoordinates: R,
|
|
159089
|
+
selectedFrame: D,
|
|
159083
159090
|
floorPlanUrl: (a == null ? void 0 : a.image) || "",
|
|
159084
159091
|
feedUrl: x[0],
|
|
159085
159092
|
isIndoor: A,
|
|
@@ -169004,7 +169011,7 @@ const QMt = ({
|
|
|
169004
169011
|
};
|
|
169005
169012
|
}, [n, r, t, e]);
|
|
169006
169013
|
}, s4t = ({ baseUrl: e = "", selectedItem: t }) => {
|
|
169007
|
-
var
|
|
169014
|
+
var $, Q, W;
|
|
169008
169015
|
const { detailsLoading: n, trailLoading: r, snapshotsLoading: o } = Uo(), { loading: i } = Bc(
|
|
169009
169016
|
"FetchVehicleInfoImages"
|
|
169010
169017
|
), {
|
|
@@ -169013,59 +169020,61 @@ const QMt = ({
|
|
|
169013
169020
|
geo: l,
|
|
169014
169021
|
floorPlanPixelGeo: c,
|
|
169015
169022
|
floorPlan: u,
|
|
169016
|
-
|
|
169017
|
-
|
|
169018
|
-
|
|
169019
|
-
|
|
169020
|
-
|
|
169021
|
-
|
|
169023
|
+
frameDetails: d,
|
|
169024
|
+
snapshots: h,
|
|
169025
|
+
classifierSummaryRight: m,
|
|
169026
|
+
classifiersFrameInfo: g,
|
|
169027
|
+
vehicleInfoImages: y,
|
|
169028
|
+
feed: b
|
|
169029
|
+
} = We(Ft), { kitsElements: T } = no(), [v, x] = Re(t ?? "");
|
|
169022
169030
|
je(() => {
|
|
169023
|
-
t &&
|
|
169031
|
+
t && x(t);
|
|
169024
169032
|
}, [t]);
|
|
169025
|
-
const
|
|
169026
|
-
geoCoordinates:
|
|
169027
|
-
floorPlanCoordinates:
|
|
169028
|
-
pixelCoordinates:
|
|
169033
|
+
const D = hd(h, e), w = v !== "", I = d.find((q) => q.conbo_key === v) || null, k = ($ = l == null ? void 0 : l.geometry) == null ? void 0 : $.coordinates, U = (Q = a == null ? void 0 : a.geometry) == null ? void 0 : Q.coordinates, P = ((W = c == null ? void 0 : c.geometry) == null ? void 0 : W.coordinates) || [], A = We((q) => q.newFeeds), L = Vp(A, b[0]), R = L == null ? void 0 : L.is_indoor, E = Hp({
|
|
169034
|
+
geoCoordinates: k,
|
|
169035
|
+
floorPlanCoordinates: P,
|
|
169036
|
+
pixelCoordinates: U,
|
|
169037
|
+
selectedFrame: I,
|
|
169029
169038
|
floorPlanUrl: (u == null ? void 0 : u.image) || "",
|
|
169030
|
-
feedUrl:
|
|
169031
|
-
isIndoor:
|
|
169039
|
+
feedUrl: D[0],
|
|
169040
|
+
isIndoor: R,
|
|
169032
169041
|
isLoadingPolyline: r === "pending",
|
|
169033
169042
|
isLoadingTrail: r === "pending"
|
|
169034
|
-
}),
|
|
169035
|
-
|
|
169036
|
-
|
|
169037
|
-
|
|
169038
|
-
),
|
|
169043
|
+
}), N = Qp(
|
|
169044
|
+
R ? P : k,
|
|
169045
|
+
U,
|
|
169046
|
+
R
|
|
169047
|
+
), O = Ot(
|
|
169039
169048
|
() => ({
|
|
169040
|
-
feedImages:
|
|
169041
|
-
objectImages:
|
|
169049
|
+
feedImages: D,
|
|
169050
|
+
objectImages: y,
|
|
169042
169051
|
feedImagesLoading: o === "pending",
|
|
169043
169052
|
objectImagesLoading: i
|
|
169044
169053
|
}),
|
|
169045
|
-
[
|
|
169046
|
-
),
|
|
169054
|
+
[D, i, o, y]
|
|
169055
|
+
), z = Yp(O), j = $p(D, y), F = Ot(
|
|
169047
169056
|
() => II({
|
|
169048
169057
|
topOne: s,
|
|
169049
|
-
classifiersFrameInfo:
|
|
169050
|
-
classifierSummary:
|
|
169051
|
-
kitsElements:
|
|
169058
|
+
classifiersFrameInfo: g,
|
|
169059
|
+
classifierSummary: m,
|
|
169060
|
+
kitsElements: T,
|
|
169052
169061
|
isLoading: n === "pending"
|
|
169053
169062
|
}),
|
|
169054
|
-
[s,
|
|
169055
|
-
),
|
|
169063
|
+
[s, g, m, T, n]
|
|
169064
|
+
), V = SI(), _ = `Conbo key: ${v}`;
|
|
169056
169065
|
return /* @__PURE__ */ Y.jsx(
|
|
169057
169066
|
tu,
|
|
169058
169067
|
{
|
|
169059
|
-
textToCopy:
|
|
169060
|
-
subtitle:
|
|
169061
|
-
showHeader:
|
|
169062
|
-
children:
|
|
169063
|
-
/* @__PURE__ */ Y.jsx(wi, { tabsContent:
|
|
169068
|
+
textToCopy: v,
|
|
169069
|
+
subtitle: _,
|
|
169070
|
+
showHeader: w,
|
|
169071
|
+
children: w && /* @__PURE__ */ Y.jsxs(Y.Fragment, { children: [
|
|
169072
|
+
/* @__PURE__ */ Y.jsx(wi, { tabsContent: E, tabs: N, isCollapseActive: !0 }),
|
|
169064
169073
|
/* @__PURE__ */ Y.jsx(
|
|
169065
169074
|
wi,
|
|
169066
169075
|
{
|
|
169067
|
-
tabsContent:
|
|
169068
|
-
tabs:
|
|
169076
|
+
tabsContent: z,
|
|
169077
|
+
tabs: j,
|
|
169069
169078
|
isCollapseActive: !0,
|
|
169070
169079
|
sx: { paddingTop: 0 }
|
|
169071
169080
|
}
|
|
@@ -169073,8 +169082,8 @@ const QMt = ({
|
|
|
169073
169082
|
/* @__PURE__ */ Y.jsx(
|
|
169074
169083
|
wi,
|
|
169075
169084
|
{
|
|
169076
|
-
tabsContent:
|
|
169077
|
-
tabs:
|
|
169085
|
+
tabsContent: F,
|
|
169086
|
+
tabs: V,
|
|
169078
169087
|
isCollapseActive: !0,
|
|
169079
169088
|
sx: { paddingTop: 0 }
|
|
169080
169089
|
}
|