-
Notifications
You must be signed in to change notification settings - Fork 0
/
11.4cbf6818040e31743611.js
1 lines (1 loc) · 64 KB
/
11.4cbf6818040e31743611.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"5xlC":function(l,n,e){var t=e("mrSG").__decorate,o=e("mrSG").__metadata,i=e("CcnG"),u=e("UpIn"),s=function(){function l(l){this.onFileSelected=new i.EventEmitter,this.element=l}return l.prototype.getOptions=function(){return this.uploader.options},l.prototype.getFilters=function(){return{}},l.prototype.isEmptyAfterSelection=function(){return!!this.element.nativeElement.attributes.multiple},l.prototype.onChange=function(){var l=this.element.nativeElement.files,n=this.getOptions(),e=this.getFilters();this.uploader.addToQueue(l,n,e),this.onFileSelected.emit(l),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")},l}();t([i.Input(),o("design:type",u.FileUploader)],s.prototype,"uploader",void 0),t([i.Output(),o("design:type",i.EventEmitter)],s.prototype,"onFileSelected",void 0),t([i.HostListener("change"),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",Object)],s.prototype,"onChange",null),s=t([i.Directive({selector:"[ng2FileSelect]"})],s),n.FileSelectDirective=s},QGqX:function(l,n,e){"use strict";var t=function(){function l(){}return l.getMimeClass=function(l){var n="application";return-1!==this.mime_psd.indexOf(l.type)?n="image":l.type.match("image.*")?n="image":l.type.match("video.*")?n="video":l.type.match("audio.*")?n="audio":"application/pdf"===l.type?n="pdf":-1!==this.mime_compress.indexOf(l.type)?n="compress":-1!==this.mime_doc.indexOf(l.type)?n="doc":-1!==this.mime_xsl.indexOf(l.type)?n="xls":-1!==this.mime_ppt.indexOf(l.type)&&(n="ppt"),"application"===n&&(n=this.fileTypeDetection(l.name)),n},l.fileTypeDetection=function(l){var n={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},e=l.split(".");if(e.length<2)return"application";var t=e[e.length-1].toLowerCase();return void 0===n[t]?"application":n[t]},l}();t.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],t.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],t.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],t.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],t.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream"],n.FileType=t},RQ4W:function(l,n,e){"use strict";!function(l){for(var e in l)n.hasOwnProperty(e)||(n[e]=l[e])}(e("YNBZ"))},S6T7:function(l,n,e){var t=e("mrSG").__decorate,o=e("Ip0R"),i=e("CcnG"),u=e("pKD1"),s=e("5xlC"),r=function(){return function(){}}();r=t([i.NgModule({imports:[o.CommonModule],declarations:[u.FileDropDirective,s.FileSelectDirective],exports:[u.FileDropDirective,s.FileSelectDirective]})],r),n.FileUploadModule=r},UpIn:function(l,n,e){"use strict";var t=e("CcnG"),o=e("oQam"),i=e("b6v0"),u=e("QGqX");n.FileUploader=function(){function l(l){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:function(l){return l._file},formatDataFunctionIsAsync:!1},this.setOptions(l),this.response=new t.EventEmitter}return l.prototype.setOptions=function(l){this.options=Object.assign(this.options,l),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(var n=0;n<this.queue.length;n++)this.queue[n].url=this.options.url},l.prototype.addToQueue=function(l,n,e){for(var t=this,u=[],s=0,r=l;s<r.length;s++)u.push(r[s]);var a=this._getFilters(e),d=this.queue.length,p=[];u.map(function(l){n||(n=t.options);var e=new o.FileLikeObject(l);if(t._isValidFile(e,a,n)){var u=new i.FileItem(t,l,n);p.push(u),t.queue.push(u),t._onAfterAddingFile(u)}else t._onWhenAddingFileFailed(e,a[t._failFilterIndex],n)}),this.queue.length!==d&&(this._onAfterAddingAll(p),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()},l.prototype.removeFromQueue=function(l){var n=this.getIndexOfItem(l),e=this.queue[n];e.isUploading&&e.cancel(),this.queue.splice(n,1),this.progress=this._getTotalProgress()},l.prototype.clearQueue=function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0},l.prototype.uploadItem=function(l){var n=this.getIndexOfItem(l),e=this.queue[n],t=this.options.isHTML5?"_xhrTransport":"_iframeTransport";e._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[t](e))},l.prototype.cancelItem=function(l){var n=this.getIndexOfItem(l),e=this.queue[n];e&&e.isUploading&&(this.options.isHTML5?e._xhr:e._form).abort()},l.prototype.uploadAll=function(){var l=this.getNotUploadedItems().filter(function(l){return!l.isUploading});l.length&&(l.map(function(l){return l._prepareToUploading()}),l[0].upload())},l.prototype.cancelAll=function(){this.getNotUploadedItems().map(function(l){return l.cancel()})},l.prototype.isFile=function(l){return function(l){return File&&l instanceof File}(l)},l.prototype.isFileLikeObject=function(l){return l instanceof o.FileLikeObject},l.prototype.getIndexOfItem=function(l){return"number"==typeof l?l:this.queue.indexOf(l)},l.prototype.getNotUploadedItems=function(){return this.queue.filter(function(l){return!l.isUploaded})},l.prototype.getReadyItems=function(){return this.queue.filter(function(l){return l.isReady&&!l.isUploading}).sort(function(l,n){return l.index-n.index})},l.prototype.destroy=function(){},l.prototype.onAfterAddingAll=function(l){return{fileItems:l}},l.prototype.onBuildItemForm=function(l,n){return{fileItem:l,form:n}},l.prototype.onAfterAddingFile=function(l){return{fileItem:l}},l.prototype.onWhenAddingFileFailed=function(l,n,e){return{item:l,filter:n,options:e}},l.prototype.onBeforeUploadItem=function(l){return{fileItem:l}},l.prototype.onProgressItem=function(l,n){return{fileItem:l,progress:n}},l.prototype.onProgressAll=function(l){return{progress:l}},l.prototype.onSuccessItem=function(l,n,e,t){return{item:l,response:n,status:e,headers:t}},l.prototype.onErrorItem=function(l,n,e,t){return{item:l,response:n,status:e,headers:t}},l.prototype.onCancelItem=function(l,n,e,t){return{item:l,response:n,status:e,headers:t}},l.prototype.onCompleteItem=function(l,n,e,t){return{item:l,response:n,status:e,headers:t}},l.prototype.onCompleteAll=function(){},l.prototype._mimeTypeFilter=function(l){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(l.type))},l.prototype._fileSizeFilter=function(l){return!(this.options.maxFileSize&&l.size>this.options.maxFileSize)},l.prototype._fileTypeFilter=function(l){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(u.FileType.getMimeClass(l)))},l.prototype._onErrorItem=function(l,n,e,t){l._onError(n,e,t),this.onErrorItem(l,n,e,t)},l.prototype._onCompleteItem=function(l,n,e,t){l._onComplete(n,e,t),this.onCompleteItem(l,n,e,t);var o=this.getReadyItems()[0];this.isUploading=!1,o?o.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())},l.prototype._headersGetter=function(l){return function(n){return n?l[n.toLowerCase()]||void 0:l}},l.prototype._xhrTransport=function(l){var n,e=this,t=this,o=l._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(l),"number"!=typeof l._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)n=this.options.formatDataFunction(l);else{n=new FormData,this._onBuildItemForm(l,n);var i=function(){return n.append(l.alias,l._file,l.file.name)};this.options.parametersBeforeFiles||i(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(function(t){var o=e.options.additionalParameter[t];"string"==typeof o&&o.indexOf("{{file_name}}")>=0&&(o=o.replace("{{file_name}}",l.file.name)),n.append(t,o)}),this.options.parametersBeforeFiles&&i()}if(o.upload.onprogress=function(n){var t=Math.round(n.lengthComputable?100*n.loaded/n.total:0);e._onProgressItem(l,t)},o.onload=function(){var n=e._parseHeaders(o.getAllResponseHeaders()),t=e._transformResponse(o.response,n),i=e._isSuccessCode(o.status)?"Success":"Error";e["_on"+i+"Item"](l,t,o.status,n),e._onCompleteItem(l,t,o.status,n)},o.onerror=function(){var n=e._parseHeaders(o.getAllResponseHeaders()),t=e._transformResponse(o.response,n);e._onErrorItem(l,t,o.status,n),e._onCompleteItem(l,t,o.status,n)},o.onabort=function(){var n=e._parseHeaders(o.getAllResponseHeaders()),t=e._transformResponse(o.response,n);e._onCancelItem(l,t,o.status,n),e._onCompleteItem(l,t,o.status,n)},o.open(l.method,l.url,!0),o.withCredentials=l.withCredentials,this.options.headers)for(var u=0,s=this.options.headers;u<s.length;u++)o.setRequestHeader((d=s[u]).name,d.value);if(l.headers.length)for(var r=0,a=l.headers;r<a.length;r++){var d;o.setRequestHeader((d=a[r]).name,d.value)}this.authToken&&o.setRequestHeader(this.authTokenHeader,this.authToken),o.onreadystatechange=function(){o.readyState==XMLHttpRequest.DONE&&t.response.emit(o.responseText)},this.options.formatDataFunctionIsAsync?n.then(function(l){return o.send(JSON.stringify(l))}):o.send(n),this._render()},l.prototype._getTotalProgress=function(l){if(void 0===l&&(l=0),this.options.removeAfterUpload)return l;var n=this.getNotUploadedItems().length,e=100/this.queue.length;return Math.round((n?this.queue.length-n:this.queue.length)*e+l*e/100)},l.prototype._getFilters=function(l){if(!l)return this.options.filters;if(Array.isArray(l))return l;if("string"==typeof l){var n=l.match(/[^\s,]+/g);return this.options.filters.filter(function(l){return-1!==n.indexOf(l.name)})}return this.options.filters},l.prototype._render=function(){},l.prototype._queueLimitFilter=function(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit},l.prototype._isValidFile=function(l,n,e){var t=this;return this._failFilterIndex=-1,!n.length||n.every(function(n){return t._failFilterIndex++,n.fn.call(t,l,e)})},l.prototype._isSuccessCode=function(l){return l>=200&&l<300||304===l},l.prototype._transformResponse=function(l,n){return l},l.prototype._parseHeaders=function(l){var n,e,t,o={};return l?(l.split("\n").map(function(l){t=l.indexOf(":"),n=l.slice(0,t).trim().toLowerCase(),e=l.slice(t+1).trim(),n&&(o[n]=o[n]?o[n]+", "+e:e)}),o):o},l.prototype._onWhenAddingFileFailed=function(l,n,e){this.onWhenAddingFileFailed(l,n,e)},l.prototype._onAfterAddingFile=function(l){this.onAfterAddingFile(l)},l.prototype._onAfterAddingAll=function(l){this.onAfterAddingAll(l)},l.prototype._onBeforeUploadItem=function(l){l._onBeforeUpload(),this.onBeforeUploadItem(l)},l.prototype._onBuildItemForm=function(l,n){l._onBuildForm(n),this.onBuildItemForm(l,n)},l.prototype._onProgressItem=function(l,n){var e=this._getTotalProgress(n);this.progress=e,l._onProgress(n),this.onProgressItem(l,n),this.onProgressAll(e),this._render()},l.prototype._onSuccessItem=function(l,n,e,t){l._onSuccess(n,e,t),this.onSuccessItem(l,n,e,t)},l.prototype._onCancelItem=function(l,n,e,t){l._onCancel(n,e,t),this.onCancelItem(l,n,e,t)},l}()},Whep:function(l,n,e){"use strict";e.r(n);var t=e("CcnG"),o=function(){return function(){}}(),i=e("pMnS"),u=e("K9Ia"),s=e("mrSG"),r=function(){function l(l,n,e,t,o,i){var s=this;this.toastId=l,this.config=n,this.message=e,this.title=t,this.toastType=o,this.toastRef=i,this._onTap=new u.a,this._onAction=new u.a,this.toastRef.afterClosed().subscribe(function(){s._onAction.complete(),s._onTap.complete()})}return l.prototype.triggerTap=function(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()},l.prototype.onTap=function(){return this._onTap.asObservable()},l.prototype.triggerAction=function(l){this._onAction.next(l)},l.prototype.onAction=function(){return this._onAction.asObservable()},l}(),a=function(){function l(l,n){this.component=l,this.injector=n}return l.prototype.attach=function(l,n){return this._attachedHost=l,l.attach(this,n)},l.prototype.detach=function(){var l=this._attachedHost;if(l)return this._attachedHost=void 0,l.detach()},Object.defineProperty(l.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),l.prototype.setAttachedHost=function(l){this._attachedHost=l},l}(),d=function(l){function n(n,e,t){var o=l.call(this)||this;return o._hostDomElement=n,o._componentFactoryResolver=e,o._appRef=t,o}return Object(s.__extends)(n,l),n.prototype.attachComponentPortal=function(l,n){var e,t=this,o=this._componentFactoryResolver.resolveComponentFactory(l.component);return e=o.create(l.injector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){t._appRef.detachView(e.hostView),e.destroy()}),n?this._hostDomElement.insertBefore(this._getComponentRootNode(e),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(e)),e},n.prototype._getComponentRootNode=function(l){return l.hostView.rootNodes[0]},n}(function(){function l(){}return l.prototype.attach=function(l,n){return this._attachedPortal=l,this.attachComponentPortal(l,n)},l.prototype.detach=function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)},l.prototype.setDisposeFn=function(l){this._disposeFn=l},l}()),p=function(){function l(l){this._portalHost=l}return l.prototype.attach=function(l,n){return void 0===n&&(n=!0),this._portalHost.attach(l,n)},l.prototype.detach=function(){return this._portalHost.detach()},l}(),c=function(){function l(){}return l.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},l.prototype._createContainer=function(){var l=document.createElement("div");l.classList.add("overlay-container"),document.body.appendChild(l),this._containerElement=l},l}(),h=function(){function l(l,n,e){this._overlayContainer=l,this._componentFactoryResolver=n,this._appRef=e,this._paneElements={}}return l.prototype.create=function(l,n){return this._createOverlayRef(this.getPaneElement(l,n))},l.prototype.getPaneElement=function(l,n){return void 0===l&&(l=""),this._paneElements[l]||(this._paneElements[l]=this._createPaneElement(l,n)),this._paneElements[l]},l.prototype._createPaneElement=function(l,n){var e=document.createElement("div");return e.id="toast-container",e.classList.add(l),e.classList.add("toast-container"),n?n.getContainerElement().appendChild(e):this._overlayContainer.getContainerElement().appendChild(e),e},l.prototype._createPortalHost=function(l){return new d(l,this._componentFactoryResolver,this._appRef)},l.prototype._createOverlayRef=function(l){return new p(this._createPortalHost(l))},l}(),f=function(){function l(l){this._overlayRef=l,this._afterClosed=new u.a,this._activate=new u.a,this._manualClose=new u.a}return l.prototype.manualClose=function(){this._manualClose.next(),this._manualClose.complete()},l.prototype.manualClosed=function(){return this._manualClose.asObservable()},l.prototype.close=function(){this._overlayRef.detach(),this._afterClosed.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete()},l.prototype.afterClosed=function(){return this._afterClosed.asObservable()},l.prototype.isInactive=function(){return this._activate.isStopped},l.prototype.activate=function(){this._activate.next(),this._activate.complete()},l.prototype.afterActivate=function(){return this._activate.asObservable()},l}(),m=function(){function l(l,n){this._toastPackage=l,this._parentInjector=n}return l.prototype.get=function(l,n){return l===r&&this._toastPackage?this._toastPackage:this._parentInjector.get(l,n)},l}(),v=new t.InjectionToken("ToastConfig"),g=function(){function l(l,n,e,t,o){this.overlay=n,this._injector=e,this.sanitizer=t,this.ngZone=o,this.currentlyActive=0,this.toasts=[],this.index=0;var i=new l.defaults;this.toastrConfig=Object(s.__assign)({},i,l.config),this.toastrConfig.iconClasses=Object(s.__assign)({},i.iconClasses,l.config.iconClasses)}return l.prototype.show=function(l,n,e,t){return void 0===e&&(e={}),void 0===t&&(t=""),this._preBuildNotification(t,l,n,this.applyConfig(e))},l.prototype.success=function(l,n,e){return void 0===e&&(e={}),this._preBuildNotification(this.toastrConfig.iconClasses.success||"",l,n,this.applyConfig(e))},l.prototype.error=function(l,n,e){return void 0===e&&(e={}),this._preBuildNotification(this.toastrConfig.iconClasses.error||"",l,n,this.applyConfig(e))},l.prototype.info=function(l,n,e){return void 0===e&&(e={}),this._preBuildNotification(this.toastrConfig.iconClasses.info||"",l,n,this.applyConfig(e))},l.prototype.warning=function(l,n,e){return void 0===e&&(e={}),this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",l,n,this.applyConfig(e))},l.prototype.clear=function(l){try{for(var n=Object(s.__values)(this.toasts),e=n.next();!e.done;e=n.next()){var t=e.value;if(void 0!==l){if(t.toastId===l)return void t.toastRef.manualClose()}else t.toastRef.manualClose()}}catch(u){o={error:u}}finally{try{e&&!e.done&&(i=n.return)&&i.call(n)}finally{if(o)throw o.error}}var o,i},l.prototype.remove=function(l){var n=this._findToast(l);if(!n)return!1;if(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){var e=this.toasts[this.currentlyActive].toastRef;e.isInactive()||(this.currentlyActive=this.currentlyActive+1,e.activate())}return!0},l.prototype.isDuplicate=function(l){for(var n=0;n<this.toasts.length;n++)if(this.toasts[n].message===l)return!0;return!1},l.prototype.applyConfig=function(l){return void 0===l&&(l={}),Object(s.__assign)({},this.toastrConfig,l)},l.prototype._findToast=function(l){for(var n=0;n<this.toasts.length;n++)if(this.toasts[n].toastId===l)return{index:n,activeToast:this.toasts[n]};return null},l.prototype._preBuildNotification=function(l,n,e,t){var o=this;return t.onActivateTick?this.ngZone.run(function(){return o._buildNotification(l,n,e,t)}):this._buildNotification(l,n,e,t)},l.prototype._buildNotification=function(l,n,e,o){var i=this;if(!o.toastComponent)throw new Error("toastComponent required");if(n&&this.toastrConfig.preventDuplicates&&this.isDuplicate(n))return null;this.previousToastMessage=n;var u=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(u=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[this.toasts.length-1].toastId));var s=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;var d=n;n&&o.enableHtml&&(d=this.sanitizer.sanitize(t.SecurityContext.HTML,n));var p=new f(s),c=new r(this.index,o,d,e,l,p),h=new m(c,this._injector),v=new a(o.toastComponent,h),g=s.attach(v,this.toastrConfig.newestOnTop);p.componentInstance=g._component;var y={toastId:this.index,message:n||"",toastRef:p,onShown:p.afterActivate(),onHidden:p.afterClosed(),onTap:c.onTap(),onAction:c.onAction(),portal:g};return u||setTimeout(function(){y.toastRef.activate(),i.currentlyActive=i.currentlyActive+1}),this.toasts.push(y),y},l}(),y=function(){function l(l,n,e){var t=this;this.toastrService=l,this.toastPackage=n,this.ngZone=e,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=n.message,this.title=n.title,this.options=n.config,this.toastClasses=n.toastType+" "+n.config.toastClass,this.sub=n.toastRef.afterActivate().subscribe(function(){t.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(function(){t.remove()})}return l.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},l.prototype.activateToast=function(){var l=this;this.state=Object(s.__assign)({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(function(){return l.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(function(){return l.updateProgress()},10))},l.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var l=(new Date).getTime();this.width=(this.hideTime-l)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},l.prototype.remove=function(){var l=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object(s.__assign)({},this.state,{value:"removed"}),this.outsideTimeout(function(){return l.toastrService.remove(l.toastPackage.toastId)},+this.toastPackage.config.easeTime))},l.prototype.tapToast=function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},l.prototype.stickAround=function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},l.prototype.delayedHideToast=function(){var l=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(function(){return l.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(function(){return l.updateProgress()},10))},l.prototype.outsideTimeout=function(l,n){var e=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return e.timeout=setTimeout(function(){return e.runInsideAngular(l)},n)}):this.timeout=setTimeout(function(){return l()},n)},l.prototype.outsideInterval=function(l,n){var e=this;this.ngZone?this.ngZone.runOutsideAngular(function(){return e.intervalId=setInterval(function(){return e.runInsideAngular(l)},n)}):this.intervalId=setInterval(function(){return l()},n)},l.prototype.runInsideAngular=function(l){this.ngZone?this.ngZone.run(function(){return l()}):l()},l}(),b=function(){return function(){this.maxOpened=0,this.autoDismiss=!1,this.newestOnTop=!0,this.preventDuplicates=!1,this.iconClasses={error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},this.toastComponent=y,this.closeButton=!1,this.timeOut=5e3,this.extendedTimeOut=1e3,this.enableHtml=!1,this.progressBar=!1,this.toastClass="toast",this.positionClass="toast-top-right",this.titleClass="toast-title",this.messageClass="toast-message",this.easing="ease-in",this.easeTime=300,this.tapToDismiss=!0,this.onActivateTick=!1,this.progressAnimation="decreasing"}}(),_=function(){function l(l){if(l)throw new Error("ToastrModule is already loaded. It should only be imported in your application's main module.")}return l.forRoot=function(n){return void 0===n&&(n={}),{ngModule:l,providers:[{provide:v,useValue:{config:n,defaults:b}},c,h,g]}},l}(),C=e("Ip0R"),w=t["\u0275crt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{display:"none",opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"{{ easeTime }}ms {{ easing }}"},options:null}],options:{}}]}});function x(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"button",[["aria-label","Close"],["class","toast-close-button"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.remove()&&t),t},null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["\xd7"]))],null,null)}function T(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,function(l,n){var e=n.component;l(n,0,0,e.options.titleClass,e.title),l(n,1,0,e.title)})}function I(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,function(l,n){var e=n.component;l(n,0,0,e.options.messageClass,e.message)})}function O(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[["aria-live","polite"],["role","alertdialog"]],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,function(l,n){var e=n.component;l(n,0,0,e.options.messageClass,e.message),l(n,1,0,e.message)})}function F(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width",null]],null,null,null,null))],null,function(l,n){l(n,1,0,n.component.width+"%")})}function D(l){return t["\u0275vid"](0,[(l()(),t["\u0275and"](16777216,null,null,1,null,x)),t["\u0275did"](1,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,T)),t["\u0275did"](3,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,I)),t["\u0275did"](5,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,O)),t["\u0275did"](7,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,F)),t["\u0275did"](9,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var e=n.component;l(n,1,0,e.options.closeButton),l(n,3,0,e.title),l(n,5,0,e.message&&e.options.enableHtml),l(n,7,0,e.message&&!e.options.enableHtml),l(n,9,0,e.options.progressBar)},null)}function R(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(l,n,e){var o=!0;return"click"===n&&(o=!1!==t["\u0275nov"](l,1).tapToast()&&o),"mouseenter"===n&&(o=!1!==t["\u0275nov"](l,1).stickAround()&&o),"mouseleave"===n&&(o=!1!==t["\u0275nov"](l,1).delayedHideToast()&&o),o},D,w)),t["\u0275did"](1,180224,null,0,y,[g,r,t.NgZone],null,null)],null,function(l,n){l(n,0,0,t["\u0275nov"](n,1).toastClasses,t["\u0275nov"](n,1).state)})}var A=t["\u0275ccf"]("[toast-component]",y,R,{},{},[]),E=e("9AJC"),S=function(){function l(l){this.toastr=l}return l.prototype.showSuccess=function(){this.toastr.success("You are awesome!","Success!")},l.prototype.showError=function(){this.toastr.error("This is not good!","Oops!")},l.prototype.showWarning=function(){this.toastr.warning("You are being warned.","Alert!")},l.prototype.showInfo=function(){this.toastr.info("Just some information for you.")},l}(),k=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function M(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,36,"div",[["class","row"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,8,"div",[["class","col-md-4"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,7,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,6,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Success"])),(l()(),t["\u0275eld"](6,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This is the simpel toastr with success message"])),(l()(),t["\u0275eld"](8,0,null,null,1,"button",[["class","btn btn-success"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.showSuccess()&&t),t},null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Success"])),(l()(),t["\u0275eld"](10,0,null,null,8,"div",[["class","col-md-4"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,0,null,null,7,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](12,0,null,null,6,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](13,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Danger"])),(l()(),t["\u0275eld"](15,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This is the simpel toastr with Danger message"])),(l()(),t["\u0275eld"](17,0,null,null,1,"button",[["class","btn btn-danger"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.showError()&&t),t},null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Danger Error"])),(l()(),t["\u0275eld"](19,0,null,null,8,"div",[["class","col-md-4"]],null,null,null,null,null)),(l()(),t["\u0275eld"](20,0,null,null,7,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](21,0,null,null,6,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](22,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Warning"])),(l()(),t["\u0275eld"](24,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This is the simpel toastr with Warning message"])),(l()(),t["\u0275eld"](26,0,null,null,1,"button",[["class","btn btn-warning"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.showWarning()&&t),t},null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Warning"])),(l()(),t["\u0275eld"](28,0,null,null,8,"div",[["class","col-md-4"]],null,null,null,null,null)),(l()(),t["\u0275eld"](29,0,null,null,7,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](30,0,null,null,6,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](31,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Info"])),(l()(),t["\u0275eld"](33,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This is the simpel toastr with Info message"])),(l()(),t["\u0275eld"](35,0,null,null,1,"button",[["class","btn btn-info"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.showInfo()&&t),t},null,null)),(l()(),t["\u0275ted"](-1,null,["Toastr Info"]))],null,null)}function U(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,M,k)),t["\u0275did"](1,49152,null,0,S,[g],null,null)],null,null)}var N=t["\u0275ccf"]("ng-component",S,U,{},{},[]),P=e("pKD1"),H=e("5xlC"),B=e("4GxJ"),L=e("RQ4W"),q="https://evening-anchorage-3159.herokuapp.com/api/",j=function(){function l(){this.uploader=new L.FileUploader({url:q,isHTML5:!0}),this.hasBaseDropZoneOver=!1,this.hasAnotherDropZoneOver=!1}return l.prototype.fileOverBase=function(l){this.hasBaseDropZoneOver=l},l.prototype.fileOverAnother=function(l){this.hasAnotherDropZoneOver=l},l}(),z=t["\u0275crt"]({encapsulation:0,styles:[[".my-drop-zone[_ngcontent-%COMP%]{border:2px dotted #dadada}.nv-file-over[_ngcontent-%COMP%]{border:2px dotted red}.another-file-over-class[_ngcontent-%COMP%]{border:2px dotted green}"]],data:{}});function V(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"td",[["nowrap",""]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[""," MB"])),t["\u0275ppd"](2,2)],null,function(l,n){var e=t["\u0275unv"](n,1,0,l(n,2,0,t["\u0275nov"](n.parent.parent,0),(null==n.parent.context.$implicit?null:null==n.parent.context.$implicit.file?null:n.parent.context.$implicit.file.size)/1024/1024,".2"));l(n,1,0,e)})}function $(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,4,"td",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,3,"div",[["class","progress"],["style","margin-bottom: 0;"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,2,"div",[["class","progress-bar"],["role","progressbar"]],null,null,null,null,null)),t["\u0275did"](3,278528,null,0,C.NgStyle,[t.KeyValueDiffers,t.ElementRef,t.Renderer2],{ngStyle:[0,"ngStyle"]},null),t["\u0275pod"](4,{width:0})],function(l,n){var e=l(n,4,0,n.parent.context.$implicit.progress+"%");l(n,3,0,e)},null)}function Z(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,0,"i",[["class","fa fa-ok"]],null,null,null,null,null))],null,null)}function Q(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,0,"i",[["class","fa fa-ban"]],null,null,null,null,null))],null,null)}function G(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,0,"i",[["class","fa fa-remove"]],null,null,null,null,null))],null,null)}function W(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,24,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),t["\u0275ted"](3,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,V)),t["\u0275did"](5,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,$)),t["\u0275did"](7,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](8,0,null,null,6,"td",[["class","text-center"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Z)),t["\u0275did"](10,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Q)),t["\u0275did"](12,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,G)),t["\u0275did"](14,16384,null,0,C.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](15,0,null,null,9,"td",[["nowrap",""]],null,null,null,null,null)),(l()(),t["\u0275eld"](16,0,null,null,2,"button",[["class","btn btn-raised btn-success btn-sm"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.$implicit.upload()&&t),t},null,null)),(l()(),t["\u0275eld"](17,0,null,null,0,"span",[["class","fa fa-upload"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Upload "])),(l()(),t["\u0275eld"](19,0,null,null,2,"button",[["class","btn btn-raised btn-warning btn-sm"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.$implicit.cancel()&&t),t},null,null)),(l()(),t["\u0275eld"](20,0,null,null,0,"span",[["class","fa fa-ban"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Cancel "])),(l()(),t["\u0275eld"](22,0,null,null,2,"button",[["class","btn btn-raised btn-danger btn-sm"],["type","button"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.$implicit.remove()&&t),t},null,null)),(l()(),t["\u0275eld"](23,0,null,null,0,"span",[["class","fa fa-trash"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Remove "]))],function(l,n){var e=n.component;l(n,5,0,e.uploader.isHTML5),l(n,7,0,e.uploader.isHTML5),l(n,10,0,n.context.$implicit.isSuccess),l(n,12,0,n.context.$implicit.isCancel),l(n,14,0,n.context.$implicit.isError)},function(l,n){l(n,3,0,null==n.context.$implicit?null:null==n.context.$implicit.file?null:n.context.$implicit.file.name),l(n,16,0,n.context.$implicit.isReady||n.context.$implicit.isUploading||n.context.$implicit.isSuccess),l(n,19,0,!n.context.$implicit.isUploading)})}function K(l){return t["\u0275vid"](2,[t["\u0275pid"](0,C.DecimalPipe,[t.LOCALE_ID]),(l()(),t["\u0275eld"](1,0,null,null,71,"div",[["class","row"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,70,"div",[["class","col-12"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,69,"section",[["id","file-upload"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,68,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,2,"div",[["class","card-header"]],null,null,null,null,null)),(l()(),t["\u0275eld"](6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Angular2 File Upload"])),(l()(),t["\u0275eld"](8,0,null,null,64,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,12,"div",[["class","row"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,0,null,null,5,"div",[["class","col-md-12 col-lg-6"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,0,null,null,4,"div",[["class","py-5 mb-3 text-center font-medium-5 text-uppercase grey my-drop-zone"],["ng2FileDrop",""]],null,[[null,"fileOver"],[null,"drop"],[null,"dragover"],[null,"dragleave"]],function(l,n,e){var o=!0,i=l.component;return"drop"===n&&(o=!1!==t["\u0275nov"](l,14).onDrop(e)&&o),"dragover"===n&&(o=!1!==t["\u0275nov"](l,14).onDragOver(e)&&o),"dragleave"===n&&(o=!1!==t["\u0275nov"](l,14).onDragLeave(e)&&o),"fileOver"===n&&(o=!1!==i.fileOverBase(e)&&o),o},null,null)),t["\u0275did"](12,278528,null,0,C.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](13,{"nv-file-over":0}),t["\u0275did"](14,16384,null,0,P.FileDropDirective,[t.ElementRef],{uploader:[0,"uploader"]},{fileOver:"fileOver"}),(l()(),t["\u0275ted"](-1,null,[" Base dropzone "])),(l()(),t["\u0275eld"](16,0,null,null,5,"div",[["class","col-md-12 col-lg-6"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,4,"div",[["class","py-5 mb-3 text-center font-medium-5 text-uppercase grey my-drop-zone"],["ng2FileDrop",""]],null,[[null,"fileOver"],[null,"drop"],[null,"dragover"],[null,"dragleave"]],function(l,n,e){var o=!0,i=l.component;return"drop"===n&&(o=!1!==t["\u0275nov"](l,20).onDrop(e)&&o),"dragover"===n&&(o=!1!==t["\u0275nov"](l,20).onDragOver(e)&&o),"dragleave"===n&&(o=!1!==t["\u0275nov"](l,20).onDragLeave(e)&&o),"fileOver"===n&&(o=!1!==i.fileOverAnother(e)&&o),o},null,null)),t["\u0275did"](18,278528,null,0,C.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](19,{"another-file-over-class":0}),t["\u0275did"](20,16384,null,0,P.FileDropDirective,[t.ElementRef],{uploader:[0,"uploader"]},{fileOver:"fileOver"}),(l()(),t["\u0275ted"](-1,null,[" Another dropzone "])),(l()(),t["\u0275eld"](22,0,null,null,50,"div",[["class","row"]],null,null,null,null,null)),(l()(),t["\u0275eld"](23,0,null,null,14,"div",[["class","col-md-3"]],null,null,null,null,null)),(l()(),t["\u0275eld"](24,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Select files"])),(l()(),t["\u0275eld"](26,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Multiple"])),(l()(),t["\u0275eld"](28,0,null,null,3,"label",[["class","custom-file mb-3"]],null,null,null,null,null)),(l()(),t["\u0275eld"](29,0,null,null,1,"input",[["class","custom-file-input"],["multiple",""],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],function(l,n,e){var o=!0;return"change"===n&&(o=!1!==t["\u0275nov"](l,30).onChange()&&o),o},null,null)),t["\u0275did"](30,16384,null,0,H.FileSelectDirective,[t.ElementRef],{uploader:[0,"uploader"]},null),(l()(),t["\u0275eld"](31,0,null,null,0,"span",[["class","custom-file-control"]],null,null,null,null,null)),(l()(),t["\u0275eld"](32,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Single"])),(l()(),t["\u0275eld"](34,0,null,null,3,"label",[["class","custom-file"]],null,null,null,null,null)),(l()(),t["\u0275eld"](35,0,null,null,1,"input",[["class","custom-file-input"],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],function(l,n,e){var o=!0;return"change"===n&&(o=!1!==t["\u0275nov"](l,36).onChange()&&o),o},null,null)),t["\u0275did"](36,16384,null,0,H.FileSelectDirective,[t.ElementRef],{uploader:[0,"uploader"]},null),(l()(),t["\u0275eld"](37,0,null,null,0,"span",[["class","custom-file-control"]],null,null,null,null,null)),(l()(),t["\u0275eld"](38,0,null,null,34,"div",[["class","col-md-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](39,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Upload queue"])),(l()(),t["\u0275eld"](41,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),t["\u0275ted"](42,null,["Queue length: ",""])),(l()(),t["\u0275eld"](43,0,null,null,15,"table",[["class","table"]],null,null,null,null,null)),(l()(),t["\u0275eld"](44,0,null,null,11,"thead",[],null,null,null,null,null)),(l()(),t["\u0275eld"](45,0,null,null,10,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](46,0,null,null,1,"th",[["width","50%"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Name"])),(l()(),t["\u0275eld"](48,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Size"])),(l()(),t["\u0275eld"](50,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Progress"])),(l()(),t["\u0275eld"](52,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Status"])),(l()(),t["\u0275eld"](54,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Actions"])),(l()(),t["\u0275eld"](56,0,null,null,2,"tbody",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,W)),t["\u0275did"](58,278528,null,0,C.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275eld"](59,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](60,0,null,null,3,"p",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Queue progress: "])),(l()(),t["\u0275eld"](62,0,null,null,1,"ngb-progressbar",[["type","primary"]],null,null,null,E.q,E.h)),t["\u0275did"](63,49152,null,0,B.O,[B.P],{type:[0,"type"],value:[1,"value"]},null),(l()(),t["\u0275eld"](64,0,null,null,2,"button",[["class","btn btn-raised btn-success"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.uploader.uploadAll()&&t),t},null,null)),(l()(),t["\u0275eld"](65,0,null,null,0,"span",[["class","fa fa-upload"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Upload all "])),(l()(),t["\u0275eld"](67,0,null,null,2,"button",[["class","btn btn-raised btn-warning"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.uploader.cancelAll()&&t),t},null,null)),(l()(),t["\u0275eld"](68,0,null,null,0,"span",[["class","fa fa-ban"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Cancel all "])),(l()(),t["\u0275eld"](70,0,null,null,2,"button",[["class","btn btn-raised btn-danger"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.uploader.clearQueue()&&t),t},null,null)),(l()(),t["\u0275eld"](71,0,null,null,0,"span",[["class","fa fa-trash"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Remove all "]))],function(l,n){var e=n.component,t=l(n,13,0,e.hasBaseDropZoneOver);l(n,12,0,"py-5 mb-3 text-center font-medium-5 text-uppercase grey my-drop-zone",t),l(n,14,0,e.uploader);var o=l(n,19,0,e.hasAnotherDropZoneOver);l(n,18,0,"py-5 mb-3 text-center font-medium-5 text-uppercase grey my-drop-zone",o),l(n,20,0,e.uploader),l(n,30,0,e.uploader),l(n,36,0,e.uploader),l(n,58,0,e.uploader.queue),l(n,63,0,"primary",e.uploader.progress)},function(l,n){var e=n.component;l(n,42,0,null==e.uploader?null:null==e.uploader.queue?null:e.uploader.queue.length),l(n,64,0,!e.uploader.getNotUploadedItems().length),l(n,67,0,!e.uploader.isUploading),l(n,70,0,!e.uploader.queue.length)})}function J(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,K,z)),t["\u0275did"](1,49152,null,0,j,[],null,null)],null,null)}var Y=t["\u0275ccf"]("ng-component",j,J,{},{},[]),X=e("g99b"),ll=e("gIcY"),nl=e("9b2d"),el=function(){function l(){this.subtitle="This is some text within a card block."}return l.prototype.ngAfterViewInit=function(){},l}(),tl=t["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ol(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,14,"div",[["class","row"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,13,"div",[["class","col-12"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,12,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,11,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Basic Editor"])),(l()(),t["\u0275eld"](6,0,null,null,3,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["quill editor with angular and TypeScript. ngx-quill is the new angular 2 and beyond implementation of ngQuill. "])),(l()(),t["\u0275eld"](8,0,null,null,1,"a",[["href","https://github.com/KillerCodeMonkey/ngx-quill"],["target","_blank"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Official website"])),(l()(),t["\u0275eld"](10,0,null,null,4,"quill-editor",[],null,null,null,X.b,X.a)),t["\u0275prd"](5120,null,ll.m,function(l){return[l]},[nl.a]),t["\u0275prd"](5120,null,ll.l,function(l){return[l]},[nl.a]),t["\u0275did"](13,4767744,null,0,nl.a,[t.ElementRef,C.DOCUMENT,t.PLATFORM_ID,t.Renderer2,t.NgZone],{style:[0,"style"]},null),t["\u0275pod"](14,{height:0})],function(l,n){var e=l(n,14,0,"200px");l(n,13,0,e)},null)}function il(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,ol,tl)),t["\u0275did"](1,4243456,null,0,el,[],null,null)],null,null)}var ul=t["\u0275ccf"]("ng-component",el,il,{},{},[]),sl=e("kf7m"),rl=e("KX97"),al=(e("iSfc"),function(){function l(l){var n=this;this.dragulaService=l,this.many=["The","possibilities","are","endless!"],this.many2=["Explore","them"],l.drag.subscribe(function(l){n.onDrag(l.slice(1))}),l.drop.subscribe(function(l){n.onDrop(l.slice(1))}),l.over.subscribe(function(l){n.onOver(l.slice(1))}),l.out.subscribe(function(l){n.onOut(l.slice(1))}),l.dropModel.subscribe(function(l){n.onDropModel(l.slice(1))}),l.removeModel.subscribe(function(l){n.onRemoveModel(l.slice(1))})}return l.prototype.hasClass=function(l,n){return new RegExp("(?:^|\\s+)"+n+"(?:\\s+|$)").test(l.className)},l.prototype.addClass=function(l,n){this.hasClass(l,n)||(l.className=l.className?[l.className,n].join(" "):n)},l.prototype.removeClass=function(l,n){this.hasClass(l,n)&&(l.className=l.className.replace(new RegExp("(?:^|\\s+)"+n+"(?:\\s+|$)","g"),""))},l.prototype.onDrag=function(l){this.removeClass(l[0],"ex-moved")},l.prototype.onDrop=function(l){this.addClass(l[0],"ex-moved")},l.prototype.onOver=function(l){this.addClass(l[0],"ex-over")},l.prototype.onOut=function(l){this.removeClass(l[0],"ex-over")},l.prototype.onDropModel=function(l){var n=l[0],e=l[1],t=l[2];console.log("onDropModel:"),console.log(n),console.log(e),console.log(t)},l.prototype.onRemoveModel=function(l){var n=l[0],e=l[1];console.log("onRemoveModel:"),console.log(n),console.log(e)},l}()),dl=t["\u0275crt"]({encapsulation:2,styles:[[".dragndrop{border:1px solid rgba(0,0,0,.1);padding:10px 15px}.dragndrop>div{border:1px dashed rgba(0,0,0,.1);padding:10px;cursor:move;margin:5px 0}.dragndrop>div.ex-moved{background:red;color:#fff}"]],data:{}});function pl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(l,n){l(n,0,0,n.context.$implicit)})}function cl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(l,n){l(n,0,0,n.context.$implicit)})}function hl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,72,"div",[["class","row"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,71,"div",[["class","col-12"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,24,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,23,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Basic Drag and Drop"])),(l()(),t["\u0275eld"](6,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Move stuff between these two containers. Note how the stuff gets inserted near the mouse pointer? Great stuff."])),(l()(),t["\u0275eld"](8,0,null,null,18,"div",[["class","d-flex"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,7,"div",[["class","dragndrop"]],null,null,null,null,null)),t["\u0275did"](10,606208,null,0,sl.DragulaDirective,[t.ElementRef,rl.DragulaService],{dragula:[0,"dragula"]},null),(l()(),t["\u0275eld"](11,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["You can move these elements between these two containers"])),(l()(),t["\u0275eld"](13,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Moving them anywhere else isn't quite possible"])),(l()(),t["\u0275eld"](15,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["There's also the possibility of moving elements around in the same container, changing their position"])),(l()(),t["\u0275eld"](17,0,null,null,9,"div",[["class","dragndrop"]],null,null,null,null,null)),t["\u0275did"](18,606208,null,0,sl.DragulaDirective,[t.ElementRef,rl.DragulaService],{dragula:[0,"dragula"]},null),(l()(),t["\u0275eld"](19,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This is the default use case. You only need to specify the containers you want to use"])),(l()(),t["\u0275eld"](21,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["More interactive use cases lie ahead"])),(l()(),t["\u0275eld"](23,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Make sure to check out the "])),(l()(),t["\u0275eld"](25,0,null,null,1,"a",[["href","https://github.com/bevacqua/dragula#readme"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["documentation on GitHub!"])),(l()(),t["\u0275eld"](27,0,null,null,21,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](28,0,null,null,20,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](29,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Sortable Example"])),(l()(),t["\u0275eld"](31,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Move stuff between these two containers. Note how the stuff gets inserted near the mouse pointer? Great stuff."])),(l()(),t["\u0275eld"](33,0,null,null,15,"div",[["class","dragndrop"]],null,null,null,null,null)),t["\u0275did"](34,606208,null,0,sl.DragulaDirective,[t.ElementRef,rl.DragulaService],{dragula:[0,"dragula"]},null),(l()(),t["\u0275eld"](35,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Banana Boat"])),(l()(),t["\u0275eld"](37,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Orange Juice"])),(l()(),t["\u0275eld"](39,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Cuban Cigar"])),(l()(),t["\u0275eld"](41,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Terrible Comedian"])),(l()(),t["\u0275eld"](43,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Anxious Cab Driver"])),(l()(),t["\u0275eld"](45,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Thriving Venture"])),(l()(),t["\u0275eld"](47,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Calm Clam"])),(l()(),t["\u0275eld"](49,0,null,null,23,"div",[["class","card"]],null,null,null,null,null)),(l()(),t["\u0275eld"](50,0,null,null,22,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](51,0,null,null,1,"h4",[["class","card-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["With output Example"])),(l()(),t["\u0275eld"](53,0,null,null,1,"h6",[["class","card-subtitle"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Move stuff between these two containers. Note how the stuff gets inserted near the mouse pointer? Great stuff."])),(l()(),t["\u0275eld"](55,0,null,null,8,"div",[["class","d-flex"]],null,null,null,null,null)),(l()(),t["\u0275eld"](56,0,null,null,3,"div",[["class","dragndrop"]],null,null,null,null,null)),t["\u0275did"](57,606208,null,0,sl.DragulaDirective,[t.ElementRef,rl.DragulaService],{dragula:[0,"dragula"],dragulaModel:[1,"dragulaModel"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,pl)),t["\u0275did"](59,278528,null,0,C.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275eld"](60,0,null,null,3,"div",[["class","dragndrop"]],null,null,null,null,null)),t["\u0275did"](61,606208,null,0,sl.DragulaDirective,[t.ElementRef,rl.DragulaService],{dragula:[0,"dragula"],dragulaModel:[1,"dragulaModel"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,cl)),t["\u0275did"](63,278528,null,0,C.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275eld"](64,0,null,null,8,"div",[["class","d-flex m-t-30"]],null,null,null,null,null)),(l()(),t["\u0275eld"](65,0,null,null,3,"div",[["class","dragndrop"]],null,null,null,null,null)),(l()(),t["\u0275eld"](66,0,null,null,2,"pre",[],null,null,null,null,null)),(l()(),t["\u0275ted"](67,null,["",""])),t["\u0275pid"](0,C.JsonPipe,[]),(l()(),t["\u0275eld"](69,0,null,null,3,"div",[["class","dragndrop"]],null,null,null,null,null)),(l()(),t["\u0275eld"](70,0,null,null,2,"pre",[],null,null,null,null,null)),(l()(),t["\u0275ted"](71,null,["",""])),t["\u0275pid"](0,C.JsonPipe,[])],function(l,n){var e=n.component;l(n,10,0,"first-bag"),l(n,18,0,"first-bag"),l(n,34,0,"third-bag"),l(n,57,0,"another-bag",e.many),l(n,59,0,e.many),l(n,61,0,"another-bag",e.many2),l(n,63,0,e.many2)},function(l,n){var e=n.component;l(n,67,0,t["\u0275unv"](n,67,0,t["\u0275nov"](n,68).transform(e.many))),l(n,71,0,t["\u0275unv"](n,71,0,t["\u0275nov"](n,72).transform(e.many2)))})}function fl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,hl,dl)),t["\u0275did"](1,49152,null,0,al,[rl.DragulaService],null,null)],null,null)}var ml=t["\u0275ccf"]("ng-component",al,fl,{},{},[]),vl=e("ZYjt"),gl=e("ZYCi"),yl=e("LeXK"),bl=e("Ttb/"),_l=e("S6T7");e.d(n,"ExtraComponentModuleNgFactory",function(){return Cl});var Cl=t["\u0275cmf"](o,[],function(l){return t["\u0275mod"]([t["\u0275mpd"](512,t.ComponentFactoryResolver,t["\u0275CodegenComponentFactoryResolver"],[[8,[i.a,A,E.a,E.b,E.y,E.u,E.v,E.w,E.x,N,Y,ul,ml]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["\u0275mpd"](4608,C.NgLocalization,C.NgLocaleLocalization,[t.LOCALE_ID,[2,C["\u0275angular_packages_common_common_a"]]]),t["\u0275mpd"](4608,ll.B,ll.B,[]),t["\u0275mpd"](4608,ll.e,ll.e,[]),t["\u0275mpd"](4608,B.B,B.B,[t.ComponentFactoryResolver,t.Injector,B.pb,B.C]),t["\u0275mpd"](4608,rl.DragulaService,rl.DragulaService,[]),t["\u0275mpd"](4608,c,c,[]),t["\u0275mpd"](4608,h,h,[c,t.ComponentFactoryResolver,t.ApplicationRef]),t["\u0275mpd"](4608,g,g,[v,h,t.Injector,vl.DomSanitizer,t.NgZone]),t["\u0275mpd"](1073742336,C.CommonModule,C.CommonModule,[]),t["\u0275mpd"](1073742336,gl.s,gl.s,[[2,gl.y],[2,gl.o]]),t["\u0275mpd"](1073742336,ll.y,ll.y,[]),t["\u0275mpd"](1073742336,ll.j,ll.j,[]),t["\u0275mpd"](1073742336,ll.u,ll.u,[]),t["\u0275mpd"](1073742336,_,_,[[3,_]]),t["\u0275mpd"](1073742336,yl.a,yl.a,[]),t["\u0275mpd"](1073742336,B.d,B.d,[]),t["\u0275mpd"](1073742336,B.g,B.g,[]),t["\u0275mpd"](1073742336,B.h,B.h,[]),t["\u0275mpd"](1073742336,B.l,B.l,[]),t["\u0275mpd"](1073742336,B.o,B.o,[]),t["\u0275mpd"](1073742336,B.v,B.v,[]),t["\u0275mpd"](1073742336,B.y,B.y,[]),t["\u0275mpd"](1073742336,B.D,B.D,[]),t["\u0275mpd"](1073742336,B.H,B.H,[]),t["\u0275mpd"](1073742336,B.N,B.N,[]),t["\u0275mpd"](1073742336,B.Q,B.Q,[]),t["\u0275mpd"](1073742336,B.U,B.U,[]),t["\u0275mpd"](1073742336,B.bb,B.bb,[]),t["\u0275mpd"](1073742336,B.fb,B.fb,[]),t["\u0275mpd"](1073742336,B.ib,B.ib,[]),t["\u0275mpd"](1073742336,B.lb,B.lb,[]),t["\u0275mpd"](1073742336,B.E,B.E,[]),t["\u0275mpd"](1073742336,bl.DragulaModule,bl.DragulaModule,[]),t["\u0275mpd"](1073742336,_l.FileUploadModule,_l.FileUploadModule,[]),t["\u0275mpd"](1073742336,o,o,[]),t["\u0275mpd"](1024,gl.m,function(){return[[{path:"",children:[{path:"toastr",component:S,data:{title:"Toastr Notification",urls:[{title:"Dashboard",url:"/dashboard"},{title:"Toastr Page"}]}},{path:"upload",component:j,data:{title:"Upload Page",urls:[{title:"Dashboard",url:"/dashboard"},{title:"Upload Page"}]}},{path:"editor",component:el,data:{title:"Editor Page",urls:[{title:"Dashboard",url:"/dashboard"},{title:"Editor Page"}]}},{path:"dragndrop",component:al,data:{title:"DragComponent Page",urls:[{title:"Dashboard",url:"/dashboard"},{title:"DragComponent Page"}]}}]}]]},[]),t["\u0275mpd"](256,v,{config:{},defaults:b},[])])})},YNBZ:function(l,n,e){"use strict";function t(l){for(var e in l)n.hasOwnProperty(e)||(n[e]=l[e])}t(e("5xlC")),t(e("pKD1")),t(e("UpIn")),t(e("b6v0")),t(e("oQam"));var o=e("S6T7");n.FileUploadModule=o.FileUploadModule},b6v0:function(l,n,e){"use strict";var t=e("oQam");n.FileItem=function(){function l(l,n,e){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=l,this.some=n,this.options=e,this.file=new t.FileLikeObject(n),this._file=n,l.options&&(this.method=l.options.method||"POST",this.alias=l.options.itemAlias||"file"),this.url=l.options.url}return l.prototype.upload=function(){try{this.uploader.uploadItem(this)}catch(l){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}},l.prototype.cancel=function(){this.uploader.cancelItem(this)},l.prototype.remove=function(){this.uploader.removeFromQueue(this)},l.prototype.onBeforeUpload=function(){},l.prototype.onBuildForm=function(l){return{form:l}},l.prototype.onProgress=function(l){return{progress:l}},l.prototype.onSuccess=function(l,n,e){return{response:l,status:n,headers:e}},l.prototype.onError=function(l,n,e){return{response:l,status:n,headers:e}},l.prototype.onCancel=function(l,n,e){return{response:l,status:n,headers:e}},l.prototype.onComplete=function(l,n,e){return{response:l,status:n,headers:e}},l.prototype._onBeforeUpload=function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()},l.prototype._onBuildForm=function(l){this.onBuildForm(l)},l.prototype._onProgress=function(l){this.progress=l,this.onProgress(l)},l.prototype._onSuccess=function(l,n,e){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(l,n,e)},l.prototype._onError=function(l,n,e){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(l,n,e)},l.prototype._onCancel=function(l,n,e){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(l,n,e)},l.prototype._onComplete=function(l,n,e){this.onComplete(l,n,e),this.uploader.options.removeAfterUpload&&this.remove()},l.prototype._prepareToUploading=function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0},l}()},iSfc:function(l,n,e){"use strict";var t=e("zB0h");n.dragula=t.dragula;var o=e("kf7m");n.DragulaDirective=o.DragulaDirective;var i=e("KX97");n.DragulaService=i.DragulaService;var u=e("Ttb/");n.DragulaModule=u.DragulaModule},oQam:function(l,n,e){"use strict";n.FileLikeObject=function(){function l(l){this.rawFile=l;var n,e=(n=l)&&(n.nodeName||n.prop&&n.attr&&n.find)?l.value:l;this["_createFrom"+("string"==typeof e?"FakePath":"Object")](e)}return l.prototype._createFromFakePath=function(l){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+l.slice(l.lastIndexOf(".")+1).toLowerCase(),this.name=l.slice(l.lastIndexOf("/")+l.lastIndexOf("\\")+2)},l.prototype._createFromObject=function(l){this.size=l.size,this.type=l.type,this.name=l.name},l}()},pKD1:function(l,n,e){var t=e("mrSG").__decorate,o=e("mrSG").__metadata,i=e("CcnG"),u=e("UpIn"),s=function(){function l(l){this.fileOver=new i.EventEmitter,this.onFileDrop=new i.EventEmitter,this.element=l}return l.prototype.getOptions=function(){return this.uploader.options},l.prototype.getFilters=function(){return{}},l.prototype.onDrop=function(l){var n=this._getTransfer(l);if(n){var e=this.getOptions(),t=this.getFilters();this._preventAndStop(l),this.uploader.addToQueue(n.files,e,t),this.fileOver.emit(!1),this.onFileDrop.emit(n.files)}},l.prototype.onDragOver=function(l){var n=this._getTransfer(l);this._haveFiles(n.types)&&(n.dropEffect="copy",this._preventAndStop(l),this.fileOver.emit(!0))},l.prototype.onDragLeave=function(l){this.element&&l.currentTarget===this.element[0]||(this._preventAndStop(l),this.fileOver.emit(!1))},l.prototype._getTransfer=function(l){return l.dataTransfer?l.dataTransfer:l.originalEvent.dataTransfer},l.prototype._preventAndStop=function(l){l.preventDefault(),l.stopPropagation()},l.prototype._haveFiles=function(l){return!!l&&(l.indexOf?-1!==l.indexOf("Files"):!!l.contains&&l.contains("Files"))},l}();t([i.Input(),o("design:type",u.FileUploader)],s.prototype,"uploader",void 0),t([i.Output(),o("design:type",i.EventEmitter)],s.prototype,"fileOver",void 0),t([i.Output(),o("design:type",i.EventEmitter)],s.prototype,"onFileDrop",void 0),t([i.HostListener("drop",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],s.prototype,"onDrop",null),t([i.HostListener("dragover",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],s.prototype,"onDragOver",null),t([i.HostListener("dragleave",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Object)],s.prototype,"onDragLeave",null),s=t([i.Directive({selector:"[ng2FileDrop]"})],s),n.FileDropDirective=s}}]);