@elizaos/server 1.4.4 → 1.4.5
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/client/assets/{index-l7vDDpLb.js → index-B2zlx7XS.js} +27 -10
- package/dist/client/assets/index-B2zlx7XS.js.br +0 -0
- package/dist/client/assets/{index-l7vDDpLb.js.map → index-B2zlx7XS.js.map} +1 -1
- package/dist/client/assets/{vendor-BWzYG1ky.js → vendor-Bifu43sa.js} +19 -13
- package/dist/client/assets/vendor-Bifu43sa.js.br +0 -0
- package/dist/client/assets/vendor-Bifu43sa.js.map +1 -0
- package/dist/client/index.html +2 -2
- package/dist/index.js +29 -14
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/client/assets/index-l7vDDpLb.js.br +0 -0
- package/dist/client/assets/vendor-BWzYG1ky.js.br +0 -0
- package/dist/client/assets/vendor-BWzYG1ky.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireReact, a as requireReactDom, p as process$1, b as reactExports, g as getDefaultExportFromCjs, c as reactDomExports, R as React, d as ReactDOM, e as React$1, u as useNavigate, f as useLocation, N as NavLink, h as useParams, L as Link, i as useSearchParams, B as BrowserRouter, j as Routes, k as Route } from './vendor-
|
|
1
|
+
import { r as requireReact, a as requireReactDom, p as process$1, b as reactExports, g as getDefaultExportFromCjs, c as reactDomExports, R as React, d as ReactDOM, e as React$1, u as useNavigate, f as useLocation, N as NavLink, h as useParams, L as Link, i as useSearchParams, B as BrowserRouter, j as Routes, k as Route } from './vendor-Bifu43sa.js';
|
|
2
2
|
|
|
3
3
|
true &&(function polyfill() {
|
|
4
4
|
const relList = document.createElement("link").relList;
|
|
@@ -19189,14 +19189,9 @@ function getWindowScrollBarX(element, rect) {
|
|
|
19189
19189
|
return rect.left + leftScroll;
|
|
19190
19190
|
}
|
|
19191
19191
|
|
|
19192
|
-
function getHTMLOffset(documentElement, scroll
|
|
19193
|
-
if (ignoreScrollbarX === void 0) {
|
|
19194
|
-
ignoreScrollbarX = false;
|
|
19195
|
-
}
|
|
19192
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
19196
19193
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
19197
|
-
const x = htmlRect.left + scroll.scrollLeft - (
|
|
19198
|
-
// RTL <body> scrollbar.
|
|
19199
|
-
getWindowScrollBarX(documentElement, htmlRect));
|
|
19194
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
19200
19195
|
const y = htmlRect.top + scroll.scrollTop;
|
|
19201
19196
|
return {
|
|
19202
19197
|
x,
|
|
@@ -19235,7 +19230,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
19235
19230
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
19236
19231
|
}
|
|
19237
19232
|
}
|
|
19238
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll
|
|
19233
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
19239
19234
|
return {
|
|
19240
19235
|
width: rect.width * scale.x,
|
|
19241
19236
|
height: rect.height * scale.y,
|
|
@@ -19269,6 +19264,10 @@ function getDocumentRect(element) {
|
|
|
19269
19264
|
};
|
|
19270
19265
|
}
|
|
19271
19266
|
|
|
19267
|
+
// Safety check: ensure the scrollbar space is reasonable in case this
|
|
19268
|
+
// calculation is affected by unusual styles.
|
|
19269
|
+
// Most scrollbars leave 15-18px of space.
|
|
19270
|
+
const SCROLLBAR_MAX = 25;
|
|
19272
19271
|
function getViewportRect(element, strategy) {
|
|
19273
19272
|
const win = getWindow$1(element);
|
|
19274
19273
|
const html = getDocumentElement(element);
|
|
@@ -19286,6 +19285,24 @@ function getViewportRect(element, strategy) {
|
|
|
19286
19285
|
y = visualViewport.offsetTop;
|
|
19287
19286
|
}
|
|
19288
19287
|
}
|
|
19288
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
19289
|
+
// <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the
|
|
19290
|
+
// visual width of the <html> but this is not considered in the size
|
|
19291
|
+
// of `html.clientWidth`.
|
|
19292
|
+
if (windowScrollbarX <= 0) {
|
|
19293
|
+
const doc = html.ownerDocument;
|
|
19294
|
+
const body = doc.body;
|
|
19295
|
+
const bodyStyles = getComputedStyle(body);
|
|
19296
|
+
const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
19297
|
+
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
19298
|
+
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
19299
|
+
width -= clippingStableScrollbarWidth;
|
|
19300
|
+
}
|
|
19301
|
+
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
19302
|
+
// If the <body> scrollbar is on the left, the width needs to be extended
|
|
19303
|
+
// by the scrollbar amount so there isn't extra space on the right.
|
|
19304
|
+
width += windowScrollbarX;
|
|
19305
|
+
}
|
|
19289
19306
|
return {
|
|
19290
19307
|
width,
|
|
19291
19308
|
height,
|
|
@@ -160466,4 +160483,4 @@ if (!rootElement) {
|
|
|
160466
160483
|
clientExports.createRoot(rootElement).render(
|
|
160467
160484
|
/* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.StrictMode, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(App, {}) })
|
|
160468
160485
|
);
|
|
160469
|
-
//# sourceMappingURL=index-
|
|
160486
|
+
//# sourceMappingURL=index-B2zlx7XS.js.map
|
|
Binary file
|