@ecodev/angular-natural-gallery
Advanced tools
Comparing version 6.0.2 to 7.0.0
@@ -5,8 +5,218 @@ (function (global, factory) { | ||
(global = global || self, factory((global.ecodev = global.ecodev || {}, global.ecodev['angular-natural-gallery'] = {}), global.ng.core, global['@ecodev/natural-gallery-js'], global.ng.common)); | ||
}(this, function (exports, core, naturalGalleryJs, common) { 'use strict'; | ||
}(this, (function (exports, core, naturalGalleryJs, common) { 'use strict'; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
/* global Reflect, Promise */ | ||
var extendStatics = function(d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
function __extends(d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
} | ||
var __assign = function() { | ||
__assign = Object.assign || function __assign(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
function __rest(s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
} | ||
function __decorate(decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
} | ||
function __param(paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
} | ||
function __metadata(metadataKey, metadataValue) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); | ||
} | ||
function __awaiter(thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
} | ||
function __generator(thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
} | ||
function __exportStar(m, exports) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
function __values(o) { | ||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; | ||
if (m) return m.call(o); | ||
if (o && typeof o.length === "number") return { | ||
next: function () { | ||
if (o && i >= o.length) o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
} | ||
}; | ||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); | ||
} | ||
function __read(o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
} | ||
function __spread() { | ||
for (var ar = [], i = 0; i < arguments.length; i++) | ||
ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
} | ||
function __spreadArrays() { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
}; | ||
function __await(v) { | ||
return this instanceof __await ? (this.v = v, this) : new __await(v); | ||
} | ||
function __asyncGenerator(thisArg, _arguments, generator) { | ||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | ||
var g = generator.apply(thisArg, _arguments || []), i, q = []; | ||
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; | ||
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } | ||
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } | ||
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } | ||
function fulfill(value) { resume("next", value); } | ||
function reject(value) { resume("throw", value); } | ||
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } | ||
} | ||
function __asyncDelegator(o) { | ||
var i, p; | ||
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; | ||
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } | ||
} | ||
function __asyncValues(o) { | ||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | ||
var m = o[Symbol.asyncIterator], i; | ||
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); | ||
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } | ||
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } | ||
} | ||
function __makeTemplateObject(cooked, raw) { | ||
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } | ||
return cooked; | ||
}; | ||
function __importStar(mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result.default = mod; | ||
return result; | ||
} | ||
function __importDefault(mod) { | ||
return (mod && mod.__esModule) ? mod : { default: mod }; | ||
} | ||
function __classPrivateFieldGet(receiver, privateMap) { | ||
if (!privateMap.has(receiver)) { | ||
throw new TypeError("attempted to get private field on non-instance"); | ||
} | ||
return privateMap.get(receiver); | ||
} | ||
function __classPrivateFieldSet(receiver, privateMap, value) { | ||
if (!privateMap.has(receiver)) { | ||
throw new TypeError("attempted to set private field on non-instance"); | ||
} | ||
privateMap.set(receiver, value); | ||
return value; | ||
} | ||
var NaturalGalleryComponent = /** @class */ (function () { | ||
@@ -20,7 +230,3 @@ function NaturalGalleryComponent() { | ||
Object.defineProperty(NaturalGalleryComponent.prototype, "items", { | ||
set: /** | ||
* @param {?} items | ||
* @return {?} | ||
*/ | ||
function (items) { | ||
set: function (items) { | ||
this._items = items; | ||
@@ -34,14 +240,5 @@ if (this.gallery) { | ||
}); | ||
/** | ||
* @return {?} | ||
*/ | ||
NaturalGalleryComponent.prototype.ngOnInit = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
NaturalGalleryComponent.prototype.ngOnInit = function () { | ||
var _this = this; | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
setTimeout(function () { | ||
// Moves the PhotoSwipe template to body to prevent layout to be behind or hidden (because overflow) on a parent scrollable div | ||
@@ -51,125 +248,95 @@ document.getElementsByTagName('body')[0].appendChild(_this.pswpElement.nativeElement); | ||
_this.gallery.init(); | ||
_this.gallery.addEventListener('zoom', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
_this.gallery.addEventListener('zoom', function (ev) { | ||
_this.zoom.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('select', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('select', function (ev) { | ||
_this.select.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('activate', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('activate', function (ev) { | ||
_this.activate.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('pagination', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('pagination', function (ev) { | ||
_this.pagination.emit(ev.detail); | ||
})); | ||
}); | ||
if (_this._items && _this._items.length) { | ||
_this.gallery.setItems(_this._items); | ||
} | ||
})); | ||
}); | ||
}; | ||
NaturalGalleryComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNra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FAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
NaturalGalleryComponent.ctorParameters = function () { return []; }; | ||
NaturalGalleryComponent.propDecorators = { | ||
options: [{ type: core.Input }], | ||
scrollable: [{ type: core.Input }], | ||
activate: [{ type: core.Output }], | ||
select: [{ type: core.Output }], | ||
pagination: [{ type: core.Output }], | ||
zoom: [{ type: core.Output }], | ||
galleryElement: [{ type: core.ViewChild, args: ['gallery', { static: true },] }], | ||
pswpElement: [{ type: core.ViewChild, args: ['pswp', { static: true },] }], | ||
items: [{ type: core.Input }] | ||
}; | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "options", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "scrollable", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "activate", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "select", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pagination", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "zoom", void 0); | ||
__decorate([ | ||
core.ViewChild('gallery', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "galleryElement", void 0); | ||
__decorate([ | ||
core.ViewChild('pswp', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pswpElement", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", [Object]) | ||
], NaturalGalleryComponent.prototype, "items", null); | ||
NaturalGalleryComponent = __decorate([ | ||
core.Component({ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\"\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:\"\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3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__button--arrow--right{background:0 0!important}"] | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NaturalGalleryComponent); | ||
return NaturalGalleryComponent; | ||
}()); | ||
if (false) { | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.options; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.scrollable; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.activate; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.select; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pagination; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.zoom; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.galleryElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pswpElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.gallery; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NaturalGalleryComponent.prototype._items; | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var NaturalGalleryModule = /** @class */ (function () { | ||
function NaturalGalleryModule() { | ||
} | ||
NaturalGalleryModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
common.CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
},] } | ||
]; | ||
NaturalGalleryModule = __decorate([ | ||
core.NgModule({ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
common.CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
}) | ||
], NaturalGalleryModule); | ||
return NaturalGalleryModule; | ||
}()); | ||
Object.defineProperty(exports, 'Masonry', { | ||
enumerable: true, | ||
get: function () { | ||
return naturalGalleryJs.Masonry; | ||
} | ||
Object.keys(naturalGalleryJs).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return naturalGalleryJs[k]; | ||
} | ||
}); | ||
}); | ||
Object.defineProperty(exports, 'Natural', { | ||
enumerable: true, | ||
get: function () { | ||
return naturalGalleryJs.Natural; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'Square', { | ||
enumerable: true, | ||
get: function () { | ||
return naturalGalleryJs.Square; | ||
} | ||
}); | ||
exports.NaturalGalleryComponent = NaturalGalleryComponent; | ||
@@ -180,3 +347,3 @@ exports.NaturalGalleryModule = NaturalGalleryModule; | ||
})); | ||
}))); | ||
//# sourceMappingURL=ecodev-angular-natural-gallery.umd.js.map |
@@ -1,2 +0,16 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@ecodev/natural-gallery-js"),require("@angular/common")):"function"==typeof define&&define.amd?define("@ecodev/angular-natural-gallery",["exports","@angular/core","@ecodev/natural-gallery-js","@angular/common"],e):e(((t=t||self).ecodev=t.ecodev||{},t.ecodev["angular-natural-gallery"]={}),t.ng.core,t["@ecodev/natural-gallery-js"],t.ng.common)}(this,(function(t,e,o,i){"use strict";var a=function(){function t(){this.activate=new e.EventEmitter,this.select=new e.EventEmitter,this.pagination=new e.EventEmitter,this.zoom=new e.EventEmitter}return Object.defineProperty(t.prototype,"items",{set:function(t){this._items=t,this.gallery&&this.gallery.setItems(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;setTimeout((function(){document.getElementsByTagName("body")[0].appendChild(t.pswpElement.nativeElement),t.gallery=new o.Natural(t.galleryElement.nativeElement,t.options,t.pswpElement.nativeElement,t.scrollable),t.gallery.init(),t.gallery.addEventListener("zoom",(function(e){t.zoom.emit(e.detail)})),t.gallery.addEventListener("select",(function(e){t.select.emit(e.detail)})),t.gallery.addEventListener("activate",(function(e){t.activate.emit(e.detail)})),t.gallery.addEventListener("pagination",(function(e){t.pagination.emit(e.detail)})),t._items&&t._items.length&&t.gallery.setItems(t._items)}))},t.decorators=[{type:e.Component,args:[{selector:"natural-gallery",template:'\x3c!-- Gallery template --\x3e\n<div #gallery></div>\n\n\x3c!-- Photoswipe template --\x3e\n<div #pswp class="pswp" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n <div class="pswp__top-bar">\n <div class="pswp__counter"></div>\n <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>\n <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>\n <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n </div>\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>\n <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n</div>\n\n\x3c!-- Natural Gallery Icons --\x3e\n<svg id="natural-gallery-icons" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" xml:space="preserve" style="display:none">\n <g id="natural-gallery-icon-select">\n <path d="M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z"/>\n </g>\n <g id="natural-gallery-icon-next">\n <polygon points="88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t"/>\n </g>\n</svg>\n',encapsulation:e.ViewEncapsulation.None,styles:["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cD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,.pswp__button--arrow--right{background:0 0!important}"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={options:[{type:e.Input}],scrollable:[{type:e.Input}],activate:[{type:e.Output}],select:[{type:e.Output}],pagination:[{type:e.Output}],zoom:[{type:e.Output}],galleryElement:[{type:e.ViewChild,args:["gallery",{static:!0}]}],pswpElement:[{type:e.ViewChild,args:["pswp",{static:!0}]}],items:[{type:e.Input}]},t}();var r=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[a],imports:[i.CommonModule],exports:[a]}]}],t}();Object.defineProperty(t,"Masonry",{enumerable:!0,get:function(){return o.Masonry}}),Object.defineProperty(t,"Natural",{enumerable:!0,get:function(){return o.Natural}}),Object.defineProperty(t,"Square",{enumerable:!0,get:function(){return o.Square}}),t.NaturalGalleryComponent=a,t.NaturalGalleryModule=r,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@ecodev/natural-gallery-js"),require("@angular/common")):"function"==typeof define&&define.amd?define("@ecodev/angular-natural-gallery",["exports","@angular/core","@ecodev/natural-gallery-js","@angular/common"],e):e(((t=t||self).ecodev=t.ecodev||{},t.ecodev["angular-natural-gallery"]={}),t.ng.core,t["@ecodev/natural-gallery-js"],t.ng.common)}(this,(function(t,e,o,i){"use strict"; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */function a(t,e,o,i){var a,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,i);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}function r(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var n=function(){function t(){this.activate=new e.EventEmitter,this.select=new e.EventEmitter,this.pagination=new e.EventEmitter,this.zoom=new e.EventEmitter}return Object.defineProperty(t.prototype,"items",{set:function(t){this._items=t,this.gallery&&this.gallery.setItems(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;setTimeout((function(){document.getElementsByTagName("body")[0].appendChild(t.pswpElement.nativeElement),t.gallery=new o.Natural(t.galleryElement.nativeElement,t.options,t.pswpElement.nativeElement,t.scrollable),t.gallery.init(),t.gallery.addEventListener("zoom",(function(e){t.zoom.emit(e.detail)})),t.gallery.addEventListener("select",(function(e){t.select.emit(e.detail)})),t.gallery.addEventListener("activate",(function(e){t.activate.emit(e.detail)})),t.gallery.addEventListener("pagination",(function(e){t.pagination.emit(e.detail)})),t._items&&t._items.length&&t.gallery.setItems(t._items)}))},a([e.Input(),r("design:type",Object)],t.prototype,"options",void 0),a([e.Input(),r("design:type",Object)],t.prototype,"scrollable",void 0),a([e.Output(),r("design:type",Object)],t.prototype,"activate",void 0),a([e.Output(),r("design:type",Object)],t.prototype,"select",void 0),a([e.Output(),r("design:type",Object)],t.prototype,"pagination",void 0),a([e.Output(),r("design:type",Object)],t.prototype,"zoom",void 0),a([e.ViewChild("gallery",{static:!0}),r("design:type",Object)],t.prototype,"galleryElement",void 0),a([e.ViewChild("pswp",{static:!0}),r("design:type",Object)],t.prototype,"pswpElement",void 0),a([e.Input(),r("design:type",Object),r("design:paramtypes",[Object])],t.prototype,"items",null),t=a([e.Component({selector:"natural-gallery",template:'\x3c!-- Gallery template --\x3e\n<div #gallery></div>\n\n\x3c!-- Photoswipe template --\x3e\n<div #pswp class="pswp" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n <div class="pswp__top-bar">\n <div class="pswp__counter"></div>\n <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>\n <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>\n <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n </div>\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>\n <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n</div>\n\n\x3c!-- Natural Gallery Icons --\x3e\n<svg id="natural-gallery-icons" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" xml:space="preserve" style="display:none">\n <g id="natural-gallery-icon-select">\n <path d="M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z"/>\n </g>\n <g id="natural-gallery-icon-next">\n <polygon points="88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t"/>\n </g>\n</svg>\n',encapsulation:e.ViewEncapsulation.None,styles:['/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:"";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:"";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:"";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:"";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDov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.pswp__button--arrow--right{background:0 0!important}']}),r("design:paramtypes",[])],t)}(),p=function(){function t(){}return t=a([e.NgModule({declarations:[n],imports:[i.CommonModule],exports:[n]})],t)}();Object.keys(o).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})),t.NaturalGalleryComponent=n,t.NaturalGalleryModule=p,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ecodev-angular-natural-gallery.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"exports":[{"from":"@ecodev/natural-gallery-js"}],"metadata":{"NaturalGalleryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"natural-gallery","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":6,"character":19},"member":"None"},"template":"<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n","styles":["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD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LjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)!important}.pswp__preloader--active .pswp__preloader__icn{background:url(data:image/gif;base64,R0lGODlhFAAUAPMIAIeHhz8/P1dXVycnJ8/Pz7e3t5+fn29vb////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAIACwAAAAAFAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5}}]}],"scrollable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":5}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":14,"character":5}}]}],"select":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":5}}]}],"pagination":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":5}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":17,"character":5}}]}],"galleryElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":19,"character":5},"arguments":["gallery",{"static":true}]}]}],"pswpElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":20,"character":5},"arguments":["pswp",{"static":true}]}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"NaturalGalleryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NaturalGalleryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":8}],"exports":[{"__symbolic":"reference","name":"NaturalGalleryComponent"}]}]}],"members":{}}},"origins":{"NaturalGalleryComponent":"./lib/natural-gallery/natural-gallery.component","NaturalGalleryModule":"./lib/natural-gallery.module"},"importAs":"@ecodev/angular-natural-gallery"} | ||
{"__symbolic":"module","version":4,"exports":[{"from":"@ecodev/natural-gallery-js"}],"metadata":{"NaturalGalleryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"natural-gallery","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":6,"character":19},"member":"None"},"template":"<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n","styles":["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\"\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:\"\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDU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EAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5}}]}],"scrollable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":5}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":14,"character":5}}]}],"select":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":5}}]}],"pagination":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":5}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":17,"character":5}}]}],"galleryElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":19,"character":5},"arguments":["gallery",{"static":true}]}]}],"pswpElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":20,"character":5},"arguments":["pswp",{"static":true}]}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"NaturalGalleryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NaturalGalleryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":8}],"exports":[{"__symbolic":"reference","name":"NaturalGalleryComponent"}]}]}],"members":{}}},"origins":{"NaturalGalleryComponent":"./lib/natural-gallery/natural-gallery.component","NaturalGalleryModule":"./lib/natural-gallery.module"},"importAs":"@ecodev/angular-natural-gallery"} |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { NaturalGalleryComponent, NaturalGalleryModule, Natural, Masonry, Square } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNvZGV2LWFuZ3VsYXItbmF0dXJhbC1nYWxsZXJ5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGVjb2Rldi9hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS8iLCJzb3VyY2VzIjpbImVjb2Rldi1hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0ZBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNvZGV2LWFuZ3VsYXItbmF0dXJhbC1nYWxsZXJ5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGVjb2Rldi9hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS8iLCJzb3VyY2VzIjpbImVjb2Rldi1hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 |
@@ -1,23 +0,21 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate } from "tslib"; | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { NaturalGalleryComponent } from './natural-gallery/natural-gallery.component'; | ||
export class NaturalGalleryModule { | ||
} | ||
NaturalGalleryModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0dXJhbC1nYWxsZXJ5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJsaWIvbmF0dXJhbC1nYWxsZXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFhdEYsTUFBTSxPQUFPLG9CQUFvQjs7O1lBWGhDLFFBQVEsU0FBQztnQkFDTixZQUFZLEVBQUU7b0JBQ1YsdUJBQXVCO2lCQUMxQjtnQkFDRCxPQUFPLEVBQUU7b0JBQ0wsWUFBWTtpQkFDZjtnQkFDRCxPQUFPLEVBQUU7b0JBQ0wsdUJBQXVCO2lCQUMxQjthQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCB9IGZyb20gJy4vbmF0dXJhbC1nYWxsZXJ5L25hdHVyYWwtZ2FsbGVyeS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCxcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBOYXR1cmFsR2FsbGVyeU1vZHVsZSB7XG59XG4iXX0= | ||
let NaturalGalleryModule = class NaturalGalleryModule { | ||
}; | ||
NaturalGalleryModule = __decorate([ | ||
NgModule({ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
}) | ||
], NaturalGalleryModule); | ||
export { NaturalGalleryModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0dXJhbC1nYWxsZXJ5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJsaWIvbmF0dXJhbC1nYWxsZXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFhdEYsSUFBYSxvQkFBb0IsR0FBakMsTUFBYSxvQkFBb0I7Q0FDaEMsQ0FBQTtBQURZLG9CQUFvQjtJQVhoQyxRQUFRLENBQUM7UUFDTixZQUFZLEVBQUU7WUFDVix1QkFBdUI7U0FDMUI7UUFDRCxPQUFPLEVBQUU7WUFDTCxZQUFZO1NBQ2Y7UUFDRCxPQUFPLEVBQUU7WUFDTCx1QkFBdUI7U0FDMUI7S0FDSixDQUFDO0dBQ1csb0JBQW9CLENBQ2hDO1NBRFksb0JBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCB9IGZyb20gJy4vbmF0dXJhbC1nYWxsZXJ5L25hdHVyYWwtZ2FsbGVyeS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCxcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBOYXR1cmFsR2FsbGVyeU1vZHVsZSB7XG59XG4iXX0= |
@@ -1,8 +0,5 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate, __metadata } from "tslib"; | ||
import { Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation } from '@angular/core'; | ||
import { Natural } from '@ecodev/natural-gallery-js'; | ||
export class NaturalGalleryComponent { | ||
let NaturalGalleryComponent = class NaturalGalleryComponent { | ||
constructor() { | ||
@@ -14,6 +11,2 @@ this.activate = new EventEmitter(); | ||
} | ||
/** | ||
* @param {?} items | ||
* @return {?} | ||
*/ | ||
set items(items) { | ||
@@ -25,10 +18,4 @@ this._items = items; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
setTimeout(() => { | ||
// Moves the PhotoSwipe template to body to prevent layout to be behind or hidden (because overflow) on a parent scrollable div | ||
@@ -38,82 +25,67 @@ document.getElementsByTagName('body')[0].appendChild(this.pswpElement.nativeElement); | ||
this.gallery.init(); | ||
this.gallery.addEventListener('zoom', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
this.gallery.addEventListener('zoom', (ev) => { | ||
this.zoom.emit(ev.detail); | ||
})); | ||
this.gallery.addEventListener('select', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
}); | ||
this.gallery.addEventListener('select', (ev) => { | ||
this.select.emit(ev.detail); | ||
})); | ||
this.gallery.addEventListener('activate', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
}); | ||
this.gallery.addEventListener('activate', (ev) => { | ||
this.activate.emit(ev.detail); | ||
})); | ||
this.gallery.addEventListener('pagination', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
}); | ||
this.gallery.addEventListener('pagination', (ev) => { | ||
this.pagination.emit(ev.detail); | ||
})); | ||
}); | ||
if (this._items && this._items.length) { | ||
this.gallery.setItems(this._items); | ||
} | ||
})); | ||
}); | ||
} | ||
} | ||
NaturalGalleryComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxuc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p__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
NaturalGalleryComponent.ctorParameters = () => []; | ||
NaturalGalleryComponent.propDecorators = { | ||
options: [{ type: Input }], | ||
scrollable: [{ type: Input }], | ||
activate: [{ type: Output }], | ||
select: [{ type: Output }], | ||
pagination: [{ type: Output }], | ||
zoom: [{ type: Output }], | ||
galleryElement: [{ type: ViewChild, args: ['gallery', { static: true },] }], | ||
pswpElement: [{ type: ViewChild, args: ['pswp', { static: true },] }], | ||
items: [{ type: Input }] | ||
}; | ||
if (false) { | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.options; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.scrollable; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.activate; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.select; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pagination; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.zoom; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.galleryElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pswpElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.gallery; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NaturalGalleryComponent.prototype._items; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0dXJhbC1nYWxsZXJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJsaWIvbmF0dXJhbC1nYWxsZXJ5L25hdHVyYWwtZ2FsbGVyeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQ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ICAgIH0pO1xuXG4gICAgICAgICAgICBpZiAodGhpcy5faXRlbXMgJiYgdGhpcy5faXRlbXMubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5nYWxsZXJ5LnNldEl0ZW1zKHRoaXMuX2l0ZW1zKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgfVxuXG59XG4iXX0= | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "scrollable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "activate", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pagination", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "zoom", void 0); | ||
__decorate([ | ||
ViewChild('gallery', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "galleryElement", void 0); | ||
__decorate([ | ||
ViewChild('pswp', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pswpElement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", [Object]) | ||
], NaturalGalleryComponent.prototype, "items", null); | ||
NaturalGalleryComponent = __decorate([ | ||
Component({ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\"\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:\"\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydW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ujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NaturalGalleryComponent); | ||
export { NaturalGalleryComponent }; | ||
//# sourceM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SA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5zZWxlY3QuZW1pdChldi5kZXRhaWwpO1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHRoaXMuZ2FsbGVyeS5hZGRFdmVudExpc3RlbmVyKCdhY3RpdmF0ZScsIChldikgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuYWN0aXZhdGUuZW1pdChldi5kZXRhaWwpO1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHRoaXMuZ2FsbGVyeS5hZGRFdmVudExpc3RlbmVyKCdwYWdpbmF0aW9uJywgKGV2KSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5wYWdpbmF0aW9uLmVtaXQoZXYuZGV0YWlsKTtcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICBpZiAodGhpcy5faXRlbXMgJiYgdGhpcy5faXRlbXMubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5nYWxsZXJ5LnNldEl0ZW1zKHRoaXMuX2l0ZW1zKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgfVxuXG59XG4iXX0= |
@@ -1,5 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
@@ -10,3 +6,3 @@ * Public API Surface of angular-natural-gallery | ||
export { NaturalGalleryModule } from './lib/natural-gallery.module'; | ||
export { Natural, Masonry, Square } from '@ecodev/natural-gallery-js'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs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sgTmF0dXJhbEdhbGxlcnlDb21wb25lbnQgfSBmcm9tICcuL2xpYi9uYXR1cmFsLWdhbGxlcnkvbmF0dXJhbC1nYWxsZXJ5LmNvbXBvbmVudCc7XG5leHBvcnQgeyBOYXR1cmFsR2FsbGVyeU1vZHVsZSB9IGZyb20gJy4vbGliL25hdHVyYWwtZ2FsbGVyeS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnQGVjb2Rldi9uYXR1cmFsLWdhbGxlcnktanMnO1xuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { NaturalGalleryComponent, NaturalGalleryModule, Natural, Masonry, Square } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNvZGV2LWFuZ3VsYXItbmF0dXJhbC1nYWxsZXJ5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGVjb2Rldi9hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS8iLCJzb3VyY2VzIjpbImVjb2Rldi1hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0ZBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNvZGV2LWFuZ3VsYXItbmF0dXJhbC1nYWxsZXJ5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGVjb2Rldi9hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS8iLCJzb3VyY2VzIjpbImVjb2Rldi1hbmd1bGFyLW5hdHVyYWwtZ2FsbGVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 |
@@ -1,5 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate } from "tslib"; | ||
import { NgModule } from '@angular/core'; | ||
@@ -11,18 +8,18 @@ import { CommonModule } from '@angular/common'; | ||
} | ||
NaturalGalleryModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
},] } | ||
]; | ||
NaturalGalleryModule = __decorate([ | ||
NgModule({ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
}) | ||
], NaturalGalleryModule); | ||
return NaturalGalleryModule; | ||
}()); | ||
export { NaturalGalleryModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0dXJhbC1nYWxsZXJ5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJsaWIvbmF0dXJhbC1nYWxsZXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6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29tbW9uTW9kdWxlLFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBOYXR1cmFsR2FsbGVyeUNvbXBvbmVudCxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBOYXR1cmFsR2FsbGVyeU1vZHVsZSB7XG59XG4iXX0= |
@@ -1,5 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate, __metadata } from "tslib"; | ||
import { Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation } from '@angular/core'; | ||
@@ -15,7 +12,3 @@ import { Natural } from '@ecodev/natural-gallery-js'; | ||
Object.defineProperty(NaturalGalleryComponent.prototype, "items", { | ||
set: /** | ||
* @param {?} items | ||
* @return {?} | ||
*/ | ||
function (items) { | ||
set: function (items) { | ||
this._items = items; | ||
@@ -29,14 +22,5 @@ if (this.gallery) { | ||
}); | ||
/** | ||
* @return {?} | ||
*/ | ||
NaturalGalleryComponent.prototype.ngOnInit = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
NaturalGalleryComponent.prototype.ngOnInit = function () { | ||
var _this = this; | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
setTimeout(function () { | ||
// Moves the PhotoSwipe template to body to prevent layout to be behind or hidden (because overflow) on a parent scrollable div | ||
@@ -46,84 +30,68 @@ document.getElementsByTagName('body')[0].appendChild(_this.pswpElement.nativeElement); | ||
_this.gallery.init(); | ||
_this.gallery.addEventListener('zoom', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
_this.gallery.addEventListener('zoom', function (ev) { | ||
_this.zoom.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('select', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('select', function (ev) { | ||
_this.select.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('activate', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('activate', function (ev) { | ||
_this.activate.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('pagination', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('pagination', function (ev) { | ||
_this.pagination.emit(ev.detail); | ||
})); | ||
}); | ||
if (_this._items && _this._items.length) { | ||
_this.gallery.setItems(_this._items); | ||
} | ||
})); | ||
}); | ||
}; | ||
NaturalGalleryComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdj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IGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)!important}.pswp__preloader--active .pswp__preloader__icn{background:url(data:image/gif;base64,R0lGODlhFAAUAPMIAIeHhz8/P1dXVycnJ8/Pz7e3t5+fn29vb////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAIACwAAAAAFAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
NaturalGalleryComponent.ctorParameters = function () { return []; }; | ||
NaturalGalleryComponent.propDecorators = { | ||
options: [{ type: Input }], | ||
scrollable: [{ type: Input }], | ||
activate: [{ type: Output }], | ||
select: [{ type: Output }], | ||
pagination: [{ type: Output }], | ||
zoom: [{ type: Output }], | ||
galleryElement: [{ type: ViewChild, args: ['gallery', { static: true },] }], | ||
pswpElement: [{ type: ViewChild, args: ['pswp', { static: true },] }], | ||
items: [{ type: Input }] | ||
}; | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "scrollable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "activate", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pagination", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "zoom", void 0); | ||
__decorate([ | ||
ViewChild('gallery', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "galleryElement", void 0); | ||
__decorate([ | ||
ViewChild('pswp', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pswpElement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", [Object]) | ||
], NaturalGalleryComponent.prototype, "items", null); | ||
NaturalGalleryComponent = __decorate([ | ||
Component({ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\"\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:\"\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M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wYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)!important}.pswp__preloader--active .pswp__preloader__icn{background:url(data:image/gif;base64,R0lGODlhFAAUAPMIAIeHhz8/P1dXVycnJ8/Pz7e3t5+fn29vb////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAIACwAAAAAFAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NaturalGalleryComponent); | ||
return NaturalGalleryComponent; | ||
}()); | ||
export { NaturalGalleryComponent }; | ||
if (false) { | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.options; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.scrollable; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.activate; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.select; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pagination; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.zoom; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.galleryElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pswpElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.gallery; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NaturalGalleryComponent.prototype._items; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0dXJhbC1nYWxsZXJ5LmN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5 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
@@ -10,3 +6,3 @@ * Public API Surface of angular-natural-gallery | ||
export { NaturalGalleryModule } from './lib/natural-gallery.module'; | ||
export { Natural, Masonry, Square } from '@ecodev/natural-gallery-js'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFHQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUMxRixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNwRSx5Q0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgYW5ndWxhci1uYXR1cmFsLWdhbGxlcnlcbiAqL1xuZXhwb3J0IHsgTmF0dXJhbEdhbGxlcnlDb21wb25lbnQgfSBmcm9tICcuL2xpYi9uYXR1cmFsLWdhbGxlcnkvbmF0dXJhbC1nYWxsZXJ5LmNvbXBvbmVudCc7XG5leHBvcnQgeyBOYXR1cmFsR2FsbGVyeU1vZHVsZSB9IGZyb20gJy4vbGliL25hdHVyYWwtZ2FsbGVyeS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnQGVjb2Rldi9uYXR1cmFsLWdhbGxlcnktanMnO1xuIl19 | ||
export * from '@ecodev/natural-gallery-js'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BlY29kZXYvYW5ndWxhci1uYXR1cmFsLWdhbGxlcnkvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0saURBQWlELENBQUM7QUFDMUYsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDcEUsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgYW5ndWxhci1uYXR1cmFsLWdhbGxlcnlcbiAqL1xuZXhwb3J0IHsgTmF0dXJhbEdhbGxlcnlDb21wb25lbnQgfSBmcm9tICcuL2xpYi9uYXR1cmFsLWdhbGxlcnkvbmF0dXJhbC1nYWxsZXJ5LmNvbXBvbmVudCc7XG5leHBvcnQgeyBOYXR1cmFsR2FsbGVyeU1vZHVsZSB9IGZyb20gJy4vbGliL25hdHVyYWwtZ2FsbGVyeS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnQGVjb2Rldi9uYXR1cmFsLWdhbGxlcnktanMnO1xuIl19 |
@@ -1,11 +0,8 @@ | ||
import { EventEmitter, Component, ViewEncapsulation, Input, Output, ViewChild, NgModule } from '@angular/core'; | ||
import { __decorate, __metadata } from 'tslib'; | ||
import { EventEmitter, Input, Output, ViewChild, Component, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Natural } from '@ecodev/natural-gallery-js'; | ||
export { Masonry, Natural, Square } from '@ecodev/natural-gallery-js'; | ||
export * from '@ecodev/natural-gallery-js'; | ||
import { CommonModule } from '@angular/common'; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class NaturalGalleryComponent { | ||
let NaturalGalleryComponent = class NaturalGalleryComponent { | ||
constructor() { | ||
@@ -17,6 +14,2 @@ this.activate = new EventEmitter(); | ||
} | ||
/** | ||
* @param {?} items | ||
* @return {?} | ||
*/ | ||
set items(items) { | ||
@@ -28,10 +21,4 @@ this._items = items; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
setTimeout(() => { | ||
// Moves the PhotoSwipe template to body to prevent layout to be behind or hidden (because overflow) on a parent scrollable div | ||
@@ -41,111 +28,89 @@ document.getElementsByTagName('body')[0].appendChild(this.pswpElement.nativeElement); | ||
this.gallery.init(); | ||
this.gallery.addEventListener('zoom', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
this.gallery.addEventListener('zoom', (ev) => { | ||
this.zoom.emit(ev.detail); | ||
})); | ||
this.gallery.addEventListener('select', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
}); | ||
this.gallery.addEventListener('select', (ev) => { | ||
this.select.emit(ev.detail); | ||
})); | ||
this.gallery.addEventListener('activate', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
}); | ||
this.gallery.addEventListener('activate', (ev) => { | ||
this.activate.emit(ev.detail); | ||
})); | ||
this.gallery.addEventListener('pagination', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
(ev) => { | ||
}); | ||
this.gallery.addEventListener('pagination', (ev) => { | ||
this.pagination.emit(ev.detail); | ||
})); | ||
}); | ||
if (this._items && this._items.length) { | ||
this.gallery.setItems(this._items); | ||
} | ||
})); | ||
}); | ||
} | ||
} | ||
NaturalGalleryComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d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p__button--arrow--right{background:0 0!important}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
NaturalGalleryComponent.ctorParameters = () => []; | ||
NaturalGalleryComponent.propDecorators = { | ||
options: [{ type: Input }], | ||
scrollable: [{ type: Input }], | ||
activate: [{ type: Output }], | ||
select: [{ type: Output }], | ||
pagination: [{ type: Output }], | ||
zoom: [{ type: Output }], | ||
galleryElement: [{ type: ViewChild, args: ['gallery', { static: true },] }], | ||
pswpElement: [{ type: ViewChild, args: ['pswp', { static: true },] }], | ||
items: [{ type: Input }] | ||
}; | ||
if (false) { | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.options; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.scrollable; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.activate; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.select; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pagination; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.zoom; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.galleryElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pswpElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.gallery; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NaturalGalleryComponent.prototype._items; | ||
} | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "scrollable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "activate", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pagination", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "zoom", void 0); | ||
__decorate([ | ||
ViewChild('gallery', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "galleryElement", void 0); | ||
__decorate([ | ||
ViewChild('pswp', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pswpElement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", [Object]) | ||
], NaturalGalleryComponent.prototype, "items", null); | ||
NaturalGalleryComponent = __decorate([ | ||
Component({ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\"\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:\"\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdjJoLTV6TTcwIDI0aDV2MmgtM3YzaC0ydi01eiIvPj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Q2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)!important}.pswp__preloader--active .pswp__preloader__icn{background:url(data:image/gif;base64,R0lGODlhFAAUAPMIAIeHhz8/P1dXVycnJ8/Pz7e3t5+fn29vb////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAIACwAAAAAFAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NaturalGalleryComponent); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class NaturalGalleryModule { | ||
} | ||
NaturalGalleryModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
},] } | ||
]; | ||
let NaturalGalleryModule = class NaturalGalleryModule { | ||
}; | ||
NaturalGalleryModule = __decorate([ | ||
NgModule({ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
}) | ||
], NaturalGalleryModule); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
/* | ||
* Public API Surface of angular-natural-gallery | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
@@ -152,0 +117,0 @@ |
@@ -1,10 +0,7 @@ | ||
import { EventEmitter, Component, ViewEncapsulation, Input, Output, ViewChild, NgModule } from '@angular/core'; | ||
import { __decorate, __metadata } from 'tslib'; | ||
import { EventEmitter, Input, Output, ViewChild, Component, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Natural } from '@ecodev/natural-gallery-js'; | ||
export { Masonry, Natural, Square } from '@ecodev/natural-gallery-js'; | ||
export * from '@ecodev/natural-gallery-js'; | ||
import { CommonModule } from '@angular/common'; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var NaturalGalleryComponent = /** @class */ (function () { | ||
@@ -18,7 +15,3 @@ function NaturalGalleryComponent() { | ||
Object.defineProperty(NaturalGalleryComponent.prototype, "items", { | ||
set: /** | ||
* @param {?} items | ||
* @return {?} | ||
*/ | ||
function (items) { | ||
set: function (items) { | ||
this._items = items; | ||
@@ -32,14 +25,5 @@ if (this.gallery) { | ||
}); | ||
/** | ||
* @return {?} | ||
*/ | ||
NaturalGalleryComponent.prototype.ngOnInit = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
NaturalGalleryComponent.prototype.ngOnInit = function () { | ||
var _this = this; | ||
setTimeout((/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
setTimeout(function () { | ||
// Moves the PhotoSwipe template to body to prevent layout to be behind or hidden (because overflow) on a parent scrollable div | ||
@@ -49,115 +33,93 @@ document.getElementsByTagName('body')[0].appendChild(_this.pswpElement.nativeElement); | ||
_this.gallery.init(); | ||
_this.gallery.addEventListener('zoom', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
_this.gallery.addEventListener('zoom', function (ev) { | ||
_this.zoom.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('select', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('select', function (ev) { | ||
_this.select.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('activate', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('activate', function (ev) { | ||
_this.activate.emit(ev.detail); | ||
})); | ||
_this.gallery.addEventListener('pagination', (/** | ||
* @param {?} ev | ||
* @return {?} | ||
*/ | ||
function (ev) { | ||
}); | ||
_this.gallery.addEventListener('pagination', function (ev) { | ||
_this.pagination.emit(ev.detail); | ||
})); | ||
}); | ||
if (_this._items && _this._items.length) { | ||
_this.gallery.setItems(_this._items); | ||
} | ||
})); | ||
}); | ||
}; | ||
NaturalGalleryComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:'';top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:'';display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:rgba(255,255,255,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV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DV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)!important}.pswp__preloader--active .pswp__preloader__icn{background:url(data:image/gif;base64,R0lGODlhFAAUAPMIAIeHhz8/P1dXVycnJ8/Pz7e3t5+fn29vb////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAIACwAAAAAFAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
NaturalGalleryComponent.ctorParameters = function () { return []; }; | ||
NaturalGalleryComponent.propDecorators = { | ||
options: [{ type: Input }], | ||
scrollable: [{ type: Input }], | ||
activate: [{ type: Output }], | ||
select: [{ type: Output }], | ||
pagination: [{ type: Output }], | ||
zoom: [{ type: Output }], | ||
galleryElement: [{ type: ViewChild, args: ['gallery', { static: true },] }], | ||
pswpElement: [{ type: ViewChild, args: ['pswp', { static: true },] }], | ||
items: [{ type: Input }] | ||
}; | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "scrollable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "activate", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pagination", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "zoom", void 0); | ||
__decorate([ | ||
ViewChild('gallery', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "galleryElement", void 0); | ||
__decorate([ | ||
ViewChild('pswp', { static: true }), | ||
__metadata("design:type", Object) | ||
], NaturalGalleryComponent.prototype, "pswpElement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", [Object]) | ||
], NaturalGalleryComponent.prototype, "items", null); | ||
NaturalGalleryComponent = __decorate([ | ||
Component({ | ||
selector: 'natural-gallery', | ||
template: "<!-- Gallery template -->\n<div #gallery></div>\n\n<!-- Photoswipe template -->\n<div #pswp class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n <div class=\"pswp__bg\"></div>\n <div class=\"pswp__scroll-wrap\">\n <div class=\"pswp__container\">\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n <div class=\"pswp__item\"></div>\n </div>\n <div class=\"pswp__ui pswp__ui--hidden\">\n <div class=\"pswp__top-bar\">\n <div class=\"pswp__counter\"></div>\n <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>\n <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>\n <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>\n <div class=\"pswp__preloader\">\n <div class=\"pswp__preloader__icn\">\n <div class=\"pswp__preloader__cut\">\n <div class=\"pswp__preloader__donut\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n <div class=\"pswp__share-tooltip\"></div>\n </div>\n <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\"></button>\n <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\"></button>\n <div class=\"pswp__caption\">\n <div class=\"pswp__caption__center\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<!-- Natural Gallery Icons -->\n<svg id=\"natural-gallery-icons\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" xml:space=\"preserve\" style=\"display:none\">\n <g id=\"natural-gallery-icon-select\">\n <path d=\"M50,0C22.4,0,0,22.4,0,50c0,27.6,22.4,50,50,50c27.6,0,50-22.4,50-50C100,22.4,77.6,0,50,0z M40,75L15,50l7.1-7.1L40,60.8l37.9-37.9L85,30L40,75z\"/>\n </g>\n <g id=\"natural-gallery-icon-next\">\n <polygon points=\"88.126,24.216 50.036,62.306 11.947,24.216 0.355,35.809 50.036,85.49 99.718,35.809 \t\t\"/>\n </g>\n</svg>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: ["/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:#000;opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.pswp__container,.pswp__zoom-wrap{touch-action:none;position:absolute;left:0;right:0;top:0;bottom:0;-webkit-backface-visibility:hidden}.pswp__container,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1)}.pswp__bg{will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__item{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{position:relative;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{outline:0;opacity:.9}.pswp__button::-moz-focus-inner{padding:0;border:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:0 0/264px 88px no-repeat;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio:1.1),(-webkit-min-device-pixel-ratio:1.09375),(min-resolution:105dpi),(min-resolution:1.1dppx){.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:0 0}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{display:none;background-position:-88px 0}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{content:\"\";top:35px;background-color:rgba(0,0,0,.3);height:30px;width:32px;position:absolute}.pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:1600;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{z-index:1620;position:absolute;background:#fff;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px rgba(0,0,0,.25);transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.pswp__share-tooltip a:hover{text-decoration:none;color:#000}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{content:\"\";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid transparent;border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.pswp__caption small{font-size:11px;color:#bbb}.pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.pswp__preloader__icn{width:20px;height:20px;margin:12px}.pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{-webkit-animation:.5s linear infinite clockwise;animation:.5s linear infinite clockwise}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{-webkit-animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate;animation:1s cubic-bezier(.4,0,.22,1) infinite donut-rotate}.pswp--css_animation .pswp__preloader__icn{background:0 0;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #fff;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:0 0;margin:0}@media screen and (max-width:1024px){.pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@-webkit-keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}@keyframes donut-rotate{0%,100%{transform:rotate(0)}50%{transform:rotate(-140deg)}}.pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:1550}.pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity 333ms cubic-bezier(.4,0,.22,1)}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}.natural-gallery-js .figure{left:0;position:relative;display:flex;flex-direction:column;float:left;overflow:hidden;margin:0;transition:background-color 1s}.natural-gallery-js .figure:hover .selectBtn,.natural-gallery-js .figure:hover .title.hover{transform:translateY(0)}.natural-gallery-js .figure .zoomable,.natural-gallery-js .figure.zoomable{cursor:zoom-in}.natural-gallery-js .figure .activable,.natural-gallery-js .figure.activable{cursor:pointer}.natural-gallery-js .figure.loaded>.image{opacity:1;transition:opacity 1s ease-out,transform 1s ease-out,margin .2s ease-out}.natural-gallery-js .figure.selected .selectBtn{transform:translateY(0);top:0;left:0;color:orange!important}.natural-gallery-js .figure .image.zoomable:hover,.natural-gallery-js .figure.zoomable:hover .image{transform:rotate(1deg) scale(1.2)}.natural-gallery-js .figure .image{display:block;position:relative;margin:0;width:auto;height:auto;flex:1;z-index:100;opacity:0;background-repeat:no-repeat;background-position:50%;transition:.2s}.natural-gallery-js .figure .image.cover{background-size:cover}.natural-gallery-js .figure .selectBtn{position:absolute;z-index:991;top:0;left:0;padding:10px;width:48px;height:48px;transition:.2s;transform:translateY(calc(-100% - 15px));color:hsla(0,0%,100%,.9);fill:currentColor;cursor:pointer;background:rgba(0,0,0,.6)}.natural-gallery-js .figure .selectBtn svg{width:28px}.natural-gallery-js .figure .title{position:absolute;bottom:0;left:0;right:0;z-index:1100;background:rgba(0,0,0,.6);text-align:center;color:#fff;font-size:14px;line-height:1.7em;font-weight:400;padding:10px;transition:.2s;overflow:hidden;white-space:normal}.natural-gallery-js .figure .title.hover{padding:10px;transform:translateY(calc(100% + 12px))}.natural-gallery-js .figure .link{border:none;text-decoration:none;cursor:pointer}.natural-gallery-js .figure .button{display:block;margin:10px;padding:5px;box-shadow:0 2px 5px rgba(0,0,0,.5);border-radius:4px}.pswp{z-index:9999999}.pswp .pswp__caption__center{text-align:center}.natural-gallery-js{position:relative}.natural-gallery-js *,.natural-gallery-js :after,.natural-gallery-js :before{box-sizing:border-box;margin:0;padding:0}.natural-gallery-js iframe{position:absolute;width:100%;height:0;top:0;left:0;background-color:transparent;border:0}.natural-gallery-js.scrolling,.natural-gallery-js.scrolling *{pointer-events:none!important}.natural-gallery-js .column{float:left}.natural-gallery-js .column:last-child{margin-right:0!important}.natural-gallery-js .column .figure:last-child{margin-bottom:0!important}.natural-gallery-js .natural-gallery-body{padding:0;margin:0}.natural-gallery-js .natural-gallery-body.resizing .column,.natural-gallery-js .natural-gallery-body.resizing .figure{transition:none;opacity:0}.natural-gallery-js .natural-gallery-body:after{content:\"\";display:block;clear:both}.natural-gallery-js .natural-gallery-next{display:block;margin:10px auto;text-align:center;height:30px}.natural-gallery-js .natural-gallery-next svg{cursor:pointer;font-size:16px;height:inherit;color:#0089e0!important;fill:currentColor!important}.natural-gallery-js .natural-gallery-next:after{content:\"\";display:block;clear:both}@-webkit-keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}@keyframes loading{0%{transform:scale(0);opacity:.3}to{transform:scale(1);opacity:.05}}.natural-gallery-js .natural-gallery-body .figure{background-color:rgba(0,137,224,.1)}.natural-gallery-js .natural-gallery-body .figure.errored{background-color:rgba(255,0,0,.1)}.natural-gallery-js .natural-gallery-next:hover{background-color:rgba(0,0,0,.1)!important}.natural-gallery-js .button{background:#0089e0!important;border-top:1px solid #45a8e0}.natural-gallery-js .button:hover{background:#0067bb!important}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM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IDIxaDV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)!important}.pswp__preloader--active .pswp__preloader__icn{background:url(data:image/gif;base64,R0lGODlhFAAUAPMIAIeHhz8/P1dXVycnJ8/Pz7e3t5+fn29vb////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAIACwAAAAAFAAUAEAEUxDJSatFxtwaggWAdIyHJAhXoRYSQUhDPGx0TbmujahbXGWZWqdDAYEsp5NupLPkdDwE7oXwWVasimzWrAE1tKFHErQRK8eL8mMUlRBJVI307uoiACH5BAUHAAgALAEAAQASABIAAAROEMkpS6E4W5upMdUmEQT2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8MtEMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpjaE4W5spANUmFQX2feFIltMJYivbvhnZ3d1x4BNBIDodz+cL7nDEn5CH8DGZAsFtMMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmGQb2feFIltMJYivbvhnZ3Z0g4FNRIDodz+cL7nDEn5CH8DGZgcCNQMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpz6E4W5upENUmAQD2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZg8GtUMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkphaA4W5tpCNUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZBMLNYMBEoxkqlXKVIgoFibbK9YLBYvLtHH5K0J0IACH5BAUHAAgALAEAAQASABIAAAROEMkpQ6A4W5vpGNUmCQL2feFIltMJYivbvhnZ3R1B4NNxIDodz+cL7nDEn5CH8DGZhcINAMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IACH5BAUHAAcALAEAAQASABIAAANCeLo6wzA6FxkhbaoQ4L3ZxnXLh0EjWZ4RV71VUcCLIByyTNt2PsO8m452sBGJBsNxkUwuD03lAQBASqnUJ7aq5UYSADs=) no-repeat}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0!important}"] | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], NaturalGalleryComponent); | ||
return NaturalGalleryComponent; | ||
}()); | ||
if (false) { | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.options; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.scrollable; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.activate; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.select; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pagination; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.zoom; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.galleryElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.pswpElement; | ||
/** @type {?} */ | ||
NaturalGalleryComponent.prototype.gallery; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NaturalGalleryComponent.prototype._items; | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var NaturalGalleryModule = /** @class */ (function () { | ||
function NaturalGalleryModule() { | ||
} | ||
NaturalGalleryModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
},] } | ||
]; | ||
NaturalGalleryModule = __decorate([ | ||
NgModule({ | ||
declarations: [ | ||
NaturalGalleryComponent, | ||
], | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [ | ||
NaturalGalleryComponent, | ||
], | ||
}) | ||
], NaturalGalleryModule); | ||
return NaturalGalleryModule; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
/* | ||
* Public API Surface of angular-natural-gallery | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
@@ -164,0 +126,0 @@ |
@@ -14,5 +14,5 @@ import { EventEmitter, OnInit } from '@angular/core'; | ||
private _items; | ||
items: any; | ||
set items(items: any); | ||
constructor(); | ||
ngOnInit(): void; | ||
} |
{ | ||
"name": "@ecodev/angular-natural-gallery", | ||
"version": "6.0.2", | ||
"version": "7.0.0", | ||
"license": "MIT", | ||
@@ -8,7 +8,8 @@ "repository": "github:Ecodev/angular-natural-gallery", | ||
"@ecodev/natural-gallery-js": "^6.0.1", | ||
"photoswipe": "^4.1.3", | ||
"tslib": "^1.9.0" | ||
"photoswipe": "^4.1.3" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "^8.2.0" | ||
"@angular/common": "^9.1.0", | ||
"@angular/core": "^9.1.0", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -15,0 +16,0 @@ "main": "bundles/ecodev-angular-natural-gallery.umd.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
300824
29
1592
5
1
16
2
+ Added@angular/common@9.1.13(transitive)
+ Added@angular/core@9.1.13(transitive)
+ Addedzone.js@0.10.3(transitive)
- Removedtslib@^1.9.0
- Removed@angular/common@8.2.14(transitive)
- Removed@angular/core@8.2.14(transitive)
- Removedzone.js@0.9.1(transitive)