dbf-mirador 4.2.5 → 4.3.0-testing2
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/README.md +17 -80
- package/dist/AudioViewer-tRH73pbt.js +40 -0
- package/dist/AudioViewer-tRH73pbt.js.map +1 -0
- package/dist/{CommentSharp-NUjBddtU.js → CommentSharp-DaW0oBJy.js} +40 -43
- package/dist/CommentSharp-DaW0oBJy.js.map +1 -0
- package/dist/{FailedImageContext-CMg_Behz.js → FailedImageContext-DYZ9cZx9.js} +6 -6
- package/dist/FailedImageContext-DYZ9cZx9.js.map +1 -0
- package/dist/GalleryView-DyLH1kk0.js +176 -0
- package/dist/GalleryView-DyLH1kk0.js.map +1 -0
- package/dist/OpenSeadragonViewer-CBmX5sYE.js +7852 -0
- package/dist/OpenSeadragonViewer-CBmX5sYE.js.map +1 -0
- package/dist/{PluginHook-D8r77ZZu.js → PluginHook-DWFCXIIp.js} +3 -3
- package/dist/PluginHook-DWFCXIIp.js.map +1 -0
- package/dist/SelectCollection-BK9ZDkK3.js +67 -0
- package/dist/SelectCollection-BK9ZDkK3.js.map +1 -0
- package/dist/TextViewer-D_1qzQE4.js +38 -0
- package/dist/TextViewer-D_1qzQE4.js.map +1 -0
- package/dist/VideoViewer-DzNjgLWE.js +42 -0
- package/dist/VideoViewer-DzNjgLWE.js.map +1 -0
- package/dist/{WindowCanvasNavigationControls-BTkfeaAf.js → WindowCanvasNavigationControls-D2uLtL_A.js} +7 -7
- package/dist/WindowCanvasNavigationControls-D2uLtL_A.js.map +1 -0
- package/dist/WindowViewer-BW0_w7wv.js +27 -0
- package/dist/WindowViewer-BW0_w7wv.js.map +1 -0
- package/dist/WorkspaceArea-C0RjqnIL.js +22222 -0
- package/dist/WorkspaceArea-C0RjqnIL.js.map +1 -0
- package/dist/{canvas-BqYerOKD.js → canvas-2ACcnS9Y.js} +2 -2
- package/dist/{canvas-BqYerOKD.js.map → canvas-2ACcnS9Y.js.map} +1 -1
- package/dist/{canvases-DU_CwLPL.js → canvases-DTR37lo-.js} +190 -90
- package/dist/canvases-DTR37lo-.js.map +1 -0
- package/dist/{getters-_7oCN-rP.js → getters-B4oepJRC.js} +257 -280
- package/dist/getters-B4oepJRC.js.map +1 -0
- package/dist/{index.module-D9wVojda.js → index.module-CgUBfaXx.js} +6 -6
- package/dist/index.module-CgUBfaXx.js.map +1 -0
- package/dist/mirador.es.js +8778 -39138
- package/dist/mirador.es.js.map +1 -1
- package/dist/mirador.min.js +75 -74
- package/dist/mirador.min.js.map +1 -1
- package/dist/{react-error-boundary.esm-B_pT-oCS.js → react-error-boundary.esm-ByHqCaxk.js} +2 -2
- package/dist/react-error-boundary.esm-ByHqCaxk.js.map +1 -0
- package/dist/{visuallyHidden-qk1C0S9l.js → visuallyHidden-C4mhQkB0.js} +4 -4
- package/dist/visuallyHidden-C4mhQkB0.js.map +1 -0
- package/dist/{window-BYD7F_2a.js → window-COQOIAli.js} +2 -2
- package/dist/{window-BYD7F_2a.js.map → window-COQOIAli.js.map} +1 -1
- package/package.json +3 -2
- package/dist/CommentSharp-NUjBddtU.js.map +0 -1
- package/dist/FailedImageContext-CMg_Behz.js.map +0 -1
- package/dist/PluginHook-D8r77ZZu.js.map +0 -1
- package/dist/WindowCanvasNavigationControls-BTkfeaAf.js.map +0 -1
- package/dist/canvases-DU_CwLPL.js.map +0 -1
- package/dist/getters-_7oCN-rP.js.map +0 -1
- package/dist/index.module-D9wVojda.js.map +0 -1
- package/dist/react-error-boundary.esm-B_pT-oCS.js.map +0 -1
- package/dist/visuallyHidden-qk1C0S9l.js.map +0 -1
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { U as e, at as t, dt as n, ft as r, g as i, st as a } from "./getters-B4oepJRC.js";
|
|
2
|
+
import { At as o, I as s, c, mt as l, s as u } from "./canvases-DTR37lo-.js";
|
|
3
|
+
import { O as d, h as f, s as p } from "./FailedImageContext-DYZ9cZx9.js";
|
|
4
|
+
import { l as m } from "./window-COQOIAli.js";
|
|
5
|
+
import { t as h } from "./canvas-2ACcnS9Y.js";
|
|
6
|
+
import { n as g, r as _, s as v, t as y } from "./CommentSharp-DaW0oBJy.js";
|
|
7
|
+
import { useEffect as b, useRef as x, useState as S } from "react";
|
|
8
|
+
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
9
|
+
import T from "@mui/material/Paper";
|
|
10
|
+
import { styled as E } from "@mui/material/styles";
|
|
11
|
+
import D from "@mui/material/Chip";
|
|
12
|
+
//#region src/components/GalleryViewThumbnail.jsx
|
|
13
|
+
var O = /* @__PURE__ */ r(t(), 1), k = E("div", {
|
|
14
|
+
name: "GalleryView",
|
|
15
|
+
slot: "thumbnail"
|
|
16
|
+
})(({ ownerState: e, theme: t }) => ({
|
|
17
|
+
"&:focus": { outline: "none" },
|
|
18
|
+
"&:hover": { backgroundColor: t.palette.action.hover },
|
|
19
|
+
border: "2px solid transparent",
|
|
20
|
+
...e.selected && { borderColor: t.palette.primary.main },
|
|
21
|
+
...!e.selected && e.searchAnnotationsCount > 0 && { borderColor: t.palette.action.selected },
|
|
22
|
+
cursor: "pointer",
|
|
23
|
+
display: "inline-block",
|
|
24
|
+
margin: t.spacing(1, .5),
|
|
25
|
+
maxHeight: e.config.height + 45,
|
|
26
|
+
minWidth: "60px",
|
|
27
|
+
overflow: "hidden",
|
|
28
|
+
padding: t.spacing(.5),
|
|
29
|
+
position: "relative",
|
|
30
|
+
width: "min-content"
|
|
31
|
+
})), A = E("div", {
|
|
32
|
+
name: "GalleryView",
|
|
33
|
+
slot: "chipArea"
|
|
34
|
+
})(({ theme: e }) => ({
|
|
35
|
+
display: "flex",
|
|
36
|
+
flexDirection: "column",
|
|
37
|
+
gap: e.spacing(.25),
|
|
38
|
+
position: "absolute",
|
|
39
|
+
right: 0,
|
|
40
|
+
top: 0
|
|
41
|
+
})), j = E(D, {
|
|
42
|
+
name: "GalleryView",
|
|
43
|
+
slot: "chip"
|
|
44
|
+
})(({ theme: e }) => ({
|
|
45
|
+
backgroundColor: e.palette.annotations.chipBackground,
|
|
46
|
+
opacity: .875,
|
|
47
|
+
textAlign: "right"
|
|
48
|
+
}));
|
|
49
|
+
function M({ canvas: e, selected: t = !1, setCanvas: n, focusOnCanvas: r, annotationsCount: i = void 0, requestCanvasAnnotations: a = () => {}, searchAnnotationsCount: o = 0, config: s = {
|
|
50
|
+
height: 100,
|
|
51
|
+
width: null
|
|
52
|
+
} }) {
|
|
53
|
+
let c = x(), [l, u] = S(!1);
|
|
54
|
+
return b(() => {
|
|
55
|
+
t && c.current?.scrollIntoView({ block: "nearest" });
|
|
56
|
+
}, [t]), /* @__PURE__ */ C(v, {
|
|
57
|
+
onChange: (e, { isIntersecting: t }) => {
|
|
58
|
+
!t || i === void 0 || i > 0 || l || (u(!0), a());
|
|
59
|
+
},
|
|
60
|
+
children: /* @__PURE__ */ C(k, {
|
|
61
|
+
ownerState: {
|
|
62
|
+
annotationsCount: i,
|
|
63
|
+
canvas: e,
|
|
64
|
+
config: s,
|
|
65
|
+
searchAnnotationsCount: o,
|
|
66
|
+
selected: t
|
|
67
|
+
},
|
|
68
|
+
className: t ? "selected" : "",
|
|
69
|
+
onClick: () => {
|
|
70
|
+
t ? r() : n(e.id);
|
|
71
|
+
},
|
|
72
|
+
onKeyUp: (t) => {
|
|
73
|
+
let i = {
|
|
74
|
+
enter: "Enter",
|
|
75
|
+
space: " "
|
|
76
|
+
}, a = {
|
|
77
|
+
enter: 13,
|
|
78
|
+
space: 32
|
|
79
|
+
};
|
|
80
|
+
t.key === i.enter || t.which === a.enter || t.key === i.space || t.which === a.space ? r() : n(e.id);
|
|
81
|
+
},
|
|
82
|
+
ref: c,
|
|
83
|
+
role: "button",
|
|
84
|
+
tabIndex: 0,
|
|
85
|
+
children: /* @__PURE__ */ C(_, {
|
|
86
|
+
resource: e,
|
|
87
|
+
labelled: !0,
|
|
88
|
+
variant: "outside",
|
|
89
|
+
maxHeight: s.height,
|
|
90
|
+
maxWidth: s.width,
|
|
91
|
+
children: /* @__PURE__ */ w(A, { children: [o > 0 && /* @__PURE__ */ C(j, {
|
|
92
|
+
icon: /* @__PURE__ */ C(g, { fontSize: "small" }),
|
|
93
|
+
label: o,
|
|
94
|
+
size: "small"
|
|
95
|
+
}), i > 0 && /* @__PURE__ */ C(j, {
|
|
96
|
+
icon: /* @__PURE__ */ C(y, { fontSize: "small" }),
|
|
97
|
+
label: i,
|
|
98
|
+
size: "small"
|
|
99
|
+
})] })
|
|
100
|
+
})
|
|
101
|
+
}, e.id || e.index)
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
M.propTypes = {
|
|
105
|
+
annotationsCount: O.default.number,
|
|
106
|
+
canvas: O.default.object.isRequired,
|
|
107
|
+
config: O.default.shape({
|
|
108
|
+
height: O.default.number,
|
|
109
|
+
width: O.default.number
|
|
110
|
+
}),
|
|
111
|
+
focusOnCanvas: O.default.func.isRequired,
|
|
112
|
+
requestCanvasAnnotations: O.default.func,
|
|
113
|
+
searchAnnotationsCount: O.default.number,
|
|
114
|
+
selected: O.default.bool,
|
|
115
|
+
setCanvas: O.default.func.isRequired
|
|
116
|
+
};
|
|
117
|
+
var N = e(a((e, { canvas: t, windowId: n }) => {
|
|
118
|
+
let r = c(e, { windowId: n }), i = f(e, { windowId: n }).flatMap((e) => e.resources).filter((e) => e.targetId === t.id), a = o(e, {
|
|
119
|
+
content: "annotations",
|
|
120
|
+
windowId: n
|
|
121
|
+
}).length > 0;
|
|
122
|
+
return {
|
|
123
|
+
annotationsCount: (() => {
|
|
124
|
+
if (a) return d(e, { canvasId: t.id }).reduce((e, n) => e + n.resources.filter((e) => e.targetId === t.id).length, 0);
|
|
125
|
+
})(),
|
|
126
|
+
config: l(e).galleryView,
|
|
127
|
+
searchAnnotationsCount: i.length,
|
|
128
|
+
selected: r && r.id === t.id
|
|
129
|
+
};
|
|
130
|
+
}, (e, { canvas: t, id: n, windowId: r }) => ({
|
|
131
|
+
focusOnCanvas: () => e(m(r, "single")),
|
|
132
|
+
requestCanvasAnnotations: () => e(p(r, t.id)),
|
|
133
|
+
setCanvas: (...t) => e(h(r, ...t))
|
|
134
|
+
})))(M), P = E(T, {
|
|
135
|
+
name: "GalleryView",
|
|
136
|
+
slot: "root"
|
|
137
|
+
})(({ theme: e }) => ({
|
|
138
|
+
alignItems: "flex-start",
|
|
139
|
+
alignContent: "flex-start",
|
|
140
|
+
display: "flex",
|
|
141
|
+
flexDirection: "row",
|
|
142
|
+
flexWrap: "wrap",
|
|
143
|
+
overflowX: "hidden",
|
|
144
|
+
overflowY: "scroll",
|
|
145
|
+
padding: "50px 0 50px 20px",
|
|
146
|
+
width: "100%"
|
|
147
|
+
}));
|
|
148
|
+
function F({ canvases: e, viewingDirection: t = "", windowId: n }) {
|
|
149
|
+
return /* @__PURE__ */ C(P, {
|
|
150
|
+
component: "section",
|
|
151
|
+
"aria-label": "gallery section",
|
|
152
|
+
dir: t === "right-to-left" ? "rtl" : "ltr",
|
|
153
|
+
square: !0,
|
|
154
|
+
elevation: 0,
|
|
155
|
+
id: `${n}-gallery`,
|
|
156
|
+
children: e.map((e) => /* @__PURE__ */ C(N, {
|
|
157
|
+
windowId: n,
|
|
158
|
+
canvas: e
|
|
159
|
+
}, e.id))
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
F.propTypes = {
|
|
163
|
+
canvases: O.default.array.isRequired,
|
|
164
|
+
viewingDirection: O.default.string,
|
|
165
|
+
windowId: O.default.string.isRequired
|
|
166
|
+
};
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region src/containers/GalleryView.js
|
|
169
|
+
var I = /* @__PURE__ */ n({ default: () => L }), L = e(a((e, { windowId: t }) => ({
|
|
170
|
+
canvases: u(e, { windowId: t }),
|
|
171
|
+
viewingDirection: s(e, { windowId: t })
|
|
172
|
+
})), i("GalleryView"))(F);
|
|
173
|
+
//#endregion
|
|
174
|
+
export { M as a, N as i, I as n, F as r, L as t };
|
|
175
|
+
|
|
176
|
+
//# sourceMappingURL=GalleryView-DyLH1kk0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryView-DyLH1kk0.js","names":[],"sources":["../src/components/GalleryViewThumbnail.jsx","../src/containers/GalleryViewThumbnail.js","../src/components/GalleryView.jsx","../src/containers/GalleryView.js"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport Chip from '@mui/material/Chip';\nimport AnnotationIcon from '@mui/icons-material/CommentSharp';\nimport SearchIcon from '@mui/icons-material/SearchSharp';\nimport { InView } from 'react-intersection-observer';\nimport IIIFThumbnail from '../containers/IIIFThumbnail';\n\nconst Root = styled('div', { name: 'GalleryView', slot: 'thumbnail' })(({ ownerState, theme }) => ({\n '&:focus': {\n outline: 'none',\n },\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n },\n border: '2px solid transparent',\n ...(ownerState.selected && {\n borderColor: theme.palette.primary.main,\n }),\n ...(!ownerState.selected &&\n ownerState.searchAnnotationsCount > 0 && {\n borderColor: theme.palette.action.selected,\n }),\n cursor: 'pointer',\n display: 'inline-block',\n margin: theme.spacing(1, 0.5),\n maxHeight: ownerState.config.height + 45,\n minWidth: '60px',\n overflow: 'hidden',\n padding: theme.spacing(0.5),\n position: 'relative',\n width: 'min-content',\n}));\n\nconst StyledChipsContainer = styled('div', { name: 'GalleryView', slot: 'chipArea' })(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(0.25),\n position: 'absolute',\n right: 0,\n top: 0,\n}));\n\nconst AnnotationChip = styled(Chip, { name: 'GalleryView', slot: 'chip' })(({ theme }) => ({\n backgroundColor: theme.palette.annotations.chipBackground,\n opacity: 0.875,\n textAlign: 'right',\n}));\n\n/**\n * Represents a WindowViewer in the mirador workspace. Responsible for mounting\n * OSD and Navigation\n */\nexport function GalleryViewThumbnail({\n canvas,\n selected = false,\n setCanvas,\n focusOnCanvas,\n annotationsCount = undefined,\n requestCanvasAnnotations = () => {},\n searchAnnotationsCount = 0,\n config = { height: 100, width: null },\n}) {\n const myRef = useRef();\n const [requestedAnnotations, setRequestedAnnotations] = useState(false);\n\n useEffect(() => {\n if (selected) {\n myRef.current?.scrollIntoView({ block: 'nearest' });\n }\n }, [selected]);\n\n /** @private */\n const handleSelect = () => {\n if (selected) {\n focusOnCanvas();\n } else {\n setCanvas(canvas.id);\n }\n };\n\n /** @private */\n const handleKey = (event) => {\n const keys = {\n enter: 'Enter',\n space: ' ',\n };\n\n const chars = {\n enter: 13,\n space: 32,\n };\n\n const enterOrSpace =\n event.key === keys.enter || event.which === chars.enter || event.key === keys.space || event.which === chars.space;\n\n if (enterOrSpace) {\n focusOnCanvas();\n } else {\n setCanvas(canvas.id);\n }\n };\n\n /** */\n const handleIntersection = (_inView, { isIntersecting }) => {\n if (!isIntersecting || annotationsCount === undefined || annotationsCount > 0 || requestedAnnotations) return;\n\n setRequestedAnnotations(true);\n requestCanvasAnnotations();\n };\n\n const ownerState = {\n annotationsCount,\n canvas,\n config,\n searchAnnotationsCount,\n selected,\n };\n\n return (\n <InView onChange={handleIntersection}>\n <Root\n ownerState={ownerState}\n key={canvas.id || canvas.index}\n className={selected ? 'selected' : ''}\n onClick={handleSelect}\n onKeyUp={handleKey}\n ref={myRef}\n role=\"button\"\n tabIndex={0}\n >\n <IIIFThumbnail resource={canvas} labelled variant=\"outside\" maxHeight={config.height} maxWidth={config.width}>\n <StyledChipsContainer>\n {searchAnnotationsCount > 0 && (\n <AnnotationChip icon={<SearchIcon fontSize=\"small\" />} label={searchAnnotationsCount} size=\"small\" />\n )}\n {annotationsCount > 0 && (\n <AnnotationChip icon={<AnnotationIcon fontSize=\"small\" />} label={annotationsCount} size=\"small\" />\n )}\n </StyledChipsContainer>\n </IIIFThumbnail>\n </Root>\n </InView>\n );\n}\n\nGalleryViewThumbnail.propTypes = {\n annotationsCount: PropTypes.number,\n canvas: PropTypes.object.isRequired,\n config: PropTypes.shape({\n height: PropTypes.number,\n width: PropTypes.number,\n }),\n focusOnCanvas: PropTypes.func.isRequired,\n requestCanvasAnnotations: PropTypes.func,\n searchAnnotationsCount: PropTypes.number,\n selected: PropTypes.bool,\n setCanvas: PropTypes.func.isRequired,\n};\n","import { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport * as actions from '../state/actions';\nimport { GalleryViewThumbnail } from '../components/GalleryViewThumbnail';\nimport {\n getSearchAnnotationsForWindow,\n getCurrentCanvas,\n getConfig,\n getPresentAnnotationsOnSelectedCanvases,\n getCompanionWindowsForContent,\n} from '../state/selectors';\n\n/** */\nconst mapStateToProps = (state, { canvas, windowId }) => {\n const currentCanvas = getCurrentCanvas(state, { windowId });\n const searchAnnotations = getSearchAnnotationsForWindow(state, { windowId });\n\n const canvasAnnotations = searchAnnotations.flatMap((a) => a.resources).filter((a) => a.targetId === canvas.id);\n\n const hasOpenAnnotationsWindow = getCompanionWindowsForContent(state, { content: 'annotations', windowId }).length > 0;\n\n return {\n annotationsCount: (() => {\n if (!hasOpenAnnotationsWindow) return undefined;\n const annotations = getPresentAnnotationsOnSelectedCanvases(state, { canvasId: canvas.id });\n\n return annotations.reduce((v, a) => v + a.resources.filter((r) => r.targetId === canvas.id).length, 0);\n })(),\n config: getConfig(state).galleryView,\n searchAnnotationsCount: canvasAnnotations.length,\n selected: currentCanvas && currentCanvas.id === canvas.id,\n };\n};\n\n/**\n * mapDispatchToProps - used to hook up connect to action creators\n * @memberof WindowViewer\n * @private\n */\nconst mapDispatchToProps = (dispatch, { canvas, id, windowId }) => ({\n focusOnCanvas: () => dispatch(actions.setWindowViewType(windowId, 'single')),\n requestCanvasAnnotations: () => dispatch(actions.requestCanvasAnnotations(windowId, canvas.id)),\n setCanvas: (...args) => dispatch(actions.setCanvas(windowId, ...args)),\n});\n\nconst enhance = compose(\n connect(mapStateToProps, mapDispatchToProps),\n // further HOC go here\n);\n\nexport default enhance(GalleryViewThumbnail);\n","import PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport Paper from '@mui/material/Paper';\nimport GalleryViewThumbnail from '../containers/GalleryViewThumbnail';\n\nconst Root = styled(Paper, { name: 'GalleryView', slot: 'root' })(({ theme }) => ({\n alignItems: 'flex-start',\n alignContent: 'flex-start',\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n overflowX: 'hidden',\n overflowY: 'scroll',\n padding: '50px 0 50px 20px',\n width: '100%',\n}));\n\n/**\n * Renders a GalleryView overview of the manifest.\n */\nexport function GalleryView({ canvases, viewingDirection = '', windowId }) {\n const htmlDir = viewingDirection === 'right-to-left' ? 'rtl' : 'ltr';\n return (\n <Root component=\"section\" aria-label=\"gallery section\" dir={htmlDir} square elevation={0} id={`${windowId}-gallery`}>\n {canvases.map((canvas) => (\n <GalleryViewThumbnail key={canvas.id} windowId={windowId} canvas={canvas} />\n ))}\n </Root>\n );\n}\n\nGalleryView.propTypes = {\n canvases: PropTypes.array.isRequired,\n viewingDirection: PropTypes.string,\n windowId: PropTypes.string.isRequired,\n};\n","import { compose } from 'redux';\nimport { connect } from 'react-redux';\nimport { withPlugins } from '../extend/withPlugins';\nimport { GalleryView } from '../components/GalleryView';\nimport { getCanvases, getSequenceViewingDirection } from '../state/selectors';\n\n/**\n * mapStateToProps - to hook up connect\n * @memberof WindowViewer\n * @private\n */\nconst mapStateToProps = (state, { windowId }) => ({\n canvases: getCanvases(state, { windowId }),\n viewingDirection: getSequenceViewingDirection(state, { windowId }),\n});\n\nconst enhance = compose(\n connect(mapStateToProps),\n withPlugins('GalleryView'),\n // further HOC go here\n);\n\nexport default enhance(GalleryView);\n"],"mappings":";;;;;;;;;;;;mCASM,IAAO,EAAO,OAAO;CAAE,MAAM;CAAe,MAAM;AAAY,CAAC,CAAC,EAAE,EAAE,eAAY,gBAAa;CACjG,WAAW,EACT,SAAS,OACX;CACA,WAAW,EACT,iBAAiB,EAAM,QAAQ,OAAO,MACxC;CACA,QAAQ;CACR,GAAI,EAAW,YAAY,EACzB,aAAa,EAAM,QAAQ,QA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