fslightbox 3.4.0 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/index.js +1 -1
  2. package/package.json +4 -4
  3. package/c/elements/setUpClassFacade.js +0 -9
  4. package/c/events/setUpEventsDispatcher.js +0 -7
  5. package/c/events/setUpGlobalEventsController.js +0 -39
  6. package/c/keyboard/KeyboardController.js +0 -26
  7. package/c/main-component/closing/LightboxCloseActioner.js +0 -46
  8. package/c/main-component/closing/setUpLightboxCloser.js +0 -11
  9. package/c/scrollbar/gsw.js +0 -1
  10. package/c/scrollbar/setUpScrollbarRecompensor.js +0 -20
  11. package/c/setUpCore.js +0 -30
  12. package/c/sfs.js +0 -1
  13. package/c/sizes/setUpWindowResizeActioner.js +0 -38
  14. package/c/slide/setUpSlideChangeFacade.js +0 -23
  15. package/c/slide/setUpSlideIndexChanger.js +0 -89
  16. package/c/so.js +0 -1
  17. package/c/sources/SourceLoadActioner.js +0 -32
  18. package/c/sources/SourceLoadHandler.js +0 -41
  19. package/c/sources/SourceSizer.js +0 -36
  20. package/c/sources/creating/CreatingSourcesBucket.js +0 -29
  21. package/c/sources/creating/CreatingSourcesLocalStorageManager.js +0 -55
  22. package/c/sources/creating/createSources.js +0 -28
  23. package/c/sources/pointering/down/setUpSourcesPointerDown.js +0 -38
  24. package/c/sources/pointering/move/SourcesPointerMove.js +0 -16
  25. package/c/sources/pointering/move/SourcesPointerMoveActioner.js +0 -34
  26. package/c/sources/pointering/up/SourcesPointerUp.js +0 -13
  27. package/c/sources/pointering/up/SourcesPointerUpActioner.js +0 -38
  28. package/c/sources/pointering/up/SourcesPointerUpActionerBucket.js +0 -1
  29. package/c/sources/setUpSourceDisplayFacade.js +0 -26
  30. package/c/sources/types/AutomaticTypeDetector.js +0 -70
  31. package/c/sources/types/DetectedTypeActioner.js +0 -44
  32. package/c/sources/types/getAutomaticTypeDetectorBucket.js +0 -14
  33. package/c/stage/setUpStageManager.js +0 -57
  34. package/c/stage/ssws.js +0 -2
  35. package/c/styles/createAndAppendStyles.js +0 -9
  36. package/c/styles/injectStylesIfNotInDom.js +0 -8
  37. package/c/styles/styles-injection/styles-injection.js +0 -5
  38. package/c/timeouts/getQueuedAction.js +0 -15
  39. package/cm/h/renderSvg.js +0 -17
  40. package/cm/nav/renderAndGetToolbarButton.js +0 -11
  41. package/cm/nav/renderCloseButton.js +0 -10
  42. package/cm/nav/renderFullscreenButton.js +0 -43
  43. package/cm/nav/renderNav.js +0 -17
  44. package/cm/nav/renderSlideNumber.js +0 -29
  45. package/cm/nav/renderToolbar.js +0 -13
  46. package/cm/renderSlideButton.js +0 -11
  47. package/cm/renderSlideButtonContainer.js +0 -15
  48. package/cm/renderSlideButtons.js +0 -7
  49. package/cm/renderSlideSwipingHoverer.js +0 -6
  50. package/cm/sources/proper-sources/renderCustom.js +0 -15
  51. package/cm/sources/proper-sources/renderImage.js +0 -18
  52. package/cm/sources/proper-sources/renderInvalid.js +0 -18
  53. package/cm/sources/proper-sources/renderVideo.js +0 -31
  54. package/cm/sources/proper-sources/renderYoutube.js +0 -26
  55. package/cm/sources/renderSourceWrappersContainer.js +0 -18
  56. package/cm/sources/saw.js +0 -1
  57. package/cm/sources/smw.js +0 -1
  58. package/cn/classes-names.js +0 -27
  59. package/cn/core-constants.js +0 -6
  60. package/cn/css-constants.js +0 -1
  61. package/cn/dom-constants.js +0 -1
  62. package/cn/elements.js +0 -3
  63. package/cn/local-storage-constants.js +0 -2
  64. package/h/elements/addToElementClassIfNotContains.js +0 -6
  65. package/h/elements/removeFromElementChildIfContains.js +0 -5
  66. package/h/elements/removeFromElementClassIfContains.js +0 -6
  67. package/h/objects/assignToObject.js +0 -10
  68. package/h/source/setUpSourceClassName.js +0 -13
  69. package/h/source/setUpSourceCustomAttributes.js +0 -5
  70. package/h/state/ifOnUpdateExistsHandleItForState.js +0 -6
  71. package/s.js +0 -1
@@ -1,17 +0,0 @@
1
- import { renderToolbar } from "./renderToolbar";
2
- import { renderSlideNumber } from "./renderSlideNumber";
3
- import { PREFIX } from "../../cn/classes-names";
4
-
5
- export function renderNav(fsLightbox) {
6
- const { props: { sources }, elements: { container } } = fsLightbox;
7
-
8
- const nav = document.createElement('div');
9
- nav.className = `${PREFIX}nav`;
10
- container.appendChild(nav);
11
-
12
- renderToolbar(fsLightbox, nav);
13
-
14
- if (sources.length > 1) {
15
- renderSlideNumber(fsLightbox, nav);
16
- }
17
- }
@@ -1,29 +0,0 @@
1
- import { FLEX_CENTERED_CLASS_NAME, PREFIX } from "../../cn/classes-names";
2
-
3
- export function renderSlideNumber({ componentsServices, props: { sources }, stageIndexes }, parent) {
4
- const slideNumberOuter = document.createElement('div');
5
- slideNumberOuter.className = `${PREFIX}slide-number-container`;
6
-
7
- const slideNumberInner = document.createElement('div');
8
- slideNumberInner.className = FLEX_CENTERED_CLASS_NAME;
9
-
10
- const currentNumber = document.createElement('span');
11
- componentsServices.setSlideNumber = (number) => currentNumber.innerHTML = number;
12
- const slash = document.createElement('span');
13
- slash.className = `${PREFIX}slash`;
14
-
15
- const totalNumber = document.createElement('div');
16
- totalNumber.innerHTML = sources.length;
17
-
18
- slideNumberOuter.appendChild(slideNumberInner);
19
- slideNumberInner.appendChild(currentNumber);
20
- slideNumberInner.appendChild(slash);
21
- slideNumberInner.appendChild(totalNumber);
22
- parent.appendChild(slideNumberOuter);
23
-
24
- setTimeout(() => {
25
- if (slideNumberInner.offsetWidth > 55) {
26
- slideNumberOuter.style.justifyContent = 'flex-start';
27
- }
28
- });
29
- }
@@ -1,13 +0,0 @@
1
- import { PREFIX } from "../../cn/classes-names";
2
- import { renderFullscreenButton } from "./renderFullscreenButton";
3
- import { renderCloseButton } from "./renderCloseButton";
4
-
5
- export function renderToolbar(fsLightbox, parent) {
6
- const toolbar = document.createElement('div');
7
- toolbar.className = `${PREFIX}toolbar`;
8
-
9
- parent.appendChild(toolbar);
10
-
11
- renderFullscreenButton(fsLightbox, toolbar);
12
- renderCloseButton(fsLightbox, toolbar);
13
- }
@@ -1,11 +0,0 @@
1
- import { FLEX_CENTERED_CLASS_NAME, SLIDE_BTN } from "../cn/classes-names";
2
- import { renderAndGetSvg } from "./h/renderSvg";
3
-
4
- export function renderSlideButton(parent, d) {
5
- const button = document.createElement('div');
6
- button.className = `${SLIDE_BTN} ${FLEX_CENTERED_CLASS_NAME}`;
7
-
8
- renderAndGetSvg(button, '20px', '0 0 20 20', d);
9
-
10
- parent.appendChild(button);
11
- }
@@ -1,15 +0,0 @@
1
- import { SLIDE_BTN_CONTAINER } from "../cn/classes-names";
2
- import { renderSlideButton } from "./renderSlideButton";
3
-
4
- export function renderSlideButtonContainer({ elements: { container } }, onClick, name, d) {
5
- const titleName = name.charAt(0).toUpperCase() + name.slice(1);
6
-
7
- const slideBtnContainer = document.createElement('div');
8
- slideBtnContainer.className = `${ SLIDE_BTN_CONTAINER } ${ SLIDE_BTN_CONTAINER }-${ name }`;
9
- slideBtnContainer.title = `${ titleName } slide`;
10
- slideBtnContainer.onclick = onClick;
11
-
12
- renderSlideButton(slideBtnContainer, d);
13
-
14
- container.appendChild(slideBtnContainer);
15
- }
@@ -1,7 +0,0 @@
1
- import { renderSlideButtonContainer } from "./renderSlideButtonContainer";
2
-
3
- export function renderSlideButtons(fsLightbox) {
4
- const { core: { slideChangeFacade } } = fsLightbox;
5
- renderSlideButtonContainer(fsLightbox, slideChangeFacade.changeToPrevious, 'previous', 'M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z');
6
- renderSlideButtonContainer(fsLightbox, slideChangeFacade.changeToNext, 'next', 'M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z');
7
- }
@@ -1,6 +0,0 @@
1
- import { ABSOLUTED_CLASS_NAME, FULL_DIMENSION_CLASS_NAME, PREFIX } from "../cn/classes-names";
2
-
3
- export function renderSlideSwipingHoverer({ elements }) {
4
- elements.slideSwipingHoverer = document.createElement('div');
5
- elements.slideSwipingHoverer.className = `${PREFIX}slide-swiping-hoverer ${FULL_DIMENSION_CLASS_NAME} ${ABSOLUTED_CLASS_NAME}`;
6
- }
@@ -1,15 +0,0 @@
1
- import { SOURCE_CLASS_NAME } from "../../../cn/classes-names";
2
- import { setUpSourceClassName } from "../../../h/source/setUpSourceClassName";
3
-
4
- export function renderCustom(fsLightbox, i) {
5
- const {
6
- collections: { sourceLoadHandlers },
7
- elements: { sources: sourcesElements, sourceAnimationWrappers },
8
- props: { sources }
9
- } = fsLightbox;
10
-
11
- sourcesElements[i] = sources[i];
12
- setUpSourceClassName(fsLightbox, i, `${sourcesElements[i].className} ${SOURCE_CLASS_NAME}`);
13
- sourceAnimationWrappers[i].appendChild(sourcesElements[i]);
14
- sourceLoadHandlers[i].handleCustomLoad();
15
- }
@@ -1,18 +0,0 @@
1
- import { SOURCE_CLASS_NAME } from "../../../cn/classes-names";
2
- import { setUpSourceClassName } from "../../../h/source/setUpSourceClassName";
3
- import { setUpSourceCustomAttributes } from "../../../h/source/setUpSourceCustomAttributes";
4
-
5
- export function renderImage(fsLightbox, i) {
6
- const {
7
- collections: { sourceLoadHandlers },
8
- elements: { sources: sourcesElements, sourceAnimationWrappers },
9
- props: { sources }
10
- } = fsLightbox;
11
-
12
- sourcesElements[i] = document.createElement('img');
13
- setUpSourceClassName(fsLightbox, i, SOURCE_CLASS_NAME);
14
- sourcesElements[i].src = sources[i];
15
- sourcesElements[i].onload = sourceLoadHandlers[i].handleImageLoad;
16
- setUpSourceCustomAttributes(fsLightbox, i);
17
- sourceAnimationWrappers[i].appendChild(sourcesElements[i]);
18
- }
@@ -1,18 +0,0 @@
1
- import { FADE_IN_STRONG_CLASS_NAME, FLEX_CENTERED_CLASS_NAME, PREFIX } from "../../../cn/classes-names";
2
-
3
- export function renderInvalid(
4
- {
5
- elements: { sources: sourcesElements, sourceAnimationWrappers },
6
- props: { sources }
7
- }, i
8
- ) {
9
- sourcesElements[i] = document.createElement('div');
10
- sourcesElements[i].className = `${PREFIX}invalid-file-wrapper ${FLEX_CENTERED_CLASS_NAME}`;
11
- sourcesElements[i].innerHTML = 'Invalid source';
12
-
13
- sourceAnimationWrappers[i].classList.add(FADE_IN_STRONG_CLASS_NAME);
14
-
15
- sourceAnimationWrappers[i].removeChild(sourceAnimationWrappers[i].firstChild);
16
-
17
- sourceAnimationWrappers[i].appendChild(sourcesElements[i]);
18
- }
@@ -1,31 +0,0 @@
1
- import { SOURCE_CLASS_NAME } from "../../../cn/classes-names";
2
- import { setUpSourceClassName } from "../../../h/source/setUpSourceClassName";
3
- import { setUpSourceCustomAttributes } from "../../../h/source/setUpSourceCustomAttributes";
4
-
5
- export function renderVideo(fsLightbox, i) {
6
- const {
7
- collections: { sourceLoadHandlers },
8
- elements: { sources: sourcesElements, sourceAnimationWrappers },
9
- props: { sources, videosPosters }
10
- } = fsLightbox;
11
-
12
- sourcesElements[i] = document.createElement('video');
13
- setUpSourceClassName(fsLightbox, i, SOURCE_CLASS_NAME)
14
- sourcesElements[i].src = sources[i];
15
- sourcesElements[i].onloadedmetadata = (e) => {
16
- sourceLoadHandlers[i].handleVideoLoad(e);
17
- };
18
- sourcesElements[i].controls = true;
19
- setUpSourceCustomAttributes(fsLightbox, i);
20
- if (videosPosters[i]) {
21
- sourcesElements[i].poster = videosPosters[i];
22
- }
23
-
24
- const source = document.createElement('source');
25
- source.src = sources[i];
26
- sourcesElements[i].appendChild(source);
27
-
28
- setTimeout(sourceLoadHandlers[i].handleNotMetaDatedVideoLoad, 3000);
29
-
30
- sourceAnimationWrappers[i].appendChild(sourcesElements[i]);
31
- }
@@ -1,26 +0,0 @@
1
- import { PREFIX, SOURCE_CLASS_NAME } from "../../../cn/classes-names";
2
- import { setUpSourceClassName } from "../../../h/source/setUpSourceClassName";
3
- import { setUpSourceCustomAttributes } from "../../../h/source/setUpSourceCustomAttributes";
4
-
5
- export function renderYoutube(fsLightbox, i) {
6
- const {
7
- collections: { sourceLoadHandlers },
8
- elements: { sources: sourcesElements, sourceAnimationWrappers },
9
- props: { sources }
10
- } = fsLightbox;
11
-
12
- sourcesElements[i] = document.createElement("iframe");
13
- setUpSourceClassName(fsLightbox, i, `${SOURCE_CLASS_NAME} ${PREFIX}youtube-iframe`);
14
- var url = sources[i];
15
- var p = url.split("?")[1];
16
- sourcesElements[i].src = `https://www.youtube.com/embed/${getYoutubeVideoIdFromUrl()}?${p ? p : ""}`;
17
- sourcesElements[i].allowFullscreen = true;
18
- setUpSourceCustomAttributes(fsLightbox, i);
19
- sourceAnimationWrappers[i].appendChild(sourcesElements[i]);
20
- sourceLoadHandlers[i].handleYoutubeLoad();
21
-
22
- function getYoutubeVideoIdFromUrl() {
23
- const regExp = /^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;
24
- return url.match(regExp)[2];
25
- }
26
- }
@@ -1,18 +0,0 @@
1
- import { smw } from "./smw";
2
- import { ABSOLUTED_CLASS_NAME, FULL_DIMENSION_CLASS_NAME } from "../../cn/classes-names";
3
-
4
- export function renderSourceWrappersContainer(fsLightbox) {
5
- const { core: { sourcesPointerDown }, elements, props: { sources } } = fsLightbox;
6
-
7
- const sourceWrappersContainer = document.createElement('div');
8
- sourceWrappersContainer.className = `${ABSOLUTED_CLASS_NAME} ${FULL_DIMENSION_CLASS_NAME}`;
9
- elements.container.appendChild(sourceWrappersContainer);
10
-
11
- sourceWrappersContainer.addEventListener('pointerdown', sourcesPointerDown.listener);
12
-
13
- elements.sourceWrappersContainer = sourceWrappersContainer;
14
-
15
- for (let i = 0; i < sources.length; i++) {
16
- smw(fsLightbox, i);
17
- }
18
- }
package/cm/sources/saw.js DELETED
@@ -1 +0,0 @@
1
- export function saw({elements:{smw,sourceAnimationWrappers}},i){var w=document.createElement("div");var l=document.createElement("div");l.className="fslightboxl";for(var j=0;j<3;j++){var lc=document.createElement("div");l.appendChild(lc)}w.appendChild(l);smw[i].appendChild(w);sourceAnimationWrappers[i]=w}
package/cm/sources/smw.js DELETED
@@ -1 +0,0 @@
1
- import{ABSOLUTED_CLASS_NAME,FLEX_CENTERED_CLASS_NAME,FULL_DIMENSION_CLASS_NAME,TRANSFORM_TRANSITION_CLASS_NAME}from"../../cn/classes-names";import{saw}from"./saw";export function smw(o,i){var{core:{stageManager},elements:{smw,sourceWrappersContainer},props}=o,t=0,w=document.createElement("div");w.className=`${ABSOLUTED_CLASS_NAME} ${FULL_DIMENSION_CLASS_NAME} ${FLEX_CENTERED_CLASS_NAME}`;w.s=function(){w.style.display="flex"};w.h=function(){w.style.display="none"};w.a=function(){w.classList.add(TRANSFORM_TRANSITION_CLASS_NAME)};w.d=function(){w.classList.remove(TRANSFORM_TRANSITION_CLASS_NAME)};w.n=function(){w.style.removeProperty("transform")};w.v=function(v){t=v;return w;};w.ne=function(){s(-dt())};w.z=function(){s(0)};w.p=function(){s(dt())};function s(v){w.style.transform=`translateX(${v+t}px)`;t=0}function dt(){return(1+props.slideDistance)*innerWidth}if(!stageManager.i(i)){w.h()}smw[i]=w;sourceWrappersContainer.appendChild(w);saw(o,i)}
@@ -1,27 +0,0 @@
1
- export const PREFIX = 'fslightbox-';
2
-
3
- // single classes names
4
- export const FSLIGHTBOX_STYLES = `${PREFIX}styles`;
5
- export const CURSOR_GRABBING_CLASS_NAME = `${PREFIX}cursor-grabbing`;
6
- export const FULL_DIMENSION_CLASS_NAME = `${PREFIX}full-dimension`;
7
- export const FLEX_CENTERED_CLASS_NAME = `${PREFIX}flex-centered`;
8
- export const OPEN_CLASS_NAME = `${PREFIX}open`;
9
- export const TRANSFORM_TRANSITION_CLASS_NAME = `${PREFIX}transform-transition`;
10
- export const ABSOLUTED_CLASS_NAME = `${PREFIX}absoluted`;
11
-
12
- // slide buttons
13
- export const SLIDE_BTN = `${PREFIX}slide-btn`;
14
- export const SLIDE_BTN_CONTAINER = `${SLIDE_BTN}-container`;
15
-
16
- // animations
17
- export const FADE_IN_CLASS_NAME = `${PREFIX}fade-in`;
18
- export const FADE_OUT_CLASS_NAME = `${PREFIX}fade-out`;
19
- export const FADE_IN_STRONG_CLASS_NAME = FADE_IN_CLASS_NAME + '-strong';
20
- export const FADE_OUT_STRONG_CLASS_NAME = FADE_OUT_CLASS_NAME + '-strong';
21
-
22
- // opacity
23
- const opacityBaseClassName = `${PREFIX}opacity-`;
24
- export const OPACITY_1_CLASS_NAME = `${opacityBaseClassName}1`;
25
-
26
- // sources
27
- export const SOURCE_CLASS_NAME = `${PREFIX}source`;
@@ -1,6 +0,0 @@
1
- // sources types
2
- export const IMAGE_TYPE = 'image';
3
- export const VIDEO_TYPE = 'video';
4
- export const YOUTUBE_TYPE = 'youtube';
5
- export const CUSTOM_TYPE = 'custom';
6
- export const INVALID_TYPE = 'invalid';
@@ -1 +0,0 @@
1
- export const ANIMATION_TIME = 300;
@@ -1 +0,0 @@
1
- export const FSLIGHTBOX_STYLES_ID = 'fslightbox-styles';
package/cn/elements.js DELETED
@@ -1,3 +0,0 @@
1
- const sourcesBaseName = 'source';
2
- export const SOURCE_MAIN_WRAPPERS = sourcesBaseName + 'MainWrappers';
3
- export const SOURCE_ANIMATION_WRAPPERS = sourcesBaseName + 'AnimationWrappers';
@@ -1,2 +0,0 @@
1
- export const SOURCES_TYPES_KEY = 'fslightbox-types';
2
- export const SCROLLBAR_WIDTH_KEY = 'fslightbox-scrollbar-width';
@@ -1,6 +0,0 @@
1
- export function addToElementClassIfNotContains(element, className) {
2
- const classList = element.classList;
3
- if (!classList.contains(className)) {
4
- classList.add(className);
5
- }
6
- }
@@ -1,5 +0,0 @@
1
- export function removeFromElementChildIfContains(element, child) {
2
- if (element.contains(child)) {
3
- element.removeChild(child);
4
- }
5
- }
@@ -1,6 +0,0 @@
1
- export function removeFromElementClassIfContains(element, className) {
2
- const classList = element.classList;
3
- if (classList.contains(className)) {
4
- classList.remove(className);
5
- }
6
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This function assigns to object properties from second one
3
- * @param { Object } object
4
- * @param { Object } toAssign
5
- */
6
- export function assignToObject(object, toAssign) {
7
- for (let toAssignPropertyName in toAssign) {
8
- object[toAssignPropertyName] = toAssign[toAssignPropertyName];
9
- }
10
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Set up source class with custom class if set
3
- */
4
- export function setUpSourceClassName(
5
- {
6
- elements: { sources },
7
- props: { customClasses }
8
- },
9
- i, baseClassName
10
- ) {
11
- const customClassName = customClasses[i] ? customClasses[i] : '';
12
- sources[i].className = baseClassName + ' ' + customClassName;
13
- }
@@ -1,5 +0,0 @@
1
- export function setUpSourceCustomAttributes({ elements: { sources }, props: { customAttributes } }, i) {
2
- for (let name in customAttributes[i]) {
3
- sources[i].setAttribute(name, customAttributes[i][name]);
4
- }
5
- }
@@ -1,6 +0,0 @@
1
- export const ifOnUpdateExistsHandleItForState = (state) => {
2
- if(state.onUpdate) {
3
- state.onUpdate();
4
- delete state.onUpdate;
5
- }
6
- };
package/s.js DELETED
@@ -1 +0,0 @@
1
- export const styles = ".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg-path{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightbox-slide-number-container{display:flex;justify-content:center;align-items:center;position:relative;height:100%;font-size:15px;color:#d7d7d7;z-index:0;max-width:55px;text-align:left}.fslightbox-slide-number-container .fslightbox-flex-centered{height:100%}.fslightbox-slash{display:block;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:#fff}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex;background:rgba(35,35,35,.65)}.fslightbox-toolbar-button{height:100%;width:45px;cursor:pointer}.fslightbox-toolbar-button:hover .fslightbox-svg-path{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}}.fslightbox-slide-btn-container:hover .fslightbox-svg-path{fill:#f1f1f1}.fslightbox-slide-btn{padding:9px;font-size:26px;background:rgba(35,35,35,.65)}@media (min-width:768px){.fslightbox-slide-btn{padding:10px}}@media (min-width:1600px){.fslightbox-slide-btn{padding:11px}}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container-next{padding-left:30px}}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-right:6px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightbox-video{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}";