diff --git a/dist/css/nanogallery2.min.css b/dist/css/nanogallery2.min.css index 629fff14..05dc88c9 100644 --- a/dist/css/nanogallery2.min.css +++ b/dist/css/nanogallery2.min.css @@ -1,2 +1,2 @@ -/* nanogallery2 - v3.0.4 - 2020-12-25 */ +/* nanogallery2 - v3.0.5 - 2021-01-06 */ .nGY2{box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-o-box-sizing:content-box}.nGY2 .ngy2_container{width:100%;min-width:100px;font-size:1em;line-height:normal;padding:0;margin:0 auto;overflow:hidden;visibility:visible;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.nGY2_body_scrollbar{overflow:hidden}@font-face{font-family:ngy2_icon_font;src:url(font/ngy2_icon_font.woff2?64889571) format('woff2'),url(font/ngy2_icon_font.woff?64889571) format('woff');font-weight:400;font-style:normal}.nGY2Icon-star:before{content:'\e801'}.nGY2Icon-search:before{content:'\e800'}.nGY2Icon-star-empty:before{content:'\e802'}.nGY2Icon-video:before{content:'\e803'}.nGY2Icon-videocam:before{content:'\e804'}.nGY2Icon-picture:before{content:'\e805'}.nGY2Icon-camera:before{content:'\e806'}.nGY2Icon-camera-alt:before{content:'\e807'}.nGY2Icon-ok:before{content:'\e808'}.nGY2Icon-help:before{content:'\e80a'}.nGY2Icon-help-circled:before{content:'\e80b'}.nGY2Icon-home:before{content:'\e80e'}.nGY2Icon-link:before{content:'\e80f'}.nGY2Icon-link-ext:before{content:'\e810'}.nGY2Icon-heart:before{content:'\e811'}.nGY2Icon-ngy2_chevron-right:before{content:'\e812'}.nGY2Icon-upload:before{content:'\e814'}.nGY2Icon-reply-all:before{content:'\e815'}.nGY2Icon-export:before{content:'\e816'}.nGY2Icon-chat:before{content:'\e818'}.nGY2Icon-attention:before{content:'\e819'}.nGY2Icon-location:before{content:'\e81a'}.nGY2Icon-trash:before{content:'\e81b'}.nGY2Icon-folder-empty:before{content:'\e81c'}.nGY2Icon-folder-open-empty:before{content:'\e81d'}.nGY2Icon-menu:before{content:'\e81e'}.nGY2Icon-cog:before{content:'\e81f'}.nGY2Icon-cog-alt:before{content:'\e820'}.nGY2Icon-wrench:before{content:'\e821'}.nGY2Icon-lightbulb:before{content:'\e822'}.nGY2Icon-resize-full:before{content:'\e823'}.nGY2Icon-resize-small:before{content:'\e824'}.nGY2Icon-left-open:before{content:'\e827'}.nGY2Icon-right-open:before{content:'\e828'}.nGY2Icon-arrows-cw:before{content:'\e829'}.nGY2Icon-level-up:before{content:'\e82a'}.nGY2Icon-play:before{content:'\e82b'}.nGY2Icon-pause:before{content:'\e82c'}.nGY2Icon-ngy2_chevron-left:before{content:'\e82d'}.nGY2Icon-ellipsis-vert:before{content:'\e82e'}.nGY2Icon-toggle-off:before{content:'\e82f'}.nGY2Icon-toggle-on:before{content:'\e830'}.nGY2Icon-check:before{content:'\e831'}.nGY2Icon-check-empty:before{content:'\e832'}.nGY2Icon-rocket:before{content:'\e833'}.nGY2Icon-filter:before{content:'\e834'}.nGY2Icon-magic:before{content:'\e835'}.nGY2Icon-pinterest-squared:before{content:'\e836'}.nGY2Icon-gplus-squared:before{content:'\e837'}.nGY2Icon-facebook-squared:before{content:'\e838'}.nGY2Icon-basket:before{content:'\e839'}.nGY2Icon-ok-circled:before{content:'\e83a'}.nGY2Icon-user:before{content:'\e83b'}.nGY2Icon-ngy2_chevron_left3:before{content:'\e83c'}.nGY2Icon-ngy2_chevron_right3:before{content:'\e83d'}.nGY2Icon-zoom-out-1:before{content:'\e83e'}.nGY2Icon-ngy2_zoom_out2:before{content:'\e83f'}.nGY2Icon-ngy2_zoom_in2:before{content:'\e840'}.nGY2Icon-ngy2_share2:before{content:'\e841'}.nGY2Icon-ngy2_external2:before{content:'\e842'}.nGY2Icon-ngy2_close2:before{content:'\e843'}.nGY2Icon-ngy2_info2:before{content:'\e844'}.nGY2Icon-ngy2_chevron_up2:before{content:'\e845'}.nGY2Icon-ngy2_download2:before{content:'\e846'}.nGY2Icon-mail-alt:before{content:'\f0e0'}.nGY2Icon-circle-empty:before{content:'\f10c'}.nGY2Icon-tumblr-squared:before{content:'\f174'}.nGY2Icon-twitter-squared:before{content:'\f304'}.nGY2Icon-youtube-play:before{content:'\f16a'}.nGY2Icon-vkontakte:before{content:'\f189'}.nGY2Icon-cw:before{content:'\e809'}.nGY2Icon-ccw:before{content:'\e80c'}[class^=nGY2Icon-]{margin-left:.2em;margin-right:.3em;font-family:ngy2_icon_font;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;text-align:center;font-variant:normal;text-transform:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2Navigationbar{margin:5px 0;padding:5px 0;display:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2Navigationbar .nGY2NavigationbarItem{margin:5px 2px;padding:8px 10px;white-space:nowrap;cursor:pointer;display:inline-block;vertical-align:middle;text-align:left;visibility:'hidden';box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2Navigationbar .oneItem{margin:0 5px;white-space:nowrap;vertical-align:middle;display:inline-block}.nGY2 .nGY2Gallery{position:relative;text-align:center;margin:0 auto;overflow:hidden;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GallerySub{perspective:900px;text-align:left;position:relative;width:100%;height:100%;overflow:hidden;display:inline-block;z-index:1;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnail,.nGY2 .nGY2GThumbnailStack{display:inline-block;position:absolute;box-sizing:border-box;border:0 solid #000;padding:0;overflow:hidden;cursor:pointer}.nGY2 .nGY2GThumbnail{background-color:#000;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailStack{background-color:#888;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailSub{width:100%;height:100%;display:block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;border:0 solid #000;margin:0;padding:0;overflow:hidden}.nGY2 .nGY2GThumbnailSubSelected{-webkit-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9)}.nGY2 .nGY2GThumbnailImage{position:relative;overflow:hidden;background:#000;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailImg{background:url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///////yH5BAEKAAEALAAAAAAQABAAAAIOjI+py+0Po5y02ouzPgUAOw==) center no-repeat;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;display:block;vertical-align:bottom;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailAnnotationOLD_NO_MORE_USED{background:rgba(34,34,34,.75);opacity:1;text-align:left;left:0;right:0;padding:1px;position:absolute;min-height:18px;overflow:hidden;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailCustomLayer{position:absolute;display:block;top:0;bottom:0;left:0;right:0;overflow:hidden;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailLabel{display:block;background:rgba(34,34,34,.75);left:0;right:0;padding:4px;margin:0;position:absolute;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailAlbumTitle,.nGY2 .nGY2GThumbnailDescription,.nGY2 .nGY2GThumbnailImageTitle{left:0;box-sizing:border-box;padding:0;Text-Shadow:#000 1px 0 0,#000 1px 1px 0,#000 1px -1px 0,#000 -1px 1px 0,#000 -1px 0 0,#000 -1px -1px 0,#000 0 1px 0,#000 0 -1px 0;right:0}.nGY2 .nGY2GThumbnailAlbumTitle,.nGY2 .nGY2GThumbnailImageTitle{color:#fff;margin:5px 1px 1px;white-space:nowrap;overflow:hidden;display:inline-block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailDescription{clear:both;margin:1px 1px 3px;color:#aaa;white-space:nowrap;font-size:.8em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailIcons{margin:0;position:absolute;display:inline-block;padding:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailIconsFullThumbnail{font-size:1.8em;color:#fff;Text-Shadow:#000 1px 0 0,#000 1px 1px 0,#000 1px -1px 0,#000 -1px 1px 0,#000 -1px 0 0,#000 -1px -1px 0,#000 0 1px 0,#000 0 -1px 0;padding:5px;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);display:inline-block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailIconText,.nGY2 .nGY2GThumbnailIconTextBadge{position:relative;display:inline-block;margin:0;vertical-align:middle}.nGY2 .nGY2GThumbnailIcon{display:inline-block;padding:4px;margin:0;color:#fff;Text-Shadow:#000 1px 0 0,#000 1px 1px 0,#000 1px -1px 0,#000 -1px 1px 0,#000 -1px 0 0,#000 -1px -1px 0,#000 0 1px 0,#000 0 -1px 0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailIconTextBadge{background-color:#fff;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailIconText{box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailAlbumUp i{position:absolute;top:50%;left:50%;margin:0;-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);transform:translateY(-50%) translateX(-50%)}.nGY2 .nGY2GThumbnailAlbumUp{color:#eee;font-size:1.2em;top:0;bottom:0;left:0;right:0;display:table;width:100%;text-align:center;position:absolute;margin:auto;padding:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2GThumbnailLoaderDisplayed:after,.nGY2 .nGY2GThumbnailLoaderDisplayed:before{display:block;position:absolute;border-style:solid;margin:auto;top:0;left:0;bottom:0;right:0;content:"";border-radius:50%}.nGY2 .nGY2GThumbnailLoaderDisplayed{visibility:visible;opacity:.8;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;zoom:1;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;width:40px;height:40px}.nGY2 .nGY2GThumbnailLoaderDisplayed:before{border-width:7px;width:24px;height:24px;animation:nGY2-thumbnail-spinner-rotate-animation 1s linear 0s infinite;border-color:#888 #000 #000 #888}.nGY2 .nGY2GThumbnailLoaderDisplayed:after{border-width:4px;width:16px;height:16px;animation:nGY2-thumbnail-spinner-anti-rotate-animation .8s linear 0s infinite;border-color:#666 #111 #111 #666}@keyframes nGY2-thumbnail-spinner-rotate-animation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes nGY2-thumbnail-spinner-anti-rotate-animation{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}.nGY2 .nGY2GalleryBottom{margin:0;padding:0;text-align:center;position:relative;overflow:hidden;white-space:nowrap}.nGY2 .nGY2GalleryMoreButton,.nGY2 .nGY2GalleryMoreButtonAnnotation,.nGY2 .nGY2GalleryPagination,.nGY2 .nGY2GalleryPaginationDot{margin:10px auto 5px;text-align:center;position:relative;white-space:nowrap;overflow:hidden}.nGY2 .nGY2GalleryMoreButton{padding:4px;display:inline-block;cursor:pointer}.nGY2 .nGY2GalleryMoreButtonAnnotation{border:1px solid #fff;padding:8px 20px;display:inline-block}.nGY2 .nGY2GalleryPagination,.nGY2 .nGY2GalleryPaginationDot{padding:4px}.nGY2 .nGY2PaginationNext,.nGY2 .nGY2PaginationPrev,.nGY2 .nGY2paginationItem,.nGY2 .nGY2paginationItemCurrentPage{margin:10px 4px;padding:5px 8px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#111;white-space:nowrap;cursor:pointer;vertical-align:middle;display:inline-block}.nGY2 .nGY2paginationItemCurrentPage{background:#333}.nGY2 .nGY2paginationDot,.nGY2 .nGY2paginationDotCurrentPage{width:16px;height:16px;border:2px solid #fff;background:#444;border-radius:50%;margin:12px 5px;white-space:nowrap;cursor:pointer;vertical-align:middle;display:inline-block;opacity:.5}.nGY2 .nGY2paginationDotCurrentPage{background:#fff;opacity:1}.nGY2 .nGY2paginationRectangle,.nGY2 .nGY2paginationRectangleCurrentPage{width:30px;border:1px solid #fff;height:0;background:#444;margin:5px 1px;white-space:nowrap;cursor:pointer;vertical-align:middle;display:inline-block;opacity:.5}.nGY2 .nGY2paginationRectangleCurrentPage{background:#fff;opacity:1}.nGY2Popup{position:fixed;color:#000;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.5)}.nGY2PopupContent,.nGY2PopupContentCenter,.nGY2PopupContentLeft,.nGY2PopupContentRight{position:fixed;text-align:left;top:50%;left:50%;padding:15px 30px;height:auto;width:50%;background:#fff;-webkit-transform:translateX(-50%) translateY(-50%);-moz-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}@media screen and (max-width:992px){.nGY2PopupContent,.nGY2PopupContentCenter,.nGY2PopupContentLeft,.nGY2PopupContentRight{width:95%;padding:5px 10px}}.nGY2 .nGY2Viewer,.nGY2 .nGY2ViewerContainer{top:0;height:100%;width:100%;left:0;position:fixed}.nGY2PopupContentCenter{text-align:center}.nGY2PopupTitle{font-size:1.5em;border-bottom:4px solid #888;padding:0 0 5px;margin-bottom:10px}.nGY2PopupCloseButton{font-size:1.5em;cursor:pointer;text-align:right}.nGY2PopupOneItem{padding:10px;font-size:2em;cursor:pointer;display:inline-block}.nGY2PopupOneItemText{padding:10px;font-size:1.2em;cursor:pointer;display:block}.nGY2PortInfo{padding:3px!important;font-size:14px!important;color:#FF0075!important;text-align:center!important;z-index:0!important;text-transform:lowercase!important;cursor:pointer!important}.nGY2PortInfo a,.nGY2PortInfo a:active,.nGY2PortInfo a:hover,.nGY2PortInfo>a:link,.nGY2PortInfo>a:visited{color:#FF0075!important;text-decoration:none!important}.nGY2 .nGY2ViewerContainer{opacity:0}.nGY2 .nGY2Viewer{display:block;visibility:visible;opacity:1;background-color:rgba(1,1,1,.85);text-align:center;clear:both;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none}.nGY2 .nGY2ViewerLogo{text-align:center;float:left;position:relative;top:50px;left:5px;padding:2px;background:url(nanogallery2_logo.png) center no-repeat;display:block;height:74px;width:147px}.nGY2 .nGY2ViewerContent{min-width:40px;min-height:40px;position:absolute;clear:both;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;overflow:hidden}.nGY2 .nGY2ViewerMediaPan{transform-origin:50% 50% 0;visibility:visible;opacity:1;position:absolute;display:inline-block;padding:0;top:0;bottom:0;left:0;right:0;margin:auto;zoom:1;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2ViewerMedia,.nGY2 .nGY2ViewerMediaLoaderHidden{visibility:visible;bottom:0;margin:auto;zoom:1;box-sizing:border-box;left:0;right:0}.nGY2 .nGY2ViewerMedia{max-width:none;opacity:1;will-change:transform;transform:translateZ(0);position:absolute;top:0;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;pointer-events:none;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 iframe.nGY2ViewerMedia,.nGY2 video.nGY2ViewerMedia{pointer-events:auto}.nGY2 .nGY2ViewerMediaLoaderDisplayed{visibility:visible;opacity:1;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;zoom:1;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;width:50px;height:50px}.nGY2 .nGY2ViewerMediaLoaderDisplayed:before{top:0;bottom:0;left:0;right:0;margin:auto;content:"";display:block;position:absolute;border-width:7px;border-style:solid;border-radius:50%;width:38px;height:38px;animation:nGY2-spinner-rotate-animation 1s linear 0s infinite;border-color:#444 #23CB99 #23CB99 #444}.nGY2 .nGY2ViewerMediaLoaderDisplayed:after{content:"";display:block;position:absolute;border-width:4px;border-style:solid;border-radius:50%;width:24px;height:24px;top:0;bottom:0;left:0;right:0;margin:auto;animation:nGY2-spinner-anti-rotate-animation .85s linear 0s infinite;border-color:#333 #23CB99 #23CB99 #333}@keyframes nGY2-spinner-rotate-animation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes nGY2-spinner-anti-rotate-animation{0%{transform:rotate(0)}100%{transform:rotate(-360deg)}}.nGY2 .nGY2ViewerMediaLoaderHidden{opacity:0;position:absolute;top:0;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;background-image:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box}.nGY2 .nGY2ViewerAreaNext>i,.nGY2 .nGY2ViewerAreaPrevious>i{font-weight:700!important;font-size:2em;Text-Shadow:#000 1px 0 0,#000 1px 1px 0,#000 1px -1px 0,#000 -1px 1px 0,#000 -1px 0 0,#000 -1px -1px 0,#000 0 1px 0,#000 0 -1px 0;background:rgba(0,0,0,.2)}.nGY2 .nGY2ViewerContent .imgCurrent{cursor:pointer}.nGY2 .nGY2ViewerAreaPrevious{color:#fff;display:block;position:absolute;top:50%;padding:10px 0 10px 5px;margin-top:-25px;left:0;text-align:left;cursor:pointer;opacity:1;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;transition:all .2s ease;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease}.nGY2 .nGY2ViewerAreaPrevious>i{margin:0!important}.nGY2 .nGY2ViewerAreaNext{color:#fff;display:block;position:absolute;top:50%;padding:10px 5px 10px 0;margin-top:-25px;right:0;text-align:right;cursor:pointer;opacity:1;user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;transition:all .2s ease;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease}.nGY2 .nGY2ViewerToolsTopLeft,.nGY2 .nGY2ViewerToolsTopRight{top:5px;position:absolute;text-shadow:-1px -1px 0 #444,1px -1px 0 #444,-1px 1px 0 #444,1px 1px 0 #444;opacity:1;cursor:pointer}.nGY2 .nGY2ViewerAreaNext>i{margin:0!important}.nGY2 .toolbarContainer{left:0;right:0;text-align:center;display:inline-block;position:absolute;width:100%}.nGY2 .toolbar{display:inline-block;vertical-align:middle;overflow:hidden;padding:2px 0;margin:1px}.nGY2 .toolbar .label,.nGY2 .toolbar .ngbt,.nGY2 .toolbar .pageCounter{display:table-cell;vertical-align:middle}.nGY2 .toolbarBackground{background:rgba(4,4,4,.7)}.nGY2 .nGY2ViewerToolsTopLeft{color:#ddd;left:5px;transition:all .2s ease;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease}.nGY2 .nGY2ViewerToolsTopRight{color:#ddd;right:5px;transition:all .2s ease;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease}.nGY2 .toolbar .ngbt{font-size:1.2em;cursor:pointer;padding:2px 8px}.nGY2 .ngy2viewerToolAction{opacity:1}.nGY2 .ngy2viewerToolAction:hover{opacity:.8}.nGY2 .toolbar .pageCounter{font-size:1.2em;margin:auto;overflow:hidden}.nGY2 .toolbar .label{padding:3px 10px;border-left:0 solid #000;overflow:hidden;text-align:left;font-size:1em;background-color:initial}.nGY2 .toolbar .label .title{font-size:1.2em;margin:auto;vertical-align:middle;overflow:hidden}.nGY2 .toolbar .label .description{font-size:.9em;display:table-row;vertical-align:middle;overflow:hidden;color:#eee}.nGY2 .nGY2viewerGallery{overflow:hidden;position:fixed;display:none;opacity:0;bottom:5px}.nGY2 .nGY2viewerGallery .nGY2VThumbnailContainer{overflow:hidden;display:inline-block;position:absolute;top:0}.nGY2 .nGY2viewerGallery .nGY2VThumbnail{top:0;padding:0;border:1px solid #888;position:absolute;opacity:1;background-position:center center;background-repeat:no-repeat;background-size:cover;overflow:hidden}.nGY2 .nGY2viewerGallery .activeVThumbnail{border:2px solid #fff}.nGY2ConsoleParent{visibility:hidden;height:0;background:#111;color:#e00;padding:0;margin:2px}.nGY2ConsoleParent p{color:#e00;padding:1px;margin:0}.nGY2 .nanoGalleryLBar,.nGY2 .nanoGalleryLBarOff{position:relative;width:100%;margin:0 0 1px;background-color:#556;height:2px}.nGY2.unselectable{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;user-select:none}.nGY2 .nanoGalleryLBarOff{visibility:hidden}.nGY2 .nanoGalleryLBar{visibility:visible}.nGY2 .nanoGalleryLBar>div{position:absolute;width:50px;height:2px;top:0;opacity:.7}.nGY2 .nanoGalleryLBar>div:nth-child(1){-webkit-animation:nanoGalleryLBarAnim 2s -.2s infinite cubic-bezier(0,.6,.9,0);-moz-animation:nanoGalleryLBarAnim 2s -.2s infinite cubic-bezier(0,.6,.9,0);-ms-animation:nanoGalleryLBarAnim 2s -.2s infinite cubic-bezier(0,.6,.9,0);-o-animation:nanoGalleryLBarAnim 2s -.2s infinite cubic-bezier(0,.6,.9,0);animation:nanoGalleryLBarAnim 2s -.2s infinite cubic-bezier(0,.6,.9,0);background:#111}.nGY2 .nanoGalleryLBar>div:nth-child(2){-webkit-animation:nanoGalleryLBarAnim 2s -.4s infinite cubic-bezier(0,.6,.9,0);-moz-animation:nanoGalleryLBarAnim 2s -.4s infinite cubic-bezier(0,.6,.9,0);-ms-animation:nanoGalleryLBarAnim 2s -.4s infinite cubic-bezier(0,.6,.9,0);-o-animation:nanoGalleryLBarAnim 2s -.4s infinite cubic-bezier(0,.6,.9,0);animation:nanoGalleryLBarAnim 2s -.4s infinite cubic-bezier(0,.6,.9,0);background:#333}.nGY2 .nanoGalleryLBar>div:nth-child(3){-webkit-animation:nanoGalleryLBarAnim 2s -.6s infinite cubic-bezier(0,.6,.9,0);-moz-animation:nanoGalleryLBarAnim 2s -.6s infinite cubic-bezier(0,.6,.9,0);-ms-animation:nanoGalleryLBarAnim 2s -.6s infinite cubic-bezier(0,.6,.9,0);-o-animation:nanoGalleryLBarAnim 2s -.6s infinite cubic-bezier(0,.6,.9,0);animation:nanoGalleryLBarAnim 2s -.6s infinite cubic-bezier(0,.6,.9,0);background:#ccd}.nGY2 .nanoGalleryLBar>div:nth-child(4){-webkit-animation:nanoGalleryLBarAnim 2s -.8s infinite cubic-bezier(0,.6,.9,0);-moz-animation:nanoGalleryLBarAnim 2s -.8s infinite cubic-bezier(0,.6,.9,0);-ms-animation:nanoGalleryLBarAnim 2s -.8s infinite cubic-bezier(0,.6,.9,0);-o-animation:nanoGalleryLBarAnim 2s -.8s infinite cubic-bezier(0,.6,.9,0);animation:nanoGalleryLBarAnim 2s -.8s infinite cubic-bezier(0,.6,.9,0);background:#777}.nGY2 .nanoGalleryLBar>div:nth-child(5){-webkit-animation:nanoGalleryLBarAnim 2s -1s infinite cubic-bezier(0,.6,.9,0);-moz-animation:nanoGalleryLBarAnim 2s -1s infinite cubic-bezier(0,.6,.9,0);-ms-animation:nanoGalleryLBarAnim 2s -1s infinite cubic-bezier(0,.6,.9,0);-o-animation:nanoGalleryLBarAnim 2s -1s infinite cubic-bezier(0,.6,.9,0);animation:nanoGalleryLBarAnim 2s -1s infinite cubic-bezier(0,.6,.9,0);background:#ddd}@-webkit-keyframes nanoGalleryLBarAnim{0%{left:10%}100%{left:90%}}@-moz-keyframes nanoGalleryLBarAnim{0%{left:10%}100%{left:90%}}@-ms-keyframes nanoGalleryLBarAnim{0%{left:10%}100%{left:90%}}@-o-keyframes nanoGalleryLBarAnim{0%{left:10%}100%{left:90%}}@keyframes nanoGalleryLBarAnim{0%{left:10%}100%{left:90%}}.NGY2ThumbnailLightbox{cursor:pointer} \ No newline at end of file diff --git a/dist/jquery.nanogallery2.core.min.js b/dist/jquery.nanogallery2.core.min.js index 5a433adb..54834535 100644 --- a/dist/jquery.nanogallery2.core.min.js +++ b/dist/jquery.nanogallery2.core.min.js @@ -1,4 +1,4 @@ -/* nanogallery2 - v3.0.4 - 2020-12-25 */ +/* nanogallery2 - v3.0.5 - 2021-01-06 */ /*! * @preserve nanogallery2 - javascript photo / video gallery and lightbox * Homepage: http://nanogallery2.nanostudio.org @@ -18,20 +18,33 @@ * - webfont generated with http://fontello.com - mainly based on Font Awesome Copyright (C) 2012 by Dave Gandy (http://fontawesome.io/) * - ICO online converter: https://iconverticons.com/online/ */ -!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports&&"function"==typeof require?e(require("jquery")):e(jQuery)}((function(e){"use strict";function t(e){var t=document.getElementById("ngyColorHelperToRGB");return null===t&&((t=document.createElement("div")).id="ngyColorHelperToRGB",t.style.cssText="display: none; color:"+e+";",document.body.appendChild(t)),getComputedStyle(t).color}function n(e,t,n){var i="";if("RGBA("==t.toUpperCase().substring(0,5)&&(i="a",t="rgb("+t.substring(5)),"number"!=typeof e||e<-1||e>1||"string"!=typeof t||"r"!=t[0]&&"#"!=t[0]||"string"!=typeof n&&void 0!==n)return null;function a(e){var t=e.length,n=new Object;if(t>9){if((e=e.split(",")).length<3||e.length>4)return null;n[0]=o(e[0].slice(4)),n[1]=o(e[1]),n[2]=o(e[2]),n[3]=e[3]?parseFloat(e[3]):-1}else{if(8==t||6==t||t<4)return null;t<6&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+(t>4?e[4]+""+e[4]:"")),e=o(e.slice(1),16),n[0]=e>>16&255,n[1]=e>>8&255,n[2]=255&e,n[3]=9==t||5==t?r((e>>24&255)/255*1e4)/1e4:-1}return n}var o=parseInt,r=Math.round,l=t.length>9,s=(l="string"==typeof n?n.length>9||"c"==n&&!l:l,e<0),u=(e=s?-1*e:e,n=n&&"c"!=n?n:s?"#000000":"#FFFFFF",a(t)),c=a(n);return u&&c?l?"rgb"+i+"("+r((c[0]-u[0])*e+u[0])+","+r((c[1]-u[1])*e+u[1])+","+r((c[2]-u[2])*e+u[2])+(u[3]<0&&c[3]<0?")":","+(u[3]>-1&&c[3]>-1?r(1e4*((c[3]-u[3])*e+u[3]))/1e4:c[3]<0?u[3]:c[3])+")"):"#"+(4294967296+16777216*(u[3]>-1&&c[3]>-1?r(255*((c[3]-u[3])*e+u[3])):c[3]>-1?r(255*c[3]):u[3]>-1?r(255*u[3]):255)+65536*r((c[0]-u[0])*e+u[0])+256*r((c[1]-u[1])*e+u[1])+r((c[2]-u[2])*e+u[2])).toString(16).slice(u[3]>-1||c[3]>-1?1:3):null}function i(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)t[n]=i(e[n]);return t}function a(){var e=jQuery(window);return{l:e.scrollLeft(),t:e.scrollTop(),w:e.width(),h:e.height()}}function o(e,t){var n=0;""==e&&(e="*"),jQuery(e).each((function(){var e=parseInt(jQuery(this).css("z-index"));n=e>n?e:n})),n++,jQuery(t).css("z-index",n)}var r=function(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()};function l(){this.LightboxReOpen=function(){m()},this.ReloadAlbum=function(){if(""===u.O.kind)throw"Not supported for this content source:"+u.O.kind;var e=u.GOM.albumIdx;if(-1==e)throw"Current album not found.";for(var t=u.I[e].GetID(),n=u.I.length,i=0;i1&&e--,u.GOM.pagination.currentPage=e,u.GOM.ScrollToTop(),L(),C(!0),!1},this.PaginationCountPages=function(){return 0==u.GOM.items.length?0:Math.ceil((u.GOM.items[u.GOM.items.length-1].row+1)/u.galleryMaxRows.Get())};var s=function(e,t,n){var i;return function(){var a=this,o=arguments;function r(){n||e.apply(a,o),i=null}i?clearTimeout(i):n&&e.apply(a,o),i=setTimeout(r,t||100)}};window.ng_draf=function(e){return requestAnimationFrame((function(){window.requestAnimationFrame(e)}))},window.requestTimeout=function(e,t){if(!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame&&window.mozCancelRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame))return window.setTimeout(e,t);var n=(new Date).getTime(),i=new Object;return i.value=requestAnimFrame((function a(){(new Date).getTime()-n>=t?e.call():i.value=requestAnimFrame(a)})),i},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)},window.clearRequestTimeout=function(e){window.cancelAnimationFrame?window.cancelAnimationFrame(e.value):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(e.value):window.webkitCancelRequestAnimationFrame?window.webkitCancelRequestAnimationFrame(e.value):window.mozCancelRequestAnimationFrame?window.mozCancelRequestAnimationFrame(e.value):window.oCancelRequestAnimationFrame?window.oCancelRequestAnimationFrame(e.value):window.msCancelRequestAnimationFrame?window.msCancelRequestAnimationFrame(e.value):clearTimeout(e)};var u=this;function c(e){this.$e=null,this.ngy2ItemIdx=e,this.mediaNumber=u.VOM.items.length+1,this.posX=0,this.posY=0}u.I=[],u.Id=[],u.O=null,u.baseEltID=null,u.$E={base:null,conTnParent:null,conLoadingB:null,conConsole:null,conNavigationBar:null,conTnBottom:null,scrollableParent:null},u.shoppingCart=[],u.layout={internal:!0,engine:"",support:{rows:!1},prerequisite:{imageSize:!1},SetEngine:function(){if(u.layout.internal){if("auto"==u.tn.settings.width[u.GOM.curNavLevel][u.GOM.curWidth]||""==u.tn.settings.width[u.GOM.curNavLevel][u.GOM.curWidth])return u.layout.engine="JUSTIFIED",u.layout.support.rows=!0,void(u.layout.prerequisite.imageSize=!0);if("auto"==u.tn.settings.height[u.GOM.curNavLevel][u.GOM.curWidth]||""==u.tn.settings.height[u.GOM.curNavLevel][u.GOM.curWidth])return u.layout.engine="CASCADING",u.layout.support.rows=!1,void(u.layout.prerequisite.imageSize=!0);if(null!=u.tn.settings.getMosaic())return u.layout.engine="MOSAIC",u.layout.support.rows=!0,void(u.layout.prerequisite.imageSize=!1);u.layout.engine="GRID",u.layout.support.rows=!0,u.layout.prerequisite.imageSize=!1}}},u.galleryResizeEventEnabled=!1,u.galleryMaxRows={l1:0,lN:0,Get:function(){return u.galleryMaxRows[u.GOM.curNavLevel]}},u.galleryMaxItems={l1:0,lN:0,Get:function(){return u.galleryMaxItems[u.GOM.curNavLevel]}},u.galleryFilterTags={l1:0,lN:0,Get:function(){return u.galleryFilterTags[u.GOM.curNavLevel]}},u.galleryFilterTagsMode={l1:0,lN:0,Get:function(){return u.galleryFilterTagsMode[u.GOM.curNavLevel]}},u.galleryDisplayMode={l1:"FULLCONTENT",lN:"FULLCONTENT",Get:function(){return u.galleryDisplayMode[u.GOM.curNavLevel]}},u.galleryLastRowFull={l1:!1,lN:!1,Get:function(){return u.galleryLastRowFull[u.GOM.curNavLevel]}},u.gallerySorting={l1:"",lN:"",Get:function(){return u.gallerySorting[u.GOM.curNavLevel]}},u.galleryDisplayTransition={l1:"none",lN:"none",Get:function(){return u.galleryDisplayTransition[u.GOM.curNavLevel]}},u.galleryDisplayTransitionDuration={l1:500,lN:500,Get:function(){return u.galleryDisplayTransitionDuration[u.GOM.curNavLevel]}},u.$currentTouchedThumbnail=null,u.tn={opt:{l1:{crop:!0,stacks:0,stacksTranslateX:0,stacksTranslateY:0,stacksTranslateZ:0,stacksRotateX:0,stacksRotateY:0,stacksRotateZ:0,stacksScale:0,borderHorizontal:0,borderVertical:0,baseGridHeight:0,displayTransition:"FADEIN",displayTransitionStartVal:0,displayTransitionEasing:"easeOutQuart",displayTransitionDuration:240,displayInterval:15},lN:{crop:!0,stacks:0,stacksTranslateX:0,stacksTranslateY:0,stacksTranslateZ:0,stacksRotateX:0,stacksRotateY:0,stacksRotateZ:0,stacksScale:0,borderHorizontal:0,borderVertical:0,baseGridHeight:0,displayTransition:"FADEIN",displayTransitionStartVal:0,displayTransitionEasing:"easeOutQuart",displayTransitionDuration:240,displayInterval:15},Get:function(e){return u.tn.opt[u.GOM.curNavLevel][e]}},scale:1,labelHeight:{l1:0,lN:0,get:function(){return u.tn.labelHeight[u.GOM.curNavLevel]}},defaultSize:{width:{l1:{xs:0,sm:0,me:0,la:0,xl:0},lN:{xs:0,sm:0,me:0,la:0,xl:0}},height:{l1:{xs:0,sm:0,me:0,la:0,xl:0},lN:{xs:0,sm:0,me:0,la:0,xl:0}},getWidth:function(){return u.tn.defaultSize.width[u.GOM.curNavLevel][u.GOM.curWidth]},getOuterWidth:function(){u.tn.borderWidth=u.tn.opt.Get("borderHorizontal"),u.tn.borderHeight=u.tn.opt.Get("borderVertical");var e=u.tn.defaultSize.width[u.GOM.curNavLevel][u.GOM.curWidth]+2*u.tn.opt.Get("borderHorizontal");return"right"!=u.O.thumbnailLabel.get("position")&&"left"!=u.O.thumbnailLabel.get("position")||(e+=u.tn.defaultSize.width[u.GOM.curNavLevel][u.GOM.curWidth]),e},getHeight:function(){return u.tn.defaultSize.height[u.GOM.curNavLevel][u.GOM.curWidth]},getOuterHeight:function(){return u.tn.defaultSize.height[u.GOM.curNavLevel][u.GOM.curWidth]+2*u.tn.opt.Get("borderVertical")}},settings:{width:{l1:{xs:0,sm:0,me:0,la:0,xl:0,xsc:"u",smc:"u",mec:"u",lac:"u",xlc:"u"},lN:{xs:0,sm:0,me:0,la:0,xl:0,xsc:"u",smc:"u",mec:"u",lac:"u",xlc:"u"}},height:{l1:{xs:0,sm:0,me:0,la:0,xl:0,xsc:"u",smc:"u",mec:"u",lac:"u",xlc:"u"},lN:{xs:0,sm:0,me:0,la:0,xl:0,xsc:"u",smc:"u",mec:"u",lac:"u",xlc:"u"}},getH:function(e,t){var n=null==e?u.GOM.curNavLevel:e,i=null==t?u.GOM.curWidth:t;return"MOSAIC"==u.layout.engine?this.height[n][i]*this.mosaic[n+"Factor"].h[i]:this.height[n][i]},getW:function(e,t){var n=null==e?u.GOM.curNavLevel:e,i=null==t?u.GOM.curWidth:t;return"MOSAIC"==u.layout.engine?this.width[n][i]*this.mosaic[n+"Factor"].w[i]:this.width[n][i]},mosaic:{l1:{xs:null,sm:null,me:null,la:null,xl:null},lN:{xs:null,sm:null,me:null,la:null,xl:null},l1Factor:{h:{xs:1,sm:1,me:1,la:1,xl:1},w:{xs:1,sm:1,me:1,la:1,xl:1}},lNFactor:{h:{xs:1,sm:1,me:1,la:1,xl:1},w:{xs:1,sm:1,me:1,la:1,xl:1}}},getMosaic:function(){return this.mosaic[u.GOM.curNavLevel][u.GOM.curWidth]},mosaicCalcFactor:function(e,t){for(var n=1,i=1,a=0;at?(r&&(clearTimeout(r),r=null),l=u,o=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(s,c)),o}}(x,15,{leading:!1}),u.blockList=null,u.allowList=null,u.albumList=[],u.locationHashLastUsed="",u.custGlobals={},u.touchAutoOpenDelayTimerID=0,u.i18nLang="",u.timeLastTouchStart=0,u.custGlobals={},u.markupOrApiProcessed=!1,u.GOM={albumIdx:-1,clipArea:{top:0,height:0},displayArea:{width:0,height:0},displayAreaLast:{width:0,height:0},displayedMoreSteps:0,items:[],$imgPreloader:[],thumbnails2Display:[],itemsDisplayed:0,firstDisplay:!0,firstDisplayTime:0,navigationBar:{displayed:!1,$newContent:""},cache:{viewport:null,containerOffset:null,areaWidth:100},nbSelected:0,pagination:{currentPage:0},panThreshold:60,panYOnly:!1,lastFullRow:-1,lastDisplayedIdx:-1,displayInterval:{from:0,len:0},hammertime:null,curNavLevel:"l1",curWidth:"me",albumSearch:"",albumSearchTags:"",lastZIndex:0,lastRandomValue:0,slider:{hostIdx:-1,hostItem:null,currentIdx:0,nextIdx:0,timerID:0,tween:null},NGY2Item:function(e){if(null==u.GOM.items[e]||null==u.GOM.items[e])return null;var t=u.GOM.items[e].thumbnailIdx;return u.I[t]},GTn:function(e,t,n){this.thumbnailIdx=e,this.width=0,this.height=0,this.top=0,this.left=0,this.row=0,this.imageWidth=t,this.imageHeight=n,this.resizedContentWidth=0,this.resizedContentHeight=0,this.displayed=!1,this.neverDisplayed=!0,this.inDisplayArea=!1},ScrollToTop:function(){var e,t,n,i;if(!u.GOM.firstDisplay&&(null!==u.$E.scrollableParent||(e=u.$E.base,t=20,n=a(),(i=e.offset()).top>=n.t&&i.top<=n.t+n.h-t)||u.$E.base.get(0).scrollIntoView(),null!==u.$E.scrollableParent)){var o=u.$E.scrollableParent.scrollTop(),r=Math.abs(u.$E.scrollableParent.offset().top-u.$E.base.offset().top-o);o>r&&window.ng_draf((function(){u.$E.scrollableParent.scrollTop(r)}))}}},u.VOM={viewerDisplayed:!1,viewerIsFullscreen:!1,infoDisplayed:!1,toolbarsDisplayed:!0,toolsHide:null,zoom:{posX:0,posY:0,userFactor:1,isZooming:!1},padding:{H:0,V:0},window:{lastWidth:0,lastHeight:0},$viewer:null,$toolbar:null,$toolbarTL:null,$toolbarTR:null,toolbarMode:"std",playSlideshow:!1,playSlideshowTimerID:0,slideshowDelay:3e3,albumID:-1,viewerMediaIsChanged:!1,items:[],panMode:"off",$baseCont:null,$content:null,content:{previous:{vIdx:-1,$media:null,NGY2Item:function(){return u.I[u.VOM.items[u.VOM.content.previous.vIdx].ngy2ItemIdx]}},current:{vIdx:-1,$media:null,NGY2Item:function(){return u.I[u.VOM.items[u.VOM.content.current.vIdx].ngy2ItemIdx]}},next:{vIdx:-1,$media:null,NGY2Item:function(){return u.I[u.VOM.items[u.VOM.content.next.vIdx].ngy2ItemIdx]}}},IdxNext:function(){var e=0;return u.VOM.content.current.vIdx=t){var n=this.oneTmbWidth*u.VOM.content.current.vIdx;n+this.posX=this.vwidth&&(this.posX=this.vwidth-(n+this.oneTmbWidth))}this.PanGallery(0)}},PanGallery:function(e){this.gwidththis.vwidth-this.oneTmbWidth&&(this.posX=this.vwidth-this.oneTmbWidth),this.posX+this.gwidthu.VOM.ImageLoader.maxChecks?(u.VOM.ImageLoader.list[i]=null,e.callback(0,0,e.ngitem,e.checks)):(t++,e.checks++));0==t&&(u.VOM.ImageLoader.list=[],clearInterval(u.VOM.ImageLoader.intervalHandle),delete u.VOM.ImageLoader.intervalHandle)}}},u.popup={isDisplayed:!1,$elt:null,close:function(){null!=this.$elt&&(new NGTweenable).tween({from:{opacity:1},to:{opacity:0},attachment:{t:this},easing:"easeInOutSine",duration:100,step:function(e,t){null!=t.t.$elt&&t.t.$elt.css("opacity",e.opacity)},finish:function(e,t){null!=t.t.$elt&&(t.t.$elt.remove(),t.t.$elt=null),t.t.isDisplayed=!1}})}},u.galleryTheme_dark={navigationBar:{background:"none",borderTop:"",borderBottom:"",borderRight:"",borderLeft:""},navigationBreadcrumb:{background:"#111",color:"#fff",colorHover:"#ccc",borderRadius:"4px"},navigationFilter:{color:"#ddd",background:"#111",colorSelected:"#fff",backgroundSelected:"#111",borderRadius:"4px"},navigationPagination:{background:"#111",color:"#fff",colorHover:"#ccc",borderRadius:"4px"},thumbnail:{background:"#444",backgroundImage:"linear-gradient(315deg, #111 0%, #445 90%)",borderColor:"#000",borderRadius:"0px",labelOpacity:1,labelBackground:"rgba(34, 34, 34, 0)",titleColor:"#fff",titleBgColor:"transparent",titleShadow:"",descriptionColor:"#ccc",descriptionBgColor:"transparent",descriptionShadow:"",stackBackground:"#aaa"},thumbnailIcon:{padding:"5px",color:"#fff",shadow:""},pagination:{background:"#181818",backgroundSelected:"#666",color:"#fff",borderRadius:"2px",shapeBorder:"3px solid #666",shapeColor:"#444",shapeSelectedColor:"#aaa"}},u.galleryTheme_light={navigationBar:{background:"none",borderTop:"",borderBottom:"",borderRight:"",borderLeft:""},navigationBreadcrumb:{background:"#eee",color:"#000",colorHover:"#333",borderRadius:"4px"},navigationFilter:{background:"#eee",color:"#222",colorSelected:"#000",backgroundSelected:"#eee",borderRadius:"4px"},navigationPagination:{background:"#eee",color:"#000",colorHover:"#333",borderRadius:"4px"},thumbnail:{background:"#444",backgroundImage:"linear-gradient(315deg, #111 0%, #445 90%)",borderColor:"#000",labelOpacity:1,labelBackground:"rgba(34, 34, 34, 0)",titleColor:"#fff",titleBgColor:"transparent",titleShadow:"",descriptionColor:"#ccc",descriptionBgColor:"transparent",descriptionShadow:"",stackBackground:"#888"},thumbnailIcon:{padding:"5px",color:"#fff"},pagination:{background:"#eee",backgroundSelected:"#aaa",color:"#000",borderRadius:"2px",shapeBorder:"3px solid #666",shapeColor:"#444",shapeSelectedColor:"#aaa"}},u.viewerTheme_dark={background:"#000",barBackground:"rgba(4, 4, 4, 0.2)",barBorder:"0px solid #111",barColor:"#fff",barDescriptionColor:"#ccc"},u.viewerTheme_light={background:"#f8f8f8",barBackground:"rgba(4, 4, 4, 0.7)",barBorder:"0px solid #111",barColor:"#fff",barDescriptionColor:"#ccc"};var h=NGY2Tools.NanoAlert,d=NGY2Tools.NanoConsoleLog;function m(){u.VOM.items=[],u.VOM.albumID="0",u.GOM.curNavLevel="l1";for(var e=0,t=u.$E.base[0].src,n=void 0,i=0;i0?De(n):d(u,"No content for Lightbox standalone.")}function p(e){var t={albumID:"0",imageID:"0"},n=e.split("/");return n.length>0&&(t.albumID=n[0],n.length>1&&(t.imageID=n[1])),t}function g(e,t){u.VOM.viewerDisplayed&&tt(null);var n=NGY2Item.GetIdx(u,t);u.GOM.curNavLevel="lN",0==n&&(u.GOM.curNavLevel="l1"),u.layout.SetEngine(),u.galleryResizeEventEnabled=!1,-1==n&&(NGY2Item.New(u,"","",t,"0","album"),n=u.I.length-1),u.I[n].contentIsLoaded?(de(),u.GOM.pagination.currentPage=0,rt(t,""),w(n)):q(t,g,e,t)}function f(){switch(u.galleryDisplayMode.Get()){case"PAGINATION":u.layout.support.rows&&u.galleryMaxRows.Get()>0&&function(){if(u.$E.conTnBottom.css("opacity",0),u.$E.conTnBottom.children().remove(),0==u.GOM.items.length)return;var e=Math.ceil((u.GOM.items[u.GOM.items.length-1].row+1)/u.galleryMaxRows.Get());if(1==e)return;u.GOM.pagination.currentPage>e-1&&(u.GOM.pagination.currentPage=e-1);if(M(),0==u.GOM.displayInterval.len)return;if("NUMBERS"==u.O.galleryPaginationMode&&u.GOM.pagination.currentPage>0){jQuery('
'+u.O.icons.paginationPrevious+"
").appendTo(u.$E.conTnBottom).click((function(e){G()}))}var t=0,n=e;if("NUMBERS"!=u.O.galleryPaginationMode)t=0;else{var i=u.O.paginationVisiblePages;if(i>=e)t=0;else{var a=0;a=i%2==1?(i+1)/2:i/2,u.GOM.pagination.currentPagee&&(n=e-1)):(t=u.GOM.pagination.currentPage-a,(n=t+i)>e&&(n=e-1)),n-t'+l+"").appendTo(u.$E.conTnBottom);s.data("pageNumber",o),s.click((function(e){u.GOM.pagination.currentPage=jQuery(this).data("pageNumber"),at("pageChanged"),u.GOM.ScrollToTop(),L(),C(!0)}))}if("NUMBERS"==u.O.galleryPaginationMode&&u.GOM.pagination.currentPage+1'+u.O.icons.paginationNext+"").appendTo(u.$E.conTnBottom).click((function(e){y()}))}u.$E.conTnBottom.css("opacity",1)}();break;case"MOREBUTTON":u.$E.conTnBottom.off("click");var e=u.GOM.items.length-u.GOM.itemsDisplayed;0==e?u.$E.conTnBottom.empty():(u.$E.conTnBottom.html('
+'+e+" "+u.O.icons.galleryMoreButton+"
"),u.$E.conTnBottom.on("click",(function(e){u.GOM.displayedMoreSteps++,x()})))}}function b(e){var t="";u.O.breadcrumbHideIcons||(t=u.O.icons.breadcrumbAlbum,0==e&&(t=u.O.icons.breadcrumbHome));var n=jQuery('
'+t+u.I[e].title+"
").appendTo(u.GOM.navigationBar.$newContent.find(".nGY2Breadcrumb"));u.O.breadcrumbOnlyCurrentLevel?0==e?jQuery(n).data("albumID","0"):jQuery(n).data("albumID",u.I[e].albumID):jQuery(n).data("albumID",u.I[e].GetID()),n.click((function(){g("-1",jQuery(this).data("albumID"))}))}function v(e){var t=jQuery('
'+(u.O.RTL?u.O.icons.breadcrumbSeparatorRtl:u.O.icons.breadcrumbSeparator)+"
").appendTo(u.GOM.navigationBar.$newContent.find(".nGY2Breadcrumb"));jQuery(t).data("albumIdx",e),t.click((function(){var e=jQuery(this).data("albumIdx");g("-1",u.I[e].GetID())}))}function O(e){if(u.GOM.navigationBar.$newContent=jQuery('
'),1==u.O.displayBreadcrumb&&!u.O.thumbnailAlbumDisplayImage){var t=0,n=[];if(0!=e){var i=u.I.length;n.push(e);var a=e;for(t++;0!=u.I[a].albumID&&-1!=u.I[a].albumID;)for(var o=1;o').appendTo(u.GOM.navigationBar.$newContent),u.O.breadcrumbOnlyCurrentLevel)0==e.length?b(0):(1==e.length?v(0):v(e[0]),b(e[0]));else if(b(0),e.length>0){v(0);for(var t=e.length-1;t>=0;t--)b(e[t]),t>0&&v(e[t-1])}}(n)}if(0!=u.galleryFilterTags.Get()){var r=u.I[e].albumTagList.length;if(r>0){for(o=0;o=0&&(c="Selected",s=u.O.icons.navigationFilterSelected),jQuery('
'+s+" "+l+"
").appendTo(u.GOM.navigationBar.$newContent).click((function(){var t=jQuery(this),n=t.text().replace(/^\s*|\s*$/,"");if("single"==u.galleryFilterTagsMode.Get())u.I[e].albumTagListSel=[],u.I[e].albumTagListSel.push(n);else{if(t.hasClass("nGY2NavFilterUnselected"))u.I[e].albumTagListSel.push(n);else{var i=jQuery.inArray(n,u.I[e].albumTagListSel);-1!=i&&u.I[e].albumTagListSel.splice(i,1)}t.toggleClass("nGY2NavFilters-oneTagUnselected nGY2NavFilters-oneTagSelected")}g("-1",u.I[e].GetID())}))}jQuery('
'+u.O.icons.navigationFilterSelectedAll+"
").appendTo(u.GOM.navigationBar.$newContent).click((function(){u.I[e].albumTagListSel=[],g("-1",u.I[e].GetID())}))}}"PAGINATION"==u.galleryDisplayMode.Get()&&u.O.galleryPaginationTopButtons&&(u.layout.support.rows&&u.galleryMaxRows.Get()>0&&(jQuery('
'+u.O.icons.navigationPaginationPrevious+"
").appendTo(u.GOM.navigationBar.$newContent).click((function(){G()})),jQuery('
'+u.O.icons.navigationPaginationNext+"
").appendTo(u.GOM.navigationBar.$newContent).click((function(){y()}))))}function y(){var e=0;X(),u.galleryMaxRows.Get()>0&&(e=(u.GOM.items[u.GOM.items.length-1].row+1)/u.galleryMaxRows.Get());var t=Math.ceil(e),n=u.GOM.pagination.currentPage;n0&&(e=(u.GOM.items[u.GOM.items.length-1].row+1)/u.galleryMaxRows.Get());var t=Math.ceil(e),n=u.GOM.pagination.currentPage;n>0?n--:n=t-1,u.GOM.pagination.currentPage=n,at("pageChanged"),u.GOM.ScrollToTop(),L(),C(!0)}function M(){switch(u.GOM.displayInterval.from=0,u.GOM.displayInterval.len=u.I.length,u.galleryDisplayMode.Get()){case"PAGINATION":if(u.layout.support.rows){let a=u.GOM.items.length;var e=u.GOM.pagination.currentPage*u.galleryMaxRows.Get(),t=e+u.galleryMaxRows.Get(),n=-1;u.GOM.displayInterval.len=0;for(var i=0;i=e&&a.rowu.GOM.lastFullRow+1&&(t=u.GOM.lastFullRow+1),u.GOM.displayInterval.len=0;for(i=0;i0&&0==t)?(u.$E.conNavigationBar.css({opacity:0,display:"block"}),(new NGTweenable).tween({from:{opacity:0},to:{opacity:1},duration:200,easing:"easeInQuart",step:function(e){u.$E.conNavigationBar.css(e)},finish:function(t){u.$E.conNavigationBar.css({opacity:1}),requestTimeout((function(){T(e)}),20)}})):requestTimeout((function(){T(e)}),20)}function T(e){u.GOM.lastZIndex=parseInt(u.$E.base.css("z-index")),isNaN(u.GOM.lastZIndex)&&(u.GOM.lastZIndex=0),u.$E.conTnParent.css({opacity:0}),u.$E.conTn.off().empty();for(var t=u.I.length,n=0;n
',1==u.O.thumbnailLabel.get("display")&&(e[t++]='
",e[t++]='
aAzZjJ
",1==u.O.thumbnailLabel.get("displayDescription")&&(e[t++]='
aAzZjJ
"),e[t++]="
");e[t++]="
";var n=jQuery(e.join("")).appendTo(u.$E.conTn),i=n.find(".nGY2GThumbnailLabel").outerHeight(!0);return n.remove(),i}():u.tn.labelHeight[u.GOM.curNavLevel]=0;u.GOM.albumIdx=e,at("galleryRenderEnd");var n=u.O.fnGalleryRenderEnd;null!==n&&("function"==typeof n?n(u.I[u.GOM.albumIdx]):window[n](u.I[u.GOM.albumIdx]));!function(){for(var e="",t=u.I[u.GOM.albumIdx].GetID(),n=u.I.length,i=0,a=0;a'),0==l&&(l=u.tn.defaultSize.getHeight()),0==r&&(r=u.tn.defaultSize.getWidth());var s=new u.GOM.GTn(a,r,l);u.GOM.items.push(s),i++}}at("galleryObjectModelBuilt");var c=u.O.fnGalleryObjectModelBuilt;null!==c&&("function"==typeof c?c():window[c]());if(""!=e){var h=jQuery(e),d=ngimagesLoaded(h);return h=null,d.on("progress",(function(e,t){if(t.isLoaded){var n=t.img.getAttribute("data-idx");if(t.img.getAttribute("data-albumidx")==u.GOM.albumIdx){var i=u.GOM.items[n];i.imageWidth=t.img.naturalWidth,i.imageHeight=t.img.naturalHeight;var a=u.I[i.thumbnailIdx];a.thumbs.width[u.GOM.curNavLevel][u.GOM.curWidth]=i.imageWidth,a.thumbs.height[u.GOM.curNavLevel][u.GOM.curWidth]=i.imageHeight,u.GalleryResizeThrottled();var o=a.thumbs.width.l1;for(let e in o)o.hasOwnProperty(e)&&e!=u.GOM.curWidth&&u.tn.settings.width.l1[e]==u.tn.settings.getW()&&u.tn.settings.height.l1[e]==u.tn.settings.getH()&&(a.thumbs.width.l1[e]=i.imageWidth,a.thumbs.height.l1[e]=i.imageHeight);o=a.thumbs.width.lN;for(let e in o)o.hasOwnProperty(e)&&e!=u.GOM.curWidth&&u.tn.settings.width.lN[e]==u.tn.settings.getW()&&u.tn.settings.height.lN[e]==u.tn.settings.getH()&&(a.thumbs.width.lN[e]=i.imageWidth,a.thumbs.height.lN[e]=i.imageHeight)}}})),u.galleryResizeEventEnabled=!0,!1}return!0}()?u.galleryResizeEventEnabled=!0:(S(),function(){var e=u.galleryDisplayTransitionDuration.Get();switch(u.galleryDisplayTransition.Get()){case"ROTATEX":u.$E.base.css({perspective:"1000px","perspective-origin":"50% 0%"}),(new NGTweenable).tween({from:{r:50},to:{r:0},attachment:{orgIdx:u.GOM.albumIdx},duration:e,easing:"easeOutCirc",step:function(e,t){t.orgIdx==u.GOM.albumIdx&&u.$E.conTnParent.css(u.CSStransformName,"rotateX("+e.r+"deg)")}});break;case"SLIDEUP":u.$E.conTnParent.css({opacity:0}),(new NGTweenable).tween({from:{y:200,o:0},to:{y:0,o:1},attachment:{orgIdx:u.GOM.albumIdx},duration:e,easing:"easeOutCirc",step:function(e,t){t.orgIdx==u.GOM.albumIdx&&u.$E.conTnParent.css(u.CSStransformName,"translate( 0px, "+e.y+"px)").css("opacity",e.o)}})}}(),L(),requestTimeout((function(){C(!1)}),20));u.O.debugMode&&console.log("GalleryRenderPart3: "+(new Date-t))}(e)}),20)}function x(){var e=new Date;if(u.galleryResizeEventEnabled=!1,0==S())return u.galleryResizeEventEnabled=!0,void(u.O.debugMode&&console.log("GalleryResize1: "+(new Date-e)));u.O.debugMode&&console.log("GalleryResizeSetLayout: "+(new Date-e)),L(),C(!1),u.O.debugMode&&console.log("GalleryResizeFull: "+(new Date-e))}function S(){var e=!0;switch(u.GOM.cache.areaWidth=u.$E.conTnParent.width(),u.GOM.displayArea={width:0,height:0},u.layout.engine){case"JUSTIFIED":e=function(){for(var e=0,t=u.GOM.cache.areaWidth,n=0,i=0,a=[],o=0,r=[],l=!1,s=u.tn.settings.GetResponsive("gutterWidth"),c=u.tn.settings.GetResponsive("gutterHeight"),h=0,d=0,m=!1,p=!1,g=u.tn.defaultSize.getOuterHeight(),f=2*u.tn.opt.Get("borderHorizontal"),b=2*u.tn.opt.Get("borderVertical"),v=1,O=u.GOM.items.length,y=0;y0){let i=n.imageWidth/n.imageHeight,u=Math.floor(g*i);if(l&&(l=!1,o++,e=0,m=!1,p=!1,v=1),n.imageHeight>n.imageWidth?m=!0:p=!0,e+s+u0&&(r[o]=Math.min(r[o],G)),a[o]=y}else{let n=(t-v*f)/(e+=s+u),i=Math.floor(g*n);r[o]=i,m&&(h=Math.max(h,i)),p&&(d=Math.max(d,i)),a[o]=y,l=!0}v++}}o=0,i=0,n=0,0,u.GOM.lastFullRow=0;for(y=0;y0))return!1;{let l=e.imageWidth/e.imageHeight,h=Math.floor(l*r[o]);y==a[o]&&(a.length!=o+1||n+s+h+f>t)&&(h=t-n-f);let d=parseInt(r[o]);h=parseInt(h),e.resizedContentWidth=h,e.resizedContentHeight=d,e.width=h+f,e.height=d+u.tn.labelHeight.get()+b,e.row=o,e.top=i;let m=n;u.O.RTL&&(m=t-n-e.width),e.left=m,n+=e.width+s,y==a[o]&&(i+=e.height+c,u.GOM.lastFullRow=o-1,o++,n=0)}}return u.GOM.displayArea.width=t,!0}();break;case"CASCADING":e=function(){var e=0,t=u.GOM.cache.areaWidth,n=0,i=[],a=z(t),o=0,r=u.tn.settings.GetResponsive("gutterHeight"),l=1,s=u.tn.defaultSize.getOuterWidth(),c=u.GOM.items.length,h=0;"justified"==u.O.thumbnailAlignment?(a=Math.min(a,c),o=1==a?0:(t-a*s)/(a-1)):o=u.tn.settings.GetResponsive("gutterWidth");var d=2*u.tn.opt.Get("borderHorizontal"),m=2*u.tn.opt.Get("borderVertical");if(u.GOM.lastFullRow=-1,"fillWidth"==u.O.thumbnailAlignment){var p=(a-1)*o;(l=(t-p)/(a*s))>1&&a++,p=(a-1)*o,l=Math.min((t-p)/(a*s),1)}for(var g=(s=Math.round(s*l))-d,f=Math.round(u.tn.opt.Get("baseGridHeight")*l),b=0;b0&&v.imageWidth>0){var O=0,y=(h=0,v.imageHeight/v.imageWidth);if(v.resizedContentWidth=g,v.resizedContentHeight=v.resizedContentWidth*y,f>0){var G=Math.max(Math.trunc(v.resizedContentHeight/f),1);v.resizedContentHeight=f*G+(G-1)*(m+r)}if(v.height=v.resizedContentHeight+m+u.tn.labelHeight.get(),v.width=s,v.row=0,0==n)O=e*(s+o),i[e]=v.height+r,++e>=a&&(e=0,n++);else{for(var M=0,w=i[0],I=1;I=d.length)break}var f=(c-1)*n,b=Math.min((e-f)/(h-f),1);r=0,s=0;for(m=0;m0&&(e.top+=t),e.left=(o.c-1)*Math.round(u.tn.defaultSize.getOuterWidth()*b)+(o.c-1)*n,e.height=Math.round(o.h*u.tn.defaultSize.getOuterHeight()*b)+(o.h-1)*t+u.tn.labelHeight.get()*o.h,e.resizedContentHeight=e.height-u.tn.labelHeight.get()-a,e.width=Math.round(o.w*u.tn.defaultSize.getOuterWidth()*b)+(o.w-1)*n,e.resizedContentWidth=e.width-i,e.row=r,0==r&&(l=Math.max(l,e.top+e.height)),++s>=d.length&&(s=0,r++)}return u.GOM.displayArea.width=(h-f)*b+f,!0}();break;case"GRID":default:e=function(){var e=0,t=0,n=u.GOM.cache.areaWidth,i=0,a=u.tn.settings.GetResponsive("gutterHeight"),o=z(n),r=0,l=[],s=0,c=n,h=u.tn.defaultSize.getOuterWidth(),d=1,m=u.GOM.items.length,p=2*u.tn.opt.Get("borderHorizontal"),g=2*u.tn.opt.Get("borderVertical");"justified"==u.O.thumbnailAlignment?(o=Math.min(o,m),i=1==o?0:(n-o*h)/(o-1)):i=u.tn.settings.GetResponsive("gutterWidth");if(u.O.RTL||"fillWidth"==u.O.thumbnailAlignment){var f=(o-1)*i;(d=(n-f)/(o*h))>1&&o++,f=(o-1)*i,d=Math.min((n-f)/(o*h),1),c=o*h+f}u.GOM.lastFullRow=0;for(var b=0,v=(h=Math.round(h*d))-p,O=Math.round(u.tn.defaultSize.getOuterHeight()*d)+u.tn.labelHeight.get(),y=Math.round(u.tn.defaultSize.getOuterHeight()*d)-g,G=0;G=o&&(s=0,t+=O+a,u.GOM.lastFullRow=b,b++)}return u.GOM.displayArea.width=r,!0}()}at("galleryLayoutApplied");var t=u.O.fnGalleryLayoutApplied;return null!==t&&("function"==typeof t?t():window[t]()),e}function L(){null==u.CSStransformName?u.$E.conTn.css("left","0px"):u.$E.conTn.css(u.CSStransformName,"none")}function E(){u.GOM.cache.viewport=a(),u.GOM.cache.areaWidth=u.$E.base.width(),u.O.lightboxStandalone||(u.GOM.cache.containerOffset=u.$E.conLoadingB.offset())}function C(e){E();var t=u.GOM.items.length;u.GOM.itemsDisplayed=0;var n=0;M();for(var i=0;i=u.GOM.displayInterval.from&&n=u.GOM.cache.viewport.t-50&&l<=u.GOM.cache.viewport.t+u.GOM.cache.viewport.h+50){let t=u.I[e.thumbnailIdx];null==t.$elt&&A(t,e.thumbnailIdx,i),a.push({idx:i,delay:n,top:e.top,left:e.left}),n++}}else o.push({idx:i,delay:0,top:e.top,left:e.left});r=i}else{e.displayed=!1;let t=u.I[e.thumbnailIdx];null!=t.$elt&&t.$elt.css({opacity:0,display:"none"})}}var s=u.$E.conTnParent.width();if(u.GOM.displayArea.width==u.GOM.displayAreaLast.width&&u.GOM.clipArea.height==u.GOM.displayAreaLast.height||(u.$E.conTn.width(u.GOM.displayArea.width).height(u.GOM.clipArea.height),u.GOM.displayAreaLast.width=u.GOM.displayArea.width,u.GOM.displayAreaLast.height=u.GOM.clipArea.height),s!=u.$E.conTnParent.width())return u.GOM.cache.areaWidth=u.$E.conTnParent.width(),S(),L(),void C(e);if(u.layout.support.rows&&("ROWS"==u.galleryDisplayMode.Get()||"FULLCONTENT"==u.galleryDisplayMode.Get()&&u.galleryLastRowFull.Get()&&-1!=u.GOM.lastFullRow)&&(u.GOM.lastDisplayedIdxNew=rc&&(s++,c=e[o].top):s++,D(e[o].idx,s);return s}function D(e,t){var n=0,i=u.GOM.items[e],a=u.GOM.items[e].thumbnailIdx,o=u.I[a];if(i.neverDisplayed){var r=i.top-u.GOM.clipArea.top;if(u.tn.opt.Get("stacks")>0?(o.$elt.last().css({display:"block"}),o.$elt.css({top:r,left:i.left})):o.$elt.css({display:"block",top:r,left:i.left}),n=r,!0===u.O.thumbnailWaitImageLoaded)ngimagesLoaded(o.$getElt(".nGY2TnImg2")).on("progress",(function(e,t){if(t.isLoaded&&t.img.getAttribute("data-albumidx")==u.GOM.albumIdx){var n=t.img.getAttribute("data-idx");u.I[n].ThumbnailImageReveal()}}));!function(e,t){var n=u.GOM.items[e],i=u.I[n.thumbnailIdx];if("NONE"==u.tn.opt.Get("displayTransition"))i.$elt.css({opacity:1}),B(i);else{if(null==i.$elt)return;var a=u.GOM.cache.containerOffset.top+(n.top-u.GOM.clipArea.top),o=u.GOM.cache.viewport;if(a+(n.top-u.GOM.clipArea.top)>=o.t-50&&a<=o.t+o.h+50){var r=t*u.tn.opt.Get("displayInterval");return void("CUSTOM"==u.tn.opt.Get("displayTransition")?"lN"==u.GOM.curNavLevel?u.O.fnThumbnailDisplayEffect(i.$elt,i,e,r):u.O.fnThumbnailL1DisplayEffect(i.$elt,i,e,r):u.GOM.thumbnails2Display.push({itm:i,d:r}))}i.$elt.css({opacity:1}),B(i)}}(e,t),i.displayed=!0,i.neverDisplayed=!1}else{var l=u.GOM.cache.containerOffset.top+o.top;r=u.GOM.cache.containerOffset.top+(i.top-u.GOM.clipArea.top);n=i.top-u.GOM.clipArea.top;var s=u.GOM.cache.viewport;if(u.O.thumbnailDisplayOutsideScreen||l+i.height>=s.t-s.h&&l<=s.t+4*s.h||r+i.height>=s.t-s.h&&r<=s.t+4*s.h)if(i.displayed){if(o.top!=i.top||o.left!=i.left)if(1==u.O.galleryResizeAnimation)(new NGTweenable).tween({from:{top:o.top,left:o.left,height:o.height,width:o.width},to:{top:n,left:i.left,height:i.height,width:i.width},attachment:{$e:o.$elt},duration:100,delay:t*u.tn.opt.Get("displayInterval")/5,easing:"easeOutQuart",step:function(e,t){t.$e.css(e)},finish:function(e,t){this.dispose()}});else o.$elt.css({top:n,left:i.left})}else i.displayed=!0,o.$elt.css({display:"block",top:n,left:i.left,opacity:1}),B(o);else i.displayed=!1,o.$elt.css({display:"none"})}if(o.left=i.left,o.top=n,o.width==i.width&&o.height==i.height||(o.$elt.css({width:i.width,height:i.height}),o.width=i.width,o.height=i.height,o.resizedContentWidth==i.resizedContentWidth&&o.resizedContentHeight==i.resizedContentHeight||("albumUp"==o.kind||(o.$getElt(".nGY2GThumbnailImage").css({height:i.resizedContentHeight,width:i.resizedContentWidth}),"JUSTIFIED"==u.layout.engine&&o.$getElt(".nGY2GThumbnailImg").css({height:i.resizedContentHeight,width:i.resizedContentWidth})),o.resizedContentWidth=i.resizedContentWidth,o.resizedContentHeight=i.resizedContentHeight)),u.GOM.lastDisplayedIdxNew==e&&u.layout.support.rows&&("ROWS"==u.galleryDisplayMode.Get()&&u.galleryMaxRows.Get()>0||"FULLCONTENT"==u.galleryDisplayMode.Get()&&u.galleryLastRowFull.Get()&&-1!=u.GOM.lastFullRow)){var c=u.GOM.items.length-e-1;"0"!=o.albumID&&u.O.thumbnailLevelUp&&c--,c>0?((u.O.thumbnailOpenInLightox||u.O.thumbnailSliderDelay>0)&&o.$getElt(".nGY2GThumbnailIconsFullThumbnail").html("+"+c),"right"!=u.O.thumbnailLabel.get("position")&&"left"!=u.O.thumbnailLabel.get("position")&&u.GOM.slider.hostItem!=u.GOM.NGY2Item(e)&&(N(u.GOM.slider.hostItem),u.GOM.slider.hostIdx=e,u.GOM.slider.hostItem=u.GOM.NGY2Item(e),u.GOM.slider.nextIdx=e,u.GOM.slider.currentIdx=e,function(){if(0==u.O.thumbnailSliderDelay||-1==u.GOM.slider.hostIdx)return;clearTimeout(u.GOM.slider.timerID);var e=u.GOM.slider.hostItem;0==e.$getElt(".nGY2TnImgNext").length&&(e.$getElt(".nGY2TnImg").clone().removeClass("nGY2TnImg").addClass("nGY2TnImgNext").insertAfter(e.$getElt(".nGY2TnImg")),e.$getElt(".nGY2TnImgBack").clone().removeClass("nGY2TnImgBack").addClass("nGY2TnImgBackNext").insertAfter(e.$getElt(".nGY2TnImg",!0)),e.$getElt(".nGY2GThumbnailImage",!0),e.$getElt(".nGY2GThumbnailImg",!0));e.CSSTransformSet(".nGY2TnImgNext","translateX","100%",!0),e.CSSTransformApply(".nGY2TnImgNext"),e.CSSTransformSet(".nGY2TnImgBackNext","translateX","100%",!0),e.CSSTransformApply(".nGY2TnImgBackNext"),V(),u.GOM.slider.timerID=requestTimeout((function(){!function e(){if(null!=u.GOM.slider.hostItem.$getElt()){var t=new NGTweenable;u.GOM.slider.tween=t,t.tween({from:{left:100},to:{left:0},duration:800,delay:0,easing:"easeOutQuart",step:function(e){null!=u.GOM.slider.hostItem.$getElt()?(u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImgBack","translateX",-(100-e.left)+"%"),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImgBack"),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImg","translateX",-(100-e.left)+"%"),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImg"),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImgBackNext","translateX",e.left+"%"),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImgBackNext"),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImgNext","translateX",e.left+"%"),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImgNext")):u.GOM.slider.tween.stop(!1)},finish:function(t){null!=u.GOM.slider.hostItem.$getElt()&&null!=u.GOM.NGY2Item(u.GOM.slider.nextIdx)&&(N(u.GOM.NGY2Item(u.GOM.slider.nextIdx)),u.GOM.slider.currentIdx=u.GOM.slider.nextIdx,V(),clearTimeout(u.GOM.slider.timerID),u.GOM.slider.timerID=requestTimeout((function(){e()}),u.O.thumbnailSliderDelay))}})}}()}),u.O.thumbnailSliderDelay)}())):(N(u.GOM.slider.hostItem),u.GOM.slider.hostIdx=-1),u.GOM.lastDisplayedIdx=e}}function V(){u.GOM.slider.nextIdx++,u.GOM.slider.nextIdx>=u.GOM.items.length&&(u.GOM.slider.nextIdx=u.GOM.slider.hostIdx);var e=u.GOM.NGY2Item(u.GOM.slider.nextIdx),t="url('"+u.emptyGif+"')";null!=e.imageDominantColors&&(t="url('"+e.imageDominantColors+"')"),u.GOM.slider.hostItem.$getElt(".nGY2TnImgBackNext",!0).css({"background-image":t,opacity:1}),u.GOM.slider.hostItem.$getElt(".nGY2TnImgNext",!0).css({"background-image":"url('"+e.thumbImg().src+"')",opacity:1}),u.GOM.slider.hostItem.$getElt(".nGY2TnImgNext .nGY2GThumbnailImg",!0).attr("src",e.thumbImg().src)}function N(e){if(-1!=u.GOM.slider.hostIdx){null!=u.GOM.slider.tween&&1==u.GOM.slider.tween._isTweening&&u.GOM.slider.tween.stop(!1);var t="url('"+u.emptyGif+"')";if(null!=e.imageDominantColors&&(t="url('"+e.imageDominantColors+"')"),u.GOM.slider.hostItem.$getElt(".nGY2TnImgBack").css("background-image",t),u.GOM.slider.hostItem.$getElt(".nGY2TnImg").css("background-image","url('"+e.thumbImg().src+"')"),u.GOM.slider.hostItem.$getElt(".nGY2TnImg .nGY2GThumbnailImg").attr("src",e.thumbImg().src),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImgBack","translateX","0"),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImgBack"),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImg","translateX","0"),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImg"),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImgBackNext","translateX","100%",!0),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImgBackNext"),u.GOM.slider.hostItem.CSSTransformSet(".nGY2TnImgNext","translateX","100%",!0),u.GOM.slider.hostItem.CSSTransformApply(".nGY2TnImgNext"),1==u.O.thumbnailLabel.get("display")){var n=u.O.icons.thumbnailAlbum;"album"!=e.kind&&(n=u.O.icons.thumbnailImage),u.GOM.slider.hostItem.$getElt(".nGY2GThumbnailTitle").html(n+_(e)),u.GOM.slider.hostItem.$getElt(".nGY2GThumbnailDescription").html(n+F(e))}}}function Y(e){var t=u.tn.opt.Get("stacks");if(0==t)return"";for(var n="",i=0;i