/*
froala_editor v4.0.7 (https://www.froala.com/wysiwyg-editor)
License https://froala.com/wysiwyg-editor/terms/
Copyright 2014-2021 Froala Labs
@source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
'use strict';(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?module.exports=a():"function"===typeof define&&define.amd?define(a):e.FroalaEditor=a()})(this,function(){function e(b){"@babel/helpers - typeof";e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(b){return typeof b}:function(b){return b&&"function"===typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b};return e(b)}function a(b,c,e){if("string"===typeof b){var d=document.querySelectorAll(b);
c&&c.iframe_document&&(d=c.iframe_document.querySelectorAll(b));b=[];for(var f=0;f<d.length;f++){var m=d[f]["data-froala.editor"];m?(console.warn("Froala Editor instance already exists."),b.push(m)):b.push(new a.Bootstrap(d[f],c,e))}return 1==b.length?b[0]:b}return new a.Bootstrap(b,c,e)}function c(b){if("touchend"===b.type&&!this.$el.data("touched"))return!0;if(1===b.which||!b.which){this.$el.off("mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init");this.load(Z.MODULES);
this.load(Z.PLUGINS);var a=b.originalEvent&&b.originalEvent.originalTarget;a&&"IMG"===a.tagName&&g(a).trigger("mousedown");"undefined"===typeof this.ul&&this.destroy();if("touchend"===b.type&&this.image&&b.originalEvent&&b.originalEvent.target&&g(b.originalEvent.target).is("img")){var c=this;setTimeout(function(){c.image.edit(g(b.originalEvent.target))},100)}this.ready=!0;this.events.trigger("initialized")}}function k(){this.doc=this.$el.get(0).ownerDocument;this.win="defaultView"in this.doc?this.doc.defaultView:
this.doc.parentWindow;this.$doc=g(this.doc);this.$win=g(this.win);this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(Z.PLUGINS));this.opts.initOnClick?(this.load(Z.MODULES),this.$el.on("touchstart.init",function(){g(this).data("touched",!0)}),this.$el.on("touchmove.init",function(){g(this).removeData("touched")}),this.$el.on("mousedown.init touchend.init dragenter.init focus.init",c.bind(this)),this.events.trigger("initializationDelayed")):(this.load(Z.MODULES),this.load(Z.PLUGINS),g(this.o_win).scrollTop(this.c_scroll),
"undefined"===typeof this.ul&&this.destroy(),this.ready=!0,this.events.trigger("initialized"))}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(b){var a=this;if(!document.documentElement.contains(a))return null;do{if(a.matches(b))return a;a=a.parentElement||a.parentNode}while(null!==a&&1===a.nodeType);return null});Element.prototype.matches||(Element.prototype.matches=
Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(b){b=(this.document||this.ownerDocument).querySelectorAll(b);for(var a=b.length;0<=--a&&b.item(a)!==this;);return-1<a});Array.isArray||(Array.isArray=function(b){return"[object Array]"===Object.prototype.toString.call(b)});"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(b,
a){if(null==b)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(b),d=1;d<arguments.length;d++){var f=arguments[d];if(null!=f)for(var m in f)Object.prototype.hasOwnProperty.call(f,m)&&(c[m]=f[m])}return c},writable:!0,configurable:!0});(function(){function b(b,d){var m=b[d];b[d]=function(b){var d=!1,f=!1;if(b&&!Array.isArray(b)&&(b.match(a)||b.match(c))){this.parentNode||(e.appendChild(this),f=!0);var J=this.parentNode;this.id||(this.id="rootedQuerySelector_id_".concat((new Date).getTime()),
d=!0);b=m.call(J,b.replace(a,"#".concat(this.id)).replace(c,",#".concat(this.id)));d&&(this.id="");f&&e.removeChild(this);return b}return m.call(this,b)}}var a=/^\s*:scope/gi,c=/,\s*:scope/gi,e=document.createElement("div");try{var f=e.querySelectorAll(":scope *");if(!f||Array.isArray(f))throw"error";}catch(m){b(Element.prototype,"querySelector"),b(Element.prototype,"querySelectorAll"),b(HTMLElement.prototype,"querySelector"),b(HTMLElement.prototype,"querySelectorAll")}})();"document"in self&&("classList"in
document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||!function(b){if("Element"in b){b=b.Element.prototype;var a=Object,c=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},e=Array.prototype.indexOf||function(b){for(var a=0,c=this.length;c>a;a++)if(a in this&&this[a]===b)return a;return-1},f=function(b,a){this.name=b;this.code=DOMException[b];this.message=a},m=function(b,a){if(""===a)throw new f("SYNTAX_ERR",
"The token must not be empty.");if(/\s/.test(a))throw new f("INVALID_CHARACTER_ERR","The token must not contain space characters.");return e.call(b,a)},J=function(b){var a=c.call(b.getAttribute("class")||"");a=a?a.split(/\s+/):[];for(var d=0,m=a.length;m>d;d++)this.push(a[d]);this._updateClassName=function(){b.setAttribute("class",this.toString())}},g=J.prototype=[],aa=function(){return new J(this)};if(f.prototype=Error.prototype,g.item=function(b){return this[b]||null},g.contains=function(b){return~m(this,
b+"")},g.add=function(){var b=arguments,a=0,c=b.length,d=!1;do{var f=b[a]+"";~m(this,f)||(this.push(f),d=!0)}while(++a<c);d&&this._updateClassName()},g.remove=function(){var b,a=arguments,c=0,d=a.length,f=!1;do{var e=a[c]+"";for(b=m(this,e);~b;)this.splice(b,1),f=!0,b=m(this,e)}while(++c<d);f&&this._updateClassName()},g.toggle=function(b,a){var c=this.contains(b),d=c?!0!==a&&"remove":!1!==a&&"add";return d&&this[d](b),!0===a||!1===a?a:!c},g.replace=function(b,a){b=m(b+"");~b&&(this.splice(b,1,a),
this._updateClassName())},g.toString=function(){return this.join(" ")},a.defineProperty){g={get:aa,enumerable:!0,configurable:!0};try{a.defineProperty(b,"classList",g)}catch(U){void 0!==U.number&&-2146823252!==U.number||(g.enumerable=!1,a.defineProperty(b,"classList",g))}}else a.prototype.__defineGetter__&&b.__defineGetter__("classList",aa)}}(self),function(){var b=document.createElement("_");if(b.classList.add("c1","c2"),!b.classList.contains("c2")){var a=function(b){var a=DOMTokenList.prototype[b];
DOMTokenList.prototype[b]=function(b){var c,d=arguments.length;for(c=0;d>c;c++)b=arguments[c],a.call(this,b)}};a("add");a("remove")}if(b.classList.toggle("c3",!1),b.classList.contains("c3")){var c=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(b,a){return 1 in arguments&&!this.contains(b)==!a?a:c.call(this,b)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(b,a){var c=this.toString().split(" ");b=c.indexOf(b+"");~b&&(c=c.slice(b),this.remove.apply(this,
c),this.add(a),this.add.apply(this,c.slice(1)))});b=null}());a.RegisterPlugins=function(b){for(var c=0;c<b.length;c++)b[c].call(a)};Object.assign(a,{DEFAULTS:{initOnClick:!1,pluginsEnabled:null},MODULES:{},PLUGINS:{},VERSION:"4.0.7",INSTANCES:[],OPTS_MAPPING:{},SHARED:{},ID:0});a.MODULES.node=function(b){function c(b){return b&&"IFRAME"!==b.tagName?Array.prototype.slice.call(b.childNodes||[]):[]}function e(b){return b&&b.nodeType===Node.ELEMENT_NODE?0<=a.BLOCK_TAGS.indexOf(b.tagName.toLowerCase()):
!1}function u(b){var a={};if(b=b.attributes)for(var c=0;c<b.length;c++){var d=b[c];a[d.nodeName]=d.value}return a}function f(b){var a="";b=u(b);for(var c=Object.keys(b).sort(),d=0;d<c.length;d++){var m=c[d],f=b[m];0>f.indexOf("'")&&0<=f.indexOf('"')?a+=" ".concat(m,"='").concat(f,"'"):(0<=f.indexOf('"')&&0<=f.indexOf("'")&&(f=f.replace(/"/g,""")),a+=" ".concat(m,'="').concat(f,'"'))}return a}function m(a,c){"undefined"===typeof c&&(c=!0);for(a=a.previousSibling;a&&c&&b.node.hasClass(a,"fr-marker");)a=
a.previousSibling;return a?a.nodeType===Node.TEXT_NODE&&""===a.textContent?m(a):!1:!0}function J(a,c){"undefined"===typeof c&&(c=!0);for(a=a.nextSibling;a&&c&&b.node.hasClass(a,"fr-marker");)a=a.nextSibling;return a?a.nodeType===Node.TEXT_NODE&&""===a.textContent?J(a):!1:!0}function g(a){return a===b.el}var aa=b.$;return{isBlock:e,isEmpty:function(d,m){if(!d)return!0;if(d.querySelector("table"))return!1;var f=c(d);1===f.length&&e(f[0])&&(f=c(f[0]));for(var aa=!1,J=0;J<f.length;J++){var u=f[J];if(!m||
!b.node.hasClass(u,"fr-marker"))if(u.nodeType!==Node.TEXT_NODE||0!==u.textContent.length){if("BR"!==u.tagName&&0<(u.textContent||"").replace(/\u200B/gi,"").replace(/\n/g,"").length||aa)return!1;"BR"===u.tagName&&(aa=!0)}}return d.querySelectorAll(a.VOID_ELEMENTS.join(",")).length-d.querySelectorAll("br").length||d.querySelector("".concat(b.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||1<d.querySelectorAll(a.BLOCK_TAGS.join(",")).length||d.querySelector("".concat(b.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),
":not(.fr-marker)"))?!1:!0},blockParent:function(a){for(;a&&a.parentNode!==b.el&&(!a.parentNode||!b.node.hasClass(a.parentNode,"fr-inner"));)if(a=a.parentNode,e(a))return a;return null},deepestParent:function(c,d,f){"undefined"===typeof d&&(d=[]);"undefined"===typeof f&&(f=!0);d.push(b.el);if(0<=d.indexOf(c.parentNode)||c.parentNode&&b.node.hasClass(c.parentNode,"fr-inner")||c.parentNode&&0<=a.SIMPLE_ENTER_TAGS.indexOf(c.parentNode.tagName)&&f)return null;for(;!(!(0>d.indexOf(c.parentNode)&&c.parentNode)||
b.node.hasClass(c.parentNode,"fr-inner")||!(0>a.SIMPLE_ENTER_TAGS.indexOf(c.parentNode.tagName))&&f||e(c)&&!e(c.parentNode)||e(c)&&e(c.parentNode)&&f);)c=c.parentNode;return c},rawAttributes:u,attributes:f,clearAttributes:function(b){for(var a=b.attributes,c=a.length-1;0<=c;c--)b.removeAttribute(a[c].nodeName)},openTagString:function(b){return"<".concat(b.tagName.toLowerCase()).concat(f(b),">")},closeTagString:function(b){return"</".concat(b.tagName.toLowerCase(),">")},isFirstSibling:m,isLastSibling:J,
isList:function(b){return b?0<=["UL","OL"].indexOf(b.tagName):!1},isLink:function(b){return b&&b.nodeType===Node.ELEMENT_NODE?"a"===b.tagName.toLowerCase():!1},isElement:g,contents:c,isVoid:function(b){return b&&b.nodeType===Node.ELEMENT_NODE&&0<=a.VOID_ELEMENTS.indexOf((b.tagName||"").toLowerCase())},hasFocus:function(a){return a===b.doc.activeElement&&(!b.doc.hasFocus||b.doc.hasFocus())&&!!(g(a)||a.type||a.href||~a.tabIndex)},isEditable:function(b){return(!b.getAttribute||"false"!==b.getAttribute("contenteditable"))&&
0>["STYLE","SCRIPT"].indexOf(b.tagName)},isDeletable:function(b){return b&&b.nodeType===Node.ELEMENT_NODE&&b.getAttribute("class")&&0<=(b.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function(b,a){b instanceof aa&&(b=b.get(0));return b&&b.classList&&b.classList.contains(a)},filter:function(a){return b.browser.msie?a:{acceptNode:a}}}};Object.assign(a.DEFAULTS,{DOMPurify:window.DOMPurify,htmlAllowedTags:"a abbr address area article aside audio b base bdi bdo blockquote br button canvas caption cite code col colgroup datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hgroup hr i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meter nav noscript object ol optgroup option output p param pre progress queue rp rt ruby s samp script style section select small source span strike strong sub summary sup table tbody td textarea tfoot th thead time tr track u ul var video wbr".split(" "),
htmlRemoveTags:["script","style"],htmlAllowedAttrs:"accept accept-charset accesskey action align allowfullscreen allowtransparency alt async autocomplete autofocus autoplay autosave background bgcolor border charset cellpadding cellspacing checked cite class color cols colspan content contenteditable contextmenu controls coords data data-.* datetime default defer dir dirname disabled download draggable dropzone enctype for form formaction frameborder headers height hidden high href hreflang http-equiv icon id ismap itemprop keytype kind label lang language list loop low max maxlength media method min mozallowfullscreen multiple muted name novalidate open optimum pattern ping placeholder playsinline poster preload pubdate radiogroup readonly rel required reversed rows rowspan sandbox scope scoped scrolling seamless selected shape size sizes span src srcdoc srclang srcset start step summary spellcheck style tabindex target title type translate usemap value valign webkitallowfullscreen width wrap".split(" "),
htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1});a.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"};a.MODULES.clean=function(b){function c(a){if(a.nodeType===Node.ELEMENT_NODE&&a.getAttribute("class")&&0<=a.getAttribute("class").indexOf("fr-marker"))return!1;var x=b.node.contents(a),l;for(l=0;l<x.length;l++)x[l].nodeType!==Node.ELEMENT_NODE||b.node.isVoid(x[l])?x[l].nodeType===Node.TEXT_NODE&&(x[l].textContent=x[l].textContent.replace(/\u200b/g,"")):x[l].textContent.replace(/\u200b/g,
"").length!==x[l].textContent.length&&c(x[l]);if(a.nodeType===Node.ELEMENT_NODE&&!b.node.isVoid(a)){a.normalize();x=b.node.contents(a);var q=a.querySelectorAll(".fr-marker");if(0===x.length-q.length){for(l=0;l<x.length;l++)if(x[l].nodeType===Node.ELEMENT_NODE&&0>(x[l].getAttribute("class")||"").indexOf("fr-marker"))return!1;for(l=0;l<q.length;l++)a.parentNode.insertBefore(q[l].cloneNode(!0),a);a.parentNode.removeChild(a);return!1}}}function e(a,c){if(a.nodeType===Node.COMMENT_NODE)return"\x3c!--".concat(a.nodeValue,
"--\x3e");if(a.nodeType===Node.TEXT_NODE)return c?a.textContent.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"):a.textContent.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\u00A0/g," ").replace(/\u0009/g,"");if(a.nodeType!==Node.ELEMENT_NODE||a.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(a.tagName))return a.outerHTML;if(a.nodeType===Node.ELEMENT_NODE&&"svg"===a.tagName)return c=document.createElement("div"),a=a.cloneNode(!0),
c.appendChild(a),c.innerHTML;if("IFRAME"===a.tagName)return a.outerHTML.replace(/</g,"<").replace(/>/g,">");var l=a.childNodes;if(0===l.length)return a.outerHTML;for(var q="",x=0;x<l.length;x++)"PRE"===a.tagName&&(c=!0),q+=e(l[x],c);return b.node.openTagString(a)+q+b.node.closeTagString(a)}function u(b){ca=[];b=b.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,function(b){ca.push(b);return"[FROALA.EDITOR.SCRIPT ".concat(ca.length-1,"]")});b=b.replace(/<noscript\b[^<]*(?:(?!<\/noscript>)<[^<]*)*<\/noscript>/gi,
function(b){ca.push(b);return"[FROALA.EDITOR.NOSCRIPT ".concat(ca.length-1,"]")});b=b.replace(/<meta((?:[\w\W]*?)) http-equiv="/g,'<meta$1 data-fr-http-equiv="');return b=b.replace(/<img((?:[\w\W]*?)) src="/g,'<img$1 data-fr-src="')}function f(a){a=a.replace(/\[FROALA\.EDITOR\.SCRIPT ([\d]*)\]/gi,function(a,c){return 0<=b.opts.htmlRemoveTags.indexOf("script")?"":ca[parseInt(c,10)]});a=a.replace(/\[FROALA\.EDITOR\.NOSCRIPT ([\d]*)\]/gi,function(a,c){if(0<=b.opts.htmlRemoveTags.indexOf("noscript"))return"";
c=ca[parseInt(c,10)].replace(/</g,"<").replace(/>/g,">");(a=k(c))&&a.length&&(c=g(a.html(),da),a.html(c),c=a.get(0).outerHTML);return c});return a=a.replace(/<img((?:[\w\W]*?)) data-fr-src="/g,'<img$1 src="')}function m(b){b=b.replace(/;;/gi,";");b=b.replace(/^;/gi,"");";"!==b.charAt(b.length)&&(b+=";");return b}function J(a){for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var l=c.match(la),q=null;"style"===c&&b.opts.htmlAllowedStyleProps.length&&(q=a[c].match(A));l&&q?a[c]=m(q.join(";")):
(!l||"style"===c&&!q)&&delete a[c]}l="";q=Object.keys(a).sort();for(var X=0;X<q.length;X++)c=q[X],l=0>a[c].indexOf('"')?l+" ".concat(c,'="').concat(a[c],'"'):l+" ".concat(c,"='").concat(a[c],"'");return l}function g(a,c){var l=document.implementation.createHTMLDocument("Froala DOC").createElement("DIV");k(l).append(a);var q="";if(l){var x=b.node.contents(l);for(a=0;a<x.length;a++)c(x[a]);x=b.node.contents(l);for(a=0;a<x.length;a++)q+=e(x[a])}return q}function aa(a,c,l){var q=a=u(a),x=null;b.opts.fullPage&&
(q=b.html.extractNode(a,"body")||(0<=a.indexOf("<body")?"":a),l&&(x=b.html.extractNode(a,"head")||""));q=g(q,c);x&&(x=g(x,c));c=q;var d=a;b.opts.fullPage&&(a=b.html.extractDoctype(d),l=J(b.html.extractNodeAttrs(d,"html")),x=null===x?b.html.extractNode(d,"head")||"<title></title>":x,q=J(b.html.extractNodeAttrs(d,"head")),d=J(b.html.extractNodeAttrs(d,"body")),c="".concat(a,"<html").concat(l,"><head").concat(q,">").concat(x,"</head><body").concat(d,">").concat(c,"</body></html>"));return f(c)}function U(a){var c=
b.doc.createElement("DIV");c.innerText=a;return c.textContent}function C(c){if("SPAN"===c.tagName&&0<=(c.getAttribute("class")||"").indexOf("fr-marker"))return!1;"PRE"===c.tagName&&z(c);c.nodeType===Node.ELEMENT_NODE&&(c.getAttribute("data-fr-src")&&0!==c.getAttribute("data-fr-src").indexOf("blob:")&&c.setAttribute("data-fr-src",b.helpers.sanitizeURL(U(c.getAttribute("data-fr-src")))),c.getAttribute("href")&&c.setAttribute("href",b.helpers.sanitizeURL(U(c.getAttribute("href")))),c.getAttribute("src")&&
c.setAttribute("src",b.helpers.sanitizeURL(U(c.getAttribute("src")))),c.getAttribute("srcdoc")&&c.setAttribute("srcdoc",b.clean.html(c.getAttribute("srcdoc"))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(c.tagName)&&(c.innerHTML=c.innerHTML.trim()));if(!b.opts.pasteAllowLocalImages&&c.nodeType===Node.ELEMENT_NODE&&"IMG"===c.tagName&&c.getAttribute("data-fr-src")&&0===c.getAttribute("data-fr-src").indexOf("file://"))return c.parentNode.removeChild(c),!1;if(c.nodeType===Node.ELEMENT_NODE&&a.HTML5Map[c.tagName]&&
""===b.node.attributes(c)){var x=a.HTML5Map[c.tagName];x="<".concat(x,">").concat(c.innerHTML,"</").concat(x,">");c.insertAdjacentHTML("beforebegin",x);c=c.previousSibling;c.parentNode.removeChild(c.nextSibling)}if(b.opts.htmlAllowComments||c.nodeType!==Node.COMMENT_NODE)if(c.tagName&&c.tagName.match(ia))"STYLE"==c.tagName&&b.helpers.isMac()&&function(){var b=c.innerHTML.trim(),a=[],l=/{([^}]+)}/g,q;for(b=b.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*|\x3c!--[\s\S]*?--\x3e$/,"");q=l.exec(b);)a.push(q[1]);
l=function(l){var q=b.substring(0,b.indexOf("{")).trim();0==!/^[a-z_-][a-z\d_-]*$/i.test(q)&&c.parentNode.querySelectorAll(q).forEach(function(b){b.removeAttribute("class");b.setAttribute("style",a[l])});b=b.substring(b.indexOf("}")+1)};for(q=0;-1!=b.indexOf("{");q++)l(q)}(),c.parentNode.removeChild(c);else if(c.tagName&&!c.tagName.match(t))"svg"===c.tagName?c.parentNode.removeChild(c):b.browser.safari&&"path"===c.tagName&&c.parentNode&&"svg"===c.parentNode.tagName||(c.outerHTML=c.innerHTML);else{if(x=
c.attributes)for(var l=x.length-1;0<=l;l--){var q=x[l],d=q.nodeName.match(la),p=null;"style"===q.nodeName&&b.opts.htmlAllowedStyleProps.length&&(p=q.value.match(A));d&&p?q.value=m(p.join(";")):(!d||"style"===q.nodeName&&!p)&&c.removeAttribute(q.nodeName)}}else 0!==c.data.indexOf("[FROALA.EDITOR")&&c.parentNode.removeChild(c)}function da(a){for(var c=b.node.contents(a),l=0;l<c.length;l++)c[l].nodeType!==Node.TEXT_NODE&&da(c[l]);C(a)}function z(b){var a=b.innerHTML;0<=a.indexOf("\n")&&(b.innerHTML=
a.replace(/\n/g,"<br>"))}var k=b.$,t,ia,la,A,ca=[];return{_init:function(){b.opts.fullPage&&k.merge(b.opts.htmlAllowedTags,"head title style link base body html meta".split(" "))},html:function(a,c,l,q){"undefined"===typeof c&&(c=[]);"undefined"===typeof l&&(l=[]);q=k.merge([],b.opts.htmlAllowedTags);var d;for(d=0;d<c.length;d++)0<=q.indexOf(c[d])&&q.splice(q.indexOf(c[d]),1);c=k.merge([],b.opts.htmlAllowedAttrs);for(d=0;d<l.length;d++)0<=c.indexOf(l[d])&&c.splice(c.indexOf(l[d]),1);c.push("data-fr-.*");
c.push("fr-.*");t=new RegExp("^".concat(q.join("$|^"),"$"),"gi");la=new RegExp("^".concat(c.join("$|^"),"$"),"gi");ia=new RegExp("^".concat(b.opts.htmlRemoveTags.join("$|^"),"$"),"gi");A=b.opts.htmlAllowedStyleProps.length?new RegExp("((^|;|\\s)".concat(b.opts.htmlAllowedStyleProps.join(":.+?(?=;|$))|((^|;|\\s)"),":.+?(?=(;)|$))"),"gi"):null;a=aa(a,da,!0);"undefined"!==typeof b.opts.DOMPurify&&(a=b.opts.DOMPurify.sanitize(a));return a},toHTML5:function(){var c=b.el.querySelectorAll(Object.keys(a.HTML5Map).join(","));
if(c.length){var d=!1;b.el.querySelector(".fr-marker")||(b.selection.save(),d=!0);for(var l=0;l<c.length;l++)""===b.node.attributes(c[l])&&k(c[l]).replaceWith("<".concat(a.HTML5Map[c[l].tagName],">").concat(c[l].innerHTML,"</").concat(a.HTML5Map[c[l].tagName],">"));d&&b.selection.restore()}},tables:function(){for(var a=b.el.querySelectorAll("tr"),c=0;c<a.length;c++){for(var l=a[c].children,q=!0,d=0;d<l.length;d++)if("TH"!==l[d].tagName){q=!1;break}if(!1!==q&&0!==l.length){for(l=a[c];l&&"TABLE"!==
l.tagName&&"THEAD"!==l.tagName;)l=l.parentNode;q=l;"THEAD"!==q.tagName&&(q=b.doc.createElement("THEAD"),l.insertBefore(q,l.firstChild));q.appendChild(a[c])}}},lists:function(){var a=[];do{if(a.length){a=a[0];var c=b.doc.createElement("ul");a.parentNode.insertBefore(c,a);do{var l=a;a=a.nextSibling;c.appendChild(l)}while(a&&"LI"===a.tagName)}a=[];c=b.el.querySelectorAll("li");for(l=0;l<c.length;l++)b.node.isList(c[l].parentNode)||a.push(c[l])}while(0<a.length);a=b.el.querySelectorAll("ol + ol, ul + ul");
for(c=0;c<a.length;c++)if(l=a[c],b.node.isList(l.previousSibling)&&b.node.openTagString(l)===b.node.openTagString(l.previousSibling)){for(var q=b.node.contents(l),d=0;d<q.length;d++)l.previousSibling.appendChild(q[d]);l.parentNode.removeChild(l)}a=b.el.querySelectorAll("ul, ol");for(c=0;c<a.length;c++)for(l=b.node.contents(a[c]),q=null,d=l.length-1;0<=d;d--)!l[d].tagName&&b.opts.htmlUntouched?q=null:"LI"!==l[d].tagName&&"UL"!=l[d].tagName&&"OL"!=l[d].tagName?(q||(q=k(b.doc.createElement("LI")),q.insertBefore(l[d])),
q.prepend(l[d])):q=null;do{c=!1;l=b.el.querySelectorAll("li:empty");for(a=0;a<l.length;a++)l[a].parentNode.removeChild(l[a]);l=b.el.querySelectorAll("ul, ol");for(a=0;a<l.length;a++)q=l[a],q.querySelector("LI")||(c=!0,q.parentNode.removeChild(q))}while(!0===c);a=b.el.querySelectorAll("ul > ul, ol > ol, ul > ol, ol > ul");for(c=0;c<a.length;c++)l=a[c],(q=l.previousSibling)&&("LI"===q.tagName?q.appendChild(l):k(l).wrap("<li></li>"));a=b.el.querySelectorAll("li > ul, li > ol");for(c=0;c<a.length;c++)if(l=
a[c],l.nextSibling)for(q=l.nextSibling;0<q.childNodes.length;)l.append(q.childNodes[0]);a=b.el.querySelectorAll("li > ul, li > ol");for(c=0;c<a.length;c++)if(l=a[c],b.node.isFirstSibling(l)&&"none"!=l.parentNode.style.listStyleType)k(l).before("<br/>");else if(l.previousSibling&&"BR"===l.previousSibling.tagName){for(q=l.previousSibling.previousSibling;q&&b.node.hasClass(q,"fr-marker");)q=q.previousSibling;q&&"BR"!==q.tagName&&k(l.previousSibling).remove()}a=b.el.querySelectorAll("li:empty");for(c=
0;c<a.length;c++)k(a[c]).remove()},invisibleSpaces:function(a){return a.replace(/\u200b/g,"").length===a.length?a:b.clean.exec(a,c)},exec:aa}};a.XS=0;a.SM=1;a.MD=2;a.LG=3;a.LinkRegExCommon="[".concat("a-z\\u0080-\\u009f\\u00a1-\\uffff0-9-_\\.","]{1,}");a.LinkRegExEnd="((:[0-9]{1,5})|)(((\\/|\\?|#)[a-z\\u00a1-\\uffff0-9@?\\|!^=%&\\/~+#-\\'*-_{}]*)|())";a.LinkRegExTLD="((".concat(a.LinkRegExCommon,")(\\.(com|net|org|edu|mil|gov|co|biz|info|me|dev)))");a.LinkRegExHTTP="((ftp|http|https):\\/\\/".concat(a.LinkRegExCommon,
")");a.LinkRegExAuth="((ftp|http|https):\\/\\/[\\u0021-\\uffff]{1,}@".concat(a.LinkRegExCommon,")");a.LinkRegExWWW="(www\\.".concat(a.LinkRegExCommon,"\\.[a-z0-9-]{2,24})");a.LinkRegEx="(".concat(a.LinkRegExTLD,"|").concat(a.LinkRegExHTTP,"|").concat(a.LinkRegExWWW,"|").concat(a.LinkRegExAuth,")").concat(a.LinkRegExEnd);a.LinkProtocols=["mailto","tel","sms","notes","data"];a.MAIL_REGEX=/.+@.+\..+/i;a.MODULES.helpers=function(b){function c(){return/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&!f()}
function h(){return/(Android)/g.test(navigator.userAgent)&&!f()}function u(){return/(Blackberry)/g.test(navigator.userAgent)}function f(){return/(Windows Phone)/gi.test(navigator.userAgent)}var m=b.$,J,g=null;return{_init:function(){var a={};var c=-1;if("Microsoft Internet Explorer"===navigator.appName){var d=navigator.userAgent;var f=/MSIE ([0-9]{1,}[\.0-9]{0,})/;null!==f.exec(d)&&(c=parseFloat(RegExp.$1))}else"Netscape"===navigator.appName&&(d=navigator.userAgent,f=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/,
null!==f.exec(d)&&(c=parseFloat(RegExp.$1)));0<c?a.msie=!0:(d=navigator.userAgent.toLowerCase(),d=/(edge)[ /]([\w.]+)/.exec(d)||/(chrome)[ /]([\w.]+)/.exec(d)||/(webkit)[ /]([\w.]+)/.exec(d)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(d)||/(msie) ([\w.]+)/.exec(d)||0>d.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d)||[],f=d[1]||"",d[1]&&(a[f]=!0),a.chrome?a.webkit=!0:a.webkit&&(a.safari=!0));a.msie&&(a.version=c);b.browser=a},isIOS:c,isMac:function(){null===g&&(g=0<=navigator.platform.toUpperCase().indexOf("MAC"));
return g},isAndroid:h,isBlackberry:u,isWindowsPhone:f,isMobile:function(){return h()||c()||u()},isEmail:function(b){return/^(https?:|ftps?:|)\/\//i.test(b)?!1:a.MAIL_REGEX.test(b)},requestAnimationFrame:function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(b){window.setTimeout(b,1E3/60)}},getPX:function(b){return parseInt(b,10)||0},screenSize:function(c){try{var d=0;d=c?b.$box.width():b.$sc.width();if(768>d)return a.XS;if(768<=
d&&992>d)return a.SM;if(992<=d&&1200>d)return a.MD;if(1200<=d)return a.LG}catch(C){return a.LG}},isTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch},sanitizeURL:function(b){var c=/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i;return/^(https?:|ftps?:|)\/\//i.test(b)||c.test(b)||(new RegExp("^(".concat(a.LinkProtocols.join("|"),"):"),"i")).test(b)?b:b=encodeURIComponent(b).replace(/%23/g,"#").replace(/%2F/g,"/").replace(/%25/g,
"%").replace(/mailto%3A/gi,"mailto:").replace(/file%3A/gi,"file:").replace(/sms%3A/gi,"sms:").replace(/tel%3A/gi,"tel:").replace(/notes%3A/gi,"notes:").replace(/data%3Aimage/gi,"data:image").replace(/blob%3A/gi,"blob:").replace(/%3A(\d)/gi,":$1").replace(/webkit-fake-url%3A/gi,"webkit-fake-url:").replace(/%3F/g,"?").replace(/%3D/g,"=").replace(/%26/g,"&").replace(/&/g,"&").replace(/%2C/g,",").replace(/%3B/g,";").replace(/%2B/g,"+").replace(/%40/g,"@").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%7B/g,
"{").replace(/%7D/g,"}")},isArray:function(b){return b&&!Object.prototype.propertyIsEnumerable.call(b,"length")&&"object"===e(b)&&"number"===typeof b.length},RGBToHex:function(b){function a(b){return"0".concat(parseInt(b,10).toString(16)).slice(-2)}try{if(!b||"transparent"===b)return"";if(/^#[0-9A-F]{6}$/i.test(b))return b;b=b.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);return"#".concat(a(b[1])).concat(a(b[2])).concat(a(b[3])).toUpperCase()}catch(C){return null}},HEXtoRGB:function(b){b=b.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,
function(b,a,c,d){return a+a+c+c+d+d});return(b=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b))?"rgb(".concat(parseInt(b[1],16),", ").concat(parseInt(b[2],16),", ").concat(parseInt(b[3],16),")"):""},isURL:function(b){if(!/^(https?:|ftps?:|)\/\//i.test(b))return!1;b=String(b).replace(/</g,"%3C").replace(/>/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20");return(new RegExp("^".concat(a.LinkRegExHTTP).concat(a.LinkRegExEnd,"$"),"gi")).test(b)},getAlignment:function(a){a.css||(a=m(a));a=(a.css("text-align")||
"").replace(/-(.*)-/g,"");if(0>["left","right","justify","center"].indexOf(a)){if(!J){a=m('<div dir="'.concat("rtl"===b.opts.direction?"rtl":"auto",'" style="text-align: ').concat(b.$el.css("text-align"),'; position: fixed; left: -3000px;"><span id="s1">.</span><span id="s2">.</span></div>'));m("body").first().append(a);var c=a.find("#s1").get(0).getBoundingClientRect().left,d=a.find("#s2").get(0).getBoundingClientRect().left;a.remove();J=c<d?"left":"right"}a=J}return a},scrollTop:function(){return b.o_win.pageYOffset?
b.o_win.pageYOffset:b.o_doc.documentElement&&b.o_doc.documentElement.scrollTop?b.o_doc.documentElement.scrollTop:b.o_doc.body.scrollTop?b.o_doc.body.scrollTop:0},scrollLeft:function(){return b.o_win.pageXOffset?b.o_win.pageXOffset:b.o_doc.documentElement&&b.o_doc.documentElement.scrollLeft?b.o_doc.documentElement.scrollLeft:b.o_doc.body.scrollLeft?b.o_doc.body.scrollLeft:0},isInViewPort:function(b){b=b.getBoundingClientRect();b={top:Math.round(b.top),bottom:Math.round(b.bottom)};return 0<=b.top&&
b.bottom<=(window.innerHeight||document.documentElement.clientHeight)||0>=b.top&&b.bottom>=(window.innerHeight||document.documentElement.clientHeight)}}};a.MODULES.events=function(b){function c(b,a,c){da(b,a,c)}function e(){c(b.$el,"cut copy paste beforepaste",function(b){z(b.type,[b])})}function u(){c(b.$el,"click mouseup mousemove mousedown touchstart touchend dragenter dragover dragleave dragend drop dragstart",function(b){z(b.type,[b])});C("mousedown",function(){for(var c=0;c<a.INSTANCES.length;c++)a.INSTANCES[c]!==
b&&a.INSTANCES[c].popups&&a.INSTANCES[c].popups.areVisible()&&a.INSTANCES[c].$el.find(".fr-marker").remove()})}function f(){c(b.$el,"beforeinput keydown keypress keyup input",function(b){z(b.type,[b])})}function m(){c(b.$win,b._mousedown,function(b){z("window.mousedown",[b]);ca=!0});c(b.$win,b._mouseup,function(b){z("window.mouseup",[b])});c(b.$win,"beforeinput cut copy keydown keyup touchmove touchend",function(b){z("window.".concat(b.type),[b])})}function J(){c(b.$doc,"dragend drop",function(b){z("document.".concat(b.type),
[b])})}function g(c){"undefined"===typeof c&&(c=!0);if(!b.$wp)return!1;b.helpers.isIOS()&&b.$win.get(0).focus();if(b.core.hasFocus()||!b.core.hasFocus()&&c&&(c=b.$win.scrollTop(),b.browser.msie&&b.$box&&b.$box.css("position","fixed"),b.browser.msie&&b.$wp&&b.$wp.css("overflow","visible"),b.browser.msie&&b.$sc&&b.$sc.css("position","fixed"),b.browser.msie||(ca=!1,b.el.focus(),b.events.trigger("focus"),ca=!0),b.browser.msie&&b.$sc&&b.$sc.css("position",""),b.browser.msie&&b.$box&&b.$box.css("position",
""),b.browser.msie&&b.$wp&&b.$wp.css("overflow","auto"),c!==b.$win.scrollTop()&&b.$win.scrollTop(c),c=b.selection.info(b.el),!c.atStart)||!b.core.hasFocus()||0<b.$el.find(".fr-marker").length)return!1;c=b.selection.info(b.el);if(c.atStart&&b.selection.isCollapsed()&&null!==b.html.defaultTag())if((c=b.markers.insert())&&!b.node.blockParent(c)){if(la(c).remove(),c=b.$el.find(b.html.blockTagsQuery()).get(0))la(c).prepend(a.MARKERS),b.selection.restore()}else c&&la(c).remove()}function aa(){c(b.$el,"focus",
function(a){ca&&(g(!1),!1===p&&(z(a.type,[a]),b.helpers.isMobile()&&(ca=!1)))});c(b.$el,"blur",function(a){ca&&!0===p&&(z(a.type,[a]),b.helpers.isMobile()&&b.opts.toolbarContainer&&(b.shared.selected_editor=b.id),ca=!0)});da(b.$el,"mousedown",'[contenteditable="true"]',function(){ca=!1;b.$el.blur()});C("focus",function(){p=!0});C("blur",function(){p=!1})}function U(a,c){var l=la(a.currentTarget);if(b.edit.isDisabled()||b.node.hasClass(l.get(0),"fr-disabled"))return a.preventDefault(),!1;if("mouseup"===
a.type&&1!==a.which||b.button.getButtons(".fr-selected",!0).get(0)==l.get(0)&&!b.node.hasClass(l.get(0),"fr-selected"))return!0;if("touchmove"!==a.type){a.stopPropagation();a.stopImmediatePropagation();a.preventDefault();if(!b.node.hasClass(l.get(0),"fr-selected"))return b.button.getButtons(".fr-selected",!0).removeClass("fr-selected"),!1;b.button.getButtons(".fr-selected",!0).removeClass("fr-selected");if(l.data("dragging")||l.attr("disabled"))return l.removeData("dragging"),!1;var q=l.data("timeout");
q&&(clearTimeout(q),l.removeData("timeout"));c.apply(b,[a])}else l.data("timeout")||l.data("timeout",setTimeout(function(){l.data("dragging",!0)},100))}function C(a,c,d){var l=a.split(" ");if(1<l.length){for(a=0;a<l.length;a++)C(l[a],c,d);return!0}"undefined"===typeof d&&(d=!1);0!==a.indexOf("shared.")?(A[a]=A[a]||[],l=A[a]):(b.shared._events[a]=b.shared._events[a]||[],l=b.shared._events[a]);d?l.unshift(c):l.push(c)}function da(a,c,d,f,E){"function"===typeof d&&(E=f,f=d,d=!1);var l=E?b.shared.$_events:
x;E=E?b.sid:b.id;c="".concat(c.trim().split(" ").join(".ed".concat(E," ")),".ed").concat(E);if(d)a.on(c,d,f);else a.on(c,f);l.push([a,c])}function k(b){for(var a=0;a<b.length;a++)b[a][0].off(b[a][1])}function z(a,c,d){if(!b.edit.isDisabled()||d){if(0!==a.indexOf("shared."))d=A[a];else{if(0<b.shared.count)return!1;d=b.shared._events[a]}if(d)for(var l=0;l<d.length;l++){var q=d[l].apply(b,c);if(!1===q)return!1}return b.opts.events&&b.opts.events[a]&&(q=b.opts.events[a].apply(b,c),!1===q)?!1:q}}function t(){for(var b in A)Object.prototype.hasOwnProperty.call(A,
b)&&delete A[b]}function ia(){for(var a in b.shared._events)Object.prototype.hasOwnProperty.call(b.shared._events,a)&&delete b.shared._events[a]}var la=b.$,A={},ca,p=!1,x=[];return{_init:function(){b.shared.$_events=b.shared.$_events||[];b.shared._events={};b.helpers.isMobile()?(b._mousedown="touchstart",b._mouseup="touchend",b._move="touchmove",b._mousemove="touchmove"):(b._mousedown="mousedown",b._mouseup="mouseup",b._move="",b._mousemove="mousemove");u();m();J();f();aa();ca=!0;e();C("destroy",
t);C("shared.destroy",ia)},on:C,trigger:z,bindClick:function(a,c,d){da(a,b._mousedown,c,function(a){if(!b.edit.isDisabled()){var c=la(a.currentTarget);if(b.edit.isDisabled()||b.node.hasClass(c.get(0),"fr-disabled"))a.preventDefault();else if("mousedown"!==a.type||1===a.which)b.helpers.isMobile()||a.preventDefault(),(b.helpers.isAndroid()||b.helpers.isWindowsPhone())&&0===c.parents(".fr-dropdown-menu").length&&(a.preventDefault(),a.stopPropagation()),c.addClass("fr-selected"),b.events.trigger("commands.mousedown",
[c])}},!0);da(a,"".concat(b._mouseup," ").concat(b._move),c,function(a){b.edit.isDisabled()||U(a,d)},!0);da(a,"mousedown click mouseup",c,function(a){b.edit.isDisabled()||a.stopPropagation()},!0);C("window.mouseup",function(){b.edit.isDisabled()||(a.find(c).removeClass("fr-selected"),ca=!0)});da(a,"mouseover",c,function(){la(this).hasClass("fr-options")&&la(this).prev(".fr-btn").addClass("fr-btn-hover");la(this).next(".fr-btn").hasClass("fr-options")&&la(this).next(".fr-btn").addClass("fr-btn-hover")});
da(a,"mouseout",c,function(){la(this).hasClass("fr-options")&&la(this).prev(".fr-btn").removeClass("fr-btn-hover");la(this).next(".fr-btn").hasClass("fr-options")&&la(this).next(".fr-btn").removeClass("fr-btn-hover")})},disableBlur:function(){ca=!1},enableBlur:function(){ca=!0},blurActive:function(){return ca},focus:g,chainTrigger:function(a,c,d){if(!b.edit.isDisabled()||d){if(0!==a.indexOf("shared."))d=A[a];else{if(0<b.shared.count)return!1;d=b.shared._events[a]}if(d)for(var l=0;l<d.length;l++){var q=
d[l].apply(b,[c]);"undefined"!==typeof q&&(c=q)}b.opts.events&&b.opts.events[a]&&(q=b.opts.events[a].apply(b,[c]),"undefined"!==typeof q&&(c=q));return c}},$on:da,$off:function(){k(x);x=[];0===b.shared.count&&(k(b.shared.$_events),b.shared.$_events=[])}}};Object.assign(a.DEFAULTS,{indentMargin:20});a.COMMANDS={bold:{title:"Bold",toggle:!0,refresh:function(b){var a=this.format.is("strong");b.toggleClass("fr-active",a).attr("aria-pressed",a)}},italic:{title:"Italic",toggle:!0,refresh:function(b){var a=
this.format.is("em");b.toggleClass("fr-active",a).attr("aria-pressed",a)}},underline:{title:"Underline",toggle:!0,refresh:function(b){var a=this.format.is("u");b.toggleClass("fr-active",a).attr("aria-pressed",a)}},strikeThrough:{title:"Strikethrough",toggle:!0,refresh:function(b){var a=this.format.is("s");b.toggleClass("fr-active",a).attr("aria-pressed",a)}},subscript:{title:"Subscript",toggle:!0,refresh:function(b){var a=this.format.is("sub");b.toggleClass("fr-active",a).attr("aria-pressed",a)}},
superscript:{title:"Superscript",toggle:!0,refresh:function(b){var a=this.format.is("sup");b.toggleClass("fr-active",a).attr("aria-pressed",a)}},outdent:{title:"Decrease Indent"},indent:{title:"Increase Indent"},undo:{title:"Undo",undo:!1,forcedRefresh:!0,disabled:!0},redo:{title:"Redo",undo:!1,forcedRefresh:!0,disabled:!0},insertHR:{title:"Insert Horizontal Line"},clearFormatting:{title:"Clear Formatting"},selectAll:{title:"Select All",undo:!1},moreText:{title:"More Text",undo:!1},moreParagraph:{title:"More Paragraph",
undo:!1},moreRich:{title:"More Rich",undo:!1},moreMisc:{title:"More Misc",undo:!1}};a.RegisterCommand=function(b,c){a.COMMANDS[b]=c};a.MODULES.commands=function(b){function c(a){b.html.defaultTag()&&(a="<".concat(b.html.defaultTag(),">").concat(a,"</").concat(b.html.defaultTag(),">"));return a}function e(a){a=b.$tb.find("[data-cmd=".concat(a,"]"));var c=b.$tb.find("[data-cmd=html]");b.opts.trackChangesEnabled?c&&c.addClass("fr-disabled"):c&&c.removeClass("fr-disabled");u(a);b.toolbar.setMoreToolbarsHeight()}
function u(a){b.helpers.isMobile()&&b.opts.toolbarInline&&b.events.disableBlur();var c=b.$tb.find('.fr-more-toolbar[data-name="'.concat(a.attr("data-group-name"),'"]'));"trackChanges"===a.data("cmd")&&(c=b.$tb.find('.fr-more-toolbar[data-name="trackChanges-'.concat(b.id,'"]')));b.$tb.find(".fr-open").not(a).not('[data-cmd="trackChanges"]').removeClass("fr-open");a.toggleClass("fr-open");b.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible");b.$tb.find(".fr-expanded").not(c).length?(b.$tb.find(".fr-expanded").not(c).each(function(c,
d){0!=g(d).data("name").indexOf("trackChanges-")&&0!=g(d).data("name").indexOf("moreRich-")?g(d).toggleClass("fr-expanded"):a.parents('[data-name^="moreRich-"]').length||0==g(d).data("name").indexOf("trackChanges-")||g(d).find('[id^="trackChanges-"]').length&&b.opts.trackChangesEnabled||g(d).toggleClass("fr-expanded")}),c.toggleClass("fr-expanded")):(c.toggleClass("fr-expanded"),b.$box.toggleClass("fr-toolbar-open"),b.$tb.toggleClass("fr-toolbar-open"))}function f(c,d){if(!(b.markdown&&b.markdown.isEnabled()&&
("bold"===c||"italic"===c||"underline"===c)||b.opts.trackChangesEnabled&&"markdown"===c)&&!1!==b.events.trigger("commands.before",g.merge([c],d||[]))){var f=a.COMMANDS[c]&&a.COMMANDS[c].callback||aa[c],m=!0,e=!1;a.COMMANDS[c]&&("undefined"!==typeof a.COMMANDS[c].focus&&(m=a.COMMANDS[c].focus),"undefined"!==typeof a.COMMANDS[c].accessibilityFocus&&(e=a.COMMANDS[c].accessibilityFocus));(!b.core.hasFocus()&&m&&!b.popups.areVisible()||!b.core.hasFocus()&&e&&b.accessibility.hasFocus())&&b.events.focus(!0);
b.opts.htmlUntouched&&b.selection.save();a.COMMANDS[c]&&!1!==a.COMMANDS[c].undo&&(b.$el.find(".fr-marker").length&&(b.events.disableBlur(),b.selection.restore()),b.undo.saveStep());f&&f.apply(b,g.merge([c],d||[]));b.events.trigger("commands.after",g.merge([c],d||[]));a.COMMANDS[c]&&!1!==a.COMMANDS[c].undo&&b.undo.saveStep()}}function m(a){b.selection.save();b.html.wrap(!0,!0,!0,!0);b.selection.restore();for(var c=b.selection.blocks(),d=0;d<c.length;d++)if("LI"!==c[d].tagName||"LI"!==c[d].parentNode.tagName){var f=
g(c[d]);"LI"!=c[d].tagName&&"LI"==c[d].parentNode.tagName&&(f=g(c[d].parentNode));var m="rtl"===b.opts.direction||"rtl"===f.css("direction")?"margin-right":"margin-left",e=b.helpers.getPX(f.css(m));f.width()<2*b.opts.indentMargin&&0<a||("UL"!=c[d].parentNode.tagName&&"OL"!=c[d].parentNode.tagName&&"LI"!=c[d].parentNode.tagName&&f.css(m,Math.max(e+a*b.opts.indentMargin,0)||""),f.removeClass("fr-temp-div"))}b.selection.save();b.html.unwrap();b.selection.restore()}function J(b){return function(){f(b)}}
var g=b.$,aa={bold:function(){b.format.toggle("strong")},subscript:function(){b.format.is("sup")&&b.format.remove("sup");b.format.toggle("sub")},superscript:function(){b.format.is("sub")&&b.format.remove("sub");b.format.toggle("sup")},italic:function(){b.format.toggle("em")},strikeThrough:function(){b.format.toggle("s")},underline:function(){b.format.toggle("u")},undo:function(){b.undo.run()},redo:function(){b.undo.redo()},indent:function(){m(1)},outdent:function(){m(-1)},show:function(){b.opts.toolbarInline&&
b.toolbar.showInline(null,!0)},insertHR:function(){b.selection.remove();var d="";b.core.isEmpty()&&(d=c("<br>"));var f='<hr id="fr-just" class="fr-just">'.concat(d);b.opts.trackChangesEnabled&&(f=b.track_changes.wrapInTracking(g(f),"hrWrapper").get(0).outerHTML);b.html.insert(f);f=b.$el.find("hr#fr-just").length?b.$el.find("hr#fr-just"):b.$el.find(".fr-just");f.removeAttr("id");f.removeAttr("class");var m;d=b.opts.trackChangesEnabled&&"SPAN"===f[0].parentNode.tagName&&"P"===f[0].parentNode.parentNode.tagName;
if(0===f.next().length){var e=b.html.defaultTag();e&&!d?f.after(g(b.doc.createElement(e)).append("<br>").get(0)):d?f[0].parentNode.after(g(b.doc.createElement(e)).append("<br>").get(0)):f.after("<br>")}f.prev().is("hr")?m=b.selection.setAfter(f.get(0),!1):f.next().is("hr")?m=b.selection.setBefore(f.get(0),!1):d||b.selection.setAfter(f.get(0),!1)?b.selection.setAfter(f[0].parentNode,!1):b.selection.setBefore(f.get(0),!1);m||"undefined"===typeof m||(d="".concat(a.MARKERS,"<br>"),d=c(d),f.after(d));
b.selection.restore()},clearFormatting:function(){b.format.remove()},selectAll:function(){b.doc.execCommand("selectAll",!1,!1)},moreText:function(b){e(b)},moreParagraph:function(b){e(b)},moreRich:function(b){e(b)},moreMisc:function(b){e(b)},moreTrackChanges:function(){e("trackChanges")}},U={},C;for(C in aa)Object.prototype.hasOwnProperty.call(aa,C)&&(U[C]=J(C));return Object.assign(U,{exec:f,_init:function(){b.events.on("keydown",function(a){var c=b.selection.element();if(c&&"HR"===c.tagName&&!b.keys.isArrow(a.which))return a.preventDefault(),
!1});b.events.on("keyup",function(c){var d=b.selection.element();if(d&&"HR"===d.tagName)if(c.which===a.KEYCODE.ARROW_LEFT||c.which===a.KEYCODE.ARROW_UP){if(d.previousSibling)return b.node.isBlock(d.previousSibling)?b.selection.setAtEnd(d.previousSibling):g(d).before(a.MARKERS),b.selection.restore(),!1}else if((c.which===a.KEYCODE.ARROW_RIGHT||c.which===a.KEYCODE.ARROW_DOWN)&&d.nextSibling)return b.node.isBlock(d.nextSibling)?b.selection.setAtStart(d.nextSibling):g(d).after(a.MARKERS),b.selection.restore(),
!1});b.events.on("mousedown",function(b){if(b.target&&"HR"===b.target.tagName)return b.preventDefault(),b.stopPropagation(),!1});b.events.on("mouseup",function(){var c=b.selection.element(),d=b.selection.endElement();c===d&&c&&"HR"===c.tagName&&(c.nextSibling&&(b.node.isBlock(c.nextSibling)?b.selection.setAtStart(c.nextSibling):g(c).after(a.MARKERS)),b.selection.restore())})}})};a.MODULES.cursorLists=function(b){function c(b){for(;"LI"!==b.tagName;)b=b.parentNode;return b}function e(a){for(;!b.node.isList(a);)a=
a.parentNode;return a}function u(b){for(var a="",c=0;c<b.length;c++){var d=b[c];a+="".concat(d.name,"='").concat(d.value,"' ")}return a}var f=b.$;return{_startEnter:function(d){var m=c(d),g=m.nextSibling,h=m.previousSibling,U=b.html.defaultTag();if(b.node.isEmpty(m,!0)&&g){g=h="";for(d=d.parentNode;!b.node.isList(d)&&d.parentNode&&("LI"!==d.parentNode.tagName||d.parentNode===m);)-1<["OL","LI","UL"].indexOf(d.tagName)&&(h=b.node.openTagString(d)+h,g+=b.node.closeTagString(d)),d=d.parentNode;h=b.node.openTagString(d)+
h;g+=b.node.closeTagString(d);d.parentNode&&"LI"===d.parentNode.tagName?d.parentNode.attributes.length?(U=u(d.parentNode.attributes),U="".concat(g,"<li ").concat(U,">").concat(a.MARKERS,"<br>").concat(h)):U="".concat(g,"<li>").concat(a.MARKERS,"<br>").concat(h):U=U?"".concat(g,"<").concat(U,">").concat(a.MARKERS,"<br></").concat(U,">").concat(h):"".concat(g+a.MARKERS,"<br>").concat(h);for(;0>["UL","OL"].indexOf(d.tagName)||d.parentNode&&"LI"===d.parentNode.tagName;)d=d.parentNode;f(m).replaceWith('<span id="fr-break"></span>');
m=b.node.openTagString(d)+f(d).html()+b.node.closeTagString(d);m=m.replace(/<span id="fr-break"><\/span>/g,U);f(d).replaceWith(m);b.$el.find("li:empty").remove();b.$el.find("li > p > span:empty").length&&b.$el.find("li > p > span:empty")[0].parentNode.parentNode.remove()}else if(h&&g||!b.node.isEmpty(m,!0)){U="<br>";for((h=d.parentNode)&&"A"===h.tagName&&(h=null);h&&"LI"!==h.tagName;)U=b.node.openTagString(h)+U+b.node.closeTagString(h),h=h.parentNode;h&&h.attributes.length?(h=u(h.attributes),f(m).before("<li ".concat(h,
">").concat(U,"</li>"))):f(m).before("<li>".concat(U,"</li>"));f(d).remove()}else{if(h){h=e(m);g="".concat(a.MARKERS,"<br>");for(d=d.parentNode;d&&"LI"!==d.tagName;)g=b.node.openTagString(d)+g+b.node.closeTagString(d),d=d.parentNode;h.parentNode&&"LI"===h.parentNode.tagName?h.parentNode.attributes.length?(d=u(h.parentNode.attributes),f(h.parentNode).after("<li ".concat(d,">").concat(g,"</li>"))):f(h.parentNode).after("<li>".concat(g,"</li>")):U?f(h).after("<".concat(U,">").concat(g,"</").concat(U,
">")):f(h).after(g)}else h=e(m),h.parentNode&&"LI"===h.parentNode.tagName?g?f(h.parentNode).before("".concat(b.node.openTagString(m)+a.MARKERS,"<br></li>")):f(h.parentNode).after("".concat(b.node.openTagString(m)+a.MARKERS,"<br></li>")):U?f(h).before("<".concat(U,">").concat(a.MARKERS,"<br></").concat(U,">")):f(h).before("".concat(a.MARKERS,"<br>"));f(m).remove()}},_middleEnter:function(d){for(var e=c(d),m="",h=d,g="",u="",k=!1;h!==e;){h=h.parentNode;var z="A"===h.tagName&&b.cursor.isAtEnd(d,h)?"fr-to-remove":
"";k||h==e||b.node.isBlock(h)||(k=!0,g+=a.INVISIBLE_SPACE);g=b.node.openTagString(f(h).clone().addClass(z).get(0))+g;u+=b.node.closeTagString(h)}m=u+m+g+a.MARKERS+(b.opts.keepFormatOnDelete?a.INVISIBLE_SPACE:"");f(d).replaceWith('<span id="fr-break"></span>');d=b.node.openTagString(e)+f(e).html()+b.node.closeTagString(e);d=d.replace(/<span id="fr-break"><\/span>/g,m);f(e).replaceWith(d)},_endEnter:function(d){for(var e=c(d),m=a.MARKERS,h="",g=d,u=!1;g!==e;)if(g=g.parentNode,!g.classList.contains("fr-img-space-wrap")&&
!g.classList.contains("fr-img-space-wrap2")){var k="A"===g.tagName&&b.cursor.isAtEnd(d,g)?"fr-to-remove":"";u||g===e||b.node.isBlock(g)||(u=!0,h+=a.INVISIBLE_SPACE);h=b.node.openTagString(f(g).clone().addClass(k).get(0))+h;m+=b.node.closeTagString(g)}m=h+m;f(d).remove();f(e).after(m)},_backspace:function(d){var h=c(d),g=h.previousSibling;if(g){g=f(g).find(b.html.blockTagsQuery()).get(-1)||g;f(d).replaceWith(a.MARKERS);d=b.node.contents(g);d.length&&"BR"===d[d.length-1].tagName&&f(d[d.length-1]).remove();
f(h).find(b.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===h&&f(this).replaceWith(f(this).html()+(b.node.isEmpty(this)?"":"<br>"))});d=b.node.contents(h)[0];for(var m;d&&!b.node.isList(d);)m=d.nextSibling,f(g).append(d),d=m;for(g=h.previousSibling;d;)m=d.nextSibling,f(g).append(d),d=m;d=b.node.contents(g);1<d.length&&"BR"===d[d.length-1].tagName&&f(d[d.length-1]).remove();f(h).remove()}else g=e(h),f(d).replaceWith(a.MARKERS),g.parentNode&&"LI"===g.parentNode.tagName?
(d=g.previousSibling,b.node.isBlock(d)?(f(h).find(b.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===h&&f(this).replaceWith(f(this).html()+(b.node.isEmpty(this)?"":"<br>"))}),f(d).append(f(h).html())):f(g).before(f(h).html())):(d=b.html.defaultTag())&&0===f(h).find(b.html.blockTagsQuery()).length?f(g).before("<".concat(d,">").concat(f(h).html(),"</").concat(d,">")):f(g).before(f(h).html()),f(h).remove(),b.html.wrap(),0===f(g).find("li").length&&f(g).remove()},_del:function(d){var e=
c(d),h=e.nextSibling;if(h){var g=b.node.contents(h);g.length&&"BR"===g[0].tagName&&f(g[0]).remove();f(h).find(b.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===h&&f(this).replaceWith(f(this).html()+(b.node.isEmpty(this)?"":"<br>"))});g=d;for(var m=b.node.contents(h)[0],u;m&&!b.node.isList(m);)u=m.nextSibling,f(g).after(m),g=m,m=u;for(;m;)u=m.nextSibling,f(e).append(m),m=u;f(d).replaceWith(a.MARKERS);f(h).remove()}else{for(m=e;!m.nextSibling&&m!==b.el;)m=m.parentNode;
if(m===b.el)return!1;m=m.nextSibling;if(b.node.isBlock(m))0>a.NO_DELETE_TAGS.indexOf(m.tagName)&&(f(d).replaceWith(a.MARKERS),g=b.node.contents(e),g.length&&"BR"===g[g.length-1].tagName&&f(g[g.length-1]).remove(),!m.isContentEditable||"DIV"!==m.tagName||b.node.isBlock(m.previousSibling)&&"DIV"!==m.previousSibling.tagName)&&(f(e).append(f(m).html()),f(m).remove());else{g=b.node.contents(e);g.length&&"BR"===g[g.length-1].tagName&&f(g[g.length-1]).remove();for(f(d).replaceWith(a.MARKERS);m&&!b.node.isBlock(m)&&
"BR"!==m.tagName;)f(e).append(f(m)),m=m.nextSibling;f(m).remove()}}}}};a.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"];a.SIMPLE_ENTER_TAGS="TH TD LI DL DT FORM".split(" ");a.MODULES.cursor=function(b){function c(a){return a?b.node.isBlock(a)?"P"===a.tagName&&a.nextElementSibling&&a.parentElement&&"OL"===a.nextElementSibling.tagName&&"LI"===a.parentElement.tagName?!1:!0:a.nextSibling&&a.nextSibling.nodeType===Node.TEXT_NODE&&0===a.nextSibling.textContent.replace(/\u200b/g,"").length?c(a.nextSibling):
!a.nextSibling||a.previousSibling&&"BR"===a.nextSibling.tagName&&!a.nextSibling.nextSibling?c(a.parentNode):!1:!1}function e(a){return a?b.node.isBlock(a)?!0:a.previousSibling&&a.previousSibling.nodeType===Node.TEXT_NODE&&0===a.previousSibling.textContent.replace(/\u200b/g,"").length?e(a.previousSibling):a.previousSibling?!1:!a.previousSibling&&b.node.hasClass(a.parentNode,"fr-inner")?!0:e(a.parentNode):!1}function g(a,c){return a&&a!==b.$wp.get(0)?a.previousSibling&&a.previousSibling.nodeType===
Node.TEXT_NODE&&0===a.previousSibling.textContent.replace(/\u200b/g,"").length?g(a.previousSibling,c):a.previousSibling?!1:a.parentNode===c?!0:g(a.parentNode,c):!1}function f(a,c){return a&&a!==b.$wp.get(0)?a.nextSibling&&a.nextSibling.nodeType===Node.TEXT_NODE&&0===a.nextSibling.textContent.replace(/\u200b/g,"").length?f(a.nextSibling,c):!a.nextSibling||a.previousSibling&&"BR"===a.nextSibling.tagName&&!a.nextSibling.nextSibling?a.parentNode===c?!0:f(a.parentNode,c):!1:!1}function m(a){return 0<t(a).parentsUntil(b.$el,
"LI").length&&0===t(a).parentsUntil("LI","TABLE").length}function J(b,a){a=new RegExp("".concat(a?"^":"","(([\\uD83C-\\uDBFF\\uDC00-\\uDFFF]+\\u200D)*[\\uD83C-\\uDBFF\\uDC00-\\uDFFF]{2})").concat(a?"":"$"),"i");return(b=b.match(a))?b[0].length:1}function ka(c){for(var d=c;!d.previousSibling;)if(d=d.parentNode,b.node.isElement(d))return!1;d=d.previousSibling;var f=b.opts.htmlAllowedEmptyTags;var e=d.tagName&&d.tagName.toLowerCase();if((!b.node.isBlock(d)||d.lastChild&&e&&0<=f.indexOf(e))&&b.node.isEditable(d)){for(f=
b.node.contents(d);d.nodeType!==Node.TEXT_NODE&&!b.node.isDeletable(d)&&f.length&&b.node.isEditable(d);)d=f[f.length-1],f=b.node.contents(d);if(d.nodeType===Node.TEXT_NODE){f=d.textContent;if((e=f.length)&&"\n"===f[f.length-1])return d.textContent=f.substring(0,e-2),0===d.textContent.length&&d.parentNode.removeChild(d),ka(c);b.opts.tabSpaces&&f.length>=b.opts.tabSpaces&&0===f.substr(f.length-b.opts.tabSpaces,f.length-1).replace(/ /g,"").replace(new RegExp(a.UNICODE_NBSP,"g"),"").length&&(e=f.length-
b.opts.tabSpaces+1);d.textContent=f.substring(0,e-J(f));e=d.textContent;if(b.opts.enter===a.ENTER_BR&&0<e.length&&" "===e.charAt(e.length-1)||0===e.length&&c.previousSibling&&3===c.previousSibling.nodeType&&"TD"!==c.parentNode.tagName&&"LI"!==c.parentNode.tagName&&f!==String.fromCharCode(8203))c.insertAdjacentHTML("beforebegin",a.INVISIBLE_SPACE),d=d.nextSibling;b.opts.trackChangesEnabled&&0===d.textContent.length&&t(d.parentElement).data("tracking")&&0===t(d.parentElement).find("[data-tracking-deleted=true]").length&&
(t(c).insertBefore(d.parentElement),t(d.parentElement).remove(),d=t(c)[0].previousSibling);b.opts.htmlUntouched&&!c.nextSibling&&d.textContent.length&&" "===d.textContent[d.textContent.length-1]&&(d.textContent=d.textContent.substring(0,d.textContent.length-1)+a.UNICODE_NBSP);e=f.length!==d.textContent.length;0===d.textContent.length&&d.previousSibling&&"BR"===d.previousSibling.tagName&&d.previousSibling.remove();if(0===d.textContent.length)if(e&&b.opts.keepFormatOnDelete)t(d).after(a.INVISIBLE_SPACE+
a.MARKERS);else if(0!==f.length&&b.node.isBlock(d.parentNode))t(d).after(a.MARKERS);else if((2!=d.parentNode.childNodes.length||d.parentNode!=c.parentNode)&&1!=d.parentNode.childNodes.length||b.node.isBlock(d.parentNode)||b.node.isElement(d.parentNode)||!b.node.isDeletable(d.parentNode)){var g;for(f=d;!b.node.isElement(d.parentNode)&&b.node.isEmpty(d.parentNode)&&0>a.NO_DELETE_TAGS.indexOf(d.parentNode.tagName);)if(d=d.parentNode,"A"===d.tagName){e=d.childNodes[0];t(d).before(e);for(g=!0;0<e.childNodes.length;)e=
e.childNodes[0];d.parentNode.removeChild(d);d=e;break}g||(d=f);t(d).after(a.MARKERS);b.node.isElement(d.parentNode)&&!c.nextSibling&&d.previousSibling&&"BR"===d.previousSibling.tagName&&t(c).after("<br>");c=d.parentNode;d.parentNode.removeChild(d);b.node.isEmpty(c)&&t(c).html(a.INVISIBLE_SPACE+a.MARKERS)}else t(d.parentNode).after(a.MARKERS),t(d.parentNode).remove();else t(d).after(a.MARKERS)}else b.node.isDeletable(d)?(t(d).after(a.MARKERS),t(d).remove()):c.nextSibling&&"BR"===c.nextSibling.tagName&&
b.node.isVoid(d)&&"BR"!==d.tagName?(t(c.nextSibling).remove(),t(c).replaceWith(a.MARKERS)):!1!==b.events.trigger("node.remove",[t(d)])&&(t(d).after(a.MARKERS),t(d).remove())}else if(0>a.NO_DELETE_TAGS.indexOf(d.tagName)&&(b.node.isEditable(d)||b.node.isDeletable(d)))if(b.node.isDeletable(d))t(c).replaceWith(a.MARKERS),t(d).remove();else if(b.node.isEmpty(d)&&!b.node.isList(d))t(d).remove(),t(c).replaceWith(a.MARKERS);else{b.node.isList(d)&&(d=t(d).find("li").last().get(0));(f=b.node.contents(d))&&
0<f.length&&"BR"===f[f.length-1].tagName&&t(f[f.length-1]).remove();for(f=b.node.contents(d);f&&0<f.length&&b.node.isBlock(f[f.length-1]);)d=f[f.length-1],f=b.node.contents(d);t(d).append(a.MARKERS);for(g=c;!g.previousSibling;)g=g.parentNode;for(;g&&"BR"!==g.tagName&&!b.node.isBlock(g);)f=g,g=g.nextSibling,t(d).append(f);g&&"BR"===g.tagName&&t(g).remove();t(c).remove()}else c.nextSibling&&"BR"===c.nextSibling.tagName&&t(c.nextSibling).remove();return!0}function aa(c){var d=0<t(c).parentsUntil(b.$el,
"BLOCKQUOTE").length;if((d=b.node.deepestParent(c,[],!d))&&"BLOCKQUOTE"===d.tagName){var f=b.node.deepestParent(c,[t(c).parentsUntil(b.$el,"BLOCKQUOTE").get(0)]);f&&f.nextSibling&&(d=f)}if(null!==d&&(f=d.nextSibling,b.node.isBlock(d)&&(b.node.isEditable(d)||b.node.isDeletable(d))&&f&&0>a.NO_DELETE_TAGS.indexOf(f.tagName)))if(b.node.isDeletable(f))t(f).remove(),t(c).replaceWith(a.MARKERS);else if(b.node.isBlock(f)&&b.node.isEditable(f))if(b.node.isList(f))if(b.node.isEmpty(d,!0))t(d).remove(),t(f).find("li").first().prepend(a.MARKERS);
else{var e=t(f).find("li").first();if("BLOCKQUOTE"===d.tagName){var g=b.node.contents(d);g.length&&b.node.isBlock(g[g.length-1])&&(d=g[g.length-1])}0===e.find("ul, ol").length&&(t(c).replaceWith(a.MARKERS),e.find(b.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===e.get(0)&&t(this).replaceWith(t(this).html()+(b.node.isEmpty(this)?"":"<br>"))}),t(d).append(b.node.contents(e.get(0))),e.remove(),0===t(f).find("li").length&&t(f).remove())}else{g=b.node.contents(f);g.length&&
"BR"===g[0].tagName&&t(g[0]).remove();if("BLOCKQUOTE"!==f.tagName&&"BLOCKQUOTE"===d.tagName)for(g=b.node.contents(d);g.length&&b.node.isBlock(g[g.length-1]);)d=g[g.length-1],g=b.node.contents(d);else if("BLOCKQUOTE"===f.tagName&&"BLOCKQUOTE"!==d.tagName)for(g=b.node.contents(f);g.length&&b.node.isBlock(g[0]);)f=g[0],g=b.node.contents(f);t(c).replaceWith(a.MARKERS);t(d).append(f.innerHTML);t(f).remove()}else{for(t(c).replaceWith(a.MARKERS);f&&"BR"!==f.tagName&&!b.node.isBlock(f)&&b.node.isEditable(f);)c=
f,f=f.nextSibling,t(d).append(c);f&&"BR"===f.tagName&&b.node.isEditable(f)&&t(f).remove()}}function k(){for(var a=b.el.querySelectorAll("blockquote:empty"),c=0;c<a.length;c++)a[c].parentNode.removeChild(a[c])}function C(){b.$el.find(".fr-to-remove").each(function(){for(var a=b.node.contents(this),c=0;c<a.length;c++)a[c].nodeType===Node.TEXT_NODE&&(a[c].textContent=a[c].textContent.replace(/\u200B/g,""));t(this).replaceWith(this.innerHTML)})}function z(c,d,e){var g=b.node.deepestParent(c,[],!e);if(g&&
"BLOCKQUOTE"===g.tagName){if(f(c,g)){var h=b.html.defaultTag();d?t(c).replaceWith("<br>"+a.MARKERS):h?t(g).after("<".concat(h,">").concat(a.MARKERS,"<br></").concat(h,">")):t(g).after("".concat(a.MARKERS,"<br>"));t(c).remove();return!1}H(c,d,e);return!1}if(null===g)(h=b.html.defaultTag())&&b.node.isElement(c.parentNode)?t(c).replaceWith("<".concat(h,">").concat(a.MARKERS,"<br></").concat(h,">")):!c.previousSibling||t(c.previousSibling).is("br")||c.nextSibling?t(c).replaceWith("<br>".concat(a.MARKERS)):
t(c).replaceWith("<br>".concat(a.MARKERS,"<br>"));else{var x=c;e="";"PRE"!=g.tagName||c.nextSibling||(d=!0);if(!b.node.isBlock(g)||d)e="<br/>";var l="",q="";h=b.html.defaultTag();var X="",m="";h&&b.node.isBlock(g)&&(X="<".concat(h,">"),m="</".concat(h,">"),g.tagName===h.toUpperCase()&&(X=b.node.openTagString(t(g).clone().removeAttr("id").get(0))));do if(x=x.parentNode,!d||x!==g||d&&!b.node.isBlock(g))l+=b.node.closeTagString(x),x===g&&b.node.isBlock(g)?q=X+q:(h=("A"===x.tagName||b.node.hasClass(x,
"fa"))&&f(c,x)?"fr-to-remove":"",q="isPasted"===x.getAttribute("id")?b.node.openTagString(t(x).clone().attr("style","").addClass(h).get(0))+q:b.node.openTagString(t(x).clone().addClass(h).get(0))+q);while(x!==g);e=l+e+q+(c.parentNode===g&&b.node.isBlock(g)?"":a.INVISIBLE_SPACE)+a.MARKERS;b.node.isBlock(g)&&!t(g).find("*").last().is("br")&&t(g).append("<br/>");t(c).after('<span id="fr-break"></span>');t(c).remove();g.nextSibling&&!b.node.isBlock(g.nextSibling)||b.node.isBlock(g)||t(g).after("<br>");
c=!d&&b.node.isBlock(g)?b.node.openTagString(g)+t(g).html()+m:b.node.openTagString(g)+t(g).html()+b.node.closeTagString(g);c=c.replace(/<span id="fr-break"><\/span>/g,e);t(g).replaceWith(c)}}function n(c,d,h){var m=b.node.deepestParent(c,[],!h);if(m&&"TABLE"===m.tagName)return t(m).find("td, th").first().prepend(c),n(c,d,h);if(m&&"BLOCKQUOTE"===m.tagName)if(g(c,m)){if(!d)return(d=b.html.defaultTag())?t(m).before("<".concat(d,">").concat(a.MARKERS,"<br></").concat(d,">")):t(m).before("".concat(a.MARKERS,
"<br>")),t(c).remove(),!1}else f(c,m)?z(c,d,!0):H(c,d,!0);if(null===m)(d=b.html.defaultTag())&&b.node.isElement(c.parentNode)?t(c).replaceWith("<".concat(d,">").concat(a.MARKERS,"<br></").concat(d,">")):t(c).replaceWith("<br>".concat(a.MARKERS));else{b.html.defaultTag();if(b.node.isBlock(m))if("PRE"===m.tagName&&(d=!0),d)t(c).remove(),t(m).prepend("<br>".concat(a.MARKERS));else if(c.nextSibling&&"IMG"==c.nextSibling.tagName||c.nextSibling&&c.nextSibling.nextElementSibling&&"IMG"==c.nextSibling.nextElementSibling)t(c).replaceWith("<"+
b.html.defaultTag()+">"+a.MARKERS+"<br></"+b.html.defaultTag()+">");else{if(b.node.isEmpty(m,!0))return z(c,d,h);if(b.opts.keepFormatOnDelete||"DIV"===m.tagName||"div"===b.html.defaultTag())if(!b.opts.keepFormatOnDelete&&"DIV"===m.tagName||"div"===b.html.defaultTag())t(m).before("<"+b.html.defaultTag()+"><br></"+b.html.defaultTag()+">");else if(b.opts.keepFormatOnDelete&&"DIV"!==m.tagName&&"div"!==b.html.defaultTag()&&e(b.selection.get().focusNode))t(m).before("".concat(b.node.openTagString(t(m).clone().removeAttr("id").get(0)),
"<br>").concat(b.node.closeTagString(m)));else{d=c;for(h=a.INVISIBLE_SPACE;d!==m&&!b.node.isElement(d);)d=d.parentNode,h=b.node.openTagString(d)+h+b.node.closeTagString(d);t(m).before(h)}else t(m).before("".concat(b.node.openTagString(t(m).clone().removeAttr("id").get(0)),"<br>").concat(b.node.closeTagString(m)))}else t(m).before("<br>");t(c).remove()}}function H(c,d,e){e=b.node.deepestParent(c,[],!e);if(null===e)b.html.defaultTag()&&c.parentNode===b.el?t(c).replaceWith("<".concat(b.html.defaultTag(),
">").concat(a.MARKERS,"<br></").concat(b.html.defaultTag(),">")):(c.nextSibling&&!b.node.isBlock(c.nextSibling)||t(c).after("<br>"),t(c).replaceWith("<br>".concat(a.MARKERS)));else if(c.previousSibling&&"IMG"==c.previousSibling.tagName||c.nextSibling&&"IMG"==c.nextSibling.tagName)t(c).replaceWith("<"+b.html.defaultTag()+">"+a.MARKERS+"<br></"+b.html.defaultTag()+">");else{var m=c,h="";"PRE"===e.tagName&&(d=!0);if(!b.node.isBlock(e)||d)h="<br>";var x="",l="";do{var q=m;m=m.parentNode;"BLOCKQUOTE"===
e.tagName&&b.node.isEmpty(q)&&!b.node.hasClass(q,"fr-marker")&&t(q).contains(c)&&t(q).after(c);if("BLOCKQUOTE"!==e.tagName||!f(c,m)&&!g(c,m))!d||m!==e||d&&!b.node.isBlock(e)?(x+=b.node.closeTagString(m),q="A"==m.tagName&&f(c,m)||b.node.hasClass(m,"fa")?"fr-to-remove":"",l=b.node.openTagString(t(m).clone().addClass(q).removeAttr("id").get(0))+l,b.opts.enter!==a.ENTER_DIV&&m===e&&"DIV"===e.tagName&&(x="<br>",l="")):"BLOCKQUOTE"==e.tagName&&d&&(l=x="")}while(m!==e);m=e===c.parentNode&&b.node.isBlock(e)||
c.nextSibling;"BLOCKQUOTE"===e.tagName?(c.previousSibling&&b.node.isBlock(c.previousSibling)&&c.nextSibling&&"BR"===c.nextSibling.tagName&&(t(c.nextSibling).after(c),c.nextSibling&&"BR"===c.nextSibling.tagName&&t(c.nextSibling).remove()),d?h=x+h+a.MARKERS+l:(d=b.html.defaultTag(),h="".concat(x+h+(d?"<".concat(d,">"):"")+a.MARKERS,"<br>").concat(d?"</".concat(d,">"):"").concat(l))):h=x+h+l+(m?"":a.INVISIBLE_SPACE)+a.MARKERS;t(c).replaceWith('<span id="fr-break"></span>');c=b.node.openTagString(e)+
t(e).html()+b.node.closeTagString(e);c=c.replace(/<span id="fr-break"><\/span>/g,h);t(e).replaceWith(c)}}var t=b.$;return{enter:function(d){var f=b.markers.insert();if(!f)return!0;for(var g=f.parentNode;g&&!b.node.isElement(g);){if("false"===g.getAttribute("contenteditable"))return t(f).replaceWith(a.MARKERS),b.selection.restore(),!1;if("true"===g.getAttribute("contenteditable"))break;g=g.parentNode}b.el.normalize();g=!1;0<t(f).parentsUntil(b.$el,"BLOCKQUOTE").length&&(g=!0);t(f).parentsUntil(b.$el,
"TD, TH").length&&(g=!1);c(f)?!m(f)||d||g?z(f,d,g):b.cursorLists._endEnter(f):e(f)?!m(f)||d||g?n(f,d,g):b.cursorLists._startEnter(f):!m(f)||d||g?H(f,d,g):b.cursorLists._middleEnter(f);C();b.html.fillEmptyBlocks(!0);b.opts.htmlUntouched||(b.html.cleanEmptyTags(),b.clean.lists(),b.spaces.normalizeAroundCursor());b.selection.restore();d=b.o_win.innerHeight;if(b.$oel[0].offsetHeight>d){g=b.selection.get();f=null;if(b.selection.inEditor()&&g.rangeCount)for(g=b.selection.ranges();0<g.length;){f=g[0];f=
b.selection.rangeElement(f.startContainer,f.startOffset);break}if(g=f){f=g.getBoundingClientRect().top+(window.pageYOffset||document.documentElement.scrollTop);var h=g.getBoundingClientRect().top;g.parentNode&&"TD"===g.parentNode.tagName&&h>d?b.o_win.scroll(0,h-50):0>h?b.o_win.scroll(0,f-80):h+20>d&&b.o_win.scroll(0,f-d+50)}}},backspace:function(){var d=!1,f=b.markers.insert();if(!f)return!0;for(var h=f.parentNode;h&&!b.node.isElement(h);){if("false"===h.getAttribute("contenteditable"))return t(f).replaceWith(a.MARKERS),
b.selection.restore(),!1;if(h.innerText.length&&"true"===h.getAttribute("contenteditable"))break;h=h.parentNode}b.el.normalize();if(h=f.previousSibling){var u=h.textContent;u&&u.length&&8203===u.charCodeAt(u.length-1)&&1!==u.length&&(h.textContent=h.textContent.substr(0,u.length-J(u)))}if(c(f))m(f)&&g(f,t(f).parents("li").first().get(0))?b.cursorLists._backspace(f):d=ka(f);else if(e(f))if(m(f)&&g(f,t(f).parents("li").first().get(0)))b.cursorLists._backspace(f);else{h=0<t(f).parentsUntil(b.$el,"BLOCKQUOTE").length;
for(u=h=b.node.deepestParent(f,[],!h);h&&!h.previousSibling&&"BLOCKQUOTE"!==h.tagName&&h.parentElement!==b.el&&!b.node.hasClass(h.parentElement,"fr-inner")&&0>a.SIMPLE_ENTER_TAGS.indexOf(h.parentElement.tagName);)h=h.parentElement;if(h&&"BLOCKQUOTE"===h.tagName){var p=b.node.deepestParent(f,[t(f).parentsUntil(b.$el,"BLOCKQUOTE").get(0)]);p&&p.previousSibling&&(u=h=p)}if(null!==h&&(p=h.previousSibling,b.node.isBlock(h)&&b.node.isEditable(h)))if(p&&0>a.NO_DELETE_TAGS.indexOf(p.tagName))if(b.node.isDeletable(p))t(p).remove(),
t(f).replaceWith(a.MARKERS);else{if(b.node.isEditable(p))if(b.node.isBlock(p))if(b.node.isEmpty(p)&&!b.node.isList(p))t(p).remove(),t(f).after(b.opts.keepFormatOnDelete?a.INVISIBLE_SPACE:"");else{b.node.isList(p)&&(p=t(p).find("li").last().get(0));var x=b.node.contents(p);x.length&&"BR"===x[x.length-1].tagName&&t(x[x.length-1]).remove();if("BLOCKQUOTE"===p.tagName&&"BLOCKQUOTE"!==h.tagName)for(x=b.node.contents(p);x.length&&b.node.isBlock(x[x.length-1]);)p=x[x.length-1],x=b.node.contents(p);else if("BLOCKQUOTE"!==
p.tagName&&"BLOCKQUOTE"===u.tagName)for(x=b.node.contents(u);x.length&&b.node.isBlock(x[0]);)u=x[0],x=b.node.contents(u);b.node.isEmpty(h)?(t(f).remove(),b.selection.setAtEnd(p,!0)):(t(f).replaceWith(a.MARKERS),x=p.childNodes,b.node.isBlock(x[x.length-1])?t(x[x.length-1]).append(u.innerHTML):t(p).append(u.innerHTML));t(u).remove();b.node.isEmpty(h)&&t(h).remove()}else t(f).replaceWith(a.MARKERS),"BLOCKQUOTE"===h.tagName&&p.nodeType===Node.ELEMENT_NODE?t(p).remove():(t(p).after(b.node.isEmpty(h)?"":
t(h).html()),t(h).remove(),"BR"===p.tagName&&t(p).remove())}else p||(h&&"BLOCKQUOTE"===h.tagName&&0===t(h).text().replace(/\u200B/g,"").length?t(h).remove():(u=h.nextSibling,b.node.isEmpty(h)&&h.parentNode&&b.node.isEditable(h.parentNode)&&!u&&(h.parentNode!=b.el&&"TD"!==h.parentNode.tagName?t(h.parentNode).remove():h.parentNode!=b.el&&"TD"===h.parentNode.tagName&&t(h).remove())))}else d=ka(f);t(f).remove();k();b.html.fillEmptyBlocks(!0);b.opts.htmlUntouched||(b.html.cleanEmptyTags(),b.clean.lists(),
b.spaces.normalizeAroundCursor());b.selection.restore();return d},del:function(){var d=b.markers.insert();if(!d)return!1;b.el.normalize();if(c(d))if(m(d))if(0===t(d).parents("li").first().find("ul, ol").length)b.cursorLists._del(d);else{var f=t(d).parents("li").first().find("ul, ol").first().find("li").first();f=f.find(b.html.blockTagsQuery()).get(-1)||f;f.prepend(d);b.cursorLists._backspace(d)}else aa(d);else a:{for(e(d),f=d;!f.nextSibling;)if(f=f.parentNode,b.node.isElement(f))break a;f=f.nextSibling;
if("BR"===f.tagName&&b.node.isEditable(f))if(f.nextSibling){if(b.node.isBlock(f.nextSibling)&&b.node.isEditable(f.nextSibling))if(0>a.NO_DELETE_TAGS.indexOf(f.nextSibling.tagName))f=f.nextSibling,t(f.previousSibling).remove();else{t(f).remove();break a}}else if(c(f)){m(d)?b.cursorLists._del(d):b.node.deepestParent(f)&&((!b.node.isEmpty(b.node.blockParent(f))||0>(b.node.blockParent(f).nextSibling&&a.NO_DELETE_TAGS.indexOf(b.node.blockParent(f).nextSibling.tagName)))&&t(f).remove(),aa(d));break a}var g;
if(!b.node.isBlock(f)&&b.node.isEditable(f)){for(g=b.node.contents(f);f.nodeType!==Node.TEXT_NODE&&g.length&&!b.node.isDeletable(f)&&b.node.isEditable(f);)f=g[0],g=b.node.contents(f);f.nodeType===Node.TEXT_NODE?(t(f).before(a.MARKERS),f.textContent.length&&(f.textContent=f.textContent.substring(J(f.textContent,!0),f.textContent.length))):b.node.isDeletable(f)?(t(f).before(a.MARKERS),t(f).remove()):!1!==b.events.trigger("node.remove",[t(f)])&&(t(f).before(a.MARKERS),t(f).remove());t(d).remove()}else if(0>
a.NO_DELETE_TAGS.indexOf(f.tagName)&&(b.node.isEditable(f)||b.node.isDeletable(f)))if(b.node.isDeletable(f))t(d).replaceWith(a.MARKERS),t(f).remove();else if(b.node.isList(f))d.previousSibling?(t(f).find("li").first().prepend(d),b.cursorLists._backspace(d)):(t(f).find("li").first().prepend(a.MARKERS),t(d).remove());else if((g=b.node.contents(f))&&0<g.length&&"BR"===g[0].tagName&&t(g[0]).remove(),g&&0<g.length&&"BLOCKQUOTE"===f.tagName){f=g[0];for(t(d).before(a.MARKERS);f&&"BR"!==f.tagName;)g=f,f=
f.nextSibling,t(d).before(g);f&&"BR"===f.tagName&&t(f).remove()}else t(d).after(t(f).html()).after(a.MARKERS),t(f).remove()}t(d).remove();k();b.html.fillEmptyBlocks(!0);b.opts.htmlUntouched||(b.html.cleanEmptyTags(),b.clean.lists());b.spaces.normalizeAroundCursor();b.selection.restore()},isAtEnd:f,isAtStart:g}};a.MODULES.data=function(b){function a(a){return a&&"block"!==a.css("display")?(a.remove(),!0):a&&0===b.helpers.getPX(a.css("height"))?(a.remove(),!0):!(!a||"absolute"!==a.css("position")&&
"fixed"!==a.css("position"))&&(a.remove(),!0)}function c(){if(10<A&&(b[t("0ppecjvc==")](),setTimeout(function(){ka.FE=null},10)),!b.$box)return!1;b.$wp.prepend(t(t(n)));w=b.$wp.find("> div").first();v=w.find("> a");"rtl"===b.opts.direction&&w.css("left","auto").css("right",0).attr("direction","rtl");A++}function g(b){var a=t("9qqG-7amjlwq=="),c=t("KA3B3C2A6D1D5H5H1A3=="),d=t("3B9B3B5F3C4G3E3=="),q=t("QzbzvxyB2yA-9m=="),f=t("ji1kacwmgG5bc=="),g=t("nmA-13aogi1A3c1jd=="),E=t("BA9ggq=="),e=t("emznbjbH3fij=="),
h=t("tkC-22d1qC-13sD1wzF-7=="),m=t("tA3jjf=="),u=t("1D1brkm==");a=[a,c,d,q,f,g,E,e,h,m,u];for(c=0;c<a.length;c++)if(String.prototype.endsWith||(String.prototype.endsWith=function(b,a){return(void 0===a||a>this.length)&&(a=this.length),this.substring(a-b.length,a)===b}),b.endsWith(a[c]))return!0;return!1}function f(b){b=(t(b)||"").split("|");return 4===b.length&&"V3"===b[0]?[b[1],b[3],b[2]]:[null,null,""]}function e(b){return null===b||(0==b.indexOf("TRIAL")?(b=new Date(b.replace(/TRIAL/,"")),new Date(b)<
new Date&&(aa=k,!0)):new Date(b)<new Date(t(z)))}function J(){var b=t(C),a=t("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==").split(".");try{return window.parent.document.querySelector(b)&&window[a[1]][a[2]]}catch(x){return!1}}var ka=b.$,aa="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",
k="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",
C="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",z="lC4B3A3B2B5A1C2E4G1A2==",n="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10uLH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",
H=function(){for(var b=0,a=document.domain,c=a.split("."),d="_gd".concat((new Date).getTime());b<c.length-1&&-1===document.cookie.indexOf("".concat(d,"=").concat(d));)a=c.slice(-1-++b).join("."),document.cookie="".concat(d,"=").concat(d,";domain=").concat(a,";");return document.cookie="".concat(d,"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=").concat(a,";"),(a||"").replace(/(^\.*)|(\.*$)/g,"")}(),t=function(b){if(!b)return b;for(var a="",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".indexOf(b[0]),
d=1;d<b.length-2;d++){var q=(++c).toString();for(var f=0,g=0;g<q.length;g++)f+=parseInt(q.charAt(g),10);q=10<f?f%9+1:f;var E=b.charCodeAt(d);for(f="";/[0-9-]/.test(b[d+1]);)f+=b[++d];f=parseInt(f,10)||0;g=E;for(E=Math.abs(f);0<E--;)g-=q;E=(0>f&&(g+=123),g);E^=c-1&31;a+=String.fromCharCode(E)}return a},w,v,A=0;return{_init:function(){var d=b.opts.key||[""],h=t("ziRA1E3B9pA5B-11D-11xg1A3ZB5D1D4B-11ED2EG2pdeoC1clIH4wB-22yQD5uF4YE3E3A9==");"string"==typeof d&&(d=[d]);b.ul=!0;for(var x=!1,l=0,q=0;q<d.length;q++){var X=
f(d[q]),m=X[2],E=t(t("LGnD1KNZf1CPBYCAZB-8F3UDSLLSG1VFf1A3C2=="));if(m===E||0<=m.indexOf(H,m.length-H.length)||g(H)||J()){if(!(e(X[1])&&0<(H||"").length)||g(H)||J()){b.ul=!1;break}x=!0;n=aa;l=X[0]||-1}}d=new Image;!0===b.ul&&(c(),d.src=x?"".concat(t(h),"e=").concat(l):"".concat(t(h),"u"));!0===b.ul&&(b.events.on("contentChanged",function(){(a(w)||a(v)||w&&0===b.$box.find(w).length||v&&0===b.$box.find(v).length)&&c()}),b.events.on("html.get",function(b){return b+t("qD2H-9G3ioD-17qA1tE1B-8qI3A4hA-13C-11E2C1njfldD1E6pg1C-8sC3hfbkcD2G3stC-22gqgB3G2B-7vtoA4nweeD1A31A15B9uC-16A1F5dkykdc1B8dE-11bA3F2D3A9gd1E7F2tlI-8H-7vtxB2A5B2C3B2F2B5A6ldbyC4iqC-22D-17E-13mA3D2dywiB3oxlvfC1H4C2TjqbzlnI3ntB4E3qA2zaqsC6D3pmnkoE3C6D5wvuE3bwifdhB6hch1E4xibD-17dmrC1rG-7pntnF6nB-8F1D2A11C8plrkmF2F3MC-16bocqA2WwA-21ayeA1C4d1isC-22rD-13D6DfjpjtC2E6hB2G2G4A-7D2==")}));
b.events.on("html.set",function(){var a=b.el.querySelector('[data-f-id="pbf"]');a&&ka(a).remove()});b.events.on("destroy",function(){w&&w.length&&w.remove()},!0)}}};a.MODULES.edit=function(b){function a(){if(b.browser.mozilla)try{b.doc.execCommand("enableObjectResizing",!1,"false"),b.doc.execCommand("enableInlineTableEditing",!1,"false")}catch(u){}if(b.browser.msie)try{b.doc.body.addEventListener("mscontrolselect",function(b){b.srcElement.focus();return!1})}catch(u){}}var c=!1;return{_init:function(){b.events.on("focus",
function(){if(c)b.edit.off();else b.edit.on()})},on:function(){b.$wp?(b.$el.attr("contenteditable",!0),b.$el.removeClass("fr-disabled").attr("aria-disabled",!1),a()):b.$el.is("a")&&b.$el.attr("contenteditable",!0);b.events.trigger("edit.on",[],!0);c=!1},off:function(){b.events.disableBlur();b.$wp?(b.$el.attr("contenteditable",!1),b.$el.addClass("fr-disabled").attr("aria-disabled",!0)):b.$el.is("a")&&b.$el.attr("contenteditable",!1);b.events.trigger("edit.off");b.events.enableBlur();c=!0},disableDesign:a,
isDisabled:function(){return c}}};a.MODULES.format=function(b){function c(b,a){b="<".concat(b);for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b+=" ".concat(c,'="').concat(a[c],'"'));return b+">"}function g(b,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b="id"===c?b+"#".concat(a[c]):"class"===c?b+".".concat(a[c]):b+"[".concat(c,'="').concat(a[c],'"]'));return b}function e(b,a){return b&&b.nodeType===Node.ELEMENT_NODE?(b.matches||b.matchesSelector||b.msMatchesSelector||
b.mozMatchesSelector||b.webkitMatchesSelector||b.oMatchesSelector).call(b,a):!1}function f(a,c,d){var l,q={strong:{prop:"font-weight",val:"bold"},em:{prop:"font-style",val:"italic"}};if(a){if(b.node.isBlock(a)&&a.hasAttribute("contenteditable")&&"false"===a.getAttribute("contenteditable")||a.parentNode&&a.parentNode.hasAttribute("contenteditable")&&"false"===a.parentNode.getAttribute("contenteditable")){if(a.nextSibling&&A(a.nextSibling).hasClass("fr-marker"))return;if(a.nextSibling){f(a.nextSibling,
c,d);return}if(a.parentNode){f(a.parentNode,c,d);return}}for(;a.nodeType===Node.COMMENT_NODE;)a=a.nextSibling;if(a){if(b.node.isBlock(a)&&"HR"!==a.tagName)return b.node.hasClass(a.firstChild,"fr-marker")?f(a.firstChild.nextSibling,c,d):f(a.firstChild,c,d),!1;var g=A(b.doc.createElement(c));g.attr(d);g.insertBefore(a);if((l=w(a))&&(0<=["strong","em"].indexOf(c)||"span"===c&&d.hasOwnProperty("style"))){if("span"===c){q=d.style.replace(/;$/,"").split(":");var x=q[0].trim();q=q[1].trim()}else x=q[c].prop,
q=q[c].val;if("background-color"!==x)for(A(l).css(x,q),l=l.childNodes,q=0;q<l.length;q++)0<=["UL","OL","LI"].indexOf(l[q].tagName)&&""===l[q].style[x]&&A(l[q]).css(x,"initial")}for(l=a;l&&!A(l).hasClass("fr-marker")&&0===A(l).find(".fr-marker").length&&"UL"!==l.tagName&&"OL"!==l.tagName;)if(x=l,"SPAN"===l.tagName&&A(l).hasClass("fr-tracking-deleted"))l=l.nextSibling;else{if(b.node.isBlock(l)&&"HR"!==a.tagName||"SPAN"===l.tagName)return f(l.firstChild,c,d),!1;if(l.tagName&&l.hasAttribute("contenteditable")&&
"false"===l.getAttribute("contenteditable")){f(l.nextSibling,c,d);return}l=l.nextSibling;g.append(x)}if(l)(A(l).find(".fr-marker").length||"UL"===l.tagName||"OL"===l.tagName)&&f(l.firstChild,c,d);else{for(a=g.get(0).parentNode;a&&!a.nextSibling&&!b.node.isElement(a);)a=a.parentNode;a&&(a=a.nextSibling)&&(b.node.isBlock(a)?"HR"===a.tagName?f(a.nextSibling,c,d):f(a.firstChild,c,d):f(a,c,d))}g.is(":empty")&&g.remove()}}}function m(d,h){"undefined"===typeof h&&(h={});h.style&&delete h.style;if(b.selection.isCollapsed())b.markers.insert(),
b.$el.find(".fr-marker").replaceWith(c(d,h)+a.INVISIBLE_SPACE+a.MARKERS+"</".concat(d,">"));else{b.selection.save();var x=b.$el.find('.fr-marker[data-type="true"]').length&&b.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling;f(x,d,h);do{var l=b.$el.find("".concat(g(d,h)," > ").concat(g(d,h)));for(x=0;x<l.length;x++)l[x].outerHTML=l[x].innerHTML}while(l.length);b.el.normalize();l=b.el.querySelectorAll(".fr-marker");for(x=0;x<l.length;x++){var q=A(l[x]);!0===q.data("type")?e(q.get(0).nextSibling,
g(d,h))&&q.next().prepend(q):e(q.get(0).previousSibling,g(d,h))&&q.prev().append(q)}}b.selection.restore()}function J(a,c,d,l){if(!l){l=!1;if(!0===a.data("type"))for(;b.node.isFirstSibling(a.get(0))&&!a.parent().is(b.$el)&&!a.parent().is("ol")&&!a.parent().is("ul");)a.parent().before(a),l=!0;else if(!1===a.data("type"))for(;b.node.isLastSibling(a.get(0))&&!a.parent().is(b.$el)&&!a.parent().is("ol")&&!a.parent().is("ul");)a.parent().after(a),l=!0;if(l)return!0}if(a.parents(c).length||"undefined"===
typeof c){var q="",f="";l=a.parent();if(l.is(b.$el)||b.node.isBlock(l.get(0)))return!1;for(;!(b.node.isBlock(l.parent().get(0))||"undefined"!==typeof c&&e(l.get(0),g(c,d)));)q+=b.node.closeTagString(l.get(0)),f=b.node.openTagString(l.get(0))+f,l=l.parent();c=a.get(0).outerHTML;a.replaceWith('<span id="mark"></span>');a=l.html().replace(/<span id="mark"><\/span>/,q+b.node.closeTagString(l.get(0))+f+c+q+b.node.openTagString(l.get(0))+f);l.replaceWith(b.node.openTagString(l.get(0))+a+b.node.closeTagString(l.get(0)));
return!0}return!1}function k(a,c,d,l){for(var q={strong:{prop:"font-weight",val:"bold"},em:{prop:"font-style",val:"italic"}},f=b.node.contents(a.get(0)),x=0;x<f.length;x++){var E=f[x];E.innerHTML&&8203==E.innerHTML.charCodeAt()&&E.tagName.toLocaleLowerCase()==d&&2>E.childNodes.length&&!b.helpers.isMobile()&&(E.outerHTML=E.innerHTML);if(b.node.hasClass(E,"fr-marker"))c=(c+1)%2;else if(c)if(0<A(E).find(".fr-marker").length)c=k(A(E),c,d,l);else{(a="LI"===E.tagName?E:A(E).parentsUntil(b.$el,"li").get(0))&&
("undefined"===typeof d||0<=["strong","em"].indexOf(d))&&(d?A(a).css(q[d].prop,""):a.style="");(a=E.parentNode!==b.el?E.parentNode:null)&&1===a.nodeType&&"a"!==d&&a.hasAttribute("style")&&"SPAN"!==a.tagName&&"LI"!==a.tagName?a.style="":E&&1===E.nodeType&&"a"!==d&&E.hasAttribute("style")&&(E.style="");for(var h=A(E).find(d||"*:not(br)"),m=h.length-1;0<=m;m--){var u=h[m];(a="LI"===u.tagName?u:A(u).parentsUntil(b.$el,"li").get(0))&&(!d||0<=["strong","em"].indexOf(d))&&(d?A(a).css(q[d].prop,""):a.style=
"");b.node.isBlock(u)||b.node.isVoid(u)||"undefined"!==typeof d&&!e(u,g(d,l))?b.node.isBlock(u)&&"undefined"===typeof d&&"TABLE"!==E.tagName&&b.node.clearAttributes(u):b.node.hasClass(u,"fr-clone")||b.node.hasClass(u,"fr-tracking-deleted")||A(u).data("tracking")||(u.outerHTML=u.innerHTML)}"undefined"===typeof d&&E.nodeType===Node.ELEMENT_NODE&&!b.node.isVoid(E)||e(E,g(d,l))?b.node.isBlock(E)||(b.node.hasClass(E,"fr-clone")||b.opts.trackChangesEnabled?!b.node.hasClass(E,"fr-clone")&&b.opts.trackChangesEnabled&&
E.parentNode&&(E.outerHTML=E.innerHTML):E.outerHTML=E.innerHTML):"undefined"===typeof d&&E.nodeType===Node.ELEMENT_NODE&&b.node.isBlock(E)&&"TABLE"!==E.tagName&&b.node.clearAttributes(E)}else 0<A(E).find(".fr-marker").length&&(c=k(A(E),c,d,l))}return c}function aa(c,d){"undefined"===typeof d&&(d={});d.style&&delete d.style;var f=b.selection.isCollapsed();b.selection.save();for(var l=!0;l;){l=!1;for(var q=b.$el.find(".fr-marker"),g=0;g<q.length;g++){var e=A(q[g]),E=null;e.attr("data-cloned")||f||(E=
e.clone().removeClass("fr-marker").addClass("fr-clone"),e.data("type")&&"true"===e.data("type").toString()?e.attr("data-cloned",!0).after(E):e.attr("data-cloned",!0).before(E));if(J(e,c,d,f)){l=!0;break}}}k(b.$el,0,c,d);f||(b.$el.find(".fr-marker").remove(),b.$el.find(".fr-clone").removeClass("fr-clone").addClass("fr-marker"));f&&b.$el.find(".fr-marker").before(a.INVISIBLE_SPACE).after(a.INVISIBLE_SPACE);b.html.cleanEmptyTags();b.el.normalize();b.selection.restore();if(c=b.win.getSelection()&&b.win.getSelection().anchorNode)if(d=
b.node.blockParent(c),f=c.textContent.replace(/\u200B/g,"").length?!0:!1,q=b.win.getSelection().getRangeAt(0),l=q.startOffset,q=q.endOffset,b.selection.text().replace(/\u200B/g,"").length||z(d,c),d=b.win.getSelection().getRangeAt(0),c.nodeType===Node.TEXT_NODE){if(!f||!b.selection.text().length&&l===q){var h=c.textContent.search(/\u200B/g)+1;b.browser.msie?(d=b.doc.createRange(),b.selection.get().removeAllRanges(),d.setStart(c,h),d.setEnd(c,h),b.selection.get().addRange(d)):(d.setStart(c,h),d.setEnd(c,
h))}}else{f=0;l=A(c).contents();if(b.browser.msie){for(;c=l[f];)c.nodeType===Node.TEXT_NODE&&0<=c.textContent.search(/\u200B/g)&&(h=c),f++;h=A(h)}else h=l.filter(function(b){return b.nodeType===Node.TEXT_NODE&&0<=b.textContent.search(/\u200B/g)});h.length&&!b.opts.trackChangesEnabled&&(c=h.text().search(/\u200B/g)+1,d.setStart(h.get(0),c),d.setEnd(h.get(0),c))}}function z(b,a){if(b&&a)if(b.isSameNode(a)?b.textContent=b.textContent.replace(/\u200B(?=.*\u200B)/g,""):b.nodeType===Node.TEXT_NODE&&(b.textContent=
b.textContent.replace(/\u200B/g,"")),b.childNodes.length)Array.isArray(b.childNodes)&&b.childNodes.forEach(function(b){z(b,a)});else return!1}function C(b,a){b=A(b);b.css(a,"");""===b.attr("style")&&b.replaceWith(b.html())}function n(b,a){return 0===A(b).attr("style").indexOf("".concat(a,":"))||0<=A(b).attr("style").indexOf(";".concat(a,":"))||0<=A(b).attr("style").indexOf("; ".concat(a,":"))}function H(c,d){var g=null;if(b.selection.isCollapsed()){b.markers.insert();var l=b.$el.find(".fr-marker");
var q=l.parent();b.node.openTagString(q.get(0))==='<span style="'.concat(c,": ").concat(q.css(c),';">')?(b.node.isEmpty(q.get(0))?(g=A(b.doc.createElement("span")).attr("style","".concat(c,": ").concat(d,";")).html("".concat(a.INVISIBLE_SPACE).concat(a.MARKERS)),q.replaceWith(g)):(q={},q["style*"]="".concat(c,":"),J(l,"span",q,!0),l=b.$el.find(".fr-marker"),d?(g=A(b.doc.createElement("span")).attr("style","".concat(c,": ").concat(d,";")).html("".concat(a.INVISIBLE_SPACE).concat(a.MARKERS)),l.replaceWith(g)):
l.replaceWith(a.INVISIBLE_SPACE+a.MARKERS)),b.html.cleanEmptyTags()):b.node.isEmpty(q.get(0))&&q.is("span")?(l.replaceWith(a.MARKERS),q.css(c,d)):(g=A('<span style="'.concat(c,": ").concat(d,';">').concat(a.INVISIBLE_SPACE).concat(a.MARKERS,"</span>")),l.replaceWith(g));g&&t(g,c,d)}else{b.selection.save();if(null===d||"color"===c&&0<b.$el.find(".fr-marker").parents("u, a").length)for(g=b.$el.find(".fr-marker"),q=0;q<g.length;q++)if(l=A(g[q]),!0===l.data("type")||"true"===l.data("type"))for(;b.node.isFirstSibling(l.get(0))&&
!l.parent().is(b.$el)&&!b.node.isElement(l.parent().get(0))&&!b.node.isBlock(l.parent().get(0));)l.parent().before(l);else for(;b.node.isLastSibling(l.get(0))&&!l.parent().is(b.$el)&&!b.node.isElement(l.parent().get(0))&&!b.node.isBlock(l.parent().get(0));)l.parent().after(l);for(g=b.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling;g.firstChild;)g=g.firstChild;l={"class":"fr-unprocessed"};d&&(l.style="".concat(c,": ").concat(d,";"));f(g,"span",l);b.$el.find(".fr-marker + .fr-unprocessed").each(function(){A(this).prepend(A(this).prev())});
b.$el.find(".fr-unprocessed + .fr-marker").each(function(){A(this).prev().append(A(this))});for((d||"").match(/\dem$/)&&b.$el.find("span.fr-unprocessed").removeClass("fr-unprocessed");0<b.$el.find("span.fr-unprocessed").length;){g=b.$el.find("span.fr-unprocessed").first().removeClass("fr-unprocessed");l=w(g);g.parent().get(0).normalize();g.parent().is("span")&&1===g.parent().get(0).childNodes.length&&(q=d,b.browser.msie&&!d&&(q=""),g.parent().css(c,q),q=g,g=g.parent(),q.replaceWith(q.html()));var e=
g.find("span");l&&"background-color"!==c&&(l.normalize(),e=A(l).find("span:not(.fr-unprocessed)"));for(q=e.length-1;0<=q;q--)C(e[q],c);t(g,c,d)}}v()}function w(a){if(a="LI"===a.tagName?a:A(a).parentsUntil(b.$el,"li").get(0)){var c=b.selection.info(a);if(c.atStart&&c.atEnd)return a;if(c.atStart&&!c.atEnd){var d=A(a).find(".fr-marker[data-type=false]").get(0);c=A(d).parentsUntil(b.$el,"li").get(0);var l=A(d).parent().get(0);if((d=d.nextSibling)&&0<=["UL","OL"].indexOf(d.tagName)||!c.isSameNode(a)||
!d&&("LI"===l.tagName||!l.nextSibling||0<=["UL","OL"].indexOf(l.nextSibling.tagName)||b.node.isVoid(l.nextSibling)))return a}}}function t(a,c,d){var l,q=a.parentsUntil(b.$el,"span[style]"),f=[];for(l=q.length-1;0<=l;l--)n(q[l],c)||f.push(q[l]);q=q.not(f);if(q.length){var g=f=l="",e="",h=a.get(0);do h=h.parentNode,A(h).addClass("fr-split"),l+=b.node.closeTagString(h),f=b.node.openTagString(A(h).clone().addClass("fr-split").get(0))+f,q.get(0)!==h&&(g+=b.node.closeTagString(h),e=b.node.openTagString(A(h).clone().addClass("fr-split").get(0))+
e);while(q.get(0)!==h);var x="".concat(l+b.node.openTagString(A(q.get(0)).clone().css(c,d||"").get(0))+e+a.css(c,"").get(0).outerHTML+g,"</span>").concat(f);a.replaceWith('<span id="fr-break"></span>');a=q.get(0).outerHTML;A(q.get(0)).replaceWith(a.replace(/<span id="fr-break"><\/span>/g,function(){return x}))}}function v(){for(var a;0<b.$el.find(".fr-split:empty").length;)b.$el.find(".fr-split:empty").remove();b.$el.find(".fr-split").removeClass("fr-split");b.$el.find('[style=""]').removeAttr("style");
b.$el.find('[class=""]').removeAttr("class");b.html.cleanEmptyTags();a=b.$el.find("span");for(var c=a.length-1;0<=c;c--){var d=a[c];d.attributes&&0!==d.attributes.length||A(d).replaceWith(d.innerHTML)}b.el.normalize();c=b.$el.find("span[style] + span[style]");for(a=0;a<c.length;a++){d=A(c[a]);var l=A(c[a]).prev();d.get(0).previousSibling===l.get(0)&&b.node.openTagString(d.get(0))===b.node.openTagString(l.get(0))&&(d.prepend(l.html()),l.remove())}b.$el.find("span[style] span[style]").each(function(){if(0<=
A(this).attr("style").indexOf("font-size")){var b=A(this).parents("span[style]");b.attr("style")&&0<=b.attr("style").indexOf("background-color")&&(A(this).attr("style","".concat(A(this).attr("style"),";").concat(b.attr("style"))),J(A(this),"span[style]",{},!1))}});b.el.normalize();b.selection.restore()}function F(a,c){"undefined"===typeof c&&(c={});c.style&&delete c.style;var d=b.selection.ranges(0),l=d.startContainer;l.nodeType===Node.ELEMENT_NODE&&0<l.childNodes.length&&l.childNodes[d.startOffset]&&
(l=l.childNodes[d.startOffset]);if(!d.collapsed&&l.nodeType===Node.TEXT_NODE&&d.startOffset===(l.textContent||"").length){for(;!b.node.isBlock(l.parentNode)&&!l.nextSibling;)l=l.parentNode;l.nextSibling&&(l=l.nextSibling)}for(d=l;d&&d.nodeType===Node.ELEMENT_NODE&&!e(d,g(a,c));)d=d.firstChild;if(d&&d.nodeType===Node.ELEMENT_NODE&&e(d,g(a,c)))return!0;l&&l.nodeType!==Node.ELEMENT_NODE&&(l=l.parentNode);for(;l&&l.nodeType===Node.ELEMENT_NODE&&l!==b.el&&!e(l,g(a,c));)l=l.parentNode;return l&&l.nodeType===
Node.ELEMENT_NODE&&l!==b.el&&e(l,g(a,c))?!0:!1}var A=b.$;return{is:F,toggle:function(b,a){F(b,a)?aa(b,a):m(b,a)},apply:m,remove:aa,applyStyle:H,removeStyle:function(b){H(b,null)}}};a.MODULES.spaces=function(b){function c(c,d){var f=c.previousSibling,g=c.nextSibling,e=c.textContent,h=c.parentNode,u=["P","DIV","BR"],C=[a.ENTER_P,a.ENTER_DIV,a.ENTER_BR];if(!b.html.isPreformatted(h)){if(d){e=e.replace(/[\f\n\r\t\v ]{2,}/g," ");g&&"BR"!==g.tagName&&!b.node.isBlock(g)||!(b.node.isBlock(h)||b.node.isLink(h)&&
!h.nextSibling||b.node.isElement(h))||(e=e.replace(/[\f\n\r\t\v ]{1,}$/g,""));f&&"BR"!==f.tagName&&!b.node.isBlock(f)||!(b.node.isBlock(h)||b.node.isLink(h)&&!h.previousSibling||b.node.isElement(h))||(e=e.replace(/^[\f\n\r\t\v ]{1,}/g,""));if(b.node.isBlock(g)||b.node.isBlock(f))if(!f||f&&"A"!==f.tagName)e=e.replace(/^[\f\n\r\t\v ]{1,}/g,"");" "!==e||!(f&&b.node.isVoid(f)||g&&b.node.isVoid(g))||f&&g&&b.node.isVoid(f)||g&&f&&b.node.isVoid(g)||(e="")}(!f&&b.node.isBlock(g)||!g&&b.node.isBlock(f))&&
b.node.isBlock(h)&&h!==b.el&&(e=e.replace(/^[\f\n\r\t\v ]{1,}/g,""));d||(e=e.replace(new RegExp(a.UNICODE_NBSP,"g")," "));h="";for(var k=0;k<e.length;k++)h=32!=e.charCodeAt(k)||0!==k&&32!=h.charCodeAt(k-1)||!((b.opts.enter===a.ENTER_BR||b.opts.enter===a.ENTER_DIV)&&(f&&"BR"===f.tagName||g&&"BR"===g.tagName)||f&&g&&f.tagName===g.tagName||!(f&&g&&b.node.isVoid(f)||f&&g&&b.node.isVoid(g))||f&&g&&0<=["STRONG","U","EM"].indexOf(f.tagName)&&"BR"===g.tagName)?h+e[k]:h+a.UNICODE_NBSP;b.browser.chrome&&1<
h.length&&32===h.charCodeAt(h.length-1)&&(g&&g.nextSibling&&g.nextSibling.nextSibling&&"BR"===g.nextSibling.nextSibling.tagName||g&&"BR"===g.tagName)&&(h=h.substring(0,h.length-1)+a.UNICODE_NBSP);if(!g||g&&b.node.isBlock(g)||g&&g.nodeType===Node.ELEMENT_NODE&&b.win.getComputedStyle(g)&&"block"===b.win.getComputedStyle(g).display)if(!b.node.isVoid(f)||f&&-1!==u.indexOf(f.tagName)&&-1!==C.indexOf(b.opts.enter))h=h.replace(/ $/,a.UNICODE_NBSP);!f||b.node.isVoid(f)||b.node.isBlock(f)||(h=h.replace(/^\u00A0([^ $])/,
" $1"),1!==h.length||160!==h.charCodeAt(0)||!g||b.node.isVoid(g)||b.node.isBlock(g)||b.node.hasClass(f,"fr-marker")&&b.node.hasClass(g,"fr-marker")||(h=" "));d||(h=h.replace(/([^ \u00A0])\u00A0([^ \u00A0])/g,"$1 $2"));c.textContent!==h&&(c.textContent=h)}}function g(a,d){"undefined"!==typeof a&&a||(a=b.el);"undefined"===typeof d&&(d=!1);if(!a.getAttribute||"false"!==a.getAttribute("contenteditable"))if(a.nodeType===Node.TEXT_NODE)c(a,d);else if(a.nodeType===Node.ELEMENT_NODE)for(a=b.doc.createTreeWalker(a,
NodeFilter.SHOW_TEXT,b.node.filter(function(a){for(var c=a.parentNode;c&&c!==b.el;)if("STYLE"!==c.tagName&&"IFRAME"!==c.tagName&&"PRE"!==c.tagName)c=c.parentNode;else return!1;return null!==a.textContent.match(/([ \u00A0\f\n\r\t\v]{2,})|(^[ \u00A0\f\n\r\t\v]{1,})|([ \u00A0\f\n\r\t\v]{1,}$)/g)&&!b.node.hasClass(a.parentNode,"fr-marker")}),!1);a.nextNode();)c(a.currentNode,d)}return{normalize:g,normalizeAroundCursor:function(){for(var a=[],c=b.el.querySelectorAll(".fr-marker"),d=0;d<c.length;d++){var e=
(e=b.node.blockParent(c[d]))?e:c[d];for(var h=e.nextSibling,k=e.previousSibling;h&&"BR"===h.tagName;)h=h.nextSibling;for(;k&&"BR"===k.tagName;)k=k.previousSibling;e&&0>a.indexOf(e)&&a.push(e);k&&0>a.indexOf(k)&&a.push(k);h&&0>a.indexOf(h)&&a.push(h)}for(c=0;c<a.length;c++)g(a[c])}}};a.INVISIBLE_SPACE="​";a.START_MARKER='<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;">'.concat(a.INVISIBLE_SPACE,"</span>");a.END_MARKER='<span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;">'.concat(a.INVISIBLE_SPACE,
"</span>");a.MARKERS=a.START_MARKER+a.END_MARKER;a.MODULES.markers=function(b){function c(c,d){var g=f(b.doc.createElement("SPAN"));g.addClass("fr-marker").attr("data-id",d).attr("data-type",c).attr("style","display: ".concat(b.browser.safari?"none":"inline-block","; line-height: 0;")).html(a.INVISIBLE_SPACE);return g.get(0)}function g(){if(!b.$wp)return null;try{var c=b.selection.ranges(0),d=c.commonAncestorContainer;if(d!==b.el&&!b.$el.contains(d))return null;var g=c.cloneRange(),e=c.cloneRange();
g.collapse(!0);var h=f(b.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(a.INVISIBLE_SPACE).get(0);g.insertNode(h);if(h=b.$el.find("span.fr-marker").get(0)){for(var u=h.nextSibling;u&&u.nodeType===Node.TEXT_NODE&&0===u.textContent.length;)f(u).remove(),u=b.$el.find("span.fr-marker").get(0).nextSibling;b.selection.clear();b.selection.get().addRange(e);return h}return null}catch(da){console.warn("MARKER",da)}}function e(){b.$el.find(".fr-marker").remove()}
var f=b.$;return{place:function(a,d,g){var e;try{var h=a.cloneRange();h.collapse(d);h.insertNode(c(d,g));if(!0===d){var m=b.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(g,'"]')).get(0);for(e=m.nextSibling;e&&e.nodeType===Node.TEXT_NODE&&0===e.textContent.length;)f(e).remove(),e=m.nextSibling}if(!0===d&&!a.collapsed){for(;!b.node.isElement(m.parentNode)&&!e;)-1</\bfa\b/g.test(m.parentNode.className)&&"I"===m.parentNode.tagName?f(m.parentNode).before(m):f(m.parentNode).after(m),e=m.nextSibling;
if(e&&e.nodeType===Node.ELEMENT_NODE&&b.node.isBlock(e)&&"HR"!==e.tagName){var u=[e];do e=u[0],u=b.node.contents(e);while(u[0]&&b.node.isBlock(u[0]));f(e).prepend(f(m))}}if(!1===d&&!a.collapsed){m=b.$el.find('span.fr-marker[data-type="false"][data-id="'.concat(g,'"]')).get(0);if((e=m.previousSibling)&&e.nodeType===Node.ELEMENT_NODE&&b.node.isBlock(e)&&"HR"!==e.tagName){u=[e];do e=u[u.length-1],u=b.node.contents(e);while(u[u.length-1]&&b.node.isBlock(u[u.length-1]));f(e).append(f(m))}if(m.parentNode&&
0<=["TD","TH"].indexOf(m.parentNode.tagName)||!m.previousSibling&&b.node.isBlock(m.parentElement))m.parentNode.previousSibling&&!m.previousSibling?f(m.parentNode.previousSibling).append(m):0<=["TD","TH"].indexOf(m.parentNode.tagName)&&m.parentNode.firstChild===m&&(m.parentNode.previousSibling?f(m.parentNode.previousSibling).append(m):m.parentNode.parentNode&&m.parentNode.parentNode.previousSibling&&f(m.parentNode.parentNode.previousSibling).append(m))}var J=b.$el.find('span.fr-marker[data-type="'.concat(d,
'"][data-id="').concat(g,'"]')).get(0);J&&(J.style.display="none");return J}catch(ua){return null}},insert:g,split:function(){b.selection.isCollapsed()||b.selection.remove();var a=b.$el.find(".fr-marker").get(0);a||(a=g());if(!a)return null;var c=b.node.deepestParent(a);c||(c=b.node.blockParent(a))&&"LI"!==c.tagName&&(c=null);if(c)if(b.node.isBlock(c)&&b.node.isEmpty(c))"LI"!==c.tagName||c.parentNode.firstElementChild!==c||b.node.isEmpty(c.parentNode)?f(c).replaceWith('<span class="fr-marker"></span>'):
f(c).append('<span class="fr-marker"></span>');else if(b.cursor.isAtStart(a,c))f(c).before('<span class="fr-marker"></span>'),f(a).remove();else if(b.cursor.isAtEnd(a,c))f(c).after('<span class="fr-marker"></span>'),f(a).remove();else{var d=a,e="",h="";do d=d.parentNode,e+=b.node.closeTagString(d),h=b.node.openTagString(d)+h;while(d!==c);f(a).replaceWith('<span id="fr-break"></span>');a=b.node.openTagString(c)+f(c).html()+b.node.closeTagString(c);a=a.replace(/<span id="fr-break"><\/span>/g,"".concat(e,
'<span class="fr-marker"></span>').concat(h));f(c).replaceWith(a)}return b.$el.find(".fr-marker").get(0)},insertAtPoint:function(a){var c=a.clientX,d=a.clientY;e();a=null;if("undefined"!==typeof b.doc.caretPositionFromPoint){var f=b.doc.caretPositionFromPoint(c,d);a=b.doc.createRange();a.setStart(f.offsetNode,f.offset);a.setEnd(f.offsetNode,f.offset)}else"undefined"!==typeof b.doc.caretRangeFromPoint&&(f=b.doc.caretRangeFromPoint(c,d),a=b.doc.createRange(),a.setStart(f.startContainer,f.startOffset),
a.setEnd(f.startContainer,f.startOffset));if(null!==a&&"undefined"!==typeof b.win.getSelection)c=b.win.getSelection(),c.removeAllRanges(),c.addRange(a);else if("undefined"!==typeof b.doc.body.createTextRange)try{a=b.doc.body.createTextRange();a.moveToPoint(c,d);var h=a.duplicate();h.moveToPoint(c,d);a.setEndPoint("EndToEnd",h);a.select()}catch(C){return!1}g()},remove:e}};a.MODULES.selection=function(b){function c(){var a="";b.win.getSelection?a=b.win.getSelection():b.doc.getSelection?a=b.doc.getSelection():
b.doc.selection&&(a=b.doc.selection.createRange().text);return a.toString()}function g(){return b.win.getSelection?b.win.getSelection():b.doc.getSelection?b.doc.getSelection():b.doc.selection.createRange()}function e(a){var c=g();if(c&&c.getRangeAt&&c.rangeCount){var d=[];for(var f=0;f<c.rangeCount;f++)d.push(c.getRangeAt(f))}else d=b.doc.createRange?[b.doc.createRange()]:[];return"undefined"!==typeof a?d[a]:d}function f(){var b=g();try{b.removeAllRanges?b.removeAllRanges():b.empty?b.empty():b.clear&&
b.clear()}catch(l){}}function m(b,a){b.nodeType===Node.ELEMENT_NODE&&0<b.childNodes.length&&b.childNodes[a]&&(b=b.childNodes[a]);b.nodeType===Node.TEXT_NODE&&(b=b.parentNode);return b}function J(){if(b.$wp){b.markers.remove();var a=e(),c=[],d;for(d=0;d<a.length;d++)if(a[d].startContainer!==b.doc||b.browser.msie){var f=a[d];var g=f.collapsed,h=b.markers.place(f,!0,d),m=b.markers.place(f,!1,d);"undefined"!==typeof h&&h||!g||(p(".fr-marker").remove(),b.selection.setAtEnd(b.el));b.el.normalize();if(b.browser.safari&&
!g)try{f=b.doc.createRange(),f.setStartAfter(h),f.setEndBefore(m),c.push(f)}catch(W){}}if(b.browser.safari&&c.length)for(b.selection.clear(),d=0;d<c.length;d++)b.selection.get().addRange(c[d])}}function k(){var a,c=b.el.querySelectorAll('.fr-marker[data-type="true"]');if(!b.$wp)return b.markers.remove(),!1;if(0===c.length)return!1;if(b.browser.msie||b.browser.edge)for(a=0;a<c.length;a++)c[a].style.display="inline-block";b.core.hasFocus()||b.browser.msie||b.browser.webkit||b.$el.focus();f();var d=
g();for(a=0;a<c.length;a++){var e=p(c[a]).data("id"),h=c[a],E=b.doc.createRange();e=b.$el.find('.fr-marker[data-type="false"][data-id="'.concat(e,'"]'));(b.browser.msie||b.browser.edge)&&e.css("display","inline-block");var m=null;if(0<e.length){e=e[0];try{for(var u=!1,pa=h.nextSibling,P=null;pa&&pa.nodeType===Node.TEXT_NODE&&0===pa.textContent.length;)P=pa,pa=pa.nextSibling,p(P).remove();for(var J=e.nextSibling;J&&J.nodeType===Node.TEXT_NODE&&0===J.textContent.length;)P=J,J=J.nextSibling,p(P).remove();
if(h.nextSibling===e||e.nextSibling===h){for(var t=h.nextSibling===e?h:e,k=t===h?e:h,C=t.previousSibling;C&&C.nodeType===Node.TEXT_NODE&&0===C.length;)P=C,C=C.previousSibling,p(P).remove();if(C&&C.nodeType===Node.TEXT_NODE)for(;C&&C.previousSibling&&C.previousSibling.nodeType===Node.TEXT_NODE;)C.previousSibling.textContent+=C.textContent,C=C.previousSibling,p(C.nextSibling).remove();for(var n=k.nextSibling;n&&n.nodeType===Node.TEXT_NODE&&0===n.length;)P=n,n=n.nextSibling,p(P).remove();if(n&&n.nodeType===
Node.TEXT_NODE)for(;n&&n.nextSibling&&n.nextSibling.nodeType===Node.TEXT_NODE;)n.nextSibling.textContent=n.textContent+n.nextSibling.textContent,n=n.nextSibling,p(n.previousSibling).remove();C&&(b.node.isVoid(C)||b.node.isBlock(C))&&(C=null);n&&(b.node.isVoid(n)||b.node.isBlock(n))&&(n=null);if(C&&n&&C.nodeType===Node.TEXT_NODE&&n.nodeType===Node.TEXT_NODE){p(h).remove();p(e).remove();var U=C.textContent.length;C.textContent+=n.textContent;p(n).remove();b.spaces.normalize(C);E.setStart(C,U);E.setEnd(C,
U);u=!0}else!C&&n&&n.nodeType===Node.TEXT_NODE?(p(h).remove(),p(e).remove(),b.opts.htmlUntouched||b.spaces.normalize(n),m=p(b.doc.createTextNode("\u200b")).get(0),p(n).before(m),E.setStart(n,0),E.setEnd(n,0),u=!0):!n&&C&&C.nodeType===Node.TEXT_NODE&&(p(h).remove(),p(e).remove(),b.opts.htmlUntouched||b.spaces.normalize(C),m=p(b.doc.createTextNode("\u200b")).get(0),p(C).after(m),E.setStart(C,C.textContent.length),E.setEnd(C,C.textContent.length),u=!0)}u||(P=u=void 0,(b.browser.chrome||b.browser.edge)&&
h.nextSibling===e?(u=z(e,E,!0)||E.setStartAfter(e),P=z(h,E,!1)||E.setEndBefore(h)):(h.previousSibling===e&&(h=e,e=h.nextSibling),e.nextSibling&&"BR"===e.nextSibling.tagName||!e.nextSibling&&b.node.isBlock(h.previousSibling)||h.previousSibling&&"BR"===h.previousSibling.tagName||(h.style.display="inline",e.style.display="inline",m=p(b.doc.createTextNode("\u200b")).get(0)),u=z(h,E,!0)||p(h).before(m)&&E.setStartBefore(h),P=z(e,E,!1)||p(e).after(m)&&E.setEndAfter(e)),"function"===typeof u&&u(),"function"===
typeof P&&P())}catch(ja){console.warn("RESTORE RANGE",ja)}}m&&p(m).remove();try{d.addRange(E)}catch(ja){console.warn("ADD RANGE",ja)}}b.markers.remove()}function z(a,c,d){var f=a.previousSibling,l=a.nextSibling;if(f&&l&&f.nodeType===Node.TEXT_NODE&&l.nodeType===Node.TEXT_NODE){var q=f.textContent.length;if(d)return l.textContent=f.textContent+l.textContent,p(f).remove(),p(a).remove(),b.opts.htmlUntouched||b.spaces.normalize(l),function(){c.setStart(l,q)};f.textContent+=l.textContent;p(l).remove();
p(a).remove();b.opts.htmlUntouched||b.spaces.normalize(f);return function(){c.setEnd(f,q)}}if(f&&!l&&f.nodeType===Node.TEXT_NODE){q=f.textContent.length;if(d)return b.opts.htmlUntouched||b.spaces.normalize(f),function(){c.setStart(f,q)};b.opts.htmlUntouched||b.spaces.normalize(f);return function(){c.setEnd(f,q)}}if(l&&!f&&l.nodeType===Node.TEXT_NODE){if(d)return b.opts.htmlUntouched||b.spaces.normalize(l),function(){c.setStart(l,0)};b.opts.htmlUntouched||b.spaces.normalize(l);return function(){c.setEnd(l,
0)}}return!1}function n(){for(var a=b.$el.find(".fr-marker"),c=0;c<a.length;c++)if(p(a[c]).parentsUntil('.fr-element, [contenteditable="true"]','[contenteditable="false"]').length)return!1;return!0}function C(){for(var b=e(),a=0;a<b.length;a++)if(!b[a].collapsed)return!1;return!0}function H(a){var c=!1,d=!1;if(b.win.getSelection){var f=b.win.getSelection();f.rangeCount&&(d=f.getRangeAt(0),f=d.cloneRange(),f.selectNodeContents(a),f.setEnd(d.startContainer,d.startOffset),c=w(f),f.selectNodeContents(a),
f.setStart(d.endContainer,d.endOffset),d=w(f))}else b.doc.selection&&"Control"!==b.doc.selection.type&&(d=b.doc.selection.createRange(),f=d.duplicate(),f.moveToElementText(a),f.setEndPoint("EndToStart",d),c=w(f),f.moveToElementText(a),f.setEndPoint("StartToEnd",d),d=w(f));return{atStart:c,atEnd:d}}function w(b){return""===b.toString().replace(/[\u200B-\u200D\uFEFF]/g,"")}function v(a,c){"undefined"===typeof c&&(c=!0);var d=p(a).html();d&&d.replace(/\u200b/g,"").length!==d.length&&p(a).html(d.replace(/\u200b/g,
""));d=b.node.contents(a);for(var f=0;f<d.length;f++)d[f].nodeType!==Node.ELEMENT_NODE?p(d[f]).remove():(v(d[f],0===f),0===f&&(c=!1));a.nodeType===Node.TEXT_NODE?(c=p(document.createElement("span")).attr("data-first","true").attr("data-text","true"),p(a)[0].replaceWith(c[0])):c&&p(a).attr("data-first",!0)}function t(){return 0===p(this).find("fr-inner").length}function F(a,c){var d=b.node.contents(a.get(0));0<=["TD","TH"].indexOf(a.get(0).tagName)&&1===a.find(".fr-marker").length&&(b.node.hasClass(d[0],
"fr-marker")||"BR"==d[0].tagName&&b.node.hasClass(d[0].nextElementSibling,"fr-marker"))&&a.attr("data-del-cell",!0);for(a=0;a<d.length;a++){var f=d[a];b.node.hasClass(f,"fr-marker")?c=(c+1)%2:c?0<p(f).find(".fr-marker").length?c=F(p(f),c):0>["TD","TH"].indexOf(f.tagName)&&!b.node.hasClass(f,"fr-inner")?!b.opts.keepFormatOnDelete||0<b.$el.find("[data-first]").length||b.node.isVoid(f)?p(f).remove():v(f):b.node.hasClass(f,"fr-inner")?0===p(f).find(".fr-inner").length?p(f).html("<br>"):p(f).find(".fr-inner").filter(t).html("<br>"):
(p(f).empty(),p(f).attr("data-del-cell",!0)):0<p(f).find(".fr-marker").length&&(c=F(p(f),c))}return c}function r(){try{if(!b.$wp)return!1;for(var a=e(0).commonAncestorContainer;a&&!b.node.isElement(a);)a=a.parentNode;return b.node.isElement(a)?!0:!1}catch(l){return!1}}function A(c,d){if(!c||0<c.getElementsByClassName("fr-marker").length)return!1;for(var f=c.firstChild;f&&(b.node.isBlock(f)||d&&!b.node.isVoid(f)&&f.nodeType===Node.ELEMENT_NODE);)c=f,f=f.firstChild;c.innerHTML=a.MARKERS+c.innerHTML}
function M(c,d){if(!c||0<c.getElementsByClassName("fr-marker").length)return!1;for(var f=c.lastChild;f&&(b.node.isBlock(f)||d&&!b.node.isVoid(f)&&f.nodeType===Node.ELEMENT_NODE);)c=f,f=f.lastChild;d=b.doc.createElement("SPAN");d.setAttribute("id","fr-sel-markers");for(d.innerHTML=a.MARKERS;c.parentNode&&b.opts.htmlAllowedEmptyTags&&0<=b.opts.htmlAllowedEmptyTags.indexOf(c.tagName.toLowerCase());)c=c.parentNode;c.appendChild(d);c=c.querySelector("#fr-sel-markers");c.outerHTML=c.innerHTML}var p=b.$;
return{text:c,get:g,ranges:e,clear:f,element:function(){var a=g();try{if(a.rangeCount){var d=e(0),f=d.startContainer,h;if(b.node.isElement(f)&&0===d.startOffset&&f.childNodes.length)for(;f.childNodes.length&&f.childNodes[0].nodeType===Node.ELEMENT_NODE;)f=f.childNodes[0];f.nodeType===Node.TEXT_NODE&&d.startOffset===(f.textContent||"").length&&f.nextSibling&&(f=f.nextSibling);if(f.nodeType===Node.ELEMENT_NODE){a=!1;if(0<f.childNodes.length&&f.childNodes[d.startOffset]){for(h=f.childNodes[d.startOffset];h&&
h.nodeType===Node.TEXT_NODE&&0===h.textContent.length;)h=h.nextSibling;h&&h.textContent.replace(/\u200B/g,"")===c().replace(/\u200B/g,"")&&(f=h,a=!0);if(!a&&1<f.childNodes.length&&0<d.startOffset&&f.childNodes[d.startOffset-1]){for(h=f.childNodes[d.startOffset-1];h&&h.nodeType===Node.TEXT_NODE&&0===h.textContent.length;)h=h.nextSibling;h&&h.textContent.replace(/\u200B/g,"")===c().replace(/\u200B/g,"")&&(f=h,a=!0)}}else!d.collapsed&&f.nextSibling&&f.nextSibling.nodeType===Node.ELEMENT_NODE&&(h=f.nextSibling)&&
h.textContent.replace(/\u200B/g,"")===c().replace(/\u200B/g,"")&&(f=h,a=!0);!a&&0<f.childNodes.length&&p(f.childNodes[0]).text().replace(/\u200B/g,"")===c().replace(/\u200B/g,"")&&0>["BR","IMG","HR"].indexOf(f.childNodes[0].tagName)&&(f=f.childNodes[0])}for(;f.nodeType!==Node.ELEMENT_NODE&&f.parentNode||f.nodeType===Node.ELEMENT_NODE&&"BR"===f.nodeName&&f.parentNode;)f=f.parentNode;for(d=f;d&&"HTML"!==d.tagName;){if(d===b.el)return f;d=p(d).parent()[0]}}}catch(S){}return b.el},endElement:function(){var a=
g();try{if(a.rangeCount){var d=e(0),f=d.endContainer,h;f.nodeType===Node.ELEMENT_NODE&&(a=!1,0<f.childNodes.length&&f.childNodes[d.endOffset]&&p(f.childNodes[d.endOffset]).text()===c()?(f=f.childNodes[d.endOffset],a=!0):!d.collapsed&&f.previousSibling&&f.previousSibling.nodeType===Node.ELEMENT_NODE?(h=f.previousSibling)&&h.textContent.replace(/\u200B/g,"")===c().replace(/\u200B/g,"")&&(f=h,a=!0):!d.collapsed&&0<f.childNodes.length&&f.childNodes[d.endOffset]&&(h=f.childNodes[d.endOffset].previousSibling,
h.nodeType===Node.ELEMENT_NODE&&h&&h.textContent.replace(/\u200B/g,"")===c().replace(/\u200B/g,"")&&(f=h,a=!0)),!a&&0<f.childNodes.length&&p(f.childNodes[f.childNodes.length-1]).text()===c()&&0>["BR","IMG","HR"].indexOf(f.childNodes[f.childNodes.length-1].tagName)&&(f=f.childNodes[f.childNodes.length-1]));f.nodeType===Node.TEXT_NODE&&0===d.endOffset&&f.previousSibling&&f.previousSibling.nodeType===Node.ELEMENT_NODE&&(f=f.previousSibling);for(;f.nodeType!==Node.ELEMENT_NODE&&f.parentNode;)f=f.parentNode;
for(d=f;d&&"HTML"!==d.tagName;){if(d===b.el)return f;d=p(d).parent()[0]}}}catch(S){}return b.el},save:J,restore:k,isCollapsed:C,isFull:function(){if(C())return!1;b.selection.save();var a=b.el.querySelectorAll("td, th, img, br"),c;for(c=0;c<a.length;c++)if(a[c].nextSibling||"IMG"===a[c].tagName)a[c].innerHTML='<span class="fr-mk" style="display: none;"> </span>'.concat(a[c].innerHTML);var d=!1;a=H(b.el);a.atStart&&a.atEnd&&(d=!0);a=b.el.querySelectorAll(".fr-mk");for(c=0;c<a.length;c++)a[c].parentNode.removeChild(a[c]);
b.selection.restore();return d},inEditor:r,remove:function(){function c(b){for(b=b.previousSibling;b&&b.nodeType===Node.TEXT_NODE&&0===b.textContent.length;){var a=b;b=b.previousSibling;p(a).remove()}return b}function d(b){for(b=b.nextSibling;b&&b.nodeType===Node.TEXT_NODE&&0===b.textContent.length;){var a=b;b=b.nextSibling;p(a).remove()}return b}if(C())return!0;var f;J();var g=b.$el.find('.fr-marker[data-type="true"]');for(f=0;f<g.length;f++)for(var e=g[f];!(c(e)||b.node.isBlock(e.parentNode)||b.$el.is(e.parentNode)||
b.node.hasClass(e.parentNode,"fr-inner"));)p(e.parentNode).before(e);g=b.$el.find('.fr-marker[data-type="false"]');for(f=0;f<g.length;f++){for(e=g[f];!(d(e)||b.node.isBlock(e.parentNode)||b.$el.is(e.parentNode)||b.node.hasClass(e.parentNode,"fr-inner"));)p(e.parentNode).after(e);e.parentNode&&b.node.isBlock(e.parentNode)&&b.node.isEmpty(e.parentNode)&&!b.$el.is(e.parentNode)&&!b.node.hasClass(e.parentNode,"fr-inner")&&b.opts.keepFormatOnDelete&&p(e.parentNode).after(e)}if(n())if(F(b.$el,0),f=b.$el.find('[data-first="true"]'),
f.length)b.$el.find(".fr-marker").remove(),f.append(a.INVISIBLE_SPACE+a.MARKERS).removeAttr("data-first"),f.attr("data-text")&&f.replaceWith(f.html());else for(b.$el.find("table").filter(function(){return 0<p(this).find("[data-del-cell]").length&&p(this).find("[data-del-cell]").length===p(this).find("td, th").length}).remove(),b.$el.find("[data-del-cell]").removeAttr("data-del-cell"),g=b.$el.find('.fr-marker[data-type="true"]'),f=0;f<g.length;f++){e=g[f];var h=e.nextSibling,m=b.$el.find('.fr-marker[data-type="false"][data-id="'.concat(p(e).data("id"),
'"]')).get(0);if(m){if(e&&(!h||h!==m)){var u=b.node.blockParent(e);h=b.node.blockParent(m);var pa=!1,P=!1;u&&0<=["UL","OL"].indexOf(u.tagName)&&(u=null,pa=!0);h&&0<=["UL","OL"].indexOf(h.tagName)&&(h=null,P=!0);p(e).after(m);if(u!==h)if(null!==u||pa)if(null!==h||P||0!==p(u).parentsUntil(b.$el,"table").length)u&&h&&0===p(u).parentsUntil(b.$el,"table").length&&0===p(h).parentsUntil(b.$el,"table").length&&!p(u).contains(h)&&!p(h).contains(u)&&(p(u).append(p(h).html()),p(h).remove());else{for(h=u;!h.nextSibling&&
h.parentNode!==b.el;)h=h.parentNode;for(h=h.nextSibling;h&&"BR"!==h.tagName;)e=h.nextSibling,p(u).append(h),h=e;h&&"BR"===h.tagName&&p(h).remove()}else(u=b.node.deepestParent(e))?(p(u).after(p(h).html()),p(h).remove()):0===p(h).parentsUntil(b.$el,"table").length&&(p(e).next().after(p(h).html()),p(h).remove())}}else m=p(e).clone().attr("data-type",!1),p(e).after(m)}b.$el.find("li:empty").remove();b.opts.keepFormatOnDelete||b.html.fillEmptyBlocks();b.html.cleanEmptyTags(!0);b.opts.htmlUntouched||(b.clean.lists(),
b.$el.find("li:empty").append("<br>"),b.spaces.normalize());f=b.$el.find(".fr-marker").last().get(0);g=b.$el.find(".fr-marker").first().get(0);"undefined"!==typeof f&&"undefined"!==typeof g&&!f.nextSibling&&g.previousSibling&&"BR"===g.previousSibling.tagName&&b.node.isElement(f.parentNode)&&b.node.isElement(g.parentNode)&&b.$el.append("<br>");k()},blocks:function(a){var c=[],d;var f=g();if(r()&&f.rangeCount){var h=e();for(f=0;f<h.length;f++){var E=h[f],u=m(E.startContainer,E.startOffset),x=m(E.endContainer,
E.endOffset);(d=b.node.blockParent(u))&&0>c.indexOf(d)&&c.push(d);(b.node.isBlock(u)||b.node.hasClass(u,"fr-inner"))&&0>c.indexOf(u)&&c.push(u);for(d=[];u!==x&&u!==b.el;)0>d.indexOf(u)&&u.children&&u.children.length?(d.push(u),u=u.children[0]):u.nextSibling?u=u.nextSibling:u.parentNode&&(u=u.parentNode,d.push(u)),b.node.isBlock(u)&&0>d.indexOf(u)&&0>c.indexOf(u)&&(u!==x||0<E.endOffset)&&c.push(u);b.node.isBlock(x)&&0>c.indexOf(x)&&0<E.endOffset&&c.push(x);(d=b.node.blockParent(x))&&0>c.indexOf(d)&&
c.push(d)}}for(f=c.length-1;0<f;f--)p(c[f-1]).contains(c[f])?a&&p(c[f]).find("ul, ol").length||c.splice(f-1,1):!p(c[f]).contains(c[f-1])||a&&p(c[f]).find("ul, ol").length||c.splice(f,1);return c},info:H,setAtEnd:M,setAtStart:A,setBefore:function(c,d){"undefined"===typeof d&&(d=!0);for(var f=c.previousSibling;f&&f.nodeType===Node.TEXT_NODE&&0===f.textContent.length;)f=f.previousSibling;return f?(b.node.isBlock(f)?M(f):"BR"===f.tagName?p(f).before(a.MARKERS):p(f).after(a.MARKERS),!0):d?(b.node.isBlock(c)?
A(c):p(c).before(a.MARKERS),!0):!1},setAfter:function(c,d){"undefined"===typeof d&&(d=!0);for(var f=c.nextSibling;f&&f.nodeType===Node.TEXT_NODE&&0===f.textContent.length;)f=f.nextSibling;return f?(b.node.isBlock(f)?A(f):p(f).before(a.MARKERS),!0):d?(b.node.isBlock(c)?M(c):p(c).after(a.MARKERS),!0):!1},rangeElement:m}};Object.assign(a.DEFAULTS,{language:null});a.LANGUAGE={};a.MODULES.language=function(b){var c;return{_init:function(){a.LANGUAGE&&(c=a.LANGUAGE[b.opts.language]);c&&c.direction&&(b.opts.direction=
c.direction)},translate:function(b){return c&&c.translation[b]&&c.translation[b].length?c.translation[b]:b}}};Object.assign(a.DEFAULTS,{placeholderText:"Type something"});a.MODULES.placeholder=function(b){function a(){b.$placeholder||(b.$placeholder=f(b.doc.createElement("SPAN")).addClass("fr-placeholder"),b.$wp.append(b.$placeholder));var a=b.opts.iframe?b.$iframe.prev().outerHeight(!0):b.$el.prev().outerHeight(!0),c=0,d=0,g=0,e=0,h=0,u=0,k=b.node.contents(b.el),n=f(b.selection.element()).css("text-align");
k.length&&k[0].nodeType===Node.ELEMENT_NODE?(k=f(k[0]),(0<b.$wp.prev().length||0<b.$el.prev().length)&&b.ready&&(c=b.helpers.getPX(k.css("margin-top")),e=b.helpers.getPX(k.css("padding-top")),d=b.helpers.getPX(k.css("margin-left")),g=b.helpers.getPX(k.css("margin-right")),h=b.helpers.getPX(k.css("padding-left")),u=b.helpers.getPX(k.css("padding-right"))),b.$placeholder.css("font-size",k.css("font-size")),b.$placeholder.css("line-height",k.css("line-height"))):(b.$placeholder.css("font-size",b.$el.css("font-size")),
b.$placeholder.css("line-height",b.$el.css("line-height")));b.$wp.addClass("show-placeholder");b.$placeholder.css({marginTop:Math.max(b.helpers.getPX(b.$el.css("margin-top")),c)+(a?a:0),paddingTop:Math.max(b.helpers.getPX(b.$el.css("padding-top")),e),paddingLeft:Math.max(b.helpers.getPX(b.$el.css("padding-left")),h),marginLeft:Math.max(b.helpers.getPX(b.$el.css("margin-left")),d),paddingRight:Math.max(b.helpers.getPX(b.$el.css("padding-right")),u),marginRight:Math.max(b.helpers.getPX(b.$el.css("margin-right")),
g),textAlign:n}).text(b.language.translate(b.opts.placeholderText||b.$oel.attr("placeholder")||""));b.$placeholder.html(b.$placeholder.text().replace(/\n/g,"<br>"))}function c(){b.$wp.removeClass("show-placeholder")}function g(){if(!b.$wp)return!1;b.core.isEmpty()?a():c()}var f=b.$;return{_init:function(){if(!b.$wp)return!1;b.events.on("init input keydown keyup contentChanged initialized",g)},show:a,hide:c,refresh:g,isVisible:function(){return b.$wp?b.node.hasClass(b.$wp.get(0),"show-placeholder"):
!0}}};a.UNICODE_NBSP=String.fromCharCode(160);a.VOID_ELEMENTS="area base br col embed hr img input keygen link menuitem meta param source track wbr".split(" ");a.BLOCK_TAGS="address article aside audio blockquote canvas details dd div dl dt fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 header hgroup hr li main nav noscript ol output p pre section table tbody td tfoot th thead tr ul video".split(" ");Object.assign(a.DEFAULTS,{htmlAllowedEmptyTags:"textarea a iframe object video style script .fa .fr-emoticon .fr-inner path line hr".split(" "),
htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0});a.MODULES.html=function(b){function c(){if(b.opts.enter===a.ENTER_P)return"p";if(b.opts.enter===a.ENTER_DIV)return"div";if(b.opts.enter===a.ENTER_BR)return null}function g(a,c){return a&&a!==b.el?c?-1!=["PRE","SCRIPT","STYLE"].indexOf(a.tagName)?!0:g(a.parentNode,c):-1!==["PRE","SCRIPT","STYLE"].indexOf(a.tagName):!1}function e(c){var d=[],g=[];if(c){var e=b.el.querySelectorAll(".fr-marker");
for(c=0;c<e.length;c++){var h=b.node.blockParent(e[c])||e[c];if(h){var l=h.nextSibling,q=h.previousSibling;h&&0>g.indexOf(h)&&b.node.isBlock(h)&&g.push(h);q&&b.node.isBlock(q)&&0>g.indexOf(q)&&g.push(q);l&&b.node.isBlock(l)&&0>g.indexOf(l)&&g.push(l)}}}else g=b.el.querySelectorAll(f());e=f();e+=",".concat(a.VOID_ELEMENTS.join(","));e=e+", .fr-inner"+",".concat(b.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)");for(c=g.length-1;0<=c;c--)if(!(g[c].textContent&&0<g[c].textContent.replace(/\u200B|\n/g,
"").length||0<g[c].querySelectorAll(e).length)){h=b.node.contents(g[c]);l=!1;for(q=0;q<h.length;q++)if(h[q].nodeType!==Node.COMMENT_NODE&&h[q].textContent&&0<h[q].textContent.replace(/\u200B|\n/g,"").length){l=!0;break}l||d.push(g[c])}return d}function f(){return a.BLOCK_TAGS.join(", ")}function m(c){var d=W.merge([],a.VOID_ELEMENTS);d=W.merge(d,b.opts.htmlAllowedEmptyTags);d="undefined"===typeof c?W.merge(d,a.BLOCK_TAGS):W.merge(d,a.NO_DELETE_TAGS);c=b.el.querySelectorAll("*:empty:not(".concat(d.join("):not("),
"):not(.fr-marker):not(template)"));do{var f=!1;for(var g=0;g<c.length;g++)if(0===c[g].attributes.length||"undefined"!==typeof c[g].getAttribute("href"))c[g].parentNode.removeChild(c[g]),f=!0;c=b.el.querySelectorAll("*:empty:not(".concat(d.join("):not("),"):not(.fr-marker):not(template)"))}while(c.length&&f)}function J(a,d){var f=c();d&&(f="div");if(f){for(var g=b.doc.createDocumentFragment(),e=null,h=!1,l=a.firstChild,q=!1;l;){var E=l.nextSibling;if(l.nodeType===Node.ELEMENT_NODE&&(b.node.isBlock(l)||
0<=b.opts.htmlDoNotWrapTags.indexOf(l.tagName.toLowerCase())&&!b.node.hasClass(l,"fr-marker")))e=null,g.appendChild(l.cloneNode(!0));else if(l.nodeType!==Node.ELEMENT_NODE&&l.nodeType!==Node.TEXT_NODE)e=null,g.appendChild(l.cloneNode(!0));else if("BR"===l.tagName)null===e?(e=b.doc.createElement(f),q=!0,d&&(e.setAttribute("class","fr-temp-div"),e.setAttribute("data-empty",!0)),e.appendChild(l.cloneNode(!0)),g.appendChild(e)):!1===h&&(e.appendChild(b.doc.createElement("br")),d&&(e.setAttribute("class",
"fr-temp-div"),e.setAttribute("data-empty",!0))),e=null;else{var m=l.textContent;l.nodeType!==Node.TEXT_NODE||0<m.replace(/\n/g,"").replace(/(^ *)|( *$)/g,"").length||m.replace(/(^ *)|( *$)/g,"").length&&0>m.indexOf("\n")?(null===e&&(e=b.doc.createElement(f),q=!0,d&&e.setAttribute("class","fr-temp-div"),g.appendChild(e),h=!1),e.appendChild(l.cloneNode(!0)),h||b.node.hasClass(l,"fr-marker")||l.nodeType===Node.TEXT_NODE&&0===m.replace(/ /g,"").length||(h=!0)):q=!0}l=E}q&&(a.innerHTML="",a.appendChild(g))}}
function k(b,a){for(var c=b.length-1;0<=c;c--)J(b[c],a)}function n(a,c,d,f,g){if(!b.$wp)return!1;"undefined"===typeof a&&(a=!1);"undefined"===typeof c&&(c=!1);"undefined"===typeof d&&(d=!1);"undefined"===typeof f&&(f=!1);"undefined"===typeof g&&(g=!1);var e=b.$wp.scrollTop();J(b.el,a);f&&k(b.el.querySelectorAll(".fr-inner"),a);c&&k(b.el.querySelectorAll("td, th"),a);d&&k(b.el.querySelectorAll("blockquote"),a);g&&k(b.el.querySelectorAll("li"),a);e!==b.$wp.scrollTop()&&b.$wp.scrollTop(e)}function z(a){"undefined"===
typeof a&&(a=b.el);if(a&&0<=["SCRIPT","STYLE","PRE"].indexOf(a.tagName))return!1;for(a=b.doc.createTreeWalker(a,NodeFilter.SHOW_TEXT,b.node.filter(function(b){return null!==b.textContent.match(/([ \n]{2,})|(^[ \n]{1,})|([ \n]{1,}$)/g)}),!1);a.nextNode();){var c=a.currentNode;if(!g(c.parentNode,!0)){var d=b.node.isBlock(c.parentNode)||b.node.isElement(c.parentNode),f=c.textContent.replace(/(?!^)( ){2,}(?!$)/g," ").replace(/\n/g," ").replace(/^[ ]{2,}/g," ").replace(/[ ]{2,}$/g," ");if(d){d=c.previousSibling;
var e=c.nextSibling;d&&e&&" "===f?f=b.node.isBlock(d)&&b.node.isBlock(e)?"":" ":(d||(f=f.replace(/^ */,"")),e||(f=f.replace(/ *$/,"")))}c.textContent=f}}}function C(b,a,c){return(b=(new RegExp(a,"gi")).exec(b))?b[c]:null}function H(b,a){return(b=b.match(/<!DOCTYPE ?([^ ]*) ?([^ ]*) ?"?([^"]*)"? ?"?([^"]*)"?>/i))?a.implementation.createDocumentType(b[1],b[3],b[4]):a.implementation.createDocumentType("html")}function w(b){b=b.doctype;var a="<!DOCTYPE html>";b&&(a="<!DOCTYPE ".concat(b.name).concat(b.publicId?
' PUBLIC "'.concat(b.publicId,'"'):"").concat(!b.publicId&&b.systemId?" SYSTEM":"").concat(b.systemId?' "'.concat(b.systemId,'"'):"",">"));return a}function v(c){var d=c.parentNode;if(d&&(b.node.isBlock(d)||b.node.isElement(d))&&0>["TD","TH"].indexOf(d.tagName)){for(var f=c.previousSibling,g=c.nextSibling;f&&(f.nodeType===Node.TEXT_NODE&&0===f.textContent.replace(/\n|\r/g,"").length||b.node.hasClass(f,"fr-tmp"));)f=f.previousSibling;if(g)return!1;f&&d&&"BR"!==f.tagName&&!b.node.isBlock(f)&&!g&&0<
d.textContent.replace(/\u200B/g,"").length&&0<f.textContent.length&&!b.node.hasClass(f,"fr-marker")&&(b.el!==d||g||b.opts.enter!==a.ENTER_BR||!b.browser.msie)&&c.parentNode.removeChild(c)}else!d||b.node.isBlock(d)||b.node.isElement(d)||c.previousSibling||c.nextSibling||!b.node.isDeletable(c.parentNode)||v(c.parentNode)}function t(){b.opts.htmlUntouched||(m(),n(),z(),b.spaces.normalize(null,!0),b.html.fillEmptyBlocks(),b.clean.lists(),b.clean.tables(),b.clean.toHTML5(),b.html.cleanBRs());b.selection.restore();
F();b.placeholder.refresh()}function F(){b.node.isEmpty(b.el)&&(null!==c()?b.el.querySelector(f())||b.el.querySelector("".concat(b.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||(b.core.hasFocus()?(b.$el.html("<".concat(c(),">").concat(a.MARKERS,"<br/></").concat(c(),">")),b.selection.restore()):b.$el.html("<".concat(c(),"><br/></").concat(c(),">"))):b.el.querySelector("*:not(.fr-marker):not(br)")||(b.core.hasFocus()?(b.$el.html("".concat(a.MARKERS,"<br/>")),b.selection.restore()):
b.$el.html("<br/>")))}function r(b,a){return C(b,"<".concat(a,"[^>]*?>([\\w\\W]*)</").concat(a,">"),1)}function A(a,c){a=W("<div ".concat(C(a,"<".concat(c,"([^>]*?)>"),1)||"",">"));return b.node.rawAttributes(a.get(0))}function M(b){return(C(b,"<!DOCTYPE([^>]*?)>",0)||"<!DOCTYPE html>").replace(/\n/g," ").replace(/ {2,}/g," ")}function p(a,c){b.opts.htmlExecuteScripts?a.html(c):a.get(0).innerHTML=c}function x(b){var a=/:not\(([^)]*)\)/g;a.test(b)&&(b=b.replace(a," $1 "));a=100*(b.match(/(#[^\s+>~.[:]+)/g)||
[]).length+10*(b.match(/(\[[^]]+\])/g)||[]).length+10*(b.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(b.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(b.match(/(:[^\s+>~.[:]+)/g)||[]).length+(b.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;b=b.replace(/[*\s+>~]/g," ");b=b.replace(/[#.]/g," ");return a+=(b.match(/([^\s+>~.[:]+)/g)||[]).length}function l(a){b.events.trigger("html.processGet",[a]);a&&a.getAttribute&&""===a.getAttribute("class")&&a.removeAttribute("class");
a&&a.getAttribute&&""===a.getAttribute("style")&&a.removeAttribute("style");if(a&&a.nodeType===Node.ELEMENT_NODE){var c=a.querySelectorAll('[class=""],[style=""]'),d;for(d=0;d<c.length;d++){var f=c[d];""===f.getAttribute("class")&&f.removeAttribute("class");""===f.getAttribute("style")&&f.removeAttribute("style")}if("BR"===a.tagName)v(a);else for(a=a.querySelectorAll("br"),d=0;d<a.length;d++)v(a[d])}}function q(b,a){return b[3]-a[3]}function X(){for(var a=b.el.querySelectorAll("input, textarea"),
c=0;c<a.length;c++){if("checkbox"===a[c].type||"radio"===a[c].type)a[c].checked?a[c].setAttribute("checked",a[c].checked):b.$(a[c]).removeAttr("checked");a[c].getAttribute("value")&&a[c].setAttribute("value",a[c].value)}}function S(a){var c=b.doc.createElement("div");c.innerHTML=a;return null!==c.querySelector(f())}function E(a){var c=null;"undefined"===typeof a&&(c=b.selection.element());if(b.opts.keepFormatOnDelete)return!1;a=c?(c.textContent.match(/\u200B/g)||[]).length-c.querySelectorAll(".fr-marker").length:
0;if((b.el.textContent.match(/\u200B/g)||[]).length-b.el.querySelectorAll(".fr-marker").length===a)return!1;do{var d=!1;a=b.el.querySelectorAll("*:not(.fr-marker)");for(var f=0;f<a.length;f++){var g=a[f];if(c!==g){var e=g.textContent;0===g.children.length&&1===e.length&&8203===e.charCodeAt(0)&&"TD"!==g.tagName&&(W(g).remove(),d=!0)}}}while(d)}function oa(){E();b.placeholder&&setTimeout(b.placeholder.refresh,0)}var W=b.$;return{defaultTag:c,isPreformatted:g,emptyBlocks:e,emptyBlockTagsQuery:function(){return"".concat(a.BLOCK_TAGS.join(":empty, "),
":empty")},blockTagsQuery:f,fillEmptyBlocks:function(c){c=e(c);b.node.isEmpty(b.el)&&b.opts.enter===a.ENTER_BR&&c.push(b.el);for(var d=0;d<c.length;d++){var f=c[d];"false"===f.getAttribute("contenteditable")||f.querySelector("".concat(b.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||b.node.isVoid(f)||"TABLE"!==f.tagName&&"TBODY"!==f.tagName&&"TR"!==f.tagName&&"UL"!==f.tagName&&"OL"!==f.tagName&&f.appendChild(b.doc.createElement("br"))}b.browser.msie&&b.opts.enter===a.ENTER_BR&&
(c=b.node.contents(b.el),c.length&&c[c.length-1].nodeType===Node.TEXT_NODE&&b.$el.append("<br>"))},cleanEmptyTags:m,cleanWhiteTags:E,cleanBlankSpaces:z,blocks:function(){return b.$el.get(0).querySelectorAll(f())},getDoctype:w,set:function(a){var c=b.clean.html((a||"").trim(),[],[],b.opts.fullPage).replace(/%3A\/\//g,"://");if(b.opts.fullPage){a=r(c,"body")||(0<=c.indexOf("<body")?"":c);var d=A(c,"body"),f=r(c,"head")||"<title></title>",g=A(c,"head"),e=W("<div>");e.append(f).contents().each(function(){(this.nodeType===
Node.COMMENT_NODE||0<="BASE LINK META NOSCRIPT SCRIPT STYLE TEMPLATE TITLE".split(" ").indexOf(this.tagName))&&this.parentNode.removeChild(this)});e=e.html().trim();f=W("<div>").append(f).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<="BASE LINK META NOSCRIPT SCRIPT STYLE TEMPLATE TITLE".split(" ").indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var h=M(c);c=A(c,"html");p(b.$el,"".concat(e,"\n").concat(a));b.node.clearAttributes(b.el);
b.$el.attr(d);b.$el.addClass("fr-view");b.$el.attr("spellcheck",b.opts.spellcheck);b.$el.attr("dir",b.opts.direction);p(b.$head,f);b.node.clearAttributes(b.$head.get(0));b.$head.attr(g);b.node.clearAttributes(b.$html.get(0));b.$html.attr(c);b.iframe_document.doctype.parentNode.replaceChild(H(h,b.iframe_document),b.iframe_document.doctype)}else p(b.$el,c);a=b.edit.isDisabled();b.edit.on();b.core.injectStyle(b.opts.iframeDefaultStyle+b.opts.iframeStyle);t();b.opts.useClasses||(b.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",
this.getAttribute("fr-original-class"));this.removeAttribute("fr-original-class")}),b.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style"));this.removeAttribute("fr-original-style")}));a&&b.edit.off();b.events.trigger("html.set");b.events.trigger("charCounter.update")},syncInputs:X,get:function(a,c){if(!b.$wp)return b.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var d="";b.events.trigger("html.beforeGet");
var f=[],g={},e,h=[];X();if(!b.opts.useClasses&&!c){var E=new RegExp("^".concat(b.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(e=0;e<b.doc.styleSheets.length;e++){var m=void 0,u=0;try{m=b.doc.styleSheets[e].cssRules,b.doc.styleSheets[e].ownerNode&&"STYLE"===b.doc.styleSheets[e].ownerNode.nodeType&&(u=1)}catch(I){}if(m)for(var W=0,J=m.length;W<J;W++)if(m[W].selectorText&&0<m[W].style.cssText.length){var S=m[W].selectorText.replace(/body |\.fr-view /g,"").replace(/::/g,":");var C=void 0;
try{C=b.el.querySelectorAll(S)}catch(I){C=[]}for(S=0;S<C.length;S++){!C[S].getAttribute("fr-original-style")&&C[S].getAttribute("style")?(C[S].setAttribute("fr-original-style",C[S].getAttribute("style")),f.push(C[S])):C[S].getAttribute("fr-original-style")||(C[S].setAttribute("fr-original-style",""),f.push(C[S]));g[C[S]]||(g[C[S]]={});for(var k=1E3*u+x(m[W].selectorText),p=m[W].style.cssText.split(";"),t=0;t<p.length;t++){var n=p[t].trim().split(":")[0];if(n&&!n.match(E)&&(g[C[S]][n]||(g[C[S]][n]=
0,0<=(C[S].getAttribute("fr-original-style")||"").indexOf("".concat(n,":"))&&(g[C[S]][n]=1E4)),k>=g[C[S]][n]&&(g[C[S]][n]=k,p[t].trim().length))){var z=p[t].trim().split(":");z.splice(0,1);h.push([C[S],n.trim(),z.join(":").trim(),k])}}}}}h.sort(q);for(e=0;e<h.length;e++)S=h[e],S[0].style[S[1]]=S[2];for(e=0;e<f.length;e++)if(f[e].getAttribute("class")&&(f[e].setAttribute("fr-original-class",f[e].getAttribute("class")),f[e].removeAttribute("class")),0<(f[e].getAttribute("fr-original-style")||"").trim().length)for(h=
f[e].getAttribute("fr-original-style").split(";"),S=0;S<h.length;S++)0<h[S].indexOf(":")&&(g=h[S].split(":"),E=g[0],g.splice(0,1),f[e].style[E.trim()]=g.join(":").trim())}b.node.isEmpty(b.el)?b.opts.fullPage&&(d=w(b.iframe_document),d+="<html".concat(b.node.attributes(b.$html.get(0)),">").concat(b.$html.find("head").get(0).outerHTML,"<body></body></html>")):("undefined"===typeof a&&(a=!1),b.opts.fullPage?(d=w(b.iframe_document),b.$el.removeClass("fr-view"),e=b.opts.heightMin,S=b.opts.height,h=b.opts.heightMax,
b.opts.heightMin=null,b.opts.height=null,b.opts.heightMax=null,b.size.refresh(),d+="<html".concat(b.node.attributes(b.$html.get(0)),">").concat(b.$html.html(),"</html>"),b.opts.heightMin=e,b.opts.height=S,b.opts.heightMax=h,b.size.refresh(),b.$el.addClass("fr-view")):d=b.$el.html());if(!b.opts.useClasses&&!c)for(e=0;e<f.length;e++)f[e].getAttribute("fr-original-class")&&(f[e].setAttribute("class",f[e].getAttribute("fr-original-class")),f[e].removeAttribute("fr-original-class")),null!==f[e].getAttribute("fr-original-style")&&
"undefined"!==typeof f[e].getAttribute("fr-original-style")?(0!==f[e].getAttribute("fr-original-style").length?f[e].setAttribute("style",f[e].getAttribute("fr-original-style")):f[e].removeAttribute("style"),f[e].removeAttribute("fr-original-style")):f[e].removeAttribute("style");b.opts.fullPage&&(d=d.replace(/<style data-fr-style="true">(?:[\w\W]*?)<\/style>/g,""),d=d.replace(/<link([^>]*)data-fr-style="true"([^>]*)>/g,""),d=d.replace(/<style(?:[\w\W]*?)class="firebugResetStyles"(?:[\w\W]*?)>(?:[\w\W]*?)<\/style>/g,
""),d=d.replace(/<body((?:[\w\W]*?)) spellcheck="true"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>"),d=d.replace(/<body((?:[\w\W]*?)) contenteditable="(true|false)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>"),d=d.replace(/<body((?:[\w\W]*?)) dir="([\w]*)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>"),d=d.replace(/<body((?:[\w\W]*?))class="([\w\W]*?)(fr-rtl|fr-ltr)([\w\W]*?)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,'<body$1class="$2$4"$5>$6</body>'),
d=d.replace(/<body((?:[\w\W]*?)) class=""((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>"));b.opts.htmlSimpleAmpersand&&(d=d.replace(/&/gi,"&"));b.events.trigger("html.afterGet");a||(d=d.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""));d=b.clean.invisibleSpaces(d);d=b.clean.exec(d,l);a=b.events.chainTrigger("html.get",d);"string"===typeof a&&(d=a);d=d.replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(b){return b.replace(/<br>/g,"\n")});return d=
d.replace(/<meta((?:[\w\W]*?)) data-fr-http-equiv="/g,'<meta$1 http-equiv="')},getSelected:function(){function c(a,c){for(;!(!c||c.nodeType!==Node.TEXT_NODE&&b.node.isBlock(c)||b.node.isElement(c)||b.node.hasClass(c,"fr-inner")||c.nextSibling&&("BR"===c.nextSibling.nodeName||b.node.isBlock(c.nextSibling))||c.previousSibling&&("BR"===c.previousSibling.nodeName||b.node.isBlock(c.previousSibling))||b.node.hasClass(c.parentNode,"fr-view"));)c&&c.nodeType!==Node.TEXT_NODE&&W(a).wrapInner(b.node.openTagString(c)+
b.node.closeTagString(c)),c=c.parentNode;if(c&&a.innerHTML===c.innerHTML)a.innerHTML=c.outerHTML;else if(c.innerText&&-1!=c.innerText.indexOf(a.innerHTML))a.innerHTML=b.node.openTagString(c)+c.innerHTML+b.node.closeTagString(c);else if(c.nextSibling&&("BR"===c.nextSibling.nodeName||b.node.isBlock(c.nextSibling))||c.previousSibling&&("BR"===c.previousSibling.nodeName||b.node.isBlock(c.previousSibling))&&c.wholeText)a.innerHTML=c.wholeText}function d(){var c=null,d;b.win.getSelection?(d=b.win.getSelection())&&
d.rangeCount&&(c=d.getRangeAt(0).commonAncestorContainer,c.nodeType!==Node.ELEMENT_NODE&&b.opts.enter!==a.ENTER_BR&&(c=c.parentNode)):(d=b.doc.selection)&&"Control"!==d.type&&(c=d.createRange().parentElement());return null!==c&&(0<=W(c).parents().toArray().indexOf(b.el)||c===b.el)?c:null}var f="";if("undefined"!==typeof b.win.getSelection){b.browser.mozilla&&(b.selection.save(),1<b.$el.find('.fr-marker[data-type="false"]').length&&(b.$el.find('.fr-marker[data-type="false"][data-id="0"]').remove(),
b.$el.find('.fr-marker[data-type="false"]:last').attr("data-id","0"),b.$el.find(".fr-marker").not('[data-id="0"]').remove()),b.selection.restore());for(var e=b.selection.ranges(),g=0;g<e.length;g++){var h=document.createElement("div");h.appendChild(e[g].cloneContents());c(h,d());0<W(h).find(".fr-element").length&&(h=b.el);f+=h.innerHTML}}else"undefined"!==typeof b.doc.selection&&"Text"===b.doc.selection.type&&(f=b.doc.selection.createRange().htmlText);return f},insert:function(a,c,d){b.selection.isCollapsed()||
b.selection.remove();c=c?a:b.clean.html(a);0===a.indexOf('<i class="fa ')&&(c="<span> ".concat(c,"</span>"));0>a.indexOf('class="fr-marker"')&&(a=b.doc.createElement("div"),a.innerHTML=c,b.selection.setAtEnd(a,!0),c=a.innerHTML);if(b.node.isEmpty(b.el)&&!b.opts.keepFormatOnDelete&&S(c))b.opts.trackChangesEnabled?b.track_changes.pasteInEmptyEdior(c):b.el.innerHTML=c;else if(a=b.selection.ranges(0).commonAncestorContainer,a=a===b.el||b.$el.contains(a)?!1:!0,a&&b.selection.restore(),a=b.markers.insert())if(b.opts.trackChangesEnabled)b.track_changes.pasteInEdior(c);
else{b.node.isLastSibling(a)&&W(a).parent().hasClass("fr-deletable")&&W(a).insertAfter(W(a).parent());var f=b.node.blockParent(a);if((S(c)||d)&&(b.node.deepestParent(a)||f&&"LI"===f.tagName)){if(f&&"LI"===f.tagName&&b.html.defaultTag()){d=b.doc.createElement("div");d.innerHTML=c;c=d.querySelectorAll(":scope > ".concat(b.html.defaultTag()));for(a=c.length-1;0<=a;a--)f=c[a],b.node.isBlock(f.previousSibling)||(f.previousSibling&&!b.node.isEmpty(f)&&W("<br>").insertAfter(f.previousSibling),f.outerHTML=
f.innerHTML);c=d.innerHTML}a=b.markers.split();if(!a)return!1}a.outerHTML=c}else b.el.innerHTML+=c;t();b.keys.positionCaret();b.events.trigger("html.inserted")},wrap:n,unwrap:function(){b.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&W(this).before("<br>");W(this).attr("data-empty")||!this.nextSibling||b.node.isBlock(this.nextSibling)&&!W(this.nextSibling).hasClass("fr-temp-div")?W(this).replaceWith(W(this).html()):W(this).replaceWith("".concat(W(this).html(),
"<br>"))});b.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return""===W(this).attr("class")}).removeAttr("class")},escapeEntities:function(b){return b.replace(/</gi,"<").replace(/>/gi,">").replace(/"/gi,""").replace(/'/gi,"'")},checkIfEmpty:F,extractNode:r,extractNodeAttrs:A,extractDoctype:M,cleanBRs:function(){for(var a=b.el.getElementsByTagName("br"),c=0;c<a.length;c++)v(a[c])},_init:function(){b.events.$on(b.$el,"mousemove","span.fr-word-select",function(b){window.getSelection();
var a=window.getSelection();var c=document.createRange();c.selectNodeContents(b.target);a.removeAllRanges();a.addRange(c)});b.$wp&&(b.events.on("mouseup",oa),b.events.on("keydown",oa),b.events.on("contentChanged",F))},_setHtml:p}};a.ENTER_P=0;a.ENTER_DIV=1;a.ENTER_BR=2;a.KEYCODE={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,FF_SEMICOLON:59,
FF_EQUALS:61,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,FF_HYPHEN:173,SEMICOLON:186,DASH:189,EQUALS:187,
COMMA:188,HYPHEN:189,PERIOD:190,SLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,IME:229};Object.assign(a.DEFAULTS,{enter:a.ENTER_P,multiLine:!0,tabSpaces:0});a.MODULES.keys=function(b){function c(){setTimeout(function(){b.events.disableBlur();b.events.focus()},0)}function e(a){b.selection.isCollapsed()?(0>["INPUT","BUTTON","TEXTAREA"].indexOf(a.target&&a.target.tagName)&&b.cursor.backspace(),b.helpers.isIOS()?(a=b.selection.ranges(0),
a.deleteContents(),a.insertNode(document.createTextNode("\u200b")),b.selection.get().modify("move","forward","character")):(0>["INPUT","BUTTON","TEXTAREA"].indexOf(a.target&&a.target.tagName)&&a.preventDefault(),a.stopPropagation())):(a.preventDefault(),a.stopPropagation(),b.selection.remove());b.placeholder.refresh()}function g(a){0>["INPUT","BUTTON","TEXTAREA"].indexOf(a.target&&a.target.tagName)&&a.preventDefault();a.stopPropagation();""!==b.selection.text()||b.selection.element().hasAttribute("contenteditable")&&
"false"===b.selection.element().getAttribute("contenteditable")||!b.selection.isCollapsed()&&"IMG"==b.selection.element().tagName?b.selection.remove():b.cursor.del();b.placeholder.refresh()}function f(){if(b.browser.mozilla&&b.selection.isCollapsed()&&!X){var a=b.selection.ranges(0),c=a.startContainer;a=a.startOffset;c&&c.nodeType===Node.TEXT_NODE&&a<=c.textContent.length&&0<a&&32===c.textContent.charCodeAt(a-1)&&(b.selection.save(),b.spaces.normalize(),b.selection.restore())}}function m(){b.selection.isFull()&&
setTimeout(function(){var c=b.html.defaultTag();c?b.$el.html("<".concat(c,">").concat(a.MARKERS,"<br/></").concat(c,">")):b.$el.html("".concat(a.MARKERS,"<br/>"));b.selection.restore();b.placeholder.refresh();b.button.bulkRefresh();b.undo.saveStep()},0)}function J(){X=!1}function k(){X=!1}function n(){var c=b.html.defaultTag();c?b.$el.html("<".concat(c,">").concat(a.MARKERS,"<br/></").concat(c,">")):b.$el.html("".concat(a.MARKERS,"<br/>"));b.selection.restore()}function z(b,a){if(b.parentElement&&
(-1<b.innerHTML.indexOf("<span")||-1<b.parentElement.innerHTML.indexOf("<span")||-1<b.parentElement.parentElement.innerHTML.indexOf("<span"))&&(b.classList.contains("fr-img-space-wrap")||b.parentElement.classList.contains("fr-img-space-wrap")||b.parentElement.parentElement.classList.contains("fr-img-space-wrap"))){if(q(b.parentElement).is("p")){var c=b.parentElement.innerHTML;c=c.replace(/<br>/g,"");1>c.length?b.parentElement.insertAdjacentHTML("afterbegin"," "):" "!=c&&" "!=c&&"Backspace"==
a.key?e(a):" "!=c&&" "!=c&&"Delete"==a.key&&g(a);return!0}if(q(b).is("p"))return c=b.innerHTML.replace(/<br>/g,""),1>c.length?b.insertAdjacentHTML("afterbegin"," "):" "!=c&&" "!=c&&"Backspace"==a.key?e(a):" "!=c&&" "!=c&&"Delete"==a.key&&g(a),!0}return!1}function C(d){var f=b.selection.element();if(f&&0<=["INPUT","TEXTAREA"].indexOf(f.tagName)||d&&F(d.which))return!0;b.events.disableBlur();var h=d.which;if(16===h)return!0;S=h;if(h===a.KEYCODE.IME)return X=!0;X=!1;if(t(d))return!0;
var l=r(h)&&!t(d)&&!d.altKey,q=h===a.KEYCODE.BACKSPACE||h===a.KEYCODE.DELETE;if(b.selection.isFull()&&!b.opts.keepFormatOnDelete&&!b.placeholder.isVisible()||q&&b.placeholder.isVisible()&&b.opts.keepFormatOnDelete)if(l||q)if(n(),!r(h))return d.preventDefault(),!0;if(h===a.KEYCODE.ENTER)!b.helpers.isIOS()&&d.shiftKey||f.classList.contains("fr-inner")||f.parentElement.classList.contains("fr-inner")?(d.preventDefault(),d.stopPropagation(),b.opts.multiLine&&(b.selection.isCollapsed()||b.selection.remove(),
b.cursor.enter(!0))):b.opts.multiLine?(b.helpers.isIOS()||(d.preventDefault(),d.stopPropagation()),b.selection.isCollapsed()||b.selection.remove(),b.cursor.enter()):(d.preventDefault(),d.stopPropagation());else if(h===a.KEYCODE.BACKSPACE&&(d.metaKey||d.ctrlKey))c();else if(h!==a.KEYCODE.BACKSPACE||t(d)||d.altKey)if(h!==a.KEYCODE.DELETE||t(d)||d.altKey||d.shiftKey)if(h===a.KEYCODE.SPACE){if(f=b.selection.element(),!b.helpers.isMobile()&&f&&"A"===f.tagName&&(d.preventDefault(),d.stopPropagation(),b.selection.isCollapsed()||
b.selection.remove(),d=b.markers.insert()))f=d.previousSibling,!d.nextSibling&&d.parentNode&&"A"===d.parentNode.tagName?(d.parentNode.insertAdjacentHTML("afterend"," ".concat(a.MARKERS)),d.parentNode.removeChild(d)):(f&&f.nodeType===Node.TEXT_NODE&&1===f.textContent.length&&160===f.textContent.charCodeAt(0)?f.textContent+=" ":d.insertAdjacentHTML("beforebegin"," "),d.outerHTML=a.MARKERS),b.selection.restore()}else if(h===a.KEYCODE.TAB){if(0<b.opts.tabSpaces)if(b.selection.isCollapsed()){b.undo.saveStep();
d.preventDefault();d.stopPropagation();d="";for(f=0;f<b.opts.tabSpaces;f++)d+=" ";b.html.insert(d);b.placeholder.refresh();b.undo.saveStep()}else d.preventDefault(),d.stopPropagation(),d.shiftKey?b.commands.outdent():b.commands.indent()}else t(d)||!r(d.which)||b.selection.isCollapsed()||d.ctrlKey||d.altKey||b.selection.remove();else{if(z(f,d)){d.preventDefault();d.stopPropagation();return}b.placeholder.isVisible()?(b.opts.keepFormatOnDelete||n(),d.preventDefault(),d.stopPropagation()):g(d)}else{if(z(f,
d)){d.preventDefault();d.stopPropagation();return}b.placeholder.isVisible()?(b.opts.keepFormatOnDelete||n(),d.preventDefault(),d.stopPropagation()):e(d)}b.events.enableBlur()}function H(a){var c=a;-1<["STRONG","U","EM"].indexOf(a.nodeName)&&a.parentNode&&(c=a.parentNode);for(a=b.doc.createTreeWalker(c,NodeFilter.SHOW_TEXT,b.node.filter(function(b){return/\u200B/gi.test(b.textContent)}),!1);a.nextNode();)c=a.currentNode,c.textContent=c.textContent.replace(/\u200B/gi,"")}function w(){if(!b.$wp)return!0;
if(b.opts.height||b.opts.heightMax){var a=b.position.getBoundingRect().top;if(b.helpers.isIOS()||b.helpers.isAndroid())a-=b.helpers.scrollTop();b.opts.iframe&&(a+=b.$iframe.offset().top);var c=b.selection.blocks(),d=null;c&&0<c.length&&c[0].offsetTop&&(d=c[0].getBoundingClientRect().top);!b.opts.iframe&&a>b.$wp.offset().top-b.helpers.scrollTop()+b.$wp.height()-20?b.$wp.scrollTop(a+b.$wp.scrollTop()-(b.$wp.height()+b.$wp.offset().top)+b.helpers.scrollTop()+20):b.opts.iframe&&d>b.$wp.height()&&d&&b.$wp.scrollTop(d-
b.$wp.height()+80)}else{a=b.position.getBoundingRect().top;b.opts.toolbarBottom&&(a+=b.opts.toolbarStickyOffset);if(b.helpers.isIOS()||b.helpers.isAndroid())a-=b.helpers.scrollTop();b.opts.iframe&&(a+=b.$iframe.offset().top,a-=b.helpers.scrollTop());a+=b.opts.toolbarStickyOffset;a>b.o_win.innerHeight-20&&q(b.o_win).scrollTop(a+b.helpers.scrollTop()-b.o_win.innerHeight+20);a=b.position.getBoundingRect().top;b.opts.toolbarBottom||(a-=b.opts.toolbarStickyOffset);if(b.helpers.isIOS()||b.helpers.isAndroid())a-=
b.helpers.scrollTop();b.opts.iframe&&(a+=b.$iframe.offset().top,a-=b.helpers.scrollTop());100>a&&q(b.o_win).scrollTop(a+b.helpers.scrollTop()-100)}}function v(c){function d(a){var c=/[\u3041-\u3096\u30A0-\u30FF\u4E00-\u9FFF\u3130-\u318F\uAC00-\uD7AF]/gi;return!b.helpers.isIOS()||0===((a.textContent||"").match(c)||[]).length}var f=b.selection.element();if(f&&0<=["INPUT","TEXTAREA"].indexOf(f.tagName))return!0;c&&0===c.which&&S&&(c.which=S);if(b.helpers.isAndroid()&&b.browser.mozilla)return!0;if(X)return!1;
c&&b.helpers.isIOS()&&c.which===a.KEYCODE.ENTER&&b.doc.execCommand("undo");if(!b.selection.isCollapsed()||c&&(c.which===a.KEYCODE.META||c.which===a.KEYCODE.CTRL)||c&&F(c.which))return!0;if(c&&!b.helpers.isIOS()&&(c.which===a.KEYCODE.ENTER||c.which===a.KEYCODE.BACKSPACE||37<=c.which&&40>=c.which&&!b.browser.msie))try{w()}catch(ta){}c=b.selection.element();(function(b){if(!b)return!1;b=b.innerHTML;return(b=b.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(b)&&
0<b.replace(/\u200B/gi,"").length?!0:!1})(c)&&!b.node.hasClass(c,"fr-marker")&&"IFRAME"!==c.tagName&&d(c)&&(b.selection.save(),H(c),b.selection.restore())}function t(b){if(-1!==navigator.userAgent.indexOf("Mac OS X")){if(b.metaKey&&!b.altKey)return!0}else if(b.ctrlKey&&!b.altKey)return!0;return!1}function F(b){if(b>=a.KEYCODE.ARROW_LEFT&&b<=a.KEYCODE.ARROW_DOWN)return!0}function r(c){if(c>=a.KEYCODE.ZERO&&c<=a.KEYCODE.NINE||c>=a.KEYCODE.NUM_ZERO&&c<=a.KEYCODE.NUM_MULTIPLY||c>=a.KEYCODE.A&&c<=a.KEYCODE.Z||
b.browser.webkit&&0===c)return!0;switch(c){case a.KEYCODE.SPACE:case a.KEYCODE.QUESTION_MARK:case a.KEYCODE.NUM_PLUS:case a.KEYCODE.NUM_MINUS:case a.KEYCODE.NUM_PERIOD:case a.KEYCODE.NUM_DIVISION:case a.KEYCODE.SEMICOLON:case a.KEYCODE.FF_SEMICOLON:case a.KEYCODE.DASH:case a.KEYCODE.EQUALS:case a.KEYCODE.FF_EQUALS:case a.KEYCODE.COMMA:case a.KEYCODE.PERIOD:case a.KEYCODE.SLASH:case a.KEYCODE.APOSTROPHE:case a.KEYCODE.SINGLE_QUOTE:case a.KEYCODE.OPEN_SQUARE_BRACKET:case a.KEYCODE.BACKSLASH:case a.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;
default:return!1}}function A(c){var d=c.which;if(t(c)||37<=d&&40>=d||!r(d)&&d!==a.KEYCODE.DELETE&&d!==a.KEYCODE.BACKSPACE&&d!==a.KEYCODE.ENTER&&d!==a.KEYCODE.IME)return!0;E||(oa=b.snapshot.get(),b.undo.canDo()||b.undo.saveStep());clearTimeout(E);E=setTimeout(function(){E=null;b.undo.saveStep()},Math.max(250,b.opts.typingTimer))}function M(a){var c=a.which;if(t(a)||37<=c&&40>=c)return!0;oa&&E?(b.undo.saveStep(oa),oa=null):"undefined"!==typeof c&&0!==c||oa||E||b.undo.saveStep()}function p(a){if(a&&
"BR"===a.tagName)return!1;try{return 0===(a.textContent||"").length&&a.querySelector&&!a.querySelector(":scope > br")||a.childNodes&&1===a.childNodes.length&&a.childNodes[0].getAttribute&&("false"===a.childNodes[0].getAttribute("contenteditable")||b.node.hasClass(a.childNodes[0],"fr-img-caption"))}catch(pa){return!1}}function x(c){var d=b.el.childNodes,f=b.html.defaultTag(),e=b.node.blockParent(b.selection.blocks()[0]);e&&"TR"==e.tagName&&void 0==e.getAttribute("contenteditable")&&(e=e.closest("table"));
!b.node.isEditable(c.target)||e&&"false"===e.getAttribute("contenteditable")?b.toolbar.disable():b.toolbar.enable();if(c.target&&c.target!==b.el||0===d.length)return!0;d[0].offsetHeight+d[0].offsetTop<=c.offsetY?p(d[d.length-1])&&(f?b.$el.append("<".concat(f,">").concat(a.MARKERS,"<br></").concat(f,">")):b.$el.append("".concat(a.MARKERS,"<br>")),b.selection.restore(),w()):10>=c.offsetY&&p(d[0])&&(f?b.$el.prepend("<".concat(f,">").concat(a.MARKERS,"<br></").concat(f,">")):b.$el.prepend("".concat(a.MARKERS,
"<br>")),b.selection.restore(),w())}function l(){E&&clearTimeout(E)}var q=b.$,X=!1,S,E,oa;return{_init:function(){b.events.on("keydown",A);b.events.on("input",f);b.events.on("mousedown",k);b.events.on("keyup input",M);b.events.on("keypress",J);b.events.on("keydown",C);b.events.on("keyup",v);b.events.on("destroy",l);b.events.on("html.inserted",v);b.events.on("cut",m);if(b.opts.multiLine)b.events.on("click",x)},ctrlKey:t,isCharacter:r,isArrow:F,forceUndo:function(){E&&(clearTimeout(E),b.undo.saveStep(),
oa=null)},isIME:function(){return X},isBrowserAction:function(b){var c=b.which;return t(b)||c===a.KEYCODE.F5},positionCaret:w}};Object.assign(a.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1});a.MODULES.paste=function(b){function c(a,c){try{b.win.localStorage.setItem("fr-copied-html",a),b.win.localStorage.setItem("fr-copied-text",c)}catch(W){}}function e(a){var d=b.html.getSelected();c(d,M(b.doc.createElement("div")).html(d).text());
"cut"===a.type&&(b.undo.saveStep(),setTimeout(function(){b.selection.save();b.html.wrap();b.selection.restore();b.events.focus();b.undo.saveStep()},0))}function g(a){if("INPUT"===a.target.nodeName&&"text"===a.target.type)return!0;if(b.edit.isDisabled()||f(a.target)||S)return!1;a.originalEvent&&(a=a.originalEvent);if(a&&a.clipboardData&&a.clipboardData.getData&&((a.clipboardData||window.clipboardData).getData("text/html")||"").match('content="Microsoft OneNote'))return!1;if(!1===b.events.trigger("paste.before",
[a]))return a.preventDefault(),!1;if(a&&a.clipboardData&&a.clipboardData.getData){var c="",d=a.clipboardData.types;if(b.helpers.isArray(d))for(var e=0;e<d.length;e++)c+="".concat(d[e],";");else c=d;p="";/text\/rtf/.test(c)&&(x=a.clipboardData.getData("text/rtf"));/text\/html/.test(c)&&!b.browser.safari?p=a.clipboardData.getData("text/html"):/text\/rtf/.test(c)&&b.browser.safari?p=x:/public.rtf/.test(c)&&b.browser.safari&&(p=a.clipboardData.getData("text/rtf"));l=a.clipboardData.getData("text");if(""!==
p)return C(),a.preventDefault&&(a.stopPropagation(),a.preventDefault()),!1;p=null}k();return!1}function f(b){return b&&"false"===b.contentEditable}function m(c){c.originalEvent&&(c=c.originalEvent);if(f(c.target))return!1;if(c&&c.dataTransfer&&c.dataTransfer.getData){var d="",e=c.dataTransfer.types;if(b.helpers.isArray(e))for(var g=0;g<e.length;g++)d+="".concat(e[g],";");else d=e;p="";/text\/rtf/.test(d)&&(x=c.dataTransfer.getData("text/rtf"));/text\/html/.test(d)?p=c.dataTransfer.getData("text/html"):
/text\/rtf/.test(d)&&b.browser.safari?p=x:/text\/plain/.test(d)&&!this.browser.mozilla&&(p=b.html.escapeEntities(c.dataTransfer.getData("text/plain")).replace(/\n/g,"<br>"));if(""!==p){if(b.keys.forceUndo(),X=b.snapshot.get(),b.selection.save(),b.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper"),d=b.markers.insertAtPoint(c),b.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),b.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),
b.selection.restore(),b.selection.remove(),b.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==d)return d=b.el.querySelector(".fr-marker"),M(d).replaceWith(a.MARKERS),b.selection.restore(),C(),c.preventDefault&&(c.stopPropagation(),c.preventDefault()),!1}else p=null}}function J(b){return b.nodeType===Node.TEXT_NODE?b.parentNode.offsetTop:b.offsetTop}function k(){b.selection.save();b.events.disableBlur();p=null;if(q){q.html("");var a=J(b.selection.get().anchorNode)+
b.$wp.offset().top;q.css("top",a);b.browser.edge&&b.opts.iframe&&b.$el.append(q)}else{a=document.getElementsByTagName("BODY")[0];a=window.getComputedStyle(a).transform;if("none"!==a){var c=J(b.selection.get().anchorNode)+b.$wp.offset().top;q=M('<div contenteditable="true" style="position: fixed; top: '+c+'px; left: -9999px; height: 100%; width: 0; word-break: break-all; overflow:hidden; z-index: 2147483647; line-height: 140%; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text;" tabIndex="-1"></div>')}else q=
M('<div contenteditable="true" style="position: fixed; top: 0; left: -9999px; height: 100%; width: 0; word-break: break-all; overflow:hidden; z-index: 2147483647; line-height: 140%; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text;" tabIndex="-1"></div>');b.browser.webkit||b.browser.mozilla?("none"===a&&q.css("top",b.$sc.scrollTop()),b.$el.after(q)):b.browser.edge&&b.opts.iframe?b.$el.append(q):b.$box.after(q);b.events.on("destroy",function(){q.remove()})}var d;
b.helpers.isIOS()&&b.$sc&&(d=b.$sc.scrollTop());b.opts.iframe&&b.$el.attr("contenteditable","false");q.focus();b.helpers.isIOS()&&b.$sc&&b.$sc.scrollTop(d);b.win.setTimeout(C,1)}function n(a){var c;a=a.replace(/<p(.*?)class="?'?MsoListParagraph"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li>$3</li></ul>");a=a.replace(/<p(.*?)class="?'?NumberedText"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li>$3</li></ol>");a=a.replace(/<p(.*?)class="?'?MsoListParagraphCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,
"<ul><li$3>$5</li>");a=a.replace(/<p(.*?)class="?'?NumberedTextCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li$3>$5</li>");a=a.replace(/<p(.*?)class="?'?MsoListParagraphCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>");a=a.replace(/<p(.*?)class="?'?NumberedTextCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>");a=a.replace(/<p(.*?)class="?'?MsoListBullet"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>");
a=a.replace(/<p(.*?)class="?'?MsoListParagraphCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ul>");a=a.replace(/<p(.*?)class="?'?NumberedTextCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ol>");a=a.replace(/<span([^<]*?)style="?'?mso-list:Ignore"?'?([\s\S]*?)>([\s\S]*?)<span/gi,"<span><span");a=a.replace(/\x3c!--\[if !supportLists\]--\x3e([\s\S]*?)\x3c!--\[endif\]--\x3e/gi,"");a=a.replace(/<!\[if !supportLists\]>([\s\S]*?)<!\[endif\]>/gi,
"");a=a.replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ");a=a.replace(/\x3c!--[\s\S]*?--\x3e/gi,"");a=a.replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>/gi,"");var d="style script applet embed noframes noscript".split(" ");for(c=0;c<d.length;c++){var f=new RegExp("<".concat(d[c],".*?").concat(d[c],"(.*?)>"),"gi");a=a.replace(f,"")}a=a.replace(/ /gi," ");a=a.replace(/<td([^>]*)><\/td>/g,"<td$1><br></td>");a=a.replace(/<th([^>]*)><\/th>/g,"<th$1><br></th>");do c=a,a=a.replace(/<[^/>][^>]*><\/[^>]+>/gi,
"");while(a!==c);a=a.replace(/<lilevel([^1])([^>]*)>/gi,'<li data-indent="true"$2>');a=a.replace(/<lilevel1([^>]*)>/gi,"<li$1>");a=b.clean.html(a,b.opts.pasteDeniedTags,b.opts.pasteDeniedAttrs);a=a.replace(/<a>(.[^<]+)<\/a>/gi,"$1");a=a.replace(/<br> */g,"<br>");d=b.o_doc.createElement("div");d.innerHTML=a;a=d.querySelectorAll("li[data-indent]");for(c=0;c<a.length;c++){f=a[c];var e=f.previousElementSibling;if(e&&"LI"===e.tagName){var g=e.querySelector(":scope > ul, :scope > ol");g||(g=document.createElement("ul"),
e.appendChild(g));g.appendChild(f)}else f.removeAttribute("data-indent")}b.html.cleanBlankSpaces(d);return a=d.innerHTML}function z(a){function c(a){a=b.node.contents(a);for(var d=0;d<a.length;d++)a[d].nodeType!==Node.TEXT_NODE&&a[d].nodeType!==Node.ELEMENT_NODE?a[d].parentNode.removeChild(a[d]):c(a[d])}var d=null,f=b.doc.createElement("div");f.innerHTML=a;var e=f.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(a=0;a<e.length;a++)d=e[a],d.innerText&&(d.outerHTML="<".concat(b.html.defaultTag()||
"DIV",">").concat(d.innerText,"</").concat(b.html.defaultTag()||"DIV",">"));e=f.querySelectorAll("*:not(".concat("p; div; h1; h2; h3; h4; h5; h6; pre; blockquote; ul; ol; li; table; tbody; thead; tr; td; br; img".split(";").join("):not("),")"));for(a=e.length-1;0<=a;a--)d=e[a],d.outerHTML=d.innerHTML;c(f);return f.innerHTML}function C(){b.opts.iframe&&b.$el.attr("contenteditable","true");b.browser.edge&&b.opts.iframe&&b.$box.after(q);X||(b.keys.forceUndo(),X=b.snapshot.get());p||(p=q.get(0).innerHTML,
l=q.text(),b.selection.restore(),b.events.enableBlur());var a=p.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),c=b.events.chainTrigger("paste.beforeCleanup",p);c&&"string"===typeof c&&(p=c);(!a||a&&!1!==b.events.trigger("paste.wordPaste",[p]))&&v(p,a)}function w(){var a=null;try{a=b.win.localStorage.getItem("fr-copied-text")}catch(oa){}return a&&l&&(l.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")===a.replace(/\u00A0/gi,
" ").replace(/\r|\n/gi,"")||l.replace(/\s/g,"")===a.replace(/\s/g,""))?!0:!1}function H(b){for(var a="",c=0;c++<b;)a+=" ";return a}function v(c,d,f){var e=null,g=null;if(0<=c.toLowerCase().indexOf("<body")){var h="";0<=c.indexOf("<style")&&(h=c.replace(/[.\s\S\w\W<>]*(<style[^>]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1"));c=h+c.replace(/[.\s\S\w\W<>]*<body[^>]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1");c=c.replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(b){return b.replace(/\n/g,
"<br />")});c=c.replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}e=!1;0<=c.indexOf('id="docs-internal-guid')&&(c=c.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),e=!0);if(0<=c.indexOf('content="Sheets"')||0<=c.indexOf("google-sheets-html-origin"))c=c.replace(/width:0px;/g,"");h=!1;d||((h=w())&&(c=b.win.localStorage.getItem("fr-copied-html")),h?c=b.clean.html(c,b.opts.pasteDeniedTags,b.opts.pasteDeniedAttrs):(g=b.opts.htmlAllowedStyleProps,
b.opts.htmlAllowedStyleProps=b.opts.pasteAllowedStyleProps,b.opts.htmlAllowComments=!1,c=c.replace(/<span class="Apple-tab-span">\s*<\/span>/g,H(b.opts.tabSpaces||4)),c=c.replace(/<span class="Apple-tab-span" style="white-space:pre">(\t*)<\/span>/g,function(a,c){return H(c.length*(b.opts.tabSpaces||4))}),c=c.replace(/\t/g,H(b.opts.tabSpaces||4)),c=b.clean.html(c,b.opts.pasteDeniedTags,b.opts.pasteDeniedAttrs),b.opts.htmlAllowedStyleProps=g,b.opts.htmlAllowComments=!0,b.html.defaultTag()&&"div"===
b.html.defaultTag()||(c=F(c)),c=c.replace(/\r/g,""),c=c.replace(/^ */g,"").replace(/ *$/g,"")));!d||b.wordPaste&&f||(c=c.replace(/^\n*/g,"").replace(/^ /g,""),0===c.indexOf("<colgroup>")&&(c="<table>".concat(c,"</table>")),c=n(c),c=F(c));b.opts.pastePlain&&(c=z(c));d=b.events.chainTrigger("paste.afterCleanup",c);"string"===typeof d&&(c=d);if(""!==c){d=b.o_doc.createElement("div");d.innerHTML=c;0<=c.indexOf("<body>")?(b.html.cleanBlankSpaces(d),b.spaces.normalize(d,!0)):b.spaces.normalize(d);f=d.getElementsByTagName("span");
for(c=f.length-1;0<=c;c--)g=f[c],0===g.attributes.length&&(g.outerHTML=g.innerHTML);if(!0===b.opts.linkAlwaysBlank)for(f=d.getElementsByTagName("a"),c=f.length-1;0<=c;c--)g=f[c],g.getAttribute("target")||g.setAttribute("target","_blank");c=b.selection.element();f=!1;c&&M(c).parentsUntil(b.el,"ul, ol").length&&(f=!0);f&&(c=d.children,1===c.length&&0<=["OL","UL"].indexOf(c[0].tagName)&&(c[0].outerHTML=c[0].innerHTML));if(!e)for(e=d.getElementsByTagName("br"),c=e.length-1;0<=c;c--)f=e[c],b.node.isBlock(f.previousSibling)&&
f.parentNode.removeChild(f);if(b.opts.enter===a.ENTER_BR)for(e=d.querySelectorAll("p, div"),c=e.length-1;0<=c;c--)g=e[c],0===g.attributes.length&&(g.outerHTML=g.innerHTML+(g.nextSibling&&!b.node.isEmpty(g)?"<br>":""));else if(b.opts.enter===a.ENTER_DIV)for(e=d.getElementsByTagName("p"),c=e.length-1;0<=c;c--)g=e[c],0===g.attributes.length&&(g.outerHTML="<div>".concat(g.innerHTML,"</div>"));else b.opts.enter===a.ENTER_P&&1===d.childNodes.length&&"P"===d.childNodes[0].tagName&&0===d.childNodes[0].attributes.length&&
(d.childNodes[0].outerHTML=d.childNodes[0].innerHTML);if(d.children&&0<d.children.length)if(b.opts.trackChangesEnabled)for(e=0;e<d.children.length;e++)d.children[e].setAttribute("id","isPasted");else d.children[0].setAttribute("id","isPasted");c=d.innerHTML;h&&(c=r(c));b.html.insert(c,!0)}b.events.trigger("paste.after");b.undo.saveStep(X);X=null;b.undo.saveStep()}function t(b){for(var a=b.length-1;0<=a;a--)b[a].attributes&&b[a].attributes.length&&b.splice(a,1);return b}function F(a){var c=b.o_doc.createElement("div");
c.innerHTML=a;for(var d=t(Array.prototype.slice.call(c.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));d.length;)a=d[d.length-1],b.html.defaultTag()&&"div"!==b.html.defaultTag()?a.querySelector(b.html.blockTagsQuery())?a.outerHTML=a.innerHTML:a.outerHTML="<".concat(b.html.defaultTag(),">").concat(a.innerHTML,"</").concat(b.html.defaultTag(),">"):(d=a.querySelectorAll("*"),a.outerHTML=!d.length||"BR"!==d[d.length-1].tagName&&0===
a.innerText.length?a.innerHTML+(a.nextSibling?"<br>":""):!d.length||"BR"!==d[d.length-1].tagName||d[d.length-1].nextSibling?a.innerHTML+(a.nextSibling?"<br>":""):a.innerHTML),d=t(Array.prototype.slice.call(c.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));for(d=t(Array.prototype.slice.call(c.querySelectorAll("div:not([style])")));d.length;){for(a=0;a<d.length;a++){var f=d[a],e=f.innerHTML.replace(/\u0009/gi,"").trim();f.outerHTML=
e}d=t(Array.prototype.slice.call(c.querySelectorAll("div:not([style])")))}return c.innerHTML}function r(c){var d=b.o_doc.createElement("div");d.innerHTML=c;for(var f=d.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(a.VOID_ELEMENTS.join("):not("),"):not(").concat(b.opts.htmlAllowedEmptyTags.join("):not("),")"));f.length;){for(c=0;c<f.length;c++)f[c].parentNode.removeChild(f[c]);f=d.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(a.VOID_ELEMENTS.join("):not("),
"):not(").concat(b.opts.htmlAllowedEmptyTags.join("):not("),")"))}return d.innerHTML}function A(){b.el.removeEventListener("copy",e);b.el.removeEventListener("cut",e);b.el.removeEventListener("paste",g)}var M=b.$,p,x,l,q,X,S=!1;return{_init:function(){b.el.addEventListener("copy",e);b.el.addEventListener("cut",e);b.el.addEventListener("paste",g,{capture:!0});b.events.on("drop",m);b.browser.msie&&11>b.browser.version&&(b.events.on("mouseup",function(b){2===b.button&&(setTimeout(function(){S=!1},50),
S=!0)},!0),b.events.on("beforepaste",g));b.events.on("destroy",A)},cleanEmptyTagsAndDivs:F,getRtfClipboard:function(){return x},saveCopiedText:c,clean:v}};Object.assign(a.DEFAULTS,{shortcutsEnabled:[],shortcutsHint:!0});a.SHORTCUTS_MAP={};a.RegisterShortcut=function(b,c,e,g,f,m){a.SHORTCUTS_MAP[(f?"^":"")+(m?"@":"")+b]={cmd:c,val:e,letter:g,shift:f,option:m};a.DEFAULTS.shortcutsEnabled.push(c)};a.RegisterShortcut(a.KEYCODE.E,"show",null,"E",!1,!1);a.RegisterShortcut(a.KEYCODE.B,"bold",null,"B",!1,
!1);a.RegisterShortcut(a.KEYCODE.I,"italic",null,"I",!1,!1);a.RegisterShortcut(a.KEYCODE.U,"underline",null,"U",!1,!1);a.RegisterShortcut(a.KEYCODE.S,"strikeThrough",null,"S",!1,!1);a.RegisterShortcut(a.KEYCODE.CLOSE_SQUARE_BRACKET,"indent",null,"]",!1,!1);a.RegisterShortcut(a.KEYCODE.OPEN_SQUARE_BRACKET,"outdent",null,"[",!1,!1);a.RegisterShortcut(a.KEYCODE.Z,"undo",null,"Z",!1,!1);a.RegisterShortcut(a.KEYCODE.Z,"redo",null,"Z",!0,!1);a.RegisterShortcut(a.KEYCODE.Y,"redo",null,"Y",!1,!1);a.MODULES.shortcuts=
function(b){function c(c){if(!b.core.hasFocus())return!0;var d=c.which,f=-1!==navigator.userAgent.indexOf("Mac OS X")?c.metaKey:c.ctrlKey;if("keyup"===c.type&&g&&d!==a.KEYCODE.META)return g=!1;"keydown"===c.type&&(g=!1);d=(c.shiftKey?"^":"")+(c.altKey?"@":"")+d;var e=b.node.blockParent(b.selection.blocks()[0]);e&&"TR"==e.tagName&&void 0==e.getAttribute("contenteditable")&&(e=e.closest("table"));if(f&&a.SHORTCUTS_MAP[d]&&(!e||"false"!==e.getAttribute("contenteditable"))&&(f=a.SHORTCUTS_MAP[d].cmd)&&
0<=b.opts.shortcutsEnabled.indexOf(f))if(!1!==b.events.trigger("shortcut",[c,f,a.SHORTCUTS_MAP[d].val])){if(f&&(b.commands[f]||a.COMMANDS[f]&&a.COMMANDS[f].callback))return c.preventDefault(),c.stopPropagation(),"keydown"===c.type&&((b.commands[f]||a.COMMANDS[f].callback)(),g=!0),!1}else return g=!0,!1}var e=null,g=!1;return{_init:function(){b.events.on("keydown",c,!0);b.events.on("keyup",c,!0)},get:function(c){if(!b.opts.shortcutsHint)return null;if(!e){e={};for(var d in a.SHORTCUTS_MAP)Object.prototype.hasOwnProperty.call(a.SHORTCUTS_MAP,
d)&&0<=b.opts.shortcutsEnabled.indexOf(a.SHORTCUTS_MAP[d].cmd)&&(e["".concat(a.SHORTCUTS_MAP[d].cmd,".").concat(a.SHORTCUTS_MAP[d].val||"")]={shift:a.SHORTCUTS_MAP[d].shift,option:a.SHORTCUTS_MAP[d].option,letter:a.SHORTCUTS_MAP[d].letter})}return(c=e[c])?(b.helpers.isMac()?String.fromCharCode(8984):"".concat(b.language.translate("Ctrl"),"+"))+(c.shift?b.helpers.isMac()?String.fromCharCode(8679):"".concat(b.language.translate("Shift"),"+"):"")+(c.option?b.helpers.isMac()?String.fromCharCode(8997):
"".concat(b.language.translate("Alt"),"+"):"")+c.letter:null}}};a.MODULES.snapshot=function(b){function a(b){for(var a=b.parentNode.childNodes,c=0,d=null,f=0;f<a.length;f++){if(d){var e=d.nodeType===Node.TEXT_NODE&&a[f].nodeType===Node.TEXT_NODE;d=d.nodeType===Node.TEXT_NODE&&""===d.textContent;a[f].nodeType===Node.TEXT_NODE&&""===a[f].textContent||e||d||c++}if(a[f]===b)return c;d=a[f]}}function c(c){var d=[];if(!c.parentNode)return[];for(;!b.node.isElement(c);)d.push(a(c)),c=c.parentNode;return d.reverse()}
function e(b,a){for(;b&&b.nodeType===Node.TEXT_NODE;)(b=b.previousSibling)&&b.nodeType===Node.TEXT_NODE&&(a+=b.textContent.length);return a}function f(b){return{scLoc:c(b.startContainer),scOffset:e(b.startContainer,b.startOffset),ecLoc:c(b.endContainer),ecOffset:e(b.endContainer,b.endOffset)}}function g(a){for(var c=b.el,d=0;d<a.length;d++)c=c.childNodes[a[d]];return c}return{get:function(){var a={};b.events.trigger("snapshot.before");a.html=(b.$wp?b.$el.html():b.$oel.get(0).outerHTML).replace(/ style=""/g,
"");a.ranges=[];if(b.$wp&&b.selection.inEditor()&&b.core.hasFocus())for(var c=b.selection.ranges(),d=0;d<c.length;d++)a.ranges.push(f(c[d]));b.events.trigger("snapshot.after",[a]);return a},restore:function(a){b.$el.html()!==a.html&&(b.opts.htmlExecuteScripts?b.$el.html(a.html):b.el.innerHTML=a.html);var c=b.selection.get();b.selection.clear();b.events.focus(!0);for(var d=0;d<a.ranges.length;d++){var f=c,e=a.ranges[d];try{var h=g(e.scLoc),m=e.scOffset,u=g(e.ecLoc),k=e.ecOffset,n=b.doc.createRange();
n.setStart(h,m);n.setEnd(u,k);f.addRange(n)}catch(la){}}},equal:function(a,c){return a.html!==c.html||b.core.hasFocus()&&JSON.stringify(a.ranges)!==JSON.stringify(c.ranges)?!1:!0}}};a.MODULES.undo=function(b){function c(c){var d=c.which;b.keys.ctrlKey(c)&&(d===a.KEYCODE.Z&&c.shiftKey&&c.preventDefault(),d===a.KEYCODE.Z&&c.preventDefault())}function e(){if(b.undo_stack&&!b.undoing)for(;b.undo_stack.length>b.undo_index;)b.undo_stack.pop()}function g(){b.undo_index=0;b.undo_stack=[]}function f(){b.undo_stack=
[]}var m=null;return{_init:function(){g();b.events.on("initialized",function(){m=(b.$wp?b.$el.html():b.$oel.get(0).outerHTML).replace(/ style=""/g,"")});b.events.on("blur",function(){b.el.querySelector(".fr-dragging")||b.undo.saveStep()});b.events.on("keydown",c);b.events.on("destroy",f)},run:function(){if(1<b.undo_index){b.undoing=!0;var a=b.undo_stack[--b.undo_index-1];clearTimeout(b._content_changed_timer);b.snapshot.restore(a);m=a.html;b.popups.hideAll();b.toolbar.enable();b.events.trigger("contentChanged");
b.events.trigger("commands.undo");b.undoing=!1;b.selection.restore()}},redo:function(){if(b.undo_index<b.undo_stack.length){b.undoing=!0;var a=b.undo_stack[b.undo_index++];clearTimeout(b._content_changed_timer);b.snapshot.restore(a);m=a.html;b.popups.hideAll();b.toolbar.enable();b.events.trigger("contentChanged");b.events.trigger("commands.redo");b.undoing=!1}},canDo:function(){return 0===b.undo_stack.length||1>=b.undo_index?!1:!0},canRedo:function(){return b.undo_index===b.undo_stack.length?!1:!0},
dropRedo:e,reset:g,saveStep:function(a){if(b.undo_stack&&!b.undoing&&!b.el.querySelector(".fr-marker"))if("undefined"===typeof a){if(a=b.snapshot.get(),!(a&&a.html&&b.undo_stack[b.undo_stack.length-1]&&a.html===b.undo_stack[b.undo_stack.length-1].html||b.undo_stack[b.undo_index-1]&&b.snapshot.equal(b.undo_stack[b.undo_index-1],a))){e();b.undo_stack.push(a);b.undo_index++;var c=m,d=a.html.split("fr-selected-cell").join("");d=d.split(' class=""').join("");c=c.split("fr-selected-cell").join("");c=c.split(' class=""').join("");
d!==c&&(b.events.trigger("contentChanged"),m=a.html)}}else e(),0<b.undo_index?b.undo_stack[b.undo_index-1]=a:(b.undo_stack.push(a),b.undo_index++)}}};Object.assign(a.DEFAULTS,{height:null,heightMax:null,heightMin:null,width:null});a.MODULES.size=function(b){function a(){c();b.opts.height&&b.$el.css("minHeight",b.opts.height-b.helpers.getPX(b.$el.css("padding-top"))-b.helpers.getPX(b.$el.css("padding-bottom")));var a=!1;if(b.opts.fullPage)for(var d=b.$el.find("span,p,div"),e=0;e<d.length;e++)if(d[e].style.height&&
d[e].style.height.includes("vh")){a=!0;break}b.opts.fullPage&&a&&(b.opts.heightMin&&b.$iframe.css("minHeight",b.opts.heightMin),b.opts.heightMax&&b.$iframe.css("maxHeight",b.opts.heightMax),b.$el.css("overflow-y","auto"));b.$iframe.height(b.$el.outerHeight(!0))}function c(){b.opts.heightMin?b.$el.css("minHeight",b.opts.heightMin):b.$el.css("minHeight","");b.opts.heightMax?(b.$wp.css("maxHeight",b.opts.heightMax),b.$wp.css("overflow","auto")):(b.$wp.css("maxHeight",""),b.$wp.css("overflow",""));b.opts.height?
(b.$wp.css("height",b.opts.height),b.$wp.css("overflow","auto"),b.$el.css("minHeight",b.opts.height-b.helpers.getPX(b.$el.css("padding-top"))-b.helpers.getPX(b.$el.css("padding-bottom")))):(b.$wp.css("height",""),b.opts.heightMin||b.$el.css("minHeight",""),b.opts.heightMax||b.$wp.css("overflow",""));b.opts.width&&b.$box.width(b.opts.width)}return{_init:function(){if(!b.$wp)return!1;c();b.$iframe&&(b.events.on("keyup keydown",function(){setTimeout(a,0)},!0),b.events.on("commands.after html.set init initialized paste.after",
a))},syncIframe:a,refresh:c}};Object.assign(a.DEFAULTS,{documentReady:!1,editorClass:null,typingTimer:500,iframe:!1,requestWithCORS:!0,requestWithCredentials:!1,requestHeaders:{},useClasses:!0,spellcheck:!0,iframeDefaultStyle:'html{margin:0px;height:auto;}body{height:auto;padding:20px;background:transparent;color:#000000;position:relative;z-index: 2;-webkit-user-select:auto;margin:0px;overflow:hidden;min-height:20px;}body:after{content:"";display:block;clear:both;}body::-moz-selection{background:#b5d6fd;color:#000;}body::selection{background:#b5d6fd;color:#000;}',
iframeStyle:"",iframeStyleFiles:[],direction:"auto",zIndex:1,tabIndex:null,disableRightClick:!1,scrollableContainer:"body",keepFormatOnDelete:!1,theme:null});a.MODULES.core=function(b){function c(){b.$box.addClass("fr-box".concat(b.opts.editorClass?" ".concat(b.opts.editorClass):""));b.$box.attr("role","application");b.$wp.addClass("fr-wrapper");b.opts.documentReady&&b.$box.addClass("fr-document");b.opts.iframe||b.$el.addClass("fr-element fr-view");if(b.opts.iframe){b.$iframe.addClass("fr-iframe");
b.$el.addClass("fr-view");for(var a=0;a<b.o_doc.styleSheets.length;a++){var c=void 0;try{c=b.o_doc.styleSheets[a].cssRules}catch(ka){}if(c)for(var d=0,e=c.length;d<e;d++)c[d].selectorText&&(0===c[d].selectorText.indexOf(".fr-view")||0===c[d].selectorText.indexOf(".fr-element"))&&0<c[d].style.cssText.length&&(0===c[d].selectorText.indexOf(".fr-view")?b.opts.iframeStyle+="".concat(c[d].selectorText.replace(/\.fr-view/g,"body"),"{").concat(c[d].style.cssText,"}"):b.opts.iframeStyle+="".concat(c[d].selectorText.replace(/\.fr-element/g,
"body"),"{").concat(c[d].style.cssText,"}"))}}"auto"!==b.opts.direction&&b.$box.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(b.opts.direction));b.$el.attr("dir",b.opts.direction);b.$wp.attr("dir",b.opts.direction);1<b.opts.zIndex&&b.$box.css("z-index",b.opts.zIndex);b.opts.theme&&b.$box.addClass("".concat(b.opts.theme,"-theme"));b.opts.tabIndex=b.opts.tabIndex||b.$oel.attr("tabIndex");b.opts.tabIndex&&b.$el.attr("tabIndex",b.opts.tabIndex)}var e=b.$;return{_init:function(){a.INSTANCES.push(b);
b.drag_support={filereader:"undefined"!==typeof FileReader,formdata:!!b.win.FormData,progress:"upload"in new XMLHttpRequest};if(b.$wp){c();b.html.set(b._original_html);b.$el.attr("spellcheck",b.opts.spellcheck);b.helpers.isMobile()&&(b.$el.attr("autocomplete",b.opts.spellcheck?"on":"off"),b.$el.attr("autocorrect",b.opts.spellcheck?"on":"off"),b.$el.attr("autocapitalize",b.opts.spellcheck?"on":"off"));b.opts.disableRightClick&&b.events.$on(b.$el,"contextmenu",function(b){if(2===b.button)return b.preventDefault(),
b.stopPropagation(),!1});try{b.doc.execCommand("styleWithCSS",!1,!1)}catch(u){}}"TEXTAREA"===b.$oel.get(0).tagName&&(b.events.on("contentChanged",function(){b.$oel.val(b.html.get())}),b.events.on("form.submit",function(){b.$oel.val(b.html.get())}),b.events.on("form.reset",function(){b.html.set(b._original_html)}),b.$oel.val(b.html.get()));b.helpers.isIOS()&&b.events.$on(b.$doc,"selectionchange",function(){b.$doc.get(0).hasFocus()||b.$win.get(0).focus()});b.events.trigger("init");if(b.opts.autofocus&&
!b.opts.initOnClick&&b.$wp)b.events.on("initialized",function(){b.events.focus(!0)})},destroy:function(a){"TEXTAREA"===b.$oel.get(0).tagName&&b.$oel.val(a);b.$box&&b.$box.removeAttr("role");b.$wp&&("TEXTAREA"===b.$oel.get(0).tagName?(b.$el.html(""),b.$wp.html(""),b.$box.replaceWith(b.$oel),b.$oel.show()):(b.$wp.replaceWith(a),b.$el.html(""),b.$box.removeClass("fr-view fr-ltr fr-box ".concat(b.opts.editorClass||"")),b.opts.theme&&b.$box.addClass("".concat(b.opts.theme,"-theme"))));this.$box=this.el=
this.$el=this.$wp=null},isEmpty:function(){return b.node.isEmpty(b.el)},getXHR:function(a,c){var d=new XMLHttpRequest;d.open(c,a,!0);b.opts.requestWithCredentials&&(d.withCredentials=!0);for(var f in b.opts.requestHeaders)Object.prototype.hasOwnProperty.call(b.opts.requestHeaders,f)&&d.setRequestHeader(f,b.opts.requestHeaders[f]);return d},injectStyle:function(a){if(b.opts.iframe)for(b.$head.find("style[data-fr-style], link[data-fr-style]").remove(),b.$head.append('<style data-fr-style="true">'.concat(a,
"</style>")),a=0;a<b.opts.iframeStyleFiles.length;a++){var c=e('<link data-fr-style="true" rel="stylesheet" href="'.concat(b.opts.iframeStyleFiles[a],'">'));c.get(0).addEventListener("load",b.size.syncIframe);b.$head.append(c)}},hasFocus:function(){return b.browser.mozilla&&b.helpers.isMobile()?b.selection.inEditor():b.node.hasFocus(b.el)||0<b.$el.find("*:focus").length},sameInstance:function(a){return a?(a=a.data("instance"))?a.id===b.id:!1:!1}}};a.POPUP_TEMPLATES={"text.edit":"[_EDIT_]"};a.RegisterTemplate=
function(b,c){a.POPUP_TEMPLATES[b]=c};a.MODULES.popups=function(b){function c(a,c){c.isVisible()||(c=b.$sc);c.is(p[a].data("container"))||(p[a].data("container",c),c.append(p[a]))}function e(a){a.find(".fr-upload-progress").addClass("fr-height-set");a.find(".fr-upload-progress").removeClass("fr-height-auto");b.popups.get("filesManager.insert").removeClass("fr-height-auto");var c;a.find(".fr-files-upload-layer").hasClass("fr-active")?c=1:"";a.find(".fr-files-by-url-layer").hasClass("fr-active")?c=
2:"";a.find(".fr-files-embed-layer").hasClass("fr-active")?c=3:"";a.find(".fr-upload-progress-layer").get(0).clientHeight+10<a.find(".fr-upload-progress").get(0).clientHeight&&a.find(".fr-upload-progress").addClass("fr-height-auto");400<a[0].clientHeight&&(a[0].childNodes[4].style.height="".concat(a[0].clientHeight-(a[0].childNodes[0].clientHeight+a[0].childNodes[c].clientHeight)-80,"px"))}function g(){A(this).toggleClass("fr-not-empty",!0)}function f(){var b=A(this);b.toggleClass("fr-not-empty",
""!==b.val())}function m(b){for(var a=0;a<b.length;a++){var c=A(b[a]);0===c.next().length&&c.attr("placeholder")&&(c.after('<label for="'.concat(c.attr("id"),'">').concat(c.attr("placeholder"),"</label>")),c.attr("placeholder",""))}}function k(a){return p[a]&&b.node.hasClass(p[a],"fr-active")&&b.core.sameInstance(p[a])||!1}function n(b){for(var a in p)if(Object.prototype.hasOwnProperty.call(p,a)&&k(a)&&("undefined"===typeof b||p[a].data("instance")===b))return p[a];return!1}function z(a){var c=null;
c="string"!==typeof a?a:p[a];if("filesManager.insert"===a&&void 0!==b.filesManager&&b.filesManager.isChildWindowOpen())return!1;if(c&&b.node.hasClass(c,"fr-active")&&(c.removeClass("fr-active fr-above"),b.events.trigger("popups.hide.".concat(a)),b.$tb&&(1<b.opts.zIndex?b.$tb.css("zIndex",b.opts.zIndex+1):b.$tb.css("zIndex","")),b.events.disableBlur(),c.find("input, textarea, button").each(function(){this===this.ownerDocument.activeElement&&this.blur()}),c.find("input, textarea").attr("disabled","disabled"),
x))for(a=0;a<x.length;a++)A(x[a]).removeClass("fr-btn-active-popup")}function H(b){"undefined"===typeof b&&(b=[]);for(var a in p)Object.prototype.hasOwnProperty.call(p,a)&&0>b.indexOf(a)&&z(a)}function C(){b.shared.exit_flag=!0}function w(){b.shared.exit_flag=!1}function v(c,d){var f;if(f=a.POPUP_TEMPLATES[c]){"function"===typeof f&&(f=f.apply(b));for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(f=f.replace("[_".concat(e.toUpperCase(),"_]"),d[e]))}else f=null;d=A(b.doc.createElement("DIV"));
if(!f)return"filesManager.insert"===c?d.addClass("fr-popup fr-files-manager fr-empty"):d.addClass("fr-popup fr-empty"),f=A("body").first(),f.append(d),d.data("container",f),p[c]=d;"filesManager.insert"===c?d.addClass("fr-popup fr-files-manager".concat(b.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(b.opts.toolbarInline?" fr-inline":"")):d.addClass("fr-popup".concat(b.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(b.opts.toolbarInline?" fr-inline":""));d.html(f);b.opts.theme&&d.addClass("".concat(b.opts.theme,
"-theme"));1<b.opts.zIndex&&(!b.opts.editInPopup&&b.$tb?b.$tb.css("z-index",b.opts.zIndex+2):d.css("z-index",b.opts.zIndex+2));"auto"!==b.opts.direction&&d.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(b.opts.direction));d.find("input, textarea").attr("dir",b.opts.direction).attr("disabled","disabled");f=A("body").first();f.append(d);d.data("container",f);p[c]=d;c=d.find(".fr-color-hex-layer");if(0<c.length){f=b.helpers.getPX(d.find(".fr-color-set > span").css("width"));e=b.helpers.getPX(c.css("paddingLeft"));
var g=b.helpers.getPX(c.css("paddingRight"));c.css("width",f*b.opts.colorsStep+e+g)}b.button.bindCommands(d,!1);return d}function F(c){var d=p[c];return{_windowResize:function(){var a=d.data("instance")||b;if(!a.helpers.isMobile()&&d.isVisible()){var f=d.find(".fr-file-progress-bar-layer");"file.insert"===c&&0<f.length&&f.hasClass("fr-active")?(f=b.$tb.find('.fr-command[data-cmd="insertFile"]'),a.events.disableBlur(),f=b.button.getPosition(f),b.position.at(f.left,f.top,p[c],0)):(a.events.disableBlur(),
a.popups.hide(c));a.events.enableBlur()}},_inputFocus:function(a){var c=d.data("instance")||b,f=A(a.currentTarget);f.is("input:file")&&f.closest(".fr-layer").addClass("fr-input-focus");a.preventDefault();a.stopPropagation();setTimeout(function(){c.events.enableBlur()},100);if(c.helpers.isMobile()){var e=A(c.o_win).scrollTop();setTimeout(function(){A(c.o_win).scrollTop(e)},0)}},_inputBlur:function(a){var c=d.data("instance")||b;a=A(a.currentTarget);a.is("input:file")&&a.closest(".fr-layer").removeClass("fr-input-focus");
document.activeElement!==this&&A(this).isVisible()&&(c.events.blurActive()&&c.events.trigger("blur"),c.events.enableBlur())},_editorKeydown:function(f){var e=d.data("instance")||b;e.keys.ctrlKey(f)||f.which===a.KEYCODE.ALT||f.which===a.KEYCODE.ESC||(k(c)&&d.findVisible(".fr-back").length?e.button.exec(d.findVisible(".fr-back").first()):f.which!==a.KEYCODE.ALT&&e.popups.hide(c))},_preventFocus:function(a){var c=d.data("instance")||b,f=a.originalEvent?a.originalEvent.target||a.originalEvent.originalTarget:
null;"mouseup"===a.type||A(f).is(":focus")||c.events.disableBlur();"mouseup"!==a.type||A(f).hasClass("fr-command")||0<A(f).parents(".fr-command").length||A(f).hasClass("fr-dropdown-content")||b.button.hideActiveDropdowns(d);(b.browser.safari||b.browser.mozilla)&&"mousedown"===a.type&&A(f).is("input[type=file]")&&c.events.disableBlur();if(f&&!A(f).is("input, textarea, button, select, label, .fr-command")&&0===A(f).parents("input, textarea, button, select, label, .fr-command").length)return a.stopPropagation(),
!1;f&&A(f).is("input, textarea, button, select, label, .fr-command")&&a.stopPropagation();w()},_editorMouseup:function(){d.isVisible()&&b.shared.exit_flag&&0<d.findVisible("input:focus, textarea:focus, button:focus, select:focus").length&&b.events.disableBlur()},_windowMouseup:function(a){if(!b.core.sameInstance(d))return!0;var f=d.data("instance")||b;d.isVisible()&&b.shared.exit_flag&&(a.stopPropagation(),f.markers.remove(),f.popups.hide(c),w())},_windowKeydown:function(f){if(!b.core.sameInstance(d))return!0;
var e=d.data("instance")||b;if(a.KEYCODE.ESC===f.which){if(e.popups.isVisible(c)&&e.opts.toolbarInline)return f.stopPropagation(),e.popups.isVisible(c)&&(d.findVisible(".fr-back").length?(e.button.exec(d.findVisible(".fr-back").first()),e.accessibility.focusPopupButton(d)):d.findVisible(".fr-dismiss").length?e.button.exec(d.findVisible(".fr-dismiss").first()):(e.popups.hide(c),e.toolbar.showInline(null,!0),e.accessibility.focusPopupButton(d))),!1;if(e.popups.isVisible(c))return d.findVisible(".fr-back").length?
(e.button.exec(d.findVisible(".fr-back").first),e.accessibility.focusPopupButton(d)):d.findVisible(".fr-dismiss").length?e.button.exec(d.findVisible(".fr-dismiss").first()):(e.popups.hide(c),e.accessibility.focusPopupButton(d)),!1}},_repositionPopup:function(){if(!b.opts.height&&!b.opts.heightMax||b.opts.toolbarInline)return!0;if(b.$wp&&k(c)&&d.parent().get(0)===b.$sc.get(0)){var a=d.offset().top-b.$wp.offset().top,f=b.$wp.outerHeight();b.node.hasClass(d.get(0),"fr-above")&&(a+=d.outerHeight());a>
f||0>a?d.addClass("fr-hidden"):d.removeClass("fr-hidden")}},handleWindowClick:function(a){if(!b.core.sameInstance(d))return!0;var f=d.data("instance")||b;d.isVisible()&&a.target&&(0<A(a.target).find("body").length||"BODY"===A(a.target)[0].tagName)&&(a.stopPropagation(),f.popups.hide(c))}}}function t(a,c){b.events.on("mouseup",a._editorMouseup,!0);if(b.$wp)b.events.on("keydown",a._editorKeydown);b.events.on("focus",function(){p[c].removeClass("focused")});b.events.on("blur",function(){n()&&b.markers.remove();
b.helpers.isMobile()?p[c].hasClass("focused")?(H(),p[c].removeClass("focused")):p[c].addClass("focused"):p[c].find("iframe").length||H()});b.$wp&&!b.helpers.isMobile()&&b.events.$on(b.$wp,"scroll.popup".concat(c),a._repositionPopup);b.events.on("window.mouseup",a._windowMouseup,!0);b.events.on("window.keydown",a._windowKeydown,!0);b.opts.iframe&&window.addEventListener("click",a.handleWindowClick);p[c].data("inst".concat(b.id),!0);b.events.on("destroy",function(){b.core.sameInstance(p[c])&&(A("body").first().append(p[c]),
p[c].removeClass("fr-active"))},!0)}function r(){var b=A(this).prev().children().first();b.attr("checked",!b.attr("checked"))}function M(){for(var b in p)if(Object.prototype.hasOwnProperty.call(p,b)){var a=p[b];a&&(a.html("").removeData().remove(),p[b]=null)}p=[]}var A=b.$,D;b.shared.popups||(b.shared.popups={});var p=b.shared.popups,x,l=2E3;b.shared.exit_flag=!1;return{_init:function(){D=window.innerHeight;b.events.on("shared.destroy",M,!0);b.events.on("window.mousedown",C);b.events.on("window.touchmove",
w);b.events.$on(A(b.o_win),"scroll",w);b.events.on("mousedown",function(a){n()&&(a.stopPropagation(),b.$el.find(".fr-marker").remove(),C(),b.events.disableBlur())})},create:function(a,c){c=v(a,c);var d=F(a);t(d,a);b.events.$on(c,"mousedown mouseup touchstart touchend touch","*",d._preventFocus,!0);b.events.$on(c,"focus","input, textarea, button, select",d._inputFocus,!0);b.events.$on(c,"blur","input, textarea, button, select",d._inputBlur,!0);var e=c.find("input, textarea");m(e);b.events.$on(e,"focus",
g);b.events.$on(e,"blur change",f);b.events.$on(c,"click",".fr-checkbox + label",r);b.accessibility.registerPopup(a);b.helpers.isIOS()&&b.events.$on(c,"touchend","label",function(){A("#".concat(A(this).attr("for"))).prop("checked",function(b,a){return!a})},!0);b.events.$on(A(b.o_win),"resize",d._windowResize,!0);"filesManager.insert"===a&&p["filesManager.insert"].css("zIndex",2147483641);return c},get:function(a){var c=p[a];if(c&&!c.data("inst".concat(b.id))){var d=F(a);t(d,a)}return c},show:function(a,
d,f,e,g){k(a)||(n()&&0<b.$el.find(".fr-marker").length?(b.events.disableBlur(),b.selection.restore()):n()||(b.events.disableBlur(),b.events.focus(),b.events.enableBlur()));H([a]);if(!p[a])return!1;var h=b.button.getButtons(".fr-dropdown.fr-active");h.removeClass("fr-active").attr("aria-expanded",!1).parents(".fr-toolbar").css("zIndex","").find("> .fr-dropdown-wrapper").css("height","");h.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height","");p[a].data("instance",
b);b.$tb&&b.$tb.data("instance",b);h=k(a);p[a].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var l=p[a].data("container"),q=l;q.isVisible()||(q=b.$sc);q.contains([p[a].get(0)])||q.append(p[a]);b.opts.toolbarInline&&l&&b.$tb&&l.get(0)===b.$tb.get(0)&&(c(a,b.$sc),f=b.$tb.offset().top-b.helpers.getPX(b.$tb.css("margin-top")),d=b.$tb.offset().left+b.$tb.outerWidth()/2,b.node.hasClass(b.$tb.get(0),"fr-above")&&f&&(f+=b.$tb.outerHeight()),e=0);l=p[a].data("container");
if(b.opts.iframe&&!e&&!h){q=b.helpers.getPX(b.$wp.find(".fr-iframe").css("padding-top"));var m=b.helpers.getPX(b.$wp.find(".fr-iframe").css("padding-left"));d&&(d-=b.$iframe.offset().left+m);f&&(f-=b.$iframe.offset().top+q)}l.is(b.$tb)?b.$tb.css("zIndex",(b.opts.zIndex||1)+4):p[a].css("zIndex",(b.opts.zIndex||1)+3);b.opts.toolbarBottom&&l&&b.$tb&&l.get(0)===b.$tb.get(0)&&(p[a].addClass("fr-above"),f&&(f-=p[a].outerHeight()));g&&(d-=p[a].width()/2);d+p[a].outerWidth()>b.$sc.offset().left+b.$sc.width()&&
(d-=d+p[a].outerWidth()-b.$sc.offset().left-b.$sc.width());d<b.$sc.offset().left&&"rtl"===b.opts.direction&&(d=b.$sc.offset().left);p[a].removeClass("fr-active");b.position.at(d,f,p[a],e||0);(d=b.node.blockParent(b.selection.blocks()[0]))&&"false"===d.getAttribute("contenteditable")?p[a].removeClass("fr-active"):(d=b.selection.element().parentElement.getAttribute("contenteditable"))&&"false"===d?p[a].removeClass("fr-active"):p[a].addClass("fr-active");h||b.accessibility.focusPopup(p[a]);b.opts.toolbarInline&&
b.toolbar.hide();b.$tb&&(x=b.$tb.find(".fr-btn-active-popup"));b.events.trigger("popups.show.".concat(a));F(a)._repositionPopup();w()},hide:z,onHide:function(a,c){b.events.on("popups.hide.".concat(a),c)},hideAll:H,setContainer:c,refresh:function(a){p[a].data("instance",b);b.events.trigger("popups.refresh.".concat(a));a=p[a].find(".fr-command");for(var c=0;c<a.length;c++){var d=A(a[c]);0===d.parents(".fr-dropdown-menu").length&&b.button.refresh(d)}},onRefresh:function(a,c){b.events.on("popups.refresh.".concat(a),
c)},onShow:function(a,c){b.events.on("popups.show.".concat(a),c)},isVisible:k,setFileListHeight:e,areVisible:n,setPopupDimensions:function(a,c){c&&a.find(".fr-upload-progress-layer").get(0).clientHeight<l&&(a.find(".fr-upload-progress").addClass("fr-height-auto"),b.popups.get("filesManager.insert").addClass("fr-height-auto"),a.find(".fr-upload-progress").removeClass("fr-height-set"),l=2E3);a.get(0).clientHeight>window.innerHeight/2&&(500>window.innerWidth?a.get(0).clientHeight>.6*D&&e(a):400<a.get(0).clientHeight&&
e(a),l=a.find(".fr-upload-progress-layer").get(0).clientHeight);c=window.innerWidth;switch(!0){case 320>=c:a.width(200);break;case 420>=c:a.width(250);break;case 520>=c:a.width(300);break;case 720>=c:a.width(400);break;case 720<c:a.width(530)}}}};a.MODULES.accessibility=function(b){function c(a){for(var c=b.$el.find('[contenteditable="true"]'),d=!1,f=0;c.get(f);)p(c.get(f)).is(":focus")&&(d=!0),f++;a&&a.length&&!d&&(a.data("blur-event-set")||a.parents(".fr-popup").length||(b.events.$on(a,"blur",function(){var c=
a.parents(".fr-toolbar, .fr-popup").data("instance")||b;c.events.blurActive()&&!b.core.hasFocus()&&c.events.trigger("blur");setTimeout(function(){c.events.enableBlur()},100)},!0),a.data("blur-event-set",!0)),c=a.parents(".fr-toolbar, .fr-popup").data("instance")||b,b.browser.safari&&(b.shared.safariSelection=b.selection.get().getRangeAt(0).cloneRange()),c.events.disableBlur(),a.get(0).focus(),b.shared.$f_el=a)}function e(b,a){a=a?"last":"first";b=z(H(b))[a]();if(b.length)return c(b),!0}function g(a){a.is("input, textarea, select")&&
m();b.events.disableBlur();a.get(0).focus();return!0}function f(a,c){var d=a.find("input, textarea, button, select").filter(function(){return p(this).isVisible()}).not(":disabled");d=c?d.last():d.first();if(d.length)return g(d);if(b.shared.with_kb){c=a.findVisible(".fr-active-item").first();if(c.length)return g(c);a=a.findVisible("[tabIndex]").first();if(a.length)return g(a)}}function m(){0===b.$el.find(".fr-marker").length&&b.core.hasFocus()&&b.selection.save()}function k(){var a=b.popups.areVisible();
if(a){var c=a.find(".fr-buttons");return c.find("button:focus, .fr-group span:focus").length?!e(a.data("instance").$tb):!e(c)}return!e(b.$tb)}function n(){var a=null;b.shared.$f_el.is(".fr-dropdown.fr-active")?a=b.shared.$f_el:b.shared.$f_el.closest(".fr-dropdown-menu").prev().is(".fr-dropdown.fr-active")&&(a=b.shared.$f_el.closest(".fr-dropdown-menu").prev());return a}function z(a){for(var c=-1,d=0;d<a.length;d++)p(a[d]).hasClass("fr-open")&&(c=d);var f=a.index(b.$tb.find(".fr-more-toolbar.fr-expanded > button.fr-command").first());
if(0<f&&-1!==c){d=a.slice(f,a.length);a=a.slice(0,f);f=a.slice(0,c+1);c=a.slice(c+1,a.length);a=f;for(f=0;f<d.length;f++)a.push(d[f]);for(d=0;d<c.length;d++)a.push(c[d])}return a}function H(b){return b.findVisible("button:not(.fr-disabled), .fr-group span.fr-command").filter(function(b){b=p(b).parents(".fr-more-toolbar");return 0===b.length||0<b.length&&b.hasClass("fr-expanded")})}function C(a,d,g){if(b.shared.$f_el){var h=n();h&&(b.button.click(h),b.shared.$f_el=h);h=z(H(a));var l=h.index(b.shared.$f_el);
if(0===l&&!g||l===h.length-1&&g){if(d){if(a.parent().is(".fr-popup")){var m=a.parent().children().not(".fr-buttons");m=!f(m,!g)}!1===m&&(b.shared.$f_el=null)}d&&!1===m||e(a,!g)}else c(p(h.get(l+(g?1:-1))));return!1}}function w(a){if(b.shared.$f_el){if(b.shared.$f_el.is(".fr-dropdown.fr-active")){var d=a?b.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").first():b.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").last();c(d);return!1}if(b.shared.$f_el.is("a.fr-command"))return d=a?
b.shared.$f_el.closest("li").nextAllVisible().first().find(".fr-command:not(.fr-disabled)").first():b.shared.$f_el.closest("li").prevAllVisible().first().find(".fr-command:not(.fr-disabled)").first(),d.length||(d=a?b.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").first():b.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").last()),c(d),!1}}function v(){if(b.shared.$f_el){if(b.shared.$f_el.hasClass("fr-dropdown"))b.button.click(b.shared.$f_el);
else if(b.shared.$f_el.is("button.fr-back")){b.opts.toolbarInline&&(b.events.disableBlur(),b.events.focus());var a=b.popups.areVisible(b);a&&(b.shared.with_kb=!1);b.button.click(b.shared.$f_el);M(a)}else{b.events.disableBlur();b.button.click(b.shared.$f_el);if(b.shared.$f_el.attr("data-group-name")){a=b.$tb.find('.fr-more-toolbar[data-name="'.concat(b.shared.$f_el.attr("data-group-name"),'"]'));var d=b.shared.$f_el;a.hasClass("fr-expanded")&&(d=a.findVisible("button:not(.fr-disabled)").first());d&&
c(d)}else b.shared.$f_el.attr("data-popup")?(a=b.popups.areVisible(b))&&a.data("popup-button",b.shared.$f_el):b.shared.$f_el.attr("data-modal")&&(a=b.modals.areVisible(b))&&a.data("modal-button",b.shared.$f_el);b.shared.$f_el=null}return!1}}function F(){b.shared.$f_el&&(b.events.disableBlur(),b.shared.$f_el.blur(),b.shared.$f_el=null);!1!==b.events.trigger("toolbar.focusEditor")&&(b.events.disableBlur(),b.$el.get(0).focus(),b.events.focus())}function t(a){a&&a.length&&(b.events.$on(a,"keydown",function(c){if(!p(c.target).is("a.fr-command, button.fr-command, .fr-group span.fr-command"))return!0;
var d=a.parents(".fr-popup").data("instance")||a.data("instance")||b;b.shared.with_kb=!0;if(b.browser.safari&&b.shared.safariSelection){var f=b.shared.safariSelection,e=f.startContainer,g=f.endContainer,h=f.startOffset;f=f.endOffset;var l=b.doc.createRange();l.setStart(e,h);l.setEnd(g,f);b.selection.get().addRange(l)}c=d.accessibility.exec(c,a);b.shared.with_kb=!1;return c},!0),b.events.$on(a,"mouseenter","[tabIndex]",function(c){var d=a.parents(".fr-popup").data("instance")||a.data("instance")||
b;x?(c=p(c.currentTarget),d.shared.$f_el&&d.shared.$f_el.not(c)&&d.accessibility.focusEditor()):(c.stopPropagation(),c.preventDefault())},!0),b.$tb&&b.events.$on(b.$tb,"transitionend",".fr-more-toolbar",function(){b.shared.$f_el=p(document.activeElement)}))}function r(c){var d=b.popups.get(c);return{_tiKeydown:function(g){var h=d.data("instance")||b;if(!1===h.events.trigger("popup.tab",[g]))return!1;var l=g.which,m=d.find(":focus").first();if(a.KEYCODE.TAB===l){g.preventDefault();l=d.children().not(".fr-buttons");
m=l.findVisible("input, textarea, button, select").not(".fr-no-touch input, .fr-no-touch textarea, .fr-no-touch button, .fr-no-touch select, :disabled").toArray();var u=m.indexOf(this)+(g.shiftKey?-1:1);if(0<=u&&u<m.length)return h.events.disableBlur(),p(m[u]).focus(),g.stopPropagation(),!1;h=d.find(".fr-buttons");if(h.length&&e(h,!!g.shiftKey)||f(l))return g.stopPropagation(),!1}else if(a.KEYCODE.ENTER===l&&g.target&&"TEXTAREA"!==g.target.tagName)l=null,0<d.findVisible(".fr-submit").length?l=d.findVisible(".fr-submit").first():
d.findVisible(".fr-dismiss").length&&(l=d.findVisible(".fr-dismiss").first()),l&&(g.preventDefault(),g.stopPropagation(),h.events.disableBlur(),h.button.exec(l));else{if(a.KEYCODE.ESC===l)return g.preventDefault(),g.stopPropagation(),h.accessibility.restoreSelection(),h.popups.isVisible(c)&&d.findVisible(".fr-back").length?(h.opts.toolbarInline&&(h.events.disableBlur(),h.events.focus()),h.button.exec(d.findVisible(".fr-back").first()),M(d)):h.popups.isVisible(c)&&d.findVisible(".fr-dismiss").length?
h.button.exec(d.findVisible(".fr-dismiss").first()):(h.popups.hide(c),h.opts.toolbarInline&&h.toolbar.showInline(null,!0),M(d)),!1;if(a.KEYCODE.SPACE===l&&(m.is(".fr-submit")||m.is(".fr-dismiss")))return g.preventDefault(),g.stopPropagation(),h.events.disableBlur(),h.button.exec(m),!0;if(h.keys.isBrowserAction(g))g.stopPropagation();else if(m.is("input[type=text], textarea"))g.stopPropagation();else if(a.KEYCODE.SPACE===l&&(m.is(".fr-link-attr")||m.is("input[type=file]")))g.stopPropagation();else return g.stopPropagation(),
g.preventDefault(),!1}},_tiMouseenter:function(){var a=d.data("instance")||b;A(a)}}}function M(b){var a=b.data("popup-button");a&&setTimeout(function(){c(a);b.data("popup-button",null)},0)}function A(a){(a=b.popups.areVisible(a))&&a.data("popup-button",null)}function D(c){var d=-1!==navigator.userAgent.indexOf("Mac OS X")?c.metaKey:c.ctrlKey;if(c.which===a.KEYCODE.F10&&!d&&!c.shiftKey&&c.altKey){b.shared.with_kb=!0;d=b.popups.areVisible(b);var e=!1;d&&(e=f(d.children().not(".fr-buttons")));e||k();
b.shared.with_kb=!1;c.preventDefault();c.stopPropagation();return!1}return!0}var p=b.$,x=!0;return{_init:function(){if(b.$wp)b.events.on("keydown",D,!0);else b.events.$on(b.$win,"keydown",D,!0);b.events.on("mousedown",function(a){A(b);b.shared.$f_el&&b.el.isSameNode(b.shared.$f_el[0])&&(b.accessibility.restoreSelection(),a.stopPropagation(),b.events.disableBlur(),b.shared.$f_el=null)},!0);b.events.on("blur",function(){b.shared.$f_el=null;A(b)},!0)},registerPopup:function(a){var c=b.popups.get(a),
d=r(a);t(c.find(".fr-buttons"));b.events.$on(c,"mouseenter","tabIndex",d._tiMouseenter,!0);b.events.$on(c.children().not(".fr-buttons"),"keydown","[tabIndex]",d._tiKeydown,!0);b.popups.onHide(a,function(){(c.data("instance")||b).accessibility.restoreSelection()});b.popups.onShow(a,function(){x=!1;setTimeout(function(){x=!0},0)})},registerToolbar:t,focusToolbarElement:c,focusToolbar:e,focusContent:f,focusPopup:function(a){var c=a.children().not(".fr-buttons");c.data("mouseenter-event-set")||(b.events.$on(c,
"mouseenter","[tabIndex]",function(d){var f=a.data("instance")||b;x?(d=c.find(":focus").first(),d.length&&!d.is("input, button, textarea, select")&&(f.events.disableBlur(),d.blur(),f.events.disableBlur(),f.events.focus())):(d.stopPropagation(),d.preventDefault())}),c.data("mouseenter-event-set",!0));!f(c)&&b.shared.with_kb&&e(a.find(".fr-buttons"))},focusModal:function(a){b.core.hasFocus()||(b.events.disableBlur(),b.events.focus());b.accessibility.saveSelection();b.events.disableBlur();b.el.blur();
b.selection.clear();b.events.disableBlur();b.shared.with_kb?a.find(".fr-command[tabIndex], [tabIndex]").first().focus():a.find("[tabIndex]").first().focus()},focusEditor:F,focusPopupButton:M,focusModalButton:function(b){var a=b.data("modal-button");a&&setTimeout(function(){c(a);b.data("modal-button",null)},0)},hasFocus:function(){return null!==b.shared.$f_el},exec:function(d,f){var e=-1!==navigator.userAgent.indexOf("Mac OS X")?d.metaKey:d.ctrlKey,g=d.which,h=!1;g!==a.KEYCODE.TAB||e||d.shiftKey||
d.altKey?g!==a.KEYCODE.ARROW_RIGHT||e||d.shiftKey||d.altKey?g!==a.KEYCODE.TAB||e||!d.shiftKey||d.altKey?g!==a.KEYCODE.ARROW_LEFT||e||d.shiftKey||d.altKey?g!==a.KEYCODE.ARROW_UP||e||d.shiftKey||d.altKey?g!==a.KEYCODE.ARROW_DOWN||e||d.shiftKey||d.altKey?g!==a.KEYCODE.ENTER&&g!==a.KEYCODE.SPACE||e||d.shiftKey||d.altKey?g!==a.KEYCODE.ESC||e||d.shiftKey||d.altKey?g!==a.KEYCODE.F10||e||d.shiftKey||!d.altKey||(h=k()):b.shared.$f_el?((e=n())?(b.button.click(e),c(e)):f.parent().findVisible(".fr-back").length?
(b.shared.with_kb=!1,b.opts.toolbarInline&&(b.events.disableBlur(),b.events.focus()),b.button.exec(f.parent().findVisible(".fr-back")).first(),M(f.parent())):b.shared.$f_el.is("button, .fr-group span")&&(f.parent().is(".fr-popup")?(b.accessibility.restoreSelection(),b.shared.$f_el=null,!1!==b.events.trigger("toolbar.esc")&&(b.popups.hide(f.parent()),b.opts.toolbarInline&&b.toolbar.showInline(null,!0),M(f.parent()))):F()),h=!1):h=void 0:h=v():h=b.shared.$f_el&&b.shared.$f_el.is(".fr-dropdown:not(.fr-active)")?
v():w(!0):h=w():h=C(f,void 0):h=C(f,!0):h=C(f,void 0,!0):h=C(f,!0,!0);b.shared.$f_el||"undefined"!==typeof h||(h=!0);!h&&b.keys.isBrowserAction(d)&&(h=!0);if(h)return!0;d.preventDefault();d.stopPropagation();return!1},saveSelection:m,restoreSelection:function(){b.$el.find(".fr-marker").length&&(b.events.disableBlur(),b.selection.restore(),b.events.enableBlur())}}};Object.assign(a.DEFAULTS,{tooltips:!0});a.MODULES.tooltip=function(b){function a(){b.helpers.isMobile()||b.$tooltip&&b.$tooltip.removeClass("fr-visible").css("left",
"-3000px").css("position","fixed")}function c(a,c){if(!b.helpers.isMobile()){var d=a.attr("id")&&a.attr("id").split("-")[0],g=a.attr("title");if("trackChanges"===d)g=b.opts.trackChangesEnabled?"Disable Track Changes":"Enable Track Changes";else if("showChanges"===d)g=b.opts.showChangesEnabled?"Hide Changes":"Show Changes";else if(("applyAll"===d||"removeAll"===d||"applyLast"===d||"removeLast"===d)&&0===b.track_changes.getPendingChanges().length)return;a.data("title",g);a.data("title")&&(b.$tooltip||
e(),a.removeAttr("title"),b.$tooltip.text(b.language.translate(a.data("title"))),b.$tooltip.addClass("fr-visible"),d=a.offset().left+(a.outerWidth()-b.$tooltip.outerWidth())/2,0>d&&(d=0),d+b.$tooltip.outerWidth()>f(b.o_win).width()&&(d=f(b.o_win).width()-b.$tooltip.outerWidth()),"undefined"===typeof c&&(c=b.opts.toolbarBottom),a.offset().top-f(window).scrollTop()+a.outerHeight()+10>=f(window).height()&&(c=!0),a=c?a.offset().top-b.$tooltip.height():a.offset().top+a.outerHeight(),b.$tooltip.css("position",
""),b.$tooltip.css("left",d),b.$tooltip.css("top",Math.ceil(a)),"static"!==f(b.o_doc).find("body").first().css("position")?(b.$tooltip.css("margin-left",-f(b.o_doc).find("body").first().offset().left),b.$tooltip.css("margin-top",-f(b.o_doc).find("body").first().offset().top)):(b.$tooltip.css("margin-left",""),b.$tooltip.css("margin-top","")))}}function e(){b.opts.tooltips&&!b.helpers.isMobile()&&(b.shared.$tooltip?b.$tooltip=b.shared.$tooltip:(b.shared.$tooltip=f(b.doc.createElement("DIV")).addClass("fr-tooltip"),
b.$tooltip=b.shared.$tooltip,b.opts.theme&&b.$tooltip.addClass("".concat(b.opts.theme,"-theme")),f(b.o_doc).find("body").first().append(b.$tooltip)),b.events.on("shared.destroy",function(){b.$tooltip.html("").removeData().remove();b.$tooltip=null},!0))}var f=b.$;return{hide:a,to:c,bind:function(d,e,g){b.opts.tooltips&&!b.helpers.isMobile()&&(b.events.$on(d,"mouseover",e,function(a){b.node.hasClass(a.currentTarget,"fr-disabled")||b.edit.isDisabled()||c(f(a.currentTarget),g)},!0),b.events.$on(d,"mouseout ".concat(b._mousedown,
" ").concat(b._mouseup),e,function(){a()},!0))}}};a.TOOLBAR_VISIBLE_BUTTONS=3;a.MODULES.button=function(b){function c(b,a,c){for(var d=M(),f=0;f<b.length;f++){var e=M(b[f]);e.is(a)&&(d=d.add(e));c&&e.is(".fr-dropdown")&&(e=e.next().find(a),d=d.add(e))}return d}function e(a,d){var f=M(),e;if(!a)return f;f=f.add(c(A,a,d));f=f.add(c(D,a,d));for(e in b.shared.popups)Object.prototype.hasOwnProperty.call(b.shared.popups,e)&&(d=b.shared.popups[e].children().find(a),f=f.add(d));for(e in b.shared.modals)Object.prototype.hasOwnProperty.call(b.shared.modals,
e)&&(d=b.shared.modals[e].$modal.find(a),f=f.add(d));return f}function g(b,a,c){a>=c&&(b.parent().css("overflow","auto"),b.parent().css("overflow-x","hidden"));b.css("height",Math.min(a,c))}function f(c){var d=c.next(),f=b.node.hasClass(c.get(0),"fr-active"),h=e(".fr-dropdown.fr-active").not(c),m=c.parents(".fr-toolbar, .fr-popup").data("instance")||b;m.helpers.isIOS()&&!m.el.querySelector(".fr-marker")&&(m.selection.save(),m.selection.clear(),m.selection.restore());d.parents(".fr-more-toolbar").addClass("fr-overflow-visible");
var u=0,x=0,k=d.find("> .fr-dropdown-wrapper");f||(u=c.data("cmd"),d.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),a.COMMANDS[u]&&a.COMMANDS[u].refreshOnShow&&a.COMMANDS[u].refreshOnShow.apply(m,[c,d]),d.css("left",c.offset().left-c.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===b.opts.direction?d.width()-c.outerWidth():0)),d.addClass("test-height"),u=d.outerHeight(),x=b.helpers.getPX(k.css("max-height")),d.removeClass("test-height"),d.css("top","").css("bottom",
""),m=c.outerHeight()/10,!b.opts.toolbarBottom&&d.offset().top+c.outerHeight()+u<M(b.o_doc).height()?d.css("top",c.position().top+c.outerHeight()-m):(m=0,f=c.parents(".fr-more-toolbar"),0<f.length&&(m=f.first().height()),d.css("bottom",c.parents(".fr-popup, .fr-toolbar").first().height()-m-c.position().top)));c.addClass("fr-blink").toggleClass("fr-active");c.hasClass("fr-options")&&c.prev().toggleClass("fr-expanded");c.hasClass("fr-active")?(d.attr("aria-hidden",!1),c.attr("aria-expanded",!0),g(k,
u,x)):(d.attr("aria-hidden",!0).css("overflow",""),c.attr("aria-expanded",!1),k.css("height",""));setTimeout(function(){c.removeClass("fr-blink")},300);d.css("margin-left","");d.offset().left+d.outerWidth()>b.$sc.offset().left+b.$sc.width()&&d.css("margin-left",-(d.offset().left+d.outerWidth()-b.$sc.offset().left-b.$sc.width()));d.offset().left<b.$sc.offset().left&&"rtl"===b.opts.direction&&d.css("margin-left",b.$sc.offset().left);h.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",
!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height","");h.prev(".fr-expanded").removeClass("fr-expanded");h.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","");0!==c.parents(".fr-popup").length||b.opts.toolbarInline||(b.node.hasClass(c.get(0),"fr-active")?b.$tb.css("zIndex",(b.opts.zIndex||1)+4):b.$tb.css("zIndex",""));d=d.find("a.fr-command.fr-active").first();b.helpers.isMobile()||(d.length?(b.accessibility.focusToolbarElement(d),k.scrollTop(Math.abs(d.parents(".fr-dropdown-content").offset().top-
d.offset().top)-d.offset().top)):(b.accessibility.focusToolbarElement(c),k.scrollTop(0)))}function m(b){b.addClass("fr-blink");setTimeout(function(){b.removeClass("fr-blink")},500);for(var a=b.data("cmd"),c=[];"undefined"!==typeof b.data("param".concat(c.length+1));)c.push(b.data("param".concat(c.length+1)));var d=e(".fr-dropdown.fr-active");d.length&&(d.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),
d.prev(".fr-expanded").removeClass("fr-expanded"),d.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""));b.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(a,c)}function k(c){var d=c.parents(".fr-popup, .fr-toolbar").data("instance");0===c.parents(".fr-popup").length&&c.data("popup")&&!c.hasClass("fr-btn-active-popup")&&c.addClass("fr-btn-active-popup");0!==c.parents(".fr-popup").length||c.data("popup")||d.popups.hideAll();if(d.popups.areVisible()&&!d.popups.areVisible(d)){for(var e=
0;e<a.INSTANCES.length;e++)a.INSTANCES[e]!==d&&a.INSTANCES[e].popups&&a.INSTANCES[e].popups.areVisible()&&a.INSTANCES[e].$el.find(".fr-marker").remove();d.popups.hideAll()}b.node.hasClass(c.get(0),"fr-dropdown")?f(c):(m(c),a.COMMANDS[c.data("cmd")]&&!1!==a.COMMANDS[c.data("cmd")].refreshAfterCallback&&d.button.bulkRefresh())}function n(b){b=M(b.currentTarget);k(b)}function z(b){b=b.find(".fr-dropdown.fr-active");b.length&&(b.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",
!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),b.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),b.prev().removeClass("fr-expanded"))}function H(b){b.preventDefault();b.stopPropagation()}function C(a){a.stopPropagation();if(!b.helpers.isMobile())return!1}function w(a){var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=2<arguments.length?arguments[2]:void 0;if(b.helpers.isMobile()&&!1===c.showOnMobile)return"";var f=c.displaySelection;"function"===typeof f&&
(f=f(b));var e="";"options"!==c.type&&(f?(e="function"===typeof c.defaultSelection?c.defaultSelection(b):c.defaultSelection,e='<span style="width:'.concat(c.displaySelectionWidth||100,'px">').concat(b.language.translate(e||c.title),"</span>")):(e=b.icon.create(c.icon||a),e+='<span class="fr-sr-only">'.concat(b.language.translate(c.title)||"","</span>")));var g=c.popup?' data-popup="true"':"",h=c.modal?' data-modal="true"':"",m=b.shortcuts.get("".concat(a,"."));m=m?" (".concat(m,")"):"";f="".concat(a,
"-").concat(b.id);var u="dropdown-menu-".concat(f);e='<button id="'.concat(f,'"').concat(c.more_btn?' data-group-name="'.concat(f,'" '):"",'type="button" tabIndex="-1" role="button"').concat(c.toggle?' aria-pressed="false"':"").concat("dropdown"===c.type||"options"===c.type?' aria-controls="'.concat(u,'" aria-expanded="false" aria-haspopup="true"'):"").concat(c.disabled?' aria-disabled="true"':"",' title="').concat(b.language.translate(c.title)||"").concat(m,'" class="fr-command fr-btn').concat("dropdown"===
c.type||"options"==c.type?" fr-dropdown":"").concat("options"==c.type?" fr-options":"").concat("more"==c.type?" fr-more":"").concat(c.displaySelection?" fr-selection":"").concat(c.back?" fr-back":"").concat(c.disabled?" fr-disabled":"").concat(d?"":" fr-hidden",'" data-cmd="').concat(a,'"').concat(g).concat(h,">").concat(e,"</button>");if("dropdown"===c.type||"options"===c.type){f='<div id="'.concat(u,'" class="fr-dropdown-menu" role="listbox" aria-labelledby="').concat(f,'" aria-hidden="true"><div class="fr-dropdown-wrapper" role="presentation"><div class="fr-dropdown-content" role="presentation">');
u="";if(c.html)u="function"===typeof c.html?u+c.html.call(b):u+c.html;else{g=c.options;"function"===typeof g&&(g=g());u+='<ul class="fr-dropdown-list" role="presentation">';for(var k in g)Object.prototype.hasOwnProperty.call(g,k)&&((h=b.shortcuts.get("".concat(a,".").concat(k)))&&'<span class="fr-shortcut">'.concat(h,"</span>"),u+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="'.concat("options"===c.type?a.replace(/Options/g,""):a,'" data-param1="').concat(k,
'" title="').concat(g[k],'">').concat(b.language.translate(g[k]),"</a></li>"));u+="</ul>"}e+=f+u+"</div></div></div>"}c.hasOptions&&c.hasOptions.apply(b)&&(e='<div class="fr-btn-wrap">'.concat(e," ").concat(w(a+"Options",Object.assign({},c,{type:"options",hasOptions:!1}),d)," </div>"));return e}function v(c){var d=b.$tb?b.$tb.data("instance")||b:b;if(!1===b.events.trigger("buttons.refresh"))return!0;setTimeout(function(){for(var f=d.selection.inEditor()&&d.core.hasFocus(),e=0;e<c.length;e++){var g=
M(c[e]),h=g.data("cmd");0===g.parents(".fr-popup").length?f||a.COMMANDS[h]&&a.COMMANDS[h].forcedRefresh?d.button.refresh(g):b.node.hasClass(g.get(0),"fr-dropdown")||(g.removeClass("fr-active"),g.attr("aria-pressed")&&g.attr("aria-pressed",!1)):g.parents(".fr-popup").isVisible()&&d.button.refresh(g)}},0)}function F(){v(A);v(D)}function t(){A=[];D=[]}function r(){clearTimeout(p);p=setTimeout(F,50)}var M=b.$,A=[];if(b.opts.toolbarInline||b.opts.toolbarContainer)b.shared.buttons||(b.shared.buttons=[]),
A=b.shared.buttons;var D=[];b.shared.popup_buttons||(b.shared.popup_buttons=[]);D=b.shared.popup_buttons;var p=null;return{_init:function(){if(b.opts.toolbarInline)b.events.on("toolbar.show",F);else b.events.on("mouseup",r),b.events.on("keyup",r),b.events.on("blur",r),b.events.on("focus",r),b.events.on("contentChanged",r),b.helpers.isMobile()&&b.events.$on(b.$doc,"selectionchange",F);b.events.on("shared.destroy",t)},build:w,buildList:function(c,d){for(var f="",e=0;e<c.length;e++){var g=c[e],h=a.COMMANDS[g];
if(!(h&&"undefined"!==typeof h.plugin&&0>b.opts.pluginsEnabled.indexOf(h.plugin)))if(h){var l="undefined"!==typeof d?0<=d.indexOf(g):!0;f+=w(g,h,l)}else"|"===g?f+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':"-"===g&&(f+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>')}return f},buildGroup:function(c){var d="",f="",e;for(e in c){var g=c[e];if(g.buttons){for(var h="",m="",u=0,k="left",C=a.TOOLBAR_VISIBLE_BUTTONS,n=0;n<
g.buttons.length;n++){var p=g.buttons[n],x=a.COMMANDS[p];x||("|"==p?h+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':"-"==p&&(h+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>'));!x||x&&"undefined"!==typeof x.plugin&&0>b.opts.pluginsEnabled.indexOf(x.plugin)||(void 0!==c[e].align&&(k=c[e].align),void 0!==c[e].buttonsVisible&&(C=c[e].buttonsVisible),c.showMoreButtons&&u>=C?m+=w(p,x,!0):h+=w(p,x,!0),u++)}c.showMoreButtons&&
u>C&&(g=e,u=a.COMMANDS[g],u.more_btn=!0,h+=w(g,u,!0));"trackChanges"!==e&&(d+='<div class="fr-btn-grp fr-float-'.concat(k,'">').concat(h,"</div>"));c.showMoreButtons&&0<m.length&&(f+='<div class="fr-more-toolbar" data-name="'.concat(e+"-"+b.id,'">').concat(m,"</div>"))}}return b.opts.toolbarBottom?b.helpers.isMobile()?'<div class="fr-bottom-extended">'.concat(f,"</div><div>").concat(d,"</div>"):"".concat(f,'<div class="fr-newline"></div>').concat(d):"".concat(d,'<div class="fr-newline"></div>').concat(f)},
bindCommands:function(c,d){function f(d){if(!d||d.type===b._mouseup&&d.target!==M("html").get(0)||"keydown"===d.type&&(b.keys.isCharacter(d.which)&&!b.keys.ctrlKey(d)||d.which===a.KEYCODE.ESC))z(c),b.opts.iframe&&(d=c.find(".fr-popup.fr-active"),d.length&&(d.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),d.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),d.prev().removeClass("fr-expanded"),d=
b.$tb.find(".fr-btn-active-popup"),M(d[0]).removeClass("fr-btn-active-popup")))}b.events.bindClick(c,".fr-command:not(.fr-disabled)",n);b.events.$on(c,"".concat(b._mousedown," ").concat(b._mouseup," ").concat(b._move),".fr-dropdown-menu",H,!0);b.events.$on(c,"".concat(b._mousedown," ").concat(b._mouseup," ").concat(b._move),".fr-dropdown-menu .fr-dropdown-wrapper",C,!0);var e=c.get(0).ownerDocument;b.events.$on(M("defaultView"in e?e.defaultView:e.parentWindow),"".concat(b._mouseup," resize keydown"),
f,!0);b.opts.iframe&&b.events.$on(b.$win,b._mouseup,f,!0);b.node.hasClass(c.get(0),"fr-popup")?M.merge(D,c.find(".fr-btn").toArray()):M.merge(A,c.find(".fr-btn").toArray());b.tooltip.bind(c,".fr-btn, .fr-title",d)},refresh:function(c){var d=c.parents(".fr-popup, .fr-toolbar").data("instance")||b,f=c.data("cmd");if(b.node.hasClass(c.get(0),"fr-dropdown"))var e=c.next();else c.removeClass("fr-active"),c.attr("aria-pressed")&&c.attr("aria-pressed",!1);if(a.COMMANDS[f]&&a.COMMANDS[f].refresh)a.COMMANDS[f].refresh.apply(d,
[c,e]);else if(b.refresh[f])d.refresh[f](c,e)},bulkRefresh:F,exec:m,click:k,hideActiveDropdowns:z,addButtons:function(b){for(var a=0;a<b.length;a++)A.push(b[a])},getButtons:e,getPosition:function(a){var c=a.offset().left,d=b.opts.toolbarBottom?10:a.outerHeight()-10;a=a.offset().top+d;return{left:c,top:a}}}};a.ICON_TEMPLATES={font_awesome:'<i class="fa fa-[NAME]" aria-hidden="true"></i>',font_awesome_5:'<i class="fas fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5r:'<i class="far fa-[FA5NAME]" aria-hidden="true"></i>',
font_awesome_5l:'<i class="fal fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5b:'<i class="fab fa-[FA5NAME]" aria-hidden="true"></i>',text:'<span style="text-align: center;">[NAME]</span>',image:"<img src=[SRC] alt=[ALT] />",svg:'<svg class="fr-svg" focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="[PATH]"/></svg>',empty:" "};a.ICONS={bold:{NAME:"bold",SVG_KEY:"bold"},italic:{NAME:"italic",SVG_KEY:"italic"},underline:{NAME:"underline",SVG_KEY:"underline"},strikeThrough:{NAME:"strikethrough",
SVG_KEY:"strikeThrough"},subscript:{NAME:"subscript",SVG_KEY:"subscript"},superscript:{NAME:"superscript",SVG_KEY:"superscript"},cancel:{NAME:"cancel",SVG_KEY:"cancel"},color:{NAME:"tint",SVG_KEY:"textColor"},outdent:{NAME:"outdent",SVG_KEY:"outdent"},indent:{NAME:"indent",SVG_KEY:"indent"},undo:{NAME:"rotate-left",FA5NAME:"undo",SVG_KEY:"undo"},redo:{NAME:"rotate-right",FA5NAME:"redo",SVG_KEY:"redo"},insert:{NAME:"insert",SVG_KEY:"insert"},insertAll:{NAME:"insertAll",SVG_KEY:"insertAll"},insertHR:{NAME:"minus",
SVG_KEY:"horizontalLine"},clearFormatting:{NAME:"eraser",SVG_KEY:"clearFormatting"},selectAll:{NAME:"mouse-pointer",SVG_KEY:"selectAll"},minimize:{NAME:"minimize",SVG_KEY:"minimize"},moreText:{NAME:"ellipsis-v",SVG_KEY:"textMore"},moreParagraph:{NAME:"ellipsis-v",SVG_KEY:"paragraphMore"},moreRich:{NAME:"ellipsis-v",SVG_KEY:"insertMore"},moreMisc:{NAME:"ellipsis-v",SVG_KEY:"more"}};a.DefineIconTemplate=function(b,c){a.ICON_TEMPLATES[b]=c};a.DefineIcon=function(b,c){a.ICONS[b]=c};Object.assign(a.DEFAULTS,
{iconsTemplate:"svg"});a.MODULES.icon=function(b){return{create:function(c){var d=null,e=a.ICONS[c];if("undefined"!==typeof e){var f=e.template||a.ICON_DEFAULT_TEMPLATE||b.opts.iconsTemplate;f&&f.apply&&(f=f.apply(b));e.FA5NAME||(e.FA5NAME=e.NAME);"svg"!==f||e.PATH||(e.PATH=a.SVG[e.SVG_KEY]||"");f&&(f=a.ICON_TEMPLATES[f])&&(d=f.replace(/\[([a-zA-Z0-9]*)\]/g,function(b,a){return"NAME"===a?e[a]||c:e[a]}))}return d||c},getTemplate:function(c){c=a.ICONS[c];var d=b.opts.iconsTemplate;"undefined"!==typeof c&&
(d=c.template||a.ICON_DEFAULT_TEMPLATE||b.opts.iconsTemplate);return d},getFileIcon:function(b){var c=a.FILEICONS[b];return"undefined"!==typeof c?c:b}}};a.SVG={add:"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z",advancedImageEditor:"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4 V3h-2V9z",alignCenter:"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z",alignJustify:"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z",alignLeft:"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z",
alignRight:"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z",anchors:"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z",autoplay:"M 7.570312 0.292969 C 7.542969 0.292969 7.515625 0.292969 7.488281 0.296875 C 7.203125 0.324219 6.984375 0.539062 6.980469 0.792969 L 6.925781 3.535156 C 2.796875 3.808594 -0.0078125 6.425781 -0.0859375 10.09375 C -0.121094 11.96875 0.710938 13.6875 2.265625 14.921875 C 3.769531 16.117188 5.839844 16.796875 8.097656 16.828125 C 8.140625 16.828125 12.835938 16.898438 13.035156 16.886719 C 15.171875 16.796875 17.136719 16.128906 18.558594 15.003906 C 20.066406 13.816406 20.882812 12.226562 20.917969 10.40625 C 20.960938 8.410156 20.023438 6.605469 18.289062 5.335938 C 18.214844 5.277344 18.128906 5.230469 18.035156 5.203125 C 17.636719 5.074219 17.222656 5.199219 17 5.476562 L 15.546875 7.308594 C 15.304688 7.609375 15.363281 8.007812 15.664062 8.265625 C 16.351562 8.851562 16.707031 9.625 16.6875 10.5 C 16.652344 12.25 15.070312 13.390625 12.757812 13.535156 C 12.59375 13.539062 8.527344 13.472656 8.164062 13.464844 C 5.703125 13.429688 4.101562 12.191406 4.140625 10.3125 C 4.175781 8.570312 5.132812 7.46875 6.847656 7.199219 L 6.796875 9.738281 C 6.792969 9.992188 7 10.214844 7.285156 10.253906 C 7.3125 10.257812 7.339844 10.257812 7.367188 10.257812 C 7.503906 10.261719 7.632812 10.222656 7.738281 10.148438 L 14.039062 5.785156 C 14.171875 5.691406 14.253906 5.558594 14.253906 5.410156 C 14.257812 5.261719 14.1875 5.125 14.058594 5.027344 L 7.941406 0.414062 C 7.835938 0.335938 7.707031 0.292969 7.570312 0.292969 ",
back:"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z",backgroundColor:"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L20.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z",
blockquote:"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z",
bold:"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z",cancel:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",cellBackground:"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4 l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2 C21,17.2,19,15,19,15z",
cellBorderColor:"M22,22H2v2h20V22z",cellOptions:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4 c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4 c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z",cellStyle:"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10 c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7 c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4 z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z",
clearFormatting:"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z",close:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",codeView:"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z",cogs:"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z",
columns:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17 c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0 V9z",edit:"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0 c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z",
exitFullscreen:"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z",fileInsert:"M 8.09375 12.75 L 5.90625 12.75 C 5.542969 12.75 5.25 12.394531 5.25 11.953125 L 5.25 6.375 L 2.851562 6.375 C 2.367188 6.375 2.121094 5.660156 2.464844 5.242188 L 6.625 0.1875 C 6.832031 -0.0585938 7.167969 -0.0585938 7.371094 0.1875 L 11.535156 5.242188 C 11.878906 5.660156 11.632812 6.375 11.148438 6.375 L 8.75 6.375 L 8.75 11.953125 C 8.75 12.394531 8.457031 12.75 8.09375 12.75 Z M 14 12.484375 L 14 16.203125 C 14 16.644531 13.707031 17 13.34375 17 L 0.65625 17 C 0.292969 17 0 16.644531 0 16.203125 L 0 12.484375 C 0 12.042969 0.292969 11.6875 0.65625 11.6875 L 4.375 11.6875 L 4.375 11.953125 C 4.375 12.980469 5.0625 13.8125 5.90625 13.8125 L 8.09375 13.8125 C 8.9375 13.8125 9.625 12.980469 9.625 11.953125 L 9.625 11.6875 L 13.34375 11.6875 C 13.707031 11.6875 14 12.042969 14 12.484375 Z M 10.609375 15.40625 C 10.609375 15.039062 10.363281 14.742188 10.0625 14.742188 C 9.761719 14.742188 9.515625 15.039062 9.515625 15.40625 C 9.515625 15.773438 9.761719 16.070312 10.0625 16.070312 C 10.363281 16.070312 10.609375 15.773438 10.609375 15.40625 Z M 12.359375 15.40625 C 12.359375 15.039062 12.113281 14.742188 11.8125 14.742188 C 11.511719 14.742188 11.265625 15.039062 11.265625 15.40625 C 11.265625 15.773438 11.511719 16.070312 11.8125 16.070312 C 12.113281 16.070312 12.359375 15.773438 12.359375 15.40625 Z M 12.359375 15.40625 ",
fileManager:"M 0 5.625 L 20.996094 5.625 L 21 15.75 C 21 16.371094 20.410156 16.875 19.6875 16.875 L 1.3125 16.875 C 0.585938 16.875 0 16.371094 0 15.75 Z M 0 5.625 M 21 4.5 L 0 4.5 L 0 2.25 C 0 1.628906 0.585938 1.125 1.3125 1.125 L 6.921875 1.125 C 7.480469 1.125 8.015625 1.316406 8.40625 1.652344 L 9.800781 2.847656 C 10.195312 3.183594 10.730469 3.375 11.289062 3.375 L 19.6875 3.375 C 20.414062 3.375 21 3.878906 21 4.5 Z M 21 4.5",markdown:"M5.55006 17.75V7.35L8.96006 16.89H10.7101L14.2301 7.37V14.0729C14.3951 14.1551 14.5499 14.265 14.6875 14.4026L14.7001 14.4151V11.64C14.7001 10.8583 15.2127 10.1963 15.9201 9.97171V5H13.6801L10.0401 14.86L6.51006 5H4.00006V17.75H5.55006ZM17.2001 11.64C17.2001 11.2258 16.8643 10.89 16.4501 10.89C16.0359 10.89 15.7001 11.2258 15.7001 11.64V16.8294L13.9804 15.1097C13.6875 14.8168 13.2126 14.8168 12.9197 15.1097C12.6269 15.4026 12.6269 15.8775 12.9197 16.1703L15.9197 19.1703C16.2126 19.4632 16.6875 19.4632 16.9804 19.1703L19.9804 16.1703C20.2733 15.8775 20.2733 15.4026 19.9804 15.1097C19.6875 14.8168 19.2126 14.8168 18.9197 15.1097L17.2001 16.8294V11.64Z",
fontAwesome:"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z",
fontFamily:"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z",fontSize:"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z",fullscreen:"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z",help:"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5 C16,6.8,14.2,5,12,5z",horizontalLine:"M5,12h14 M19,11H5v2h14V11z",imageAltText:"M19,7h-6v12h-2V7H5V5h6h2h6V7z",
imageCaption:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z",imageClass:"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z",imageDisplay:"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z",
imageManager:"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z",imageSize:"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3 L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1 c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15 c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8 l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z",
indent:"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",inlineClass:"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z",
inlineStyle:"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z",insert:"M13.889,11.611c-0.17,0.17-0.443,0.17-0.612,0l-3.189-3.187l-3.363,3.36c-0.171,0.171-0.441,0.171-0.612,0c-0.172-0.169-0.172-0.443,0-0.611l3.667-3.669c0.17-0.17,0.445-0.172,0.614,0l3.496,3.493C14.058,11.167,14.061,11.443,13.889,11.611 M18.25,10c0,4.558-3.693,8.25-8.25,8.25c-4.557,0-8.25-3.692-8.25-8.25c0-4.557,3.693-8.25,8.25-8.25C14.557,1.75,18.25,5.443,18.25,10 M17.383,10c0-4.07-3.312-7.382-7.383-7.382S2.618,5.93,2.618,10S5.93,17.381,10,17.381S17.383,14.07,17.383,10",
insertEmbed:"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z",
insertFile:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z",insertImage:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z",insertLink:"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z",insertMore:"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z",
insertTable:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3 h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17 v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16z",insertVideo:"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z",
upload:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",uploadFiles:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",
italic:"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z",search:"M15.5 14h-0.79l-0.28 -0.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09 -0.59 4.23 -1.57l0.27 0.28v0.79l5 4.99L20.49 19l-4.99 -5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",lineHeight:"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z",linkStyles:"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1 c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7 c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z",
mention:"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1 c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1 c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3 s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z",minimize:"M5,12h14 M19,11H5v2h14V11z",more:"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z",
openLink:"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z",orderedList:"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z",outdent:"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",pageBreaker:"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2 h3V13z",
paragraphFormat:"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z",paragraphMore:"M7.682,5a4.11,4.11,0,0,0-4.07,3.18,4,4,0,0,0,3.11,4.725h0l.027.005a3.766,3.766,0,0,0,.82.09v6h2V7h2V19h2V7h2V5ZM5.532,9a2,2,0,0,1,2-2v4A2,2,0,0,1,5.532,9Zm14.94,8.491a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,17.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,13.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,9.491Z",paragraphStyle:"M4,9c0-1.1,0.9-2,2-2v4C4.9,11,4,10.1,4,9z M16.7,20.5l3.2,1.9L19,18.8l3-2.9h-3.7l-1.4-3.5L15.3,16h-3.8l2.9,2.9l-0.9,3.6 L16.7,20.5z M10,17.4V19h1.6L10,17.4z M6.1,5c-1.9,0-3.6,1.3-4,3.2c-0.5,2.1,0.8,4.2,2.9,4.7c0,0,0,0,0,0h0.2C5.5,13,5.8,13,6,13v6 h2V7h2v7h2V7h2V5H6.1z",
pdfExport:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z M16.3,13.5 c-0.2-0.6-1.1-0.8-2.6-0.8c-0.1,0-0.1,0-0.2,0c-0.3-0.3-0.8-0.9-1-1.2c-0.2-0.2-0.3-0.3-0.4-0.6c0.2-0.7,0.2-1,0.3-1.5 c0.1-0.9,0-1.6-0.2-1.8c-0.4-0.2-0.7-0.2-0.9-0.2c-0.1,0-0.3,0.2-0.7,0.7c-0.2,0.7-0.1,1.8,0.6,2.8c-0.2,0.8-0.7,1.6-1,2.4 c-0.8,0.2-1.5,0.7-1.9,1.1c-0.7,0.7-0.9,1.1-0.7,1.6c0,0.3,0.2,0.6,0.7,0.6c0.3-0.1,0.3-0.2,0.7-0.3c0.6-0.3,1.2-1.7,1.7-2.4 c0.8-0.2,1.7-0.3,2-0.3c0.1,0,0.3,0,0.6,0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6 C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7 C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1 c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1 c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z",
print:"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4 v4h16V15z",redo:"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6 C5.1,10.8,9.3,8.7,13.6,9.4z",removeTable:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",
insertAll:"M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 ",
remove:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",replaceImage:"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z",row:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5 v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z",
selectAll:"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5 z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2 V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z",smile:"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z",
spellcheck:"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6 L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z",star:"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1 l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z",strikeThrough:"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z",
subscript:"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674 l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617 c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621 c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416 c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465 c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548 c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692 c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437 c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458 c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333 c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612 c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823 c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z",
superscript:"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z",
symbols:"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z",
tags:"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z",
tableHeader:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0 H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20 c0.3,0,0.5,0.2,0.5,0.4l0,0V9z",tableStyle:"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z",
textColor:"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z",textMore:"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z",underline:"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z",
undo:"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9 C18.9,10.8,14.7,8.7,10.4,9.4z",unlink:"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12 C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1 L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z",unorderedList:"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7 S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z",
verticalAlignBottom:"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z",verticalAlignMiddle:"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z",verticalAlignTop:"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z",trackChanges:"M17.2 20H12.4599L13.9938 19.2076L14.0305 19.1886L14.0616 19.1612C14.1036 19.1242 14.1373 19.0786 14.1603 19.0275C14.1806 18.9825 14.1923 18.9342 14.1948 18.885H14.2H14.3384L14.4364 18.7874L14.7049 18.52H15.45C15.5747 18.52 15.6942 18.4705 15.7823 18.3823C15.8705 18.2942 15.92 18.1746 15.92 18.05C15.92 17.9253 15.8705 17.8058 15.7823 17.7176C15.7351 17.6704 15.6789 17.6343 15.6177 17.6109L17.33 15.9056V19.87C17.33 19.8871 17.3266 19.904 17.3201 19.9197C17.3136 19.9355 17.304 19.9499 17.2919 19.9619C17.2799 19.974 17.2655 19.9836 17.2497 19.9901C17.234 19.9966 17.2171 20 17.2 20ZM4.13 20H11.2508C11.2396 19.9629 11.2337 19.9242 11.2337 19.885C11.2337 19.8133 11.2533 19.7431 11.29 19.6819L11.2739 19.6734L11.8838 18.52H5C4.87535 18.52 4.7558 18.4705 4.66766 18.3823C4.57952 18.2942 4.53 18.1746 4.53 18.05C4.53 17.9253 4.57952 17.8058 4.66766 17.7176C4.7558 17.6295 4.87535 17.58 5 17.58H12.3809L12.3925 17.5582L12.4187 17.5284C12.4558 17.4864 12.5014 17.4527 12.5525 17.4297C12.5836 17.4156 12.6163 17.4057 12.6498 17.4001C12.6522 17.3065 12.6877 17.2166 12.7503 17.1467L13 17.37C12.9902 17.381 12.9847 17.3952 12.9847 17.41C12.9847 17.4247 12.9902 17.439 13 17.45L14.13 18.55H14.2L19.09 13.68V13.6L17.99 12.5C17.979 12.4902 17.9647 12.4847 17.95 12.4847C17.9352 12.4847 17.921 12.4902 17.91 12.5L13 17.37L12.7641 17.1322L15.1759 14.74H5C4.87535 14.74 4.7558 14.6905 4.66766 14.6023C4.57952 14.5142 4.53 14.3946 4.53 14.27C4.53 14.1453 4.57952 14.0258 4.66766 13.9376C4.7558 13.8495 4.87535 13.8 5 13.8H15.45C15.5747 13.8 15.6942 13.8495 15.7823 13.9376C15.8169 13.9722 15.8454 14.0115 15.8675 14.0541L17.33 12.6034V9.3H13.28C13.207 9.30976 13.133 9.30976 13.06 9.3C12.7697 9.22119 12.5113 9.05343 12.3212 8.82027C12.1311 8.58711 12.0187 8.30026 12 8V4H4.13C4.09552 4 4.06246 4.0137 4.03808 4.03808C4.0137 4.06246 4 4.09552 4 4.13V19.87C4 19.9045 4.0137 19.9375 4.03808 19.9619C4.06246 19.9863 4.09552 20 4.13 20ZM11.7889 20H11.8785C11.8902 19.9746 11.898 19.9475 11.9015 19.9197L11.8661 19.9866L11.8117 19.9578L13.84 18.91C13.8464 18.9044 13.8515 18.8974 13.855 18.8897C13.8585 18.8819 13.8603 18.8735 13.8603 18.865C13.8603 18.8565 13.8585 18.8481 13.855 18.8403C13.8515 18.8325 13.8464 18.8256 13.84 18.82L12.76 17.75C12.7544 17.7436 12.7474 17.7385 12.7397 17.735C12.7319 17.7315 12.7235 17.7297 12.715 17.7297C12.7065 17.7297 12.6981 17.7315 12.6903 17.735C12.6825 17.7385 12.6756 17.7436 12.67 17.75L11.57 19.83L11.5023 19.7942L11.58 19.85C11.5727 19.8602 11.5687 19.8724 11.5687 19.885C11.5687 19.8975 11.5727 19.9098 11.58 19.92L11.67 20H11.73L11.7642 19.9823L11.7889 20ZM13.1 4.65L16.6 8.15C16.6212 8.17232 16.6355 8.20028 16.6412 8.23051C16.6469 8.26075 16.6437 8.29199 16.6321 8.32048C16.6205 8.34898 16.6009 8.37352 16.5757 8.39117C16.5505 8.40882 16.5207 8.41883 16.49 8.42H13.06L12.83 8.19V4.76C12.8312 4.72925 12.8412 4.6995 12.8588 4.67429C12.8765 4.64909 12.901 4.62951 12.9295 4.6179C12.958 4.6063 12.9893 4.60315 13.0195 4.60884C13.0497 4.61453 13.0777 4.62882 13.1 4.65ZM11 6.72C11.0027 6.66089 10.9937 6.60183 10.9735 6.54621C10.9534 6.49058 10.9224 6.43948 10.8825 6.39582C10.8425 6.35216 10.7944 6.31681 10.7408 6.29179C10.6871 6.26677 10.6291 6.25257 10.57 6.25H5C4.88239 6.25773 4.77251 6.3113 4.69397 6.39918C4.61543 6.48707 4.57451 6.60226 4.58 6.72C4.57451 6.83774 4.61543 6.95293 4.69397 7.04082C4.77251 7.12871 4.88239 7.18227 5 7.19H10.6C10.714 7.1774 10.8189 7.12173 10.8933 7.03438C10.9676 6.94702 11.0058 6.83457 11 6.72ZM11.1 8.14001H5C4.87535 8.14001 4.7558 8.18953 4.66766 8.27767C4.57952 8.36582 4.53 8.48536 4.53 8.61001C4.53 8.73467 4.57952 8.85421 4.66766 8.94236C4.7558 9.0305 4.87535 9.08001 5 9.08001H11.1C11.2247 9.08001 11.3442 9.0305 11.4323 8.94236C11.5205 8.85421 11.57 8.73467 11.57 8.61001C11.57 8.48536 11.5205 8.36582 11.4323 8.27767C11.3442 8.18953 11.2247 8.14001 11.1 8.14001ZM5 11H15.45C15.5826 11 15.7098 10.9473 15.8036 10.8536C15.8973 10.7598 15.95 10.6326 15.95 10.5C15.95 10.3674 15.8973 10.2402 15.8036 10.1464C15.7098 10.0527 15.5826 10 15.45 10H5C4.86739 10 4.74021 10.0527 4.64645 10.1464C4.55268 10.2402 4.5 10.3674 4.5 10.5C4.5 10.6326 4.55268 10.7598 4.64645 10.8536C4.74021 10.9473 4.86739 11 5 11ZM5 12.86H11.1C11.2211 12.8523 11.3346 12.798 11.4166 12.7085C11.4986 12.6191 11.5428 12.5013 11.54 12.38C11.5427 12.2597 11.4982 12.1431 11.4159 12.0552C11.3337 11.9673 11.2202 11.9152 11.1 11.91H5C4.94089 11.9126 4.88286 11.9268 4.82924 11.9518C4.77562 11.9768 4.72746 12.0122 4.68752 12.0558C4.64758 12.0995 4.61664 12.1506 4.59648 12.2062C4.57631 12.2618 4.56731 12.3209 4.57 12.38C4.56451 12.5004 4.60649 12.6181 4.6869 12.7079C4.76731 12.7976 4.87974 12.8523 5 12.86ZM11.1 16.63H5C4.87535 16.63 4.7558 16.5805 4.66766 16.4923C4.57952 16.4042 4.53 16.2846 4.53 16.16C4.53 16.0353 4.57952 15.9158 4.66766 15.8276C4.7558 15.7395 4.87535 15.69 5 15.69H11.1C11.2247 15.69 11.3442 15.7395 11.4323 15.8276C11.5205 15.9158 11.57 16.0353 11.57 16.16C11.57 16.2846 11.5205 16.4042 11.4323 16.4923C11.3442 16.5805 11.2247 16.63 11.1 16.63ZM18.8503 11.592C18.7991 11.6175 18.7545 11.6544 18.72 11.7L18.26 12.14C18.2501 12.151 18.2447 12.1652 18.2447 12.18C18.2447 12.1947 18.2501 12.209 18.26 12.22L19.37 13.32C19.381 13.3298 19.3952 13.3353 19.41 13.3353C19.4247 13.3353 19.439 13.3298 19.45 13.32L19.86 12.91C19.9057 12.867 19.9421 12.8151 19.967 12.7575C19.9919 12.6998 20.0047 12.6377 20.0047 12.575C20.0047 12.5122 19.9919 12.4501 19.967 12.3925C19.9421 12.3349 19.9057 12.283 19.86 12.24L19.31 11.7C19.2755 11.6544 19.2309 11.6175 19.1797 11.592C19.1285 11.5666 19.0721 11.5533 19.015 11.5533C18.9578 11.5533 18.9014 11.5666 18.8503 11.592Z",
showTrackChanges:"M17.2421 13.6048C17.2631 13.6136 17.2841 13.6226 17.305 13.6317V9.29505H13.2626C13.1897 9.30481 13.1159 9.30481 13.043 9.29505C12.7532 9.21632 12.4953 9.04872 12.3056 8.81577C12.1158 8.58283 12.0037 8.29625 11.985 7.99627V4H4.12976C4.09534 4 4.06234 4.01368 4.038 4.03804C4.01367 4.0624 4 4.09543 4 4.12988V19.8552C4 19.8896 4.01367 19.9227 4.038 19.947C4.06234 19.9714 4.09534 19.9851 4.12976 19.9851H13.4875C13.0501 19.8216 12.6281 19.6155 12.2277 19.3686C11.8529 19.1551 11.4911 18.9196 11.1442 18.6632C11.0697 18.6152 10.9982 18.5628 10.9302 18.5065H4.99812C4.87371 18.5065 4.75438 18.457 4.66641 18.3689C4.57843 18.2809 4.529 18.1614 4.529 18.0369C4.529 17.9124 4.57843 17.7929 4.66641 17.7049C4.75438 17.6168 4.87371 17.5673 4.99812 17.5673H10.4396C10.4472 17.4488 10.4756 17.3324 10.5235 17.2235C10.5939 17.017 10.6761 16.8149 10.7694 16.6182H4.99812C4.87371 16.6182 4.75438 16.5687 4.66641 16.4807C4.57843 16.3926 4.529 16.2732 4.529 16.1487C4.529 16.0241 4.57843 15.9047 4.66641 15.8166C4.75438 15.7286 4.87371 15.6791 4.99812 15.6791H11.0867C11.1576 15.6791 11.2268 15.6952 11.2895 15.7253C11.5204 15.361 11.7938 15.027 12.1033 14.73H4.99812C4.87371 14.73 4.75438 14.6805 4.66641 14.5924C4.57843 14.5044 4.529 14.385 4.529 14.2604C4.529 14.1359 4.57843 14.0164 4.66641 13.9284C4.75438 13.8403 4.87371 13.7909 4.99812 13.7909H13.4434C13.9833 13.525 14.5656 13.3516 15.166 13.2795L15.1923 13.2763H15.2189H15.4925C16.0923 13.2609 16.6886 13.3728 17.2421 13.6048ZM13.0829 4.64939L16.5764 8.14613C16.5975 8.16843 16.6118 8.19636 16.6174 8.22657C16.6231 8.25677 16.62 8.28798 16.6084 8.31645C16.5968 8.34492 16.5773 8.36944 16.5521 8.38707C16.527 8.40471 16.4973 8.41471 16.4666 8.41587H13.043L12.8134 8.18609V4.75929C12.8146 4.72857 12.8246 4.69884 12.8422 4.67366C12.8598 4.64849 12.8843 4.62893 12.9128 4.61733C12.9412 4.60573 12.9724 4.60259 13.0026 4.60827C13.0328 4.61396 13.0607 4.62824 13.0829 4.64939ZM10.9869 6.71746C10.9896 6.65841 10.9806 6.59941 10.9604 6.54383C10.9403 6.48825 10.9094 6.4372 10.8696 6.39358C10.8297 6.34997 10.7816 6.31465 10.7281 6.28965C10.6746 6.26466 10.6167 6.25047 10.5577 6.2479H4.99813C4.88074 6.25562 4.77106 6.30914 4.69267 6.39694C4.61428 6.48475 4.57343 6.59983 4.57891 6.71746C4.57343 6.83509 4.61428 6.95017 4.69267 7.03798C4.77106 7.12579 4.88074 7.1793 4.99813 7.18702H10.5876C10.7014 7.17444 10.8061 7.11882 10.8803 7.03154C10.9545 6.94427 10.9927 6.83192 10.9869 6.71746ZM11.0867 8.13614H4.99812C4.87371 8.13614 4.75438 8.18561 4.66641 8.27367C4.57843 8.36173 4.529 8.48116 4.529 8.6057C4.529 8.73023 4.57843 8.84967 4.66641 8.93773C4.75438 9.02579 4.87371 9.07526 4.99812 9.07526H11.0867C11.2111 9.07526 11.3304 9.02579 11.4184 8.93773C11.5064 8.84967 11.5558 8.73023 11.5558 8.6057C11.5558 8.48116 11.5064 8.36173 11.4184 8.27367C11.3304 8.18561 11.2111 8.13614 11.0867 8.13614ZM4.99812 10.9935H15.4285C15.5609 10.9935 15.6878 10.9408 15.7814 10.8472C15.875 10.7535 15.9276 10.6264 15.9276 10.4939C15.9276 10.3614 15.875 10.2344 15.7814 10.1407C15.6878 10.047 15.5609 9.9944 15.4285 9.9944H4.99812C4.86576 9.9944 4.73883 10.047 4.64523 10.1407C4.55164 10.2344 4.49906 10.3614 4.49906 10.4939C4.49906 10.6264 4.55164 10.7535 4.64523 10.8472C4.73883 10.9408 4.86576 10.9935 4.99812 10.9935ZM4.99812 12.8517H11.0867C11.2076 12.844 11.3208 12.7898 11.4027 12.7004C11.4845 12.611 11.5287 12.4934 11.5259 12.3722C11.5286 12.252 11.4841 12.1355 11.402 12.0477C11.3199 11.9599 11.2067 11.9078 11.0867 11.9026H4.99812C4.93912 11.9052 4.8812 11.9194 4.82769 11.9444C4.77417 11.9694 4.7261 12.0047 4.68623 12.0483C4.64637 12.0919 4.61549 12.143 4.59536 12.1985C4.57523 12.2541 4.56625 12.3131 4.56893 12.3722C4.56345 12.4925 4.60535 12.6101 4.68561 12.6998C4.76587 12.7894 4.87809 12.844 4.99812 12.8517ZM19.97 17.4974C19.5787 16.5636 19.0431 15.6971 18.383 14.9298C18.0152 14.5351 17.5679 14.2233 17.0706 14.0148C16.5732 13.8064 16.0373 13.7062 15.4984 13.7209H15.2189C14.4787 13.8098 13.7684 14.0666 13.1423 14.4717C12.5162 14.8769 11.9906 15.4196 11.6057 16.0587C11.3211 16.4677 11.0959 16.9151 10.937 17.3875C10.9006 17.464 10.8817 17.5476 10.8817 17.6323C10.8817 17.717 10.9006 17.8006 10.937 17.877C11.0642 18.0428 11.2196 18.1849 11.3961 18.2967C11.7346 18.5476 12.0879 18.7778 12.4541 18.986C13.4096 19.5767 14.497 19.92 15.6182 19.9851C16.4392 20.0504 17.2632 19.9005 18.0088 19.5501C18.7544 19.1998 19.3959 18.661 19.8702 17.9869C19.9311 17.923 19.9729 17.8432 19.9905 17.7566C20.0082 17.67 20.0011 17.5801 19.97 17.4974ZM15.9775 19.1758C14.3849 19.068 12.8507 18.5331 11.5358 17.6273C11.5788 17.5678 11.6255 17.5111 11.6756 17.4574C12.3061 16.569 13.1295 15.8359 14.0832 15.3126C13.8003 15.7406 13.6785 16.2566 13.7417 16.7681C13.7676 17.0339 13.8465 17.2918 13.9737 17.5265C14.1009 17.7613 14.2739 17.9681 14.4823 18.1348C14.6907 18.3016 14.9304 18.4248 15.1872 18.4972C15.4441 18.5696 15.7128 18.5897 15.9775 18.5564C16.305 18.4971 16.6137 18.3609 16.8785 18.159C17.1432 17.9572 17.3564 17.6954 17.5005 17.3951C17.6446 17.0949 17.7156 16.7647 17.7077 16.4317C17.6997 16.0987 17.613 15.7723 17.4547 15.4793C17.2614 15.3391 17.0533 15.2235 16.8351 15.1339C17.0715 15.226 17.2966 15.3485 17.5046 15.4993C18.0049 15.8976 18.4424 16.3691 18.8022 16.898L18.8927 17.0137L18.8927 17.0137C19.0823 17.2564 19.2729 17.5004 19.4709 17.7072C18.5404 18.6311 17.288 19.1576 15.9775 19.1758ZM16.3168 15.769C16.2085 15.8106 16.1171 15.8873 16.0574 15.9869C15.9977 16.0865 15.9731 16.2032 15.9875 16.3185C15.9949 16.3856 16.0156 16.4505 16.0483 16.5096C16.081 16.5686 16.1251 16.6206 16.178 16.6624C16.2309 16.7042 16.2916 16.7351 16.3566 16.7532C16.4216 16.7714 16.4895 16.7764 16.5564 16.7681H16.6063C16.5618 16.9495 16.4637 17.1132 16.3248 17.238C16.186 17.3627 16.0127 17.4427 15.8278 17.4674H15.6481C15.4335 17.4396 15.2337 17.3427 15.0789 17.1913C14.924 17.04 14.8226 16.8423 14.7897 16.6282C14.7628 16.3782 14.8311 16.1271 14.981 15.9253C15.1305 15.7238 15.3504 15.5861 15.5968 15.5395C15.3446 15.5862 15.12 15.7284 14.9697 15.9364C14.8191 16.1448 14.7547 16.4034 14.7897 16.6582C14.8226 16.8723 14.924 17.0699 15.0789 17.2213C15.2337 17.3727 15.4335 17.4696 15.6481 17.4974H15.8377C16.0209 17.4708 16.1919 17.39 16.3289 17.2654C16.4658 17.1408 16.5625 16.978 16.6063 16.7981C16.7293 16.7633 16.8359 16.686 16.9072 16.5799C16.9785 16.4737 17.0098 16.3457 16.9956 16.2186C16.9882 16.1515 16.9675 16.0865 16.9348 16.0275C16.9021 15.9685 16.858 15.9165 16.805 15.8747C16.7521 15.8329 16.6914 15.802 16.6264 15.7838C16.5615 15.7657 16.4936 15.7607 16.4266 15.769H16.3168Z",
acceptAllChanges:"M9.36499 16.7348C9.38499 16.7547 9.41212 16.7659 9.44041 16.7659H10.9881C10.9028 16.6008 10.9289 16.3933 11.0663 16.2541L11.7266 15.585H10.1444C10.0549 15.5701 9.97363 15.5238 9.91498 15.4547C9.85639 15.3856 9.82422 15.298 9.82422 15.2074C9.82422 15.1169 9.85639 15.0292 9.91498 14.9601C9.97363 14.891 10.0549 14.8448 10.1444 14.8298H12.4879C12.5584 14.785 12.6407 14.7607 12.7257 14.7607C12.8106 14.7607 12.893 14.785 12.9635 14.8298H16.5295L18.3303 13.0091C18.4135 12.925 18.5271 12.8776 18.6456 12.8777C18.7642 12.8777 18.8777 12.9252 18.9609 13.0094L20 14.0621V8.25532H16.8001C16.7301 8.27288 16.6568 8.27288 16.5868 8.25532C16.3485 8.1935 16.1367 8.0565 15.9829 7.86478C15.8292 7.67306 15.7416 7.43688 15.7335 7.19149V4H9.44041C9.41293 4.0024 9.38718 4.01437 9.36767 4.03383C9.34816 4.05329 9.33615 4.07897 9.33375 4.10638V16.6596C9.33375 16.6878 9.34499 16.7148 9.36499 16.7348ZM10.0744 17.2979H11.4803L12.259 18.0957H5.06727C5.01734 18.0957 4.96838 18.1057 4.9232 18.1246C4.8788 18.1431 4.83798 18.1702 4.80335 18.2048C4.7333 18.2746 4.69398 18.3693 4.69398 18.468C4.69398 18.5668 4.7333 18.6615 4.80335 18.7313C4.87333 18.8011 4.96832 18.8404 5.06727 18.8404H12.9857L13.7947 19.6693L14.0836 19.9574H4.10733C4.09291 19.9591 4.07829 19.9576 4.06457 19.9528C4.05085 19.9481 4.03838 19.9403 4.02812 19.9301C4.01785 19.9198 4.01004 19.9074 4.00529 19.8937C4.00054 19.88 3.99896 19.8654 4.00067 19.8511V7.29787C4.00067 7.26966 4.01191 7.2426 4.03191 7.22265C4.05192 7.2027 4.07905 7.19149 4.10733 7.19149H8.70447V9.05319H5.06727C4.97294 9.05867 4.88453 9.10069 4.8208 9.17019C4.757 9.23973 4.72302 9.33135 4.72594 9.42553C4.72289 9.52082 4.75654 9.61364 4.82002 9.6849C4.88356 9.75613 4.97203 9.80038 5.06727 9.8085H8.70447V10.5638H5.06727C5.01968 10.5652 4.97274 10.5759 4.92932 10.5954C4.88583 10.6148 4.84664 10.6426 4.8139 10.6772C4.78122 10.7118 4.7557 10.7525 4.73877 10.7969C4.72184 10.8413 4.7139 10.8887 4.71527 10.9361C4.7139 10.9837 4.72184 11.031 4.73877 11.0754C4.74424 11.0897 4.75055 11.1037 4.75778 11.1171C4.76162 11.1243 4.76566 11.1313 4.76995 11.1382C4.78265 11.1585 4.79736 11.1776 4.8139 11.1951C4.84664 11.2297 4.88583 11.2575 4.92932 11.2769C4.95491 11.2884 4.98173 11.2968 5.0092 11.3021C5.02834 11.3058 5.04774 11.3079 5.06727 11.3085H8.70447V12.0638H5.06734C4.97782 12.0789 4.89651 12.1251 4.83792 12.1942C4.77926 12.2633 4.7471 12.351 4.7471 12.4415C4.7471 12.5321 4.77926 12.6197 4.83792 12.6888C4.89651 12.758 4.97782 12.8041 5.06734 12.8192H8.70447V13.5745H5.06734C4.97782 13.5895 4.89651 13.6357 4.83792 13.7048C4.81383 13.7332 4.79424 13.7647 4.77946 13.7983C4.7583 13.8465 4.7471 13.8988 4.7471 13.9522C4.7471 14.0427 4.77926 14.1303 4.83792 14.1994C4.89651 14.2686 4.97782 14.3147 5.06734 14.3298H8.70447V15.0744H5.06727C4.97776 15.0895 4.89651 15.1357 4.83785 15.2048C4.77926 15.2739 4.7471 15.3616 4.7471 15.4521C4.7471 15.5043 4.75778 15.5556 4.77809 15.6029C4.793 15.6376 4.81305 15.6701 4.83785 15.6994C4.89651 15.7685 4.97776 15.8147 5.06727 15.8298H8.70447V16.5851H5.06727C4.97776 16.6001 4.89651 16.6463 4.83785 16.7154C4.79489 16.7661 4.76618 16.8267 4.75387 16.8912C4.74938 16.9146 4.7471 16.9386 4.7471 16.9628C4.7471 17.0533 4.77926 17.1409 4.83785 17.21C4.89651 17.2792 4.97776 17.3253 5.06727 17.3404H9.95241C9.99552 17.3331 10.0367 17.3187 10.0744 17.2979ZM20 15.3204L18.5709 16.7659H19.8933C19.9216 16.7659 19.9487 16.7547 19.9687 16.7348C19.9887 16.7148 20 16.6878 20 16.6596V15.3204ZM14.7526 16.6264L13.7248 15.585H15.7825L14.7526 16.6264ZM14.9498 6.08721C14.9465 6.06854 14.9416 6.05023 14.9353 6.03244C14.9202 5.98939 14.897 5.94929 14.8665 5.91442C14.8145 5.85488 14.7444 5.81394 14.6669 5.79787H10.1337C10.0348 5.79787 9.93978 5.83709 9.8698 5.90693C9.79975 5.97676 9.76043 6.07146 9.76043 6.17022C9.76043 6.19463 9.76283 6.21879 9.76752 6.24239C9.77462 6.2782 9.78692 6.31268 9.80398 6.34479C9.82123 6.37716 9.8433 6.40709 9.8698 6.43348C9.93978 6.50332 10.0348 6.54257 10.1337 6.54257H14.6669C14.6811 6.54023 14.6951 6.53702 14.7088 6.53299C14.7206 6.52955 14.7322 6.52549 14.7436 6.52082C14.7624 6.51309 14.7806 6.50371 14.7979 6.4928C14.8378 6.46764 14.8722 6.43468 14.8991 6.39599C14.9259 6.35729 14.9447 6.31359 14.9543 6.26749C14.9554 6.26232 14.9563 6.25716 14.9571 6.25197C14.9579 6.24739 14.9586 6.24281 14.9591 6.23824C14.9612 6.22129 14.962 6.20424 14.9616 6.18723C14.961 6.16727 14.9588 6.14733 14.9549 6.12766C14.9539 6.11406 14.9523 6.10055 14.9498 6.08721ZM15.0189 7.29788H10.1445C10.0549 7.31291 9.97363 7.35911 9.91504 7.42823C9.85639 7.49738 9.82422 7.585 9.82422 7.67555C9.82422 7.76609 9.85639 7.85369 9.91504 7.92284C9.97363 7.99196 10.0549 8.03815 10.1445 8.05319H15.0189C15.0321 8.05241 15.0451 8.05095 15.058 8.04877C15.0745 8.04601 15.0906 8.04212 15.1064 8.03718C15.1669 8.01822 15.2219 7.98361 15.2654 7.93618C15.3291 7.86664 15.3632 7.77502 15.3602 7.68084C15.3606 7.67392 15.3608 7.66701 15.3608 7.66009C15.3609 7.65087 15.3606 7.64165 15.3599 7.63247C15.3592 7.62263 15.358 7.61279 15.3565 7.60302C15.3532 7.58188 15.3479 7.56104 15.3409 7.54072C15.3254 7.49575 15.301 7.45426 15.2693 7.41868C15.2492 7.39621 15.2265 7.37638 15.2017 7.35959C15.1872 7.34979 15.172 7.34102 15.1562 7.33339C15.1132 7.31265 15.0665 7.3006 15.0189 7.29788ZM10.1445 9.56381H18.496C18.5856 9.54877 18.6669 9.50258 18.7255 9.43346C18.7841 9.3643 18.8163 9.27671 18.8163 9.18617C18.8163 9.09562 18.7841 9.008 18.7255 8.93884C18.6669 8.86973 18.5856 8.82353 18.496 8.8085H10.1445C10.0549 8.82353 9.97363 8.86973 9.91504 8.93884C9.85639 9.008 9.82422 9.09562 9.82422 9.18617C9.82422 9.24412 9.83738 9.30087 9.86224 9.35236C9.87624 9.38132 9.89395 9.40859 9.91504 9.43346C9.97363 9.50258 10.0549 9.54877 10.1445 9.56381ZM10.1445 11.0638H15.0189C15.1084 11.0488 15.1897 11.0026 15.2483 10.9335C15.2854 10.8898 15.3118 10.8387 15.3263 10.7842C15.3347 10.7525 15.3391 10.7195 15.3391 10.6861C15.3391 10.5956 15.3069 10.508 15.2483 10.4389C15.1897 10.3697 15.1084 10.3235 15.0189 10.3085H10.1445C10.0549 10.3235 9.97363 10.3697 9.91504 10.4389C9.85639 10.508 9.82422 10.5956 9.82422 10.6861C9.82422 10.7424 9.83666 10.7976 9.8601 10.8478C9.87442 10.8785 9.89284 10.9073 9.91504 10.9335C9.97363 11.0026 10.0549 11.0488 10.1445 11.0638ZM18.496 12.5745H10.1444C10.0549 12.5594 9.97363 12.5132 9.91498 12.4441C9.85639 12.3749 9.82422 12.2873 9.82422 12.1968C9.82422 12.1062 9.85639 12.0186 9.91498 11.9495C9.97363 11.8803 10.0549 11.8342 10.1444 11.8191H18.496C18.5856 11.8342 18.6669 11.8803 18.7255 11.9495C18.7841 12.0186 18.8163 12.1062 18.8163 12.1968C18.8163 12.2873 18.7841 12.3749 18.7255 12.4441C18.6971 12.4776 18.6633 12.5058 18.6259 12.5276C18.5861 12.5507 18.5421 12.5667 18.496 12.5745ZM15.0189 14.0744H10.1444C10.0968 14.0731 10.0499 14.0624 10.0064 14.0429C9.96296 14.0234 9.92376 13.9956 9.89102 13.961C9.85834 13.9265 9.83282 13.8857 9.81589 13.8413C9.79897 13.7969 9.79102 13.7496 9.79239 13.7021C9.79102 13.6546 9.79897 13.6073 9.81589 13.5628C9.83282 13.5184 9.85834 13.4778 9.89102 13.4432C9.92376 13.4086 9.96296 13.3808 10.0064 13.3613C10.0499 13.3419 10.0968 13.3311 10.1444 13.3297H15.0189C15.0661 13.3311 15.1125 13.3419 15.1554 13.3615C15.1983 13.381 15.2368 13.4091 15.2686 13.4438C15.3005 13.4785 15.325 13.5193 15.3407 13.5637C15.3564 13.608 15.363 13.6551 15.3602 13.7021C15.3631 13.7963 15.3291 13.8879 15.2653 13.9574C15.2016 14.027 15.1132 14.0689 15.0189 14.0744ZM16.6188 4.52128L19.4133 7.30852C19.4293 7.32624 19.4401 7.34808 19.4443 7.37157C19.4485 7.39506 19.446 7.41925 19.4371 7.4414C19.4282 7.46356 19.4133 7.48278 19.394 7.4969C19.3747 7.51102 19.3518 7.51947 19.328 7.52128H16.5868L16.4054 7.34043V4.60639C16.4073 4.5826 16.4157 4.55979 16.4299 4.54056C16.444 4.52133 16.4633 4.50644 16.4855 4.49757C16.5077 4.48871 16.532 4.48624 16.5556 4.49043C16.5791 4.49462 16.601 4.50531 16.6188 4.52128ZM18.6454 13.3192L20 14.6915L14.7522 20L14.7416 19.9894L14.1123 19.3617L13.3976 18.6277L11.3817 16.5638L12.7257 15.2021L14.7522 17.2553L18.6454 13.3192Z",
rejectAllChanges:"M9.54637 16.5847H8.96997V15.8295H12.786C12.8024 15.8265 12.8186 15.8223 12.8343 15.817C12.8535 15.8105 12.8719 15.8023 12.8897 15.7926C12.9315 15.7697 12.969 15.738 12.9997 15.6991C13.0268 15.6649 13.0478 15.6261 13.0621 15.5847H13.571V16.7656H9.79386C9.78396 16.7479 9.77269 16.731 9.76011 16.7151C9.70552 16.6459 9.62976 16.5998 9.54637 16.5847ZM13.4717 12.9573V13.3295H9.72523C9.6809 13.3309 9.63716 13.3416 9.59671 13.361C9.57578 13.3711 9.55595 13.3834 9.53745 13.3977C9.5201 13.411 9.50391 13.4262 9.48917 13.4429C9.45872 13.4775 9.43494 13.5182 9.41917 13.5626C9.41778 13.5664 9.41644 13.5703 9.41523 13.5742H8.96997V12.8189H12.786C12.8694 12.8039 12.9452 12.7577 12.9997 12.6886C13.0078 12.6784 13.0153 12.6677 13.0223 12.6568L13.029 12.6458L13.033 12.6389L13.0397 12.6266C13.0452 12.6157 13.0503 12.6046 13.055 12.5931C13.0576 12.5869 13.0599 12.5806 13.0621 12.5742H13.6872C13.6453 12.5965 13.607 12.6269 13.5746 12.6644C13.5059 12.7439 13.469 12.849 13.4717 12.9573ZM9.82598 14.0742H13.4758C13.4809 14.0932 13.4904 14.1108 13.5037 14.1251C13.5242 14.147 13.552 14.1593 13.581 14.1593H13.6008L13.571 14.1912V14.8295H9.72523C9.64183 14.8445 9.56614 14.8907 9.51149 14.9598C9.4845 14.994 9.46351 15.0328 9.4492 15.0741H8.96997V14.3295H9.54637C9.62976 14.3145 9.70552 14.2683 9.76011 14.1992C9.78947 14.162 9.81166 14.1195 9.82598 14.0742ZM18.9075 8.2552V12.5317H17.7846V12.323C17.7978 12.2827 17.8047 12.2399 17.8047 12.1965C17.8047 12.106 17.7747 12.0184 17.7201 11.9493C17.6655 11.8801 17.5897 11.834 17.5063 11.8189H9.72523C9.64183 11.834 9.56614 11.8801 9.51149 11.9493C9.48444 11.9835 9.46351 12.0222 9.4492 12.0636H8.96997V11.3083H9.54637C9.63425 11.3028 9.71662 11.2608 9.776 11.1913C9.80687 11.1551 9.83029 11.113 9.84527 11.0676L9.84654 11.0637H14.2667C14.3501 11.0486 14.4258 11.0024 14.4805 10.9333C14.5231 10.8794 14.5507 10.8142 14.5607 10.7452C14.5636 10.7258 14.565 10.706 14.565 10.686C14.565 10.6658 14.5635 10.6458 14.5606 10.626C14.5572 10.6026 14.5516 10.5796 14.5442 10.5573C14.5299 10.5144 14.5084 10.4741 14.4805 10.4387C14.4258 10.3696 14.3501 10.3234 14.2667 10.3083H9.72529C9.6832 10.3159 9.64299 10.3314 9.60653 10.3538C9.57081 10.3759 9.5386 10.4045 9.51155 10.4387C9.49639 10.4579 9.4831 10.4785 9.47182 10.5002C9.46133 10.5205 9.45259 10.5417 9.44568 10.5636H8.96997V9.80838H9.16873C9.25656 9.80286 9.33899 9.76085 9.39837 9.69131C9.45775 9.62177 9.48947 9.53022 9.48674 9.43601C9.48711 9.42951 9.48735 9.42302 9.48741 9.41653C9.48741 9.41049 9.48729 9.40445 9.48705 9.39848C9.49457 9.41055 9.50269 9.42218 9.51155 9.43334C9.56614 9.50249 9.64189 9.54866 9.72529 9.56372H17.5063C17.5897 9.54866 17.6655 9.50249 17.7201 9.43334C17.7747 9.36419 17.8047 9.2766 17.8047 9.18603C17.8047 9.09552 17.7747 9.00786 17.7201 8.93878C17.6655 8.86963 17.5897 8.82346 17.5063 8.8084H9.72529C9.64189 8.82346 9.56614 8.86963 9.51155 8.93878C9.4569 9.00786 9.42694 9.09552 9.42694 9.18603L9.427 9.19707L9.42754 9.20875C9.41972 9.19661 9.41123 9.18499 9.40201 9.17389C9.38478 9.15311 9.36537 9.1346 9.34427 9.11863C9.33735 9.11344 9.33026 9.1085 9.32298 9.10383C9.31855 9.10097 9.31406 9.09824 9.30951 9.09565L9.30424 9.09266L9.29659 9.08857C9.28792 9.08402 9.27906 9.07993 9.27009 9.07623C9.2616 9.07279 9.25298 9.06974 9.24431 9.06701C9.21974 9.05935 9.19439 9.05461 9.16873 9.05305H8.96997V4.10638C8.97221 4.07897 8.9834 4.05328 9.00157 4.03383C9.01975 4.01437 9.04374 4.0024 9.06935 4H14.9325V7.1914C14.9401 7.43679 15.0216 7.67296 15.1649 7.86468C15.3082 8.0564 15.5055 8.19338 15.7275 8.2552C15.7927 8.27277 15.861 8.27277 15.9262 8.2552H18.9075ZM13.571 17.2975V19.4251L13.5722 19.4615C13.5835 19.6376 13.6323 19.8068 13.7133 19.957H4.10061C4.08718 19.9587 4.07355 19.9571 4.06077 19.9524C4.04799 19.9477 4.03637 19.9399 4.02681 19.9296C4.01724 19.9194 4.00997 19.907 4.00554 19.8933C4.00111 19.8796 3.99964 19.865 4.00124 19.8506V7.29778C4.00124 7.26957 4.01171 7.24251 4.03034 7.22256C4.04898 7.20261 4.07426 7.1914 4.10061 7.1914H8.38368V9.05305H4.99497C4.90708 9.05857 4.82471 9.10052 4.76533 9.17006C4.70589 9.2396 4.67423 9.33121 4.67696 9.42536C4.67411 9.52067 4.70547 9.61346 4.76461 9.68475C4.8238 9.75598 4.90623 9.80026 4.99497 9.80838H8.38368V10.5636H4.99497C4.96682 10.5645 4.93898 10.5692 4.91199 10.5774C4.89647 10.5821 4.88124 10.588 4.86644 10.5952C4.8494 10.6034 4.83308 10.613 4.81762 10.6241C4.79627 10.6393 4.77655 10.657 4.7589 10.6771C4.72846 10.7116 4.70468 10.7523 4.68891 10.7967C4.67314 10.8411 4.66574 10.8885 4.66701 10.9359C4.66641 10.9597 4.66792 10.9834 4.67156 11.0067C4.6752 11.03 4.68102 11.053 4.68891 11.0752C4.70468 11.1196 4.72846 11.1603 4.7589 11.1949C4.7731 11.211 4.78862 11.2256 4.80524 11.2386C4.81452 11.2459 4.82417 11.2527 4.83417 11.259C4.84461 11.2655 4.85534 11.2714 4.86644 11.2767C4.9069 11.2962 4.95063 11.3069 4.99497 11.3083H8.38368V12.0636H4.99503C4.91163 12.0787 4.83587 12.1249 4.78128 12.194C4.7526 12.2303 4.7307 12.2717 4.71639 12.3159C4.70347 12.3559 4.69667 12.3983 4.69667 12.4413C4.69667 12.5318 4.72664 12.6194 4.78128 12.6886C4.809 12.7237 4.84218 12.7529 4.87906 12.7751C4.89416 12.7842 4.90993 12.7921 4.92619 12.7988C4.94833 12.8079 4.97137 12.8147 4.99503 12.8189H8.38368V13.5742H4.99503C4.95275 13.5819 4.91242 13.5975 4.87584 13.62C4.8403 13.642 4.80822 13.6705 4.78128 13.7046C4.72664 13.7737 4.69667 13.8613 4.69667 13.9519C4.69667 14.0424 4.72664 14.13 4.78128 14.1992C4.83587 14.2683 4.91163 14.3145 4.99503 14.3295H8.38368V15.0741H4.99497C4.94644 15.0829 4.90047 15.1022 4.85977 15.1304C4.83878 15.145 4.81919 15.162 4.80136 15.1811C4.79439 15.1885 4.78765 15.1964 4.78122 15.2045C4.77188 15.2163 4.76327 15.2287 4.75539 15.2416C4.74441 15.2594 4.73495 15.2781 4.727 15.2975C4.71924 15.3163 4.71293 15.3358 4.70808 15.3558C4.70407 15.3723 4.7011 15.389 4.69922 15.4061C4.69752 15.4212 4.69667 15.4364 4.69667 15.4518C4.69667 15.5423 4.72664 15.6299 4.78122 15.6991C4.83587 15.7682 4.91157 15.8144 4.99497 15.8295H8.38368V16.5847H4.99497C4.91157 16.5998 4.83587 16.6459 4.78122 16.7151C4.72664 16.7842 4.69667 16.8718 4.69667 16.9624C4.69667 17.0529 4.72664 17.1405 4.78122 17.2097C4.83587 17.2788 4.91157 17.325 4.99497 17.34H9.54637C9.58655 17.3328 9.62496 17.3183 9.66008 17.2975H13.571ZM15.7573 4.52124L18.3609 7.30839C18.3758 7.32612 18.3858 7.34796 18.3897 7.37145C18.3937 7.39493 18.3914 7.41913 18.3831 7.44128C18.3748 7.46343 18.3609 7.48266 18.3429 7.49678C18.325 7.51089 18.3036 7.51934 18.2814 7.52115H15.7275L15.5585 7.34031V4.60634C15.5602 4.58255 15.5681 4.55975 15.5813 4.54051C15.5945 4.52128 15.6125 4.50639 15.6332 4.49753C15.6539 4.48867 15.6765 4.48619 15.6984 4.49038C15.7203 4.49457 15.7407 4.50526 15.7573 4.52124ZM14.1248 5.91437C14.1732 5.97391 14.2021 6.04884 14.2071 6.1276C14.2157 6.17377 14.2155 6.22129 14.2065 6.26739C14.2045 6.27778 14.2021 6.28804 14.1992 6.29817L14.1944 6.31388C14.1847 6.34291 14.1715 6.3705 14.1551 6.39595C14.13 6.43465 14.098 6.46757 14.0608 6.49276C14.0354 6.5099 14.008 6.52328 13.9794 6.53244C13.9661 6.53672 13.9525 6.5401 13.9387 6.5425H9.71529C9.62309 6.5425 9.5346 6.50328 9.4694 6.43342C9.40413 6.36362 9.3675 6.26889 9.3675 6.17013C9.3675 6.07144 9.40413 5.97671 9.4694 5.90691C9.5346 5.83704 9.62309 5.79783 9.71529 5.79783H13.9387C13.9718 5.80516 14.0034 5.81769 14.0326 5.83484C14.0672 5.85522 14.0984 5.88204 14.1248 5.91437ZM14.2667 7.29776H9.72529C9.69606 7.30302 9.66773 7.31211 9.64092 7.3247C9.62612 7.33171 9.61175 7.33977 9.59798 7.34879C9.56565 7.36996 9.53642 7.39664 9.51155 7.42813C9.4569 7.49722 9.42694 7.58487 9.42694 7.67538C9.42694 7.70155 9.42942 7.72752 9.43434 7.75285C9.44635 7.81505 9.47273 7.87355 9.51155 7.9227C9.55292 7.9751 9.60647 8.01432 9.66628 8.03678C9.67762 8.04107 9.6892 8.04477 9.70097 8.04775C9.70898 8.04983 9.71711 8.05158 9.72529 8.05308H14.2667C14.3546 8.04756 14.437 8.00555 14.4964 7.93601C14.5558 7.86647 14.5875 7.77492 14.5847 7.68071C14.5874 7.63318 14.5813 7.58559 14.5667 7.54059C14.5522 7.4956 14.5296 7.45417 14.5 7.41859C14.4704 7.38301 14.4346 7.35398 14.3946 7.33327C14.3546 7.31256 14.3111 7.30048 14.2667 7.29776ZM4.99497 18.84H12.786C12.8783 18.84 12.9667 18.8008 13.032 18.731C13.0972 18.6611 13.1338 18.5664 13.1338 18.4677C13.1338 18.3689 13.0972 18.2742 13.032 18.2044C12.9667 18.1346 12.8783 18.0954 12.786 18.0954H4.99497C4.90277 18.0954 4.81428 18.1346 4.74908 18.2044C4.68381 18.2742 4.64718 18.3689 4.64718 18.4677C4.64718 18.5664 4.68381 18.6611 4.74908 18.731C4.81428 18.8008 4.90277 18.84 4.99497 18.84ZM17.5858 12.7444H19.5733H19.623C19.7249 12.7499 19.821 12.7971 19.8913 12.8764C19.9616 12.9556 20.0007 13.0607 20.0006 13.17V13.8295C20.0007 13.8458 19.9976 13.862 19.9914 13.8769C19.9853 13.8918 19.9764 13.9052 19.9652 13.9163C19.9539 13.9273 19.9407 13.9357 19.9262 13.9409C19.9118 13.9461 19.8965 13.948 19.8814 13.9465H13.7797C13.7507 13.9465 13.7229 13.9342 13.7024 13.9123C13.6819 13.8903 13.6704 13.8606 13.6704 13.8295V13.17C13.6677 13.0617 13.7046 12.9566 13.7733 12.8771C13.842 12.7976 13.9371 12.75 14.0381 12.7444H16.0256V12.5104C16.0352 12.439 16.0687 12.3737 16.1199 12.3268C16.1711 12.2798 16.2365 12.2544 16.3039 12.2551H17.2976C17.3667 12.2517 17.4345 12.276 17.4878 12.3232C17.541 12.3704 17.576 12.4371 17.5858 12.5104V12.7444ZM14.0679 19.4251V14.1912H19.5037V19.4251C19.4935 19.585 19.4256 19.7344 19.3143 19.8416C19.203 19.9488 19.0571 20.0055 18.9075 19.9996H14.6642C14.5146 20.0055 14.3687 19.9488 14.2574 19.8416C14.1461 19.7344 14.0781 19.585 14.0679 19.4251ZM15.5983 15.1593H15.2505C15.0969 15.1593 14.9723 15.2926 14.9723 15.4572V18.7336C14.9723 18.8981 15.0969 19.0315 15.2505 19.0315H15.5983C15.752 19.0315 15.8766 18.8981 15.8766 18.7336V15.4572C15.8766 15.2926 15.752 15.1593 15.5983 15.1593ZM16.9598 15.1593H16.612C16.4583 15.1593 16.3337 15.2926 16.3337 15.4572V18.7336C16.3337 18.8981 16.4583 19.0315 16.612 19.0315H16.9598C17.1135 19.0315 17.238 18.8981 17.238 18.7336V15.4572C17.238 15.2926 17.1135 15.1593 16.9598 15.1593ZM17.9635 15.1593H18.3113C18.465 15.1593 18.5895 15.2926 18.5895 15.4572V18.7336C18.5895 18.8981 18.465 19.0315 18.3113 19.0315H17.9635C17.8098 19.0315 17.6852 18.8981 17.6852 18.7336V15.4572C17.6852 15.2926 17.8098 15.1593 17.9635 15.1593Z",
acceptSingleChange:"M17.2 20H15.6628L17.33 18.3091V19.87C17.33 19.8871 17.3266 19.904 17.3201 19.9197C17.3136 19.9355 17.304 19.9499 17.2919 19.9619C17.2799 19.974 17.2655 19.9836 17.2497 19.9901C17.234 19.9966 17.2171 20 17.2 20ZM4.13 20H14.4978L14.1823 19.6791L13.5135 18.9904L13.5123 18.9891L13.0529 18.52H5C4.87537 18.52 4.75586 18.4705 4.66766 18.3823C4.57953 18.2942 4.53003 18.1747 4.53003 18.05C4.53003 17.9253 4.57953 17.8058 4.66766 17.7177C4.75586 17.6295 4.87537 17.58 5 17.58H12.1323L11.6235 17.0604L11.6231 16.48L12.8831 15.19L13.4765 15.1896L15.0807 16.8276L17.33 14.5413V9.3H13.28C13.207 9.30976 13.133 9.30976 13.06 9.3C12.7697 9.22119 12.5113 9.05343 12.3212 8.82027C12.1311 8.58711 12.0187 8.30026 12 8V4H4.13C4.09552 4 4.06246 4.0137 4.03808 4.03808C4.0137 4.06246 4 4.09552 4 4.13V19.87C4 19.9045 4.0137 19.9375 4.03808 19.9619C4.06246 19.9863 4.09552 20 4.13 20ZM13.1 4.65L16.6 8.15C16.6212 8.17232 16.6355 8.20028 16.6412 8.23051C16.6469 8.26075 16.6437 8.29199 16.6321 8.32048C16.6205 8.34898 16.6009 8.37352 16.5757 8.39117C16.5505 8.40882 16.5208 8.41883 16.49 8.42H13.06L12.83 8.19V4.76C12.8312 4.72925 12.8412 4.6995 12.8588 4.67429C12.8765 4.64909 12.901 4.62951 12.9295 4.6179C12.958 4.6063 12.9893 4.60315 13.0195 4.60884C13.0497 4.61453 13.0777 4.62882 13.1 4.65ZM11 6.72C11.0027 6.66089 10.9937 6.60184 10.9735 6.5462C10.9534 6.49057 10.9224 6.43948 10.8825 6.39581C10.8425 6.35217 10.7944 6.3168 10.7408 6.29178C10.6871 6.26678 10.6292 6.25256 10.57 6.25H5C4.88239 6.25772 4.77252 6.31131 4.69397 6.39917C4.61542 6.48706 4.57452 6.60226 4.58002 6.72C4.57452 6.83774 4.61542 6.95294 4.69397 7.04083C4.77252 7.12869 4.88239 7.18228 5 7.19H10.6C10.7141 7.1774 10.8189 7.12173 10.8933 7.03436C10.9677 6.94702 11.0058 6.83456 11 6.72ZM11.1 8.14001H5C4.87537 8.14001 4.75586 8.18954 4.66766 8.27768C4.57953 8.36581 4.53003 8.48535 4.53003 8.61002C4.53003 8.73468 4.57953 8.85422 4.66766 8.94235C4.71558 8.99023 4.77277 9.02673 4.83496 9.05008C4.86932 9.06296 4.90521 9.07184 4.94189 9.07642C4.96106 9.0788 4.98047 9.08002 5 9.08002H11.1C11.2247 9.08002 11.3442 9.03049 11.4324 8.94235C11.5205 8.85422 11.57 8.73468 11.57 8.61002C11.57 8.48535 11.5205 8.36581 11.4324 8.27768C11.3442 8.18954 11.2247 8.14001 11.1 8.14001ZM5 11H15.45C15.5826 11 15.7098 10.9473 15.8035 10.8535C15.8973 10.7598 15.95 10.6326 15.95 10.5C15.95 10.3674 15.8973 10.2402 15.8035 10.1465C15.7098 10.0527 15.5826 10 15.45 10H5C4.86737 10 4.74023 10.0527 4.64642 10.1465C4.55267 10.2402 4.5 10.3674 4.5 10.5C4.5 10.6326 4.55267 10.7598 4.64642 10.8535C4.74023 10.9473 4.86737 11 5 11ZM5 12.86H11.1C11.2211 12.8523 11.3346 12.798 11.4166 12.7085C11.4986 12.6191 11.5428 12.5013 11.54 12.38C11.5427 12.2597 11.4982 12.1431 11.416 12.0552C11.3337 11.9673 11.2203 11.9152 11.1 11.91H5C4.94086 11.9126 4.88287 11.9268 4.82922 11.9518C4.77563 11.9768 4.72748 12.0122 4.6875 12.0558C4.65833 12.0878 4.63391 12.1237 4.61505 12.1624C4.60809 12.1767 4.60193 12.1913 4.5965 12.2062C4.58264 12.2443 4.5741 12.2841 4.57092 12.3243C4.56946 12.3428 4.56915 12.3614 4.57001 12.38C4.56451 12.5004 4.60651 12.6181 4.68689 12.7079C4.76733 12.7976 4.87976 12.8523 5 12.86ZM15.45 14.74H5C4.87537 14.74 4.75586 14.6905 4.66766 14.6023C4.57953 14.5142 4.53003 14.3947 4.53003 14.27C4.53003 14.1453 4.57953 14.0258 4.66766 13.9377C4.75586 13.8495 4.87537 13.8 5 13.8H15.45C15.5747 13.8 15.6942 13.8495 15.7823 13.9377C15.8705 14.0258 15.92 14.1453 15.92 14.27C15.92 14.3947 15.8705 14.5142 15.7823 14.6023C15.6942 14.6905 15.5747 14.74 15.45 14.74ZM11.1 16.63H5C4.87537 16.63 4.75586 16.5805 4.66766 16.4923C4.57953 16.4042 4.53003 16.2846 4.53003 16.16C4.53003 16.0353 4.57953 15.9158 4.66766 15.8276C4.75586 15.7395 4.87537 15.69 5 15.69H11.1C11.2247 15.69 11.3442 15.7395 11.4324 15.8276C11.5205 15.9158 11.57 16.0353 11.57 16.16C11.57 16.2846 11.5205 16.4042 11.4324 16.4923C11.3442 16.5805 11.2247 16.63 11.1 16.63ZM18.73 13.71L20 15.01L15.08 20L15.07 19.99L14.48 19.39L13.81 18.7L11.92 16.77L13.18 15.48L15.08 17.42L18.73 13.71Z",
rejectSingleChange:"M17.0495 11.5C17.1461 11.5 17.241 11.5173 17.33 11.5501V9.3H13.28C13.207 9.30976 13.133 9.30976 13.06 9.3C12.7697 9.22119 12.5113 9.05343 12.3212 8.82027C12.1311 8.58711 12.0187 8.30026 12 8V4H4.13C4.09552 4 4.06246 4.0137 4.03808 4.03808C4.0137 4.06246 4 4.09552 4 4.13V19.87C4 19.9045 4.0137 19.9375 4.03808 19.9619C4.06246 19.9863 4.09552 20 4.13 20H13.2305C13.1075 19.8287 13.0338 19.6249 13.0205 19.4112L13.0195 19.3956V18.52H5C4.87537 18.52 4.75586 18.4705 4.66772 18.3823C4.57959 18.2942 4.53003 18.1747 4.53003 18.05C4.53003 18.0119 4.53467 17.9742 4.54358 17.9378C4.56396 17.8552 4.60657 17.7788 4.66772 17.7177C4.75586 17.6295 4.87537 17.58 5 17.58H13.0195V14.74H5C4.87537 14.74 4.75586 14.6905 4.66772 14.6023C4.57959 14.5142 4.53003 14.3947 4.53003 14.27C4.53003 14.1453 4.57959 14.0258 4.66772 13.9377C4.75586 13.8495 4.87537 13.8 5 13.8H12.8393C12.6229 13.6377 12.4998 13.3897 12.4998 13.1032C12.4997 12.8414 12.6008 12.5847 12.7513 12.3911C12.9 12.1998 13.1561 12 13.4994 12L15.2519 12C15.2928 11.8972 15.3589 11.7915 15.4649 11.6992C15.6135 11.5698 15.8041 11.499 16.0011 11.5H17.0495ZM13.1 4.65L16.6 8.15C16.6211 8.17232 16.6354 8.20028 16.6411 8.23051C16.6468 8.26075 16.6437 8.29199 16.6321 8.32048C16.6204 8.34898 16.6009 8.37352 16.5757 8.39117C16.5505 8.40882 16.5207 8.41883 16.49 8.42H13.06L12.83 8.19V4.76C12.8311 4.72925 12.8411 4.6995 12.8588 4.67429C12.8764 4.64909 12.901 4.62951 12.9295 4.6179C12.958 4.6063 12.9892 4.60315 13.0194 4.60884C13.0497 4.61453 13.0776 4.62882 13.1 4.65ZM11 6.72C11.0027 6.66089 10.9937 6.60184 10.9735 6.5462C10.9716 6.5408 10.9695 6.53543 10.9673 6.53012C10.9626 6.51852 10.9575 6.50717 10.9518 6.49603C10.9406 6.47391 10.9275 6.45273 10.9127 6.43274C10.9033 6.41992 10.8932 6.40759 10.8824 6.39581C10.8425 6.35217 10.7943 6.3168 10.7407 6.29178C10.6871 6.26678 10.629 6.25256 10.5699 6.25H5C4.88232 6.25772 4.77246 6.31131 4.69397 6.39917C4.61536 6.48706 4.57446 6.60226 4.57996 6.72C4.57715 6.7811 4.58679 6.84152 4.60767 6.8978C4.61523 6.91803 4.62415 6.93771 4.63452 6.9567C4.65088 6.98669 4.67078 7.01495 4.69397 7.04083C4.77246 7.12869 4.88232 7.18228 5 7.19H10.6C10.714 7.1774 10.8188 7.12173 10.8932 7.03436C10.922 7.00049 10.9454 6.96283 10.9629 6.92273C10.9725 6.9006 10.9805 6.87775 10.9865 6.8544C10.9933 6.82791 10.9977 6.80075 10.9995 6.77325C11.0001 6.76453 11.0004 6.75574 11.0005 6.74695C11.0006 6.73798 11.0005 6.729 11 6.72ZM11.1 8.14001H5C4.97534 8.14001 4.95081 8.14194 4.92676 8.14575C4.89587 8.15063 4.8656 8.15857 4.83643 8.1694C4.77368 8.19272 4.71606 8.2294 4.66772 8.27768C4.57959 8.36581 4.53003 8.48535 4.53003 8.61002C4.53003 8.73468 4.57959 8.85422 4.66772 8.94235C4.75586 9.03049 4.87537 9.08002 5 9.08002H11.1C11.2247 9.08002 11.3442 9.03049 11.4324 8.94235C11.4617 8.91306 11.4867 8.88028 11.5071 8.845C11.5349 8.79691 11.554 8.74414 11.5634 8.68915C11.5677 8.66318 11.5701 8.63672 11.5701 8.61002C11.5701 8.48535 11.5205 8.36581 11.4324 8.27768C11.3929 8.23831 11.3474 8.20663 11.2979 8.18365C11.2365 8.15518 11.1689 8.14001 11.1 8.14001ZM5 11H15.45C15.5826 11 15.7098 10.9473 15.8036 10.8535C15.8973 10.7598 15.95 10.6326 15.95 10.5C15.95 10.3674 15.8973 10.2402 15.8036 10.1465C15.7098 10.0527 15.5826 10 15.45 10H5C4.86743 10 4.74023 10.0527 4.64648 10.1465C4.55273 10.2402 4.5 10.3674 4.5 10.5C4.5 10.6326 4.55273 10.7598 4.64648 10.8535C4.74023 10.9473 4.86743 11 5 11ZM5 12.86H11.1C11.2211 12.8523 11.3346 12.798 11.4166 12.7085C11.4987 12.6191 11.5428 12.5013 11.54 12.38C11.5427 12.2597 11.4982 12.1431 11.4159 12.0552C11.3336 11.9673 11.2202 11.9152 11.1 11.91H5C4.94092 11.9126 4.88281 11.9268 4.82922 11.9518C4.77563 11.9768 4.72742 12.0122 4.6875 12.0558C4.64758 12.0995 4.6167 12.1506 4.59644 12.2062C4.58899 12.2266 4.58313 12.2475 4.57874 12.2687C4.57129 12.3052 4.56824 12.3426 4.56995 12.38C4.56445 12.5004 4.60645 12.6181 4.68689 12.7079C4.76733 12.7976 4.87976 12.8523 5 12.86ZM11.1 16.63H5C4.87537 16.63 4.75586 16.5805 4.66772 16.4923C4.57959 16.4042 4.53003 16.2846 4.53003 16.16C4.53003 16.0353 4.57959 15.9158 4.66772 15.8276C4.75586 15.7395 4.87537 15.69 5 15.69H11.1C11.2247 15.69 11.3442 15.7395 11.4324 15.8276C11.5205 15.9158 11.5701 16.0353 11.5701 16.16C11.5701 16.2846 11.5205 16.4042 11.4324 16.4923C11.3442 16.5805 11.2247 16.63 11.1 16.63ZM19.59 12.53H17.36V12.3C17.3574 12.2195 17.3236 12.1432 17.2657 12.0872C17.2078 12.0313 17.1305 12 17.05 12H16C15.9242 11.9994 15.8509 12.0265 15.7938 12.0762C15.7367 12.126 15.6997 12.1949 15.69 12.27V12.5H13.44C13.3768 12.4994 13.3142 12.5125 13.2565 12.5382C13.1988 12.564 13.1473 12.6019 13.1055 12.6493C13.0638 12.6968 13.0327 12.7526 13.0145 12.8132C12.9963 12.8737 12.9913 12.9374 13 13V13.67C13 13.6871 13.0033 13.704 13.0099 13.7198C13.0164 13.7355 13.026 13.7499 13.038 13.7619C13.0501 13.774 13.0644 13.7836 13.0802 13.7901C13.096 13.7966 13.1129 13.8 13.13 13.8H19.84C19.8611 13.8054 19.8834 13.8054 19.9045 13.8C19.9257 13.7946 19.9452 13.7839 19.9611 13.7689C19.9771 13.754 19.989 13.7352 19.9958 13.7144C20.0026 13.6937 20.004 13.6715 20 13.65V13C20.0028 12.8866 19.9617 12.7765 19.8853 12.6927C19.809 12.6088 19.7031 12.5577 19.59 12.55V12.53ZM13.52 14V19.38C13.5303 19.5454 13.6054 19.7 13.7289 19.8105C13.8525 19.9209 14.0145 19.9782 14.18 19.97H18.84C19.0055 19.9782 19.1676 19.9209 19.2911 19.8105C19.4146 19.7 19.4897 19.5454 19.5 19.38V14H13.52ZM15.52 18.67C15.52 18.7522 15.4874 18.8311 15.4292 18.8892C15.3711 18.9473 15.2922 18.98 15.21 18.98H14.83C14.7478 18.98 14.669 18.9473 14.6108 18.8892C14.5527 18.8311 14.52 18.7522 14.52 18.67V15.33C14.52 15.2893 14.528 15.249 14.5436 15.2114C14.5592 15.1738 14.582 15.1396 14.6108 15.1108C14.6396 15.082 14.6738 15.0592 14.7114 15.0436C14.749 15.028 14.7893 15.02 14.83 15.02H15.21C15.2507 15.02 15.291 15.028 15.3287 15.0436C15.3663 15.0592 15.4004 15.082 15.4292 15.1108C15.458 15.1396 15.4808 15.1738 15.4964 15.2114C15.512 15.249 15.52 15.2893 15.52 15.33V18.67ZM17.01 18.67C17.01 18.7522 16.9774 18.8311 16.9192 18.8892C16.8611 18.9473 16.7822 18.98 16.7 18.98H16.32C16.2798 18.98 16.2399 18.9719 16.2029 18.9562C16.1658 18.9405 16.1323 18.9176 16.1043 18.8886C16.0763 18.8597 16.0544 18.8254 16.0399 18.7879C16.0254 18.7503 16.0187 18.7102 16.02 18.67V15.33C16.0187 15.2898 16.0254 15.2497 16.0399 15.2121C16.0544 15.1746 16.0763 15.1403 16.1043 15.1114C16.1323 15.0824 16.1658 15.0595 16.2029 15.0438C16.2399 15.0281 16.2798 15.02 16.32 15.02H16.7C16.7407 15.02 16.781 15.028 16.8187 15.0436C16.8563 15.0592 16.8904 15.082 16.9192 15.1108C16.948 15.1396 16.9708 15.1738 16.9864 15.2114C17.002 15.249 17.01 15.2893 17.01 15.33V18.67ZM18.51 18.67C18.51 18.7107 18.502 18.751 18.4864 18.7886C18.4708 18.8262 18.448 18.8604 18.4192 18.8892C18.3904 18.918 18.3563 18.9408 18.3187 18.9564C18.281 18.972 18.2407 18.98 18.2 18.98H17.82C17.7378 18.98 17.659 18.9473 17.6008 18.8892C17.5427 18.8311 17.51 18.7522 17.51 18.67V15.33C17.51 15.2893 17.518 15.249 17.5336 15.2114C17.5492 15.1738 17.572 15.1396 17.6008 15.1108C17.6296 15.082 17.6638 15.0592 17.7014 15.0436C17.739 15.028 17.7793 15.02 17.82 15.02H18.2C18.2407 15.02 18.281 15.028 18.3187 15.0436C18.3563 15.0592 18.3904 15.082 18.4192 15.1108C18.448 15.1396 18.4708 15.1738 18.4864 15.2114C18.502 15.249 18.51 15.2893 18.51 15.33V18.67Z"};
a.FILEICONS={docIcon:{extension:".doc",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.617188 46.875 C 13.234375 46.875 16.160156 43.929688 16.160156 40.292969 C 16.160156 36.695312 13.234375 33.75 9.617188 33.75 L 7.402344 33.75 C 6.820312 33.75 6.371094 34.199219 6.371094 34.78125 L 6.371094 45.84375 C 6.371094 46.335938 6.714844 46.757812 7.191406 46.855469 L 7.402344 46.875 Z M 9.617188 44.792969 L 8.453125 44.792969 L 8.453125 35.832031 L 9.617188 35.832031 C 12.089844 35.832031 14.078125 37.835938 14.078125 40.292969 C 14.078125 42.789062 12.089844 44.773438 9.617188 44.792969 Z M 24.816406 46.875 C 26.539062 46.875 28.191406 46.085938 29.296875 44.867188 C 30.460938 43.648438 31.191406 41.980469 31.191406 40.125 C 31.191406 38.269531 30.460938 36.617188 29.296875 35.382812 C 28.191406 34.144531 26.539062 33.375 24.816406 33.375 C 23.015625 33.375 21.367188 34.144531 20.222656 35.382812 C 19.058594 36.617188 18.367188 38.269531 18.367188 40.125 C 18.367188 41.980469 19.058594 43.648438 20.222656 44.867188 C 21.367188 46.085938 23.015625 46.875 24.816406 46.875 Z M 24.816406 44.738281 C 23.617188 44.738281 22.566406 44.230469 21.777344 43.386719 C 20.992188 42.582031 20.503906 41.398438 20.503906 40.125 C 20.503906 38.851562 20.992188 37.667969 21.777344 36.84375 C 22.566406 36 23.617188 35.511719 24.816406 35.511719 C 25.941406 35.511719 26.992188 36 27.777344 36.84375 C 28.546875 37.667969 29.054688 38.851562 29.054688 40.125 C 29.054688 41.398438 28.546875 42.582031 27.777344 43.386719 C 26.992188 44.230469 25.941406 44.738281 24.816406 44.738281 Z M 39.996094 46.875 C 41.648438 46.875 43.148438 46.332031 44.328125 45.414062 C 44.777344 45.054688 44.851562 44.382812 44.515625 43.914062 C 44.140625 43.460938 43.445312 43.386719 43.015625 43.707031 C 42.171875 44.382812 41.160156 44.738281 39.996094 44.738281 C 38.703125 44.738281 37.503906 44.210938 36.621094 43.386719 C 35.777344 42.5625 35.253906 41.398438 35.253906 40.125 C 35.253906 38.851562 35.777344 37.726562 36.621094 36.863281 C 37.503906 36.039062 38.703125 35.511719 39.996094 35.511719 C 41.160156 35.511719 42.191406 35.867188 43.015625 36.542969 C 43.445312 36.882812 44.140625 36.804688 44.515625 36.335938 C 44.851562 35.867188 44.777344 35.210938 44.328125 34.835938 C 43.148438 33.917969 41.648438 33.375 39.996094 33.375 C 36.246094 33.394531 33.132812 36.414062 33.117188 40.125 C 33.132812 43.855469 36.246094 46.875 39.996094 46.875 Z M 39.996094 46.875 "/>\n </g>'},
gifIcon:{extension:".gif",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.394531 46.875 C 18.988281 46.875 20.46875 46.332031 21.648438 45.414062 C 21.835938 45.28125 21.949219 45.132812 22.003906 44.960938 L 22.003906 44.945312 C 22.023438 44.90625 22.023438 44.886719 22.042969 44.851562 C 22.0625 44.738281 22.097656 44.664062 22.097656 44.53125 L 22.097656 40.386719 C 22.097656 39.789062 21.613281 39.335938 21.011719 39.335938 L 17.28125 39.335938 C 16.699219 39.335938 16.210938 39.789062 16.210938 40.386719 C 16.210938 40.96875 16.699219 41.457031 17.28125 41.457031 L 19.960938 41.457031 L 19.960938 44.023438 C 19.210938 44.457031 18.332031 44.738281 17.394531 44.738281 C 16.042969 44.738281 14.863281 44.230469 14.019531 43.367188 C 13.136719 42.523438 12.613281 41.382812 12.613281 40.144531 C 12.613281 38.867188 13.136719 37.726562 14.019531 36.882812 C 14.863281 36.019531 16.042969 35.511719 17.394531 35.511719 C 18.519531 35.511719 19.550781 35.90625 20.355469 36.523438 C 20.824219 36.898438 21.519531 36.804688 21.875 36.355469 C 22.230469 35.886719 22.15625 35.195312 21.667969 34.835938 C 20.503906 33.917969 18.988281 33.375 17.394531 33.375 C 13.585938 33.375 10.472656 36.375 10.472656 40.144531 C 10.472656 43.894531 13.585938 46.875 17.394531 46.875 Z M 26.945312 46.875 C 27.507812 46.875 27.996094 46.425781 27.996094 45.84375 L 27.996094 34.78125 C 27.996094 34.199219 27.507812 33.75 26.945312 33.75 C 26.363281 33.75 25.914062 34.199219 25.914062 34.78125 L 25.914062 45.84375 C 25.914062 46.425781 26.363281 46.875 26.945312 46.875 Z M 33.066406 46.875 C 33.648438 46.875 34.117188 46.40625 34.117188 45.84375 L 34.117188 41.34375 L 38.488281 41.34375 C 39.050781 41.34375 39.519531 40.875 39.519531 40.292969 C 39.519531 39.75 39.050781 39.261719 38.488281 39.261719 L 34.117188 39.261719 L 34.117188 35.832031 L 39.199219 35.832031 C 39.742188 35.832031 40.230469 35.363281 40.230469 34.78125 C 40.230469 34.21875 39.742188 33.75 39.199219 33.75 L 33.066406 33.75 C 32.488281 33.75 32.035156 34.21875 32.035156 34.78125 L 32.035156 45.84375 C 32.035156 46.40625 32.488281 46.875 33.066406 46.875 Z M 33.066406 46.875 "/>\n </g>'},
jpegIcon:{extension:".jpeg",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9 43.75 C 11.140625 43.75 12.890625 42.015625 12.890625 39.875 L 12.890625 33.671875 C 12.890625 33.1875 12.5 32.8125 12.03125 32.8125 C 11.546875 32.8125 11.15625 33.1875 11.15625 33.671875 L 11.15625 39.875 C 11.15625 41.046875 10.1875 42.015625 9 42.015625 C 8.046875 42.015625 7.234375 41.390625 6.953125 40.53125 C 6.8125 40.078125 6.328125 39.828125 5.859375 39.984375 C 5.421875 40.109375 5.15625 40.59375 5.3125 41.0625 C 5.8125 42.625 7.28125 43.75 9 43.75 Z M 15.640625 43.75 C 16.125 43.75 16.515625 43.359375 16.515625 42.890625 L 16.515625 39.5 L 18.4375 39.5 C 20.296875 39.5 21.796875 38 21.796875 36.171875 C 21.796875 34.3125 20.296875 32.8125 18.4375 32.8125 L 15.640625 32.8125 C 15.171875 32.8125 14.78125 33.1875 14.78125 33.671875 L 14.78125 42.890625 C 14.78125 43.359375 15.171875 43.75 15.640625 43.75 Z M 18.4375 37.765625 L 16.515625 37.765625 L 16.515625 34.546875 L 18.4375 34.546875 C 19.34375 34.546875 20.046875 35.265625 20.0625 36.171875 C 20.046875 37.046875 19.34375 37.765625 18.4375 37.765625 Z M 29.234375 43.75 C 29.6875 43.75 30.09375 43.359375 30.09375 42.890625 C 30.09375 42.40625 29.6875 42.015625 29.234375 42.015625 L 25 42.015625 L 25 39.140625 L 28.640625 39.140625 C 29.109375 39.140625 29.5 38.75 29.5 38.265625 C 29.5 37.8125 29.109375 37.40625 28.640625 37.40625 L 25 37.40625 L 25 34.546875 L 29.234375 34.546875 C 29.6875 34.546875 30.09375 34.15625 30.09375 33.671875 C 30.09375 33.1875 29.6875 32.8125 29.234375 32.8125 L 24.125 32.8125 C 23.640625 32.8125 23.265625 33.1875 23.265625 33.671875 L 23.265625 42.890625 C 23.265625 43.359375 23.640625 43.75 24.125 43.75 C 24.125 43.75 24.140625 43.734375 24.140625 43.734375 C 24.140625 43.734375 24.140625 43.75 24.171875 43.75 Z M 37.1875 43.75 C 38.515625 43.75 39.75 43.296875 40.734375 42.53125 C 40.890625 42.421875 40.984375 42.296875 41.03125 42.15625 L 41.03125 42.140625 C 41.046875 42.109375 41.046875 42.09375 41.0625 42.0625 C 41.078125 41.96875 41.109375 41.90625 41.109375 41.796875 L 41.109375 38.34375 C 41.109375 37.914062 40.8125 37.578125 40.410156 37.492188 L 40.203125 37.46875 L 37.09375 37.46875 C 36.609375 37.46875 36.203125 37.84375 36.203125 38.34375 C 36.203125 38.828125 36.609375 39.234375 37.09375 39.234375 L 39.328125 39.234375 L 39.328125 41.375 C 38.703125 41.734375 37.96875 41.96875 37.1875 41.96875 C 36.0625 41.96875 35.078125 41.546875 34.375 40.828125 C 33.640625 40.125 33.203125 39.171875 33.203125 38.140625 C 33.203125 37.078125 33.640625 36.125 34.375 35.421875 C 35.078125 34.703125 36.0625 34.28125 37.1875 34.28125 C 38.125 34.28125 38.984375 34.609375 39.65625 35.125 C 40.046875 35.4375 40.625 35.359375 40.921875 34.984375 C 41.21875 34.59375 41.15625 34.015625 40.75 33.71875 C 39.78125 32.953125 38.515625 32.5 37.1875 32.5 C 34.015625 32.5 31.421875 35 31.421875 38.140625 C 31.421875 41.265625 34.015625 43.75 37.1875 43.75 Z M 37.1875 43.75 "/>\n </g>'},
logIcon:{extension:".log",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.542969 46.875 C 14.085938 46.875 14.574219 46.40625 14.574219 45.84375 C 14.574219 45.261719 14.085938 44.792969 13.542969 44.792969 L 8.460938 44.792969 L 8.460938 34.78125 C 8.460938 34.21875 7.992188 33.75 7.410156 33.75 C 6.828125 33.75 6.378906 34.21875 6.378906 34.78125 L 6.378906 45.84375 C 6.378906 46.40625 6.828125 46.875 7.410156 46.875 Z M 21.742188 46.875 C 23.46875 46.875 25.117188 46.085938 26.222656 44.867188 C 27.386719 43.648438 28.117188 41.980469 28.117188 40.125 C 28.117188 38.269531 27.386719 36.617188 26.222656 35.382812 C 25.117188 34.144531 23.46875 33.375 21.742188 33.375 C 19.941406 33.375 18.292969 34.144531 17.148438 35.382812 C 15.984375 36.617188 15.292969 38.269531 15.292969 40.125 C 15.292969 41.980469 15.984375 43.648438 17.148438 44.867188 C 18.292969 46.085938 19.941406 46.875 21.742188 46.875 Z M 21.742188 44.738281 C 20.542969 44.738281 19.492188 44.230469 18.703125 43.386719 C 17.917969 42.582031 17.429688 41.398438 17.429688 40.125 C 17.429688 38.851562 17.917969 37.667969 18.703125 36.84375 C 19.492188 36 20.542969 35.511719 21.742188 35.511719 C 22.867188 35.511719 23.917969 36 24.703125 36.84375 C 25.472656 37.667969 25.980469 38.851562 25.980469 40.125 C 25.980469 41.398438 25.472656 42.582031 24.703125 43.386719 C 23.917969 44.230469 22.867188 44.738281 21.742188 44.738281 Z M 37.300781 46.875 C 38.894531 46.875 40.375 46.332031 41.558594 45.414062 C 41.746094 45.28125 41.855469 45.132812 41.914062 44.960938 L 41.914062 44.945312 L 41.949219 44.851562 C 41.96875 44.738281 42.007812 44.664062 42.007812 44.53125 L 42.007812 40.386719 C 42.007812 39.789062 41.519531 39.335938 40.917969 39.335938 L 37.1875 39.335938 C 36.605469 39.335938 36.121094 39.789062 36.121094 40.386719 C 36.121094 40.96875 36.605469 41.457031 37.1875 41.457031 L 39.871094 41.457031 L 39.871094 44.023438 C 39.121094 44.457031 38.238281 44.738281 37.300781 44.738281 C 35.949219 44.738281 34.769531 44.230469 33.925781 43.367188 C 33.042969 42.523438 32.519531 41.382812 32.519531 40.144531 C 32.519531 38.867188 33.042969 37.726562 33.925781 36.882812 C 34.769531 36.019531 35.949219 35.511719 37.300781 35.511719 C 38.425781 35.511719 39.457031 35.90625 40.261719 36.523438 C 40.730469 36.898438 41.425781 36.804688 41.78125 36.355469 C 42.136719 35.886719 42.0625 35.195312 41.574219 34.835938 C 40.414062 33.917969 38.894531 33.375 37.300781 33.375 C 33.496094 33.375 30.382812 36.375 30.382812 40.144531 C 30.382812 43.894531 33.496094 46.875 37.300781 46.875 Z M 37.300781 46.875 "/>\n </g>'},
movIcon:{extension:".mov",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 15.472656 46.875 C 16.035156 46.875 16.523438 46.40625 16.523438 45.84375 L 16.523438 34.78125 C 16.523438 34.289062 16.152344 33.882812 15.679688 33.777344 L 15.472656 33.75 L 15.453125 33.75 C 15.117188 33.75 14.816406 33.898438 14.609375 34.179688 L 10.878906 39.355469 L 7.148438 34.179688 C 6.960938 33.898438 6.625 33.75 6.324219 33.75 L 6.265625 33.75 C 5.703125 33.75 5.234375 34.21875 5.234375 34.78125 L 5.234375 45.84375 C 5.234375 46.40625 5.703125 46.875 6.265625 46.875 C 6.847656 46.875 7.316406 46.40625 7.316406 45.84375 L 7.316406 37.949219 L 10 41.699219 C 10.203125 41.980469 10.523438 42.132812 10.859375 42.132812 L 10.898438 42.132812 C 11.234375 42.132812 11.535156 41.980469 11.742188 41.699219 L 14.441406 37.949219 L 14.441406 45.84375 C 14.441406 46.40625 14.890625 46.875 15.472656 46.875 Z M 25.460938 46.875 C 27.1875 46.875 28.835938 46.085938 29.941406 44.867188 C 31.105469 43.648438 31.835938 41.980469 31.835938 40.125 C 31.835938 38.269531 31.105469 36.617188 29.941406 35.382812 C 28.835938 34.144531 27.1875 33.375 25.460938 33.375 C 23.660156 33.375 22.011719 34.144531 20.867188 35.382812 C 19.703125 36.617188 19.011719 38.269531 19.011719 40.125 C 19.011719 41.980469 19.703125 43.648438 20.867188 44.867188 C 22.011719 46.085938 23.660156 46.875 25.460938 46.875 Z M 25.460938 44.738281 C 24.261719 44.738281 23.210938 44.230469 22.421875 43.386719 C 21.636719 42.582031 21.148438 41.398438 21.148438 40.125 C 21.148438 38.851562 21.636719 37.667969 22.421875 36.84375 C 23.210938 36 24.261719 35.511719 25.460938 35.511719 C 26.585938 35.511719 27.636719 36 28.421875 36.84375 C 29.191406 37.667969 29.699219 38.851562 29.699219 40.125 C 29.699219 41.398438 29.191406 42.582031 28.421875 43.386719 C 27.636719 44.230469 26.585938 44.738281 25.460938 44.738281 Z M 38.683594 46.855469 L 38.71875 46.855469 C 38.777344 46.835938 38.8125 46.820312 38.871094 46.820312 C 38.886719 46.800781 38.886719 46.800781 38.90625 46.800781 C 38.964844 46.78125 39.019531 46.726562 39.058594 46.707031 L 39.09375 46.6875 L 39.207031 46.59375 C 39.226562 46.574219 39.226562 46.574219 39.246094 46.539062 L 39.339844 46.425781 C 39.355469 46.425781 39.355469 46.425781 39.355469 46.40625 C 39.394531 46.367188 39.414062 46.292969 39.433594 46.257812 L 44.0625 35.304688 C 44.269531 34.800781 44.027344 34.179688 43.5 33.976562 C 42.996094 33.75 42.375 33.992188 42.152344 34.519531 L 38.496094 43.199219 L 34.839844 34.519531 C 34.613281 33.992188 34.011719 33.75 33.507812 33.976562 C 32.964844 34.179688 32.71875 34.800781 32.945312 35.304688 L 37.539062 46.257812 C 37.574219 46.292969 37.613281 46.367188 37.632812 46.40625 C 37.632812 46.425781 37.652344 46.425781 37.652344 46.425781 C 37.667969 46.460938 37.707031 46.5 37.746094 46.539062 C 37.746094 46.574219 37.761719 46.574219 37.761719 46.59375 C 37.820312 46.632812 37.855469 46.648438 37.894531 46.6875 L 37.914062 46.6875 C 37.96875 46.726562 38.042969 46.78125 38.082031 46.800781 L 38.101562 46.800781 C 38.101562 46.800781 38.121094 46.800781 38.121094 46.820312 C 38.15625 46.820312 38.230469 46.835938 38.269531 46.855469 L 38.308594 46.855469 L 38.402344 46.871094 L 38.496094 46.875 C 38.550781 46.875 38.605469 46.875 38.683594 46.855469 Z M 38.683594 46.855469 "/>\n </g>'},
ogvIcon:{extension:".ogv",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 11.511719 46.875 C 13.238281 46.875 14.886719 46.085938 15.996094 44.867188 C 17.15625 43.648438 17.886719 41.980469 17.886719 40.125 C 17.886719 38.269531 17.15625 36.617188 15.996094 35.382812 C 14.886719 34.144531 13.238281 33.375 11.511719 33.375 C 9.714844 33.375 8.0625 34.144531 6.917969 35.382812 C 5.757812 36.617188 5.0625 38.269531 5.0625 40.125 C 5.0625 41.980469 5.757812 43.648438 6.917969 44.867188 C 8.0625 46.085938 9.714844 46.875 11.511719 46.875 Z M 11.511719 44.738281 C 10.3125 44.738281 9.261719 44.230469 8.476562 43.386719 C 7.6875 42.582031 7.199219 41.398438 7.199219 40.125 C 7.199219 38.851562 7.6875 37.667969 8.476562 36.84375 C 9.261719 36 10.3125 35.511719 11.511719 35.511719 C 12.636719 35.511719 13.6875 36 14.476562 36.84375 C 15.246094 37.667969 15.75 38.851562 15.75 40.125 C 15.75 41.398438 15.246094 42.582031 14.476562 43.386719 C 13.6875 44.230469 12.636719 44.738281 11.511719 44.738281 Z M 27.25 46.875 C 28.84375 46.875 30.324219 46.332031 31.507812 45.414062 C 31.695312 45.28125 31.804688 45.132812 31.863281 44.960938 L 31.863281 44.945312 C 31.882812 44.90625 31.882812 44.886719 31.898438 44.851562 C 31.917969 44.738281 31.957031 44.664062 31.957031 44.53125 L 31.957031 40.386719 C 31.957031 39.789062 31.46875 39.335938 30.867188 39.335938 L 27.136719 39.335938 C 26.554688 39.335938 26.070312 39.789062 26.070312 40.386719 C 26.070312 40.96875 26.554688 41.457031 27.136719 41.457031 L 29.820312 41.457031 L 29.820312 44.023438 C 29.070312 44.457031 28.1875 44.738281 27.25 44.738281 C 25.898438 44.738281 24.71875 44.230469 23.875 43.367188 C 22.992188 42.523438 22.46875 41.382812 22.46875 40.144531 C 22.46875 38.867188 22.992188 37.726562 23.875 36.882812 C 24.71875 36.019531 25.898438 35.511719 27.25 35.511719 C 28.375 35.511719 29.40625 35.90625 30.210938 36.523438 C 30.679688 36.898438 31.375 36.804688 31.730469 36.355469 C 32.085938 35.886719 32.011719 35.195312 31.523438 34.835938 C 30.363281 33.917969 28.84375 33.375 27.25 33.375 C 23.445312 33.375 20.332031 36.375 20.332031 40.144531 C 20.332031 43.894531 23.445312 46.875 27.25 46.875 Z M 40.191406 46.855469 L 40.230469 46.855469 C 40.285156 46.835938 40.324219 46.820312 40.378906 46.820312 C 40.398438 46.800781 40.398438 46.800781 40.417969 46.800781 C 40.472656 46.78125 40.53125 46.726562 40.566406 46.707031 C 40.605469 46.6875 40.605469 46.6875 40.605469 46.6875 L 40.71875 46.59375 C 40.738281 46.574219 40.738281 46.574219 40.753906 46.539062 L 40.847656 46.425781 C 40.867188 46.425781 40.867188 46.425781 40.867188 46.40625 C 40.90625 46.367188 40.925781 46.292969 40.941406 46.257812 L 45.574219 35.304688 C 45.78125 34.800781 45.535156 34.179688 45.011719 33.976562 C 44.503906 33.75 43.886719 33.992188 43.660156 34.519531 L 40.003906 43.199219 L 36.347656 34.519531 C 36.125 33.992188 35.523438 33.75 35.019531 33.976562 C 34.472656 34.179688 34.230469 34.800781 34.457031 35.304688 L 39.050781 46.257812 C 39.085938 46.292969 39.125 46.367188 39.144531 46.40625 C 39.144531 46.425781 39.160156 46.425781 39.160156 46.425781 C 39.179688 46.460938 39.21875 46.5 39.253906 46.539062 C 39.253906 46.574219 39.273438 46.574219 39.273438 46.59375 C 39.332031 46.632812 39.367188 46.648438 39.40625 46.6875 L 39.425781 46.6875 C 39.480469 46.726562 39.554688 46.78125 39.59375 46.800781 L 39.613281 46.800781 C 39.613281 46.800781 39.628906 46.800781 39.628906 46.820312 C 39.667969 46.820312 39.742188 46.835938 39.78125 46.855469 L 39.816406 46.855469 L 39.910156 46.871094 L 40.003906 46.875 C 40.0625 46.875 40.117188 46.875 40.191406 46.855469 Z M 40.191406 46.855469 "/>\n </g>'},
pngIcon:{extension:".png",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.523438 46.875 C 8.105469 46.875 8.574219 46.40625 8.574219 45.84375 L 8.574219 41.773438 L 10.878906 41.773438 C 13.109375 41.773438 14.910156 39.976562 14.910156 37.78125 C 14.910156 35.550781 13.109375 33.75 10.878906 33.75 L 7.523438 33.75 C 6.960938 33.75 6.492188 34.199219 6.492188 34.78125 L 6.492188 45.84375 C 6.492188 46.40625 6.960938 46.875 7.523438 46.875 Z M 10.878906 39.695312 L 8.574219 39.695312 L 8.574219 35.832031 L 10.878906 35.832031 C 11.964844 35.832031 12.808594 36.695312 12.828125 37.78125 C 12.808594 38.832031 11.964844 39.695312 10.878906 39.695312 Z M 26.75 46.875 C 27.3125 46.875 27.78125 46.40625 27.78125 45.84375 L 27.78125 34.949219 C 27.78125 34.40625 27.3125 33.9375 26.75 33.9375 C 26.1875 33.9375 25.738281 34.40625 25.738281 34.949219 L 25.738281 42.675781 L 19.679688 34.292969 C 19.363281 33.84375 18.722656 33.75 18.253906 34.070312 C 17.972656 34.273438 17.824219 34.613281 17.84375 34.929688 L 17.84375 45.84375 C 17.84375 46.40625 18.292969 46.875 18.875 46.875 C 19.417969 46.875 19.886719 46.40625 19.886719 45.84375 L 19.886719 38.0625 L 25.886719 46.386719 C 25.90625 46.425781 25.941406 46.460938 25.980469 46.5 C 26.167969 46.726562 26.449219 46.875 26.75 46.875 Z M 38.082031 46.875 C 39.675781 46.875 41.15625 46.332031 42.339844 45.414062 C 42.527344 45.28125 42.636719 45.132812 42.695312 44.960938 L 42.695312 44.945312 C 42.714844 44.90625 42.714844 44.886719 42.730469 44.851562 C 42.75 44.738281 42.789062 44.664062 42.789062 44.53125 L 42.789062 40.386719 C 42.789062 39.789062 42.300781 39.335938 41.699219 39.335938 L 37.96875 39.335938 C 37.386719 39.335938 36.902344 39.789062 36.902344 40.386719 C 36.902344 40.96875 37.386719 41.457031 37.96875 41.457031 L 40.652344 41.457031 L 40.652344 44.023438 C 39.902344 44.457031 39.019531 44.738281 38.082031 44.738281 C 36.730469 44.738281 35.550781 44.230469 34.707031 43.367188 C 33.824219 42.523438 33.300781 41.382812 33.300781 40.144531 C 33.300781 38.867188 33.824219 37.726562 34.707031 36.882812 C 35.550781 36.019531 36.730469 35.511719 38.082031 35.511719 C 39.207031 35.511719 40.238281 35.90625 41.042969 36.523438 C 41.511719 36.898438 42.207031 36.804688 42.5625 36.355469 C 42.917969 35.886719 42.84375 35.195312 42.355469 34.835938 C 41.195312 33.917969 39.675781 33.375 38.082031 33.375 C 34.277344 33.375 31.164062 36.375 31.164062 40.144531 C 31.164062 43.894531 34.277344 46.875 38.082031 46.875 Z M 38.082031 46.875 "/>\n </g>'},
txtIcon:{extension:".txt",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 12.847656 46.875 C 13.429688 46.875 13.878906 46.425781 13.878906 45.84375 L 13.878906 35.832031 L 16.859375 35.832031 C 17.421875 35.832031 17.890625 35.34375 17.890625 34.78125 C 17.890625 34.199219 17.421875 33.75 16.859375 33.75 L 8.855469 33.75 C 8.273438 33.75 7.824219 34.199219 7.824219 34.78125 C 7.824219 35.34375 8.273438 35.832031 8.855469 35.832031 L 11.816406 35.832031 L 11.816406 45.84375 C 11.816406 46.425781 12.285156 46.875 12.847656 46.875 Z M 29.019531 46.875 C 29.222656 46.875 29.429688 46.800781 29.617188 46.667969 C 30.085938 46.351562 30.160156 45.695312 29.84375 45.242188 L 26.28125 40.367188 L 29.84375 35.53125 C 30.160156 35.0625 30.085938 34.425781 29.617188 34.105469 C 29.148438 33.75 28.53125 33.84375 28.175781 34.332031 L 25.023438 38.644531 L 21.855469 34.332031 C 21.535156 33.84375 20.878906 33.75 20.429688 34.105469 C 19.960938 34.425781 19.867188 35.0625 20.1875 35.53125 L 23.75 40.367188 L 20.1875 45.242188 C 19.867188 45.695312 19.960938 46.351562 20.429688 46.667969 C 20.597656 46.800781 20.804688 46.875 21.03125 46.875 C 21.347656 46.875 21.648438 46.707031 21.855469 46.445312 L 25.023438 42.113281 L 28.175781 46.445312 C 28.378906 46.707031 28.679688 46.875 29.019531 46.875 Z M 37.464844 46.875 C 38.042969 46.875 38.496094 46.425781 38.496094 45.84375 L 38.496094 35.832031 L 41.476562 35.832031 C 42.039062 35.832031 42.507812 35.34375 42.507812 34.78125 C 42.507812 34.199219 42.039062 33.75 41.476562 33.75 L 33.46875 33.75 C 32.886719 33.75 32.4375 34.199219 32.4375 34.78125 C 32.4375 35.34375 32.886719 35.832031 33.46875 35.832031 L 36.433594 35.832031 L 36.433594 45.84375 C 36.433594 46.425781 36.902344 46.875 37.464844 46.875 Z M 37.464844 46.875 "/>\n </g>'},
webmIcon:{extension:".webm",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.195312 43.734375 L 7.242188 43.734375 C 7.273438 43.71875 7.304688 43.703125 7.367188 43.703125 C 7.367188 43.6875 7.382812 43.6875 7.382812 43.6875 L 7.398438 43.6875 C 7.429688 43.671875 7.476562 43.625 7.523438 43.59375 L 7.554688 43.59375 C 7.585938 43.5625 7.617188 43.53125 7.648438 43.515625 C 7.648438 43.5 7.664062 43.5 7.664062 43.46875 L 7.757812 43.375 C 7.757812 43.375 7.757812 43.359375 7.773438 43.359375 C 7.789062 43.328125 7.820312 43.265625 7.835938 43.21875 L 9.882812 38.375 L 11.929688 43.21875 C 11.945312 43.265625 11.960938 43.328125 11.992188 43.359375 C 11.992188 43.359375 11.992188 43.375 12.023438 43.375 L 12.085938 43.46875 C 12.101562 43.5 12.101562 43.5 12.117188 43.515625 C 12.148438 43.53125 12.179688 43.5625 12.226562 43.59375 L 12.242188 43.59375 C 12.273438 43.625 12.320312 43.671875 12.382812 43.6875 C 12.398438 43.6875 12.398438 43.6875 12.414062 43.703125 C 12.445312 43.703125 12.476562 43.71875 12.523438 43.734375 L 12.570312 43.734375 L 12.640625 43.746094 L 12.710938 43.75 C 12.773438 43.75 12.820312 43.75 12.867188 43.734375 L 12.898438 43.734375 C 12.945312 43.71875 12.992188 43.703125 13.023438 43.703125 C 13.023438 43.6875 13.039062 43.6875 13.039062 43.6875 L 13.054688 43.6875 C 13.117188 43.671875 13.148438 43.625 13.195312 43.59375 L 13.210938 43.59375 C 13.242188 43.5625 13.289062 43.53125 13.320312 43.515625 C 13.320312 43.5 13.335938 43.5 13.335938 43.46875 C 13.367188 43.4375 13.398438 43.40625 13.414062 43.375 C 13.414062 43.375 13.429688 43.359375 13.429688 43.359375 C 13.460938 43.328125 13.492188 43.265625 13.507812 43.21875 L 17.335938 34.109375 C 17.523438 33.6875 17.320312 33.171875 16.898438 33 C 16.445312 32.8125 15.945312 33.015625 15.757812 33.453125 L 12.710938 40.6875 L 10.695312 35.890625 C 10.539062 35.546875 10.210938 35.359375 9.882812 35.359375 C 9.539062 35.359375 9.210938 35.546875 9.070312 35.890625 L 7.054688 40.6875 L 3.992188 33.453125 C 3.820312 33.015625 3.304688 32.8125 2.882812 33 C 2.429688 33.171875 2.242188 33.6875 2.414062 34.109375 L 6.257812 43.21875 C 6.289062 43.265625 6.304688 43.328125 6.335938 43.359375 L 6.335938 43.375 C 6.367188 43.40625 6.382812 43.4375 6.414062 43.46875 C 6.429688 43.5 6.429688 43.5 6.445312 43.515625 C 6.492188 43.53125 6.507812 43.5625 6.554688 43.59375 L 6.570312 43.59375 C 6.601562 43.625 6.664062 43.671875 6.710938 43.6875 C 6.726562 43.6875 6.726562 43.6875 6.742188 43.703125 C 6.773438 43.703125 6.804688 43.71875 6.851562 43.734375 L 6.898438 43.734375 L 6.976562 43.746094 L 7.054688 43.75 C 7.101562 43.75 7.148438 43.75 7.195312 43.734375 Z M 25.179688 43.75 C 25.632812 43.75 26.039062 43.359375 26.039062 42.890625 C 26.039062 42.40625 25.632812 42.015625 25.179688 42.015625 L 20.945312 42.015625 L 20.945312 39.140625 L 24.585938 39.140625 C 25.054688 39.140625 25.445312 38.75 25.445312 38.265625 C 25.445312 37.8125 25.054688 37.40625 24.585938 37.40625 L 20.945312 37.40625 L 20.945312 34.546875 L 25.179688 34.546875 C 25.632812 34.546875 26.039062 34.15625 26.039062 33.671875 C 26.039062 33.1875 25.632812 32.8125 25.179688 32.8125 L 20.070312 32.8125 C 19.585938 32.8125 19.210938 33.1875 19.210938 33.671875 L 19.210938 42.890625 C 19.210938 43.359375 19.585938 43.75 20.070312 43.75 C 20.070312 43.75 20.085938 43.734375 20.085938 43.734375 C 20.085938 43.734375 20.085938 43.75 20.117188 43.75 Z M 31.539062 43.75 C 33.382812 43.75 34.882812 42.25 34.882812 40.390625 C 34.882812 39.203125 34.242188 38.15625 33.304688 37.5625 C 33.679688 37.0625 33.898438 36.453125 33.898438 35.78125 C 33.898438 34.140625 32.570312 32.8125 30.929688 32.8125 L 28.710938 32.8125 C 28.242188 32.8125 27.851562 33.1875 27.851562 33.671875 L 27.851562 42.890625 C 27.851562 43.359375 28.242188 43.75 28.710938 43.75 L 28.757812 43.734375 C 28.757812 43.734375 28.757812 43.75 28.773438 43.75 Z M 30.929688 37.046875 L 29.585938 37.046875 L 29.585938 34.546875 L 30.929688 34.546875 C 31.617188 34.546875 32.164062 35.09375 32.164062 35.78125 C 32.164062 36.46875 31.617188 37.046875 30.929688 37.046875 Z M 31.539062 42.015625 L 29.585938 42.015625 L 29.585938 38.78125 L 31.539062 38.78125 C 32.429688 38.796875 33.148438 39.5 33.148438 40.390625 C 33.148438 41.296875 32.429688 42 31.539062 42.015625 Z M 45.664062 43.75 C 46.132812 43.75 46.539062 43.359375 46.539062 42.890625 L 46.539062 33.671875 C 46.539062 33.269531 46.242188 32.9375 45.859375 32.839844 L 45.664062 32.8125 L 45.648438 32.8125 C 45.367188 32.8125 45.117188 32.9375 44.945312 33.171875 L 41.835938 37.484375 L 38.726562 33.171875 C 38.570312 32.9375 38.289062 32.8125 38.039062 32.8125 L 37.992188 32.8125 C 37.523438 32.8125 37.132812 33.203125 37.132812 33.671875 L 37.132812 42.890625 C 37.132812 43.359375 37.523438 43.75 37.992188 43.75 C 38.476562 43.75 38.867188 43.359375 38.867188 42.890625 L 38.867188 36.3125 L 41.101562 39.4375 C 41.273438 39.671875 41.539062 39.796875 41.820312 39.796875 L 41.851562 39.796875 C 42.132812 39.796875 42.382812 39.671875 42.554688 39.4375 L 44.804688 36.3125 L 44.804688 42.890625 C 44.804688 43.359375 45.179688 43.75 45.664062 43.75 Z M 45.664062 43.75 "/>\n </g>'},
webpIcon:{extension:".webp",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.234375 43.734375 L 9.28125 43.734375 C 9.3125 43.71875 9.34375 43.703125 9.40625 43.703125 L 9.414062 43.6875 C 9.421875 43.6875 9.421875 43.6875 9.4375 43.6875 C 9.46875 43.671875 9.515625 43.625 9.5625 43.59375 L 9.59375 43.59375 C 9.625 43.5625 9.65625 43.53125 9.6875 43.515625 C 9.6875 43.5 9.703125 43.5 9.703125 43.46875 L 9.796875 43.375 C 9.796875 43.375 9.796875 43.359375 9.8125 43.359375 C 9.828125 43.328125 9.859375 43.265625 9.875 43.21875 L 11.921875 38.375 L 13.96875 43.21875 C 13.984375 43.265625 14 43.328125 14.03125 43.359375 C 14.03125 43.359375 14.03125 43.375 14.0625 43.375 L 14.125 43.46875 C 14.140625 43.5 14.140625 43.5 14.15625 43.515625 L 14.203125 43.546875 L 14.265625 43.59375 C 14.265625 43.59375 14.265625 43.59375 14.28125 43.59375 C 14.3125 43.625 14.359375 43.671875 14.421875 43.6875 C 14.4375 43.6875 14.4375 43.6875 14.453125 43.703125 C 14.484375 43.703125 14.515625 43.71875 14.5625 43.734375 L 14.609375 43.734375 L 14.679688 43.746094 L 14.75 43.75 C 14.8125 43.75 14.859375 43.75 14.90625 43.734375 L 14.9375 43.734375 C 14.984375 43.71875 15.03125 43.703125 15.0625 43.703125 C 15.0625 43.6875 15.078125 43.6875 15.078125 43.6875 L 15.09375 43.6875 C 15.15625 43.671875 15.1875 43.625 15.234375 43.59375 L 15.25 43.59375 C 15.28125 43.5625 15.328125 43.53125 15.359375 43.515625 C 15.359375 43.5 15.375 43.5 15.375 43.46875 C 15.40625 43.4375 15.4375 43.40625 15.453125 43.375 L 15.46875 43.359375 C 15.5 43.328125 15.53125 43.265625 15.546875 43.21875 L 19.375 34.109375 C 19.5625 33.6875 19.359375 33.171875 18.9375 33 C 18.484375 32.8125 17.984375 33.015625 17.796875 33.453125 L 14.75 40.6875 L 12.734375 35.890625 C 12.578125 35.546875 12.25 35.359375 11.921875 35.359375 C 11.578125 35.359375 11.25 35.546875 11.109375 35.890625 L 9.09375 40.6875 L 6.03125 33.453125 C 5.859375 33.015625 5.34375 32.8125 4.921875 33 C 4.46875 33.171875 4.28125 33.6875 4.453125 34.109375 L 8.296875 43.21875 C 8.328125 43.265625 8.34375 43.328125 8.375 43.359375 L 8.375 43.375 C 8.40625 43.40625 8.421875 43.4375 8.453125 43.46875 C 8.46875 43.5 8.46875 43.5 8.484375 43.515625 L 8.539062 43.546875 L 8.59375 43.59375 C 8.59375 43.59375 8.59375 43.59375 8.609375 43.59375 C 8.640625 43.625 8.703125 43.671875 8.75 43.6875 C 8.765625 43.6875 8.765625 43.6875 8.78125 43.703125 C 8.8125 43.703125 8.84375 43.71875 8.890625 43.734375 L 8.9375 43.734375 L 9.015625 43.746094 L 9.09375 43.75 C 9.140625 43.75 9.1875 43.75 9.234375 43.734375 Z M 27.21875 43.75 C 27.671875 43.75 28.078125 43.359375 28.078125 42.890625 C 28.078125 42.40625 27.671875 42.015625 27.21875 42.015625 L 22.984375 42.015625 L 22.984375 39.140625 L 26.625 39.140625 C 27.09375 39.140625 27.484375 38.75 27.484375 38.265625 C 27.484375 37.8125 27.09375 37.40625 26.625 37.40625 L 22.984375 37.40625 L 22.984375 34.546875 L 27.21875 34.546875 C 27.671875 34.546875 28.078125 34.15625 28.078125 33.671875 C 28.078125 33.1875 27.671875 32.8125 27.21875 32.8125 L 22.109375 32.8125 C 21.625 32.8125 21.25 33.1875 21.25 33.671875 L 21.25 42.890625 C 21.25 43.359375 21.625 43.75 22.109375 43.75 L 22.125 43.734375 C 22.125 43.734375 22.125 43.75 22.15625 43.75 Z M 33.578125 43.75 C 35.421875 43.75 36.921875 42.25 36.921875 40.390625 C 36.921875 39.203125 36.28125 38.15625 35.34375 37.5625 C 35.71875 37.0625 35.9375 36.453125 35.9375 35.78125 C 35.9375 34.140625 34.609375 32.8125 32.96875 32.8125 L 30.75 32.8125 C 30.28125 32.8125 29.890625 33.1875 29.890625 33.671875 L 29.890625 42.890625 C 29.890625 43.359375 30.28125 43.75 30.75 43.75 C 30.765625 43.75 30.765625 43.734375 30.796875 43.734375 C 30.796875 43.734375 30.796875 43.75 30.8125 43.75 Z M 32.96875 37.046875 L 31.625 37.046875 L 31.625 34.546875 L 32.96875 34.546875 C 33.65625 34.546875 34.203125 35.09375 34.203125 35.78125 C 34.203125 36.46875 33.65625 37.046875 32.96875 37.046875 Z M 33.578125 42.015625 L 31.625 42.015625 L 31.625 38.78125 L 33.578125 38.78125 C 34.46875 38.796875 35.1875 39.5 35.1875 40.390625 C 35.1875 41.296875 34.46875 42 33.578125 42.015625 Z M 40.03125 43.75 C 40.515625 43.75 40.90625 43.359375 40.90625 42.890625 L 40.90625 39.5 L 42.828125 39.5 C 44.6875 39.5 46.1875 38 46.1875 36.171875 C 46.1875 34.3125 44.6875 32.8125 42.828125 32.8125 L 40.03125 32.8125 C 39.5625 32.8125 39.171875 33.1875 39.171875 33.671875 L 39.171875 42.890625 C 39.171875 43.359375 39.5625 43.75 40.03125 43.75 Z M 42.828125 37.765625 L 40.90625 37.765625 L 40.90625 34.546875 L 42.828125 34.546875 C 43.734375 34.546875 44.4375 35.265625 44.453125 36.171875 C 44.4375 37.046875 43.734375 37.765625 42.828125 37.765625 Z M 42.828125 37.765625 "/>\n </g>'},
wmvIcon:{extension:".wmv",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.484375 43.734375 L 8.53125 43.734375 C 8.5625 43.71875 8.59375 43.703125 8.65625 43.703125 L 8.664062 43.6875 C 8.671875 43.6875 8.671875 43.6875 8.6875 43.6875 C 8.71875 43.671875 8.765625 43.625 8.8125 43.59375 L 8.84375 43.59375 C 8.875 43.5625 8.90625 43.53125 8.9375 43.515625 C 8.9375 43.5 8.953125 43.5 8.953125 43.46875 L 9.046875 43.375 C 9.046875 43.375 9.046875 43.359375 9.0625 43.359375 C 9.078125 43.328125 9.109375 43.265625 9.125 43.21875 L 11.171875 38.375 L 13.21875 43.21875 C 13.234375 43.265625 13.25 43.328125 13.28125 43.359375 C 13.28125 43.359375 13.28125 43.375 13.3125 43.375 L 13.375 43.46875 C 13.390625 43.5 13.390625 43.5 13.40625 43.515625 L 13.453125 43.546875 L 13.515625 43.59375 C 13.515625 43.59375 13.515625 43.59375 13.53125 43.59375 C 13.5625 43.625 13.609375 43.671875 13.671875 43.6875 C 13.6875 43.6875 13.6875 43.6875 13.703125 43.703125 C 13.734375 43.703125 13.765625 43.71875 13.8125 43.734375 L 13.859375 43.734375 L 13.929688 43.746094 L 14 43.75 C 14.0625 43.75 14.109375 43.75 14.15625 43.734375 L 14.1875 43.734375 C 14.234375 43.71875 14.28125 43.703125 14.3125 43.703125 C 14.3125 43.6875 14.328125 43.6875 14.328125 43.6875 L 14.34375 43.6875 C 14.40625 43.671875 14.4375 43.625 14.484375 43.59375 L 14.5 43.59375 C 14.53125 43.5625 14.578125 43.53125 14.609375 43.515625 C 14.609375 43.5 14.625 43.5 14.625 43.46875 C 14.65625 43.4375 14.6875 43.40625 14.703125 43.375 L 14.71875 43.359375 C 14.75 43.328125 14.78125 43.265625 14.796875 43.21875 L 18.625 34.109375 C 18.8125 33.6875 18.609375 33.171875 18.1875 33 C 17.734375 32.8125 17.234375 33.015625 17.046875 33.453125 L 14 40.6875 L 11.984375 35.890625 C 11.828125 35.546875 11.5 35.359375 11.171875 35.359375 C 10.828125 35.359375 10.5 35.546875 10.359375 35.890625 L 8.34375 40.6875 L 5.28125 33.453125 C 5.109375 33.015625 4.59375 32.8125 4.171875 33 C 3.71875 33.171875 3.53125 33.6875 3.703125 34.109375 L 7.546875 43.21875 C 7.578125 43.265625 7.59375 43.328125 7.625 43.359375 L 7.625 43.375 C 7.65625 43.40625 7.671875 43.4375 7.703125 43.46875 C 7.71875 43.5 7.71875 43.5 7.734375 43.515625 L 7.789062 43.546875 L 7.84375 43.59375 C 7.84375 43.59375 7.84375 43.59375 7.859375 43.59375 C 7.890625 43.625 7.953125 43.671875 8 43.6875 C 8.015625 43.6875 8.015625 43.6875 8.03125 43.703125 C 8.0625 43.703125 8.09375 43.71875 8.140625 43.734375 L 8.1875 43.734375 L 8.265625 43.746094 L 8.34375 43.75 C 8.390625 43.75 8.4375 43.75 8.484375 43.734375 Z M 29.03125 43.75 C 29.5 43.75 29.90625 43.359375 29.90625 42.890625 L 29.90625 33.671875 C 29.90625 33.269531 29.609375 32.9375 29.226562 32.839844 L 29.03125 32.8125 L 29.015625 32.8125 C 28.734375 32.8125 28.484375 32.9375 28.3125 33.171875 L 25.203125 37.484375 L 22.09375 33.171875 C 21.9375 32.9375 21.65625 32.8125 21.40625 32.8125 L 21.359375 32.8125 C 20.890625 32.8125 20.5 33.203125 20.5 33.671875 L 20.5 42.890625 C 20.5 43.359375 20.890625 43.75 21.359375 43.75 C 21.84375 43.75 22.234375 43.359375 22.234375 42.890625 L 22.234375 36.3125 L 24.46875 39.4375 C 24.640625 39.671875 24.90625 39.796875 25.1875 39.796875 L 25.21875 39.796875 C 25.5 39.796875 25.75 39.671875 25.921875 39.4375 L 28.171875 36.3125 L 28.171875 42.890625 C 28.171875 43.359375 28.546875 43.75 29.03125 43.75 Z M 37.015625 43.734375 L 37.0625 43.734375 C 37.09375 43.71875 37.125 43.703125 37.1875 43.703125 L 37.195312 43.6875 C 37.203125 43.6875 37.203125 43.6875 37.21875 43.6875 C 37.25 43.671875 37.296875 43.625 37.34375 43.59375 L 37.375 43.59375 C 37.40625 43.5625 37.4375 43.53125 37.46875 43.515625 C 37.46875 43.5 37.484375 43.5 37.484375 43.46875 L 37.578125 43.375 C 37.578125 43.375 37.578125 43.359375 37.59375 43.359375 C 37.609375 43.328125 37.640625 43.265625 37.65625 43.21875 L 39.703125 38.375 L 41.75 43.21875 C 41.765625 43.265625 41.78125 43.328125 41.8125 43.359375 C 41.8125 43.359375 41.8125 43.375 41.84375 43.375 L 41.90625 43.46875 C 41.921875 43.5 41.921875 43.5 41.9375 43.515625 L 41.984375 43.546875 L 42.046875 43.59375 C 42.046875 43.59375 42.046875 43.59375 42.0625 43.59375 C 42.09375 43.625 42.140625 43.671875 42.203125 43.6875 C 42.21875 43.6875 42.21875 43.6875 42.234375 43.703125 C 42.265625 43.703125 42.296875 43.71875 42.34375 43.734375 L 42.390625 43.734375 L 42.460938 43.746094 L 42.53125 43.75 C 42.59375 43.75 42.640625 43.75 42.6875 43.734375 L 42.71875 43.734375 C 42.765625 43.71875 42.8125 43.703125 42.84375 43.703125 C 42.84375 43.6875 42.859375 43.6875 42.859375 43.6875 L 42.875 43.6875 C 42.9375 43.671875 42.96875 43.625 43.015625 43.59375 L 43.03125 43.59375 C 43.0625 43.5625 43.109375 43.53125 43.140625 43.515625 C 43.140625 43.5 43.15625 43.5 43.15625 43.46875 C 43.1875 43.4375 43.21875 43.40625 43.234375 43.375 L 43.25 43.359375 C 43.28125 43.328125 43.3125 43.265625 43.328125 43.21875 L 47.15625 34.109375 C 47.34375 33.6875 47.140625 33.171875 46.71875 33 C 46.265625 32.8125 45.765625 33.015625 45.578125 33.453125 L 42.53125 40.6875 L 40.515625 35.890625 C 40.359375 35.546875 40.03125 35.359375 39.703125 35.359375 C 39.359375 35.359375 39.03125 35.546875 38.890625 35.890625 L 36.875 40.6875 L 33.8125 33.453125 C 33.640625 33.015625 33.125 32.8125 32.703125 33 C 32.25 33.171875 32.0625 33.6875 32.234375 34.109375 L 36.078125 43.21875 C 36.109375 43.265625 36.125 43.328125 36.15625 43.359375 L 36.15625 43.375 C 36.1875 43.40625 36.203125 43.4375 36.234375 43.46875 C 36.25 43.5 36.25 43.5 36.265625 43.515625 L 36.320312 43.546875 L 36.375 43.59375 C 36.375 43.59375 36.375 43.59375 36.390625 43.59375 C 36.421875 43.625 36.484375 43.671875 36.53125 43.6875 C 36.546875 43.6875 36.546875 43.6875 36.5625 43.703125 C 36.59375 43.703125 36.625 43.71875 36.671875 43.734375 L 36.71875 43.734375 L 36.796875 43.746094 L 36.875 43.75 C 36.921875 43.75 36.96875 43.75 37.015625 43.734375 Z M 37.015625 43.734375 "/>\n </g>'},
xlsIcon:{extension:".xls",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.21875 46.875 C 17.425781 46.875 17.632812 46.800781 17.820312 46.667969 C 18.289062 46.351562 18.363281 45.695312 18.042969 45.242188 L 14.480469 40.367188 L 18.042969 35.53125 C 18.363281 35.0625 18.289062 34.425781 17.820312 34.105469 C 17.351562 33.75 16.730469 33.84375 16.375 34.332031 L 13.226562 38.644531 L 10.054688 34.332031 C 9.738281 33.84375 9.082031 33.75 8.632812 34.105469 C 8.164062 34.425781 8.070312 35.0625 8.386719 35.53125 L 11.949219 40.367188 L 8.386719 45.242188 C 8.070312 45.695312 8.164062 46.351562 8.632812 46.667969 C 8.800781 46.800781 9.007812 46.875 9.230469 46.875 C 9.550781 46.875 9.851562 46.707031 10.054688 46.445312 L 13.226562 42.113281 L 16.375 46.445312 C 16.582031 46.707031 16.882812 46.875 17.21875 46.875 Z M 29.351562 46.875 C 29.894531 46.875 30.382812 46.40625 30.382812 45.84375 C 30.382812 45.261719 29.894531 44.792969 29.351562 44.792969 L 24.269531 44.792969 L 24.269531 34.78125 C 24.269531 34.21875 23.800781 33.75 23.21875 33.75 C 22.636719 33.75 22.1875 34.21875 22.1875 34.78125 L 22.1875 45.84375 C 22.1875 46.335938 22.53125 46.757812 23.007812 46.855469 L 23.222656 46.875 Z M 37.28125 46.855469 C 38.613281 46.855469 39.832031 46.460938 40.75 45.789062 C 41.6875 45.113281 42.363281 44.082031 42.363281 42.882812 C 42.363281 42.300781 42.195312 41.738281 41.914062 41.289062 C 41.480469 40.59375 40.804688 40.105469 40.039062 39.730469 C 39.289062 39.375 38.40625 39.132812 37.449219 38.945312 L 37.414062 38.945312 C 36.398438 38.757812 35.554688 38.457031 35.070312 38.117188 C 34.824219 37.949219 34.65625 37.78125 34.5625 37.632812 C 34.46875 37.480469 34.429688 37.332031 34.429688 37.105469 C 34.429688 36.710938 34.636719 36.300781 35.144531 35.925781 C 35.648438 35.550781 36.398438 35.289062 37.242188 35.289062 C 38.386719 35.289062 39.304688 35.851562 40.261719 36.488281 C 40.710938 36.789062 41.3125 36.65625 41.59375 36.207031 C 41.894531 35.773438 41.761719 35.175781 41.332031 34.875 C 40.375 34.257812 39.042969 33.375 37.242188 33.375 C 36.023438 33.375 34.882812 33.730469 34 34.367188 C 33.136719 35.007812 32.5 35.980469 32.5 37.105469 C 32.5 37.667969 32.648438 38.195312 32.929688 38.644531 C 33.34375 39.300781 33.960938 39.769531 34.675781 40.105469 C 35.386719 40.445312 36.210938 40.667969 37.09375 40.835938 L 37.132812 40.835938 C 38.238281 41.042969 39.15625 41.363281 39.699219 41.71875 C 39.980469 41.90625 40.148438 42.09375 40.261719 42.28125 C 40.375 42.46875 40.429688 42.636719 40.429688 42.882812 C 40.429688 43.351562 40.1875 43.820312 39.625 44.230469 C 39.0625 44.644531 38.21875 44.925781 37.28125 44.925781 C 35.949219 44.945312 34.523438 44.15625 33.699219 43.480469 C 33.289062 43.144531 32.667969 43.199219 32.332031 43.613281 C 32.011719 44.023438 32.070312 44.644531 32.480469 44.980469 C 33.550781 45.824219 35.257812 46.835938 37.28125 46.855469 Z M 37.28125 46.855469 "/>\n </g>'},
xlsxIcon:{extension:".xlsx",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.070312 43.75 C 13.242188 43.75 13.414062 43.6875 13.570312 43.578125 C 13.960938 43.3125 14.023438 42.765625 13.757812 42.390625 L 10.789062 38.328125 L 13.757812 34.296875 C 14.023438 33.90625 13.960938 33.375 13.570312 33.109375 C 13.179688 32.8125 12.664062 32.890625 12.367188 33.296875 L 9.742188 36.890625 L 7.101562 33.296875 C 6.835938 32.890625 6.289062 32.8125 5.914062 33.109375 C 5.523438 33.375 5.445312 33.90625 5.710938 34.296875 L 8.679688 38.328125 L 5.710938 42.390625 C 5.445312 42.765625 5.523438 43.3125 5.914062 43.578125 C 6.054688 43.6875 6.226562 43.75 6.414062 43.75 C 6.679688 43.75 6.929688 43.609375 7.101562 43.390625 L 9.742188 39.78125 L 12.367188 43.390625 C 12.539062 43.609375 12.789062 43.75 13.070312 43.75 Z M 23.179688 43.75 C 23.632812 43.75 24.039062 43.359375 24.039062 42.890625 C 24.039062 42.40625 23.632812 42.015625 23.179688 42.015625 L 18.945312 42.015625 L 18.945312 33.671875 C 18.945312 33.203125 18.554688 32.8125 18.070312 32.8125 C 17.585938 32.8125 17.210938 33.203125 17.210938 33.671875 L 17.210938 42.890625 C 17.210938 43.359375 17.585938 43.75 18.070312 43.75 Z M 29.789062 43.734375 C 30.898438 43.734375 31.914062 43.40625 32.679688 42.84375 C 33.460938 42.28125 34.023438 41.421875 34.023438 40.421875 C 34.023438 39.9375 33.882812 39.46875 33.648438 39.09375 C 33.289062 38.515625 32.726562 38.109375 32.085938 37.796875 C 31.460938 37.5 30.726562 37.296875 29.929688 37.140625 L 29.898438 37.140625 C 29.054688 36.984375 28.351562 36.734375 27.945312 36.453125 C 27.742188 36.3125 27.601562 36.171875 27.523438 36.046875 C 27.445312 35.921875 27.414062 35.796875 27.414062 35.609375 C 27.414062 35.28125 27.585938 34.9375 28.007812 34.625 C 28.429688 34.3125 29.054688 34.09375 29.757812 34.09375 C 30.710938 34.09375 31.476562 34.5625 32.273438 35.09375 C 32.648438 35.34375 33.148438 35.234375 33.382812 34.859375 C 33.632812 34.5 33.523438 34 33.164062 33.75 C 32.367188 33.234375 31.257812 32.5 29.757812 32.5 C 28.742188 32.5 27.789062 32.796875 27.054688 33.328125 C 26.335938 33.859375 25.804688 34.671875 25.804688 35.609375 C 25.804688 36.078125 25.929688 36.515625 26.164062 36.890625 C 26.507812 37.4375 27.023438 37.828125 27.617188 38.109375 C 28.210938 38.390625 28.898438 38.578125 29.632812 38.71875 L 29.664062 38.71875 C 30.585938 38.890625 31.351562 39.15625 31.804688 39.453125 C 32.039062 39.609375 32.179688 39.765625 32.273438 39.921875 C 32.367188 40.078125 32.414062 40.21875 32.414062 40.421875 C 32.414062 40.8125 32.210938 41.203125 31.742188 41.546875 C 31.273438 41.890625 30.570312 42.125 29.789062 42.125 C 28.679688 42.140625 27.492188 41.484375 26.804688 40.921875 C 26.460938 40.640625 25.945312 40.6875 25.664062 41.03125 C 25.398438 41.375 25.445312 41.890625 25.789062 42.171875 C 26.679688 42.875 28.101562 43.71875 29.789062 43.734375 Z M 43.179688 43.75 C 43.351562 43.75 43.523438 43.6875 43.679688 43.578125 C 44.070312 43.3125 44.132812 42.765625 43.867188 42.390625 L 40.898438 38.328125 L 43.867188 34.296875 C 44.132812 33.90625 44.070312 33.375 43.679688 33.109375 C 43.289062 32.8125 42.773438 32.890625 42.476562 33.296875 L 39.851562 36.890625 L 37.210938 33.296875 C 36.945312 32.890625 36.398438 32.8125 36.023438 33.109375 C 35.632812 33.375 35.554688 33.90625 35.820312 34.296875 L 38.789062 38.328125 L 35.820312 42.390625 C 35.554688 42.765625 35.632812 43.3125 36.023438 43.578125 C 36.164062 43.6875 36.335938 43.75 36.523438 43.75 C 36.789062 43.75 37.039062 43.609375 37.210938 43.390625 L 39.851562 39.78125 L 42.476562 43.390625 C 42.648438 43.609375 42.898438 43.75 43.179688 43.75 Z M 43.179688 43.75 "/>\n </g>'},
zipIcon:{extension:".zip",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.175781 46.875 C 20.855469 46.875 21.402344 46.351562 21.402344 45.671875 C 21.402344 44.992188 20.855469 44.445312 20.175781 44.445312 L 13.132812 44.445312 L 21.183594 33.488281 L 21.183594 33.445312 C 21.203125 33.421875 21.226562 33.378906 21.25 33.335938 C 21.269531 33.3125 21.269531 33.289062 21.292969 33.269531 C 21.3125 33.203125 21.3125 33.179688 21.335938 33.136719 C 21.335938 33.09375 21.378906 33.070312 21.378906 33.007812 C 21.378906 32.984375 21.378906 32.960938 21.402344 32.917969 L 21.402344 32.679688 C 21.402344 32.632812 21.402344 32.613281 21.378906 32.546875 C 21.378906 32.503906 21.378906 32.480469 21.335938 32.4375 C 21.335938 32.414062 21.3125 32.371094 21.3125 32.304688 C 21.292969 32.285156 21.269531 32.242188 21.269531 32.21875 C 21.25 32.195312 21.226562 32.152344 21.203125 32.109375 C 21.183594 32.066406 21.160156 32.042969 21.117188 32.023438 C 21.09375 32 21.074219 31.957031 21.050781 31.933594 C 21.03125 31.914062 21.007812 31.867188 20.964844 31.847656 C 20.941406 31.824219 20.941406 31.804688 20.898438 31.78125 L 20.875 31.78125 C 20.832031 31.757812 20.8125 31.738281 20.765625 31.714844 C 20.746094 31.695312 20.722656 31.648438 20.65625 31.648438 L 20.570312 31.605469 L 20.4375 31.585938 C 20.417969 31.585938 20.375 31.5625 20.351562 31.5625 L 10.75 31.5625 C 10.070312 31.5625 9.546875 32.085938 9.546875 32.765625 C 9.546875 33.421875 10.070312 33.992188 10.75 33.992188 L 17.8125 33.992188 L 9.785156 44.972656 L 9.765625 44.972656 C 9.742188 45.015625 9.71875 45.058594 9.699219 45.082031 C 9.699219 45.101562 9.675781 45.148438 9.632812 45.167969 C 9.632812 45.210938 9.609375 45.257812 9.609375 45.277344 C 9.589844 45.320312 9.589844 45.367188 9.566406 45.386719 L 9.566406 45.496094 C 9.546875 45.539062 9.546875 45.585938 9.546875 45.648438 L 9.546875 45.738281 C 9.546875 45.78125 9.566406 45.824219 9.566406 45.890625 C 9.566406 45.933594 9.589844 45.957031 9.589844 45.976562 L 9.632812 46.109375 C 9.632812 46.152344 9.675781 46.175781 9.699219 46.21875 C 9.699219 46.242188 9.71875 46.261719 9.742188 46.328125 C 9.765625 46.351562 9.785156 46.394531 9.808594 46.414062 C 9.828125 46.4375 9.851562 46.460938 9.894531 46.480469 L 9.9375 46.542969 L 9.984375 46.589844 C 10.003906 46.613281 10.027344 46.632812 10.046875 46.632812 L 10.046875 46.65625 C 10.070312 46.679688 10.09375 46.679688 10.136719 46.699219 C 10.179688 46.722656 10.222656 46.742188 10.246094 46.742188 C 10.265625 46.789062 10.289062 46.789062 10.3125 46.808594 C 10.375 46.808594 10.421875 46.832031 10.464844 46.832031 C 10.484375 46.851562 10.507812 46.851562 10.53125 46.851562 L 10.648438 46.871094 Z M 26.214844 46.875 C 26.871094 46.875 27.4375 46.351562 27.4375 45.671875 L 27.4375 32.765625 C 27.4375 32.085938 26.871094 31.5625 26.214844 31.5625 C 25.535156 31.5625 25.011719 32.085938 25.011719 32.765625 L 25.011719 45.671875 C 25.011719 46.351562 25.535156 46.875 26.214844 46.875 Z M 32.734375 46.875 C 33.410156 46.875 33.957031 46.328125 33.957031 45.671875 L 33.957031 40.925781 L 36.648438 40.925781 C 39.25 40.925781 41.351562 38.824219 41.351562 36.265625 C 41.351562 33.664062 39.25 31.5625 36.648438 31.5625 L 32.734375 31.5625 C 32.078125 31.5625 31.53125 32.085938 31.53125 32.765625 L 31.53125 45.671875 C 31.53125 46.328125 32.078125 46.875 32.734375 46.875 Z M 36.648438 38.496094 L 33.957031 38.496094 L 33.957031 33.992188 L 36.648438 33.992188 C 37.917969 33.992188 38.902344 34.996094 38.921875 36.265625 C 38.902344 37.492188 37.917969 38.496094 36.648438 38.496094 Z M 36.648438 38.496094 "/>\n </g>'},
docxIcon:{extension:".docx",path:'<g id="surface9" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.789062 43.75 C 9.589844 43.75 10.988281 43.269531 11.984375 42.304688 C 12.980469 41.339844 13.476562 39.984375 13.476562 38.234375 C 13.476562 36.496094 12.980469 35.144531 11.984375 34.179688 C 10.988281 33.214844 9.589844 32.734375 7.789062 32.734375 L 4.695312 32.734375 C 4.394531 32.734375 4.15625 32.816406 3.984375 32.984375 C 3.8125 33.152344 3.726562 33.386719 3.726562 33.6875 L 3.726562 42.796875 C 3.726562 43.097656 3.8125 43.332031 3.984375 43.5 C 4.15625 43.667969 4.394531 43.75 4.695312 43.75 Z M 7.664062 42.109375 L 5.742188 42.109375 L 5.742188 34.375 L 7.664062 34.375 C 10.195312 34.375 11.460938 35.660156 11.460938 38.234375 C 11.460938 40.816406 10.195312 42.109375 7.664062 42.109375 Z M 20.414062 43.890625 C 21.476562 43.890625 22.402344 43.660156 23.1875 43.203125 C 23.972656 42.746094 24.582031 42.089844 25.007812 41.234375 C 25.433594 40.378906 25.648438 39.378906 25.648438 38.234375 C 25.648438 37.089844 25.4375 36.089844 25.015625 35.242188 C 24.59375 34.394531 23.988281 33.738281 23.203125 33.28125 C 22.417969 32.824219 21.488281 32.59375 20.414062 32.59375 C 19.339844 32.59375 18.410156 32.824219 17.617188 33.28125 C 16.824219 33.738281 16.21875 34.394531 15.796875 35.242188 C 15.375 36.089844 15.164062 37.089844 15.164062 38.234375 C 15.164062 39.378906 15.378906 40.378906 15.804688 41.234375 C 16.230469 42.089844 16.839844 42.746094 17.625 43.203125 C 18.410156 43.660156 19.339844 43.890625 20.414062 43.890625 Z M 20.414062 42.28125 C 19.394531 42.28125 18.597656 41.933594 18.03125 41.234375 C 17.464844 40.535156 17.179688 39.535156 17.179688 38.234375 C 17.179688 36.933594 17.464844 35.933594 18.03125 35.242188 C 18.597656 34.550781 19.394531 34.203125 20.414062 34.203125 C 21.425781 34.203125 22.214844 34.550781 22.78125 35.242188 C 23.347656 35.933594 23.632812 36.933594 23.632812 38.234375 C 23.632812 39.535156 23.347656 40.535156 22.78125 41.234375 C 22.214844 41.933594 21.425781 42.28125 20.414062 42.28125 Z M 32.601562 43.890625 C 33.289062 43.890625 33.933594 43.789062 34.539062 43.585938 C 35.144531 43.382812 35.679688 43.089844 36.148438 42.703125 C 36.285156 42.597656 36.378906 42.488281 36.429688 42.367188 C 36.480469 42.246094 36.507812 42.109375 36.507812 41.953125 C 36.507812 41.722656 36.445312 41.53125 36.320312 41.375 C 36.195312 41.21875 36.042969 41.140625 35.867188 41.140625 C 35.753906 41.140625 35.644531 41.160156 35.539062 41.203125 C 35.433594 41.246094 35.332031 41.296875 35.226562 41.359375 C 34.746094 41.683594 34.316406 41.910156 33.9375 42.046875 C 33.558594 42.183594 33.144531 42.25 32.695312 42.25 C 31.613281 42.25 30.792969 41.910156 30.234375 41.234375 C 29.675781 40.558594 29.398438 39.558594 29.398438 38.234375 C 29.398438 36.921875 29.675781 35.925781 30.234375 35.25 C 30.792969 34.574219 31.613281 34.234375 32.695312 34.234375 C 33.164062 34.234375 33.589844 34.300781 33.976562 34.429688 C 34.363281 34.558594 34.777344 34.792969 35.226562 35.125 C 35.445312 35.269531 35.660156 35.34375 35.867188 35.34375 C 36.042969 35.34375 36.195312 35.265625 36.320312 35.109375 C 36.445312 34.953125 36.507812 34.761719 36.507812 34.53125 C 36.507812 34.363281 36.480469 34.222656 36.429688 34.109375 C 36.378906 33.996094 36.285156 33.886719 36.148438 33.78125 C 35.679688 33.394531 35.144531 33.101562 34.539062 32.898438 C 33.933594 32.695312 33.289062 32.59375 32.601562 32.59375 C 31.539062 32.59375 30.609375 32.824219 29.8125 33.28125 C 29.015625 33.738281 28.402344 34.394531 27.976562 35.242188 C 27.550781 36.089844 27.335938 37.089844 27.335938 38.234375 C 27.335938 39.378906 27.550781 40.378906 27.976562 41.234375 C 28.402344 42.089844 29.015625 42.746094 29.8125 43.203125 C 30.609375 43.660156 31.539062 43.890625 32.601562 43.890625 Z M 46.132812 43.84375 C 46.382812 43.84375 46.605469 43.75 46.796875 43.5625 C 46.988281 43.375 47.085938 43.15625 47.085938 42.90625 C 47.085938 42.707031 47.003906 42.511719 46.835938 42.3125 L 43.445312 38.15625 L 46.710938 34.171875 C 46.867188 34.003906 46.945312 33.808594 46.945312 33.578125 C 46.945312 33.328125 46.847656 33.113281 46.65625 32.929688 C 46.464844 32.746094 46.242188 32.65625 45.992188 32.65625 C 45.730469 32.65625 45.507812 32.769531 45.320312 33 L 42.273438 36.765625 L 39.226562 33 C 39.027344 32.769531 38.800781 32.65625 38.539062 32.65625 C 38.289062 32.65625 38.070312 32.746094 37.882812 32.929688 C 37.695312 33.113281 37.601562 33.328125 37.601562 33.578125 C 37.601562 33.808594 37.679688 34.003906 37.835938 34.171875 L 41.101562 38.15625 L 37.695312 42.3125 C 37.539062 42.5 37.460938 42.699219 37.460938 42.90625 C 37.460938 43.15625 37.558594 43.371094 37.75 43.554688 C 37.941406 43.738281 38.164062 43.828125 38.414062 43.828125 C 38.675781 43.828125 38.898438 43.71875 39.085938 43.5 L 42.273438 39.5625 L 45.445312 43.5 C 45.644531 43.730469 45.871094 43.84375 46.132812 43.84375 Z M 46.132812 43.84375 "/>\n </g>'},
jpgIcon:{extension:".jpg",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.789062 47.007812 L 9.488281 46.960938 C 12.214844 46.757812 13.578125 45.277344 13.578125 42.523438 L 13.578125 32.742188 C 13.578125 32.320312 13.453125 31.980469 13.195312 31.726562 C 12.941406 31.472656 12.59375 31.34375 12.15625 31.34375 C 11.734375 31.34375 11.394531 31.472656 11.140625 31.726562 C 10.886719 31.980469 10.757812 32.320312 10.757812 32.742188 L 10.757812 42.523438 C 10.757812 43.238281 10.605469 43.769531 10.296875 44.117188 C 9.992188 44.46875 9.539062 44.660156 8.941406 44.6875 L 8.242188 44.730469 C 7.847656 44.761719 7.558594 44.867188 7.378906 45.046875 C 7.195312 45.230469 7.105469 45.496094 7.105469 45.847656 C 7.105469 46.664062 7.667969 47.050781 8.789062 47.007812 Z M 18.304688 47.007812 C 18.742188 47.007812 19.089844 46.878906 19.34375 46.625 C 19.597656 46.367188 19.726562 46.023438 19.726562 45.585938 L 19.726562 40.882812 L 23.640625 40.882812 C 25.289062 40.882812 26.574219 40.464844 27.492188 39.632812 C 28.410156 38.804688 28.871094 37.644531 28.871094 36.15625 C 28.871094 34.667969 28.410156 33.511719 27.492188 32.6875 C 26.574219 31.863281 25.289062 31.453125 23.640625 31.453125 L 18.261719 31.453125 C 17.839844 31.453125 17.507812 31.570312 17.265625 31.804688 C 17.023438 32.035156 16.90625 32.363281 16.90625 32.789062 L 16.90625 45.585938 C 16.90625 46.023438 17.03125 46.367188 17.289062 46.625 C 17.542969 46.878906 17.882812 47.007812 18.304688 47.007812 Z M 23.292969 38.714844 L 19.726562 38.714844 L 19.726562 33.640625 L 23.292969 33.640625 C 25.230469 33.640625 26.203125 34.488281 26.203125 36.179688 C 26.203125 37.871094 25.230469 38.714844 23.292969 38.714844 Z M 38.605469 47.070312 C 39.320312 47.070312 40.0625 47.011719 40.835938 46.898438 C 41.609375 46.78125 42.285156 46.621094 42.871094 46.414062 C 43.410156 46.242188 43.765625 46.015625 43.941406 45.738281 C 44.117188 45.460938 44.203125 44.988281 44.203125 44.316406 L 44.203125 39.613281 C 44.203125 39.292969 44.101562 39.03125 43.898438 38.835938 C 43.695312 38.640625 43.425781 38.539062 43.089844 38.539062 L 39.21875 38.539062 C 38.867188 38.539062 38.59375 38.628906 38.398438 38.804688 C 38.199219 38.976562 38.101562 39.226562 38.101562 39.546875 C 38.101562 39.867188 38.199219 40.117188 38.398438 40.289062 C 38.59375 40.464844 38.867188 40.554688 39.21875 40.554688 L 41.6875 40.554688 L 41.6875 44.425781 C 40.699219 44.703125 39.707031 44.839844 38.714844 44.839844 C 35.390625 44.839844 33.726562 42.945312 33.726562 39.152344 C 33.726562 37.300781 34.132812 35.90625 34.941406 34.964844 C 35.75 34.023438 36.949219 33.554688 38.539062 33.554688 C 39.238281 33.554688 39.867188 33.644531 40.421875 33.828125 C 40.972656 34.007812 41.574219 34.324219 42.214844 34.777344 C 42.390625 34.894531 42.542969 34.980469 42.671875 35.03125 C 42.804688 35.082031 42.949219 35.105469 43.109375 35.105469 C 43.359375 35.105469 43.570312 34.996094 43.746094 34.777344 C 43.921875 34.558594 44.007812 34.289062 44.007812 33.96875 C 44.007812 33.75 43.96875 33.558594 43.886719 33.398438 C 43.808594 33.238281 43.679688 33.078125 43.503906 32.917969 C 42.191406 31.808594 40.507812 31.257812 38.453125 31.257812 C 36.90625 31.257812 35.5625 31.574219 34.425781 32.207031 C 33.289062 32.84375 32.410156 33.753906 31.789062 34.941406 C 31.171875 36.128906 30.859375 37.535156 30.859375 39.152344 C 30.859375 40.800781 31.171875 42.21875 31.789062 43.40625 C 32.410156 44.597656 33.304688 45.503906 34.46875 46.132812 C 35.636719 46.757812 37.015625 47.070312 38.605469 47.070312 Z M 38.605469 47.070312 "/>\n </g>'},
mp3Icon:{extension:".mp3",path:'<g id="surface9" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 43.828125 43.710938 C 43.605469 44.28125 43.273438 44.804688 42.84375 45.265625 C 42.40625 45.730469 41.867188 46.113281 41.242188 46.398438 C 40.597656 46.699219 39.851562 46.855469 39.027344 46.855469 C 38.328125 46.855469 37.703125 46.757812 37.160156 46.570312 C 36.609375 46.378906 36.160156 46.136719 35.769531 45.839844 C 35.386719 45.550781 35.050781 45.210938 34.796875 44.832031 C 34.570312 44.507812 34.394531 44.195312 34.265625 43.890625 C 34.140625 43.59375 34.054688 43.335938 33.996094 43.101562 C 33.792969 42.261719 34.304688 41.417969 35.140625 41.210938 C 35.980469 41.007812 36.828125 41.519531 37.03125 42.355469 C 37.039062 42.390625 37.066406 42.488281 37.144531 42.671875 C 37.191406 42.777344 37.265625 42.914062 37.371094 43.0625 C 37.4375 43.160156 37.53125 43.257812 37.65625 43.351562 C 37.792969 43.453125 37.972656 43.542969 38.195312 43.625 C 38.332031 43.667969 38.59375 43.730469 39.027344 43.730469 C 39.390625 43.730469 39.695312 43.675781 39.925781 43.566406 C 40.1875 43.445312 40.398438 43.300781 40.558594 43.132812 C 40.71875 42.957031 40.839844 42.773438 40.914062 42.578125 C 40.996094 42.371094 41.03125 42.195312 41.03125 42.023438 C 41.03125 41.789062 41 41.585938 40.921875 41.398438 C 40.871094 41.257812 40.785156 41.148438 40.660156 41.039062 C 40.515625 40.910156 40.296875 40.792969 40.011719 40.699219 C 39.6875 40.59375 39.253906 40.539062 38.738281 40.535156 C 37.882812 40.527344 37.1875 39.832031 37.1875 38.972656 L 37.1875 38.832031 C 37.1875 37.984375 37.859375 37.292969 38.699219 37.265625 C 39.070312 37.257812 39.398438 37.195312 39.679688 37.101562 C 39.921875 37.011719 40.121094 36.902344 40.273438 36.773438 C 40.40625 36.652344 40.507812 36.519531 40.582031 36.359375 C 40.652344 36.210938 40.6875 36.027344 40.6875 35.8125 C 40.6875 35.523438 40.644531 35.289062 40.574219 35.125 C 40.5 34.96875 40.414062 34.847656 40.304688 34.757812 C 40.1875 34.660156 40.042969 34.582031 39.867188 34.53125 C 39.402344 34.386719 38.878906 34.398438 38.480469 34.542969 C 38.289062 34.617188 38.121094 34.714844 37.976562 34.84375 C 37.820312 34.984375 37.695312 35.148438 37.59375 35.339844 C 37.484375 35.550781 37.40625 35.773438 37.367188 36.039062 C 37.230469 36.890625 36.429688 37.472656 35.574219 37.335938 C 34.722656 37.195312 34.140625 36.398438 34.28125 35.542969 C 34.378906 34.9375 34.5625 34.378906 34.835938 33.871094 C 35.109375 33.355469 35.464844 32.898438 35.890625 32.519531 C 36.320312 32.132812 36.824219 31.828125 37.382812 31.617188 C 38.433594 31.226562 39.667969 31.199219 40.78125 31.539062 C 41.351562 31.714844 41.863281 31.992188 42.308594 32.355469 C 42.777344 32.753906 43.148438 33.242188 43.414062 33.824219 C 43.679688 34.402344 43.8125 35.070312 43.8125 35.8125 C 43.8125 36.476562 43.679688 37.097656 43.421875 37.660156 C 43.25 38.046875 43.023438 38.394531 42.746094 38.707031 C 43.242188 39.148438 43.609375 39.671875 43.835938 40.261719 C 44.046875 40.804688 44.15625 41.398438 44.15625 42.023438 C 44.15625 42.578125 44.046875 43.148438 43.828125 43.710938 Z M 31.445312 38.492188 C 31.148438 39.140625 30.734375 39.703125 30.199219 40.164062 C 29.6875 40.605469 29.078125 40.957031 28.390625 41.199219 C 27.71875 41.4375 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.859375 24.296875 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.859375 21.875 45 L 21.875 32.8125 C 21.875 31.945312 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.667969 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.03125 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.28125 L 14.015625 43.140625 C 14.007812 43.164062 13.996094 43.191406 13.984375 43.214844 C 13.71875 43.777344 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.9375 44.117188 11.375 43.777344 11.109375 43.214844 L 11.082031 43.160156 L 9.339844 39.101562 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.1875 L 12.527344 39.09375 L 15.59375 32.207031 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.167969 31.261719 C 18.03125 31.261719 18.730469 31.960938 18.730469 32.824219 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.136719 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.136719 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 28.257812 34.902344 C 27.835938 34.550781 27.140625 34.375 26.191406 34.375 L 25 34.375 L 25 38.4375 L 26.191406 38.4375 C 26.621094 38.4375 27.007812 38.375 27.34375 38.253906 C 27.667969 38.140625 27.929688 37.992188 28.148438 37.804688 C 28.34375 37.632812 28.492188 37.4375 28.601562 37.195312 C 28.710938 36.964844 28.757812 36.703125 28.757812 36.40625 C 28.757812 35.324219 28.382812 35.003906 28.257812 34.902344 "/>\n <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 11.34125 13.57875 C 11.345 13.5925 11.3525 13.62375 11.36375 13.67375 C 11.3775 13.7225 11.3975 13.78125 11.42625 13.85 C 11.45375 13.9175 11.49375 13.9875 11.54625 14.0625 C 11.5975 14.13875 11.66625 14.20875 11.75 14.27125 C 11.83375 14.33625 11.9375 14.38875 12.0575 14.43125 C 12.1775 14.4725 12.32 14.49375 12.4875 14.49375 C 12.67875 14.49375 12.845 14.46125 12.9875 14.39375 C 13.13 14.32875 13.24875 14.245 13.34375 14.1425 C 13.43875 14.0425 13.51125 13.93 13.55875 13.8075 C 13.6075 13.6825 13.63125 13.56375 13.63125 13.4475 C 13.63125 13.31125 13.6075 13.1825 13.5625 13.065 C 13.515 12.9475 13.4425 12.845 13.3425 12.7575 C 13.2425 12.67 13.115 12.6 12.96 12.55 C 12.805 12.49875 12.6175 12.4725 12.4 12.4725 L 12.4 12.42625 C 12.57 12.42 12.72375 12.3925 12.8625 12.34375 C 13.0025 12.29625 13.11875 12.2275 13.21625 12.14375 C 13.31375 12.05875 13.3875 11.96 13.44125 11.845 C 13.4925 11.7275 13.52 11.60125 13.52 11.46 C 13.52 11.29375 13.4925 11.1525 13.43875 11.0325 C 13.38375 10.91375 13.31125 10.81625 13.21875 10.74 C 13.1275 10.66375 13.0225 10.6075 12.90375 10.5725 C 12.78625 10.535 12.66375 10.5175 12.5375 10.5175 C 12.395 10.5175 12.26125 10.54 12.14 10.58625 C 12.0175 10.6325 11.91 10.69625 11.81875 10.77875 C 11.72625 10.8625 11.64875 10.96 11.5875 11.07375 C 11.5275 11.18875 11.48625 11.315 11.4625 11.45375 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.475 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/>\n </g>'},
mp4Icon:{extension:".mp4",path:'<g id="surface6" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 36.898438 40.625 L 40.625 35.480469 L 40.625 40.625 Z M 28.761719 36.40625 C 28.761719 36.703125 28.707031 36.964844 28.605469 37.195312 C 28.496094 37.433594 28.347656 37.632812 28.148438 37.804688 C 27.929688 37.992188 27.667969 38.144531 27.34375 38.257812 C 27.003906 38.375 26.621094 38.4375 26.191406 38.4375 L 25 38.4375 L 25 34.375 L 26.191406 34.375 C 27.140625 34.375 27.835938 34.554688 28.253906 34.902344 C 28.378906 35.007812 28.761719 35.324219 28.761719 36.40625 Z M 44.6875 43.75 L 43.75 43.75 L 43.75 45.3125 C 43.75 46.175781 43.050781 46.875 42.1875 46.875 C 41.324219 46.875 40.625 46.175781 40.625 45.3125 L 40.625 43.75 L 34.066406 43.75 C 33.199219 43.75 32.503906 43.050781 32.503906 42.1875 L 32.503906 41.875 C 32.503906 41.546875 32.605469 41.226562 32.800781 40.957031 L 39.363281 31.898438 C 39.660156 31.492188 40.128906 31.25 40.628906 31.25 L 42.1875 31.25 C 43.050781 31.25 43.75 31.949219 43.75 32.8125 L 43.75 40.625 L 44.6875 40.625 C 45.550781 40.625 46.25 41.324219 46.25 42.1875 C 46.25 43.050781 45.550781 43.75 44.6875 43.75 Z M 31.445312 38.492188 C 31.148438 39.140625 30.730469 39.703125 30.195312 40.167969 C 29.6875 40.605469 29.082031 40.957031 28.390625 41.203125 C 27.71875 41.441406 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.863281 24.300781 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.863281 21.875 45 L 21.875 32.8125 C 21.875 31.949219 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.671875 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.027344 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.6875 L 14.035156 43.105469 C 14.019531 43.144531 14.003906 43.179688 13.984375 43.214844 C 13.71875 43.78125 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.941406 44.117188 11.378906 43.78125 11.113281 43.214844 C 11.097656 43.183594 11.078125 43.152344 11.066406 43.125 L 9.339844 39.484375 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.191406 L 9.355469 32.226562 L 12.523438 38.90625 L 15.578125 32.242188 C 15.585938 32.226562 15.597656 32.210938 15.605469 32.191406 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.164062 31.261719 C 18.027344 31.261719 18.726562 31.960938 18.726562 32.824219 L 18.726562 45.210938 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface6" mask="url(#mask0)"/>\n <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 14.3 13.5 L 10.90125 13.5 L 10.90125 13.4 L 13.00125 10.5 L 13.5 10.5 L 13.5 14.5 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.47625 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/>\n </g>'},
oggIcon:{extension:".ogg",path:'<g id="surface9" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.976562 47.070312 C 10.464844 47.070312 11.757812 46.75 12.859375 46.109375 C 13.960938 45.46875 14.808594 44.550781 15.40625 43.351562 C 16.003906 42.15625 16.304688 40.757812 16.304688 39.152344 C 16.304688 37.550781 16.007812 36.152344 15.417969 34.964844 C 14.828125 33.777344 13.980469 32.859375 12.882812 32.21875 C 11.78125 31.578125 10.480469 31.257812 8.976562 31.257812 C 7.472656 31.257812 6.167969 31.578125 5.0625 32.21875 C 3.953125 32.859375 3.101562 33.777344 2.511719 34.964844 C 1.921875 36.152344 1.625 37.550781 1.625 39.152344 C 1.625 40.757812 1.925781 42.15625 2.523438 43.351562 C 3.121094 44.550781 3.972656 45.46875 5.070312 46.109375 C 6.171875 46.75 7.472656 47.070312 8.976562 47.070312 Z M 8.976562 44.820312 C 7.546875 44.820312 6.433594 44.332031 5.640625 43.351562 C 4.847656 42.375 4.449219 40.976562 4.449219 39.152344 C 4.449219 37.332031 4.847656 35.933594 5.640625 34.964844 C 6.433594 33.996094 7.546875 33.507812 8.976562 33.507812 C 10.390625 33.507812 11.496094 33.996094 12.289062 34.964844 C 13.085938 35.933594 13.484375 37.332031 13.484375 39.152344 C 13.484375 40.976562 13.085938 42.375 12.289062 43.351562 C 11.496094 44.332031 10.390625 44.820312 8.976562 44.820312 Z M 26.410156 47.070312 C 27.125 47.070312 27.871094 47.011719 28.640625 46.898438 C 29.414062 46.78125 30.09375 46.621094 30.675781 46.414062 C 31.214844 46.242188 31.574219 46.015625 31.75 45.738281 C 31.921875 45.460938 32.011719 44.988281 32.011719 44.316406 L 32.011719 39.613281 C 32.011719 39.292969 31.910156 39.03125 31.703125 38.835938 C 31.5 38.640625 31.230469 38.539062 30.894531 38.539062 L 27.023438 38.539062 C 26.671875 38.539062 26.398438 38.628906 26.203125 38.804688 C 26.007812 38.976562 25.90625 39.226562 25.90625 39.546875 C 25.90625 39.867188 26.007812 40.117188 26.203125 40.289062 C 26.398438 40.464844 26.671875 40.554688 27.023438 40.554688 L 29.496094 40.554688 L 29.496094 44.425781 C 28.503906 44.703125 27.511719 44.839844 26.519531 44.839844 C 23.195312 44.839844 21.53125 42.945312 21.53125 39.152344 C 21.53125 37.300781 21.9375 35.90625 22.746094 34.964844 C 23.554688 34.023438 24.753906 33.554688 26.34375 33.554688 C 27.046875 33.554688 27.671875 33.644531 28.226562 33.828125 C 28.78125 34.007812 29.378906 34.324219 30.019531 34.777344 C 30.195312 34.894531 30.347656 34.980469 30.480469 35.03125 C 30.609375 35.082031 30.757812 35.105469 30.917969 35.105469 C 31.164062 35.105469 31.375 34.996094 31.550781 34.777344 C 31.726562 34.558594 31.8125 34.289062 31.8125 33.96875 C 31.8125 33.75 31.773438 33.558594 31.695312 33.398438 C 31.613281 33.238281 31.484375 33.078125 31.3125 32.917969 C 30 31.808594 28.3125 31.257812 26.257812 31.257812 C 24.710938 31.257812 23.371094 31.574219 22.234375 32.207031 C 21.09375 32.84375 20.214844 33.753906 19.597656 34.941406 C 18.976562 36.128906 18.667969 37.535156 18.667969 39.152344 C 18.667969 40.800781 18.976562 42.21875 19.597656 43.40625 C 20.214844 44.597656 21.109375 45.503906 22.277344 46.132812 C 23.441406 46.757812 24.820312 47.070312 26.410156 47.070312 Z M 42.445312 47.070312 C 43.160156 47.070312 43.902344 47.011719 44.675781 46.898438 C 45.449219 46.78125 46.128906 46.621094 46.710938 46.414062 C 47.25 46.242188 47.609375 46.015625 47.78125 45.738281 C 47.957031 45.460938 48.046875 44.988281 48.046875 44.316406 L 48.046875 39.613281 C 48.046875 39.292969 47.941406 39.03125 47.738281 38.835938 C 47.535156 38.640625 47.265625 38.539062 46.929688 38.539062 L 43.058594 38.539062 C 42.707031 38.539062 42.433594 38.628906 42.238281 38.804688 C 42.039062 38.976562 41.941406 39.226562 41.941406 39.546875 C 41.941406 39.867188 42.039062 40.117188 42.238281 40.289062 C 42.433594 40.464844 42.707031 40.554688 43.058594 40.554688 L 45.53125 40.554688 L 45.53125 44.425781 C 44.539062 44.703125 43.546875 44.839844 42.554688 44.839844 C 39.230469 44.839844 37.566406 42.945312 37.566406 39.152344 C 37.566406 37.300781 37.972656 35.90625 38.78125 34.964844 C 39.589844 34.023438 40.789062 33.554688 42.378906 33.554688 C 43.078125 33.554688 43.707031 33.644531 44.261719 33.828125 C 44.816406 34.007812 45.414062 34.324219 46.054688 34.777344 C 46.230469 34.894531 46.382812 34.980469 46.515625 35.03125 C 46.644531 35.082031 46.792969 35.105469 46.953125 35.105469 C 47.199219 35.105469 47.410156 34.996094 47.585938 34.777344 C 47.761719 34.558594 47.847656 34.289062 47.847656 33.96875 C 47.847656 33.75 47.808594 33.558594 47.726562 33.398438 C 47.648438 33.238281 47.519531 33.078125 47.34375 32.917969 C 46.03125 31.808594 44.347656 31.257812 42.292969 31.257812 C 40.746094 31.257812 39.40625 31.574219 38.265625 32.207031 C 37.128906 32.84375 36.25 33.753906 35.632812 34.941406 C 35.011719 36.128906 34.703125 37.535156 34.703125 39.152344 C 34.703125 40.800781 35.011719 42.21875 35.632812 43.40625 C 36.25 44.597656 37.144531 45.503906 38.3125 46.132812 C 39.476562 46.757812 40.855469 47.070312 42.445312 47.070312 Z M 42.445312 47.070312 "/>\n </g>'},
pdfIcon:{extension:".pdf",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.59375 25 L 39.4375 25 C 41.476562 25.003906 43.484375 25.472656 45.3125 26.375 L 45.3125 15.375 C 45.347656 14.191406 44.867188 13.054688 44 12.25 L 34.625 2.875 C 33.875 2.003906 32.773438 1.523438 31.625 1.5625 L 6.625 1.5625 C 5.589844 1.5625 4.75 2.402344 4.75 3.4375 L 4.75 26.375 C 6.566406 25.480469 8.566406 25.007812 10.59375 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.71875 L 42.15625 12.5 L 34.53125 12.5 C 34.480469 12.511719 34.425781 12.511719 34.375 12.5 Z M 6.25 25.71875 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.300781 13.980469 32.316406 15.253906 33.75 15.625 C 33.957031 15.675781 34.167969 15.675781 34.375 15.625 L 43.75 15.625 L 43.75 25.71875 C 44.859375 26.09375 45.910156 26.621094 46.875 27.28125 L 46.875 15.375 C 46.964844 13.722656 46.3125 12.117188 45.09375 11 L 35.71875 1.625 C 34.648438 0.523438 33.160156 -0.0664062 31.625 0 L 6.625 0 C 5.703125 -0.015625 4.8125 0.339844 4.152344 0.984375 C 3.496094 1.632812 3.125 2.515625 3.125 3.4375 L 3.125 27.28125 C 4.09375 26.625 5.144531 26.101562 6.25 25.71875 Z M 6.25 25.71875 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.625 28.125 C 6.335938 28.117188 4.136719 29.023438 2.515625 30.640625 C 0.898438 32.261719 -0.0078125 34.460938 0 36.75 L 0 41.375 C 0 46.136719 3.863281 50 8.625 50 L 41.375 50 C 46.132812 49.984375 49.984375 46.132812 50 41.375 L 50 36.75 C 50 31.988281 46.136719 28.125 41.375 28.125 Z M 8.625 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 14.40625 41.78125 L 12.09375 41.78125 L 12.09375 45.84375 C 12.003906 46.351562 11.5625 46.726562 11.046875 46.726562 C 10.53125 46.726562 10.089844 46.351562 10 45.84375 L 10 34.78125 C 10 34.210938 10.460938 33.75 11.03125 33.75 L 14.40625 33.75 C 15.925781 33.617188 17.390625 34.351562 18.191406 35.648438 C 18.992188 36.945312 18.992188 38.585938 18.191406 39.882812 C 17.390625 41.179688 15.925781 41.914062 14.40625 41.78125 Z M 12.09375 39.6875 L 14.40625 39.6875 C 15.152344 39.78125 15.882812 39.4375 16.289062 38.804688 C 16.691406 38.171875 16.691406 37.359375 16.289062 36.726562 C 15.882812 36.09375 15.152344 35.75 14.40625 35.84375 L 12.09375 35.84375 Z M 12.09375 39.6875 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.3125 45.84375 L 20.3125 34.78125 C 20.3125 34.210938 20.773438 33.75 21.34375 33.75 L 23.5625 33.75 C 27.1875 33.75 30.125 36.6875 30.125 40.3125 C 30.125 43.9375 27.1875 46.875 23.5625 46.875 L 21.34375 46.875 C 20.773438 46.875 20.3125 46.414062 20.3125 45.84375 Z M 22.40625 44.78125 L 23.5625 44.78125 C 26.03125 44.78125 28.03125 42.78125 28.03125 40.3125 C 28.03125 37.84375 26.03125 35.84375 23.5625 35.84375 L 22.40625 35.84375 Z M 22.40625 44.78125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 33.1875 45.84375 L 33.1875 34.78125 C 33.183594 34.476562 33.3125 34.1875 33.542969 33.992188 C 33.769531 33.792969 34.074219 33.703125 34.375 33.75 L 40.625 33.75 C 41.132812 33.839844 41.507812 34.28125 41.507812 34.796875 C 41.507812 35.3125 41.132812 35.753906 40.625 35.84375 L 35.25 35.84375 L 35.25 39.28125 L 39.625 39.28125 C 40.195312 39.28125 40.65625 39.742188 40.65625 40.3125 C 40.65625 40.882812 40.195312 41.34375 39.625 41.34375 L 35.25 41.34375 L 35.25 45.84375 C 35.257812 46.359375 34.882812 46.796875 34.375 46.875 C 34.074219 46.921875 33.769531 46.832031 33.542969 46.632812 C 33.3125 46.4375 33.183594 46.148438 33.1875 45.84375 Z M 33.1875 45.84375 "/>\n </g>'},
defaultIcon:{extension:".default",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 3.117188 44.777344 C 1.394531 44.777344 0 43.386719 0 41.671875 L 0 3.484375 C 0 1.769531 1.394531 0.378906 3.117188 0.378906 L 25.792969 0.378906 C 27.164062 0.304688 28.5 0.808594 29.480469 1.765625 L 37.980469 10.230469 C 39.144531 11.242188 39.769531 12.730469 39.683594 14.265625 L 39.683594 41.671875 C 39.683594 43.386719 38.289062 44.777344 36.5625 44.777344 Z M 25.511719 3.203125 L 3.117188 3.203125 C 2.960938 3.203125 2.832031 3.328125 2.832031 3.484375 L 2.832031 41.671875 C 2.832031 41.828125 2.960938 41.957031 3.117188 41.957031 L 36.5625 41.957031 C 36.679688 41.949219 36.785156 41.867188 36.820312 41.757812 L 36.820312 14.492188 L 28.34375 14.492188 C 28.160156 14.539062 27.964844 14.539062 27.777344 14.492188 C 26.480469 14.15625 25.554688 13.007812 25.511719 11.671875 Z M 28.34375 4.640625 L 28.34375 11.671875 C 28.390625 11.683594 28.441406 11.683594 28.488281 11.671875 L 35.402344 11.671875 Z M 28.34375 4.640625 "/>\n </g>'}};
a.MODULES.modals=function(b){function c(c,d){var f='<div tabIndex="-1" class="fr-modal'.concat(b.opts.theme?" ".concat(b.opts.theme,"-theme"):"",'"><div class="fr-modal-wrapper">'),e='<button title="'.concat(b.language.translate("Cancel"),'" class="fr-command fr-btn fr-modal-close"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 24 24"><path d="').concat(a.SVG.close,'"/></svg></button>');f+='<div class="fr-modal-head">'.concat(c).concat(e,"</div>");f+='<div tabIndex="-1" class="fr-modal-body">'.concat(d,
"</div>");f+="</div></div>";c=m(b.doc.createElement("DIV"));c.html(f);return c.find("> .fr-modal")}function e(){for(var b in k)if(Object.prototype.hasOwnProperty.call(k,b)){var a=k[b];a&&a.$modal&&a.$modal.removeData().remove()}n&&n.removeData().remove();k={}}function g(a,c){if(k[a]){a=k[a].$modal;var d=a.data("instance")||b;d.events.enableBlur();a.hide();n.hide();m(d.o_doc).find("body").first().removeClass("fr-prevent-scroll fr-mobile");a.removeClass("fr-active");c||(d.accessibility.restoreSelection(),
d.events.trigger("modals.hide"))}}function f(a){if("string"===typeof a){if(!k[a])return;a=k[a].$modal}return a&&b.node.hasClass(a,"fr-active")&&b.core.sameInstance(a)||!1}var m=b.$;b.shared.modals||(b.shared.modals={});var k=b.shared.modals,n;return{_init:function(){b.events.on("shared.destroy",e,!0)},get:function(b){return k[b]},create:function(d,f,e){f='<div class="fr-modal-head-line">'.concat(f,"</div>");b.shared.$overlay||(b.shared.$overlay=m(b.doc.createElement("DIV")).addClass("fr-overlay"),
m("body").first().append(b.shared.$overlay));n=b.shared.$overlay;b.opts.theme&&n.addClass("".concat(b.opts.theme,"-theme"));if(!k[d]){var h=c(f,e);k[d]={$modal:h,$head:h.find(".fr-modal-head"),$body:h.find(".fr-modal-body")};b.helpers.isMobile()||h.addClass("fr-desktop");m("body").first().append(h);b.events.$on(h,"click",".fr-modal-close",function(){g(d)},!0);k[d].$body.css("margin-top",k[d].$head.outerHeight());b.events.$on(h,"keydown",function(c){var f=c.which;return f===a.KEYCODE.ESC?(g(d),b.accessibility.focusModalButton(h),
!1):m(c.currentTarget).is("input[type=text], textarea")||f===a.KEYCODE.ARROW_UP||f===a.KEYCODE.ARROW_DOWN||b.keys.isBrowserAction(c)?!0:(c.preventDefault(),c.stopPropagation(),!1)},!0);g(d,!0)}return k[d]},show:function(a){k[a]&&(a=k[a].$modal,a.data("instance",b),a.show(),n.show(),m(b.o_doc).find("body").first().addClass("fr-prevent-scroll"),b.helpers.isMobile()&&m(b.o_doc).find("body").first().addClass("fr-mobile"),a.addClass("fr-active"),b.accessibility.focusModal(a))},hide:g,resize:function(a){if(k[a]){var c=
k[a];a=c.$body;var d=b.o_win.innerHeight,f=c.$modal.find(".fr-modal-wrapper");c=f.outerHeight(!0);f=f.height()-(a.outerHeight(!0)-a.height());d=d-c+f;c="auto";a.get(0).scrollHeight>d&&(c=d);a.height(c)}},isVisible:f,areVisible:function(b){for(var a in k)if(Object.prototype.hasOwnProperty.call(k,a)&&f(a)&&("undefined"===typeof b||k[a].$modal.data("instance")===b))return k[a].$modal;return!1}}};a.MODULES.position=function(b){function a(){var a=b.selection.ranges(0).getBoundingClientRect();if(0===a.top&&
0===a.left&&0===a.width||0===a.height){var c=!1;0===b.$el.find(".fr-marker").length&&(b.selection.save(),c=!0);a=b.$el.find(".fr-marker").first();a.css("display","inline");a.css("line-height","");var d=a.offset(),f=a.outerHeight();a.css("display","none");a.css("line-height",0);a={};a.left=d&&d.left;a.width=0;a.height=f;a.top=d&&d.top-(b.helpers.isMobile()&&!b.helpers.isIOS()||b.opts.iframe?0:b.helpers.scrollTop());a.right=1;a.bottom=1;a.ok=!0;c&&b.selection.restore()}return a}function c(a,c,d){var f=
a.outerHeight(!0);if(!b.helpers.isMobile()&&b.$tb&&a.parent().get(0)!==b.$tb.get(0)){var e=a.parent().offset().top;d=c-f-(d||0);a.parent().get(0)===b.$sc.get(0)&&(e-=a.parent().position().top);var g=b.$sc.get(0).clientHeight;e+c+f>b.$sc.offset().top+g&&0<a.parent().offset().top+d&&0<d?d>b.$wp.scrollTop()&&(c=d,a.addClass("fr-above")):a.removeClass("fr-above")}return c}function e(a,d,f,e){var g=f.data("container");!g||"BODY"===g.get(0).tagName&&"static"===g.css("position")||(a&&(a-=g.offset().left),
d&&(d-=g.offset().top),"BODY"!==g.get(0).tagName?(a&&(a+=g.get(0).scrollLeft),d&&(d+=g.get(0).scrollTop)):"absolute"===g.css("position")&&(a&&(a+=g.position().left),d&&(d+=g.position().top)));if(b.opts.iframe&&g&&b.$tb&&g.get(0)!==b.$tb.get(0)){g=b.helpers.getPX(b.$wp.find(".fr-iframe").css("padding-top"));var h=b.helpers.getPX(b.$wp.find(".fr-iframe").css("padding-left"));a&&(a+=b.$iframe.offset().left+h);d&&(d+=b.$iframe.offset().top+g)}g=a;h=f.outerWidth(!0);g+h>b.$sc.get(0).clientWidth-10&&(g=
b.$sc.get(0).clientWidth-h-10);0>g&&(g=10);a&&f.css("left",g);d&&f.css("top",c(f,d,e))}function f(a){var c=z(a),d=c.is(".fr-sticky-on"),f=c.data("sticky-top"),e=c.data("sticky-scheduled");if("undefined"===typeof f){c.data("sticky-top",0);var g=z('<div class="fr-sticky-dummy" style="height: '.concat(c.outerHeight(),'px;"></div>'));b.$box.prepend(g)}else b.$box.find(".fr-sticky-dummy").css("height",c.outerHeight());b.core.hasFocus()||0<b.$tb.findVisible("input:focus").length?(a=b.helpers.scrollTop(),
g=Math.min(Math.max(a-b.$tb.parent().offset().top,0),b.$tb.parent().outerHeight()-c.outerHeight()),g!==f&&g!==e&&(clearTimeout(c.data("sticky-timeout")),c.data("sticky-scheduled",g),c.outerHeight()<a-b.$tb.parent().offset().top&&c.addClass("fr-opacity-0"),c.data("sticky-timeout",setTimeout(function(){var a=b.helpers.scrollTop();a=Math.min(Math.max(a-b.$tb.parent().offset().top,0),b.$tb.parent().outerHeight()-c.outerHeight());0<a&&"BODY"===b.$tb.parent().get(0).tagName&&(a+=b.$tb.parent().position().top);
a!==f&&(c.css("top",Math.max(a,0)),c.data("sticky-top",a),c.data("sticky-scheduled",a));c.removeClass("fr-opacity-0")},100))),d||(d=b.$tb.parent(),e=d.get(0).offsetWidth-d.get(0).clientWidth,c.css("top","0"),c.width(d.width()-e),c.addClass("fr-sticky-on"),b.$box.addClass("fr-sticky-box"))):(clearTimeout(z(a).css("sticky-timeout")),c.css("top","0"),c.css("position",""),c.css("width",""),c.data("sticky-top",0),c.removeClass("fr-sticky-on"),b.$box.removeClass("fr-sticky-box"))}function g(){b.helpers.requestAnimationFrame()(g);
if(!1!==b.events.trigger("position.refresh"))for(var a=0;a<b._stickyElements.length;a++)if(b.opts.toolbarBottom){var c=b.$tb.parent(),d=c.get(0).offsetWidth-c.get(0).clientWidth,e=z(b._stickyElements[a]);e.width(c.width()-d);e.addClass("fr-sticky-on");b.$box.addClass("fr-sticky-box")}else f(b._stickyElements[a])}function k(){b._stickyElements=[];b.helpers.isIOS()?(g(),b.events.$on(z(b.o_win),"scroll",function(){if(b.core.hasFocus())for(var a=0;a<b._stickyElements.length;a++){var c=z(b._stickyElements[a]),
d=c.parent(),f=b.helpers.scrollTop();!(c.outerHeight()<f-d.offset().top)||b.opts.toolbarBottom&&b.helpers.isIOS()||(c.addClass("fr-opacity-0"),c.data("sticky-top",-1),c.data("sticky-scheduled",-1))}},!0)):("body"!==b.opts.scrollableContainer&&b.events.$on(z(b.opts.scrollableContainer),"scroll",n,!0),b.events.$on(z(b.o_win),"scroll",n,!0),b.events.$on(z(b.o_win),"resize",n,!0),b.events.on("initialized",n),b.events.on("focus",n),b.events.$on(z(b.o_win),"resize","textarea",n,!0));b.events.on("destroy",
function(){b._stickyElements=[]})}function n(){if(b._stickyElements)for(var a=0;a<b._stickyElements.length;a++){var c=b._stickyElements[a];if(c.offsetWidth){c=z(c);var d=c.outerHeight(),f=c.data("sticky-position"),e=z("body"===b.opts.scrollableContainer?b.o_win:b.opts.scrollableContainer).outerHeight(),g=0,h=0;"body"!==b.opts.scrollableContainer&&(g=b.$sc.offset().top,h=z(b.o_win).outerHeight()-g-e);var m="body"===b.opts.scrollableContainer?b.helpers.scrollTop():g,u=c.is(".fr-sticky-on");c.data("sticky-parent")||
c.data("sticky-parent",c.parent());var k=c.data("sticky-parent"),n=k.offset().top,x=k.outerHeight();c.data("sticky-offset")?b.$box.find(".fr-sticky-dummy").css("height","".concat(d,"px")):(c.data("sticky-offset",!0),c.after('<div class="fr-sticky-dummy" style="height: '.concat(d,'px;"></div>')));if(!f){var l="auto"!==c.css("top")||"auto"!==c.css("bottom");l||c.css("position","fixed");f={top:b.node.hasClass(c.get(0),"fr-top"),bottom:b.node.hasClass(c.get(0),"fr-bottom")};l||c.css("position","");c.data("sticky-position",
f);c.data("top",b.node.hasClass(c.get(0),"fr-top")?c.css("top"):"auto");c.data("bottom",b.node.hasClass(c.get(0),"fr-bottom")?c.css("bottom"):"auto")}var q=b.helpers.getPX(c.data("top"));l=b.helpers.getPX(c.data("bottom"));q=f.top&&n<m+q&&n+x-d>=m+q&&(b.helpers.isInViewPort(b.$sc.get(0))||"body"===b.opts.scrollableContainer);d=f.bottom&&n+d<m+e-l&&n+x>m+e-l;q||d?(f=k.get(0).offsetWidth-k.get(0).clientWidth,c.css("width","".concat(k.get(0).getBoundingClientRect().width-f,"px")),u||(c.addClass("fr-sticky-on"),
c.removeClass("fr-sticky-off"),c.css("top")&&("auto"!==c.data("top")?c.css("top",b.helpers.getPX(c.data("top"))+g):c.data("top","auto")),c.css("bottom")&&("auto"!==c.data("bottom")?c.css("bottom",b.helpers.getPX(c.data("bottom"))+h):c.css("bottom","auto")))):b.node.hasClass(c.get(0),"fr-sticky-off")||(c.css("width",""),c.removeClass("fr-sticky-on"),c.addClass("fr-sticky-off"),c.css("top")&&"auto"!==c.data("top")&&f.top&&c.css("top",0),c.css("bottom")&&"auto"!==c.data("bottom")&&f.bottom&&c.css("bottom",
0))}}}var z=b.$;return{_init:function(){k()},forSelection:function(c){var d=a();c.css({top:0,left:0});var f=d.top+d.height,g=d.left+d.width/2-c.get(0).offsetWidth/2+b.helpers.scrollLeft();b.opts.iframe||(f+=b.helpers.scrollTop());e(g,f,c,d.height)},addSticky:function(a){a.addClass("fr-sticky");b.helpers.isIOS()&&!b.opts.toolbarBottom&&a.addClass("fr-sticky-ios");a.removeClass("fr-sticky");b._stickyElements.push(a.get(0))},refresh:n,at:e,getBoundingRect:a}};a.MODULES.refresh=function(b){function a(b,
a){b.toggleClass("fr-disabled",a).attr("aria-disabled",a)}function c(a){var c=b.$tb.find('.fr-more-toolbar[data-name="'.concat(a.attr("data-group-name"),'"]'));a=e(a,c);"rtl"===b.opts.direction?c.css("padding-right",a):c.css("padding-left",a)}function e(a,c){var d=0;c=c.find("> .fr-command, > .fr-btn-wrap");c.each(function(b,a){d+=f(a).outerWidth(!0)});var e="rtl"===b.opts.direction?b.$tb.outerWidth()-a.offset().left+b.$tb.offset().left-(d+a.outerWidth()+0*c.length)/2:a.offset().left-b.$tb.offset().left-
(d-a.outerWidth()+0*c.length)/2;e+d+0*c.length>b.$tb.outerWidth()&&(e-=(d+0*c.length-a.outerWidth())/2);0>e&&(e=0);return e}var f=b.$;return{undo:function(c){a(c,!b.undo.canDo())},redo:function(c){a(c,!b.undo.canRedo())},outdent:function(c){if(b.node.hasClass(c.get(0),"fr-no-refresh")||f("button#markdown-".concat(b.id,".fr-active")).length)return!1;for(var d=b.selection.blocks(),e=0;e<d.length;e++){var g="rtl"===b.opts.direction||"rtl"===f(d[e]).css("direction")?"margin-right":"margin-left",h=d[0].parentElement;
if("HTML"!=h.parentNode.tagName&&"P"!=h.parentNode.tagName&&"DIV"!=h.parentNode.tagName&&"UL"!=h.parentNode.tagName&&"OL"!=h.parentNode.tagName&&"LI"!=h.parentNode.tagName||d[0].previousSibling&&"none"==h.parentNode.style.listStyleType)return a(c,!0),!0;if("LI"===d[e].tagName||"LI"===d[e].parentNode.tagName||0<b.helpers.getPX(f(d[e]).css(g)))return a(c,!1),!0}a(c,!0)},indent:function(c){if(b.node.hasClass(c.get(0),"fr-no-refresh")||f("button#markdown-".concat(b.id,".fr-active")).length)return!1;for(var d=
b.selection.blocks(),e=0;e<d.length;e++){for(var g=d[e].previousSibling;g&&g.nodeType===Node.TEXT_NODE&&0===g.textContent.length;)g=g.previousSibling;if("LI"!==d[e].tagName||g)return a(c,!1),!0;a(c,!0)}},moreText:c,moreParagraph:c,moreMisc:c,moreRich:c}};Object.assign(a.DEFAULTS,{attribution:!0,toolbarBottom:!1,toolbarButtons:null,toolbarButtonsXS:null,toolbarButtonsSM:null,toolbarButtonsMD:null,toolbarContainer:null,toolbarInline:!1,toolbarSticky:!0,toolbarStickyOffset:0,toolbarVisibleWithoutSelection:!1});
a.TOOLBAR_BUTTONS={moreText:{buttons:"bold italic underline strikeThrough subscript superscript fontFamily fontSize textColor backgroundColor inlineClass inlineStyle clearFormatting".split(" ")},moreParagraph:{buttons:"alignLeft alignCenter formatOLSimple alignRight alignJustify formatOL formatUL paragraphFormat paragraphStyle lineHeight outdent indent quote".split(" ")},moreRich:{buttons:"trackChanges markdown insertLink insertFiles insertImage insertVideo insertTable emoticons fontAwesome specialCharacters embedly insertFile insertHR".split(" "),
buttonsVisible:4},moreMisc:{buttons:"undo redo fullscreen print getPDF spellChecker selectAll html help".split(" "),align:"right",buttonsVisible:2},trackChanges:{buttons:["showChanges","applyAll","removeAll","applyLast","removeLast"],buttonsVisible:0}};a.TOOLBAR_BUTTONS_MD=null;a.TOOLBAR_BUTTONS_SM={};a.TOOLBAR_BUTTONS_SM.moreText=Object.assign({},a.TOOLBAR_BUTTONS.moreText,{buttonsVisible:2});a.TOOLBAR_BUTTONS_SM.moreParagraph=Object.assign({},a.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:2});
a.TOOLBAR_BUTTONS_SM.moreRich=Object.assign({},a.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:2});a.TOOLBAR_BUTTONS_SM.moreMisc=Object.assign({},a.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2});a.TOOLBAR_BUTTONS_SM.trackChanges=Object.assign({},a.TOOLBAR_BUTTONS.trackChanges,{buttonsVisible:0});a.TOOLBAR_BUTTONS_XS={};a.TOOLBAR_BUTTONS_XS.moreText=Object.assign({},a.TOOLBAR_BUTTONS.moreText,{buttonsVisible:0});a.TOOLBAR_BUTTONS_XS.moreParagraph=Object.assign({},a.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:0});
a.TOOLBAR_BUTTONS_XS.moreRich=Object.assign({},a.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:0});a.TOOLBAR_BUTTONS_XS.moreMisc=Object.assign({},a.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2});a.TOOLBAR_BUTTONS_XS.trackChanges=Object.assign({},a.TOOLBAR_BUTTONS.trackChanges,{buttonsVisible:0});a.POWERED_BY='<a id="fr-logo" href="https://froala.com/wysiwyg-editor" target="_blank" title="Froala WYSIWYG HTML Editor"><span>Powered by</span><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 822.8 355.33"><defs><style>.fr-logo{fill:#b1b2b7;}</style></defs><title>Froala</title><path class="fr-logo" d="M123.58,78.65A16.16,16.16,0,0,0,111.13,73H16.6C7.6,73,0,80.78,0,89.94V128.3a16.45,16.45,0,0,0,32.9,0V104.14h78.5A15.63,15.63,0,0,0,126.87,91.2,15.14,15.14,0,0,0,123.58,78.65Z"/><path class="fr-logo" d="M103.54,170a16.05,16.05,0,0,0-11.44-4.85H15.79A15.81,15.81,0,0,0,0,180.93v88.69a16.88,16.88,0,0,0,5,11.92,16,16,0,0,0,11.35,4.7h.17a16.45,16.45,0,0,0,16.41-16.6v-73.4H92.2A15.61,15.61,0,0,0,107.89,181,15.1,15.1,0,0,0,103.54,170Z"/><path class="fr-logo" d="M233,144.17c-5.29-6.22-16-7.52-24.14-7.52-16.68,0-28.72,7.71-36.5,23.47v-5.67a16.15,16.15,0,1,0-32.3,0v115.5a16.15,16.15,0,1,0,32.3,0v-38.7c0-19.09,3.5-63.5,35.9-63.5a44.73,44.73,0,0,1,5.95.27h.12c12.79,1.2,20.06-2.73,21.6-11.69C236.76,151.48,235.78,147.39,233,144.17Z"/><path class="fr-logo" d="M371.83,157c-13.93-13.11-32.9-20.33-53.43-20.33S279,143.86,265.12,157c-14.67,13.88-22.42,32.82-22.42,54.77,0,21.68,8,41.28,22.4,55.2,13.92,13.41,32.85,20.8,53.3,20.8s39.44-7.38,53.44-20.79c14.55-13.94,22.56-33.54,22.56-55.21S386.39,170.67,371.83,157Zm-9.73,54.77c0,25.84-18.38,44.6-43.7,44.6s-43.7-18.76-43.7-44.6c0-25.15,18.38-43.4,43.7-43.4S362.1,186.59,362.1,211.74Z"/><path class="fr-logo" d="M552.7,138.14a16.17,16.17,0,0,0-16,16.3v1C526.41,143.85,509,136.64,490,136.64c-19.83,0-38.19,7.24-51.69,20.4C424,171,416.4,190,416.4,212c0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,552.7,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C513.73,168.34,536.4,183.55,536.4,211.74Z"/><path class="fr-logo" d="M623.5,61.94a16.17,16.17,0,0,0-16,16.3v191.7a16.15,16.15,0,1,0,32.3,0V78.24A16.32,16.32,0,0,0,623.5,61.94Z"/><path class="fr-logo" d="M806.5,138.14a16.17,16.17,0,0,0-16,16.3v1c-10.29-11.63-27.74-18.84-46.7-18.84-19.83,0-38.19,7.24-51.69,20.4-14.33,14-21.91,33-21.91,55,0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,806.5,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C767.53,168.34,790.2,183.55,790.2,211.74Z"/></svg></a>';
a.MODULES.toolbar=function(b){function c(b){var a={};if(Array.isArray(b)){if(!Array.isArray(b[0])){for(var c=[],d=[],f=0;f<b.length;f++)"|"===b[f]||"-"===b[f]?(0<d.length&&c.push(d),d=[]):d.push(b[f]);0<d.length&&c.push(d);b=c}b.forEach(function(b,c){a["group".concat(c+1)]={buttons:b}});a.showMoreButtons=!1}else"object"!==e(b)||Array.isArray(b)||(a=b,a.showMoreButtons=!0);return a}function g(){var a=b.button.buildGroup(u());b.$tb.append(a);m();b.button.bindCommands(b.$tb)}function u(){var a=b.helpers.screenSize();
A=a;return D[a]}function f(){for(var a=b.$tb.find(".fr-btn-grp, .fr-more-toolbar"),c=function(b){var c=r(a[b]);c.children().each(function(b,a){c.before(a)});c.remove()},d=0;d<a.length;d++)c(d)}function m(){for(var a=b.$tb.find(".fr-more-toolbar"),c=0;c<a.length;c++){var d=r(a[c]);d.hasClass("fr-expanded")?function(){var a=b.helpers.getPX(d.css("padding-left")),c=d.find("> .fr-command, > .fr-btn-wrap"),f=r(c[0]),e=b.helpers.getPX(f.css("margin-top")),g=b.helpers.getPX(f.css("margin-bottom"));c.each(function(b,
c){a+=r(c).outerWidth(!0)});c=b.$tb.outerWidth();a>c&&(c=Math.floor(a/b.$tb.outerWidth()),a+=a/d[0].childElementCount*c,c=Math.ceil(a/b.$tb.outerWidth()),f=(b.helpers.getPX(f.css("height"))+e+g)*c,d.css("height",f))}():d.css("height","")}!b.helpers.isMobile()&&b.opts.toolbarBottom?b.$tb.find(".fr-toolbar .fr-more-toolbar").removeClass("position-relative"):b.$tb.find(".fr-toolbar .fr-more-toolbar").addClass("position-relative")}function k(){if(0==r("[data-name='trackChanges-".concat(b.id,"']")).length){r(".fr-toolbar").append(r('<div class="fr-more-toolbar"></div>').data("name",
"trackChanges-".concat(b.id)));for(var c=0,d=["showChanges","applyAll","removeAll","applyLast","removeLast"];c<d.length;c++){var e=d[c],g=a.COMMANDS[e];g&&(g.more_btn=!0,e=r(b.button.build(e,g,!0)),b.button.addButtons(e),r("[data-name='trackChanges-".concat(b.id,"']")).append(e))}}if(A!==b.helpers.screenSize()){c=u();d=r();e=r();b.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").addClass("fr-hidden");
f();for(var h in c){var k=c[h];if(k.buttons){g=void 0;var n=0,z=3,p=void 0;"trackChanges"!==h&&(p=r('<div class="fr-btn-grp fr-float-'.concat(c[h].align?c[h].align:"left",'"></div>')));c.showMoreButtons&&(g=r('<div class="fr-more-toolbar"></div>').data("name","".concat(h,"-").concat(b.id)),"trackChanges"!==h&&"moreRich"!==h||!b.opts.trackChangesEnabled||g.addClass("fr-expanded"));for(var t=0;t<k.buttons.length;t++){void 0!==k.buttonsVisible&&(z=k.buttonsVisible);var w=b.$tb.find('> .fr-command[data-cmd="'+
k.buttons[t]+'"], > div.fr-btn-wrap > .fr-command[data-cmd="'+k.buttons[t]+'"]'),H=null;b.node.hasClass(w.next().get(0),"fr-dropdown-menu")&&(H=w.next());b.node.hasClass(w.next().get(0),"fr-options")&&(w.removeClass("fr-hidden"),w.next().removeClass("fr-hidden"),w=w.parent());w.removeClass("fr-hidden");c.showMoreButtons&&n>=z?(g.append(w),H&&g.append(H)):(p.append(w),H&&p.append(H));n++}if(c.showMoreButtons&&n>z){k=b.$tb.find('.fr-command[data-cmd="'.concat(h,'"]'));if(0<k.length)k.removeClass("fr-hidden fr-open");
else if(n=h,z=a.COMMANDS[n])z.more_btn=!0,k=r(b.button.build(n,z,!0)),b.button.addButtons(k);p&&p.append(k)}p&&d.push(p);c.showMoreButtons&&e.push(g)}}b.opts.toolbarBottom?(b.$tb.append(e),b.$tb.find(".fr-newline").remove(),b.$tb.append('<div class="fr-newline"></div>'),b.$tb.append(d)):(b.$tb.append(d),b.$tb.find(".fr-newline").remove(),b.$tb.append('<div class="fr-newline"></div>'),b.$tb.append(e));b.$tb.removeClass("fr-toolbar-open");b.$box.removeClass("fr-toolbar-open");b.events.trigger("codeView.toggle")}m()}
function n(c,d){setTimeout(function(){c&&c.which==a.KEYCODE.ESC||!b.selection.inEditor()||!b.core.hasFocus()||b.popups.areVisible()||"false"==r(b.selection.blocks()[0]).closest("table").attr("contenteditable")||!b.opts.toolbarVisibleWithoutSelection&&(b.selection.isCollapsed()||b.keys.isIME())&&!d||(b.$tb.data("instance",b),!1!==b.events.trigger("toolbar.show",[c])&&(b.$tb.show(),b.opts.toolbarContainer||b.position.forSelection(b.$tb),1<b.opts.zIndex?b.$tb.css("z-index",b.opts.zIndex+1):b.$tb.css("z-index",
null)))},0)}function z(a){if(a&&"blur"===a.type&&document.activeElement===b.el)return!1;if(a&&"keydown"===a.type&&b.keys.ctrlKey(a)||b.button.getButtons(".fr-dropdown.fr-active").next().find(b.o_doc.activeElement).length)return!0;b.helpers.isMobile()&&b.opts.toolbarInline&&(b.$tb.find(".fr-expanded").toggleClass("fr-expanded"),b.$tb.find(".fr-open").removeClass("fr-open"),b.$tb.removeClass("fr-toolbar-open"),m());!1!==b.events.trigger("toolbar.hide")&&b.$tb.hide()}function w(c){clearTimeout(R);c&&
c.which===a.KEYCODE.ESC||(R=setTimeout(n,b.opts.typingTimer))}function H(){b.events.on("window.mousedown",z);b.events.on("keydown",z);b.events.on("blur",z);b.events.$on(b.$tb,"transitionend",".fr-more-toolbar",function(){b.position.forSelection(b.$tb)});if(!b.helpers.isMobile())b.events.on("window.mouseup",n);if(b.helpers.isMobile())b.helpers.isIOS()||(b.events.on("window.touchend",n),b.browser.mozilla&&setInterval(n,200));else b.events.on("window.keyup",w);b.events.on("keydown",function(c){c&&c.which===
a.KEYCODE.ESC&&b.events.trigger("toolbar.esc")});b.events.on("keydown",function(b){if(b.which===a.KEYCODE.ALT)return b.stopPropagation(),!1},!0);b.events.$on(b.$wp,"scroll.toolbar",n);b.events.on("commands.after",n);b.helpers.isMobile()&&(b.events.$on(b.$doc,"selectionchange",w),b.events.$on(b.$doc,"orientationchange",n))}function v(){b.$tb.html("").removeData().remove();b.$tb=null;b.$second_tb&&(b.$second_tb.html("").removeData().remove(),b.$second_tb=null)}function F(){b.$box.removeClass("fr-top fr-bottom fr-inline fr-basic");
b.$box.find(".fr-sticky-dummy").remove()}function M(){b.opts.theme&&b.$tb.addClass("".concat(b.opts.theme,"-theme"));1<b.opts.zIndex&&b.$tb.css("z-index",b.opts.zIndex+1);"auto"!==b.opts.direction&&b.$tb.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(b.opts.direction));b.helpers.isMobile()?b.$tb.addClass("fr-mobile"):b.$tb.addClass("fr-desktop");b.opts.toolbarContainer?(b.opts.toolbarInline&&(H(),z()),b.opts.toolbarBottom?b.$tb.addClass("fr-bottom"):b.$tb.addClass("fr-top")):b.opts.toolbarInline?
(b.$sc.append(b.$tb),b.$tb.data("container",b.$sc),b.$tb.addClass("fr-inline"),H(),b.opts.toolbarBottom=!1):(b.opts.toolbarBottom?(b.$box.append(b.$tb),b.$tb.addClass("fr-bottom"),b.$box.addClass("fr-bottom")):(b.opts.toolbarBottom=!1,b.$box.prepend(b.$tb),b.$tb.addClass("fr-top"),b.$box.addClass("fr-top")),b.$tb.addClass("fr-basic"),b.opts.toolbarSticky&&(b.opts.toolbarStickyOffset&&(b.opts.toolbarBottom?b.$tb.css("bottom",b.opts.toolbarStickyOffset):b.$tb.css("top",b.opts.toolbarStickyOffset)),
b.position.addSticky(b.$tb)));g();b.events.$on(r(b.o_win),"resize",k);b.events.$on(r(b.o_win),"orientationchange",k);b.opts.toolbarButtons&&-1<JSON.stringify(b.opts.toolbarButtons).indexOf("trackChanges")&&k();b.accessibility.registerToolbar(b.$tb);b.events.$on(b.$tb,"".concat(b._mousedown," ").concat(b._mouseup),function(a){var c=a.originalEvent?a.originalEvent.target||a.originalEvent.originalTarget:null;if(c&&"INPUT"!==c.tagName&&!b.edit.isDisabled())return a.stopPropagation(),a.preventDefault(),
!1},!0);b.helpers.isMobile()&&b.events.$on(b.$tb,"click",function(){b.popups.areVisible().length||b.id!==b.shared.selected_editor&&b.shared.selected_editor||b.$el.focus()});b.events.$on(b.$tb,"transitionend",".fr-more-toolbar",function(){b.$box.hasClass("fr-fullscreen")&&(b.opts.height=b.o_win.innerHeight-(b.opts.toolbarInline?0:b.$tb.outerHeight()+(b.$second_tb?b.$second_tb.outerHeight():0)),b.size.refresh())})}function t(){b.events.on("shortcut",function(a,c,d){var f;c&&!d?f=b.$tb.find('.fr-command[data-cmd="'.concat(c,
'"]')):c&&d&&(f=b.$tb.find('.fr-command[data-cmd="'.concat(c,'"][data-param1="').concat(d,'"]')));if(f.length&&(a.preventDefault(),a.stopPropagation(),f.parents(".fr-toolbar").data("instance",b),"keydown"===a.type))return b.button.exec(f),!1})}var r=b.$,D=[];D[a.XS]=c(b.opts.toolbarButtonsXS||b.opts.toolbarButtons||a.TOOLBAR_BUTTONS_XS||a.TOOLBAR_BUTTONS||[]);D[a.SM]=c(b.opts.toolbarButtonsSM||b.opts.toolbarButtons||a.TOOLBAR_BUTTONS_SM||a.TOOLBAR_BUTTONS||[]);D[a.MD]=c(b.opts.toolbarButtonsMD||b.opts.toolbarButtons||
a.TOOLBAR_BUTTONS_MD||a.TOOLBAR_BUTTONS||[]);D[a.LG]=c(b.opts.toolbarButtons||a.TOOLBAR_BUTTONS||[]);var A,R=null,p=!1;return{_init:function(){b.$sc=r(b.opts.scrollableContainer).first();if(!b.$wp)return!1;b.opts.toolbarInline||b.opts.toolbarBottom||(b.$second_tb=r(b.doc.createElement("div")).attr("class","fr-second-toolbar"),b.$box.append(b.$second_tb),(!1!==b.ul||b.opts.attribution)&&b.$second_tb.prepend(a.POWERED_BY));b.opts.toolbarContainer?(b.shared.$tb?(b.$tb=b.shared.$tb,b.opts.toolbarInline&&
H()):(b.shared.$tb=r(b.doc.createElement("DIV")),b.shared.$tb.addClass("fr-toolbar"),b.$tb=b.shared.$tb,r(b.opts.toolbarContainer).append(b.$tb),M(),b.$tb.data("instance",b)),b.opts.toolbarInline?b.$box.addClass("fr-inline"):b.$box.addClass("fr-basic"),b.events.on("focus",function(){b.$tb.data("instance",b)},!0),b.opts.toolbarInline=!1):b.opts.toolbarInline?(b.$box.addClass("fr-inline"),b.shared.$tb?(b.$tb=b.shared.$tb,H()):(b.shared.$tb=r(b.doc.createElement("DIV")),b.shared.$tb.addClass("fr-toolbar"),
b.$tb=b.shared.$tb,M())):(b.$box.addClass("fr-basic"),b.$tb=r(b.doc.createElement("DIV")),b.$tb.addClass("fr-toolbar"),M(),b.$tb.data("instance",b));b.events.on("destroy",F,!0);b.events.on(b.opts.toolbarInline||b.opts.toolbarContainer?"shared.destroy":"destroy",v,!0);b.events.on("edit.on",function(){b.$tb.removeClass("fr-disabled").removeAttr("aria-disabled")});b.events.on("edit.off",function(){b.$tb.addClass("fr-disabled").attr("aria-disabled",!0)});t()},hide:z,show:function(){if(!1===b.events.trigger("toolbar.show"))return!1;
b.$tb.show()},showInline:n,disable:function(){!p&&b.$tb&&(b.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").addClass("fr-disabled fr-no-refresh").attr("aria-disabled",!0),p=!0)},enable:function(){p&&b.$tb&&(b.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").removeClass("fr-disabled fr-no-refresh").attr("aria-disabled",!1),p=!1);b.button.bulkRefresh()},setMoreToolbarsHeight:m}};var K=["scroll","wheel","touchmove","touchstart","touchend"],V=["webkit","moz",
"ms","o"],L=["transitionend"],v=document.createElement("div").style,r="Webkit Moz ms O css style".split(" "),n={visibility:"hidden",display:"block"},w=["focus","blur","click"],M={},R=function(b,a){return{altKey:b.altKey,bubbles:b.bubbles,cancelable:b.cancelable,changedTouches:b.changedTouches,ctrlKey:b.ctrlKey,detail:b.detail,eventPhase:b.eventPhase,metaKey:b.metaKey,pageX:b.pageX,pageY:b.pageY,shiftKey:b.shiftKey,view:b.view,"char":b["char"],key:b.key,keyCode:b.keyCode,button:b.button,buttons:b.buttons,
clientX:b.clientX,clientY:b.clientY,offsetX:b.offsetX,offsetY:b.offsetY,pointerId:b.pointerId,pointerType:b.pointerType,screenX:b.screenX,screenY:b.screenY,targetTouches:b.targetTouches,toElement:b.toElement,touches:b.touches,type:b.type,which:b.which,target:b.target,currentTarget:a,originalEvent:b,stopPropagation:function(){b.stopPropagation()},stopImmediatePropagation:function(){b.stopImmediatePropagation()},preventDefault:function(){-1===K.indexOf(b.type)&&b.preventDefault()}}},D=function(b,a){return function(c){var d=
c.target;if(a)for(a=z(a);d&&d!==this;)Element.prototype.matches.call(d,z(a))&&b.call(d,R(c,d)),d=d.parentNode;else{var f=d;(f.ownerDocument&&f.ownerDocument.body&&f.ownerDocument.body.contains(f)||"#document"===f.nodeName||"HTML"===f.nodeName||f===window)&&b.call(d,R(c,d))}}},g=function(b,a){return new ra(b,a)},z=function(b){return b&&"string"==typeof b?b.replace(/^\s*>/g,":scope >").replace(/,\s*>/g,", :scope >"):b},H=function(b){return"function"===typeof b&&"number"!==typeof b.nodeType},F=g;g.fn=
g.prototype={constructor:g,length:0,contains:function(b){if(!b)return!1;if(Array.isArray(b)){for(var a=0;a<b.length;a++)if(this.contains(b[a])&&this!=b[a])return!0;return!1}for(a=0;a<this.length;a++)for(var c=b;c;){if(c==this[a]||c[0]&&c[0].isEqualNode(this[a]))return!0;c=c.parentNode}return!1},findVisible:function(b){b=this.find(b);for(var a=b.length-1;0<=a;a--)F(b[a]).isVisible()||b.splice(a,1);return b},formatParams:function(b){var a="".concat(Object.keys(b).map(function(a){return"".concat(a,"=").concat(encodeURIComponent(b[a]))}).join("&"));
return a?a:""},ajax:function(b){var a=new XMLHttpRequest,c=this.formatParams(b.data);"GET"===b.method.toUpperCase()&&(b.url=c?b.url+"?"+c:b.url);a.open(b.method,b.url,!0);b.withCredentials&&(a.withCredentials=!0);b.crossDomain&&a.setRequestHeader("Access-Control-Allow-Origin","*");for(var e in b.headers)Object.prototype.hasOwnProperty.call(b.headers,e)&&a.setRequestHeader(e,b.headers[e]);Object.prototype.hasOwnProperty.call(b.headers,"Content-Type")||("json"===b.dataType?a.setRequestHeader("Content-Type",
"application/json"):a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"));a.onload=function(){if(200==a.status){var c=a.responseText;"json"===b.dataType&&(c=JSON.parse(c));b.done(c,a.status,a)}else b.fail(a)};a.send(c)},prevAll:function(){var b=F();if(!this[0])return b;for(var a=this[0];a&&a.previousSibling;)a=a.previousSibling,b.push(a);return b},index:function(b){return b?"string"===typeof b?[].indexOf.call(F(b),this[0]):[].indexOf.call(this,b.length?b[0]:b):this[0]&&
this[0].parentNode?this.first().prevAll().length:-1},isVisible:function(){return this[0]?!!(this[0].offsetWidth||this[0].offsetHeight||this[0].getClientRects().length):!1},toArray:function(){return[].slice.call(this)},get:function(b){return null==b?[].slice.call(this):0>b?this[b+this.length]:this[b]},pushStack:function(b){b=g.merge(this.constructor(),b);b.prevObject=this;return b},wrapAll:function(b){this[0]&&(H(b)&&(b=b.call(this[0])),b=g(b,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&
b.insertBefore(this[0]),b.map(function(){for(var b=this;b.firstElementChild;)b=b.firstElementChild;return b}).append(this));return this},wrapInner:function(b){if("string"===typeof b){for(var a=b.split(" "),c=0;c<a.length&&0===a[c].trim().length;)c++;c<a.length&&(F(b).length&&a[c].trim()===F(b)[0].tagName&&(b=document.createElement(a[c].trim())),c++);if("string"!==typeof b)for(var e=F(b);c<a.length;c++){a[c]=a[c].trim();var f=a[c].split("=");e.attr(f[0],f[1].replace('"',""))}}for(;this[0].firstChild&&
this[0].firstChild!==b&&"string"!==typeof b;)b.appendChild(this[0].firstChild)},wrap:function(b){var a=H(b);return this.each(function(c){F(this).wrapAll(a?b.call(this,c):b)})},unwrap:function(){return this.parent().each(function(){this.nodeName&&this.nodeName.toLowerCase()===name.toLowerCase()||g(this).replaceWith(this.childNodes)})},grep:function(b,a,c){for(var d=[],f=0,e=b.length,g=!c;f<e;f++)c=!a(b[f],f),c!==g&&d.push(b[f]);return d},map:function(b){return this.pushStack(g.map(this,function(a,
c){return b.call(a,c,a)}))},slice:function(){return this.pushStack([].slice.apply(this,arguments))},each:function(b){if(this.length)for(var a=0;a<this.length&&!1!==b.call(this[a],a,this[a]);a++);return this},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(b){var a=this.length;b=+b+(0>b?a:0);return this.pushStack(0<=b&&b<a?[this[b]]:[])},empty:function(){for(var b=0;b<this.length;b++)this[b].innerHTML=""},contents:function(){for(var b=F(),a=0;a<this.length;a++)for(var c=
this[a].childNodes,e=0;e<c.length;e++)b.push(c[e]);return b},attr:function(b,a){if("object"===e(b)){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&null!==b[c]&&this.attr(c,b[c]);return this}if("undefined"!==typeof a){if("checked"===b)for(b=0;b<this.length;b++)this[b].checked=a;else if("tagName"===b)for(b=0;b<this.length;b++)this[b].tagName=a;else for(c=0;c<this.length;c++)this[c].setAttribute(b,a);return this}if(0!==this.length&&(this[0].getAttribute||"checked"===b))return"checked"===b?
this[0].checked:"tagName"===b?this[0].tagName:this[0].getAttribute(b)},removeAttr:function(b){for(var a=0;a<this.length;a++)this[a].removeAttribute&&this[a].removeAttribute(b);return this},hide:function(){this.css("display","none");return this},show:function(){this.css("display","block");return this},focus:function(){this.length&&this[0].focus();return this},blur:function(){this.length&&this[0].blur();return this},data:function(b,a){if("undefined"!==typeof a){for(var c=0;c<this.length;c++)this[c]["data-"+
b]=a,"object"!==e(a)&&"function"!==typeof a&&this[c].setAttribute&&this[c].setAttribute("data-"+b,a);return this}if("undefined"!==typeof a)return this.attr("data-"+b,a);if(0!==this.length)for(a=0;a<this.length;a++)if(c=this[a]["data-"+b],("undefined"===typeof c||null===c)&&this[a].getAttribute&&(c=this[a].getAttribute("data-"+b)),"undefined"!=typeof c&&null!=c)return c},removeData:function(a){for(var b=0;b<this.length;b++)this[b].removeAttribute&&this[b].removeAttribute("data-"+a),this[b]["data-"+
a]=null;return this},getCorrectStyleName:function(a){if(!M[a]){var b;a in v&&(b=a);for(var c=a[0].toUpperCase()+a.slice(1),e=r.length;e--;)a=r[e]+c,a in v&&(b=a);M[a]=b}return M[a]},css:function(a,c){if("undefined"!==typeof c){if(0===this.length)return this;("string"!==typeof c||""===c.trim()||isNaN(c))&&"number"!==typeof c||!/(margin)|(padding)|(height)|(width)|(top)|(left)|(right)|(bottom)/gi.test(a)||/(line-height)/gi.test(a)||(c+="px");for(var b=0;b<this.length;b++)a=F(this).getCorrectStyleName(a),
this[b].style[a]=c;return this}if("string"==typeof a){if(0===this.length)return;c=this[0].ownerDocument||document;c=c.defaultView||c.parentWindow;a=F(this).getCorrectStyleName(a);return c.getComputedStyle(this[0])[a]}for(b in a)Object.prototype.hasOwnProperty.call(a,b)&&this.css(b,a[b]);return this},toggleClass:function(a,c){if(1<a.split(" ").length){a=a.split(" ");for(var b=0;b<a.length;b++)this.toggleClass(a[b],c);return this}for(b=0;b<this.length;b++)"undefined"===typeof c?this[b].classList.contains(a)?
this[b].classList.remove(a):this[b].classList.add(a):c?this[b].classList.contains(a)||this[b].classList.add(a):this[b].classList.contains(a)&&this[b].classList.remove(a);return this},addClass:function(a){if(0===a.length)return this;if(1<a.split(" ").length){a=a.split(" ");for(var b=0;b<a.length;b++)this.addClass(a[b]);return this}for(b=0;b<this.length;b++)this[b].classList.add(a);return this},removeClass:function(a){if(1<a.split(" ").length){a=a.split(" ");for(var b=0;b<a.length;b++)a[b]=a[b].trim(),
a[b].length&&this.removeClass(a[b]);return this}for(b=0;b<this.length;b++)a.length&&this[b].classList.remove(a);return this},getClass:function(a){return a.getAttribute&&a.getAttribute("class")||""},stripAndCollapse:function(a){return(a.match(/[^\x20\t\r\n\f]+/g)||[]).join(" ")},hasClass:function(a){var b,c=0;for(a=" "+a+" ";b=this[c++];)if(1===b.nodeType&&-1<(" "+F(this).stripAndCollapse(F(this).getClass(b))+" ").indexOf(a))return!0;return!1},scrollTop:function(a){if("undefined"!==typeof a)for(var b=
0;b<this.length;b++)this[b]===document?window.scrollTo(document.documentElement.scrollLeft,a):this[b].scrollTop=a;else if(0!==this.length)return this[0]===document?document.documentElement.scrollTop:this[0].scrollTop},scrollLeft:function(a){if("undefined"!==typeof a)for(var b=0;b<this.length;b++)this[b]===document?window.scrollTo(a,document.documentElement.scrollTop):this[b].scrollLeft=a;else if(0!==this.length)return this[0]===document?document.documentElement.scrollLeft:this[0].scrollLeft},on:function(a,
c,e){if(1<a.split(" ").length){for(var b=a.split(" "),d=0;d<b.length;d++)if(-1!==L.indexOf(a))for(var g=0;g<V.length;g++)this.on(V[g]+a[0].toUpperCase()+a.slice(1),c,e);else this.on(b[d],c,e);return this}e="function"===typeof c?D(c,null):D(e,c);for(c=0;c<this.length;c++)b=F(this[c]),b.data("events")||b.data("events",[]),b.data("events").push([a,e]),d=a.split("."),d=d[0],0<=K.indexOf(d)?b.get(0).addEventListener(d,e,{passive:!0}):b.get(0).addEventListener(d,e)},off:function(a){if(1<a.split(" ").length){a=
a.split(" ");for(var b=0;b<a.length;b++)this.off(a[b]);return this}for(b=0;b<this.length;b++){var c=F(this[b]);if(c.data("events")){var e=a.split(".");e=e[0];for(var f=c.data("events")||[],g=f.length-1;0<=g;g--){var k=f[g];k[0]==a&&(c.get(0).removeEventListener(e,k[1]),f.splice(g,1))}}}},trigger:function(a){for(var b=0;b<this.length;b++){if("function"===typeof Event)var c=0<=a.search(/^mouse/g)?new MouseEvent(a,{view:window,cancelable:!0,bubbles:!0}):new Event(a);else 0<=a.search(/^mouse/g)?(c=document.createEvent("MouseEvents"),
c.initMouseEvent(a,!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)):(c=document.createEvent("Event"),c.initEvent(a,!0,!0));if(0<=w.indexOf(a)&&"function"===typeof this[b][a])this[b][a]();else this[b].dispatchEvent(c)}},triggerHandler:function(){},val:function(a){if("undefined"!=typeof a){for(var b=0;b<this.length;b++)this[b].value=a;return this}return this[0].value},siblings:function(){return F(this[0]).parent().children().not(this)},find:function(a){var b=F();if("string"!==typeof a){for(var c=0;c<a.length;c++)for(var g=
0;g<this.length;g++)if(this[g]!==a[c]&&F(this[g]).contains(a[c])){b.push(a[c]);break}return b}a=z(a);for(c=0;c<this.length;c++)if(this[c].querySelectorAll){g=[];if(a&&"string"==typeof a)try{g=this[c].querySelectorAll(a)}catch(m){g=this[c].children}else{var f=a;("object"===("undefined"===typeof HTMLElement?"undefined":e(HTMLElement))?f instanceof HTMLElement:f&&"object"===e(f)&&null!==f&&1===f.nodeType&&"string"===typeof f.nodeName)&&(g=[a])}for(f=0;f<g.length;f++)b.push(g[f])}return b},children:function(){for(var a=
F(),c=0;c<this.length;c++)for(var e=this[c].children,g=0;g<e.length;g++)a.push(e[g]);return a},not:function(a){if("string"===typeof a)for(var b=this.length-1;0<=b;b--)Element.prototype.matches.call(this[b],a)&&this.splice(b,1);else if(a instanceof g)for(b=this.length-1;0<=b;b--)for(var c=0;c<a.length;c++){if(this[b]===a[c]){this.splice(b,1);break}}else for(b=this.length-1;0<=b;b--)this[b]===a[0]&&this.splice(b,1);return this},add:function(a){for(var b=0;b<a.length;b++)this.push(a[b]);return this},
closest:function(a){for(var b=0;b<this.length;b++){var c=Element.prototype.closest.call(this[b],a);if(c)return F(c)}return F()},html:function(a){if("undefined"==typeof a)return 0===this.length?void 0:this[0].innerHTML;if("string"===typeof a)for(var b=0;b<this.length;b++){this[b].innerHTML=a;for(var c=this[b].children,e=this[b].ownerDocument||document,f=0;f<c.length;f++)if("SCRIPT"===c[f].tagName){var g=e.createElement("script");g.innerHTML=c[f].innerHTML;c[f].hasAttribute("async")&&g.setAttribute("async",
"");g.src=c[f].src;c[f].hasAttribute("defer")&&g.setAttribute("defer","");e.head.appendChild(g).parentNode.removeChild(g)}}else this[0].innerHTML="",this.append(a[0]),b=this[0].ownerDocument||document,"SCRIPT"===a[0].tagName&&(c=b.createElement("script"),c.innerHTML=a[0].innerHTML,b.head.appendChild(c).parentNode.removeChild(c));return this},text:function(a){if(a)for(var b=0;b<this.length;b++)this[b].textContent=a;else return this.length?this[0].textContent:""},after:function(a){if(a)if("string"==
typeof a)for(var b=0;b<this.length;b++){var c=this[b];if(c.nodeType!=Node.ELEMENT_NODE){var e=c.ownerDocument.createElement("SPAN");F(c).after(e);F(e).after(a).remove()}else c.insertAdjacentHTML("afterend",a)}else if(b=this[0],b.nextSibling)if(a instanceof g)for(c=0;c<a.length;c++)b.nextSibling.parentNode.insertBefore(a[c],b.nextSibling);else b.nextSibling.parentNode.insertBefore(a,b.nextSibling);else F(b.parentNode).append(a);return this},clone:function(a){for(var b=F(),c=0;c<this.length;c++)b.push(this[c].cloneNode(a));
return b},replaceWith:function(a){if("string"===typeof a)for(var b=0;b<this.length;b++)this[b].parentNode&&(this[b].outerHTML=a);else if(a.length)for(b=0;b<this.length;b++)this.replaceWith(a[b]);else this.after(a).remove()},insertBefore:function(a){F(a).before(this[0]);return this},before:function(a){if(a instanceof g){for(var b=0;b<a.length;b++)this.before(a[b]);return this}if(a)if("string"==typeof a)for(b=0;b<this.length;b++){var c=this[b];if(c.nodeType!=Node.ELEMENT_NODE){var e=c.ownerDocument.createElement("SPAN");
F(c).before(e);F(e).before(a).remove()}else c.parentNode&&c.insertAdjacentHTML("beforebegin",a)}else if(b=this[0],b.parentNode)if(a instanceof g)for(c=0;c<a.length;c++)b.parentNode.insertBefore(a[c],b);else b.parentNode.insertBefore(a,b);return this},append:function(a){if(0==this.length)return this;if("string"==typeof a)for(var b=0;b<this.length;b++){var c=this[b],e=c.ownerDocument.createElement("SPAN");F(c).append(e);F(e).after(a).remove()}else if(a instanceof g||Array.isArray(a))for(b=0;b<a.length;b++)this.append(a[b]);
else"function"!==typeof a&&this[0].appendChild(a);return this},prepend:function(a){if(0==this.length)return this;if("string"==typeof a)for(var b=0;b<this.length;b++){var c=this[b],e=c.ownerDocument.createElement("SPAN");F(c).prepend(e);F(e).before(a).remove()}else if(a instanceof g)for(b=0;b<a.length;b++)this.prepend(a[b]);else b=this[0],b.firstChild?b.firstChild?b.insertBefore(a,b.firstChild):b.appendChild(a):F(b).append(a);return this},remove:function(){for(var a=0;a<this.length;a++)this[a].parentNode&&
this[a].parentNode.removeChild(this[a]);return this},prev:function(){return this.length&&this[0].previousElementSibling?F(this[0].previousElementSibling):F()},next:function(){return this.length&&this[0].nextElementSibling?F(this[0].nextElementSibling):F()},nextAllVisible:function(){return this.next()},prevAllVisible:function(){return this.prev()},outerHeight:function(a){if(0!==this.length){var b=this[0];if(b===b.window)return b.innerHeight;var c={},e=this.isVisible();if(!e)for(var f in n)c[f]=b.style[f],
b.style[f]=n[f];f=b.offsetHeight;a&&(f+=parseInt(F(b).css("marginTop"))+parseInt(F(b).css("marginBottom")));if(!e)for(var g in n)b.style[g]=c[g];return f}},outerWidth:function(a){if(0!==this.length){var b=this[0];if(b===b.window)return b.outerWidth;var c={},e=this.isVisible();if(!e)for(var f in n)c[f]=b.style[f],b.style[f]=n[f];f=b.offsetWidth;a&&(f+=parseInt(F(b).css("marginLeft"))+parseInt(F(b).css("marginRight")));if(!e)for(var g in n)b.style[g]=c[g];return f}},width:function(a){if(void 0===a){if(this[0]instanceof
HTMLDocument)return this[0].body.offsetWidth;if(this[0])return this[0].offsetWidth}else this[0].style.width=a+"px"},height:function(a){var b=this[0];if(void 0===a)return b instanceof HTMLDocument?(a=b.documentElement,Math.max(b.body.scrollHeight,a.scrollHeight,b.body.offsetHeight,a.offsetHeight,a.clientHeight)):b.offsetHeight;b.style.height=a+"px"},is:function(a){return 0===this.length?!1:"string"==typeof a&&this[0].matches?this[0].matches(a):a instanceof g?this[0]==a[0]:this[0]==a},parent:function(){return 0===
this.length?F():F(this[0].parentNode)},_matches:function(a,c){var b=a.matches||a.matchesSelector||a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.oMatchesSelector;return a&&!c?b:b.call(a,c)},parents:function(a){for(var b=F(),c=0;c<this.length;c++)for(var e=this[c].parentNode;e&&e!=document&&this._matches(e);)a?this._matches(e,a)&&b.push(e):b.push(e),e=e.parentNode;return b},parentsUntil:function(a,c){var b=F();a instanceof g&&0<a.length&&(a=a[0]);for(var d=0;d<this.length;d++)for(var f=
this[d].parentNode;f&&f!=document&&f!=a&&this[d]!=a&&("string"!=typeof a||!Element.prototype.matches.call(f,a));)c?Element.prototype.matches.call(f,c)&&b.push(f):b.push(f),f=f.parentNode;return b},insertAfter:function(a){var b=a.parent()[0];b&&b.insertBefore(this[0],a[0].nextElementSibling)},filter:function(a){var b=F();if("function"===typeof a)for(var c=0;c<this.length;c++)a.call(this[c],this[c])&&b.push(this[c]);else if("string"===typeof a)for(c=0;c<this.length;c++)this[c].matches(a)&&b.push(this[c]);
return b},offset:function(){if(0!==this.length){var a=this[0].getBoundingClientRect(),c=this[0].ownerDocument.defaultView;return{top:a.top+c.pageYOffset,left:a.left+c.pageXOffset}}},position:function(){return{left:this[0].offsetLeft,top:this[0].offsetTop}},push:[].push,splice:[].splice};g.extend=function(a){a=a||{};for(var b=1;b<arguments.length;b++)if(arguments[b])for(var c in arguments[b])Object.prototype.hasOwnProperty.call(arguments[b],c)&&(a[c]=arguments[b][c]);return a};g.merge=function(a,c){for(var b=
+c.length,d=0,f=a.length;d<b;d++)a[f++]=c[d];a.length=f;return a};g.map=function(a,c,e){var b,d=0,g=[];if(Array.isArray(a))for(b=a.length;d<b;d++){var h=c(a[d],d,e);null!=h&&g.push(h)}else for(d in a)h=c(a[d],d,e),null!=h&&g.push(h);return[].concat.apply([],g)};var ra=function(a,c){if(!a)return this;if("string"==typeof a&&"<"===a[0])return c=document.createElement("DIV"),c.innerHTML=a,F(c.firstElementChild);c=c instanceof g?c[0]:c;if("string"==typeof a){a=z(a);a=(c||document).querySelectorAll(a);
for(c=0;c<a.length;c++)this[c]=a[c];this.length=a.length;return this}return a instanceof g?a:(this[0]=a,this.length=1,this)};ra.prototype=g.prototype;var Z=a;Z.Bootstrap=function(a,c,h){this.id=++Z.ID;this.$=g;var b={};"function"==typeof c&&(h=c,c={});h&&(c.events||(c.events={}),c.events.initialized=h);c&&c.documentReady&&(b.toolbarButtons=[["fullscreen","undo","redo","getPDF","print"],"bold italic underline textColor backgroundColor clearFormatting".split(" "),["alignLeft","alignCenter","alignRight",
"alignJustify"],["formatOL","formatUL","indent","outdent"],["paragraphFormat"],["fontFamily"],["fontSize"],["insertLink","insertImage","quote"]],b.paragraphFormatSelection=!0,b.fontFamilySelection=!0,b.fontSizeSelection=!0,b.placeholderText="",b.quickInsertEnabled=!1,b.charCounterCount=!1);this.opts=Object.assign({},Object.assign({},Z.DEFAULTS,b,"object"===e(c)&&c));c=JSON.stringify(this.opts);Z.OPTS_MAPPING[c]=Z.OPTS_MAPPING[c]||this.id;this.sid=Z.OPTS_MAPPING[c];Z.SHARED[this.sid]=Z.SHARED[this.sid]||
{};this.shared=Z.SHARED[this.sid];this.shared.count=(this.shared.count||0)+1;this.$oel=g(a);this.$oel.data("froala.editor",this);this.o_doc=a.ownerDocument;this.o_win="defaultView"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow;this.c_scroll=g(this.o_win).scrollTop();this._init()};Z.Bootstrap.prototype._init=function(){var a=this.$oel.get(0).tagName;1<=this.$oel.closest("label").length&&console.warn("Note! It is not recommended to initialize the Froala Editor within a label tag.");var c=
function(){"TEXTAREA"!==a&&(this._original_html=this._original_html||this.$oel.html());this.$box=this.$box||this.$oel;this.opts.fullPage&&(this.opts.iframe=!0);this.opts.iframe?(this.$iframe=g('<iframe src="about:blank" frameBorder="0">'),this.$wp=g("<div></div>"),this.$box.html(this.$wp),this.$wp.append(this.$iframe),this.$iframe.get(0).contentWindow.document.open(),this.$iframe.get(0).contentWindow.document.write("<!DOCTYPE html>"),this.$iframe.get(0).contentWindow.document.write("<html><head></head><body></body></html>"),
this.$iframe.get(0).contentWindow.document.close(),this.iframe_document=this.$iframe.get(0).contentWindow.document,this.$el=g(this.iframe_document.querySelector("body")),this.el=this.$el.get(0),this.$head=g(this.iframe_document.querySelector("head")),this.$html=g(this.iframe_document.querySelector("html"))):(this.$el=g(this.o_doc.createElement("DIV")),this.el=this.$el.get(0),this.$wp=g(this.o_doc.createElement("DIV")).append(this.$el),this.$box.html(this.$wp));setTimeout(k.bind(this),0)}.bind(this),
e=function(){this.$box=g("<div>");this.$oel.before(this.$box).hide();this._original_html=this.$oel.val();var a=this;this.$oel.parents("form").on("submit.".concat(this.id),function(){a.events.trigger("form.submit")});this.$oel.parents("form").on("reset.".concat(this.id),function(){a.events.trigger("form.reset")});c()}.bind(this),n=function(){this.$el=this.$oel;this.el=this.$el.get(0);this.$el.attr("contenteditable",!0).css("outline","none").css("display","inline-block");this.opts.multiLine=!1;this.opts.toolbarInline=
!1;setTimeout(k.bind(this),0)}.bind(this),f=function(){this.$el=this.$oel;this.el=this.$el.get(0);this.opts.toolbarInline=!1;setTimeout(k.bind(this),0)}.bind(this),m=function(){this.$el=this.$oel;this.el=this.$el.get(0);this.opts.toolbarInline=!1;this.$oel.on("click.popup",function(a){a.preventDefault()});setTimeout(k.bind(this),0)}.bind(this);this.opts.editInPopup?m():"TEXTAREA"===a?e():"A"===a?n():"IMG"===a?f():"BUTTON"===a||"INPUT"===a?(this.opts.editInPopup=!0,this.opts.toolbarInline=!1,m()):
c()};Z.Bootstrap.prototype.load=function(a){for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b)&&!this[b]&&!(Z.PLUGINS[b]&&0>this.opts.pluginsEnabled.indexOf(b))&&(this[b]=new a[b](this),this[b]._init&&(this[b]._init(),this.opts.initOnClick&&"core"===b)))return!1};Z.Bootstrap.prototype.destroy=function(){this.destrying=!0;this.shared.count--;this.events&&this.events.$off();var a=this.html&&this.html.get();this.opts.iframe&&(this.events.disableBlur(),this.win.focus(),this.events.enableBlur());
this.events&&(this.events.trigger("destroy",[],!0),this.events.trigger("shared.destroy",[],!0));if(0===this.shared.count){for(var c in this.shared)Object.prototype.hasOwnProperty.call(this.shared,c)&&(this.shared[c]=null,Z.SHARED[this.sid][c]=null);delete Z.SHARED[this.sid]}this.$oel.parents("form").off(".".concat(this.id));this.$oel.off("click.popup");this.$oel.removeData("froala.editor");this.$oel.off("froalaEditor");this.core&&this.core.destroy(a);Z.INSTANCES.splice(Z.INSTANCES.indexOf(this),1)};
return a});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;e.PLUGINS.align=function(a){var c=a.$;return{apply:function(e){var k=a.selection.element();if(c(k).parents(".fr-img-caption").length)c(k).css("text-align",e);else{a.selection.save();a.html.wrap(!0,!0,!0,!0);a.selection.restore();k=a.selection.blocks();for(var V=
0;V<k.length;V++)c(k[V]).css("text-align",e).removeClass("fr-temp-div"),""===c(k[V]).attr("class")&&c(k[V]).removeAttr("class"),""===c(k[V]).attr("style")&&c(k[V]).removeAttr("style");a.selection.save();a.html.unwrap();a.selection.restore()}},refresh:function(e){var k=a.selection.blocks();k.length&&(k=a.helpers.getAlignment(c(k[0])),e.find("> *").first().replaceWith(a.icon.create("align-".concat(k))))},refreshOnShow:function(e,K){e=a.selection.blocks();e.length&&(e=a.helpers.getAlignment(c(e[0])),
K.find('a.fr-command[data-param1="'.concat(e,'"]')).addClass("fr-active").attr("aria-selected",!0))},refreshForToolbar:function(e){var k=a.selection.blocks();k.length&&(k=a.helpers.getAlignment(c(k[0])),k=k.charAt(0).toUpperCase()+k.slice(1),"align".concat(k)===e.attr("data-cmd")&&e.addClass("fr-active"))}}};e.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"});
e.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"});e.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"});e.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.align.options,k;for(k in c)c.hasOwnProperty(k)&&(a+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="align"data-param1="\n '.concat(k,
'" title="').concat(this.language.translate(c[k]),'">').concat(this.icon.create("align-".concat(k)),'<span class="fr-sr-only">\n ').concat(this.language.translate(c[k]),"</span></a></li>"));return a+"</ul>"},callback:function(a,c){this.align.apply(c)},refresh:function(a){this.align.refresh(a)},refreshOnShow:function(a,c){this.align.refreshOnShow(a,c)},plugin:"align"});e.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},
refresh:function(a){this.align.refreshForToolbar(a)},plugin:"align"});e.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(a){this.align.refreshForToolbar(a)},plugin:"align"});e.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(a){this.align.refreshForToolbar(a)},plugin:"align"});e.RegisterCommand("alignJustify",
{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(a){this.align.refreshForToolbar(a)},plugin:"align"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"});Object.assign(e.DEFAULTS,{colorsText:"#61BD6D #1ABC9C #54ACD2 #2C82C9 #9365B8 #475577 #CCCCCC #41A85F #00A885 #3D8EB9 #2969B0 #553982 #28324E #000000 #F7DA64 #FBA026 #EB6B56 #E25041 #A38F84 #EFEFEF #FFFFFF #FAC51C #F37934 #D14841 #B8312F #7C706B #D1D5D8 REMOVE".split(" "),
colorsBackground:"#61BD6D #1ABC9C #54ACD2 #2C82C9 #9365B8 #475577 #CCCCCC #41A85F #00A885 #3D8EB9 #2969B0 #553982 #28324E #000000 #F7DA64 #FBA026 #EB6B56 #E25041 #A38F84 #EFEFEF #FFFFFF #FAC51C #F37934 #D14841 #B8312F #7C706B #D1D5D8 REMOVE".split(" "),colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]});e.PLUGINS.colors=function(a){function c(c){for(var e="text"===c?a.opts.colorsText:a.opts.colorsBackground,k='<div class="fr-color-set fr-'.concat(c,'-color fr-selected-set">'),n=
0;n<e.length;n++)0!==n&&0===n%a.opts.colorsStep&&(k+="<br>"),k="REMOVE"!==e[n]?k+'<span class="fr-command fr-select-color" style="background:'.concat(e[n],';" \n tabIndex="-1" aria-selected="false" role="button" data-cmd="apply').concat(c,'Color" \n data-param1="').concat(e[n],'"><span class="fr-sr-only"> ').concat(a.language.translate("Color")).concat(e[n]," \n </span></span>"):k+'<span class="fr-command fr-select-color" data-cmd="apply'.concat(c,'Color"\n tabIndex="-1" role="button" data-param1="REMOVE" \n title="').concat(a.language.translate("Clear Formatting"),
'">').concat(a.icon.create("remove"),' \n <span class="fr-sr-only"> ').concat(a.language.translate("Clear Formatting")," </span></span>");return"".concat(k,"</div>")}function k(c,k){a.events.on("popup.tab",function(n){var w=v(n.currentTarget);if(!a.popups.isVisible(k)||!w.is("span"))return!0;var r=n.which,g=!0;if(e.KEYCODE.TAB===r)r=c.find(".fr-buttons"),g=!a.accessibility.focusToolbar(r,n.shiftKey?!0:!1);else if(e.KEYCODE.ARROW_UP===r||e.KEYCODE.ARROW_DOWN===r||e.KEYCODE.ARROW_LEFT===r||e.KEYCODE.ARROW_RIGHT===
r){if(w.is("span.fr-select-color")){g=w.parent().find("span.fr-select-color");var z=g.index(w);w=a.opts.colorsStep;z=Math.floor(z/w)*w+z%w;var H=Math.floor(g.length/w)*w;e.KEYCODE.ARROW_UP===r?z=((z-w)%H+H)%H:e.KEYCODE.ARROW_DOWN===r?z=(z+w)%H:e.KEYCODE.ARROW_LEFT===r?z=((z-1)%H+H)%H:e.KEYCODE.ARROW_RIGHT===r&&(z=(z+1)%H);r=v(g.get(z));a.events.disableBlur();r.focus();g=!1}}else e.KEYCODE.ENTER===r&&(a.button.exec(w),g=!1);!1===g&&(n.preventDefault(),n.stopPropagation());return g},!0)}function K(c){var e=
a.popups.get("".concat(c,"Color.picker")),k=v(a.selection.element());var n="background"===c?"background-color":"color";var r=e.find(".fr-".concat(c,"-color .fr-select-color"));r.find(".fr-selected-color").remove();r.removeClass("fr-active-item");for(r.not('[data-param1="REMOVE"]').attr("aria-selected",!1);k.get(0)!==a.el;)if("transparent"===k.css(n)||"rgba(0, 0, 0, 0)"===k.css(n))k=k.parent();else{e=e.find(".fr-".concat(c,'-color .fr-select-color[data-param1="').concat(a.helpers.RGBToHex(k.css(n)),
'"]'));e.append('<span class="fr-selected-color" aria-hidden="true">\uf00c</span>');e.addClass("fr-active-item").attr("aria-selected",!0);break}e=a.popups.get("".concat(c,"Color.picker"));c=e.find(".fr-".concat(c,"-color .fr-active-item")).attr("data-param1");e=e.find(".fr-color-hex-layer input");c||(c="");e.length&&v(e.val(c).input).trigger("change")}function V(c){"REMOVE"!==c?a.format.applyStyle("background-color",a.helpers.HEXtoRGB(c)):a.format.removeStyle("background-color");a.popups.hide("backgroundColor.picker")}
function L(c){"REMOVE"!==c?a.format.applyStyle("color",a.helpers.HEXtoRGB(c)):a.format.removeStyle("color");a.popups.hide("textColor.picker")}var v=a.$,r='<div class="fr-color-hex-layer fr-active fr-layer" id="fr-color-hex-layer- \n '.concat(a.id,'"><div class="fr-input-line"><input maxlength="7" id="[ID]"\n type="text" placeholder="').concat(a.language.translate("HEX Color"),'" \n tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button \n type="button" class="fr-command fr-submit" data-cmd="[COMMAND]" tabIndex="2" role="button">\n ').concat(a.language.translate("OK"),
"</button></div></div>");return{showColorsPopup:function(e){var n=a.$tb.find('.fr-command[data-cmd="'.concat(e,'"]')),v=a.popups.get("".concat(e,".picker"));if(!v){v="";a.opts.toolbarInline&&0<a.opts.colorsButtons.length&&(v+='<div class="fr-buttons fr-colors-buttons fr-tabs">\n '.concat(a.button.buildList(a.opts.colorsButtons),"\n </div>"));var L="";"textColor"===e?(a.opts.colorsHEXInput&&(L=r.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(a.id)).replace(/\[COMMAND\]/g,"customTextColor")),
v={buttons:v,text_colors:c("text"),custom_color:L}):(a.opts.colorsHEXInput&&(L=r.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(a.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),v={buttons:v,background_colors:c("background"),custom_color:L});v=a.popups.create("".concat(e,".picker"),v);k(v,"".concat(e,".picker"))}v.hasClass("fr-active")||(a.popups.setContainer("".concat(e,".picker"),a.$tb),"textColor"===e?K("text"):K("background"),n.isVisible()?(L=a.button.getPosition(n),v=L.left,
L=L.top,a.popups.show("".concat(e,".picker"),v,L,n.outerHeight())):(a.position.forSelection(v),a.popups.show("".concat(e,".picker"))))},background:V,customColor:function(c){var e=a.popups.get("".concat(c,"Color.picker")).find(".fr-color-hex-layer input");e.length&&(e=e.val(),"background"===c?V(e):L(e))},text:L,back:function(){a.popups.hide("textColor.picker");a.popups.hide("backgroundColor.picker");a.toolbar.showInline()}}};e.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"});e.RegisterCommand("textColor",
{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}});e.RegisterCommand("applytextColor",{undo:!0,callback:function(a,c){this.colors.text(c)}});e.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}});
e.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"});e.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}});e.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(a,
c){this.colors.background(c)}});e.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}});e.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"});e.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}});e.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.DEFAULTS,{dragInline:!0});e.PLUGINS.draggable=function(a){function c(c){if(c.originalEvent&&c.originalEvent.target&&c.originalEvent.target.nodeType===Node.TEXT_NODE)return!0;c.target&&"A"===c.target.tagName&&1===c.target.childNodes.length&&
"IMG"===c.target.childNodes[0].tagName&&(c.target=c.target.childNodes[0]);if(!M(c.target).hasClass("fr-draggable"))return c.preventDefault(),!1;a.undo.canDo()||a.undo.saveStep();a.opts.dragInline?a.$el.attr("contenteditable",!0):a.$el.attr("contenteditable",!1);a.opts.toolbarInline&&a.toolbar.hide();M(c.target).addClass("fr-dragging");a.browser.msie||a.browser.edge||a.selection.clear();c.originalEvent.dataTransfer.setData("text","Froala")}function k(c,e,k){if(a.opts.iframe){var g=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-top")),
n=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-left"));c+=a.$iframe.offset().top+g;e+=a.$iframe.offset().left+n}D.offset().top!==c&&D.css("top",c);D.offset().left!==e&&D.css("left",e);D.width()!==k&&D.css("width",k)}function K(c){var g=a.doc.elementFromPoint(c.originalEvent.pageX-a.win.pageXOffset,c.originalEvent.pageY-a.win.pageYOffset);if(!R(g)){for(var n=0,r=g;!R(r)&&r===g&&0<c.originalEvent.pageY-a.win.pageYOffset-n;)n++,r=a.doc.elementFromPoint(c.originalEvent.pageX-a.win.pageXOffset,
c.originalEvent.pageY-a.win.pageYOffset-n);if(!R(r)||D&&0===a.$el.find(r).length&&r!==D.get(0))r=null;for(var w=0,v=g;!R(v)&&v===g&&c.originalEvent.pageY-a.win.pageYOffset+w<M(a.doc).height();)w++,v=a.doc.elementFromPoint(c.originalEvent.pageX-a.win.pageXOffset,c.originalEvent.pageY-a.win.pageYOffset+w);if(!R(v)||D&&0===a.$el.find(v).length&&v!==D.get(0))v=null;g=null===v&&r?r:v&&null===r?v:v&&r?n<w?r:v:null}if(M(g).hasClass("fr-drag-helper"))return!1;g&&!a.node.isBlock(g)&&(g=a.node.blockParent(g));
g&&0<=["TD","TH","TR","THEAD","TBODY"].indexOf(g.tagName)&&(g=M(g).parents("table").get(0));g&&0<=["LI"].indexOf(g.tagName)&&(g=M(g).parents("UL, OL").get(0));g&&!M(g).hasClass("fr-drag-helper")?(D||(e.$draggable_helper||(e.$draggable_helper=M(document.createElement("div")).attr("class","fr-drag-helper")),D=e.$draggable_helper,a.events.on("shared.destroy",function(){D.html("").removeData().remove();D=null},!0)),c=c.originalEvent.pageY<M(g).offset().top+M(g).outerHeight()/2?!0:!1,n=M(g),r=0,c||0!==
n.next().length?(c||(n=n.next()),"before"===D.data("fr-position")&&n.is(D.data("fr-tag"))||(0<n.prev().length&&(r=parseFloat(n.prev().css("margin-bottom"))||0),r=Math.max(r,parseFloat(n.css("margin-top"))||0),k(n.offset().top-r/2-a.$box.offset().top,n.offset().left-a.win.pageXOffset-a.$box.offset().left,n.width()),D.data("fr-position","before"))):"after"===D.data("fr-position")&&n.is(D.data("fr-tag"))||(r=parseFloat(n.css("margin-bottom"))||0,k(n.offset().top+M(g).height()+r/2-a.$box.offset().top,
n.offset().left-a.win.pageXOffset-a.$box.offset().left,n.width()),D.data("fr-position","after")),D.data("fr-tag",n),D.addClass("fr-visible"),a.$box.append(D)):D&&0<a.$box.find(D).length&&D.removeClass("fr-visible")}function V(c){c.originalEvent.dataTransfer.dropEffect=v(c);if(a.opts.dragInline){a:{for(var g=0;g<e.INSTANCES.length;g++){var k=e.INSTANCES[g].$el.find(".fr-dragging");if(k.length){k=k.get(0);break a}}k=void 0}(!k||a.browser.msie||a.browser.edge)&&c.preventDefault()}else c.preventDefault(),
K(c)}function L(c){c.originalEvent.dataTransfer.dropEffect=v(c);a.opts.dragInline||c.preventDefault()}function v(c){c=c.originalEvent.dataTransfer;return!c.types||1!=c.types.length||"Files"!=c.types[0]||(c=a.opts,c.fileUpload||c.imageUpload)?"move":"none"}function r(c){a.$el.attr("contenteditable",!0);var e=a.$el.find(".fr-dragging");D&&D.hasClass("fr-visible")&&a.$box.find(D).length?n(c):e.length&&(c.preventDefault(),c.stopPropagation());D&&a.$box.find(D).length&&D.removeClass("fr-visible");e.removeClass("fr-dragging")}
function n(c){a.$el.attr("contenteditable",!0);for(var g,k,n=0;n<e.INSTANCES.length;n++)if(g=e.INSTANCES[n].$el.find(".fr-dragging"),g.length){k=e.INSTANCES[n];break}if(g.length){c.preventDefault();c.stopPropagation();if(D&&D.hasClass("fr-visible")&&a.$box.find(D).length)D.data("fr-tag")[D.data("fr-position")]('<span class="fr-marker"></span>'),D.removeClass("fr-visible");else if(!1===a.markers.insertAtPoint(c.originalEvent))return!1;g.removeClass("fr-dragging");g=a.events.chainTrigger("element.beforeDrop",
g);if(!1===g)return!1;c=g;g.parent().is("A")&&1===g.parent().get(0).childNodes.length&&(c=g.parent());a.core.isEmpty()?a.events.focus():(a.$el.find(".fr-marker").replaceWith(e.MARKERS),a.selection.restore());k===a||a.undo.canDo()||a.undo.saveStep();a.core.isEmpty()?a.$el.html(c):(n=a.markers.insert(),0===c.find(n).length?M(n).replaceWith(c):0===g.find(n).length&&M(n).replaceWith(g),g.after(e.MARKERS),a.selection.restore());a.popups.hideAll();a.selection.save();a.$el.find(a.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(a.opts.htmlAllowedEmptyTags.join(",")).remove();
a.html.wrap();a.html.fillEmptyBlocks();a.selection.restore();a.undo.saveStep();a.opts.iframe&&a.size.syncIframe();k!==a&&(k.popups.hideAll(),k.$el.find(k.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),k.html.wrap(),k.html.fillEmptyBlocks(),k.undo.saveStep(),k.events.trigger("element.dropped"),k.opts.iframe&&k.size.syncIframe());a.events.trigger("element.dropped",[c]);return!1}D&&D.removeClass("fr-visible");a.undo.canDo()||a.undo.saveStep();setTimeout(function(){a.undo.saveStep()},
0)}function w(c){if(c&&"DIV"===c.tagName&&a.node.hasClass(c,"fr-drag-helper"))c.parentNode.removeChild(c);else if(c&&c.nodeType===Node.ELEMENT_NODE){c=c.querySelectorAll("div.fr-drag-helper");for(var e=0;e<c.length;e++)c[e].parentNode.removeChild(c[e])}}var M=a.$,R=function(c){return!(c&&("HTML"===c.tagName||"BODY"===c.tagName||a.node.isElement(c)))},D;return{_init:function(){a.opts.enter===e.ENTER_BR&&(a.opts.dragInline=!0);a.events.on("dragstart",c,!0);a.events.on("dragover",V,!0);a.events.on("dragenter",
L,!0);a.events.on("document.dragend",r,!0);a.events.on("document.drop",r,!0);a.events.on("drop",n,!0);a.events.on("html.processGet",w)}}}});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.POPUP_TEMPLATES,{"file.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_PROGRESS_BAR_]"});Object.assign(e.DEFAULTS,{fileUpload:!0,fileUploadURL:null,fileUploadParam:"file",fileUploadParams:{},fileUploadToS3:!1,fileUploadToAzure:!1,fileUploadMethod:"POST",
fileMaxSize:10485760,fileAllowedTypes:["*"],fileInsertButtons:["fileBack","|"],fileUseSelectedText:!1});e.PLUGINS.file=function(a){function c(){var b=a.popups.get("file.insert");b||(b=z());b.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive");b.find(".fr-file-progress-bar-layer").addClass("fr-active");b.find(".fr-buttons").hide();K(a.language.translate("Uploading"),0)}function k(b){var c=a.popups.get("file.insert");c&&(c.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),
c.find(".fr-file-progress-bar-layer").removeClass("fr-active"),c.find(".fr-buttons").show(),b&&(a.events.focus(),a.popups.hide("file.insert")))}function K(b,c){var d=a.popups.get("file.insert");d&&(d=d.find(".fr-file-progress-bar-layer"),d.find("h3").text(b+(c?" ".concat(c,"%"):"")),d.removeClass("fr-error"),c?(d.find("div").removeClass("fr-indeterminate"),d.find("div > span").css("width","".concat(c,"%"))):d.find("div").addClass("fr-indeterminate"))}function V(b,c,d){a.edit.on();a.events.focus(!0);
a.selection.restore();a.opts.fileUseSelectedText&&a.selection.text().length&&(c=a.selection.text());a.html.insert('<a href="'.concat(b,'" target="_blank" id="fr-inserted-file" class="fr-file">').concat(c,"</a>"));b=a.$el.find("#fr-inserted-file");b.removeAttr("id");a.popups.hide("file.insert");a.undo.saveStep();Z();a.events.trigger("file.inserted",[b,d])}function L(b){try{if(!1===a.events.trigger("file.uploaded",[b],!0))return a.edit.on(),!1;var c=JSON.parse(b);if(c.link)return c;n(2,b);return!1}catch(m){return n(4,
b),!1}}function v(){n(4,this.response||this.responseText||this.responseXML)}function r(b){b.lengthComputable&&(b=b.loaded/b.total*100|0,K(a.language.translate("Uploading"),b))}function n(b,f){a.edit.on();var e=a.language.translate("Something went wrong. Please try again.");c();var g=a.popups.get("file.insert").find(".fr-file-progress-bar-layer");g.addClass("fr-error");g=g.find("h3");g.text(e);a.events.disableBlur();g.focus();a.events.trigger("file.error",[{code:b,message:d[b]},f])}function w(){a.edit.on();
k(!0)}function M(b){var d=new FileReader;d.onload=function(){var c=atob(d.result.split(",")[1]);var f=[];for(var e=0;e<c.length;e++)f.push(c.charCodeAt(e));c=b.type;b.name&&b.name.endsWith(".msg")&&(c="application/vnd.ms-outlook");f=window.URL.createObjectURL(new Blob([new Uint8Array(f)],{type:c}));a.file.insert(f,b.name,null)};c();d.readAsDataURL(b)}function R(d){if("undefined"!==typeof d&&0<d.length){var f=d[0].type;d[0].name&&d[0].name.endsWith(".msg")&&(f="application/vnd.ms-outlook");if(!1===
a.events.trigger("file.beforeUpload",[d]))return!1;var e=d[0];if(!(null!==a.opts.fileUploadURL&&"https://i.froala.com/upload"!==a.opts.fileUploadURL||a.opts.fileUploadToS3||a.opts.fileUploadToAzure))return M(e),!1;if(e.size>a.opts.fileMaxSize)return n(5),!1;if(0>a.opts.fileAllowedTypes.indexOf("*")&&0>a.opts.fileAllowedTypes.indexOf(f.replace(/file\//g,"")))return n(6),!1;var g;a.drag_support.formdata&&(g=a.drag_support.formdata?new FormData:null);if(g){var h;if(!1!==a.opts.fileUploadToS3)for(h in g.append("key",
a.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),g.append("success_action_status","201"),g.append("X-Requested-With","xhr"),g.append("Content-Type",f),a.opts.fileUploadToS3.params)a.opts.fileUploadToS3.params.hasOwnProperty(h)&&g.append(h,a.opts.fileUploadToS3.params[h]);for(h in a.opts.fileUploadParams)a.opts.fileUploadParams.hasOwnProperty(h)&&g.append(h,a.opts.fileUploadParams[h]);g.append(a.opts.fileUploadParam,e);var k=a.opts.fileUploadURL;a.opts.fileUploadToS3&&
(k=a.opts.fileUploadToS3.uploadURL?a.opts.fileUploadToS3.uploadURL:"https://".concat(a.opts.fileUploadToS3.region,".amazonaws.com/").concat(a.opts.fileUploadToS3.bucket));d=a.opts.fileUploadMethod;if(a.opts.fileUploadToAzure){var u=k=a.opts.fileUploadToAzure.uploadURL?"".concat(a.opts.fileUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(a.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(a.opts.fileUploadToAzure.container,"/").concat(e.name));a.opts.fileUploadToAzure.SASToken&&
(k+=a.opts.fileUploadToAzure.SASToken);d="PUT"}var z=a.core.getXHR(k,d);if(a.opts.fileUploadToAzure){k=(new Date).toUTCString();if(!a.opts.fileUploadToAzure.SASToken&&a.opts.fileUploadToAzure.accessKey){var H=a.opts.fileUploadToAzure.account,F=a.opts.fileUploadToAzure.container;a.opts.fileUploadToAzure.uploadURL&&(H=a.opts.fileUploadToAzure.uploadURL.split("/"),F=H.pop(),H=H.pop().split(".")[0]);var D="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(k,"\nx-ms-version:2019-07-07");F=encodeURI("/"+H+"/"+
F+"/"+e.name);var t=d=a.cryptoJSPlugin.cryptoJS.HmacSHA256(d+"\n\n\n"+e.size+"\n\n"+f+"\n\n\n\n\n\n\n"+D+"\n"+F,a.cryptoJSPlugin.cryptoJS.enc.Base64.parse(a.opts.fileUploadToAzure.accessKey)).toString(a.cryptoJSPlugin.cryptoJS.enc.Base64);z.setRequestHeader("Authorization","SharedKey "+H+":"+d)}z.setRequestHeader("x-ms-version","2019-07-07");z.setRequestHeader("x-ms-date",k);z.setRequestHeader("Content-Type",f);z.setRequestHeader("x-ms-blob-type","BlockBlob");for(h in a.opts.fileUploadParams)a.opts.fileUploadParams.hasOwnProperty(h)&&
z.setRequestHeader(h,a.opts.fileUploadParams[h]);for(h in a.opts.fileUploadToAzure.params)a.opts.fileUploadToAzure.params.hasOwnProperty(h)&&z.setRequestHeader(h,a.opts.fileUploadToAzure.params[h])}z.onload=function(){a:{var c=e.name,d=u,f=z.status,g=z.response,h=z.responseXML,k=z.responseText;try{if(a.opts.fileUploadToS3||a.opts.fileUploadToAzure)if(201===f){if(a.opts.fileUploadToAzure){if(!1===a.events.trigger("file.uploadedToAzure",[z.responseURL,t,g],!0)){a.edit.on();break a}var l=d}else try{var m=
b(h).find("Location").text(),r=b(h).find("Key").text();!1===a.events.trigger("file.uploadedToS3",[m,r,h],!0)?(a.edit.on(),l=!1):l=m}catch(E){n(4,h),l=!1}l&&V(l,c,g||h)}else n(4,g||h);else if(200<=f&&300>f){var v=L(k);v&&V(v.link,c,g||k)}else n(3,g||k)}catch(E){n(4,g||k)}}};z.onerror=v;z.upload.onprogress=r;z.onabort=w;c();if(f=a.popups.get("file.insert"))f.off("abortUpload"),f.on("abortUpload",function(){4!==z.readyState&&z.abort()});z.send(a.opts.fileUploadToAzure?e:g)}}}function D(c){a.events.$on(c,
"dragover dragenter",".fr-file-upload-layer",function(){b(this).addClass("fr-drop");return!1},!0);a.events.$on(c,"dragleave dragend",".fr-file-upload-layer",function(){b(this).removeClass("fr-drop");return!1},!0);a.events.$on(c,"drop",".fr-file-upload-layer",function(d){d.preventDefault();d.stopPropagation();b(this).removeClass("fr-drop");(d=d.originalEvent.dataTransfer)&&d.files&&(c.data("instance")||a).file.upload(d.files)},!0);a.helpers.isIOS()&&a.events.$on(c,"touchstart",'.fr-file-upload-layer input[type="file"]',
function(){b(this).trigger("click")});a.events.$on(c,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var d=c.data("instance")||a;d.events.disableBlur();c.find("input:focus").blur();d.events.enableBlur();d.file.upload(this.files)}b(this).val("")},!0)}function g(){k()}function z(b){if(b)return a.popups.onHide("file.insert",g),!0;a.opts.fileUpload||a.opts.fileInsertButtons.splice(a.opts.fileInsertButtons.indexOf("fileUpload"),1);b='<div class="fr-buttons fr-tabs">'.concat(a.button.buildList(a.opts.fileInsertButtons),
"</div>");var c="";a.opts.fileUpload&&(c='<div class="fr-file-upload-layer fr-layer fr-active" id="fr-file-upload-layer-'.concat(a.id,'"><strong>').concat(a.language.translate("Drop file"),"</strong><br>(").concat(a.language.translate("or click"),')<div class="fr-form"><input type="file" name="').concat(a.opts.fileUploadParam,'" accept="').concat(0<=a.opts.fileAllowedTypes.indexOf("*")?"/":"").concat(a.opts.fileAllowedTypes.join(", ").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-file-upload-layer-').concat(a.id,
'" role="button"></div></div>'));b=a.popups.create("file.insert",{buttons:b,upload_layer:c,progress_bar:'<div class="fr-file-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="fileDismissError" tabIndex="2" role="button">OK</button></div></div>'});D(b);return b}function H(b){a.node.hasClass(b,"fr-file")}function F(b){var d=
b.originalEvent.dataTransfer;if(d&&d.files&&d.files.length){var g=d.files[0];if(g&&"undefined"!==typeof g.type){if(0>g.type.indexOf("image")){if(!a.opts.fileUpload)return b.preventDefault(),b.stopPropagation(),!1;a.markers.remove();a.markers.insertAtPoint(b.originalEvent);a.$el.find(".fr-marker").replaceWith(e.MARKERS);a.popups.hideAll();a.popups.get("file.insert")||z();a.popups.setContainer("file.insert",a.$sc);a.popups.show("file.insert",b.originalEvent.pageX,b.originalEvent.pageY);c();R(d.files);
b.preventDefault();b.stopPropagation();return!1}}else 0>g.type.indexOf("image")&&(b.preventDefault(),b.stopPropagation())}}function ra(){a.events.on("drop",F);a.events.$on(a.$win,"keydown",function(b){b=b.which;var c=a.popups.get("file.insert");c&&b===e.KEYCODE.ESC&&c.trigger("abortUpload")});a.events.on("destroy",function(){var b=a.popups.get("file.insert");b&&b.trigger("abortUpload")})}function Z(){var b=Array.prototype.slice.call(a.el.querySelectorAll("a.fr-file")),c=[],d;for(d=0;d<b.length;d++)c.push(b[d].getAttribute("href"));
if(h)for(d=0;d<h.length;d++)0>c.indexOf(h[d].getAttribute("href"))&&a.events.trigger("file.unlink",[h[d]]);h=b}var b=a.$,d={1:"File cannot be loaded from the passed link.",2:"No link in upload response.",3:"Error during file upload.",4:"Parsing response failed.",5:"File is too large.",6:"File file type is invalid.",7:"Files can be uploaded only to same domain in IE 8 and IE 9."},h;return{_init:function(){ra();a.events.on("link.beforeRemove",H);a.$wp&&(Z(),a.events.on("contentChanged",Z));z(!0)},showInsertPopup:function(){var b=
a.$tb.find('.fr-command[data-cmd="insertFile"]'),c=a.popups.get("file.insert");c||(c=z());k();c.hasClass("fr-active")||(a.popups.refresh("file.insert"),a.popups.setContainer("file.insert",a.$tb),b.isVisible?(c=a.button.getPosition(b),a.popups.show("file.insert",c.left,c.top,b.outerHeight())):(a.position.forSelection(c),a.popups.show("file.insert")))},upload:R,insert:V,back:function(){a.events.disableBlur();a.selection.restore();a.events.enableBlur();a.popups.hide("file.insert");a.toolbar.showInline()},
hideProgressBar:k}};e.DefineIcon("insertFile",{NAME:"file-o",FA5NAME:"file",SVG_KEY:"insertFile"});e.RegisterCommand("insertFile",{title:"Upload File",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("file.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("file.insert")):this.file.showInsertPopup()},plugin:"file"});e.DefineIcon("fileBack",{NAME:"arrow-left",SVG_KEY:"back"});e.RegisterCommand("fileBack",
{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.file.back()},refresh:function(a){this.opts.toolbarInline?(a.removeClass("fr-hidden"),a.next(".fr-separator").removeClass("fr-hidden")):(a.addClass("fr-hidden"),a.next(".fr-separator").addClass("fr-hidden"))}});e.RegisterCommand("fileDismissError",{title:"OK",callback:function(){this.file.hideProgressBar(!0)}})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},
fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"});e.PLUGINS.fontFamily=function(a){function c(a){a=a.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return V(this).grep(a,function(a){return 0<a.length})}function e(a,c){for(var e=0;e<a.length;e++)for(var k=0;k<c.length;k++)if(a[e].toLowerCase()===c[k].toLowerCase())return[e,k];return null}function K(){var k=V(a.selection.element()).css("font-family");k=c(k);var v=[],r;for(r in a.opts.fontFamily)if(a.opts.fontFamily.hasOwnProperty(r)){var n=
c(r);(n=e(k,n))&&v.push([r,n])}if(0===v.length)return null;v.sort(function(a,c){var e=a[1][0]-c[1][0];return 0===e?a[1][1]-c[1][1]:e});return v[0][0]}var V=a.$;return{apply:function(c){a.format.applyStyle("font-family",c)},refreshOnShow:function(a,c){c.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1);c.find('.fr-command[data-param1="'.concat(K(),'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function(c){if(a.opts.fontFamilySelection){var e=V(a.selection.element()).css("font-family").replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,
"").replace(/"|'|/g,"").split(",");c.find("> span").text(a.opts.fontFamily[K()]||e[0]||a.language.translate(a.opts.fontFamilyDefaultSelection))}}}};e.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(a){return a.opts.fontFamilySelection},defaultSelection:function(a){return a.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.fontFamily,e;for(e in c)c.hasOwnProperty(e)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontFamily" data-param1="'.concat(e,
'" \n style="font-family: ').concat(e,'" title="').concat(c[e],'">').concat(c[e],"</a></li>"));return a+"</ul>"},title:"Font Family",callback:function(a,c){this.fontFamily.apply(c)},refresh:function(a){this.fontFamily.refresh(a)},refreshOnShow:function(a,c){this.fontFamily.refreshOnShow(a,c)},plugin:"fontFamily"});e.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.DEFAULTS,{fontSize:"8 9 10 11 12 14 18 24 30 36 48 60 72 96".split(" "),fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"});e.PLUGINS.fontSize=function(a){var c=a.$;return{apply:function(c){a.format.applyStyle("font-size",
c)},refreshOnShow:function(e,K){e=c(a.selection.element()).css("font-size");"pt"===a.opts.fontSizeUnit&&(e="".concat(Math.round(72*parseFloat(e,10)/96),"pt"));K.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1);K.find('.fr-command[data-param1="'.concat(e,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function(e){if(a.opts.fontSizeSelection){var k=a.helpers.getPX(c(a.selection.element()).css("font-size"));"pt"===a.opts.fontSizeUnit&&(k="".concat(Math.round(72*
parseFloat(k,10)/96),"pt"));e.find("> span").text(k)}}}};e.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(a){return a.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(a){return a.opts.fontSizeDefaultSelection},html:function(){for(var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.fontSize,e=0;e<c.length;e++){var K=c[e];a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontSize" data-param1="'.concat(K).concat(this.opts.fontSizeUnit,
'" title="').concat(K,'">').concat(K,"</a></li>")}return a+"</ul>"},callback:function(a,c){this.fontSize.apply(c)},refresh:function(a){this.fontSize.refresh(a)},refreshOnShow:function(a,c){this.fontSize.refreshOnShow(a,c)},plugin:"fontSize"});e.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){function a(c){"@babel/helpers - typeof";a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return a(c)}e=e&&e.hasOwnProperty("default")?e["default"]:
e;Object.assign(e.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"});Object.assign(e.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:"imageReplace imageAlign imageCaption imageRemove imageLink linkOpen linkEdit linkRemove - imageDisplay imageStyle imageAlt imageSize".split(" "),imageAltButtons:["imageBack",
"|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded",
"fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1});e.PLUGINS.image=function(c){function k(){var a=c.popups.get("image.insert").find(".fr-image-by-url-layer input");a.val("");y&&a.val(y.attr("src"));a.trigger("change")}function K(){var a=c.popups.get("image.edit");a||(a=z());if(a){var b=y;c.popups.setContainer("image.edit",c.$sc);c.popups.refresh("image.edit");
var d=b.offset().left+b.outerWidth()/2,f=b&&window.pageYOffset+b.get(0).getBoundingClientRect().top,e=window.pageYOffset+c.$wp.get(0).getBoundingClientRect().top;c.opts.iframe?(a=c.$wp.scrollTop()+a.outerHeight(),a<b.get(0).getBoundingClientRect().top&&(a=b.get(0).getBoundingClientRect().top),a>b.get(0).getBoundingClientRect().top+b.height()&&(a=b.get(0).getBoundingClientRect().top+b.height())):a=f>e?f:f+b.height()<e+c.$wp.height()?f+b.height():e+a.outerHeight();y.hasClass("fr-uploading")?H():c.popups.show("image.edit",
d,a,b.outerHeight(),!0)}}function V(){F()}function L(){for(var a="IMG"==c.el.tagName?[c.el]:c.el.querySelectorAll("img"),b=0;b<a.length;b++){var d=Q(a[b]);if(!c.opts.htmlUntouched&&c.opts.useClasses){if(c.opts.imageDefaultAlign||c.opts.imageDefaultDisplay){var f=d;0<f.parents(".fr-img-caption").length&&(f=f.parents(".fr-img-caption").first());f.hasClass("fr-dii")||f.hasClass("fr-dib")||(f.addClass("fr-fi".concat(O(f)[0])),f.addClass("fr-di".concat(sa(f)[0])),f.css("margin",""),f.css("float",""),f.css("display",
""),f.css("z-index",""),f.css("position",""),f.css("overflow",""),f.css("vertical-align",""))}c.opts.imageTextNear||(0<d.parents(".fr-img-caption").length?d.parents(".fr-img-caption").first().removeClass("fr-dii").addClass("fr-dib"):d.removeClass("fr-dii").addClass("fr-dib"))}else if(!c.opts.htmlUntouched&&!c.opts.useClasses&&(c.opts.imageDefaultAlign||c.opts.imageDefaultDisplay)){f=d;0<f.parents(".fr-img-caption").length&&(f=f.parents(".fr-img-caption").first());var e=f.hasClass("fr-dib")?"block":
f.hasClass("fr-dii")?"inline":null,g=f.hasClass("fr-fil")?"left":f.hasClass("fr-fir")?"right":O(f);ja(f,e,g);f.removeClass("fr-dib fr-dii fr-fir fr-fil")}if(c.opts.iframe)d.on("load",c.size.syncIframe)}}function v(a){"undefined"===typeof a&&(a=!0);var b=Array.prototype.slice.call(c.el.querySelectorAll("img")),d=[],f;for(f=0;f<b.length;f++)if(d.push(b[f].getAttribute("src")),Q(b[f]).toggleClass("fr-draggable",c.opts.imageMove),""===b[f].getAttribute("class")&&b[f].removeAttribute("class"),""===b[f].getAttribute("style")&&
b[f].removeAttribute("style"),b[f].parentNode&&b[f].parentNode.parentNode&&c.node.hasClass(b[f].parentNode.parentNode,"fr-img-caption")){var e=b[f].parentNode.parentNode;c.browser.mozilla||e.setAttribute("contenteditable",!1);e.setAttribute("draggable",!1);e.classList.add("fr-draggable");(e=b[f].nextSibling)&&!c.browser.mozilla&&e.setAttribute("contenteditable",!0)}if(va)for(f=0;f<va.length;f++)0>d.indexOf(va[f].getAttribute("src"))&&c.events.trigger("image.removed",[Q(va[f])]);if(va&&a){a=[];for(f=
0;f<va.length;f++)a.push(va[f].getAttribute("src"));for(f=0;f<b.length;f++)0>a.indexOf(b[f].getAttribute("src"))&&c.events.trigger("image.loaded",[Q(b[f])])}va=b}function r(){ha||X();if(!y)return!1;var a=c.$wp||c.$sc;a.append(ha);ha.data("instance",c);var b=a.scrollTop()-("static"!=a.css("position")?a.offset().top:0),d=a.scrollLeft()-("static"!=a.css("position")?a.offset().left:0);d-=c.helpers.getPX(a.css("border-left-width"));b-=c.helpers.getPX(a.css("border-top-width"));c.$el.is("img")&&c.$sc.is("body")&&
(d=b=0);a=T();fa()&&(a=a.find(".fr-img-wrap"));var f=0,e=0;c.opts.iframe&&(f=c.helpers.getPX(c.$wp.find(".fr-iframe").css("padding-top")),e=c.helpers.getPX(c.$wp.find(".fr-iframe").css("padding-left")));ha.css("top",(c.opts.iframe?a.offset().top+f:a.offset().top+b)-1).css("left",(c.opts.iframe?a.offset().left+e:a.offset().left+d)-1).css("width",a.get(0).getBoundingClientRect().width).css("height",a.get(0).getBoundingClientRect().height).addClass("fr-active")}function n(a){return'<div class="fr-handler fr-h'.concat(a,
'"></div>')}function w(a){fa()?y.parents(".fr-img-caption").css("width",a):y.css("width",a)}function M(a){if(!c.core.sameInstance(ha))return!0;a.preventDefault();a.stopPropagation();if(c.$el.find("img.fr-error").left)return!1;c.undo.canDo()||c.undo.saveStep();var b=a.pageX||a.originalEvent.touches[0].pageX;if("mousedown"==a.type){a=c.$oel.get(0).ownerDocument;a=a.defaultView||a.parentWindow;var d=!1;try{d=a.location!=a.parent.location&&!(a.$&&a.$.FE)}catch(Fa){}d&&a.frameElement&&(b+=c.helpers.getPX(Q(a.frameElement).offset().left)+
a.frameElement.clientLeft)}I=Q(this);I.data("start-x",b);I.data("start-width",y.width());I.data("start-height",y.height());b=y.width();c.opts.imageResizeWithPercent&&(a=y.parentsUntil(c.$el,c.html.blockTagsQuery()).get(0)||c.el,b=(b/Q(a).outerWidth()*100).toFixed(2)+"%");w(b);ma.show();c.popups.hideAll();ya=!1}function R(a){if(!c.core.sameInstance(ha))return!0;if(I&&y){a.preventDefault();if(c.$el.find("img.fr-error").left)return!1;a=a.pageX||(a.originalEvent.touches?a.originalEvent.touches[0].pageX:
null);if(!a)return!1;var b=I.data("start-x");a-=b;b=I.data("start-width");if(I.hasClass("fr-hnw")||I.hasClass("fr-hsw"))a=0-a;if(c.opts.imageResizeWithPercent){var d=y.parentsUntil(c.$el,c.html.blockTagsQuery()).get(0)||c.el;b=((b+a)/Q(d).outerWidth()*100).toFixed(2);c.opts.imageRoundPercent&&(b=Math.round(b));w("".concat(b,"%"));d=fa()?(c.helpers.getPX(y.parents(".fr-img-caption").css("width"))/Q(d).outerWidth()*100).toFixed(2):(c.helpers.getPX(y.css("width"))/Q(d).outerWidth()*100).toFixed(2);d===
b||c.opts.imageRoundPercent||w("".concat(d,"%"));y.css("height","").removeAttr("height")}else if(b+a>=c.opts.imageMinWidth&&(w(b+a),d=fa()?c.helpers.getPX(y.parents(".fr-img-caption").css("width")):c.helpers.getPX(y.css("width"))),d!==b+a&&w(d),(y.attr("style")||"").match(/(^height:)|(; *height:)/)||y.attr("height"))y.css("height",I.data("start-height")*y.width()/I.data("start-width")),y.removeAttr("height");r();c.events.trigger("image.resize",[y])}}function D(a){if(!c.core.sameInstance(ha))return!0;
if(I&&y){a&&a.stopPropagation();if(c.$el.find("img.fr-error").left)return!1;I=null;ma.hide();r();K();c.undo.saveStep();c.events.trigger("image.resizeEnd",[y])}else ha.removeClass("fr-active")}function g(a,b,d){c.edit.on();y&&y.addClass("fr-error");Aa[a]?Z(c.language.translate(Aa[a])):Z(c.language.translate("Something went wrong. Please try again."));!y&&d&&S(d);c.events.trigger("image.error",[{code:a,message:Aa[a]},b,d])}function z(a){return a?(c.$wp&&c.events.$on(c.$wp,"scroll.image-edit",function(){y&&
c.popups.isVisible("image.edit")&&(c.events.disableBlur(),K())}),!0):0<c.opts.imageEditButtons.length?(a=""+'<div class="fr-buttons">\n '.concat(c.button.buildList(c.opts.imageEditButtons),"\n </div>"),c.popups.create("image.edit",{buttons:a})):!1}function H(a){var b=c.popups.get("image.insert");b||(b=ia());b.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive");b.find(".fr-image-progress-bar-layer").addClass("fr-active");b.find(".fr-buttons").hide();if(y){b=T();
c.popups.setContainer("image.insert",c.$sc);var d=b.offset().left,f=b.offset().top+b.height();c.popups.show("image.insert",d,f,b.outerHeight())}"undefined"==typeof a&&ra(c.language.translate("Uploading"),0)}function F(a){var b=c.popups.get("image.insert");b&&(b.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),b.find(".fr-image-progress-bar-layer").removeClass("fr-active"),b.find(".fr-buttons").show(),a||c.$el.find("img.fr-error").length)&&(c.events.focus(),c.$el.find("img.fr-error").length&&
(c.$el.find("img.fr-error").remove(),c.undo.saveStep(),c.undo.run(),c.undo.dropRedo()),!c.$wp&&y&&(a=y,G(!0),c.selection.setAfter(a.get(0)),c.selection.restore()),c.popups.hide("image.insert"))}function ra(a,b){var d=c.popups.get("image.insert");d&&(d=d.find(".fr-image-progress-bar-layer"),d.find("h3").text(a+(b?" ".concat(b,"%"):"")),d.removeClass("fr-error"),b?(d.find("div").removeClass("fr-indeterminate"),d.find("div > span").css("width","".concat(b,"%"))):d.find("div").addClass("fr-indeterminate"))}
function Z(a){H();var b=c.popups.get("image.insert").find(".fr-image-progress-bar-layer");b.addClass("fr-error");b=b.find("h3");b.text(a);c.events.disableBlur();b.focus()}function b(a){ea.call(a.get(0))}function d(){var a=Q(this);c.popups.hide("image.insert");a.removeClass("fr-uploading");a.next().is("br")&&a.next().remove();b(a);c.events.trigger("image.loaded",[a])}function h(a,b,f,e,h){e&&"string"===typeof e&&(e=c.$(e));c.edit.off();ra(c.language.translate("Loading image"));b&&(a=c.helpers.sanitizeURL(a));
b=new Image;b.onload=function(){var b;if(e){c.undo.canDo()||e.hasClass("fr-uploading")||c.undo.saveStep();var g=e.data("fr-old-src");e.data("fr-image-pasted")&&(g=null);if(c.$wp){var ba=e.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted");ba.off("load");g&&e.attr("src",g);!c.opts.trackChangesEnabled||e[0].parentNode&&"SPAN"===e[0].parentNode.tagName&&e[0].parentNode.hasAttribute("data-tracking")||c.track_changes.replaceSpecialItem(e);e.replaceWith(ba)}else ba=
e;for(var I=ba.get(0).attributes,l=0;l<I.length;l++){var ma=I[l];0===ma.nodeName.indexOf("data-")?ba.removeAttr(ma.nodeName):f&&f.hasOwnProperty(ma.nodeName)&&ba.removeAttr(ma.nodeName)}if("undefined"!=typeof f)for(b in f)f.hasOwnProperty(b)&&"link"!=b&&ba.attr("".concat(b),f[b]);ba.on("load",d);ba.attr("src",a);c.edit.on();v(!1);e[0].src!=a&&c.selection.restore();c.undo.saveStep();c.events.disableBlur();c.$el.blur();c.events.trigger(g?"image.replaced":"image.inserted",[ba,h])}else if(ba=J(a,f,d))v(!1),
c.undo.saveStep(),c.events.disableBlur(),c.$el.blur(),c.events.trigger("image.inserted",[ba,h])};b.onerror=function(){g(1)};H(c.language.translate("Loading image"));b.src=a}function u(a){try{if(!1===c.events.trigger("image.uploaded",[a],!0))return c.edit.on(),!1;var b=JSON.parse(a);if(b.link)return b;g(2,a);return!1}catch(Ea){return g(4,a),!1}}function f(){g(4,this.response||this.responseText||this.responseXML)}function m(a){a.lengthComputable&&(a=a.loaded/a.total*100|0,ra(c.language.translate("Uploading"),
a))}function J(a,b,d){var f="",e;a=Q(document.createElement("img")).attr("src",a);if(b&&"undefined"!=typeof b)for(e in b)b.hasOwnProperty(e)&&"link"!=e&&(f+=" data-".concat(e,'="').concat(b[e],'"'),a.attr("".concat(e),b[e]));(b=c.opts.imageDefaultWidth)&&"auto"!=b&&(b=c.opts.imageResizeWithPercent?"100%":"".concat(b,"px"));a.attr("style",b?"width: ".concat(b,";"):"");ja(a,c.opts.imageDefaultDisplay,c.opts.imageDefaultAlign);a.on("load",d);a.on("error",d);c.edit.on();c.events.focus(!0);c.selection.restore();
c.undo.saveStep();c.opts.imageSplitHTML?c.markers.split():c.markers.insert();c.html.wrap();d=c.$el.find(".fr-marker");if(d.length)(d.parent().is("hr")||d.parent().is("IMG"))&&d.parent().after(d),c.node.isLastSibling(d)&&d.parent().hasClass("fr-deletable")&&d.insertAfter(d.parent()),d.replaceWith(a);else{if(c.opts.trackChangesEnabled)return F(!0),!1;c.$el.append(a)}c.selection.clear();return a}function ka(){c.edit.on();F(!0)}function aa(a,d,e,I,l,ma){function ba(){var ba=Q(this);ba.off("load");ba.addClass("fr-uploading");
ba.next().is("br")&&ba.next().remove();c.placeholder.refresh();b(ba);r();H();c.edit.off();a.onload=function(){a:{ra(c.language.translate("Loading image"));var b=a.status,d=a.response,f=a.responseXML,e=a.responseText;try{if(c.opts.imageUploadToS3||c.opts.imageUploadToAzure)if(201==b){if(c.opts.imageUploadToAzure){if(!1===c.events.trigger("image.uploadedToAzure",[a.responseURL,ma,d],!0)){c.edit.on();break a}var I=l}else try{var k=Q(f).find("Location").text(),O=Q(f).find("Key").text();!1===c.events.trigger("image.uploadedToS3",
[k,O,f],!0)?(c.edit.on(),I=!1):I=k}catch(Da){g(4,f),I=!1}I&&h(I,!1,[],ba,d||f)}else g(4,d||f,ba);else if(200<=b&&300>b){var xa=u(e);xa&&h(xa.link,!1,xa,ba,d||e)}else g(3,d||e,ba)}catch(Da){g(4,d||e,ba)}}};a.onerror=f;a.upload.onprogress=m;a.onabort=ka;Q(ba.off("abortUpload")).on("abortUpload",function(){4!=a.readyState&&(a.abort(),I?(I.attr("src",I.data("fr-old-src")),I.removeClass("fr-uploading")):ba.remove(),G(!0))});a.send(c.opts.imageUploadToAzure?e:d)}var k=new FileReader;k.onload=function(){var a=
k.result;if(0>k.result.indexOf("svg+xml")){a=atob(k.result.split(",")[1]);for(var b=[],d=0;d<a.length;d++)b.push(a.charCodeAt(d));a=window.URL.createObjectURL(new Blob([new Uint8Array(b)],{type:"image/jpeg"}))}I?(I.on("load",ba),I.on("error",function(){ba();Q(this).off("error")}),c.edit.on(),c.undo.saveStep(),I.data("fr-old-src",I.attr("src")),I.attr("src",a)):J(a,null,ba)};k.readAsDataURL(e)}function U(a,b){var d=new FileReader;d.onload=function(){var f=d.result;if(0>d.result.indexOf("svg+xml")){f=
atob(d.result.split(",")[1]);for(var e=[],g=0;g<f.length;g++)e.push(f.charCodeAt(g));f=window.URL.createObjectURL(new Blob([new Uint8Array(e)],{type:a.type}));b&&b.data("fr-old-src",b.attr("src"));c.image.insert(f,!1,null,b)}else c.image.insert(f,null,null,c.image.get())};H();d.readAsDataURL(a)}function C(a,b){if("undefined"!=typeof a&&0<a.length){if(!1===c.events.trigger("image.beforeUpload",[a,b]))return!1;a=a[0];if(!(null!==c.opts.imageUploadURL&&"https://i.froala.com/upload"!=c.opts.imageUploadURL||
c.opts.imageUploadToS3||c.opts.imageUploadToAzure))return U(a,b||y),!1;a.name||(a.name=(new Date).getTime()+"."+(a.type||"image/jpeg").replace(/image\//g,""));if(a.size>c.opts.imageMaxSize)return g(5),!1;if(0>c.opts.imageAllowedTypes.indexOf(a.type.replace(/image\//g,"")))return g(6),!1;var d;c.drag_support.formdata&&(d=c.drag_support.formdata?new FormData:null);if(d){var f;if(!1!==c.opts.imageUploadToS3)for(f in d.append("key",c.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),
d.append("success_action_status","201"),d.append("X-Requested-With","xhr"),d.append("Content-Type",a.type),c.opts.imageUploadToS3.params)c.opts.imageUploadToS3.params.hasOwnProperty(f)&&d.append(f,c.opts.imageUploadToS3.params[f]);for(f in c.opts.imageUploadParams)c.opts.imageUploadParams.hasOwnProperty(f)&&d.append(f,c.opts.imageUploadParams[f]);d.append(c.opts.imageUploadParam,a,a.name);var e=c.opts.imageUploadURL,h=c.opts.imageUploadMethod;c.opts.imageUploadToS3&&(e=c.opts.imageUploadToS3.uploadURL?
c.opts.imageUploadToS3.uploadURL:"https://".concat(c.opts.imageUploadToS3.region,".amazonaws.com/").concat(c.opts.imageUploadToS3.bucket));if(c.opts.imageUploadToAzure){var ba=e=c.opts.imageUploadToAzure.uploadURL?"".concat(c.opts.imageUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(c.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(c.opts.imageUploadToAzure.container,"/").concat(a.name));c.opts.imageUploadToAzure.SASToken&&(e+=c.opts.imageUploadToAzure.SASToken);
h="PUT"}e=c.core.getXHR(e,h);if(c.opts.imageUploadToAzure){var I=(new Date).toUTCString();if(!c.opts.imageUploadToAzure.SASToken&&c.opts.imageUploadToAzure.accessKey){var l=c.opts.imageUploadToAzure.account;var ma=c.opts.imageUploadToAzure.container;c.opts.imageUploadToAzure.uploadURL&&(l=c.opts.imageUploadToAzure.uploadURL.split("/"),ma=l.pop(),l=l.pop().split(".")[0]);var k="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(I,"\nx-ms-version:2019-07-07");ma=encodeURI("/"+l+"/"+ma+"/"+a.name);ma=h=c.cryptoJSPlugin.cryptoJS.HmacSHA256(h+
"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+k+"\n"+ma,c.cryptoJSPlugin.cryptoJS.enc.Base64.parse(c.opts.imageUploadToAzure.accessKey)).toString(c.cryptoJSPlugin.cryptoJS.enc.Base64);e.setRequestHeader("Authorization","SharedKey "+l+":"+h)}e.setRequestHeader("x-ms-version","2019-07-07");e.setRequestHeader("x-ms-date",I);e.setRequestHeader("Content-Type",a.type);e.setRequestHeader("x-ms-blob-type","BlockBlob");for(f in c.opts.imageUploadParams)c.opts.imageUploadParams.hasOwnProperty(f)&&e.setRequestHeader(f,
c.opts.imageUploadParams[f]);for(f in c.opts.imageUploadToAzure.params)c.opts.imageUploadToAzure.params.hasOwnProperty(f)&&e.setRequestHeader(f,c.opts.imageUploadToAzure.params[f])}aa(e,d,a,b||y,ba,ma)}}}function da(a){c.events.$on(a,"dragover dragenter",".fr-image-upload-layer",function(a){Q(this).addClass("fr-drop");(c.browser.msie||c.browser.edge)&&a.preventDefault();return!1},!0);c.events.$on(a,"dragleave dragend",".fr-image-upload-layer",function(a){Q(this).removeClass("fr-drop");(c.browser.msie||
c.browser.edge)&&a.preventDefault();return!1},!0);c.events.$on(a,"drop",".fr-image-upload-layer",function(b){b.preventDefault();b.stopPropagation();Q(this).removeClass("fr-drop");if((b=b.originalEvent.dataTransfer)&&b.files){var d=a.data("instance")||c;d.events.disableBlur();d.image.upload(b.files);d.events.enableBlur()}},!0);c.helpers.isIOS()&&c.events.$on(a,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){Q(this).trigger("click")},!0);c.events.$on(a,"change",'.fr-image-upload-layer input[type="file"]',
function(){if(this.files){var b=a.data("instance")||c;b.events.disableBlur();a.find("input:focus").blur();b.events.enableBlur();b.image.upload(this.files,y)}Q(this).val("")},!0)}function wa(a){if(a.is("img")&&0<a.parents(".fr-img-caption").length)return a.parents(".fr-img-caption")}function ua(a){var b=a.originalEvent.dataTransfer;if(b&&b.files&&b.files.length){var d=b.files[0];if(d&&d.type&&-1!==d.type.indexOf("image")&&0<=c.opts.imageAllowedTypes.indexOf(d.type.replace(/image\//g,""))){if(!c.opts.imageUpload)return a.preventDefault(),
a.stopPropagation(),!1;c.markers.remove();c.markers.insertAtPoint(a.originalEvent);c.$el.find(".fr-marker").replaceWith(e.MARKERS);0===c.$el.find(".fr-marker").length&&c.selection.setAtEnd(c.el);c.popups.hideAll();c.popups.get("image.insert")||ia();c.popups.setContainer("image.insert",c.$sc);var f=a.originalEvent.pageX,h=a.originalEvent.pageY;if(c.opts.iframe){var ba=c.helpers.getPX(c.$wp.find(".fr-iframe").css("padding-top")),I=c.helpers.getPX(c.$wp.find(".fr-iframe").css("padding-left"));h+=c.$iframe.offset().top+
ba;f+=c.$iframe.offset().left+I}c.popups.show("image.insert",f,h);H();0<=c.opts.imageAllowedTypes.indexOf(d.type.replace(/image\//g,""))?(G(!0),C(b.files)):g(6);a.preventDefault();a.stopPropagation();return!1}}}function t(){c.events.$on(c.$el,c._mousedown,"IMG"==c.el.tagName?null:'img:not([contenteditable="false"])',function(a){if("false"==Q(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;c.helpers.isMobile()||c.selection.clear();
xa=!0;c.popups.areVisible()&&c.events.disableBlur();c.browser.msie&&(c.events.disableBlur(),c.$el.attr("contenteditable",!1));c.draggable||"touchstart"==a.type||a.preventDefault();a.stopPropagation()});c.events.$on(c.$el,c._mousedown,".fr-img-caption .fr-inner",function(a){c.core.hasFocus()||c.events.focus();a.stopPropagation()});c.events.$on(c.$el,"paste",".fr-img-caption .fr-inner",function(a){!0===c.opts.toolbarInline&&(c.toolbar.hide(),a.stopPropagation())});c.events.$on(c.$el,c._mouseup,"IMG"==
c.el.tagName?null:'img:not([contenteditable="false"])',function(a){if("false"==Q(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;xa&&(xa=!1,a.stopPropagation(),c.browser.msie&&(c.$el.attr("contenteditable",!0),c.events.enableBlur()))});c.events.on("keyup",function(a){if(a.shiftKey&&""===c.selection.text().replace(/\n/g,"")&&c.keys.isArrow(a.which)){a=c.selection.element();var d=c.selection.endElement();a&&"IMG"==a.tagName?
b(Q(a)):d&&"IMG"==d.tagName&&b(Q(d))}},!0);c.events.on("drop",ua);c.events.on("element.beforeDrop",wa);c.events.on("mousedown window.mousedown",za);c.events.on("window.touchmove",Y);c.events.on("mouseup window.mouseup",function(){if(y&&!c.helpers.isMobile())return G(),!1;ya=!1});c.events.on("commands.mousedown",function(a){0<a.parents(".fr-toolbar").length&&G()});c.events.on("image.resizeEnd",function(){c.opts.iframe&&c.size.syncIframe()});c.events.on("blur image.hideResizer commands.undo commands.redo element.dropped",
function(){xa=!1;G(!0)});c.events.on("modals.hide",function(){y&&(N(),c.selection.clear())});c.events.on("image.resizeEnd",function(){c.win.getSelection&&b(y)});if(c.opts.imageAddNewLine)c.events.on("image.inserted",function(a){var b=a.get(0);b.nextSibling&&"BR"===b.nextSibling.tagName&&(b=b.nextSibling);for(;b&&!c.node.isElement(b);)b=c.node.isLastSibling(b)?b.parentNode:null;c.node.isElement(b)&&(c.opts.enter===e.ENTER_BR?a.after("<br>"):Q(c.node.blockParent(a.get(0))).after("<".concat(c.html.defaultTag(),
"><br></").concat(c.html.defaultTag(),">")))})}function ia(a){if(a)return c.popups.onRefresh("image.insert",k),c.popups.onHide("image.insert",V),!0;var b;a="";c.opts.imageUpload||-1===c.opts.imageInsertButtons.indexOf("imageUpload")||c.opts.imageInsertButtons.splice(c.opts.imageInsertButtons.indexOf("imageUpload"),1);var d=c.button.buildList(c.opts.imageInsertButtons);""!==d&&(a='<div class="fr-buttons fr-tabs">'.concat(d,"</div>"));d=c.opts.imageInsertButtons.indexOf("imageUpload");var f=c.opts.imageInsertButtons.indexOf("imageByURL"),
e="";if(0<=d){var g=" fr-active";0<=f&&d>f&&(g="");e='<div class="fr-image-upload-layer'.concat(g,' fr-layer" id="fr-image-upload-layer-').concat(c.id,'"><strong>').concat(c.language.translate("Drop image"),"</strong><br>(").concat(c.language.translate("or click"),')<div class="fr-form"><input type="file" accept="image/').concat(c.opts.imageAllowedTypes.join(", image/").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-image-upload-layer-').concat(c.id,'" role="button"></div></div>')}g="";0<=f&&
(g=" fr-active",0<=d&&f>d&&(g=""),g='<div class="fr-image-by-url-layer'.concat(g,' fr-layer" id="fr-image-by-url-layer-').concat(c.id,'"><div class="fr-input-line"><input id="fr-image-by-url-layer-text-').concat(c.id,'" type="text" placeholder="http://" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageInsertByURL" tabIndex="2" role="button">').concat(c.language.translate("Insert"),"</button></div></div>"));a={buttons:a,
upload_layer:e,by_url_layer:g,progress_bar:'<div class="fr-image-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="imageDismissError" tabIndex="2" role="button">OK</button></div></div>'};1<=c.opts.imageInsertButtons.length&&(b=c.popups.create("image.insert",a));c.$wp&&c.events.$on(c.$wp,"scroll",function(){y&&c.popups.isVisible("image.insert")&&
B()});da(b);return b}function la(){y&&c.popups.get("image.alt").find("input").val(y.attr("alt")||"").trigger("change")}function A(){c.popups.get("image.alt")||ca();F();c.popups.refresh("image.alt");c.popups.setContainer("image.alt",c.$sc);var a=T();fa()&&(a=a.find(".fr-img-wrap"));var b=a.offset().left+a.outerWidth()/2,d=a.offset().top+a.outerHeight();c.popups.show("image.alt",b,d,a.outerHeight(),!0)}function ca(a){if(a)return c.popups.onRefresh("image.alt",la),!0;a="";a='<div class="fr-buttons fr-tabs">'.concat(c.button.buildList(c.opts.imageAltButtons),
"</div>");var b="";b='<div class="fr-image-alt-layer fr-layer fr-active" id="fr-image-alt-layer-'.concat(c.id,'"><div class="fr-input-line"><input id="fr-image-alt-layer-text-').concat(c.id,'" type="text" placeholder="').concat(c.language.translate("Alternative Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetAlt" tabIndex="2" role="button">').concat(c.language.translate("Update"),"</button></div></div>");a=c.popups.create("image.alt",
{buttons:a,alt_layer:b});c.$wp&&c.events.$on(c.$wp,"scroll.image-alt",function(){y&&c.popups.isVisible("image.alt")&&A()});return a}function p(){var a=c.popups.get("image.size"),b=y.get(0).style.height?y.get(0).style.height:"auto",d=y.get(0).style.width?y.get(0).style.width:"auto";y&&(fa()&&(y.parent().get(0).style.width||y.parent().parent()),a.find('input[name="width"]').val(d).trigger("change"),a.find('input[name="height"]').val(b).trigger("change"))}function x(){c.popups.get("image.size")||l();
F();c.popups.refresh("image.size");c.popups.setContainer("image.size",c.$sc);var a=T();fa()&&(a=a.find(".fr-img-wrap"));var b=a.offset().left+a.outerWidth()/2,d=a.offset().top+a.outerHeight();c.popups.show("image.size",b,d,a.outerHeight(),!0)}function l(a){if(a)return c.popups.onRefresh("image.size",p),!0;a="";a='<div class="fr-buttons fr-tabs">'.concat(c.button.buildList(c.opts.imageSizeButtons),"</div>");var b="";b='<div class="fr-image-size-layer fr-layer fr-active" id="fr-image-size-layer-'.concat(c.id,
'"><div class="fr-image-group"><div class="fr-input-line"><input id="fr-image-size-layer-width-\'').concat(c.id,'" type="text" name="width" placeholder="').concat(c.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-image-size-layer-height').concat(c.id,'" type="text" name="height" placeholder="').concat(c.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetSize" tabIndex="2" role="button">').concat(c.language.translate("Update"),
"</button></div></div>");a=c.popups.create("image.size",{buttons:a,size_layer:b});c.$wp&&c.events.$on(c.$wp,"scroll.image-size",function(){y&&c.popups.isVisible("image.size")&&x()});return a}function q(a,b,c,d){a.pageX=b;M.call(this,a);a.pageX+=c*Math.floor(Math.pow(1.1,d));R.call(this,a);D.call(this,a);return++d}function X(){if(c.shared.$image_resizer)ha=c.shared.$image_resizer,ma=c.shared.$img_overlay,c.events.on("destroy",function(){Q("body").first().append(ha.removeClass("fr-active"))},!0);else if(c.shared.$image_resizer=
Q(document.createElement("div")).attr("class","fr-image-resizer"),ha=c.shared.$image_resizer,c.events.$on(ha,"mousedown",function(a){a.stopPropagation()},!0),c.opts.imageResize){ha.append(n("nw")+n("ne")+n("sw")+n("se"));c.shared.$img_overlay=Q(document.createElement("div")).attr("class","fr-image-overlay");ma=c.shared.$img_overlay;var a=ha.get(0).ownerDocument;Q(a).find("body").first().append(ma)}c.events.on("shared.destroy",function(){ha.html("").removeData().remove();ha=null;c.opts.imageResize&&
(ma.remove(),ma=null)},!0);c.helpers.isMobile()||c.events.$on(Q(c.o_win),"resize",function(){y&&!y.hasClass("fr-uploading")?G(!0):y&&(r(),B(),H(!1))});if(c.opts.imageResize){a=ha.get(0).ownerDocument;c.events.$on(ha,c._mousedown,".fr-handler",M);c.events.$on(Q(a),c._mousemove,R);c.events.$on(Q(a.defaultView||a.parentWindow),c._mouseup,D);c.events.$on(ma,"mouseleave",D);var d=1,f=null,g=0;c.events.on("keydown",function(a){if(y){var h=-1!=navigator.userAgent.indexOf("Mac OS X")?a.metaKey:a.ctrlKey,
I=a.which;if(I!==f||200<a.timeStamp-g)d=1;(I==e.KEYCODE.EQUALS||c.browser.mozilla&&I==e.KEYCODE.FF_EQUALS)&&h&&!a.altKey?d=q.call(this,a,1,1,d):(I==e.KEYCODE.HYPHEN||c.browser.mozilla&&I==e.KEYCODE.FF_HYPHEN)&&h&&!a.altKey?d=q.call(this,a,2,-1,d):c.keys.ctrlKey(a)||I!=e.KEYCODE.ENTER||(y.before("<br>"),b(y));f=I;g=a.timeStamp}},!0);c.events.on("keyup",function(){d=1})}}function S(a){a=a||T();!c.opts.trackChangesEnabled||c.helpers.isMobile()||a[0].parentNode&&"SPAN"===a[0].parentNode.tagName&&a[0].parentNode.hasAttribute("data-tracking")?
a&&!1!==c.events.trigger("image.beforeRemove",[a])&&(c.popups.hideAll(),N(),G(!0),c.undo.canDo()||c.undo.saveStep(),a.get(0)==c.el?a.removeAttr("src"):(a.get(0).parentNode&&"A"==a.get(0).parentNode.tagName?(c.selection.setBefore(a.get(0).parentNode)||c.selection.setAfter(a.get(0).parentNode)||a.parent().after(e.MARKERS),Q(a.get(0).parentNode).remove()):(c.selection.setBefore(a.get(0))||c.selection.setAfter(a.get(0))||a.after(e.MARKERS),a.remove()),c.html.fillEmptyBlocks(),c.selection.restore()),c.undo.saveStep()):
(c.track_changes.removeSpecialItem(a),c.popups.hideAll(),G(!0))}function E(a){var b=a.which;if(!y||b!=e.KEYCODE.BACKSPACE&&b!=e.KEYCODE.DELETE){if(y&&b==e.KEYCODE.ESC)return b=y,G(!0),c.selection.setAfter(b.get(0)),c.selection.restore(),a.preventDefault(),!1;if(!y||b!=e.KEYCODE.ARROW_LEFT&&b!=e.KEYCODE.ARROW_RIGHT){if(y&&b===e.KEYCODE.TAB)return a.preventDefault(),a.stopPropagation(),G(!0),!1;if(y&&b!=e.KEYCODE.F10&&!c.keys.isBrowserAction(a))return a.preventDefault(),a.stopPropagation(),!1}else{var d=
y.get(0);G(!0);b==e.KEYCODE.ARROW_LEFT?c.selection.setBefore(d):c.selection.setAfter(d);c.selection.restore();a.preventDefault();return!1}}else return a.preventDefault(),a.stopPropagation(),S(),!1}function oa(a){if(a&&"IMG"==a.tagName){if(c.node.hasClass(a,"fr-uploading")||c.node.hasClass(a,"fr-error")?a.parentNode.removeChild(a):c.node.hasClass(a,"fr-draggable")&&a.classList.remove("fr-draggable"),a.parentNode&&a.parentNode.parentNode&&c.node.hasClass(a.parentNode.parentNode,"fr-img-caption")){var b=
a.parentNode.parentNode;b.removeAttribute("contenteditable");b.removeAttribute("draggable");b.classList.remove("fr-draggable");(a=a.nextSibling)&&a.removeAttribute("contenteditable")}}else if(a&&a.nodeType==Node.ELEMENT_NODE)for(a=a.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),b=0;b<a.length;b++)oa(a[b])}function W(a){if(!1===c.events.trigger("image.beforePasteUpload",[a]))return Q(a).removeAttr("data-fr-image-pasted"),!1;y=Q(a);r();K();B();H();y.on("load",function(){var a=
[];r();1>Q(c.popups.get("image.insert").get(0)).find("div.fr-active.fr-error").length&&H();Q(this).data("events").filter(function(b){"load"===b[0]&&a.push(b)});1>=a.length&&Q(this).off("load")});a=Q(a).attr("src").split(",");for(var b=atob(a[1]),d=[],f=0;f<b.length;f++)d.push(b.charCodeAt(f));a=c.browser.safari&&!c.opts.imageUploadURL?new Blob([new Uint8Array(d)],{type:a[0].replace(/data:/g,"")}):new Blob([new Uint8Array(d)],{type:a[0].replace(/data:/g,"").replace(/;base64/g,"")});C([a],y)}function pa(){c.opts.imagePaste?
c.$el.find("img[data-fr-image-pasted]").each(function(a,b){c.opts.imagePasteProcess&&((a=c.opts.imageDefaultWidth)&&"auto"!=a&&(a+=c.opts.imageResizeWithPercent?"%":"px"),Q(b).css("width",a).removeClass("fr-dii fr-dib fr-fir fr-fil"),ja(Q(b),c.opts.imageDefaultDisplay,c.opts.imageDefaultAlign));0===b.src.indexOf("data:")?W(b):0===b.src.indexOf("blob:")||0===b.src.indexOf("http")&&c.opts.imageUploadRemoteUrls&&c.opts.imageCORSProxy?(a=new Image,a.crossOrigin="Anonymous",a.onload=function(){var a=c.o_doc.createElement("CANVAS"),
d=a.getContext("2d");a.height=this.naturalHeight;a.width=this.naturalWidth;d.drawImage(this,0,0);setTimeout(function(){W(b)},0);b.src=a.toDataURL("image/".concat(2E3<this.naturalWidth||1500<this.naturalHeight?"jpeg":"png"))},a.src=(0===b.src.indexOf("blob:")?"":"".concat(c.opts.imageCORSProxy,"/"))+b.src,0!==b.src.indexOf("blob:")&&c.undo.saveStep()):0!==b.src.indexOf("http")||0===b.src.indexOf("https://mail.google.com/mail")?(c.selection.save(),Q(b).remove(),c.selection.restore()):Q(b).removeAttr("data-fr-image-pasted")}):
c.$el.find("img[data-fr-image-pasted]").remove()}function P(a){a=a.target.result;var b=c.opts.imageDefaultWidth;b&&"auto"!=b&&(b+=c.opts.imageResizeWithPercent?"%":"px");c.undo.saveStep();c.html.insert('<img data-fr-image-pasted="true" src="'.concat(a,'"').concat(b?' style="width: '.concat(b,';"'):"",">"));(a=c.$el.find('img[data-fr-image-pasted="true"]'))&&ja(a,c.opts.imageDefaultDisplay,c.opts.imageDefaultAlign);c.events.trigger("paste.after")}function ta(a){if(a&&a.clipboardData&&a.clipboardData.items){var b=
null;if(a.clipboardData.types&&-1!=[].indexOf.call(a.clipboardData.types,"text/rtf")||a.clipboardData.getData("text/rtf"))b=a.clipboardData.items[0].getAsFile();else for(var c=0;c<a.clipboardData.items.length&&!(b=a.clipboardData.items[c].getAsFile());c++);if(b)return a=b,b=new FileReader,b.onload=P,b.readAsDataURL(a),!1}}function na(a){return a=a.replace(/<img /gi,'<img data-fr-image-pasted="true" ')}function ea(a){if("false"==Q(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable")||
a&&"touchend"==a.type&&Ba)return!0;if(a&&c.edit.isDisabled())return a.stopPropagation(),a.preventDefault(),!1;for(var b=0;b<e.INSTANCES.length;b++)e.INSTANCES[b]!=c&&e.INSTANCES[b].events.trigger("image.hideResizer");c.toolbar.disable();a&&(a.stopPropagation(),a.preventDefault());c.helpers.isMobile()&&(c.events.disableBlur(),c.$el.blur(),c.events.enableBlur());c.opts.iframe&&c.size.syncIframe();y=Q(this);N();r();K();c.browser.msie?(c.popups.areVisible()&&c.events.disableBlur(),c.win.getSelection&&
(c.win.getSelection().removeAllRanges(),c.win.getSelection().addRange(c.doc.createRange()))):c.selection.clear();c.helpers.isIOS()&&(c.events.disableBlur(),c.$el.blur());c.button.bulkRefresh();c.events.trigger("video.hideResizer")}function G(a){y&&(ya||!0===a)&&(c.toolbar.enable(),ha.removeClass("fr-active"),c.popups.hideAll(),y=null,ya=!1,I=null,ma&&ma.hide())}function za(){ya=!0}function Y(){ya=!1}function ja(a,b,d){!c.opts.htmlUntouched&&c.opts.useClasses?(a.removeClass("fr-fil fr-fir fr-dib fr-dii"),
d&&a.addClass("fr-fi".concat(d[0])),b&&a.addClass("fr-di".concat(b[0]))):"inline"==b?(a.css({display:"inline-block",verticalAlign:"bottom",margin:c.opts.imageDefaultMargin}),"center"==d?a.css({"float":"none",marginBottom:"",marginTop:"",maxWidth:"calc(100% - ".concat(2*c.opts.imageDefaultMargin,"px)"),textAlign:"center"}):"left"==d?a.css({"float":"left",marginLeft:0,maxWidth:"calc(100% - ".concat(c.opts.imageDefaultMargin,"px)"),textAlign:"left"}):a.css({"float":"right",marginRight:0,maxWidth:"calc(100% - ".concat(c.opts.imageDefaultMargin,
"px)"),textAlign:"right"})):"block"==b&&(a.css({display:"block","float":"none",verticalAlign:"top",margin:"".concat(c.opts.imageDefaultMargin,"px auto"),textAlign:"center"}),"left"==d?a.css({marginLeft:0,textAlign:"left"}):"right"==d&&a.css({marginRight:0,textAlign:"right"}))}function O(a){"undefined"==typeof a&&(a=T());if(a){if(a.hasClass("fr-fil"))return"left";if(a.hasClass("fr-fir"))return"right";if(!a.hasClass("fr-dib")&&!a.hasClass("fr-dii")){var b=a.css("float");a.css("float","none");if("block"==
a.css("display")){a.css("float","");a.css("float")!=b&&a.css("float",b);if(0===parseInt(a.css("margin-left"),10))return"left";if(0===parseInt(a.css("margin-right"),10))return"right"}else{a.css("float","");a.css("float")!=b&&a.css("float",b);if("left"==a.css("float"))return"left";if("right"==a.css("float"))return"right"}}}return"center"}function sa(a){"undefined"==typeof a&&(a=T());var b=a.css("float");a.css("float","none");if("block"==a.css("display"))return a.css("float",""),a.css("float")!=b&&a.css("float",
b),"block";a.css("float","");a.css("float")!=b&&a.css("float",b);return"inline"}function B(){c.popups.get("image.insert")||ia();c.popups.isVisible("image.insert")||(F(),c.popups.refresh("image.insert"),c.popups.setContainer("image.insert",c.$sc));var a=T();fa()&&(a=a.find(".fr-img-wrap"));var b=a.offset().left+a.outerWidth()/2,d=a.offset().top+a.outerHeight();c.popups.show("image.insert",b,d,a.outerHeight(!0),!0)}function N(){if(y){c.events.disableBlur();c.selection.clear();var a=c.doc.createRange();
a.selectNode(y.get(0));c.browser.msie&&a.collapse(!0);c.selection.get().addRange(a);c.events.enableBlur()}}function T(){return fa()?y.parents(".fr-img-caption").first():y}function fa(){return y?0<y.parents(".fr-img-caption").length:!1}function qa(a){for(var b=document.createDocumentFragment();a.firstChild;){var c=a.removeChild(a.firstChild);b.appendChild(c)}a.parentNode.replaceChild(b,a)}var Q=c.$,y,ha,I,ma,xa=!1,Aa={1:"Image cannot be loaded from the passed link.",2:"No link in upload response.",
3:"Error during file upload.",4:"Parsing response failed.",5:"File is too large.",6:"Image file type is invalid.",7:"Files can be uploaded only to same domain in IE 8 and IE 9.",8:"Image file is corrupted."},va,Ba,ya=!1;return{_init:function(){t();"IMG"==c.el.tagName&&c.$el.addClass("fr-view");c.events.$on(c.$el,c.helpers.isMobile()&&!c.helpers.isWindowsPhone()?"touchend":"click","IMG"==c.el.tagName?null:'img:not([contenteditable="false"])',ea);c.helpers.isMobile()&&(c.events.$on(c.$el,"touchstart",
"IMG"==c.el.tagName?null:'img:not([contenteditable="false"])',function(){Ba=!1}),c.events.$on(c.$el,"touchmove",function(){Ba=!0}));c.$wp?(c.events.on("window.keydown keydown",E,!0),c.events.on("keyup",function(a){if(y&&a.which==e.KEYCODE.ENTER)return!1},!0),c.events.$on(c.$el,"keydown",function(){var a=c.selection.element();if(a.nodeType===Node.TEXT_NODE||"BR"==a.tagName&&c.node.isLastSibling(a))a=a.parentNode;c.node.hasClass(a,"fr-inner")||(c.node.hasClass(a,"fr-img-caption")||(a=Q(a).parents(".fr-img-caption").get(0)),
c.node.hasClass(a,"fr-img-caption")&&(c.opts.trackChangesEnabled||Q(a).after(e.INVISIBLE_SPACE+e.MARKERS),c.selection.restore()))})):c.events.$on(c.$win,"keydown",E);c.events.on("toolbar.esc",function(){if(y){if(c.$wp)c.events.disableBlur(),c.events.focus();else{var a=y;G(!0);c.selection.setAfter(a.get(0));c.selection.restore()}return!1}},!0);c.events.on("toolbar.focusEditor",function(){if(y)return!1},!0);c.events.on("window.cut window.copy",function(a){if(y&&c.popups.isVisible("image.edit")&&!c.popups.get("image.edit").find(":focus").length){var d=
T();fa()?(d.before(e.START_MARKER),d.after(e.END_MARKER),c.selection.restore(),c.paste.saveCopiedText(d.get(0).outerHTML,d.text())):(N(),c.paste.saveCopiedText(y.get(0).outerHTML,y.attr("alt")));"copy"==a.type?setTimeout(function(){b(y)}):(G(!0),c.undo.saveStep(),setTimeout(function(){c.undo.saveStep()},0))}},!0);if(c.browser.msie)c.events.on("keydown",function(a){if(!c.selection.isCollapsed()||!y)return!0;var b=a.which;b==e.KEYCODE.C&&c.keys.ctrlKey(a)?c.events.trigger("window.copy"):b==e.KEYCODE.X&&
c.keys.ctrlKey(a)&&c.events.trigger("window.cut")});c.events.$on(Q(c.o_win),"keydown",function(a){var b=a.which;if(y&&b==e.KEYCODE.BACKSPACE)return a.preventDefault(),!1});c.events.$on(c.$win,"keydown",function(a){a=a.which;y&&y.hasClass("fr-uploading")&&a==e.KEYCODE.ESC&&y.trigger("abortUpload")});c.events.on("destroy",function(){y&&y.hasClass("fr-uploading")&&y.trigger("abortUpload")});c.events.on("paste.before",ta);c.events.on("paste.beforeCleanup",na);c.events.on("paste.after",pa);c.events.on("html.set",
L);c.events.on("html.inserted",L);L();c.events.on("destroy",function(){va=[]});c.events.on("html.processGet",oa);if(c.opts.imageOutputSize){var a;c.events.on("html.beforeGet",function(){a=c.el.querySelectorAll("img");for(var b=0;b<a.length;b++){var d=a[b].style.width||Q(a[b]).width(),f=a[b].style.height||Q(a[b]).height();d&&a[b].setAttribute("width","".concat(d).replace(/px/,""));f&&a[b].setAttribute("height","".concat(f).replace(/px/,""))}})}if(c.opts.iframe)c.events.on("image.loaded",c.size.syncIframe);
c.$wp&&(v(),c.events.on("contentChanged",v));c.events.$on(Q(c.o_win),"orientationchange.image",function(){setTimeout(function(){y&&b(y)},100)});z(!0);ia(!0);l(!0);ca(!0);c.events.on("node.remove",function(a){if("IMG"==a.get(0).tagName)return S(a),!1})},showInsertPopup:function(){var a=c.$tb.find('.fr-command[data-cmd="insertImage"]'),b=c.popups.get("image.insert");b||(b=ia());F();b.hasClass("fr-active")||(c.popups.refresh("image.insert"),c.popups.setContainer("image.insert",c.$tb),a.isVisible()?(b=
c.button.getPosition(a),c.popups.show("image.insert",b.left,b.top,a.outerHeight())):(c.position.forSelection(b),c.popups.show("image.insert")))},showLayer:function(a){var b=c.popups.get("image.insert");if(y||c.opts.toolbarInline)y&&(f=T(),fa()&&(f=f.find(".fr-img-wrap")),d=f.offset().top+f.outerHeight(),f=f.offset().left);else{var d=c.$tb.find('.fr-command[data-cmd="insertImage"]');var f=d.offset().left;d=d.offset().top+(c.opts.toolbarBottom?10:d.outerHeight()-10)}!y&&c.opts.toolbarInline&&(d=b.offset().top-
c.helpers.getPX(b.css("margin-top")),b.hasClass("fr-above")&&(d+=b.outerHeight()));b.find(".fr-layer").removeClass("fr-active");b.find(".fr-".concat(a,"-layer")).addClass("fr-active");c.popups.show("image.insert",f,d,y?y.outerHeight():0);c.accessibility.focusPopup(b)},refreshUploadButton:function(a){var b=c.popups.get("image.insert");b&&b.find(".fr-image-upload-layer").hasClass("fr-active")&&a.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function(a){var b=c.popups.get("image.insert");
b&&b.find(".fr-image-by-url-layer").hasClass("fr-active")&&a.addClass("fr-active").attr("aria-pressed",!0)},upload:C,insertByURL:function(){var a=c.popups.get("image.insert").find(".fr-image-by-url-layer input");if(0<a.val().length){H();ra(c.language.translate("Loading image"));var b=a.val().trim();if(c.opts.imageUploadRemoteUrls&&c.opts.imageCORSProxy&&c.opts.imageUpload){var d=new XMLHttpRequest;d.onload=function(){200==this.status?C([new Blob([this.response],{type:this.response.type||"image/png"})],
y):g(1)};d.onerror=function(){h(b,!0,[],y)};d.open("GET","".concat(c.opts.imageCORSProxy,"/").concat(b),!0);d.responseType="blob";d.send()}else h(b,!0,[],y);a.val("");a.blur()}},align:function(a){var b=T();b.removeClass("fr-fir fr-fil");!c.opts.htmlUntouched&&c.opts.useClasses?"left"==a?b.addClass("fr-fil"):"right"==a&&b.addClass("fr-fir"):ja(b,sa(),a);N();r();K();c.selection.clear()},refreshAlign:function(a){y&&a.find("> *").first().replaceWith(c.icon.create("image-align-".concat(O())))},refreshAlignOnShow:function(a,
b){y&&b.find('.fr-command[data-param1="'.concat(O(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function(a){var b=T();b.removeClass("fr-dii fr-dib");!c.opts.htmlUntouched&&c.opts.useClasses?"inline"==a?b.addClass("fr-dii"):"block"==a&&b.addClass("fr-dib"):ja(b,a,O());N();r();K();c.selection.clear()},refreshDisplayOnShow:function(a,b){y&&b.find('.fr-command[data-param1="'.concat(sa(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:B,back:function(){y?(c.events.disableBlur(),
Q(".fr-popup input:focus").blur(),b(y)):(c.events.disableBlur(),c.selection.restore(),c.events.enableBlur(),c.popups.hide("image.insert"),c.toolbar.showInline())},get:function(){return y},getEl:T,insert:h,showProgressBar:H,remove:S,hideProgressBar:F,applyStyle:function(d,f,e){"undefined"==typeof f&&(f=c.opts.imageStyles);"undefined"==typeof e&&(e=c.opts.imageMultipleStyles);if(!y)return!1;var g=T();e||(e=Object.keys(f),e.splice(e.indexOf(d),1),g.removeClass(e.join(" ")));"object"==a(f[d])?(g.removeAttr("style"),
g.css(f[d].style)):g.toggleClass(d);b(y)},showAltPopup:A,showSizePopup:x,setAlt:function(a){if(y){var d=c.popups.get("image.alt");y.attr("alt",a||d.find("input").val()||"");d.find("input:focus").blur();b(y)}},setSize:function(a,d){if(y){var f=c.popups.get("image.size");a=a||f.find('input[name="width"]').val()||"";d=d||f.find('input[name="height"]').val()||"";var e=/^[\d]+((px)|%)*$/g;y.removeAttr("width").removeAttr("height");a.match(e)?y.css("width",a):y.css("width","");d.match(e)?y.css("height",
d):y.css("height","");fa()&&(y.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),a.match(e)?y.parents(".fr-img-caption").css("width",a):y.parents(".fr-img-caption").css("width",""),d.match(e)?y.parents(".fr-img-caption").css("height",d):y.parents(".fr-img-caption").css("height",""));f&&f.find("input:focus").blur();b(y)}},toggleCaption:function(){if(y&&!fa()){var a=y;y.parent().is("a")&&(a=y.parent());var d=y.parents("ul")&&0<y.parents("ul").length?y.parents("ul"):y.parents("ol")&&
0<y.parents("ol").length?y.parents("ol"):[];if(0<d.length){var f=d.find("li").length,g=y.parents("li"),h=document.createElement("li");f-1===g.index()&&(d.append(h),h.innerHTML=" ")}if(a.attr("style")){d=a.attr("style").split(":");var I=-1<d.indexOf("width")?d[d.indexOf("width")+1].replace(";",""):""}else a.attr("width")&&(I=a.attr("width"));d=c.opts.imageResizeWithPercent?(-1<I.indexOf("px")?null:I)||"100%":y.width()+"px";a.wrap('<div class="fr-img-space-wrap"><span '+(c.browser.mozilla?"":'contenteditable="false"')+
'class="fr-img-caption '+y.attr("class")+'" style="'+(c.opts.useClasses?"":a.attr("style"))+'" draggable="false"></span></div>');a.wrap('<span class="fr-img-wrap"></span>');y.after('<span class="fr-inner"'.concat(c.browser.mozilla?"":' contenteditable="true"',">").concat(e.START_MARKER).concat(c.language.translate("Image Caption")).concat(e.END_MARKER,"</span>"));y.parents(".fr-img-caption").css("width",d);a=y.parents(".fr-img-space-wrap").length;1==a?qa(document.querySelector(".fr-img-space-wrap")):
1<a&&(qa(document.querySelector(".fr-img-space-wrap")),qa(document.querySelector(".fr-img-space-wrap2")));G(!0);c.selection.restore()}else{a=T();y.insertBefore(a);if(null!==a[0].querySelector("a")){g=a[0].querySelector("a");d=document.createElement("a");f=0;h=g.attributes;for(I=h.length;f<I;f++)g=h[f],d.setAttribute(g.nodeName,g.nodeValue);y.wrap(d)}y.attr("class",a.attr("class").replace("fr-img-caption","")).attr("style",a.attr("style"));a.remove();a=y.parents(".fr-img-space-wrap").length;1==a?qa(document.querySelector(".fr-img-space-wrap")):
1<a&&(qa(document.querySelector(".fr-img-space-wrap")),qa(document.querySelector(".fr-img-space-wrap2")));b(y)}},hasCaption:fa,exitEdit:G,edit:b}};e.DefineIcon("insertImage",{NAME:"image",SVG_KEY:"insertImage"});e.RegisterShortcut(e.KEYCODE.P,"insertImage",null,"P");e.RegisterCommand("insertImage",{title:"Insert Image",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("image.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),
this.popups.hide("image.insert")):this.image.showInsertPopup()},plugin:"image"});e.DefineIcon("imageUpload",{NAME:"upload",SVG_KEY:"upload"});e.RegisterCommand("imageUpload",{title:"Upload Image",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer("image-upload")},refresh:function(a){this.image.refreshUploadButton(a)}});e.DefineIcon("imageByURL",{NAME:"link",SVG_KEY:"insertLink"});e.RegisterCommand("imageByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer("image-by-url")},
refresh:function(a){this.image.refreshByURLButton(a)}});e.RegisterCommand("imageInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.image.insertByURL()},refresh:function(a){this.image.get()?a.text(this.language.translate("Replace")):a.text(this.language.translate("Insert"))}});e.DefineIcon("imageDisplay",{NAME:"star",SVG_KEY:"imageDisplay"});e.RegisterCommand("imageDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(a,
e){this.image.display(e)},refresh:function(a){this.opts.imageTextNear||a.addClass("fr-hidden")},refreshOnShow:function(a,e){this.image.refreshDisplayOnShow(a,e)}});e.DefineIcon("image-align",{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("image-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("image-align-right",{NAME:"align-right",SVG_KEY:"alignRight"});e.DefineIcon("image-align-center",{NAME:"align-justify",SVG_KEY:"alignCenter"});e.DefineIcon("imageAlign",{NAME:"align-justify",
SVG_KEY:"alignJustify"});e.RegisterCommand("imageAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',k=e.COMMANDS.imageAlign.options,K;for(K in k)k.hasOwnProperty(K)&&(a+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="imageAlign" data-param1="'.concat(K,'" title="').concat(this.language.translate(k[K]),'">').concat(this.icon.create("image-align-".concat(K)),
'<span class="fr-sr-only">').concat(this.language.translate(k[K]),"</span></a></li>"));return a+"</ul>"},callback:function(a,e){this.image.align(e)},refresh:function(a){this.image.refreshAlign(a)},refreshOnShow:function(a,e){this.image.refreshAlignOnShow(a,e)}});e.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"});e.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}});e.DefineIcon("imageRemove",
{NAME:"trash",SVG_KEY:"remove"});e.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}});e.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"});e.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(a){this.image.get()||this.opts.toolbarInline?(a.removeClass("fr-hidden"),a.next(".fr-separator").removeClass("fr-hidden")):(a.addClass("fr-hidden"),a.next(".fr-separator").addClass("fr-hidden"))}});
e.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}});e.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"});e.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var c='<ul class="fr-dropdown-list" role="presentation">',e=this.opts.imageStyles,K;for(K in e)if(e.hasOwnProperty(K)){var V=e[K];"object"==a(V)&&(V=V.title);c+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="imageStyle" data-param1="'.concat(K,
'">').concat(this.language.translate(V),"</a></li>")}return c+"</ul>"},callback:function(a,e){this.image.applyStyle(e)},refreshOnShow:function(a,e){var c=this.$,k=this.image.getEl();k&&e.find(".fr-command").each(function(){var a=c(this).data("param1");a=k.hasClass(a);c(this).toggleClass("fr-active",a).attr("aria-selected",a)})}});e.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"});e.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}});
e.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}});e.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"});e.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}});e.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}});e.DefineIcon("imageCaption",{NAME:"commenting",
FA5NAME:"comment-alt",SVG_KEY:"imageCaption"});e.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(a){this.image.get()&&a.toggleClass("fr-active",this.image.hasCaption())}})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"});Object.assign(e.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},
linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0});e.PLUGINS.link=function(a){function c(){var c=a.image?a.image.get():null;if(!c&&a.$wp){c=a.selection.ranges(0).commonAncestorContainer;
try{c&&(c.contains&&c.contains(a.el)||!a.el.contains(c)||a.el==c)&&(c=null)}catch(H){c=null}if(c&&"A"===c.tagName)return c;c=a.selection.element();var e=a.selection.endElement();"A"==c.tagName||a.node.isElement(c)||(c=D(c).parentsUntil(a.$el,"a").first().get(0));"A"==e.tagName||a.node.isElement(e)||(e=D(e).parentsUntil(a.$el,"a").first().get(0));try{e&&(e.contains&&e.contains(a.el)||!a.el.contains(e)||a.el==e)&&(e=null)}catch(H){e=null}try{c&&(c.contains&&c.contains(a.el)||!a.el.contains(c)||a.el==
c)&&(c=null)}catch(H){c=null}return e&&e==c&&"A"==e.tagName?(a.browser.msie||a.helpers.isMobile())&&(a.selection.info(c).atEnd||a.selection.info(c).atStart)?null:c:null}if("A"==a.el.tagName)return a.el;if(c&&c.get(0).parentNode&&"A"==c.get(0).parentNode.tagName)return c.get(0).parentNode}function k(){var c=a.image?a.image.get():null,e=[];if(c)"A"==c.get(0).parentNode.tagName&&e.push(c.get(0).parentNode);else{var k;if(a.win.getSelection){var n=a.win.getSelection();if(n.getRangeAt&&n.rangeCount){var r=
a.doc.createRange();for(var v=0;v<n.rangeCount;++v)if(c=n.getRangeAt(v),(k=c.commonAncestorContainer)&&1!=k.nodeType&&(k=k.parentNode),k&&"a"==k.nodeName.toLowerCase())e.push(k);else{k=k.getElementsByTagName("a");for(var b=0;b<k.length;++b)r.selectNodeContents(k[b]),1>r.compareBoundaryPoints(c.END_TO_START,c)&&-1<r.compareBoundaryPoints(c.START_TO_END,c)&&e.push(k[b])}}}else if(a.doc.selection&&"Control"!=a.doc.selection.type)if(c=a.doc.selection.createRange(),k=c.parentElement(),"a"==k.nodeName.toLowerCase())e.push(k);
else for(k=k.getElementsByTagName("a"),r=a.doc.body.createTextRange(),n=0;n<k.length;++n)r.moveToElementText(k[n]),-1<r.compareEndPoints("StartToEnd",c)&&1>r.compareEndPoints("EndToStart",c)&&e.push(k[n])}return e}function K(g){if(a.core.hasFocus()){L();if(g&&"keyup"===g.type&&(g.altKey||g.which==e.KEYCODE.ALT))return!0;setTimeout(function(){if(!g||g&&(1==g.which||"mouseup"!=g.type)){var k=c(),n=a.image?a.image.get():null;if(k&&!n){if(a.image&&(n=a.node.contents(k),1==n.length&&"IMG"==n[0].tagName))return n=
a.selection.ranges(0),0===n.startOffset&&0===n.endOffset?D(k).before(e.INVISIBLE_SPACE+e.MARKERS):D(k).after(e.INVISIBLE_SPACE+e.MARKERS),a.selection.restore(),!1;g&&g.stopPropagation();V(k)}}},a.helpers.isIOS()?100:0)}}function V(c){a.popups.get("link.edit")||v();c=D(c);a.popups.isVisible("link.edit")||a.popups.refresh("link.edit");a.popups.setContainer("link.edit",a.$sc);var e=c.offset().left+c.outerWidth()/2,g=c.offset().top+c.outerHeight();a.popups.show("link.edit",e,g,c.outerHeight(),!0)}function L(){a.popups.hide("link.edit")}
function v(){var e="";1<=a.opts.linkEditButtons.length&&("A"==a.el.tagName&&0<=a.opts.linkEditButtons.indexOf("linkRemove")&&a.opts.linkEditButtons.splice(a.opts.linkEditButtons.indexOf("linkRemove"),1),e='<div class="fr-buttons">'.concat(a.button.buildList(a.opts.linkEditButtons),"</div>"));e=a.popups.create("link.edit",{buttons:e});a.$wp&&a.events.$on(a.$wp,"scroll.link-edit",function(){c()&&a.popups.isVisible("link.edit")&&V(c())});return e}function r(){var e=a.popups.get("link.insert"),k=c();
if(k){k=D(k);var n=e.find('input.fr-link-attr[type="text"]'),r=e.find('input.fr-link-attr[type="checkbox"]'),v;for(v=0;v<n.length;v++){var w=D(n[v]);w.val(k.attr(w.attr("name")||""))}r.attr("checked",!1);for(v=0;v<r.length;v++)w=D(r[v]),k.attr(w.attr("name"))==w.data("checked")&&w.attr("checked",!0);e.find('input.fr-link-attr[type="text"][name="text"]').val(k.text())}else e.find('input.fr-link-attr[type="text"]').val(""),e.find('input.fr-link-attr[type="checkbox"]').attr("checked",!1),e.find('input.fr-link-attr[type="text"][name="text"]').val(a.selection.text());
e.find("input.fr-link-attr").trigger("change");a.image&&a.image.get()?e.find('.fr-link-attr[name="text"]').parent().hide():e.find('.fr-link-attr[name="text"]').parent().show()}function n(e){if(e)return a.popups.onRefresh("link.insert",r),!0;e="";1<=a.opts.linkInsertButtons.length&&(e='<div class="fr-buttons fr-tabs">'.concat(a.button.buildList(a.opts.linkInsertButtons),"</div>"));var g="",k=0;g='<div class="fr-link-insert-layer fr-layer fr-active" id="fr-link-insert-layer-'.concat(a.id,'">');g+='<div class="fr-input-line"><input id="fr-link-insert-layer-url-'.concat(a.id,
'" name="href" type="text" class="fr-link-attr" placeholder="').concat(a.language.translate("URL"),'" tabIndex="').concat(++k,'"></div>');a.opts.linkText&&(g+='<div class="fr-input-line"><input id="fr-link-insert-layer-text-'.concat(a.id,'" name="text" type="text" class="fr-link-attr" placeholder="').concat(a.language.translate("Text"),'" tabIndex="').concat(++k,'"></div>'));for(var n in a.opts.linkAttributes)if(a.opts.linkAttributes.hasOwnProperty(n)){var v=a.opts.linkAttributes[n];g+='<div class="fr-input-line"><input name="'.concat(n,
'" type="text" class="fr-link-attr" placeholder="').concat(a.language.translate(v),'" tabIndex="').concat(++k,'"></div>')}a.opts.linkAlwaysBlank||(g+='<div class="fr-checkbox-line"><span class="fr-checkbox"><input name="target" class="fr-link-attr" data-checked="_blank" type="checkbox" id="fr-link-target-'.concat(a.id,'" tabIndex="').concat(++k,'"><span>').concat('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>',
'</span></span><label id="fr-label-target-').concat(a.id,'">').concat(a.language.translate("Open in new tab"),"</label></div>"));g+='<div class="fr-action-buttons"><button class="fr-command fr-submit" role="button" data-cmd="linkInsert" href="#" tabIndex="'.concat(++k,'" type="button">').concat(a.language.translate("Insert"),"</button></div></div>");n=a.popups.create("link.insert",{buttons:e,input_layer:g});a.$wp&&a.events.$on(a.$wp,"scroll.link-insert",function(){a.image&&a.image.get()&&a.popups.isVisible("link.insert")&&
R();c&&a.popups.isVisible("link.insert")&&M()});return n}function w(g,n,r){if(a.opts.trackChangesEnabled){a.edit.on();a.events.focus(!0);a.undo.saveStep();a.markers.insert();a.html.wrap();if(!a.$el.find(".fr-marker").length){a.popups.hide("link.insert");return}a.markers.remove()}"undefined"==typeof r&&(r={});if(!1===a.events.trigger("link.beforeInsert",[g,n,r]))return!1;var v=a.image?a.image.get():null;v||"A"==a.el.tagName?"A"==a.el.tagName&&a.$el.focus():(a.selection.restore(),a.popups.hide("link.insert"));
var w=g;a.opts.linkConvertEmailAddress&&a.helpers.isEmail(g)&&!/^mailto:.*/i.test(g)&&(g="mailto:".concat(g));var z=/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i;""===a.opts.linkAutoPrefix||(new RegExp("^("+e.LinkProtocols.join("|")+"):.","i")).test(g)||/^data:image.*/i.test(g)||/^(https?:|ftps?:|file:|)\/\//i.test(g)||z.test(g)||0>"/{[#(.".split("").indexOf((g||"")[0])&&(g=a.opts.linkAutoPrefix+g);g=a.helpers.sanitizeURL(g);a.opts.linkAlwaysBlank&&(r.target="_blank");a.opts.linkAlwaysNoFollow&&
(r.rel="nofollow");a.helpers.isEmail(w)&&(r.target=null,r.rel=null);"_blank"==r.target?(a.opts.linkNoOpener&&(r.rel=r.rel?r.rel+" noopener":"noopener"),a.opts.linkNoReferrer&&(r.rel=r.rel?r.rel+" noreferrer":"noreferrer")):null==r.target&&(r.rel=r.rel?r.rel.replace(/noopener/,"").replace(/noreferrer/,""):null);n=n||"";if(g===a.opts.linkAutoPrefix)return a.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),a.events.trigger("link.bad",[w]),!1;if(z=c()){w=D(z);w.attr("href",g);
if(0<n.length&&w.text()!=n&&!v){a.opts.trackChangesEnabled&&(g=D(w.get(0).outerHTML),g.insertBefore(w.parent()),g=a.track_changes.wrapLinkInTracking(g,a.track_changes.getPendingChanges().length-1),g=a.track_changes.wrapInDelete(g),w.parent().append(g));for(g=w.get(0);1===g.childNodes.length&&g.childNodes[0].nodeType==Node.ELEMENT_NODE;)g=g.childNodes[0];D(g).text(n)}v||w.prepend(e.START_MARKER).append(e.END_MARKER);for(var b in r)r[b]?w.attr(b,r[b]):w.removeAttr(b);v||a.selection.restore()}else{if(v)v.wrap('<a href="'.concat(g,
'"></a>')),a.image.hasCaption()&&v.parent().append(v.parents(".fr-img-caption").find(".fr-inner"));else if(a.format.remove("a"),a.selection.isCollapsed())n=0===n.length?w:n,a.html.insert('<a href="'.concat(g,'">').concat(e.START_MARKER).concat(n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")).concat(e.END_MARKER,"</a>")),a.selection.restore();else if(0<n.length&&n!=a.selection.text().replace(/\n/g,""))a.selection.remove(),a.html.insert('<a href="'.concat(g,'">').concat(e.START_MARKER).concat(n.replace(/&/g,
"&").replace(/</g,"<").replace(/>/g,">")).concat(e.END_MARKER,"</a>")),a.selection.restore();else{if(!a.selection.isCollapsed()){a.selection.save();for(n=a.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();n.length;){z=D(n.pop());z.removeClass("fr-unprocessed");if(n=a.node.deepestParent(z.get(0))){var d=z.get(0);w=b="";do d=d.parentNode,a.node.isBlock(d)||(b+=a.node.closeTagString(d),w=a.node.openTagString(d)+w);while(d!=n);d=a.node.openTagString(z.get(0))+z.html()+a.node.closeTagString(z.get(0));
z.replaceWith('<span id="fr-break"></span>');z=n.outerHTML;z=z.replace(/<span id="fr-break"><\/span>/g,b+d+w);z=z.replace(w+b,"");n.outerHTML=z}n=a.$el.find(".fr-marker.fr-unprocessed").toArray()}a.html.cleanEmptyTags();a.selection.restore()}a.format.apply("a",{href:g})}g=k();for(n=0;n<g.length;n++)w=D(g[n]),w.attr(r),w.removeAttr("_moz_dirty");1==g.length&&a.$wp&&!v&&(D(g[0]).prepend(e.START_MARKER).append(e.END_MARKER),a.selection.restore())}v?((r=a.popups.get("link.insert"))&&r.find("input:focus").blur(),
a.image.edit(v)):K()}function M(){L();var e=c();if(e){a.popups.get("link.insert")||n();a.popups.isVisible("link.insert")||(a.popups.refresh("link.insert"),a.selection.save(),a.helpers.isMobile()&&(a.events.disableBlur(),a.$el.blur(),a.events.enableBlur()));a.popups.setContainer("link.insert",a.$sc);e=(a.image?a.image.get():null)||D(e);var k=e.offset().left+e.outerWidth()/2,r=e.offset().top+e.outerHeight();a.popups.show("link.insert",k,r,e.outerHeight(),!0)}}function R(){var c=a.image?a.image.getEl():
null;if(c){var e=a.popups.get("link.insert");a.image.hasCaption()&&(c=c.find(".fr-img-wrap"));e||n();r(!0);a.popups.setContainer("link.insert",a.$sc);e=c.offset().left+c.outerWidth()/2;var k=c.offset().top+c.outerHeight();a.popups.show("link.insert",e,k,c.outerHeight(),!0)}}var D=a.$;return{_init:function(){a.events.on("keyup",function(a){a.which!=e.KEYCODE.ESC&&K(a)});a.events.on("window.mouseup",K);a.events.$on(a.$el,"click","a",function(c){a.edit.isDisabled()&&c.preventDefault()});a.helpers.isMobile()&&
a.events.$on(a.$doc,"selectionchange",K);n(!0);"A"==a.el.tagName&&a.$el.addClass("fr-view");a.events.on("toolbar.esc",function(){if(a.popups.isVisible("link.edit"))return a.events.disableBlur(),a.events.focus(),!1},!0)},remove:function(){var e=c(),k=a.image?a.image.get():null;if(!1===a.events.trigger("link.beforeRemove",[e]))return!1;k&&e?a.image.hasCaption()?(k.addClass("img-link-caption"),D(e).replaceWith(D(e).html()),e=document.querySelectorAll("img.img-link-caption"),a.image.edit(D(e[0])),D(e[0]).removeClass("img-link-caption")):
(k.unwrap(),a.image.edit(k)):e&&(a.selection.save(),D(e).replaceWith(D(e).html()),a.selection.restore(),L())},showInsertPopup:function(){var c=a.$tb.find('.fr-command[data-cmd="insertLink"]'),e=a.popups.get("link.insert");e||(e=n());e.hasClass("fr-active")||(a.popups.refresh("link.insert"),a.popups.setContainer("link.insert",a.$tb||a.$sc),c.isVisible()?(e=a.button.getPosition(c),a.popups.show("link.insert",e.left,e.top,c.outerHeight())):(a.position.forSelection(e),a.popups.show("link.insert")))},
usePredefined:function(c){c=a.opts.linkList[c];var e=a.popups.get("link.insert"),g=e.find('input.fr-link-attr[type="text"]'),k=e.find('input.fr-link-attr[type="checkbox"]'),n;c.rel&&(e.rel=c.rel);for(n=0;n<g.length;n++){var r=D(g[n]);c[r.attr("name")]?(r.val(c[r.attr("name")]),r.toggleClass("fr-not-empty",!0)):"text"!=r.attr("name")&&r.val("")}for(n=0;n<k.length;n++)r=D(k[n]),r.attr("checked",r.data("checked")==c[r.attr("name")]);a.accessibility.focusPopup(e)},insertCallback:function(){var c=a.popups.get("link.insert"),
e=c.find('input.fr-link-attr[type="text"]'),k=c.find('input.fr-link-attr[type="checkbox"]'),n=(e.filter('[name="href"]').val()||"").trim(),r=a.opts.linkText?e.filter('[name="text"]').val():"",v={},b;for(b=0;b<e.length;b++){var d=D(e[b]);0>["href","text"].indexOf(d.attr("name"))&&(v[d.attr("name")]=d.val())}for(b=0;b<k.length;b++)d=D(k[b]),d.is(":checked")?v[d.attr("name")]=d.data("checked"):v[d.attr("name")]=d.data("unchecked")||null;c.rel?v.rel=c.rel:"";c=a.helpers.scrollTop();w(n,r,v);D(a.o_win).scrollTop(c)},
insert:w,update:M,get:c,allSelected:k,back:function(){a.image&&a.image.get()?a.image.back():(a.events.disableBlur(),a.selection.restore(),a.events.enableBlur(),c()&&a.$wp?(a.selection.restore(),L(),K()):"A"==a.el.tagName?(a.$el.focus(),K()):(a.popups.hide("link.insert"),a.toolbar.showInline()))},imageLink:R,applyStyle:function(e,k,n){"undefined"==typeof n&&(n=a.opts.linkMultipleStyles);"undefined"==typeof k&&(k=a.opts.linkStyles);var g=c();if(!g)return!1;n||(k=Object.keys(k),k.splice(k.indexOf(e),
1),D(g).removeClass(k.join(" ")));D(g).toggleClass(e);K()}}};e.DefineIcon("insertLink",{NAME:"link",SVG_KEY:"insertLink"});e.RegisterShortcut(e.KEYCODE.K,"insertLink",null,"K");e.RegisterCommand("insertLink",{title:"Insert Link",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("link.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("link.insert")):this.link.showInsertPopup()},plugin:"link"});
e.DefineIcon("linkOpen",{NAME:"external-link",FA5NAME:"external-link-alt",SVG_KEY:"openLink"});e.RegisterCommand("linkOpen",{title:"Open Link",undo:!1,refresh:function(a){this.link.get()?a.removeClass("fr-hidden"):a.addClass("fr-hidden")},callback:function(){var a=this.link.get();a&&(-1!==a.href.indexOf("mailto:")?this.o_win.open(a.href).close():(a.target||(a.target="_self"),this.browser.msie||this.browser.edge?this.o_win.open(a.href,a.target):this.o_win.open(a.href,a.target,"noopener")),this.popups.hide("link.edit"))},
plugin:"link"});e.DefineIcon("linkEdit",{NAME:"edit",SVG_KEY:"edit"});e.RegisterCommand("linkEdit",{title:"Edit Link",undo:!1,refreshAfterCallback:!1,popup:!0,callback:function(){this.link.update()},refresh:function(a){this.link.get()?a.removeClass("fr-hidden"):a.addClass("fr-hidden")},plugin:"link"});e.DefineIcon("linkRemove",{NAME:"unlink",SVG_KEY:"unlink"});e.RegisterCommand("linkRemove",{title:"Unlink",callback:function(){this.link.remove()},refresh:function(a){this.link.get()?a.removeClass("fr-hidden"):
a.addClass("fr-hidden")},plugin:"link"});e.DefineIcon("linkBack",{NAME:"arrow-left",SVG_KEY:"back"});e.RegisterCommand("linkBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.link.back()},refresh:function(a){var c=this.link.get()&&this.doc.hasFocus();this.image&&this.image.get()||c||this.opts.toolbarInline?(a.removeClass("fr-hidden"),a.next(".fr-separator").removeClass("fr-hidden")):(a.addClass("fr-hidden"),a.next(".fr-separator").addClass("fr-hidden"))},
plugin:"link"});e.DefineIcon("linkList",{NAME:"search",SVG_KEY:"search"});e.RegisterCommand("linkList",{title:"Choose Link",type:"dropdown",focus:!1,undo:!1,refreshAfterCallback:!1,html:function(){for(var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.linkList,e=0;e<c.length;e++)a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="linkList" data-param1="'.concat(e,'">').concat(c[e].displayText||c[e].text,"</a></li>");return a+"</ul>"},callback:function(a,
c){this.link.usePredefined(c)},plugin:"link"});e.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(a){this.link.get()?a.text(this.language.translate("Update")):a.text(this.language.translate("Insert"))},plugin:"link"});e.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"});e.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(a){if(this.link.get()){var c=
a.prev();c.hasClass("fr-separator")&&c.removeClass("fr-hidden");a.addClass("fr-hidden")}else c=a.prev(),c.hasClass("fr-separator")&&c.addClass("fr-hidden"),a.removeClass("fr-hidden")},plugin:"link"});e.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"});e.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.linkStyles,e;for(e in c)c.hasOwnProperty(e)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="linkStyle" data-param1="'.concat(e,
'">').concat(this.language.translate(c[e]),"</a></li>"));return a+"</ul>"},callback:function(a,c){this.link.applyStyle(c)},refreshOnShow:function(a,c){var e=this.$;if(a=this.link.get()){var K=e(a);c.find(".fr-command").each(function(){var a=e(this).data("param1");a=K.hasClass(a);e(this).toggleClass("fr-active",a).attr("aria-selected",a)})}},refresh:function(a){this.link.get()?a.removeClass("fr-hidden"):a.addClass("fr-hidden")},plugin:"link"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.DEFAULTS,{listAdvancedTypes:!0});e.PLUGINS.lists=function(a){function c(a){return'<span class="fr-open-'.concat(a.toLowerCase(),'"></span>')}function k(a){return'<span class="fr-close-'.concat(a.toLowerCase(),'"></span>')}function K(e){var r,
n;for(r=e.length-1;0<=r;r--)for(n=r-1;0<=n;n--){if(L(e[n]).find(e[r]).length||e[n]==e[r]){e.splice(r,1);break}if(L(e[n]).contains(e[r])){e.splice(n,1);break}}n=[];for(r=0;r<e.length;r++){var w=L(e[r]),v=e[r].parentNode,K=w.attr("class");w.before(k(v.tagName));if("LI"==v.parentNode.tagName)w.before(k("LI")),w.after(c("LI"));else if("OL"==v.parentNode.tagName)w.before(k("OL")),w.after(c("OL"));else{var D="";K&&(D+=' class="'.concat(K,'"'));K="rtl"==a.opts.direction||"rtl"==w.css("direction")?"margin-right":
"margin-left";a.helpers.getPX(L(v).css(K))&&0<=(L(v).attr("style")||"").indexOf("".concat(K,":"))&&(D+=' style="'.concat(K,":").concat(a.helpers.getPX(L(v).css(K)),'px;"'));a.html.defaultTag()&&0===w.find(a.html.blockTagsQuery()).length&&w.wrapInner(a.html.defaultTag()+D);a.node.isEmpty(w.get(0),!0)||0!==w.find(a.html.blockTagsQuery()).length||w.append("<br>");w.append(c("LI"));w.prepend(k("LI"))}w.after(c(v.tagName));"LI"==v.parentNode.tagName&&(v=v.parentNode.parentNode);0>n.indexOf(v)&&n.push(v)}for(r=
0;r<n.length;r++)e=L(n[r]),w=e.html(),w=w.replace(/<span class="fr-close-([a-z]*)"><\/span>/g,"</$1>"),w=w.replace(/<span class="fr-open-([a-z]*)"><\/span>/g,"<$1>"),e.replaceWith(a.node.openTagString(e.get(0))+w+a.node.closeTagString(e.get(0)));a.$el.find("li:empty").remove();a.$el.find("ul:empty, ol:empty").remove();a.clean.lists();a.$el.find("ul:empty, ol:empty").remove();a.html.wrap()}function V(c){if("indent"==c||"outdent"==c){var e=!1,k=a.selection.blocks(),w=[],v=k[0].previousSibling||k[0].parentElement;
if("outdent"==c){if("UL"!=k[0].parentNode.tagName&&"UL"!=v.parentNode.tagName&&"OL"!=v.parentNode.tagName&&"LI"!=v.parentNode.tagName||!k[0].previousSibling&&"none"==v.parentNode.style.listStyleType)return}else if("UL"!=v.parentNode.tagName&&"OL"!=v.parentNode.tagName&&"LI"!=v.parentNode.tagName||!k[0].previousSibling||"LI"!=k[0].previousSibling.tagName)return;for(v=0;v<k.length;v++)"LI"==k[v].tagName?(e=!0,w.push(k[v])):"LI"==k[v].parentNode.tagName&&(e=!0,w.push(k[v].parentNode));if(e){if("indent"==
c){a.selection.save();for(c=0;c<w.length;c++)if(e=w[c].previousSibling)if(k=L(w[c]).find("> ul, > ol").last().get(0)){v=L(document.createElement("li"));if(k.childNodes.length)for(var R=k.childNodes[0].attributes,D=0;D<R.length;D++){var g=R[D];"style"===g.name&&(v[0].style.cssText+=g.value)}L(k).prepend(v);for(R=a.node.contents(w[c])[0];R&&!a.node.isList(R);)D=R.nextSibling,v.append(R),R=D;L(e).append(L(k));L(w[c]).remove()}else(k=L(e).find("> ul, > ol").last().get(0))?L(k).append(L(w[c])):(k=L("<".concat(w[c].parentNode.tagName,
">")),L(e).append(k),k.append(L(w[c])));a.clean.lists()}else a.selection.save(),K(w);a.selection.restore()}}}var L=a.$;return{_init:function(){a.events.on("commands.after",V);a.events.on("keydown",function(c){if(c.which==e.KEYCODE.TAB){for(var k=a.selection.blocks(),n=[],w=0;w<k.length;w++)"LI"==k[w].tagName?n.push(k[w]):"LI"==k[w].parentNode.tagName&&n.push(k[w].parentNode);if(1<n.length||n.length&&(a.selection.info(n[0]).atStart||a.node.isEmpty(n[0])))return c.preventDefault(),c.stopPropagation(),
c.shiftKey?a.commands.outdent():a.commands.indent(),!1}},!0)},format:function(c,e){var k;a.html.syncInputs();a.selection.save();a.html.wrap(!0,!0,!0,!0);a.selection.restore();var r=a.selection.blocks(!0);for(k=0;k<r.length;k++)"LI"!=r[k].tagName&&"LI"==r[k].parentNode.tagName&&(r[k]=r[k].parentNode);a.selection.save();a:{k=!0;for(var v=0;v<r.length;v++){if("LI"!=r[v].tagName){k=!1;break a}r[v].parentNode.tagName!=c&&(k=!1)}}if(k)e||K(r);else{k=[];for(v=0;v<r.length;v++){var R=r[v].parentNode;"LI"==
r[v].tagName&&R.tagName!=c&&0>k.indexOf(R)&&k.push(R)}for(v=k.length-1;0<=v;v--)R=L(k[v]),R.replaceWith("<".concat(c.toLowerCase()," ").concat(a.node.attributes(R.get(0)),">").concat(R.html(),"</").concat(c.toLowerCase(),">"));k=a.html.defaultTag();v=null;var D;r.length&&(D="rtl"==a.opts.direction||"rtl"==L(r[0]).css("direction")?"margin-right":"margin-left");for(R=0;R<r.length;R++)if("TD"!=r[R].tagName&&"TH"!=r[R].tagName&&"LI"!=r[R].tagName){var g=a.helpers.getPX(L(r[R]).css(D))||0;r[R].style.marginLeft=
null;null===v&&(v=g);var z=0<v?"<".concat(c,' style="').concat(D,": ").concat(v,'px ">'):"<".concat(c,">"),H="</".concat(c,">");for(g-=v;0<g/a.opts.indentMargin;)z+="</".concat(c,">"),H+=H,g-=a.opts.indentMargin;k&&r[R].tagName.toLowerCase()==k?L(r[R]).replaceWith("".concat(z,"<li").concat(a.node.attributes(r[R]),">").concat(L(r[R]).html(),"</li>").concat(H)):L(r[R]).wrap("".concat(z,"<li></li>").concat(H))}a.clean.lists()}a.html.unwrap();a.selection.restore();e=e||"default";r=a.selection.blocks();
for(k=0;k<r.length;k++)"LI"!=r[k].tagName&&"LI"==r[k].parentNode.tagName&&(r[k]=r[k].parentNode);for(k=0;k<r.length;k++)"LI"==r[k].tagName&&(L(r[k].parentNode).css("list-style-type","default"===e?"":e),0===(L(r[k].parentNode).attr("style")||"").length&&L(r[k].parentNode).removeAttr("style"))},refresh:function(c,e){var k=L(a.selection.element());if(k.get(0)!=a.el){var r=k.get(0);(r="LI"!=r.tagName&&r.firstElementChild&&"LI"!=r.firstElementChild.tagName?k.parents("li").get(0):"LI"==r.tagName||r.firstElementChild?
r.firstElementChild&&"LI"==r.firstElementChild.tagName?k.get(0).firstChild:k.get(0):k.parents("li").get(0))&&r.parentNode.tagName==e&&a.el.contains(r.parentNode)&&c.addClass("fr-active")}}}};e.DefineIcon("formatOLSimple",{NAME:"list-ol",SVG_KEY:"orderedList"});e.RegisterCommand("formatOLSimple",{title:"Ordered List",type:"button",options:{"default":"Default",circle:"Circle",disc:"Disc",square:"Square"},refresh:function(a){this.lists.refresh(a,"OL")},callback:function(a,c){this.lists.format("OL",c)},
plugin:"lists"});e.RegisterCommand("formatUL",{title:"Unordered List",type:"button",hasOptions:function(){return this.opts.listAdvancedTypes},options:{"default":"Default",circle:"Circle",disc:"Disc",square:"Square"},refresh:function(a){this.lists.refresh(a,"UL")},callback:function(a,c){this.lists.format("UL",c)},plugin:"lists"});e.RegisterCommand("formatOL",{title:"Ordered List",hasOptions:function(){return this.opts.listAdvancedTypes},options:{"default":"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek",
"lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},refresh:function(a){this.lists.refresh(a,"OL")},callback:function(a,c){this.lists.format("OL",c)},plugin:"lists"});e.DefineIcon("formatUL",{NAME:"list-ul",SVG_KEY:"unorderedList"});e.DefineIcon("formatOL",{NAME:"list-ol",SVG_KEY:"orderedList"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.DEFAULTS,{paragraphFormat:{N:"Normal",H1:"Heading 1",H2:"Heading 2",H3:"Heading 3",H4:"Heading 4",PRE:"Code"},paragraphFormatSelection:!1,paragraphDefaultSelection:"Paragraph Format"});e.PLUGINS.paragraphFormat=function(a){function c(c,
e){var k=a.html.defaultTag();if(e&&e.toLowerCase()!=k)if(0<c.find("ul, ol").length)for(e=L("<"+e+">"),c.prepend(e),c=a.node.contents(c.get(0))[0];c&&0>["UL","OL"].indexOf(c.tagName);)k=c.nextSibling,e.append(c),c=k;else c.html("<"+e+">"+c.html()+"</"+e+">")}function e(c,e){var k=a.html.defaultTag();e&&e.toLowerCase()!=k||(e='div class="fr-temp-div"');c.replaceWith(L("<"+e+">").html(c.html()))}function K(c,e){var k=a.html.defaultTag();e||(e='div class="fr-temp-div"'+(a.node.isEmpty(c.get(0),!0)?' data-empty="true"':
""));e.toLowerCase()==k?(a.node.isEmpty(c.get(0),!0)||c.append("<br/>"),c.replaceWith(c.html())):c.replaceWith(L("<"+e+">").html(c.html()))}function V(c,e){e||(e='div class="fr-temp-div"'+(a.node.isEmpty(c.get(0),!0)?' data-empty="true"':""));"H1"==e||"H2"==e||"H3"==e||"H4"==e||"H5"==e?-1<a.node.attributes(c.get(0)).indexOf("font-size:")?c.replaceWith(L("<"+e+" "+a.node.attributes(c.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(c.html()).removeAttr("data-empty")):c.replaceWith(L("<"+e+" "+
a.node.attributes(c.get(0))+">").html(c.html()).removeAttr("data-empty")):c.replaceWith(L("<"+e+" "+a.node.attributes(c.get(0))+">").html(c.html()).removeAttr("data-empty"))}var L=a.$;return{apply:function(k){"N"==k&&(k=a.html.defaultTag());a.selection.save();a.html.wrap(!0,!0,!a.opts.paragraphFormat.BLOCKQUOTE,!0,!0);a.selection.restore();var r=a.selection.blocks();a.selection.save();a.$el.find("pre").attr("skip",!0);for(var n=0;n<r.length;n++)if(r[n].tagName!=k&&!a.node.isList(r[n])){var v=L(r[n]);
if("LI"==r[n].tagName)c(v,k);else if("LI"==r[n].parentNode.tagName&&r[n])e(v,k);else if(0<=["TD","TH"].indexOf(r[n].parentNode.tagName))K(v,k);else{if("PRE"===k&&null===v[0].nextSibling){var M=L("<br>");v[0].after(M[0])}V(v,k)}}a.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){L(this).prev().append("<br>"+L(this).html());L(this).remove()});a.$el.find("pre").removeAttr("skip");a.html.unwrap();a.selection.restore()},refreshOnShow:function(c,e){c=a.selection.blocks();if(c.length){c=
c[0];var k="N",r=a.html.defaultTag();c.tagName.toLowerCase()!=r&&c!=a.el&&(k=c.tagName);e.find('.fr-command[data-param1="'+k+'"]').addClass("fr-active").attr("aria-selected",!0)}else e.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function(c){if(a.opts.paragraphFormatSelection){var e=a.selection.blocks();if(e.length){e=e[0];var k="N",v=a.html.defaultTag();e.tagName.toLowerCase()!=v&&e!=a.el&&(k=e.tagName);0<=["LI","TD","TH"].indexOf(k)&&(k="N");c.find(">span").text(a.language.translate(a.opts.paragraphFormat[k]))}else c.find(">span").text(a.language.translate(a.opts.paragraphFormat.N))}}}};
e.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(a){return a.opts.paragraphFormatSelection},defaultSelection:function(a){return a.language.translate(a.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.paragraphFormat,e;for(e in c)c.hasOwnProperty(e)&&(this.shortcuts.get("paragraphFormat."+e),a+='<li role="presentation"><'+("N"==e?this.html.defaultTag()||"DIV":e)+' style="padding: 0 !important; margin: 0 !important; border: 0 !important; background-color: transparent !important; '+
("PRE"==e||"N"==e?"font-size: 15px":"font-weight: bold !important; ")+("H1"==e?"font-size: 2em !important; ":"")+("H2"==e?"font-size: 1.5em !important; ":"")+("H3"==e?"font-size: 1.17em !important; ":"")+("H4"==e?"font-size: 15px !important;":"")+'" role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="paragraphFormat" data-param1="'+e+'" title="'+this.language.translate(c[e])+'">'+this.language.translate(c[e])+"</a></"+("N"==e?this.html.defaultTag()||"DIV":e)+"></li>");
return a+"</ul>"},title:"Paragraph Format",callback:function(a,c){this.paragraphFormat.apply(c)},refresh:function(a){this.paragraphFormat.refresh(a)},refreshOnShow:function(a,c){this.paragraphFormat.refreshOnShow(a,c)},plugin:"paragraphFormat"});e.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"});Object.assign(e.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:"tableHeader tableRemove tableRows tableColumns tableStyle - tableCells tableCellBackground tableCellVerticalAlign tableCellHorizontalAlign tableCellStyle".split(" "),
tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:"#61BD6D #1ABC9C #54ACD2 #2C82C9 #9365B8 #475577 #CCCCCC #41A85F #00A885 #3D8EB9 #2969B0 #553982 #28324E #000000 #F7DA64 #FBA026 #EB6B56 #E25041 #A38F84 #EFEFEF #FFFFFF #FAC51C #F37934 #D14841 #B8312F #7C706B #D1D5D8 REMOVE".split(" "),tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders",
"fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15});e.PLUGINS.table=function(a){function c(){var b=h();if(b){var c=a.popups.get("table.edit");c||(c=n());c&&(a.popups.setContainer("table.edit",a.$sc),b=C(b),a.popups.show("table.edit",b.left+(b.right-b.left)/2,b.bottom,b.bottom-b.top,!0),a.edit.isDisabled()&&(1<Y().length&&a.toolbar.disable(),a.$el.removeClass("fr-no-selection"),a.edit.on(),a.button.bulkRefresh(),
a.selection.setAtEnd(a.$el.find(".fr-selected-cell").last().get(0)),a.selection.restore()))}}function k(){var b=h();if(b){a.popups.get("table.colors")||w();a.popups.setContainer("table.colors",a.$sc);b=C(b);var c=(b.left+b.right)/2,d=b.bottom,e=a.popups.get("table.colors"),f=a.$el.find(".fr-selected-cell").first();f=a.helpers.RGBToHex(f.css("background-color"));var g=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item");e.find('span[data-param1="'.concat(f,
'"]')).addClass("fr-selected-color fr-active-item");g.val(f).trigger("change");a.popups.show("table.colors",c,d,b.bottom-b.top,!0)}}function K(){0===Y().length&&a.toolbar.enable()}function V(b){if(b)return a.popups.onHide("table.insert",function(){a.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;b="";0<a.opts.tableInsertButtons.length&&(b='<div class="fr-buttons fr-tabs">'.concat(a.button.buildList(a.opts.tableInsertButtons),
"</div>"));b={buttons:b,rows_columns:v()};b=a.popups.create("table.insert",b);a.events.$on(b,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(a){L(B(a.currentTarget))},!0);r(b);return b}function L(b){var c=b.data("row");null!==c&&(c=parseInt(c));var d=b.data("col");null!==d&&(d=parseInt(d));var e=b.parent();e.siblings(".fr-table-size-info").html("".concat(c," × ").concat(d));e.find("> span").removeClass("hover fr-active-item");for(var f=1;f<=a.opts.tableInsertMaxSize;f++)for(var g=
0;g<=a.opts.tableInsertMaxSize;g++){var h=e.find('> span[data-row="'.concat(f,'"][data-col="').concat(g,'"]'));f<=c&&g<=d?h.addClass("hover"):f<=c+1||2>=f&&!a.helpers.isMobile()?h.css("display","inline-block"):2<f&&!a.helpers.isMobile()&&h.css("display","none")}b.addClass("fr-active-item")}function v(){for(var b='<div class="fr-table-size"><div class="fr-table-size-info">1 × 1</div><div class="fr-select-table-size">',c=1;c<=a.opts.tableInsertMaxSize;c++){for(var d=1;d<=a.opts.tableInsertMaxSize;d++){var e=
"inline-block";2<c&&!a.helpers.isMobile()&&(e="none");var f="fr-table-cell ";1==c&&1==d&&(f+=" hover");b+='<span class="fr-command '.concat(f,'" tabIndex="-1" data-cmd="tableInsert" data-row="').concat(c,'" data-col="').concat(d,'" data-param1="').concat(c,'" data-param2="').concat(d,'" style="display: ').concat(e,';" role="button"><span></span><span class="fr-sr-only">').concat(c," × ").concat(d," </span></span>")}b+='<div class="new-line"></div>'}return b+"</div></div>"}function r(b){a.events.$on(b,
"focus","[tabIndex]",function(a){a=B(a.currentTarget);L(a)});a.events.on("popup.tab",function(b){var c=B(b.currentTarget);if(!a.popups.isVisible("table.insert")||!c.is("span, a"))return!0;var d=b.which;if(e.KEYCODE.ARROW_UP==d||e.KEYCODE.ARROW_DOWN==d||e.KEYCODE.ARROW_LEFT==d||e.KEYCODE.ARROW_RIGHT==d){if(c.is("span.fr-table-cell")){var f=c.parent().find("span.fr-table-cell");var g=f.index(c);c=a.opts.tableInsertMaxSize;var h=g%c;g=Math.floor(g/c);e.KEYCODE.ARROW_UP==d?g=Math.max(0,g-1):e.KEYCODE.ARROW_DOWN==
d?g=Math.min(a.opts.tableInsertMaxSize-1,g+1):e.KEYCODE.ARROW_LEFT==d?h=Math.max(0,h-1):e.KEYCODE.ARROW_RIGHT==d&&(h=Math.min(a.opts.tableInsertMaxSize-1,h+1));d=B(f.get(g*c+h));L(d);a.events.disableBlur();d.focus();f=!1}}else e.KEYCODE.ENTER==d&&(a.button.exec(c),f=!1);!1===f&&(b.preventDefault(),b.stopPropagation());return f},!0)}function n(b){if(b)return a.popups.onHide("table.edit",K),!0;b="";return 0<a.opts.tableEditButtons.length?(b='<div class="fr-buttons">'.concat(a.button.buildList(a.opts.tableEditButtons),
"</div>"),b=a.popups.create("table.edit",{buttons:b}),a.events.$on(a.$wp,"scroll.table-edit",function(){a.popups.isVisible("table.edit")&&c()}),b):!1}function w(){var b="";0<a.opts.tableColorsButtons.length&&(b='<div class="fr-buttons fr-tabs">'.concat(a.button.buildList(a.opts.tableColorsButtons),"</div>"));var c="";a.opts.colorsHEXInput&&(c='<div class="fr-color-hex-layer fr-table-colors-hex-layer fr-active fr-layer" id="fr-table-colors-hex-layer-'.concat(a.id,'"><div class="fr-input-line"><input maxlength="7" id="fr-table-colors-hex-layer-text-').concat(a.id,
'" type="text" placeholder="').concat(a.language.translate("HEX Color"),'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="tableCellBackgroundCustomColor" tabIndex="2" role="button">').concat(a.language.translate("OK"),"</button></div></div>"));b={buttons:b,colors:M(),custom_color:c};b=a.popups.create("table.colors",b);a.events.$on(a.$wp,"scroll.table-colors",function(){a.popups.isVisible("table.colors")&&k()});R(b);
return b}function M(){for(var b='<div class="fr-color-set fr-table-colors">',c=0;c<a.opts.tableColors.length;c++)0!==c&&0===c%a.opts.tableColorsStep&&(b+="<br>"),b="REMOVE"!=a.opts.tableColors[c]?b+'<span class="fr-command" style="background: '.concat(a.opts.tableColors[c],';" tabIndex="-1" role="button" data-cmd="tableCellBackgroundColor" data-param1="').concat(a.opts.tableColors[c],'"><span class="fr-sr-only">').concat(a.language.translate("Color")," ").concat(a.opts.tableColors[c]," </span></span>"):
b+'<span class="fr-command" data-cmd="tableCellBackgroundColor" tabIndex="-1" role="button" data-param1="REMOVE" title="'.concat(a.language.translate("Clear Formatting"),'">').concat(a.icon.create("tableColorRemove"),'<span class="fr-sr-only">').concat(a.language.translate("Clear Formatting"),"</span></span>");return b+"</div>"}function R(b){a.events.on("popup.tab",function(c){var d=B(c.currentTarget);if(!a.popups.isVisible("table.colors")||!d.is("span"))return!0;var f=c.which,g=!0;if(e.KEYCODE.TAB==
f)f=b.find(".fr-buttons"),g=!a.accessibility.focusToolbar(f,c.shiftKey?!0:!1);else if(e.KEYCODE.ARROW_UP==f||e.KEYCODE.ARROW_DOWN==f||e.KEYCODE.ARROW_LEFT==f||e.KEYCODE.ARROW_RIGHT==f){g=d.parent().find("span.fr-command");var h=g.index(d);d=a.opts.colorsStep;h=Math.floor(h/d)*d+h%d;var k=Math.floor(g.length/d)*d;e.KEYCODE.ARROW_UP==f?h=((h-d)%k+k)%k:e.KEYCODE.ARROW_DOWN==f?h=(h+d)%k:e.KEYCODE.ARROW_LEFT==f?h=((h-1)%k+k)%k:e.KEYCODE.ARROW_RIGHT==f&&(h=(h+1)%k);f=B(g.get(h));a.events.disableBlur();
f.focus();g=!1}else e.KEYCODE.ENTER==f&&(a.button.exec(d),g=!1);!1===g&&(c.preventDefault(),c.stopPropagation());return g},!0)}function D(){if(0<Y().length){var b=ja();a.selection.setBefore(b.get(0))||a.selection.setAfter(b.get(0));a.selection.restore();a.popups.hide("table.edit");a.opts.trackChangesEnabled?(a.track_changes.removedTable(b),J()):b.remove();a.toolbar.enable()}}function g(b){var d=ja();if(0<d.length&&!(0<a.$el.find("th.fr-selected-cell").length&&"above"==b)){var e,f=h(),g=aa(f);if(null!=
g){var k="above"==b?g.min_i:g.max_i;g="<tr>";for(e=0;e<f[k].length;e++)if("below"==b&&k<f.length-1&&f[k][e]==f[k+1][e]||"above"==b&&0<k&&f[k][e]==f[k-1][e]){if(0===e||0<e&&f[k][e]!=f[k][e-1]){var l=B(f[k][e]);l.attr("rowspan",parseInt(l.attr("rowspan"),10)+1)}}else l=B(f[k][e]),g+='<td style="'+l.attr("style")+'" ><br></td>';g+="</tr>";d=0<a.$el.find("th.fr-selected-cell").length&&"below"==b?B(d.find("tbody").not(d.find("> table tbody"))):B(d.find("tr").not(d.find("> table tr")).get(k));"below"==
b?"TBODY"==d.attr("tagName")?d.prepend(g):d[0].parentNode&&d[0].insertAdjacentHTML("afterend",g):"above"==b&&(d.before(g),a.popups.isVisible("table.edit")&&c())}}}function z(a,b,c){var d,e,f=0,g=h(c);b=Math.min(b,g[0].length-1);if(b>a)for(d=a;d<=b;d++)if(!(d>a&&g[0][d]==g[0][d-1])){var k=Math.min(parseInt(g[0][d].getAttribute("colspan"),10)||1,b-a+1);if(1<k&&g[0][d]==g[0][d+1])for(f=k-1,c=1;c<g.length;c++)if(g[c][d]!=g[c-1][d]){for(e=d;e<d+k;e++)if(void 0!==g[c][e]){var l=parseInt(g[c][e].getAttribute("colspan"),
10)||1;if(1<l&&g[c][e]==g[c][e+1])f=Math.min(f,l-1),e+=f;else if(f=Math.max(0,f-1),!f)break}if(!f)break}}f&&F(g,f,"colspan",0,g.length-1,a,b)}function H(a,b,c){var d,e,f=0,g=h(c);b=Math.min(b,g.length-1);if(b>a)for(c=a;c<=b;c++)if(!(c>a&&g[c][0]==g[c-1][0])&&void 0!==g[c][0]){var k=Math.min(parseInt(g[c][0].getAttribute("rowspan"),10)||1,b-a+1);if(1<k&&g[c][0]==g[c+1][0])for(f=k-1,d=1;d<g[0].length;d++)if(g[c][d]!=g[c][d-1]){for(e=c;e<c+k;e++)if(void 0!==g[e][d]){var l=parseInt(g[e][d].getAttribute("rowspan"),
10)||1;if(1<l&&g[e][d]==g[e+1][d])f=Math.min(f,l-1),e+=f;else if(f=Math.max(0,f-1),!f)break}if(!f)break}}f&&F(g,f,"rowspan",a,b,0,g[0].length-1)}function F(a,b,c,d,e,f,g){var h,k;for(h=d;h<=e;h++)for(k=f;k<=g;k++)if(!(h>d&&a[h][k]==a[h-1][k]||k>f&&a[h][k]==a[h][k-1])&&void 0!==a[h][k]){var l=parseInt(a[h][k].getAttribute(c),10)||1;1<l&&(1<l-b?a[h][k].setAttribute(c,l-b):a[h][k].removeAttribute(c))}}function ra(a,b,c,d,e){H(a,b,e);z(c,d,e)}function Z(b){var d=a.$el.find(".fr-selected-cell");"REMOVE"!=
b?d.css("background-color",a.helpers.HEXtoRGB(b)):d.css("background-color","");c()}function b(a){a.style.removeProperty("border");a.style.removeProperty("border-top");a.style.removeProperty("border-bottom");a.style.removeProperty("border-left");a.style.removeProperty("border-right")}function d(a,c){a=a.childNodes;if(0<a.length)for(var e=0;e<a.length;e++)"TD"===a[e].tagName?"fr-dashed-borders"===c||"fr-highlighted"===c||"fr-thick"===c?b(a[e]):"fr-alternate-rows"===c&&a[e].style.removeProperty("background-color"):
d(a[e],c)}function h(a){a=a||null;var b=[];null==a&&0<Y().length&&(a=ja());if(a){for(var c=a.find("tr:empty"),d=c.length-1;0<=d;d--)B(c[d]).remove();a.findVisible("tr").not(a.find("> table tr")).each(function(a,c){var d=0;B(c).find("> th, > td").each(function(c,e){var f=B(e);c=parseInt(f.attr("colspan"),10)||1;f=parseInt(f.attr("rowspan"),10)||1;for(var g=a;g<a+f;g++)for(var h=d;h<d+c;h++)b[g]||(b[g]=[]),b[g][h]?d++:b[g][h]=e;d+=c})})}return b}function u(a,b){for(var c=0;c<b.length;c++)for(var d=
0;d<b[c].length;d++)if(b[c][d]==a)return{row:c,col:d}}function f(a,b,c){for(var d=a+1,e=b+1;d<c.length;){if(c[d][b]!=c[a][b]){d--;break}d++}for(d==c.length&&d--;e<c[a].length;){if(c[a][e]!=c[a][b]){e--;break}e++}e==c[a].length&&e--;return{row:d,col:e}}function m(){a.el.querySelector(".fr-cell-fixed")&&a.el.querySelector(".fr-cell-fixed").classList.remove("fr-cell-fixed");a.el.querySelector(".fr-cell-handler")&&a.el.querySelector(".fr-cell-handler").classList.remove("fr-cell-handler")}function J(){var b=
a.$el.find(".fr-selected-cell");0<b.length&&b.each(function(){var a=B(this);a.removeClass("fr-selected-cell");""===a.attr("class")&&a.removeAttr("class")});m()}function ka(){a.events.disableBlur();a.selection.clear();a.$el.addClass("fr-no-selection");a.$el.blur();a.events.enableBlur()}function aa(b){var c=a.$el.find(".fr-selected-cell");if(0<c.length){var d=b.length,e=0,g=b[0].length,h=0,k;for(k=0;k<c.length;k++){var l=u(c[k],b),O=f(l.row,l.col,b);d=Math.min(l.row,d);e=Math.max(O.row,e);g=Math.min(l.col,
g);h=Math.max(O.col,h)}return{min_i:d,max_i:e,min_j:g,max_j:h}}return null}function U(a,b,c,d,e){var g=a,h=b,k=c,l=d,O;for(O=g;O<=h;O++){if(1<(parseInt(B(e[O][k]).attr("rowspan"),10)||1)||1<(parseInt(B(e[O][k]).attr("colspan"),10)||1)){var I=u(e[O][k],e);var m=f(I.row,I.col,e);g=Math.min(I.row,g);h=Math.max(m.row,h);k=Math.min(I.col,k);l=Math.max(m.col,l)}if(1<(parseInt(B(e[O][l]).attr("rowspan"),10)||1)||1<(parseInt(B(e[O][l]).attr("colspan"),10)||1))I=u(e[O][l],e),m=f(I.row,I.col,e),g=Math.min(I.row,
g),h=Math.max(m.row,h),k=Math.min(I.col,k),l=Math.max(m.col,l)}for(O=k;O<=l;O++){if(1<(parseInt(B(e[g][O]).attr("rowspan"),10)||1)||1<(parseInt(B(e[g][O]).attr("colspan"),10)||1))I=u(e[g][O],e),m=f(I.row,I.col,e),g=Math.min(I.row,g),h=Math.max(m.row,h),k=Math.min(I.col,k),l=Math.max(m.col,l);if(1<(parseInt(B(e[h][O]).attr("rowspan"),10)||1)||1<(parseInt(B(e[h][O]).attr("colspan"),10)||1))I=u(e[h][O],e),m=f(I.row,I.col,e),g=Math.min(I.row,g),h=Math.max(m.row,h),k=Math.min(I.col,k),l=Math.max(m.col,
l)}return g==a&&h==b&&k==c&&l==d?{min_i:a,max_i:b,min_j:c,max_j:d}:U(g,h,k,l,e)}function C(a){var b=aa(a);if(null!=b){var c=B(a[b.min_i][b.min_j]),d=B(a[b.min_i][b.max_j]);b=B(a[b.max_i][b.min_j]);a=c.length&&c.offset().left;d=d.length&&d.offset().left+d.outerWidth();c=c.length&&c.offset().top;b=b.length&&b.offset().top+b.outerHeight();return{left:a,right:d,top:c,bottom:b}}}function da(b,c){if(B(b).is(c))J(),B(b).addClass("fr-selected-cell");else{ka();a.edit.off();var d=h(),e=u(b,d),f=u(c,d);e=U(Math.min(e.row,
f.row),Math.max(e.row,f.row),Math.min(e.col,f.col),Math.max(e.col,f.col),d);J();b.classList.add("fr-cell-fixed");c.classList.add("fr-cell-handler");for(c=e.min_i;c<=e.max_i;c++)for(f=e.min_j;f<=e.max_j;f++)B(b).closest("table").is(B(d[c][f]).closest("table"))&&B(d[c][f]).addClass("fr-selected-cell")}}function wa(b){var c=null,d=B(b.target);"TD"==b.target.tagName||"TH"==b.target.tagName?c=b.target:0<d.closest("th",d.closest("thead")[0]).length?c=d.closest("th",d.closest("thead")[0]).get(0):0<d.closest("td",
d.closest("tr")[0]).length&&(c=d.closest("td",d.closest("tr")[0]).get(0));return-1===a.$el.html.toString().search(c)?null:c}function ua(){J();a.popups.hide("table.edit")}function t(b){var c=wa(b);if("false"==B(c).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;0<Y().length&&!c&&ua();if(!a.edit.isDisabled()||a.popups.isVisible("table.edit"))if(1!=b.which||1==b.which&&a.helpers.isMac()&&b.ctrlKey)(3==b.which||1==b.which&&a.helpers.isMac()&&
b.ctrlKey)&&c&&ua();else if(qa=!0,c){0<Y().length&&!b.shiftKey&&ua();b.stopPropagation();a.events.trigger("image.hideResizer");a.events.trigger("video.hideResizer");fa=!0;var d=c.tagName.toLowerCase();b.shiftKey&&0<a.$el.find("".concat(d,".fr-selected-cell")).length?B(a.$el.find("".concat(d,".fr-selected-cell")).closest("table")).is(B(c).closest("table"))?da(Q,c):ka():((a.keys.ctrlKey(b)||b.shiftKey)&&"TD"===b.currentTarget.tagName&&(1<Y().length||0===B(c).find(a.selection.element()).length&&!B(c).is(a.selection.element()))&&
ka(),Q=c,0<a.opts.tableEditButtons.length&&da(Q,Q))}}function ia(b){if(!a.edit.isDisabled()&&a.popups.areVisible())return!0;var d=wa(b);1===Y().length&&null===d&&(a.toolbar.enable(),J());if(1===Y().length&&d&&"TD"!==d.tagName&&"TH"!==d.tagName||!fa&&!a.$tb.is(b.target)&&!a.$tb.is(B(b.target).closest(".fr-toolbar")))a.toolbar.enable(),J();("BODY"===b.target.tagName||"HTML"===b.target.tagName)&&!d&&0<Y().length&&a.toolbar.enable();if(!(1!=b.which||1==b.which&&a.helpers.isMac()&&b.ctrlKey)&&(qa=!1,fa&&
((fa=!1,wa(b)||1!=Y().length)?0<Y().length?a.selection.isCollapsed()?(c(),a.toolbar.enable()):(J(),a.edit.on()):Y().length||(a.$el.removeClass("fr-no-selection"),a.edit.on()):J()),ha)){ha=!1;N.removeClass("fr-moving");a.$el.removeClass("fr-no-selection");a.edit.on();b=parseFloat(N.css("left"))+a.opts.tableResizerOffset+a.$wp.offset().left;a.opts.iframe&&(b-=a.$iframe.offset().left);N.data("release-position",b);N.removeData("max-left");N.removeData("max-right");b=N.data("origin");d=N.data("release-position");
if(b!==d){var e=N.data("first"),f=N.data("second"),g=N.data("table"),k=g.outerWidth();a.undo.canDo()||a.undo.saveStep();if(null!=e&&null!=f){var l=h(g),O=[],m=[],I=[],n=[],p;for(p=0;p<l.length;p++){var r=B(l[p][e]);var t=B(l[p][f]);O[p]=r.outerWidth();I[p]=t.outerWidth();m[p]=O[p]/k*100;n[p]=I[p]/k*100}for(p=0;p<l.length;p++)r=B(l[p][e]),t=B(l[p][f]),l[p][e]!=l[p][f]&&(k=(m[p]*(O[p]+d-b)/O[p]).toFixed(4),r.css("width",k+"%"),t.css("width",(m[p]+n[p]-k).toFixed(4)+"%"))}else{m=g.parent();e=k/m.width()*
100;O=(parseInt(g.css("margin-left"),10)||0)/m.width()*100;m=(parseInt(g.css("margin-right"),10)||0)/m.width()*100;if("rtl"==a.opts.direction&&0===f||"rtl"!=a.opts.direction&&0!==f)l=(k+d-b)/k*e,g.css("margin-right","calc(100% - ".concat(Math.round(l).toFixed(4),"% - ").concat(Math.round(O).toFixed(4),"%)"));else if("rtl"==a.opts.direction&&0!==f||"rtl"!=a.opts.direction&&0===f)l=(k-d+b)/k*e,g.css("margin-left","calc(100% - ".concat(Math.round(l).toFixed(4),"% - ").concat(Math.round(m).toFixed(4),
"%)"));g.css("width","".concat(Math.round(l).toFixed(4),"%"))}a.selection.restore();a.undo.saveStep();a.events.trigger("table.resized",[g.get(0)])}N.removeData("origin");N.removeData("release-position");N.removeData("first");N.removeData("second");N.removeData("table");q()}}function la(b){if(!(B(b.currentTarget).is(B(b.originalEvent.relatedTarget))||b.currentTarget.contains(b.originalEvent.relatedTarget)||b.originalEvent.relatedTarget&&b.originalEvent.relatedTarget.contains(b.currentTarget))&&(a.events.$on(B("input"),
"click",sa),!0===fa&&0<a.opts.tableEditButtons.length)){if(B(b.currentTarget).closest("table").is(ja())){if("TD"==b.currentTarget.tagName&&0===a.$el.find("th.fr-selected-cell").length){da(Q,b.currentTarget);return}if("TH"==b.currentTarget.tagName&&0===a.$el.find("td.fr-selected-cell").length){da(Q,b.currentTarget);return}}ka()}}function A(b,c,d,e){b=c;for(var f;b!=a.el&&"TD"!=b.tagName&&"TH"!=b.tagName;){"up"==e?f=b.previousElementSibling:"down"==e&&(f=b.nextElementSibling);if(f)break;b=b.parentNode}if("TD"==
b.tagName||"TH"==b.tagName){for(b=f=b;b&&"TABLE"!=b.tagName&&b.parentNode!=a.el;)b=b.parentNode;b&&"TABLE"==b.tagName&&(c=h(B(b)),"up"==e?ca(u(f,c),b,c):"down"==e&&p(u(f,c),b,c))}else f&&("up"==e&&a.selection.setAtEnd(f),"down"==e&&a.selection.setAtStart(f))}function ca(b,c,d){0<B(".tribute-container").length&&"none"!=B(".tribute-container").css("display")||(0<b.row?a.selection.setAtEnd(d[b.row-1][b.col]):A(b,c,d,"up"))}function p(b,c,d){if(!(0<B(".tribute-container").length&&"none"!=B(".tribute-container").css("display"))){var e=
parseInt(d[b.row][b.col].getAttribute("rowspan"),10)||1;b.row<d.length-e?a.selection.setAtStart(d[b.row+e][b.col]):A(b,c,d,"down")}}function x(b){var c=b.which,d=a.selection.blocks();if(d.length&&(d=d[0],"TD"==d.tagName||"TH"==d.tagName)){for(var f=d;f&&"TABLE"!=f.tagName&&f.parentNode!=a.el;)f=f.parentNode;if(f&&"TABLE"==f.tagName&&(e.KEYCODE.ARROW_LEFT==c||e.KEYCODE.ARROW_UP==c||e.KEYCODE.ARROW_RIGHT==c||e.KEYCODE.ARROW_DOWN==c)&&(0<Y().length&&ua(),a.browser.webkit&&(e.KEYCODE.ARROW_UP==c||e.KEYCODE.ARROW_DOWN==
c))){var g=a.selection.ranges(0).startContainer;if(g.nodeType!=Node.TEXT_NODE||!(e.KEYCODE.ARROW_UP==c&&(g.previousSibling&&"BR"!==g.previousSibling.tagName||g.previousSibling&&"BR"===g.previousSibling.tagName&&g.previousSibling.previousSibling)||e.KEYCODE.ARROW_DOWN==c&&(g.nextSibling&&"BR"!==g.nextSibling.tagName||g.nextSibling&&"BR"===g.nextSibling.tagName&&g.nextSibling.nextSibling)))return b.preventDefault(),b.stopPropagation(),b=h(B(f)),d=u(d,b),e.KEYCODE.ARROW_UP==c?ca(d,f,b):e.KEYCODE.ARROW_DOWN==
c&&p(d,f,b),a.selection.restore(),!1}}}function l(){a.shared.$table_resizer||(a.shared.$table_resizer=B(document.createElement("div")).attr("class","fr-table-resizer").html("<div></div>"));N=a.shared.$table_resizer;a.events.$on(N,"mousedown",function(b){if(!a.core.sameInstance(N))return!0;0<Y().length&&ua();if(1==b.which)return a.selection.save(),ha=!0,N.addClass("fr-moving"),ka(),a.edit.off(),N.find("div").css("opacity",1),!1});a.events.$on(N,"mousemove",function(b){if(!a.core.sameInstance(N))return!0;
ha&&(a.opts.iframe&&(b.pageX-=a.$iframe.offset().left),na(b))});a.events.on("shared.destroy",function(){N.html("").removeData().remove();N=null},!0);a.events.on("destroy",function(){a.$el.find(".fr-selected-cell").removeClass("fr-selected-cell");B("body").first().append(N.hide())},!0)}function q(){N&&(N.find("div").css("opacity",0),N.css("top",0),N.css("left",0),N.css("height",0),N.find("div").css("height",0),N.hide())}function X(){T&&T.removeClass("fr-visible").css("left","-9999px")}function S(b,
c){if(a.$box.find(".fr-line-breaker").isVisible())return!1;T||G();a.$box.append(T);T.data("instance",a);c=B(c).find("tr").first();var d=b.pageX,e=0,f=0;if(a.opts.iframe){b=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-top"));var g=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-left"));e+=a.$iframe.offset().left-a.helpers.scrollLeft()+g;f+=a.$iframe.offset().top-a.helpers.scrollTop()+b}var h;c.find("th, td").each(function(){var b=B(this);if(b.offset().left<=d&&d<b.offset().left+b.outerWidth()/
2)return h=parseInt(T.find("a").css("width"),10),T.css("top",f+b.offset().top-a.$box.offset().top-h-5),T.css("left",e+b.offset().left-a.$box.offset().left-h/2),T.data("selected-cell",b),T.data("position","before"),T.addClass("fr-visible"),!1;if(b.offset().left+b.outerWidth()/2<=d&&d<b.offset().left+b.outerWidth())return h=parseInt(T.find("a").css("width"),10),T.css("top",f+b.offset().top-a.$box.offset().top-h-5),T.css("left",e+b.offset().left-a.$box.offset().left+b.outerWidth()-h/2),T.data("selected-cell",
b),T.data("position","after"),T.addClass("fr-visible"),!1})}function E(b,c){if(a.$box.find(".fr-line-breaker").isVisible())return!1;T||G();a.$box.append(T);T.data("instance",a);c=B(c);var d=b.pageY,e=0,f=0;if(a.opts.iframe){b=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-top"));var g=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-left"));e+=a.$iframe.offset().left-a.helpers.scrollLeft()+g;f+=a.$iframe.offset().top-a.helpers.scrollTop()+b}var h;c.find("tr").each(function(){var b=B(this);
h=parseInt(T.find("a").css("width"),10);var c=e+b.offset().left-a.$box.offset().left;c=0!==a.$box.offset().left?c-h-5:c+h-5;if(b.offset().top<=d&&d<b.offset().top+b.outerHeight()/2)return T.css("top",f+b.offset().top-a.$box.offset().top-h/2),T.css("left",c),T.data("selected-cell",b.find("td").first()),T.data("position","above"),T.addClass("fr-visible"),!1;if(b.offset().top+b.outerHeight()/2<=d&&d<b.offset().top+b.outerHeight())return T.css("top",f+b.offset().top-a.$box.offset().top+b.outerHeight()-
h/2),T.css("left",c),T.data("selected-cell",b.find("td").first()),T.data("position","below"),T.addClass("fr-visible"),!1})}function oa(b,c){if(0===Y().length){if(c&&("HTML"==c.tagName||"BODY"==c.tagName||a.node.isElement(c)))for(c=1;c<=a.opts.tableInsertHelperOffset;c++){var d=a.doc.elementFromPoint(b.pageX-a.win.pageXOffset,b.pageY-a.win.pageYOffset+c);if(B(d).hasClass("fr-tooltip"))return!0;if(d&&("TH"==d.tagName||"TD"==d.tagName||"TABLE"==d.tagName)&&(B(d).parents(".fr-wrapper").length||a.opts.iframe)&&
"false"!=B(d).closest("table").attr("contenteditable"))return S(b,B(d).closest("table")),!0;d=a.doc.elementFromPoint(b.pageX-a.win.pageXOffset+c,b.pageY-a.win.pageYOffset);if(B(d).hasClass("fr-tooltip"))return!0;if(d&&("TH"==d.tagName||"TD"==d.tagName||"TABLE"==d.tagName)&&(B(d).parents(".fr-wrapper").length||a.opts.iframe)&&"false"!=B(d).closest("table").attr("contenteditable"))return E(b,B(d).closest("table")),!0}a.core.sameInstance(T)&&X()}}function W(b){y=null;var c=a.doc.elementFromPoint(b.pageX-
a.win.pageXOffset,b.pageY-a.win.pageYOffset);if(a.opts.tableResizer&&(!a.popups.areVisible()||a.popups.areVisible()&&a.popups.isVisible("table.edit"))){var d=c,e=B(d),g=e.closest("table"),k=g.parent();d&&"TD"!=d.tagName&&"TH"!=d.tagName&&(0<e.closest("td").length?d=e.closest("td"):0<e.closest("th").length&&(d=e.closest("th")));if(!d||"TD"!=d.tagName&&"TH"!=d.tagName)N&&e.get(0)!=N.get(0)&&e.parent().get(0)!=N.get(0)&&a.core.sameInstance(N)&&q();else if(e=B(d),0!==a.$el.find(e).length){var O=e.offset().left-
1;e=O+e.outerWidth();if(Math.abs(b.pageX-O)<=a.opts.tableResizerOffset||Math.abs(e-b.pageX)<=a.opts.tableResizerOffset){var m=h(g),n=u(d,m),p=f(n.row,n.col,m),r=g.offset().top;d=g.outerHeight()-1;if("rtl"!=a.opts.direction)if(b.pageX-O<=a.opts.tableResizerOffset){var t=O;if(0<n.col){var I=O-P(n.col-1,m)+a.opts.tableResizingLimit;var sa=O+P(n.col,m)-a.opts.tableResizingLimit;var v=n.col-1;var w=n.col}else v=null,w=0,I=g.offset().left-1-parseInt(g.css("margin-left"),10),sa=g.offset().left-1+g.width()-
m[0].length*a.opts.tableResizingLimit}else e-b.pageX<=a.opts.tableResizerOffset&&(t=e,p.col<m[p.row].length&&m[p.row][p.col+1]?(I=e-P(p.col,m)+a.opts.tableResizingLimit,sa=e+P(p.col+1,m)-a.opts.tableResizingLimit,v=p.col,w=p.col+1):(v=p.col,w=null,I=g.offset().left-1+m[0].length*a.opts.tableResizingLimit,sa=k.offset().left-1+k.width()+parseFloat(k.css("padding-left"))));else e-b.pageX<=a.opts.tableResizerOffset?(t=e,0<n.col?(I=e-P(n.col,m)+a.opts.tableResizingLimit,sa=e+P(n.col-1,m)-a.opts.tableResizingLimit,
v=n.col,w=n.col-1):(v=null,w=0,I=g.offset().left+m[0].length*a.opts.tableResizingLimit,sa=k.offset().left-1+k.width()+parseFloat(k.css("padding-left")))):b.pageX-O<=a.opts.tableResizerOffset&&(t=O,p.col<m[p.row].length&&m[p.row][p.col+1]?(I=O-P(p.col+1,m)+a.opts.tableResizingLimit,sa=O+P(p.col,m)-a.opts.tableResizingLimit,v=p.col+1,w=p.col):(v=p.col,w=null,I=k.offset().left+parseFloat(k.css("padding-left")),sa=g.offset().left-1+g.width()-m[0].length*a.opts.tableResizingLimit));N||l();N.data("table",
g);N.data("first",v);N.data("second",w);N.data("instance",a);a.$wp.append(N);g=t-a.win.pageXOffset-a.opts.tableResizerOffset-a.$wp.offset().left;k=r-a.$wp.offset().top+a.$wp.scrollTop();a.opts.iframe&&(O=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-top")),v=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-left")),g+=a.$iframe.offset().left+v,k+=a.$iframe.offset().top+O,I+=a.$iframe.offset().left,sa+=a.$iframe.offset().left);N.data("max-left",I);N.data("max-right",sa);N.data("origin",
t-a.win.pageXOffset);N.css("top",k);N.css("left",g);N.css("height",d);N.find("div").css("height",d);N.css("padding-left",a.opts.tableResizerOffset);N.css("padding-right",a.opts.tableResizerOffset);N.show()}else a.core.sameInstance(N)&&q()}}!a.opts.tableInsertHelper||a.popups.areVisible()||a.$tb.hasClass("fr-inline")&&a.$tb.isVisible()||oa(b,c)}function pa(){if(ha){var b=N.data("table").offset().top-a.win.pageYOffset;if(a.opts.iframe){var c=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-top"));
b+=a.$iframe.offset().top-a.helpers.scrollTop()+c}N.css("top",b)}}function P(a,b){var c,d=B(b[0][a]).outerWidth();for(c=1;c<b.length;c++)d=Math.min(d,B(b[c][a]).outerWidth());return d}function ta(a,b,c){for(var d=0;a<=b;a++)d+=P(a,c);return d}function na(b){1<Y().length&&qa&&ka();if(!1===qa&&!1===fa&&!1===ha){if(y&&clearTimeout(y),!a.edit.isDisabled()||a.popups.isVisible("table.edit"))y=setTimeout(W,30,b)}else if(ha){b=b.pageX-a.win.pageXOffset;a.opts.iframe&&(b+=a.$iframe.offset().left);var c=N.data("max-left"),
d=N.data("max-right");b>=c&&b<=d?N.css("left",b-a.opts.tableResizerOffset-a.$wp.offset().left):b<c&&parseFloat(N.css("left"),10)>c-a.opts.tableResizerOffset?N.css("left",c-a.opts.tableResizerOffset-a.$wp.offset().left):b>d&&parseFloat(N.css("left"),10)<d-a.opts.tableResizerOffset&&N.css("left",d-a.opts.tableResizerOffset-a.$wp.offset().left)}else qa&&X()}function ea(b){a.node.isEmpty(b.get(0))?b.prepend(e.MARKERS):b.prepend(e.START_MARKER).append(e.END_MARKER)}function G(){a.shared.$ti_helper||(a.shared.$ti_helper=
B(document.createElement("div")).attr("class","fr-insert-helper").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(a.language.translate("Insert"),'"><svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M22,16.75 L16.75,16.75 L16.75,22 L15.25,22.000 L15.25,16.75 L10,16.75 L10,15.25 L15.25,15.25 L15.25,10 L16.75,10 L16.75,15.25 L22,15.25 L22,16.75 Z"/></svg></a>')),a.events.bindClick(a.shared.$ti_helper,"a",function(){var b=T.data("selected-cell"),c=T.data("position"),
d=T.data("instance")||a;"before"==c?(a.undo.saveStep(),b.addClass("fr-selected-cell"),d.table.insertColumn(c),b.removeClass("fr-selected-cell"),a.undo.saveStep()):"after"==c?(a.undo.saveStep(),b.addClass("fr-selected-cell"),d.table.insertColumn(c),b.removeClass("fr-selected-cell"),a.undo.saveStep()):"above"==c?(a.undo.saveStep(),b.addClass("fr-selected-cell"),d.table.insertRow(c),b.removeClass("fr-selected-cell"),a.undo.saveStep()):"below"==c&&(a.undo.saveStep(),b.addClass("fr-selected-cell"),d.table.insertRow(c),
b.removeClass("fr-selected-cell"),a.undo.saveStep());X()}),a.events.on("shared.destroy",function(){a.shared.$ti_helper.html("").removeData().remove();a.shared.$ti_helper=null},!0),a.events.$on(a.shared.$ti_helper,"mousemove",function(a){a.stopPropagation()},!0),a.events.$on(B(a.o_win),"scroll",function(){X()},!0),a.events.$on(a.$wp,"scroll",function(){X()},!0));T=a.shared.$ti_helper;a.events.on("destroy",function(){T=null});a.tooltip.bind(a.$box,".fr-insert-helper > a.fr-floating-btn")}function za(){Q=
null;clearTimeout(y)}function Y(){return a.el.querySelectorAll(".fr-selected-cell")}function ja(){var b=Y();if(b.length){for(b=b[0];b&&"TABLE"!=b.tagName&&b.parentNode!=a.el;)b=b.parentNode;if(b&&"TABLE"==b.tagName)return B(b)}return B([])}function O(b){var c=Y();if(null!=c&&0<c.length){var d=h();b=b.which;if(1==c.length)var f=c=c[0];else c=a.el.querySelector(".fr-cell-fixed"),f=a.el.querySelector(".fr-cell-handler");f=u(f,d);if(e.KEYCODE.ARROW_RIGHT==b){if(f.col<d[0].length-1)return da(c,d[f.row][f.col+
1]),!1}else if(e.KEYCODE.ARROW_DOWN==b){if(f.row<d.length-1)return da(c,d[f.row+1][f.col]),!1}else if(e.KEYCODE.ARROW_LEFT==b){if(0<f.col)return da(c,d[f.row][f.col-1]),!1}else if(e.KEYCODE.ARROW_UP==b&&0<f.row)return da(c,d[f.row-1][f.col]),!1}}function sa(a){fa=!1}var B=a.$,N,T,fa,qa,Q,y,ha;return{_init:function(){if(!a.$wp)return!1;a.helpers.isMobile()&&(a.events.$on(a.$el,"mousedown",t),a.events.$on(a.$win,"mouseup",ia));if(!a.helpers.isMobile()){ha=fa=qa=!1;a.events.$on(a.$el,"mousedown",t);
a.popups.onShow("image.edit",function(){J();fa=qa=!1});a.popups.onShow("link.edit",function(){J();fa=qa=!1});a.events.on("commands.mousedown",function(a){0<a.parents(".fr-toolbar").length&&J()});a.events.$on(a.$el,"mouseover","th, td",la);a.events.$on(a.$win,"mouseup",ia);a.opts.iframe&&a.events.$on(B(a.o_win),"mouseup",ia);a.events.$on(a.$win,"mousemove",na);a.events.$on(B(a.o_win),"scroll",pa);a.events.on("contentChanged",function(){0<Y().length&&(c(),a.$el.find("img").on("load.selected-cells",
function(){B(this).off("load.selected-cells");0<Y().length&&c()}))});a.events.$on(B(a.o_win),"resize",function(){J()});a.events.on("toolbar.esc",function(){if(0<Y().length)return a.events.disableBlur(),a.events.focus(),!1},!0);a.events.$on(B(a.o_win),"keydown",function(){qa&&fa&&(fa=qa=!1,a.$el.removeClass("fr-no-selection"),a.edit.on(),a.selection.setAtEnd(a.$el.find(".fr-selected-cell").last().get(0)),a.selection.restore(),J())});a.events.$on(a.$el,"keydown",function(a){a.shiftKey?!1===O(a)&&setTimeout(function(){c()},
0):x(a)});a.events.on("keydown",function(b){a:{if(b.which==e.KEYCODE.TAB){if(0<Y().length)var d=a.$el.find(".fr-selected-cell").last();else{var f=a.selection.element();"TD"==f.tagName||"TH"==f.tagName?d=B(f):f!=a.el&&(0<B(f).parentsUntil(a.$el,"td").length?d=B(f).parents("td").first():0<B(f).parentsUntil(a.$el,"th").length&&(d=B(f).parents("th").first()))}if(d){b.preventDefault();if(0===a.selection.get().focusOffset&&0<B(a.selection.element()).parentsUntil(a.$el,"ol, ul").length&&(0<B(a.selection.element()).closest("li").prev().length||
B(a.selection.element()).is("li")&&0<B(a.selection.element()).prev().length)){d=!0;break a}ua();b.shiftKey?0<d.prev().length?ea(d.prev()):0<d.closest("tr").length&&0<d.closest("tr").prev().length?ea(d.closest("tr").prev().find("td").last()):0<d.closest("tbody").length&&0<d.closest("table").find("thead tr").length&&ea(d.closest("table").find("thead tr th").last()):0<d.next().length?ea(d.next()):0<d.closest("tr").length&&0<d.closest("tr").next().length?ea(d.closest("tr").next().find("td").first()):
0<d.closest("thead").length&&0<d.closest("table").find("tbody tr").length?ea(d.closest("table").find("tbody tr td").first()):(d.addClass("fr-selected-cell"),g("below"),J(),ea(d.closest("tr").next().find("td").first()));a.selection.restore();d=!1;break a}}d=void 0}if(!1===d)return!1;d=Y();if(0<d.length){if(0<d.length&&a.keys.ctrlKey(b)&&b.which==e.KEYCODE.A)return J(),a.popups.isVisible("table.edit")&&a.popups.hide("table.edit"),!0;if(b.which==e.KEYCODE.ESC&&a.popups.isVisible("table.edit"))return J(),
a.popups.hide("table.edit"),b.preventDefault(),b.stopPropagation(),b.stopImmediatePropagation(),!1;if(1<d.length&&(b.which==e.KEYCODE.BACKSPACE||b.which==e.KEYCODE.DELETE)){a.undo.saveStep();for(b=0;b<d.length;b++)B(d[b]).html("<br>"),b==d.length-1&&B(d[b]).prepend(e.MARKERS);a.selection.restore();a.undo.saveStep();return!1}if(1<d.length&&b.which!=e.KEYCODE.F10&&!a.keys.isBrowserAction(b))return b.preventDefault(),!1}else{a:{if(b.altKey&&b.which==e.KEYCODE.SPACE){var h;d=a.selection.element();"TD"==
d.tagName||"TH"==d.tagName?h=d:0<B(d).closest("td").length?h=B(d).closest("td").get(0):0<B(d).closest("th").length&&(h=B(d).closest("th").get(0));if(h){b.preventDefault();da(h,h);c();b=!1;break a}}b=void 0}if(!1===b)return!1}},!0);var b=[];a.events.on("html.beforeGet",function(){b=Y();for(var a=0;a<b.length;a++)b[a].className=(b[a].className||"").replace(/fr-selected-cell/g,"")});a.events.on("html.afterGet",function(){for(var a=0;a<b.length;a++)b[a].className=(b[a].className?b[a].className.trim()+
" ":"")+"fr-selected-cell";b=[]});V(!0);n(!0)}a.events.on("destroy",za)},insert:function(b,c){var d="<table "+(a.opts.tableDefaultWidth?'style="width: '+a.opts.tableDefaultWidth+';" ':"")+'class="fr-inserted-table"><tbody>',f=100/c,g,h;for(g=0;g<b;g++){d+="<tr>";for(h=0;h<c;h++)d+="<td"+(a.opts.tableDefaultWidth?' style="width: '+f.toFixed(4)+'%;"':"")+">",0===g&&0===h&&(d+=e.MARKERS),d+="<br></td>";d+="</tr>"}d+="</tbody></table>";a.opts.trackChangesEnabled?(a.edit.on(),a.events.focus(!0),a.selection.restore(),
a.undo.saveStep(),a.markers.insert(),a.html.wrap(),b=a.$el.find(".fr-marker"),a.node.isLastSibling(b)&&b.parent().hasClass("fr-deletable")&&b.insertAfter(b.parent()),b.replaceWith(d),a.selection.clear()):a.html.insert(d);a.selection.restore();d=a.$el.find(".fr-inserted-table");d.removeClass("fr-inserted-table");a.events.trigger("table.inserted",[d.get(0)])},remove:D,insertRow:g,deleteRow:function(){var b=ja();if(0<b.length){var c,d,e=h(),f=aa(e);if(null!=f)if(0===f.min_i&&f.max_i==e.length-1)D();
else{for(c=f.max_i;c>=f.min_i;c--){var g=B(b.find("tr").not(b.find("> table tr")).get(c));for(d=0;d<e[c].length;d++)if(0===d||e[c][d]!=e[c][d-1]){var k=B(e[c][d]);if(1<parseInt(k.attr("rowspan"),10)){var l=parseInt(k.attr("rowspan"),10)-1;1==l?k.removeAttr("rowspan"):k.attr("rowspan",l)}if(c<e.length-1&&e[c][d]==e[c+1][d]&&(0===c||e[c][d]!=e[c-1][d])){k=e[c][d];for(l=d;0<l&&e[c][l]==e[c][l-1];)l--;0===l?B(b.find("tr").not(b.find("> table tr")).get(c+1)).prepend(k):B(e[c+1][l-1])[0].parentNode&&B(e[c+
1][l-1])[0].insertAdjacentElement("afterend",k)}}d=g.parent();g.remove();0===d.find("tr").length&&d.remove();e=h(b)}ra(0,e.length-1,0,e[0].length-1,b);0<f.min_i?a.selection.setAtEnd(e[f.min_i-1][0]):a.selection.setAtEnd(e[0][0]);a.selection.restore();a.popups.hide("table.edit")}}},insertColumn:function(b){var d=ja();if(0<d.length){var e=h(),f=aa(e);var g="before"==b?f.min_j:f.max_j;var k=100/e[0].length,l=100/(e[0].length+1),O;d.find("th, td").each(function(){O=B(this);O.data("old-width",O.outerWidth()/
d.outerWidth()*100)});d.find("tr").not(d.find("> table tr")).each(function(a){for(var c=B(this),d=0,f=0,h;d-1<g;){h=c.find("> th, > td").get(f);if(!h){h=null;break}h==e[a][d]?(d+=parseInt(B(h).attr("colspan"),10)||1,f++):(d+=parseInt(B(e[a][d]).attr("colspan"),10)||1,"after"==b&&(h=0===f?-1:c.find("> th, > td").get(f-1)))}f=B(h);if("after"==b&&d-1>g||"before"==b&&0<g&&e[a][g]==e[a][g-1]){if(0===a||0<a&&e[a][g]!=e[a-1][g])c=parseInt(f.attr("colspan"),10)+1,f.attr("colspan",c),f.css("width",(f.data("old-width")*
l/k+l).toFixed(4)+"%"),f.removeData("old-width")}else a=0<c.find("th").length?'<th style="width: '.concat(l.toFixed(4),'%;"><br></th>'):'<td style="width: '.concat(l.toFixed(4),'%;"><br></td>'),-1==h?c.prepend(a):null==h?c.append(a):"before"==b?f.before(a):"after"==b&&f[0].parentNode&&f[0].insertAdjacentHTML("afterend",a)});d.find("th, td").each(function(){O=B(this);O.data("old-width")&&(O.css("width",(O.data("old-width")*l/k).toFixed(4)+"%"),O.removeData("old-width"))});a.popups.isVisible("table.edit")&&
c()}},deleteColumn:function(){var b=ja();if(0<b.length){var c,d,e=h(),f=aa(e);if(null!=f)if(0===f.min_j&&f.max_j==e[0].length-1)D();else{var g=0;for(c=0;c<e.length;c++)for(d=0;d<e[0].length;d++){var k=B(e[c][d]);!k.hasClass("fr-selected-cell")&&(k.data("old-width",k.outerWidth()/b.outerWidth()*100),d<f.min_j||d>f.max_j)&&(g+=k.outerWidth()/b.outerWidth()*100)}g/=e.length;for(d=f.max_j;d>=f.min_j;d--)for(c=0;c<e.length;c++)if(0===c||e[c][d]!=e[c-1][d])if(k=B(e[c][d]),1<(parseInt(k.attr("colspan"),
10)||1)){var l=parseInt(k.attr("colspan"),10)-1;1==l?k.removeAttr("colspan"):k.attr("colspan",l);k.css("width",(100*(k.data("old-width")-P(d,e))/g).toFixed(4)+"%");k.removeData("old-width")}else l=B(k.parent().get(0)),k.remove(),0===l.find("> th, > td").length&&(0===l.prev().length||0===l.next().length||l.prev().find("> th[rowspan], > td[rowspan]").length<l.prev().find("> th, > td").length)&&l.remove();ra(0,e.length-1,0,e[0].length-1,b);0<f.min_j?a.selection.setAtEnd(e[f.min_i][f.min_j-1]):a.selection.setAtEnd(e[f.min_i][0]);
a.selection.restore();a.popups.hide("table.edit");b.find("th, td").each(function(){k=B(this);k.data("old-width")&&(k.css("width",(100*k.data("old-width")/g).toFixed(4)+"%"),k.removeData("old-width"))})}}},mergeCells:function(){if(1<Y().length&&(0===a.$el.find("th.fr-selected-cell").length||0===a.$el.find("td.fr-selected-cell").length)){m();var b=h();b=aa(b);if(null!=b){var d,e=a.$el.find(".fr-selected-cell"),f=B(e[0]);var g=f.parent().find(".fr-selected-cell");var k=f.closest("table"),l=f.html(),
O=0;for(d=0;d<g.length;d++)O+=B(g[d]).outerWidth();f.css("width",Math.min(100,O/k.outerWidth()*100).toFixed(4)+"%");b.min_j<b.max_j&&f.attr("colspan",b.max_j-b.min_j+1);b.min_i<b.max_i&&f.attr("rowspan",b.max_i-b.min_i+1);for(d=1;d<e.length;d++)g=B(e[d]),"<br>"!=g.html()&&""!==g.html()&&(l+="<br>".concat(g.html())),g.remove();f.html(l);a.selection.setAtEnd(f.get(0));a.selection.restore();a.toolbar.enable();H(b.min_i,b.max_i,k);e=k.find("tr:empty");for(d=e.length-1;0<=d;d--)B(e[d]).remove();z(b.min_j,
b.max_j,k);c()}}},splitCellVertically:function(){if(1==Y().length){var b=a.$el.find(".fr-selected-cell"),c=parseInt(b.attr("colspan"),10)||1,d=b.parent().outerWidth(),e=b.outerWidth(),f=b.clone().html("<br>"),g=h(),k=u(b.get(0),g);if(1<c){var l=Math.ceil(c/2);e=ta(k.col,k.col+l-1,g)/d*100;d=ta(k.col+l,k.col+c-1,g)/d*100;1<l?b.attr("colspan",l):b.removeAttr("colspan");1<c-l?f.attr("colspan",c-l):f.removeAttr("colspan");b.css("width",e.toFixed(4)+"%");f.css("width",d.toFixed(4)+"%")}else{for(c=0;c<
g.length;c++)if(0===c||g[c][k.col]!=g[c-1][k.col])if(l=B(g[c][k.col]),!l.is(b)){var O=(parseInt(l.attr("colspan"),10)||1)+1;l.attr("colspan",O)}e=e/d*100/2;b.css("width","".concat(e.toFixed(4),"%"));f.css("width","".concat(e.toFixed(4),"%"))}b[0].parentNode&&b[0].insertAdjacentElement("afterend",f[0]);J();a.popups.hide("table.edit")}},splitCellHorizontally:function(){if(1==Y().length){var b=a.$el.find(".fr-selected-cell"),c=b.parent(),d=b.closest("table"),e=parseInt(b.attr("rowspan"),10),f=h(),g=
u(b.get(0),f),k=b.clone().html("<br>");if(1<e){c=Math.ceil(e/2);1<c?b.attr("rowspan",c):b.removeAttr("rowspan");1<e-c?k.attr("rowspan",e-c):k.removeAttr("rowspan");b=g.row+c;for(g=0===g.col?g.col:g.col-1;0<=g&&(f[b][g]==f[b][g-1]||0<b&&f[b][g]==f[b-1][g]);)g--; -1==g?B(d.find("tr").not(d.find("> table tr")).get(b)).prepend(k):B(f[b][g])[0].parentNode&&B(f[b][g])[0].insertAdjacentElement("afterend",k[0])}else{d=B(document.createElement("tr")).append(k);for(k=0;k<f[0].length;k++)if(0===k||f[g.row][k]!=
f[g.row][k-1])e=B(f[g.row][k]),e.is(b)||e.attr("rowspan",(parseInt(e.attr("rowspan"),10)||1)+1);c[0].parentNode&&c[0].insertAdjacentElement("afterend",d[0])}J();a.popups.hide("table.edit")}},addHeader:function(){var a=ja();if(0<a.length&&0===a.find("th").length){var b="<thead><tr>",d,e=0;a.find("tr").first().find("> td").each(function(){var a=B(this);e+=parseInt(a.attr("colspan"),10)||1});for(d=0;d<e;d++)b+="<th><br></th>";a.prepend(b+"</tr></thead>");c()}},removeHeader:function(){var b=ja(),d=b.find("thead");
if(0<d.length)if(0===b.find("tbody tr").length)D();else if(d.remove(),0<Y().length)c();else if(a.popups.hide("table.edit"),b=b.find("tbody tr").first().find("td").first().get(0))a.selection.setAtEnd(b),a.selection.restore()},setBackground:Z,showInsertPopup:function(){var b=a.$tb.find('.fr-command[data-cmd="insertTable"]'),c=a.popups.get("table.insert");c||(c=V());c.hasClass("fr-active")||(a.popups.refresh("table.insert"),a.popups.setContainer("table.insert",a.$tb),c=a.button.getPosition(b),a.popups.show("table.insert",
c.left,c.top,b.outerHeight()))},showEditPopup:c,showColorsPopup:k,back:function(){0<Y().length?c():(a.popups.hide("table.insert"),a.toolbar.showInline())},verticalAlign:function(b){a.$el.find(".fr-selected-cell").css("vertical-align",b)},horizontalAlign:function(b){a.$el.find(".fr-selected-cell").css("text-align",b)},applyStyle:function(c,e,f,g){0<e.length&&(a.opts.useClasses||("TABLE"===e.get(0).tagName?d(e.get(0),c):b(e.get(0))),f||(f=Object.keys(g),f.splice(f.indexOf(c),1),e.removeClass(f.join(" "))),
e.toggleClass(c))},selectedTable:ja,selectedCells:Y,customColor:function(){var b=a.popups.get("table.colors").find(".fr-table-colors-hex-layer input");b.length&&Z(b.val())},selectCells:da}};e.DefineIcon("insertTable",{NAME:"table",SVG_KEY:"insertTable"});e.RegisterCommand("insertTable",{title:"Insert Table",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("table.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),
this.popups.hide("table.insert")):this.table.showInsertPopup()},plugin:"table"});e.RegisterCommand("tableInsert",{callback:function(a,c,e){this.table.insert(c,e);this.popups.hide("table.insert")}});e.DefineIcon("tableHeader",{NAME:"header",FA5NAME:"heading",SVG_KEY:"tableHeader"});e.RegisterCommand("tableHeader",{title:"Table Header",focus:!1,toggle:!0,callback:function(){this.popups.get("table.edit").find('.fr-command[data-cmd="tableHeader"]').hasClass("fr-active")?this.table.removeHeader():this.table.addHeader()},
refresh:function(a){var c=this.table.selectedTable();0<c.length&&(0===c.find("th").length?a.removeClass("fr-active").attr("aria-pressed",!1):a.addClass("fr-active").attr("aria-pressed",!0))}});e.DefineIcon("tableRows",{NAME:"bars",SVG_KEY:"row"});e.RegisterCommand("tableRows",{type:"dropdown",focus:!1,title:"Row",options:{above:"Insert row above",below:"Insert row below","delete":"Delete row"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.tableRows.options,
k;for(k in c)c.hasOwnProperty(k)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableRows" data-param1="'+k+'" title="'+this.language.translate(c[k])+'">'+this.language.translate(c[k])+"</a></li>");return a+"</ul>"},callback:function(a,c){"above"==c||"below"==c?this.table.insertRow(c):this.table.deleteRow()}});e.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"});e.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",
options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.tableColumns.options,k;for(k in c)c.hasOwnProperty(k)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableColumns" data-param1="'.concat(k,'" title="').concat(this.language.translate(c[k]),'">').concat(this.language.translate(c[k]),"</a></li>"));return a+"</ul>"},callback:function(a,
c){"before"==c||"after"==c?this.table.insertColumn(c):this.table.deleteColumn()}});e.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"});e.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.tableCells.options,k;for(k in c)c.hasOwnProperty(k)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCells" data-param1="'.concat(k,
'" title="').concat(this.language.translate(c[k]),'">').concat(this.language.translate(c[k]),"</a></li>"));return a+"</ul>"},callback:function(a,c){"merge"==c?this.table.mergeCells():"vertical-split"==c?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(a,c){1<this.$el.find(".fr-selected-cell").length?(c.find('a[data-param1="vertical-split"]').addClass("fr-disabled").attr("aria-disabled",!0),c.find('a[data-param1="horizontal-split"]').addClass("fr-disabled").attr("aria-disabled",
!0),c.find('a[data-param1="merge"]').removeClass("fr-disabled").attr("aria-disabled",!1)):(c.find('a[data-param1="merge"]').addClass("fr-disabled").attr("aria-disabled",!0),c.find('a[data-param1="vertical-split"]').removeClass("fr-disabled").attr("aria-disabled",!1),c.find('a[data-param1="horizontal-split"]').removeClass("fr-disabled").attr("aria-disabled",!1))}});e.DefineIcon("tableRemove",{NAME:"trash",SVG_KEY:"removeTable"});e.RegisterCommand("tableRemove",{title:"Remove Table",focus:!1,callback:function(){this.table.remove()}});
e.DefineIcon("tableStyle",{NAME:"paint-brush",SVG_KEY:"tableStyle"});e.RegisterCommand("tableStyle",{title:"Table Style",type:"dropdown",focus:!1,html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.tableStyles,e;for(e in c)c.hasOwnProperty(e)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableStyle" data-param1="'.concat(e,'" title="').concat(this.language.translate(c[e]),'">').concat(this.language.translate(c[e]),"</a></li>"));
return a+"</ul>"},callback:function(a,c){this.table.applyStyle(c,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(a,c){var e=this.$,K=this.$el.find(".fr-selected-cell").closest("table");K&&c.find(".fr-command").each(function(){var a=e(this).data("param1");a=K.hasClass(a);e(this).toggleClass("fr-active",a).attr("aria-selected",a)})}});e.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"});e.RegisterCommand("tableCellBackground",
{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}});e.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(a,c){this.table.setBackground(c)}});e.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"});e.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(a){0!==this.table.selectedCells().length||this.opts.toolbarInline?(a.removeClass("fr-hidden"),a.next(".fr-separator").removeClass("fr-hidden")):
(a.addClass("fr-hidden"),a.next(".fr-separator").addClass("fr-hidden"))}});e.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"});e.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.tableCellVerticalAlign.options,k;for(k in c)c.hasOwnProperty(k)&&(a+=
'<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCellVerticalAlign" data-param1="'.concat(k.toLowerCase(),'" title="').concat(this.language.translate(c[k]),'">').concat(this.language.translate(k),"</a></li>"));return a+"</ul>"},callback:function(a,c){this.table.verticalAlign(c)},refreshOnShow:function(a,c){c.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}});e.DefineIcon("tableCellHorizontalAlign",
{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"});e.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"});e.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"});e.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},
html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.tableCellHorizontalAlign.options,k;for(k in c)c.hasOwnProperty(k)&&(a+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="tableCellHorizontalAlign" data-param1="'.concat(k,'" title="').concat(this.language.translate(c[k]),'">').concat(this.icon.create("align-".concat(k)),'<span class="fr-sr-only">').concat(this.language.translate(c[k]),"</span></a></li>"));return a+"</ul>"},
callback:function(a,c){this.table.horizontalAlign(c)},refresh:function(a){var c=this.table.selectedCells(),e=this.$;c.length&&a.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(e(c[0])))))},refreshOnShow:function(a,c){c.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}});e.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"});e.RegisterCommand("tableCellStyle",
{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=this.opts.tableCellStyles,e;for(e in c)c.hasOwnProperty(e)&&(a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCellStyle" data-param1="'.concat(e,'" title="').concat(this.language.translate(c[e]),'">').concat(this.language.translate(c[e]),"</a></li>"));return a+"</ul>"},callback:function(a,c){this.table.applyStyle(c,this.$el.find(".fr-selected-cell"),
this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(a,c){var e=this.$,K=this.$el.find(".fr-selected-cell").first();K&&c.find(".fr-command").each(function(){var a=e(this).data("param1");a=K.hasClass(a);e(this).toggleClass("fr-active",a).attr("aria-selected",a)})}});e.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}});e.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"})});
(function(e,a){"object"===typeof exports&&"undefined"!==typeof module?a(require("froala-editor")):"function"===typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)})(this,function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;Object.assign(e.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"});Object.assign(e.DEFAULTS,{videoAllowedTypes:"mp4 webm ogg mp3 mpeg url".split(" "),
videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:"videoReplace videoRemove videoDisplay videoAlign videoSize autoplay".split(" "),videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},
videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null});e.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'<iframe width="640" height="360" src="{url}&wmode=opaque&rel=0" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,
url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,
url_text:"https://www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,
url_text:"https://rutube.ru/play/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',
provider:"vidyard"}];e.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i;e.PLUGINS.video=function(a){function c(){var b=a.popups.get("video.insert");b.find(".fr-video-by-url-layer input").val("").trigger("change");var c=b.find(".fr-video-embed-layer textarea");c.val("").trigger("change");c=b.find(".fr-video-upload-layer input");c.val("").trigger("change")}function k(){var b=a.popups.get("video.edit");b||(b=la());if(b){a.popups.setContainer("video.edit",a.$sc);a.popups.refresh("video.edit");
b=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video"));var c=b.offset().left+b.outerWidth()/2,d=b.offset().top+b.outerHeight(),e=b.get(0).src?b.get(0).src:b.get(0).currentSrc;e=e.split(".");e=e[e.length-1];e=e.includes("pdf")||e.includes("txt")?!0:!1;b.hasClass("fr-file")||e||G.find("audio").get(0)?(document.getElementById("autoplay-".concat(a.id))&&(document.getElementById("autoplay-".concat(a.id)).style.display="none"),document.getElementById("videoReplace-".concat(a.id))&&
(document.getElementById("videoReplace-".concat(a.id)).style.display="none")):(document.getElementById("autoplay-".concat(a.id))&&(document.getElementById("autoplay-".concat(a.id)).style.display=""),document.getElementById("videoReplace-".concat(a.id))&&(document.getElementById("videoReplace-".concat(a.id)).style.display=""));a.popups.show("video.edit",c,d,b.outerHeight(),!0)}}function K(b){if(b)return a.popups.onRefresh("video.insert",c),a.popups.onHide("video.insert",q),!0;b="";a.opts.videoUpload||
-1===a.opts.videoInsertButtons.indexOf("videoUpload")||a.opts.videoInsertButtons.splice(a.opts.videoInsertButtons.indexOf("videoUpload"),1);var d=a.button.buildList(a.opts.videoInsertButtons);""!==d&&(b='<div class="fr-buttons">'+d+"</div>");d="";var e=a.opts.videoInsertButtons.indexOf("videoUpload"),f=a.opts.videoInsertButtons.indexOf("videoByURL"),g=a.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=f){var h=" fr-active";if(f>e&&0<=e||f>g&&0<=g)h="";d='<div class="fr-video-by-url-layer fr-layer'.concat(h,
'" id="fr-video-by-url-layer-').concat(a.id,'"><div class="fr-input-line"><input id="fr-video-by-url-layer-text-').concat(a.id,'" type="text" placeholder="').concat(a.language.translate("Paste in a video URL"),'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><span style=\'float:left\'><div class="fr-checkbox-line fr-autoplay-margin"><span class="fr-checkbox"> <input id=\'videoPluginAutoplay\' data-checked="_blank" type="checkbox"> <span>').concat('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>',
'</span></span> <label id="fr-label-target-').concat(a.id,'">Autoplay</label></div> </span><button type="button" class="fr-command fr-submit" data-cmd="videoInsertByURL" tabIndex="2" role="button">').concat(a.language.translate("Insert"),"</button></div></div>")}var k="";if(0<=g){h=" fr-active";if(g>e&&0<=e||g>f&&0<=f)h="";k='<div class="fr-video-embed-layer fr-layer'.concat(h,'" id="fr-video-embed-layer-').concat(a.id,'"><div class="fr-input-line"><textarea id="fr-video-embed-layer-text').concat(a.id,
'" type="text" placeholder="').concat(a.language.translate("Embedded Code"),'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertEmbed" tabIndex="2" role="button">').concat(a.language.translate("Insert"),"</button></div></div>")}h="";if(0<=e){h=" fr-active";if(e>g&&0<=g||e>f&&0<=f)h="";h='<div class="fr-video-upload-layer fr-layer'.concat(h,'" id="fr-video-upload-layer-').concat(a.id,'"><strong>').concat(a.language.translate("Drop video"),
"</strong><br>(").concat(a.language.translate("or click"),')<div class="fr-form"><input type="file" accept="video/').concat(a.opts.videoAllowedTypes.join(", video/").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-video-upload-layer-').concat(a.id,'" role="button"></div></div>')}b=a.popups.create("video.insert",{buttons:b,by_url_layer:d,embed_layer:k,upload_layer:h,progress_bar:'<div class="fr-video-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="videoDismissError" tabIndex="2" role="button">OK</button></div></div>'});
ua(b);return b}function V(b){a.events.focus(!0);a.selection.restore();var c=!1;G&&(l(),c=!0);if(a.opts.trackChangesEnabled){a.edit.on();a.events.focus(!0);a.selection.restore();a.undo.saveStep();a.markers.insert();a.html.wrap();var d=a.$el.find(".fr-marker");a.node.isLastSibling(d)&&d.parent().hasClass("fr-deletable")&&d.insertAfter(d.parent());d.replaceWith('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(b,"</span>"));a.selection.clear()}else a.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(b,
"</span>"),!1,a.opts.videoSplitHTML);a.popups.hide("video.insert");b=a.$el.find(".fr-jiv");b.removeClass("fr-jiv");b.toggleClass("fr-rv",a.opts.videoResponsive);X(b,a.opts.videoDefaultDisplay,a.opts.videoDefaultAlign);b.toggleClass("fr-draggable",a.opts.videoMove);a.events.trigger(c?"video.replaced":"video.inserted",[b])}function L(){var b=P(this);a.popups.hide("video.insert");b.removeClass("fr-uploading");b.parent().next().is("br")&&b.parent().next().remove();R(b.parent());a.events.trigger("video.loaded",
[b.parent()])}function v(b,c,d,e,g){a.edit.off();w("Loading video");c&&(b=a.helpers.sanitizeURL(b));r("Loading video");var h;if(e){a.undo.canDo()||e.find("video").hasClass("fr-uploading")||a.undo.saveStep();var k=e.find("video").data("fr-old-src"),l=e.data("fr-replaced");e.data("fr-replaced",!1);if(0<e.find("iframe").length)e.remove(),c=F(b,d,L);else{a.$wp?(c=e.clone(!0),c.find("video").removeData("fr-old-src").removeClass("fr-uploading"),c.find("video").off("canplay"),k&&e.find("video").attr("src",
k),e.replaceWith(c)):c=e;e=c.find("video").get(0).attributes;for(k=0;k<e.length;k++){var m=e[k];0===m.nodeName.indexOf("data-")&&c.find("video").removeAttr(m.nodeName)}if("undefined"!=typeof d)for(h in d)d.hasOwnProperty(h)&&"link"!=h&&c.find("video").attr("data-".concat(h),d[h]);c.find("video").on("canplay",L);c.find("video").attr("src",b)}a.edit.on();f();a.undo.saveStep();a.$el.blur();a.events.trigger(l?"video.replaced":"video.inserted",[c,g])}else c=F(b,d,L),f(),a.undo.saveStep(),a.events.trigger("video.inserted",
[c,g])}function r(b){var c=a.popups.get("video.insert");c||(c=K());c.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive");c.find(".fr-video-progress-bar-layer").addClass("fr-active");c.find(".fr-buttons").hide();if(G){c=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video"));a.popups.setContainer("video.insert",a.$sc);var d=c.offset().left,e=c.offset().top+c.height();a.popups.show("video.insert",d,e,c.outerHeight())}"undefined"==typeof b&&w(a.language.translate("Uploading"),
0)}function n(b){var c=a.popups.get("video.insert");c&&(c.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),c.find(".fr-video-progress-bar-layer").removeClass("fr-active"),c.find(".fr-buttons").show(),b||a.$el.find("video.fr-error").length)&&(a.events.focus(),a.$el.find("video.fr-error").length&&(a.$el.find("video.fr-error").parent().remove(),a.undo.saveStep(),a.undo.run(),a.undo.dropRedo()),!a.$wp&&G&&(b=G,ka(!0),a.selection.setAfter(b.find("video").get(0)),a.selection.restore()),
a.popups.hide("video.insert"))}function w(b,c){var d=a.popups.get("video.insert");d&&(d=d.find(".fr-video-progress-bar-layer"),d.find("h3").text(b+(c?" ".concat(c,"%"):"")),d.removeClass("fr-error"),c?(d.find("div").removeClass("fr-indeterminate"),d.find("div > span").css("width","".concat(c,"%"))):d.find("div").addClass("fr-indeterminate"))}function M(b){r();var c=a.popups.get("video.insert").find(".fr-video-progress-bar-layer");c.addClass("fr-error");c=c.find("h3");c.text(b);a.events.disableBlur();
c.focus()}function R(a){J.call(a.get(0))}function D(b){try{if(!1===a.events.trigger("video.uploaded",[b],!0))return a.edit.on(),!1;var c=JSON.parse(b);if(c.link)return c;ia(2,b);return!1}catch(B){return ia(4,b),!1}}function g(){ia(4,this.response||this.responseText||this.responseXML)}function z(b){b.lengthComputable&&(b=b.loaded/b.total*100|0,w(a.language.translate("Uploading"),b))}function H(){a.edit.on();n(!0)}function F(b,c,d){var e="",f;if(c&&"undefined"!=typeof c)for(f in c)c.hasOwnProperty(f)&&
"link"!=f&&(e+=" data-".concat(f,'="').concat(c[f],'"'));(c=a.opts.videoDefaultWidth)&&"auto"!=c&&(c="".concat(c,"px"));a.helpers.isMobile()&&a.browser.safari&&(e+=" autoplay playsinline");b=P(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+a.opts.videoDefaultDisplay[0]+("center"!=a.opts.videoDefaultAlign?" fr-fv"+a.opts.videoDefaultAlign[0]:"")).html('<video src="'+b+'" '+e+(c?' style="width: '+c+';" ':"")+" controls>"+a.language.translate("Your browser does not support HTML5 video.")+
"</video>");b.toggleClass("fr-draggable",a.opts.videoMove);a.edit.on();a.events.focus(!0);a.selection.restore();a.undo.saveStep();a.opts.videoSplitHTML?a.markers.split():a.markers.insert();a.html.wrap();e=a.$el.find(".fr-marker");a.node.isLastSibling(e)&&e.parent().hasClass("fr-deletable")&&e.insertAfter(e.parent());e.replaceWith(b);a.selection.clear();if(b.find("video").get(0).readyState>b.find("video").get(0).HAVE_FUTURE_DATA||a.helpers.isIOS())d.call(b.find("video").get(0));else b.find("video").on("canplaythrough load",
d);return b}function ra(b){if(!a.core.sameInstance(ea))return!0;b.preventDefault();b.stopPropagation();var c=b.pageX||(b.originalEvent.touches?b.originalEvent.touches[0].pageX:null),d=b.pageY||(b.originalEvent.touches?b.originalEvent.touches[0].pageY:null);if(!c||!d)return!1;if("mousedown"==b.type){var e=a.$oel.get(0).ownerDocument;e=e.defaultView||e.parentWindow;var f=!1;try{f=e.location!=e.parent.location&&!(e.$&&e.$.FE)}catch(fa){}f&&e.frameElement&&(c+=a.helpers.getPX(P(e.frameElement).offset().left)+
e.frameElement.clientLeft,d=b.clientY+a.helpers.getPX(P(e.frameElement).offset().top)+e.frameElement.clientTop)}a.undo.canDo()||a.undo.saveStep();na=P(this);na.data("start-x",c);na.data("start-y",d);ta.show();a.popups.hideAll();U()}function Z(b){if(!a.core.sameInstance(ea))return!0;if(na){b.preventDefault();var c=b.pageX||(b.originalEvent.touches?b.originalEvent.touches[0].pageX:null);b=b.pageY||(b.originalEvent.touches?b.originalEvent.touches[0].pageY:null);if(!c||!b)return!1;var d=na.data("start-x"),
e=na.data("start-y");na.data("start-x",c);na.data("start-y",b);c-=d;b-=e;e=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video"));d=e.width();var f=e.height();if(na.hasClass("fr-hnw")||na.hasClass("fr-hsw"))c=0-c;if(na.hasClass("fr-hnw")||na.hasClass("fr-hne"))b=0-b;e.css("width",d+c);e.css("height",f+b);e.removeAttr("width");e.removeAttr("height");m()}}function b(b){if(!a.core.sameInstance(ea))return!0;na&&G&&(b&&b.stopPropagation(),na=null,ta.hide(),m(),k(),a.undo.saveStep())}
function d(a){return'<div class="fr-handler fr-h'.concat(a,'"></div>')}function h(a,c,d,e){a.pageX=c;a.pageY=c;ra.call(this,a);a.pageX+=d*Math.floor(Math.pow(1.1,e));a.pageY+=d*Math.floor(Math.pow(1.1,e));Z.call(this,a);b.call(this,a);return++e}function u(){if(a.shared.$video_resizer)ea=a.shared.$video_resizer,ta=a.shared.$vid_overlay,a.events.on("destroy",function(){P("body").first().append(ea.removeClass("fr-active"))},!0);else if(a.shared.$video_resizer=P(document.createElement("div")).attr("class",
"fr-video-resizer"),ea=a.shared.$video_resizer,a.events.$on(ea,"mousedown",function(a){a.stopPropagation()},!0),a.opts.videoResize){ea.append(d("nw")+d("ne")+d("sw")+d("se"));a.shared.$vid_overlay=P(document.createElement("div")).attr("class","fr-video-overlay");ta=a.shared.$vid_overlay;var c=ea.get(0).ownerDocument;P(c).find("body").first().append(ta)}a.events.on("shared.destroy",function(){ea.html("").removeData().remove();ea=null;a.opts.videoResize&&(ta.remove(),ta=null)},!0);a.helpers.isMobile()||
a.events.$on(P(a.o_win),"resize.video",function(){ka(!0)});if(a.opts.videoResize){c=ea.get(0).ownerDocument;a.events.$on(ea,a._mousedown,".fr-handler",ra);a.events.$on(P(c),a._mousemove,Z);a.events.$on(P(c.defaultView||c.parentWindow),a._mouseup,b);a.events.$on(ta,"mouseleave",b);var f=1,g=null,k=0;a.events.on("keydown",function(b){if(G){var c=-1!=navigator.userAgent.indexOf("Mac OS X")?b.metaKey:b.ctrlKey,d=b.which;if(d!==g||200<b.timeStamp-k)f=1;(d==e.KEYCODE.EQUALS||a.browser.mozilla&&d==e.KEYCODE.FF_EQUALS)&&
c&&!b.altKey?f=h.call(this,b,1,1,f):(d==e.KEYCODE.HYPHEN||a.browser.mozilla&&d==e.KEYCODE.FF_HYPHEN)&&c&&!b.altKey&&(f=h.call(this,b,2,-1,f));g=d;k=b.timeStamp}});a.events.on("keyup",function(){f=1})}}function f(){var b=Array.prototype.slice.call(a.el.querySelectorAll("video, .fr-video > *")),c=[],d;for(d=0;d<b.length;d++)c.push(b[d].getAttribute("src")),P(b[d]).toggleClass("fr-draggable",a.opts.videoMove),""===b[d].getAttribute("class")&&b[d].removeAttribute("class"),""===b[d].getAttribute("style")&&
b[d].removeAttribute("style");if(Y)for(d=0;d<Y.length;d++)0>c.indexOf(Y[d].getAttribute("src"))&&a.events.trigger("video.removed",[P(Y[d])]);Y=b}function m(){ea||u();(a.$wp||a.$sc).append(ea);ea.data("instance",a);var b=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video")),c=0,d=0;a.opts.iframe&&(d=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-top")),c=a.helpers.getPX(a.$wp.find(".fr-iframe").css("padding-left")));ea.css("top",(a.opts.iframe?b.offset().top+
d-1:b.offset().top-a.$wp.offset().top-1)+a.$wp.scrollTop()).css("left",(a.opts.iframe?b.offset().left+c-1:b.offset().left-a.$wp.offset().left-1)+a.$wp.scrollLeft()).css("width",b.get(0).getBoundingClientRect().width).css("height",b.get(0).getBoundingClientRect().height).addClass("fr-active")}function J(b){if(b&&"touchend"==b.type&&ja)return!0;if(b&&a.edit.isDisabled())return b.stopPropagation(),b.preventDefault(),!1;if(a.edit.isDisabled())return!1;for(b=0;b<e.INSTANCES.length;b++)e.INSTANCES[b]!=
a&&e.INSTANCES[b].events.trigger("video.hideResizer");a.toolbar.disable();a.helpers.isMobile()&&(a.events.disableBlur(),a.$el.blur(),a.events.enableBlur());a.$el.find(".fr-video.fr-active").removeClass("fr-active");G=P(this);G.addClass("fr-active");a.opts.iframe&&a.size.syncIframe();pa();m();k();a.selection.clear();a.button.bulkRefresh();a.events.trigger("image.hideResizer")}function ka(b){G&&(a.shared.vid_exit_flag||!0===b)&&(ea.removeClass("fr-active"),a.toolbar.enable(),G.removeClass("fr-active"),
G=null,U())}function aa(){a.shared.vid_exit_flag=!0}function U(){a.shared.vid_exit_flag=!1}function C(b){var c=b.originalEvent.dataTransfer;if(c&&c.files&&c.files.length){var d=c.files[0];if(d&&d.type&&-1!==d.type.indexOf("video")){if(!a.opts.videoUpload)return b.preventDefault(),b.stopPropagation(),!1;a.markers.remove();a.markers.insertAtPoint(b.originalEvent);a.$el.find(".fr-marker").replaceWith(e.MARKERS);a.popups.hideAll();a.popups.get("video.insert")||K();a.popups.setContainer("video.insert",
a.$sc);a.popups.show("video.insert",b.originalEvent.pageX,b.originalEvent.pageY);r();0<=a.opts.videoAllowedTypes.indexOf(d.type.replace(/video\//g,""))?wa(c.files):ia(6);b.preventDefault();b.stopPropagation();return!1}}}function da(a){G&&G.find("iframe")&&G.find("iframe").length&&l();var b=new FileReader;b.onload=function(){var c=atob(b.result.split(",")[1]);for(var d=[],e=0;e<c.length;e++)d.push(c.charCodeAt(e));c=window.URL.createObjectURL(new Blob([new Uint8Array(d)],{type:a.type}));v(c,!1,null,
G)};r();b.readAsDataURL(a)}function wa(b){if("undefined"!=typeof b&&0<b.length){if(!1===a.events.trigger("video.beforeUpload",[b]))return!1;b=b[0];if(!(null!==a.opts.videoUploadURL&&"https://i.froala.com/upload"!=a.opts.videoUploadURL||a.opts.videoUploadToS3||a.opts.videoUploadToAzure))return da(b),!1;if(b.size>a.opts.videoMaxSize)return ia(5),!1;if(0>a.opts.videoAllowedTypes.indexOf(b.type.replace(/video\//g,"")))return ia(6),!1;var c;a.drag_support.formdata&&(c=a.drag_support.formdata?new FormData:
null);if(c){var d;if(!1!==a.opts.videoUploadToS3)for(d in c.append("key",a.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(b.name||"untitled")),c.append("success_action_status","201"),c.append("X-Requested-With","xhr"),c.append("Content-Type",b.type),a.opts.videoUploadToS3.params)a.opts.videoUploadToS3.params.hasOwnProperty(d)&&c.append(d,a.opts.videoUploadToS3.params[d]);for(d in a.opts.videoUploadParams)a.opts.videoUploadParams.hasOwnProperty(d)&&c.append(d,a.opts.videoUploadParams[d]);
c.append(a.opts.videoUploadParam,b);var e=a.opts.videoUploadURL;a.opts.videoUploadToS3&&(e=a.opts.videoUploadToS3.uploadURL?a.opts.videoUploadToS3.uploadURL:"https://".concat(a.opts.videoUploadToS3.region,".amazonaws.com/").concat(a.opts.videoUploadToS3.bucket));var f=a.opts.videoUploadMethod;if(a.opts.videoUploadToAzure){var h=e=a.opts.videoUploadToAzure.uploadURL?"".concat(a.opts.videoUploadToAzure.uploadURL,"/").concat(b.name):encodeURI("https://".concat(a.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(a.opts.videoUploadToAzure.container,
"/").concat(b.name));a.opts.videoUploadToAzure.SASToken&&(e+=a.opts.videoUploadToAzure.SASToken);f="PUT"}var k=a.core.getXHR(e,f);if(a.opts.videoUploadToAzure){e=(new Date).toUTCString();if(!a.opts.videoUploadToAzure.SASToken&&a.opts.videoUploadToAzure.accessKey){var l=a.opts.videoUploadToAzure.account,m=a.opts.videoUploadToAzure.container;a.opts.videoUploadToAzure.uploadURL&&(l=a.opts.videoUploadToAzure.uploadURL.split("/"),m=l.pop(),l=l.pop().split(".")[0]);var n="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(e,
"\nx-ms-version:2019-07-07");m=encodeURI("/"+l+"/"+m+"/"+b.name);var p=f=a.cryptoJSPlugin.cryptoJS.HmacSHA256(f+"\n\n\n"+b.size+"\n\n"+b.type+"\n\n\n\n\n\n\n"+n+"\n"+m,a.cryptoJSPlugin.cryptoJS.enc.Base64.parse(a.opts.videoUploadToAzure.accessKey)).toString(a.cryptoJSPlugin.cryptoJS.enc.Base64);k.setRequestHeader("Authorization","SharedKey "+l+":"+f)}k.setRequestHeader("x-ms-version","2019-07-07");k.setRequestHeader("x-ms-date",e);k.setRequestHeader("Content-Type",b.type);k.setRequestHeader("x-ms-blob-type",
"BlockBlob");for(d in a.opts.videoUploadParams)a.opts.videoUploadParams.hasOwnProperty(d)&&k.setRequestHeader(d,a.opts.videoUploadParams[d]);for(d in a.opts.videoUploadToAzure.params)a.opts.videoUploadToAzure.params.hasOwnProperty(d)&&k.setRequestHeader(d,a.opts.videoUploadToAzure.params[d])}k.onload=function(){a:{var b=G,c=h,d=p;w("Loading video");var e=k.status,f=k.response,g=k.responseXML,l=k.responseText;try{if(a.opts.videoUploadToS3||a.opts.videoUploadToAzure)if(201==e){if(a.opts.videoUploadToAzure){if(!1===
a.events.trigger("video.uploadedToAzure",[k.responseURL,d,f],!0)){a.edit.on();break a}var m=c}else try{var n=P(g).find("Location").text(),q=P(g).find("Key").text();!1===a.events.trigger("video.uploadedToS3",[n,q,g],!0)?(a.edit.on(),m=!1):m=n}catch(Ca){ia(4,g),m=!1}m&&v(m,!1,[],b,f||g)}else ia(4,f||g);else if(200<=e&&300>e){var r=D(l);r&&v(r.link,!1,r,b,f||l)}else ia(3,f||l)}catch(Ca){ia(4,f||l)}}};k.onerror=g;k.upload.onprogress=z;k.onabort=H;r();a.events.disableBlur();a.edit.off();a.events.enableBlur();
if(d=a.popups.get("video.insert"))P(d.off("abortUpload")).on("abortUpload",function(){4!=k.readyState&&k.abort()});k.send(a.opts.videoUploadToAzure?b:c)}}}function ua(b){a.events.$on(b,"dragover dragenter",".fr-video-upload-layer",function(){P(this).addClass("fr-drop");return!1},!0);a.events.$on(b,"dragleave dragend",".fr-video-upload-layer",function(){P(this).removeClass("fr-drop");return!1},!0);a.events.$on(b,"drop",".fr-video-upload-layer",function(c){c.preventDefault();c.stopPropagation();P(this).removeClass("fr-drop");
if((c=c.originalEvent.dataTransfer)&&c.files){var d=b.data("instance")||a;d.events.disableBlur();d.video.upload(c.files);d.events.enableBlur()}},!0);a.helpers.isIOS()&&a.events.$on(b,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){P(this).trigger("click")},!0);a.events.$on(b,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var c=b.data("instance")||a;c.events.disableBlur();b.find("input:focus").blur();c.events.enableBlur();c.video.upload(this.files)}P(this).val("")},
!0)}function t(){a.events.on("drop",C,!0);a.events.on("mousedown window.mousedown",aa);a.events.on("window.touchmove",U);a.events.on("mouseup window.mouseup",ka);a.events.on("commands.mousedown",function(a){0<a.parents(".fr-toolbar").length&&ka()});a.events.on("video.hideResizer commands.undo commands.redo element.dropped",function(){ka(!0)})}function ia(b,c){a.edit.on();G&&G.find("video").addClass("fr-error");M(a.language.translate("Something went wrong. Please try again."));a.events.trigger("video.error",
[{code:b,message:za[b]},c])}function la(){var b="";return 0<a.opts.videoEditButtons.length?(a.opts.videoResponsive&&(-1<a.opts.videoEditButtons.indexOf("videoSize")&&a.opts.videoEditButtons.splice(a.opts.videoEditButtons.indexOf("videoSize"),1),-1<a.opts.videoEditButtons.indexOf("videoDisplay")&&a.opts.videoEditButtons.splice(a.opts.videoEditButtons.indexOf("videoDisplay"),1),-1<a.opts.videoEditButtons.indexOf("videoAlign")&&a.opts.videoEditButtons.splice(a.opts.videoEditButtons.indexOf("videoAlign"),
1)),b+='<div class="fr-buttons"> \n '.concat(a.button.buildList(a.opts.videoEditButtons)," \n </div>"),b=a.popups.create("video.edit",{buttons:b}),a.events.$on(a.$wp,"scroll.video-edit",function(){G&&a.popups.isVisible("video.edit")&&(a.events.disableBlur(),R(G))}),b):!1}function A(){if(G){var b=a.popups.get("video.size"),c=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video"));b.find('input[name="width"]').val(c.get(0).style.width||c.attr("width")).trigger("change");
b.find('input[name="height"]').val(c.get(0).style.height||c.attr("height")).trigger("change")}}function ca(b){if(b)return a.popups.onRefresh("video.size",A),!0;b="";b='<div class="fr-buttons fr-tabs">'.concat(a.button.buildList(a.opts.videoSizeButtons),"</div>");var c="";c='<div class="fr-video-size-layer fr-layer fr-active" id="fr-video-size-layer-'.concat(a.id,'"><div class="fr-video-group"><div class="fr-input-line"><input id="fr-video-size-layer-width-').concat(a.id,'" type="text" name="width" placeholder="').concat(a.language.translate("Width"),
'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-video-size-layer-height-').concat(a.id,'" type="text" name="height" placeholder="').concat(a.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoSetSize" tabIndex="2" role="button">').concat(a.language.translate("Update"),"</button></div></div>");b=a.popups.create("video.size",{buttons:b,size_layer:c});a.events.$on(a.$wp,"scroll",function(){G&&
a.popups.isVisible("video.size")&&(a.events.disableBlur(),R(G))});return b}function p(a){"undefined"==typeof a&&(a=G);if(a){if(a.hasClass("fr-fvl"))return"left";if(a.hasClass("fr-fvr"))return"right";if(!a.hasClass("fr-dvb")&&!a.hasClass("fr-dvi"))if("block"==a.css("display")){if("left"==a.css("text-algin"))return"left";if("right"==a.css("text-align"))return"right"}else{if("left"==a.css("float"))return"left";if("right"==a.css("float"))return"right"}}return"center"}function x(a){"undefined"==typeof a&&
(a=G);var b=a.css("float");a.css("float","none");if("block"==a.css("display"))return a.css("float",""),a.css("float")!=b&&a.css("float",b),"block";a.css("float","");a.css("float")!=b&&a.css("float",b);return"inline"}function l(){if(G&&!1!==a.events.trigger("video.beforeRemove",[G])){var b=G;a.popups.hideAll();ka(!0);!a.opts.trackChangesEnabled||b[0].parentNode&&"SPAN"===b[0].parentNode.tagName&&b[0].parentNode.hasAttribute("data-tracking")?(a.selection.setBefore(b.get(0))||a.selection.setAfter(b.get(0)),
b.remove(),a.selection.restore(),a.html.fillEmptyBlocks()):a.track_changes.removeSpecialItem(b)}}function q(){n()}function X(b,c,d){!a.opts.htmlUntouched&&a.opts.useClasses?(b.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),b.addClass("fr-fv".concat(d[0]," fr-dv").concat(c[0]))):"inline"==c?(b.css({display:"inline-block"}),"center"==d?b.css({"float":"none"}):"left"==d?b.css({"float":"left"}):b.css({"float":"right"})):(b.css({display:"block",clear:"both"}),"left"==d?b.css({textAlign:"left"}):"right"==d?
b.css({textAlign:"right"}):b.css({textAlign:"center"}))}function S(a){a.hasClass("fr-dvi")||a.hasClass("fr-dvb")||(a.addClass("fr-fv".concat(p(a)[0])),a.addClass("fr-dv".concat(x(a)[0])))}function E(a){var b=a.hasClass("fr-dvb")?"block":a.hasClass("fr-dvi")?"inline":null,c=a.hasClass("fr-fvl")?"left":a.hasClass("fr-fvr")?"right":p(a);X(a,b,c);a.removeClass("fr-dvb fr-dvi fr-fvr fr-fvl")}function oa(){var b=a.$el.find("video").filter(function(){return 0===P(this).parents("span.fr-video").length});
if(0!=b.length){b.wrap(P(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false"));a.$el.find("embed, iframe").filter(function(){a.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src);if(0<P(this).parents("span.fr-video").length)return!1;for(var b=P(this).attr("src"),c=0;c<e.VIDEO_PROVIDERS.length;c++){var d=e.VIDEO_PROVIDERS[c];if(d.test_regex.test(b)&&(new RegExp(a.opts.videoAllowedProviders.join("|"))).test(d.provider))return!0}return!1}).map(function(){return 0===
P(this).parents("object").length?this:P(this).parents("object").get(0)}).wrap(P(document.createElement("span")).attr("class","fr-video").attr("contenteditable","false"));b=a.$el.find("span.fr-video, video");for(var c=0;c<b.length;c++){var d=P(b[c]);!a.opts.htmlUntouched&&a.opts.useClasses?(S(d),a.opts.videoTextNear||d.removeClass("fr-dvi").addClass("fr-dvb")):a.opts.htmlUntouched||a.opts.useClasses||E(d)}b.toggleClass("fr-draggable",a.opts.videoMove)}}function W(b){document.getElementById("autoplay-".concat(a.id)).style.cssText=
"background:".concat(b)}function pa(){if(G){a.selection.clear();var b=a.doc.createRange();b.selectNode(G.get(0));a.selection.get().addRange(b)}}var P=a.$,ta,na,ea,G,za={1:"Video cannot be loaded from the passed link.",2:"No link in upload response.",3:"Error during file upload.",4:"Parsing response failed.",5:"File is too large.",6:"Video file type is invalid.",7:"Files can be uploaded only to same domain in IE 8 and IE 9."},Y,ja;a.shared.vid_exit_flag=!1;return{_init:function(){a.opts.videoResponsive&&
(a.opts.videoResize=!1);t();a.helpers.isMobile()&&(a.events.$on(a.$el,"touchstart","span.fr-video",function(){ja=!1}),a.events.$on(a.$el,"touchmove",function(){ja=!0}));a.events.on("html.set",oa);oa();a.events.$on(a.$el,"mousedown","span.fr-video",function(b){b.stopPropagation();!a.browser.msie&&!a.browser.edge||b.target.innerText||(b.target.dragDrop(),J.call(this,b))});a.events.$on(a.$el,"click touchend","span.fr-video",function(a){if(a.target.innerText.length||"false"==P(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;
J.call(this,a)});a.events.on("keydown",function(b){var c=b.which;if(G&&(c==e.KEYCODE.BACKSPACE||c==e.KEYCODE.DELETE))return b.preventDefault(),l(),a.undo.saveStep(),!1;if(G&&c==e.KEYCODE.ESC)return ka(!0),b.preventDefault(),!1;if(G&&c!=e.KEYCODE.F10&&!a.keys.isBrowserAction(b))return b.preventDefault(),!1},!0);a.events.on("toolbar.esc",function(){if(G)return a.events.disableBlur(),a.events.focus(),!1},!0);a.events.on("toolbar.focusEditor",function(){if(G)return!1},!0);a.events.on("keydown",function(){a.$el.find("span.fr-video:empty").remove()});
a.$wp&&(f(),a.events.on("contentChanged",f));K(!0);ca(!0)},showInsertPopup:function(){var b=a.$tb.find('.fr-command[data-cmd="insertVideo"]'),c=a.popups.get("video.insert");c||(c=K());n();c.hasClass("fr-active")||(a.popups.refresh("video.insert"),a.popups.setContainer("video.insert",a.$tb),b.isVisible()?(c=a.button.getPosition(b),a.popups.show("video.insert",c.left,c.top,b.outerHeight())):(a.position.forSelection(c),a.popups.show("video.insert")))},showLayer:function(b){var c=a.popups.get("video.insert");
if(!G&&!a.opts.toolbarInline){var d=a.$tb.find('.fr-command[data-cmd="insertVideo"]');var e=d.offset().left;d=d.offset().top+(a.opts.toolbarBottom?10:d.outerHeight()-10)}a.opts.toolbarInline&&(d=c.offset().top-a.helpers.getPX(c.css("margin-top")),c.hasClass("fr-above")&&(d+=c.outerHeight()));c.find(".fr-layer").removeClass("fr-active");c.find(".fr-".concat(b,"-layer")).addClass("fr-active");a.popups.show("video.insert",e,d,0);a.accessibility.focusPopup(c)},refreshByURLButton:function(b){var c=a.popups.get("video.insert");
c&&c.find(".fr-video-by-url-layer").hasClass("fr-active")&&b.addClass("fr-active").attr("aria-pressed",!0)},refreshEmbedButton:function(b){var c=a.popups.get("video.insert");c&&c.find(".fr-video-embed-layer").hasClass("fr-active")&&b.addClass("fr-active").attr("aria-pressed",!0)},refreshUploadButton:function(b){var c=a.popups.get("video.insert");c&&c.find(".fr-video-upload-layer").hasClass("fr-active")&&b.addClass("fr-active").attr("aria-pressed",!0)},upload:wa,insertByURL:function(b){var c=document.getElementById("videoPluginAutoplay")?
document.getElementById("videoPluginAutoplay").checked:!1;"undefined"==typeof b&&(b=(a.popups.get("video.insert").find('.fr-video-by-url-layer input[type="text"]').val()||"").trim());var d=null;/^http/.test(b)||(b="https://".concat(b));if(a.helpers.isURL(b))for(var f=0;f<e.VIDEO_PROVIDERS.length;f++){var g=e.VIDEO_PROVIDERS[f];g.html.includes("autoplay=1")&&document.getElementById("videoPluginAutoplay").checked?(g.html=g.html,document.getElementById("videoPluginAutoplay").checked=!1):c?(c=g.html.indexOf("{url}")+
5,g.html=[g.html.slice(0,c),"autoplay=1&mute=1",g.html.slice(c)].join(""),c=!1,document.getElementById("videoPluginAutoplay").checked=!1):(g=e.VIDEO_PROVIDERS[f],g.html=g.html.replace("autoplay=1&mute=1",""));if(g.test_regex.test(b)&&(new RegExp(a.opts.videoAllowedProviders.join("|"))).test(g.provider)){d=b.replace(g.url_regex,g.url_text);d=g.html.replace(/\{url\}/,d);break}}d?V(d):(M(a.language.translate("Something went wrong. Please try again.")),a.events.trigger("video.linkError",[b]))},insertEmbed:function(b){"undefined"==
typeof b&&(b=a.popups.get("video.insert").find(".fr-video-embed-layer textarea").val()||"");0!==b.length&&e.VIDEO_EMBED_REGEX.test(b)?V(b):(M(a.language.translate("Something went wrong. Please try again.")),a.events.trigger("video.codeError",[b]))},insert:V,align:function(b){G.removeClass("fr-fvr fr-fvl");!a.opts.htmlUntouched&&a.opts.useClasses?"left"==b?G.addClass("fr-fvl"):"right"==b&&G.addClass("fr-fvr"):X(G,x(),b);pa();m();k();a.selection.clear()},refreshAlign:function(b){if(!G)return!1;b.find(">*").first().replaceWith(a.icon.create("video-align-".concat(p())))},
refreshAlignOnShow:function(a,b){G&&b.find('.fr-command[data-param1="'.concat(p(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function(b){G.removeClass("fr-dvi fr-dvb");!a.opts.htmlUntouched&&a.opts.useClasses?"inline"==b?G.addClass("fr-dvi"):"block"==b&&G.addClass("fr-dvb"):X(G,b,p());pa();m();k();a.selection.clear()},refreshDisplayOnShow:function(a,b){G&&b.find('.fr-command[data-param1="'.concat(x(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:l,hideProgressBar:n,
showSizePopup:function(){a.popups.get("video.size")||ca();n();a.popups.refresh("video.size");a.popups.setContainer("video.size",a.$sc);var b=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video")),c=b.offset().left+b.outerWidth()/2,d=b.offset().top+b.height();a.popups.show("video.size",c,d,b.height(),!0)},replace:function(){a.popups.get("video.insert")||K();a.popups.isVisible("video.insert")||(n(),a.popups.refresh("video.insert"),a.popups.setContainer("video.insert",
a.$sc));var b=G.offset().left+G.outerWidth()/2,c=G.offset().top+G.height();a.popups.show("video.insert",b,c,G.outerHeight(),!0)},back:function(){G?(a.events.disableBlur(),G[0].click()):(a.events.disableBlur(),a.selection.restore(),a.events.enableBlur(),a.popups.hide("video.insert"),a.toolbar.showInline())},setSize:function(b,c){if(G){var d=a.popups.get("video.size"),e=G.find("iframe, embed, ".concat(G.find("iframe, embed, audio").get(0)?"audio":"video"));e.css("width",b||d.find('input[name="width"]').val());
e.css("height",c||d.find('input[name="height"]').val());e.get(0).style.width&&e.removeAttr("width");e.get(0).style.height&&e.removeAttr("height");d.find("input:focus").blur();setTimeout(function(){G.trigger("click")},a.helpers.isAndroid()?50:0)}},get:function(){return G},showProgressBar:r,_editVideo:R,setAutoplay:function(){if(G.find("iframe, embed, audio").get(0)){var a=G.find("iframe, embed, audio");a.get(0).src.includes("autoplay=1")?(W("#FFFFFF"),a.get(0).src=a.get(0).src.replace("&autoplay=1",
"")):(W("#D6D6D6"),a.get(0).src=a.get(0).src+"&autoplay=1")}else if(a=G.find("iframe, embed, video"),a.get(0).outerHTML.includes("autoplay"))W("#FFFFFF"),a.get(0).outerHTML=a.get(0).outerHTML.replace("autoplay","");else{W("#D6D6D6");var b=a.get(0).outerHTML.indexOf("class")-1;a.get(0).outerHTML=[a.get(0).outerHTML.slice(0,b),"autoplay",a.get(0).outerHTML.slice(b)].join("")}}}};e.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?
(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"});e.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"});e.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"});e.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(a){this.video.refreshByURLButton(a)}});
e.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"});e.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(a){this.video.refreshEmbedButton(a)}});e.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"});e.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(a){this.video.refreshUploadButton(a)}});
e.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}});e.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}});e.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"});e.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(a,c){this.video.display(c)},refresh:function(a){this.opts.videoTextNear||a.addClass("fr-hidden")},refreshOnShow:function(a,
c){this.video.refreshDisplayOnShow(a,c)}});e.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"});e.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"});e.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"});e.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"});e.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"});e.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",
center:"None",right:"Align Right"},html:function(){var a='<ul class="fr-dropdown-list" role="presentation">',c=e.COMMANDS.videoAlign.options,k;for(k in c)c.hasOwnProperty(k)&&(a+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="videoAlign" data-param1="'.concat(k,'" title="').concat(this.language.translate(c[k]),'">').concat(this.icon.create("video-align-".concat(k)),'<span class="fr-sr-only">').concat(this.language.translate(c[k]),"</span></a></li>"));
return a+"</ul>"},callback:function(a,c){this.video.align(c)},refresh:function(a){this.video.refreshAlign(a)},refreshOnShow:function(a,c){this.video.refreshAlignOnShow(a,c)}});e.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"});e.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}});e.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"});e.RegisterCommand("videoRemove",
{title:"Remove",callback:function(){this.video.remove()}});e.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"});e.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}});e.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"});e.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}});e.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"});e.RegisterCommand("videoBack",
{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(a){this.video.get()||this.opts.toolbarInline?(a.removeClass("fr-hidden"),a.next(".fr-separator").removeClass("fr-hidden")):(a.addClass("fr-hidden"),a.next(".fr-separator").addClass("fr-hidden"))}});e.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}});e.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}})});
'use strict';!function(f,z,D,H){f.FE=FroalaEditor;XF.isEditorEnabled=function(){return XF.LocalStorage.get("editorDisabled")?!1:!0};XF.setIsEditorEnabled=function(b){b?XF.LocalStorage.remove("editorDisabled"):XF.LocalStorage.set("editorDisabled","1",!0)};XF.Editor=XF.Element.newHandler({options:{maxHeight:.7,minHeight:250,buttonsRemove:"",attachmentTarget:!0,deferred:!1,attachmentUploader:".js-attachmentUpload",attachmentContextInput:"attachment_hash_combined"},edMinHeight:63,$form:null,buttonManager:null,
ed:null,mentioner:null,emojiCompleter:null,uploadUrl:null,init:function(){this.$target.is("textarea")?(this.options.minHeight=Math.max(this.edMinHeight,this.options.minHeight),this.$target.trigger("editor:start",[this]),this.$form=this.$target.closest("form"),this.$form.length||(this.$form=null),this.options.attachmentTarget&&(this.uploadUrl=this.$target.closest("[data-xf-init~=attachment-manager]").find(this.options.attachmentUploader).attr("href")),this.options.deferred||this.startInit()):console.error("Editor can only be initialized on a textarea")},
startInit:function(b){var a=this,e=b&&b.beforeInit,c=b&&b.afterInit;this.$target.css("visibility","");this.ed=new FroalaEditor(this.$target[0],this.getEditorConfig(),function(){var d=a.ed;e&&e(a,d);a.editorInit();c&&c(a,d)})},reInit:function(b){this.ed&&(this.ed.destroy(),this.startInit(b))},getEditorConfig:function(){var b=this.getHeightLimits(),a="font_awesome_5";"s"!==XF.config.fontAwesomeWeight&&(a+=XF.config.fontAwesomeWeight);b={attribution:!1,direction:FroalaEditor.LANGUAGE.xf.direction,editorClass:"bbWrapper",
fileUpload:!1,fileMaxSize:4294967296,fileUploadParam:"upload",fileUploadURL:!1,fontFamily:{arial:"Arial","'book antiqua'":"Book Antiqua","'courier new'":"Courier New",georgia:"Georgia",tahoma:"Tahoma","'times new roman'":"Times New Roman","'trebuchet ms'":"Trebuchet MS",verdana:"Verdana"},fontSize:"9 10 12 15 18 22 26".split(" "),heightMin:b[0],heightMax:b[1],htmlAllowedTags:"a audio b bdi bdo blockquote br cite code dfn div em h1 h2 h3 h4 h5 h6 hr i img li mark ol p pre s small span strike strong sub sup table tbody td tfoot th thead time tr u ul var video wbr".split(" "),
key:"ZOD3gA8B10A6C5A2G3C-8TMIBDIa1NTMNZFFPFZc1d1Ib2a1E1fA4A3G3F3F2B6C4C4C3G3==",htmlAllowComments:!1,iconsTemplate:a,imageUpload:!1,imageCORSProxy:null,imageDefaultDisplay:"inline",imageDefaultWidth:0,imageEditButtons:"imageAlign imageSize imageAlt | imageReplace imageRemove | imageLink linkOpen linkEdit linkRemove".split(" "),imageManagerLoadURL:!1,imageMaxSize:4294967296,imagePaste:!1,imageResize:!0,imageUploadParam:"upload",imageUploadRemoteUrls:!1,imageUploadURL:!1,language:"xf",linkAlwaysBlank:!0,
linkEditButtons:["linkOpen","linkEdit","linkRemove"],linkInsertButtons:["linkBack"],listAdvancedTypes:!1,paragraphFormat:{N:"Normal",H2:"Heading 1",H3:"Heading 2",H4:"Heading 3"},placeholderText:"",tableResizer:!1,tableEditButtons:["tableHeader","tableRemove","|","tableRows","tableColumns"],toolbarSticky:!1,toolbarStickyOffset:36,tableInsertHelper:!1,videoAllowedTypes:["mp4","quicktime","ogg","webm"],videoAllowedProviders:[],videoDefaultAlign:"center",videoDefaultDisplay:"inline",videoDefaultWidth:500,
videoEditButtons:["videoReplace","videoRemove","|","videoAlign","videoSize"],videoInsertButtons:["videoBack","|","videoUpload"],videoMaxSize:4294967296,videoMove:!0,videoUpload:!1,videoUploadParam:"upload",videoUploadURL:!1,zIndex:XF.getElEffectiveZIndex(this.$target)+1,xfBbCodeAttachmentContextInput:this.options.attachmentContextInput};FroalaEditor.DefineIcon("insertVideo",{FA5NAME:"video-plus"});this.uploadUrl?(a={_xfToken:XF.config.csrf,_xfResponseType:"json",_xfWithData:1},b.fileUpload=!0,b.fileUploadParams=
a,b.fileUploadURL=this.uploadUrl,b.imageUpload=!0,b.imageUploadParams=a,b.imageUploadURL=this.uploadUrl,b.imagePaste=!0,b.videoUpload=!0,b.videoUploadParams=a,b.videoUploadURL=this.uploadUrl):b.imageInsertButtons=["imageByURL"];a=this.getButtonConfig();b=f.extend({},b,a);this.$target.trigger("editor:config",[b,this]);return b},getButtonConfig:function(){try{var b=f.parseJSON(f(".js-editorToolbars").first().html())||{}}catch(d){console.error("Editor buttons data not valid: ",d);return}var a={};try{var e=
f.parseJSON(f(".js-editorDropdowns").first().html())||{},c;for(c in e)e.hasOwnProperty(c)&&e[c].buttons&&(a[c]=e[c].buttons)}catch(d){console.error("Editor dropdowns data not valid: ",d)}this.buttonManager=b=new XF.EditorButtons(this,b,a);XF.isElementWithinDraftForm(this.$target)||b.addRemovedButton("xfDraft");(a=this.getAttachmentManager())&&a.supportsVideoAudioUploads||b.addRemovedButton("insertVideo");this.options.buttonsRemove&&b.addRemovedButtons(this.options.buttonsRemove.split(","));this.$target.trigger("editor:toolbar-buttons",
[{buttonManager:b},this]);return b.getToolbars()},editorInit:function(){var b=this,a=this.ed;this.watchEditorHeight();if(this.$form&&(this.$form.on("ajax-submit:before draft:beforesync",function(){XF.EditorHelpers.sync(a)}),this.$form.on("draft:complete",function(d,g){if(a.$tb.length&&!0===g.draft.saved&&(d=a.$tb.find(".fr-command.fr-btn[data-cmd=xfDraft]"),d.length)){var l=d.find(".editorDraftIndicator");l.length||(l=f('<b class="editorDraftIndicator" />').appendTo(d));setTimeout(function(){l.addClass("is-active")},
50);setTimeout(function(){l.removeClass("is-active")},2500)}}),this.$form.on("ajax-submit:before",function(d,g){0<a.$el.find(".fr-uploading").length&&!confirm(XF.phrase("files_being_uploaded_are_you_sure"))&&(g.preventSubmit=!0)}),a.events.on("keydown",function(d){if("Enter"==d.key&&(XF.isMac()?d.metaKey:d.ctrlKey))return d.preventDefault(),b.$form.submit(),!1},!0),XF.isElementWithinDraftForm(this.$form))){var e=f(a.$el[0]);XF.Element.applyHandler(e,"draft-trigger")}a.events.on("image.inserted",function(d){d.removeClass("fr-dib").addClass("fr-dii")});
a.events.on("image.loaded",function(d){b.replaceBase64ImageWithUpload(d)});a.events.on("image.beforePasteUpload",function(d){if("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="==d.src)return!1});var c=!1;a.events.on("cut copy",function(d){if((d=a.selection.ranges(0))&&d.commonAncestorContainer){var g=d.commonAncestorContainer;if(g.nodeType==Node.TEXT_NODE)if(0==d.startOffset&&d.endOffset==g.length&&g.parentNode!=a.$el[0]){for(g=g.parentNode;g.parentNode!=a.$el[0]&&!g.previousSibling&&
!g.nextSibling;)g=g.parentNode;d.selectNode(g)}else g=g.parentNode;var l=f(g).find("p");l.attr("data-xf-p","1");setTimeout(function(){l.removeAttr("data-xf-p")},0)}});a.events.on("paste.before",function(d){c=!1;if(d&&d.clipboardData&&d.clipboardData.getData){var g="";d=d.clipboardData.types;if(a.helpers.isArray(d))for(var l=0;l<d.length;l++)g+=d[l]+";";else g=d;!/text\/plain/.test(g)||a.browser.mozilla||/text\/html/.test(g)||/text\/rtf/.test(g)&&a.browser.safari||(c=!0)}});a.events.on("paste.beforeCleanup",
function(d){c&&(d=d.replace(/\t/g," ").replace(/ /g," ").replace(/ /g," ").replace(/> /g,"> "));d=d.replace(/(<pre[^>]*>)([\s\S]+?)(<\/pre>)/g,function(t,p,h,m){h=h.replace(/\r?\n/g,"<br>");return p+h+m});d=d.replace(/<p([^>]+)margin-top:\s*0[a-z]*;\s*margin-bottom:\s*0[a-z]*;([^>]*)>([\s\S]*?)<\/p>/g,function(t,p,h,m){return"<p"+p+h+' data-xf-p="1">'+m+"</p>"});d=d.replace(/<div(?=\s|>)/g,function(t){return t+' data-xf-p="1"'});var g;(g=d.match(/^(?:<meta[^>]*>)?<a href=(?:'|")([^'"]*)\/?(?:'|")>\1<\/a>$/))&&
(d=f.trim(g[1]));(g=d.match(/\x3c!--StartFragment--\x3e<a href=(?:'|")([^'"]*)\/?(?:'|")>[^<]+<\/a>\x3c!--EndFragment--\x3e/))&&(d=f.trim(g[1]));d=XF.adjustHtmlForRte(d);d=f.parseHTML(d);var l=function(t){var p,h;for(p=0;p<t.length;p++){var m=t[p];if(m instanceof Element){if(m.hasAttributes()){var q=m.attributes;for(h=q.length-1;0<=h;h--){var u=q[h];"on"!=u.name.toLowerCase().substr(0,2)&&"style"!=u.name.toLowerCase()||m.removeAttribute(u.name)}}l(m.children)}}};l(d);d=f("<div />").html(d).html();
return f.trim(d)});a.events.on("paste.afterCleanup",function(d){return b.normalizePaste(d)});a.events.on("paste.after",function(){var d=a.selection.ranges(0);if(d&&d.getBoundingClientRect){d=d.getBoundingClientRect();var g=a.$wp[0].getBoundingClientRect();(0>d.top||0>d.left||d.bottom>f(z).height()||d.right>f(z).width()||d.bottom>g.bottom)&&setTimeout(function(){b.scrollToCursor()},100);XF.EditorHelpers.normalizeBrForEditor(a.$el)}});e={url:XF.getAutoCompleteUrl()};this.mentioner=new XF.AutoCompleter(f(a.$el),
e,a);XF.config.shortcodeToEmoji&&(e={url:XF.canonicalizeUrl("index.php?misc/find-emoji"),at:":",keepAt:!1,insertMode:"html",displayTemplate:'<div class="contentRow"><div class="contentRow-figure contentRow-figure--emoji">{{{icon}}}</div><div class="contentRow-main contentRow-main--close">{{{text}}}<div class="contentRow-minor contentRow-minor--smaller">{{{desc}}}</div></div></div>',beforeInsert:function(d,g){XF.logRecentEmojiUsage(f(g).find("img.smilie").data("shortname"));return d}},this.emojiCompleter=
new XF.AutoCompleter(f(a.$el),e,a));this.setupUploads();XF.isEditorEnabled()||(e=this.$target.next("input[data-bb-code]"),e.length?a.bbCode.toBbCode(e.val(),!0):a.bbCode.toBbCode(null,!0));XF.EditorHelpers.setupBlurSelectionWatcher(a);this.$target.on("control:enabled",function(){a.edit.on()});this.$target.on("control:disabled",function(){a.edit.off()});this.$target.on("control:enabled",function(){a.edit.on();a.bbCode&&a.bbCode.isBbCodeView()?a.$tb.find(".fr-command[data-cmd=xfBbCode]").removeClass("fr-disabled"):
a.toolbar.enable()});this.$target.on("control:disabled",function(){a.edit.off();a.toolbar.disable();a.$tb.find(" > .fr-command").addClass("fr-disabled")});this.$target.trigger("editor:init",[a,this]);XF.layoutChange()},focus:function(){XF.EditorHelpers.focus(this.ed)},blur:function(){XF.EditorHelpers.blur(this.ed)},normalizePaste:function(b){b=b.replace(/(<(ul|li|p|div)>)\s+/ig,"$1");b=b.replace(/\s+(<\/(ul|li|p|div)>)/ig,"$1");b=b.replace(/<span> <\/span>/ig," ").replace(/(<\/li>)\s+(<li)/ig,
"$1$2");var a=this.ed,e=f.parseHTML(b),c=f("<div />").html(e);c.find("table").each(function(h,m){h=f(m).width("100%");h.wrap('<div class="bbTable"></div>');h.find("[colspan], [rowspan]").removeAttr("colspan rowspan");var q=0;h.find("> tbody > tr").each(function(){var u=f(this).find("> td, > th").length;q=Math.max(q,u)}).each(function(){var u=f(this).find("> td, > th"),v=u.length;if(v<q){var y="<td />";for(v&&"TH"===u[0].tagName&&(y="<th />");v<q;v++)f(this).append(y)}})});c.find("code, del, ins, sub, sup").replaceWith(function(){return this.innerHTML});
var d=!1;c.find("h1").replaceWith(function(){d=!0;return f("<h2>").append(f(this).contents())});var g={H2:d?"H3":"H2",H3:d?"H4":"H3",H4:"H4",H5:"H4",H6:"H4"};c.find("h2, h3, h4, h5, h6").replaceWith(function(){return f("<"+g[this.tagName]+">").append(f(this).contents())});c.find("pre").replaceWith(function(){var h=this.innerHTML;h=h.replace(/\r?\n/g,"<br>").replace(/\t/g," ").replace(/ /g," ").replace(/ /g," ").replace(/> /g,"> ").replace(/<br> /g,"<br> ");return h+"<br>"});
a.opts.imagePaste||c.find("img[data-fr-image-pasted]").each(function(){var h=f(this);h.attr("src").match(/https?:\/\//i)&&h.removeAttr("data-fr-image-pasted")});c.find("br").each(function(h,m){var q=f(m).parents().not(c);if(q.length&&!q.filter(function(C,k){return a.node.isBlock(k)}).length){h=f([]);var u=!1,v=m,y=q.last();do{for(;v.nextSibling;)q=f(v.nextSibling).clone(),u?h.append(q):h=h.add(q),f(v.nextSibling).remove();v=v.parentNode;if(!v||c.is(v))break;q=f(v).clone().empty();q.html(h);h=q;u=
!0}while(v.parentNode&&!c.is(v.parentNode));f(m).remove();y.after(h);y.after("<br />")}});b="";e=c[0].textContent.replace(/\s/g,"");try{b=(a.win.localStorage.getItem("fr-copied-text")||"").replace(/\s/g,"")}catch(h){}b!==e&&c.find("> p:not([data-xf-p])").each(function(){this.nextSibling&&f(this).after("<p />")});c.find("p").removeAttr("data-xf-p");e=c.contents();b=f("<div />");for(var l=null,t=0;t<e.length;t++){var p=e[t];p.nodeType==Node.ELEMENT_NODE&&a.node.isBlock(p)?(b.append(p),l=null):p.nodeType==
Node.ELEMENT_NODE&&"BR"==p.tagName?(l||b.append("<p />"),l=null):(l||(l=f("<p />"),b.append(l)),l.append(p))}e=b.children();1==e.length&&e.is("p, div")&&(b=e);return XF.EditorHelpers.normalizeBrForEditor(b.html())},watchEditorHeight:function(){var b=this.ed,a=this;f(z).onPassive("resize",function(){var d=a.getHeightLimits();b.opts.heightMin=d[0];b.opts.heightMax=d[1];b.size.refresh();XF.layoutChange()});b.events.on("focus",function(){a.scrollToCursorAfterPendingResize()});var e=b.$wp.height(),c=function(){var d=
b.$wp.height();e!=d&&(e=d,XF.layoutChange())};b.events.on("keyup",c);b.events.on("commands.after",c);b.events.on("html.set",c);b.events.on("init",c);b.events.on("initialized",c)},getHeightLimits:function(){var b=this.options.maxHeight,a=this.options.minHeight,e=null,c=null;this.$target.closest(".overlay").length&&(b=.1);b&&(e=f(z).height(),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(e-=250),e=Math.floor(0<b?1>=b?e*b:b:e+b),e=Math.max(e,150));a&&e&&(c=Math.min(a,e),c==e&&--c);return[c,e]},setupUploads:function(){var b=
this,a=this.ed;a.events.on("file.uploaded",function(c){this.popups.hide("file.insert");this.events.focus();return b.handleUploadSuccess(c)});a.events.on("file.error",function(c,d){this.popups.hide("file.insert");b.handleUploadError(c,d);this.events.focus();return!1});this.uploadUrl||(a.events.on("image.beforeUpload",function(){return!1}),a.events.on("file.beforeUpload",function(){return!1}),a.events.on("video.beforeUpload",function(){return!1}));a.events.on("image.error",function(c,d){if(d)return this.popups.hide("image.insert"),
b.handleUploadError(c,d),!1});a.events.on("video.error",function(c,d){if(d)return this.popups.hide("video.insert"),b.handleUploadError(c,d),!1});a.events.on("image.uploaded",function(c){return b.handleUploadSuccess(c,function(){a.image.remove();a.popups.hide("image.insert");a.events.focus();return!1},function(){return!0})});a.events.on("video.uploaded",function(c){return b.handleUploadSuccess(c,function(){a.video.remove();a.popups.hide("video.insert");a.events.focus();return!1},function(){return!0})});
var e=function(c,d){if(d){try{var g=f.parseJSON(d)}catch(p){return}c.hasClass("fr-video")&&(c=c.find("video"),c.attr("data-xf-init","video-init").attr("style","").empty());if(g.attachment){g=g.attachment.attachment_id;d=c[0].attributes;for(var l=/^data-(?!xf-init)/,t=d.length-1;0<=t;t--)l.test(d[t].nodeName)&&c.removeAttr(d[t].nodeName);c.attr("data-attachment","full:"+g)}}};a.events.on("image.inserted video.inserted",e);a.events.on("image.replaced video.replaced",e);a.events.on("image.loaded",function(c){if(a.popups.isVisible("image.edit")){var d=
a.image.get();d&&d[0]==c[0]&&(a.image.exitEdit(!0),d=a.selection.ranges(0),d.setStartAfter(c[0]),d.collapse(!0),c=a.selection.get(),c.removeAllRanges(),c.addRange(d),a.events.focus(),b.scrollToCursor())}});a.events.on("video.loaded",function(c){if(a.popups.isVisible("video.edit")){var d=a.video.get();d&&d[0]==c[0]&&(a.events.trigger("video.hideResizer"),a.popups.hide("video.edit"),d=a.selection.ranges(0),d.setStartAfter(c[0]),d.collapse(!0),c=a.selection.get(),c.removeAllRanges(),c.addRange(d),a.events.focus(),
b.scrollToCursor())}});a.events.on("popups.show.image.edit",function(){var c=a.image.get();c.length&&c.hasClass("smilie")&&(a.image.exitEdit(!0),a.selection.save(),setTimeout(function(){a.selection.restore()},0))})},handleUploadSuccess:function(b,a,e){try{var c=f.parseJSON(b)}catch(d){c={status:"error",errors:[XF.phrase("oops_we_ran_into_some_problems")]}}return c.status&&"error"==c.status?(XF.alert(c.errors[0]),a?a(c):!1):(b=this.getAttachmentManager())&&c.attachment?(b.insertUploadedRow(c.attachment),
e?e(c,b):!1):!1},handleUploadError:function(b,a){try{var e=f.parseJSON(a)}catch(c){e=null}e&&e.errors||(e={status:"error",errors:[XF.phrase("oops_we_ran_into_some_problems")]});XF.alert(e.errors[0])},getAttachmentManager:function(){var b=this.$target.closest("[data-xf-init~=attachment-manager]");return b&&b.length?XF.Element.getHandler(b,"attachment-manager"):null},isBbCodeView:function(){return this.ed.bbCode&&this.ed.bbCode.isBbCodeView?this.ed.bbCode.isBbCodeView():!1},insertContent:function(b,
a){var e=this.ed;this.isBbCodeView()?"undefined"!==typeof a&&e.bbCode.insertBbCode(a):(this.focus(),e.undo.saveStep(),e.html.insert(b),e.undo.saveStep(),XF.Element.initialize(e.$el),XF.EditorHelpers.normalizeAfterInsert(e));this.scrollToCursor();this.scrollToCursorAfterPendingResize()},replaceContent:function(b,a){var e=this.ed;this.isBbCodeView()?"undefined"!==typeof a&&e.bbCode.replaceBbCode(a):e.html.set(b)},scrollToCursor:function(){var b=this.ed;if(this.isBbCodeView())b.bbCode.getTextArea().autofocus(),
b.$box[0].scrollIntoView(!0);else{this.focus();var a=b.$box,e=b.$wp,c=b.selection.endElement(),d=c.getBoundingClientRect().bottom,g=!0,l=XF.windowHeight();XF.browser.ios&&(l-=250);if(0>d||d>=l)g=!1;if(e&&g){var t=e[0].getBoundingClientRect();if(d>t.bottom||d<t.top)g=!1}if(!g){d=a[0].getBoundingClientRect();if(0>d.top||d.bottom>=l)XF.browser.ios||a.addClass("is-scrolling-to"),a[0].scrollIntoView(!0),a.removeClass("is-scrolling-to");e?(a=b.position.getBoundingRect().top,a>e.offset().top-b.helpers.scrollTop()+
e.height()-50&&e.scrollTop(a+e.scrollTop()-(e.height()+e.offset().top)+b.helpers.scrollTop()+l/2)):c.scrollIntoView()}}},scrollToCursorAfterPendingResize:function(b){var a=this,e=this.ed,c,d=function(){f(z).off("resize",d);f(z).on("scroll",g);c&&clearTimeout(c);c=setTimeout(l,500)},g=function(){c&&clearTimeout(c);c=setTimeout(l,100)},l=function(){f(z).off("scroll",g);e.core.hasFocus()&&a.scrollToCursor()};f(z).on("resize",d);setTimeout(function(){f(z).off("resize",d)},2E3);b&&(c=setTimeout(l,1E3))},
base64ToBytes:function(b,a){a=a||512;b=atob(b);for(var e=[],c=0;c<b.length;c+=a){for(var d=b.slice(c,c+a),g=Array(d.length),l=0;l<d.length;l++)g[l]=d.charCodeAt(l);d=new Uint8Array(g);e.push(d)}return e},editorSupportsUploads:function(){return-1!==this.ed.opts.imageInsertButtons.indexOf("imageUpload")},imageMatchesBase64Encoding:function(b){return b.attr("src").match(/^data:(image\/([a-z0-9]+));base64,(.*)$/)},replaceBase64ImageWithUpload:function(b){if(!b.hasClass("smilie")){var a;if(a=this.imageMatchesBase64Encoding(b)){var e=
a[1];var c=a[2];a=a[3];-1===this.ed.opts.imageAllowedTypes.indexOf(c)?b[0].remove():this.editorSupportsUploads()?(b=new Blob(this.base64ToBytes(a),{type:e}),1024<b.size&&this.ed.image.upload([b])):b[0].remove()}}},isInitialized:function(){return this.ed?!0:!1}});XF.EditorButtons=XF.create({xfEd:null,buttonClasses:null,toolbars:{},dropdowns:{},removeButtons:null,recalculateNeeded:!0,__construct:function(b,a,e){this.xfEd=b;this.removeButtons=[];a&&(this.toolbars=a);e&&(this.dropdowns=e)},addToolbar:function(b,
a){this.toolbars[b]=a;this.recalculateNeeded=!0},adjustToolbar:function(b,a){var e=this.toolbars[b];return e?(this.toolbars[b]=a(e,b,this),this.recalculateNeeded=!0):!1},adjustToolbars:function(b){for(var a in this.toolbars)this.toolbars.hasOwnProperty(a)&&this.adjustToolbar(a,b)},getToolbar:function(b){return this.getToolbars()[b]},getToolbars:function(){this.recalculateIfNeeded();if(XF.EditorHelpers.isPreviewAvailable(this.xfEd.$target))for(var b in this.toolbars)this.toolbars.hasOwnProperty(b)&&
(this.toolbars[b].preview={buttons:["xfPreview"],align:"right"});return this.toolbars},addDropdown:function(b,a){this.dropdowns[b]=a;this.recalculateNeeded=!0},adjustDropdown:function(b,a){var e=this.dropdowns[b];return e?(this.dropdowns[b]=a(e,b,this),this.recalculateNeeded=!0):!1},adjustDropdowns:function(b){for(var a in this.dropdowns)this.dropdowns.hasOwnProperty(a)&&this.adjustDropdown(a,b)},getDropdown:function(b){return this.getDropdowns()[b]},getDropdowns:function(){this.recalculateIfNeeded();
return this.dropdowns},addRemovedButton:function(b){this.removeButtons.push(b);this.recalculateNeeded=!0},addRemovedButtons:function(b){for(var a=0;a<b.length;a++)this.removeButtons.push(b[a]);this.recalculateNeeded=!0},recalculateIfNeeded:function(){this.recalculateNeeded&&this.recalculate()},recalculate:function(){function b(p,h){if(!p.filter)return[];"string"==typeof h&&e[h]&&(h=e[h]);"string"==typeof h&&(h=h.split("|"));return p.filter(function(m){return!(0<=h.indexOf(m))})}var a=this.removeButtons,
e=this.getButtonClasses(),c,d,g,l;for(l=0;l<a.length;l++){var t=a[l];for(c in this.toolbars)if(this.toolbars.hasOwnProperty(c))for(g in this.toolbars[c])this.toolbars[c].hasOwnProperty(g)&&(this.toolbars[c][g].buttons=b(this.toolbars[c][g].buttons,t));for(d in this.dropdowns)this.dropdowns.hasOwnProperty(d)&&(this.dropdowns[d]=b(this.dropdowns[d],t))}for(d in this.dropdowns)if(this.dropdowns.hasOwnProperty(d)&&!this.dropdowns[d].length)for(c in this.toolbars)if(this.toolbars.hasOwnProperty(c))for(g in this.toolbars[c])this.toolbars[c].hasOwnProperty(g)&&
(this.toolbars[c][g].buttons=b(this.toolbars[c][g].buttons,d));this.recalculateNeeded=!1},getButtonClasses:function(){this.buttonClasses||(this.buttonClasses={_basic:["bold","italic","underline","strikeThrough"],_extended:["textColor","fontFamily","fontSize","xfInlineCode","paragraphFormat"],_link:["insertLink"],_align:["align","alignLeft","alignCenter","alignRight","alignJustify"],_list:["formatOL","formatUL","outdent","indent"],_indent:["outdent","indent"],_smilies:["xfSmilie"],_image:["insertImage",
"xfInsertGif"],_media:["insertVideo","xfMedia"],_block:"xfQuote xfCode xfSpoiler xfInlineSpoiler insertTable insertHR".split(" ")});return this.buttonClasses}});XF.EditorHelpers={toolbarSizes:{SM:420,MD:550,LG:800},setupBlurSelectionWatcher:function(b){var a=b.$el,e=!1,c;f(D).on("mousedown keydown",function(d){e&&(b.$el[0]==d.target||f.contains(b.$el[0],d.target)||b.selection.inEditor()&&(c=b.selection.ranges(0)))});b.events.on("blur",function(){b.$box.removeClass("is-focused");c?a.data("xf-ed-blur-sel",
c):a.removeData("xf-ed-blur-sel");e=!1;c=null},!0);b.events.on("focus",function(){b.$box.addClass("is-focused");e=!0;c=null;setTimeout(function(){a.removeData("xf-ed-blur-sel")},0)});b.events.on("commands.before",function(d){(d=FroalaEditor.COMMANDS[d])&&("undefined"==typeof d.focus||d.focus)&&XF.EditorHelpers.restoreMaintainedSelection(b)})},restoreMaintainedSelection:function(b){var a=b.$el.data("xf-ed-blur-sel");b.selection.inEditor()||(a?(b.markers.remove(),b.markers.place(a,!0,0),b.markers.place(a,
!1,0)):b.selection.setAtEnd(b.el),b.selection.restore())},focus:function(b){XF.EditorHelpers.restoreMaintainedSelection(b);b.$tb.addClass("is-focused");b.events.focus()},blur:function(b){b.$el[0].blur();b.$tb.removeClass("is-focused");b.selection.clear()},sync:function(b){b.$oel.val(b.html.get())},wrapSelectionText:function(b,a,e,c){c&&b.selection.save();b.undo.saveStep();c=b.$el.find(".fr-marker");c.first().before(XF.htmlspecialchars(a));c.last().after(XF.htmlspecialchars(e));b.selection.restore();
b.placeholder.hide();b.undo.saveStep();XF.EditorHelpers.normalizeAfterInsert(b)},insertCode:function(b,a,e){switch(a.toLowerCase()){case "":var c="CODE";a="";break;default:c="CODE",a=a.toLowerCase()}e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/\t/g," ").replace(/\n /g,"\n ").replace(/ /g," ").replace(/ /g," ").replace(/\n/g,"</p><p>");e="["+c+(a?"="+a:"")+"]"+e+"[/"+c+"]";e.match(/<\/p>/i)&&(e=("<p>"+e+"</p>").replace(/<p><\/p>/g,
"<p><br></p>"));b.undo.saveStep();b.html.insert(e);b.undo.saveStep();XF.EditorHelpers.normalizeAfterInsert(b)},insertSpoiler:function(b,a){XF.EditorHelpers.wrapSelectionText(b,a?'[SPOILER="'+a+'"]':"[SPOILER]","[/SPOILER]",!0)},normalizeBrForEditor:function(b){var a="string"===typeof b;b=a?f("<div />").html(b):b;var e=function(c,d){var g=c.get(0);return c.is(d)&&""===g.className&&!g.hasAttribute("id")&&!g.hasAttribute("style")};b.children("p").each(function(){if(1===this.childNodes.length){var c=
f(this.childNodes[0]);e(c,"span")&&f(this).html(c.html())}});b.children("p").each(function(){if(!(1>=this.childNodes.length)){var c=f(this.childNodes[0]);e(c,"br")&&f(this).before(f("<p>").append(c))}});b.children("p").each(function(){if(!(1>=this.childNodes.length)){var c=f(this.childNodes[this.childNodes.length-1]);e(c,"br")&&c.remove()}});return a?b.html():b},normalizeAfterInsert:function(b){var a=b.html.getSelected();/<br>\s*<\/p>/.test(a)&&(XF.EditorHelpers.normalizeBrForEditor(b.$el),b.undo_index--,
b.undo_stack.pop(),b.undo.saveStep())},isPreviewAvailable:function(b){return!b.data("preview-url")&&!b.closest("form").data("preview-url")||!1===b.data("preview")?!1:!0},dialogs:{},loadDialog:function(b,a){var e=XF.EditorHelpers.dialogs;e[a]?e[a].show(b):console.error("Unknown dialog '"+a+"'")}};XF.EditorDialog=XF.create({ed:null,overlay:null,dialog:null,cache:!0,__construct:function(b){this.dialog=b},show:function(b){this.ed=b;b.selection.save();XF.loadOverlay(XF.canonicalizeUrl("index.php?editor/dialog&dialog="+
this.dialog),{beforeShow:XF.proxy(this,"beforeShow"),afterShow:XF.proxy(this,"afterShow"),init:XF.proxy(this,"init"),cache:this.cache})},init:function(b){var a=this;b.on("overlay:hidden",function(){a.ed&&a.ed.markers.remove()});this._init(b)},_init:function(b){},beforeShow:function(b){this.overlay=b;this._beforeShow(b)},_beforeShow:function(b){},afterShow:function(b){this._afterShow(b);b.$overlay.find("textarea, input").first().focus()},_afterShow:function(b){}});XF.EditorDialogMedia=XF.extend(XF.EditorDialog,
{_beforeShow:function(b){f("#editor_media_url").val("")},_init:function(b){f("#editor_media_form").submit(XF.proxy(this,"submit"))},submit:function(b){b.preventDefault();var a=this.ed,e=this.overlay;XF.ajax("POST",XF.canonicalizeUrl("index.php?editor/media"),{url:f("#editor_media_url").val()},function(c){c.matchBbCode?(a.selection.restore(),a.undo.saveStep(),a.html.insert(XF.htmlspecialchars(c.matchBbCode)),a.undo.saveStep(),XF.EditorHelpers.normalizeAfterInsert(a),e.hide()):c.noMatch?XF.alert(c.noMatch):
(a.selection.restore(),e.hide())})}});XF.EditorDialogSpoiler=XF.extend(XF.EditorDialog,{_beforeShow:function(b){f("#editor_spoiler_title").val("")},_init:function(b){f("#editor_spoiler_form").submit(XF.proxy(this,"submit"))},submit:function(b){b.preventDefault();b=this.ed;var a=this.overlay;b.selection.restore();XF.EditorHelpers.insertSpoiler(b,f("#editor_spoiler_title").val());a.hide()}});XF.EditorDialogCode=XF.extend(XF.EditorDialog,{_beforeShow:function(b){this.ed.$el.blur()},_afterShow:function(b){b=
b.$container;var a=b.find(".CodeMirror"),e=this.ed;b.find('[data-xf-init~="code-editor-switcher-container"]').trigger("code-editor:reinit");if(a.length)var c=a[0].CodeMirror;e.selection.isCollapsed()?a="":(a=e.html.getSelected().replace(/ /gmi," ").replace(/\u200B/g,"").replace(/(<\/(p|div|pre|blockquote|h[1-6]|tr|th|ul|ol|li)>)\s*/gi,"$1\n").replace(/<(li|p)><br><\/\1>\s*/gi,"\n").replace(/<br>\s*/gi,"\n"),a=f("<div>").html(f.parseHTML(a)).text().trim());e.selection.save();c?(c.getDoc().setValue(a),
c.focus()):b.find(".js-codeEditor").val(a).focus()},_init:function(b){f("#editor_code_form").submit(XF.proxy(this,"submit"))},submit:function(b){b.preventDefault();b=this.ed;var a=this.overlay,e=a.$container.find(".CodeMirror");if(e.length){e=e[0].CodeMirror;var c=e.getDoc();e.save();c.setValue("");e.setOption("mode","")}e=f("#editor_code_type");c=f("#editor_code_code");b.selection.restore();XF.EditorHelpers.insertCode(b,e.val(),c.val());a.hide();c.val("");e.val("")}});XF.editorStart={started:!1,
custom:[],startAll:function(){XF.editorStart.started||(XF.editorStart.setupLanguage(),XF.editorStart.registerOverrides(),XF.editorStart.registerToolbarSizes(),XF.editorStart.registerCommands(),XF.editorStart.registerCustomCommands(),XF.editorStart.registerEditorDropdowns(),XF.editorStart.registerDialogs(),f(D).trigger("editor:first-start"),XF.editorStart.started=!0)},setupLanguage:function(){var b=f("html").attr("dir");try{var a=f.parseJSON(f(".js-editorLanguage").first().html())||{}}catch(e){console.error(e),
a={}}FroalaEditor.LANGUAGE.xf={translation:a,direction:b?b.toLowerCase():"ltr"}},registerOverrides:function(){var b=FroalaEditor.MODULES.helpers;FroalaEditor.MODULES.helpers=function(a){var e=b.apply(this,arguments),c=e.sanitizeURL;e.sanitizeURL=function(d){return c(d).replace(/["]/g,"%22").replace(/[']/g,"%27")};e.screenSize=function(){function d(h,m){a.$box.data("size",m);return FroalaEditor[FroalaEditor.hasOwnProperty(m)?m:"LG"]}try{var g=a.$box.width(),l=XF.EditorHelpers.toolbarSizes;if(0>=g)for(var t=
a.$box[0];t=t.parentNode;)if(g=t.clientWidth,0<g){var p=z.getComputedStyle(t);g-=parseInt(p.paddingLeft,10)+parseInt(p.paddingRight,10);if(0<g)break}return g<l.SM?d(g,"XS"):g<l.MD?d(g,"SM"):g<l.LG?d(g,"MD"):g<l.LG+50?d(g,"LG"):d(g,"XL")}catch(h){return d(g,"XS")}};return e}},registerToolbarSizes:function(){try{var b=f.parseJSON(f(".js-editorToolbarSizes").first().html())||{}}catch(a){console.error("Toolbar sizes data not valid: ",a);return}XF.EditorHelpers.toolbarSizes=b},commands:{xfQuote:["quote-right",
{title:"Quote",icon:"xfQuote",undo:!0,focus:!0,callback:function(){this.selection.save();this.html.wrap(!0,!0,!0,!0);this.selection.restore();var b=this.selection.blocks(),a=[],e=!0,c,d;1==b.length&&f(b[0]).is(".fr-temp-div")&&(b=[f(this.el).find("p").get(0)]);for(c=0;c<b.length;c++){var g=d=b[c],l=null;for("BLOCKQUOTE"==d.tagName&&(l=d);d.parentNode&&d.parentNode!==this.el;)d=d.parentNode,l||"BLOCKQUOTE"!=d.tagName||(l=d);d={original:g,quote:l,root:d};d.quote&&(e=!1);a.push(d)}this.selection.save();
if(e)for(b=f(D.createElement("blockquote")),b.insertBefore(a[0].root),c=0;c<a.length;c++)b.append(a[c].root);else for(c=0;c<a.length;c++)(b=a[c].quote)&&f(b).replaceWith(b.innerHTML);this.html.unwrap();this.selection.restore()}}],xfCode:["code",{title:"Code",icon:"xfCode",undo:!0,focus:!0,callback:function(){XF.EditorHelpers.loadDialog(this,"code")}}],xfInlineCode:["terminal",{title:"Inline Code",icon:"xfInlineCode",undo:!0,focus:!0,callback:function(){XF.EditorHelpers.wrapSelectionText(this,"[ICODE]",
"[/ICODE]",!0)}}],xfMedia:["photo-video",{title:"Media",icon:"xfMedia",undo:!0,focus:!0,callback:function(){XF.EditorHelpers.loadDialog(this,"media")}}],xfSpoiler:["eye-slash",{title:"Spoiler",icon:"xfSpoiler",undo:!0,focus:!0,callback:function(){XF.EditorHelpers.loadDialog(this,"spoiler")}}],xfInlineSpoiler:["mask",{title:"Inline Spoiler",icon:"xfInlineSpoiler",undo:!0,focus:!0,callback:function(){XF.EditorHelpers.wrapSelectionText(this,"[ISPOILER]","[/ISPOILER]",!0)}}],xfSmilie:["smile",{title:"Smilies",
icon:"xfSmilie",undo:!1,focus:!1,refreshOnCallback:!1,callback:function(){var b=this;setTimeout(function(){b.xfSmilie.showMenu()},0)}}],xfInsertGif:["xfInsertGif",{title:"Insert GIF",icon:"xfInsertGif",undo:!1,focus:!1,refreshOnCallback:!1,callback:function(){var b=this;setTimeout(function(){b.xfInsertGif.showMenu()},0)}}],xfDraft:["save",{type:"dropdown",title:"Drafts",focus:!0,undo:!1,options:{xfDraftSave:"Save Draft",xfDraftDelete:"Delete Draft"},html:function(){var b={xfDraftSave:"Save Draft",
xfDraftDelete:"Delete Draft"},a='<ul class="fr-dropdown-list">',e;for(e in b)a+='<li><a class="fr-command" data-cmd="xfDraft" data-param1="'+e+'">'+this.language.translate(b[e])+"</a></li>";return a+"</ul>"},callback:function(b,a){b=f(this.$el.closest("form"));b.length?(b=XF.Element.getHandler(b,"draft"))?"xfDraftSave"==a?b.triggerSave():"xfDraftDelete"==a&&b.triggerDelete():console.error("No draft handler on parent form"):console.error("No parent form to find draft handler")}}],xfBbCode:["brackets",
{title:"Toggle BB Code",icon:"xfBbCode",undo:!1,focus:!1,forcedRefresh:!0,callback:function(){this.bbCode.toggle()}}],xfPreview:["file-search",{title:"Preview",icon:"xfPreview",undo:!1,focus:!1,forcedRefresh:!0,callback:function(){this.contentPreview.toggle()}}]},registerCommands:function(){var b;FroalaEditor.PLUGINS.xfInsertGif=function(a){function e(){if(z.IntersectionObserver){var k=new IntersectionObserver(d,{root:v[0],rootMargin:"0px 0px 100px 0px"});v.find(".js-gif img:not(.js-observed)").each(function(){f(this).addClass("js-observed");
k.observe(this)});var r=new IntersectionObserver(g,{root:v[0],rootMargin:"0px 0px 50px 0px"});v.find(".js-gifLoadMore").each(function(){r.observe(this)})}else v.onPassive("scroll",l);v.find(".js-gif").on("click",c)}function c(k){k=f(k.currentTarget).find("img");var r=k.parent();if(!r.hasClass("is-loading")){r.addClass("is-loading");var n=k.data("insert"),w=f("<img />").attr("src",n).attr("class","fr-fic fr-dii fr-draggable").attr("alt",k.attr("alt"));k=function(){a.selection.restore();XF.EditorHelpers.focus(a);
a.undo.saveStep();a.html.insert(w.prop("outerHTML"));a.undo.saveStep();a.selection.save();XF.EditorHelpers.blur(a);XF.EditorHelpers.normalizeAfterInsert(a);u&&u.find(".js-gifCloser").click();r.removeClass("is-loading")};if(w.prop("complete"))k();else w.on("load",k)}}function d(k,r){for(r=0;r<k.length;r++){var n=k[r];var w=f(n.target);if(n.isIntersecting)p(w);else if(n=w,n.data("loaded")){w=n.attr("data-src");var x=n.attr("src");n.attr("src",w);n.attr("data-src",x);n.data("loaded",!1)}}}function g(k,
r){for(var n,w,x=0;x<k.length;x++)n=k[x],n.isIntersecting&&(w=f(n.target),t(w),r.unobserve(n.target))}function l(k){var r=k;k instanceof Event&&(r=f(k.currentTarget));if(r.is(":visible")){var n=r[0].getBoundingClientRect(),w=n.bottom+100;r.children().each(function(){var x=f(this),A=this.getBoundingClientRect();if(!(A.bottom<n.top)){if(A.top>w)return!1;x.find(".js-gif img").each(function(){var B=f(this);this.getBoundingClientRect().top<=w&&p(B)})}})}}function t(k){k.data("loading")||(k.data("loading",
!0),XF.ajax("GET",k.data("href"),function(r){r.html&&XF.setupHtmlInsert(r.html,function(n){(n.is(".js-gifContainer")?f(n.html()):f(n.find(".js-gifContainer").html())).insertAfter(k);k.remove();e()})}))}function p(k){if(!k.data("loaded")){var r=k.attr("data-src"),n=k.attr("src");k.attr("src",r);k.attr("data-src",n);k.data("loaded",!0)}}function h(){var k=f(this),r=u.find(".js-gifFullRow"),n=u.find(".js-gifSearchRow");clearTimeout(C);C=setTimeout(function(){var w=k.val();if(!w||2>w.length)n.hide(),
r.show(),l(r);else{var x=XF.canonicalizeUrl("index.php?editor/insert-gif/search");XF.ajax("GET",x,{q:w},function(A){A.html&&XF.setupHtmlInsert(A.html,function(B){r.hide();n.html(B);n.show();v.scrollTop(0);e()})})}},300)}var m=!1,q=!1,u,v,y=0,C;return{showMenu:function(){a.selection.save();XF.EditorHelpers.blur(a);var k=f(a.$tb.find('.fr-command[data-cmd="xfInsertGif"]')).first();if(!m){m=!0;var r=f.trim(f(".js-xfEditorMenu").first().html());u=f(f.parseHTML(Mustache.render(r,{href:XF.canonicalizeUrl("index.php?editor/insert-gif")})));
u.addClass("menu--gif");u.insertAfter(k);k.data("xf-click","menu");var n=XF.Event.getElementHandler(k,"menu","click");u.on("menu:complete",function(){v=u.find(".menu-scroller");q||(q=!0,e(),u.find(".js-gifSearch").on("input",h),u.find(".js-gifCloser").on("click",function(){XF.EditorHelpers.focus(a)}),a.events.on("commands.mousedown",function(w){"xfInsertGif"!=w.data("cmd")&&n.close()}),u.on("menu:closed",function(){y=v.scrollTop()}));v.scrollTop(y);z.IntersectionObserver||l(v)});u.on("menu:closed",
function(){setTimeout(function(){a.markers.remove()},50)})}(k=k.data("xfClickHandlers"))&&k.menu&&k.menu.toggle()}}};FroalaEditor.PLUGINS.xfSmilie=function(a){function e(k){var r=f(k.currentTarget);k=r.html();if(!f(k).hasClass("smilie--lazyLoad")){a.selection.restore();XF.EditorHelpers.focus(a);a.undo.saveStep();a.html.insert(k);a.undo.saveStep();a.selection.save();XF.EditorHelpers.blur(a);XF.EditorHelpers.normalizeAfterInsert(a);if(m){var n=m.find(".js-emojiInsertedRow");n.find(".js-emojiInsert").html(k);
n.addClassTransitioned("is-active");clearTimeout(v);v=setTimeout(function(){n.removeClassTransitioned("is-active")},1500)}clearTimeout(y);y=setTimeout(function(){XF.logRecentEmojiUsage(r.data("shortname"))},1500)}}function c(k,r){for(var n,w,x=0;x<k.length;x++)n=k[x],n.isIntersecting&&(w=f(n.target),g(w),r.unobserve(n.target))}function d(k,r){var n=k;k instanceof Event&&(n=f(k.currentTarget));if(r||n.is(":visible")){var w=n[0].getBoundingClientRect(),x=w.bottom+100;n.children().each(function(){var A=
f(this),B=this.getBoundingClientRect();if(!(B.bottom<w.top)){if(B.top>x)return!1;A.find("span.smilie--lazyLoad").each(function(){var E=f(this);this.getBoundingClientRect().top<=x&&g(E)})}})}}function g(k){var r=f("<img />").attr({"class":k.attr("class").replace(/(\s|^)smilie--lazyLoad(\s|$)/," "),alt:k.attr("data-alt"),title:k.attr("title"),src:k.attr("data-src"),"data-shortname":k.attr("data-shortname")}),n=function(){var w=function(){k.replaceWith(r)};z.requestAnimationFrame?z.requestAnimationFrame(w):
w()};if(r.prop("complete"))n();else r.on("load",n)}function l(){var k=f(this),r=m.find(".js-emojiFullList"),n=m.find(".js-emojiSearchResults");clearTimeout(C);C=setTimeout(function(){var w=k.val();if(!w||2>w.length)n.hide(),r.show(),d(r);else{var x=XF.canonicalizeUrl("index.php?editor/smilies-emoji/search");XF.ajax("GET",x,{q:w},function(A){A.html&&XF.setupHtmlInsert(A.html,function(B){B.find(".js-emoji").on("click",e);r.hide();n.replaceWith(B)})})}},300)}function t(){var k=XF.getRecentEmojiUsage(),
r=q.find(".js-recentHeader"),n=q.find(".js-recentBlock"),w=n.find(".js-recentList"),x=q.find(".js-emojiList");if(k){var A=w.clone(),B=[];A.empty();for(var E in k){var G=k[E],F;x.each(function(){F=f(this).find('.js-emoji[data-shortname="'+G+'"]').closest("li").clone();if(F.length)return F.find(".js-emoji").on("click",e),B.push(F),!1})}for(E in B)B[E].appendTo(A);w.replaceWith(A);n.hasClass("is-hidden")&&(n.hide(),n.removeClass("is-hidden"),r.removeClass("is-hidden"),n.xfFadeDown(XF.config.speed.fast));
d(A,!0)}}var p=!1,h=!1,m,q,u=0,v,y,C;return{showMenu:function(){a.selection.save();XF.EditorHelpers.blur(a);var k=f(a.$tb.find('.fr-command[data-cmd="xfSmilie"]')).first();if(!p){p=!0;var r=f.trim(f(".js-xfEditorMenu").first().html());m=f(f.parseHTML(Mustache.render(r,{href:XF.canonicalizeUrl("index.php?editor/smilies-emoji")})));m.addClass("menu--emoji");m.insertAfter(k);k.data("xf-click","menu");var n=XF.Event.getElementHandler(k,"menu","click");m.on("menu:complete",function(){q=m.find(".menu-scroller");
if(!h){h=!0;if(z.IntersectionObserver){var w=new IntersectionObserver(c,{root:q[0],rootMargin:"0px 0px 100px 0px"});q.find("span.smilie--lazyLoad").each(function(){w.observe(this)})}else q.onPassive("scroll",d);q.find(".js-emoji").on("click",e);m.find(".js-emojiSearch").on("input",l);m.find(".js-emojiCloser").on("click",function(){XF.EditorHelpers.focus(a)});f(D).on("recent-emoji:logged",t);a.events.on("commands.mousedown",function(x){"xfSmilie"!=x.data("cmd")&&n.close()});m.on("menu:closed",function(){u=
q.scrollTop()})}q.scrollTop(u);z.IntersectionObserver||d(q)});m.on("menu:closed",function(){setTimeout(function(){a.markers.remove()},50)})}(k=k.data("xfClickHandlers"))&&k.menu&&k.menu.toggle()}}};f.extend(FroalaEditor.DEFAULTS,{xfBbCodeAttachmentContextInput:"attachment_hash_combined"});FroalaEditor.PLUGINS.bbCode=function(a){function e(){return a.$tb.find(".fr-command[data-cmd=xfBbCode]")}function c(){var p=a.$oel,h=p.data("xfBbCodeBox");if(!h){var m=parseInt(a.$wp.css("border-bottom-width"),10)+
parseInt(a.$wp.css("border-top-width"),10);h=f('<textarea class="input" style="display: none" />');h.attr("aria-label",XF.htmlspecialchars(XF.phrase("rich_text_box")));h.css({minHeight:a.opts.heightMin?a.opts.heightMin+m+"px":null,maxHeight:a.opts.heightMax?a.opts.heightMax+"px":null,height:a.opts.height?a.opts.height+m+"px":null,padding:a.$el.css("padding")});h.attr("name",p.data("original-name"));p.data("xfBbCodeBox",h);a.$wp.after(h[0]);h.on("focus blur",function(q){switch(q.type){case "focus":a.$box.addClass("is-focused");
break;case "blur":a.$box.removeClass("is-focused")}});XF.Element.applyHandler(h,"textarea-handler");XF.Element.applyHandler(h,"user-mentioner");XF.Element.applyHandler(h,"emoji-completer");XF.isElementWithinDraftForm(h)&&XF.Element.applyHandler(h,"draft-trigger")}return h}function d(p){return a.$tb.find("> .fr-btn-grp .fr-command, > .fr-more-toolbar .fr-command").not(p).not('[data-cmd^="more"]').not("[data-cmd=xfPreview]")}function g(p,h){var m=c(),q=function(u,v){t=!0;a.undo.saveStep();a.$el.blur();
var y=e();d(y).addClass("fr-disabled");y.addClass("fr-active");a.$wp.css("display","none");a.$oel.attr("disabled","disabled");m.val(u).css("display","").prop("disabled",!1).trigger("autosize");v||m.autofocus();XF.setIsEditorEnabled(!1)};"string"==typeof p?q(p,h):XF.ajax("POST",XF.canonicalizeUrl("index.php?editor/to-bb-code"),{html:a.html.get()},function(u){q(u.bbCode,h)})}function l(p){var h=c(),m=function(u){t=!1;var v=e();d(v).removeClass("fr-disabled");v.removeClass("fr-active");a.$oel.removeAttr("disabled");
a.html.set(u);h.css("display","none").prop("disabled",!0);a.$wp.css("display","");a.events.focus();a.undo.saveStep();a.size.refresh();XF.setIsEditorEnabled(!0);XF.layoutChange()};if("string"==typeof p)m(p);else{p={bb_code:h.val()};var q=a.$el.closest("form");q.length&&q[0][a.opts.xfBbCodeAttachmentContextInput]&&(p.attachment_hash_combined=f(q[0][a.opts.xfBbCodeAttachmentContextInput]).val());XF.ajax("POST",XF.canonicalizeUrl("index.php?editor/to-html"),p,function(u){m(u.editorHtml)})}}var t=!1;return{_init:function(){a.events.on("buttons.refresh",
function(){return!t})},getBbCodeBox:c,toBbCode:g,isBbCodeView:function(){return t},getTextArea:function(){return t?c():null},insertBbCode:function(p){if(t){var h=c();XF.insertIntoTextBox(h,p)}},replaceBbCode:function(p){if(t){var h=c();XF.replaceIntoTextBox(h,p)}},toHtml:l,toggle:function(){t?l():g()},getToggleableButtons:function(){return d(e())}}};FroalaEditor.PLUGINS.contentPreview=function(a){function e(){return a.$tb.find(".fr-command[data-cmd=xfPreview]")}function c(){var m=a.$oel,q=m.data("xfPreviewBox");
if(!q){var u=f(a.$el[0]).css(["padding-top","padding-right","padding-bottom","padding-left"]);u.minHeight=a.opts.heightMin?a.opts.heightMin+"px":null;q=f('<div class="xfPreview" style="display:none" />');q.css(u);m.data("xfPreviewBox",q);a.$wp.after(q[0])}return q}function d(m){return a.$tb.find("> .fr-btn-grp .fr-command").not(m)}function g(m){var q=c(),u=function(y){h=!0;a.undo.saveStep();a.$el.blur();a.$tb.find('.fr-command.fr-open[data-cmd^="more"]').each(function(){a.commands.exec(f(this).attr("data-cmd"))});
var C=e();d(C).addClass("fr-disabled fr-invisible");C.addClass("fr-active");a.$tb.find(".fr-btn-grp").addClass("rte-tab--inactive").filter(".rte-tab--preview").removeClass("rte-tab--inactive");a.$box.addClass("is-preview");a.bbCode.isBbCodeView()?a.bbCode.getBbCodeBox().css("display","none"):a.$wp.css("display","none");q.html(y.find(".bbWrapper")).css("display","")};if("string"==typeof m)u(f(f.parseHTML(m)));else{a.events.trigger("form.submit");var v=a.$oel.closest("form");m=a.$oel.data("preview-url")?
a.$oel.data("preview-url"):v.data("preview-url");v=XF.getDefaultFormData(v);XF.ajax("POST",XF.canonicalizeUrl(m),v,function(y){XF.setupHtmlInsert(y.html,function(C){XF.activate(C);u(C)})})}}function l(m){var q=c(),u=e(),v=a.bbCode.isBbCodeView();h=!1;d(u).removeClass("fr-disabled fr-invisible");u.removeClass("fr-active");v&&a.bbCode.getToggleableButtons().addClass("fr-disabled");a.$tb.find(".fr-btn-grp").removeClass("rte-tab--inactive").filter(".rte-tab--preview").addClass("rte-tab--inactive");a.$oel.removeAttr("disabled");
q.css("display","none");a.$box.removeClass("is-preview");v?a.bbCode.getBbCodeBox().css("display",""):a.$wp.css("display","");m||a.events.focus();XF.layoutChange()}function t(){var m=f(a.$oel);XF.EditorHelpers.isPreviewAvailable(m)&&(h?l():(XF.EditorHelpers.sync(a),(a.bbCode&&a.bbCode.isBbCodeView()?a.bbCode.getBbCodeBox().val():m.val())&&g()))}function p(){var m=a.$tb.find(".fr-btn-grp");XF.EditorHelpers.isPreviewAvailable(f(a.$oel))?(m.slice(m.length-1).addClass("rte-tab--inactive rte-tab--preview"),
m.slice(m.length-2,m.length-1).addClass("rte-tab--beforePreview")):m.slice(m.length-1).addClass("rte-tab--beforePreview")}var h=!1;return{_init:function(){a.events.on("buttons.refresh",function(){return!h});p();a.events.on("codeView.toggle",function(){p()});a.$tb.on("click",function(m){h&&(f(m.target).closest(".rte-tab--preview").length||t())});f(a.$tb.closest("form")).on("preview:hide",function(){l(!0)})},toPreview:g,isPreview:function(){return h},toHtml:l,toggle:t}};for(b in this.commands)this.commands.hasOwnProperty(b)&&
(FroalaEditor.DefineIcon(b,{NAME:this.commands[b][0]}),FroalaEditor.RegisterCommand(b,this.commands[b][1]))},registerCustomCommands:function(){try{var b=f.parseJSON(f(".js-editorCustom").first().html())||{}}catch(e){console.error(e),b={}}for(var a in b)b.hasOwnProperty(a)&&function(e,c){var d="xfCustom_"+e,g=e.toUpperCase();e={};"fa"==c.type?e=(e=c.value.match(/^fa([slrb]) fa-(.+)$/))?{FA5NAME:e[2],template:"font_awesome_5"+("s"===e[1]?"":e[1])}:{NAME:c.value}:"svg"==c.type?e={template:"svg",PATH:c.value}:
"image"==c.type&&(e={template:"image",SRC:'"'+XF.canonicalizeUrl(c.value)+'"',ALT:'"'+c.title+'"'});var l={title:c.title,icon:d,undo:!0,focus:!0,callback:function(){XF.EditorHelpers.wrapSelectionText(this,"yes"==c.option?"["+g+"=]":"["+g+"]","[/"+g+"]",!0)}};FroalaEditor.DefineIcon(d,e);FroalaEditor.RegisterCommand(d,l);XF.editorStart.custom.push(d)}(a,b[a]);FroalaEditor.DefineIcon("xfInsertGif",{template:"svg",PATH:"M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"});
FroalaEditor.DefineIcon("textColor",{NAME:"palette"});FroalaEditor.DefineIcon("fontFamily",{NAME:"font"});FroalaEditor.DefineIcon("fontSize",{NAME:"text-size"})},registerEditorDropdowns:function(){try{var b=f.parseJSON(f(".js-editorDropdowns").first().html())||{}}catch(e){console.error("Editor dropdowns data not valid: ",e),b={}}for(var a in b)b.hasOwnProperty(a)&&function(e,c){c.icon=c.icon.substr(3);FroalaEditor.DefineIcon(e,{NAME:c.icon});FroalaEditor.RegisterCommand(e,{type:"dropdown",title:c.title,
icon:e,undo:!1,focus:!1,html:function(){var d='<ul class="fr-dropdown-list">',g=c.buttons,l,t;(l=XF.getEditorInContainer(f(this.$oel)))&&l.buttonManager&&(g=l.buttonManager.getDropdown(e));for(var p in g)l=g[p],(t=FroalaEditor.COMMANDS[l])&&(d+='<li><a class="fr-command" data-cmd="'+l+'">'+this.icon.create(t.icon||l)+" "+this.language.translate(t.title)+"</a></li>");return d+"</ul>"}})}(a,b[a])},registerDialogs:function(){XF.EditorHelpers.dialogs.media=new XF.EditorDialogMedia("media");
XF.EditorHelpers.dialogs.spoiler=new XF.EditorDialogSpoiler("spoiler");XF.EditorHelpers.dialogs.code=new XF.EditorDialogCode("code")}};f(D).one("editor:start",XF.editorStart.startAll);XF.EditorPlaceholderClick=XF.Event.newHandler({eventNameSpace:"XFEditorPlaceholderClick",options:{},edInitialized:!1,init:function(){},click:function(b){b=this.$target;var a=this;b.find(".editorPlaceholder-editor").removeClass("is-hidden");b.find(".editorPlaceholder-placeholder").addClass("is-hidden");b=XF.getEditorInContainer(b);
b instanceof XF.Editor?this.edInitialized||b.startInit({beforeInit:function(){a.edInitialized=!0},afterInit:function(e,c){c.events.focus(!0);XF.isIOS()&&(e.scrollToCursor(),e.scrollToCursorAfterPendingResize());c.opts.tooltips&&setTimeout(function(){c.tooltip.hide()},30)}}):(displayEditor(),b instanceof f&&b.focus())}});XF.Event.register("click","editor-placeholder","XF.EditorPlaceholderClick");XF.Element.register("editor","XF.Editor")}(jQuery,window,document);