dbf-mirador 4.5.1 → 4.5.2
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/mirador.es.js +193 -161
- package/dist/mirador.es.js.map +1 -1
- package/dist/mirador.min.js +64 -64
- package/dist/mirador.min.js.map +1 -1
- package/package.json +1 -1
- package/src/plugins/poiPreviewPlugin.tsx +28 -0
package/dist/mirador.es.js
CHANGED
|
@@ -10088,7 +10088,35 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10088
10088
|
"li",
|
|
10089
10089
|
"hr"
|
|
10090
10090
|
]
|
|
10091
|
-
}, ex, tx = (e) => e ? (ex ??= Vr(window), String(ex.sanitize(e, $b))) : "", nx = (e, t, n) => e.body?.find((e) => e.type === "TextualBody" && e.purpose === n && e.language === t)?.value ?? "", rx = (e, t) => t === "en" ? e["dbf:mediaEn"] : e["dbf:mediaAr"], ix = (e, t) => ((t === "en" ? e["dbf:eyebrowEn"] : e["dbf:eyebrowAr"]) ?? "").trim(), ax = /\.(avif|gif|jpe?g|png|svg|webp)$/i, ox =
|
|
10091
|
+
}, ex, tx = (e) => e ? (ex ??= Vr(window), String(ex.sanitize(e, $b))) : "", nx = (e, t, n) => e.body?.find((e) => e.type === "TextualBody" && e.purpose === n && e.language === t)?.value ?? "", rx = (e, t) => t === "en" ? e["dbf:mediaEn"] : e["dbf:mediaAr"], ix = (e, t) => ((t === "en" ? e["dbf:eyebrowEn"] : e["dbf:eyebrowAr"]) ?? "").trim(), ax = /\.(avif|gif|jpe?g|png|svg|webp)$/i, ox = {
|
|
10092
|
+
fontSize: "0.75rem",
|
|
10093
|
+
margin: "4px 0 0",
|
|
10094
|
+
opacity: .8
|
|
10095
|
+
}, sx = ({ media: e }) => {
|
|
10096
|
+
let t = e.rightsStatement, n = t?.label || t?.uri;
|
|
10097
|
+
return !e.caption && !e.credit && !n ? null : /* @__PURE__ */ I("div", {
|
|
10098
|
+
"data-testid": "poi-preview-media-credits",
|
|
10099
|
+
children: [
|
|
10100
|
+
e.caption && /* @__PURE__ */ F("p", {
|
|
10101
|
+
style: ox,
|
|
10102
|
+
children: e.caption
|
|
10103
|
+
}),
|
|
10104
|
+
e.credit && /* @__PURE__ */ F("p", {
|
|
10105
|
+
style: ox,
|
|
10106
|
+
children: e.credit
|
|
10107
|
+
}),
|
|
10108
|
+
n && /* @__PURE__ */ F("p", {
|
|
10109
|
+
style: ox,
|
|
10110
|
+
children: t?.uri ? /* @__PURE__ */ F("a", {
|
|
10111
|
+
href: t.uri,
|
|
10112
|
+
rel: "noopener noreferrer",
|
|
10113
|
+
target: "_blank",
|
|
10114
|
+
children: n
|
|
10115
|
+
}) : n
|
|
10116
|
+
})
|
|
10117
|
+
]
|
|
10118
|
+
});
|
|
10119
|
+
}, cx = ({ locale: e, media: t, poiTitle: n }) => {
|
|
10092
10120
|
let r = Qb[e], i = Nb(t);
|
|
10093
10121
|
if (t && i) {
|
|
10094
10122
|
let a = t.source === "media-item" && e === "en" && t.title || n || r.audio;
|
|
@@ -10111,7 +10139,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10111
10139
|
title: a
|
|
10112
10140
|
}) }, i);
|
|
10113
10141
|
}
|
|
10114
|
-
let a =
|
|
10142
|
+
let a = lx(t);
|
|
10115
10143
|
return a ? /* @__PURE__ */ F("div", {
|
|
10116
10144
|
className: "dbf-map-poi__media",
|
|
10117
10145
|
children: /* @__PURE__ */ F("img", {
|
|
@@ -10119,7 +10147,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10119
10147
|
src: a
|
|
10120
10148
|
})
|
|
10121
10149
|
}) : null;
|
|
10122
|
-
},
|
|
10150
|
+
}, lx = (e) => {
|
|
10123
10151
|
let t = e?.thumbnailUrl;
|
|
10124
10152
|
if (!t) return null;
|
|
10125
10153
|
if (e.source !== "upload") return t;
|
|
@@ -10128,22 +10156,22 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10128
10156
|
} catch {
|
|
10129
10157
|
return null;
|
|
10130
10158
|
}
|
|
10131
|
-
},
|
|
10159
|
+
}, ux = 64, dx = {
|
|
10132
10160
|
borderRadius: 4,
|
|
10133
10161
|
flexShrink: 0,
|
|
10134
|
-
height:
|
|
10162
|
+
height: ux,
|
|
10135
10163
|
objectFit: "cover",
|
|
10136
|
-
width:
|
|
10137
|
-
},
|
|
10164
|
+
width: ux
|
|
10165
|
+
}, fx = (e) => {
|
|
10138
10166
|
let { mediaType: t, mime: n } = e;
|
|
10139
10167
|
return t === "audio" || n?.startsWith("audio/") ? Qv : t === "uploaded-video" || t === "youtube-video" || n?.startsWith("video/") ? ny : t === "research-pdf" || n === "application/pdf" ? ry : e.source !== "media-item" && !n ? ey : Bo;
|
|
10140
|
-
},
|
|
10141
|
-
let t =
|
|
10168
|
+
}, px = ({ media: e }) => {
|
|
10169
|
+
let t = lx(e), n = !t && e.url && e.mime?.startsWith("video/") ? e.url : null, r = fx(e), i;
|
|
10142
10170
|
return i = t ? /* @__PURE__ */ F("img", {
|
|
10143
10171
|
alt: "",
|
|
10144
10172
|
"data-testid": "poi-preview-media-thumbnail",
|
|
10145
10173
|
src: t,
|
|
10146
|
-
style:
|
|
10174
|
+
style: dx
|
|
10147
10175
|
}) : n ? /* @__PURE__ */ F("video", {
|
|
10148
10176
|
"aria-hidden": !0,
|
|
10149
10177
|
"data-testid": "poi-preview-media-thumbnail",
|
|
@@ -10151,13 +10179,13 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10151
10179
|
preload: "metadata",
|
|
10152
10180
|
src: n,
|
|
10153
10181
|
style: {
|
|
10154
|
-
...
|
|
10182
|
+
...dx,
|
|
10155
10183
|
background: "#000"
|
|
10156
10184
|
}
|
|
10157
10185
|
}) : /* @__PURE__ */ F("span", {
|
|
10158
10186
|
"aria-hidden": !0,
|
|
10159
10187
|
style: {
|
|
10160
|
-
...
|
|
10188
|
+
...dx,
|
|
10161
10189
|
alignItems: "center",
|
|
10162
10190
|
background: "rgba(0, 0, 0, 0.04)",
|
|
10163
10191
|
color: "rgba(0, 0, 0, 0.54)",
|
|
@@ -10177,35 +10205,39 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10177
10205
|
minWidth: 0,
|
|
10178
10206
|
overflowWrap: "anywhere"
|
|
10179
10207
|
},
|
|
10180
|
-
children: [
|
|
10208
|
+
children: [
|
|
10209
|
+
e.title,
|
|
10210
|
+
e.mediaType ? ` (${e.mediaType})` : "",
|
|
10211
|
+
/* @__PURE__ */ F(sx, { media: e })
|
|
10212
|
+
]
|
|
10181
10213
|
})]
|
|
10182
10214
|
});
|
|
10183
|
-
},
|
|
10215
|
+
}, mx = (e, t) => {
|
|
10184
10216
|
if (!e) return "";
|
|
10185
10217
|
if (typeof e == "string") return e;
|
|
10186
10218
|
let n = e[t] ?? e.none ?? Object.values(e).find(Boolean);
|
|
10187
10219
|
return (Array.isArray(n) ? n.join(" ") : n ?? "").trim();
|
|
10188
|
-
},
|
|
10189
|
-
let r = oe(e, { windowId: t })?.json, i =
|
|
10220
|
+
}, hx = (e, t, n) => {
|
|
10221
|
+
let r = oe(e, { windowId: t })?.json, i = mx(r?.label, n), a = mx(r?.summary, n);
|
|
10190
10222
|
return i || a ? {
|
|
10191
10223
|
summary: a,
|
|
10192
10224
|
title: i
|
|
10193
10225
|
} : null;
|
|
10194
|
-
},
|
|
10226
|
+
}, gx = (e, t) => e.filter((e) => e["dbf:kind"] === "POI" && e["dbf:journey"]?.id === t).sort((e, t) => e["dbf:journey"].order - t["dbf:journey"].order), _x = (e) => {
|
|
10195
10227
|
if (!e.target) return null;
|
|
10196
10228
|
let t = new jn(e).pointSelector;
|
|
10197
10229
|
return typeof t?.x != "number" || typeof t?.y != "number" ? null : {
|
|
10198
10230
|
x: t.x,
|
|
10199
10231
|
y: t.y
|
|
10200
10232
|
};
|
|
10201
|
-
},
|
|
10233
|
+
}, vx = .2, yx = 32, bx = .25, xx = [
|
|
10202
10234
|
"left",
|
|
10203
10235
|
"right",
|
|
10204
10236
|
"far-right",
|
|
10205
10237
|
"bottom",
|
|
10206
10238
|
"far-bottom"
|
|
10207
|
-
].map((e) => `aside.mirador-companion-window-${e}`).join(", "),
|
|
10208
|
-
let t =
|
|
10239
|
+
].map((e) => `aside.mirador-companion-window-${e}`).join(", "), Sx = (e) => Ys.get(e)?.current ?? null, Cx = (e) => (e.getAnimations?.({ subtree: !0 }) ?? []).filter((e) => e.playState === "running"), wx = (e) => Array.from(e.element?.closest(".mirador-window")?.querySelectorAll(xx) ?? []), Tx = (e) => {
|
|
10240
|
+
let t = Cx(e).some((e) => "animationName" in e), n = e.offsetParent;
|
|
10209
10241
|
if (!t || !n) return e.getBoundingClientRect();
|
|
10210
10242
|
let r = n.getBoundingClientRect(), i = r.left + n.clientLeft + e.offsetLeft, a = r.top + n.clientTop + e.offsetTop;
|
|
10211
10243
|
return {
|
|
@@ -10214,14 +10246,14 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10214
10246
|
right: i + e.offsetWidth,
|
|
10215
10247
|
top: a
|
|
10216
10248
|
};
|
|
10217
|
-
},
|
|
10218
|
-
let n =
|
|
10249
|
+
}, Ex = (e, t) => {
|
|
10250
|
+
let n = wx(e).flatMap(Cx).filter((e) => "transitionProperty" in e);
|
|
10219
10251
|
if (n.length === 0) {
|
|
10220
10252
|
t();
|
|
10221
10253
|
return;
|
|
10222
10254
|
}
|
|
10223
10255
|
Promise.all(n.map((e) => e.finished.catch(() => void 0))).then(t);
|
|
10224
|
-
},
|
|
10256
|
+
}, Dx = (e) => {
|
|
10225
10257
|
let { element: t, viewport: n } = e;
|
|
10226
10258
|
if (!n) return null;
|
|
10227
10259
|
let r = n.getContainerSize(), i = {
|
|
@@ -10232,61 +10264,61 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10232
10264
|
}, a = t?.closest(".mirador-window");
|
|
10233
10265
|
if (!t || !a) return i;
|
|
10234
10266
|
let o = t.getBoundingClientRect(), s = 0, c = 0, l = r.x, u = r.y;
|
|
10235
|
-
return a.querySelectorAll(
|
|
10236
|
-
let t =
|
|
10267
|
+
return a.querySelectorAll(xx).forEach((e) => {
|
|
10268
|
+
let t = Tx(e), n = Math.max(t.left, o.left) - o.left, i = Math.min(t.right, o.right) - o.left, a = Math.max(t.top, o.top) - o.top, d = Math.min(t.bottom, o.bottom) - o.top;
|
|
10237
10269
|
i - n <= 0 || d - a <= 0 || (d - a >= r.y * .9 ? n + i > r.x ? l = Math.min(l, n) : s = Math.max(s, i) : i - n >= r.x * .9 && (a + d > r.y ? u = Math.min(u, a) : c = Math.max(c, d)));
|
|
10238
|
-
}), l - s < r.x *
|
|
10270
|
+
}), l - s < r.x * bx || u - c < r.y * bx ? i : {
|
|
10239
10271
|
height: u - c,
|
|
10240
10272
|
width: l - s,
|
|
10241
10273
|
x: s,
|
|
10242
10274
|
y: c
|
|
10243
10275
|
};
|
|
10244
|
-
},
|
|
10276
|
+
}, Ox = (e) => ({
|
|
10245
10277
|
x: e.x + e.width / 2,
|
|
10246
10278
|
y: e.y + e.height / 2
|
|
10247
|
-
}),
|
|
10248
|
-
let { viewport: r } = e, i =
|
|
10279
|
+
}), kx = (e, t, n) => {
|
|
10280
|
+
let { viewport: r } = e, i = Dx(e);
|
|
10249
10281
|
if (!r || !i) return;
|
|
10250
|
-
let a = r.getContainerSize(), o =
|
|
10282
|
+
let a = r.getContainerSize(), o = Ox(i);
|
|
10251
10283
|
r.fitBounds(new Ny.default.Rect(t.x - o.x * n, t.y - o.y * n, a.x * n, a.y * n));
|
|
10252
|
-
},
|
|
10253
|
-
let n =
|
|
10254
|
-
!n || !r ||
|
|
10255
|
-
},
|
|
10256
|
-
let n =
|
|
10284
|
+
}, Ax = (e, t) => 1 / (t * e.getContainerSize().x), jx = (e, t) => {
|
|
10285
|
+
let n = Sx(e), r = n?.viewport;
|
|
10286
|
+
!n || !r || kx(n, t, Ax(r, Jb(r)));
|
|
10287
|
+
}, Mx = (e, t) => {
|
|
10288
|
+
let n = Sx(e), r = n?.viewport, i = n ? Dx(n) : null;
|
|
10257
10289
|
if (!r || !i) return;
|
|
10258
10290
|
let a = Hb({
|
|
10259
10291
|
container: r.getContainerSize(),
|
|
10260
10292
|
fillPixel: r.pixelFromPoint(new Ny.default.Point(t.x, t.y), !0),
|
|
10261
10293
|
fillZoom: r.getZoom(!0),
|
|
10262
|
-
focusPixel:
|
|
10294
|
+
focusPixel: Ox(i),
|
|
10263
10295
|
focusZoom: Jb(r),
|
|
10264
10296
|
point: t
|
|
10265
10297
|
});
|
|
10266
10298
|
r.fitBounds(new Ny.default.Rect(a.x, a.y, a.width, a.height));
|
|
10267
|
-
},
|
|
10268
|
-
let n =
|
|
10299
|
+
}, Nx = (e, t) => {
|
|
10300
|
+
let n = Sx(e), r = n?.viewport, i = n ? Dx(n) : null;
|
|
10269
10301
|
if (!n || !r || !i) return;
|
|
10270
|
-
let a = r.pixelFromPoint(new Ny.default.Point(t.x, t.y)), o = Math.min(
|
|
10271
|
-
a.x >= i.x + o && a.x <= i.x + i.width - o && a.y >= i.y + o && a.y <= i.y + i.height - o ||
|
|
10272
|
-
},
|
|
10302
|
+
let a = r.pixelFromPoint(new Ny.default.Point(t.x, t.y)), o = Math.min(yx, i.width / 4, i.height / 4);
|
|
10303
|
+
a.x >= i.x + o && a.x <= i.x + i.width - o && a.y >= i.y + o && a.y <= i.y + i.height - o || kx(n, t, Ax(r, r.getZoom()));
|
|
10304
|
+
}, Px = (e, t) => {
|
|
10273
10305
|
if (t.length === 0) return;
|
|
10274
10306
|
if (t.length === 1) {
|
|
10275
|
-
|
|
10307
|
+
jx(e, t[0]);
|
|
10276
10308
|
return;
|
|
10277
10309
|
}
|
|
10278
|
-
let n =
|
|
10310
|
+
let n = Sx(e), r = n?.viewport, i = n ? Dx(n) : null;
|
|
10279
10311
|
if (!n || !r || !i) return;
|
|
10280
|
-
let a = t.map(({ x: e }) => e), o = t.map(({ y: e }) => e), s = Math.min(...a), c = Math.min(...o), l = Math.max(...a) - s, u = Math.max(...o) - c, d = r.getHomeBounds(), f = Math.max(l *
|
|
10281
|
-
|
|
10312
|
+
let a = t.map(({ x: e }) => e), o = t.map(({ y: e }) => e), s = Math.min(...a), c = Math.min(...o), l = Math.max(...a) - s, u = Math.max(...o) - c, d = r.getHomeBounds(), f = Math.max(l * vx, d.width * .05), p = Math.max(u * vx, d.height * .05), m = Math.max((l + 2 * f) / i.width, (u + 2 * p) / i.height, Ax(r, r.getMaxZoom()));
|
|
10313
|
+
kx(n, {
|
|
10282
10314
|
x: s + l / 2,
|
|
10283
10315
|
y: c + u / 2
|
|
10284
10316
|
}, m);
|
|
10285
|
-
},
|
|
10286
|
-
let r =
|
|
10287
|
-
r &&
|
|
10288
|
-
},
|
|
10289
|
-
let r =
|
|
10317
|
+
}, Fx = (e) => (t, ...n) => {
|
|
10318
|
+
let r = Sx(t);
|
|
10319
|
+
r && Ex(r, () => e(t, ...n));
|
|
10320
|
+
}, Ix = Fx(jx), Lx = Fx(Mx), Rx = Fx(Nx), zx = Fx(Px), Bx = (e) => e.closest(".mirador-scrollto-scrollable"), Vx = (e, t, n) => {
|
|
10321
|
+
let r = Bx(e);
|
|
10290
10322
|
if (!r) return;
|
|
10291
10323
|
let i = parseFloat(getComputedStyle(e).scrollMarginTop) || 0, a = Math.max(0, r.scrollTop + e.getBoundingClientRect().top - r.getBoundingClientRect().top - i);
|
|
10292
10324
|
if (t) {
|
|
@@ -10297,21 +10329,21 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10297
10329
|
behavior: n,
|
|
10298
10330
|
top: a
|
|
10299
10331
|
});
|
|
10300
|
-
},
|
|
10332
|
+
}, Hx = (e, t, n) => {
|
|
10301
10333
|
let r = e.getBoundingClientRect(), i = t.getBoundingClientRect(), a = getComputedStyle(e), o = a.direction === "rtl" ? i.right - (r.right - (parseFloat(a.paddingRight) || 0)) : i.left - (r.left + (parseFloat(a.paddingLeft) || 0));
|
|
10302
10334
|
Math.abs(o) > 1 && e.scrollBy?.({
|
|
10303
10335
|
behavior: n,
|
|
10304
10336
|
left: o
|
|
10305
|
-
}),
|
|
10337
|
+
}), Bx(e)?.scrollTo?.({
|
|
10306
10338
|
behavior: n,
|
|
10307
10339
|
top: 0
|
|
10308
10340
|
});
|
|
10309
|
-
},
|
|
10310
|
-
dir:
|
|
10341
|
+
}, Ux = (e) => e === "ar" ? "rtl" : "ltr", Wx = ({ children: e, locale: t }) => /* @__PURE__ */ F("span", {
|
|
10342
|
+
dir: Ux(t),
|
|
10311
10343
|
lang: t,
|
|
10312
10344
|
style: { display: "block" },
|
|
10313
10345
|
children: e
|
|
10314
|
-
}),
|
|
10346
|
+
}), Gx = ({ children: e, id: t, label: n, locale: r, position: i, removeCompanionWindow: a, returnFocusTo: o = null, showing: s, windowId: c }) => {
|
|
10315
10347
|
let l = Qb[r], u = fy(c), d = xy(c), f = i === "bottom";
|
|
10316
10348
|
N(() => {
|
|
10317
10349
|
uy(c, yy(c));
|
|
@@ -10375,7 +10407,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10375
10407
|
"data-collapsed": u ? "true" : void 0,
|
|
10376
10408
|
"data-position": i,
|
|
10377
10409
|
"data-snap": f ? d : void 0,
|
|
10378
|
-
dir:
|
|
10410
|
+
dir: Ux(r),
|
|
10379
10411
|
lang: r,
|
|
10380
10412
|
ref: p,
|
|
10381
10413
|
children: [/* @__PURE__ */ I("div", {
|
|
@@ -10414,13 +10446,13 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10414
10446
|
}), e]
|
|
10415
10447
|
})
|
|
10416
10448
|
});
|
|
10417
|
-
},
|
|
10449
|
+
}, Kx = {
|
|
10418
10450
|
ar: "العربية",
|
|
10419
10451
|
en: "English"
|
|
10420
|
-
},
|
|
10452
|
+
}, qx = ({ canEdit: e, contentLocale: t, isEditing: n, onContentLocaleChange: r, onEdit: i, uiLocale: a }) => {
|
|
10421
10453
|
let o = Qb[a];
|
|
10422
10454
|
return /* @__PURE__ */ I("div", {
|
|
10423
|
-
dir:
|
|
10455
|
+
dir: Ux(a),
|
|
10424
10456
|
style: {
|
|
10425
10457
|
alignItems: "center",
|
|
10426
10458
|
display: "flex",
|
|
@@ -10440,7 +10472,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10440
10472
|
lang: e,
|
|
10441
10473
|
sx: { textTransform: "none" },
|
|
10442
10474
|
value: e,
|
|
10443
|
-
children:
|
|
10475
|
+
children: Kx[e]
|
|
10444
10476
|
}, e))
|
|
10445
10477
|
}), e && /* @__PURE__ */ F(gl, {
|
|
10446
10478
|
disabled: n,
|
|
@@ -10452,12 +10484,12 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10452
10484
|
children: o.edit
|
|
10453
10485
|
})]
|
|
10454
10486
|
});
|
|
10455
|
-
},
|
|
10487
|
+
}, Jx = ({ canEdit: e, isEditing: t, onEdit: n, onPreview: r, uiLocale: i }) => {
|
|
10456
10488
|
let a = Qb[i], o = (e) => (t) => {
|
|
10457
10489
|
t.stopPropagation(), e();
|
|
10458
10490
|
};
|
|
10459
10491
|
return /* @__PURE__ */ I("div", {
|
|
10460
|
-
dir:
|
|
10492
|
+
dir: Ux(i),
|
|
10461
10493
|
onKeyDown: (e) => e.stopPropagation(),
|
|
10462
10494
|
role: "toolbar",
|
|
10463
10495
|
style: {
|
|
@@ -10480,10 +10512,10 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10480
10512
|
children: /* @__PURE__ */ F($v, { fontSize: "small" })
|
|
10481
10513
|
})]
|
|
10482
10514
|
});
|
|
10483
|
-
},
|
|
10515
|
+
}, Yx = ({ contentLocale: e, journeyTitle: t, onClick: n, uiLocale: r }) => {
|
|
10484
10516
|
let i = Qb[r];
|
|
10485
10517
|
return /* @__PURE__ */ F("div", {
|
|
10486
|
-
dir:
|
|
10518
|
+
dir: Ux(r),
|
|
10487
10519
|
style: { padding: "8px 16px 0" },
|
|
10488
10520
|
children: /* @__PURE__ */ I(gl, {
|
|
10489
10521
|
onClick: n,
|
|
@@ -10491,21 +10523,21 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10491
10523
|
startIcon: /* @__PURE__ */ F(ji, { sx: r === "ar" ? { transform: "scaleX(-1)" } : void 0 }),
|
|
10492
10524
|
sx: { textTransform: "none" },
|
|
10493
10525
|
children: [i.backToJourney, t && /* @__PURE__ */ I(ol, { children: [": ", /* @__PURE__ */ F("bdi", {
|
|
10494
|
-
dir:
|
|
10526
|
+
dir: Ux(e),
|
|
10495
10527
|
lang: e,
|
|
10496
10528
|
children: t
|
|
10497
10529
|
})] })]
|
|
10498
10530
|
})
|
|
10499
10531
|
});
|
|
10500
|
-
},
|
|
10532
|
+
}, Xx = (e, t, n) => ({
|
|
10501
10533
|
annotation: e,
|
|
10502
10534
|
position: n,
|
|
10503
10535
|
previewAnnotationId: t,
|
|
10504
10536
|
selectedAnnotationId: e.id
|
|
10505
|
-
}),
|
|
10506
|
-
let m = Qb[r], h = nx(n, r, "identifying"), g = P(null), _ = P(null), v = P(null), y = i.find((e) => e.id === u), b = y ?
|
|
10537
|
+
}), Zx = ({ editorToolbar: e, id: t, journey: n, locale: r, pois: i, openNestedMap: a, position: o, removeCompanionWindow: s, renderStopActions: c, selectAnnotation: l, selectedAnnotationId: u, linkedMapResolver: d = null, site: f = !1, windowId: p }) => {
|
|
10538
|
+
let m = Qb[r], h = nx(n, r, "identifying"), g = P(null), _ = P(null), v = P(null), y = i.find((e) => e.id === u), b = y ? _x(y) : null, x = i.map(_x).filter((e) => e !== null), S = x.map(({ x: e, y: t }) => `${e},${t}`).join(";");
|
|
10507
10539
|
N(() => {
|
|
10508
|
-
b ?
|
|
10540
|
+
b ? Rx(p, b) : zx(p, x);
|
|
10509
10541
|
}, [
|
|
10510
10542
|
n.id,
|
|
10511
10543
|
S,
|
|
@@ -10516,19 +10548,19 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10516
10548
|
_.current && (_.current.style.height = "0px");
|
|
10517
10549
|
return;
|
|
10518
10550
|
}
|
|
10519
|
-
b &&
|
|
10551
|
+
b && Rx(p, b);
|
|
10520
10552
|
let t = g.current, n = Array.from(t?.children ?? []).find((e) => e.dataset.poiId === y.id);
|
|
10521
10553
|
if (!t || !n) return;
|
|
10522
10554
|
if (f && lb(t)) {
|
|
10523
|
-
e ?
|
|
10555
|
+
e ? Bx(t)?.scrollTo?.({
|
|
10524
10556
|
behavior: "smooth",
|
|
10525
10557
|
top: 0
|
|
10526
|
-
}) :
|
|
10558
|
+
}) : Hx(t, n, "smooth");
|
|
10527
10559
|
return;
|
|
10528
10560
|
}
|
|
10529
10561
|
if (e) return;
|
|
10530
|
-
|
|
10531
|
-
let r =
|
|
10562
|
+
Vx(n, _.current, "smooth");
|
|
10563
|
+
let r = Bx(n), i = () => Vx(n, _.current, "auto"), a = [
|
|
10532
10564
|
"wheel",
|
|
10533
10565
|
"touchstart",
|
|
10534
10566
|
"pointerdown",
|
|
@@ -10541,27 +10573,27 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10541
10573
|
let C = (e) => {
|
|
10542
10574
|
let t = f ? Gy(e["dbf:linkedMap"], d) : null;
|
|
10543
10575
|
if (t && a) {
|
|
10544
|
-
a(p, t,
|
|
10576
|
+
a(p, t, Xx(e, n.id, o));
|
|
10545
10577
|
return;
|
|
10546
10578
|
}
|
|
10547
|
-
let r =
|
|
10548
|
-
r &&
|
|
10579
|
+
let r = _x(e);
|
|
10580
|
+
r && Ix(p, r), l(p, e.id);
|
|
10549
10581
|
};
|
|
10550
10582
|
if (vb({
|
|
10551
10583
|
enabled: f,
|
|
10552
|
-
getColumnScroller:
|
|
10584
|
+
getColumnScroller: Bx,
|
|
10553
10585
|
layout: o,
|
|
10554
10586
|
listRef: g,
|
|
10555
10587
|
onSelect: (e) => {
|
|
10556
10588
|
let t = i.find((t) => t.id === e);
|
|
10557
10589
|
if (!t) return;
|
|
10558
10590
|
v.current = e;
|
|
10559
|
-
let n =
|
|
10560
|
-
n &&
|
|
10591
|
+
let n = _x(t);
|
|
10592
|
+
n && Ix(p, n), l(p, t.id);
|
|
10561
10593
|
},
|
|
10562
|
-
onSnap: (e, t) =>
|
|
10594
|
+
onSnap: (e, t) => Vx(e, _.current, t),
|
|
10563
10595
|
selectedId: u
|
|
10564
|
-
}), f) return /* @__PURE__ */ F(
|
|
10596
|
+
}), f) return /* @__PURE__ */ F(Gx, {
|
|
10565
10597
|
id: t,
|
|
10566
10598
|
label: m.followJourney,
|
|
10567
10599
|
locale: r,
|
|
@@ -10607,7 +10639,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10607
10639
|
})]
|
|
10608
10640
|
})]
|
|
10609
10641
|
}),
|
|
10610
|
-
/* @__PURE__ */ F(
|
|
10642
|
+
/* @__PURE__ */ F(cx, {
|
|
10611
10643
|
locale: r,
|
|
10612
10644
|
media: a,
|
|
10613
10645
|
poiTitle: n
|
|
@@ -10635,20 +10667,20 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10635
10667
|
return /* @__PURE__ */ I(ws, {
|
|
10636
10668
|
ariaLabel: w,
|
|
10637
10669
|
id: t,
|
|
10638
|
-
title: /* @__PURE__ */ F(
|
|
10670
|
+
title: /* @__PURE__ */ F(Wx, {
|
|
10639
10671
|
locale: r,
|
|
10640
10672
|
children: w
|
|
10641
10673
|
}),
|
|
10642
10674
|
windowId: p,
|
|
10643
10675
|
children: [e, /* @__PURE__ */ I("div", {
|
|
10644
|
-
dir:
|
|
10676
|
+
dir: Ux(r),
|
|
10645
10677
|
lang: r,
|
|
10646
10678
|
ref: g,
|
|
10647
10679
|
style: { padding: 16 },
|
|
10648
10680
|
children: [
|
|
10649
10681
|
i.length === 0 && /* @__PURE__ */ F("p", { children: m.noStops }),
|
|
10650
10682
|
i.map((e, t) => {
|
|
10651
|
-
let n = nx(e, r, "identifying"), a = tx(nx(e, r, "describing")), o = rx(e, r), s =
|
|
10683
|
+
let n = nx(e, r, "identifying"), a = tx(nx(e, r, "describing")), o = rx(e, r), s = lx(o), l = t === i.length - 1, d = e.id === u;
|
|
10652
10684
|
return /* @__PURE__ */ I("div", {
|
|
10653
10685
|
"aria-current": d || void 0,
|
|
10654
10686
|
"data-poi-id": e.id,
|
|
@@ -10728,16 +10760,16 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10728
10760
|
]
|
|
10729
10761
|
})]
|
|
10730
10762
|
});
|
|
10731
|
-
},
|
|
10732
|
-
let p = Qb[s], m = e?.["dbf:kind"], h = e ? nx(e, s, "identifying") : "", g = e ? tx(nx(e, s, "describing")) : "", _ = e ? rx(e, s) : null, v = e && !t ?
|
|
10763
|
+
}, Qx = ({ annotation: e, carried: t = !1, editorToolbar: n, id: r, journeyLink: i = null, linkedMapManifestId: a, loading: o = !1, locale: s, openNestedMap: c, position: l, removeCompanionWindow: u, site: d = !1, windowId: f }) => {
|
|
10764
|
+
let p = Qb[s], m = e?.["dbf:kind"], h = e ? nx(e, s, "identifying") : "", g = e ? tx(nx(e, s, "describing")) : "", _ = e ? rx(e, s) : null, v = e && !t ? _x(e) : null;
|
|
10733
10765
|
if (N(() => {
|
|
10734
|
-
v &&
|
|
10766
|
+
v && Rx(f, v);
|
|
10735
10767
|
}, [
|
|
10736
10768
|
e?.id,
|
|
10737
10769
|
v?.x,
|
|
10738
10770
|
v?.y,
|
|
10739
10771
|
f
|
|
10740
|
-
]), d) return /* @__PURE__ */ I(
|
|
10772
|
+
]), d) return /* @__PURE__ */ I(Gx, {
|
|
10741
10773
|
id: r,
|
|
10742
10774
|
label: p.discover,
|
|
10743
10775
|
locale: s,
|
|
@@ -10770,7 +10802,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10770
10802
|
})]
|
|
10771
10803
|
})]
|
|
10772
10804
|
}),
|
|
10773
|
-
/* @__PURE__ */ F(
|
|
10805
|
+
/* @__PURE__ */ F(cx, {
|
|
10774
10806
|
locale: s,
|
|
10775
10807
|
media: _,
|
|
10776
10808
|
poiTitle: h
|
|
@@ -10786,7 +10818,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10786
10818
|
return /* @__PURE__ */ I(ws, {
|
|
10787
10819
|
ariaLabel: y,
|
|
10788
10820
|
id: r,
|
|
10789
|
-
title: /* @__PURE__ */ F(
|
|
10821
|
+
title: /* @__PURE__ */ F(Wx, {
|
|
10790
10822
|
locale: s,
|
|
10791
10823
|
children: y
|
|
10792
10824
|
}),
|
|
@@ -10795,13 +10827,13 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10795
10827
|
n,
|
|
10796
10828
|
i,
|
|
10797
10829
|
/* @__PURE__ */ I("div", {
|
|
10798
|
-
dir:
|
|
10830
|
+
dir: Ux(s),
|
|
10799
10831
|
lang: s,
|
|
10800
10832
|
style: { padding: 16 },
|
|
10801
10833
|
children: [
|
|
10802
10834
|
!e && /* @__PURE__ */ F("p", { children: p.notFound }),
|
|
10803
10835
|
g && /* @__PURE__ */ F("div", { dangerouslySetInnerHTML: { __html: g } }),
|
|
10804
|
-
_ && /* @__PURE__ */ F(
|
|
10836
|
+
_ && /* @__PURE__ */ F(px, { media: _ }),
|
|
10805
10837
|
a && /* @__PURE__ */ F(gl, {
|
|
10806
10838
|
onClick: () => c(f, a),
|
|
10807
10839
|
startIcon: /* @__PURE__ */ F(ty, {}),
|
|
@@ -10813,9 +10845,9 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10813
10845
|
})
|
|
10814
10846
|
]
|
|
10815
10847
|
});
|
|
10816
|
-
},
|
|
10848
|
+
}, $x = ({ id: e, locale: t, mapInfo: n, position: r, removeCompanionWindow: i, windowId: a }) => {
|
|
10817
10849
|
let o = tx(n.summary);
|
|
10818
|
-
return /* @__PURE__ */ F(
|
|
10850
|
+
return /* @__PURE__ */ F(Gx, {
|
|
10819
10851
|
id: e,
|
|
10820
10852
|
label: Qb[t].discover,
|
|
10821
10853
|
locale: t,
|
|
@@ -10841,9 +10873,9 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10841
10873
|
})]
|
|
10842
10874
|
})
|
|
10843
10875
|
});
|
|
10844
|
-
},
|
|
10876
|
+
}, eS = {
|
|
10845
10877
|
component: ({ annotation: e, canEdit: t = !1, carried: n = !1, canEditAnnotations: r = !1, editInPlaceOfPreview: i, hasAnnotationEditor: a = !1, loading: o = !1, linkedMapResolver: s = null, id: c, isEditing: l = !1, journey: u = null, journeyPois: d, linkedMapManifestId: f, locale: p, mapInfo: m = null, openNestedMap: h, position: g, removeCompanionWindow: _, selectAnnotation: v, selectedAnnotationId: y, site: b, updateCompanionWindow: x, windowId: S }) => {
|
|
10846
|
-
let [C, w] = il(p), T = a ? C : p, E = a && /* @__PURE__ */ F(
|
|
10878
|
+
let [C, w] = il(p), T = a ? C : p, E = a && /* @__PURE__ */ F(qx, {
|
|
10847
10879
|
canEdit: t && !!e,
|
|
10848
10880
|
contentLocale: C,
|
|
10849
10881
|
isEditing: l,
|
|
@@ -10852,26 +10884,26 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10852
10884
|
uiLocale: p
|
|
10853
10885
|
}), D = (e, t) => {
|
|
10854
10886
|
x?.(S, c, { annotationid: e }), v(S, t);
|
|
10855
|
-
}, ee = a && ((e) => /* @__PURE__ */ F(
|
|
10887
|
+
}, ee = a && ((e) => /* @__PURE__ */ F(Jx, {
|
|
10856
10888
|
canEdit: r && !!e.maeData,
|
|
10857
10889
|
isEditing: l,
|
|
10858
10890
|
onEdit: () => i?.(S, c, e.id),
|
|
10859
10891
|
onPreview: () => D(e.id, e.id),
|
|
10860
10892
|
uiLocale: p
|
|
10861
|
-
})), te = a && e && u && /* @__PURE__ */ F(
|
|
10893
|
+
})), te = a && e && u && /* @__PURE__ */ F(Yx, {
|
|
10862
10894
|
contentLocale: T,
|
|
10863
10895
|
journeyTitle: nx(u, T, "identifying"),
|
|
10864
10896
|
onClick: () => D(u.id, e.id),
|
|
10865
10897
|
uiLocale: p
|
|
10866
10898
|
});
|
|
10867
|
-
return b && m ? /* @__PURE__ */ F(
|
|
10899
|
+
return b && m ? /* @__PURE__ */ F($x, {
|
|
10868
10900
|
id: c,
|
|
10869
10901
|
locale: p,
|
|
10870
10902
|
mapInfo: m,
|
|
10871
10903
|
position: g,
|
|
10872
10904
|
removeCompanionWindow: _,
|
|
10873
10905
|
windowId: S
|
|
10874
|
-
}) : e && e["dbf:kind"] === "Journey" ? /* @__PURE__ */ F(
|
|
10906
|
+
}) : e && e["dbf:kind"] === "Journey" ? /* @__PURE__ */ F(Zx, {
|
|
10875
10907
|
editorToolbar: E,
|
|
10876
10908
|
id: c,
|
|
10877
10909
|
journey: e,
|
|
@@ -10886,7 +10918,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10886
10918
|
linkedMapResolver: s,
|
|
10887
10919
|
site: b,
|
|
10888
10920
|
windowId: S
|
|
10889
|
-
}) : /* @__PURE__ */ F(
|
|
10921
|
+
}) : /* @__PURE__ */ F(Qx, {
|
|
10890
10922
|
annotation: e,
|
|
10891
10923
|
carried: n,
|
|
10892
10924
|
editorToolbar: E,
|
|
@@ -10904,7 +10936,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10904
10936
|
},
|
|
10905
10937
|
companionWindowKey: iy,
|
|
10906
10938
|
mapStateToProps: (e, { id: t, windowId: n }) => {
|
|
10907
|
-
let r = ke(e, { companionWindowId: t }), i = r?.annotationid, a =
|
|
10939
|
+
let r = ke(e, { companionWindowId: t }), i = r?.annotationid, a = rS(e, n), o = i === oy, s = o ? Xy(e, n)?.annotation ?? null : a.find((e) => e.id === i) ?? null, c = Gt(e), l = Zb(c.language), u = !!c.annotation?.adapter, d = s && s["dbf:kind"] === "Journey" ? gx(a, s.id) : [], f = Kn(e, { windowId: n }), p = u && c.annotation?.readonly !== !0, m = s?.["dbf:kind"] === "POI" ? s["dbf:journey"]?.id : void 0;
|
|
10908
10940
|
return {
|
|
10909
10941
|
annotation: s,
|
|
10910
10942
|
canEdit: p && !!s?.maeData,
|
|
@@ -10921,7 +10953,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10921
10953
|
loading: !o && i !== "dbf:map-info" && a.length === 0,
|
|
10922
10954
|
linkedMapResolver: Ky(e),
|
|
10923
10955
|
locale: l,
|
|
10924
|
-
mapInfo: i === "dbf:map-info" ?
|
|
10956
|
+
mapInfo: i === "dbf:map-info" ? hx(e, n, l) : null,
|
|
10925
10957
|
position: r?.position === "bottom" ? "bottom" : "right",
|
|
10926
10958
|
selectedAnnotationId: f,
|
|
10927
10959
|
site: c.maps?.site === !0
|
|
@@ -10934,13 +10966,13 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10934
10966
|
selectAnnotation: zn,
|
|
10935
10967
|
updateCompanionWindow: Na
|
|
10936
10968
|
}
|
|
10937
|
-
},
|
|
10969
|
+
}, tS = (e, t) => {
|
|
10938
10970
|
let n = mt(e, { windowId: t })[0]?.id;
|
|
10939
10971
|
return n ? Dn(e)[n] : void 0;
|
|
10940
|
-
},
|
|
10972
|
+
}, nS = (e) => (e ? Object.values(e) : []).flatMap((e) => e.json?.items ?? []), rS = (e, t) => nS(tS(e, t)), iS = (e, t) => Object.values(Bt(e)).find((e) => e.windowId === t && e.content === "mapsPoiPreview")?.id, aS = (e, t) => {
|
|
10941
10973
|
let n = e["dbf:kind"] === "POI" ? e["dbf:journey"]?.id : void 0;
|
|
10942
10974
|
return n && t(n) ? n : e.id;
|
|
10943
|
-
},
|
|
10975
|
+
}, oS = ({ addCompanionWindow: e, updateCompanionWindow: t }, n, r, i, a) => {
|
|
10944
10976
|
r ? t(n, r, {
|
|
10945
10977
|
annotationid: i,
|
|
10946
10978
|
position: a
|
|
@@ -10949,10 +10981,10 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10949
10981
|
content: iy,
|
|
10950
10982
|
position: a
|
|
10951
10983
|
});
|
|
10952
|
-
},
|
|
10984
|
+
}, sS = () => {
|
|
10953
10985
|
let e = ml();
|
|
10954
10986
|
return bl(e.breakpoints.down("sm")) ? "bottom" : "right";
|
|
10955
|
-
},
|
|
10987
|
+
}, cS = (e) => {
|
|
10956
10988
|
let [t, n] = il(null);
|
|
10957
10989
|
return N(() => {
|
|
10958
10990
|
if (!e) {
|
|
@@ -10967,20 +10999,20 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10967
10999
|
let r = typeof ResizeObserver > "u" ? null : new ResizeObserver(t);
|
|
10968
11000
|
return r?.observe(e), () => r?.disconnect();
|
|
10969
11001
|
}, [e]), t;
|
|
10970
|
-
},
|
|
11002
|
+
}, lS = [eS, {
|
|
10971
11003
|
target: "AnnotationsOverlay",
|
|
10972
11004
|
mode: "wrap",
|
|
10973
11005
|
component: ({ TargetComponent: e, targetProps: t, addCompanionWindow: n, updateCompanionWindow: r, annotationPages: i, existingPreviewCompanionWindowId: a, initialView: o = "fill", linkedMapResolver: s = null, locale: c = "en", openNestedMap: l, previewShowsMapInfo: u = !1, site: d = !1, updateViewport: f }) => {
|
|
10974
|
-
let { annotations: p = [], searchAnnotations: m = [], selectAnnotation: h } = t, g =
|
|
11006
|
+
let { annotations: p = [], searchAnnotations: m = [], selectAnnotation: h } = t, g = sS(), _ = (e, t) => {
|
|
10975
11007
|
h?.(e, t);
|
|
10976
11008
|
let o = [...p, ...m].flatMap((e) => e.resources ?? []).find((e) => e.id === t);
|
|
10977
11009
|
if (!o?.pointSelector && !o?.svgSelector) return;
|
|
10978
|
-
let s =
|
|
10979
|
-
|
|
11010
|
+
let s = nS(i), c = s.find((e) => e.id === t), l = c ? aS(c, (e) => s.some((t) => t.id === e)) : t;
|
|
11011
|
+
oS({
|
|
10980
11012
|
addCompanionWindow: n,
|
|
10981
11013
|
updateCompanionWindow: r
|
|
10982
11014
|
}, e, a, l, g);
|
|
10983
|
-
}, v = d ? p.flatMap((e) => e.resources ?? []).filter((e) => e.pointSelector) : [], y = rl(() => d ?
|
|
11015
|
+
}, v = d ? p.flatMap((e) => e.resources ?? []).filter((e) => e.pointSelector) : [], y = rl(() => d ? nS(i) : [], [i, d]), b = rl(() => new Map(y.map((e) => [e.id, nx(e, c, "identifying")])), [y, c]), x = rl(() => Rb(y).map((e) => e.id), [y]);
|
|
10984
11016
|
Hy({
|
|
10985
11017
|
canvasWorld: t.canvasWorld,
|
|
10986
11018
|
enabled: d,
|
|
@@ -10995,8 +11027,8 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
10995
11027
|
uy(t.windowId, !1);
|
|
10996
11028
|
let r = y.find((t) => t.id === e), i = r ? Gy(r["dbf:linkedMap"], s) : null;
|
|
10997
11029
|
if (r && i && l) {
|
|
10998
|
-
let e =
|
|
10999
|
-
l(t.windowId, i,
|
|
11030
|
+
let e = aS(r, (e) => y.some((t) => t.id === e));
|
|
11031
|
+
l(t.windowId, i, Xx(r, e, g));
|
|
11000
11032
|
return;
|
|
11001
11033
|
}
|
|
11002
11034
|
_(t.windowId, e);
|
|
@@ -11019,15 +11051,15 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11019
11051
|
qb({
|
|
11020
11052
|
enabled: d,
|
|
11021
11053
|
firstPoint: E ? w(E) : null,
|
|
11022
|
-
focusOnPoint: (e) =>
|
|
11023
|
-
halfwayToPoint: (e) =>
|
|
11054
|
+
focusOnPoint: (e) => Ix(t.windowId, e),
|
|
11055
|
+
halfwayToPoint: (e) => Lx(t.windowId, e),
|
|
11024
11056
|
initialView: o,
|
|
11025
11057
|
points: T,
|
|
11026
11058
|
storeViewport: f,
|
|
11027
11059
|
viewer: t.viewer,
|
|
11028
11060
|
windowId: t.windowId
|
|
11029
11061
|
});
|
|
11030
|
-
let D =
|
|
11062
|
+
let D = cS(d ? t.viewer?.element : null);
|
|
11031
11063
|
if (d) {
|
|
11032
11064
|
let n = p.map((e) => ({
|
|
11033
11065
|
id: e.id,
|
|
@@ -11046,10 +11078,10 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11046
11078
|
});
|
|
11047
11079
|
},
|
|
11048
11080
|
mapStateToProps: (e, { windowId: t }) => ({
|
|
11049
|
-
annotationPages:
|
|
11050
|
-
existingPreviewCompanionWindowId:
|
|
11081
|
+
annotationPages: tS(e, t),
|
|
11082
|
+
existingPreviewCompanionWindowId: iS(e, t),
|
|
11051
11083
|
linkedMapResolver: Ky(e),
|
|
11052
|
-
previewShowsMapInfo: ke(e, { companionWindowId:
|
|
11084
|
+
previewShowsMapInfo: ke(e, { companionWindowId: iS(e, t) })?.annotationid === ay,
|
|
11053
11085
|
initialView: Yy(e, t) ? "fill" : Bb(Gt(e).maps?.initialView),
|
|
11054
11086
|
locale: Zb(Gt(e).language),
|
|
11055
11087
|
site: Gt(e).maps?.site === !0
|
|
@@ -11060,27 +11092,27 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11060
11092
|
updateCompanionWindow: Na,
|
|
11061
11093
|
updateViewport: mc
|
|
11062
11094
|
}
|
|
11063
|
-
}],
|
|
11095
|
+
}], uS = (e) => {
|
|
11064
11096
|
let t = new Set(e.map((e) => e.id));
|
|
11065
11097
|
return Rb(e).flatMap((e) => {
|
|
11066
|
-
let n =
|
|
11098
|
+
let n = _x(e);
|
|
11067
11099
|
return n ? [{
|
|
11068
11100
|
point: n,
|
|
11069
11101
|
poiId: e.id,
|
|
11070
|
-
previewId:
|
|
11102
|
+
previewId: aS(e, (e) => t.has(e))
|
|
11071
11103
|
}] : [];
|
|
11072
11104
|
});
|
|
11073
|
-
},
|
|
11105
|
+
}, dS = (e, t, n) => {
|
|
11074
11106
|
if (e.length === 0) return null;
|
|
11075
11107
|
let r = e.findIndex((e) => e.poiId === t);
|
|
11076
11108
|
if (r === -1) return e[0];
|
|
11077
11109
|
let i = Math.min(e.length - 1, Math.max(0, r + n));
|
|
11078
11110
|
return i === r ? null : e[i];
|
|
11079
|
-
},
|
|
11111
|
+
}, fS = 500, pS = 50, mS = Math.PI / 6, hS = ({ direction: e, speed: t }, n, r) => t < fS || Math.abs(n.x) < pS || Math.abs(n.y) > Math.abs(n.x) * Math.tan(mS) || Math.abs(Math.cos(e)) < Math.cos(mS) || Math.sign(Math.cos(e)) !== Math.sign(n.x) ? null : (r ? n.x > 0 : n.x < 0) ? 1 : -1, gS = [{
|
|
11080
11112
|
target: "OpenSeadragonViewer",
|
|
11081
11113
|
mode: "add",
|
|
11082
11114
|
component: ({ viewer: e, windowId: t, addCompanionWindow: n, annotationPages: r, existingPreviewCompanionWindowId: i, selectAnnotation: a, selectedAnnotationId: o, updateCompanionWindow: s }) => {
|
|
11083
|
-
let c =
|
|
11115
|
+
let c = sS(), l = ml().direction === "rtl", u = P({
|
|
11084
11116
|
annotationPages: r,
|
|
11085
11117
|
dispatchAddCompanionWindow: n,
|
|
11086
11118
|
dispatchSelectAnnotation: a,
|
|
@@ -11105,11 +11137,11 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11105
11137
|
x: 0,
|
|
11106
11138
|
y: 0
|
|
11107
11139
|
}, r = !1, i = (e) => {
|
|
11108
|
-
let n = u.current, r =
|
|
11109
|
-
r && (n.dispatchSelectAnnotation(t, r.poiId),
|
|
11140
|
+
let n = u.current, r = dS(uS(nS(n.annotationPages)), n.selectedAnnotationId, e);
|
|
11141
|
+
r && (n.dispatchSelectAnnotation(t, r.poiId), oS({
|
|
11110
11142
|
addCompanionWindow: n.dispatchAddCompanionWindow,
|
|
11111
11143
|
updateCompanionWindow: n.dispatchUpdateCompanionWindow
|
|
11112
|
-
}, t, n.existingPreviewCompanionWindowId, r.previewId, n.previewPosition), requestAnimationFrame(() => requestAnimationFrame(() =>
|
|
11144
|
+
}, t, n.existingPreviewCompanionWindowId, r.previewId, n.previewPosition), requestAnimationFrame(() => requestAnimationFrame(() => Ix(t, r.point))));
|
|
11113
11145
|
}, a = (e) => {
|
|
11114
11146
|
e.pointerType === "touch" && (n = {
|
|
11115
11147
|
x: 0,
|
|
@@ -11124,7 +11156,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11124
11156
|
r = !0;
|
|
11125
11157
|
}, c = (e) => {
|
|
11126
11158
|
if (e.pointerType !== "touch" || r) return;
|
|
11127
|
-
let t =
|
|
11159
|
+
let t = hS(e, n, u.current.isRtl);
|
|
11128
11160
|
t && (e.preventDefaultAction = !0, i(t));
|
|
11129
11161
|
}, l = Cy(t, i), d = [
|
|
11130
11162
|
["canvas-press", a],
|
|
@@ -11138,8 +11170,8 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11138
11170
|
}, [e, t]), null;
|
|
11139
11171
|
},
|
|
11140
11172
|
mapStateToProps: (e, { windowId: t }) => ({
|
|
11141
|
-
annotationPages:
|
|
11142
|
-
existingPreviewCompanionWindowId:
|
|
11173
|
+
annotationPages: tS(e, t),
|
|
11174
|
+
existingPreviewCompanionWindowId: iS(e, t),
|
|
11143
11175
|
selectedAnnotationId: Kn(e, { windowId: t })
|
|
11144
11176
|
}),
|
|
11145
11177
|
mapDispatchToProps: {
|
|
@@ -11147,7 +11179,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11147
11179
|
selectAnnotation: zn,
|
|
11148
11180
|
updateCompanionWindow: Na
|
|
11149
11181
|
}
|
|
11150
|
-
}],
|
|
11182
|
+
}], _S = {
|
|
11151
11183
|
border: 0,
|
|
11152
11184
|
clip: "rect(0 0 0 0)",
|
|
11153
11185
|
height: 1,
|
|
@@ -11157,7 +11189,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11157
11189
|
position: "absolute",
|
|
11158
11190
|
whiteSpace: "nowrap",
|
|
11159
11191
|
width: 1
|
|
11160
|
-
},
|
|
11192
|
+
}, vS = {
|
|
11161
11193
|
ar: {
|
|
11162
11194
|
...sy.ar,
|
|
11163
11195
|
rights: "حقوق الصورة",
|
|
@@ -11170,12 +11202,12 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11170
11202
|
zoomIn: "Zoom in",
|
|
11171
11203
|
zoomOut: "Zoom out"
|
|
11172
11204
|
}
|
|
11173
|
-
},
|
|
11205
|
+
}, yS = 1.5, bS = {
|
|
11174
11206
|
target: "WindowCanvasNavigationControls",
|
|
11175
11207
|
mode: "wrap",
|
|
11176
11208
|
component: ({ TargetComponent: e, targetProps: t, addCompanionWindow: n, announcement: r, hasMapInfo: i, locale: a, panelPosition: o, previewAnnotationId: s, previewId: c, requiredStatement: l, rights: u, site: d, updateCompanionWindow: f }) => {
|
|
11177
|
-
let { windowId: p } = t, m = fy(p), [h, g] = il(!1), _ = nl(), v =
|
|
11178
|
-
uy(p, !1),
|
|
11209
|
+
let { windowId: p } = t, m = fy(p), [h, g] = il(!1), _ = nl(), v = sS(), y = () => {
|
|
11210
|
+
uy(p, !1), oS({
|
|
11179
11211
|
addCompanionWindow: n,
|
|
11180
11212
|
updateCompanionWindow: f
|
|
11181
11213
|
}, p, c ?? void 0, ay, v);
|
|
@@ -11200,7 +11232,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11200
11232
|
i,
|
|
11201
11233
|
c
|
|
11202
11234
|
]), !d) return /* @__PURE__ */ F(e, { ...t });
|
|
11203
|
-
let S =
|
|
11235
|
+
let S = vS[a], C = (e) => {
|
|
11204
11236
|
let t = Ys.get(p)?.current?.viewport;
|
|
11205
11237
|
t && (t.zoomBy(e), t.applyConstraints());
|
|
11206
11238
|
}, w = l.flatMap(({ values: e }) => e).filter(Boolean), T = w.length > 0 || u.length > 0, E = "none";
|
|
@@ -11213,7 +11245,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11213
11245
|
"aria-atomic": "true",
|
|
11214
11246
|
className: "dbf-map-live",
|
|
11215
11247
|
role: "status",
|
|
11216
|
-
style:
|
|
11248
|
+
style: _S,
|
|
11217
11249
|
children: r
|
|
11218
11250
|
}),
|
|
11219
11251
|
o === "right" && /* @__PURE__ */ F("button", {
|
|
@@ -11237,14 +11269,14 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11237
11269
|
"aria-label": S.zoomIn,
|
|
11238
11270
|
className: "dbf-map-controls__button",
|
|
11239
11271
|
"data-action": "zoom-in",
|
|
11240
|
-
onClick: () => C(
|
|
11272
|
+
onClick: () => C(yS),
|
|
11241
11273
|
type: "button"
|
|
11242
11274
|
}),
|
|
11243
11275
|
/* @__PURE__ */ F("button", {
|
|
11244
11276
|
"aria-label": S.zoomOut,
|
|
11245
11277
|
className: "dbf-map-controls__button",
|
|
11246
11278
|
"data-action": "zoom-out",
|
|
11247
|
-
onClick: () => C(1 /
|
|
11279
|
+
onClick: () => C(1 / yS),
|
|
11248
11280
|
type: "button"
|
|
11249
11281
|
}),
|
|
11250
11282
|
T && /* @__PURE__ */ F("button", {
|
|
@@ -11273,13 +11305,13 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11273
11305
|
});
|
|
11274
11306
|
},
|
|
11275
11307
|
mapStateToProps: (e, { windowId: t }) => {
|
|
11276
|
-
let n = Gt(e), r =
|
|
11308
|
+
let n = Gt(e), r = iS(e, t), i = r ? ke(e, { companionWindowId: r }) : void 0, a = i?.position, o = Zb(n.language), s = rS(e, t), c = Kn(e, { windowId: t }), l = s.find((e) => e.id === c), u = l?.["dbf:journey"]?.id, d = u ? gx(s, u) : [], f = l ? d.findIndex((e) => e.id === l.id) : -1;
|
|
11277
11309
|
return {
|
|
11278
11310
|
announcement: l ? zy(nx(l, o, "identifying"), f >= 0 ? {
|
|
11279
11311
|
count: d.length,
|
|
11280
11312
|
number: f + 1
|
|
11281
11313
|
} : null, o) : "",
|
|
11282
|
-
hasMapInfo:
|
|
11314
|
+
hasMapInfo: hx(e, t, o) !== null,
|
|
11283
11315
|
locale: o,
|
|
11284
11316
|
panelPosition: a === "right" || a === "bottom" ? a : null,
|
|
11285
11317
|
previewAnnotationId: i?.annotationid ?? null,
|
|
@@ -11293,7 +11325,7 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11293
11325
|
addCompanionWindow: co,
|
|
11294
11326
|
updateCompanionWindow: Na
|
|
11295
11327
|
}
|
|
11296
|
-
},
|
|
11328
|
+
}, xS = [bS], SS = {
|
|
11297
11329
|
theme: { components: {
|
|
11298
11330
|
Window: { styleOverrides: {
|
|
11299
11331
|
bottom: ({ theme: e }) => ({
|
|
@@ -11324,14 +11356,14 @@ var Xv = { viewer: Yv }, Zv = {
|
|
|
11324
11356
|
panels: { canvas: !1 }
|
|
11325
11357
|
},
|
|
11326
11358
|
workspaceControlPanel: { enabled: !1 }
|
|
11327
|
-
},
|
|
11359
|
+
}, CS = {
|
|
11328
11360
|
styles: { prepend: !0 },
|
|
11329
11361
|
window: {
|
|
11330
11362
|
defaultSidebarPanelWidth: 480,
|
|
11331
11363
|
defaultSidebarPanelHeight: 310
|
|
11332
11364
|
}
|
|
11333
|
-
},
|
|
11334
|
-
function
|
|
11365
|
+
}, wS = ["en", "ar"];
|
|
11366
|
+
function TS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang: n = "en", manifestId: r, site: i = !1 }) {
|
|
11335
11367
|
let a = nl().replace(/:/g, ""), o = P(null), s = P(null), c = P(e);
|
|
11336
11368
|
c.current = e;
|
|
11337
11369
|
let l = !!e, u = P(n);
|
|
@@ -11343,12 +11375,12 @@ function CS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang:
|
|
|
11343
11375
|
let t = document.createElement("div");
|
|
11344
11376
|
t.id = `mirador-map-viewer-${a}`, t.style.position = "absolute", t.style.inset = 0, e.appendChild(t);
|
|
11345
11377
|
let n = Yv({
|
|
11346
|
-
...
|
|
11378
|
+
...SS,
|
|
11347
11379
|
...i ? {
|
|
11348
|
-
styles:
|
|
11380
|
+
styles: CS.styles,
|
|
11349
11381
|
window: {
|
|
11350
|
-
...
|
|
11351
|
-
...
|
|
11382
|
+
...SS.window,
|
|
11383
|
+
...CS.window
|
|
11352
11384
|
}
|
|
11353
11385
|
} : {},
|
|
11354
11386
|
id: t.id,
|
|
@@ -11360,10 +11392,10 @@ function CS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang:
|
|
|
11360
11392
|
},
|
|
11361
11393
|
windows: [{ manifestId: r }]
|
|
11362
11394
|
}, [
|
|
11363
|
-
...
|
|
11395
|
+
...lS,
|
|
11364
11396
|
...ob,
|
|
11365
|
-
...
|
|
11366
|
-
...
|
|
11397
|
+
...gS,
|
|
11398
|
+
...xS
|
|
11367
11399
|
]);
|
|
11368
11400
|
return s.current = n, () => {
|
|
11369
11401
|
s.current = null, n.unmount(), t.remove();
|
|
@@ -11387,20 +11419,20 @@ function CS({ getLinkedMapManifestId: e = void 0, initialView: t = "fill", lang:
|
|
|
11387
11419
|
}
|
|
11388
11420
|
});
|
|
11389
11421
|
}
|
|
11390
|
-
|
|
11422
|
+
TS.propTypes = {
|
|
11391
11423
|
getLinkedMapManifestId: L.default.func,
|
|
11392
11424
|
initialView: L.default.oneOf(zb),
|
|
11393
|
-
lang: L.default.oneOf(
|
|
11425
|
+
lang: L.default.oneOf(wS),
|
|
11394
11426
|
manifestId: L.default.string.isRequired,
|
|
11395
11427
|
site: L.default.bool
|
|
11396
11428
|
};
|
|
11397
11429
|
//#endregion
|
|
11398
11430
|
//#region src/index.js
|
|
11399
|
-
var
|
|
11431
|
+
var ES = {
|
|
11400
11432
|
...Xv,
|
|
11401
11433
|
...Zv
|
|
11402
11434
|
};
|
|
11403
11435
|
//#endregion
|
|
11404
|
-
export { Bs as AccessTokenSender, M as ActionTypes, Gn as AnnotationFactory, jn as AnnotationItem, Nn as AnnotationList, An as AnnotationPage, kn as AnnotationResource, Oi as AnnotationSettings, $s as AnnotationsOverlay, Fp as App, Mp as AppProviders, Tr as AttributionPanel, Dc as AudioViewer, Va as BackgroundPluginArea, Uo as BookViewIcon, Go as Branding, Xs as CanvasAnnotationDisplay, Ps as CanvasAnnotations, it as CanvasGroupings, Ws as CanvasIndexIcon, ys as CanvasInfo, Br as CanvasLayers, ur as CanvasWorld, _o as ChangeThemeDialog, Fo as CollapsibleSection, Hr as CollectionDialog, go as CollectionInfo, Cr as CompanionArea, zs as CompanionWindow, bi as CompanionWindowFactory, Cs as CompanionWindowRegistry, Ta as CompanionWindowSection, Ir as ConnectedAnnotationSettings, Gs as ConnectedAnnotationsOverlay, Np as ConnectedAppProviders, Hs as ConnectedAttributionPanel, Oc as ConnectedAudioViewer, po as ConnectedBackgroundPluginArea, Do as ConnectedBranding, Fa as ConnectedCanvasAnnotations, Ao as ConnectedCanvasInfo, Yi as ConnectedCanvasLayers, qi as ConnectedChangeThemeDialog, Yo as ConnectedCollapsibleSection, Zi as ConnectedCollectionDialog, is as ConnectedCollectionInfo, Eo as ConnectedCompanionArea, ws as ConnectedCompanionWindow, xo as ConnectedCompanionWindowFactory, Ns as ConnectedCustomPanel, wi as ConnectedErrorContent, _i as ConnectedErrorDialog, la as ConnectedFullScreenButton, Mc as ConnectedGalleryView, Ac as ConnectedGalleryViewThumbnail, Io as ConnectedIIIFAuthentication, Sc as ConnectedIIIFThumbnail, Ga as ConnectedLabelValueMetadata, yr as ConnectedLanguageSettings, Ar as ConnectedLayersPanel, ls as ConnectedLocalePicker, ti as ConnectedManifestForm, Aa as ConnectedManifestInfo, Ur as ConnectedManifestListItem, ma as ConnectedManifestListItemError, ms as ConnectedManifestRelatedLinks, Fs as ConnectedMinimalWindow, Tc as ConnectedMiradorMenuButton, Zr as ConnectedMosaicRenderPreview, ec as ConnectedOpenSeadragonViewer, Mr as ConnectedPrimaryWindow, jr as ConnectedSanitizedHtml, Lr as ConnectedScrollIndicatedDialogContent, yo as ConnectedSearchHit, Fr as ConnectedSearchPanel, Wr as ConnectedSearchPanelControls, mi as ConnectedSearchPanelNavigation, wo as ConnectedSearchResults, Pc as ConnectedSelectCollection, ya as ConnectedSidebarIndexItem, Qo as ConnectedSidebarIndexList, $i as ConnectedSidebarIndexTableOfContents, ha as ConnectedSidebarIndexThumbnail, Gc as ConnectedTextViewer, yi as ConnectedThumbnailCanvasGrouping, Sr as ConnectedThumbnailNavigation, qc as ConnectedVideoViewer, Fc as ConnectedViewerInfo, Vc as ConnectedViewerNavigation, to as ConnectedWindow, oo as ConnectedWindowAuthenticationBar, Uc as ConnectedWindowCanvasNavigationControls, oa as ConnectedWindowList, Za as ConnectedWindowListButton, Kr as ConnectedWindowSideBar, uo as ConnectedWindowSideBarAnnotationsPanel, gi as ConnectedWindowSideBarButtons, ra as ConnectedWindowSideBarCanvasPanel, Rs as ConnectedWindowSideBarCollectionPanel, gr as ConnectedWindowSideBarInfoPanel, cs as ConnectedWindowThumbnailSettings, Dr as ConnectedWindowTopBar, pa as ConnectedWindowTopBarPluginArea, ci as ConnectedWindowTopBarPluginMenu, fi as ConnectedWindowTopBarTitle, ps as ConnectedWindowTopMenu, Li as ConnectedWindowTopMenuButton, rs as ConnectedWindowViewSettings, Yc as ConnectedWindowViewer, Vo as ConnectedWorkspace, Da as ConnectedWorkspaceAdd, vo as ConnectedWorkspaceAddButton, ds as ConnectedWorkspaceArea, os as ConnectedWorkspaceControlPanel, gs as ConnectedWorkspaceControlPanelButtons, Ri as ConnectedWorkspaceElastic, bs as ConnectedWorkspaceElasticWindow, Is as ConnectedWorkspaceExport, Sa as ConnectedWorkspaceImport, Or as ConnectedWorkspaceMenu, js as ConnectedWorkspaceMenuButton, Vs as ConnectedWorkspaceMosaic, Ko as ConnectedWorkspaceOptionsButton, so as ConnectedWorkspaceOptionsMenu, Rr as ConnectedWorkspaceSelectionDialog, Hc as ConnectedZoomControls, Wi as CustomPanel, ge as EMPTY_ARRAY, C as EMPTY_OBJECT, Ni as ErrorContent, as as ErrorDialog, Xr as FullScreenButton, Jo as FullScreenContext, jc as GalleryView, ka as GalleryViewIcon, kc as GalleryViewThumbnail, fo as IIIFAuthentication, hr as IIIFDropTarget, Ia as IIIFIFrameCommunication, bc as IIIFThumbnail, Zs as ImageFailureMessage, eo as LabelValueMetadata, Pi as LanguageSettings, Os as LayersPanel, Ba as LocalePicker, ay as MAP_INFO_ID, SS as MAP_VIEWER_LANGUAGES, va as ManifestForm, Wo as ManifestInfo, ai as ManifestListItem, ua as ManifestListItemError, zo as ManifestRelatedLinks, CS as MapViewer, Ki as MinimalWindow, we as MiradorCanvas, us as MiradorIcon, wn as MiradorManifest, wc as MiradorMenuButton, Jv as MiradorViewer, na as MosaicLayout, Zo as MosaicRenderPreview, oy as NESTED_ORIGIN_ID, li as NestedMenu, Ts as NewBrowserWindow, Ys as OSDReferences, tc as OpenSeadragonCanvasOverlay, Qs as OpenSeadragonViewer, sy as PANEL_LABELS, iy as POI_PREVIEW_CONTENT_ID, re as PluginContext, yc as PluginHook, Wl as PluginProvider, As as PrimaryWindow, Rc as RestoreZoomIcon, py as SHEET_SNAPS, ks as SanitizedHtml, ki as ScrollIndicatedDialogContent, Gi as ScrollTo, vi as SearchHit, Di as SearchPanel, ni as SearchPanelControls, zi as SearchPanelNavigation, xr as SearchResults, Nc as SelectCollection, Fi as SidebarIndexItem, oi as SidebarIndexList, sa as SidebarIndexTableOfContents, da as SidebarIndexThumbnail, Wc as TextViewer, Ci as ThumbnailCanvasGrouping, kt as ThumbnailFactory, bo as ThumbnailNavigation, vs as ThumbnailNavigationBottomIcon, ko as ThumbnailNavigationRightIcon, Si as TruncatedHit, Kc as VideoViewer, Bc as ViewerInfo, Lc as ViewerNavigation, Xo as Window, Ea as WindowAuthenticationBar, zc as WindowCanvasNavigationControls, qr as WindowList, Qi as WindowListButton, ta as WindowMaxIcon, ei as WindowMinIcon, Ja as WindowOptionsIcon, ii as WindowSideBar, ao as WindowSideBarAnnotationsPanel, Vi as WindowSideBarButtons, Qr as WindowSideBarCanvasPanel, Pa as WindowSideBarCollectionPanel, Ya as WindowSideBarInfoPanel, za as WindowThumbnailSettings, aa as WindowTopBar, xa as WindowTopBarPluginArea, _a as WindowTopBarPluginMenu, es as WindowTopBarTitle, Ro as WindowTopMenu, vr as WindowTopMenuButton, ho as WindowViewSettings, Jc as WindowViewer, pi as Workspace, Ai as WorkspaceAdd, xi as WorkspaceAddButton, ts as WorkspaceArea, Ec as WorkspaceContext, La as WorkspaceControlPanel, Ha as WorkspaceControlPanelButtons, ja as WorkspaceDialog, jo as WorkspaceElastic, Ka as WorkspaceElasticWindow, Ma as WorkspaceExport, xs as WorkspaceImport, Es as WorkspaceMenu, Hi as WorkspaceMenuButton, wr as WorkspaceMosaic, Mo as WorkspaceOptionsButton, no as WorkspaceOptionsMenu, Nr as WorkspaceSelectionDialog, So as WorkspaceTypeElasticIcon, Ti as WorkspaceTypeMosaicIcon, Ic as ZoomControls, m_ as accessTokensReducer, ca as addAuthenticationRequest, co as addCompanionWindow, Oo as addError, ro as addOrUpdateCompanionWindow, Hl as addPluginsToCompanionWindowsRegistry, Mi as addResource, fc as addWindow, eS as annotationPagesItems, G_ as annotationsReducer, Fe as asArray, K_ as authReducer, rb as backToParentMap, X_ as catalogReducer, M_ as companionWindowsReducer, U_ as configReducer, Vl as connectPluginsToStore, yy as consumeOpenMinimised, My as consumePanelFocus, qv as createPluggableStore, Kv as createStore, Bl as createTargetToPluginMapping, vc as cssNs, wS as default, bS as defaultMapViewerConfig, Yn as deselectAnnotation, Xb as editInPlaceOfPreview, q_ as elasticLayoutReducer, Ix as ensurePointVisible, P_ as errorsReducer, Ca as expandNodes, ix as eyebrowFor, Ll as fetchInfoResponse, mo as fetchManifest, hi as fetchSearch, Qp as filterValidPlugins, Lx as fitMapToPoints, Px as focusMapOnPoint, cc as focusWindow, Ms as getAccessTokens, vt as getAllowedWindowViewTypes, rr as getAnnotationResourcesByMotivation, Fn as getAnnotationResourcesByMotivationForCanvas, On as getAnnotationResourcesDataForCanvas, Dn as getAnnotations, Ui as getAuth, kr as getAuthProfiles, $t as getBestThumbnail, ln as getCanvas, tS as getCanvasAnnotationItems, $x as getCanvasAnnotationPages, Kt as getCanvasDescription, tr as getCanvasForAnnotation, nn as getCanvasGrouping, Pt as getCanvasGroupings, He as getCanvasIndex, gt as getCanvasLabel, cr as getCanvasLayers, Jt as getCanvasMetadata, on as getCanvases, me as getCatalog, nt as getCompanionAreaVisibility, ke as getCompanionWindow, j as getCompanionWindowIdsForPosition, qe as getCompanionWindowLocale, Bt as getCompanionWindows, Se as getCompanionWindowsForContent, Rt as getCompanionWindowsForPosition, Gt as getConfig, nm as getConfigFromPlugins, Nt as getContainerId, Zb as getContentLocale, bt as getCurrentCanvas, Js as getCurrentCanvasWorld, Ji as getDefaultSidebarVariant, Cn as getDestructuredMetadata, Oe as getElasticLayout, zr as getExpandedNodeIds, jt as getExportableState, De as getFocusedWindowId, Ke as getFullScreenEnabled, mn as getIiifThumbnailOpts, ht as getLanguagesFromConfigWithCurrent, zt as getLatestError, or as getLayers, dr as getLayersForVisibleCanvases, mr as getLayersForWindow, qy as getLinkedMapManifestId, Ky as getLinkedMapResolver, Ce as getLocale, oe as getManifest, at as getManifestAutocompleteService, Me as getManifestDescription, rt as getManifestError, st as getManifestHomepage, je as getManifestLocale, Re as getManifestLogo, en as getManifestMetadata, Ie as getManifestProviderName, dt as getManifestRelated, lt as getManifestRelatedContent, pt as getManifestRenderings, Ye as getManifestSearchService, be as getManifestSeeAlso, Et as getManifestStatus, dn as getManifestSummary, qt as getManifestThumbnail, an as getManifestTitle, It as getManifestUrl, _t as getManifestoInstance, ue as getManifests, Pr as getManuallyExpandedNodeIds, px as getMapInfo, yn as getMaximizedWindowsIds, Xt as getMetadataLocales, Ve as getMiradorCanvasWrapper, Qe as getMiradorManifestWrapper, Xy as getNestedOrigin, Vt as getNextCanvasGrouping, Bn as getNextSearchId, lS as getNextTourStep, Ei as getNodeIdToScrollTo, mx as getOrderedJourneyPois, hx as getPoiPoint, Mn as getPresentAnnotationsOnSelectedCanvases, rS as getPreviewAnnotationId, nS as getPreviewCompanionWindowId, fn as getPreviousCanvasGrouping, cn as getProviderLogo, tm as getReducersFromPlugins, gn as getRequestsConfig, St as getRequiredStatement, Vn as getResourceAnnotationForSearchHit, Zn as getResourceAnnotationLabel, Ut as getRights, rm as getSagasFromPlugins, Jn as getSearchAnnotationsForCompanionWindow, Un as getSearchAnnotationsForWindow, Hn as getSearchForWindow, In as getSearchIsFetching, nr as getSearchNumTotal, ar as getSearchQuery, Kn as getSelectedAnnotationId, Tn as getSelectedAnnotationsOnCanvases, Rn as getSelectedContentSearchAnnotationIds, We as getSequence, Je as getSequenceBehaviors, Ae as getSequenceTreeStructure, Pe as getSequenceViewingDirection, Be as getSequenceViewingHint, Ze as getSequences, hy as getSheetSnap, Sn as getShowZoomControlsConfig, sr as getSortedLayers, ir as getSortedSearchAnnotationsForCompanionWindow, Pn as getSortedSearchHitsForCompanionWindow, pS as getSwipeDirection, yt as getTheme, bn as getThemeDirection, et as getThemeIds, Tt as getThumbnailFactory, Ue as getThumbnailNavigationPosition, Ee as getThumbnailsConfig, cS as getTourSteps, ne as getViewer, Ct as getVisibleCanvasAudioResources, Dt as getVisibleCanvasCaptions, Zt as getVisibleCanvasIds, Wt as getVisibleCanvasNonTiledResources, Mt as getVisibleCanvasTextResources, At as getVisibleCanvasVideoResources, mt as getVisibleCanvases, Tx as getVisibleMapArea, Co as getVisibleNodeIds, y as getWindow, $e as getWindowConfig, Te as getWindowDraggability, ce as getWindowIds, fe as getWindowManifests, _n as getWindowTitles, tt as getWindowViewType, S as getWindows, ae as getWorkspace, xe as getWorkspaceType, Xa as handleDrop, Qy as hasPendingParentViewport, uc as hideCollectionDialog, Qn as hoverAnnotation, Xi as htmlRules, Ua as importConfig, Qa as importMiradorState, B_ as infoResponsesReducer, Lt as isFocused, Oy as isInsideMap, Yy as isNestedMap, Ks as journeyStopNumbers, Y_ as layersReducer, z_ as manifestsReducer, mS as mapInteractionPlugins, oc as maximizeWindow, sx as mediaImageUrl, nc as minimizeWindow, E as miradorSlice, ob as nestedMapPlugins, nb as openNestedMap, vy as openNextMinimised, iS as openPreview, sS as poiPreviewPlugins, hs as readImageMetadata, Yr as receiveAccessToken, di as receiveAccessTokenFailure, Wn as receiveAnnotation, Ln as receiveAnnotationFailure, Fl as receiveDegradedInfoResponse, Pl as receiveInfoResponse, Il as receiveInfoResponseFailure, Oa as receiveManifest, Ho as receiveManifestFailure, Bi as receiveSearch, Us as receiveSearchFailure, Cy as registerTourStepper, Ss as removeCompanionWindow, _s as removeError, Rl as removeInfoResponse, ss as removeManifest, Gr as removeResource, Er as removeSearch, lc as removeWindow, $o as requestAccessToken, Xn as requestAnnotation, $n as requestCanvasAnnotations, Nl as requestInfoResponse, Ra as requestManifest, ky as requestPanelFocus, ia as requestSearch, si as resetAuthenticationState, by as resetSheet, ga as resolveAccessTokenRequest, fa as resolveAuthenticationRequest, Gy as resolveLinkedMapManifestId, Q_ as rootReducer, Gv as rootSaga, tx as sanitizeDescription, J_ as searchesReducer, zn as selectAnnotation, Ge as selectCompanionWindowDimensions, Ds as selectCurrentAuthServices, hn as selectInfoResponse, xn as selectInfoResponses, _c as setCanvas, dc as setCompanionAreaOpen, qo as setConfig, $r as setContentSearchCurrentAnnotation, hc as setNextCanvas, uy as setPanelCollapsed, gc as setPreviousCanvas, gy as setSheetSnap, rc as setWindowThumbnailPosition, sc as setWindowViewType, ba as setWorkspaceAddVisibility, Ii as setWorkspaceViewportDimensions, _r as setWorkspaceViewportPosition, k as settings, pc as showCollectionDialog, vS as siteMapToolsPlugin, yS as siteMapToolsPlugins, xS as siteMapViewerConfig, En as sortSearchAnnotationsByCanvasOrder, wy as stepTour, nx as textBody, qn as toggleAnnotationDisplay, qa as toggleDraggingEnabled, Ls as toggleNode, ic as toggleWindowSideBar, fs as toggleZoomControls, Na as updateCompanionWindow, No as updateConfig, ea as updateElasticWindowLayout, ri as updateLayers, mc as updateViewport, ac as updateWindow, Lo as updateWorkspace, ns as updateWorkspaceMosaicLayout, Ey as useMinimiseOnFirstInteraction, fy as usePanelCollapsed, Ay as usePanelFocusRequest, aS as usePreviewPosition, $y as useRestoreParentViewport, xy as useSheetSnap, ll as useTranslation, Wp as validatePlugin, Yv as viewer, W_ as viewersReducer, R_ as windowsReducer, ee as withPlugins, ul as withTranslation, L_ as workspaceReducer, Fx as zoomMapHalfwayToPoint };
|
|
11436
|
+
export { Bs as AccessTokenSender, M as ActionTypes, Gn as AnnotationFactory, jn as AnnotationItem, Nn as AnnotationList, An as AnnotationPage, kn as AnnotationResource, Oi as AnnotationSettings, $s as AnnotationsOverlay, Fp as App, Mp as AppProviders, Tr as AttributionPanel, Dc as AudioViewer, Va as BackgroundPluginArea, Uo as BookViewIcon, Go as Branding, Xs as CanvasAnnotationDisplay, Ps as CanvasAnnotations, it as CanvasGroupings, Ws as CanvasIndexIcon, ys as CanvasInfo, Br as CanvasLayers, ur as CanvasWorld, _o as ChangeThemeDialog, Fo as CollapsibleSection, Hr as CollectionDialog, go as CollectionInfo, Cr as CompanionArea, zs as CompanionWindow, bi as CompanionWindowFactory, Cs as CompanionWindowRegistry, Ta as CompanionWindowSection, Ir as ConnectedAnnotationSettings, Gs as ConnectedAnnotationsOverlay, Np as ConnectedAppProviders, Hs as ConnectedAttributionPanel, Oc as ConnectedAudioViewer, po as ConnectedBackgroundPluginArea, Do as ConnectedBranding, Fa as ConnectedCanvasAnnotations, Ao as ConnectedCanvasInfo, Yi as ConnectedCanvasLayers, qi as ConnectedChangeThemeDialog, Yo as ConnectedCollapsibleSection, Zi as ConnectedCollectionDialog, is as ConnectedCollectionInfo, Eo as ConnectedCompanionArea, ws as ConnectedCompanionWindow, xo as ConnectedCompanionWindowFactory, Ns as ConnectedCustomPanel, wi as ConnectedErrorContent, _i as ConnectedErrorDialog, la as ConnectedFullScreenButton, Mc as ConnectedGalleryView, Ac as ConnectedGalleryViewThumbnail, Io as ConnectedIIIFAuthentication, Sc as ConnectedIIIFThumbnail, Ga as ConnectedLabelValueMetadata, yr as ConnectedLanguageSettings, Ar as ConnectedLayersPanel, ls as ConnectedLocalePicker, ti as ConnectedManifestForm, Aa as ConnectedManifestInfo, Ur as ConnectedManifestListItem, ma as ConnectedManifestListItemError, ms as ConnectedManifestRelatedLinks, Fs as ConnectedMinimalWindow, Tc as ConnectedMiradorMenuButton, Zr as ConnectedMosaicRenderPreview, ec as ConnectedOpenSeadragonViewer, Mr as ConnectedPrimaryWindow, jr as ConnectedSanitizedHtml, Lr as ConnectedScrollIndicatedDialogContent, yo as ConnectedSearchHit, Fr as ConnectedSearchPanel, Wr as ConnectedSearchPanelControls, mi as ConnectedSearchPanelNavigation, wo as ConnectedSearchResults, Pc as ConnectedSelectCollection, ya as ConnectedSidebarIndexItem, Qo as ConnectedSidebarIndexList, $i as ConnectedSidebarIndexTableOfContents, ha as ConnectedSidebarIndexThumbnail, Gc as ConnectedTextViewer, yi as ConnectedThumbnailCanvasGrouping, Sr as ConnectedThumbnailNavigation, qc as ConnectedVideoViewer, Fc as ConnectedViewerInfo, Vc as ConnectedViewerNavigation, to as ConnectedWindow, oo as ConnectedWindowAuthenticationBar, Uc as ConnectedWindowCanvasNavigationControls, oa as ConnectedWindowList, Za as ConnectedWindowListButton, Kr as ConnectedWindowSideBar, uo as ConnectedWindowSideBarAnnotationsPanel, gi as ConnectedWindowSideBarButtons, ra as ConnectedWindowSideBarCanvasPanel, Rs as ConnectedWindowSideBarCollectionPanel, gr as ConnectedWindowSideBarInfoPanel, cs as ConnectedWindowThumbnailSettings, Dr as ConnectedWindowTopBar, pa as ConnectedWindowTopBarPluginArea, ci as ConnectedWindowTopBarPluginMenu, fi as ConnectedWindowTopBarTitle, ps as ConnectedWindowTopMenu, Li as ConnectedWindowTopMenuButton, rs as ConnectedWindowViewSettings, Yc as ConnectedWindowViewer, Vo as ConnectedWorkspace, Da as ConnectedWorkspaceAdd, vo as ConnectedWorkspaceAddButton, ds as ConnectedWorkspaceArea, os as ConnectedWorkspaceControlPanel, gs as ConnectedWorkspaceControlPanelButtons, Ri as ConnectedWorkspaceElastic, bs as ConnectedWorkspaceElasticWindow, Is as ConnectedWorkspaceExport, Sa as ConnectedWorkspaceImport, Or as ConnectedWorkspaceMenu, js as ConnectedWorkspaceMenuButton, Vs as ConnectedWorkspaceMosaic, Ko as ConnectedWorkspaceOptionsButton, so as ConnectedWorkspaceOptionsMenu, Rr as ConnectedWorkspaceSelectionDialog, Hc as ConnectedZoomControls, Wi as CustomPanel, ge as EMPTY_ARRAY, C as EMPTY_OBJECT, Ni as ErrorContent, as as ErrorDialog, Xr as FullScreenButton, Jo as FullScreenContext, jc as GalleryView, ka as GalleryViewIcon, kc as GalleryViewThumbnail, fo as IIIFAuthentication, hr as IIIFDropTarget, Ia as IIIFIFrameCommunication, bc as IIIFThumbnail, Zs as ImageFailureMessage, eo as LabelValueMetadata, Pi as LanguageSettings, Os as LayersPanel, Ba as LocalePicker, ay as MAP_INFO_ID, wS as MAP_VIEWER_LANGUAGES, va as ManifestForm, Wo as ManifestInfo, ai as ManifestListItem, ua as ManifestListItemError, zo as ManifestRelatedLinks, TS as MapViewer, Ki as MinimalWindow, we as MiradorCanvas, us as MiradorIcon, wn as MiradorManifest, wc as MiradorMenuButton, Jv as MiradorViewer, na as MosaicLayout, Zo as MosaicRenderPreview, oy as NESTED_ORIGIN_ID, li as NestedMenu, Ts as NewBrowserWindow, Ys as OSDReferences, tc as OpenSeadragonCanvasOverlay, Qs as OpenSeadragonViewer, sy as PANEL_LABELS, iy as POI_PREVIEW_CONTENT_ID, re as PluginContext, yc as PluginHook, Wl as PluginProvider, As as PrimaryWindow, Rc as RestoreZoomIcon, py as SHEET_SNAPS, ks as SanitizedHtml, ki as ScrollIndicatedDialogContent, Gi as ScrollTo, vi as SearchHit, Di as SearchPanel, ni as SearchPanelControls, zi as SearchPanelNavigation, xr as SearchResults, Nc as SelectCollection, Fi as SidebarIndexItem, oi as SidebarIndexList, sa as SidebarIndexTableOfContents, da as SidebarIndexThumbnail, Wc as TextViewer, Ci as ThumbnailCanvasGrouping, kt as ThumbnailFactory, bo as ThumbnailNavigation, vs as ThumbnailNavigationBottomIcon, ko as ThumbnailNavigationRightIcon, Si as TruncatedHit, Kc as VideoViewer, Bc as ViewerInfo, Lc as ViewerNavigation, Xo as Window, Ea as WindowAuthenticationBar, zc as WindowCanvasNavigationControls, qr as WindowList, Qi as WindowListButton, ta as WindowMaxIcon, ei as WindowMinIcon, Ja as WindowOptionsIcon, ii as WindowSideBar, ao as WindowSideBarAnnotationsPanel, Vi as WindowSideBarButtons, Qr as WindowSideBarCanvasPanel, Pa as WindowSideBarCollectionPanel, Ya as WindowSideBarInfoPanel, za as WindowThumbnailSettings, aa as WindowTopBar, xa as WindowTopBarPluginArea, _a as WindowTopBarPluginMenu, es as WindowTopBarTitle, Ro as WindowTopMenu, vr as WindowTopMenuButton, ho as WindowViewSettings, Jc as WindowViewer, pi as Workspace, Ai as WorkspaceAdd, xi as WorkspaceAddButton, ts as WorkspaceArea, Ec as WorkspaceContext, La as WorkspaceControlPanel, Ha as WorkspaceControlPanelButtons, ja as WorkspaceDialog, jo as WorkspaceElastic, Ka as WorkspaceElasticWindow, Ma as WorkspaceExport, xs as WorkspaceImport, Es as WorkspaceMenu, Hi as WorkspaceMenuButton, wr as WorkspaceMosaic, Mo as WorkspaceOptionsButton, no as WorkspaceOptionsMenu, Nr as WorkspaceSelectionDialog, So as WorkspaceTypeElasticIcon, Ti as WorkspaceTypeMosaicIcon, Ic as ZoomControls, m_ as accessTokensReducer, ca as addAuthenticationRequest, co as addCompanionWindow, Oo as addError, ro as addOrUpdateCompanionWindow, Hl as addPluginsToCompanionWindowsRegistry, Mi as addResource, fc as addWindow, nS as annotationPagesItems, G_ as annotationsReducer, Fe as asArray, K_ as authReducer, rb as backToParentMap, X_ as catalogReducer, M_ as companionWindowsReducer, U_ as configReducer, Vl as connectPluginsToStore, yy as consumeOpenMinimised, My as consumePanelFocus, qv as createPluggableStore, Kv as createStore, Bl as createTargetToPluginMapping, vc as cssNs, ES as default, SS as defaultMapViewerConfig, Yn as deselectAnnotation, Xb as editInPlaceOfPreview, q_ as elasticLayoutReducer, Rx as ensurePointVisible, P_ as errorsReducer, Ca as expandNodes, ix as eyebrowFor, Ll as fetchInfoResponse, mo as fetchManifest, hi as fetchSearch, Qp as filterValidPlugins, zx as fitMapToPoints, Ix as focusMapOnPoint, cc as focusWindow, Ms as getAccessTokens, vt as getAllowedWindowViewTypes, rr as getAnnotationResourcesByMotivation, Fn as getAnnotationResourcesByMotivationForCanvas, On as getAnnotationResourcesDataForCanvas, Dn as getAnnotations, Ui as getAuth, kr as getAuthProfiles, $t as getBestThumbnail, ln as getCanvas, rS as getCanvasAnnotationItems, tS as getCanvasAnnotationPages, Kt as getCanvasDescription, tr as getCanvasForAnnotation, nn as getCanvasGrouping, Pt as getCanvasGroupings, He as getCanvasIndex, gt as getCanvasLabel, cr as getCanvasLayers, Jt as getCanvasMetadata, on as getCanvases, me as getCatalog, nt as getCompanionAreaVisibility, ke as getCompanionWindow, j as getCompanionWindowIdsForPosition, qe as getCompanionWindowLocale, Bt as getCompanionWindows, Se as getCompanionWindowsForContent, Rt as getCompanionWindowsForPosition, Gt as getConfig, nm as getConfigFromPlugins, Nt as getContainerId, Zb as getContentLocale, bt as getCurrentCanvas, Js as getCurrentCanvasWorld, Ji as getDefaultSidebarVariant, Cn as getDestructuredMetadata, Oe as getElasticLayout, zr as getExpandedNodeIds, jt as getExportableState, De as getFocusedWindowId, Ke as getFullScreenEnabled, mn as getIiifThumbnailOpts, ht as getLanguagesFromConfigWithCurrent, zt as getLatestError, or as getLayers, dr as getLayersForVisibleCanvases, mr as getLayersForWindow, qy as getLinkedMapManifestId, Ky as getLinkedMapResolver, Ce as getLocale, oe as getManifest, at as getManifestAutocompleteService, Me as getManifestDescription, rt as getManifestError, st as getManifestHomepage, je as getManifestLocale, Re as getManifestLogo, en as getManifestMetadata, Ie as getManifestProviderName, dt as getManifestRelated, lt as getManifestRelatedContent, pt as getManifestRenderings, Ye as getManifestSearchService, be as getManifestSeeAlso, Et as getManifestStatus, dn as getManifestSummary, qt as getManifestThumbnail, an as getManifestTitle, It as getManifestUrl, _t as getManifestoInstance, ue as getManifests, Pr as getManuallyExpandedNodeIds, hx as getMapInfo, yn as getMaximizedWindowsIds, Xt as getMetadataLocales, Ve as getMiradorCanvasWrapper, Qe as getMiradorManifestWrapper, Xy as getNestedOrigin, Vt as getNextCanvasGrouping, Bn as getNextSearchId, dS as getNextTourStep, Ei as getNodeIdToScrollTo, gx as getOrderedJourneyPois, _x as getPoiPoint, Mn as getPresentAnnotationsOnSelectedCanvases, aS as getPreviewAnnotationId, iS as getPreviewCompanionWindowId, fn as getPreviousCanvasGrouping, cn as getProviderLogo, tm as getReducersFromPlugins, gn as getRequestsConfig, St as getRequiredStatement, Vn as getResourceAnnotationForSearchHit, Zn as getResourceAnnotationLabel, Ut as getRights, rm as getSagasFromPlugins, Jn as getSearchAnnotationsForCompanionWindow, Un as getSearchAnnotationsForWindow, Hn as getSearchForWindow, In as getSearchIsFetching, nr as getSearchNumTotal, ar as getSearchQuery, Kn as getSelectedAnnotationId, Tn as getSelectedAnnotationsOnCanvases, Rn as getSelectedContentSearchAnnotationIds, We as getSequence, Je as getSequenceBehaviors, Ae as getSequenceTreeStructure, Pe as getSequenceViewingDirection, Be as getSequenceViewingHint, Ze as getSequences, hy as getSheetSnap, Sn as getShowZoomControlsConfig, sr as getSortedLayers, ir as getSortedSearchAnnotationsForCompanionWindow, Pn as getSortedSearchHitsForCompanionWindow, hS as getSwipeDirection, yt as getTheme, bn as getThemeDirection, et as getThemeIds, Tt as getThumbnailFactory, Ue as getThumbnailNavigationPosition, Ee as getThumbnailsConfig, uS as getTourSteps, ne as getViewer, Ct as getVisibleCanvasAudioResources, Dt as getVisibleCanvasCaptions, Zt as getVisibleCanvasIds, Wt as getVisibleCanvasNonTiledResources, Mt as getVisibleCanvasTextResources, At as getVisibleCanvasVideoResources, mt as getVisibleCanvases, Dx as getVisibleMapArea, Co as getVisibleNodeIds, y as getWindow, $e as getWindowConfig, Te as getWindowDraggability, ce as getWindowIds, fe as getWindowManifests, _n as getWindowTitles, tt as getWindowViewType, S as getWindows, ae as getWorkspace, xe as getWorkspaceType, Xa as handleDrop, Qy as hasPendingParentViewport, uc as hideCollectionDialog, Qn as hoverAnnotation, Xi as htmlRules, Ua as importConfig, Qa as importMiradorState, B_ as infoResponsesReducer, Lt as isFocused, Oy as isInsideMap, Yy as isNestedMap, Ks as journeyStopNumbers, Y_ as layersReducer, z_ as manifestsReducer, gS as mapInteractionPlugins, oc as maximizeWindow, lx as mediaImageUrl, nc as minimizeWindow, E as miradorSlice, ob as nestedMapPlugins, nb as openNestedMap, vy as openNextMinimised, oS as openPreview, lS as poiPreviewPlugins, hs as readImageMetadata, Yr as receiveAccessToken, di as receiveAccessTokenFailure, Wn as receiveAnnotation, Ln as receiveAnnotationFailure, Fl as receiveDegradedInfoResponse, Pl as receiveInfoResponse, Il as receiveInfoResponseFailure, Oa as receiveManifest, Ho as receiveManifestFailure, Bi as receiveSearch, Us as receiveSearchFailure, Cy as registerTourStepper, Ss as removeCompanionWindow, _s as removeError, Rl as removeInfoResponse, ss as removeManifest, Gr as removeResource, Er as removeSearch, lc as removeWindow, $o as requestAccessToken, Xn as requestAnnotation, $n as requestCanvasAnnotations, Nl as requestInfoResponse, Ra as requestManifest, ky as requestPanelFocus, ia as requestSearch, si as resetAuthenticationState, by as resetSheet, ga as resolveAccessTokenRequest, fa as resolveAuthenticationRequest, Gy as resolveLinkedMapManifestId, Q_ as rootReducer, Gv as rootSaga, tx as sanitizeDescription, J_ as searchesReducer, zn as selectAnnotation, Ge as selectCompanionWindowDimensions, Ds as selectCurrentAuthServices, hn as selectInfoResponse, xn as selectInfoResponses, _c as setCanvas, dc as setCompanionAreaOpen, qo as setConfig, $r as setContentSearchCurrentAnnotation, hc as setNextCanvas, uy as setPanelCollapsed, gc as setPreviousCanvas, gy as setSheetSnap, rc as setWindowThumbnailPosition, sc as setWindowViewType, ba as setWorkspaceAddVisibility, Ii as setWorkspaceViewportDimensions, _r as setWorkspaceViewportPosition, k as settings, pc as showCollectionDialog, bS as siteMapToolsPlugin, xS as siteMapToolsPlugins, CS as siteMapViewerConfig, En as sortSearchAnnotationsByCanvasOrder, wy as stepTour, nx as textBody, qn as toggleAnnotationDisplay, qa as toggleDraggingEnabled, Ls as toggleNode, ic as toggleWindowSideBar, fs as toggleZoomControls, Na as updateCompanionWindow, No as updateConfig, ea as updateElasticWindowLayout, ri as updateLayers, mc as updateViewport, ac as updateWindow, Lo as updateWorkspace, ns as updateWorkspaceMosaicLayout, Ey as useMinimiseOnFirstInteraction, fy as usePanelCollapsed, Ay as usePanelFocusRequest, sS as usePreviewPosition, $y as useRestoreParentViewport, xy as useSheetSnap, ll as useTranslation, Wp as validatePlugin, Yv as viewer, W_ as viewersReducer, R_ as windowsReducer, ee as withPlugins, ul as withTranslation, L_ as workspaceReducer, Lx as zoomMapHalfwayToPoint };
|
|
11405
11437
|
|
|
11406
11438
|
//# sourceMappingURL=mirador.es.js.map
|