@elice/material-runbox 1.260908.0 → 1.260910.0
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/cjs/_virtual/_rollupPluginBabelHelpers.js +16 -0
- package/cjs/assets/runbox-loading.svg.js +7 -0
- package/cjs/components/material-runbox/MaterialRunbox.js +16 -11
- package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +2 -0
- package/cjs/components/material-runbox/MaterialRunboxContent.js +93 -65
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +55 -69
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.d.ts +1 -4
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +29 -2
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.d.ts +3 -0
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +90 -0
- package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +3 -1
- package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +26 -7
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -2
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +9 -26
- package/cjs/components/material-runbox/contexts/MaterialRunboxControlContext.d.ts +14 -0
- package/cjs/components/material-runbox/contexts/MaterialRunboxControlContext.js +56 -0
- package/cjs/components/material-runbox/contexts/index.d.ts +2 -0
- package/cjs/components/material-runbox/contexts/index.js +4 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.d.ts +13 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +71 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.d.ts +10 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +98 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +10 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +151 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.d.ts +13 -0
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +98 -0
- package/cjs/components/material-runbox/disk/index.d.ts +8 -1
- package/cjs/components/material-runbox/disk/index.js +8 -2
- package/cjs/components/material-runbox/hooks/index.d.ts +3 -0
- package/cjs/components/material-runbox/hooks/index.js +14 -0
- package/cjs/components/material-runbox/hooks/useRunboxControl.d.ts +4 -3
- package/cjs/components/material-runbox/hooks/useRunboxControl.js +43 -14
- package/cjs/components/material-runbox/hooks/useRunboxDiskUsage.d.ts +16 -0
- package/cjs/components/material-runbox/hooks/useRunboxDiskUsage.js +50 -0
- package/cjs/components/material-runbox/hooks/useRunboxNetworkStatus.d.ts +14 -0
- package/cjs/components/material-runbox/hooks/useRunboxNetworkStatus.js +65 -0
- package/cjs/components/material-runbox/hooks/useRunboxSessionEndWarning.d.ts +18 -0
- package/cjs/components/material-runbox/hooks/useRunboxSessionEndWarning.js +67 -0
- package/cjs/components/material-runbox/locales/en.json.js +1 -1
- package/cjs/components/material-runbox/locales/ja.json.js +1 -1
- package/cjs/components/material-runbox/locales/ko.json.js +1 -1
- package/cjs/components/material-runbox/locales/th.json.js +1 -1
- package/cjs/components/material-runbox/runtime/Runtime.js +21 -18
- package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.d.ts +0 -1
- package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +9 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +5 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +6 -54
- package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.d.ts +0 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.js +68 -64
- package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.d.ts +9 -0
- package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.js +283 -0
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +5 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +6 -64
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +4 -1
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +92 -70
- package/cjs/components/material-runbox/runtime/runtime-loading-tips.d.ts +7 -0
- package/cjs/components/material-runbox/runtime/runtime-loading-tips.js +148 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.d.ts +15 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.js +117 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +12 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +35 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +14 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +161 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.d.ts +11 -0
- package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +41 -0
- package/cjs/components/material-runbox/status/index.d.ts +4 -0
- package/cjs/components/material-runbox/status/index.js +9 -0
- package/cjs/components/material-runbox/theme.d.ts +2 -0
- package/cjs/components/material-runbox/theme.js +15 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.d.ts +11 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +125 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.d.ts +13 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +56 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.d.ts +12 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +126 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.d.ts +15 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +50 -0
- package/cjs/components/material-runbox/timer/MaterialRunboxTimer.d.ts +6 -1
- package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +26 -18
- package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +21 -81
- package/cjs/components/shared/hooks/index.d.ts +1 -0
- package/cjs/components/shared/hooks/index.js +7 -0
- package/cjs/components/shared/hooks/useBreakpoint.d.ts +4 -0
- package/cjs/components/shared/hooks/useBreakpoint.js +12 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +13 -1
- package/es/assets/runbox-loading.svg.js +3 -0
- package/es/components/material-runbox/MaterialRunbox.js +16 -11
- package/es/components/material-runbox/MaterialRunboxContent.d.ts +2 -0
- package/es/components/material-runbox/MaterialRunboxContent.js +94 -66
- package/es/components/material-runbox/MaterialRunboxHeader.js +56 -70
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.d.ts +1 -4
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +30 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.d.ts +3 -0
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +82 -0
- package/es/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +3 -1
- package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +28 -9
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -2
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +9 -26
- package/es/components/material-runbox/contexts/MaterialRunboxControlContext.d.ts +14 -0
- package/es/components/material-runbox/contexts/MaterialRunboxControlContext.js +46 -0
- package/es/components/material-runbox/contexts/index.d.ts +2 -0
- package/es/components/material-runbox/contexts/index.js +1 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.d.ts +13 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +67 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.d.ts +10 -0
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +94 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +10 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +143 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.d.ts +13 -0
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +90 -0
- package/es/components/material-runbox/disk/index.d.ts +8 -1
- package/es/components/material-runbox/disk/index.js +4 -1
- package/es/components/material-runbox/hooks/index.d.ts +3 -0
- package/es/components/material-runbox/hooks/index.js +3 -0
- package/es/components/material-runbox/hooks/useRunboxControl.d.ts +4 -3
- package/es/components/material-runbox/hooks/useRunboxControl.js +43 -14
- package/es/components/material-runbox/hooks/useRunboxDiskUsage.d.ts +16 -0
- package/es/components/material-runbox/hooks/useRunboxDiskUsage.js +42 -0
- package/es/components/material-runbox/hooks/useRunboxNetworkStatus.d.ts +14 -0
- package/es/components/material-runbox/hooks/useRunboxNetworkStatus.js +59 -0
- package/es/components/material-runbox/hooks/useRunboxSessionEndWarning.d.ts +18 -0
- package/es/components/material-runbox/hooks/useRunboxSessionEndWarning.js +63 -0
- package/es/components/material-runbox/locales/en.json.js +1 -1
- package/es/components/material-runbox/locales/ja.json.js +1 -1
- package/es/components/material-runbox/locales/ko.json.js +1 -1
- package/es/components/material-runbox/locales/th.json.js +1 -1
- package/es/components/material-runbox/runtime/Runtime.js +22 -19
- package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.d.ts +0 -1
- package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +9 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +5 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +7 -55
- package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.d.ts +0 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.js +69 -65
- package/es/components/material-runbox/runtime/RuntimeOverlayLoading.d.ts +9 -0
- package/es/components/material-runbox/runtime/RuntimeOverlayLoading.js +275 -0
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +5 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +7 -65
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +4 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +82 -60
- package/es/components/material-runbox/runtime/runtime-loading-tips.d.ts +7 -0
- package/es/components/material-runbox/runtime/runtime-loading-tips.js +146 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusButton.d.ts +15 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusButton.js +109 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +12 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +31 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +14 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +157 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.d.ts +11 -0
- package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +37 -0
- package/es/components/material-runbox/status/index.d.ts +4 -0
- package/es/components/material-runbox/status/index.js +2 -0
- package/es/components/material-runbox/theme.d.ts +2 -0
- package/es/components/material-runbox/theme.js +12 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.d.ts +11 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +121 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.d.ts +13 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +52 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.d.ts +12 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +122 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.d.ts +15 -0
- package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +46 -0
- package/es/components/material-runbox/timer/MaterialRunboxTimer.d.ts +6 -1
- package/es/components/material-runbox/timer/MaterialRunboxTimer.js +25 -17
- package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +18 -78
- package/es/components/shared/hooks/index.d.ts +1 -0
- package/es/components/shared/hooks/index.js +1 -0
- package/es/components/shared/hooks/useBreakpoint.d.ts +4 -0
- package/es/components/shared/hooks/useBreakpoint.js +10 -0
- package/package.json +7 -7
- package/cjs/assets/queue.gif.js +0 -7
- package/cjs/assets/runbox_logo.png.js +0 -7
- package/cjs/components/material-runbox/MaterialRunboxFooter.d.ts +0 -4
- package/cjs/components/material-runbox/MaterialRunboxFooter.js +0 -64
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.d.ts +0 -5
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.js +0 -98
- package/cjs/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.d.ts +0 -6
- package/cjs/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.js +0 -90
- package/es/assets/queue.gif.js +0 -3
- package/es/assets/runbox_logo.png.js +0 -3
- package/es/components/material-runbox/MaterialRunboxFooter.d.ts +0 -4
- package/es/components/material-runbox/MaterialRunboxFooter.js +0 -56
- package/es/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.d.ts +0 -5
- package/es/components/material-runbox/disk/MaterialRunboxDiskAlmostFullSnackbar.js +0 -94
- package/es/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.d.ts +0 -6
- package/es/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.js +0 -86
|
@@ -8,6 +8,9 @@ function _arrayLikeToArray(r, a) {
|
|
|
8
8
|
function _arrayWithHoles(r) {
|
|
9
9
|
if (Array.isArray(r)) return r;
|
|
10
10
|
}
|
|
11
|
+
function _arrayWithoutHoles(r) {
|
|
12
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
13
|
+
}
|
|
11
14
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
12
15
|
try {
|
|
13
16
|
var i = n[a](c),
|
|
@@ -41,6 +44,9 @@ function _defineProperty(e, r, t) {
|
|
|
41
44
|
writable: true
|
|
42
45
|
}) : e[r] = t, e;
|
|
43
46
|
}
|
|
47
|
+
function _iterableToArray(r) {
|
|
48
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
49
|
+
}
|
|
44
50
|
function _iterableToArrayLimit(r, l) {
|
|
45
51
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
46
52
|
if (null != t) {
|
|
@@ -71,6 +77,9 @@ function _iterableToArrayLimit(r, l) {
|
|
|
71
77
|
function _nonIterableRest() {
|
|
72
78
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
73
79
|
}
|
|
80
|
+
function _nonIterableSpread() {
|
|
81
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
82
|
+
}
|
|
74
83
|
function _regenerator() {
|
|
75
84
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
76
85
|
var e,
|
|
@@ -189,6 +198,9 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
189
198
|
}
|
|
190
199
|
}));
|
|
191
200
|
}
|
|
201
|
+
function _toConsumableArray(r) {
|
|
202
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
203
|
+
}
|
|
192
204
|
function _toPrimitive(t, r) {
|
|
193
205
|
if ("object" != typeof t || !t) return t;
|
|
194
206
|
var e = t[Symbol.toPrimitive];
|
|
@@ -213,14 +225,18 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
213
225
|
|
|
214
226
|
exports.arrayLikeToArray = _arrayLikeToArray;
|
|
215
227
|
exports.arrayWithHoles = _arrayWithHoles;
|
|
228
|
+
exports.arrayWithoutHoles = _arrayWithoutHoles;
|
|
216
229
|
exports.asyncToGenerator = _asyncToGenerator;
|
|
217
230
|
exports.defineProperty = _defineProperty;
|
|
231
|
+
exports.iterableToArray = _iterableToArray;
|
|
218
232
|
exports.iterableToArrayLimit = _iterableToArrayLimit;
|
|
219
233
|
exports.nonIterableRest = _nonIterableRest;
|
|
234
|
+
exports.nonIterableSpread = _nonIterableSpread;
|
|
220
235
|
exports.regenerator = _regenerator;
|
|
221
236
|
exports.regeneratorDefine = _regeneratorDefine;
|
|
222
237
|
exports.slicedToArray = _slicedToArray;
|
|
223
238
|
exports.taggedTemplateLiteral = _taggedTemplateLiteral;
|
|
239
|
+
exports.toConsumableArray = _toConsumableArray;
|
|
224
240
|
exports.toPrimitive = _toPrimitive;
|
|
225
241
|
exports.toPropertyKey = _toPropertyKey;
|
|
226
242
|
exports.unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var img = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='130 90 240 312' width='240' height='312' role='img' aria-label='%eb%9f%b0%eb%b0%95%ec%8a%a4%ea%b0%80 %ec%a1%b0%eb%a6%bd%eb%90%98%eb%8a%94 %eb%a1%9c%eb%94%a9 %ec%95%a0%eb%8b%88%eb%a9%94%ec%9d%b4%ec%85%98'%3e%3cdefs xmlns='http://www.w3.org/2000/svg'%3e %3cfilter id='gb' x='-30%25' y='-30%25' width='160%25' height='160%25'%3e%3cfeGaussianBlur stdDeviation='7'/%3e%3c/filter%3e %3cfilter id='gr' x='-20%25' y='-20%25' width='140%25' height='140%25'%3e%3cfeGaussianBlur stdDeviation='0.6'/%3e%3c/filter%3e %3c/defs%3e%3crect xmlns='http://www.w3.org/2000/svg' x='130' y='90' width='240' height='312' fill='white'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c268.0 338.0%2c318.0 250.0%2c368.0 162.0%2c318.0' fill='rgba(115%2c83%2c234%2c.05)'/%3e%3cg class='dashed'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='%23C9BFF5' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='7 6'/%3e%3c/g%3e%3cg class='solid'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='0%3b0%3b1%3b1%3b0%3b0'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3cline xmlns='http://www.w3.org/2000/svg' x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='%237353EA' stroke-width='1.5' stroke-linecap='round'/%3e%3c/g%3e%3cg%3e%3cg class='pc' data-k='0'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.01761%3b0.02641%3b0.09683%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.01761%3b0.02641%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c293.0 250.0%2c318.0 250.0%2c270.0 294.0%2c245.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c293.0 250.0%2c318.0 250.0%2c270.0 206.0%2c245.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c220.0 294.0%2c245.0 250.0%2c270.0 206.0%2c245.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c293.0 250.0%2c318.0 250.0%2c270.0 294.0%2c245.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c293.0 250.0%2c318.0 250.0%2c270.0 206.0%2c245.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c220.0 294.0%2c245.0 250.0%2c270.0 206.0%2c245.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='4'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.2993%3b0.3081%3b0.37852%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.2993%3b0.3081%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 250.0%2c270.0 250.0%2c222.0 294.0%2c197.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 250.0%2c222.0 206.0%2c197.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c172.0 294.0%2c197.0 250.0%2c222.0 206.0%2c197.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 250.0%2c270.0 250.0%2c222.0 294.0%2c197.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 250.0%2c222.0 206.0%2c197.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c172.0 294.0%2c197.0 250.0%2c222.0 206.0%2c197.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='1'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.08803%3b0.09683%3b0.16725%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.08803%3b0.09683%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c318.0 294.0%2c343.0 294.0%2c295.0 338.0%2c270.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 294.0%2c343.0 294.0%2c295.0 250.0%2c270.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 338.0%2c270.0 294.0%2c295.0 250.0%2c270.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c318.0 294.0%2c343.0 294.0%2c295.0 338.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 294.0%2c343.0 294.0%2c295.0 250.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c245.0 338.0%2c270.0 294.0%2c295.0 250.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='2'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.15845%3b0.16725%3b0.23767%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.15845%3b0.16725%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 206.0%2c343.0 206.0%2c295.0 250.0%2c270.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c318.0 206.0%2c343.0 206.0%2c295.0 162.0%2c270.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 206.0%2c295.0 162.0%2c270.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c318.0 206.0%2c343.0 206.0%2c295.0 250.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c318.0 206.0%2c343.0 206.0%2c295.0 162.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c245.0 250.0%2c270.0 206.0%2c295.0 162.0%2c270.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='5'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.36972%3b0.37852%3b0.44894%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.36972%3b0.37852%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c270.0 294.0%2c295.0 294.0%2c247.0 338.0%2c222.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 294.0%2c247.0 250.0%2c222.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c197.0 338.0%2c222.0 294.0%2c247.0 250.0%2c222.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='338.0%2c270.0 294.0%2c295.0 294.0%2c247.0 338.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 294.0%2c247.0 250.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c197.0 338.0%2c222.0 294.0%2c247.0 250.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='6'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.44014%3b0.44894%3b0.51936%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.44014%3b0.44894%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 206.0%2c295.0 206.0%2c247.0 250.0%2c222.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c270.0 206.0%2c295.0 206.0%2c247.0 162.0%2c222.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c197.0 250.0%2c222.0 206.0%2c247.0 162.0%2c222.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 206.0%2c295.0 206.0%2c247.0 250.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='162.0%2c270.0 206.0%2c295.0 206.0%2c247.0 162.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c197.0 250.0%2c222.0 206.0%2c247.0 162.0%2c222.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='3'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.22887%3b0.23767%3b0.30809%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.22887%3b0.23767%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c343.0 250.0%2c368.0 250.0%2c320.0 294.0%2c295.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c343.0 250.0%2c368.0 250.0%2c320.0 206.0%2c295.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 250.0%2c320.0 206.0%2c295.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c343.0 250.0%2c368.0 250.0%2c320.0 294.0%2c295.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c343.0 250.0%2c368.0 250.0%2c320.0 206.0%2c295.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c270.0 294.0%2c295.0 250.0%2c320.0 206.0%2c295.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3cg class='pc' data-k='7'%3e%3canimateTransform attributeName='transform' type='translate' dur='5.68s' repeatCount='indefinite' calcMode='spline' keyTimes='0%3b0.51056%3b0.51936%3b0.58978%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%2c-60%3b0%2c-60%3b0%2c-56%3b0%2c0%3b0%2c0%3b0%2c0%3b0%2c-60%3b0%2c-60' keySplines='0 0 1 1%3b0 0 1 1%3b.16 .84 .32 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1%3b0 0 1 1'/%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.51056%3b0.51936%3b0.83627%3b0.9243%3b0.92606%3b1' values='0%3b0%3b1%3b1%3b0%3b0%3b0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c295.0 250.0%2c320.0 250.0%2c272.0 294.0%2c247.0' fill='%239B7BF0'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c295.0 250.0%2c320.0 250.0%2c272.0 206.0%2c247.0' fill='%237353EA'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c222.0 294.0%2c247.0 250.0%2c272.0 206.0%2c247.0' fill='%23C9BAF8'/%3e%3cg class='seam'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.67782%3b0.9243%3b0.95951%3b1' values='1%3b1%3b0%3b0%3b1%3b1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='294.0%2c295.0 250.0%2c320.0 250.0%2c272.0 294.0%2c247.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='206.0%2c295.0 250.0%2c320.0 250.0%2c272.0 206.0%2c247.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3cpolygon xmlns='http://www.w3.org/2000/svg' points='250.0%2c222.0 294.0%2c247.0 250.0%2c272.0 206.0%2c247.0' fill='none' stroke='rgba(255%2c255%2c255%2c.75)' stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg class='glow'%3e%3canimate attributeName='opacity' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.61092%3b0.69542%3b1' values='0%3b0%3b1%3b0%3b0'/%3e%3cg transform='translate(250 222)'%3e%3cg%3e%3canimateTransform attributeName='transform' type='scale' dur='5.68s' repeatCount='indefinite' calcMode='linear' keyTimes='0%3b0.58979%3b0.61092%3b0.69542%3b1' values='0.985%3b0.985%3b1.005%3b1.055%3b1.055'/%3e%3cg transform='translate(-250 -222)'%3e%3cg xmlns='http://www.w3.org/2000/svg' transform='translate(-250 -222)'%3e%3cline x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='rgba(115%2c83%2c234%2c.34)' stroke-width='11' stroke-linecap='round' filter='url(%23gb)'/%3e%3cline x1='250.0' y1='268.0' x2='338.0' y2='318.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='338.0' y1='318.0' x2='250.0' y2='368.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='368.0' x2='162.0' y2='318.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='162.0' y1='318.0' x2='250.0' y2='268.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='172.0' x2='338.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='338.0' y1='222.0' x2='250.0' y2='272.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='272.0' x2='162.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='162.0' y1='222.0' x2='250.0' y2='172.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='268.0' x2='250.0' y2='172.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='338.0' y1='318.0' x2='338.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='250.0' y1='368.0' x2='250.0' y2='272.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3cline x1='162.0' y1='318.0' x2='162.0' y2='222.0' stroke='rgba(196%2c181%2c253%2c.7)' stroke-width='2' stroke-linecap='round' filter='url(%23gr)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
6
|
+
|
|
7
|
+
exports.default = img;
|
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var intl = require('@elice/intl');
|
|
8
|
+
var material = require('@mui/material');
|
|
8
9
|
var MaterialRunboxContent = require('./MaterialRunboxContent.js');
|
|
10
|
+
var theme = require('./theme.js');
|
|
9
11
|
var en = require('./locales/en.json.js');
|
|
10
12
|
var ko = require('./locales/ko.json.js');
|
|
11
13
|
var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
|
|
@@ -29,17 +31,20 @@ var MaterialRunbox = function MaterialRunbox(_a) {
|
|
|
29
31
|
eliceMaterialRunboxApiConfiguration = _a.eliceMaterialRunboxApiConfiguration,
|
|
30
32
|
__intl = _a.__intl,
|
|
31
33
|
contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "getRunningRunboxLinkProps", "eliceMaterialRunboxApiConfiguration", "__intl"]);
|
|
32
|
-
return jsxRuntime.jsx(
|
|
33
|
-
|
|
34
|
-
children: jsxRuntime.jsx(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
children: jsxRuntime.jsx(
|
|
34
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
35
|
+
theme: theme.runboxDarkTheme,
|
|
36
|
+
children: jsxRuntime.jsx(intl.RawEliceIntlProvider, {
|
|
37
|
+
value: __intl,
|
|
38
|
+
children: jsxRuntime.jsx(MaterialRunboxContext.default, {
|
|
39
|
+
enableAutoShutdownToggle: enableAutoShutdownToggle,
|
|
40
|
+
enableUrlShare: enableUrlShare,
|
|
41
|
+
locale: locale,
|
|
42
|
+
showMessenger: showMessenger,
|
|
43
|
+
getRunningRunboxLinkProps: getRunningRunboxLinkProps,
|
|
44
|
+
children: jsxRuntime.jsx(MaterialRunboxApiContext.default, {
|
|
45
|
+
eliceMaterialRunboxApiConfiguration: eliceMaterialRunboxApiConfiguration,
|
|
46
|
+
children: jsxRuntime.jsx(MaterialRunboxContent.default, Object.assign({}, contentProps))
|
|
47
|
+
})
|
|
43
48
|
})
|
|
44
49
|
})
|
|
45
50
|
});
|
|
@@ -26,6 +26,8 @@ export interface MaterialRunboxContentProps extends Pick<MaterialRunboxHeaderPro
|
|
|
26
26
|
isTutoring: boolean;
|
|
27
27
|
/** Used for submit log score tag color. */
|
|
28
28
|
getAchievementColor?: GetAchievementColor;
|
|
29
|
+
/** Notified when the runbox running (session) ID changes. */
|
|
30
|
+
onRunboxRunningIdChange?: (runboxRunningId: number | null) => void;
|
|
29
31
|
}
|
|
30
32
|
declare const MaterialRunboxContent: React.FC<MaterialRunboxContentProps>;
|
|
31
33
|
export default MaterialRunboxContent;
|
|
@@ -15,11 +15,14 @@ var reactQuery = require('@tanstack/react-query');
|
|
|
15
15
|
var MaterialAdminRunboxConfirmDialog = require('./MaterialAdminRunboxConfirmDialog.js');
|
|
16
16
|
var MaterialRunboxAlert = require('./MaterialRunboxAlert.js');
|
|
17
17
|
var MaterialRunboxBody = require('./MaterialRunboxBody.js');
|
|
18
|
-
var MaterialRunboxFooter = require('./MaterialRunboxFooter.js');
|
|
19
18
|
var MaterialRunboxHeader = require('./MaterialRunboxHeader.js');
|
|
19
|
+
var theme = require('./theme.js');
|
|
20
20
|
var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
|
|
21
21
|
var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
|
|
22
22
|
var MaterialRunboxCommandContext = require('./contexts/MaterialRunboxCommandContext.js');
|
|
23
|
+
var MaterialRunboxControlContext = require('./contexts/MaterialRunboxControlContext.js');
|
|
24
|
+
var MaterialRunboxDiskUsageAlert = require('./disk/MaterialRunboxDiskUsageAlert.js');
|
|
25
|
+
var MaterialRunboxDiskUsageDialog = require('./disk/MaterialRunboxDiskUsageDialog.js');
|
|
23
26
|
var useMaterialRunboxRunboxIdStarterGet = require('./hooks/useMaterialRunboxRunboxIdStarterGet.js');
|
|
24
27
|
|
|
25
28
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -49,7 +52,8 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
|
|
|
49
52
|
isTutoring = _ref$isTutoring === void 0 ? false : _ref$isTutoring,
|
|
50
53
|
_ref$hideTimerPopover = _ref.hideTimerPopover,
|
|
51
54
|
hideTimerPopover = _ref$hideTimerPopover === void 0 ? false : _ref$hideTimerPopover,
|
|
52
|
-
getAchievementColor = _ref.getAchievementColor
|
|
55
|
+
getAchievementColor = _ref.getAchievementColor,
|
|
56
|
+
onRunboxRunningIdChange = _ref.onRunboxRunningIdChange;
|
|
53
57
|
var _a;
|
|
54
58
|
var intl$1 = intl.useRawEliceIntl();
|
|
55
59
|
var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
|
|
@@ -158,66 +162,81 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
|
|
|
158
162
|
//
|
|
159
163
|
//
|
|
160
164
|
if (isInitialLoading || starterEnabled && isLoading) {
|
|
161
|
-
return jsxRuntime.jsx(
|
|
162
|
-
|
|
165
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
166
|
+
theme: theme.runboxLightTheme,
|
|
167
|
+
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
168
|
+
sx: {
|
|
169
|
+
backgroundColor: 'background.paper'
|
|
170
|
+
},
|
|
171
|
+
children: jsxRuntime.jsx(material.CircularProgress, {})
|
|
172
|
+
})
|
|
163
173
|
});
|
|
164
174
|
}
|
|
165
175
|
if (isError) {
|
|
166
|
-
return jsxRuntime.jsx(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
startIcon: jsxRuntime.jsx(iconsMaterial.Refresh, {}),
|
|
178
|
-
onClick: function onClick() {
|
|
179
|
-
return refetch();
|
|
180
|
-
},
|
|
181
|
-
children: intl$1.formatMessage({
|
|
182
|
-
id: 'runbox.common.retry'
|
|
183
|
-
})
|
|
184
|
-
}), typeof showMessenger === 'function' ? jsxRuntime.jsx(material.Button, {
|
|
185
|
-
variant: "outlined",
|
|
186
|
-
onClick: function onClick() {
|
|
187
|
-
return showMessenger();
|
|
188
|
-
},
|
|
176
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
177
|
+
theme: theme.runboxLightTheme,
|
|
178
|
+
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
179
|
+
sx: {
|
|
180
|
+
backgroundColor: 'background.paper',
|
|
181
|
+
color: 'text.primary'
|
|
182
|
+
},
|
|
183
|
+
children: jsxRuntime.jsxs(material.Stack, {
|
|
184
|
+
gap: "1.5rem",
|
|
185
|
+
children: [jsxRuntime.jsx(material.Typography, {
|
|
186
|
+
variant: "h6",
|
|
189
187
|
children: intl$1.formatMessage({
|
|
190
|
-
id: 'runbox.
|
|
188
|
+
id: 'runbox.runtime.message.startError'
|
|
191
189
|
})
|
|
192
|
-
})
|
|
193
|
-
|
|
190
|
+
}), jsxRuntime.jsxs(material.Stack, {
|
|
191
|
+
gap: "0.5rem",
|
|
192
|
+
children: [jsxRuntime.jsx(material.Button, {
|
|
193
|
+
startIcon: jsxRuntime.jsx(iconsMaterial.Refresh, {}),
|
|
194
|
+
onClick: function onClick() {
|
|
195
|
+
return refetch();
|
|
196
|
+
},
|
|
197
|
+
children: intl$1.formatMessage({
|
|
198
|
+
id: 'runbox.common.retry'
|
|
199
|
+
})
|
|
200
|
+
}), typeof showMessenger === 'function' ? jsxRuntime.jsx(material.Button, {
|
|
201
|
+
variant: "outlined",
|
|
202
|
+
onClick: function onClick() {
|
|
203
|
+
return showMessenger();
|
|
204
|
+
},
|
|
205
|
+
children: intl$1.formatMessage({
|
|
206
|
+
id: 'runbox.common.support'
|
|
207
|
+
})
|
|
208
|
+
}) : null]
|
|
209
|
+
})]
|
|
210
|
+
})
|
|
194
211
|
})
|
|
195
212
|
});
|
|
196
213
|
}
|
|
197
214
|
if (!enabledLxpPlan) {
|
|
198
|
-
return jsxRuntime.jsx(
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
215
|
+
return jsxRuntime.jsx(material.ThemeProvider, {
|
|
216
|
+
theme: theme.runboxLightTheme,
|
|
217
|
+
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
218
|
+
sx: {
|
|
219
|
+
backgroundColor: 'background.paper',
|
|
220
|
+
color: 'text.primary'
|
|
221
|
+
},
|
|
222
|
+
children: jsxRuntime.jsxs(material.Stack, {
|
|
223
|
+
gap: "0.5rem",
|
|
224
|
+
textAlign: "center",
|
|
225
|
+
children: [jsxRuntime.jsx(material.Typography, {
|
|
226
|
+
variant: "h6",
|
|
227
|
+
color: "text.secondary",
|
|
228
|
+
children: intl$1.formatMessage({
|
|
229
|
+
id: 'runbox.runtime.message.runbox_unavailable'
|
|
230
|
+
})
|
|
231
|
+
}), jsxRuntime.jsx(material.Typography, {
|
|
232
|
+
variant: "body1",
|
|
233
|
+
whiteSpace: "pre-line",
|
|
234
|
+
color: "text.tertiary",
|
|
235
|
+
children: intl$1.formatMessage({
|
|
236
|
+
id: 'runbox.runtime.message.lxp_plan_required'
|
|
237
|
+
})
|
|
238
|
+
})]
|
|
239
|
+
})
|
|
221
240
|
})
|
|
222
241
|
});
|
|
223
242
|
}
|
|
@@ -275,23 +294,32 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
|
|
|
275
294
|
});
|
|
276
295
|
},
|
|
277
296
|
onRunboxRefetchRequest: refetch,
|
|
297
|
+
onRunboxRunningIdChange: onRunboxRunningIdChange,
|
|
278
298
|
children: jsxRuntime.jsx(StyledRunboxContainer, {
|
|
279
|
-
children: jsxRuntime.
|
|
299
|
+
children: jsxRuntime.jsx(muiXSnackbar.SnackbarProvider, {
|
|
280
300
|
domRoot: snackbarRoot !== null && snackbarRoot !== void 0 ? snackbarRoot : document.body,
|
|
281
301
|
classes: {
|
|
282
302
|
containerRoot: SNACKBAR_CONTAINER_CLASS
|
|
283
303
|
},
|
|
284
|
-
children:
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
304
|
+
children: jsxRuntime.jsxs(MaterialRunboxControlContext.default, Object.assign({}, props, {
|
|
305
|
+
children: [jsxRuntime.jsx(MaterialRunboxHeader.default, Object.assign({}, props, {
|
|
306
|
+
hideTimerPopover: hideTimerPopover
|
|
307
|
+
})), jsxRuntime.jsx(MaterialRunboxAlert.default, {
|
|
308
|
+
runbox: runbox,
|
|
309
|
+
courseId: courseId,
|
|
310
|
+
studentUserId: studentUserId,
|
|
311
|
+
userId: userId,
|
|
312
|
+
isTutoring: isTutoring
|
|
313
|
+
}), jsxRuntime.jsx(MaterialRunboxDiskUsageAlert.default, {
|
|
314
|
+
runtimeTemplateId: runtimeTemplate.id,
|
|
315
|
+
courseId: courseId,
|
|
316
|
+
userId: studentUserId
|
|
317
|
+
}), jsxRuntime.jsx(MaterialRunboxDiskUsageDialog.default, {
|
|
318
|
+
runboxId: runbox.id
|
|
319
|
+
}), jsxRuntime.jsx(MaterialRunboxBody.default, Object.assign({
|
|
320
|
+
setSnackbarRoot: setSnackbarRoot
|
|
321
|
+
}, props))]
|
|
322
|
+
}))
|
|
295
323
|
})
|
|
296
324
|
})
|
|
297
325
|
})
|
|
@@ -15,16 +15,14 @@ var types = require('@elice/types');
|
|
|
15
15
|
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
16
16
|
var material = require('@mui/material');
|
|
17
17
|
var reactQuery = require('@tanstack/react-query');
|
|
18
|
-
var MaterialRunboxActionAutoShutdown = require('./actions/MaterialRunboxActionAutoShutdown.js');
|
|
19
18
|
var MaterialRunboxActionDisconnect = require('./actions/MaterialRunboxActionDisconnect.js');
|
|
20
19
|
var MaterialRunboxActionGrade = require('./actions/MaterialRunboxActionGrade.js');
|
|
21
20
|
var MaterialRunboxActionMenu = require('./actions/MaterialRunboxActionMenu.js');
|
|
22
|
-
var runbox_logo = require('../../assets/runbox_logo.png.js');
|
|
23
21
|
var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
|
|
24
22
|
var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
|
|
25
23
|
var MaterialRunboxTimer = require('./timer/MaterialRunboxTimer.js');
|
|
26
|
-
var
|
|
27
|
-
var
|
|
24
|
+
var MaterialRunboxStatusButton = require('./status/MaterialRunboxStatusButton.js');
|
|
25
|
+
var useBreakpoint = require('../shared/hooks/useBreakpoint.js');
|
|
28
26
|
|
|
29
27
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
30
28
|
|
|
@@ -36,25 +34,28 @@ var StyledHeader = /*#__PURE__*/_styled__default.default("div", {
|
|
|
36
34
|
})("position:relative;flex:0 0 3rem;display:flex;justify-content:flex-start;align-items:center;gap:1rem;padding:0 1rem;width:100%;border-bottom:1px solid ", function (_ref) {
|
|
37
35
|
var theme = _ref.theme;
|
|
38
36
|
return theme.palette.divider;
|
|
39
|
-
}, ";overflow:hidden;
|
|
37
|
+
}, ";overflow:hidden;color:", function (_ref2) {
|
|
40
38
|
var theme = _ref2.theme;
|
|
39
|
+
return theme.palette.text.primary;
|
|
40
|
+
}, ";background-color:", function (_ref3) {
|
|
41
|
+
var theme = _ref3.theme;
|
|
41
42
|
return theme.palette.background.paper;
|
|
42
43
|
}, ";");
|
|
43
44
|
//
|
|
44
45
|
//
|
|
45
46
|
//
|
|
46
|
-
var MaterialRunboxHeader = function MaterialRunboxHeader(
|
|
47
|
-
var runbox =
|
|
48
|
-
runtime =
|
|
49
|
-
runtimeTemplate =
|
|
50
|
-
courseId =
|
|
51
|
-
userId =
|
|
52
|
-
studentUserId =
|
|
53
|
-
isTutoring =
|
|
54
|
-
refetch =
|
|
55
|
-
getAchievementColor =
|
|
56
|
-
|
|
57
|
-
hideTimerPopover =
|
|
47
|
+
var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
|
|
48
|
+
var runbox = _ref4.runbox,
|
|
49
|
+
runtime = _ref4.runtime,
|
|
50
|
+
runtimeTemplate = _ref4.runtimeTemplate,
|
|
51
|
+
courseId = _ref4.courseId,
|
|
52
|
+
userId = _ref4.userId,
|
|
53
|
+
studentUserId = _ref4.studentUserId,
|
|
54
|
+
isTutoring = _ref4.isTutoring,
|
|
55
|
+
refetch = _ref4.refetch,
|
|
56
|
+
getAchievementColor = _ref4.getAchievementColor,
|
|
57
|
+
_ref4$hideTimerPopove = _ref4.hideTimerPopover,
|
|
58
|
+
hideTimerPopover = _ref4$hideTimerPopove === void 0 ? false : _ref4$hideTimerPopove;
|
|
58
59
|
var intl$1 = intl.useRawEliceIntl();
|
|
59
60
|
var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
|
|
60
61
|
enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
|
|
@@ -65,19 +66,10 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
65
66
|
_React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
|
|
66
67
|
menuAnchorEl = _React$useState2[0],
|
|
67
68
|
setMenuAnchorEl = _React$useState2[1];
|
|
69
|
+
var isSmallTabletOrSmaller = useBreakpoint.useBreakpoint('md', 'down');
|
|
68
70
|
var _useEliceRunboxRunnin = runboxClient.useEliceRunboxRunning(),
|
|
69
71
|
status = _useEliceRunboxRunnin.status;
|
|
70
72
|
var isRunboxRunning = status === 'running';
|
|
71
|
-
var _useRunboxControl = useRunboxControl.useRunboxControl({
|
|
72
|
-
runbox: runbox,
|
|
73
|
-
runtime: runtime,
|
|
74
|
-
courseId: courseId,
|
|
75
|
-
refetch: refetch,
|
|
76
|
-
userId: userId,
|
|
77
|
-
studentUserId: studentUserId,
|
|
78
|
-
isTutoring: isTutoring
|
|
79
|
-
}),
|
|
80
|
-
stopRuntime = _useRunboxControl.stop;
|
|
81
73
|
//
|
|
82
74
|
var _useQuery = reactQuery.useQuery({
|
|
83
75
|
queryKey: ['getGlobalOrganizationGet', orgNameShort],
|
|
@@ -105,8 +97,8 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
105
97
|
courseId: courseId,
|
|
106
98
|
runtime: runtime
|
|
107
99
|
}],
|
|
108
|
-
queryFn: function queryFn(
|
|
109
|
-
var signal =
|
|
100
|
+
queryFn: function queryFn(_ref5) {
|
|
101
|
+
var signal = _ref5.signal;
|
|
110
102
|
return materialRunboxApi.runbox.runboxRunboxIdSubmitInfoGet({
|
|
111
103
|
eliceCourseId: courseId,
|
|
112
104
|
runboxId: runtime === null || runtime === void 0 ? void 0 : runtime.runboxId
|
|
@@ -147,20 +139,11 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
147
139
|
});
|
|
148
140
|
};
|
|
149
141
|
/**
|
|
150
|
-
*
|
|
142
|
+
* Whether the auto-shutdown toggle is available.
|
|
143
|
+
* The toggle itself lives in the option menu. (PLAT-4181)
|
|
151
144
|
*/
|
|
152
|
-
var
|
|
153
|
-
|
|
154
|
-
if (!enableAutoShutdownToggle || isTutoring || isAidtOrg) {
|
|
155
|
-
return null;
|
|
156
|
-
}
|
|
157
|
-
return jsxRuntime.jsx(MaterialRunboxActionAutoShutdown.default, {
|
|
158
|
-
runtime: runtime,
|
|
159
|
-
runtimeTemplate: runtimeTemplate,
|
|
160
|
-
courseId: courseId,
|
|
161
|
-
refetch: refetch
|
|
162
|
-
});
|
|
163
|
-
};
|
|
145
|
+
var isAidtOrg = (organization === null || organization === void 0 ? void 0 : organization.organizationType) === types.enums.OrganizationType.Aidt;
|
|
146
|
+
var enableAutoShutdown = Boolean(enableAutoShutdownToggle) && !isTutoring && !isAidtOrg;
|
|
164
147
|
/**
|
|
165
148
|
*
|
|
166
149
|
*/
|
|
@@ -173,12 +156,29 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
173
156
|
courseId: courseId
|
|
174
157
|
});
|
|
175
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
var handleMenuButtonClick = function handleMenuButtonClick(e) {
|
|
163
|
+
if (menuAnchorEl) {
|
|
164
|
+
setMenuAnchorEl(null);
|
|
165
|
+
} else {
|
|
166
|
+
setMenuAnchorEl(e.currentTarget);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
176
169
|
/**
|
|
177
170
|
*
|
|
178
171
|
*/
|
|
179
172
|
var renderOptionMenu = function renderOptionMenu() {
|
|
180
173
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
181
|
-
children: [jsxRuntime.jsx(material.
|
|
174
|
+
children: [isSmallTabletOrSmaller ? jsxRuntime.jsx(material.IconButton, {
|
|
175
|
+
size: "small",
|
|
176
|
+
disabled: !isRunboxRunning,
|
|
177
|
+
onClick: handleMenuButtonClick,
|
|
178
|
+
children: jsxRuntime.jsx(muiElements.EliceIcon, {
|
|
179
|
+
icon: proSolidSvgIcons.faEllipsisVertical
|
|
180
|
+
})
|
|
181
|
+
}) : jsxRuntime.jsx(material.Button, {
|
|
182
182
|
disabled: !isRunboxRunning,
|
|
183
183
|
startIcon: jsxRuntime.jsx(muiElements.EliceIcon, {
|
|
184
184
|
icon: proSolidSvgIcons.faEllipsisVertical
|
|
@@ -188,22 +188,18 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
188
188
|
sx: {
|
|
189
189
|
color: 'text.primary'
|
|
190
190
|
},
|
|
191
|
-
onClick:
|
|
192
|
-
if (menuAnchorEl) {
|
|
193
|
-
setMenuAnchorEl(null);
|
|
194
|
-
} else {
|
|
195
|
-
setMenuAnchorEl(e.currentTarget);
|
|
196
|
-
}
|
|
197
|
-
},
|
|
191
|
+
onClick: handleMenuButtonClick,
|
|
198
192
|
children: intl$1.formatMessage({
|
|
199
193
|
id: 'runbox.action.menu.title'
|
|
200
194
|
})
|
|
201
195
|
}), jsxRuntime.jsx(MaterialRunboxActionMenu.default, {
|
|
202
196
|
runbox: runbox,
|
|
203
197
|
runtime: runtime,
|
|
198
|
+
runtimeTemplate: runtimeTemplate,
|
|
204
199
|
courseId: courseId,
|
|
205
200
|
studentUserId: studentUserId,
|
|
206
201
|
isTutoring: isTutoring,
|
|
202
|
+
enableAutoShutdown: enableAutoShutdown,
|
|
207
203
|
menuAnchorEl: menuAnchorEl,
|
|
208
204
|
refetch: refetch,
|
|
209
205
|
handleMenuClose: handleMenuClose,
|
|
@@ -218,39 +214,29 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
|
218
214
|
if (isTutoring) {
|
|
219
215
|
return null;
|
|
220
216
|
}
|
|
221
|
-
return jsxRuntime.jsx(MaterialRunboxActionDisconnect.default, {
|
|
222
|
-
stopRuntime: stopRuntime
|
|
223
|
-
});
|
|
217
|
+
return jsxRuntime.jsx(MaterialRunboxActionDisconnect.default, {});
|
|
224
218
|
};
|
|
225
219
|
//
|
|
226
220
|
//
|
|
227
221
|
//
|
|
228
222
|
return jsxRuntime.jsxs(StyledHeader, {
|
|
229
223
|
ref: headerRef,
|
|
230
|
-
children: [jsxRuntime.jsx(
|
|
231
|
-
component: "img",
|
|
232
|
-
src: runbox_logo.default,
|
|
233
|
-
alt: "elice runbox",
|
|
234
|
-
sx: {
|
|
235
|
-
width: 'auto',
|
|
236
|
-
height: '100%',
|
|
237
|
-
imageRendering: 'auto',
|
|
238
|
-
padding: '0.465rem 0'
|
|
239
|
-
}
|
|
240
|
-
}), runtime ? jsxRuntime.jsx(MaterialRunboxTimer.default, {
|
|
224
|
+
children: [runtime ? jsxRuntime.jsx(MaterialRunboxTimer.default, {
|
|
241
225
|
runboxId: runbox.id,
|
|
242
226
|
userId: userId,
|
|
243
227
|
headerElement: headerRef.current,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}) : null, jsxRuntime.jsx(
|
|
247
|
-
|
|
228
|
+
hideTimerPopover: hideTimerPopover,
|
|
229
|
+
isTutoring: isTutoring
|
|
230
|
+
}) : null, jsxRuntime.jsx(MaterialRunboxStatusButton.default, {
|
|
231
|
+
runtimeTemplateId: runtimeTemplate.id,
|
|
232
|
+
courseId: courseId,
|
|
233
|
+
userId: studentUserId
|
|
248
234
|
}), jsxRuntime.jsxs(material.Stack, {
|
|
249
235
|
direction: "row",
|
|
250
236
|
alignItems: "center",
|
|
251
237
|
gap: "0.5rem",
|
|
252
238
|
marginLeft: "auto",
|
|
253
|
-
children: [renderHeaderSubmitInfo(),
|
|
239
|
+
children: [renderHeaderSubmitInfo(), renderOptionMenu(), renderHeaderActionDisconnect(), renderHeaderActionGrade()]
|
|
254
240
|
})]
|
|
255
241
|
});
|
|
256
242
|
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
stopRuntime: () => Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
declare const MaterialRunboxActionDisconnect: React.FC<MaterialRunboxActionDisconnectProps>;
|
|
2
|
+
declare const MaterialRunboxActionDisconnect: React.FC;
|
|
6
3
|
export default MaterialRunboxActionDisconnect;
|