webpackJsonp([35],{"+cgv":function(t,e,r){var n=r("B2GD");var o;"string"===typeof n&&(n=[[t.i,n,""]]);var i={};i.transform=void 0;var l=r("MTIv")(n,i);n.locals&&(t.exports=n.locals)},"+m4Q":function(t,e,r){(function(t,r){var n=200;var o="Expected a function";var i="__lodash_hash_undefined__";var l=1,a=2;var u=1/0,s=9007199254740991;var c="[object Arguments]",f="[object Array]",d="[object Boolean]",p="[object Date]",h="[object Error]",v="[object Function]",b="[object GeneratorFunction]",y="[object Map]",q="[object Number]",g="[object Object]",m="[object Promise]",_="[object RegExp]",k="[object Set]",w="[object String]",x="[object Symbol]",O="[object WeakMap]";var E="[object ArrayBuffer]",j="[object DataView]",A,N="[object Float64Array]",T="[object Int8Array]",S="[object Int16Array]",C="[object Int32Array]",P="[object Uint8Array]",L="[object Uint8ClampedArray]",R="[object Uint16Array]",M="[object Uint32Array]";var I=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,D=/^\./,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var U=/[\\^$.*+?()[\]{}|]/g;var F=/\\(\\)?/g;var H=/^\[object .+?Constructor\]$/;var K=/^(?:0|[1-9]\d*)$/;var Y={};Y["[object Float32Array]"]=Y[N]=Y[T]=Y[S]=Y[C]=Y[P]=Y[L]=Y[R]=Y[M]=!0,Y[c]=Y[f]=Y[E]=Y[d]=Y[j]=Y[p]=Y[h]=Y[v]=Y[y]=Y[q]=Y[g]=Y[_]=Y[k]=Y[w]=Y[O]=!1;var $="object"==typeof t&&t&&t.Object===Object&&t;var V="object"==typeof self&&self&&self.Object===Object&&self;var Z=$||V||Function("return this")();var G="object"==typeof e&&e&&!e.nodeType&&e;var W=G&&"object"==typeof r&&r&&!r.nodeType&&r;var X;var Q=W&&W.exports===G&&$.process;var J=function(){try{return Q&&Q.binding("util")}catch(t){}}();var tt=J&&J.isTypedArray;function et(t,e){var r=-1,n=t?t.length:0,o=Array(n);for(;++r<n;)o[r]=e(t[r],r,t);return o}function rt(t,e){var r=-1,n=t?t.length:0;for(;++r<n;)if(e(t[r],r,t))return!0;return!1}function nt(t){return function(e){return null==e?void 0:e[t]}}function ot(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function it(t,e){var r=-1,n=Array(t);for(;++r<t;)n[r]=e(r);return n}function lt(t){return function(e){return t(e)}}function at(t,e){return null==t?void 0:t[e]}function ut(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function st(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function ct(t,e){return function(r){return t(e(r))}}function ft(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var dt=Array.prototype,pt=Function.prototype,ht=Object.prototype;var vt=Z["__core-js_shared__"];var bt=(yt=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||""))?"Symbol(src)_1."+yt:"";var yt;var qt=pt.toString;var gt=ht.hasOwnProperty;var mt=ht.toString;var _t=RegExp("^"+qt.call(gt).replace(U,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var kt=Z.Symbol,wt=Z.Uint8Array,xt=ht.propertyIsEnumerable,Ot=dt.splice;var Et=ct(Object.keys,Object);var jt=Ye(Z,"DataView"),At=Ye(Z,"Map"),Nt=Ye(Z,"Promise"),Tt=Ye(Z,"Set"),St=Ye(Z,"WeakMap"),Ct=Ye(Object,"create");var Pt=nr(jt),Lt=nr(At),Rt=nr(Nt),Mt=nr(Tt),It=nr(St);var Bt=kt?kt.prototype:void 0,Dt=Bt?Bt.valueOf:void 0,zt=Bt?Bt.toString:void 0;function Ut(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ft(){this.__data__=Ct?Ct(null):{}}function Ht(t){return this.has(t)&&delete this.__data__[t]}function Kt(t){var e=this.__data__;if(Ct){var r=e[t];return r===i?void 0:r}return gt.call(e,t)?e[t]:void 0}function Yt(t){var e=this.__data__;return Ct?void 0!==e[t]:gt.call(e,t)}function $t(t,e){var r;return this.__data__[t]=Ct&&void 0===e?i:e,this}function Vt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Zt(){this.__data__=[]}function Gt(t){var e=this.__data__,r=ve(e,t);if(r<0)return!1;var n;return r==e.length-1?e.pop():Ot.call(e,r,1),!0}function Wt(t){var e=this.__data__,r=ve(e,t);return r<0?void 0:e[r][1]}function Xt(t){return ve(this.__data__,t)>-1}function Qt(t,e){var r=this.__data__,n=ve(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function Jt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function te(){this.__data__={hash:new Ut,map:new(At||Vt),string:new Ut}}function ee(t){return He(this,t).delete(t)}function re(t){return He(this,t).get(t)}function ne(t){return He(this,t).has(t)}function oe(t,e){return He(this,t).set(t,e),this}function ie(t){var e=-1,r=t?t.length:0;for(this.__data__=new Jt;++e<r;)this.add(t[e])}function le(t){return this.__data__.set(t,i),this}function ae(t){return this.__data__.has(t)}function ue(t){this.__data__=new Vt(t)}function se(){this.__data__=new Vt}function ce(t){return this.__data__.delete(t)}function fe(t){return this.__data__.get(t)}function de(t){return this.__data__.has(t)}function pe(t,e){var r=this.__data__;if(r instanceof Vt){var o=r.__data__;if(!At||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new Jt(o)}return r.set(t,e),this}function he(t,e){var r=ur(t)||ar(t)?it(t.length,String):[];var n=r.length,o=!!n;for(var i in t)!e&&!gt.call(t,i)||o&&("length"==i||Ze(i,n))||r.push(i);return r}function ve(t,e){var r=t.length;for(;r--;)if(lr(t[r][0],e))return r;return-1}Ut.prototype.clear=Ft,Ut.prototype.delete=Ht,Ut.prototype.get=Kt,Ut.prototype.has=Yt,Ut.prototype.set=$t,Vt.prototype.clear=Zt,Vt.prototype.delete=Gt,Vt.prototype.get=Wt,Vt.prototype.has=Xt,Vt.prototype.set=Qt,Jt.prototype.clear=te,Jt.prototype.delete=ee,Jt.prototype.get=re,Jt.prototype.has=ne,Jt.prototype.set=oe,ie.prototype.add=ie.prototype.push=le,ie.prototype.has=ae,ue.prototype.clear=se,ue.prototype.delete=ce,ue.prototype.get=fe,ue.prototype.has=de,ue.prototype.set=pe;var be=Be(qe);var ye=De();function qe(t,e){return t&&ye(t,e,mr)}function ge(t,e){var r=0,n=(e=Ge(e,t)?[e]:Re(e)).length;for(;null!=t&&r<n;)t=t[rr(e[r++])];return r&&r==n?t:void 0}function me(t){return mt.call(t)}function _e(t,e){return null!=t&&e in Object(t)}function ke(t,e,r,n,o){if(t===e)return!0;if(null==t||null==e||!pr(t)&&!hr(e))return t!==t&&e!==e;return we(t,e,ke,r,n,o)}function we(t,e,r,n,o,i){var l=ur(t),u=ur(e),s=f,d=f;l||(s=(s=$e(t))==c?g:s),u||(d=(d=$e(e))==c?g:d);var p=s==g&&!ut(t),h=d==g&&!ut(e),v=s==d;if(v&&!p)return i||(i=new ue),l||br(t)?ze(t,e,r,n,o,i):Ue(t,e,s,r,n,o,i);if(!(o&a)){var b=p&&gt.call(t,"__wrapped__"),y=h&&gt.call(e,"__wrapped__");if(b||y){var q=b?t.value():t,m=y?e.value():e;return i||(i=new ue),r(q,m,n,o,i)}}if(!v)return!1;return i||(i=new ue),Fe(t,e,r,n,o,i)}function xe(t,e,r,n){var o=r.length,i=o,u=!n;if(null==t)return!i;for(t=Object(t);o--;){var s=r[o];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++o<i;){var c=(s=r[o])[0],f=t[c],d=s[1];if(u&&s[2]){if(void 0===f&&!(c in t))return!1}else{var p=new ue;if(n)var h=n(f,d,c,t,e,p);if(!(void 0===h?ke(d,f,n,l|a,p):h))return!1}}return!0}function Oe(t){if(!pr(t)||Xe(t))return!1;var e;return(fr(t)||ut(t)?_t:H).test(nr(t))}function Ee(t){return hr(t)&&dr(t.length)&&!!Y[mt.call(t)]}function je(t){if("function"==typeof t)return t;if(null==t)return _r;if("object"==typeof t)return ur(t)?Se(t[0],t[1]):Te(t);return kr(t)}function Ae(t){if(!Qe(t))return Et(t);var e=[];for(var r in Object(t))gt.call(t,r)&&"constructor"!=r&&e.push(r);return e}function Ne(t,e){var r=-1,n=sr(t)?Array(t.length):[];return be(t,function(t,o,i){n[++r]=e(t,o,i)}),n}function Te(t){var e=Ke(t);if(1==e.length&&e[0][2])return tr(e[0][0],e[0][1]);return function(r){return r===t||xe(r,t,e)}}function Se(t,e){if(Ge(t)&&Je(e))return tr(rr(t),e);return function(r){var n=qr(r,t);return void 0===n&&n===e?gr(r,t):ke(e,n,void 0,l|a)}}function Ce(t,e,r){var n=-1;var o;return e=et(e.length?e:[_r],lt(je)),ot(Ne(t,function(t,r,o){var i;return{criteria:et(e,function(e){return e(t)}),index:++n,value:t}}),function(t,e){return Ie(t,e,r)})}function Pe(t){return function(e){return ge(e,t)}}function Le(t){if("string"==typeof t)return t;if(vr(t))return zt?zt.call(t):"";var e=t+"";return"0"==e&&1/t==-u?"-0":e}function Re(t){return ur(t)?t:er(t)}function Me(t,e){if(t!==e){var r=void 0!==t,n=null===t,o=t===t,i=vr(t);var l=void 0!==e,a=null===e,u=e===e,s=vr(e);if(!a&&!s&&!i&&t>e||i&&l&&u&&!a&&!s||n&&l&&u||!r&&u||!o)return 1;if(!n&&!i&&!s&&t<e||s&&r&&o&&!n&&!i||a&&r&&o||!l&&o||!u)return-1}return 0}function Ie(t,e,r){var n=-1,o=t.criteria,i=e.criteria,l=o.length,a=r.length;for(;++n<l;){var u=Me(o[n],i[n]);if(u){if(n>=a)return u;var s;return u*("desc"==r[n]?-1:1)}}return t.index-e.index}function Be(t,e){return function(r,n){if(null==r)return r;if(!sr(r))return t(r,n);var o=r.length,i=e?o:-1,l=Object(r);for(;(e?i--:++i<o)&&!1!==n(l[i],i,l););return r}}function De(t){return function(e,r,n){var o=-1,i=Object(e),l=n(e),a=l.length;for(;a--;){var u=l[t?a:++o];if(!1===r(i[u],u,i))break}return e}}function ze(t,e,r,n,o,i){var u=o&a,s=t.length,c=e.length;if(s!=c&&!(u&&c>s))return!1;var f=i.get(t);if(f&&i.get(e))return f==e;var d=-1,p=!0,h=o&l?new ie:void 0;for(i.set(t,e),i.set(e,t);++d<s;){var v=t[d],b=e[d];if(n)var y=u?n(b,v,d,e,t,i):n(v,b,d,t,e,i);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!rt(e,function(t,e){if(!h.has(e)&&(v===t||r(v,t,n,o,i)))return h.add(e)})){p=!1;break}}else if(v!==b&&!r(v,b,n,o,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function Ue(t,e,r,n,o,i,u){switch(r){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case E:if(t.byteLength!=e.byteLength||!n(new wt(t),new wt(e)))return!1;return!0;case d:case p:case q:return lr(+t,+e);case h:return t.name==e.name&&t.message==e.message;case _:case w:return t==e+"";case y:var s=st;case k:var c=i&a;if(s||(s=ft),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;i|=l,u.set(t,e);var v=ze(s(t),s(e),n,o,i,u);return u.delete(t),v;case x:if(Dt)return Dt.call(t)==Dt.call(e)}return!1}function Fe(t,e,r,n,o,i){var l=o&a,u=mr(t),s=u.length,c,f;if(s!=mr(e).length&&!l)return!1;var d=s;for(;d--;){var p=u[d];if(!(l?p in e:gt.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var v=!0;i.set(t,e),i.set(e,t);var b=l;for(;++d<s;){var y=t[p=u[d]],q=e[p];if(n)var g=l?n(q,y,p,e,t,i):n(y,q,p,t,e,i);if(!(void 0===g?y===q||r(y,q,n,o,i):g)){v=!1;break}b||(b="constructor"==p)}if(v&&!b){var m=t.constructor,_=e.constructor;m!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return i.delete(t),i.delete(e),v}function He(t,e){var r=t.__data__;return We(e)?r["string"==typeof e?"string":"hash"]:r.map}function Ke(t){var e=mr(t),r=e.length;for(;r--;){var n=e[r],o=t[n];e[r]=[n,o,Je(o)]}return e}function Ye(t,e){var r=at(t,e);return Oe(r)?r:void 0}var $e=me;function Ve(t,e,r){var n,o=-1,i=(e=Ge(e,t)?[e]:Re(e)).length;for(;++o<i;){var l=rr(e[o]);if(!(n=null!=t&&r(t,l)))break;t=t[l]}if(n)return n;var i;return!!(i=t?t.length:0)&&dr(i)&&Ze(l,i)&&(ur(t)||ar(t))}function Ze(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||K.test(t))&&t>-1&&t%1==0&&t<e}function Ge(t,e){if(ur(t))return!1;var r=typeof t;if("number"==r||"symbol"==r||"boolean"==r||null==t||vr(t))return!0;return B.test(t)||!I.test(t)||null!=e&&t in Object(e)}function We(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Xe(t){return!!bt&&bt in t}function Qe(t){var e=t&&t.constructor,r;return t===("function"==typeof e&&e.prototype||ht)}function Je(t){return t===t&&!pr(t)}function tr(t,e){return function(r){if(null==r)return!1;return r[t]===e&&(void 0!==e||t in Object(r))}}(jt&&$e(new jt(new ArrayBuffer(1)))!=j||At&&$e(new At)!=y||Nt&&$e(Nt.resolve())!=m||Tt&&$e(new Tt)!=k||St&&$e(new St)!=O)&&($e=function(t){var e=mt.call(t),r=e==g?t.constructor:void 0,n=r?nr(r):void 0;if(n)switch(n){case Pt:return j;case Lt:return y;case Rt:return m;case Mt:return k;case It:return O}return e});var er=ir(function(t){t=yr(t);var e=[];return D.test(t)&&e.push(""),t.replace(z,function(t,r,n,o){e.push(n?o.replace(F,"$1"):r||t)}),e});function rr(t){if("string"==typeof t||vr(t))return t;var e=t+"";return"0"==e&&1/t==-u?"-0":e}function nr(t){if(null!=t){try{return qt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function or(t,e,r,n){if(null==t)return[];return ur(e)||(e=null==e?[]:[e]),ur(r=n?void 0:r)||(r=null==r?[]:[r]),Ce(t,e,r)}function ir(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var l=t.apply(this,n);return r.cache=i.set(o,l),l};return r.cache=new(ir.Cache||Jt),r}function lr(t,e){return t===e||t!==t&&e!==e}function ar(t){return cr(t)&&gt.call(t,"callee")&&(!xt.call(t,"callee")||mt.call(t)==c)}ir.Cache=Jt;var ur=Array.isArray;function sr(t){return null!=t&&dr(t.length)&&!fr(t)}function cr(t){return hr(t)&&sr(t)}function fr(t){var e=pr(t)?mt.call(t):"";return e==v||e==b}function dr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function pr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function hr(t){return!!t&&"object"==typeof t}function vr(t){return"symbol"==typeof t||hr(t)&&mt.call(t)==x}var br=tt?lt(tt):Ee;function yr(t){return null==t?"":Le(t)}function qr(t,e,r){var n=null==t?void 0:ge(t,e);return void 0===n?r:n}function gr(t,e){return null!=t&&Ve(t,e,_e)}function mr(t){return sr(t)?he(t):Ae(t)}function _r(t){return t}function kr(t){return Ge(t)?nt(rr(t)):Pe(t)}r.exports=or}).call(e,r("DuR2"),r("3IRH")(t))},"/Y8N":function(t,e){var r=function(){var t=this;var e=t.$createElement;var r=t._self._c||e;return r("div",{staticStyle:{"margin-top":"30px","margin-bottom":"30px"}},[r("el-form",{attrs:{model:t.form}},[t.languageOptions?r("el-tabs",{staticStyle:{"margin-top":"30px","margin-bottom":"30px"},model:{value:t.activeContentTab,callback:function(e){t.activeContentTab=e},expression:"activeContentTab"}},t._l(t.groupedByLangContent,function(e,n){return r("el-tab-pane",{key:n,attrs:{label:n||"Content",name:n||"Content"}},[n!==t.activeContentTab||t.accordian?t._e():r("el-row",{attrs:{gutter:20}},t._l(e,function(e,n){return r("el-col",{key:n,attrs:{md:"quill"===e.type?24:12}},[r("content-inner",{attrs:{content:e,"content-key":n,editable:t.editable,"on-delete-content":t.onDeleteContent,"language-options":t.languageOptions}})],1)})),t._v(" "),t.accordian?r("el-collapse",{attrs:{accordion:""},model:{value:t.accordianTab,callback:function(e){t.accordianTab=e},expression:"accordianTab"}},t._l(e,function(e,n){return r("el-collapse-item",{key:n,attrs:{name:n}},[r("template",{slot:"title"},[r("p",{staticStyle:{"margin-left":"10px"}},[t._v(t._s(e.content_name))])]),t._v(" "),r("content-inner",{attrs:{content:e,"content-key":n,"show-section-title":!1,editable:t.editable,"on-delete-content":t.onDeleteContent,"language-options":t.languageOptions}})],2)})):t._e(),t._v(" "),t.editable?r("el-button",{staticStyle:{"margin-top":"30px"},attrs:{type:"success",size:"small",plain:""},on:{click:function(e){t.showModal=!0}}},[t._v("Add Content")]):t._e()],1)})):t._e(),t._v(" "),t.languageOptions?t._e():r("el-row",{attrs:{gutter:20}},[r("el-col",[t.accordian?r("el-collapse",{attrs:{accordion:""},model:{value:t.accordianTab,callback:function(e){t.accordianTab=e},expression:"accordianTab"}},t._l(t.selectedLangContent,function(e,n){return r("el-collapse-item",{key:n,attrs:{name:n}},[r("template",{slot:"title"},[r("p",{staticStyle:{"margin-left":"10px"}},[t._v(t._s(e.content_name))])]),t._v(" "),r("content-inner",{attrs:{content:e,"content-key":n,"show-section-title":!1,editable:t.editable,"on-delete-content":t.onDeleteContent,"language-options":t.languageOptions}})],2)})):t._e()],1),t._v(" "),t._l(t.selectedLangContent,function(e,n){return t.accordian?t._e():r("el-col",{key:n,attrs:{md:"quill"===e.type?24:12}},[r("content-inner",{attrs:{content:e,"content-key":n,editable:t.editable,"on-delete-content":t.onDeleteContent,"language-options":t.languageOptions}})],1)})],2),t._v(" "),t.editable&&!t.languageOptions?r("el-button",{attrs:{type:"success",size:"small",plain:""},on:{click:function(e){t.showModal=!0}}},[t._v("Add Content")]):t._e()],1),t._v(" "),t.editable?r("el-dialog",{attrs:{title:"Add New Content",visible:t.showModal},on:{"update:visible":function(e){t.showModal=e}}},[r("el-form",{ref:"contentAdd",attrs:{model:t.newContent,"label-position":"top"}},[r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{md:12}},[r("h5",[t._v("New Content")])])],1),t._v(" "),r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{md:{span:8,offset:4}}},[r("el-form-item",{attrs:{label:"Name",prop:"name",rules:[{required:!0,message:"Content name is required.",trigger:"blur,change"}]}},[r("el-input",{attrs:{size:"small",placeholder:"Main Content"},model:{value:t.newContent.name,callback:function(e){t.$set(t.newContent,"name",e)},expression:"newContent.name"}})],1)],1),t._v(" "),r("el-col",{attrs:{md:{span:8}}},[r("el-form-item",{attrs:{label:"Type",prop:"type",rules:[{required:!0,message:"Content type is required.",trigger:"blur,change"}]}},[r("el-select",{attrs:{placeholder:"Text",size:"small"},model:{value:t.newContent.type,callback:function(e){t.$set(t.newContent,"type",e)},expression:"newContent.type"}},t._l(t.contentTypes,function(t){return r("el-option",{key:t.label,attrs:{label:t.label,value:t.value}})}))],1)],1)],1),t._v(" "),r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{md:12}},[r("el-button",{attrs:{type:"success",size:"small",plain:""},on:{click:function(e){t.addContent(t.languageOptions?t.activeContentTab:t.language)}}},[t._v("Add Content")])],1)],1)],1)],1):t._e()],1)};var n=[];t.exports={render:r,staticRenderFns:n}},"2KFh":function(t,e,r){(function(t,r){var n=200;var o="Expected a function";var i="__lodash_hash_undefined__";var l=1,a=2;var u=1/0,s=9007199254740991;var c="[object Arguments]",f="[object Array]",d="[object Boolean]",p="[object Date]",h="[object Error]",v="[object Function]",b="[object GeneratorFunction]",y="[object Map]",q="[object Number]",g="[object Object]",m="[object Promise]",_="[object RegExp]",k="[object Set]",w="[object String]",x="[object Symbol]",O="[object WeakMap]";var E="[object ArrayBuffer]",j="[object DataView]",A,N="[object Float64Array]",T="[object Int8Array]",S="[object Int16Array]",C="[object Int32Array]",P="[object Uint8Array]",L="[object Uint8ClampedArray]",R="[object Uint16Array]",M="[object Uint32Array]";var I=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,D=/^\./,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var U=/[\\^$.*+?()[\]{}|]/g;var F=/\\(\\)?/g;var H=/^\[object .+?Constructor\]$/;var K=/^(?:0|[1-9]\d*)$/;var Y={};Y["[object Float32Array]"]=Y[N]=Y[T]=Y[S]=Y[C]=Y[P]=Y[L]=Y[R]=Y[M]=!0,Y[c]=Y[f]=Y[E]=Y[d]=Y[j]=Y[p]=Y[h]=Y[v]=Y[y]=Y[q]=Y[g]=Y[_]=Y[k]=Y[w]=Y[O]=!1;var $="object"==typeof t&&t&&t.Object===Object&&t;var V="object"==typeof self&&self&&self.Object===Object&&self;var Z=$||V||Function("return this")();var G="object"==typeof e&&e&&!e.nodeType&&e;var W=G&&"object"==typeof r&&r&&!r.nodeType&&r;var X;var Q=W&&W.exports===G&&$.process;var J=function(){try{return Q&&Q.binding("util")}catch(t){}}();var tt=J&&J.isTypedArray;function et(t,e,r,n){var o=-1,i=t?t.length:0;for(;++o<i;){var l=t[o];e(n,l,r(l),t)}return n}function rt(t,e){var r=-1,n=t?t.length:0;for(;++r<n;)if(e(t[r],r,t))return!0;return!1}function nt(t){return function(e){return null==e?void 0:e[t]}}function ot(t,e){var r=-1,n=Array(t);for(;++r<t;)n[r]=e(r);return n}function it(t){return function(e){return t(e)}}function lt(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function ut(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function st(t,e){return function(r){return t(e(r))}}function ct(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ft=Array.prototype,dt=Function.prototype,pt=Object.prototype;var ht=Z["__core-js_shared__"];var vt=(bt=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||""))?"Symbol(src)_1."+bt:"";var bt;var yt=dt.toString;var qt=pt.hasOwnProperty;var gt=pt.toString;var mt=RegExp("^"+yt.call(qt).replace(U,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var _t=Z.Symbol,kt=Z.Uint8Array,wt=pt.propertyIsEnumerable,xt=ft.splice;var Ot=st(Object.keys,Object);var Et=Fe(Z,"DataView"),jt=Fe(Z,"Map"),At=Fe(Z,"Promise"),Nt=Fe(Z,"Set"),Tt=Fe(Z,"WeakMap"),St=Fe(Object,"create");var Ct=tr(Et),Pt=tr(jt),Lt=tr(At),Rt=tr(Nt),Mt=tr(Tt);var It=_t?_t.prototype:void 0,Bt=It?It.valueOf:void 0,Dt=It?It.toString:void 0;function zt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ut(){this.__data__=St?St(null):{}}function Ft(t){return this.has(t)&&delete this.__data__[t]}function Ht(t){var e=this.__data__;if(St){var r=e[t];return r===i?void 0:r}return qt.call(e,t)?e[t]:void 0}function Kt(t){var e=this.__data__;return St?void 0!==e[t]:qt.call(e,t)}function Yt(t,e){var r;return this.__data__[t]=St&&void 0===e?i:e,this}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Vt(){this.__data__=[]}function Zt(t){var e=this.__data__,r=he(e,t);if(r<0)return!1;var n;return r==e.length-1?e.pop():xt.call(e,r,1),!0}function Gt(t){var e=this.__data__,r=he(e,t);return r<0?void 0:e[r][1]}function Wt(t){return he(this.__data__,t)>-1}function Xt(t,e){var r=this.__data__,n=he(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function Qt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Jt(){this.__data__={hash:new zt,map:new(jt||$t),string:new zt}}function te(t){return ze(this,t).delete(t)}function ee(t){return ze(this,t).get(t)}function re(t){return ze(this,t).has(t)}function ne(t,e){return ze(this,t).set(t,e),this}function oe(t){var e=-1,r=t?t.length:0;for(this.__data__=new Qt;++e<r;)this.add(t[e])}function ie(t){return this.__data__.set(t,i),this}function le(t){return this.__data__.has(t)}function ae(t){this.__data__=new $t(t)}function ue(){this.__data__=new $t}function se(t){return this.__data__.delete(t)}function ce(t){return this.__data__.get(t)}function fe(t){return this.__data__.has(t)}function de(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!jt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new Qt(o)}return r.set(t,e),this}function pe(t,e){var r=ir(t)||or(t)?ot(t.length,String):[];var n=r.length,o=!!n;for(var i in t)!e&&!qt.call(t,i)||o&&("length"==i||Ye(i,n))||r.push(i);return r}function he(t,e){var r=t.length;for(;r--;)if(nr(t[r][0],e))return r;return-1}function ve(t,e,r,n){return be(t,function(t,o,i){e(n,t,r(t),i)}),n}zt.prototype.clear=Ut,zt.prototype.delete=Ft,zt.prototype.get=Ht,zt.prototype.has=Kt,zt.prototype.set=Yt,$t.prototype.clear=Vt,$t.prototype.delete=Zt,$t.prototype.get=Gt,$t.prototype.has=Wt,$t.prototype.set=Xt,Qt.prototype.clear=Jt,Qt.prototype.delete=te,Qt.prototype.get=ee,Qt.prototype.has=re,Qt.prototype.set=ne,oe.prototype.add=oe.prototype.push=ie,oe.prototype.has=le,ae.prototype.clear=ue,ae.prototype.delete=se,ae.prototype.get=ce,ae.prototype.has=fe,ae.prototype.set=de;var be=Re(qe);var ye=Me();function qe(t,e){return t&&ye(t,e,yr)}function ge(t,e){var r=0,n=(e=$e(e,t)?[e]:Pe(e)).length;for(;null!=t&&r<n;)t=t[Je(e[r++])];return r&&r==n?t:void 0}function me(t){return gt.call(t)}function _e(t,e){return null!=t&&e in Object(t)}function ke(t,e,r,n,o){if(t===e)return!0;if(null==t||null==e||!cr(t)&&!fr(e))return t!==t&&e!==e;return we(t,e,ke,r,n,o)}function we(t,e,r,n,o,i){var l=ir(t),u=ir(e),s=f,d=f;l||(s=(s=He(t))==c?g:s),u||(d=(d=He(e))==c?g:d);var p=s==g&&!at(t),h=d==g&&!at(e),v=s==d;if(v&&!p)return i||(i=new ae),l||pr(t)?Ie(t,e,r,n,o,i):Be(t,e,s,r,n,o,i);if(!(o&a)){var b=p&&qt.call(t,"__wrapped__"),y=h&&qt.call(e,"__wrapped__");if(b||y){var q=b?t.value():t,m=y?e.value():e;return i||(i=new ae),r(q,m,n,o,i)}}if(!v)return!1;return i||(i=new ae),De(t,e,r,n,o,i)}function xe(t,e,r,n){var o=r.length,i=o,u=!n;if(null==t)return!i;for(t=Object(t);o--;){var s=r[o];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++o<i;){var c=(s=r[o])[0],f=t[c],d=s[1];if(u&&s[2]){if(void 0===f&&!(c in t))return!1}else{var p=new ae;if(n)var h=n(f,d,c,t,e,p);if(!(void 0===h?ke(d,f,n,l|a,p):h))return!1}}return!0}function Oe(t){if(!cr(t)||Ze(t))return!1;var e;return(ur(t)||at(t)?mt:H).test(tr(t))}function Ee(t){return fr(t)&&sr(t.length)&&!!Y[gt.call(t)]}function je(t){if("function"==typeof t)return t;if(null==t)return qr;if("object"==typeof t)return ir(t)?Te(t[0],t[1]):Ne(t);return gr(t)}function Ae(t){if(!Ge(t))return Ot(t);var e=[];for(var r in Object(t))qt.call(t,r)&&"constructor"!=r&&e.push(r);return e}function Ne(t){var e=Ue(t);if(1==e.length&&e[0][2])return Xe(e[0][0],e[0][1]);return function(r){return r===t||xe(r,t,e)}}function Te(t,e){if($e(t)&&We(e))return Xe(Je(t),e);return function(r){var n=vr(r,t);return void 0===n&&n===e?br(r,t):ke(e,n,void 0,l|a)}}function Se(t){return function(e){return ge(e,t)}}function Ce(t){if("string"==typeof t)return t;if(dr(t))return Dt?Dt.call(t):"";var e=t+"";return"0"==e&&1/t==-u?"-0":e}function Pe(t){return ir(t)?t:Qe(t)}function Le(t,e){return function(r,n){var o=ir(r)?et:ve,i=e?e():{};return o(r,t,je(n,2),i)}}function Re(t,e){return function(r,n){if(null==r)return r;if(!lr(r))return t(r,n);var o=r.length,i=e?o:-1,l=Object(r);for(;(e?i--:++i<o)&&!1!==n(l[i],i,l););return r}}function Me(t){return function(e,r,n){var o=-1,i=Object(e),l=n(e),a=l.length;for(;a--;){var u=l[t?a:++o];if(!1===r(i[u],u,i))break}return e}}function Ie(t,e,r,n,o,i){var u=o&a,s=t.length,c=e.length;if(s!=c&&!(u&&c>s))return!1;var f=i.get(t);if(f&&i.get(e))return f==e;var d=-1,p=!0,h=o&l?new oe:void 0;for(i.set(t,e),i.set(e,t);++d<s;){var v=t[d],b=e[d];if(n)var y=u?n(b,v,d,e,t,i):n(v,b,d,t,e,i);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!rt(e,function(t,e){if(!h.has(e)&&(v===t||r(v,t,n,o,i)))return h.add(e)})){p=!1;break}}else if(v!==b&&!r(v,b,n,o,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function Be(t,e,r,n,o,i,u){switch(r){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case E:if(t.byteLength!=e.byteLength||!n(new kt(t),new kt(e)))return!1;return!0;case d:case p:case q:return nr(+t,+e);case h:return t.name==e.name&&t.message==e.message;case _:case w:return t==e+"";case y:var s=ut;case k:var c=i&a;if(s||(s=ct),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;i|=l,u.set(t,e);var v=Ie(s(t),s(e),n,o,i,u);return u.delete(t),v;case x:if(Bt)return Bt.call(t)==Bt.call(e)}return!1}function De(t,e,r,n,o,i){var l=o&a,u=yr(t),s=u.length,c,f;if(s!=yr(e).length&&!l)return!1;var d=s;for(;d--;){var p=u[d];if(!(l?p in e:qt.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var v=!0;i.set(t,e),i.set(e,t);var b=l;for(;++d<s;){var y=t[p=u[d]],q=e[p];if(n)var g=l?n(q,y,p,e,t,i):n(y,q,p,t,e,i);if(!(void 0===g?y===q||r(y,q,n,o,i):g)){v=!1;break}b||(b="constructor"==p)}if(v&&!b){var m=t.constructor,_=e.constructor;m!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return i.delete(t),i.delete(e),v}function ze(t,e){var r=t.__data__;return Ve(e)?r["string"==typeof e?"string":"hash"]:r.map}function Ue(t){var e=yr(t),r=e.length;for(;r--;){var n=e[r],o=t[n];e[r]=[n,o,We(o)]}return e}function Fe(t,e){var r=lt(t,e);return Oe(r)?r:void 0}var He=me;function Ke(t,e,r){var n,o=-1,i=(e=$e(e,t)?[e]:Pe(e)).length;for(;++o<i;){var l=Je(e[o]);if(!(n=null!=t&&r(t,l)))break;t=t[l]}if(n)return n;var i;return!!(i=t?t.length:0)&&sr(i)&&Ye(l,i)&&(ir(t)||or(t))}function Ye(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||K.test(t))&&t>-1&&t%1==0&&t<e}function $e(t,e){if(ir(t))return!1;var r=typeof t;if("number"==r||"symbol"==r||"boolean"==r||null==t||dr(t))return!0;return B.test(t)||!I.test(t)||null!=e&&t in Object(e)}function Ve(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ze(t){return!!vt&&vt in t}function Ge(t){var e=t&&t.constructor,r;return t===("function"==typeof e&&e.prototype||pt)}function We(t){return t===t&&!cr(t)}function Xe(t,e){return function(r){if(null==r)return!1;return r[t]===e&&(void 0!==e||t in Object(r))}}(Et&&He(new Et(new ArrayBuffer(1)))!=j||jt&&He(new jt)!=y||At&&He(At.resolve())!=m||Nt&&He(new Nt)!=k||Tt&&He(new Tt)!=O)&&(He=function(t){var e=gt.call(t),r=e==g?t.constructor:void 0,n=r?tr(r):void 0;if(n)switch(n){case Ct:return j;case Pt:return y;case Lt:return m;case Rt:return k;case Mt:return O}return e});var Qe=rr(function(t){t=hr(t);var e=[];return D.test(t)&&e.push(""),t.replace(z,function(t,r,n,o){e.push(n?o.replace(F,"$1"):r||t)}),e});function Je(t){if("string"==typeof t||dr(t))return t;var e=t+"";return"0"==e&&1/t==-u?"-0":e}function tr(t){if(null!=t){try{return yt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var er=Le(function(t,e,r){qt.call(t,r)?t[r].push(e):t[r]=[e]});function rr(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var l=t.apply(this,n);return r.cache=i.set(o,l),l};return r.cache=new(rr.Cache||Qt),r}function nr(t,e){return t===e||t!==t&&e!==e}function or(t){return ar(t)&&qt.call(t,"callee")&&(!wt.call(t,"callee")||gt.call(t)==c)}rr.Cache=Qt;var ir=Array.isArray;function lr(t){return null!=t&&sr(t.length)&&!ur(t)}function ar(t){return fr(t)&&lr(t)}function ur(t){var e=cr(t)?gt.call(t):"";return e==v||e==b}function sr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function cr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function fr(t){return!!t&&"object"==typeof t}function dr(t){return"symbol"==typeof t||fr(t)&&gt.call(t)==x}var pr=tt?it(tt):Ee;function hr(t){return null==t?"":Ce(t)}function vr(t,e,r){var n=null==t?void 0:ge(t,e);return void 0===n?r:n}function br(t,e){return null!=t&&Ke(t,e,_e)}function yr(t){return lr(t)?pe(t):Ae(t)}function qr(t){return t}function gr(t){return $e(t)?nt(Je(t)):Se(t)}r.exports=er}).call(e,r("DuR2"),r("3IRH")(t))},"3IRH":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"3f40":function(t,e,r){var n=r("gHPF");var o;"string"===typeof n&&(n=[[t.i,n,""]]);var i={};i.transform=void 0;var l=r("MTIv")(n,i);n.locals&&(t.exports=n.locals)},"4qOc":function(t,e,r){var n=r("suyo");var o;"string"===typeof n&&(n=[[t.i,n,""]]);var i={};i.transform=void 0;var l=r("MTIv")(n,i);n.locals&&(t.exports=n.locals)},"5bEi":function(t,e){var r=function(){var t=this;var e=t.$createElement;var r=t._self._c||e;return r("div",[r("file-picker-modal",{attrs:{visible:t.showFilePicker,"current-files":void 0,"show-btn":!1,"show-preview":!1,name:"content","picker-id":"image"},on:{"update:files":function(e){return t.insertQuillImage(e)},"closed:modal":function(e){return t.fileModalClosed()}}}),t._v(" "),r("el-form-item",{attrs:{label:t.contentLabel,prop:t.content.content_name}},["quill"===t.content.type?r("quill-editor",{ref:"quillEditor"+t.content.content_name,attrs:{options:t.editorOptions},model:{value:t.content.content,callback:function(e){t.$set(t.content,"content",e)},expression:"content.content"}}):"json"===t.content.type?[r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{md:{span:22,offset:2}}},[t._l(t.content.content,function(e,n){return r("el-row",{key:n},[r("span",{staticStyle:{display:"block"}},[t._v(t._s(t.inputLabel(n)))]),t._v(" "),n.toUpperCase().includes("DATE")?r("div",[r("el-date-picker",{staticStyle:{width:"100%","max-width":"300px"},attrs:{type:"date",size:"small",placeholder:"Pick a date",format:"dd/MM/yyyy","value-format":"dd-MM-yyy"},model:{value:t.content.content[n],callback:function(e){t.$set(t.content.content,n,e)},expression:"content.content[json_key]"}}),t._v(" "),t.editable?r("el-popover",{ref:"json_content_delete_confirm_"+n,refInFor:!0,attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs["json_content_delete_confirm_"+n][0].doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteJsonContent(n)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{staticClass:"mini_delete",attrs:{slot:"reference",plain:"",size:"mini",type:"danger",icon:"el-icon-error"},slot:"reference"})],1):t._e()],1):n.toUpperCase().includes("NUMBER")||n.toUpperCase().includes("VALUE")||n.toUpperCase().includes("AMOUNT")?r("div",{staticStyle:{width:"100%"}},[r("el-input-number",{attrs:{controls:!1,size:"small"},model:{value:t.content.content[n],callback:function(e){t.$set(t.content.content,n,e)},expression:"content.content[json_key]"}}),t._v(" "),t.editable?r("el-popover",{ref:"json_content_delete_confirm_"+n,refInFor:!0,attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs["json_content_delete_confirm_"+n][0].doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteJsonContent(n)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{staticClass:"mini_delete",attrs:{slot:"reference",plain:"",size:"mini",type:"danger",icon:"el-icon-error"},slot:"reference"})],1):t._e()],1):n.toUpperCase().includes("COST")?r("div",{staticStyle:{width:"100%"}},[r("span",{staticClass:"currency --small"},[t._v(t._s(t.shopData.currency))]),r("el-input-number",{attrs:{size:"small",controls:!1,precision:3},model:{value:t.content.content[n],callback:function(e){t.$set(t.content.content,n,e)},expression:"content.content[json_key]"}}),t._v(" "),t.editable?r("el-popover",{ref:"json_content_delete_confirm_"+n,refInFor:!0,attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs["json_content_delete_confirm_"+n][0].doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteJsonContent(n)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{staticClass:"mini_delete",attrs:{slot:"reference",plain:"",size:"mini",type:"danger",icon:"el-icon-error"},slot:"reference"})],1):t._e()],1):n.toUpperCase().includes("GALLERY")||n.toUpperCase().includes("FILES")||n.toUpperCase().includes("IMAGES")?r("div",[r("file-picker-modal",{attrs:{"current-files":t.content.content[n]&&t.content.content[n][0]?t.content.content[n]:void 0,"show-btn":!0,name:t.capitalize(n.replace(/_/g," ")),"picker-id":n},on:{"update:files":function(e){return t.content.content[n]=e}}}),t._v(" "),t.editable?r("el-popover",{ref:"json_content_delete_confirm_"+n,refInFor:!0,attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs["json_content_delete_confirm_"+n][0].doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteJsonContent(n)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{staticClass:"mini_delete",attrs:{slot:"reference",plain:"",size:"mini",type:"danger",icon:"el-icon-error"},slot:"reference"})],1):t._e()],1):n.toUpperCase().includes("IMAGE")||n.toUpperCase().includes("FILE")?r("div",[r("file-picker-modal",{attrs:{"current-files":t.content.content[n]&&t.content.content[n][0]?[t.content.content[n][0]]:void 0,"show-btn":!0,name:t.capitalize(n.replace(/_/g," ")),selectable:1,"picker-id":n},on:{"update:files":function(e){return t.content.content[n]=e}}}),t._v(" "),t.editable?r("el-popover",{ref:"json_content_delete_confirm_"+n,refInFor:!0,attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs["json_content_delete_confirm_"+n][0].doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteJsonContent(n)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{staticClass:"mini_delete",attrs:{slot:"reference",plain:"",size:"mini",type:"danger",icon:"el-icon-error"},slot:"reference"})],1):t._e()],1):n.toUpperCase().includes("CHECK")||n.toUpperCase().includes("CHECKBOX")?r("div",[r("el-checkbox",{model:{value:t.content.content[n],callback:function(e){t.$set(t.content.content,n,e)},expression:"content.content[json_key]"}})],1):n.toUpperCase().includes("MULTI")?r("div",[r("content-inner",{attrs:{"show-section-title":!1,"on-delete-content":t.deleteJsonContent,content:{content_name:n,content:t.content.content[n],type:"json"},"content-key":n,editable:!0,"language-options":!1}})],1):r("div",[r("el-input",{staticStyle:{width:"100%","max-width":"300px"},attrs:{size:"small"},model:{value:t.content.content[n],callback:function(e){t.$set(t.content.content,n,e)},expression:"content.content[json_key]"}}),t._v(" "),t.editable?r("el-popover",{ref:"json_content_delete_confirm_"+n,refInFor:!0,attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs["json_content_delete_confirm_"+n][0].doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteJsonContent(n)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{staticClass:"mini_delete",attrs:{slot:"reference",plain:"",size:"mini",type:"danger",icon:"el-icon-error"},slot:"reference"})],1):t._e()],1)])}),t._v(" "),r("div",[t.editable?r("el-button",{staticClass:"mini_add",attrs:{slot:"reference",plain:"",size:"mini",type:"success"},on:{click:function(e){t.addJsonContent()}},slot:"reference"},[t._v("Add Content")]):t._e()],1)],2)],1)]:r("el-input",{attrs:{size:"small",type:"textarea"===t.content.type?"textarea":"",autofocus:!0},model:{value:t.content.content,callback:function(e){t.$set(t.content,"content",e)},expression:"content.content"}}),t._v(" "),t.editable?r("el-popover",{ref:"content_delete_confirm",attrs:{placement:"top",width:"160"}},[r("p",[t._v("Delete content?")]),t._v(" "),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.$refs.content_delete_confirm.doClose()}}},[t._v("Cancel")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.deleteContent(t.contentKey)}}},[t._v("Confirm")])],1),t._v(" "),r("el-button",{attrs:{slot:"reference",size:"mini",type:"danger"},slot:"reference"},[t._v("Delete")])],1):t._e()],2)],1)};var n=[];t.exports={render:r,staticRenderFns:n}},"63KW":function(t,e,r){"use strict";(function(t){var n=r("pYSm");var o=r("ujcs");var i=r("sOR5");function l(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=s.prototype:(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,r){if(!s.TYPED_ARRAY_SUPPORT&&!(this instanceof s))return new s(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer)return b(t,e,r,n);if("string"===typeof e)return h(t,e,r);return y(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e,r,n){if(f(e),e<=0)return u(t,e);if(void 0!==r)return"string"===typeof n?u(t,e).fill(r,n):u(t,e).fill(r);return u(t,e)}function p(t,e){if(f(e),t=u(t,e<0?0:0|q(e)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e,r){if("string"===typeof r&&""!==r||(r="utf8"),!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(e,r);var o=(t=u(t,n)).write(e,r);return o!==n&&(t=t.slice(0,o)),t}function v(t,e){var r=e.length<0?0:0|q(e.length);t=u(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function b(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),s.TYPED_ARRAY_SUPPORT?(t=e).__proto__=s.prototype:t=v(t,e),t}function y(t,e){if(s.isBuffer(e)){var r=0|q(e.length);if(0===(t=u(t,r)).length)return t;return e.copy(t,0,0,r),t}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e){if("number"!==typeof e.length||et(e.length))return u(t,0);return v(t,e)}if("Buffer"===e.type&&i(e.data))return v(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function q(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),s.alloc(+t)}function m(t,e){if(s.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;var n=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(n)return W(t).length;e=(""+e).toLowerCase(),n=!0}}function _(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return M(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function k(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function w(t,e,r,n,o){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof e&&(e=s.from(e,n)),s.isBuffer(e)){if(0===e.length)return-1;return x(t,e,r,n,o)}if("number"===typeof e){if(e&=255,s.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf)return o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r);return x(t,[e],r,n,o)}throw new TypeError("val must be string, number or Buffer")}function x(t,e,r,n,o){var i=1;var l=t.length;var a=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;i=2,l/=2,a/=2,r/=2}function u(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}var s;if(o){var c=-1;for(s=r;s<l;s++)if(u(t,s)===u(e,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===a)return c*i}else-1!==c&&(s-=s-c),c=-1}else for(r+a>l&&(r=l-a),s=r;s>=0;s--){var f=!0;for(var d=0;d<a;d++)if(u(t,s+d)!==u(e,d)){f=!1;break}if(f)return s}return-1}function O(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var l=0;l<n;++l){var a=parseInt(e.substr(2*l,2),16);if(isNaN(a))return l;t[r+l]=a}return l}function E(t,e,r,n){return tt(W(e,t.length-r),t,r,n)}function j(t,e,r,n){return tt(X(e),t,r,n)}function A(t,e,r,n){return j(t,e,r,n)}function N(t,e,r,n){return tt(J(e),t,r,n)}function T(t,e,r,n){return tt(Q(e,t.length-r),t,r,n)}function S(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);var n=[];var o=e;for(;o<r;){var i=t[o];var l=null;var a=i>239?4:i>223?3:i>191?2:1;var u,s,c,f;if(o+a<=r)switch(a){case 1:i<128&&(l=i);break;case 2:128===(192&(u=t[o+1]))&&(f=(31&i)<<6|63&u)>127&&(l=f);break;case 3:u=t[o+1],s=t[o+2],128===(192&u)&&128===(192&s)&&(f=(15&i)<<12|(63&u)<<6|63&s)>2047&&(f<55296||f>57343)&&(l=f);break;case 4:u=t[o+1],s=t[o+2],c=t[o+3],128===(192&u)&&128===(192&s)&&128===(192&c)&&(f=(15&i)<<18|(63&u)<<12|(63&s)<<6|63&c)>65535&&f<1114112&&(l=f)}null===l?(l=65533,a=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=a}return L(n)}e.Buffer=s,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:l(),e.kMaxLength=a(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,r){return c(null,t,e,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,r){return d(null,t,e,r)},s.allocUnsafe=function(t){return p(null,t)},s.allocUnsafeSlow=function(t){return p(null,t)},s.isBuffer=function t(e){return!(null==e||!e._isBuffer)},s.compare=function t(e,r){if(!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;var n=e.length;var o=r.length;for(var i=0,l=Math.min(n,o);i<l;++i)if(e[i]!==r[i]){n=e[i],o=r[i];break}if(n<o)return-1;if(o<n)return 1;return 0},s.isEncoding=function t(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function t(e,r){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var n;if(void 0===r)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=s.allocUnsafe(r);var l=0;for(n=0;n<e.length;++n){var a=e[n];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,l),l+=a.length}return o},s.byteLength=m,s.prototype._isBuffer=!0,s.prototype.swap16=function t(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)k(this,r,r+1);return this},s.prototype.swap32=function t(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)k(this,r,r+3),k(this,r+1,r+2);return this},s.prototype.swap64=function t(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)k(this,r,r+7),k(this,r+1,r+6),k(this,r+2,r+5),k(this,r+3,r+4);return this},s.prototype.toString=function t(){var e=0|this.length;if(0===e)return"";if(0===arguments.length)return C(this,0,e);return _.apply(this,arguments)},s.prototype.equals=function t(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(this===e)return!0;return 0===s.compare(this,e)},s.prototype.inspect=function t(){var r="";var n=e.INSPECT_MAX_BYTES;return this.length>0&&(r=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(r+=" ... ")),"<Buffer "+r+">"},s.prototype.compare=function t(e,r,n,o,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),r<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;var l=i-o;var a=n-r;var u=Math.min(l,a);var c=this.slice(o,i);var f=e.slice(r,n);for(var d=0;d<u;++d)if(c[d]!==f[d]){l=c[d],a=f[d];break}if(l<a)return-1;if(a<l)return 1;return 0},s.prototype.includes=function t(e,r,n){return-1!==this.indexOf(e,r,n)},s.prototype.indexOf=function t(e,r,n){return w(this,e,r,n,!0)},s.prototype.lastIndexOf=function t(e,r,n){return w(this,e,r,n,!1)},s.prototype.write=function t(e,r,n,o){if(void 0===r)o="utf8",n=this.length,r=0;else if(void 0===n&&"string"===typeof r)o=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r|=0,isFinite(n)?(n|=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var i=this.length-r;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");var l=!1;for(;;)switch(o){case"hex":return O(this,e,r,n);case"utf8":case"utf-8":return E(this,e,r,n);case"ascii":return j(this,e,r,n);case"latin1":case"binary":return A(this,e,r,n);case"base64":return N(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,r,n);default:if(l)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),l=!0}},s.prototype.toJSON=function t(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function L(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var r="";var n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=P));return r}function R(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function M(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function I(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);var o="";for(var i=e;i<r;++i)o+=G(t[i]);return o}function B(t,e,r){var n=t.slice(e,r);var o="";for(var i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function D(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,r,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function U(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function F(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function H(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function K(t,e,r,n,i){return i||H(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),o.write(t,e,r,n,23,4),r+4}function Y(t,e,r,n,i){return i||H(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),o.write(t,e,r,n,52,8),r+8}s.prototype.slice=function t(e,r){var n=this.length;var o;if(e=~~e,r=void 0===r?n:~~r,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),r<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<e&&(r=e),s.TYPED_ARRAY_SUPPORT)(o=this.subarray(e,r)).__proto__=s.prototype;else{var i=r-e;o=new s(i,void 0);for(var l=0;l<i;++l)o[l]=this[l+e]}return o},s.prototype.readUIntLE=function t(e,r,n){e|=0,r|=0,n||D(e,r,this.length);var o=this[e];var i=1;var l=0;for(;++l<r&&(i*=256);)o+=this[e+l]*i;return o},s.prototype.readUIntBE=function t(e,r,n){e|=0,r|=0,n||D(e,r,this.length);var o=this[e+--r];var i=1;for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o},s.prototype.readUInt8=function t(e,r){return r||D(e,1,this.length),this[e]},s.prototype.readUInt16LE=function t(e,r){return r||D(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function t(e,r){return r||D(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function t(e,r){return r||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function t(e,r){return r||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function t(e,r,n){e|=0,r|=0,n||D(e,r,this.length);var o=this[e];var i=1;var l=0;for(;++l<r&&(i*=256);)o+=this[e+l]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*r)),o},s.prototype.readIntBE=function t(e,r,n){e|=0,r|=0,n||D(e,r,this.length);var o=r;var i=1;var l=this[e+--o];for(;o>0&&(i*=256);)l+=this[e+--o]*i;return l>=(i*=128)&&(l-=Math.pow(2,8*r)),l},s.prototype.readInt8=function t(e,r){if(r||D(e,1,this.length),!(128&this[e]))return this[e];return-1*(255-this[e]+1)},s.prototype.readInt16LE=function t(e,r){r||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function t(e,r){r||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function t(e,r){return r||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function t(e,r){return r||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function t(e,r){return r||D(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function t(e,r){return r||D(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function t(e,r){return r||D(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function t(e,r){return r||D(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function t(e,r,n,o){var i;(e=+e,r|=0,n|=0,o)||z(this,e,r,n,Math.pow(2,8*n)-1,0);var l=1;var a=0;for(this[r]=255&e;++a<n&&(l*=256);)this[r+a]=e/l&255;return r+n},s.prototype.writeUIntBE=function t(e,r,n,o){var i;(e=+e,r|=0,n|=0,o)||z(this,e,r,n,Math.pow(2,8*n)-1,0);var l=n-1;var a=1;for(this[r+l]=255&e;--l>=0&&(a*=256);)this[r+l]=e/a&255;return r+n},s.prototype.writeUInt8=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=255&e,r+1},s.prototype.writeUInt16LE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[r]=255&e,this[r+1]=e>>>8):U(this,e,r,!0),r+2},s.prototype.writeUInt16BE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=255&e):U(this,e,r,!1),r+2},s.prototype.writeUInt32LE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=255&e):F(this,e,r,!0),r+4},s.prototype.writeUInt32BE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=255&e):F(this,e,r,!1),r+4},s.prototype.writeIntLE=function t(e,r,n,o){if(e=+e,r|=0,!o){var i=Math.pow(2,8*n-1);z(this,e,r,n,i-1,-i)}var l=0;var a=1;var u=0;for(this[r]=255&e;++l<n&&(a*=256);)e<0&&0===u&&0!==this[r+l-1]&&(u=1),this[r+l]=(e/a>>0)-u&255;return r+n},s.prototype.writeIntBE=function t(e,r,n,o){if(e=+e,r|=0,!o){var i=Math.pow(2,8*n-1);z(this,e,r,n,i-1,-i)}var l=n-1;var a=1;var u=0;for(this[r+l]=255&e;--l>=0&&(a*=256);)e<0&&0===u&&0!==this[r+l+1]&&(u=1),this[r+l]=(e/a>>0)-u&255;return r+n},s.prototype.writeInt8=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=255&e,r+1},s.prototype.writeInt16LE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[r]=255&e,this[r+1]=e>>>8):U(this,e,r,!0),r+2},s.prototype.writeInt16BE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=255&e):U(this,e,r,!1),r+2},s.prototype.writeInt32LE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[r]=255&e,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):F(this,e,r,!0),r+4},s.prototype.writeInt32BE=function t(e,r,n){return e=+e,r|=0,n||z(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=255&e):F(this,e,r,!1),r+4},s.prototype.writeFloatLE=function t(e,r,n){return K(this,e,r,!0,n)},s.prototype.writeFloatBE=function t(e,r,n){return K(this,e,r,!1,n)},s.prototype.writeDoubleLE=function t(e,r,n){return Y(this,e,r,!0,n)},s.prototype.writeDoubleBE=function t(e,r,n){return Y(this,e,r,!1,n)},s.prototype.copy=function t(e,r,n,o){if(n||(n=0),o||0===o||(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===e.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var i=o-n;var l;if(this===e&&n<r&&r<o)for(l=i-1;l>=0;--l)e[l+r]=this[l+n];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(l=0;l<i;++l)e[l+r]=this[l+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),r);return i},s.prototype.fill=function t(e,r,n,o){if("string"===typeof e){if("string"===typeof r?(o=r,r=0,n=this.length):"string"===typeof n&&(o=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==o&&"string"!==typeof o)throw new TypeError("encoding must be a string");if("string"===typeof o&&!s.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else"number"===typeof e&&(e&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;var l;if(r>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(l=r;l<n;++l)this[l]=e;else{var a=s.isBuffer(e)?e:W(new s(e,o).toString());var u=a.length;for(l=0;l<n-r;++l)this[l+r]=a[l%u]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function V(t){if((t=Z(t).replace($,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}function Z(t){if(t.trim)return t.trim();return t.replace(/^\s+|\s+$/g,"")}function G(t){if(t<16)return"0"+t.toString(16);return t.toString(16)}function W(t,e){var r;e=e||1/0;var n=t.length;var o=null;var i=[];for(var l=0;l<n;++l){if((r=t.charCodeAt(l))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(l+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function X(t){var e=[];for(var r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function Q(t,e){var r,n,o;var i=[];for(var l=0;l<t.length&&!((e-=2)<0);++l)n=(r=t.charCodeAt(l))>>8,o=r%256,i.push(o),i.push(n);return i}function J(t){return n.toByteArray(V(t))}function tt(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function et(t){return t!==t}}).call(e,r("DuR2"))},"6S5T":function(t,e,r){function n(t){r("DAoA")}var o;var i;var l;var a=!1;var u;var s=null;var c=null;var f=r("VU/8")(r("CXA+"),r("/Y8N"),!1,n,null,null);t.exports=f.exports},"91l+":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={inputLabel:function t(e){if("string"===typeof e)return e.replace(/_/g," ").replace("multi","").replace("Multi","").replace("checkbox","").replace("Checkbox","")}}},B2GD:function(t,e,r){(e=t.exports=r("FZ+f")(!1)).push([t.i,'/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover{color:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\\D7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:" ";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}',""])},"CXA+":function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=i(r("OTgA"));function i(t){return t&&t.__esModule?t:{default:t}}var l=r("2KFh");var a=r("+m4Q");var u=r("KLrO");e.default={name:"ContentComponent",components:{ContentInner:o.default},props:{content:{required:!0,type:Array},editable:{required:!1,type:Boolean,default:function t(){return!0}},languageOptions:{required:!1,type:Boolean,default:function t(){return!0}},language:{required:!1,type:String,default:function t(){return"en"}},accordian:{required:!1,type:Boolean,default:function t(){return!0}}},data:function t(){return{newContent:{type:"text"},form:{},showModal:!1,loading:!1,activeContentTab:"en",accordianTab:null}},computed:{groupedByLangContent:function t(){var e=a(this.content,["order"],["asc"]);return e=l(e,"language"),Object.keys(e).length>0?e:{en:[]}},selectedLangContent:function t(){var e=a(this.content,["order"],["asc"]);return void 0!==(e=u(e,["language",this.language]))?e:[]},contentTypes:function t(){return[{label:"Text",value:"text"},{label:"Text Area",value:"textarea"},{label:"Content Editor",value:"quill"},{label:"Multi",value:"json"}]}},watch:{},mounted:function t(){console.log("ContentComponent.vue Mounted")},methods:{addContent:function t(e){var r=this;this.$refs.contentAdd.validate(function(t){t&&(r.content.push({order:r.content.length+1,language:e,content:"json"===r.newContent.type?{}:"",content_name:r.newContent.name,type:r.newContent.type}),r.showModal=!1,r.newContent={})})},onDeleteContent:function t(e){this.content.splice(e,1)}}}},DAoA:function(t,e,r){var n=r("dCH+");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("rjj0")("3dfa740d",n,!0,{})},G0J2:function(t,e,r){var n,o;n=this,o=function(t){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=2)}([function(e,r){e.exports=t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4),o=r.n(n),i=r(6),l,a=r(5)(o.a,i.a,!1,null,null,null);e.default=a.exports},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.quillEditor=e.Quill=void 0;var o,i=n(r(0)),l,a=n(r(1)),u=window.Quill||i.default,s=function(t,e){e&&(a.default.props.globalOptions.default=function(){return e}),t.component(a.default.name,a.default)},c={Quill:u,quillEditor:a.default,install:s};e.default=c,e.Quill=u,e.quillEditor=a.default,e.install=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(r(0)),l,a=n(r(3)),u=window.Quill||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},writable:!0,configurable:!0}),e.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:a.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new u(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)}),this.quill.on("text-change",function(e,r,n){var o=t.$refs.editor.children[0].innerHTML,i=t.quill,l=t.quill.getText();"<p><br></p>"===o&&(o=""),t._content=o,t.$emit("input",t._content),t.$emit("change",{html:o,text:l,quill:i})}),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(t,e){t.exports=function(t,e,r,n,o,i){var l,a=t=t||{},u=typeof t.default;"object"!==u&&"function"!==u||(l=t,a=t.default);var s="function"==typeof a?a.options:a;var c;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId=o),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=c):n&&(c=n),c){var f=s.functional,d=f?s.render:s.beforeCreate;f?(s._injectStyles=c,s.render=function(t,e){return c.call(e),d(t,e)}):s.beforeCreate=d?[].concat(d,c):[c]}return{esModule:l,exports:a,options:s}}},function(t,e,r){"use strict";var n,o,i={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"quill-editor"},[t._t("toolbar"),t._v(" "),r("div",{ref:"editor"})],2)},staticRenderFns:[]};e.a=i}])},t.exports=o(r("yPE/"))},KLrO:function(t,e,r){(function(t,r){var n=200;var o="Expected a function";var i="__lodash_hash_undefined__";var l=1,a=2;var u=1/0,s=9007199254740991;var c="[object Arguments]",f="[object Array]",d="[object Boolean]",p="[object Date]",h="[object Error]",v="[object Function]",b="[object GeneratorFunction]",y="[object Map]",q="[object Number]",g="[object Object]",m="[object Promise]",_="[object RegExp]",k="[object Set]",w="[object String]",x="[object Symbol]",O="[object WeakMap]";var E="[object ArrayBuffer]",j="[object DataView]",A,N="[object Float64Array]",T="[object Int8Array]",S="[object Int16Array]",C="[object Int32Array]",P="[object Uint8Array]",L="[object Uint8ClampedArray]",R="[object Uint16Array]",M="[object Uint32Array]";var I=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,D=/^\./,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var U=/[\\^$.*+?()[\]{}|]/g;var F=/\\(\\)?/g;var H=/^\[object .+?Constructor\]$/;var K=/^(?:0|[1-9]\d*)$/;var Y={};Y["[object Float32Array]"]=Y[N]=Y[T]=Y[S]=Y[C]=Y[P]=Y[L]=Y[R]=Y[M]=!0,Y[c]=Y[f]=Y[E]=Y[d]=Y[j]=Y[p]=Y[h]=Y[v]=Y[y]=Y[q]=Y[g]=Y[_]=Y[k]=Y[w]=Y[O]=!1;var $="object"==typeof t&&t&&t.Object===Object&&t;var V="object"==typeof self&&self&&self.Object===Object&&self;var Z=$||V||Function("return this")();var G="object"==typeof e&&e&&!e.nodeType&&e;var W=G&&"object"==typeof r&&r&&!r.nodeType&&r;var X;var Q=W&&W.exports===G&&$.process;var J=function(){try{return Q&&Q.binding("util")}catch(t){}}();var tt=J&&J.isTypedArray;function et(t,e){var r=-1,n=t?t.length:0,o=0,i=[];for(;++r<n;){var l=t[r];e(l,r,t)&&(i[o++]=l)}return i}function rt(t,e){var r=-1,n=t?t.length:0;for(;++r<n;)if(e(t[r],r,t))return!0;return!1}function nt(t){return function(e){return null==e?void 0:e[t]}}function ot(t,e){var r=-1,n=Array(t);for(;++r<t;)n[r]=e(r);return n}function it(t){return function(e){return t(e)}}function lt(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function ut(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function st(t,e){return function(r){return t(e(r))}}function ct(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ft=Array.prototype,dt=Function.prototype,pt=Object.prototype;var ht=Z["__core-js_shared__"];var vt=(bt=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||""))?"Symbol(src)_1."+bt:"";var bt;var yt=dt.toString;var qt=pt.hasOwnProperty;var gt=pt.toString;var mt=RegExp("^"+yt.call(qt).replace(U,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var _t=Z.Symbol,kt=Z.Uint8Array,wt=pt.propertyIsEnumerable,xt=ft.splice;var Ot=st(Object.keys,Object);var Et=Ue(Z,"DataView"),jt=Ue(Z,"Map"),At=Ue(Z,"Promise"),Nt=Ue(Z,"Set"),Tt=Ue(Z,"WeakMap"),St=Ue(Object,"create");var Ct=Je(Et),Pt=Je(jt),Lt=Je(At),Rt=Je(Nt),Mt=Je(Tt);var It=_t?_t.prototype:void 0,Bt=It?It.valueOf:void 0,Dt=It?It.toString:void 0;function zt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ut(){this.__data__=St?St(null):{}}function Ft(t){return this.has(t)&&delete this.__data__[t]}function Ht(t){var e=this.__data__;if(St){var r=e[t];return r===i?void 0:r}return qt.call(e,t)?e[t]:void 0}function Kt(t){var e=this.__data__;return St?void 0!==e[t]:qt.call(e,t)}function Yt(t,e){var r;return this.__data__[t]=St&&void 0===e?i:e,this}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Vt(){this.__data__=[]}function Zt(t){var e=this.__data__,r=he(e,t);if(r<0)return!1;var n;return r==e.length-1?e.pop():xt.call(e,r,1),!0}function Gt(t){var e=this.__data__,r=he(e,t);return r<0?void 0:e[r][1]}function Wt(t){return he(this.__data__,t)>-1}function Xt(t,e){var r=this.__data__,n=he(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function Qt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Jt(){this.__data__={hash:new zt,map:new(jt||$t),string:new zt}}function te(t){return De(this,t).delete(t)}function ee(t){return De(this,t).get(t)}function re(t){return De(this,t).has(t)}function ne(t,e){return De(this,t).set(t,e),this}function oe(t){var e=-1,r=t?t.length:0;for(this.__data__=new Qt;++e<r;)this.add(t[e])}function ie(t){return this.__data__.set(t,i),this}function le(t){return this.__data__.has(t)}function ae(t){this.__data__=new $t(t)}function ue(){this.__data__=new $t}function se(t){return this.__data__.delete(t)}function ce(t){return this.__data__.get(t)}function fe(t){return this.__data__.has(t)}function de(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!jt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new Qt(o)}return r.set(t,e),this}function pe(t,e){var r=or(t)||nr(t)?ot(t.length,String):[];var n=r.length,o=!!n;for(var i in t)!e&&!qt.call(t,i)||o&&("length"==i||Ke(i,n))||r.push(i);return r}function he(t,e){var r=t.length;for(;r--;)if(rr(t[r][0],e))return r;return-1}zt.prototype.clear=Ut,zt.prototype.delete=Ft,zt.prototype.get=Ht,zt.prototype.has=Kt,zt.prototype.set=Yt,$t.prototype.clear=Vt,$t.prototype.delete=Zt,$t.prototype.get=Gt,$t.prototype.has=Wt,$t.prototype.set=Xt,Qt.prototype.clear=Jt,Qt.prototype.delete=te,Qt.prototype.get=ee,Qt.prototype.has=re,Qt.prototype.set=ne,oe.prototype.add=oe.prototype.push=ie,oe.prototype.has=le,ae.prototype.clear=ue,ae.prototype.delete=se,ae.prototype.get=ce,ae.prototype.has=fe,ae.prototype.set=de;var ve=Le(qe);function be(t,e){var r=[];return ve(t,function(t,n,o){e(t,n,o)&&r.push(t)}),r}var ye=Re();function qe(t,e){return t&&ye(t,e,br)}function ge(t,e){var r=0,n=(e=Ye(e,t)?[e]:Pe(e)).length;for(;null!=t&&r<n;)t=t[Qe(e[r++])];return r&&r==n?t:void 0}function me(t){return gt.call(t)}function _e(t,e){return null!=t&&e in Object(t)}function ke(t,e,r,n,o){if(t===e)return!0;if(null==t||null==e||!sr(t)&&!cr(e))return t!==t&&e!==e;return we(t,e,ke,r,n,o)}function we(t,e,r,n,o,i){var l=or(t),u=or(e),s=f,d=f;l||(s=(s=Fe(t))==c?g:s),u||(d=(d=Fe(e))==c?g:d);var p=s==g&&!at(t),h=d==g&&!at(e),v=s==d;if(v&&!p)return i||(i=new ae),l||dr(t)?Me(t,e,r,n,o,i):Ie(t,e,s,r,n,o,i);if(!(o&a)){var b=p&&qt.call(t,"__wrapped__"),y=h&&qt.call(e,"__wrapped__");if(b||y){var q=b?t.value():t,m=y?e.value():e;return i||(i=new ae),r(q,m,n,o,i)}}if(!v)return!1;return i||(i=new ae),Be(t,e,r,n,o,i)}function xe(t,e,r,n){var o=r.length,i=o,u=!n;if(null==t)return!i;for(t=Object(t);o--;){var s=r[o];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++o<i;){var c=(s=r[o])[0],f=t[c],d=s[1];if(u&&s[2]){if(void 0===f&&!(c in t))return!1}else{var p=new ae;if(n)var h=n(f,d,c,t,e,p);if(!(void 0===h?ke(d,f,n,l|a,p):h))return!1}}return!0}function Oe(t){if(!sr(t)||Ve(t))return!1;var e;return(ar(t)||at(t)?mt:H).test(Je(t))}function Ee(t){return cr(t)&&ur(t.length)&&!!Y[gt.call(t)]}function je(t){if("function"==typeof t)return t;if(null==t)return yr;if("object"==typeof t)return or(t)?Te(t[0],t[1]):Ne(t);return qr(t)}function Ae(t){if(!Ze(t))return Ot(t);var e=[];for(var r in Object(t))qt.call(t,r)&&"constructor"!=r&&e.push(r);return e}function Ne(t){var e=ze(t);if(1==e.length&&e[0][2])return We(e[0][0],e[0][1]);return function(r){return r===t||xe(r,t,e)}}function Te(t,e){if(Ye(t)&&Ge(e))return We(Qe(t),e);return function(r){var n=hr(r,t);return void 0===n&&n===e?vr(r,t):ke(e,n,void 0,l|a)}}function Se(t){return function(e){return ge(e,t)}}function Ce(t){if("string"==typeof t)return t;if(fr(t))return Dt?Dt.call(t):"";var e=t+"";return"0"==e&&1/t==-u?"-0":e}function Pe(t){return or(t)?t:Xe(t)}function Le(t,e){return function(r,n){if(null==r)return r;if(!ir(r))return t(r,n);var o=r.length,i=e?o:-1,l=Object(r);for(;(e?i--:++i<o)&&!1!==n(l[i],i,l););return r}}function Re(t){return function(e,r,n){var o=-1,i=Object(e),l=n(e),a=l.length;for(;a--;){var u=l[t?a:++o];if(!1===r(i[u],u,i))break}return e}}function Me(t,e,r,n,o,i){var u=o&a,s=t.length,c=e.length;if(s!=c&&!(u&&c>s))return!1;var f=i.get(t);if(f&&i.get(e))return f==e;var d=-1,p=!0,h=o&l?new oe:void 0;for(i.set(t,e),i.set(e,t);++d<s;){var v=t[d],b=e[d];if(n)var y=u?n(b,v,d,e,t,i):n(v,b,d,t,e,i);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!rt(e,function(t,e){if(!h.has(e)&&(v===t||r(v,t,n,o,i)))return h.add(e)})){p=!1;break}}else if(v!==b&&!r(v,b,n,o,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function Ie(t,e,r,n,o,i,u){switch(r){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case E:if(t.byteLength!=e.byteLength||!n(new kt(t),new kt(e)))return!1;return!0;case d:case p:case q:return rr(+t,+e);case h:return t.name==e.name&&t.message==e.message;case _:case w:return t==e+"";case y:var s=ut;case k:var c=i&a;if(s||(s=ct),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;i|=l,u.set(t,e);var v=Me(s(t),s(e),n,o,i,u);return u.delete(t),v;case x:if(Bt)return Bt.call(t)==Bt.call(e)}return!1}function Be(t,e,r,n,o,i){var l=o&a,u=br(t),s=u.length,c,f;if(s!=br(e).length&&!l)return!1;var d=s;for(;d--;){var p=u[d];if(!(l?p in e:qt.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var v=!0;i.set(t,e),i.set(e,t);var b=l;for(;++d<s;){var y=t[p=u[d]],q=e[p];if(n)var g=l?n(q,y,p,e,t,i):n(y,q,p,t,e,i);if(!(void 0===g?y===q||r(y,q,n,o,i):g)){v=!1;break}b||(b="constructor"==p)}if(v&&!b){var m=t.constructor,_=e.constructor;m!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return i.delete(t),i.delete(e),v}function De(t,e){var r=t.__data__;return $e(e)?r["string"==typeof e?"string":"hash"]:r.map}function ze(t){var e=br(t),r=e.length;for(;r--;){var n=e[r],o=t[n];e[r]=[n,o,Ge(o)]}return e}function Ue(t,e){var r=lt(t,e);return Oe(r)?r:void 0}var Fe=me;function He(t,e,r){var n,o=-1,i=(e=Ye(e,t)?[e]:Pe(e)).length;for(;++o<i;){var l=Qe(e[o]);if(!(n=null!=t&&r(t,l)))break;t=t[l]}if(n)return n;var i;return!!(i=t?t.length:0)&&ur(i)&&Ke(l,i)&&(or(t)||nr(t))}function Ke(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||K.test(t))&&t>-1&&t%1==0&&t<e}function Ye(t,e){if(or(t))return!1;var r=typeof t;if("number"==r||"symbol"==r||"boolean"==r||null==t||fr(t))return!0;return B.test(t)||!I.test(t)||null!=e&&t in Object(e)}function $e(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ve(t){return!!vt&&vt in t}function Ze(t){var e=t&&t.constructor,r;return t===("function"==typeof e&&e.prototype||pt)}function Ge(t){return t===t&&!sr(t)}function We(t,e){return function(r){if(null==r)return!1;return r[t]===e&&(void 0!==e||t in Object(r))}}(Et&&Fe(new Et(new ArrayBuffer(1)))!=j||jt&&Fe(new jt)!=y||At&&Fe(At.resolve())!=m||Nt&&Fe(new Nt)!=k||Tt&&Fe(new Tt)!=O)&&(Fe=function(t){var e=gt.call(t),r=e==g?t.constructor:void 0,n=r?Je(r):void 0;if(n)switch(n){case Ct:return j;case Pt:return y;case Lt:return m;case Rt:return k;case Mt:return O}return e});var Xe=er(function(t){t=pr(t);var e=[];return D.test(t)&&e.push(""),t.replace(z,function(t,r,n,o){e.push(n?o.replace(F,"$1"):r||t)}),e});function Qe(t){if("string"==typeof t||fr(t))return t;var e=t+"";return"0"==e&&1/t==-u?"-0":e}function Je(t){if(null!=t){try{return yt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function tr(t,e){var r;return(or(t)?et:be)(t,je(e,3))}function er(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var l=t.apply(this,n);return r.cache=i.set(o,l),l};return r.cache=new(er.Cache||Qt),r}function rr(t,e){return t===e||t!==t&&e!==e}function nr(t){return lr(t)&&qt.call(t,"callee")&&(!wt.call(t,"callee")||gt.call(t)==c)}er.Cache=Qt;var or=Array.isArray;function ir(t){return null!=t&&ur(t.length)&&!ar(t)}function lr(t){return cr(t)&&ir(t)}function ar(t){var e=sr(t)?gt.call(t):"";return e==v||e==b}function ur(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function sr(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function cr(t){return!!t&&"object"==typeof t}function fr(t){return"symbol"==typeof t||cr(t)&&gt.call(t)==x}var dr=tt?it(tt):Ee;function pr(t){return null==t?"":Ce(t)}function hr(t,e,r){var n=null==t?void 0:ge(t,e);return void 0===n?r:n}function vr(t,e){return null!=t&&He(t,e,_e)}function br(t){return ir(t)?pe(t):Ae(t)}function yr(t){return t}function qr(t){return Ye(t)?nt(Qe(t)):Se(t)}r.exports=tr}).call(e,r("DuR2"),r("3IRH")(t))},L0zw:function(t,e,r){(e=t.exports=r("FZ+f")(!1)).push([t.i,"",""])},Ndif:function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};var i;r("3f40"),r("4qOc"),r("+cgv");var l=f(r("91l+"));var a=r("NYxO");var u;var s=f(r("6S5T"));var c=r("G0J2");function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p=r("P/uL");e.default=(d(n={name:"ContentInner",components:{quillEditor:c.quillEditor,FilePickerModal:function t(){return r.e(33).then(r.bind(null,"kSKK"))},ContentComponent:s.default},props:{content:{required:!0,type:Object},contentKey:{required:!0,type:[Number,String]},editable:{required:!1,type:Boolean,default:function t(){return!1}},languageOptions:{required:!1,type:Boolean,default:function t(){return!0}},showSectionTitle:{required:!1,type:Boolean,default:function t(){return!0}},onDeleteContent:{required:!1,type:Function,default:function t(){return function(t){}}}},watch:{"content.content":function t(e){console.log(e)}},data:function t(){var e=this;return{editorOptions:{modules:{toolbar:{container:["image","bold","italic","underline","strike",{header:1},{header:2},"blockquote",{list:"ordered"},{list:"bullet"},{align:[]}],handlers:{image:function t(r){e.quillSelection=this.quill.getSelection(),e.showFilePicker=!0,e.quillInstance=this}}}}},showFilePicker:!1,quillInstance:null,quillSelection:null}},computed:o({},(0,a.mapGetters)(["shopData"]),{contentLabel:function t(){var e=this.content.content_name.replace("multi","");return this.showSectionTitle?e+(this.anguageOptions?" ("+(this.content.language?this.content.language:"")+")":""):""}})},"watch",{}),d(n,"mounted",function t(){console.log("ContentInner.vue mounted!")}),d(n,"methods",{deleteJsonContent:function t(e){this.$delete(this.content.content,e)},inputLabel:function t(e){return this.capitalize(l.default.inputLabel(e))},addJsonContent:function t(){var e=this;this.$prompt("Content Name","Content Name",{confirmButtonText:"OK",cancelButtonText:"Cancel",inputValidator:function t(e){return!!e},inputErrorMessage:"Name is required."}).then(function(t){var r=e.content.content;var n=t.value.toUpperCase().includes("MULTI")?{}:"";e.$set(e.content.content,t.value,n)})},deleteContent:function t(){this.onDeleteContent(this.contentKey)},insertQuillImage:function t(e){p(e,function(t){this.quillInstance.quill.insertEmbed(this.quillSelection.index,"image",t.url)}.bind(this)),this.quillInstance=null,this.quillSelection=null},fileModalClosed:function t(){this.showFilePicker=!1,this.quillInstance=null,this.quillSelection=null}}),n)},OTgA:function(t,e,r){function n(t){r("Rfp5")}var o;var i;var l;var a=!1;var u;var s=null;var c=null;var f=r("VU/8")(r("Ndif"),r("5bEi"),!1,n,null,null);t.exports=f.exports},Rfp5:function(t,e,r){var n=r("L0zw");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("rjj0")("24d105eb",n,!0,{})},"dCH+":function(t,e,r){(e=t.exports=r("FZ+f")(!1)).push([t.i,".el-collapse-item__wrap{padding:0 20px}",""])},gHPF:function(t,e,r){(e=t.exports=r("FZ+f")(!1)).push([t.i,'/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}',""])},pYSm:function(t,e,r){"use strict";e.byteLength=c,e.toByteArray=d,e.fromByteArray=v;var n=[];var o=[];var i="undefined"!==typeof Uint8Array?Uint8Array:Array;var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var a=0,u=l.length;a<u;++a)n[a]=l[a],o[l.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");var n;return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t){var e=s(t);var r=e[0];var n=e[1];return 3*(r+n)/4-n}function f(t,e,r){return 3*(e+r)/4-r}function d(t){var e;var r=s(t);var n=r[0];var l=r[1];var a=new i(f(t,n,l));var u=0;var c=l>0?n-4:n;for(var d=0;d<c;d+=4)e=o[t.charCodeAt(d)]<<18|o[t.charCodeAt(d+1)]<<12|o[t.charCodeAt(d+2)]<<6|o[t.charCodeAt(d+3)],a[u++]=e>>16&255,a[u++]=e>>8&255,a[u++]=255&e;return 2===l&&(e=o[t.charCodeAt(d)]<<2|o[t.charCodeAt(d+1)]>>4,a[u++]=255&e),1===l&&(e=o[t.charCodeAt(d)]<<10|o[t.charCodeAt(d+1)]<<4|o[t.charCodeAt(d+2)]>>2,a[u++]=e>>8&255,a[u++]=255&e),a}function p(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function h(t,e,r){var n;var o=[];for(var i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(p(n));return o.join("")}function v(t){var e;var r=t.length;var o=r%3;var i=[];var l=16383;for(var a=0,u=r-o;a<u;a+=16383)i.push(h(t,a,a+16383>u?u:a+16383));return 1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},sOR5:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},suyo:function(t,e,r){(e=t.exports=r("FZ+f")(!1)).push([t.i,'/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover{color:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}',""])},ujcs:function(t,e){e.read=function(t,e,r,n,o){var i,l;var a=8*o-n-1;var u=(1<<a)-1;var s=u>>1;var c=-7;var f=r?o-1:0;var d=r?-1:1;var p=t[e+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=a;c>0;i=256*i+t[e+f],f+=d,c-=8);for(l=i&(1<<-c)-1,i>>=-c,c+=n;c>0;l=256*l+t[e+f],f+=d,c-=8);if(0===i)i=1-s;else{if(i===u)return l?NaN:1/0*(p?-1:1);l+=Math.pow(2,n),i-=s}return(p?-1:1)*l*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var l,a,u;var s=8*i-o-1;var c=(1<<s)-1;var f=c>>1;var d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0;var p=n?0:i-1;var h=n?1:-1;var v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,l=c):(l=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-l))<1&&(l--,u*=2),(e+=l+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(l++,u/=2),l+f>=c?(a=0,l=c):l+f>=1?(a=(e*u-1)*Math.pow(2,o),l+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),l=0));o>=8;t[r+p]=255&a,p+=h,a/=256,o-=8);for(l=l<<o|a,s+=o;s>0;t[r+p]=255&l,p+=h,l/=256,s-=8);t[r+p-h]|=128*v}},"yPE/":function(t,e,r){(function(e){!function e(r,n){t.exports=n()}("undefined"!==typeof self?self:this,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function e(){return t.default}:function e(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=109)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(17);var o=r(18);var i=r(19);var l=r(45);var a=r(46);var u=r(47);var s=r(48);var c=r(49);var f=r(12);var d=r(32);var p=r(33);var h=r(31);var v=r(1);var b={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:n.default,Format:o.default,Leaf:i.default,Embed:s.default,Scroll:l.default,Block:u.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:d.default,Style:p.default,Store:h.default}};e.default=b},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(e){var r=this;return e="[Parchment] "+e,(r=t.call(this,e)||this).message=e,r.name=r.constructor.name,r}return n(e,t),e}(Error);e.ParchmentError=i;var l={};var a={};var u={};var s={};var c;function f(t,e){var r=p(t);if(null==r)throw new i("Unable to create "+t+" blot");var n=r;var o;return new n(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:n.create(e),e)}function d(t,r){if(void 0===r&&(r=!1),null==t)return null;if(null!=t[e.DATA_KEY])return t[e.DATA_KEY].blot;if(r)return d(t.parentNode,r);return null}function p(t,e){var r;if(void 0===e&&(e=c.ANY),"string"===typeof t)r=s[t]||l[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)r=s.text;else if("number"===typeof t)t&c.LEVEL&c.BLOCK?r=s.block:t&c.LEVEL&c.INLINE&&(r=s.inline);else if(t instanceof HTMLElement){var n=(t.getAttribute("class")||"").split(/\s+/);for(var o in n)if(r=a[n[o]])break;r=r||u[t.tagName]}if(null==r)return null;if(e&c.LEVEL&r.scope&&e&c.TYPE&r.scope)return r;return null}function h(){var t=[];for(var e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map(function(t){return h(t)});var r=t[0];if("string"!==typeof r.blotName&&"string"!==typeof r.attrName)throw new i("Invalid definition");if("abstract"===r.blotName)throw new i("Cannot register abstract class");var n;(s[r.blotName||r.attrName]=r,"string"===typeof r.keyName)?l[r.keyName]=r:(null!=r.className&&(a[r.className]=r),null!=r.tagName&&(Array.isArray(r.tagName)?r.tagName=r.tagName.map(function(t){return t.toUpperCase()}):r.tagName=r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEach(function(t){null!=u[t]&&null!=r.className||(u[t]=r)})));return r}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(c=e.Scope||(e.Scope={})),e.create=f,e.find=d,e.query=p,e.register=h},function(t,e,r){var n=r(51);var o=r(11);var i=r(3);var l=r(20);var a=String.fromCharCode(0);var u=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};u.prototype.insert=function(t,e){var r={};if(0===t.length)return this;return r.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r)},u.prototype.delete=function(t){if(t<=0)return this;return this.push({delete:t})},u.prototype.retain=function(t,e){if(t<=0)return this;var r={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r)},u.prototype.push=function(t){var e=this.ops.length;var r=this.ops[e-1];if(t=i(!0,{},t),"object"===typeof r){if("number"===typeof t.delete&&"number"===typeof r.delete)return this.ops[e-1]={delete:r.delete+t.delete},this;if("number"===typeof r.delete&&null!=t.insert&&(e-=1,"object"!==typeof(r=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,r.attributes)){if("string"===typeof t.insert&&"string"===typeof r.insert)return this.ops[e-1]={insert:r.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof r.retain)return this.ops[e-1]={retain:r.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},u.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},u.prototype.filter=function(t){return this.ops.filter(t)},u.prototype.forEach=function(t){this.ops.forEach(t)},u.prototype.map=function(t){return this.ops.map(t)},u.prototype.partition=function(t){var e=[],r=[];return this.forEach(function(n){var o;(t(n)?e:r).push(n)}),[e,r]},u.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},u.prototype.changeLength=function(){return this.reduce(function(t,e){if(e.insert)return t+l.length(e);if(e.delete)return t-e.delete;return t},0)},u.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},u.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var r=[];var n=l.iterator(this.ops);var o=0;for(;o<e&&n.hasNext();){var i;o<t?i=n.next(t-o):(i=n.next(e-o),r.push(i)),o+=l.length(i)}return new u(r)},u.prototype.compose=function(t){var e=l.iterator(this.ops);var r=l.iterator(t.ops);var n=new u;for(;e.hasNext()||r.hasNext();)if("insert"===r.peekType())n.push(r.next());else if("delete"===e.peekType())n.push(e.next());else{var o=Math.min(e.peekLength(),r.peekLength());var i=e.next(o);var a=r.next(o);if("number"===typeof a.retain){var s={};"number"===typeof i.retain?s.retain=o:s.insert=i.insert;var c=l.attributes.compose(i.attributes,a.attributes,"number"===typeof i.retain);c&&(s.attributes=c),n.push(s)}else"number"===typeof a.delete&&"number"===typeof i.retain&&n.push(a)}return n.chop()},u.prototype.concat=function(t){var e=new u(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},u.prototype.diff=function(t,e){if(this.ops===t.ops)return new u;var r=[this,t].map(function(e){return e.map(function(r){if(null!=r.insert)return"string"===typeof r.insert?r.insert:a;var n;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")});var i=new u;var s=n(r[0],r[1],e);var c=l.iterator(this.ops);var f=l.iterator(t.ops);return s.forEach(function(t){var e=t[1].length;for(;e>0;){var r=0;switch(t[0]){case n.INSERT:r=Math.min(f.peekLength(),e),i.push(f.next(r));break;case n.DELETE:r=Math.min(e,c.peekLength()),c.next(r),i.delete(r);break;case n.EQUAL:r=Math.min(c.peekLength(),f.peekLength(),e);var a=c.next(r);var u=f.next(r);o(a.insert,u.insert)?i.retain(r,l.attributes.diff(a.attributes,u.attributes)):i.push(u).delete(r);break}e-=r}}),i.chop()},u.prototype.eachLine=function(t,e){e=e||"\n";var r=l.iterator(this.ops);var n=new u;var o=0;for(;r.hasNext();){if("insert"!==r.peekType())return;var i=r.peek();var a=l.length(i)-r.peekLength();var s="string"===typeof i.insert?i.insert.indexOf(e,a)-a:-1;if(s<0)n.push(r.next());else if(s>0)n.push(r.next(s));else{if(!1===t(n,r.next(1).attributes||{},o))return;o+=1,n=new u}}n.length()>0&&t(n,{},o)},u.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var r=l.iterator(this.ops);var n=l.iterator(t.ops);var o=new u;for(;r.hasNext()||n.hasNext();)if("insert"!==r.peekType()||!e&&"insert"===n.peekType())if("insert"===n.peekType())o.push(n.next());else{var i=Math.min(r.peekLength(),n.peekLength());var a=r.next(i);var s=n.next(i);if(a.delete)continue;s.delete?o.push(s):o.retain(i,l.attributes.transform(a.attributes,s.attributes,e))}else o.retain(l.length(r.next()));return o.chop()},u.prototype.transformPosition=function(t,e){e=!!e;var r=l.iterator(this.ops);var n=0;for(;r.hasNext()&&n<=t;){var o=r.peekLength();var i=r.peekType();if(r.next(),"delete"===i){t-=Math.min(o,t-n);continue}"insert"===i&&(n<t||!e)&&(t+=o),n+=o}return t},t.exports=u},function(t,e){"use strict";var r=Object.prototype.hasOwnProperty;var n=Object.prototype.toString;var o=function t(e){if("function"===typeof Array.isArray)return Array.isArray(e);return"[object Array]"===n.call(e)};var i=function t(e){if(!e||"[object Object]"!==n.call(e))return!1;var o=r.call(e,"constructor");var i=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;var l;for(l in e);return"undefined"===typeof l||r.call(e,l)};t.exports=function t(){var e,r,n,l,a,u;var s=arguments[0];var c=1;var f=arguments.length;var d=!1;for("boolean"===typeof s&&(d=s,s=arguments[1]||{},c=2),(null==s||"object"!==typeof s&&"function"!==typeof s)&&(s={});c<f;++c)if(null!=(e=arguments[c]))for(r in e)n=s[r],s!==(l=e[r])&&(d&&l&&(i(l)||(a=o(l)))?(a?(a=!1,u=n&&o(n)?n:[]):u=n&&i(n)?n:{},s[r]=t(d,u,l)):"undefined"!==typeof l&&(s[r]=l));return s}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=y(r(3));var a;var u=y(r(2));var s;var c=y(r(0));var f;var d=y(r(16));var p;var h=y(r(6));var v;var b=y(r(7));function y(t){return t&&t.__esModule?t:{default:t}}function q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _=1;var k=function(t){function e(){return q(this,e),g(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),n(e,[{key:"attach",value:function t(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function t(){return(new u.default).insert(this.value(),(0,l.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function t(e,r){var n=c.default.query(e,c.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,r)}},{key:"formatAt",value:function t(e,r,n,o){this.format(n,o)}},{key:"insertAt",value:function t(r,n,i){if("string"===typeof n&&n.endsWith("\n")){var l=c.default.create(w.blotName);this.parent.insertBefore(l,0===r?this:this.next),l.insertAt(0,n.slice(0,-1))}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,r,n,i)}}]),e}(c.default.Embed);k.scope=c.default.Scope.BLOCK_BLOT;var w=function(t){function e(t){q(this,e);var r=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.cache={},r}return m(e,t),n(e,[{key:"delta",value:function t(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),x(e))},new u.default).insert("\n",x(this))),this.cache.delta}},{key:"deleteAt",value:function t(r,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,r,n),this.cache={}}},{key:"formatAt",value:function t(r,n,i,l){if(n<=0)return;c.default.query(i,c.default.Scope.BLOCK)?r+n===this.length()&&this.format(i,l):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,r,Math.min(n,this.length()-r-1),i,l),this.cache={}}},{key:"insertAt",value:function t(r,n,i){if(null!=i)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,r,n,i);if(0===n.length)return;var l=n.split("\n");var a=l.shift();a.length>0&&(r<this.length()-1||null==this.children.tail?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(r,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var u=this;l.reduce(function(t,e){return(u=u.split(t,!0)).insertAt(0,e),e.length},r+a.length)}},{key:"insertBefore",value:function t(r,n){var i=this.children.head;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,r,n),i instanceof d.default&&i.remove(),this.cache={}}},{key:"length",value:function t(){return null==this.cache.length&&(this.cache.length=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function t(r,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,r,n),this.cache={}}},{key:"optimize",value:function t(r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,r),this.cache={}}},{key:"path",value:function t(r){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,r,!0)}},{key:"removeChild",value:function t(r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,r),this.cache={}}},{key:"split",value:function t(r){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===r||r>=this.length()-1)){var i=this.clone();return 0===r?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var l=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,r,n);return this.cache={},l}}]),e}(c.default.Block);function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t)return e;if("function"===typeof t.formats&&(e=(0,l.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope)return e;return x(t.parent,e)}w.blotName="block",w.tagName="P",w.defaultChild="break",w.allowedChildren=[h.default,c.default.Embed,b.default],e.bubbleFormats=x,e.BlockEmbed=k,e.default=w},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var o=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var l;r(50);var a=x(r(2));var u;var s=x(r(14));var c;var f=x(r(8));var d;var p=x(r(9));var h;var v=x(r(0));var b=r(15);var y=x(b);var q;var g=x(r(3));var m;var _=x(r(10));var k;var w=x(r(34));function x(t){return t&&t.__esModule?t:{default:t}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var j=(0,_.default)("quill");var A=function(){function t(e){var r=this;var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,t),this.options=N(e,n),this.container=this.options.container,null==this.container)return j.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new f.default,this.scroll=v.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new y.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(f.default.events.EDITOR_CHANGE,function(t){t===f.default.events.TEXT_CHANGE&&r.root.classList.toggle("ql-blank",r.editor.isBlank())}),this.emitter.on(f.default.events.SCROLL_UPDATE,function(t,e){var n=r.selection.lastRange;var o=n&&0===n.length?n.index:void 0;T.call(r,function(){return r.editor.update(null,e,o)},t)});var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(t,null,[{key:"debug",value:function t(e){!0===e&&(e="log"),_.default.level(e)}},{key:"find",value:function t(e){return e.__quill||v.default.find(e)}},{key:"import",value:function t(e){return null==this.imports[e]&&j.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function t(e,r){var n=this;var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var i=e.attrName||e.blotName;"string"===typeof i?this.register("formats/"+i,e,r):Object.keys(e).forEach(function(t){n.register(t,e[t],r)})}else null==this.imports[e]||o||j.warn("Overwriting "+e+" with",r),this.imports[e]=r,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==r.blotName?v.default.register(r):e.startsWith("modules")&&"function"===typeof r.register&&r.register()}}]),i(t,[{key:"addContainer",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,r),e}},{key:"blur",value:function t(){this.selection.setRange(null)}},{key:"deleteText",value:function t(e,r,n){var i=this;var l=S(e,r,n);var a=o(l,4);return e=a[0],r=a[1],n=a[3],T.call(this,function(){return i.editor.deleteText(e,r)},n,e,-1*r)}},{key:"disable",value:function t(){this.enable(!1)}},{key:"enable",value:function t(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function t(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function t(e,r){var n=this;var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;return T.call(this,function(){var t=n.getSelection(!0);var o=new a.default;if(null==t)return o;if(v.default.query(e,v.default.Scope.BLOCK))o=n.editor.formatLine(t.index,t.length,O({},e,r));else{if(0===t.length)return n.selection.format(e,r),o;o=n.editor.formatText(t.index,t.length,O({},e,r))}return n.setSelection(t,f.default.sources.SILENT),o},o)}},{key:"formatLine",value:function t(e,r,n,i,l){var a=this;var u=void 0;var s=S(e,r,n,i,l);var c=o(s,4);return e=c[0],r=c[1],u=c[2],l=c[3],T.call(this,function(){return a.editor.formatLine(e,r,u)},l,e,0)}},{key:"formatText",value:function t(e,r,n,i,l){var a=this;var u=void 0;var s=S(e,r,n,i,l);var c=o(s,4);return e=c[0],r=c[1],u=c[2],l=c[3],T.call(this,function(){return a.editor.formatText(e,r,u)},l,e,0)}},{key:"getBounds",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var n=void 0;n="number"===typeof e?this.selection.getBounds(e,r):this.selection.getBounds(e.index,e.length);var o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}},{key:"getContents",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e;var n=S(e,r);var i=o(n,2);return e=i[0],r=i[1],this.editor.getContents(e,r)}},{key:"getFormat",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,r):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function t(e){return e.offset(this.scroll)}},{key:"getLength",value:function t(){return this.scroll.length()}},{key:"getLeaf",value:function t(e){return this.scroll.leaf(e)}},{key:"getLine",value:function t(e){return this.scroll.line(e)}},{key:"getLines",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,r)}},{key:"getModule",value:function t(e){return this.theme.modules[e]}},{key:"getSelection",value:function t(){var e;return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e;var n=S(e,r);var i=o(n,2);return e=i[0],r=i[1],this.editor.getText(e,r)}},{key:"hasFocus",value:function t(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function e(r,n,o){var i=this;var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return T.call(this,function(){return i.editor.insertEmbed(r,n,o)},l,r)}},{key:"insertText",value:function t(e,r,n,i,l){var a=this;var u=void 0;var s=S(e,0,n,i,l);var c=o(s,4);return e=c[0],u=c[2],l=c[3],T.call(this,function(){return a.editor.insertText(e,r,u)},l,e,r.length)}},{key:"isEnabled",value:function t(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function t(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function t(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function t(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function t(e,r,n){this.clipboard.dangerouslyPasteHTML(e,r,n)}},{key:"removeFormat",value:function t(e,r,n){var i=this;var l=S(e,r,n);var a=o(l,4);return e=a[0],r=a[1],n=a[3],T.call(this,function(){return i.editor.removeFormat(e,r)},n,e)}},{key:"scrollIntoView",value:function t(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function t(e){var r=this;var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return T.call(this,function(){e=new a.default(e);var t=r.getLength();var n=r.editor.deleteText(0,t);var o=r.editor.applyDelta(e);var i=o.ops[o.ops.length-1];var l;return null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(r.editor.deleteText(r.getLength()-1,1),o.delete(1)),n.compose(o)},n)}},{key:"setSelection",value:function e(r,n,i){if(null==r)this.selection.setRange(null,n||t.sources.API);else{var l=S(r,n,i);var a=o(l,4);r=a[0],n=a[1],i=a[3],this.selection.setRange(new b.Range(r,n),i),i!==f.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;var n=(new a.default).insert(e);return this.setContents(n,r)}},{key:"update",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER;var r=this.scroll.update(e);return this.selection.update(e),r}},{key:"updateContents",value:function t(e){var r=this;var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return T.call(this,function(){return e=new a.default(e),r.editor.applyDelta(e,n)},n,!0)}}]),t}();function N(t,e){if((e=(0,g.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==A.DEFAULTS.theme){if(e.theme=A.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=w.default;var r=(0,g.default)(!0,{},e.theme.DEFAULTS);var n;[r,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var o=Object.keys(r.modules).concat(Object.keys(e.modules)).reduce(function(t,e){var r=A.import("modules/"+e);return null==r?j.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=r.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,g.default)(!0,{},A.DEFAULTS,{modules:o},r,e),["bounds","container","scrollingContainer"].forEach(function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,r){return e.modules[r]&&(t[r]=e.modules[r]),t},{}),e}function T(t,e,r,n){if(this.options.strict&&!this.isEnabled()&&e===f.default.sources.USER)return new a.default;var o=null==r?null:this.getSelection();var i=this.editor.delta;var l=t();if(null!=o&&(!0===r&&(r=o.index),null==n?o=C(o,l,e):0!==n&&(o=C(o,r,n,e)),this.setSelection(o,f.default.sources.SILENT)),l.length()>0){var u;var s=[f.default.events.TEXT_CHANGE,l,i,e];var c;if((u=this.emitter).emit.apply(u,[f.default.events.EDITOR_CHANGE].concat(s)),e!==f.default.sources.SILENT)(c=this.emitter).emit.apply(c,s)}return l}function S(t,e,r,o,i){var l={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(i=o,o=r,r=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(i=o,o=r,r=e,e=0),"object"===("undefined"===typeof r?"undefined":n(r))?(l=r,i=o):"string"===typeof r&&(null!=o?l[r]=o:i=r),[t,e,l,i=i||f.default.sources.API]}function C(t,e,r,n){if(null==t)return null;var i=void 0,l=void 0;if(e instanceof a.default){var u=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,n!==f.default.sources.USER)});var s=o(u,2);i=s[0],l=s[1]}else{var c=[t.index,t.index+t.length].map(function(t){if(t<e||t===e&&n===f.default.sources.USER)return t;return r>=0?t+r:Math.max(e,t+r)});var d=o(c,2);i=d[0],l=d[1]}return new b.Range(i,l-i)}A.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},A.events=f.default.events,A.sources=f.default.sources,A.version="1.3.6",A.imports={delta:a.default,parchment:v.default,"core/module":p.default,"core/theme":w.default},e.expandConfig=N,e.overload=S,e.default=A},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=s(r(7));var a;var u=s(r(0));function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(){return c(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),n(e,[{key:"formatAt",value:function t(r,n,i,l){if(e.compare(this.statics.blotName,i)<0&&u.default.query(i,u.default.Scope.BLOT)){var a=this.isolate(r,n);l&&a.wrap(i,l)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,r,n,i,l)}},{key:"optimize",value:function t(r){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,r),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function t(r,n){var o=e.order.indexOf(r);var i=e.order.indexOf(n);return o>=0||i>=0?o-i:r===n?0:r<n?-1:1}}]),e}(u.default.Inline);p.allowedChildren=[p,u.default.Embed,l.default],p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=p},function(t,e,r){"use strict";var n;var o;function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return l(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),e}(i(r(0)).default.Text);e.default=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=s(r(54));var a;var u;function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=(0,s(r(10)).default)("quill:events");var h;["selectionchange","mousedown","mouseup","click"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(t){var r;t.__quill&&t.__quill.emitter&&(r=t.__quill.emitter).handleDOM.apply(r,e)})})});var v=function(t){function e(){c(this,e);var t=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",p.error),t}return d(e,t),n(e,[{key:"emit",value:function t(){p.log.apply(p,arguments),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function t(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(this.listeners[e.type]||[]).forEach(function(t){var r=t.node,o=t.handler;(e.target===r||r.contains(e.target))&&o.apply(void 0,[e].concat(n))})}},{key:"listenDOM",value:function t(e,r,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:r,handler:n})}}]),e}(l.default);v.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},v.sources={API:"api",SILENT:"silent",USER:"user"},e.default=v},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,t),this.quill=e,this.options=r};o.DEFAULTS={},e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=["error","warn","log","info"];var o="warn";function i(t){if(n.indexOf(t)<=n.indexOf(o)){var e;for(var r=arguments.length,i=Array(r>1?r-1:0),l=1;l<r;l++)i[l-1]=arguments[l];(e=console)[t].apply(e,i)}}function l(t){return n.reduce(function(e,r){return e[r]=i.bind(console,r,t),e},{})}i.level=l.level=function(t){o=t},e.default=l},function(t,e,r){var n=Array.prototype.slice;var o=r(52);var i=r(53);var l=t.exports=function(t,e,r){return r||(r={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?r.strict?t===e:t==e:s(t,e,r))};function a(t){return null===t||void 0===t}function u(t){if(!t||"object"!==typeof t||"number"!==typeof t.length)return!1;if("function"!==typeof t.copy||"function"!==typeof t.slice)return!1;if(t.length>0&&"number"!==typeof t[0])return!1;return!0}function s(t,e,r){var s,c;if(a(t)||a(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t)){if(!i(e))return!1;return t=n.call(t),e=n.call(e),l(t,e,r)}if(u(t)){if(!u(e))return!1;if(t.length!==e.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}try{var f=o(t),d=o(e)}catch(t){return!1}if(f.length!=d.length)return!1;for(f.sort(),d.sort(),s=f.length-1;s>=0;s--)if(f[s]!=d[s])return!1;for(s=f.length-1;s>=0;s--)if(c=f[s],!l(t[c],e[c],r))return!1;return typeof t===typeof e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1);var o=function(){function t(t,e,r){void 0===r&&(r={}),this.attrName=t,this.keyName=e;var o=n.Scope.TYPE&n.Scope.ATTRIBUTE;null!=r.scope?this.scope=r.scope&n.Scope.LEVEL|o:this.scope=n.Scope.ATTRIBUTE,null!=r.whitelist&&(this.whitelist=r.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){if(!this.canAdd(t,e))return!1;return t.setAttribute(this.keyName,e),!0},t.prototype.canAdd=function(t,e){var r;if(null==n.query(t,n.Scope.BLOT&(this.scope|n.Scope.TYPE)))return!1;if(null==this.whitelist)return!0;return"string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);if(this.canAdd(t,e)&&e)return e;return""},t}();e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var n=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var l;var a=b(r(2));var u;var s=b(r(0));var c;var f=b(r(4));var d;var p=b(r(6));var h;var v=b(r(7));function b(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=function(t){function e(){return y(this,e),q(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return g(e,t),e}(p.default);m.blotName="code",m.tagName="CODE";var _=function(t){function e(){return y(this,e),q(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return g(e,t),o(e,[{key:"delta",value:function t(){var e=this;var r=this.domNode.textContent;return r.endsWith("\n")&&(r=r.slice(0,-1)),r.split("\n").reduce(function(t,r){return t.insert(r).insert("\n",e.formats())},new a.default)}},{key:"format",value:function t(r,o){if(r===this.statics.blotName&&o)return;var l=this.descendant(v.default,this.length()-1),a,u=n(l,1)[0];null!=u&&u.deleteAt(u.length()-1,1),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,r,o)}},{key:"formatAt",value:function t(r,n,o,i){if(0===n)return;if(null==s.default.query(o,s.default.Scope.BLOCK)||o===this.statics.blotName&&i===this.statics.formats(this.domNode))return;var l=this.newlineIndex(r);if(l<0||l>=r+n)return;var a=this.newlineIndex(r,!0)+1;var u=l-a+1;var c=this.isolate(a,u);var f=c.next;c.format(o,i),f instanceof e&&f.formatAt(0,r-a+n-u,o,i)}},{key:"insertAt",value:function t(e,r,o){if(null!=o)return;var i=this.descendant(v.default,e),l=n(i,2),a=l[0],u=l[1];a.insertAt(u,r)}},{key:"length",value:function t(){var t=this.domNode.textContent.length;if(!this.domNode.textContent.endsWith("\n"))return t+1;return t}},{key:"newlineIndex",value:function t(e){var r;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function t(r){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,r);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(r),n.moveChildren(this),n.remove())}},{key:"replace",value:function t(r){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,r),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function t(r){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function t(){return!0}}]),e}(f.default);_.blotName="code-block",_.tagName="PRE",_.TAB="  ",e.Code=m,e.default=_},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var o=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var l;var a=E(r(2));var u;var s=E(r(20));var c;var f=E(r(0));var d;var p=E(r(13));var h;var v=E(r(24));var b=r(4);var y=E(b);var q;var g=E(r(16));var m;var _=E(r(21));var k;var w=E(r(11));var x;var O=E(r(3));function E(t){return t&&t.__esModule?t:{default:t}}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var N=/^[ -~]*$/;var T=function(){function t(e){A(this,t),this.scroll=e,this.delta=this.getDelta()}return i(t,[{key:"applyDelta",value:function t(e){var r=this;var i=!1;this.scroll.update();var l=this.scroll.length();return this.scroll.batchStart(),(e=C(e)).reduce(function(t,e){var a=e.retain||e.delete||e.insert.length||1;var u=e.attributes||{};if(null!=e.insert){if("string"===typeof e.insert){var c=e.insert;c.endsWith("\n")&&i&&(i=!1,c=c.slice(0,-1)),t>=l&&!c.endsWith("\n")&&(i=!0),r.scroll.insertAt(t,c);var d=r.scroll.line(t),p=o(d,2),h=p[0],v=p[1];var q=(0,O.default)({},(0,b.bubbleFormats)(h));if(h instanceof y.default){var g=h.descendant(f.default.Leaf,v),m,_=o(g,1)[0];q=(0,O.default)(q,(0,b.bubbleFormats)(_))}u=s.default.attributes.diff(q,u)||{}}else if("object"===n(e.insert)){var k=Object.keys(e.insert)[0];if(null==k)return t;r.scroll.insertAt(t,k,e.insert[k])}l+=a}return Object.keys(u).forEach(function(e){r.scroll.formatAt(t,a,e,u[e])}),t+a},0),e.reduce(function(t,e){if("number"===typeof e.delete)return r.scroll.deleteAt(t,e.delete),t;return t+(e.retain||e.insert.length||1)},0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function t(e,r){return this.scroll.deleteAt(e,r),this.update((new a.default).retain(e).delete(r))}},{key:"formatLine",value:function t(e,r){var n=this;var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(o).forEach(function(t){if(null!=n.scroll.whitelist&&!n.scroll.whitelist[t])return;var i=n.scroll.lines(e,Math.max(r,1));var l=r;i.forEach(function(r){var i=r.length();if(r instanceof p.default){var a=e-r.offset(n.scroll);var u=r.newlineIndex(a+l)-a+1;r.formatAt(a,u,t,o[t])}else r.format(t,o[t]);l-=i})}),this.scroll.optimize(),this.update((new a.default).retain(e).retain(r,(0,_.default)(o)))}},{key:"formatText",value:function t(e,r){var n=this;var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(o).forEach(function(t){n.scroll.formatAt(e,r,t,o[t])}),this.update((new a.default).retain(e).retain(r,(0,_.default)(o)))}},{key:"getContents",value:function t(e,r){return this.delta.slice(e,e+r)}},{key:"getDelta",value:function t(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new a.default)}},{key:"getFormat",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var n=[],i=[];0===r?this.scroll.path(e).forEach(function(t){var e,r=o(t,1)[0];r instanceof y.default?n.push(r):r instanceof f.default.Leaf&&i.push(r)}):(n=this.scroll.lines(e,r),i=this.scroll.descendants(f.default.Leaf,e,r));var l=[n,i].map(function(t){if(0===t.length)return{};var e=(0,b.bubbleFormats)(t.shift());for(;Object.keys(e).length>0;){var r=t.shift();if(null==r)return e;e=S((0,b.bubbleFormats)(r),e)}return e});return O.default.apply(O.default,l)}},{key:"getText",value:function t(e,r){return this.getContents(e,r).filter(function(t){return"string"===typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function t(e,r,n){return this.scroll.insertAt(e,r,n),this.update((new a.default).retain(e).insert(j({},r,n)))}},{key:"insertText",value:function t(e,r){var n=this;var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r=r.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,r),Object.keys(o).forEach(function(t){n.scroll.formatAt(e,r.length,t,o[t])}),this.update((new a.default).retain(e).insert(r,(0,_.default)(o)))}},{key:"isBlank",value:function t(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;if(e.statics.blotName!==y.default.blotName)return!1;if(e.children.length>1)return!1;return e.children.head instanceof g.default}},{key:"removeFormat",value:function t(e,r){var n=this.getText(e,r);var i=this.scroll.line(e+r),l=o(i,2),u=l[0],s=l[1];var c=0,f=new a.default;var d;null!=u&&(c=u instanceof p.default?u.newlineIndex(s)-s+1:u.length()-s,f=u.delta().slice(s,s+c-1).insert("\n"));var h=this.getContents(e,r+c).diff((new a.default).insert(n).concat(f));var v=(new a.default).retain(e).concat(h);return this.applyDelta(v)}},{key:"update",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var o=this.delta;if(1===r.length&&"characterData"===r[0].type&&r[0].target.data.match(N)&&f.default.find(r[0].target)){var i=f.default.find(r[0].target);var l=(0,b.bubbleFormats)(i);var u=i.offset(this.scroll);var s=r[0].oldValue.replace(v.default.CONTENTS,"");var c=(new a.default).insert(s);var d=(new a.default).insert(i.value());var p;e=(new a.default).retain(u).concat(c.diff(d,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,l):t.push(e)},new a.default),this.delta=o.compose(e)}else this.delta=this.getDelta(),e&&(0,w.default)(o.compose(e),this.delta)||(e=o.diff(this.delta,n));return e}}]),t}();function S(t,e){return Object.keys(e).reduce(function(r,n){if(null==t[n])return r;return e[n]===t[n]?r[n]=e[n]:Array.isArray(e[n])?e[n].indexOf(t[n])<0&&(r[n]=e[n].concat([t[n]])):r[n]=[e[n],t[n]],r},{})}function C(t){return t.reduce(function(t,e){if(1===e.insert){var r=(0,_.default)(e.attributes);return delete r.image,t.insert({image:e.attributes.image},r)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,_.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var n=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(n,e.attributes)}return t.push(e)},new a.default)}e.default=T},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var n=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i;var l=v(r(0));var a;var u=v(r(21));var s;var c=v(r(11));var f;var d=v(r(8));var p;var h;function v(t){return t&&t.__esModule?t:{default:t}}function b(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var q=(0,v(r(10)).default)("quill:selection");var g=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;y(this,t),this.index=e,this.length=r};var m=function(){function t(e,r){var n=this;y(this,t),this.emitter=r,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=l.default.create("cursor",this),this.lastRange=this.savedRange=new g(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){n.mouseDown||setTimeout(n.update.bind(n,d.default.sources.USER),1)}),this.emitter.on(d.default.events.EDITOR_CHANGE,function(t,e){t===d.default.events.TEXT_CHANGE&&e.length()>0&&n.update(d.default.sources.SILENT)}),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,function(){if(!n.hasFocus())return;var t=n.getNativeRange();if(null==t)return;if(t.start.node===n.cursor.textNode)return;n.emitter.once(d.default.events.SCROLL_UPDATE,function(){try{n.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var r=e.range,o=r.startNode,i=r.startOffset,l=r.endNode,a=r.endOffset;n.setNativeRange(o,i,l,a)}}),this.update(d.default.sources.SILENT)}return o(t,[{key:"handleComposition",value:function t(){var e=this;this.root.addEventListener("compositionstart",function(){e.composing=!0}),this.root.addEventListener("compositionend",function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout(function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)},1)}})}},{key:"handleDragging",value:function t(){var e=this;this.emitter.listenDOM("mousedown",document.body,function(){e.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){e.mouseDown=!1,e.update(d.default.sources.USER)})}},{key:"focus",value:function t(){if(this.hasFocus())return;this.root.focus(),this.setRange(this.savedRange)}},{key:"format",value:function t(e,r){if(null!=this.scroll.whitelist&&!this.scroll.whitelist[e])return;this.scroll.update();var n=this.getNativeRange();if(null==n||!n.native.collapsed||l.default.query(e,l.default.Scope.BLOCK))return;if(n.start.node!==this.cursor.textNode){var o=l.default.find(n.start.node,!1);if(null==o)return;if(o instanceof l.default.Leaf){var i=o.split(n.start.offset);o.parent.insertBefore(this.cursor,i)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,r),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}},{key:"getBounds",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var o=this.scroll.length();e=Math.min(e,o-1),r=Math.min(e+r,o-1)-e;var i=void 0,l=this.scroll.leaf(e),a=n(l,2),u=a[0],s=a[1];if(null==u)return null;var c=u.position(s,!0);var f=n(c,2);i=f[0],s=f[1];var d=document.createRange();if(r>0){d.setStart(i,s);var p=this.scroll.leaf(e+r);var h=n(p,2);if(u=h[0],s=h[1],null==u)return null;var v=u.position(s,!0);var b=n(v,2);return i=b[0],s=b[1],d.setEnd(i,s),d.getBoundingClientRect()}var y="left";var q=void 0;return i instanceof Text?(s<i.data.length?(d.setStart(i,s),d.setEnd(i,s+1)):(d.setStart(i,s-1),d.setEnd(i,s),y="right"),q=d.getBoundingClientRect()):(q=u.domNode.getBoundingClientRect(),s>0&&(y="right")),{bottom:q.top+q.height,height:q.height,left:q[y],right:q[y],top:q.top,width:0}}},{key:"getNativeRange",value:function t(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var r=e.getRangeAt(0);if(null==r)return null;var n=this.normalizeNative(r);return q.info("getNativeRange",n),n}},{key:"getRange",value:function t(){var e=this.getNativeRange();if(null==e)return[null,null];var r;return[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function t(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function t(e){var r=this;var o=[[e.start.node,e.start.offset]];e.native.collapsed||o.push([e.end.node,e.end.offset]);var i=o.map(function(t){var e=n(t,2),o=e[0],i=e[1];var a=l.default.find(o,!0);var u=a.offset(r.scroll);return 0===i?u:a instanceof l.default.Container?u+a.length():u+a.index(o,i)});var a=Math.min(Math.max.apply(Math,b(i)),this.scroll.length()-1);var u=Math.min.apply(Math,[a].concat(b(i)));return new g(u,a-u)}},{key:"normalizeNative",value:function t(e){if(!_(this.root,e.startContainer)||!e.collapsed&&!_(this.root,e.endContainer))return null;var r={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[r.start,r.end].forEach(function(t){var e=t.node,r=t.offset;for(;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>r)e=e.childNodes[r],r=0;else{if(e.childNodes.length!==r)break;r=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=r}),r}},{key:"rangeToNative",value:function t(e){var r=this;var o=e.collapsed?[e.index]:[e.index,e.index+e.length];var i=[];var l=this.scroll.length();return o.forEach(function(t,e){t=Math.min(l-1,t);var o=void 0,a=r.scroll.leaf(t),u=n(a,2),s=u[0],c=u[1];var f=s.position(c,0!==e);var d=n(f,2);o=d[0],c=d[1],i.push(o,c)}),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function t(e){var r=this.lastRange;if(null==r)return;var o=this.getBounds(r.index,r.length);if(null==o)return;var i=this.scroll.length()-1;var l=this.scroll.line(Math.min(r.index,i)),a,u=n(l,1)[0];var s=u;if(r.length>0){var c=this.scroll.line(Math.min(r.index+r.length,i));var f;s=n(c,1)[0]}if(null==u||null==s)return;var d=e.getBoundingClientRect();o.top<d.top?e.scrollTop-=d.top-o.top:o.bottom>d.bottom&&(e.scrollTop+=o.bottom-d.bottom)}},{key:"setNativeRange",value:function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(q.info("setNativeRange",e,r,n,o),null!=e&&(null==this.root.parentNode||null==e.parentNode||null==n.parentNode))return;var l=document.getSelection();if(null==l)return;if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||i||e!==a.startContainer||r!==a.startOffset||n!==a.endContainer||o!==a.endOffset){"BR"==e.tagName&&(r=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(o=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var u=document.createRange();u.setStart(e,r),u.setEnd(n,o),l.removeAllRanges(),l.addRange(u)}}else l.removeAllRanges(),this.root.blur(),document.body.focus()}},{key:"setRange",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof r&&(n=r,r=!1),q.info("setRange",e),null!=e){var o=this.rangeToNative(e);this.setNativeRange.apply(this,b(o).concat([r]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER;var r=this.lastRange;var o=this.getRange(),i=n(o,2),l=i[0],a=i[1];if(this.lastRange=l,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(r,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var f=[d.default.events.SELECTION_CHANGE,(0,u.default)(this.lastRange),(0,u.default)(r),e];var p;if((s=this.emitter).emit.apply(s,[d.default.events.EDITOR_CHANGE].concat(f)),e!==d.default.sources.SILENT)(p=this.emitter).emit.apply(p,f)}}}]),t}();function _(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=g,e.default=m},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l;function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"insertInto",value:function t(r,n){0===r.children.length?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,r,n):this.remove()}},{key:"length",value:function t(){return 0}},{key:"value",value:function t(){return""}}],[{key:"value",value:function t(){return}}]),e}(a(r(0)).default.Embed);f.blotName="break",f.tagName="BR",e.default=f},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(44);var l=r(30);var a=r(1);var u=function(t){function e(e){var r=t.call(this,e)||this;return r.build(),r}return n(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var r=s(e);t.insertBefore(r,t.children.head||void 0)}catch(t){if(t instanceof a.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,r){t.deleteAt(e,r)})},e.prototype.descendant=function(t,r){var n=this.children.find(r),o=n[0],i=n[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,r,n){void 0===r&&(r=0),void 0===n&&(n=Number.MAX_VALUE);var o=[];var i=n;return this.children.forEachAt(r,n,function(r,n,l){(null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t)&&o.push(r),r instanceof e&&(o=o.concat(r.descendants(t,n,i))),i-=l}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,r,n){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,r,n)})},e.prototype.insertAt=function(t,e,r){var n=this.children.find(t),o=n[0],i=n[1];if(o)o.insertAt(i,e,r);else{var l=null==r?a.create("text",e):a.create(e,r);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(r){t.insertBefore(r,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var r=a.create(this.statics.defaultChild);this.appendChild(r),r.optimize(e)}else this.remove()},e.prototype.path=function(t,r){void 0===r&&(r=!1);var n=this.children.find(t,r),o=n[0],i=n[1];var l=[[this,t]];if(o instanceof e)return l.concat(o.path(i,r));return null!=o&&l.push([o,i]),l},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(r){r instanceof e&&r.moveChildren(this),t.prototype.replace.call(this,r)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var r=this.clone();return this.parent.insertBefore(r,this.next),this.children.forEachAt(t,this.length(),function(t,n,o){t=t.split(n,e),r.appendChild(t)}),r},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var r=this;var n=[];var o=[];t.forEach(function(t){t.target===r.domNode&&"childList"===t.type&&(n.push.apply(n,t.addedNodes),o.push.apply(o,t.removedNodes))}),o.forEach(function(t){if(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;var e=a.find(t);if(null==e)return;null!=e.domNode.parentNode&&e.domNode.parentNode!==r.domNode||e.detach()}),n.filter(function(t){return t.parentNode==r.domNode}).sort(function(t,e){if(t===e)return 0;if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return 1;return-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var n=s(t);n.next==e&&null!=n.next||(null!=n.parent&&n.parent.removeChild(r),r.insertBefore(n,e||void 0))})},e}(l.default);function s(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(r){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=u},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(12);var l=r(31);var a=r(17);var u=r(1);var s=function(t){function e(e){var r=t.call(this,e)||this;return r.attributes=new l.default(r.domNode),r}return n(e,t),e.formats=function(t){if("string"===typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase();return},e.prototype.format=function(t,e){var r=u.query(t);r instanceof i.default?this.attributes.attribute(r,e):e&&(null==r||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values();var e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,r){var n=t.prototype.replaceWith.call(this,e,r);return this.attributes.copy(n),n},e.prototype.update=function(e,r){var n=this;t.prototype.update.call(this,e,r),e.some(function(t){return t.target===n.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(r,n){var o=t.prototype.wrap.call(this,r,n);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(a.default);e.default=s},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(30);var l=r(1);var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){if(this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return Math.min(e,1);return-1},e.prototype.position=function(t,e){var r=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(r+=1),[this.parent.domNode,r]},e.prototype.value=function(){return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t;var t},e.scope=l.Scope.INLINE_BLOT,e}(i.default);e.default=a},function(t,e,r){var n=r(11);var o=r(3);var i={attributes:{compose:function(t,e,r){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=o(!0,{},e);for(var i in r||(n=Object.keys(n).reduce(function(t,e){return null!=n[e]&&(t[e]=n[e]),t},{})),t)void 0!==t[i]&&void 0===e[i]&&(n[i]=t[i]);return Object.keys(n).length>0?n:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=Object.keys(t).concat(Object.keys(e)).reduce(function(r,o){return n(t[o],e[o])||(r[o]=void 0===e[o]?null:e[o]),r},{});return Object.keys(r).length>0?r:void 0},transform:function(t,e,r){if("object"!==typeof t)return e;if("object"!==typeof e)return;if(!r)return e;var n=Object.keys(e).reduce(function(r,n){return void 0===t[n]&&(r[n]=e[n]),r},{});return Object.keys(n).length>0?n:void 0}},iterator:function(t){return new l(t)},length:function(t){return"number"===typeof t.delete?t.delete:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function l(t){this.ops=t,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var r=this.offset;var n=i.length(e);if(t>=n-r?(t=n-r,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"===typeof e.retain?o.retain=t:"string"===typeof e.insert?o.insert=e.insert.substr(r,t):o.insert=e.insert,o}return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},l.prototype.peekType=function(){if(this.ops[this.index])return"number"===typeof this.ops[this.index].delete?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert";return"retain"},t.exports=i},function(t,r){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var r;try{r=Map}catch(t){r=function(){}}var n;try{n=Set}catch(t){n=function(){}}var o;try{o=Promise}catch(t){o=function(){}}function i(l,a,u,s,f){"object"===typeof a&&(u=a.depth,s=a.prototype,f=a.includeNonEnumerable,a=a.circular);var d=[];var p=[];var h="undefined"!=typeof e;function v(l,u){if(null===l)return null;if(0===u)return l;var b;var y;if("object"!=typeof l)return l;if(t(l,r))b=new r;else if(t(l,n))b=new n;else if(t(l,o))b=new o(function(t,e){l.then(function(e){t(v(e,u-1))},function(t){e(v(t,u-1))})});else if(i.__isArray(l))b=[];else if(i.__isRegExp(l))b=new RegExp(l.source,c(l)),l.lastIndex&&(b.lastIndex=l.lastIndex);else if(i.__isDate(l))b=new Date(l.getTime());else{if(h&&e.isBuffer(l))return b=new e(l.length),l.copy(b),b;t(l,Error)?b=Object.create(l):"undefined"==typeof s?(y=Object.getPrototypeOf(l),b=Object.create(y)):(b=Object.create(s),y=s)}if(a){var q=d.indexOf(l);if(-1!=q)return p[q];d.push(l),p.push(b)}for(var g in t(l,r)&&l.forEach(function(t,e){var r=v(e,u-1);var n=v(t,u-1);b.set(r,n)}),t(l,n)&&l.forEach(function(t){var e=v(t,u-1);b.add(e)}),l){var m;if(y&&(m=Object.getOwnPropertyDescriptor(y,g)),m&&null==m.set)continue;b[g]=v(l[g],u-1)}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(l);for(var g=0;g<_.length;g++){var k=_[g];var w;if((w=Object.getOwnPropertyDescriptor(l,k))&&!w.enumerable&&!f)continue;b[k]=v(l[k],u-1),w.enumerable||Object.defineProperty(b,k,{enumerable:!1})}}if(f){var x=Object.getOwnPropertyNames(l);for(var g=0;g<x.length;g++){var O=x[g];var w;if((w=Object.getOwnPropertyDescriptor(l,O))&&w.enumerable)continue;b[O]=v(l[O],u-1),Object.defineProperty(b,O,{enumerable:!1})}}return b}return"undefined"==typeof a&&(a=!0),"undefined"==typeof u&&(u=1/0),v(l,u)}function l(t){return Object.prototype.toString.call(t)}function a(t){return"object"===typeof t&&"[object Date]"===l(t)}function u(t){return"object"===typeof t&&"[object Array]"===l(t)}function s(t){return"object"===typeof t&&"[object RegExp]"===l(t)}function c(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return i.clonePrototype=function t(e){if(null===e)return null;var r=function(){};return r.prototype=e,new r},i.__objToStr=l,i.__isDate=a,i.__isArray=u,i.__isRegExp=s,i.__getRegExpFlags=c,i}();"object"===typeof t&&t.exports&&(t.exports=n)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var l;var a=q(r(0));var u;var s=q(r(8));var c=r(4);var f=q(c);var d;var p=q(r(16));var h;var v=q(r(13));var b;var y=q(r(25));function q(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function k(t){return t instanceof f.default||t instanceof c.BlockEmbed}var w=function(t){function e(t,r){g(this,e);var n=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.emitter=r.emitter,Array.isArray(r.whitelist)&&(n.whitelist=r.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),n.domNode.addEventListener("DOMNodeInserted",function(){}),n.optimize(),n.enable(),n}return _(e,t),o(e,[{key:"batchStart",value:function t(){this.batch=!0}},{key:"batchEnd",value:function t(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function t(r,o){var l=this.line(r),a=n(l,2),u=a[0],s=a[1];var f=this.line(r+o),d,h=n(f,1)[0];if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,r,o),null!=h&&u!==h&&s>0){if(u instanceof c.BlockEmbed||h instanceof c.BlockEmbed)return void this.optimize();if(u instanceof v.default){var b=u.newlineIndex(u.length(),!0);if(b>-1&&(u=u.split(b+1))===h)return void this.optimize()}else if(h instanceof v.default){var y=h.newlineIndex(0);y>-1&&h.split(y+1)}var q=h.children.head instanceof p.default?null:h.children.head;u.moveChildren(h,q),u.remove()}this.optimize()}},{key:"enable",value:function t(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function t(r,n,o,l){if(null!=this.whitelist&&!this.whitelist[o])return;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,r,n,o,l),this.optimize()}},{key:"insertAt",value:function t(r,n,o){if(null!=o&&null!=this.whitelist&&!this.whitelist[n])return;if(r>=this.length())if(null==o||null==a.default.query(n,a.default.Scope.BLOCK)){var l=a.default.create(this.statics.defaultChild);this.appendChild(l),null==o&&n.endsWith("\n")&&(n=n.slice(0,-1)),l.insertAt(0,n,o)}else{var u=a.default.create(n,o);this.appendChild(u)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,r,n,o);this.optimize()}},{key:"insertBefore",value:function t(r,n){if(r.statics.scope===a.default.Scope.INLINE_BLOT){var o=a.default.create(this.statics.defaultChild);o.appendChild(r),r=o}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,r,n)}},{key:"leaf",value:function t(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function t(e){if(e===this.length())return this.line(e-1);return this.descendant(k,e)}},{key:"lines",value:function t(){var e;var r;var n;return function t(e,r,n){var o=[],i=n;return e.children.forEachAt(r,n,function(e,r,n){k(e)?o.push(e):e instanceof a.default.Container&&(o=o.concat(t(e,r,i))),i-=n}),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0===this.batch)return;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,r,n),r.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,r,n)}},{key:"path",value:function t(r){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,r).slice(1)}},{key:"update",value:function t(r){if(!0===this.batch)return;var n=s.default.sources.USER;"string"===typeof r&&(n=r),Array.isArray(r)||(r=this.observer.takeRecords()),r.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,r),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,r.concat([])),r.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,r)}}]),e}(a.default.Scroll);w.blotName="scroll",w.className="ql-editor",w.tagName="DIV",w.defaultChild="block",w.allowedChildren=[f.default,c.BlockEmbed,y.default],e.default=w},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var o=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var l;var a=x(r(21));var u;var s=x(r(11));var c;var f=x(r(3));var d;var p=x(r(2));var h;var v=x(r(20));var b;var y=x(r(0));var q;var g=x(r(5));var m;var _=x(r(10));var k;var w=x(r(9));function x(t){return t&&t.__esModule?t:{default:t}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function A(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var N=(0,_.default)("quill:keyboard");var T=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";var S=function(t){function e(t,r){E(this,e);var n=j(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.bindings={},Object.keys(n.options.bindings).forEach(function(e){if("list autofill"===e&&null!=t.scroll.whitelist&&!t.scroll.whitelist.list)return;n.options.bindings[e]&&n.addBinding(n.options.bindings[e])}),n.addBinding({key:e.keys.ENTER,shiftKey:null},M),n.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},P),n.addBinding({key:e.keys.DELETE},{collapsed:!0},L)):(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},P),n.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},L)),n.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},R),n.addBinding({key:e.keys.DELETE},{collapsed:!1},R),n.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},P),n.listen(),n}return A(e,t),i(e,null,[{key:"match",value:function t(e,r){if(r=D(r),["altKey","ctrlKey","metaKey","shiftKey"].some(function(t){return!!r[t]!==e[t]&&null!==r[t]}))return!1;return r.key===(e.which||e.keyCode)}}]),i(e,[{key:"addBinding",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o=D(e);if(null==o||null==o.key)return N.warn("Attempted to add invalid keyboard binding",o);"function"===typeof r&&(r={handler:r}),"function"===typeof n&&(n={handler:n}),o=(0,f.default)(o,r,n),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function t(){var r=this;this.quill.root.addEventListener("keydown",function(t){if(t.defaultPrevented)return;var i=t.which||t.keyCode;var l=(r.bindings[i]||[]).filter(function(r){return e.match(t,r)});if(0===l.length)return;var a=r.quill.getSelection();if(null==a||!r.quill.hasFocus())return;var u=r.quill.getLine(a.index),c=o(u,2),f=c[0],d=c[1];var p=r.quill.getLeaf(a.index),h=o(p,2),v=h[0],b=h[1];var q=0===a.length?[v,b]:r.quill.getLeaf(a.index+a.length),g=o(q,2),m=g[0],_=g[1];var k=v instanceof y.default.Text?v.value().slice(0,b):"";var w=m instanceof y.default.Text?m.value().slice(_):"";var x={collapsed:0===a.length,empty:0===a.length&&f.length()<=1,format:r.quill.getFormat(a),offset:d,prefix:k,suffix:w};var O;l.some(function(t){if(null!=t.collapsed&&t.collapsed!==x.collapsed)return!1;if(null!=t.empty&&t.empty!==x.empty)return!1;if(null!=t.offset&&t.offset!==x.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(function(t){return null==x.format[t]}))return!1}else if("object"===n(t.format)&&!Object.keys(t.format).every(function(e){if(!0===t.format[e])return null!=x.format[e];if(!1===t.format[e])return null==x.format[e];return(0,s.default)(t.format[e],x.format[e])}))return!1;if(null!=t.prefix&&!t.prefix.test(x.prefix))return!1;if(null!=t.suffix&&!t.suffix.test(x.suffix))return!1;return!0!==t.handler.call(r,a,x)})&&t.preventDefault()})}}]),e}(w.default);function C(t,e){var r;var n=t===S.keys.LEFT?"prefix":"suffix";return O(r={key:t,shiftKey:e,altKey:null},n,/^$/),O(r,"handler",function r(n){var i=n.index;t===S.keys.RIGHT&&(i+=n.length+1);var l=this.quill.getLeaf(i),a,u;if(!(o(l,1)[0]instanceof y.default.Embed))return!0;return t===S.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,g.default.sources.USER):this.quill.setSelection(n.index-1,g.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,g.default.sources.USER):this.quill.setSelection(n.index+n.length+1,g.default.sources.USER),!1}),r}function P(t,e){if(0===t.index||this.quill.getLength()<=1)return;var r=this.quill.getLine(t.index),n,i=o(r,1)[0];var l={};if(0===e.offset){var a=this.quill.getLine(t.index-1),u,s=o(a,1)[0];if(null!=s&&s.length()>1){var c=i.formats();var f=this.quill.getFormat(t.index-1,1);l=v.default.attributes.diff(c,f)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,g.default.sources.USER),Object.keys(l).length>0&&this.quill.formatLine(t.index-d,d,l,g.default.sources.USER),this.quill.focus()}function L(t,e){var r=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(t.index>=this.quill.getLength()-r)return;var n={},i=0;var l=this.quill.getLine(t.index),a,u=o(l,1)[0];if(e.offset>=u.length()-1){var s=this.quill.getLine(t.index+1),c,f=o(s,1)[0];if(f){var d=u.formats();var p=this.quill.getFormat(t.index,1);n=v.default.attributes.diff(d,p)||{},i=f.length()}}this.quill.deleteText(t.index,r,g.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index+i-1,r,n,g.default.sources.USER)}function R(t){var e=this.quill.getLines(t);var r={};if(e.length>1){var n=e[0].formats();var o=e[e.length-1].formats();r=v.default.attributes.diff(o,n)||{}}this.quill.deleteText(t,g.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index,1,r,g.default.sources.USER),this.quill.setSelection(t.index,g.default.sources.SILENT),this.quill.focus()}function M(t,e){var r=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var n=Object.keys(e.format).reduce(function(t,r){return y.default.query(r,y.default.Scope.BLOCK)&&!Array.isArray(e.format[r])&&(t[r]=e.format[r]),t},{});this.quill.insertText(t.index,"\n",n,g.default.sources.USER),this.quill.setSelection(t.index+1,g.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){if(null!=n[t])return;if(Array.isArray(e.format[t]))return;if("link"===t)return;r.quill.format(t,e.format[t],g.default.sources.USER)})}function I(t){return{key:S.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function e(r){var n=y.default.query("code-block");var i=r.index,l=r.length;var a=this.quill.scroll.descendant(n,i),u=o(a,2),s=u[0],c=u[1];if(null==s)return;var f=this.quill.getIndex(s);var d=s.newlineIndex(c,!0)+1;var p=s.newlineIndex(f+c+l);var h=s.domNode.textContent.slice(d,p).split("\n");c=0,h.forEach(function(e,r){t?(s.insertAt(d+c,n.TAB),c+=n.TAB.length,0===r?i+=n.TAB.length:l+=n.TAB.length):e.startsWith(n.TAB)&&(s.deleteAt(d+c,n.TAB.length),c-=n.TAB.length,0===r?i-=n.TAB.length:l-=n.TAB.length),c+=e.length+1}),this.quill.update(g.default.sources.USER),this.quill.setSelection(i,l,g.default.sources.SILENT)}}}function B(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function e(r,n){this.quill.format(t,!n.format[t],g.default.sources.USER)}}}function D(t){if("string"===typeof t||"number"===typeof t)return D({key:t});if("object"===("undefined"===typeof t?"undefined":n(t))&&(t=(0,a.default)(t,!1)),"string"===typeof t.key)if(null!=S.keys[t.key.toUpperCase()])t.key=S.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[T]=t.shortKey,delete t.shortKey),t}S.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},S.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:S.keys.TAB,format:["blockquote","indent","list"],handler:function t(e,r){if(r.collapsed&&0!==r.offset)return!0;this.quill.format("indent","+1",g.default.sources.USER)}},outdent:{key:S.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function t(e,r){if(r.collapsed&&0!==r.offset)return!0;this.quill.format("indent","-1",g.default.sources.USER)}},"outdent backspace":{key:S.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function t(e,r){null!=r.format.indent?this.quill.format("indent","-1",g.default.sources.USER):null!=r.format.list&&this.quill.format("list",!1,g.default.sources.USER)}},"indent code-block":I(!0),"outdent code-block":I(!1),"remove tab":{key:S.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function t(e){this.quill.deleteText(e.index-1,1,g.default.sources.USER)}},tab:{key:S.keys.TAB,handler:function t(e){this.quill.history.cutoff();var r=(new p.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(r,g.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,g.default.sources.SILENT)}},"list empty enter":{key:S.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function t(e,r){this.quill.format("list",!1,g.default.sources.USER),r.format.indent&&this.quill.format("indent",!1,g.default.sources.USER)}},"checklist enter":{key:S.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function t(e){var r=this.quill.getLine(e.index),n=o(r,2),i=n[0],l=n[1];var a=(0,f.default)({},i.formats(),{list:"checked"});var u=(new p.default).retain(e.index).insert("\n",a).retain(i.length()-l-1).retain(1,{list:"unchecked"});this.quill.updateContents(u,g.default.sources.USER),this.quill.setSelection(e.index+1,g.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:S.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function t(e,r){var n=this.quill.getLine(e.index),i=o(n,2),l=i[0],a=i[1];var u=(new p.default).retain(e.index).insert("\n",r.format).retain(l.length()-a-1).retain(1,{header:null});this.quill.updateContents(u,g.default.sources.USER),this.quill.setSelection(e.index+1,g.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function t(e,r){var n=r.prefix.length;var i=this.quill.getLine(e.index),l=o(i,2),a=l[0],u=l[1];if(u>n)return!0;var s=void 0;switch(r.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(e.index," ",g.default.sources.USER),this.quill.history.cutoff();var c=(new p.default).retain(e.index-u).delete(n+1).retain(a.length()-2-u).retain(1,{list:s});this.quill.updateContents(c,g.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,g.default.sources.SILENT)}},"code exit":{key:S.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function t(e){var r=this.quill.getLine(e.index),n=o(r,2),i=n[0],l=n[1];var a=(new p.default).retain(e.index+i.length()-l-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,g.default.sources.USER)}},"embed left":C(S.keys.LEFT,!1),"embed left shift":C(S.keys.LEFT,!0),"embed right":C(S.keys.RIGHT,!1),"embed right shift":C(S.keys.RIGHT,!0)}},e.default=S,e.SHORTKEY=T},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var l;var a=c(r(0));var u;var s=c(r(7));function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,r){f(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.selection=r,n.textNode=document.createTextNode(e.CONTENTS),n.domNode.appendChild(n.textNode),n._length=0,n}return p(e,t),i(e,null,[{key:"value",value:function t(){return}}]),i(e,[{key:"detach",value:function t(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function t(r,n){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,r,n);var i=this,l=0;for(;null!=i&&i.statics.scope!==a.default.Scope.BLOCK_BLOT;)l+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=e.CONTENTS.length,i.optimize(),i.formatAt(l,e.CONTENTS.length,r,n),this._length=0)}},{key:"index",value:function t(r,n){if(r===this.textNode)return 0;return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,r,n)}},{key:"length",value:function t(){return this._length}},{key:"position",value:function t(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function t(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function t(){if(this.selection.composing||null==this.parent)return;var r=this.textNode;var o=this.selection.getNativeRange();var i=void 0,l=void 0,u=void 0;if(null!=o&&o.start.node===r&&o.end.node===r){var c=[r,o.start.offset,o.end.offset];i=c[0],l=c[1],u=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var f=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(i=this.next.domNode,this.next.insertAt(0,f),this.textNode.data=e.CONTENTS):(this.textNode.data=f,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=l){var d=[l,u].map(function(t){return Math.max(0,Math.min(i.data.length,t-1))});var p=n(d,2);return l=p[0],u=p[1],{startNode:i,startOffset:l,endNode:i,endOffset:u}}}},{key:"update",value:function t(e,r){var n=this;if(e.some(function(t){return"characterData"===t.type&&t.target===n.textNode})){var o=this.restore();o&&(r.range=o)}}},{key:"value",value:function t(){return""}}]),e}(a.default.Embed);h.blotName="cursor",h.className="ql-cursor",h.tagName="span",h.CONTENTS="\ufeff",e.default=h},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=a(r(0));var i=r(4);var l=a(i);function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),e}(o.default.Container);f.allowedChildren=[l.default,i.BlockEmbed,f],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=a(r(0));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"value",value:function t(r){var t=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,r);if(!t.startsWith("rgb("))return t;return t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+t.split(",").map(function(t){return("00"+parseInt(t).toString(16)).slice(-2)}).join("")}}]),e}(l.default.Attributor.Style);var d=new l.default.Attributor.Class("color","ql-color",{scope:l.default.Scope.INLINE});var p=new f("color","color",{scope:l.default.Scope.INLINE});e.ColorAttributor=f,e.ColorClass=d,e.ColorStyle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l;function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"format",value:function t(r,n){if(r!==this.statics.blotName||!n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,r,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function t(r){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return r=this.sanitize(r),n.setAttribute("href",r),n.setAttribute("target","_blank"),n}},{key:"formats",value:function t(e){return e.getAttribute("href")}},{key:"sanitize",value:function t(e){return d(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),e}(a(r(6)).default);function d(t,e){var r=document.createElement("a");r.href=t;var n=r.href.slice(0,r.href.indexOf(":"));return e.indexOf(n)>-1}f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i;var l=s(r(23));var a;var u=s(r(107));function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=0;function d(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var p=function(){function t(e){var r=this;c(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){r.togglePicker()}),this.label.addEventListener("keydown",function(t){switch(t.keyCode){case l.default.keys.ENTER:r.togglePicker();break;case l.default.keys.ESCAPE:r.escape(),t.preventDefault();break;default:}}),this.select.addEventListener("change",this.update.bind(this))}return o(t,[{key:"togglePicker",value:function t(){this.container.classList.toggle("ql-expanded"),d(this.label,"aria-expanded"),d(this.options,"aria-hidden")}},{key:"buildItem",value:function t(e){var r=this;var n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",function(){r.selectItem(n,!0)}),n.addEventListener("keydown",function(t){switch(t.keyCode){case l.default.keys.ENTER:r.selectItem(n,!0),t.preventDefault();break;case l.default.keys.ESCAPE:r.escape(),t.preventDefault();break;default:}}),n}},{key:"buildLabel",value:function t(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=u.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function t(){var e=this;var r=document.createElement("span");r.classList.add("ql-picker-options"),r.setAttribute("aria-hidden","true"),r.tabIndex="-1",r.id="ql-picker-options-"+f,f+=1,this.label.setAttribute("aria-controls",r.id),this.options=r,[].slice.call(this.select.options).forEach(function(t){var n=e.buildItem(t);r.appendChild(n),!0===t.selected&&e.selectItem(n)}),this.container.appendChild(r)}},{key:"buildPicker",value:function t(){var e=this;[].slice.call(this.select.attributes).forEach(function(t){e.container.setAttribute(t.name,t.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function t(){var e=this;this.close(),setTimeout(function(){return e.label.focus()},1)}},{key:"close",value:function t(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function t(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var o=this.container.querySelector(".ql-selected");if(e===o)return;if(null!=o&&o.classList.remove("ql-selected"),null==e)return;if(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),r){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":n(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function t(){var e=void 0;if(this.select.selectedIndex>-1){var r=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(r)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=N(r(0));var i;var l=N(r(5));var a=r(4);var u=N(a);var s;var c=N(r(16));var f;var d=N(r(25));var p;var h=N(r(24));var v;var b=N(r(35));var y;var q=N(r(6));var g;var m=N(r(22));var _;var k=N(r(7));var w;var x=N(r(55));var O;var E=N(r(42));var j;var A=N(r(23));function N(t){return t&&t.__esModule?t:{default:t}}l.default.register({"blots/block":u.default,"blots/block/embed":a.BlockEmbed,"blots/break":c.default,"blots/container":d.default,"blots/cursor":h.default,"blots/embed":b.default,"blots/inline":q.default,"blots/scroll":m.default,"blots/text":k.default,"modules/clipboard":x.default,"modules/history":E.default,"modules/keyboard":A.default}),o.default.register(u.default,c.default,h.default,q.default,m.default,k.default),e.default=l.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1);var o=function(){function t(t){this.domNode=t,this.domNode[n.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new n.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return n.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[n.DATA_KEY]},t.prototype.deleteAt=function(t,e){var r;this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,r,o){var i=this.isolate(t,e);if(null!=n.query(r,n.Scope.BLOT)&&o)i.wrap(r,o);else if(null!=n.query(r,n.Scope.ATTRIBUTE)){var l=n.create(this.statics.scope);i.wrap(l),l.format(r,o)}},t.prototype.insertAt=function(t,e,r){var o=null==r?n.create("text",e):n.create(e,r);var i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var r=null;t.children.insertBefore(this,e),null!=e&&(r=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==r||t.domNode.insertBefore(this.domNode,r),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var r=this.split(t);return r.split(e),r},t.prototype.length=function(){return 1},t.prototype.offset=function(t){if(void 0===t&&(t=this.parent),null==this.parent||this==t)return 0;return this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[n.DATA_KEY]&&delete this.domNode[n.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){if(null==t.parent)return;t.parent.insertBefore(this,t.next),t.remove()},t.prototype.replaceWith=function(t,e){var r="string"===typeof t?n.create(t,e):t;return r.replace(this),r},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var r="string"===typeof t?n.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(r,this.next),r.appendChild(this),r},t.blotName="abstract",t}();e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(12);var o=r(32);var i=r(33);var l=r(1);var a=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=n.default.keys(this.domNode);var r=o.default.keys(this.domNode);var a=i.default.keys(this.domNode);e.concat(r).concat(a).forEach(function(e){var r=l.query(e,l.Scope.ATTRIBUTE);r instanceof n.default&&(t.attributes[r.attrName]=r)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(r){var n=e.attributes[r].value(e.domNode);t.format(r,n)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,r){return e[r]=t.attributes[r].value(t.domNode),e},{})},t}();e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;var i;function l(t,e){var r;return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){if(!this.canAdd(t,e))return!1;return this.remove(t),t.classList.add(this.keyName+"-"+e),!0},e.prototype.remove=function(t){var e;l(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e;var r=(l(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,r)?r:""},e}(r(12).default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;var i;function l(t){var e=t.split("-");var r=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+r}Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){var e;return t.split(":")[0].trim()})},e.prototype.add=function(t,e){if(!this.canAdd(t,e))return!1;return t.style[l(this.keyName)]=e,!0},e.prototype.remove=function(t){t.style[l(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[l(this.keyName)];return this.canAdd(t,e)?e:""},e}(r(12).default);e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,r){o(this,t),this.quill=e,this.options=r,this.modules={}}return n(t,[{key:"init",value:function t(){var e=this;Object.keys(this.options.modules).forEach(function(t){null==e.modules[t]&&e.addModule(t)})}},{key:"addModule",value:function t(e){var r=this.quill.constructor.import("modules/"+e);return this.modules[e]=new r(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=s(r(0));var a;var u=s(r(7));function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p="\ufeff";var h=function(t){function e(t){c(this,e);var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.contentNode=document.createElement("span"),r.contentNode.setAttribute("contenteditable",!1),[].slice.call(r.domNode.childNodes).forEach(function(t){r.contentNode.appendChild(t)}),r.leftGuard=document.createTextNode(p),r.rightGuard=document.createTextNode(p),r.domNode.appendChild(r.leftGuard),r.domNode.appendChild(r.contentNode),r.domNode.appendChild(r.rightGuard),r}return d(e,t),n(e,[{key:"index",value:function t(r,n){if(r===this.leftGuard)return 0;if(r===this.rightGuard)return 1;return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,r,n)}},{key:"restore",value:function t(e){var r=void 0,n=void 0;var o=e.data.split(p).join("");if(e===this.leftGuard)if(this.prev instanceof u.default){var i=this.prev.length();this.prev.insertAt(i,o),r={startNode:this.prev.domNode,startOffset:i+o.length}}else n=document.createTextNode(o),this.parent.insertBefore(l.default.create(n),this),r={startNode:n,startOffset:o.length};else e===this.rightGuard&&(this.next instanceof u.default?(this.next.insertAt(0,o),r={startNode:this.next.domNode,startOffset:o.length}):(n=document.createTextNode(o),this.parent.insertBefore(l.default.create(n),this.next),r={startNode:n,startOffset:o.length}));return e.data=p,r}},{key:"update",value:function t(e,r){var n=this;e.forEach(function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var e=n.restore(t.target);e&&(r.range=e)}})}}]),e}(l.default.Embed);e.default=h},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var o=i(r(0));function i(t){return t&&t.__esModule?t:{default:t}}var l={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]};var a=new o.default.Attributor.Attribute("align","align",l);var u=new o.default.Attributor.Class("align","ql-align",l);var s=new o.default.Attributor.Style("align","text-align",l);e.AlignAttribute=a,e.AlignClass=u,e.AlignStyle=s},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var o=l(r(0));var i=r(26);function l(t){return t&&t.__esModule?t:{default:t}}var a=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE});var u=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=a,e.BackgroundStyle=u},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var o=i(r(0));function i(t){return t&&t.__esModule?t:{default:t}}var l={scope:o.default.Scope.BLOCK,whitelist:["rtl"]};var a=new o.default.Attributor.Attribute("direction","dir",l);var u=new o.default.Attributor.Class("direction","ql-direction",l);var s=new o.default.Attributor.Style("direction","direction",l);e.DirectionAttribute=a,e.DirectionClass=u,e.DirectionStyle=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=a(r(0));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f={scope:l.default.Scope.INLINE,whitelist:["serif","monospace"]};var d=new l.default.Attributor.Class("font","ql-font",f);var p;var h=new(function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"value",value:function t(r){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,r).replace(/["']/g,"")}}]),e}(l.default.Attributor.Style))("font","font-family",f);e.FontStyle=h,e.FontClass=d},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var o=i(r(0));function i(t){return t&&t.__esModule?t:{default:t}}var l=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]});var a=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=l,e.SizeStyle=a},function(t,e,r){"use strict";t.exports={align:{"":r(76),center:r(77),right:r(78),justify:r(79)},background:r(80),blockquote:r(81),bold:r(82),clean:r(83),code:r(58),"code-block":r(58),color:r(84),direction:{"":r(85),rtl:r(86)},float:{center:r(87),full:r(88),left:r(89),right:r(90)},formula:r(91),header:{1:r(92),2:r(93)},italic:r(94),image:r(95),indent:{"+1":r(96),"-1":r(97)},link:r(98),list:{ordered:r(99),bullet:r(100),check:r(101)},script:{sub:r(102),super:r(103)},strike:r(104),underline:r(105),video:r(106)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o;var i=c(r(0));var l;var a=c(r(5));var u;var s;function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,r){f(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.lastRecorded=0,n.ignoreChange=!1,n.clear(),n.quill.on(a.default.events.EDITOR_CHANGE,function(t,e,r,o){if(t!==a.default.events.TEXT_CHANGE||n.ignoreChange)return;n.options.userOnly&&o!==a.default.sources.USER?n.transform(e):n.record(e,r)}),n.quill.keyboard.addBinding({key:"Z",shortKey:!0},n.undo.bind(n)),n.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},n.redo.bind(n)),/Win/i.test(navigator.platform)&&n.quill.keyboard.addBinding({key:"Y",shortKey:!0},n.redo.bind(n)),n}return p(e,t),n(e,[{key:"change",value:function t(e,r){if(0===this.stack[e].length)return;var n=this.stack[e].pop();this.stack[r].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],a.default.sources.USER),this.ignoreChange=!1;var o=b(n[e]);this.quill.setSelection(o)}},{key:"clear",value:function t(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function t(){this.lastRecorded=0}},{key:"record",value:function t(e,r){if(0===e.ops.length)return;this.stack.redo=[];var n=this.quill.getContents().diff(r);var o=Date.now();if(this.lastRecorded+this.options.delay>o&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),e=i.redo.compose(e)}else this.lastRecorded=o;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}},{key:"redo",value:function t(){this.change("redo","undo")}},{key:"transform",value:function t(e){this.stack.undo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}),this.stack.redo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})}},{key:"undo",value:function t(){this.change("undo","redo")}}]),e}(c(r(9)).default);function v(t){var e=t.ops[t.ops.length-1];if(null==e)return!1;if(null!=e.insert)return"string"===typeof e.insert&&e.insert.endsWith("\n");if(null!=e.attributes)return Object.keys(e.attributes).some(function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)});return!1}function b(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0);var r=t.length()-e;return v(t)&&(r-=1),r}h.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=h,e.getLastChangeIndex=b},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=w(r(3));var a;var u=w(r(2));var s;var c=w(r(8));var f;var d=w(r(23));var p;var h=w(r(34));var v;var b=w(r(59));var y;var q=w(r(60));var g;var m=w(r(28));var _;var k=w(r(61));function w(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function E(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var j=[!1,"center","right","justify"];var A=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"];var N=[!1,"serif","monospace"];var T=["1","2","3",!1];var S=["small",!1,"large","huge"];var C=function(t){function e(t,r){x(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));var o=function e(r){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==n.tooltip||n.tooltip.root.contains(r.target)||document.activeElement===n.tooltip.textbox||n.quill.hasFocus()||n.tooltip.hide(),null!=n.pickers&&n.pickers.forEach(function(t){t.container.contains(r.target)||t.close()})};return t.emitter.listenDOM("click",document.body,o),n}return E(e,t),n(e,[{key:"addModule",value:function t(r){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,r);return"toolbar"===r&&this.extendToolbar(n),n}},{key:"buildButtons",value:function t(e,r){e.forEach(function(t){var e;(t.getAttribute("class")||"").split(/\s+/).forEach(function(e){if(!e.startsWith("ql-"))return;if(e=e.slice("ql-".length),null==r[e])return;if("direction"===e)t.innerHTML=r[e][""]+r[e].rtl;else if("string"===typeof r[e])t.innerHTML=r[e];else{var n=t.value||"";null!=n&&r[e][n]&&(t.innerHTML=r[e][n])}})})}},{key:"buildPickers",value:function t(e,r){var n=this;this.pickers=e.map(function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&R(t,j),new q.default(t,r.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var e=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&R(t,A,"background"===e?"#ffffff":"#000000"),new b.default(t,r[e])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?R(t,N):t.classList.contains("ql-header")?R(t,T):t.classList.contains("ql-size")&&R(t,S)),new m.default(t)});var o=function t(){n.pickers.forEach(function(t){t.update()})};this.quill.on(c.default.events.EDITOR_CHANGE,o)}}]),e}(h.default);C.DEFAULTS=(0,l.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function t(){this.quill.theme.tooltip.edit("formula")},image:function t(){var e=this;var r=this.container.querySelector("input.ql-image[type=file]");null==r&&((r=document.createElement("input")).setAttribute("type","file"),r.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),r.classList.add("ql-image"),r.addEventListener("change",function(){if(null!=r.files&&null!=r.files[0]){var t=new FileReader;t.onload=function(t){var n=e.quill.getSelection(!0);e.quill.updateContents((new u.default).retain(n.index).delete(n.length).insert({image:t.target.result}),c.default.sources.USER),e.quill.setSelection(n.index+1,c.default.sources.SILENT),r.value=""},t.readAsDataURL(r.files[0])}}),this.container.appendChild(r)),r.click()},video:function t(){this.quill.theme.tooltip.edit("video")}}}}});var P=function(t){function e(t,r){x(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.textbox=n.root.querySelector('input[type="text"]'),n.listen(),n}return E(e,t),n(e,[{key:"listen",value:function t(){var e=this;this.textbox.addEventListener("keydown",function(t){d.default.match(t,"enter")?(e.save(),t.preventDefault()):d.default.match(t,"escape")&&(e.cancel(),t.preventDefault())})}},{key:"cancel",value:function t(){this.hide()}},{key:"edit",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link";var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=r?this.textbox.value=r:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function t(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function t(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,c.default.sources.USER)),this.quill.root.scrollTop=r;break;case"video":e=L(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var o=n.index+n.length;this.quill.insertEmbed(o,this.root.getAttribute("data-mode"),e,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(o+1," ",c.default.sources.USER),this.quill.setSelection(o+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(k.default);function L(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);if(e)return(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0";if(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))return(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/";return t}function R(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var n=document.createElement("option");e===r?n.setAttribute("selected","selected"):n.setAttribute("value",e),t.appendChild(n)})}e.BaseTooltip=P,e.default=C},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){var t=[];for(var e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,r=this.iterator();for(;e=r();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){if(!t)return;t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1},t.prototype.offset=function(t){var e=0,r=this.head;for(;null!=r;){if(r===t)return e;e+=r.length(),r=r.next}return-1},t.prototype.remove=function(t){if(!this.contains(t))return;null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var r,n=this.iterator();for(;r=n();){var o=r.length();if(t<o||e&&t===o&&(null==r.next||0!==r.next.length()))return[r,t];t-=o}return[null,0]},t.prototype.forEach=function(t){var e,r=this.iterator();for(;e=r();)t(e)},t.prototype.forEachAt=function(t,e,r){if(e<=0)return;var n=this.find(t),o=n[0],i;var l,a=t-n[1],u=this.iterator(o);for(;(l=u())&&a<t+e;){var s=l.length();t>a?r(l,t-a,Math.min(e,a+s-t)):r(l,0,Math.min(s,t+e-a)),a+=s}},t.prototype.map=function(t){return this.reduce(function(e,r){return e.push(t(r)),e},[])},t.prototype.reduce=function(t,e){var r,n=this.iterator();for(;r=n();)e=t(e,r);return e},t}();e.default=n},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(17);var l=r(1);var a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};var u=100;var s=function(t){function e(e){var r=t.call(this,e)||this;return r.scroll=r,r.observer=new MutationObserver(function(t){r.update(t)}),r.observer.observe(r.domNode,a),r.attach(),r}return n(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,r){this.update(),0===e&&r===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,r)},e.prototype.formatAt=function(e,r,n,o){this.update(),t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.insertAt=function(e,r,n){this.update(),t.prototype.insertAt.call(this,e,r,n)},e.prototype.optimize=function(e,r){var n=this;void 0===e&&(e=[]),void 0===r&&(r={}),t.prototype.optimize.call(this,r);var o=[].slice.call(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());var a=function(t,e){if(void 0===e&&(e=!0),null==t||t===n)return;if(null==t.domNode.parentNode)return;null==t.domNode[l.DATA_KEY].mutations&&(t.domNode[l.DATA_KEY].mutations=[]),e&&a(t.parent)};var u=function(t){if(null==t.domNode[l.DATA_KEY]||null==t.domNode[l.DATA_KEY].mutations)return;t instanceof i.default&&t.children.forEach(u),t.optimize(r)};var s=e;for(var c=0;s.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(s.forEach(function(t){var e=l.find(t.target,!0);if(null==e)return;e.domNode===t.target&&("childList"===t.type?(a(l.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=l.find(t,!1);a(e,!1),e instanceof i.default&&e.children.forEach(function(t){a(t,!1)})})):"attributes"===t.type&&a(e.prev)),a(e)}),this.children.forEach(u),o=(s=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)e.push(o.pop())}},e.prototype.update=function(e,r){var n=this;void 0===r&&(r={}),(e=e||this.observer.takeRecords()).map(function(t){var e=l.find(t.target,!0);if(null==e)return null;return null==e.domNode[l.DATA_KEY].mutations?(e.domNode[l.DATA_KEY].mutations=[t],e):(e.domNode[l.DATA_KEY].mutations.push(t),null)}).forEach(function(t){if(null==t||t===n||null==t.domNode[l.DATA_KEY])return;t.update(t.domNode[l.DATA_KEY].mutations||[],r)}),null!=this.domNode[l.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,r),this.optimize(e,r)},e.blotName="scroll",e.defaultChild="block",e.scope=l.Scope.BLOCK_BLOT,e.tagName="DIV",e}(i.default);e.default=s},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(18);var l=r(1);function a(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(t[r]!==e[r])return!1;return!0}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(r){if(r.tagName===e.tagName)return;return t.formats.call(this,r)},e.prototype.format=function(r,n){var o=this;r!==this.statics.blotName||n?t.prototype.format.call(this,r,n):(this.children.forEach(function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,r,n,o){var i;null!=this.formats()[n]||l.query(n,l.Scope.ATTRIBUTE)?this.isolate(e,r).format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.optimize=function(r){t.prototype.optimize.call(this,r);var n=this.formats();if(0===Object.keys(n).length)return this.unwrap();var o=this.next;o instanceof e&&o.prev===this&&a(n,o.formats())&&(o.moveChildren(this),o.remove())},e.blotName="inline",e.scope=l.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=u},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(18);var l=r(1);var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(r){var n=l.query(e.blotName).tagName;if(r.tagName===n)return;return t.formats.call(this,r)},e.prototype.format=function(r,n){if(null==l.query(r,l.Scope.BLOCK))return;r!==this.statics.blotName||n?t.prototype.format.call(this,r,n):this.replaceWith(e.blotName)},e.prototype.formatAt=function(e,r,n,o){null!=l.query(n,l.Scope.BLOCK)?this.format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.insertAt=function(e,r,n){if(null==n||null!=l.query(r,l.Scope.INLINE))t.prototype.insertAt.call(this,e,r,n);else{var o=this.split(e);var i=l.create(r,n);o.parent.insertBefore(i,o)}},e.prototype.update=function(e,r){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,r)},e.blotName="block",e.scope=l.Scope.BLOCK_BLOT,e.tagName="P",e}(i.default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;var i;Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(t){return},e.prototype.format=function(e,r){t.prototype.formatAt.call(this,0,this.length(),e,r)},e.prototype.formatAt=function(e,r,n,o){0===e&&r===this.length()?this.format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(r(19).default);e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});var o;Object.defineProperty(e,"__esModule",{value:!0});var i=r(19);var l=r(1);var a=function(t){function e(e){var r=t.call(this,e)||this;return r.text=r.statics.value(r.domNode),r}return n(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){if(this.domNode===t)return e;return-1},e.prototype.insertAt=function(e,r,n){null==n?(this.text=this.text.slice(0,e)+r+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,r,n)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(r){t.prototype.optimize.call(this,r),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var r=l.create(this.domNode.splitText(t));return this.parent.insertBefore(r,this.next),this.text=this.statics.value(this.domNode),r},e.prototype.update=function(t,e){var r=this;t.some(function(t){return"characterData"===t.type&&t.target===r.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=l.Scope.INLINE_BLOT,e}(i.default);e.default=a},function(t,e,r){"use strict";var n=document.createElement("div");if(n.classList.toggle("test-class",!1),n.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var r=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>r.length)&&(e=r.length),e-=t.length;var n=r.indexOf(t,e);return-1!==n&&n===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function t(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");var r=Object(this);var n=r.length>>>0;var o=arguments[1];var t;for(var i=0;i<n;i++)if(t=r[i],e.call(o,t,i,r))return t;return}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(t,e){var r=-1;var n=1;var o=0;function i(t,e,r){if(t==e){if(t)return[[o,t]];return[]}(r<0||t.length<r)&&(r=null);var n=s(t,e);var i=t.substring(0,n);n=c(t=t.substring(n),e=e.substring(n));var a=t.substring(t.length-n);var u=l(t=t.substring(0,t.length-n),e=e.substring(0,e.length-n));return i&&u.unshift([o,i]),a&&u.push([o,a]),d(u),null!=r&&(u=v(u,r)),u=b(u)}function l(t,e){var l;if(!t)return[[n,e]];if(!e)return[[r,t]];var u=t.length>e.length?t:e;var s=t.length>e.length?e:t;var c=u.indexOf(s);if(-1!=c)return l=[[n,u.substring(0,c)],[o,s],[n,u.substring(c+s.length)]],t.length>e.length&&(l[0][0]=l[2][0]=r),l;if(1==s.length)return[[r,t],[n,e]];var d=f(t,e);if(d){var p=d[0];var h=d[1];var v=d[2];var b=d[3];var y=d[4];var q=i(p,v);var g=i(h,b);return q.concat([[o,y]],g)}return a(t,e)}function a(t,e){var o=t.length;var i=e.length;var l=Math.ceil((o+i)/2);var a=l;var s=2*l;var c=new Array(s);var f=new Array(s);for(var d=0;d<s;d++)c[d]=-1,f[d]=-1;c[a+1]=0,f[a+1]=0;var p=o-i;var h=p%2!=0;var v=0;var b=0;var y=0;var q=0;for(var g=0;g<l;g++){for(var m=-g+v;m<=g-b;m+=2){var _=a+m;var k;var w=(k=m==-g||m!=g&&c[_-1]<c[_+1]?c[_+1]:c[_-1]+1)-m;for(;k<o&&w<i&&t.charAt(k)==e.charAt(w);)k++,w++;if(c[_]=k,k>o)b+=2;else if(w>i)v+=2;else if(h){var x;var O;if((x=a+p-m)>=0&&x<s&&-1!=f[x])if(k>=(O=o-f[x]))return u(t,e,k,w)}}for(var E=-g+y;E<=g-q;E+=2){var x=a+E;var O;var j=(O=E==-g||E!=g&&f[x-1]<f[x+1]?f[x+1]:f[x-1]+1)-E;for(;O<o&&j<i&&t.charAt(o-O-1)==e.charAt(i-j-1);)O++,j++;if(f[x]=O,O>o)q+=2;else if(j>i)y+=2;else if(!h){var _;if((_=a+p-E)>=0&&_<s&&-1!=c[_]){var k;var w=a+(k=c[_])-_;if(k>=(O=o-O))return u(t,e,k,w)}}}}return[[r,t],[n,e]]}function u(t,e,r,n){var o=t.substring(0,r);var l=e.substring(0,n);var a=t.substring(r);var u=e.substring(n);var s=i(o,l);var c=i(a,u);return s.concat(c)}function s(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var r=0;var n=Math.min(t.length,e.length);var o=n;var i=0;for(;r<o;)t.substring(i,o)==e.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o}function c(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var r=0;var n=Math.min(t.length,e.length);var o=n;var i=0;for(;r<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o}function f(t,e){var r=t.length>e.length?t:e;var n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;function o(t,e,r){var n=t.substring(r,r+Math.floor(t.length/4));var o=-1;var i="";var l,a,u,f;for(;-1!=(o=e.indexOf(n,o+1));){var d=s(t.substring(r),e.substring(o));var p=c(t.substring(0,r),e.substring(0,o));i.length<p+d&&(i=e.substring(o-p,o)+e.substring(o,o+d),l=t.substring(0,r-p),a=t.substring(r+d),u=e.substring(0,o-p),f=e.substring(o+d))}return 2*i.length>=t.length?[l,a,u,f,i]:null}var i=o(r,n,Math.ceil(r.length/4));var l=o(r,n,Math.ceil(r.length/2));var a;if(!i&&!l)return null;var u,f,d,p;var h;return a=l?i&&i[4].length>l[4].length?i:l:i,t.length>e.length?(u=a[0],f=a[1],d=a[2],p=a[3]):(d=a[0],p=a[1],u=a[2],f=a[3]),[u,f,d,p,a[4]]}function d(t){t.push([o,""]);var e=0;var i=0;var l=0;var a="";var u="";var f;for(;e<t.length;)switch(t[e][0]){case n:l++,u+=t[e][1],e++;break;case r:i++,a+=t[e][1],e++;break;case o:i+l>1?(0!==i&&0!==l&&(0!==(f=s(u,a))&&(e-i-l>0&&t[e-i-l-1][0]==o?t[e-i-l-1][1]+=u.substring(0,f):(t.splice(0,0,[o,u.substring(0,f)]),e++),u=u.substring(f),a=a.substring(f)),0!==(f=c(u,a))&&(t[e][1]=u.substring(u.length-f)+t[e][1],u=u.substring(0,u.length-f),a=a.substring(0,a.length-f))),0===i?t.splice(e-l,i+l,[n,u]):0===l?t.splice(e-i,i+l,[r,a]):t.splice(e-i-l,i+l,[r,a],[n,u]),e=e-i-l+(i?1:0)+(l?1:0)+1):0!==e&&t[e-1][0]==o?(t[e-1][1]+=t[e][1],t.splice(e,1)):e++,l=0,i=0,a="",u="";break}""===t[t.length-1][1]&&t.pop();var p=!1;for(e=1;e<t.length-1;)t[e-1][0]==o&&t[e+1][0]==o&&(t[e][1].substring(t[e][1].length-t[e-1][1].length)==t[e-1][1]?(t[e][1]=t[e-1][1]+t[e][1].substring(0,t[e][1].length-t[e-1][1].length),t[e+1][1]=t[e-1][1]+t[e+1][1],t.splice(e-1,1),p=!0):t[e][1].substring(0,t[e+1][1].length)==t[e+1][1]&&(t[e-1][1]+=t[e+1][1],t[e][1]=t[e][1].substring(t[e+1][1].length)+t[e+1][1],t.splice(e+1,1),p=!0)),e++;p&&d(t)}var p=i;function h(t,e){if(0===e)return[o,t];for(var n=0,i=0;i<t.length;i++){var l=t[i];if(l[0]===r||l[0]===o){var a=n+l[1].length;if(e===a)return[i+1,t];if(e<a){t=t.slice();var u=e-n;var s=[l[0],l[1].slice(0,u)];var c=[l[0],l[1].slice(u)];return t.splice(i,1,s,c),[i+1,t]}n=a}}throw new Error("cursor_pos is out of bounds!")}function v(t,e){var r=h(t,e);var n=r[1];var i=r[0];var l=n[i];var a=n[i+1];if(null==l)return t;if(l[0]!==o)return t;if(null!=a&&l[1]+a[1]===a[1]+l[1])return n.splice(i,2,a,l),y(n,i,2);if(null!=a&&0===a[1].indexOf(l[1])){n.splice(i,2,[a[0],l[1]],[0,l[1]]);var u=a[1].slice(l[1].length);return u.length>0&&n.splice(i+2,0,[a[0],u]),y(n,i,3)}return t}function b(t){var e=!1;var i=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343};var l=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319};for(var a=2;a<t.length;a+=1)t[a-2][0]===o&&l(t[a-2][1])&&t[a-1][0]===r&&i(t[a-1][1])&&t[a][0]===n&&i(t[a][1])&&(e=!0,t[a-1][1]=t[a-2][1].slice(-1)+t[a-1][1],t[a][1]=t[a-2][1].slice(-1)+t[a][1],t[a-2][1]=t[a-2][1].slice(0,-1));if(!e)return t;var u=[];for(var a=0;a<t.length;a+=1)t[a][1].length>0&&u.push(t[a]);return u}function y(t,e,r){for(var n=e+r-1;n>=0&&n>=e-1;n--)if(n+1<t.length){var o=t[n];var i=t[n+1];o[0]===i[1]&&t.splice(n,2,[o[0],o[1]+i[1]])}return t}p.INSERT=n,p.DELETE=r,p.EQUAL=o,t.exports=p},function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}(e=t.exports="function"===typeof Object.keys?Object.keys:r).shim=r},function(t,e){var r="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=r?n:o).supported=n,e.unsupported=o},function(t,e){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function o(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),l.prototype.eventNames=function t(){var e=[],o,i;if(0===this._eventsCount)return e;for(i in o=this._events)r.call(o,i)&&e.push(n?i.slice(1):i);if(Object.getOwnPropertySymbols)return e.concat(Object.getOwnPropertySymbols(o));return e},l.prototype.listeners=function t(e,r){var o=n?n+e:e,i=this._events[o];if(r)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var l=0,a=i.length,u=new Array(a);l<a;l++)u[l]=i[l].fn;return u},l.prototype.emit=function t(e,r,o,i,l,a){var u=n?n+e:e;if(!this._events[u])return!1;var s=this._events[u],c=arguments.length,f,d;if(s.fn){switch(s.once&&this.removeListener(e,s.fn,void 0,!0),c){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,r),!0;case 3:return s.fn.call(s.context,r,o),!0;case 4:return s.fn.call(s.context,r,o,i),!0;case 5:return s.fn.call(s.context,r,o,i,l),!0;case 6:return s.fn.call(s.context,r,o,i,l,a),!0}for(d=1,f=new Array(c-1);d<c;d++)f[d-1]=arguments[d];s.fn.apply(s.context,f)}else{var p=s.length,h;for(d=0;d<p;d++)switch(s[d].once&&this.removeListener(e,s[d].fn,void 0,!0),c){case 1:s[d].fn.call(s[d].context);break;case 2:s[d].fn.call(s[d].context,r);break;case 3:s[d].fn.call(s[d].context,r,o);break;case 4:s[d].fn.call(s[d].context,r,o,i);break;default:if(!f)for(h=1,f=new Array(c-1);h<c;h++)f[h-1]=arguments[h];s[d].fn.apply(s[d].context,f)}}return!0},l.prototype.on=function t(e,r,o){var l=new i(r,o||this),a=n?n+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],l]:this._events[a].push(l):(this._events[a]=l,this._eventsCount++),this},l.prototype.once=function t(e,r,o){var l=new i(r,o||this,!0),a=n?n+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],l]:this._events[a].push(l):(this._events[a]=l,this._eventsCount++),this},l.prototype.removeListener=function t(e,r,i,l){var a=n?n+e:e;if(!this._events[a])return this;if(!r)return 0===--this._eventsCount?this._events=new o:delete this._events[a],this;var u=this._events[a];if(u.fn)u.fn!==r||l&&!u.once||i&&u.context!==i||(0===--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var s=0,c=[],f=u.length;s<f;s++)(u[s].fn!==r||l&&!u[s].once||i&&u[s].context!==i)&&c.push(u[s]);c.length?this._events[a]=1===c.length?c[0]:c:0===--this._eventsCount?this._events=new o:delete this._events[a]}return this},l.prototype.removeAllListeners=function t(e){var r;return e?(r=n?n+e:e,this._events[r]&&(0===--this._eventsCount?this._events=new o:delete this._events[r])):(this._events=new o,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prototype.setMaxListeners=function t(){return this},l.prefixed=n,l.EventEmitter=l,"undefined"!==typeof t&&(t.exports=l)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var o=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var l;var a=E(r(3));var u;var s=E(r(2));var c;var f=E(r(0));var d;var p=E(r(5));var h;var v=E(r(10));var b;var y=E(r(9));var q=r(36);var g=r(37);var m;var _=E(r(13));var k=r(26);var w=r(38);var x=r(39);var O=r(40);function E(t){return t&&t.__esModule?t:{default:t}}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function T(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var S=(0,v.default)("quill:clipboard");var C="__ql-matcher";var P=[[Node.TEXT_NODE,X],[Node.TEXT_NODE,Z],["br",Y],[Node.ELEMENT_NODE,Z],[Node.ELEMENT_NODE,K],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,W],["li",V],["b",F.bind(F,"bold")],["i",F.bind(F,"italic")],["style",$]];var L=[q.AlignAttribute,w.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{});var R=[q.AlignStyle,g.BackgroundStyle,k.ColorStyle,w.DirectionStyle,x.FontStyle,O.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{});var M=function(t){function e(t,r){A(this,e);var n=N(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],P.concat(n.options.matchers).forEach(function(t){var e=o(t,2),i=e[0],l=e[1];if(!r.matchVisual&&l===G)return;n.addMatcher(i,l)}),n}return T(e,t),i(e,[{key:"addMatcher",value:function t(e,r){this.matchers.push([e,r])}},{key:"convert",value:function t(e){if("string"===typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var r=this.quill.getFormat(this.quill.selection.savedRange.index);if(r[_.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,j({},_.default.blotName,r[_.default.blotName]))}var i=this.prepareMatching(),l=o(i,2),a=l[0],u=l[1];var c=U(this.container,a,u);return D(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),S.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),r),this.quill.setSelection(0,p.default.sources.SILENT);else{var o=this.convert(r);this.quill.updateContents((new s.default).retain(e).concat(o),n),this.quill.setSelection(e+o.length(),p.default.sources.SILENT)}}},{key:"onPaste",value:function t(e){var r=this;if(e.defaultPrevented||!this.quill.isEnabled())return;var n=this.quill.getSelection();var o=(new s.default).retain(n.index);var i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(p.default.sources.SILENT),setTimeout(function(){o=o.concat(r.convert()).delete(n.length),r.quill.updateContents(o,p.default.sources.USER),r.quill.setSelection(o.length()-n.length,p.default.sources.SILENT),r.quill.scrollingContainer.scrollTop=i,r.quill.focus()},1)}},{key:"prepareMatching",value:function t(){var e=this;var r=[],n=[];return this.matchers.forEach(function(t){var i=o(t,2),l=i[0],a=i[1];switch(l){case Node.TEXT_NODE:n.push(a);break;case Node.ELEMENT_NODE:r.push(a);break;default:[].forEach.call(e.container.querySelectorAll(l),function(t){t[C]=t[C]||[],t[C].push(a)});break}}),[r,n]}}]),e}(y.default);function I(t,e,r){return"object"===("undefined"===typeof e?"undefined":n(e))?Object.keys(e).reduce(function(t,r){return I(t,r,e[r])},t):t.reduce(function(t,n){return n.attributes&&n.attributes[e]?t.push(n):t.insert(n.insert,(0,a.default)({},j({},e,r),n.attributes))},new s.default)}function B(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function D(t,e){var r="";for(var n=t.ops.length-1;n>=0&&r.length<e.length;--n){var o=t.ops[n];if("string"!==typeof o.insert)break;r=o.insert+r}return r.slice(-1*e.length)===e}function z(t){if(0===t.childNodes.length)return!1;var e=B(t);return["block","list-item"].indexOf(e.display)>-1}function U(t,e,r){return t.nodeType===t.TEXT_NODE?r.reduce(function(e,r){return r(t,e)},new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(n,o){var i=U(o,e,r);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[C]||[]).reduce(function(t,e){return e(o,t)},i)),n.concat(i)},new s.default):new s.default}function F(t,e,r){return I(r,t,!0)}function H(t,e){var r=f.default.Attributor.Attribute.keys(t);var n=f.default.Attributor.Class.keys(t);var o=f.default.Attributor.Style.keys(t);var i={};return r.concat(n).concat(o).forEach(function(e){var r=f.default.query(e,f.default.Scope.ATTRIBUTE);if(null!=r&&(i[r.attrName]=r.value(t),i[r.attrName]))return;null==(r=L[e])||r.attrName!==e&&r.keyName!==e||(i[r.attrName]=r.value(t)||void 0),null==(r=R[e])||r.attrName!==e&&r.keyName!==e||(r=R[e],i[r.attrName]=r.value(t)||void 0)}),Object.keys(i).length>0&&(e=I(e,i)),e}function K(t,e){var r=f.default.query(t);if(null==r)return e;if(r.prototype instanceof f.default.Embed){var n={};var o=r.value(t);null!=o&&(n[r.blotName]=o,e=(new s.default).insert(n,r.formats(t)))}else"function"===typeof r.formats&&(e=I(e,r.blotName,r.formats(t)));return e}function Y(t,e){return D(e,"\n")||e.insert("\n"),e}function $(){return new s.default}function V(t,e){var r=f.default.query(t);if(null==r||"list-item"!==r.blotName||!D(e,"\n"))return e;var n=-1,o=t.parentNode;for(;!o.classList.contains("ql-clipboard");)"list"===(f.default.query(o)||{}).blotName&&(n+=1),o=o.parentNode;if(n<=0)return e;return e.compose((new s.default).retain(e.length()-1).retain(1,{indent:n}))}function Z(t,e){return D(e,"\n")||(z(t)||e.length()>0&&t.nextSibling&&z(t.nextSibling))&&e.insert("\n"),e}function G(t,e){if(z(t)&&null!=t.nextElementSibling&&!D(e,"\n\n")){var r=t.offsetHeight+parseFloat(B(t).marginTop)+parseFloat(B(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*r&&e.insert("\n")}return e}function W(t,e){var r={};var n=t.style||{};return n.fontStyle&&"italic"===B(t).fontStyle&&(r.italic=!0),n.fontWeight&&(B(t).fontWeight.startsWith("bold")||parseInt(B(t).fontWeight)>=700)&&(r.bold=!0),Object.keys(r).length>0&&(e=I(e,r)),parseFloat(n.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}function X(t,e){var r=t.data;if("O:P"===t.parentNode.tagName)return e.insert(r.trim());if(0===r.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!B(t.parentNode).whiteSpace.startsWith("pre")){var n=function t(e,r){return(r=r.replace(/[^\u00a0]/g,"")).length<1&&e?" ":r};r=(r=r.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,n.bind(n,!0)),(null==t.previousSibling&&z(t.parentNode)||null!=t.previousSibling&&z(t.previousSibling))&&(r=r.replace(/^\s+/,n.bind(n,!1))),(null==t.nextSibling&&z(t.parentNode)||null!=t.nextSibling&&z(t.nextSibling))&&(r=r.replace(/\s+$/,n.bind(n,!1)))}return e.insert(r)}M.DEFAULTS={matchers:[],matchVisual:!0},e.default=M,e.matchAttributor=H,e.matchBlot=K,e.matchNewline=Z,e.matchSpacing=G,e.matchText=X},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l;function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"optimize",value:function t(r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,r),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function t(){return o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function t(){return!0}}]),e}(a(r(6)).default);f.blotName="bold",f.tagName=["STRONG","B"],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var n=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i;var l=v(r(2));var a;var u=v(r(0));var s;var c=v(r(5));var f;var d=v(r(10));var p;var h=v(r(9));function v(t){return t&&t.__esModule?t:{default:t}}function b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=(0,d.default)("quill:toolbar");var _=function(t){function e(t,r){y(this,e);var o=q(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if(Array.isArray(o.options.container)){var i=document.createElement("div");w(i,o.options.container),t.container.parentNode.insertBefore(i,t.container),o.container=i}else"string"===typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;var l;if(!(o.container instanceof HTMLElement))return l=m.error("Container required for toolbar",o.options),q(o,l);return o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach(function(t){o.addHandler(t,o.options.handlers[t])}),[].forEach.call(o.container.querySelectorAll("button, select"),function(t){o.attach(t)}),o.quill.on(c.default.events.EDITOR_CHANGE,function(t,e){t===c.default.events.SELECTION_CHANGE&&o.update(e)}),o.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){var t=o.quill.selection.getRange(),e,r=n(t,1)[0];o.update(r)}),o}return g(e,t),o(e,[{key:"addHandler",value:function t(e,r){this.handlers[e]=r}},{key:"attach",value:function t(e){var r=this;var o=[].find.call(e.classList,function(t){return 0===t.indexOf("ql-")});if(!o)return;if(o=o.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[o]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[o])return void m.warn("ignoring attaching to disabled format",o,e);if(null==u.default.query(o))return void m.warn("ignoring attaching to nonexistent format",o,e)}var i="SELECT"===e.tagName?"change":"click";e.addEventListener(i,function(t){var i=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var a=e.options[e.selectedIndex];i=!a.hasAttribute("selected")&&(a.value||!1)}else i=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),t.preventDefault();r.quill.focus();var s=r.quill.selection.getRange(),f,d=n(s,1)[0];if(null!=r.handlers[o])r.handlers[o].call(r,i);else if(u.default.query(o).prototype instanceof u.default.Embed){if(!(i=prompt("Enter "+o)))return;r.quill.updateContents((new l.default).retain(d.index).delete(d.length).insert(b({},o,i)),c.default.sources.USER)}else r.quill.format(o,i,c.default.sources.USER);r.update(d)}),this.controls.push([o,e])}},{key:"update",value:function t(e){var r=null==e?{}:this.quill.getFormat(e);this.controls.forEach(function(t){var o=n(t,2),i=o[0],l=o[1];if("SELECT"===l.tagName){var a=void 0;if(null==e)a=null;else if(null==r[i])a=l.querySelector("option[selected]");else if(!Array.isArray(r[i])){var u=r[i];"string"===typeof u&&(u=u.replace(/\"/g,'\\"')),a=l.querySelector('option[value="'+u+'"]')}null==a?(l.value="",l.selectedIndex=-1):a.selected=!0}else if(null==e)l.classList.remove("ql-active");else if(l.hasAttribute("value")){var s=r[i]===l.getAttribute("value")||null!=r[i]&&r[i].toString()===l.getAttribute("value")||null==r[i]&&!l.getAttribute("value");l.classList.toggle("ql-active",s)}else l.classList.toggle("ql-active",null!=r[i])})}}]),e}(h.default);function k(t,e,r){var n=document.createElement("button");n.setAttribute("type","button"),n.classList.add("ql-"+e),null!=r&&(n.value=r),t.appendChild(n)}function w(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var r=document.createElement("span");r.classList.add("ql-formats"),e.forEach(function(t){if("string"===typeof t)k(r,t);else{var e=Object.keys(t)[0];var n=t[e];Array.isArray(n)?x(r,e,n):k(r,e,n)}}),t.appendChild(r)})}function x(t,e,r){var n=document.createElement("select");n.classList.add("ql-"+e),r.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),n.appendChild(e)}),t.appendChild(n)}_.DEFAULTS={},_.DEFAULTS={container:null,handlers:{clean:function t(){var e=this;var r=this.quill.getSelection();if(null==r)return;if(0==r.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(t){null!=u.default.query(t,u.default.Scope.INLINE)&&e.quill.format(t,!1)})}else this.quill.removeFormat(r,c.default.sources.USER)},direction:function t(e){var r=this.quill.getFormat().align;"rtl"===e&&null==r?this.quill.format("align","right",c.default.sources.USER):e||"right"!==r||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",e,c.default.sources.USER)},indent:function t(e){var r=this.quill.getSelection();var n=this.quill.getFormat(r);var t=parseInt(n.indent||0);if("+1"===e||"-1"===e){var o="+1"===e?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",t+o,c.default.sources.USER)}},link:function t(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,c.default.sources.USER)},list:function t(e){var r=this.quill.getSelection();var n=this.quill.getFormat(r);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",e,c.default.sources.USER)}}},e.default=_,e.addControls=w},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l;function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(t,r){u(this,e);var n=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.label.innerHTML=r,n.container.classList.add("ql-color-picker"),[].slice.call(n.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(t){t.classList.add("ql-primary")}),n}return c(e,t),n(e,[{key:"buildItem",value:function t(r){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,r);return n.style.backgroundColor=r.getAttribute("value")||"",n}},{key:"selectItem",value:function t(r,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,r,n);var i=this.label.querySelector(".ql-color-label");var l=r&&r.getAttribute("data-value")||"";i&&("line"===i.tagName?i.style.stroke=l:i.style.fill=l)}}]),e}(a(r(28)).default);e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l;function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(t,r){u(this,e);var n=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.container.classList.add("ql-icon-picker"),[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),function(t){t.innerHTML=r[t.getAttribute("data-value")||""]}),n.defaultItem=n.container.querySelector(".ql-selected"),n.selectItem(n.defaultItem),n}return c(e,t),n(e,[{key:"selectItem",value:function t(r,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,r,n),r=r||this.defaultItem,this.label.innerHTML=r.innerHTML}}]),e}(a(r(28)).default);e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,r){var n=this;o(this,t),this.quill=e,this.boundsContainer=r||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){n.root.style.marginTop=-1*n.quill.root.scrollTop+"px"}),this.hide()}return n(t,[{key:"hide",value:function t(){this.root.classList.add("ql-hidden")}},{key:"position",value:function t(e){var r=e.left+e.width/2-this.root.offsetWidth/2;var n=e.bottom+this.quill.root.scrollTop;this.root.style.left=r+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var o=this.boundsContainer.getBoundingClientRect();var i=this.root.getBoundingClientRect();var l=0;if(i.right>o.right&&(l=o.right-i.right,this.root.style.left=r+l+"px"),i.left<o.left&&(l=o.left-i.left,this.root.style.left=r+l+"px"),i.bottom>o.bottom){var a=i.bottom-i.top;var u=e.bottom-e.top+a;this.root.style.top=n-u+"px",this.root.classList.add("ql-flip")}return l}},{key:"show",value:function t(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[];var n=!0;var o=!1;var i=void 0;try{for(var l=t[Symbol.iterator](),a;!(n=(a=l.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var l;var a=y(r(3));var u;var s=y(r(8));var c=r(43);var f=y(c);var d;var p=y(r(27));var h=r(15);var v;var b=y(r(41));function y(t){return t&&t.__esModule?t:{default:t}}function q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];var k=function(t){function e(t,r){q(this,e),null!=r.modules.toolbar&&null==r.modules.toolbar.container&&(r.modules.toolbar.container=_);var n=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.container.classList.add("ql-snow"),n}return m(e,t),i(e,[{key:"extendToolbar",value:function t(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),b.default),this.tooltip=new w(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(t,r){e.handlers.link.call(e,!r.format.link)})}}]),e}(f.default);k.DEFAULTS=(0,a.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function t(e){if(e){var r=this.quill.getSelection();if(null==r||0==r.length)return;var n=this.quill.getText(r);var o;/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var w=function(t){function e(t,r){q(this,e);var n=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.preview=n.root.querySelector("a.ql-preview"),n}return m(e,t),i(e,[{key:"listen",value:function t(){var r=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(t){r.root.classList.contains("ql-editing")?r.save():r.edit("link",r.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(t){if(null!=r.linkRange){var e=r.linkRange;r.restoreFocus(),r.quill.formatText(e,"link",!1,s.default.sources.USER),delete r.linkRange}t.preventDefault(),r.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(t,e,o){if(null==t)return;if(0===t.length&&o===s.default.sources.USER){var i=r.quill.scroll.descendant(p.default,t.index),l=n(i,2),a=l[0],u=l[1];if(null!=a){r.linkRange=new h.Range(t.index-u,a.length());var c=p.default.formats(a.domNode);return r.preview.textContent=c,r.preview.setAttribute("href",c),r.show(),void r.position(r.quill.getBounds(r.linkRange))}}else delete r.linkRange;r.hide()})}},{key:"show",value:function t(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(c.BaseTooltip);w.TEMPLATE=['<a class="ql-preview" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=k},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=rt(r(29));var i=r(36);var l=r(38);var a=r(64);var u;var s=rt(r(65));var c;var f=rt(r(66));var d=r(67);var p=rt(d);var h=r(37);var v=r(26);var b=r(39);var y=r(40);var q;var g=rt(r(56));var m;var _=rt(r(68));var k;var w=rt(r(27));var x;var O=rt(r(69));var E;var j=rt(r(70));var A;var N=rt(r(71));var T;var S=rt(r(72));var C;var P=rt(r(73));var L=r(13);var R=rt(L);var M;var I=rt(r(74));var B;var D=rt(r(75));var z;var U=rt(r(57));var F;var H=rt(r(41));var K;var Y=rt(r(28));var $;var V=rt(r(59));var Z;var G=rt(r(60));var W;var X=rt(r(61));var Q;var J=rt(r(108));var tt;var et=rt(r(62));function rt(t){return t&&t.__esModule?t:{default:t}}o.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":i.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":y.SizeClass,"attributors/style/align":i.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":y.SizeStyle},!0),o.default.register({"formats/align":i.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":a.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":y.SizeClass,"formats/blockquote":s.default,"formats/code-block":R.default,"formats/header":f.default,"formats/list":p.default,"formats/bold":g.default,"formats/code":L.Code,"formats/italic":_.default,"formats/link":w.default,"formats/script":O.default,"formats/strike":j.default,"formats/underline":N.default,"formats/image":S.default,"formats/video":P.default,"formats/list/item":d.ListItem,"modules/formula":I.default,"modules/syntax":D.default,"modules/toolbar":U.default,"themes/bubble":J.default,"themes/snow":et.default,"ui/icons":H.default,"ui/picker":Y.default,"ui/icon-picker":G.default,"ui/color-picker":V.default,"ui/tooltip":X.default},!0),e.default=o.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=a(r(0));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f;var d=new(function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"add",value:function t(r,n){if("+1"===n||"-1"===n){var i=this.value(r)||0;n="+1"===n?i+1:i-1}return 0===n?(this.remove(r),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,r,n)}},{key:"canAdd",value:function t(r,n){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,r,n)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,r,parseInt(n))}},{key:"value",value:function t(r){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,r))||void 0}}]),e}(l.default.Attributor.Class))("indent","ql-indent",{scope:l.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,r){"use strict";var n;var o;function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return l(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),e}(i(r(4)).default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o;var i;function l(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(){return a(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),n(e,null,[{key:"formats",value:function t(e){return this.tagName.indexOf(e.tagName)+1}}]),e}(l(r(4)).default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],e.default=c},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=f(r(0));var a;var u=f(r(4));var s;var c=f(r(25));function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function v(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t){function e(){return p(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return v(e,t),n(e,[{key:"format",value:function t(r,n){r!==y.blotName||n?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,r,n):this.replaceWith(l.default.create(this.statics.scope))}},{key:"remove",value:function t(){null==this.prev&&null==this.next?this.parent.remove():o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function t(r,n){return this.parent.isolate(this.offset(this.parent),this.length()),r===this.parent.statics.blotName?(this.parent.replaceWith(r,n),this):(this.parent.unwrap(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,r,n))}}],[{key:"formats",value:function t(r){return r.tagName===this.tagName?void 0:o(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,r)}}]),e}(u.default);b.blotName="list-item",b.tagName="LI";var y=function(t){function e(t){p(this,e);var r=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));var n=function e(n){if(n.target.parentNode!==t)return;var o=r.statics.formats(t);var i=l.default.find(n.target);"checked"===o?i.format("list","unchecked"):"unchecked"===o&&i.format("list","checked")};return t.addEventListener("touchstart",n),t.addEventListener("mousedown",n),r}return v(e,t),n(e,null,[{key:"create",value:function t(r){var n="ordered"===r?"OL":"UL";var i=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==r&&"unchecked"!==r||i.setAttribute("data-checked","checked"===r),i}},{key:"formats",value:function t(e){if("OL"===e.tagName)return"ordered";if("UL"===e.tagName)return e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet";return}}]),n(e,[{key:"format",value:function t(e,r){this.children.length>0&&this.children.tail.format(e,r)}},{key:"formats",value:function t(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function t(r,n){if(r instanceof b)o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,r,n);else{var i=null==n?this.length():n.offset(this);var l=this.split(i);l.parent.insertBefore(r,l)}}},{key:"optimize",value:function t(r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,r);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function t(r){if(r.statics.blotName!==this.statics.blotName){var n=l.default.create(this.statics.defaultChild);r.moveChildren(n),this.appendChild(n)}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,r)}}]),e}(c.default);y.blotName="list",y.scope=l.default.Scope.BLOCK_BLOT,y.tagName=["OL","UL"],y.defaultChild="list-item",y.allowedChildren=[b],e.ListItem=b,e.default=y},function(t,e,r){"use strict";var n;var o;function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return l(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),e}(i(r(56)).default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l;function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return u(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,null,[{key:"create",value:function t(r){return"super"===r?document.createElement("sup"):"sub"===r?document.createElement("sub"):o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r)}},{key:"formats",value:function t(e){if("SUB"===e.tagName)return"sub";if("SUP"===e.tagName)return"super";return}}]),e}(a(r(6)).default);f.blotName="script",f.tagName=["SUB","SUP"],e.default=f},function(t,e,r){"use strict";var n;var o;function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return l(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),e}(i(r(6)).default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,r){"use strict";var n;var o;function i(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return l(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),e}(i(r(6)).default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=u(r(0));var a=r(27);function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=["alt","height","width"];var p=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),n(e,[{key:"format",value:function t(r,n){d.indexOf(r)>-1?n?this.domNode.setAttribute(r,n):this.domNode.removeAttribute(r):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,r,n)}}],[{key:"create",value:function t(r){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return"string"===typeof r&&n.setAttribute("src",this.sanitize(r)),n}},{key:"formats",value:function t(e){return d.reduce(function(t,r){return e.hasAttribute(r)&&(t[r]=e.getAttribute(r)),t},{})}},{key:"match",value:function t(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function t(e){return(0,a.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function t(e){return e.getAttribute("src")}}]),e}(l.default.Embed);p.blotName="image",p.tagName="IMG",e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i=r(4);var l;var a=u(r(27));function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=["height","width"];var p=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),n(e,[{key:"format",value:function t(r,n){d.indexOf(r)>-1?n?this.domNode.setAttribute(r,n):this.domNode.removeAttribute(r):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,r,n)}}],[{key:"create",value:function t(r){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(r)),n}},{key:"formats",value:function t(e){return d.reduce(function(t,r){return e.hasAttribute(r)&&(t[r]=e.getAttribute(r)),t},{})}},{key:"sanitize",value:function t(e){return a.default.sanitize(e)}},{key:"value",value:function t(e){return e.getAttribute("src")}}]),e}(i.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=f(r(35));var a;var u=f(r(5));var s;var c=f(r(9));function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=function(t){function e(){return d(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),n(e,null,[{key:"create",value:function t(r){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return"string"===typeof r&&(window.katex.render(r,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",r)),n}},{key:"value",value:function t(e){return e.getAttribute("data-value")}}]),e}(l.default);v.blotName="formula",v.className="ql-formula",v.tagName="SPAN";var b=function(t){function e(){d(this,e);var t=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return h(e,t),n(e,null,[{key:"register",value:function t(){u.default.register(v,!0)}}]),e}(c.default);e.FormulaBlot=v,e.default=b},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var i;var l=p(r(0));var a;var u=p(r(5));var s;var c=p(r(9));var f;var d;function p(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return b(e,t),n(e,[{key:"replaceWith",value:function t(r){this.domNode.textContent=this.domNode.textContent,this.attach(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,r)}},{key:"highlight",value:function t(e){var r=this.domNode.textContent;this.cachedText!==r&&((r.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(r),this.domNode.normalize(),this.attach()),this.cachedText=r)}}]),e}(p(r(13)).default);y.className="ql-syntax";var q=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE});var g=function(t){function e(t,r){h(this,e);var n=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if("function"!==typeof n.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return n.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(o),o=setTimeout(function(){n.highlight(),o=null},n.options.interval)}),n.highlight(),n}return b(e,t),n(e,null,[{key:"register",value:function t(){u.default.register(q,!0),u.default.register(y,!0)}}]),n(e,[{key:"highlight",value:function t(){var e=this;if(this.quill.selection.composing)return;this.quill.update(u.default.sources.USER);var r=this.quill.getSelection();this.quill.scroll.descendants(y).forEach(function(t){t.highlight(e.options.highlight)}),this.quill.update(u.default.sources.SILENT),null!=r&&this.quill.setSelection(r,u.default.sources.SILENT)}}]),e}(c.default);g.DEFAULTS={highlight:function(){if(null==window.hljs)return null;return function(t){var e;return window.hljs.highlightAuto(t).value}}(),interval:1e3},e.CodeBlock=y,e.CodeToken=q,e.default=g},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var n=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var l=o.get;if(void 0===l)return;return l.call(n)};var o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var i;var l=h(r(3));var a;var u=h(r(8));var s=r(43);var c=h(s);var f=r(15);var d;var p=h(r(41));function h(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function y(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var q=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];var g=function(t){function e(t,r){v(this,e),null!=r.modules.toolbar&&null==r.modules.toolbar.container&&(r.modules.toolbar.container=q);var n=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.container.classList.add("ql-bubble"),n}return y(e,t),o(e,[{key:"extendToolbar",value:function t(e){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),p.default)}}]),e}(c.default);g.DEFAULTS=(0,l.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function t(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(t){function e(t,r){v(this,e);var n=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.on(u.default.events.EDITOR_CHANGE,function(t,e,r,o){if(t!==u.default.events.SELECTION_CHANGE)return;if(null!=e&&e.length>0&&o===u.default.sources.USER){n.show(),n.root.style.left="0px",n.root.style.width="",n.root.style.width=n.root.offsetWidth+"px";var i=n.quill.getLines(e.index,e.length);if(1===i.length)n.position(n.quill.getBounds(e));else{var l=i[i.length-1];var a=n.quill.getIndex(l);var s=Math.min(l.length()-1,e.index+e.length-a);var c=n.quill.getBounds(new f.Range(a,s));n.position(c)}}else document.activeElement!==n.textbox&&n.quill.hasFocus()&&n.hide()}),n}return y(e,t),o(e,[{key:"listen",value:function t(){var r=this;n(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){r.root.classList.remove("ql-editing")}),this.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(r.root.classList.contains("ql-hidden"))return;var t=r.quill.getSelection();null!=t&&r.position(r.quill.getBounds(t))},1)})}},{key:"cancel",value:function t(){this.show()}},{key:"position",value:function t(r){var o=n(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,r);var i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===o)return o;i.style.marginLeft=-1*o-i.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=m,e.default=g},function(t,e,r){t.exports=r(63)}]).default})}).call(e,r("63KW").Buffer)}});