@micromag/screen-urbania-horoscope 0.4.49 → 0.4.51
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/es/index.js +264 -232
- package/package.json +15 -15
package/es/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
5
5
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
6
6
|
import { animated } from '@react-spring/web';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
|
-
import
|
|
8
|
+
import { useMemo, useState, useCallback, useEffect } from 'react';
|
|
9
9
|
import { ScreenElement, PlaceholderTitle } from '@micromag/core/components';
|
|
10
10
|
import { useScreenRenderContext, useViewerInteraction, usePlaybackContext, usePlaybackMediaRef, useScreenSize, useViewerContext, useScreenState } from '@micromag/core/contexts';
|
|
11
11
|
import { useTrackScreenEvent, useDragProgress } from '@micromag/core/hooks';
|
|
@@ -42,6 +42,7 @@ import sagittariusThumbnail from '../assets/images/0964d576c4c1da6d.png';
|
|
|
42
42
|
import scorpioThumbnail from '../assets/images/1ffa37309c1fbcfa.png';
|
|
43
43
|
import taurusThumbnail from '../assets/images/822018b354054d62.png';
|
|
44
44
|
import virgoThumbnail from '../assets/images/b3e1e35461e78e82.png';
|
|
45
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
45
46
|
import Scroll from '@micromag/element-scroll';
|
|
46
47
|
|
|
47
48
|
var signs = [{
|
|
@@ -264,7 +265,6 @@ var signs = [{
|
|
|
264
265
|
|
|
265
266
|
var styles$2 = {"container":"micromag-screen-urbania-horoscope-sign-card-container","placeholder":"micromag-screen-urbania-horoscope-sign-card-placeholder","thumbnail":"micromag-screen-urbania-horoscope-sign-card-thumbnail","name":"micromag-screen-urbania-horoscope-sign-card-name","date":"micromag-screen-urbania-horoscope-sign-card-date","emptyText":"micromag-screen-urbania-horoscope-sign-card-emptyText"};
|
|
266
267
|
|
|
267
|
-
/* eslint-disable react/jsx-props-no-spreading */
|
|
268
268
|
function SignCard(_ref) {
|
|
269
269
|
var _ref$className = _ref.className,
|
|
270
270
|
className = _ref$className === void 0 ? null : _ref$className,
|
|
@@ -283,11 +283,11 @@ function SignCard(_ref) {
|
|
|
283
283
|
label = _ref2$label === void 0 ? null : _ref2$label,
|
|
284
284
|
_ref2$date = _ref2.date,
|
|
285
285
|
date = _ref2$date === void 0 ? null : _ref2$date;
|
|
286
|
-
return /*#__PURE__*/
|
|
287
|
-
placeholder: /*#__PURE__*/
|
|
286
|
+
return /*#__PURE__*/jsx(ScreenElement, {
|
|
287
|
+
placeholder: /*#__PURE__*/jsx(PlaceholderTitle, {
|
|
288
288
|
className: styles$2.placeholder
|
|
289
289
|
}),
|
|
290
|
-
emptyLabel: /*#__PURE__*/
|
|
290
|
+
emptyLabel: /*#__PURE__*/jsx(FormattedMessage, {
|
|
291
291
|
id: "ceaRdq",
|
|
292
292
|
defaultMessage: [{
|
|
293
293
|
"type": 0,
|
|
@@ -295,24 +295,29 @@ function SignCard(_ref) {
|
|
|
295
295
|
}]
|
|
296
296
|
}),
|
|
297
297
|
emptyClassName: styles$2.emptyText,
|
|
298
|
-
isEmpty: !id
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
298
|
+
isEmpty: !id,
|
|
299
|
+
children: /*#__PURE__*/jsxs("button", {
|
|
300
|
+
className: classNames([styles$2.container, className]),
|
|
301
|
+
type: "button",
|
|
302
|
+
tabIndex: focusable ? '0' : -1,
|
|
303
|
+
onClick: onClick,
|
|
304
|
+
children: [thumbnail !== null ? /*#__PURE__*/jsx("img", {
|
|
305
|
+
className: styles$2.thumbnail,
|
|
306
|
+
src: thumbnail,
|
|
307
|
+
alt: id,
|
|
308
|
+
loading: "lazy"
|
|
309
|
+
}) : null, /*#__PURE__*/jsxs("div", {
|
|
310
|
+
className: styles$2.gridText,
|
|
311
|
+
children: [/*#__PURE__*/jsx("h2", {
|
|
312
|
+
className: styles$2.name,
|
|
313
|
+
children: label !== null ? /*#__PURE__*/jsx(FormattedMessage, _objectSpread({}, label)) : null
|
|
314
|
+
}), /*#__PURE__*/jsx("p", {
|
|
315
|
+
className: styles$2.date,
|
|
316
|
+
children: date !== null ? /*#__PURE__*/jsx(FormattedMessage, _objectSpread({}, date)) : null
|
|
317
|
+
})]
|
|
318
|
+
})]
|
|
319
|
+
})
|
|
320
|
+
});
|
|
316
321
|
}
|
|
317
322
|
|
|
318
323
|
var styles$1 = {"container":"micromag-screen-urbania-horoscope-sign-modal-container","modalButton":"micromag-screen-urbania-horoscope-sign-modal-modalButton","modal":"micromag-screen-urbania-horoscope-sign-modal-modal","name":"micromag-screen-urbania-horoscope-sign-modal-name","wordContainer":"micromag-screen-urbania-horoscope-sign-modal-wordContainer","wordOfTheWeek":"micromag-screen-urbania-horoscope-sign-modal-wordOfTheWeek","word":"micromag-screen-urbania-horoscope-sign-modal-word","description":"micromag-screen-urbania-horoscope-sign-modal-description","illustration":"micromag-screen-urbania-horoscope-sign-modal-illustration"};
|
|
@@ -354,47 +359,56 @@ function SignModal(_ref) {
|
|
|
354
359
|
var hasWord = isTextFilled(word);
|
|
355
360
|
var hasSubtitle = isTextFilled(subtitle);
|
|
356
361
|
var scrollingDisabled = !isEdit && transitionDisabled || !current;
|
|
357
|
-
return /*#__PURE__*/
|
|
362
|
+
return /*#__PURE__*/jsx(Container, {
|
|
358
363
|
width: width,
|
|
359
364
|
height: height,
|
|
360
|
-
className: classNames([styles$1.container, className, _defineProperty({}, styles$1.withoutTransitions, transitionDisabled)])
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
365
|
+
className: classNames([styles$1.container, className, _defineProperty({}, styles$1.withoutTransitions, transitionDisabled)]),
|
|
366
|
+
children: /*#__PURE__*/jsx("button", {
|
|
367
|
+
type: "button",
|
|
368
|
+
className: styles$1.modalButton,
|
|
369
|
+
tabIndex: focusable ? '0' : '-1',
|
|
370
|
+
onClick: function onClick(e) {
|
|
371
|
+
if (_onClick !== null) {
|
|
372
|
+
_onClick(e);
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
children: /*#__PURE__*/jsx(Scroll, {
|
|
376
|
+
disabled: scrollingDisabled,
|
|
377
|
+
verticalAlign: "middle",
|
|
378
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
379
|
+
className: styles$1.modal,
|
|
380
|
+
children: [label !== null ? /*#__PURE__*/jsx(ScreenElement, {
|
|
381
|
+
children: /*#__PURE__*/jsx("h2", {
|
|
382
|
+
className: styles$1.name,
|
|
383
|
+
children: /*#__PURE__*/jsx(FormattedMessage, _objectSpread({}, label))
|
|
384
|
+
})
|
|
385
|
+
}) : null, hasWord ? /*#__PURE__*/jsxs("div", {
|
|
386
|
+
className: styles$1.wordContainer,
|
|
387
|
+
children: [hasSubtitle ? /*#__PURE__*/jsx(Heading, _objectSpread({
|
|
388
|
+
className: styles$1.wordOfTheWeek
|
|
389
|
+
}, subtitle)) : /*#__PURE__*/jsx("h3", {
|
|
390
|
+
className: styles$1.wordOfTheWeek,
|
|
391
|
+
children: /*#__PURE__*/jsx(FormattedMessage, {
|
|
392
|
+
id: "+vzDdb",
|
|
393
|
+
defaultMessage: [{
|
|
394
|
+
"type": 0,
|
|
395
|
+
"value": "Word of the Week"
|
|
396
|
+
}]
|
|
397
|
+
})
|
|
398
|
+
}), /*#__PURE__*/jsx(Text, _objectSpread({
|
|
399
|
+
className: styles$1.word
|
|
400
|
+
}, word))]
|
|
401
|
+
}) : null, description ? /*#__PURE__*/jsx(Text, _objectSpread({
|
|
402
|
+
className: styles$1.description
|
|
403
|
+
}, description)) : null, image ? /*#__PURE__*/jsx("img", {
|
|
404
|
+
className: styles$1.illustration,
|
|
405
|
+
src: image,
|
|
406
|
+
alt: label
|
|
407
|
+
}) : null]
|
|
408
|
+
})
|
|
409
|
+
})
|
|
410
|
+
})
|
|
411
|
+
});
|
|
398
412
|
}
|
|
399
413
|
|
|
400
414
|
var Astrologie = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20906.64%20139.48%22%3E%20%20%20%20%3Cpath%20d%3D%22M35.88%2C4.42h35.5l34.66%2C119.78h-28.43l-5.89-23.72H35.55l-6.22%2C23.72H1.4L35.88%2C4.42Zm31.8%2C75.54l-13.63-52.15h-.34l-14.13%2C52.15h28.09Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M123.37%2C122.51c-6.84-3.36-12.17-8.13-15.98-14.3-3.81-6.17-5.78-13.34-5.89-21.53l26.24-4.21c0%2C7.07%2C1.96%2C12.73%2C5.89%2C16.99%2C3.92%2C4.26%2C8.92%2C6.39%2C14.97%2C6.39%2C4.82%2C0%2C8.72-1.29%2C11.69-3.87%2C2.97-2.58%2C4.46-5.89%2C4.46-9.92%2C0-3.37-1.15-6.2-3.45-8.5-2.3-2.3-6.03-4.34-11.19-6.14l-14.64-4.71c-10.66-3.25-18.37-7.68-23.13-13.29-4.77-5.61-7.15-13.01-7.15-22.21%2C0-10.88%2C3.53-19.63%2C10.6-26.24%2C7.07-6.62%2C16.99-9.93%2C29.78-9.93%2C11.89%2C0%2C21.48%2C3.23%2C28.77%2C9.67%2C7.29%2C6.45%2C11.05%2C15.17%2C11.27%2C26.16l-25.57%2C4.88c.11-5.83-1.24-10.51-4.04-14.05-2.8-3.53-6.45-5.3-10.94-5.3-3.93%2C0-7.12%2C1.21-9.59%2C3.62-2.47%2C2.41-3.7%2C5.47-3.7%2C9.17s1.15%2C6.54%2C3.45%2C8.83c2.3%2C2.3%2C6.08%2C4.23%2C11.36%2C5.8l13.96%2C4.71c10.88%2C3.25%2C18.76%2C7.66%2C23.64%2C13.21s7.32%2C12.93%2C7.32%2C22.12c0%2C7.29-1.74%2C13.79-5.22%2C19.51-3.48%2C5.72-8.52%2C10.18-15.14%2C13.38-6.62%2C3.2-14.58%2C4.79-23.89%2C4.79s-17.05-1.68-23.89-5.05Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M213.03%2C28.64h-28.26V4.42h84.96V28.64h-28.26V124.2h-28.43V28.64Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M335.5%2C122.35c-3.59-3.25-5.95-7.63-7.07-13.12l-5.05-21.37c-.79-2.92-2.19-5.3-4.21-7.15s-4.26-2.78-6.73-2.78h-10.09v46.26h-28.26V4.42h46.1c8.86%2C0%2C16.6%2C1.54%2C23.22%2C4.63%2C6.62%2C3.09%2C11.72%2C7.46%2C15.31%2C13.12%2C3.59%2C5.66%2C5.38%2C12.31%2C5.38%2C19.94%2C0%2C7.18-2.08%2C13.6-6.22%2C19.26-4.15%2C5.67-9.76%2C9.51-16.82%2C11.52v.17c2.8%2C1.24%2C4.96%2C3%2C6.48%2C5.3%2C1.51%2C2.3%2C2.66%2C5.13%2C3.45%2C8.5l3.53%2C15.48c.67%2C3.7%2C2.19%2C5.55%2C4.54%2C5.55%2C2.13%2C0%2C4.15-1.29%2C6.06-3.87l6.73%2C13.63c-2.8%2C2.92-6.2%2C5.24-10.18%2C6.98-3.98%2C1.74-8.05%2C2.61-12.2%2C2.61-5.72%2C0-10.38-1.63-13.96-4.88Zm-16.82-64.26c5.05%2C0%2C9.14-1.46%2C12.28-4.37%2C3.14-2.92%2C4.71-6.78%2C4.71-11.61%2C0-5.16-1.54-9.17-4.63-12.03-3.09-2.86-7.21-4.29-12.37-4.29h-16.32V58.08h16.32Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M396.23%2C119.74c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M489.26%2C4.42h28.26V99.97h37.68v24.23h-65.95V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M580.28%2C119.74c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M693.75%2C119.65c-7.68-5.05-13.6-12.31-17.75-21.79-4.15-9.48-6.22-20.66-6.22-33.56s2.21-24.25%2C6.65-33.73c4.43-9.48%2C10.77-16.77%2C19.01-21.87%2C8.24-5.1%2C17.97-7.65%2C29.19-7.65s21.53%2C3.28%2C29.95%2C9.84c8.41%2C6.56%2C14.19%2C15.56%2C17.33%2C27l-26.58%2C5.72c-1.8-5.72-4.54-10.2-8.24-13.46-3.7-3.25-7.96-4.88-12.79-4.88-8.08%2C0-14.44%2C3.42-19.09%2C10.26-4.66%2C6.84-6.98%2C16.21-6.98%2C28.09s2.63%2C21.84%2C7.91%2C28.85c5.27%2C7.01%2C12.5%2C10.51%2C21.7%2C10.51%2C8.19%2C0%2C14.66-2.49%2C19.43-7.49%2C4.77-4.99%2C7.26-11.92%2C7.49-20.78h-37.18v-18.51h64.26V124.2h-20.86l-1.68-18.67h-.17c-3.93%2C6.73-9.31%2C12.03-16.15%2C15.9-6.84%2C3.87-14.19%2C5.8-22.04%2C5.8-10.43%2C0-19.49-2.52-27.17-7.57Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M789.56%2C4.42h28.26V124.2h-28.26V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M827.74%2C4.42h68.81V27.13h-41.55v25.57h34.82v20.19h-34.82v28.6h43.24v22.71h-70.49V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M43.24%2C15.29h35.5l34.66%2C119.78h-28.43l-5.89-23.72H42.91l-6.22%2C23.72H8.76L43.24%2C15.29Zm31.8%2C75.54l-13.63-52.15h-.34l-14.13%2C52.15h28.09Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M130.73%2C133.38c-6.84-3.36-12.17-8.13-15.98-14.3-3.81-6.17-5.78-13.34-5.89-21.53l26.24-4.21c0%2C7.07%2C1.96%2C12.73%2C5.89%2C16.99%2C3.92%2C4.26%2C8.92%2C6.39%2C14.97%2C6.39%2C4.82%2C0%2C8.72-1.29%2C11.69-3.87%2C2.97-2.58%2C4.46-5.89%2C4.46-9.92%2C0-3.37-1.15-6.2-3.45-8.5-2.3-2.3-6.03-4.34-11.19-6.14l-14.64-4.71c-10.66-3.25-18.37-7.68-23.13-13.29-4.77-5.61-7.15-13.01-7.15-22.21%2C0-10.88%2C3.53-19.63%2C10.6-26.24%2C7.07-6.62%2C16.99-9.93%2C29.78-9.93%2C11.89%2C0%2C21.48%2C3.23%2C28.77%2C9.67%2C7.29%2C6.45%2C11.05%2C15.17%2C11.27%2C26.16l-25.57%2C4.88c.11-5.83-1.24-10.51-4.04-14.05-2.8-3.53-6.45-5.3-10.94-5.3-3.93%2C0-7.12%2C1.21-9.59%2C3.62-2.47%2C2.41-3.7%2C5.47-3.7%2C9.17s1.15%2C6.54%2C3.45%2C8.83c2.3%2C2.3%2C6.08%2C4.23%2C11.36%2C5.8l13.96%2C4.71c10.88%2C3.25%2C18.76%2C7.66%2C23.64%2C13.21s7.32%2C12.93%2C7.32%2C22.12c0%2C7.29-1.74%2C13.79-5.22%2C19.51-3.48%2C5.72-8.52%2C10.18-15.14%2C13.38-6.62%2C3.2-14.58%2C4.79-23.89%2C4.79s-17.05-1.68-23.89-5.05Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M220.39%2C39.51h-28.26V15.29h84.96v24.23h-28.26v95.56h-28.43V39.51Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M342.86%2C133.22c-3.59-3.25-5.95-7.63-7.07-13.12l-5.05-21.37c-.79-2.92-2.19-5.3-4.21-7.15s-4.26-2.78-6.73-2.78h-10.09v46.26h-28.26V15.29h46.1c8.86%2C0%2C16.6%2C1.54%2C23.22%2C4.63%2C6.62%2C3.09%2C11.72%2C7.46%2C15.31%2C13.12%2C3.59%2C5.66%2C5.38%2C12.31%2C5.38%2C19.94%2C0%2C7.18-2.08%2C13.6-6.22%2C19.26-4.15%2C5.67-9.76%2C9.51-16.82%2C11.52v.17c2.8%2C1.24%2C4.96%2C3%2C6.48%2C5.3%2C1.51%2C2.3%2C2.66%2C5.13%2C3.45%2C8.5l3.53%2C15.48c.67%2C3.7%2C2.19%2C5.55%2C4.54%2C5.55%2C2.13%2C0%2C4.15-1.29%2C6.06-3.87l6.73%2C13.63c-2.8%2C2.92-6.2%2C5.24-10.18%2C6.98-3.98%2C1.74-8.05%2C2.61-12.2%2C2.61-5.72%2C0-10.38-1.63-13.96-4.88Zm-16.82-64.26c5.05%2C0%2C9.14-1.46%2C12.28-4.37%2C3.14-2.92%2C4.71-6.78%2C4.71-11.61%2C0-5.16-1.54-9.17-4.63-12.03-3.09-2.86-7.21-4.29-12.37-4.29h-16.32v32.3h16.32Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M403.59%2C130.61c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M496.62%2C15.29h28.26V110.84h37.68v24.23h-65.95V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M587.64%2C130.61c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M701.11%2C130.53c-7.68-5.05-13.6-12.31-17.75-21.79-4.15-9.48-6.22-20.66-6.22-33.56s2.21-24.25%2C6.65-33.73c4.43-9.48%2C10.77-16.77%2C19.01-21.87%2C8.24-5.1%2C17.97-7.65%2C29.19-7.65s21.53%2C3.28%2C29.95%2C9.84c8.41%2C6.56%2C14.19%2C15.56%2C17.33%2C27l-26.58%2C5.72c-1.8-5.72-4.54-10.2-8.24-13.46-3.7-3.25-7.96-4.88-12.79-4.88-8.08%2C0-14.44%2C3.42-19.09%2C10.26-4.66%2C6.84-6.98%2C16.21-6.98%2C28.09s2.63%2C21.84%2C7.91%2C28.85c5.27%2C7.01%2C12.5%2C10.51%2C21.7%2C10.51%2C8.19%2C0%2C14.66-2.49%2C19.43-7.49%2C4.77-4.99%2C7.26-11.92%2C7.49-20.78h-37.18v-18.51h64.26v67.97h-20.86l-1.68-18.67h-.17c-3.93%2C6.73-9.31%2C12.03-16.15%2C15.9-6.84%2C3.87-14.19%2C5.8-22.04%2C5.8-10.43%2C0-19.49-2.52-27.17-7.57Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M796.92%2C15.29h28.26v119.78h-28.26V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M835.1%2C15.29h68.81v22.71h-41.55v25.57h34.82v20.19h-34.82v28.6h43.24v22.71h-70.49V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%3C%2Fsvg%3E";
|
|
@@ -712,179 +726,197 @@ function UrbaniaHoroscope(_ref) {
|
|
|
712
726
|
document.removeEventListener('keyup', keyup);
|
|
713
727
|
};
|
|
714
728
|
}, [showModal, onCloseModal, showSignsGrid, onCloseSignsGrid]);
|
|
715
|
-
return /*#__PURE__*/
|
|
729
|
+
return /*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({
|
|
716
730
|
className: classNames([styles.container, className, _defineProperty({}, styles.isPlaceholder, isPlaceholder)]),
|
|
717
731
|
"data-screen-ready": true
|
|
718
|
-
}, showSignsGrid ? stopDragEventsPropagation : null),
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
732
|
+
}, showSignsGrid ? stopDragEventsPropagation : null), {}, {
|
|
733
|
+
children: [!isView ? /*#__PURE__*/jsx("div", _objectSpread({}, mouseBlocker)) : null, /*#__PURE__*/jsx(Container, {
|
|
734
|
+
width: width,
|
|
735
|
+
height: height,
|
|
736
|
+
className: styles.content,
|
|
737
|
+
children: /*#__PURE__*/jsxs(Layout, {
|
|
738
|
+
className: styles.layout,
|
|
739
|
+
style: !isPlaceholder ? {
|
|
740
|
+
padding: spacing,
|
|
741
|
+
paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
|
|
742
|
+
paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
|
|
743
|
+
} : null,
|
|
744
|
+
height: height * 0.8,
|
|
745
|
+
children: [isPlaceholder ? /*#__PURE__*/jsx("div", {
|
|
746
|
+
className: styles.placeholderGrid,
|
|
747
|
+
children: _toConsumableArray(Array(12).keys()).map(function () {
|
|
748
|
+
return /*#__PURE__*/jsx("div", {
|
|
749
|
+
className: styles.placeholderItem
|
|
750
|
+
});
|
|
751
|
+
})
|
|
752
|
+
}) : null, /*#__PURE__*/jsxs(animated.div, {
|
|
753
|
+
className: styles.headerContainer,
|
|
754
|
+
style: getHeaderStyles(showSignsGridProgress),
|
|
755
|
+
children: [/*#__PURE__*/jsx(ScreenElement, {
|
|
756
|
+
emptyClassName: styles.emptyText,
|
|
757
|
+
children: hasTitle ? /*#__PURE__*/jsx(Heading, _objectSpread({
|
|
758
|
+
className: styles.title
|
|
759
|
+
}, title)) : /*#__PURE__*/jsx("img", {
|
|
760
|
+
src: Astrologie,
|
|
761
|
+
alt: "",
|
|
762
|
+
className: styles.titleImage
|
|
763
|
+
})
|
|
764
|
+
}), /*#__PURE__*/jsx(ScreenElement, {
|
|
765
|
+
emptyLabel: /*#__PURE__*/jsx(FormattedMessage, {
|
|
766
|
+
id: "EQdIAR",
|
|
767
|
+
defaultMessage: [{
|
|
768
|
+
"type": 0,
|
|
769
|
+
"value": "Description"
|
|
770
|
+
}]
|
|
771
|
+
}),
|
|
772
|
+
emptyClassName: styles.emptyText,
|
|
773
|
+
isEmpty: !hasDescription,
|
|
774
|
+
children: hasDescription ? /*#__PURE__*/jsx(Text, _objectSpread({
|
|
775
|
+
className: styles.description
|
|
776
|
+
}, description)) : null
|
|
777
|
+
}, "description")]
|
|
778
|
+
}), /*#__PURE__*/jsx(ScreenElement, {
|
|
779
|
+
emptyLabel: /*#__PURE__*/jsx(FormattedMessage, {
|
|
780
|
+
id: "bv3rRe",
|
|
781
|
+
defaultMessage: [{
|
|
782
|
+
"type": 0,
|
|
783
|
+
"value": "Button"
|
|
784
|
+
}]
|
|
785
|
+
}),
|
|
786
|
+
emptyClassName: styles.emptyText,
|
|
787
|
+
isEmpty: !hasButton,
|
|
788
|
+
children: hasButton ? /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
|
|
789
|
+
className: styles.button,
|
|
790
|
+
type: "button",
|
|
791
|
+
onClick: onOpenSignsGrid,
|
|
792
|
+
withoutBootstrapStyles: true,
|
|
793
|
+
focusable: current && !isPreview && !isPlaceholder
|
|
794
|
+
}, button), {}, {
|
|
795
|
+
children: /*#__PURE__*/jsx(Text, _objectSpread(_objectSpread({
|
|
796
|
+
className: styles.buttonLabel
|
|
797
|
+
}, button), {}, {
|
|
798
|
+
inline: true
|
|
799
|
+
}))
|
|
800
|
+
})) : null
|
|
801
|
+
}), isView && !isPlaceholder ? /*#__PURE__*/jsx(animated.div, {
|
|
802
|
+
className: styles.header,
|
|
803
|
+
style: {
|
|
804
|
+
opacity: showSignsGridProgress,
|
|
805
|
+
pointerEvents: showSignsGridProgress.to(function (p) {
|
|
806
|
+
return p < 0.25 ? 'none' : 'auto';
|
|
807
|
+
})
|
|
808
|
+
},
|
|
809
|
+
children: /*#__PURE__*/jsx("div", {
|
|
810
|
+
className: styles.buttons,
|
|
811
|
+
children: /*#__PURE__*/jsx(Button, {
|
|
812
|
+
className: styles.close,
|
|
813
|
+
onClick: onCloseSignsGrid,
|
|
814
|
+
label: intl.formatMessage({
|
|
815
|
+
id: "dj/p/q",
|
|
816
|
+
defaultMessage: [{
|
|
817
|
+
"type": 0,
|
|
818
|
+
"value": "Close"
|
|
819
|
+
}]
|
|
820
|
+
}),
|
|
821
|
+
iconPosition: "right",
|
|
822
|
+
icon: /*#__PURE__*/jsx("svg", {
|
|
823
|
+
className: styles.closeIcon,
|
|
824
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
825
|
+
width: "10",
|
|
826
|
+
height: "16",
|
|
827
|
+
viewBox: "0 0 10 16",
|
|
828
|
+
fill: "currentColor",
|
|
829
|
+
children: /*#__PURE__*/jsx("polygon", {
|
|
830
|
+
points: "9.95 4.11 8.89 3.05 5 6.94 1.11 3.05 0.05 4.11 3.94 8 0.05 11.89 1.11 12.95 5 9.06 8.89 12.95 9.95 11.89 6.06 8 9.95 4.11"
|
|
831
|
+
})
|
|
832
|
+
}),
|
|
833
|
+
focusable: !isPreview && !isPlaceholder && (showSignsGrid || showModal),
|
|
834
|
+
withoutStyle: true
|
|
835
|
+
})
|
|
836
|
+
})
|
|
837
|
+
}) : null, !isPlaceholder ? /*#__PURE__*/jsxs(animated.div, _objectSpread(_objectSpread({
|
|
838
|
+
className: styles.signsGridContainer,
|
|
839
|
+
style: getSignsContainerStyles(showSignsGridProgress)
|
|
840
|
+
}, bindSignsDrag()), {}, {
|
|
841
|
+
children: [/*#__PURE__*/jsx(Keypad, {
|
|
842
|
+
columns: 3,
|
|
843
|
+
spacing: 5,
|
|
844
|
+
withoutCloseButton: true,
|
|
845
|
+
items: signs$1.map(function (sign) {
|
|
846
|
+
var _ref8 = sign || {},
|
|
847
|
+
_ref8$id = _ref8.id,
|
|
848
|
+
id = _ref8$id === void 0 ? null : _ref8$id;
|
|
849
|
+
return /*#__PURE__*/jsx(animated.div, {
|
|
850
|
+
className: styles.sign,
|
|
851
|
+
style: getSignStyles(showSignsGridProgress),
|
|
852
|
+
children: /*#__PURE__*/jsx(SignCard, {
|
|
853
|
+
sign: sign,
|
|
854
|
+
focusable: !isPreview && !isPlaceholder && showSignsGrid && !showModal,
|
|
855
|
+
onClick: function onClick(e) {
|
|
856
|
+
return onSelectSign(e, id);
|
|
857
|
+
}
|
|
858
|
+
}, id)
|
|
859
|
+
}, id);
|
|
860
|
+
})
|
|
861
|
+
}), /*#__PURE__*/jsx(ScreenElement, {
|
|
862
|
+
emptyLabel: /*#__PURE__*/jsx(FormattedMessage, {
|
|
863
|
+
id: "xYqGzM",
|
|
864
|
+
defaultMessage: [{
|
|
865
|
+
"type": 0,
|
|
866
|
+
"value": "Author"
|
|
867
|
+
}]
|
|
868
|
+
}),
|
|
869
|
+
emptyClassName: styles.emptyText,
|
|
870
|
+
isEmpty: !hasAuthor,
|
|
871
|
+
children: hasAuthor && !isPlaceholder ? /*#__PURE__*/jsx(Author, {
|
|
872
|
+
author: author,
|
|
873
|
+
className: styles.author,
|
|
874
|
+
collaboratorClassName: styles.collaborator,
|
|
875
|
+
backgroundClassName: styles.authorBackground,
|
|
876
|
+
shouldLoad: mediaShouldLoad,
|
|
877
|
+
style: getAuthorStyles(showSignsGridProgress)
|
|
878
|
+
}) : null
|
|
879
|
+
}, "author")]
|
|
880
|
+
})) : null, /*#__PURE__*/jsx(animated.div, _objectSpread(_objectSpread({
|
|
881
|
+
className: styles.modal,
|
|
882
|
+
style: getModalStyles(showModalProgress)
|
|
883
|
+
}, bindModalDrag()), {}, {
|
|
884
|
+
children: /*#__PURE__*/jsx(SignModal, {
|
|
885
|
+
width: width,
|
|
886
|
+
height: height,
|
|
887
|
+
sign: signs$1[selectedSign],
|
|
888
|
+
subtitle: signSubtitle,
|
|
889
|
+
focusable: !isPreview && !isPlaceholder && showModal,
|
|
890
|
+
onClick: onCloseModal
|
|
891
|
+
})
|
|
892
|
+
})), !isPlaceholder ? /*#__PURE__*/jsx(animated.div, {
|
|
893
|
+
className: styles.backdrop,
|
|
894
|
+
style: getBackdropStyles(showSignsGridProgress),
|
|
895
|
+
children: popupBackgroundUrl !== null ? /*#__PURE__*/jsx("video", {
|
|
896
|
+
className: styles.videoBackdrop,
|
|
897
|
+
autoPlay: true,
|
|
898
|
+
muted: true,
|
|
899
|
+
loop: true,
|
|
900
|
+
playsInline: true,
|
|
901
|
+
children: /*#__PURE__*/jsx("source", {
|
|
902
|
+
src: popupBackgroundUrl,
|
|
903
|
+
type: "video/mp4"
|
|
904
|
+
})
|
|
905
|
+
}) : null
|
|
906
|
+
}) : null]
|
|
786
907
|
})
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}),
|
|
800
|
-
iconPosition: "right",
|
|
801
|
-
icon: /*#__PURE__*/React.createElement("svg", {
|
|
802
|
-
className: styles.closeIcon,
|
|
803
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
804
|
-
width: "10",
|
|
805
|
-
height: "16",
|
|
806
|
-
viewBox: "0 0 10 16",
|
|
807
|
-
fill: "currentColor"
|
|
808
|
-
}, /*#__PURE__*/React.createElement("polygon", {
|
|
809
|
-
points: "9.95 4.11 8.89 3.05 5 6.94 1.11 3.05 0.05 4.11 3.94 8 0.05 11.89 1.11 12.95 5 9.06 8.89 12.95 9.95 11.89 6.06 8 9.95 4.11"
|
|
810
|
-
})),
|
|
811
|
-
focusable: !isPreview && !isPlaceholder && (showSignsGrid || showModal),
|
|
812
|
-
withoutStyle: true
|
|
813
|
-
}))) : null, !isPlaceholder ? /*#__PURE__*/React.createElement(animated.div, Object.assign({
|
|
814
|
-
className: styles.signsGridContainer,
|
|
815
|
-
style: getSignsContainerStyles(showSignsGridProgress)
|
|
816
|
-
}, bindSignsDrag()), /*#__PURE__*/React.createElement(Keypad, {
|
|
817
|
-
columns: 3,
|
|
818
|
-
spacing: 5,
|
|
819
|
-
withoutCloseButton: true,
|
|
820
|
-
items: signs$1.map(function (sign) {
|
|
821
|
-
var _ref8 = sign || {},
|
|
822
|
-
_ref8$id = _ref8.id,
|
|
823
|
-
id = _ref8$id === void 0 ? null : _ref8$id;
|
|
824
|
-
return /*#__PURE__*/React.createElement(animated.div, {
|
|
825
|
-
key: id,
|
|
826
|
-
className: styles.sign,
|
|
827
|
-
style: getSignStyles(showSignsGridProgress)
|
|
828
|
-
}, /*#__PURE__*/React.createElement(SignCard, {
|
|
829
|
-
key: id,
|
|
830
|
-
sign: sign,
|
|
831
|
-
focusable: !isPreview && !isPlaceholder && showSignsGrid && !showModal,
|
|
832
|
-
onClick: function onClick(e) {
|
|
833
|
-
return onSelectSign(e, id);
|
|
834
|
-
}
|
|
835
|
-
}));
|
|
836
|
-
})
|
|
837
|
-
}), /*#__PURE__*/React.createElement(ScreenElement, {
|
|
838
|
-
key: "author",
|
|
839
|
-
emptyLabel: /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
840
|
-
id: "xYqGzM",
|
|
841
|
-
defaultMessage: [{
|
|
842
|
-
"type": 0,
|
|
843
|
-
"value": "Author"
|
|
844
|
-
}]
|
|
845
|
-
}),
|
|
846
|
-
emptyClassName: styles.emptyText,
|
|
847
|
-
isEmpty: !hasAuthor
|
|
848
|
-
}, hasAuthor && !isPlaceholder ? /*#__PURE__*/React.createElement(Author, {
|
|
849
|
-
author: author,
|
|
850
|
-
className: styles.author,
|
|
851
|
-
collaboratorClassName: styles.collaborator,
|
|
852
|
-
backgroundClassName: styles.authorBackground,
|
|
853
|
-
shouldLoad: mediaShouldLoad,
|
|
854
|
-
style: getAuthorStyles(showSignsGridProgress)
|
|
855
|
-
}) : null)) : null, /*#__PURE__*/React.createElement(animated.div, Object.assign({
|
|
856
|
-
className: styles.modal,
|
|
857
|
-
style: getModalStyles(showModalProgress)
|
|
858
|
-
}, bindModalDrag()), /*#__PURE__*/React.createElement(SignModal, {
|
|
859
|
-
width: width,
|
|
860
|
-
height: height,
|
|
861
|
-
sign: signs$1[selectedSign],
|
|
862
|
-
subtitle: signSubtitle,
|
|
863
|
-
focusable: !isPreview && !isPlaceholder && showModal,
|
|
864
|
-
onClick: onCloseModal
|
|
865
|
-
})), !isPlaceholder ? /*#__PURE__*/React.createElement(animated.div, {
|
|
866
|
-
className: styles.backdrop,
|
|
867
|
-
style: getBackdropStyles(showSignsGridProgress)
|
|
868
|
-
}, popupBackgroundUrl !== null ? /*#__PURE__*/React.createElement("video", {
|
|
869
|
-
className: styles.videoBackdrop,
|
|
870
|
-
autoPlay: true,
|
|
871
|
-
muted: true,
|
|
872
|
-
loop: true,
|
|
873
|
-
playsInline: true
|
|
874
|
-
}, /*#__PURE__*/React.createElement("source", {
|
|
875
|
-
src: popupBackgroundUrl,
|
|
876
|
-
type: "video/mp4"
|
|
877
|
-
})) : null) : null)), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
|
|
878
|
-
background: background,
|
|
879
|
-
width: width,
|
|
880
|
-
height: height,
|
|
881
|
-
resolution: resolution,
|
|
882
|
-
playing: backgroundPlaying,
|
|
883
|
-
muted: muted,
|
|
884
|
-
shouldLoad: mediaShouldLoad,
|
|
885
|
-
mediaRef: mediaRef,
|
|
886
|
-
className: styles.background
|
|
887
|
-
}) : null);
|
|
908
|
+
}), !isPlaceholder ? /*#__PURE__*/jsx(Background, {
|
|
909
|
+
background: background,
|
|
910
|
+
width: width,
|
|
911
|
+
height: height,
|
|
912
|
+
resolution: resolution,
|
|
913
|
+
playing: backgroundPlaying,
|
|
914
|
+
muted: muted,
|
|
915
|
+
shouldLoad: mediaShouldLoad,
|
|
916
|
+
mediaRef: mediaRef,
|
|
917
|
+
className: styles.background
|
|
918
|
+
}) : null]
|
|
919
|
+
}));
|
|
888
920
|
}
|
|
889
921
|
|
|
890
922
|
var definition = [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-urbania-horoscope",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.51",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -63,19 +63,19 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@babel/runtime": "^7.28.6",
|
|
66
|
-
"@micromag/core": "^0.4.
|
|
67
|
-
"@micromag/element-background": "^0.4.
|
|
68
|
-
"@micromag/element-button": "^0.4.
|
|
69
|
-
"@micromag/element-call-to-action": "^0.4.
|
|
70
|
-
"@micromag/element-container": "^0.4.
|
|
71
|
-
"@micromag/element-grid": "^0.4.
|
|
72
|
-
"@micromag/element-heading": "^0.4.
|
|
73
|
-
"@micromag/element-keypad": "^0.4.
|
|
74
|
-
"@micromag/element-layout": "^0.4.
|
|
75
|
-
"@micromag/element-scroll": "^0.4.
|
|
76
|
-
"@micromag/element-text": "^0.4.
|
|
77
|
-
"@micromag/element-urbania-author": "^0.4.
|
|
78
|
-
"@micromag/transforms": "^0.4.
|
|
66
|
+
"@micromag/core": "^0.4.51",
|
|
67
|
+
"@micromag/element-background": "^0.4.51",
|
|
68
|
+
"@micromag/element-button": "^0.4.51",
|
|
69
|
+
"@micromag/element-call-to-action": "^0.4.51",
|
|
70
|
+
"@micromag/element-container": "^0.4.51",
|
|
71
|
+
"@micromag/element-grid": "^0.4.51",
|
|
72
|
+
"@micromag/element-heading": "^0.4.51",
|
|
73
|
+
"@micromag/element-keypad": "^0.4.51",
|
|
74
|
+
"@micromag/element-layout": "^0.4.51",
|
|
75
|
+
"@micromag/element-scroll": "^0.4.51",
|
|
76
|
+
"@micromag/element-text": "^0.4.51",
|
|
77
|
+
"@micromag/element-urbania-author": "^0.4.51",
|
|
78
|
+
"@micromag/transforms": "^0.4.51",
|
|
79
79
|
"@react-spring/core": "^10.0.3",
|
|
80
80
|
"@react-spring/web": "^10.0.3",
|
|
81
81
|
"@use-gesture/react": "^10.3.0",
|
|
@@ -89,6 +89,6 @@
|
|
|
89
89
|
"access": "public",
|
|
90
90
|
"registry": "https://registry.npmjs.org/"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "985a2370829c9ac8901ea97bf20bfc98ab158439",
|
|
93
93
|
"types": "es/index.d.ts"
|
|
94
94
|
}
|