fslightbox
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -1,1 +0,1 @@ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o,s="@import url(https://fonts.googleapis.com/css?family=Roboto);.fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .25s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .25s 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}.hidden{display:none}.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:Roboto,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);z-index:9999999;-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{height:100%;font-size:14px;color:#d7d7d7;z-index:0;max-width:55px}.fslightbox-slide-number-container div{padding:0 1.5px}.fslightbox-slash{margin-top:-1.5px;font-size:16px}.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}.fslightbox-loader{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightbox-loader 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:fslightbox-loader 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightbox-loader div:nth-child(1){animation-delay:-.45s}.fslightbox-loader div:nth-child(2){animation-delay:-.3s}.fslightbox-loader div:nth-child(3){animation-delay:-.15s}@keyframes fslightbox-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;margin:auto;opacity:0;z-index:2;backface-visibility:hidden;transform:translateZ(0);transition:opacity .3s;will-change:opacity}.fslightbox-source-outer{will-change:transform}",i="fslightbox-",r="".concat(i,"styles"),c="".concat(i,"cursor-grabbing"),a="".concat(i,"full-dimension"),l="".concat(i,"flex-centered"),u="".concat(i,"open"),d="".concat(i,"transform-transition"),p="".concat(i,"absoluted"),f="".concat(i,"slide-btn"),h="".concat(f,"-container"),g="".concat(i,"fade-in"),m="".concat(i,"fade-out"),v=g+"-strong",b=m+"-strong",x="".concat(i,"opacity-"),y=("".concat(x,"0"),"".concat(x,"1")),w="".concat(i,"source"),S="".concat(w,"-outer");"".concat(S,"s-outers-wrapper");function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"object"===("undefined"==typeof document?"undefined":L(document))&&((o=document.createElement("style")).className=r,o.appendChild(document.createTextNode(s)),document.head.appendChild(o));var I="fslightbox-types",C="fslightbox-scrollbar-width";function F(e){var t,n=e.props,o=0,s={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:i(e)},this.handleReceivedSourceTypeForUrl=function(e,n){void 0!==s[n]&&(o--,s[n]=e,0===o&&(!function(e,t){for(var n in t)e[n]=t[n]}(t,s),localStorage.setItem(I,JSON.stringify(t))))};var i=function(e){o++,s[e]=!1};n.disableLocalStorage?(this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){}):(t=JSON.parse(localStorage.getItem(I)))||(t={},this.getSourceTypeFromLocalStorageByUrl=i)}var E="image",T="video",A="youtube",O="custom",N="invalid";function z(e,t,n,o){var s=e.data,i=e.elements.sources,r=n/o,c=0;this.styleSize=function(){if((c=s.maxSourceWidth/r)<s.maxSourceHeight)return n<s.maxSourceWidth&&(c=o),a();c=o>s.maxSourceHeight?s.maxSourceHeight:o,a()};var a=function(){i[t].style.width=c*r+"px",i[t].style.height=c+"px"}}function H(e,t,n,o){var s=this,i=e.collections.sourcesStylers,r=e.elements,c=r.sources,a=r.sourcesInners,l=r.sourcesOuters,u=e.resolve;this.runNormalLoadActions=function(){c[t].classList.add(y),a[t].classList.add(v),l[t].removeChild(l[t].firstChild)},this.runInitialLoadActions=function(){s.runNormalLoadActions();var e=u(z,[t,n,o]);e.styleSize(),i[t]=e}}function R(e,t){var n=this,o=e.elements.sources,s=e.props,i=e.resolve;this.handleImageLoad=function(e){var t=e.target,o=t.width,s=t.height;n.handleImageLoad=r(o,s)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,s=t.videoHeight;n.handleVideoLoad=r(o,s)},this.handleYoutubeLoad=function(){var e=1920,t=1080;s.maxYoutubeDimensions&&(e=s.maxYoutubeDimensions.width,t=s.maxYoutubeDimensions.height),n.handleYoutubeLoad=r(e,t)},this.handleCustomLoad=function(){setTimeout((function(){n.handleCustomLoad=r(o[t].offsetWidth,o[t].offsetHeight)}))};var r=function(e,n){var o=i(H,[t,e,n]);return o.runInitialLoadActions(),o.runNormalLoadActions}}function k(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,i=o.sourcesInners,r=e.props.sources;s[t]=document.createElement("img"),s[t].className=w,s[t].src=r[t],s[t].onload=n[t].handleImageLoad,i[t].appendChild(s[t])}function P(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,i=o.sourcesInners,r=e.props,c=r.sources;s[t]=document.createElement("video"),s[t].className=w,s[t].src=c[t],s[t].onloadedmetadata=n[t].handleVideoLoad,s[t].controls=!0,r.videosPosters[t]&&(s[t].poster=r.videosPosters[t]);var a=document.createElement("source");a.src=c[t],s[t].appendChild(a),i[t].appendChild(s[t])}function M(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,r=o.sourcesInners,c=e.props.sources;s[t]=document.createElement("iframe"),s[t].className="".concat(w," ").concat(i,"youtube-iframe"),s[t].src="https://www.youtube.com/embed/".concat(c[t].match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2]),s[t].allowFullscreen=!0,r[t].appendChild(s[t]),n[t].handleYoutubeLoad()}function D(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,i=o.sourcesInners,r=e.props,c=r.sources;s[t]=c[t],s[t].classList.add(w),r.customClasses[t]&&s[t].classList.add(r.customClasses[t]),i[t].appendChild(s[t]),n[t].handleCustomLoad()}function W(e,t){var n=e.elements,o=n.sources,s=n.sourcesInners,r=n.sourcesOuters;e.props.sources;o[t]=document.createElement("div"),o[t].className="".concat(i,"invalid-file-wrapper ").concat(l),o[t].innerHTML="Invalid source",s[t].classList.add(v),s[t].appendChild(o[t]),r[t].removeChild(r[t].firstChild)}function X(e){var t=e.collections,n=t.sourcesLoadsHandlers,o=t.sourcesRenderFunctions,s=e.core.stageManager,i=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,r){var c;switch(t!==N&&(n[r]=i(R,[r])),t){case E:c=k;break;case T:c=P;break;case A:c=M;break;case O:c=D;break;default:c=W}s.isSourceInStage(r)?c(e,r):o[r]=function(){return c(e,r)}}}function j(){var e,t,n,o,s,i={isUrlYoutubeOne:function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname},getTypeFromResponseContentType:function(e){return e.slice(0,e.indexOf("/"))}};this.setUrlToCheck=function(t){e=t},this.getSourceType=function(t){if(i.isUrlYoutubeOne(e))return t(A);n=t,(o=new XMLHttpRequest).open("GET",e,!0),o.onreadystatechange=r,o.send()};var r=function(){if(4===o.readyState&&0===o.status&&!s)return c();if(2===o.readyState){if(200!==o.status&&206!==o.status)return s=!0,c();s=!0,l(i.getTypeFromResponseContentType(o.getResponseHeader("content-type"))),a()}},c=function(){t=N,a()},a=function(){o.abort(),n(t)},l=function(e){switch(e){case"image":t=E;break;case"video":t=T;break;default:t=N}}}function U(e,t,n){var o=e.props,s=o.types,i=o.type,r=o.sources,c=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return s&&s[e]?t=s[e]:i&&(t=i),t},this.retrieveTypeWithXhrForIndex=function(e){var o=c(j);o.setUrlToCheck(r[e]),o.getSourceType((function(o){t.handleReceivedSourceTypeForUrl(o,r[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function V(e,t){var n=e.elements,o=n.sourcesOutersWrapper,s=n.sourcesOuters;s[t]=document.createElement("div"),s[t].className="".concat(S," ").concat(p," ").concat(a," ").concat(l),s[t].innerHTML='<div class="fslightbox-loader"><div></div><div></div><div></div><div></div></div>',o.appendChild(s[t]),function(e,t){var n=e.elements,o=n.sourcesOuters,s=n.sourcesInners;s[t]=document.createElement("div"),o[t].appendChild(s[t])}(e,t)}function B(e,t,n,o){var s=document.createElementNS("http://www.w3.org/2000/svg","svg");s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t),s.setAttributeNS(null,"viewBox",n);var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttributeNS(null,"class","".concat(i,"svg-path")),r.setAttributeNS(null,"d",o),s.appendChild(r),e.appendChild(s),s}function q(e,t){var n=document.createElement("div");return n.className="".concat(i,"toolbar-button ").concat(l),n.title=t,e.appendChild(n),n}function Y(e,t){var n=document.createElement("div");n.className="".concat(i,"toolbar"),t.appendChild(n),function(e,t){var n,o=e.core.fullscreenToggler,s=e.componentsServices,i=e.data,r="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",c="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z",a=q(t);i.isFullscreenOpen=!!document.fullscreenElement,i.isFullscreenOpen?(n=B(a,"24px","0 0 950 1024",c),a.title="Exit fullscreen"):(n=B(a,"20px","0 0 18 18",r),a.title="Enter fullscreen"),s.enterFullscreen=function(){i.isFullscreenOpen=!0,a.title="Exit fullscreen",n.setAttributeNS(null,"width","24px"),n.setAttributeNS(null,"height","24px"),n.setAttributeNS(null,"viewBox","0 0 950 1024"),n.firstChild.setAttributeNS(null,"d",c)},s.exitFullscreen=function(){i.isFullscreenOpen=!1,a.title="Enter fullscreen",n.setAttributeNS(null,"width","20px"),n.setAttributeNS(null,"height","20px"),n.setAttributeNS(null,"viewBox","0 0 18 18"),n.firstChild.setAttributeNS(null,"d",r)},a.onclick=function(){i.isFullscreenOpen?(s.exitFullscreen(),o.exitFullscreen()):(s.enterFullscreen(),o.enterFullscreen())}}(e,n),function(e,t){var n=q(t,"Close");n.onclick=e.core.lightboxCloser.close,B(n,"20px","0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(e,n)}function _(e){var t=e.props.sources,n=e.elements.container,o=document.createElement("div");o.className="".concat(i,"nav"),n.appendChild(o),Y(e,o),t.length>1&&function(e,t){var n=e.componentsServices,o=e.props.sources,s=(e.stageIndexes,document.createElement("div"));s.className="".concat(i,"slide-number-container ").concat(l);var r=document.createElement("div");n.setSlideNumber=function(e){return r.innerHTML=e};var c=document.createElement("div");c.className="".concat(i,"slash"),c.innerHTML="/";var a=document.createElement("div");a.innerHTML=o.length,s.appendChild(r),s.appendChild(c),s.appendChild(a),t.appendChild(s)}(e,o)}function J(e,t){var n=this,o=e.elements.sourcesOuters,s=e.props,i=0;this.byValue=function(e){return i=e,n},this.negative=function(){r(-c())},this.zero=function(){r(0)},this.positive=function(){r(c())};var r=function(e){o[t].style.transform="translateX(".concat(e+i,"px)"),i=0},c=function(){return(1+s.slideDistance)*innerWidth}}function G(e,t,n,o){var s=e.elements.container,i=n.charAt(0).toUpperCase()+n.slice(1),r=document.createElement("div");r.className="".concat(h," ").concat(h,"-").concat(n),r.title="".concat(i," slide"),r.onclick=t,function(e,t){var n=document.createElement("div");n.className="".concat(f," ").concat(l),B(n,"20px","0 0 20 20",t),e.appendChild(n)}(r,o),s.appendChild(r)}function Z(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}var K=250;function Q(e){var t=this,n=e.core,o=n.eventsDispatcher,s=n.fullscreenToggler,i=n.globalEventsController,r=n.scrollbarRecompensor,c=e.data,a=e.elements,l=e.slideSwipingProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,a.container.classList.add(b),i.removeListeners(),c.isFullscreenOpen&&s.exitFullscreen(),setTimeout((function(){t.isLightboxFadingOut=!1,l.isSwiping=!1,a.container.classList.remove(b),document.documentElement.classList.remove(u),r.removeRecompense(),document.body.removeChild(a.container),o.dispatch("onClose")}),K-30)}}var $="sourcesOuters",ee="sourcesInners";function te(e){var t,n,o,s=e.collections,i=s.sourcesOutersTransformers,r=s.sourcesRenderFunctions,c=e.componentsServices,a=e.core,l=a.classFacade,u=a.slideIndexChanger,p=a.stageManager,f=e.elements.sourcesInners,h=e.props,b=e.stageIndexes,x=(t=function(){l.removeFromEachElementClassIfContains(ee,m)},n=K,o=[],function(){o.push(!0),setTimeout((function(){o.pop(),o.length||t()}),n)});u.changeTo=function(e){b.current=e,p.updateStageIndexes(),c.setSlideNumber(e+1);for(var t=0;t<h.sources.length;t++)r[t]&&p.isSourceInStage(t)&&(r[t](),delete r[t])},u.jumpTo=function(e){var t=b.current;u.changeTo(e),l.removeFromEachElementClassIfContains($,d),Z(f[t],v),Z(f[t],g),f[t].classList.add(m),Z(f[e],v),Z(f[e],m),f[e].classList.add(g),x(),i[e].zero(),setTimeout((function(){t!==b.current&&i[t].negative()}),K-30)}}function ne(e){return e.touches?e.touches[0].clientX:e.clientX}function oe(e){var t=e.componentsServices,n=e.core,o=n.lightboxCloser,s=n.fullscreenToggler,i=n.slideChangeFacade;this.listener=function(e){switch(e.keyCode){case 27:o.close();break;case 37:i.changeToPrevious();break;case 39:i.changeToNext();break;case 122:e.preventDefault(),t.enterFullscreen(),s.enterFullscreen()}}}function se(e){var t=e.collections.sourcesOutersTransformers,n=e.elements,o=e.slideSwipingProps,s=e.stageIndexes;this.runActionsForEvent=function(e){n.container.contains(n.slideSwipingHoverer)||n.container.appendChild(n.slideSwipingHoverer),n.container.classList.add(c),o.swipedX=ne(e)-o.downClientX,i(s.current,"zero"),void 0!==s.previous&&o.swipedX>0?i(s.previous,"negative"):void 0!==s.next&&o.swipedX<0&&i(s.next,"positive")};var i=function(e,n){t[e].byValue(o.swipedX)[n]()}}function ie(e){var t,n=e.props.sources,o=e.resolve,s=e.slideSwipingProps,i=o(se),r=(t=!1,function(){return!t&&(t=!0,requestAnimationFrame((function(){t=!1})),!0)});1===n.length?this.listener=function(){s.swipedX=1}:this.listener=function(e){s.isSwiping&&r()&&i.runActionsForEvent(e)}}function re(e){var t=e.collections.sourcesOutersTransformers,n=e.core.slideIndexChanger,o=e.elements.sourcesOuters,s=e.stageIndexes;this.runPositiveSwipedXActions=function(){void 0===s.previous?i("zero"):(i("positive"),n.changeTo(s.previous),i("zero"))},this.runNegativeSwipedXActions=function(){void 0===s.next?i("zero"):(i("negative"),n.changeTo(s.next),i("zero"))};var i=function(e){o[s.current].classList.add(d),t[s.current][e]()}}function ce(e){var t=e.core.lightboxCloser,n=e.elements,o=e.resolve,s=e.slideSwipingProps,i=o(re);this.runNoSwipeActions=function(){s.isSourceDownEventTarget||t.close(),s.isSwiping=!1},this.runActions=function(){s.swipedX>0?i.runPositiveSwipedXActions():i.runNegativeSwipedXActions(),n.container.contains(n.slideSwipingHoverer)&&n.container.removeChild(n.slideSwipingHoverer),n.container.classList.remove(c),s.isSwiping=!1}}function ae(e){var t=e.resolve,n=e.slideSwipingProps,o=t(ce);this.listener=function(){n.isSwiping&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function le(e){var t,n,o;n=(t=e).core.classFacade,o=t.elements,n.removeFromEachElementClassIfContains=function(e,t){for(var n=0;n<o[e].length;n++)Z(o[e][n],t)},function(e){var t=e.core.eventsDispatcher,n=e.props;t.dispatch=function(e){n[e]&&n[e]()}}(e),function(e){var t=e.core.fullscreenToggler;t.enterFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},t.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()}}(e),function(e){var t=e.core,n=t.globalEventsController,o=t.windowResizeActioner,s=e.resolve,i=s(oe),r=s(ie),c=s(ae);n.attachListeners=function(){document.addEventListener("mousemove",r.listener),document.addEventListener("touchmove",r.listener,{passive:!0}),document.addEventListener("mouseup",c.listener),document.addEventListener("touchend",c.listener,{passive:!0}),addEventListener("resize",o.runActions),document.addEventListener("keydown",i.listener)},n.removeListeners=function(){document.removeEventListener("mousemove",r.listener),document.removeEventListener("touchmove",r.listener),document.removeEventListener("mouseup",c.listener),document.removeEventListener("touchend",c.listener),removeEventListener("resize",o.runActions),document.removeEventListener("keydown",i.listener)}}(e),function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(Q);t.close=function(){n.isLightboxFadingOut||n.runActions()}}(e),de(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;n.addRecompense=function(){"complete"===document.readyState?o():addEventListener("load",(function(){o(),n.addRecompense=o}))};var o=function(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")};n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,s=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(s.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(s.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),te(e),function(e){var t=e.core,n=t.classFacade,o=t.slideSwipingDown,s=e.elements.sources,i=e.slideSwipingProps,r=e.stageIndexes;o.listener=function(e){i.isSwiping=!0,i.downClientX=ne(e),i.swipedX=0,"VIDEO"===e.target.tagName||e.touches||e.preventDefault();var t=s[r.current];t&&t.contains(e.target)?i.isSourceDownEventTarget=!0:i.isSourceDownEventTarget=!1,n.removeFromEachElementClassIfContains($,d)}}(e),function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.isSourceInStage=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var s=n-e;return-1===s||0===s||1===s}}(e),function(e){var t=e.collections,n=t.sourcesOutersTransformers,o=t.sourcesStylers,s=e.core.windowResizeActioner,i=e.componentsServices,r=e.data,c=e.elements.sourcesOuters,a=e.props,l=e.stageIndexes;s.runActions=function(){innerWidth<992?r.maxSourceWidth=innerWidth:r.maxSourceWidth=.9*innerWidth,r.maxSourceHeight=.9*innerHeight,r.isFullscreenOpen&&screen.height!==innerHeight&&i.exitFullscreen();for(var e=0;e<a.sources.length;e++)Z(c[e],d),e!==l.current&&n[e].negative(),o[e]&&o[e].styleSize()}}(e)}function ue(e){var t=e.core.eventsDispatcher,n=e.data,o=e.elements,s=e.props.sources;n.isInitialized=!0,function(e){for(var t=e.collections.sourcesOutersTransformers,n=e.props.sources,o=e.resolve,s=0;s<n.length;s++)t[s]=o(J,[s])}(e),le(e),o.container=document.createElement("div"),o.container.className="".concat(i,"container ").concat(a," ").concat(v),function(e){var t=e.elements;t.slideSwipingHoverer=document.createElement("div"),t.slideSwipingHoverer.className="".concat(i,"slide-swiping-hoverer ").concat(a," ").concat(p)}(e),_(e),function(e){var t=e.core.slideSwipingDown,n=e.elements,o=e.props.sources;n.sourcesOutersWrapper=document.createElement("div"),n.sourcesOutersWrapper.className="".concat(p," ").concat(a),n.container.appendChild(n.sourcesOutersWrapper),n.sourcesOutersWrapper.addEventListener("mousedown",t.listener),n.sourcesOutersWrapper.addEventListener("touchstart",t.listener,{passive:!0});for(var s=0;s<o.length;s++)V(e,s)}(e),s.length>1&&function(e){var t=e.core.slideChangeFacade;G(e,t.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"),G(e,t.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")}(e),function(e){for(var t=e.props.sources,n=e.resolve,o=n(F),s=n(X),i=n(U,[o,s]),r=0;r<t.length;r++)if("string"==typeof t[r]){var c=i.getTypeSetByClientForIndex(r);if(c)s.runActionsForSourceTypeAndIndex(c,r);else{var a=o.getSourceTypeFromLocalStorageByUrl(t[r]);a?s.runActionsForSourceTypeAndIndex(a,r):i.retrieveTypeWithXhrForIndex(r)}}else s.runActionsForSourceTypeAndIndex(O,r)}(e),t.dispatch("onInit")}function de(e){var t=e.collections.sourcesOutersTransformers,n=e.componentsServices,o=e.core,s=o.eventsDispatcher,i=o.lightboxOpener,r=o.globalEventsController,c=o.scrollbarRecompensor,a=o.stageManager,l=o.windowResizeActioner,d=e.data,p=e.elements,f=e.stageIndexes;i.open=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;f.current=o,d.isInitialized?s.dispatch("onShow"):ue(e),n.setSlideNumber(f.current+1),document.body.appendChild(p.container),a.updateStageIndexes(),document.documentElement.classList.add(u),c.addRecompense(),r.attachListeners(),s.dispatch("onOpen"),t[f.current].zero(),l.runActions()}}function pe(){var e=localStorage.getItem(C);if(e)return e;var t=function(){var e=document.createElement("div"),t=e.style;return t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",e}(),n=function(){var e=document.createElement("div");return e.style.width="100%",e}();document.body.appendChild(t);var o=t.offsetWidth;t.appendChild(n);var s=n.offsetWidth;document.body.removeChild(t);var i=o-s;return localStorage.setItem(C,i.toString()),i}function fe(e,t,n){return(fe=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var s=new(Function.bind.apply(e,o));return n&&he(s,n.prototype),s}).apply(null,arguments)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function me(){for(var e=document.getElementsByTagName("a"),t=function(t){if(!e[t].hasAttribute("data-fslightbox"))return"continue";var n=e[t].getAttribute("data-fslightbox"),o=e[t].getAttribute("href");fsLightboxInstances[n]||(fsLightboxInstances[n]=new FsLightbox,fsLightboxInstances[n].setup());var s=null;s="#"===o.charAt(0)?document.getElementById(o.substring(1)):o,fsLightboxInstances[n].props.sources.push(s),fsLightboxInstances[n].elements.a.push(e[t]);var i=fsLightboxInstances[n].props.sources.length-1;function r(o,s){e[t].hasAttribute(s)&&(fsLightboxInstances[n].props[o][i]=e[t].getAttribute(s))}e[t].onclick=function(e){e.preventDefault(),fsLightboxInstances[n].open(i)},r("types","data-type"),r("videosPosters","data-video-poster"),r("customClasses","data-custom-class"),e[t].hasAttribute("data-width")&&(fsLightboxInstances[n].props.maxYoutubeDimensions={width:parseInt(e[t].getAttribute("data-width")),height:parseInt(e[t].getAttribute("data-height"))})},n=0;n<e.length;n++)t(n);var o=Object.keys(fsLightboxInstances);window.fsLightbox=fsLightboxInstances[o[o.length-1]]}window.FsLightbox=function(){var e=this;this.props={sources:[],maxDimensions:[],customClasses:[],types:[],videosPosters:[],slideDistance:.3},this.data={isInitialized:!1,maxSourceWidth:0,maxSourceHeight:0,scrollbarWidth:pe(),isFullscreenOpen:!1},this.slideSwipingProps={isSwiping:!1,downClientX:null,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,sourcesOutersWrapper:null,sources:[],sourcesOuters:[],sourcesInners:[]},this.componentsServices={setSlideNumber:function(){},enterFullscreen:null,exitFullscreen:null},this.resolve=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),fe(t,ge(n))},this.collections={sourcesOutersTransformers:[],sourcesLoadsHandlers:[],sourcesStylers:[],sourcesRenderFunctions:[]},this.core={classFacade:{},eventsDispatcher:{},fullscreenToggler:{},globalEventsController:{},lightboxCloser:{},lightboxOpener:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},slideSwipingDown:{},sourceLoadActioner:{},stageManager:{},windowResizeActioner:{}},this.setup=function(){de(e)},this.open=function(t){return e.core.lightboxOpener.open(t)},this.close=function(){return e.core.lightboxCloser.close()}},window.fsLightboxInstances={},window.updateFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[],fsLightboxInstances[e].setup()}me()},me()}])})); | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o,s="@import url(https://fonts.googleapis.com/css?family=Roboto);.fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .25s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .25s 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}.hidden{display:none}.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:Roboto,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);z-index:9999999;-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{height:100%;font-size:14px;color:#d7d7d7;z-index:0;max-width:55px}.fslightbox-slide-number-container div{padding:0 1.5px}.fslightbox-slash{margin-top:-1.5px;font-size:16px}.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}.fslightbox-loader{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightbox-loader 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:fslightbox-loader 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightbox-loader div:nth-child(1){animation-delay:-.45s}.fslightbox-loader div:nth-child(2){animation-delay:-.3s}.fslightbox-loader div:nth-child(3){animation-delay:-.15s}@keyframes fslightbox-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;margin:auto;opacity:0;z-index:2;backface-visibility:hidden;transform:translateZ(0);transition:opacity .3s;will-change:opacity}.fslightbox-source-outer{will-change:transform}",i="fslightbox-",r="".concat(i,"styles"),c="".concat(i,"cursor-grabbing"),a="".concat(i,"full-dimension"),l="".concat(i,"flex-centered"),u="".concat(i,"open"),d="".concat(i,"transform-transition"),p="".concat(i,"absoluted"),f="".concat(i,"slide-btn"),h="".concat(f,"-container"),g="".concat(i,"fade-in"),m="".concat(i,"fade-out"),v=g+"-strong",b=m+"-strong",x="".concat(i,"opacity-"),y=("".concat(x,"0"),"".concat(x,"1")),S="".concat(i,"source"),w="".concat(S,"-outer");"".concat(w,"s-outers-wrapper");function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"object"===("undefined"==typeof document?"undefined":L(document))&&((o=document.createElement("style")).className=r,o.appendChild(document.createTextNode(s)),document.head.appendChild(o));var C="fslightbox-types",F="fslightbox-scrollbar-width";function I(e){var t,n=e.props,o=0,s={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:i(e)},this.handleReceivedSourceTypeForUrl=function(e,n){void 0!==s[n]&&(o--,s[n]=e,0===o&&(!function(e,t){for(var n in t)e[n]=t[n]}(t,s),localStorage.setItem(C,JSON.stringify(t))))};var i=function(e){o++,s[e]=!1};n.disableLocalStorage?(this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){}):(t=JSON.parse(localStorage.getItem(C)))||(t={},this.getSourceTypeFromLocalStorageByUrl=i)}var E="image",T="video",A="youtube",O="custom",N="invalid";function z(e,t,n,o){var s=e.data,i=e.elements.sources,r=n/o,c=0;this.styleSize=function(){if((c=s.maxSourceWidth/r)<s.maxSourceHeight)return n<s.maxSourceWidth&&(c=o),a();c=o>s.maxSourceHeight?s.maxSourceHeight:o,a()};var a=function(){i[t].style.width=c*r+"px",i[t].style.height=c+"px"}}function H(e,t,n,o){var s=this,i=e.collections.sourcesStylers,r=e.elements,c=r.sources,a=r.sourcesInners,l=r.sourcesOuters,u=e.resolve;this.runNormalLoadActions=function(){c[t].classList.add(y),a[t].classList.add(v),l[t].removeChild(l[t].firstChild)},this.runInitialLoadActions=function(){s.runNormalLoadActions();var e=u(z,[t,n,o]);e.styleSize(),i[t]=e}}function R(e,t){var n=this,o=e.elements.sources,s=e.props,i=e.resolve;this.handleImageLoad=function(e){var t=e.target,o=t.width,s=t.height;n.handleImageLoad=r(o,s)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,s=t.videoHeight;n.handleVideoLoad=r(o,s)},this.handleYoutubeLoad=function(){var e=1920,t=1080;s.maxYoutubeDimensions&&(e=s.maxYoutubeDimensions.width,t=s.maxYoutubeDimensions.height),n.handleYoutubeLoad=r(e,t)},this.handleCustomLoad=function(){setTimeout((function(){n.handleCustomLoad=r(o[t].offsetWidth,o[t].offsetHeight)}))};var r=function(e,n){var o=i(H,[t,e,n]);return o.runInitialLoadActions(),o.runNormalLoadActions}}function k(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,i=o.sourcesInners,r=e.props.sources;s[t]=document.createElement("img"),s[t].className=S,s[t].src=r[t],s[t].onload=n[t].handleImageLoad,i[t].appendChild(s[t])}function P(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,i=o.sourcesInners,r=e.props,c=r.sources;s[t]=document.createElement("video"),s[t].className=S,s[t].src=c[t],s[t].onloadedmetadata=n[t].handleVideoLoad,s[t].controls=!0,r.videosPosters[t]&&(s[t].poster=r.videosPosters[t]);var a=document.createElement("source");a.src=c[t],s[t].appendChild(a),i[t].appendChild(s[t])}function M(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,r=o.sourcesInners,c=e.props.sources;s[t]=document.createElement("iframe"),s[t].className="".concat(S," ").concat(i,"youtube-iframe"),s[t].src="https://www.youtube.com/embed/".concat(c[t].match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2]),s[t].allowFullscreen=!0,r[t].appendChild(s[t]),n[t].handleYoutubeLoad()}function D(e,t){var n=e.collections.sourcesLoadsHandlers,o=e.elements,s=o.sources,i=o.sourcesInners,r=e.props,c=r.sources;s[t]=c[t],s[t].classList.add(S),r.customClasses[t]&&s[t].classList.add(r.customClasses[t]),i[t].appendChild(s[t]),n[t].handleCustomLoad()}function W(e,t){var n=e.elements,o=n.sources,s=n.sourcesInners,r=n.sourcesOuters;e.props.sources;o[t]=document.createElement("div"),o[t].className="".concat(i,"invalid-file-wrapper ").concat(l),o[t].innerHTML="Invalid source",s[t].classList.add(v),s[t].appendChild(o[t]),r[t].removeChild(r[t].firstChild)}function X(e){var t=e.collections,n=t.sourcesLoadsHandlers,o=t.sourcesRenderFunctions,s=e.core.stageManager,i=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,r){var c;switch(t!==N&&(n[r]=i(R,[r])),t){case E:c=k;break;case T:c=P;break;case A:c=M;break;case O:c=D;break;default:c=W}s.isSourceInStage(r)?c(e,r):o[r]=function(){return c(e,r)}}}function j(){var e,t,n,o,s,i={isUrlYoutubeOne:function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname},getTypeFromResponseContentType:function(e){return e.slice(0,e.indexOf("/"))}};this.setUrlToCheck=function(t){e=t},this.getSourceType=function(t){if(i.isUrlYoutubeOne(e))return t(A);n=t,(o=new XMLHttpRequest).open("GET",e,!0),o.onreadystatechange=r,o.send()};var r=function(){if(4===o.readyState&&0===o.status&&!s)return c();if(2===o.readyState){if(200!==o.status&&206!==o.status)return s=!0,c();s=!0,l(i.getTypeFromResponseContentType(o.getResponseHeader("content-type"))),a()}},c=function(){t=N,a()},a=function(){o.abort(),n(t)},l=function(e){switch(e){case"image":t=E;break;case"video":t=T;break;default:t=N}}}function U(e,t,n){var o=e.props,s=o.types,i=o.type,r=o.sources,c=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return s&&s[e]?t=s[e]:i&&(t=i),t},this.retrieveTypeWithXhrForIndex=function(e){var o=c(j);o.setUrlToCheck(r[e]),o.getSourceType((function(o){t.handleReceivedSourceTypeForUrl(o,r[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function V(e,t){var n=e.elements,o=n.sourcesOutersWrapper,s=n.sourcesOuters;s[t]=document.createElement("div"),s[t].className="".concat(w," ").concat(p," ").concat(a," ").concat(l),s[t].innerHTML='<div class="fslightbox-loader"><div></div><div></div><div></div><div></div></div>',o.appendChild(s[t]),function(e,t){var n=e.elements,o=n.sourcesOuters,s=n.sourcesInners;s[t]=document.createElement("div"),o[t].appendChild(s[t])}(e,t)}function B(e,t,n,o){var s=document.createElementNS("http://www.w3.org/2000/svg","svg");s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t),s.setAttributeNS(null,"viewBox",n);var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttributeNS(null,"class","".concat(i,"svg-path")),r.setAttributeNS(null,"d",o),s.appendChild(r),e.appendChild(s),s}function q(e,t){var n=document.createElement("div");return n.className="".concat(i,"toolbar-button ").concat(l),n.title=t,e.appendChild(n),n}function Y(e,t){var n=document.createElement("div");n.className="".concat(i,"toolbar"),t.appendChild(n),function(e,t){var n,o=e.core.fullscreenToggler,s=e.componentsServices,i=e.data,r="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",c="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z",a=q(t);i.isFullscreenOpen=!!document.fullscreenElement,i.isFullscreenOpen?(n=B(a,"24px","0 0 950 1024",c),a.title="Exit fullscreen"):(n=B(a,"20px","0 0 18 18",r),a.title="Enter fullscreen"),s.enterFullscreen=function(){i.isFullscreenOpen=!0,a.title="Exit fullscreen",n.setAttributeNS(null,"width","24px"),n.setAttributeNS(null,"height","24px"),n.setAttributeNS(null,"viewBox","0 0 950 1024"),n.firstChild.setAttributeNS(null,"d",c)},s.exitFullscreen=function(){i.isFullscreenOpen=!1,a.title="Enter fullscreen",n.setAttributeNS(null,"width","20px"),n.setAttributeNS(null,"height","20px"),n.setAttributeNS(null,"viewBox","0 0 18 18"),n.firstChild.setAttributeNS(null,"d",r)},a.onclick=function(){i.isFullscreenOpen?(s.exitFullscreen(),o.exitFullscreen()):(s.enterFullscreen(),o.enterFullscreen())}}(e,n),function(e,t){var n=q(t,"Close");n.onclick=e.core.lightboxCloser.close,B(n,"20px","0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(e,n)}function _(e){var t=e.props.sources,n=e.elements.container,o=document.createElement("div");o.className="".concat(i,"nav"),n.appendChild(o),Y(e,o),t.length>1&&function(e,t){var n=e.componentsServices,o=e.props.sources,s=(e.stageIndexes,document.createElement("div"));s.className="".concat(i,"slide-number-container ").concat(l);var r=document.createElement("div");n.setSlideNumber=function(e){return r.innerHTML=e};var c=document.createElement("div");c.className="".concat(i,"slash"),c.innerHTML="/";var a=document.createElement("div");a.innerHTML=o.length,s.appendChild(r),s.appendChild(c),s.appendChild(a),t.appendChild(s)}(e,o)}function J(e,t){var n=this,o=e.elements.sourcesOuters,s=e.props,i=0;this.byValue=function(e){return i=e,n},this.negative=function(){r(-c())},this.zero=function(){r(0)},this.positive=function(){r(c())};var r=function(e){o[t].style.transform="translateX(".concat(e+i,"px)"),i=0},c=function(){return(1+s.slideDistance)*innerWidth}}function G(e,t,n,o){var s=e.elements.container,i=n.charAt(0).toUpperCase()+n.slice(1),r=document.createElement("div");r.className="".concat(h," ").concat(h,"-").concat(n),r.title="".concat(i," slide"),r.onclick=t,function(e,t){var n=document.createElement("div");n.className="".concat(f," ").concat(l),B(n,"20px","0 0 20 20",t),e.appendChild(n)}(r,o),s.appendChild(r)}function Z(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}var K=250;function Q(e){var t=this,n=e.core,o=n.eventsDispatcher,s=n.fullscreenToggler,i=n.globalEventsController,r=n.scrollbarRecompensor,c=e.data,a=e.elements,l=e.slideSwipingProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,a.container.classList.add(b),i.removeListeners(),c.isFullscreenOpen&&s.exitFullscreen(),setTimeout((function(){t.isLightboxFadingOut=!1,l.isSwiping=!1,a.container.classList.remove(b),document.documentElement.classList.remove(u),r.removeRecompense(),document.body.removeChild(a.container),o.dispatch("onClose")}),K-30)}}var $="sourcesOuters",ee="sourcesInners";function te(e){var t,n,o,s=e.collections,i=s.sourcesOutersTransformers,r=s.sourcesRenderFunctions,c=e.componentsServices,a=e.core,l=a.classFacade,u=a.slideIndexChanger,p=a.stageManager,f=e.elements.sourcesInners,h=e.props.sources,b=e.stageIndexes,x=(t=function(){l.removeFromEachElementClassIfContains(ee,m)},n=K,o=[],function(){o.push(!0),setTimeout((function(){o.pop(),o.length||t()}),n)});u.changeTo=function(e){b.current=e,p.updateStageIndexes(),c.setSlideNumber(e+1);for(var t=0;t<h.length;t++)r[t]&&p.isSourceInStage(t)&&(r[t](),delete r[t])},u.jumpTo=function(e){var t=b.current;u.changeTo(e),l.removeFromEachElementClassIfContains($,d),Z(f[t],v),Z(f[t],g),f[t].classList.add(m),Z(f[e],v),Z(f[e],m),f[e].classList.add(g),x(),i[e].zero(),setTimeout((function(){t!==b.current&&i[t].negative()}),K-30)}}function ne(e){return e.touches?e.touches[0].clientX:e.clientX}function oe(e){var t=e.componentsServices,n=e.core,o=n.lightboxCloser,s=n.fullscreenToggler,i=n.slideChangeFacade;this.listener=function(e){switch(e.keyCode){case 27:o.close();break;case 37:i.changeToPrevious();break;case 39:i.changeToNext();break;case 122:e.preventDefault(),t.enterFullscreen(),s.enterFullscreen()}}}function se(e){var t=e.collections.sourcesOutersTransformers,n=e.elements,o=e.slideSwipingProps,s=e.stageIndexes;this.runActionsForEvent=function(e){n.container.contains(n.slideSwipingHoverer)||n.container.appendChild(n.slideSwipingHoverer),n.container.classList.add(c),o.swipedX=ne(e)-o.downClientX,i(s.current,"zero"),void 0!==s.previous&&o.swipedX>0?i(s.previous,"negative"):void 0!==s.next&&o.swipedX<0&&i(s.next,"positive")};var i=function(e,n){t[e].byValue(o.swipedX)[n]()}}function ie(e){var t,n=e.props.sources,o=e.resolve,s=e.slideSwipingProps,i=o(se),r=(t=!1,function(){return!t&&(t=!0,requestAnimationFrame((function(){t=!1})),!0)});1===n.length?this.listener=function(){s.swipedX=1}:this.listener=function(e){s.isSwiping&&r()&&i.runActionsForEvent(e)}}function re(e){var t=e.collections.sourcesOutersTransformers,n=e.core.slideIndexChanger,o=e.elements.sourcesOuters,s=e.stageIndexes;this.runPositiveSwipedXActions=function(){void 0===s.previous?i("zero"):(i("positive"),n.changeTo(s.previous),i("zero"))},this.runNegativeSwipedXActions=function(){void 0===s.next?i("zero"):(i("negative"),n.changeTo(s.next),i("zero"))};var i=function(e){o[s.current].classList.add(d),t[s.current][e]()}}function ce(e){var t=e.core.lightboxCloser,n=e.elements,o=e.resolve,s=e.slideSwipingProps,i=o(re);this.runNoSwipeActions=function(){s.isSourceDownEventTarget||t.close(),s.isSwiping=!1},this.runActions=function(){s.swipedX>0?i.runPositiveSwipedXActions():i.runNegativeSwipedXActions(),n.container.contains(n.slideSwipingHoverer)&&n.container.removeChild(n.slideSwipingHoverer),n.container.classList.remove(c),s.isSwiping=!1}}function ae(e){var t=e.resolve,n=e.slideSwipingProps,o=t(ce);this.listener=function(){n.isSwiping&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function le(e){var t,n,o;n=(t=e).core.classFacade,o=t.elements,n.removeFromEachElementClassIfContains=function(e,t){for(var n=0;n<o[e].length;n++)Z(o[e][n],t)},function(e){var t=e.core.eventsDispatcher,n=e.props;t.dispatch=function(e){n[e]&&n[e]()}}(e),function(e){var t=e.core.fullscreenToggler;t.enterFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},t.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()}}(e),function(e){var t=e.core,n=t.globalEventsController,o=t.windowResizeActioner,s=e.resolve,i=s(oe),r=s(ie),c=s(ae);n.attachListeners=function(){document.addEventListener("mousemove",r.listener),document.addEventListener("touchmove",r.listener,{passive:!0}),document.addEventListener("mouseup",c.listener),document.addEventListener("touchend",c.listener,{passive:!0}),addEventListener("resize",o.runActions),document.addEventListener("keydown",i.listener)},n.removeListeners=function(){document.removeEventListener("mousemove",r.listener),document.removeEventListener("touchmove",r.listener),document.removeEventListener("mouseup",c.listener),document.removeEventListener("touchend",c.listener),removeEventListener("resize",o.runActions),document.removeEventListener("keydown",i.listener)}}(e),function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(Q);t.close=function(){n.isLightboxFadingOut||n.runActions()}}(e),de(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;n.addRecompense=function(){"complete"===document.readyState?o():addEventListener("load",(function(){o(),n.addRecompense=o}))};var o=function(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")};n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,s=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(s.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(s.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),te(e),function(e){var t=e.core,n=t.classFacade,o=t.slideSwipingDown,s=e.elements.sources,i=e.slideSwipingProps,r=e.stageIndexes;o.listener=function(e){i.isSwiping=!0,i.downClientX=ne(e),i.swipedX=0,"VIDEO"===e.target.tagName||e.touches||e.preventDefault();var t=s[r.current];t&&t.contains(e.target)?i.isSourceDownEventTarget=!0:i.isSourceDownEventTarget=!1,n.removeFromEachElementClassIfContains($,d)}}(e),function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.isSourceInStage=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var s=n-e;return-1===s||0===s||1===s}}(e),function(e){var t=e.collections,n=t.sourcesOutersTransformers,o=t.sourcesStylers,s=e.core.windowResizeActioner,i=e.componentsServices,r=e.data,c=e.elements.sourcesOuters,a=e.props,l=e.stageIndexes;s.runActions=function(){innerWidth<992?r.maxSourceWidth=innerWidth:r.maxSourceWidth=.9*innerWidth,r.maxSourceHeight=.9*innerHeight,r.isFullscreenOpen&&screen.height!==innerHeight&&i.exitFullscreen();for(var e=0;e<a.sources.length;e++)Z(c[e],d),e!==l.current&&n[e].negative(),o[e]&&o[e].styleSize()}}(e)}function ue(e){var t=e.core.eventsDispatcher,n=e.data,o=e.elements,s=e.props.sources;n.isInitialized=!0,function(e){for(var t=e.collections.sourcesOutersTransformers,n=e.props.sources,o=e.resolve,s=0;s<n.length;s++)t[s]=o(J,[s])}(e),le(e),o.container=document.createElement("div"),o.container.className="".concat(i,"container ").concat(a," ").concat(v),function(e){var t=e.elements;t.slideSwipingHoverer=document.createElement("div"),t.slideSwipingHoverer.className="".concat(i,"slide-swiping-hoverer ").concat(a," ").concat(p)}(e),_(e),function(e){var t=e.core.slideSwipingDown,n=e.elements,o=e.props.sources;n.sourcesOutersWrapper=document.createElement("div"),n.sourcesOutersWrapper.className="".concat(p," ").concat(a),n.container.appendChild(n.sourcesOutersWrapper),n.sourcesOutersWrapper.addEventListener("mousedown",t.listener),n.sourcesOutersWrapper.addEventListener("touchstart",t.listener,{passive:!0});for(var s=0;s<o.length;s++)V(e,s)}(e),s.length>1&&function(e){var t=e.core.slideChangeFacade;G(e,t.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"),G(e,t.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")}(e),function(e){for(var t=e.props.sources,n=e.resolve,o=n(I),s=n(X),i=n(U,[o,s]),r=0;r<t.length;r++)if("string"==typeof t[r]){var c=i.getTypeSetByClientForIndex(r);if(c)s.runActionsForSourceTypeAndIndex(c,r);else{var a=o.getSourceTypeFromLocalStorageByUrl(t[r]);a?s.runActionsForSourceTypeAndIndex(a,r):i.retrieveTypeWithXhrForIndex(r)}}else s.runActionsForSourceTypeAndIndex(O,r)}(e),t.dispatch("onInit")}function de(e){var t=e.collections.sourcesOutersTransformers,n=e.componentsServices,o=e.core,s=o.eventsDispatcher,i=o.lightboxOpener,r=o.globalEventsController,c=o.scrollbarRecompensor,a=o.stageManager,l=o.windowResizeActioner,d=e.data,p=e.elements,f=e.stageIndexes;i.open=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;f.current=o,d.isInitialized?s.dispatch("onShow"):ue(e),n.setSlideNumber(f.current+1),document.body.appendChild(p.container),a.updateStageIndexes(),document.documentElement.classList.add(u),c.addRecompense(),r.attachListeners(),s.dispatch("onOpen"),t[f.current].zero(),l.runActions()}}function pe(){var e=localStorage.getItem(F);if(e)return e;var t=function(){var e=document.createElement("div"),t=e.style;return t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",e}(),n=function(){var e=document.createElement("div");return e.style.width="100%",e}();document.body.appendChild(t);var o=t.offsetWidth;t.appendChild(n);var s=n.offsetWidth;document.body.removeChild(t);var i=o-s;return localStorage.setItem(F,i.toString()),i}function fe(e,t,n){return(fe=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var s=new(Function.bind.apply(e,o));return n&&he(s,n.prototype),s}).apply(null,arguments)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function me(){for(var e=document.getElementsByTagName("a"),t=function(t){if(!e[t].hasAttribute("data-fslightbox"))return"continue";var n=e[t].getAttribute("data-fslightbox"),o=e[t].getAttribute("href");fsLightboxInstances[n]||(fsLightboxInstances[n]=new FsLightbox,fsLightboxInstances[n].setup());var s=null;s="#"===o.charAt(0)?document.getElementById(o.substring(1)):o,fsLightboxInstances[n].props.sources.push(s),fsLightboxInstances[n].elements.a.push(e[t]);var i=fsLightboxInstances[n].props.sources.length-1;function r(o,s){e[t].hasAttribute(s)&&(fsLightboxInstances[n].props[o][i]=e[t].getAttribute(s))}e[t].onclick=function(e){e.preventDefault(),fsLightboxInstances[n].open(i)},r("types","data-type"),r("videosPosters","data-video-poster"),r("customClasses","data-custom-class")},n=0;n<e.length;n++)t(n);var o=Object.keys(fsLightboxInstances);window.fsLightbox=fsLightboxInstances[o[o.length-1]]}window.FsLightbox=function(){var e=this;this.props={sources:[],customClasses:[],types:[],videosPosters:[],maxYoutubeDimensions:null,slideDistance:.3},this.data={isInitialized:!1,maxSourceWidth:0,maxSourceHeight:0,scrollbarWidth:pe(),isFullscreenOpen:!1},this.slideSwipingProps={isSwiping:!1,downClientX:null,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,sourcesOutersWrapper:null,sources:[],sourcesOuters:[],sourcesInners:[]},this.componentsServices={setSlideNumber:function(){},enterFullscreen:null,exitFullscreen:null},this.resolve=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),fe(t,ge(n))},this.collections={sourcesOutersTransformers:[],sourcesLoadsHandlers:[],sourcesRenderFunctions:[],sourcesStylers:[]},this.core={classFacade:{},eventsDispatcher:{},fullscreenToggler:{},globalEventsController:{},lightboxCloser:{},lightboxOpener:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},slideSwipingDown:{},sourceLoadActioner:{},stageManager:{},windowResizeActioner:{}},this.setup=function(){de(e)},this.open=function(t){return e.core.lightboxOpener.open(t)},this.close=function(){return e.core.lightboxCloser.close()}},window.fsLightboxInstances={},window.updateFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[],fsLightboxInstances[e].setup()}me()},me()}])})); |
{ | ||
"name": "fslightbox", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Modern and easy plugin for displaying images and videos in clean overlaying box. Display single source or create beautiful gallery with powerful lightbox.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34020