diff --git a/.angular-cli.json b/.angular-cli.json
index a7992cdf..827c88ae 100644
--- a/.angular-cli.json
+++ b/.angular-cli.json
@@ -57,4 +57,4 @@
"styleExt": "scss",
"component": {}
}
-}
\ No newline at end of file
+}
diff --git a/.gitignore b/.gitignore
index fddd3f36..cef73053 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
+/dist
/tmp
/out-tsc
/.ng_build
diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt
index e8315226..b7c2e1d0 100644
--- a/docs/3rdpartylicenses.txt
+++ b/docs/3rdpartylicenses.txt
@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-webpack@3.7.1
+webpack@3.8.1
MIT
Copyright JS Foundation and other contributors
@@ -67,14 +67,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-@angular/core@4.4.6
-MIT
-MIT
-
-@angular/common@4.4.6
-MIT
-MIT
-
-@angular/platform-browser@4.4.6
+@angular/core@5.0.0
MIT
MIT
\ No newline at end of file
diff --git a/docs/favicon.ico b/docs/favicon.ico
index 3956bf3b..8081c7ce 100644
Binary files a/docs/favicon.ico and b/docs/favicon.ico differ
diff --git a/docs/index.html b/docs/index.html
index 0a4f364b..fed6354b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1 +1 @@
-
NgxEditor
\ No newline at end of file
+NgxEditor
\ No newline at end of file
diff --git a/docs/inline.2a5a49465db24ea986c5.bundle.js b/docs/inline.2a5a49465db24ea986c5.bundle.js
new file mode 100644
index 00000000..fe73f68d
--- /dev/null
+++ b/docs/inline.2a5a49465db24ea986c5.bundle.js
@@ -0,0 +1 @@
+!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var a,i,f,l=0,s=[];l1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof l&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof i.a?e[0]:o(n)(new u.a(e,r))}},"3iOE":function(e,t,n){"use strict";t.a=function(e){return e&&"function"==typeof e.schedule}},"6Xbx":function(e,t,n){"use strict";t.b=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},n.d(t,"a",function(){return o});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n ");else if("object"==typeof t){var r=[];for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];r.push(o+":"+("string"==typeof i?JSON.stringify(i):s(i)))}n="{"+r.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+e.replace(eo,"\n ")}function b(e,t){return new Error(v(e,t))}function m(e){return e[ro]}function _(e){return e[oo]}function w(e){return e[io]||x}function x(e){for(var t=[],n=1;n-1&&e.splice(n,1)}function Q(e){return e.reduce(function(e,t){var n=Array.isArray(t)?Q(t):t;return e.concat(n)},[])}function G(e,t,n){e.childNodes.forEach(function(e){e instanceof Wo&&(t(e)&&n.push(e),G(e,t,n))})}function W(e,t,n){e instanceof Wo&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Wo&&W(e,t,n)})}function K(e){return Ko.get(e)||null}function Y(e){Ko.set(e.nativeNode,e)}function J(e){Ko.delete(e.nativeNode)}function X(e,t){var n=$(e),r=$(t);return n&&r?ee(e,t,X):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||l(e,t)}function $(e){return!!ne(e)&&(Array.isArray(e)||!(e instanceof Map)&&i()in e)}function ee(e,t,n){for(var r=e[i()](),o=t[i()]();;){var u=r.next(),l=o.next();if(u.done&&l.done)return!0;if(u.done||l.done)return!1;if(!n(u.value,l.value))return!1}}function te(e,t){if(Array.isArray(e))for(var n=0;n0&&et(e,t,0,n)&&(p=!0),f>1&&et(e,t,1,r)&&(p=!0),f>2&&et(e,t,2,o)&&(p=!0),f>3&&et(e,t,3,i)&&(p=!0),f>4&&et(e,t,4,u)&&(p=!0),f>5&&et(e,t,5,l)&&(p=!0),f>6&&et(e,t,6,s)&&(p=!0),f>7&&et(e,t,7,a)&&(p=!0),f>8&&et(e,t,8,c)&&(p=!0),f>9&&et(e,t,9,d)&&(p=!0),p}function $e(e,t,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function ht(e,t){var n=Se(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),gt(t.parent.def,t.parentNodeDef)}}function gt(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}function yt(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,xt(n,t),vi.dirtyParentQueries(r),_t(r),r}function vt(e){if(16&e.state){var t=Se(e);if(t){var n=t.template._projectedViews;n&&(xt(n,n.indexOf(e)),vi.dirtyParentQueries(e))}}}function bt(e,t,n){var r=e.viewContainer._embeddedViews,o=r[t];return xt(r,t),null==n&&(n=r.length),wt(r,n,o),vi.dirtyParentQueries(o),_t(o),mt(e,n>0?r[n-1]:null,o),o}function mt(e,t,n){var r=t?Ae(t,t.def.lastRenderRootNode):e.renderElement;Fe(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function _t(e){Fe(e,3,null,null,void 0)}function wt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xt(e,t){t>=e.length-1?e.pop():e.splice(t,1)}function Ct(e,t,n,r,o,i){return new Ii(e,t,n,r,o,i)}function Tt(e,t,n){return new Pi(e,t,n)}function Et(e){return new Ni(e)}function kt(e,t){return new Ri(e,t)}function Ot(e,t){return new Mi(e,t)}function St(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=ae(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return se(e,n.nodeIndex).renderText;if(20240&n.flags)return ce(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function It(e){return new ji(e.renderer)}function At(e,t,n,r){return new Di(e,t,n,r)}function Pt(e,t,n,r,o,i,u,l){var s=[];if(u)for(var a in u){var c=u[a];s[c[0]]={flags:8,name:a,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var d=[];if(l)for(var f in l)d.push({type:1,propName:f,target:null,eventName:l[f]});return t|=16384,Rt(e,t,n,r,o,o,i,s,d)}function Nt(e,t,n,r,o){return Rt(-1,e,t,0,n,r,o)}function Rt(e,t,n,r,o,i,u,l,s){var a=je(n),d=a.matchedQueries,f=a.references,p=a.matchedQueryIds;s||(s=[]),l||(l=[]),i=c(i);var h=De(u);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:Qe(l),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function Mt(e,t){return Ft(e,t)}function jt(e,t){for(var n=e;n.parent&&!Ne(n);)n=n.parent;return zt(n.parent,Ie(n),!0,t.provider.value,t.provider.deps)}function Dt(e,t){var n=zt(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0&&xe(e,t,0,n)&&(h=!0,g=Zt(e,f,t,0,n,g)),y>1&&xe(e,t,1,r)&&(h=!0,g=Zt(e,f,t,1,r,g)),y>2&&xe(e,t,2,o)&&(h=!0,g=Zt(e,f,t,2,o,g)),y>3&&xe(e,t,3,i)&&(h=!0,g=Zt(e,f,t,3,i,g)),y>4&&xe(e,t,4,u)&&(h=!0,g=Zt(e,f,t,4,u,g)),y>5&&xe(e,t,5,l)&&(h=!0,g=Zt(e,f,t,5,l,g)),y>6&&xe(e,t,6,s)&&(h=!0,g=Zt(e,f,t,6,s,g)),y>7&&xe(e,t,7,a)&&(h=!0,g=Zt(e,f,t,7,a,g)),y>8&&xe(e,t,8,c)&&(h=!0,g=Zt(e,f,t,8,c,g)),y>9&&xe(e,t,9,d)&&(h=!0,g=Zt(e,f,t,9,d,g)),g&&p.ngOnChanges(g),2&e.state&&65536&t.flags&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}function Ht(e,t,n){for(var r=ce(e,t.nodeIndex),o=r.instance,i=!1,u=void 0,l=0;l0,r=t.provider;switch(201347067&t.flags){case 512:return zt(e,t.parent,n,r.value,r.deps);case 1024:return Ut(e,t.parent,n,r.value,r.deps);case 2048:return Bt(e,t.parent,n,r.deps[0]);case 256:return r.value}}function zt(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Bt(e,t,n,o[0]));case 2:return new r(Bt(e,t,n,o[0]),Bt(e,t,n,o[1]));case 3:return new r(Bt(e,t,n,o[0]),Bt(e,t,n,o[1]),Bt(e,t,n,o[2]));default:for(var u=new Array(i),l=0;l0&&Ce(e,t,0,n)&&(p=!0),h>1&&Ce(e,t,1,r)&&(p=!0),h>2&&Ce(e,t,2,o)&&(p=!0),h>3&&Ce(e,t,3,i)&&(p=!0),h>4&&Ce(e,t,4,u)&&(p=!0),h>5&&Ce(e,t,5,l)&&(p=!0),h>6&&Ce(e,t,6,s)&&(p=!0),h>7&&Ce(e,t,7,a)&&(p=!0),h>8&&Ce(e,t,8,c)&&(p=!0),h>9&&Ce(e,t,9,d)&&(p=!0),p){var g=de(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(f.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=u),h>5&&(y[5]=l),h>6&&(y[6]=s),h>7&&(y[7]=a),h>8&&(y[8]=c),h>9&&(y[9]=d);break;case 64:y={},h>0&&(y[f[0].name]=n),h>1&&(y[f[1].name]=r),h>2&&(y[f[2].name]=o),h>3&&(y[f[3].name]=i),h>4&&(y[f[4].name]=u),h>5&&(y[f[5].name]=l),h>6&&(y[f[6].name]=s),h>7&&(y[f[7].name]=a),h>8&&(y[f[8].name]=c),h>9&&(y[f[9].name]=d);break;case 128:var v=n;switch(h){case 1:y=v.transform(n);break;case 2:y=v.transform(r);break;case 3:y=v.transform(r,o);break;case 4:y=v.transform(r,o,i);break;case 5:y=v.transform(r,o,i,u);break;case 6:y=v.transform(r,o,i,u,l);break;case 7:y=v.transform(r,o,i,u,l,s);break;case 8:y=v.transform(r,o,i,u,l,s,a);break;case 9:y=v.transform(r,o,i,u,l,s,a,c);break;case 10:y=v.transform(r,o,i,u,l,s,a,c,d)}}g.value=y}return p}function on(e,t,n){for(var r=t.bindings,o=!1,i=0;i0&&Ce(e,t,0,n)&&(f=!0),h>1&&Ce(e,t,1,r)&&(f=!0),h>2&&Ce(e,t,2,o)&&(f=!0),h>3&&Ce(e,t,3,i)&&(f=!0),h>4&&Ce(e,t,4,u)&&(f=!0),h>5&&Ce(e,t,5,l)&&(f=!0),h>6&&Ce(e,t,6,s)&&(f=!0),h>7&&Ce(e,t,7,a)&&(f=!0),h>8&&Ce(e,t,8,c)&&(f=!0),h>9&&Ce(e,t,9,d)&&(f=!0),f){var g=t.text.prefix;h>0&&(g+=cn(n,p[0])),h>1&&(g+=cn(r,p[1])),h>2&&(g+=cn(o,p[2])),h>3&&(g+=cn(i,p[3])),h>4&&(g+=cn(u,p[4])),h>5&&(g+=cn(l,p[5])),h>6&&(g+=cn(s,p[6])),h>7&&(g+=cn(a,p[7])),h>8&&(g+=cn(c,p[8])),h>9&&(g+=cn(d,p[9]));var y=se(e,t.nodeIndex).renderText;e.renderer.setValue(y,g)}return f}function an(e,t,n){for(var r=t.bindings,o=!1,i=0;i0)a=g,fn(g)||(c=g);else for(;a&&h===a.nodeIndex+a.childCount;){var b=a.parent;b&&(b.childFlags|=a.childFlags,b.childMatchedQueries|=a.childMatchedQueries),c=(a=b)&&fn(a)?a.renderParent:a}}return{factory:null,nodeFlags:u,rootNodeFlags:l,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||bi,updateRenderer:r||bi,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}}function fn(e){return 0!=(1&e.flags)&&null===e.element.name}function pn(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function hn(e,t,n,r){var o=vn(e.root,e.renderer,e,t,n);return bn(o,e.component,r),mn(o),o}function gn(e,t,n){var r=vn(e,e.renderer,null,null,t);return bn(r,n,n),mn(r),r}function yn(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,vn(e.root,o,e,t.element.componentProvider,n)}function vn(e,t,n,r,o){var i=new Array(o.nodes.length),u=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:u}}function bn(e,t,n){e.component=t,e.context=n}function mn(e){var t;Ne(e)&&(t=ae(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&Te(e,t,0,n),f>1&&Te(e,t,1,r),f>2&&Te(e,t,2,o),f>3&&Te(e,t,3,i),f>4&&Te(e,t,4,u),f>5&&Te(e,t,5,l),f>6&&Te(e,t,6,s),f>7&&Te(e,t,7,a),f>8&&Te(e,t,8,c),f>9&&Te(e,t,9,d)}function Sn(e,t,n){for(var r=0;r0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+s(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}(),Ho=function(){function e(e,t,n,r,o,i){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=V(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var s=new Er.a(function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){e.next(l._stable),e.complete()})}),a=new Er.a(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){So.assertNotInAngularZone(),u(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){So.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(kr.a)(s,Or.a.call(a))}return e.prototype.bootstrap=function(e,t){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=e instanceof vo?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(r.componentType);var o=r instanceof xo?null:this._injector.get(Co),i=r.create(qr.NULL,[],t||r.selector,o);i.onDestroy(function(){n._unloadComponent(i)});var u=i.injector.get(Po,null);return u&&i.injector.get(No).registerApplication(i.location.nativeElement,u),this._loadComponent(i),V()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,ko(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Z(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(po,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Z(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Eo("ApplicationRef#tick()"),e}(),Fo=function(){},zo=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Uo=function(e){this.nativeElement=e},Bo=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Oo}return Object.defineProperty(e.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[i()]=function(){return this._results[i()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=Q(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),qo=function(){},Zo=function(){},Qo=function(e,t){this.name=e,this.callback=t},Go=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof Wo?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),Wo=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(Tr.b)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n=this,r=this.childNodes.indexOf(e);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=n}));var o},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return G(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return W(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(Go),Ko=new Map,Yo=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e}(),Jo=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(),Xo=function(){function e(){}return e.prototype.supports=function(e){return $(e)},e.prototype.create=function(e){return new ei(e)},e}(),$o=function(e,t){return t},ei=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||$o}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex=0;e--){var t=yt(this._data,e);vi.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Ni(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof xo||(o=i.get(Co));var u=e.create(i,r,void 0,o);return this.insert(u.hostView,t),u},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e;return pt(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(e._view);return bt(this._data,n,t),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=yt(this._data,e);t&&vi.destroyView(t)},e.prototype.detach=function(e){var t=yt(this._data,e);return t?new Ni(t):null},e}(),Ni=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return He(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Ee(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin(),vi.checkAndUpdateView(this._view),e.end&&e.end()},e.prototype.checkNoChanges=function(){vi.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),vi.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,_t(this._view),vi.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}(),Ri=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(Tr.b)(t,e),t.prototype.createEmbeddedView=function(e){return new Ni(vi.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Uo(ae(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(qo),Mi=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=qr.THROW_IF_NOT_FOUND),vi.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:me(e)},t)},e}(),ji=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Ze(t),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n1?new t(e,r):1===o?new i(e[0],r):new u(r)},t.dispatch=function(e){var t=e.array,n=e.index,r=e.subscriber;n>=e.count?r.complete():(r.next(t[n]),r.closed||(e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{array:n,index:0,count:r,subscriber:e});for(var i=0;i1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(c.a),h=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(l.b)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new d.a).add(this.source.subscribe(new y(this.getSubject(),this))),e.closed?(this._connection=null,e=d.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return r()(this)},t}(a.a).prototype,g={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:h._subscribe},_isComplete:{value:h._isComplete,writable:!0},getSubject:{value:h.getSubject},connect:{value:h.connect},refCount:{value:h.refCount}},y=function(e){function t(t,n){e.call(this,t),this.connectable=n}return Object(l.b)(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(s.b),v=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(e);return o.add(t.subscribe(r)),o},e}();t.a=function(){return u()(this)}},V7AE:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("xIGM").a.Symbol,o="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber"},YuZA:function(e,t){function n(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="YuZA"},cDNt:function(e,t,n){"use strict";function r(e){return o(e)[17]}function o(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Ne[t];if(n)return n;var r=t.split("-")[0];if(n=Ne[r])return n;if("en"===r)return Pe;throw new Error('Missing locale data for the locale "'+e+'".')}function i(e,t){t=encodeURIComponent(t);for(var n=0,r=e.split(";");n/g,">")}function O(e){Dt.attributeMap(e).forEach(function(t,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Dt.removeAttribute(e,n)});for(var t=0,n=Dt.childNodesAsList(e);t0&&e.split("&").forEach(function(e){var r=e.indexOf("="),o=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],i=o[0],u=o[1],l=n.get(i)||[];l.push(u),n.set(i,l)}),n}function H(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function F(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function z(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function U(e){return"undefined"!=typeof Blob&&e instanceof Blob}function B(e){return"undefined"!=typeof FormData&&e instanceof FormData}function q(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}function Z(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}function Q(e,t){return void 0===t&&(t=[]),t?t.reduceRight(function(e,t){return new Sn(e,t)},e):e}function G(e,t){return!!e&&(0===t.length||t.find(function(t){return t.includes(e)}))}function W(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,9,"div",[["class","ngx-editor-grippie"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,6,":svg:svg",[[":xmlns:xlink","http://www.w3.org/1999/xlink"],["height","5"],["style","isolation:isolate"],["viewBox","651.6 235 26 5"],["width","26"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(4,0,null,null,3,":svg:g",[["id","sprites"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(6,0,null,null,0,":svg:path",[["d"," M 651.6 235 L 653.6 235 L 653.6 237 L 651.6 237 M 654.6 238 L 656.6 238 L 656.6 240 L 654.6 240 M 660.6 238 L 662.6 238 L 662.6 240 L 660.6 240 M 666.6 238 L 668.6 238 L 668.6 240 L 666.6 240 M 672.6 238 L 674.6 238 L 674.6 240 L 672.6 240 M 657.6 235 L 659.6 235 L 659.6 237 L 657.6 237 M 663.6 235 L 665.6 235 L 665.6 237 L 663.6 237 M 669.6 235 L 671.6 235 L 671.6 237 L 669.6 237 M 675.6 235 L 677.6 235 L 677.6 237 L 675.6 237"],["fill","rgb(147,153,159)"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n"]))],null,null)}function K(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Bold"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("bold")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-bold"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function Y(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Italic"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("italic")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-italic"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function J(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Underline"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("underline")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-underline"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function X(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Strikethrough"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("strikeThrough")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-strikethrough"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function $(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Superscript"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("superscript")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-superscript"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ee(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Subscript"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("subscript")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-subscript"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function te(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Justify Left"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("justifyLeft")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-left"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ne(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Justify Center"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("justifyCenter")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-center"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function re(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Justify Right"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("justifyRight")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-right"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function oe(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Justify"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("justifyFull")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-justify"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ie(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Indent"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("indent")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-indent"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ue(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Outdent"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("outdent")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-outdent"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function le(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Cut"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("cut")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-scissors"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function se(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Copy"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("copy")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-files-o"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ae(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Delete"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("delete")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-trash"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ce(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Clear Formatting"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("removeFormat")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-eraser"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function de(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Undo"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("undo")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-undo"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function fe(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Redo"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("redo")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-repeat"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function pe(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Paragraph"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("insertParagraph")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-paragraph"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function he(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Blockquote"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.blockQuote()&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-quote-left"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ge(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Remove Blockquote"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeQuote()&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-quote-right"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ye(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Horizontal Line"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("insertHorizontalRule")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-minus"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function ve(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Unodered List"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("insertUnorderedList")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-list-ul"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function be(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Ordered List"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("insertOrderedList")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-list-ol"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function me(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Insert/Edit Link"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.createLink()&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-link"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function _e(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Unlink"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.executeCommand("unlink")&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chain-broken"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function we(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,3,"button",[["class","ngx-editor-button"],["title","Insert Image"]],[[8,"disabled",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.insertImage()&&r),r},null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-picture-o"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,0,0,!t.component.enableToolbar)})}function xe(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,1,"div",[["class","ngx-editor-message"]],null,[[null,"dblclick"]],function(e,t,n){var r=!0;return"dblclick"===t&&(r=!1!==e.component.clearMessage()&&r),r},null,null)),(e()(),Se._8(1,null,["\n ","\n "]))],null,function(e,t){e(t,1,0,t.component.ngxMessage)})}function Ce(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,1,"app-ngx-grippie",[],null,[["document","mousemove"],["document","mouseup"],[null,"mousedown"]],function(e,t,n){var r=!0;return"document:mousemove"===t&&(r=!1!==Se._4(e,1).onMouseMove(n)&&r),"document:mouseup"===t&&(r=!1!==Se._4(e,1).onMouseUp(n)&&r),"mousedown"===t&&(r=!1!==Se._4(e,1).onResize(n)&&r),r},W,Kn)),Se.S(1,49152,null,0,Qn,[Zn],null,null)],null,null)}function Te(e){return Se._9(0,[Se._6(402653184,1,{textArea:0}),(e()(),Se.T(1,0,null,null,111,"div",[["class","ngx-editor"],["id","ngxEditor"]],[[4,"width",null],[4,"minWidth",null]],null,null,null,null)),(e()(),Se._8(-1,null,["\n\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(4,0,null,null,97,"div",[["class","ngx-toolbar"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(6,0,null,null,19,"div",[["class","ngx-toolbar-set"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,K)),Se.S(9,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,Y)),Se.S(12,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,J)),Se.S(15,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,X)),Se.S(18,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,$)),Se.S(21,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ee)),Se.S(24,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(27,0,null,null,19,"div",[["class","ngx-toolbar-set"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,te)),Se.S(30,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ne)),Se.S(33,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,re)),Se.S(36,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,oe)),Se.S(39,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ie)),Se.S(42,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ue)),Se.S(45,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(48,0,null,null,19,"div",[["class","ngx-toolbar-set"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,le)),Se.S(51,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,se)),Se.S(54,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ae)),Se.S(57,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ce)),Se.S(60,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,de)),Se.S(63,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,fe)),Se.S(66,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(69,0,null,null,19,"div",[["class","ngx-toolbar-set"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,pe)),Se.S(72,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,he)),Se.S(75,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ge)),Se.S(78,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ye)),Se.S(81,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,ve)),Se.S(84,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,be)),Se.S(87,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(90,0,null,null,10,"div",[["class","ngx-toolbar-set"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,me)),Se.S(93,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,_e)),Se.S(96,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,we)),Se.S(99,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(104,0,[[1,0],["ngxTextArea",1]],null,0,"div",[["class","ngx-editor-textarea"]],[[1,"contenteditable",0],[1,"placeholder",0],[1,"translate",0],[1,"spellcheck",0],[4,"height",null],[4,"minHeight",null],[4,"resize",null]],[[null,"input"],[null,"focus"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(o.html=n.target.innerHTML,r=!1!==o.htmlContentChange(n.target.innerHTML)&&r),"focus"===t&&(r=!1!==o.onFocus()&&r),r},null,null)),(e()(),Se._8(-1,null,["\n\n "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.O(16777216,null,null,1,null,xe)),Se.S(108,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n\n "])),(e()(),Se.O(16777216,null,null,1,null,Ce)),Se.S(111,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n"]))],function(e,t){var n=t.component;e(t,9,0,n.canEnableToolbarOptions("bold")),e(t,12,0,n.canEnableToolbarOptions("italic")),e(t,15,0,n.canEnableToolbarOptions("underline")),e(t,18,0,n.canEnableToolbarOptions("strikeThrough")),e(t,21,0,n.canEnableToolbarOptions("superscript")),e(t,24,0,n.canEnableToolbarOptions("subscript")),e(t,30,0,n.canEnableToolbarOptions("justifyLeft")),e(t,33,0,n.canEnableToolbarOptions("justifyCenter")),e(t,36,0,n.canEnableToolbarOptions("justifyRight")),e(t,39,0,n.canEnableToolbarOptions("justifyFull")),e(t,42,0,n.canEnableToolbarOptions("indent")),e(t,45,0,n.canEnableToolbarOptions("outdent")),e(t,51,0,n.canEnableToolbarOptions("cut")),e(t,54,0,n.canEnableToolbarOptions("copy")),e(t,57,0,n.canEnableToolbarOptions("delete")),e(t,60,0,n.canEnableToolbarOptions("removeFormat")),e(t,63,0,n.canEnableToolbarOptions("undo")),e(t,66,0,n.canEnableToolbarOptions("redo")),e(t,72,0,n.canEnableToolbarOptions("paragraph")),e(t,75,0,n.canEnableToolbarOptions("blockquote")),e(t,78,0,n.canEnableToolbarOptions("removeBlockquote")),e(t,81,0,n.canEnableToolbarOptions("horizontalLine")),e(t,84,0,n.canEnableToolbarOptions("orderedList")),e(t,87,0,n.canEnableToolbarOptions("unorderedList")),e(t,93,0,n.canEnableToolbarOptions("link")),e(t,96,0,n.canEnableToolbarOptions("unlink")),e(t,99,0,n.canEnableToolbarOptions("image")),e(t,108,0,n.ngxMessage),e(t,111,0,"stack"===n.resizer)},function(e,t){var n=t.component;e(t,1,0,n.config.width,n.config.minWidth),e(t,104,0,n.config.editable,n.config.placeholder,n.config.translate,n.config.spellcheck,n.config.height,n.minHeight||n.config.minHeight,n.canResize())})}function Ee(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,7,"div",[["class","htmlblock block"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,1,"h6",[],null,null,null,null,null)),(e()(),Se._8(-1,null,["HTML Output"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(5,0,null,null,1,"div",[["class","html"]],null,null,null,null,null)),(e()(),Se._8(6,null,["\n ","\n "])),(e()(),Se._8(-1,null,["\n "]))],null,function(e,t){e(t,6,0,t.component.htmlContent)})}function ke(e){return Se._9(0,[(e()(),Se.T(0,0,null,null,51,"div",[["class","container"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(2,0,null,null,27,"div",[["class","logo block"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(4,0,null,null,0,"img",[["alt","ngx-Editor"],["src","assets/icons/ngx-editor.svg"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(6,0,null,null,1,"h6",[],null,null,null,null,null)),(e()(),Se._8(-1,null,["WYSIWYG Editor for Angular Applications."])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(9,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),Se._8(-1,null,["(Currently -\n "])),(e()(),Se.T(11,0,null,null,1,"a",[["href","https://github.com/Sibiraj-S/ngx-editor/releases/latest"]],null,null,null,null,null)),(e()(),Se._8(12,null,["",""])),(e()(),Se._8(-1,null,[") "])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(15,0,null,null,1,"a",[["aria-label","Follow @Sibiraj-S on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["Follow @Sibiraj-S"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(18,0,null,null,1,"a",[["aria-label","Fork Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S/ngx-editor/fork"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["Fork"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(21,0,null,null,1,"a",[["aria-label","Star Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S/ngx-editor"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["Star"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(24,0,null,null,1,"a",[["aria-label","Issue Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["data-show-count","true"],["href","https://github.com/Sibiraj-S/ngx-editor/issues"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["Issue"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(27,0,null,null,1,"a",[["aria-label","Download Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S/ngx-editor/archive/master.zip"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["Download"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n\n "])),(e()(),Se.T(31,0,null,null,4,"div",[["class","editor block"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(33,0,null,null,1,"app-ngx-editor",[],null,[[null,"htmlChange"],["document","click"]],function(e,t,n){var r=!0,o=e.component;return"document:click"===t&&(r=!1!==Se._4(e,34).onDocumentClick(n)&&r),"htmlChange"===t&&(r=!1!==(o.htmlContent=n)&&r),r},Te,Yn)),Se.S(34,114688,null,0,Zn,[Se.h],{spellcheck:[0,"spellcheck"],placeholder:[1,"placeholder"],config:[2,"config"],html:[3,"html"]},{htmlChange:"htmlChange"}),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n\n "])),(e()(),Se.O(16777216,null,null,1,null,Ee)),Se.S(38,16384,null,0,Ve,[Se.D,Se.A],{ngIf:[0,"ngIf"]},null),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(40,0,null,null,10,"div",[["class","information block"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(42,0,null,null,1,"h6",[],null,null,null,null,null)),(e()(),Se._8(-1,null,["Documentation"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se.T(45,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),Se._8(-1,null,["Check\n "])),(e()(),Se.T(47,0,null,null,1,"a",[["href","https://github.com/Sibiraj-S/ngx-editor/wiki/ngxEditor"]],null,null,null,null,null)),(e()(),Se._8(-1,null,["wiki"])),(e()(),Se._8(-1,null,[" for more information"])),(e()(),Se._8(-1,null,["\n "])),(e()(),Se._8(-1,null,["\n"]))],function(e,t){var n=t.component;e(t,34,0,!0,"Enter text here...",n.editorConfig,n.htmlContent),e(t,38,0,n.htmlContent)},function(e,t){e(t,12,0,t.component.latestRelease.name)})}Object.defineProperty(t,"__esModule",{value:!0});var Oe,Se=n("LMZF"),Ie=n("6Xbx"),Ae=function(){},Pe=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Ne={},Re=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Me=new Se.l("UseV4Plurals"),je=function(){},De=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(Ie.b)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):r(t||this.locale)(e)){case Re.Zero:return"zero";case Re.One:return"one";case Re.Two:return"two";case Re.Few:return"few";case Re.Many:return"many";default:return"other"}},t}(je),Ve=function(){function e(e,t){this._viewContainer=e,this._context=new Le,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e}(),Le=function(){this.$implicit=null,this.ngIf=null},He=function(){},Fe=new Se.l("DocumentToken"),ze=null,Ue={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},qe={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};Se.V.Node&&(Oe=Se.V.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var Ze,Qe,Ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Ie.b)(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){l(new t)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){(r=e)[t].apply(r,n);var r},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return Ue},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Oe.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;u||(u=e[i]=[]);var s=Ct(t)?Zone.root:Zone.current;if(0===u.length)u.push({zone:s,handler:o});else{for(var a=!1,c=0;c-1},t}(lt),At=["alt","control","meta","shift"],Pt={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Nt=function(e){function t(t){return e.call(this,t)||this}return Object(Ie.b)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return u().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(At.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var u={};return u.domEventName=r,u.fullKey=i,u},t.getEventFullKey=function(e){var t="",n=u().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),At.forEach(function(r){r!=n&&(0,Pt[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(lt),Rt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Mt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,jt=null,Dt=null,Vt=C("area,br,col,hr,img,wbr"),Lt=C("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ht=C("rp,rt"),Ft=T(Ht,Lt),zt=T(Vt,T(Lt,C("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),T(Ht,C("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ft),Ut=C("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Bt=C("srcset"),qt=T(Ut,Bt,C("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),Zt=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(Dt.isElementNode(t)?this.startElement(t):Dt.isTextNode(t)?this.chars(Dt.nodeValue(t)):this.sanitizedSomething=!0,Dt.firstChild(t))t=Dt.firstChild(t);else for(;t;){Dt.isElementNode(t)&&this.endElement(t);var n=E(t,Dt.nextSibling(t));if(n){t=n;break}t=E(t,Dt.parentElement(t))}return this.buf.join("")},e.prototype.startElement=function(e){var t=this,n=Dt.nodeName(e).toLowerCase();zt.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),Dt.attributeMap(e).forEach(function(e,n){var r=n.toLowerCase();qt.hasOwnProperty(r)?(Ut[r]&&(e=_(e)),Bt[r]&&(e=w(e)),t.buf.push(" "),t.buf.push(n),t.buf.push('="'),t.buf.push(k(e)),t.buf.push('"')):t.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=Dt.nodeName(e).toLowerCase();zt.hasOwnProperty(t)&&!Vt.hasOwnProperty(t)&&(this.buf.push(""),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(k(e))},e}(),Qt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gt=/([^\#-~ |!])/g,Wt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Kt=/^url\(([^)]+)\)$/,Yt=function(){},Jt=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(Ie.b)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Se.z.NONE:return t;case Se.z.HTML:return t instanceof $t?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),S(this._doc,String(t)));case Se.z.STYLE:return t instanceof en?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),A(t));case Se.z.SCRIPT:if(t instanceof tn)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Se.z.URL:return t instanceof rn||t instanceof nn?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),_(String(t)));case Se.z.RESOURCE_URL:if(t instanceof rn)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof Xt)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new $t(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new en(e)},t.prototype.bypassSecurityTrustScript=function(e){return new tn(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new nn(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new rn(e)},t}(Yt),Xt=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),$t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Ie.b)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Xt),en=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Ie.b)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Xt),tn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Ie.b)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Xt),nn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Ie.b)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Xt),rn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Ie.b)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Xt),on=[{provide:Se.u,useValue:"browser"},{provide:Se.v,useValue:function(){Ge.makeCurrent(),et.init()},multi:!0},{provide:Ae,useClass:Ye,deps:[Ke]},{provide:Ke,useFactory:function(){return document},deps:[]}],un=Object(Se.G)(Se.K,"browser",on),ln=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:Se.a,useValue:t.appId},{provide:Xe,useExisting:Se.a},$e]}},e}(),sn=("undefined"!=typeof window&&window,n("Oryw").a.of),an=n("wP3s"),cn=n("E9/g"),dn=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new fn(e,this.predicate,this.thisArg))},e}(),fn=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.thisArg=r,this.count=0}return Object(Ie.b)(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(cn.a),pn=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new hn(e,this.project,this.thisArg))},e}(),hn=function(e){function t(t,n,r){e.call(this,t),this.project=n,this.count=0,this.thisArg=r||this}return Object(Ie.b)(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(cn.a),gn=n("AP4T"),yn=function(){},vn=function(){},bn=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,n),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),mn=function(){function e(){}return e.prototype.encodeKey=function(e){return H(e)},e.prototype.encodeValue=function(e){return H(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}(),_n=function(){function e(e){void 0===e&&(e={});var t=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new mn,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=L(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(n){var r=e.fromObject[n];t.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=null)},e}(),wn=function(){function e(e,t,n,r){this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();var o;if(F(this.method)||r?(this.body=n||null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new bn),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var u=t.indexOf("?");this.urlWithParams=t+(-1===u?"?":u=200&&this.status<300}}(),Tn=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=xn.ResponseHeader,n}return Object(Ie.b)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(Cn),En=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=xn.Response,n.body=t.body||null,n}return Object(Ie.b)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(Cn),kn=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(Ie.b)(t,e),t}(Cn),On=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r=this;void 0===n&&(n={});var o;if(e instanceof wn)o=e;else{var i=void 0;void 0!==!!n.headers&&(i=n.headers instanceof bn?n.headers:new bn(n.headers));var u=void 0;n.params&&(u=n.params instanceof _n?n.params:new _n({fromObject:n.params})),o=new wn(e,t,n.body||null,{headers:i,params:u,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var l=R.call(sn(o),function(e){return r.handler.handle(e)});if(e instanceof wn||"events"===n.observe)return l;var s=j.call(l,function(e){return e instanceof En});switch(n.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return V.call(s,function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body});case"blob":return V.call(s,function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body});case"text":return V.call(s,function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body});case"json":default:return V.call(s,function(e){return e.body})}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new _n).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,q(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,q(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,q(n,t))},e}(),Sn=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),In=new Se.l("HTTP_INTERCEPTORS"),An=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),Pn=/^\)\]\}',?\n/,Nn=function(){},Rn=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),Mn=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new gn.a(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var u=e.serializeBody(),l=null,s=function(){if(null!==l)return l;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new bn(r.getAllResponseHeaders()),i=Z(r)||e.url;return l=new Tn({headers:o,status:t,statusText:n,url:i})},a=function(){var t=s(),o=t.headers,i=t.status,u=t.statusText,l=t.url,a=null;204!==i&&(a=void 0===r.response?r.responseText:r.response),0===i&&(i=a?200:0);var c=i>=200&&i<300;if(c&&"json"===e.responseType&&"string"==typeof a){a=a.replace(Pn,"");try{a=JSON.parse(a)}catch(e){c=!1,a={error:e,text:a}}}else if(!c&&"json"===e.responseType&&"string"==typeof a)try{a=JSON.parse(a)}catch(e){}c?(n.next(new En({body:a,headers:o,status:i,statusText:u,url:l||void 0})),n.complete()):n.error(new kn({error:a,headers:o,status:i,statusText:u,url:l||void 0}))},c=function(e){var t=new kn({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},d=!1,f=function(t){d||(n.next(s()),d=!0);var o={type:xn.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},p=function(e){var t={type:xn.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",a),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",f),null!==u&&r.upload&&r.upload.addEventListener("progress",p)),r.send(u),n.next({type:xn.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",a),e.reportProgress&&(r.removeEventListener("progress",f),null!==u&&r.upload&&r.upload.removeEventListener("progress",p)),r.abort()}})},e}(),jn=new Se.l("XSRF_COOKIE_NAME"),Dn=new Se.l("XSRF_HEADER_NAME"),Vn=function(){},Ln=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=i(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),Hn=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),Fn=function(){function e(){}return e.disable=function(){return{ngModule:e,providers:[{provide:Hn,useClass:An}]}},e.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:jn,useValue:t.cookieName}:[],t.headerName?{provide:Dn,useValue:t.headerName}:[]]}},e}(),zn=function(){};gn.a.prototype.map=V;var Un=function(){function e(e){this._http=e,this.releaseURL="https://api.github.com/repos/Sibiraj-S/ngx-editor/releases/latest"}return e.prototype.getLatestRelease=function(){return this._http.get(this.releaseURL).map(function(e){return e&&0!==e.length?e:[]})},e}(),Bn=function(){function e(e){this._appService=e,this.title="ngx-editor",this.latestRelease={},this.editorConfig={editable:!0,spellcheck:!1,height:"5rem",minHeight:"2rem",placeholder:"Enter text here...",translate:"no"},this.htmlContent="WYSIWYG Editor for Angular Applications."}return e.prototype.getLatestRelease=function(){var e=this;this._appService.getLatestRelease().subscribe(function(t){return e.latestRelease=t},function(e){console.log(e)},function(){})},e.prototype.ngOnInit=function(){this.getLatestRelease()},e}(),qn={editable:!0,spellcheck:!0,height:"auto",minHeight:"0",width:"auto",minWidth:"0",translate:"yes",placeholder:"Enter text here...",toolbar:[["bold","italic","underline","strikeThrough","superscript","subscript"],["justifyLeft","justifyCenter","justifyRight","justifyFull","indent","outdent"],["cut","copy","delete","removeFormat","undo","redo"],["paragraph","blockquote","removeBlockquote","horizontalLine","orderedList","unorderedList"],["link","unlink","image"]]},Zn=function(){function e(e){this._element=e,this.htmlChange=new Se.j,this.enableToolbar=!1}return Object.defineProperty(e.prototype,"resizer",{get:function(){return this._resizer||"stack"},set:function(e){console.log(e),this._resizer="basic"===e?e:"stack"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this._config||qn},set:function(e){for(var t in qn)t&&(this[t]&&(e[t]=this[t]),e.hasOwnProperty(t)||(e[t]=qn[t]));this._config=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this._html},set:function(e){this._html=e},enumerable:!0,configurable:!0}),e.prototype.htmlContentChange=function(e){this.htmlChange.emit(" "===e?"":e)},e.prototype.executeCommand=function(e){document.execCommand(e,!1,null)},e.prototype.blockQuote=function(){document.execCommand("formatBlock",!1,"