@crystaldesign/diva-core 25.4.0-beta.51 → 25.4.0-beta.53

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.
@@ -27,6 +27,7 @@ import { withTransaction } from '@elastic/apm-rum-react';
27
27
  import Typography from '@mui/material/Typography';
28
28
  import { useTranslation, Trans, I18nextProvider } from 'react-i18next';
29
29
  import classnames from 'classnames';
30
+ import Button$1 from '@mui/material/Button';
30
31
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
31
32
  import { ArrowBack } from '@mui/icons-material';
32
33
  import '@crystaldesign/basket-model';
@@ -35,7 +36,7 @@ import axios from 'axios';
35
36
  import { ProductHandlerAbstract } from '@crystaldesign/product-handler';
36
37
  import { useSwipeable } from 'react-swipeable';
37
38
  import { ContentBoxComponent } from '@crystaldesign/content-box';
38
- import { Button as Button$1, Snackbar, SnackbarContent, IconButton, Card, CardHeader, CardContent } from '@mui/material';
39
+ import { Button as Button$2, Snackbar, SnackbarContent, IconButton, Card, CardHeader, CardContent } from '@mui/material';
39
40
  import { useTranslation as useTranslation$1, useDivaCore as useDivaCore$1 } from '@crystaldesign/diva-core';
40
41
  import QRCode from 'react-qr-code';
41
42
  import CloseIcon from '@mui/icons-material/Close';
@@ -45,7 +46,7 @@ import { actions } from '@storybook/addon-actions';
45
46
  import * as Styles from '@mui/styles';
46
47
 
47
48
  (function() {
48
- const env = {"STAGE":"production","VERSION":"25.4.0-beta.51"};
49
+ const env = {"STAGE":"production","VERSION":"25.4.0-beta.53"};
49
50
  try {
50
51
  if (process) {
51
52
  process.env = Object.assign({}, process.env);
@@ -122,8 +123,8 @@ function baseUrl() {
122
123
  return urlParts[urlParts.length - 2] + '.' + urlParts[urlParts.length - 1];
123
124
  }
124
125
 
125
- function ownKeys$i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
126
- function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
126
+ function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
127
+ function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
127
128
  var _existingLogger = new Map();
128
129
  var _apmInitialized = false;
129
130
  var _onErrorEvent = function _onErrorEvent() {};
@@ -204,9 +205,9 @@ var ApplicationLogger = /*#__PURE__*/function () {
204
205
  this.transactions["delete"](eventId);
205
206
  event.end = end;
206
207
  var cleanLabels = this.cleanLabels(labels);
207
- event.event.labels = _objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels);
208
+ event.event.labels = _objectSpread$h(_objectSpread$h({}, event.event.labels), cleanLabels);
208
209
  if (event.event.span) {
209
- event.event.span.addLabels(_objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
210
+ event.event.span.addLabels(_objectSpread$h(_objectSpread$h(_objectSpread$h({}, event.event.labels), cleanLabels), {}, {
210
211
  eventId: eventId
211
212
  }));
212
213
  event.event.span.end();
@@ -214,7 +215,7 @@ var ApplicationLogger = /*#__PURE__*/function () {
214
215
  clearTimeout(event.event.warningTimeout);
215
216
  clearTimeout(event.event.errorTimeout);
216
217
  this.debug("Transaction ".concat(event.event.type, " (").concat(event.event.message, ") took ").concat(Math.floor(end - event.start), "ms"));
217
- DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
218
+ DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$h(_objectSpread$h(_objectSpread$h({}, event.event.labels), cleanLabels), {}, {
218
219
  eventId: eventId,
219
220
  status: event.event.timeout ? 'TIMEOUT' : 'SUCCESS',
220
221
  eventDuration: Math.floor(end - event.start),
@@ -249,9 +250,9 @@ var ApplicationLogger = /*#__PURE__*/function () {
249
250
  }
250
251
  event.end = end;
251
252
  var cleanLabels = this.cleanLabels(labels);
252
- event.event.labels = _objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels);
253
+ event.event.labels = _objectSpread$h(_objectSpread$h({}, event.event.labels), cleanLabels);
253
254
  if (event.event.span) {
254
- event.event.span.addLabels(_objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
255
+ event.event.span.addLabels(_objectSpread$h(_objectSpread$h(_objectSpread$h({}, event.event.labels), cleanLabels), {}, {
255
256
  eventId: eventId
256
257
  }));
257
258
  event.event.span.end();
@@ -259,7 +260,7 @@ var ApplicationLogger = /*#__PURE__*/function () {
259
260
  clearTimeout(event.event.warningTimeout);
260
261
  clearTimeout(event.event.errorTimeout);
261
262
  this.debug("Transaction ".concat(event.event.type, " (").concat(event.event.message, ") failed after ").concat(Math.floor(end - event.start), "ms"));
262
- DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
263
+ DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$h(_objectSpread$h(_objectSpread$h({}, event.event.labels), cleanLabels), {}, {
263
264
  error: code,
264
265
  errorMessage: message,
265
266
  eventId: eventId,
@@ -358,7 +359,7 @@ var ApplicationLogger = /*#__PURE__*/function () {
358
359
  _onErrorEvent(_error.message, _error.name);
359
360
 
360
361
  //for apm we spread the custom object directly on the error object, so that the are added to APM as custom attributes
361
- var forApm = _objectSpread$i(_objectSpread$i({}, _error), _error.custom);
362
+ var forApm = _objectSpread$h(_objectSpread$h({}, _error), _error.custom);
362
363
  (_getApmInstance = getApmInstance()) === null || _getApmInstance === void 0 || _getApmInstance.captureError(forApm);
363
364
  }
364
365
  }, {
@@ -432,8 +433,8 @@ if (typeof __webpack_public_path__ !== 'undefined') {
432
433
  }
433
434
  }
434
435
 
435
- function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
436
- function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
436
+ function ownKeys$g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
437
+ function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
437
438
  function _callSuper$2(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
438
439
  function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { return !!t; })(); }
439
440
  var LOG$e = getLogger('Framework', 'webcomponent');
@@ -657,14 +658,14 @@ var CoreWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
657
658
  if (!components) {
658
659
  return /*#__PURE__*/jsx(Fragment, {});
659
660
  }
660
- return /*#__PURE__*/jsx(DivaCore, _objectSpread$h(_objectSpread$h({}, props), {}, {
661
+ return /*#__PURE__*/jsx(DivaCore, _objectSpread$g(_objectSpread$g({}, props), {}, {
661
662
  components: components,
662
663
  ref: ref
663
664
  }));
664
665
  });
665
666
 
666
667
  //we have to externalize the materialUI styling here, so that also in UMD the same instance is used
667
- window.MaterialUIStyles = _objectSpread$h(_objectSpread$h({}, Styles), CoreStyles);
668
+ window.MaterialUIStyles = _objectSpread$g(_objectSpread$g({}, Styles), CoreStyles);
668
669
  if (!window.customElements.get('diva-framework')) {
669
670
  window.customElements.define('diva-framework', DivaFramework);
670
671
  }
@@ -767,8 +768,8 @@ var defaultTheme = {
767
768
  }
768
769
  };
769
770
 
770
- function ownKeys$g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
771
- function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
771
+ function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
772
+ function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
772
773
  var LOG$d = getLogger('Framework', 'ConfigurationStore');
773
774
  var ConfigurationStore = /*#__PURE__*/function () {
774
775
  function ConfigurationStore(root, identifier, defaultApiConfig, domain) {
@@ -932,7 +933,7 @@ var ConfigurationStore = /*#__PURE__*/function () {
932
933
  key: "authentication",
933
934
  get: function get() {
934
935
  var _this$_configuration$, _this$_configuration35, _this$_configuration36, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration41, _this$_configuration42, _this$_configuration43, _this$_configuration$2, _this$_configuration44;
935
- return _objectSpread$g(_objectSpread$g({}, (_this$_configuration$ = (_this$_configuration35 = this._configuration) === null || _this$_configuration35 === void 0 ? void 0 : _this$_configuration35.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
936
+ return _objectSpread$f(_objectSpread$f({}, (_this$_configuration$ = (_this$_configuration35 = this._configuration) === null || _this$_configuration35 === void 0 ? void 0 : _this$_configuration35.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
936
937
  loginMethods: {
937
938
  google: (_this$_configuration36 = this._configuration) !== null && _this$_configuration36 !== void 0 && (_this$_configuration36 = _this$_configuration36.authentication) !== null && _this$_configuration36 !== void 0 && _this$_configuration36.loginMethods ? (_this$_configuration37 = this._configuration) === null || _this$_configuration37 === void 0 || (_this$_configuration37 = _this$_configuration37.authentication) === null || _this$_configuration37 === void 0 ? void 0 : _this$_configuration37.loginMethods.google : true,
938
939
  microsoft: (_this$_configuration38 = this._configuration) !== null && _this$_configuration38 !== void 0 && (_this$_configuration38 = _this$_configuration38.authentication) !== null && _this$_configuration38 !== void 0 && _this$_configuration38.loginMethods ? (_this$_configuration39 = this._configuration) === null || _this$_configuration39 === void 0 || (_this$_configuration39 = _this$_configuration39.authentication) === null || _this$_configuration39 === void 0 ? void 0 : _this$_configuration39.loginMethods.microsoft : true,
@@ -1002,12 +1003,12 @@ var ConfigurationStore = /*#__PURE__*/function () {
1002
1003
  var _this$_configuration53;
1003
1004
  if ((_this$_configuration53 = this._configuration) !== null && _this$_configuration53 !== void 0 && _this$_configuration53.priceFormat) {
1004
1005
  var _this$_configuration54, _this$root$dataStore$2, _this$root$dataStore$3, _this$_configuration55;
1005
- return _objectSpread$g(_objectSpread$g({}, (_this$_configuration54 = this._configuration) === null || _this$_configuration54 === void 0 ? void 0 : _this$_configuration54.priceFormat), {}, {
1006
+ return _objectSpread$f(_objectSpread$f({}, (_this$_configuration54 = this._configuration) === null || _this$_configuration54 === void 0 ? void 0 : _this$_configuration54.priceFormat), {}, {
1006
1007
  currency: (_this$root$dataStore$2 = (_this$root$dataStore$3 = this.root.dataStore.organization) === null || _this$root$dataStore$3 === void 0 ? void 0 : _this$root$dataStore$3.settings.defaultCurrency) !== null && _this$root$dataStore$2 !== void 0 ? _this$root$dataStore$2 : (_this$_configuration55 = this._configuration) === null || _this$_configuration55 === void 0 ? void 0 : _this$_configuration55.priceFormat.currency
1007
1008
  });
1008
1009
  } else {
1009
1010
  var _this$root$dataStore$4, _this$root$dataStore$5;
1010
- return _objectSpread$g(_objectSpread$g({}, DivaUtils.defaultPriceFormat), {}, {
1011
+ return _objectSpread$f(_objectSpread$f({}, DivaUtils.defaultPriceFormat), {}, {
1011
1012
  currency: (_this$root$dataStore$4 = (_this$root$dataStore$5 = this.root.dataStore.organization) === null || _this$root$dataStore$5 === void 0 ? void 0 : _this$root$dataStore$5.settings.defaultCurrency) !== null && _this$root$dataStore$4 !== void 0 ? _this$root$dataStore$4 : DivaUtils.defaultPriceFormat.currency
1012
1013
  });
1013
1014
  }
@@ -1218,8 +1219,8 @@ function isIpadOS() {
1218
1219
  return navigator.maxTouchPoints && navigator.maxTouchPoints > 2 && /MacIntel/.test(navigator.platform);
1219
1220
  }
1220
1221
 
1221
- function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1222
- function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1222
+ function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1223
+ function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1223
1224
  var LOG$c = getLogger('Framework', 'DataStore');
1224
1225
  var DataStore = /*#__PURE__*/function () {
1225
1226
  function DataStore(root) {
@@ -1257,8 +1258,8 @@ var DataStore = /*#__PURE__*/function () {
1257
1258
  key: "organization",
1258
1259
  get: function get() {
1259
1260
  var _settings$defaultCurr, _settings;
1260
- return this._organization ? _objectSpread$f(_objectSpread$f({}, this._organization), {}, {
1261
- settings: _objectSpread$f(_objectSpread$f({}, this._organization.settings), {}, {
1261
+ return this._organization ? _objectSpread$e(_objectSpread$e({}, this._organization), {}, {
1262
+ settings: _objectSpread$e(_objectSpread$e({}, this._organization.settings), {}, {
1262
1263
  defaultCurrency: (_settings$defaultCurr = (_settings = this._organization.settings) === null || _settings === void 0 ? void 0 : _settings.defaultCurrency) !== null && _settings$defaultCurr !== void 0 ? _settings$defaultCurr : '€'
1263
1264
  })
1264
1265
  }) : this._organization;
@@ -1299,7 +1300,7 @@ var DataStore = /*#__PURE__*/function () {
1299
1300
  return [].concat(_toConsumableArray(((_this$_organization$p = (_this$_organization$p2 = this._organization.parentOrganizations) === null || _this$_organization$p2 === void 0 ? void 0 : _this$_organization$p2.filter(function (org) {
1300
1301
  return _this._parentOrganizations.includes(org._id);
1301
1302
  })) !== null && _this$_organization$p !== void 0 ? _this$_organization$p : []).map(function (org) {
1302
- return _objectSpread$f(_objectSpread$f({}, org), {}, {
1303
+ return _objectSpread$e(_objectSpread$e({}, org), {}, {
1303
1304
  type: org.type != 'SUPPLIER' ? org.parentType : undefined //supplier should not be accessed directly, only its children, so the simpliest solution is to remove here the type
1304
1305
  });
1305
1306
  }).reverse()), [{
@@ -1723,6 +1724,7 @@ function styleInject(css, ref) {
1723
1724
  }
1724
1725
  }
1725
1726
 
1727
+ var titlecontainer = "titlecontainer-LeRMj";
1726
1728
  var auth = "auth-y9j9-";
1727
1729
  var loginBox = "login-box-Zu-QM";
1728
1730
  var logoContainer = "logo-container-Gujpy";
@@ -1737,22 +1739,22 @@ var separator = "separator-Hg6fH";
1737
1739
  var input = "input--Dl8e";
1738
1740
  var readonly = "readonly-uw66l";
1739
1741
  var link = "link-s-Rcm";
1740
- var css_248z$6 = ".auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n overflow: auto;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n position: relative;\n}\n\n@media (max-height: 450px) {\n .login-box-Zu-QM {\n margin: auto;\n }\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n[dir=\"ltr\"] .error-gJyOw {\n text-align: left;\n}\n\n[dir=\"rtl\"] .error-gJyOw {\n text-align: right;\n}\n\n.error-gJyOw {\n border-left: 4px solid red !important;\n}\n\n.error-gJyOw {\n border-radius: 4px;\n padding: 10px;\n display: flex;\n align-items: center;\n}\n\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n}\n\n.google-WhFJU,\n.microsoft-e3GYR {\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n background-color: white;\n color: #333;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-weight: 600;\n padding: 12px;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.google-WhFJU:hover,\n.microsoft-e3GYR:hover {\n background-color: #f8f9fa;\n border-color: #bbb;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n}\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg width%3D%22800px%22 height%3D%22800px%22 viewBox%3D%22-3 0 262 262%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 preserveAspectRatio%3D%22xMidYMid%22%3E%3Cpath d%3D%22M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027%22 fill%3D%22%234285F4%22%2F%3E%3Cpath d%3D%22M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1%22 fill%3D%22%2334A853%22%2F%3E%3Cpath d%3D%22M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782%22 fill%3D%22%23FBBC05%22%2F%3E%3Cpath d%3D%22M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251%22 fill%3D%22%23EB4335%22%2F%3E%3C%2Fsvg%3E\");\n}\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22aria-label%3D%22Microsoft%22 role%3D%22img%22viewBox%3D%220 0 512 512%22%3E%3Crectwidth%3D%22512%22 height%3D%22512%22rx%3D%2215%25%22fill%3D%22%23ffffff%22%2F%3E%3Cpathd%3D%22M75 75v171h171v-171z%22 fill%3D%22%23f25022%22%2F%3E%3Cpathd%3D%22M266 75v171h171v-171z%22 fill%3D%22%237fba00%22%2F%3E%3Cpathd%3D%22M75 266v171h171v-171z%22 fill%3D%22%2300a4ef%22%2F%3E%3Cpathd%3D%22M266 266v171h171v-171z%22 fill%3D%22%23ffb900%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
1742
+ var css_248z$6 = ".titlecontainer-LeRMj {\n text-align: center;\n color: #474747;\n}\n\n.auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n overflow: auto;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n position: relative;\n}\n\n@media (max-height: 450px) {\n .login-box-Zu-QM {\n margin: auto;\n }\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n[dir=\"ltr\"] .error-gJyOw {\n text-align: left;\n}\n\n[dir=\"rtl\"] .error-gJyOw {\n text-align: right;\n}\n\n.error-gJyOw {\n border-left: 4px solid red !important;\n}\n\n.error-gJyOw {\n border-radius: 4px;\n padding: 10px;\n display: flex;\n align-items: center;\n}\n\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n}\n\n.google-WhFJU,\n.microsoft-e3GYR {\n font-size: medium;\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n background-color: white;\n color: #333;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-weight: 600;\n padding: 12px;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.google-WhFJU:hover,\n.microsoft-e3GYR:hover {\n background-color: #f8f9fa;\n border-color: #bbb;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n}\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg width%3D%22800px%22 height%3D%22800px%22 viewBox%3D%22-3 0 262 262%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 preserveAspectRatio%3D%22xMidYMid%22%3E%3Cpath d%3D%22M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027%22 fill%3D%22%234285F4%22%2F%3E%3Cpath d%3D%22M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1%22 fill%3D%22%2334A853%22%2F%3E%3Cpath d%3D%22M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782%22 fill%3D%22%23FBBC05%22%2F%3E%3Cpath d%3D%22M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251%22 fill%3D%22%23EB4335%22%2F%3E%3C%2Fsvg%3E\");\n}\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22aria-label%3D%22Microsoft%22 role%3D%22img%22viewBox%3D%220 0 512 512%22%3E%3Crectwidth%3D%22512%22 height%3D%22512%22rx%3D%2215%25%22fill%3D%22%23ffffff%22%2F%3E%3Cpathd%3D%22M75 75v171h171v-171z%22 fill%3D%22%23f25022%22%2F%3E%3Cpathd%3D%22M266 75v171h171v-171z%22 fill%3D%22%237fba00%22%2F%3E%3Cpathd%3D%22M75 266v171h171v-171z%22 fill%3D%22%2300a4ef%22%2F%3E%3Cpathd%3D%22M266 266v171h171v-171z%22 fill%3D%22%23ffb900%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
1741
1743
  styleInject(css_248z$6);
1742
1744
 
1743
- var _excluded$7 = ["className", "disabled", "children"];
1744
- function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1745
- function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1746
1745
  function Button (_ref) {
1747
1746
  var className = _ref.className,
1748
1747
  disabled = _ref.disabled,
1749
1748
  children = _ref.children,
1750
- props = _objectWithoutProperties(_ref, _excluded$7);
1751
- return /*#__PURE__*/jsx("div", _objectSpread$e(_objectSpread$e({
1752
- className: classnames(authButton, className, disabled ? buttonDisabled : undefined)
1753
- }, props), {}, {
1749
+ onClick = _ref.onClick;
1750
+ return /*#__PURE__*/jsx(Button$1, {
1751
+ id: "submit",
1752
+ variant: "contained",
1753
+ disabled: disabled,
1754
+ onClick: onClick,
1755
+ className: classnames(authButton, className, disabled ? buttonDisabled : undefined),
1754
1756
  children: children
1755
- }));
1757
+ });
1756
1758
  }
1757
1759
 
1758
1760
  var _excluded$6 = ["className", "readOnly", "resetInput"];
@@ -2104,6 +2106,7 @@ var ContentStore = /*#__PURE__*/function () {
2104
2106
  this.root = root;
2105
2107
  _defineProperty(this, "configuration", []);
2106
2108
  _defineProperty(this, "state", new Map());
2109
+ _defineProperty(this, "_modelViewerHasLoaded", false);
2107
2110
  _defineProperty(this, "_fullscreenComponent", undefined);
2108
2111
  _defineProperty(this, "_isAbsoluteComponent", false);
2109
2112
  _defineProperty(this, "_modal", undefined);
@@ -2169,6 +2172,7 @@ var ContentStore = /*#__PURE__*/function () {
2169
2172
  });
2170
2173
  this.root = root;
2171
2174
  this.configuration = components;
2175
+ if (window.customElements.get('model-viewer')) this._modelViewerHasLoaded = true;
2172
2176
  LOG$9.debug("Available Components: ".concat(components.map(function (c) {
2173
2177
  return c.name;
2174
2178
  })));
@@ -2215,6 +2219,31 @@ var ContentStore = /*#__PURE__*/function () {
2215
2219
  });
2216
2220
  }
2217
2221
  return _createClass(ContentStore, [{
2222
+ key: "loadModelViewer",
2223
+ value: function () {
2224
+ var _loadModelViewer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
2225
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
2226
+ while (1) switch (_context.prev = _context.next) {
2227
+ case 0:
2228
+ if (!(!this._modelViewerHasLoaded && !window.customElements.get('model-viewer'))) {
2229
+ _context.next = 4;
2230
+ break;
2231
+ }
2232
+ this._modelViewerHasLoaded = true;
2233
+ _context.next = 4;
2234
+ return import('@google/model-viewer');
2235
+ case 4:
2236
+ case "end":
2237
+ return _context.stop();
2238
+ }
2239
+ }, _callee, this);
2240
+ }));
2241
+ function loadModelViewer() {
2242
+ return _loadModelViewer.apply(this, arguments);
2243
+ }
2244
+ return loadModelViewer;
2245
+ }()
2246
+ }, {
2218
2247
  key: "resolveComponent",
2219
2248
  value: function resolveComponent(action) {
2220
2249
  var _config$route, _config;
@@ -2265,20 +2294,20 @@ var ContentStore = /*#__PURE__*/function () {
2265
2294
  _config8,
2266
2295
  _config9;
2267
2296
  var _this$componentChange2, _this$componentChange3, _this$openInNewTab, _this$openInNewTab2, link, _window, _ref2, type, parameters, internal, route, openInFullscreen, keepOldState, config, parent, _this$root$dataStore$, _this$root$dataStore$2, _config4, newTab, _config7, base, settings, openModuleLables, _parameters, otherPrams, module, prevType, prevState, currentState, componentState, _this$root$dataStore$3, _config$barrier, _parameters2;
2268
- return _regeneratorRuntime.wrap(function openComponent$(_context) {
2269
- while (1) switch (_context.prev = _context.next) {
2297
+ return _regeneratorRuntime.wrap(function openComponent$(_context2) {
2298
+ while (1) switch (_context2.prev = _context2.next) {
2270
2299
  case 0:
2271
2300
  if (!((_this$componentChange = this.componentChange) !== null && _this$componentChange !== void 0 && _this$componentChange.isBlocked)) {
2272
- _context.next = 3;
2301
+ _context2.next = 3;
2273
2302
  break;
2274
2303
  }
2275
2304
  (_this$componentChange2 = this.componentChange) === null || _this$componentChange2 === void 0 || (_this$componentChange3 = _this$componentChange2.callback) === null || _this$componentChange3 === void 0 || _this$componentChange3.call(_this$componentChange2);
2276
- return _context.abrupt("return");
2305
+ return _context2.abrupt("return");
2277
2306
  case 3:
2278
2307
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2279
2308
  LOG$9.debug('openComponent', toJS(action));
2280
2309
  if (!action.url) {
2281
- _context.next = 10;
2310
+ _context2.next = 10;
2282
2311
  break;
2283
2312
  }
2284
2313
  LOG$9.businessEvent('onOpenModule', action.openInNewTab ? 'OpenUrlNewTab' : 'OpenUrl', "Open link ".concat(action.url), {
@@ -2291,16 +2320,16 @@ var ContentStore = /*#__PURE__*/function () {
2291
2320
  window.location.href = this.resoveUrl(action.url);
2292
2321
  }
2293
2322
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2294
- return _context.abrupt("return");
2323
+ return _context2.abrupt("return");
2295
2324
  case 10:
2296
2325
  _ref2 = action, type = _ref2.type, parameters = _ref2.parameters, internal = _ref2.internal, route = _ref2.route, openInFullscreen = _ref2.openInFullscreen, keepOldState = _ref2.keepOldState;
2297
2326
  config = undefined;
2298
2327
  if (!openInFullscreen) {
2299
- _context.next = 15;
2328
+ _context2.next = 15;
2300
2329
  break;
2301
2330
  }
2302
2331
  this.openComponentInFullscreen(action);
2303
- return _context.abrupt("return");
2332
+ return _context2.abrupt("return");
2304
2333
  case 15:
2305
2334
  if (type) {
2306
2335
  config = this.availableComponents.find(function (c) {
@@ -2312,7 +2341,7 @@ var ContentStore = /*#__PURE__*/function () {
2312
2341
  });
2313
2342
  }
2314
2343
  if (!(((_config2 = config) === null || _config2 === void 0 ? void 0 : _config2.type) == 'CATEGORY_MANAGER' || ((_config3 = config) === null || _config3 === void 0 ? void 0 : _config3.type) == 'ASSORTMENT_MANAGER')) {
2315
- _context.next = 23;
2344
+ _context2.next = 23;
2316
2345
  break;
2317
2346
  }
2318
2347
  parent = undefined;
@@ -2326,7 +2355,7 @@ var ContentStore = /*#__PURE__*/function () {
2326
2355
  });
2327
2356
  }
2328
2357
  if (!parent) {
2329
- _context.next = 23;
2358
+ _context2.next = 23;
2330
2359
  break;
2331
2360
  }
2332
2361
  this.openModal({
@@ -2350,30 +2379,30 @@ var ContentStore = /*#__PURE__*/function () {
2350
2379
  }
2351
2380
  });
2352
2381
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2353
- return _context.abrupt("return");
2382
+ return _context2.abrupt("return");
2354
2383
  case 23:
2355
2384
  newTab = action.openInNewTab || ((_config6 = config) === null || _config6 === void 0 ? void 0 : _config6.openInNewTab);
2356
2385
  if (!newTab) {
2357
- _context.next = 29;
2386
+ _context2.next = 29;
2358
2387
  break;
2359
2388
  }
2360
2389
  base = typeof action.openInNewTab == 'string' ? action.openInNewTab : window.origin;
2361
2390
  this.openInNewTab(action, "".concat(base).concat(((_config7 = config) === null || _config7 === void 0 ? void 0 : _config7.route) || ''));
2362
2391
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2363
- return _context.abrupt("return");
2392
+ return _context2.abrupt("return");
2364
2393
  case 29:
2365
2394
  if (!(!this.root.dataStore.user && !this.isPublic(action))) {
2366
- _context.next = 35;
2395
+ _context2.next = 35;
2367
2396
  break;
2368
2397
  }
2369
2398
  LOG$9.debug("Component is restricted, open login form");
2370
2399
  this._restrictedComponent = action;
2371
2400
  this.root.authorizationStore.showLogin();
2372
2401
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2373
- return _context.abrupt("return");
2402
+ return _context2.abrupt("return");
2374
2403
  case 35:
2375
2404
  if (config) {
2376
- _context.next = 40;
2405
+ _context2.next = 40;
2377
2406
  break;
2378
2407
  }
2379
2408
  this._restrictedComponent = action;
@@ -2384,7 +2413,7 @@ var ContentStore = /*#__PURE__*/function () {
2384
2413
  action: toJS(action)
2385
2414
  }
2386
2415
  }), 'CORE_0005');
2387
- return _context.abrupt("return");
2416
+ return _context2.abrupt("return");
2388
2417
  case 40:
2389
2418
  settings = undefined;
2390
2419
  if (config.settings) {
@@ -2445,7 +2474,7 @@ var ContentStore = /*#__PURE__*/function () {
2445
2474
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2446
2475
  case 60:
2447
2476
  case "end":
2448
- return _context.stop();
2477
+ return _context2.stop();
2449
2478
  }
2450
2479
  }, openComponent, this);
2451
2480
  })
@@ -2454,8 +2483,8 @@ var ContentStore = /*#__PURE__*/function () {
2454
2483
  value: /*#__PURE__*/_regeneratorRuntime.mark(function openComponentInFullscreen(component) {
2455
2484
  var _config10, _config11;
2456
2485
  var type, parameters, internal, route, config, settings, module, componentState;
2457
- return _regeneratorRuntime.wrap(function openComponentInFullscreen$(_context2) {
2458
- while (1) switch (_context2.prev = _context2.next) {
2486
+ return _regeneratorRuntime.wrap(function openComponentInFullscreen$(_context3) {
2487
+ while (1) switch (_context3.prev = _context3.next) {
2459
2488
  case 0:
2460
2489
  LOG$9.debug('openComponentInFullscreen', toJS(component));
2461
2490
  this.root.loadingAndErrorStore.setError(undefined);
@@ -2472,7 +2501,7 @@ var ContentStore = /*#__PURE__*/function () {
2472
2501
  });
2473
2502
  }
2474
2503
  if (config) {
2475
- _context2.next = 10;
2504
+ _context3.next = 10;
2476
2505
  break;
2477
2506
  }
2478
2507
  this._restrictedComponent = component;
@@ -2483,24 +2512,24 @@ var ContentStore = /*#__PURE__*/function () {
2483
2512
  component: toJS(component)
2484
2513
  }
2485
2514
  }), 'CORE_0005');
2486
- return _context2.abrupt("return");
2515
+ return _context3.abrupt("return");
2487
2516
  case 10:
2488
2517
  settings = undefined;
2489
2518
  if (!config.settings) {
2490
- _context2.next = 15;
2519
+ _context3.next = 15;
2491
2520
  break;
2492
2521
  }
2493
2522
  settings = config.settings;
2494
- _context2.next = 18;
2523
+ _context3.next = 18;
2495
2524
  break;
2496
2525
  case 15:
2497
- _context2.next = 17;
2526
+ _context3.next = 17;
2498
2527
  return this.root.configurationStore.fetchConfiguration({
2499
2528
  identifier: config.identifier,
2500
2529
  type: config.type
2501
2530
  });
2502
2531
  case 17:
2503
- settings = _context2.sent;
2532
+ settings = _context3.sent;
2504
2533
  case 18:
2505
2534
  module = this.mapTypeToModule((_config10 = config) === null || _config10 === void 0 ? void 0 : _config10.type);
2506
2535
  LOG$9.businessEvent('onOpenModule', module, "Open module ".concat((_config11 = config) === null || _config11 === void 0 ? void 0 : _config11.type));
@@ -2517,7 +2546,7 @@ var ContentStore = /*#__PURE__*/function () {
2517
2546
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2518
2547
  case 24:
2519
2548
  case "end":
2520
- return _context2.stop();
2549
+ return _context3.stop();
2521
2550
  }
2522
2551
  }, openComponentInFullscreen, this);
2523
2552
  })
@@ -2559,7 +2588,7 @@ var ContentStore = /*#__PURE__*/function () {
2559
2588
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
2560
2589
  var subComponent = _step.value;
2561
2590
  var found = this.findSubComponent(type, subComponent);
2562
- if (found) return found.settings;
2591
+ if (found) return found;
2563
2592
  }
2564
2593
  } catch (err) {
2565
2594
  _iterator.e(err);
@@ -3087,37 +3116,37 @@ var ContentStore = /*#__PURE__*/function () {
3087
3116
  actions: (_barrier$actions = barrier.actions) === null || _barrier$actions === void 0 ? void 0 : _barrier$actions.map(function (a) {
3088
3117
  return _objectSpread$b(_objectSpread$b({}, a), {}, {
3089
3118
  onClick: function () {
3090
- var _onClick = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(email) {
3119
+ var _onClick = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(email) {
3091
3120
  var _this8$root$dataStore;
3092
3121
  var doLogin;
3093
- return _regeneratorRuntime.wrap(function _callee$(_context3) {
3094
- while (1) switch (_context3.prev = _context3.next) {
3122
+ return _regeneratorRuntime.wrap(function _callee2$(_context4) {
3123
+ while (1) switch (_context4.prev = _context4.next) {
3095
3124
  case 0:
3096
3125
  _this8.closeModal();
3097
3126
  doLogin = (a.loginType ? a.loginType : barrier.type) === 'SIMPLE';
3098
3127
  if (!(doLogin && ((_this8$root$dataStore = _this8.root.dataStore.user) === null || _this8$root$dataStore === void 0 ? void 0 : _this8$root$dataStore.mainEmail) != email)) {
3099
- _context3.next = 11;
3128
+ _context4.next = 11;
3100
3129
  break;
3101
3130
  }
3102
- _context3.prev = 3;
3103
- _context3.next = 6;
3131
+ _context4.prev = 3;
3132
+ _context4.next = 6;
3104
3133
  return flowResult(_this8.root.authorizationStore.login(email, undefined, true, _this8.root.dataStore.organizationId));
3105
3134
  case 6:
3106
- _context3.next = 11;
3135
+ _context4.next = 11;
3107
3136
  break;
3108
3137
  case 8:
3109
- _context3.prev = 8;
3110
- _context3.t0 = _context3["catch"](3);
3138
+ _context4.prev = 8;
3139
+ _context4.t0 = _context4["catch"](3);
3111
3140
  LOG$9.error(new DivaError('Error while logging in', {
3112
- cause: _context3.t0
3141
+ cause: _context4.t0
3113
3142
  }));
3114
3143
  case 11:
3115
3144
  a.onClick(email);
3116
3145
  case 12:
3117
3146
  case "end":
3118
- return _context3.stop();
3147
+ return _context4.stop();
3119
3148
  }
3120
- }, _callee, null, [[3, 8]]);
3149
+ }, _callee2, null, [[3, 8]]);
3121
3150
  }));
3122
3151
  function onClick(_x) {
3123
3152
  return _onClick.apply(this, arguments);
@@ -3152,17 +3181,17 @@ var ContentStore = /*#__PURE__*/function () {
3152
3181
  showDialog = _ref4.showDialog,
3153
3182
  callback = _ref4.callback,
3154
3183
  content = _ref4.content;
3155
- return /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
3184
+ return /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
3156
3185
  var accepted, _content$language$toU, _content$language;
3157
- return _regeneratorRuntime.wrap(function _callee2$(_context4) {
3158
- while (1) switch (_context4.prev = _context4.next) {
3186
+ return _regeneratorRuntime.wrap(function _callee3$(_context5) {
3187
+ while (1) switch (_context5.prev = _context5.next) {
3159
3188
  case 0:
3160
3189
  accepted = showDialog === false;
3161
3190
  if (!(showDialog !== false)) {
3162
- _context4.next = 4;
3191
+ _context5.next = 4;
3163
3192
  break;
3164
3193
  }
3165
- _context4.next = 4;
3194
+ _context5.next = 4;
3166
3195
  return new Promise(function (resolve) {
3167
3196
  return _this9.openModal({
3168
3197
  reject: true,
@@ -3180,15 +3209,15 @@ var ContentStore = /*#__PURE__*/function () {
3180
3209
  });
3181
3210
  case 4:
3182
3211
  if (accepted) {
3183
- _context4.next = 6;
3212
+ _context5.next = 6;
3184
3213
  break;
3185
3214
  }
3186
- return _context4.abrupt("return");
3215
+ return _context5.abrupt("return");
3187
3216
  case 6:
3188
3217
  _this9.root.loadingAndErrorStore.toggleLoading('sendingEmail');
3189
- _context4.prev = 7;
3218
+ _context5.prev = 7;
3190
3219
  content.language = (_content$language$toU = (_content$language = content.language) === null || _content$language === void 0 ? void 0 : _content$language.toUpperCase()) !== null && _content$language$toU !== void 0 ? _content$language$toU : _this9.root.language.toUpperCase();
3191
- _context4.next = 11;
3220
+ _context5.next = 11;
3192
3221
  return _this9.root.apiHandler.sendEmail({
3193
3222
  content: content,
3194
3223
  organizationIds: _this9.root.dataStore.fullParentList
@@ -3202,11 +3231,11 @@ var ContentStore = /*#__PURE__*/function () {
3202
3231
  accept: true
3203
3232
  });
3204
3233
  }
3205
- _context4.next = 17;
3234
+ _context5.next = 17;
3206
3235
  break;
3207
3236
  case 14:
3208
- _context4.prev = 14;
3209
- _context4.t0 = _context4["catch"](7);
3237
+ _context5.prev = 14;
3238
+ _context5.t0 = _context5["catch"](7);
3210
3239
  if (callback) {
3211
3240
  callback(false);
3212
3241
  } else {
@@ -3216,14 +3245,14 @@ var ContentStore = /*#__PURE__*/function () {
3216
3245
  });
3217
3246
  }
3218
3247
  case 17:
3219
- _context4.prev = 17;
3248
+ _context5.prev = 17;
3220
3249
  _this9.root.loadingAndErrorStore.toggleLoading('sendingEmail');
3221
- return _context4.finish(17);
3250
+ return _context5.finish(17);
3222
3251
  case 20:
3223
3252
  case "end":
3224
- return _context4.stop();
3253
+ return _context5.stop();
3225
3254
  }
3226
- }, _callee2, null, [[7, 14, 17, 20]]);
3255
+ }, _callee3, null, [[7, 14, 17, 20]]);
3227
3256
  })();
3228
3257
  }
3229
3258
 
@@ -3259,29 +3288,29 @@ var ContentStore = /*#__PURE__*/function () {
3259
3288
  }, {
3260
3289
  key: "setContainer",
3261
3290
  value: (function () {
3262
- var _setContainer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(ref) {
3263
- return _regeneratorRuntime.wrap(function _callee3$(_context5) {
3264
- while (1) switch (_context5.prev = _context5.next) {
3291
+ var _setContainer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(ref) {
3292
+ return _regeneratorRuntime.wrap(function _callee4$(_context6) {
3293
+ while (1) switch (_context6.prev = _context6.next) {
3265
3294
  case 0:
3266
3295
  if (!(ref === this.ref)) {
3267
- _context5.next = 2;
3296
+ _context6.next = 2;
3268
3297
  break;
3269
3298
  }
3270
- return _context5.abrupt("return");
3299
+ return _context6.abrupt("return");
3271
3300
  case 2:
3272
3301
  this.ref = ref;
3273
3302
  if (this.resizeObserver) {
3274
3303
  unregisterResizeObserver(this.resizeObserver);
3275
3304
  }
3276
- _context5.next = 6;
3305
+ _context6.next = 6;
3277
3306
  return registerResizeObserver(ref, this.onResize.bind(this));
3278
3307
  case 6:
3279
- this.resizeObserver = _context5.sent;
3308
+ this.resizeObserver = _context6.sent;
3280
3309
  case 7:
3281
3310
  case "end":
3282
- return _context5.stop();
3311
+ return _context6.stop();
3283
3312
  }
3284
- }, _callee3, this);
3313
+ }, _callee4, this);
3285
3314
  }));
3286
3315
  function setContainer(_x2) {
3287
3316
  return _setContainer.apply(this, arguments);
@@ -9079,6 +9108,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
9079
9108
  changeLanguage: store.changeLanguage.bind(store),
9080
9109
  changeLoginMode: store.changeLoginMode.bind(store),
9081
9110
  toggleLoading: store.loadingAndErrorStore.toggleLoading.bind(store.loadingAndErrorStore),
9111
+ loadModelViewer: store.contentStore.loadModelViewer.bind(store.contentStore),
9082
9112
  openModal: store.contentStore.openModal.bind(store.contentStore),
9083
9113
  closeModal: store.contentStore.closeModal.bind(store.contentStore),
9084
9114
  sendEmail: store.contentStore.sendEmail.bind(store.contentStore),
@@ -9178,6 +9208,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
9178
9208
  changeLanguage: store.changeLanguage.bind(store),
9179
9209
  changeLoginMode: store.changeLoginMode.bind(store),
9180
9210
  toggleLoading: store.loadingAndErrorStore.toggleLoading.bind(store.loadingAndErrorStore),
9211
+ loadModelViewer: store.contentStore.loadModelViewer.bind(store.contentStore),
9181
9212
  openModal: store.contentStore.openModal.bind(store.contentStore),
9182
9213
  closeModal: store.contentStore.closeModal.bind(store.contentStore),
9183
9214
  sendEmail: store.contentStore.sendEmail.bind(store.contentStore),
@@ -9594,9 +9625,10 @@ var SideMenu$1 = observer(SideMenu);
9594
9625
  function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9595
9626
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9596
9627
  var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
9597
- return import('./ModalsWrapper-c311c91b.js');
9628
+ return import('./ModalsWrapper-ba2265a2.js');
9598
9629
  });
9599
- function Fullscreen() {
9630
+ function Fullscreen(_ref) {
9631
+ var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
9600
9632
  var _useDivaCoreContext = useDivaCoreContext(),
9601
9633
  contentStore = _useDivaCoreContext.contentStore,
9602
9634
  configurationStore = _useDivaCoreContext.configurationStore;
@@ -9678,21 +9710,24 @@ function Fullscreen() {
9678
9710
  (_element$2 = element[0]) === null || _element$2 === void 0 || _element$2.classList.remove('diva-pseudo-fullscreen');
9679
9711
  };
9680
9712
  }, [contentStore.isFullscreenComponentDefined]);
9681
- if (!contentStore.fullscreen) {
9713
+ if (!contentStore.isFullscreenComponentDefined && !contentStore.fullscreen) return /*#__PURE__*/jsx(Fragment, {});
9714
+ if ((!contentStore.fullscreen || contentStore.isFullscreenComponentDefined) && !inAbsoluteFullscreen) {
9682
9715
  var _c$state$absoluteFull, _c$state$absoluteFull2;
9683
- if (!contentStore.isFullscreenComponentDefined) return /*#__PURE__*/jsx(Fragment, {});
9684
9716
  var c = contentStore.fullscreenComponent;
9685
9717
  var C = c.component;
9686
9718
  return /*#__PURE__*/jsxs("div", {
9687
9719
  id: "DivaCore",
9688
9720
  className: classnames('diva-fullscreen', c.state.absoluteFullscreen ? absoluteOverlay : overlay),
9689
9721
  style: isMobile ? (_c$state$absoluteFull = c.state.absoluteFullscreenStyle) === null || _c$state$absoluteFull === void 0 ? void 0 : _c$state$absoluteFull.mobile : (_c$state$absoluteFull2 = c.state.absoluteFullscreenStyle) === null || _c$state$absoluteFull2 === void 0 ? void 0 : _c$state$absoluteFull2.desktop,
9690
- children: [/*#__PURE__*/jsx(Spinner$1, {}), /*#__PURE__*/jsx(SideMenu$1, {}), configurationStore.enableModals && /*#__PURE__*/jsx(LazyModals$1, {}), /*#__PURE__*/jsx(Suspense, {
9722
+ children: [/*#__PURE__*/jsx(Fullscreen, {
9723
+ inAbsoluteFullscreen: true
9724
+ }), /*#__PURE__*/jsx(Spinner$1, {}), /*#__PURE__*/jsx(SideMenu$1, {}), configurationStore.enableModals && /*#__PURE__*/jsx(LazyModals$1, {}), /*#__PURE__*/jsx(Suspense, {
9691
9725
  fallback: /*#__PURE__*/jsx(Fallback, {}),
9692
9726
  children: /*#__PURE__*/jsx(C, _objectSpread$4({}, c.state))
9693
9727
  })]
9694
9728
  });
9695
9729
  }
9730
+ if (!contentStore.fullscreen) return /*#__PURE__*/jsx(Fragment, {});
9696
9731
  return /*#__PURE__*/jsxs("div", {
9697
9732
  className: classnames('diva-fullscreen', contentStore.fullscreen.absoluteFullscreen ? absoluteOverlay : overlay),
9698
9733
  "data-test-id": "plannerFullscreen",
@@ -9865,7 +9900,7 @@ function ErrorDisplay() {
9865
9900
  children: [loadingAndErrorStore.divaErrorCode ? loadingAndErrorStore.divaErrorCode + ': ' : '', " ", loadingAndErrorStore.error]
9866
9901
  }), /*#__PURE__*/jsxs("div", {
9867
9902
  className: actionButtons,
9868
- children: [loadingAndErrorStore.fallbackModule && /*#__PURE__*/jsx(Button$1, {
9903
+ children: [loadingAndErrorStore.fallbackModule && /*#__PURE__*/jsx(Button$2, {
9869
9904
  color: "primary",
9870
9905
  variant: "contained",
9871
9906
  onClick: function onClick() {
@@ -9875,14 +9910,14 @@ function ErrorDisplay() {
9875
9910
  });
9876
9911
  },
9877
9912
  children: (_loadingAndErrorStore5 = loadingAndErrorStore.fallbackModule.text) !== null && _loadingAndErrorStore5 !== void 0 ? _loadingAndErrorStore5 : t('portal.error.gotodefaultmodule') + ' (' + loadingAndErrorStore.fallbackModule.route.replace('/', '') + ')'
9878
- }), configurationStore.applicationEnvironment !== 'WEB' && loadingAndErrorStore.showLogout && /*#__PURE__*/jsx(Button$1, {
9913
+ }), configurationStore.applicationEnvironment !== 'WEB' && loadingAndErrorStore.showLogout && /*#__PURE__*/jsx(Button$2, {
9879
9914
  color: "primary",
9880
9915
  variant: "contained",
9881
9916
  onClick: function onClick() {
9882
9917
  return authorizationStore.logout();
9883
9918
  },
9884
9919
  children: "Logout"
9885
- }), showReload && /*#__PURE__*/jsx(Button$1, {
9920
+ }), showReload && /*#__PURE__*/jsx(Button$2, {
9886
9921
  color: "primary",
9887
9922
  variant: "contained",
9888
9923
  onClick: function onClick() {
@@ -10048,10 +10083,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
10048
10083
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10049
10084
  var LOG$2 = getLogger('Framework', 'Root');
10050
10085
  var LazyAuth = /*#__PURE__*/React.lazy(function () {
10051
- return import('./index-2e9f973d.js');
10086
+ return import('./index-d481baae.js');
10052
10087
  });
10053
10088
  var LazyModals = /*#__PURE__*/React.lazy(function () {
10054
- return import('./ModalsWrapper-c311c91b.js');
10089
+ return import('./ModalsWrapper-ba2265a2.js');
10055
10090
  });
10056
10091
  function ContentComponent() {
10057
10092
  var context = useDivaCoreContext();
@@ -10838,6 +10873,13 @@ var MockedRootStore = /*#__PURE__*/function () {
10838
10873
  throw new Error('Method not implemented.');
10839
10874
  }
10840
10875
  },
10876
+ loadModelViewer: function loadModelViewer() {
10877
+ if (_this2.actions.loadModelViewer) {
10878
+ _this2.actions.loadModelViewer();
10879
+ } else {
10880
+ throw new Error('Method not implemented.');
10881
+ }
10882
+ },
10841
10883
  setOrganization: function setOrganization(organizationId) {
10842
10884
  if (_this2.actions.setOrganization) {
10843
10885
  _this2.actions.setOrganization(organizationId);
@@ -11040,4 +11082,4 @@ LOG.startTransaction({
11040
11082
  });
11041
11083
  window.DIVA_VERSION = "v".concat(process.env.VERSION);
11042
11084
 
11043
- export { AuthorizationHandler as A, Button as B, Content as C, DivaCore as D, HelpButton as H, Input as I, ONE_DAY_UNIX as O, ProductHandler as P, RequestStatus as R, SupportHandler as S, getLogger as a, separator as b, success as c, auth as d, error as e, loginBox as f, google as g, logoContainer as h, styleInject as i, useDivaCore as j, AnalyticsHandler as k, link as l, microsoft as m, OrganizationHandler as n, ClientArticleHandler as o, DivaMockProvider as p, storyBookCoreMock as q, socialButton as s, useDivaCoreContext as u };
11085
+ export { AuthorizationHandler as A, Button as B, Content as C, DivaCore as D, HelpButton as H, Input as I, ONE_DAY_UNIX as O, ProductHandler as P, RequestStatus as R, SupportHandler as S, getLogger as a, separator as b, success as c, auth as d, error as e, loginBox as f, google as g, logoContainer as h, styleInject as i, useDivaCore as j, AnalyticsHandler as k, link as l, microsoft as m, OrganizationHandler as n, ClientArticleHandler as o, DivaMockProvider as p, storyBookCoreMock as q, socialButton as s, titlecontainer as t, useDivaCoreContext as u };