!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common/http")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/common/http"],e):e(t["simple-pdf-viewer"]={},t.ng.core,t.ng.common.http)}(this,function(t,e,n){"use strict";var o={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};o[o.FOUND]="FOUND",o[o.NOT_FOUND]="NOT_FOUND",o[o.WRAPPED]="WRAPPED",o[o.PENDING]="PENDING";var i=function(){return function(t,e){this.key=t,this.value=e}}(),r=function(){return function(t,e,n){this.title=t,this.dest=e,this.items=n}}(),a=function(){return function(t,e){this.loaded=t,this.total=e}}(),s=function(){return function(t,e,n){void 0===t&&(t=!1),void 0===e&&(e=!0),void 0===n&&(n=!0),this.caseSensitive=t,this.highlightAll=e,this.phraseSearch=n}}();s.DEFAULT_OPTIONS=new s;var A=function(){function t(t,e,n,o,i){void 0===t&&(t=1),void 0===e&&(e=1),void 0===n&&(n=0),void 0===o&&(o=0),void 0===i&&(i=0),this.page=t,this.zoom=e,this.rotation=n,this.x=o,this.y=i}return t.prototype.toDestination=function(){return{pageNumber:this.page,destArray:[null,{name:"XYZ"},this.x,this.y,this.zoom]}},t.prototype.toQueryString=function(){return t.PARAMETER_SEPARATOR+(t.PARAMETER_PAGE+"=")+this.page+t.PARAMETER_SEPARATOR+t.PARAMETER_ZOOM+"="+this.zoom+t.PARAMETER_SEPARATOR+t.PARAMETER_ROTATION+"="+this.rotation+t.PARAMETER_SEPARATOR+t.PARAMETER_X+"="+this.x+t.PARAMETER_SEPARATOR+t.PARAMETER_Y+"="+this.y},t.buildSimplePDFBookmark=function(e){if(e&&"string"==typeof e&&e.trim().length>0){var n=e.split(t.PARAMETER_SEPARATOR);if(n.length>0){var o=new t;return n.forEach(function(e){var n=e.split("="),i=n[0];if(2===n.length&&o.hasOwnProperty(i)){var r=0;r=i===t.PARAMETER_ZOOM?parseFloat(""+n[1]):parseInt(""+n[1],10),r=Number.isNaN(r)?0:r,o[i]=r}}),o}}return t.EMPTY_BOOKMARK},t}();A.EMPTY_BOOKMARK=new A(1,.75,0,0,0),A.PARAMETER_SEPARATOR="#",A.PARAMETER_PAGE="page",A.PARAMETER_ZOOM="zoom",A.PARAMETER_ROTATION="rotation",A.PARAMETER_X="x",A.PARAMETER_Y="y";var h={FULL:0,WIDTH:1,HEIGHT:2};h[h.FULL]="FULL",h[h.WIDTH]="WIDTH",h[h.HEIGHT]="HEIGHT","undefined"!=typeof window&&(window["pdfjs-dist/build/pdf"]=require("pdfjs-dist/build/pdf"),require("pdfjs-dist/web/compatibility"),require("pdfjs-dist/web/pdf_viewer"),PDFJS.verbosity=PDFJS.VERBOSITY_LEVELS.errors);var p=function(){function t(t,n){this.element=t,this.http=n,this.removePageBorders=!1,this.disableTextLayer=!1,this.onLoadComplete=new e.EventEmitter,this.onError=new e.EventEmitter,this.onProgress=new e.EventEmitter,this.onSearchStateChange=new e.EventEmitter,this.startAt=A.EMPTY_BOOKMARK,this.loaded=!1,this.currentPage=1,this.numberOfPages=1,this.outline=[],this.zoom=1,this.rotation=0,this.searching=!1,this.lastSearchText="",this.searchPrevious=!1,this.searchOptions=s.DEFAULT_OPTIONS}return t.prototype.ngOnInit=function(){if("undefined"!=typeof window){if("string"!=typeof PDFJS.workerSrc){var t="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/"+PDFJS.version+"/pdf.worker.min.js";PDFJS.workerSrc=t}this.initPDFJS(),this.openDocument(this.src)}},t.prototype.ngOnDestroy=function(){this.pdf&&this.pdf.destroy()},t.prototype.openDocument=function(t,e){void 0===e&&(e=A.EMPTY_BOOKMARK),this.resetParameters(),this.startAt=e,this.setAndParseSrc(t),this.loadFile()},t.prototype.openFile=function(t,e){var n=this;void 0===e&&(e=A.EMPTY_BOOKMARK);try{var o=new FileReader;o.onload=function(){n.openDocument(new Uint8Array(o.result),e)},o.onerror=function(t){n.onError.emit(t),n.loaded=!1},o.readAsArrayBuffer(t)}catch(i){this.onError.emit(i),this.loaded=!1}},t.prototype.openUrl=function(t,e){var n=this;void 0===e&&(e=A.EMPTY_BOOKMARK),this.http.get(t,{responseType:"arraybuffer"}).subscribe(function(t){n.openDocument(new Uint8Array(t),e)},function(t){n.onError.emit(t),n.loaded=!1})},t.prototype.isDocumentLoaded=function(){return this.loaded},t.prototype.initPDFJS=function(){var t=this.getContainer();PDFJS.disableTextLayer=this.disableTextLayer,this.pdfLinkService=new PDFJS.PDFLinkService,this.pdfViewer=new PDFJS.PDFSinglePageViewer({container:t,removePageBorders:this.removePageBorders,linkService:this.pdfLinkService}),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfFindController=new PDFJS.PDFFindController({pdfViewer:this.pdfViewer}),this.pdfViewer.setFindController(this.pdfFindController),t.addEventListener("pagesinit",this.pagesinitEventListener.bind(this)),t.addEventListener("pagechange",this.pagechangeEventListener.bind(this)),t.addEventListener("updateviewarea",this.updateviewareaEventListener.bind(this))},t.prototype.pagesinitEventListener=function(){this.pdfViewer.currentScaleValue=t.PDF_VIEWER_DEFAULT_SCALE,this.navigateToBookmark(this.startAt),this.onLoadComplete.emit()},t.prototype.pagechangeEventListener=function(){this.currentPage=this.pdfViewer._currentPageNumber},t.prototype.updateviewareaEventListener=function(){this.zoom=this.pdfViewer._currentScale},t.prototype.setAndParseSrc=function(t){if(this.src=t,this.src&&"string"==typeof this.src){var e=this.src.split(A.PARAMETER_SEPARATOR);e.length>1&&(this.startAt=A.buildSimplePDFBookmark(this.src),this.src=e[0])}},t.prototype.loadFile=function(){var e=this;if(this.loaded=!1,this.src){this.pdf&&this.pdf.destroy();var n=void 0;(n="string"==typeof this.src?PDFJS.getDocument({url:this.src,withCredentials:!0}):PDFJS.getDocument(this.src)).onProgress=function(t){e.onProgress.emit(new a(t.loaded,t.total))},n.promise.then(function(n){e.pdfViewer.setDocument(n),e.pdfViewer.currentScaleValue=t.PDF_VIEWER_DEFAULT_SCALE,e.pdfLinkService.setDocument(n,null),e.pdf=n,e.pdf.getOutline().then(function(t){e.outline=e.mapOutline(t)}),e.pdf.getMetadata().then(function(t){Object.getOwnPropertyNames(t.info).forEach(function(n){e.information.push(new i(n,t.info[n]))})}),e.numberOfPages=e.pdf.numPages,e.loaded=!0},function(t){e.resetParameters(),e.onError.emit(t)})}},t.prototype.resetParameters=function(){this.information=[],this.outline=null,this.currentPage=1,this.zoom=1,this.numberOfPages=1,this.startAt=A.EMPTY_BOOKMARK,this.pdfFindController&&this.pdfFindController.reset()},t.prototype.mapOutline=function(t){var e=this;return t?t.map(function(t){return new r(t.title,t.dest,e.mapOutline(t.items))},this):[]},t.prototype.getContainer=function(){return this.element.nativeElement.querySelector("div")},t.prototype.getDocumentInformation=function(){return this.loaded&&this.information?this.information:[]},t.prototype.getZoom=function(){return this.zoom},t.prototype.getZoomPercent=function(){return Math.floor(1e3*this.getZoom())/10},t.prototype.zoomIn=function(){this.isDocumentLoaded()&&this.setZoom(this.zoom+t.ZOOM_UNIT)},t.prototype.zoomOut=function(){this.isDocumentLoaded()&&this.setZoom(this.zoom-t.ZOOM_UNIT)},t.prototype.zoomReset=function(){this.isDocumentLoaded()&&this.setZoom(1)},t.prototype.zoomFullPage=function(){var t=this;this.isDocumentLoaded()&&this.pdf.getPage(this.currentPage).then(function(e){var n=t.getScale(e,h.FULL);t.setZoom(n)})},t.prototype.zoomPageWidth=function(){var t=this;this.isDocumentLoaded()&&this.pdf.getPage(this.currentPage).then(function(e){var n=t.getScale(e,h.WIDTH);t.setZoom(n)})},t.prototype.zoomPageHeight=function(){var t=this;this.isDocumentLoaded()&&this.pdf.getPage(this.currentPage).then(function(e){var n=t.getScale(e,h.HEIGHT);t.setZoom(n)})},t.prototype.getScale=function(e,n){void 0===n&&(n=h.FULL);var o=e.getViewport(1,this.rotation),i=this.getContainer().offsetHeight,r=this.getContainer().offsetWidth;if(0===i||0===r)return 1;var a=(i-t.PAGE_RESIZE_BORDER_HEIGHT)/o.height,s=(r-t.PAGE_RESIZE_BORDER_WIDTH)/o.width,A=at.MAX_ZOOM?n=t.MAX_ZOOM:e1&&(this.searchPrevious!==t?(this.searchPrevious=t,this.searchAgain()):(this.pdfFindController.nextMatch(),this.currentPage=this.pdfViewer._currentPageNumber))},t.prototype.searchAgain=function(){this.isDocumentLoaded()&&this.pdfFindController.executeCommand(t.PDF_FINDER_AGAIN_COMMAND,{caseSensitive:this.searchOptions.caseSensitive,findPrevious:this.searchPrevious,highlightAll:this.searchOptions.highlightAll,phraseSearch:this.searchOptions.phraseSearch,query:this.lastSearchText})},t.prototype.getNumberOfMatches=function(){return this.isDocumentLoaded()?this.pdfFindController.matchCount:0},t.prototype.hasMatches=function(){return this.getNumberOfMatches()>0},t.prototype.isSearching=function(){return this.searching},t.prototype.onUpdateResultsCount=function(){this.pdfFindController.onUpdateResultsCount=null,this.currentPage=this.pdfViewer._currentPageNumber},t.prototype.onUpdateState=function(t){this.onSearchStateChange.emit(t),this.searching=t===o.PENDING,this.searching||(this.pdfFindController.onUpdateState=null)},t.prototype.getCurrentPage=function(){return this.currentPage},t.prototype.getNumberOfPages=function(){return this.numberOfPages},t.prototype.getOutline=function(){return this.hasOutline()?this.outline:[]},t.prototype.hasOutline=function(){return this.loaded&&!!this.outline&&!!this.outline.length},t.prototype.navigateToChapter=function(t){this.isDocumentLoaded()&&this.pdfLinkService.navigateTo(t)},t.prototype.firstPage=function(){this.isDocumentLoaded()&&(this.currentPage=1,this.navigateToPage(this.currentPage))},t.prototype.lastPage=function(){this.isDocumentLoaded()&&(this.currentPage=this.getNumberOfPages(),this.navigateToPage(this.currentPage))},t.prototype.nextPage=function(){this.isDocumentLoaded()&&(this.currentPage++,this.navigateToPage(this.currentPage,1))},t.prototype.prevPage=function(){this.isDocumentLoaded()&&(this.currentPage--,this.navigateToPage(this.currentPage,this.numberOfPages))},t.prototype.navigateToPage=function(t,e){if(this.isDocumentLoaded()){var n=parseInt(""+t,10);this.currentPage=n||this.currentPage,this.currentPage>this.numberOfPages&&(this.currentPage=e||this.numberOfPages),this.currentPage<=0&&(this.currentPage=e||1),this.pdfViewer.scrollPageIntoView({pageNumber:this.currentPage})}},t.prototype.resetRotation=function(){this.rotate(0)},t.prototype.turnLeft=function(){this.rotate(this.rotation-90)},t.prototype.turnRight=function(){this.rotate(this.rotation+90)},t.prototype.getRotation=function(){return this.rotation},t.prototype.rotate=function(t){void 0===t&&(t=90),this.isDocumentLoaded()&&(this.rotation=parseInt(""+t,10),270===this.rotation?this.rotation=-90:-180===this.rotation&&(this.rotation=180),this.pdfViewer.pagesRotation=this.rotation)},t.prototype.createBookmark=function(){var t=this;return this.isDocumentLoaded()?this.pdf.getPage(this.currentPage).then(function(e){var n=e.getViewport(1,t.rotation),o=t.getContainer(),i=o.scrollLeft/o.scrollWidth*n.width,r=(o.scrollHeight-o.scrollTop)/o.scrollHeight*n.height;if(90===t.rotation){var a=i;i=r=o.scrollTop/o.scrollHeight*n.height,r=a}else if(180===t.rotation)i=(o.scrollWidth-o.scrollLeft)/o.scrollWidth*n.width,r=o.scrollTop/o.scrollHeight*n.height;else if(-90===t.rotation){a=i=(o.scrollWidth-o.scrollLeft)/o.scrollWidth*n.width;i=r,r=a}return i=Math.round(i),r=Math.round(r),new A(t.currentPage,t.zoom,t.rotation,i,r)}):Promise.reject("Document is not loaded")},t.prototype.navigateToBookmark=function(t){this.isDocumentLoaded()&&t&&(this.rotate(t.rotation),this.pdfViewer.scrollPageIntoView(t.toDestination()))},t.prototype.getPageSnapshot=function(e){var n=this;return void 0===e&&(e=1),this.isDocumentLoaded()?this.pdf.getPage(this.currentPage).then(function(o){var i=o.getViewport(e,0),r=document.createElement("canvas"),a=r.getContext("2d");return r.height=i.height,r.width=i.width,o.render({canvasContext:a,viewport:i}).then(function(){return n.dataURItoFile(r.toDataURL(t.SNAPSHOT_TPYE))})}):Promise.reject("Document is not loaded")},t.prototype.dataURItoFile=function(t){var e;e=t.split(",")[0].indexOf("base64")>=0?atob(t.split(",")[1]):unescape(t.split(",")[1]);for(var n=t.split(",")[0].split(":")[1].split(";")[0],o=new Uint8Array(e.length),i=0;i
',styles:["\n :host /deep/ .pdfViewerContainer {\n overflow: auto;\n position: relative;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n }\n :host /deep/ .textLayer {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n opacity: 0.2;\n line-height: 1.0;\n }\n :host /deep/ .textLayer > div {\n color: transparent;\n position: absolute;\n white-space: pre;\n cursor: text;\n -webkit-transform-origin: 0% 0%;\n -moz-transform-origin: 0% 0%;\n -o-transform-origin: 0% 0%;\n -ms-transform-origin: 0% 0%;\n transform-origin: 0% 0%;\n }\n :host /deep/ .textLayer .highlight {\n margin: -1px;\n padding: 1px;\n background-color: #002bff;\n border-radius: 4px;\n }\n :host /deep/ .textLayer .highlight.begin {\n border-radius: 4px 0px 0px 4px;\n }\n :host /deep/ .textLayer .highlight.end {\n border-radius: 0px 4px 4px 0px;\n }\n :host /deep/ .textLayer .highlight.middle {\n border-radius: 0px;\n }\n :host /deep/ .textLayer .highlight.selected {\n background-color: rgb(0, 100, 0);\n }\n :host /deep/ .textLayer ::selection { background: #002bff; }\n :host /deep/ .textLayer ::-moz-selection { background: #002bff; }\n :host /deep/ .textLayer .endOfContent {\n display: block;\n position: absolute;\n left: 0px;\n top: 100%;\n right: 0px;\n bottom: 0px;\n z-index: -1;\n cursor: default;\n -webkit-user-select: none;\n -ms-user-select: none;\n -moz-user-select: none;\n }\n :host /deep/ .annotationLayer section {\n position: absolute;\n }\n :host /deep/ .textLayer .endOfContent.active {\n top: 0px;\n }\n :host /deep/ .annotationLayer .linkAnnotation > a {\n position: absolute;\n font-size: 1em;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n :host /deep/ .annotationLayer .linkAnnotation > a:hover {\n opacity: 0.2;\n background: #002bff;\n box-shadow: 0px 2px 10px #002bff;\n }\n :host /deep/ .annotationLayer .linkAnnotation > a /* -ms-a */ {\n background: url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\") 0 0 repeat;\n }\n :host /deep/ .annotationLayer .textAnnotation img {\n position: absolute;\n cursor: pointer;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation input,\n :host /deep/ .annotationLayer .textWidgetAnnotation textarea,\n :host /deep/ .annotationLayer .choiceWidgetAnnotation select,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.checkBox input,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.radioButton input {\n background-color: #002bff;\n border: 1px solid transparent;\n box-sizing: border-box;\n font-size: 9px;\n height: 100%;\n padding: 0 3px;\n vertical-align: top;\n width: 100%;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation textarea {\n font: message-box;\n font-size: 9px;\n resize: none;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation input[disabled],\n :host /deep/ .annotationLayer .textWidgetAnnotation textarea[disabled],\n :host /deep/ .annotationLayer .choiceWidgetAnnotation select[disabled],\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {\n background: none;\n border: 1px solid transparent;\n cursor: not-allowed;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation input:hover,\n :host /deep/ .annotationLayer .textWidgetAnnotation textarea:hover,\n :host /deep/ .annotationLayer .choiceWidgetAnnotation select:hover,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.radioButton input:hover {\n border: 1px solid #000;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation input:focus,\n :host /deep/ .annotationLayer .textWidgetAnnotation textarea:focus,\n :host /deep/ .annotationLayer .choiceWidgetAnnotation select:focus {\n background: none;\n border: 1px solid transparent;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation input.comb {\n font-family: monospace;\n padding-left: 2px;\n padding-right: 0;\n }\n :host /deep/ .annotationLayer .textWidgetAnnotation input.comb:focus {\n width: 115%;\n }\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.checkBox input,\n :host /deep/ .annotationLayer .buttonWidgetAnnotation.radioButton input {\n -webkit-appearance: none;\n -moz-appearance: none;\n -ms-appearance: none;\n appearance: none;\n }\n :host /deep/ .annotationLayer .popupWrapper {\n position: absolute;\n width: 20em;\n }\n :host /deep/ .annotationLayer .popup {\n position: absolute;\n z-index: 200;\n max-width: 20em;\n background-color: #FFFF99;\n box-shadow: 0px 2px 5px #333;\n border-radius: 2px;\n padding: 0.6em;\n margin-left: 5px;\n cursor: pointer;\n word-wrap: break-word;\n }\n :host /deep/ .annotationLayer .popup h1 {\n font-size: 1em;\n border-bottom: 1px solid #000000;\n padding-bottom: 0.2em;\n }\n :host /deep/ .annotationLayer .popup p {\n padding-top: 0.2em;\n }\n :host /deep/ .annotationLayer .highlightAnnotation,\n :host /deep/ .annotationLayer .underlineAnnotation,\n :host /deep/ .annotationLayer .squigglyAnnotation,\n :host /deep/ .annotationLayer .strikeoutAnnotation,\n :host /deep/ .annotationLayer .fileAttachmentAnnotation {\n cursor: pointer;\n }\n :host /deep/ .pdfViewer .canvasWrapper {\n overflow: hidden;\n }\n :host /deep/ .pdfViewer .page {\n direction: ltr;\n width: 816px;\n height: 1056px;\n margin: 1px auto -8px auto;\n position: relative;\n overflow: visible;\n border: 9px solid transparent;\n background-clip: content-box;\n border-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=') 9 9 repeat;\n background-color: white;\n }\n :host /deep/ .pdfViewer.removePageBorders .page {\n margin: 0px auto 10px auto;\n border: none;\n }\n :host /deep/ .pdfViewer.singlePageView {\n display: inline-block;\n }\n :host /deep/ .pdfViewer.singlePageView .page {\n margin: 0;\n border: none;\n }\n :host /deep/ .pdfViewer .page canvas {\n margin: 0;\n display: block;\n }\n :host /deep/ .pdfViewer .page .loadingIcon {\n position: absolute;\n display: block;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n background: url('data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYH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IfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==') center no-repeat;\n }\n "]}]}],p.ctorParameters=function(){return[{type:e.ElementRef},{type:n.HttpClient}]},p.propDecorators={src:[{type:e.Input}],removePageBorders:[{type:e.Input}],disableTextLayer:[{type:e.Input}],onLoadComplete:[{type:e.Output,args:["onLoadComplete"]}],onError:[{type:e.Output,args:["onError"]}],onProgress:[{type:e.Output,args:["onProgress"]}],onSearchStateChange:[{type:e.Output,args:["onSearchStateChange"]}]};var d=function(){return function(){}}();d.decorators=[{type:e.NgModule,args:[{imports:[n.HttpClientModule],declarations:[p],exports:[p]}]}],d.ctorParameters=function(){return[]},t.SimplePdfViewerModule=d,t.SimplePdfViewerComponent=p,t.SimpleSearchState=o,t.SimpleDocumentInfo=i,t.SimpleOutlineNode=r,t.SimpleProgressData=a,t.SimpleSearchOptions=s,t.SimplePDFBookmark=A,Object.defineProperty(t,"__esModule",{value:!0})}); //# sourceMappingURL=simple-pdf-viewer.umd.min.js.map