/*
    Elfsight Click To Call
    Version: 1.1.0
    Release date: Wed Sep 11 2019

    https://elfsight.com

    Copyright (c) 2019 Elfsight, LLC. ALL RIGHTS RESERVED
*/

(function(window){"use strict";
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=63)}([function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-control-text-label" ng-if="control.name || control.maxLength">\n        <div class="ea-editor-property-label" ng-if="control.name" editor-hint="control.description">{{control.name}}</div>\n\n        <div class="ea-editor-property-control-text-max-length" ng-show="control.maxLength && control.dirty">\n            <span class="ea-editor-property-control-text-max-length-current">{{ symbolsLast }}</span>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-text ea-editor-property-control">\n        <div ng-if="showBtn" class="ea-editor-property-control-text-button" translate>Apply</div>\n\n        <input ng-model="ngModel" ng-model-options="{ updateOn: showBtn ? \'change blur\' : \'default\', debounce: 300 }"\n            ng-blur="setDefaultValueIfEmpty()" placeholder="{{control.text.placeholder}}" ng-disabled="control.text.disabled">\n\n        <div ng-show="error" class="ea-editor-property-control-text-error"></div>\n    </div>\n</label>'},function(e,t,o){

window,e.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/build/",o(o.s=67)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(3),r=o(10),a=function(){function e(){}return e.detach=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},e.unwrap=function(t){var o=t.parentNode,n=t;if(o){for(;n.firstChild;)o.insertBefore(n.firstChild,n);e.safeRemove(n)}},e.each=function(t,o){var n=t.firstChild;if(n)for(;n;){if(!1===o.call(n,n)||!e.each(n,o))return!1;n=e.next(n,function(e){return!!e},t)}return!0},e.replace=function(e,t,o,n,i){void 0===o&&(o=!1),void 0===n&&(n=!1);var r="string"==typeof t?i.createElement(t):t;if(!n)for(;e.firstChild;)r.appendChild(e.firstChild);return o&&Array.from(e.attributes).forEach(function(e){r.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(r,e),r},e.isEmptyTextNode=function(e){return e&&e.nodeType===Node.TEXT_NODE&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,"").length)},e.isEmpty=function(t,o){return void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(t.nodeType===Node.TEXT_NODE?null===t.nodeValue||0===r.trim(t.nodeValue).length:!t.nodeName.toLowerCase().match(o)&&e.each(t,function(e){if(e&&e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&0!==r.trim(e.nodeValue).length||e&&e.nodeType===Node.ELEMENT_NODE&&o.test(e.nodeName.toLowerCase()))return!1}))},e.isNode=function(e,t){return!("object"!=typeof t||!t||"function"!=typeof t.Node&&"object"!=typeof t.Node)&&e instanceof t.Node},e.isCell=function(t,o){return e.isNode(t,o)&&/^(td|th)$/i.test(t.nodeName)},e.isImage=function(t,o){return e.isNode(t,o)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)},e.isBlock=function(t,o){return t&&"object"==typeof t&&e.isNode(t,o)&&n.IS_BLOCK.test(t.nodeName)},e.isInlineBlock=function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&-1!=["inline","inline-block"].indexOf(""+i.css(e,"display"))},e.canSplitBlock=function(e,t){return e&&e instanceof t.HTMLElement&&this.isBlock(e,t)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)},e.prev=function(t,o,n,i){return void 0===i&&(i=!0),e.find(t,o,n,!1,"previousSibling",!!i&&"lastChild")},e.next=function(t,o,n,i){return void 0===i&&(i=!0),e.find(t,o,n,void 0,void 0,i?"firstChild":"")},e.find=function(t,o,n,i,r,a){if(void 0===i&&(i=!1),void 0===r&&(r="nextSibling"),void 0===a&&(a="firstChild"),i&&o(t))return t;var s,l=t;do{if(o(s=l[r]))return s||!1;if(a&&s&&s[a]){var c=e.find(s[a],o,s,!0,r,a);if(c)return c}s||(s=l.parentNode),l=s}while(l&&l!==n);return!1},e.findWithCurrent=function(t,o,n,i,r){void 0===i&&(i="nextSibling"),void 0===r&&(r="firstChild");var a=t;do{if(o(a))return a||!1;if(r&&a&&a[r]){var s=e.findWithCurrent(a[r],o,a,i,r);if(s)return s}for(;a&&!a[i]&&a!==n;)a=a.parentNode;a&&a[i]&&a!==n&&(a=a[i])}while(a&&a!==n);return!1},e.up=function(e,t,o){var n=e;if(!e)return!1;do{if(t(n))return n;if(n===o||!n.parentNode)break;n=n.parentNode}while(n&&n!==o);return!1},e.closest=function(t,o,n){return e.up(t,"function"==typeof o?o:o instanceof RegExp?function(e){return e&&o.test(e.nodeName)}:function(e){return e&&RegExp("^("+o+")$","i").test(e.nodeName)},n)},e.after=function(e,t){var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.moveContent=function(e,t,o){void 0===o&&(o=!1);var i=(e.ownerDocument||document).createDocumentFragment();[].slice.call(e.childNodes).forEach(function(e){e.nodeType===Node.TEXT_NODE&&e.nodeValue===n.INVISIBLE_SPACE||i.appendChild(e)}),o&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i)},e.all=function(t,o,n){void 0===n&&(n=!1);var i=t.childNodes?Array.prototype.slice.call(t.childNodes):[];if(o(t))return t;n&&(i=i.reverse()),i.forEach(function(t){e.all(t,o,n)})},e.safeRemove=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},e.wrapInline=function(t,o,n){for(var i,r=t,a=t,s=n.selection.save(),l=!1;l=!1,(i=r.previousSibling)&&!e.isBlock(i,n.editorWindow)&&(l=!0,r=i),l;);for(;l=!1,(i=a.nextSibling)&&!e.isBlock(i,n.editorWindow)&&(l=!0,a=i),l;);var c="string"==typeof o?n.create.inside.element(o):o;r.parentNode&&r.parentNode.insertBefore(c,r);for(var d=r;d&&(d=r.nextSibling,c.appendChild(r),r!==a&&d);)r=d;return n.selection.restore(s),c},e.wrap=function(e,t,o){var n=o.selection.save(),i="string"==typeof t?o.editorDocument.createElement(t):t;return e.parentNode?(e.parentNode.insertBefore(i,e),i.appendChild(e),o.selection.restore(n),i):null},e.findInline=function(t,o,n){var i=t,r=null;do{if(!i)break;if((r=o?i.previousSibling:i.nextSibling)||!i.parentNode||i.parentNode===n||!e.isInlineBlock(i.parentNode))break;i=i.parentNode}while(!r);for(;r&&e.isInlineBlock(r)&&(o?r.lastChild:r.firstChild);)r=o?r.lastChild:r.firstChild;return r},e.contains=function(e,t){for(;t.parentNode;){if(t.parentNode===e)return!0;t=t.parentNode}return!1},e.isOrContains=function(t,o,n){return void 0===n&&(n=!1),o&&t&&(t===o&&!n||e.contains(t,o))},e}();t.Dom=a},function(e,t,o){"use strict";var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(i,r){function a(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){e.done?i(e.value):new o(function(t){t(e.value)}).then(a,s)}l((n=n.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var o,n,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(i=2&r[0]?n.return:r[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,n=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=0<(i=a.trys).length&&i[i.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!i||i[0]<r[1]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],n=0}finally{o=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},r=this;Object.defineProperty(t,"__esModule",{value:!0});var a=o(2),s=o(14),l=s.Widget.TabsWidget,c=s.Widget.FileSelectorWidget,d=o(0),p=o(3),u=o(5),f=o(16),h=function(){function e(){this.iframe=!1,this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,popup:{selection:["bold","underline","italic","ul","ol","outdent","indent","\n","fontsize","brush","paragraph","link","align","cut","dots"]},showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.saveHeightInStorage=!1,this.spellcheck=!0,this.editorCssClass=!1,this.triggerChangeEvent=!0,this.width="auto",this.minWidth="200px",this.maxWidth="100%",this.height="auto",this.minHeight=200,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n="en",this.tabIndex=-1,this.toolbar=!0,this.showTooltip=!0,this.showTooltipDelay=500,this.useNativeTooltip=!1,this.enter=a.PARAGRAPH,this.enterBlock=a.PARAGRAPH,this.defaultMode=a.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraButtons=[],this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=["source","|","bold","strikethrough","underline","italic","|","superscript","subscript","|","ul","ol","|","outdent","indent","|","font","fontsize","brush","paragraph","|","image","file","video","table","link","|","align","undo","redo","\n","cut","hr","eraser","copyformat","|","symbol","fullsize","selectall","print","about"],this.buttonsMD=["source","|","bold","italic","|","ul","ol","|","font","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","hr","eraser","copyformat","fullsize","dots"],this.buttonsSM=["source","|","bold","italic","|","ul","ol","|","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","eraser","copyformat","fullsize","dots"],this.buttonsXS=["bold","image","|","brush","paragraph","|","align","|","undo","redo","|","eraser","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!1}return Object.defineProperty(e,"defaultOptions",{get:function(){return e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions},enumerable:!0,configurable:!0}),e}();t.Config=h,t.OptionsDefault=function(e){var t=this,o=this;if(void 0!==(o.plainOptions=e)&&"object"==typeof e){var n=function(e,i){if("preset"===i&&void 0!==h.defaultOptions.presets[e.preset]){var r=h.defaultOptions.presets[e.preset];Object.keys(r).forEach(n.bind(t,r))}o[i]="object"!=typeof h.defaultOptions[i]||Array.isArray(h.defaultOptions[i])?e[i]:f.extend(!0,{},h.defaultOptions[i],e[i])};Object.keys(e).forEach(n.bind(this,e))}},h.prototype.controls={print:{exec:function(e){var t=window.open("","PRINT");t&&(e.options.iframe?(e.events.fire("generateDocumentStructure.iframe",t.document,e),t.document.body.innerHTML=e.value):(t.document.write('<!doctype html><html lang="'+p.defaultLanguage(e.options.language)+'"><head><title></title></head><body>'+e.value+"</body></html>"),t.document.close()),t.focus(),t.print(),t.close())},mode:a.MODE_SOURCE+a.MODE_WYSIWYG},about:{exec:function(e){var t=e.getInstance("Dialog");t.setTitle(e.i18n("About Jodit")),t.setContent('<div class="jodit_about">                    <div>'+e.i18n("Jodit Editor")+" v."+e.getVersion()+" </div><div>"+e.i18n("License: %s",p.isLicense(e.options.license)?p.normalizeLicense(e.options.license):e.i18n("GNU General Public License, version 2 or later"))+'</div><div><a href="https://xdsoft.net/jodit/" target="_blank">http://xdsoft.net/jodit/</a></div><div><a href="https://xdsoft.net/jodit/doc/" target="_blank">'+e.i18n("Jodit User's Guide")+"</a> "+e.i18n("contains detailed help for using")+"</div><div>"+e.i18n("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")+"</div></div>"),t.open()},tooltip:"About Jodit",mode:a.MODE_SOURCE+a.MODE_WYSIWYG},hr:{command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},image:{popup:function(e,t,o,a){var s=null;return t&&t.nodeType!==Node.TEXT_NODE&&("IMG"===t.tagName||p.$$("img",t).length)&&(s="IMG"===t.tagName?t:p.$$("img",t)[0]),c(e,{filebrowser:function(t){return n(r,void 0,void 0,function(){var o;return i(this,function(n){switch(n.label){case 0:if(!t.files||!t.files.length)return[3,4];o=0,n.label=1;case 1:return o<t.files.length?[4,e.selection.insertImage(t.baseurl+t.files[o],null,e.options.imageDefaultWidth)]:[3,4];case 2:n.sent(),n.label=3;case 3:return o+=1,[3,1];case 4:return a(),[2]}})})},upload:function(t){return n(r,void 0,void 0,function(){var o;return i(this,function(n){switch(n.label){case 0:if(!t.files||!t.files.length)return[3,4];o=0,n.label=1;case 1:return o<t.files.length?[4,e.selection.insertImage(t.baseurl+t.files[o],null,e.options.imageDefaultWidth)]:[3,4];case 2:n.sent(),n.label=3;case 3:return o+=1,[3,1];case 4:return a(),[2]}})})},url:function(t,o){return n(r,void 0,void 0,function(){var n;return i(this,function(i){switch(i.label){case 0:return(n=s||e.create.inside.element("img")).setAttribute("src",t),n.setAttribute("alt",o),s?[3,2]:[4,e.selection.insertImage(n,null,e.options.imageDefaultWidth)];case 1:i.sent(),i.label=2;case 2:return a(),[2]}})})}},s,a)},tags:["img"],tooltip:"Insert Image"},file:{popup:function(e,t,o,n){var i=function(t,o){void 0===o&&(o=""),e.selection.insertNode(e.create.inside.fromHTML('<a href="'+t+'" title="'+o+'">'+(o||t)+"</a>"))},r=null;return t&&("A"===t.nodeName||d.Dom.closest(t,"A",e.editor))&&(r="A"===t.nodeName?t:d.Dom.closest(t,"A",e.editor)),c(e,{filebrowser:function(e){if(e.files&&e.files.length){var t=void 0;for(t=0;t<e.files.length;t+=1)i(e.baseurl+e.files[t])}n()},upload:function(e){var t;if(e.files&&e.files.length)for(t=0;t<e.files.length;t+=1)i(e.baseurl+e.files[t]);n()},url:function(e,t){r?(r.setAttribute("href",e),r.setAttribute("title",t)):i(e,t),n()}},r,n,!1)},tags:["a"],tooltip:"Insert file"},video:{popup:function(e,t,o,n){var i=e.create.fromHTML('<form class="jodit_form">\n                        <input required name="code" placeholder="http://" type="url"/>\n                        <button type="submit">'+e.i18n("Insert")+"</button>\n                        </form>"),r=e.create.fromHTML('<form class="jodit_form">\n                        <textarea required name="code" placeholder="'+e.i18n("Embed code")+'"></textarea>\n                        <button type="submit">'+e.i18n("Insert")+"</button>\n                        </form>"),a={},s=e.selection.save(),c=function(t){e.selection.restore(s),e.selection.insertHTML(t),n()};return e.options.textIcons?(a[e.i18n("Link")]=i,a[e.i18n("Code")]=r):(a[u.ToolbarIcon.getIcon("link")+"&nbsp;"+e.i18n("Link")]=i,a[u.ToolbarIcon.getIcon("source")+"&nbsp;"+e.i18n("Code")]=r),r.addEventListener("submit",function(e){return e.preventDefault(),p.trim(p.val(r,"textarea[name=code]"))?c(p.val(r,"textarea[name=code]")):(r.querySelector("textarea[name=code]").focus(),r.querySelector("textarea[name=code]").classList.add("jodit_error")),!1}),i.addEventListener("submit",function(e){return e.preventDefault(),p.isURL(p.val(i,"input[name=code]"))?c(p.convertMediaURLToVideoEmbed(p.val(i,"input[name=code]"))):(i.querySelector("input[name=code]").focus(),i.querySelector("input[name=code]").classList.add("jodit_error")),!1}),l(e,a)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVISIBLE_SPACE="\ufeff",t.INVISIBLE_SPACE_REG_EXP=/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=/^[\uFEFF]+/g,t.SPACE_REG_EXP=/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(PRE|DIV|P|LI|H[1-6]|BLOCKQUOTE|TD|TH|TABLE|BODY|HTML|FIGCAPTION|FIGURE)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB)$/,t.MAY_BE_REMOVED_WITH_KEY=/^(IMG|BR|IFRAME|SCRIPT|INPUT|TEXTAREA|HR|JODIT|JODIT-MEDIA)$/,t.KEY_BACKSPACE=8,t.KEY_TAB=9,t.KEY_ENTER=13,t.KEY_ESC=27,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40,t.KEY_DELETE=46,t.KEY_F=70,t.KEY_R=82,t.KEY_H=72,t.KEY_Y=89,t.KEY_V=86,t.KEY_Z=90,t.KEY_F3=114,t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!=navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.URL_LIST=t.IS_IE?"url":"text/uri-list",t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"text":"text/html",t.MARKER_CLASS="jodit_selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.JODIT_SELECTED_CELL_MARKER="data-jodit-selected-cell",t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(20)),n(o(4)),n(o(16)),n(o(40)),n(o(83)),n(o(43)),n(o(17)),n(o(23)),n(o(10)),n(o(48)),n(o(101)),n(o(102)),n(o(8)),n(o(51)),n(o(103)),n(o(52)),n(o(24)),n(o(49)),n(o(104)),n(o(30)),n(o(29)),n(o(50)),n(o(105)),n(o(9)),n(o(31)),n(o(106))},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(38)),n(o(15)),n(o(77))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.exists=function(t){return void 0!==e.icons[t]},e.getIcon=function(t,o){return void 0===o&&(o="<span></span>"),void 0!==e.icons[t]?e.icons[t]:o},e.icons={},e}();t.ToolbarIcon=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var o=e.call(this,t)||this;return o.destruct=function(){o.isDestructed||(o.jodit.events&&o.jodit.events.off("beforeDestruct",o.destruct),o.beforeDestruct(o.jodit),e.prototype.destruct.call(o))},t.events.on("afterInit",o.afterInit.bind(o,t)).on("beforeDestruct",o.destruct),o}return i(t,e),t}(o(7).Component);t.Plugin=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(12),i=function(){function e(t){this.__isDestructed=!1,t&&t instanceof e&&n.isJoditObject(this.jodit=t)&&t.components.push(this)}return Object.defineProperty(e.prototype,"isDestructed",{get:function(){return this.__isDestructed},enumerable:!0,configurable:!0}),e.prototype.destruct=function(){this.jodit&&(this.jodit=void 0),this.__isDestructed=!0},e}();t.Component=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(21),i=o(22),r=o(47),a=o(44),s=o(45);t.css=function(e,o,l,c){void 0===c&&(c=!1);var d=/^left|top|bottom|right|width|min|max|height|margin|padding|font-size/i;if(n.isPlainObject(o)||void 0!==l){var p=function(e,o,n){null!=n&&d.test(o)&&i.isNumeric(""+n)&&(n=parseInt(""+n,10)+"px"),void 0!==n&&t.css(e,o,void 0,!0)!==r.normilizeCSSValue(o,n)&&(e.style[o]=n)};if(n.isPlainObject(o))for(var u=Object.keys(o),f=0;f<u.length;f+=1)p(e,a.camelCase(u[f]),o[u[f]]);else p(e,a.camelCase(o),l);return""}var h=s.fromCamelCase(o),g=e.ownerDocument||document,m=!!g&&(g.defaultView||g.parentWindow),v=e.style[o],b=void 0!==v&&""!==v?v:m&&!c?m.getComputedStyle(e).getPropertyValue(h):"";return d.test(o)&&/^[\-+]?[0-9.]+px$/.test(""+b)&&(b=parseInt(""+b,10)),r.normilizeCSSValue(o,b)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=1;t.$$=function(e,t){var o;if(!/:scope/.test(e)||!n.IS_IE||"undefined"!=typeof HTMLDocument&&t instanceof HTMLDocument)o=t.querySelectorAll(e);else{var r=t.id,a=r||"_selector_id_"+(""+Math.random()).slice(2)+i++;e=e.replace(/:scope/g,"#"+a),!r&&t.setAttribute("id",a),o=t.parentNode.querySelectorAll(e),r||t.removeAttribute("id")}return[].slice.call(o)},t.getXPathByElement=function(e,o){if(!e||1!==e.nodeType)return"";if(!e.parentNode||o===e)return"";if(e.id)return"//*[@id='"+e.id+"']";var n=[].filter.call(e.parentNode.childNodes,function(t){return t.nodeName===e.nodeName});return t.getXPathByElement(e.parentNode,o)+"/"+e.nodeName.toLowerCase()+(1<n.length?"["+(1+Array.from(n).indexOf(e))+"]":"")}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(44)),n(o(45)),n(o(87)),n(o(32))},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(i,r){function a(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){e.done?i(e.value):new o(function(t){t(e.value)}).then(a,s)}l((n=n.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var o,n,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(i=2&r[0]?n.return:r[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,n=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=0<(i=a.trys).length&&i[i.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!i||i[0]<r[1]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],n=0}finally{o=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(1),l=o(2),c=o(0),d=o(3),p=o(30),u=o(29),f=o(53),h=o(56),g=o(108),m=o(57),v=o(33),b=function(e){function t(o,n){var i=e.call(this)||this;if(i.__defaultStyleDisplayKey="data-jodit-default-style-display",i.__defaultClassesKey="data-jodit-default-classes",i.commands={},i.__selectionLocked=null,i.__wasReadOnly=!1,i.storage=new v.Storage(new m.LocalStorageProvider),i.editor=i.create.div(),i.iframe=null,i.__plugins={},i.mode=l.MODE_WYSIWYG,i.isInited=!1,i.options=new s.OptionsDefault(n),i.editorDocument=i.options.ownerDocument,i.editorWindow=i.options.ownerWindow,i.ownerDocument=i.options.ownerDocument,i.ownerWindow=i.options.ownerWindow,"string"==typeof o)try{i.element=i.ownerDocument.querySelector(o)}catch(c){throw Error('String "'+o+'" should be valid HTML selector')}else i.element=o;if(!i.element||"object"!=typeof i.element||i.element.nodeType!==Node.ELEMENT_NODE||!i.element.cloneNode)throw Error('Element "'+o+'" should be string or HTMLElement instance');i.element.attributes&&Array.from(i.element.attributes).forEach(function(e){var o=e.name,r=e.value;void 0===t.defaultOptions[o]||n&&void 0!==n[o]||(-1!=["readonly","disabled"].indexOf(o)&&(r=""===r||"true"===r),/^[0-9]+(\.)?([0-9]+)?$/.test(""+r)&&(r=+r),i.options[o]=r)}),i.options.events&&Object.keys(i.options.events).forEach(function(e){i.events.on(e,i.options.events[e])}),i.container.classList.add("jodit_container"),i.container.setAttribute("contenteditable","false"),i.selection=new h.Select(i),i.events.on("removeMarkers",function(){i.selection&&i.selection.removeMarkers()}),i.observer=new f.Observer(i);var c=null;return i.options.inline&&(-1==["TEXTAREA","INPUT"].indexOf(i.element.nodeName)&&(i.container=i.element,i.element.setAttribute(i.__defaultClassesKey,""+i.element.className),c=i.container.innerHTML,i.container.innerHTML=""),i.container.classList.add("jodit_inline"),i.container.classList.add("jodit_container")),i.element!==i.container&&(i.element.style.display&&i.element.setAttribute(i.__defaultStyleDisplayKey,i.element.style.display),i.element.style.display="none"),i.container.classList.add("jodit_"+(i.options.theme||"default")+"_theme"),i.options.zIndex&&(i.container.style.zIndex=""+parseInt(""+i.options.zIndex,10)),i.workplace=i.create.div("jodit_workplace",{contenteditable:!1}),i.options.toolbar&&i.toolbar.build(d.splitArray(i.options.buttons).concat(i.options.extraButtons),i.container),i.container.classList.add("jodit_toolbar_size-"+(-1!=["middle","large","small"].indexOf(i.options.toolbarButtonSize.toLowerCase())?i.options.toolbarButtonSize.toLowerCase():"middle")),i.options.textIcons&&i.container.classList.add("jodit_text_icons"),i.events.on(i.ownerWindow,"resize",function(){i.events&&i.events.fire("resize")}),i.container.appendChild(i.workplace),i.statusbar=new g.StatusBar(i,i.container),i.workplace.appendChild(i.progress_bar),i.element.parentNode&&i.element!==i.container&&i.element.parentNode.insertBefore(i.container,i.element),i.id=i.element.getAttribute("id")||""+(new Date).getTime(),i.editor=i.create.div("jodit_wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:i.options.tabIndex}),i.workplace.appendChild(i.editor),i.__initPlugines(),i.__initEditor(c).then(function(){return r(i,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return this.isDestructed?[2]:(this.options.enableDragAndDropFileToEditor&&this.options.uploader&&(this.options.uploader.url||this.options.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.isInited=!0,[4,this.events.fire("afterInit",this)]);case 1:return e.sent(),this.events.fire("afterConstructor",this),[2]}})})}),i}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return this.options&&this.options.observer?this.options.observer.timeout:t.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),t.Array=function(e){return new p.JoditArray(e)},t.Object=function(e){return new u.JoditObject(e)},t.fireEach=function(e){for(var o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];Object.keys(t.instances).forEach(function(n){var i,r=t.instances[n];!r.isDestructed&&r.events&&(i=r.events).fire.apply(i,[e].concat(o))})},Object.defineProperty(t.prototype,"uploader",{get:function(){return this.getInstance("Uploader")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filebrowser",{get:function(){return this.getInstance("FileBrowser")},enumerable:!0,configurable:!0}),t.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},t.prototype.getNativeEditorValue=function(){return this.editor?this.editor.innerHTML:this.getElementValue()},t.prototype.getEditorValue=function(e){var t;if(void 0===e&&(e=!0),void 0!==(t=this.events.fire("beforeGetValueFromEditor")))return t;t=this.getNativeEditorValue().replace(l.INVISIBLE_SPACE_REG_EXP,""),e&&(t=t.replace(/<span[^>]+id="jodit_selection_marker_[^>]+><\/span>/g,"")),"<br>"===t&&(t="");var o={value:t};return this.events.fire("afterGetValueFromEditor",o),o.value},t.prototype.getEditorText=function(){if(this.editor)return this.editor.innerText;var e=this.create.inside.div();return e.innerHTML=this.getElementValue(),e.innerText},t.prototype.setElementValue=function(e){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e?this.element!==this.container&&(void 0!==this.element.value?this.element.value=e:this.element.innerHTML=e):e=this.getElementValue(),e!==this.getEditorValue()&&this.setEditorValue(e)},t.prototype.setEditorValue=function(e){var t=this.events.fire("beforeSetValueToEditor",e);if(!1!==t)if("string"==typeof t&&(e=t),this.editor){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e&&this.editor.innerHTML!==e&&(this.editor.innerHTML=e);var o=this.getElementValue(),n=this.getEditorValue();o!==n&&(this.setElementValue(n),this.events.fire("change",n,o))}else void 0!==e&&this.setElementValue(e)},t.prototype.registerCommand=function(e,t){var o=e.toLowerCase();if(void 0===this.commands[o]&&(this.commands[o]=[]),this.commands[o].push(t),"function"!=typeof t){var n=this.options.commandToHotkeys[o]||this.options.commandToHotkeys[e]||t.hotkeys;n&&this.registerHotkeyToCommand(n,o)}return this},t.prototype.registerHotkeyToCommand=function(e,t){var o=this,n=d.asArray(e).map(d.normalizeKeyAliases).map(function(e){return e+".hotkey"}).join(" ");this.events.off(n).on(n,function(){return o.execCommand(t)})},t.prototype.execCommand=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=null),!this.options.readonly||"selectall"===e){var n;if(e=e.toLowerCase(),!1!==(n=this.events.fire("beforeCommand",e,t,o))&&(n=this.execCustomCommands(e,t,o)),!1!==n)switch(this.selection.focus(),e){case"selectall":this.selection.select(this.editor,!0);break;default:try{n=this.editorDocument.execCommand(e,t,o)}catch(e){}}return this.events.fire("afterCommand",e,t,o),this.setEditorValue(),n}},t.prototype.execCustomCommands=function(e,t,o){var n,i;if(void 0===t&&(t=!1),void 0===o&&(o=null),e=e.toLowerCase(),void 0!==this.commands[e]){for(var r=void 0,a=0;a<this.commands[e].length;a+=1)void 0!==(i=("function"==typeof(n=this.commands[e][a])?n:n.exec).call(this,e,t,o))&&(r=i);return r}},t.prototype.lock=function(t){return void 0===t&&(t="any"),!!e.prototype.lock.call(this,t)&&(this.__selectionLocked=this.selection.save(),this.editor.classList.add("jodit_disabled"),!0)},t.prototype.unlock=function(){return!!e.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_disabled"),this.__selectionLocked&&this.selection.restore(this.__selectionLocked),!0)},t.prototype.getMode=function(){return this.mode},t.prototype.isEditorMode=function(){return this.getRealMode()===l.MODE_WYSIWYG},t.prototype.getRealMode=function(){if(this.getMode()!==l.MODE_SPLIT)return this.getMode();var e=this.ownerDocument.activeElement;return e&&(c.Dom.isOrContains(this.editor,e)||c.Dom.isOrContains(this.toolbar.container,e))?l.MODE_WYSIWYG:l.MODE_SOURCE},t.prototype.setMode=function(e){var t=this,o=this.getMode(),n={mode:parseInt(""+e,10)},i=["jodit_wysiwyg_mode","jodit_source_mode","jodit_split_mode"];!1!==this.events.fire("beforeSetMode",n)&&(this.mode=d.inArray(n.mode,[l.MODE_SOURCE,l.MODE_WYSIWYG,l.MODE_SPLIT])?n.mode:l.MODE_WYSIWYG,this.options.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach(function(e){t.container.classList.remove(e)}),this.container.classList.add(i[this.mode-1]),o!==this.getMode()&&this.events.fire("afterSetMode"))},t.prototype.toggleMode=function(){var e=this.getMode();d.inArray(e+1,[l.MODE_SOURCE,l.MODE_WYSIWYG,this.options.useSplitMode?l.MODE_SPLIT:9])?e+=1:e=l.MODE_WYSIWYG,this.setMode(e)},t.prototype.i18n=function(e){for(var o=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r,a=void 0!==this.options&&this.options.debugLanguage,l=function(e){return n.length?d.sprintf.apply(o,[e].concat(n)):e},c="auto"===s.Config.defaultOptions.language?d.defaultLanguage(s.Config.defaultOptions.language):s.Config.defaultOptions.language,p=d.defaultLanguage(this.options?this.options.language:c);return r=void 0!==this.options&&void 0!==t.lang[p]?t.lang[p]:void 0!==t.lang[c]?t.lang[c]:t.lang.en,void 0!==this.options&&void 0!==this.options.i18n[p]&&this.options.i18n[p][e]?l(this.options.i18n[p][e]):"string"==typeof r[e]&&r[e]?l(r[e]):a?"{"+e+"}":l("string"==typeof t.lang.en[e]&&t.lang.en[e]?t.lang.en[e]:e)},t.prototype.setDisabled=function(e){this.options.disabled=e;var t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.events.fire("disabled",e))},t.prototype.getDisabled=function(){return this.options.disabled},t.prototype.setReadOnly=function(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,(this.options.readonly=e)?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.events&&this.events.fire("readonly",e))},t.prototype.getReadOnly=function(){return this.options.readonly},t.prototype.__initPlugines=function(){var e=this,o=Array.isArray(this.options.disablePlugins)?this.options.disablePlugins.map(function(e){return e.toLowerCase()}):this.options.disablePlugins.toLowerCase().split(/[\s,]+/);Object.keys(t.plugins).forEach(function(n){-1==o.indexOf(n.toLowerCase())&&(e.__plugins[n]=new t.plugins[n](e))})},t.prototype.__initEditor=function(e){return r(this,void 0,void 0,function(){var o,n;return a(this,function(i){switch(i.label){case 0:return[4,this.__createEditor()];case 1:if(i.sent(),this.isDestructed)return[2];this.element!==this.container?this.setElementValue():null!==e&&this.setEditorValue(e),o=(t.instances[this.id]=this).options.defaultMode,this.options.saveModeInStorage&&null!==(n=this.storage.get("jodit_default_mode"))&&(o=parseInt(n,10)),this.setMode(o),this.options.readonly&&this.setReadOnly(!0),this.options.disabled&&this.setDisabled(!0);try{this.editorDocument.execCommand("defaultParagraphSeparator",!1,this.options.enter.toLowerCase())}catch(i){}try{this.editorDocument.execCommand("enableObjectResizing",!1,"false")}catch(i){}try{this.editorDocument.execCommand("enableInlineTableEditing",!1,"false")}catch(i){}return[2]}})})},t.prototype.__createEditor=function(){return r(this,void 0,void 0,function(){var e,t,o,n=this;return a(this,function(i){switch(i.label){case 0:return e=this.editor,[4,this.events.fire("createEditor",this)];case 1:return t=i.sent(),this.isDestructed||(!1===t&&c.Dom.safeRemove(e),this.options.editorCssClass&&this.editor.classList.add(this.options.editorCssClass),this.events.on("synchro",function(){n.setEditorValue()}).on(this.editor,"selectionchange selectionstart keydown keyup keypress mousedown mouseup mousepress click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",function(e){if(!n.options.readonly&&n.events&&n.events.fire){if(!1===n.events.fire(e.type,e))return!1;n.setEditorValue()}}),this.options.spellcheck&&this.editor.setAttribute("spellcheck","true"),this.options.direction&&(o="rtl"===this.options.direction.toLowerCase()?"rtl":"ltr",this.editor.style.direction=o,this.container.style.direction=o,this.editor.setAttribute("dir",o),this.container.setAttribute("dir",o),this.toolbar.setDirection(o)),this.options.triggerChangeEvent&&this.events.on("change",d.debounce(function(){n.events&&n.events.fire(n.element,"change")},this.defaultTimeout))),[2]}})})},t.prototype.destruct=function(){var o=this;if(!this.isDestructed&&!1!==this.events.fire("beforeDestruct")&&this.editor){var n=this.getEditorValue();this.element!==this.container?this.element.hasAttribute(this.__defaultStyleDisplayKey)?(this.element.style.display=this.element.getAttribute(this.__defaultStyleDisplayKey),this.element.removeAttribute(this.__defaultStyleDisplayKey)):this.element.style.display="":this.element.hasAttribute(this.__defaultClassesKey)&&(this.element.className=this.element.getAttribute(this.__defaultClassesKey)||"",this.element.removeAttribute(this.__defaultClassesKey)),this.element.hasAttribute("style")&&!this.element.getAttribute("style")&&this.element.removeAttribute("style"),Object.keys(this.__plugins).forEach(function(e){void 0!==o.__plugins&&void 0!==o.__plugins[e]&&void 0!==o.__plugins[e].destruct&&"function"==typeof o.__plugins[e].destruct&&o.__plugins[e].destruct(),delete o.__plugins[e]}),this.observer.destruct(),this.statusbar.destruct(),delete this.observer,delete this.statusbar,delete this.storage,this.components.forEach(function(e){void 0===e.destruct||"function"!=typeof e.destruct||e.isDestructed||e.destruct()}),this.components.length=0,this.commands={},delete this.selection,this.__selectionLocked=null,this.events.off(this.ownerWindow),this.events.off(this.ownerDocument),this.events.off(this.ownerDocument.body),this.events.off(this.element),this.events.off(this.editor),c.Dom.safeRemove(this.workplace),c.Dom.safeRemove(this.editor),c.Dom.safeRemove(this.progress_bar),c.Dom.safeRemove(this.iframe),this.container!==this.element&&c.Dom.safeRemove(this.container),delete this.workplace,delete this.editor,delete this.progress_bar,delete this.iframe,this.container===this.element&&(this.element.innerHTML=n),delete t.instances[this.id],e.prototype.destruct.call(this),delete this.container}},t.plugins={},t.modules={},t.instances={},t.lang={},t}(o(58).ViewWithToolbar);t.Jodit=b},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=function(e){return!!(e&&e instanceof Object&&"function"==typeof e.constructor&&"Jodit"===e.constructor.name)}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(1),s=o(2),l=o(3),c=o(59),d=o(0),p=o(12);a.Config.prototype.dialog={resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},a.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}},fullsize:{icon:"fullsize",getLabel:function(e,t,o){if(a.Config.prototype.controls.fullsize&&a.Config.prototype.controls.fullsize.getLabel&&"function"==typeof a.Config.prototype.controls.fullsize.getLabel)return a.Config.prototype.controls.fullsize.getLabel(e,t,o)},exec:function(e){e.toggleFullSize()}}};var u=function(e){function t(t,o){void 0===o&&(o=a.Config.prototype.dialog);var n=e.call(this,t,o)||this;n.destination=document.body,n.destroyAfterClose=!1,n.moved=!1,n.iSetMaximization=!1,n.resizeble=!1,n.draggable=!1,n.startX=0,n.startY=0,n.startPoint={x:0,y:0,w:0,h:0},n.lockSelect=function(){n.container.classList.add("jodit_dialog_box-moved")},n.unlockSelect=function(){n.container.classList.remove("jodit_dialog_box-moved")},n.onMouseUp=function(){(n.draggable||n.resizeble)&&(n.draggable=!1,n.resizeble=!1,n.unlockSelect(),n.jodit&&n.jodit.events&&n.jodit.events.fire(n,"endResize endMove"))},n.onHeaderMouseDown=function(e){var t=e.target;!n.options.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(n.draggable=!0,n.startX=e.clientX,n.startY=e.clientY,n.startPoint.x=l.css(n.dialog,"left"),n.startPoint.y=l.css(n.dialog,"top"),n.setMaxZIndex(),e.preventDefault(),n.lockSelect(),n.jodit&&n.jodit.events&&n.jodit.events.fire(n,"startMove"))},n.onMouseMove=function(e){n.draggable&&n.options.draggable&&(n.setPosition(n.startPoint.x+e.clientX-n.startX,n.startPoint.y+e.clientY-n.startY),n.jodit&&n.jodit.events&&n.jodit.events.fire(n,"move",e.clientX-n.startX,e.clientY-n.startY),e.stopImmediatePropagation(),e.preventDefault()),n.resizeble&&n.options.resizable&&(n.setSize(n.startPoint.w+e.clientX-n.startX,n.startPoint.h+e.clientY-n.startY),n.jodit&&n.jodit.events&&n.jodit.events.fire(n,"resizeDialog",e.clientX-n.startX,e.clientY-n.startY),e.stopImmediatePropagation(),e.preventDefault())},n.onKeyDown=function(e){if(n.isOpened()&&e.which===s.KEY_ESC){var t=n.getMaxZIndexDialog();t?t.close():n.close(),e.stopImmediatePropagation()}},n.onResize=function(){n.options&&n.options.resizable&&!n.moved&&n.isOpened()&&!n.offsetX&&!n.offsetY&&n.setPosition()},n.document=document,n.window=window,n.close=function(e){n.isDestructed||(e&&(e.stopImmediatePropagation(),e.preventDefault()),n.jodit&&n.jodit.events&&n.jodit.events.fire("beforeClose",n),n.container&&n.container.classList&&n.container.classList.remove("active"),n.iSetMaximization&&n.maximization(!1),n.destroyAfterClose&&n.destruct(),n.jodit&&n.jodit.events&&n.jodit.events.fire(n,"afterClose"))},p.isJoditObject(t)&&(n.window=t.ownerWindow,n.document=t.ownerDocument,t.events.on("beforeDestruct",function(){n.destruct()}));var i=n;i.options=r({},t&&t.options?t.options.dialog:a.Config.prototype.dialog,i.options),i.container=n.create.fromHTML('<div style="z-index:'+i.options.zIndex+'" class="jodit jodit_dialog_box"><div class="jodit_dialog_overlay"></div><div class="jodit_dialog"><div class="jodit_dialog_header non-selected"><div class="jodit_dialog_header-title"></div><div class="jodit_dialog_header-toolbar"></div></div><div class="jodit_dialog_content"></div><div class="jodit_dialog_footer"></div>'+(i.options.resizable?'<div class="jodit_dialog_resizer"></div>':"")+"</div></div>"),t&&t.id&&i.container.setAttribute("data-editor_id",t.id),Object.defineProperty(i.container,"__jodit_dialog",{value:i}),i.dialog=i.container.querySelector(".jodit_dialog"),i.resizer=i.container.querySelector(".jodit_dialog_resizer"),i.jodit&&i.jodit.options&&i.jodit.options.textIcons&&i.container.classList.add("jodit_text_icons"),i.dialogbox_header=i.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-title"),i.dialogbox_content=i.container.querySelector(".jodit_dialog_content"),i.dialogbox_footer=i.container.querySelector(".jodit_dialog_footer"),i.dialogbox_toolbar=i.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-toolbar"),i.destination.appendChild(i.container),i.container.addEventListener("close_dialog",i.close),i.toolbar=h.JoditToolbarCollection.makeCollection(i),i.toolbar.build(i.options.buttons,i.dialogbox_toolbar),i.events.on(n.window,"mousemove",i.onMouseMove).on(n.window,"mouseup",i.onMouseUp).on(n.window,"keydown",i.onKeyDown).on(n.window,"resize",i.onResize);var c=i.container.querySelector(".jodit_dialog_header");return c&&c.addEventListener("mousedown",i.onHeaderMouseDown.bind(i)),i.options.resizable&&i.resizer.addEventListener("mousedown",i.onResizerMouseDown.bind(i)),f.Jodit.plugins.fullsize(i),n}return i(t,e),t.prototype.setElements=function(e,t){var o=this,n=[];l.asArray(t).forEach(function(t){var i="string"==typeof t?o.create.fromHTML(t):t;n.push(i),i.parentNode!==e&&e.appendChild(i)}),Array.from(e.childNodes).forEach(function(t){-1==n.indexOf(t)&&e.removeChild(t)})},t.prototype.onResizerMouseDown=function(e){this.resizeble=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.jodit.events&&this.jodit.events.fire(this,"startResize")},t.prototype.setSize=function(e,t){e&&l.css(this.dialog,"width",e),t&&l.css(this.dialog,"height",t)},t.prototype.setPosition=function(e,t){var o=this.window.innerWidth/2-this.dialog.offsetWidth/2,n=this.window.innerHeight/2-this.dialog.offsetHeight/2;void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=100<Math.abs(e-o)||100<Math.abs(t-n)),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||n)+"px"},t.prototype.setTitle=function(e){this.setElements(this.dialogbox_header,e)},t.prototype.setContent=function(e){this.setElements(this.dialogbox_content,e)},t.prototype.setFooter=function(e){this.setElements(this.dialogbox_footer,e),this.dialog.classList.toggle("with_footer",!!e)},t.prototype.getZIndex=function(){return parseInt(this.container.style.zIndex||"0",10)},t.prototype.getMaxZIndexDialog=function(){var e,t,o=0,n=this;return l.$$(".jodit_dialog_box",this.destination).forEach(function(i){e=i.__jodit_dialog,t=parseInt(l.css(i,"zIndex"),10),e.isOpened()&&!isNaN(t)&&o<t&&(n=e,o=t)}),n},t.prototype.setMaxZIndex=function(){var e=0,t=0;l.$$(".jodit_dialog_box",this.destination).forEach(function(o){t=parseInt(l.css(o,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)}),this.container.style.zIndex=""+(e+1)},t.prototype.maximization=function(e){return"boolean"!=typeof e&&(e=!this.container.classList.contains("jodit_dialog_box-fullsize")),this.container.classList.toggle("jodit_dialog_box-fullsize",e),[this.destination,this.destination.parentNode].forEach(function(t){t&&t.classList&&t.classList.toggle("jodit_fullsize_box",e)}),this.iSetMaximization=e},t.prototype.open=function(e,t,o,n){this.jodit&&this.jodit.events&&!1===this.jodit.events.fire(this,"beforeOpen")||(this.destroyAfterClose=!0===o,void 0!==t&&this.setTitle(t),e&&this.setContent(e),this.container.classList.add("active"),n&&this.container.classList.add("jodit_modal"),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.options.fullsize&&this.maximization(!0),this.jodit&&this.jodit.events&&this.jodit.events.fire("afterOpen",this))},t.prototype.isOpened=function(){return!this.isDestructed&&this.container&&this.container.classList.contains("active")},t.prototype.destruct=function(){this.isDestructed||(this.toolbar&&(this.toolbar.destruct(),delete this.toolbar),this.events&&this.events.off(this.window,"mousemove",this.onMouseMove).off(this.window,"mouseup",this.onMouseUp).off(this.window,"keydown",this.onKeyDown).off(this.window,"resize",this.onResize),!this.jodit&&this.events&&(this.events.destruct(),delete this.events),this.container&&(d.Dom.safeRemove(this.container),delete this.container),e.prototype.destruct.call(this))},t}(c.View);t.Dialog=u;var f=o(11),h=o(62)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(0),r=o(3),a=o(5);(n=t.Widget||(t.Widget={})).ColorPickerWidget=function(e,t,o){var n=r.normalizeColor(o),s=e.create.div("jodit_colorpicker"),l=e.options.textIcons?"":a.ToolbarIcon.getIcon("eye"),c=e.options.textIcons?"<span>"+e.i18n("eraser")+"</span>":a.ToolbarIcon.getIcon("eraser"),d=e.options.textIcons?"<span>"+e.i18n("palette")+"</span>":a.ToolbarIcon.getIcon("palette"),p=function(e,t){e.innerHTML=a.ToolbarIcon.getIcon("eye"),e.classList.add("active");var o=r.hexToRgb(t);o&&(e.firstChild.style.fill="rgb("+(255-o.r)+","+(255-o.g)+","+(255-o.b)+")")},u=function(e){var t=[];return r.isPlainObject(e)?Object.keys(e).forEach(function(o){t.push('<div class="jodit_colorpicker_group jodit_colorpicker_group-'+o+'">'),t.push(u(e[o])),t.push("</div>")}):Array.isArray(e)&&e.forEach(function(e){t.push("<a "+(n===e?' class="active" ':"")+' title="'+e+'" style="background-color:'+e+'" data-color="'+e+'" href="javascript:void(0)">'+(n===e?l:"")+"</a>")}),t.join("")};return s.appendChild(e.create.fromHTML("<div>"+u(e.options.colors)+"</div>")),s.appendChild(e.create.fromHTML("<a "+(e.options.textIcons?'class="jodit_text_icon"':"")+' data-color="" href="javascript:void(0)">'+c+"</a>")),e.options.showBrowserColorPicker&&r.hasBrowserColorPicker()&&(s.appendChild(e.create.fromHTML("<span><em "+(e.options.textIcons?'class="jodit_text_icon"':"")+">"+d+'</em><input type="color" value=""/></span>')),e.events.on(s,"change",function(e){e.stopPropagation();var o=e.target;if(o&&o.tagName&&"INPUT"===o.tagName.toUpperCase()){var n=o.value||"";n&&p(o,n),t&&"function"==typeof t&&t(n),e.preventDefault()}})),e.events.on(s,"mousedown touchend",function(o){o.stopPropagation();var n=o.target;if(n&&n.tagName&&"SVG"!==n.tagName.toUpperCase()&&"PATH"!==n.tagName.toUpperCase()||!n.parentNode||(n=i.Dom.closest(n.parentNode,"A",e.editor)),"A"===n.tagName.toUpperCase()){var r=s.querySelector("a.active");r&&(r.classList.remove("active"),r.innerHTML="");var a=n.getAttribute("data-color")||"";a&&p(n,a),t&&"function"==typeof t&&t(a),o.preventDefault()}}),s},n.TabsWidget=function(e,t,o){var n=e.create.div("jodit_tabs"),i=e.create.div("jodit_tabs_wrapper"),a=e.create.div("jodit_tabs_buttons"),s={},l="",c=0;return n.appendChild(a),n.appendChild(i),r.each(t,function(t,n){var d=e.create.div("jodit_tab"),p=e.create.element("a",{href:"javascript:void(0);"});l||(l=""+t),p.innerHTML=e.i18n(""+t),a.appendChild(p),d.appendChild("function"!=typeof n?n:e.create.div("jodit_tab_empty")),i.appendChild(d),e.events.on(p,"mousedown touchend",function(s){return r.$$("a",a).forEach(function(e){e.classList.remove("active")}),r.$$(".jodit_tab",i).forEach(function(e){e.classList.remove("active")}),p.classList.add("active"),d.classList.add("active"),"function"==typeof n&&n.call(e),s.stopPropagation(),o&&(o.__activeTab=""+t),!1}),s[t]={button:p,tab:d},c+=1}),c&&(r.$$("a",a).forEach(function(e){e.style.width=(100/c).toFixed(10)+"%"}),o&&o.__activeTab&&s[o.__activeTab]?(s[o.__activeTab].button.classList.add("active"),s[o.__activeTab].tab.classList.add("active")):(s[l].button.classList.add("active"),s[l].tab.classList.add("active"))),n},n.FileSelectorWidget=function(e,t,o,i,s){var l;void 0===s&&(s=!0);var c={};if(t.upload&&e.options.uploader&&(e.options.uploader.url||e.options.uploader.insertImageAsBase64URI)){var d=e.create.fromHTML('<div class="jodit_draganddrop_file_box"><strong>'+e.i18n(s?"Drop image":"Drop file")+"</strong><span><br> "+e.i18n("or click")+'</span><input type="file" accept="'+(s?"image/*":"*")+'image/*" tabindex="-1" dir="auto" multiple=""/></div>');e.getInstance("Uploader").bind(d,function(o){"function"==typeof t.upload&&t.upload.call(e,{baseurl:o.baseurl,files:o.files})},function(t){e.events.fire("errorMessage",t.message)}),c[(e.options.textIcons?"":a.ToolbarIcon.getIcon("upload"))+e.i18n("Upload")]=d}if(t.filebrowser&&(e.options.filebrowser.ajax.url||e.options.filebrowser.items.url)&&(c[(e.options.textIcons?"":a.ToolbarIcon.getIcon("folder"))+e.i18n("Browse")]=function(){i&&i(),t.filebrowser&&e.getInstance("FileBrowser").open(t.filebrowser,s)}),t.url){var p=e.create.fromHTML('<form onsubmit="return false;" class="jodit_form"><input type="text" required name="url" placeholder="http://"/><input type="text" name="text" placeholder="'+e.i18n("Alternative text")+'"/><div style="text-align: right"><button>'+e.i18n("Insert")+"</button></div></form>"),u=p.querySelector("button"),f=p.querySelector("input[name=url]");l=null,o&&o.nodeType!==Node.TEXT_NODE&&("IMG"===o.tagName||r.$$("img",o).length)&&(l="IMG"===o.tagName?o:r.$$("img",o)[0],r.val(p,"input[name=url]",l.getAttribute("src")),r.val(p,"input[name=text]",l.getAttribute("alt")),u.innerText=e.i18n("Update")),o&&o.nodeType!==Node.TEXT_NODE&&"A"===o.nodeName&&(r.val(p,"input[name=url]",o.getAttribute("href")||""),r.val(p,"input[name=text]",o.getAttribute("title")||""),u.innerText=e.i18n("Update")),p.addEventListener("submit",function(o){return o.preventDefault(),o.stopPropagation(),r.val(p,"input[name=url]")?"function"==typeof t.url&&t.url.call(e,r.val(p,"input[name=url]"),r.val(p,"input[name=text]")):(f.focus(),f.classList.add("jodit_error")),!1},!1),c[(e.options.textIcons?"":a.ToolbarIcon.getIcon("link"))+" URL"]=p}return n.TabsWidget(e,c)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTimeout=function(e,t,o,n,i){return t?window.setTimeout.call(window,e,t,o,n,i):(e.call(null,o,n,i),0)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(29),i=o(30),r=o(31),a=o(21);t.extend=function e(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var s,l,c,d,p,u,f,h=t.length,g=t[0]||{},m=1,v=!1;for("boolean"==typeof g&&(v=g,g=t[m]||{},m+=1),"object"!=typeof g&&"function"===r.type(g)&&(g={}),m===h&&(g=this,m+=1);m<h;m+=1)if(null!=(s=t[m]))for(f=Object.keys(s),u=0;u<f.length;u+=1)c=g[l=f[u]],g!==(d=s[l])&&(v&&d&&(a.isPlainObject(d)&&!(d instanceof n.JoditObject)||Array.isArray(d)&&!(d instanceof i.JoditArray))?(p=Array.isArray(d)?c&&Array.isArray(c)?c:[]:c&&a.isPlainObject(c)?c:{},g[l]=e(v,p,d)):void 0!==d&&(g[l]=d));return g}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(91)),n(o(92)),n(o(93)),n(o(94)),n(o(95)),n(o(96)),n(o(46)),n(o(47)),n(o(97))},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(34),a=o(0),s=o(8),l=o(2),c=o(12),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.checkActiveStatus=function(e,o){var n=0,i=0;return Object.keys(e).forEach(function(r){var a=e[r];"function"==typeof a?a(t.jodit,""+s.css(o,r))&&(n+=1):-1!=a.indexOf(""+s.css(o,r))&&(n+=1),i+=1}),i===n},t}return i(t,e),t.prototype.buttonIsActive=function(t){var o=this,n=e.prototype.buttonIsActive.call(this,t);if(void 0!==n)return n;var i,r,s=!!this.jodit.selection&&this.jodit.selection.current();return!(!s||!((t.control.tags||t.control.options&&t.control.options.tags)&&(i=t.control.tags||t.control.options&&t.control.options.tags,a.Dom.up(s,function(e){if(e&&-1!=i.indexOf(e.nodeName.toLowerCase()))return!0},this.jodit.editor))||(t.control.css||t.control.options&&t.control.options.css)&&(r=t.control.css||t.control.options&&t.control.options.css,a.Dom.up(s,function(e){if(e&&e.nodeType!==Node.TEXT_NODE)return o.checkActiveStatus(r,e)},this.jodit.editor))))},t.prototype.buttonIsDisabled=function(t){var o=e.prototype.buttonIsDisabled.call(this,t);if(void 0!==o)return o;var n=void 0===t.control||void 0===t.control.mode?l.MODE_WYSIWYG:t.control.mode;return!(n===l.MODE_SPLIT||n===this.jodit.getRealMode())},t.prototype.getTarget=function(e){return e.target||this.jodit.selection.current()||void 0},t.makeCollection=function(e){return c.isJoditObject(e)?new t(e):new r.ToolbarCollection(e)},t}(r.ToolbarCollection);t.JoditToolbarCollection=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(13);t.Dialog=n.Dialog;var i=o(63);t.Alert=i.Alert;var r=o(64);t.Promt=r.Promt;var a=o(65);t.Confirm=a.Confirm},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(37);t.asArray=n.asArray;var i=o(75);t.inArray=i.inArray;var r=o(76);t.splitArray=r.splitArray},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(39),i=o(31);t.isPlainObject=function(e){return!("object"!=typeof e||e.nodeType||n.isWindow(e)||e.constructor&&!i.hasOwn.call(e.constructor.prototype,"isPrototypeOf"))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=function(e){if("string"==typeof e){if(!e.match(/^([+\-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return!isNaN(e)&&isFinite(e)}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(98)),n(o(99)),n(o(100))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.each=function(e,t){var o,n,i;if(Array.isArray(e)){for(o=e.length,i=0;i<o;i+=1)if(!1===t.call(e[i],i,e[i]))return!1}else for(n=Object.keys(e),i=0;i<n.length;i+=1)if(!1===t.call(e[n[i]],n[i],e[n[i]]))return!1;return!0}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(34),s=o(5),l=o(0),c=o(10),d=function(e){function t(t,o,n){void 0===o&&(o="li"),void 0===n&&(n="jodit_toolbar_btn");var i=this;return t instanceof a.ToolbarCollection?(i=e.call(this,t.jodit)||this).parentToolbar=t:i=e.call(this,t)||this,i.container=i.jodit.create.element(o),i.container.classList.add(n),i}return i(t,e),t.prototype.destruct=function(){this.isDestructed||(l.Dom.safeRemove(this.container),this.parentToolbar=void 0,e.prototype.destruct.call(this))},t.prototype.createIcon=function(e,t){var o=t?t.icon||t.name:e;if(this.jodit.options.textIcons)return this.jodit.create.fromHTML('<span class="jodit_icon">'+this.jodit.i18n(t?t.name:e)+"</span>");var n=this.jodit.events.fire("getIcon",o,t,e),i=void 0;return t&&t.iconURL&&void 0===n?(i=this.jodit.create.element("i")).style.backgroundImage="url("+t.iconURL+")":(void 0===n&&(n=s.ToolbarIcon.exists(o)?s.ToolbarIcon.getIcon(o):s.ToolbarIcon.getIcon("empty")),i="string"==typeof n?this.jodit.create.fromHTML(c.trim(n)):n),i.classList.add("jodit_icon","jodit_icon_"+e),i},t}(r.Component);t.ToolbarElement=d},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(0),a=o(3),s=o(25),l=o(112),c=o(27),d=o(113),p=o(12),u=function(e){function t(t,o,n){var i=e.call(this,t)||this;i.__disabled=!1,i.__actived=!1,i.onMouseDown=function(e){if(e.stopImmediatePropagation(),e.preventDefault(),i.disable)return!1;var t=i.control,o=function(){return i.parentToolbar&&i.parentToolbar.getTarget(i)||i.target||!1};if(t.list){var n=new l.PopupList(i.jodit,i.container,i.target);n.open(t),i.jodit.events.fire("closeAllPopups",n.container)}else if(void 0!==t.exec&&"function"==typeof t.exec)t.exec(i.jodit,o(),t,e,i.container),i.jodit.events.fire("synchro"),i.parentToolbar&&i.parentToolbar.immedateCheckActiveButtons(),i.jodit.events.fire("closeAllPopups afterExec");else if(void 0!==t.popup&&"function"==typeof t.popup){var r=new c.Popup(i.jodit,i.container,i.target);if(!1!==i.jodit.events.fire(a.camelCase("before-"+t.name+"-OpenPopup"),o(),t,r)){var s=t.popup(i.jodit,o(),t,r.close,i);s&&r.open(s)}i.jodit.events.fire(a.camelCase("after-"+t.name+"-OpenPopup")+" closeAllPopups",r.container)}else(t.command||t.name)&&(p.isJoditObject(i.jodit)?i.jodit.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null):i.jodit.ownerDocument.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null),i.jodit.events.fire("closeAllPopups"))},i.control=o,i.target=n,i.anchor=i.jodit.create.element("a"),i.container.appendChild(i.anchor),i.jodit.options.showTooltip&&o.tooltip&&(i.jodit.options.useNativeTooltip?i.anchor.setAttribute("title",i.jodit.i18n(o.tooltip)+(o.hotkeys?"<br>"+a.asArray(o.hotkeys).join(" "):"")):i.tooltip=new d.ToolbarTooltip(i)),i.textBox=i.jodit.create.span(),i.anchor.appendChild(i.textBox);var s=o.name.replace(/[^a-zA-Z0-9]/g,"_");if(o.getContent&&"function"==typeof o.getContent){r.Dom.detach(i.container);var u=o.getContent(i.jodit,o,i);i.container.appendChild("string"==typeof u?i.jodit.create.fromHTML(u):u)}else{if(o.list&&i.anchor){var f=i.jodit.ownerDocument.createElement("span");f.classList.add("jodit_with_dropdownlist-trigger"),i.container.classList.add("jodit_with_dropdownlist"),i.anchor.appendChild(f)}i.textBox.appendChild(i.createIcon(s,o))}if(i.container.classList.add("jodit_toolbar_btn-"+s),i.jodit.options.direction){var h="rtl"===i.jodit.options.direction.toLowerCase()?"rtl":"ltr";i.container.style.direction=h}return o.isInput?i.container.classList.add("jodit_toolbar-input"):i.jodit.events.on(i.container,"mousedown touchend",i.onMouseDown).on("click-"+s+"-btn",i.onMouseDown),i}return i(t,e),Object.defineProperty(t.prototype,"disable",{get:function(){return this.__disabled},set:function(e){this.__disabled=e,this.container.classList.toggle("jodit_disabled",e),e?this.container.hasAttribute("disabled")||this.container.setAttribute("disabled","disabled"):this.container.hasAttribute("disabled")&&this.container.removeAttribute("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this.__actived},set:function(e){this.__actived=e,this.container.classList.toggle("jodit_active",e)},enumerable:!0,configurable:!0}),t.prototype.isDisable=function(){return!(!this.parentToolbar||!this.parentToolbar.buttonIsDisabled(this))},t.prototype.isActive=function(){return!(!this.parentToolbar||!this.parentToolbar.buttonIsActive(this))},t.prototype.destruct=function(){this.isDestructed||(this.jodit&&this.jodit.events&&this.jodit.events.off(this.container),e.prototype.destruct.call(this),this.tooltip&&(this.tooltip.destruct(),delete this.tooltip))},t}(s.ToolbarElement);t.ToolbarButton=u},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(0),a=o(3),s=function(e){function t(o,n,i,s){void 0===s&&(s="jodit_toolbar_popup");var l=e.call(this,o)||this;return l.target=n,l.current=i,l.className=s,l.throttleCalcPosition=a.throttle(l.calcPosition,l.jodit.defaultTimeout),l.isOpened=!1,l.close=function(e){(l.isOpened||l.isDestructed)&&(e&&r.Dom.isOrContains(l.container,e instanceof t?e.target:e)||(l.isOpened=!1,l.jodit.events.off("closeAllPopups",l.close),l.doClose(),r.Dom.safeRemove(l.container),l.jodit.events.fire("removeMarkers")))},l.container=l.jodit.create.div(s,{"data-editor_id":o.id}),l.jodit.events.on(l.container,"mousedown touchstart touchend",function(e){e.stopPropagation()}).on([l.jodit.ownerWindow,l.jodit.events],"resize",l.throttleCalcPosition),l}return i(t,e),t.prototype.calcPosition=function(){if(this.isOpened&&!this.isDestructed){var e=this.container,t=a.offset(this.jodit.container,this.jodit,this.jodit.ownerDocument,!0),o=a.offset(e,this.jodit,this.jodit.ownerDocument,!0),n=a.css(e,"marginLeft")||0;o.left-=n;var i=n,r="auto";if(i=o.left<t.left?t.left-o.left:o.left+o.width<t.left+t.width?0:-(o.left+o.width-(t.left+t.width)),o.width<t.width||(i=t.left-o.left,r=t.width),i!==n)try{e.style.setProperty("margin-left",i+"px","important")}catch(t){e.style.marginLeft=i+"px"}var s=e.querySelector(".jodit_popup_triangle");s&&(s.style.marginLeft=-i+"px"),a.css(e,"width",r)}},t.prototype.doOpen=function(e){e&&(r.Dom.detach(this.container),this.container.innerHTML='<span class="jodit_popup_triangle"></span>',this.container.appendChild(r.Dom.isNode(e,this.jodit.ownerWindow)?e:this.jodit.create.fromHTML(""+e)),this.container.style.display="block",this.container.style.marginLeft=null)},t.prototype.doClose=function(){},t.prototype.open=function(e,t,o){void 0===o&&(o=!1),l.Jodit.fireEach("beforeOpenPopup closeAllPopups",this,e),o||this.jodit.events.on("closeAllPopups",this.close),this.container.classList.add(this.className+"-open"),this.doOpen(e),this.target.appendChild(this.container),void 0!==t&&this.container.classList.toggle("jodit_right",t),!o&&this.container.parentNode&&this.jodit.events.fire(this.container.parentNode,"afterOpenPopup",this.container),this.isOpened=!0,!o&&this.calcPosition()},t.prototype.destruct=function(){this.isDestructed||(this.jodit.events.off([this.jodit.ownerWindow,this.jodit.events],"resize",this.throttleCalcPosition),r.Dom.safeRemove(this.container),delete this.container,e.prototype.destruct.call(this))},t}(o(7).Component);t.Popup=s;var l=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0),r=o(3),a=function(){function e(){}return e.addSelected=function(e){e.setAttribute(n.JODIT_SELECTED_CELL_MARKER,"1")},e.restoreSelection=function(e){e.removeAttribute(n.JODIT_SELECTED_CELL_MARKER)},e.getAllSelectedCells=function(e){return e?r.$$("td["+n.JODIT_SELECTED_CELL_MARKER+"],th["+n.JODIT_SELECTED_CELL_MARKER+"]",e):[]},e.getRowsCount=function(e){return e.rows.length},e.getColumnsCount=function(t){return e.formalMatrix(t).reduce(function(e,t){return Math.max(e,t.length)},0)},e.formalMatrix=function(e,t){for(var o=[[]],n=Array.prototype.slice.call(e.rows),i=function(e,n){void 0===o[n]&&(o[n]=[]);for(var i,r,a=e.colSpan,s=e.rowSpan,l=0;o[n][l];)l+=1;for(r=0;r<s;r+=1)for(i=0;i<a;i+=1){if(void 0===o[n+r]&&(o[n+r]=[]),t&&!1===t(e,n+r,l+i,a,s))return!1;o[n+r][l+i]=e}},r=0,a=void 0;r<n.length;r+=1){var s=Array.prototype.slice.call(n[r].cells);for(a=0;a<s.length;a+=1)if(!1===i(s[a],r))return o}return o},e.formalCoordinate=function(t,o,n){void 0===n&&(n=!1);var i=0,r=0,a=1,s=1;return e.formalMatrix(t,function(e,t,l,c,d){if(o===e)return i=t,r=l,a=c||1,s=d||1,n&&(r+=(c||1)-1,i+=(d||1)-1),!1}),[i,r,a,s]},e.appendRow=function(t,o,n){void 0===o&&(o=!1),void 0===n&&(n=!0);for(var i=t.ownerDocument||document,a=e.getColumnsCount(t),s=i.createElement("tr"),l=0;l<a;l+=1)s.appendChild(i.createElement("td"));n&&o&&o.nextSibling?o.parentNode&&o.parentNode.insertBefore(s,o.nextSibling):!n&&o?o.parentNode&&o.parentNode.insertBefore(s,o):(r.$$(":scope>tbody",t)[0]||t).appendChild(s)},e.removeRow=function(t,o){var n,a=e.formalMatrix(t),s=t.rows[o];r.each(a[o],function(e,r){if(n=!1,o-1<0||a[o-1][e]!==r)if(a[o+1]&&a[o+1][e]===r){if(r.parentNode===s&&r.parentNode.nextSibling){n=!0;for(var l=e+1;a[o+1][l]===r;)l+=1;var c=i.Dom.next(r.parentNode,function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&"TR"===e.nodeName},t);a[o+1][l]?c.insertBefore(r,a[o+1][l]):c.appendChild(r)}}else i.Dom.safeRemove(r);else n=!0;if(n&&(r.parentNode===s||r!==a[o][e-1])){var d=r.rowSpan;1<d-1?r.setAttribute("rowspan",""+(d-1)):r.removeAttribute("rowspan")}}),i.Dom.safeRemove(s)},e.appendColumn=function(t,o,n){void 0===n&&(n=!0);var i,r=e.formalMatrix(t);for(void 0===o&&(o=e.getColumnsCount(t)-1),i=0;i<r.length;i+=1){var a=(t.ownerDocument||document).createElement("td"),s=r[i][o],l=!1;n?(r[i]&&s&&r[i].length<=o+1||s!==r[i][o+1])&&(s.nextSibling?s.parentNode&&s.parentNode.insertBefore(a,s.nextSibling):s.parentNode&&s.parentNode.appendChild(a),l=!0):(o-1<0||r[i][o]!==r[i][o-1]&&r[i][o].parentNode)&&(s.parentNode&&s.parentNode.insertBefore(a,r[i][o]),l=!0),l||r[i][o].setAttribute("colspan",""+(parseInt(r[i][o].getAttribute("colspan")||"1",10)+1))}},e.removeColumn=function(t,o){var n,a=e.formalMatrix(t);r.each(a,function(e,t){var r=t[o];if(n=!1,o-1<0||a[e][o-1]!==r?o+1<t.length&&a[e][o+1]===r?n=!0:i.Dom.safeRemove(r):n=!0,n&&(e-1<0||r!==a[e-1][o])){var s=r.colSpan;1<s-1?r.setAttribute("colspan",""+(s-1)):r.removeAttribute("colspan")}})},e.getSelectedBound=function(t,o){var n,i,r,a=[[1/0,1/0],[0,0]],s=e.formalMatrix(t);for(n=0;n<s.length;n+=1)for(i=0;i<s[n].length;i+=1)-1!=o.indexOf(s[n][i])&&(a[0][0]=Math.min(n,a[0][0]),a[0][1]=Math.min(i,a[0][1]),a[1][0]=Math.max(n,a[1][0]),a[1][1]=Math.max(i,a[1][1]));for(n=a[0][0];n<=a[1][0];n+=1)for(i=a[0][r=1];i<=a[1][1];i+=1){for(;s[n][i-r]&&s[n][i]===s[n][i-r];)a[0][1]=Math.min(i-r,a[0][1]),a[1][1]=Math.max(i-r,a[1][1]),r+=1;for(r=1;s[n][i+r]&&s[n][i]===s[n][i+r];)a[0][1]=Math.min(i+r,a[0][1]),a[1][1]=Math.max(i+r,a[1][1]),r+=1;for(r=1;s[n-r]&&s[n][i]===s[n-r][i];)a[0][0]=Math.min(n-r,a[0][0]),a[1][0]=Math.max(n-r,a[1][0]),r+=1;for(r=1;s[n+r]&&s[n][i]===s[n+r][i];)a[0][0]=Math.min(n+r,a[0][0]),a[1][0]=Math.max(n+r,a[1][0]),r+=1}return a},e.normalizeTable=function(t){var o,n,i,r,a=[],s=e.formalMatrix(t);for(n=0;n<s[0].length;n+=1){for(r=!(i=1e6),o=0;o<s.length;o+=1)if(void 0!==s[o][n]){if(s[o][n].colSpan<2){r=!0;break}i=Math.min(i,s[o][n].colSpan)}if(!r)for(o=0;o<s.length;o+=1)void 0!==s[o][n]&&e.__mark(s[o][n],"colspan",s[o][n].colSpan-i+1,a)}for(o=0;o<s.length;o+=1){for(r=!(i=1e6),n=0;n<s[o].length;n+=1)if(void 0!==s[o][n]){if(s[o][n].rowSpan<2){r=!0;break}i=Math.min(i,s[o][n].rowSpan)}if(!r)for(n=0;n<s[o].length;n+=1)void 0!==s[o][n]&&e.__mark(s[o][n],"rowspan",s[o][n].rowSpan-i+1,a)}for(o=0;o<s.length;o+=1)for(n=0;n<s[o].length;n+=1)void 0!==s[o][n]&&(s[o][n].hasAttribute("rowspan")&&1===s[o][n].rowSpan&&s[o][n].removeAttribute("rowspan"),s[o][n].hasAttribute("colspan")&&1===s[o][n].colSpan&&s[o][n].removeAttribute("colspan"),s[o][n].hasAttribute("class")&&!s[o][n].getAttribute("class")&&s[o][n].removeAttribute("class"));e.__unmark(a)},e.mergeSelected=function(t){var o,a=[],s=e.getSelectedBound(t,e.getAllSelectedCells(t)),l=0,c=null,d=0,p=0,u=0,f=[];s&&(s[0][0]-s[1][0]||s[0][1]-s[1][1])&&(e.formalMatrix(t,function(t,n,i,h,g){if(!(n<s[0][0]||s[1][0]<n||i<s[0][1]||s[1][1]<i)){if((o=t).__i_am_already_was)return;o.__i_am_already_was=!0,n===s[0][0]&&o.style.width&&(l+=o.offsetWidth),""!==r.trim(t.innerHTML.replace(/<br(\/)?>/g,""))&&a.push(t.innerHTML),1<h&&(p+=h-1),1<g&&(u+=g-1),c?e.__mark(o,"remove",1,f):(c=t,d=i)}}),p=s[1][1]-s[0][1]+1,u=s[1][0]-s[0][0]+1,c&&(1<p&&e.__mark(c,"colspan",p,f),1<u&&e.__mark(c,"rowspan",u,f),l&&(e.__mark(c,"width",(l/t.offsetWidth*100).toFixed(n.ACCURACY)+"%",f),d&&e.setColumnWidthByDelta(t,d,0,!0,f)),c.innerHTML=a.join("<br/>"),delete c.__i_am_already_was,e.__unmark(f),e.normalizeTable(t),r.each(Array.from(t.rows),function(e,t){t.cells.length||i.Dom.safeRemove(t)})))},e.splitHorizontal=function(t){var o,n,r,a,s,l=[],c=t.ownerDocument||document;e.getAllSelectedCells(t).forEach(function(d){(n=c.createElement("td")).appendChild(c.createElement("br")),r=c.createElement("tr"),o=e.formalCoordinate(t,d),d.rowSpan<2?(e.formalMatrix(t,function(t,n,i){o[0]===n&&o[1]!==i&&t!==d&&e.__mark(t,"rowspan",t.rowSpan+1,l)}),i.Dom.after(i.Dom.closest(d,"tr",t),r),r.appendChild(n)):(e.__mark(d,"rowspan",d.rowSpan-1,l),e.formalMatrix(t,function(e,n,i){o[0]<n&&n<o[0]+d.rowSpan&&i<o[1]&&e.parentNode.rowIndex===n&&(s=e),o[0]<n&&e===d&&(a=t.rows[n])}),s?i.Dom.after(s,n):a.insertBefore(n,a.firstChild)),1<d.colSpan&&e.__mark(n,"colspan",d.colSpan,l),e.__unmark(l),e.restoreSelection(d)}),this.normalizeTable(t)},e.splitVertical=function(t){var o,r,a,s=[],l=t.ownerDocument||document;e.getAllSelectedCells(t).forEach(function(c){o=e.formalCoordinate(t,c),c.colSpan<2?e.formalMatrix(t,function(t,n,i){o[1]===i&&o[0]!==n&&t!==c&&e.__mark(t,"colspan",t.colSpan+1,s)}):e.__mark(c,"colspan",c.colSpan-1,s),(r=l.createElement("td")).appendChild(l.createElement("br")),1<c.rowSpan&&e.__mark(r,"rowspan",c.rowSpan,s);var d=c.offsetWidth;i.Dom.after(c,r),e.__mark(c,"width",(100*(a=d/t.offsetWidth/2)).toFixed(n.ACCURACY)+"%",s),e.__mark(r,"width",(100*a).toFixed(n.ACCURACY)+"%",s),e.__unmark(s),e.restoreSelection(c)}),e.normalizeTable(t)},e.setColumnWidthByDelta=function(t,o,i,r,a){var s,l=e.formalMatrix(t);for(s=0;s<l.length;s+=1)e.__mark(l[s][o],"width",((l[s][o].offsetWidth+i)/t.offsetWidth*100).toFixed(n.ACCURACY)+"%",a);r||e.__unmark(a)},e.__mark=function(e,t,o,n){n.push(e),e.__marked_value||(e.__marked_value={}),e.__marked_value[t]=void 0===o?1:o},e.__unmark=function(e){e.forEach(function(e){e.__marked_value&&(r.each(e.__marked_value,function(t,o){switch(t){case"remove":i.Dom.safeRemove(e);break;case"rowspan":1<o?e.setAttribute("rowspan",""+o):e.removeAttribute("rowspan");break;case"colspan":1<o?e.setAttribute("colspan",""+o):e.removeAttribute("colspan");break;case"width":e.style.width=""+o}delete e.__marked_value[t]}),delete e.__marked_value)})},e}();t.Table=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16);t.JoditObject=function(e){n.extend(!0,this,e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16),i=function(){function e(e){var t=this;n.extend(!(this.length=0),this,e),this.length=e.length;var o=Array.prototype;["map","forEach","reduce","push","pop","shift","unshift","slice","splice"].forEach(function(e){t[e]=o[e]})}return e.prototype.toString=function(){for(var e=[],t=0;t<this.length;t+=1)e[t]=this[t];return""+e},e}();t.JoditArray=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},i=n.toString;t.hasOwn=n.hasOwnProperty,["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error","Symbol","HTMLDocument","Window","HTMLElement","HTMLBodyElement","Text","DocumentFragment","DOMStringList","HTMLCollection"].forEach(function(e){n["[object "+e+"]"]=e.toLowerCase()}),t.type=function(e){return null===e?"null":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2);t.trim=function(e){return e.replace(n.SPACE_REG_EXP_START,"").replace(n.SPACE_REG_EXP_END,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),i=function(){function e(e){this.provider=e,this.prefix="Jodit_"}return e.prototype.set=function(e,t){this.provider.set(n.camelCase(this.prefix+e),t)},e.prototype.get=function(e){return this.provider.get(n.camelCase(this.prefix+e))},e}();t.Storage=i},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(4),s=o(111),l=o(26),c=o(114),d=o(0),p=o(7),u=o(1),f=function(e){function t(t){var o=e.call(this,t)||this;return o.__buttons=[],o.__getControlType=function(e){var t,n=o.jodit.options.controls||u.Config.defaultOptions.controls;if("string"!=typeof e)void 0!==n[(t=r({name:"empty"},e)).name]&&(t=r({},n[t.name],t));else{var i=e.split(/\./),a=n;1<i.length&&void 0!==n[i[0]]&&(a=n[i[0]],e=i[1]),t=void 0!==a[e]?r({name:e},a[e]):{name:e,command:e,tooltip:e}}return t},o.closeAll=function(){o.jodit&&o.jodit.events&&o.jodit.events.fire("closeAllPopups")},o.initEvents=function(){o.jodit.events.on(o.jodit.ownerWindow,"mousedown touchend",o.closeAll).on(o.listenEvents,o.checkActiveButtons).on("afterSetMode focus",o.immedateCheckActiveButtons)},o.listenEvents="changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart",o.immedateCheckActiveButtons=function(){o.isDestructed||o.jodit.isLocked()||(o.__buttons.filter(function(e){return e instanceof l.ToolbarButton}).forEach(function(e){e.disable=e.isDisable(),e.disable||(e.active=e.isActive()),"function"==typeof e.control.getLabel&&e.control.getLabel(o.jodit,e.control,e)}),o.jodit.events&&o.jodit.events.fire("updateToolbar"))},o.checkActiveButtons=a.debounce(o.immedateCheckActiveButtons,o.jodit.defaultTimeout),o.container=o.jodit.create.element("ul"),o.container.classList.add("jodit_toolbar"),o.initEvents(),o}return i(t,e),t.prototype.getButtonsList=function(){return this.__buttons.map(function(e){return e instanceof l.ToolbarButton?e.control.name:""}).filter(function(e){return""!==e})},t.prototype.appendChild=function(e){this.__buttons.push(e),this.container.appendChild(e.container)},t.prototype.removeChild=function(e){var t=this.__buttons.indexOf(e);-1!==t&&(this.__buttons.splice(t,1),e.container.parentNode===this.container&&d.Dom.safeRemove(e.container))},t.prototype.build=function(e,t,o){var n=this,i=!1;this.clear(),("string"==typeof e?e.split(/[,\s]+/):e).map(this.__getControlType).forEach(function(e){var t=null;if(-1==n.jodit.options.removeButtons.indexOf(e.name)){switch(e.name){case"\n":t=new s.ToolbarBreak(n);break;case"|":i||(i=!0,t=new c.ToolbarSeparator(n));break;default:i=!1,t=new l.ToolbarButton(n,e,o)}t&&n.appendChild(t)}}),this.container.parentNode!==t&&t.appendChild(this.container),this.immedateCheckActiveButtons()},t.prototype.clear=function(){var e=this;this.__buttons.slice().forEach(function(t){e.removeChild(t),t.destruct()}),this.__buttons.length=0},t.prototype.buttonIsActive=function(e){if("function"==typeof e.control.isActive)return e.control.isActive(this.jodit,e.control,e)},t.prototype.buttonIsDisabled=function(e){return!!this.jodit.options.disabled||!(!this.jodit.options.readonly||this.jodit.options.activeButtonsInReadOnly&&-1!=this.jodit.options.activeButtonsInReadOnly.indexOf(e.control.name))||("function"==typeof e.control.isDisable&&(t=e.control.isDisable(this.jodit,e.control,e)),t);var t},t.prototype.getTarget=function(e){return e.target},t.prototype.setDirection=function(e){this.container.style.direction=e,this.container.setAttribute("dir",e)},t.prototype.destruct=function(){this.isDestructed||(this.jodit.events.off(this.jodit.ownerWindow,"mousedown touchstart",this.closeAll).off(this.listenEvents,this.checkActiveButtons).off("afterSetMode focus",this.immedateCheckActiveButtons),this.clear(),d.Dom.safeRemove(this.container),delete this.container,e.prototype.destruct.call(this))},t}(p.Component);t.ToolbarCollection=f},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3);n.Config.prototype.defaultAjaxOptions={dataType:"json",method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!0,xhr:function(){return new("undefined"==typeof XDomainRequest?XMLHttpRequest:XDomainRequest)}};var r=function(){function e(e,t){var o=this;this.success_response_codes=[200,201,202],this.jodit=e,this.options=i.extend(!0,{},n.Config.prototype.defaultAjaxOptions,t),this.options.xhr&&(this.xhr=this.options.xhr()),e&&e.events&&e.events.on("beforeDestruct",function(){o.abort()})}return e.prototype.__buildParams=function(e,t){if(this.options.queryBuild&&"function"==typeof this.options.queryBuild)return this.options.queryBuild.call(this,e,t);if("string"==typeof e||this.jodit.ownerWindow.FormData&&e instanceof this.jodit.ownerWindow.FormData)return e;var o,n,i,r=[];for(o in e)e.hasOwnProperty(o)&&(n=t?t+"["+o+"]":o,r.push("object"==typeof(i=e[o])?this.__buildParams(i,n):encodeURIComponent(n)+"="+encodeURIComponent(i)));return r.join("&")},e.prototype.abort=function(){try{this.xhr.abort()}catch(e){}return this},e.prototype.send=function(){var e=this;return new Promise(function(t,o){var n=function(t){var o=null;switch(e.options.dataType){case"json":o=JSON.parse(t)}if(!o)throw Error("No JSON format");return o};if(e.xhr.onabort=function(){o(Error(e.xhr.statusText))},e.xhr.onerror=function(){o(Error(e.xhr.statusText))},e.xhr.ontimeout=function(){o(Error(e.xhr.statusText))},e.xhr.onload=function(){e.response=e.xhr.responseText,e.status=e.xhr.status,t.call(e.xhr,n(e.response)||{})},e.xhr.onreadystatechange=function(){if(e.xhr.readyState===XMLHttpRequest.DONE){var i=e.xhr.responseText;e.response=i,e.status=e.xhr.status,-1<e.success_response_codes.indexOf(e.xhr.status)?t.call(e.xhr,n(i)):o.call(e.xhr,Error(e.xhr.statusText||e.jodit.i18n("Connection error!")))}},e.xhr.withCredentials=e.options.withCredentials||!1,!e.options.url)throw Error("Need URL for AJAX request");e.xhr.open(e.options.method||"get",e.options.url,!0),e.options.contentType&&e.xhr.setRequestHeader&&e.xhr.setRequestHeader("Content-type",e.options.contentType),e.options.headers&&e.xhr.setRequestHeader&&i.each(e.options.headers,function(t,o){e.xhr.setRequestHeader(t,o)}),setTimeout(function(){e.xhr.send(e.options.data?e.__buildParams(e.options.data):void 0)},0)})},e}();t.Ajax=r},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(8),s=o(5),l=o(0),c=function(e){function t(t){var o=e.call(this,t)||this;return o.hide=function(){o.context.classList.remove("jodit_context_menu-show"),o.jodit.ownerWindow.removeEventListener("mouseup",o.hide)},o.context=t.create.div("jodit_context_menu",{"data-editor_id":o.jodit.id}),t.ownerDocument.body.appendChild(o.context),o}return i(t,e),t.prototype.show=function(e,t,o,n){var i=this,r=this;Array.isArray(o)&&(n&&(this.context.style.zIndex=""+n),this.context.innerHTML="",o.forEach(function(e){if(e){var t=i.jodit.create.fromHTML('<a href="javascript:void(0)">'+(e.icon?s.ToolbarIcon.getIcon(e.icon):"")+"<span></span></a>"),o=t.querySelector("span");t.addEventListener("click",function(t){return e.exec&&e.exec.call(r,t),r.hide(),!1}),o.innerText=r.jodit.i18n(e.title||""),r.context.appendChild(t)}}),a.css(r.context,{left:e,top:t}),this.jodit.events.on(this.jodit.ownerWindow,"mouseup",r.hide),this.context.classList.add("jodit_context_menu-show"))},t.prototype.destruct=function(){l.Dom.safeRemove(this.context),delete this.context,this.jodit.events.off(this.jodit.ownerWindow,"mouseup",this.hide),e.prototype.destruct.call(this)},t}(r.Component);t.ContextMenu=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=function(e){return Array.isArray(e)?e:[e]}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(15);t.debounce=function(e,t,o,i){3===arguments.length&&"boolean"!=typeof o&&(i=o,o=!1);var r=0;return function(){var a=arguments,s=i||this;(o&&!r||!t)&&e.apply(s,a),t&&(clearTimeout(r),r=n.setTimeout(function(){o||e.apply(s,a),r=0},t))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=function(e){return null!==e&&e===e.window}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(78)),n(o(79)),n(o(80)),n(o(81)),n(o(22)),n(o(21)),n(o(41)),n(o(39)),n(o(82))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=function(e){return/^(https?:\/\/)((([a-z\d]([a-z\d-]*[a-z\d])*)\.?)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/i.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=function(e){if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t,o,n,i=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!i)return"#000000";for(o=parseInt(i[2],10),n=parseInt(i[3],10),t=(parseInt(i[4],10)|n<<8|o<<16).toString(16).toUpperCase();t.length<6;)t="0"+t;return i[1]+"#"+t}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(85)),n(o(86)),n(o(88)),n(o(89)),n(o(90))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=function(e){return e.replace(/([-_])(.)/g,function(e,t,o){return o.toUpperCase()})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCamelCase=function(e){return e.replace(/([A-Z]+)/g,function(e,t){return"-"+t.toLowerCase()})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeURL=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(22);t.normilizeCSSValue=function(e,t){switch(e.toLowerCase()){case"font-weight":switch((""+t).toLowerCase()){case"bold":return 700;case"normal":return 400;case"heavy":return 900}return n.isNumeric(t)?+t:t}return t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(49);t.appendScript=function(e,t,o,i){void 0===o&&(o="");var r=i.createElement("script");return r.className=o,r.type="text/javascript",void 0!==t&&r.addEventListener("load",t),r.src=n.completeUrl(e),i.body.appendChild(r),{callback:t,element:r}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeUrl=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuery=function(e){for(var t,o={},n=e.substr(1).split("&"),i=0;i<n.length;i+=1)t=n[i].split("="),o[decodeURIComponent(t[0])]=decodeURIComponent(t[1]||"");return o}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ctrlKey=function(e){if("undefined"!=typeof navigator&&-1!=navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLanguage=function(e){return"auto"===e||void 0===e?document.documentElement&&document.documentElement.lang||navigator.language&&navigator.language.substr(0,2)||!!navigator.browserLanguage&&navigator.browserLanguage.substr(0,2)||"en":e}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(7),s=o(4),l=o(54),c=o(55),d=o(107);r.Config.prototype.observer={timeout:100};var p=function(e){function t(t){var o=e.call(this,t)||this;o.onChangeStack=function(){o.__newValue=o.snapshot.make(),l.Snapshot.equal(o.__newValue,o.__startValue)||(o.stack.push(new d.Command(o.__startValue,o.__newValue,o)),o.__startValue=o.__newValue,o.changeStack())},o.stack=new c.Stack,o.snapshot=new l.Snapshot(t);var n=s.debounce(o.onChangeStack,t.defaultTimeout);return t.events.on("afterInit.observer",function(){o.isDestructed||(o.__startValue=o.snapshot.make(),t.events.on("changeSelection.observer selectionstart.observer selectionchange.observer mousedown.observer mouseup.observer keydown.observer keyup.observer",function(){o.__startValue.html===o.jodit.getNativeEditorValue()&&(o.__startValue=o.snapshot.make())}).on("change.observer",function(){o.snapshot.isBlocked||n()}))}),o}return i(t,e),t.prototype.redo=function(){this.stack.redo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},t.prototype.undo=function(){this.stack.undo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},t.prototype.clear=function(){this.__startValue=this.snapshot.make(),this.stack.clear(),this.changeStack()},t.prototype.changeStack=function(){this.jodit&&!this.jodit.isDestructed&&this.jodit.events&&this.jodit.events.fire("changeStack")},t.prototype.destruct=function(){this.jodit.events&&this.jodit.events.off(".observer"),this.snapshot.destruct(),delete this.snapshot,delete this.stack,e.prototype.destruct.call(this)},t}(a.Component);t.Observer=p},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(0),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isBlocked=!1,t}return i(t,e),t.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},t.countNodesBeforeInParent=function(e){if(!e.parentNode)return 0;var t,o=e.parentNode.childNodes,n=0,i=null;for(t=0;t<o.length;t+=1){if(!i||o[t].nodeType===Node.TEXT_NODE&&""===o[t].textContent||i.nodeType===Node.TEXT_NODE&&o[t].nodeType===Node.TEXT_NODE||(n+=1),o[t]===e)return n;i=o[t]}return 0},t.strokeOffset=function(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;)(e=e.previousSibling)&&e.nodeType===Node.TEXT_NODE&&null!==e.textContent&&(t+=e.textContent.length);return t},t.prototype.calcHierarchyLadder=function(e){var o=[];if(!e||!e.parentNode||!a.Dom.isOrContains(this.jodit.editor,e))return[];for(;e&&e!==this.jodit.editor;)e&&o.push(t.countNodesBeforeInParent(e)),e=e.parentNode;return o.reverse()},t.prototype.getElementByLadder=function(e){var t,o=this.jodit.editor;for(t=0;o&&t<e.length;t+=1)o=o.childNodes[e[t]];return o},t.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.jodit.getNativeEditorValue();var o=this.jodit.editorWindow.getSelection();if(o&&o.rangeCount){var n=o.getRangeAt(0),i=this.calcHierarchyLadder(n.startContainer),r=this.calcHierarchyLadder(n.endContainer),a=t.strokeOffset(n.startContainer,n.startOffset),s=t.strokeOffset(n.endContainer,n.endOffset);i.length||n.startContainer===this.jodit.editor||(a=0),r.length||n.endContainer===this.jodit.editor||(s=0),e.range={startContainer:i,startOffset:a,endContainer:r,endOffset:s}}return e},t.prototype.restore=function(e){this.isBlocked=!0,this.jodit.setEditorValue(e.html);try{if(e.range){var t=this.jodit.editorDocument.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.jodit.selection.selectRange(t)}}catch(e){}this.isBlocked=!1},t.prototype.destruct=function(){this.isBlocked=!1,e.prototype.destruct.call(this)},t}(r.Component);t.Snapshot=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.commands=[],this.stackPosition=-1}return e.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},e.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},e.prototype.push=function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1},e.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},e.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},e.prototype.canUndo=function(){return 0<=this.stackPosition},e.prototype.canRedo=function(){return this.stackPosition<this.commands.length-1},e}();t.Stack=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(2),r=o(0),a=o(8),s=o(17),l=o(9),c=o(40),d=o(24),p=o(10),u=function(){function e(e){var t=this;this.jodit=e,this.isMarker=function(e){return r.Dom.isNode(e,t.win)&&e.nodeType===Node.ELEMENT_NODE&&"SPAN"===e.nodeName&&e.hasAttribute("data-"+n.MARKER_CLASS)},this.focus=function(){if(t.isFocused())return!1;t.jodit.iframe&&"complete"==t.doc.readyState&&t.jodit.iframe.focus(),t.win.focus(),t.area.focus();var e=t.sel,o=t.createRange();return e.rangeCount&&t.current()||(o.setStart(t.area,0),o.collapse(!0),e.removeAllRanges(),e.addRange(o)),!0},this.eachSelection=function(e){var o=t.sel;if(o.rangeCount){var n=o.getRangeAt(0),a=[],s=n.startOffset,l=t.area.childNodes.length,c=n.startContainer===t.area?t.area.childNodes[s<l?s:l-1]:n.startContainer,d=n.endContainer===t.area?t.area.childNodes[n.endOffset-1]:n.endContainer;r.Dom.find(c,function(e){return!e||e===t.area||r.Dom.isEmptyTextNode(e)||t.isMarker(e)||a.push(e),e===d},t.area,!0,"nextSibling",!1);var p=function(o){if(o.nodeName.match(/^(UL|OL)$/))return[].slice.call(o.childNodes).forEach(p);if("LI"===o.nodeName)if(o.firstChild)o=o.firstChild;else{var n=t.jodit.create.inside.text(i.INVISIBLE_SPACE);o.appendChild(n),o=n}e(o)};0===a.length&&r.Dom.isEmptyTextNode(c)&&a.push(c),a.forEach(p)}}}return Object.defineProperty(e.prototype,"area",{get:function(){return this.jodit.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"win",{get:function(){return this.jodit.editorWindow},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"doc",{get:function(){return this.jodit.editorDocument},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sel",{get:function(){return this.win.getSelection()},enumerable:!0,configurable:!0}),e.prototype.createRange=function(){return this.doc.createRange()},e.prototype.remove=function(){var e=this.sel;if(this.current())for(var t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)},e.prototype.insertCursorAtPoint=function(e,t){this.removeMarkers();try{var o=this.createRange();if(this.doc.caretPositionFromPoint){var n=this.doc.caretPositionFromPoint(e,t);o.setStart(n.offsetNode,n.offset)}else this.doc.caretRangeFromPoint&&(n=this.doc.caretRangeFromPoint(e,t),o.setStart(n.startContainer,n.startOffset));if(o){o.collapse(!0);var i=this.sel;i.removeAllRanges(),i.addRange(o)}else if(void 0!==this.doc.body.createTextRange){var r=this.doc.body.createTextRange();r.moveToPoint(e,t);var a=r.duplicate();a.moveToPoint(e,t),r.setEndPoint("EndToEnd",a),r.select()}return!0}catch(e){}return!1},e.prototype.removeMarkers=function(){l.$$("span[data-"+n.MARKER_CLASS+"]",this.area).forEach(r.Dom.safeRemove)},e.prototype.marker=function(e,t){void 0===e&&(e=!1);var o=null;t&&(o=t.cloneRange()).collapse(e);var i=this.jodit.create.inside.span();return i.id=n.MARKER_CLASS+"_"+ +new Date+"_"+(""+Math.random()).slice(2),i.style.lineHeight="0",i.style.display="none",i.setAttribute("data-"+n.MARKER_CLASS,e?"start":"end"),i.appendChild(this.jodit.create.inside.text(n.INVISIBLE_SPACE)),o&&r.Dom.isOrContains(this.area,e?o.startContainer:o.endContainer)&&o.insertNode(i),i},e.prototype.restore=function(e){var t=this;if(void 0===e&&(e=[]),Array.isArray(e)){var o=this.sel;o.removeAllRanges(),e.forEach(function(e){var n=t.createRange(),i=t.area.querySelector("#"+e.endId),a=t.area.querySelector("#"+e.startId);if(a){if(e.collapsed||!i){var s=a.previousSibling;s&&s.nodeType===Node.TEXT_NODE?n.setStart(s,s.nodeValue?s.nodeValue.length:0):n.setStartBefore(a),r.Dom.safeRemove(a),n.collapse(!0)}else n.setStartAfter(a),r.Dom.safeRemove(a),n.setEndBefore(i),r.Dom.safeRemove(i);o.addRange(n)}})}},e.prototype.save=function(){var e=this.sel;if(!e.rangeCount)return[];var t,o,n,i=[],r=e.rangeCount,a=[];for(t=0;t<r;t+=1)a[t]=e.getRangeAt(t),i[t]=a[t].collapsed?{startId:(o=this.marker(!0,a[t])).id,collapsed:!0,startMarker:o.outerHTML}:(o=this.marker(!0,a[t]),n=this.marker(!1,a[t]),{startId:o.id,endId:n.id,collapsed:!1,startMarker:o.outerHTML,endMarker:n.outerHTML});for(e.removeAllRanges(),t=r-1;0<=t;--t){var s=this.doc.getElementById(i[t].startId);if(s)if(i[t].collapsed)a[t].setStartAfter(s),a[t].collapse(!0);else if(a[t].setStartBefore(s),i[t].endId){var l=this.doc.getElementById(i[t].endId);l&&a[t].setEndAfter(l)}try{e.addRange(a[t].cloneRange())}catch(e){}}return i},e.prototype.isCollapsed=function(){for(var e=this.sel,t=0;t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0},e.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},e.prototype.current=function(e){if(void 0===e&&(e=!0),this.jodit.getRealMode()===n.MODE_WYSIWYG){var t=this.sel;if(t&&0<t.rangeCount){var o=t.getRangeAt(0),i=o.startContainer,a=!1,s=function(e){return a?e.lastChild:e.firstChild};if(i.nodeType!==Node.TEXT_NODE){if((i=o.startContainer.childNodes[o.startOffset])||(i=o.startContainer.childNodes[o.startOffset-1],a=!0),i&&t.isCollapsed&&i.nodeType!==Node.TEXT_NODE)if(!a&&i.previousSibling&&i.previousSibling.nodeType===Node.TEXT_NODE)i=i.previousSibling;else if(e)for(var l=s(i);l;){if(l&&l.nodeType===Node.TEXT_NODE){i=l;break}l=s(l)}if(i&&!t.isCollapsed&&i.nodeType!==Node.TEXT_NODE){for(var c=i,d=i;d=d.lastChild,(c=c.firstChild)&&d&&c.nodeType!==Node.TEXT_NODE;);c===d&&c&&c.nodeType===Node.TEXT_NODE&&(i=c)}}if(i&&r.Dom.isOrContains(this.area,i))return i}}return!1},e.prototype.insertNode=function(e,t,o){if(void 0===t&&(t=!0),void 0===o&&(o=!0),!r.Dom.isNode(e,this.win))throw Error("Parameter node most be instance of Node");this.focus();var n=this.sel;if(this.isCollapsed()||this.jodit.execCommand("Delete"),n.rangeCount){var i=n.getRangeAt(0);r.Dom.isOrContains(this.area,i.commonAncestorContainer)?(i.deleteContents(),i.insertNode(e)):this.area.appendChild(e)}else this.area.appendChild(e);t&&this.setCursorAfter(e),o&&this.jodit.events&&this.jodit.events.fire("synchro"),this.jodit.events&&this.jodit.events.fire("afterInsertNode",e)},e.prototype.insertHTML=function(e){if(""!==e){var t,o,n=this.jodit.create.inside.div(),i=this.jodit.create.inside.fragment();if(!this.isFocused()&&this.jodit.isEditorMode()&&this.focus(),e instanceof this.win.Node?r.Dom.isNode(e,this.win)&&n.appendChild(e):n.innerHTML=""+e,this.jodit.isEditorMode()||!1!==this.jodit.events.fire("insertHTML",n.innerHTML)){for(t=n.lastChild;n.firstChild;)i.appendChild(t=n.firstChild);for(this.insertNode(i,!1),t?this.setCursorAfter(t):this.setCursorIn(i),o=this.area.lastChild;o&&o.nodeType===Node.TEXT_NODE&&o.previousSibling&&o.nodeValue&&/^\s*$/.test(o.nodeValue);)o=o.previousSibling;t&&(o&&t===o&&t.nodeType===Node.ELEMENT_NODE&&this.area.appendChild(this.jodit.create.inside.element("br")),this.setCursorAfter(t))}}},e.prototype.insertImage=function(e,t,o){var n="string"==typeof e?this.jodit.create.inside.element("img"):e;if("string"==typeof e&&n.setAttribute("src",e),null!==o){var i=""+o;i&&"auto"!==i&&(i+"").indexOf("px")<0&&(i+"").indexOf("%")<0&&(i+="px"),a.css(n,"width",i)}t&&"object"==typeof t&&a.css(n,t);var r=function(){(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",r)};n.addEventListener("load",r),n.complete&&r();var s=this.insertNode(n);return this.jodit.events.fire("afterInsertImage",n),s},e.prototype.setCursorAfter=function(e){var t=this;if(!(e instanceof this.win.Node))throw Error("Parameter node most be instance of Node");if(!r.Dom.up(e,function(e){return e===t.area||e&&e.parentNode===t.area},this.area))throw Error("Node element must be in editor");var o=this.createRange(),i=!1;return e.nodeType!==Node.TEXT_NODE?(i=this.doc.createTextNode(n.INVISIBLE_SPACE),o.setStartAfter(e),o.insertNode(i),o.selectNode(i)):o.setEnd(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!1),this.selectRange(o),i},e.prototype.cursorInTheEdge=function(e,t){var o=this.sel,n=o.rangeCount?o.getRangeAt(0):null;if(!n)return null;var a=e?n.startContainer:n.endContainer,s=function(o){for(;o;)if(n=o,(o=e?r.Dom.prev(n,function(e){return!!e},t):r.Dom.next(n,function(e){return!!e},t))&&!r.Dom.isEmptyTextNode(o)&&"BR"!==o.nodeName)return!1;var n};if(a.nodeType===Node.TEXT_NODE){var l=a.nodeValue||"";if(e&&n.startOffset>l.length-l.replace(i.INVISIBLE_SPACE_REG_EXP_START,"").length)return!1;if(!e&&n.startOffset<l.replace(i.INVISIBLE_SPACE_REG_EXP_END,"").length)return!1;if(!1===s(a))return!1}var c=this.current(!1);return c&&r.Dom.isOrContains(t,c,!0)?!(!e&&n.startContainer.childNodes[n.startOffset]&&c&&!r.Dom.isEmptyTextNode(c))&&!1!==s(c):null},e.prototype.setCursorBefore=function(e){var t=this;if(!(e instanceof this.win.Node))throw Error("Parameter node most be instance of Node");if(!r.Dom.up(e,function(e){return e===t.area||e&&e.parentNode===t.area},this.area))throw Error("Node element must be in editor");var o=this.createRange(),i=!1;return e.nodeType!==Node.TEXT_NODE?(i=this.doc.createTextNode(n.INVISIBLE_SPACE),o.setStartBefore(e),o.collapse(!0),o.insertNode(i),o.selectNode(i)):o.setStart(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!0),this.selectRange(o),i},e.prototype.setCursorIn=function(e,t){var o=this;if(void 0===t&&(t=!1),!(e instanceof this.win.Node))throw Error("Parameter node most be instance of Node");if(!r.Dom.up(e,function(e){return e===o.area||e&&e.parentNode===o.area},this.area))throw Error("Node element must be in editor");var i=this.createRange(),a=e,s=e;do{if(a.nodeType===Node.TEXT_NODE)break;s=a,a=t?a.firstChild:a.lastChild}while(a);if(!a){var l=this.doc.createTextNode(n.INVISIBLE_SPACE);/^(img|br|input)$/i.test(s.nodeName)?a=s:(s.appendChild(l),s=l)}return i.selectNodeContents(a||s),i.collapse(t),this.selectRange(i),s},e.prototype.selectRange=function(e){var t=this.sel;t.removeAllRanges(),t.addRange(e),this.jodit.events.fire("changeSelection")},e.prototype.select=function(e,t){var o=this;if(void 0===t&&(t=!1),!r.Dom.isNode(e,this.win))throw Error("Parameter node most be instance of Node");if(!r.Dom.up(e,function(e){return e===o.area||e&&e.parentNode===o.area},this.area))throw Error("Node element must be in editor");var n=this.createRange();n[t?"selectNodeContents":"selectNode"](e),this.selectRange(n)},e.prototype.getHTML=function(){var e=this.sel;if(0<e.rangeCount){var t=e.getRangeAt(0).cloneContents(),o=this.jodit.create.inside.div();return o.appendChild(t),o.innerHTML}return""},e.prototype.applyCSS=function(e,t,o){var i=this;void 0===t&&(t="span");var u,f="SPAN",h=function(e){return null!==e&&!r.Dom.isEmptyTextNode(e)&&!i.isMarker(e)},g=function(e){return!!e&&(RegExp("^"+e.nodeName+"$","i").test(t)||!(!o||"FONT"===(n=e).nodeName||n.nodeType!==Node.ELEMENT_NODE||!(c.isPlainObject(o)&&d.each(o,function(e,t){var o=a.css(n,e,void 0,!0);return null!==o&&""!==o&&-1!=t.indexOf((""+o).toLowerCase())})||"function"==typeof o&&o(i.jodit,n))))&&h(e);var n},m=function(t){g(t)&&(t.nodeName===f&&e&&Object.keys(e).forEach(function(o){0===u||a.css(t,o)===s.normilizeCSSValue(o,e[o])?(a.css(t,o,""),void 0===u&&(u=0)):(a.css(t,o,e[o]),void 0===u&&(u=1))}),r.Dom.isBlock(t,i.win)||t.getAttribute("style")&&t.nodeName===f||(r.Dom.unwrap(t),void 0===u&&(u=0)))};if(this.isCollapsed()){var v=!1;if(this.current()&&r.Dom.closest(this.current(),t,this.area)){v=!0;var b=r.Dom.closest(this.current(),t,this.area);b&&this.setCursorAfter(b)}if(t.toUpperCase()===f||!v){var y=this.jodit.create.inside.element(t);y.appendChild(this.jodit.create.inside.text(n.INVISIBLE_SPACE)),this.insertNode(y,!1,!1),t.toUpperCase()===f&&e&&a.css(y,e),this.setCursorIn(y)}}else{var _=this.save();s.normalizeNode(this.area.firstChild),l.$$("*[style*=font-size]",this.area).forEach(function(e){e.style&&e.style.fontSize&&e.setAttribute("data-font-size",""+e.style.fontSize)}),this.doc.execCommand("fontsize",!1,"7"),l.$$("*[data-font-size]",this.area).forEach(function(e){e.style&&e.getAttribute("data-font-size")&&(e.style.fontSize=e.getAttribute("data-font-size"),e.removeAttribute("data-font-size"))}),l.$$('font[size="7"]',this.area).forEach(function(o){if(r.Dom.next(o,h,o.parentNode)||r.Dom.prev(o,h,o.parentNode)||!g(o.parentNode)||o.parentNode===i.area||r.Dom.isBlock(o.parentNode,i.win)&&!n.IS_BLOCK.test(t))if(o.firstChild&&!r.Dom.next(o.firstChild,h,o)&&!r.Dom.prev(o.firstChild,h,o)&&g(o.firstChild))m(o.firstChild);else if(r.Dom.closest(o,g,i.area)){var s=i.createRange(),l=r.Dom.closest(o,g,i.area);s.setStartBefore(l),s.setEndBefore(o);var c=s.extractContents();c.textContent&&p.trim(c.textContent).length||!c.firstChild||r.Dom.unwrap(c.firstChild),l.parentNode&&l.parentNode.insertBefore(c,l),s.setStartAfter(o),s.setEndAfter(l);var d=s.extractContents();d.textContent&&p.trim(d.textContent).length||!d.firstChild||r.Dom.unwrap(d.firstChild),r.Dom.after(l,d),m(l)}else{var v,b=[];o.firstChild&&r.Dom.find(o.firstChild,function(e){return e&&g(e)?(void 0===v&&(v=!0),b.push(e)):void 0===v&&(v=!1),!1},o,!0),b.forEach(r.Dom.unwrap),v||(void 0===u&&(u=1),1===u&&a.css(r.Dom.replace(o,t,!1,!1,i.doc),e&&t.toUpperCase()===f?e:{}))}else m(o.parentNode);o.parentNode&&r.Dom.unwrap(o)}),this.restore(_)}},e}();t.Select=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.set=function(e,t){localStorage.setItem(e,""+t)},e.prototype.get=function(e){return localStorage.getItem(e)},e}();t.LocalStorageProvider=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.toolbar=a.JoditToolbarCollection.makeCollection(t),t}return i(t,e),t.prototype.destruct=function(){this.toolbar.destruct(),delete this.toolbar,e.prototype.destruct.call(this)},t}(o(59).View);t.ViewWithToolbar=r;var a=o(18)},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(60),s=function(e){function t(t,o){var n=e.call(this,t)||this;return n.version="3.2.44",n.__modulesInstances={},n.progress_bar=n.create.div("jodit_progress_bar",n.create.div()),n.options={removeButtons:[],zIndex:100002,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullsize:!0},n.components=[],n.getVersion=function(){return n.version},n.id=t&&t.id?t.id:""+(new Date).getTime(),n.jodit=t||n,n.events=t&&t.events?t.events:new a.EventsNative(n.ownerDocument),n.buffer=t&&t.buffer?t.buffer:{},n.options=r({},n.options,o),n}return i(t,e),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return 100},enumerable:!0,configurable:!0}),t.prototype.i18n=function(e){return this.jodit&&this.jodit!==this?this.jodit.i18n(e):l.Jodit.prototype.i18n(e)},t.prototype.toggleFullSize=function(t){e.prototype.toggleFullSize.call(this,t),this.events&&this.events.fire("toggleFullSize",t)},t.prototype.getInstance=function(e,t){if("function"!=typeof l.Jodit.modules[e])throw Error("Need real module name");return void 0===this.__modulesInstances[e]&&(this.__modulesInstances[e]=new l.Jodit.modules[e](this.jodit||this,t)),this.__modulesInstances[e]},t.prototype.destruct=function(){this.isDestructed||(this.events&&(this.events.destruct(),delete this.events),delete this.options,e.prototype.destruct.call(this))},t}(o(110).Panel);t.View=s;var l=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(109),i=function(){function e(e){var t=this;this.__key="__JoditEventsNativeNamespaces",this.doc=document,this.__stopped=[],this.prepareEvent=function(e){e.cancelBubble||(e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(function(t){Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:function(){return t.doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.current=[],this.isDestructed=!1,e&&(this.doc=e),this.__key+=(new Date).getTime()}return e.prototype.eachEvent=function(e,t){var o=this;e.split(/[\s,]+/).forEach(function(e){var i=e.split(".");t.call(o,i[0],i[1]||n.defaultNameSpace)})},e.prototype.getStore=function(e){if(void 0===e[this.__key]){var t=new n.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,value:t})}return e[this.__key]},e.prototype.clearStore=function(e){void 0!==e[this.__key]&&delete e[this.__key]},e.prototype.triggerNativeEvent=function(e,t){var o=this.doc.createEvent("HTMLEvents");"string"==typeof t?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(function(e){Object.defineProperty(o,e,{value:t[e],enumerable:!0})}),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},e.prototype.removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(t,1)}},e.prototype.isStopped=function(e){return void 0!==e&&-1!=this.__stopped.indexOf(e)},e.prototype.on=function(e,t,o,n,i){var r=this;void 0===i&&(i=!1);var a="string"==typeof e?this:e,s="string"==typeof t?t:e,l=o;void 0===l&&"function"==typeof t&&(l=t);var c=this.getStore(a);if("string"!=typeof s||""===s)throw Error("Need events names");if("function"!=typeof l)throw Error("Need event handler");if(Array.isArray(a))return a.forEach(function(e){r.on(e,s,l,n)}),this;var d="function"==typeof a.addEventListener,p=this,u=function(e){return l&&l.apply(this,arguments)};return d&&(u=function(e){if(p.prepareEvent(e),l&&!1===l.call(this,e))return e.preventDefault(),e.stopImmediatePropagation(),!1},n&&(u=function(e){p.prepareEvent(e);for(var t=e.target;t&&t!==this;){if(t.matches(n))return Object.defineProperty(e,"target",{value:t,configurable:!0,enumerable:!0}),l&&!1===l.call(t,e)?(e.preventDefault(),!1):void 0;t=t.parentNode}})),this.eachEvent(s,function(e,t){if(""===e)throw Error("Need event name");!1===c.indexOf(e,t,l)&&(c.set(e,t,{event:e,originalCallback:l,syntheticCallback:u},i),d&&a.addEventListener(e,u,!1))}),this},e.prototype.off=function(e,t,o){var i=this,r="string"==typeof e?this:e,a="string"==typeof t?t:e,s=this.getStore(r),l=o;if("string"!=typeof a||!a)return s.namespaces().forEach(function(e){i.off(r,"."+e)}),this.clearStore(r),this;void 0===l&&"function"==typeof t&&(l=t);var c="function"==typeof r.removeEventListener,d=function(e){c&&r.removeEventListener(e.event,e.syntheticCallback,!1)},p=function(e,t){if(""!==e){var o=s.get(e,t);if(o&&o.length)if("function"!=typeof l)o.forEach(d),o.length=0;else{var n=s.indexOf(e,t,l);!1!==n&&(d(o[n]),o.splice(n,1))}}else s.events(t).forEach(function(e){""!==e&&p(e,t)})};return this.eachEvent(a,function(e,t){t===n.defaultNameSpace?s.namespaces().forEach(function(t){p(e,t)}):p(e,t)}),this},e.prototype.stopPropagation=function(e,t){var o=this,i="string"==typeof e?this:e,r="string"==typeof e?e:t;if("string"!=typeof r)throw Error("Need event names");var a=this.getStore(i);this.eachEvent(r,function(e,t){var r=a.get(e,t);r&&o.__stopped.push(r),t===n.defaultNameSpace&&a.namespaces(!0).forEach(function(t){return o.stopPropagation(i,e+"."+t)})})},e.prototype.fire=function(e,t){for(var o=this,i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var a,s=void 0,l="string"==typeof e?this:e,c="string"==typeof e?e:t,d="string"==typeof e?[t].concat(i):i,p="function"==typeof l.dispatchEvent;if(!p&&"string"!=typeof c)throw Error("Need events names");var u=this.getStore(l);return"string"!=typeof c&&p?this.triggerNativeEvent(l,t):this.eachEvent(c,function(e,t){if(p)o.triggerNativeEvent(l,e);else{var i=u.get(e,t);if(i)try{i.every(function(t){return!o.isStopped(i)&&(o.current.push(e),a=t.syntheticCallback.apply(l,d),o.current.pop(),void 0!==a&&(s=a),!0)})}finally{o.removeStop(i)}t!==n.defaultNameSpace||p||u.namespaces().filter(function(e){return e!==t}).forEach(function(t){var n=o.fire.apply(o,[l,e+"."+t].concat(d));void 0!==n&&(s=n)})}}),s},e.prototype.destruct=function(){this.isDestructed&&(this.isDestructed=!0,this.off(this),this.getStore(this).clear(),delete this[this.__key])},e}();t.EventsNative=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(21),i=o(24),r=o(37),a=o(0),s=o(3),l=function(){function e(t,o){this.doc=t,null!==o&&(this.inside=o?new e(o):new e(t,null))}return e.prototype.setDocument=function(e){this.doc=e},e.prototype.element=function(e,t,o){var a=this,l=this.doc.createElement(e.toLowerCase());return t&&(n.isPlainObject(t)?i.each(t,function(e,t){n.isPlainObject(t)&&"style"===e?s.css(l,t):l.setAttribute(e,""+t)}):o=t),o&&r.asArray(o).forEach(function(e){return l.appendChild("string"==typeof e?a.fromHTML(e):e)}),l},e.prototype.div=function(e,t,o){var n=this.element("div",t,o);return e&&(n.className=e),n},e.prototype.span=function(e,t,o){var n=this.element("span",t,o);return e&&(n.className=e),n},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e){var t=this.div();t.innerHTML=""+e;var o=t.firstChild===t.lastChild&&t.firstChild?t.firstChild:t;return a.Dom.safeRemove(o),o},e}();t.Create=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(35);t.Ajax=n.Ajax;var i=o(60);t.EventsNative=i.EventsNative;var r=o(7);t.Component=r.Component;var a=o(36);t.ContextMenu=a.ContextMenu;var s=o(128);t.Cookie=s.Cookie;var l=o(19);t.Alert=l.Alert,t.Confirm=l.Confirm,t.Promt=l.Promt,t.Dialog=l.Dialog;var c=o(0);t.Dom=c.Dom;var d=o(6);t.Plugin=d.Plugin;var p=o(61);t.Create=p.Create;var u=o(66);t.FileBrowser=u.FileBrowser;var f=o(3);t.Helpers=f;var h=o(130);t.ImageEditor=h.ImageEditor;var g=o(53);t.Observer=g.Observer;var m=o(56);t.Select=m.Select;var v=o(33);t.Storage=v.Storage;var b=o(54);t.Snapshot=b.Snapshot;var y=o(28);t.Table=y.Table;var _=o(5);t.ToolbarIcon=_.ToolbarIcon;var x=o(18);t.JoditToolbarCollection=x.JoditToolbarCollection;var w=o(34);t.ToolbarCollection=w.ToolbarCollection;var k=o(26);t.ToolbarButton=k.ToolbarButton;var j=o(55);t.Stack=j.Stack;var C=o(14);t.Widget=C.Widget;var A=o(131);t.Uploader=A.Uploader},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(13),i=o(5);t.Alert=function(e,t,o,l){void 0===l&&(l="jodit_alert"),"function"==typeof t&&(o=t,t=void 0);var c=new n.Dialog,d=c.create.div(l),p=c.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+i.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Ok")+"</span></a>");return a.asArray(e).forEach(function(e){d.appendChild(s.Dom.isNode(e,c.window)?e:c.create.fromHTML(e))}),p.addEventListener("click",function(){o&&"function"==typeof o&&!1===o(c)||c.close()}),c.setFooter([p]),c.open(d,t||"&nbsp;",!0,!0),p.focus(),c};var r=o(11),a=o(20),s=o(0)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(13),i=o(5);t.Promt=function(e,t,o,a){var s=new n.Dialog,l=s.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+i.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Cancel")+"</span></a>"),c=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+i.ToolbarIcon.getIcon("check")+"<span>"+r.Jodit.prototype.i18n("Ok")+"</span></a>"),d=s.create.element("form",{class:"jodit_promt"}),p=s.create.element("input",{autofocus:!0}),u=s.create.element("label");"function"==typeof t&&(o=t,t=void 0),a&&p.setAttribute("placeholder",a),u.appendChild(s.create.text(e)),d.appendChild(u),d.appendChild(p),l.addEventListener("click",s.close,!1);var f=function(){o&&"function"==typeof o&&!1===o(p.value)||s.close()};return c.addEventListener("click",f),d.addEventListener("submit",function(){return f(),!1}),s.setFooter([c,l]),s.open(d,t||"&nbsp;",!0,!0),p.focus(),s};var r=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(13),i=o(5);t.Confirm=function(e,t,o){var a=new n.Dialog,s=a.create.fromHTML('<form class="jodit_promt"></form>'),l=a.create.element("label");"function"==typeof t&&(o=t,t=void 0),l.appendChild(a.create.fromHTML(e)),s.appendChild(l);var c=a.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+i.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Cancel")+"</span></a>");c.addEventListener("click",function(){o&&o(!1),a.close()});var d=function(){o&&o(!0),a.close()},p=a.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+i.ToolbarIcon.getIcon("check")+"<span>"+r.Jodit.prototype.i18n("Yes")+"</span></a>");return p.addEventListener("click",d),s.addEventListener("submit",function(){return d(),!1}),a.setFooter([p,c]),a.open(s,t||"&nbsp;",!0,!0),p.focus(),a};var r=o(11)},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(1),s=o(2),l=o(35),c=o(36),d=o(13),p=o(63),u=o(65),f=o(64),h=o(5),g=o(57),m=o(33),v=o(24),b=o(17),y=o(9),_=o(51),x=o(16),w=o(15),k=o(58);o(129),t.ITEM_CLASS="jodit_filebrowser_files_item";var j="default",C=function(e){function o(o,n){var i=e.call(this,o,n)||this;i.__currentPermissions=null,i.view="tiles",i.sortBy="changed",i.dragger=!1,i.filterWord="",i.onlyImages=!1,i.loadItems=function(e,t){var o=i;return o.options.items?(o.options.items.data.path=e,o.options.items.data.source=t,o.files.classList.add("active"),o.files.appendChild(o.loader.cloneNode(!0)),o.send("items",function(e){var t=o.options.items.process;if(t||(t=i.options.ajax.process),t){var n=t.call(o,e);o.generateItemsBox(n.data.sources),o.someSelectedWasChanged()}},function(e){p.Alert(e.message),o.errorHandler(e)})):Promise.reject("Set Items api options")},i.errorHandler=function(e){i.status(e instanceof Error?i.i18n(e.message):i.options.getMessage(e))},i.uploadHandler=function(){i.loadItems(i.currentPath,i.currentSource)},i.currentPath="",i.currentSource=j,i.currentBaseUrl="",i.storage=new m.Storage(new g.LocalStorageProvider),i.getPathByUrl=function(e,t,o){var n="getLocalFileByUrl",r=i;return i.options[n].data.url=e,i.send(n,function(e){r.options.isSuccess(e)?t(e.data.path,e.data.name,e.data.source):o(Error(i.options.getMessage(e)))},function(e){o(e)})},i.createFolder=function(e,t,o){return i.options.create?(i.options.create.data.source=o,i.options.create.data.path=t,i.options.create.data.name=e,i.send("create",function(e){i.options.isSuccess(e)?(i.currentPath=t,i.currentSource=o,i.loadTree(t,o)):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})):Promise.reject("Set Create api options")},i.move=function(e,t,o,n){var r=i.options[n?"fileMove":"folderMove"];return r?(r.data.from=e,r.data.path=t,r.data.source=o,i.send(n?"fileMove":"folderMove",function(e){i.options.isSuccess(e)?i.loadTree(t,o):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})):Promise.reject("Set Move api options")},i.close=function(){i.dialog.close()},i.open=function(e,t){return void 0===t&&(t=!1),i.onlyImages=t,i.buffer.fileBrowserOnlyImages=t,new Promise(function(t){if(!i.options.items||!i.options.items.url)throw Error("Need set options.filebrowser.ajax.url");var o=0;i.events.off(i.files,"dblclick").on(i.files,"dblclick",i.onSelect(e),"a").on(i.files,"touchstart",function(){var t=(new Date).getTime();t-o<s.EMULATE_DBLCLICK_TIMEOUT&&i.onSelect(e)(),o=t},"a").off("select.filebrowser").on("select.filebrowser",i.onSelect(e));var n=i.create.div();i.toolbar.build(i.options.buttons,n),i.dialog.dialogbox_header.classList.add("jodit_filebrowser_title_box"),i.dialog.open(i.browser,n),i.events.fire("sort.filebrowser",i.sortBy),i.loadTree(i.currentPath,i.currentSource).then(t)})},i.openImageEditor=function(e,t,o,n,r,a){return i.getInstance("ImageEditor").open(e,function(e,s,l,c){void 0===i.options[s.action]&&(i.options[s.action]={}),void 0===i.options[s.action].data&&(i.options[s.action].data={action:s.action}),i.options[s.action].data.newname=e||t,i.options[s.action].data.box=s.box,i.options[s.action].data.path=o,i.options[s.action].data.name=t,i.options[s.action].data.source=n,i.send(s.action,function(e){i.options.isSuccess(e)?i.loadTree(i.currentPath,i.currentSource).then(function(){l(),r&&r()}):(c(Error(i.options.getMessage(e))),a&&a(Error(i.options.getMessage(e))))},function(e){c(e),a&&a(e)})})};var l=i,v=o?o.ownerDocument:document,b=o?o.editorDocument:v;o&&(i.id=o.id),l.options=new a.OptionsDefault(x.extend(!0,{},l.options,a.Config.defaultOptions.filebrowser,n,o?o.options.filebrowser:void 0)),l.dialog=new d.Dialog(o||l,{fullsize:l.options.fullsize,buttons:["dialog.fullsize","dialog.close"]}),l.loader=l.create.div("jodit_filebrowser_loader",'<i class="jodit_icon-loader"></i>'),l.browser=l.create.fromHTML('<div class="jodit_filebrowser non-selected">'+(l.options.showFoldersPanel?'<div class="jodit_filebrowser_tree"></div>':"")+'<div class="jodit_filebrowser_files"></div><div class="jodit_filebrowser_status"></div></div>'),l.status_line=l.browser.querySelector(".jodit_filebrowser_status"),l.tree=l.browser.querySelector(".jodit_filebrowser_tree"),l.files=l.browser.querySelector(".jodit_filebrowser_files"),l.events.on("view.filebrowser",function(e){e!==l.view&&(l.view=e,l.buffer.fileBrowserView=e,l.files.classList.remove("jodit_filebrowser_files_view-tiles"),l.files.classList.remove("jodit_filebrowser_files_view-list"),l.files.classList.add("jodit_filebrowser_files_view-"+l.view),l.storage.set("jodit_filebrowser_view",l.view))}).on("sort.filebrowser",function(e){e!==l.sortBy&&(l.sortBy=e,i.storage.set("jodit_filebrowser_sortby",l.sortBy),l.loadItems(l.currentPath,l.currentSource))}).on("filter.filebrowser",function(e){e!==l.filterWord&&(l.filterWord=e,l.loadItems(l.currentPath,l.currentSource))}).on("fileRemove.filebrowser",function(){i.getActiveElements().length&&u.Confirm(l.i18n("Are you sure?"),"",function(e){if(e){var t=[];l.getActiveElements().forEach(function(e){t.push(l.fileRemove(l.currentPath,e.getAttribute("data-name")||"",e.getAttribute("data-source")||""))}),Promise.all(t).then(function(){l.someSelectedWasChanged(),l.loadTree(l.currentPath,l.currentSource)})}})}).on("edit.filebrowser",function(){var e=i.getActiveElements();1===e.length&&l.openImageEditor(e[0].getAttribute("href")||"",e[0].getAttribute("data-name")||"",e[0].getAttribute("data-path")||"",e[0].getAttribute("data-source")||"")}).on("update.filebrowser",function(){l.loadTree(i.currentPath,i.currentSource)}).on(l.tree,"click",function(e){var t=this.parentNode,o=t.getAttribute("data-path")||"";return u.Confirm(l.i18n("Are you sure?"),"",function(e){e&&l.folderRemove(o,t.getAttribute("data-name")||"",t.getAttribute("data-source")||"").then(function(){l.loadTree(l.currentPath,l.currentSource)})}),e.stopImmediatePropagation(),!1},"a>i.remove").on(l.tree,"click",function(){var e=this;this.classList.contains("addfolder")?f.Promt(l.i18n("Enter Directory name"),l.i18n("Create directory"),function(t){l.createFolder(t,e.getAttribute("data-path")||"",e.getAttribute("data-source")||"")},l.i18n("type name")):(l.currentPath=this.getAttribute("data-path")||"",l.currentSource=this.getAttribute("data-source")||"",l.loadTree(l.currentPath,l.currentSource))},"a").on(i.tree,"dragstart",function(){l.options.moveFolder&&(l.dragger=this)},"a").on(i.tree,"drop",function(){if((l.options.moveFile||l.options.moveFolder)&&l.dragger){var e=l.dragger.getAttribute("data-path")||"";if(!l.options.moveFolder&&l.dragger.classList.contains("jodit_filebrowser_tree_item"))return!1;if(l.dragger.classList.contains(t.ITEM_CLASS)&&(e+=l.dragger.getAttribute("data-name"),!l.options.moveFile))return!1;l.move(e,this.getAttribute("data-path")||"",this.getAttribute("data-source")||"",l.dragger.classList.contains(t.ITEM_CLASS)),l.dragger=!1}},"a");var k=new c.ContextMenu(i.jodit||i);l.events.on(l.files,"contextmenu",function(e){var o=this;if(l.options.contextMenu){var n=this;return w.setTimeout(function(){k.show(e.pageX,e.pageY,[!("1"===n.getAttribute("data-is-file")||!l.options.editImage||!l.canI("ImageResize")&&!l.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){l.openImageEditor(n.getAttribute("href")||"",n.getAttribute("data-name")||"",n.getAttribute("data-path")||"",n.getAttribute("data-source")||"")}},!!l.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){l.fileRemove(l.currentPath,n.getAttribute("data-name")||"",n.getAttribute("data-source")||""),l.someSelectedWasChanged(),l.loadTree(l.currentPath,l.currentSource)}},!!l.options.preview&&{icon:"eye",title:"Preview",exec:function(){var e=n.getAttribute("href")||"",i=new d.Dialog(l),r=l.create.fromHTML('<div class="jodit_filebrowser_preview"><i class="jodit_icon-loader"></i></div>'),a=v.createElement("img"),s=function(){var c=function(){if(o.removeEventListener("load",c),r.innerHTML="",l.options.showPreviewNavigation){var d=l.create.fromHTML('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-next">'+h.ToolbarIcon.getIcon("angle-right")+"</a>"),p=l.create.fromHTML('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-prev">'+h.ToolbarIcon.getIcon("angle-left")+"</a>");n.previousSibling&&n.previousSibling.classList&&n.previousSibling.classList.contains(t.ITEM_CLASS)&&r.appendChild(p),n.nextSibling&&n.nextSibling.classList&&n.nextSibling.classList.contains(t.ITEM_CLASS)&&r.appendChild(d),l.events.on([d,p],"click",function(){n=this.classList.contains("jodit_filebrowser_preview_navigation-next")?n.nextSibling:n.previousSibling,r.innerHTML='<i class="jodit_icon-loader"></i>',e=n.getAttribute("href")||"",a.setAttribute("src",e),s()})}r.appendChild(a),i.setPosition()};a.addEventListener("load",c),a.complete&&c()};s(),a.setAttribute("src",e),i.setContent(r),i.open()}},{icon:"upload",title:"Download",exec:function(){var e=n.getAttribute("href");e&&l.ownerWindow.open(e)}}],l.dialog.getZIndex()+1)},l.defaultTimeout),e.stopPropagation(),e.preventDefault(),!1}},"a").on(l.files,"click",function(e){_.ctrlKey(e)||(i.getActiveElements().forEach(function(e){e.classList.remove("active")}),l.someSelectedWasChanged())}).on(l.files,"click",function(e){return _.ctrlKey(e)||l.getActiveElements().forEach(function(e){e.classList.remove("active")}),this.classList.toggle("active"),l.someSelectedWasChanged(),e.stopPropagation(),!1},"a").on(l.files,"dragstart",function(){l.options.moveFile&&(l.dragger=this)},"a").on(l.dialog.container,"drop",function(e){return e.preventDefault()}),i.dialog.setSize(i.options.width,i.options.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRemove","folderRemove","folder","items","permissions"].forEach(function(e){null!==i.options[e]&&(i.options[e]=x.extend(!0,{},i.options.ajax,i.options[e]))}),i.view=i.storage.get("jodit_filebrowser_view")&&null===i.options.view?"list"===i.storage.get("jodit_filebrowser_view")?"list":"tiles":"list"===i.options.view?"list":"tiles",i.files.classList.add("jodit_filebrowser_files_view-"+i.view),l.buffer.fileBrowserView=i.view,i.sortBy=-1!=["changed","name","size"].indexOf(i.options.sortBy)?i.options.sortBy:"changed",i.storage.get("jodit_filebrowser_sortby")&&(i.sortBy=-1!=["changed","name","size"].indexOf(i.storage.get("jodit_filebrowser_sortby")||"")?i.storage.get("jodit_filebrowser_sortby")||"":"changed"),i.currentBaseUrl=y.$$("base",b).length?y.$$("base",b)[0].getAttribute("href")||"":location.protocol+"//"+location.host;var C=x.extend(!0,{},a.Config.defaultOptions.uploader,l.options.uploader,o&&o.options&&null!==o.options.uploader?r({},o.options.uploader):{});return i.uploader=i.getInstance("Uploader",C),i.uploader.setPath(i.currentPath),i.uploader.setSource(i.currentSource),i.uploader.bind(i.browser,i.uploadHandler,i.errorHandler),i.events.on("bindUploader.filebrowser",function(e){i.uploader.bind(e,i.uploadHandler,i.errorHandler)}),i}return i(o,e),Object.defineProperty(o.prototype,"defaultTimeout",{get:function(){return this.jodit&&this.jodit!==this?this.jodit.defaultTimeout:a.Config.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),o.prototype.generateFolderTree=function(e){var t=this,o=[];v.each(e,function(e,n){e&&e!==j&&o.push('<div class="jodit_filebrowser_source_title">'+e+"</div>"),n.folders.forEach(function(i){var r='<a draggable="draggable" class="jodit_filebrowser_tree_item" href="javascript:void(0)" data-path="'+b.normalizePath(n.path+i)+'/" data-source="'+e+'"><span>'+i+"</span>";t.options.deleteFolder&&".."!==i&&"."!==i&&(r+='<i class="remove" data-path="'+b.normalizePath(n.path+i+"/")+'">&times;</i>'),o.push(r+="</a>")}),t.options.createNewFolder&&t.canI("FolderCreate")&&o.push('<a class="jodit_button addfolder" href="javascript:void(0)" data-path="'+b.normalizePath(n.path+name)+'/" data-source="'+e+'">'+h.ToolbarIcon.getIcon("plus")+" "+t.i18n("Add folder")+"</a>")}),this.tree.innerHTML=o.join("")},o.prototype.generateItemsBox=function(e){var t=this,o=[];v.each(e,function(e,n){e&&e!==j&&o.push('<div class="jodit_filebrowser_source_title">'+e+(n.path?" - "+n.path:"")+"</div>"),n.files&&n.files.length?("function"==typeof t.options.sort&&n.files.sort(function(e,o){return t.options.sort(e,o,t.sortBy)}),n.files.forEach(function(i){(void 0===t.options.filter||t.options.filter(i,t.filterWord))&&(t.onlyImages&&void 0!==i.isImage&&!i.isImage||o.push(t.options.getThumbTemplate.call(t,i,n,""+e)))})):o.push("<div>"+t.i18n("There are no files")+"</div>")}),this.files.innerHTML=o.join("")},o.prototype.someSelectedWasChanged=function(){this.events.fire("changeSelection")},o.prototype.send=function(e,t,o){var n=x.extend(!0,{},this.options.ajax,void 0!==this.options[e]?this.options[e]:this.options.ajax);return n.prepareData&&(n.data=n.prepareData.call(this,n.data)),new l.Ajax(this.jodit||this,n).send().then(t).catch(o)},o.prototype.loadPermissions=function(e,t){var o=this,n=this;return n.options.permissions?(n.options.permissions.data.path=e,n.options.permissions.data.source=t,n.options.permissions.url?n.send("permissions",function(e){var t=n.options.permissions.process;if(t||(t=o.options.ajax.process),t){var i=t.call(n,e);i.data.permissions&&(o.__currentPermissions=i.data.permissions)}},function(e){p.Alert(e.message),n.errorHandler(e)}):Promise.resolve()):Promise.resolve()},o.prototype.loadTree=function(e,t){var o=this;return e=b.normalizeRelativePath(e),this.loadPermissions(e,t).then(function(){var n=o;if(!n.options.folder)return Promise.reject("Set Folder Api options");n.options.folder.data.path=e,n.options.folder.data.source=t,n.uploader&&(n.uploader.setPath(e),n.uploader.setSource(t));var i=[];return n.options.showFoldersPanel&&(n.options.folder.url?(n.tree.classList.add("active"),n.tree.innerHTML="",n.tree.appendChild(n.loader.cloneNode(!0)),i.push(o.send("folder",function(e){var t=n.options.folder.process;if(t||(t=o.options.ajax.process),t){var i=t.call(n,e);n.generateFolderTree(i.data.sources)}},function(){n.errorHandler(Error(n.jodit.i18n("Error on load folders")))}))):n.tree.classList.remove("active")),i.push(o.loadItems(e,t)),Promise.all(i)})},o.prototype.onSelect=function(e){var t=this;return function(){var o=t.getActiveElements();if(o.length){var n=[];o.forEach(function(e){var t=e.getAttribute("data-url");t&&n.push(t)}),t.close(),"function"==typeof e&&e({baseurl:"",files:n})}return!1}},o.prototype.canI=function(e){return null===this.__currentPermissions||void 0===this.__currentPermissions["allow"+e]||this.__currentPermissions["allow"+e]},o.prototype.isOpened=function(){return this.dialog.isOpened()&&"none"!==this.browser.style.display},o.prototype.status=function(e,t){var o=this;clearTimeout(this.statustimer),this.status_line.classList.remove("success"),this.status_line.classList.add("active"),this.status_line.innerHTML=e,t&&this.status_line.classList.add("success"),this.statustimer=w.setTimeout(function(){o.status_line.classList.remove("active")},this.options.howLongShowMsg)},o.prototype.getActiveElements=function(){return y.$$(":scope>a.active",this.files)},o.prototype.fileRemove=function(e,t,o){var n=this;return this.options.fileRemove?(this.options.fileRemove.data.path=e,this.options.fileRemove.data.name=t,this.options.fileRemove.data.source=o,this.send("fileRemove",function(e){n.options.remove&&n.options.remove.process&&(e=n.options.remove.process.call(n,e)),n.options.isSuccess(e)?(n.someSelectedWasChanged(),n.status(n.options.getMessage(e),!0)):n.status(n.options.getMessage(e))},function(e){n.status(e.message)})):Promise.reject("Set fileRemove api options")},o.prototype.folderRemove=function(e,t,o){var n=this;return this.options.folderRemove?(this.options.folderRemove.data.path=e,this.options.folderRemove.data.name=t,this.options.folderRemove.data.source=o,this.send("folderRemove",function(e){n.options.remove&&n.options.remove.process&&(e=n.options.remove.process.call(n,e)),n.options.isSuccess(e)?(n.someSelectedWasChanged(),n.status(n.options.getMessage(e),!0)):n.status(n.options.getMessage(e))},function(e){n.status(e.message)})):Promise.reject("Set folderRemove api options")},o.prototype.destruct=function(){this.dialog.destruct(),delete this.dialog,this.events&&this.events.off(".filebrowser"),this.uploader&&this.uploader.destruct(),delete this.uploader,e.prototype.destruct.call(this)},o}(k.ViewWithToolbar);t.FileBrowser=C},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(68),"undefined"!=typeof window&&o(69);var n=o(11),i=o(2),r=o(115),a=o(62),s=o(132),l=o(173),c=o(1),d=o(5);Object.keys(i).forEach(function(e){n.Jodit[e]=i[e]});var p=function(e){return"__esModule"!==e};Object.keys(l).filter(p).forEach(function(e){d.ToolbarIcon.icons[e.replace("_","-")]=l[e]}),Object.keys(a).filter(p).forEach(function(e){n.Jodit.modules[e]=a[e]}),["Confirm","Alert","Promt"].forEach(function(e){n.Jodit[e]=a[e]}),Object.keys(s).filter(p).forEach(function(e){n.Jodit.plugins[e]=s[e]}),Object.keys(r).filter(p).forEach(function(e){n.Jodit.lang[e]=r[e]}),n.Jodit.defaultOptions=c.Config.defaultOptions,c.OptionsDefault.prototype=n.Jodit.defaultOptions,t.Jodit=n.Jodit,t.default=n.Jodit},function(e,t,o){},function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),o(70),o(71),(n=Element.prototype).matches||(n.matches=void 0!==n.matchesSelector?n.matchesSelector:function(e){if(!this.ownerDocument)return[];var t=this.ownerDocument.querySelectorAll(e),o=this;return Array.prototype.some.call(t,function(e){return e===o})}),Array.from||(Array.from=function(e){return[].slice.call(e)})},function(e,t){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t="classList",o="prototype",n=e.Element[o],i=Object,r=String[o].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[o].indexOf||function(e){for(var t=0,o=this.length;t<o;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},c=function(e){for(var t=r.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,i=o.length;n<i;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",""+this)}},d=c[o]=[],p=function(){return new c(this)};if(s[o]=Error[o],d.item=function(e){return this[e]||null},d.contains=function(e){return-1!==l(this,e+="")},d.add=function(){for(var e,t=arguments,o=0,n=t.length,i=!1;-1===l(this,e=t[o]+"")&&(this.push(e),i=!0),++o<n;);i&&this._updateClassName()},d.remove=function(){var e,t,o=arguments,n=0,i=o.length,r=!1;do{for(t=l(this,e=o[n]+"");-1!==t;)this.splice(t,1),r=!0,t=l(this,e)}while(++n<i);r&&this._updateClassName()},d.toggle=function(e,t){var o=this.contains(e+=""),n=o?!0!==t&&"remove":!1!==t&&"add";return n&&this[n](e),!0===t||!1===t?t:!o},d.toString=function(){return this.join(" ")},i.defineProperty){var u={get:p,enumerable:!0,configurable:!0};try{i.defineProperty(n,t,u)}catch(e){void 0!==e.number&&-2146823252!==e.number||(u.enumerable=!1,i.defineProperty(n,t,u))}}else i[o].__defineGetter__&&n.__defineGetter__(t,p)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var o,n=arguments.length;for(o=0;o<n;o++)t.call(this,arguments[o])}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:o.call(this,e)}}e=null}())},function(e,t,o){"use strict";e.exports=o(72).polyfill()},function(e,t,o){var n,i;n=o(73),i=o(74),e.exports=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,r=void 0,a=void 0,s=function(e,t){h[o]=e,h[o+1]=t,2===(o+=2)&&(a?a(g):_())},l="undefined"!=typeof window?window:void 0,c=l||{},d=c.MutationObserver||c.WebKitMutationObserver,p="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),u="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(g,1)}}var h=Array(1e3);function g(){for(var e=0;e<o;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;o=0}var m,v,b,y,_=void 0;function x(e,t){var o=this,n=new this.constructor(j);void 0===n[k]&&R(n);var i=o._state;if(i){var r=arguments[i-1];s(function(){return O(i,n,r,o._result)})}else P(o,n,e,t);return n}function w(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(j);return z(t,e),t}_=p?function(){return n.nextTick(g)}:d?(v=0,b=new d(g),y=document.createTextNode(""),b.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):u?((m=new MessageChannel).port1.onmessage=g,function(){return m.port2.postMessage(0)}):void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0===(r=e.runOnLoop||e.runOnContext)?f():function(){r(g)}}catch(e){return f()}}():f();var k=Math.random().toString(36).substring(2);function j(){}var C=void 0,A=1,M=2,S={error:null};function T(e){try{return e.then}catch(e){return S.error=e,S}}function E(t,o,n){var i,r,a,l;o.constructor===t.constructor&&n===x&&o.constructor.resolve===w?(a=t,(l=o)._state===A?L(a,l._result):l._state===M?I(a,l._result):P(l,void 0,function(e){return z(a,e)},function(e){return I(a,e)})):n===S?(I(t,S.error),S.error=null):void 0===n?L(t,o):e(n)?(i=o,r=n,s(function(e){var t=!1,o=function(e,t,o,n){try{e.call(t,o,n)}catch(e){return e}}(r,i,function(o){t||(t=!0,i!==o?z(e,o):L(e,o))},function(o){t||(t=!0,I(e,o))});!t&&o&&(t=!0,I(e,o))},t)):L(t,o)}function z(e,t){var o,n;e===t?I(e,new TypeError("You cannot resolve a promise with itself")):(n=typeof(o=t),null===o||"object"!==n&&"function"!==n?L(e,t):E(e,t,T(t)))}function D(e){e._onerror&&e._onerror(e._result),q(e)}function L(e,t){e._state===C&&(e._result=t,e._state=A,0!==e._subscribers.length&&s(q,e))}function I(e,t){e._state===C&&(e._state=M,e._result=t,s(D,e))}function P(e,t,o,n){var i=e._subscribers,r=i.length;e._onerror=null,i[r]=t,i[r+A]=o,i[r+M]=n,0===r&&e._state&&s(q,e)}function q(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var n=void 0,i=void 0,r=e._result,a=0;a<t.length;a+=3)i=t[a+o],(n=t[a])?O(o,n,i,r):i(r);e._subscribers.length=0}}function O(t,o,n,i){var r=e(n),a=void 0,s=void 0,l=void 0,c=void 0;if(r){if((a=function(e,t){try{return e(t)}catch(e){return S.error=e,S}}(n,i))===S?(c=!0,s=a.error,a.error=null):l=!0,o===a)return void I(o,new TypeError("A promises callback cannot return that same promise."))}else a=i,l=!0;o._state!==C||(r&&l?z(o,a):c?I(o,s):t===A?L(o,a):t===M&&I(o,a))}var N=0;function R(e){e[k]=N++,e._state=void 0,e._result=void 0,e._subscribers=[]}var B=function(){function e(e,o){this._instanceConstructor=e,this.promise=new e(j),this.promise[k]||R(this.promise),t(o)?(this.length=o.length,this._remaining=o.length,this._result=Array(this.length),0===this.length?L(this.promise,this._result):(this.length=this.length||0,this._enumerate(o),0===this._remaining&&L(this.promise,this._result))):I(this.promise,Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===C&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var o=this._instanceConstructor,n=o.resolve;if(n===w){var i=T(e);if(i===x&&e._state!==C)this._settledAt(e._state,t,e._result);else if("function"!=typeof i)this._remaining--,this._result[t]=e;else if(o===H){var r=new o(j);E(r,e,i),this._willSettleAt(r,t)}else this._willSettleAt(new o(function(t){return t(e)}),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,o){var n=this.promise;n._state===C&&(this._remaining--,e===M?I(n,o):this._result[t]=o),0===this._remaining&&L(n,this._result)},e.prototype._willSettleAt=function(e,t){var o=this;P(e,void 0,function(e){return o._settledAt(A,t,e)},function(e){return o._settledAt(M,t,e)})},e}(),H=function(){function t(e){this[k]=N++,this._result=this._state=void 0,this._subscribers=[],j!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){z(e,t)},function(t){I(e,t)})}catch(t){I(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var o=this.constructor;return e(t)?this.then(function(e){return o.resolve(t()).then(function(){return e})},function(e){return o.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return H.prototype.then=x,H.all=function(e){return new B(this,e).promise},H.race=function(e){var o=this;return t(e)?new o(function(t,n){for(var i=e.length,r=0;r<i;r++)o.resolve(e[r]).then(t,n)}):new o(function(e,t){return t(new TypeError("You must pass an array to race."))})},H.resolve=w,H.reject=function(e){var t=new this(j);return I(t,e),t},H._setScheduler=function(e){a=e},H._setAsap=function(e){s=e},H._asap=s,H.polyfill=function(){var e=void 0;if(void 0!==i)e=i;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var o=null;try{o=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===o&&!t.cast)return}e.Promise=H},H.Promise=H}()},function(e,t){var o,n,i=e.exports={};function r(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return(o=setTimeout)(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch(e){o=r}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],d=!1,p=-1;function u(){d&&l&&(d=!1,l.length?c=l.concat(c):p=-1,c.length&&f())}function f(){if(!d){var e=s(u);d=!0;for(var t=c.length;t;){for(l=c,c=[];++p<t;)l&&l[p].run();p=-1,t=c.length}l=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return(n=clearTimeout)(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(1<arguments.length)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new h(e,t)),1!==c.length||d||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inArray=function(e,t){return-1!=t.indexOf(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=function(e){return"string"==typeof e?e.split(/[,\s]+/):e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(15);t.throttle=function(e,t,o){var i,r,a,s=null;return function(){i=arguments,r=!0;var l=o||this;t?s||(a=function(){s=r?(e.apply(l,i),r=!1,n.setTimeout(a,t)):null})():e.apply(l,i)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTML=function(e){return/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTMLFromWord=function(e){return-1!=e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!=e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!=e.search(/style="[^"]*mso-/)&&-1!=e.search(/<font/)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(22);t.isInt=function(e){return"string"==typeof e&&n.isNumeric(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=function(e){return"string"==typeof e&&32===e.length&&/^[a-z0-9]+$/.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=function(){var e=!0;try{var t=document.createElement("input");e=(t.type="color")===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},function(e,t,o){"use strict";function n(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0}),n(o(84)),n(o(42))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,o,n){return t+t+o+o+n+n});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),i=o(9);t.applyStyles=function(e){if(-1==e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,7+e.lastIndexOf("</html>"));var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="",r=[];try{var a=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(a){a.open(),a.write(e),a.close(),a.styleSheets.length&&(r=a.styleSheets[a.styleSheets.length-1].cssRules);for(var s=function(e){if(""===r[e].selectorText)return"continue";i.$$(r[e].selectorText,a.body).forEach(function(t){t.style.cssText+=r[e].style.cssText.replace(/mso-[a-z\-]+:[\s]*[^;]+;/g,"").replace(/border[a-z\-]*:[\s]*[^;]+;/g,"")})},l=0;l<r.length;l+=1)s(l);o=a.firstChild?a.body.innerHTML:""}}catch(e){}finally{n.Dom.safeRemove(t)}return o&&(e=o),e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),i=o(10);t.cleanFromWord=function(e){-1!=e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,7+e.lastIndexOf("</html>")));var t="";try{var o=document.createElement("div");o.innerHTML=e;var r=[];o.firstChild&&n.Dom.all(o,function(e){if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":r.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":n.Dom.unwrap(e);break;default:Array.from(e.attributes).forEach(function(t){-1==["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:r.push(e)}}),r.forEach(n.Dom.safeRemove),t=o.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(i.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sprintf=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=0,n=e,i=n[o++],r=function(e,t,o,n){var i=e.length<t?Array(1+t-e.length>>>0).join(o):"";return n?e+i:i+e},a=function(e,t,o,n,i){var a=n-e.length;return 0<a&&(e=o||!i?r(e,n," ",o):e.slice(0,t.length)+r("",a,"0",!0)+e.slice(t.length)),e},s=function(e,t,o,n,i,s,l){var c=e>>>0,d=(o=o&&c&&{2:"0b",8:"0",16:"0x"}[t]||"")+r(c.toString(t),s||0,"0",!1);return a(d,o,n,i,l)},l=function(e,t,o,n,i){return null!=n&&(e=e.slice(0,n)),a(e,"",t,o,i)};return i.replace(/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,function(e,t,i,c,d,p,u){if("%%"===e)return"%";for(var f=!1,h="",g=!1,m=!1,v=0;i&&v<i.length;v++)switch(i.charAt(v)){case" ":h=" ";break;case"+":h="+";break;case"-":f=!0;break;case"0":g=!0;break;case"#":m=!0}if((c=c?"*"===c?+n[o++]:"*"===(""+c)[0]?+n[(""+c).slice(1,-1)]:+c:0)<0&&(c=-c,f=!0),!isFinite(c))throw Error("sprintf: (minimum-)width must be finite");p=p?"*"===p?+n[o++]:"*"===p[0]?+n[p.slice(1,-1)]:+p:-1<"fFeE".indexOf(u)?6:"d"===u?0:void 0;var b=t?n[t.slice(0,-1)]:n[o++];switch(u){case"s":return l(b+"",f,c,p,g);case"c":return l(String.fromCharCode(+b),f,c,p,g);case"b":return s(b,2,m,f,c,p,g);case"o":return s(b,8,m,f,c,p,g);case"x":return s(b,16,m,f,c,p,g);case"X":return s(b,16,m,f,c,p,g).toUpperCase();case"u":return s(b,10,m,f,c,p,g);case"i":case"d":return b=(_=(y=parseInt(""+b,10))<0?"-":h)+r(Math.abs(y)+"",p,"0",!1),a(b,_,f,c,g);case"e":case"E":case"f":case"F":case"g":case"G":var y,_=(y=+b)<0?"-":h,x=["toExponential","toFixed","toPrecision"]["efg".indexOf(u.toLowerCase())],w=["toString","toUpperCase"]["eEfFgG".indexOf(u)%2];return b=_+Math.abs(y)[x](p),a(b,_,f,c,g)[w]();default:return e}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(32),i=o(2);t.clear=function(e,t){return void 0===t&&(t=!1),e=n.trim(e).replace(i.INVISIBLE_SPACE_REG_EXP,"").replace(/[\s]*class=""/g,""),t&&(e=e.replace(/<p[^>]*>[\s\n\r\t]*(&nbsp;|<br>|<br\/>)?[\s\n\r\t]*<\/p>[\n\r]*/g,"")),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlspecialchars=function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTags=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),i=o(2);t.normalizeKeyAliases=function(e){var t={};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(function(e){return n.trim(e.toLowerCase())}).map(function(e){return i.KEY_ALIASES[e]||e}).sort().filter(function(e){return!t[e]&&""!==e&&(t[e]=!0)}).join("+")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLicense=function(e,t){void 0===t&&(t=8);for(var o=[];e.length;)o.push(e.substr(0,t)),e=e.substr(t);return o[1]=o[1].replace(/./g,"*"),o[2]=o[2].replace(/./g,"*"),o.join("-")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0);t.normalizeNode=function(e){if(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.parentNode)for(;e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE;)null!==e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,""),i.Dom.safeRemove(e.nextSibling);else t.normalizeNode(e.firstChild);t.normalizeNode(e.nextSibling)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePath=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeRelativePath=function(e){return e.split("/").reduce(function(e,t){switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSize=function(e){return/^[0-9]+$/.test(""+e)?e+"px":""+e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(42),i=o(32);t.normalizeColor=function(e){var t=["#"],o=n.colorToHex(e);if(!o)return!1;if(3!==(o=(o=i.trim(o.toUpperCase())).substr(1)).length)return 6<o.length&&(o=o.substr(0,6)),"#"+o;for(var r=0;r<3;r+=1)t.push(o[r]),t.push(o[r]);return t.join("")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentWidth=function(e,t){var o=function(e){return parseInt(e,10)},n=t.getComputedStyle(e);return e.offsetWidth-o(n.getPropertyValue("padding-left")||"0")-o(n.getPropertyValue("padding-right")||"0")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerWidth=function(e,t){var o=t.getComputedStyle(e);return e.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.offset=function(e,o,n,i){void 0===i&&(i=!1);var r,a,s=e.getBoundingClientRect(),l=n.body,c=n.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},d=n.defaultView||n.parentWindow,p=d.pageYOffset||c.scrollTop||l.scrollTop,u=d.pageXOffset||c.scrollLeft||l.scrollLeft,f=c.clientTop||l.clientTop||0,h=c.clientLeft||l.clientLeft||0;if(!i&&o&&o.options&&o.options.iframe&&o.iframe){var g=t.offset(o.iframe,o,o.ownerDocument,!0);r=s.top+g.top,a=s.left+g.left}else r=s.top+p-f,a=s.left+u-h;return{top:Math.round(r),left:Math.round(a),width:s.width,height:s.height}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browser=function(e){var t=navigator.userAgent.toLowerCase(),o=/(firefox)[\s\/]([\w.]+)/.exec(t)||/(chrome)[\s\/]([\w.]+)/.exec(t)||/(webkit)[\s\/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s\/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||t.indexOf("compatible")<0||[];return"version"===e?o[2]:"webkit"===e?"chrome"===o[1]||"webkit"===o[1]:"ff"===e?"firefox"===o[1]:"msie"===e?"trident"===o[1]||"msie"===o[1]:o[1]===e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(41),i=o(50);t.convertMediaURLToVideoEmbed=function(e,t,o){if(void 0===t&&(t=400),void 0===o&&(o=345),!n.isURL(e))return e;var r=document.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;r.href=e,t||(t=400),o||(o=345);var s=r.protocol||"";switch(r.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+o+'" src="'+s+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var l=r.search?i.parseQuery(r.search):{v:r.pathname.substr(1)};return l.v?'<iframe width="'+t+'" height="'+o+'" src="'+s+"//www.youtube.com/embed/"+l.v+'" frameborder="0" allowfullscreen></iframe>':e}return e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="JoditDataBindKey";t.dataBind=function(e,t,o){var i=e[n];if(i||Object.defineProperty(e,n,{enumerable:(i={},!1),configurable:!0,value:i}),void 0===o)return i[t];i[t]=o}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(""+e))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return-1!=o.indexOf(t)?n*Math.pow(1024,1+o.indexOf(t)):parseInt(e,10)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inView=function(e,t,o){var n=e.getBoundingClientRect(),i=e,r=n.top,a=n.height;do{if(i&&i.parentNode){if(r>(n=(i=i.parentNode).getBoundingClientRect()).bottom)return!1;if(r+a<=n.top)return!1}}while(i&&i!==t&&i.parentNode);return r<=(o.documentElement&&o.documentElement.clientHeight||0)},t.scrollIntoView=function(e,o,n){t.inView(e,o,n)||(o.clientHeight!==o.scrollHeight&&(o.scrollTop=e.offsetTop),t.inView(e,o,n)||e.scrollIntoView())}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.val=function(e,t,o){var n=e.querySelector(t);return n?(o&&(n.value=o),n.value):""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,o){this.observer=o,this.oldValue=e,this.newValue=t}return e.prototype.undo=function(){this.observer.snapshot.restore(this.oldValue)},e.prototype.redo=function(){this.observer.snapshot.restore(this.newValue)},e}();t.Command=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(0),s=function(e){function t(t,o){var n=e.call(this,t)||this;return n.target=o,n.container=t.create.div("jodit_statusbar"),o.appendChild(n.container),n.hide(),n}return i(t,e),t.prototype.hide=function(){this.container&&(this.container.style.display="none")},t.prototype.show=function(){this.container&&(this.container.style.display="block")},t.prototype.append=function(e,t){void 0===t&&(t=!1);var o=this.jodit.create.div("jodit_statusbar_item");t&&o.classList.add("jodit_statusbar_item-right"),o.appendChild(e),this.container.appendChild(o),this.show(),this.jodit.events.fire("resize")},t.prototype.destruct=function(){a.Dom.safeRemove(this.container),delete this.container,e.prototype.destruct.call(this)},t}(r.Component);t.StatusBar=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNameSpace="JoditEventDefaultNamespace";var n=function(){function e(){this.__store={}}return e.prototype.get=function(e,t){if(void 0!==this.__store[t])return this.__store[t][e]},e.prototype.indexOf=function(e,t,o){var n=this.get(e,t);if(n)for(var i=0;i<n.length;i+=1)if(n[i].originalCallback===o)return i;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=Object.keys(this.__store);return e?o.filter(function(e){return e!==t.defaultNameSpace}):o},e.prototype.events=function(e){return this.__store[e]?Object.keys(this.__store[e]):[]},e.prototype.set=function(e,t,o,n){void 0===n&&(n=!1),void 0===this.__store[t]&&(this.__store[t]={}),void 0===this.__store[t][e]&&(this.__store[t][e]=[]),n?this.__store[t][e].unshift(o):this.__store[t][e].push(o)},e.prototype.clear=function(){delete this.__store,this.__store={}},e}();t.EventHandlersStore=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(0),s=o(61),l=o(12),c=function(e){function t(t){var o=e.call(this,t)||this;return o.__whoLocked="",o.__isFullSize=!1,o.ownerDocument=document,o.ownerWindow=window,o.isLocked=function(){return""!==o.__whoLocked},o.isLockedNotBy=function(e){return o.isLocked()&&o.__whoLocked!==e},o.isFullSize=function(){return o.__isFullSize},t&&t.ownerDocument&&(o.ownerDocument=t.ownerDocument,o.ownerWindow=t.ownerWindow),o.create=new s.Create(o.ownerDocument,l.isJoditObject(t)?t.editorDocument:void 0),o.container=o.create.div(),o}return i(t,e),t.prototype.destruct=function(){this.isDestructed&&(a.Dom.safeRemove(this.container),delete this.container,e.prototype.destruct.call(this))},t.prototype.lock=function(e){return void 0===e&&(e="any"),!this.isLocked()&&(this.__whoLocked=e,!0)},t.prototype.unlock=function(){return!!this.isLocked()&&!(this.__whoLocked="")},t.prototype.toggleFullSize=function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e)},t}(r.Component);t.Panel=c},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var o=e.call(this,t)||this;return o.container.classList.add("jodit_toolbar_btn-break"),o}return i(t,e),t}(o(25).ToolbarElement);t.ToolbarBreak=r},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(3),s=o(26),l=o(27),c=o(18),d=function(e){function t(t,o,n,i){void 0===i&&(i="jodit_toolbar_list");var r=e.call(this,t,o,n,i)||this;return r.target=o,r.current=n,r.className=i,r.defaultControl={template:function(e,t,o){return r.jodit.i18n(o)}},r}return i(t,e),t.prototype.doClose=function(){this.toolbar&&(this.toolbar.destruct(),delete this.toolbar)},t.prototype.doOpen=function(e){var t=this;this.toolbar=c.JoditToolbarCollection.makeCollection(this.jodit);var o="string"==typeof e.list?e.list.split(/[\s,]+/):e.list;a.each(o,function(o,n){var i,a=t.jodit.options.controls,l=function(e){return a&&a[e]};"string"==typeof n&&l(n)?i=new s.ToolbarButton(t.toolbar,r({name:""+n},l(n)),t.current):"string"==typeof o&&l(o)&&"object"==typeof n?i=new s.ToolbarButton(t.toolbar,r({name:""+o},l(o),n),t.current):(i=new s.ToolbarButton(t.toolbar,{name:""+o,exec:e.exec,command:e.command,isActive:e.isActiveChild,isDisable:e.isDisableChild,mode:e.mode,args:[e.args&&e.args[0]||o,e.args&&e.args[1]||n]},t.current)).textBox.innerHTML=(e.template||t.defaultControl.template)(t.jodit,""+o,""+n),t.toolbar.appendChild(i)}),this.container.appendChild(this.toolbar.container),this.container.style.marginLeft=null,this.toolbar.checkActiveButtons()},t.prototype.destruct=function(){this.isDestructed||(this.doClose(),e.prototype.destruct.call(this))},t}(l.Popup);t.PopupList=d},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(20),a=o(0),s=o(4),l=function(e){function t(t){var o=e.call(this,t.parentToolbar||t.jodit,"div","jodit_tooltip")||this;return o.button=t,o.timeout=0,o.show=function(){var e=o.button.jodit.options.showTooltipDelay||10*o.button.jodit.defaultTimeout;o.button.jodit.events.fire("hideTooltip"),o.timeout=s.setTimeout(function(){o.button.container.appendChild(o.container),o.container.style.marginLeft=-(o.container.offsetWidth-o.button.container.offsetWidth)/2+"px"},e)},o.hide=function(){window.clearTimeout(o.timeout),a.Dom.safeRemove(o.container)},t.control.tooltip&&(o.container.innerHTML=t.jodit.i18n(t.control.tooltip)+(t.control.hotkeys?"<br>"+r.asArray(t.control.hotkeys).join(" "):""),t.jodit.events.on(t.anchor,"mouseenter",o.show).on(t.anchor,"mouseleave",o.hide).on("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",o.hide)),o}return i(t,e),t.prototype.destruct=function(){return this.hide(),this.jodit&&this.jodit.events&&this.jodit.events.off("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",this.hide),e.prototype.destruct.call(this)},t}(o(25).ToolbarElement);t.ToolbarTooltip=l},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var o=e.call(this,t)||this;return o.container.classList.add("jodit_toolbar_btn-separator"),o}return i(t,e),t}(o(25).ToolbarElement);t.ToolbarSeparator=r},function(e,t,o){"use strict";var n=o(116),i=o(117),r=o(118),a=o(119),s=o(120),l=o(121),c=o(122),d=o(123),p=o(124),u=o(125),f=o(126),h=o(127),g={de:n.default,fr:i.default,ru:r.default,tr:p.default,ar:a.default,zh_cn:s.default,es:l.default,nl:c.default,hu:d.default,pt_br:u.default,en:f.default,it:h.default},m={};f.default.forEach(function(e,t){m[t]=e}),Object.keys(g).forEach(function(e){var t=g[e];Array.isArray(t)&&(g[e]={},t.forEach(function(t,o){g[e][m[o]]=t}))}),e.exports=g},function(e,t){e.exports.default=["Bitte geben Sie einen Text ein","Fortgeschritten","Über Jodit","Jodit Editor","Freie Nicht-kommerzielle Version","GNU General Public License, Version 2 oder höher","Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Lizenz-Informationen, besuchen Sie bitte unsere Webseite:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Ungeordnete Liste einfügen","Sortierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stiel","CSS Klassen","Ausrichten","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Erweitert","Bildeigenschaften","Abbrechen","OK","Es scheint als dass Sie HTML-Text einfügen möchten","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","InWord formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Nur Text einfügen","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Auswählen","Hochladen","Hintergrund","Text","Oben","Mittig","Unten","Spalte einfügen vor","Spalte einfügen nach","Zeile einfügen oberhalb","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Leere Zelle","Löschen","Durchschlagen","Unterstreichen","Pause","Suche nach","Ersetzen durch","Ersetzen","Bearbeiten","Vertikale Ausrichtung","Horizontale Ausrichtung","filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Split vertikal","Split horizontally","Verschmelzen","Spalte hinzufügen","Zeile hinzufügen","Rand","Code einbetten","Aktualisieren","hochgestellt","Index","Auswahl ausschneid","Einfügen","Wählen Sie Inhalt zum Einfügen","Zeichen: %d","Wörter: %d","Wählen Sie Alle aus","Markieren: %s","Wählen Sie Alle aus","HTML","Fett gedruckt","kursiv","Bürste","Verknüpfung","rückgängig machen","wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","drucken","Symbol","unterstreichen","durchgestrichen","Einzug","Aussenseiter","Vollgröße","schrumpfen","Format kopierenт","die Linie","Liste von","Nummerierte Liste","Schnitt","Wählen Sie Alle aus","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","URL","Wiederherstellen","Speichern","Speichern als","Ändern Sie die Größe","Größe anpassen","Breite","Höhe","Halten Sie Proportionen","Ja","Nein","Entfernen","Markieren","Sie können nur Ihre eigenen Bilder bearbeiten. Laden Sie dieses Bild auf dem Host herunter?","Das Bild wurde erfolgreich auf den Server hochgeladen!null","Palette"]},function(e,t){e.exports.default=["Ecrivez ici","Avancé","A propos de Jodit","Editeur Jodit","Version gratuite, non commerciale","GNU General Public License, version 2 ou ultérieure","Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier",null,"Propriétés de l'image","Effacer","OK","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Nettoyer","Coller en tant que texte","C'est peut-être un fragment de Word ou Excel","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Coller le texte seulement","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le non de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Chercher","Charger","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne en dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","Effacer","Frapper à travers","Souligner","Pause","Rechercher","Remplacer par","Remplacer",null,"Alignement vertical","Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier",null,null,"aller","Ajouter une colonne","Ajouter une rangée",null,null,"Mettre à jour","exposant","indice","Couper la sélection","Coller","Choisissez le contenu à coller","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","caractère","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","Format de copie","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout","Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","URL","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!null","Palette"]},function(e,t){e.exports.default=["Напишите что-либо","Расширенные","О Jodit","Редактор Jodit","Версия для не коммерческого использования","Стандартная общественная лицензия GNU (GPL), версия 2 или выше","Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне","Изображение","Файл",null,"Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Вставить только текст","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Отчистить ячейку","Удалить","Перечеркнуть","Подчеркивание","Разделитель","Найти","Заменить на","Заменить","Редактировать","Вертикальное выравнивание","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Разделить по вертикали","Разделить по горизонтали","Объеденить в одну","Добавить столбец","Добавить строку","Рамка","Код","Обновить","верхний индекс","индекс","Вырезать","Вставить","Выбрать контент для вставки","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","символ","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","Копировать формат","линия","Список","Нумерованный список","Вырезать","Выделить все","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","URL","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра"]},function(e,t){e.exports.default=["إبدأ في الكتابة...","متقدم","حول جوديت","محرر جوديت","الإصدار الغير تجاري مجاني","رخصة جنو العمومية العامة ، الإصدار الثاني أو الأحدث","دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف",null,"خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ",null,"إدراج كنص",null,null,"إدراج النص فقط","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","حذف","اضرب من خلال","أكد","استراحة","البحث عن","استبدل ب","يحل محل","تحرير","محاذاة عمودية","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","الحدود","قانون","تحديث","حرف فوقي","مخطوطة","قطع الاختيار","معجون","اختر محتوى للصق","%d حرف","%d كلام",null,"تميز %s","اختر الكل","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","رمز","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","نسخ التنسيق","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","URL","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة"]},function(e,t){e.exports.default=["输入一些内容","高级","关于Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","开发者指南","使用帮助","有关许可证的信息，请访问我们的网站：","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","youtube/vimeo 视频","链接","字号","字体","格式块","文本","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距（Margins）","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","你粘贴的文本是一段html代码，是否保留源格式","html粘贴","保留源格式","匹配目标格式","把html代码视为普通文本","文本粘贴","正在粘贴 Word/Excel 的文本，是否保留源格式？","只保留文本","文件管理","加载list错误","加载folders错误","你确定吗？","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","浏览","上传","背景色","字体颜色","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","删除","删除线","下划线","Pause","查找","替换为","替换",null,"垂直对齐","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹",null,null,"合并","添加列","添加行",null,null,"更新","上标","下标","剪切","粘贴","选择内容并粘贴","字符数: %d","单词数: %d",null,"选择: %s","全选","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","符号","下划线","上出现","增加缩进","减少缩进","全屏","收缩","复制格式","分割线","无序列表","顺序列表","剪切","全选","打开链接","编辑链接","No follow","Unlink","URL","重置","保存","保存为","调整大小","Crop","宽","高","保存长宽比","是","不","移除","选择","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","Palette"]},function(e,t){e.exports.default=["Escriba algo...","Avanzado","Acerca de Jodit","Jodit Editor","Versión gratis no comercial","GNU General Public License, Versión 2 o posterior","Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Limpiar","Insertar como texto","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insertar solo texto","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Buscar","Subir","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","Borrar","Tachado","Subrayado","Pausa","Buscar","Reemplazar con","Reemplazar","Editar","Alineación vertical","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borde","Incluir código","Actualizar","superíndice","subíndice","Cortar selección","Pegar","Seleccionar contenido para pegar","Caracteres: %d","Palabaras: %d","Todo","Seleccionar: %s","Seleccionar todo","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","Símbolo","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","Copiar formato","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Abrir vínculo","Editar vínculo","No seguir","Desvincular","URL","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta"]},function(e,t){e.exports.default=["Begin met typen..","Geavanceerd","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","GNU General Public License, versie 2 of hoger","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Opschonen","Als tekst invoegen","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Als onopgemaakte tekst invoegen","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Bladeren","Uploaden","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Verwijderen","Doorstrepen","Onderstrepen","Enter","Zoek naar","Vervangen door","Vervangen","Bewerken","Verticaal uitlijnen","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Rand","Embed code","Updaten","Superscript","Subscript","Selectie knippen","Plakken","Kies content om te plakken","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","symbool","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","opmaak kopiëren","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","link openen","link aanpassen","niet volgen","link verwijderen"," URL","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette"]},function(e,t){e.exports.default=["Írjon be valamit","Haladó","Joditról","Jodit Editor","Ingyenes változat","GNU General Public License, Verzió 2 vagy későbbi","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","További beállítás","Kép tulajdonságai","Mégsem","OK","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Elvetés","Beszúrás szövegként","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Csak szöveg beillesztése","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Tallóz","Feltölt","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","Törlés","Áthúzott","Aláhúzott","Szünet","Keresés","Csere erre","Csere","Szerkeszt","Függőleges igazítás","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Szegély","Beágyazott kód","Frissít","Felső index","Alsó index","Kivágás","Beillesztés","Válasszon tartalmat a beillesztéshez","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölése","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Szimbólum","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Formátum másolás","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","URL","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette"]},function(e,t){e.exports.default=["Bir şey yazın.","Gelişmiş","Jodit Hakkında","Jodit Editor","Ücretsiz, ticari olmayan versiyon","GNU General Public License, Versiyon 2 ve sonrası için","Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyon satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm Hakları Saklıdır","Bağlantı","Yeni sekmede aç","Tam ekran editör","Stili temizle","Dolgu ve yazı rengi seç","İleri Al","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Code","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","MEsafeler","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirlenmedi","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Temizle","Yazı olarak ekle","Word biçiminde yapıştırma algılandı","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Nur Text einfügen","Dosya Gezgini","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","Typname","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Ekle","Yükle","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satır sil","Kolon sil","Hücreyi boşalt","Sil","Durchschlagen","Alt çizgi","Durdur","Ara","Şununla değiştir","Değiştir","Düzenle","Dikey hizalama","Yatay hizalama","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Kenarlık","Kod ekle","Güncelle","Üst yazı","Alt yazı","Seçilimi kes","Yapıştır","Yapıştırılacak içerik seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","İleri al","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Sembol","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Kopyalama Biçimi","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","URL","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palette"]},function(e,t){e.exports.default=["Escreva algo...","Avançado","Sobre o Jodit","Editor Jodit","Versão Gratuita não-comercial","Licença Pública GNU General, Versão 2 ou posterior","Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Seu código é simular ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Inserir somente o Texto","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Explorar","Upload","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","Excluir","Tachado","Sublinhar","Pausa","Procurar por","Substituir com","Substituir","Editar","Alinhamento vertical","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Borda","Incluir código","Atualizar","sobrescrito","subscrito","Cortar seleção","Colar","Escolher conteúdo para colar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","Símbolo","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","Copiar formato","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Abrir link","Editar link","Não siga","Remover link","URL","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette"]},function(e,t){e.exports.default=["Type something","Advanced","About Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open editor in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advansed","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Delete","Strike through","Underline","Break","Search for","Replace with","Replace","Edit","Vertical align","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Split vertical","Split horizontal","Merge","Add column","Add row","Border","Embed code","Update","superscript","subscript","Cut selection","Paste","Choose Content to Paste","Chars: %d","Words: %d","All","Select %s","Select all","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","symbol","underline","strikethrough","indent","outdent","fullsize","shrink","copyformat","hr","ul","ol","cut","selectall","Open link","Edit link","No follow","Unlink"," URL","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette"]},function(e,t){e.exports.default=["Scrivi qualcosa...","Avanzato","A proposito di Jodit","Jodit Editor","Versione gratuita non commerciale","Licenza pubblica generale GNU, versione 2 o successiva","Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Pulisci","Inserisci come testo","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Inserisci solo il testo","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Sfoglia","Carica","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","Cancella","Barrato","Sottolineato","Pausa","Cerca","Sostituisci con","Sostituisci","Modifica","Allineamento verticala","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Bordo","Includi codice","Aggiornare","indice","deponente","Taglia la selezione","Incolla","Seleziona il contenuto da incollare","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Simbolo","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","Copia il formato","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Apri link","Modifica link","Non seguire","Togli link"," URL","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.set=function(e,t,o){var n,i;n=o?((i=new Date).setTime(i.getTime()+24*o*60*60*1e3),"; expires="+i.toUTCString()):"",document.cookie=e+"="+t+n+"; path=/"},e.prototype.get=function(e){var t,o,n=e+"=",i=document.cookie.split(";");for(t=0;t<i.length;t+=1){for(o=i[t];" "===o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(n))return o.substring(n.length,o.length)}return null},e.prototype.remove=function(e){this.set(e,"",-1)},e}();t.Cookie=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(5),r=o(17),a=o(46),s=o(38),l=o(3),c=o(66);n.Config.prototype.filebrowser={filter:function(e,t){return t=t.toLowerCase(),"string"==typeof e?-1!=e.toLowerCase().indexOf(t):"string"==typeof e.name?-1!=e.name.toLowerCase().indexOf(t):"string"!=typeof e.file||-1!=e.file.toLowerCase().indexOf(t)},sortBy:"changed",sort:function(e,t,o){var n,i=function(e,t){return e<t?-1:t<e?1:0};if("string"==typeof e)return i(e.toLowerCase(),t.toLowerCase());if(void 0===e[o]||"name"===o)return"string"==typeof e.name?i(e.name.toLowerCase(),t.name.toLowerCase()):"string"==typeof e.file?i(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(o){case"changed":return n=new Date(e.changed),new Date(t.changed).getTime()-n.getTime();case"size":return l.humanSizeToBytes(e.size)-l.humanSizeToBytes(t.size)}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,width:763,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,getThumbTemplate:function(e,t,o){var n,i="",s="",l=!!e.thumbIsAbsolute,d=!!e.fileIsAbsolute,p=""+(new Date).getTime();void 0!==e.file&&(s=i=e.file),e.thumb&&(s=e.thumb),n='<div class="'+c.ITEM_CLASS+'-info">'+(this.options.showFileName?'<span class="'+c.ITEM_CLASS+'-info-filename">'+i+"</span>":"")+(this.options.showFileSize&&e.size?'<span class="'+c.ITEM_CLASS+'-info-filesize">'+e.size+"</span>":"")+(this.options.showFileChangeTime&&e.changed?'<span class="'+c.ITEM_CLASS+'-info-filechanged">'+("number"==typeof e.changed?new Date(e.changed).toLocaleString():e.changed)+"</span>":"")+"</div>";var u=d?i:a.normalizeURL(t.baseurl+t.path+i);return'<a data-is-file="'+(e.isImage?0:1)+'" draggable="true" class="'+c.ITEM_CLASS+'" href="'+u+'" data-source="'+o+'" data-path="'+r.normalizePath(t.path?t.path+"/":"/")+'" data-name="'+i+'" title="'+i+'" data-url="'+u+'"><img data-is-file="'+(e.isImage?0:1)+'" data-src="'+u+'" src="'+(l?s:a.normalizeURL(t.baseurl+t.path+s)+"?_tmst="+p)+'" alt="'+i+'"/>'+(this.options.showFileName||this.options.showFileSize&&e.size||this.options.showFileChangeTime&&e.changed?n:"")+"</a>"},ajax:{url:"",async:!0,data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,dataType:"json",headers:{},prepareData:function(e){return e},process:function(e){return e}},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}},uploader:null},n.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,exec:function(){},isDisable:function(e){return!e.canI("FileUpload")},getContent:function(e,t){var o=e.create.fromHTML('<span class="jodit_upload_button">'+i.ToolbarIcon.getIcon("plus")+'<input type="file" accept="'+(e.buffer.fileBrowserOnlyImages?"image/*":"*")+'" tabindex="-1" dir="auto" multiple=""/></span>'),n=o.querySelector("input");return e.events.on("updateToolbar",function(){t&&t.isDisable&&(t.isDisable(e,t)?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled"))}).fire("bindUploader.filebrowser",o),o}},remove:{icon:"bin",isDisable:function(e){return 0===e.getActiveElements().length||!e.canI("FileRemove")},exec:function(e){e.events.fire("fileRemove.filebrowser")}},update:{exec:function(e){e.events.fire("update.filebrowser")}},select:{icon:"check",isDisable:function(e){return 0===e.getActiveElements().length},exec:function(e){e.events.fire("select.filebrowser")}},edit:{icon:"pencil",isDisable:function(e){var t=e.getActiveElements();return 1!==t.length||"1"===t[0].getAttribute("data-is-file")||!(e.canI("ImageCrop")||e.canI("ImageResize"))},exec:function(e){e.events.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(e){return"tiles"===e.buffer.fileBrowserView},exec:function(e){e.events.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(e){return"list"===e.buffer.fileBrowserView},exec:function(e){e.events.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e){var t=e.create.element("input",{class:"jodit_input",placeholder:e.i18n("Filter")});return e.events.on(t,"keydown mousedown",s.debounce(function(){e.events.fire("filter.filebrowser",t.value)},e.defaultTimeout)),t}},sort:{isInput:!0,getContent:function(e){var t=e.create.fromHTML('<select class="jodit_input"><option value="changed">'+e.i18n("Sort by changed")+'</option><option value="name">'+e.i18n("Sort by name")+'</option><option value="size">'+e.i18n("Sort by size")+"</option></select>");return e.events.on("sort.filebrowser",function(e){t.value!==e&&(t.value=e)}).on(t,"change",function(){e.events.fire("sort.filebrowser",t.value)}),t}}}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(7),s=o(19),l=o(3),c=o(5),d=o(0);r.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"};var p=function(e){function t(t){var o=e.call(this,t)||this;return o.resizeUseRatio=!0,o.cropUseRatio=!0,o.clicked=!1,o.activeTab="resize",o.cropBox={x:0,y:0,w:0,h:0},o.resizeBox={w:0,h:0},o.calcValueByPercent=function(e,t){var o,n=""+t,i=parseFloat(""+e);return(o=/^[\-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(o=/^([\-+]?[0-9.]+)%$/.exec(n))?Math.round(i*(parseFloat(o[1])/100)):i||0},o.calcCropBox=function(){var e,t=.8*o.crop_box.parentNode.offsetWidth,n=.8*o.crop_box.parentNode.offsetHeight,i=t;e=o.naturalWidth<t&&o.naturalHeight<n?(i=o.naturalWidth,o.naturalHeight):t/n<o.ratio?o.naturalHeight*((i=t)/o.naturalWidth):(i=o.naturalWidth*(n/o.naturalHeight),n),l.css(o.crop_box,{width:i,height:e})},o.showCrop=function(){o.cropImage&&(o.calcCropBox(),o.new_w=o.calcValueByPercent(o.cropImage.offsetWidth||o.image.offsetWidth,o.options.cropDefaultWidth),o.new_h=o.cropUseRatio?o.new_w/o.ratio:o.calcValueByPercent(o.cropImage.offsetHeight||o.image.offsetHeight,o.options.cropDefaultHeight),l.css(o.cropHandler,{backgroundImage:"url("+o.cropImage.getAttribute("src")+")",width:o.new_w,height:o.new_h,left:(o.cropImage.offsetWidth||o.image.offsetWidth)/2-o.new_w/2,top:(o.cropImage.offsetHeight||o.image.offsetHeight)/2-o.new_h/2}),o.jodit.events.fire(o.cropHandler,"updatesize"))},o.updateCropBox=function(){if(o.cropImage){var e=o.cropImage.offsetWidth/o.naturalWidth,t=o.cropImage.offsetHeight/o.naturalHeight;o.cropBox.x=l.css(o.cropHandler,"left")/e,o.cropBox.y=l.css(o.cropHandler,"top")/t,o.cropBox.w=o.cropHandler.offsetWidth/e,o.cropBox.h=o.cropHandler.offsetHeight/t,o.sizes.innerText=o.cropBox.w.toFixed(0)+"x"+o.cropBox.h.toFixed(0)}},o.updateResizeBox=function(){o.resizeBox.w=o.image.offsetWidth||o.naturalWidth,o.resizeBox.h=o.image.offsetHeight||o.naturalHeight},o.setHandlers=function(){var e=o;e.jodit.events.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.jodit_image_editor",function(t){e.target=t.target||t.srcElement,t.preventDefault(),t.stopImmediatePropagation(),e.clicked=!0,e.start_x=t.clientX,e.start_y=t.clientY,e.height="crop"===e.activeTab?(e.top_x=l.css(e.cropHandler,"left"),e.top_y=l.css(e.cropHandler,"top"),e.width=e.cropHandler.offsetWidth,e.cropHandler.offsetHeight):(e.width=e.image.offsetWidth,e.image.offsetHeight)}).off(o.jodit.ownerWindow,".jodit_image_editor"+e.jodit.id).on(o.jodit.ownerWindow,"mousemove.jodit_image_editor"+e.jodit.id,l.throttle(function(t){e.clicked&&(e.diff_x=t.clientX-e.start_x,e.diff_y=t.clientY-e.start_y,"resize"===e.activeTab&&e.resizeUseRatio||"crop"===e.activeTab&&e.cropUseRatio?e.diff_x?(e.new_w=e.width+e.diff_x,e.new_h=Math.round(e.new_w/e.ratio)):(e.new_h=e.height+e.diff_y,e.new_w=Math.round(e.new_h*e.ratio)):(e.new_w=e.width+e.diff_x,e.new_h=e.height+e.diff_y),"resize"===e.activeTab?(e.options.resizeMinWidth<e.new_w&&(l.css(e.image,"width",e.new_w+"px"),e.widthInput.value=""+e.new_w),e.options.resizeMinHeight<e.new_h&&(l.css(e.image,"height",e.new_h+"px"),e.heightInput.value=""+e.new_h),o.jodit.events.fire(e.resizeHandler,"updatesize")):(e.target!==e.cropHandler?(e.cropImage.offsetWidth<e.top_x+e.new_w&&(e.new_w=e.cropImage.offsetWidth-e.top_x),e.cropImage.offsetHeight<e.top_y+e.new_h&&(e.new_h=e.cropImage.offsetHeight-e.top_y),l.css(e.cropHandler,{width:e.new_w,height:e.new_h})):(e.cropImage.offsetWidth<e.top_x+e.diff_x+e.cropHandler.offsetWidth&&(e.diff_x=e.cropImage.offsetWidth-e.top_x-e.cropHandler.offsetWidth),l.css(e.cropHandler,"left",e.top_x+e.diff_x),e.cropImage.offsetHeight<e.top_y+e.diff_y+e.cropHandler.offsetHeight&&(e.diff_y=e.cropImage.offsetHeight-e.top_y-e.cropHandler.offsetHeight),l.css(e.cropHandler,"top",e.top_y+e.diff_y)),o.jodit.events.fire(e.cropHandler,"updatesize")),t.stopImmediatePropagation())},5)).on(o.jodit.ownerWindow,"resize.jodit_image_editor"+e.jodit.id,function(){o.jodit.events.fire(e.resizeHandler,"updatesize"),e.showCrop(),o.jodit.events.fire(e.cropHandler,"updatesize")}).on(o.jodit.ownerWindow,"mouseup.jodit_image_editor"+e.jodit.id+" keydown.jodit_image_editor"+e.jodit.id,function(t){e.clicked&&(e.clicked=!1,t.stopImmediatePropagation())}),l.$$(".jodit_btn_group",e.editor).forEach(function(t){var o=t.querySelector("input");e.jodit.events.on(t,"click change",function(){l.$$("button",t).forEach(function(e){return e.classList.remove("active")}),this.classList.add("active"),o.checked=!!this.getAttribute("data-yes"),e.jodit.events.fire(o,"change")},"button")}),e.jodit.events.on(o.editor,"click.jodit_image_editor",function(){l.$$(".jodit_image_editor_slider,.jodit_image_editor_area",e.editor).forEach(function(e){return e.classList.remove("active")});var t=this.parentNode;t.classList.add("active"),e.activeTab=t.getAttribute("data-area")||"";var o=e.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_"+e.activeTab);o&&o.classList.add("active"),"crop"===e.activeTab&&e.showCrop()},".jodit_image_editor_slider-title").on(e.widthInput,"change.jodit_image_editor mousedown.jodit_image_editor keydown.jodit_image_editor",l.debounce(function(){var t,n=parseInt(e.widthInput.value,10);e.options.min_width<n&&(l.css(e.image,"width",n+"px"),e.resizeUseRatio&&e.options.min_height<(t=Math.round(n/e.ratio))&&(l.css(e.image,"height",t+"px"),e.heightInput.value=""+t)),o.jodit.events.fire(e.resizeHandler,"updatesize")},200)).on(e.heightInput,"change.jodit_image_editor mousedown.jodit_image_editor keydown.jodit_image_editor",l.debounce(function(){if(!o.isDestructed){var t,n=parseInt(e.heightInput.value,10);e.options.min_height<n&&(l.css(e.image,"height",n+"px"),e.resizeUseRatio&&e.options.min_width<(t=Math.round(n*e.ratio))&&(l.css(e.image,"width",t+"px"),e.widthInput.value=""+t)),o.jodit.events.fire(e.resizeHandler,"updatesize")}},200));var t=e.editor.querySelector(".jodit_image_editor_keep_spect_ratio");t&&t.addEventListener("change",function(){e.resizeUseRatio=t.checked});var n=e.editor.querySelector(".jodit_image_editor_keep_spect_ratio_crop");n&&n.addEventListener("change",function(){e.cropUseRatio=n.checked}),e.jodit.events.on(e.resizeHandler,"updatesize",function(){l.css(e.resizeHandler,{top:0,left:0,width:(e.image.offsetWidth||e.naturalWidth)+"px",height:(e.image.offsetHeight||e.naturalHeight)+"px"}),o.updateResizeBox()}).on(e.cropHandler,"updatesize",function(){if(e.cropImage){var t=l.css(e.cropHandler,"left"),o=l.css(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,i=e.cropHandler.offsetHeight;t<0&&(t=0),o<0&&(o=0),e.cropImage.offsetWidth<t+n&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(i=n/e.ratio)),e.cropImage.offsetHeight<o+i&&(i=e.cropImage.offsetHeight-o,e.cropUseRatio&&(n=i*e.ratio)),l.css(e.cropHandler,{width:n,height:i,left:t,top:o,backgroundPosition:-t-1+"px "+(-o-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}}),e.buttons.forEach(function(t){t.addEventListener("mousedown",function(e){e.stopImmediatePropagation()}),t.addEventListener("click",function(){var o={action:e.activeTab,box:"resize"===e.activeTab?e.resizeBox:e.cropBox};switch(t.getAttribute("data-action")){case"saveas":s.Promt(e.jodit.i18n("Enter new name"),e.jodit.i18n("Save in new file"),function(t){if(!l.trim(t))return s.Alert(e.jodit.i18n("The name should not be empty")),!1;e.onSave(t,o,e.hide,function(e){s.Alert(e.message)})});break;case"save":e.onSave(void 0,o,e.hide,function(e){s.Alert(e.message)});break;case"reset":"resize"===e.activeTab?(l.css(e.image,{width:null,height:null}),e.widthInput.value=""+e.naturalWidth,e.heightInput.value=""+e.naturalHeight,e.jodit.events.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},o.hide=function(){o.dialog.close()},o.open=function(e,t){return new Promise(function(n){var i=(new Date).getTime();o.image=o.jodit.create.element("img"),l.$$("img,.jodit_icon-loader",o.resize_box).forEach(d.Dom.safeRemove),l.$$("img,.jodit_icon-loader",o.crop_box).forEach(d.Dom.safeRemove),l.css(o.cropHandler,"background","transparent"),o.onSave=t,o.resize_box.appendChild(o.jodit.create.element("i",{class:"jodit_icon-loader"})),o.crop_box.appendChild(o.jodit.create.element("i",{class:"jodit_icon-loader"})),o.image.setAttribute("src",e+=/\?/.test(e)?"&_tst="+i:"?_tst="+i),o.dialog.open();var r=function(){o.isDestructed||(o.image.removeEventListener("load",r),o.naturalWidth=o.image.naturalWidth,o.naturalHeight=o.image.naturalHeight,o.widthInput.value=""+o.naturalWidth,o.heightInput.value=""+o.naturalHeight,o.ratio=o.naturalWidth/o.naturalHeight,o.resize_box.appendChild(o.image),o.cropImage=o.image.cloneNode(),o.crop_box.appendChild(o.cropImage),l.$$(".jodit_icon-loader",o.editor).forEach(d.Dom.safeRemove),"crop"===o.activeTab&&o.showCrop(),o.jodit.events.fire(o.resizeHandler,"updatesize"),o.jodit.events.fire(o.cropHandler,"updatesize"),o.dialog.setPosition(),o.jodit.events.fire("afterImageEditor"),n(o.dialog))};o.image.addEventListener("load",r),o.image.complete&&r()})},o.options=t&&t.options?t.options.imageeditor:r.Config.defaultOptions.imageeditor,o.resizeUseRatio=o.options.resizeUseRatio,o.cropUseRatio=o.options.cropUseRatio,o.buttons=[o.jodit.create.fromHTML('<button data-action="reset" type="button" class="jodit_btn">'+c.ToolbarIcon.getIcon("update")+" "+t.i18n("Reset")+"</button>"),o.jodit.create.fromHTML('<button data-action="save" type="button" class="jodit_btn jodit_btn_success">'+c.ToolbarIcon.getIcon("save")+" "+t.i18n("Save")+"</button>"),o.jodit.create.fromHTML('<button data-action="saveas" type="button" class="jodit_btn jodit_btn_success">'+c.ToolbarIcon.getIcon("save")+" "+t.i18n("Save as ...")+"</button>")],o.activeTab=o.options.resize?"resize":"crop",o.editor=o.jodit.create.fromHTML('<form class="jodit_image_editor jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-3-4">'+(o.options.resize?'<div class="jodit_image_editor_area jodit_image_editor_area_resize active">                                <div class="jodit_image_editor_box"></div>                                <div class="jodit_image_editor_resizer">                                    <i class="jodit_bottomright"></i>                                </div>                            </div>':"")+(o.options.crop?'<div class="jodit_image_editor_area jodit_image_editor_area_crop'+(o.options.resize?"":" active")+'">                                <div class="jodit_image_editor_box">                                    <div class="jodit_image_editor_croper">                                        <i class="jodit_bottomright"></i>                                        <i class="jodit_sizes"></i>                                    </div>                                </div>                            </div>':"")+'</div><div class="jodit_col-lg-1-4">'+(o.options.resize?'<div data-area="resize" class="jodit_image_editor_slider active">                                <div class="jodit_image_editor_slider-title">'+c.ToolbarIcon.getIcon("resize")+t.i18n("Resize")+'</div>                                <div class="jodit_image_editor_slider-content">                                    <div class="jodit_form_group">                                        <label for="jodit_image_editor_width">'+t.i18n("Width")+'</label>                                        <input type="number" class="jodit_image_editor_width"/>                                    </div>                                    <div class="jodit_form_group">                                        <label for="jodit_image_editor_height">'+t.i18n("Height")+'</label>                                        <input type="number" class="jodit_image_editor_height"/>                                    </div>                                    <div class="jodit_form_group">                                        <label>'+t.i18n("Keep Aspect Ratio")+'</label>                                        <div class="jodit_btn_group jodit_btn_radio_group">                                            <input '+(o.resizeUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio"/>                                            <button type="button"  data-yes="1"                                                 class="jodit_col6 jodit_btn jodit_btn_success '+(o.resizeUseRatio?"active":"")+'">'+t.i18n("Yes")+'</button>                                            <button type="button" class="jodit_col6 jodit_btn'+(o.resizeUseRatio?"":"active")+'">'+t.i18n("No")+"</button>                                        </div>                                    </div>                                </div>                            </div>":"")+(o.options.crop?'<div data-area="crop" class="jodit_image_editor_slider'+(o.options.resize?"":" active")+'">                                <div class="jodit_image_editor_slider-title">'+c.ToolbarIcon.getIcon("crop")+t.i18n("Crop")+'</div>                                <div class="jodit_image_editor_slider-content">                                    <div class="jodit_form_group">                                        <label>'+t.i18n("Keep Aspect Ratio")+'</label>                                        <div class="jodit_btn_group jodit_btn_radio_group">                                            <input '+(o.cropUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio_crop"/>                                            <button type="button" data-yes="1"                                                 class="jodit_col6 jodit_btn jodit_btn_success '+(o.cropUseRatio?"active":"")+'">'+t.i18n("Yes")+'</button>                                            <button type="button" class="jodit_col6 jodit_btn '+(o.cropUseRatio?"":"active")+'">'+t.i18n("No")+"</button>                                        </div>                                    </div>                                </div>                            </div>":"")+"</div></div></form>"),o.widthInput=o.editor.querySelector(".jodit_image_editor_width"),o.heightInput=o.editor.querySelector(".jodit_image_editor_height"),o.resize_box=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_resize .jodit_image_editor_box"),o.crop_box=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box"),o.sizes=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_sizes"),o.resizeHandler=o.editor.querySelector(".jodit_image_editor_resizer"),o.cropHandler=o.editor.querySelector(".jodit_image_editor_croper"),o.dialog=new s.Dialog(t),o.dialog.setContent(o.editor),o.dialog.setSize(o.options.width,o.options.height),o.dialog.setTitle(o.buttons),o.setHandlers(),o}return i(t,e),t.prototype.destruct=function(){this.isDestructed||(this.dialog&&(this.dialog.destruct(),delete this.dialog),d.Dom.safeRemove(this.editor),delete this.widthInput,delete this.heightInput,delete this.resize_box,delete this.crop_box,delete this.sizes,delete this.resizeHandler,delete this.cropHandler,delete this.editor,this.jodit.events&&this.jodit.events.off(".jodit_image_editor"),e.prototype.destruct.call(this))},t}(a.Component);t.ImageEditor=p},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(35),l=o(3),c=o(0),d=o(12),p=o(7);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,format:"json",prepareData:function(e){return e},isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},process:function(e){return e.data},error:function(e){this.jodit.events.fire("errorMessage",e.message,"error",4e3)},defaultHandlerSuccess:function(e){var t=this;e.files&&e.files.length&&e.files.forEach(function(o,n){var i=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],r=i[0],a=i[1],s=t.jodit.create.inside.element(r);s.setAttribute(a,e.baseurl+o),"a"===r&&(s.innerText=e.baseurl+o),d.isJoditObject(t.jodit)&&("img"===r?t.jodit.selection.insertImage(s,null,t.jodit.options.imageDefaultWidth):t.jodit.selection.insertNode(s))})},defaultHandlerError:function(e){this.jodit.events.fire("errorMessage",e.message)},contentType:function(e){return(void 0===this.jodit.ownerWindow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}};var u=function(e){function t(t,o){var n=e.call(this,t)||this;return n.path="",n.source="default",n.ajaxInstances=[],n.options=l.extend(!0,{},r.Config.defaultOptions.uploader,d.isJoditObject(t)?t.options.uploader:null,o),n}return i(t,e),t.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),i=new Uint8Array(n),r=0;r<t.length;r+=1)i[r]=t.charCodeAt(r);return new Blob([i],{type:o})},t.prototype.buildData=function(e){if(this.options.buildData&&"function"==typeof this.options.buildData)return this.options.buildData.call(this,e);if(void 0===this.jodit.ownerWindow.FormData)return e;if(e instanceof FormData)return e;if("string"==typeof e)return e;var t=new FormData;return Object.keys(e).forEach(function(o){t.append(o,e[o])}),t},t.prototype.send=function(e,t){var o=this,n=this.buildData(e),i=function(e){var n=new s.Ajax(o.jodit||o,{xhr:function(){var e=new XMLHttpRequest;return void 0!==o.jodit.ownerWindow.FormData&&e.upload?e.upload.addEventListener("progress",function(e){if(e.lengthComputable){var t=e.loaded/e.total;t*=100,o.jodit.progress_bar.style.display="block",o.jodit.progress_bar.style.width=t+"%",100===t&&(o.jodit.progress_bar.style.display="none")}},!1):o.jodit.progress_bar.style.display="none",e},method:"POST",data:e,url:o.options.url,headers:o.options.headers,queryBuild:o.options.queryBuild,contentType:o.options.contentType.call(o,e),dataType:o.options.format||"json"});o.ajaxInstances.push(n);var i=function(){var e=o.ajaxInstances.indexOf(n);-1!==e&&o.ajaxInstances.splice(e,1)};return n.send().then(function(e){i(),t.call(o,e)}).catch(function(e){i(),o.options.error.call(o,e)})};return n instanceof Promise?n.then(i).catch(function(e){o.options.error.call(o,e)}):i(n)},t.prototype.sendFiles=function(e,t,o,n){var i=this;if(!e)return Promise.reject(Error("Need files"));var r=this,a=Array.from(e);if(!a.length)return Promise.reject(Error("Need files"));var s=[];if(this.options.insertImageAsBase64URI){var c,d=void 0,p=function(){if((c=a[d])&&c.type){var e=c.type.match(/\/([a-z0-9]+)/i),o=e[1]?e[1].toLowerCase():"";if(-1!=u.options.imagesExtensions.indexOf(o)){var n=new FileReader;s.push(new Promise(function(e,o){n.onerror=o,n.onloadend=function(){var o={baseurl:"",files:[n.result],isImages:[!0]};"function"==typeof(t||r.options.defaultHandlerSuccess)&&(t||r.options.defaultHandlerSuccess).call(r,o),e(o)},n.readAsDataURL(c)})),a[d]=null}}},u=this;for(d=0;d<a.length;d+=1)p()}if((a=a.filter(function(e){return e})).length){var f=new FormData;f.append("path",r.path),f.append("source",r.source);var h=void 0;for(d=0;d<a.length;d+=1)if(h=a[d]){var g=h.type.match(/\/([a-z0-9]+)/i),m=g&&g[1]?g[1].toLowerCase():"",v=a[d].name||(""+Math.random()).replace(".","");if(m){var b=m;["jpeg","jpg"].includes(b)&&(b="jpeg|jpg"),RegExp(".("+b+")$","i").test(v)||(v+="."+m)}f.append("files["+d+"]",a[d],v)}n&&n(f),r.options.data&&l.isPlainObject(r.options.data)&&Object.keys(r.options.data).forEach(function(e){f.append(e,r.options.data[e])}),r.options.prepareData.call(this,f),s.push(r.send(f,function(e){i.options.isSuccess.call(r,e)?"function"==typeof(t||r.options.defaultHandlerSuccess)&&(t||r.options.defaultHandlerSuccess).call(r,r.options.process.call(r,e)):(o||r.options.defaultHandlerError).call(r,Error(r.options.getMessage.call(r,e)))}).then(function(){i.jodit.events&&i.jodit.events.fire("filesWereUploaded")}))}return Promise.all(s)},t.prototype.setPath=function(e){this.path=e},t.prototype.setSource=function(e){this.source=e},t.prototype.bind=function(e,o,n){var i=this,r=this,s=function(e){var s,p,u,f=function(e){p&&(e.append("extension",u),e.append("mimetype",p.type))};if(e.clipboardData&&e.clipboardData.files&&e.clipboardData.files.length)return i.sendFiles(e.clipboardData.files,o,n),!1;if(l.browser("ff")||a.IS_IE){if(e.clipboardData&&!e.clipboardData.types.length&&e.clipboardData.types[0]!==a.TEXT_PLAIN){var h=i.jodit.create.fromHTML('<div tabindex="-1" style="left: -9999px; top: 0; width: 0; height: 100%; line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;" contenteditable="true"></div>');i.jodit.ownerDocument.body.appendChild(h);var g=i.jodit&&d.isJoditObject(i.jodit)?i.jodit.selection.save():null;h.focus(),setTimeout(function(){var e=h.firstChild;if(c.Dom.safeRemove(h),e&&e.hasAttribute("src")){var a=e.getAttribute("src")||"";g&&i.jodit&&d.isJoditObject(i.jodit)&&i.jodit.selection.restore(g),r.sendFiles([t.dataURItoBlob(a)],o,n)}},200)}}else if(e.clipboardData&&e.clipboardData.items&&e.clipboardData.items.length)for(s=0;s<e.clipboardData.items.length;s+=1)if("file"===e.clipboardData.items[s].kind&&"image/png"===e.clipboardData.items[s].type){if(p=e.clipboardData.items[s].getAsFile()){var m=p.type.match(/\/([a-z0-9]+)/i);u=m[1]?m[1].toLowerCase():"",i.sendFiles([p],o,n,f)}e.preventDefault();break}};this.jodit&&this.jodit.editor!==e?r.jodit.events.on(e,"paste",s):r.jodit.events.on("beforePaste",s);var p=function(e){return!(!e.dataTransfer||!e.dataTransfer.files||0===e.dataTransfer.files.length)};r.jodit.events.on(e,"dragend dragover dragenter dragleave drop",function(e){e.preventDefault()}).on(e,"dragover",function(t){p(t)&&(e.classList.contains("jodit_draghover")||e.classList.add("jodit_draghover"),t.preventDefault())}).on(e,"dragend",function(t){p(t)&&(e.classList.contains("jodit_draghover")&&e.classList.remove("jodit_draghover"),t.preventDefault())}).on(e,"drop",function(t){e.classList.remove("jodit_draghover"),p(t)&&t.dataTransfer&&t.dataTransfer.files&&(t.preventDefault(),t.stopImmediatePropagation(),i.sendFiles(t.dataTransfer.files,o,n))});var u=e.querySelector("input[type=file]");u&&r.jodit.events.on(u,"change",function(){r.sendFiles(this.files,o,n).then(function(){u.value="",/safari/i.test(navigator.userAgent)||(u.type="",u.type="file")})})},t.prototype.uploadRemoteImage=function(e,t,o){var n=this,i=this;i.send({action:"fileUploadRemote",url:e},function(e){if(i.options.isSuccess.call(i,e))"function"==typeof t?t.call(i,n.options.process.call(n,e)):n.options.defaultHandlerSuccess.call(i,n.options.process.call(n,e));else if("function"==typeof(o||i.options.defaultHandlerError))return void(o||n.options.defaultHandlerError).call(i,Error(i.options.getMessage.call(n,e)))})},t.prototype.destruct=function(){this.ajaxInstances.forEach(function(e){try{e.abort()}catch(e){}}),delete this.options,e.prototype.destruct.call(this)},t}(p.Component);t.Uploader=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(133);t.addNewLine=n.addNewLine;var i=o(134);t.autofocus=i.autofocus;var r=o(135);t.backspace=r.backspace;var a=o(136);t.bold=a.bold;var s=o(137);t.cleanHtml=s.cleanHtml;var l=o(138);t.color=l.color,o(139);var c=o(140);t.enter=c.enter;var d=o(141);t.errorMessages=d.errorMessages;var p=o(142);t.font=p.font;var u=o(143);t.formatBlock=u.formatBlock;var f=o(144);t.fullsize=f.fullsize;var h=o(145);t.iframe=h.iframe;var g=o(146);t.indent=g.indent;var m=o(147);t.imageProcessor=m.imageProcessor;var v=o(148);t.imageProperties=v.imageProperties;var b=o(149);t.inlinePopup=b.inlinePopup;var y=o(150);t.justify=y.justify;var _=o(151);t.link=_.link;var x=o(152);t.limit=x.limit;var w=o(153);t.media=w.media;var k=o(154);t.mobile=k.mobile;var j=o(155);t.orderedlist=j.orderedlist;var C=o(156);t.paste=C.paste;var A=o(157);t.placeholder=A.placeholder;var M=o(158);t.redoundo=M.redoundo;var S=o(159);t.resizer=S.resizer;var T=o(160);t.size=T.size;var E=o(161);t.source=E.source;var z=o(162);t.symbols=z.symbols;var D=o(163);t.hotkeys=D.hotkeys;var L=o(164);t.table=L.TableProcessor;var I=o(165);t.tableKeyboardNavigation=I.tableKeyboardNavigation;var P=o(166);t.search=P.search;var q=o(167);t.sticky=q.sticky;var O=o(168);t.stat=O.stat;var N=o(169);t.xpath=N.xpath;var R=o(170);t.DragAndDropElement=R.DragAndDropElement;var B=o(171);t.DragAndDrop=B.DragAndDrop;var H=o(172);t.pasteStorage=H.pasteStorage},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(4),a=o(23),s=o(5);n.Config.prototype.addNewLine=!0,n.Config.prototype.addNewLineOnDBLClick=!0,n.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","jodit"],t.addNewLine=function(e){if(e.options.addNewLine){var t,o,n=e.create.fromHTML('<div role="button" tabIndex="-1" title="'+e.i18n("Break")+'" class="jodit-add-new-line"><span>'+s.ToolbarIcon.getIcon("enter")+"</span></div>"),l=RegExp("^("+e.options.addNewLineTagsTriggers.join("|")+")$","i"),c=!1,d=!1,p=!1,u=function(){clearTimeout(t),p=!1,n.style.display="none",c=!0},f=function(t){return null!==t&&i.Dom.isBlock(t,e.editorWindow)&&!/^(img|table|iframe|hr)$/i.test(t.nodeName)},h=function(){c||p||(clearTimeout(t),t=r.setTimeout(u,500))};e.events.on("beforeDestruct",function(){i.Dom.safeRemove(n)}).on("afterInit",function(){e.container.appendChild(n),e.events.on(n,"mousemove",function(e){e.stopPropagation()}).on(n,"mousedown touchstart",function(t){var n=e.editorDocument.createElement(e.options.enter);d&&o&&o.parentNode?o.parentNode.insertBefore(n,o):e.editor.appendChild(n),e.selection.setCursorIn(n),e.events.fire("synchro"),u(),t.preventDefault()})}).on("afterInit",function(){e.events.on(e.editor,"scroll",function(){u()}).on(e.container,"mouseleave",h).on(n,"mouseenter",function(){clearTimeout(t),p=!0}).on(n,"mouseleave",function(){p=!1}).on(e.editor,"dblclick",function(t){if(!e.options.readonly&&e.options.addNewLineOnDBLClick&&t.target===e.editor&&e.selection.isCollapsed()){var o=a.offset(e.editor,e,e.editorDocument),n=t.pageY-e.editorWindow.pageYOffset,i=e.editorDocument.createElement(e.options.enter);Math.abs(n-o.top)<Math.abs(n-(o.height+o.top))&&e.editor.firstChild?e.editor.insertBefore(i,e.editor.firstChild):e.editor.appendChild(i),e.selection.setCursorIn(i),e.setEditorValue(),u(),t.preventDefault()}}).on(e.editor,"mousemove",r.debounce(function(r){var s=e.editorDocument.elementFromPoint(r.pageX-e.editorWindow.pageXOffset,r.pageY-e.editorWindow.pageYOffset);if((!s||!i.Dom.isOrContains(n,s))&&s&&i.Dom.isOrContains(e.editor,s))if(s&&s.nodeName.match(l)&&i.Dom.isOrContains(e.editor,s)||(s=i.Dom.closest(s,l,e.editor))){if(l.test(s.nodeName)){var p=i.Dom.up(s,function(t){return i.Dom.isBlock(t,e.editorWindow)},e.editor);p&&p!==e.editor&&(s=p)}var u=a.offset(e.editor,e,e.editorDocument),g=a.offset(s,e,e.editorDocument),m=!1;Math.abs(r.pageY-g.top)<10&&((m=g.top)-u.top<20||(m-=15),d=!0),Math.abs(r.pageY-(g.top+g.height))<10&&(u.top+u.height-(m=g.top+g.height)<25||(m+=15),d=!1),!1!==m&&(d&&!i.Dom.prev(s,f,e.editor)||!d&&!i.Dom.next(s,f,e.editor))?(n.style.top=m+"px",o=s,e.options.readonly||e.isLocked()||e.container.classList.contains("jodit_popup_active")||(clearTimeout(t),n.classList.toggle("jodit-add-new-line_after",!d),n.style.display="block",n.style.width=e.editor.clientWidth+"px",c=!1)):(o=!1,h())}else h()},e.defaultTimeout))})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(4);n.Config.prototype.autofocus=!1,t.autofocus=function(e){var t;e.events.on("afterInit",function(){e.options.autofocus&&(e.defaultTimeout?t=r.setTimeout(e.selection.focus,300):e.selection.focus())}).on("mousedown",function(t){e.isEditorMode()&&t.target&&i.Dom.isBlock(t.target,e.editorWindow)&&!t.target.childNodes.length&&(e.editor===t.target?e.selection.focus():e.selection.setCursorIn(t.target))}).on("beforeDestruct",function(){clearTimeout(t)})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(2),r=o(0),a=o(3);t.backspace=function(e){var t=function(t){var o,i=t;a.normalizeNode(t);do{var s=i.innerHTML.replace(n.INVISIBLE_SPACE_REG_EXP,"");if(s.length&&"<br>"!==s||r.Dom.isCell(i,e.editorWindow)||!i.parentNode||t===e.editor)break;o=i.parentNode,r.Dom.safeRemove(i),i=o}while(i&&i!==e.editor)},o=function(t,i,a){if(t.node&&t.node.nodeType===Node.TEXT_NODE&&"string"==typeof t.node.nodeValue){for(var s=t.node.nodeValue,l=i?s.length:0,c=i?-1:1,d=l;0<=l&&l<=s.length&&s[l+(i?-1:0)]===n.INVISIBLE_SPACE;)l+=c;l!==d&&(i?s=s.substr(0,l)+s.substr(d):(s=s.substr(0,d)+s.substr(l),l=d),t.node.nodeValue=s),a.setStart(t.node,l),a.collapse(!0),e.selection.selectRange(a);var p=r.Dom.findInline(t.node,i,e.editor);if(s.length){var u=!1;if(i?l&&(u=!0):l<s.length&&(u=!0),u)return!0}else a.setStartBefore(t.node),a.collapse(!0),e.selection.selectRange(a),r.Dom.safeRemove(t.node),t.node=p;if(p&&(r.Dom.isInlineBlock(p)&&(p=i?p.lastChild:p.firstChild),p&&p.nodeType===Node.TEXT_NODE))return t.node=p,o(t,i,a)}},s=i.MAY_BE_REMOVED_WITH_KEY,l=function(e){if(e&&s.test(e.nodeName))return r.Dom.safeRemove(e),!1},c=function(t,n,i){if(t.node){var r=t.node;if(void 0!==o(t,n,i))return!0;if(t.node||(t.node=r.parentNode),t.node===e.editor)return!1;var a=t.node;if(!1===l(a))return!1;for(a&&(a=n?a.previousSibling:a.nextSibling);a&&a.nodeType===Node.TEXT_NODE&&a.nodeValue&&a.nodeValue.match(/^[\n\r]+$/);)a=n?a.previousSibling:a.nextSibling;return l(a)}},d=function(e){return!(null!==e.nodeName.match(/^(TD|TH|TR|TABLE|LI)$/)||!r.Dom.isEmpty(e)&&null===e.nodeName.match(s)&&(e.nodeType===Node.TEXT_NODE&&!r.Dom.isEmptyTextNode(e)||e.childNodes.length&&!Array.from(e.childNodes).every(d)))};e.events.on("afterCommand",function(t){if("delete"===t){var o=e.selection.current();if(o&&o.firstChild&&"BR"===o.firstChild.nodeName&&r.Dom.safeRemove(o.firstChild),!(a.trim(e.editor.innerText)||e.editor.querySelector("img")||o&&r.Dom.closest(o,"table",e.editor))){e.editor.innerHTML="";var n=e.selection.setCursorIn(e.editor);r.Dom.safeRemove(n)}}}).on("keydown",function(o){if(o.which===n.KEY_BACKSPACE||o.which===n.KEY_DELETE){var i=o.which===n.KEY_BACKSPACE;if(e.selection.isFocused()||e.selection.focus(),!e.selection.isCollapsed())return e.execCommand("Delete"),!1;var s=e.editorWindow.getSelection(),l=!!s.rangeCount&&s.getRangeAt(0);if(!l)return!1;var p=e.ownerDocument.createTextNode(n.INVISIBLE_SPACE),u=e.editorDocument.createElement("span");try{if(l.insertNode(p),!r.Dom.isOrContains(e.editor,p))return!1;var f=r.Dom.up(p,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor),h=r.Dom.findInline(p,i,e.editor),g={node:h},m=void 0;if(h?m=c(g,i,l):p.parentNode&&(m=c({node:i?p.parentNode.previousSibling:p.parentNode.nextSibling},i,l)),void 0!==m)return!!m&&void 0;if(f&&f.nodeName.match(/^(TD)$/))return!1;var v=i?r.Dom.prev(g.node||p,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor):r.Dom.next(g.node||p,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor);if(!v&&f&&f.parentNode){v=e.create.inside.element(e.options.enter);for(var b=f;b&&b.parentNode&&b.parentNode!==e.editor;)b=b.parentNode;b.parentNode&&b.parentNode.insertBefore(v,b)}else if(v&&d(v))return r.Dom.safeRemove(v),!1;if(v){var y=e.selection.setCursorIn(v,!i);e.selection.insertNode(u,!1,!1),y.nodeType===Node.TEXT_NODE&&y.nodeValue===n.INVISIBLE_SPACE&&r.Dom.safeRemove(y)}if(f){if(t(f),v&&f.parentNode&&(f.nodeName===v.nodeName&&f.parentNode&&v.parentNode&&f.parentNode!==e.editor&&v.parentNode!==e.editor&&f.parentNode!==v.parentNode&&f.parentNode.nodeName===v.parentNode.nodeName&&(f=f.parentNode,v=v.parentNode),r.Dom.moveContent(f,v,!i),a.normalizeNode(v)),v&&"LI"===v.nodeName){var _=r.Dom.closest(v,"Ul|OL",e.editor);if(_){var x=_.nextSibling;x&&x.nodeName===_.nodeName&&_!==x&&(r.Dom.moveContent(x,_,!i),r.Dom.safeRemove(x))}}return t(f),!1}}finally{if(p.parentNode&&p.nodeValue===n.INVISIBLE_SPACE){var w=p.parentNode;r.Dom.safeRemove(p),!w.firstChild&&w.parentNode&&w!==e.editor&&r.Dom.safeRemove(w)}u&&r.Dom.isOrContains(e.editor,u,!0)&&(y=e.selection.setCursorBefore(u),r.Dom.safeRemove(u),y&&y.parentNode&&(r.Dom.findInline(y,!0,y.parentNode)||r.Dom.findInline(y,!0,y.parentNode))&&r.Dom.safeRemove(y)),e.setEditorValue()}return!1}})}},function(e,t,o){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=o(1);i.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},i.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},i.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},i.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},i.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration":"underline"},tooltip:"Underline"},i.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration":"line-through"},tooltip:"Strike through"},t.bold=function(e){var t=function(t){var o=i.Config.defaultOptions.controls[t],r=n({},o.css),a={};return Object.keys(r).forEach(function(e){a[e]=Array.isArray(r[e])?r[e][0]:r[e]}),e.selection.applyCSS(a,o.tags?o.tags[0]:void 0,o.css),e.events.fire("synchro"),!1};e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(2),a=o(0),s=o(3);n.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,cleanOnPaste:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:!1},n.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},t.cleanHtml=function(e){e.options.cleanHTML.cleanOnPaste&&e.events.on("processPaste",function(e,t){return s.cleanFromWord(t)});var t,o=/([^\[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,l=/^(.*)[\s]*=[\s]*(.*)$/,c=function(e){var t={};return"string"==typeof e?(e.split(n).map(function(e){e=s.trim(e);var i=o.exec(e),r={};if(i){var a=i[2].split(n);i[1]&&(a.forEach(function(e){e=s.trim(e);var t=l.exec(e);t?r[t[1]]=t[2]:r[e]=!0}),t[i[1].toUpperCase()]=r)}else t[e.toUpperCase()]=!0}),t):!!e&&(Object.keys(e).forEach(function(o){t[o.toUpperCase()]=e[o]}),t)},d=c(e.options.cleanHTML.allowTags),p=c(e.options.cleanHTML.denyTags),u=function(e,t){void 0===t&&(t=!1);for(var o=t?e.nextSibling:e.previousSibling;o;){if(o.nodeType===Node.ELEMENT_NODE||!a.Dom.isEmptyTextNode(o))return!0;o=t?o.nextSibling:o.previousSibling}return!1};e.events.on("change afterSetMode afterInit mousedown keydown",s.debounce(function(){if(!e.isDestructed&&e.isEditorMode()&&e.selection){t=e.selection.current();var o=null,n=!1,i=0,l=[],c=e.options.cleanHTML.replaceOldTags;if(c&&t){var f=Object.keys(c).join("|");if(e.selection.isCollapsed()){var h=a.Dom.closest(t,f,e.editor);if(h){var g=e.selection.save(),m=c[h.nodeName.toLowerCase()]||c[h.nodeName];a.Dom.replace(h,m,!0,!1,e.editorDocument),e.selection.restore(g)}}}var v=function(o){if(o){if((g=o).nodeType!==Node.TEXT_NODE&&(d&&!d[g.nodeName]||p&&p[g.nodeName])||t&&"BR"===g.nodeName&&u(g)&&!u(g,!0)&&a.Dom.up(g,function(t){return a.Dom.isBlock(t,e.editorWindow)},e.editor)!==a.Dom.up(t,function(t){return a.Dom.isBlock(t,e.editorWindow)},e.editor)||e.options.cleanHTML.removeEmptyElements&&!1!==t&&g.nodeType===Node.ELEMENT_NODE&&null!==g.nodeName.match(r.IS_INLINE)&&!e.selection.isMarker(g)&&0===s.trim(g.innerHTML).length&&!a.Dom.isOrContains(g,t))return l.push(o),v(o.nextSibling);if(e.options.cleanHTML.fillEmptyParagraph&&a.Dom.isBlock(o,e.editorWindow)&&a.Dom.isEmpty(o,/^(img|svg|canvas|input|textarea|form|br)$/)){var c=e.create.inside.element("br");o.appendChild(c)}if(d&&!0!==d[o.nodeName]){var f=o.attributes;if(f&&f.length){var h=[];for(i=0;i<f.length;i+=1)(!d[o.nodeName][f[i].name]||!0!==d[o.nodeName][f[i].name]&&d[o.nodeName][f[i].name]!==f[i].value)&&h.push(f[i].name);h.length&&(n=!0),h.forEach(function(e){o.removeAttribute(e)})}}v(o.firstChild),v(o.nextSibling)}var g};e.editor.firstChild&&(o=e.editor.firstChild),v(o),l.forEach(a.Dom.safeRemove),(l.length||n)&&e.events&&e.events.fire("syncho")}},e.options.cleanHTML.timeout)).on("keyup",function(){if(!e.options.readonly){var t=e.selection.current();if(t){var o=a.Dom.up(t,function(t){return a.Dom.isBlock(t,e.editorWindow)},e.editor);o&&a.Dom.all(o,function(o){o&&o.nodeType===Node.TEXT_NODE&&null!==o.nodeValue&&i.INVISIBLE_SPACE_REG_EXP.test(o.nodeValue)&&0!==o.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,"").length&&(o.nodeValue=o.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,""),o===t&&e.selection.isCollapsed()&&e.selection.setCursorAfter(o))})}}}).on("afterCommand",function(t){var o,n,r=e.selection;switch(t.toLowerCase()){case"inserthorizontalrule":(o=e.editor.querySelector("hr[id=null]"))&&((n=a.Dom.next(o,function(t){return a.Dom.isBlock(t,e.editorWindow)},e.editor,!1))||(n=e.create.inside.element(e.options.enter))&&a.Dom.after(o,n),r.setCursorIn(n));break;case"removeformat":n=r.current();var l=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:a.Dom.each(t,l),"FONT"===t.nodeName?a.Dom.unwrap(t):([].slice.call(t.attributes).forEach(function(e){-1==["src","href","rel","content"].indexOf(e.name.toLowerCase())&&t.removeAttribute(e.name)}),s.normalizeNode(t));break;case Node.TEXT_NODE:e.options.cleanHTML.replaceNBSP&&t.nodeType===Node.TEXT_NODE&&null!==t.nodeValue&&t.nodeValue.match(i.SPACE_REG_EXP)&&(t.nodeValue=t.nodeValue.replace(i.SPACE_REG_EXP," "));break;default:a.Dom.safeRemove(t)}};if(r.isCollapsed())for(;n&&n.nodeType!==Node.ELEMENT_NODE&&n!==e.editor;)l(n),n&&(n=n.parentNode);else e.selection.eachSelection(function(e){l(e)})}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(14),r=i.Widget.TabsWidget,a=i.Widget.ColorPickerWidget,s=o(0),l=o(3);n.Config.prototype.controls.brush={isActive:function(e,t,o){if(!o)return!0;var n=e.selection.current(),i=o.container.querySelector("svg");if(n){var r=s.Dom.closest(n,function(t){return s.Dom.isBlock(t,e.editorWindow)||t&&s.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor,a=""+l.css(r,"color"),c=""+l.css(r,"background-color");if(a!==""+l.css(e.editor,"color"))return i&&(i.style.fill=a),!0;if(c!==""+l.css(e.editor,"background-color"))return i&&(i.style.fill=c),!0}return i&&i.style.fill&&(i.style.fill=null),!1},popup:function(e,t,o,n){var i="",c="",d=null;t&&t!==e.editor&&s.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE&&(i=""+l.css(t,"color"),c=""+l.css(t,"background-color"),d=t);var p=a(e,function(t){d?d.style.backgroundColor=t:e.execCommand("background",!1,t),n()},c),u=a(e,function(t){d?d.style.color=t:e.execCommand("forecolor",!1,t),n()},i);return r(e,"background"===e.options.colorPickerDefaultTab?{Background:p,Text:u}:{Text:u,Background:p},d)},tooltip:"Fill color or set the text color"},t.color=function(e){var t=function(t,o,n){var i=l.normalizeColor(n);switch(t){case"background":e.selection.applyCSS({backgroundColor:i||""});break;case"forecolor":e.selection.applyCSS({color:i||""})}return e.setEditorValue(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(3),a="copyformat",s=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],l=function(e,t,o,n){var i=r.css(o,t);return i===n[t]&&(i=o.parentNode&&o!==e.editor&&o.parentNode!==e.editor?l(e,t,o.parentNode,n):void 0),i};n.Config.prototype.controls.copyformat={exec:function(e,t){if(t)if(e.buffer[a])e.buffer[a]=!1,e.events.off(e.editor,"mouseup."+a);else{var o={},n=i.Dom.up(t,function(e){return e&&e.nodeType!==Node.TEXT_NODE},e.editor)||e.editor,c=e.create.inside.span();e.editor.appendChild(c),s.forEach(function(e){o[e]=r.css(c,e)}),c!==e.editor&&i.Dom.safeRemove(c);var d=(p=e,f=o,h={},(u=n)&&s.forEach(function(e){h[e]=l(p,e,u,f),e.match(/border(Style|Color)/)&&!h.borderWidth&&(h[e]=void 0)}),h);e.events.on(e.editor,"mouseup."+a,function(){e.buffer[a]=!1;var t=e.selection.current();t&&("IMG"===t.nodeName?r.css(t,d):e.selection.applyCSS(d)),e.events.off(e.editor,"mouseup."+a)}),e.buffer[a]=!0}var p,u,f,h},isActive:function(e){return!!e.buffer[a]},tooltip:"Paint format"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0),r=o(3);t.insertParagraph=function(e,t,o,n){var a=e.create.inside.element(o),s=e.create.inside.element("br");a.appendChild(s),n&&n.cssText&&a.setAttribute("style",n.cssText),e.selection.insertNode(a,!1,!1),e.selection.setCursorBefore(s);var l=e.editorDocument.createRange();return l.setStartBefore("br"!==o.toLowerCase()?s:a),l.collapse(!0),e.selection.selectRange(l),i.Dom.safeRemove(t),r.scrollIntoView(a,e.editor,e.editorDocument),e.events&&e.events.fire("synchro"),a},t.enter=function(e){e.options.enterBlock||(e.options.enterBlock="br"===e.options.enter.toLowerCase()?n.PARAGRAPH:e.options.enter.toLowerCase()),e.events.on("keydown",function(o){if(o.which===n.KEY_ENTER){var a=e.events.fire("beforeEnter",o);if(void 0!==a)return a;e.selection.isCollapsed()||e.execCommand("Delete"),e.selection.focus();var s=e.selection.current(!1),l=e.editorWindow.getSelection(),c=l.rangeCount?l.getRangeAt(0):e.editorDocument.createRange();s&&s!==e.editor||(e.selection.current(),s=e.create.inside.text(n.INVISIBLE_SPACE),l.rangeCount?c.insertNode(s):e.editor.appendChild(s),c.selectNode(s),c.collapse(!1),l.removeAllRanges(),l.addRange(c));var d=!!s&&i.Dom.up(s,function(t){return i.Dom.isBlock(t,e.editorWindow)},e.editor),p=d&&"LI"===d.nodeName;if(!p&&(e.options.enter.toLowerCase()===n.BR.toLowerCase()||o.shiftKey||i.Dom.closest(s,"PRE|BLOCKQUOTE",e.editor))){var u=e.create.inside.element("br");return e.selection.insertNode(u,!0),r.scrollIntoView(u,e.editor,e.editorDocument),!1}if(!d&&s&&!i.Dom.prev(s,function(t){return i.Dom.isBlock(t,e.editorWindow)||!!t&&i.Dom.isImage(t,e.editorWindow)},e.editor)){var f=s;if(i.Dom.up(f,function(t){t&&t.hasChildNodes()&&t!==e.editor&&(f=t)},e.editor),d=i.Dom.wrapInline(f,e.options.enter,e),i.Dom.isEmpty(d)){var h=e.editorDocument.createElement("br");d.appendChild(h),e.selection.setCursorBefore(h)}c=l.rangeCount?l.getRangeAt(0):e.editorDocument.createRange()}var g=!1,m=!1;if(d){if(!i.Dom.canSplitBlock(d,e.editorWindow))return u=e.create.inside.element("br"),e.selection.insertNode(u,!1),e.selection.setCursorAfter(u),!1;if(p&&i.Dom.isEmpty(d)){var v=!1,b=i.Dom.closest(d,"ol|ul",e.editor);if(i.Dom.prev(d,function(e){return e&&"LI"===e.nodeName},b))if(i.Dom.next(d,function(e){return e&&"LI"===e.nodeName},b)){(_=e.editorDocument.createRange()).setStartBefore(b),_.setEndAfter(d);var y=_.extractContents();b.parentNode&&b.parentNode.insertBefore(y,b),v=e.selection.setCursorBefore(b)}else v=e.selection.setCursorAfter(b);else v=e.selection.setCursorBefore(b);return i.Dom.safeRemove(d),t.insertParagraph(e,v,e.options.enter),r.$$("li",b).length||i.Dom.safeRemove(b),!1}if(e.selection.cursorInTheEdge(!0,d))return g=e.selection.setCursorBefore(d),t.insertParagraph(e,g,p?"li":e.options.enter,d.style),d&&e.selection.setCursorIn(d,!0),!1;var _;!1===e.selection.cursorInTheEdge(!1,d)?((_=e.editorDocument.createRange()).setStartBefore(d),_.setEnd(c.startContainer,c.startOffset),y=_.extractContents(),d.parentNode&&d.parentNode.insertBefore(y,d),e.selection.setCursorIn(d,!0)):g=e.selection.setCursorAfter(d)}else m=!0;return(m||g)&&t.insertParagraph(e,g,p?"li":e.options.enter,d?d.style:void 0),!1}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(4),a=o(3);n.Config.prototype.showMessageErrors=!0,n.Config.prototype.showMessageErrorTime=3e3,n.Config.prototype.showMessageErrorOffsetPx=3,t.errorMessages=function(e){if(e.options.showMessageErrors){var t,o=e.create.div("jodit_error_box_for_messages"),n=function(){t=5,Array.from(o.childNodes).forEach(function(n){a.css(o,"bottom",t+"px"),t+=n.offsetWidth+e.options.showMessageErrorOffsetPx})};e.workplace.appendChild(o),e.events.on("beforeDestruct",function(){i.Dom.safeRemove(o)}).on("errorMessage",function(t,a,s){var l=e.create.div("active "+(a||""),t);o.appendChild(l),n(),r.setTimeout(function(){l.classList.remove("active"),r.setTimeout(function(){i.Dom.safeRemove(l),n()},300)},s||e.options.showMessageErrorTime)})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(3);n.Config.prototype.controls.fontsize={command:"fontSize",list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],template:function(e,t,o){return o},tooltip:"Font size",isActiveChild:function(e,t){var o=e.selection.current();if(o){var n=i.Dom.closest(o,function(t){return i.Dom.isBlock(t,e.editorWindow)||t&&i.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor,a=r.css(n,"font-size");return!(!a||!t.args||""+t.args[1]!=""+a)}return!1},isActive:function(e){var t=e.selection.current();if(t){var o=i.Dom.closest(t,function(t){return i.Dom.isBlock(t,e.editorWindow)||t&&i.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor;return""+r.css(o,"font-size")!=""+r.css(e.editor,"font-size")}return!1}},n.Config.prototype.controls.font={command:"fontname",exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},list:{"Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","'Times New Roman',Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},template:function(e,t,o){return'<span style="font-family: '+t+'">'+o+"</span>"},isActiveChild:function(e,t){var o=e.selection.current(),n=function(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")};if(o){var a=i.Dom.closest(o,function(t){return i.Dom.isBlock(t,e.editorWindow)||t&&i.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor,s=""+r.css(a,"font-family");return!(!s||!t.args||n(""+t.args[0])!==n(s))}return!1},isActive:function(e){var t=e.selection.current();if(t){var o=i.Dom.closest(t,function(t){return i.Dom.isBlock(t,e.editorWindow)||i.Dom.isNode(t,e.editorWindow)&&t&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor;return""+r.css(o,"font-family")!=""+r.css(e.editor,"font-family")}return!1},tooltip:"Font family"},t.font=function(e){var t=function(t,o,n){switch(t){case"fontsize":e.selection.applyCSS({fontSize:r.normalizeSize(n)});break;case"fontname":e.selection.applyCSS({fontFamily:n})}return e.events.fire("synchro"),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(0);n.Config.prototype.controls.paragraph={command:"formatBlock",getLabel:function(e,t,o){var n=e.selection.current();if(n&&e.options.textIcons){var i=(r.Dom.closest(n,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor)||e.editor).nodeName.toLowerCase();o&&t.data&&t.data.currentValue!==i&&t.list&&t.list[i]&&(o.textBox.innerHTML="<span>"+t.list[i]+"</span>",o.textBox.firstChild.classList.add("jodit_icon"),t.data.currentValue=i)}return!1},exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote"},isActiveChild:function(e,t){var o=e.selection.current();if(o){var n=r.Dom.closest(o,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor);return n&&n!==e.editor&&void 0!==t.args&&n.nodeName.toLowerCase()===t.args[0]}return!1},isActive:function(e,t){var o=e.selection.current();if(o){var n=r.Dom.closest(o,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor);return n&&n!==e.editor&&void 0!==t.list&&"p"!==n.nodeName.toLowerCase()&&void 0!==t.list[n.nodeName.toLowerCase()]}return!1},template:function(e,t,o){return"<"+t+' class="jodit_list_element"><span>'+e.i18n(o)+"</span></"+t+"></li>"},tooltip:"Insert format block"},t.formatBlock=function(e){e.registerCommand("formatblock",function(t,o,n){e.selection.focus();var a=!1;if(e.selection.eachSelection(function(t){var o=e.selection.save(),i=!!t&&r.Dom.up(t,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor);i&&"LI"!==i.nodeName||!t||(i=r.Dom.wrapInline(t,e.options.enter,e)),i&&(i.tagName.match(/TD|TH|TBODY|TABLE|THEAD/i)?e.selection.isCollapsed()?r.Dom.wrapInline(t,n,e):e.selection.applyCSS({},n):n===e.options.enterBlock.toLowerCase()&&i.parentNode&&"LI"===i.parentNode.nodeName?r.Dom.unwrap(i):r.Dom.replace(i,n,!0,!1,e.editorDocument),a=!0),e.selection.restore(o)}),!a){var s=e.editorDocument.createElement(n);s.innerHTML=i.INVISIBLE_SPACE,e.selection.insertNode(s,!1),e.selection.setCursorIn(s)}return e.setEditorValue(),!1})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(3),a=o(5);n.Config.prototype.fullsize=!1,n.Config.prototype.globalFullsize=!0,n.Config.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},isActive:function(e){return e.isFullSize()},getLabel:function(e,t,o){var n=e.isFullSize()?"shrink":"fullsize";o&&(o.textBox.innerHTML=e.options.textIcons?"<span>"+e.i18n(n)+"</span>":a.ToolbarIcon.getIcon(n),o.textBox.firstChild.classList.add("jodit_icon"))},tooltip:"Open editor in fullsize",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},t.fullsize=function(e){var t=!1,o=0,n=0,i=!1,a=function(){e.events&&(t?(o=r.css(e.container,"height"),n=r.css(e.container,"width"),r.css(e.container,{height:e.ownerWindow.innerHeight,width:e.ownerWindow.innerWidth}),i=!0):i&&r.css(e.container,{height:o||"auto",width:n||"auto"}))},s=function(o){if(e.container){if(void 0===o&&(o=!e.container.classList.contains("jodit_fullsize")),e.options.fullsize=!!o,e.container.classList.toggle("jodit_fullsize",t=o),e.toolbar&&r.css(e.toolbar.container,"width","auto"),e.options.globalFullsize){for(var n=e.container.parentNode;n&&!(n instanceof Document);)n.classList.toggle("jodit_fullsize_box",o),n=n.parentNode;a()}e.events.fire("afterResize")}};e.options.globalFullsize&&e.events.on(e.ownerWindow,"resize",a),e.events.on("afterInit afterOpen",function(){e.toggleFullSize(e.options.fullsize)}).on("toggleFullSize",s).on("beforeDestruct beforeClose",function(){s(!1)}).on("beforeDestruct",function(){e.events&&e.events.off(e.ownerWindow,"resize",a)})}},function(e,t,o){"use strict";var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(i,r){function a(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){e.done?i(e.value):new o(function(t){t(e.value)}).then(a,s)}l((n=n.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var o,n,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(i=2&r[0]?n.return:r[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,n=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=0<(i=a.trys).length&&i[i.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!i||i[0]<r[1]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],n=0}finally{o=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(52),s=o(4),l=o(8);r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin: 0px;min-height: 100%;}body{box-sizing: border-box;font-size: 13px;    line-height: 1.6;padding:10px;background:transparent;color:#000;position:relative;z-index: 2;user-select:auto;margin:0px;overflow:auto;}table{width:100%;border: none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}td[data-jodit-selected-cell],th[data-jodit-selected-cell]{border: 1px double #1e88e5}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[],t.iframe=function(e){var t=this;e.events.on("afterSetMode",function(){e.isEditorMode()&&e.selection.focus()}).on("generateDocumentStructure.iframe",function(e,t){var o=e||t.iframe.contentWindow.document;if(o.open(),o.write('<!DOCTYPE html><html dir="'+t.options.direction+'" class="jodit" lang="'+a.defaultLanguage(t.options.language)+'"><head><title>Jodit Editor</title>'+(t.options.iframeBaseUrl?'<base href="'+t.options.iframeBaseUrl+'"/>':"")+'</head><body class="jodit_wysiwyg" style="outline:none" contenteditable="true"></body></html>'),o.close(),t.options.iframeCSSLinks&&t.options.iframeCSSLinks.forEach(function(e){var t=o.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),o.head&&o.head.appendChild(t)}),t.options.iframeStyle){var n=o.createElement("style");n.innerHTML=t.options.iframeStyle,o.head&&o.head.appendChild(n)}}).on("createEditor",function(){return n(t,void 0,void 0,function(){var t,o;return i(this,function(n){switch(n.label){case 0:return e.options.iframe?(delete e.editor,e.iframe=e.ownerDocument.createElement("iframe"),e.iframe.style.display="block",e.iframe.src="about:blank",e.iframe.className="jodit_wysiwyg_iframe",e.iframe.setAttribute("allowtransparency","true"),e.iframe.setAttribute("tabindex","0"),e.iframe.setAttribute("frameborder","0"),e.workplace.appendChild(e.iframe),[4,e.events.fire("generateDocumentStructure.iframe",null,e)]):[2];case 1:return n.sent(),e.editorDocument=t=e.iframe.contentWindow.document,e.editorWindow=e.iframe.contentWindow,e.create.inside.setDocument(t),e.editor=t.body,"auto"===e.options.height&&(t.documentElement&&(t.documentElement.style.overflowY="hidden"),o=s.throttle(function(){e.editor&&e.iframe&&"auto"===e.options.height&&l.css(e.iframe,"height",e.editor.offsetHeight)},e.defaultTimeout/2),e.events.on("change afterInit afterSetMode resize",o).on([e.iframe,e.editorWindow,t.documentElement],"load",o).on(t,"readystatechange DOMContentLoaded",o)),(i=e.editorWindow.Element.prototype).matches||(i.matches=Element.prototype.matches),e.editorDocument.documentElement&&e.events.on(e.editorDocument.documentElement,"mousedown touchend",function(){e.selection.isFocused()||(e.selection.focus(),e.selection.setCursorIn(e.editor))}).on(e.editorWindow,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",function(t){e.events&&e.events.fire&&e.events.fire(e.ownerWindow,t)}),[2,!1]}var i})})})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(0);n.Config.prototype.controls.indent={tooltip:"Increase Indent"},n.Config.prototype.controls.outdent={isDisable:function(e){var t=e.selection.current();if(t){var o=r.Dom.closest(t,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor);if(o&&o.style&&o.style.marginLeft)return parseInt(o.style.marginLeft,10)<=0}return!0},tooltip:"Decrease Indent"},n.Config.prototype.indentMargin=10,t.indent=function(e){var t=function(t){return e.selection.eachSelection(function(o){var n=e.selection.save(),a=!!o&&r.Dom.up(o,function(t){return r.Dom.isBlock(t,e.editorWindow)},e.editor),s=e.options.enter;if(!a&&o&&(a=r.Dom.wrapInline(o,s!==i.BR?s:i.PARAGRAPH,e)),!a)return e.selection.restore(n),!1;if(a&&a.style){var l=a.style.marginLeft?parseInt(a.style.marginLeft,10):0;a.style.marginLeft=0<(l+=e.options.indentMargin*("outdent"===t?-1:1))?l+"px":"",a.getAttribute("style")||a.removeAttribute("style")}e.selection.restore(n)}),e.setEditorValue(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i="__jodit_imageprocessor_binded";t.imageProcessor=function(e){e.events.on("change afterInit",n.debounce(function(){e.editor&&n.$$("img",e.editor).forEach(function(t){t[i]||(t[i]=!0,t.complete||t.addEventListener("load",function o(){e.events&&e.events.fire&&e.events.fire("resize"),t.removeEventListener("load",o)}),e.events.on(t,"mousedown touchstart",function(){e.selection.select(t)}))})},e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(19),r=o(0),a=o(3),s=o(5),l=o(14),c=l.Widget.TabsWidget,d=l.Widget.FileSelectorWidget,p=o(27);n.Config.prototype.image={openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0},t.imageProperties=function(e){var t=function(t){var o=this;if(!e.options.readonly){t&&t.stopImmediatePropagation();var n,l=e.create.fromHTML.bind(e.create),u=this,f=new i.Dialog(e),h=l('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+s.ToolbarIcon.getIcon("cancel")+"<span>"+e.i18n("Cancel")+"</span></a>"),g=l('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+s.ToolbarIcon.getIcon("check")+"<span>"+e.i18n("Ok")+"</span></a>"),m={remove:l('<a href="javascript:void(0)" class="jodit_button">'+s.ToolbarIcon.getIcon("bin")+" "+e.i18n("Delete")+"</a>")},v=l('<form class="jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-2-5"><div class="jodit_properties_view_box"><div style="'+(e.options.image.showPreview?"":"display:none")+'" class="jodit_properties_image_view"><img class="imageViewSrc" src="" alt=""/></div><div style="'+(e.options.image.editSize?"":"display:none")+'" class="jodit_form_group jodit_properties_image_sizes"><input type="number" class="imageWidth"/><a class="jodit_lock_helper jodit_lock_size" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("lock")+'</a><input type="number" class="imageHeight"/></div></div></div><div class="jodit_col-lg-3-5 tabsbox"></div></div></form>'),b=l('<div style="'+(e.options.image.editMargins?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Margins")+'</label><div class="jodit_grid"><input class="jodit_col-lg-1-5 margins marginTop" data-id="marginTop" type="text" placeholder="'+e.i18n("top")+'"/><a style="text-align: center;" class="jodit_lock_helper jodit_lock_margin jodit_col-lg-1-5" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("lock")+'</a><input disabled="true" class="jodit_col-lg-1-5 margins marginRight" data-id="marginRight" type="text" placeholder="'+e.i18n("right")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginBottom" data-id="marginBottom" type="text" placeholder="'+e.i18n("bottom")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginLeft" data-id="marginLeft" type="text" placeholder="'+e.i18n("left")+'"/></div></div><div style="'+(e.options.image.editStyle?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Styles")+'</label><input type="text" class="style"/></div><div style="'+(e.options.image.editClass?"":"display:none")+'" class="jodit_form_group"><label for="classes">'+e.i18n("Classes")+'</label><input type="text" class="classes"/></div><div style="'+(e.options.image.editId?"":"display:none")+'" class="jodit_form_group"><label for="id">Id</label><input type="text" class="id"/></div><div style="'+(e.options.image.editBorderRadius?"":"display:none")+'" class="jodit_form_group"><label for="border_radius">Border radius</label><input type="number" class="border_radius"/></div><div style="'+(e.options.image.editAlign?"":"display:none")+'" class="jodit_form_group"><label for="align">'+e.i18n("Align")+'</label><select class="select align"><option value="">'+e.i18n("--Not Set--")+'</option><option value="left">'+e.i18n("Left")+'</option><option value="center">'+e.i18n("Center")+'</option><option value="right">'+e.i18n("Right")+"</option></optgroup></select></div>"),y=l('<div style="'+(e.options.image.editSrc?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Src")+'</label><div class="jodit_input_group"><input type="text" class="imageSrc"/>'+(e.options.filebrowser.ajax.url||e.options.uploader.url?'<div class="jodit_input_group-buttons">'+(e.options.filebrowser.ajax.url||e.options.uploader.url?'<a class="jodit_button jodit_rechange" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("image")+"</a>":"")+(e.options.image.useImageEditor&&e.options.filebrowser.ajax.url?'<a class="jodit_button jodit_use_image_editor" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("crop")+"</a>":"")+"</div>":"")+'</div></div><div style="'+(e.options.image.editTitle?"":"display:none")+'" class="jodit_form_group"><label for="imageTitle">'+e.i18n("Title")+'</label><input type="text" class="imageTitle"/></div><div style="'+(e.options.image.editAlt?"":"display:none")+'" class="jodit_form_group"><label for="imageAlt">'+e.i18n("Alternative")+'</label><input type="text" class="imageAlt"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><label for="imageLink">'+e.i18n("Link")+'</label><input type="text" class="imageLink"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><input type="checkbox" class="imageLinkOpenInNewTab"/> '+e.i18n("Open link in new tab")+"</div>"),_=u.naturalWidth/u.naturalHeight||1,x=v.querySelector(".imageWidth"),w=v.querySelector(".imageHeight"),k=function(){a.val(v,".imageSrc",u.getAttribute("src")||"");var e=v.querySelector(".imageViewSrc");e&&e.setAttribute("src",u.getAttribute("src")||"")},j=function(){k(),function(){u.hasAttribute("title")&&a.val(v,".imageTitle",u.getAttribute("title")||""),u.hasAttribute("alt")&&a.val(v,".imageAlt",u.getAttribute("alt")||"");var t=r.Dom.closest(u,"a",e.editor);t&&(a.val(v,".imageLink",t.getAttribute("href")||""),v.querySelector(".imageLinkOpenInNewTab").checked="_blank"===t.getAttribute("target"))}(),x.value=""+u.offsetWidth,w.value=""+u.offsetHeight,function(){if(e.options.image.editMargins){var t=!1;a.$$(".margins",v).forEach(function(e){var o=e.getAttribute("data-id")||"",n=u.style[o];n&&(/^[0-9]+(px)?$/.test(n)&&(n=parseInt(n,10)),e.value=""+n||"",t||"marginTop"===o||e.value===a.val(v,".marginTop")||(t=!0))}),A=!t;var o=v.querySelector(".jodit_lock_margin");o&&(o.innerHTML=s.ToolbarIcon.getIcon(A?"lock":"unlock")),a.$$(".margins:not(.marginTop)",v).forEach(function(e){return A?e.setAttribute("disabled","true"):e.removeAttribute("disabled")})}}(),a.val(v,".classes",(u.getAttribute("class")||"").replace(/jodit_focused_image[\s]*/,"")),a.val(v,".id",u.getAttribute("id")||""),a.val(v,".border_radius",""+(parseInt(u.style.borderRadius||"0",10)||"0")),u.style.cssFloat&&-1!=["left","right"].indexOf(u.style.cssFloat.toLowerCase())?a.val(v,".align",a.css(u,"float")):"block"===a.css(u,"display")&&"auto"===u.style.marginLeft&&"auto"===u.style.marginRight&&a.val(v,".align","center"),a.val(v,".style",u.getAttribute("style")||"")},C=!0,A=!0,M={},S=v.querySelector(".tabsbox");M[e.i18n("Image")]=y,M[e.i18n("Advanced")]=b,S&&S.appendChild(c(e,M)),j(),e.events.on(f,"afterClose",function(){f.destruct(),u.parentNode&&e.options.image.selectImageAfterClose&&e.selection.select(u)}),m.remove.addEventListener("click",function(){r.Dom.safeRemove(u),f.close()}),e.options.image.useImageEditor&&a.$$(".jodit_use_image_editor",y).forEach(function(t){e.events.on(t,"mousedown touchstart",function(){var t=u.getAttribute("src")||"",o=e.create.element("a"),n=function(){o.host===location.host||i.Confirm(e.i18n("You can only edit your own images. Download this image on the host?"),function(t){t&&e.uploader&&e.uploader.uploadRemoteImage(""+o.href,function(t){i.Alert(e.i18n("The image has been successfully uploaded to the host!"),function(){"string"==typeof t.newfilename&&(u.setAttribute("src",t.baseurl+t.newfilename),k())})},function(t){i.Alert(e.i18n("There was an error loading %s",t.message))})})};o.href=t,e.getInstance("FileBrowser").getPathByUrl(""+o.href,function(n,r,a){e.getInstance("FileBrowser").openImageEditor(o.href,r,n,a,function(){var e=(new Date).getTime();u.setAttribute("src",t+(-1!=t.indexOf("?")?"":"?")+"&_tmp="+e),k()},function(e){i.Alert(e.message)})},function(e){i.Alert(e.message,n)})})}),a.$$(".jodit_rechange",y).forEach(function(t){t.addEventListener("mousedown",function(o){t.classList.toggle("active");var n=new p.Popup(e,t);n.open(d(e,{upload:function(e){e.files&&e.files.length&&u.setAttribute("src",e.baseurl+e.files[0]),j(),n.close()},filebrowser:function(e){e&&e.files&&Array.isArray(e.files)&&e.files.length&&(u.setAttribute("src",e.files[0]),n.close(),j())}},u,n.close),!0),o.stopPropagation()})});var T=v.querySelector(".jodit_lock_helper.jodit_lock_size"),E=v.querySelector(".jodit_lock_helper.jodit_lock_margin");T&&T.addEventListener("click",function(){this.innerHTML=s.ToolbarIcon.getIcon((C=!C)?"lock":"unlock"),e.events.fire(x,"change")}),E&&E.addEventListener("click",function(){this.innerHTML=s.ToolbarIcon.getIcon((A=!A)?"lock":"unlock"),A?a.$$(".margins",v).forEach(function(e){e.matches(".marginTop")||e.setAttribute("disabled","true")}):a.$$(".margins",v).forEach(function(e){e.matches(".marginTop")||e.removeAttribute("disabled")})});var z=function(e){var t=parseInt(x.value,10),o=parseInt(w.value,10);e.target===x?w.value=""+Math.round(t/_):x.value=""+Math.round(o*_)};return e.events.on([x,w],"change keydown mousedown paste",function(t){C&&(e.defaultTimeout?(clearTimeout(n),n=a.setTimeout(z.bind(o,t),e.defaultTimeout)):z(t))}),f.setTitle([e.i18n("Image properties"),m.remove]),f.setContent(v),h.addEventListener("click",function(){f.close()}),g.addEventListener("click",function(){if(e.options.image.editStyle&&(a.val(v,".style")?u.setAttribute("style",a.val(v,".style")):u.removeAttribute("style")),!a.val(v,".imageSrc"))return r.Dom.safeRemove(u),void f.close();u.setAttribute("src",a.val(v,".imageSrc")),u.style.borderRadius="0"!==a.val(v,".border_radius")&&/^[0-9]+$/.test(a.val(v,".border_radius"))?a.val(v,".border_radius")+"px":"",a.val(v,".imageTitle")?u.setAttribute("title",a.val(v,".imageTitle")):u.removeAttribute("title"),a.val(v,".imageAlt")?u.setAttribute("alt",a.val(v,".imageAlt")):u.removeAttribute("alt");var t=r.Dom.closest(u,"a",e.editor);a.val(v,".imageLink")?(t||(t=r.Dom.wrap(u,"a",e)),t.setAttribute("href",a.val(v,".imageLink")),v.querySelector(".imageLinkOpenInNewTab").checked?t.setAttribute("target","_blank"):t.removeAttribute("target")):t&&t.parentNode&&t.parentNode.replaceChild(u,t);var o=function(e){return e=a.trim(e),/^[0-9]+$/.test(e)?e+"px":e};x.value===""+u.offsetWidth&&w.value===""+u.offsetHeight||a.css(u,{width:a.trim(x.value)?o(x.value):null,height:a.trim(w.value)?o(w.value):null}),e.options.image.editMargins&&(A?a.css(u,"margin",o(a.val(v,".marginTop"))):a.$$(".margins",v).forEach(function(e){var t=e.getAttribute("data-id")||"";a.css(u,t,o(e.value))})),e.options.image.editClass&&(a.val(v,".classes")?u.setAttribute("class",a.val(v,".classes")):u.removeAttribute("class")),e.options.image.editId&&(a.val(v,".id")?u.setAttribute("id",a.val(v,".id")):u.removeAttribute("id"));var n=function(){"block"===a.css(u,"display")&&a.css(u,"display",""),"auto"===u.style.marginLeft&&"auto"===u.style.marginRight&&(u.style.marginLeft="",u.style.marginRight="")};e.options.image.editAlign&&(a.val(v,".align")?-1!=["right","left"].indexOf(a.val(v,".align").toLowerCase())?(a.css(u,"float",a.val(v,".align")),n()):(a.css(u,"float",""),a.css(u,{display:"block","margin-left":"auto","margin-right":"auto"})):(a.css(u,"float")&&-1!=["right","left"].indexOf((""+a.css(u,"float")).toLowerCase())&&a.css(u,"float",""),n())),u.getAttribute("style")||u.removeAttribute("style"),e.setEditorValue(),f.close()}),f.setFooter([g,h]),f.setSize(500),f.open(),t&&t.preventDefault(),!1}};e.events.on("afterInit",function(){e.events.on(e.editor,"dblclick",e.options.image.openOnDblClick?t:function(t){t.stopImmediatePropagation(),e.selection.select(this)},"img")}).on("openImageProperties",function(e){t.call(e)})}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(14),s=a.Widget.ColorPickerWidget,l=a.Widget.TabsWidget,c=o(0),d=o(3),p=o(6),u=o(28),f=o(27),h=o(18);r.Config.prototype.toolbarInline=!0,r.Config.prototype.toolbarInlineDisableFor=[],r.Config.prototype.popup={a:[{name:"eye",tooltip:"Open link",exec:function(e,t){var o=t.getAttribute("href");t&&o&&e.ownerWindow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"],jodit:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(c.Dom.safeRemove(t),e.events.fire("hidePopup"))}}],"jodit-media":[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(c.Dom.safeRemove(t),e.events.fire("hidePopup"))}}],img:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(c.Dom.safeRemove(t),e.events.fire("hidePopup"))}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.events.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom"],tooltip:"Vertical align",exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";d.css(t,"vertical-align",n),e.events.fire("recalcPositionPopup")}}},{name:"left",list:["Left","Right","Center","Normal"],exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var n=function(){"block"===d.css(t,"display")&&d.css(t,"display",""),"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(t.style.marginLeft="",t.style.marginRight="")},i=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";"normal"!==i?-1!=["right","left"].indexOf(i)?(d.css(t,"float",i),n()):(d.css(t,"float",""),d.css(t,{display:"block","margin-left":"auto","margin-right":"auto"})):(d.css(t,"float")&&-1!=["right","left"].indexOf(d.css(t,"float").toLowerCase())&&d.css(t,"float",""),n()),e.events.fire("recalcPositionPopup")}},tooltip:"Horizontal align"}],table:[{name:"brush",popup:function(e,t){var o,n,i,r,a,c,p=u.Table.getAllSelectedCells(t);return!!p.length&&(r=d.css(p[0],"color"),c=d.css(p[0],"background-color"),a=d.css(p[0],"border-color"),o=s(e,function(t){p.forEach(function(e){d.css(e,"background-color",t)}),e.setEditorValue()},c),n=s(e,function(t){p.forEach(function(e){d.css(e,"color",t)}),e.setEditorValue()},r),i=s(e,function(t){p.forEach(function(e){d.css(e,"border-color",t)}),e.setEditorValue()},a),l(e,{Background:o,Text:n,Border:i}))},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom"],exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";u.Table.getAllSelectedCells(t).forEach(function(e){d.css(e,"vertical-align",n)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Add row"},{name:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Delete"}]};var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._hiddenClass="jodit_toolbar_popup-inline-target-hidden",t.isSelectionStarted=!1,t.onSelectionEnd=d.debounce(function(){!t.isDestructed&&t.jodit.isEditorMode()&&(t.isSelectionStarted&&(t.isTargetAction||t.onChangeSelection()),t.isSelectionStarted=!1,t.isTargetAction=!1)},t.jodit.defaultTimeout),t.isTargetAction=!1,t.isSelectionPopup=!1,t.calcWindSizes=function(){var e=t.jodit.ownerWindow,o=t.jodit.ownerDocument.documentElement;if(!o)return{left:0,top:0,width:0,height:0};var n=t.jodit.ownerDocument.body,i=o.clientTop||n.clientTop||0,r=o.clientLeft||n.clientLeft||0;return{left:r,top:i,width:o.clientWidth+(e.pageXOffset||o.scrollLeft||n.scrollLeft)-r,height:o.clientHeight+(e.pageYOffset||o.scrollTop||n.scrollTop)-i}},t.calcPosition=function(e,o){if(!t.isDestructed){t.popup.target.classList.remove(t._hiddenClass);var n=e.left+e.width/2,i=d.offset(t.jodit.workplace,t.jodit,t.jodit.ownerDocument,!0),r=e.top+e.height+10;t.target.style.left=n+"px",t.target.style.top=r+"px",t.jodit.isFullSize()&&(t.target.style.zIndex=""+d.css(t.jodit.container,"zIndex"));var a=t.container.offsetWidth/2,s=-a;t.popup.container.classList.remove("jodit_toolbar_popup-inline-top"),o.height<r+t.container.offsetHeight&&(t.target.style.top=(r=e.top-t.container.offsetHeight-10)+"px",t.popup.container.classList.add("jodit_toolbar_popup-inline-top")),n-a<0&&(s=-(e.width/2+e.left)),o.width<n+a&&(s=-(t.container.offsetWidth-(o.width-n))),t.container.style.marginLeft=s+"px",(50<i.top-r||50<r-(i.top+i.height))&&t.popup.target.classList.add(t._hiddenClass)}},t.reCalcPosition=function(){t.__getRect&&t.calcPosition(t.__getRect(),t.calcWindSizes())},t.showPopup=function(e,o,n){if(!t.jodit.options.toolbarInline||!t.jodit.options.popup[o.toLowerCase()])return!1;if(t.isExcludedTarget(o))return!0;t.isShown=!0,t.isTargetAction=!0;var i=t.calcWindSizes();return t.target.parentNode||t.jodit.ownerDocument.body.appendChild(t.target),t.toolbar.build(t.jodit.options.popup[o.toLowerCase()],t.container,n),t.popup.open(t.container,!1,!0),t.__getRect=e,t.calcPosition(e(),i),!0},t.hidePopup=function(e){t.isDestructed||e&&(c.Dom.isNode(e,t.jodit.editorWindow||window)||e instanceof f.Popup)&&c.Dom.isOrContains(t.target,e instanceof f.Popup?e.target:e)||(t.isTargetAction=!1,t.isShown=!1,t.popup.close(),c.Dom.safeRemove(t.target))},t.onSelectionStart=function(e){if(!t.isDestructed&&t.jodit.isEditorMode()&&(t.isTargetAction=!1,t.isSelectionPopup=!1,!t.isSelectionStarted)){var o=Object.keys(t.jodit.options.popup).join("|"),n="IMG"===e.target.nodeName?e.target:c.Dom.closest(e.target,o,t.jodit.editor);n&&t.showPopup(function(){return d.offset(n,t.jodit,t.jodit.editorDocument)},n.nodeName,n)||(t.isSelectionStarted=!0)}},t.checkIsTargetEvent=function(){t.isTargetAction?t.isTargetAction=!1:t.hidePopup()},t.isShown=!1,t.onChangeSelection=function(){if(t.jodit.options.toolbarInline&&t.jodit.isEditorMode()&&!t.hideIfCollapsed()&&void 0!==t.jodit.options.popup.selection){var e=t.jodit.selection.sel;if(e.rangeCount){t.isSelectionPopup=!0;var o=e.getRangeAt(0);t.showPopup(function(){return d.offset(o,t.jodit,t.jodit.editorDocument)},"selection")}}},t}return i(t,e),t.prototype.isExcludedTarget=function(e){return-1!=d.splitArray(this.jodit.options.toolbarInlineDisableFor).map(function(e){return e.toLowerCase()}).indexOf(e.toLowerCase())},t.prototype.hideIfCollapsed=function(){return!!this.jodit.selection.isCollapsed()&&(this.hidePopup(),!0)},t.prototype.afterInit=function(e){var t=this;this.toolbar=h.JoditToolbarCollection.makeCollection(e),this.target=e.create.div("jodit_toolbar_popup-inline-target"),this.container=e.create.div(),this.popup=new f.Popup(e,this.target,void 0,"jodit_toolbar_popup-inline"),e.events.on(this.target,"mousedown keydown touchstart",function(e){e.stopPropagation()}).on("beforeOpenPopup hidePopup afterSetMode",this.hidePopup).on("recalcPositionPopup",this.reCalcPosition).on("getDiffButtons.mobile",function(o){if(t.toolbar===o)return d.splitArray(e.options.buttons).filter(function(e){return"|"!==e&&"\n"!==e}).filter(function(e){return t.toolbar.getButtonsList().indexOf(e)<0})}).on("selectionchange",this.onChangeSelection).on("afterCommand afterExec",function(){t.isShown&&t.isSelectionPopup&&t.onChangeSelection()}).on("showPopup",function(e,o){var n=("string"==typeof e?e:e.nodeName).toLowerCase();t.isSelectionPopup=!1,t.showPopup(o,n,"string"==typeof e?void 0:e)}).on("mousedown keydown touchstart",this.onSelectionStart).on([e.ownerWindow,e.editor],"scroll resize",this.reCalcPosition).on([e.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).on([e.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},t.prototype.beforeDestruct=function(e){this.popup&&this.popup.destruct(),delete this.popup,this.toolbar&&this.toolbar.destruct(),delete this.toolbar,c.Dom.safeRemove(this.target),c.Dom.safeRemove(this.container),e.events&&e.events.off([e.ownerWindow],"scroll resize",this.reCalcPosition).off([e.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).off([e.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},t}(p.Plugin);t.inlinePopup=g},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(3),a=o(5);n.Config.prototype.controls.align={name:"left",tooltip:"Align",getLabel:function(e,t,o){var n=e.selection.current();if(n){var s=i.Dom.closest(n,function(t){return i.Dom.isBlock(t,e.editorWindow)},e.editor)||e.editor,l=""+r.css(s,"text-align");t.defaultValue&&-1!=t.defaultValue.indexOf(l)&&(l="left"),o&&t.data&&t.data.currentValue!==l&&t.list&&-1!=t.list.indexOf(l)&&(o.textBox.innerHTML=e.options.textIcons?"<span>"+l+"</span>":a.ToolbarIcon.getIcon(l,""),o.textBox.firstChild.classList.add("jodit_icon"),t.data.currentValue=l)}return!1},isActive:function(e,t){var o=e.selection.current();if(o&&t.defaultValue){var n=i.Dom.closest(o,function(t){return i.Dom.isBlock(t,e.editorWindow)},e.editor)||e.editor;return-1==t.defaultValue.indexOf(""+r.css(n,"text-align"))}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},n.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},n.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},n.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},n.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},t.justify=function(e){var t=function(t){var o=function(o){if(o instanceof e.editorWindow.HTMLElement)switch(t.toLowerCase()){case"justifyfull":o.style.textAlign="justify";break;case"justifyright":o.style.textAlign="right";break;case"justifyleft":o.style.textAlign="left";break;case"justifycenter":o.style.textAlign="center"}};return e.selection.focus(),e.selection.eachSelection(function(t){if(!t&&e.editor.querySelector(".jodit_selected_cell"))return r.$$(".jodit_selected_cell",e.editor).forEach(o),!1;if(t instanceof e.editorWindow.Node){var n=!!t&&i.Dom.up(t,function(t){return i.Dom.isBlock(t,e.editorWindow)},e.editor);!n&&t&&(n=i.Dom.wrapInline(t,e.options.enterBlock,e)),o(n)}}),!1};e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(3);n.Config.prototype.link={followOnDblClick:!0,processVideoLink:!0,processPastedLink:!0,openLinkDialogAfterPost:!0,removeLinkAfterFormat:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0},n.Config.prototype.controls.unlink={exec:function(e,t){var o=i.Dom.closest(t,"A",e.editor);o&&i.Dom.unwrap(o),e.events.fire("hidePopup")}},n.Config.prototype.controls.link={isActive:function(e){var t=e.selection.current();return t&&!1!==i.Dom.closest(t,"a",e.editor)},popup:function(e,t,o,n){var a=e.editorWindow.getSelection(),s=e.create.fromHTML('<form class="jodit_form"><input required type="text" name="url" placeholder="http://" type="text"/><input name="text" placeholder="'+e.i18n("Text")+'" type="text"/>'+(e.options.link.openInNewTabCheckbox?'<label><input name="target" type="checkbox"/> '+e.i18n("Open in new tab")+"</label>":"")+(e.options.link.noFollowCheckbox?'<label><input name="nofollow" type="checkbox"/> '+e.i18n("No follow")+"</label>":"")+'<div style="text-align: right"><button class="jodit_unlink_button" type="button">'+e.i18n("Unlink")+'</button> &nbsp;&nbsp;<button class="jodit_link_insert_button" type="submit"></button></div><form/>');t=!(!t||!i.Dom.closest(t,"A",e.editor))&&i.Dom.closest(t,"A",e.editor);var l=s.querySelector(".jodit_link_insert_button"),c=s.querySelector(".jodit_unlink_button");t?(r.val(s,"input[name=url]",t.getAttribute("href")||""),r.val(s,"input[name=text]",t.innerText),e.options.link.openInNewTabCheckbox&&(s.querySelector("input[name=target]").checked="_blank"===t.getAttribute("target")),e.options.link.noFollowCheckbox&&(s.querySelector("input[name=nofollow]").checked="nofollow"===t.getAttribute("rel")),l&&(l.innerHTML=e.i18n("Update"))):(c&&(c.style.display="none"),r.val(s,"input[name=text]",""+a),l&&(l.innerHTML=e.i18n("Insert")));var d=e.selection.save();return c&&c.addEventListener("mousedown",function(o){t&&i.Dom.unwrap(t),e.selection.restore(d),n(),o.preventDefault()}),s.addEventListener("submit",function(o){o.preventDefault(),e.selection.restore(d);var i=t||e.editorDocument.createElement("a");return r.val(s,"input[name=url]")?(i.setAttribute("href",r.val(s,"input[name=url]")),i.innerText=r.val(s,"input[name=text]"),e.options.link.openInNewTabCheckbox&&(s.querySelector("input[name=target]").checked?i.setAttribute("target","_blank"):i.removeAttribute("target")),e.options.link.noFollowCheckbox&&(s.querySelector("input[name=nofollow]").checked?i.setAttribute("rel","nofollow"):i.removeAttribute("rel")),t||e.selection.insertNode(i),n()):(s.querySelector("input[name=url]").focus(),s.querySelector("input[name=url]").classList.add("jodit_error")),!1}),s},tags:["a"],tooltip:"Insert link"},t.link=function(e){e.options.link.followOnDblClick&&e.events.on("afterInit",function(){e.events.on(e.editor,"dblclick",function(e){var t=this.getAttribute("href");t&&(location.href=t,e.preventDefault())},"a")}),e.options.link.processPastedLink&&e.events.on("processPaste",function(t,o){if(r.isURL(o)){var n=r.convertMediaURLToVideoEmbed(o);if(n!==o)return e.create.inside.fromHTML(n);var i=e.create.inside.element("a");return i.setAttribute("href",o),i.innerText=o,i}}),e.options.link.removeLinkAfterFormat&&e.events.on("afterCommand",function(t){var o,n;"removeFormat"===t&&((n=e.selection.current())&&"A"!==n.nodeName&&(n=i.Dom.closest(n,"A",e.editor)),n&&"A"===n.nodeName&&(n.innerHTML===n.innerText?o=e.editorDocument.createTextNode(n.innerHTML):(o=e.editorDocument.createElement("span")).innerHTML=n.innerHTML,n.parentNode&&(n.parentNode.replaceChild(o,n),e.selection.setCursorIn(o,!0))))})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(4),a=o(43);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1,t.limit=function(e){if(e&&(e.options.limitWords||e.options.limitChars)){var t=function(t,o){void 0===o&&(o="");var n=(o||(e.options.limitHTML?e.value:e.getEditorText())).replace(i.INVISIBLE_SPACE_REG_EXP,"").split(i.SPACE_REG_EXP).filter(function(e){return e.length});if(!t||-1==i.COMMAND_KEYS.indexOf(t.which))return e.options.limitWords&&e.options.limitWords<=n.length?e.options.limitWords===n.length:e.options.limitChars&&e.options.limitChars<=n.join("").length?e.options.limitChars===n.join("").length:void 0},o=null;e.events.on("beforePaste",function(){o=e.observer.snapshot.make()}).on("keydown keyup beforeEnter beforePaste",function(e){if(void 0!==t(e))return!1}).on("change",r.debounce(function(o,n){!1===t(null,e.options.limitHTML?o:a.stripTags(o))&&(e.value=n)},e.defaultTimeout)).on("afterPaste",function(){if(!1===t(null)&&o)return e.observer.snapshot.restore(o),!1})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(4),a=o(9);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"],t.media=function(e){var t="jodit_fake_wrapper",o=e.options,n=o.mediaFakeTag,s=o.mediaBlocks;o.mediaInFakeBlock&&e.events.on("afterGetValueFromEditor",function(e){e.value=e.value.replace(RegExp("<"+n+"[^>]+data-"+t+"[^>]+>(.+?)</"+n+">","ig"),"$1")}).on("change afterInit afterSetMode",r.debounce(function(){e.isDestructed||e.getMode()===i.MODE_SOURCE||a.$$(s.join(","),e.editor).forEach(function(o){o["__"+t]||(o["__"+t]=!0,function(o){if(o.parentNode&&o.parentNode.getAttribute("data-jodit_iframe_wrapper"))o=o.parentNode;else{var i=void 0;(i=e.create.inside.fromHTML("<"+n+' data-jodit-temp="1" contenteditable="false" draggable="true" data-'+t+'="1"></'+n+">")).style.display="inline-block"===o.style.display?"inline-block":"block",i.style.width=o.offsetWidth+"px",i.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(i,o),i.appendChild(o),o=i}e.events.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",function(){e.selection.setCursorAfter(o)})}(o))})},e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(20),a=o(18);n.Config.prototype.mobileTapTimeout=300,n.Config.prototype.toolbarAdaptive=!0,n.Config.prototype.controls.dots={mode:i.MODE_SOURCE+i.MODE_WYSIWYG,popup:function(e,t,o,n,i){var s=o.data;return void 0===s&&((s={container:e.create.div(),toolbar:a.JoditToolbarCollection.makeCollection(e),rebuild:function(){if(i){var t=e.events.fire("getDiffButtons.mobile",i.parentToolbar);t&&s&&s.toolbar.build(r.splitArray(t),s.container)}}}).container.style.width="100px",o.data=s),s.rebuild(),s.container}},t.mobile=function(e){var t,o=0,n=r.splitArray(e.options.buttons);e.events.on("touchend",function(n){n.changedTouches&&n.changedTouches.length&&(t=(new Date).getTime(),e.options.mobileTapTimeout<t-o&&(o=t,e.selection.insertCursorAtPoint(n.changedTouches[0].clientX,n.changedTouches[0].clientY)))}).on("getDiffButtons.mobile",function(t){if(t===e.toolbar)return r.splitArray(e.options.buttons).filter(function(e){return n.indexOf(e)<0})}),e.options.toolbarAdaptive&&e.events.on("resize afterInit",function(){if(e.options.toolbar){var t,o=e.container.offsetWidth;""+(t=r.splitArray(o<e.options.sizeLG?o<e.options.sizeMD?o<e.options.sizeSM?e.options.buttonsXS:e.options.buttonsSM:e.options.buttonsMD:e.options.buttons))!=""+n&&e.toolbar.build((n=t).concat(e.options.extraButtons),e.container)}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0);n.Config.prototype.controls.ul={command:"insertUnorderedList",controlName:"ul",tags:["ul"],tooltip:"Insert Unordered List"},n.Config.prototype.controls.ol={command:"insertOrderedList",controlName:"ol",tags:["ol"],tooltip:"Insert Ordered List"},t.orderedlist=function(e){e.events.on("afterCommand",function(t){if(/insert(un)?orderedlist/i.test(t)){var o=i.Dom.up(e.selection.current(),function(e){return e&&/^UL|OL$/i.test(e.nodeName)},e.editor);if(o&&o.parentNode&&"P"===o.parentNode.nodeName){var n=e.selection.save();i.Dom.unwrap(o.parentNode),Array.from(o.childNodes).forEach(function(e){e.lastChild&&e.lastChild.nodeType===Node.ELEMENT_NODE&&"BR"===e.lastChild.nodeName&&i.Dom.safeRemove(e.lastChild)}),e.selection.restore(n)}e.setEditorValue()}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(19),a=o(3),s=o(0);n.Config.prototype.askBeforePasteHTML=!0,n.Config.prototype.askBeforePasteFromWord=!0,n.Config.prototype.defaultActionOnPaste=i.INSERT_AS_HTML,n.Config.prototype.controls.cut={command:"cut",isDisable:function(e){var t=e.selection.sel;return!t||t.isCollapsed},tooltip:"Cut selection"},t.paste=function(e){var t="",o=function(t,o,n,i,a){if(void 0===i&&(i="Clean"),void 0===a&&(a="Insert only Text"),!e.events||!1!==e.events.fire("beforeOpenPasteDialog",t,o,n,i,a)){var s=r.Confirm('<div style="word-break: normal; white-space: normal">'+t+"</div>",o,n);s.container.setAttribute("data-editor_id",e.id);var l=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n("Keep")+"</span></a>"),c=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n(i)+"</span></a>"),d=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n(a)+"</span></a>"),p=s.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+e.i18n("Cancel")+"</span></a>");return e.events.on(l,"click",function(){s.close(),n&&n(!0)}),e.events.on(c,"click",function(){s.close(),n&&n(!1)}),e.events.on(d,"click",function(){s.close(),n&&n(0)}),e.events.on(p,"click",function(){s.close()}),s.setFooter([l,c,a?d:"",p]),e.events&&e.events.fire("afterOpenPasteDialog",s,t,o,n,i,a),s}},n=function(t,o){switch(o){case i.INSERT_CLEAR_HTML:t=a.cleanFromWord(t);break;case i.INSERT_ONLY_TEXT:t=a.stripTags(t);break;case i.INSERT_AS_TEXT:t=a.htmlspecialchars(t)}e.selection.insertHTML(t)},l=function(r,s){if(a.isHTML(r)&&t!==c(r))return e.events.stopPropagation("beforePaste"),r=c(r),o(e.i18n("Your code is similar to HTML. Keep as HTML?"),e.i18n("Paste as HTML"),function(t){var o=i.INSERT_AS_HTML;!1===t&&(o=i.INSERT_AS_TEXT),0===t&&(o=i.INSERT_ONLY_TEXT),"drop"===s.type&&e.selection.insertCursorAtPoint(s.clientX,s.clientY),n(r,o),e.setEditorValue()},"Insert as Text"),!1},c=function(e){var t=e.search(/<!--StartFragment-->/i);-1!==t&&(e=e.substr(t+20));var o=e.search(/<!--EndFragment-->/i);return-1!==o&&(e=e.substr(0,o)),e},d=function(e){return e.clipboardData?e.clipboardData:e.dataTransfer||new DataTransfer};e.events.on("copy cut",function(o){var n=e.selection.getHTML(),r=d(o)||d(e.editorWindow)||d(o.originalEvent);r.setData(i.TEXT_PLAIN,a.stripTags(n)),r.setData(i.TEXT_HTML,n),t=n,"cut"===o.type&&(e.selection.remove(),e.selection.focus()),o.preventDefault(),e.events.fire("afterCopy",n)}).on("paste",function(o){if(!1===e.events.fire("beforePaste",o))return o.preventDefault(),!1;if(o&&d(o)){var r=d(o).types,s=void 0,l="",p="";if(Array.isArray(r)||"domstringlist"===a.type(r))for(s=0;s<r.length;s+=1)l+=r[s]+";";else l=""+r;/text\/html/i.test(l)?p=d(o).getData("text/html"):/text\/rtf/i.test(l)&&a.browser("safari")?p=d(o).getData("text/rtf"):/text\/plain/i.test(l)&&!a.browser("mozilla")?p=d(o).getData(i.TEXT_PLAIN):/text/i.test(l)&&i.IS_IE&&(p=d(o).getData(i.TEXT_PLAIN)),(p instanceof e.editorWindow.Node||""!==a.trim(p))&&(p=c(p),t!==p&&(p=e.events.fire("processPaste",o,p)),("string"==typeof p||p instanceof e.editorWindow.Node)&&("drop"===o.type&&e.selection.insertCursorAtPoint(o.clientX,o.clientY),n(p,e.options.defaultActionOnPaste)),o.preventDefault(),o.stopPropagation())}return!1!==e.events.fire("afterPaste",o)&&void 0}),e.options.askBeforePasteHTML&&e.events.on("beforePaste",function(e){if(e&&d(e).getData(i.TEXT_PLAIN)){var t=d(e).getData(i.TEXT_PLAIN);return l(t,e)}}),e.options.askBeforePasteFromWord&&e.events.on("beforePaste",function(n){if(n&&d(n).getData&&d(n).getData(i.TEXT_HTML)){var r=function(i){if(a.isHTML(i)&&t!==c(i))return a.isHTMLFromWord(i)?o(e.i18n("The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?"),e.i18n("Word Paste Detected"),function(t){!0===t&&(i=a.applyStyles(i),e.options.beautifyHTML&&e.ownerWindow.html_beautify&&(i=e.ownerWindow.html_beautify(i))),!1===t&&(i=a.cleanFromWord(i)),0===t&&(i=a.stripTags(a.cleanFromWord(i))),e.selection.insertHTML(i),e.setEditorValue()}):l(i,n),!1};if(d(n).types&&-1!=Array.from(d(n).types).indexOf("text/html")){var p=d(n).getData(i.TEXT_HTML);return r(p)}if("drop"!==n.type){var u=e.create.div(void 0,{tabindex:-1,contenteditable:!0,style:{left:-9999,top:0,width:0,height:"100%",lineHeight:"140%",overflow:"hidden",position:"fixed",zIndex:2147483647,wordBreak:"break-all"}});e.container.appendChild(u);var f=e.selection.save();u.focus();var h=0,g=function(){s.Dom.safeRemove(u),e.selection.restore(f)},m=function(){if(h+=1,u.childNodes&&0<u.childNodes.length){var t=u.innerHTML;g(),!1!==r(t)&&e.selection.insertHTML(t)}else h<5?a.setTimeout(m,20):g()};m()}}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(8),a=o(4),s=o(0);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.useInputsPlaceholder=!0,n.Config.prototype.placeholder="Type something",t.placeholder=function(e){if(e.options.showPlaceholder){this.destruct=function(){s.Dom.safeRemove(n)};var t=function(){n.parentNode&&(n.style.display="none")},o=a.debounce(function(){if(null!==n.parentNode&&e.editor){if(e.getRealMode()!==i.MODE_WYSIWYG)return t();var o=e.getEditorValue();o&&!/^<(p|div|h[1-6])><\/\1>$/.test(o)?t():function(){if(n.parentNode&&!e.options.readonly){var t=0,o=0,i=e.editorWindow.getComputedStyle(e.editor);if(e.editor.firstChild&&e.editor.firstChild.nodeType===Node.ELEMENT_NODE){var a=e.editorWindow.getComputedStyle(e.editor.firstChild);t=parseInt(a.getPropertyValue("margin-top"),10),o=parseInt(a.getPropertyValue("margin-left"),10),n.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",n.style.lineHeight=a.getPropertyValue("line-height")}else n.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",n.style.lineHeight=i.getPropertyValue("line-height");r.css(n,{display:"block",marginTop:Math.max(parseInt(i.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(i.getPropertyValue("margin-left"),10),o)})}}()}},e.defaultTimeout/10),n=e.create.fromHTML('<span style="display: none;" class="jodit_placeholder">'+e.i18n(e.options.placeholder)+"</span>");"rtl"===e.options.direction&&(n.style.right="0px",n.style.direction="rtl"),e.options.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(n.innerHTML=e.element.getAttribute("placeholder")||""),e.events.on("readonly",function(e){e?t():o()}).on("afterInit",function(){e.workplace.appendChild(n),o(),e.events.fire("placeholder",n.innerHTML),e.events.on("change keyup mouseup keydown mousedown afterSetMode",o).on(window,"load",o)})}}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(6);r.Config.prototype.controls.redo={mode:a.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canRedo()},tooltip:"Redo"},r.Config.prototype.controls.undo={mode:a.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canUndo()},tooltip:"Undo"};var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.beforeDestruct=function(){},t.prototype.afterInit=function(e){var t=function(t){return e.getRealMode()===a.MODE_WYSIWYG&&e.observer[t](),!1};e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(s.Plugin);t.redoundo=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(2),a=o(0),s=o(9),l=o(4),c=o(23),d=o(3);n.Config.prototype.useIframeResizer=!0,n.Config.prototype.useTableResizer=!0,n.Config.prototype.useImageResizer=!0,n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,min_width:10,min_height:10},t.resizer=function(e){var t,o,n,p,u,f,h,g,m,v,b,y=!1,_=!1,x=!1,w=0,k=e.create.fromHTML('<div data-editor_id="'+e.id+'" style="display:none" class="jodit_resizer"><i class="jodit_resizer-topleft"></i><i class="jodit_resizer-topright"></i><i class="jodit_resizer-bottomright"></i><i class="jodit_resizer-bottomleft"></i><span>100x100</span></div>'),j=k.getElementsByTagName("span")[0],C=function(){x=_=!1,o=null,k.style.display="none"},A=function(){j.style.opacity="0"},M=function(){if(x&&o&&k){var t=c.offset(k.parentNode||e.ownerDocument.documentElement,e,e.ownerDocument,!0),n=c.offset(o,e,e.editorDocument),i=parseInt(k.style.left||"0",10),r=n.top-1-t.top,a=n.left-1-t.left;parseInt(k.style.top||"0",10)===r&&i===a&&k.offsetWidth===o.offsetWidth&&k.offsetHeight===o.offsetHeight||(k.style.top=r+"px",k.style.left=a+"px",k.style.width=o.offsetWidth+"px",k.style.height=o.offsetHeight+"px",e.events&&(e.events.fire(o,"changesize"),isNaN(i)||e.events.fire("resize")))}};s.$$("i",k).forEach(function(i){e.events.on(i,"mousedown touchstart",function(r){if(!o||!o.parentNode)return C(),!1;t=i,r.preventDefault(),r.stopImmediatePropagation(),h=(u=o.offsetWidth)/(f=o.offsetHeight),_=!0,n=r.clientX,p=r.clientY,e.events.fire("hidePopup"),e.lock("resizer")})}),e.events.on("readonly",function(e){e&&C()}).on("beforeDestruct",function(){a.Dom.safeRemove(k)}).on("afterInit",function(){e.events.on(e.editor,"keydown",function(t){x&&t.which===i.KEY_DELETE&&o&&"table"!==o.tagName.toLowerCase()&&("JODIT"!==o.tagName?e.selection.select(o):(a.Dom.safeRemove(o),C(),t.preventDefault()))}).on(e.ownerWindow,"mousemove touchmove",function(i){if(_){if(v=i.clientX-n,b=i.clientY-p,!o)return;var r=t.className;"IMG"===o.tagName?(v?(m=u+(r.match(/left/)?-1:1)*v,g=Math.round(m/h)):(g=f+(r.match(/top/)?-1:1)*b,m=Math.round(g*h)),m>c.innerWidth(e.editor,e.ownerWindow)&&(m=c.innerWidth(e.editor,e.ownerWindow),g=Math.round(m/h))):(m=u+(r.match(/left/)?-1:1)*v,g=f+(r.match(/top/)?-1:1)*b),e.options.resizer.min_width<m&&(o.style.width=m<k.parentNode.offsetWidth?m+"px":"100%"),e.options.resizer.min_height<g&&(o.style.height=g+"px"),M(),a=o.offsetWidth,s=o.offsetHeight,e.options.resizer.showSize&&(a<j.offsetWidth||s<j.offsetHeight?A():(j.style.opacity="1",j.innerHTML=a+" x "+s,clearTimeout(w),w=l.setTimeout(A,e.options.resizer.hideSizeTimeout))),i.stopImmediatePropagation()}var a,s}).on(e.ownerWindow,"resize",function(){x&&M()}).on(e.ownerWindow,"mouseup keydown touchend",function(t){x&&!y&&(_?(e.unlock(),_=!1,e.setEditorValue(),t.stopImmediatePropagation()):C())}).on([e.ownerWindow,e.editor],"scroll",function(){x&&!_&&C()})}).on("afterGetValueFromEditor",function(e){e.value=e.value.replace(/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]+>[\s\n\r]*<\/iframe>.*?)<\/jodit>/gi,"$1")}).on("hideResizer",C).on("change afterInit afterSetMode",l.debounce(function(){x&&(o&&o.parentNode?M():C()),e.isDestructed||s.$$("img, table, iframe",e.editor).forEach(function(t){e.getMode()!==i.MODE_SOURCE&&!t.__jodit_resizer_binded&&("IFRAME"===t.tagName&&e.options.useIframeResizer||"IMG"===t.tagName&&e.options.useImageResizer||"TABLE"===t.tagName&&e.options.useTableResizer)&&(t.__jodit_resizer_binded=!0,function(t){var n,i;if("IFRAME"===t.tagName){var a=t;t=t.parentNode&&t.parentNode.getAttribute("data-jodit_iframe_wrapper")?t.parentNode:((n=e.create.inside.fromHTML('<jodit data-jodit-temp="1" contenteditable="false" draggable="true" data-jodit_iframe_wrapper="1"></jodit>')).style.display="inline-block"===t.style.display?"inline-block":"block",n.style.width=t.offsetWidth+"px",n.style.height=t.offsetHeight+"px",t.parentNode&&t.parentNode.insertBefore(n,t),n.appendChild(t),n),e.events.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",function(){e.selection.select(t)}),e.events.off(t,"changesize").on(t,"changesize",function(){a.setAttribute("width",t.offsetWidth+"px"),a.setAttribute("height",t.offsetHeight+"px")})}e.events.on(t,"dragstart",C).on(t,"mousedown",function(e){r.IS_IE&&"IMG"===t.nodeName&&e.preventDefault()}).on(t,"mousedown touchstart",function(){y||(y=!0,o=t,e.options.readonly||(k.parentNode||e.workplace.appendChild(k),x=!0,k.style.display="block",e.isFullSize()&&(k.style.zIndex=""+d.css(e.container,"zIndex")),M()),"IMG"!==o.tagName||o.complete||o.addEventListener("load",function e(){M(),o&&o.removeEventListener("load",e)}),clearTimeout(i)),i=l.setTimeout(function(){y=!1},400)})}(t))})},e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(4),r=o(8);n.Config.prototype.allowResizeX=!1,n.Config.prototype.allowResizeY=!0,t.size=function(e){var t=function(t){r.css(e.container,"height",t),e.options.saveHeightInStorage&&e.storage.set("height",t)},o=function(t){return r.css(e.container,"width",t)},n=function(t){return r.css(e.workplace,"height",t)};if("auto"!==e.options.height&&(e.options.allowResizeX||e.options.allowResizeY)){var a=e.create.div("jodit_editor_resize",'<a href="javascript:void(0)"></a>'),s={x:0,y:0,w:0,h:0},l=!1;e.events.on(a,"mousedown touchstart",function(t){l=!0,s.x=t.clientX,s.y=t.clientY,s.w=e.container.offsetWidth,s.h=e.container.offsetHeight,e.lock(),t.preventDefault()}).on(e.ownerWindow,"mousemove touchmove",i.throttle(function(n){l&&(e.options.allowResizeY&&t(s.h+n.clientY-s.y),e.options.allowResizeX&&o(s.w+n.clientX-s.x),p(),e.events.fire("resize"))},e.defaultTimeout/10)).on(e.ownerWindow,"mouseup touchsend",function(){l&&(l=!1,e.unlock())}).on("afterInit",function(){e.container.appendChild(a)}).on("toggleFullSize",function(e){a.style.display=e?"none":"block"})}var c=function(){return(e.options.toolbar?e.toolbar.container.offsetHeight:0)+(e.statusbar?e.statusbar.container.offsetHeight:0)},d=function(){if(e.container&&e.container.parentNode){var t=r.css(e.container,"minHeight")-c();[e.workplace,e.iframe,e.editor].map(function(o){var n=o===e.editor?t-2:t;o&&r.css(o,"minHeight",n),e.events.fire("setMinHeight",n)})}},p=function(){e&&!e.isDestructed&&e.options&&!e.options.inline&&(d(),e.container&&("auto"!==e.options.height||e.isFullSize())&&n(e.container.offsetHeight-c()))},u=i.debounce(p,e.defaultTimeout);e.events.on("toggleFullSize",function(t){t||"auto"!==e.options.height||(n("auto"),d())}).on("afterInit",function(){e.options.inline||(r.css(e.editor,{minHeight:"100%"}),r.css(e.container,{minHeight:e.options.minHeight,minWidth:e.options.minWidth,maxWidth:e.options.maxWidth}));var n=e.options.height;if(e.options.saveHeightInStorage&&"auto"!==n){var i=e.storage.get("height");i&&(n=i)}e.options.inline||(t(n),o(e.options.width)),p()},void 0,void 0,!0).on(window,"load",u).on("afterInit resize updateToolbar scroll afterResize",u)}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(2),l=o(6),c=o(48),d=o(4),p=o(9),u=o(8),f=o(0);r.Config.prototype.beautifyHTML=!0,r.Config.prototype.useAceEditor=!0,r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-html.min.js"],r.Config.prototype.controls.source={mode:a.MODE_SPLIT,exec:function(e){e.toggleMode()},isActive:function(e){return e.getRealMode()===a.MODE_SOURCE},tooltip:"Change mode"};var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.__lock=!1,t.__oldMirrorValue="",t.autosize=d.debounce(function(){t.mirror.style.height="auto",t.mirror.style.height=t.mirror.scrollHeight+"px"},t.jodit.defaultTimeout),t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.selInfo=[],t.lastTuple=null,t.loadNext=function(e,o,n,i){if(void 0===n&&(n="aceReady"),void 0===i&&(i=t.className),n&&void 0===o[e]&&!t.isDestructed)return t.jodit&&t.jodit.events&&t.jodit.events.fire(n),void(t.jodit&&t.jodit.events&&t.jodit.events.fire(t.jodit.ownerWindow,n));void 0!==o[e]&&(t.lastTuple&&t.lastTuple.element.removeEventListener("load",t.lastTuple.callback),t.lastTuple=c.appendScript(o[e],function(){t.isDestructed||t.loadNext(e+1,o,n,i)},i,t.jodit.ownerDocument))},t.insertHTML=function(e){if(t.mirror.selectionStart||0===t.mirror.selectionStart){var o=t.mirror.selectionEnd;t.mirror.value=t.mirror.value.substring(0,t.mirror.selectionStart)+e+t.mirror.value.substring(o,t.mirror.value.length)}else t.mirror.value+=t.mirror;t.toWYSIWYG()},t.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!t.__lock||!0===e){t.__lock=!0;var o=t.jodit.getEditorValue(!1);o!==t.getMirrorValue()&&t.setMirrorValue(o),t.__lock=!1}},t.toWYSIWYG=function(){if(!t.__lock){var e=t.getMirrorValue();e!==t.__oldMirrorValue&&(t.__lock=!0,t.jodit.setEditorValue(e),t.__lock=!1,t.__oldMirrorValue=e)}},t.getNormalPosition=function(e,t){for(var o=e;0<o;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w\/]+/i))return o;if(">"===t[o])return e}return e},t.__clear=function(e){return e.replace(a.INVISIBLE_SPACE_REG_EXP,"")},t.selectAll=function(){t.mirror.select()},t.onSelectAll=function(e){if("selectall"===e.toLowerCase()&&t.jodit.getRealMode()===s.MODE_SOURCE)return t.selectAll(),!1},t.getSelectionStart=function(){return t.mirror.selectionStart},t.getSelectionEnd=function(){return t.mirror.selectionEnd},t.saveSelection=function(){if(t.jodit.getRealMode()===a.MODE_WYSIWYG)t.selInfo=t.jodit.selection.save()||[],t.jodit.setEditorValue(),t.fromWYSIWYG(!0);else{t.selInfo.length=0;var e=t.getMirrorValue();if(t.getSelectionStart()===t.getSelectionEnd()){var o=t.jodit.selection.marker(!0);t.selInfo[0]={startId:o.id,collapsed:!0,startMarker:o.outerHTML};var n=t.getNormalPosition(t.getSelectionStart(),t.getMirrorValue());t.setMirrorValue(e.substr(0,n)+t.__clear(t.selInfo[0].startMarker)+e.substr(n))}else{var i=t.jodit.selection.marker(!0),r=t.jodit.selection.marker(!1);t.selInfo[0]={startId:i.id,endId:r.id,collapsed:!1,startMarker:t.__clear(i.outerHTML),endMarker:t.__clear(r.outerHTML)},n=t.getNormalPosition(t.getSelectionStart(),e);var s=t.getNormalPosition(t.getSelectionEnd(),e);t.setMirrorValue(e.substr(0,n)+t.selInfo[0].startMarker+e.substr(n,s-n)+t.selInfo[0].endMarker+e.substr(s))}t.toWYSIWYG()}},t.restoreSelection=function(){if(t.selInfo.length){if(t.jodit.getRealMode()===a.MODE_WYSIWYG)return t.__lock=!0,t.jodit.selection.restore(t.selInfo),void(t.__lock=!1);var e=t.getMirrorValue(),o=0,n=0;try{t.selInfo[0].startMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="start"[^>]*>[<>]*?<\/span>/gim,t.tempMarkerStart)),t.selInfo[0].endMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="end"[^>]*>[<>]*?<\/span>/gim,t.tempMarkerEnd)),t.jodit.ownerWindow.html_beautify&&t.jodit.options.beautifyHTML&&(e=t.jodit.ownerWindow.html_beautify(e)),n=o=e.indexOf(t.tempMarkerStart),e=e.replace(t.tempMarkerStartReg,""),t.selInfo[0].collapsed&&-1!==o||(n=e.indexOf(t.tempMarkerEnd),-1===o&&(o=n)),e=e.replace(t.tempMarkerEndReg,"")}finally{e=e.replace(t.tempMarkerEndReg,"").replace(t.tempMarkerStartReg,"")}t.setMirrorValue(e),t.setMirrorSelectionRange(o,n),t.toWYSIWYG(),t.setFocusToMirror()}},t.__proxyOnFocus=function(e){t.jodit.events.fire("focus",e)},t.__proxyOnMouseDown=function(e){t.jodit.events.fire("mousedown",e)},t.setMirrorSelectionRange=function(e,o){t.mirror.setSelectionRange(e,o)},t.onReadonlyReact=function(){var e=t.jodit.options.readonly;e?t.mirror.setAttribute("readonly","true"):t.mirror.removeAttribute("readonly"),t.aceEditor&&t.aceEditor.setReadOnly(e)},t}return i(t,e),t.prototype.getMirrorValue=function(){return this.mirror.value},t.prototype.setMirrorValue=function(e){this.mirror.value=e},t.prototype.setFocusToMirror=function(){this.mirror.focus()},t.prototype.replaceMirrorToACE=function(){var e,t,o=this,n=this.jodit,i=function(){t&&n.getRealMode()===a.MODE_SOURCE&&(n.events.fire("canRedo",t.hasRedo()),n.events.fire("canUndo",t.hasUndo()))},r=function(t){return e.session.getLine(t).length},s=function(){for(var t=e.session.getLength(),o=[],n=0,i=0;i<t;i++)n+=r(i),0<i&&(n+=1),o[i]=n;return o},l=function(e){var t=s();if(e<=t[0])return{row:0,column:e};for(var o=1,n=1;n<t.length;n++)t[n]<e&&(o=n+1);return{row:o,column:e-t[o-1]-1}},c=function(e,t){return s()[e]-r(e)+t},d=function(){if(void 0===e&&void 0!==o.jodit.ownerWindow.ace){o.jodit.events.off(o.jodit.ownerWindow,"aceReady",d);var r=o.jodit.create.div("jodit_source_mirror-fake");o.mirrorContainer.insertBefore(r,o.mirrorContainer.firstChild),o.aceEditor=e=o.jodit.ownerWindow.ace.edit(r),e.setTheme(n.options.sourceEditorNativeOptions.theme),e.renderer.setShowGutter(n.options.sourceEditorNativeOptions.showGutter),e.getSession().setMode(n.options.sourceEditorNativeOptions.mode),e.setHighlightActiveLine(n.options.sourceEditorNativeOptions.highlightActiveLine),e.getSession().setUseWrapMode(!0),e.setOption("indentedSoftWrap",!1),e.setOption("wrap",n.options.sourceEditorNativeOptions.wrap),e.getSession().setUseWorker(!1),e.$blockScrolling=1/0,e.setOptions({maxLines:1/0}),e.on("change",o.toWYSIWYG),e.on("focus",o.__proxyOnFocus),e.on("mousedown",o.__proxyOnMouseDown),o.mirror.style.display="none",t=e.getSession().getUndoManager(),o.setMirrorValue=function(t){e.setValue(n.options.beautifyHTML&&n.ownerWindow.html_beautify?n.ownerWindow.html_beautify(t):t),e.clearSelection(),i()},o.jodit.getRealMode()!==a.MODE_WYSIWYG&&o.setMirrorValue(o.getMirrorValue()),o.getMirrorValue=function(){return e.getValue()},o.setFocusToMirror=function(){e.focus()},o.getSelectionStart=function(){var t=e.selection.getRange();return c(t.start.row,t.start.column)},o.getSelectionEnd=function(){var t=e.selection.getRange();return c(t.end.row,t.end.column)},o.selectAll=function(){e.selection.selectAll()},o.insertHTML=function(t){var o=e.selection.getCursor(),n=e.session.insert(o,t);e.selection.setRange({start:o,end:n},!1)},o.setMirrorSelectionRange=function(t,o){var n,i,r;n=o,i=l(t),r=l(n),e.getSelection().setSelectionRange({start:i,end:r})},n.events.on("afterResize",function(){e.resize()}).fire("aceInited",n)}};n.events.on(this.jodit.ownerWindow,"aceReady",d).on("aceReady",d).on("afterSetMode",function(){n.getRealMode()!==a.MODE_SOURCE&&n.getMode()!==a.MODE_SPLIT||(o.fromWYSIWYG(),d())}).on("beforeCommand",function(o){if(n.getRealMode()!==a.MODE_WYSIWYG&&("redo"===o||"undo"===o)&&t)return t["has"+o.substr(0,1).toUpperCase()+o.substr(1)]&&e[o](),i(),!1}),d(),void 0!==this.jodit.ownerWindow.ace||p.$$("script."+this.className,this.jodit.ownerDocument.body).length||this.loadNext(0,n.options.sourceEditorCDNUrlsJS,"aceReady",this.className)},t.prototype.afterInit=function(e){var t=this;this.mirrorContainer=e.create.div("jodit_source"),this.mirror=e.create.fromHTML('<textarea class="jodit_source_mirror"/>');var o=function(){e.events.off("beforeSetMode.source afterSetMode.source").on("beforeSetMode.source",t.saveSelection).on("afterSetMode.source",t.restoreSelection)};o(),this.onReadonlyReact(),e.events.on(this.mirror,"mousedown keydown touchstart input",d.debounce(this.toWYSIWYG,e.defaultTimeout)).on(this.mirror,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.mirror,"mousedown focus",function(t){e.events.fire(t.type,t)}),e.events.on("setMinHeight.source",function(e){t.mirror&&u.css(t.mirror,"minHeight",e)}).on("insertHTML.source",function(o){if(!e.options.readonly&&!t.jodit.isEditorMode())return t.insertHTML(o),!1}).on("aceInited",function(){t.onReadonlyReact(),o()},void 0,void 0,!0).on("readonly.source",this.onReadonlyReact).on("placeholder.source",function(e){t.mirror.setAttribute("placeholder",e)}).on("beforeCommand.source",this.onSelectAll).on("change.source",this.fromWYSIWYG),this.mirrorContainer.appendChild(this.mirror),e.workplace.appendChild(this.mirrorContainer),this.autosize();var n="beutyfy_html_jodit_helper";e.options.beautifyHTML&&void 0===e.ownerWindow.html_beautify&&!p.$$("script."+n,e.ownerDocument.body).length&&this.loadNext(0,e.options.beautifyHTMLCDNUrlsJS,!1,n),e.options.useAceEditor&&this.replaceMirrorToACE(),this.fromWYSIWYG()},t.prototype.beforeDestruct=function(e){f.Dom.safeRemove(this.mirrorContainer),f.Dom.safeRemove(this.mirror),e&&e.events&&e.events.off("aceInited.source"),this.aceEditor&&(this.setFocusToMirror=function(){},this.aceEditor.off("change",this.toWYSIWYG),this.aceEditor.off("focus",this.__proxyOnFocus),this.aceEditor.off("mousedown",this.__proxyOnMouseDown),this.aceEditor.destroy(),delete this.aceEditor),this.lastTuple&&this.lastTuple.element.removeEventListener("load",this.lastTuple.callback)},t}(l.Plugin);t.source=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(19);n.Config.prototype.usePopupForSpecialCharacters=!1,n.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Config.prototype.controls.symbol={icon:"omega",hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(e,t,o,n){var i=e.events.fire("generateSpecialCharactersTable.symbols");if(i){if(e.options.usePopupForSpecialCharacters){var a=e.ownerDocument.createElement("div");return a.classList.add("jodit_symbols"),a.appendChild(i),e.events.on(i,"close_dialog",n),a}var s=r.Alert(i,e.i18n("Select Special Character"),void 0,"jodit_symbols"),l=i.querySelector("a");l&&l.focus(),e.events.on("beforeDestruct",function(){s&&s.close()})}}},t.symbols=function(e){var t=this;this.countInRow=17,e.events.on("generateSpecialCharactersTable.symbols",function(){for(var o=e.create.fromHTML('<div class="jodit_symbols-container"><div class="jodit_symbols-container_table"><table><tbody></tbody></table></div><div class="jodit_symbols-container_preview"><div class="jodit_symbols-preview"></div></div></div>'),n=o.querySelector(".jodit_symbols-preview"),r=o.querySelector("table").tBodies[0],a=[],s=0;s<e.options.specialCharacters.length;){for(var l=e.create.element("tr"),c=0;c<t.countInRow&&s<e.options.specialCharacters.length;c+=1,s+=1){var d=e.create.element("td"),p=e.create.fromHTML('<a\n                                    data-index="'+s+'"\n                                    data-index-j="'+c+'"\n                                    href="javascript:void(0)"\n                                    role="option"\n                                    tabindex="-1"\n                                >'+e.options.specialCharacters[s]+"</a>");a.push(p),d.appendChild(p),l.appendChild(d)}r.appendChild(l)}var u=t;return e.events.on(a,"focus",function(){n.innerHTML=this.innerHTML}).on(a,"mousedown",function(t){this&&"A"===this.nodeName&&(e.selection.focus(),e.selection.insertHTML(this.innerHTML),e.events.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(a,"mouseenter",function(){this&&"A"===this.nodeName&&this.focus()}).on(a,"keydown",function(t){var o=t.target;if(o&&"A"===o.nodeName){var n=parseInt(o.getAttribute("data-index")||"0",10),r=parseInt(o.getAttribute("data-index-j")||"0",10),s=void 0;switch(t.which){case i.KEY_UP:case i.KEY_DOWN:void 0===a[s=t.which===i.KEY_UP?n-u.countInRow:n+u.countInRow]&&a.length-1<(s=t.which===i.KEY_UP?Math.floor(a.length/u.countInRow)*u.countInRow+r:r)&&(s-=u.countInRow),a[s]&&a[s].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:void 0===a[s=t.which===i.KEY_LEFT?n-1:n+1]&&(s=t.which===i.KEY_LEFT?a.length-1:0),a[s]&&a[s].focus();break;case i.KEY_ENTER:e.events.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),o})}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(6),s=o(17);r.Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onKeyPress=function(e){var o=t.specialKeys[e.which],n=(e.key||String.fromCharCode(e.which)).toLowerCase(),i=[o||n];return["alt","ctrl","shift","meta"].forEach(function(t){e[t+"Key"]&&o!==t&&i.push(t)}),s.normalizeKeyAliases(i.join("+"))},t.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},t}return i(t,e),t.prototype.afterInit=function(e){var t=this;Object.keys(e.options.commandToHotkeys).forEach(function(t){var o=e.options.commandToHotkeys[t];o&&e.registerHotkeyToCommand(o,t)});var o=!1;e.events.on("keydown.hotkeys",function(n){var i=t.onKeyPress(n);if(!1===t.jodit.events.fire(i+".hotkey",n.type))return o=!0,e.events.stopPropagation("keydown"),!1},void 0,void 0,!0).on("keyup.hotkeys",function(){if(o)return o=!1,e.events.stopPropagation("keyup"),!1},void 0,void 0,!0)},t.prototype.beforeDestruct=function(e){e.events&&e.events.off(".hotkeys")},t}(a.Plugin);t.hotkeys=l},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(6),l=o(0),c=o(28),d=o(3),p=o(4);r.Config.prototype.useTableProcessor=!0,r.Config.prototype.useExtraClassesOptions=!0,r.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(e,t,o,n,i){var r,a,s,c,p=1,u=1,f=o.data&&o.data.rows?o.data.rows:10,h=o.data&&o.data.cols?o.data.cols:10,g=e.create.fromHTML('<form class="jodit_form jodit_form_inserter"><label><span>1</span> &times; <span>1</span></label><div class="jodit_form-table-creator-box"><div class="jodit_form-container"></div><div class="jodit_form-options">'+function(){if(!e.options.useExtraClassesOptions)return"";var t=[];if(o.data){var n=o.data.classList;Object.keys(n).forEach(function(e){t.push('<label><input value="'+e+'" type="checkbox"/>'+n[e]+"</label>")})}return t.join("")}()+"</div></div></form>"),m=g.querySelectorAll("span")[0],v=g.querySelectorAll("span")[1],b=g.querySelector(".jodit_form-container"),y=g.querySelector(".jodit_form-table-creator-box"),_=g.querySelector(".jodit_form-options"),x=[];return b.addEventListener("mousemove",function(e,t){var o=e.target;if(o&&"DIV"===o.tagName){for(s=void 0===t||isNaN(t)?parseInt(o.getAttribute("data-index")||"0",10):t||0,p=Math.ceil((s+1)/h),u=s%h+1,r=0;r<x.length;r+=1)x[r].className=u<r%h+1||p<Math.ceil((r+1)/h)?"":"hovered";v.innerText=""+u,m.innerText=""+p}}),e.events.on(b,"touchstart mousedown",function(t){var o=t.target,i=e.editorDocument;if(t.preventDefault(),t.stopImmediatePropagation(),"DIV"===o.tagName){s=parseInt(o.getAttribute("data-index")||"0",10),p=Math.ceil((s+1)/h),u=s%h+1;var c=i.createElement("table");c.style.width="100%";var f,g,m,v=null;for(r=1;r<=p;r+=1){for(f=i.createElement("tr"),a=1;a<=u;a+=1)g=i.createElement("td"),v||(v=g),m=i.createElement("br"),g.appendChild(m),f.appendChild(i.createTextNode("\n")),f.appendChild(i.createTextNode("\t")),f.appendChild(g);c.appendChild(i.createTextNode("\n")),c.appendChild(f)}var b=e.selection.current();if(b&&e.selection.isCollapsed()){var y=l.Dom.closest(b,function(t){return l.Dom.isBlock(t,e.editorWindow)},e.editor);y&&y!==e.editor&&!y.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.selection.setCursorAfter(y)}d.$$("input[type=checkbox]:checked",_).forEach(function(e){e.value.split(/[\s]+/).forEach(function(e){c.classList.add(e)})}),e.selection.insertNode(i.createTextNode("\n")),e.selection.insertNode(c,!1),v&&(e.selection.setCursorIn(v),d.scrollIntoView(v,e.editor,e.editorDocument)),n()}}),i&&i.parentToolbar&&e.events.off(i.parentToolbar.container,"afterOpenPopup.tableGenerator").on(i.parentToolbar.container,"afterOpenPopup.tableGenerator",function(){!function(t){var o=f*h;if(o<x.length){for(r=o;r<x.length;r+=1)l.Dom.safeRemove(x[r]),delete x[r];x.length=o}for(r=0;r<o;r+=1)x[r]||((c=e.ownerDocument.createElement("div")).setAttribute("data-index",""+r),x.push(c));x.forEach(function(e){b.appendChild(e)});var n=(x[0].offsetWidth||18)*h;b.style.width=n+"px",y.style.width=n+_.offsetWidth+1+"px"}(),x[0]&&(x[0].className="hovered")},"",!0),g},tooltip:"Insert table"};var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.__key="table_processor_observer",t.__selectMode=!1,t.__resizerDelta=0,t.__drag=!1,t.__addResizer=function(){if(!t.__resizerHandler&&(t.__resizerHandler=t.jodit.container.querySelector(".jodit_table_resizer"),!t.__resizerHandler)){t.__resizerHandler=t.jodit.create.div("jodit_table_resizer");var e=0;t.jodit.events.on(t.__resizerHandler,"mousedown.table touchstart.table",function(o){t.__drag=!0,e=o.clientX,t.jodit.lock(t.__key),t.__resizerHandler.classList.add("jodit_table_resizer-moved");var n,i=t.__workTable.getBoundingClientRect();if(t.__minX=0,t.__maxX=1e6,null!==t.__wholeTable)i=t.__workTable.parentNode.getBoundingClientRect(),t.__minX=i.left,t.__maxX=i.left+i.width;else{var r=c.Table.formalCoordinate(t.__workTable,t.__workCell,!0);c.Table.formalMatrix(t.__workTable,function(e,o,i){r[1]===i&&(n=e.getBoundingClientRect(),t.__minX=Math.max(n.left+a.NEARBY/2,t.__minX)),r[1]+1===i&&(n=e.getBoundingClientRect(),t.__maxX=Math.min(n.left+n.width-a.NEARBY/2,t.__maxX))})}return!1}).on(t.__resizerHandler,"mouseenter.table",function(){clearTimeout(t.hideTimeout)}).on(t.jodit.editorWindow,"mousemove.table touchmove.table",function(o){if(t.__drag){var n=o.clientX,i=d.offset(t.__resizerHandler.parentNode||t.jodit.ownerDocument.documentElement,t.jodit,t.jodit.ownerDocument,!0);n<t.__minX&&(n=t.__minX),t.__maxX<n&&(n=t.__maxX),t.__resizerDelta=n-e+(t.jodit.options.iframe?i.left:0),t.__resizerHandler.style.left=n-(t.jodit.options.iframe?0:i.left)+"px",t.jodit.editorWindow.getSelection().removeAllRanges(),o.preventDefault&&o.preventDefault()}}),t.jodit.workplace.appendChild(t.__resizerHandler)}},t.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var o=c.Table.getAllSelectedCells(t.jodit.editor);if(o.length){var n=o.shift();if(!n)return;var i=l.Dom.closest(n,"table",t.jodit.editor);switch(e){case"splitv":c.Table.splitVertical(i);break;case"splitg":c.Table.splitHorizontal(i);break;case"merge":c.Table.mergeSelected(i);break;case"empty":c.Table.getAllSelectedCells(t.jodit.editor).forEach(function(e){return e.innerHTML=""});break;case"bin":l.Dom.safeRemove(i);break;case"binrow":c.Table.removeRow(i,n.parentNode.rowIndex);break;case"bincolumn":c.Table.removeColumn(i,n.cellIndex);break;case"addcolumnafter":case"addcolumnbefore":c.Table.appendColumn(i,n.cellIndex,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":c.Table.appendRow(i,n.parentNode,"addrowafter"===e)}}return!1}},t}return i(t,e),t.isCell=function(e){return!!e&&/^TD|TH$/i.test(e.nodeName)},t.prototype.showResizer=function(){clearTimeout(this.hideTimeout),this.__resizerHandler.style.display="block"},t.prototype.hideResizer=function(){var e=this;clearTimeout(this.hideTimeout),this.hideTimeout=p.setTimeout(function(){e.__resizerHandler.style.display="none"},this.jodit.defaultTimeout)},t.prototype.__deSelectAll=function(e,t){var o=c.Table.getAllSelectedCells(e||this.jodit.editor);o.length&&o.forEach(function(e){t&&t===e||c.Table.restoreSelection(e)})},t.prototype.__setWorkCell=function(e,t){void 0===t&&(t=null),this.__wholeTable=t,this.__workCell=e,this.__workTable=l.Dom.up(e,function(e){return e&&"TABLE"===e.nodeName},this.jodit.editor)},t.prototype.__calcResizerPosition=function(e,o,n,i){void 0===n&&(n=0),void 0===i&&(i=0);var r=d.offset(o,this.jodit,this.jodit.editorDocument);if(a.NEARBY<n&&a.NEARBY<r.width-n)this.hideResizer();else{var s=d.offset(this.__resizerHandler.parentNode||this.jodit.ownerDocument.documentElement,this.jodit,this.jodit.ownerDocument,!0),c=d.offset(e,this.jodit,this.jodit.editorDocument);if(this.__resizerHandler.style.left=(a.NEARBY<n?r.left+r.width:r.left)-s.left+i+"px",this.__resizerHandler.style.height=c.height+"px",this.__resizerHandler.style.top=c.top-s.top+"px",this.showResizer(),a.NEARBY<n){var p=l.Dom.next(o,t.isCell,o.parentNode);this.__setWorkCell(o,!!p&&null)}else{var u=l.Dom.prev(o,t.isCell,o.parentNode);u?this.__setWorkCell(u):this.__setWorkCell(o,!0)}}},t.prototype.observe=function(e){var o,n=this;e[this.__key]=!0,this.jodit.events.on(e,"mousedown.table touchstart.table",function(i){if(!n.jodit.options.readonly){var r=l.Dom.up(i.target,t.isCell,e);r&&r instanceof n.jodit.editorWindow.HTMLElement&&(r.firstChild||r.appendChild(n.jodit.editorDocument.createElement("br")),c.Table.addSelected(o=r),n.__selectMode=!0)}}).on(e,"mouseleave.table",function(e){n.__resizerHandler&&n.__resizerHandler!==e.relatedTarget&&n.hideResizer()}).on(e,"mousemove.table touchmove.table",function(i){if(!n.jodit.options.readonly&&!n.__drag&&!n.jodit.isLockedNotBy(n.__key)){var r=l.Dom.up(i.target,t.isCell,e);if(r)if(n.__selectMode){r!==o&&(n.jodit.lock(n.__key),n.jodit.editorWindow.getSelection().removeAllRanges(),i.preventDefault&&i.preventDefault()),n.__deSelectAll(e);for(var a=c.Table.getSelectedBound(e,[r,o]),s=c.Table.formalMatrix(e),p=a[0][0];p<=a[1][0];p+=1)for(var u=a[0][1];u<=a[1][1];u+=1)c.Table.addSelected(s[p][u]);var f=s[a[1][0]][a[1][1]],h=s[a[0][0]][a[0][1]];n.jodit.events.fire("showPopup",e,function(){var e=d.offset(h,n.jodit,n.jodit.editorDocument),t=d.offset(f,n.jodit,n.jodit.editorDocument);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),i.stopPropagation()}else n.__calcResizerPosition(e,r,i.offsetX)}}),this.__addResizer()},t.prototype.afterInit=function(e){var o=this;e.options.useTableProcessor&&e.events.on(this.jodit.ownerWindow,"mouseup.table touchend.table",function(){if((o.__selectMode||o.__drag)&&(o.__selectMode=!1,o.jodit.unlock()),o.__resizerHandler&&o.__drag){if(o.__drag=!1,o.__resizerHandler.classList.remove("jodit_table_resizer-moved"),null===o.__wholeTable){var n=[];c.Table.setColumnWidthByDelta(o.__workTable,c.Table.formalCoordinate(o.__workTable,o.__workCell,!0)[1],o.__resizerDelta,!0,n);var i=l.Dom.next(o.__workCell,t.isCell,o.__workCell.parentNode);c.Table.setColumnWidthByDelta(o.__workTable,c.Table.formalCoordinate(o.__workTable,i)[1],-o.__resizerDelta,!1,n)}else{var r=o.__workTable.offsetWidth,a=d.getContentWidth(o.__workTable.parentNode,o.jodit.editorWindow);if(o.__wholeTable){var s=parseInt(o.jodit.editorWindow.getComputedStyle(o.__workTable).marginLeft||"0",10);o.__workTable.style.width=(r-o.__resizerDelta)/a*100+"%",o.__workTable.style.marginLeft=(s+o.__resizerDelta)/a*100+"%"}else o.__workTable.style.width=(r+o.__resizerDelta)/a*100+"%"}e.setEditorValue(),e.selection.focus()}}).on(this.jodit.ownerWindow,"scroll.table",function(){if(o.__drag){var t=l.Dom.up(o.__workCell,function(e){return e&&"TABLE"===e.nodeName},e.editor);if(t){var n=t.getBoundingClientRect();o.__resizerHandler.style.top=n.top+"px"}}}).on(this.jodit.ownerWindow,"mousedown.table touchend.table",function(e){var t=l.Dom.closest(e.originalEvent.target,"TD|TH",o.jodit.editor),n=null;t instanceof o.jodit.editorWindow.HTMLTableCellElement&&(n=l.Dom.closest(t,"table",o.jodit.editor)),n?o.__deSelectAll(n,t instanceof o.jodit.editorWindow.HTMLTableCellElement&&t):o.__deSelectAll()}).on("afterGetValueFromEditor.table",function(e){e.value=e.value.replace(RegExp("([s]*)"+a.JODIT_SELECTED_CELL_MARKER+'="1"',"g"),"")}).on("change.table afterCommand.table afterSetMode.table",function(){d.$$("table",e.editor).forEach(function(e){e[o.__key]||o.observe(e)})}).on("beforeSetMode.table",function(){c.Table.getAllSelectedCells(e.editor).forEach(function(t){c.Table.restoreSelection(t),c.Table.normalizeTable(l.Dom.closest(t,"table",e.editor))})}).on("keydown.table",function(t){t.which===a.KEY_TAB&&d.$$("table",e.editor).forEach(function(e){o.__deSelectAll(e)})}).on("beforeCommand.table",this.onExecCommand.bind(this))},t.prototype.beforeDestruct=function(e){e.events&&(e.events.off(this.jodit.ownerWindow,".table"),e.events.off(".table"))},t}(s.Plugin);t.TableProcessor=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0),r=o(28);t.tableKeyboardNavigation=function(e){e.events.on("keydown",function(t){var o,a;if((t.which===n.KEY_TAB||t.which===n.KEY_LEFT||t.which===n.KEY_RIGHT||t.which===n.KEY_UP||t.which===n.KEY_DOWN)&&(o=e.selection.current(),a=i.Dom.up(o,function(e){return e&&e.nodeName&&/^td|th$/i.test(e.nodeName)},e.editor))){var s=e.editorWindow.getSelection(),l=s.rangeCount?s.getRangeAt(0):e.editorDocument.createRange();if(t.which===n.KEY_TAB||o===a||(t.which!==n.KEY_LEFT&&t.which!==n.KEY_UP||!(i.Dom.prev(o,function(e){return t.which===n.KEY_UP?e&&"BR"===e.nodeName:!!e},a)||t.which!==n.KEY_UP&&o.nodeType===Node.TEXT_NODE&&0!==l.startOffset))&&(t.which!==n.KEY_RIGHT&&t.which!==n.KEY_DOWN||!(i.Dom.next(o,function(e){return t.which===n.KEY_DOWN?e&&"BR"===e.nodeName:!!e},a)||t.which!==n.KEY_DOWN&&o.nodeType===Node.TEXT_NODE&&o.nodeValue&&l.startOffset!==o.nodeValue.length))){var c=i.Dom.up(a,function(e){return e&&/^table$/i.test(e.nodeName)},e.editor),d=null;switch(t.which){case n.KEY_TAB:case n.KEY_LEFT:var p=t.which===n.KEY_LEFT||t.shiftKey?"prev":"next";(d=i.Dom[p](a,function(e){return e&&/^td|th$/i.test(e.tagName)},c))||(r.Table.appendRow(c,"next"!==p&&c.querySelector("tr"),"next"===p),d=i.Dom[p](a,function(t){return t&&i.Dom.isCell(t,e.editorWindow)},c));break;case n.KEY_UP:case n.KEY_DOWN:var u=0,f=0,h=r.Table.formalMatrix(c,function(e,t,o){e===a&&(u=t,f=o)});t.which===n.KEY_UP?void 0!==h[u-1]&&(d=h[u-1][f]):void 0!==h[u+1]&&(d=h[u+1][f])}if(d){if(d.firstChild)t.which===n.KEY_TAB?e.selection.select(d,!0):e.selection.setCursorIn(d,t.which===n.KEY_RIGHT||t.which===n.KEY_DOWN);else{var g=e.editorDocument.createElement("br");d.appendChild(g),e.selection.setCursorBefore(g)}return!1}}}})}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(2),l=o(0),c=o(5),d=o(6),p=o(4),u=o(10);r.Config.prototype.useSearch=!0;var f=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.template='<div class="jodit_search"><div class="jodit_search_box"><div class="jodit_search_inputs"><input tabindex="0" class="jodit_search-query" placeholder="'+o.jodit.i18n("Search for")+'" type="text"/><input tabindex="0" class="jodit_search-replace" placeholder="'+o.jodit.i18n("Replace with")+'" type="text"/></div><div class="jodit_search_counts"><span>0/0</span></div><div class="jodit_search_buttons"><button tabindex="0" type="button" class="jodit_search_buttons-next">'+c.ToolbarIcon.getIcon("angle-down")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-prev">'+c.ToolbarIcon.getIcon("angle-up")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-cancel">'+c.ToolbarIcon.getIcon("cancel")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-replace">'+o.jodit.i18n("Replace")+"</button></div></div></div>",o.isOpened=!1,o.selInfo=null,o.current=!1,o.eachMap=function(e,t,n){l.Dom.findWithCurrent(e,function(e){return!!e&&t(e)},o.jodit.editor,n?"nextSibling":"previousSibling",n?"firstChild":"lastChild")},o.updateCounters=function(){if(o.isOpened){o.counterBox.style.display=o.queryInput.value.length?"inline-block":"none";var e=o.jodit.editorWindow.getSelection(),t=e.rangeCount?e.getRangeAt(0):o.jodit.editorDocument.createRange(),n=o.calcCounts(o.queryInput.value,t);o.counterBox.innerText=n.join("/")}},o.calcCounts=function(e,t){void 0===t&&(t=!1);for(var n=[],i=0,r=0,a=!1,s=o.jodit.editor.firstChild;s&&e.length;)if(a=o.find(s,e,!0,0,a||o.jodit.editorDocument.createRange())){if(o.boundAlreadyWas(a,n))break;n.push(a),s=a.startContainer,r+=1,t&&o.boundAlreadyWas(t,[a])&&(i=r)}else s=null;return[i,r]},o.findAndReplace=function(e,t){var n=o.jodit.editorWindow.getSelection(),i=n.rangeCount?n.getRangeAt(0):o.jodit.editorDocument.createRange(),r=o.find(e,t,!0,0,i);if(r&&r.startContainer&&r.endContainer){var a=o.jodit.editorDocument.createRange();try{if(r&&r.startContainer&&r.endContainer){a.setStart(r.startContainer,r.startOffset),a.setEnd(r.endContainer,r.endOffset),a.deleteContents();var s=o.jodit.editorDocument.createTextNode(o.replaceInput.value);a.insertNode(s),o.jodit.selection.select(s),o.tryScrollToElement(s)}}catch(e){}return!0}return!1},o.findAndSelect=function(e,t,n){var i=o.jodit.selection.sel,r=i.rangeCount?i.getRangeAt(0):o.jodit.selection.createRange(),a=o.find(e,t,n,0,r);if(a&&a.startContainer&&a.endContainer){var s=o.jodit.editorDocument.createRange();try{s.setStart(a.startContainer,a.startOffset),s.setEnd(a.endContainer,a.endOffset),o.jodit.selection.selectRange(s)}catch(e){}return o.tryScrollToElement(a.startContainer),o.current=a.startContainer,o.updateCounters(),!0}return!1},o.find=function(e,n,i,r,a){if(e&&n.length){var s="",c={startContainer:null,startOffset:null,endContainer:null,endOffset:null};if(o.eachMap(e,function(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.nodeValue.length){var d=e.nodeValue;i||e!==a.startContainer?i&&e===a.endContainer&&(d=r?d.substr(0,a.startOffset):d.substr(a.endOffset)):d=r?d.substr(a.endOffset):d.substr(0,a.startOffset);var p=i?s+d:d+s,f=t.findSomePartOfString(n,p,i);if(!1!==f){var h=t.findSomePartOfString(n,d,i);!0===h?h=u.trim(n):!1===h&&!0===(h=t.findSomePartOfString(d,n,i))&&(h=u.trim(d));var g=t.getSomePartOfStringIndex(n,d,i)||0;if((i&&!r||!i&&r)&&0<e.nodeValue.length-d.length&&(g+=e.nodeValue.length-d.length),null===c.startContainer&&(c.startContainer=e,c.startOffset=g),!0===f)return c.endContainer=e,c.endOffset=g,c.endOffset+=h.length,!0;s=p}else s="",c={startContainer:null,startOffset:null,endContainer:null,endOffset:null}}else l.Dom.isBlock(e,o.jodit.editorWindow)&&""!==s&&(s=i?s+" ":" "+s);return!1},i),c.startContainer&&c.endContainer)return c;if(!r)return o.current=i?o.jodit.editor.firstChild:o.jodit.editor.lastChild,o.find(o.current,n,i,r+1,a)}return!1},o.open=function(e){void 0===e&&(e=!1),o.isOpened||(o.searchBox.classList.add("jodit_search-active"),o.isOpened=!0),o.jodit.events.fire("hidePopup"),o.searchBox.classList.toggle("jodit_search-and-replace",e),o.current=o.jodit.selection.current(),o.selInfo=o.jodit.selection.save();var t=""+o.jodit.selection.sel;t&&(o.queryInput.value=t),o.updateCounters(),t?o.queryInput.select():o.queryInput.focus()},o.close=function(){o.isOpened&&(o.selInfo&&(o.jodit.selection.restore(o.selInfo),o.selInfo=null),o.searchBox.classList.remove("jodit_search-active"),o.isOpened=!1)},o}return i(t,e),t.getSomePartOfStringIndex=function(e,t,o){return void 0===o&&(o=!0),this.findSomePartOfString(e,t,o,!0)},t.findSomePartOfString=function(e,t,o,n){void 0===o&&(o=!0),void 0===n&&(n=!1),e=u.trim(e.toLowerCase().replace(a.SPACE_REG_EXP," ")),t=t.toLowerCase();for(var i=o?0:t.length-1,r=o?0:e.length-1,s=0,l=null,c=o?1:-1,d=[];void 0!==t[i];i+=c){var p=e[r]===t[i];if(p||null!==l&&a.SPACE_REG_EXP.test(t[i])?(null!==l&&o||(l=i),d.push(t[i]),p&&(s+=1,r+=c)):(l=null,s=d.length=0,r=o?0:e.length-1),s===e.length)return!n||l}return n?null!==l&&l:!!d.length&&(o?d.join(""):d.reverse().join(""))},t.prototype.boundAlreadyWas=function(e,t){return t.some(function(t){return t.startContainer===e.startContainer&&t.endContainer===e.endContainer&&t.startOffset===e.startOffset&&t.endOffset===e.endOffset},!1)},t.prototype.tryScrollToElement=function(e){var t=l.Dom.closest(e,function(e){return e&&e.nodeType===Node.ELEMENT_NODE},this.jodit.editor);t||(t=l.Dom.prev(e,function(e){return e&&e.nodeType===Node.ELEMENT_NODE},this.jodit.editor)),t&&t!==this.jodit.editor&&t.scrollIntoView()},t.prototype.afterInit=function(e){var t=this;if(e.options.useSearch){var o=this;o.searchBox=e.create.fromHTML(o.template),o.queryInput=o.searchBox.querySelector("input.jodit_search-query"),o.replaceInput=o.searchBox.querySelector("input.jodit_search-replace"),o.closeButton=o.searchBox.querySelector(".jodit_search_buttons-cancel"),o.nextButton=o.searchBox.querySelector(".jodit_search_buttons-next"),o.prevButton=o.searchBox.querySelector(".jodit_search_buttons-prev"),o.replaceButton=o.searchBox.querySelector(".jodit_search_buttons-replace"),o.counterBox=o.searchBox.querySelector(".jodit_search_counts span"),e.workplace.appendChild(this.searchBox),e.events.on(o.closeButton,"click",this.close).on(o.queryInput,"mousedown",function(){e.selection.isFocused()&&(e.selection.removeMarkers(),o.selInfo=e.selection.save())}).on(o.replaceButton,"click",function(n){o.findAndReplace(e.selection.current()||e.editor.firstChild,o.queryInput.value),t.updateCounters(),n.preventDefault(),n.stopImmediatePropagation()}).on([o.nextButton,o.prevButton],"click",function(t){e.events.fire(o.nextButton===this?"searchNext":"searchPrevious"),t.preventDefault(),t.stopImmediatePropagation()}).on(this.queryInput,"keydown",p.debounce(function(o){switch(o.which){case a.KEY_ENTER:o.preventDefault(),o.stopImmediatePropagation(),e.events.fire("searchNext")&&t.close();break;default:t.updateCounters()}},this.jodit.defaultTimeout)).on(this.jodit.container,"keydown.search",function(n){if(e.getRealMode()===s.MODE_WYSIWYG)switch(n.which){case a.KEY_ESC:t.close();break;case a.KEY_F3:o.queryInput.value&&(e.events.fire(n.shiftKey?"searchPrevious":"searchNext"),n.preventDefault())}}).on("beforeSetMode.search",function(){t.close()}).on("keydown.search mousedown.search",function(){t.selInfo&&(e.selection.removeMarkers(),t.selInfo=null),t.isOpened&&(t.current=t.jodit.selection.current(),t.updateCounters())}).on("searchNext.search searchPrevious.search",function(){return o.findAndSelect(e.selection.current()||e.editor.firstChild,o.queryInput.value,"searchNext"===e.events.current[e.events.current.length-1])}).on("search.search",function(t,o){void 0===o&&(o=!0),e.execCommand("search",t,o)}),e.registerCommand("search",{exec:function(t,n,i){return void 0===i&&(i=!0),o.findAndSelect(e.selection.current()||e.editor.firstChild,n||"",i),!1}}),e.registerCommand("openSearchDialog",{exec:function(){return o.open(),!1},hotkeys:["ctrl+f","cmd+f"]}),e.registerCommand("openReplaceDialog",{exec:function(){return e.options.readonly||o.open(!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){l.Dom.safeRemove(this.searchBox),e.events&&e.events.off(".search"),e.events&&e.events.off(e.container,".search")},t}(d.Plugin);t.search=f},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(6),l=o(8),c=o(23),d=o(0);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isToolbarSticked=!1,t.createDummy=function(e){t.dummyBox||(t.dummyBox=t.jodit.create.div(),t.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),t.jodit.container.insertBefore(t.dummyBox,e))},t.addSticky=function(e){t.isToolbarSticked||(t.createDummy(e),t.jodit.container.classList.add("jodit_sticky"),t.isToolbarSticked=!0),l.css(e,{top:t.jodit.options.toolbarStickyOffset,width:t.jodit.container.offsetWidth}),l.css(t.dummyBox,{height:e.offsetHeight})},t.removeSticky=function(e){t.isToolbarSticked&&(l.css(e,{width:"",top:""}),t.jodit.container.classList.remove("jodit_sticky"),t.isToolbarSticked=!1)},t}return i(t,e),t.prototype.isMobile=function(){return this.jodit&&this.jodit.options&&this.jodit.container&&this.jodit.container.offsetWidth<=this.jodit.options.sizeSM},t.prototype.afterInit=function(e){var t=this;e.events.on(e.ownerWindow,"scroll wheel mousewheel resize",function(){var o=e.ownerWindow.pageYOffset||e.ownerDocument.documentElement&&e.ownerDocument.documentElement.scrollTop||0,n=c.offset(e.container,e,e.ownerDocument,!0),i=e.getMode()===a.MODE_WYSIWYG&&n.top<o+e.options.toolbarStickyOffset&&o+e.options.toolbarStickyOffset<n.top+n.height&&!(e.options.toolbarDisableStickyForMobile&&t.isMobile());e.options.toolbarSticky&&e.options.toolbar&&(i?t.addSticky(e.toolbar.container):t.removeSticky(e.toolbar.container)),e.events.fire("toggleSticky",i)})},t.prototype.beforeDestruct=function(e){d.Dom.safeRemove(this.dummyBox)},t}(s.Plugin);t.sticky=p},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(4),l=o(6),c=o(0);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.showWordsCounter=!0;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.calc=s.throttle(function(){var e=t.jodit.getEditorText();t.jodit.options.showCharsCounter&&t.charCounter&&(t.charCounter.innerText=t.jodit.i18n("Chars: %d",e.replace(a.SPACE_REG_EXP,"").length)),t.jodit.options.showWordsCounter&&t.wordCounter&&(t.wordCounter.innerText=t.jodit.i18n("Words: %d",e.replace(a.INVISIBLE_SPACE_REG_EXP,"").split(a.SPACE_REG_EXP).filter(function(e){return e.length}).length))},t.jodit.defaultTimeout),t}return i(t,e),t.prototype.afterInit=function(){this.jodit.options.showCharsCounter&&(this.charCounter=this.jodit.create.span(),this.jodit.statusbar.append(this.charCounter,!0)),this.jodit.options.showWordsCounter&&(this.wordCounter=this.jodit.create.span(),this.jodit.statusbar.append(this.wordCounter,!0)),this.jodit.events.on("change",this.calc),this.calc()},t.prototype.beforeDestruct=function(){c.Dom.safeRemove(this.charCounter),c.Dom.safeRemove(this.wordCounter),this.charCounter=null,this.wordCounter=null},t}(l.Plugin);t.stat=d},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(1),s=o(2),l=o(36),c=o(0),d=o(4),p=o(9),u=o(6),f=o(26);a.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},a.Config.prototype.showXPathInStatusbar=!0;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=function(e,o){return t.menu||(t.menu=new l.ContextMenu(t.jodit)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.jodit.editor?"Clear":"Remove",exec:function(){e!==t.jodit.editor?c.Dom.safeRemove(e):t.jodit.value="",t.jodit.setEditorValue()}},{icon:"select-all",title:"Select",exec:function(){t.jodit.selection.select(e)}}]),!1},t.onSelectPath=function(e,o){t.jodit.selection.focus();var n=o.target.getAttribute("data-path")||"/";if("/"===n)return t.jodit.execCommand("selectall"),!1;try{var i=t.jodit.editorDocument.evaluate(n,t.jodit.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(i)return t.jodit.selection.select(i),!1}catch(e){}return t.jodit.selection.select(e),!1},t.tpl=function(e,o,n,i){var r=t.jodit.create.fromHTML('<li><a role="button" data-path="'+o+'" href="javascript:void(0)" title="'+i+'" tabindex="-1">'+n+"</a></li>"),a=r.firstChild;return t.jodit.events.on(a,"click",t.onSelectPath.bind(t,e)).on(a,"contextmenu",t.onContext.bind(t,e)),r},t.removeSelectAll=function(){t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=function(){t.removeSelectAll(),t.selectAllButton=new f.ToolbarButton(t.jodit,r({name:"selectall"},t.jodit.options.controls.selectall)),t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=function(){if(!t.isDestructed){var e,o,n,i=t.jodit.selection.current();t.container&&(t.container.innerHTML=s.INVISIBLE_SPACE),i&&c.Dom.up(i,function(i){i&&t.jodit.editor!==i&&i.nodeType!==Node.TEXT_NODE&&(e=i.nodeName.toLowerCase(),o=p.getXPathByElement(i,t.jodit.editor).replace(/^\//,""),n=t.tpl(i,o,e,t.jodit.i18n("Select %s",e)),t.container&&t.container.insertBefore(n,t.container.firstChild))},t.jodit.editor),t.appendSelectAll()}},t.calcPath=d.debounce(t.calcPathImd,2*t.jodit.defaultTimeout),t.container=null,t.menu=null,t}return i(t,e),t.prototype.afterInit=function(){var e=this;this.jodit.options.showXPathInStatusbar&&(this.container=this.jodit.create.element("ul"),this.container.classList.add("jodit_xpath"),this.jodit.statusbar.append(this.container),this.jodit.events.on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath",function(){e.jodit.getRealMode()===s.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=s.INVISIBLE_SPACE),e.appendSelectAll())}),this.calcPath())},t.prototype.beforeDestruct=function(){this.jodit&&this.jodit.events&&this.jodit.events.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),c.Dom.safeRemove(this.container),this.menu=null,this.container=null},t}(u.Plugin);t.xpath=h},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(3),s=o(6),l=o(0);r.Config.prototype.draggableTags=["img","a","jodit-media","jodit"];var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dragList=[],t.isCopyMode=!1,t.draggable=null,t.wasMoved=!1,t.timeout=0,t.onDrag=a.throttle(function(e){t.draggable&&(t.wasMoved=!0,t.jodit.events.fire("hidePopup hideResizer"),t.draggable.parentNode||t.jodit.ownerDocument.body.appendChild(t.draggable),a.css(t.draggable,{left:e.clientX+20,top:e.clientY+20}),t.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY))},t.jodit.defaultTimeout),t.onDragStart=function(e){var o=e.target,n=null;if(t.dragList.length){for(;-1!=t.dragList.indexOf(o.nodeName.toLowerCase())&&(!n||o.firstChild===n&&o.lastChild===n)&&(n=o),(o=o.parentNode)&&o!==t.jodit.editor;);n&&(t.isCopyMode=a.ctrlKey(e),t.onDragEnd(),t.timeout=a.setTimeout(function(o){o&&(t.draggable=o.cloneNode(!0),a.dataBind(t.draggable,"target",o),a.css(t.draggable,{"z-index":1e14,"pointer-events":"none",position:"fixed",display:"inlin-block",left:e.clientX,top:e.clientY,width:o.offsetWidth,height:o.offsetHeight}))},t.jodit.defaultTimeout,n),e.preventDefault())}},t.onDragEnd=function(){window.clearTimeout(t.timeout),t.draggable&&(l.Dom.safeRemove(t.draggable),t.draggable=null,t.wasMoved=!1)},t.onDrop=function(){if(t.draggable&&t.wasMoved){var e=a.dataBind(t.draggable,"target");t.onDragEnd(),t.isCopyMode&&(e=e.cloneNode(!0)),t.jodit.selection.insertNode(e,!0,!1),"IMG"===e.nodeName&&t.jodit.events&&t.jodit.events.fire("afterInsertImage",e),t.jodit.events.fire("synchro")}else t.onDragEnd()},t}return i(t,e),t.prototype.afterInit=function(){this.dragList=this.jodit.options.draggableTags?a.splitArray(this.jodit.options.draggableTags).filter(function(e){return e}).map(function(e){return e.toLowerCase()}):[],this.dragList.length&&this.jodit.events.on(this.jodit.editor,"mousemove touchmove",this.onDrag).on(this.jodit.editor,"mousedown touchstart dragstart",this.onDragStart).on("mouseup touchend",this.onDrop).on(window,"mouseup touchend",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd()},t}(s.Plugin);t.DragAndDropElement=c},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(0),s=o(3),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFragmentFromEditor=!1,t.isCopyMode=!1,t.startDragPoint={x:0,y:0},t.draggable=null,t.bufferRange=null,t.onDragEnd=function(){t.draggable&&(a.Dom.safeRemove(t.draggable),t.draggable=null),t.isCopyMode=!1},t.onDrag=function(e){t.draggable&&(t.draggable.parentNode||t.jodit.ownerDocument.body.appendChild(t.draggable),t.jodit.events.fire("hidePopup"),s.css(t.draggable,{left:e.clientX+20,top:e.clientY+20}),t.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())},t.onDrop=function(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!t.isFragmentFromEditor&&!t.draggable)return t.jodit.events.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;var o=t.jodit.editorWindow.getSelection(),n=t.bufferRange||(o.rangeCount?o.getRangeAt(0):null),i=null;if(!t.draggable&&n)i=t.isCopyMode?n.cloneContents():n.extractContents();else if(t.draggable)if(t.isCopyMode){var r="1"===t.draggable.getAttribute("data-is-file")?["a","href"]:["img","src"],a=r[0],l=r[1];(i=t.jodit.editorDocument.createElement(a)).setAttribute(l,t.draggable.getAttribute("data-src")||t.draggable.getAttribute("src")||""),"a"===a&&(i.innerText=i.getAttribute(l)||"")}else i=s.dataBind(t.draggable,"target");else t.getText(e)&&(i=t.jodit.create.inside.fromHTML(t.getText(e)));o.removeAllRanges(),t.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY),i&&(t.jodit.selection.insertNode(i,!1,!1),n&&i.firstChild&&i.lastChild&&(n.setStartBefore(i.firstChild),n.setEndAfter(i.lastChild),t.jodit.selection.selectRange(n),t.jodit.events.fire("synchro")),"IMG"===i.nodeName&&t.jodit.events&&t.jodit.events.fire("afterInsertImage",i)),e.preventDefault(),e.stopPropagation()}t.isFragmentFromEditor=!1},t.onDragStart=function(e){var o=e.target;if(t.onDragEnd(),t.isFragmentFromEditor=a.Dom.isOrContains(t.jodit.editor,o,!0),t.isCopyMode=!t.isFragmentFromEditor||s.ctrlKey(e),t.isFragmentFromEditor){var n=t.jodit.editorWindow.getSelection(),i=n.rangeCount?n.getRangeAt(0):null;i&&(t.bufferRange=i.cloneRange())}else t.bufferRange=null;t.startDragPoint.x=e.clientX,t.startDragPoint.y=e.clientY,o.nodeType===Node.ELEMENT_NODE&&o.matches(".jodit_filebrowser_files_item")&&(o=o.querySelector("img")),"IMG"===o.nodeName&&(t.draggable=o.cloneNode(!0),s.dataBind(t.draggable,"target",o),s.css(t.draggable,{"z-index":1e14,"pointer-events":"none",position:"fixed",display:"inlin-block",left:t.startDragPoint.x,top:t.startDragPoint.y,width:o.offsetWidth,height:o.offsetHeight}))},t.getDataTransfer=function(e){return e.dataTransfer||new DataTransfer},t.getText=function(e){var o=t.getDataTransfer(e);return o.getData(r.TEXT_HTML)||o.getData(r.TEXT_PLAIN)},t}return i(t,e),t.prototype.afterInit=function(){this.jodit.events.on(window,"dragover",this.onDrag).on([window,this.jodit.editorDocument,this.jodit.editor],"dragstart",this.onDragStart).on("drop",this.onDrop).on(window,"dragend drop mouseup",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd()},t}(o(6).Plugin);t.DragAndDrop=l},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(13),s=o(6),l=o(0),c=o(15),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentIndex=0,t.list=[],t.container=null,t.listBox=null,t.previewBox=null,t.dialog=null,t.paste=function(){if(t.jodit.selection.focus(),t.jodit.selection.insertHTML(t.list[t.currentIndex]),0!==t.currentIndex){var e=t.list[0];t.list[0]=t.list[t.currentIndex],t.list[t.currentIndex]=e}t.dialog&&t.dialog.close(),t.jodit.setEditorValue()},t.onKeyDown=function(e){var o=t.currentIndex;-1!=[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(e.which)&&(e.which===r.KEY_UP&&(0===o?o=t.list.length-1:o-=1),e.which===r.KEY_DOWN&&(o===t.list.length-1?o=0:o+=1),e.which!==r.KEY_ENTER?(o!==t.currentIndex&&t.selectIndex(o),e.stopImmediatePropagation(),e.preventDefault()):t.paste())},t.selectIndex=function(e){t.listBox&&Array.from(t.listBox.childNodes).forEach(function(o,n){o.classList.remove("jodit_active"),e===n&&t.previewBox&&(o.classList.add("jodit_active"),t.previewBox.innerHTML=t.list[e],o.focus())}),t.currentIndex=e},t.showDialog=function(){t.list.length<2||(t.dialog||t.createDialog(),t.listBox&&(t.listBox.innerHTML=""),t.previewBox&&(t.previewBox.innerHTML=""),t.list.forEach(function(e,o){var n=t.jodit.ownerDocument.createElement("a");n.innerText=o+1+". "+e.replace(r.SPACE_REG_EXP,""),n.addEventListener("keydown",t.onKeyDown),n.setAttribute("href","javascript:void(0)"),n.setAttribute("data-index",""+o),n.setAttribute("tab-index","-1"),t.listBox&&t.listBox.appendChild(n)}),t.dialog&&t.dialog.open(),c.setTimeout(function(){t.selectIndex(0)},100))},t}return i(t,e),t.prototype.createDialog=function(){var e=this;this.dialog=new a.Dialog(this.jodit);var t=this.jodit.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+this.jodit.i18n("Paste")+"</span></a>");t.addEventListener("click",this.paste);var o=this.jodit.create.fromHTML('<a href="javascript:void(0)" style="float:right; margin-right: 10px;" class="jodit_button"><span>'+this.jodit.i18n("Cancel")+"</span></a>");o.addEventListener("click",this.dialog.close),this.container=this.jodit.ownerDocument.createElement("div"),this.container.classList.add("jodit_paste_storage"),this.listBox=this.jodit.ownerDocument.createElement("div"),this.previewBox=this.jodit.ownerDocument.createElement("div"),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setTitle(this.jodit.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,o]),this.jodit.events.on(this.listBox,"click dblclick",function(t){var o=t.target;return o&&"A"===o.nodeName&&o.hasAttribute("data-index")&&e.selectIndex(parseInt(o.getAttribute("data-index")||"0",10)),"dblclick"===t.type&&e.paste(),!1},"a")},t.prototype.afterInit=function(){var e=this;this.jodit.events.on("afterCopy",function(t){-1!=e.list.indexOf(t)&&e.list.splice(e.list.indexOf(t),1),e.list.unshift(t),5<e.list.length&&(e.list.length=5)}),this.jodit.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},t.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),l.Dom.safeRemove(this.previewBox),l.Dom.safeRemove(this.listBox),l.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},t}(s.Plugin);t.pasteStorage=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(174);t.about=n;var i=o(175);t.addcolumn=i;var r=o(176);t.addrow=r;var a=o(177);t.angle_down=a;var s=o(178);t.angle_left=s;var l=o(179);t.angle_right=l;var c=o(180);t.angle_up=c;var d=o(181);t.arrows_alt=d;var p=o(182);t.arrows_h=p;var u=o(183);t.attachment=u;var f=o(184);t.bin=f;var h=o(185);t.bold=h;var g=o(186);t.brush=g;var m=o(187);t.cancel=m;var v=o(188);t.center=v;var b=o(189);t.chain_broken=b;var y=o(190);t.check_square=y;var _=o(191);t.check=_;var x=o(192);t.copyformat=x;var w=o(193);t.crop=w;var k=o(194);t.cut=k;var j=o(195);t.dedent=j;var C=o(196);t.dots=C;var A=o(197);t.enter=A;var M=o(198);t.eraser=M;var S=o(199);t.eye=S;var T=o(200);t.file=T;var E=o(201);t.folder=E;var z=o(202);t.font=z;var D=o(203);t.fontsize=D;var L=o(204);t.fullsize=L;var I=o(205);t.hr=I;var P=o(206);t.image=P;var q=o(207);t.indent=q;var O=o(208);t.info_circle=O;var N=o(209);t.italic=N;var R=o(210);t.justify=R;var B=o(211);t.left=B;var H=o(212);t.link=H;var V=o(213);t.lock=V;var F=o(214);t.menu=F;var W=o(215);t.merge=W;var U=o(216);t.ol=U;var $=o(217);t.omega=$;var Y=o(218);t.outdent=Y;var K=o(219);t.paragraph=K;var G=o(220);t.pencil=G;var X=o(221);t.plus=X;var J=o(222);t.print=J;var Z=o(223);t.redo=Z;var Q=o(224);t.resize=Q;var ee=o(225);t.resizer=ee;var te=o(226);t.right=te;var oe=o(227);t.save=oe;var ne=o(228);t.select_all=ne;var ie=o(229);t.shrink=ie;var re=o(230);t.source=re;var ae=o(231);t.splitg=ae;var se=o(232);t.splitv=se;var le=o(233);t.strikethrough=le;var ce=o(234);t.subscript=ce;var de=o(235);t.superscript=de;var pe=o(236);t.table=pe;var ue=o(237);t.th_list=ue;var fe=o(238);t.th=fe;var he=o(239);t.ul=he;var ge=o(240);t.underline=ge;var me=o(241);t.undo=me;var ve=o(242);t.unlink=ve;var be=o(243);t.unlock=be;var ye=o(244);t.update=ye;var _e=o(245);t.upload=_e;var xe=o(246);t.valign=xe;var we=o(247);t.video=we;var ke=o(248);t.palette=ke},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 18.151 18.151">\n<g>\n\t<g>\n\t\t<path d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194\n\t\t\tc0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/>\n\t\t<path d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938\n\t\t\tS13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597\n\t\t\ts3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/>\n\t\t<polygon  points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868\n\t\t\t10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 \t\t"/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 432 432">\n<g>\n\t<g>\n\t\t<polygon points="203.688,96 0,96 0,144 155.688,144 \t\t"/>\n\t\t<polygon points="155.719,288 0,288 0,336 203.719,336 \t\t"/>\n\t\t<rect x="252" y="96"/>\n\t\t<rect/>\n\t\t<rect x="252" y="288"/>\n\t\t<rect y="384"/>\n\t\t<path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719\n\t\t\tL97.844,230.125z"/>\n\t\t<polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176 \t\t"/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<svg  viewBox="0 0 1792 1792">\n    <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59v-448q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69l-144 144 355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128h-1024v128q0 26-19 45t-45 19-45-19l-256-256q-19-19-19-45t19-45l256-256q19-19 45-19t45 19 19 45v128h1024v-128q0-26 19-45t45-19 45 19l256 256q19 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1596 1385q0 117-79 196t-196 79q-135 0-235-100l-777-776q-113-115-113-271 0-159 110-270t269-111q158 0 273 113l605 606q10 10 10 22 0 16-30.5 46.5t-46.5 30.5q-13 0-23-10l-606-607q-79-77-181-77-106 0-179 75t-73 181q0 105 76 181l776 777q63 63 145 63 64 0 106-42t42-106q0-82-63-145l-581-581q-26-24-60-24-29 0-48 19t-19 48q0 32 25 59l410 410q10 10 10 22 0 16-31 47t-47 31q-12 0-22-10l-410-410q-63-61-63-149 0-82 57-139t139-57q88 0 149 63l581 581q100 98 100 235z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16">\n    <g transform="translate(0,-1036.3622)">\n        <path d="m 2,1050.3622 12,-12"\n              style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>\n        <path d="m 2,1038.3622 12,12"\n              style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>\n    </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M813 1299l614-614q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19l-467 467-211-211q-19-19-45-19t-45 19l-102 102q-19 19-19 45t19 45l358 358q19 19 45 19t45-19zm851-883v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/></svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/></svg>'},function(e,t){e.exports='<svg\n        enable-background="new 0 0 24 24"\n        viewBox="0 0 24 24"\n        xml:space="preserve"\n\n       >\n    <circle cx="12" cy="12" r="2.2"/>\n    <circle cx="12" cy="5" r="2.2"/>\n    <circle cx="12" cy="19" r="2.2"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 128 128" xml:space="preserve">\n    <g>\n        <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125     16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594     112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125   "/>\n    </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" >\n\t<path d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z   M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 1344v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg\n     viewBox="0 0 312 312">\n    <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none">\n        <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32\n-30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30\n25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27\n-503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960\n11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40\n-47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0\n-775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80\n-3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10\n164 12 777 10 l773 -3 3 -454z"/>\n        <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104\n190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4\n289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103\n-97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35\n-82 -78z"/>\n        <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0\n189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/>\n        <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95\n106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79\n79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95\n108 -6 10 -568 11 -577 1z"/>\n    </g>\n</svg>\n'},function(e,t){e.exports='<svg role="img" viewBox="0 0 1792 1792">\n    <path d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 270 270">\n\t<path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24"\n    >\n    <g>\n        <g transform="translate(-251.000000, -443.000000)">\n            <g transform="translate(215.000000, 119.000000)"/>\n            <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/>\n        </g>\n    </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M844 472q0 60-19 113.5t-63 92.5-105 39q-76 0-138-57.5t-92-135.5-30-151q0-60 19-113.5t63-92.5 105-39q77 0 138.5 57.5t91.5 135 30 151.5zm-342 483q0 80-42 139t-119 59q-76 0-141.5-55.5t-100.5-133.5-35-152q0-80 42-139.5t119-59.5q76 0 141.5 55.5t100.5 134 35 152.5zm394-27q118 0 255 97.5t229 237 92 254.5q0 46-17 76.5t-48.5 45-64.5 20-76 5.5q-68 0-187.5-45t-182.5-45q-66 0-192.5 44.5t-200.5 44.5q-183 0-183-146 0-86 56-191.5t139.5-192.5 187.5-146 193-59zm239-211q-61 0-105-39t-63-92.5-19-113.5q0-74 30-151.5t91.5-135 138.5-57.5q61 0 105 39t63 92.5 19 113.5q0 73-30 151t-92 135.5-138 57.5zm432-104q77 0 119 59.5t42 139.5q0 74-35 152t-100.5 133.5-141.5 55.5q-77 0-119-59t-42-139q0-74 35-152.5t100.5-134 141.5-55.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18">\n    <g fill-rule="evenodd" stroke="none" stroke-width="1">\n        <g transform="translate(-381.000000, -381.000000)">\n            <g transform="translate(381.000000, 381.000000)">\n                <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/>\n            </g>\n        </g>\n    </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48">\n    <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/><path d="M0 0h48v48h-48z" fill="none"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48">\n    <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/>\n    <path d="M0 0h48v48h-48z" fill="none"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/></svg>'},function(e,t){e.exports='<svg x="0px" y="0px" viewBox="0 0 459 459">\n<g>\n\t<g>\n\t\t<path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5\n\t\t\tc-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z\n\t\t\t M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z\n\t\t\t M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z\n\t\t\t M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z\n\t\t\t M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z"\n\t\t/>\n\t</g>\n</g>\n</svg>\n'}])},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3IDUiPgogICAgPHBhdGggaWQ9IlJvdW5kZWRfUmVjdGFuZ2xlXzIyX2NvcHlfMyIgc3R5bGU9Im9wYWNpdHk6MC44O2ZpbGw6IzY2Njg2QTsiIGQ9Ik0zLjksNC44CglDMy42LDUuMSwzLjIsNSwyLjksNC43TDAuMywxLjVDMCwxLjEtMC41LDAsMSwwTDYsMGMxLjUsMCwwLjksMS4xLDAuNiwxLjRMNC4xLDQuN0M0LDQuOCw0LDQuOCwzLjksNC44eiIvPgo8L3N2Zz4="},function(e,t){e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4AJkFkb2JlAGTAAAAAAQMAFQQDBgoNAAABpgAAAccAAAIDAAACMP/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8IAEQgAFAAUAwERAAIRAQMRAf/EAH8AAAMBAQAAAAAAAAAAAAAAAAIDBAEIAQEAAAAAAAAAAAAAAAAAAAAAEAACAwEAAAAAAAAAAAAAAAAAATARMRARAQAAAAAAAAAAAAAAAAAAADASAQAAAAAAAAAAAAAAAAAAADATAAEEAwEAAAAAAAAAAAAAAAEAEDAx8BGxYf/aAAwDAQACEQMRAAAB7kHhgCzCgnBP/9oACAEBAAEFAhYUjC3x6f/aAAgBAgABBQKH/9oACAEDAAEFAof/2gAIAQICBj8CH//aAAgBAwIGPwIf/9oACAEBAQY/Ah//2gAIAQEDAT8hVTeSJJaFL2a5v//aAAgBAgMBPyGH/9oACAEDAwE/IYf/2gAMAwEAAhEDEQAAEBBJBB//2gAIAQEDAT8QXV1sRKOD6CgsQDcXG//aAAgBAgMBPxCH/9oACAEDAwE/EIf/2Q=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACxJREFUeNpiVFfXYMAN/v3/j0eWiYECMKp5ZGhmIZCGGBlHA2xUMyWaAQIMAJSTBpxFdlboAAAAAElFTkSuQmCC"},function(e,t){e.exports='<div class="ea-editor ea-editor-{{adaptiveClass}}" ng-class="expanded ? \'ea-editor-expanded\' : \'\'">\n    <div class="ea-editor-overlay" ng-click="expanded = !expanded"></div>\n\n    <div class="ea-editor-responsive-button" ng-click="expanded = !expanded">\n        <svg viewBox="0 0 18 18" class="ea-editor-responsive-button-label-icon" width="18" height="18"\n             ng-show="adaptiveClass !== \'small\'">\n            <path d="M14.6,12c0.2-0.4,0.4-0.8,0.5-1.2c0.1-0.3,0.3-0.4,0.6-0.5l2.3-0.3l0,0V7.9l-2.3-0.3c-0.3,0-0.5-0.2-0.6-0.5\n                C15,6.7,14.8,6.4,14.6,6c-0.1-0.2-0.1-0.5,0.1-0.7l1.4-1.9l-1.5-1.5l-1.9,1.4c-0.2,0.2-0.5,0.2-0.7,0.1c-0.4-0.2-0.8-0.4-1.2-0.5\n                c-0.3-0.1-0.4-0.3-0.5-0.6L10.1,0H7.9L7.6,2.3c0,0.3-0.2,0.5-0.5,0.6C6.8,3,6.4,3.2,6,3.4C5.8,3.5,5.5,3.5,5.3,3.3L3.4,1.9L1.9,3.4\n                l1.4,1.9C3.5,5.5,3.5,5.7,3.4,6C3.2,6.4,3,6.7,2.9,7.2C2.8,7.4,2.6,7.6,2.3,7.6L0,7.9v2.2l2.3,0.3c0.3,0,0.5,0.2,0.6,0.5\n                C3,11.2,3.2,11.6,3.4,12c0.1,0.2,0.1,0.5-0.1,0.7l-1.4,1.9l1.5,1.5l1.9-1.4c0.2-0.2,0.5-0.2,0.7-0.1c0.4,0.2,0.8,0.4,1.2,0.5\n                c0.3,0.1,0.4,0.3,0.5,0.6L7.9,18h2.2l0.3-2.3c0-0.3,0.2-0.5,0.5-0.6c0.4-0.1,0.8-0.3,1.2-0.5c0.2-0.1,0.5-0.1,0.7,0.1l1.9,1.4\n                l1.5-1.5l-1.4-1.9C14.5,12.5,14.5,12.2,14.6,12z M9,11.9c-1.6,0-2.8-1.3-2.8-2.8S7.4,6.1,9,6.1s2.8,1.3,2.8,2.9\n                C11.9,10.6,10.6,11.9,9,11.9z"></path>\n        </svg>\n\n        <span class="ea-editor-responsive-button-label" ng-show="!expanded && adaptiveClass === \'small\'">\n            <svg viewBox="0 0 18 18" class="ea-editor-responsive-button-label-icon" width="18" height="18">\n                <path d="M14.6,12c0.2-0.4,0.4-0.8,0.5-1.2c0.1-0.3,0.3-0.4,0.6-0.5l2.3-0.3l0,0V7.9l-2.3-0.3c-0.3,0-0.5-0.2-0.6-0.5\n                    C15,6.7,14.8,6.4,14.6,6c-0.1-0.2-0.1-0.5,0.1-0.7l1.4-1.9l-1.5-1.5l-1.9,1.4c-0.2,0.2-0.5,0.2-0.7,0.1c-0.4-0.2-0.8-0.4-1.2-0.5\n                    c-0.3-0.1-0.4-0.3-0.5-0.6L10.1,0H7.9L7.6,2.3c0,0.3-0.2,0.5-0.5,0.6C6.8,3,6.4,3.2,6,3.4C5.8,3.5,5.5,3.5,5.3,3.3L3.4,1.9L1.9,3.4\n                    l1.4,1.9C3.5,5.5,3.5,5.7,3.4,6C3.2,6.4,3,6.7,2.9,7.2C2.8,7.4,2.6,7.6,2.3,7.6L0,7.9v2.2l2.3,0.3c0.3,0,0.5,0.2,0.6,0.5\n                    C3,11.2,3.2,11.6,3.4,12c0.1,0.2,0.1,0.5-0.1,0.7l-1.4,1.9l1.5,1.5l1.9-1.4c0.2-0.2,0.5-0.2,0.7-0.1c0.4,0.2,0.8,0.4,1.2,0.5\n                    c0.3,0.1,0.4,0.3,0.5,0.6L7.9,18h2.2l0.3-2.3c0-0.3,0.2-0.5,0.5-0.6c0.4-0.1,0.8-0.3,1.2-0.5c0.2-0.1,0.5-0.1,0.7,0.1l1.9,1.4\n                    l1.5-1.5l-1.4-1.9C14.5,12.5,14.5,12.2,14.6,12z M9,11.9c-1.6,0-2.8-1.3-2.8-2.8S7.4,6.1,9,6.1s2.8,1.3,2.8,2.9\n                    C11.9,10.6,10.6,11.9,9,11.9z"></path>\n            </svg>\n\n            <span class="ea-editor-responsive-button-label-text" translate>\n                Widget Settings\n            </span>\n\n            <svg viewBox="0 0 8 12" class="ea-editor-responsive-button-arrow">\n                <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n            </svg>\n        </span>\n\n        <span class="ea-editor-responsive-button-label" ng-show="expanded && adaptiveClass === \'small\'">\n            <svg viewBox="0 0 12 17" class="ea-editor-responsive-button-label-icon" width="18" height="12">\n                <path d="M4.3,8.7l6,5.9c0.4,0.4,1.1,0.4,1.5,0c0.4-0.4,0.4-1.1,0-1.5L6.5,8l5.2-5.2c0.4-0.4,0.4-1.1,0-1.5\n                c-0.4-0.4-1.1-0.4-1.5,0l-6,6C3.9,7.7,3.9,8.3,4.3,8.7z"></path>\n            </svg>\n\n            <span class="ea-editor-responsive-button-label-text" translate>\n                Back to preview\n            </span>\n\n        </span>\n\n        \x3c!--<div class="ea-editor-responsive-button-hint">Try Settings</div>--\x3e\n    </div>\n\n    <div class="ea-editor-form">\n        <div class="ea-editor-tabs">\n            <div class="ea-editor-tabs-nav">\n                <div class="ea-editor-tabs-nav-item" ng-class="{ \'ea-editor-tabs-nav-item-active\': tab.active }"\n                     ng-click="openTab(key)" ng-show="tab.properties.length" ng-repeat="(key, tab) in tabs">\n                    {{tab.name}}\n                </div>\n            </div>\n\n            <div class="ea-editor-tabs-content">\n                <div class="ea-editor-tabs-content-item" ng-class="{ \'ea-editor-tabs-content-item-active\': tab.active }"\n                     ng-repeat="tab in tabs">\n                    <div class="ea-editor-property-{{property.type}} ea-editor-property" ng-repeat="property in tab.properties"\n                         ng-class="property.visible === false ? \'ea-editor-property-hide\' : \'\'">\n                        <div ng-show="property.visible !== false">\n                            <div control="property" ng-model="widget.data" ng-if="property.type === \'subgroup\'"></div>\n                            <div control="property" ng-model="widget.data[property.id]"\n                                 ng-if="property.type !== \'subgroup\'"></div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <div class="ea-editor-hint" ng-class="{ \'ea-editor-hint-visible\': editorHintVisible }">{{editorHint}}</div>\n        <div class="ea-editor-error" ng-class="{ \'ea-editor-error-visible\': editorErrorVisible }">{{editorError}}</div>\n\n        <elfsight-apps-templates ng-if="templates"></elfsight-apps-templates>\n    </div>\n\n    <div class="ea-editor-preview-container">\n        <div class="ea-editor-preview-overlay"></div>\n\n        <div class="ea-editor-preview-loader" ng-class="showLoader ? \'ea-editor-preview-loader-show\' : \'\'"></div>\n    </div>\n\n    <div class="ea-editor-toolbar-container"></div>\n\n    <canvas class="ea-editor-popup-canvas"></canvas>\n\n    <div class="ea-editor-popup-container hide-popup" ng-click="hidePopup($event)" ng-show="popupVisible"></div>\n</div>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div\n    class="ea-editor-property-control-file ea-editor-property-control"\n    ng-if="!control.file.multiple && mode !== \'fallbackUrl\'"\n    ng-click="selectFile($event)"\n  >\n    <label class="ea-editor-property-control-file-button" ng-if="!file.data.name && !file.data.url">\n      <svg\n        class="ea-editor-property-control-file-button-icon" ng-if="!loadInProgress"\n        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="14" height="14"\n        viewBox="0 0 14 14"\n      >\n        <defs>\n          <path\n            id="combined-shape-copy-a"\n            d="M6.33528971,5.6109113 L4.80754974,7.13865128 C4.54734592,7.3988551 4.12547218,7.3988551 3.86526836,7.13865128 C3.60506454,6.87844746 3.60506454,6.45657371 3.86526836,6.1963699 L6.53044258,3.53119568 C6.7906464,3.27099186 7.21252014,3.27099186 7.47272396,3.53119568 L10.1378982,6.1963699 C10.398102,6.45657371 10.398102,6.87844746 10.1378982,7.13865128 C9.87769436,7.3988551 9.45582062,7.3988551 9.1956168,7.13865128 L7.66787682,5.6109113 L7.66787682,9.75912042 C7.66787682,10.0769352 7.36956704,10.334575 7.00158327,10.334575 C6.6335995,10.334575 6.33528971,10.0769352 6.33528971,9.75912042 L6.33528971,5.6109113 Z M7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,10.8659932 10.8659932,14 7,14 Z M7,12.7272727 C10.1630854,12.7272727 12.7272727,10.1630854 12.7272727,7 C12.7272727,3.83691461 10.1630854,1.27272727 7,1.27272727 C3.83691461,1.27272727 1.27272727,3.83691461 1.27272727,7 C1.27272727,10.1630854 3.83691461,12.7272727 7,12.7272727 Z"\n          ></path>\n        </defs>\n        <g fill="none" fill-rule="evenodd" opacity=".7">\n          <use fill="#FFF" fill-rule="nonzero" xlink:href="#combined-shape-copy-a" />\n        </g>\n      </svg>\n\n      <span class="ea-editor-property-control-file-button-text" ng-if="!loadInProgress">{{control.file.uploadButtonLabel || \'Upload\'}}</span>\n\n      <span class="ea-editor-property-control-file-button-loader" ng-if="loadInProgress"></span>\n    </label>\n\n    <div class="ea-editor-property-control-file-exists" ng-if="file">\n      <div class="ea-editor-property-control-file-exists-name">{{file.data.name}}</div>\n\n      <div class="ea-editor-property-control-file-exists-delete">\n        <svg width="10px" height="10px" viewBox="0 0 8 8" fill="#fff" focusable="false">\n          <path\n            fill="#fff"\n            d="M4.708,4l3.146-3.146c0.195-0.195,0.195-0.511,0-0.708c-0.196-0.195-0.513-0.195-0.708,0L4,3.292\n              L0.854,0.146c-0.195-0.195-0.511-0.195-0.708,0c-0.195,0.196-0.195,0.513,0,0.708L3.292,4L0.146,7.146\n              c-0.195,0.195-0.195,0.511,0,0.708c0.196,0.195,0.513,0.195,0.708,0L4,4.708l3.146,3.146c0.195,0.195,0.511,0.195,0.708,0\n              c0.195-0.196,0.195-0.513,0-0.708L4.708,4z"\n          ></path>\n        </svg>\n      </div>\n\n    </div>\n\n    <div class="ea-editor-property-control-file-error">{{error}}</div>\n  </div>\n\n  <div\n    class="ea-editor-property-control-file ea-editor-property-control"\n    ng-if="control.file.multiple && mode !== \'fallbackUrl\'"\n  >\n    <div class="ea-editor-property-control-file-multiple-files">\n      <div class="ea-editor-property-control-complex ea-editor-property-control" sv-root>\n        <div class="ea-editor-property-control-complex-list" sv-part="ngModel">\n          <div sv-placeholder class="ea-editor-property-control-complex-item-placeholder"></div>\n\n          <div\n            class="ea-editor-property-control-complex-item"\n            ng-repeat="item in ngModel track by $index"\n            ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf($index) !== -1 }"\n            sv-element\n          >\n            <div class="ea-editor-property-control-complex-item-inner">\n              <div\n                class="ea-editor-property-control-complex-item-reorder"\n                ng-click="reorderClick($event)"\n                sv-handle\n                title="Reorder"\n              >\n                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 14" focusable="false">\n                  <path d="M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z" />\n                  <path d="M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z" />\n                  <path d="M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z" />\n                  <path d="M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z" />\n                  <path d="M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z" />\n                  <path d="M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z" />\n                  <path d="M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z" />\n                  <path d="M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z" />\n                </svg>\n              </div>\n\n              <div\n                class="ea-editor-property-control-complex-item-image-container"\n                title="{{item.data.name}}"\n                ng-if="itemIsImage(item.data.extension || item.data.ext)"\n              >\n                <div\n                  class="ea-editor-property-control-complex-item-image"\n                  style="background-image: url(\'{{item.data.url || item.data.file_url}}\')"\n                  title="{{item.data.name}}"\n                />\n              </div>\n\n              <div class="ea-editor-property-control-complex-item-info">\n                <div class="ea-editor-property-control-complex-item-info-name" title="{{item.data.name}}">\n                  {{item.data.name}}\n                </div>\n\n                <div class="ea-editor-property-control-complex-item-info-edit" ng-click="openSub(item)">\n                  {{control.file.editButtonLabel || \'Edit info\'}}\n                </div>\n              </div>\n\n              <div class="ea-editor-property-control-complex-item-remove" ng-click="showRemoveConfirm($index, $event)">\n                <svg viewBox="0 0 753.2 753.2" focusable="false">\n                  <g>\n                    <path\n                      d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\n\t\t\t\t        c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\n\t\t\t\t        h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\n\t\t\t\t        V188.3h376.6V682.6z"\n                    />\n                  </g>\n                  <path\n                    d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C266.3,606.8,277,617.4,290,617.4z"\n                  />\n                  <path\n                    d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C417.3,606.8,428,617.4,441,617.4z"\n                  />\n                </svg>\n              </div>\n            </div>\n\n            <div class="ea-editor-property-control-complex-item-remove-confirm">\n              <div class="ea-editor-property-control-complex-item-remove-confirm-label" translate>\n                Are you sure you want to remove?\n              </div>\n\n              <div class="ea-editor-property-control-complex-item-remove-confirm-actions">\n                <div\n                  class="ea-editor-property-control-complex-item-remove-confirm-actions-yes"\n                  ng-click="removeItem($index, $event)" translate\n                >Yes\n                </div>\n                <div\n                  class="ea-editor-property-control-complex-item-remove-confirm-actions-no"\n                  ng-click="hideRemoveConfirm($index, $event)" translate\n                >No\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <label class="ea-editor-property-control-file-button" ng-click="selectFile($event)">\n      <svg\n        class="ea-editor-property-control-file-button-icon"\n        fill="#FFF"\n        xmlns="http://www.w3.org/2000/svg"\n        xmlns:xlink="http://www.w3.org/1999/xlink"\n        width="14"\n        height="14"\n        viewBox="0 0 14 14"\n      >\n        <path\n          d="M6.33528971,5.6109113 L4.80754974,7.13865128 C4.54734592,7.3988551 4.12547218,7.3988551 3.86526836,7.13865128 C3.60506454,6.87844746 3.60506454,6.45657371 3.86526836,6.1963699 L6.53044258,3.53119568 C6.7906464,3.27099186 7.21252014,3.27099186 7.47272396,3.53119568 L10.1378982,6.1963699 C10.398102,6.45657371 10.398102,6.87844746 10.1378982,7.13865128 C9.87769436,7.3988551 9.45582062,7.3988551 9.1956168,7.13865128 L7.66787682,5.6109113 L7.66787682,9.75912042 C7.66787682,10.0769352 7.36956704,10.334575 7.00158327,10.334575 C6.6335995,10.334575 6.33528971,10.0769352 6.33528971,9.75912042 L6.33528971,5.6109113 Z M7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,10.8659932 10.8659932,14 7,14 Z M7,12.7272727 C10.1630854,12.7272727 12.7272727,10.1630854 12.7272727,7 C12.7272727,3.83691461 10.1630854,1.27272727 7,1.27272727 C3.83691461,1.27272727 1.27272727,3.83691461 1.27272727,7 C1.27272727,10.1630854 3.83691461,12.7272727 7,12.7272727 Z"\n        />\n      </svg>\n      <span\n        class="ea-editor-property-control-file-button-text"\n      >{{control.file.uploadButtonLabel || \'Upload\'}}</span>\n    </label>\n  </div>\n\n  <div class="ea-editor-property-control-file ea-editor-property-control" ng-if="mode === \'fallbackUrl\'">\n    <input ng-model="ngModel" type="text" ng-keyup="setValue($event);">\n  </div>\n</label>\n\n'},function(e,t){e.exports='<div class="ea-editor-sub" ng-class="{ \'ea-editor-sub-active\': visible }">\n  <div class="ea-editor-sub-header" ng-click="hide()">\n    <div class="ea-editor-sub-back-button">\n      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">\n        <path\n          d="M11.3,5.2H2.5l4-4c0.3-0.3,0.3-0.8,0-1.1c-0.3-0.3-0.8-0.3-1.1,0L0.2,5.4C0.1,5.6,0,5.8,0,6\n                c0,0.2,0.1,0.4,0.2,0.5l5.2,5.2c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1.1l-4-4h8.7C11.7,6.7,12,6.4,12,6\n                C12,5.6,11.7,5.2,11.3,5.2z"\n        />\n      </svg>\n    </div>\n\n    <div class="ea-editor-sub-title">{{name}}</div>\n  </div>\n\n  <div class="ea-editor-sub-content">\n\x3c!--    <div ng-if="preview" class="ea-editor-sub-content-preview" ng-click="preview.onClick($event)">--\x3e\n\x3c!--      <img src="{{preview.image}}" ng-if="preview.image" alt="" class="ea-editor-sub-content-preview-image">--\x3e\n\x3c!--    </div>--\x3e\n\n    <div\n      class="ea-editor-property-{{property.type}} ea-editor-property"\n      ng-repeat="property in properties"\n      ng-if="!controlGroupProperty || (controlGroupProperty && property.groups.indexOf(data[controlGroupProperty]) !== -1)"\n      ng-class="property.visible === false  ? \'ea-editor-property-hide\' : \'\'"\n    >\n      <div>\n        <div control="property" ng-model="data[property.id]" ng-if="property.type !== \'subgroup\'"></div>\n\n        <div control="property" ng-model="data" ng-if="property.type === \'subgroup\'"></div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-popup">\n  <div class="ea-editor-popup-close hide-popup" ng-click="hidePopup()">\n    <svg\n      width="14px" height="14px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg"\n    >\n      <path\n        d="M8.41421356,7 L13.7071068,12.2928932 C14.0976311,12.6834175 14.0976311,13.3165825 13.7071068,13.7071068 C13.3165825,14.0976311 12.6834175,14.0976311 12.2928932,13.7071068 L7,8.41421356 L1.70710678,13.7071068 C1.31658249,14.0976311 0.683417511,14.0976311 0.292893219,13.7071068 C-0.0976310729,13.3165825 -0.0976310729,12.6834175 0.292893219,12.2928932 L5.58578644,7 L0.292893219,1.70710678 C-0.0976310729,1.31658249 -0.0976310729,0.683417511 0.292893219,0.292893219 C0.683417511,-0.0976310729 1.31658249,-0.0976310729 1.70710678,0.292893219 L7,5.58578644 L12.2928932,0.292893219 C12.6834175,-0.0976310729 13.3165825,-0.0976310729 13.7071068,0.292893219 C14.0976311,0.683417511 14.0976311,1.31658249 13.7071068,1.70710678 L8.41421356,7 Z"\n      ></path>\n    </svg>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-templates"\n     ng-class="{\'ea-editor-templates-hide\': !showTemplates && !enableTemplates, \'ea-editor-templates-enable\': enableTemplates }">\n\n    <div class="ea-editor-templates-wrapper">\n        <div class="ea-editor-templates-header" translate>Select a template to start with</div>\n\n        <div class="ea-editor-templates-item"\n             ng-repeat="template in templates"\n             ng-click="setData($index)"\n             ng-dblclick="selectTemplate($index)"\n             ng-class="{\'ea-editor-templates-item-active\': template.name === currentTemplate.name}">\n\n            <div class="ea-editor-templates-item-inner">\n                <div class="ea-editor-templates-item-image-container">\n                    <img ng-src="{{template.image}}" alt="{{template.name}}" class="ea-editor-templates-item-image"\n                         ng-if="template.image">\n                </div>\n\n                <span class="ea-editor-templates-item-title" title="{{template.name}}">\n                    <span class="ea-editor-templates-item-title-text">\n                        {{template.name}}\n                    </span>\n                </span>\n\n                <input name="template" type="radio" ng-value="template.name" ng-model="$parent.ngModel"\n                       class="ea-editor-templates-item-radio" ng-show="!template.name">\n            </div>\n\n        </div>\n    </div>\n\n    <div class="ea-editor-templates-actions">\n        <button class="ea-editor-templates-actions-customize" ng-click="hideTemplates()">\n            <span translate>Continue with this template</span>\n\n            <svg viewBox="0 0 24 24" id="icon-arrow-link" width="100%" height="100%">\n                <path d="M14.724 11l-2.862-2.862a.667.667 0 0 1 .943-.943l4 4c.26.26.26.683 0 .943l-4 4a.667.667 0 0 1-.943-.943l2.862-2.862H5.667a.667.667 0 1 1 0-1.333h9.057z"></path>\n            </svg>\n        </button>\n    </div>\n</div>'},function(e,t){e.exports='<div class="ea-editor-select-visual-group"\n     ng-class="{\'ea-editor-select-visual-group-active\': visible, \'ea-editor-select-visual-group-{{control.select.layout}}\': true }">\n    <div class="ea-editor-select-visual-group-header" ng-click="hide()">\n        <div class="ea-editor-select-visual-group-back-button">\n            <svg width="16px" height="16px" viewBox="0 0 16 16" fill="#989fa4" focusable="false">\n                <path d="M15.001,6.993H3.367l5.3-5.286c0.391-0.391,0.391-1.024,0-1.415\n            c-0.39-0.39-1.024-0.39-1.414,0L0.292,7.236C0.079,7.45-0.006,7.735,0.014,8.014C0.007,8.278,0.1,8.544,0.302,8.745l6.942,6.961\n            c0.391,0.391,1.024,0.391,1.415,0c0.39-0.39,0.39-1.024,0-1.414L3.374,8.994h11.628c0.551,0,0.999-0.447,0.999-1\n            C16,7.44,15.552,6.993,15.001,6.993z"></path>\n            </svg>\n        </div>\n\n        <div class="ea-editor-select-visual-group-title">{{control.name}}</div>\n    </div>\n\n    <div class="ea-editor-select-visual-group-content">\n        <label class="ea-editor-select-visual-group-option" ng-repeat="option in control.select.options"\n               ng-class="{\'ea-editor-select-visual-group-option-selected\': option && selected && option.value === selected.value, \'ea-editor-select-visual-group-option-divider\': option.title}">\n\n            <div class="ea-editor-select-visual-group-option-image-container" ng-show="!option.title">\n                <img ng-src="{{option.img}}" alt="{{option.name}}" class="ea-editor-select-visual-group-option-image" ng-if="option.img">\n            </div>\n\n            <span class="ea-editor-select-visual-group-option-title">{{option.name || option.title}}</span>\n\n            <input name="skin" type="radio" ng-value="option.value" ng-model="$parent.ngModel"\n                   class="ea-editor-select-visual-group-option-radio" ng-show="!option.title">\n        </label>\n    </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-select-user-group"\n     ng-class="{\'ea-editor-select-user-group-active\': visible, \'ea-editor-select-user-group-{{control.select.layout}}\': true }">\n    <div class="ea-editor-select-user-group-header" ng-click="hide()">\n        <div class="ea-editor-select-user-group-back-button">\n            <svg width="16px" height="16px" viewBox="0 0 16 16" fill="#989fa4" focusable="false">\n                <path d="M15.001,6.993H3.367l5.3-5.286c0.391-0.391,0.391-1.024,0-1.415\n            c-0.39-0.39-1.024-0.39-1.414,0L0.292,7.236C0.079,7.45-0.006,7.735,0.014,8.014C0.007,8.278,0.1,8.544,0.302,8.745l6.942,6.961\n            c0.391,0.391,1.024,0.391,1.415,0c0.39-0.39,0.39-1.024,0-1.414L3.374,8.994h11.628c0.551,0,0.999-0.447,0.999-1\n            C16,7.44,15.552,6.993,15.001,6.993z"></path>\n            </svg>\n        </div>\n\n        <div class="ea-editor-select-user-group-title">{{control.name}}</div>\n    </div>\n\n    <div class="ea-editor-select-user-group-content-filters">\n        <div class="ea-editor-property-label">Gender</div>\n\n        <label class="ea-editor-property-control-radio-item">\n            <span class="ea-editor-property-control-radio-item-label">All</span>\n\n            <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                <input class="ea-editor-property-control-radio-item-input" ng-model="settings.gender" value="all" type="radio">\n                <span class="ea-editor-property-control-radio-item-radio"></span>\n            </div>\n        </label>\n\n        <label class="ea-editor-property-control-radio-item">\n            <span class="ea-editor-property-control-radio-item-label">Male</span>\n\n            <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                <input class="ea-editor-property-control-radio-item-input" ng-model="settings.gender" value="male" type="radio">\n                <span class="ea-editor-property-control-radio-item-radio"></span>\n            </div>\n        </label>\n\n        <label class="ea-editor-property-control-radio-item">\n            <span class="ea-editor-property-control-radio-item-label">Female</span>\n\n            <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                <input class="ea-editor-property-control-radio-item-input" ng-model="settings.gender" value="female" type="radio">\n                <span class="ea-editor-property-control-radio-item-radio"></span>\n            </div>\n        </label>\n    </div>\n\n    <div class="ea-editor-select-user-group-content" on-scroll-to-bottom>\n        <label class="ea-editor-select-user-group-option" ng-repeat="user in data"\n               ng-class="{\'ea-editor-select-user-group-option-selected\': user.photo === ngModel.photo, \'ea-editor-select-user-group-option-divider\': option.title}"\n        >\n\n            <div class="ea-editor-select-user-group-option-image-container" ng-show="!option.title">\n                <div class="ea-editor-select-user-group-option-image" style="background-image: url(\'{{user.photo}}\')"></div>\n                \x3c!--<img ng-src="{{user.photo}}" alt="{{option.name}}" ng-if="user.photo">--\x3e\n            </div>\n\n            <span class="ea-editor-select-user-group-option-title">{{option.name || option.title}}</span>\n\n            <input name="skin" type="radio" ng-value="user" ng-model="$parent.ngModel"\n                   class="ea-editor-select-user-group-option-radio" ng-show="!option.title">\n        </label>\n    </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager">\n  <div class="ea-editor-file-manager-title">File Manager</div>\n\n  <div class="ea-editor-file-manager-tabs">\n    <div class="ea-editor-file-manager-tabs-menu">\n      <div\n        class="ea-editor-file-manager-tabs-menu-item"\n        ng-repeat="item in tabs track by $index"\n        ng-click="setCurrentTab(item.value, $index)"\n        ng-class="{\'ea-editor-file-manager-tabs-menu-item-active\': $index === currentTabId}"\n      >\n        {{item.name}}\n      </div>\n    </div>\n\n    <div class="ea-editor-file-manager-tabs-content"></div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager-files-container" ng-show="currentTab === \'files\'">\n  <div class="ea-editor-file-manager-files-inner">\n    <div class="ea-editor-file-manager-files-error" ng-if="filesError && !files.length">\n      {{filesError}}\n    </div>\n\n    <div\n      ng-repeat="(key, item) in files"\n      class="ea-editor-file-manager-files-item"\n      ng-class="{\'ea-editor-file-manager-files-item-active\': activeId.indexOf(key) != -1 }"\n      ng-click="setFileUrl(item, key)"\n      title="{{item.name}}"\n    >\n      <div class="ea-editor-file-manager-files-item-icon">\n        <img src="{{item.icon || item.url}}" alt="">\n\n        <div class="ea-editor-file-manager-files-item-icon-extension" ng-if="item.previewType === \'defaultIcon\'">\n          {{extension(item.url).replace(\'.\', \'\')}}\n        </div>\n      </div>\n\n      <div class="ea-editor-file-manager-files-item-name">\n        {{item.name}}\n      </div>\n\n      <div class="ea-editor-file-manager-files-item-size">\n        {{formatSize(item.size)}}\n      </div>\n    </div>\n  </div>\n\n  <div class="ea-editor-file-manager-actions">\n    <div class="ea-editor-file-manager-actions-item">\n      <button class="ea-editor-file-manager-actions-item-cancel hide-popup" ng-click="hidePopup()">Cancel</button>\n    </div>\n\n    <div class="ea-editor-file-manager-actions-item">\n      <button\n        class="ea-editor-file-manager-actions-item-choose"\n        ng-click="setResult(filesResult || \'\');"\n        ng-class="{\'ea-editor-file-manager-actions-item-choose-disabled\': !filesResult}"\n      >\n        {{settings.chooseButtonText}}\n      </button>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager-link-container" ng-show="currentTab === \'link\'">\n  <div class="ea-editor-file-manager-link-icon">\n    <svg\n      width="53px"\n      height="53px"\n      viewBox="0 0 53 53"\n      version="1.1"\n      xmlns="http://www.w3.org/2000/svg"\n      fill="#DBDDDF"\n    >\n      <path\n        d="M49.463,3.51000004 C51.721,5.76800004 52.965,8.78100004 52.965,11.995 C52.965,15.209 51.721,18.222 49.463,20.48 L37.442,32.502 C35.103,34.841 32.03,36.011 28.957,36.011 C25.884,36.011 22.812,34.841 20.472,32.502 C20.081,32.111 20.081,31.479 20.472,31.088 C20.863,30.697 21.495,30.697 21.886,31.088 C25.785,34.986 32.131,34.986 36.029,31.088 L48.048,19.066 C49.928,17.186 50.964,14.676 50.964,11.996 C50.964,9.31600004 49.928,6.80500004 48.048,4.92500004 C46.168,3.04500004 43.658,2.00900004 40.977,2.00900004 C38.298,2.00900004 35.787,3.04400004 33.907,4.92400004 L24.715,14.116 C24.324,14.507 23.692,14.507 23.301,14.116 C22.91,13.725 22.91,13.093 23.301,12.702 L32.493,3.51000004 C37.172,-1.17099996 44.786,-1.16899996 49.463,3.51000004 Z M26.836,40.279 C27.227,39.889 27.858,39.888 28.249,40.279 C28.64,40.67 28.64,41.302 28.249,41.693 L20.471,49.471 C18.214,51.729 15.201,52.973 11.986,52.973 C8.773,52.973 5.76,51.728 3.502,49.471 C1.244,47.214 4.156675e-13,44.201 4.156675e-13,40.987 C4.156675e-13,37.773 1.243,34.76 3.501,32.502 L14.816,21.187 C19.495,16.506 27.109,16.508 31.786,21.187 C32.177,21.578 32.177,22.21 31.786,22.601 C31.395,22.992 30.763,22.992 30.372,22.601 C26.474,18.705 20.129,18.703 16.23,22.601 L4.916,33.915 C1.018,37.814 1.018,44.159 4.916,48.057 C6.797,49.937 9.307,50.973 11.987,50.973 C14.667,50.973 17.178,49.937 19.058,48.057 L26.836,40.279 Z"\n        id="Combined-Shape"\n      ></path>\n    </svg>\n  </div>\n\n  <div class="ea-editor-file-manager-link-title">\n    Import file from a Public URL\n  </div>\n\n  <div class="ea-editor-file-manager-link-input-container">\n    <input\n      id="file"\n      ng-model="url"\n      ng-change="onChange()"\n      placeholder="https://example.com/"\n      class="ea-editor-file-manager-link-input"\n    >\n  </div>\n\n  <div class="ea-editor-file-manager-actions">\n    <div class="ea-editor-file-manager-actions-item">\n      <button class="ea-editor-file-manager-actions-item-cancel hide-popup" ng-click="hidePopup()">Cancel</button>\n    </div>\n\n    <div class="ea-editor-file-manager-actions-item">\n      <button\n        class="ea-editor-file-manager-actions-item-choose"\n        ng-click="setResult(linkResult || \'\');"\n        ng-class="{\'ea-editor-file-manager-actions-item-choose-disabled\': !linkResult}"\n      >\n        {{settings.chooseButtonText}}\n      </button>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager-upload-container" ng-show="currentTab === \'upload\'">\n  <div class="ea-editor-file-manager-upload-dropzone">\n    <div class="ea-editor-file-manager-upload-content" ng-if="!uploadFiles.length">\n      <div class="ea-editor-file-manager-upload-icon">\n        <svg xmlns="http://www.w3.org/2000/svg" width="60" height="51" viewBox="0 0 60 51">\n          <path\n            d="M50.975 16.194C56.173 17.56 60 22.483 60 27.972 60 34.604 54.604 40 47.972 40H44a1 1 0 1 1 0-2h3.972C53.501 38 58 33.501 58 27.972c0-4.811-3.51-9.1-8.166-9.985-.141-.019-2.46-.334-4.684.002a1 1 0 0 1-.301-1.977c1.53-.234 3.061-.197 4.083-.125C48.262 8.135 41.828 2 34.084 2 29.388 2 24.666 4.379 21.8 8.129A8.98 8.98 0 0 1 25 15a1 1 0 1 1-2 0 6.995 6.995 0 0 0-4.119-6.372 6.86 6.86 0 0 0-.838-.322c-.033-.01-.068-.016-.102-.026a6.867 6.867 0 0 0-.792-.177c-.077-.013-.154-.026-.232-.036A6.995 6.995 0 0 0 16 8c-3.86 0-7 3.141-7 7 0 .088.007.175.012.262l.012.188-.009.175C9.008 15.751 9 15.877 9 16v.63l-.568.271C4.705 18.688 2 23 2 27.154 2 33.135 6.865 38 12.845 38H18a1 1 0 1 1 0 2h-5.155C5.762 40 0 34.237 0 27.154c0-4.755 2.857-9.506 7.016-11.773A5.318 5.318 0 0 1 7 15c0-4.963 4.038-9 9-9 .341 0 .677.023 1.007.059.103.012.203.032.305.047.231.034.459.073.683.124.118.027.233.059.349.09a8.946 8.946 0 0 1 1.566.586c.075.037.154.063.228.102C23.396 2.663 28.654 0 34.084 0c8.945 0 16.364 7.194 16.891 16.194zm-19.267 10.1l7.999 7.999a.999.999 0 1 1-1.414 1.414L32 29.414V50a1 1 0 1 1-2 0V29.414l-6.293 6.293a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414l7.999-7.999a1 1 0 0 1 1.416 0z"\n          />\n        </svg>\n      </div>\n\n      <div class="ea-editor-file-manager-upload-name" ng-if="uploadResult.name">\n        {{uploadResult.name}}\n      </div>\n\n      <div class="ea-editor-file-manager-upload-name" ng-if="!uploadResult.name">\n        Browse for a file{{control.file.multiple ? \'s\' : \'\'}} to upload\n      </div>\n\n      <div class="ea-editor-file-manager-upload-button" ng-if="!uploadResult.name" ng-click="mode === \'wpMedia\' && wpMedia.open()">\n        Select File{{control.file.multiple ? \'s\' : \'\'}}\n      </div>\n\n      <div class="ea-editor-file-manager-upload-size" ng-if="!uploadResult.name">\n        Max file size {{maxFileSize}}MB\n      </div>\n\n      <div class="ea-editor-file-manager-upload-error" ng-if="error">\n        {{error}}\n      </div>\n    </div>\n\n    <div class="ea-editor-file-manager-upload-files" ng-if="uploadFiles.length">\n      <div class="ea-editor-file-manager-upload-files-item" ng-repeat="item in uploadFiles track by $index">\n        <div class="ea-editor-file-manager-upload-files-item-name">\n          {{item.name}}\n\n          <div\n            class="ea-editor-file-manager-upload-files-item-name-done"\n            ng-class="{\'ea-editor-file-manager-upload-files-item-name-done-show\': item.progressBar >= 100}"\n          >\n            <svg\n              xmlns="http://www.w3.org/2000/svg"\n              width="20"\n              height="20"\n              viewBox="0 0 20 20"\n              class="ea-editor-file-manager-upload-files-item-name-done-icon"\n            >\n              <path d="M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42L7 14.17z" />\n            </svg>\n          </div>\n        </div>\n\n        <div\n          class="ea-editor-file-manager-upload-files-item-loader"\n          ng-class="{\'ea-editor-file-manager-upload-files-item-loader-hide\': item.progressBar >= 100}"\n        >\n          <div\n            class="ea-editor-file-manager-upload-files-item-loader-inner"\n            ng-style="{\'width\': item.progressBar + \'%\'}"\n          ></div>\n        </div>\n\n        <div\n          class="ea-editor-file-manager-upload-files-item-remove"\n          ng-click="removeFile(item)"\n          ng-if="settings.multiple"\n        >\n          <svg width="8px" height="8px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">\n            <path\n              d="M8.41421356,7 L13.7071068,12.2928932 C14.0976311,12.6834175 14.0976311,13.3165825 13.7071068,13.7071068 C13.3165825,14.0976311 12.6834175,14.0976311 12.2928932,13.7071068 L7,8.41421356 L1.70710678,13.7071068 C1.31658249,14.0976311 0.683417511,14.0976311 0.292893219,13.7071068 C-0.0976310729,13.3165825 -0.0976310729,12.6834175 0.292893219,12.2928932 L5.58578644,7 L0.292893219,1.70710678 C-0.0976310729,1.31658249 -0.0976310729,0.683417511 0.292893219,0.292893219 C0.683417511,-0.0976310729 1.31658249,-0.0976310729 1.70710678,0.292893219 L7,5.58578644 L12.2928932,0.292893219 C12.6834175,-0.0976310729 13.3165825,-0.0976310729 13.7071068,0.292893219 C14.0976311,0.683417511 14.0976311,1.31658249 13.7071068,1.70710678 L8.41421356,7 Z"\n            ></path>\n          </svg>\n        </div>\n      </div>\n\n      <div class="ea-editor-file-manager-upload-files-add-file" ng-if="settings.multiple">\n        + Add File\n\n        <input\n          ng-if="mode !== \'wpMedia\' && uploadFiles.length"\n          type="file"\n          name="file.name"\n          id="file"\n          onchange="angular.element(this).scope().processUploadedFile(this)"\n          accept="{{settings.accept}}"\n          value=""\n          class="ea-editor-file-manager-upload-input"\n          ng-multiple="control.file.multiple"\n        >\n      </div>\n    </div>\n\n    <input\n      ng-if="mode !== \'wpMedia\' && !uploadFiles.length"\n      type="file"\n      name="file.name"\n      id="file"\n      onchange="angular.element(this).scope().processUploadedFile(this)"\n      accept="{{settings.accept}}"\n      value=""\n      class="ea-editor-file-manager-upload-input"\n      ng-multiple="control.file.multiple"\n    >\n  </div>\n\n  <div class="ea-editor-file-manager-actions" ng-if="settings.multiple">\n    <div class="ea-editor-file-manager-actions-item">\n      <button class="ea-editor-file-manager-actions-item-cancel hide-popup" ng-click="hidePopup()">Cancel</button>\n    </div>\n\n    <div class="ea-editor-file-manager-actions-item">\n      <button\n        class="ea-editor-file-manager-actions-item-choose"\n        ng-click="setResult(uploadResult || []);"\n        ng-class="{\'ea-editor-file-manager-actions-item-choose-disabled\': uploadFilesCount > 0 || uploadResult.length === 0}"\n      >\n        {{settings.chooseButtonText}}\n      </button>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-textarea ea-editor-property-control" ng-class="{\'ea-editor-property-control-textarea-fixed-min-height\': fixedMinHeight}">\n        <textarea ng-model="ngModel" ng-model-options="{ debounce: 300 }" ng-blur="setDefaultValueIfEmpty()"></textarea>\n    </div>\n</div>'},function(e,t,o){var n,i;
void 0===(i="function"==typeof(n=function(e,t){"use strict";var o="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(o){return t[e.indexOf(o)]},set:function(o,n){-1===e.indexOf(o)&&(e.push(o),t.push(n))},delete:function(o){var n=e.indexOf(o);n>-1&&(e.splice(n,1),t.splice(n,1))}}}(),n=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){n=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){var t=o.get(e);t&&t.destroy()}function r(e){var t=o.get(e);t&&t.update()}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t=null,i=null,r=null,a=function(){e.clientWidth!==i&&d()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach(function(o){e.style[o]=t[o]}),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,update:d}),function(){var o=window.getComputedStyle(e,null);"vertical"===o.resize?e.style.resize="none":"both"===o.resize&&(e.style.resize="horizontal"),t="content-box"===o.boxSizing?-(parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)):parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),isNaN(t)&&(t=0),d()}()}function l(t){var o=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=o,e.style.overflowY=t}function c(){if(0!==e.scrollHeight){var o=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),n=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",i=e.clientWidth,o.forEach(function(e){e.node.scrollTop=e.scrollTop}),n&&(document.documentElement.scrollTop=n)}}function d(){c();var t=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i<t?"hidden"===o.overflowY&&(l("scroll"),c(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(l("hidden"),c(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==i){r=i;var a=n("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e}),t.default=a,e.exports=t.default})?n.apply(t,[e,t]):n)||(e.exports=i)},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-number ea-editor-property-control">\n        <input ng-model="ngModel" ng-model-options="{ debounce: 300 }" type="number" ng-blur="setDefaultValueIfEmpty()" min="{{control.number.min}}" max="{{control.number.max}}">\n    </div>\n</label>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" ng-if="control.name" editor-hint="control.description">{{control.name}}</div>\n\n    <div class="ea-editor-property-control-static-html ea-editor-property-control">\n        <div class="ea-editor-property-control-static-html-content"\n             ng-if="control.staticHtml && control.staticHtml.content"\n             ng-bind-html="toTrustedHTML(control.staticHtml.content)">\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div\n    class="ea-editor-property-control-select ea-editor-property-control"\n    ng-class="{\'ea-editor-property-control-select-readonly\': readonly, \'ea-editor-property-control-select-open\': show}"\n  >\n    <input\n      class="ea-editor-property-control-select-input" type="text" ng-click="showOptions()"\n      ng-value="currentValue.name || currentValue.displayName || currentValue || ngModel" ng-readonly="readonly"\n    >\n\n    <div class="ea-editor-property-control-select-dropdown" ng-if="show">\n      <div class="ea-editor-property-control-select-dropdown-options">\n        <div\n          class="ea-editor-property-control-select-dropdown-options-item"\n          ng-repeat="option in control.select.options track by $index"\n          ng-click="setValue(option, $event)"\n          ng-class="{\'ea-editor-property-control-select-dropdown-options-item-selected\': option.name === currentValue.name || option.name === currentValue}"\n        >\n          {{option.name || option.displayName}}\n        </div>\n      </div>\n\n      <div class="ea-editor-property-control-select-dropdown-footer" ng-if="addSource">\n        <div\n          class="ea-editor-property-control-select-dropdown-footer-new-toggle" ng-click="newSourceToggle()" translate\n        >\n          + Add New {{ control.name }}\n        </div>\n\n        <div class="ea-editor-property-control-select-dropdown-footer-new" ng-show="newSourceShow">\n          <input\n            class="ea-editor-property-control-select-dropdown-footer-new-input" type="text" ng-model="newSource"\n            placeholder="{{ control.name }} name"\n          >\n\n          <div\n            class="ea-editor-property-control-select-dropdown-footer-new-button" ng-click="addNewSource(newSource)"\n            translate\n          >\n            Add\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</label>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-select-inline ea-editor-property-control">\n        <div class="ea-editor-property-control-select-inline-wrapper">\n            <label class="ea-editor-property-control-select-inline-item" ng-repeat="option in control.selectInline.options">\n                <input class="ea-editor-property-control-select-inline-item-radio" ng-model="$parent.ngModel" type="radio" ng-value="option.value">\n\n                <span class="ea-editor-property-control-select-inline-item-label">{{option.name}}</span>\n            </label>\n        </div>\n    </div>\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-select-visual-control ea-editor-property-control" ng-click="openSelectVisual()">\n        <div class="ea-editor-select-visual-control-image-container">\n            <img src="{{selected.img}}" alt="" class="ea-editor-select-visual-control-image">\n        </div>\n\n        <div class="ea-editor-select-visual-control-name">\n            {{selected.name}}\n        </div>\n\n        <div class="ea-editor-select-visual-control-trigger">\n            <div class="ea-editor-select-visual-control-trigger-arrow">\n                <svg width="6px" height="10px" viewBox="0 0 6 10" fill="#c2c6ca" focusable="false">\n                    <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n                </svg>\n            </div>\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-select-user-control ea-editor-property-control" ng-click="openSelectVisual()">\n        <div class="ea-editor-select-user-control-image-container">\n            <div class="ea-editor-select-user-control-image" style="background-image: url(\'{{selected.photo || ngModel.photo}}\')"></div>\n        </div>\n\n        <div class="ea-editor-select-user-control-trigger">\n            <div class="ea-editor-select-user-control-trigger-arrow">\n                <svg width="6px" height="10px" viewBox="0 0 6 10" fill="#c2c6ca" focusable="false">\n                    <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n                </svg>\n            </div>\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-tags ea-editor-property-control">\n        <input class="ea-editor-property-control-tags-input" type="text" ng-model="newTag" placeholder="{{control.tags.placeholder}}">\n\n        <div class="ea-editor-property-control-tags-wrapper" sv-root>\n            <div class="ea-editor-property-control-tags-list" sv-part="ngModel">\n                <div class="ea-editor-property-control-tags-item" sv-element ng-repeat="(key, value) in ngModel">\n                    <div class="ea-editor-property-control-tags-item-label" sv-handle title="{{value}}">{{value}}</div>\n                    <div class="ea-editor-property-control-tags-item-remove" ng-click="removeTag(key)">\n                        <svg width="8px" height="8px" viewBox="0 0 8 8" fill="#fff" focusable="false">\n                            <path fill="#fff" d="M4.708,4l3.146-3.146c0.195-0.195,0.195-0.511,0-0.708c-0.196-0.195-0.513-0.195-0.708,0L4,3.292\n                                L0.854,0.146c-0.195-0.195-0.511-0.195-0.708,0c-0.195,0.196-0.195,0.513,0,0.708L3.292,4L0.146,7.146\n                                c-0.195,0.195-0.195,0.511,0,0.708c0.196,0.195,0.513,0.195,0.708,0L4,4.708l3.146,3.146c0.195,0.195,0.511,0.195,0.708,0\n                                c0.195-0.196,0.195-0.513,0-0.708L4.708,4z"></path>\n                        </svg>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</label>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <label for="ea-editor-control-{{control.id}}" class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</label>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-toggle ea-editor-property-control" ng-class="{ \'ea-editor-property-control-toggle-on\': ngModel }">\n        <label class="ea-editor-property-control-toggle-wrapper">\n            <span class="ea-editor-property-control-toggle-before" translate>On</span>\n            <span class="ea-editor-property-control-toggle-inner">\n                <input id="ea-editor-control-{{control.id}}" type="checkbox" ng-model="ngModel" ng-checked="ngModel">\n            </span>\n            <span class="ea-editor-property-control-toggle-after" translate>Off</span>\n        </label>\n    </div>\n</div>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div class="ea-editor-property-control-checklist ea-editor-property-control">\n    <label\n      class="ea-editor-property-control-checklist-item" ng-repeat="option in control.checklist.options"\n      ng-style="widthStyle"\n    >\n      <div class="ea-editor-property-control-checklist-checkbox-wrapper">\n        <input\n          type="checkbox"\n          ng-value="option.value"\n          ng-checked="ngModel.indexOf(option.value) !== -1"\n          ng-click="checkboxClick(option.value, ngModel.indexOf(option.value) !== -1)"\n        >\n\n        <span class="ea-editor-property-control-checklist-checkbox"></span>\n      </div>\n\n      <span class="ea-editor-property-control-checklist-item-label">{{option.name}}</span>\n    </label>\n  </div>\n</div>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-color ea-editor-property-control">\n        <color-picker ng-model="ngModel" options="options" event-api="eventApi"></color-picker>\n    </div>\n</label>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-slider ea-editor-property-control">\n        <div class="ea-editor-property-control-slider-labels" ng-if="options.labels">\n            <div class="ea-editor-property-control-slider-labels-item-left ea-editor-property-control-slider-labels-item">{{options.labels.right}}</div>\n\n            <div class="ea-editor-property-control-slider-labels-item-right ea-editor-property-control-slider-labels-item">{{options.labels.left}}</div>\n        </div>\n\n        <rzslider rz-slider-model="ngModel"\n                  rz-slider-options="options"\n        ></rzslider>\n    </div>\n</label>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div\n    class="ea-editor-property-control-complex ea-editor-property-control" sv-root\n    sv-enabled="control.complex.reorderAction !== false"\n  >\n    <div class="ea-editor-property-control-complex-list" sv-part="ngModel">\n      <div sv-placeholder class="ea-editor-property-control-complex-item-placeholder"></div>\n\n      <div\n        class="ea-editor-property-control-complex-item" ng-repeat="(key, item) in ngModel"\n        ng-click="openSub(item)" sv-element\n        ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf(key) > -1 }"\n      >\n        <div class="ea-editor-property-control-complex-item-inner" ng-if="item.visible !== false">\n          <div\n            class="ea-editor-property-control-complex-item-reorder" ng-click="reorderClick($event)"\n            ng-if="control.complex.reorderAction !== false"\n            sv-handle\n            title="Reorder"\n          >\n            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 14" focusable="false">\n              <path d="M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z" />\n              <path d="M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z" />\n              <path d="M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z" />\n              <path d="M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z" />\n              <path d="M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z" />\n              <path d="M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z" />\n              <path d="M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z" />\n              <path d="M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z" />\n            </svg>\n          </div>\n\n          <div\n            class="ea-editor-property-control-complex-item-preview"\n            ng-style="{\'background\': \'url(\' + getItemPreview(item) + \')\'}"\n            ng-if="getItemPreview(item)"\n          />\n\n          <div class="ea-editor-property-control-complex-item-name" title="{{getItemName(item)}}">\n            {{getItemName(item)}}\n          </div>\n\n          <div\n            class="ea-editor-property-control-complex-item-duplicate"\n            ng-show="control.complex.duplicateAction !== false" title="{{\'Duplicate item\'|translate}}"\n            ng-click="duplicateItem(item, $event)"\n            ng-if="!control.complex.limit || (!!control.complex.limit && control.complex.limit > 0 && ngModel.length + 1 <= control.complex.limit)"\n          >\n            <svg viewBox="0 0 12 12" focusable="false">\n              <path\n                d="M11.3,0H3.8C3.3,0,3,0.3,3,0.8V3H0.8C0.3,3,0,3.3,0,3.8v7.5C0,11.7,0.3,12,0.8,12h7.5C8.7,12,9,11.7,9,11.3V9h2.3\n                  C11.7,9,12,8.7,12,8.3V0.8C12,0.3,11.7,0,11.3,0z M7.9,10.9H1.1V4.1H3v4.1C3,8.7,3.3,9,3.8,9h4.1V10.9z M10.9,7.9H4.1V1.1h6.8\n                  V7.9z"\n              />\n            </svg>\n          </div>\n\n          <div\n            class="ea-editor-property-control-complex-item-remove"\n            ng-show="control.complex.removeAction !== false" title="{{\'Remove item\'|translate}}"\n            ng-click="showRemoveConfirm(key, $event)"\n          >\n            <svg viewBox="0 0 753.2 753.2" focusable="false">\n              <g>\n                <path\n                  d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\n                    c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\n                    h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\n                    V188.3h376.6V682.6z"\n                />\n              </g>\n              <path\n                d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\n                  C266.3,606.8,277,617.4,290,617.4z"\n              />\n              <path\n                d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\n                  C417.3,606.8,428,617.4,441,617.4z"\n              />\n            </svg>\n          </div>\n        </div>\n\n        <div class="ea-editor-property-control-complex-item-remove-confirm">\n          <div class="ea-editor-property-control-complex-item-remove-confirm-label" translate>Are you sure you want to remove?\n          </div>\n\n          <div class="ea-editor-property-control-complex-item-remove-confirm-actions">\n            <div\n              class="ea-editor-property-control-complex-item-remove-confirm-actions-yes"\n              ng-click="removeItem(key, $event)" translate\n            >Yes\n            </div>\n            <div\n              class="ea-editor-property-control-complex-item-remove-confirm-actions-no"\n              ng-click="hideRemoveConfirm(key, $event)" translate\n            >No\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div\n      class="ea-editor-property-control-complex-add-new ea-editor-property-control-complex-item"\n      ng-show="control.complex.addAction !== false"\n      ng-class="{\n        \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length,\n        \'ea-editor-property-control-complex-add-new-disable\': !!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit\n       }"\n      ng-click="openSub()"\n    >\n\n      <div class="ea-editor-property-control-complex-item-inner">\n        <svg viewBox="1 1 10 10" focusable="false">\n          <path\n            d="M9.987,4.999H7V2.013C7,1.454,6.552,1,6,1S5,1.454,5,2.013v2.986H2.013C1.453,4.999,1,5.449,1,6.001\n              s0.453,1,1.012,1H5v2.987C5,10.548,5.448,11,6,11s1-0.453,1-1.012V7.001h2.987c0.559,0,1.012-0.448,1.012-1\n              S10.547,4.999,9.987,4.999z"\n          ></path>\n        </svg>\n\n        <span class="ea-editor-property-control-complex-add-new-label" translate>Add</span>\n      </div>\n    </div>\n\n    <div\n      class="ea-editor-property-control-complex-limit-exceed"\n      ng-show="control.complex.addAction !== false"\n      ng-class="{ \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length }"\n      ng-if="!!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit"\n    >\n\n      <div\n        class="ea-editor-property-control-complex-item-inner"\n        ng-bind-html="toTrustedHTML(control.complex.limitExceedHtml)"\n      ></div>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-complex ea-editor-property-control" sv-root>\n        <div class="ea-editor-property-control-complex-list" sv-part="ngModel">\n            <div sv-placeholder class="ea-editor-property-control-complex-item-placeholder"></div>\n\n            <div class="ea-editor-property-control-complex-item" ng-repeat="(key, item) in ngModel"\n                 ng-click="openSub(item)" sv-element\n                 ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf(key) > -1 }"\n                 title="Reorder">\n                <div class="ea-editor-property-control-complex-item-inner">\n                    <div class="ea-editor-property-control-complex-item-reorder" ng-click="reorderClick($event)"\n                         sv-handle>\n                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 14" focusable="false">\n                            <path d="M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z"/>\n                            <path d="M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z"/>\n                            <path d="M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z"/>\n                            <path d="M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z"/>\n                            <path d="M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z"/>\n                            <path d="M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z"/>\n                            <path d="M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z"/>\n                            <path d="M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z"/>\n                        </svg>\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-icon" title="{{names[item.type]}}">\n                        <img ng-src="{{icons[item.type]}}" alt="">\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-name" title="{{getItemName(item)}}">\n                        {{getItemName(item)}}\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-duplicate"\n                         ng-show="control.complex.duplicateAction !== false" title="{{\'Duplicate item\'|translate}}"\n                         ng-click="duplicateItem(item, $event)"\n                         ng-if="!control.complex.limit || (!!control.complex.limit && control.complex.limit > 0 && ngModel.length + 1 <= control.complex.limit)">\n                        <svg viewBox="0 0 12 12" focusable="false">\n\n                            <g>\n                                <path d="M11.3,0H3.8C3.3,0,3,0.3,3,0.8V3H0.8C0.3,3,0,3.3,0,3.8v7.5C0,11.7,0.3,12,0.8,12h7.5C8.7,12,9,11.7,9,11.3V9h2.3\n                        C11.7,9,12,8.7,12,8.3V0.8C12,0.3,11.7,0,11.3,0z M7.9,10.9H1.1V4.1H3v4.1C3,8.7,3.3,9,3.8,9h4.1V10.9z M10.9,7.9H4.1V1.1h6.8\n                        V7.9z"/>\n                            </g>\n                        </svg>\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-remove"\n                         ng-show="control.complex.removeAction !== false" title="{{\'Remove item\'|translate}}"\n                         ng-click="showRemoveConfirm(key, $event)">\n                        <svg viewBox="0 0 753.2 753.2" focusable="false">\n                            <g>\n                                <path d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\n\t\t\t\t        c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\n\t\t\t\t        h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\n\t\t\t\t        V188.3h376.6V682.6z"/>\n                            </g>\n                            <path d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C266.3,606.8,277,617.4,290,617.4z"/>\n                            <path d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C417.3,606.8,428,617.4,441,617.4z"/>\n                        </svg>\n                    </div>\n                </div>\n\n                <div class="ea-editor-property-control-complex-item-remove-confirm">\n                    <div class="ea-editor-property-control-complex-item-remove-confirm-label" translate>Are you sure you want to remove?</div>\n\n                    <div class="ea-editor-property-control-complex-item-remove-confirm-actions">\n                        <div class="ea-editor-property-control-complex-item-remove-confirm-actions-yes"\n                             ng-click="removeItem(key, $event)" translate>Yes</div>\n                        <div class="ea-editor-property-control-complex-item-remove-confirm-actions-no"\n                             ng-click="hideRemoveConfirm(key, $event)" translate>No</div>\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <div class="ea-editor-property-control-complex-add-new ea-editor-property-control-complex-item"\n             ng-show="control.complex.addAction !== false"\n             ng-class="{\n                 \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length,\n                 \'ea-editor-property-control-complex-add-new-disable\': !!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit\n             }"\n             ng-click="openSub()">\n\n            <div class="ea-editor-property-control-complex-item-inner">\n                <svg viewBox="1 1 10 10" focusable="false">\n                    <path d="M9.987,4.999H7V2.013C7,1.454,6.552,1,6,1S5,1.454,5,2.013v2.986H2.013C1.453,4.999,1,5.449,1,6.001\n                    s0.453,1,1.012,1H5v2.987C5,10.548,5.448,11,6,11s1-0.453,1-1.012V7.001h2.987c0.559,0,1.012-0.448,1.012-1\n                    S10.547,4.999,9.987,4.999z"></path>\n                </svg>\n\n                <span class="ea-editor-property-control-complex-add-new-label" translate>Add</span>\n            </div>\n        </div>\n\n        <div class="ea-editor-property-control-complex-limit-exceed"\n             ng-show="control.complex.addAction !== false"\n             ng-class="{ \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length }"\n             ng-if="!!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit">\n\n            <div class="ea-editor-property-control-complex-item-inner"\n                 ng-bind-html="toTrustedHTML(control.complex.limitExceedHtml)"></div>\n        </div>\n    </div>\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-control-subgroup ea-editor-property-control" ng-click="openSub()">\n        <div class="ea-editor-property-control-subgroup-name">\n            {{control.name}}\n        </div>\n\n        <div class="ea-editor-property-control-subgroup-icon">\n            <svg width="12" height="12" viewBox="0 0 12 12">\n                <path class="cls-1" d="M4.566,2.256L8.317,5.7a0.512,0.512,0,0,1,0,.785,0.681,0.681,0,0,1-.883,0L3.683,3.041a0.512,0.512,0,0,1,0-.785A0.681,0.681,0,0,1,4.566,2.256ZM3.683,9.146L7.433,5.7a0.68,0.68,0,0,1,.883,0,0.512,0.512,0,0,1,0,.785L4.566,9.931a0.681,0.681,0,0,1-.883,0A0.512,0.512,0,0,1,3.683,9.146Z"/>\n            </svg>\n        </div>\n    </div>\n</label>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-radio ea-editor-property-control">\n        <div class="ea-editor-property-control-radio-wrapper">\n            <label class="ea-editor-property-control-radio-item" ng-repeat="option in control.radio.options">\n                <span class="ea-editor-property-control-radio-item-label">{{option.name}}</span>\n\n                <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                    <input class="ea-editor-property-control-radio-item-input" ng-model="$parent.ngModel" type="radio" ng-value="option.value">\n                    <span class="ea-editor-property-control-radio-item-radio"></span>\n                </div>\n            </label>\n        </div>\n    </div>\n</div>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-control-divider ea-editor-property-control"></div>\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-text ea-editor-property-control-datepicker ea-editor-property-control">\n        <div ng-if="showBtn" class="ea-editor-property-control-text-button" translate>Apply</div>\n\n        <ng-flatpickr\n                fp-opts="dateOpts"\n                fp-on-setup="datePostSetup({fpItem: fpItem})">\n        </ng-flatpickr>\n    </div>\n</label>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner ea-editor-property-control-token-state-{{state}}"\r\n       ng-class="{\'ea-editor-twitter-feed-token-control-loading\': loading}">\r\n    <div class="ea-editor-property-control-token-wrapper">\r\n        <div class="ea-editor-property-label ea-editor-property-control-token-label" editor-hint="control.description">{{control.name}}</div>\r\n\r\n        <div class="ea-editor-property-caption ea-editor-property-control-token-caption">\r\n            <span ng-if="state === \'connected\'" translate>You widget is successfully connected to {{control.token.title}}. You can continue customization.</span>\r\n            <span ng-if="state === \'connect\'" ng-bind-html="control.captionTrusted"></span>\r\n        </div>\r\n\r\n        <span class="ea-editor-property-control-token-status">\r\n            <span ng-if="state === \'connected\'" translate>Connected</span>\r\n            <span ng-if="state === \'connect\'" translate>Disconnected</span>\r\n        </span>\r\n    </div>\r\n\r\n    <div class="ea-editor-property-control-token ea-editor-property-control">\r\n        <div class="ea-editor-property-control-token-button-container">\r\n            <button ng-click="processToken()" class="ea-editor-property-control-token-button ea-editor-property-control-token-button-type-{{control.token.provider}}">\r\n                <span class="ea-editor-property-control-token-button-icon" ng-if="control.token.icon && control.token.provider && state === \'connect\'">\r\n                    <img ng-src="{{control.token.icon}}">\r\n                </span>\r\n\r\n                <span class="ea-editor-property-control-token-button-label">\r\n                    <span ng-if="state === \'connect\'" translate>Connect to {{control.token.title}}</span>\r\n                    <span ng-if="state === \'connected\'" translate>Disconnect</span>\r\n                </span>\r\n            </button>\r\n        </div>\r\n\r\n        <div class="ea-editor-property-control-token-error" ng-if="!!error" translate>An error was received while authorization. Please, try to reconnect.</div>\r\n    </div>\r\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner" ng-show="hasToken">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-google-sheet-connect ea-editor-property-google-sheet-connect-{{status}}">\n        <svg height="40" width="40" class="ea-editor-property-google-sheet-connect-icon" ng-click="status = status === \'connected\' ? \'disconnected\' : \'connected\'">\n            <path fill="#0F9D58" d="M9.5 2H24l9 9v24.5c0 1.3807119-1.1192881 2.5-2.5 2.5h-21C8.11928813 38 7 36.8807119 7 35.5v-31C7 3.11928813 8.11928813 2 9.5 2z"/><path fill="#263238" fill-opacity=".1" d="M7 35c0 1.3807119 1.11928813 2.5 2.5 2.5h21c1.3807119 0 2.5-1.1192881 2.5-2.5v.5c0 1.3807119-1.1192881 2.5-2.5 2.5h-21C8.11928813 38 7 36.8807119 7 35.5V35z"/><path fill="#FFF" fill-opacity=".2" d="M9.5 2H24v.5H9.5C8.11928813 2.5 7 3.61928813 7 5v-.5C7 3.11928813 8.11928813 2 9.5 2z"/><path fill="url(#a)" fill-rule="nonzero" d="M17.5 8l8.5 8.5V9" transform="translate(7 2)"/><path fill="#87CEAC" d="M24 2l9 9h-6.5C25.1192881 11 24 9.88071187 24 8.5V2z"/><path fill="#F1F1F1" d="M13 18h14v14H13V18zm2 2v2h4v-2h-4zm0 4v2h4v-2h-4zm0 4v2h4v-2h-4zm6-8v2h4v-2h-4zm0 4v2h4v-2h-4zm0 4v2h4v-2h-4z"/><path fill="url(#b)" fill-opacity=".1" d="M2.5 0H17l9 9v24.5c0 1.3807119-1.1192881 2.5-2.5 2.5h-21C1.11928813 36 0 34.8807119 0 33.5v-31C0 1.11928813 1.11928813 0 2.5 0z" transform="translate(7 2)"/>\n        </svg>\n\n        <div ng-show="status === \'connected\'">\n            <div class="ea-editor-property-google-sheet-connect-status">{{sheetTitle}}</div>\n            <div class="ea-editor-property-google-sheet-connect-link" ng-show="!!ngModel">\n                <a href="https://docs.google.com/spreadsheets/d/{{ngModel}}" target="_blank" translate>Open connected Google Sheet</a>\n            </div>\n        </div>\n\n        <div ng-show="status === \'disconnected\'">\n            <div class="ea-editor-property-google-sheet-connect-status" translate>Disconnected</div>\n        </div>\n    </div>\n\n\n    <div class="ea-editor-property-error" ng-if="!!error">{{error}}</div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div ng-if="!loading">\n        <div class="ea-editor-property-control-facebook-page-select ea-editor-property-control-select-readonly ea-editor-property-control" ng-if="hasPermission && control.custom.options.length > 0" ng-class="{\'ea-editor-property-control-select-open\': show}">\n            <input type="text" ng-click="showOptions()" ng-value="ngModel.name || ngModel" readonly>\n\n            <div class="ea-editor-property-control-facebook-page-select-dropdown" ng-if="show">\n                <div class="ea-editor-property-control-facebook-page-select-dropdown-options">\n                    <div class="ea-editor-property-control-facebook-page-select-dropdown-options-item"\n                        ng-repeat="option in control.custom.options"\n                        ng-click="setValue(option, $event)"\n                        ng-class="{\'ea-editor-property-control-facebook-page-select-dropdown-options-item-selected\': option.name === ngModel.name || option.name === ngModel}">\n                        {{option.name}}\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <div class="ea-editor-property-control-facebook-page-select-no-permission" ng-if="!hasPermission" translate>The manage_pages permission is required to access your Facebook pages.</div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label ea-editor-property-elfsight-reviews-source-label" editor-hint="control.description">\n        {{control.name}}\n\n        <div class="ea-editor-property-elfsight-reviews-source-label-status" ng-if="sourceCollectingInfo">\n            <div class="ea-editor-property-elfsight-reviews-source-label-status-label">\n                <span ng-if="sourceCollectingInfo.collectingStatus === \'pending\'">\n                    <span translate>Collecting reviews</span>&nbsp;<strong>({{sourceCollectingInfo.collectingPercentage}}%)</strong>\n                </span>\n\n                <span ng-if="sourceCollectingInfo.collectingStatus === \'complete\'" translate>\n                    Reviews collected\n                </span>\n            </div>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.caption">{{control.caption}}</div>\n\n    <div class="ea-editor-property-control-text ea-editor-property-control">\n        <div ng-click="applyPlaceUrl()" class="ea-editor-property-control-text-button" ng-class="{\'ea-editor-property-control-text-button-loading\': collectingInProgress}">\n            <span class="ea-editor-property-control-text-button-label" translate>Apply</span>\n            <span class="ea-editor-property-control-text-button-loader"></span>\n        </div>\n\n        <input ng-model="placeUrl" type="text">\n    </div>\n\n    <div class="ea-editor-property-error" ng-if="errorMessage">{{errorMessage}}</div>\n\n    <div class="ea-editor-property-recaptcha"></div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label ea-editor-property-ergs-label" editor-hint="control.description">\n        {{control.name}}\n\n        <div class="ea-editor-property-ergs-label-status" ng-if="source">\n            <div class="ea-editor-property-ergs-label-status-label">\n                <span ng-if="source.collectingStatus === \'pending\'">\n                    <span translate>Collecting reviews</span>&nbsp;<span class="ea-editor-property-ergs-loading-dots"></span>&nbsp;<strong>({{source.collectingPercentage}}%)</strong>\n                </span>\n\n                <span ng-if="source.collectingStatus === \'complete\'" translate>\n                    Reviews collected\n                </span>\n            </div>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.caption">{{control.caption}}</div>\n\n    <div ng-show="!initialValue || appliedDisplayValue">\n        <div class="ea-editor-property-ergs-applied" ng-if="appliedDisplayValue">\n            <div class="ea-editor-property-ergs-applied-name">{{appliedDisplayValue.name}}</div>\n            <div class="ea-editor-property-ergs-applied-vicinity">{{appliedDisplayValue.vicinity}}</div>\n            <div class="ea-editor-property-ergs-applied-change" ng-click="clear()">Change</div>\n        </div>\n\n        <div class="ea-editor-property-ergs-search" ng-if="!appliedDisplayValue">\n            <div class="ea-editor-property-control-text ea-editor-property-control">\n                <div class="ea-editor-property-control-text-button" ng-click="$parent.search()">\n                    <span class="ea-editor-property-control-text-button-label" translate>Search</span>\n                    <span class="ea-editor-property-control-text-button-loader"></span>\n                </div>\n\n                <input class="ea-editor-property-ergs-search-input" type="text" ng-model="$parent.searchQuery"\n                    ng-focus="$parent.searchInputFocus()" ng-blur="$parent.searchInputBlur()"\n                    ng-keypress="$parent.searchInputKeyPesss($event)">\n            </div>\n\n            <div class="ea-editor-property-ergs-search-results"\n                ng-show="displaySearchResults && prevSearchQuery !== null && prevSearchQuery === searchQuery">\n                <div class="ea-editor-property-ergs-search-results-heading" ng-show="searchResults && searchResults.length > 0" translate>Choose your place</div>\n\n                <div class="ea-editor-property-ergs-search-results-empty"\n                    ng-show="!searchResults || searchResults.length === 0" translate>\n                    No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.\n                </div>\n\n                <div class="ea-editor-property-ergs-search-results-item" ng-repeat="item in searchResults"\n                    ng-click="selectPlace(item)">\n                    <div class="ea-editor-property-ergs-search-results-item-name">{{item.name}}</div>\n                    <div class="ea-editor-property-ergs-search-results-item-vicinity">{{item.vicinity}}</div>\n                </div>\n            </div>\n        </div>\n    </div>\n\n\n    <div class="ea-editor-property-error" ng-if="errorMessage">{{errorMessage}}</div>\n\n    <div class="ea-editor-property-recaptcha"></div>\n</label>\n'},function(e,t){e.exports='<div class="ea-editor-toolbar">\n    <elfsight-apps-editor-toolbar-resolution ng-model="toolbar.resolution"></elfsight-apps-editor-toolbar-resolution>\n\n    <elfsight-apps-editor-toolbar-background ng-model="toolbar.background"></elfsight-apps-editor-toolbar-background>\n</div>'},function(e,t){e.exports='<div class="ea-editor-toolbar-item">\r\n    <div class="ea-editor-toolbar-item-trigger">\r\n        <div class="ea-editor-toolbar-item-icon">\r\n            <svg width="16" height="16" viewBox="0 0 16 16" ng-bind-html="ngModel.code">\r\n                <path d="M16,10v1a2,2,0,0,1-2,2H10v1h1a1,1,0,1,1,0,2H5a1,1,0,0,1,0-2H6V13H2a2,2,0,0,1-2-2V10H0V2A2,2,0,0,1,2,0H14a2,2,0,0,1,2,2v8h0ZM14,4h0V3a1,1,0,0,0-1-1H3A1,1,0,0,0,2,3V4H2V8H2V9a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V8h0V4Z"></path>\r\n            </svg>\r\n        </div>\r\n    </div>\r\n\r\n    <div class="ea-editor-toolbar-item-values" style="min-width: 94px">\r\n        <div class="ea-editor-toolbar-resolution-value ea-editor-toolbar-item-value" ng-repeat="value in values" ng-click="select(value)" ng-class="{\'toolbar-item-value-active\': value === ngModel}">\r\n            <div class="ea-editor-toolbar-resolution-value-icon ea-editor-toolbar-item-value-icon">\r\n                <svg width="16" height="16" viewBox="0 0 16 16" ng-bind-html="value.code"></svg>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>'},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M16,10v1a2,2,0,0,1-2,2H10v1h1a1,1,0,1,1,0,2H5a1,1,0,0,1,0-2H6V13H2a2,2,0,0,1-2-2V10H0V2A2,2,0,0,1,2,0H14a2,2,0,0,1,2,2v8h0ZM14,4h0V3a1,1,0,0,0-1-1H3A1,1,0,0,0,2,3V4H2V8H2V9a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V8h0V4Z"/>'}},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M15,2V14a2,2,0,0,1-2,2H3a2,2,0,0,1-2-2V2A2,2,0,0,1,3,0H13A2,2,0,0,1,15,2ZM4,2A1,1,0,0,0,3,3v9a1,1,0,0,0,1,1h8a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H4Z"/>'}},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M13,2V14a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V2A2,2,0,0,1,5,0h6A2,2,0,0,1,13,2ZM6,2A1,1,0,0,0,5,3v9a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H6Z"/>'}},function(e,t){e.exports='<div class="ea-editor-toolbar-item">\r\n    <div class="ea-editor-toolbar-item-trigger">\r\n        <div class="ea-editor-toolbar-item-icon">\r\n            <svg width="16" height="16" viewBox="0 0 16 16">\r\n                <path d="M14.2,10.7c0,0-1.8,1.9-1.8,3.1c0,1,0.8,1.8,1.8,1.8s1.8-0.8,1.8-1.8C16,12.6,14.2,10.7,14.2,10.7z"/>\r\n                <path d="M4.1,0.4L2.8,1.7L5,3.8L0.4,8.4c-0.5,0.5-0.5,1.4,0,1.9l4.9,4.9c0.3,0.3,0.6,0.4,0.9,0.4c0.3,0,0.7-0.1,0.9-0.4l4.9-4.9\r\n                    c0.5-0.5,0.5-1.4,0-1.9L4.1,0.4z M2,9.3l4.3-4.3l4.3,4.3H2z"/>\r\n            </svg>\r\n        </div>\r\n    </div>\r\n\r\n    <div class="ea-editor-toolbar-item-values" style="min-width: 124px">\r\n        <div class="ea-editor-toolbar-background-value ea-editor-toolbar-item-value" ng-repeat="value in values" ng-click="select(value)" ng-class="{\'toolbar-item-value-active\': value === ngModel}">\r\n            <div class="ea-editor-toolbar-background-value-icon ea-editor-toolbar-item-value-icon">\r\n                <div class="ea-editor-toolbar-background-{{value}} ea-editor-toolbar-background-value-icon-color"></div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>'},function(e,t,o){var n=o(47);"string"==typeof n&&(n=[[e.i,n,""]]);o(50)(n,{hmr:!0,transform:void 0}),n.locals&&(e.exports=n.locals)},function(e,t,o){(e.exports=o(48)()).push([e.i,"/*\n * angularjs-color-picker v3.4.8\n * https://github.com/ruhley/angular-color-picker/\n *\n * Copyright 2017 ruhley\n *\n * 2017-10-06 09:52:03\n *\n */\n.color-picker-wrapper {\n  position: relative;\n}\n.color-picker-wrapper .color-picker-input-wrapper {\n  display: table;\n  position: relative;\n}\n.color-picker-wrapper .input-group {\n  position: relative;\n  border-collapse: separate;\n}\n.color-picker-wrapper .input-group .color-picker-input,\n.color-picker-wrapper .input-group .input-group-addon {\n  display: table-cell;\n}\n.color-picker-wrapper .input-group .color-picker-input {\n  position: relative;\n  z-index: 2;\n  float: left;\n  margin-bottom: 0;\n}\n.color-picker-wrapper .input-group .input-group-addon {\n  padding: 6px 12px;\n  font-size: 14px;\n  font-weight: 400;\n  line-height: 1;\n  color: #555;\n  text-align: center;\n  background-color: #eee;\n  border: 1px solid #ccc;\n}\n.color-picker-wrapper .input-group .input-group-addon:first-child {\n  border-right-width: 0;\n}\n.color-picker-wrapper .input-group .input-group-addon:last-child {\n  border-left-width: 0;\n}\n.color-picker-wrapper .input-group .color-picker-input-swatch {\n  padding-left: 12px;\n}\n.color-picker-wrapper .color-picker-input-swatch {\n  padding-left: 36px;\n}\n.color-picker-wrapper .color-picker-swatch {\n  cursor: pointer;\n  z-index: 3;\n}\n.color-picker-wrapper .color-picker-swatch:not(.input-group-addon) {\n  position: absolute;\n  top: 3px;\n  width: 28px;\n  height: 70%;\n  box-sizing: border-box;\n  border-radius: 3px;\n  vertical-align: middle;\n  background-position: -80px 0;\n  border: solid 1px #ccc;\n  padding: 0;\n  margin: 0;\n  display: inline-block;\n}\n.color-picker-wrapper .color-picker-swatch:not(.input-group-addon).color-picker-swatch-left {\n  left: 3px;\n}\n.color-picker-wrapper .color-picker-swatch:not(.input-group-addon).color-picker-swatch-right {\n  right: 3px;\n}\n.color-picker-wrapper .color-picker-panel {\n  position: absolute;\n  background: #fff;\n  border: solid 1px #ccc;\n  box-shadow: 0 0 20px rgba(0,0,0,0.5);\n  z-index: 99999;\n  width: 150px;\n  table-layout: fixed;\n  border: 1px solid #fff;\n  padding-right: 1px;\n  box-sizing: content-box;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper {\n  display: table;\n  width: 100%;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row {\n  display: table-row;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-overlay {\n  position: absolute;\n  width: 100%;\n  height: 150px;\n  top: 0;\n  left: 0;\n  z-index: 2;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity {\n  background-image: linear-gradient(45deg, #808080 25%, transparent 25%), linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%), linear-gradient(-45deg, transparent 75%, #808080 75%);\n  background-size: 10px 10px;\n  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity {\n  display: table-cell;\n  position: relative;\n  left: 1px;\n  width: 20px;\n  background-color: #fff;\n  cursor: row-resize;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-slider {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 18px;\n  height: 2px;\n  background: #fff;\n  border: solid 1px #000;\n  box-sizing: content-box;\n  margin-top: -1px;\n  z-index: 3;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid {\n  display: table-cell;\n  position: relative;\n  width: 150px;\n  height: 150px;\n  cursor: crosshair;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-grid-inner {\n  width: 150px;\n  height: 150px;\n  z-index: 9;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-overlay {\n  background-image: url(\"data:image/png;base64, \");\n  pointer-events: none;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-picker {\n  position: absolute;\n  top: 70px;\n  left: 70px;\n  width: 12px;\n  height: 12px;\n  border: solid 1px #000;\n  border-radius: 10px;\n  margin-top: -6px;\n  margin-left: -6px;\n  background: none;\n  box-sizing: content-box;\n  z-index: 99;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-picker > div {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 8px;\n  height: 8px;\n  border-radius: 8px;\n  border: solid 2px #fff;\n  box-sizing: content-box;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-actions .color-picker-action {\n  width: calc(33.3333% - 6px);\n  margin: 3px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-inline {\n  position: relative;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-lightness.color-picker-show-alpha {\n  width: 230px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-lightness {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-alpha {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-lightness.color-picker-show-alpha {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-lightness {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-alpha {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-alpha {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-lightness {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-lightness.color-picker-show-alpha {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-lightness.color-picker-show-alpha {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-lightness {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-alpha {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-bottom {\n  top: auto;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-top {\n  bottom: 100%;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-left {\n  left: 0;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-right {\n  right: 0;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-round .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-overlay {\n  background-image: url(\"data:image/png;base64, \");\n  border-radius: 50%;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-round .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-grid-inner {\n  background-color: #fff;\n}\n.color-picker-wrapper .color-picker-hidden {\n  display: none;\n}\n.color-picker-wrapper.color-picker-disabled .color-picker-swatch,\n.color-picker-wrapper.color-picker-disabled .color-picker-hue,\n.color-picker-wrapper.color-picker-disabled .color-picker-opacity,\n.color-picker-wrapper.color-picker-disabled .color-picker-grid,\n.color-picker-wrapper.color-picker-disabled .color-picker-input {\n  cursor: not-allowed !important;\n}\n.color-picker-wrapper.color-picker-swatch-only .color-picker-input {\n  padding-left: 33px;\n  padding-right: 0;\n  width: 35px;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon {\n  width: 35px;\n  height: 100%;\n  border-right: 1px solid #ccc;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:first-child {\n  border-right-width: 1px;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:last-child {\n  border-left-width: 1px;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .color-picker-input {\n  padding: 0;\n  width: 1px;\n  opacity: 0;\n  cursor: pointer;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .color-picker-input:focus {\n  outline: none;\n}\n.color-picker-wrapper.color-picker-closed .color-picker-panel {\n  display: none;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel {\n  width: 150px !important;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row {\n  display: block;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid {\n  display: block;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity {\n  cursor: col-resize;\n  display: block;\n  left: 0;\n  width: 150px;\n  height: 20px;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue .color-picker-overlay,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation .color-picker-overlay,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness .color-picker-overlay,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity .color-picker-overlay {\n  height: 20px;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue .color-picker-slider,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation .color-picker-slider,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness .color-picker-slider,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity .color-picker-slider {\n  width: 2px;\n  height: 18px;\n  margin-top: 0;\n}\n\n.rzslider {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  height: 4px;\n  margin: 35px 0 15px 0;\n  vertical-align: middle;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n.rzslider.noanimate * {\n  transition: none !important;\n}\n.rzslider.with-legend {\n  margin-bottom: 40px;\n}\n.rzslider[disabled] {\n  cursor: not-allowed;\n}\n.rzslider[disabled] .rz-pointer {\n  cursor: not-allowed;\n  background-color: #d8e0f3;\n}\n.rzslider[disabled] .rz-draggable {\n  cursor: not-allowed;\n}\n.rzslider[disabled] .rz-selection {\n  background: #8b91a2;\n}\n.rzslider[disabled] .rz-tick {\n  cursor: not-allowed;\n}\n.rzslider[disabled] .rz-tick.rz-selected {\n  background: #8b91a2;\n}\n.rzslider span {\n  position: absolute;\n  display: inline-block;\n  white-space: nowrap;\n}\n.rzslider .rz-base {\n  width: 100%;\n  height: 100%;\n  padding: 0;\n}\n.rzslider .rz-bar-wrapper {\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 32px;\n  padding-top: 16px;\n  margin-top: -16px;\n  box-sizing: border-box;\n  transition: all linear 0.3s;\n}\n.rzslider .rz-draggable {\n  cursor: move;\n}\n.rzslider .rz-bar {\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 4px;\n  background: #d8e0f3;\n  border-radius: 2px;\n}\n.rzslider .rz-bar-wrapper.rz-transparent .rz-bar {\n  background: transparent;\n}\n.rzslider .rz-bar-wrapper.rz-left-out-selection .rz-bar {\n  background: #df002d;\n}\n.rzslider .rz-bar-wrapper.rz-right-out-selection .rz-bar {\n  background: #03a688;\n}\n.rzslider .rz-selection {\n  z-index: 2;\n  background: #0db9f0;\n  border-radius: 2px;\n  transition: background-color linear 0.3s;\n}\n.rzslider .rz-restricted {\n  z-index: 3;\n  background: #f00;\n  border-radius: 2px;\n}\n.rzslider .rz-pointer {\n  top: -14px;\n  z-index: 3;\n  width: 32px;\n  height: 32px;\n  cursor: pointer;\n  background-color: #0db9f0;\n  border-radius: 16px;\n  transition: all linear 0.3s;\n}\n.rzslider .rz-pointer:after {\n  position: absolute;\n  top: 12px;\n  left: 12px;\n  width: 8px;\n  height: 8px;\n  background: #fff;\n  border-radius: 4px;\n  content: '';\n}\n.rzslider .rz-pointer:hover:after {\n  background-color: #fff;\n}\n.rzslider .rz-pointer.rz-active {\n  z-index: 4;\n}\n.rzslider .rz-pointer.rz-active:after {\n  background-color: #451aff;\n}\n.rzslider .rz-bubble {\n  bottom: 16px;\n  padding: 1px 3px;\n  color: #55637d;\n  cursor: default;\n  transition: all linear 0.3s;\n}\n.rzslider .rz-bubble.rz-limit {\n  color: #55637d;\n  transition: none;\n}\n.rzslider .rz-ticks {\n  position: absolute;\n  top: -3px;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 0;\n  margin: 0;\n  list-style: none;\n  box-sizing: border-box;\n}\n.rzslider .rz-ticks-values-under .rz-tick-value {\n  top: auto;\n  bottom: -32px;\n}\n.rzslider .rz-tick {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 10px;\n  height: 10px;\n  margin-left: 11px;\n  text-align: center;\n  cursor: pointer;\n  background: #d8e0f3;\n  border-radius: 50%;\n  transition: background-color linear 0.3s;\n}\n.rzslider .rz-tick.rz-selected {\n  background: #0db9f0;\n}\n.rzslider .rz-tick-value {\n  position: absolute;\n  top: -30px;\n  transform: translate(-50%, 0);\n}\n.rzslider .rz-tick-legend {\n  position: absolute;\n  top: 24px;\n  max-width: 50px;\n  white-space: normal;\n  transform: translate(-50%, 0);\n}\n.rzslider.rz-vertical {\n  position: relative;\n  width: 4px;\n  height: 100%;\n  padding: 0;\n  margin: 0 20px;\n  vertical-align: baseline;\n}\n.rzslider.rz-vertical .rz-base {\n  width: 100%;\n  height: 100%;\n  padding: 0;\n}\n.rzslider.rz-vertical .rz-bar-wrapper {\n  top: auto;\n  left: 0;\n  width: 32px;\n  height: 100%;\n  padding: 0 0 0 16px;\n  margin: 0 0 0 -16px;\n}\n.rzslider.rz-vertical .rz-bar {\n  bottom: 0;\n  left: auto;\n  width: 4px;\n  height: 100%;\n}\n.rzslider.rz-vertical .rz-pointer {\n  top: auto;\n  bottom: 0;\n  left: -14px !important;\n}\n.rzslider.rz-vertical .rz-bubble {\n  bottom: 0;\n  left: 16px !important;\n  margin-left: 3px;\n}\n.rzslider.rz-vertical .rz-ticks {\n  top: 0;\n  left: -3px;\n  z-index: 1;\n  width: 0;\n  height: 100%;\n}\n.rzslider.rz-vertical .rz-tick {\n  margin-top: 11px;\n  margin-left: auto;\n  vertical-align: middle;\n}\n.rzslider.rz-vertical .rz-tick-value {\n  top: auto;\n  left: 24px;\n  transform: translate(0, -28%);\n}\n.rzslider.rz-vertical .rz-tick-legend {\n  top: auto;\n  right: 24px;\n  max-width: none;\n  white-space: nowrap;\n  transform: translate(0, -28%);\n}\n.rzslider.rz-vertical .rz-ticks-values-under .rz-tick-value {\n  right: 24px;\n  bottom: auto;\n  left: auto;\n}\niframe {\n  border: none;\n}\n.ea-editor {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  height: 100%;\n  min-height: 600px;\n  color: #fff;\n  font-family: 'Roboto', Arial, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  overflow: hidden;\n  line-height: 1.555;\n  background: #212121;\n  padding-top: 0;\n  transition: all 0.3s ease;\n}\n.ea-editor-small {\n  padding-top: 36px;\n  box-sizing: border-box;\n}\n.ea-editor-form {\n  position: relative;\n  width: 336px;\n  height: 100%;\n  flex-direction: column;\n  flex: 0 0 336px;\n  background: #38393a;\n  padding-top: 12px;\n  box-sizing: border-box;\n  overflow: hidden;\n  transition: all 0.3s;\n  transform: translateX(-100%);\n}\n.ea-editor-large .ea-editor-form {\n  transform: translateX(0);\n  transition: none;\n}\n.ea-editor-small .ea-editor-form,\n.ea-editor-medium .ea-editor-form {\n  position: absolute;\n  left: 0;\n  z-index: 1;\n  visibility: hidden;\n  pointer-events: none;\n  width: 100%;\n}\n.ea-editor-medium .ea-editor-form {\n  width: 336px;\n}\n.ea-editor-expanded .ea-editor-form {\n  display: flex;\n  opacity: 1;\n  visibility: visible;\n  pointer-events: all;\n  left: 0;\n  transform: translateX(0);\n}\n.ea-editor-responsive-button {\n  width: 56px;\n  height: 56px;\n  top: 0;\n  display: inline-flex;\n  align-items: center;\n  background: #38393a;\n  z-index: 2;\n  position: absolute;\n  cursor: pointer;\n  transition: 0.3s all;\n  opacity: 0;\n  vertical-align: middle;\n  box-sizing: border-box;\n}\n.ea-editor-responsive-button-label {\n  display: flex;\n  align-items: center;\n  width: 100%;\n}\n.ea-editor-responsive-button-label-icon {\n  fill: #fff;\n}\n.ea-editor-responsive-button-label-text {\n  margin-left: 12px;\n}\n.ea-editor-responsive-button-arrow {\n  height: 12px;\n  width: 8px;\n  fill: #c2c6c9;\n  margin-left: auto;\n}\n.ea-editor-small .ea-editor-responsive-button {\n  top: 0;\n  height: 36px;\n  opacity: 1;\n  width: 100%;\n  padding: 0 16px;\n  transition: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-medium .ea-editor-responsive-button {\n  opacity: 1;\n  padding: 8px;\n  justify-content: center;\n}\n.ea-editor-large .ea-editor-responsive-button {\n  transition: none;\n  pointer-events: none;\n}\n.ea-editor-medium.ea-editor-expanded .ea-editor-responsive-button {\n  transform: translateX(335px);\n}\n.ea-editor-responsive-button-hint {\n  width: 80px;\n  height: 48px;\n  left: 68px;\n  position: absolute;\n  background: #38393a;\n  border-radius: 8px;\n  font-size: 13px;\n  box-sizing: border-box;\n  padding: 4px 16px;\n  display: flex;\n  justify-content: center;\n  animation: jump 0.5s linear alternate infinite;\n}\n.ea-editor-responsive-button-hint:before {\n  content: ' ';\n  width: 8px;\n  height: 8px;\n  background: #38393a;\n  position: absolute;\n  left: -4px;\n  top: 50%;\n  transform: translateY(-50%) rotateZ(-45deg);\n}\n.ea-editor-small .ea-editor-responsive-button-hint {\n  display: none;\n}\n.ea-editor-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n  opacity: 0;\n  background: #000;\n  z-index: 1;\n  transition: 0.3s all ease;\n  pointer-events: none;\n}\n.ea-editor-medium.ea-editor-expanded .ea-editor-overlay {\n  opacity: 0.5;\n  pointer-events: all;\n}\n.ea-editor-property {\n  margin: 0 auto;\n  margin-bottom: 24px;\n}\n.ea-editor-property-label {\n  display: inline-block;\n  color: #b2b4b7;\n  font-size: 10px;\n  font-weight: 500;\n  text-transform: uppercase;\n  padding: 4px 0;\n  margin-bottom: 8px;\n}\n.ea-editor-property-caption {\n  font-size: 11px;\n  line-height: 16px;\n  padding: 3px 0 3px 12px;\n  margin-bottom: 12px;\n  border-left: 2px solid #474848;\n  color: #abadaf;\n}\n.ea-editor-property-caption a {\n  color: #abadaf;\n  text-decoration: underline;\n}\n.ea-editor-property-caption a:hover {\n  color: #abadaf;\n}\n.ea-editor-property-caption ul {\n  margin: 0;\n  padding: 0 12px;\n}\n.ea-editor-property-error {\n  margin-top: 12px;\n  font-size: 13px;\n  line-height: 20px;\n  color: #ff4734;\n}\n.ea-editor-property-hide {\n  display: none;\n  margin: 0;\n}\n.ea-editor-hint {\n  display: flex;\n  position: absolute;\n  right: 24px;\n  bottom: 0;\n  left: 24px;\n  padding: 12px 16px;\n  border-radius: 2px;\n  font-size: 13px;\n  line-height: 18px;\n  background: #fff;\n  color: #17191a;\n  opacity: 0;\n  visibility: hidden;\n  transition: all 0.3s ease 0.4s;\n  z-index: 999999;\n}\n.ea-editor-hint:hover,\n.ea-editor-hint-visible {\n  bottom: 24px;\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-widget-name {\n  padding: 12px 24px;\n}\n.ea-editor-widget-name input {\n  box-sizing: border-box;\n  border: 1px solid transparent;\n  border-radius: 5px;\n  padding: 6px 10px;\n  width: 100%;\n  color: #17191a;\n  font-size: 19px;\n  text-align: center;\n  outline: none;\n  transition: all 0.2s ease;\n}\n.ea-editor-widget-name input:hover {\n  border-color: #f4f4f4;\n}\n.ea-editor-widget-name input:focus {\n  border-color: #a8d5ff;\n}\n.ea-editor-tabs {\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n}\n.ea-editor-tabs-nav {\n  display: flex;\n  flex-direction: row;\n  padding: 0 24px;\n  min-height: 44px;\n  height: 44px;\n  justify-content: flex-start;\n  border-bottom: 1px solid #303131;\n  background: #38393a;\n}\n.ea-editor-tabs-nav-item {\n  position: relative;\n  padding: 16px 0;\n  margin-left: 20px;\n  font-size: 12px;\n  font-weight: 600;\n  text-transform: uppercase;\n  text-align: center;\n  cursor: pointer;\n  transition: all 0.2s ease;\n  outline: none;\n  color: #fff;\n}\n.ea-editor-tabs-nav-item:first-child {\n  margin-left: 0;\n}\n.ea-editor-tabs-nav-item::after {\n  content: '';\n  position: absolute;\n  display: block;\n  bottom: -1px;\n  right: 50%;\n  left: 50%;\n  height: 2px;\n  background: transparent;\n  transition: all 0.2s ease-out;\n}\n.ea-editor-tabs-nav-item-active {\n  color: #ff6161;\n}\n.ea-editor-tabs-nav-item-active::after {\n  background: linear-gradient(to right, #fa3274 0%, #fd3462 25%, #ffa863 100%);\n  right: 0;\n  left: 0;\n}\n.ea-editor-tabs-content {\n  display: flex;\n  position: relative;\n  flex-direction: column;\n  flex-grow: 1;\n  overflow: hidden;\n  width: 336px;\n}\n.ea-editor-tabs-content::before {\n  content: '';\n  display: block;\n  position: absolute;\n  top: 0;\n  right: 0;\n  left: 0;\n  height: 10px;\n  background: linear-gradient(to bottom, #f6f6f6 0%, rgba(246,246,246,0) 100%);\n}\n.ea-editor-tabs-content-item {\n  display: none;\n  flex-grow: 1;\n  position: relative;\n  background: #38393a;\n  padding: 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ea-editor-tabs-content-item-active {\n  display: block;\n}\n.ea-editor-sub {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.3s ease;\n  transform: translate(100%, 0);\n  background: #fff;\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n  box-shadow: -3px 0 15px rgba(0,0,0,0.05);\n}\n.ea-editor-sub-active {\n  transform: translate(0, 0);\n}\n.ea-editor-sub-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-sub-header:hover .ea-editor-sub-back-button {\n  left: 20px;\n}\n.ea-editor-sub-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n  transition: all 0.15s ease;\n}\n.ea-editor-sub-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-sub-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-sub-content {\n  flex-grow: 1;\n  position: relative;\n  background: #38393a;\n  padding: 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ea-editor-sub-content-preview-image {\n  max-width: 100%;\n}\n.ea-editor-preview {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  font-size: 12px;\n}\n.ea-editor-preview-container {\n  box-sizing: border-box;\n  position: relative;\n  margin: 0 auto;\n  width: 100%;\n  max-width: 100%;\n  height: 100%;\n  transition: 0.2s;\n}\n.ea-editor-preview-overlay {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: #fff;\n  transition: 0.2s;\n}\n.ea-editor-preview-loader {\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  border-radius: 50%;\n  border-style: solid;\n  border-top-color: transparent;\n  animation: preview-loader 1s infinite linear;\n  width: 36px;\n  height: 36px;\n  margin: -16px 0 0 -16px;\n  border-width: 2px;\n  color: #b2b4b7;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-preview-loader-show {\n  opacity: 1;\n  visibility: visible;\n}\n@-moz-keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-webkit-keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-o-keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.ea-editor-error {\n  display: flex;\n  position: absolute;\n  right: 24px;\n  bottom: 0;\n  left: 24px;\n  padding: 12px 16px;\n  border-radius: 2px;\n  font-size: 13px;\n  line-height: 18px;\n  background: #ff4734;\n  color: #fff;\n  opacity: 0;\n  visibility: hidden;\n  transition: all 0.3s ease 0.4s;\n  z-index: 999999;\n}\n.ea-editor-error-visible {\n  bottom: 24px;\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-popup {\n  background-color: #fff;\n  color: #111;\n  max-width: 650px;\n  width: 100%;\n  max-height: 600px;\n  height: 100%;\n  box-sizing: border-box;\n  box-shadow: 0 12px 24px 0 rgba(0,0,0,0.1);\n  border-radius: 10px;\n  position: relative;\n}\n.ea-editor-popup-canvas {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  filter: blur(10px);\n  pointer-events: none;\n}\n.ea-editor-popup-close {\n  position: absolute;\n  display: block;\n  width: 14px;\n  height: 14px;\n  right: 20px;\n  top: 20px;\n  padding: 8px;\n  cursor: pointer;\n}\n.ea-editor-popup-close svg {\n  fill: rgba(0,0,0,0.2);\n  display: block;\n  transition: 0.3s ease all;\n  pointer-events: none;\n}\n.ea-editor-popup-close:hover svg {\n  fill: rgba(0,0,0,0.8);\n}\n.ea-editor-popup-container {\n  position: absolute;\n  left: 0;\n  top: 0;\n  bottom: 0;\n  right: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 10000;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  background-color: rgba(17,17,17,0.5);\n  transition: 0.1s ease all;\n}\n.ea-editor-file-manager {\n  height: 100%;\n  padding: 20px 28px 28px;\n  box-sizing: border-box;\n  display: flex;\n  flex-direction: column;\n}\n.ea-editor-file-manager-title {\n  font-size: 20px;\n  font-weight: 700;\n  line-height: 28px;\n  color: #111;\n}\n.ea-editor-file-manager-tabs {\n  display: flex;\n  flex-direction: column;\n  justify-content: stretch;\n  box-sizing: border-box;\n  margin-top: 44px;\n  height: calc(100% - 72px);\n}\n.ea-editor-file-manager-tabs-menu {\n  display: flex;\n  border-bottom: 1px solid #eee;\n  margin-bottom: 28px;\n}\n.ea-editor-file-manager-tabs-menu-item {\n  cursor: pointer;\n  transition: 0.3s ease all;\n  font-size: 15px;\n  line-height: 24px;\n  color: rgba(17,17,17,0.5);\n  margin-right: 32px;\n  box-sizing: border-box;\n  padding-bottom: 12px;\n  border-bottom: 2px solid transparent;\n}\n.ea-editor-file-manager-tabs-menu-item:hover {\n  color: #111;\n}\n.ea-editor-file-manager-tabs-menu-item-active {\n  font-size: 15px;\n  line-height: 24px;\n  border-bottom: 2px solid #f93262;\n  color: #111;\n}\n.ea-editor-file-manager-tabs-content {\n  flex-grow: 1;\n  display: flex;\n  position: relative;\n  flex-direction: column;\n  height: 100%;\n}\n.ea-editor-file-manager-upload-container {\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  flex-grow: 1;\n}\n.ea-editor-file-manager-upload-name {\n  font-size: 20px;\n  line-height: 28px;\n  text-align: center;\n  color: #111;\n  margin-bottom: 18px;\n}\n.ea-editor-file-manager-upload-content {\n  display: flex;\n  position: absolute;\n  transform: translate(-50%, -50%);\n  top: 50%;\n  left: 50%;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n.ea-editor-file-manager-upload-icon {\n  position: absolute;\n  top: 0;\n  transform: translateY(calc(-100% - 20px));\n}\n.ea-editor-file-manager-upload-icon svg {\n  transition: 0.3s ease all;\n  display: block;\n  fill: #dbdddf;\n}\n.ea-editor-file-manager-upload-button {\n  box-sizing: border-box;\n  color: #fff;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 4px;\n  background-color: #1c91ff;\n  padding: 10px 40px;\n}\n.ea-editor-file-manager-upload-button:hover {\n  background-color: #f00;\n}\n.ea-editor-file-manager-upload-size {\n  font-size: 13px;\n  line-height: 20px;\n  text-align: center;\n  color: rgba(17,17,17,0.5);\n  margin: 16px;\n}\n.ea-editor-file-manager-upload-error {\n  font-size: 10px;\n  text-align: center;\n  color: #de2b33;\n  margin-top: 4px;\n}\n.ea-editor-file-manager-upload-dropzone {\n  width: 100%;\n  box-sizing: border-box;\n  height: 100%;\n  display: flex;\n  flex-grow: 1;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  position: relative;\n  border-radius: 6px;\n}\n.ea-editor-file-manager-upload-dropzone-hovered {\n  border: dashed 2px #1c91ff;\n}\n.ea-editor-file-manager-upload-dropzone-hovered .ea-editor-file-manager-upload-icon svg {\n  fill: #1c91ff;\n}\n.ea-editor-file-manager-upload-input {\n  position: absolute;\n  opacity: 0;\n  cursor: pointer;\n  padding: 0;\n  width: 100%;\n  height: 100%;\n  left: 0;\n  top: 0;\n  z-index: 1;\n}\n.ea-editor-file-manager-upload-files {\n  position: absolute;\n  display: flex;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n  align-items: flex-start;\n  justify-content: flex-start;\n  flex-direction: column;\n  overflow: auto;\n  padding-right: 20px;\n  box-sizing: border-box;\n}\n.ea-editor-file-manager-upload-files-item {\n  width: 100%;\n  box-sizing: border-box;\n  position: relative;\n}\n.ea-editor-file-manager-upload-files-item:not(:first-child) {\n  margin-top: 12px;\n}\n.ea-editor-file-manager-upload-files-item-name {\n  font-size: 12px;\n  color: #111;\n  display: inline-flex;\n  position: relative;\n}\n.ea-editor-file-manager-upload-files-item-name-done {\n  font-size: 9px;\n  text-transform: uppercase;\n  display: flex;\n  position: absolute;\n  left: 100%;\n  padding-left: 16px;\n  margin-left: 8px;\n  align-items: center;\n  top: 50%;\n  transform: translateY(-50%);\n  opacity: 0;\n  transition: 0.3s ease opacity;\n}\n.ea-editor-file-manager-upload-files-item-name-done-show {\n  opacity: 1;\n}\n.ea-editor-file-manager-upload-files-item-name-done-icon {\n  content: \"\";\n  display: block;\n  position: absolute;\n  left: 0;\n  top: 50%;\n  transform: translateY(-50%);\n  fill: #4ad504;\n  width: 12px;\n  height: 12px;\n}\n.ea-editor-file-manager-upload-files-item-loader {\n  display: block;\n  width: 100%;\n  background-color: #eee;\n  height: 4px;\n  border-radius: 8px;\n  margin-top: 4px;\n  position: relative;\n  overflow: hidden;\n  transition: 0.3s ease all;\n  opacity: 1;\n}\n.ea-editor-file-manager-upload-files-item-loader-hide {\n  height: 0;\n  opacity: 0;\n  margin-top: 0;\n}\n.ea-editor-file-manager-upload-files-item-loader-inner {\n  background-color: #1c91ff;\n  position: absolute;\n  left: 0;\n  top: 0;\n  height: 100%;\n  transition: 0.3s ease all;\n}\n.ea-editor-file-manager-upload-files-item-remove {\n  position: absolute;\n  right: 0;\n  cursor: pointer;\n  padding: 4px;\n  display: flex;\n  top: 50%;\n  transform: translateY(-50%);\n  transition: 0.3s ease all;\n  opacity: 0.3;\n}\n.ea-editor-file-manager-upload-files-item-remove:hover {\n  opacity: 1;\n}\n.ea-editor-file-manager-upload-files-add-file {\n  position: relative;\n  padding: 8px;\n  background-color: #1c91ff;\n  color: #fff;\n  border-radius: 4px;\n  font-size: 15px;\n  font-weight: 600;\n  line-height: 20px;\n  cursor: pointer;\n  outline: none;\n  transition: 0.3s ease all;\n  margin-top: 20px;\n  overflow: hidden;\n  box-sizing: border-box;\n  flex-shrink: 0;\n}\n.ea-editor-file-manager-upload-files-add-file input {\n  width: 200%;\n  height: 200%;\n  bottom: 0;\n  right: 0;\n  left: auto;\n  top: auto;\n}\n.ea-editor-file-manager-link-icon {\n  display: flex;\n}\n.ea-editor-file-manager-link-title {\n  font-size: 20px;\n  line-height: 28px;\n  text-align: center;\n  color: #111;\n  margin-top: 16px;\n}\n.ea-editor-file-manager-link-container {\n  padding-top: 64px;\n  display: flex;\n  flex-direction: column;\n  justify-content: stretch;\n  align-items: center;\n  height: 100%;\n  box-sizing: border-box;\n}\n.ea-editor-file-manager-link-input {\n  border-radius: 2px;\n  border: solid 1px rgba(17,17,17,0.3);\n  width: 100%;\n  font-size: 15px;\n  line-height: 18px;\n  color: #111;\n  padding: 12px 20px;\n  box-sizing: border-box;\n}\n.ea-editor-file-manager-link-input-container {\n  width: 100%;\n  margin-top: 16px;\n}\n.ea-editor-file-manager-files-container {\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  position: relative;\n}\n.ea-editor-file-manager-files-inner {\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n  height: 100%;\n  align-items: flex-start;\n  margin: 0 -4px;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ea-editor-file-manager-files-error {\n  font-size: 10px;\n  text-align: center;\n  color: #de2b33;\n  margin-top: 4px;\n  width: 100%;\n}\n.ea-editor-file-manager-files-item {\n  width: calc(33.333333% - 8px);\n  border-radius: 6px;\n  border: solid 1px #eee;\n  padding: 8px;\n  display: flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  margin: 0 4px;\n  margin-bottom: 8px;\n  justify-content: center;\n  align-items: center;\n  background-color: transparent;\n  transition: 0.3s ease all;\n  cursor: pointer;\n}\n.ea-editor-file-manager-files-item:hover {\n  background-color: #fafafa;\n}\n.ea-editor-file-manager-files-item-active {\n  border: 1px solid #1c91ff;\n  background-color: transparent;\n}\n.ea-editor-file-manager-files-item-icon {\n  width: 80px;\n  height: 100px;\n  position: relative;\n  border-radius: 4px;\n  overflow: hidden;\n}\n.ea-editor-file-manager-files-item-icon img {\n  height: 100%;\n  position: absolute;\n  left: 50%;\n  transform: translateX(-50%);\n  min-width: 100%;\n}\n.ea-editor-file-manager-files-item-icon-extension {\n  font-size: 20px;\n  z-index: 1;\n  position: absolute;\n  top: 50%;\n  transform: translateY(-50%);\n  text-align: center;\n  width: 100%;\n  text-transform: uppercase;\n  opacity: 0.5;\n}\n.ea-editor-file-manager-files-item-name {\n  font-size: 12px;\n  text-align: center;\n  color: #111;\n  margin-top: 8px;\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-file-manager-files-item-size {\n  font-size: 10px;\n  text-align: center;\n  color: rgba(17,17,17,0.3);\n  margin-top: 4px;\n}\n.ea-editor-file-manager-actions {\n  display: flex;\n  margin-top: auto;\n  justify-content: flex-end;\n  width: 100%;\n  padding-top: 28px;\n}\n.ea-editor-file-manager-actions-item button {\n  padding: 10px 40px;\n  border-radius: 4px;\n  font-size: 15px;\n  font-weight: 600;\n  line-height: 20px;\n  cursor: pointer;\n  outline: none;\n  transition: 0.3s ease all;\n}\n.ea-editor-file-manager-actions-item button:hover {\n  transform: translateY(-2px);\n}\n.ea-editor-file-manager-actions-item-cancel {\n  border: solid 1px rgba(0,0,0,0.1);\n  color: #111;\n  background-color: transparent;\n  margin-right: 12px;\n}\n.ea-editor-file-manager-actions-item-choose {\n  border: solid 1px #1c91ff;\n  color: #fff;\n  background-color: #1c91ff;\n}\n.ea-editor-file-manager-actions-item-choose-disabled {\n  pointer-events: none;\n  background-color: #eee;\n  color: #111;\n  border: solid 1px #eee;\n}\n.ea-editor-property-control-checklist-item {\n  display: inline-flex;\n  margin: 0 0 6px;\n  width: 100%;\n  cursor: pointer;\n  position: relative;\n  align-items: center;\n}\n.ea-editor-property-control-checklist-item-label {\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  padding: 6px 12px 5px 12px;\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  box-sizing: border-box;\n  line-height: 1;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-checklist-checkbox {\n  display: block;\n  cursor: pointer;\n  position: relative;\n}\n.ea-editor-property-control-checklist-checkbox:before {\n  content: \"\";\n  position: absolute;\n  background-color: #2c2c2d;\n  width: 14px;\n  height: 14px;\n  border-radius: 2px;\n  top: 0;\n  left: 0;\n  transition: background-color 0.1s ease;\n}\n.ea-editor-property-control-checklist-checkbox-wrapper {\n  width: 14px;\n  height: 14px;\n}\n.ea-editor-property-control-checklist-checkbox-wrapper input {\n  display: none !important;\n}\n.ea-editor-property-control-checklist-checkbox-wrapper input:checked + .ea-editor-property-control-checklist-checkbox::before {\n  background-image: url("+o(49)+");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 12px;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group {\n  display: inline-block;\n  position: relative;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group:after {\n  display: block;\n  content: '';\n  width: 32px;\n  height: 32px;\n  position: absolute;\n  top: 0;\n  left: 0;\n  background: #2c2d2d;\n  border-radius: 2px 0 0 2px;\n  z-index: 1;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group .input-group-addon {\n  box-sizing: border-box;\n  border-radius: 2px 0 0 2px;\n  width: 30px;\n  height: 30px;\n  transition: all 0.1s ease;\n  border: none;\n  margin: 1px;\n  float: left;\n  position: relative;\n  z-index: 2;\n  background: #38393a;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group .color-picker-input-swatch {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 0 2px 2px 0;\n  width: 170px;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  transition: all 0.1s ease;\n  border: none;\n  margin: 0;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group .color-picker-input-swatch:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-color .color-picker-wrapper .color-picker-panel .color-picker-actions {\n  padding: 8px;\n}\n.ea-editor-property-control-color .color-picker-wrapper .color-picker-panel .color-picker-actions .color-picker-action {\n  margin: 4px;\n  width: auto;\n  height: 28px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: none;\n  background-color: #444;\n  color: #fff;\n  cursor: pointer;\n  padding: 0 16px;\n  font-weight: 600;\n}\n.ea-editor-property-control-complex-item {\n  position: relative;\n  margin: 0 0 12px;\n  outline: none;\n}\n.ea-editor-property-control-complex-item:hover .ea-editor-property-control-complex-item-inner {\n  background: #474848;\n}\n.ea-editor-property-control-complex-item-inner {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  box-sizing: border-box;\n  cursor: pointer;\n  background: #404141;\n  padding: 0 12px;\n  min-height: 36px;\n  border-radius: 2px;\n  outline: none;\n  transition: all 0.3s ease;\n  user-select: none;\n}\n.ea-editor-property-control-complex-item-removing .ea-editor-property-control-complex-item-inner {\n  transform: translateX(-100%);\n  right: 24px;\n}\n.ea-editor-property-control-complex-item-reorder {\n  display: block;\n  width: 7px;\n  height: 14px;\n  padding: 11px 16px 11px 7px;\n  box-sizing: content-box;\n  margin: 0 0 0 -12px;\n  cursor: move;\n  outline: none;\n}\n.ea-editor-property-control-complex-item-reorder svg {\n  display: block;\n  width: 7px;\n  height: 14px;\n  fill: #aaa;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-icon {\n  display: block;\n  height: 14px;\n  margin-right: 16px;\n}\n.ea-editor-property-control-complex-item-icon img {\n  display: block;\n  height: 14px;\n  width: 14px;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-preview {\n  width: 40px;\n  height: 40px;\n  overflow: hidden;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-shrink: 0;\n  background-position: center !important;\n  background-size: contain !important;\n  background-repeat: no-repeat !important;\n  margin: 8px 8px 8px 0;\n}\n.ea-editor-property-control-complex-item-name {\n  font-size: 13px;\n  font-weight: 400;\n  text-overflow: ellipsis;\n  padding-right: 10px;\n  width: 100%;\n  white-space: nowrap;\n  color: #fff;\n  line-height: 1.39;\n  overflow: hidden;\n  user-select: none;\n}\n.ea-editor-property-control-complex-item-duplicate {\n  display: block;\n  width: 12px;\n  height: 12px;\n  padding: 13px 7px;\n  box-sizing: content-box;\n  margin-left: auto;\n  outline: none;\n}\n.ea-editor-property-control-complex-item-duplicate:hover svg {\n  fill: #dadadb;\n}\n.ea-editor-property-control-complex-item-duplicate svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #646668;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-remove {\n  display: block;\n  width: 12px;\n  height: 12px;\n  padding: 13px 7px;\n  box-sizing: content-box;\n  margin-right: -8px;\n  outline: none;\n}\n.ea-editor-property-control-complex-item-remove:hover svg {\n  fill: #dadadb;\n}\n.ea-editor-property-control-complex-item-remove svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #646668;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-remove-confirm {\n  position: absolute;\n  top: 0;\n  left: -24px;\n  right: -24px;\n  background: #303131;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  line-height: 40px;\n  height: 100%;\n  transform: translateX(100%);\n  transition: all 0.3s ease;\n  width: 100%;\n  padding: 0 24px;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-complex-item-removing .ea-editor-property-control-complex-item-remove-confirm {\n  transform: translateX(0);\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-property-control-complex-item-remove-confirm-label {\n  color: #fff;\n  font-size: 11px;\n  font-weight: 400;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions {\n  display: flex;\n  flex-direction: row;\n  margin-left: auto;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-yes,\n.ea-editor-property-control-complex-item-remove-confirm-actions-no {\n  box-sizing: border-box;\n  font-size: 10px;\n  font-weight: 500;\n  text-transform: uppercase;\n  border-radius: 3px;\n  cursor: pointer;\n  height: 20px;\n  line-height: 20px;\n  width: 40px;\n  text-align: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-yes {\n  color: #7e8184;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-yes:hover {\n  color: #fff;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-no {\n  color: #fff;\n  background: #404141;\n  margin-left: 6px;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-no:hover {\n  background: #474848;\n}\n.ea-editor-property-control-complex-item-placeholder {\n  box-sizing: border-box;\n  border-radius: 3px;\n  border: 1px dashed #66686a;\n  height: 40px;\n  width: 288px;\n  margin: 0 0 12px;\n}\n.ea-editor-property-control-complex-add-new {\n  margin: 0;\n}\n.ea-editor-property-control-complex-add-new-disable {\n  pointer-events: none;\n}\n.ea-editor-property-control-complex-add-new-disable svg {\n  fill: rgba(255,255,255,0.3) !important;\n}\n.ea-editor-property-control-complex-add-new .ea-editor-property-control-complex-item-inner {\n  justify-content: center;\n  align-items: center;\n  text-transform: uppercase;\n  font-size: 10px;\n  font-weight: 500;\n  outline: none;\n  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;\n}\n.ea-editor-property-control-complex-add-new-transparent {\n  margin-top: -12px;\n}\n.ea-editor-property-control-complex-add-new-transparent .ea-editor-property-control-complex-item-inner {\n  background: transparent;\n}\n.ea-editor-property-control-complex-add-new-transparent:hover .ea-editor-property-control-complex-item-inner {\n  background: transparent;\n}\n.ea-editor-property-control-complex-add-new svg {\n  display: block;\n  width: 8px;\n  height: 8px;\n  fill: rgba(255,255,255,0.9);\n  transition: all 0.2s ease;\n  margin-right: 6px;\n}\n.ea-editor-property-control-complex-add-new-label {\n  color: rgba(255,255,255,0.9);\n  display: block;\n  transition: color 0.2s ease;\n}\n.ea-editor-property-control-complex-add-new-disable .ea-editor-property-control-complex-add-new-label {\n  color: rgba(255,255,255,0.3);\n}\n.ea-editor-property-control-complex-limit-exceed .ea-editor-property-control-complex-item-inner {\n  cursor: default;\n}\n.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none !important;box-shadow:none !important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.rightMost:after{left:auto;right:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:28px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;line-height:16px;height:28px;padding:10px;z-index:3;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);}.flatpickr-months .flatpickr-prev-month.disabled,.flatpickr-months .flatpickr-next-month.disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{/*\n      /*rtl:begin:ignore*/left:0;/*\n      /*rtl:end:ignore*/}/*\n      /*rtl:begin:ignore*/\n/*\n      /*rtl:end:ignore*/\n.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{/*\n      /*rtl:begin:ignore*/right:0;/*\n      /*rtl:end:ignore*/}/*\n      /*rtl:begin:ignore*/\n/*\n      /*rtl:end:ignore*/\n.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9;}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px;}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%;}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.15);-webkit-box-sizing:border-box;box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:\"\";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6);top:26%}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:6.16px 0 0 0;line-height:1;height:28px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px;}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,0.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;}.dayContainer + .dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.disabled,.flatpickr-day.disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.disabled,.flatpickr-day.disabled:hover{cursor:not-allowed;color:rgba(57,57,57,0.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{display:inline-block;float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,0.3);background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:\"\";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;display:inline-block;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}\n.flatpickr-calendar {\n  font-family: 'Roboto', Arial, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  width: 288px;\n}\n.flatpickr-calendar .flatpickr-months {\n  padding: 8px 0;\n}\n.flatpickr-calendar .flatpickr-days,\n.flatpickr-calendar .flatpickr-rContainer {\n  width: 100%;\n}\n.flatpickr-calendar .dayContainer {\n  width: 288px;\n  max-width: 288px;\n  min-width: 288px;\n}\n.flatpickr-calendar .flatpickr-current-month input.cur-year,\n.flatpickr-calendar .flatpickr-current-month span.cur-month {\n  font-size: 80%;\n}\n.flatpickr-calendar .flatpickr-months .flatpickr-prev-month,\n.flatpickr-calendar .flatpickr-months .flatpickr-next-month {\n  display: flex;\n  align-items: center;\n}\n.ea-editor-property-control-divider {\n  border-bottom: 1px solid #303131;\n  margin: 32px 0;\n}\n.ea-editor-property-control-file {\n  position: relative;\n  overflow: hidden;\n}\n.ea-editor-property-control-file input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  border: none;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-file-button {\n  box-sizing: border-box;\n  color: #fff;\n  background-color: #3f4141;\n  border-radius: 2px;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  height: 28px;\n  width: 92px;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n  display: flex;\n  align-items: center;\n  padding: 0 12px;\n  position: relative;\n}\n.ea-editor-property-control-file-button:hover {\n  background-color: #474848;\n}\n.ea-editor-property-control-file-button-text {\n  margin-left: 8px;\n}\n.ea-editor-property-control-file-button-loader {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  width: 12px;\n  height: 12px;\n  margin: -8px 0 0 -8px;\n  outline: none;\n  border: 2px solid #fff;\n  border-top: 2px solid transparent;\n  border-radius: 50%;\n  animation: button-loader 0.7s linear infinite;\n}\n.ea-editor-property-control-file-input[type=file] {\n  position: absolute;\n  opacity: 0;\n  cursor: pointer;\n  padding: 0;\n  width: 0;\n  height: 0;\n  z-index: -1;\n}\n.ea-editor-property-control-file-exists {\n  display: inline-flex;\n  align-items: center;\n  justify-content: space-between;\n  border-radius: 2px;\n  border: 1px solid rgba(255,255,255,0.2);\n  height: 28px;\n  padding: 6px 12px;\n  box-sizing: border-box;\n  max-width: 100%;\n  cursor: pointer;\n}\n.ea-editor-property-control-file-exists-name {\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  max-width: 100%;\n}\n.ea-editor-property-control-file-exists-delete {\n  cursor: pointer;\n  margin-left: 12px;\n  opacity: 0.2;\n}\n.ea-editor-property-control-file-exists-delete svg {\n  pointer-events: none;\n}\n.ea-editor-property-control-file-error {\n  font-size: 11px;\n  font-weight: 400;\n  margin-top: 4px;\n  opacity: 0.8;\n  color: #ff4734;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item {\n  height: 76px;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-placeholder {\n  width: 100%;\n  height: 76px;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-reorder svg {\n  fill: #aaa;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-inner {\n  height: 100%;\n  padding: 8px 12px;\n  cursor: auto;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item:hover .ea-editor-property-control-complex-item-inner {\n  background-color: #404141;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-image {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  background-repeat: no-repeat;\n  background-position: center;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-image-container {\n  width: 60px;\n  height: 60px;\n  flex-shrink: 0;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info {\n  margin-left: 12px;\n  width: 100%;\n  overflow: hidden;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info-name {\n  line-height: 18px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info-edit {\n  margin-top: 4px;\n  text-transform: uppercase;\n  font-size: 12px;\n  line-height: 17px;\n  opacity: 0.8;\n  transition: 0.3s ease all;\n  cursor: pointer;\n  display: inline-block;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info-edit:hover {\n  opacity: 1;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-remove {\n  margin-left: auto;\n  cursor: pointer;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-remove-confirm {\n  padding: 12px;\n  box-sizing: border-box;\n  left: 0;\n  right: 0;\n  height: 74px;\n}\n@-moz-keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-webkit-keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-o-keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.ea-editor-property-control-number input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n}\n.ea-editor-property-control-number input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-radio-item {\n  display: inline-flex;\n  margin: 0 0 6px;\n  width: 100%;\n  cursor: pointer;\n  position: relative;\n  align-items: center;\n  border-radius: 3px;\n  padding: 4px;\n  background: #404141;\n  transition: all 0.2s ease;\n  box-sizing: border-box;\n}\n.ea-editor-property-control-radio-item:hover {\n  background: #474848;\n}\n.ea-editor-property-control-radio-item-label {\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  padding: 5px 12px;\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  box-sizing: border-box;\n  line-height: 1;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-radio-item-radio {\n  display: block;\n  cursor: pointer;\n  position: relative;\n  width: 14px;\n  height: 14px;\n}\n.ea-editor-property-control-radio-item-radio:before {\n  content: \"\";\n  position: absolute;\n  width: 14px;\n  height: 14px;\n  border-radius: 50%;\n  top: 0;\n  right: 0;\n  transition: background 0.1s ease;\n  background: #303131;\n}\n.ea-editor-property-control-radio-item-radio::after {\n  content: \"\";\n  position: absolute;\n  width: 10px;\n  height: 10px;\n  border-radius: 50%;\n  top: 50%;\n  left: 50%;\n  margin: -5px 0 0 -5px;\n  background: #fff;\n  opacity: 0;\n  visibility: hidden;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-radio-item-radio-wrapper {\n  width: 14px;\n  height: 14px;\n  padding: 5px;\n  box-sizing: content-box;\n}\n.ea-editor-property-control-radio-item-radio-wrapper input {\n  display: none !important;\n}\n.ea-editor-property-control-radio-item-radio-wrapper input:checked + .ea-editor-property-control-radio-item-radio::after {\n  visibility: visible;\n  opacity: 1;\n}\n.ea-editor-property-control-select {\n  position: relative;\n}\n.ea-editor-property-control-select-readonly input {\n  cursor: pointer;\n}\n.ea-editor-property-control-select-open > input {\n  border-radius: 3px 3px 0 0 !important;\n}\n.ea-editor-property-control-select input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 3px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n  appearance: none;\n}\n.ea-editor-property-control-select input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-select:after {\n  display: block;\n  content: '';\n  width: 7px;\n  height: 5px;\n  position: absolute;\n  right: 11px;\n  top: 50%;\n  transform: translateY(-50%);\n  background-image: url("+o(2)+');\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 7px 5px;\n  pointer-events: none;\n}\n.ea-editor-property-control-select-dropdown {\n  position: absolute;\n  background: #fff;\n  width: 100%;\n  z-index: 10;\n  border: 1px solid #2c2d2d;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-radius: 0 0 6px 6px;\n}\n.ea-editor-property-control-select-dropdown-options {\n  max-height: 192px;\n  overflow: auto;\n}\n.ea-editor-property-control-select-dropdown-options-item {\n  padding: 6px 16px;\n  transition: 0.3s all ease;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: #fff;\n  line-height: 20px;\n  min-height: 20px;\n  box-sizing: border-box;\n  color: #111;\n}\n.ea-editor-property-control-select-dropdown-options-item:hover {\n  background: #eee;\n}\n.ea-editor-property-control-select-dropdown-options-item-selected {\n  background: #eee;\n}\n.ea-editor-property-control-select-dropdown-footer {\n  width: 100%;\n  box-sizing: border-box;\n  font-size: 13px;\n  font-weight: 400;\n  padding: 6px 6px;\n}\n.ea-editor-property-control-select-dropdown-footer-new {\n  position: relative;\n  margin-top: 6px;\n}\n.ea-editor-property-control-select-dropdown-footer-new-toggle {\n  padding: 4px 10px 0 10px;\n  color: #888;\n  font-size: 12px;\n  cursor: pointer;\n}\ninput.ea-editor-property-control-select-dropdown-footer-new-input {\n  padding: 6px 10px;\n  background-color: #eee;\n  color: #111;\n  font-size: 12px;\n}\ninput.ea-editor-property-control-select-dropdown-footer-new-input:focus {\n  background-color: #eee;\n}\n.ea-editor-property-control-select-dropdown-footer-new-button {\n  cursor: pointer;\n  display: inline-block;\n  position: absolute;\n  right: 0;\n  top: 0;\n  margin: 2px;\n  color: #fff;\n  font-size: 12px;\n  line-height: 16px;\n  padding: 6px 16px;\n  border-radius: 2px;\n  background: #38393a;\n  transform: scale(1);\n  transition: transform 0.3s;\n}\n.ea-editor-property-control-select-dropdown-footer-new-button:active {\n  transform: scale(0.95);\n}\n.ea-editor-property-control-select-dropdown-footer-new-button ~ input {\n  padding-right: 84px;\n  text-overflow: ellipsis;\n  overflow: hidden;\n}\n.ea-editor-property-control-select-inline-wrapper {\n  display: flex;\n  flex-direction: row;\n  box-sizing: border-box;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-select-inline-item {\n  display: block;\n  flex: 1;\n}\n.ea-editor-property-control-select-inline-item-label {\n  position: relative;\n  display: block;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 6px 12px;\n  z-index: 1;\n  border-radius: 2px;\n  cursor: pointer;\n  text-align: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-select-inline-item-label::after {\n  content: \'\';\n  display: block;\n  position: absolute;\n  top: 50%;\n  right: -0.5px;\n  height: 12px;\n  width: 1px;\n  margin-top: -6px;\n  background: #404141;\n}\n.ea-editor-property-control-select-inline-item:last-child .ea-editor-property-control-select-inline-item-label::after {\n  content: none;\n}\n.ea-editor-property-control-select-inline-item-radio {\n  position: absolute;\n  visibility: hidden;\n  opacity: 0;\n}\n.ea-editor-property-control-select-inline-item-radio:checked + .ea-editor-property-control-select-inline-item-label {\n  background: #fff;\n  color: #111;\n}\n.ea-editor-property-control-select-inline-item-radio:checked + .ea-editor-property-control-select-inline-item-label::after {\n  display: none;\n}\n.ea-editor-select-visual-control {\n  width: 100%;\n  height: 136px;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  border-radius: 2px;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-select-visual-control:hover .ea-editor-select-visual-control-trigger {\n  background-color: #474848;\n}\n.ea-editor-select-visual-control:hover .ea-editor-select-visual-control-trigger-arrow svg {\n  fill: #e8e8e8;\n}\n.ea-editor-select-visual-control-image {\n  max-width: 100%;\n  max-height: 100%;\n}\n.ea-editor-select-visual-control-image-container {\n  height: 64px;\n  margin-top: 8px;\n  margin-left: -29px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-select-visual-control-name {\n  color: #fff;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  border-radius: 2px;\n  margin-top: 20px;\n  margin-left: -29px;\n}\n.ea-editor-select-visual-control-trigger {\n  position: absolute;\n  height: 100%;\n  width: 29px;\n  right: 0;\n  top: 0;\n  background-color: #404141;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-visual-control-trigger-arrow svg {\n  fill: #66686a;\n  display: block;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-visual-group {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.3s ease;\n  transform: translate(100%, 0);\n  background: #38393a;\n  box-shadow: 0 0 20px rgba(51,74,96,0.16);\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n  box-shadow: -3px 0 15px rgba(0,0,0,0.05);\n}\n.ea-editor-select-visual-group-active {\n  transform: translate(0, 0);\n}\n.ea-editor-select-visual-group-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-visual-group-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n}\n.ea-editor-select-visual-group-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-select-visual-group-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-visual-group-content {\n  position: relative;\n  background: #38393a;\n  padding: 32px 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n}\n.editor-bottom-panel-show .ea-editor-select-visual-group-content {\n  margin-bottom: 135px;\n}\n.ea-editor-select-visual-group-option {\n  width: 100%;\n  height: 136px;\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  margin-bottom: 12px;\n  border-radius: 2px;\n  transition: box-shadow 0.2s ease, opacity 0.2s ease;\n  box-shadow: inset 0 0 0 1px transparent;\n  backface-visibility: hidden;\n}\n.ea-editor-select-visual-group-two-cols .ea-editor-select-visual-group-option {\n  width: 123px;\n  margin: 0 6px 12px;\n  height: 123px;\n}\n.ea-editor-select-visual-group-option:hover {\n  background-color: #2c2d2d;\n  box-shadow: inset 0 0 0 1px #fff;\n}\n.ea-editor-select-visual-group-option-image {\n  max-width: 100%;\n  max-height: 100%;\n}\n.ea-editor-select-visual-group-option-image-container {\n  height: 64px;\n  margin-top: 8px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-select-visual-group-option-selected {\n  background-color: #2c2d2d;\n  box-shadow: inset 0 0 0 1px #fff;\n}\n.ea-editor-select-visual-group-option-title {\n  color: #fff;\n  margin-top: 12px;\n  font-size: 13px;\n  line-height: 1;\n  font-weight: 400;\n  overflow: hidden;\n  text-align: center;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-visual-group-option-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider:first-child {\n  margin-top: 0;\n}\n.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider {\n  width: 100%;\n  background-color: transparent;\n  height: auto;\n  flex-direction: row;\n  justify-content: left;\n  margin-top: 24px;\n  margin-bottom: 12px;\n  cursor: auto;\n  pointer-events: none;\n}\n.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider .ea-editor-select-visual-group-option-title {\n  margin-top: 0;\n  color: #fff;\n  font-size: 12px;\n  font-weight: 500;\n  line-height: 12px;\n  text-transform: uppercase;\n  margin-bottom: 0;\n}\n.ea-editor-select-user-control {\n  display: flex;\n  width: 100%;\n  height: 136px;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  border-radius: 2px;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-select-user-control:hover .ea-editor-select-visual-control-trigger {\n  background-color: #474848;\n}\n.ea-editor-select-user-control:hover .ea-editor-select-visual-control-trigger-arrow svg {\n  fill: #e8e8e8;\n}\n.ea-editor-select-user-control-image {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  background-position: center;\n}\n.ea-editor-select-user-control-image-container {\n  height: 100px;\n  width: 100px;\n  margin-left: -29px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 2px;\n  overflow: hidden;\n}\n.ea-editor-select-user-control-name {\n  color: #fff;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  border-radius: 2px;\n  margin-top: 20px;\n  margin-left: -29px;\n}\n.ea-editor-select-user-control-trigger {\n  position: absolute;\n  height: 100%;\n  width: 29px;\n  right: 0;\n  top: 0;\n  background-color: #404141;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-user-control-trigger-arrow svg {\n  fill: #66686a;\n  display: block;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-user-group {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);\n  transform: translate(-100%, 0);\n  background: #38393a;\n  box-shadow: 0 0 20px rgba(51,74,96,0.16);\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n}\n.ea-editor-select-user-group-active {\n  transform: translate(0, 0);\n}\n.ea-editor-select-user-group-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-user-group-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n}\n.ea-editor-select-user-group-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-select-user-group-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-user-group-content {\n  position: relative;\n  background: #38393a;\n  padding: 12px 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n}\n.editor-bottom-panel-show .ea-editor-select-user-group-content {\n  margin-bottom: 135px;\n}\n.ea-editor-select-user-group-content-filters {\n  width: 100%;\n  padding: 20px;\n  box-sizing: border-box;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-user-group-content-filters .ea-editor-property-control-radio-item {\n  box-sizing: border-box;\n}\n.ea-editor-select-user-group-option {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  transition: border 0.2s ease, opacity 0.2s ease;\n  border: 1px solid transparent;\n  backface-visibility: hidden;\n  width: 123px;\n  margin: 0 6px 12px;\n  height: 123px;\n  box-sizing: border-box;\n  border-radius: 4px;\n}\n.ea-editor-select-user-group-option:hover {\n  background-color: #2c2d2d;\n}\n.ea-editor-select-user-group-option-image {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  background-position: center;\n}\n.ea-editor-select-user-group-option-image-container {\n  width: 100px;\n  height: 100px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 2px;\n  overflow: hidden;\n}\n.ea-editor-select-user-group-option-selected {\n  background-color: #2c2d2d;\n  border-color: #fff;\n}\n.ea-editor-select-user-group-option-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-slider {\n  position: relative;\n}\n.ea-editor-property-control-slider-labels {\n  display: flex;\n  position: absolute;\n  justify-content: space-between;\n  width: 100%;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n}\n.ea-editor-property-control-slider .rzslider .rz-bubble {\n  color: #fff;\n  font-size: 13px;\n}\n.ea-editor-property-control-slider .rzslider .rz-bar {\n  background: #303131;\n}\n.ea-editor-property-control-slider .rzslider .rz-pointer {\n  top: -4px;\n  width: 12px;\n  height: 12px;\n  background-color: #fff;\n  outline: none;\n}\n.ea-editor-property-control-slider .rzslider .rz-pointer:after {\n  background: #303131;\n  top: 4px;\n  left: 4px;\n  width: 4px;\n  height: 4px;\n}\n.ea-editor-property-control-static-html img {\n  max-width: 100%;\n}\n.ea-editor-property-subgroup {\n  margin: 12px 0;\n}\n.ea-editor-property-subgroup:first-child {\n  margin-top: 0;\n}\n.ea-editor-property-subgroup:last-child {\n  margin-bottom: 0;\n}\n.ea-editor-property-control-subgroup {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  box-sizing: border-box;\n  cursor: pointer;\n  background: #404141;\n  padding: 0 16px;\n  line-height: 32px;\n  height: 32px;\n  border-radius: 2px;\n  margin-bottom: -2px;\n  outline: none;\n  transition: all 0.1s ease;\n  margin: 12px 0;\n}\n.ea-editor-property-control-subgroup:hover {\n  background: #474848;\n}\n.ea-editor-property-control-subgroup:hover .ea-editor-property-control-subgroup-icon svg {\n  fill: #fff;\n}\n.ea-editor-property-control-subgroup-name {\n  font-size: 13px;\n  font-weight: 400;\n  color: #fff;\n}\n.ea-editor-property-control-subgroup-icon {\n  position: absolute;\n  width: 12px;\n  height: 12px;\n  top: 50%;\n  right: 7px;\n  transform: translateY(-50%);\n}\n.ea-editor-property-control-subgroup-icon svg {\n  display: block;\n  fill: #a7a7a7;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-tags-input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n}\n.ea-editor-property-control-tags-input:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-tags-wrapper {\n  box-sizing: border-box;\n  width: 100%;\n}\n.ea-editor-property-control-tags-list {\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n  width: 100%;\n}\n.ea-editor-property-control-tags-item {\n  position: relative;\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  border-radius: 2px;\n  border: 1px solid rgba(255,255,255,0.5);\n  height: 28px;\n  line-height: 28px;\n  padding: 0 28px 0 10px;\n  margin: 7px 7px 0 0;\n  max-width: 100%;\n  overflow: hidden;\n}\n.ea-editor-property-control-tags-item-label {\n  line-height: 26px;\n  max-width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.ea-editor-property-control-tags-item-remove {\n  position: absolute;\n  top: 0;\n  right: 0;\n  width: 8px;\n  height: 8px;\n  cursor: pointer;\n  outline: none;\n  opacity: 0.7;\n  padding: 9px 10px;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-tags-item-remove svg {\n  display: block;\n}\n.ea-editor-property-control-text {\n  position: relative;\n}\n.ea-editor-property-control-text input {\n  box-sizing: border-box;\n  color: #fff !important;\n  background: #303131 !important;\n  font-size: 13px;\n  font-weight: 400;\n  border-radius: 2px;\n  border: none;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-text input:focus {\n  background-color: #2c2d2d !important;\n}\n.ea-editor-property-control-text input:disabled {\n  background-color: #404141 !important;\n}\n.ea-editor-property-control-text-label {\n  display: flex;\n  justify-content: space-between;\n}\n.ea-editor-property-control-text-max-length-current {\n  font-size: 11px;\n  font-weight: 600;\n  color: #b2b4b7;\n}\n.ea-editor-property-control-text-button {\n  display: inline-block;\n  position: absolute;\n  right: 0;\n  top: 0;\n  margin: 2px;\n  color: #111;\n  background: #fff;\n  font-size: 13px;\n  line-height: 16px;\n  padding: 6px 16px;\n  border-radius: 2px;\n  cursor: pointer;\n  transform: scale(1);\n  transition: transform 0.3s;\n}\n.ea-editor-property-control-text-button:active {\n  transform: scale(0.95);\n}\n.ea-editor-property-control-text-button ~ input {\n  padding-right: 84px;\n  text-overflow: ellipsis;\n  overflow: hidden;\n}\n.ea-editor-property-control-text-error {\n  display: inline-block;\n  color: #ff4f4f;\n  font-size: 10px;\n  font-weight: 500;\n  padding: 4px 0;\n  margin-top: 8px;\n}\n.ea-editor-property-control-textarea textarea {\n  box-sizing: border-box;\n  color: #fff;\n  font-family: \'Roboto\', Arial, sans-serif;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  outline: none;\n  overflow: hidden !important;\n  padding: 10px 16px;\n  min-height: 74px;\n  resize: none;\n  border: none;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-textarea textarea:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-textarea p {\n  font-size: 13px;\n  color: #fff;\n}\n.ea-editor-property-control-textarea h1,\n.ea-editor-property-control-textarea h2,\n.ea-editor-property-control-textarea h3,\n.ea-editor-property-control-textarea h4 {\n  font-size: 16px;\n  color: #fff;\n}\n.ea-editor-property-control-textarea-fixed-min-height .jodit_container {\n  min-height: auto !important;\n}\n.ea-editor-property-control-textarea-fixed-min-height .jodit_workplace,\n.ea-editor-property-control-textarea-fixed-min-height .jodit_wysiwyg {\n  min-height: 40px !important;\n}\n.ea-editor-property-control-textarea .jodit_container * {\n  line-height: inherit;\n  margin-bottom: inherit;\n}\n.ea-editor-property-control-textarea .jodit_container .jodit_source {\n  margin: 0;\n  min-height: 200px;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) {\n  background: none;\n  line-height: inherit;\n  margin-bottom: inherit;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form {\n  margin: 0;\n  padding: 20px;\n  box-sizing: border-box;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=text] {\n  border-radius: 2px;\n  border: none;\n  background: #3f4141;\n  color: #fff;\n  margin-top: 0;\n  margin-bottom: 12px;\n  box-sizing: border-box;\n  font-size: 13px;\n  font-weight: 400;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=text]:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox] {\n  transition: none;\n  margin-right: 4px;\n  border: none;\n  box-shadow: none;\n  top: 0;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:focus {\n  box-shadow: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:after {\n  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+DQoJPC9nPg0KPC9zdmc+DQo=");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 12px;\n  transition: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:checked:after {\n  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEyIDEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMiAxMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KCTxnPg0KCQk8cGF0aCBzdHlsZT0iZmlsbDojZmZmZmZmOyIgZD0iTTkuOSwzLjFjLTAuMiwwLTAuMywwLTAuNCwwLjJMNS4zLDcuNUwzLjQsNS42QzMuMyw1LjUsMy4xLDUuNCwzLDUuNWMtMC4xLDAtMC4zLDAuMS0wLjQsMC4yQzIuNSw1LjcsMi40LDUuOSwyLjQsNg0KCQkJYzAsMC4yLDAsMC4zLDAuMiwwLjRsMi4zLDIuM0M1LDguOCw1LjEsOC45LDUuMyw4LjljMC4xLDAsMC4zLTAuMSwwLjQtMC4ybDQuNi00LjZjMC4xLTAuMSwwLjItMC4zLDAuMi0wLjQNCgkJCWMwLTAuMS0wLjEtMC4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+DQoJPC9nPg0KPC9zdmc+DQo=");\n  background-color: #3f4141;\n  border: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:checked:before {\n  content: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form label {\n  font-size: 13px;\n  font-weight: 400;\n  cursor: pointer;\n  height: 16px;\n  display: flex;\n  align-items: center;\n  margin-top: 12px;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form button {\n  box-sizing: border-box;\n  color: #fff;\n  background-color: #3f4141;\n  border-radius: 2px;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  height: 28px;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n  display: flex;\n  align-items: center;\n  padding: 0 12px;\n  position: relative;\n  margin: 0;\n  margin-left: auto;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace {\n  border: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace .jodit_wysiwyg {\n  box-sizing: border-box;\n  color: #fff;\n  font-family: \'Roboto\', Arial, sans-serif;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  outline: none;\n  overflow: hidden !important;\n  padding: 10px 16px;\n  min-height: 74px;\n  resize: none;\n  border: none;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace .jodit_wysiwyg a {\n  color: #1c91ff;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar {\n  background: #404141;\n  border: none;\n  box-shadow: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_popup {\n  border-radius: 4px;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn {\n  cursor: auto;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn:not(.jodit_toolbar-input):hover,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn>a:hover,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn.jodit_active {\n  background-color: #6b6b6b;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn:not(.jodit_toolbar-input):hover .jodit_icon,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn>a:hover .jodit_icon,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn.jodit_active .jodit_icon {\n  fill: #fff;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn .jodit_icon {\n  fill: #fff;\n  backface-visibility: hidden;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn a {\n  cursor: pointer;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar .jodit_with_dropdownlist .jodit_with_dropdownlist-trigger {\n  border-top-color: #fff;\n}\n\n\n.jodit,.jodit *,.jodit_container,.jodit_container *{box-sizing:border-box}.jodit .jodit_workplace,.jodit_container .jodit_workplace{position:relative;overflow:auto}.jodit .jodit_workplace .jodit_wysiwyg,.jodit .jodit_workplace .jodit_wysiwyg_iframe,.jodit_container .jodit_workplace .jodit_wysiwyg,.jodit_container .jodit_workplace .jodit_wysiwyg_iframe{height:100%;width:100%}.jodit_container:not(.jodit_inline){background:#fff;font-size:14px;font-family:Helvetica,sans-serif}.jodit_container:not(.jodit_inline).jodit_disabled{background:hsla(0,0%,88%,.99)}.jodit_container:not(.jodit_inline).jodit_disabled .jodit_workplace{opacity:.4}.jodit_container:not(.jodit_inline) .jodit_workplace{border:1px solid #ccc}.jodit_disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_wysiwyg{outline:0}.jodit_wysiwyg::-moz-selection,.jodit_wysiwyg ::-moz-selection{background:#b5d6fd;color:#000}.jodit_wysiwyg::selection,.jodit_wysiwyg ::selection{background:#b5d6fd;color:#000}.jodit_container:not(.jodit_inline) .jodit_wysiwyg{margin:0;padding:10px;outline:0;overflow-x:auto;position:relative}.jodit_container:not(.jodit_inline) .jodit_wysiwyg img{position:relative;max-width:100%}.jodit_container:not(.jodit_inline) .jodit_wysiwyg p,.jodit_container:not(.jodit_inline) .jodit_wysiwyg pre{margin:0 0 10px}.jodit_container:not(.jodit_inline) .jodit_wysiwyg h1,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h2,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h3,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h4,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h5{margin-top:0}.jodit_container:not(.jodit_inline) .jodit_wysiwyg blockquote{border-left:2px solid #222;margin-left:0;padding-left:5px;color:#222}.jodit_container:not(.jodit_inline) .jodit_wysiwyg jodit-media{position:relative}.jodit_container:not(.jodit_inline) .jodit_wysiwyg jodit-media *{position:relative;z-index:0}.jodit_container:not(.jodit_inline) .jodit_wysiwyg jodit-media:before{z-index:1;content:"";position:absolute;top:0;left:0;right:0;bottom:0}.jodit_clearfix:after,.jodit_clearfix:before{content:" ";display:table}.jodit_clearfix:after{clear:both}.jodit_dark_theme.jodit_container,.jodit_dark_theme.jodit_container.jodit_disabled{background-color:#575757}.jodit_dark_theme .jodit_workplace{border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_statusbar{background-color:rgba(95,92,92,.8);border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_statusbar,.jodit_dark_theme .jodit_statusbar .jodit_statusbar_item span{color:#d1cccc}.jodit_dark_theme .jodit_toolbar_popup,.jodit_dark_theme .jodit_toolbar_popup-inline,.jodit_dark_theme .jodit_toolbar_popup-inline:before,.jodit_dark_theme .jodit_toolbar_popup:before{background:#575757}.jodit_dark_theme .jodit_toolbar{background:#5f5c5c;border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a{color:#d1cccc}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-break{border-top-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-right-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{border-top-color:silver}.jodit_dark_theme .jodit_icon{fill:silver}.jodit_dark_theme .jodit_wysiwyg,.jodit_dark_theme .jodit_wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit_dark_theme .jodit_wysiwyg [data-jodit-selected-cell],.jodit_dark_theme .jodit_wysiwyg_iframe [data-jodit-selected-cell]{border-color:#152f5f}.jodit_dark_theme .jodit_dropdownlist{background:#5f5c5c}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a{background-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a:hover{background-color:hsla(0,0%,41%,.8);color:#d1cccc;border-color:hsla(0,0%,41%,.9)}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a.active{background:rgba(81,81,81,.41);border-color:#686767}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a svg{fill:silver}.jodit_dark_theme .jodit_form input[type=text],.jodit_dark_theme .jodit_form input[type=url],.jodit_dark_theme .jodit_form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit_dark_theme .jodit_placeholder{color:hsla(0,5%,81%,.8)}.jodit_dark_theme .jodit_draganddrop_file_box,.jodit_dark_theme .jodit_uploadfile_button{color:#d1cccc}.jodit_dark_theme .jodit_draganddrop_file_box:hover,.jodit_dark_theme .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit_dark_theme .jodit-add-new-line:before{border-top-color:#686767}.jodit_dark_theme .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit_dark_theme .jodit-add-new-line span svg{fill:#d1cccc}.jodit_dark_theme .jodit_resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit_btn{border:1px solid;border-radius:0;background-color:#f5f5f5;background-image:linear-gradient(180deg,#fff,#e6e6e6);border-color:#ccc;text-shadow:0 1px 1px hsla(0,0%,100%,.75);color:#333;background-repeat:repeat-x;outline:0;display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_btn:hover{background-color:#e6e6e6;background-position:0 -15px;text-decoration:none}.jodit_btn.jodit_btn_success{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:linear-gradient(180deg,#62c462,#51a351);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_success svg{fill:#fff}.jodit_btn.jodit_btn_success:hover{background-color:#51a351}.jodit_btn.jodit_btn_danger{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:linear-gradient(180deg,#ee5f5b,#bd362f);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_danger svg{fill:#fff}.jodit_btn.jodit_btn_danger:hover{background-color:#bd362f}.jodit_btn.jodit_btn_inverse{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:linear-gradient(180deg,#444,#222);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_inverse svg{fill:#fff}.jodit_btn.jodit_btn_inverse:hover{background-color:#222}.jodit_btn.active,.jodit_btn:active{background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.jodit_btn_group{font-size:0;vertical-align:middle}.jodit_btn_group input{display:none}.jodit_btn_group button{float:left}.jodit_btn_group button+button{margin-left:-1px}.jodit_btn_group button:first-child,.jodit_btn_group input:first-child+button{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.jodit_btn_group button:last-child,.jodit_btn_group input:last-child+button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.jodit_btn_group:after{content:"";clear:both;float:none;display:table}.jodit_context_menu{font-family:Helvetica,sans-serif;display:none;background:#fff;position:absolute;min-width:150px;box-shadow:0 0 5px 0 rgba(0,0,0,.24);z-index:15}.jodit_context_menu a{display:block;border-bottom:1px solid hsla(0,0%,80%,.24);text-decoration:none!important;color:#727272}.jodit_context_menu a svg{float:left;display:block;width:18px;height:28px;margin:0 4.5px;fill:#727272}.jodit_context_menu a span{margin-left:27px;display:block;padding:5px;border-left:1px solid hsla(0,0%,80%,.24);line-height:18px}.jodit_context_menu a:hover{background-color:#e3e3e3;color:#000}.jodit_context_menu a:hover .jodit_icon{fill:#000}.jodit_context_menu a:last-child{border:0}.jodit_context_menu-show{display:block}.jodit_dialog_box{box-sizing:border-box;display:none;width:0;height:0;border:0;position:absolute;will-change:left,top,width,height}.jodit_dialog_box.jodit_dialog_box-moved{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_dialog_box *{box-sizing:border-box}.jodit_dialog_box .jodit_elfinder,.jodit_dialog_box .jodit_elfinder *{box-sizing:initial}.jodit_dialog_box .jodit_dialog_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:13;text-align:center;white-space:nowrap;overflow:auto;display:none;background-color:rgba(0,0,0,.5)}.jodit_dialog_box.active,.jodit_dialog_box.jodit_modal .jodit_dialog_overlay{display:block}.jodit_dialog_box .jodit_dialog{z-index:14;display:inline-block;vertical-align:middle;white-space:normal;text-align:left;position:fixed;left:0;top:0;background-color:#fff;box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);min-width:200px;min-height:100px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog{max-width:100%;width:100%!important;height:100%!important;top:0!important;left:0!important}}.jodit_dialog_box .jodit_dialog .jodit_promt{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_promt label{margin-bottom:5px;display:block}.jodit_dialog_box .jodit_dialog .jodit_promt input[type=text]{display:block;border:1px solid #ccc;background:#fff;width:100%;height:28px;line-height:16px;padding:3px 6px;outline:none}.jodit_dialog_box .jodit_dialog .jodit_alert{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_button{padding:0;margin:0;border:0;display:inline-block;vertical-align:top;width:32px;height:48px;line-height:48px;text-align:center;cursor:pointer;text-decoration:none}.jodit_dialog_box .jodit_dialog .jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_button.disabled{opacity:.7}.jodit_dialog_box .jodit_dialog .jodit_input{border:1px solid #ccc;padding:5px;background-color:#fff;outline:0;width:120px;margin-left:10px;font:13px Arial;height:28px;vertical-align:middle}.jodit_dialog_box .jodit_dialog select.jodit_input{width:75px}.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_button svg,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_dialog_header svg{width:16px;height:16px;display:inline-block;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;text-align:left;color:#222;box-shadow:0 1px 3px rgba(0,0,0,.16),0 1px 2px rgba(0,0,0,.23);cursor:move;height:48px;overflow:hidden}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-toolbar{-ms-flex-negative:3;flex-shrink:3;font-size:18px;margin:0;font-weight:400;line-height:48px;vertical-align:top;padding:0 10px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-toolbar{padding-left:0}}.jodit_dialog_box .jodit_dialog .jodit_dialog_header button{margin-right:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-button{color:#222;font-size:28px;transition:background-color .2s ease 0s;-ms-flex-preferred-size:48px;flex-basis:48px;height:48px;line-height:48px;text-decoration:none;text-align:center}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-button:hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar{background:transparent;display:block;height:100%;border:0}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn{vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn select{margin:0 5px;padding-left:10px;width:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content{height:calc(100% - 48px);overflow:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group{margin-bottom:10px;padding:0 10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group:first-child{margin-top:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]{display:block;height:34px;padding:6px 4px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url][disabled]{background-color:#f0f0f0;color:#ccc}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group{display:table;border-collapse:separate;width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>*{vertical-align:middle;display:table-cell;height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input{float:left;margin:0!important}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons{width:1%;font-size:0;white-space:nowrap;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons>a{text-align:center;display:inline-block;border:1px solid #ccc;margin-left:-1px;position:relative;height:34px;line-height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer{padding:0 10px;padding-top:10px;text-align:center;height:48px;display:none}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button{width:auto;margin-bottom:10px;height:32px;line-height:100%;padding:0 15px;background-color:#ccc;border:1px solid #ccc;color:#000;font-size:0}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button svg{display:inline-block;width:24px;height:24px;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button span{display:inline-block;vertical-align:middle;font-size:14px;margin-left:5px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:focus{border:1px solid #8bade4;outline:1px solid #82b2e8}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:nth-child(n+2){margin-left:10px}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_content{height:calc(100% - 96px)}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_footer{display:block}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{position:absolute;bottom:0;right:0;cursor:se-resize;width:7px;height:7px;display:inline-block;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpilJGRYcACIoB4ORMuCSCOZMIlga4TRQJZJ4YETCdWCSBmZMIlATIOIMAAEyAPt4RnNx0AAAAASUVORK5CYII=")}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer:hover{border-color:rgba(0,0,0,.6)}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{display:none}}.jodit_dialog_box.jodit_fullsize .jodit_dialog{top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:100%!important}.jodit_dialog_box.jodit_fullsize .jodit_dialog .jodit_dialog_resizer{display:none}@media (max-width:768px){.jodit_dialog_header .jodit_input,.jodit_dialog_header .jodit_toolbar_btn-filter,.jodit_dialog_header .jodit_toolbar_btn-separator,.jodit_dialog_header .jodit_toolbar_btn-sort,.jodit_dialog_header_fullsize,.jodit_dialog_header_title{display:none!important}}.jodit_toolbar_list>.jodit_toolbar{max-height:400px;overflow:auto;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);padding:0;margin:auto;text-align:left;box-sizing:border-box;transition:max-height .2s ease 0s;margin-top:0!important;list-style-type:none;font-size:16px;z-index:8;position:absolute;left:0;top:100%}.jodit_toolbar_list>.jodit_toolbar,.jodit_toolbar_list>.jodit_toolbar .jodit_toolbar{background:#f9f9f9}.jodit_toolbar_list>.jodit_toolbar blockquote,.jodit_toolbar_list>.jodit_toolbar h1,.jodit_toolbar_list>.jodit_toolbar h2,.jodit_toolbar_list>.jodit_toolbar h3,.jodit_toolbar_list>.jodit_toolbar h4,.jodit_toolbar_list>.jodit_toolbar h5,.jodit_toolbar_list>.jodit_toolbar p,.jodit_toolbar_list>.jodit_toolbar pre{font-family:Helvetica,sans-serif;margin:0;padding:0;font-weight:400}.jodit_toolbar_list>.jodit_toolbar h5{font-size:.8em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h3{font-size:1.31em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h4,.jodit_toolbar_list>.jodit_toolbar p{font-size:1em;line-height:1.5em}.jodit_toolbar_list>.jodit_toolbar h2{font-size:1.74em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h1{font-size:2.17em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar blockquote,.jodit_toolbar_list>.jodit_toolbar pre{font-family:monospace}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn{display:block;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;width:100%;height:auto;box-sizing:border-box;text-align:left}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a{background-image:none;padding:7px 24px;cursor:pointer;line-height:100%;width:auto;height:auto;display:block}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a>span{display:inline-block}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#f3f0f0}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a:after{display:none}.jodit_toolbar[dir=rtl] .jodit_toolbar_list>.jodit_toolbar,.jodit_toolbar[dir=rtl] .jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn{text-align:right}.jodit_filebrowser{font-family:Helvetica,sans-serif;font-size:0;height:100%}.jodit_filebrowser .jodit_filebrowser_loader{height:100%;width:100%;position:absolute;top:0;left:0}.jodit_filebrowser .jodit_filebrowser_loader i{position:absolute;top:50%;left:50%;margin-top:-64px;margin-left:-64px}.jodit_filebrowser .jodit_filebrowser_status{position:absolute;font-size:10px;padding:2px 3px;border-top:1px solid hsla(0,0%,50%,.4);left:31%;right:0;bottom:0;background-color:#4a4a4a;visibility:hidden;opacity:0;transition:opacity .3s linear;color:#b38888;word-break:break-all}.jodit_filebrowser .jodit_filebrowser_status.success{color:#c5c5c5}.jodit_filebrowser .jodit_filebrowser_status.active{visibility:visible;opacity:1}.jodit_filebrowser .jodit_filebrowser_files,.jodit_filebrowser .jodit_filebrowser_tree{display:none;vertical-align:top;height:100%;position:relative}.jodit_filebrowser .jodit_filebrowser_files.active,.jodit_filebrowser .jodit_filebrowser_tree.active{display:inline-block}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar{width:5px}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar-track,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar-thumb,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit_filebrowser .jodit_filebrowser_tree.active{width:31%;background-color:#3f3f3f;overflow-y:auto}@media (max-width:480px){.jodit_filebrowser .jodit_filebrowser_tree.active{display:none}}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar{width:5px}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar-thumb{background-color:hsla(0,0%,50%,.5);outline:1px solid #708090}.jodit_filebrowser .jodit_filebrowser_tree.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;padding:10px;color:#969696;border-bottom:1px solid #484848;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a;font-size:16px}.jodit_filebrowser .jodit_filebrowser_tree.active a{display:block;padding:10px 20px;text-decoration:none;color:#b1b1b1;font-weight:600;transition:background-color .2s ease 0s;border-bottom:1px solid #474747;line-height:17px;min-height:38px;position:relative;word-break:break-all;font-size:16px}.jodit_filebrowser .jodit_filebrowser_tree.active a i.remove{height:16px;width:16px;line-height:17px;font-size:16px;position:absolute;right:5px;top:11px;opacity:0;padding-left:3px;display:inline-block}.jodit_filebrowser .jodit_filebrowser_tree.active a i.remove:hover{background:#696969}.jodit_filebrowser .jodit_filebrowser_tree.active a:hover{color:#222;background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_tree.active a:hover i.remove{opacity:.6}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button{cursor:pointer;background:#696969;text-align:center;width:auto;height:38px;color:#333}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button svg{vertical-align:top}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button.disabled,.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button:hover i{opacity:.7}.jodit_filebrowser .jodit_filebrowser_files.active{width:100%;overflow-y:auto;padding:10px}.jodit_filebrowser .jodit_filebrowser_files.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-10px -10px 0;display:block;padding:10px;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a;font-size:16px;color:#969696}.jodit_filebrowser .jodit_filebrowser_files.active a+.jodit_filebrowser_source_title{margin-top:10px}.jodit_filebrowser .jodit_filebrowser_files.active a{vertical-align:top;display:inline-block;width:150px;height:150px;line-height:150px;text-align:center;border:1px solid #ccc;margin:5px 5px 10px;font-size:0;overflow:hidden;transition:border .1s linear,bottom .1s linear;box-sizing:content-box;position:relative}.jodit_filebrowser .jodit_filebrowser_files.active a img{max-width:100%;vertical-align:middle}.jodit_filebrowser .jodit_filebrowser_files.active a:hover{border-color:#433b5c}.jodit_filebrowser .jodit_filebrowser_files.active a.active{border-color:#1e88e5;background-color:#b5b5b5}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info{position:absolute;right:0;left:0;bottom:0;white-space:normal;opacity:.85;overflow:visible;padding:.3em .6em;transition:opacity .4s ease;background-color:#e9e9e9;color:#333;text-shadow:#eee 0 1px 0;font-size:14px;line-height:16px;text-align:left}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info>span{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.75em}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{font-weight:700;font-size:.9em}.jodit_filebrowser .jodit_filebrowser_files.active a.active .jodit_filebrowser_files_item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit_filebrowser .jodit_filebrowser_files.active a:hover .jodit_filebrowser_files_item-info{bottom:-100px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list{scroll-behavior:smooth}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a{display:block;width:100%;height:26px;line-height:26px;margin:0;border-width:0 0 1px;text-align:left;white-space:nowrap}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a img{min-width:16px;max-width:16px;vertical-align:middle;display:inline-block;margin-left:4px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info{padding:0;position:static;display:inline-block;width:calc(100% - 20px);margin-left:4px;background-color:transparent;height:100%;line-height:inherit;vertical-align:middle;font-size:0}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span{display:inline-block;height:100%;font-size:12px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{width:50%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filechanged,.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filesize{width:25%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover{background-color:#433b5c}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover .jodit_filebrowser_files_item-info{color:#fff;text-shadow:none}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:before{height:100%;content:"";vertical-align:middle;display:inline-block}.jodit_filebrowser .jodit_filebrowser_tree.active+.jodit_filebrowser_files.active{width:69%}@media (max-width:480px){.jodit_filebrowser .jodit_filebrowser_tree.active+.jodit_filebrowser_files.active{width:auto;display:block}}.jodit_filebrowser_preview{text-align:center;min-width:300px;max-width:900px;max-height:700px;min-height:700px;position:relative}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation{position:absolute;top:0;height:100%;left:0}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation-next{left:auto;right:0}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation svg{width:45px;height:45px;position:relative;top:50%;margin-top:-22px;transition:fill .3s linear;fill:#9e9ba7}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation:hover svg{fill:#000}.jodit_filebrowser_preview img{max-width:100%;max-height:100%}.jodit_draghover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title .jodit_upload_button{position:relative;width:220px;border:0;padding:25px 0;margin:10px 0;overflow:hidden}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title .jodit_upload_button input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;margin:0 -10px 0 0;padding:0;opacity:0;font-size:400px}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title.jodit_filebrowser_title_box{padding-left:10px}.jodit_grid{width:100%}.jodit_grid [class*=jodit_col-]{display:block;float:left}.jodit_grid .jodit_col-lg-5-5{width:100%}.jodit_grid .jodit_col-lg-4-5{width:80%}.jodit_grid .jodit_col-lg-3-5{width:60%}.jodit_grid .jodit_col-lg-2-5{width:40%}.jodit_grid .jodit_col-lg-1-5{width:20%}.jodit_grid .jodit_col-lg-4-4{width:100%}.jodit_grid .jodit_col-lg-3-4{width:75%}.jodit_grid .jodit_col-lg-2-4{width:50%}.jodit_grid .jodit_col-lg-1-4{width:25%}.jodit_grid:after,.jodit_grid:before{content:" ";display:table}.jodit_grid:after{clear:both}@keyframes a{to{transform:rotate(1turn)}}.jodit_icon-loader{background:url("data:image/png;base64, ") no-repeat 50%;background-size:100% 100%;width:128px;height:128px;will-change:transform;animation:a 2s ease-out 0s infinite}.jodit_icon,.jodit_icon-loader{display:inline-block;vertical-align:middle}.jodit_icon{font-style:normal;width:14px;height:14px;font-size:8px;fill:#222;transform-origin:0 0!important;overflow:visible;background:50% no-repeat;background-size:contain}svg.jodit_icon{height:auto}.jodit_text_icon{font-size:14px}.jodit_toolbar_size-small .jodit_icon{min-width:12px;height:12px;line-height:12px}.jodit_toolbar_size-large .jodit_icon{min-width:16px;height:16px;line-height:16px}.jodit_image_editor{width:100%;height:100%;padding:10px;overflow:hidden}@media (max-width:768px){.jodit_image_editor{height:auto}}.jodit_image_editor>div,.jodit_image_editor>div>div{height:100%}@media (max-width:768px){.jodit_image_editor>div,.jodit_image_editor>div>div{height:auto;min-height:200px}}.jodit_image_editor *{box-sizing:border-box}.jodit_image_editor .jodit_image_editor_slider-title{text-shadow:#f3f3f3 0 1px 0;color:#333;border-bottom:1px solid hsla(0,0%,62%,.31);background-color:#f9f9f9;padding:.8em 1em;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:700;line-height:1em}.jodit_image_editor .jodit_image_editor_slider-title svg{margin-right:10px;width:16px;display:inline-block;vertical-align:middle}.jodit_image_editor .jodit_image_editor_slider-content{display:none}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title svg{fill:#fff}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-content{display:block}.jodit_image_editor_area{background-color:#eee;background-image:linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc),linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc);background-size:30px 30px;background-position:0 0,15px 15px;height:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none}.jodit_image_editor_area.active{display:block}.jodit_image_editor_area .jodit_image_editor_box{overflow:hidden;position:relative;z-index:1;pointer-events:none;height:100%}.jodit_image_editor_area .jodit_image_editor_box img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100%;max-height:100%}.jodit_image_editor_area .jodit_image_editor_croper,.jodit_image_editor_area .jodit_image_editor_resizer{z-index:2;width:100px;height:100px;position:absolute;box-shadow:0 0 11px #000;border:1px solid #fff;background-repeat:no-repeat;top:10px;left:20px;pointer-events:none}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright{position:absolute;display:inline-block;border:1px solid #383838;z-index:4;background-color:#8c7878;cursor:se-resize;border-radius:10px;height:20px;width:20px;right:-10px;bottom:-10px;box-shadow:0 0 11px #000;pointer-events:all}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright:active,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit_image_editor_area.jodit_image_editor_area_crop{height:100%;background:#eee;text-align:center;line-height:100%;position:relative}.jodit_image_editor_area.jodit_image_editor_area_crop:before{content:"";line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box{height:100%;overflow:visible;display:inline-block;vertical-align:middle;pointer-events:all;font-size:0;text-align:left;line-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box img{max-width:100%;max-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:before{content:"";line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;background:hsla(0,0%,100%,.3);z-index:1}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper{pointer-events:all;cursor:move}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper i.jodit_sizes{font-size:12px;white-space:pre;position:absolute;bottom:-30px;left:100%;text-align:center;color:#fff;text-shadow:none;background:rgba(0,0,0,.2);border-radius:.4em;padding:9px 6px;display:block}.jodit_properties svg{font-style:normal;display:inline-block;width:14px;height:14px;line-height:14px;font-size:8px;overflow:hidden;vertical-align:middle;fill:#222;transform-origin:0 0!important}.jodit_properties #tabsbox{padding:10px}.jodit_properties #tabsbox .jodit_form_group{padding:0}.jodit_properties .jodit_properties_view_box{padding:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view{height:150px;text-align:center;line-height:1;vertical-align:middle;padding:0;background-color:#f6f6f6;margin:0;vertical-align:baseline;font-size:100%;margin-bottom:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view img{max-width:100%;max-height:100%;vertical-align:middle}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group{padding:0!important;margin:0!important}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group a{display:inline-block;cursor:pointer}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group input[type=number]{display:inline-block!important;width:calc(50% - 8px)!important}.jodit_toolbar,.jodit_toolbar *{box-sizing:border-box}.jodit_toolbar{position:relative;left:0;top:0;margin:0!important;padding:0!important;list-style:none!important;font-size:0;background:#f9f9f9;box-shadow:0 4px 4px -2px rgba(0,0,0,.14);border:1px solid #ccc;border-bottom:0;min-height:16px!important}.jodit_toolbar+.jodit_toolbar_dummy{display:none}.jodit_toolbar.jodit_fly{position:absolute;left:0;right:0;z-index:10;background:#fff}.jodit_toolbar.jodit_sticky{position:fixed;position:-webkit-sticky;position:sticky;z-index:3;top:0;left:auto}.jodit_toolbar.jodit_sticky+.jodit_toolbar_dummy{display:block}.jodit_toolbar .jodit_toolbar_btn>a{color:#000;text-decoration:none;display:block;background:no-repeat 50%}.jodit_toolbar>li.jodit_toolbar_btn{display:inline-block;vertical-align:top;margin:0!important;padding:0;list-style:none!important;outline:none;position:relative;text-align:center;cursor:pointer;transition:background-color .2s linear,opacity .1s linear}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled{background-color:transparent!important;opacity:.3;cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled a{cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-left:0;border-right:1px solid #e6e6e6;padding:0;margin:2px 3px 0!important;cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar_btn-break{display:block!important;width:auto;border-top:1px solid #e6e6e6;height:0;margin:0 3px!important}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a,.jodit_toolbar>li.jodit_toolbar_btn>a{width:100%;height:100%;display:inline-block;outline:none;text-decoration:none}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:after,.jodit_toolbar>li.jodit_toolbar_btn>a:after{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:active+.jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn>a:active+.jodit_tooltip{visibility:hidden!important}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled .jodit_tooltip{display:none!important}.jodit_toolbar>li.jodit_toolbar_btn>a{line-height:100%}.jodit_toolbar>li.jodit_toolbar_btn.jodit_dropdown_open .jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn .jodit_popap_open,.jodit_toolbar>li.jodit_toolbar_btn.jodit_popup_open .jodit_tooltip{visibility:hidden!important}.jodit_toolbar>li.jodit_toolbar_btn:not(.jodit_toolbar-input):hover{background-color:#dde4ef;outline:none}.jodit_toolbar>li.jodit_toolbar_btn.jodit_active,.jodit_toolbar>li.jodit_toolbar_btn:not(.jodit_toolbar-input):active{background-color:hsla(0,0%,87%,.4);outline:none}.jodit_toolbar>li.jodit_toolbar_btn.jodit-btn-hidden{display:none!important}.jodit_toolbar>li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:3px solid #4c4c4c;display:inline-block;vertical-align:middle;margin-left:3px}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar-input input,.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar-input select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:100%;border-radius:0;outline:none;line-height:100%}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar-input select{padding-right:20px;background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 98% 50%!important}.jodit_toolbar>li{min-width:32px;height:32px;line-height:32px}.jodit_toolbar>li.jodit_toolbar_btn-separator{height:28px;width:0;min-width:0}.jodit_tooltip{position:absolute;background:#727171;color:#fff;font-size:12px;line-height:15px;padding:4px 5px;font-family:Arial,sans-serif;z-index:9;width:90px;transition:opacity .3s linear}@media (max-width:768px){.jodit_tooltip{display:none}}.jodit_toolbar_size-small .jodit_toolbar{min-height:12px!important}.jodit_toolbar_size-small .jodit_toolbar>li{min-width:24px;height:24px;line-height:24px}.jodit_toolbar_size-small .jodit_toolbar>li.jodit_toolbar_btn-separator{height:20px;width:0;min-width:0}.jodit_toolbar_size-large .jodit_toolbar{min-height:18px!important}.jodit_toolbar_size-large .jodit_toolbar>li{min-width:36px;height:36px;line-height:36px}.jodit_toolbar_size-large .jodit_toolbar>li.jodit_toolbar_btn-separator{height:32px;width:0;min-width:0}.jodit_toolbar_popup{position:absolute;z-index:7;top:100%;margin-top:10px;padding-top:0;left:0;font-size:14px;line-height:14px!important;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.2)}.jodit_toolbar_popup .jodit_toolbar{box-shadow:none;border-width:0;background-color:transparent}.jodit_toolbar_popup .jodit_toolbar .jodit_toolbar{background-color:#f9f9f9;box-shadow:0 4px 4px -2px rgba(0,0,0,.14);border:1px solid #ccc}.jodit_toolbar_popup>*{margin:10px}.jodit_toolbar_popup .jodit_popup_triangle{padding:0;margin:0;width:8px;height:8px;position:absolute;top:-5px;left:9px;display:inline-block;transform:rotate(45deg);background:#fff;border:1px solid rgba(0,0,0,.2);border-width:1px 0 0 1px;z-index:5}.jodit_toolbar_popup.jodit_right{left:auto;right:0}.jodit_toolbar_popup.jodit_right:before{left:auto;right:14px}.jodit_toolbar .jodit_toolbar_btn>svg{max-width:50%;vertical-align:middle;font-smoothing:antialiased}.jodit_container>.jodit_toolbar>li:first-child{margin-left:2px!important}.jodit_container[dir=rtl]>.jodit_toolbar>li:first-child{margin-left:0!important;margin-right:2px!important}.jodit_draganddrop_file_box,.jodit_uploadfile_button{position:relative;width:220px;border:1px dashed #ccc;padding:25px 0;margin:10px 0;text-align:center;overflow:hidden}.jodit_draganddrop_file_box:hover,.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit_draganddrop_file_box input,.jodit_uploadfile_button input{cursor:pointer;position:absolute;top:0;bottom:0;right:0;margin:0;padding:0;opacity:0;font-size:400px}@media (max-width:768px){.jodit_draganddrop_file_box{width:auto;max-width:100%;min-width:120px}}.jodit_statusbar{border:1px solid #ccc;border-top:0;font-size:0;background-color:#f9f9f9;padding:0 5px}.jodit_statusbar .jodit_statusbar_item{font-size:11px;float:left;line-height:1.57142857em;margin:0 10px 0 0;padding:0;vertical-align:middle}.jodit_statusbar .jodit_statusbar_item.jodit_statusbar_item-right{float:right;margin:0 0 0 10px}.jodit_statusbar .jodit_statusbar_item li,.jodit_statusbar .jodit_statusbar_item ul{margin:0;padding:0;list-style:none;display:inline-block;vertical-align:top;position:relative}.jodit_statusbar .jodit_statusbar_item li li,.jodit_statusbar .jodit_statusbar_item ul li{margin-right:5px}.jodit_statusbar .jodit_statusbar_item a,.jodit_statusbar .jodit_statusbar_item span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;vertical-align:baseline;text-align:left;white-space:nowrap;padding:2px 3px;line-height:10px;outline:0;border:0;color:#222}.jodit_statusbar .jodit_statusbar_item a span,.jodit_statusbar .jodit_statusbar_item span span{padding:0}.jodit_statusbar .jodit_statusbar_item svg{width:11px;height:11px;display:inline-block;vertical-align:top}.jodit_statusbar .jodit_statusbar_item a{text-decoration:none;cursor:default;border-radius:3px}.jodit_statusbar .jodit_statusbar_item a:hover{background-color:hsla(0,0%,88%,.99);text-decoration:none;color:#222}.jodit_statusbar:after{content:" ";display:block;visibility:hidden;font-size:0;height:0;float:none;clear:both}.jodit_disabled .jodit_statusbar{opacity:.4}.jodit_form{color:#000}.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{-webkit-appearance:none;-moz-appearance:none;display:block;outline:none;border:1px solid #b5b5b5;height:28px;line-height:28px;padding:0 5px;min-width:220px;margin-top:10px}.jodit_form input[type=text].jodit_error,.jodit_form input[type=url].jodit_error,.jodit_form textarea.jodit_error{border-color:#f7d1d1;box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3)}@media (max-width:768px){.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{min-width:150px}}.jodit_form textarea{height:128px}.jodit_form button{height:36px;line-height:1;color:#000;padding:10px;cursor:pointer;text-decoration:none;border:none;background:#d6d6d6;font-size:16px;outline:none;transition:background .2s ease 0s;margin-top:10px;margin-bottom:10px}.jodit_form button:hover{background-color:#ecebe9;color:#000}.jodit_form button:active{background:#ecebe9;color:#000}.jodit_form input[type=checkbox]{display:inline-block;z-index:2;border:0 none;cursor:pointer;height:16px;margin:0;padding:0;width:16px;position:relative;outline:none;top:3px}.jodit_form input[type=checkbox]:after{content:"";background:#fff;border:1px solid hsla(0,0%,88%,.99);border-radius:2px;background-clip:padding-box;width:16px;height:16px;display:inline-block;position:relative;z-index:1;box-sizing:border-box;transition:background .2s ease 0s,border-color .2s ease 0s}.jodit_form input[type=checkbox]:checked:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 32 32\'%3E%3Cpath d=\'M27 4L12 19l-7-7-5 5 12 12L32 9z\' fill=\'%23FFF\'/%3E%3C/svg%3E") no-repeat 50%;background-color:#b5b5b5;border-color:#b5b5b5}.jodit_form label{margin-top:10px;display:block;text-align:left}.jodit_form form:after{content:"";display:table;clear:both}.jodit_about{padding:20px}.jodit_about a{color:#459ce7;text-decoration:none}.jodit_about a:focus,.jodit_about a:hover{color:#23527c;text-decoration:underline;outline:0}.jodit_about div{margin-bottom:5px}.jodit_colorpicker{min-width:180px;text-align:left;margin:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_colorpicker .jodit_colorpicker_group{margin-bottom:5px;white-space:normal}.jodit_colorpicker a{width:18px;height:18px;line-height:16px;display:inline-block;text-decoration:none;vertical-align:middle;text-align:center}.jodit_colorpicker a:before{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.jodit_colorpicker a svg{display:inline-block;vertical-align:middle;font-smoothing:antialiased;max-width:14px}.jodit_colorpicker a:hover{border-color:#000}.jodit_colorpicker a:active{background:#d6d6d6;color:#b5b5b5}.jodit_colorpicker .jodit_text_icon{width:auto;text-decoration:none;color:#000}.jodit_colorpicker span{float:right}.jodit_colorpicker span em{width:16px;height:16px;display:inline-block;margin-right:4px}.jodit_colorpicker span input{width:18px;height:18px;padding:0;border:none;-webkit-appearance:none}.jodit_colorpicker span input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit_colorpicker span input input[type=color]::-webkit-color-swatch{border:none}@keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit_progress_bar{position:absolute;top:0;left:0;height:2px;z-index:16;border-radius:1px;display:none}.jodit_progress_bar div{position:relative;background:#b91f1f;height:2px;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit_progress_bar div:after,.jodit_progress_bar div:before{animation:b 2s ease-out 0s infinite;content:"";display:inline-block;position:absolute;top:0;height:2px;box-shadow:1px 0 6px 1px #b91f1f;border-radius:100%;opacity:.6}.jodit_progress_bar div:before{width:180px;right:-80px;clip:rect(-6px,90px,14px,-6px)}.jodit_progress_bar div:after{width:20px;right:0;clip:rect(-6px,22px,14px,10px)}.jodit_tabs .jodit_tabs_buttons{line-height:18px;margin-bottom:5px;margin-top:4px}.jodit_tabs .jodit_tabs_buttons>a{display:inline-block;text-decoration:none;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;height:29px;line-height:27px;position:relative;vertical-align:middle;transition:background .1s linear;text-overflow:ellipsis;overflow:hidden;box-shadow:none;background-color:#f5f5f5;color:#737373;border:1px solid rgba(0,0,0,.1);outline:none}@media (max-width:768px){.jodit_tabs .jodit_tabs_buttons>a{width:100%!important;border-radius:0!important}}.jodit_tabs .jodit_tabs_buttons>a+a{margin-left:-1px}.jodit_tabs .jodit_tabs_buttons>a i,.jodit_tabs .jodit_tabs_buttons>a svg{width:16px;height:16px;display:inline-block;vertical-align:sub;margin-right:5px;fill:#737373}.jodit_tabs .jodit_tabs_buttons>a:hover{border:1px solid #c6c6c6;color:#111;box-shadow:none;background-color:#f8f8f8;outline:none}.jodit_tabs .jodit_tabs_buttons>a:hover i,.jodit_tabs .jodit_tabs_buttons>a:hover svg{fill:#111}.jodit_tabs .jodit_tabs_buttons>a.active,.jodit_tabs .jodit_tabs_buttons>a:active{outline:none;background:#fff;border:1px solid #ccc;color:#333}.jodit_tabs .jodit_tabs_buttons>a.active i,.jodit_tabs .jodit_tabs_buttons>a.active svg,.jodit_tabs .jodit_tabs_buttons>a:active i,.jodit_tabs .jodit_tabs_buttons>a:active svg{fill:#333}.jodit_tabs .jodit_tabs_wrapper .jodit_tab{display:none}.jodit_tabs .jodit_tabs_wrapper .jodit_tab.active{display:block}.jodit_tabs .jodit_tabs_wrapper .jodit_tab .jodit_tab_empty{min-width:220px;min-height:100px}.jodit-add-new-line{z-index:1;position:absolute;height:20px;line-height:100%;vertical-align:middle;font-size:0;top:0;outline:none;margin-top:-10px;display:none}.jodit-add-new-line,.jodit-add-new-line *{box-sizing:border-box}.jodit-add-new-line:before{height:100%}.jodit-add-new-line:after,.jodit-add-new-line:before{display:inline-block;vertical-align:middle;content:""}.jodit-add-new-line:after{box-sizing:border-box;border-top:1px solid #ccc;height:1px;width:calc(100% - 30px)}.jodit-add-new-line span{right:0;position:absolute;display:inline-block;width:30px;height:20px;background:hsla(40,7%,92%,.3);vertical-align:top;border:1px solid #ccc;padding:0 5px;cursor:pointer}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line svg{width:16px;fill:#ccc;vertical-align:top}.jodit_source_mode .jodit-add-new-line{display:none!important}.jodit_error_box_for_messages{position:absolute;right:0;bottom:0;width:0;height:0;overflow:visible;z-index:3}.jodit_error_box_for_messages>*{position:absolute;right:5px;bottom:0;display:block;transition:opacity .1s linear,bottom .3s linear;opacity:0;background:rgba(255,0,0,.29);color:#e02b2b;padding:2px 7px;border:1px solid hsla(0,65%,67%,.44);font-size:14px;white-space:pre}.jodit_error_box_for_messages>.active{opacity:1}.jodit_error_box_for_messages>.info{background:rgba(204,229,247,.71);color:#776565;border:1px solid hsla(0,0%,60%,.44)}.jodit_error_box_for_messages>.success{background:rgba(77,236,112,.29);color:#5d5a5a;border:1px solid hsla(0,0%,58%,.44)}.jodit_fullsize_box{z-index:11!important;position:static!important;overflow:visible!important}body.jodit_fullsize_box,html.jodit_fullsize_box{height:0!important;width:0!important;overflow:initial!important}html.jodit_fullsize_box{position:fixed!important}.jodit_fullsize{position:absolute;top:0;left:0;right:0;bottom:0;z-index:11;max-width:none!important}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit_area,.jodit_fullsize .jodit_editor{height:100%}.jodit_fullsize .jodit_workflow{height:calc(100% - 16px * 1.5);overflow:auto}.jodit_fullsize.jodit_toolbar_size-small .jodit_workflow{height:calc(100% - 12px * 1.5)}.jodit_fullsize.jodit_toolbar_size-large .jodit_workflow{height:calc(100% - 18px * 1.5)}.jodit_placeholder{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;top:0;left:0;display:block;position:absolute;padding:10px;color:rgba(0,0,0,.35);z-index:1;pointer-events:none}.jodit_toolbar_popup-inline-target{position:absolute;width:0;height:0}.jodit_toolbar_popup-inline-target.jodit_toolbar_popup-inline-target-hidden{display:none}.jodit_toolbar_popup-inline{display:inline-block!important;position:relative!important}.jodit_toolbar_popup-inline>div{color:hsla(0,0%,88%,.99);background:#fff;box-shadow:none;background-clip:padding-box;font-family:Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:12!important;text-align:left;border:1px solid hsla(0,0%,88%,.99);display:inline-block;vertical-align:top}.jodit_toolbar_popup-inline .jodit_toolbar{z-index:6;border:0;white-space:normal}.jodit_toolbar_popup-inline>div>.jodit_toolbar{white-space:nowrap;box-shadow:none;vertical-align:top}.jodit_toolbar_popup-inline>.jodit_popup_triangle{padding:0;margin:0;width:8px;height:8px;position:absolute;top:-4px;margin-left:-4px;display:inline-block;transform:rotate(45deg);background:#fff;border:1px solid hsla(0,0%,88%,.99);border-width:1px 0 0 1px;z-index:5}.jodit_toolbar_popup-inline.jodit_toolbar_popup-inline-top>.jodit_popup_triangle{top:auto;bottom:-4px;border-width:0 1px 1px 0}.jodit_toolbar_popup-inline .buttons{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);padding:0 2px;white-space:nowrap;line-height:0;border-bottom:0}[data-jodit_iframe_wrapper]{display:block;clear:both;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}[data-jodit_iframe_wrapper]:after{position:absolute;content:"";z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.jodit_resizer{width:100px;height:100px;position:absolute;border:1px solid rgba(3,14,82,.92);top:0;left:0;display:none;pointer-events:none;font-size:0}.jodit_resizer *{box-sizing:border-box}.jodit_resizer>span{opacity:0;transition:opacity .2s linear;left:50%;top:50%;height:24px;line-height:24px;font-size:12px;width:70px;margin-left:-35px;margin-top:-12px;text-align:center;overflow:visible;color:#fff;background-color:rgba(0,0,0,.35);max-width:100%}.jodit_resizer>i,.jodit_resizer>span{position:absolute;display:inline-block}.jodit_resizer>i{z-index:4;pointer-events:all;border:1px solid rgba(3,14,82,.92);background-color:hsla(0,0%,88%,.99);width:10px;height:10px}.jodit_resizer>i:hover{background-color:#f8f8f8}.jodit_resizer>i:first-child{left:-5px;top:-5px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-5px;top:-5px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-5px;bottom:-5px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-5px;bottom:-5px;cursor:sw-resize}@media (max-width:768px){.jodit_resizer>i{width:20px;height:20px}.jodit_resizer>i:first-child{left:-10px;top:-10px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-10px;top:-10px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-10px;bottom:-10px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-10px;bottom:-10px;cursor:sw-resize}}.jodit_container{min-height:100px}.jodit_container .jodit_workplace{display:-ms-flexbox;display:flex;height:auto;min-height:50px;overflow:hidden}.jodit_editor_resize{position:relative}.jodit_editor_resize a{position:absolute;bottom:0;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;height:0;overflow:hidden;border-width:7px 7px 0 0;border-color:transparent #ccc transparent transparent;border-style:dashed solid dashed dashed;cursor:se-resize}.jodit_source{display:none;position:relative;background-color:#f8f8f8;font-size:0;-ms-flex:1;flex:1;overflow:auto}.jodit_source,.jodit_source .jodit_source_mirror-fake{min-height:100%}.jodit_container.jodit_source_mode .jodit_wysiwyg,.jodit_container.jodit_source_mode .jodit_wysiwyg_iframe{display:none!important}.jodit_container.jodit_source_mode .jodit_source{display:block!important}.jodit_container.jodit_split_mode .jodit_source,.jodit_container.jodit_split_mode .jodit_wysiwyg,.jodit_container.jodit_split_mode .jodit_wysiwyg_iframe{display:block!important;width:50%;-ms-flex:1;flex:1}.jodit_source_mirror{border:0;width:100%;background:#3f3f3f;margin:0;height:100%;box-shadow:none;resize:none;box-sizing:border-box;color:#f0f0f0;outline:none;font-family:Menlo,Monaco,monospace,sans-serif;font-size:13px;line-height:1.3em;z-index:2;padding:10px;overflow:auto;white-space:pre-wrap;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;min-height:100%}.jodit_source_mirror::-moz-selection{background:#bdbdbd}.jodit_source_mirror::selection{background:#bdbdbd}.jodit_table_resizer{cursor:col-resize;position:absolute;z-index:3;padding-left:5px;padding-right:5px;margin-left:-5px}.jodit_table_resizer:after{content:"";display:block;height:100%;width:0;border:1px solid transparent;border-width:0 1px 0 0}.jodit_table_resizer-moved{z-index:2}.jodit_table_resizer-moved:after{border-color:#1e88e5}.jodit_wysiwyg table{width:100%;border:none;border-collapse:collapse;table-layout:fixed;empty-cells:show;max-width:100%}.jodit_wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_wysiwyg table tr td,.jodit_wysiwyg table tr th{border:1px solid #ddd;text-align:left;vertical-align:middle;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.jodit_wysiwyg table tr td[data-jodit-selected-cell],.jodit_wysiwyg table tr th[data-jodit-selected-cell]{border:1px double #1e88e5}.jodit_form_inserter .jodit_form-table-creator-box{font-size:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container{display:inline-block;vertical-align:top;padding:0;margin:0;min-width:180px;font-size:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div{width:18px;height:18px;box-sizing:border-box;display:inline-block;position:relative;vertical-align:top}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div:after{content:"";position:absolute;top:0;left:0;display:inline-block;width:12px;height:12px;border:1px solid #ccc}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div.hovered:after{background:#7a450f;border:1px solid #b5b5b5}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options{font-size:14px;display:inline-block;vertical-align:top}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options label{text-align:left;padding-top:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options label input{margin-right:10px}.jodit_form_inserter label{text-align:center;font-size:14px;padding:8px;display:block;margin:0}.jodit_text_icons .jodit_icon{width:auto;font-size:14px}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a{font-family:Helvetica,sans-serif;width:auto}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a i,.jodit_text_icons .jodit_toolbar>li{width:auto}.jodit_text_icons .jodit_toolbar>li>a{text-decoration:none}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a,.jodit_text_icons .jodit_toolbar>li>a{padding:0 12px;font-family:Helvetica,sans-serif;width:auto;color:rgba(0,0,0,.75)}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a .jodit_icon{width:auto}.jodit_widget,.jodit_widget *{box-sizing:border-box}.jodit_search{visibility:hidden;position:absolute;top:0;right:0;width:0;height:0}.jodit_search.jodit_search-active{visibility:visible}.jodit_search .jodit_search_box{width:320px;position:absolute;right:0;background-color:#f9f9f9;border:1px solid #ccc;border-width:0 0 1px 1px;padding:5px}.jodit_search .jodit_search_box input{margin:0;width:100%;height:100%;border:0;background-color:transparent;outline:none;padding:0 10px}.jodit_search .jodit_search_box input.jodit_search-replace{display:none}.jodit_search .jodit_search_box .jodit_search_buttons,.jodit_search .jodit_search_box .jodit_search_counts,.jodit_search .jodit_search_box .jodit_search_inputs{height:30px;display:inline-block;vertical-align:top}.jodit_search .jodit_search_box .jodit_search_inputs{width:60%;padding-right:5px}.jodit_search .jodit_search_box .jodit_search_counts{width:15%;line-height:100%;text-align:center;color:#ccc;border-left:1px solid #ccc}.jodit_search .jodit_search_box .jodit_search_counts:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_search .jodit_search_box .jodit_search_counts span{display:inline-block;vertical-align:middle}.jodit_search .jodit_search_box .jodit_search_buttons{padding-left:0;width:25%}.jodit_search .jodit_search_box .jodit_search_buttons button{outline:0;width:32%;padding:1px 5px;margin-right:1%;transition:transform .1s linear;height:100%;border:1px solid transparent;background-color:transparent}.jodit_search .jodit_search_box .jodit_search_buttons button.jodit_search_buttons-replace{width:100%;border:1px solid #ccc;margin-top:2px;display:none}.jodit_search .jodit_search_box .jodit_search_buttons button:hover{background-color:#ecebe9}.jodit_search .jodit_search_box .jodit_search_buttons button:focus{border:1px solid rgba(181,214,253,.5)}.jodit_search .jodit_search_box .jodit_search_buttons button:active{border:1px solid #b5d6fd;transform:scale(.95)}.jodit_search.jodit_search-and-replace .jodit_search_counts,.jodit_search.jodit_search-and-replace .jodit_search_inputs{height:60px}.jodit_search.jodit_search-and-replace .jodit_search_counts input,.jodit_search.jodit_search-and-replace .jodit_search_inputs input{height:50%;transition:background-color .1s linear}.jodit_search.jodit_search-and-replace .jodit_search_counts input:focus,.jodit_search.jodit_search-and-replace .jodit_search_inputs input:focus{box-shadow:inset 0 0 3px 0 hsla(0,0%,80%,.58)}.jodit_search.jodit_search-and-replace .jodit_search_buttons button.jodit_search_buttons-replace,.jodit_search.jodit_search-and-replace .jodit_search_inputs input.jodit_search-replace{display:block}@media (max-width:320px){.jodit_search,.jodit_search .jodit_search_box{width:100%}}.jodit_symbols{width:460px;padding:10px}.jodit_symbols .jodit_symbols-container_preview,.jodit_symbols .jodit_symbols-container_table{display:inline-block;vertical-align:top}.jodit_symbols .jodit_symbols-container_table{width:88%}.jodit_symbols .jodit_symbols-container_preview{width:12%}.jodit_symbols .jodit_symbols-container_preview .jodit_symbols-preview{font-size:34px;text-align:center;padding:20px 0;border:1px solid #ccc}.jodit_symbols table{border:0;border-spacing:0;table-layout:fixed}.jodit_symbols table td{padding:0}.jodit_symbols table td a{font-size:16px;text-decoration:none;color:#000;display:inline-block;box-sizing:border-box;width:21.6px;height:21.6px;border:1px solid transparent;text-align:center;line-height:21.6px;vertical-align:top}.jodit_symbols table td a:focus,.jodit_symbols table td a:hover{border:1px solid #1e88e5}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit_toolbar{position:fixed;z-index:3;top:0;left:auto}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit_paste_storage{padding:10px;max-width:600px}@media (max-width:768px){.jodit_paste_storage{max-width:100%}}.jodit_paste_storage>div{max-width:100%;max-height:300px;border:1px solid #ccc}.jodit_paste_storage>div:first-child{margin-bottom:10px}.jodit_paste_storage>div:first-child a{outline:none;box-sizing:border-box;display:block;max-width:100%;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding:5px;margin:0;border:1px solid transparent;text-decoration:none;color:#000}.jodit_paste_storage>div:first-child a.jodit_active{color:#fff;background-color:#575757}.jodit_paste_storage>div:first-child a:focus{outline:none}.jodit_paste_storage>div:last-child{padding:10px;overflow:auto}.jodit_paste_storage>div:last-child li,.jodit_paste_storage>div:last-child ul{margin:0}\n.ea-editor-property-control-toggle-wrapper {\n  box-sizing: border-box;\n  display: inline-block;\n  position: relative;\n  overflow: hidden;\n  width: 60px;\n  height: 24px;\n  background: #303131;\n  line-height: 24px;\n  border-radius: 24px;\n  cursor: pointer;\n  transition: all 0.3s ease;\n}\n.ea-editor-property-control-toggle-wrapper:hover .ea-editor-property-control-toggle-inner {\n  background: #7a7b7c;\n}\n.ea-editor-property-control-toggle-before,\n.ea-editor-property-control-toggle-after {\n  display: block;\n  position: absolute;\n  top: 0;\n  height: 24px;\n  line-height: 24px;\n  color: #feffff;\n  text-transform: uppercase;\n  font-size: 10px;\n  font-weight: 500;\n  transition: all 0.3s ease;\n}\n.ea-editor-property-control-toggle-before {\n  left: -32px;\n  color: #feffff;\n}\n.ea-editor-property-control-toggle-after {\n  right: 9px;\n  color: #7e8184;\n}\n.ea-editor-property-control-toggle-inner {\n  display: block;\n  position: absolute;\n  overflow: hidden;\n  top: 3px;\n  left: 3px;\n  width: 18px;\n  height: 18px;\n  background: #646668;\n  border-radius: 50% 50%;\n  transition: all 0.3s ease;\n}\n.ea-editor-property-control-toggle-inner input {\n  display: none !important;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper {\n  background: #212121;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper:hover {\n  background: #212121;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper:hover .ea-editor-property-control-toggle-inner {\n  background: #fff;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-before {\n  left: 10px;\n  opacity: 1;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-after {\n  right: -40px;\n  opacity: 0;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-inner {\n  left: 39px;\n  background: #e5e7e8;\n}\n.ea-editor-property-control-token-wrapper {\n  position: relative;\n}\n.ea-editor-property-control-token-label {\n  color: #fff;\n  font-size: 14px;\n  font-weight: 500;\n  line-height: 12px;\n  text-transform: none;\n}\n.ea-editor-property-control-token-caption {\n  opacity: 0.7;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n}\n.ea-editor-property-control-token-error {\n  color: #ff4f4f;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n  margin-top: 12px;\n}\n.ea-editor-property-control-token-button {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  box-sizing: border-box;\n  border-radius: 2px;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  height: 28px;\n  padding: 6px 16px;\n  position: relative;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button {\n  background-color: #fff;\n  color: #111;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button-type-facebook {\n  background-color: #3c5a9b;\n  color: #fff;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button-type-twitter {\n  background-color: #1da1f2;\n  color: #fff;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button-type-pinterest {\n  background-color: #e60023;\n  color: #fff;\n}\n.ea-editor-property-control-token-state-connected .ea-editor-property-control-token-button {\n  background-color: #474848;\n  color: #fff;\n}\n.ea-editor-property-control-token-button-icon {\n  fill: #fff;\n  width: 12px;\n  height: 12px;\n  margin-right: 12px;\n}\n.ea-editor-property-control-token-button-container {\n  display: inline-flex;\n  align-items: center;\n}\n.ea-editor-property-control-token-status {\n  position: absolute;\n  right: 0;\n  top: 0;\n  line-height: 12px;\n  padding: 6px 0;\n  text-transform: uppercase;\n  font-size: 9px;\n  display: inline-flex;\n  align-items: center;\n}\n.ea-editor-property-control-token-status span {\n  display: inline-flex;\n  align-items: center;\n  position: relative;\n}\n.ea-editor-property-control-token-status span:before {\n  content: "";\n  display: inline-block;\n  background: #000;\n  width: 4px;\n  height: 4px;\n  border-radius: 50%;\n  margin: 0 6px;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-status span {\n  color: #ff4f4f;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-status span:before {\n  background: #ff4f4f;\n}\n.ea-editor-property-control-token-state-connected .ea-editor-property-control-token-status span {\n  color: #4ad504;\n}\n.ea-editor-property-control-token-state-connected .ea-editor-property-control-token-status span:before {\n  background: #4ad504;\n}\n.ea-editor-property-control-token-loader {\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  border-radius: 2px;\n  pointer-events: none;\n}\n.ea-editor-property-control-token-loading .ea-editor-property-control-token-loader {\n  background: #717171;\n}\n.ea-editor-property-control-token-loader:after {\n  content: "";\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  border-radius: 50%;\n  border-style: solid;\n  border-top-color: transparent;\n  animation: preview-loader 1s infinite linear;\n  width: 12px;\n  height: 12px;\n  margin: -6px 0 0 -6px;\n  border-width: 2px;\n  color: #fff;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-token-loading .ea-editor-property-control-token-loader:after {\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-property-control-token-load button {\n  pointer-events: none;\n}\n.ea-editor-property-control-facebook-page-select {\n  position: relative;\n}\n.ea-editor-property-control-facebook-page-select-readonly input {\n  cursor: pointer;\n}\n.ea-editor-property-control-facebook-page-select-open > input {\n  border-radius: 3px 3px 0 0 !important;\n}\n.ea-editor-property-control-facebook-page-select input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 3px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n  appearance: none;\n}\n.ea-editor-property-control-facebook-page-select input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-facebook-page-select:after {\n  display: block;\n  content: \'\';\n  width: 7px;\n  height: 5px;\n  position: absolute;\n  right: 11px;\n  top: 50%;\n  transform: translateY(-50%);\n  background-image: url('+o(2)+");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 7px 5px;\n  pointer-events: none;\n}\n.ea-editor-property-control-facebook-page-select-dropdown {\n  position: absolute;\n  background: #fff;\n  width: 100%;\n  z-index: 10;\n  border: 1px solid #2c2d2d;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-radius: 0 0 6px 6px;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options {\n  max-height: 192px;\n  overflow: auto;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options-item {\n  padding: 6px 16px;\n  transition: 0.3s all ease;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: #fff;\n  line-height: 20px;\n  min-height: 20px;\n  box-sizing: border-box;\n  color: #111;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options-item:hover {\n  background: #eee;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options-item-selected {\n  background: #eee;\n}\n.ea-editor-property-control-facebook-page-select-no-permission {\n  font-size: 14px;\n  color: #ff6161;\n}\n.ea-editor-property-google-sheet-connect {\n  display: flex;\n}\n.ea-editor-property-google-sheet-connect-icon {\n  filter: grayscale(1);\n  width: 40px;\n  height: 40px;\n  margin-right: 12px;\n  transition: all 0.3s;\n  flex: 0 0 40px;\n}\n.ea-editor-property-google-sheet-connect-connected .ea-editor-property-google-sheet-connect-icon {\n  filter: grayscale(0);\n}\n.ea-editor-property-google-sheet-connect-status {\n  font-size: 14px;\n}\n.ea-editor-property-google-sheet-connect-link {\n  font-size: 13px;\n}\n.ea-editor-property-google-sheet-connect-link a {\n  color: #fff;\n  text-decoration: underline;\n}\n.ea-editor-property-elfsight-reviews-source-label {\n  display: flex;\n  justify-content: space-between;\n  position: relative;\n}\n.ea-editor-property-elfsight-reviews-source-label-status {\n  position: relative;\n  margin-left: 8px;\n}\n.ea-editor-property-elfsight-reviews-source-label-status-label {\n  display: inline-flex;\n  align-items: center;\n  position: relative;\n  font-size: 9px;\n  color: #4ad504;\n}\n.ea-editor-property-elfsight-reviews-source-caption {\n  opacity: 0.7;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n}\n.ea-editor-property-ergs-label {\n  display: flex;\n  justify-content: space-between;\n  position: relative;\n}\n.ea-editor-property-ergs-label-status {\n  position: relative;\n  margin-left: 8px;\n}\n.ea-editor-property-ergs-label-status-label {\n  display: inline-flex;\n  align-items: center;\n  position: relative;\n  font-size: 9px;\n  color: #4ad504;\n}\n.ea-editor-property-ergs-caption {\n  opacity: 0.7;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n}\n.ea-editor-property-ergs-applied {\n  display: flex;\n  flex-direction: column;\n  padding: 16px 16px 8px 16px;\n  border-radius: 2px;\n  background-color: #404141;\n  font-size: 13px;\n  line-height: 1.38;\n}\n.ea-editor-property-ergs-applied-name {\n  margin-bottom: 4px;\n  font-weight: 600;\n}\n.ea-editor-property-ergs-applied-change {\n  align-self: flex-end;\n  margin-top: 20px;\n  margin-right: -6px;\n  opacity: 0.7;\n  line-height: 1.23;\n  cursor: pointer;\n}\n.ea-editor-property-ergs-applied-change:hover {\n  opacity: 1;\n  text-decoration: underline;\n}\n.ea-editor-property-ergs-search {\n  position: relative;\n}\n.ea-editor-property-ergs-search-results {\n  position: absolute;\n  z-index: 1;\n  overflow: hidden;\n  top: 100%;\n  right: 0;\n  left: 0;\n  margin-top: 4px;\n  border-radius: 6px;\n  background: #fff;\n}\n.ea-editor-property-ergs-search-results-heading {\n  padding: 8px 12px 4px;\n  font-size: 11px;\n  line-height: 1.45;\n  text-transform: uppercase;\n  color: rgba(17,17,17,0.5);\n}\n.ea-editor-property-ergs-search-results-item {\n  padding: 8px 12px;\n  color: #111;\n  background-color: transparent;\n  cursor: pointer;\n}\n.ea-editor-property-ergs-search-results-item:hover {\n  background-color: #eee;\n}\n.ea-editor-property-ergs-search-results-item-name {\n  font-weight: 600;\n  font-size: 13px;\n  line-height: 1.38;\n}\n.ea-editor-property-ergs-search-results-item-vicinity {\n  font-size: 11px;\n  line-height: 1.45;\n}\n.ea-editor-property-ergs-search-results-empty {\n  padding: 10px 12px;\n  font-size: 13px;\n  line-height: 1.38;\n  color: rgba(17,17,17,0.5);\n}\n.ea-editor-property-ergs-loading-dots {\n  display: inline-block;\n  width: 14px;\n  letter-spacing: 1px;\n}\n.ea-editor-property-ergs-loading-dots::after {\n  animation: 1s linear infinite keyframes-loading-dots;\n  content: '';\n}\n@-moz-keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n@-webkit-keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n@-o-keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n@keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n.ea-editor-toolbar {\n  position: absolute;\n  top: 80px;\n  right: 0;\n}\n@media only screen and (max-width: 480px) {\n  .ea-editor-toolbar {\n    display: none;\n  }\n}\n.ea-editor-toolbar-item {\n  position: relative;\n}\n.ea-editor-toolbar-item:first-child .ea-editor-toolbar-item-trigger {\n  padding-top: 6px;\n}\n.ea-editor-toolbar-item:last-child .ea-editor-toolbar-item-trigger {\n  padding-bottom: 6px;\n}\n.ea-editor-toolbar-item-trigger {\n  box-sizing: border-box;\n  padding: 3px 6px;\n  background: #38393a;\n  cursor: pointer;\n}\n.ea-editor-toolbar-item-trigger:hover .ea-editor-toolbar-item-icon svg {\n  fill: #fff;\n}\n.ea-editor-toolbar-item-icon {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 26px;\n  height: 26px;\n}\n.toolbar-item-active .ea-editor-toolbar-item-icon {\n  background: #2c2c2d;\n}\n.ea-editor-toolbar-item-icon svg {\n  width: 16px;\n  height: 16px;\n  fill: #66686a;\n  transition: 0.1s;\n}\n.toolbar-item-active .ea-editor-toolbar-item-icon svg {\n  fill: #fff;\n}\n.ea-editor-toolbar-item-values {\n  visibility: hidden;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  position: absolute;\n  top: 0px;\n  right: 38px;\n  padding: 0 2px;\n  border-radius: 2px;\n  transition: 0.2s;\n  opacity: 0;\n  background: #38393a;\n}\n.toolbar-item-active .ea-editor-toolbar-item-values {\n  visibility: visible;\n  opacity: 1;\n  right: 42px;\n}\n.ea-editor-toolbar-item-value {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  padding: 4px 2px;\n  cursor: pointer;\n}\n.ea-editor-toolbar-item-value-icon {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 26px;\n  height: 26px;\n  border-radius: 2px;\n}\n.ea-editor-toolbar-resolution-value:hover .ea-editor-toolbar-resolution-value-icon svg {\n  fill: #fff;\n}\n.toolbar-item-value-active .ea-editor-toolbar-resolution-value-icon {\n  background: #2c2c2d;\n}\n.ea-editor-toolbar-resolution-value-icon svg {\n  width: 16px;\n  height: 16px;\n  fill: #66686a;\n  transition: 0.1s;\n}\n.toolbar-item-value-active .ea-editor-toolbar-resolution-value-icon svg {\n  fill: #fff;\n}\n.ea-editor-toolbar-background-value:hover.toolbar-item-value-active .ea-editor-toolbar-background-value-icon-color {\n  box-shadow: 0 0 0 2px #fc4264;\n}\n.ea-editor-toolbar-background-value:hover .ea-editor-toolbar-background-value-icon-color {\n  box-shadow: 0 0 0 2px #fff;\n}\n.ea-editor-toolbar-background-value-icon {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-toolbar-background-value-icon-color {\n  box-sizing: border-box;\n  width: 18px;\n  height: 18px;\n  border-radius: 2px;\n  box-shadow: 0 0 0 1px #474848;\n}\n.toolbar-item-value-active .ea-editor-toolbar-background-value-icon-color {\n  box-shadow: 0 0 0 2px #fc4264;\n}\n.ea-editor-toolbar-background-white {\n  background: #fff;\n}\n.ea-editor-toolbar-background-black {\n  background: #252627;\n}\n.ea-editor-toolbar-background-white-chess {\n  background-size: 10px;\n  background-image: url("+o(3)+");\n}\n.ea-editor-toolbar-background-black-chess {\n  background-size: 10px;\n  background-image: url("+o(4)+");\n}\n.ea-editor-preview-overlay-white {\n  background: #fff;\n}\n.ea-editor-preview-overlay-black {\n  background: #252627;\n}\n.ea-editor-preview-overlay-white-chess {\n  background-image: url("+o(3)+");\n}\n.ea-editor-preview-overlay-black-chess {\n  background-image: url("+o(4)+");\n}\n.ea-editor-templates {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: #38393a;\n  transition: all 0.3s ease;\n  transform: translateX(-100%);\n  z-index: 6;\n}\n.ea-editor-templates-enable {\n  transition: 0s;\n  transform: translateX(0);\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-templates-hide {\n  transition: all 0.3s ease;\n  transform: translateX(-100%);\n  opacity: 0;\n  pointer-events: 0;\n  visibility: hidden;\n}\n.ea-editor-templates-wrapper {\n  padding-bottom: 88px;\n  overflow: auto;\n  height: 100%;\n  box-sizing: border-box;\n}\n.ea-editor-templates-wrapper::-webkit-scrollbar-track {\n  background-color: #f0f0f0;\n  padding: 0 2px;\n}\n.ea-editor-templates-wrapper::-webkit-scrollbar {\n  width: 6px;\n}\n.ea-editor-templates-wrapper::-webkit-scrollbar-thumb {\n  background-color: #888;\n}\n.ea-editor-templates-header {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  text-align: center;\n  display: block;\n  padding: 28px 20px;\n}\n.ea-editor-templates-item {\n  margin-left: 20px;\n  width: 138px;\n  display: inline-flex;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  position: relative;\n  margin-bottom: 20px;\n  border-radius: 2px;\n  backface-visibility: hidden;\n}\n.ea-editor-templates-item-inner {\n  height: 100%;\n  position: relative;\n  z-index: 1;\n  background-color: #252627;\n  margin: 2px;\n  border-radius: 2px;\n  overflow: hidden;\n  width: calc(100% - 4px);\n}\n.ea-editor-templates-item:before {\n  background: linear-gradient(40deg, transparent 15%, transparent 50%, transparent 85%);\n  content: '';\n  top: -2px;\n  bottom: -2px;\n  left: -2px;\n  right: -2px;\n  display: block;\n  position: absolute;\n  opacity: 0;\n  transition: 0.3s all ease;\n}\n.ea-editor-templates-item:hover:before {\n  background: rgba(255,255,255,0.1);\n  opacity: 1;\n}\n.ea-editor-templates-item-image {\n  width: 134px;\n  height: 134px;\n  display: block;\n}\n.ea-editor-templates-item-image-container {\n  width: 134px;\n  height: 134px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-grow: 0;\n}\n.ea-editor-templates-item-active:hover:before {\n  background: linear-gradient(180deg, #ffa450 0%, #ff4177 100%);\n}\n.ea-editor-templates-item-active:before {\n  background: linear-gradient(180deg, #ffa450 0%, #ff4177 100%);\n  opacity: 1;\n}\n.ea-editor-templates-item-title {\n  color: #fff;\n  margin-top: auto;\n  font-size: 14px;\n  font-weight: 400;\n  overflow: hidden;\n  height: 62px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-shrink: 0;\n  max-width: 100%;\n  padding: 12px;\n  box-sizing: border-box;\n  text-align: center;\n  line-height: 18px;\n}\n.ea-editor-templates-item-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-templates-actions {\n  position: absolute;\n  display: flex;\n  bottom: 0;\n  z-index: 1;\n  justify-content: center;\n  align-items: center;\n  padding: 20px 0;\n  width: 100%;\n  background-color: #404141;\n}\n.ea-editor-templates-actions-customize {\n  background: none;\n  border-radius: 4px;\n  border: none;\n  box-sizing: border-box;\n  color: #fff;\n  font-weight: 600;\n  cursor: pointer;\n  display: inline-flex;\n  justify-content: center;\n  align-content: center;\n  align-items: center;\n  position: relative;\n  outline: none;\n  text-align: center;\n  transition: all 0.4s ease;\n  text-transform: none;\n  background-color: #fa4772;\n  font-size: 15px;\n  line-height: 24px;\n  padding: 8px 40px;\n  padding-right: 16px;\n  padding-left: 32px;\n  height: 40px;\n}\n.ea-editor-templates-actions-customize:hover {\n  transform: translateY(-3px);\n  box-shadow: 0 8px 20px rgba(0,0,0,0.1);\n}\n.ea-editor-templates-actions-customize svg {\n  width: 24px;\n  height: 24px;\n  margin-left: 8px;\n  fill: #fff;\n  display: block;\n}\n@-moz-keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n@-webkit-keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n@-o-keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n@keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var o=this[t];o[2]?e.push("@media "+o[2]+"{"+o[1]+"}"):e.push(o[1])}return e.join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(n[r]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&n[a[0]]||(o&&!a[2]?a[2]=o:o&&(a[2]="("+a[2]+") and ("+o+")"),e.push(a))}},e}},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMiAxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIgMTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNmZmZmZmY7IiBkPSJNOS45LDMuMWMtMC4yLDAtMC4zLDAtMC40LDAuMkw1LjMsNy41TDMuNCw1LjZDMy4zLDUuNSwzLjEsNS40LDMsNS41Yy0wLjEsMC0wLjMsMC4xLTAuNCwwLjJDMi41LDUuNywyLjQsNS45LDIuNCw2CgkJCWMwLDAuMiwwLDAuMywwLjIsMC40bDIuMywyLjNDNSw4LjgsNS4xLDguOSw1LjMsOC45YzAuMSwwLDAuMy0wLjEsMC40LTAuMmw0LjYtNC42YzAuMS0wLjEsMC4yLTAuMywwLjItMC40CgkJCWMwLTAuMS0wLjEtMC4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+Cgk8L2c+Cjwvc3ZnPgo="},function(e,t,o){var n={},i=function(e){var t;return function(){return void 0===t&&(t=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),t}}(),r=function(e){var t={};return function(e){if(void 0===t[e]){var o=function(e){return document.querySelector(e)}.call(this,e);if(o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),a=null,s=0,l=[],c=o(51);function d(e,t){for(var o=0;o<e.length;o++){var i=e[o],r=n[i.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](i.parts[a]);for(;a<i.parts.length;a++)r.parts.push(m(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(m(i.parts[a],t));n[i.id]={id:i.id,refs:1,parts:s}}}}function p(e,t){for(var o=[],n={},i=0;i<e.length;i++){var r=e[i],a=t.base?r[0]+t.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};n[a]?n[a].parts.push(s):o.push(n[a]={id:a,parts:[s]})}return o}function u(e,t){var o=r(e.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=l[l.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),l.push(t);else if("bottom"===e.insertAt)o.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=r(e.insertInto+" "+e.insertAt.before);o.insertBefore(t,i)}}function f(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function h(e){var t=document.createElement("style");return e.attrs.type="text/css",g(t,e.attrs),u(e,t),t}function g(e,t){Object.keys(t).forEach(function(o){e.setAttribute(o,t[o])})}function m(e,t){var o,n,i,r;if(t.transform&&e.css){if(!(r=t.transform(e.css)))return function(){};e.css=r}if(t.singleton){var l=s++;o=a||(a=h(t)),n=b.bind(null,o,l,!1),i=b.bind(null,o,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",g(t,e.attrs),u(e,t),t}(t),n=function(e,t,o){var n=o.css,i=o.sourceMap,r=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||r)&&(n=c(n)),i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,o,t),i=function(){f(o),o.href&&URL.revokeObjectURL(o.href)}):(o=h(t),n=function(e,t){var o=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),i=function(){f(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=p(e,t);return d(o,t),function(e){for(var i=[],r=0;r<o.length;r++){var a=o[r];(s=n[a.id]).refs--,i.push(s)}for(e&&d(p(e,t),t),r=0;r<i.length;r++){var s;if(0===(s=i[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete n[s.id]}}}};var v=function(){var e=[];return function(t,o){return e[t]=o,e.filter(Boolean).join("\n")}}();function b(e,t,o,n){var i=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var r=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var o=t.protocol+"//"+t.host,n=o+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r)?e:(i=0===r.indexOf("//")?r:0===r.indexOf("/")?o+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,o){

e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=(function(){function e(e){var t,o;function n(t,o){try{var r=e[t](o),a=r.value;a instanceof function(e){this.value=e}?Promise.resolve(a.value).then(function(e){n("next",e)},function(e){n("throw",e)}):i(r.done?"return":"normal",r.value)}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?n(t.key,t.arg):o=null}this._invoke=function(e,i){return new Promise(function(r,a){var s={key:e,arg:i,resolve:r,reject:a,next:null};o?o=o.next=s:(t=o=s,n(e,i))})},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(e){return this._invoke("next",e)},e.prototype.throw=function(e){return this._invoke("throw",e)},e.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),n=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),i=function(){function i(e,t,n,r,a){o(this,i),this.$scope=e,this.$element=t,this.$document=n,this.$timeout=r,this.ColorPickerOptions=a,this.$scope.init=this.init.bind(this),this.ngModelOptions={},this.hue=0,this.saturation=void 0,this.lightness=void 0,this.opacity=void 0,this.basicEventTypes=["hue","saturation","lightness","opacity"],this.fullEventTypes=["color","hue","saturation","lightness","opacity"]}return i.$inject=["_$scope","_$element","_$document","_$timeout","_ColorPickerOptions"],n(i,[{key:"init",value:function(){this.$scope.control[0].$options&&this.$scope.control[0].$options.$$options&&(this.ngModelOptions=this.$scope.control[0].$options.$$options),this.chrome=Boolean(window.chrome);var e=window.navigator.userAgent.match(/Android\s([0-9\.]*)/i);this.android_version=e&&e.length>1?parseFloat(e[1]):NaN,this.updateModel=!0,this.initWatchers(),this.initConfig(),this.initMouseEvents()}},{key:"initConfig",value:function(){this.options||(this.options={}),this.mergeOptions(this.options,this.ColorPickerOptions),this.is_open=this.options.inline,this.options.inline&&(this.options.close.show=!1),this.pickerDimensions={width:150,height:150},this.sliderDimensions={width:this.options.horizontal?this.pickerDimensions.width:20,height:this.options.horizontal?20:this.pickerDimensions.height}}},{key:"mergeOptions",value:function(e,o){for(var n in o)o.hasOwnProperty(n)&&(e&&e.hasOwnProperty(n)?"object"===t(o[n])&&this.mergeOptions(e[n],o[n]):e[n]=o[n])}},{key:"initWatchers",value:function(){var e=this;this.$scope.$watch("AngularColorPickerController.internalNgModel",this.watchInternalNgModel.bind(this)),this.$scope.$watch("AngularColorPickerController.ngModel",this.watchNgModel.bind(this)),this.$scope.$watch("AngularColorPickerController.options.swatchPos",function(t){void 0!==t&&(e.initConfig(),e.$timeout(function(){e.updateSwatchBackground()}))}),this.$scope.$watchGroup(["AngularColorPickerController.options.format","AngularColorPickerController.options.alpha","AngularColorPickerController.options.case","AngularColorPickerController.options.round","AngularColorPickerController.options.restrictToFormat","AngularColorPickerController.options.preserveInputFormat","AngularColorPickerController.options.allowEmpty","AngularColorPickerController.options.horizontal","AngularColorPickerController.options.dynamicHue","AngularColorPickerController.options.dynamicSaturation","AngularColorPickerController.options.dynamicLightness","AngularColorPickerController.options.dynamicAlpha"],function(t){void 0!==t&&(e.initConfig(),e.update())}),this.$scope.$watchGroup(["AngularColorPickerController.options.disabled","AngularColorPickerController.options.swatchBootstrap","AngularColorPickerController.options.swatchOnly","AngularColorPickerController.options.swatch","AngularColorPickerController.options.pos","AngularColorPickerController.options.inline","AngularColorPickerController.options.placeholder"],function(t){void 0!==t&&e.initConfig()}),this.$scope.$watch("AngularColorPickerController.api",this.setupApi.bind(this)),this.$scope.$watch("AngularColorPickerController.swatchColor",this.updateSwatchBackground.bind(this)),this.$scope.$watch("AngularColorPickerController.hue",function(){e.valueUpdate("hue")}),this.$scope.$watch("AngularColorPickerController.saturation",function(){e.valueUpdate("saturation")}),this.$scope.$watch("AngularColorPickerController.lightness",function(){e.valueUpdate("lightness")}),this.$scope.$watch("AngularColorPickerController.opacity",function(){e.valueUpdate("opacity")})}},{key:"watchInternalNgModel",value:function(e,t){this.colorMouse||this.watchNgModelSet(e)}},{key:"watchNgModel",value:function(e,t){void 0===e||this.hasOwnProperty("initialNgModel")||(this.initialNgModel=e),this.checkDirty(e),this.internalNgModel=this.ngModelOptions.getterSetter?this.ngModel():this.ngModel,this.colorMouse||this.watchNgModelSet(e)}},{key:"watchNgModelSet",value:function(t){var o=this;if(null!=t){var n=e(t),i=this.isColorValid(n);i&&(this.setColorValue(n),this.updateModel=!1,this.$timeout(function(){o.updateModel=!0})),this.$scope.control[0].$setValidity("color",i)}else null!==t&&""!==t||(this.hue=0,this.saturation=void 0,this.lightness=void 0,this.opacity=void 0),this.swatchColor=""}},{key:"initMouseEvents",value:function(){var e=this,t={mouseDown:this.onMouseDown.bind(this),mouseUp:this.onMouseUp.bind(this),mouseMove:this.onMouseMove.bind(this),keyUp:this.onKeyUp.bind(this)};this.$document.on("mousedown",t.mouseDown),this.$document.on("mouseup",t.mouseUp),this.$document.on("mousemove",t.mouseMove),this.$document.on("touchstart",t.mouseDown),this.$document.on("touchend",t.mouseUp),this.$document.on("touchmove",t.mouseMove),this.$document.on("keyup",t.keyUp),this.find(".color-picker-grid").on("click",function(t){e.onClick("color",t)}),this.find(".color-picker-grid").on("touchend",function(t){e.onClick("color",t)}),this.find(".color-picker-hue").on("click",function(t){e.onClick("hue",t)}),this.find(".color-picker-hue").on("touchend",function(t){e.onClick("hue",t)}),this.find(".color-picker-saturation").on("click",function(t){e.onClick("saturation",t)}),this.find(".color-picker-saturation").on("touchend",function(t){e.onClick("saturation",t)}),this.find(".color-picker-lightness").on("click",function(t){e.onClick("lightness",t)}),this.find(".color-picker-lightness").on("touchend",function(t){e.onClick("lightness",t)}),this.find(".color-picker-opacity").on("click",function(t){e.onClick("opacity",t)}),this.find(".color-picker-opacity").on("touchend",function(t){e.onClick("opacity",t)}),this.find(".color-picker-input").on("focusin",this.onFocus.bind(this)),this.find(".color-picker-input").on("focusout",this.onBlur.bind(this)),this.$scope.$on("$destroy",function(){e.$document.off("mousedown",t.mouseDown),e.$document.off("mouseup",t.mouseUp),e.$document.off("mousemove",t.mouseMove),e.$document.off("touchstart",t.mouseDown),e.$document.off("touchend",t.mouseUp),e.$document.off("touchmove",t.mouseMove),e.$document.off("keyup",t.keyUp),e.eventApiDispatch("onDestroy")})}},{key:"onMouseDown",value:function(e){if(this.has_moused_moved=!1,this.options.disabled||0===this.find(e.target).length)return!0;for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseDownType(this.fullEventTypes[t],e)}},{key:"onMouseDownType",value:function(e,t){"color"===e&&(t.target.classList.contains("color-picker-grid-inner")||t.target.classList.contains("color-picker-picker")||t.target.parentNode.classList.contains("color-picker-picker"))?this.mouseEventToggle(e,!1,t):(t.target.classList.contains("color-picker-"+e)||t.target.parentNode.classList.contains("color-picker-"+e))&&this.mouseEventToggle(e,!1,t)}},{key:"onMouseUp",value:function(e){if(this.anyMouseEvents()||0!==this.find(e.target).length)for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseUpType(this.fullEventTypes[t],e);else this.setupApi(),this.options.hide.click&&this.api.close(e),this.$scope.$apply()}},{key:"onMouseUpType",value:function(e,t){this[e+"Mouse"]&&this.has_moused_moved&&(this.mouseEventToggle(e,!0,t),this.onChange(t))}},{key:"onMouseMove",value:function(e){for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseMoveType(this.fullEventTypes[t],e)}},{key:"onMouseMoveType",value:function(e,t){this[e+"Mouse"]&&(this.has_moused_moved=!0,this.valueChange(e,t),this.$scope.$apply())}},{key:"onKeyUp",value:function(e){this.options.hide.escape&&27===e.keyCode&&this.api.close(e)}},{key:"onClick",value:function(e,t){this.options.disabled||this.has_moused_moved||(this.valueChange(e,t),this.mouseEventToggle(e,!0,t),this.onChange(t))}},{key:"onChange",value:function(e){this.internalNgModel!==this.onChangeValue&&(this.onChangeValue=this.internalNgModel,this.eventApiDispatch("onChange",[e]))}},{key:"onBlur",value:function(e){this.internalNgModel!==this.onChangeValue&&(this.updateModel=!0,this.update()),this.$scope.control[0].$setTouched(),this.eventApiDispatch("onBlur",[e])}},{key:"onSwatchClick",value:function(e){this.options.show.swatch&&!this.options.disabled&&this.api.open(e)}},{key:"onFocus",value:function(e){this.options.show.focus&&this.api.open(e)}},{key:"setupApi",value:function(){var e=this;this.api||(this.api={}),this.api.open=function(t){if(e.is_open)return!0;e.is_open=!0,e.hueMouse=!1,e.opacityMouse=!1,e.colorMouse=!1,e.$scope.$applyAsync();for(var o=0;o<e.basicEventTypes.length;o++)e.valueUpdate(e.basicEventTypes[o]);e.eventApiDispatch("onOpen",[t])},this.api.close=function(t){e.options.inline||!e.is_open&&null===e.$element[0].querySelector(".color-picker-panel").offsetParent||(e.is_open=!1,e.$scope.$applyAsync(),e.update(),e.eventApiDispatch("onClose",[t]))},this.api.clear=function(t){e.setNgModel(null),e.eventApiDispatch("onClear",[t])},this.api.reset=function(t){e.internalNgModel!==e.initialNgModel&&(e.setNgModel(e.initialNgModel),e.eventApiDispatch("onReset",[t]))},this.api.getElement=function(){return e.$element},this.api.getScope=function(){return e.$scope}}},{key:"setNgModel",value:function(e){this.internalNgModel=e,this.ngModelOptions.getterSetter?this.ngModel(e):this.ngModel=e}},{key:"update",value:function(){if(!this.areAllValuesSet())return!1;var t=e(this.getColorValue());this.swatchColor=t.toHslString(),this.updateGridBackground(t),this.updateHueBackground(t),this.huePosUpdate(),this.updateSaturationBackground(t),this.saturationPosUpdate(),this.updateLightnessBackground(t),this.lightnessPosUpdate(),this.updateOpacityBackground(t),this.opacityPosUpdate();var o=this.options.preserveInputFormat&&e(this.internalNgModel).toHsvString()===t.toHsvString();if(this.updateModel&&!o){var n=t[{rgb:"toRgbString",hex:"toHex",hex8:"toHex8",hexstring:"toHexString",hex8string:"toHex8String",hsv:"toHsvString",hsl:"toHslString",raw:"clone"}[this.options.format.toLowerCase()]]();this.options.format.match(/hex/i)&&(n="upper"===this.options.case?n.toUpperCase():n.toLowerCase()),this.setNgModel(n)}}},{key:"mouseEventToggle",value:function(e,t,o){this.stopEvent(o),this[e+"Mouse"]=!t,this.$scope.$apply()}},{key:"valueChange",value:function(e,t){if(this.stopEvent(t),"color"===e)return this.colorChange(t);var o=this.find(".color-picker-"+e),n=this.getEventPos(t),i=this.getMaxFromType(e);this[e]=this.calculateSliderPos(o,n,i),this[e]>i?this[e]=i:this[e]<0&&(this[e]=0)}},{key:"valueUpdate",value:function(e){if(void 0!==this[e]){if("saturation"===e)this[e+"Pos"]=this[e];else{var t=this.getMaxFromType(e);this[e+"Pos"]=100*(1-this[e]/t)}this[e+"Pos"]<0?this[e+"Pos"]=0:this[e+"Pos"]>100&&(this[e+"Pos"]=100),this.options.round&&(this.getRoundPos(),this.updateRoundPos()),this[e+"PosUpdate"](),this.update()}}},{key:"huePosUpdate",value:function(){var e=angular.element(this.$element[0].querySelector(".color-picker-hue .color-picker-slider"));this.options.horizontal?e.css({left:this.sliderDimensions.width*this.huePos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.huePos/100+"px"})}},{key:"updateHueBackground",value:function(t){var o=this.find(".color-picker-hue .color-picker-overlay"),n=this.options.horizontal?"left":"top",i=this.getColorValue(this.options.dynamicHue),r=this.getColorValue(this.options.dynamicHue),a=this.getColorValue(this.options.dynamicHue),s=this.getColorValue(this.options.dynamicHue),l=this.getColorValue(this.options.dynamicHue),c=this.getColorValue(this.options.dynamicHue),d=this.getColorValue(this.options.dynamicHue);i.h=0,r.h=60,a.h=120,s.h=180,l.h=240,c.h=300,d.h=359,o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 17%, "+e(a).toRgbString()+" 33%, "+e(s).toRgbString()+" 50%, "+e(l).toRgbString()+" 67%, "+e(c).toRgbString()+" 83%, "+e(d).toRgbString()+" 100%)"})}},{key:"saturationPosUpdate",value:function(){var e;this.options.round||(e=angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker"))).css({left:this.pickerDimensions.height*this.saturationPos/100+"px"}),e=angular.element(this.$element[0].querySelector(".color-picker-saturation .color-picker-slider")),this.options.horizontal?e.css({left:this.sliderDimensions.width*(100-this.saturationPos)/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*(100-this.saturationPos)/100+"px"})}},{key:"updateSaturationBackground",value:function(t){var o=this.find(".color-picker-saturation .color-picker-overlay"),n=this.options.horizontal?"right":"bottom",i=this.getColorValue(this.options.dynamicSaturation),r=this.getColorValue(this.options.dynamicSaturation);i.s="100%",r.s="0%",o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 100%)"})}},{key:"lightnessPosUpdate",value:function(){var e;this.options.round||(e=angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker"))).css({top:this.pickerDimensions.width*this.lightnessPos/100+"px"}),e=angular.element(this.$element[0].querySelector(".color-picker-lightness .color-picker-slider")),this.options.horizontal?e.css({left:this.sliderDimensions.width*this.lightnessPos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.lightnessPos/100+"px"})}},{key:"updateLightnessBackground",value:function(t){var o=this.find(".color-picker-lightness .color-picker-overlay"),n=this.options.horizontal?"right":"bottom",i=this.getColorValue(this.options.dynamicLightness),r=this.getColorValue(this.options.dynamicLightness),a=this.getColorValue(this.options.dynamicLightness);this.options.round?(i.l=100,r.l=50,a.l=0):(i.v=100,r.v=50,a.v=0),o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 50%, "+e(a).toRgbString()+" 100%)"})}},{key:"opacityPosUpdate",value:function(){var e=angular.element(this.$element[0].querySelector(".color-picker-opacity .color-picker-slider"));this.options.horizontal?e.css({left:this.sliderDimensions.width*this.opacityPos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.opacityPos/100+"px"})}},{key:"updateOpacityBackground",value:function(t){var o=this.find(".color-picker-opacity .color-picker-overlay"),n=this.options.horizontal?"right":"bottom",i=this.getColorValue(this.options.dynamicAlpha),r=this.getColorValue(this.options.dynamicAlpha);i.a=1,r.a=0,o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 100%)"})}},{key:"colorChange",value:function(e){this.stopEvent(e);var t=this.find(".color-picker-grid-inner"),o=this.getEventPos(e),n=this.offset(t);this.options.round?this.colorChangeRound(t,n,o):this.colorChangeSquare(t,n,o)}},{key:"colorChangeRound",value:function(e,t,o){var n=2*(o.pageX-t.left)/e.prop("offsetWidth")-1,i=-2*(o.pageY-t.top)/e.prop("offsetHeight")+1,r=Math.atan2(i,n),a=Math.round(57.29577951308233*r);a<0&&(a+=360),this.hue=a;var s=Math.sqrt(n*n+i*i);s>1?s=1:s<0&&(s=0),this.saturation=100*s,void 0===this.lightness&&(this.lightness=50)}},{key:"colorChangeSquare",value:function(e,t,o){this.saturation=(o.pageX-t.left)/e.prop("offsetWidth")*100,this.lightness=100*(1-(o.pageY-t.top)/e.prop("offsetHeight")),this.saturation>100?this.saturation=100:this.saturation<0&&(this.saturation=0),this.lightness>100?this.lightness=100:this.lightness<0&&(this.lightness=0)}},{key:"updateGridBackground",value:function(t){var o=this.find(".color-picker-grid .color-picker-overlay"),n=this.getColorValue();this.options.round?n.s="0%":(n.s="100%",n.v="100%",n.a=1),o.css({"background-color":e(n).toRgbString(),opacity:t.getAlpha()}),this.find(".color-picker-grid .color-picker-grid-inner").css({opacity:t.getAlpha()})}},{key:"updateSwatchBackground",value:function(){angular.element(this.$element[0].querySelector(".color-picker-swatch")).css({"background-color":this.swatchColor})}},{key:"isColorValid",value:function(e){var t=e.isValid();if(t&&this.options.restrictToFormat&&(t=e.getFormat()===this.getTinyColorFormat()),!t&&this.options.allowEmpty){var o=e.getOriginalInput();null!=o&&""!==o||(t=!0)}return t}},{key:"getTinyColorFormat",value:function(){return"hexString"===this.options.format?"hex":"hex8String"===this.options.format?"hex8":this.options.format}},{key:"areAllValuesSet",value:function(){return void 0!==this.hue&&void 0!==this.saturation&&void 0!==this.lightness}},{key:"getColorValue",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={h:this.hue,s:e?this.saturation+"%":"100%",v:e?this.lightness+"%":"100%"};return this.options.round&&(o={h:this.hue,s:e?this.saturation+"%":"100%",l:e?this.lightness+"%":"50%"}),t&&(o.a=e?this.opacity/100:1),o}},{key:"setColorValue",value:function(e){var t=!this.anyMouseEvents(),o=this.options.round?e.toHsl():e.toHsv();(t||this.hueMouse)&&(this.hue=o.h),(t||this.saturationMouse)&&(this.saturation=100*o.s),(t||this.lightnessMouse)&&(this.lightness=100*(this.options.round?o.l:o.v)),this.options.alpha&&(t||this.opacityMouse)&&(this.opacity=100*o.a)}},{key:"checkDirty",value:function(e){this.hasOwnProperty("initialNgModel")&&(e===this.initialNgModel?"function"==typeof this.$scope.control[0].$setPristine&&this.$scope.control[0].$setPristine():"function"==typeof this.$scope.control[0].$setDirty&&this.$scope.control[0].$setDirty())}},{key:"stopEvent",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"getRoundPos",value:function(){var e=.01745329251994*this.hue,t=Math.cos(e)*this.saturation,o=-Math.sin(e)*this.saturation;if(this.xPos=.5*(t+100),this.yPos=.5*(o+100),Math.pow(50-this.xPos,2)+Math.pow(50-this.yPos,2)>Math.pow(50,2)){var n=Math.atan2(this.yPos-50,this.xPos-50);this.xPos=50*Math.cos(n)+50,this.yPos=50*Math.sin(n)+50}}},{key:"updateRoundPos",value:function(){angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker")).css({left:this.pickerDimensions.width*this.xPos/100+"px",top:this.pickerDimensions.height*this.yPos/100+"px"})}},{key:"getEventPos",value:function(e){if(0===e.type.search("touch")){if(e.originalEvent&&e.originalEvent.changedTouches)return e.originalEvent.changedTouches[0];if(e.changedTouches)return e.changedTouches[0]}return e}},{key:"calculateSliderPos",value:function(e,t,o){return this.options.horizontal?Math.round((1-(t.pageX-this.offset(e).left)/e.prop("offsetWidth"))*o):Math.round((1-(t.pageY-this.offset(e).top)/e.prop("offsetHeight"))*o)}},{key:"eventApiDispatch",value:function(e,t){this.eventApi&&"function"==typeof this.eventApi[e]&&(t||(t=[]),t.unshift(this.internalNgModel),t.unshift(this.api),this.eventApi[e].apply(this,t))}},{key:"find",value:function(e){var t,o=this.wrapper?this.wrapper[0]:this.$element[0],n=[];if(!e)return n;if("string"==typeof e){if(1!==(t=o.nodeType)&&9!==t)return[];n=o.querySelectorAll(e)}else o.contains(e)&&n.push(e);return angular.element(n)}},{key:"offset",value:function(e){var t,o,n,i,r=e[0];if(r)return r.getClientRects().length?(n=r.getBoundingClientRect()).width||n.height?(i=r.ownerDocument,o=this.getWindowElements(i),t=i.documentElement,this.chrome&&this.android_version<6&&screen.width<=768?{top:n.top-t.clientTop,left:n.left-t.clientLeft}:{top:n.top+o.pageYOffset-t.clientTop,left:n.left+o.pageXOffset-t.clientLeft}):n:{top:0,left:0}}},{key:"getWindowElements",value:function(e){return null!==e&&e===e.window?e:9===e.nodeType&&e.defaultView}},{key:"anyMouseEvents",value:function(){return this.colorMouse||this.hueMouse||this.saturationMouse||this.lightnessMouse||this.opacityMouse}},{key:"getMaxFromType",value:function(e){return"hue"===e?360:100}}]),i}();function r(e){e.put("template/color-picker/directive.html",'<div class="color-picker-wrapper" ng-class="{\'color-picker-disabled\': AngularColorPickerController.options.disabled,\'color-picker-swatch-only\': AngularColorPickerController.options.swatchOnly,\'color-picker-open\': AngularColorPickerController.is_open,\'color-picker-closed\': !AngularColorPickerController.is_open,\'color-picker-horizontal\': AngularColorPickerController.options.horizontal,}"><div class="color-picker-input-wrapper" ng-class="{\'input-group\': AngularColorPickerController.options.swatchBootstrap && AngularColorPickerController.options.swatch}"><span ng-if="AngularColorPickerController.options.swatchPos === \'left\'" class="color-picker-swatch" ng-click="AngularColorPickerController.onSwatchClick($event)" ng-show="AngularColorPickerController.options.swatch" ng-class="{\'color-picker-swatch-left\': AngularColorPickerController.options.swatchPos !== \'right\', \'color-picker-swatch-right\': AngularColorPickerController.options.swatchPos === \'right\', \'input-group-addon\': AngularColorPickerController.options.swatchBootstrap}"></span><input ng-attr-id="{{AngularColorPickerController.options.id}}" ng-attr-name="{{AngularColorPickerController.options.name}}" class="color-picker-input {{AngularColorPickerController.options.inputClass}}" type="text" ng-model="AngularColorPickerController.internalNgModel" ng-model-options="AngularColorPickerController.ngModelOptions" ng-readonly="AngularColorPickerController.options.swatchOnly" ng-disabled="AngularColorPickerController.options.disabled" ng-change="AngularColorPickerController.onChange($event)" size="7" ng-class="{\'color-picker-input-swatch\': AngularColorPickerController.options.swatch && !AngularColorPickerController.options.swatchOnly && AngularColorPickerController.options.swatchPos === \'left\'}" placeholder="{{AngularColorPickerController.options.placeholder}}" ng-required="AngularColorPickerController.options.required"><span ng-if="AngularColorPickerController.options.swatchPos === \'right\'" class="color-picker-swatch" ng-click="AngularColorPickerController.onSwatchClick($event)" ng-show="AngularColorPickerController.options.swatch" ng-class="{\'color-picker-swatch-left\': AngularColorPickerController.options.swatchPos !== \'right\', \'color-picker-swatch-right\': AngularColorPickerController.options.swatchPos === \'right\', \'input-group-addon\': AngularColorPickerController.options.swatchBootstrap}"></span></div><div class="color-picker-panel" ng-class="{\'color-picker-panel-top color-picker-panel-right\': AngularColorPickerController.options.pos === \'top right\',\'color-picker-panel-top color-picker-panel-left\': AngularColorPickerController.options.pos === \'top left\',\'color-picker-panel-bottom color-picker-panel-right\': AngularColorPickerController.options.pos === \'bottom right\',\'color-picker-panel-bottom color-picker-panel-left\': AngularColorPickerController.options.pos === \'bottom left\',\'color-picker-panel-round\': AngularColorPickerController.options.round,\'color-picker-show-hue\': AngularColorPickerController.options.hue,\'color-picker-show-saturation\': AngularColorPickerController.options.saturation,\'color-picker-show-lightness\': AngularColorPickerController.options.lightness,\'color-picker-show-alpha\': AngularColorPickerController.options.alpha && AngularColorPickerController.options.format !== \'hex\',\'color-picker-show-inline\': AngularColorPickerController.options.inline,}"><div class="color-picker-grid-wrapper"><div class="color-picker-row"><div class="color-picker-grid"><div class="color-picker-overlay"></div><div class="color-picker-grid-inner"></div><div class="color-picker-picker"><div></div></div></div><div class="color-picker-hue" ng-show="AngularColorPickerController.options.hue"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-saturation" ng-show="AngularColorPickerController.options.saturation"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-lightness" ng-show="AngularColorPickerController.options.lightness"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-opacity" ng-show="AngularColorPickerController.options.alpha && AngularColorPickerController.options.format !== \'hex\'"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div></div></div><div class="color-picker-actions"><button type="button"class="color-picker-action color-picker-action-clear"tabindex="-1"ng-class="AngularColorPickerController.options.clear.class"ng-show="AngularColorPickerController.options.clear.show"ng-click="AngularColorPickerController.api.clear($event)">{{AngularColorPickerController.options.clear.label}}</button><button type="button"class="color-picker-action color-picker-action-reset"tabindex="-1"ng-class="AngularColorPickerController.options.reset.class"ng-show="AngularColorPickerController.options.reset.show"ng-click="AngularColorPickerController.api.reset($event)">{{AngularColorPickerController.options.reset.label}}</button><button type="button"class="color-picker-action color-picker-action-close"tabindex="-1"ng-class="AngularColorPickerController.options.close.class"ng-show="AngularColorPickerController.options.close.show"ng-click="AngularColorPickerController.api.close($event)">{{AngularColorPickerController.options.close.label}}</button></div></div></div>')}return i.$inject=["$scope","$element","$document","$timeout","ColorPickerOptions"],r.$inject=["$templateCache"],angular.module("color.picker",[]).service("ColorPickerOptions",function e(){return o(this,e),{id:void 0,name:void 0,required:!1,disabled:!1,placeholder:"",inputClass:"",restrictToFormat:!1,preserveInputFormat:!1,allowEmpty:!1,format:"hsl",case:"upper",hue:!0,saturation:!1,lightness:!1,alpha:!0,dynamicHue:!0,dynamicSaturation:!0,dynamicLightness:!0,dynamicAlpha:!0,round:!1,pos:"bottom left",inline:!1,horizontal:!1,swatch:!0,swatchOnly:!1,swatchPos:"left",swatchBootstrap:!0,show:{swatch:!0,focus:!0},hide:{blur:!0,escape:!0,click:!0},close:{show:!1,label:"Close",class:""},clear:{show:!1,label:"Clear",class:""},reset:{show:!1,label:"Reset",class:""}}}).directive("colorPicker",function(){return{restrict:"E",require:["^ngModel"],scope:{ngModel:"=",options:"=?",api:"=?",eventApi:"=?"},bindToController:!0,templateUrl:"template/color-picker/directive.html",controller:i,controllerAs:"AngularColorPickerController",link:function(e,t,o,n){e.control=n,e.init()}}}).run(r)}(o(53))},function(e,t,o){var n;!function(i){var r=/^\s+/,a=/\s+$/,s=0,l=i.round,c=i.min,d=i.max,p=i.random;function u(e,t){if(t=t||{},(e=e||"")instanceof u)return e;if(!(this instanceof u))return new u(e,t);var o=function(e){var t={r:0,g:0,b:0},o=1,n=null,s=null,l=null,p=!1,u=!1;return"string"==typeof e&&(e=function(e){e=e.replace(r,"").replace(a,"").toLowerCase();var t,o=!1;if(E[e])e=E[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=B.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=B.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=B.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=B.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=B.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=B.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=B.hex8.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),a:R(t[4]),format:o?"name":"hex8"}:(t=B.hex6.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),format:o?"name":"hex"}:(t=B.hex4.exec(e))?{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),a:R(t[4]+""+t[4]),format:o?"name":"hex8"}:!!(t=B.hex3.exec(e))&&{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),format:o?"name":"hex"}}(e)),"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=function(e,t,o){return{r:255*L(e,255),g:255*L(t,255),b:255*L(o,255)}}(e.r,e.g,e.b),p=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(n=O(e.s),s=O(e.v),t=function(e,t,o){e=6*L(e,360),t=L(t,100),o=L(o,100);var n=i.floor(e),r=e-n,a=o*(1-t),s=o*(1-r*t),l=o*(1-(1-r)*t),c=n%6;return{r:255*[o,s,a,a,l,o][c],g:255*[l,o,o,s,a,a][c],b:255*[a,a,l,o,o,s][c]}}(e.h,n,s),p=!0,u="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(n=O(e.s),l=O(e.l),t=function(e,t,o){var n,i,r;function a(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(e=L(e,360),t=L(t,100),o=L(o,100),0===t)n=i=r=o;else{var s=o<.5?o*(1+t):o+t-o*t,l=2*o-s;n=a(l,s,e+1/3),i=a(l,s,e),r=a(l,s,e-1/3)}return{r:255*n,g:255*i,b:255*r}}(e.h,n,l),p=!0,u="hsl"),e.hasOwnProperty("a")&&(o=e.a)),o=D(o),{ok:p,format:e.format||u,r:c(255,d(t.r,0)),g:c(255,d(t.g,0)),b:c(255,d(t.b,0)),a:o}}(e);this._originalInput=e,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=l(100*this._a)/100,this._format=t.format||o.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=o.ok,this._tc_id=s++}function f(e,t,o){e=L(e,255),t=L(t,255),o=L(o,255);var n,i,r=d(e,t,o),a=c(e,t,o),s=(r+a)/2;if(r==a)n=i=0;else{var l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:n=(t-o)/l+(t<o?6:0);break;case t:n=(o-e)/l+2;break;case o:n=(e-t)/l+4}n/=6}return{h:n,s:i,l:s}}function h(e,t,o){e=L(e,255),t=L(t,255),o=L(o,255);var n,i,r=d(e,t,o),a=c(e,t,o),s=r,l=r-a;if(i=0===r?0:l/r,r==a)n=0;else{switch(r){case e:n=(t-o)/l+(t<o?6:0);break;case t:n=(o-e)/l+2;break;case o:n=(e-t)/l+4}n/=6}return{h:n,s:i,v:s}}function g(e,t,o,n){var i=[q(l(e).toString(16)),q(l(t).toString(16)),q(l(o).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function m(e,t,o,n){return[q(N(n)),q(l(e).toString(16)),q(l(t).toString(16)),q(l(o).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.s-=t/100,o.s=I(o.s),u(o)}function b(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.s+=t/100,o.s=I(o.s),u(o)}function y(e){return u(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.l+=t/100,o.l=I(o.l),u(o)}function x(e,t){t=0===t?0:t||10;var o=u(e).toRgb();return o.r=d(0,c(255,o.r-l(-t/100*255))),o.g=d(0,c(255,o.g-l(-t/100*255))),o.b=d(0,c(255,o.b-l(-t/100*255))),u(o)}function w(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.l-=t/100,o.l=I(o.l),u(o)}function k(e,t){var o=u(e).toHsl(),n=(o.h+t)%360;return o.h=n<0?360+n:n,u(o)}function j(e){var t=u(e).toHsl();return t.h=(t.h+180)%360,u(t)}function C(e){var t=u(e).toHsl(),o=t.h;return[u(e),u({h:(o+120)%360,s:t.s,l:t.l}),u({h:(o+240)%360,s:t.s,l:t.l})]}function A(e){var t=u(e).toHsl(),o=t.h;return[u(e),u({h:(o+90)%360,s:t.s,l:t.l}),u({h:(o+180)%360,s:t.s,l:t.l}),u({h:(o+270)%360,s:t.s,l:t.l})]}function M(e){var t=u(e).toHsl(),o=t.h;return[u(e),u({h:(o+72)%360,s:t.s,l:t.l}),u({h:(o+216)%360,s:t.s,l:t.l})]}function S(e,t,o){t=t||6,o=o||30;var n=u(e).toHsl(),i=360/o,r=[u(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,r.push(u(n));return r}function T(e,t){t=t||6;for(var o=u(e).toHsv(),n=o.h,i=o.s,r=o.v,a=[],s=1/t;t--;)a.push(u({h:n,s:i,v:r})),r=(r+s)%1;return a}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,o,n=this.toRgb();return e=n.r/255,t=n.g/255,o=n.b/255,.2126*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:i.pow((o+.055)/1.055,2.4))},setAlpha:function(e){return this._a=D(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),o=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+o+"%, "+n+"%)":"hsva("+t+", "+o+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),o=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+o+"%, "+n+"%)":"hsla("+t+", "+o+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,o,n,i){var r=[q(l(e).toString(16)),q(l(t).toString(16)),q(l(o).toString(16)),q(N(n))];return i&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),o=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var i=u(e);o="#"+m(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+o+")"},toString:function(e){var t=!!e;e=e||this._format;var o=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(o=this.toRgbString()),"prgb"===e&&(o=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(o=this.toHexString()),"hex3"===e&&(o=this.toHexString(!0)),"hex4"===e&&(o=this.toHex8String(!0)),"hex8"===e&&(o=this.toHex8String()),"name"===e&&(o=this.toName()),"hsl"===e&&(o=this.toHslString()),"hsv"===e&&(o=this.toHsvString()),o||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){var o=e.apply(null,[this].concat([].slice.call(t)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(M,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}},u.fromRatio=function(e,t){if("object"==typeof e){var o={};for(var n in e)e.hasOwnProperty(n)&&(o[n]="a"===n?e[n]:O(e[n]));e=o}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:p(),g:p(),b:p()})},u.mix=function(e,t,o){o=0===o?0:o||50;var n=u(e).toRgb(),i=u(t).toRgb(),r=o/100;return u({r:(i.r-n.r)*r+n.r,g:(i.g-n.g)*r+n.g,b:(i.b-n.b)*r+n.b,a:(i.a-n.a)*r+n.a})},u.readability=function(e,t){var o=u(e),n=u(t);return(i.max(o.getLuminance(),n.getLuminance())+.05)/(i.min(o.getLuminance(),n.getLuminance())+.05)},u.isReadable=function(e,t,o){var n,i,r=u.readability(e,t);switch(i=!1,(n=function(e){var t,o;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(o=(e.size||"small").toLowerCase())&&"large"!==o&&(o="small"),{level:t,size:o}}(o)).level+n.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7}return i},u.mostReadable=function(e,t,o){var n,i,r,a,s=null,l=0;i=(o=o||{}).includeFallbackColors,r=o.level,a=o.size;for(var c=0;c<t.length;c++)(n=u.readability(e,t[c]))>l&&(l=n,s=u(t[c]));return u.isReadable(e,s,{level:r,size:a})||!i?s:(o.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],o))};var E=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=u.hexNames=function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[e[o]]=o);return t}(E);function D(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var o=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,d(0,parseFloat(e))),o&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return c(1,d(0,e))}function P(e){return parseInt(e,16)}function q(e){return 1==e.length?"0"+e:""+e}function O(e){return e<=1&&(e=100*e+"%"),e}function N(e){return i.round(255*parseFloat(e)).toString(16)}function R(e){return P(e)/255}var B=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",o="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function H(e){return!!B.CSS_UNIT.exec(e)}e.exports?e.exports=u:void 0===(n=function(){return u}.call(t,o,t,e))||(e.exports=n)}(Math)},function(e,t){!function(e,t){"use strict";var o=t.module("angular-sortable-view",[]);function n(e){if(!("clientX"in e||"clientY"in e)){var t=e.touches||e.originalEvent.touches;t&&t.length&&(e.clientX=t[0].clientX,e.clientY=t[0].clientY),e.preventDefault()}}o.directive("svRoot",[function(){function e(e){return n[e]}var o,n=Object.create(null);return{restrict:"A",scope:{svEnabled:"="},controller:["$scope","$attrs","$interpolate","$parse",function(i,r,s,l){var c=s(r.svRoot)(i)||i.$id;n[c]||(n[c]=[]);var d,p,u,f,h,g=!1,m=l(r.svOnSort);r.svOnStart=r.$$element[0].attributes["sv-on-start"],r.svOnStart=r.svOnStart&&r.svOnStart.value,r.svOnStop=r.$$element[0].attributes["sv-on-stop"],r.svOnStop=r.svOnStop&&r.svOnStop.value;var v=l(r.svOnStart),b=l(r.svOnStop);if(this.sortingInProgress=function(){return o},this.enabled=!1!==i.svEnabled,this.enabled){if(r.svGrid){if(null===(g="true"===r.svGrid||"false"!==r.svGrid&&null))throw"Invalid value of sv-grid attribute"}else i.$watchCollection(function(){return e(c)},function(e){g=!1;var t=e.filter(function(e){return!e.container}).map(function(e){return{part:e.getPart().id,y:e.element[0].getBoundingClientRect().top}}),o=Object.create(null);t.forEach(function(e){o[e.part]?o[e.part].push(e.y):o[e.part]=[e.y]}),Object.keys(o).forEach(function(e){o[e].sort(),o[e].forEach(function(t,n){n<o[e].length-1&&t>0&&t===o[e][n+1]&&(g=!0)})})});this.$moveUpdate=function(n,r,s,l,m,b,y){var _=s[0].getBoundingClientRect();"element"===n.tolerance&&(r={x:~~(_.left+_.width/2),y:~~(_.top+_.height/2)}),o=!0,d=[],p||(m?(p=m.clone()).removeClass("ng-hide"):((p=l.clone()).addClass("sv-visibility-hidden"),p.addClass("sv-placeholder"),p.css({height:_.height+"px",width:_.width+"px"})),l.after(p),l.addClass("ng-hide"),f=l,v(i,{$helper:{element:u=s},$part:b.model(b.scope),$index:y,$item:b.model(b.scope)[y]}),i.$root&&i.$root.$$phase||i.$apply()),u[0].reposition({x:r.x+document.body.scrollLeft-r.offset.x*_.width,y:r.y+document.body.scrollTop-r.offset.y*_.height}),e(c).forEach(function(e,t){if(null==n.containment||a(e.element,n.containment)||a(e.element,n.containment+" *")){var o=e.element[0].getBoundingClientRect(),i={x:~~(o.left+o.width/2),y:~~(o.top+o.height/2)};e.container||!e.element[0].scrollHeight&&!e.element[0].scrollWidth||d.push({element:e.element,q:(i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y),view:e.getPart(),targetIndex:e.getIndex(),after:function(e,t,o){return g?e.x-t.x<0:e.y-t.y<0}(i,r)}),e.container&&!e.element[0].querySelector("[sv-element]:not(.sv-placeholder):not(.sv-source)")&&d.push({element:e.element,q:(i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y),view:e.getPart(),targetIndex:0,container:!0})}});var x=p[0].getBoundingClientRect(),w=~~(x.left+x.width/2),k=~~(x.top+x.height/2);d.push({q:(w-r.x)*(w-r.x)+(k-r.y)*(k-r.y),element:p,placeholder:!0}),d.sort(function(e,t){return e.q-t.q}),d.forEach(function(e,o){0!==o||e.placeholder||e.container?0===o&&e.container?(h=e,e.element.append(p)):e.element.removeClass("sv-candidate"):(h=e,e.element.addClass("sv-candidate"),e.after?e.element.after(p):function(e,o){var n=function(e){if((e=e[0]).previousElementSibling)return t.element(e.previousElementSibling);for(var o=e.previousSibling;null!=o&&1!=o.nodeType;)o=o.previousSibling;return t.element(o)}(e);n.length>0?n.after(o):e.parent().prepend(o)}(e.element,p))})},this.$drop=function(e,t,n){if(p)if(n.revert){var r=p[0].getBoundingClientRect(),a=u[0].getBoundingClientRect(),s=Math.sqrt(Math.pow(a.top-r.top,2)+Math.pow(a.left-r.left,2)),l=+n.revert*s/200;l=Math.min(l,+n.revert),["-webkit-","-moz-","-ms-","-o-",""].forEach(function(e){void 0!==u[0].style[e+"transition"]&&(u[0].style[e+"transition"]="all "+l+"ms ease")}),setTimeout(c,l),u.css({top:r.top+document.body.scrollTop+"px",left:r.left+document.body.scrollLeft+"px"})}else c();function c(){if(o=!1,p.remove(),u.remove(),f.removeClass("ng-hide"),d=void 0,p=void 0,n=void 0,u=void 0,f=void 0,b(i,{$part:e.model(e.scope),$index:t,$item:e.model(e.scope)[t]}),h){h.element.removeClass("sv-candidate");var r=e.model(e.scope).splice(t,1),a=h.targetIndex;h.view===e&&h.targetIndex>t&&a--,h.after&&a++,h.view.model(h.view.scope).splice(a,0,r[0]),h.view===e&&t===a||m(i,{$partTo:h.view.model(h.view.scope),$partFrom:e.model(e.scope),$item:r[0],$indexTo:a,$indexFrom:t})}h=void 0,i.$root&&i.$root.$$phase||i.$apply()}},this.addToSortableElements=function(t){e(c).push(t)},this.removeFromSortableElements=function(t){var o=e(c),i=o.indexOf(t);i>-1&&(o.splice(i,1),0===o.length&&delete n[c])}}}]}}]),o.directive("svPart",["$parse",function(e){return{restrict:"A",require:"^svRoot",controller:["$scope",function(e){e.$ctrl=this,this.getPart=function(){return e.part},this.$drop=function(t,o){e.$sortableRoot.$drop(e.part,t,o)}}],scope:!0,link:function(t,o,n,i){if(i.enabled){if(!n.svPart)throw new Error("no model provided");var r=e(n.svPart);if(!r.assign)throw new Error("model not assignable");t.part={id:t.$id,element:o,model:r,scope:t},t.$sortableRoot=i;var a={element:o,getPart:t.$ctrl.getPart,container:!0};i.addToSortableElements(a),t.$on("$destroy",function(){i.removeFromSortableElements(a)})}}}}]),o.directive("svElement",["$parse",function(e){return{restrict:"A",require:["^svPart","^svRoot"],controller:["$scope",function(e){e.$ctrl=this}],link:function(o,i,r,a){if(a[1].enabled){var l={element:i,getPart:a[0].getPart,getIndex:function(){return o.$index}};a[1].addToSortableElements(l),o.$on("$destroy",function(){a[1].removeFromSortableElements(l)});var c,d,p=i;p.on("mousedown touchstart",h),o.$watch("$ctrl.handle",function(e){e&&(p.off("mousedown touchstart",h),(p=e).on("mousedown touchstart",h))}),o.$watch("$ctrl.helper",function(e){e&&(c=e)}),o.$watch("$ctrl.placeholder",function(e){e&&(d=e)}),t.element(document.body);var u,f=t.element(document.documentElement)}function h(l){if(n(l),!a[1].sortingInProgress()&&(0==l.button||"mousedown"!==l.type)){u=!1;var p=e(r.svElement)(o);if((p=t.extend({},{tolerance:"pointer",revert:200,containment:"html"},p)).containment)var h=s.call(i,p.containment)[0].getBoundingClientRect();var g,m=i,v=i[0].getBoundingClientRect();c||(c=a[0].helper),d||(d=a[0].placeholder),c?((g=c.clone()).removeClass("ng-hide"),g.css({left:v.left+document.body.scrollLeft+"px",top:v.top+document.body.scrollTop+"px"}),m.addClass("sv-visibility-hidden")):(g=m.clone()).addClass("sv-helper").css({left:v.left+document.body.scrollLeft+"px",top:v.top+document.body.scrollTop+"px",width:v.width+"px"}),g[0].reposition=function(e){var t=e.x,o=e.y,n=g[0].getBoundingClientRect(),i=document.body;h&&(o<h.top+i.scrollTop&&(o=h.top+i.scrollTop),o+n.height>h.top+i.scrollTop+h.height&&(o=h.top+i.scrollTop+h.height-n.height),t<h.left+i.scrollLeft&&(t=h.left+i.scrollLeft),t+n.width>h.left+i.scrollLeft+h.width&&(t=h.left+i.scrollLeft+h.width-n.width)),this.style.left=t-i.scrollLeft+"px",this.style.top=o-i.scrollTop+"px"};var b={x:(l.clientX-v.left)/v.width,y:(l.clientY-v.top)/v.height};f.addClass("sv-sorting-in-progress"),f.on("mousemove touchmove",y).on("mouseup touchend touchcancel",function e(t){f.off("mousemove touchmove",y),f.off("mouseup touchend",e),f.removeClass("sv-sorting-in-progress"),u&&a[0].$drop(o.$index,p),i.removeClass("sv-visibility-hidden")})}function y(e){n(e),u||(i.parent().prepend(g),u=!0),a[1].$moveUpdate(p,{x:e.clientX,y:e.clientY,offset:b},g,i,d,a[0].getPart(),o.$index)}}}}}]),o.directive("svHandle",function(){return{require:"?^svElement",link:function(e,t,o,n){n&&(n.handle=t.add(n.handle))}}}),o.directive("svHelper",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,o,n){t.addClass("sv-helper").addClass("ng-hide"),n[1]?n[1].helper=t:n[0]&&(n[0].helper=t)}}}),o.directive("svPlaceholder",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,o,n){t.addClass("sv-placeholder").addClass("ng-hide"),n[1]?n[1].placeholder=t:n[0]&&(n[0].placeholder=t)}}}),t.element(document.head).append(["<style>.sv-helper{position: fixed !important;z-index: 99999;margin: 0 !important;}.sv-candidate{}.sv-placeholder{}.sv-sorting-in-progress{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.sv-visibility-hidden{visibility: hidden !important;opacity: 0 !important;}</style>"].join(""));var i=document.documentElement,r=i.matches?"matches":i.matchesSelector?"matchesSelector":i.webkitMatches?"webkitMatches":i.webkitMatchesSelector?"webkitMatchesSelector":i.msMatches?"msMatches":i.msMatchesSelector?"msMatchesSelector":i.mozMatches?"mozMatches":i.mozMatchesSelector?"mozMatchesSelector":null;if(null==r)throw"This browser doesn't support the HTMLElement.matches method";function a(e,o){if(e instanceof t.element&&(e=e[0]),null!==r)return e[r](o)}var s=t.element.prototype.closest||function(e){for(var o=this[0].parentNode;o!==document.documentElement&&!o[r](e);)o=o.parentNode;return o[r](e)?t.element(o):t.element()};"function"!=typeof t.element.prototype.add&&(t.element.prototype.add=function(e){var o,n=t.element();for(e=t.element(e),o=0;o<this.length;o++)n.push(this[o]);for(o=0;o<e.length;o++)n.push(e[o]);return n})}(window,window.angular)},function(e,t,o){e.exports===t&&(e.exports="checklist-model"),angular.module("checklist-model",[]).directive("checklistModel",["$parse","$compile",function(e,t){function o(e,t,o){if(angular.isArray(e))for(var n=e.length;n--;)if(o(e[n],t))return!0;return!1}function n(e,t,n){return o(e=angular.isArray(e)?e:[],t,n)||e.push(t),e}function i(e,t,o){if(angular.isArray(e))for(var n=e.length;n--;)if(o(e[n],t)){e.splice(n,1);break}return e}function r(r,a,s){var l=s.checklistModel;s.$set("checklistModel",null),t(a)(r),s.$set("checklistModel",l);var c=e(l),d=e(s.checklistChange),p=e(s.checklistBeforeChange),u=e(s.ngModel),f=function(e,t){return isNaN(e)||isNaN(t)?angular.equals(e,t):String(e)===String(t)};if(s.hasOwnProperty("checklistComparator"))if("."==s.checklistComparator[0]){var h=s.checklistComparator.substring(1);f=function(e,t){return e[h]===t[h]}}else f=e(s.checklistComparator)(r.$parent);var g=r.$watch(s.ngModel,function(e,t){e!==t&&(p&&!1===p(r)?u.assign(r,o(c(r.$parent),b(),f)):(y(b(),e),d&&d(r)))}),m=r.$watch(b,function(e,t){if(e!=t&&angular.isDefined(t)&&!0===r[s.ngModel]){var o=c(r.$parent);c.assign(r.$parent,i(o,t,f)),c.assign(r.$parent,n(o,e,f))}},!0),v=r.$on("$destroy",function(){g(),m(),v()});function b(){return s.checklistValue?e(s.checklistValue)(r.$parent):s.value}function y(e,t){var o=c(r.$parent);angular.isFunction(c.assign)&&(!0===t?c.assign(r.$parent,n(o,e,f)):c.assign(r.$parent,i(o,e,f)))}function _(e,t){p&&!1===p(r)?y(b(),u(r)):u.assign(r,o(e,b(),f))}angular.isFunction(r.$parent.$watchCollection)?r.$parent.$watchCollection(l,_):r.$parent.$watch(l,_,!0)}return{restrict:"A",priority:1e3,terminal:!0,scope:!0,compile:function(e,t){if(!t.checklistValue&&!t.value)throw"You should provide `value` or `checklist-value`.";return t.ngModel||t.$set("ngModel","checked"),r}}}])},function(e,t,o){o(57),e.exports="gettext"},function(e,t){angular.module("gettext",[]),angular.module("gettext").constant("gettext",function(e){return e}),angular.module("gettext").factory("gettextCatalog",["gettextPlurals","gettextFallbackLanguage","$http","$cacheFactory","$interpolate","$rootScope",function(e,t,o,n,i,r){var a,s='<span id="test" title="test" class="tested">test</span>',l=angular.element("<span>"+s+"</span>").html()!==s,c=function(e){return a.debug&&a.currentLanguage!==a.baseLanguage?a.debugPrefix+e:e},d=function(e){return a.showTranslatedMarkers?a.translatedMarkerPrefix+e+a.translatedMarkerSuffix:e};function p(){r.$broadcast("gettextLanguageChanged")}return a={debug:!1,debugPrefix:"[MISSING]: ",showTranslatedMarkers:!1,translatedMarkerPrefix:"[",translatedMarkerSuffix:"]",strings:{},baseLanguage:"en",currentLanguage:"en",cache:n("strings"),setCurrentLanguage:function(e){this.currentLanguage=e,p()},getCurrentLanguage:function(){return this.currentLanguage},setStrings:function(t,o){this.strings[t]||(this.strings[t]={});var n=e(t,1);for(var i in o){var r=o[i];if(l&&(i=angular.element("<span>"+i+"</span>").html()),angular.isString(r)||angular.isArray(r)){var a={};a.$$noContext=r,r=a}for(var s in this.strings[t][i]||(this.strings[t][i]={}),r){var c=r[s];angular.isArray(c)?this.strings[t][i][s]=c:(this.strings[t][i][s]=[],this.strings[t][i][s][n]=c)}}p()},getStringFormFor:function(t,o,n,i){return t?(((this.strings[t]||{})[o]||{})[i||"$$noContext"]||[])[e(t,n)]:null},getString:function(e,o,n){var r=t(this.currentLanguage);return e=this.getStringFormFor(this.currentLanguage,e,1,n)||this.getStringFormFor(r,e,1,n)||c(e),e=o?i(e)(o):e,d(e)},getPlural:function(e,o,n,r,a){var s=t(this.currentLanguage);return o=this.getStringFormFor(this.currentLanguage,o,e,a)||this.getStringFormFor(s,o,e,a)||c(1===e?o:n),r&&(r.$count=e,o=i(o)(r)),d(o)},loadRemote:function(e){return o({method:"GET",url:e,cache:a.cache}).then(function(e){var t=e.data;for(var o in t)a.setStrings(o,t[o]);return e})}}}]),angular.module("gettext").directive("translate",["gettextCatalog","$parse","$animate","$compile","$window","gettextUtil",function(e,t,o,n,i,r){var a=parseInt((/msie (\d+)/i.exec(i.navigator.userAgent)||[])[1],10),s="translateParams";function l(e,t,o){var n=Object.keys(t).filter(function(e){return r.startsWith(e,s)&&e!==s});if(!n.length)return null;var i=e.$new(),a=[];return n.forEach(function(n){var l=e.$watch(t[n],function(e){var t=function(e){return r.lcFirst(e.replace(s,""))}(n);i[t]=e,o(i)});a.push(l)}),e.$on("$destroy",function(){a.forEach(function(e){e()}),i.$destroy()}),i}return{restrict:"AE",terminal:!0,compile:function(i,s){r.assert(!s.translatePlural||s.translateN,"translate-n","translate-plural"),r.assert(!s.translateN||s.translatePlural,"translate-plural","translate-n");var c=r.trim(i.html()),d=s.translatePlural,p=s.translateContext;return a<=8&&"\x3c!--IE fix--\x3e"===c.slice(-13)&&(c=c.slice(0,-13)),{post:function(i,a,s){var u=t(s.translateN),f=null,h=!0;function g(t){var s;t=t||null,d?((i=f||(f=i.$new())).$count=u(i),s=e.getPlural(i.$count,c,d,null,p)):s=e.getString(c,null,p);var l=a.contents();if(l||s)if(s!==r.trim(l.html())){var g=angular.element("<span>"+s+"</span>");n(g.contents())(t||i);var m=g.contents();o.enter(m,a),o.leave(l)}else h&&n(l)(i)}var m=l(i,s,g);g(m),h=!1,s.translateN&&i.$watch(s.translateN,function(){g(m)}),i.$on("gettextLanguageChanged",function(){g(m)})}}}}}]),angular.module("gettext").factory("gettextFallbackLanguage",function(){var e={},t=/([^_]+)_[^_]+$/;return function(o){if(e[o])return e[o];var n=t.exec(o);return n?(e[o]=n[1],n[1]):null}}),angular.module("gettext").filter("translate",["gettextCatalog",function(e){function t(t,o){return e.getString(t,null,o)}return t.$stateful=!0,t}]),angular.module("gettext").factory("gettextPlurals",function(){var e={pt_BR:"pt_BR","pt-BR":"pt_BR"};return function(t,o){switch(function(t){return e[t]||(e[t]=t.split(/\-|_/).shift()),e[t]}(t)){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return o%10!=1||o%100==11?1:0;case"jv":return 0!=o?1:0;case"mk":return 1==o||o%10==1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":case"zh":return o>1?1:0;case"lv":return o%10==1&&o%100!=11?0:0!=o?1:2;case"lt":return o%10==1&&o%100!=11?0:o%10>=2&&(o%100<10||o%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return o%10==1&&o%100!=11?0:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?1:2;case"mnk":return 0==o?0:1==o?1:2;case"ro":return 1==o?0:0==o||o%100>0&&o%100<20?1:2;case"pl":return 1==o?0:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?1:2;case"cs":case"sk":return 1==o?0:o>=2&&o<=4?1:2;case"sl":return o%100==1?1:o%100==2?2:o%100==3||o%100==4?3:0;case"mt":return 1==o?0:0==o||o%100>1&&o%100<11?1:o%100>10&&o%100<20?2:3;case"gd":return 1==o||11==o?0:2==o||12==o?1:o>2&&o<20?2:3;case"cy":return 1==o?0:2==o?1:8!=o&&11!=o?2:3;case"kw":return 1==o?0:2==o?1:3==o?2:3;case"ga":return 1==o?0:2==o?1:o<7?2:o<11?3:4;case"ar":return 0==o?0:1==o?1:2==o?2:o%100>=3&&o%100<=10?3:o%100>=11?4:5;default:return 1!=o?1:0}}}),angular.module("gettext").factory("gettextUtil",function(){return{trim:String.prototype.trim?function(e){return"string"==typeof e?e.trim():e}:function(e){return"string"==typeof e?e.replace(/^\s*/,"").replace(/\s*$/,""):e},assert:function(e,t,o){if(!e)throw new Error("You should add a "+t+" attribute whenever you add a "+o+" attribute.")},startsWith:function(e,t){return 0===e.indexOf(t)},lcFirst:function(e){return e.charAt(0).toLowerCase()+e.substr(1)}}})},function(e,t,o){

e.exports=function(){"use strict";
var e=function(){return(e=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],o={_disable:[],_enable:[],allowInput:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enable:[],enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var o=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-o.getTime())/864e5-3+(o.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},n={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year"},i=function(e){return("0"+e).slice(-2)},r=function(e){return!0===e?1:0};function a(e,t,o){var n;return void 0===o&&(o=!1),function(){var i=this,r=arguments;null!==n&&clearTimeout(n),n=window.setTimeout(function(){n=null,o||e.apply(i,r)},t),o&&!n&&e.apply(i,r)}}var s=function(e){return e instanceof Array?e:[e]};function l(e,t,o){if(!0===o)return e.classList.add(t);e.classList.remove(t)}function c(e,t,o){var n=window.document.createElement(e);return t=t||"",o=o||"",n.className=t,void 0!==o&&(n.textContent=o),n}function d(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function p(e,t){var o=c("div","numInputWrapper"),n=c("input","numInput "+e),i=c("span","arrowUp"),r=c("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?n.type="number":(n.type="text",n.pattern="\\d*"),void 0!==t)for(var a in t)n.setAttribute(a,t[a]);return o.appendChild(n),o.appendChild(i),o.appendChild(r),o}var u=function(){},f=function(e,t,o){return o.months[t?"shorthand":"longhand"][e]},h={D:u,F:function(e,t,o){e.setMonth(o.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,o){e.setHours(e.getHours()%12+12*r(new RegExp(o.amPM[1],"i").test(t)))},M:function(e,t,o){e.setMonth(o.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t){var o=parseInt(t);return new Date(e.getFullYear(),0,2+7*(o-1),0,0,0,0)},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:u,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:u,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},g={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},m={Z:function(e){return e.toISOString()},D:function(e,t,o){return t.weekdays.shorthand[m.w(e,t,o)]},F:function(e,t,o){return f(m.n(e,t,o)-1,!1,t)},G:function(e,t,o){return i(m.h(e,t,o))},H:function(e){return i(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[r(e.getHours()>11)]},M:function(e,t){return f(e.getMonth(),!0,t)},S:function(e){return i(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,o){return o.getWeek(e)},Y:function(e){return e.getFullYear()},d:function(e){return i(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return i(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return i(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},v=function(e){var t=e.config,i=void 0===t?o:t,r=e.l10n,a=void 0===r?n:r;return function(e,t,o){var n=o||a;return void 0!==i.formatDate?i.formatDate(e,t,n):t.split("").map(function(t,o,r){return m[t]&&"\\"!==r[o-1]?m[t](e,n,i):"\\"!==t?t:""}).join("")}},b=function(e){var t=e.config,i=void 0===t?o:t,r=e.l10n,a=void 0===r?n:r;return function(e,t,n,r){if(0===e||e){var s,l=r||a,c=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)s=new Date(e);else if("string"==typeof e){var d=t||(i||o).dateFormat,p=String(e).trim();if("today"===p)s=new Date,n=!0;else if(/Z$/.test(p)||/GMT$/.test(p))s=new Date(e);else if(i&&i.parseDate)s=i.parseDate(e,d);else{s=i&&i.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var u=void 0,f=[],m=0,v=0,b="";m<d.length;m++){var y=d[m],_="\\"===y,x="\\"===d[m-1]||_;if(g[y]&&!x){b+=g[y];var w=new RegExp(b).exec(e);w&&(u=!0)&&f["Y"!==y?"push":"unshift"]({fn:h[y],val:w[++v]})}else _||(b+=".");f.forEach(function(e){var t=e.fn,o=e.val;return s=t(s,o,l)||s})}s=u?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===n&&s.setHours(0,0,0,0),s;i.errorHandler(new Error("Invalid date provided: "+c))}}};function y(e,t,o){return void 0===o&&(o=!0),!1!==o?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var _=function(e,t,o){return e>Math.min(t,o)&&e<Math.max(t,o)},x={DAY:864e5};"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var n=function(t){t&&Object.keys(t).forEach(function(o){return e[o]=t[o]})},i=0,r=t;i<r.length;i++){n(r[i])}return e});var w=300;function k(o,u){var h={config:e({},C.defaultConfig),l10n:n};function m(e){return e.bind(h)}function k(){var e=h.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==h.calendarContainer&&(h.calendarContainer.style.visibility="hidden",h.calendarContainer.style.display="block"),void 0!==h.daysContainer){var t=(h.days.offsetWidth+1)*e.showMonths;h.daysContainer.style.width=t+"px",h.calendarContainer.style.width=t+(void 0!==h.weekWrapper?h.weekWrapper.offsetWidth:0)+"px",h.calendarContainer.style.removeProperty("visibility"),h.calendarContainer.style.removeProperty("display")}})}function j(e){0===h.selectedDates.length&&oe(),void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,o=e.target;void 0!==h.amPM&&e.target===h.amPM&&(h.amPM.textContent=h.l10n.amPM[r(h.amPM.textContent===h.l10n.amPM[0])]);var n=parseFloat(o.getAttribute("min")),a=parseFloat(o.getAttribute("max")),s=parseFloat(o.getAttribute("step")),l=parseInt(o.value,10),c=l+s*(e.delta||(t?38===e.which?1:-1:0));if(void 0!==o.value&&2===o.value.length){var d=o===h.hourElement,p=o===h.minuteElement;c<n?(c=a+c+r(!d)+(r(d)&&r(!h.amPM)),p&&q(void 0,-1,h.hourElement)):c>a&&(c=o===h.hourElement?c-a-r(!h.amPM):n,p&&q(void 0,1,h.hourElement)),h.amPM&&d&&(1===s?c+l===23:Math.abs(c-l)>s)&&(h.amPM.textContent=h.l10n.amPM[r(h.amPM.textContent===h.l10n.amPM[0])]),o.value=i(c)}}(e);var t=h._input.value;A(),ve(),h._input.value!==t&&h._debouncedChange()}function A(){if(void 0!==h.hourElement&&void 0!==h.minuteElement){var e=(parseInt(h.hourElement.value.slice(-2),10)||0)%24,t=(parseInt(h.minuteElement.value,10)||0)%60,o=void 0!==h.secondElement?(parseInt(h.secondElement.value,10)||0)%60:0;void 0!==h.amPM&&(e=function(e,t){return e%12+12*r(t===h.l10n.amPM[1])}(e,h.amPM.textContent));var n=void 0!==h.config.minTime||h.config.minDate&&h.minDateHasTime&&h.latestSelectedDateObj&&0===y(h.latestSelectedDateObj,h.config.minDate,!0);if(void 0!==h.config.maxTime||h.config.maxDate&&h.maxDateHasTime&&h.latestSelectedDateObj&&0===y(h.latestSelectedDateObj,h.config.maxDate,!0)){var i=void 0!==h.config.maxTime?h.config.maxTime:h.config.maxDate;(e=Math.min(e,i.getHours()))===i.getHours()&&(t=Math.min(t,i.getMinutes())),t===i.getMinutes()&&(o=Math.min(o,i.getSeconds()))}if(n){var a=void 0!==h.config.minTime?h.config.minTime:h.config.minDate;(e=Math.max(e,a.getHours()))===a.getHours()&&(t=Math.max(t,a.getMinutes())),t===a.getMinutes()&&(o=Math.max(o,a.getSeconds()))}T(e,t,o)}}function M(e){var t=e||h.latestSelectedDateObj;t&&T(t.getHours(),t.getMinutes(),t.getSeconds())}function S(){var e=h.config.defaultHour,t=h.config.defaultMinute,o=h.config.defaultSeconds;if(void 0!==h.config.minDate){var n=h.config.minDate.getHours(),i=h.config.minDate.getMinutes();(e=Math.max(e,n))===n&&(t=Math.max(i,t)),e===n&&t===i&&(o=h.config.minDate.getSeconds())}if(void 0!==h.config.maxDate){var r=h.config.maxDate.getHours(),a=h.config.maxDate.getMinutes();(e=Math.min(e,r))===r&&(t=Math.min(a,t)),e===r&&t===a&&(o=h.config.maxDate.getSeconds())}T(e,t,o)}function T(e,t,o){void 0!==h.latestSelectedDateObj&&h.latestSelectedDateObj.setHours(e%24,t,o||0,0),h.hourElement&&h.minuteElement&&!h.isMobile&&(h.hourElement.value=i(h.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),h.minuteElement.value=i(t),void 0!==h.amPM&&(h.amPM.textContent=h.l10n.amPM[r(e>=12)]),void 0!==h.secondElement&&(h.secondElement.value=i(o)))}function E(e){var t=parseInt(e.target.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&X(t)}function z(e,t,o,n){return t instanceof Array?t.forEach(function(t){return z(e,t,o,n)}):e instanceof Array?e.forEach(function(e){return z(e,t,o,n)}):(e.addEventListener(t,o,n),void h._handlers.push({element:e,event:t,handler:o,options:n}))}function D(e){return function(t){1===t.which&&e(t)}}function L(){ue("onChange")}function I(e){var t=void 0!==e?h.parseDate(e):h.latestSelectedDateObj||(h.config.minDate&&h.config.minDate>h.now?h.config.minDate:h.config.maxDate&&h.config.maxDate<h.now?h.config.maxDate:h.now);try{void 0!==t&&(h.currentYear=t.getFullYear(),h.currentMonth=t.getMonth())}catch(e){e.message="Invalid date supplied: "+t,h.config.errorHandler(e)}h.redraw()}function P(e){~e.target.className.indexOf("arrow")&&q(e,e.target.classList.contains("arrowUp")?1:-1)}function q(e,t,o){var n=e&&e.target,i=o||n&&n.parentNode&&n.parentNode.firstChild,r=fe("increment");r.delta=t,i&&i.dispatchEvent(r)}function O(e,t,o,n){var i=J(t,!0),r=c("span","flatpickr-day "+e,t.getDate().toString());return r.dateObj=t,r.$i=n,r.setAttribute("aria-label",h.formatDate(t,h.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===y(t,h.now)&&(h.todayDateElem=r,r.classList.add("today"),r.setAttribute("aria-current","date")),i?(r.tabIndex=-1,he(t)&&(r.classList.add("selected"),h.selectedDateElem=r,"range"===h.config.mode&&(l(r,"startRange",h.selectedDates[0]&&0===y(t,h.selectedDates[0],!0)),l(r,"endRange",h.selectedDates[1]&&0===y(t,h.selectedDates[1],!0)),"nextMonthDay"===e&&r.classList.add("inRange")))):r.classList.add("disabled"),"range"===h.config.mode&&function(e){return!("range"!==h.config.mode||h.selectedDates.length<2)&&y(e,h.selectedDates[0])>=0&&y(e,h.selectedDates[1])<=0}(t)&&!he(t)&&r.classList.add("inRange"),h.weekNumbers&&1===h.config.showMonths&&"prevMonthDay"!==e&&o%7==1&&h.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+h.config.getWeek(t)+"</span>"),ue("onDayCreate",r),r}function N(e){e.focus(),"range"===h.config.mode&&ee(e)}function R(e){for(var t=e>0?0:h.config.showMonths-1,o=e>0?h.config.showMonths:-1,n=t;n!=o;n+=e)for(var i=h.daysContainer.children[n],r=e>0?0:i.children.length-1,a=e>0?i.children.length:-1,s=r;s!=a;s+=e){var l=i.children[s];if(-1===l.className.indexOf("hidden")&&J(l.dateObj))return l}}function B(e,t){var o=Z(document.activeElement||document.body),n=void 0!==e?e:o?document.activeElement:void 0!==h.selectedDateElem&&Z(h.selectedDateElem)?h.selectedDateElem:void 0!==h.todayDateElem&&Z(h.todayDateElem)?h.todayDateElem:R(t>0?1:-1);return void 0===n?h._input.focus():o?void function(e,t){for(var o=-1===e.className.indexOf("Month")?e.dateObj.getMonth():h.currentMonth,n=t>0?h.config.showMonths:-1,i=t>0?1:-1,r=o-h.currentMonth;r!=n;r+=i)for(var a=h.daysContainer.children[r],s=o-h.currentMonth===r?e.$i+t:t<0?a.children.length-1:0,l=a.children.length,c=s;c>=0&&c<l&&c!=(t>0?l:-1);c+=i){var d=a.children[c];if(-1===d.className.indexOf("hidden")&&J(d.dateObj)&&Math.abs(e.$i-c)>=Math.abs(t))return N(d)}h.changeMonth(i),B(R(i),0)}(n,t):N(n)}function H(e,t){for(var o=(new Date(e,t,1).getDay()-h.l10n.firstDayOfWeek+7)%7,n=h.utils.getDaysInMonth((t-1+12)%12),i=h.utils.getDaysInMonth(t),r=window.document.createDocumentFragment(),a=h.config.showMonths>1,s=a?"prevMonthDay hidden":"prevMonthDay",l=a?"nextMonthDay hidden":"nextMonthDay",d=n+1-o,p=0;d<=n;d++,p++)r.appendChild(O(s,new Date(e,t-1,d),d,p));for(d=1;d<=i;d++,p++)r.appendChild(O("",new Date(e,t,d),d,p));for(var u=i+1;u<=42-o&&(1===h.config.showMonths||p%7!=0);u++,p++)r.appendChild(O(l,new Date(e,t+1,u%i),u,p));var f=c("div","dayContainer");return f.appendChild(r),f}function V(){if(void 0!==h.daysContainer){d(h.daysContainer),h.weekNumbers&&d(h.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<h.config.showMonths;t++){var o=new Date(h.currentYear,h.currentMonth,1);o.setMonth(h.currentMonth+t),e.appendChild(H(o.getFullYear(),o.getMonth()))}h.daysContainer.appendChild(e),h.days=h.daysContainer.firstChild,"range"===h.config.mode&&1===h.selectedDates.length&&ee()}}function F(){var e=c("div","flatpickr-month"),t=window.document.createDocumentFragment(),o=c("span","cur-month"),n=p("cur-year",{tabindex:"-1"}),i=n.getElementsByTagName("input")[0];i.setAttribute("aria-label",h.l10n.yearAriaLabel),h.config.minDate&&i.setAttribute("min",h.config.minDate.getFullYear().toString()),h.config.maxDate&&(i.setAttribute("max",h.config.maxDate.getFullYear().toString()),i.disabled=!!h.config.minDate&&h.config.minDate.getFullYear()===h.config.maxDate.getFullYear());var r=c("div","flatpickr-current-month");return r.appendChild(o),r.appendChild(n),t.appendChild(r),e.appendChild(t),{container:e,yearElement:i,monthElement:o}}function W(){d(h.monthNav),h.monthNav.appendChild(h.prevMonthNav),h.config.showMonths&&(h.yearElements=[],h.monthElements=[]);for(var e=h.config.showMonths;e--;){var t=F();h.yearElements.push(t.yearElement),h.monthElements.push(t.monthElement),h.monthNav.appendChild(t.container)}h.monthNav.appendChild(h.nextMonthNav)}function U(){h.weekdayContainer?d(h.weekdayContainer):h.weekdayContainer=c("div","flatpickr-weekdays");for(var e=h.config.showMonths;e--;){var t=c("div","flatpickr-weekdaycontainer");h.weekdayContainer.appendChild(t)}return $(),h.weekdayContainer}function $(){var e=h.l10n.firstDayOfWeek,t=h.l10n.weekdays.shorthand.slice();e>0&&e<t.length&&(t=t.splice(e,t.length).concat(t.splice(0,e)));for(var o=h.config.showMonths;o--;)h.weekdayContainer.children[o].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+t.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}function Y(e,t){void 0===t&&(t=!0);var o=t?e:e-h.currentMonth;o<0&&!0===h._hidePrevMonthArrow||o>0&&!0===h._hideNextMonthArrow||(h.currentMonth+=o,(h.currentMonth<0||h.currentMonth>11)&&(h.currentYear+=h.currentMonth>11?1:-1,h.currentMonth=(h.currentMonth+12)%12,ue("onYearChange")),V(),ue("onMonthChange"),ge())}function K(e){return!(!h.config.appendTo||!h.config.appendTo.contains(e))||h.calendarContainer.contains(e)}function G(e){if(h.isOpen&&!h.config.inline){var t=function(e){return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}(e),o=K(t),n=t===h.input||t===h.altInput||h.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(h.input)||~e.path.indexOf(h.altInput)),i="blur"===e.type?n&&e.relatedTarget&&!K(e.relatedTarget):!n&&!o&&!K(e.relatedTarget),r=!h.config.ignoredFocusElements.some(function(e){return e.contains(t)});i&&r&&(h.close(),"range"===h.config.mode&&1===h.selectedDates.length&&(h.clear(!1),h.redraw()))}}function X(e){if(!(!e||h.config.minDate&&e<h.config.minDate.getFullYear()||h.config.maxDate&&e>h.config.maxDate.getFullYear())){var t=e,o=h.currentYear!==t;h.currentYear=t||h.currentYear,h.config.maxDate&&h.currentYear===h.config.maxDate.getFullYear()?h.currentMonth=Math.min(h.config.maxDate.getMonth(),h.currentMonth):h.config.minDate&&h.currentYear===h.config.minDate.getFullYear()&&(h.currentMonth=Math.max(h.config.minDate.getMonth(),h.currentMonth)),o&&(h.redraw(),ue("onYearChange"))}}function J(e,t){void 0===t&&(t=!0);var o=h.parseDate(e,void 0,t);if(h.config.minDate&&o&&y(o,h.config.minDate,void 0!==t?t:!h.minDateHasTime)<0||h.config.maxDate&&o&&y(o,h.config.maxDate,void 0!==t?t:!h.maxDateHasTime)>0)return!1;if(0===h.config.enable.length&&0===h.config.disable.length)return!0;if(void 0===o)return!1;for(var n=h.config.enable.length>0,i=n?h.config.enable:h.config.disable,r=0,a=void 0;r<i.length;r++){if("function"==typeof(a=i[r])&&a(o))return n;if(a instanceof Date&&void 0!==o&&a.getTime()===o.getTime())return n;if("string"==typeof a&&void 0!==o){var s=h.parseDate(a,void 0,!0);return s&&s.getTime()===o.getTime()?n:!n}if("object"==typeof a&&void 0!==o&&a.from&&a.to&&o.getTime()>=a.from.getTime()&&o.getTime()<=a.to.getTime())return n}return!n}function Z(e){return void 0!==h.daysContainer&&-1===e.className.indexOf("hidden")&&h.daysContainer.contains(e)}function Q(e){var t=e.target===h._input,o=h.config.allowInput,n=h.isOpen&&(!o||!t),i=h.config.inline&&t&&!o;if(13===e.keyCode&&t){if(o)return h.setDate(h._input.value,!0,e.target===h.altInput?h.config.altFormat:h.config.dateFormat),e.target.blur();h.open()}else if(K(e.target)||n||i){var r=!!h.timeContainer&&h.timeContainer.contains(e.target);switch(e.keyCode){case 13:r?(j(),se()):le(e);break;case 27:e.preventDefault(),se();break;case 8:case 46:t&&!h.config.allowInput&&(e.preventDefault(),h.clear());break;case 37:case 39:if(r)h.hourElement&&h.hourElement.focus();else if(e.preventDefault(),void 0!==h.daysContainer&&(!1===o||document.activeElement&&Z(document.activeElement))){var a=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),Y(a),B(R(1),0)):B(void 0,a)}break;case 38:case 40:e.preventDefault();var s=40===e.keyCode?1:-1;h.daysContainer&&void 0!==e.target.$i||e.target===h.input?e.ctrlKey?(e.stopPropagation(),X(h.currentYear-s),B(R(1),0)):r||B(void 0,7*s):h.config.enableTime&&(!r&&h.hourElement&&h.hourElement.focus(),j(e),h._debouncedChange());break;case 9:if(r){var l=[h.hourElement,h.minuteElement,h.secondElement,h.amPM].filter(function(e){return e}),c=l.indexOf(e.target);if(-1!==c){var d=l[c+(e.shiftKey?-1:1)];void 0!==d?(e.preventDefault(),d.focus()):e.shiftKey&&(e.preventDefault(),h._input.focus())}}}}if(void 0!==h.amPM&&e.target===h.amPM)switch(e.key){case h.l10n.amPM[0].charAt(0):case h.l10n.amPM[0].charAt(0).toLowerCase():h.amPM.textContent=h.l10n.amPM[0],A(),ve();break;case h.l10n.amPM[1].charAt(0):case h.l10n.amPM[1].charAt(0).toLowerCase():h.amPM.textContent=h.l10n.amPM[1],A(),ve()}ue("onKeyDown",e)}function ee(e){if(1===h.selectedDates.length&&(!e||e.classList.contains("flatpickr-day")&&!e.classList.contains("disabled"))){for(var t=e?e.dateObj.getTime():h.days.firstElementChild.dateObj.getTime(),o=h.parseDate(h.selectedDates[0],void 0,!0).getTime(),n=Math.min(t,h.selectedDates[0].getTime()),i=Math.max(t,h.selectedDates[0].getTime()),r=h.daysContainer.lastChild.lastChild.dateObj.getTime(),a=!1,s=0,l=0,c=n;c<r;c+=x.DAY)J(new Date(c),!0)||(a=a||c>n&&c<i,c<o&&(!s||c>s)?s=c:c>o&&(!l||c<l)&&(l=c));for(var d=0;d<h.config.showMonths;d++)for(var p=h.daysContainer.children[d],u=h.daysContainer.children[d-1],f=function(n,i){var r=p.children[n],c=r.dateObj.getTime(),f=s>0&&c<s||l>0&&c>l;return f?(r.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){r.classList.remove(e)}),"continue"):a&&!f?"continue":(["startRange","inRange","endRange","notAllowed"].forEach(function(e){r.classList.remove(e)}),void(void 0!==e&&(e.classList.add(t<h.selectedDates[0].getTime()?"startRange":"endRange"),!p.contains(e)&&d>0&&u&&u.lastChild.dateObj.getTime()>=c||(o<t&&c===o?r.classList.add("startRange"):o>t&&c===o&&r.classList.add("endRange"),c>=s&&(0===l||c<=l)&&_(c,o,t)&&r.classList.add("inRange")))))},g=0,m=p.children.length;g<m;g++)f(g)}}function te(){!h.isOpen||h.config.static||h.config.inline||re()}function oe(){h.setDate(void 0!==h.config.minDate?new Date(h.config.minDate.getTime()):new Date,!1),S(),ve()}function ne(e){return function(t){var o=h.config["_"+e+"Date"]=h.parseDate(t,h.config.dateFormat),n=h.config["_"+("min"===e?"max":"min")+"Date"];void 0!==o&&(h["min"===e?"minDateHasTime":"maxDateHasTime"]=o.getHours()>0||o.getMinutes()>0||o.getSeconds()>0),h.selectedDates&&(h.selectedDates=h.selectedDates.filter(function(e){return J(e)}),h.selectedDates.length||"min"!==e||M(o),ve()),h.daysContainer&&(ae(),void 0!==o?h.currentYearElement[e]=o.getFullYear().toString():h.currentYearElement.removeAttribute(e),h.currentYearElement.disabled=!!n&&void 0!==o&&n.getFullYear()===o.getFullYear())}}function ie(){"object"!=typeof h.config.locale&&void 0===C.l10ns[h.config.locale]&&h.config.errorHandler(new Error("flatpickr: invalid locale "+h.config.locale)),h.l10n=e({},C.l10ns.default,"object"==typeof h.config.locale?h.config.locale:"default"!==h.config.locale?C.l10ns[h.config.locale]:void 0),g.K="("+h.l10n.amPM[0]+"|"+h.l10n.amPM[1]+"|"+h.l10n.amPM[0].toLowerCase()+"|"+h.l10n.amPM[1].toLowerCase()+")",h.formatDate=v(h),h.parseDate=b({config:h.config,l10n:h.l10n})}function re(e){if(void 0!==h.calendarContainer){ue("onPreCalendarPosition");var t=e||h._positionElement,o=Array.prototype.reduce.call(h.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),n=h.calendarContainer.offsetWidth,i=h.config.position.split(" "),r=i[0],a=i.length>1?i[1]:null,s=t.getBoundingClientRect(),c=window.innerHeight-s.bottom,d="above"===r||"below"!==r&&c<o&&s.top>o,p=window.pageYOffset+s.top+(d?-o-2:t.offsetHeight+2);if(l(h.calendarContainer,"arrowTop",!d),l(h.calendarContainer,"arrowBottom",d),!h.config.inline){var u=window.pageXOffset+s.left-(null!=a&&"center"===a?(n-s.width)/2:0),f=window.document.body.offsetWidth-s.right,g=u+n>window.document.body.offsetWidth,m=f+n>window.document.body.offsetWidth;if(l(h.calendarContainer,"rightMost",g),!h.config.static)if(h.calendarContainer.style.top=p+"px",g)if(m){var v=document.styleSheets[0];if(void 0===v)return;var b=window.document.body.offsetWidth,y=Math.max(0,b/2-n/2),_=v.cssRules.length,x="{left:"+s.left+"px;right:auto;}";l(h.calendarContainer,"rightMost",!1),l(h.calendarContainer,"centerMost",!0),v.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+x,_),h.calendarContainer.style.left=y+"px",h.calendarContainer.style.right="auto"}else h.calendarContainer.style.left="auto",h.calendarContainer.style.right=f+"px";else h.calendarContainer.style.left=u+"px",h.calendarContainer.style.right="auto"}}}function ae(){h.config.noCalendar||h.isMobile||(ge(),V())}function se(){h._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(h.close,0):h.close()}function le(e){e.preventDefault(),e.stopPropagation();var t=function e(t,o){return o(t)?t:t.parentNode?e(t.parentNode,o):void 0}(e.target,function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var o=t,n=h.latestSelectedDateObj=new Date(o.dateObj.getTime()),i=(n.getMonth()<h.currentMonth||n.getMonth()>h.currentMonth+h.config.showMonths-1)&&"range"!==h.config.mode;if(h.selectedDateElem=o,"single"===h.config.mode)h.selectedDates=[n];else if("multiple"===h.config.mode){var r=he(n);r?h.selectedDates.splice(parseInt(r),1):h.selectedDates.push(n)}else"range"===h.config.mode&&(2===h.selectedDates.length&&h.clear(!1,!1),h.latestSelectedDateObj=n,h.selectedDates.push(n),0!==y(n,h.selectedDates[0],!0)&&h.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(A(),i){var a=h.currentYear!==n.getFullYear();h.currentYear=n.getFullYear(),h.currentMonth=n.getMonth(),a&&ue("onYearChange"),ue("onMonthChange")}if(ge(),V(),ve(),h.config.enableTime&&setTimeout(function(){return h.showTimeInput=!0},50),i||"range"===h.config.mode||1!==h.config.showMonths?void 0!==h.selectedDateElem&&void 0===h.hourElement&&h.selectedDateElem&&h.selectedDateElem.focus():N(o),void 0!==h.hourElement&&void 0!==h.hourElement&&h.hourElement.focus(),h.config.closeOnSelect){var s="single"===h.config.mode&&!h.config.enableTime,l="range"===h.config.mode&&2===h.selectedDates.length&&!h.config.enableTime;(s||l)&&se()}L()}}h.parseDate=b({config:h.config,l10n:h.l10n}),h._handlers=[],h._bind=z,h._setHoursFromDate=M,h._positionCalendar=re,h.changeMonth=Y,h.changeYear=X,h.clear=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),h.input.value="",void 0!==h.altInput&&(h.altInput.value=""),void 0!==h.mobileInput&&(h.mobileInput.value=""),h.selectedDates=[],h.latestSelectedDateObj=void 0,!0===t&&(h.currentYear=h._initialDate.getFullYear(),h.currentMonth=h._initialDate.getMonth()),h.showTimeInput=!1,!0===h.config.enableTime&&S(),h.redraw(),e&&ue("onChange")},h.close=function(){h.isOpen=!1,h.isMobile||(void 0!==h.calendarContainer&&h.calendarContainer.classList.remove("open"),void 0!==h._input&&h._input.classList.remove("active")),ue("onClose")},h._createElement=c,h.destroy=function(){void 0!==h.config&&ue("onDestroy");for(var e=h._handlers.length;e--;){var t=h._handlers[e];t.element.removeEventListener(t.event,t.handler,t.options)}if(h._handlers=[],h.mobileInput)h.mobileInput.parentNode&&h.mobileInput.parentNode.removeChild(h.mobileInput),h.mobileInput=void 0;else if(h.calendarContainer&&h.calendarContainer.parentNode)if(h.config.static&&h.calendarContainer.parentNode){var o=h.calendarContainer.parentNode;if(o.lastChild&&o.removeChild(o.lastChild),o.parentNode){for(;o.firstChild;)o.parentNode.insertBefore(o.firstChild,o);o.parentNode.removeChild(o)}}else h.calendarContainer.parentNode.removeChild(h.calendarContainer);h.altInput&&(h.input.type="text",h.altInput.parentNode&&h.altInput.parentNode.removeChild(h.altInput),delete h.altInput),h.input&&(h.input.type=h.input._type,h.input.classList.remove("flatpickr-input"),h.input.removeAttribute("readonly"),h.input.value=""),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete h[e]}catch(e){}})},h.isEnabled=J,h.jumpToDate=I,h.open=function(e,t){if(void 0===t&&(t=h._positionElement),!0===h.isMobile)return e&&(e.preventDefault(),e.target&&e.target.blur()),void 0!==h.mobileInput&&(h.mobileInput.focus(),h.mobileInput.click()),void ue("onOpen");if(!h._input.disabled&&!h.config.inline){var o=h.isOpen;h.isOpen=!0,o||(h.calendarContainer.classList.add("open"),h._input.classList.add("active"),ue("onOpen"),re(t)),!0===h.config.enableTime&&!0===h.config.noCalendar&&(0===h.selectedDates.length&&oe(),!1!==h.config.allowInput||void 0!==e&&h.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return h.hourElement.select()},50))}},h.redraw=ae,h.set=function(e,o){null!==e&&"object"==typeof e?Object.assign(h.config,e):(h.config[e]=o,void 0!==ce[e]?ce[e].forEach(function(e){return e()}):t.indexOf(e)>-1&&(h.config[e]=s(o))),h.redraw(),ve(!1)},h.setDate=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=h.config.dateFormat),0!==e&&!e||e instanceof Array&&0===e.length)return h.clear(t);de(e,o),h.showTimeInput=h.selectedDates.length>0,h.latestSelectedDateObj=h.selectedDates[0],h.redraw(),I(),M(),ve(t),t&&ue("onChange")},h.toggle=function(e){if(!0===h.isOpen)return h.close();h.open(e)};var ce={locale:[ie,$],showMonths:[W,k,U]};function de(e,t){var o=[];if(e instanceof Array)o=e.map(function(e){return h.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)o=[h.parseDate(e,t)];else if("string"==typeof e)switch(h.config.mode){case"single":case"time":o=[h.parseDate(e,t)];break;case"multiple":o=e.split(h.config.conjunction).map(function(e){return h.parseDate(e,t)});break;case"range":o=e.split(h.l10n.rangeSeparator).map(function(e){return h.parseDate(e,t)})}else h.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));h.selectedDates=o.filter(function(e){return e instanceof Date&&J(e,!1)}),"range"===h.config.mode&&h.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function pe(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?h.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:h.parseDate(e.from,void 0),to:h.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function ue(e,t){if(void 0!==h.config){var o=h.config[e];if(void 0!==o&&o.length>0)for(var n=0;o[n]&&n<o.length;n++)o[n](h.selectedDates,h.input.value,h,t);"onChange"===e&&(h.input.dispatchEvent(fe("change")),h.input.dispatchEvent(fe("input")))}}function fe(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function he(e){for(var t=0;t<h.selectedDates.length;t++)if(0===y(h.selectedDates[t],e))return""+t;return!1}function ge(){h.config.noCalendar||h.isMobile||!h.monthNav||(h.yearElements.forEach(function(e,t){var o=new Date(h.currentYear,h.currentMonth,1);o.setMonth(h.currentMonth+t),h.monthElements[t].textContent=f(o.getMonth(),h.config.shorthandCurrentMonth,h.l10n)+" ",e.value=o.getFullYear().toString()}),h._hidePrevMonthArrow=void 0!==h.config.minDate&&(h.currentYear===h.config.minDate.getFullYear()?h.currentMonth<=h.config.minDate.getMonth():h.currentYear<h.config.minDate.getFullYear()),h._hideNextMonthArrow=void 0!==h.config.maxDate&&(h.currentYear===h.config.maxDate.getFullYear()?h.currentMonth+1>h.config.maxDate.getMonth():h.currentYear>h.config.maxDate.getFullYear()))}function me(e){return h.selectedDates.map(function(t){return h.formatDate(t,e)}).filter(function(e,t,o){return"range"!==h.config.mode||h.config.enableTime||o.indexOf(e)===t}).join("range"!==h.config.mode?h.config.conjunction:h.l10n.rangeSeparator)}function ve(e){if(void 0===e&&(e=!0),0===h.selectedDates.length)return h.clear(e);void 0!==h.mobileInput&&h.mobileFormatStr&&(h.mobileInput.value=void 0!==h.latestSelectedDateObj?h.formatDate(h.latestSelectedDateObj,h.mobileFormatStr):""),h.input.value=me(h.config.dateFormat),void 0!==h.altInput&&(h.altInput.value=me(h.config.altFormat)),!1!==e&&ue("onValueUpdate")}function be(e){e.preventDefault();var t=h.prevMonthNav.contains(e.target),o=h.nextMonthNav.contains(e.target);t||o?Y(t?-1:1):h.yearElements.indexOf(e.target)>=0?e.target.select():e.target.classList.contains("arrowUp")?h.changeYear(h.currentYear+1):e.target.classList.contains("arrowDown")&&h.changeYear(h.currentYear-1)}return function(){h.element=h.input=o,h.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e({},u,JSON.parse(JSON.stringify(o.dataset||{}))),r={};h.config.parseDate=i.parseDate,h.config.formatDate=i.formatDate,Object.defineProperty(h.config,"enable",{get:function(){return h.config._enable},set:function(e){h.config._enable=pe(e)}}),Object.defineProperty(h.config,"disable",{get:function(){return h.config._disable},set:function(e){h.config._disable=pe(e)}});var a="time"===i.mode;i.dateFormat||!i.enableTime&&!a||(r.dateFormat=i.noCalendar||a?"H:i"+(i.enableSeconds?":S":""):C.defaultConfig.dateFormat+" H:i"+(i.enableSeconds?":S":"")),i.altInput&&(i.enableTime||a)&&!i.altFormat&&(r.altFormat=i.noCalendar||a?"h:i"+(i.enableSeconds?":S K":" K"):C.defaultConfig.altFormat+" h:i"+(i.enableSeconds?":S":"")+" K"),Object.defineProperty(h.config,"minDate",{get:function(){return h.config._minDate},set:ne("min")}),Object.defineProperty(h.config,"maxDate",{get:function(){return h.config._maxDate},set:ne("max")});var l=function(e){return function(t){h.config["min"===e?"_minTime":"_maxTime"]=h.parseDate(t,"H:i")}};Object.defineProperty(h.config,"minTime",{get:function(){return h.config._minTime},set:l("min")}),Object.defineProperty(h.config,"maxTime",{get:function(){return h.config._maxTime},set:l("max")}),"time"===i.mode&&(h.config.noCalendar=!0,h.config.enableTime=!0),Object.assign(h.config,r,i);for(var c=0;c<n.length;c++)h.config[n[c]]=!0===h.config[n[c]]||"true"===h.config[n[c]];t.filter(function(e){return void 0!==h.config[e]}).forEach(function(e){h.config[e]=s(h.config[e]||[]).map(m)}),h.isMobile=!h.config.disableMobile&&!h.config.inline&&"single"===h.config.mode&&!h.config.disable.length&&!h.config.enable.length&&!h.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(c=0;c<h.config.plugins.length;c++){var d=h.config.plugins[c](h)||{};for(var p in d)t.indexOf(p)>-1?h.config[p]=s(d[p]).map(m).concat(h.config[p]):void 0===i[p]&&(h.config[p]=d[p])}ue("onParseConfig")}(),ie(),h.input=h.config.wrap?o.querySelector("[data-input]"):o,h.input?(h.input._type=h.input.type,h.input.type="text",h.input.classList.add("flatpickr-input"),h._input=h.input,h.config.altInput&&(h.altInput=c(h.input.nodeName,h.input.className+" "+h.config.altInputClass),h._input=h.altInput,h.altInput.placeholder=h.input.placeholder,h.altInput.disabled=h.input.disabled,h.altInput.required=h.input.required,h.altInput.tabIndex=h.input.tabIndex,h.altInput.type="text",h.input.setAttribute("type","hidden"),!h.config.static&&h.input.parentNode&&h.input.parentNode.insertBefore(h.altInput,h.input.nextSibling)),h.config.allowInput||h._input.setAttribute("readonly","readonly"),h._positionElement=h.config.positionElement||h._input):h.config.errorHandler(new Error("Invalid input element specified")),function(){h.selectedDates=[],h.now=h.parseDate(h.config.now)||new Date;var e=h.config.defaultDate||("INPUT"!==h.input.nodeName&&"TEXTAREA"!==h.input.nodeName||!h.input.placeholder||h.input.value!==h.input.placeholder?h.input.value:null);e&&de(e,h.config.dateFormat),h._initialDate=h.selectedDates.length>0?h.selectedDates[0]:h.config.minDate&&h.config.minDate.getTime()>h.now.getTime()?h.config.minDate:h.config.maxDate&&h.config.maxDate.getTime()<h.now.getTime()?h.config.maxDate:h.now,h.currentYear=h._initialDate.getFullYear(),h.currentMonth=h._initialDate.getMonth(),h.selectedDates.length>0&&(h.latestSelectedDateObj=h.selectedDates[0]),void 0!==h.config.minTime&&(h.config.minTime=h.parseDate(h.config.minTime,"H:i")),void 0!==h.config.maxTime&&(h.config.maxTime=h.parseDate(h.config.maxTime,"H:i")),h.minDateHasTime=!!h.config.minDate&&(h.config.minDate.getHours()>0||h.config.minDate.getMinutes()>0||h.config.minDate.getSeconds()>0),h.maxDateHasTime=!!h.config.maxDate&&(h.config.maxDate.getHours()>0||h.config.maxDate.getMinutes()>0||h.config.maxDate.getSeconds()>0),Object.defineProperty(h,"showTimeInput",{get:function(){return h._showTimeInput},set:function(e){h._showTimeInput=e,h.calendarContainer&&l(h.calendarContainer,"showTimeInput",e),h.isOpen&&re()}})}(),h.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=h.currentMonth),void 0===t&&(t=h.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:h.l10n.daysInMonth[e]}},h.isMobile||function(){var e=window.document.createDocumentFragment();if(h.calendarContainer=c("div","flatpickr-calendar"),h.calendarContainer.tabIndex=-1,!h.config.noCalendar){if(e.appendChild((h.monthNav=c("div","flatpickr-months"),h.yearElements=[],h.monthElements=[],h.prevMonthNav=c("span","flatpickr-prev-month"),h.prevMonthNav.innerHTML=h.config.prevArrow,h.nextMonthNav=c("span","flatpickr-next-month"),h.nextMonthNav.innerHTML=h.config.nextArrow,W(),Object.defineProperty(h,"_hidePrevMonthArrow",{get:function(){return h.__hidePrevMonthArrow},set:function(e){h.__hidePrevMonthArrow!==e&&(l(h.prevMonthNav,"disabled",e),h.__hidePrevMonthArrow=e)}}),Object.defineProperty(h,"_hideNextMonthArrow",{get:function(){return h.__hideNextMonthArrow},set:function(e){h.__hideNextMonthArrow!==e&&(l(h.nextMonthNav,"disabled",e),h.__hideNextMonthArrow=e)}}),h.currentYearElement=h.yearElements[0],ge(),h.monthNav)),h.innerContainer=c("div","flatpickr-innerContainer"),h.config.weekNumbers){var t=function(){h.calendarContainer.classList.add("hasWeeks");var e=c("div","flatpickr-weekwrapper");e.appendChild(c("span","flatpickr-weekday",h.l10n.weekAbbreviation));var t=c("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),o=t.weekWrapper,n=t.weekNumbers;h.innerContainer.appendChild(o),h.weekNumbers=n,h.weekWrapper=o}h.rContainer=c("div","flatpickr-rContainer"),h.rContainer.appendChild(U()),h.daysContainer||(h.daysContainer=c("div","flatpickr-days"),h.daysContainer.tabIndex=-1),V(),h.rContainer.appendChild(h.daysContainer),h.innerContainer.appendChild(h.rContainer),e.appendChild(h.innerContainer)}h.config.enableTime&&e.appendChild(function(){h.calendarContainer.classList.add("hasTime"),h.config.noCalendar&&h.calendarContainer.classList.add("noCalendar"),h.timeContainer=c("div","flatpickr-time"),h.timeContainer.tabIndex=-1;var e=c("span","flatpickr-time-separator",":"),t=p("flatpickr-hour");h.hourElement=t.getElementsByTagName("input")[0];var o=p("flatpickr-minute");if(h.minuteElement=o.getElementsByTagName("input")[0],h.hourElement.tabIndex=h.minuteElement.tabIndex=-1,h.hourElement.value=i(h.latestSelectedDateObj?h.latestSelectedDateObj.getHours():h.config.time_24hr?h.config.defaultHour:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(h.config.defaultHour)),h.minuteElement.value=i(h.latestSelectedDateObj?h.latestSelectedDateObj.getMinutes():h.config.defaultMinute),h.hourElement.setAttribute("step",h.config.hourIncrement.toString()),h.minuteElement.setAttribute("step",h.config.minuteIncrement.toString()),h.hourElement.setAttribute("min",h.config.time_24hr?"0":"1"),h.hourElement.setAttribute("max",h.config.time_24hr?"23":"12"),h.minuteElement.setAttribute("min","0"),h.minuteElement.setAttribute("max","59"),h.timeContainer.appendChild(t),h.timeContainer.appendChild(e),h.timeContainer.appendChild(o),h.config.time_24hr&&h.timeContainer.classList.add("time24hr"),h.config.enableSeconds){h.timeContainer.classList.add("hasSeconds");var n=p("flatpickr-second");h.secondElement=n.getElementsByTagName("input")[0],h.secondElement.value=i(h.latestSelectedDateObj?h.latestSelectedDateObj.getSeconds():h.config.defaultSeconds),h.secondElement.setAttribute("step",h.minuteElement.getAttribute("step")),h.secondElement.setAttribute("min","0"),h.secondElement.setAttribute("max","59"),h.timeContainer.appendChild(c("span","flatpickr-time-separator",":")),h.timeContainer.appendChild(n)}return h.config.time_24hr||(h.amPM=c("span","flatpickr-am-pm",h.l10n.amPM[r((h.latestSelectedDateObj?h.hourElement.value:h.config.defaultHour)>11)]),h.amPM.title=h.l10n.toggleTitle,h.amPM.tabIndex=-1,h.timeContainer.appendChild(h.amPM)),h.timeContainer}()),l(h.calendarContainer,"rangeMode","range"===h.config.mode),l(h.calendarContainer,"animate",!0===h.config.animate),l(h.calendarContainer,"multiMonth",h.config.showMonths>1),h.calendarContainer.appendChild(e);var a=void 0!==h.config.appendTo&&void 0!==h.config.appendTo.nodeType;if((h.config.inline||h.config.static)&&(h.calendarContainer.classList.add(h.config.inline?"inline":"static"),h.config.inline&&(!a&&h.element.parentNode?h.element.parentNode.insertBefore(h.calendarContainer,h._input.nextSibling):void 0!==h.config.appendTo&&h.config.appendTo.appendChild(h.calendarContainer)),h.config.static)){var s=c("div","flatpickr-wrapper");h.element.parentNode&&h.element.parentNode.insertBefore(s,h.element),s.appendChild(h.element),h.altInput&&s.appendChild(h.altInput),s.appendChild(h.calendarContainer)}h.config.static||h.config.inline||(void 0!==h.config.appendTo?h.config.appendTo:window.document.body).appendChild(h.calendarContainer)}(),function(){if(h.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(h.element.querySelectorAll("[data-"+e+"]"),function(t){return z(t,"click",h[e])})}),h.isMobile)!function(){var e=h.config.enableTime?h.config.noCalendar?"time":"datetime-local":"date";h.mobileInput=c("input",h.input.className+" flatpickr-mobile"),h.mobileInput.step=h.input.getAttribute("step")||"any",h.mobileInput.tabIndex=1,h.mobileInput.type=e,h.mobileInput.disabled=h.input.disabled,h.mobileInput.required=h.input.required,h.mobileInput.placeholder=h.input.placeholder,h.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",h.selectedDates.length>0&&(h.mobileInput.defaultValue=h.mobileInput.value=h.formatDate(h.selectedDates[0],h.mobileFormatStr)),h.config.minDate&&(h.mobileInput.min=h.formatDate(h.config.minDate,"Y-m-d")),h.config.maxDate&&(h.mobileInput.max=h.formatDate(h.config.maxDate,"Y-m-d")),h.input.type="hidden",void 0!==h.altInput&&(h.altInput.type="hidden");try{h.input.parentNode&&h.input.parentNode.insertBefore(h.mobileInput,h.input.nextSibling)}catch(e){}z(h.mobileInput,"change",function(e){h.setDate(e.target.value,!1,h.mobileFormatStr),ue("onChange"),ue("onClose")})}();else{var e=a(te,50);h._debouncedChange=a(L,w),h.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&z(h.daysContainer,"mouseover",function(e){"range"===h.config.mode&&ee(e.target)}),z(window.document.body,"keydown",Q),h.config.static||z(h._input,"keydown",Q),h.config.inline||h.config.static||z(window,"resize",e),void 0!==window.ontouchstart?z(window.document,"click",G):z(window.document,"mousedown",D(G)),z(window.document,"focus",G,{capture:!0}),!0===h.config.clickOpens&&(z(h._input,"focus",h.open),z(h._input,"mousedown",D(h.open))),void 0!==h.daysContainer&&(z(h.monthNav,"mousedown",D(be)),z(h.monthNav,["keyup","increment"],E),z(h.daysContainer,"mousedown",D(le))),void 0!==h.timeContainer&&void 0!==h.minuteElement&&void 0!==h.hourElement&&(z(h.timeContainer,["increment"],j),z(h.timeContainer,"blur",j,{capture:!0}),z(h.timeContainer,"mousedown",D(P)),z([h.hourElement,h.minuteElement],["focus","click"],function(e){return e.target.select()}),void 0!==h.secondElement&&z(h.secondElement,"focus",function(){return h.secondElement&&h.secondElement.select()}),void 0!==h.amPM&&z(h.amPM,"mousedown",D(function(e){j(e),L()})))}}(),(h.selectedDates.length||h.config.noCalendar)&&(h.config.enableTime&&M(h.config.noCalendar?h.latestSelectedDateObj||h.config.minDate:void 0),ve(!1)),k(),h.showTimeInput=h.selectedDates.length>0||h.config.noCalendar;var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!h.isMobile&&n&&re(),ue("onReady")}(),h}function j(e,t){for(var o=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),n=[],i=0;i<o.length;i++){var r=o[i];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=k(r,t||{}),n.push(r._flatpickr)}catch(e){console.error(e)}}return 1===n.length?n[0]:n}"undefined"!=typeof HTMLElement&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return j(this,e)},HTMLElement.prototype.flatpickr=function(e){return j([this],e)});var C=function(e,t){return"string"==typeof e?j(window.document.querySelectorAll(e),t):e instanceof Node?j([e],t):j(e,t)};return C.defaultConfig=o,C.l10ns={en:e({},n),default:e({},n)},C.localize=function(t){C.l10ns.default=e({},C.l10ns.default,t)},C.setDefaults=function(t){C.defaultConfig=e({},C.defaultConfig,t)},C.parseDate=b({}),C.formatDate=v({}),C.compareDates=y,"undefined"!=typeof jQuery&&(jQuery.fn.flatpickr=function(e){return j(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=C),C}()},function(e,t){

!function(){"use strict";var e={template:'<ng-transclude><input type="text" ng-if="!$ctrl.fpOpts.inline" ng-model="$ctrl.ngModel" placeholder="{{ $ctrl.fpOpts.placeholder }}"></input><div ng-if="$ctrl.fpOpts.inline"></div></ng-transclude>',controller:t,transclude:!0,bindings:{ngModel:"<",fpOpts:"<",fpOnSetup:"&"}};function t(e,t,o){var n=this;function i(){t(function(){!function(e){var t=flatpickr||FlatpickrInstance;if(!t)return console.warn("Unable to find any flatpickr installation");var i=new t(e,n.fpOpts);n.fpOnSetup&&n.fpOnSetup({fpItem:i}),n.ngModel&&i.setDate(n.ngModel),angular.element(e).on("$destroy",function(){i.destroy()}),o.$applyAsync()}(e.find("ng-transclude")[0].children[0])},0,!0)}n.$onInit=function(){n.fpOpts.placeholder=n.fpOpts.placeholder||"Select Date..",i()},n.$onChanges=function(){i()}}t.$inject=["$element","$timeout","$scope"],angular.module("angular-flatpickr",[]).component("ngFlatpickr",e)}()},function(e,t,o){var n={"./default.svg":61};function i(e){var t=r(e);return o(t)}function r(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id=60},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSIzOHB4IiB2aWV3Qm94PSIwIDAgMzAgMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZWVlIj4KICAgIDxwYXRoIGQ9Ik0zLDEuMTU4NDkzNTllLTE2IEwyMS43NTczNTkzLC04Ljg4MTc4NDJlLTE2IEMyMi41NTMwMDg4LC0xLjc0MTAxNTU0ZS0xNSAyMy4zMTYwNzA1LDAuMzE2MDcwNTIxIDIzLjg3ODY3OTcsMC44Nzg2Nzk2NTYgTDI5LjEyMTMyMDMsNi4xMjEzMjAzNCBDMjkuNjgzOTI5NSw2LjY4MzkyOTQ4IDMwLDcuNDQ2OTkxMjIgMzAsOC4yNDI2NDA2OSBMMzAsMzUgQzMwLDM2LjY1Njg1NDIgMjguNjU2ODU0MiwzOCAyNywzOCBMMywzOCBDMS4zNDMxNDU3NSwzOCAyLjAyOTA2MTI1ZS0xNiwzNi42NTY4NTQyIDAsMzUgTDQuNDQwODkyMWUtMTYsMyBDMi40MTE4MzA4NWUtMTYsMS4zNDMxNDU3NSAxLjM0MzE0NTc1LDcuNDg0NDgzOThlLTE2IDMsNC40NDA4OTIxZS0xNiBaIi8+Cjwvc3ZnPgo="},function(e,t){angular.module("elfsightAppsEditor").run(["gettextCatalog",function(e){e.setStrings("ru_RU",{"+ Add New {{ control.name }}":"+ Добавить {{ control.name }}",Add:"Добавить","An error was received while authorization. Please, try to reconnect.":"Ошибка при авторизации. Пожалуйста, попробуйте снова.",Apply:"Применить","Are you sure you want to remove?":"Вы уверены, что хотите удалить?","Back to preview":"Назад к предпросмотру","Choose your place":"Выберите место","Clear color":"Очистить цвет","Collecting reviews":"Сбор отзывов","Connect to {{control.token.title}}":"Подключено к {{control.token.title}}",Connected:"Подключено","Continue with this template":"Продолжить с этим шаблоном","Custom CSS":"Пользовательский CSS",Disconnect:"Отключить",Disconnected:"Отключено","Duplicate item":"Дублировать элемент","If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.":"Если вы хотите персонализировать виджет, добавьте свои стили сюда. Они будут применены только к этому виджету.",No:"Нет","No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.":"No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.",Off:"Выкл",On:"Вкл","Open connected Google Sheet":"Открыть подключенный Google Sheet","Remove item":"Удалить элемент","Reviews collected":"Отзывы собраны",Search:"Поиск","Select a template to start with":"Начните с выбора шаблона","The manage_pages permission is required to access your Facebook pages.":"The manage_pages permission is required to access your Facebook pages.","Widget Settings":"Настройки виджета",Yes:"Да","You widget is successfully connected to {{control.token.title}}. You can continue customization.":"Виджет успешно подключен к {{control.token.title}}. Вы можете перейти к настройкам."})}])},function(e,t,o){"use strict";C.$inject=["$document"],A.$inject=["$document"],M.$inject=["$document"],o.r(t),o(52),o(54),o(55),o(56),o(58),o(59);var n=o(5),i=o.n(n),r=o(6),a=o.n(r);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["$rootScope","$popup","$sub",function(e,t,o){return{template:a.a,replace:!0,controller:["$scope","$rootScope","$window","$element","$http","$timeout","$compile","$sce",function(e,n,i,r,a,l,c,d){var p=n.elfsightFilesToken;e.control.file=angular.extend({accept:".jpg,.jpeg,.gif,.jpe,.png",old:!0,multiple:!1},e.control.file),e.loadInProgress=!1,e.uploaded=!1,e.itemsToRemove=[],e.mode=null,p?e.mode="default":window.wp&&window.wp.media?e.mode="wpMedia":e.mode="fallbackUrl",e.$watch("ngModel",function(t,o){if("string"==typeof t&&e.control.file.old)e.file={type:"link",data:{name:t.replace(/^.*[\\\/]/,""),url:t}};else if(Array.isArray(t)&&!e.control.file.multiple)e.file={type:"link",data:{name:t[0].data.name,url:t[0].data.url}};else if(Array.isArray(t)&&e.control.file.multiple){if(t===o)return}else"object"===s(t)&&t&&(e.file={type:"link",data:{name:t.data.name,url:t.data.url}});e.ngModel||(e.file=null)}),e.itemIsImage=function(e){return e&&e.match(/(jpg|jpeg|png|gif)$/g)?e.match(/(jpg|jpeg|png|gif)$/g).length>0:""},e.selectFile=function(o){o&&o.target&&angular.element(o.target).hasClass("ea-editor-property-control-file-exists-delete")?e.deleteCurrentFile():t.show(e,c("<elfsight-apps-file-manager></elfsight-apps-file-manager>")(e))},e.deleteCurrentFile=function(){l(function(){e.file=null,e.ngModel=null})},e.openSub=function(t){var i=n.$new();i.name=t.name,i.data=t,i.properties=[{id:"description",name:"Description",description:"",type:"textarea",defaultValue:"",textarea:{enableRichEdit:!0,enableRichEditHtml:!0},allowEmpty:!0}],i.preview={onClick:e.selectFile,image:t&&t.data&&t.data.file_url?t.data.file_url:""},n.currentComplex=t,o.show(i)},e.reorderClick=function(e){e.stopPropagation()},e.removeItem=function(t,o){e.ngModel.splice(t,1),e.itemsToRemove=[],o.stopPropagation()},e.showRemoveConfirm=function(t,o){e.itemsToRemove.push(t),o.stopPropagation()},e.hideRemoveConfirm=function(t,o){e.itemsToRemove.splice(e.itemsToRemove.indexOf(t),1),o.stopPropagation()},e.setValue=function(t){e.ngModel=t.target.value}}]}}];l.$inject=["$rootScope","$popup","$sub"];var c=o(7),d=o.n(c),p=["$sub","$timeout",function(e,t){return{template:d.a,replace:!0,link:function(o,n,i){var r=[],a=null;t(function(){angular.forEach(n[0].getElementsByClassName("ea-editor-property-control"),function(e){r.push(e)}),r.forEach(function(e,t,o){(angular.element(e).hasClass("ea-editor-property-control-text")&&!a||angular.element(e).hasClass("ea-editor-property-control-textarea")&&!a||angular.element(e).hasClass("ea-editor-property-control-number")&&!a)&&(angular.element(e).hasClass("ea-editor-property-control-datepicker")||(a=angular.element(e)))}),a&&(a[0].getElementsByTagName("input")[0]?a[0].getElementsByTagName("input")[0].focus():a[0].getElementsByTagName("textarea")[0]&&a[0].getElementsByTagName("textarea")[0].focus())},100),o.$on("$destroy",function(){e.hide(n)}),o.hide=function(){e.hide(o,n)},!o.name&&o.data&&o.data.data&&o.data.data.name&&(o.name=o.data.data.name)},controller:["$scope",function(e){}]}}];p.$inject=["$sub","$timeout"];var u=o(8),f=o.n(u),h=["$popup","$timeout",function(e,t){return{template:f.a,replace:!0,controller:["$scope",function(e){}],link:function(e,t,o){t.append(e.element)}}}];h.$inject=["$popup","$timeout"];var g=o(9),m=o.n(g),v=["$sce","$timeout","$l10n","$utils",function(e,t,o,n){return{template:m.a,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(e,t,i){e.templates=o.translate(e.$parent.templates),e.editor=e.$parent,e.initialData=e.editor.widget.data||{},e.showTemplates=!1,e.setData=function(t){if(e.currentTemplate=e.templates[t]||null,e.enableTemplates=!!e.currentTemplate,e.editor.widget&&e.editor.widget.data&&e.currentTemplate){e.editor.widget.data=angular.extend({},e.initialData),e.editor.properties.forEach(function(t){n.recursivelyGetAllProps(e.editor.properties,e.editor.widget.data,t.type)});var o={};e.currentTemplate.settings=angular.isString(e.currentTemplate.settings)?angular.fromJson(e.currentTemplate.settings):e.currentTemplate.settings,Object.keys(e.currentTemplate.settings).map(function(t){var n=e.currentTemplate.settings[t];e.editor.widget&&e.editor.widget.data&&e.editor.widget.data.hasOwnProperty(t)&&(o[t]=n)}),e.editor.widget.data=angular.extend(e.editor.widget.data,o)}},e.hideTemplates=function(){e.showTemplates=!1,e.enableTemplates=!1,e.editor.onTemplateSelect&&"function"==typeof e.editor.onTemplateSelect&&e.editor.onTemplateSelect()},e.selectTemplate=function(t){e.setData(t),e.hideTemplates()},e.setData(0)}]}}];v.$inject=["$sce","$timeout","$l10n","$utils"];var b=o(10),y=o.n(b),_=["$visual","$timeout",function(e,t){return{template:y.a,replace:!0,link:function(t,o){var n=function(e,t,o){var n;return e.forEach(function(e){t.forEach(function(t){angular.equals(e[t],o)&&(n=e)})}),n};t.$on("$destroy",function(){e.hide(o)}),t.hide=function(){e.hide(t,o)},o.on("change",function(){t.selected=n(t.control.select.options,["value"],t.ngModel)}),t.selected=n(t.control.select.options,["value"],t.ngModel)}}}];_.$inject=["$visual","$timeout"];var x=o(11),w=o.n(x),k=["$user","$timeout","$document",function(e,t,o){return{template:w.a,replace:!0,link:function(t,o){var n=function(e,t,o){var n;return e.forEach(function(e){t.forEach(function(t){e[t]===o&&(n=e)})}),n};t.$on("$destroy",function(){e.hide(o)}),t.hide=function(){e.hide(t,o)},t.selected=n(t.data,["photo"],t.ngModel.photo),o.on("change",function(){t.selected=n(t.data,["photo"],t.ngModel.photo)})},controller:["$scope",function(e){}]}}];k.$inject=["$user","$timeout","$document"];var j=["$rootScope",function(e){return{link:function(t,o){o.bind("mouseenter",function(){t.control.description&&t.$apply(function(){e.editorHint=t.control.description,e.editorHintVisible=!0})}),o.bind("mouseleave",function(){e.editorHint===t.control.description&&t.$apply(function(){e.editorHintVisible=!1})})}}}];function C(e){return{restrict:"A",link:function(e,t,o){t.bind("scroll",function(){t[0].scrollTop+t[0].offsetHeight>=t[0].scrollHeight&&e.loadUsers()})}}}function A(e){return{restrict:"A",link:function(e,t){e.active=!1,e.done=!1,e.inProgress=!1,e.popupContainer=document.getElementsByClassName("ea-editor-popup-container")[0];var o=0;e.popupContainer.addEventListener("dragover",function(t){t.preventDefault(),e.preview=document.getElementsByClassName("ea-editor-preview-container")[0],e.dropzoneInput=document.getElementsByClassName("ea-editor-file-manager-upload-input")[0],e.preview.style.opacity=0,e.dropzoneInput.style.display="none"},!1),e.popupContainer.addEventListener("dragenter",function(n){n.preventDefault(),o++,n.target===t[0]&&(e.hovered=!0)},!1),e.popupContainer.addEventListener("dragleave",function(t){0==--o&&(e.preview.style.opacity=1,e.dropzoneInput.style.display="block",e.hovered=!1)},!1),window.addEventListener("drop",function(o){if(o.preventDefault(),e.preview.style.opacity=1,e.dropzoneInput.style.display="block",e.hovered=!1,o.target===t[0]){e.inProgress=!0;for(var n=o.dataTransfer.files,i=0,r=n[i];r===n[i];i++){var a=new FileReader;a.readAsArrayBuffer(r),a.onload=function(t){return function(){e.processFile(t),e.inProgress=!1}}(r)}}},!1)}}}function M(e){return{restrict:"A",scope:{ngMultiple:"="},link:function(e,t){e.$watch("ngMultiple",function(e){e?t.attr("multiple","multiple"):t.removeAttr("multiple")})}}}j.$inject=["$rootScope"];var S=o(12),T=o.n(S);var E=["$rootScope","$compile","$filter",function(e,t,o){return{template:T.a,replace:!0,controller:["$scope","$element",function(n,i){var r=angular.element(i[0].querySelector(".ea-editor-file-manager-tabs-content"));n.settings=angular.extend({chooseButtonText:"OK",old:!0},n.control.file),n.tabs=n.settings&&n.settings.tabs?n.settings.tabs:[{name:"Upload File",value:"upload"},{name:"Recently Uploaded",value:"files"},{name:"File by URL",value:"link"}],"wpMedia"===n.mode&&(n.tabs=o("filter")(n.tabs,{value:"!files"})),n.currentTab=n.tabs[0].value,n.currentTabId=0,n.setResult=function(t){var o,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.settings.multiple?(n.ngModel||(n.ngModel=[]),t.length?(o=n.ngModel).push.apply(o,function(e){return function(e){if(Array.isArray(e)){for(var t=0,o=new Array(e.length);t<e.length;t++)o[t]=e[t];return o}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t)):n.ngModel.push(t)):n.settings.old?(n.ngModel=t[0].data.url,n.file={type:"link",data:{name:t[0].data.name,url:t[0].data.url}}):(n.ngModel=t[0],n.file=t[0]),i&&e.hidePopup()},n.setCurrentTab=function(e,t){n.currentTab=e,n.currentTabId=t},n.allTabs={upload:t("<elfsight-apps-file-manager-upload></elfsight-apps-file-manager-upload>")(n),link:t("<elfsight-apps-file-manager-link></elfsight-apps-file-manager-link>")(n)},"wpMedia"!==n.mode&&(n.allTabs.files=t("<elfsight-apps-file-manager-files></elfsight-apps-file-manager-files>")(n)),n.tabs.map(function(e){r.append(n.allTabs[e.value])}),n.extension=function(e){return(e=e.substr(1+e.lastIndexOf("/")).split("?")[0]).split("#")[0].substr(e.lastIndexOf("."))},n.formatSize=function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]}}]}}];E.$inject=["$rootScope","$compile","$filter"];var z=o(13),D=o.n(z),L=o(60),I=["$rootScope","$http",function(e,t){return{template:D.a,replace:!0,controller:["$scope",function(o){var n=e.elfsightFilesToken,i=[];o.filesResult=[],o.activeId=[];var r=L.keys().reduce(function(e,t){return e[t]=L(t),e},{});o.setFileUrl=function(e,t){var n={type:"uploaded",data:{url:e.url,width:e.width,height:e.height,name:e.name,size:e.size,ext:o.extension(e.url).replace(".","")}};o.settings.multiple?(-1!==o.activeId.indexOf(t)?(o.activeId.splice(o.activeId.indexOf(t),1),i.splice(i.indexOf(o.files[t]),1)):(o.activeId.push(t),i.push(n)),o.filesResult=i):(o.filesResult=[n],o.activeId=[t])},t.get("https://files.elfsight.com/public/files/list/?access_token="+n).then(function(e){o.files=e.data.filter(function(e){return-1!==o.settings.accept.indexOf(o.extension(e.url))||-1!==o.settings.accept.indexOf("*")}).map(function(e){var t=e;return r["./".concat(o.extension(e.url),".svg")]?(t.icon=r["./".concat(o.extension(e.url),".svg")],t.previewType="specifiedIcon"):(t.icon=r["./default.svg"],t.previewType="defaultIcon"),/png|jpg|jpeg|svg/.test(o.extension(t.url))&&(t.icon=null,t.previewType="image"),t}),o.files.length||(o.filesError="You haven't ulpoaded any files yet")}).catch(function(e){o.filesError="Can't connect to server",console.error(e)})}]}}];I.$inject=["$rootScope","$http"];var P=o(14),q=o.n(P),O=["$rootScope","$popup",function(e,t){return{template:q.a,replace:!0,controller:["$scope",function(e){e.url=null,e.linkResult=null,e.onChange=function(){e.linkResult=[{type:"link",data:{name:e.url.replace(/^.*[\\\/]/,""),url:e.url,ext:e.extension(e.url).replace(".","")}}]}}]}}];O.$inject=["$rootScope","$popup"];var N=o(15),R=o.n(N),B=["$rootScope","$popup","$http","$timeout",function(e,t,o,n){return{template:R.a,replace:!0,controller:["$scope",function(t){var n=e.elfsightFilesToken;if(t.uploadResult=[],t.uploadFiles=[],t.uploadFilesCount=0,t.wrongFileType=!1,t.maxFileSize="25",t.success=!1,t.wpMedia=null,"wpMedia"===t.mode){var i=wp.media({title:t.control.name,multiple:t.control.file.multiple});i.on("select",function(){var e,o=[];i.state().get("selection").forEach(function(e){e.toJSON();var t=e.attributes,n=t.title,i=t.url,r=t.filesizeInBytes,a=t.type,s=t.subtype,l=t.width,c=t.height;o.push({type:"uploaded",data:{name:n,url:i,size:r,type:a,extension:s,width:l,height:c,ext:s}})}),(e=t.uploadResult).push.apply(e,o),t.setResult(t.uploadResult),t.$apply()}),t.wpMedia={open:function(){return i.open()}}}t.processUploadedFile=function(e){var o=angular.element(e)[0].files;t.processFiles(o)},t.processFiles=function(e){t.uploadFilesCount=e.length;for(var o=0;o<e.length;o++)t.uploadFiles.push(e[o]),t.uploadFile(null,e[o],o)},t.removeFile=function(e){t.uploadFiles.splice(t.uploadFiles.indexOf(e),1)},t.uploadFile=function(e,i,r){if(i){var a=new FormData;a.append("access_token",n),a.append("file",i),o({method:"POST",url:"https://files.elfsight.com/public/files/upload/",cache:!1,transformRequest:angular.identity,headers:{"Content-Type":void 0},type:"UPLOAD_FILE",data:a,uploadEventHandlers:{progress:function(e){e.lengthComputable&&(i.progressBar=e.loaded/e.total*100)}}}).then(function(e){t.error="",e.data.status?e.status&&(t.uploadResult.push({type:"uploaded",data:angular.extend({},{name:i.name,size:i.size,type:i.type,url:e.data.data.file_url,extension:e.data.data.file_url.split(".").pop()},e.data.data)}),t.settings.multiple||t.setResult(t.uploadResult),t.uploadFilesCount--):t.uploadFiles[r].error=e.data.reason}).catch(function(e){t.loadInProgress=!1,t.uploaded=!1,t.uploadResult=[],413===e.status&&(t.error="File size limit exceeded")})}}}]}}];B.$inject=["$rootScope","$popup","$http","$timeout"];var H=["$compile","$rootScope","$sce","$l10n",function(e,t,o,n){return{scope:{control:"=",ngModel:"="},replace:!0,controller:["$scope",function(e){e.toTrustedHTML=function(e){return o.trustAsHtml(o.valueOf(e))}}],link:function(t,i){t.control=n.translateControl(t.control),t.setDefaultValueIfEmpty=function(){t.control.allowEmpty||""!==t.ngModel&&null!==t.ngModel&&angular.isDefined(t.ngModel)||(t.ngModel=void 0===t.control.defaultValue?null:angular.copy(t.control.defaultValue))},angular.isDefined(t.ngModel)||(t.ngModel=void 0===t.control.defaultValue?null:angular.copy(t.control.defaultValue)),t.control.caption&&(t.control.captionTrusted=o.trustAsHtml(t.control.caption));var r,a="<elfsight-apps-control-#type#></elfsight-apps-control-#type#>";r="custom"===t.control.type&&t.control.custom.type?angular.element(a.replace("#type#","custom-"+t.control.custom.type)):angular.element(a.replace("#type#",t.control.type)),i.replaceWith(e(r)(t))}}}];H.$inject=["$compile","$rootScope","$sce","$l10n"];var V=o(0),F=o.n(V),W=["$rootScope","$sce",function(e,t){return{template:F.a,replace:!0,controller:["$scope",function(e){e.showBtn=e.control.text&&e.control.text.button,Number.isInteger(e.control.maxLength)&&(e.symbolsLast=e.control.maxLength-e.ngModel.length,e.$watch("ngModel",function(t,o){e.control.dirty=t!==o,e.symbolsLast=e.control.maxLength&&t?e.control.maxLength-t.length:null,e.symbolsLast<0&&(e.ngModel=t.slice(0,e.control.maxLength))})),e.toTrustedHTML=function(e){return t.trustAsHtml(t.valueOf(e))}}],link:function(e,t){var o=document.createElement("div"),n=!1;e.$watch("ngModel",function(t){if(n)n=!1;else{var i=!1;o.innerHTML=t,angular.forEach(o.querySelectorAll("script"),function(e){e.parentNode.removeChild(e),i=!0}),angular.forEach(o.querySelectorAll("iframe"),function(e){e.parentNode.removeChild(e),i=!0}),i&&(e.ngModel=o.innerHTML,n=!0)}})}}}];W.$inject=["$rootScope","$sce"];var U=o(16),$=o.n(U),Y=o(17),K=o.n(Y),G=o(1),X=o.n(G),J=["$timeout",function(e){return{template:$.a,replace:!0,controller:["$scope","$rootScope","$element",function(t,o,n){var i="pasteStorage,DragAndDrop,xpath,stat,sticky,search,tableKeyboardNavigation,table,hotkeys,symbols,redoundo,placeholder,orderedlist,mobile,link,justify,inlinePopup,imageProperties,imageProcessor,indent,addNewLine,autofocus,backspace,bold,color,enter,errorMessages,font,formatBlock,fullsize,iframe";t.valueChanged=!1;var r={};if(t.control.textarea&&t.control.textarea.settings&&(r=angular.extend(t.control.textarea.settings)),Number.isInteger(t.control.maxLength)&&(r.limitChars=t.control.maxLength),r=angular.extend({spellcheck:!1,toolbarButtonSize:"medium",askBeforePasteHTML:!1,askBeforePasteFromWord:!1,defaultActionOnPaste:"insert_only_text",useNativeTooltip:!0,disablePlugins:i,buttons:"bold,underline,italic,ul,ol,align,link"+(t.control.textarea&&t.control.textarea.enableRichEditHtml?",source":""),toolbarSticky:!1,enter:"BR"},r),t.control.textarea&&t.control.textarea.enableRichEdit)t.editor=new X.a(n.find("textarea")[0],r),t.editor.events.on("afterInit",function(){t.editor.value=t.ngModel||""}),t.editor.events.on("change",function(){t.valueChanged=!0,t.ngModel=t.editor.value,e(function(){t.$apply()})}),t.fixedMinHeight=t.control.textarea.fixedMinHeight||!1;else if(t.control.textarea&&(t.control.textarea.CSSMode||t.control.textarea.JSONMode)){var a;t.control.textarea.JSONMode&&(a="json"),t.control.textarea.CSSMode&&(a="css"),t.editor=new X.a(n.find("textarea")[0],{sourceEditorNativeOptions:{mode:"ace/mode/"+a},toolbar:!1,disablePlugins:i,defaultMode:X.a.MODE_SOURCE}),t.editor.events.on("afterInit",function(){t.editor.value=t.ngModel||""}),t.editor.events.on("change",function(){t.valueChanged=!0,t.ngModel=t.editor.value,e(function(){t.$apply()})})}else setTimeout(function(){K()(n.find("textarea"))},100);t.$watch("ngModel",function(o,n){t.ngModelChanged=!0,!t.ngModel&&t.editor&&(t.editor.value=""),o&&o!==n&&!t.valueChanged&&t.editor&&e(function(){t.editor.value=o,t.$apply()}),e(function(){t.ngModelChanged=!1},100),t.valueChanged=!1})}],link:function(e,t){var o=document.createElement("div"),n=!1;e.$watch("ngModel",function(t){if(n)n=!1;else{var i=!1;o.innerHTML=t,angular.forEach(o.querySelectorAll("script"),function(e){e.parentNode.removeChild(e),i=!0}),angular.forEach(o.querySelectorAll("iframe"),function(e){e.parentNode.removeChild(e),i=!0}),i&&(e.ngModel=o.innerHTML,n=!0)}})}}}];J.$inject=["$timeout"];var Z=o(18),Q=o.n(Z),ee=o(19),te=o.n(ee),oe=o(20),ne=o.n(oe);function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var re=["$utils",function(e){return{template:ne.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$sub",function(t,o,n,i,r){var a=function(e,t,o){var n="";return!(!o&&0!==o||angular.equals({},o))&&(e.some(function(e){if(t.some(function(t){return e[t]===("object"===ie(o)?o[t]:o)}))return n=e}),n)};if(o.controls&&t.control.select&&t.control.select.optionsSource){var s=t.control.select.optionsSource;o.controls[s]&&(t.control.select.options=o.controls[s].getValue()||[]),t.control.select.options||(t.control.select.options=[]),a(t.control.select.options,["value"],t.ngModel)||(t.ngModel="")}t.control.allowEmpty&&t.control.select.options[0]&&""!==t.control.select.options[0].value&&t.control.select.options.unshift({value:"",name:" - None - ",visible:!1}),t.show=!1,t.readonly=!t.control.select.enableInput,t.currentValue=a(t.control.select.options,["value"],t.ngModel),t.showOptions=function(){!1===t.show&&(t.show=!0,t.binded=!1,t.show&&!t.binded&&n.bind("keydown keypress",function(e){t.binded=!0,38===e.keyCode?(t.currentValue=a(t.control.select.options,["name"],e.target.value),t.currentId=t.control.select.options.indexOf(t.currentValue),i(function(){c()}),e.preventDefault()):40===e.keyCode?(t.currentValue=a(t.control.select.options,["name"],e.target.value),t.currentId=t.control.select.options.indexOf(t.currentValue),i(function(){l()}),e.preventDefault()):13===e.keyCode&&(n[0].querySelector(".ea-editor-property-control-select input").blur(),t.hideOptions(),e.preventDefault())}),angular.element(document).bind("click",function(e){n[0]===e.target||n[0].contains(e.target)?e.preventDefault():t.hideOptions()}))},t.addSource=t.control.select.enableNewSourceAdd&&!!t.control.select.optionsSource,t.newSource="",t.addNewSource=function(o){if(o){var n={value:e.uuid(),name:o};t.control.select.options.push(n),t.ngModel=n.value,t.currentValue=n,t.show=!1,t.binded=!1}},t.newSourceToggle=function(){t.openSub(o.controls[t.control.select.optionsSource].control)},n.find("input").bind("keyup",function(e){var o=String.fromCharCode(e.keyCode);(/[a-zA-Z0-9-_ ]/.test(o)||/[\b]/.test(o))&&i(function(){t.currentValue=e.target.value,t.setValue(t.currentValue),t.$apply()})});var l=function(){var e=t.currentValue,o=0;t.control.select.options.indexOf(t.currentValue)+1>=t.control.select.options.length?(e=t.control.select.options[0],o=0):(e=t.control.select.options[t.control.select.options.indexOf(t.currentValue)+1],o=32*(t.currentId-1)),t.setValue(e),n[0].querySelector(".ea-editor-property-control-select-dropdown-options").scrollTop=o},c=function(){var e=t.currentValue,o=0;t.control.select.options.indexOf(t.currentValue)<=0?(e=t.control.select.options[t.control.select.options.length-1],o=32*t.control.select.options.length):(e=t.control.select.options[t.control.select.options.indexOf(t.currentValue)-1],o=32*(t.currentId-2)),t.setValue(e),n[0].querySelector(".ea-editor-property-control-select-dropdown-options").scrollTop=o};t.hideOptions=function(){t.show=!1,t.binded=!1,t.unbind(),i(function(){t.$apply()})},t.unbind=function(){n.unbind("keydown keypress")},t.setValue=function(e,o){t.currentValue=a(t.control.select.options,["value","name"],e)||e,t.ngModel=e.value||0===e.value||""===e.value?e.value:e,o&&"click"===o.type&&i(function(){t.hideOptions()})},o.controls&&o.controls[t.control.id]&&(o.controls[t.control.id].set=t.setValue),t.$watch("ngModel",function(e,o){t.currentValue=a(t.control.select.options,["value","name"],t.ngModel)||t.ngModel}),t.openSub=function(n){var i=o.$new();i.name=t.control.name,i.properties=n.properties,i.data=angular.extend({},n),console.log(i.data),r.show(i,null,function(){var o=[],n=i.data;n.value=e.uuid(),n&&n.properties&&n.properties.length&&n.properties.forEach(function(e){e.id!==n.idProperty&&o.push(e.id)}),-1===o.map(function(e){return!n[e]}).indexOf(!1)||(n.displayName=n[o[o.map(function(e){return!n[e]}).indexOf(!1)]],t.control.select.options.push(n),t.ngModel=n.value,t.currentValue=n,t.show=!1,t.binded=!1)})}}]}}];re.$inject=["$utils"];var ae=o(21),se=o.n(ae),le=["$rootScope",function(e){return{template:se.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];le.$inject=["$rootScope"];var ce=o(22),de=o.n(ce),pe=["$rootScope",function(e){return{template:de.a,replace:!0,controller:["$scope","$rootScope","$visual","$timeout",function(e,t,o,n){t.currentSelectVisualScope=e,e.control.select.layout=e.control.select.layout||"one-col";var i=function(e,t,o){var n;return e.forEach(function(e){t.forEach(function(t){angular.equals(e[t],o)&&(n=e)})}),n};e.openSelectVisual=function(){o.show(e)},e.selected=i(e.control.select.options,["value"],e.ngModel),e.$watch("ngModel",function(t,o){e.selected=i(e.control.select.options,["value"],e.ngModel)}),n(function(){e.$apply()})}]}}];pe.$inject=["$rootScope"];var ue=o(23),fe=o.n(ue);var he=["$rootScope",function(e){return{template:fe.a,replace:!0,controller:["$scope","$rootScope","$user","$http",function(e,t,o,n){t.currentSelectVisualScope=e,e.data=[],e.settings={gender:"all"};var i={random:!0,limit:20,"emotion[]":"happiness","provider[]":8};e.loadUsers=function(){"male"===e.settings.gender||"female"===e.settings.gender?i["gender[]"]=e.settings.gender:"all"===e.settings.gender&&delete i["gender[]"],n.get("https://uifaces.co/api?provider%5B%5D=9&provider%5B%5D=7&provider%5B%5D=5",{headers:{"X-API-KEY":"f09e1601752e7fc2b8aee7b50f9ed3"},params:i}).then(function(t){var o;(o=e.data).push.apply(o,function(e){return function(e){if(Array.isArray(e)){for(var t=0,o=new Array(e.length);t<e.length;t++)o[t]=e[t];return o}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t.data))})};var r=function(e,t,o){var n;return e.forEach(function(e){t.forEach(function(t){e[t]===o&&(n=e)})}),n};e.loadUsers(),e.openSelectVisual=function(){o.show(e)},e.selected=r(e.data,["photo"],e.ngModel.photo),e.$watch("ngModel",function(){e.selected=r(e.data,["photo"],e.ngModel.photo)}),e.$watch("settings.gender",function(){e.selected,e.data=[],e.loadUsers()})}]}}];he.$inject=["$rootScope"];var ge=o(24),me=o.n(ge),ve=["$rootScope",function(e){return{template:me.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}],link:function(e,t){"string"==typeof e.ngModel&&""!==e.ngModel&&(e.ngModel=e.ngModel.split(",")),e.addTag=function(){e.newTag&&(angular.isArray(e.ngModel)||(e.ngModel=[]),-1===e.ngModel.indexOf(e.newTag)&&e.ngModel.push(e.newTag),e.newTag="")},e.removeTag=function(t){angular.isArray(e.ngModel)&&e.ngModel.splice(t,1)},t.bind("keydown",function(t){var o=t.which;9!==o&&13!==o||e.newTag&&t.preventDefault()}),t.bind("keyup",function(t){var o=t.which;Array.isArray(e.control.allowedKeys)||(e.control.allowedKeys=[]),9!==o&&13!==o&&-1===e.control.allowedKeys.indexOf(o)||(e.newTag&&t.preventDefault(),e.$apply("addTag()"))}),t.bind("change",function(t){e.$apply("addTag()")})}}}];ve.$inject=["$rootScope"];var be=o(25),ye=o.n(be),_e=["$rootScope",function(e){return{template:ye.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];_e.$inject=["$rootScope"];var xe=o(26),we=o.n(xe),ke=["$rootScope","$timeout",function(e,t){return{template:we.a,replace:!0,controller:["$scope","$rootScope",function(e,t){e.widthStyle="",e.checkboxClick=function(t,o){o?e.ngModel.splice(e.ngModel.indexOf(t),1):e.ngModel.push(t)},e.control.checklist&&e.control.checklist.columns&&e.control.checklist.columns<5&&(e.widthStyle={width:100/e.control.checklist.columns+"%"})}]}}];ke.$inject=["$rootScope","$timeout"];var je=o(27),Ce=o.n(je),Ae=["$rootScope",function(e){return{template:Ce.a,replace:!0,controller:["$scope","$rootScope",function(e,t){e.options={clear:{show:!0,label:"Clear color"}},e.eventApi={onClear:function(e){!function(e){var t=e.getElement()[0];angular.element(t.querySelector(".color-picker-swatch")).removeAttr("style")}(e)}}}]}}];Ae.$inject=["$rootScope"];var Me=o(28),Se=o.n(Me),Te=["$rootScope",function(e){return{template:Se.a,replace:!0,controller:["$scope","$rootScope","$timeout",function(e,t,o){e.options=e.control.slider}],link:function(e,t){}}}];Te.$inject=["$rootScope"];var Ee=o(29),ze=o.n(Ee);function De(e){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Le=["$timeout","$utils","$l10n",function(e,t,o){return{template:ze.a,replace:!0,link:function(e,t){},controller:["$scope","$rootScope","$sub",function(n,i,r){n.ngModel&&"string"==typeof n.ngModel&&(n.ngModel=JSON.parse(decodeURIComponent(n.ngModel))),n.itemsToRemove=[],n.controlGroupProperty=n.control.complex.controlGroupProperty,n.getItemName=function(e){var t,i=n.control.complex.nameProperty;if(t=i?a(e,i):s(e))return o.translate(t);if(n.control.complex.previewProperties){var r="";return(n.control.complex.previewProperties.split(",")||[]).forEach(function(t){e[t]&&(Array.isArray(e[t])?r||(r=e[t][0]&&e[t][0].data?e[t][0].data.name:""):"object"===De(e[t])?r||(r=e[t]&&e[t].data?e[t].data.name:""):r||(r=e[t]?e[t]:""))}),r}return""},n.getItemPreview=function(e){var t=!1;return n.control.complex.previewProperties&&(n.control.complex.previewProperties.split(",")||[]).forEach(function(o){e[o]&&(Array.isArray(e[o])?t||(t=!(!e[o][0]||!e[o][0].data)&&e[o][0].data.file_url):"object"===De(e[o])?t||(t=!(!e[o]||!e[o].data)&&(e[o].data.file_url||e[o].data.url)):t||(t=!!e[o]&&e[o]))}),t};var a=function(e,t){var o=!1,i="";return function n(r){o||r.forEach(function(r){o||("subgroup"===r.type?n(r.subgroup.properties):r.id===t&&(o=!0,i=e[t]||r.defaultValue))})}(n.control.complex.properties),i},s=function(e){var t="";if(!angular.isObject(e))return e;for(var o=0;o<n.control.complex.properties.length;o++){var i=n.control.complex.properties[o];if(i.complexGroup){t=e.name;break}if("select"!==i.type){t=e[i.id];break}if(i.select&&i.select.options)for(var r=0;r<i.select.options.length;r++){var a=i.select.options[r];if(a.value===e[i.id]){t=a.name;break}}break}return t};n.openSub=function(o){angular.isArray(n.ngModel)||(n.ngModel=[]);var a=i.$new();o&&o.complexGroup?n.control.complex.properties.forEach(function(e){e.complexGroup&&e.complexGroup===o.complexGroup&&(a.name=e.name,a.properties=e.properties)}):(a.name=n.control.name,a.properties=n.control.complex.properties),o||(o={},e(function(){t.recursivelyGetAllProps(a.properties,o,"subgroup"),n.ngModel.push(o)},300)),a.data=o,i.currentComplex=o,n.control.complex.idProperty&&angular.equals({},a.data)&&(a.data[n.control.complex.idProperty]=t.uuid()),r.show(a,n.controlGroupProperty)},n.reorderClick=function(e){e.stopPropagation()},n.duplicateItem=function(e,o){var i=angular.copy(e);i.id=t.uuid(),n.ngModel.push(i),o.stopPropagation()},n.removeItem=function(e,t){n.itemsToRemove.splice(n.itemsToRemove.indexOf(e),1),n.ngModel.splice(e,1),t.stopPropagation()},n.showRemoveConfirm=function(e,t){n.itemsToRemove.push(e),t.stopPropagation()},n.hideRemoveConfirm=function(e,t){n.itemsToRemove.splice(n.itemsToRemove.indexOf(e),1),t.stopPropagation()}}]}}];Le.$inject=["$timeout","$utils","$l10n"];var Ie=o(30),Pe=o.n(Ie),qe=["$timeout","$utils",function(e,t){return{template:Pe.a,replace:!0,link:function(e,t){},controller:["$scope","$element","$rootScope","$sub","$visual",function(o,n,i,r,a){o.itemsToRemove=[],o.controlGroupProperty=o.control.complex.controlGroupProperty,o.icons={},o.names={},o.control.complex.properties.forEach(function(e){e.id===o.control.complex.controlGroupProperty&&e.select.options.forEach(function(e){o.icons[e.value]=e.img,o.names[e.value]=e.name})}),o.getItemName=function(e){var t=o.control.complex.nameProperty;return e.label?t?function(e,t){var n=!1,i="";return function o(r){n||r.forEach(function(r){n||("subgroup"===r.type?o(r.subgroup.properties):r.id===t&&(n=!0,i=e[t]||r.defaultValue))})}(o.control.complex.properties),i}(e,t):function(e){var t="";if(!angular.isObject(e))return e;for(var n=0;n<o.control.complex.properties.length;n++){var i=o.control.complex.properties[n];if(i.complexGroup){t=e.name;break}if("select"!==i.type){t=e[i.id];break}if(i.select&&i.select.options)for(var r=0;r<i.select.options.length;r++){var a=i.select.options[r];if(a.value===e[i.id]){t=a.name;break}}break}return t}(e):e.name?e.name:e.placeholder?e.placeholder:e.type},o.openSub=function(n){var s=!1;angular.isArray(o.ngModel)||(o.ngModel=[]);var l=i.$new();n&&n.complexGroup?o.control.complex.properties.forEach(function(e){e.complexGroup&&e.complexGroup===n.complexGroup&&(l.name=e.name,l.properties=e.properties)}):(l.name=o.control.name,l.properties=[],o.control.complex.properties.forEach(function(e){l.properties.push(e)})),n||(s=!0,n={},e(function(){t.recursivelyGetAllProps(l.properties,n,"subgroup"),o.ngModel.push(n)},300)),l.data=n,i.currentComplex=n,o.control.complex.idProperty&&angular.equals({},l.data)&&(l.data[o.control.complex.idProperty]=t.uuid()),r.show(l,o.controlGroupProperty,function(){o.ngModel.forEach(function(e){"group"===e.type&&(e.label=e.name||e.type.replace(/^\w/,function(e){return e.toUpperCase()}))})},s?300:0),s&&e(function(){i.currentSelectVisualScope.control.name="Select element to add",a.show(i.currentSelectVisualScope,function(e){if(e.ngModel){if(o.ngModel&&o.ngModel.length){var t=o.ngModel[o.ngModel.length-1];t.label=o.names[t.type]||t.type.replace(/^\w/,function(e){return e.toUpperCase()})}l.name=e.ngModel.replace(/^\w/,function(e){return e.toUpperCase()})}else r.hide(l),o.ngModel.splice(o.ngModel.length-1,1);"divider"===e.ngModel&&r.hide(l)},300)},0)},o.reorderClick=function(e){e.stopPropagation()},o.duplicateItem=function(e,t){o.ngModel.push(angular.copy(e)),t.stopPropagation()},o.removeItem=function(e,t){o.itemsToRemove.splice(o.itemsToRemove.indexOf(e),1),o.ngModel.splice(e,1),t.stopPropagation()},o.showRemoveConfirm=function(e,t){o.itemsToRemove.push(e),t.stopPropagation()},o.hideRemoveConfirm=function(e,t){o.itemsToRemove.splice(o.itemsToRemove.indexOf(e),1),t.stopPropagation()}}]}}];qe.$inject=["$timeout","$utils"];var Oe=o(31),Ne=o.n(Oe),Re=["$rootScope",function(e){return{template:Ne.a,replace:!0,controller:["$scope","$rootScope","$sub",function(e,t,o){e.openSub=function(){var n=t.$new();n.name=e.control.name,n.properties=e.control.subgroup.properties,n.data=e.ngModel,o.show(n)}}]}}];Re.$inject=["$rootScope"];var Be=o(32),He=o.n(Be),Ve=["$rootScope",function(e){return{template:He.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];Ve.$inject=["$rootScope"];var Fe=o(33),We=o.n(Fe),Ue=["$rootScope",function(e){return{template:We.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];Ue.$inject=["$rootScope"];var $e=o(34),Ye=o.n($e),Ke=["$rootScope",function(e){return{template:Ye.a,replace:!0,controller:["$scope","$rootScope",function(e,t){e.ngModel=new Date(e.ngModel).getTime()?new Date(e.ngModel).getTime():e.ngModel,!e.ngModel&&e.control&&e.control.datepicker&&e.control.datepicker.currentDate&&(e.ngModel=(new Date).getTime(),e.control.datepicker.addDays&&(e.ngModel=new Date((new Date).setDate((new Date).getDate()+e.control.datepicker.addDays)).getTime())),e.dateOpts={defaultDate:e.ngModel,enableTime:!0,closeOnSelect:!1,onChange:function(t,o,n){e.ngModel=o}},e.control&&e.control.datepicker&&e.control&&e.control.datepicker.timeOnly&&angular.extend(e.dateOpts,{enableTime:!0,noCalendar:!0,closeOnSelect:!1}),e.$watch("ngModel",function(t,o){!e.ngModel&&e.control&&e.control.datepicker&&e.control.datepicker.currentDate&&(e.ngModel=(new Date).getTime(),e.control.datepicker.addDays&&(e.ngModel=new Date((new Date).setDate((new Date).getDate()+e.control.datepicker.addDays)).getTime()))})}]}}];Ke.$inject=["$rootScope"];var Ge=o(35),Xe=o.n(Ge),Je=["$rootScope",function(e){return{scope:"=",template:Xe.a,replace:!0,controller:["$scope","$rootScope","$timeout","$http","$httpParamSerializer",function(e,t,o,n,i){var r=function(){return"widget"===e.control.token.tokenId&&t.widgetPublicId?t.widgetPublicId:t.user&&t.user.public_id?t.user.public_id:t.elfsightUserId?t.elfsightUserId:null},a=function(e,t){var o=["width=600","height=600","menubar=no","toolbar=no","resizable=no","scrollbars=yes","left="+(window.screen.availLeft+window.screen.availWidth/2-300),"top="+(window.screen.availTop+window.screen.availHeight/2-300)],n=window.open(e,t,o.join(","));window.focus&&n.focus()},s=function(t){o(function(){if("token"===t.data.action){e.loading=!1;var o=t.data,n=o.status,i=o.data;if(1===n){var a=e.control.token.provider,s="";i&&i.token?s=i.token:i["".concat(a,"_oauth_token")]&&(s=i["".concat(a,"_oauth_token")]),"token"===e.control.token.model?e.accessToken=e.ngModel=s:(e.ngModel=r(),e.accessToken=s),e.state="connected",e.error=!1}else e.state="connect",e.error=!0}})};if(!1!==e.control.visible&&window.addEventListener("message",s),e.$on("$destroy",function(){window.removeEventListener("message",s)}),e.$watch("control.visible",function(e){void 0!==e&&(e?window.addEventListener("message",s):window.removeEventListener("message",s))}),e.loading=!1,e.state=function(){if(!e.ngModel)return"connect";switch(e.control.token.provider){case"facebook":e.loading=!0,n({method:"GET",url:"https://graph.facebook.com/me?access_token=".concat(e.ngModel)}).then(function(t){200===t.status?e.state="connected":(e.ngModel=null,e.state="connect",e.error=!0)}).catch(function(t){e.ngModel=null,e.state="connect",e.error=!0,console.error(t.data.error.message)})}return"connected"}(),e.processToken=function(){switch(e.state){case"connected":return void((!e.control.token.confirm||confirm(e.control.token.confirm))&&(e.accessToken=e.ngModel="",e.state="connect"));default:return o=t.appPreferences.authUrl?t.appPreferences.authUrl:e.control.token.authUrl?e.control.token.authUrl:"https://".concat(e.control.token.stage?"stage.":"","storage.elfsight.com/auth/").concat(e.control.token.provider),n={user_id:r()},e.control.token.scopes&&(n.scopes=e.control.token.scopes),void a(o+"?"+i(n),"".concat(e.control.token.provider,"-connect"))}var o,n},e.control.global){var l={getValue:function(){return e.ngModel},getToken:function(){return e.accessToken}};t.controls[e.control.id]?Object.assign(t.controls[e.control.id],l):t.controls[e.control.id]=l}}]}}];function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Je.$inject=["$rootScope"];var Qe=["$rootScope",function(e){return{scope:"=",template:F.a,replace:!0,controller:["$scope","$rootScope","$http","$element",function(e,t,o,n){e.lastVal="",e.showBtn=e.control.custom&&e.control.custom.button||"send"===e.control.custom.action,e.$input=angular.element(n[0].querySelector(".ea-editor-property-control-text input")),e.$error=angular.element(n[0].querySelector(".ea-editor-property-control-text-error"));var i=function(){var e=t.appPreferences.apiKey;return function(e){return e&&e.length}(t.appPreferences.apiKeys)&&(e=function(e){return e[Math.floor(Math.random()*e.length)]}(t.appPreferences.apiKeys)),e||""},r=function(o){o.lat&&o.lng?(t.coordinates=o.lat+", "+o.lng,t.controls.coordinates.setValue(t.coordinates),e.lastVal=e.ngModel):s()},a=function(t,o){switch(o||(o="Geocode was not successful: "+t),t){case"NO_API_KEY":o="API key is required"}e.error=!0,e.$error.html(o),console.error(o)},s=function(){var t="https://maps.googleapis.com/maps/api/geocode/json?key="+i()+"&address="+e.ngModel;o.get(t).then(function(t){var o=t.data.results,n=t.data.status;return n&&"OK"!==n?(a(n,t.data.error_message),e.ngModel="",!1):"OK"===n?(console.log("geocoded",o[0].geometry.location),r({lat:o[0].geometry.location.lat,lng:o[0].geometry.location.lng})):void 0})};if(t.previewProcessCoordinates=!1,t.previewProcessCoordinatesTested||"send"!==e.control.custom.action||(window.frames.preview.postMessage({action:"processCoordinatesPing"},"*"),t.previewCoordinatesPongFunc||window.addEventListener("message",function e(){!function(e){"string"==typeof e.data&&"EappsPreview.processCoordinatesPong"===e.data&&(t.previewProcessCoordinates=!0)}(event),t.previewCoordinatesPongFunc=e})),e.processCoordinates=function(){var o=window.frames.preview;if(e.ngModel=e.$input.val(),e.error=!1,i()){if(e.ngModel&&e.ngModel!==e.lastVal){if(/^(\-?\d+(\.\d+)?),\s*(\-?\d+(\.\d+)?)$/.test(e.ngModel)){var n=e.ngModel.split(/, ?/);return r({lat:parseFloat(n[0],10),lng:parseFloat(n[1],10)})}t.previewProcessCoordinates?(o.postMessage({action:"processCoordinates",data:e.ngModel},"*"),t.processCoordinatesHandleFunc||window.addEventListener("message",function e(){var o;"object"===Ze(o=event.data)&&o.action&&~o.action.search("EappsPreview.processCoordinates")&&(o.coordinates?(console.log("geocoded preview",o.coordinates),r(o.coordinates)):(t.previewProcessCoordinates=!1,s())),t.processCoordinatesHandleFunc=e})):s()}}else a("NO_API_KEY",!1)},e.setValue=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";setTimeout(function(){e.ngModel=t,e.$apply()})},e.control.global){var l={id:e.control.id,setValue:e.setValue};t.controls[e.control.id]?Object.assign(t.controls[e.control.id],l):t.controls[e.control.id]=l}}],link:function(e){"send"===e.control.custom.action&&e.$watch("ngModel",function(t,o){t!==o&&""!==t&&e.processCoordinates()})}}}];Qe.$inject=["$rootScope"];var et=o(36),tt=o.n(et),ot=["$utils",function(e){return{template:tt.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$http",function(e,t,o,n,i){e.show=!1,e.accessTokenProperty=e.control.custom.accessTokenProperty||"integrationsGoogleToken",e.apiUrl=e.apiUrl||"https://sheets.googleapis.com/v4/spreadsheets",e.ngModel&&(e.status="connected"),e.connect=function(t){e.error=!1,t&&!e.ngModel&&(e.hasToken=!0,r(t)),!t&&e.ngModel&&(e.ngModel=null,e.status="disconnected")};var r=function(o){return i({method:"POST",url:"".concat(e.apiUrl),headers:{authorization:"Bearer ".concat(o)},data:{properties:{title:"Form Responses ".concat(t.widgetPublicId)}}}).then(function(t){var o=t.data;e.ngModel=o.spreadsheetId,e.sheetTitle=o.properties.title,e.status="connected"},function(t){console.error(t),e.error=t.data.error.message,e.status="disconnected"})};if(e.reset=function(){e.status="disconnected"},e.accessTokenProperty in t.controls){var a=t.$watch(function(){return t.controls&&t.controls[e.accessTokenProperty]&&"function"==typeof t.controls[e.accessTokenProperty].getToken?t.controls[e.accessTokenProperty].getToken():null},function(t){return e.connect(t)});e.$on("$destroy",function(){a()})}}]}}];ot.$inject=["$utils"];var nt=o(37),it=o.n(nt),rt=["$utils",function(e){return{template:it.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$http",function(e,t,o,n,i){e.show=!1,e.userAccessTokenProperty=e.control.custom.userAccessTokenProperty||"userAccessToken",e.apiUrl=e.apiUrl||"https://graph.facebook.com/",e.loading=!0,e.hasPermission=null,e.control.custom.options=[],e.showOptions=function(){!1===e.show&&(e.show=!0,e.binded=!1,e.show&&!e.binded&&o.bind("keydown keypress",function(t){e.binded=!0,38===t.keyCode?(n(function(){r("up")}),t.preventDefault()):40===t.keyCode?(n(function(){r("down")}),t.preventDefault()):13===t.keyCode&&(e.hideOptions(),t.preventDefault())}),angular.element(document).bind("click",function(t){o[0]===t.target||o[0].contains(t.target)?t.preventDefault():e.hideOptions()}))};var r=function(t){var n=e.ngModel,i=0,r=e.control.custom.options.indexOf(n),a=e.control.custom.options.length,s=o[0].querySelector(".ea-editor-property-control-facebook-page-select-dropdown-options");"up"===t?r<=0?(n=e.control.custom.options[a-1],i=32*e.control.custom.options.length):(n=e.control.custom.options[r-1],i=32*(r-2)):"down"===t&&(r+1>=a?(n=e.control.custom.options[0],i=0):(n=e.control.custom.options[r+1],i=32*(r-1))),e.setValue(n),s.scrollTop=i};e.hideOptions=function(){e.show=!1,e.binded=!1,e.unbind(),e.$apply()},e.unbind=function(){o.unbind("keydown keypress")},e.updatePages=function(t){e.loading=!0,i({url:"".concat(e.apiUrl,"me/permissions"),params:{access_token:t}}).then(function(o){var n=o.status,i=o.data;200===n&&(i.data.some(function(e){return"manage_pages"===e.permission&&"granted"===e.status})?(e.hasPermission=!0,e.fetchPages(t)):(e.loading=!1,e.hasPermission=!1))},function(e){console.error(e.data.error.message)})},e.fetchPages=function(t){e.loading=!0,i({url:"".concat(e.apiUrl,"me/accounts"),params:{access_token:t,fields:"name,link,picture,access_token"}}).then(function(t){var o=t.status,n=t.data;if(200===o){var i=n.data.map(function(e){var t=e.name,o=e.id,n=e.access_token;return{name:t,value:o,link:e.link,picture:e.picture,accessToken:n}});e.loading=!1,e.control.custom.options=i,i[0]&&!e.ngModel&&(e.ngModel=a(i[0],["name","value","link","picture"]),e.accessToken=a(i[0],"accessToken"))}})},e.setValue=function(t,o){e.ngModel=a(t,["name","value","link","picture"]),e.accessToken=a(t,"accessToken"),o&&"click"===o.type&&n(function(){e.hideOptions()})};var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if("string"==typeof t)return e[t];var o={};return t.forEach(function(t){return o[t]=e[t]}),o};if(e.resetPages=function(){e.control.custom.options=[],e.ngModel=null,e.accessToken=null},t.controls&&t.controls[e.control.id]&&(t.controls[e.control.id].set=e.setValue),e.userAccessTokenProperty in t.controls){var s=t.$watch(function(){return t.controls&&t.controls[e.userAccessTokenProperty]&&"function"==typeof t.controls[e.userAccessTokenProperty].getValue?t.controls[e.userAccessTokenProperty].getValue():null},function(t){t?e.updatePages(t):e.resetPages()});e.$on("$destroy",function(){s()})}if(e.control.global){var l={getValue:function(){return e.ngModel},getToken:function(){return e.accessToken}};t.controls[e.control.id]?Object.assign(t.controls[e.control.id],l):t.controls[e.control.id]=l}}]}}];rt.$inject=["$utils"];var at=o(38),st=o.n(at),lt=o(39),ct=o.n(lt),dt=["$rootScope","$http","$q","$window","$timeout","$interval","$sce",function(e,t,o,n,i,r,a){var s=function(e){return o(function(t){o(function(e){if(window.grecaptcha)e();else{var t=document.createElement("script");t.src="https://www.google.com/recaptcha/api.js",t.addEventListener("load",function(){return e()}),document.body.appendChild(t)}}).then(function(t){return function(){var o=window.grecaptcha,n={callback:t,sitekey:"6LfWGHgUAAAAAOOcU6ZNWpKDBT-0iHATV3DOSYTS",size:"invisible"};o.ready(function(){o.render(e,n),o.execute()})}}(t))})};return{template:ct.a,replace:!0,controller:["$scope","$element",function(n,a){var l=a[0];n.elfsightReviewsToken=null,n.ngModel=n.ngModel||n.control.defaultValue,n.initialValue=n.ngModel,n.displaySearchResults=!1,n.searchResults=null,n.appliedDisplayValue=null,n.source=null,n.prevSearchQuery=null,n.searchQuery=null,n.searchInputBlurDebounce=null,n.sourceAutoUpdateInterval=null,n.errorMessage=null,n.handleError=function(t){switch(t.status){case 400:n.errorMessage="Please, enter a valid Tripadvisor URL";break;case 429:e.elfsightReviewsToken?n.errorMessage="No more places can be added at the moment. Please, try again one hour later.":n.errorMessage="Places limit for unregistered users has expired. Please, register to display more places";break;default:n.errorMessage="Error occurred. Please, email us at support@elfsight.com"}},n.obtainToken=function(){return o(function(o){if(!n.elfsightReviewsToken)if(e.elfsightReviewsToken)n.elfsightReviewsToken=e.elfsightReviewsToken;else if(window.localStorage){var i=localStorage.getItem("elfsight-reviews-token");i&&(n.elfsightReviewsToken=i)}n.elfsightReviewsToken?o(n.elfsightReviewsToken):s(l.querySelector(".ea-editor-property-recaptcha")).then(function(e){(function(e){return t({method:"post",url:"https://reviews.elfsight.com/public/authenticate",params:{recaptcha_token:e,recaptcha_type:"invisible"},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){return e.data.token})})(e).then(function(e){window.localStorage&&localStorage.setItem("elfsight-reviews-token",e),n.elfsightReviewsToken=e,o()})})})},n.clear=function(){n.initialValue=null,n.appliedDisplayValue=null,n.source=null,n.cancelSourceAutoUpdate()},n.search=function(){n.searchQuery&&n.searchQuery!==n.prevSearchQuery&&n.obtainToken().then(function(){t({url:"https://reviews.elfsight.com/public/utils/find-place",params:{token:n.elfsightReviewsToken,query:n.searchQuery}}).then(function(e){var t=e.data.data;n.searchResults=t.map(function(e){return{id:e.id,vicinity:e.address,name:e.name}}),n.prevSearchQuery=n.searchQuery,l.querySelector(".ea-editor-property-ergs-search-input").focus()}).catch(n.handleError)})},n.setSource=function(e){var t=e.collecting_percentage,o=e.reviews_count,i=e.collecting_status;n.source={reviewsCount:o,collectingStatus:i,collectingPercentage:parseInt(t,10)}},n.selectPlace=function(e){var o=e.id,i=e.name,r=e.vicinity;n.appliedDisplayValue={name:i,vicinity:r};var a="data:text/plain;".concat(o);t({method:"post",url:"https://reviews.elfsight.com/public/google/source",params:{url:a,token:n.elfsightReviewsToken},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){var t=e.data;n.ngModel=a,n.setSource(t),n.startSourceAutoUpdate()}).catch(n.handleError)},n.startSourceAutoUpdate=function(){var e=n.ngModel;n.sourceAutoUpdateInterval=r(function(){t({url:"https://reviews.elfsight.com/public/google/source",params:{url:e},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){var t=e.data.data;n.setSource(t),"pending"!==n.source.collectingStatus&&n.cancelSourceAutoUpdate()})},2e3)},n.cancelSearchInputBlurDebounce=function(){if(!n.searchInputBlurDebounce)return null;i.cancel(n.searchInputBlurDebounce),n.searchInputBlurDebounce=null},n.cancelSourceAutoUpdate=function(){n.sourceAutoUpdateInterval&&(r.cancel(n.sourceAutoUpdateInterval),n.sourceAutoUpdateInterval=null)},n.searchInputFocus=function(){n.cancelSearchInputBlurDebounce(),n.displaySearchResults=!0},n.searchInputBlur=function(){n.cancelSearchInputBlurDebounce(),n.searchInputBlurDebounce=i(function(){return n.displaySearchResults=!1},150)},n.searchInputKeyPesss=function(e){"Enter"===e.key&&n.search()},n.initialValue&&t({url:"https://reviews.elfsight.com/public/google/source",params:{url:n.initialValue},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){var t=e.data.data,o=t.resource_specific_fields.place,i=o.name,r=o.vicinity;n.appliedDisplayValue={name:i,vicinity:r},n.setSource(t),"pending"===n.source.collectingStatus&&n.startSourceAutoUpdate()})}]}}];dt.$inject=["$rootScope","$http","$q","$window","$timeout","$interval","$sce"];var pt=o(40),ut=o.n(pt),ft=o(41),ht=o.n(ft),gt=o(42),mt=o.n(gt),vt=o(43),bt=o.n(vt),yt=o(44),_t=o.n(yt),xt=["$sce","$timeout",function(e,t){return{template:ht.a,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(o,n,i){o.values=[{value:"100%",code:e.trustAsHtml(mt.a.content)},{value:"768px",code:e.trustAsHtml(bt.a.content)},{value:"375px",code:e.trustAsHtml(_t.a.content)}],o.select=function(e){o.ngModel=e,t(function(){n.removeClass("toolbar-item-active")}),document.querySelector(".ea-editor-preview-container").style.maxWidth=e.value};var r=o.values[0];i.previewDefaultResolution&&o.values.forEach(function(e){e.value===i.previewDefaultResolution&&(r=e)}),o.select(r)}]}}];xt.$inject=["$sce","$timeout"];var wt=o(45),kt=o.n(wt),jt=["$sce","$timeout",function(e,t){return{template:kt.a,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(e,o,n){var i=angular.element(document.querySelector(".ea-editor-preview-overlay"));e.select=function(o){t(function(){e.setBackground(o)})},e.values=["white","black","white-chess","black-chess"],e.select(n.previewDefaultBgColor||"white-chess"),e.ngModel=e.values[3],e.setBackground=function(t){o.removeClass("toolbar-item-active"),i.removeClass("ea-editor-preview-overlay-"+e.ngModel).addClass("ea-editor-preview-overlay-"+t),e.ngModel=t}}]}}];function Ct(e){return(Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function At(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}jt.$inject=["$sce","$timeout"];var Mt=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var o=this;this.$rootScope=t.get("$rootScope"),this.$compile=t.get("$compile"),this.$sce=t.get("$sce"),this.$timeout=t.get("$timeout"),this.$q=t.get("$q"),this.$l10n=t.get("$l10n"),this.$utils=t.get("$utils"),this.$gettextCatalog=t.get("gettextCatalog"),this.$scope={},window.addEventListener("message",function e(t){o.handlePostMessage(t),o.handlePostMessageFunc=e})}return function(e,t,o){t&&At(e.prototype,t)}(e,[{key:"init",value:function(e){var t=this,o=e.parent||{},n=e.settings||{},i=e.preferences||{},r=e.language||null,a=e.localization||{},s="function"==typeof e.onChange?e.onChange:null,l=e.enableCustomCSS&&i.enableCustomCSS||!1,c=this.$rootScope.$new();this.showFreeLink=e.showFreeLink||!1,this.preferences=i||{},this.$l10n.init(a,r),this.$gettextCatalog.setCurrentLanguage(r),this.addCustomCSSProperty(n,l),this.jivochatState(o,this.preferences.hideJivochat),c.properties=e.settings.properties,c.templates=e.templates||{},c.widget=e.widget||{},c.tabs=this.getTabs(n),c.onTemplateSelect="function"==typeof e.onTemplateSelect?e.onTemplateSelect:null,c.previewUrl=this.$sce.trustAsResourceUrl(e.previewUrl),c.showLoader=!0,c.expanded=!1,c.setPropertyVisibility=this.setPropertyVisibility.bind(this),c.getProperty=this.getProperty.bind(this),c.updateProperty=this.updateProperty.bind(this),this.$rootScope.appPreferences=e.appPreferences||{},this.$rootScope.widgetPublicId=c.widget.public_id||null,this.$rootScope.elfsightFilesToken=e.elfsightFilesToken||null,this.$rootScope.elfsightReviewsToken=e.elfsightReviewsToken||null,this.$rootScope.elfsightUserId=e.elfsightUserId||null,this.$rootScope.previewDefaultBgColor=i.previewDefaultBgColor||"white-chess",this.$rootScope.previewDefaultResolution=i.previewDefaultResolution||"100%",this.$rootScope.controls={},c.widget.data=c.widget.data||{},c.widget.data.widgetId=this.$rootScope.widgetPublicId||void 0,this.$utils.recursivelyGetAllProps(c.properties,c.widget.data,"subgroup"),this.loadObserver(o,e.observerUrl).then(function(){window.eapps&&window.eapps.observer&&angular.isFunction(window.eapps.observer)&&window.eapps.observer(c,c.properties,t.$rootScope)}),this.editor=this.$compile("<elfsight-apps-editor></elfsight-apps-editor>")(c),o.append(this.editor),this.loadPreview(e.previewUrl).then(function(e){t.onLoad(c,s)}),this.watchToolbar(c),this.fit(c),this.watch(c),this.$scope=c,this.$rootScope.editor=this.$scope}},{key:"onLoad",value:function(e,t){this.watchData(e,t),this.hideLoader(e),this.initToolbar(e)}},{key:"hideLoader",value:function(e){e.showLoader=!1,this.$timeout(function(){e.$apply()})}},{key:"handlePostMessage",value:function(e){var t=e.data,o=!1;switch("object"===Ct(t)&&t.action&&(~t.action.search("EappsPreview.toolbar")&&(o="EappsPreview.toolbar"),~t.action.search("EappsPreview.appPreferences.updated")&&(o="EappsPreview.appPreferences.updated")),"string"==typeof t&&"EappsPreview.ready"===t&&(o="EappsPreview.ready"),o){case"EappsPreview.toolbar":this.handleToolbar(t);break;case"EappsPreview.appPreferences.updated":this.handleAppPreferences(t);break;case"EappsPreview.ready":this.onLoad(this.$scope)}}},{key:"handleToolbar",value:function(e){var t=e.action.split("."),o=t[2];"set"===t[3]&&this.$scope&&this.$scope.toolbar&&(this.$scope.toolbar[o]=e.data)}},{key:"handleAppPreferences",value:function(e){this.$rootScope&&(this.$rootScope.appPreferences=e.data)}},{key:"fit",value:function(e){var t=this.editor[0].clientWidth;t>1024?e.adaptiveClass="large":t<1024&&t>480?e.adaptiveClass="medium":t<480&&(e.adaptiveClass="small")}},{key:"sendDataToPreview",value:function(e){var t=window.frames.preview,o={data:e,appPreferences:this.$rootScope.appPreferences};e.deactivate=!1,e.showElfsightLogo=this.showFreeLink,this.currentData=e,o.action="data:updated",t.postMessage(o,"*"),o.action="settings.updated",t.postMessage(o,"*")}},{key:"watch",value:function(e){var t=this;e.$watch(function(){return t.editor[0].offsetWidth},function(){t.fit(e)}),window.addEventListener("resize",function(){e.$apply()})}},{key:"watchData",value:function(e,t){var o,n=this,i=angular.isNumber(this.preferences.previewUpdateTimeout)?this.preferences.previewUpdateTimeout:600;e.$watch("widget.data",function(r,a){var s=JSON.parse(angular.toJson(e.widget.data));t&&t(s),n.$timeout.cancel(o),o=n.$timeout(n.sendDataToPreview(s),i)},!0)}},{key:"watchToolbar",value:function(e){e.$watch("toolbar",function(e,t){var o=window.frames.preview||null;angular.forEach(e,function(e,n){t&&angular.equals(e,t[n])||o&&o.postMessage({action:"toolbar."+n+".changed",data:JSON.parse(angular.toJson(e))},"*")})},!0)}},{key:"loadObserver",value:function(e,t){var o=document.createElement("script"),n=this.$q.defer();return t||n.reject(),o.src=t,o.defer="defer",o.onload=function(){n.resolve()},e[0].appendChild(o),n.promise}},{key:"loadPreview",value:function(e){var t=this.editor[0].getElementsByClassName("ea-editor-preview-container"),o=document.createElement("iframe"),n=this.$q.defer();return e||n.reject(),o.id="ea-editor-preview",o.className="ea-editor-preview",o.name="preview",o.setAttribute("data-hj-allow-iframe",1),o.src=e,o.addEventListener("load",function(){n.resolve(o)}),t[0].appendChild(o),n.promise}},{key:"getData",value:function(){return void 0!==this.currentData?this.currentData:null}},{key:"destroy",value:function(){window.removeEventListener("message",this.handlePostMessageFunc)}},{key:"addCustomCSSProperty",value:function(e,t){if(!t)return!1;e.properties.push({id:"customCSSSubgroup",name:this.$gettextCatalog.getString("Custom CSS"),tab:e.tabs[e.tabs.length-1].id,type:"subgroup",subgroup:{properties:[{id:"customCSS",name:this.$gettextCatalog.getString("Custom CSS"),type:"textarea",textarea:{CSSMode:!0},defaultValue:"",description:this.$gettextCatalog.getString("If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.")}]},description:this.$gettextCatalog.getString("If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.")})}},{key:"getTabs",value:function(e){var t=this,o={};return angular.forEach(e.tabs,function(e){e.name=t.$l10n.translate(e.name),o[e.id]=e,o[e.id].properties=[]}),angular.forEach(e.properties,function(e){e.tab in o&&o[e.tab].properties.push(e)}),o}},{key:"initToolbar",value:function(e){var t=this.editor[0].querySelector(".ea-editor-toolbar-container"),o=this.$compile("<elfsight-apps-editor-toolbar></elfsight-apps-editor-toolbar>")(e);setTimeout(function(){o[0]&&t.appendChild(o[0])})}},{key:"updateProperty",value:function(e,t){var o;(o=this.getProperty(e))&&Object.assign(o,t)}},{key:"setPropertyVisibility",value:function(e,t){this.updateProperty(e,{visible:t})}},{key:"getProperty",value:function(e,t){var o=this,n=null;return!!(t=t||this.$scope.properties).some(function(t){return t.id===e?!!(n=t):t&&t.properties?!!(n=o.getProperty(e,t.properties)):t.complex&&t.complex.properties?!!(n=o.getProperty(e,t.complex.properties)):t.subgroup&&t.subgroup.properties?!!(n=o.getProperty(e,t.subgroup.properties)):void 0})&&n}},{key:"jivochatState",value:function(e,t){if(t&&!document.getElementById("jivochat-styles")){var o=document.createElement("style");o.innerText="#jvlabelWrap {display: none !important;}",o.id="jivochat-styles",e.append(o)}}}]),e}())(e)}];function St(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Mt.$inject=["$injector"];var Tt=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&St(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=arguments.length>3?arguments[3]:void 0;n=n||0;var i=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=function(){return o(e)},e.controlGroupProperty=t,e.$element=this.$compile("<elfsight-apps-sub></elfsight-apps-sub>")(e),angular.element(i).append(e.$element),this.$timeout(function(){e.visible=!0},n)}},{key:"hide",value:function(e){!0===e.visible&&(e.visible=!1,this.$timeout(function(){e.$destroy(),e.closeCb(),e.$element.remove()},300))}}]),e}())(e)}];function Et(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Tt.$inject=["$injector"];var zt=["$injector","$rootScope",function(e,t){return new(function(){function e(o){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=o.get("$timeout"),this.$compile=o.get("$compile"),t.popupVisible=!1,t.hidePopup=function(e){e&&!angular.element(e.target).hasClass("hide-popup")||n.hide()}}return function(e,t,o){t&&Et(e.prototype,t)}(e,[{key:"show",value:function(e,o){e.popupContainer=angular.element(document.getElementsByClassName("ea-editor-popup-container")[0]),e.element=o,e.popupContainer.empty().append(this.$compile("<elfsight-apps-popup></elfsight-apps-popup>")(e)),this.$timeout(function(){t.popupVisible=!0})}},{key:"hide",value:function(){!0===t.popupVisible&&(t.popupVisible=!1)}}]),e}())(e)}];function Dt(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}zt.$inject=["$injector","$rootScope"];var Lt=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&Dt(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=arguments.length>2?arguments[2]:void 0;o=o||300;var n=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=t,e.$element=this.$compile("<elfsight-apps-visual></elfsight-apps-visual>")(e),angular.element(n).append(e.$element),this.$timeout(function(){e.visible=!0},o),this.watch(e)}},{key:"hide",value:function(e){!0===e.visible&&(e.visible=!1,e.closeCb(e),this.$timeout(function(){e.$element.remove()},300))}},{key:"watch",value:function(e){var t=this;e.$watch("ngModel",function(){e.control.closeOnClick&&t.hide(e)})}}]),e}())(e)}];function It(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Lt.$inject=["$injector"];var Pt=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&It(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=t,angular.element(o).append(this.$compile("<elfsight-apps-user></elfsight-apps-user>")(e)),this.$timeout(function(){e.visible=!0}),this.watch(e)}},{key:"hide",value:function(e,t){!0===e.visible&&(e.visible=!1,e.closeCb(e),this.$timeout(function(){t&&t.remove()},300))}},{key:"watch",value:function(e){var t=this;e.$watch("ngModel",function(){e.control.closeOnClick&&t.hide(e)})}}]),e}())(e)}];function qt(e){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ot(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nt(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Pt.$inject=["$injector"];var Rt=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$l10n=t.get("$l10n"),this.$rootScope=t.get("$rootScope")}return function(e,t,o){t&&Nt(e.prototype,t)}(e,[{key:"recursivelyGetAllProps",value:function(e,t,o){var n=this;angular.forEach(e,function(e){if(e&&e.global){n.$rootScope.controls=n.$rootScope.controls||{};var i={id:e.id,getValue:function(){return t[e.id]||e.defaultValue},control:e.complex};n.$rootScope.controls[e.id]?Object.assign(n.$rootScope.controls[e.id],i):n.$rootScope.controls[e.id]=i}e&&!e[o]?t.hasOwnProperty(e.id)||(t[e.id]=n.$l10n.translate(e.defaultValue)):(angular.forEach(e[o].properties,function(e){t.hasOwnProperty(e.id)||(t[e.id]=n.$l10n.translate(e.defaultValue))}),n.recursivelyGetAllProps(e[o].properties,t,o))})}},{key:"uuid",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}}]),e}())(e)}];Rt.$inject=["$injector"];var Bt=["$rootScope","$timeout",function(e,t){return{show:function(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e3;e.editorError=o,e.editorErrorVisible=!0,t(function(){e.editorErrorVisible=!1},n)}}}];Bt.$inject=["$rootScope","$timeout"],o(46),angular.module("elfsightAppsEditor",["checklist-model","color.picker","angular-sortable-view","gettext","rzSlider","angular-flatpickr"]).directive("elfsightAppsEditor",function(){return{template:i.a,replace:!0,link:function(e){},controller:["$scope","$timeout",function(e,t){e.openTab=function(o){angular.forEach(e.tabs,function(e){e.active=!1}),e.tabs[o].active=!0,t(function(){e.$broadcast("rzSliderForceRender")})}}]}}).directive("control",H).directive("elfsightAppsControlText",W).directive("elfsightAppsControlTextarea",J).directive("elfsightAppsControlNumber",function(){return{template:Q.a,replace:!0,controller:["$scope",function(e){"string"==typeof e.ngModel&&""!==e.ngModel&&(e.ngModel=parseInt(e.ngModel)),e.control.number||(e.control.number={}),e.control.number.min||(e.control.number.min=0)}]}}).directive("elfsightAppsControlStaticHtml",function(){return{template:te.a,replace:!0,controller:["$scope",function(e){}]}}).directive("elfsightAppsControlSelect",re).directive("elfsightAppsControlSelectInline",le).directive("elfsightAppsControlSelectVisual",pe).directive("elfsightAppsControlSelectUser",he).directive("elfsightAppsControlTags",ve).directive("elfsightAppsControlToggle",_e).directive("elfsightAppsControlChecklist",ke).directive("elfsightAppsControlColor",Ae).directive("elfsightAppsControlSlider",Te).directive("elfsightAppsControlRadio",Ve).directive("elfsightAppsControlComplex",Le).directive("elfsightAppsControlFormComplex",qe).directive("elfsightAppsControlSubgroup",Re).directive("elfsightAppsControlDivider",Ue).directive("elfsightAppsControlFile",l).directive("elfsightAppsControlDatepicker",Ke).directive("elfsightAppsControlToken",Je).directive("elfsightAppsControlCustomGoogleMapsCoordinates",Qe).directive("elfsightAppsControlCustomGoogleSheetConnect",ot).directive("elfsightAppsControlCustomFacebookPageSelect",rt).directive("elfsightAppsControlCustomFacebookPageToken",function(){return{scope:"=",template:"",replace:!0,controller:["$scope","$rootScope","$http",function(e,t,o){var n=e.control.custom.pageProperty||"page",i=Boolean(e.control.custom.encrypt);if(e.ngModel=e.ngModel||e.control.defaultValue,e.updateValue=function(t){if(i){var n="https://storage.elfsight.com/encrypt/".concat(t);o({url:n}).then(function(t){var o=t.status,n=t.data;200===o&&(e.ngModel=n.encrypted_token)})}else e.ngModel=t},n in t.controls){var r=t.$watch(function(){return t.controls&&t.controls[n]&&"function"==typeof t.controls[n].getToken?t.controls[n].getToken():null},function(t){return t&&e.updateValue(t)});e.$on("$destroy",function(){r()})}}]}}).directive("elfsightAppsControlCustomElfsightReviewsSource",function(){return{template:st.a,replace:!0,controller:["$scope","$rootScope","$element","$http","$timeout","$q","$window","$interval",function(e,t,o,n,i,r,a,s){e.config=e.control.custom&&(e.control.custom["elfsight-reviews-source"]||{}),e.appliedPlaceUrl=e.ngModel||"",e.placeUrl=e.appliedPlaceUrl,e.canonicalizedUrl=null;var l=function(o){switch(o.status){case 400:e.errorMessage="Please, enter a valid URL";break;case 429:t.elfsightReviewsToken?e.errorMessage="No more places can be added at the moment. Please, try again one hour later.":e.errorMessage="Places limit for unregistered users has expired. Please, register to display more places";break;default:e.errorMessage="Error occurred. Please, email us at support@elfsight.com"}};e.$watch("appliedPlaceUrl",function(i){i&&function(){var i=r.defer();if(e.elfsightReviewsToken=t.elfsightReviewsToken||e.elfsightReviewsToken,e.elfsightReviewsToken)i.resolve();else{var s=a.localStorage.getItem("elfsight-reviews-token");if(s)e.elfsightReviewsToken=s,i.resolve();else{var l=document.createElement("script");l.src="https://www.google.com/recaptcha/api.js",l.onload=function(){window.grecaptcha.ready(function(){var t={sitekey:"6LfWGHgUAAAAAOOcU6ZNWpKDBT-0iHATV3DOSYTS",callback:function(t){n({method:"post",url:"https://reviews.elfsight.com/public/authenticate",params:{recaptcha_token:t,recaptcha_type:"invisible"},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(t){e.elfsightReviewsToken=t.data.token,a.localStorage.setItem("elfsight-reviews-token",e.elfsightReviewsToken),i.resolve()})},size:"invisible"};window.grecaptcha.render(o[0].getElementsByClassName("ea-editor-property-recaptcha")[0],t),window.grecaptcha.execute()})},document.body.appendChild(l)}}return i.promise}().then(function(){return n({method:"post",url:"https://reviews.elfsight.com/public/".concat(e.config.supplier,"/source"),params:{url:i,token:e.elfsightReviewsToken},headers:{"Content-Type":"application/x-www-form-urlencoded"}})},l).then(function(t){var o=t.data,r=o.url,a=o.collecting_percentage,l=o.reviews_count,c=o.collecting_status;if(e.sourceCollectingInfo={reviewsCount:l,collectingStatus:c,collectingPercentage:parseInt(a,10)},e.ngModel=e.appliedPlaceUrl,e.canonicalizedUrl=r,"pending"===e.sourceCollectingInfo.collectingStatus)var d=s(function(){n({method:"get",url:"https://reviews.elfsight.com/public/".concat(e.config.supplier,"/source"),params:{url:i,token:e.elfsightReviewsToken},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(t){var o=t.data.data;o.url===e.canonicalizedUrl?(e.sourceCollectingInfo={collectingPercentage:parseInt(o.collecting_percentage,10),reviewsCount:o.reviews_count,collectingStatus:o.collecting_status},"pending"!==o.collecting_status&&s.cancel(d)):s.cancel(d)})},2e3)},l)}),e.applyPlaceUrl=function(){e.appliedPlaceUrl=e.placeUrl}}]}}).directive("elfsightAppsControlCustomElfsightReviewsGoogleSource",dt).directive("elfsightAppsSub",p).directive("elfsightAppsPopup",h).directive("elfsightAppsVisual",_).directive("elfsightAppsUser",k).directive("editorHint",j).directive("onScrollToBottom",C).directive("dropzone",A).directive("ngMultiple",M).directive("elfsightAppsFileManager",E).directive("elfsightAppsFileManagerFiles",I).directive("elfsightAppsFileManagerLink",O).directive("elfsightAppsFileManagerUpload",B).directive("elfsightAppsEditorToolbar",function(){return{template:ut.a,replace:!0,link:function(e,t){var o=t[0].getElementsByClassName("ea-editor-toolbar-item"),n=angular.element(o);angular.forEach(o,function(e){e.addEventListener("click",function(t){var o=angular.element(e).hasClass("toolbar-item-active");n.removeClass("toolbar-item-active"),o||angular.element(e).addClass("toolbar-item-active")})})},controller:["$scope",function(e){}]}}).directive("elfsightAppsEditorToolbarResolution",xt).directive("elfsightAppsEditorToolbarBackground",jt).directive("elfsightAppsTemplates",v).factory("$elfsightAppsEditor",Mt).factory("$sub",Tt).factory("$popup",zt).factory("$visual",Lt).factory("$user",Pt).factory("$l10n",function(){return new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lang=null,this.localization=null}return function(e,t,o){t&&Ot(e.prototype,t)}(e,[{key:"init",value:function(e,t){this.localization=e,this.lang=t}},{key:"translateControl",value:function(e){var t=this;return e.name=this.translate(e.name),e.description=this.translate(e.description),e.defaultValue=this.translate(e.defaultValue),["select","selectInline","checklist"].forEach(function(o){e[o]&&e[o].options&&(e[o].options=t.translateOptions(e[o].options))}),e}},{key:"translateOptions",value:function(e){var t=this;return e.map(function(e){return e.name=t.translate(e.name),e})}},{key:"translate",value:function(e){var t=this;if(e&&this.lang&&this.localization){if("string"==typeof e)return this.localization[e]?this.localization[e]:e;if("object"===qt(e)){if(Array.isArray(e))return e.map(function(e){return t.translate(e)});for(var o in e)e.hasOwnProperty(o)&&(e[o]=this.translate(e[o]));return e}}return e}}]),e}())}).factory("$utils",Rt).factory("Error",Bt).config(["$provide",function(e){e.decorator("ColorPickerOptions",["$delegate",function(e){var t=angular.copy(e);return t.saturation=!1,t.lightness=!1,t.format="rgb",t}])}]).run(["$rootScope",function(e){}]),o(62)}]);})(window)