Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-pinch-zoom

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-pinch-zoom - npm Package Compare versions

Comparing version 2.5.4 to 2.5.5

4

bundles/ngx-pinch-zoom.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
typeof define === 'function' && define.amd ? define('ngx-pinch-zoom', ['exports', '@angular/core', '@angular/common'], factory) :
(global = global || self, factory(global['ngx-pinch-zoom'] = {}, global.ng.core, global.ng.common));
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ngx-pinch-zoom'] = {}, global.ng.core, global.ng.common));
}(this, (function (exports, core, common) { 'use strict';

@@ -1026,3 +1026,3 @@

template: "<div class=\"pinch-zoom-content\" [class.pz-dragging]=\"isDragging\">\n\t<ng-content></ng-content>\n</div>\n\n<!-- Control: one button -->\n<div class=\"pz-zoom-button pz-zoom-control-position-bottom\" \n\t[class.pz-zoom-button-out]=\"isZoomedIn\" \n\t*ngIf=\"isControl()\" \n\t(click)=\"toggleZoom()\"></div>",
styles: [":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-moz-user-select:none;-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0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jU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNC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pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6IiBpZD0ic3ZnXzEiIGNsYXNzPSIiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIvPjxwYXRoIGQ9Ik0xMiAxMGgtMnYySDl2LTJIN1Y5aDJWN2gxdjJoMnYxeiIgaWQ9InN2Z18zIiBjbGFzcz0iIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48L2c+PC9zdmc+),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]
},] }

@@ -1029,0 +1029,0 @@ ];

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-pinch-zoom",["exports","@angular/core","@angular/common"],t):t((e=e||self)["ngx-pinch-zoom"]={},e.ng.core,e.ng.common)}(this,(function(e,t,i){"use strict";var o={transitionDuration:200,doubleTap:!0,doubleTapScale:2,limitZoom:"original image size",autoZoomOut:!1,disabled:!1,overflow:"hidden",zoomControlScale:1,backgroundColor:"rgba(0,0,0,0.85)",minScale:0,minPanScale:1.0001,disableZoomControl:"auto",listeners:"mouse and touch",wheel:!0,wheelZoomFactor:.2,draggableImage:!1},n={"transition-duration":"transitionDuration","double-tap":"doubleTap","double-tap-scale":"doubleTapScale","zoom-button":"zoomButton","auto-zoom-out":"autoZoomOut","limit-zoom":"limitZoom"},s=function(){function e(e){var t=this;this.eventType=void 0,this.handlers={},this.startX=0,this.startY=0,this.lastTap=0,this.doubleTapMinTimeout=300,this.tapMinTimeout=200,this.touchstartTime=0,this.i=0,this.isMousedown=!1,this.touchListeners={touchstart:"handleTouchstart",touchmove:"handleTouchmove",touchend:"handleTouchend"},this.mouseListeners={mousedown:"handleMousedown",mousemove:"handleMousemove",mouseup:"handleMouseup",wheel:"handleWheel"},this.otherListeners={resize:"handleResize"},this.handleTouchstart=function(e){t.elementPosition=t.getElementPosition(),t.touchstartTime=(new Date).getTime(),void 0===t.eventType&&t.getTouchstartPosition(e),t.runHandler("touchstart",e)},this.handleTouchmove=function(e){var i=e.touches;t.detectPan(i)&&t.runHandler("pan",e),t.detectPinch(e)&&t.runHandler("pinch",e)},this.handleTouchend=function(e){var i=e.touches;t.detectDoubleTap()&&t.runHandler("double-tap",e),t.detectTap(),t.runHandler("touchend",e),t.eventType="touchend",i&&0===i.length&&(t.eventType=void 0,t.i=0)},this.handleMousedown=function(e){t.isMousedown=!0,t.elementPosition=t.getElementPosition(),t.touchstartTime=(new Date).getTime(),void 0===t.eventType&&t.getMousedownPosition(e),t.runHandler("mousedown",e)},this.handleMousemove=function(e){if(t.isMousedown){switch(t.runHandler("pan",e),t.detectLinearSwipe(e)){case"horizontal-swipe":e.swipeType="horizontal-swipe",t.runHandler("horizontal-swipe",e);break;case"vertical-swipe":e.swipeType="vertical-swipe",t.runHandler("vertical-swipe",e)}(t.detectLinearSwipe(e)||"horizontal-swipe"===t.eventType||"vertical-swipe"===t.eventType)&&t.handleLinearSwipe(e)}},this.handleMouseup=function(e){t.detectTap(),t.isMousedown=!1,t.runHandler("mouseup",e),t.eventType=void 0,t.i=0},this.handleWheel=function(e){t.runHandler("wheel",e)},this.handleResize=function(e){t.runHandler("resize",e)},this.properties=e,this.element=this.properties.element,this.elementPosition=this.getElementPosition(),this.toggleEventListeners("addEventListener")}return e.prototype.destroy=function(){this.toggleEventListeners("removeEventListener")},e.prototype.toggleEventListeners=function(e){var t;for(var i in t="mouse and touch"===this.properties.listeners?Object.assign(this.touchListeners,this.mouseListeners):this.detectTouchScreen()?this.touchListeners:this.mouseListeners,this.properties.resize&&(t=Object.assign(t,this.otherListeners)),t){var o=t[i];"resize"===i?("addEventListener"===e&&window.addEventListener(i,this[o],!1),"removeEventListener"===e&&window.removeEventListener(i,this[o],!1)):"mouseup"===i||"mousemove"===i?("addEventListener"===e&&document.addEventListener(i,this[o],!1),"removeEventListener"===e&&document.removeEventListener(i,this[o],!1)):("addEventListener"===e&&this.element.addEventListener(i,this[o],!1),"removeEventListener"===e&&this.element.removeEventListener(i,this[o],!1))}},e.prototype.handleLinearSwipe=function(e){this.i++,this.i>3&&(this.eventType=this.getLinearSwipeType(e)),"horizontal-swipe"===this.eventType&&this.runHandler("horizontal-swipe",e),"vertical-swipe"===this.eventType&&this.runHandler("vertical-swipe",e)},e.prototype.runHandler=function(e,t){this.handlers[e]&&this.handlers[e](t)},e.prototype.detectPan=function(e){return 1===e.length&&!this.eventType||"pan"===this.eventType},e.prototype.detectDoubleTap=function(){var e=this;if(null==this.eventType){var t=(new Date).getTime(),i=t-this.lastTap;if(clearTimeout(this.doubleTapTimeout),i<this.doubleTapMinTimeout&&i>0)return!0;this.doubleTapTimeout=setTimeout((function(){clearTimeout(e.doubleTapTimeout)}),this.doubleTapMinTimeout),this.lastTap=t}},e.prototype.detectTap=function(){if(null==this.eventType){var e=(new Date).getTime()-this.touchstartTime;e>0&&(e<this.tapMinTimeout?this.runHandler("tap",{}):this.runHandler("longtap",{}))}},e.prototype.detectPinch=function(e){return 2===e.touches.length&&void 0===this.eventType||"pinch"===this.eventType},e.prototype.detectLinearSwipe=function(e){var t=e.touches;if(t){if(1===t.length&&!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)}else if(!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)},e.prototype.getLinearSwipeType=function(e){if("horizontal-swipe"!==this.eventType&&"vertical-swipe"!==this.eventType){var t=Math.abs(this.moveLeft(0,e)-this.startX);return 3*Math.abs(this.moveTop(0,e)-this.startY)>t?"vertical-swipe":"horizontal-swipe"}return this.eventType},e.prototype.getElementPosition=function(){return this.element.getBoundingClientRect()},e.prototype.getTouchstartPosition=function(e){this.startX=e.touches[0].clientX-this.elementPosition.left,this.startY=e.touches[0].clientY-this.elementPosition.top},e.prototype.getMousedownPosition=function(e){this.startX=e.clientX-this.elementPosition.left,this.startY=e.clientY-this.elementPosition.top},e.prototype.moveLeft=function(e,t){var i=t.touches;return i?i[e].clientX-this.elementPosition.left:t.clientX-this.elementPosition.left},e.prototype.moveTop=function(e,t){var i=t.touches;return i?i[e].clientY-this.elementPosition.top:t.clientY-this.elementPosition.top},e.prototype.detectTouchScreen=function(){var e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||function(e){return window.matchMedia(e).matches}(["(",e.join("touch-enabled),("),"heartz",")"].join(""))},e.prototype.on=function(e,t){e&&(this.handlers[e]=t)},e}(),a={doubleTap:!0,doubleTapScale:2,transitionDuration:200,limitZoom:"original image size",minScale:0,minPanScale:1.0001,wheel:!0,wheelZoomFactor:.2,draggableImage:!0,listeners:"auto",zoomControlScale:2},r=function(){function e(e){var t=this;this.i=0,this.scale=1,this.initialScale=1,this.startX=0,this.startY=0,this.moveX=0,this.moveY=0,this.initialMoveX=0,this.initialMoveY=0,this.moveXC=0,this.moveYC=0,this.lastTap=0,this.draggingMode=!1,this.distance=0,this.doubleTapTimeout=0,this.initialDistance=0,this.events={},this.maxHtmlContentScale=3,this.maxScale=3,this.handleTouchstart=function(e){t.getElementPosition(),void 0===t.eventType&&t.getTouchstartPosition(e)},this.handleTouchend=function(e){if("touchend"===e.type){t.i=0,t.draggingMode=!1;var i=e.touches;t.scale<1&&(t.scale=1),t.properties.autoZoomOut&&"pinch"===t.eventType&&(t.scale=1),("pinch"===t.eventType||"pan"===t.eventType&&t.scale>t.properties.minPanScale)&&t.alignImage(),"pinch"!==t.eventType&&"pan"!==t.eventType&&"horizontal-swipe"!==t.eventType&&"vertical-swipe"!==t.eventType||t.updateInitialValues(),t.eventType="touchend",i&&0===i.length&&(t.eventType=void 0)}"mouseup"===e.type&&(t.draggingMode=!1,t.updateInitialValues(),t.eventType=void 0)},this.handlePan=function(e){if(!(t.scale<t.properties.minPanScale||t.properties.disablePan)){e.preventDefault();var i=t.getClientPosition(e),o=i.clientX,n=i.clientY;t.eventType||(t.startX=o-t.elementPosition.left,t.startY=n-t.elementPosition.top),t.eventType="pan",t.moveX=t.initialMoveX+(t.moveLeft(e,0)-t.startX),t.moveY=t.initialMoveY+(t.moveTop(e,0)-t.startY),t.properties.limitPan&&(t.limitPanY(),t.limitPanX()),"mousemove"===e.type&&t.scale>t.properties.minPanScale&&t.centeringImage(),t.transformElement(0)}},this.handleDoubleTap=function(e){t.toggleZoom(e)},this.handlePinch=function(e){if(e.preventDefault(),void 0===t.eventType||"pinch"===t.eventType){var i=e.touches;if(!t.eventType){t.initialDistance=t.getDistance(i);var o=t.moveLeft(e,0),n=t.moveLeft(e,1),s=t.moveTop(e,0),a=t.moveTop(e,1);t.moveXC=(o+n)/2-t.initialMoveX,t.moveYC=(s+a)/2-t.initialMoveY}t.eventType="pinch",t.distance=t.getDistance(i),t.scale=t.initialScale*(t.distance/t.initialDistance),t.moveX=t.initialMoveX-(t.distance/t.initialDistance*t.moveXC-t.moveXC),t.moveY=t.initialMoveY-(t.distance/t.initialDistance*t.moveYC-t.moveYC),t.handleLimitZoom(),t.properties.limitPan&&(t.limitPanY(),t.limitPanX()),t.transformElement(0)}},this.handleWheel=function(e){e.preventDefault();var i=t.properties.wheelZoomFactor||0,o=e.deltaY<0?i:-i,n=t.initialScale+o;if(n<1+i?n=1:n<t.maxScale&&n>t.maxScale-i&&(n=t.maxScale),!(n<1||n>t.maxScale)&&n!==t.scale){t.getElementPosition(),t.scale=n;var s=e.clientX-t.elementPosition.left-t.initialMoveX,a=e.clientY-t.elementPosition.top-t.initialMoveY;t.setZoom({scale:n,center:[s,a]})}},this.handleResize=function(e){t.setAutoHeight()},this.element=e.element,this.elementTarget=this.element.querySelector("*").tagName,this.parentElement=this.element.parentElement,this.properties=Object.assign({},a,e),this.pollLimitZoom(),this.touches=new s({element:e.element,listeners:this.properties.listeners,resize:this.properties.autoHeight}),this.setBasicStyles(),this.touches.on("touchstart",this.handleTouchstart),this.touches.on("touchend",this.handleTouchend),this.touches.on("mousedown",this.handleTouchstart),this.touches.on("mouseup",this.handleTouchend),this.touches.on("pan",this.handlePan),this.touches.on("mousemove",this.handlePan),this.touches.on("pinch",this.handlePinch),this.properties.wheel&&this.touches.on("wheel",this.handleWheel),this.properties.doubleTap&&this.touches.on("double-tap",this.handleDoubleTap),this.properties.autoHeight&&this.touches.on("resize",this.handleResize)}return e.prototype.handleLimitZoom=function(){var e=this.maxScale,t=this.properties.minScale||0;if(this.scale>e||this.scale<=t){var i=this.getImageWidth(),o=this.getImageHeight(),n=i*this.scale,s=o*this.scale,a=this.moveX/(n-i),r=this.moveY/(s-o);this.scale>e&&(this.scale=e),this.scale<=t&&(this.scale=t);var l=i*this.scale,h=o*this.scale;this.moveX=-Math.abs(a*(l-i)),this.moveY=-Math.abs(-r*(h-o))}},e.prototype.getLimitZoom=function(){if("original image size"!==this.properties.limitZoom)return this.maxScale=this.properties.limitZoom||0,this.maxScale;if("IMG"!==this.elementTarget)return this.maxScale=this.maxHtmlContentScale,this.maxScale;var e=this.element.getElementsByTagName("img")[0];return e.naturalWidth&&e.offsetWidth?(this.maxScale=e.naturalWidth/e.offsetWidth,this.maxScale):void 0},e.prototype.moveLeft=function(e,t){return void 0===t&&(t=0),this.getClientPosition(e,t).clientX-this.elementPosition.left},e.prototype.moveTop=function(e,t){return void 0===t&&(t=0),this.getClientPosition(e,t).clientY-this.elementPosition.top},e.prototype.centeringImage=function(){var e=this.element.getElementsByTagName(this.elementTarget)[0],t=this.moveX,i=this.moveY;return this.moveY>0&&(this.moveY=0),this.moveX>0&&(this.moveX=0),e&&(this.limitPanY(),this.limitPanX()),e&&this.scale<1&&this.moveX<this.element.offsetWidth*(1-this.scale)&&(this.moveX=this.element.offsetWidth*(1-this.scale)),t!==this.moveX||i!==this.moveY},e.prototype.limitPanY=function(){var e=this.getImageHeight(),t=e*this.scale,i=this.parentElement.offsetHeight,o=this.element.offsetHeight;if(t<i)this.moveY=(i-o*this.scale)/2;else{var n=(e-o)*this.scale/2;this.moveY>n?this.moveY=n:t+Math.abs(n)-i+this.moveY<0&&(this.moveY=-(t+Math.abs(n)-i))}},e.prototype.limitPanX=function(){var e=this.getImageWidth(),t=e*this.scale,i=this.parentElement.offsetWidth,o=this.element.offsetWidth;if(t<i)this.moveX=(i-o*this.scale)/2;else{var n=(e-o)*this.scale/2;this.moveX>n?this.moveX=n:t+Math.abs(n)-i+this.moveX<0&&(this.moveX=-(e*this.scale+Math.abs(n)-i))}},e.prototype.setBasicStyles=function(){this.element.style.display="flex",this.element.style.alignItems="center",this.element.style.justifyContent="center",this.element.style.transformOrigin="0 0",this.setImageSize(),this.setDraggableImage()},e.prototype.removeBasicStyles=function(){this.element.style.display="",this.element.style.alignItems="",this.element.style.justifyContent="",this.element.style.transformOrigin="",this.removeImageSize(),this.removeDraggableImage()},e.prototype.setDraggableImage=function(){var e=this.getImageElement();e&&(e.draggable=this.properties.draggableImage)},e.prototype.removeDraggableImage=function(){var e=this.getImageElement();e&&(e.draggable=!0)},e.prototype.setImageSize=function(){var e=this.element.getElementsByTagName(this.elementTarget);e.length&&(e[0].style.maxWidth="100%",e[0].style.maxHeight="100%",this.setAutoHeight())},e.prototype.setAutoHeight=function(){var e=this.element.getElementsByTagName(this.elementTarget);if(this.properties.autoHeight&&e.length){var t=e[0].getAttribute("width")/e[0].getAttribute("height"),i=this.parentElement.offsetWidth;e[0].style.maxHeight=i/t+"px"}},e.prototype.removeImageSize=function(){var e=this.element.getElementsByTagName(this.elementTarget);e.length&&(e[0].style.maxWidth="",e[0].style.maxHeight="")},e.prototype.getElementPosition=function(){this.elementPosition=this.element.parentElement.getBoundingClientRect()},e.prototype.getTouchstartPosition=function(e){var t=this.getClientPosition(e),i=t.clientX,o=t.clientY;this.startX=i-this.elementPosition.left,this.startY=o-this.elementPosition.top},e.prototype.getClientPosition=function(e,t){var i,o;return void 0===t&&(t=0),"touchstart"!==e.type&&"touchmove"!==e.type||(i=e.touches[t].clientX,o=e.touches[t].clientY),"mousedown"!==e.type&&"mousemove"!==e.type||(i=e.clientX,o=e.clientY),{clientX:i,clientY:o}},e.prototype.resetScale=function(){this.scale=1,this.moveX=0,this.moveY=0,this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)},e.prototype.updateInitialValues=function(){this.initialScale=this.scale,this.initialMoveX=this.moveX,this.initialMoveY=this.moveY},e.prototype.getDistance=function(e){return Math.sqrt(Math.pow(e[0].pageX-e[1].pageX,2)+Math.pow(e[0].pageY-e[1].pageY,2))},e.prototype.getImageHeight=function(){return this.element.getElementsByTagName(this.elementTarget)[0].offsetHeight},e.prototype.getImageWidth=function(){return this.element.getElementsByTagName(this.elementTarget)[0].offsetWidth},e.prototype.transformElement=function(e){this.element.style.transition="all "+e+"ms",this.element.style.transform="matrix("+Number(this.scale)+", 0, 0, "+Number(this.scale)+", "+Number(this.moveX)+", "+Number(this.moveY)+")"},e.prototype.isTouchScreen=function(){var e=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window)return!0;var t=["(",e.join("touch-enabled),("),"heartz",")"].join("");return this.getMatchMedia(t)},e.prototype.getMatchMedia=function(e){return window.matchMedia(e).matches},e.prototype.isDragging=function(){if(this.properties.disablePan)return!1;var e=this.getImageHeight(),t=this.getImageWidth();return this.scale>1?e*this.scale>this.parentElement.offsetHeight||t*this.scale>this.parentElement.offsetWidth:1===this.scale?e>this.parentElement.offsetHeight||t>this.parentElement.offsetWidth:void 0},e.prototype.pollLimitZoom=function(){var e=this,t=setInterval((function(){e.getLimitZoom()&&clearInterval(t)}),10)},e.prototype.getImageElement=function(){var e=this.element.getElementsByTagName(this.elementTarget);if(e.length)return e[0]},e.prototype.toggleZoom=function(e){if(void 0===e&&(e=!1),1===this.initialScale){if(e&&e.changedTouches){if(void 0===this.properties.doubleTapScale)return;var t=e.changedTouches;this.scale=this.initialScale*this.properties.doubleTapScale,this.moveX=this.initialMoveX-(t[0].clientX-this.elementPosition.left)*(this.properties.doubleTapScale-1),this.moveY=this.initialMoveY-(t[0].clientY-this.elementPosition.top)*(this.properties.doubleTapScale-1)}else{var i=this.properties.zoomControlScale||0;this.scale=this.initialScale*(i+1),this.moveX=this.initialMoveX-this.element.offsetWidth*(this.scale-1)/2,this.moveY=this.initialMoveY-this.element.offsetHeight*(this.scale-1)/2}this.centeringImage(),this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)}else this.resetScale()},e.prototype.setZoom=function(e){var t,i;this.scale=e.scale;var o=this.element.offsetWidth,n=this.element.offsetHeight,s=o*this.scale/(o*this.initialScale);e.center?(t=e.center[0],i=e.center[1]):(t=o/2-this.initialMoveX,i=n/2-this.initialMoveY),this.moveX=this.initialMoveX-(s*t-t),this.moveY=this.initialMoveY-(s*i-i),this.centeringImage(),this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)},e.prototype.alignImage=function(){this.centeringImage()&&(this.updateInitialValues(),this.transformElement(this.properties.transitionDuration))},e.prototype.destroy=function(){this.removeBasicStyles(),this.touches.destroy()},e}(),l=function(){function e(e){this.elementRef=e,this.transitionDuration=200,this.doubleTap=!0,this.doubleTapScale=2,this.autoZoomOut=!1,this.disabled=!1,this.zoomControlScale=1,this.backgroundColor="rgba(0,0,0,0.85)",this.minPanScale=1.0001,this.minScale=0,this.listeners="mouse and touch",this.wheel=!0,this.autoHeight=!1,this.wheelZoomFactor=.2,this.draggableImage=!1,this.applyOptionsDefault(o,{})}return Object.defineProperty(e.prototype,"properties",{get:function(){return this._properties},set:function(e){e&&(this._properties=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostOverflow",{get:function(){return this.properties.overflow},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostBackgroundColor",{get:function(){return this.properties.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isTouchScreen",{get:function(){var e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||function(e){return window.matchMedia(e).matches}(["(",e.join("touch-enabled),("),"heartz",")"].join(""))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDragging",{get:function(){return this.pinchZoom.isDragging()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.properties.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.pinchZoom.scale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isZoomedIn",{get:function(){return this.scale>1},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.initPinchZoom(),this.pollLimitZoom()},e.prototype.ngOnChanges=function(e){var t=this.getProperties(e);t=this.renameProperties(t),this.applyOptionsDefault(o,t)},e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.initPinchZoom=function(){this.properties.disabled||(this.properties.element=this.elementRef.nativeElement.querySelector(".pinch-zoom-content"),this.pinchZoom=new r(this.properties))},e.prototype.getProperties=function(e){var t={};for(var i in e)"properties"!==i&&(t[i]=e[i].currentValue),"properties"===i&&(t=e[i].currentValue);return t},e.prototype.renameProperties=function(e){for(var t in e)n[t]&&(e[n[t]]=e[t],delete e[t]);return e},e.prototype.applyOptionsDefault=function(e,t){this.properties=Object.assign({},e,t)},e.prototype.toggleZoom=function(){this.pinchZoom.toggleZoom()},e.prototype.isControl=function(){return!this.isDisabled&&("disable"!==this.properties.disableZoomControl&&(!this.isTouchScreen||"auto"!==this.properties.disableZoomControl))},e.prototype.pollLimitZoom=function(){this.pinchZoom.pollLimitZoom()},e.prototype.destroy=function(){this.pinchZoom.destroy()},e}();l.decorators=[{type:t.Component,args:[{selector:"pinch-zoom, [pinch-zoom]",exportAs:"pinchZoom",template:'<div class="pinch-zoom-content" [class.pz-dragging]="isDragging">\n\t<ng-content></ng-content>\n</div>\n\n\x3c!-- Control: one button --\x3e\n<div class="pz-zoom-button pz-zoom-control-position-bottom" \n\t[class.pz-zoom-button-out]="isZoomedIn" \n\t*ngIf="isControl()" \n\t(click)="toggleZoom()"></div>',styles:[":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-moz-user-select:none;-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6IiBpZD0ic3ZnXzEiIGNsYXNzPSIiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIvPjxwYXRoIGQ9Ik0xMiAxMGgtMnYySDl2LTJIN1Y5aDJWN2gxdjJoMnYxeiIgaWQ9InN2Z18zIiBjbGFzcz0iIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48L2c+PC9zdmc+),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]}]}],l.ctorParameters=function(){return[{type:t.ElementRef}]},l.propDecorators={properties:[{type:t.Input,args:["properties"]}],transitionDuration:[{type:t.Input,args:["transition-duration"]}],doubleTap:[{type:t.Input,args:["double-tap"]}],doubleTapScale:[{type:t.Input,args:["double-tap-scale"]}],autoZoomOut:[{type:t.Input,args:["auto-zoom-out"]}],limitZoom:[{type:t.Input,args:["limit-zoom"]}],disabled:[{type:t.Input,args:["disabled"]}],disablePan:[{type:t.Input}],overflow:[{type:t.Input}],zoomControlScale:[{type:t.Input}],disableZoomControl:[{type:t.Input}],backgroundColor:[{type:t.Input}],limitPan:[{type:t.Input}],minPanScale:[{type:t.Input}],minScale:[{type:t.Input}],listeners:[{type:t.Input}],wheel:[{type:t.Input}],autoHeight:[{type:t.Input}],wheelZoomFactor:[{type:t.Input}],draggableImage:[{type:t.Input}],hostOverflow:[{type:t.HostBinding,args:["style.overflow"]}],hostBackgroundColor:[{type:t.HostBinding,args:["style.background-color"]}]};var h=function(){};h.decorators=[{type:t.NgModule,args:[{declarations:[l],imports:[i.CommonModule],exports:[l],providers:[],bootstrap:[],entryComponents:[l]}]}],e.PinchZoomComponent=l,e.PinchZoomModule=h,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-pinch-zoom",["exports","@angular/core","@angular/common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ngx-pinch-zoom"]={},e.ng.core,e.ng.common)}(this,(function(e,t,i){"use strict";var o={transitionDuration:200,doubleTap:!0,doubleTapScale:2,limitZoom:"original image size",autoZoomOut:!1,disabled:!1,overflow:"hidden",zoomControlScale:1,backgroundColor:"rgba(0,0,0,0.85)",minScale:0,minPanScale:1.0001,disableZoomControl:"auto",listeners:"mouse and touch",wheel:!0,wheelZoomFactor:.2,draggableImage:!1},n={"transition-duration":"transitionDuration","double-tap":"doubleTap","double-tap-scale":"doubleTapScale","zoom-button":"zoomButton","auto-zoom-out":"autoZoomOut","limit-zoom":"limitZoom"},s=function(){function e(e){var t=this;this.eventType=void 0,this.handlers={},this.startX=0,this.startY=0,this.lastTap=0,this.doubleTapMinTimeout=300,this.tapMinTimeout=200,this.touchstartTime=0,this.i=0,this.isMousedown=!1,this.touchListeners={touchstart:"handleTouchstart",touchmove:"handleTouchmove",touchend:"handleTouchend"},this.mouseListeners={mousedown:"handleMousedown",mousemove:"handleMousemove",mouseup:"handleMouseup",wheel:"handleWheel"},this.otherListeners={resize:"handleResize"},this.handleTouchstart=function(e){t.elementPosition=t.getElementPosition(),t.touchstartTime=(new Date).getTime(),void 0===t.eventType&&t.getTouchstartPosition(e),t.runHandler("touchstart",e)},this.handleTouchmove=function(e){var i=e.touches;t.detectPan(i)&&t.runHandler("pan",e),t.detectPinch(e)&&t.runHandler("pinch",e)},this.handleTouchend=function(e){var i=e.touches;t.detectDoubleTap()&&t.runHandler("double-tap",e),t.detectTap(),t.runHandler("touchend",e),t.eventType="touchend",i&&0===i.length&&(t.eventType=void 0,t.i=0)},this.handleMousedown=function(e){t.isMousedown=!0,t.elementPosition=t.getElementPosition(),t.touchstartTime=(new Date).getTime(),void 0===t.eventType&&t.getMousedownPosition(e),t.runHandler("mousedown",e)},this.handleMousemove=function(e){if(t.isMousedown){switch(t.runHandler("pan",e),t.detectLinearSwipe(e)){case"horizontal-swipe":e.swipeType="horizontal-swipe",t.runHandler("horizontal-swipe",e);break;case"vertical-swipe":e.swipeType="vertical-swipe",t.runHandler("vertical-swipe",e)}(t.detectLinearSwipe(e)||"horizontal-swipe"===t.eventType||"vertical-swipe"===t.eventType)&&t.handleLinearSwipe(e)}},this.handleMouseup=function(e){t.detectTap(),t.isMousedown=!1,t.runHandler("mouseup",e),t.eventType=void 0,t.i=0},this.handleWheel=function(e){t.runHandler("wheel",e)},this.handleResize=function(e){t.runHandler("resize",e)},this.properties=e,this.element=this.properties.element,this.elementPosition=this.getElementPosition(),this.toggleEventListeners("addEventListener")}return e.prototype.destroy=function(){this.toggleEventListeners("removeEventListener")},e.prototype.toggleEventListeners=function(e){var t;for(var i in t="mouse and touch"===this.properties.listeners?Object.assign(this.touchListeners,this.mouseListeners):this.detectTouchScreen()?this.touchListeners:this.mouseListeners,this.properties.resize&&(t=Object.assign(t,this.otherListeners)),t){var o=t[i];"resize"===i?("addEventListener"===e&&window.addEventListener(i,this[o],!1),"removeEventListener"===e&&window.removeEventListener(i,this[o],!1)):"mouseup"===i||"mousemove"===i?("addEventListener"===e&&document.addEventListener(i,this[o],!1),"removeEventListener"===e&&document.removeEventListener(i,this[o],!1)):("addEventListener"===e&&this.element.addEventListener(i,this[o],!1),"removeEventListener"===e&&this.element.removeEventListener(i,this[o],!1))}},e.prototype.handleLinearSwipe=function(e){this.i++,this.i>3&&(this.eventType=this.getLinearSwipeType(e)),"horizontal-swipe"===this.eventType&&this.runHandler("horizontal-swipe",e),"vertical-swipe"===this.eventType&&this.runHandler("vertical-swipe",e)},e.prototype.runHandler=function(e,t){this.handlers[e]&&this.handlers[e](t)},e.prototype.detectPan=function(e){return 1===e.length&&!this.eventType||"pan"===this.eventType},e.prototype.detectDoubleTap=function(){var e=this;if(null==this.eventType){var t=(new Date).getTime(),i=t-this.lastTap;if(clearTimeout(this.doubleTapTimeout),i<this.doubleTapMinTimeout&&i>0)return!0;this.doubleTapTimeout=setTimeout((function(){clearTimeout(e.doubleTapTimeout)}),this.doubleTapMinTimeout),this.lastTap=t}},e.prototype.detectTap=function(){if(null==this.eventType){var e=(new Date).getTime()-this.touchstartTime;e>0&&(e<this.tapMinTimeout?this.runHandler("tap",{}):this.runHandler("longtap",{}))}},e.prototype.detectPinch=function(e){return 2===e.touches.length&&void 0===this.eventType||"pinch"===this.eventType},e.prototype.detectLinearSwipe=function(e){var t=e.touches;if(t){if(1===t.length&&!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)}else if(!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)},e.prototype.getLinearSwipeType=function(e){if("horizontal-swipe"!==this.eventType&&"vertical-swipe"!==this.eventType){var t=Math.abs(this.moveLeft(0,e)-this.startX);return 3*Math.abs(this.moveTop(0,e)-this.startY)>t?"vertical-swipe":"horizontal-swipe"}return this.eventType},e.prototype.getElementPosition=function(){return this.element.getBoundingClientRect()},e.prototype.getTouchstartPosition=function(e){this.startX=e.touches[0].clientX-this.elementPosition.left,this.startY=e.touches[0].clientY-this.elementPosition.top},e.prototype.getMousedownPosition=function(e){this.startX=e.clientX-this.elementPosition.left,this.startY=e.clientY-this.elementPosition.top},e.prototype.moveLeft=function(e,t){var i=t.touches;return i?i[e].clientX-this.elementPosition.left:t.clientX-this.elementPosition.left},e.prototype.moveTop=function(e,t){var i=t.touches;return i?i[e].clientY-this.elementPosition.top:t.clientY-this.elementPosition.top},e.prototype.detectTouchScreen=function(){var e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||function(e){return window.matchMedia(e).matches}(["(",e.join("touch-enabled),("),"heartz",")"].join(""))},e.prototype.on=function(e,t){e&&(this.handlers[e]=t)},e}(),a={doubleTap:!0,doubleTapScale:2,transitionDuration:200,limitZoom:"original image size",minScale:0,minPanScale:1.0001,wheel:!0,wheelZoomFactor:.2,draggableImage:!0,listeners:"auto",zoomControlScale:2},r=function(){function e(e){var t=this;this.i=0,this.scale=1,this.initialScale=1,this.startX=0,this.startY=0,this.moveX=0,this.moveY=0,this.initialMoveX=0,this.initialMoveY=0,this.moveXC=0,this.moveYC=0,this.lastTap=0,this.draggingMode=!1,this.distance=0,this.doubleTapTimeout=0,this.initialDistance=0,this.events={},this.maxHtmlContentScale=3,this.maxScale=3,this.handleTouchstart=function(e){t.getElementPosition(),void 0===t.eventType&&t.getTouchstartPosition(e)},this.handleTouchend=function(e){if("touchend"===e.type){t.i=0,t.draggingMode=!1;var i=e.touches;t.scale<1&&(t.scale=1),t.properties.autoZoomOut&&"pinch"===t.eventType&&(t.scale=1),("pinch"===t.eventType||"pan"===t.eventType&&t.scale>t.properties.minPanScale)&&t.alignImage(),"pinch"!==t.eventType&&"pan"!==t.eventType&&"horizontal-swipe"!==t.eventType&&"vertical-swipe"!==t.eventType||t.updateInitialValues(),t.eventType="touchend",i&&0===i.length&&(t.eventType=void 0)}"mouseup"===e.type&&(t.draggingMode=!1,t.updateInitialValues(),t.eventType=void 0)},this.handlePan=function(e){if(!(t.scale<t.properties.minPanScale||t.properties.disablePan)){e.preventDefault();var i=t.getClientPosition(e),o=i.clientX,n=i.clientY;t.eventType||(t.startX=o-t.elementPosition.left,t.startY=n-t.elementPosition.top),t.eventType="pan",t.moveX=t.initialMoveX+(t.moveLeft(e,0)-t.startX),t.moveY=t.initialMoveY+(t.moveTop(e,0)-t.startY),t.properties.limitPan&&(t.limitPanY(),t.limitPanX()),"mousemove"===e.type&&t.scale>t.properties.minPanScale&&t.centeringImage(),t.transformElement(0)}},this.handleDoubleTap=function(e){t.toggleZoom(e)},this.handlePinch=function(e){if(e.preventDefault(),void 0===t.eventType||"pinch"===t.eventType){var i=e.touches;if(!t.eventType){t.initialDistance=t.getDistance(i);var o=t.moveLeft(e,0),n=t.moveLeft(e,1),s=t.moveTop(e,0),a=t.moveTop(e,1);t.moveXC=(o+n)/2-t.initialMoveX,t.moveYC=(s+a)/2-t.initialMoveY}t.eventType="pinch",t.distance=t.getDistance(i),t.scale=t.initialScale*(t.distance/t.initialDistance),t.moveX=t.initialMoveX-(t.distance/t.initialDistance*t.moveXC-t.moveXC),t.moveY=t.initialMoveY-(t.distance/t.initialDistance*t.moveYC-t.moveYC),t.handleLimitZoom(),t.properties.limitPan&&(t.limitPanY(),t.limitPanX()),t.transformElement(0)}},this.handleWheel=function(e){e.preventDefault();var i=t.properties.wheelZoomFactor||0,o=e.deltaY<0?i:-i,n=t.initialScale+o;if(n<1+i?n=1:n<t.maxScale&&n>t.maxScale-i&&(n=t.maxScale),!(n<1||n>t.maxScale)&&n!==t.scale){t.getElementPosition(),t.scale=n;var s=e.clientX-t.elementPosition.left-t.initialMoveX,a=e.clientY-t.elementPosition.top-t.initialMoveY;t.setZoom({scale:n,center:[s,a]})}},this.handleResize=function(e){t.setAutoHeight()},this.element=e.element,this.elementTarget=this.element.querySelector("*").tagName,this.parentElement=this.element.parentElement,this.properties=Object.assign({},a,e),this.pollLimitZoom(),this.touches=new s({element:e.element,listeners:this.properties.listeners,resize:this.properties.autoHeight}),this.setBasicStyles(),this.touches.on("touchstart",this.handleTouchstart),this.touches.on("touchend",this.handleTouchend),this.touches.on("mousedown",this.handleTouchstart),this.touches.on("mouseup",this.handleTouchend),this.touches.on("pan",this.handlePan),this.touches.on("mousemove",this.handlePan),this.touches.on("pinch",this.handlePinch),this.properties.wheel&&this.touches.on("wheel",this.handleWheel),this.properties.doubleTap&&this.touches.on("double-tap",this.handleDoubleTap),this.properties.autoHeight&&this.touches.on("resize",this.handleResize)}return e.prototype.handleLimitZoom=function(){var e=this.maxScale,t=this.properties.minScale||0;if(this.scale>e||this.scale<=t){var i=this.getImageWidth(),o=this.getImageHeight(),n=i*this.scale,s=o*this.scale,a=this.moveX/(n-i),r=this.moveY/(s-o);this.scale>e&&(this.scale=e),this.scale<=t&&(this.scale=t);var l=i*this.scale,h=o*this.scale;this.moveX=-Math.abs(a*(l-i)),this.moveY=-Math.abs(-r*(h-o))}},e.prototype.getLimitZoom=function(){if("original image size"!==this.properties.limitZoom)return this.maxScale=this.properties.limitZoom||0,this.maxScale;if("IMG"!==this.elementTarget)return this.maxScale=this.maxHtmlContentScale,this.maxScale;var e=this.element.getElementsByTagName("img")[0];return e.naturalWidth&&e.offsetWidth?(this.maxScale=e.naturalWidth/e.offsetWidth,this.maxScale):void 0},e.prototype.moveLeft=function(e,t){return void 0===t&&(t=0),this.getClientPosition(e,t).clientX-this.elementPosition.left},e.prototype.moveTop=function(e,t){return void 0===t&&(t=0),this.getClientPosition(e,t).clientY-this.elementPosition.top},e.prototype.centeringImage=function(){var e=this.element.getElementsByTagName(this.elementTarget)[0],t=this.moveX,i=this.moveY;return this.moveY>0&&(this.moveY=0),this.moveX>0&&(this.moveX=0),e&&(this.limitPanY(),this.limitPanX()),e&&this.scale<1&&this.moveX<this.element.offsetWidth*(1-this.scale)&&(this.moveX=this.element.offsetWidth*(1-this.scale)),t!==this.moveX||i!==this.moveY},e.prototype.limitPanY=function(){var e=this.getImageHeight(),t=e*this.scale,i=this.parentElement.offsetHeight,o=this.element.offsetHeight;if(t<i)this.moveY=(i-o*this.scale)/2;else{var n=(e-o)*this.scale/2;this.moveY>n?this.moveY=n:t+Math.abs(n)-i+this.moveY<0&&(this.moveY=-(t+Math.abs(n)-i))}},e.prototype.limitPanX=function(){var e=this.getImageWidth(),t=e*this.scale,i=this.parentElement.offsetWidth,o=this.element.offsetWidth;if(t<i)this.moveX=(i-o*this.scale)/2;else{var n=(e-o)*this.scale/2;this.moveX>n?this.moveX=n:t+Math.abs(n)-i+this.moveX<0&&(this.moveX=-(e*this.scale+Math.abs(n)-i))}},e.prototype.setBasicStyles=function(){this.element.style.display="flex",this.element.style.alignItems="center",this.element.style.justifyContent="center",this.element.style.transformOrigin="0 0",this.setImageSize(),this.setDraggableImage()},e.prototype.removeBasicStyles=function(){this.element.style.display="",this.element.style.alignItems="",this.element.style.justifyContent="",this.element.style.transformOrigin="",this.removeImageSize(),this.removeDraggableImage()},e.prototype.setDraggableImage=function(){var e=this.getImageElement();e&&(e.draggable=this.properties.draggableImage)},e.prototype.removeDraggableImage=function(){var e=this.getImageElement();e&&(e.draggable=!0)},e.prototype.setImageSize=function(){var e=this.element.getElementsByTagName(this.elementTarget);e.length&&(e[0].style.maxWidth="100%",e[0].style.maxHeight="100%",this.setAutoHeight())},e.prototype.setAutoHeight=function(){var e=this.element.getElementsByTagName(this.elementTarget);if(this.properties.autoHeight&&e.length){var t=e[0].getAttribute("width")/e[0].getAttribute("height"),i=this.parentElement.offsetWidth;e[0].style.maxHeight=i/t+"px"}},e.prototype.removeImageSize=function(){var e=this.element.getElementsByTagName(this.elementTarget);e.length&&(e[0].style.maxWidth="",e[0].style.maxHeight="")},e.prototype.getElementPosition=function(){this.elementPosition=this.element.parentElement.getBoundingClientRect()},e.prototype.getTouchstartPosition=function(e){var t=this.getClientPosition(e),i=t.clientX,o=t.clientY;this.startX=i-this.elementPosition.left,this.startY=o-this.elementPosition.top},e.prototype.getClientPosition=function(e,t){var i,o;return void 0===t&&(t=0),"touchstart"!==e.type&&"touchmove"!==e.type||(i=e.touches[t].clientX,o=e.touches[t].clientY),"mousedown"!==e.type&&"mousemove"!==e.type||(i=e.clientX,o=e.clientY),{clientX:i,clientY:o}},e.prototype.resetScale=function(){this.scale=1,this.moveX=0,this.moveY=0,this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)},e.prototype.updateInitialValues=function(){this.initialScale=this.scale,this.initialMoveX=this.moveX,this.initialMoveY=this.moveY},e.prototype.getDistance=function(e){return Math.sqrt(Math.pow(e[0].pageX-e[1].pageX,2)+Math.pow(e[0].pageY-e[1].pageY,2))},e.prototype.getImageHeight=function(){return this.element.getElementsByTagName(this.elementTarget)[0].offsetHeight},e.prototype.getImageWidth=function(){return this.element.getElementsByTagName(this.elementTarget)[0].offsetWidth},e.prototype.transformElement=function(e){this.element.style.transition="all "+e+"ms",this.element.style.transform="matrix("+Number(this.scale)+", 0, 0, "+Number(this.scale)+", "+Number(this.moveX)+", "+Number(this.moveY)+")"},e.prototype.isTouchScreen=function(){var e=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window)return!0;var t=["(",e.join("touch-enabled),("),"heartz",")"].join("");return this.getMatchMedia(t)},e.prototype.getMatchMedia=function(e){return window.matchMedia(e).matches},e.prototype.isDragging=function(){if(this.properties.disablePan)return!1;var e=this.getImageHeight(),t=this.getImageWidth();return this.scale>1?e*this.scale>this.parentElement.offsetHeight||t*this.scale>this.parentElement.offsetWidth:1===this.scale?e>this.parentElement.offsetHeight||t>this.parentElement.offsetWidth:void 0},e.prototype.pollLimitZoom=function(){var e=this,t=setInterval((function(){e.getLimitZoom()&&clearInterval(t)}),10)},e.prototype.getImageElement=function(){var e=this.element.getElementsByTagName(this.elementTarget);if(e.length)return e[0]},e.prototype.toggleZoom=function(e){if(void 0===e&&(e=!1),1===this.initialScale){if(e&&e.changedTouches){if(void 0===this.properties.doubleTapScale)return;var t=e.changedTouches;this.scale=this.initialScale*this.properties.doubleTapScale,this.moveX=this.initialMoveX-(t[0].clientX-this.elementPosition.left)*(this.properties.doubleTapScale-1),this.moveY=this.initialMoveY-(t[0].clientY-this.elementPosition.top)*(this.properties.doubleTapScale-1)}else{var i=this.properties.zoomControlScale||0;this.scale=this.initialScale*(i+1),this.moveX=this.initialMoveX-this.element.offsetWidth*(this.scale-1)/2,this.moveY=this.initialMoveY-this.element.offsetHeight*(this.scale-1)/2}this.centeringImage(),this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)}else this.resetScale()},e.prototype.setZoom=function(e){var t,i;this.scale=e.scale;var o=this.element.offsetWidth,n=this.element.offsetHeight,s=o*this.scale/(o*this.initialScale);e.center?(t=e.center[0],i=e.center[1]):(t=o/2-this.initialMoveX,i=n/2-this.initialMoveY),this.moveX=this.initialMoveX-(s*t-t),this.moveY=this.initialMoveY-(s*i-i),this.centeringImage(),this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)},e.prototype.alignImage=function(){this.centeringImage()&&(this.updateInitialValues(),this.transformElement(this.properties.transitionDuration))},e.prototype.destroy=function(){this.removeBasicStyles(),this.touches.destroy()},e}(),l=function(){function e(e){this.elementRef=e,this.transitionDuration=200,this.doubleTap=!0,this.doubleTapScale=2,this.autoZoomOut=!1,this.disabled=!1,this.zoomControlScale=1,this.backgroundColor="rgba(0,0,0,0.85)",this.minPanScale=1.0001,this.minScale=0,this.listeners="mouse and touch",this.wheel=!0,this.autoHeight=!1,this.wheelZoomFactor=.2,this.draggableImage=!1,this.applyOptionsDefault(o,{})}return Object.defineProperty(e.prototype,"properties",{get:function(){return this._properties},set:function(e){e&&(this._properties=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostOverflow",{get:function(){return this.properties.overflow},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostBackgroundColor",{get:function(){return this.properties.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isTouchScreen",{get:function(){var e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||function(e){return window.matchMedia(e).matches}(["(",e.join("touch-enabled),("),"heartz",")"].join(""))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDragging",{get:function(){return this.pinchZoom.isDragging()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.properties.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.pinchZoom.scale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isZoomedIn",{get:function(){return this.scale>1},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.initPinchZoom(),this.pollLimitZoom()},e.prototype.ngOnChanges=function(e){var t=this.getProperties(e);t=this.renameProperties(t),this.applyOptionsDefault(o,t)},e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.initPinchZoom=function(){this.properties.disabled||(this.properties.element=this.elementRef.nativeElement.querySelector(".pinch-zoom-content"),this.pinchZoom=new r(this.properties))},e.prototype.getProperties=function(e){var t={};for(var i in e)"properties"!==i&&(t[i]=e[i].currentValue),"properties"===i&&(t=e[i].currentValue);return t},e.prototype.renameProperties=function(e){for(var t in e)n[t]&&(e[n[t]]=e[t],delete e[t]);return e},e.prototype.applyOptionsDefault=function(e,t){this.properties=Object.assign({},e,t)},e.prototype.toggleZoom=function(){this.pinchZoom.toggleZoom()},e.prototype.isControl=function(){return!this.isDisabled&&("disable"!==this.properties.disableZoomControl&&(!this.isTouchScreen||"auto"!==this.properties.disableZoomControl))},e.prototype.pollLimitZoom=function(){this.pinchZoom.pollLimitZoom()},e.prototype.destroy=function(){this.pinchZoom.destroy()},e}();l.decorators=[{type:t.Component,args:[{selector:"pinch-zoom, [pinch-zoom]",exportAs:"pinchZoom",template:'<div class="pinch-zoom-content" [class.pz-dragging]="isDragging">\n\t<ng-content></ng-content>\n</div>\n\n\x3c!-- Control: one button --\x3e\n<div class="pz-zoom-button pz-zoom-control-position-bottom" \n\t[class.pz-zoom-button-out]="isZoomedIn" \n\t*ngIf="isControl()" \n\t(click)="toggleZoom()"></div>',styles:[":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSA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UgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]}]}],l.ctorParameters=function(){return[{type:t.ElementRef}]},l.propDecorators={properties:[{type:t.Input,args:["properties"]}],transitionDuration:[{type:t.Input,args:["transition-duration"]}],doubleTap:[{type:t.Input,args:["double-tap"]}],doubleTapScale:[{type:t.Input,args:["double-tap-scale"]}],autoZoomOut:[{type:t.Input,args:["auto-zoom-out"]}],limitZoom:[{type:t.Input,args:["limit-zoom"]}],disabled:[{type:t.Input,args:["disabled"]}],disablePan:[{type:t.Input}],overflow:[{type:t.Input}],zoomControlScale:[{type:t.Input}],disableZoomControl:[{type:t.Input}],backgroundColor:[{type:t.Input}],limitPan:[{type:t.Input}],minPanScale:[{type:t.Input}],minScale:[{type:t.Input}],listeners:[{type:t.Input}],wheel:[{type:t.Input}],autoHeight:[{type:t.Input}],wheelZoomFactor:[{type:t.Input}],draggableImage:[{type:t.Input}],hostOverflow:[{type:t.HostBinding,args:["style.overflow"]}],hostBackgroundColor:[{type:t.HostBinding,args:["style.background-color"]}]};var h=function(){};h.decorators=[{type:t.NgModule,args:[{declarations:[l],imports:[i.CommonModule],exports:[l],providers:[],bootstrap:[],entryComponents:[l]}]}],e.PinchZoomComponent=l,e.PinchZoomModule=h,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=ngx-pinch-zoom.umd.min.js.map

@@ -1,1 +0,2 @@

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiJDOi9kb21haW5zL2l2eXBpbmNoLWFuZ3VsYXIvaXZ5cGluY2gtbmcxMC1wcm9kL3Byb2plY3RzL25neC1waW5jaC16b29tL3NyYy8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFByb3BlcnRpZXMge1xuICAgIFwidHJhbnNpdGlvbi1kdXJhdGlvblwiPzogbnVtYmVyO1xuICAgIFwiZG91YmxlLXRhcFwiPzogYm9vbGVhbjtcbiAgICBcImRvdWJsZS10YXAtc2NhbGVcIj86IG51bWJlcjtcbiAgICBcImF1dG8tem9vbS1vdXRcIj86IGJvb2xlYW47XG4gICAgXCJsaW1pdC16b29tXCI/OiBudW1iZXIgfCBcIm9yaWdpbmFsIGltYWdlIHNpemVcIjtcbiAgICBcImRpc2FibGVkXCI/OiBudW1iZXI7XG4gICAgXCJlbGVtZW50XCI/OiBzdHJpbmc7XG4gICAgXCJkaXNhYmxlUGFuXCI/OiBib29sZWFuO1xuICAgIFwib3ZlcmZsb3dcIj86IFwiaGlkZGVuXCIgfCBcInZpc2libGVcIjtcbiAgICBcImRpc2FibGVab29tQ29udHJvbFwiPzogXCJkaXNhYmxlXCIgfCBcIm5ldmVyXCIgfCBcImF1dG9cIjtcbiAgICBcInpvb21Db250cm9sU2NhbGVcIj86IG51bWJlcjtcbiAgICBcImJhY2tncm91bmRDb2xvclwiPzogc3RyaW5nO1xuICAgIFwibGltaXRQYW5cIj86IGJvb2xlYW47XG4gICAgXCJtaW5QYW5TY2FsZVwiPzogbnVtYmVyO1xuICAgIFwibWluU2NhbGVcIj86IG51bWJlcjtcbiAgICBcImV2ZW50SGFuZGxlclwiPzogYW55O1xuICAgIFwibGlzdGVuZXJzXCI/OiBcImF1dG9cIiB8IFwibW91c2UgYW5kIHRvdWNoXCI7XG4gICAgXCJ3aGVlbFwiPzogYm9vbGVhbjtcbiAgICBcImF1dG9IZWlnaHRcIj86IGJvb2xlYW47XG4gICAgXCJ3aGVlbFpvb21GYWN0b3JcIj86IG51bWJlcjtcbiAgICBcImRyYWdnYWJsZUltYWdlXCI/OiBib29sZWFuO1xufSJdfQ==
export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1waW5jaC16b29tL3NyYy9saWIvaW50ZXJmYWNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBQcm9wZXJ0aWVzIHtcbiAgICBcInRyYW5zaXRpb24tZHVyYXRpb25cIj86IG51bWJlcjtcbiAgICBcImRvdWJsZS10YXBcIj86IGJvb2xlYW47XG4gICAgXCJkb3VibGUtdGFwLXNjYWxlXCI/OiBudW1iZXI7XG4gICAgXCJhdXRvLXpvb20tb3V0XCI/OiBib29sZWFuO1xuICAgIFwibGltaXQtem9vbVwiPzogbnVtYmVyIHwgXCJvcmlnaW5hbCBpbWFnZSBzaXplXCI7XG4gICAgXCJkaXNhYmxlZFwiPzogbnVtYmVyO1xuICAgIFwiZWxlbWVudFwiPzogc3RyaW5nO1xuICAgIFwiZGlzYWJsZVBhblwiPzogYm9vbGVhbjtcbiAgICBcIm92ZXJmbG93XCI/OiBcImhpZGRlblwiIHwgXCJ2aXNpYmxlXCI7XG4gICAgXCJkaXNhYmxlWm9vbUNvbnRyb2xcIj86IFwiZGlzYWJsZVwiIHwgXCJuZXZlclwiIHwgXCJhdXRvXCI7XG4gICAgXCJ6b29tQ29udHJvbFNjYWxlXCI/OiBudW1iZXI7XG4gICAgXCJiYWNrZ3JvdW5kQ29sb3JcIj86IHN0cmluZztcbiAgICBcImxpbWl0UGFuXCI/OiBib29sZWFuO1xuICAgIFwibWluUGFuU2NhbGVcIj86IG51bWJlcjtcbiAgICBcIm1pblNjYWxlXCI/OiBudW1iZXI7XG4gICAgXCJldmVudEhhbmRsZXJcIj86IGFueTtcbiAgICBcImxpc3RlbmVyc1wiPzogXCJhdXRvXCIgfCBcIm1vdXNlIGFuZCB0b3VjaFwiO1xuICAgIFwid2hlZWxcIj86IGJvb2xlYW47XG4gICAgXCJhdXRvSGVpZ2h0XCI/OiBib29sZWFuO1xuICAgIFwid2hlZWxab29tRmFjdG9yXCI/OiBudW1iZXI7XG4gICAgXCJkcmFnZ2FibGVJbWFnZVwiPzogYm9vbGVhbjtcbn0iXX0=

@@ -133,3 +133,3 @@ import { Component, ElementRef, HostBinding, Input } from '@angular/core';

template: "<div class=\"pinch-zoom-content\" [class.pz-dragging]=\"isDragging\">\n\t<ng-content></ng-content>\n</div>\n\n<!-- Control: one button -->\n<div class=\"pz-zoom-button pz-zoom-control-position-bottom\" \n\t[class.pz-zoom-button-out]=\"isZoomedIn\" \n\t*ngIf=\"isControl()\" \n\t(click)=\"toggleZoom()\"></div>",
styles: [":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-moz-user-select:none;-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6IiBpZD0ic3ZnXzEiIGNsYXNzPSIiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIvPjxwYXRoIGQ9Ik0xMiAxMGgtMnYySDl2LTJIN1Y5aDJWN2gxdjJoMnYxeiIgaWQ9InN2Z18zIiBjbGFzcz0iIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48L2c+PC9zdmc+),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]
styles: [":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDk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AxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]
},] }

@@ -164,2 +164,2 @@ ];

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtem9vbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiQzovZG9tYWlucy9pdnlwaW5jaC1hbmd1bGFyL2l2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9PSAncHJvcGVydGllcycpe1xyXG4gICAgICAgICAgICAgICAgcHJvcGVydGllc1twcm9wXSA9IGNoYW5nZXNbcHJvcF0uY3VycmVudFZhbHVlO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGlmIChwcm9wID09PSAncHJvcGVydGllcycpe1xyXG4gICAgICAgICAgICAgICAgcHJvcGVydGllcyA9IGNoYW5nZXNbcHJvcF0uY3VycmVudFZhbHVlO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBwcm9wZXJ0aWVzO1xyXG4gICAgfVxyXG5cclxuICAgIHJlbmFtZVByb3BlcnRpZXMob3B0aW9uczogUHJvcGVydGllcykge1xyXG4gICAgICAgIGZvciAodmFyIHByb3AgaW4gb3B0aW9ucykge1xyXG4gICAgICAgICAgICBpZiAoYmFja3dhcmRDb21wYXRpYmlsaXR5UHJvcGVydGllc1twcm9wXSkge1xyXG4gICAgICAgICAgICAgICAgb3B0aW9uc1tiYWNrd2FyZENvbXBhdGliaWxpdHlQcm9wZXJ0aWVzW3Byb3BdXSA9IG9wdGlvbnNbcHJvcF07XHJcbiAgICAgICAgICAgICAgICBkZWxldGUgb3B0aW9uc1twcm9wXTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIG9wdGlvbnM7XHJcbiAgICB9XHJcblxyXG4gICAgYXBwbHlPcHRpb25zRGVmYXVsdChkZWZhdWx0T3B0aW9ucywgb3B0aW9ucyk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMucHJvcGVydGllcyA9IE9iamVjdC5hc3NpZ24oe30sIGRlZmF1bHRPcHRpb25zLCBvcHRpb25zKTtcclxuICAgIH1cclxuXHJcbiAgICB0b2dnbGVab29tKCkge1xyXG4gICAgICAgIHRoaXMucGluY2hab29tLnRvZ2dsZVpvb20oKTtcclxuICAgIH1cclxuXHJcbiAgICBpc0NvbnRyb2woKSB7XHJcbiAgICAgICAgaWYgKHRoaXMuaXNEaXNhYmxlZCkge1xyXG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpZiAodGhpcy5wcm9wZXJ0aWVzWydkaXNhYmxlWm9vbUNvbnRyb2wnXSA9PT0gXCJkaXNhYmxlXCIpIHtcclxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgaWYgKHRoaXMuaXNUb3VjaFNjcmVlbiAmJiB0aGlzLnByb3BlcnRpZXNbJ2Rpc2FibGVab29tQ29udHJvbCddID09PSBcImF1dG9cIikge1xyXG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gdHJ1ZTtcclxuICAgIH1cclxuXHJcbiAgICBwb2xsTGltaXRab29tKCkge1xyXG4gICAgICAgIHRoaXMucGluY2hab29tLnBvbGxMaW1pdFpvb20oKTtcclxuICAgIH1cclxuXHJcbiAgICBkZXN0cm95KCkge1xyXG4gICAgICAgIHRoaXMucGluY2hab29tLmRlc3Ryb3koKTtcclxuICAgIH1cclxufSJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtem9vbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcGluY2gtem9vbS9zcmMvbGliL3BpbmNoLXpvb20uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0IsU0FBUyxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQWdCLEtBQUssRUFBMkIsTUFBTSxlQUFlLENBQUM7QUFHbkksT0FBTyxFQUFDLGlCQUFpQixFQUFFLCtCQUErQixFQUFDLE1BQU0sY0FBYyxDQUFDO0FBRWhGLE9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GVydGllcztcclxuICAgIH1cclxuXHJcbiAgICByZW5hbWVQcm9wZXJ0aWVzKG9wdGlvbnM6IFByb3BlcnRpZXMpIHtcclxuICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgaWYgKGJhY2t3YXJkQ29tcGF0aWJpbGl0eVByb3BlcnRpZXNbcHJvcF0pIHtcclxuICAgICAgICAgICAgICAgIG9wdGlvbnNbYmFja3dhcmRDb21wYXRpYmlsaXR5UHJvcGVydGllc1twcm9wXV0gPSBvcHRpb25zW3Byb3BdO1xyXG4gICAgICAgICAgICAgICAgZGVsZXRlIG9wdGlvbnNbcHJvcF07XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHJldHVybiBvcHRpb25zO1xyXG4gICAgfVxyXG5cclxuICAgIGFwcGx5T3B0aW9uc0RlZmF1bHQoZGVmYXVsdE9wdGlvbnMsIG9wdGlvbnMpOiB2b2lkIHtcclxuICAgICAgICB0aGlzLnByb3BlcnRpZXMgPSBPYmplY3QuYXNzaWduKHt9LCBkZWZhdWx0T3B0aW9ucywgb3B0aW9ucyk7XHJcbiAgICB9XHJcblxyXG4gICAgdG9nZ2xlWm9vbSgpIHtcclxuICAgICAgICB0aGlzLnBpbmNoWm9vbS50b2dnbGVab29tKCk7XHJcbiAgICB9XHJcblxyXG4gICAgaXNDb250cm9sKCkge1xyXG4gICAgICAgIGlmICh0aGlzLmlzRGlzYWJsZWQpIHtcclxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgaWYgKHRoaXMucHJvcGVydGllc1snZGlzYWJsZVpvb21Db250cm9sJ10gPT09IFwiZGlzYWJsZVwiKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGlmICh0aGlzLmlzVG91Y2hTY3JlZW4gJiYgdGhpcy5wcm9wZXJ0aWVzWydkaXNhYmxlWm9vbUNvbnRyb2wnXSA9PT0gXCJhdXRvXCIpIHtcclxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICB9XHJcblxyXG4gICAgcG9sbExpbWl0Wm9vbSgpIHtcclxuICAgICAgICB0aGlzLnBpbmNoWm9vbS5wb2xsTGltaXRab29tKCk7XHJcbiAgICB9XHJcblxyXG4gICAgZGVzdHJveSgpIHtcclxuICAgICAgICB0aGlzLnBpbmNoWm9vbS5kZXN0cm95KCk7XHJcbiAgICB9XHJcbn0iXX0=

@@ -24,2 +24,2 @@ import { NgModule } from '@angular/core';

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtem9vbS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiQzovZG9tYWlucy9pdnlwaW5jaC1hbmd1bGFyL2l2eXBpbmNoLW5nMTAtcHJvZC9wcm9qZWN0cy9uZ3gtcGluY2gtem9vbS9zcmMvIiwic291cmNlcyI6WyJsaWIvcGluY2gtem9vbS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFzQjVELE1BQU0sT0FBTyxlQUFlOzs7WUFwQjNCLFFBQVEsU0FBQztnQkFDTixZQUFZLEVBQUU7b0JBQ1Ysa0JBQWtCO2lCQUNyQjtnQkFDRCxPQUFPLEVBQUU7b0JBQ0wsWUFBWTtpQkFDZjtnQkFDRCxPQUFPLEVBQUU7b0JBQ0wsa0JBQWtCO2lCQUNyQjtnQkFDRCxTQUFTLEVBQUUsRUFFVjtnQkFDRCxTQUFTLEVBQUUsRUFFVjtnQkFDRCxlQUFlLEVBQUU7b0JBQ2Isa0JBQWtCO2lCQUNyQjthQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBQaW5jaFpvb21Db21wb25lbnQgfSBmcm9tICcuL3BpbmNoLXpvb20uY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgUGluY2hab29tQ29tcG9uZW50XG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZVxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBQaW5jaFpvb21Db21wb25lbnRcbiAgICBdLFxuICAgIHByb3ZpZGVyczogW1xuXG4gICAgXSxcbiAgICBib290c3RyYXA6IFtcbiAgICAgICAgXG4gICAgXSxcbiAgICBlbnRyeUNvbXBvbmVudHM6IFtcbiAgICAgICAgUGluY2hab29tQ29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBQaW5jaFpvb21Nb2R1bGUgeyB9XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluY2gtem9vbS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcGluY2gtem9vbS9zcmMvbGliL3BpbmNoLXpvb20ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQU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250ZW50IjpbImV4cG9ydCBjb25zdCBkZWZhdWx0UHJvcGVydGllcyA9IHtcbiAgICB0cmFuc2l0aW9uRHVyYXRpb246IDIwMCxcbiAgICBkb3VibGVUYXA6IHRydWUsXG4gICAgZG91YmxlVGFwU2NhbGU6IDIsXG4gICAgbGltaXRab29tOiBcIm9yaWdpbmFsIGltYWdlIHNpemVcIixcbiAgICBhdXRvWm9vbU91dDogZmFsc2UsXG4gICAgZGlzYWJsZWQ6IGZhbHNlLFxuICAgIG92ZXJmbG93OiBcImhpZGRlblwiLFxuICAgIHpvb21Db250cm9sU2NhbGU6IDEsXG4gICAgYmFja2dyb3VuZENvbG9yOiBcInJnYmEoMCwwLDAsMC44NSlcIixcbiAgICBtaW5TY2FsZTogMCxcbiAgICBtaW5QYW5TY2FsZTogMS4wMDAxLFxuICAgIGRpc2FibGVab29tQ29udHJvbDogXCJhdXRvXCIsXG4gICAgbGlzdGVuZXJzOiBcIm1vdXNlIGFuZCB0b3VjaFwiLFxuICAgIHdoZWVsOiB0cnVlLFxuICAgIHdoZWVsWm9vbUZhY3RvcjogMC4yLFxuICAgIGRyYWdnYWJsZUltYWdlOiBmYWxzZVxufVxuXG5leHBvcnQgY29uc3QgYmFja3dhcmRDb21wYXRpYmlsaXR5UHJvcGVydGllcyA9IHtcbiAgICBcInRyYW5zaXRpb24tZHVyYXRpb25cIjogXCJ0cmFuc2l0aW9uRHVyYXRpb25cIixcbiAgICBcImRvdWJsZS10YXBcIjogXCJkb3VibGVUYXBcIixcbiAgICBcImRvdWJsZS10YXAtc2NhbGVcIjogXCJkb3VibGVUYXBTY2FsZVwiLFxuICAgIFwiem9vbS1idXR0b25cIjogXCJ6b29tQnV0dG9uXCIsXG4gICAgXCJhdXRvLXpvb20tb3V0XCI6IFwiYXV0b1pvb21PdXRcIixcbiAgICBcImxpbWl0LXpvb21cIjogXCJsaW1pdFpvb21cIlxufSJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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FwOiB0cnVlLFxuICAgIGRvdWJsZVRhcFNjYWxlOiAyLFxuICAgIGxpbWl0Wm9vbTogXCJvcmlnaW5hbCBpbWFnZSBzaXplXCIsXG4gICAgYXV0b1pvb21PdXQ6IGZhbHNlLFxuICAgIGRpc2FibGVkOiBmYWxzZSxcbiAgICBvdmVyZmxvdzogXCJoaWRkZW5cIixcbiAgICB6b29tQ29udHJvbFNjYWxlOiAxLFxuICAgIGJhY2tncm91bmRDb2xvcjogXCJyZ2JhKDAsMCwwLDAuODUpXCIsXG4gICAgbWluU2NhbGU6IDAsXG4gICAgbWluUGFuU2NhbGU6IDEuMDAwMSxcbiAgICBkaXNhYmxlWm9vbUNvbnRyb2w6IFwiYXV0b1wiLFxuICAgIGxpc3RlbmVyczogXCJtb3VzZSBhbmQgdG91Y2hcIixcbiAgICB3aGVlbDogdHJ1ZSxcbiAgICB3aGVlbFpvb21GYWN0b3I6IDAuMixcbiAgICBkcmFnZ2FibGVJbWFnZTogZmFsc2Vcbn1cblxuZXhwb3J0IGNvbnN0IGJhY2t3YXJkQ29tcGF0aWJpbGl0eVByb3BlcnRpZXMgPSB7XG4gICAgXCJ0cmFuc2l0aW9uLWR1cmF0aW9uXCI6IFwidHJhbnNpdGlvbkR1cmF0aW9uXCIsXG4gICAgXCJkb3VibGUtdGFwXCI6IFwiZG91YmxlVGFwXCIsXG4gICAgXCJkb3VibGUtdGFwLXNjYWxlXCI6IFwiZG91YmxlVGFwU2NhbGVcIixcbiAgICBcInpvb20tYnV0dG9uXCI6IFwiem9vbUJ1dHRvblwiLFxuICAgIFwiYXV0by16b29tLW91dFwiOiBcImF1dG9ab29tT3V0XCIsXG4gICAgXCJsaW1pdC16b29tXCI6IFwibGltaXRab29tXCJcbn0iXX0=

@@ -307,2 +307,2 @@ export class Touches {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG91Y2hlcy5qcyIsInNvdXJjZVJvb3QiOiJDOi9kb21haW5zL2l2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ICAgICAgd2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIobGlzdGVuZXIsIHRoaXNbaGFuZGxlcl0sIGZhbHNlKTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLy8gRG9jdW1lbnRcclxuICAgICAgICAgICAgfSBlbHNlIGlmIChsaXN0ZW5lciA9PT0gJ21vdXNldXAnIHx8IGxpc3RlbmVyID09PSBcIm1vdXNlbW92ZVwiKSB7XHJcbiAgICAgICAgICAgICAgICBpZiAoYWN0aW9uID09PSAnYWRkRXZlbnRMaXN0ZW5lcicpIHtcclxuICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKGxpc3RlbmVyLCB0aGlzW2hhbmRsZXJdLCBmYWxzZSk7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBpZiAoYWN0aW9uID09PSAncmVtb3ZlRXZlbnRMaXN0ZW5lcicpIHtcclxuICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5yZW1vdmVFdmVudExpc3RlbmVyKGxpc3RlbmVyLCB0aGlzW2hhbmRsZXJdLCBmYWxzZSk7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIC8vIEVsZW1lbnRcclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIGlmIChhY3Rpb24gPT09ICdhZGRFdmVudExpc3RlbmVyJykge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGxpc3RlbmVyLCB0aGlzW2hhbmRsZXJdLCBmYWxzZSk7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBpZiAoYWN0aW9uID09PSAncmVtb3ZlRXZlbnRMaXN0ZW5lcicpIHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmVsZW1lbnQucmVtb3ZlRXZlbnRMaXN0ZW5lcihsaXN0ZW5lciwg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gICAgIHRoaXMucnVuSGFuZGxlcihcInRvdWNoZW5kXCIsIGV2ZW50KTtcclxuICAgICAgICB0aGlzLmV2ZW50VHlwZSA9ICd0b3VjaGVuZCc7XHJcblxyXG4gICAgICAgIGlmICh0b3VjaGVzICYmIHRvdWNoZXMubGVuZ3RoID09PSAwKSB7XHJcbiAgICAgICAgICAgIHRoaXMuZXZlbnRUeXBlID0gdW5kZWZpbmVkO1xyXG4gICAgICAgICAgICB0aGlzLmkgPSAwO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG4gICAgLyogTW91c2Vkb3duICovXHJcblxyXG4gICAgaGFuZGxlTW91c2Vkb3duID0gKGV2ZW50OiBhbnkpID0+IHtcclxuICAgICAgICB0aGlzLmlzTW91c2Vkb3duID0gdHJ1ZTtcclxuICAgICAgICB0aGlzLmVsZW1lbnRQb3NpdGlvbiA9IHRoaXMuZ2V0RWxlbWVudFBvc2l0aW9uKCk7XHJcbiAgICAgICAgdGhpcy50b3VjaHN0YXJ0VGltZSA9IG5ldyBEYXRlKCkuZ2V0VGltZSgpO1xyXG5cclxuICAgICAgICBpZiAodGhpcy5ldmVudFR5cGUgPT09IHVuZGVmaW5lZCkge1xyXG4gICAgICAgICAgICB0aGlzLmdldE1vdXNlZG93blBvc2l0aW9uKGV2ZW50KTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHRoaXMucnVuSGFuZGxlcihcIm1vdXNlZG93blwiLCBldmVudCk7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qIE1vdXNlbW92ZSAqL1xyXG5cclxuICAgIGhhbmRsZU1vdXNlbW92ZSA9IChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgLy9ldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xyXG4gICAgICAgIFxyXG4gICAgICAgIGlmICghdGhpcy5pc01vdXNlZG93bikge1xyXG4gICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAvLyBQYW5cclxuICAgICAgICB0aGlzLnJ1bkhhbmRsZXIoXCJwYW5cIiwgZXZlbnQpO1xyXG5cclxuICAgICAgICAvLyBMaW5lYXIgc3dpcGVcclxuICAgICAgICBzd2l0Y2ggKHRoaXMuZGV0ZWN0TGluZWFyU3dpcGUoZXZlbnQpKSB7XHJcbiAgICAgICAgICAgIGNhc2UgXCJob3Jpem9udGFsLXN3aXBlXCI6XHJcbiAgICAgICAgICAgICAgICBldmVudC5zd2lwZVR5cGUgPSBcImhvcml6b250YWwtc3dpcGVcIjtcclxuICAgICAgICAgICAgICAgIHRoaXMucnVuSGFuZGxlcihcImhvcml6b250YWwtc3dpcGVcIiwgZXZlbnQpO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIGNhc2UgXCJ2ZXJ0aWNhbC1zd2lwZVwiOlxyXG4gICAgICAgICAgICAgICAgZXZlbnQuc3dpcGVUeXBlID0gXCJ2ZXJ0aWNhbC1zd2lwZVwiO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwidmVydGljYWwtc3dpcGVcIiwgZXZlbnQpO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAvLyBMaW5lYXIgc3dpcGVcclxuICAgICAgICBpZiAodGhpcy5kZXRlY3RMaW5lYXJTd2lwZShldmVudCkgfHxcclxuICAgICAgICAgICAgdGhpcy5ldmVudFR5cGUgPT09ICdob3Jpem9udGFsLXN3aXBlJyB8fFxyXG4gICAgICAgICAgICB0aGlzLmV2ZW50VHlwZSA9PT0gJ3ZlcnRpY2FsLXN3aXBlJykge1xyXG5cclxuICAgICAgICAgICAgdGhpcy5oYW5kbGVMaW5lYXJTd2lwZShldmVudCk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuXHJcbiAgICAvKiBNb3VzZXVwICovXHJcblxyXG4gICAgaGFuZGxlTW91c2V1cCA9IChldmVudDogYW55KS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clxuXHJcbiAgICAgICAgaWYgKHRhcExlbmd0aCA+IDApIHtcclxuICAgICAgICAgICAgaWYgKHRhcExlbmd0aCA8IHRoaXMudGFwTWluVGltZW91dCkge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwidGFwXCIsIHt9KTtcclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIHRoaXMucnVuSGFuZGxlcihcImxvbmd0YXBcIiwge30pO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIGRldGVjdFBpbmNoKGV2ZW50OiBhbnkpIHtcclxuICAgICAgICBjb25zdCB0b3VjaGVzID0gZXZlbnQudG91Y2hlcztcclxuICAgICAgICByZXR1cm4gKHRvdWNoZXMubGVuZ3RoID09PSAyICYmIHRoaXMuZXZlbnRUeXBlID09PSB1bmRlZmluZWQpIHx8IHRoaXMuZXZlbnRUeXBlID09PSAncGluY2gnO1xyXG4gICAgfVxyXG5cclxuICAgIGRldGVjdExpbmVhclN3aXBlKGV2ZW50OiBhbnkpIHtcclxuICAgICAgICBjb25zdCB0b3VjaGVzID0gZXZlbnQudG91Y2hlcztcclxuXHJcbiAgICAgICAgaWYgKHRvdWNoZXMpIHtcclxuICAgICAgICAgICAgaWYgKHRvdWNoZXMubGVuZ3RoID09PSAxICYmICF0aGlzLmV2ZW50VHlwZSB8fCB0aGlzLmV2ZW50VHlwZSA9PT0gJ2hvcml6b250YWwtc3dpcGUnIHx8IHRoaXMuZXZlbnRUeXBlID09PSAndmVydGljYWwtc3dpcGUnKSB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5nZXRMaW5lYXJTd2lwZVR5cGUoZXZlbnQpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgaWYgKCF0aGlzLmV2ZW50VHlwZSB8fCB0aGlzLmV2ZW50VHlwZSA9PT0gJ2hvcml6b250YWwtc3dpcGUnIHx8IHRoaXMuZXZlbnRUeXBlID09PSAndmVydGljYWwtc3dpcGUnKSB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5nZXRMaW5lYXJTd2lwZVR5cGUoZXZlbnQpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIGdldExpbmVhclN3aXBlVHlwZShldmVudDogYW55KSB7XHJcbiAgICAgICAgaWYgKHRoaXMuZXZlbnRUeXBlICE9PSAnaG9yaXpvbnRhbC1zd2lwZScgJiYgdGhpcy5ldmVudFR5cGUgIT09ICd2ZXJ0aWNhbC1zd2lwZScpIHtcclxuICAgICAgICAgICAgY29uc3QgbW92ZW1lbnRYID0gTWF0aC5hYnModGhpcy5tb3ZlTGVmdCgwLCBldmVudCkgLSB0aGlzLnN0YXJ0WCk7XHJcbiAgICAgICAgICAgIGNvbnN0IG1vdmVtZW50WSA9IE1hdGguYWJzKHRoaXMubW92ZVRvcCgwLCBldmVudCkgLSB0aGlzLnN0YXJ0WSk7XHJcblxyXG4gICAgICAgICAgICBpZiAoKG1vdmVtZW50WSAqIDMpID4gbW92ZW1lbnRYKSB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ3ZlcnRpY2FsLXN3aXBlJztcclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIHJldHVybiAnaG9yaXpvbnRhbC1zd2lwZSc7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICByZXR1cm4gdGhpcy5ldmVudFR5cGU7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIGdldEVsZW1lbnRQb3NpdGlvbigpIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5lbGVtZW50LmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpO1xyXG4gICAgfVxyXG5cclxuICAgIGdldFRvdWNoc3RhcnRQb3Np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ZWxlbWVudFBvc2l0aW9uLnRvcDtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICByZXR1cm4gZXZlbnQuY2xpZW50WSAtIHRoaXMuZWxlbWVudFBvc2l0aW9uLnRvcDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgZGV0ZWN0VG91Y2hTY3JlZW4oKSB7XHJcbiAgICAgICAgdmFyIHByZWZpeGVzID0gJyAtd2Via2l0LSAtbW96LSAtby0gLW1zLSAnLnNwbGl0KCcgJyk7XHJcbiAgICAgICAgdmFyIG1xID0gZnVuY3Rpb24ocXVlcnk6IGFueSkge1xyXG4gICAgICAgICAgICByZXR1cm4gd2luZG93Lm1hdGNoTWVkaWEocXVlcnkpLm1hdGNoZXM7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpZiAoKCdvbnRvdWNoc3RhcnQnIGluIHdpbmRvdykpIHtcclxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAvLyBpbmNsdWRlIHRoZSAnaGVhcnR6JyBhcyBhIHdheSB0byBoYXZlIGEgbm9uIG1hdGNoaW5nIE1RIHRvIGhlbHAgdGVybWluYXRlIHRoZSBqb2luXHJcbiAgICAgICAgLy8gaHR0cHM6Ly9naXQuaW8vdnpuRkhcclxuICAgICAgICB2YXIgcXVlcnkgPSBbJygnLCBwcmVmaXhlcy5qb2luKCd0b3VjaC1lbmFibGVkKSwoJyksICdoZWFydHonLCAnKSddLmpvaW4oJycpO1xyXG4gICAgICAgIHJldHVybiBtcShxdWVyeSk7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qIFB1YmxpYyBwcm9wZXJ0aWVzIGFuZCBtZXRob2RzICovXHJcbiAgICBvbihldmVudDogRXZlbnRUeXBlLCBoYW5kbGVyOiBGdW5jdGlvbikge1xyXG4gICAgICAgIGlmIChldmVudCkge1xyXG4gICAgICAgICAgICB0aGlzLmhhbmRsZXJzW2V2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50TGlzdGVuZXInKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lbGVtZW50LnJlbW92ZUV2ZW50TGlzdGVuZXIobGlzdGVuZXIsIHRoaXNbaGFuZGxlcl0sIGZhbHNlKTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvKlxyXG4gICAgICogTGlzdGVuZXJzXHJcbiAgICAgKi9cclxuXHJcbiAgICAvKiBUb3VjaHN0YXJ0ICovXHJcblxyXG4gICAgaGFuZGxlVG91Y2hzdGFydCA9IChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgdGhpcy5lbGVtZW50UG9zaXRpb24gPSB0aGlzLmdldEVsZW1lbnRQb3NpdGlvbigpO1xyXG4gICAgICAgIHRoaXMudG91Y2hzdGFydFRpbWUgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKTtcclxuXHJcbiAgICAgICAgaWYgKHRoaXMuZXZlbnRUeXBlID09PSB1bmRlZmluZWQpIHtcclxuICAgICAgICAgICAgdGhpcy5nZXRUb3VjaHN0YXJ0UG9zaXRpb24oZXZlbnQpO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwidG91Y2hzdGFydFwiLCBldmVudCk7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qIFRvdWNobW92ZSAqL1xyXG5cclxuICAgIGhhbmRsZVRvdWNobW92ZSA9IChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgY29uc3QgdG91Y2hlcyA9IGV2ZW50LnRvdWNoZXM7XHJcblxyXG4gICAgICAgIC8vIFBhblxyXG4gICAgICAgIGlmICh0aGlzLmRldGVjdFBhbih0b3VjaGVzKSkge1xyXG4gICAgICAgICAgICB0aGlzLnJ1bkhhbmRsZXIoXCJwYW5cIiwgZXZlbnQpO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLy8gUGluY2hcclxuICAgICAgICBpZiAodGhpcy5kZXRlY3RQaW5jaChldmVudCkpIHtcclxuICAgICAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwicGluY2hcIiwgZXZlbnQpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBoYW5kbGVMaW5lYXJTd2lwZShldmVudDogYW55KSB7XHJcbiAgICAgICAgLy9ldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xyXG5cclxuICAgICAgICB0aGlzLmkrKztcclxuXHJcbiAgICAgICAgaWYgKHRoaXMuaSA+IDMpIHtcclxuICAgICAgICAgICAgdGhpcy5ldmVudFR5cGUgPSB0aGlzLmdldExpbmVhclN3aXBlVHlwZShldmVudCk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpZiAodGhpcy5ldmVudFR5cGUgPT09ICdob3Jpem9udGFsLXN3aXBlJykge1xyXG4gICAgICAgICAgICB0aGlzLnJ1bkhhbmRsZXIoJ2hvcml6b250YWwtc3dpcGUnLCBldmVudCk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpZiAodGhpcy5ldmVudFR5cGUgPT09ICd2ZXJ0aWNhbC1zd2lwZScpIHtcclxuICAgICAgICAgICAgdGhpcy5ydW5IYW5kbGVyKCd2ZXJ0aWNhbC1zd2lwZScsIGV2ZW50KTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qIFRvdWNoZW5kICovXHJcblxyXG4gICAgaGFuZGxlVG91Y2hlbmQgPSAoZXZlbnQ6IGFueSkgPT4ge1xyXG4gICAgICAgIGNvbnN0IHRvdWNoZXMgPSBldmVudC50b3VjaGVzO1xyXG5cclxuICAgICAgICAvLyBEb3VibGUgVGFwXHJcbiAgICAgICAgaWYgKHRoaXMuZGV0ZWN0RG91YmxlVGFwKCkpIHtcclxuICAgICAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwiZG91YmxlLXRhcFwiLCBldmVudCk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAvLyBUYXBcclxuICAgICAgICB0aGlzLmRldGVjdFRhcCgpO1xyXG5cclxuICAgICAgICB0aGlzLnJ1bkhhbmRsZXIoXCJ0b3VjaGVuZFwiLCBldmVudCk7XHJcbiAgICAgICAgdGhpcy5ldmVudFR5cGUgPSAndG91Y2hlbmQnO1xyXG5cclxuICAgICAgICBpZiAodG91Y2hlcyAmJiB0b3VjaGVzLmxlbmd0aCA9PT0gMCkge1xyXG4gICAgICAgICAgICB0aGlzLmV2ZW50VHlwZSA9IHVuZGVmaW5lZDtcclxuICAgICAgICAgICAgdGhpcy5pID0gMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qIE1vdXNlZG93biAqL1xyXG5cclxuICAgIGhhbmRsZU1vdXNlZG93biA9IChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgdGhpcy5pc01vdXNlZG93biA9IHRydWU7XHJcbiAgICAgICAgdGhpcy5lbGVtZW50UG9zaXRpb24gPSB0aGlzLmdldEVsZW1lbnRQb3NpdGlvbigpO1xyXG4gICAgICAgIHRoaXMudG91Y2hzdGFydFRpbWUgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKTtcclxuXHJcbiAgICAgICAgaWYgKHRoaXMuZXZlbnRUeXBlID09PSB1bmRlZmluZWQpIHtcclxuICAgICAgICAgICAgdGhpcy5nZXRNb3VzZWRvd25Qb3NpdGlvbihldmVudCk7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICB0aGlzLnJ1bkhhbmRsZXIoXCJtb3VzZWRvd25cIiwgZXZlbnQpO1xyXG4gICAgfVxyXG5cclxuXHJcbiAgICAvKiBNb3VzZW1vdmUgKi9cclxuXHJcbiAgICBoYW5kbGVNb3VzZW1vdmUgPSAoZXZlbnQ6IGFueSkgPT4ge1xyXG4gICAgICAgIC8vZXZlbnQucHJldmVudERlZmF1bHQoKTtcclxuICAgICAgICBcclxuICAgICAgICBpZiAoIXRoaXMuaXNNb3VzZWRvd24pIHtcclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLy8gUGFuXHJcbiAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwicGFuXCIsIGV2ZW50KTtcclxuXHJcbiAgICAgICAgLy8gTGluZWFyIHN3aXBlXHJcbiAgICAgICAgc3dpdGNoICh0aGlzLmRldGVjdExpbmVhclN3aXBlKGV2ZW50KSkge1xyXG4gICAgICAgICAgICBjYXNlIFwiaG9yaXpvbnRhbC1zd2lwZVwiOlxyXG4gICAgICAgICAgICAgICAgZXZlbnQuc3dpcGVUeXBlID0gXCJob3Jpem9udGFsLXN3aXBlXCI7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnJ1bkhhbmRsZXIoXCJob3Jpem9udGFsLXN3aXBlXCIsIGV2ZW50KTtcclxuICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICBjYXNlIFwidmVydGljYWwtc3dpcGVcIjpcclxuICAgICAgICAgICAgICAgIGV2ZW50LnN3aXBlVHlwZSA9IFwidmVydGljYWwtc3dpcGVcIjtcclxuICAgICAgICAgICAgICAgIHRoaXMucnVuSGFuZGxlcihcInZlcnRpY2FsLXN3aXBlXCIsIGV2ZW50KTtcclxuICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLy8gTGluZWFyIHN3aXBlXHJcbiAgICAgICAgaWYgKHRoaXMuZGV0ZWN0TGluZWFyU3dpcGUoZXZlbnQpIHx8XHJcbiAgICAgICAgICAgIHRoaXMuZXZlbnRUeXBlID09PSAnaG9yaXpvbnRhbC1zd2lwZScgfHxcclxuICAgICAgICAgICAgdGhpcy5ldmVudFR5cGUgPT09ICd2ZXJ0aWNhbC1zd2lwZScpIHtcclxuXHJcbiAgICAgICAgICAgIHRoaXMuaGFuZGxlTGluZWFyU3dpcGUoZXZlbnQpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG4gICAgLyogTW91c2V1cCAqL1xyXG5cclxuICAgIGhhbmRsZU1vdXNldXAgPSAoZXZlbnQ6IGFueSkgPT4ge1xyXG5cclxuICAgICAgICAvLyBUYXBcclxuICAgICAgICB0aGlzLmRldGVjdFRhcCgpO1xyXG5cclxuICAgICAgICB0aGlzLmlzTW91c2Vkb3duID0gZmFsc2U7XHJcbiAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwibW91c2V1cFwiLCBldmVudCk7XHJcbiAgICAgICAgdGhpcy5ldmVudFR5cGUgPSB1bmRlZmluZWQ7XHJcbiAgICAgICAgdGhpcy5pID0gMDtcclxuICAgIH1cclxuXHJcblxyXG4gICAgLyogV2hlZWwgKi9cclxuXHJcbiAgICBoYW5kbGVXaGVlbCA9IChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwid2hlZWxcIiwgZXZlbnQpO1xyXG4gICAgfVxyXG5cclxuICAgIC8qIFJlc2l6ZSAqL1xyXG5cclxuICAgIGhhbmRsZVJlc2l6ZSA9IChldmVudDogYW55KSA9PiB7XHJcbiAgICAgICAgdGhpcy5ydW5IYW5kbGVyKFwicmVzaXplXCIsIGV2ZW50KTtcclxuICAgIH1cclxuXHJcbiAgICBydW5IYW5kbGVyKGV2ZW50TmFtZTogYW55LCByZXNwb25zZTogYW55KSB7XHJcbiAgICAgICAgaWYgKHRoaXMuaGFuZGxlcnNbZXZlbnROYW1lXSkge1xyXG4gICAgICAgICAgICB0aGlzLmhhbmRsZXJzW2V2ZW50TmFtZV0ocmVzcG9uc2UpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG4gICAgLypcclxuICAgICAqIERldGVjdGlvblxyXG4gICAgICovXHJcblxyXG4gICAgZGV0ZWN0UGFuKHRvdWNoZXM6IGFueSkge1xyXG4gICAgICAgIHJldHVybiB0b3VjaGVzLmxlbmd0aCA9PT0gMSAmJiAhdGhpcy5ldmVudFR5cGUgfHwgdGhpcy5ldmVudFR5cGUgPT09ICdwYW4nO1xyXG4gICAgfVxyXG5cclxuICAgIGRldGVjdERvdWJsZVRhcCgpIHtcclxuICAgICAgICBpZiAodGhpcy5ldmVudFR5cGUgIT0gdW5kZWZpbmVkKSB7XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGNvbnN0IGN1cnJlbnRUaW1lID0gbmV3IERhdGUoKS5nZXRUaW1lKCk7XHJcbiAgICAgICAgY29uc3QgdGFwTGVuZ3RoID0gY3VycmVudFRpbWUgLSB0aGlzLmxhc3RUYXA7XHJcblxyXG4gICAgICAgIGNsZWFyVGltZW91dCh0aGlzLmRvdWJsZVRhcFRpbWVvdXQpO1xyXG5cclxuICAgICAgICBpZiAodGFwTGVuZ3RoIDwgdGhpcy5kb3VibGVUYXBNaW5UaW1lb3V0ICYmIHRhcExlbmd0aCA+IDApIHtcclxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5kb3VibGVUYXBUaW1lb3V0ID0gc2V0VGltZW91dCgoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICBjbGVhclRpbWVvdXQodGhpcy5kb3VibGVUYXBUaW1lb3V0KTtcclxuICAgICAgICAgICAgfSwgdGhpcy5kb3VibGVUYXBNaW5UaW1lb3V0KTtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5sYXN0VGFwID0gY3VycmVudFRpbWU7XHJcbiAgICB9XHJcblxyXG4gICAgZGV0ZWN0VGFwKCk6IHZvaWQge1xyXG4gICAgICAgIGlmICh0aGlzLmV2ZW50VHlwZSAhPSB1bmRlZmluZWQpIHtcclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgY29uc3QgY3VycmVudFRpbWUgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKTtcclxuICAgICAgICBjb25zdCB0YX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AqL1xyXG4gICAgb24oZXZlbnQ6IEV2ZW50VHlwZSwgaGFuZGxlcjogRnVuY3Rpb24pIHtcclxuICAgICAgICBpZiAoZXZlbnQpIHtcclxuICAgICAgICAgICAgdGhpcy5oYW5kbGVyc1tldmVudF0gPSBoYW5kbGVyO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufSJdfQ==

@@ -5,2 +5,2 @@ /**

export * from './public-api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXBpbmNoLXpvb20uanMiLCJzb3VyY2VSb290IjoiQzovZG9tYWlucy9pdnlwaW5jaC1hbmd1bGFyL2l2eXBpbmNoLW5nMTAtcHJvZC9wcm9qZWN0cy9uZ3gtcGluY2gtem9vbS9zcmMvIiwic291cmNlcyI6WyJuZ3gtcGluY2gtem9vbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXBpbmNoLXpvb20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcGluY2gtem9vbS9zcmMvbmd4LXBpbmNoLXpvb20udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==

@@ -7,2 +7,2 @@ /*

export * from './lib/pinch-zoom.component';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJDOi9kb21haW5zL2l2eXBpbmNoLWFuZ3VsYXIvaXZ5cGluY2gtbmcxMC1wcm9kL3Byb2plY3RzL25neC1waW5jaC16b29tL3NyYy8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmd4LXBpbmNoLXpvb21cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbnRlcmZhY2VzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BpbmNoLXpvb20ubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BpbmNoLXpvb20uY29tcG9uZW50JztcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1waW5jaC16b29tL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1waW5jaC16b29tXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvaW50ZXJmYWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waW5jaC16b29tLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waW5jaC16b29tLmNvbXBvbmVudCc7XG4iXX0=

@@ -980,3 +980,3 @@ import { Component, ElementRef, Input, HostBinding, NgModule } from '@angular/core';

template: "<div class=\"pinch-zoom-content\" [class.pz-dragging]=\"isDragging\">\n\t<ng-content></ng-content>\n</div>\n\n<!-- Control: one button -->\n<div class=\"pz-zoom-button pz-zoom-control-position-bottom\" \n\t[class.pz-zoom-button-out]=\"isZoomedIn\" \n\t*ngIf=\"isControl()\" \n\t(click)=\"toggleZoom()\"></div>",
styles: [":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-moz-user-select:none;-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02I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;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]
styles: [":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwI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SAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,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mZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]
},] }

@@ -983,0 +983,0 @@ ];

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"Properties":{"__symbolic":"interface"},"PinchZoomModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PinchZoomComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":8}],"exports":[{"__symbolic":"reference","name":"PinchZoomComponent"}],"providers":[],"bootstrap":[],"entryComponents":[{"__symbolic":"reference","name":"PinchZoomComponent"}]}]}],"members":{}},"PinchZoomComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"pinch-zoom, [pinch-zoom]","exportAs":"pinchZoom","template":"<div class=\"pinch-zoom-content\" [class.pz-dragging]=\"isDragging\">\n\t<ng-content></ng-content>\n</div>\n\n<!-- Control: one button -->\n<div class=\"pz-zoom-button pz-zoom-control-position-bottom\" \n\t[class.pz-zoom-button-out]=\"isZoomedIn\" \n\t*ngIf=\"isControl()\" \n\t(click)=\"toggleZoom()\"></div>","styles":[":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-moz-user-select:none;-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48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AxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9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ZnPg==)}"]}]}],"members":{"properties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":5},"arguments":["properties"]}]}],"transitionDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":5},"arguments":["transition-duration"]}]}],"doubleTap":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":5},"arguments":["double-tap"]}]}],"doubleTapScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":5},"arguments":["double-tap-scale"]}]}],"autoZoomOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":5},"arguments":["auto-zoom-out"]}]}],"limitZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":5},"arguments":["limit-zoom"]}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":5},"arguments":["disabled"]}]}],"disablePan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":5}}]}],"overflow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"zoomControlScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":5}}]}],"disableZoomControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":5}}]}],"limitPan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":5}}]}],"minPanScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"minScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":5}}]}],"listeners":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"wheel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":5}}]}],"autoHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":5}}]}],"wheelZoomFactor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"draggableImage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":5}}]}],"hostOverflow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":48,"character":5},"arguments":["style.overflow"]}]}],"hostBackgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":52,"character":5},"arguments":["style.background-color"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":89,"character":36}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"initPinchZoom":[{"__symbolic":"method"}],"getProperties":[{"__symbolic":"method"}],"renameProperties":[{"__symbolic":"method"}],"applyOptionsDefault":[{"__symbolic":"method"}],"toggleZoom":[{"__symbolic":"method"}],"isControl":[{"__symbolic":"method"}],"pollLimitZoom":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}}},"origins":{"Properties":"./lib/interfaces","PinchZoomModule":"./lib/pinch-zoom.module","PinchZoomComponent":"./lib/pinch-zoom.component"},"importAs":"ngx-pinch-zoom"}
{"__symbolic":"module","version":4,"metadata":{"Properties":{"__symbolic":"interface"},"PinchZoomModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PinchZoomComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":8}],"exports":[{"__symbolic":"reference","name":"PinchZoomComponent"}],"providers":[],"bootstrap":[],"entryComponents":[{"__symbolic":"reference","name":"PinchZoomComponent"}]}]}],"members":{}},"PinchZoomComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"pinch-zoom, [pinch-zoom]","exportAs":"pinchZoom","template":"<div class=\"pinch-zoom-content\" [class.pz-dragging]=\"isDragging\">\n\t<ng-content></ng-content>\n</div>\n\n<!-- Control: one button -->\n<div class=\"pz-zoom-button pz-zoom-control-position-bottom\" \n\t[class.pz-zoom-button-out]=\"isZoomedIn\" \n\t*ngIf=\"isControl()\" \n\t(click)=\"toggleZoom()\"></div>","styles":[":host{display:block;overflow:hidden;position:relative}.pinch-zoom-content{height:inherit}.pz-dragging{cursor:all-scroll}.pz-zoom-button{-webkit-user-select:none;background-color:rgba(0,0,0,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3Qga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S43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-position:50%,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;border-radius:4px;color:#fff;cursor:pointer;height:56px;opacity:.5;position:absolute;transition:opacity .1s;user-select:none;width:56px;z-index:1000}.pz-zoom-button-out{background-position:-1000px,50%}.pz-zoom-button:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right{margin-top:-28px;right:16px;top:50%}.pz-zoom-button.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-button.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control{background-color:rgba(0,0,0,.8);border-radius:4px;overflow:hidden;position:absolute}.pz-zoom-control.pz-zoom-control-position-right{margin-top:-48px;right:16px;top:50%}.pz-zoom-control.pz-zoom-control-position-right-bottom{bottom:32px;right:16px}.pz-zoom-control.pz-zoom-control-position-bottom{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in,.pz-zoom-out{background-position:50%;background-repeat:no-repeat;cursor:pointer;height:48px;opacity:1;width:48px}.pz-zoom-in:hover,.pz-zoom-out:hover{background-color:hsla(0,0%,100%,.2)}.pz-zoom-control-position-bottom .pz-zoom-in,.pz-zoom-control-position-bottom .pz-zoom-out{float:right}.pz-disabled{cursor:default;opacity:.5}.pz-disabled:hover{background-color:hsla(0,0%,100%,0)}.pz-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]}]}],"members":{"properties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":5},"arguments":["properties"]}]}],"transitionDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":5},"arguments":["transition-duration"]}]}],"doubleTap":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":5},"arguments":["double-tap"]}]}],"doubleTapScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":5},"arguments":["double-tap-scale"]}]}],"autoZoomOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":5},"arguments":["auto-zoom-out"]}]}],"limitZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":5},"arguments":["limit-zoom"]}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":5},"arguments":["disabled"]}]}],"disablePan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":5}}]}],"overflow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"zoomControlScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":5}}]}],"disableZoomControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":5}}]}],"limitPan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":5}}]}],"minPanScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"minScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":5}}]}],"listeners":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":5}}]}],"wheel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":5}}]}],"autoHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":5}}]}],"wheelZoomFactor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"draggableImage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":5}}]}],"hostOverflow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":48,"character":5},"arguments":["style.overflow"]}]}],"hostBackgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":52,"character":5},"arguments":["style.background-color"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":89,"character":36}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"initPinchZoom":[{"__symbolic":"method"}],"getProperties":[{"__symbolic":"method"}],"renameProperties":[{"__symbolic":"method"}],"applyOptionsDefault":[{"__symbolic":"method"}],"toggleZoom":[{"__symbolic":"method"}],"isControl":[{"__symbolic":"method"}],"pollLimitZoom":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}}},"origins":{"Properties":"./lib/interfaces","PinchZoomModule":"./lib/pinch-zoom.module","PinchZoomComponent":"./lib/pinch-zoom.component"},"importAs":"ngx-pinch-zoom"}
{
"name": "ngx-pinch-zoom",
"version": "2.5.4",
"version": "2.5.5",
"description": "Pinch zoom component for Angular.",

@@ -20,2 +20,3 @@ "repository": {

"Pinch zoom",
"Image zoom",
"Touch image zoom"

@@ -28,4 +29,4 @@ ],

"peerDependencies": {
"@angular/common": "^10.0.3",
"@angular/core": "^10.0.3"
"@angular/common": "^11.1.2",
"@angular/core": "^11.1.2"
},

@@ -43,2 +44,2 @@ "dependencies": {

"sideEffects": false
}
}

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 too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc