From 270291bfd06a9512e66350f540d5390ba5b7487b Mon Sep 17 00:00:00 2001 From: kapil Date: Tue, 19 Jan 2021 17:03:48 +0530 Subject: [PATCH] Update to 3.2.5-2 version --- composer.json | 2 +- webroot/css/froala_editor.css | 7 +++---- webroot/css/froala_editor.min.css | 6 +++--- webroot/css/froala_editor.pkgd.css | 7 +++---- webroot/css/froala_editor.pkgd.min.css | 6 +++--- webroot/css/froala_style.css | 4 ++-- webroot/css/froala_style.min.css | 4 ++-- webroot/css/plugins.pkgd.css | 4 ++-- webroot/css/plugins.pkgd.min.css | 4 ++-- webroot/css/plugins/char_counter.css | 4 ++-- webroot/css/plugins/char_counter.min.css | 4 ++-- webroot/css/plugins/code_view.css | 4 ++-- webroot/css/plugins/code_view.min.css | 4 ++-- webroot/css/plugins/colors.css | 4 ++-- webroot/css/plugins/colors.min.css | 4 ++-- webroot/css/plugins/draggable.css | 4 ++-- webroot/css/plugins/draggable.min.css | 4 ++-- webroot/css/plugins/emoticons.css | 4 ++-- webroot/css/plugins/emoticons.min.css | 4 ++-- webroot/css/plugins/file.css | 4 ++-- webroot/css/plugins/file.min.css | 4 ++-- webroot/css/plugins/files_manager.css | 4 ++-- webroot/css/plugins/files_manager.min.css | 4 ++-- webroot/css/plugins/fullscreen.css | 4 ++-- webroot/css/plugins/fullscreen.min.css | 4 ++-- webroot/css/plugins/help.css | 4 ++-- webroot/css/plugins/help.min.css | 4 ++-- webroot/css/plugins/image.css | 4 ++-- webroot/css/plugins/image.min.css | 4 ++-- webroot/css/plugins/image_manager.css | 4 ++-- webroot/css/plugins/image_manager.min.css | 4 ++-- webroot/css/plugins/line_breaker.css | 4 ++-- webroot/css/plugins/line_breaker.min.css | 4 ++-- webroot/css/plugins/quick_insert.css | 4 ++-- webroot/css/plugins/quick_insert.min.css | 4 ++-- webroot/css/plugins/special_characters.css | 4 ++-- webroot/css/plugins/special_characters.min.css | 4 ++-- webroot/css/plugins/table.css | 4 ++-- webroot/css/plugins/table.min.css | 4 ++-- webroot/css/plugins/trim_video.css | 4 ++-- webroot/css/plugins/trim_video.min.css | 4 ++-- webroot/css/plugins/video.css | 4 ++-- webroot/css/plugins/video.min.css | 4 ++-- webroot/css/themes/dark.css | 4 ++-- webroot/css/themes/dark.min.css | 4 ++-- webroot/css/themes/gray.css | 4 ++-- webroot/css/themes/gray.min.css | 4 ++-- webroot/css/themes/royal.css | 4 ++-- webroot/css/themes/royal.min.css | 4 ++-- webroot/css/third_party/embedly.css | 4 ++-- webroot/css/third_party/embedly.min.css | 4 ++-- webroot/css/third_party/font_awesome.css | 4 ++-- webroot/css/third_party/font_awesome.min.css | 4 ++-- webroot/css/third_party/image_tui.css | 4 ++-- webroot/css/third_party/image_tui.min.css | 4 ++-- webroot/css/third_party/spell_checker.css | 4 ++-- webroot/css/third_party/spell_checker.min.css | 4 ++-- webroot/js/froala_editor.min.js | 6 +++--- webroot/js/froala_editor.pkgd.min.js | 6 +++--- webroot/js/languages/ar.js | 4 ++-- webroot/js/languages/bs.js | 4 ++-- webroot/js/languages/cs.js | 4 ++-- webroot/js/languages/da.js | 4 ++-- webroot/js/languages/de.js | 4 ++-- webroot/js/languages/el.js | 4 ++-- webroot/js/languages/en_ca.js | 4 ++-- webroot/js/languages/en_gb.js | 4 ++-- webroot/js/languages/es.js | 4 ++-- webroot/js/languages/et.js | 4 ++-- webroot/js/languages/fa.js | 4 ++-- webroot/js/languages/fi.js | 4 ++-- webroot/js/languages/fr.js | 4 ++-- webroot/js/languages/he.js | 4 ++-- webroot/js/languages/hr.js | 4 ++-- webroot/js/languages/hu.js | 4 ++-- webroot/js/languages/id.js | 4 ++-- webroot/js/languages/it.js | 4 ++-- webroot/js/languages/ja.js | 4 ++-- webroot/js/languages/ko.js | 4 ++-- webroot/js/languages/ku.js | 4 ++-- webroot/js/languages/me.js | 4 ++-- webroot/js/languages/nb.js | 4 ++-- webroot/js/languages/nl.js | 4 ++-- webroot/js/languages/pl.js | 4 ++-- webroot/js/languages/pt_br.js | 4 ++-- webroot/js/languages/pt_pt.js | 4 ++-- webroot/js/languages/ro.js | 4 ++-- webroot/js/languages/ru.js | 4 ++-- webroot/js/languages/sk.js | 4 ++-- webroot/js/languages/sl.js | 4 ++-- webroot/js/languages/sr.js | 4 ++-- webroot/js/languages/sv.js | 4 ++-- webroot/js/languages/th.js | 4 ++-- webroot/js/languages/tr.js | 4 ++-- webroot/js/languages/uk.js | 4 ++-- webroot/js/languages/vi.js | 4 ++-- webroot/js/languages/zh_cn.js | 4 ++-- webroot/js/languages/zh_tw.js | 4 ++-- webroot/js/plugins.pkgd.min.js | 6 +++--- webroot/js/plugins/align.min.js | 4 ++-- webroot/js/plugins/char_counter.min.js | 4 ++-- webroot/js/plugins/code_beautifier.min.js | 4 ++-- webroot/js/plugins/code_view.min.js | 4 ++-- webroot/js/plugins/colors.min.js | 4 ++-- webroot/js/plugins/cryptojs.min.js | 4 ++-- webroot/js/plugins/draggable.min.js | 4 ++-- webroot/js/plugins/edit_in_popup.min.js | 4 ++-- webroot/js/plugins/emoticons.min.js | 4 ++-- webroot/js/plugins/entities.min.js | 4 ++-- webroot/js/plugins/file.min.js | 4 ++-- webroot/js/plugins/files_manager.min.js | 4 ++-- webroot/js/plugins/font_family.min.js | 4 ++-- webroot/js/plugins/font_size.min.js | 4 ++-- webroot/js/plugins/forms.min.js | 4 ++-- webroot/js/plugins/fullscreen.min.js | 4 ++-- webroot/js/plugins/help.min.js | 4 ++-- webroot/js/plugins/image.min.js | 6 +++--- webroot/js/plugins/image_manager.min.js | 4 ++-- webroot/js/plugins/inline_class.min.js | 4 ++-- webroot/js/plugins/inline_style.min.js | 4 ++-- webroot/js/plugins/line_breaker.min.js | 4 ++-- webroot/js/plugins/line_height.min.js | 4 ++-- webroot/js/plugins/link.min.js | 4 ++-- webroot/js/plugins/lists.min.js | 4 ++-- webroot/js/plugins/paragraph_format.min.js | 4 ++-- webroot/js/plugins/paragraph_style.min.js | 4 ++-- webroot/js/plugins/print.min.js | 4 ++-- webroot/js/plugins/quick_insert.min.js | 4 ++-- webroot/js/plugins/quote.min.js | 4 ++-- webroot/js/plugins/save.min.js | 4 ++-- webroot/js/plugins/special_characters.min.js | 4 ++-- webroot/js/plugins/table.min.js | 4 ++-- webroot/js/plugins/trim_video.min.js | 4 ++-- webroot/js/plugins/url.min.js | 4 ++-- webroot/js/plugins/video.min.js | 4 ++-- webroot/js/plugins/word_paste.min.js | 4 ++-- webroot/js/third_party/embedly.min.js | 4 ++-- webroot/js/third_party/font_awesome.min.js | 6 +++--- webroot/js/third_party/image_tui.min.js | 4 ++-- webroot/js/third_party/spell_checker.min.js | 4 ++-- 140 files changed, 288 insertions(+), 290 deletions(-) diff --git a/composer.json b/composer.json index fdf2e60f..f28464cc 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "froala/wysiwyg-cake2", - "version": "3.2.5", + "version": "3.2.5-2", "description": "A beautiful WYSIWYG text editor based on HTML5 technology. Cross browser, with mobile support, high performance and Retina Ready modern design.", "type": "cakephp-plugin", "keywords": [ diff --git a/webroot/css/froala_editor.css b/webroot/css/froala_editor.css index 82116d6b..9a4b408f 100644 --- a/webroot/css/froala_editor.css +++ b/webroot/css/froala_editor.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { @@ -41,8 +41,7 @@ box-sizing: border-box; overflow-x: auto; min-height: 60px; - text-align: left; - max-height: 500px; } + text-align: left; } .fr-box.fr-basic.fr-rtl .fr-element { text-align: right; } diff --git a/webroot/css/froala_editor.min.css b/webroot/css/froala_editor.min.css index 73ff58b5..273e483a 100644 --- a/webroot/css/froala_editor.min.css +++ b/webroot/css/froala_editor.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ -.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element,.fr-element:focus{outline:0 solid transparent}.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left;max-height:500px}.fr-box.fr-basic.fr-rtl .fr-element{text-align:right}.fr-element{background:transparent;position:relative;z-index:2;-webkit-user-select:auto}.fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element [contenteditable="true"]{outline:0 solid transparent}.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;text-align:center;background:#FFF;color:#333333;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;outline:none;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);text-align:center;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#333333}.fr-box a.fr-floating-btn i,.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.fr-box a.fr-floating-btn.fr-btn+.fr-btn{margin-left:10px}.fr-box a.fr-floating-btn:hover{background:#ebebeb;cursor:pointer}.fr-box a.fr-floating-btn:hover svg{fill:#333333}.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}iframe.fr-iframe{width:100%;border:none;position:relative;display:block;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-wrapper{position:relative;z-index:1}.fr-wrapper::after{clear:both;display:block;content:"";height:0}.fr-wrapper .fr-placeholder{position:absolute;font-size:14px;color:#AAA;font-family:sans-serif;z-index:1;display:none;top:0;left:0;right:0;overflow:hidden}.fr-wrapper.show-placeholder .fr-placeholder{display:block;white-space:nowrap;text-overflow:ellipsis}.fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.fr-wrapper ::selection{background:#b5d6fd;color:#000}.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.fr-box.fr-document{min-width:21cm}.fr-box.fr-document .fr-wrapper{text-align:left;padding:30px;min-width:21cm;background:#efefef}.fr-box.fr-document .fr-wrapper .fr-element{text-align:left;background:#FFF;width:21cm;margin:auto;min-height:26cm !important;padding:1cm 2cm;overflow:visible;z-index:auto}.fr-box.fr-document .fr-wrapper .fr-element hr{margin-left:-2cm;margin-right:-2cm;background:#efefef;height:1cm;outline:none;border:none}.fr-box.fr-document .fr-wrapper .fr-element img{z-index:1}}.fr-tooltip{position:absolute;top:0;left:0;padding:0 8px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";left:-3000px;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:2147483647;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-btn-wrap,.fr-popup .fr-btn-wrap,.fr-modal .fr-btn-wrap{float:left;white-space:nowrap;position:relative}.fr-toolbar .fr-btn-wrap.fr-hidden,.fr-popup .fr-btn-wrap.fr-hidden,.fr-modal .fr-btn-wrap.fr-hidden{display:none}.fr-toolbar .fr-command.fr-btn,.fr-popup .fr-command.fr-btn,.fr-modal .fr-command.fr-btn{background:transparent;color:#333333;-moz-outline:0;outline:none;border:0;line-height:1;cursor:pointer;text-align:left;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;float:left;height:40px}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.fr-popup .fr-command.fr-btn.fr-btn-hover,.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.fr-popup .fr-command.fr-btn::-moz-focus-inner,.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0;padding:0}.fr-toolbar .fr-command.fr-btn.fr-btn-text,.fr-popup .fr-command.fr-btn.fr-btn-text,.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.fr-toolbar .fr-command.fr-btn i,.fr-toolbar .fr-command.fr-btn svg,.fr-popup .fr-command.fr-btn i,.fr-popup .fr-command.fr-btn svg,.fr-modal .fr-command.fr-btn i,.fr-modal .fr-command.fr-btn svg{display:block;text-align:center;float:none;margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn svg.fr-svg,.fr-popup .fr-command.fr-btn svg.fr-svg,.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.fr-toolbar .fr-command.fr-btn svg path,.fr-popup .fr-command.fr-btn svg path,.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#333333}.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.fr-popup .fr-command.fr-btn span.fr-sr-only,.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-toolbar .fr-command.fr-btn span,.fr-popup .fr-command.fr-btn span,.fr-modal .fr-command.fr-btn span{font-size:14px;display:block;line-height:17px;min-width:30px;float:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:17px;font-weight:bold;padding:0 4px}.fr-toolbar .fr-command.fr-btn img,.fr-popup .fr-command.fr-btn img,.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:#d6d6d6}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-selection span{font-weight:normal}.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.fr-popup .fr-command.fr-btn.fr-dropdown i,.fr-popup .fr-command.fr-btn.fr-dropdown span,.fr-popup .fr-command.fr-btn.fr-dropdown img,.fr-popup .fr-command.fr-btn.fr-dropdown svg,.fr-modal .fr-command.fr-btn.fr-dropdown i,.fr-modal .fr-command.fr-btn.fr-dropdown span,.fr-modal .fr-command.fr-btn.fr-dropdown img,.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.fr-popup .fr-command.fr-btn.fr-dropdown:after,.fr-modal .fr-command.fr-btn.fr-dropdown:after{position:absolute;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #333333;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s;content:""}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#333333;background:#d6d6d6;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#ebebeb;fill:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #222222}.fr-toolbar .fr-command.fr-btn.fr-disabled,.fr-popup .fr-command.fr-btn.fr-disabled,.fr-modal .fr-command.fr-btn.fr-disabled{color:#bdbdbd;cursor:default;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.fr-popup .fr-command.fr-btn.fr-disabled::after,.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:#bdbdbd}.fr-toolbar .fr-command.fr-btn.fr-hidden,.fr-popup .fr-command.fr-btn.fr-hidden,.fr-modal .fr-command.fr-btn.fr-hidden{display:none}.fr-toolbar .fr-tabs .fr-command.fr-btn,.fr-popup .fr-tabs .fr-command.fr-btn,.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#FFF}.fr-toolbar .fr-tabs .fr-command.fr-btn span,.fr-popup .fr-tabs .fr-command.fr-btn span,.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.fr-toolbar .fr-tabs .fr-command.fr-btn img,.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.fr-popup .fr-tabs .fr-command.fr-btn img,.fr-popup .fr-tabs .fr-command.fr-btn svg,.fr-modal .fr-tabs .fr-command.fr-btn img,.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0098f7}.fr-toolbar.fr-disabled .fr-btn,.fr-toolbar.fr-disabled .fr-btn.fr-active,.fr-popup.fr-disabled .fr-btn,.fr-popup.fr-disabled .fr-btn.fr-active,.fr-modal.fr-disabled .fr-btn,.fr-modal.fr-disabled .fr-btn.fr-active{color:#bdbdbd;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:#bdbdbd}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-left,.fr-popup.fr-rtl .fr-btn-grp.fr-float-left,.fr-modal.fr-rtl .fr-btn-grp.fr-float-left{float:right}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-right,.fr-popup.fr-rtl .fr-btn-grp.fr-float-right,.fr-modal.fr-rtl .fr-btn-grp.fr-float-right{float:left}.fr-toolbar.fr-rtl .fr-command.fr-btn,.fr-toolbar.fr-rtl .fr-btn-wrap,.fr-popup.fr-rtl .fr-command.fr-btn,.fr-popup.fr-rtl .fr-btn-wrap,.fr-modal.fr-rtl .fr-command.fr-btn,.fr-modal.fr-rtl .fr-btn-wrap{float:right}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;float:none}.fr-desktop .fr-command:hover,.fr-desktop .fr-command:focus,.fr-desktop .fr-command.fr-btn-hover,.fr-desktop .fr-command.fr-expanded{outline:0;color:#333333}.fr-desktop .fr-command:hover:not(.fr-table-cell),.fr-desktop .fr-command:focus:not(.fr-table-cell),.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#ebebeb}.fr-desktop .fr-command:hover::after,.fr-desktop .fr-command:focus::after,.fr-desktop .fr-command.fr-btn-hover::after,.fr-desktop .fr-command.fr-expanded::after{border-top-color:#333333}.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.fr-desktop .fr-command:active{color:#333333;background:#d6d6d6}.fr-desktop .fr-command.fr-active:hover,.fr-desktop .fr-command.fr-active:focus,.fr-desktop .fr-command.fr-active.fr-btn-hover,.fr-desktop .fr-command.fr-active.fr-expanded{background:#ebebeb}.fr-desktop .fr-command.fr-active:active{background:#d6d6d6}.fr-desktop .fr-command.fr-disabled:hover,.fr-desktop .fr-command.fr-disabled:focus,.fr-desktop .fr-command.fr-disabled.fr-selected{background:transparent}.fr-desktop.fr-disabled .fr-command:hover,.fr-desktop.fr-disabled .fr-command:focus,.fr-desktop.fr-disabled .fr-command.fr-selected{background:transparent}.fr-toolbar.fr-mobile .fr-command.fr-blink,.fr-popup.fr-mobile .fr-command.fr-blink{background:#d6d6d6}.fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.fr-command.fr-btn.fr-options.fr-btn-hover,.fr-command.fr-btn.fr-options:hover,.fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.fr-command.fr-btn+.fr-dropdown-menu{background:#FFF;display:inline-block;position:absolute;right:auto;bottom:auto;height:auto;z-index:4;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-overflow-scrolling:touch;overflow:hidden;zoom:1;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;display:inline-block;text-align:left;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;float:left;height:0;margin-top:0 !important}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content{position:relative}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{list-style-type:none;margin:0;padding:8px 0;min-width:72px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;line-height:200%;display:flex;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#333333}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:#d6d6d6}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:#bdbdbd;cursor:default}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a .fr-shortcut{margin-left:20px;font-weight:bold;-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75}.fr-command.fr-btn.fr-active+.fr-dropdown-menu{display:inline-block;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-dropdown-wrapper,.fr-popup.fr-rtl .fr-dropdown-wrapper{text-align:right !important}body.fr-prevent-scroll{overflow:hidden}body.fr-prevent-scroll.fr-mobile{position:fixed;-webkit-overflow-scrolling:touch}.fr-modal{color:#222222;font-family:Arial, Helvetica, sans-serif;position:fixed;overflow-x:auto;overflow-y:scroll;top:0;left:0;bottom:0;right:0;width:100%;z-index:2147483640;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:1.2}.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);position:absolute}.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-clip:padding-box;margin:20px auto;display:inline-block;background:#FFF;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;overflow:hidden;width:90%;position:relative}@media (min-width: 768px) and (max-width: 991px){.fr-modal .fr-modal-wrapper{margin:30px auto;width:70%}}@media (min-width: 992px){.fr-modal .fr-modal-wrapper{margin:50px auto;width:960px}}.fr-modal .fr-modal-wrapper .fr-modal-head{background:#FFF;overflow:hidden;position:absolute;width:100%;min-height:42px;z-index:3;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;position:absolute;top:0;right:0}.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px;display:inline-block;float:left}.fr-modal .fr-modal-wrapper div.fr-modal-body{height:100%;min-height:150px;overflow-y:auto;padding-bottom:20px}.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command+button{margin-left:24px}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#ebebeb}.fr-overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483639}ol.decimal_type{counter-reset:item}ol.decimal_type>li{display:block}ol.decimal_type>li:before{content:counters(item,".") ". ";counter-increment:item}.fr-popup{position:absolute;display:none;color:#222222;background:#FFF;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;z-index:2147483635;text-align:left;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2}.fr-popup .fr-icon{text-align:center;vertical-align:middle;font-size:20px;line-height:1;cursor:pointer;font-weight:400;box-sizing:content-box;padding:6px}.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px));display:grid}}@media (min-width: 768px){.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.fr-popup .fr-icon-container{display:inline-flex;-ms-flex-flow:row wrap}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.fr-popup .fr-icon-container{width:236px}}.fr-popup .fr-input-focus{background:whitesmoke}.fr-popup.fr-above{margin-top:-10px;border-top:0}.fr-popup.fr-active{display:block}.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup.fr-empty{display:none !important}.fr-popup .fr-hs{display:block !important}.fr-popup .fr-hs.fr-hidden{display:none !important}.fr-popup .fr-input-line{position:relative;padding:15px 0}.fr-popup .fr-input-line input[type="text"],.fr-popup .fr-input-line textarea{width:100%;margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#222222;font-size:14px;background:#FFF;position:relative;z-index:2;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.fr-popup .fr-input-line input[type="text"]:hover,.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.fr-popup .fr-input-line input[type="text"]:focus,.fr-popup .fr-input-line textarea:focus{border:solid 2px #0098f7;padding:3px 11px}.fr-popup .fr-input-line input[type="text"]{height:46px}.fr-popup .fr-input-line input+label,.fr-popup .fr-input-line textarea+label{position:absolute;top:29px;left:12px;font-size:14px;color:grey;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;z-index:3;display:block;background:#FFF;padding:0;cursor:text}.fr-popup .fr-input-line input.fr-not-empty+label,.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.fr-popup input,.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;outline:none}.fr-popup textarea{resize:none}.fr-popup .fr-buttons{white-space:nowrap;line-height:0}.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px;display:inline-block;float:none}.fr-popup .fr-buttons .fr-btn i{float:left}.fr-popup .fr-buttons .fr-separator{display:inline-block;float:none}.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;overflow:hidden}@media (max-width: 768px){.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{overflow:scroll;overflow-y:hidden;width:276px}}.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px;display:none}@media (min-width: 768px){.fr-popup .fr-layer{width:260px}}.fr-popup .fr-layer.fr-active{display:inline-block}.fr-popup .fr-action-buttons{z-index:7;height:36px;text-align:right}.fr-popup .fr-action-buttons button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-popup .fr-action-buttons button.fr-command+button{margin-left:24px}.fr-popup .fr-action-buttons button.fr-command:hover,.fr-popup .fr-action-buttons button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-popup .fr-action-buttons button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.fr-popup .fr-checkbox{position:relative;display:inline-block;width:18px;height:18px;padding:10px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-popup .fr-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px;top:7px;left:7px}.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-popup .fr-checkbox input:not(:checked):focus+span,.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-popup .fr-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-popup .fr-checkbox input:checked+span svg{display:block}.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-popup .fr-checkbox input:checked:focus+span,.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.fr-popup .fr-checkbox-line label{cursor:pointer;margin:0 5px;vertical-align:middle}.fr-popup.fr-rtl{direction:rtl;text-align:right}.fr-popup.fr-rtl .fr-action-buttons{text-align:left}.fr-popup.fr-rtl .fr-input-line input+label,.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.fr-popup.fr-rtl .fr-buttons .fr-separator.fr-vs{float:right}.fr-text-edit-layer{width:250px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block !important}.fr-toolbar{color:#222222;background:#FFF;position:relative;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-align:left;border:1px solid #CCCCCC;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.fr-toolbar::after{clear:both;display:block;content:"";height:0}.fr-toolbar::after{height:0}.fr-toolbar .fr-newline{clear:both;display:block;content:"";margin-left:9px;margin-right:9px;background:#efefef;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.fr-toolbar .fr-float-right{float:right}.fr-toolbar .fr-float-left{float:left}.fr-toolbar .fr-more-toolbar{float:left;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;z-index:2;overflow:hidden;position:absolute;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.fr-toolbar .fr-more-toolbar.fr-overflow-visible{overflow:visible}.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.fr-toolbar .fr-btn-grp{display:inline-block;margin:0 17px 0 12px}@media (max-width: 768px){.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#f5f5f5}.fr-toolbar.fr-rtl{text-align:right}.fr-toolbar.fr-inline{display:none;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;white-space:nowrap;position:absolute;margin-top:5px;z-index:2147483630}.fr-toolbar.fr-inline.fr-above{margin-top:-10px;border-top:0}.fr-toolbar.fr-inline .fr-newline{height:0}.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-separator{background:#ebebeb;display:block;vertical-align:top;float:left}.fr-separator+.fr-separator{display:none}.fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.fr-separator.fr-hs{clear:both;width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.fr-separator.fr-hidden{display:none !important}.fr-rtl .fr-separator{float:right}.fr-toolbar.fr-inline .fr-separator.fr-hs{float:none}.fr-toolbar.fr-inline .fr-separator.fr-vs{float:none;display:inline-block}.fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;line-height:1.4;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-second-toolbar::after{clear:both;display:block;content:"";height:0}#fr-logo{float:left;outline:none}#fr-logo>span{display:inline-block;float:left;font-family:sans-serif;padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}#fr-logo>svg{height:20px;width:47px;margin:7px 0;cursor:pointer}#fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}#fr-logo:hover>span,#fr-logo:focus>span{color:#0098f7}#fr-logo:hover>svg .fr-logo,#fr-logo:focus>svg .fr-logo{fill:#0098f7}.fr-visibility-helper{display:none;margin-left:0 !important}@media (min-width: 768px){.fr-visibility-helper{margin-left:1px !important}}@media (min-width: 992px){.fr-visibility-helper{margin-left:2px !important}}@media (min-width: 1200px){.fr-visibility-helper{margin-left:3px !important}}.fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-box{position:relative}.fr-sticky{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky}.fr-sticky-off{position:relative}.fr-sticky-on{position:fixed;z-index:10}.fr-sticky-on.fr-sticky-ios{position:absolute;left:0;right:0;width:auto !important}.fr-sticky-dummy{display:none}.fr-sticky-on+.fr-sticky-dummy,.fr-sticky-box>.fr-sticky-dummy{display:block}span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0} +.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element,.fr-element:focus{outline:0 solid transparent}.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left}.fr-box.fr-basic.fr-rtl .fr-element{text-align:right}.fr-element{background:transparent;position:relative;z-index:2;-webkit-user-select:auto}.fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element [contenteditable="true"]{outline:0 solid transparent}.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;text-align:center;background:#FFF;color:#333333;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;outline:none;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);text-align:center;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#333333}.fr-box a.fr-floating-btn i,.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.fr-box a.fr-floating-btn.fr-btn+.fr-btn{margin-left:10px}.fr-box a.fr-floating-btn:hover{background:#ebebeb;cursor:pointer}.fr-box a.fr-floating-btn:hover svg{fill:#333333}.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}iframe.fr-iframe{width:100%;border:none;position:relative;display:block;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-wrapper{position:relative;z-index:1}.fr-wrapper::after{clear:both;display:block;content:"";height:0}.fr-wrapper .fr-placeholder{position:absolute;font-size:14px;color:#AAA;font-family:sans-serif;z-index:1;display:none;top:0;left:0;right:0;overflow:hidden}.fr-wrapper.show-placeholder .fr-placeholder{display:block;white-space:nowrap;text-overflow:ellipsis}.fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.fr-wrapper ::selection{background:#b5d6fd;color:#000}.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.fr-box.fr-document{min-width:21cm}.fr-box.fr-document .fr-wrapper{text-align:left;padding:30px;min-width:21cm;background:#efefef}.fr-box.fr-document .fr-wrapper .fr-element{text-align:left;background:#FFF;width:21cm;margin:auto;min-height:26cm !important;padding:1cm 2cm;overflow:visible;z-index:auto}.fr-box.fr-document .fr-wrapper .fr-element hr{margin-left:-2cm;margin-right:-2cm;background:#efefef;height:1cm;outline:none;border:none}.fr-box.fr-document .fr-wrapper .fr-element img{z-index:1}}.fr-tooltip{position:absolute;top:0;left:0;padding:0 8px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";left:-3000px;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:2147483647;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-btn-wrap,.fr-popup .fr-btn-wrap,.fr-modal .fr-btn-wrap{float:left;white-space:nowrap;position:relative}.fr-toolbar .fr-btn-wrap.fr-hidden,.fr-popup .fr-btn-wrap.fr-hidden,.fr-modal .fr-btn-wrap.fr-hidden{display:none}.fr-toolbar .fr-command.fr-btn,.fr-popup .fr-command.fr-btn,.fr-modal .fr-command.fr-btn{background:transparent;color:#333333;-moz-outline:0;outline:none;border:0;line-height:1;cursor:pointer;text-align:left;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;float:left;height:40px}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.fr-popup .fr-command.fr-btn.fr-btn-hover,.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.fr-popup .fr-command.fr-btn::-moz-focus-inner,.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0;padding:0}.fr-toolbar .fr-command.fr-btn.fr-btn-text,.fr-popup .fr-command.fr-btn.fr-btn-text,.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.fr-toolbar .fr-command.fr-btn i,.fr-toolbar .fr-command.fr-btn svg,.fr-popup .fr-command.fr-btn i,.fr-popup .fr-command.fr-btn svg,.fr-modal .fr-command.fr-btn i,.fr-modal .fr-command.fr-btn svg{display:block;text-align:center;float:none;margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn svg.fr-svg,.fr-popup .fr-command.fr-btn svg.fr-svg,.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.fr-toolbar .fr-command.fr-btn svg path,.fr-popup .fr-command.fr-btn svg path,.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#333333}.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.fr-popup .fr-command.fr-btn span.fr-sr-only,.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-toolbar .fr-command.fr-btn span,.fr-popup .fr-command.fr-btn span,.fr-modal .fr-command.fr-btn span{font-size:14px;display:block;line-height:17px;min-width:30px;float:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:17px;font-weight:bold;padding:0 4px}.fr-toolbar .fr-command.fr-btn img,.fr-popup .fr-command.fr-btn img,.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:#d6d6d6}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-selection span{font-weight:normal}.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.fr-popup .fr-command.fr-btn.fr-dropdown i,.fr-popup .fr-command.fr-btn.fr-dropdown span,.fr-popup .fr-command.fr-btn.fr-dropdown img,.fr-popup .fr-command.fr-btn.fr-dropdown svg,.fr-modal .fr-command.fr-btn.fr-dropdown i,.fr-modal .fr-command.fr-btn.fr-dropdown span,.fr-modal .fr-command.fr-btn.fr-dropdown img,.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.fr-popup .fr-command.fr-btn.fr-dropdown:after,.fr-modal .fr-command.fr-btn.fr-dropdown:after{position:absolute;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #333333;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s;content:""}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#333333;background:#d6d6d6;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#ebebeb;fill:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #222222}.fr-toolbar .fr-command.fr-btn.fr-disabled,.fr-popup .fr-command.fr-btn.fr-disabled,.fr-modal .fr-command.fr-btn.fr-disabled{color:#bdbdbd;cursor:default;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.fr-popup .fr-command.fr-btn.fr-disabled::after,.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:#bdbdbd}.fr-toolbar .fr-command.fr-btn.fr-hidden,.fr-popup .fr-command.fr-btn.fr-hidden,.fr-modal .fr-command.fr-btn.fr-hidden{display:none}.fr-toolbar .fr-tabs .fr-command.fr-btn,.fr-popup .fr-tabs .fr-command.fr-btn,.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#FFF}.fr-toolbar .fr-tabs .fr-command.fr-btn span,.fr-popup .fr-tabs .fr-command.fr-btn span,.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.fr-toolbar .fr-tabs .fr-command.fr-btn img,.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.fr-popup .fr-tabs .fr-command.fr-btn img,.fr-popup .fr-tabs .fr-command.fr-btn svg,.fr-modal .fr-tabs .fr-command.fr-btn img,.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0098f7}.fr-toolbar.fr-disabled .fr-btn,.fr-toolbar.fr-disabled .fr-btn.fr-active,.fr-popup.fr-disabled .fr-btn,.fr-popup.fr-disabled .fr-btn.fr-active,.fr-modal.fr-disabled .fr-btn,.fr-modal.fr-disabled .fr-btn.fr-active{color:#bdbdbd;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:#bdbdbd}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-left,.fr-popup.fr-rtl .fr-btn-grp.fr-float-left,.fr-modal.fr-rtl .fr-btn-grp.fr-float-left{float:right}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-right,.fr-popup.fr-rtl .fr-btn-grp.fr-float-right,.fr-modal.fr-rtl .fr-btn-grp.fr-float-right{float:left}.fr-toolbar.fr-rtl .fr-command.fr-btn,.fr-toolbar.fr-rtl .fr-btn-wrap,.fr-popup.fr-rtl .fr-command.fr-btn,.fr-popup.fr-rtl .fr-btn-wrap,.fr-modal.fr-rtl .fr-command.fr-btn,.fr-modal.fr-rtl .fr-btn-wrap{float:right}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;float:none}.fr-desktop .fr-command:hover,.fr-desktop .fr-command:focus,.fr-desktop .fr-command.fr-btn-hover,.fr-desktop .fr-command.fr-expanded{outline:0;color:#333333}.fr-desktop .fr-command:hover:not(.fr-table-cell),.fr-desktop .fr-command:focus:not(.fr-table-cell),.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#ebebeb}.fr-desktop .fr-command:hover::after,.fr-desktop .fr-command:focus::after,.fr-desktop .fr-command.fr-btn-hover::after,.fr-desktop .fr-command.fr-expanded::after{border-top-color:#333333}.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.fr-desktop .fr-command:active{color:#333333;background:#d6d6d6}.fr-desktop .fr-command.fr-active:hover,.fr-desktop .fr-command.fr-active:focus,.fr-desktop .fr-command.fr-active.fr-btn-hover,.fr-desktop .fr-command.fr-active.fr-expanded{background:#ebebeb}.fr-desktop .fr-command.fr-active:active{background:#d6d6d6}.fr-desktop .fr-command.fr-disabled:hover,.fr-desktop .fr-command.fr-disabled:focus,.fr-desktop .fr-command.fr-disabled.fr-selected{background:transparent}.fr-desktop.fr-disabled .fr-command:hover,.fr-desktop.fr-disabled .fr-command:focus,.fr-desktop.fr-disabled .fr-command.fr-selected{background:transparent}.fr-toolbar.fr-mobile .fr-command.fr-blink,.fr-popup.fr-mobile .fr-command.fr-blink{background:#d6d6d6}.fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.fr-command.fr-btn.fr-options.fr-btn-hover,.fr-command.fr-btn.fr-options:hover,.fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.fr-command.fr-btn+.fr-dropdown-menu{background:#FFF;display:inline-block;position:absolute;right:auto;bottom:auto;height:auto;z-index:4;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-overflow-scrolling:touch;overflow:hidden;zoom:1;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;display:inline-block;text-align:left;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;float:left;height:0;margin-top:0 !important}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content{position:relative}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{list-style-type:none;margin:0;padding:8px 0;min-width:72px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;line-height:200%;display:flex;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#333333}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:#d6d6d6}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:#bdbdbd;cursor:default}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a .fr-shortcut{margin-left:20px;font-weight:bold;-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75}.fr-command.fr-btn.fr-active+.fr-dropdown-menu{display:inline-block;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-dropdown-wrapper,.fr-popup.fr-rtl .fr-dropdown-wrapper{text-align:right !important}body.fr-prevent-scroll{overflow:hidden}body.fr-prevent-scroll.fr-mobile{position:fixed;-webkit-overflow-scrolling:touch}.fr-modal{color:#222222;font-family:Arial, Helvetica, sans-serif;position:fixed;overflow-x:auto;overflow-y:scroll;top:0;left:0;bottom:0;right:0;width:100%;z-index:2147483640;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:1.2}.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);position:absolute}.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-clip:padding-box;margin:20px auto;display:inline-block;background:#FFF;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;overflow:hidden;width:90%;position:relative}@media (min-width: 768px) and (max-width: 991px){.fr-modal .fr-modal-wrapper{margin:30px auto;width:70%}}@media (min-width: 992px){.fr-modal .fr-modal-wrapper{margin:50px auto;width:960px}}.fr-modal .fr-modal-wrapper .fr-modal-head{background:#FFF;overflow:hidden;position:absolute;width:100%;min-height:42px;z-index:3;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;position:absolute;top:0;right:0}.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px;display:inline-block;float:left}.fr-modal .fr-modal-wrapper div.fr-modal-body{height:100%;min-height:150px;overflow-y:auto;padding-bottom:20px}.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command+button{margin-left:24px}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#ebebeb}.fr-overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483639}ol.decimal_type{counter-reset:item}ol.decimal_type>li{display:block}ol.decimal_type>li:before{content:counters(item,".") ". ";counter-increment:item}.fr-popup{position:absolute;display:none;color:#222222;background:#FFF;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;z-index:2147483635;text-align:left;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2}.fr-popup .fr-icon{text-align:center;vertical-align:middle;font-size:20px;line-height:1;cursor:pointer;font-weight:400;box-sizing:content-box;padding:6px}.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px));display:grid}}@media (min-width: 768px){.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.fr-popup .fr-icon-container{display:inline-flex;-ms-flex-flow:row wrap}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.fr-popup .fr-icon-container{width:236px}}.fr-popup .fr-input-focus{background:whitesmoke}.fr-popup.fr-above{margin-top:-10px;border-top:0}.fr-popup.fr-active{display:block}.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup.fr-empty{display:none !important}.fr-popup .fr-hs{display:block !important}.fr-popup .fr-hs.fr-hidden{display:none !important}.fr-popup .fr-input-line{position:relative;padding:15px 0}.fr-popup .fr-input-line input[type="text"],.fr-popup .fr-input-line textarea{width:100%;margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#222222;font-size:14px;background:#FFF;position:relative;z-index:2;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.fr-popup .fr-input-line input[type="text"]:hover,.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.fr-popup .fr-input-line input[type="text"]:focus,.fr-popup .fr-input-line textarea:focus{border:solid 2px #0098f7;padding:3px 11px}.fr-popup .fr-input-line input[type="text"]{height:46px}.fr-popup .fr-input-line input+label,.fr-popup .fr-input-line textarea+label{position:absolute;top:29px;left:12px;font-size:14px;color:grey;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;z-index:3;display:block;background:#FFF;padding:0;cursor:text}.fr-popup .fr-input-line input.fr-not-empty+label,.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.fr-popup input,.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;outline:none}.fr-popup textarea{resize:none}.fr-popup .fr-buttons{white-space:nowrap;line-height:0}.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px;display:inline-block;float:none}.fr-popup .fr-buttons .fr-btn i{float:left}.fr-popup .fr-buttons .fr-separator{display:inline-block;float:none}.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;overflow:hidden}@media (max-width: 768px){.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{overflow:scroll;overflow-y:hidden;width:276px}}.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px;display:none}@media (min-width: 768px){.fr-popup .fr-layer{width:260px}}.fr-popup .fr-layer.fr-active{display:inline-block}.fr-popup .fr-action-buttons{z-index:7;height:36px;text-align:right}.fr-popup .fr-action-buttons button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-popup .fr-action-buttons button.fr-command+button{margin-left:24px}.fr-popup .fr-action-buttons button.fr-command:hover,.fr-popup .fr-action-buttons button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-popup .fr-action-buttons button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.fr-popup .fr-checkbox{position:relative;display:inline-block;width:18px;height:18px;padding:10px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-popup .fr-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px;top:7px;left:7px}.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-popup .fr-checkbox input:not(:checked):focus+span,.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-popup .fr-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-popup .fr-checkbox input:checked+span svg{display:block}.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-popup .fr-checkbox input:checked:focus+span,.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.fr-popup .fr-checkbox-line label{cursor:pointer;margin:0 5px;vertical-align:middle}.fr-popup.fr-rtl{direction:rtl;text-align:right}.fr-popup.fr-rtl .fr-action-buttons{text-align:left}.fr-popup.fr-rtl .fr-input-line input+label,.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.fr-popup.fr-rtl .fr-buttons .fr-separator.fr-vs{float:right}.fr-text-edit-layer{width:250px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block !important}.fr-toolbar{color:#222222;background:#FFF;position:relative;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-align:left;border:1px solid #CCCCCC;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.fr-toolbar::after{clear:both;display:block;content:"";height:0}.fr-toolbar::after{height:0}.fr-toolbar .fr-newline{clear:both;display:block;content:"";margin-left:9px;margin-right:9px;background:#efefef;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.fr-toolbar .fr-float-right{float:right}.fr-toolbar .fr-float-left{float:left}.fr-toolbar .fr-more-toolbar{float:left;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;z-index:2;overflow:hidden;position:absolute;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.fr-toolbar .fr-more-toolbar.fr-overflow-visible{overflow:visible}.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.fr-toolbar .fr-btn-grp{display:inline-block;margin:0 17px 0 12px}@media (max-width: 768px){.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#f5f5f5}.fr-toolbar.fr-rtl{text-align:right}.fr-toolbar.fr-inline{display:none;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;white-space:nowrap;position:absolute;margin-top:5px;z-index:2147483630}.fr-toolbar.fr-inline.fr-above{margin-top:-10px;border-top:0}.fr-toolbar.fr-inline .fr-newline{height:0}.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-separator{background:#ebebeb;display:block;vertical-align:top;float:left}.fr-separator+.fr-separator{display:none}.fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.fr-separator.fr-hs{clear:both;width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.fr-separator.fr-hidden{display:none !important}.fr-rtl .fr-separator{float:right}.fr-toolbar.fr-inline .fr-separator.fr-hs{float:none}.fr-toolbar.fr-inline .fr-separator.fr-vs{float:none;display:inline-block}.fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;line-height:1.4;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-second-toolbar::after{clear:both;display:block;content:"";height:0}#fr-logo{float:left;outline:none}#fr-logo>span{display:inline-block;float:left;font-family:sans-serif;padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}#fr-logo>svg{height:20px;width:47px;margin:7px 0;cursor:pointer}#fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}#fr-logo:hover>span,#fr-logo:focus>span{color:#0098f7}#fr-logo:hover>svg .fr-logo,#fr-logo:focus>svg .fr-logo{fill:#0098f7}.fr-visibility-helper{display:none;margin-left:0 !important}@media (min-width: 768px){.fr-visibility-helper{margin-left:1px !important}}@media (min-width: 992px){.fr-visibility-helper{margin-left:2px !important}}@media (min-width: 1200px){.fr-visibility-helper{margin-left:3px !important}}.fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-box{position:relative}.fr-sticky{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky}.fr-sticky-off{position:relative}.fr-sticky-on{position:fixed;z-index:10}.fr-sticky-on.fr-sticky-ios{position:absolute;left:0;right:0;width:auto !important}.fr-sticky-dummy{display:none}.fr-sticky-on+.fr-sticky-dummy,.fr-sticky-box>.fr-sticky-dummy{display:block}span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0} diff --git a/webroot/css/froala_editor.pkgd.css b/webroot/css/froala_editor.pkgd.css index bcf73a68..0871e804 100644 --- a/webroot/css/froala_editor.pkgd.css +++ b/webroot/css/froala_editor.pkgd.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { @@ -41,8 +41,7 @@ box-sizing: border-box; overflow-x: auto; min-height: 60px; - text-align: left; - max-height: 500px; } + text-align: left; } .fr-box.fr-basic.fr-rtl .fr-element { text-align: right; } diff --git a/webroot/css/froala_editor.pkgd.min.css b/webroot/css/froala_editor.pkgd.min.css index db2b1984..9a618cfa 100644 --- a/webroot/css/froala_editor.pkgd.min.css +++ b/webroot/css/froala_editor.pkgd.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ -.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element,.fr-element:focus{outline:0 solid transparent}.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left;max-height:500px}.fr-box.fr-basic.fr-rtl .fr-element{text-align:right}.fr-element{background:transparent;position:relative;z-index:2;-webkit-user-select:auto}.fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element [contenteditable="true"]{outline:0 solid transparent}.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;text-align:center;background:#FFF;color:#333333;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;outline:none;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);text-align:center;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#333333}.fr-box a.fr-floating-btn i,.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.fr-box a.fr-floating-btn.fr-btn+.fr-btn{margin-left:10px}.fr-box a.fr-floating-btn:hover{background:#ebebeb;cursor:pointer}.fr-box a.fr-floating-btn:hover svg{fill:#333333}.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}iframe.fr-iframe{width:100%;border:none;position:relative;display:block;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-wrapper{position:relative;z-index:1}.fr-wrapper::after{clear:both;display:block;content:"";height:0}.fr-wrapper .fr-placeholder{position:absolute;font-size:14px;color:#AAA;font-family:sans-serif;z-index:1;display:none;top:0;left:0;right:0;overflow:hidden}.fr-wrapper.show-placeholder .fr-placeholder{display:block;white-space:nowrap;text-overflow:ellipsis}.fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.fr-wrapper ::selection{background:#b5d6fd;color:#000}.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.fr-box.fr-document{min-width:21cm}.fr-box.fr-document .fr-wrapper{text-align:left;padding:30px;min-width:21cm;background:#efefef}.fr-box.fr-document .fr-wrapper .fr-element{text-align:left;background:#FFF;width:21cm;margin:auto;min-height:26cm !important;padding:1cm 2cm;overflow:visible;z-index:auto}.fr-box.fr-document .fr-wrapper .fr-element hr{margin-left:-2cm;margin-right:-2cm;background:#efefef;height:1cm;outline:none;border:none}.fr-box.fr-document .fr-wrapper .fr-element img{z-index:1}}.fr-tooltip{position:absolute;top:0;left:0;padding:0 8px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";left:-3000px;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:2147483647;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-btn-wrap,.fr-popup .fr-btn-wrap,.fr-modal .fr-btn-wrap{float:left;white-space:nowrap;position:relative}.fr-toolbar .fr-btn-wrap.fr-hidden,.fr-popup .fr-btn-wrap.fr-hidden,.fr-modal .fr-btn-wrap.fr-hidden{display:none}.fr-toolbar .fr-command.fr-btn,.fr-popup .fr-command.fr-btn,.fr-modal .fr-command.fr-btn{background:transparent;color:#333333;-moz-outline:0;outline:none;border:0;line-height:1;cursor:pointer;text-align:left;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;float:left;height:40px}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.fr-popup .fr-command.fr-btn.fr-btn-hover,.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.fr-popup .fr-command.fr-btn::-moz-focus-inner,.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0;padding:0}.fr-toolbar .fr-command.fr-btn.fr-btn-text,.fr-popup .fr-command.fr-btn.fr-btn-text,.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.fr-toolbar .fr-command.fr-btn i,.fr-toolbar .fr-command.fr-btn svg,.fr-popup .fr-command.fr-btn i,.fr-popup .fr-command.fr-btn svg,.fr-modal .fr-command.fr-btn i,.fr-modal .fr-command.fr-btn svg{display:block;text-align:center;float:none;margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn svg.fr-svg,.fr-popup .fr-command.fr-btn svg.fr-svg,.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.fr-toolbar .fr-command.fr-btn svg path,.fr-popup .fr-command.fr-btn svg path,.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#333333}.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.fr-popup .fr-command.fr-btn span.fr-sr-only,.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-toolbar .fr-command.fr-btn span,.fr-popup .fr-command.fr-btn span,.fr-modal .fr-command.fr-btn span{font-size:14px;display:block;line-height:17px;min-width:30px;float:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:17px;font-weight:bold;padding:0 4px}.fr-toolbar .fr-command.fr-btn img,.fr-popup .fr-command.fr-btn img,.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:#d6d6d6}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-selection span{font-weight:normal}.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.fr-popup .fr-command.fr-btn.fr-dropdown i,.fr-popup .fr-command.fr-btn.fr-dropdown span,.fr-popup .fr-command.fr-btn.fr-dropdown img,.fr-popup .fr-command.fr-btn.fr-dropdown svg,.fr-modal .fr-command.fr-btn.fr-dropdown i,.fr-modal .fr-command.fr-btn.fr-dropdown span,.fr-modal .fr-command.fr-btn.fr-dropdown img,.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.fr-popup .fr-command.fr-btn.fr-dropdown:after,.fr-modal .fr-command.fr-btn.fr-dropdown:after{position:absolute;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #333333;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s;content:""}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#333333;background:#d6d6d6;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#ebebeb;fill:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #222222}.fr-toolbar .fr-command.fr-btn.fr-disabled,.fr-popup .fr-command.fr-btn.fr-disabled,.fr-modal .fr-command.fr-btn.fr-disabled{color:#bdbdbd;cursor:default;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.fr-popup .fr-command.fr-btn.fr-disabled::after,.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:#bdbdbd}.fr-toolbar .fr-command.fr-btn.fr-hidden,.fr-popup .fr-command.fr-btn.fr-hidden,.fr-modal .fr-command.fr-btn.fr-hidden{display:none}.fr-toolbar .fr-tabs .fr-command.fr-btn,.fr-popup .fr-tabs .fr-command.fr-btn,.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#FFF}.fr-toolbar .fr-tabs .fr-command.fr-btn span,.fr-popup .fr-tabs .fr-command.fr-btn span,.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.fr-toolbar .fr-tabs .fr-command.fr-btn img,.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.fr-popup .fr-tabs .fr-command.fr-btn img,.fr-popup .fr-tabs .fr-command.fr-btn svg,.fr-modal .fr-tabs .fr-command.fr-btn img,.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0098f7}.fr-toolbar.fr-disabled .fr-btn,.fr-toolbar.fr-disabled .fr-btn.fr-active,.fr-popup.fr-disabled .fr-btn,.fr-popup.fr-disabled .fr-btn.fr-active,.fr-modal.fr-disabled .fr-btn,.fr-modal.fr-disabled .fr-btn.fr-active{color:#bdbdbd;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:#bdbdbd}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-left,.fr-popup.fr-rtl .fr-btn-grp.fr-float-left,.fr-modal.fr-rtl .fr-btn-grp.fr-float-left{float:right}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-right,.fr-popup.fr-rtl .fr-btn-grp.fr-float-right,.fr-modal.fr-rtl .fr-btn-grp.fr-float-right{float:left}.fr-toolbar.fr-rtl .fr-command.fr-btn,.fr-toolbar.fr-rtl .fr-btn-wrap,.fr-popup.fr-rtl .fr-command.fr-btn,.fr-popup.fr-rtl .fr-btn-wrap,.fr-modal.fr-rtl .fr-command.fr-btn,.fr-modal.fr-rtl .fr-btn-wrap{float:right}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;float:none}.fr-desktop .fr-command:hover,.fr-desktop .fr-command:focus,.fr-desktop .fr-command.fr-btn-hover,.fr-desktop .fr-command.fr-expanded{outline:0;color:#333333}.fr-desktop .fr-command:hover:not(.fr-table-cell),.fr-desktop .fr-command:focus:not(.fr-table-cell),.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#ebebeb}.fr-desktop .fr-command:hover::after,.fr-desktop .fr-command:focus::after,.fr-desktop .fr-command.fr-btn-hover::after,.fr-desktop .fr-command.fr-expanded::after{border-top-color:#333333}.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.fr-desktop .fr-command:active{color:#333333;background:#d6d6d6}.fr-desktop .fr-command.fr-active:hover,.fr-desktop .fr-command.fr-active:focus,.fr-desktop .fr-command.fr-active.fr-btn-hover,.fr-desktop .fr-command.fr-active.fr-expanded{background:#ebebeb}.fr-desktop .fr-command.fr-active:active{background:#d6d6d6}.fr-desktop .fr-command.fr-disabled:hover,.fr-desktop .fr-command.fr-disabled:focus,.fr-desktop .fr-command.fr-disabled.fr-selected{background:transparent}.fr-desktop.fr-disabled .fr-command:hover,.fr-desktop.fr-disabled .fr-command:focus,.fr-desktop.fr-disabled .fr-command.fr-selected{background:transparent}.fr-toolbar.fr-mobile .fr-command.fr-blink,.fr-popup.fr-mobile .fr-command.fr-blink{background:#d6d6d6}.fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.fr-command.fr-btn.fr-options.fr-btn-hover,.fr-command.fr-btn.fr-options:hover,.fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.fr-command.fr-btn+.fr-dropdown-menu{background:#FFF;display:inline-block;position:absolute;right:auto;bottom:auto;height:auto;z-index:4;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-overflow-scrolling:touch;overflow:hidden;zoom:1;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;display:inline-block;text-align:left;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;float:left;height:0;margin-top:0 !important}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content{position:relative}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{list-style-type:none;margin:0;padding:8px 0;min-width:72px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;line-height:200%;display:flex;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#333333}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:#d6d6d6}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:#bdbdbd;cursor:default}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a .fr-shortcut{margin-left:20px;font-weight:bold;-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75}.fr-command.fr-btn.fr-active+.fr-dropdown-menu{display:inline-block;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-dropdown-wrapper,.fr-popup.fr-rtl .fr-dropdown-wrapper{text-align:right !important}body.fr-prevent-scroll{overflow:hidden}body.fr-prevent-scroll.fr-mobile{position:fixed;-webkit-overflow-scrolling:touch}.fr-modal{color:#222222;font-family:Arial, Helvetica, sans-serif;position:fixed;overflow-x:auto;overflow-y:scroll;top:0;left:0;bottom:0;right:0;width:100%;z-index:2147483640;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:1.2}.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);position:absolute}.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-clip:padding-box;margin:20px auto;display:inline-block;background:#FFF;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;overflow:hidden;width:90%;position:relative}@media (min-width: 768px) and (max-width: 991px){.fr-modal .fr-modal-wrapper{margin:30px auto;width:70%}}@media (min-width: 992px){.fr-modal .fr-modal-wrapper{margin:50px auto;width:960px}}.fr-modal .fr-modal-wrapper .fr-modal-head{background:#FFF;overflow:hidden;position:absolute;width:100%;min-height:42px;z-index:3;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;position:absolute;top:0;right:0}.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px;display:inline-block;float:left}.fr-modal .fr-modal-wrapper div.fr-modal-body{height:100%;min-height:150px;overflow-y:auto;padding-bottom:20px}.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command+button{margin-left:24px}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#ebebeb}.fr-overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483639}ol.decimal_type{counter-reset:item}ol.decimal_type>li{display:block}ol.decimal_type>li:before{content:counters(item,".") ". ";counter-increment:item}.fr-popup{position:absolute;display:none;color:#222222;background:#FFF;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;z-index:2147483635;text-align:left;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2}.fr-popup .fr-icon{text-align:center;vertical-align:middle;font-size:20px;line-height:1;cursor:pointer;font-weight:400;box-sizing:content-box;padding:6px}.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px));display:grid}}@media (min-width: 768px){.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.fr-popup .fr-icon-container{display:inline-flex;-ms-flex-flow:row wrap}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.fr-popup .fr-icon-container{width:236px}}.fr-popup .fr-input-focus{background:whitesmoke}.fr-popup.fr-above{margin-top:-10px;border-top:0}.fr-popup.fr-active{display:block}.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup.fr-empty{display:none !important}.fr-popup .fr-hs{display:block !important}.fr-popup .fr-hs.fr-hidden{display:none !important}.fr-popup .fr-input-line{position:relative;padding:15px 0}.fr-popup .fr-input-line input[type="text"],.fr-popup .fr-input-line textarea{width:100%;margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#222222;font-size:14px;background:#FFF;position:relative;z-index:2;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.fr-popup .fr-input-line input[type="text"]:hover,.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.fr-popup .fr-input-line input[type="text"]:focus,.fr-popup .fr-input-line textarea:focus{border:solid 2px #0098f7;padding:3px 11px}.fr-popup .fr-input-line input[type="text"]{height:46px}.fr-popup .fr-input-line input+label,.fr-popup .fr-input-line textarea+label{position:absolute;top:29px;left:12px;font-size:14px;color:grey;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;z-index:3;display:block;background:#FFF;padding:0;cursor:text}.fr-popup .fr-input-line input.fr-not-empty+label,.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.fr-popup input,.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;outline:none}.fr-popup textarea{resize:none}.fr-popup .fr-buttons{white-space:nowrap;line-height:0}.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px;display:inline-block;float:none}.fr-popup .fr-buttons .fr-btn i{float:left}.fr-popup .fr-buttons .fr-separator{display:inline-block;float:none}.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;overflow:hidden}@media (max-width: 768px){.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{overflow:scroll;overflow-y:hidden;width:276px}}.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px;display:none}@media (min-width: 768px){.fr-popup .fr-layer{width:260px}}.fr-popup .fr-layer.fr-active{display:inline-block}.fr-popup .fr-action-buttons{z-index:7;height:36px;text-align:right}.fr-popup .fr-action-buttons button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-popup .fr-action-buttons button.fr-command+button{margin-left:24px}.fr-popup .fr-action-buttons button.fr-command:hover,.fr-popup .fr-action-buttons button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-popup .fr-action-buttons button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.fr-popup .fr-checkbox{position:relative;display:inline-block;width:18px;height:18px;padding:10px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-popup .fr-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px;top:7px;left:7px}.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-popup .fr-checkbox input:not(:checked):focus+span,.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-popup .fr-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-popup .fr-checkbox input:checked+span svg{display:block}.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-popup .fr-checkbox input:checked:focus+span,.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.fr-popup .fr-checkbox-line label{cursor:pointer;margin:0 5px;vertical-align:middle}.fr-popup.fr-rtl{direction:rtl;text-align:right}.fr-popup.fr-rtl .fr-action-buttons{text-align:left}.fr-popup.fr-rtl .fr-input-line input+label,.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.fr-popup.fr-rtl .fr-buttons .fr-separator.fr-vs{float:right}.fr-text-edit-layer{width:250px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block !important}.fr-toolbar{color:#222222;background:#FFF;position:relative;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-align:left;border:1px solid #CCCCCC;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.fr-toolbar::after{clear:both;display:block;content:"";height:0}.fr-toolbar::after{height:0}.fr-toolbar .fr-newline{clear:both;display:block;content:"";margin-left:9px;margin-right:9px;background:#efefef;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.fr-toolbar .fr-float-right{float:right}.fr-toolbar .fr-float-left{float:left}.fr-toolbar .fr-more-toolbar{float:left;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;z-index:2;overflow:hidden;position:absolute;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.fr-toolbar .fr-more-toolbar.fr-overflow-visible{overflow:visible}.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.fr-toolbar .fr-btn-grp{display:inline-block;margin:0 17px 0 12px}@media (max-width: 768px){.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#f5f5f5}.fr-toolbar.fr-rtl{text-align:right}.fr-toolbar.fr-inline{display:none;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;white-space:nowrap;position:absolute;margin-top:5px;z-index:2147483630}.fr-toolbar.fr-inline.fr-above{margin-top:-10px;border-top:0}.fr-toolbar.fr-inline .fr-newline{height:0}.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-separator{background:#ebebeb;display:block;vertical-align:top;float:left}.fr-separator+.fr-separator{display:none}.fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.fr-separator.fr-hs{clear:both;width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.fr-separator.fr-hidden{display:none !important}.fr-rtl .fr-separator{float:right}.fr-toolbar.fr-inline .fr-separator.fr-hs{float:none}.fr-toolbar.fr-inline .fr-separator.fr-vs{float:none;display:inline-block}.fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;line-height:1.4;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-second-toolbar::after{clear:both;display:block;content:"";height:0}#fr-logo{float:left;outline:none}#fr-logo>span{display:inline-block;float:left;font-family:sans-serif;padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}#fr-logo>svg{height:20px;width:47px;margin:7px 0;cursor:pointer}#fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}#fr-logo:hover>span,#fr-logo:focus>span{color:#0098f7}#fr-logo:hover>svg .fr-logo,#fr-logo:focus>svg .fr-logo{fill:#0098f7}.fr-visibility-helper{display:none;margin-left:0 !important}@media (min-width: 768px){.fr-visibility-helper{margin-left:1px !important}}@media (min-width: 992px){.fr-visibility-helper{margin-left:2px !important}}@media (min-width: 1200px){.fr-visibility-helper{margin-left:3px !important}}.fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-box{position:relative}.fr-sticky{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky}.fr-sticky-off{position:relative}.fr-sticky-on{position:fixed;z-index:10}.fr-sticky-on.fr-sticky-ios{position:absolute;left:0;right:0;width:auto !important}.fr-sticky-dummy{display:none}.fr-sticky-on+.fr-sticky-dummy,.fr-sticky-box>.fr-sticky-dummy{display:block}span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-box .fr-counter{padding:10px;float:right;color:#999999;content:attr(data-chars);font-size:14px;font-family:sans-serif;z-index:1;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-left:none;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-code-view .fr-counter{display:none}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}textarea.fr-code{display:none;width:100%;resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;padding:10px;margin:0;font-family:"Courier New",monospace;font-size:14px;background:#FFF;color:#000;outline:none}.fr-box.fr-rtl textarea.fr-code{direction:rtl}.fr-box .CodeMirror{display:none}.fr-box.fr-code-view textarea.fr-code{display:block}.fr-box.fr-code-view .fr-element,.fr-box.fr-code-view .fr-placeholder,.fr-box.fr-code-view .fr-iframe{display:none}.fr-box.fr-code-view .CodeMirror{display:block}.fr-box.fr-inline.fr-code-view .fr-command.fr-btn.html-switch{display:block}.fr-box.fr-inline .fr-command.fr-btn.html-switch{display:none;position:absolute;top:0;right:0;display:none;background:#FFF;color:#333333;-moz-outline:0;outline:0;border:0;line-height:1;cursor:pointer;text-align:left;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px;text-align:center}.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#ebebeb}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0;float:left}.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{float:left;width:calc(100% - 50px);padding:15px 0 0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{float:right;width:38px;height:40px;padding:17px 0 0;margin:0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.fr-popup .fr-separator+.fr-colors-tabs{margin-left:2px;margin-right:2px}.fr-popup .fr-color-set{line-height:0;display:none}.fr-popup .fr-color-set.fr-selected-set{display:block;padding:20px;padding-bottom:0}.fr-popup .fr-color-set>span{display:inline-block;width:32px;height:32px;position:relative;z-index:1}.fr-popup .fr-color-set>span>i,.fr-popup .fr-color-set>span>svg{text-align:center;line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;position:absolute;bottom:0;cursor:default;left:0}.fr-popup .fr-color-set>span>i path,.fr-popup .fr-color-set>span>svg path{fill:#222222}.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-family:FontAwesome;font-size:13px;font-weight:400;line-height:32px;position:absolute;top:0;bottom:0;right:0;left:0;text-align:center;cursor:default}.fr-popup .fr-color-set>span:hover,.fr-popup .fr-color-set>span:focus{outline:1px solid #222222;z-index:2}.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-drag-helper{background:#0098f7;height:2px;margin-top:-1px;-webkit-opacity:0.2;-moz-opacity:0.2;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;z-index:2147483640;display:none}.fr-drag-helper.fr-visible{display:block}.fr-dragging{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-emoticon{width:24px;height:24px;font-family:"Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols}.fr-popup .fr-emoticon img{height:24px;width:24px}.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-file-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center}.fr-popup .fr-file-upload-layer:hover{background:#ebebeb}.fr-popup .fr-file-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-file-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-popup .fr-file-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-file-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}@keyframes loading{from{left:-25%}to{left:100%}}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-height-auto{height:auto !important}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-by-url-padding{padding:11.5px 0}.fr-popup .fr-upload-progress-layer{border-radius:0;box-sizing:border-box;padding-left:20px;padding-top:15px;margin:auto !important;max-height:100%;overflow-y:auto;overflow-x:hidden;width:100% !important;overscroll-behavior:contain}.fr-popup .fr-files-by-url-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-embed-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer{border:dashed 2px #bdbdbd;margin:20px;position:relative;font-size:10px;letter-spacing:1px;line-height:140%;text-align:center;width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer:hover{background:#ebebeb}.fr-popup .fr-files-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-files-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-files-progress-bar-layer{width:calc(100% - 40px);width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-popup .fr-files-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-files-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-progress-bar-style{width:calc(100% - 40px)}.fr-progress-bar{position:relative;background-color:#4CAF50;height:8px;margin-bottom:8px;margin-left:20px;margin-right:20px;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-pull-left{float:left}.fr-pull-right{float:right}.fr-icons{padding:10px 20px 0;display:inline}.fr-transform-135{transform:rotate(135deg)}.fr-icons i{margin:4px;padding:2px;cursor:pointer;color:#999588;font-size:20px}.fr-blue-decorator{background:#4a7fba;color:white;display:grid;padding:5px}.fr-upload-progress{padding:1px}.fr-upload-section{position:relative;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}@media screen and (max-width: 399px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 400px) and (max-width: 469px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 470px) and (max-width: 680px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 681px){.fr-upload-section{margin-left:35px;margin-right:35px}.fr-files-upload-layer{padding-top:20px;padding-bottom:20px}}.half-circle{width:60px;height:25px;background-color:white;border-top-left-radius:110px;border-top-right-radius:110px;transform:rotate(180deg);border-bottom:0;position:relative;left:50%;z-index:1;left:50%;margin-top:-1px;margin-left:-25px}.decorated{overflow:hidden;text-align:center}.decorated>span{position:relative;display:inline-block}.decorated>span:before,.decorated>span:after{content:'';position:absolute;top:50%;border-bottom:2px solid #ffffff;width:100%;margin:0 20px}.decorated>span:before{right:100%}.decorated>span:after{left:100%}.fr-align-right{float:right}.checkbox-container{display:inline-block;position:relative;padding-left:20px;margin-bottom:12px;cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fr-files-checkbox-line{display:flex;align-items:center;font-size:10px}.fr-files-checkbox-line label{cursor:pointer;vertical-align:middle}.fr-insert-checkbox input{height:13px !important;width:13px !important}.fr-autoplay-checkbox input{height:13px !important;width:13px !important}button[data-cmd="insertFiles"]{padding-left:2px !important;padding-top:2.7px !important}button[data-cmd="autoplay"] svg{position:relative !important;top:3.2px !important}button[data-cmd="insertAll"]{padding-left:4px !important}button[data-cmd="insertAll"] svg{position:relative !important;top:3.2px !important}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{position:absolute;top:0;left:0;height:15px;width:15px;background-color:#eee}.fr-file-list-item{display:flex;justify-content:space-between;align-items:center;padding-top:7px;flex-wrap:wrap;position:relative;top:-20px;border-bottom:1px solid #ddd;padding-bottom:7px}.fr-file-item-left{display:flex;flex-wrap:wrap}.fr-file-item-icon{display:flex;align-items:center;padding-left:7px}.fr-file-item-description{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;max-width:400px;margin-left:5px}.fr-cloud-icon{height:30px;width:32px;background-color:white;border-radius:50%;display:flex;justify-content:center;position:relative;margin:0 auto;margin-top:-18px}.fr-files-checkbox{position:relative;display:inline-block;width:13px;height:13px;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-files-checkbox svg{margin-left:0px;margin-top:0px;display:none;width:10px;height:10px}.fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-files-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px}.fr-files-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-files-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-files-checkbox input:not(:checked):focus+span,.fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-files-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-files-checkbox input:checked+span svg{display:block}.fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-files-checkbox input:checked:focus+span,.fr-files-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-checkbox-disabled{opacity:0.4;position:relative;display:inline-block;width:13px !important;height:13px !important;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-checkbox-disabled svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-checkbox-disabled input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:default;height:13px !important;margin:0;padding:0;width:13px !important;top:7px;left:7px}.fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999999}.fr-checkbox-disabled input:not(:checked):active+span{background-color:#f5f5f5}.fr-checkbox-disabled input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-checkbox-disabled input:checked+span svg{display:block}.fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.fr-file-view{position:absolute;max-width:60%;right:10%;z-index:2147483642}.file-item-thumbnail-hover{transition:transform .2s}.file-item-thumbnail-hover:hover{-ms-transform:scale(1.3);-webkit-transform:scale(1.3);transform:scale(1.3)}.fr-file-name{padding-top:5px;font-size:12px;font-weight:bold}.fr-margin-16{margin-bottom:16px}.fr-none{display:none}.fr-display-block{display:block}.fr-files-manager-tooltip{position:relative}.padding-top-15{padding-top:15px !important;padding-bottom:0px !important}.fr-files-manager-tooltip .tooltiptext{visibility:hidden;width:max-content;max-width:250px;word-break:break-word;word-wrap:break-word;background-color:black;color:#fff;text-align:left;padding:4px;border-radius:2px;font-weight:100;font-size:10px;position:absolute;top:80%;left:50%;z-index:2147483647}.fr-files-manager-tooltip:hover .tooltiptext{visibility:visible}.fr-file-details{display:flex;flex-wrap:wrap;font-size:10px}.fr-file-date{word-break:break-word;word-wrap:break-word;max-width:110px;color:#444;padding-top:2px;padding-bottom:2px}.fr-file-size{color:#444;padding-top:2px;padding-bottom:2px}.dot{width:20px;height:20px;background-image:radial-gradient(circle, grey 1px, transparent 2px);background-size:100% 33.33%;margin-left:2px;margin-right:2px}.fr-file-action-icons{margin-right:5px;margin-left:5px !important;color:#999;height:25px !important;padding:5px !important}@media screen and (max-width: 700px){.fr-files-manager-tooltip .tooltiptext{max-width:250px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%;font-size:8px}}@media screen and (max-width: 500px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%}.fr-file-item-description{width:130px}.fr-file-item-right{width:100%}.progress-circle{font-size:6px}}@media screen and (max-width: 320px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:-50%;font-size:8px}.dot{width:20px;margin-left:0px;margin-right:3px}.fr-file-item-description{width:80px}.fr-file-details{display:flex;flex-wrap:wrap;font-size:9px}.fr-file-name{font-size:10px}.fr-file-action-icons{padding:0px !important}}@media screen and (min-width: 501px){.progress-circle{font-size:9px}}.fr-file-view-modal{display:block;position:fixed;position:-ms-page;z-index:2147483641;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:black;background-color:rgba(0,0,0,0.7)}.fr-file-view-modal-content{display:inline-block;text-align:center}.fr-file-view-image{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;max-width:80%;max-height:70%}.fr-file-view-close{position:absolute;top:15px;right:35px;color:#f1f1f1;font-size:40px;font-weight:bold;transition:0.3s}.fr-file-view-close:hover,.fr-file-view-close:focus{color:#bbb;text-decoration:none;cursor:pointer}.fr-file-error{color:red;font-weight:200;font-size:12px;padding-bottom:5px}.fr-file-error-h5{margin:0}.fr-file-item-right{display:flex;align-items:center;justify-content:flex-end;margin-right:20px}.fr-file-item-action-buttons{display:flex;align-items:center;justify-content:space-around}.fr-file-item-autoplay-checkbox{align-items:center;margin:0px;padding:0px;margin-right:5px}.fr-autoplay-checkbox-label{margin:0;cursor:default !important}.checkbox-container:hover input ~ .checkmark{background-color:#ccc}.checkbox-container input:checked ~ .checkmark{background-color:#2196F3}.checkmark:after{content:"";position:absolute;display:none}.checkbox-container input:checked ~ .checkmark:after{display:block}.checkbox-container .checkmark:after{left:5px;top:2px;width:3px;height:7px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.file-item-details .file-name{font-weight:bold;display:inline}.file-item-details .file-description{font-weight:300;font-size:11px;display:inline}.fr-width-10{width:10%;display:inline-block}.fr-width-20{width:20%;display:inline-block}.fr-width-30{width:30%;display:inline-block}.fr-width-40{width:40%;display:inline-block}.fr-width-50{width:50%;display:inline-block}.fr-width-60{width:60%;display:inline-block}.fr-width-100{width:100%;display:inline-block}.fr-width-80{width:80%;display:inline-block}.fr-width-90{width:90%;display:inline-block}.fr-width-85{width:85%;display:inline-block}.fr-width-5{width:5%;display:inline-block}.fr-width-7{width:7%;display:inline-block}.fr-img-icon{color:#aaaaaa;font-size:16px;padding:0px 4px}.fr-position-content{position:relative;top:10px}.file-error{color:red}#myprogressBar{width:10%;height:5px;background-color:#4CAF50;position:relative;top:-30px}.fr-files-manager{z-index:2147483641 !important}.progress-circle{margin:0px;margin-left:10px;position:relative;padding:0;width:5em;height:5.1em;background-color:#f2e9e1;border-radius:50%;line-height:5em}.progress-circle:after{border:none;position:absolute;top:0.35em;left:0.35em;text-align:center;display:block;border-radius:50%;width:4.3em;height:4.3em;background-color:white;content:" "}.progress-circle span{position:absolute;line-height:5em;width:5em;text-align:center;display:block;color:#53777a;z-index:2}.progress-circle.over50 .left-half-clipper{clip:rect(auto, auto, auto, auto)}.progress-circle.over50 .first50-bar{position:absolute;clip:rect(0, 5em, 5em, 2.5em);background-color:#53777a;border-radius:50%;width:5em;height:5em}.progress-circle:not(.over50) .first50-bar{display:none}.progress-circle.p0 .value-bar{display:none}.progress-circle.p1 .value-bar{transform:rotate(4deg)}.progress-circle.p2 .value-bar{transform:rotate(7deg)}.progress-circle.p3 .value-bar{transform:rotate(11deg)}.progress-circle.p4 .value-bar{transform:rotate(14deg)}.progress-circle.p5 .value-bar{transform:rotate(18deg)}.progress-circle.p6 .value-bar{transform:rotate(22deg)}.progress-circle.p7 .value-bar{transform:rotate(25deg)}.progress-circle.p8 .value-bar{transform:rotate(29deg)}.progress-circle.p9 .value-bar{transform:rotate(32deg)}.progress-circle.p10 .value-bar{transform:rotate(36deg)}.progress-circle.p11 .value-bar{transform:rotate(40deg)}.progress-circle.p12 .value-bar{transform:rotate(43deg)}.progress-circle.p13 .value-bar{transform:rotate(47deg)}.progress-circle.p14 .value-bar{transform:rotate(50deg)}.progress-circle.p15 .value-bar{transform:rotate(54deg)}.progress-circle.p16 .value-bar{transform:rotate(58deg)}.progress-circle.p17 .value-bar{transform:rotate(61deg)}.progress-circle.p18 .value-bar{transform:rotate(65deg)}.progress-circle.p19 .value-bar{transform:rotate(68deg)}.progress-circle.p20 .value-bar{transform:rotate(72deg)}.progress-circle.p21 .value-bar{transform:rotate(76deg)}.progress-circle.p22 .value-bar{transform:rotate(79deg)}.progress-circle.p23 .value-bar{transform:rotate(83deg)}.progress-circle.p24 .value-bar{transform:rotate(86deg)}.progress-circle.p25 .value-bar{transform:rotate(90deg)}.progress-circle.p26 .value-bar{transform:rotate(94deg)}.progress-circle.p27 .value-bar{transform:rotate(97deg)}.progress-circle.p28 .value-bar{transform:rotate(101deg)}.progress-circle.p29 .value-bar{transform:rotate(104deg)}.progress-circle.p30 .value-bar{transform:rotate(108deg)}.progress-circle.p31 .value-bar{transform:rotate(112deg)}.progress-circle.p32 .value-bar{transform:rotate(115deg)}.progress-circle.p33 .value-bar{transform:rotate(119deg)}.progress-circle.p34 .value-bar{transform:rotate(122deg)}.progress-circle.p35 .value-bar{transform:rotate(126deg)}.progress-circle.p36 .value-bar{transform:rotate(130deg)}.progress-circle.p37 .value-bar{transform:rotate(133deg)}.progress-circle.p38 .value-bar{transform:rotate(137deg)}.progress-circle.p39 .value-bar{transform:rotate(140deg)}.progress-circle.p40 .value-bar{transform:rotate(144deg)}.progress-circle.p41 .value-bar{transform:rotate(148deg)}.progress-circle.p42 .value-bar{transform:rotate(151deg)}.progress-circle.p43 .value-bar{transform:rotate(155deg)}.progress-circle.p44 .value-bar{transform:rotate(158deg)}.progress-circle.p45 .value-bar{transform:rotate(162deg)}.progress-circle.p46 .value-bar{transform:rotate(166deg)}.progress-circle.p47 .value-bar{transform:rotate(169deg)}.progress-circle.p48 .value-bar{transform:rotate(173deg)}.progress-circle.p49 .value-bar{transform:rotate(176deg)}.progress-circle.p50 .value-bar{transform:rotate(180deg)}.progress-circle.p51 .value-bar{transform:rotate(184deg)}.progress-circle.p52 .value-bar{transform:rotate(187deg)}.progress-circle.p53 .value-bar{transform:rotate(191deg)}.progress-circle.p54 .value-bar{transform:rotate(194deg)}.progress-circle.p55 .value-bar{transform:rotate(198deg)}.progress-circle.p56 .value-bar{transform:rotate(202deg)}.progress-circle.p57 .value-bar{transform:rotate(205deg)}.progress-circle.p58 .value-bar{transform:rotate(209deg)}.progress-circle.p59 .value-bar{transform:rotate(212deg)}.progress-circle.p60 .value-bar{transform:rotate(216deg)}.progress-circle.p61 .value-bar{transform:rotate(220deg)}.progress-circle.p62 .value-bar{transform:rotate(223deg)}.progress-circle.p63 .value-bar{transform:rotate(227deg)}.progress-circle.p64 .value-bar{transform:rotate(230deg)}.progress-circle.p65 .value-bar{transform:rotate(234deg)}.progress-circle.p66 .value-bar{transform:rotate(238deg)}.progress-circle.p67 .value-bar{transform:rotate(241deg)}.progress-circle.p68 .value-bar{transform:rotate(245deg)}.progress-circle.p69 .value-bar{transform:rotate(248deg)}.progress-circle.p70 .value-bar{transform:rotate(252deg)}.progress-circle.p71 .value-bar{transform:rotate(256deg)}.progress-circle.p72 .value-bar{transform:rotate(259deg)}.progress-circle.p73 .value-bar{transform:rotate(263deg)}.progress-circle.p74 .value-bar{transform:rotate(266deg)}.progress-circle.p75 .value-bar{transform:rotate(270deg)}.progress-circle.p76 .value-bar{transform:rotate(274deg)}.progress-circle.p77 .value-bar{transform:rotate(277deg)}.progress-circle.p78 .value-bar{transform:rotate(281deg)}.progress-circle.p79 .value-bar{transform:rotate(284deg)}.progress-circle.p80 .value-bar{transform:rotate(288deg)}.progress-circle.p81 .value-bar{transform:rotate(292deg)}.progress-circle.p82 .value-bar{transform:rotate(295deg)}.progress-circle.p83 .value-bar{transform:rotate(299deg)}.progress-circle.p84 .value-bar{transform:rotate(302deg)}.progress-circle.p85 .value-bar{transform:rotate(306deg)}.progress-circle.p86 .value-bar{transform:rotate(310deg)}.progress-circle.p87 .value-bar{transform:rotate(313deg)}.progress-circle.p88 .value-bar{transform:rotate(317deg)}.progress-circle.p89 .value-bar{transform:rotate(320deg)}.progress-circle.p90 .value-bar{transform:rotate(324deg)}.progress-circle.p91 .value-bar{transform:rotate(328deg)}.progress-circle.p92 .value-bar{transform:rotate(331deg)}.progress-circle.p93 .value-bar{transform:rotate(335deg)}.progress-circle.p94 .value-bar{transform:rotate(338deg)}.progress-circle.p95 .value-bar{transform:rotate(342deg)}.progress-circle.p96 .value-bar{transform:rotate(346deg)}.progress-circle.p97 .value-bar{transform:rotate(349deg)}.progress-circle.p98 .value-bar{transform:rotate(353deg)}.progress-circle.p99 .value-bar{transform:rotate(356deg)}.progress-circle.p100 .value-bar{transform:rotate(360deg)}.left-half-clipper{border-radius:50%;width:5em;height:5em;position:absolute;clip:rect(0, 5em, 5em, 2.5em)}.value-bar{position:absolute;clip:rect(0, 2.5em, 5em, 0);width:5em;height:5em;border-radius:50%;border:0.45em solid #53777a;box-sizing:border-box}.align-autoplay{align-items:flex-end;margin-right:7px}.fr-hovered-over-file{background-color:#F0F0F0}.thumbnail-padding{padding-right:4px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}body.fr-fullscreen{overflow:hidden;height:100%;width:100%;position:fixed}.fr-box.fr-fullscreen{margin:0 !important;position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483630 !important;width:auto !important}.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar.fr-top{top:0 !important}.fr-box.fr-fullscreen .fr-toolbar.fr-bottom{bottom:0 !important}.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-fullscreen-wrapper{z-index:2147483640 !important;width:100% !important;margin:0 !important;padding:0 !important;overflow:visible !important}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal{text-align:left;padding:20px 20px 10px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table{border-collapse:collapse;font-size:14px;line-height:1.5;width:100%}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table+table{margin-top:20px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th{text-align:left}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th,.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table td{padding:6px 0 4px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #ebebeb}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{width:60%;color:#646464}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:nth-child(n+2){letter-spacing:0.5px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-popup .fr-image-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-image-upload-layer:hover{background:#ebebeb}.fr-popup .fr-image-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-image-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-image-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-image-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px;display:none;text-align:left}.fr-modal .fr-modal-head .fr-modal-tags a{display:inline-block;opacity:0;padding:6px 12px;margin:8px 0 8px 8px;text-decoration:none;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;cursor:pointer;background-color:#f5f5f5}.fr-modal .fr-modal-head .fr-modal-tags a:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:#d6d6d6}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#EcF5Ff;color:#0098f7}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:#d6d6d6}.fr-show-tags .fr-modal-more svg path{fill:#0098f7}div.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}div.fr-modal-body .fr-preloader{display:block;margin:50px auto}div.fr-modal-body div.fr-image-list{text-align:center;margin:0 20px;padding:0}div.fr-modal-body div.fr-image-list .fr-list-column{float:left;width:calc((100% - 20px) / 2)}@media (min-width: 768px) and (max-width: 1199px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 40px) / 3)}}@media (min-width: 1200px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 60px) / 4)}}div.fr-modal-body div.fr-image-list .fr-list-column+.fr-list-column{margin-left:20px}div.fr-modal-body div.fr-image-list div.fr-image-container{position:relative;width:100%;display:block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;overflow:hidden}div.fr-modal-body div.fr-image-list div.fr-image-container:first-child{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container+div{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{position:absolute;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;content:"";top:0;left:0;bottom:0;right:0;z-index:2}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{content:attr(data-deleting);color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto;position:absolute;z-index:3;font-size:15px;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{height:95px;background:#CCCCCC;z-index:1}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{position:absolute;margin:auto;top:0;bottom:0;left:0;right:0;content:attr(data-loading);display:inline-block;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container img{width:100%;vertical-align:middle;position:relative;z-index:2;-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-insert-img{display:inline-block}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{display:none;top:50%;border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;cursor:pointer;margin:0;line-height:40px;text-decoration:none;z-index:3}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#FFF;fill:#0098f7;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{display:inline-block;width:40px;height:40px}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#ebebeb}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-line-breaker{cursor:text;border-top:1px solid #0098f7;position:fixed;z-index:2;display:none}.fr-line-breaker.fr-visible{display:block}.fr-line-breaker a.fr-floating-btn{position:absolute;left:calc(50% - (40px / 2));top:-20px}.fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-quick-insert{position:absolute;z-index:2147483639;white-space:nowrap;padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.fr-quick-insert.fr-hidden{display:none}.fr-qi-helper{position:absolute;z-index:3;padding-left:20px;white-space:nowrap}.fr-qi-helper a.fr-btn.fr-floating-btn{text-align:center;padding:6px 10px 10px 10px;display:inline-block;color:#222222;background:#FFF;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#222222}.fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-weight:normal;font-size:16px}.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-sc-container{width:368px}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element table td.fr-selected-cell,.fr-element table th.fr-selected-cell{border:1px double #0098f7}.fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element table td,.fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.fr-element .fr-no-selection table td,.fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-table-resizer{cursor:col-resize;position:absolute;z-index:3;display:none}.fr-table-resizer.fr-moving{z-index:2}.fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0098f7}.fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-popup .fr-table-size{margin:20px}.fr-popup .fr-table-size .fr-table-size-info{text-align:center;font-size:14px}.fr-popup .fr-table-size .fr-select-table-size{line-height:0;padding:5px;white-space:nowrap}.fr-popup .fr-table-size .fr-select-table-size>span{display:inline-block;padding:0 4px 4px 0;background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span>span{display:inline-block;width:18px;height:18px;border:1px solid #DDD}.fr-popup .fr-table-size .fr-select-table-size>span.hover{background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,152,247,0.3);border:solid 1px #0098f7}.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.fr-popup.fr-above .fr-table-size .fr-select-table-size>span{display:inline-block !important}.fr-popup .fr-table-colors{display:block;padding:20px;padding-bottom:0}.fr-popup.fr-desktop .fr-table-size .fr-select-table-size>span>span{width:12px;height:12px}.fr-insert-helper{position:absolute;z-index:9999;white-space:nowrap}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}#fr-form-container{margin:auto;position:relative;top:10%;background-color:#f5f5f5;width:60%;border-radius:5px;z-index:9002;overflow:auto;background-color:#fefefe}.fr-trim-video-name{font-family:Arial, Helvetica, sans-serif;padding-top:15px}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-slidecontainer{width:100%}.fr-slider{-webkit-appearance:none;width:100%;height:15px;background:#d3d3d3}.fr-video-trim-buttons{text-align:right;padding-bottom:5px;padding-right:15px;margin-top:10px}.fr-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;cursor:pointer}.fr-slider::-moz-range-thumb{width:15px;height:15px;background:#3498db;border-radius:50%;cursor:pointer}.fr-range-value-start{position:absolute}.fr-range-value-start>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:50%;transform:translate(-85%, 0);border-radius:6px}.fr-range-value-start>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:86%;margin-left:-5px;margin-top:-1px}.fr-range-value-end{position:absolute}.fr-range-value-end>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:14%;transform:translate(-8%, 0);border-radius:6px}.fr-range-value-end>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:14%;margin-left:-5px;margin-top:-1px}#startTimeValue{top:-153% !important}#startTimeValue span:before{border-top:10px solid #03a9f4;top:100%}#endTimeValue{top:-153% !important}#endTimeValue span:before{border-top:10px solid #03a9f4;top:100%}.fr-range-slider{position:relative;width:80%;height:15px}.fr-range-slider>input{pointer-events:none;position:absolute;left:0;top:10px;width:100%;outline:none;height:6px;border-radius:10px}.fr-range-slider>input::-webkit-slider-thumb{pointer-events:all;position:relative;z-index:1;-webkit-appearance:none;appearance:none;width:15px;height:15px;background:#3498db;cursor:pointer;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-thumb{pointer-events:all;position:relative;z-index:10;-moz-appearance:none;width:9px;height:15px;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-track{position:relative;z-index:-1;background-color:black;border:0;height:15px;border-radius:50%;margin-top:-3.6px}.fr-range-slider>input:last-of-type::-moz-range-track{-moz-appearance:none;background:none transparent;border:0}.fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}@media screen and (max-width: 430px){.range-value span{width:40px;font-size:10px}#fr-form-container{top:20%}}#fr-video-edit{width:80%;text-align:center;height:50%;margin-bottom:20px;padding-top:8px;padding-bottom:8px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element .fr-video::after{position:absolute;content:'';z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.fr-element .fr-video.fr-active>*{z-index:2;position:relative}.fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-box .fr-video-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box .fr-video-resizer.fr-active{display:block}.fr-box .fr-video-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-box .fr-video-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-box .fr-video-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-popup .fr-video-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-video-upload-layer:hover{background:#ebebeb}.fr-popup .fr-video-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-video-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-video-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-video-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-video-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-autoplay-margin{margin-top:0px !important}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-view img.fr-rounded,.fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view img.fr-shadow,.fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.fr-view img.fr-bordered,.fr-view .fr-img-caption.fr-bordered img{border:solid 5px #CCC}.fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-view{word-wrap:break-word}.fr-view span[style~="color:"] a{color:inherit}.fr-view strong{font-weight:700}.fr-view table{border:none;border-collapse:collapse;empty-cells:show;max-width:100%}.fr-view table td{min-width:5px}.fr-view table.fr-dashed-borders td,.fr-view table.fr-dashed-borders th{border-style:dashed}.fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.fr-view table td,.fr-view table th{border:1px solid #DDD}.fr-view table td:empty,.fr-view table th:empty{height:20px}.fr-view table td.fr-highlighted,.fr-view table th.fr-highlighted{border:1px double red}.fr-view table td.fr-thick,.fr-view table th.fr-thick{border-width:2px}.fr-view table th{background:#ececec}.fr-view hr{clear:both;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;break-after:always;page-break-after:always}.fr-view .fr-file{position:relative}.fr-view .fr-file::after{position:relative;content:"\1F4CE";font-weight:normal}.fr-view pre{white-space:pre-wrap;word-wrap:break-word;overflow:visible}.fr-view[dir="rtl"] blockquote{border-left:none;border-right:solid 2px #5E35B1;margin-right:0;padding-right:5px;padding-left:0}.fr-view[dir="rtl"] blockquote blockquote{border-color:#00BCD4}.fr-view[dir="rtl"] blockquote blockquote blockquote{border-color:#43A047}.fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;padding-left:5px;color:#5E35B1}.fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.fr-view span.fr-emoticon{font-weight:normal;font-family:"Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe UI Symbol","Android Emoji","EmojiSymbols";display:inline;line-height:0}.fr-view span.fr-emoticon.fr-emoticon-img{background-repeat:no-repeat !important;font-size:inherit;height:1em;width:1em;min-height:20px;min-width:20px;display:inline-block;margin:-.1em .1em .1em;line-height:1;vertical-align:middle}.fr-view .fr-text-gray{color:#AAA !important}.fr-view .fr-text-bordered{border-top:solid 1px #222;border-bottom:solid 1px #222;padding:10px 0}.fr-view .fr-text-spaced{letter-spacing:1px}.fr-view .fr-text-uppercase{text-transform:uppercase}.fr-view .fr-class-highlighted{background-color:#ffff00}.fr-view .fr-class-code{border-color:#cccccc;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5;padding:10px;font-family:"Courier New", Courier, monospace}.fr-view .fr-class-transparency{opacity:0.5}.fr-view img{position:relative;max-width:100%}.fr-view img.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view img.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view img.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view img.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view img.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view img.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption{position:relative;max-width:100%}.fr-view span.fr-img-caption.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view span.fr-img-caption.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view span.fr-img-caption.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view .fr-video{text-align:center;position:relative}.fr-view .fr-video.fr-rv{padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.fr-view .fr-video.fr-rv>iframe,.fr-view .fr-video.fr-rv object,.fr-view .fr-video.fr-rv embed{position:absolute !important;top:0;left:0;width:100%;height:100%}.fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-view .fr-video.fr-dvb{display:block;clear:both}.fr-view .fr-video.fr-dvb.fr-fvl{text-align:left}.fr-view .fr-video.fr-dvb.fr-fvr{text-align:right}.fr-view .fr-video.fr-dvi{display:inline-block}.fr-view .fr-video.fr-dvi.fr-fvl{float:left}.fr-view .fr-video.fr-dvi.fr-fvr{float:right}.fr-view a.fr-strong{font-weight:700}.fr-view a.fr-green{color:green}.fr-view .fr-img-caption{text-align:center}.fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto;text-align:center;width:100%}.fr-view .fr-img-caption .fr-img-wrap a{display:block}.fr-view .fr-img-caption .fr-img-wrap img{display:block;margin:auto;width:100%}.fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;display:block;padding:5px 5px 10px;font-size:14px;font-weight:initial;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";width:100%;text-align:center}.fr-view button.fr-rounded,.fr-view input.fr-rounded,.fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view button.fr-large,.fr-view input.fr-large,.fr-view textarea.fr-large{font-size:24px}.fr-view ul,.fr-view ol{list-style-position:inside}a.fr-view.fr-strong{font-weight:700}a.fr-view.fr-green{color:green}img.fr-view{position:relative;max-width:100%}img.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}img.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}img.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}img.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}img.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}img.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view{position:relative;max-width:100%}span.fr-img-caption.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}span.fr-img-caption.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}span.fr-img-caption.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)} +.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element,.fr-element:focus{outline:0 solid transparent}.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left}.fr-box.fr-basic.fr-rtl .fr-element{text-align:right}.fr-element{background:transparent;position:relative;z-index:2;-webkit-user-select:auto}.fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element [contenteditable="true"]{outline:0 solid transparent}.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;text-align:center;background:#FFF;color:#333333;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;outline:none;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);text-align:center;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#333333}.fr-box a.fr-floating-btn i,.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.fr-box a.fr-floating-btn.fr-btn+.fr-btn{margin-left:10px}.fr-box a.fr-floating-btn:hover{background:#ebebeb;cursor:pointer}.fr-box a.fr-floating-btn:hover svg{fill:#333333}.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}iframe.fr-iframe{width:100%;border:none;position:relative;display:block;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-wrapper{position:relative;z-index:1}.fr-wrapper::after{clear:both;display:block;content:"";height:0}.fr-wrapper .fr-placeholder{position:absolute;font-size:14px;color:#AAA;font-family:sans-serif;z-index:1;display:none;top:0;left:0;right:0;overflow:hidden}.fr-wrapper.show-placeholder .fr-placeholder{display:block;white-space:nowrap;text-overflow:ellipsis}.fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.fr-wrapper ::selection{background:#b5d6fd;color:#000}.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.fr-box.fr-document{min-width:21cm}.fr-box.fr-document .fr-wrapper{text-align:left;padding:30px;min-width:21cm;background:#efefef}.fr-box.fr-document .fr-wrapper .fr-element{text-align:left;background:#FFF;width:21cm;margin:auto;min-height:26cm !important;padding:1cm 2cm;overflow:visible;z-index:auto}.fr-box.fr-document .fr-wrapper .fr-element hr{margin-left:-2cm;margin-right:-2cm;background:#efefef;height:1cm;outline:none;border:none}.fr-box.fr-document .fr-wrapper .fr-element img{z-index:1}}.fr-tooltip{position:absolute;top:0;left:0;padding:0 8px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";left:-3000px;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:2147483647;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-btn-wrap,.fr-popup .fr-btn-wrap,.fr-modal .fr-btn-wrap{float:left;white-space:nowrap;position:relative}.fr-toolbar .fr-btn-wrap.fr-hidden,.fr-popup .fr-btn-wrap.fr-hidden,.fr-modal .fr-btn-wrap.fr-hidden{display:none}.fr-toolbar .fr-command.fr-btn,.fr-popup .fr-command.fr-btn,.fr-modal .fr-command.fr-btn{background:transparent;color:#333333;-moz-outline:0;outline:none;border:0;line-height:1;cursor:pointer;text-align:left;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;float:left;height:40px}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.fr-popup .fr-command.fr-btn.fr-btn-hover,.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.fr-popup .fr-command.fr-btn::-moz-focus-inner,.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0;padding:0}.fr-toolbar .fr-command.fr-btn.fr-btn-text,.fr-popup .fr-command.fr-btn.fr-btn-text,.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.fr-toolbar .fr-command.fr-btn i,.fr-toolbar .fr-command.fr-btn svg,.fr-popup .fr-command.fr-btn i,.fr-popup .fr-command.fr-btn svg,.fr-modal .fr-command.fr-btn i,.fr-modal .fr-command.fr-btn svg{display:block;text-align:center;float:none;margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn svg.fr-svg,.fr-popup .fr-command.fr-btn svg.fr-svg,.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.fr-toolbar .fr-command.fr-btn svg path,.fr-popup .fr-command.fr-btn svg path,.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#333333}.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.fr-popup .fr-command.fr-btn span.fr-sr-only,.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-toolbar .fr-command.fr-btn span,.fr-popup .fr-command.fr-btn span,.fr-modal .fr-command.fr-btn span{font-size:14px;display:block;line-height:17px;min-width:30px;float:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:17px;font-weight:bold;padding:0 4px}.fr-toolbar .fr-command.fr-btn img,.fr-popup .fr-command.fr-btn img,.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:#d6d6d6}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection span,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-selection span{font-weight:normal}.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.fr-popup .fr-command.fr-btn.fr-dropdown i,.fr-popup .fr-command.fr-btn.fr-dropdown span,.fr-popup .fr-command.fr-btn.fr-dropdown img,.fr-popup .fr-command.fr-btn.fr-dropdown svg,.fr-modal .fr-command.fr-btn.fr-dropdown i,.fr-modal .fr-command.fr-btn.fr-dropdown span,.fr-modal .fr-command.fr-btn.fr-dropdown img,.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.fr-popup .fr-command.fr-btn.fr-dropdown:after,.fr-modal .fr-command.fr-btn.fr-dropdown:after{position:absolute;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #333333;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s;content:""}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#333333;background:#d6d6d6;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#ebebeb;fill:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#333333}.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #222222}.fr-toolbar .fr-command.fr-btn.fr-disabled,.fr-popup .fr-command.fr-btn.fr-disabled,.fr-modal .fr-command.fr-btn.fr-disabled{color:#bdbdbd;cursor:default;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.fr-popup .fr-command.fr-btn.fr-disabled::after,.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:#bdbdbd}.fr-toolbar .fr-command.fr-btn.fr-hidden,.fr-popup .fr-command.fr-btn.fr-hidden,.fr-modal .fr-command.fr-btn.fr-hidden{display:none}.fr-toolbar .fr-tabs .fr-command.fr-btn,.fr-popup .fr-tabs .fr-command.fr-btn,.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#FFF}.fr-toolbar .fr-tabs .fr-command.fr-btn span,.fr-popup .fr-tabs .fr-command.fr-btn span,.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.fr-toolbar .fr-tabs .fr-command.fr-btn img,.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.fr-popup .fr-tabs .fr-command.fr-btn img,.fr-popup .fr-tabs .fr-command.fr-btn svg,.fr-modal .fr-tabs .fr-command.fr-btn img,.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0098f7}.fr-toolbar.fr-disabled .fr-btn,.fr-toolbar.fr-disabled .fr-btn.fr-active,.fr-popup.fr-disabled .fr-btn,.fr-popup.fr-disabled .fr-btn.fr-active,.fr-modal.fr-disabled .fr-btn,.fr-modal.fr-disabled .fr-btn.fr-active{color:#bdbdbd;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:#bdbdbd}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-left,.fr-popup.fr-rtl .fr-btn-grp.fr-float-left,.fr-modal.fr-rtl .fr-btn-grp.fr-float-left{float:right}.fr-toolbar.fr-rtl .fr-btn-grp.fr-float-right,.fr-popup.fr-rtl .fr-btn-grp.fr-float-right,.fr-modal.fr-rtl .fr-btn-grp.fr-float-right{float:left}.fr-toolbar.fr-rtl .fr-command.fr-btn,.fr-toolbar.fr-rtl .fr-btn-wrap,.fr-popup.fr-rtl .fr-command.fr-btn,.fr-popup.fr-rtl .fr-btn-wrap,.fr-modal.fr-rtl .fr-command.fr-btn,.fr-modal.fr-rtl .fr-btn-wrap{float:right}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;float:none}.fr-desktop .fr-command:hover,.fr-desktop .fr-command:focus,.fr-desktop .fr-command.fr-btn-hover,.fr-desktop .fr-command.fr-expanded{outline:0;color:#333333}.fr-desktop .fr-command:hover:not(.fr-table-cell),.fr-desktop .fr-command:focus:not(.fr-table-cell),.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#ebebeb}.fr-desktop .fr-command:hover::after,.fr-desktop .fr-command:focus::after,.fr-desktop .fr-command.fr-btn-hover::after,.fr-desktop .fr-command.fr-expanded::after{border-top-color:#333333}.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.fr-desktop .fr-command:active{color:#333333;background:#d6d6d6}.fr-desktop .fr-command.fr-active:hover,.fr-desktop .fr-command.fr-active:focus,.fr-desktop .fr-command.fr-active.fr-btn-hover,.fr-desktop .fr-command.fr-active.fr-expanded{background:#ebebeb}.fr-desktop .fr-command.fr-active:active{background:#d6d6d6}.fr-desktop .fr-command.fr-disabled:hover,.fr-desktop .fr-command.fr-disabled:focus,.fr-desktop .fr-command.fr-disabled.fr-selected{background:transparent}.fr-desktop.fr-disabled .fr-command:hover,.fr-desktop.fr-disabled .fr-command:focus,.fr-desktop.fr-disabled .fr-command.fr-selected{background:transparent}.fr-toolbar.fr-mobile .fr-command.fr-blink,.fr-popup.fr-mobile .fr-command.fr-blink{background:#d6d6d6}.fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.fr-command.fr-btn.fr-options.fr-btn-hover,.fr-command.fr-btn.fr-options:hover,.fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.fr-command.fr-btn+.fr-dropdown-menu{background:#FFF;display:inline-block;position:absolute;right:auto;bottom:auto;height:auto;z-index:4;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-overflow-scrolling:touch;overflow:hidden;zoom:1;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;display:inline-block;text-align:left;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;float:left;height:0;margin-top:0 !important}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content{position:relative}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{list-style-type:none;margin:0;padding:8px 0;min-width:72px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;line-height:200%;display:flex;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#333333}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:#d6d6d6}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:#bdbdbd;cursor:default}.fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a .fr-shortcut{margin-left:20px;font-weight:bold;-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75}.fr-command.fr-btn.fr-active+.fr-dropdown-menu{display:inline-block;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-rtl .fr-dropdown-wrapper,.fr-popup.fr-rtl .fr-dropdown-wrapper{text-align:right !important}body.fr-prevent-scroll{overflow:hidden}body.fr-prevent-scroll.fr-mobile{position:fixed;-webkit-overflow-scrolling:touch}.fr-modal{color:#222222;font-family:Arial, Helvetica, sans-serif;position:fixed;overflow-x:auto;overflow-y:scroll;top:0;left:0;bottom:0;right:0;width:100%;z-index:2147483640;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:1.2}.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);position:absolute}.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-clip:padding-box;margin:20px auto;display:inline-block;background:#FFF;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;overflow:hidden;width:90%;position:relative}@media (min-width: 768px) and (max-width: 991px){.fr-modal .fr-modal-wrapper{margin:30px auto;width:70%}}@media (min-width: 992px){.fr-modal .fr-modal-wrapper{margin:50px auto;width:960px}}.fr-modal .fr-modal-wrapper .fr-modal-head{background:#FFF;overflow:hidden;position:absolute;width:100%;min-height:42px;z-index:3;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;position:absolute;top:0;right:0}.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px;display:inline-block;float:left}.fr-modal .fr-modal-wrapper div.fr-modal-body{height:100%;min-height:150px;overflow-y:auto;padding-bottom:20px}.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command+button{margin-left:24px}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#ebebeb}.fr-overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483639}ol.decimal_type{counter-reset:item}ol.decimal_type>li{display:block}ol.decimal_type>li:before{content:counters(item,".") ". ";counter-increment:item}.fr-popup{position:absolute;display:none;color:#222222;background:#FFF;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;z-index:2147483635;text-align:left;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2}.fr-popup .fr-icon{text-align:center;vertical-align:middle;font-size:20px;line-height:1;cursor:pointer;font-weight:400;box-sizing:content-box;padding:6px}.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px));display:grid}}@media (min-width: 768px){.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.fr-popup .fr-icon-container{display:inline-flex;-ms-flex-flow:row wrap}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.fr-popup .fr-icon-container{width:236px}}.fr-popup .fr-input-focus{background:whitesmoke}.fr-popup.fr-above{margin-top:-10px;border-top:0}.fr-popup.fr-active{display:block}.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup.fr-empty{display:none !important}.fr-popup .fr-hs{display:block !important}.fr-popup .fr-hs.fr-hidden{display:none !important}.fr-popup .fr-input-line{position:relative;padding:15px 0}.fr-popup .fr-input-line input[type="text"],.fr-popup .fr-input-line textarea{width:100%;margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#222222;font-size:14px;background:#FFF;position:relative;z-index:2;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.fr-popup .fr-input-line input[type="text"]:hover,.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.fr-popup .fr-input-line input[type="text"]:focus,.fr-popup .fr-input-line textarea:focus{border:solid 2px #0098f7;padding:3px 11px}.fr-popup .fr-input-line input[type="text"]{height:46px}.fr-popup .fr-input-line input+label,.fr-popup .fr-input-line textarea+label{position:absolute;top:29px;left:12px;font-size:14px;color:grey;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;z-index:3;display:block;background:#FFF;padding:0;cursor:text}.fr-popup .fr-input-line input.fr-not-empty+label,.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.fr-popup input,.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;outline:none}.fr-popup textarea{resize:none}.fr-popup .fr-buttons{white-space:nowrap;line-height:0}.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px;display:inline-block;float:none}.fr-popup .fr-buttons .fr-btn i{float:left}.fr-popup .fr-buttons .fr-separator{display:inline-block;float:none}.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;overflow:hidden}@media (max-width: 768px){.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{overflow:scroll;overflow-y:hidden;width:276px}}.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px;display:none}@media (min-width: 768px){.fr-popup .fr-layer{width:260px}}.fr-popup .fr-layer.fr-active{display:inline-block}.fr-popup .fr-action-buttons{z-index:7;height:36px;text-align:right}.fr-popup .fr-action-buttons button.fr-command{height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;outline:none;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-popup .fr-action-buttons button.fr-command+button{margin-left:24px}.fr-popup .fr-action-buttons button.fr-command:hover,.fr-popup .fr-action-buttons button.fr-command:focus{background:#ebebeb;color:#0098f7}.fr-popup .fr-action-buttons button.fr-command:active{background:#d6d6d6;color:#0098f7}.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.fr-popup .fr-checkbox{position:relative;display:inline-block;width:18px;height:18px;padding:10px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-popup .fr-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px;top:7px;left:7px}.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-popup .fr-checkbox input:not(:checked):focus+span,.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-popup .fr-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-popup .fr-checkbox input:checked+span svg{display:block}.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-popup .fr-checkbox input:checked:focus+span,.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.fr-popup .fr-checkbox-line label{cursor:pointer;margin:0 5px;vertical-align:middle}.fr-popup.fr-rtl{direction:rtl;text-align:right}.fr-popup.fr-rtl .fr-action-buttons{text-align:left}.fr-popup.fr-rtl .fr-input-line input+label,.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.fr-popup.fr-rtl .fr-buttons .fr-separator.fr-vs{float:right}.fr-text-edit-layer{width:250px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block !important}.fr-toolbar{color:#222222;background:#FFF;position:relative;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;text-align:left;border:1px solid #CCCCCC;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.2;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.fr-toolbar::after{clear:both;display:block;content:"";height:0}.fr-toolbar::after{height:0}.fr-toolbar .fr-newline{clear:both;display:block;content:"";margin-left:9px;margin-right:9px;background:#efefef;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.fr-toolbar .fr-float-right{float:right}.fr-toolbar .fr-float-left{float:left}.fr-toolbar .fr-more-toolbar{float:left;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;z-index:2;overflow:hidden;position:absolute;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.fr-toolbar .fr-more-toolbar.fr-overflow-visible{overflow:visible}.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.fr-toolbar .fr-btn-grp{display:inline-block;margin:0 17px 0 12px}@media (max-width: 768px){.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#f5f5f5}.fr-toolbar.fr-rtl{text-align:right}.fr-toolbar.fr-inline{display:none;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;white-space:nowrap;position:absolute;margin-top:5px;z-index:2147483630}.fr-toolbar.fr-inline.fr-above{margin-top:-10px;border-top:0}.fr-toolbar.fr-inline .fr-newline{height:0}.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-separator{background:#ebebeb;display:block;vertical-align:top;float:left}.fr-separator+.fr-separator{display:none}.fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.fr-separator.fr-hs{clear:both;width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.fr-separator.fr-hidden{display:none !important}.fr-rtl .fr-separator{float:right}.fr-toolbar.fr-inline .fr-separator.fr-hs{float:none}.fr-toolbar.fr-inline .fr-separator.fr-vs{float:none;display:inline-block}.fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;line-height:1.4;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-second-toolbar::after{clear:both;display:block;content:"";height:0}#fr-logo{float:left;outline:none}#fr-logo>span{display:inline-block;float:left;font-family:sans-serif;padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}#fr-logo>svg{height:20px;width:47px;margin:7px 0;cursor:pointer}#fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}#fr-logo:hover>span,#fr-logo:focus>span{color:#0098f7}#fr-logo:hover>svg .fr-logo,#fr-logo:focus>svg .fr-logo{fill:#0098f7}.fr-visibility-helper{display:none;margin-left:0 !important}@media (min-width: 768px){.fr-visibility-helper{margin-left:1px !important}}@media (min-width: 992px){.fr-visibility-helper{margin-left:2px !important}}@media (min-width: 1200px){.fr-visibility-helper{margin-left:3px !important}}.fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-box{position:relative}.fr-sticky{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky}.fr-sticky-off{position:relative}.fr-sticky-on{position:fixed;z-index:10}.fr-sticky-on.fr-sticky-ios{position:absolute;left:0;right:0;width:auto !important}.fr-sticky-dummy{display:none}.fr-sticky-on+.fr-sticky-dummy,.fr-sticky-box>.fr-sticky-dummy{display:block}span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-box .fr-counter{padding:10px;float:right;color:#999999;content:attr(data-chars);font-size:14px;font-family:sans-serif;z-index:1;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-left:none;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-code-view .fr-counter{display:none}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}textarea.fr-code{display:none;width:100%;resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;padding:10px;margin:0;font-family:"Courier New",monospace;font-size:14px;background:#FFF;color:#000;outline:none}.fr-box.fr-rtl textarea.fr-code{direction:rtl}.fr-box .CodeMirror{display:none}.fr-box.fr-code-view textarea.fr-code{display:block}.fr-box.fr-code-view .fr-element,.fr-box.fr-code-view .fr-placeholder,.fr-box.fr-code-view .fr-iframe{display:none}.fr-box.fr-code-view .CodeMirror{display:block}.fr-box.fr-inline.fr-code-view .fr-command.fr-btn.html-switch{display:block}.fr-box.fr-inline .fr-command.fr-btn.html-switch{display:none;position:absolute;top:0;right:0;display:none;background:#FFF;color:#333333;-moz-outline:0;outline:0;border:0;line-height:1;cursor:pointer;text-align:left;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px;text-align:center}.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#ebebeb}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0;float:left}.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{float:left;width:calc(100% - 50px);padding:15px 0 0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{float:right;width:38px;height:40px;padding:17px 0 0;margin:0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.fr-popup .fr-separator+.fr-colors-tabs{margin-left:2px;margin-right:2px}.fr-popup .fr-color-set{line-height:0;display:none}.fr-popup .fr-color-set.fr-selected-set{display:block;padding:20px;padding-bottom:0}.fr-popup .fr-color-set>span{display:inline-block;width:32px;height:32px;position:relative;z-index:1}.fr-popup .fr-color-set>span>i,.fr-popup .fr-color-set>span>svg{text-align:center;line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;position:absolute;bottom:0;cursor:default;left:0}.fr-popup .fr-color-set>span>i path,.fr-popup .fr-color-set>span>svg path{fill:#222222}.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-family:FontAwesome;font-size:13px;font-weight:400;line-height:32px;position:absolute;top:0;bottom:0;right:0;left:0;text-align:center;cursor:default}.fr-popup .fr-color-set>span:hover,.fr-popup .fr-color-set>span:focus{outline:1px solid #222222;z-index:2}.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-drag-helper{background:#0098f7;height:2px;margin-top:-1px;-webkit-opacity:0.2;-moz-opacity:0.2;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;z-index:2147483640;display:none}.fr-drag-helper.fr-visible{display:block}.fr-dragging{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-emoticon{width:24px;height:24px;font-family:"Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols}.fr-popup .fr-emoticon img{height:24px;width:24px}.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-file-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center}.fr-popup .fr-file-upload-layer:hover{background:#ebebeb}.fr-popup .fr-file-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-file-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-popup .fr-file-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-file-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}@keyframes loading{from{left:-25%}to{left:100%}}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-height-auto{height:auto !important}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-by-url-padding{padding:11.5px 0}.fr-popup .fr-upload-progress-layer{border-radius:0;box-sizing:border-box;padding-left:20px;padding-top:15px;margin:auto !important;max-height:100%;overflow-y:auto;overflow-x:hidden;width:100% !important;overscroll-behavior:contain}.fr-popup .fr-files-by-url-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-embed-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer{border:dashed 2px #bdbdbd;margin:20px;position:relative;font-size:10px;letter-spacing:1px;line-height:140%;text-align:center;width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer:hover{background:#ebebeb}.fr-popup .fr-files-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-files-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-files-progress-bar-layer{width:calc(100% - 40px);width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-popup .fr-files-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-files-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-progress-bar-style{width:calc(100% - 40px)}.fr-progress-bar{position:relative;background-color:#4CAF50;height:8px;margin-bottom:8px;margin-left:20px;margin-right:20px;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-pull-left{float:left}.fr-pull-right{float:right}.fr-icons{padding:10px 20px 0;display:inline}.fr-transform-135{transform:rotate(135deg)}.fr-icons i{margin:4px;padding:2px;cursor:pointer;color:#999588;font-size:20px}.fr-blue-decorator{background:#4a7fba;color:white;display:grid;padding:5px}.fr-upload-progress{padding:1px}.fr-upload-section{position:relative;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}@media screen and (max-width: 399px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 400px) and (max-width: 469px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 470px) and (max-width: 680px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 681px){.fr-upload-section{margin-left:35px;margin-right:35px}.fr-files-upload-layer{padding-top:20px;padding-bottom:20px}}.half-circle{width:60px;height:25px;background-color:white;border-top-left-radius:110px;border-top-right-radius:110px;transform:rotate(180deg);border-bottom:0;position:relative;left:50%;z-index:1;left:50%;margin-top:-1px;margin-left:-25px}.decorated{overflow:hidden;text-align:center}.decorated>span{position:relative;display:inline-block}.decorated>span:before,.decorated>span:after{content:'';position:absolute;top:50%;border-bottom:2px solid #ffffff;width:100%;margin:0 20px}.decorated>span:before{right:100%}.decorated>span:after{left:100%}.fr-align-right{float:right}.checkbox-container{display:inline-block;position:relative;padding-left:20px;margin-bottom:12px;cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fr-files-checkbox-line{display:flex;align-items:center;font-size:10px}.fr-files-checkbox-line label{cursor:pointer;vertical-align:middle}.fr-insert-checkbox input{height:13px !important;width:13px !important}.fr-autoplay-checkbox input{height:13px !important;width:13px !important}button[data-cmd="insertFiles"]{padding-left:2px !important;padding-top:2.7px !important}button[data-cmd="autoplay"] svg{position:relative !important;top:3.2px !important}button[data-cmd="insertAll"]{padding-left:4px !important}button[data-cmd="insertAll"] svg{position:relative !important;top:3.2px !important}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{position:absolute;top:0;left:0;height:15px;width:15px;background-color:#eee}.fr-file-list-item{display:flex;justify-content:space-between;align-items:center;padding-top:7px;flex-wrap:wrap;position:relative;top:-20px;border-bottom:1px solid #ddd;padding-bottom:7px}.fr-file-item-left{display:flex;flex-wrap:wrap}.fr-file-item-icon{display:flex;align-items:center;padding-left:7px}.fr-file-item-description{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;max-width:400px;margin-left:5px}.fr-cloud-icon{height:30px;width:32px;background-color:white;border-radius:50%;display:flex;justify-content:center;position:relative;margin:0 auto;margin-top:-18px}.fr-files-checkbox{position:relative;display:inline-block;width:13px;height:13px;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-files-checkbox svg{margin-left:0px;margin-top:0px;display:none;width:10px;height:10px}.fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-files-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px}.fr-files-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-files-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-files-checkbox input:not(:checked):focus+span,.fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-files-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-files-checkbox input:checked+span svg{display:block}.fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-files-checkbox input:checked:focus+span,.fr-files-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-checkbox-disabled{opacity:0.4;position:relative;display:inline-block;width:13px !important;height:13px !important;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-checkbox-disabled svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-checkbox-disabled input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:default;height:13px !important;margin:0;padding:0;width:13px !important;top:7px;left:7px}.fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999999}.fr-checkbox-disabled input:not(:checked):active+span{background-color:#f5f5f5}.fr-checkbox-disabled input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-checkbox-disabled input:checked+span svg{display:block}.fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.fr-file-view{position:absolute;max-width:60%;right:10%;z-index:2147483642}.file-item-thumbnail-hover{transition:transform .2s}.file-item-thumbnail-hover:hover{-ms-transform:scale(1.3);-webkit-transform:scale(1.3);transform:scale(1.3)}.fr-file-name{padding-top:5px;font-size:12px;font-weight:bold}.fr-margin-16{margin-bottom:16px}.fr-none{display:none}.fr-display-block{display:block}.fr-files-manager-tooltip{position:relative}.padding-top-15{padding-top:15px !important;padding-bottom:0px !important}.fr-files-manager-tooltip .tooltiptext{visibility:hidden;width:max-content;max-width:250px;word-break:break-word;word-wrap:break-word;background-color:black;color:#fff;text-align:left;padding:4px;border-radius:2px;font-weight:100;font-size:10px;position:absolute;top:80%;left:50%;z-index:2147483647}.fr-files-manager-tooltip:hover .tooltiptext{visibility:visible}.fr-file-details{display:flex;flex-wrap:wrap;font-size:10px}.fr-file-date{word-break:break-word;word-wrap:break-word;max-width:110px;color:#444;padding-top:2px;padding-bottom:2px}.fr-file-size{color:#444;padding-top:2px;padding-bottom:2px}.dot{width:20px;height:20px;background-image:radial-gradient(circle, grey 1px, transparent 2px);background-size:100% 33.33%;margin-left:2px;margin-right:2px}.fr-file-action-icons{margin-right:5px;margin-left:5px !important;color:#999;height:25px !important;padding:5px !important}@media screen and (max-width: 700px){.fr-files-manager-tooltip .tooltiptext{max-width:250px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%;font-size:8px}}@media screen and (max-width: 500px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%}.fr-file-item-description{width:130px}.fr-file-item-right{width:100%}.progress-circle{font-size:6px}}@media screen and (max-width: 320px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:-50%;font-size:8px}.dot{width:20px;margin-left:0px;margin-right:3px}.fr-file-item-description{width:80px}.fr-file-details{display:flex;flex-wrap:wrap;font-size:9px}.fr-file-name{font-size:10px}.fr-file-action-icons{padding:0px !important}}@media screen and (min-width: 501px){.progress-circle{font-size:9px}}.fr-file-view-modal{display:block;position:fixed;position:-ms-page;z-index:2147483641;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:black;background-color:rgba(0,0,0,0.7)}.fr-file-view-modal-content{display:inline-block;text-align:center}.fr-file-view-image{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;max-width:80%;max-height:70%}.fr-file-view-close{position:absolute;top:15px;right:35px;color:#f1f1f1;font-size:40px;font-weight:bold;transition:0.3s}.fr-file-view-close:hover,.fr-file-view-close:focus{color:#bbb;text-decoration:none;cursor:pointer}.fr-file-error{color:red;font-weight:200;font-size:12px;padding-bottom:5px}.fr-file-error-h5{margin:0}.fr-file-item-right{display:flex;align-items:center;justify-content:flex-end;margin-right:20px}.fr-file-item-action-buttons{display:flex;align-items:center;justify-content:space-around}.fr-file-item-autoplay-checkbox{align-items:center;margin:0px;padding:0px;margin-right:5px}.fr-autoplay-checkbox-label{margin:0;cursor:default !important}.checkbox-container:hover input ~ .checkmark{background-color:#ccc}.checkbox-container input:checked ~ .checkmark{background-color:#2196F3}.checkmark:after{content:"";position:absolute;display:none}.checkbox-container input:checked ~ .checkmark:after{display:block}.checkbox-container .checkmark:after{left:5px;top:2px;width:3px;height:7px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.file-item-details .file-name{font-weight:bold;display:inline}.file-item-details .file-description{font-weight:300;font-size:11px;display:inline}.fr-width-10{width:10%;display:inline-block}.fr-width-20{width:20%;display:inline-block}.fr-width-30{width:30%;display:inline-block}.fr-width-40{width:40%;display:inline-block}.fr-width-50{width:50%;display:inline-block}.fr-width-60{width:60%;display:inline-block}.fr-width-100{width:100%;display:inline-block}.fr-width-80{width:80%;display:inline-block}.fr-width-90{width:90%;display:inline-block}.fr-width-85{width:85%;display:inline-block}.fr-width-5{width:5%;display:inline-block}.fr-width-7{width:7%;display:inline-block}.fr-img-icon{color:#aaaaaa;font-size:16px;padding:0px 4px}.fr-position-content{position:relative;top:10px}.file-error{color:red}#myprogressBar{width:10%;height:5px;background-color:#4CAF50;position:relative;top:-30px}.fr-files-manager{z-index:2147483641 !important}.progress-circle{margin:0px;margin-left:10px;position:relative;padding:0;width:5em;height:5.1em;background-color:#f2e9e1;border-radius:50%;line-height:5em}.progress-circle:after{border:none;position:absolute;top:0.35em;left:0.35em;text-align:center;display:block;border-radius:50%;width:4.3em;height:4.3em;background-color:white;content:" "}.progress-circle span{position:absolute;line-height:5em;width:5em;text-align:center;display:block;color:#53777a;z-index:2}.progress-circle.over50 .left-half-clipper{clip:rect(auto, auto, auto, auto)}.progress-circle.over50 .first50-bar{position:absolute;clip:rect(0, 5em, 5em, 2.5em);background-color:#53777a;border-radius:50%;width:5em;height:5em}.progress-circle:not(.over50) .first50-bar{display:none}.progress-circle.p0 .value-bar{display:none}.progress-circle.p1 .value-bar{transform:rotate(4deg)}.progress-circle.p2 .value-bar{transform:rotate(7deg)}.progress-circle.p3 .value-bar{transform:rotate(11deg)}.progress-circle.p4 .value-bar{transform:rotate(14deg)}.progress-circle.p5 .value-bar{transform:rotate(18deg)}.progress-circle.p6 .value-bar{transform:rotate(22deg)}.progress-circle.p7 .value-bar{transform:rotate(25deg)}.progress-circle.p8 .value-bar{transform:rotate(29deg)}.progress-circle.p9 .value-bar{transform:rotate(32deg)}.progress-circle.p10 .value-bar{transform:rotate(36deg)}.progress-circle.p11 .value-bar{transform:rotate(40deg)}.progress-circle.p12 .value-bar{transform:rotate(43deg)}.progress-circle.p13 .value-bar{transform:rotate(47deg)}.progress-circle.p14 .value-bar{transform:rotate(50deg)}.progress-circle.p15 .value-bar{transform:rotate(54deg)}.progress-circle.p16 .value-bar{transform:rotate(58deg)}.progress-circle.p17 .value-bar{transform:rotate(61deg)}.progress-circle.p18 .value-bar{transform:rotate(65deg)}.progress-circle.p19 .value-bar{transform:rotate(68deg)}.progress-circle.p20 .value-bar{transform:rotate(72deg)}.progress-circle.p21 .value-bar{transform:rotate(76deg)}.progress-circle.p22 .value-bar{transform:rotate(79deg)}.progress-circle.p23 .value-bar{transform:rotate(83deg)}.progress-circle.p24 .value-bar{transform:rotate(86deg)}.progress-circle.p25 .value-bar{transform:rotate(90deg)}.progress-circle.p26 .value-bar{transform:rotate(94deg)}.progress-circle.p27 .value-bar{transform:rotate(97deg)}.progress-circle.p28 .value-bar{transform:rotate(101deg)}.progress-circle.p29 .value-bar{transform:rotate(104deg)}.progress-circle.p30 .value-bar{transform:rotate(108deg)}.progress-circle.p31 .value-bar{transform:rotate(112deg)}.progress-circle.p32 .value-bar{transform:rotate(115deg)}.progress-circle.p33 .value-bar{transform:rotate(119deg)}.progress-circle.p34 .value-bar{transform:rotate(122deg)}.progress-circle.p35 .value-bar{transform:rotate(126deg)}.progress-circle.p36 .value-bar{transform:rotate(130deg)}.progress-circle.p37 .value-bar{transform:rotate(133deg)}.progress-circle.p38 .value-bar{transform:rotate(137deg)}.progress-circle.p39 .value-bar{transform:rotate(140deg)}.progress-circle.p40 .value-bar{transform:rotate(144deg)}.progress-circle.p41 .value-bar{transform:rotate(148deg)}.progress-circle.p42 .value-bar{transform:rotate(151deg)}.progress-circle.p43 .value-bar{transform:rotate(155deg)}.progress-circle.p44 .value-bar{transform:rotate(158deg)}.progress-circle.p45 .value-bar{transform:rotate(162deg)}.progress-circle.p46 .value-bar{transform:rotate(166deg)}.progress-circle.p47 .value-bar{transform:rotate(169deg)}.progress-circle.p48 .value-bar{transform:rotate(173deg)}.progress-circle.p49 .value-bar{transform:rotate(176deg)}.progress-circle.p50 .value-bar{transform:rotate(180deg)}.progress-circle.p51 .value-bar{transform:rotate(184deg)}.progress-circle.p52 .value-bar{transform:rotate(187deg)}.progress-circle.p53 .value-bar{transform:rotate(191deg)}.progress-circle.p54 .value-bar{transform:rotate(194deg)}.progress-circle.p55 .value-bar{transform:rotate(198deg)}.progress-circle.p56 .value-bar{transform:rotate(202deg)}.progress-circle.p57 .value-bar{transform:rotate(205deg)}.progress-circle.p58 .value-bar{transform:rotate(209deg)}.progress-circle.p59 .value-bar{transform:rotate(212deg)}.progress-circle.p60 .value-bar{transform:rotate(216deg)}.progress-circle.p61 .value-bar{transform:rotate(220deg)}.progress-circle.p62 .value-bar{transform:rotate(223deg)}.progress-circle.p63 .value-bar{transform:rotate(227deg)}.progress-circle.p64 .value-bar{transform:rotate(230deg)}.progress-circle.p65 .value-bar{transform:rotate(234deg)}.progress-circle.p66 .value-bar{transform:rotate(238deg)}.progress-circle.p67 .value-bar{transform:rotate(241deg)}.progress-circle.p68 .value-bar{transform:rotate(245deg)}.progress-circle.p69 .value-bar{transform:rotate(248deg)}.progress-circle.p70 .value-bar{transform:rotate(252deg)}.progress-circle.p71 .value-bar{transform:rotate(256deg)}.progress-circle.p72 .value-bar{transform:rotate(259deg)}.progress-circle.p73 .value-bar{transform:rotate(263deg)}.progress-circle.p74 .value-bar{transform:rotate(266deg)}.progress-circle.p75 .value-bar{transform:rotate(270deg)}.progress-circle.p76 .value-bar{transform:rotate(274deg)}.progress-circle.p77 .value-bar{transform:rotate(277deg)}.progress-circle.p78 .value-bar{transform:rotate(281deg)}.progress-circle.p79 .value-bar{transform:rotate(284deg)}.progress-circle.p80 .value-bar{transform:rotate(288deg)}.progress-circle.p81 .value-bar{transform:rotate(292deg)}.progress-circle.p82 .value-bar{transform:rotate(295deg)}.progress-circle.p83 .value-bar{transform:rotate(299deg)}.progress-circle.p84 .value-bar{transform:rotate(302deg)}.progress-circle.p85 .value-bar{transform:rotate(306deg)}.progress-circle.p86 .value-bar{transform:rotate(310deg)}.progress-circle.p87 .value-bar{transform:rotate(313deg)}.progress-circle.p88 .value-bar{transform:rotate(317deg)}.progress-circle.p89 .value-bar{transform:rotate(320deg)}.progress-circle.p90 .value-bar{transform:rotate(324deg)}.progress-circle.p91 .value-bar{transform:rotate(328deg)}.progress-circle.p92 .value-bar{transform:rotate(331deg)}.progress-circle.p93 .value-bar{transform:rotate(335deg)}.progress-circle.p94 .value-bar{transform:rotate(338deg)}.progress-circle.p95 .value-bar{transform:rotate(342deg)}.progress-circle.p96 .value-bar{transform:rotate(346deg)}.progress-circle.p97 .value-bar{transform:rotate(349deg)}.progress-circle.p98 .value-bar{transform:rotate(353deg)}.progress-circle.p99 .value-bar{transform:rotate(356deg)}.progress-circle.p100 .value-bar{transform:rotate(360deg)}.left-half-clipper{border-radius:50%;width:5em;height:5em;position:absolute;clip:rect(0, 5em, 5em, 2.5em)}.value-bar{position:absolute;clip:rect(0, 2.5em, 5em, 0);width:5em;height:5em;border-radius:50%;border:0.45em solid #53777a;box-sizing:border-box}.align-autoplay{align-items:flex-end;margin-right:7px}.fr-hovered-over-file{background-color:#F0F0F0}.thumbnail-padding{padding-right:4px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}body.fr-fullscreen{overflow:hidden;height:100%;width:100%;position:fixed}.fr-box.fr-fullscreen{margin:0 !important;position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483630 !important;width:auto !important}.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar.fr-top{top:0 !important}.fr-box.fr-fullscreen .fr-toolbar.fr-bottom{bottom:0 !important}.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-fullscreen-wrapper{z-index:2147483640 !important;width:100% !important;margin:0 !important;padding:0 !important;overflow:visible !important}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal{text-align:left;padding:20px 20px 10px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table{border-collapse:collapse;font-size:14px;line-height:1.5;width:100%}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table+table{margin-top:20px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th{text-align:left}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th,.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table td{padding:6px 0 4px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #ebebeb}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{width:60%;color:#646464}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:nth-child(n+2){letter-spacing:0.5px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-popup .fr-image-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-image-upload-layer:hover{background:#ebebeb}.fr-popup .fr-image-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-image-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-image-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-image-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px;display:none;text-align:left}.fr-modal .fr-modal-head .fr-modal-tags a{display:inline-block;opacity:0;padding:6px 12px;margin:8px 0 8px 8px;text-decoration:none;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;cursor:pointer;background-color:#f5f5f5}.fr-modal .fr-modal-head .fr-modal-tags a:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:#d6d6d6}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#EcF5Ff;color:#0098f7}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:#d6d6d6}.fr-show-tags .fr-modal-more svg path{fill:#0098f7}div.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}div.fr-modal-body .fr-preloader{display:block;margin:50px auto}div.fr-modal-body div.fr-image-list{text-align:center;margin:0 20px;padding:0}div.fr-modal-body div.fr-image-list .fr-list-column{float:left;width:calc((100% - 20px) / 2)}@media (min-width: 768px) and (max-width: 1199px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 40px) / 3)}}@media (min-width: 1200px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 60px) / 4)}}div.fr-modal-body div.fr-image-list .fr-list-column+.fr-list-column{margin-left:20px}div.fr-modal-body div.fr-image-list div.fr-image-container{position:relative;width:100%;display:block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;overflow:hidden}div.fr-modal-body div.fr-image-list div.fr-image-container:first-child{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container+div{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{position:absolute;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;content:"";top:0;left:0;bottom:0;right:0;z-index:2}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{content:attr(data-deleting);color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto;position:absolute;z-index:3;font-size:15px;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{height:95px;background:#CCCCCC;z-index:1}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{position:absolute;margin:auto;top:0;bottom:0;left:0;right:0;content:attr(data-loading);display:inline-block;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container img{width:100%;vertical-align:middle;position:relative;z-index:2;-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-insert-img{display:inline-block}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{display:none;top:50%;border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;cursor:pointer;margin:0;line-height:40px;text-decoration:none;z-index:3}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#FFF;fill:#0098f7;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{display:inline-block;width:40px;height:40px}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#ebebeb}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-line-breaker{cursor:text;border-top:1px solid #0098f7;position:fixed;z-index:2;display:none}.fr-line-breaker.fr-visible{display:block}.fr-line-breaker a.fr-floating-btn{position:absolute;left:calc(50% - (40px / 2));top:-20px}.fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-quick-insert{position:absolute;z-index:2147483639;white-space:nowrap;padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.fr-quick-insert.fr-hidden{display:none}.fr-qi-helper{position:absolute;z-index:3;padding-left:20px;white-space:nowrap}.fr-qi-helper a.fr-btn.fr-floating-btn{text-align:center;padding:6px 10px 10px 10px;display:inline-block;color:#222222;background:#FFF;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#222222}.fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-weight:normal;font-size:16px}.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-sc-container{width:368px}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element table td.fr-selected-cell,.fr-element table th.fr-selected-cell{border:1px double #0098f7}.fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element table td,.fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.fr-element .fr-no-selection table td,.fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-table-resizer{cursor:col-resize;position:absolute;z-index:3;display:none}.fr-table-resizer.fr-moving{z-index:2}.fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0098f7}.fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-popup .fr-table-size{margin:20px}.fr-popup .fr-table-size .fr-table-size-info{text-align:center;font-size:14px}.fr-popup .fr-table-size .fr-select-table-size{line-height:0;padding:5px;white-space:nowrap}.fr-popup .fr-table-size .fr-select-table-size>span{display:inline-block;padding:0 4px 4px 0;background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span>span{display:inline-block;width:18px;height:18px;border:1px solid #DDD}.fr-popup .fr-table-size .fr-select-table-size>span.hover{background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,152,247,0.3);border:solid 1px #0098f7}.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.fr-popup.fr-above .fr-table-size .fr-select-table-size>span{display:inline-block !important}.fr-popup .fr-table-colors{display:block;padding:20px;padding-bottom:0}.fr-popup.fr-desktop .fr-table-size .fr-select-table-size>span>span{width:12px;height:12px}.fr-insert-helper{position:absolute;z-index:9999;white-space:nowrap}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}#fr-form-container{margin:auto;position:relative;top:10%;background-color:#f5f5f5;width:60%;border-radius:5px;z-index:9002;overflow:auto;background-color:#fefefe}.fr-trim-video-name{font-family:Arial, Helvetica, sans-serif;padding-top:15px}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-slidecontainer{width:100%}.fr-slider{-webkit-appearance:none;width:100%;height:15px;background:#d3d3d3}.fr-video-trim-buttons{text-align:right;padding-bottom:5px;padding-right:15px;margin-top:10px}.fr-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;cursor:pointer}.fr-slider::-moz-range-thumb{width:15px;height:15px;background:#3498db;border-radius:50%;cursor:pointer}.fr-range-value-start{position:absolute}.fr-range-value-start>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:50%;transform:translate(-85%, 0);border-radius:6px}.fr-range-value-start>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:86%;margin-left:-5px;margin-top:-1px}.fr-range-value-end{position:absolute}.fr-range-value-end>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:14%;transform:translate(-8%, 0);border-radius:6px}.fr-range-value-end>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:14%;margin-left:-5px;margin-top:-1px}#startTimeValue{top:-153% !important}#startTimeValue span:before{border-top:10px solid #03a9f4;top:100%}#endTimeValue{top:-153% !important}#endTimeValue span:before{border-top:10px solid #03a9f4;top:100%}.fr-range-slider{position:relative;width:80%;height:15px}.fr-range-slider>input{pointer-events:none;position:absolute;left:0;top:10px;width:100%;outline:none;height:6px;border-radius:10px}.fr-range-slider>input::-webkit-slider-thumb{pointer-events:all;position:relative;z-index:1;-webkit-appearance:none;appearance:none;width:15px;height:15px;background:#3498db;cursor:pointer;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-thumb{pointer-events:all;position:relative;z-index:10;-moz-appearance:none;width:9px;height:15px;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-track{position:relative;z-index:-1;background-color:black;border:0;height:15px;border-radius:50%;margin-top:-3.6px}.fr-range-slider>input:last-of-type::-moz-range-track{-moz-appearance:none;background:none transparent;border:0}.fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}@media screen and (max-width: 430px){.range-value span{width:40px;font-size:10px}#fr-form-container{top:20%}}#fr-video-edit{width:80%;text-align:center;height:50%;margin-bottom:20px;padding-top:8px;padding-bottom:8px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element .fr-video::after{position:absolute;content:'';z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.fr-element .fr-video.fr-active>*{z-index:2;position:relative}.fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-box .fr-video-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box .fr-video-resizer.fr-active{display:block}.fr-box .fr-video-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-box .fr-video-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-box .fr-video-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-popup .fr-video-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-video-upload-layer:hover{background:#ebebeb}.fr-popup .fr-video-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-video-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-video-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-video-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-video-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-autoplay-margin{margin-top:0px !important}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-view img.fr-rounded,.fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view img.fr-shadow,.fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.fr-view img.fr-bordered,.fr-view .fr-img-caption.fr-bordered img{border:solid 5px #CCC}.fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-view{word-wrap:break-word}.fr-view span[style~="color:"] a{color:inherit}.fr-view strong{font-weight:700}.fr-view table{border:none;border-collapse:collapse;empty-cells:show;max-width:100%}.fr-view table td{min-width:5px}.fr-view table.fr-dashed-borders td,.fr-view table.fr-dashed-borders th{border-style:dashed}.fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.fr-view table td,.fr-view table th{border:1px solid #DDD}.fr-view table td:empty,.fr-view table th:empty{height:20px}.fr-view table td.fr-highlighted,.fr-view table th.fr-highlighted{border:1px double red}.fr-view table td.fr-thick,.fr-view table th.fr-thick{border-width:2px}.fr-view table th{background:#ececec}.fr-view hr{clear:both;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;break-after:always;page-break-after:always}.fr-view .fr-file{position:relative}.fr-view .fr-file::after{position:relative;content:"\1F4CE";font-weight:normal}.fr-view pre{white-space:pre-wrap;word-wrap:break-word;overflow:visible}.fr-view[dir="rtl"] blockquote{border-left:none;border-right:solid 2px #5E35B1;margin-right:0;padding-right:5px;padding-left:0}.fr-view[dir="rtl"] blockquote blockquote{border-color:#00BCD4}.fr-view[dir="rtl"] blockquote blockquote blockquote{border-color:#43A047}.fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;padding-left:5px;color:#5E35B1}.fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.fr-view span.fr-emoticon{font-weight:normal;font-family:"Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe UI Symbol","Android Emoji","EmojiSymbols";display:inline;line-height:0}.fr-view span.fr-emoticon.fr-emoticon-img{background-repeat:no-repeat !important;font-size:inherit;height:1em;width:1em;min-height:20px;min-width:20px;display:inline-block;margin:-.1em .1em .1em;line-height:1;vertical-align:middle}.fr-view .fr-text-gray{color:#AAA !important}.fr-view .fr-text-bordered{border-top:solid 1px #222;border-bottom:solid 1px #222;padding:10px 0}.fr-view .fr-text-spaced{letter-spacing:1px}.fr-view .fr-text-uppercase{text-transform:uppercase}.fr-view .fr-class-highlighted{background-color:#ffff00}.fr-view .fr-class-code{border-color:#cccccc;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5;padding:10px;font-family:"Courier New", Courier, monospace}.fr-view .fr-class-transparency{opacity:0.5}.fr-view img{position:relative;max-width:100%}.fr-view img.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view img.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view img.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view img.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view img.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view img.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption{position:relative;max-width:100%}.fr-view span.fr-img-caption.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view span.fr-img-caption.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view span.fr-img-caption.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view .fr-video{text-align:center;position:relative}.fr-view .fr-video.fr-rv{padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.fr-view .fr-video.fr-rv>iframe,.fr-view .fr-video.fr-rv object,.fr-view .fr-video.fr-rv embed{position:absolute !important;top:0;left:0;width:100%;height:100%}.fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-view .fr-video.fr-dvb{display:block;clear:both}.fr-view .fr-video.fr-dvb.fr-fvl{text-align:left}.fr-view .fr-video.fr-dvb.fr-fvr{text-align:right}.fr-view .fr-video.fr-dvi{display:inline-block}.fr-view .fr-video.fr-dvi.fr-fvl{float:left}.fr-view .fr-video.fr-dvi.fr-fvr{float:right}.fr-view a.fr-strong{font-weight:700}.fr-view a.fr-green{color:green}.fr-view .fr-img-caption{text-align:center}.fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto;text-align:center;width:100%}.fr-view .fr-img-caption .fr-img-wrap a{display:block}.fr-view .fr-img-caption .fr-img-wrap img{display:block;margin:auto;width:100%}.fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;display:block;padding:5px 5px 10px;font-size:14px;font-weight:initial;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";width:100%;text-align:center}.fr-view button.fr-rounded,.fr-view input.fr-rounded,.fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view button.fr-large,.fr-view input.fr-large,.fr-view textarea.fr-large{font-size:24px}.fr-view ul,.fr-view ol{list-style-position:inside}a.fr-view.fr-strong{font-weight:700}a.fr-view.fr-green{color:green}img.fr-view{position:relative;max-width:100%}img.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}img.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}img.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}img.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}img.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}img.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view{position:relative;max-width:100%}span.fr-img-caption.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}span.fr-img-caption.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}span.fr-img-caption.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)} diff --git a/webroot/css/froala_style.css b/webroot/css/froala_style.css index 9173ba8b..fdb32dc0 100644 --- a/webroot/css/froala_style.css +++ b/webroot/css/froala_style.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/froala_style.min.css b/webroot/css/froala_style.min.css index efab7621..4db97e8e 100644 --- a/webroot/css/froala_style.min.css +++ b/webroot/css/froala_style.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-view img.fr-rounded,.fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view img.fr-shadow,.fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.fr-view img.fr-bordered,.fr-view .fr-img-caption.fr-bordered img{border:solid 5px #CCC}.fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-view{word-wrap:break-word}.fr-view span[style~="color:"] a{color:inherit}.fr-view strong{font-weight:700}.fr-view table{border:none;border-collapse:collapse;empty-cells:show;max-width:100%}.fr-view table td{min-width:5px}.fr-view table.fr-dashed-borders td,.fr-view table.fr-dashed-borders th{border-style:dashed}.fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.fr-view table td,.fr-view table th{border:1px solid #DDD}.fr-view table td:empty,.fr-view table th:empty{height:20px}.fr-view table td.fr-highlighted,.fr-view table th.fr-highlighted{border:1px double red}.fr-view table td.fr-thick,.fr-view table th.fr-thick{border-width:2px}.fr-view table th{background:#ececec}.fr-view hr{clear:both;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;break-after:always;page-break-after:always}.fr-view .fr-file{position:relative}.fr-view .fr-file::after{position:relative;content:"\1F4CE";font-weight:normal}.fr-view pre{white-space:pre-wrap;word-wrap:break-word;overflow:visible}.fr-view[dir="rtl"] blockquote{border-left:none;border-right:solid 2px #5E35B1;margin-right:0;padding-right:5px;padding-left:0}.fr-view[dir="rtl"] blockquote blockquote{border-color:#00BCD4}.fr-view[dir="rtl"] blockquote blockquote blockquote{border-color:#43A047}.fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;padding-left:5px;color:#5E35B1}.fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.fr-view span.fr-emoticon{font-weight:normal;font-family:"Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe UI Symbol","Android Emoji","EmojiSymbols";display:inline;line-height:0}.fr-view span.fr-emoticon.fr-emoticon-img{background-repeat:no-repeat !important;font-size:inherit;height:1em;width:1em;min-height:20px;min-width:20px;display:inline-block;margin:-.1em .1em .1em;line-height:1;vertical-align:middle}.fr-view .fr-text-gray{color:#AAA !important}.fr-view .fr-text-bordered{border-top:solid 1px #222;border-bottom:solid 1px #222;padding:10px 0}.fr-view .fr-text-spaced{letter-spacing:1px}.fr-view .fr-text-uppercase{text-transform:uppercase}.fr-view .fr-class-highlighted{background-color:#ffff00}.fr-view .fr-class-code{border-color:#cccccc;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5;padding:10px;font-family:"Courier New", Courier, monospace}.fr-view .fr-class-transparency{opacity:0.5}.fr-view img{position:relative;max-width:100%}.fr-view img.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view img.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view img.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view img.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view img.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view img.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption{position:relative;max-width:100%}.fr-view span.fr-img-caption.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}.fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0;text-align:left}.fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0;text-align:right}.fr-view span.fr-img-caption.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.fr-view span.fr-img-caption.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.fr-view span.fr-img-caption.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.fr-view .fr-video{text-align:center;position:relative}.fr-view .fr-video.fr-rv{padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.fr-view .fr-video.fr-rv>iframe,.fr-view .fr-video.fr-rv object,.fr-view .fr-video.fr-rv embed{position:absolute !important;top:0;left:0;width:100%;height:100%}.fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-view .fr-video.fr-dvb{display:block;clear:both}.fr-view .fr-video.fr-dvb.fr-fvl{text-align:left}.fr-view .fr-video.fr-dvb.fr-fvr{text-align:right}.fr-view .fr-video.fr-dvi{display:inline-block}.fr-view .fr-video.fr-dvi.fr-fvl{float:left}.fr-view .fr-video.fr-dvi.fr-fvr{float:right}.fr-view a.fr-strong{font-weight:700}.fr-view a.fr-green{color:green}.fr-view .fr-img-caption{text-align:center}.fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto;text-align:center;width:100%}.fr-view .fr-img-caption .fr-img-wrap a{display:block}.fr-view .fr-img-caption .fr-img-wrap img{display:block;margin:auto;width:100%}.fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;display:block;padding:5px 5px 10px;font-size:14px;font-weight:initial;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";width:100%;text-align:center}.fr-view button.fr-rounded,.fr-view input.fr-rounded,.fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-view button.fr-large,.fr-view input.fr-large,.fr-view textarea.fr-large{font-size:24px}.fr-view ul,.fr-view ol{list-style-position:inside}a.fr-view.fr-strong{font-weight:700}a.fr-view.fr-green{color:green}img.fr-view{position:relative;max-width:100%}img.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}img.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}img.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}img.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}img.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}img.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view{position:relative;max-width:100%}span.fr-img-caption.fr-view.fr-dib{margin:5px auto;display:block;float:none;vertical-align:top}span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0;text-align:left}span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0;text-align:right}span.fr-img-caption.fr-view.fr-dii{display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}span.fr-img-caption.fr-view.fr-dii.fr-fil{float:left;margin:5px 5px 5px 0;max-width:calc(100% - 5px)}span.fr-img-caption.fr-view.fr-dii.fr-fir{float:right;margin:5px 0 5px 5px;max-width:calc(100% - 5px)} diff --git a/webroot/css/plugins.pkgd.css b/webroot/css/plugins.pkgd.css index 4bf1a338..2eb63043 100644 --- a/webroot/css/plugins.pkgd.css +++ b/webroot/css/plugins.pkgd.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins.pkgd.min.css b/webroot/css/plugins.pkgd.min.css index 3e09702f..6b700155 100644 --- a/webroot/css/plugins.pkgd.min.css +++ b/webroot/css/plugins.pkgd.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-box .fr-counter{padding:10px;float:right;color:#999999;content:attr(data-chars);font-size:14px;font-family:sans-serif;z-index:1;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-left:none;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-code-view .fr-counter{display:none}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}textarea.fr-code{display:none;width:100%;resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;padding:10px;margin:0;font-family:"Courier New",monospace;font-size:14px;background:#FFF;color:#000;outline:none}.fr-box.fr-rtl textarea.fr-code{direction:rtl}.fr-box .CodeMirror{display:none}.fr-box.fr-code-view textarea.fr-code{display:block}.fr-box.fr-code-view .fr-element,.fr-box.fr-code-view .fr-placeholder,.fr-box.fr-code-view .fr-iframe{display:none}.fr-box.fr-code-view .CodeMirror{display:block}.fr-box.fr-inline.fr-code-view .fr-command.fr-btn.html-switch{display:block}.fr-box.fr-inline .fr-command.fr-btn.html-switch{display:none;position:absolute;top:0;right:0;display:none;background:#FFF;color:#333333;-moz-outline:0;outline:0;border:0;line-height:1;cursor:pointer;text-align:left;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px;text-align:center}.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#ebebeb}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0;float:left}.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{float:left;width:calc(100% - 50px);padding:15px 0 0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{float:right;width:38px;height:40px;padding:17px 0 0;margin:0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.fr-popup .fr-separator+.fr-colors-tabs{margin-left:2px;margin-right:2px}.fr-popup .fr-color-set{line-height:0;display:none}.fr-popup .fr-color-set.fr-selected-set{display:block;padding:20px;padding-bottom:0}.fr-popup .fr-color-set>span{display:inline-block;width:32px;height:32px;position:relative;z-index:1}.fr-popup .fr-color-set>span>i,.fr-popup .fr-color-set>span>svg{text-align:center;line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;position:absolute;bottom:0;cursor:default;left:0}.fr-popup .fr-color-set>span>i path,.fr-popup .fr-color-set>span>svg path{fill:#222222}.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-family:FontAwesome;font-size:13px;font-weight:400;line-height:32px;position:absolute;top:0;bottom:0;right:0;left:0;text-align:center;cursor:default}.fr-popup .fr-color-set>span:hover,.fr-popup .fr-color-set>span:focus{outline:1px solid #222222;z-index:2}.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-drag-helper{background:#0098f7;height:2px;margin-top:-1px;-webkit-opacity:0.2;-moz-opacity:0.2;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;z-index:2147483640;display:none}.fr-drag-helper.fr-visible{display:block}.fr-dragging{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-emoticon{width:24px;height:24px;font-family:"Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols}.fr-popup .fr-emoticon img{height:24px;width:24px}.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-file-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center}.fr-popup .fr-file-upload-layer:hover{background:#ebebeb}.fr-popup .fr-file-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-file-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-popup .fr-file-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-file-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}@keyframes loading{from{left:-25%}to{left:100%}}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-height-auto{height:auto !important}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-by-url-padding{padding:11.5px 0}.fr-popup .fr-upload-progress-layer{border-radius:0;box-sizing:border-box;padding-left:20px;padding-top:15px;margin:auto !important;max-height:100%;overflow-y:auto;overflow-x:hidden;width:100% !important;overscroll-behavior:contain}.fr-popup .fr-files-by-url-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-embed-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer{border:dashed 2px #bdbdbd;margin:20px;position:relative;font-size:10px;letter-spacing:1px;line-height:140%;text-align:center;width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer:hover{background:#ebebeb}.fr-popup .fr-files-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-files-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-files-progress-bar-layer{width:calc(100% - 40px);width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-popup .fr-files-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-files-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-progress-bar-style{width:calc(100% - 40px)}.fr-progress-bar{position:relative;background-color:#4CAF50;height:8px;margin-bottom:8px;margin-left:20px;margin-right:20px;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-pull-left{float:left}.fr-pull-right{float:right}.fr-icons{padding:10px 20px 0;display:inline}.fr-transform-135{transform:rotate(135deg)}.fr-icons i{margin:4px;padding:2px;cursor:pointer;color:#999588;font-size:20px}.fr-blue-decorator{background:#4a7fba;color:white;display:grid;padding:5px}.fr-upload-progress{padding:1px}.fr-upload-section{position:relative;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}@media screen and (max-width: 399px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 400px) and (max-width: 469px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 470px) and (max-width: 680px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 681px){.fr-upload-section{margin-left:35px;margin-right:35px}.fr-files-upload-layer{padding-top:20px;padding-bottom:20px}}.half-circle{width:60px;height:25px;background-color:white;border-top-left-radius:110px;border-top-right-radius:110px;transform:rotate(180deg);border-bottom:0;position:relative;left:50%;z-index:1;left:50%;margin-top:-1px;margin-left:-25px}.decorated{overflow:hidden;text-align:center}.decorated>span{position:relative;display:inline-block}.decorated>span:before,.decorated>span:after{content:'';position:absolute;top:50%;border-bottom:2px solid #ffffff;width:100%;margin:0 20px}.decorated>span:before{right:100%}.decorated>span:after{left:100%}.fr-align-right{float:right}.checkbox-container{display:inline-block;position:relative;padding-left:20px;margin-bottom:12px;cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fr-files-checkbox-line{display:flex;align-items:center;font-size:10px}.fr-files-checkbox-line label{cursor:pointer;vertical-align:middle}.fr-insert-checkbox input{height:13px !important;width:13px !important}.fr-autoplay-checkbox input{height:13px !important;width:13px !important}button[data-cmd="insertFiles"]{padding-left:2px !important;padding-top:2.7px !important}button[data-cmd="autoplay"] svg{position:relative !important;top:3.2px !important}button[data-cmd="insertAll"]{padding-left:4px !important}button[data-cmd="insertAll"] svg{position:relative !important;top:3.2px !important}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{position:absolute;top:0;left:0;height:15px;width:15px;background-color:#eee}.fr-file-list-item{display:flex;justify-content:space-between;align-items:center;padding-top:7px;flex-wrap:wrap;position:relative;top:-20px;border-bottom:1px solid #ddd;padding-bottom:7px}.fr-file-item-left{display:flex;flex-wrap:wrap}.fr-file-item-icon{display:flex;align-items:center;padding-left:7px}.fr-file-item-description{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;max-width:400px;margin-left:5px}.fr-cloud-icon{height:30px;width:32px;background-color:white;border-radius:50%;display:flex;justify-content:center;position:relative;margin:0 auto;margin-top:-18px}.fr-files-checkbox{position:relative;display:inline-block;width:13px;height:13px;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-files-checkbox svg{margin-left:0px;margin-top:0px;display:none;width:10px;height:10px}.fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-files-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px}.fr-files-checkbox input:not(:checked)+span{border:solid 2px #999999}.fr-files-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-files-checkbox input:not(:checked):focus+span,.fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-files-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-files-checkbox input:checked+span svg{display:block}.fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-files-checkbox input:checked:focus+span,.fr-files-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-checkbox-disabled{opacity:0.4;position:relative;display:inline-block;width:13px !important;height:13px !important;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-checkbox-disabled svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.fr-checkbox-disabled input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:default;height:13px !important;margin:0;padding:0;width:13px !important;top:7px;left:7px}.fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999999}.fr-checkbox-disabled input:not(:checked):active+span{background-color:#f5f5f5}.fr-checkbox-disabled input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-checkbox-disabled input:checked+span svg{display:block}.fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.fr-file-view{position:absolute;max-width:60%;right:10%;z-index:2147483642}.file-item-thumbnail-hover{transition:transform .2s}.file-item-thumbnail-hover:hover{-ms-transform:scale(1.3);-webkit-transform:scale(1.3);transform:scale(1.3)}.fr-file-name{padding-top:5px;font-size:12px;font-weight:bold}.fr-margin-16{margin-bottom:16px}.fr-none{display:none}.fr-display-block{display:block}.fr-files-manager-tooltip{position:relative}.padding-top-15{padding-top:15px !important;padding-bottom:0px !important}.fr-files-manager-tooltip .tooltiptext{visibility:hidden;width:max-content;max-width:250px;word-break:break-word;word-wrap:break-word;background-color:black;color:#fff;text-align:left;padding:4px;border-radius:2px;font-weight:100;font-size:10px;position:absolute;top:80%;left:50%;z-index:2147483647}.fr-files-manager-tooltip:hover .tooltiptext{visibility:visible}.fr-file-details{display:flex;flex-wrap:wrap;font-size:10px}.fr-file-date{word-break:break-word;word-wrap:break-word;max-width:110px;color:#444;padding-top:2px;padding-bottom:2px}.fr-file-size{color:#444;padding-top:2px;padding-bottom:2px}.dot{width:20px;height:20px;background-image:radial-gradient(circle, grey 1px, transparent 2px);background-size:100% 33.33%;margin-left:2px;margin-right:2px}.fr-file-action-icons{margin-right:5px;margin-left:5px !important;color:#999;height:25px !important;padding:5px !important}@media screen and (max-width: 700px){.fr-files-manager-tooltip .tooltiptext{max-width:250px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%;font-size:8px}}@media screen and (max-width: 500px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%}.fr-file-item-description{width:130px}.fr-file-item-right{width:100%}.progress-circle{font-size:6px}}@media screen and (max-width: 320px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:-50%;font-size:8px}.dot{width:20px;margin-left:0px;margin-right:3px}.fr-file-item-description{width:80px}.fr-file-details{display:flex;flex-wrap:wrap;font-size:9px}.fr-file-name{font-size:10px}.fr-file-action-icons{padding:0px !important}}@media screen and (min-width: 501px){.progress-circle{font-size:9px}}.fr-file-view-modal{display:block;position:fixed;position:-ms-page;z-index:2147483641;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:black;background-color:rgba(0,0,0,0.7)}.fr-file-view-modal-content{display:inline-block;text-align:center}.fr-file-view-image{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;max-width:80%;max-height:70%}.fr-file-view-close{position:absolute;top:15px;right:35px;color:#f1f1f1;font-size:40px;font-weight:bold;transition:0.3s}.fr-file-view-close:hover,.fr-file-view-close:focus{color:#bbb;text-decoration:none;cursor:pointer}.fr-file-error{color:red;font-weight:200;font-size:12px;padding-bottom:5px}.fr-file-error-h5{margin:0}.fr-file-item-right{display:flex;align-items:center;justify-content:flex-end;margin-right:20px}.fr-file-item-action-buttons{display:flex;align-items:center;justify-content:space-around}.fr-file-item-autoplay-checkbox{align-items:center;margin:0px;padding:0px;margin-right:5px}.fr-autoplay-checkbox-label{margin:0;cursor:default !important}.checkbox-container:hover input ~ .checkmark{background-color:#ccc}.checkbox-container input:checked ~ .checkmark{background-color:#2196F3}.checkmark:after{content:"";position:absolute;display:none}.checkbox-container input:checked ~ .checkmark:after{display:block}.checkbox-container .checkmark:after{left:5px;top:2px;width:3px;height:7px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.file-item-details .file-name{font-weight:bold;display:inline}.file-item-details .file-description{font-weight:300;font-size:11px;display:inline}.fr-width-10{width:10%;display:inline-block}.fr-width-20{width:20%;display:inline-block}.fr-width-30{width:30%;display:inline-block}.fr-width-40{width:40%;display:inline-block}.fr-width-50{width:50%;display:inline-block}.fr-width-60{width:60%;display:inline-block}.fr-width-100{width:100%;display:inline-block}.fr-width-80{width:80%;display:inline-block}.fr-width-90{width:90%;display:inline-block}.fr-width-85{width:85%;display:inline-block}.fr-width-5{width:5%;display:inline-block}.fr-width-7{width:7%;display:inline-block}.fr-img-icon{color:#aaaaaa;font-size:16px;padding:0px 4px}.fr-position-content{position:relative;top:10px}.file-error{color:red}#myprogressBar{width:10%;height:5px;background-color:#4CAF50;position:relative;top:-30px}.fr-files-manager{z-index:2147483641 !important}.progress-circle{margin:0px;margin-left:10px;position:relative;padding:0;width:5em;height:5.1em;background-color:#f2e9e1;border-radius:50%;line-height:5em}.progress-circle:after{border:none;position:absolute;top:0.35em;left:0.35em;text-align:center;display:block;border-radius:50%;width:4.3em;height:4.3em;background-color:white;content:" "}.progress-circle span{position:absolute;line-height:5em;width:5em;text-align:center;display:block;color:#53777a;z-index:2}.progress-circle.over50 .left-half-clipper{clip:rect(auto, auto, auto, auto)}.progress-circle.over50 .first50-bar{position:absolute;clip:rect(0, 5em, 5em, 2.5em);background-color:#53777a;border-radius:50%;width:5em;height:5em}.progress-circle:not(.over50) .first50-bar{display:none}.progress-circle.p0 .value-bar{display:none}.progress-circle.p1 .value-bar{transform:rotate(4deg)}.progress-circle.p2 .value-bar{transform:rotate(7deg)}.progress-circle.p3 .value-bar{transform:rotate(11deg)}.progress-circle.p4 .value-bar{transform:rotate(14deg)}.progress-circle.p5 .value-bar{transform:rotate(18deg)}.progress-circle.p6 .value-bar{transform:rotate(22deg)}.progress-circle.p7 .value-bar{transform:rotate(25deg)}.progress-circle.p8 .value-bar{transform:rotate(29deg)}.progress-circle.p9 .value-bar{transform:rotate(32deg)}.progress-circle.p10 .value-bar{transform:rotate(36deg)}.progress-circle.p11 .value-bar{transform:rotate(40deg)}.progress-circle.p12 .value-bar{transform:rotate(43deg)}.progress-circle.p13 .value-bar{transform:rotate(47deg)}.progress-circle.p14 .value-bar{transform:rotate(50deg)}.progress-circle.p15 .value-bar{transform:rotate(54deg)}.progress-circle.p16 .value-bar{transform:rotate(58deg)}.progress-circle.p17 .value-bar{transform:rotate(61deg)}.progress-circle.p18 .value-bar{transform:rotate(65deg)}.progress-circle.p19 .value-bar{transform:rotate(68deg)}.progress-circle.p20 .value-bar{transform:rotate(72deg)}.progress-circle.p21 .value-bar{transform:rotate(76deg)}.progress-circle.p22 .value-bar{transform:rotate(79deg)}.progress-circle.p23 .value-bar{transform:rotate(83deg)}.progress-circle.p24 .value-bar{transform:rotate(86deg)}.progress-circle.p25 .value-bar{transform:rotate(90deg)}.progress-circle.p26 .value-bar{transform:rotate(94deg)}.progress-circle.p27 .value-bar{transform:rotate(97deg)}.progress-circle.p28 .value-bar{transform:rotate(101deg)}.progress-circle.p29 .value-bar{transform:rotate(104deg)}.progress-circle.p30 .value-bar{transform:rotate(108deg)}.progress-circle.p31 .value-bar{transform:rotate(112deg)}.progress-circle.p32 .value-bar{transform:rotate(115deg)}.progress-circle.p33 .value-bar{transform:rotate(119deg)}.progress-circle.p34 .value-bar{transform:rotate(122deg)}.progress-circle.p35 .value-bar{transform:rotate(126deg)}.progress-circle.p36 .value-bar{transform:rotate(130deg)}.progress-circle.p37 .value-bar{transform:rotate(133deg)}.progress-circle.p38 .value-bar{transform:rotate(137deg)}.progress-circle.p39 .value-bar{transform:rotate(140deg)}.progress-circle.p40 .value-bar{transform:rotate(144deg)}.progress-circle.p41 .value-bar{transform:rotate(148deg)}.progress-circle.p42 .value-bar{transform:rotate(151deg)}.progress-circle.p43 .value-bar{transform:rotate(155deg)}.progress-circle.p44 .value-bar{transform:rotate(158deg)}.progress-circle.p45 .value-bar{transform:rotate(162deg)}.progress-circle.p46 .value-bar{transform:rotate(166deg)}.progress-circle.p47 .value-bar{transform:rotate(169deg)}.progress-circle.p48 .value-bar{transform:rotate(173deg)}.progress-circle.p49 .value-bar{transform:rotate(176deg)}.progress-circle.p50 .value-bar{transform:rotate(180deg)}.progress-circle.p51 .value-bar{transform:rotate(184deg)}.progress-circle.p52 .value-bar{transform:rotate(187deg)}.progress-circle.p53 .value-bar{transform:rotate(191deg)}.progress-circle.p54 .value-bar{transform:rotate(194deg)}.progress-circle.p55 .value-bar{transform:rotate(198deg)}.progress-circle.p56 .value-bar{transform:rotate(202deg)}.progress-circle.p57 .value-bar{transform:rotate(205deg)}.progress-circle.p58 .value-bar{transform:rotate(209deg)}.progress-circle.p59 .value-bar{transform:rotate(212deg)}.progress-circle.p60 .value-bar{transform:rotate(216deg)}.progress-circle.p61 .value-bar{transform:rotate(220deg)}.progress-circle.p62 .value-bar{transform:rotate(223deg)}.progress-circle.p63 .value-bar{transform:rotate(227deg)}.progress-circle.p64 .value-bar{transform:rotate(230deg)}.progress-circle.p65 .value-bar{transform:rotate(234deg)}.progress-circle.p66 .value-bar{transform:rotate(238deg)}.progress-circle.p67 .value-bar{transform:rotate(241deg)}.progress-circle.p68 .value-bar{transform:rotate(245deg)}.progress-circle.p69 .value-bar{transform:rotate(248deg)}.progress-circle.p70 .value-bar{transform:rotate(252deg)}.progress-circle.p71 .value-bar{transform:rotate(256deg)}.progress-circle.p72 .value-bar{transform:rotate(259deg)}.progress-circle.p73 .value-bar{transform:rotate(263deg)}.progress-circle.p74 .value-bar{transform:rotate(266deg)}.progress-circle.p75 .value-bar{transform:rotate(270deg)}.progress-circle.p76 .value-bar{transform:rotate(274deg)}.progress-circle.p77 .value-bar{transform:rotate(277deg)}.progress-circle.p78 .value-bar{transform:rotate(281deg)}.progress-circle.p79 .value-bar{transform:rotate(284deg)}.progress-circle.p80 .value-bar{transform:rotate(288deg)}.progress-circle.p81 .value-bar{transform:rotate(292deg)}.progress-circle.p82 .value-bar{transform:rotate(295deg)}.progress-circle.p83 .value-bar{transform:rotate(299deg)}.progress-circle.p84 .value-bar{transform:rotate(302deg)}.progress-circle.p85 .value-bar{transform:rotate(306deg)}.progress-circle.p86 .value-bar{transform:rotate(310deg)}.progress-circle.p87 .value-bar{transform:rotate(313deg)}.progress-circle.p88 .value-bar{transform:rotate(317deg)}.progress-circle.p89 .value-bar{transform:rotate(320deg)}.progress-circle.p90 .value-bar{transform:rotate(324deg)}.progress-circle.p91 .value-bar{transform:rotate(328deg)}.progress-circle.p92 .value-bar{transform:rotate(331deg)}.progress-circle.p93 .value-bar{transform:rotate(335deg)}.progress-circle.p94 .value-bar{transform:rotate(338deg)}.progress-circle.p95 .value-bar{transform:rotate(342deg)}.progress-circle.p96 .value-bar{transform:rotate(346deg)}.progress-circle.p97 .value-bar{transform:rotate(349deg)}.progress-circle.p98 .value-bar{transform:rotate(353deg)}.progress-circle.p99 .value-bar{transform:rotate(356deg)}.progress-circle.p100 .value-bar{transform:rotate(360deg)}.left-half-clipper{border-radius:50%;width:5em;height:5em;position:absolute;clip:rect(0, 5em, 5em, 2.5em)}.value-bar{position:absolute;clip:rect(0, 2.5em, 5em, 0);width:5em;height:5em;border-radius:50%;border:0.45em solid #53777a;box-sizing:border-box}.align-autoplay{align-items:flex-end;margin-right:7px}.fr-hovered-over-file{background-color:#F0F0F0}.thumbnail-padding{padding-right:4px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}body.fr-fullscreen{overflow:hidden;height:100%;width:100%;position:fixed}.fr-box.fr-fullscreen{margin:0 !important;position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483630 !important;width:auto !important}.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar.fr-top{top:0 !important}.fr-box.fr-fullscreen .fr-toolbar.fr-bottom{bottom:0 !important}.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-fullscreen-wrapper{z-index:2147483640 !important;width:100% !important;margin:0 !important;padding:0 !important;overflow:visible !important}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal{text-align:left;padding:20px 20px 10px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table{border-collapse:collapse;font-size:14px;line-height:1.5;width:100%}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table+table{margin-top:20px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th{text-align:left}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th,.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table td{padding:6px 0 4px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #ebebeb}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{width:60%;color:#646464}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:nth-child(n+2){letter-spacing:0.5px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-popup .fr-image-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-image-upload-layer:hover{background:#ebebeb}.fr-popup .fr-image-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-image-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-image-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-image-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px;display:none;text-align:left}.fr-modal .fr-modal-head .fr-modal-tags a{display:inline-block;opacity:0;padding:6px 12px;margin:8px 0 8px 8px;text-decoration:none;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;cursor:pointer;background-color:#f5f5f5}.fr-modal .fr-modal-head .fr-modal-tags a:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:#d6d6d6}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#EcF5Ff;color:#0098f7}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:#d6d6d6}.fr-show-tags .fr-modal-more svg path{fill:#0098f7}div.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}div.fr-modal-body .fr-preloader{display:block;margin:50px auto}div.fr-modal-body div.fr-image-list{text-align:center;margin:0 20px;padding:0}div.fr-modal-body div.fr-image-list .fr-list-column{float:left;width:calc((100% - 20px) / 2)}@media (min-width: 768px) and (max-width: 1199px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 40px) / 3)}}@media (min-width: 1200px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 60px) / 4)}}div.fr-modal-body div.fr-image-list .fr-list-column+.fr-list-column{margin-left:20px}div.fr-modal-body div.fr-image-list div.fr-image-container{position:relative;width:100%;display:block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;overflow:hidden}div.fr-modal-body div.fr-image-list div.fr-image-container:first-child{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container+div{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{position:absolute;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;content:"";top:0;left:0;bottom:0;right:0;z-index:2}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{content:attr(data-deleting);color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto;position:absolute;z-index:3;font-size:15px;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{height:95px;background:#CCCCCC;z-index:1}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{position:absolute;margin:auto;top:0;bottom:0;left:0;right:0;content:attr(data-loading);display:inline-block;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container img{width:100%;vertical-align:middle;position:relative;z-index:2;-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-insert-img{display:inline-block}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{display:none;top:50%;border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;cursor:pointer;margin:0;line-height:40px;text-decoration:none;z-index:3}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#FFF;fill:#0098f7;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{display:inline-block;width:40px;height:40px}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#ebebeb}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-line-breaker{cursor:text;border-top:1px solid #0098f7;position:fixed;z-index:2;display:none}.fr-line-breaker.fr-visible{display:block}.fr-line-breaker a.fr-floating-btn{position:absolute;left:calc(50% - (40px / 2));top:-20px}.fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-quick-insert{position:absolute;z-index:2147483639;white-space:nowrap;padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.fr-quick-insert.fr-hidden{display:none}.fr-qi-helper{position:absolute;z-index:3;padding-left:20px;white-space:nowrap}.fr-qi-helper a.fr-btn.fr-floating-btn{text-align:center;padding:6px 10px 10px 10px;display:inline-block;color:#222222;background:#FFF;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#222222}.fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-weight:normal;font-size:16px}.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-sc-container{width:368px}}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element table td.fr-selected-cell,.fr-element table th.fr-selected-cell{border:1px double #0098f7}.fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element table td,.fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.fr-element .fr-no-selection table td,.fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-table-resizer{cursor:col-resize;position:absolute;z-index:3;display:none}.fr-table-resizer.fr-moving{z-index:2}.fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0098f7}.fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-popup .fr-table-size{margin:20px}.fr-popup .fr-table-size .fr-table-size-info{text-align:center;font-size:14px}.fr-popup .fr-table-size .fr-select-table-size{line-height:0;padding:5px;white-space:nowrap}.fr-popup .fr-table-size .fr-select-table-size>span{display:inline-block;padding:0 4px 4px 0;background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span>span{display:inline-block;width:18px;height:18px;border:1px solid #DDD}.fr-popup .fr-table-size .fr-select-table-size>span.hover{background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,152,247,0.3);border:solid 1px #0098f7}.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.fr-popup.fr-above .fr-table-size .fr-select-table-size>span{display:inline-block !important}.fr-popup .fr-table-colors{display:block;padding:20px;padding-bottom:0}.fr-popup.fr-desktop .fr-table-size .fr-select-table-size>span>span{width:12px;height:12px}.fr-insert-helper{position:absolute;z-index:9999;white-space:nowrap}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}#fr-form-container{margin:auto;position:relative;top:10%;background-color:#f5f5f5;width:60%;border-radius:5px;z-index:9002;overflow:auto;background-color:#fefefe}.fr-trim-video-name{font-family:Arial, Helvetica, sans-serif;padding-top:15px}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-slidecontainer{width:100%}.fr-slider{-webkit-appearance:none;width:100%;height:15px;background:#d3d3d3}.fr-video-trim-buttons{text-align:right;padding-bottom:5px;padding-right:15px;margin-top:10px}.fr-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;cursor:pointer}.fr-slider::-moz-range-thumb{width:15px;height:15px;background:#3498db;border-radius:50%;cursor:pointer}.fr-range-value-start{position:absolute}.fr-range-value-start>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:50%;transform:translate(-85%, 0);border-radius:6px}.fr-range-value-start>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:86%;margin-left:-5px;margin-top:-1px}.fr-range-value-end{position:absolute}.fr-range-value-end>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:14%;transform:translate(-8%, 0);border-radius:6px}.fr-range-value-end>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:14%;margin-left:-5px;margin-top:-1px}#startTimeValue{top:-153% !important}#startTimeValue span:before{border-top:10px solid #03a9f4;top:100%}#endTimeValue{top:-153% !important}#endTimeValue span:before{border-top:10px solid #03a9f4;top:100%}.fr-range-slider{position:relative;width:80%;height:15px}.fr-range-slider>input{pointer-events:none;position:absolute;left:0;top:10px;width:100%;outline:none;height:6px;border-radius:10px}.fr-range-slider>input::-webkit-slider-thumb{pointer-events:all;position:relative;z-index:1;-webkit-appearance:none;appearance:none;width:15px;height:15px;background:#3498db;cursor:pointer;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-thumb{pointer-events:all;position:relative;z-index:10;-moz-appearance:none;width:9px;height:15px;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-track{position:relative;z-index:-1;background-color:black;border:0;height:15px;border-radius:50%;margin-top:-3.6px}.fr-range-slider>input:last-of-type::-moz-range-track{-moz-appearance:none;background:none transparent;border:0}.fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}@media screen and (max-width: 430px){.range-value span{width:40px;font-size:10px}#fr-form-container{top:20%}}#fr-video-edit{width:80%;text-align:center;height:50%;margin-bottom:20px;padding-top:8px;padding-bottom:8px}.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element .fr-video::after{position:absolute;content:'';z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.fr-element .fr-video.fr-active>*{z-index:2;position:relative}.fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-box .fr-video-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box .fr-video-resizer.fr-active{display:block}.fr-box .fr-video-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-box .fr-video-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-box .fr-video-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-popup .fr-video-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-video-upload-layer:hover{background:#ebebeb}.fr-popup .fr-video-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-video-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-video-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-video-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-video-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-autoplay-margin{margin-top:0px !important} diff --git a/webroot/css/plugins/char_counter.css b/webroot/css/plugins/char_counter.css index 78093ca0..e519c78a 100644 --- a/webroot/css/plugins/char_counter.css +++ b/webroot/css/plugins/char_counter.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/char_counter.min.css b/webroot/css/plugins/char_counter.min.css index e10151f5..f78b2134 100644 --- a/webroot/css/plugins/char_counter.min.css +++ b/webroot/css/plugins/char_counter.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-box .fr-counter{padding:10px;float:right;color:#999;content:attr(data-chars);font-size:14px;font-family:sans-serif;z-index:1;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-left:none;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-code-view .fr-counter{display:none} diff --git a/webroot/css/plugins/code_view.css b/webroot/css/plugins/code_view.css index e284f2dc..8abd99fc 100644 --- a/webroot/css/plugins/code_view.css +++ b/webroot/css/plugins/code_view.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/code_view.min.css b/webroot/css/plugins/code_view.min.css index bddf2283..1f6dacb3 100644 --- a/webroot/css/plugins/code_view.min.css +++ b/webroot/css/plugins/code_view.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}textarea.fr-code{display:none;width:100%;resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;padding:10px;margin:0;font-family:"Courier New",monospace;font-size:14px;background:#FFF;color:#000;outline:none}.fr-box.fr-rtl textarea.fr-code{direction:rtl}.fr-box .CodeMirror{display:none}.fr-box.fr-code-view textarea.fr-code{display:block}.fr-box.fr-code-view .fr-element,.fr-box.fr-code-view .fr-placeholder,.fr-box.fr-code-view .fr-iframe{display:none}.fr-box.fr-code-view .CodeMirror{display:block}.fr-box.fr-inline.fr-code-view .fr-command.fr-btn.html-switch{display:block}.fr-box.fr-inline .fr-command.fr-btn.html-switch{display:none;position:absolute;top:0;right:0;display:none;background:#FFF;color:#333;-moz-outline:0;outline:0;border:0;line-height:1;cursor:pointer;text-align:left;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px;text-align:center}.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#ebebeb} diff --git a/webroot/css/plugins/colors.css b/webroot/css/plugins/colors.css index e77154de..3c81c0a8 100644 --- a/webroot/css/plugins/colors.css +++ b/webroot/css/plugins/colors.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/colors.min.css b/webroot/css/plugins/colors.min.css index 348a8a57..8d9c03ec 100644 --- a/webroot/css/plugins/colors.min.css +++ b/webroot/css/plugins/colors.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0;float:left}.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{float:left;width:calc(100% - 50px);padding:15px 0 0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{float:right;width:38px;height:40px;padding:17px 0 0;margin:0}.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.fr-popup .fr-separator+.fr-colors-tabs{margin-left:2px;margin-right:2px}.fr-popup .fr-color-set{line-height:0;display:none}.fr-popup .fr-color-set.fr-selected-set{display:block;padding:20px;padding-bottom:0}.fr-popup .fr-color-set>span{display:inline-block;width:32px;height:32px;position:relative;z-index:1}.fr-popup .fr-color-set>span>i,.fr-popup .fr-color-set>span>svg{text-align:center;line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;position:absolute;bottom:0;cursor:default;left:0}.fr-popup .fr-color-set>span>i path,.fr-popup .fr-color-set>span>svg path{fill:#222}.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-family:FontAwesome;font-size:13px;font-weight:400;line-height:32px;position:absolute;top:0;bottom:0;right:0;left:0;text-align:center;cursor:default}.fr-popup .fr-color-set>span:hover,.fr-popup .fr-color-set>span:focus{outline:1px solid #222;z-index:2}.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)} diff --git a/webroot/css/plugins/draggable.css b/webroot/css/plugins/draggable.css index cfd586f9..dac45320 100644 --- a/webroot/css/plugins/draggable.css +++ b/webroot/css/plugins/draggable.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/draggable.min.css b/webroot/css/plugins/draggable.min.css index 709d8d3c..6b887354 100644 --- a/webroot/css/plugins/draggable.min.css +++ b/webroot/css/plugins/draggable.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-drag-helper{background:#0098f7;height:2px;margin-top:-1px;-webkit-opacity:.2;-moz-opacity:.2;opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;z-index:2147483640;display:none}.fr-drag-helper.fr-visible{display:block}.fr-dragging{-webkit-opacity:.4;-moz-opacity:.4;opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"} diff --git a/webroot/css/plugins/emoticons.css b/webroot/css/plugins/emoticons.css index 983f392d..e3c5e1e9 100644 --- a/webroot/css/plugins/emoticons.css +++ b/webroot/css/plugins/emoticons.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/emoticons.min.css b/webroot/css/plugins/emoticons.min.css index bfbbb322..b7029623 100644 --- a/webroot/css/plugins/emoticons.min.css +++ b/webroot/css/plugins/emoticons.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-emoticon{width:24px;height:24px;font-family:"Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols}.fr-popup .fr-emoticon img{height:24px;width:24px}.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}} diff --git a/webroot/css/plugins/file.css b/webroot/css/plugins/file.css index eabdde93..88f980a1 100644 --- a/webroot/css/plugins/file.css +++ b/webroot/css/plugins/file.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/file.min.css b/webroot/css/plugins/file.min.css index da48c55a..6e9a9837 100644 --- a/webroot/css/plugins/file.min.css +++ b/webroot/css/plugins/file.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-file-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center}.fr-popup .fr-file-upload-layer:hover{background:#ebebeb}.fr-popup .fr-file-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-file-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-popup .fr-file-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-file-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-file-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}@keyframes loading{from{left:-25%}to{left:100%}}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}} diff --git a/webroot/css/plugins/files_manager.css b/webroot/css/plugins/files_manager.css index ced05956..78348a3f 100644 --- a/webroot/css/plugins/files_manager.css +++ b/webroot/css/plugins/files_manager.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/files_manager.min.css b/webroot/css/plugins/files_manager.min.css index d206ce7d..d092a388 100644 --- a/webroot/css/plugins/files_manager.min.css +++ b/webroot/css/plugins/files_manager.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-height-auto{height:auto !important}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-by-url-padding{padding:11.5px 0}.fr-popup .fr-upload-progress-layer{border-radius:0;box-sizing:border-box;padding-left:20px;padding-top:15px;margin:auto !important;max-height:100%;overflow-y:auto;overflow-x:hidden;width:100% !important;overscroll-behavior:contain}.fr-popup .fr-files-by-url-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-embed-layer{width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer{border:dashed 2px #bdbdbd;margin:20px;position:relative;font-size:10px;letter-spacing:1px;line-height:140%;text-align:center;width:calc(100% - 40px) !important}.fr-popup .fr-files-upload-layer:hover{background:#ebebeb}.fr-popup .fr-files-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-files-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-files-progress-bar-layer{width:calc(100% - 40px);width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-popup .fr-files-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-files-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-files-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-progress-bar-style{width:calc(100% - 40px)}.fr-progress-bar{position:relative;background-color:#4CAF50;height:8px;margin-bottom:8px;margin-left:20px;margin-right:20px;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}.fr-uploading{-webkit-opacity:.4;-moz-opacity:.4;opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}}.fr-pull-left{float:left}.fr-pull-right{float:right}.fr-icons{padding:10px 20px 0;display:inline}.fr-transform-135{transform:rotate(135deg)}.fr-icons i{margin:4px;padding:2px;cursor:pointer;color:#999588;font-size:20px}.fr-blue-decorator{background:#4a7fba;color:white;display:grid;padding:5px}.fr-upload-progress{padding:1px}.fr-upload-section{position:relative;width:100%;width:-moz-available;width:-webkit-fill-available;width:fill-available}@media screen and (max-width: 399px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 400px) and (max-width: 469px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 470px) and (max-width: 680px){.fr-upload-section{margin-left:7px;margin-right:7px}.fr-files-upload-layer{padding-top:7px;padding-bottom:7px}}@media screen and (min-width: 681px){.fr-upload-section{margin-left:35px;margin-right:35px}.fr-files-upload-layer{padding-top:20px;padding-bottom:20px}}.half-circle{width:60px;height:25px;background-color:white;border-top-left-radius:110px;border-top-right-radius:110px;transform:rotate(180deg);border-bottom:0;position:relative;left:50%;z-index:1;left:50%;margin-top:-1px;margin-left:-25px}.decorated{overflow:hidden;text-align:center}.decorated>span{position:relative;display:inline-block}.decorated>span:before,.decorated>span:after{content:'';position:absolute;top:50%;border-bottom:2px solid #ffffff;width:100%;margin:0 20px}.decorated>span:before{right:100%}.decorated>span:after{left:100%}.fr-align-right{float:right}.checkbox-container{display:inline-block;position:relative;padding-left:20px;margin-bottom:12px;cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fr-files-checkbox-line{display:flex;align-items:center;font-size:10px}.fr-files-checkbox-line label{cursor:pointer;vertical-align:middle}.fr-insert-checkbox input{height:13px !important;width:13px !important}.fr-autoplay-checkbox input{height:13px !important;width:13px !important}button[data-cmd="insertFiles"]{padding-left:2px !important;padding-top:2.7px !important}button[data-cmd="autoplay"] svg{position:relative !important;top:3.2px !important}button[data-cmd="insertAll"]{padding-left:4px !important}button[data-cmd="insertAll"] svg{position:relative !important;top:3.2px !important}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{position:absolute;top:0;left:0;height:15px;width:15px;background-color:#eee}.fr-file-list-item{display:flex;justify-content:space-between;align-items:center;padding-top:7px;flex-wrap:wrap;position:relative;top:-20px;border-bottom:1px solid #ddd;padding-bottom:7px}.fr-file-item-left{display:flex;flex-wrap:wrap}.fr-file-item-icon{display:flex;align-items:center;padding-left:7px}.fr-file-item-description{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;max-width:400px;margin-left:5px}.fr-cloud-icon{height:30px;width:32px;background-color:white;border-radius:50%;display:flex;justify-content:center;position:relative;margin:0 auto;margin-top:-18px}.fr-files-checkbox{position:relative;display:inline-block;width:13px;height:13px;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-files-checkbox svg{margin-left:0px;margin-top:0px;display:none;width:10px;height:10px}.fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s,border-color 0.2s ease 0s}.fr-files-checkbox input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:pointer;height:18px;margin:0;padding:0;width:18px}.fr-files-checkbox input:not(:checked)+span{border:solid 2px #999}.fr-files-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.fr-files-checkbox input:not(:checked):focus+span,.fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.fr-files-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-files-checkbox input:checked+span svg{display:block}.fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.fr-files-checkbox input:checked:focus+span,.fr-files-checkbox input:checked:hover+span{-webkit-opacity:.8;-moz-opacity:.8;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-checkbox-disabled{opacity:0.4;position:relative;display:inline-block;width:13px !important;height:13px !important;padding-right:5px;border-radius:100%;line-height:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;vertical-align:middle}.fr-checkbox-disabled svg{margin-left:2px;margin-top:2px;display:none;width:10px;height:10px}.fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:15px;height:15px;display:inline-block;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s,border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s,border-color 0.2s ease 0s}.fr-checkbox-disabled input{position:absolute;z-index:2;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border:0 none;cursor:default;height:13px !important;margin:0;padding:0;width:13px !important;top:7px;left:7px}.fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999}.fr-checkbox-disabled input:not(:checked):active+span{background-color:#f5f5f5}.fr-checkbox-disabled input:checked+span{background:#0098f7;border:solid 2px #0098f7}.fr-checkbox-disabled input:checked+span svg{display:block}.fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.fr-file-view{position:absolute;max-width:60%;right:10%;z-index:2147483642}.file-item-thumbnail-hover{transition:transform .2s}.file-item-thumbnail-hover:hover{-ms-transform:scale(1.3);-webkit-transform:scale(1.3);transform:scale(1.3)}.fr-file-name{padding-top:5px;font-size:12px;font-weight:bold}.fr-margin-16{margin-bottom:16px}.fr-none{display:none}.fr-display-block{display:block}.fr-files-manager-tooltip{position:relative}.padding-top-15{padding-top:15px !important;padding-bottom:0px !important}.fr-files-manager-tooltip .tooltiptext{visibility:hidden;width:max-content;max-width:250px;word-break:break-word;word-wrap:break-word;background-color:black;color:#fff;text-align:left;padding:4px;border-radius:2px;font-weight:100;font-size:10px;position:absolute;top:80%;left:50%;z-index:2147483647}.fr-files-manager-tooltip:hover .tooltiptext{visibility:visible}.fr-file-details{display:flex;flex-wrap:wrap;font-size:10px}.fr-file-date{word-break:break-word;word-wrap:break-word;max-width:110px;color:#444;padding-top:2px;padding-bottom:2px}.fr-file-size{color:#444;padding-top:2px;padding-bottom:2px}.dot{width:20px;height:20px;background-image:radial-gradient(circle, grey 1px, transparent 2px);background-size:100% 33.33%;margin-left:2px;margin-right:2px}.fr-file-action-icons{margin-right:5px;margin-left:5px !important;color:#999;height:25px !important;padding:5px !important}@media screen and (max-width: 700px){.fr-files-manager-tooltip .tooltiptext{max-width:250px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%;font-size:8px}}@media screen and (max-width: 500px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:0%}.fr-file-item-description{width:130px}.fr-file-item-right{width:100%}.progress-circle{font-size:6px}}@media screen and (max-width: 320px){.fr-files-manager-tooltip .tooltiptext{max-width:100px;visibility:hidden;word-break:break-word;word-wrap:break-word;top:90%;left:-50%;font-size:8px}.dot{width:20px;margin-left:0px;margin-right:3px}.fr-file-item-description{width:80px}.fr-file-details{display:flex;flex-wrap:wrap;font-size:9px}.fr-file-name{font-size:10px}.fr-file-action-icons{padding:0px !important}}@media screen and (min-width: 501px){.progress-circle{font-size:9px}}.fr-file-view-modal{display:block;position:fixed;position:-ms-page;z-index:2147483641;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:rgba(0,0,0,0.7)}.fr-file-view-modal-content{display:inline-block;text-align:center}.fr-file-view-image{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;max-width:80%;max-height:70%}.fr-file-view-close{position:absolute;top:15px;right:35px;color:#f1f1f1;font-size:40px;font-weight:bold;transition:0.3s}.fr-file-view-close:hover,.fr-file-view-close:focus{color:#bbb;text-decoration:none;cursor:pointer}.fr-file-error{color:red;font-weight:200;font-size:12px;padding-bottom:5px}.fr-file-error-h5{margin:0}.fr-file-item-right{display:flex;align-items:center;justify-content:flex-end;margin-right:20px}.fr-file-item-action-buttons{display:flex;align-items:center;justify-content:space-around}.fr-file-item-autoplay-checkbox{align-items:center;margin:0px;padding:0px;margin-right:5px}.fr-autoplay-checkbox-label{margin:0;cursor:default !important}.checkbox-container:hover input ~ .checkmark{background-color:#ccc}.checkbox-container input:checked ~ .checkmark{background-color:#2196F3}.checkmark:after{content:"";position:absolute;display:none}.checkbox-container input:checked ~ .checkmark:after{display:block}.checkbox-container .checkmark:after{left:5px;top:2px;width:3px;height:7px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.file-item-details .file-name{font-weight:bold;display:inline}.file-item-details .file-description{font-weight:300;font-size:11px;display:inline}.fr-width-10{width:10%;display:inline-block}.fr-width-20{width:20%;display:inline-block}.fr-width-30{width:30%;display:inline-block}.fr-width-40{width:40%;display:inline-block}.fr-width-50{width:50%;display:inline-block}.fr-width-60{width:60%;display:inline-block}.fr-width-100{width:100%;display:inline-block}.fr-width-80{width:80%;display:inline-block}.fr-width-90{width:90%;display:inline-block}.fr-width-85{width:85%;display:inline-block}.fr-width-5{width:5%;display:inline-block}.fr-width-7{width:7%;display:inline-block}.fr-img-icon{color:#aaaaaa;font-size:16px;padding:0px 4px}.fr-position-content{position:relative;top:10px}.file-error{color:red}#myprogressBar{width:10%;height:5px;background-color:#4CAF50;position:relative;top:-30px}.fr-files-manager{z-index:2147483641 !important}.progress-circle{margin:0px;margin-left:10px;position:relative;padding:0;width:5em;height:5.1em;background-color:#f2e9e1;border-radius:50%;line-height:5em}.progress-circle:after{border:none;position:absolute;top:0.35em;left:0.35em;text-align:center;display:block;border-radius:50%;width:4.3em;height:4.3em;background-color:white;content:" "}.progress-circle span{position:absolute;line-height:5em;width:5em;text-align:center;display:block;color:#53777a;z-index:2}.progress-circle.over50 .left-half-clipper{clip:rect(auto, auto, auto, auto)}.progress-circle.over50 .first50-bar{position:absolute;clip:rect(0, 5em, 5em, 2.5em);background-color:#53777a;border-radius:50%;width:5em;height:5em}.progress-circle:not(.over50) .first50-bar{display:none}.progress-circle.p0 .value-bar{display:none}.progress-circle.p1 .value-bar{transform:rotate(4deg)}.progress-circle.p2 .value-bar{transform:rotate(7deg)}.progress-circle.p3 .value-bar{transform:rotate(11deg)}.progress-circle.p4 .value-bar{transform:rotate(14deg)}.progress-circle.p5 .value-bar{transform:rotate(18deg)}.progress-circle.p6 .value-bar{transform:rotate(22deg)}.progress-circle.p7 .value-bar{transform:rotate(25deg)}.progress-circle.p8 .value-bar{transform:rotate(29deg)}.progress-circle.p9 .value-bar{transform:rotate(32deg)}.progress-circle.p10 .value-bar{transform:rotate(36deg)}.progress-circle.p11 .value-bar{transform:rotate(40deg)}.progress-circle.p12 .value-bar{transform:rotate(43deg)}.progress-circle.p13 .value-bar{transform:rotate(47deg)}.progress-circle.p14 .value-bar{transform:rotate(50deg)}.progress-circle.p15 .value-bar{transform:rotate(54deg)}.progress-circle.p16 .value-bar{transform:rotate(58deg)}.progress-circle.p17 .value-bar{transform:rotate(61deg)}.progress-circle.p18 .value-bar{transform:rotate(65deg)}.progress-circle.p19 .value-bar{transform:rotate(68deg)}.progress-circle.p20 .value-bar{transform:rotate(72deg)}.progress-circle.p21 .value-bar{transform:rotate(76deg)}.progress-circle.p22 .value-bar{transform:rotate(79deg)}.progress-circle.p23 .value-bar{transform:rotate(83deg)}.progress-circle.p24 .value-bar{transform:rotate(86deg)}.progress-circle.p25 .value-bar{transform:rotate(90deg)}.progress-circle.p26 .value-bar{transform:rotate(94deg)}.progress-circle.p27 .value-bar{transform:rotate(97deg)}.progress-circle.p28 .value-bar{transform:rotate(101deg)}.progress-circle.p29 .value-bar{transform:rotate(104deg)}.progress-circle.p30 .value-bar{transform:rotate(108deg)}.progress-circle.p31 .value-bar{transform:rotate(112deg)}.progress-circle.p32 .value-bar{transform:rotate(115deg)}.progress-circle.p33 .value-bar{transform:rotate(119deg)}.progress-circle.p34 .value-bar{transform:rotate(122deg)}.progress-circle.p35 .value-bar{transform:rotate(126deg)}.progress-circle.p36 .value-bar{transform:rotate(130deg)}.progress-circle.p37 .value-bar{transform:rotate(133deg)}.progress-circle.p38 .value-bar{transform:rotate(137deg)}.progress-circle.p39 .value-bar{transform:rotate(140deg)}.progress-circle.p40 .value-bar{transform:rotate(144deg)}.progress-circle.p41 .value-bar{transform:rotate(148deg)}.progress-circle.p42 .value-bar{transform:rotate(151deg)}.progress-circle.p43 .value-bar{transform:rotate(155deg)}.progress-circle.p44 .value-bar{transform:rotate(158deg)}.progress-circle.p45 .value-bar{transform:rotate(162deg)}.progress-circle.p46 .value-bar{transform:rotate(166deg)}.progress-circle.p47 .value-bar{transform:rotate(169deg)}.progress-circle.p48 .value-bar{transform:rotate(173deg)}.progress-circle.p49 .value-bar{transform:rotate(176deg)}.progress-circle.p50 .value-bar{transform:rotate(180deg)}.progress-circle.p51 .value-bar{transform:rotate(184deg)}.progress-circle.p52 .value-bar{transform:rotate(187deg)}.progress-circle.p53 .value-bar{transform:rotate(191deg)}.progress-circle.p54 .value-bar{transform:rotate(194deg)}.progress-circle.p55 .value-bar{transform:rotate(198deg)}.progress-circle.p56 .value-bar{transform:rotate(202deg)}.progress-circle.p57 .value-bar{transform:rotate(205deg)}.progress-circle.p58 .value-bar{transform:rotate(209deg)}.progress-circle.p59 .value-bar{transform:rotate(212deg)}.progress-circle.p60 .value-bar{transform:rotate(216deg)}.progress-circle.p61 .value-bar{transform:rotate(220deg)}.progress-circle.p62 .value-bar{transform:rotate(223deg)}.progress-circle.p63 .value-bar{transform:rotate(227deg)}.progress-circle.p64 .value-bar{transform:rotate(230deg)}.progress-circle.p65 .value-bar{transform:rotate(234deg)}.progress-circle.p66 .value-bar{transform:rotate(238deg)}.progress-circle.p67 .value-bar{transform:rotate(241deg)}.progress-circle.p68 .value-bar{transform:rotate(245deg)}.progress-circle.p69 .value-bar{transform:rotate(248deg)}.progress-circle.p70 .value-bar{transform:rotate(252deg)}.progress-circle.p71 .value-bar{transform:rotate(256deg)}.progress-circle.p72 .value-bar{transform:rotate(259deg)}.progress-circle.p73 .value-bar{transform:rotate(263deg)}.progress-circle.p74 .value-bar{transform:rotate(266deg)}.progress-circle.p75 .value-bar{transform:rotate(270deg)}.progress-circle.p76 .value-bar{transform:rotate(274deg)}.progress-circle.p77 .value-bar{transform:rotate(277deg)}.progress-circle.p78 .value-bar{transform:rotate(281deg)}.progress-circle.p79 .value-bar{transform:rotate(284deg)}.progress-circle.p80 .value-bar{transform:rotate(288deg)}.progress-circle.p81 .value-bar{transform:rotate(292deg)}.progress-circle.p82 .value-bar{transform:rotate(295deg)}.progress-circle.p83 .value-bar{transform:rotate(299deg)}.progress-circle.p84 .value-bar{transform:rotate(302deg)}.progress-circle.p85 .value-bar{transform:rotate(306deg)}.progress-circle.p86 .value-bar{transform:rotate(310deg)}.progress-circle.p87 .value-bar{transform:rotate(313deg)}.progress-circle.p88 .value-bar{transform:rotate(317deg)}.progress-circle.p89 .value-bar{transform:rotate(320deg)}.progress-circle.p90 .value-bar{transform:rotate(324deg)}.progress-circle.p91 .value-bar{transform:rotate(328deg)}.progress-circle.p92 .value-bar{transform:rotate(331deg)}.progress-circle.p93 .value-bar{transform:rotate(335deg)}.progress-circle.p94 .value-bar{transform:rotate(338deg)}.progress-circle.p95 .value-bar{transform:rotate(342deg)}.progress-circle.p96 .value-bar{transform:rotate(346deg)}.progress-circle.p97 .value-bar{transform:rotate(349deg)}.progress-circle.p98 .value-bar{transform:rotate(353deg)}.progress-circle.p99 .value-bar{transform:rotate(356deg)}.progress-circle.p100 .value-bar{transform:rotate(360deg)}.left-half-clipper{border-radius:50%;width:5em;height:5em;position:absolute;clip:rect(0, 5em, 5em, 2.5em)}.value-bar{position:absolute;clip:rect(0, 2.5em, 5em, 0);width:5em;height:5em;border-radius:50%;border:0.45em solid #53777a;box-sizing:border-box}.align-autoplay{align-items:flex-end;margin-right:7px}.fr-hovered-over-file{background-color:#F0F0F0}.thumbnail-padding{padding-right:4px} diff --git a/webroot/css/plugins/fullscreen.css b/webroot/css/plugins/fullscreen.css index 68250925..f1881315 100644 --- a/webroot/css/plugins/fullscreen.css +++ b/webroot/css/plugins/fullscreen.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/fullscreen.min.css b/webroot/css/plugins/fullscreen.min.css index 5f6fa309..c4c9c8ce 100644 --- a/webroot/css/plugins/fullscreen.min.css +++ b/webroot/css/plugins/fullscreen.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}body.fr-fullscreen{overflow:hidden;height:100%;width:100%;position:fixed}.fr-box.fr-fullscreen{margin:0 !important;position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483630 !important;width:auto !important}.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-box.fr-fullscreen .fr-toolbar.fr-top{top:0 !important}.fr-box.fr-fullscreen .fr-toolbar.fr-bottom{bottom:0 !important}.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.fr-fullscreen-wrapper{z-index:2147483640 !important;width:100% !important;margin:0 !important;padding:0 !important;overflow:visible !important} diff --git a/webroot/css/plugins/help.css b/webroot/css/plugins/help.css index 667cb234..0e52db14 100644 --- a/webroot/css/plugins/help.css +++ b/webroot/css/plugins/help.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/help.min.css b/webroot/css/plugins/help.min.css index 628e923f..2fda28af 100644 --- a/webroot/css/plugins/help.min.css +++ b/webroot/css/plugins/help.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal{text-align:left;padding:20px 20px 10px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table{border-collapse:collapse;font-size:14px;line-height:1.5;width:100%}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table+table{margin-top:20px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th{text-align:left}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table th,.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table td{padding:6px 0 4px}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #ebebeb}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{width:60%;color:#646464}.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:nth-child(n+2){letter-spacing:0.5px} diff --git a/webroot/css/plugins/image.css b/webroot/css/plugins/image.css index 44e4b711..c40c93b5 100644 --- a/webroot/css/plugins/image.css +++ b/webroot/css/plugins/image.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/image.min.css b/webroot/css/plugins/image.min.css index bb2df200..66206a2d 100644 --- a/webroot/css/plugins/image.min.css +++ b/webroot/css/plugins/image.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element img{cursor:pointer;padding:0 1px}.fr-image-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-image-resizer.fr-active{display:block}.fr-image-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-image-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-image-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-image-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-image-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-image-resizer .fr-handler{width:12px;height:12px}.fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-image-resizer .fr-handler{width:10px;height:10px}.fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-image-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-popup .fr-image-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-image-upload-layer:hover{background:#ebebeb}.fr-popup .fr-image-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-image-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-image-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-image-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-image-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-image-size-layer .fr-image-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-image-size-layer .fr-image-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-uploading{-webkit-opacity:.4;-moz-opacity:.4;opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}@-webkit-keyframes loading{from{left:-25%}to{left:100%}}@-moz-keyframes loading{from{left:-25%}to{left:100%}}@-o-keyframes loading{from{left:-25%}to{left:100%}}@keyframes loading{from{left:-25%}to{left:100%}} diff --git a/webroot/css/plugins/image_manager.css b/webroot/css/plugins/image_manager.css index 24d0a67c..df8db806 100644 --- a/webroot/css/plugins/image_manager.css +++ b/webroot/css/plugins/image_manager.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/image_manager.min.css b/webroot/css/plugins/image_manager.min.css index 50157b87..994d0196 100644 --- a/webroot/css/plugins/image_manager.min.css +++ b/webroot/css/plugins/image_manager.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px;display:none;text-align:left}.fr-modal .fr-modal-head .fr-modal-tags a{display:inline-block;opacity:0;padding:6px 12px;margin:8px 0 8px 8px;text-decoration:none;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s,background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s,background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s,background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s,background 0.2s ease 0s;cursor:pointer;background-color:#f5f5f5}.fr-modal .fr-modal-head .fr-modal-tags a:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:#d6d6d6}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#EcF5Ff;color:#0098f7}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{outline:none;background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#ebebeb}.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:#d6d6d6}.fr-show-tags .fr-modal-more svg path{fill:#0098f7}div.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}div.fr-modal-body .fr-preloader{display:block;margin:50px auto}div.fr-modal-body div.fr-image-list{text-align:center;margin:0 20px;padding:0}div.fr-modal-body div.fr-image-list .fr-list-column{float:left;width:calc((100% - 20px) / 2)}@media (min-width: 768px) and (max-width: 1199px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 40px) / 3)}}@media (min-width: 1200px){div.fr-modal-body div.fr-image-list .fr-list-column{width:calc((100% - 60px) / 4)}}div.fr-modal-body div.fr-image-list .fr-list-column+.fr-list-column{margin-left:20px}div.fr-modal-body div.fr-image-list div.fr-image-container{position:relative;width:100%;display:block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;overflow:hidden}div.fr-modal-body div.fr-image-list div.fr-image-container:first-child{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container+div{margin-top:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{position:absolute;-webkit-opacity:.5;-moz-opacity:.5;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;content:"";top:0;left:0;bottom:0;right:0;z-index:2}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{content:attr(data-deleting);color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto;position:absolute;z-index:3;font-size:15px;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{height:95px;background:#ccc;z-index:1}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{position:absolute;margin:auto;top:0;bottom:0;left:0;right:0;content:attr(data-loading);display:inline-block;height:20px}div.fr-modal-body div.fr-image-list div.fr-image-container img{width:100%;vertical-align:middle;position:relative;z-index:2;-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s,filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s,filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s,filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s,filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:.75;-moz-opacity:.75;opacity:.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected .fr-insert-img{display:inline-block}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{display:none;top:50%;border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s,color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s,color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s,color 0.2s ease 0s;-o-transition:background 0.2s ease 0s,color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;cursor:pointer;margin:0;line-height:40px;text-decoration:none;z-index:3}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#FFF;fill:#0098f7;padding:8px;left:50%;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:.75;-moz-opacity:.75;opacity:.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{display:inline-block;width:40px;height:40px}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#ebebeb} diff --git a/webroot/css/plugins/line_breaker.css b/webroot/css/plugins/line_breaker.css index 9b0f0500..1c4fbcb5 100644 --- a/webroot/css/plugins/line_breaker.css +++ b/webroot/css/plugins/line_breaker.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/line_breaker.min.css b/webroot/css/plugins/line_breaker.min.css index 05e4614a..bc2e16f8 100644 --- a/webroot/css/plugins/line_breaker.min.css +++ b/webroot/css/plugins/line_breaker.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-line-breaker{cursor:text;border-top:1px solid #0098f7;position:fixed;z-index:2;display:none}.fr-line-breaker.fr-visible{display:block}.fr-line-breaker a.fr-floating-btn{position:absolute;left:calc(50% - (40px / 2));top:-20px}.fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px} diff --git a/webroot/css/plugins/quick_insert.css b/webroot/css/plugins/quick_insert.css index 808f11dc..618398d1 100644 --- a/webroot/css/plugins/quick_insert.css +++ b/webroot/css/plugins/quick_insert.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/quick_insert.min.css b/webroot/css/plugins/quick_insert.min.css index f5794a91..be6189a3 100644 --- a/webroot/css/plugins/quick_insert.min.css +++ b/webroot/css/plugins/quick_insert.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-quick-insert{position:absolute;z-index:2147483639;white-space:nowrap;padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.fr-quick-insert.fr-hidden{display:none}.fr-qi-helper{position:absolute;z-index:3;padding-left:20px;white-space:nowrap}.fr-qi-helper a.fr-btn.fr-floating-btn{text-align:center;padding:6px 10px 10px 10px;display:inline-block;color:#222;background:#FFF;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#222}.fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)} diff --git a/webroot/css/plugins/special_characters.css b/webroot/css/plugins/special_characters.css index 988ca51d..84d33262 100644 --- a/webroot/css/plugins/special_characters.css +++ b/webroot/css/plugins/special_characters.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/special_characters.min.css b/webroot/css/plugins/special_characters.min.css index a05f68f9..ef430e8c 100644 --- a/webroot/css/plugins/special_characters.min.css +++ b/webroot/css/plugins/special_characters.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-weight:normal;font-size:16px}.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-sc-container{width:368px}} diff --git a/webroot/css/plugins/table.css b/webroot/css/plugins/table.css index 9b4ecbaf..d10a21d4 100644 --- a/webroot/css/plugins/table.css +++ b/webroot/css/plugins/table.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/table.min.css b/webroot/css/plugins/table.min.css index e4da3627..e6414549 100644 --- a/webroot/css/plugins/table.min.css +++ b/webroot/css/plugins/table.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element table td.fr-selected-cell,.fr-element table th.fr-selected-cell{border:1px double #0098f7}.fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element table td,.fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.fr-element .fr-no-selection table td,.fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-table-resizer{cursor:col-resize;position:absolute;z-index:3;display:none}.fr-table-resizer.fr-moving{z-index:2}.fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0098f7}.fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-popup .fr-table-size{margin:20px}.fr-popup .fr-table-size .fr-table-size-info{text-align:center;font-size:14px}.fr-popup .fr-table-size .fr-select-table-size{line-height:0;padding:5px;white-space:nowrap}.fr-popup .fr-table-size .fr-select-table-size>span{display:inline-block;padding:0 4px 4px 0;background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span>span{display:inline-block;width:18px;height:18px;border:1px solid #DDD}.fr-popup .fr-table-size .fr-select-table-size>span.hover{background:transparent}.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,152,247,0.3);border:solid 1px #0098f7}.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.fr-popup.fr-above .fr-table-size .fr-select-table-size>span{display:inline-block !important}.fr-popup .fr-table-colors{display:block;padding:20px;padding-bottom:0}.fr-popup.fr-desktop .fr-table-size .fr-select-table-size>span>span{width:12px;height:12px}.fr-insert-helper{position:absolute;z-index:9999;white-space:nowrap} diff --git a/webroot/css/plugins/trim_video.css b/webroot/css/plugins/trim_video.css index ed011a61..3356445d 100644 --- a/webroot/css/plugins/trim_video.css +++ b/webroot/css/plugins/trim_video.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/trim_video.min.css b/webroot/css/plugins/trim_video.min.css index 71c420b8..1c2a6713 100644 --- a/webroot/css/plugins/trim_video.min.css +++ b/webroot/css/plugins/trim_video.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}#fr-form-container{margin:auto;position:relative;top:10%;background-color:#f5f5f5;width:60%;border-radius:5px;z-index:9002;overflow:auto;background-color:#fefefe}.fr-trim-video-name{font-family:Arial, Helvetica, sans-serif;padding-top:15px}.fr-file-loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #53777a;display:inline-block !important;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;width:20px;height:20px;display:block !important;align-items:center}.fr-trim-button{margin-top:5px;height:36px;line-height:1;color:#0098f7;padding:10px;cursor:pointer;text-decoration:none;border:none;background:none;font-size:16px;border-radius:5px;background-color:#eff5fa;outline:none}.fr-trim-button:hover{background:#ebebeb}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fr-slidecontainer{width:100%}.fr-slider{-webkit-appearance:none;width:100%;height:15px;background:#d3d3d3}.fr-video-trim-buttons{text-align:right;padding-bottom:5px;padding-right:15px;margin-top:10px}.fr-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;cursor:pointer}.fr-slider::-moz-range-thumb{width:15px;height:15px;background:#3498db;border-radius:50%;cursor:pointer}.fr-range-value-start{position:absolute}.fr-range-value-start>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:50%;transform:translate(-85%, 0);border-radius:6px}.fr-range-value-start>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:86%;margin-left:-5px;margin-top:-1px}.fr-range-value-end{position:absolute}.fr-range-value-end>span{width:60px;height:24px;line-height:24px;text-align:center;background:#03a9f4;color:#fff;font-size:12px;display:block;position:absolute;left:14%;transform:translate(-8%, 0);border-radius:6px}.fr-range-value-end>span:before{content:"";position:absolute;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:14%;margin-left:-5px;margin-top:-1px}#startTimeValue{top:-153% !important}#startTimeValue span:before{border-top:10px solid #03a9f4;top:100%}#endTimeValue{top:-153% !important}#endTimeValue span:before{border-top:10px solid #03a9f4;top:100%}.fr-range-slider{position:relative;width:80%;height:15px}.fr-range-slider>input{pointer-events:none;position:absolute;left:0;top:10px;width:100%;outline:none;height:6px;border-radius:10px}.fr-range-slider>input::-webkit-slider-thumb{pointer-events:all;position:relative;z-index:1;-webkit-appearance:none;appearance:none;width:15px;height:15px;background:#3498db;cursor:pointer;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-thumb{pointer-events:all;position:relative;z-index:10;-moz-appearance:none;width:9px;height:15px;border-radius:7px;margin-top:-3.6px}.fr-range-slider>input::-moz-range-track{position:relative;z-index:-1;background-color:black;border:0;height:15px;border-radius:50%;margin-top:-3.6px}.fr-range-slider>input:last-of-type::-moz-range-track{-moz-appearance:none;background:none transparent;border:0}.fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}@media screen and (max-width: 430px){.range-value span{width:40px;font-size:10px}#fr-form-container{top:20%}}#fr-video-edit{width:80%;text-align:center;height:50%;margin-bottom:20px;padding-top:8px;padding-bottom:8px} diff --git a/webroot/css/plugins/video.css b/webroot/css/plugins/video.css index b0e21e6a..7b761ac9 100644 --- a/webroot/css/plugins/video.css +++ b/webroot/css/plugins/video.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/plugins/video.min.css b/webroot/css/plugins/video.min.css index 074ddfec..599c49d1 100644 --- a/webroot/css/plugins/video.min.css +++ b/webroot/css/plugins/video.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-element .fr-video::after{position:absolute;content:'';z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.fr-element .fr-video.fr-active>*{z-index:2;position:relative}.fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-box .fr-video-resizer{position:absolute;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box .fr-video-resizer.fr-active{display:block}.fr-box .fr-video-resizer .fr-handler{display:block;position:absolute;background:#0098f7;border:solid 1px #FFF;z-index:4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fr-box .fr-video-resizer .fr-handler.fr-hnw{cursor:nw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hne{cursor:ne-resize}.fr-box .fr-video-resizer .fr-handler.fr-hsw{cursor:sw-resize}.fr-box .fr-video-resizer .fr-handler.fr-hse{cursor:se-resize}.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line{width:calc(50% - 5px);display:inline-block}.fr-popup .fr-video-size-layer .fr-video-group .fr-input-line+.fr-input-line{margin-left:10px}.fr-popup .fr-video-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;position:relative;font-size:14px;letter-spacing:1px;line-height:140%;text-align:center}.fr-popup .fr-video-upload-layer:hover{background:#ebebeb}.fr-popup .fr-video-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;top:0;bottom:0;left:0;right:0;z-index:2147483640;overflow:hidden;margin:0 !important;padding:0 !important;width:100% !important}.fr-popup .fr-video-upload-layer .fr-form input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;width:500%;height:100%;margin:0;font-size:400px}.fr-popup .fr-video-progress-bar-layer>h3{font-size:16px;margin:10px 0;font-weight:normal}.fr-popup .fr-video-progress-bar-layer>div.fr-action-buttons{display:none}.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0fd;height:10px;width:100%;margin-top:20px;overflow:hidden;position:relative}.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{display:block;height:100%;width:0%;background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{width:30% !important;position:absolute;top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-loader{display:none}.fr-popup .fr-video-progress-bar-layer.fr-error>div.fr-action-buttons{display:block}.fr-video-overlay{position:fixed;top:0;left:0;bottom:0;right:0;z-index:2147483640;display:none}.fr-autoplay-margin{margin-top:0px !important} diff --git a/webroot/css/themes/dark.css b/webroot/css/themes/dark.css index fad0aa13..b6da5aff 100644 --- a/webroot/css/themes/dark.css +++ b/webroot/css/themes/dark.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/themes/dark.min.css b/webroot/css/themes/dark.min.css index d59cc64a..8702470c 100644 --- a/webroot/css/themes/dark.min.css +++ b/webroot/css/themes/dark.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dark-theme.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left}.dark-theme .fr-element{-webkit-user-select:auto}.dark-theme .fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.dark-theme .fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;background:#353535;color:#0098f7;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.dark-theme.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#0098f7}.dark-theme.fr-box a.fr-floating-btn i,.dark-theme.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.dark-theme.fr-box a.fr-floating-btn:hover{background:#424242}.dark-theme.fr-box a.fr-floating-btn:hover svg{fill:#0098f7}.dark-theme.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.dark-theme iframe.fr-iframe{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme .fr-wrapper::after{clear:both;display:block;content:"";height:0}.dark-theme .fr-wrapper .fr-placeholder{font-size:14px;color:#AAA;font-family:sans-serif;top:0;left:0;right:0}.dark-theme .fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.dark-theme .fr-wrapper ::selection{background:#b5d6fd;color:#000}.dark-theme.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.dark-theme.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.dark-theme.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.dark-theme .fr-box.fr-document .fr-wrapper{padding:30px;background:#efefef}.dark-theme .fr-box.fr-document .fr-wrapper .fr-element{background:#FFF;margin:auto;z-index:auto}.dark-theme .fr-box.fr-document .fr-wrapper .fr-element hr{background:#efefef}}.dark-theme .fr-sticky-on{z-index:10}.dark-theme .fr-sticky-on.fr-sticky-ios{left:0;right:0}.dark-theme span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dark-theme .fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-box .fr-counter{padding:10px;color:#999999;font-size:14px;font-family:sans-serif;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme textarea.fr-code{resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;background:#FFF;color:#000}.dark-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch{top:0;right:0;background:#FFF;color:#FFF;-moz-outline:0;outline:0;border:0;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px}.dark-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#424242}.dark-theme.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0}.dark-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{padding:15px 0 0}.dark-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{width:38px;height:40px;padding:17px 0 0;margin:0}.dark-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.dark-theme.fr-popup .fr-color-set{line-height:0}.dark-theme.fr-popup .fr-color-set.fr-selected-set{padding:20px;padding-bottom:0}.dark-theme.fr-popup .fr-color-set>span{width:32px;height:32px}.dark-theme.fr-popup .fr-color-set>span>i,.dark-theme.fr-popup .fr-color-set>span>svg{line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;bottom:0;left:0}.dark-theme.fr-popup .fr-color-set>span>i path,.dark-theme.fr-popup .fr-color-set>span>svg path{fill:#FFF}.dark-theme.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-size:13px;font-weight:400;line-height:32px;top:0;bottom:0;right:0;left:0}.dark-theme.fr-popup .fr-color-set>span:hover,.dark-theme.fr-popup .fr-color-set>span:focus{outline:1px solid #FFF}.dark-theme.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)}.dark-theme .fr-drag-helper{background:#0098f7;-webkit-opacity:0.2;-moz-opacity:0.2;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483640}.dark-theme .fr-dragging{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-popup .fr-emoticon{width:24px;height:24px}.dark-theme.fr-popup .fr-emoticon img{height:24px;width:24px}.dark-theme.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.dark-theme.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}.dark-theme.fr-popup .fr-file-upload-layer{border:dashed 2px gray;padding:25px 0;margin:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme.fr-popup .fr-file-upload-layer:hover{background:#424242}.dark-theme.fr-popup .fr-file-upload-layer.fr-drop{background:#424242;border-color:#0098f7}.dark-theme.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.dark-theme.fr-popup .fr-file-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.dark-theme.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme.fr-popup .fr-file-progress-bar-layer>h3{margin:10px 0}.dark-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0fd}.dark-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.dark-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.dark-theme .fr-element img{padding:0 1px}.dark-theme .fr-image-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-image-resizer .fr-handler{background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme .fr-image-resizer .fr-handler{width:12px;height:12px}.dark-theme .fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.dark-theme .fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.dark-theme .fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.dark-theme .fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.dark-theme .fr-image-resizer .fr-handler{width:10px;height:10px}.dark-theme .fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.dark-theme .fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.dark-theme .fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.dark-theme .fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.dark-theme.fr-image-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.dark-theme .fr-by-url-padding{padding:11.5px 0}.dark-theme.fr-popup .fr-upload-progress-layer{border-radius:0;overflow-y:auto}.dark-theme.fr-popup .fr-files-upload-layer{border:dashed 2px gray;margin:20px}.dark-theme.fr-popup .fr-files-upload-layer:hover{background:#424242}.dark-theme.fr-popup .fr-files-upload-layer.fr-drop{background:#424242;border-color:#0098f7}.dark-theme.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.dark-theme.fr-popup .fr-files-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.dark-theme.fr-popup .fr-files-progress-bar-layer>h3{margin:10px 0}.dark-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0fd}.dark-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.dark-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.dark-theme .fr-progress-bar{background-color:#4CAF50}.dark-theme .fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme .fr-icons{padding:10px 20px 0}.dark-theme .half-circle{border-bottom:0}.dark-theme .checkbox-container input{opacity:0;height:0;width:0}.dark-theme .checkmark{top:0;left:0}.dark-theme .fr-cloud-icon{margin:0 auto}.dark-theme .fr-files-checkbox{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-files-checkbox svg{width:10px;height:10px}.dark-theme .fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.dark-theme .fr-files-checkbox input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";height:18px;margin:0;padding:0;width:18px}.dark-theme .fr-files-checkbox input:not(:checked)+span{border:solid 2px #999999}.dark-theme .fr-files-checkbox input:not(:checked):active+span{background-color:#353535}.dark-theme .fr-files-checkbox input:not(:checked):focus+span,.dark-theme .fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.dark-theme .fr-files-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.dark-theme .fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.dark-theme .fr-files-checkbox input:checked:focus+span,.dark-theme .fr-files-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme .fr-checkbox-disabled{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.dark-theme .fr-checkbox-disabled input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0;padding:0}.dark-theme .fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999999}.dark-theme .fr-checkbox-disabled input:not(:checked):active+span{background-color:#353535}.dark-theme .fr-checkbox-disabled input:checked+span{background:#0098f7;border:solid 2px #0098f7}.dark-theme .fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.dark-theme .fr-files-manager-tooltip .tooltiptext{font-weight:100}.dark-theme .fr-file-view-modal{left:0;top:0;overflow:auto}.dark-theme .fr-file-view-image{top:0;bottom:0;left:0;right:0;margin:auto}.dark-theme .fr-file-error{font-weight:200}.dark-theme .fr-autoplay-checkbox-label{margin:0}.dark-theme .checkbox-container .checkmark:after{border-width:0 3px 3px 0}.dark-theme .file-item-details .file-description{font-weight:300}.dark-theme #myprogressBar{background-color:#4CAF50}.dark-theme .progress-circle{padding:0}.dark-theme .fr-hovered-over-file{background-color:#F0F0F0}.dark-theme.fr-box.fr-fullscreen{top:0;left:0;bottom:0;right:0}.dark-theme.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #595959}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{color:white}.dark-theme .fr-element img{padding:0 1px}.dark-theme .fr-image-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-image-resizer .fr-handler{background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme .fr-image-resizer .fr-handler{width:12px;height:12px}.dark-theme .fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.dark-theme .fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.dark-theme .fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.dark-theme .fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.dark-theme .fr-image-resizer .fr-handler{width:10px;height:10px}.dark-theme .fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.dark-theme .fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.dark-theme .fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.dark-theme .fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.dark-theme.fr-image-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.dark-theme.fr-popup .fr-image-upload-layer{border:dashed 2px gray;padding:25px 0;margin:20px}.dark-theme.fr-popup .fr-image-upload-layer:hover{background:#424242}.dark-theme.fr-popup .fr-image-upload-layer.fr-drop{background:#424242;border-color:#0098f7}.dark-theme.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.dark-theme.fr-popup .fr-image-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.dark-theme.fr-popup .fr-image-progress-bar-layer>h3{margin:10px 0}.dark-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0fd}.dark-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.dark-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.dark-theme .fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.dark-theme.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.dark-theme.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a{opacity:0;padding:6px 12px;margin:8px 0 8px 8px;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;background-color:#353535}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a:focus{background-color:#424242}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#424242}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:#4f4f4f}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#4f4f4f;color:#0098f7}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{background-color:#424242}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#424242}.dark-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:#4f4f4f}.dark-theme.fr-show-tags .fr-modal-more svg path{fill:#0098f7}.dark-themediv.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}.dark-themediv.fr-modal-body .fr-preloader{margin:50px auto}.dark-themediv.fr-modal-body div.fr-image-list{margin:0 20px;padding:0}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;top:0;left:0;bottom:0;right:0}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{background:#AAA}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{margin:auto;top:0;bottom:0;left:0;right:0}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container img{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;line-height:40px}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}.dark-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#353535;fill:#0098f7;padding:8px;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.dark-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.dark-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{width:40px;height:40px}.dark-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.dark-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#424242}.dark-theme .fr-line-breaker{border-top:1px solid #0098f7}.dark-theme .fr-line-breaker a.fr-floating-btn{left:calc(50% - (40px / 2));top:-20px}.dark-theme .fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px}.dark-theme .fr-quick-insert{padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.dark-theme .fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.dark-theme .fr-qi-helper{padding-left:20px}.dark-theme .fr-qi-helper a.fr-btn.fr-floating-btn{padding:6px 10px 10px 10px;color:#FFF;background:#353535;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.dark-theme .fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#FFF}.dark-theme .fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.dark-theme.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.dark-theme.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-size:16px}.dark-theme.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.dark-theme.fr-popup .fr-icon-container.fr-sc-container{width:368px}}.dark-theme .fr-element table td.fr-selected-cell,.dark-theme .fr-element table th.fr-selected-cell{border:1px double #0098f7}.dark-theme .fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme .fr-element table td,.dark-theme .fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.dark-theme .fr-element .fr-no-selection table td,.dark-theme .fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme .fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0098f7}.dark-theme .fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme.fr-popup .fr-table-size{margin:20px}.dark-theme.fr-popup .fr-table-size .fr-select-table-size{line-height:0}.dark-theme.fr-popup .fr-table-size .fr-select-table-size>span{padding:0 4px 4px 0}.dark-theme.fr-popup .fr-table-size .fr-select-table-size>span>span{border:1px solid #DDD}.dark-theme.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,152,247,0.3);border:solid 1px #0098f7}.dark-theme.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.dark-theme.fr-popup .fr-table-colors{padding:20px;padding-bottom:0}.dark-theme #fr-form-container{margin:auto;overflow:auto}.dark-theme .fr-range-value-start>span:before{width:0;height:0}.dark-theme .fr-range-value-end>span:before{width:0;height:0}.dark-theme .fr-range-slider>input{left:0}.dark-theme .fr-range-slider>input::-moz-range-thumb{z-index:10}.dark-theme .fr-range-slider>input::-moz-range-track{border:0}.dark-theme .fr-range-slider>input:last-of-type::-moz-range-track{border:0}.dark-theme .fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}.dark-theme .fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme .fr-element .fr-video::after{top:0;left:0;right:0;bottom:0}.dark-theme .fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme.fr-box .fr-video-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme.fr-box .fr-video-resizer .fr-handler{background:#0098f7;border:solid 1px #FFF;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.dark-theme.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.dark-theme.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.dark-theme.fr-popup .fr-video-upload-layer{border:dashed 2px gray;padding:25px 0;margin:20px}.dark-theme.fr-popup .fr-video-upload-layer:hover{background:#424242}.dark-theme.fr-popup .fr-video-upload-layer.fr-drop{background:#424242;border-color:#0098f7}.dark-theme.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.dark-theme.fr-popup .fr-video-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.dark-theme.fr-popup .fr-video-progress-bar-layer>h3{margin:10px 0}.dark-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0fd}.dark-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.dark-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.dark-theme.fr-video-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.dark-theme .fr-view img.fr-rounded,.dark-theme .fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme .fr-view img.fr-shadow,.dark-theme .fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.dark-theme .fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme .fr-view span[style~="color:"] a{color:inherit}.dark-theme .fr-view strong{font-weight:700}.dark-theme .fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:lightgray}.dark-theme .fr-view table td,.dark-theme .fr-view table th{border:1px solid #DDD}.dark-theme .fr-view table th{background:#ececec}.dark-theme .fr-view hr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme .fr-view[dir="rtl"] blockquote{border-right:solid 2px #5E35B1;margin-right:0;padding-left:0}.dark-theme .fr-view[dir="rtl"] blockquote blockquote{border-color:#00BCD4}.dark-theme .fr-view[dir="rtl"] blockquote blockquote blockquote{border-color:#43A047}.dark-theme .fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;color:#5E35B1}.dark-theme .fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.dark-theme .fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.dark-theme .fr-view span.fr-emoticon{line-height:0}.dark-theme .fr-view span.fr-emoticon.fr-emoticon-img{font-size:inherit}.dark-theme .fr-view .fr-text-bordered{padding:10px 0}.dark-theme .fr-view .fr-class-highlighted{background-color:#ffff00}.dark-theme .fr-view .fr-class-code{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#353535}.dark-theme .fr-view img.fr-dib{margin:5px auto}.dark-theme .fr-view img.fr-dib.fr-fil{margin-left:0}.dark-theme .fr-view img.fr-dib.fr-fir{margin-right:0}.dark-theme .fr-view img.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.dark-theme .fr-view img.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.dark-theme .fr-view img.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.dark-theme .fr-view span.fr-img-caption.fr-dib{margin:5px auto}.dark-theme .fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0}.dark-theme .fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0}.dark-theme .fr-view span.fr-img-caption.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.dark-theme .fr-view span.fr-img-caption.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.dark-theme .fr-view span.fr-img-caption.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.dark-theme .fr-view .fr-video.fr-rv{height:0}.dark-theme .fr-view .fr-video.fr-rv>iframe,.dark-theme .fr-view .fr-video.fr-rv object,.dark-theme .fr-view .fr-video.fr-rv embed{top:0;left:0}.dark-theme .fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme .fr-view a.fr-strong{font-weight:700}.dark-theme .fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto}.dark-theme .fr-view .fr-img-caption .fr-img-wrap img{margin:auto}.dark-theme .fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme .fr-view button.fr-rounded,.dark-theme .fr-view input.fr-rounded,.dark-theme .fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme a.fr-view.fr-strong{font-weight:700}.dark-theme img.fr-view.fr-dib{margin:5px auto}.dark-theme img.fr-view.fr-dib.fr-fil{margin-left:0}.dark-theme img.fr-view.fr-dib.fr-fir{margin-right:0}.dark-theme img.fr-view.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.dark-theme img.fr-view.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.dark-theme img.fr-view.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.dark-theme span.fr-img-caption.fr-view.fr-dib{margin:5px auto}.dark-theme span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0}.dark-theme span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0}.dark-theme span.fr-img-caption.fr-view.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.dark-theme span.fr-img-caption.fr-view.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.dark-theme span.fr-img-caption.fr-view.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.dark-theme .fr-element .fr-embedly{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme .fr-element .fr-embedly::after{top:0;left:0;right:0;bottom:0}.dark-theme .fr-element .fr-embedly>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme.fr-box .fr-embedly-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark-theme.fr-popup .fr-icon.fr-fa-icon{width:18px;padding:8px;margin:6px;font-size:16px}@supports not (-ms-high-contrast: none){.dark-theme.fr-popup .fr-icon-container.fr-fa-container{grid-template-columns:repeat(auto-fill, minmax(45px, 45px))}}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.dark-theme.fr-popup .fr-icon-container.fr-fa-container{width:506px}}.dark-theme .tui-image-editor-container{top:0;left:0;bottom:0;right:0;z-index:10}.dark-theme .tui-editor-cancel-btn{background-color:#FFF;border:1px solid #AAA}.dark-theme .tui-editor-save-btn{color:#FFF}.dark-theme .examples-variante>a{font-size:14px;font-family:Arial, Helvetica, sans-serif}.dark-theme .sc-cm-holder>.sc-cm{border-top:5px solid #222222 !important}.dark-theme .sc-cm__item_dropdown:hover>a,.dark-theme .sc-cm a:hover{background-color:#424242 !important}.dark-theme .sc-cm__item_active>a,.dark-theme .sc-cm__item_active>a:hover,.dark-theme .sc-cm a:active,.dark-theme .sc-cm a:focus{background-color:#424242 !important}.dark-theme .sc-cm-holder>.sc-cm:before{background-color:#424242 !important}.dark-theme .fr-tooltip{top:0;left:0;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dark-theme .fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-toolbar .fr-command.fr-btn,.dark-theme.fr-popup .fr-command.fr-btn,.dark-theme.fr-modal .fr-command.fr-btn{color:#FFF;-moz-outline:0;border:0;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;height:40px}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.dark-theme.fr-popup .fr-command.fr-btn.fr-btn-hover,.dark-theme.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.dark-theme.fr-popup .fr-command.fr-btn::-moz-focus-inner,.dark-theme.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-btn-text,.dark-theme.fr-popup .fr-command.fr-btn.fr-btn-text,.dark-theme.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.dark-theme.fr-toolbar .fr-command.fr-btn i,.dark-theme.fr-toolbar .fr-command.fr-btn svg,.dark-theme.fr-popup .fr-command.fr-btn i,.dark-theme.fr-popup .fr-command.fr-btn svg,.dark-theme.fr-modal .fr-command.fr-btn i,.dark-theme.fr-modal .fr-command.fr-btn svg{margin:8px 7px;width:24px}.dark-theme.fr-toolbar .fr-command.fr-btn svg.fr-svg,.dark-theme.fr-popup .fr-command.fr-btn svg.fr-svg,.dark-theme.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.dark-theme.fr-toolbar .fr-command.fr-btn svg path,.dark-theme.fr-popup .fr-command.fr-btn svg path,.dark-theme.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#FFF}.dark-theme.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.dark-theme.fr-popup .fr-command.fr-btn span.fr-sr-only,.dark-theme.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dark-theme.fr-toolbar .fr-command.fr-btn span,.dark-theme.fr-popup .fr-command.fr-btn span,.dark-theme.fr-modal .fr-command.fr-btn span{font-size:14px;line-height:17px;min-width:30px;height:17px;padding:0 4px}.dark-theme.fr-toolbar .fr-command.fr-btn img,.dark-theme.fr-popup .fr-command.fr-btn img,.dark-theme.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.dark-theme.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.dark-theme.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:#4f4f4f}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown i,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown span,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown img,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown svg,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown i,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown span,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown img,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown:after,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown:after{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #FFF;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#FFF;background:#4f4f4f;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#424242;fill:#FFF}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#FFF}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.dark-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.dark-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #FFF}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-disabled,.dark-theme.fr-popup .fr-command.fr-btn.fr-disabled,.dark-theme.fr-modal .fr-command.fr-btn.fr-disabled{color:gray;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.dark-theme.fr-popup .fr-command.fr-btn.fr-disabled::after,.dark-theme.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:gray}.dark-theme.fr-toolbar .fr-tabs .fr-command.fr-btn,.dark-theme.fr-popup .fr-tabs .fr-command.fr-btn,.dark-theme.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.dark-theme.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.dark-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.dark-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.dark-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.dark-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#353535}.dark-theme.fr-toolbar .fr-tabs .fr-command.fr-btn span,.dark-theme.fr-popup .fr-tabs .fr-command.fr-btn span,.dark-theme.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.dark-theme.fr-toolbar .fr-tabs .fr-command.fr-btn img,.dark-theme.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.dark-theme.fr-popup .fr-tabs .fr-command.fr-btn img,.dark-theme.fr-popup .fr-tabs .fr-command.fr-btn svg,.dark-theme.fr-modal .fr-tabs .fr-command.fr-btn img,.dark-theme.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.dark-theme.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.dark-theme.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0098f7}.dark-theme.fr-toolbar.fr-disabled .fr-btn,.dark-theme.fr-toolbar.fr-disabled .fr-btn.fr-active,.dark-theme.fr-popup.fr-disabled .fr-btn,.dark-theme.fr-popup.fr-disabled .fr-btn.fr-active,.dark-theme.fr-modal.fr-disabled .fr-btn,.dark-theme.fr-modal.fr-disabled .fr-btn.fr-active{color:gray;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.dark-theme.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.dark-theme.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.dark-theme.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.dark-theme.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.dark-theme.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:gray}.dark-theme.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.dark-theme.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.dark-theme.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.dark-theme.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.dark-theme.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.dark-theme.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.dark-theme.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.dark-theme.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.dark-theme.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.dark-theme.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.dark-theme.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.dark-theme.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.dark-theme.fr-desktop .fr-command:hover,.dark-theme.fr-desktop .fr-command:focus,.dark-theme.fr-desktop .fr-command.fr-btn-hover,.dark-theme.fr-desktop .fr-command.fr-expanded{outline:0;color:#FFF}.dark-theme.fr-desktop .fr-command:hover:not(.fr-table-cell),.dark-theme.fr-desktop .fr-command:focus:not(.fr-table-cell),.dark-theme.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.dark-theme.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#424242}.dark-theme.fr-desktop .fr-command:hover::after,.dark-theme.fr-desktop .fr-command:focus::after,.dark-theme.fr-desktop .fr-command.fr-btn-hover::after,.dark-theme.fr-desktop .fr-command.fr-expanded::after{border-top-color:#FFF}.dark-theme.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.dark-theme.fr-desktop .fr-command:active{color:#FFF;background:#4f4f4f}.dark-theme.fr-desktop .fr-command.fr-active:hover,.dark-theme.fr-desktop .fr-command.fr-active:focus,.dark-theme.fr-desktop .fr-command.fr-active.fr-btn-hover,.dark-theme.fr-desktop .fr-command.fr-active.fr-expanded{background:#424242}.dark-theme.fr-desktop .fr-command.fr-active:active{background:#4f4f4f}.dark-theme.fr-toolbar.fr-mobile .fr-command.fr-blink,.dark-theme.fr-popup.fr-mobile .fr-command.fr-blink{background:#4f4f4f}.dark-theme .fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.dark-theme .fr-command.fr-btn.fr-options.fr-btn-hover,.dark-theme .fr-command.fr-btn.fr-options:hover,.dark-theme .fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu{background:#353535;right:auto;bottom:auto;height:auto;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;height:0}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{margin:0;padding:8px 0;min-width:72px}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;color:inherit;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#FFF}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:#4f4f4f}.dark-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:gray}.dark-theme .fr-command.fr-btn.fr-active+.fr-dropdown-menu{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.dark-theme .fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-modal{color:#FFF;font-family:Arial, Helvetica, sans-serif;overflow-x:auto;top:0;left:0;bottom:0;right:0;z-index:2147483640;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dark-theme.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.dark-theme.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;margin:20px auto;background:#353535;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0}@media (min-width: 768px) and (max-width: 991px){.dark-theme.fr-modal .fr-modal-wrapper{margin:30px auto}}@media (min-width: 992px){.dark-theme.fr-modal .fr-modal-wrapper{margin:50px auto}}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-head{background:#353535;min-height:42px;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;top:0;right:0}.dark-theme.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px}.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body{min-height:150px;overflow-y:auto;padding-bottom:20px}.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;color:#0098f7;padding:10px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#424242;color:#0098f7}.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:#4f4f4f;color:#0098f7}.dark-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.dark-theme.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#424242}.dark-theme.fr-overlay{top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-popup{color:#FFF;background:#353535;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dark-theme.fr-popup .fr-icon{font-size:20px;font-weight:400;padding:6px}.dark-theme.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.dark-theme.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px))}}@media (min-width: 768px){.dark-theme.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.dark-theme.fr-popup .fr-icon-container{width:236px}}.dark-theme.fr-popup .fr-input-focus{background:#363636}.dark-theme.fr-popup.fr-above{border-top:0}.dark-theme.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-popup .fr-input-line{padding:15px 0}.dark-theme.fr-popup .fr-input-line input[type="text"],.dark-theme.fr-popup .fr-input-line textarea{margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#FFF;font-size:14px;background:#353535;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.dark-theme.fr-popup .fr-input-line input[type="text"]:hover,.dark-theme.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.dark-theme.fr-popup .fr-input-line input[type="text"]:focus,.dark-theme.fr-popup .fr-input-line textarea:focus{border:solid 2px #0098f7;padding:3px 11px}.dark-theme.fr-popup .fr-input-line input[type="text"]{height:46px}.dark-theme.fr-popup .fr-input-line input+label,.dark-theme.fr-popup .fr-input-line textarea+label{top:29px;left:12px;font-size:14px;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;background:#353535;padding:0}.dark-theme.fr-popup .fr-input-line input.fr-not-empty+label,.dark-theme.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.dark-theme.fr-popup input,.dark-theme.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-popup .fr-buttons{line-height:0}.dark-theme.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px}.dark-theme.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#686868}@media (max-width: 768px){.dark-theme.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{width:276px}}.dark-theme.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.dark-theme.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px}@media (min-width: 768px){.dark-theme.fr-popup .fr-layer{width:260px}}.dark-theme.fr-popup .fr-action-buttons{height:36px}.dark-theme.fr-popup .fr-action-buttons button.fr-command{height:36px;color:#0098f7;padding:10px;font-size:16px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-popup .fr-action-buttons button.fr-command:hover,.dark-theme.fr-popup .fr-action-buttons button.fr-command:focus{background:#424242;color:#0098f7}.dark-theme.fr-popup .fr-action-buttons button.fr-command:active{background:#4f4f4f;color:#0098f7}.dark-theme.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.dark-theme.fr-popup .fr-checkbox{width:18px;height:18px;padding:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dark-theme.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;width:10px;height:10px}.dark-theme.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.dark-theme.fr-popup .fr-checkbox input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";height:18px;margin:0;padding:0;width:18px}.dark-theme.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.dark-theme.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#353535}.dark-theme.fr-popup .fr-checkbox input:not(:checked):focus+span,.dark-theme.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.dark-theme.fr-popup .fr-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.dark-theme.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.dark-theme.fr-popup .fr-checkbox input:checked:focus+span,.dark-theme.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.dark-theme.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.dark-theme.fr-popup .fr-checkbox-line label{margin:0 5px}.dark-theme.fr-popup.fr-rtl .fr-input-line input+label,.dark-theme.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.dark-theme .fr-text-edit-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme.fr-toolbar{color:#FFF;background:#353535;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #CCCCCC;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.dark-theme.fr-toolbar::after{clear:both;display:block;content:"";height:0}.dark-theme.fr-toolbar::after{height:0}.dark-theme.fr-toolbar .fr-newline{margin-left:9px;margin-right:9px;background:#353535;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.dark-theme.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.dark-theme.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.dark-theme.fr-toolbar .fr-more-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#686868;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dark-theme.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.dark-theme.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.dark-theme.fr-toolbar .fr-btn-grp{margin:0 17px 0 12px}@media (max-width: 768px){.dark-theme.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#686868}.dark-theme.fr-toolbar.fr-inline{-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;z-index:2147483630}.dark-theme.fr-toolbar.fr-inline.fr-above{border-top:0}.dark-theme.fr-toolbar.fr-inline .fr-newline{height:0}.dark-theme.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.dark-theme.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.dark-theme.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme .fr-separator{background:#595959}.dark-theme .fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.dark-theme .fr-separator.fr-hs{width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.dark-theme .fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme .fr-second-toolbar::after{clear:both;display:block;content:"";height:0}.dark-theme #fr-logo>span{padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}.dark-theme #fr-logo>svg{height:20px;width:47px;margin:7px 0}.dark-theme #fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}.dark-theme #fr-logo:hover>span,.dark-theme #fr-logo:focus>span{color:#0098f7}.dark-theme #fr-logo:hover>svg .fr-logo,.dark-theme #fr-logo:focus>svg .fr-logo{fill:#0098f7} diff --git a/webroot/css/themes/gray.css b/webroot/css/themes/gray.css index 7e4c67c3..e486688c 100644 --- a/webroot/css/themes/gray.css +++ b/webroot/css/themes/gray.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/themes/gray.min.css b/webroot/css/themes/gray.min.css index 956015e9..66489f69 100644 --- a/webroot/css/themes/gray.min.css +++ b/webroot/css/themes/gray.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.gray-theme.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left}.gray-theme .fr-element{-webkit-user-select:auto}.gray-theme .fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.gray-theme .fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;background:#FFF;color:#0097A7;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.gray-theme.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#0097A7}.gray-theme.fr-box a.fr-floating-btn i,.gray-theme.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.gray-theme.fr-box a.fr-floating-btn:hover{background:#e8e8e8}.gray-theme.fr-box a.fr-floating-btn:hover svg{fill:#0097A7}.gray-theme.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.gray-theme iframe.fr-iframe{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme .fr-wrapper::after{clear:both;display:block;content:"";height:0}.gray-theme .fr-wrapper .fr-placeholder{font-size:14px;color:#AAA;font-family:sans-serif;top:0;left:0;right:0}.gray-theme .fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.gray-theme .fr-wrapper ::selection{background:#b5d6fd;color:#000}.gray-theme.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.gray-theme.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.gray-theme.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.gray-theme .fr-box.fr-document .fr-wrapper{padding:30px;background:#efefef}.gray-theme .fr-box.fr-document .fr-wrapper .fr-element{background:#FFF;margin:auto;z-index:auto}.gray-theme .fr-box.fr-document .fr-wrapper .fr-element hr{background:#efefef}}.gray-theme .fr-sticky-on{z-index:10}.gray-theme .fr-sticky-on.fr-sticky-ios{left:0;right:0}.gray-theme span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.gray-theme .fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-box .fr-counter{padding:10px;color:#999999;font-size:14px;font-family:sans-serif;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme textarea.fr-code{resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;background:#FFF;color:#000}.gray-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch{top:0;right:0;background:#FFF;color:#37474F;-moz-outline:0;outline:0;border:0;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px}.gray-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#e8e8e8}.gray-theme.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0}.gray-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{padding:15px 0 0}.gray-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{width:38px;height:40px;padding:17px 0 0;margin:0}.gray-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.gray-theme.fr-popup .fr-color-set{line-height:0}.gray-theme.fr-popup .fr-color-set.fr-selected-set{padding:20px;padding-bottom:0}.gray-theme.fr-popup .fr-color-set>span{width:32px;height:32px}.gray-theme.fr-popup .fr-color-set>span>i,.gray-theme.fr-popup .fr-color-set>span>svg{line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;bottom:0;left:0}.gray-theme.fr-popup .fr-color-set>span>i path,.gray-theme.fr-popup .fr-color-set>span>svg path{fill:#37474F}.gray-theme.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-size:13px;font-weight:400;line-height:32px;top:0;bottom:0;right:0;left:0}.gray-theme.fr-popup .fr-color-set>span:hover,.gray-theme.fr-popup .fr-color-set>span:focus{outline:1px solid #37474F}.gray-theme.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)}.gray-theme .fr-drag-helper{background:#0097A7;-webkit-opacity:0.2;-moz-opacity:0.2;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483640}.gray-theme .fr-dragging{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-popup .fr-emoticon{width:24px;height:24px}.gray-theme.fr-popup .fr-emoticon img{height:24px;width:24px}.gray-theme.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.gray-theme.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}.gray-theme.fr-popup .fr-file-upload-layer{border:dashed 2px #b7bdc0;padding:25px 0;margin:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme.fr-popup .fr-file-upload-layer:hover{background:#e8e8e8}.gray-theme.fr-popup .fr-file-upload-layer.fr-drop{background:#e8e8e8;border-color:#0097A7}.gray-theme.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.gray-theme.fr-popup .fr-file-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.gray-theme.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme.fr-popup .fr-file-progress-bar-layer>h3{margin:10px 0}.gray-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0e5}.gray-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{background:#0097A7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.gray-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.gray-theme .fr-element img{padding:0 1px}.gray-theme .fr-image-resizer{border:solid 1px #0097A7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-image-resizer .fr-handler{background:#0097A7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme .fr-image-resizer .fr-handler{width:12px;height:12px}.gray-theme .fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.gray-theme .fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.gray-theme .fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.gray-theme .fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.gray-theme .fr-image-resizer .fr-handler{width:10px;height:10px}.gray-theme .fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.gray-theme .fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.gray-theme .fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.gray-theme .fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.gray-theme.fr-image-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.gray-theme .fr-by-url-padding{padding:11.5px 0}.gray-theme.fr-popup .fr-upload-progress-layer{border-radius:0;overflow-y:auto}.gray-theme.fr-popup .fr-files-upload-layer{border:dashed 2px #b7bdc0;margin:20px}.gray-theme.fr-popup .fr-files-upload-layer:hover{background:#e8e8e8}.gray-theme.fr-popup .fr-files-upload-layer.fr-drop{background:#e8e8e8;border-color:#0097A7}.gray-theme.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.gray-theme.fr-popup .fr-files-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.gray-theme.fr-popup .fr-files-progress-bar-layer>h3{margin:10px 0}.gray-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0e5}.gray-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{background:#0097A7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.gray-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.gray-theme .fr-progress-bar{background-color:#4CAF50}.gray-theme .fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme .fr-icons{padding:10px 20px 0}.gray-theme .half-circle{border-bottom:0}.gray-theme .checkbox-container input{opacity:0;height:0;width:0}.gray-theme .checkmark{top:0;left:0}.gray-theme .fr-cloud-icon{margin:0 auto}.gray-theme .fr-files-checkbox{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-files-checkbox svg{width:10px;height:10px}.gray-theme .fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.gray-theme .fr-files-checkbox input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";height:18px;margin:0;padding:0;width:18px}.gray-theme .fr-files-checkbox input:not(:checked)+span{border:solid 2px #999999}.gray-theme .fr-files-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.gray-theme .fr-files-checkbox input:not(:checked):focus+span,.gray-theme .fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.gray-theme .fr-files-checkbox input:checked+span{background:#0097A7;border:solid 2px #0097A7}.gray-theme .fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.gray-theme .fr-files-checkbox input:checked:focus+span,.gray-theme .fr-files-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme .fr-checkbox-disabled{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.gray-theme .fr-checkbox-disabled input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0;padding:0}.gray-theme .fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999999}.gray-theme .fr-checkbox-disabled input:not(:checked):active+span{background-color:#f5f5f5}.gray-theme .fr-checkbox-disabled input:checked+span{background:#0097A7;border:solid 2px #0097A7}.gray-theme .fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.gray-theme .fr-files-manager-tooltip .tooltiptext{font-weight:100}.gray-theme .fr-file-view-modal{left:0;top:0;overflow:auto}.gray-theme .fr-file-view-image{top:0;bottom:0;left:0;right:0;margin:auto}.gray-theme .fr-file-error{font-weight:200}.gray-theme .fr-autoplay-checkbox-label{margin:0}.gray-theme .checkbox-container .checkmark:after{border-width:0 3px 3px 0}.gray-theme .file-item-details .file-description{font-weight:300}.gray-theme #myprogressBar{background-color:#4CAF50}.gray-theme .progress-circle{padding:0}.gray-theme .fr-hovered-over-file{background-color:#F0F0F0}.gray-theme.fr-box.fr-fullscreen{top:0;left:0;bottom:0;right:0}.gray-theme.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #ebebeb}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{color:#737e84}.gray-theme .fr-element img{padding:0 1px}.gray-theme .fr-image-resizer{border:solid 1px #0097A7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-image-resizer .fr-handler{background:#0097A7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme .fr-image-resizer .fr-handler{width:12px;height:12px}.gray-theme .fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.gray-theme .fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.gray-theme .fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.gray-theme .fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.gray-theme .fr-image-resizer .fr-handler{width:10px;height:10px}.gray-theme .fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.gray-theme .fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.gray-theme .fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.gray-theme .fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.gray-theme.fr-image-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.gray-theme.fr-popup .fr-image-upload-layer{border:dashed 2px #b7bdc0;padding:25px 0;margin:20px}.gray-theme.fr-popup .fr-image-upload-layer:hover{background:#e8e8e8}.gray-theme.fr-popup .fr-image-upload-layer.fr-drop{background:#e8e8e8;border-color:#0097A7}.gray-theme.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.gray-theme.fr-popup .fr-image-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.gray-theme.fr-popup .fr-image-progress-bar-layer>h3{margin:10px 0}.gray-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0e5}.gray-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{background:#0097A7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.gray-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.gray-theme .fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.gray-theme.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.gray-theme.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a{opacity:0;padding:6px 12px;margin:8px 0 8px 8px;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;background-color:#f5f5f5}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a:focus{background-color:#e8e8e8}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#e8e8e8}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:gainsboro}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#EcF5Ff;color:#0097A7}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{background-color:#e8e8e8}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#e8e8e8}.gray-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:gainsboro}.gray-theme.fr-show-tags .fr-modal-more svg path{fill:#0097A7}.gray-themediv.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}.gray-themediv.fr-modal-body .fr-preloader{margin:50px auto}.gray-themediv.fr-modal-body div.fr-image-list{margin:0 20px;padding:0}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;top:0;left:0;bottom:0;right:0}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{background:#CCCCCC}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{margin:auto;top:0;bottom:0;left:0;right:0}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container img{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;line-height:40px}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}.gray-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#F5F5F5;fill:#0097A7;padding:8px;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.gray-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.gray-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{width:40px;height:40px}.gray-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.gray-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#e8e8e8}.gray-theme .fr-line-breaker{border-top:1px solid #0097A7}.gray-theme .fr-line-breaker a.fr-floating-btn{left:calc(50% - (40px / 2));top:-20px}.gray-theme .fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px}.gray-theme .fr-quick-insert{padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.gray-theme .fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.gray-theme .fr-qi-helper{padding-left:20px}.gray-theme .fr-qi-helper a.fr-btn.fr-floating-btn{padding:6px 10px 10px 10px;color:#37474F;background:#F5F5F5;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.gray-theme .fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#37474F}.gray-theme .fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.gray-theme.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.gray-theme.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-size:16px}.gray-theme.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.gray-theme.fr-popup .fr-icon-container.fr-sc-container{width:368px}}.gray-theme .fr-element table td.fr-selected-cell,.gray-theme .fr-element table th.fr-selected-cell{border:1px double #0097A7}.gray-theme .fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme .fr-element table td,.gray-theme .fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.gray-theme .fr-element .fr-no-selection table td,.gray-theme .fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme .fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0097A7}.gray-theme .fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme.fr-popup .fr-table-size{margin:20px}.gray-theme.fr-popup .fr-table-size .fr-select-table-size{line-height:0}.gray-theme.fr-popup .fr-table-size .fr-select-table-size>span{padding:0 4px 4px 0}.gray-theme.fr-popup .fr-table-size .fr-select-table-size>span>span{border:1px solid #DDD}.gray-theme.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,151,167,0.3);border:solid 1px #0097A7}.gray-theme.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.gray-theme.fr-popup .fr-table-colors{padding:20px;padding-bottom:0}.gray-theme #fr-form-container{margin:auto;overflow:auto}.gray-theme .fr-range-value-start>span:before{width:0;height:0}.gray-theme .fr-range-value-end>span:before{width:0;height:0}.gray-theme .fr-range-slider>input{left:0}.gray-theme .fr-range-slider>input::-moz-range-thumb{z-index:10}.gray-theme .fr-range-slider>input::-moz-range-track{border:0}.gray-theme .fr-range-slider>input:last-of-type::-moz-range-track{border:0}.gray-theme .fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}.gray-theme .fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme .fr-element .fr-video::after{top:0;left:0;right:0;bottom:0}.gray-theme .fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme.fr-box .fr-video-resizer{border:solid 1px #0097A7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme.fr-box .fr-video-resizer .fr-handler{background:#0097A7;border:solid 1px #FFF;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.gray-theme.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.gray-theme.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.gray-theme.fr-popup .fr-video-upload-layer{border:dashed 2px #b7bdc0;padding:25px 0;margin:20px}.gray-theme.fr-popup .fr-video-upload-layer:hover{background:#e8e8e8}.gray-theme.fr-popup .fr-video-upload-layer.fr-drop{background:#e8e8e8;border-color:#0097A7}.gray-theme.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.gray-theme.fr-popup .fr-video-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.gray-theme.fr-popup .fr-video-progress-bar-layer>h3{margin:10px 0}.gray-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0e5}.gray-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{background:#0097A7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.gray-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.gray-theme.fr-video-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.gray-theme .fr-view img.fr-rounded,.gray-theme .fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme .fr-view img.fr-shadow,.gray-theme .fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.gray-theme .fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme .fr-view span[style~="color:"] a{color:inherit}.gray-theme .fr-view strong{font-weight:700}.gray-theme .fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.gray-theme .fr-view table td,.gray-theme .fr-view table th{border:1px solid #DDD}.gray-theme .fr-view table th{background:#ececec}.gray-theme .fr-view hr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme .fr-view[dir="rtl"] blockquote{border-right:solid 2px #5E35B1;margin-right:0;padding-left:0}.gray-theme .fr-view[dir="rtl"] blockquote blockquote{border-color:#00BCD4}.gray-theme .fr-view[dir="rtl"] blockquote blockquote blockquote{border-color:#43A047}.gray-theme .fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;color:#5E35B1}.gray-theme .fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.gray-theme .fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.gray-theme .fr-view span.fr-emoticon{line-height:0}.gray-theme .fr-view span.fr-emoticon.fr-emoticon-img{font-size:inherit}.gray-theme .fr-view .fr-text-bordered{padding:10px 0}.gray-theme .fr-view .fr-class-highlighted{background-color:#ffff00}.gray-theme .fr-view .fr-class-code{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5}.gray-theme .fr-view img.fr-dib{margin:5px auto}.gray-theme .fr-view img.fr-dib.fr-fil{margin-left:0}.gray-theme .fr-view img.fr-dib.fr-fir{margin-right:0}.gray-theme .fr-view img.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.gray-theme .fr-view img.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.gray-theme .fr-view img.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.gray-theme .fr-view span.fr-img-caption.fr-dib{margin:5px auto}.gray-theme .fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0}.gray-theme .fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0}.gray-theme .fr-view span.fr-img-caption.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.gray-theme .fr-view span.fr-img-caption.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.gray-theme .fr-view span.fr-img-caption.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.gray-theme .fr-view .fr-video.fr-rv{height:0}.gray-theme .fr-view .fr-video.fr-rv>iframe,.gray-theme .fr-view .fr-video.fr-rv object,.gray-theme .fr-view .fr-video.fr-rv embed{top:0;left:0}.gray-theme .fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme .fr-view a.fr-strong{font-weight:700}.gray-theme .fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto}.gray-theme .fr-view .fr-img-caption .fr-img-wrap img{margin:auto}.gray-theme .fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme .fr-view button.fr-rounded,.gray-theme .fr-view input.fr-rounded,.gray-theme .fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme a.fr-view.fr-strong{font-weight:700}.gray-theme img.fr-view.fr-dib{margin:5px auto}.gray-theme img.fr-view.fr-dib.fr-fil{margin-left:0}.gray-theme img.fr-view.fr-dib.fr-fir{margin-right:0}.gray-theme img.fr-view.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.gray-theme img.fr-view.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.gray-theme img.fr-view.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.gray-theme span.fr-img-caption.fr-view.fr-dib{margin:5px auto}.gray-theme span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0}.gray-theme span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0}.gray-theme span.fr-img-caption.fr-view.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.gray-theme span.fr-img-caption.fr-view.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.gray-theme span.fr-img-caption.fr-view.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.gray-theme .fr-element .fr-embedly{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme .fr-element .fr-embedly::after{top:0;left:0;right:0;bottom:0}.gray-theme .fr-element .fr-embedly>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme.fr-box .fr-embedly-resizer{border:solid 1px #0097A7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.gray-theme.fr-popup .fr-icon.fr-fa-icon{width:18px;padding:8px;margin:6px;font-size:16px}@supports not (-ms-high-contrast: none){.gray-theme.fr-popup .fr-icon-container.fr-fa-container{grid-template-columns:repeat(auto-fill, minmax(45px, 45px))}}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.gray-theme.fr-popup .fr-icon-container.fr-fa-container{width:506px}}.gray-theme .tui-image-editor-container{top:0;left:0;bottom:0;right:0;z-index:10}.gray-theme .tui-editor-cancel-btn{background-color:#FFF;border:1px solid #CCCCCC}.gray-theme .tui-editor-save-btn{color:#FFF}.gray-theme .examples-variante>a{font-size:14px;font-family:Arial, Helvetica, sans-serif}.gray-theme .sc-cm-holder>.sc-cm{border-top:5px solid #222222 !important}.gray-theme .sc-cm__item_dropdown:hover>a,.gray-theme .sc-cm a:hover{background-color:#e8e8e8 !important}.gray-theme .sc-cm__item_active>a,.gray-theme .sc-cm__item_active>a:hover,.gray-theme .sc-cm a:active,.gray-theme .sc-cm a:focus{background-color:#e8e8e8 !important}.gray-theme .sc-cm-holder>.sc-cm:before{background-color:#e8e8e8 !important}.gray-theme .fr-tooltip{top:0;left:0;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gray-theme .fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-toolbar .fr-command.fr-btn,.gray-theme.fr-popup .fr-command.fr-btn,.gray-theme.fr-modal .fr-command.fr-btn{color:#37474F;-moz-outline:0;border:0;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;height:40px}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.gray-theme.fr-popup .fr-command.fr-btn.fr-btn-hover,.gray-theme.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.gray-theme.fr-popup .fr-command.fr-btn::-moz-focus-inner,.gray-theme.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-btn-text,.gray-theme.fr-popup .fr-command.fr-btn.fr-btn-text,.gray-theme.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.gray-theme.fr-toolbar .fr-command.fr-btn i,.gray-theme.fr-toolbar .fr-command.fr-btn svg,.gray-theme.fr-popup .fr-command.fr-btn i,.gray-theme.fr-popup .fr-command.fr-btn svg,.gray-theme.fr-modal .fr-command.fr-btn i,.gray-theme.fr-modal .fr-command.fr-btn svg{margin:8px 7px;width:24px}.gray-theme.fr-toolbar .fr-command.fr-btn svg.fr-svg,.gray-theme.fr-popup .fr-command.fr-btn svg.fr-svg,.gray-theme.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.gray-theme.fr-toolbar .fr-command.fr-btn svg path,.gray-theme.fr-popup .fr-command.fr-btn svg path,.gray-theme.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#37474F}.gray-theme.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.gray-theme.fr-popup .fr-command.fr-btn span.fr-sr-only,.gray-theme.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.gray-theme.fr-toolbar .fr-command.fr-btn span,.gray-theme.fr-popup .fr-command.fr-btn span,.gray-theme.fr-modal .fr-command.fr-btn span{font-size:14px;line-height:17px;min-width:30px;height:17px;padding:0 4px}.gray-theme.fr-toolbar .fr-command.fr-btn img,.gray-theme.fr-popup .fr-command.fr-btn img,.gray-theme.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.gray-theme.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.gray-theme.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:gainsboro}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown i,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown span,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown img,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown svg,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown i,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown span,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown img,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown:after,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown:after{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #37474F;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#37474F;background:gainsboro;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#e8e8e8;fill:#37474F}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#37474F}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.gray-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.gray-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #37474F}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-disabled,.gray-theme.fr-popup .fr-command.fr-btn.fr-disabled,.gray-theme.fr-modal .fr-command.fr-btn.fr-disabled{color:#b7bdc0;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.gray-theme.fr-popup .fr-command.fr-btn.fr-disabled::after,.gray-theme.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:#b7bdc0}.gray-theme.fr-toolbar .fr-tabs .fr-command.fr-btn,.gray-theme.fr-popup .fr-tabs .fr-command.fr-btn,.gray-theme.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.gray-theme.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.gray-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.gray-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.gray-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.gray-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#F5F5F5}.gray-theme.fr-toolbar .fr-tabs .fr-command.fr-btn span,.gray-theme.fr-popup .fr-tabs .fr-command.fr-btn span,.gray-theme.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.gray-theme.fr-toolbar .fr-tabs .fr-command.fr-btn img,.gray-theme.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.gray-theme.fr-popup .fr-tabs .fr-command.fr-btn img,.gray-theme.fr-popup .fr-tabs .fr-command.fr-btn svg,.gray-theme.fr-modal .fr-tabs .fr-command.fr-btn img,.gray-theme.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.gray-theme.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.gray-theme.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0097A7}.gray-theme.fr-toolbar.fr-disabled .fr-btn,.gray-theme.fr-toolbar.fr-disabled .fr-btn.fr-active,.gray-theme.fr-popup.fr-disabled .fr-btn,.gray-theme.fr-popup.fr-disabled .fr-btn.fr-active,.gray-theme.fr-modal.fr-disabled .fr-btn,.gray-theme.fr-modal.fr-disabled .fr-btn.fr-active{color:#b7bdc0;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.gray-theme.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.gray-theme.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.gray-theme.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.gray-theme.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.gray-theme.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:#b7bdc0}.gray-theme.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.gray-theme.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.gray-theme.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.gray-theme.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.gray-theme.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.gray-theme.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.gray-theme.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.gray-theme.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.gray-theme.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.gray-theme.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.gray-theme.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.gray-theme.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.gray-theme.fr-desktop .fr-command:hover,.gray-theme.fr-desktop .fr-command:focus,.gray-theme.fr-desktop .fr-command.fr-btn-hover,.gray-theme.fr-desktop .fr-command.fr-expanded{outline:0;color:#37474F}.gray-theme.fr-desktop .fr-command:hover:not(.fr-table-cell),.gray-theme.fr-desktop .fr-command:focus:not(.fr-table-cell),.gray-theme.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.gray-theme.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#e8e8e8}.gray-theme.fr-desktop .fr-command:hover::after,.gray-theme.fr-desktop .fr-command:focus::after,.gray-theme.fr-desktop .fr-command.fr-btn-hover::after,.gray-theme.fr-desktop .fr-command.fr-expanded::after{border-top-color:#37474F}.gray-theme.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.gray-theme.fr-desktop .fr-command:active{color:#37474F;background:gainsboro}.gray-theme.fr-desktop .fr-command.fr-active:hover,.gray-theme.fr-desktop .fr-command.fr-active:focus,.gray-theme.fr-desktop .fr-command.fr-active.fr-btn-hover,.gray-theme.fr-desktop .fr-command.fr-active.fr-expanded{background:#e8e8e8}.gray-theme.fr-desktop .fr-command.fr-active:active{background:gainsboro}.gray-theme.fr-toolbar.fr-mobile .fr-command.fr-blink,.gray-theme.fr-popup.fr-mobile .fr-command.fr-blink{background:gainsboro}.gray-theme .fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.gray-theme .fr-command.fr-btn.fr-options.fr-btn-hover,.gray-theme .fr-command.fr-btn.fr-options:hover,.gray-theme .fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu{background:#F5F5F5;right:auto;bottom:auto;height:auto;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;height:0}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{margin:0;padding:8px 0;min-width:72px}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;color:inherit;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#37474F}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:gainsboro}.gray-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:#b7bdc0}.gray-theme .fr-command.fr-btn.fr-active+.fr-dropdown-menu{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.gray-theme .fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-modal{color:#37474F;font-family:Arial, Helvetica, sans-serif;overflow-x:auto;top:0;left:0;bottom:0;right:0;z-index:2147483640;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gray-theme.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.gray-theme.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;margin:20px auto;background:#FFF;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0}@media (min-width: 768px) and (max-width: 991px){.gray-theme.fr-modal .fr-modal-wrapper{margin:30px auto}}@media (min-width: 992px){.gray-theme.fr-modal .fr-modal-wrapper{margin:50px auto}}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-head{background:#FFF;min-height:42px;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;top:0;right:0}.gray-theme.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px}.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body{min-height:150px;overflow-y:auto;padding-bottom:20px}.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;color:#0097A7;padding:10px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#e8e8e8;color:#0097A7}.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:gainsboro;color:#0097A7}.gray-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.gray-theme.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#e8e8e8}.gray-theme.fr-overlay{top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-popup{color:#37474F;background:#F5F5F5;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gray-theme.fr-popup .fr-icon{font-size:20px;font-weight:400;padding:6px}.gray-theme.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.gray-theme.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px))}}@media (min-width: 768px){.gray-theme.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.gray-theme.fr-popup .fr-icon-container{width:236px}}.gray-theme.fr-popup .fr-input-focus{background:#ebebeb}.gray-theme.fr-popup.fr-above{border-top:0}.gray-theme.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-popup .fr-input-line{padding:15px 0}.gray-theme.fr-popup .fr-input-line input[type="text"],.gray-theme.fr-popup .fr-input-line textarea{margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#37474F;font-size:14px;background:#F5F5F5;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.gray-theme.fr-popup .fr-input-line input[type="text"]:hover,.gray-theme.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.gray-theme.fr-popup .fr-input-line input[type="text"]:focus,.gray-theme.fr-popup .fr-input-line textarea:focus{border:solid 2px #0097A7;padding:3px 11px}.gray-theme.fr-popup .fr-input-line input[type="text"]{height:46px}.gray-theme.fr-popup .fr-input-line input+label,.gray-theme.fr-popup .fr-input-line textarea+label{top:29px;left:12px;font-size:14px;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;background:#F5F5F5;padding:0}.gray-theme.fr-popup .fr-input-line input.fr-not-empty+label,.gray-theme.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.gray-theme.fr-popup input,.gray-theme.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-popup .fr-buttons{line-height:0}.gray-theme.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px}.gray-theme.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#cfcfcf}@media (max-width: 768px){.gray-theme.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{width:276px}}.gray-theme.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.gray-theme.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px}@media (min-width: 768px){.gray-theme.fr-popup .fr-layer{width:260px}}.gray-theme.fr-popup .fr-action-buttons{height:36px}.gray-theme.fr-popup .fr-action-buttons button.fr-command{height:36px;color:#0097A7;padding:10px;font-size:16px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-popup .fr-action-buttons button.fr-command:hover,.gray-theme.fr-popup .fr-action-buttons button.fr-command:focus{background:#e8e8e8;color:#0097A7}.gray-theme.fr-popup .fr-action-buttons button.fr-command:active{background:gainsboro;color:#0097A7}.gray-theme.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.gray-theme.fr-popup .fr-checkbox{width:18px;height:18px;padding:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.gray-theme.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;width:10px;height:10px}.gray-theme.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.gray-theme.fr-popup .fr-checkbox input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";height:18px;margin:0;padding:0;width:18px}.gray-theme.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.gray-theme.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.gray-theme.fr-popup .fr-checkbox input:not(:checked):focus+span,.gray-theme.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.gray-theme.fr-popup .fr-checkbox input:checked+span{background:#0097A7;border:solid 2px #0097A7}.gray-theme.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.gray-theme.fr-popup .fr-checkbox input:checked:focus+span,.gray-theme.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.gray-theme.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.gray-theme.fr-popup .fr-checkbox-line label{margin:0 5px}.gray-theme.fr-popup.fr-rtl .fr-input-line input+label,.gray-theme.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.gray-theme .fr-text-edit-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme.fr-toolbar{color:#37474F;background:#F5F5F5;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #CCCCCC;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.gray-theme.fr-toolbar::after{clear:both;display:block;content:"";height:0}.gray-theme.fr-toolbar::after{height:0}.gray-theme.fr-toolbar .fr-newline{margin-left:9px;margin-right:9px;background:#efefef;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.gray-theme.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.gray-theme.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.gray-theme.fr-toolbar .fr-more-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#cfcfcf;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gray-theme.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.gray-theme.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.gray-theme.fr-toolbar .fr-btn-grp{margin:0 17px 0 12px}@media (max-width: 768px){.gray-theme.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#cfcfcf}.gray-theme.fr-toolbar.fr-inline{-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;z-index:2147483630}.gray-theme.fr-toolbar.fr-inline.fr-above{border-top:0}.gray-theme.fr-toolbar.fr-inline .fr-newline{height:0}.gray-theme.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.gray-theme.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.gray-theme.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme .fr-separator{background:#ebebeb}.gray-theme .fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.gray-theme .fr-separator.fr-hs{width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.gray-theme .fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme .fr-second-toolbar::after{clear:both;display:block;content:"";height:0}.gray-theme #fr-logo>span{padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}.gray-theme #fr-logo>svg{height:20px;width:47px;margin:7px 0}.gray-theme #fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}.gray-theme #fr-logo:hover>span,.gray-theme #fr-logo:focus>span{color:#0097A7}.gray-theme #fr-logo:hover>svg .fr-logo,.gray-theme #fr-logo:focus>svg .fr-logo{fill:#0097A7} diff --git a/webroot/css/themes/royal.css b/webroot/css/themes/royal.css index 74b952a9..19644fb6 100644 --- a/webroot/css/themes/royal.css +++ b/webroot/css/themes/royal.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/themes/royal.min.css b/webroot/css/themes/royal.min.css index c44c028a..fe6141c7 100644 --- a/webroot/css/themes/royal.min.css +++ b/webroot/css/themes/royal.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.royal-theme.fr-box.fr-basic{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-box.fr-basic .fr-element{font-family:sans-serif;color:#414141;font-size:14px;line-height:1.6;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-x:auto;min-height:60px;text-align:left}.royal-theme .fr-element{-webkit-user-select:auto}.royal-theme .fr-element a{user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.royal-theme .fr-element.fr-disabled{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme.fr-box a.fr-floating-btn{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;height:40px;width:40px;background:#FFF;color:#333333;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;left:0;top:0;line-height:40px;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none}.royal-theme.fr-box a.fr-floating-btn svg{-webkit-transition:transform 0.2s ease 0s;-moz-transition:transform 0.2s ease 0s;-ms-transition:transform 0.2s ease 0s;-o-transition:transform 0.2s ease 0s;fill:#333333}.royal-theme.fr-box a.fr-floating-btn i,.royal-theme.fr-box a.fr-floating-btn svg{font-size:14px;line-height:40px}.royal-theme.fr-box a.fr-floating-btn:hover{background:#ebebeb}.royal-theme.fr-box a.fr-floating-btn:hover svg{fill:#333333}.royal-theme.fr-box .fr-visible a.fr-floating-btn{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.royal-theme iframe.fr-iframe{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme .fr-wrapper::after{clear:both;display:block;content:"";height:0}.royal-theme .fr-wrapper .fr-placeholder{font-size:14px;color:#AAA;font-family:sans-serif;top:0;left:0;right:0}.royal-theme .fr-wrapper ::-moz-selection{background:#b5d6fd;color:#000}.royal-theme .fr-wrapper ::selection{background:#b5d6fd;color:#000}.royal-theme.fr-box.fr-basic .fr-wrapper{background:#FFF;border:1px solid #CCCCCC;border-bottom-color:#efefef;top:0;left:0}.royal-theme.fr-box.fr-basic.fr-top .fr-wrapper{border-top:0}.royal-theme.fr-box.fr-basic.fr-bottom .fr-wrapper{border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}@media (min-width: 992px){.royal-theme .fr-box.fr-document .fr-wrapper{padding:30px;background:#efefef}.royal-theme .fr-box.fr-document .fr-wrapper .fr-element{background:#FFF;margin:auto;z-index:auto}.royal-theme .fr-box.fr-document .fr-wrapper .fr-element hr{background:#efefef}}.royal-theme .fr-sticky-on{z-index:10}.royal-theme .fr-sticky-on.fr-sticky-ios{left:0;right:0}.royal-theme span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.royal-theme .fr-opacity-0{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-box .fr-counter{padding:10px;color:#999999;font-size:14px;font-family:sans-serif;border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-box.fr-rtl .fr-counter{left:0;right:auto;border-radius:0 2px 0 0;-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme textarea.fr-code{resize:none;-moz-resize:none;-webkit-resize:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;background:#FFF;color:#000}.royal-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch{top:0;right:0;background:#FFF;color:#333333;-moz-outline:0;outline:0;border:0;padding:8px 7px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch i{font-size:24px;width:24px}.royal-theme.fr-box.fr-inline .fr-command.fr-btn.html-switch.fr-desktop:hover{background:#ebebeb}.royal-theme.fr-popup .fr-layer.fr-color-hex-layer{margin:0;padding:20px;padding-top:0}.royal-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-input-line{padding:15px 0 0}.royal-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons{width:38px;height:40px;padding:17px 0 0;margin:0}.royal-theme.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;font-size:13px;height:40px;width:38px}.royal-theme.fr-popup .fr-color-set{line-height:0}.royal-theme.fr-popup .fr-color-set.fr-selected-set{padding:20px;padding-bottom:0}.royal-theme.fr-popup .fr-color-set>span{width:32px;height:32px}.royal-theme.fr-popup .fr-color-set>span>i,.royal-theme.fr-popup .fr-color-set>span>svg{line-height:32px;height:24px;width:24px;margin:4px;font-size:13px;bottom:0;left:0}.royal-theme.fr-popup .fr-color-set>span>i path,.royal-theme.fr-popup .fr-color-set>span>svg path{fill:#222222}.royal-theme.fr-popup .fr-color-set>span .fr-selected-color{color:#FFF;font-size:13px;font-weight:400;line-height:32px;top:0;bottom:0;right:0;left:0}.royal-theme.fr-popup .fr-color-set>span:hover,.royal-theme.fr-popup .fr-color-set>span:focus{outline:1px solid #222222}.royal-theme.fr-rtl .fr-popup .fr-colors-tabs .fr-colors-tab.fr-selected-tab[data-param1="text"] ~ [data-param1="background"]::after{-webkit-transform:translate3d(100%, 0, 0);-moz-transform:translate3d(100%, 0, 0);-ms-transform:translate3d(100%, 0, 0);-o-transform:translate3d(100%, 0, 0)}.royal-theme .fr-drag-helper{background:#0098f7;-webkit-opacity:0.2;-moz-opacity:0.2;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";z-index:2147483640}.royal-theme .fr-dragging{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-popup .fr-emoticon{width:24px;height:24px}.royal-theme.fr-popup .fr-emoticon img{height:24px;width:24px}.royal-theme.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.royal-theme.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}.royal-theme.fr-popup .fr-file-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme.fr-popup .fr-file-upload-layer:hover{background:#ebebeb}.royal-theme.fr-popup .fr-file-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.royal-theme.fr-popup .fr-file-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.royal-theme.fr-popup .fr-file-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.royal-theme.fr-popup .fr-file-progress-bar-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme.fr-popup .fr-file-progress-bar-layer>h3{margin:10px 0}.royal-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader{background:#b3e0fd}.royal-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.royal-theme.fr-popup .fr-file-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.royal-theme .fr-element img{padding:0 1px}.royal-theme .fr-image-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-image-resizer .fr-handler{background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme .fr-image-resizer .fr-handler{width:12px;height:12px}.royal-theme .fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.royal-theme .fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.royal-theme .fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.royal-theme .fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.royal-theme .fr-image-resizer .fr-handler{width:10px;height:10px}.royal-theme .fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.royal-theme .fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.royal-theme .fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.royal-theme .fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.royal-theme.fr-image-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.royal-theme .fr-by-url-padding{padding:11.5px 0}.royal-theme.fr-popup .fr-upload-progress-layer{border-radius:0;overflow-y:auto}.royal-theme.fr-popup .fr-files-upload-layer{border:dashed 2px #bdbdbd;margin:20px}.royal-theme.fr-popup .fr-files-upload-layer:hover{background:#ebebeb}.royal-theme.fr-popup .fr-files-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.royal-theme.fr-popup .fr-files-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.royal-theme.fr-popup .fr-files-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.royal-theme.fr-popup .fr-files-progress-bar-layer>h3{margin:10px 0}.royal-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader{background:#b3e0fd}.royal-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.royal-theme.fr-popup .fr-files-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.royal-theme .fr-progress-bar{background-color:#4CAF50}.royal-theme .fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme .fr-icons{padding:10px 20px 0}.royal-theme .half-circle{border-bottom:0}.royal-theme .checkbox-container input{opacity:0;height:0;width:0}.royal-theme .checkmark{top:0;left:0}.royal-theme .fr-cloud-icon{margin:0 auto}.royal-theme .fr-files-checkbox{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-files-checkbox svg{width:10px;height:10px}.royal-theme .fr-files-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.royal-theme .fr-files-checkbox input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";height:18px;margin:0;padding:0;width:18px}.royal-theme .fr-files-checkbox input:not(:checked)+span{border:solid 2px #999999}.royal-theme .fr-files-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.royal-theme .fr-files-checkbox input:not(:checked):focus+span,.royal-theme .fr-files-checkbox input:not(:checked):hover+span{border-color:#515151}.royal-theme .fr-files-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.royal-theme .fr-files-checkbox input:checked:active+span{background-color:#EcF5Ff}.royal-theme .fr-files-checkbox input:checked:focus+span,.royal-theme .fr-files-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme .fr-checkbox-disabled{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-checkbox-disabled span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.royal-theme .fr-checkbox-disabled input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0;padding:0}.royal-theme .fr-checkbox-disabled input:not(:checked)+span{border:solid 2px #999999}.royal-theme .fr-checkbox-disabled input:not(:checked):active+span{background-color:#f5f5f5}.royal-theme .fr-checkbox-disabled input:checked+span{background:#0098f7;border:solid 2px #0098f7}.royal-theme .fr-checkbox-disabled input:checked:active+span{background-color:#EcF5Ff}.royal-theme .fr-files-manager-tooltip .tooltiptext{font-weight:100}.royal-theme .fr-file-view-modal{left:0;top:0;overflow:auto}.royal-theme .fr-file-view-image{top:0;bottom:0;left:0;right:0;margin:auto}.royal-theme .fr-file-error{font-weight:200}.royal-theme .fr-autoplay-checkbox-label{margin:0}.royal-theme .checkbox-container .checkmark:after{border-width:0 3px 3px 0}.royal-theme .file-item-details .file-description{font-weight:300}.royal-theme #myprogressBar{background-color:#4CAF50}.royal-theme .progress-circle{padding:0}.royal-theme .fr-hovered-over-file{background-color:#F0F0F0}.royal-theme.fr-box.fr-fullscreen{top:0;left:0;bottom:0;right:0}.royal-theme.fr-box.fr-fullscreen.fr-basic.fr-top .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-box.fr-fullscreen.fr-basic.fr-bottom .fr-wrapper{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-box.fr-fullscreen .fr-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-box.fr-fullscreen .fr-second-toolbar{margin-top:0;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tr{border:0}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody tr{border-bottom:solid 1px #ebebeb}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-body .fr-help-modal table tbody td:first-child{color:#646464}.royal-theme .fr-element img{padding:0 1px}.royal-theme .fr-image-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-image-resizer .fr-handler{background:#0098f7;border:solid 1px #FFF;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme .fr-image-resizer .fr-handler{width:12px;height:12px}.royal-theme .fr-image-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.royal-theme .fr-image-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.royal-theme .fr-image-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.royal-theme .fr-image-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.royal-theme .fr-image-resizer .fr-handler{width:10px;height:10px}.royal-theme .fr-image-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.royal-theme .fr-image-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.royal-theme .fr-image-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.royal-theme .fr-image-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.royal-theme.fr-image-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.royal-theme.fr-popup .fr-image-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px}.royal-theme.fr-popup .fr-image-upload-layer:hover{background:#ebebeb}.royal-theme.fr-popup .fr-image-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.royal-theme.fr-popup .fr-image-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.royal-theme.fr-popup .fr-image-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.royal-theme.fr-popup .fr-image-progress-bar-layer>h3{margin:10px 0}.royal-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader{background:#b3e0fd}.royal-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.royal-theme.fr-popup .fr-image-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.royal-theme .fr-uploading{-webkit-opacity:0.4;-moz-opacity:0.4;opacity:0.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-modal .fr-modal-head .fr-modal-head-line::after{clear:both;display:block;content:"";height:0}.royal-theme.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more{margin-top:10px}.royal-theme.fr-modal .fr-modal-head .fr-modal-head-line .fr-modal-more.fr-not-available{opacity:0;width:0;padding:12px 0}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags{padding:0 20px}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a{opacity:0;padding:6px 12px;margin:8px 0 8px 8px;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, background 0.2s ease 0s;background-color:#f5f5f5}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a:focus{background-color:#ebebeb}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a:hover{background-color:#ebebeb}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a:active{background-color:#d6d6d6}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag{background-color:#EcF5Ff;color:#0098f7}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:focus{background-color:#ebebeb}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:hover{background-color:#ebebeb}.royal-theme.fr-modal .fr-modal-head .fr-modal-tags a.fr-selected-tag:active{background-color:#d6d6d6}.royal-theme.fr-show-tags .fr-modal-more svg path{fill:#0098f7}.royal-themediv.fr-modal-body{-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s}.royal-themediv.fr-modal-body .fr-preloader{margin:50px auto}.royal-themediv.fr-modal-body div.fr-image-list{margin:0 20px;padding:0}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::after{-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;background:#000;top:0;left:0;bottom:0;right:0}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-image-deleting::before{color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty{background:#CCCCCC}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-empty::after{margin:auto;top:0;bottom:0;left:0;right:0}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container img{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s, filter 0.2s ease 0s;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container.fr-mobile-selected img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img,.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-transition:background 0.2s ease 0s, color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, color 0.2s ease 0s;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;line-height:40px}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img{background:#B8312F;fill:#FFF;padding:8px;-webkit-transform:translateY(-50%) translateX(25%);-moz-transform:translateY(-50%) translateX(25%);-ms-transform:translateY(-50%) translateX(25%);-o-transform:translateY(-50%) translateX(25%)}.royal-themediv.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img{background:#FFF;fill:#0098f7;padding:8px;-webkit-transform:translateY(-50%) translateX(-125%);-moz-transform:translateY(-50%) translateX(-125%);-ms-transform:translateY(-50%) translateX(-125%);-o-transform:translateY(-50%) translateX(-125%)}.royal-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover img{-webkit-opacity:0.75;-moz-opacity:0.75;opacity:0.75;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-delete-img,.royal-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container:hover .fr-insert-img{width:40px;height:40px}.royal-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-delete-img:hover{background:#bf4644;color:#FFF}.royal-theme.fr-desktop .fr-modal-wrapper div.fr-modal-body div.fr-image-list div.fr-image-container .fr-insert-img:hover{background:#ebebeb}.royal-theme .fr-line-breaker{border-top:1px solid #0098f7}.royal-theme .fr-line-breaker a.fr-floating-btn{left:calc(50% - (40px / 2));top:-20px}.royal-theme .fr-line-breaker a.fr-floating-btn svg{margin:8px;height:24px;width:24px}.royal-theme .fr-quick-insert{padding-right:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-quick-insert a.fr-floating-btn svg{margin:8px;width:24px;height:24px}.royal-theme .fr-quick-insert.fr-on a.fr-floating-btn svg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.royal-theme .fr-qi-helper{padding-left:20px}.royal-theme .fr-qi-helper a.fr-btn.fr-floating-btn{padding:6px 10px 10px 10px;color:#222222;background:#FFF;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0)}.royal-theme .fr-qi-helper a.fr-btn.fr-floating-btn svg{fill:#222222}.royal-theme .fr-qi-helper a.fr-btn.fr-floating-btn.fr-size-1{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1)}.royal-theme.fr-popup .fr-buttons.fr-tabs .fr-special-character-category{padding:10px 15px}.royal-theme.fr-popup .fr-buttons.fr-tabs .fr-special-character-category span{font-size:16px}.royal-theme.fr-popup .fr-special-character{width:24px;height:24px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.royal-theme.fr-popup .fr-icon-container.fr-sc-container{width:368px}}.royal-theme .fr-element table td.fr-selected-cell,.royal-theme .fr-element table th.fr-selected-cell{border:1px double #0098f7}.royal-theme .fr-element table tr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme .fr-element table td,.royal-theme .fr-element table th{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text}.royal-theme .fr-element .fr-no-selection table td,.royal-theme .fr-element .fr-no-selection table th{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme .fr-table-resizer div{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";border-right:1px solid #0098f7}.royal-theme .fr-no-selection{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme.fr-popup .fr-table-size{margin:20px}.royal-theme.fr-popup .fr-table-size .fr-select-table-size{line-height:0}.royal-theme.fr-popup .fr-table-size .fr-select-table-size>span{padding:0 4px 4px 0}.royal-theme.fr-popup .fr-table-size .fr-select-table-size>span>span{border:1px solid #DDD}.royal-theme.fr-popup .fr-table-size .fr-select-table-size>span.hover>span{background:rgba(0,152,247,0.3);border:solid 1px #0098f7}.royal-theme.fr-popup .fr-table-size .fr-select-table-size .new-line::after{clear:both;display:block;content:"";height:0}.royal-theme.fr-popup .fr-table-colors{padding:20px;padding-bottom:0}.royal-theme #fr-form-container{margin:auto;overflow:auto}.royal-theme .fr-range-value-start>span:before{width:0;height:0}.royal-theme .fr-range-value-end>span:before{width:0;height:0}.royal-theme .fr-range-slider>input{left:0}.royal-theme .fr-range-slider>input::-moz-range-thumb{z-index:10}.royal-theme .fr-range-slider>input::-moz-range-track{border:0}.royal-theme .fr-range-slider>input:last-of-type::-moz-range-track{border:0}.royal-theme .fr-range-slider>input[type="range"]::-moz-focus-outer{border:0}.royal-theme .fr-element .fr-video{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme .fr-element .fr-video::after{top:0;left:0;right:0;bottom:0}.royal-theme .fr-element .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme.fr-box .fr-video-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme.fr-box .fr-video-resizer .fr-handler{background:#0098f7;border:solid 1px #FFF;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme.fr-box .fr-video-resizer .fr-handler{width:12px;height:12px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-6px;top:-6px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-6px;top:-6px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-6px;bottom:-6px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-6px;bottom:-6px}@media (min-width: 1200px){.royal-theme.fr-box .fr-video-resizer .fr-handler{width:10px;height:10px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hnw{left:-5px;top:-5px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hne{right:-5px;top:-5px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hsw{left:-5px;bottom:-5px}.royal-theme.fr-box .fr-video-resizer .fr-handler.fr-hse{right:-5px;bottom:-5px}}.royal-theme.fr-popup .fr-video-upload-layer{border:dashed 2px #bdbdbd;padding:25px 0;margin:20px}.royal-theme.fr-popup .fr-video-upload-layer:hover{background:#ebebeb}.royal-theme.fr-popup .fr-video-upload-layer.fr-drop{background:#ebebeb;border-color:#0098f7}.royal-theme.fr-popup .fr-video-upload-layer .fr-form{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";top:0;bottom:0;left:0;right:0;z-index:2147483640}.royal-theme.fr-popup .fr-video-upload-layer .fr-form input{right:0;top:0;bottom:0;margin:0}.royal-theme.fr-popup .fr-video-progress-bar-layer>h3{margin:10px 0}.royal-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader{background:#b3e0fd}.royal-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader span{background:#0098f7;-webkit-transition:width 0.2s ease 0s;-moz-transition:width 0.2s ease 0s;-ms-transition:width 0.2s ease 0s;-o-transition:width 0.2s ease 0s}.royal-theme.fr-popup .fr-video-progress-bar-layer>div.fr-loader.fr-indeterminate span{top:0;-webkit-animation:loading 2s linear infinite;-moz-animation:loading 2s linear infinite;-o-animation:loading 2s linear infinite;animation:loading 2s linear infinite}.royal-theme.fr-video-overlay{top:0;left:0;bottom:0;right:0;z-index:2147483640}.royal-theme .fr-view img.fr-rounded,.royal-theme .fr-view .fr-img-caption.fr-rounded img{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme .fr-view img.fr-shadow,.royal-theme .fr-view .fr-img-caption.fr-shadow img{-webkit-box-shadow:10px 10px 5px 0px #cccccc;-moz-box-shadow:10px 10px 5px 0px #cccccc;box-shadow:10px 10px 5px 0px #cccccc}.royal-theme .fr-view img.fr-bordered{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-view .fr-img-caption.fr-bordered img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme .fr-view span[style~="color:"] a{color:inherit}.royal-theme .fr-view strong{font-weight:700}.royal-theme .fr-view table.fr-alternate-rows tbody tr:nth-child(2n){background:whitesmoke}.royal-theme .fr-view table td,.royal-theme .fr-view table th{border:1px solid #DDD}.royal-theme .fr-view table th{background:#ececec}.royal-theme .fr-view hr{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme .fr-view[dir="rtl"] blockquote{border-right:solid 2px #5E35B1;margin-right:0;padding-left:0}.royal-theme .fr-view[dir="rtl"] blockquote blockquote{border-color:#00BCD4}.royal-theme .fr-view[dir="rtl"] blockquote blockquote blockquote{border-color:#43A047}.royal-theme .fr-view blockquote{border-left:solid 2px #5E35B1;margin-left:0;color:#5E35B1}.royal-theme .fr-view blockquote blockquote{border-color:#00BCD4;color:#00BCD4}.royal-theme .fr-view blockquote blockquote blockquote{border-color:#43A047;color:#43A047}.royal-theme .fr-view span.fr-emoticon{line-height:0}.royal-theme .fr-view span.fr-emoticon.fr-emoticon-img{font-size:inherit}.royal-theme .fr-view .fr-text-bordered{padding:10px 0}.royal-theme .fr-view .fr-class-highlighted{background-color:#ffff00}.royal-theme .fr-view .fr-class-code{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f5f5f5}.royal-theme .fr-view img.fr-dib{margin:5px auto}.royal-theme .fr-view img.fr-dib.fr-fil{margin-left:0}.royal-theme .fr-view img.fr-dib.fr-fir{margin-right:0}.royal-theme .fr-view img.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.royal-theme .fr-view img.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.royal-theme .fr-view img.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.royal-theme .fr-view span.fr-img-caption.fr-dib{margin:5px auto}.royal-theme .fr-view span.fr-img-caption.fr-dib.fr-fil{margin-left:0}.royal-theme .fr-view span.fr-img-caption.fr-dib.fr-fir{margin-right:0}.royal-theme .fr-view span.fr-img-caption.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.royal-theme .fr-view span.fr-img-caption.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.royal-theme .fr-view span.fr-img-caption.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.royal-theme .fr-view .fr-video.fr-rv{height:0}.royal-theme .fr-view .fr-video.fr-rv>iframe,.royal-theme .fr-view .fr-video.fr-rv object,.royal-theme .fr-view .fr-video.fr-rv embed{top:0;left:0}.royal-theme .fr-view .fr-video>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme .fr-view a.fr-strong{font-weight:700}.royal-theme .fr-view .fr-img-caption .fr-img-wrap{padding:0;margin:auto}.royal-theme .fr-view .fr-img-caption .fr-img-wrap img{margin:auto}.royal-theme .fr-view .fr-img-caption .fr-img-wrap>span{margin:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-opacity:0.9;-moz-opacity:0.9;opacity:0.9;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme .fr-view button.fr-rounded,.royal-theme .fr-view input.fr-rounded,.royal-theme .fr-view textarea.fr-rounded{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme a.fr-view.fr-strong{font-weight:700}.royal-theme img.fr-view.fr-dib{margin:5px auto}.royal-theme img.fr-view.fr-dib.fr-fil{margin-left:0}.royal-theme img.fr-view.fr-dib.fr-fir{margin-right:0}.royal-theme img.fr-view.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.royal-theme img.fr-view.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.royal-theme img.fr-view.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.royal-theme span.fr-img-caption.fr-view.fr-dib{margin:5px auto}.royal-theme span.fr-img-caption.fr-view.fr-dib.fr-fil{margin-left:0}.royal-theme span.fr-img-caption.fr-view.fr-dib.fr-fir{margin-right:0}.royal-theme span.fr-img-caption.fr-view.fr-dii{margin-left:5px;margin-right:5px;max-width:calc(100% - (2 * 5px))}.royal-theme span.fr-img-caption.fr-view.fr-dii.fr-fil{margin:5px 5px 5px 0;max-width:calc(100% - 5px)}.royal-theme span.fr-img-caption.fr-view.fr-dii.fr-fir{margin:5px 0 5px 5px;max-width:calc(100% - 5px)}.royal-theme .fr-element .fr-embedly{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme .fr-element .fr-embedly::after{top:0;left:0;right:0;bottom:0}.royal-theme .fr-element .fr-embedly>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme.fr-box .fr-embedly-resizer{border:solid 1px #0098f7;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.royal-theme.fr-popup .fr-icon.fr-fa-icon{width:18px;padding:8px;margin:6px;font-size:16px}@supports not (-ms-high-contrast: none){.royal-theme.fr-popup .fr-icon-container.fr-fa-container{grid-template-columns:repeat(auto-fill, minmax(45px, 45px))}}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.royal-theme.fr-popup .fr-icon-container.fr-fa-container{width:506px}}.royal-theme .tui-image-editor-container{top:0;left:0;bottom:0;right:0;z-index:10}.royal-theme .tui-editor-cancel-btn{background-color:#FFF;border:1px solid #CCCCCC}.royal-theme .tui-editor-save-btn{color:#FFF}.royal-theme .examples-variante>a{font-size:14px;font-family:Arial, Helvetica, sans-serif}.royal-theme .sc-cm-holder>.sc-cm{border-top:5px solid #222222 !important}.royal-theme .sc-cm__item_dropdown:hover>a,.royal-theme .sc-cm a:hover{background-color:#ebebeb !important}.royal-theme .sc-cm__item_active>a,.royal-theme .sc-cm__item_active>a:hover,.royal-theme .sc-cm a:active,.royal-theme .sc-cm a:focus{background-color:#d6d6d6 !important}.royal-theme .sc-cm-holder>.sc-cm:before{background-color:#ebebeb !important}.royal-theme .fr-tooltip{top:0;left:0;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#222222;color:#FFF;font-size:11px;line-height:22px;font-family:Arial, Helvetica, sans-serif;-webkit-transition:opacity 0.2s ease 0s;-moz-transition:opacity 0.2s ease 0s;-ms-transition:opacity 0.2s ease 0s;-o-transition:opacity 0.2s ease 0s;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.royal-theme .fr-tooltip.fr-visible{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-toolbar .fr-command.fr-btn,.royal-theme.fr-popup .fr-command.fr-btn,.royal-theme.fr-modal .fr-command.fr-btn{color:#333333;-moz-outline:0;border:0;margin:4px 2px;padding:0;-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;height:40px}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-options,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-options,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-options{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-btn-hover,.royal-theme.fr-popup .fr-command.fr-btn.fr-btn-hover,.royal-theme.fr-modal .fr-command.fr-btn.fr-btn-hover{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar .fr-command.fr-btn::-moz-focus-inner,.royal-theme.fr-popup .fr-command.fr-btn::-moz-focus-inner,.royal-theme.fr-modal .fr-command.fr-btn::-moz-focus-inner{border:0}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-btn-text,.royal-theme.fr-popup .fr-command.fr-btn.fr-btn-text,.royal-theme.fr-modal .fr-command.fr-btn.fr-btn-text{width:auto}.royal-theme.fr-toolbar .fr-command.fr-btn i,.royal-theme.fr-toolbar .fr-command.fr-btn svg,.royal-theme.fr-popup .fr-command.fr-btn i,.royal-theme.fr-popup .fr-command.fr-btn svg,.royal-theme.fr-modal .fr-command.fr-btn i,.royal-theme.fr-modal .fr-command.fr-btn svg{margin:8px 7px;width:24px}.royal-theme.fr-toolbar .fr-command.fr-btn svg.fr-svg,.royal-theme.fr-popup .fr-command.fr-btn svg.fr-svg,.royal-theme.fr-modal .fr-command.fr-btn svg.fr-svg{height:24px}.royal-theme.fr-toolbar .fr-command.fr-btn svg path,.royal-theme.fr-popup .fr-command.fr-btn svg path,.royal-theme.fr-modal .fr-command.fr-btn svg path{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-ms-transition:all 0.5s;-o-transition:all 0.5s;fill:#333333}.royal-theme.fr-toolbar .fr-command.fr-btn span.fr-sr-only,.royal-theme.fr-popup .fr-command.fr-btn span.fr-sr-only,.royal-theme.fr-modal .fr-command.fr-btn span.fr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.royal-theme.fr-toolbar .fr-command.fr-btn span,.royal-theme.fr-popup .fr-command.fr-btn span,.royal-theme.fr-modal .fr-command.fr-btn span{font-size:14px;line-height:17px;min-width:30px;height:17px;padding:0 4px}.royal-theme.fr-toolbar .fr-command.fr-btn img,.royal-theme.fr-popup .fr-command.fr-btn img,.royal-theme.fr-modal .fr-command.fr-btn img{margin:8px 7px;width:24px}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-btn-active-popup,.royal-theme.fr-popup .fr-command.fr-btn.fr-btn-active-popup,.royal-theme.fr-modal .fr-command.fr-btn.fr-btn-active-popup{background:#d6d6d6}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown span,.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown img,.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown svg,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown i,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown span,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown img,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown svg,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown i,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown span,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown img,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown svg{margin-left:3px;margin-right:11px}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown:after,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown:after,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown:after{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #333333;right:2px;top:18px;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;-o-transition:all 0.3s}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active{fill:#333333;background:#d6d6d6;-webkit-transition:0.5s ease;-moz-transition:0.5s ease;-ms-transition:0.5s ease;-o-transition:0.5s ease}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover{background:#ebebeb;fill:#333333}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:hover::after{border-top-color:#333333}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:after,.royal-theme.fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:after,.royal-theme.fr-modal .fr-command.fr-btn.fr-dropdown.fr-active:after{border-top:0;border-bottom:4px solid #222222}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-disabled,.royal-theme.fr-popup .fr-command.fr-btn.fr-disabled,.royal-theme.fr-modal .fr-command.fr-btn.fr-disabled{color:#bdbdbd;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-disabled::after,.royal-theme.fr-popup .fr-command.fr-btn.fr-disabled::after,.royal-theme.fr-modal .fr-command.fr-btn.fr-disabled::after{border-top-color:#bdbdbd}.royal-theme.fr-toolbar .fr-tabs .fr-command.fr-btn,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn{margin:0;width:46px;height:40px;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.royal-theme.fr-toolbar .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#FFF}.royal-theme.fr-toolbar .fr-tabs .fr-command.fr-btn span,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn span,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn span{height:27px}.royal-theme.fr-toolbar .fr-tabs .fr-command.fr-btn img,.royal-theme.fr-toolbar .fr-tabs .fr-command.fr-btn svg,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn img,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn svg,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn img,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn svg{margin:8px 11px;width:24px;height:24px}.royal-theme.fr-toolbar .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-toolbar .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-toolbar .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-popup .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-popup .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-popup .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-modal .fr-btn-grp .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-modal .fr-more-toolbar .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path,.royal-theme.fr-modal .fr-buttons:not(.fr-tabs) .fr-command.fr-btn.fr-active:not(.fr-dropdown) svg path{fill:#0098f7}.royal-theme.fr-toolbar.fr-disabled .fr-btn,.royal-theme.fr-toolbar.fr-disabled .fr-btn.fr-active,.royal-theme.fr-popup.fr-disabled .fr-btn,.royal-theme.fr-popup.fr-disabled .fr-btn.fr-active,.royal-theme.fr-modal.fr-disabled .fr-btn,.royal-theme.fr-modal.fr-disabled .fr-btn.fr-active{color:#bdbdbd;-webkit-opacity:0.3;-moz-opacity:0.3;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,.royal-theme.fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.royal-theme.fr-popup.fr-disabled .fr-btn.fr-dropdown::after,.royal-theme.fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after,.royal-theme.fr-modal.fr-disabled .fr-btn.fr-dropdown::after,.royal-theme.fr-modal.fr-disabled .fr-btn.fr-active.fr-dropdown::after{border-top-color:#bdbdbd}.royal-theme.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.royal-theme.fr-toolbar.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.royal-theme.fr-popup.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.royal-theme.fr-popup.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options,.royal-theme.fr-modal.fr-rtl .fr-command.fr-btn.fr-dropdown.fr-options,.royal-theme.fr-modal.fr-rtl .fr-btn-wrap.fr-dropdown.fr-options{border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar.fr-rtl .fr-command.fr-btn.fr-btn-hover,.royal-theme.fr-toolbar.fr-rtl .fr-btn-wrap.fr-btn-hover,.royal-theme.fr-popup.fr-rtl .fr-command.fr-btn.fr-btn-hover,.royal-theme.fr-popup.fr-rtl .fr-btn-wrap.fr-btn-hover,.royal-theme.fr-modal.fr-rtl .fr-command.fr-btn.fr-btn-hover,.royal-theme.fr-modal.fr-rtl .fr-btn-wrap.fr-btn-hover{border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar.fr-inline>.fr-command.fr-btn:not(.fr-hidden),.royal-theme.fr-toolbar.fr-inline>.fr-btn-wrap:not(.fr-hidden){display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.royal-theme.fr-desktop .fr-command:hover,.royal-theme.fr-desktop .fr-command:focus,.royal-theme.fr-desktop .fr-command.fr-btn-hover,.royal-theme.fr-desktop .fr-command.fr-expanded{outline:0;color:#333333}.royal-theme.fr-desktop .fr-command:hover:not(.fr-table-cell),.royal-theme.fr-desktop .fr-command:focus:not(.fr-table-cell),.royal-theme.fr-desktop .fr-command.fr-btn-hover:not(.fr-table-cell),.royal-theme.fr-desktop .fr-command.fr-expanded:not(.fr-table-cell){background:#ebebeb}.royal-theme.fr-desktop .fr-command:hover::after,.royal-theme.fr-desktop .fr-command:focus::after,.royal-theme.fr-desktop .fr-command.fr-btn-hover::after,.royal-theme.fr-desktop .fr-command.fr-expanded::after{border-top-color:#333333}.royal-theme.fr-desktop .fr-command.fr-selected:not(.fr-table-cell),.royal-theme.fr-desktop .fr-command:active{color:#333333;background:#d6d6d6}.royal-theme.fr-desktop .fr-command.fr-active:hover,.royal-theme.fr-desktop .fr-command.fr-active:focus,.royal-theme.fr-desktop .fr-command.fr-active.fr-btn-hover,.royal-theme.fr-desktop .fr-command.fr-active.fr-expanded{background:#ebebeb}.royal-theme.fr-desktop .fr-command.fr-active:active{background:#d6d6d6}.royal-theme.fr-toolbar.fr-mobile .fr-command.fr-blink,.royal-theme.fr-popup.fr-mobile .fr-command.fr-blink{background:#d6d6d6}.royal-theme .fr-command.fr-btn.fr-options{width:16px;margin-left:-5px}.royal-theme .fr-command.fr-btn.fr-options.fr-btn-hover,.royal-theme .fr-command.fr-btn.fr-options:hover,.royal-theme .fr-command.fr-btn.fr-options:focus{border-left:solid 1px #FAFAFA;-webkit-transition:border-left 0s, background-color 0.5s;-moz-transition:border-left 0s, background-color 0.5s;-ms-transition:border-left 0s, background-color 0.5s;-o-transition:border-left 0s, background-color 0.5s}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu{background:#FFF;right:auto;bottom:auto;height:auto;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu.test-height .fr-dropdown-wrapper{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;height:auto;max-height:275px}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper{padding:0;margin:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height 0.3s;-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;margin-top:0;height:0}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list{margin:0;padding:8px 0;min-width:72px}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li{padding:0;margin:0;font-size:15px}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a{padding:0 20px;color:inherit;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg{width:24px;height:24px;margin:3px 4px}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a svg path{fill:#333333}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active{background:#d6d6d6}.royal-theme .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled{color:#bdbdbd}.royal-theme .fr-command.fr-btn.fr-active+.fr-dropdown-menu{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);box-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12)}.royal-theme .fr-bottom>.fr-command.fr-btn+.fr-dropdown-menu{border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-modal{color:#222222;font-family:Arial, Helvetica, sans-serif;overflow-x:auto;top:0;left:0;bottom:0;right:0;z-index:2147483640;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.royal-theme.fr-modal.fr-middle .fr-modal-wrapper{margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%)}.royal-theme.fr-modal .fr-modal-wrapper{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;margin:20px auto;background:#FFF;min-width:300px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0}@media (min-width: 768px) and (max-width: 991px){.royal-theme.fr-modal .fr-modal-wrapper{margin:30px auto}}@media (min-width: 992px){.royal-theme.fr-modal .fr-modal-wrapper{margin:50px auto}}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-head{background:#FFF;min-height:42px;border-bottom:solid #efefef 1px;-webkit-transition:all 0.2s ease 0s;-moz-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-head-line{height:56px;padding:0 10px}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close{margin:10px;top:0;right:0}.royal-theme.fr-modal .fr-modal-wrapper .fr-modal-head h4{font-size:20px;padding:19px 10px;margin:0;font-weight:400;line-height:18px}.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body{min-height:150px;overflow-y:auto;padding-bottom:20px}.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body:focus{outline:0}.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command{height:36px;color:#0098f7;padding:10px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus{background:#ebebeb;color:#0098f7}.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active{background:#d6d6d6;color:#0098f7}.royal-theme.fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner{border:0}.royal-theme.fr-desktop .fr-modal-wrapper .fr-modal-head i:hover{background:#ebebeb}.royal-theme.fr-overlay{top:0;bottom:0;left:0;right:0;background:#000;-webkit-opacity:0.5;-moz-opacity:0.5;opacity:0.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-popup{color:#222222;background:#FFF;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-top:10px;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.royal-theme.fr-popup .fr-icon{font-size:20px;font-weight:400;padding:6px}.royal-theme.fr-popup .fr-icon-container{padding:20px;max-height:200px;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@supports not (-ms-high-contrast: none){.royal-theme.fr-popup .fr-icon-container{grid-template-columns:repeat(auto-fill, minmax(36px, 36px))}}@media (min-width: 768px){.royal-theme.fr-popup .fr-icon-container{min-width:276px}}@media screen and (-ms-high-contrast: active) and (max-width: 768px), (-ms-high-contrast: none) and (max-width: 768px){.royal-theme.fr-popup .fr-icon-container{width:236px}}.royal-theme.fr-popup .fr-input-focus{background:whitesmoke}.royal-theme.fr-popup.fr-above{border-top:0}.royal-theme.fr-popup.fr-hidden{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-popup .fr-input-line{padding:15px 0}.royal-theme.fr-popup .fr-input-line input[type="text"],.royal-theme.fr-popup .fr-input-line textarea{margin-bottom:1px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:solid 1px #999999;color:#222222;font-size:14px;background:#FFF;padding:4px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border 0.5s, padding 0.5s;-moz-transition:border 0.5s, padding 0.5s;-ms-transition:border 0.5s, padding 0.5s;-o-transition:border 0.5s, padding 0.5s}.royal-theme.fr-popup .fr-input-line input[type="text"]:hover,.royal-theme.fr-popup .fr-input-line textarea:hover{border:solid 1px #515151}.royal-theme.fr-popup .fr-input-line input[type="text"]:focus,.royal-theme.fr-popup .fr-input-line textarea:focus{border:solid 2px #0098f7;padding:3px 11px}.royal-theme.fr-popup .fr-input-line input[type="text"]{height:46px}.royal-theme.fr-popup .fr-input-line input+label,.royal-theme.fr-popup .fr-input-line textarea+label{top:29px;left:12px;font-size:14px;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-ms-transition:all 0.5s ease;-o-transition:all 0.5s ease;background:#FFF;padding:0}.royal-theme.fr-popup .fr-input-line input.fr-not-empty+label,.royal-theme.fr-popup .fr-input-line textarea.fr-not-empty+label{color:gray;width:auto;left:4px;padding:0 4px;font-size:11px;top:9px}.royal-theme.fr-popup input,.royal-theme.fr-popup textarea{user-select:text;-o-user-select:text;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:text;-ms-user-select:text;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-popup .fr-buttons{line-height:0}.royal-theme.fr-popup .fr-buttons .fr-btn{margin-left:4px;margin-right:4px}.royal-theme.fr-popup .fr-buttons.fr-tabs{border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5}@media (max-width: 768px){.royal-theme.fr-popup .fr-buttons.fr-tabs.fr-tabs-scroll{width:276px}}.royal-theme.fr-popup .fr-buttons:not(.fr-tabs){padding:5px}.royal-theme.fr-popup .fr-layer{border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:195px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:20px}@media (min-width: 768px){.royal-theme.fr-popup .fr-layer{width:260px}}.royal-theme.fr-popup .fr-action-buttons{height:36px}.royal-theme.fr-popup .fr-action-buttons button.fr-command{height:36px;color:#0098f7;padding:10px;font-size:16px;-webkit-transition:background 0.2s ease 0s;-moz-transition:background 0.2s ease 0s;-ms-transition:background 0.2s ease 0s;-o-transition:background 0.2s ease 0s;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-popup .fr-action-buttons button.fr-command:hover,.royal-theme.fr-popup .fr-action-buttons button.fr-command:focus{background:#ebebeb;color:#0098f7}.royal-theme.fr-popup .fr-action-buttons button.fr-command:active{background:#d6d6d6;color:#0098f7}.royal-theme.fr-popup .fr-action-buttons button::-moz-focus-inner{border:0}.royal-theme.fr-popup .fr-checkbox{width:18px;height:18px;padding:10px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.royal-theme.fr-popup .fr-checkbox svg{margin-left:2px;margin-top:2px;width:10px;height:10px}.royal-theme.fr-popup .fr-checkbox span{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;width:18px;height:18px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-moz-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-ms-transition:background 0.2s ease 0s, border-color 0.2s ease 0s;-o-transition:background 0.2s ease 0s, border-color 0.2s ease 0s}.royal-theme.fr-popup .fr-checkbox input{-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";height:18px;margin:0;padding:0;width:18px}.royal-theme.fr-popup .fr-checkbox input:not(:checked)+span{border:solid 2px #999999}.royal-theme.fr-popup .fr-checkbox input:not(:checked):active+span{background-color:#f5f5f5}.royal-theme.fr-popup .fr-checkbox input:not(:checked):focus+span,.royal-theme.fr-popup .fr-checkbox input:not(:checked):hover+span{border-color:#515151}.royal-theme.fr-popup .fr-checkbox input:checked+span{background:#0098f7;border:solid 2px #0098f7}.royal-theme.fr-popup .fr-checkbox input:checked:active+span{background-color:#EcF5Ff}.royal-theme.fr-popup .fr-checkbox input:checked:focus+span,.royal-theme.fr-popup .fr-checkbox input:checked:hover+span{-webkit-opacity:0.8;-moz-opacity:0.8;opacity:0.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}.royal-theme.fr-popup .fr-checkbox-line{font-size:14px;line-height:1.4px;margin-top:10px}.royal-theme.fr-popup .fr-checkbox-line label{margin:0 5px}.royal-theme.fr-popup.fr-rtl .fr-input-line input+label,.royal-theme.fr-popup.fr-rtl .fr-input-line textarea+label{left:auto;right:0}.royal-theme .fr-text-edit-layer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme.fr-toolbar{color:#222222;background:#FFF;font-family:Arial, Helvetica, sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #CCCCCC;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:0;-webkit-transition:padding-bottom 0.5s;-moz-transition:padding-bottom 0.5s;-ms-transition:padding-bottom 0.5s;-o-transition:padding-bottom 0.5s}.royal-theme.fr-toolbar::after{clear:both;display:block;content:"";height:0}.royal-theme.fr-toolbar::after{height:0}.royal-theme.fr-toolbar .fr-newline{margin-left:9px;margin-right:9px;background:#efefef;height:1px;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s}.royal-theme.fr-toolbar.fr-toolbar-open{padding-bottom:48px}.royal-theme.fr-toolbar.fr-toolbar-open .fr-newline{height:0}.royal-theme.fr-toolbar .fr-more-toolbar{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#f5f5f5;-webkit-transition:height 0.5s;-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.royal-theme.fr-toolbar .fr-more-toolbar.fr-expanded{height:48px}.royal-theme.fr-toolbar .fr-more-toolbar>.fr-command.fr-btn{margin-left:4px;margin-right:4px}.royal-theme.fr-toolbar .fr-btn-grp{margin:0 17px 0 12px}@media (max-width: 768px){.royal-theme.fr-toolbar .fr-btn-grp{margin:0 7px 0 6px}}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-open{margin-top:10px;margin-bottom:-1px;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar .fr-command.fr-btn.fr-open:not(:hover):not(:focus):not(:active){background:#f5f5f5}.royal-theme.fr-toolbar.fr-inline{-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);-moz-box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);box-shadow:0 3px 5px -1px rgba(0,0,0,0.2),0 6px 10px 0 rgba(0,0,0,0.14),0 1px 18px 0 rgba(0,0,0,0.12);border:0;z-index:2147483630}.royal-theme.fr-toolbar.fr-inline.fr-above{border-top:0}.royal-theme.fr-toolbar.fr-inline .fr-newline{height:0}.royal-theme.fr-toolbar.fr-top{top:0;border-bottom:0;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar.fr-bottom{bottom:0;border-top:0;padding-bottom:0;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar.fr-bottom .fr-newline{padding-top:0;-webkit-transition:padding-top 0.5s;-moz-transition:padding-top 0.5s;-ms-transition:padding-top 0.5s;-o-transition:padding-top 0.5s}.royal-theme.fr-toolbar.fr-bottom.fr-toolbar-open .fr-newline{padding-top:48px;background:#FFF}.royal-theme.fr-toolbar.fr-bottom .fr-command.fr-btn.fr-open{margin-top:-1px;margin-bottom:10px;border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme.fr-toolbar.fr-sticky-on{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme .fr-separator{background:#ebebeb}.royal-theme .fr-separator.fr-vs{height:32px;width:1px;margin:8px 4px}.royal-theme .fr-separator.fr-hs{width:calc(100% - (2 * 4px));margin:0 4px;height:1px}.royal-theme .fr-second-toolbar{border:1px solid #CCCCCC;border-top:0;background:#FFF;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.royal-theme .fr-second-toolbar::after{clear:both;display:block;content:"";height:0}.royal-theme #fr-logo>span{padding:11px 5px 10px 15px;font-size:12px;font-weight:500;color:#b1b2b7;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-ms-transition:color 0.3s;-o-transition:color 0.3s}.royal-theme #fr-logo>svg{height:20px;width:47px;margin:7px 0}.royal-theme #fr-logo>svg *{-webkit-transition:fill 0.3s;-moz-transition:fill 0.3s;-ms-transition:fill 0.3s;-o-transition:fill 0.3s}.royal-theme #fr-logo:hover>span,.royal-theme #fr-logo:focus>span{color:#0098f7}.royal-theme #fr-logo:hover>svg .fr-logo,.royal-theme #fr-logo:focus>svg .fr-logo{fill:#0098f7} diff --git a/webroot/css/third_party/embedly.css b/webroot/css/third_party/embedly.css index 1a232221..01d9dff2 100644 --- a/webroot/css/third_party/embedly.css +++ b/webroot/css/third_party/embedly.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/third_party/embedly.min.css b/webroot/css/third_party/embedly.min.css index 85a0747d..7ad37922 100644 --- a/webroot/css/third_party/embedly.min.css +++ b/webroot/css/third_party/embedly.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-element .fr-embedly{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;position:relative}.fr-element .fr-embedly::after{position:absolute;z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.fr-element .fr-embedly>*{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}.fr-box .fr-embedly-resizer{position:absolute;z-index:2;border:solid 1px #0098f7;display:none;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.fr-box .fr-embedly-resizer.fr-active{display:block} diff --git a/webroot/css/third_party/font_awesome.css b/webroot/css/third_party/font_awesome.css index ec63f73c..ec721c12 100644 --- a/webroot/css/third_party/font_awesome.css +++ b/webroot/css/third_party/font_awesome.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/third_party/font_awesome.min.css b/webroot/css/third_party/font_awesome.min.css index 7b69e201..44730ff7 100644 --- a/webroot/css/third_party/font_awesome.min.css +++ b/webroot/css/third_party/font_awesome.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-icon.fr-fa-icon{width:18px;padding:8px;margin:6px;font-size:16px}@supports not (-ms-high-contrast: none){.fr-popup .fr-icon-container.fr-fa-container{grid-template-columns:repeat(auto-fill, minmax(45px, 45px))}}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-fa-container{width:506px}} diff --git a/webroot/css/third_party/image_tui.css b/webroot/css/third_party/image_tui.css index 317567e4..48253c30 100644 --- a/webroot/css/third_party/image_tui.css +++ b/webroot/css/third_party/image_tui.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/third_party/image_tui.min.css b/webroot/css/third_party/image_tui.min.css index b59fa4df..e7270501 100644 --- a/webroot/css/third_party/image_tui.min.css +++ b/webroot/css/third_party/image_tui.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.tui-image-editor-container{position:fixed;top:0;left:0;bottom:0;right:0;height:100%;width:100%;z-index:10}.tui-editor-cancel-btn{background-color:#FFF;border:1px solid #ccc;color:#222}.tui-editor-save-btn{background-color:#fdba3b;border:1px solid #fdba3b;color:#FFF} diff --git a/webroot/css/third_party/spell_checker.css b/webroot/css/third_party/spell_checker.css index 1dbe67c8..6f27e39a 100644 --- a/webroot/css/third_party/spell_checker.css +++ b/webroot/css/third_party/spell_checker.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after { diff --git a/webroot/css/third_party/spell_checker.min.css b/webroot/css/third_party/spell_checker.min.css index 28dd7e80..0399aa98 100644 --- a/webroot/css/third_party/spell_checker.min.css +++ b/webroot/css/third_party/spell_checker.min.css @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ .fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.examples-variante>a{font-size:14px;font-family:Arial,Helvetica,sans-serif}.sc-cm-holder>.sc-cm{border-top:5px solid #222 !important;padding:0 !important;line-height:200% !important}.sc-cm .sc-cm__item.examples-variante.sc-cm__item_active>a>i{display:none !important}.sc-cm .sc-cm__item.examples-variante>a>i{display:none !important}.sc-cm__item_dropdown .i-icon{display:none !important}.sc-cm__item_dropdown .i-icon::before{display:none !important}.sc-cm::before{display:none !important}div.sc-cm-holder.sc-cm_show>ul>li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow>div>ul{border-style:none !important;padding:0 !important}.sc-cm__item_dropdown:hover>a,.sc-cm a:hover{background-color:#ebebeb !important}.sc-cm__item_active>a,.sc-cm__item_active>a:hover,.sc-cm a:active,.sc-cm a:focus{background-color:#d6d6d6 !important}.sc-cm__item>a{line-height:200% !important}.sc-cm-holder>.sc-cm:before{background-color:#ebebeb !important}.sc-cm-holder{display:none} diff --git a/webroot/js/froala_editor.min.js b/webroot/js/froala_editor.min.js index 3520cfb6..8f06684a 100644 --- a/webroot/js/froala_editor.min.js +++ b/webroot/js/froala_editor.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FroalaEditor=t()}(this,function(){"use strict";function N(e){return(N="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)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-1")},closeTagString:function u(e){return"")},isFirstSibling:function h(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&t&&a.node.hasClass(n,"fr-marker");)n=n.previousSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&h(n)},isLastSibling:function g(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&t&&a.node.hasClass(n,"fr-marker");)n=n.nextSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&g(n)},isList:function m(e){return!!e&&0<=["UL","OL"].indexOf(e.tagName)},isLink:function C(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&"a"===e.tagName.toLowerCase()},isElement:r,contents:s,isVoid:function v(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=V.VOID_ELEMENTS.indexOf((e.tagName||"").toLowerCase())},hasFocus:function b(e){return e===a.doc.activeElement&&(!a.doc.hasFocus||a.doc.hasFocus())&&Boolean(r(e)||e.type||e.href||~e.tabIndex)},isEditable:function L(e){return(!e.getAttribute||"false"!==e.getAttribute("contenteditable"))&&["STYLE","SCRIPT"].indexOf(e.tagName)<0},isDeletable:function E(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=(e.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function y(e,t){return e instanceof n&&(e=e.get(0)),e&&e.classList&&e.classList.contains(t)},filter:function S(e){return a.browser.msie?e:{acceptNode:e}}}},Object.assign(V.DEFAULTS,{htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),V.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},V.MODULES.clean=function(f){var d,p,u,h,g=f.$;function o(e){if(e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=e.getAttribute("class").indexOf("fr-marker"))return!1;var t,n=f.node.contents(e),r=[];for(t=0;t/g,">"):e.textContent.replace(/&/g,"&").replace(//g,">").replace(/\u00A0/g," ").replace(/\u0009/g,"");if(e.nodeType!==Node.ELEMENT_NODE)return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(e.tagName))return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&"svg"===e.tagName){var n=document.createElement("div"),r=e.cloneNode(!0);return n.appendChild(r),n.innerHTML}if("IFRAME"===e.tagName)return e.outerHTML.replace(/</g,"<").replace(/>/g,">");var o=e.childNodes;if(0===o.length)return e.outerHTML;for(var i="",a=0;a)<[^<]*)*<\/script>/gi,function(e){return l.push(e),"[FROALA.EDITOR.SCRIPT ".concat(l.length-1,"]")})).replace(/)<[^<]*)*<\/noscript>/gi,function(e){return l.push(e),"[FROALA.EDITOR.NOSCRIPT ".concat(l.length-1,"]")})).replace(/"),r=g(n);if(r&&r.length){var o=C(r.html(),L);r.html(o),n=r.get(0).outerHTML}return n})).replace(/":t;var i=c(f.html.extractNodeAttrs(n,"head")),a=c(f.html.extractNodeAttrs(n,"body"));return"".concat(r,"").concat(t,"").concat(e,"")}return e}(r,o,e))}function b(e){var t=f.doc.createElement("DIV");return t.innerText=e,t.textContent}function L(e){for(var t=f.node.contents(e),n=0;n"))}(a),a.nodeType===Node.ELEMENT_NODE&&(a.getAttribute("data-fr-src")&&0!==a.getAttribute("data-fr-src").indexOf("blob:")&&a.setAttribute("data-fr-src",f.helpers.sanitizeURL(b(a.getAttribute("data-fr-src")))),a.getAttribute("href")&&a.setAttribute("href",f.helpers.sanitizeURL(b(a.getAttribute("href")))),a.getAttribute("src")&&a.setAttribute("src",f.helpers.sanitizeURL(b(a.getAttribute("src")))),a.getAttribute("srcdoc")&&a.setAttribute("srcdoc",f.clean.html(a.getAttribute("srcdoc"))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(a.tagName)&&(a.innerHTML=a.innerHTML.trim())),!f.opts.pasteAllowLocalImages&&a.nodeType===Node.ELEMENT_NODE&&"IMG"===a.tagName&&a.getAttribute("data-fr-src")&&0===a.getAttribute("data-fr-src").indexOf("file://"))return a.parentNode.removeChild(a),!1;if(a.nodeType===Node.ELEMENT_NODE&&V.HTML5Map[a.tagName]&&""===f.node.attributes(a)){var e=V.HTML5Map[a.tagName],t="<".concat(e,">").concat(a.innerHTML,"");a.insertAdjacentHTML("beforebegin",t),(a=a.previousSibling).parentNode.removeChild(a.nextSibling)}if(f.opts.htmlAllowComments||a.nodeType!==Node.COMMENT_NODE)if(a.tagName&&a.tagName.match(p))"STYLE"==a.tagName&&f.helpers.isMac()&&function(){var e,n=a.innerHTML.trim(),r=[],t=/{([^}]+)}/g;for(n=n.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*|$/,"");e=t.exec(n);)r.push(e[1]);for(var o=function o(t){var e=n.substring(0,n.indexOf("{")).trim();0==!/^[a-z_-][a-z\d_-]*$/i.test(e)&&a.parentNode.querySelectorAll(e).forEach(function(e){e.removeAttribute("class"),e.setAttribute("style",r[t])}),n=n.substring(n.indexOf("}")+1)},i=0;-1!=n.indexOf("{");i++)o(i)}(),a.parentNode.removeChild(a);else if(a.tagName&&!a.tagName.match(d))"svg"===a.tagName?a.parentNode.removeChild(a):f.browser.safari&&"path"===a.tagName&&a.parentNode&&"svg"===a.parentNode.tagName||(a.outerHTML=a.innerHTML);else{var n=a.attributes;if(n)for(var r=n.length-1;0<=r;r--){var o=n[r],i=o.nodeName.match(u),s=null;"style"===o.nodeName&&f.opts.htmlAllowedStyleProps.length&&(s=o.value.match(h)),i&&s?o.value=m(s.join(";")):i&&("style"!==o.nodeName||s)||a.removeAttribute(o.nodeName)}}else 0!==a.data.indexOf("[FROALA.EDITOR")&&a.parentNode.removeChild(a)}(e)}return{_init:function e(){f.opts.fullPage&&g.merge(f.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function E(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=!1);var o,i=g.merge([],f.opts.htmlAllowedTags);for(o=0;o").concat(e[n].innerHTML,""));t&&f.selection.restore()}},tables:function t(){!function s(){for(var e=f.el.querySelectorAll("tr"),t=0;t ul, ol > ol, ul > ol, ol > ul"),t=0;t"))}}(),function c(){for(var e=f.el.querySelectorAll("li > ul, li > ol"),t=0;t ul, li > ol"),t=0;t");else if(n.previousSibling&&"BR"===n.previousSibling.tagName){for(var r=n.previousSibling.previousSibling;r&&f.node.hasClass(r,"fr-marker");)r=r.previousSibling;r&&"BR"!==r.tagName&&g(n.previousSibling).remove()}}}(),function n(){for(var e=f.el.querySelectorAll("li:empty"),t=0;t/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),new RegExp("^".concat(V.LinkRegExHTTP).concat(V.LinkRegExEnd,"$"),"gi").test(e))},getAlignment:function y(e){e.css||(e=s(e));var t=(e.css("text-align")||"").replace(/-(.*)-/g,"");if(["left","right","justify","center"].indexOf(t)<0){if(!a){var n=s('
..
'));s("body").first().append(n);var r=n.find("#s1").get(0).getBoundingClientRect().left,o=n.find("#s2").get(0).getBoundingClientRect().left;n.remove(),a=r=(window.innerHeight||document.documentElement.clientHeight)}}},V.MODULES.events=function(l){var e,a=l.$,s={};function c(e,t,n){C(e,t,n)}function d(e){var t;if(void 0===e&&(e=!0),!l.$wp)return!1;if(l.helpers.isIOS()&&l.$win.get(0).focus(),l.core.hasFocus())return!1;if(!l.core.hasFocus()&&e){var n=l.$win.scrollTop();l.browser.msie&&l.$box&&l.$box.css("position","fixed"),l.browser.msie&&l.$wp&&l.$wp.css("overflow","visible"),l.browser.msie&&l.$sc&&l.$sc.css("position","fixed"),0==l.browser.msie&&(u(),l.el.focus(),l.events.trigger("focus"),p()),l.browser.msie&&l.$sc&&l.$sc.css("position",""),l.browser.msie&&l.$box&&l.$box.css("position",""),l.browser.msie&&l.$wp&&l.$wp.css("overflow","auto"),n!==l.$win.scrollTop()&&l.$win.scrollTop(n),t=l.selection.info(l.el);var r=l.$el.find(l.html.blockTagsQuery()).get(0);if(r&&(a(r).prepend(V.MARKERS),l.selection.restore()),!t.atStart)return!1}if(!l.core.hasFocus()||0").concat(e,"")),e}var i={bold:function(){e("bold","strong")},subscript:function(){a.format.is("sup")&&a.format.remove("sup"),e("subscript","sub")},superscript:function(){a.format.is("sub")&&a.format.remove("sub"),e("superscript","sup")},italic:function(){e("italic","em")},strikeThrough:function(){e("strikeThrough","s")},underline:function(){e("underline","u")},undo:function(){a.undo.run()},redo:function(){a.undo.redo()},indent:function(){r(1)},outdent:function(){r(-1)},show:function(){a.opts.toolbarInline&&a.toolbar.showInline(null,!0)},insertHR:function(){a.selection.remove();var e="";a.core.isEmpty()&&(e=o(e="
")),a.html.insert('
'.concat(e));var t,n=a.$el.find("hr#fr-just").length?a.$el.find("hr#fr-just"):a.$el.find(".fr-just");if(n.removeAttr("id"),n.removeAttr("class"),0===n.next().length){var r=a.html.defaultTag();r?n.after(s(a.doc.createElement(r)).append("
").get(0)):n.after("
")}n.prev().is("hr")?t=a.selection.setAfter(n.get(0),!1):n.next().is("hr")?t=a.selection.setBefore(n.get(0),!1):a.selection.setAfter(n.get(0),!1)||a.selection.setBefore(n.get(0),!1),t||void 0===t||(e=o(e="".concat(V.MARKERS,"
")),n.after(e)),a.selection.restore()},clearFormatting:function(){a.format.remove()},selectAll:function(){a.doc.execCommand("selectAll",!1,!1)},moreText:function(e){t(e)},moreParagraph:function(e){t(e)},moreRich:function(e){t(e)},moreMisc:function(e){t(e)}};function t(e){!function n(e){var t=a.$tb.find('.fr-more-toolbar[data-name="'.concat(e.attr("data-group-name"),'"]'));a.$tb.find(".fr-open").not(e).removeClass("fr-open"),e.toggleClass("fr-open"),a.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),a.$tb.find(".fr-expanded").not(t).length?(a.$tb.find(".fr-expanded").toggleClass("fr-expanded"),t.toggleClass("fr-expanded")):(t.toggleClass("fr-expanded"),a.$box.toggleClass("fr-toolbar-open"),a.$tb.toggleClass("fr-toolbar-open"))}(a.$tb.find("[data-cmd=".concat(e,"]"))),a.toolbar.setMoreToolbarsHeight()}function n(e,t){if(!1!==a.events.trigger("commands.before",s.merge([e],t||[]))){var n=V.COMMANDS[e]&&V.COMMANDS[e].callback||i[e],r=!0,o=!1;V.COMMANDS[e]&&("undefined"!=typeof V.COMMANDS[e].focus&&(r=V.COMMANDS[e].focus),"undefined"!=typeof V.COMMANDS[e].accessibilityFocus&&(o=V.COMMANDS[e].accessibilityFocus)),(!a.core.hasFocus()&&r&&!a.popups.areVisible()||!a.core.hasFocus()&&o&&a.accessibility.hasFocus())&&a.events.focus(!0),V.COMMANDS[e]&&!1!==V.COMMANDS[e].undo&&(a.$el.find(".fr-marker").length&&(a.events.disableBlur(),a.selection.restore()),a.undo.saveStep()),n&&n.apply(a,s.merge([e],t||[])),a.events.trigger("commands.after",s.merge([e],t||[])),V.COMMANDS[e]&&!1!==V.COMMANDS[e].undo&&a.undo.saveStep()}}function e(e,t){a.format.toggle(t)}function r(e){a.selection.save(),a.html.wrap(!0,!0,!0,!0),a.selection.restore();for(var t=a.selection.blocks(),n=0;n").concat(V.MARKERS,"
").concat(a):i?"".concat(s,"<").concat(i,">").concat(V.MARKERS,"
").concat(a):"".concat(s+V.MARKERS,"
").concat(a);["UL","OL"].indexOf(l.tagName)<0||l.parentNode&&"LI"===l.parentNode.tagName;)l=l.parentNode;m(n).replaceWith('');var d=g.node.openTagString(l)+m(l).html()+g.node.closeTagString(l);d=d.replace(/<\/span>/g,c),m(l).replaceWith(d),g.$el.find("li:empty").remove()}else if(o&&r||!g.node.isEmpty(n,!0)){for(var f="
",p=e.parentNode;p&&"LI"!==p.tagName;)f=g.node.openTagString(p)+f+g.node.closeTagString(p),p=p.parentNode;m(n).before("
  • ".concat(f,"
  • ")),m(e).remove()}else if(o){t=v(n);for(var u="".concat(V.MARKERS,"
    "),h=e.parentNode;h&&"LI"!==h.tagName;)u=g.node.openTagString(h)+u+g.node.closeTagString(h),h=h.parentNode;t.parentNode&&"LI"===t.parentNode.tagName?m(t.parentNode).after("
  • ".concat(u,"
  • ")):i?m(t).after("<".concat(i,">").concat(u,"")):m(t).after(u),m(n).remove()}else(t=v(n)).parentNode&&"LI"===t.parentNode.tagName?r?m(t.parentNode).before("".concat(g.node.openTagString(n)+V.MARKERS,"
    ")):m(t.parentNode).after("".concat(g.node.openTagString(n)+V.MARKERS,"
    ")):i?m(t).before("<".concat(i,">").concat(V.MARKERS,"
    ")):m(t).before("".concat(V.MARKERS,"
    ")),m(n).remove()},_middleEnter:function c(e){for(var t=C(e),n="",r=e,o="",i="",a=!1;r!==t;){var s="A"===(r=r.parentNode).tagName&&g.cursor.isAtEnd(e,r)?"fr-to-remove":"";a||r==t||g.node.isBlock(r)||(a=!0,o+=V.INVISIBLE_SPACE),o=g.node.openTagString(m(r).clone().addClass(s).get(0))+o,i=g.node.closeTagString(r)+i}n=i+n+o+V.MARKERS+(g.opts.keepFormatOnDelete?V.INVISIBLE_SPACE:""),m(e).replaceWith('');var l=g.node.openTagString(t)+m(t).html()+g.node.closeTagString(t);l=l.replace(/<\/span>/g,n),m(t).replaceWith(l)},_endEnter:function l(e){for(var t=C(e),n=V.MARKERS,r="",o=e,i=!1;o!==t;)if(!(o=o.parentNode).classList.contains("fr-img-space-wrap")&&!o.classList.contains("fr-img-space-wrap2")){var a="A"===o.tagName&&g.cursor.isAtEnd(e,o)?"fr-to-remove":"";i||o===t||g.node.isBlock(o)||(i=!0,r+=V.INVISIBLE_SPACE),r=g.node.openTagString(m(o).clone().addClass(a).get(0))+r,n+=g.node.closeTagString(o)}var s=r+n;m(e).remove(),m(t).after(s)},_backspace:function d(e){var t=C(e),n=t.previousSibling;if(n){n=m(n).find(g.html.blockTagsQuery()).get(-1)||n,m(e).replaceWith(V.MARKERS);var r=g.node.contents(n);r.length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))});for(var o,i=g.node.contents(t)[0];i&&!g.node.isList(i);)o=i.nextSibling,m(n).append(i),i=o;for(n=t.previousSibling;i;)o=i.nextSibling,m(n).append(i),i=o;1<(r=g.node.contents(n)).length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).remove()}else{var a=v(t);if(m(e).replaceWith(V.MARKERS),a.parentNode&&"LI"===a.parentNode.tagName){var s=a.previousSibling;g.node.isBlock(s)?(m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))}),m(s).append(m(t).html())):m(a).before(m(t).html())}else{var l=g.html.defaultTag();l&&0===m(t).find(g.html.blockTagsQuery()).length?m(a).before("<".concat(l,">").concat(m(t).html(),"")):m(a).before(m(t).html())}m(t).remove(),g.html.wrap(),0===m(a).find("li").length&&m(a).remove()}},_del:function f(e){var t,n=C(e),r=n.nextSibling;if(r){(t=g.node.contents(r)).length&&"BR"===t[0].tagName&&m(t[0]).remove(),m(r).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===r&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))});for(var o,i=e,a=g.node.contents(r)[0];a&&!g.node.isList(a);)o=a.nextSibling,m(i).after(a),i=a,a=o;for(;a;)o=a.nextSibling,m(n).append(a),a=o;m(e).replaceWith(V.MARKERS),m(r).remove()}else{for(var s=n;!s.nextSibling&&s!==g.el;)s=s.parentNode;if(s===g.el)return!1;if(s=s.nextSibling,g.node.isBlock(s))V.NO_DELETE_TAGS.indexOf(s.tagName)<0&&(m(e).replaceWith(V.MARKERS),(t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(n).append(m(s).html()),m(s).remove());else{for((t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(e).replaceWith(V.MARKERS);s&&!g.node.isBlock(s)&&"BR"!==s.tagName;)m(n).append(m(s)),s=s.nextSibling;m(s).remove()}}}}},V.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],V.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],V.MODULES.cursor=function(h){var g=h.$;function d(e){return!!e&&(!!h.node.isBlock(e)||(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?d(e.nextSibling):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&d(e.parentNode)))}function f(e){return!!e&&(!!h.node.isBlock(e)||(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?f(e.previousSibling):!e.previousSibling&&(!(e.previousSibling||!h.node.hasClass(e.parentNode,"fr-inner"))||f(e.parentNode))))}function u(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?u(e.previousSibling,t):!e.previousSibling&&(e.parentNode===t||u(e.parentNode,t))))}function m(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?m(e.nextSibling,t):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&(e.parentNode===t||m(e.parentNode,t))))}function p(e){return 0=h.opts.tabSpaces)0===i.substr(i.length-h.opts.tabSpaces,i.length-1).replace(/ /g,"").replace(new RegExp(V.UNICODE_NBSP,"g"),"").length&&(a=i.length-h.opts.tabSpaces+1);n.textContent=i.substring(0,a-C(i)),h.opts.htmlUntouched&&!e.nextSibling&&n.textContent.length&&" "===n.textContent[n.textContent.length-1]&&(n.textContent=n.textContent.substring(0,n.textContent.length-1)+V.UNICODE_NBSP);var s=i.length!==n.textContent.length;if(0===n.textContent.length)if(s&&h.opts.keepFormatOnDelete)g(n).after(V.INVISIBLE_SPACE+V.MARKERS);else if(0!==i.length&&h.node.isBlock(n.parentNode))g(n).after(V.MARKERS);else if((2!=n.parentNode.childNodes.length||n.parentNode!=e.parentNode)&&1!=n.parentNode.childNodes.length||h.node.isBlock(n.parentNode)||h.node.isElement(n.parentNode)||!h.node.isDeletable(n.parentNode)){for(var l,c=n;!h.node.isElement(n.parentNode)&&h.node.isEmpty(n.parentNode)&&V.NO_DELETE_TAGS.indexOf(n.parentNode.tagName)<0;)if("A"===(n=n.parentNode).tagName){var d=n.childNodes[0];for(g(n).before(d),l=!0;0");var f=n.parentNode;n.parentNode.removeChild(n),h.node.isEmpty(f)&&g(f).html(V.INVISIBLE_SPACE+V.MARKERS)}else g(n.parentNode).after(V.MARKERS),g(n.parentNode).remove();else g(n).after(V.MARKERS)}else h.node.isDeletable(n)?(g(n).after(V.MARKERS),g(n).remove()):e.nextSibling&&"BR"===e.nextSibling.tagName&&h.node.isVoid(n)&&"BR"!==n.tagName?(g(e.nextSibling).remove(),g(e).replaceWith(V.MARKERS)):!1!==h.events.trigger("node.remove",[g(n)])&&(g(n).after(V.MARKERS),g(n).remove())}else if(V.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(V.MARKERS),g(n).remove();else if(h.node.isEmpty(n)&&!h.node.isList(n))g(n).remove(),g(e).replaceWith(V.MARKERS);else{for(h.node.isList(n)&&(n=g(n).find("li").last().get(0)),(t=h.node.contents(n))&&"BR"===t[t.length-1].tagName&&g(t[t.length-1]).remove(),t=h.node.contents(n);t&&h.node.isBlock(t[t.length-1]);)n=t[t.length-1],t=h.node.contents(n);g(n).append(V.MARKERS);for(var p=e;!p.previousSibling;)p=p.parentNode;for(;p&&"BR"!==p.tagName&&!h.node.isBlock(p);){var u=p;p=p.nextSibling,g(n).append(u)}p&&"BR"===p.tagName&&g(p).remove(),g(e).remove()}else e.nextSibling&&"BR"===e.nextSibling.tagName&&g(e.nextSibling).remove();return!0}function i(e){var t=0"))}),g(n).append(h.node.contents(a.get(0))),a.remove(),0===g(i).find("li").length&&g(i).remove())}else{if((o=h.node.contents(i)).length&&"BR"===o[0].tagName&&g(o[0]).remove(),"BLOCKQUOTE"!==i.tagName&&"BLOCKQUOTE"===n.tagName)for(o=h.node.contents(n);o.length&&h.node.isBlock(o[o.length-1]);)n=o[o.length-1],o=h.node.contents(n);else if("BLOCKQUOTE"===i.tagName&&"BLOCKQUOTE"!==n.tagName)for(o=h.node.contents(i);o.length&&h.node.isBlock(o[0]);)i=o[0],o=h.node.contents(i);g(e).replaceWith(V.MARKERS),g(n).append(i.innerHTML),g(i).remove()}else{for(g(e).replaceWith(V.MARKERS);i&&"BR"!==i.tagName&&!h.node.isBlock(i)&&h.node.isEditable(i);){var s=i;i=i.nextSibling,g(n).append(s)}i&&"BR"===i.tagName&&h.node.isEditable(i)&&g(i).remove()}}}function n(e){for(var t,n=e;!n.nextSibling;)if(n=n.parentNode,h.node.isElement(n))return!1;if("BR"===(n=n.nextSibling).tagName&&h.node.isEditable(n))if(n.nextSibling){if(h.node.isBlock(n.nextSibling)&&h.node.isEditable(n.nextSibling)){if(!(V.NO_DELETE_TAGS.indexOf(n.nextSibling.tagName)<0))return void g(n).remove();n=n.nextSibling,g(n.previousSibling).remove()}}else if(d(n)){if(p(e))h.cursorLists._del(e);else h.node.deepestParent(n)&&((!h.node.isEmpty(h.node.blockParent(n))||(h.node.blockParent(n).nextSibling&&V.NO_DELETE_TAGS.indexOf(h.node.blockParent(n).nextSibling.tagName))<0)&&g(n).remove(),i(e));return}if(!h.node.isBlock(n)&&h.node.isEditable(n)){for(t=h.node.contents(n);n.nodeType!==Node.TEXT_NODE&&t.length&&!h.node.isDeletable(n)&&h.node.isEditable(n);)n=t[0],t=h.node.contents(n);n.nodeType===Node.TEXT_NODE?(g(n).before(V.MARKERS),n.textContent.length&&(n.textContent=n.textContent.substring(C(n.textContent,!0),n.textContent.length))):h.node.isDeletable(n)?(g(n).before(V.MARKERS),g(n).remove()):!1!==h.events.trigger("node.remove",[g(n)])&&(g(n).before(V.MARKERS),g(n).remove()),g(e).remove()}else if(V.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(V.MARKERS),g(n).remove();else if(h.node.isList(n))e.previousSibling?(g(n).find("li").first().prepend(e),h.cursorLists._backspace(e)):(g(n).find("li").first().prepend(V.MARKERS),g(e).remove());else if((t=h.node.contents(n))&&"BR"===t[0].tagName&&g(t[0]).remove(),t&&"BLOCKQUOTE"===n.tagName){var r=t[0];for(g(e).before(V.MARKERS);r&&"BR"!==r.tagName;){var o=r;r=r.nextSibling,g(e).before(o)}r&&"BR"===r.tagName&&g(r).remove()}else g(e).after(g(n).html()).after(V.MARKERS),g(n).remove()}function a(){for(var e=h.el.querySelectorAll("blockquote:empty"),t=0;t"+V.MARKERS):r?g(o).after("<".concat(r,">").concat(V.MARKERS,"
    ")):g(o).after("".concat(V.MARKERS,"
    ")),g(e).remove()):L(e,t,n),!1;if(null===o)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith("<".concat(r,">").concat(V.MARKERS,"
    ")):!e.previousSibling||g(e.previousSibling).is("br")||e.nextSibling?g(e).replaceWith("
    ".concat(V.MARKERS)):g(e).replaceWith("
    ".concat(V.MARKERS,"
    "));else{var i=e,a="";"PRE"!=o.tagName||e.nextSibling||(t=!0),h.node.isBlock(o)&&!t||(a="
    ");var s,l="",c="",d="",f="";(r=h.html.defaultTag())&&h.node.isBlock(o)&&(d="<".concat(r,">"),f=""),o.tagName===r.toUpperCase()&&(d=h.node.openTagString(g(o).clone().removeAttr("id").get(0))));do{if(i=i.parentNode,!t||i!==o||t&&!h.node.isBlock(o))if(l+=h.node.closeTagString(i),i===o&&h.node.isBlock(o))c=d+c;else{var p=("A"===i.tagName||h.node.hasClass(i,"fa"))&&m(e,i)?"fr-to-remove":"";c=h.node.openTagString(g(i).clone().addClass(p).get(0))+c}}while(i!==o);a=l+a+c+(e.parentNode===o&&h.node.isBlock(o)?"":V.INVISIBLE_SPACE)+V.MARKERS,h.node.isBlock(o)&&!g(o).find("*").last().is("br")&&g(o).append("
    "),g(e).after(''),g(e).remove(),o.nextSibling&&!h.node.isBlock(o.nextSibling)||h.node.isBlock(o)||g(o).after("
    "),s=(s=!t&&h.node.isBlock(o)?h.node.openTagString(o)+g(o).html()+f:h.node.openTagString(o)+g(o).html()+h.node.closeTagString(o)).replace(/<\/span>/g,a),g(o).replaceWith(s)}}function L(e,t,n){var r=h.node.deepestParent(e,[],!n);if(null===r)h.html.defaultTag()&&e.parentNode===h.el?g(e).replaceWith("<".concat(h.html.defaultTag(),">").concat(V.MARKERS,"
    ")):(e.nextSibling&&!h.node.isBlock(e.nextSibling)||g(e).after("
    "),g(e).replaceWith("
    ".concat(V.MARKERS)));else if(e.previousSibling&&"IMG"==e.previousSibling.tagName||e.nextSibling&&"IMG"==e.nextSibling.tagName)g(e).replaceWith("<"+h.html.defaultTag()+">"+V.MARKERS+"
    ");else{var o=e,i="";"PRE"===r.tagName&&(t=!0),h.node.isBlock(r)&&!t||(i="
    ");var a="",s="";do{var l=o;if(o=o.parentNode,"BLOCKQUOTE"===r.tagName&&h.node.isEmpty(l)&&!h.node.hasClass(l,"fr-marker")&&g(l).contains(e)&&g(l).after(e),"BLOCKQUOTE"!==r.tagName||!m(e,o)&&!u(e,o))if(!t||o!==r||t&&!h.node.isBlock(r)){a+=h.node.closeTagString(o);var c="A"==o.tagName&&m(e,o)||h.node.hasClass(o,"fa")?"fr-to-remove":"";s=h.node.openTagString(g(o).clone().addClass(c).removeAttr("id").get(0))+s}else"BLOCKQUOTE"==r.tagName&&t&&(s=a="")}while(o!==r);var d=r===e.parentNode&&h.node.isBlock(r)||e.nextSibling;if("BLOCKQUOTE"===r.tagName)if(e.previousSibling&&h.node.isBlock(e.previousSibling)&&e.nextSibling&&"BR"===e.nextSibling.tagName&&(g(e.nextSibling).after(e),e.nextSibling&&"BR"===e.nextSibling.tagName&&g(e.nextSibling).remove()),t)i=a+i+V.MARKERS+s;else{var f=h.html.defaultTag();i="".concat(a+i+(f?"<".concat(f,">"):"")+V.MARKERS,"
    ").concat(f?""):"").concat(s)}else i=a+i+s+(d?"":V.INVISIBLE_SPACE)+V.MARKERS;g(e).replaceWith('');var p=h.node.openTagString(r)+g(r).html()+h.node.closeTagString(r);p=p.replace(/<\/span>/g,i),g(r).replaceWith(p)}}return{enter:function E(e){var t=h.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!h.node.isElement(n);){if("false"===n.getAttribute("contenteditable"))return g(t).replaceWith(V.MARKERS),h.selection.restore(),!1;if("true"===n.getAttribute("contenteditable"))break;n=n.parentNode}h.el.normalize();var r=!1;0").concat(V.MARKERS,"
    ")):g(o).before("".concat(V.MARKERS,"
    ")),g(e).remove(),!1}else m(e,o)?b(e,t,!0):L(e,t,!0);if(null===o)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith("<".concat(r,">").concat(V.MARKERS,"
    ")):g(e).replaceWith("
    ".concat(V.MARKERS));else{if(r=h.html.defaultTag(),h.node.isBlock(o))if("PRE"===o.tagName&&(t=!0),t)g(e).remove(),g(o).prepend("
    ".concat(V.MARKERS));else if(e.nextSibling&&"IMG"==e.nextSibling.tagName||e.nextSibling&&e.nextSibling.nextElementSibling&&"IMG"==e.nextSibling.nextElementSibling)g(e).replaceWith("<"+h.html.defaultTag()+">"+V.MARKERS+"
    ");else{if(h.node.isEmpty(o,!0))return b(e,t,n);if(h.opts.keepFormatOnDelete||"DIV"===o.tagName||"div"===h.html.defaultTag())if(!h.opts.keepFormatOnDelete&&"DIV"===o.tagName||"div"===h.html.defaultTag())g(o).before("<"+h.html.defaultTag()+">
    ");else{for(var i=e,a=V.INVISIBLE_SPACE;i!==o&&!h.node.isElement(i);)i=i.parentNode,a=h.node.openTagString(i)+a+h.node.closeTagString(i);g(o).before(a)}else g(o).before("".concat(h.node.openTagString(g(o).clone().removeAttr("id").get(0)),"
    ").concat(h.node.closeTagString(o)))}else g(o).before("
    ");g(e).remove()}}(t,e,r):h.cursorLists._startEnter(t):!p(t)||e||r?L(t,e,r):h.cursorLists._middleEnter(t),function c(){h.$el.find(".fr-to-remove").each(function(){for(var e=h.node.contents(this),t=0;to){var i=h.helpers.scrollTop(),a=h.selection.blocks();if(a&&0 div").first(),b=v.find("> a"),"rtl"===f.opts.direction&&v.css("left","auto").css("right",0).attr("direction","rtl"),e++}function m(e){for(var t=[N("9qqG-7amjlwq=="),N("KA3B3C2A6D1D5H5H1A3=="),N("3B9B3B5F3C4G3E3=="),N("QzbzvxyB2yA-9m=="),N("ji1kacwmgG5bc=="),N("nmA-13aogi1A3c1jd=="),N("BA9ggq=="),N("emznbjbH3fij=="),N("tkC-22d1qC-13sD1wzF-7=="),N("tA3jjf=="),N("1D1brkm==")],n=0;nthis.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}function C(){var e=N(p(n)),t=N(p("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==")).split(".");try{return window.parent.document.querySelector(e)&&window[t[1]][t[2]]}catch(e){return!1}}var v,b,L=f.$,E="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",y="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",n="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",S="lC4B3A3B2B5A1C2E4G1A2==",T="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10uLH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",M=function(){for(var e=0,t=document.domain,n=t.split("."),r="_gd".concat((new Date).getTime());e")}(e)),T.selection.restore()}else{var r;T.selection.save(),m(T.$el.find('.fr-marker[data-type="true"]').length&&T.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling,e,t);do{for(r=T.$el.find("".concat(N(e,t)," > ").concat(N(e,t))),n=0;n
    '),i=l.html().replace(/<\/span>/,a+T.node.closeTagString(l.get(0))+s+c+a+T.node.openTagString(l.get(0))+s),l.replaceWith(T.node.openTagString(l.get(0))+i+T.node.closeTagString(l.get(0))),!0}return!1}function r(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=T.selection.isCollapsed();T.selection.save();for(var r=!0;r;){r=!1;for(var o=T.$el.find(".fr-marker"),i=0;i')){if(T.node.isEmpty(l.get(0)))s=M(T.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat(V.INVISIBLE_SPACE).concat(V.MARKERS)),l.replaceWith(s);else{var c={};c["style*"]="".concat(e,":"),x(r,"span",c,!0),r=T.$el.find(".fr-marker"),t?(s=M(T.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat(V.INVISIBLE_SPACE).concat(V.MARKERS)),r.replaceWith(s)):r.replaceWith(V.INVISIBLE_SPACE+V.MARKERS)}T.html.cleanEmptyTags()}else T.node.isEmpty(l.get(0))&&l.is("span")?(r.replaceWith(V.MARKERS),l.css(e,t)):(s=M('').concat(V.INVISIBLE_SPACE).concat(V.MARKERS,"")),r.replaceWith(s));s&&C(s,e,t)}else{if(T.selection.save(),null===t||"color"===e&&0").concat(c);e.replaceWith('');var h=a.get(0).outerHTML;M(a.get(0)).replaceWith(h.replace(/<\/span>/g,function(){return u}))}}function o(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=T.selection.ranges(0),r=n.startContainer;if(r.nodeType===Node.ELEMENT_NODE&&0"),V.END_MARKER='"),V.MARKERS=V.START_MARKER+V.END_MARKER,V.MODULES.markers=function(d){var f=d.$;function l(){if(!d.$wp)return null;try{var e=d.selection.ranges(0),t=e.commonAncestorContainer;if(t!==d.el&&!d.$el.contains(t))return null;var n=e.cloneRange(),r=e.cloneRange();n.collapse(!0);var o=f(d.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(V.INVISIBLE_SPACE).get(0);if(n.insertNode(o),o=d.$el.find("span.fr-marker").get(0)){for(var i=o.nextSibling;i&&i.nodeType===Node.TEXT_NODE&&0===i.textContent.length;)f(i).remove(),i=d.$el.find("span.fr-marker").get(0).nextSibling;return d.selection.clear(),d.selection.get().addRange(r),o}return null}catch(a){}}function c(){d.$el.find(".fr-marker").remove()}return{place:function p(e,t,n){var r,o,i;try{var a=e.cloneRange();if(a.collapse(t),a.insertNode(function l(e,t){var n=f(d.doc.createElement("SPAN"));return n.addClass("fr-marker").attr("data-id",t).attr("data-type",e).attr("style","display: ".concat(d.browser.safari?"none":"inline-block","; line-height: 0;")).html(V.INVISIBLE_SPACE),n.get(0)}(t,n)),!0===t)for(i=(r=d.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(n,'"]')).get(0)).nextSibling;i&&i.nodeType===Node.TEXT_NODE&&0===i.textContent.length;)f(i).remove(),i=r.nextSibling;if(!0===t&&!e.collapsed){for(;!d.node.isElement(r.parentNode)&&!i;)-1'):f(t).append('');else if(d.cursor.isAtStart(e,t))f(t).before(''),f(e).remove();else if(d.cursor.isAtEnd(e,t))f(t).after(''),f(e).remove();else{for(var n=e,r="",o="";n=n.parentNode,r+=d.node.closeTagString(n),o=d.node.openTagString(n)+o,n!==t;);f(e).replaceWith('');var i=d.node.openTagString(t)+f(t).html()+d.node.closeTagString(t);i=i.replace(/<\/span>/g,"".concat(r,'').concat(o)),f(t).replaceWith(i)}return d.$el.find(".fr-marker").get(0)},insertAtPoint:function u(e){var t,n=e.clientX,r=e.clientY;c();var o=null;if("undefined"!=typeof d.doc.caretPositionFromPoint?(t=d.doc.caretPositionFromPoint(n,r),(o=d.doc.createRange()).setStart(t.offsetNode,t.offset),o.setEnd(t.offsetNode,t.offset)):"undefined"!=typeof d.doc.caretRangeFromPoint&&(t=d.doc.caretRangeFromPoint(n,r),(o=d.doc.createRange()).setStart(t.startContainer,t.startOffset),o.setEnd(t.startContainer,t.startOffset)),null!==o&&"undefined"!=typeof d.win.getSelection){var i=d.win.getSelection();i.removeAllRanges(),i.addRange(o)}else if("undefined"!=typeof d.doc.body.createTextRange)try{(o=d.doc.body.createTextRange()).moveToPoint(n,r);var a=o.duplicate();a.moveToPoint(n,r),o.setEndPoint("EndToEnd",a),o.select()}catch(s){return!1}l()},remove:c}},V.MODULES.selection=function(E){var y=E.$;function s(){var e="";return E.win.getSelection?e=E.win.getSelection():E.doc.getSelection?e=E.doc.getSelection():E.doc.selection&&(e=E.doc.selection.createRange().text),e.toString()}function L(){return E.win.getSelection?E.win.getSelection():E.doc.getSelection?E.doc.getSelection():E.doc.selection.createRange()}function f(e){var t=L(),n=[];if(t&&t.getRangeAt&&t.rangeCount){n=[];for(var r=0;r'.concat(t[e].innerHTML));var n=!1,r=o(E.el);for(r.atStart&&r.atEnd&&(n=!0),t=E.el.querySelectorAll(".fr-mk"),e=0;e"):y(o).find(".fr-inner").filter(O).html("
    "):(y(o).empty(),y(o).attr("data-del-cell",!0)):0"),E.spaces.normalize());var C=E.$el.find(".fr-marker").last().get(0),v=E.$el.find(".fr-marker").first().get(0);void 0!==C&&void 0!==v&&!C.nextSibling&&v.previousSibling&&"BR"===v.previousSibling.tagName&&E.node.isElement(C.parentNode)&&E.node.isElement(v.parentNode)&&E.$el.append("
    "),M()},blocks:function h(e){var t,n,r=[],o=L();if(u()&&o.rangeCount){var i=f();for(t=0;t"))}function t(){f.$wp.removeClass("show-placeholder")}function n(){if(!f.$wp)return!1;f.core.isEmpty()?e():t()}return{_init:function r(){if(!f.$wp)return!1;f.events.on("init input keydown keyup contentChanged initialized",n)},show:e,hide:t,refresh:n,isVisible:function o(){return!f.$wp||f.node.hasClass(f.$wp.get(0),"show-placeholder")}}},V.UNICODE_NBSP=String.fromCharCode(160),V.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],V.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign(V.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line","hr"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),V.MODULES.html=function(O){var h=O.$;function d(){return O.opts.enter===V.ENTER_P?"p":O.opts.enter===V.ENTER_DIV?"div":O.opts.enter===V.ENTER_BR?null:void 0}function s(e,t){return!(!e||e===O.el)&&(t?-1!=["PRE","SCRIPT","STYLE"].indexOf(e.tagName)||s(e.parentNode,t):-1!==["PRE","SCRIPT","STYLE"].indexOf(e.tagName))}function i(e){var t,n=[],r=[];if(e){var o=O.el.querySelectorAll(".fr-marker");for(t=0;t";return t&&(n="")),n}function c(e){var t=e.parentNode;if(t&&(O.node.isBlock(t)||O.node.isElement(t))&&["TD","TH"].indexOf(t.tagName)<0){for(var n=e.previousSibling,r=e.nextSibling;n&&(n.nodeType===Node.TEXT_NODE&&0===n.textContent.replace(/\n|\r/g,"").length||O.node.hasClass(n,"fr-tmp"));)n=n.previousSibling;if(r)return!1;n&&t&&"BR"!==n.tagName&&!O.node.isBlock(n)&&!r&&0").concat(V.MARKERS,"
    ")),O.selection.restore()):O.$el.html("<".concat(d(),">
    "))):O.el.querySelector("*:not(.fr-marker):not(br)")||(O.core.hasFocus()?(O.$el.html("".concat(V.MARKERS,"
    ")),O.selection.restore()):O.$el.html("
    ")))}function m(e,t){return r(e,"<".concat(t,"[^>]*?>([\\w\\W]*)"),1)}function C(e,t){var n=h("
    ]*?)>"),1)||"",">"));return O.node.rawAttributes(n.get(0))}function v(e){return(r(e,"]*?)>",0)||"").replace(/\n/g," ").replace(/ {2,}/g," ")}function b(e,t){O.opts.htmlExecuteScripts?e.html(t):e.get(0).innerHTML=t}function $(e){var t;(t=/:not\(([^)]*)\)/g).test(e)&&(e=e.replace(t," $1 "));var n=100*(e.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\[[^]]+\])/g)||[]).length+10*(e.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(e.match(/(:[^\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;return n+=((e=(e=e.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}function k(e){if(O.events.trigger("html.processGet",[e]),e&&e.getAttribute&&""===e.getAttribute("class")&&e.removeAttribute("class"),e&&e.getAttribute&&""===e.getAttribute("style")&&e.removeAttribute("style"),e&&e.nodeType===Node.ELEMENT_NODE){var t,n=e.querySelectorAll('[class=""],[style=""]');for(t=0;t")}},cleanEmptyTags:e,cleanWhiteTags:u,cleanBlankSpaces:n,blocks:function S(){return O.$el.get(0).querySelectorAll(p())},getDoctype:w,set:function T(e){var t=O.clean.html((e||"").trim(),[],[],O.opts.fullPage),n=new RegExp("%3A//","g"),r=t.replace(n,"://");if(O.opts.fullPage){var o=m(r,"body")||(0<=r.indexOf("",s=C(r,"head"),l=h("
    ");l.append(a).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var c=l.html().trim();a=h("
    ").append(a).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var d=v(r),f=C(r,"html");b(O.$el,"".concat(c,"\n").concat(o)),O.node.clearAttributes(O.el),O.$el.attr(i),O.$el.addClass("fr-view"),O.$el.attr("spellcheck",O.opts.spellcheck),O.$el.attr("dir",O.opts.direction),b(O.$head,a),O.node.clearAttributes(O.$head.get(0)),O.$head.attr(s),O.node.clearAttributes(O.$html.get(0)),O.$html.attr(f),O.iframe_document.doctype.parentNode.replaceChild(function u(e,t){var n=e.match(//i);return n?t.implementation.createDocumentType(n[1],n[3],n[4]):t.implementation.createDocumentType("html")}(d,O.iframe_document),O.iframe_document.doctype)}else b(O.$el,r);var p=O.edit.isDisabled();O.edit.on(),O.core.injectStyle(O.opts.iframeDefaultStyle+O.opts.iframeStyle),g(),O.opts.useClasses||(O.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")}),O.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")})),p&&O.edit.off(),O.events.trigger("html.set"),O.events.trigger("charCounter.update")},syncInputs:_,get:function B(e,t){if(!O.$wp)return O.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var n="";O.events.trigger("html.beforeGet");var r,o,i=[],a={},s=[];if(_(),!O.opts.useClasses&&!t){var l=new RegExp("^".concat(O.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(r=0;r=a[h[o]][v]&&(a[h[o]][v]=g,m[C].trim().length))){var b=m[C].trim().split(":");b.splice(0,1),s.push([h[o],v.trim(),b.join(":").trim(),g])}}}}}for(s.sort(D),r=0;r").concat(O.$html.find("head").get(0).outerHTML,""));else if(void 0===e&&(e=!1),O.opts.fullPage){n=w(O.iframe_document),O.$el.removeClass("fr-view");var T=O.opts.heightMin,M=O.opts.height,N=O.opts.heightMax;O.opts.heightMin=null,O.opts.height=null,O.opts.heightMax=null,O.size.refresh(),n+="").concat(O.$html.html(),""),O.opts.heightMin=T,O.opts.height=M,O.opts.heightMax=N,O.size.refresh(),O.$el.addClass("fr-view")}else n=O.$el.html();if(!O.opts.useClasses&&!t)for(r=0;r(?:[\w\W]*?)<\/style>/g,"")).replace(/]*)data-fr-style="true"([^>]*)>/g,"")).replace(/(?:[\w\W]*?)<\/style>/g,"")).replace(/((?:[\w\W]*?))<\/body>/g,"$3")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,'$6')).replace(/((?:[\w\W]*?))<\/body>/g,"$3")),O.opts.htmlSimpleAmpersand&&(n=n.replace(/&/gi,"&")),O.events.trigger("html.afterGet"),e||(n=n.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),n=O.clean.invisibleSpaces(n),n=O.clean.exec(n,k);var A=O.events.chainTrigger("html.get",n);return"string"==typeof A&&(n=A),n=(n=n.replace(/(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/
    /g,"\n")})).replace(/ ".concat(O.html.defaultTag())),r=n.length-1;0<=r;r--){var o=n[r];O.node.isBlock(o.previousSibling)||(o.previousSibling&&!O.node.isEmpty(o)&&h("
    ").insertAfter(o.previousSibling),o.outerHTML=o.innerHTML)}return t.innerHTML}(r)),!(o=O.markers.split()))return!1;o.outerHTML=r}else o.outerHTML=r}else O.el.innerHTML+=r}g(),O.keys.positionCaret(),O.events.trigger("html.inserted")},wrap:t,unwrap:function A(){O.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&h(this).before("
    "),h(this).attr("data-empty")||!this.nextSibling||O.node.isBlock(this.nextSibling)&&!h(this.nextSibling).hasClass("fr-temp-div")?h(this).replaceWith(h(this).html()):h(this).replaceWith("".concat(h(this).html(),"
    "))}),O.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return""===h(this).attr("class")}).removeAttr("class")},escapeEntities:function x(e){return e.replace(//gi,">").replace(/"/gi,""").replace(/'/gi,"'")},checkIfEmpty:o,extractNode:m,extractNodeAttrs:C,extractDoctype:v,cleanBRs:function R(){for(var e=O.el.getElementsByTagName("br"),t=0;t").concat(V.MARKERS,"
    ")):d.$el.html("".concat(V.MARKERS,"
    ")),d.selection.restore(),d.placeholder.refresh(),d.button.bulkRefresh(),d.undo.saveStep()},0)}function i(){p=!1}function a(){p=!1}function g(){var e=d.html.defaultTag();e?d.$el.html("<".concat(e,">").concat(V.MARKERS,"
    ")):d.$el.html("".concat(V.MARKERS,"
    ")),d.selection.restore()}function m(e,t){if((-1/g,"")).length<1?e.parentElement.insertAdjacentHTML("afterbegin"," "):" "!=n&&" "!=n&&"Backspace"==t.key?u(t):" "!=n&&" "!=n&&"Delete"==t.key&&h(t),!0}if(o(e).is("p")){var r=e.innerHTML.replace(/
    /g,"");return r.length<1?e.insertAdjacentHTML("afterbegin"," "):" "!=r&&" "!=r&&"Backspace"==t.key?u(t):" "!=r&&" "!=r&&"Delete"==t.key&&h(t),!0}}return!1}function s(e){var t=d.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&v(e.which))return!0;d.events.disableBlur();var n=e.which;if(16===n)return!0;if((f=n)===V.KEYCODE.IME)return p=!0;p=!1;var r=b(n)&&!C(e)&&!e.altKey,o=n===V.KEYCODE.BACKSPACE||n===V.KEYCODE.DELETE;if((d.selection.isFull()&&!d.opts.keepFormatOnDelete&&!d.placeholder.isVisible()||o&&d.placeholder.isVisible()&&d.opts.keepFormatOnDelete)&&(r||o)&&(g(),!b(n)))return e.preventDefault(),!0;if(n===V.KEYCODE.ENTER)e.shiftKey||t.classList.contains("fr-inner")||t.parentElement.classList.contains("fr-inner")?function i(e){e.preventDefault(),e.stopPropagation(),d.opts.multiLine&&(d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter(!0))}(e):function a(e){d.opts.multiLine?(d.helpers.isIOS()||(e.preventDefault(),e.stopPropagation()),d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter()):(e.preventDefault(),e.stopPropagation())}(e);else if(n===V.KEYCODE.BACKSPACE&&(e.metaKey||e.ctrlKey))!function s(){setTimeout(function(){d.events.disableBlur(),d.events.focus()},0)}();else if(n!==V.KEYCODE.BACKSPACE||C(e)||e.altKey)if(n!==V.KEYCODE.DELETE||C(e)||e.altKey||e.shiftKey)n===V.KEYCODE.SPACE?function l(e){var t=d.selection.element();if(!d.helpers.isMobile()&&t&&"A"===t.tagName){e.preventDefault(),e.stopPropagation(),d.selection.isCollapsed()||d.selection.remove();var n=d.markers.insert();if(n){var r=n.previousSibling;!n.nextSibling&&n.parentNode&&"A"===n.parentNode.tagName?(n.parentNode.insertAdjacentHTML("afterend"," ".concat(V.MARKERS)),n.parentNode.removeChild(n)):(r&&r.nodeType===Node.TEXT_NODE&&1===r.textContent.length&&160===r.textContent.charCodeAt(0)?r.textContent+=" ":n.insertAdjacentHTML("beforebegin"," "),n.outerHTML=V.MARKERS),d.selection.restore()}}}(e):n===V.KEYCODE.TAB?function c(e){if(0d.$wp.offset().top-d.helpers.scrollTop()+d.$wp.height()-20&&d.$wp.scrollTop(e+d.$wp.scrollTop()-(d.$wp.height()+d.$wp.offset().top)+d.helpers.scrollTop()+20)):(e=d.position.getBoundingRect().top,d.opts.toolbarBottom&&(e+=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),(e+=d.opts.toolbarStickyOffset)>d.o_win.innerHeight-20&&o(d.o_win).scrollTop(e+d.helpers.scrollTop()-d.o_win.innerHeight+20),e=d.position.getBoundingRect().top,d.opts.toolbarBottom||(e-=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),e<100&&o(d.o_win).scrollTop(e+d.helpers.scrollTop()-100))}function c(e){var t=d.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&0===e.which&&f&&(e.which=f),d.helpers.isAndroid()&&d.browser.mozilla)return!0;if(p)return!1;if(e&&d.helpers.isIOS()&&e.which===V.KEYCODE.ENTER&&d.doc.execCommand("undo"),!d.selection.isCollapsed())return!0;if(e&&(e.which===V.KEYCODE.META||e.which===V.KEYCODE.CTRL))return!0;if(e&&v(e.which))return!0;if(e&&!d.helpers.isIOS()&&(e.which===V.KEYCODE.ENTER||e.which===V.KEYCODE.BACKSPACE||37<=e.which&&e.which<=40&&!d.browser.msie))try{l()}catch(r){}var n=d.selection.element();(function o(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(t)&&0=V.KEYCODE.ARROW_LEFT&&e<=V.KEYCODE.ARROW_DOWN)return!0}function b(e){if(e>=V.KEYCODE.ZERO&&e<=V.KEYCODE.NINE)return!0;if(e>=V.KEYCODE.NUM_ZERO&&e<=V.KEYCODE.NUM_MULTIPLY)return!0;if(e>=V.KEYCODE.A&&e<=V.KEYCODE.Z)return!0;if(d.browser.webkit&&0===e)return!0;switch(e){case V.KEYCODE.SPACE:case V.KEYCODE.QUESTION_MARK:case V.KEYCODE.NUM_PLUS:case V.KEYCODE.NUM_MINUS:case V.KEYCODE.NUM_PERIOD:case V.KEYCODE.NUM_DIVISION:case V.KEYCODE.SEMICOLON:case V.KEYCODE.FF_SEMICOLON:case V.KEYCODE.DASH:case V.KEYCODE.EQUALS:case V.KEYCODE.FF_EQUALS:case V.KEYCODE.COMMA:case V.KEYCODE.PERIOD:case V.KEYCODE.SLASH:case V.KEYCODE.APOSTROPHE:case V.KEYCODE.SINGLE_QUOTE:case V.KEYCODE.OPEN_SQUARE_BRACKET:case V.KEYCODE.BACKSLASH:case V.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function L(e){var t=e.which;if(C(e)||37<=t&&t<=40||!b(t)&&t!==V.KEYCODE.DELETE&&t!==V.KEYCODE.BACKSPACE&&t!==V.KEYCODE.ENTER&&t!==V.KEYCODE.IME)return!0;n||(r=d.snapshot.get(),d.undo.canDo()||d.undo.saveStep()),clearTimeout(n),n=setTimeout(function(){n=null,d.undo.saveStep()},Math.max(250,d.opts.typingTimer))}function E(e){var t=e.which;if(C(e)||37<=t&&t<=40)return!0;r&&n?(d.undo.saveStep(r),r=null):void 0!==t&&0!==t||r||n||d.undo.saveStep()}function y(e){if(e&&"BR"===e.tagName)return!1;try{return 0===(e.textContent||"").length&&e.querySelector&&!e.querySelector(":scope > br")||e.childNodes&&1===e.childNodes.length&&e.childNodes[0].getAttribute&&("false"===e.childNodes[0].getAttribute("contenteditable")||d.node.hasClass(e.childNodes[0],"fr-img-caption"))}catch(t){return!1}}function S(e){var t=d.el.childNodes,n=d.html.defaultTag(),r=d.node.blockParent(d.selection.blocks()[0]);return r&&"TR"==r.tagName&&r.getAttribute("contenteditable")==undefined&&(r=r.closest("table")),!d.node.isEditable(e.target)||r&&"false"===r.getAttribute("contenteditable")?d.toolbar.disable():d.toolbar.enable(),!(!e.target||e.target===d.el)||(0===t.length||void(t[0].offsetHeight+t[0].offsetTop<=e.offsetY?y(t[t.length-1])&&(n?d.$el.append("<".concat(n,">").concat(V.MARKERS,"
    ")):d.$el.append("".concat(V.MARKERS,"
    ")),d.selection.restore(),l()):e.offsetY<=10&&y(t[0])&&(n?d.$el.prepend("<".concat(n,">").concat(V.MARKERS,"
    ")):d.$el.prepend("".concat(V.MARKERS,"
    ")),d.selection.restore(),l())))}function T(){n&&clearTimeout(n)}return{_init:function M(){d.events.on("keydown",L),d.events.on("input",e),d.events.on("mousedown",a),d.events.on("keyup input",E),d.events.on("keypress",i),d.events.on("keydown",s),d.events.on("keyup",c),d.events.on("destroy",T),d.events.on("html.inserted",c),d.events.on("cut",t),d.opts.multiLine&&d.events.on("click",S)},ctrlKey:C,isCharacter:b,isArrow:v,forceUndo:function N(){n&&(clearTimeout(n),d.undo.saveStep(),r=null)},isIME:function A(){return p},isBrowserAction:function x(e){var t=e.which;return C(e)||t===V.KEYCODE.F5},positionCaret:l}},Object.assign(V.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1}),V.MODULES.paste=function(N){var a,s,A,i,x,O=N.$;function n(e,t){try{N.win.localStorage.setItem("fr-copied-html",e),N.win.localStorage.setItem("fr-copied-text",t)}catch(n){}}function e(e){var t=N.html.getSelected();n(t,O(N.doc.createElement("div")).html(t).text()),"cut"===e.type&&(N.undo.saveStep(),setTimeout(function(){N.selection.save(),N.html.wrap(),N.selection.restore(),N.events.focus(),N.undo.saveStep()},0))}var l=!1;function t(e){if("INPUT"===e.target.nodeName&&"text"===e.target.type)return!0;if(N.edit.isDisabled())return!1;if(c(e.target))return!1;if(l)return!1;if(e.originalEvent&&(e=e.originalEvent),!1===N.events.trigger("paste.before",[e]))return e.preventDefault(),!1;if(e&&e.clipboardData&&e.clipboardData.getData){var t="",n=e.clipboardData.types;if(N.helpers.isArray(n))for(var r=0;r
    '),N.browser.webkit||N.browser.mozilla?(i.css("top",N.$sc.scrollTop()),N.$el.after(i)):N.browser.edge&&N.opts.iframe?N.$el.append(i):N.$box.after(i),N.events.on("destroy",function(){i.remove()}));var e;N.helpers.isIOS()&&N.$sc&&(e=N.$sc.scrollTop());N.opts.iframe&&N.$el.attr("contenteditable","false");i.focus(),N.helpers.isIOS()&&N.$sc&&N.$sc.scrollTop(e);N.win.setTimeout(d,1)}(),!1}function c(e){return e&&"false"===e.contentEditable}function r(e){if(e.originalEvent&&(e=e.originalEvent),c(e.target))return!1;if(e&&e.dataTransfer&&e.dataTransfer.getData){var t="",n=e.dataTransfer.types;if(N.helpers.isArray(n))for(var r=0;r")),""!==a){N.keys.forceUndo(),x=N.snapshot.get(),N.selection.save(),N.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var o=N.markers.insertAtPoint(e);if(N.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),N.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),N.selection.restore(),N.selection.remove(),N.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==o){var i=N.el.querySelector(".fr-marker");return O(i).replaceWith(V.MARKERS),N.selection.restore(),d(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1}}else a=null}}function d(){N.opts.iframe&&N.$el.attr("contenteditable","true"),N.browser.edge&&N.opts.iframe&&N.$box.after(i),x||(N.keys.forceUndo(),x=N.snapshot.get()),a||(a=i.get(0).innerHTML,A=i.text(),N.selection.restore(),N.events.enableBlur());var e=a.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),t=N.events.chainTrigger("paste.beforeCleanup",a);t&&"string"==typeof t&&(a=t),(!e||e&&!1!==N.events.trigger("paste.wordPaste",[a]))&&o(a,e)}function w(e){for(var t="",n=0;n++]*(]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),e=(e=(e=a+e.replace(/[.\s\S\w\W<>]*]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/ \n/g,"
    ")})).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var s=!1;0<=e.indexOf('id="docs-internal-guid')&&(e=e.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),s=!0),0<=e.indexOf('content="Sheets"')&&(e=e.replace(/width:0px;/g,""));var l=!1;if(!t)if((l=function E(){var e=null;try{e=N.win.localStorage.getItem("fr-copied-text")}catch(t){}return!(!e||!A||A.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==e.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")&&A.replace(/\s/g,"")!==e.replace(/\s/g,""))}())&&(e=N.win.localStorage.getItem("fr-copied-html")),l)e=N.clean.html(e,N.opts.pasteDeniedTags,N.opts.pasteDeniedAttrs);else{var c=N.opts.htmlAllowedStyleProps;N.opts.htmlAllowedStyleProps=N.opts.pasteAllowedStyleProps,N.opts.htmlAllowComments=!1,e=(e=(e=e.replace(/\s*<\/span>/g,w(N.opts.tabSpaces||4))).replace(/(\t*)<\/span>/g,function(e,t){return w(t.length*(N.opts.tabSpaces||4))})).replace(/\t/g,w(N.opts.tabSpaces||4)),e=N.clean.html(e,N.opts.pasteDeniedTags,N.opts.pasteDeniedAttrs),N.opts.htmlAllowedStyleProps=c,N.opts.htmlAllowComments=!0,e=(e=(e=$(e)).replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!t||N.wordPaste&&n||(0===(e=e.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("")&&(e="".concat(e,"
    ")),e=$(e=function y(e){var t;e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/([\s\S]*?)<\/p>/gi,"
    • $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
    1. $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
      $5")).replace(/([\s\S]*?)<\/p>/gi,"
        $5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5
    ")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)([\s\S]*?)/gi,"")).replace(/([\s\S]*?)/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(//gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>/gi,"");var n,r=["style","script","applet","embed","noframes","noscript"];for(t=0;t"),"gi");e=e.replace(o,"")}for(e=(e=(e=e.replace(/ /gi," ")).replace(/]*)><\/td>/g,"
    ")).replace(/]*)><\/th>/g,"
    ");(e=(n=e).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==n;);e=(e=e.replace(/]*)>/gi,'
  • ')).replace(/]*)>/gi,""),e=(e=(e=N.clean.html(e,N.opts.pasteDeniedTags,N.opts.pasteDeniedAttrs)).replace(/(.[^<]+)<\/a>/gi,"$1")).replace(/
    */g,"
    ");var i=N.o_doc.createElement("div");i.innerHTML=e;var a=i.querySelectorAll("li[data-indent]");for(t=0;t ul, :scope > ol");c||(c=document.createElement("ul"),l.appendChild(c)),c.appendChild(s)}else s.removeAttribute("data-indent")}return N.html.cleanBlankSpaces(i),e=i.innerHTML}(e))),N.opts.pastePlain&&!l&&(e=function S(e){var t,n=null,r=N.doc.createElement("div");r.innerHTML=e;var o=r.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(t=0;t").concat(n.innerText,"");for(t=(o=r.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=t;t--)(n=o[t]).outerHTML=n.innerHTML;return function i(e){for(var t=N.node.contents(e),n=0;n")?(N.html.cleanBlankSpaces(f),N.spaces.normalize(f,!0)):N.spaces.normalize(f);var p=f.getElementsByTagName("span");for(r=p.length-1;0<=r;r--){var u=p[r];0===u.attributes.length&&(u.outerHTML=u.innerHTML)}if(!0===N.opts.linkAlwaysBlank){var h=f.getElementsByTagName("a");for(r=h.length-1;0<=r;r--){var g=h[r];g.getAttribute("target")||g.setAttribute("target","_blank")}}var m=N.selection.element(),C=!1;if(m&&O(m).parentsUntil(N.el,"ul, ol").length&&(C=!0),C){var v=f.children;1===v.length&&0<=["OL","UL"].indexOf(v[0].tagName)&&(v[0].outerHTML=v[0].innerHTML)}if(!s){var b=f.getElementsByTagName("br");for(r=b.length-1;0<=r;r--){var L=b[r];N.node.isBlock(L.previousSibling)&&L.parentNode.removeChild(L)}}if(N.opts.enter===V.ENTER_BR)for(r=(o=f.querySelectorAll("p, div")).length-1;0<=r;r--)0===(i=o[r]).attributes.length&&(i.outerHTML=i.innerHTML+(i.nextSibling&&!N.node.isEmpty(i)?"
    ":""));else if(N.opts.enter===V.ENTER_DIV)for(r=(o=f.getElementsByTagName("p")).length-1;0<=r;r--)0===(i=o[r]).attributes.length&&(i.outerHTML="
    ".concat(i.innerHTML,"
    "));else N.opts.enter===V.ENTER_P&&1===f.childNodes.length&&"P"===f.childNodes[0].tagName&&0===f.childNodes[0].attributes.length&&(f.childNodes[0].outerHTML=f.childNodes[0].innerHTML);e=f.innerHTML,l&&(e=function T(e){var t,n=N.o_doc.createElement("div");n.innerHTML=e;var r=n.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(V.VOID_ELEMENTS.join("):not("),"):not(").concat(N.opts.htmlAllowedEmptyTags.join("):not("),")"));for(;r.length;){for(t=0;t div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));r.length;){var o=r[r.length-1];if(N.html.defaultTag()&&"div"!==N.html.defaultTag())o.querySelector(N.html.blockTagsQuery())?o.outerHTML=o.innerHTML:o.outerHTML="<".concat(N.html.defaultTag(),">").concat(o.innerHTML,"");else{var i=o.querySelectorAll("*");!i.length||"BR"!==i[i.length-1].tagName&&0===o.innerText.length?o.outerHTML=o.innerHTML+(o.nextSibling?"
    ":""):!i.length||"BR"!==i[i.length-1].tagName||i[i.length-1].nextSibling?o.outerHTML=o.innerHTML+(o.nextSibling?"
    ":""):o.outerHTML=o.innerHTML}r=f(Array.prototype.slice.call(n.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(r=f(Array.prototype.slice.call(n.querySelectorAll("div:not([style])")));r.length;){for(t=0;tn.undo_index;)n.undo_stack.pop()}function o(){n.undo_index=0,n.undo_stack=[]}function i(){n.undo_stack=[]}return{_init:function a(){o(),n.events.on("initialized",function(){t=(n.$wp?n.$el.html():n.$oel.get(0).outerHTML).replace(/ style=""/g,"")}),n.events.on("blur",function(){n.el.querySelector(".fr-dragging")||n.undo.saveStep()}),n.events.on("keydown",e),n.events.on("destroy",i)},run:function s(){if(1'.concat(e,""));for(var t=0;t'));n.get(0).addEventListener("load",a.size.syncIframe),a.$head.append(n)}}},hasFocus:function l(){return a.browser.mozilla&&a.helpers.isMobile()?a.selection.inEditor():a.node.hasFocus(a.el)||0 span").css("width")),s=u.helpers.getPX(i.css("paddingLeft")),l=u.helpers.getPX(i.css("paddingRight"));i.css("width",a*u.opts.colorsStep+s+l)}return u.button.bindCommands(o,!1),o}function E(r){var o=g[r];return{_windowResize:function(){var e=o.data("instance")||u;!e.helpers.isMobile()&&o.isVisible()&&(e.events.disableBlur(),e.popups.hide(r),e.events.enableBlur())},_inputFocus:function(e){var t=o.data("instance")||u,n=d(e.currentTarget);if(n.is("input:file")&&n.closest(".fr-layer").addClass("fr-input-focus"),e.preventDefault(),e.stopPropagation(),setTimeout(function(){t.events.enableBlur()},100),t.helpers.isMobile()){var r=d(t.o_win).scrollTop();setTimeout(function(){d(t.o_win).scrollTop(r)},0)}},_inputBlur:function(e){var t=o.data("instance")||u,n=d(e.currentTarget);n.is("input:file")&&n.closest(".fr-layer").removeClass("fr-input-focus"),document.activeElement!==this&&d(this).isVisible()&&(t.events.blurActive()&&t.events.trigger("blur"),t.events.enableBlur())},_editorKeydown:function(e){var t=o.data("instance")||u;t.keys.ctrlKey(e)||e.which===V.KEYCODE.ALT||e.which===V.KEYCODE.ESC||(C(r)&&o.findVisible(".fr-back").length?t.button.exec(o.findVisible(".fr-back").first()):e.which!==V.KEYCODE.ALT&&t.popups.hide(r))},_preventFocus:function(e){var t=o.data("instance")||u,n=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;"mouseup"===e.type||d(n).is(":focus")||t.events.disableBlur(),"mouseup"!==e.type||d(n).hasClass("fr-command")||0').concat(r.attr("placeholder"),"")),r.attr("placeholder",""))}}(o),u.events.$on(o,"focus",a),u.events.$on(o,"blur change",s),u.events.$on(n,"click",".fr-checkbox + label",p),u.accessibility.registerPopup(e),u.helpers.isIOS()&&u.events.$on(n,"touchend","label",function(){d("#".concat(d(this).attr("for"))).prop("checked",function(e,t){return!t})},!0),u.events.$on(d(u.o_win),"resize",r._windowResize,!0),"filesManager.insert"===e&&g["filesManager.insert"].css("zIndex",2147483641),n},get:function T(e){var t=g[e];return t&&!t.data("inst".concat(u.id))&&f(E(e),e),t},show:function M(e,t,n,r,o){if(C(e)||(v()&&0 .fr-dropdown-wrapper").css("height",""),i.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),g[e].data("instance",u),u.$tb&&u.$tb.data("instance",u);var a=C(e);g[e].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var s=g[e].data("container");if(function p(e,t){t.isVisible()||(t=u.$sc),t.contains([g[e].get(0)])||t.append(g[e])}(e,s),u.opts.toolbarInline&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(m(e,u.$sc),n=u.$tb.offset().top-u.helpers.getPX(u.$tb.css("margin-top")),t=u.$tb.offset().left+u.$tb.outerWidth()/2,u.node.hasClass(u.$tb.get(0),"fr-above")&&n&&(n+=u.$tb.outerHeight()),r=0),s=g[e].data("container"),u.opts.iframe&&!r&&!a){var l=u.helpers.getPX(u.$wp.find(".fr-iframe").css("padding-top")),c=u.helpers.getPX(u.$wp.find(".fr-iframe").css("padding-left"));t&&(t-=u.$iframe.offset().left+c),n&&(n-=u.$iframe.offset().top+l)}s.is(u.$tb)?u.$tb.css("zIndex",(u.opts.zIndex||1)+4):g[e].css("zIndex",(u.opts.zIndex||1)+3),u.opts.toolbarBottom&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(g[e].addClass("fr-above"),n&&(n-=g[e].outerHeight())),o&&(t-=g[e].width()/2),t+g[e].outerWidth()>u.$sc.offset().left+u.$sc.width()&&(t-=t+g[e].outerWidth()-u.$sc.offset().left-u.$sc.width()),twindow.innerHeight/2&&(window.innerWidth<500?e.get(0).clientHeight>.6*r&&o(e):400 button.fr-command").first());if(0a(i.o_win).width()&&(n=a(i.o_win).width()-i.$tooltip.outerWidth()),void 0===t&&(t=i.opts.toolbarBottom),e.offset().top-a(window).scrollTop()+e.outerHeight()+10>=a(window).height()&&(t=!0);var r=t?e.offset().top-i.$tooltip.height():e.offset().top+e.outerHeight();i.$tooltip.css("position",""),i.$tooltip.css("left",n),i.$tooltip.css("top",Math.ceil(r)),"static"!==a(i.o_doc).find("body").first().css("position")?(i.$tooltip.css("margin-left",-a(i.o_doc).find("body").first().offset().left),i.$tooltip.css("margin-top",-a(i.o_doc).find("body").first().offset().top)):(i.$tooltip.css("margin-left",""),i.$tooltip.css("margin-top",""))}}return{hide:r,to:o,bind:function s(e,t,n){i.opts.tooltips&&!i.helpers.isMobile()&&(i.events.$on(e,"mouseover",t,function(e){i.node.hasClass(e.currentTarget,"fr-disabled")||i.edit.isDisabled()||o(a(e.currentTarget),n)},!0),i.events.$on(e,"mouseout ".concat(i._mousedown," ").concat(i._mouseup),t,function(){r()},!0))}}},V.TOOLBAR_VISIBLE_BUTTONS=3,V.MODULES.button=function(g){var h=g.$,a=[];(g.opts.toolbarInline||g.opts.toolbarContainer)&&(g.shared.buttons||(g.shared.buttons=[]),a=g.shared.buttons);var s=[];function l(e,t,n){for(var r=h(),o=0;o .fr-dropdown-wrapper");if(!n){var l=e.data("cmd");t.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),V.COMMANDS[l]&&V.COMMANDS[l].refreshOnShow&&V.COMMANDS[l].refreshOnShow.apply(o,[e,t]),t.css("left",e.offset().left-e.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===g.opts.direction?t.width()-e.outerWidth():0)),t.addClass("test-height"),i=t.outerHeight(),a=g.helpers.getPX(s.css("max-height")),t.removeClass("test-height"),t.css("top","").css("bottom","");var c=e.outerHeight()/10;if(!g.opts.toolbarBottom&&t.offset().top+e.outerHeight()+ig.$sc.offset().left+g.$sc.width()&&t.css("margin-left",-(t.offset().left+t.outerWidth()-g.$sc.offset().left-g.$sc.width())),t.offset().left .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),0!==e.parents(".fr-popup").length||g.opts.toolbarInline||(g.node.hasClass(e.get(0),"fr-active")?g.$tb.css("zIndex",(g.opts.zIndex||1)+4):g.$tb.css("zIndex",""));var p=t.find("a.fr-command.fr-active").first();g.helpers.isMobile()||(p.length?(g.accessibility.focusToolbarElement(p),s.scrollTop(Math.abs(p.parents(".fr-dropdown-content").offset().top-p.offset().top)-p.offset().top)):(g.accessibility.focusToolbarElement(e),s.scrollTop(0)))}function i(e){e.addClass("fr-blink"),setTimeout(function(){e.removeClass("fr-blink")},500);for(var t=e.data("cmd"),n=[];void 0!==e.data("param".concat(n.length+1));)n.push(e.data("param".concat(n.length+1)));var r=m(".fr-dropdown.fr-active");r.length&&(r.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),e.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(t,n)}function t(e){var t=e.parents(".fr-popup, .fr-toolbar").data("instance");if(0===e.parents(".fr-popup").length&&e.data("popup")&&!e.hasClass("fr-btn-active-popup")&&e.addClass("fr-btn-active-popup"),0!==e.parents(".fr-popup").length||e.data("popup")||t.popups.hideAll(),t.popups.areVisible()&&!t.popups.areVisible(t)){for(var n=0;n .fr-dropdown-wrapper").css("height",""),t.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),t.prev().removeClass("fr-expanded"))}function f(e){e.preventDefault(),e.stopPropagation()}function p(e){if(e.stopPropagation(),!g.helpers.isMobile())return!1}function C(e){var t=1').concat(g.language.translate(i||t.title),"")}else o=g.icon.create(t.icon||e),o+=''.concat(g.language.translate(t.title)||"","");var a=t.popup?' data-popup="true"':"",s=t.modal?' data-modal="true"':"",l=g.shortcuts.get("".concat(e,"."));l=l?" (".concat(l,")"):"";var c="".concat(e,"-").concat(g.id),d="dropdown-menu-".concat(c),f='");if("dropdown"===t.type||"options"===t.type){var p='
    "}return t.hasOptions&&t.hasOptions.apply(g)&&(f='
    '.concat(f," ").concat(C(e+"Options",Object.assign({},t,{type:"options",hasOptions:!1}),n),"
    ")),f}function e(o){var i=g.$tb&&g.$tb.data("instance")||g;if(!1===g.events.trigger("buttons.refresh"))return!0;setTimeout(function(){for(var e=i.selection.inEditor()&&i.core.hasFocus(),t=0;t
  • ':"-"===o&&(n+=''))}return n},buildGroup:function E(e){var t="",n="";for(var r in e){var o=e[r];if(o.buttons){for(var i="",a="",s=0,l="left",c=V.TOOLBAR_VISIBLE_BUTTONS,d=0;d
    ':"-"==f&&(i+='')),!p||p&&"undefined"!=typeof p.plugin&&g.opts.pluginsEnabled.indexOf(p.plugin)<0||(e[r].align!==undefined&&(l=e[r].align),e[r].buttonsVisible!==undefined&&(c=e[r].buttonsVisible),e.showMoreButtons&&c<=s?a+=C(f,p,!0):i+=C(f,p,!0),s++)}if(e.showMoreButtons&&c').concat(i,""),e.showMoreButtons&&0').concat(a,""))}}return g.opts.toolbarBottom?"".concat(n,'
    ').concat(t):"".concat(t,'
    ').concat(n)},bindCommands:function y(t,e){g.events.bindClick(t,".fr-command:not(.fr-disabled)",c),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu",f,!0),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu .fr-dropdown-wrapper",p,!0);var n=t.get(0).ownerDocument,r="defaultView"in n?n.defaultView:n.parentWindow;function o(e){(!e||e.type===g._mouseup&&e.target!==h("html").get(0)||"keydown"===e.type&&(g.keys.isCharacter(e.which)&&!g.keys.ctrlKey(e)||e.which===V.KEYCODE.ESC))&&d(t)}g.events.$on(h(r),"".concat(g._mouseup," resize keydown"),o,!0),g.opts.iframe&&g.events.$on(g.$win,g._mouseup,o,!0),g.node.hasClass(t.get(0),"fr-popup")?h.merge(s,t.find(".fr-btn").toArray()):h.merge(a,t.find(".fr-btn").toArray()),g.tooltip.bind(t,".fr-btn, .fr-title",e)},refresh:function S(e){var t,n=e.parents(".fr-popup, .fr-toolbar").data("instance")||g,r=e.data("cmd");g.node.hasClass(e.get(0),"fr-dropdown")?t=e.next():(e.removeClass("fr-active"),e.attr("aria-pressed")&&e.attr("aria-pressed",!1)),V.COMMANDS[r]&&V.COMMANDS[r].refresh?V.COMMANDS[r].refresh.apply(n,[e,t]):g.refresh[r]&&n.refresh[r](e,t)},bulkRefresh:n,exec:i,click:t,hideActiveDropdowns:d,addButtons:function T(e){for(var t=0;t
    '),p.removeClass("fr-visible");else if(!1===d.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass("fr-dragging"),!1===(t=d.events.chainTrigger("element.beforeDrop",t)))return!1;var a=t;if(t.parent().is("A")&&1===t.parent().get(0).childNodes.length&&(a=t.parent()),d.core.isEmpty())d.events.focus();else d.$el.find(".fr-marker").replaceWith(Mt.MARKERS),d.selection.restore();if(n===d||d.undo.canDo()||d.undo.saveStep(),d.core.isEmpty())d.$el.html(a);else{var o=d.markers.insert();0===a.find(o).length?f(o).replaceWith(a):0===t.find(o).length&&f(o).replaceWith(t),t.after(Mt.MARKERS),d.selection.restore()}return d.popups.hideAll(),d.selection.save(),d.$el.find(d.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(d.opts.htmlAllowedEmptyTags.join(",")).remove(),d.html.wrap(),d.html.fillEmptyBlocks(),d.selection.restore(),d.undo.saveStep(),d.opts.iframe&&d.size.syncIframe(),n!==d&&(n.popups.hideAll(),n.$el.find(n.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),n.html.wrap(),n.html.fillEmptyBlocks(),n.undo.saveStep(),n.events.trigger("element.dropped"),n.opts.iframe&&n.size.syncIframe()),d.events.trigger("element.dropped",[a]),!1}p&&p.removeClass("fr-visible"),d.undo.canDo()||d.undo.saveStep(),setTimeout(function(){d.undo.saveStep()},0)}function o(e){if(e&&"DIV"===e.tagName&&d.node.hasClass(e,"fr-drag-helper"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll("div.fr-drag-helper"),n=0;n
    ")};r.popups.create("text.edit",e)}(),e())},update:function t(){var e=r.popups.get("text.edit").find("input").val();0===e.length&&(e=r.opts.placeholderText),"INPUT"===r.el.tagName?r.$el.attr("placeholder",e):r.$el.text(e),r.events.trigger("contentChanged"),r.popups.hide("text.edit")}}},Mt.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}}),Object.assign(Mt.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(Mt.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"},{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"},{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D\u2019ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),Mt.PLUGINS.emoticons=function(m){var v=m.$,a=m.opts.emoticonsSet,o=a&&a[0],i="";function s(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),t=m.selection.endElement();if(e&&m.node.hasClass(e,"fr-emoticon"))return e;if(t&&m.node.hasClass(t,"fr-emoticon"))return t;var n=m.selection.ranges(0),r=n.startContainer;if(r.nodeType==Node.ELEMENT_NODE&&0\n '.concat(function n(e,r){var a="";return e.forEach(function(e){var t={image:e.code.toLowerCase()},n={elementClass:e.id===r.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:m.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:m.language.translate(e.name),dataCmd:"setEmoticonCategory",dataParam1:e.id,image:m.opts.emoticonsUseImage?''):"&#x".concat(t.image,";")};a+='")}),a}(e,t),"\n ")}(a,o),"\n ").concat(function n(e){return'\n
    \n '.concat(function t(e){var a="";return e.emoticons.forEach(function(e){var t=e.code.split("-").reduce(function(e,t){return e?"".concat(e,"‍&#x").concat(t.toLowerCase(),";"):"&#x".concat(t.toLowerCase(),";")},""),n={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:t},r={dataParam1:e.code.toLowerCase(),dataParam2:n.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?''):"".concat(n.compiledCode),desc:m.language.translate(e.desc)};a+='\n ').concat(r.image,'').concat(r.desc,"   ")}),a}(e),"\n
    \n ")}(o),"\n ").concat(function e(){return m.opts.emoticonsUseImage?'

    Emoji free by Emoji One

    ':""}())}return{_init:function e(){var n=function n(){for(var e=m.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),t=0;t=Mt.KEYCODE.ARROW_LEFT&&e.which<=Mt.KEYCODE.ARROW_DOWN)){var r=s();m.node.hasClass(r,"fr-emoticon-img")&&(v(r).append(Mt.MARKERS),m.selection.restore())}})},insert:function c(e,t){var n=s(),r=m.selection.ranges(0);n?(0===r.startOffset&&m.selection.element()===n?v(n).before(Mt.MARKERS+Mt.INVISIBLE_SPACE):0").concat(t?" ":e,"
     ").concat(Mt.MARKERS),!0)):m.html.insert('").concat(t?" ":e," "),!0)},setEmoticonCategory:function n(t){o=a.filter(function(e){return e.id===t})[0],function e(){m.popups.get("emoticons").html(i+l())}()},showEmoticonsPopup:function d(){var e=m.popups.get("emoticons");if(e||(e=function o(){m.opts.toolbarInline&&0'.concat(m.button.buildList(m.opts.emoticonsButtons),""));var e={buttons:i,custom_layer:l()},t=m.popups.create("emoticons",e);return function n(g){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible("emoticons")||!t.is("span, a"))return!0;var n,r,a,o=e.which;if(Mt.KEYCODE.TAB==o){if(t.is("span.fr-emoticon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var i=g.find(".fr-buttons");n=!m.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==n){var s=g.find("span.fr-emoticon:focus").first().concat(g.findVisible(" div.fr-tabs").first().concat(g.find("a")));t.is("span.fr-emoticon")&&(s=s.not("span.fr-emoticon:not(:focus)")),r=s.index(t),r=e.shiftKey?((r-1)%s.length+s.length)%s.length:(r+1)%s.length,a=s.get(r),m.events.disableBlur(),a.focus(),n=!1}}else if(Mt.KEYCODE.ARROW_UP==o||Mt.KEYCODE.ARROW_DOWN==o||Mt.KEYCODE.ARROW_LEFT==o||Mt.KEYCODE.ARROW_RIGHT==o){if(t.is("span.fr-emoticon")){var l=t.parent().find("span.fr-emoticon");r=l.index(t);var c=m.opts.emoticonsStep,d=Math.floor(l.length/c),f=r%c,p=Math.floor(r/c),u=p*c+f,h=d*c;Mt.KEYCODE.ARROW_UP==o?u=((u-c)%h+h)%h:Mt.KEYCODE.ARROW_DOWN==o?u=(u+c)%h:Mt.KEYCODE.ARROW_LEFT==o?u=((u-1)%h+h)%h:Mt.KEYCODE.ARROW_RIGHT==o&&(u=(u+1)%h),a=v(l.get(u)),m.events.disableBlur(),a.focus(),n=!1}}else Mt.KEYCODE.ENTER==o&&(t.is("a")?t[0].click():m.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(t),t}()),!e.hasClass("fr-active")){m.popups.refresh("emoticons"),m.popups.setContainer("emoticons",m.$tb);var t=m.$tb.find('.fr-command[data-cmd="emoticons"]'),n=m.button.getPosition(t),r=n.left,a=n.top;m.popups.show("emoticons",r,a,t.outerHeight())}},back:function t(){m.popups.hide("emoticons"),m.toolbar.showInline()}}},Mt.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),Mt.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),Mt.RegisterCommand("insertEmoticon",{callback:function(e,t,n){this.emoticons.insert(n,this.opts.emoticonsUseImage?"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/".concat(t,".svg"):null),this.popups.hide("emoticons")}}),Mt.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,t){this.emoticons.setEmoticonCategory(t)}}),Mt.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}}),Object.assign(Mt.DEFAULTS,{entities:""'¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿŒœŠšŸƒˆ˜ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψωϑϒϖ   ‌‍‎‏–—‘’‚“”„†‡•…‰′″‹›‾⁄€ℑ℘ℜ™ℵ←↑→↓↔↵⇐⇑⇒⇓⇔∀∂∃∅∇∈∉∋∏∑−∗√∝∞∠∧∨∩∪∫∴∼≅≈≠≡≤≥⊂⊃⊄⊆⊇⊕⊗⊥⋅⌈⌉⌊⌋⟨⟩◊♠♣♥♦"}),Mt.PLUGINS.entities=function(a){var o,i,s=a.$;function r(e){var t=e.textContent;if(t.match(o)){for(var n="",r=0;r span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function m(e,t,n){E.edit.on(),E.events.focus(!0),E.selection.restore(),E.opts.fileUseSelectedText&&E.selection.text().length&&(t=E.selection.text()),E.html.insert('').concat(t,""));var r=E.$el.find("#fr-inserted-file");r.removeAttr("id"),E.popups.hide("file.insert"),E.undo.saveStep(),d(),E.events.trigger("file.inserted",[r,n])}function S(e,t,n){var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(E.opts.fileUploadToS3||E.opts.fileUploadToAzure)if(201===r){var s;if(E.opts.fileUploadToAzure){if(!1===E.events.trigger("file.uploadedToAzure",[this.responseURL,n,a],!0))return E.edit.on(),!1;s=t}else s=function c(e){try{var t=p(e).find("Location").text(),n=p(e).find("Key").text();return!1===E.events.trigger("file.uploadedToS3",[t,n,e],!0)?(E.edit.on(),!1):t}catch(r){return _(g,e),!1}}(o);s&&m(s,e,a||o)}else _(g,a||o);else if(200<=r&&r<300){var l=function d(e){try{if(!1===E.events.trigger("file.uploaded",[e],!0))return E.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(_(u,e),!1)}catch(n){return _(g,e),!1}}(i);l&&m(l.link,e,a||i)}else _(h,a||i)}catch(f){_(g,a||i)}}function w(){_(g,this.response||this.responseText||this.responseXML)}function R(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;a(E.language.translate("Uploading"),t)}}function _(e,t){E.edit.on(),function r(e){L();var t=E.popups.get("file.insert").find(".fr-file-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),E.events.disableBlur(),n.focus()}(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("file.error",[{code:e,message:n[e]},t])}function x(){E.edit.on(),o(!0)}function i(e){if(void 0!==e&&0E.opts.fileMaxSize)return _(T),!1;if(E.opts.fileAllowedTypes.indexOf("*")<0&&E.opts.fileAllowedTypes.indexOf(n.type.replace(/file\//g,""))<0)return _(A),!1;if(E.drag_support.formdata&&(t=E.drag_support.formdata?new FormData:null),t){var r;if(!1!==E.opts.fileUploadToS3)for(r in t.append("key",E.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),E.opts.fileUploadToS3.params)E.opts.fileUploadToS3.params.hasOwnProperty(r)&&t.append(r,E.opts.fileUploadToS3.params[r]);for(r in E.opts.fileUploadParams)E.opts.fileUploadParams.hasOwnProperty(r)&&t.append(r,E.opts.fileUploadParams[r]);t.append(E.opts.fileUploadParam,n);var a,o,i=E.opts.fileUploadURL;E.opts.fileUploadToS3&&(i=E.opts.fileUploadToS3.uploadURL?E.opts.fileUploadToS3.uploadURL:"https://".concat(E.opts.fileUploadToS3.region,".amazonaws.com/").concat(E.opts.fileUploadToS3.bucket));var s=E.opts.fileUploadMethod;E.opts.fileUploadToAzure&&(i=E.opts.fileUploadToAzure.uploadURL?"".concat(E.opts.fileUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(E.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(E.opts.fileUploadToAzure.container,"/").concat(n.name)),a=i,E.opts.fileUploadToAzure.SASToken&&(i+=E.opts.fileUploadToAzure.SASToken),s="PUT");var l=E.core.getXHR(i,s);if(E.opts.fileUploadToAzure){var c=(new Date).toUTCString();if(!E.opts.fileUploadToAzure.SASToken&&E.opts.fileUploadToAzure.accessKey){var d=E.opts.fileUploadToAzure.account,f=E.opts.fileUploadToAzure.container;if(E.opts.fileUploadToAzure.uploadURL){var p=E.opts.fileUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+d+"/"+f+"/"+n.name),g=s+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+u+"\n"+h,m=E.cryptoJSPlugin.cryptoJS.HmacSHA256(g,E.cryptoJSPlugin.cryptoJS.enc.Base64.parse(E.opts.fileUploadToAzure.accessKey)).toString(E.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;o=m,l.setRequestHeader("Authorization",v)}for(r in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",n.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),E.opts.fileUploadParams)E.opts.fileUploadParams.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.fileUploadParams[r]);for(r in E.opts.fileUploadToAzure.params)E.opts.fileUploadToAzure.params.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.fileUploadToAzure.params[r])}l.onload=function(){S.call(l,n.name,a,o)},l.onerror=w,l.upload.onprogress=R,l.onabort=x,L();var b=E.popups.get("file.insert");b&&(b.off("abortUpload"),b.on("abortUpload",function(){4!==l.readyState&&l.abort()})),l.send(E.opts.fileUploadToAzure?n:t)}}}function s(){o()}function l(e){if(e)return E.popups.onHide("file.insert",s),!0;var t;E.opts.fileUpload||E.opts.fileInsertButtons.splice(E.opts.fileInsertButtons.indexOf("fileUpload"),1),t='
    '.concat(E.button.buildList(E.opts.fileInsertButtons),"
    ");var n="";E.opts.fileUpload&&(n='
    ').concat(E.language.translate("Drop file"),"
    (").concat(E.language.translate("or click"),')
    '));var r={buttons:t,upload_layer:n,progress_bar:'

    Uploading

    '},a=E.popups.create("file.insert",r);return function o(n){E.events.$on(n,"dragover dragenter",".fr-file-upload-layer",function(){return p(this).addClass("fr-drop"),!1},!0),E.events.$on(n,"dragleave dragend",".fr-file-upload-layer",function(){return p(this).removeClass("fr-drop"),!1},!0),E.events.$on(n,"drop",".fr-file-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),p(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;t&&t.files&&(n.data("instance")||E).file.upload(t.files)},!0),E.helpers.isIOS()&&E.events.$on(n,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){p(this).trigger("click")}),E.events.$on(n,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||E;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.file.upload(this.files)}p(this).val("")},!0)}(a),a}function t(e){E.node.hasClass(e,"fr-file")}function c(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var n=t.files[0];if(n&&"undefined"!=typeof n.type){if(n.type.indexOf("image")<0){if(!E.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;E.markers.remove(),E.markers.insertAtPoint(e.originalEvent),E.$el.find(".fr-marker").replaceWith(Mt.MARKERS),E.popups.hideAll();var r=E.popups.get("file.insert");return r||(r=l()),E.popups.setContainer("file.insert",E.$sc),E.popups.show("file.insert",e.originalEvent.pageX,e.originalEvent.pageY),L(),i(t.files),e.preventDefault(),e.stopPropagation(),!1}}else n.type.indexOf("image")<0&&(e.preventDefault(),e.stopPropagation())}}function d(){var e,t=Array.prototype.slice.call(E.el.querySelectorAll("a.fr-file")),n=[];for(e=0;e',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],Mt.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,Mt.IMAGE_EMBED_REGEX=/^\W*(((\s|\n)*))\W*$/i,Mt.PLUGINS.filesManager=function(S){var y,i,w,l,c,d,s,f,R=S.$,T="https://i.froala.com/upload",p=!1,t=!1,_=new Map,x=new Map,A=new Map,L=new Map,M=new Map,O=new Map,o=0,a=[],u=-1,k=[],h=0,g=["file","image","imageTUI","video"],N=1,m=2,I=3,D=4,B=5,F=6,$=10,P=["video/avi","video/mpeg","video/x-ms-wmv"],v={};function b(){var e=S.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function C(e){var t;S.hasOwnProperty("imageTUI")||(s="fr-disabled"),O.forEach(function(e,t){X(t)}),E()?(t=S.popups.get("filesManager.insert"))||(t=Ue()):(t=S.popups.get("filesManager.insert"))||(t=function i(){var e='
    '.concat(S.button.buildList(S.opts.fileInsertButtons),"
    "),t="
    \n

    ".concat(S.language.translate(function a(){var e="",t=function n(){var t=[];return g.forEach(function(e){S.opts.pluginsEnabled.indexOf(e)<0&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),t}();e=t.join(", "),1

    \n
    \n \n \n
    "),n={buttons:e,upload_layer:t,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""},r=S.popups.create("filesManager.insert",n);return Ie(r),r}());var n=S.$tb.find('.fr-command[data-cmd="insertFiles"]');if(J(),e||!t.hasClass("fr-active"))if(e||Z(),S.popups.refresh("filesManager.insert"),S.popups.setContainer("filesManager.insert",S.$tb),n.isVisible()){var r=S.button.getPosition(n,_.size),a=r.left,o=r.top;S.popups.show("filesManager.insert",a,o,n.outerHeight())}else S.position.forSelection(t),S.popups.show("filesManager.insert");S.popups.setPopupDimensions(t),E()&&S.popups.setFileListHeight(t),t.find(".fr-upload-progress")&&0==_.size&&t.find(".fr-upload-progress").addClass("fr-none")}function E(){var t=!0;return g.forEach(function(e){S.opts.pluginsEnabled.indexOf(e)<0&&(t=!1)}),t}function H(){J()}function U(){if(l||function i(){var e;S.shared.$image_resizer?(l=S.shared.$image_resizer,d=S.shared.$img_overlay,S.events.on("destroy",function(){R("body").first().append(l.removeClass("fr-active"))},!0)):(S.shared.$image_resizer=R(document.createElement("div")).attr("class","fr-image-resizer"),l=S.shared.$image_resizer,S.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),S.opts.imageResize&&(l.append(K("nw")+K("ne")+K("sw")+K("se")),S.shared.$img_overlay=R(document.createElement("div")).attr("class","fr-image-overlay"),d=S.shared.$img_overlay,e=l.get(0).ownerDocument,R(e).find("body").first().append(d)));S.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,S.opts.imageResize&&(d.remove(),d=null)},!0),S.helpers.isMobile()||S.events.$on(R(S.o_win),"resize",function(){y&&!y.hasClass("fr-uploading")?at(!0):y&&(U(),replace(),Q(!1))});if(S.opts.imageResize){e=l.get(0).ownerDocument,S.events.$on(l,S._mousedown,".fr-handler",W),S.events.$on(R(e),S._mousemove,V),S.events.$on(R(e.defaultView||e.parentWindow),S._mouseup,G),S.events.$on(d,"mouseleave",G);var r=1,a=null,o=0;S.events.on("keydown",function(e){if(y){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==a||200"),Ae(y)),a=n,o=e.timeStamp}},!0),S.events.on("keyup",function(){r=1})}}(),!y)return!1;var e=S.$wp||S.$sc;e.append(l),l.data("instance",S);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),n=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);n-=S.helpers.getPX(e.css("border-left-width")),t-=S.helpers.getPX(e.css("border-top-width")),S.$el.is("img")&&S.$sc.is("body")&&(n=t=0);var r=dt();ft()&&(r=r.find(".fr-img-wrap"));var a=0,o=0;S.opts.iframe&&(a=S.helpers.getPX(S.$wp.find(".fr-iframe").css("padding-top")),o=S.helpers.getPX(S.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(S.opts.iframe?r.offset().top+a:r.offset().top+t)-1).css("left",(S.opts.iframe?r.offset().left+o:r.offset().left+n)-1).css("width",r.get(0).getBoundingClientRect().width).css("height",r.get(0).getBoundingClientRect().height).addClass("fr-active")}function K(e){return'
    ')}function z(e){ft()?y.parents(".fr-img-caption").css("width",e):y.css("width",e)}function W(e){if(!S.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),S.$el.find("img.fr-error").left)return!1;S.undo.canDo()||S.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var n=S.$oel.get(0).ownerDocument,r=n.defaultView||n.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(s){}a&&r.frameElement&&(t+=S.helpers.getPX(R(r.frameElement).offset().left)+r.frameElement.clientLeft)}(c=R(this)).data("start-x",t),c.data("start-width",y.width()),c.data("start-height",y.height());var o=y.width();if(S.opts.imageResizeWithPercent){var i=y.parentsUntil(S.$el,S.html.blockTagsQuery()).get(0)||S.el;o=(o/R(i).outerWidth()*100).toFixed(2)+"%"}z(o),d.show(),S.popups.hideAll(),st()}function V(e){if(!S.core.sameInstance(l))return!0;var t;if(c&&y){if(e.preventDefault(),S.$el.find("img.fr-error").left)return!1;var n=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!n)return!1;var r=n-c.data("start-x"),a=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(r=0-r),S.opts.imageResizeWithPercent){var o=y.parentsUntil(S.$el,S.html.blockTagsQuery()).get(0)||S.el;a=((a+r)/R(o).outerWidth()*100).toFixed(2),S.opts.imageRoundPercent&&(a=Math.round(a)),z("".concat(a,"%")),(t=ft()?(S.helpers.getPX(y.parents(".fr-img-caption").css("width"))/R(o).outerWidth()*100).toFixed(2):(S.helpers.getPX(y.css("width"))/R(o).outerWidth()*100).toFixed(2))===a||S.opts.imageRoundPercent||z("".concat(t,"%")),y.css("height","").removeAttr("height")}else a+r>=S.opts.imageMinWidth&&(z(a+r),t=ft()?S.helpers.getPX(y.parents(".fr-img-caption").css("width")):S.helpers.getPX(y.css("width"))),t!==a+r&&z(t),((y.attr("style")||"").match(/(^height:)|(; *height:)/)||y.attr("height"))&&(y.css("height",c.data("start-height")*y.width()/c.data("start-width")),y.removeAttr("height"));U(),S.events.trigger("image.resize",[ct()])}}function G(e){if(!S.core.sameInstance(l))return!0;if(c&&y){if(e&&e.stopPropagation(),S.$el.find("img.fr-error").left)return!1;c=null,d.hide(),U(),S.undo.saveStep(),S.events.trigger("image.resizeEnd",[ct()])}else l.removeClass("fr-active")}function Y(){O.forEach(function(e,t){var n=S.popups.get("filesManager.insert");n.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),n.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),n.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function j(e,t,n,r){S.edit.on(),y&&y.addClass("fr-error"),v[e]?(e!=I&&e!=m&&e!=D||Ee(100,r,!0),O.set(r,v[e]),Y(),function a(){O.forEach(function(e,t){S.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))})}(),ne(S.language.translate(v[e]),r)):ne(S.language.translate("Something went wrong. Please try again."),r),!y&&n&&Xe(n),S.events.trigger("filesManager.error",[{code:e,message:v[e]},t,n])}function q(){var e=S.popups.get("filesManager.insert"),t=e.find('.fr-command[data-cmd="insertAll"]'),n=e.find('.fr-command[data-cmd="deleteAll"]'),r=!0;M.forEach(function a(e,t,n){M.get(t)&&(r=!1)}),r?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),r?n.addClass("fr-disabled"):n.removeClass("fr-disabled")}function X(e){x.get(e)&&x.get(e).link&&S.events.trigger("filesManager.removed",[x.get(e).link]);var t=S.popups.get("filesManager.insert");t.find(".fr-file-"+e).get(0)!==undefined&&(t.find(".fr-file-"+e).get(0).outerHTML=""),x["delete"](e),_["delete"](e),M["delete"](e),q(),0==_.size&&(h=0),O["delete"](e),S.popups.setPopupDimensions(t,!0),S.opts.toolbarBottom?C(!0):S.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==_.size&&t.find(".fr-upload-progress").addClass("fr-none")}function Z(){for(var e=S.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),n=0;n span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function te(e){Q();var t=S.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),S.events.disableBlur(),n.focus()}function ne(e,t){var n=S.popups.get("filesManager.insert"),r=n.find(".fr-upload-progress-layer"),a=n.find(".fr-file-".concat(t));r.addClass("fr-error"),a.find("h5").text(e)}v[N]="File cannot be loaded from the passed link.",v[m]="No link in upload response.",v[I]="Error during file upload.",v[D]="Parsing response failed.",v[B]="File is too large.",v[F]="File type is invalid.",v[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",v[8]="File is corrupted.",v[9]="Error during file loading.",v[$]="File upload cancelled";var n,re,ae,oe,ie,se,r,le,ce,de,fe="";function pe(e){fe=e,n=document.getElementsByClassName(e),Array.prototype.map.call(n,function(e){!function r(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),re=e.pageX,ae=e.pageY;var t=document.getElementById("filesList");ae+20>t.getBoundingClientRect().bottom&&ue(t,0,10),ae-20a.getBoundingClientRect().bottom&&ue(a,0,5),e.targetTouches[0].clientY-5\n
    \n\n \n
    \n ').concat(S.helpers.isMobile()?"
    \n
    "):"",'\n
    \n \n ').concat('','\n \n
    \n \n
    \n \n
    \n Image preview\n
    \n\n
    \n
    \n ").concat(function s(e,t,n){null==t&&(t=100);null==n&&(n="...");return e.length>t?e.substring(0,t-n.length)+n:e}(t.name,20),'\n ').concat(t.name,"\n \n
    \n
    \n
    ").concat(n,"\n
    \n \n
    \n ").concat(function l(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(t.size),"\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    ")+Ce(e)+"
    \n
    ";r.find(".fr-upload-progress-layer")[0].innerHTML=o+r.find(".fr-upload-progress-layer")[0].innerHTML,_.forEach(function c(e,t,n){M.get(t)&&r.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),k.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),be(e,t),J(),S.opts.toolbarBottom?C(!0):S.popups.setPopupDimensions(r),pe("fr-file-list-item")}function ve(e){switch(e){case"application/msword":return S.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return S.icon.getFileIcon("docxIcon");case"image/gif":return S.icon.getFileIcon("gifIcon");case"image/jpeg":return S.icon.getFileIcon("jpegIcon");case"image/jpeg":return S.icon.getFileIcon("jpgIcon");case"type/text":return S.icon.getFileIcon("logIcon");case"video/quicktime":return S.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return S.icon.getFileIcon("mp3Icon");case"video/mp4":return S.icon.getFileIcon("mp4Icon");case"audio/ogg":return S.icon.getFileIcon("oggIcon");case"video/ogg":return S.icon.getFileIcon("ogvIcon");case"application/pdf":return S.icon.getFileIcon("pdfIcon");case"image/png":return S.icon.getFileIcon("pngIcon");case"text/plain":return S.icon.getFileIcon("txtIcon");case"video/webm":return S.icon.getFileIcon("webmIcon");case"image/webp":return S.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return S.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return S.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return S.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return S.icon.getFileIcon("zipIcon");default:return S.icon.getFileIcon("defaultIcon")}}function be(r,a,e){var o=S.popups.get("filesManager.insert"),t=o.find(".fr-file-item-icon-"+r).get(0);if(Be(_e(a))&&"image/gif"!=_e(a)&&"image/webp"!=_e(a)){"a"!=t.children[0].localName&&(t.innerHTML=""+t.innerHTML+"");o.find(".fr-file-item-icon-"+r).get(0).children[0].children[0];var i=new FileReader;if(null!=e&&e){var n=_.get(r);a.name=n.name,_.set(r,a)}if(i.onloadend=function(){o.find(".fr-file-item-icon-"+r).get(0).children[0].children[0].src=i.result;for(var e=atob(i.result.split(",")[1]),t=[],n=0;n\n '.concat(s.path,"\n ")}}else{var l=ve(_e(a));t.innerHTML='\n '.concat(l.path,"\n ")}}function Ce(e){var t="";if($e(_e(_.get(e)))){var n="fr-files-checkbox",r="";He(_e(_.get(e)))||(n="fr-checkbox-disabled",r="disabled");t='\n
    \n
    \n \n \n\n ").concat(''," \n
    \n \n
    ")}var a="application/msword",o="application/vnd.openxmlformats-officedocument.wordprocessingml.document",i="";return!Pe(_e(_.get(e)))&&He(_e(_.get(e)))||(s="fr-disabled"),$e(_e(_.get(e)))&&(s="fr-disabled"),Fe(_e(_.get(e)))&&(s="fr-disabled",_e(_.get(e))!=a&&_e(_.get(e))!=o||S.opts.googleOptions&&!S.helpers.isMobile()&&S.opts.googleOptions.API_KEY&&S.opts.googleOptions.CLIENT_ID&&(s=""),"text/plain"!=_e(_.get(e))&&_e(_.get(e))!=a&&"application/pdf"!=_e(_.get(e))&&_e(_.get(e))!=o&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=_e(_.get(e))&&"application/vnd.ms-excel"!=_e(_.get(e))&&"type/text"!=_e(_.get(e))||(i="")),"video/url"===_e(_.get(e))&&(s="fr-disabled"),t+='
    \n \n\n \n \n \n\n \n \n
    \n
    \n \n
    \n\n
    \n\n
    \n ")}function Ee(e,t,n){var r=S.popups.get("filesManager.insert");if(!n&&e<=100){r.find(".fr-checkbox-file-"+t).get(0).disabled=!0,r.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),r.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var a=r.find(".fr-file-progress-circle-"+t),o=r.find(".fr-file-upload-percent-"+t);return 50 *")),n=[];for(e=0;e',n.appendChild(r),document.getElementById("signout_button").onclick=a,document.getElementById("cancel_file_edit").onclick=l}function l(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=undefined)});var e=document.getElementById("editDocContainer");e.parentNode.removeChild(e),document.getElementById("user_area-".concat(p.fileIndex))&&(document.getElementById("user_area-".concat(p.fileIndex)).style.display="none"),function r(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),n=0;n'),!0);else S.html.insert('').concat(n,""));var a=S.$el.find("#fr-inserted-file");a.removeAttr("id"),S.undo.saveStep(),function T(){var e,t=Array.prototype.slice.call(S.el.querySelectorAll("a.fr-file")),n=[];for(e=0;e'.concat(x.get(s).video,"
    "),!1,S.opts.videoSplitHTML),S.popups.hide("filesManager.insert");var g=S.$el.find(".fr-jiv");g.removeClass("fr-jiv"),g.toggleClass("fr-rv",S.opts.videoResponsive),function A(e,t,n){!S.opts.htmlUntouched&&S.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(g,S.opts.videoDefaultDisplay,S.opts.videoDefaultAlign),g.toggleClass("fr-draggable",S.opts.videoMove),S.events.trigger("video.inserted",[g]),Le.call(g)}else{var m=x.get(s).link,v=x.get(s).sanitize,b=x.get(s).data,C=x.get(s).$existing_img,E=x.get(s).response;S.edit.off(),v&&(m=S.helpers.sanitizeURL(m)),function L(){var e,t;if(C){S.undo.canDo()||C.find("video").hasClass("fr-uploading")||S.undo.saveStep();var n=C.find("video").data("fr-old-src"),r=C.data("fr-replaced");C.data("fr-replaced",!1),S.$wp?((e=C.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&C.find("video").attr("src",n),C.replaceWith(e)):e=C;for(var a=e.find("video").get(0).attributes,o=0;o"+S.language.translate("Your browser does not support HTML5 video.")+"");else{var c="",d=document.getElementById("fr-file-autoplay-button-"+a).checked;d&&(c="autoplay"),s=R(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+S.opts.videoDefaultDisplay[0]+("center"!=S.opts.videoDefaultAlign?" fr-fv"+S.opts.videoDefaultAlign[0]:"")).html('")}s.toggleClass("fr-draggable",S.opts.videoMove),S.edit.on(),S.events.focus(!0),S.selection.restore(),S.undo.saveStep(),S.opts.videoSplitHTML?S.markers.split():S.markers.insert();S.html.wrap();var f=S.$el.find(".fr-marker");S.node.isLastSibling(f)&&f.parent().hasClass("fr-deletable")&&f.insertAfter(f.parent());f.replaceWith(s);var p="";p=Pe(r)?"audio":"video",s.find(p).get(0).readyState>s.find(p).get(0).HAVE_FUTURE_DATA||S.helpers.isIOS()?n.call(s.find(p).get(0)):(s.find(p).on("canplaythrough load",n),s.find(p).on("error",n));return s}(m,b,Le,_e(x.get(s)),s),Se(),S.undo.saveStep(),S.events.trigger("video.inserted",[e,E])}()}S.popups.hide("filesManager.insert"),M["delete"](s);var y=S.popups.get("filesManager.insert");y.find("input.fr-insert-attr.fr-checkbox-file-".concat(s))[0].checked=!1,y.find(".fr-file-"+s).get(0).classList.add("fr-unchecked"),q(),document.getElementById("fr-file-autoplay-button-"+s)&&(document.getElementById("fr-file-autoplay-button-"+s).checked=!1),k=k.filter(function(e){return e!=s})}function Me(e,t){var n,r;Mt.VIDEO_EMBED_REGEX.test(e)?(n="video",r=S.opts.videoSplitHTML):Mt.IMAGE_EMBED_REGEX.test(e)&&(n="image",r=S.opts.imageSplitHTML),S.events.focus(!0),S.selection.restore();var a=!1;y&&(Xe(),a=!0),S.html.insert('').concat(e,""),!1,r),S.popups.hide("filesManager.insert");var o=S.$el.find(".fr-jiv");o.removeClass("fr-jiv"),"video"==n&&(o.toggleClass("fr-rv",S.opts.videoResponsive),function i(e,t,n){!S.opts.htmlUntouched&&S.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(o,S.opts.videoDefaultDisplay,S.opts.videoDefaultAlign),o.toggleClass("fr-draggable",S.opts.videoMove),S.events.trigger(a?"video.replaced":"video.inserted",[o])),"image"==n&&(lt(o,S.opts.imageDefaultDisplay,S.opts.imageDefaultAlign),o.find("img").removeClass("fr-dii"),o.find("img").addClass("fr-dib"),o.toggleClass("fr-draggable",S.opts.imageMove),S.events.trigger(a?"image.replaced":"image.inserted",[o])),t&&(f=o,S.selection.clear(),S.toolbar.disable(),S.video._editVideo(f))}function Oe(e,t){try{if(!1===S.events.trigger("filesManager.uploaded",[e],!0))return S.edit.on(),!1;var n=JSON.parse(e);return n.link?n:(j(m,e,null,t),!1)}catch(r){return j(D,e,null,t),!1}}function ke(e,t){try{var n=R(e).find("Location").text(),r=R(e).find("Key").text();return!1===S.events.trigger("filesManager.uploadedToS3",[n,r,e],!0)?(S.edit.on(),!1):n}catch(a){return j(D,e,null,t),!1}}function Ne(e,t,n,r){if(-1S.opts.filesManagerMaxSize)return j(B,null,null,r),!1;if(S.opts.filesManagerAllowedTypes.indexOf("*")<0&&S.opts.filesManagerAllowedTypes.indexOf(_e(e))<0)return j(F,null,null,r),!1;var a;if(function E(e){isNaN(e)||(S.popups.get("filesManager.insert").find(".fr-file-item-right-"+e).get(0).innerHTML='
    \n \n\n \n\n
    \n 0%\n
    \n
    \n
    \n
    \n
    \n
    "),L.set(e,0))}(r),S.drag_support.formdata&&(a=S.drag_support.formdata?new FormData:null),a){var o;if(!1!==S.opts.filesManagerUploadToS3)for(o in a.append("key",S.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",_e(e)),S.opts.filesManagerUploadToS3.params)S.opts.filesManagerUploadToS3.params.hasOwnProperty(o)&&a.append(o,S.opts.filesManagerUploadToS3.params[o]);for(o in S.opts.filesManagerUploadParams)S.opts.filesManagerUploadParams.hasOwnProperty(o)&&a.append(o,S.opts.filesManagerUploadParams[o]);a.append(S.opts.filesManagerUploadParam,e,e.name);var i,s,l=S.opts.filesManagerUploadURL;S.opts.filesManagerUploadToS3&&(l=S.opts.filesManagerUploadToS3.uploadURL?S.opts.filesManagerUploadToS3.uploadURL:"https://".concat(S.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(S.opts.filesManagerUploadToS3.bucket)),S.opts.filesManagerUploadToAzure&&(l=S.opts.filesManagerUploadToAzure.uploadURL?"".concat(S.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(S.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(S.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),i=l,S.opts.filesManagerUploadToAzure.SASToken&&(l+=S.opts.filesManagerUploadToAzure.SASToken),S.opts.filesManagerUploadMethod="PUT");var c=S.core.getXHR(l,S.opts.filesManagerUploadMethod);if(S.opts.filesManagerUploadToAzure){var d=(new Date).toUTCString();if(!S.opts.filesManagerUploadToAzure.SASToken&&S.opts.filesManagerUploadToAzure.accessKey){var f=S.opts.filesManagerUploadToAzure.account,p=S.opts.filesManagerUploadToAzure.container;if(S.opts.filesManagerUploadToAzure.uploadURL){var u=S.opts.filesManagerUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var h="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+f+"/"+p+"/"+e.name),m=S.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+_e(e)+"\n\n\n\n\n\n\n"+h+"\n"+g,v=S.cryptoJSPlugin.cryptoJS.HmacSHA256(m,S.cryptoJSPlugin.cryptoJS.enc.Base64.parse(S.opts.filesManagerUploadToAzure.accessKey)).toString(S.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;s=v,c.setRequestHeader("Authorization",b)}for(o in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",_e(e)),c.setRequestHeader("x-ms-blob-type","BlockBlob"),S.opts.filesManagerUploadParams)S.opts.filesManagerUploadParams.hasOwnProperty(o)&&c.setRequestHeader(o,S.opts.filesManagerUploadParams[o]);for(o in S.opts.filesManagerUploadToAzure.params)S.opts.filesManagerUploadToAzure.params.hasOwnProperty(o)&&c.setRequestHeader(o,S.opts.filesManagerUploadToAzure.params[o])}c.onload=function(){Fe(_e(e))?function h(e,t,n,r,a){var o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(S.opts.filesManagerUploadToS3||S.opts.filesManagerUploadToAzure)if(201===o){var c;if(S.opts.filesManagerUploadToAzure){if(!1===S.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,i],!0))return S.edit.on(),!1;c=r}else c=ke(s,t);if(c){var d={link:c,text:e,response:i,type:n};x.set(t,d)}}else j(D,i||s,null,t);else if(200<=o&&o<300){var f=Oe(l,t);if(f){var p={link:f.link,text:e,response:i,type:n};x.set(t,p)}}else j(I,i||l,null,t)}catch(u){j(D,i||l,null,t)}}.call(c,e.name,r,_e(e),i,s):function g(e,t,n,r,a){var o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(S.opts.filesManagerUploadToS3||S.opts.filesManagerUploadToAzure)if(201==o){var c;if(S.opts.filesManagerUploadToAzure){if(!1===S.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,i],!0))return S.edit.on(),!1;c=r}else c=ke(s,t);if(c){var d={link:c,sanitize:!1,data:[],$existing_img:e,response:i||s,type:n};x.set(t,d)}}else j(D,i||s,e,t);else if(200<=o&&o<300){var f=Oe(l,t);if(f){var p={link:f.link,sanitize:!1,data:f,$existing_img:e,response:i||s,type:n};x.set(t,p)}}else j(I,i||l,e,t)}catch(u){j(D,i||l,e,t)}}.call(c,y,r,_e(e),i,s),O.has(r)||Ee(100,r,!0)},c.onerror=function(){j(D,this.response||this.responseText||this.responseXML,null,r)},c.upload.onprogress=function(e){!function n(e,t){e.lengthComputable&&Ee(e.loaded/e.total*100|0,t,!1)}(e,r)},c.onabort=function(e){!function n(e,t){j($,t,y,e)}(r,e)},c.send(S.opts.filesManagerUploadToAzure?e:a),A.set(r,c)}}function Ie(l){S.events.$on(l,"click",".fr-upload-progress-layer",function(e){if(S.helpers.isMobile())return e.stopPropagation(),!1},!0),S.events.$on(l,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t\n \n ";s[0].innerHTML=l+s[0].innerHTML}else if($e(_e(x.get(e)))){var c;if(x.get(e).hasOwnProperty("video")){var d=x.get(e).video.substring(x.get(e).video.indexOf("src")+3),f=d.substring(d.indexOf('"')+1);f=f.substring(0,f.indexOf('"')),c='
    \n
    \n
    ×
    \n \n
    \n
    ')}else c='
    \n
    \n
    ×
    \n \n
    \n
    ";s[0].innerHTML=c+s[0].innerHTML}else if(Pe(_e(x.get(e)))){var p='
    \n
    \n
    ×
    \n \n
    \n
    ');s[0].innerHTML=p+s[0].innerHTML}else if(Fe(_e(x.get(e)))){var u=x.get(e).link,h=x.get(e).text;if(u.endsWith(".pdf")||u.endsWith(".txt")){var g='
    \t\n
    \t\n
    ×
    \t\n \t\n
    \t\n
    ');s[0].innerHTML=g+s[0].innerHTML}else if(0===u.indexOf("blob:")&&S.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(_.get(e),h);else{var m=document.createElement("a");m.href=u,m.download=h,m.click()}}}}(t)}),S.events.$on(l,"click",".fr-file-delete-button",function(e){X(parseInt(this.id.split("-").pop()))}),S.events.$on(l,"click",".fr-file-cancel-upload-button",function(e){!function n(e){var t=S.popups.get("filesManager.insert");t.find(".fr-file-item-right-"+e).get(0).innerHTML=Ce(e),A.get(e).abort(),ye(e,100,!0),t.find(".fr-checkbox-file-"+e).get(0).disabled=!0}(parseInt(this.id.split("-").pop()))}),S.events.$on(l,"click",".fr-upload-delete-button",function(e){!function t(e){0!=A.get(e).readyState&&(A.get(e).abort(),ye(e,100,!0),A["delete"](e)),X(e)}(parseInt(this.id.split("-").pop()))}),S.events.$on(l,"click",".fr-file-view-close",function(e){l.find(".fr-file-view-modal").get(0).outerHTML=""}),S.events.$on(l,"click",".fr-plugins-enable",function(e){!function t(){g.forEach(function(e){S.opts.pluginsEnabled.indexOf(e)<0&&S.opts.pluginsEnabled.push(e)})}(),function n(e){for(var t in e)if(!S[t]){if(Mt.PLUGINS[t]&&S.opts.pluginsEnabled.indexOf(t)<0)continue;S[t]=new e[t](S),S[t]._init&&S[t]._init()}}(Mt.PLUGINS),S.popups.get("filesManager.insert").get(0).outerHTML="",Ue(),C(!0)}),S.events.$on(l,"click",".fr-plugins-cancel",function(e){S.popups.hide("filesManager.insert")}),S.events.$on(l,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),S.events.$on(l,"drop",".fr-files-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),R(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=l.data("instance")||S;n.events.disableBlur();for(var r=[],a=0;a'.concat(a,'').concat(o,""));var i=S.opts.filesInsertButtons.indexOf("filesUpload"),s=S.opts.filesInsertButtons.indexOf("filesByURL"),l=S.opts.filesInsertButtons.indexOf("filesEmbed"),c="";0<=i&&(t=" fr-active",0<=s&&s
    Drag & Drop One or More Files
    OR
    Click Browse Files
    '));var d="";0<=l&&(t=" fr-active",(i
    "));var f="";0<=s&&(t=" fr-active",0<=i&&i
    "));var p={buttons:r,upload_layer:c,by_url_layer:f,embed_layer:d,upload_progress_layer:"
    "),progress_bar:'

    Uploading

    '};return 1<=S.opts.imageInsertButtons.length&&(n=S.popups.create("filesManager.insert",p)),S.$wp&&S.events.$on(S.$wp,"scroll",function(){y&&S.popups.isVisible("filesManager.insert")&&replace()}),Ie(n),S.popups.setPopupDimensions(n),n}function Ke(e){var t=e.split("/").pop();if(t.split(".").length<2){var n=new Date;return t+"-"+n.getDate()+"/"+(n.getMonth()+1)+"/"+n.getFullYear()}return t}function ze(){y&&S.popups.get("image.alt").find("input").val(y.attr("alt")||"").trigger("change")}function We(){var e=S.popups.get("image.alt");e||(e=Ve()),J(),S.popups.refresh("image.alt"),S.popups.setContainer("image.alt",S.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();S.popups.show("image.alt",n,r,t.outerHeight(),!0)}function Ve(e){if(e)return S.popups.onRefresh("image.alt",ze),!0;var t={buttons:'
    '.concat(S.button.buildList(S.opts.imageAltButtons),"
    "),alt_layer:'
    ")},n=S.popups.create("image.alt",t);return S.$wp&&S.events.$on(S.$wp,"scroll.image-alt",function(){y&&S.popups.isVisible("image.alt")&&We()}),n}function Ge(){var e=S.popups.get("image.size");if(y)if(ft()){var t=y.parent();t.get(0).style.width||(t=y.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(y.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(y.get(0).style.height).trigger("change")}function Ye(){var e=S.popups.get("image.size");e||(e=je()),J(),S.popups.refresh("image.size"),S.popups.setContainer("image.size",S.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();S.popups.show("image.size",n,r,t.outerHeight(),!0)}function je(e){if(e)return S.popups.onRefresh("image.size",Ge),!0;var t={buttons:'
    '.concat(S.button.buildList(S.opts.imageSizeButtons),"
    "),size_layer:'
    ")},n=S.popups.create("image.size",t);return S.$wp&&S.events.$on(S.$wp,"scroll.image-size",function(){y&&S.popups.isVisible("image.size")&&Ye()}),n}function qe(e,t,n,r){return e.pageX=t,W.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),V.call(this,e),G.call(this,e),++r}function Xe(e){(e=e||dt())&&!1!==S.events.trigger("image.beforeRemove",[e])&&(S.popups.hideAll(),at(!0),S.undo.canDo()||S.undo.saveStep(),e.get(0)==S.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(S.selection.setBefore(e.get(0).parentNode)||S.selection.setAfter(e.get(0).parentNode)||e.parent().after(Mt.MARKERS),R(e.get(0).parentNode).remove()):(S.selection.setBefore(e.get(0))||S.selection.setAfter(e.get(0))||e.after(Mt.MARKERS),e.remove()),S.html.fillEmptyBlocks(),S.selection.restore()),S.undo.saveStep())}function Ze(e){var t=e.which;if(y&&(t==Mt.KEYCODE.BACKSPACE||t==Mt.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),Xe(),!1;if(y&&t==Mt.KEYCODE.ESC){var n=y;return at(!0),S.selection.setAfter(n.get(0)),S.selection.restore(),e.preventDefault(),!1}if(!y||t!=Mt.KEYCODE.ARROW_LEFT&&t!=Mt.KEYCODE.ARROW_RIGHT)return y&&t===Mt.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),at(!0),!1):y&&t!=Mt.KEYCODE.F10&&!S.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var r=y.get(0);return at(!0),t==Mt.KEYCODE.ARROW_LEFT?S.selection.setBefore(r):S.selection.setAfter(r),S.selection.restore(),e.preventDefault(),!1}function Qe(e){if(e&&"IMG"==e.tagName){if(S.node.hasClass(e,"fr-uploading")||S.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):S.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&S.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var n=e.nextSibling;n&&n.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var r=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a"));var r=S.$el.find('img[data-fr-image-pasted="true"]');r&<(r,S.opts.imageDefaultDisplay,S.opts.imageDefaultAlign),S.events.trigger("paste.after")}function nt(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var n=0;n"):R(S.node.blockParent(e.get(0))).after("<".concat(S.html.defaultTag(),">
    ")))})})(),"IMG"==S.el.tagName&&S.$el.addClass("fr-view"),S.helpers.isMobile()&&(S.events.$on(S.$el,"touchstart","IMG"==S.el.tagName?null:'img:not([contenteditable="false"])',function(){de=!1}),S.events.$on(S.$el,"touchmove",function(){de=!0})),S.$wp?(S.events.on("window.keydown keydown",Ze,!0),S.events.on("keyup",function(e){if(y&&e.which==Mt.KEYCODE.ENTER)return!1},!0),S.events.$on(S.$el,"keydown",function(){var e=S.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&S.node.isLastSibling(e))&&(e=e.parentNode),S.node.hasClass(e,"fr-inner")||(S.node.hasClass(e,"fr-img-caption")||(e=R(e).parents(".fr-img-caption").get(0)),S.node.hasClass(e,"fr-img-caption")&&(R(e).after(Mt.INVISIBLE_SPACE+Mt.MARKERS),S.selection.restore()))})):S.events.$on(S.$win,"keydown",Ze),S.events.on("toolbar.esc",function(){if(y){if(S.$wp)S.events.disableBlur(),S.events.focus();else{var e=y;at(!0),S.selection.setAfter(e.get(0)),S.selection.restore()}return!1}},!0),S.events.on("toolbar.focusEditor",function(){if(y)return!1},!0),S.events.on("window.cut window.copy",function(e){if(y&&S.popups.isVisible("image.edit")&&!S.popups.get("image.edit").find(":focus").length){var t=dt();ft()?(t.before(Mt.START_MARKER),t.after(Mt.END_MARKER),S.selection.restore(),S.paste.saveCopiedText(t.get(0).outerHTML,t.text())):S.paste.saveCopiedText(y.get(0).outerHTML,y.attr("alt")),"copy"==e.type?setTimeout(function(){Ae(y)}):(at(!0),S.undo.saveStep(),setTimeout(function(){S.undo.saveStep()},0))}},!0),S.browser.msie&&S.events.on("keydown",function(e){if(!S.selection.isCollapsed()||!y)return!0;var t=e.which;t==Mt.KEYCODE.C&&S.keys.ctrlKey(e)?S.events.trigger("window.copy"):t==Mt.KEYCODE.X&&S.keys.ctrlKey(e)&&S.events.trigger("window.cut")}),S.events.$on(R(S.o_win),"keydown",function(e){var t=e.which;if(y&&t==Mt.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),S.events.$on(S.$win,"keydown",function(e){var t=e.which;y&&y.hasClass("fr-uploading")&&t==Mt.KEYCODE.ESC&&y.trigger("abortUpload")}),S.events.on("destroy",function(){y&&y.hasClass("fr-uploading")&&y.trigger("abortUpload")}),S.events.on("paste.before",nt),S.events.on("paste.beforeCleanup",rt),S.events.on("paste.after",et),S.events.on("html.processGet",Qe),S.opts.imageOutputSize&&S.events.on("html.beforeGet",function(){r=S.el.querySelectorAll("img");for(var e=0;e \n '.concat(S.button.buildList(S.opts.imageEditButtons),"\n ")};return S.popups.create("image.edit",n)}return!1}(!0),Ue(!0),je(!0),Ve(!0),S.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return Xe(e),!1}),S.events.on("popups.hide.filesManager.insert",function(e){S.filesManager.minimizePopup(w)})},showInsertPopup:C,showLayer:function ut(e){var t,n,r=S.popups.get("filesManager.insert");if(y||S.opts.toolbarInline){if(y){var a=dt();ft()&&(a=a.find(".fr-img-wrap")),n=a.offset().top+a.outerHeight(),t=a.offset().left}}else{var o=S.$tb.find('.fr-command[data-cmd="insertFiles"]');t=o.offset().left,n=o.offset().top+(S.opts.toolbarBottom?10:o.outerHeight()-10)}!y&&S.opts.toolbarInline&&(n=r.offset().top-S.helpers.getPX(r.css("margin-top")),r.hasClass("fr-above")&&(n+=r.outerHeight())),r.find(".fr-layer").removeClass("fr-active"),r.find(".fr-".concat(e,"-layer")).addClass("fr-active"),r.find(".fr-upload-progress-layer").addClass("fr-active"),S.popups.show("filesManager.insert",t,n,y?y.outerHeight():0),S.accessibility.focusPopup(r)},refreshUploadButton:function ht(e){var t=S.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function gt(e){var t=S.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:Ne,insertByURL:function mt(){for(var e,t=S.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),n=t.val().trim().split(/[ ,]+/),r=[],a=0,o=0;o

     

    '),e.wrap(''),y.after('").concat(Mt.START_MARKER).concat(S.language.translate("Image Caption")).concat(Mt.END_MARKER,"")),y.removeAttr("class").removeAttr("style").removeAttr("width"),y.parents(".fr-img-caption").css("width",s),at(!0),S.selection.restore()}else e=dt(),y.insertAfter(e),y.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),Ae(y)},refreshEmbedButton:function Tt(e){var t=S.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function At(e){void 0===e&&(e=S.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0===e.length||!Mt.VIDEO_EMBED_REGEX.test(e)&&!Mt.IMAGE_EMBED_REGEX.test(e)?(te(S.language.translate("Something went wrong. Please try again.")),Mt.VIDEO_EMBED_REGEX.test(e)&&S.events.trigger("video.codeError",[e])):Me(e)},hasCaption:ft,exitEdit:at,edit:Ae,cancelFileInsert:function Lt(){this.file_manager_dialog_open=!1,A.forEach(function(e,t){4!=e.readyState&&(e.abort(),X(t))});var e=S.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),o=0,A=new Map,L=new Map,Z(),S.popups.hide("filesManager.insert")},minimizePopup:function St(e){this.file_manager_dialog_open=!1,S.popups.hide("filesManager.insert"),Z()},editImage:Re,saveImage:function wt(e){var t=x.get(i);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),x.set(i,t)},_showErrorMessage:te,_showFileErrorMessage:ne,getFileThumbnail:be,deleteFile:X,checkAutoplay:De,checkInsertAllState:q,_disableInsertCheckbox:Y,_getFileType:_e,isChildWindowOpen:function Rt(){return p},setChildWindowState:function _t(e){e!==undefined&&(p=e)},resetAllFilesCheckbox:Z}},Mt.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),Mt.RegisterShortcut(Mt.KEYCODE.P,"insertFiles",null,"P"),Mt.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),Mt.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),Mt.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),Mt.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),Mt.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),Mt.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),Mt.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),Mt.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),Mt.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),Mt.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),Mt.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),Mt.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),Mt.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),Mt.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),Mt.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),Mt.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),Mt.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),Mt.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),Mt.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),Mt.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),Mt.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}}),Mt.PLUGINS.cryptoJSPlugin=function(e){var t,d,n,r,a,o,i,f,s,l,c,p,u,h,g,v,m,b,C,E,y,T,A,L,S,w,R,_,x,M,O,k,N,I,D,B,F,$,P,H,U,K,z,W,V,G,Y,j,q,X,Z,Q,J,ee,te,ne,re,ae,oe,ie,se,le,ce,de,fe,pe,ue,he,ge,me,ve=ve||function(d,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&"undefined"!=typeof global&&global.crypto&&(t=global.crypto),!t&&"function"==typeof require)try{t=require("crypto")}catch(g){}var r=function r(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function n(){}return function(e){var t;return n.prototype=e,t=new n,n.prototype=null,t}}(),a={},o=a.lib={},i=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},f=o.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,a=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=i<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=d.ceil(t/4)},clone:function e(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-a%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new f.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>24-a%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new f.init(n,t)}},p=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=o.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,n=this._data,r=n.words,a=n.sigBytes,o=this.blockSize,i=a/(4*o),s=(i=e?d.ceil(i):d.max((0|i)-this._minBufferSize,0))*o,l=d.min(4*s,a);if(s){for(var c=0;c>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var a=0;a>>6-o%4*2,l=i|s;r[a>>>2]|=l<<24-a%4*8,a++}return d.create(r,a)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(d){var e=ve,t=e.lib,n=t.WordArray,r=t.Hasher,a=e.algo,w=[];!function(){for(var e=0;e<64;e++)w[e]=4294967296*d.abs(d.sin(e+1))|0}();var o=a.MD5=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,a=e[r];e[r]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var o=this._hash.words,i=e[t+0],s=e[t+1],l=e[t+2],c=e[t+3],d=e[t+4],f=e[t+5],p=e[t+6],u=e[t+7],h=e[t+8],g=e[t+9],m=e[t+10],v=e[t+11],b=e[t+12],C=e[t+13],E=e[t+14],y=e[t+15],T=o[0],A=o[1],L=o[2],S=o[3];A=M(A=M(A=M(A=M(A=x(A=x(A=x(A=x(A=_(A=_(A=_(A=_(A=R(A=R(A=R(A=R(A,L=R(L,S=R(S,T=R(T,A,L,S,i,7,w[0]),A,L,s,12,w[1]),T,A,l,17,w[2]),S,T,c,22,w[3]),L=R(L,S=R(S,T=R(T,A,L,S,d,7,w[4]),A,L,f,12,w[5]),T,A,p,17,w[6]),S,T,u,22,w[7]),L=R(L,S=R(S,T=R(T,A,L,S,h,7,w[8]),A,L,g,12,w[9]),T,A,m,17,w[10]),S,T,v,22,w[11]),L=R(L,S=R(S,T=R(T,A,L,S,b,7,w[12]),A,L,C,12,w[13]),T,A,E,17,w[14]),S,T,y,22,w[15]),L=_(L,S=_(S,T=_(T,A,L,S,s,5,w[16]),A,L,p,9,w[17]),T,A,v,14,w[18]),S,T,i,20,w[19]),L=_(L,S=_(S,T=_(T,A,L,S,f,5,w[20]),A,L,m,9,w[21]),T,A,y,14,w[22]),S,T,d,20,w[23]),L=_(L,S=_(S,T=_(T,A,L,S,g,5,w[24]),A,L,E,9,w[25]),T,A,c,14,w[26]),S,T,h,20,w[27]),L=_(L,S=_(S,T=_(T,A,L,S,C,5,w[28]),A,L,l,9,w[29]),T,A,u,14,w[30]),S,T,b,20,w[31]),L=x(L,S=x(S,T=x(T,A,L,S,f,4,w[32]),A,L,h,11,w[33]),T,A,v,16,w[34]),S,T,E,23,w[35]),L=x(L,S=x(S,T=x(T,A,L,S,s,4,w[36]),A,L,d,11,w[37]),T,A,u,16,w[38]),S,T,m,23,w[39]),L=x(L,S=x(S,T=x(T,A,L,S,C,4,w[40]),A,L,i,11,w[41]),T,A,c,16,w[42]),S,T,p,23,w[43]),L=x(L,S=x(S,T=x(T,A,L,S,g,4,w[44]),A,L,b,11,w[45]),T,A,y,16,w[46]),S,T,l,23,w[47]),L=M(L,S=M(S,T=M(T,A,L,S,i,6,w[48]),A,L,u,10,w[49]),T,A,E,15,w[50]),S,T,f,21,w[51]),L=M(L,S=M(S,T=M(T,A,L,S,b,6,w[52]),A,L,c,10,w[53]),T,A,m,15,w[54]),S,T,s,21,w[55]),L=M(L,S=M(S,T=M(T,A,L,S,h,6,w[56]),A,L,y,10,w[57]),T,A,p,15,w[58]),S,T,C,21,w[59]),L=M(L,S=M(S,T=M(T,A,L,S,d,6,w[60]),A,L,v,10,w[61]),T,A,l,15,w[62]),S,T,g,21,w[63]),o[0]=o[0]+T|0,o[1]=o[1]+A|0,o[2]=o[2]+L|0,o[3]=o[3]+S|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32;var a=d.floor(n/4294967296),o=n;t[15+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,s=i.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return i},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function R(e,t,n,r,a,o,i){var s=e+(t&n|~t&r)+a+i;return(s<>>32-o)+t}function _(e,t,n,r,a,o,i){var s=e+(t&r|n&~r)+a+i;return(s<>>32-o)+t}function x(e,t,n,r,a,o,i){var s=e+(t^n^r)+a+i;return(s<>>32-o)+t}function M(e,t,n,r,a,o,i){var s=e+(n^(t|~r))+a+i;return(s<>>32-o)+t}e.MD5=r._createHelper(o),e.HmacMD5=r._createHmacHelper(o)}(Math),r=(n=ve).lib,a=r.WordArray,o=r.Hasher,i=n.algo,f=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=0;l<80;l++){if(l<16)f[l]=0|e[t+l];else{var c=f[l-3]^f[l-8]^f[l-14]^f[l-16];f[l]=c<<1|c>>>31}var d=(r<<5|r>>>27)+s+f[l];d+=l<20?1518500249+(a&o|~a&i):l<40?1859775393+(a^o^i):l<60?(a&o|a&i|o&i)-1894007588:(a^o^i)-899497514,s=i,i=o,o=a<<30|a>>>2,a=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=o._createHelper(s),n.HmacSHA1=o._createHmacHelper(s),function(a){var e=ve,t=e.lib,n=t.WordArray,r=t.Hasher,o=e.algo,i=[],C=[];!function(){function e(e){for(var t=a.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,r=0;r<64;)e(n)&&(r<8&&(i[r]=t(a.pow(n,.5))),C[r]=t(a.pow(n,1/3)),r++),n++}();var E=[],s=o.SHA256=r.extend({_doReset:function(){this._hash=new n.init(i.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],d=n[7],f=0;f<64;f++){if(f<16)E[f]=0|e[t+f];else{var p=E[f-15],u=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,h=E[f-2],g=(h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10;E[f]=u+E[f-7]+g+E[f-16]}var m=r&a^r&o^a&o,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&c)+C[f]+E[f];d=c,c=l,l=s,s=i+b|0,i=o,o=a,a=r,r=b+(v+m)|0}n[0]=n[0]+r|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+c|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=a.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=r._createHelper(s),e.HmacSHA256=r._createHmacHelper(s)}(Math),function(){var e=ve,a=e.lib.WordArray,t=e.enc;t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>1]|=e.charCodeAt(r)<<16-r%2*16;return a.create(n,2*t)}};function i(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>1]|=i(e.charCodeAt(r)<<16-r%2*16);return a.create(n,2*t)}}}(),function(){if("function"==typeof ArrayBuffer){var e=ve.lib.WordArray,a=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;a.call(this,n,t)}else a.apply(this,arguments)}).prototype=e}}(),function(e){var t=ve,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,A=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),L=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),S=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),w=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),R=r.create([0,1518500249,1859775393,2400959708,2840853838]),_=r.create([1352829926,1548603684,1836072691,2053994217,0]),i=o.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,a=e[r];e[r]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var o,i,s,l,c,d,f,p,u,h,g,m=this._hash.words,v=R.words,b=_.words,C=A.words,E=L.words,y=S.words,T=w.words;d=o=m[0],f=i=m[1],p=s=m[2],u=l=m[3],h=c=m[4];for(n=0;n<80;n+=1)g=o+e[t+C[n]]|0,g+=n<16?x(i,s,l)+v[0]:n<32?M(i,s,l)+v[1]:n<48?O(i,s,l)+v[2]:n<64?k(i,s,l)+v[3]:N(i,s,l)+v[4],g=(g=I(g|=0,y[n]))+c|0,o=c,c=l,l=I(s,10),s=i,i=g,g=d+e[t+E[n]]|0,g+=n<16?N(f,p,u)+b[0]:n<32?k(f,p,u)+b[1]:n<48?O(f,p,u)+b[2]:n<64?M(f,p,u)+b[3]:x(f,p,u)+b[4],g=(g=I(g|=0,T[n]))+h|0,d=h,h=u,u=I(p,10),p=f,f=g;g=m[1]+s+u|0,m[1]=m[2]+l+h|0,m[2]=m[3]+c+d|0,m[3]=m[4]+o+f|0,m[4]=m[0]+i+p|0,m[0]=g},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var a=this._hash,o=a.words,i=0;i<5;i++){var s=o[i];o[i]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return a},clone:function e(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function x(e,t,n){return e^t^n}function M(e,t,n){return e&t|~e&n}function O(e,t,n){return(e|~t)^n}function k(e,t,n){return e&n|t&~n}function N(e,t,n){return e^(t|~n)}function I(e,t){return e<>>32-t}t.RIPEMD160=a._createHelper(i),t.HmacRIPEMD160=a._createHmacHelper(i)}(Math),c=(l=ve).lib.Base,p=l.enc.Utf8,l.algo.HMAC=c.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=p.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),i=a.words,s=o.words,l=0;l>>24)|4278255360&(o<<24|o>>>8),i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),(L=n[a]).high^=i,L.low^=o}for(var s=0;s<24;s++){for(var l=0;l<5;l++){for(var c=0,d=0,f=0;f<5;f++){c^=(L=n[l+5*f]).high,d^=L.low}var p=k[l];p.high=c,p.low=d}for(l=0;l<5;l++){var u=k[(l+4)%5],h=k[(l+1)%5],g=h.high,m=h.low;for(c=u.high^(g<<1|m>>>31),d=u.low^(m<<1|g>>>31),f=0;f<5;f++){(L=n[l+5*f]).high^=c,L.low^=d}}for(var v=1;v<25;v++){var b=(L=n[v]).high,C=L.low,E=x[v];d=E<32?(c=b<>>32-E,C<>>32-E):(c=C<>>64-E,b<>>64-E);var y=k[M[v]];y.high=c,y.low=d}var T=k[0],A=n[0];T.high=A.high,T.low=A.low;for(l=0;l<5;l++)for(f=0;f<5;f++){var L=n[v=l+5*f],S=k[v],w=k[(l+1)%5+5*f],R=k[(l+2)%5+5*f];L.high=S.high^~w.high&R.high,L.low=S.low^~w.low&R.low}L=n[0];var _=O[s];L.high^=_.high,L.low^=_.low}},_doFinalize:function(){var e=this._data,t=e.words,n=(this._nDataBytes,8*e.sigBytes),r=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(p.ceil((n+1)/r)*r>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var a=this._state,o=this.cfg.outputLength/8,i=o/8,s=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),s.push(f),s.push(d)}return new u.init(s,o)},clone:function e(){for(var e=r.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});e.SHA3=r._createHelper(a),e.HmacSHA3=r._createHmacHelper(a)}(Math),function(){var e=ve,t=e.lib.Hasher,n=e.x64,r=n.Word,a=n.WordArray,o=e.algo;function i(){return r.create.apply(r,arguments)}var Ae=[i(1116352408,3609767458),i(1899447441,602891725),i(3049323471,3964484399),i(3921009573,2173295548),i(961987163,4081628472),i(1508970993,3053834265),i(2453635748,2937671579),i(2870763221,3664609560),i(3624381080,2734883394),i(310598401,1164996542),i(607225278,1323610764),i(1426881987,3590304994),i(1925078388,4068182383),i(2162078206,991336113),i(2614888103,633803317),i(3248222580,3479774868),i(3835390401,2666613458),i(4022224774,944711139),i(264347078,2341262773),i(604807628,2007800933),i(770255983,1495990901),i(1249150122,1856431235),i(1555081692,3175218132),i(1996064986,2198950837),i(2554220882,3999719339),i(2821834349,766784016),i(2952996808,2566594879),i(3210313671,3203337956),i(3336571891,1034457026),i(3584528711,2466948901),i(113926993,3758326383),i(338241895,168717936),i(666307205,1188179964),i(773529912,1546045734),i(1294757372,1522805485),i(1396182291,2643833823),i(1695183700,2343527390),i(1986661051,1014477480),i(2177026350,1206759142),i(2456956037,344077627),i(2730485921,1290863460),i(2820302411,3158454273),i(3259730800,3505952657),i(3345764771,106217008),i(3516065817,3606008344),i(3600352804,1432725776),i(4094571909,1467031594),i(275423344,851169720),i(430227734,3100823752),i(506948616,1363258195),i(659060556,3750685593),i(883997877,3785050280),i(958139571,3318307427),i(1322822218,3812723403),i(1537002063,2003034995),i(1747873779,3602036899),i(1955562222,1575990012),i(2024104815,1125592928),i(2227730452,2716904306),i(2361852424,442776044),i(2428436474,593698344),i(2756734187,3733110249),i(3204031479,2999351573),i(3329325298,3815920427),i(3391569614,3928383900),i(3515267271,566280711),i(3940187606,3454069534),i(4118630271,4000239992),i(116418474,1914138554),i(174292421,2731055270),i(289380356,3203993006),i(460393269,320620315),i(685471733,587496836),i(852142971,1086792851),i(1017036298,365543100),i(1126000580,2618297676),i(1288033470,3409855158),i(1501505948,4234509866),i(1607167915,987167468),i(1816402316,1246189591)],Le=[];!function(){for(var e=0;e<80;e++)Le[e]=i()}();var s=o.SHA512=t.extend({_doReset:function(){this._hash=new a.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],d=n[7],f=r.high,p=r.low,u=a.high,h=a.low,g=o.high,m=o.low,v=i.high,b=i.low,C=s.high,E=s.low,y=l.high,T=l.low,A=c.high,L=c.low,S=d.high,w=d.low,R=f,_=p,x=u,M=h,O=g,k=m,N=v,I=b,D=C,B=E,F=y,$=T,P=A,H=L,U=S,K=w,z=0;z<80;z++){var W,V,G=Le[z];if(z<16)V=G.high=0|e[t+2*z],W=G.low=0|e[t+2*z+1];else{var Y=Le[z-15],j=Y.high,q=Y.low,X=(j>>>1|q<<31)^(j>>>8|q<<24)^j>>>7,Z=(q>>>1|j<<31)^(q>>>8|j<<24)^(q>>>7|j<<25),Q=Le[z-2],J=Q.high,ee=Q.low,te=(J>>>19|ee<<13)^(J<<3|ee>>>29)^J>>>6,ne=(ee>>>19|J<<13)^(ee<<3|J>>>29)^(ee>>>6|J<<26),re=Le[z-7],ae=re.high,oe=re.low,ie=Le[z-16],se=ie.high,le=ie.low;V=(V=(V=X+ae+((W=Z+oe)>>>0>>0?1:0))+te+((W+=ne)>>>0>>0?1:0))+se+((W+=le)>>>0>>0?1:0),G.high=V,G.low=W}var ce,de=D&F^~D&P,fe=B&$^~B&H,pe=R&x^R&O^x&O,ue=_&M^_&k^M&k,he=(R>>>28|_<<4)^(R<<30|_>>>2)^(R<<25|_>>>7),ge=(_>>>28|R<<4)^(_<<30|R>>>2)^(_<<25|R>>>7),me=(D>>>14|B<<18)^(D>>>18|B<<14)^(D<<23|B>>>9),ve=(B>>>14|D<<18)^(B>>>18|D<<14)^(B<<23|D>>>9),be=Ae[z],Ce=be.high,Ee=be.low,ye=U+me+((ce=K+ve)>>>0>>0?1:0),Te=ge+ue;U=P,K=H,P=F,H=$,F=D,$=B,D=N+(ye=(ye=(ye=ye+de+((ce=ce+fe)>>>0>>0?1:0))+Ce+((ce=ce+Ee)>>>0>>0?1:0))+V+((ce=ce+W)>>>0>>0?1:0))+((B=I+ce|0)>>>0>>0?1:0)|0,N=O,I=k,O=x,k=M,x=R,M=_,R=ye+(he+pe+(Te>>>0>>0?1:0))+((_=ce+Te|0)>>>0>>0?1:0)|0}p=r.low=p+_,r.high=f+R+(p>>>0<_>>>0?1:0),h=a.low=h+M,a.high=u+x+(h>>>0>>0?1:0),m=o.low=m+k,o.high=g+O+(m>>>0>>0?1:0),b=i.low=b+I,i.high=v+N+(b>>>0>>0?1:0),E=s.low=E+B,s.high=C+D+(E>>>0>>0?1:0),T=l.low=T+$,l.high=y+F+(T>>>0<$>>>0?1:0),L=c.low=L+H,c.high=A+P+(L>>>0>>0?1:0),w=d.low=w+K,d.high=S+U+(w>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function e(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(s),e.HmacSHA512=t._createHmacHelper(s)}(),P=($=ve).x64,H=P.Word,U=P.WordArray,K=$.algo,z=K.SHA512,W=K.SHA384=z.extend({_doReset:function(){this._hash=new U.init([new H.init(3418070365,3238371032),new H.init(1654270250,914150663),new H.init(2438529370,812702999),new H.init(355462360,4144912697),new H.init(1731405415,4290775857),new H.init(2394180231,1750603025),new H.init(3675008525,1694076839),new H.init(1203062813,3204075428)])},_doFinalize:function(){var e=z._doFinalize.call(this);return e.sigBytes-=16,e}}),$.SHA384=z._createHelper(W),$.HmacSHA384=z._createHmacHelper(W),ve.lib.Cipher||(G=(V=ve).lib,Y=G.Base,j=G.WordArray,q=G.BufferedBlockAlgorithm,(X=V.enc).Utf8,Z=X.Base64,Q=V.algo.EvpKDF,J=G.Cipher=q.extend({cfg:Y.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){q.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function a(e){return"string"==typeof e?le:ie}return function(r){return{encrypt:function(e,t,n){return a(t).encrypt(r,e,t,n)},decrypt:function(e,t,n){return a(t).decrypt(r,e,t,n)}}}}()}),G.StreamCipher=J.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),ee=V.mode={},te=G.BlockCipherMode=Y.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),ne=ee.CBC=function(){var e=te.extend();function o(e,t,n){var r,a=this._iv;a?(r=a,this._iv=void 0):r=this._prevBlock;for(var o=0;o>>2];e.sigBytes-=t}},G.BlockCipher=J.extend({cfg:J.cfg.extend({mode:ne,padding:re}),reset:function(){var e;J.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),ae=G.CipherParams=Y.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),oe=(V.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?j.create([1398893684,1701076831]).concat(n).concat(t):t).toString(Z)},parse:function(e){var t,n=Z.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=j.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),ae.create({ciphertext:n,salt:t})}},ie=G.SerializableCipher=Y.extend({cfg:Y.extend({format:oe}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var a=e.createEncryptor(n,r),o=a.finalize(t),i=a.cfg;return ae.create({ciphertext:o,key:n,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),se=(V.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=j.random(8));var a=Q.create({keySize:t+n}).compute(e,r),o=j.create(a.words.slice(t),4*n);return a.sigBytes=4*t,ae.create({key:a,iv:o,salt:r})}},le=G.PasswordBasedCipher=ie.extend({cfg:ie.cfg.extend({kdf:se}),encrypt:function(e,t,n,r){var a=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=a.iv;var o=ie.encrypt.call(this,e,t,a.key,r);return o.mixIn(a),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var a=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=a.iv,ie.decrypt.call(this,e,t,a.key,r)}})),ve.mode.CFB=function(){var e=ve.lib.BlockCipherMode.extend();function o(e,t,n,r){var a,o=this._iv;o?(a=o.slice(0),this._iv=undefined):a=this._prevBlock,r.encryptBlock(a,0);for(var i=0;i>>2]|=a<<24-o%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso10126={pad:function(e,t){var n=4*t,r=n-e.sigBytes%n;e.concat(ve.lib.WordArray.random(r-1)).concat(ve.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso97971={pad:function(e,t){e.concat(ve.lib.WordArray.create([2147483648],1)),ve.pad.ZeroPadding.pad(e,t)},unpad:function(e){ve.pad.ZeroPadding.unpad(e),e.sigBytes--}},ve.mode.OFB=(de=ve.lib.BlockCipherMode.extend(),fe=de.Encryptor=de.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._keystream;a&&(o=this._keystream=a.slice(0),this._iv=undefined),n.encryptBlock(o,0);for(var i=0;i>>8^255&a^99,c[n]=a;var o=e[d[a]=n],i=e[o],s=e[i],l=257*e[a]^16843008*a;f[n]=l<<24|l>>>8,p[n]=l<<16|l>>>16,u[n]=l<<8|l>>>24,h[n]=l;l=16843009*s^65537*i^257*o^16843008*n;g[a]=l<<24|l>>>8,m[a]=l<<16|l>>>16,v[a]=l<<8|l>>>24,b[a]=l,n?(n=o^e[e[e[s^o]]],r^=e[e[r]]):n=r=1}}();var C=[0,1,2,4,8,16,32,64,128,27,54],r=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]):(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=C[o/n|0]<<24),a[o]=a[o-n]^l);for(var i=this._invKeySchedule=[],s=0;s>>24]]^m[c[l>>>16&255]]^v[c[l>>>8&255]]^b[c[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,f,p,u,h,c)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,g,m,v,b,d);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,a,o,i,s){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],f=e[t+2]^n[2],p=e[t+3]^n[3],u=4,h=1;h>>24]^a[d>>>16&255]^o[f>>>8&255]^i[255&p]^n[u++],m=r[d>>>24]^a[f>>>16&255]^o[p>>>8&255]^i[255&c]^n[u++],v=r[f>>>24]^a[p>>>16&255]^o[c>>>8&255]^i[255&d]^n[u++],b=r[p>>>24]^a[c>>>16&255]^o[d>>>8&255]^i[255&f]^n[u++];c=g,d=m,f=v,p=b}g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^n[u++],m=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^n[u++],v=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[u++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[u++];e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=b},keySize:8});e.AES=t._createHelper(r)}(),function(){var e=ve,t=e.lib,a=t.WordArray,n=t.BlockCipher,r=e.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],d=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],o=r.DES=n.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=c[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var a=this._subKeys=[],o=0;o<16;o++){var i=a[o]=[],s=f[o];for(n=0;n<24;n++)i[n/6|0]|=t[(d[n]-1+s)%28]<<31-n%6,i[4+(n/6|0)]|=t[28+(d[n+24]-1+s)%28]<<31-n%6;i[0]=i[0]<<1|i[0]>>>31;for(n=1;n<7;n++)i[n]=i[n]>>>4*(n-1)+3;i[7]=i[7]<<5|i[7]>>>27}var l=this._invSubKeys=[];for(n=0;n<16;n++)l[n]=a[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),h.call(this,1,1431655765);for(var r=0;r<16;r++){for(var a=n[r],o=this._lBlock,i=this._rBlock,s=0,l=0;l<8;l++)s|=p[l][((i^a[l])&u[l])>>>0];this._lBlock=i,this._rBlock=o^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,h.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),r=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=o.createEncryptor(a.create(t)),this._des2=o.createEncryptor(a.create(n)),this._des3=o.createEncryptor(a.create(r))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=n._createHelper(i)}(),function(){var e=ve,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],a=0;a<256;a++)r[a]=a;a=0;for(var o=0;a<256;a++){var i=a%n,s=t[i>>>2]>>>24-i%4*8&255;o=(o+r[a]+s)%256;var l=r[a];r[a]=r[o],r[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,a=0;a<4;a++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*a}return this._i=t,this._j=n,r}e.RC4=t._createHelper(r);var o=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;0>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}var t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=undefined),function l(e){return 0===(e[0]=c(e[0]))&&(e[1]=c(e[1])),e}(o);var i=o.slice(0);n.encryptBlock(i,0);for(var s=0;s>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(n=this._b=0;n<4;n++)p.call(this);for(n=0;n<8;n++)a[n]^=r[n+4&7];if(t){var o=t.words,i=o[0],s=o[1],l=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;a[0]^=l,a[1]^=d,a[2]^=c,a[3]^=f,a[4]^=l,a[5]^=d,a[6]^=c,a[7]^=f;for(n=0;n<4;n++)p.call(this)}},_doProcessBlock:function(e,t){var n=this._X;p.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)a[r]=16711935&(a[r]<<8|a[r]>>>24)|4278255360&(a[r]<<24|a[r]>>>8),e[t+r]^=a[r]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,n=0;n<8;n++)l[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,o=r>>>16,i=((a*a>>>17)+a*o>>>15)+o*o,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=i^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.Rabbit=t._createHelper(r)}(),ve.mode.CTR=(ge=ve.lib.BlockCipherMode.extend(),me=ge.Encryptor=ge.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=undefined);var i=o.slice(0);n.encryptBlock(i,0),o[r-1]=o[r-1]+1|0;for(var s=0;s>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],a=this._b=0;a<4;a++)p.call(this);for(a=0;a<8;a++)r[a]^=n[a+4&7];if(t){var o=t.words,i=o[0],s=o[1],l=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;r[0]^=l,r[1]^=d,r[2]^=c,r[3]^=f,r[4]^=l,r[5]^=d,r[6]^=c,r[7]^=f;for(a=0;a<4;a++)p.call(this)}},_doProcessBlock:function(e,t){var n=this._X;p.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)a[r]=16711935&(a[r]<<8|a[r]>>>24)|4278255360&(a[r]<<24|a[r]>>>8),e[t+r]^=a[r]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,n=0;n<8;n++)l[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,o=r>>>16,i=((a*a>>>17)+a*o>>>15)+o*o,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=i^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.RabbitLegacy=t._createHelper(r)}(),ve.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;0<=n;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},{init:function be(){},cryptoJS:ve}},Object.assign(Mt.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),Mt.PLUGINS.fontFamily=function(a){var o=a.$;function i(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return o(this).grep(t,function(e){return 0 span").text(a.opts.fontFamily[n()]||t[0]||a.language.translate(a.opts.fontFamilyDefaultSelection))}}}},Mt.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='"},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),Mt.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"}),Object.assign(Mt.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),Mt.PLUGINS.fontSize=function(r){var a=r.$;return{apply:function t(e){r.format.applyStyle("font-size",e)},refreshOnShow:function o(e,t){var n=a(r.selection.element()).css("font-size");"pt"===r.opts.fontSizeUnit&&(n="".concat(Math.round(72*parseFloat(n,10)/96),"pt")),t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(n,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function n(e){if(r.opts.fontSizeSelection){var t=r.helpers.getPX(a(r.selection.element()).css("font-size"));"pt"===r.opts.fontSizeUnit&&(t="".concat(Math.round(72*parseFloat(t,10)/96),"pt")),e.find("> span").text(t)}}}},Mt.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(e){return e.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(e){return e.opts.fontSizeDefaultSelection},html:function(){for(var e='"},callback:function(e,t){this.fontSize.apply(t)},refresh:function(e){this.fontSize.refresh(e)},refreshOnShow:function(e,t){this.fontSize.refreshOnShow(e,t)},plugin:"fontSize"}),Mt.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"}),Object.assign(Mt.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(Mt.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),Mt.PLUGINS.forms=function(i){var s,l=i.$;function t(e){i.selection.clear(),l(this).data("mousedown",!0)}function n(e){l(this).data("mousedown")&&(e.stopPropagation(),l(this).removeData("mousedown"),d(s=this)),e.preventDefault()}function r(){i.$el.find("input, textarea, button").removeData("mousedown")}function a(){l(this).removeData("mousedown")}function c(){return s||null}function d(e){if(-1==["checkbox","radio"].indexOf(e.type)){var t=i.popups.get("forms.edit");t||(t=function o(){var e="";0'.concat(i.button.buildList(i.opts.formEditButtons),""));var t={buttons:e},n=i.popups.create("forms.edit",t);return i.$wp&&i.events.$on(i.$wp,"scroll.link-edit",function(){c()&&i.popups.isVisible("forms.edit")&&d(c())}),n}());var n=l(s=e);i.popups.refresh("forms.edit"),i.popups.setContainer("forms.edit",i.$sc);var r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();i.popups.show("forms.edit",r,a,n.outerHeight())}}function o(){var e=i.popups.get("forms.update"),t=c();if(t){var n=l(t);n.is("button")?e.find('input[type="text"][name="text"]').val(n.text()):n.is("input[type=button]")||n.is("input[type=submit]")||n.is("input[type=reset]")?e.find('input[type="text"][name="text"]').val(n.val()):e.find('input[type="text"][name="text"]').val(n.attr("placeholder"))}e.find('input[type="text"][name="text"]').trigger("change")}function f(){s=null}function p(e){if(e)return i.popups.onRefresh("forms.update",o),i.popups.onHide("forms.update",f),!0;var t="";1<=i.opts.formUpdateButtons.length&&(t='
    '.concat(i.button.buildList(i.opts.formUpdateButtons),"
    "));var n=0,r={buttons:t,text_layer:'
    \n
    \n
    ")};return i.popups.create("forms.update",r)}return{_init:function u(){!function e(){i.events.$on(i.$el,i._mousedown,"input, textarea, button",t),i.events.$on(i.$el,i._mouseup,"input, textarea, button",n),i.events.$on(i.$el,"touchmove","input, textarea, button",a),i.events.$on(i.$el,i._mouseup,r),i.events.$on(i.$win,i._mouseup,r),p(!0)}(),i.events.$on(i.$el,"submit","form",function(e){return e.preventDefault(),!1})},updateInput:function h(){var e=i.popups.get("forms.update"),t=c();if(t){var n=l(t),r=e.find('input[type="text"][name="text"]').val()||"";n.is("button")?r.length?n.text(r):n.text("\u200b"):-1!=["button","submit","reset"].indexOf(t.type)?n.attr("value",r):n.attr("placeholder",r),i.popups.hide("forms.update"),d(t)}},getInput:c,applyStyle:function g(e,t,n){void 0===t&&(t=i.opts.formStyles),void 0===n&&(n=i.opts.formMultipleStyles);var r=c();if(!r)return!1;if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),l(r).removeClass(a.join(" "))}l(r).toggleClass(e)},showUpdatePopup:function m(){var e=c();if(e){var t=l(e),n=i.popups.get("forms.update");n||(n=p()),i.popups.isVisible("forms.update")||i.popups.refresh("forms.update"),i.popups.setContainer("forms.update",i.$sc);var r=t.offset().left+t.outerWidth()/2,a=t.offset().top+t.outerHeight();i.popups.show("forms.update",r,a,t.outerHeight())}},showEditPopup:d,back:function v(){i.events.disableBlur(),i.selection.restore(),i.events.enableBlur();var e=c();e&&i.$wp&&("BUTTON"===e.tagName&&i.selection.restore(),d(e))}}},Mt.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),Mt.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),Mt.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){var n=this.forms.getInput();n&&(this.forms.applyStyle(t),this.forms.showEditPopup(n))},refreshOnShow:function(e,t){var n=this.$,r=this.forms.getInput();if(r){var a=n(r);t.find(".fr-command").each(function(){var e=n(this).data("param1");n(this).toggleClass("fr-active",a.hasClass(e))})}}}),Mt.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),Mt.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),Mt.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),Mt.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),Mt.PLUGINS.fullscreen=function(a){var t,n,r,o,i=a.$,s=function s(){return a.$box.hasClass("fr-fullscreen")};function l(){if(a.helpers.isIOS()&&a.core.hasFocus())return a.$el.blur(),setTimeout(d,250),!1;t=a.helpers.scrollTop(),a.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),a.helpers.isMobile()&&(a.$tb.data("parent",a.$tb.parent()),a.$box.prepend(a.$tb),a.$tb.data("sticky-dummy")&&a.$tb.after(a.$tb.data("sticky-dummy"))),n=a.opts.height,r=a.opts.heightMax,o=a.opts.z_index,a.opts.height=a.o_win.innerHeight-(a.opts.toolbarInline?0:a.$tb.outerHeight()+(a.$second_tb?a.$second_tb.outerHeight():0)),a.opts.zIndex=2147483641,a.opts.heightMax=null,a.size.refresh(),a.opts.toolbarInline&&a.toolbar.showInline();for(var e=a.$box.parent();!e.first().is("body");)e.addClass("fr-fullscreen-wrapper"),e=e.parent();a.opts.toolbarContainer&&a.$box.prepend(a.$tb),a.events.trigger("charCounter.update"),a.events.trigger("codeView.update"),a.$win.trigger("scroll")}function c(){if(a.helpers.isIOS()&&a.core.hasFocus())return a.$el.blur(),setTimeout(d,250),!1;a.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),a.$tb.data("parent")&&a.$tb.data("parent").prepend(a.$tb),a.$tb.data("sticky-dummy")&&a.$tb.after(a.$tb.data("sticky-dummy")),a.opts.height=n,a.opts.heightMax=r,a.opts.zIndex=o,a.size.refresh(),i(a.o_win).scrollTop(t),a.opts.toolbarInline&&a.toolbar.showInline(),a.events.trigger("charCounter.update"),a.opts.toolbarSticky&&a.opts.toolbarStickyOffset&&(a.opts.toolbarBottom?a.$tb.css("bottom",a.opts.toolbarStickyOffset).data("bottom",a.opts.toolbarStickyOffset):a.$tb.css("top",a.opts.toolbarStickyOffset).data("top",a.opts.toolbarStickyOffset));for(var e=a.$box.parent();!e.first().is("body");)e.removeClass("fr-fullscreen-wrapper"),e=e.parent();a.opts.toolbarContainer&&i(a.opts.toolbarContainer).append(a.$tb),i(a.o_win).trigger("scroll"),a.events.trigger("codeView.update")}function d(){s()?c():l(),f(a.$tb.find('.fr-command[data-cmd="fullscreen"]'));var e=a.$tb.find('.fr-command[data-cmd="moreText"]'),t=a.$tb.find('.fr-command[data-cmd="moreParagraph"]'),n=a.$tb.find('.fr-command[data-cmd="moreRich"]'),r=a.$tb.find('.fr-command[data-cmd="moreMisc"]');e.length&&a.refresh.moreText(e),t.length&&a.refresh.moreParagraph(t),n.length&&a.refresh.moreRich(n),r.length&&a.refresh.moreMisc(r)}function f(e){var t=s();e.toggleClass("fr-active",t).attr("aria-pressed",t),e.find("> *").not(".fr-sr-only").replaceWith(t?a.icon.create("fullscreenCompress"):a.icon.create("fullscreen"))}return{_init:function e(){if(!a.$wp)return!1;a.events.$on(i(a.o_win),"resize",function(){s()&&(c(),l())}),a.events.on("toolbar.hide",function(){if(s()&&a.helpers.isMobile())return!1}),a.events.on("position.refresh",function(){if(a.helpers.isIOS())return!s()}),a.events.on("destroy",function(){s()&&c()},!0)},toggle:d,refresh:f,isActive:s}},Mt.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),Mt.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),Mt.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"}),Object.assign(Mt.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),Mt.PLUGINS.help=function(s){var r,a=s.$,o="help";return{_init:function e(){},show:function l(){if(!r){var e="

    ".concat(s.language.translate("Shortcuts"),"

    "),t=function i(){for(var e='
    ',t=0;t";r+="".concat(s.language.translate(n.title),""),r+="";for(var a=0;a",r+="".concat(s.language.translate(o.desc),""),r+="".concat(o.val.replace("OSkey",s.helpers.isMac()?"⌘":"Ctrl+"),""),r+=""}e+=r+=""}return e+="
    "}(),n=s.modals.create(o,e,t);r=n.$modal,s.events.$on(a(s.o_win),"resize",function(){s.modals.resize(o)})}s.modals.show(o),s.modals.resize(o)},hide:function t(){s.modals.hide(o)}}},Mt.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),Mt.RegisterShortcut(Mt.KEYCODE.SLASH,"help",null,"/"),Mt.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1}),Object.assign(Mt.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(Mt.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),Mt.PLUGINS.image=function(y){var T,l,c,d,s,n,A=y.$,L="https://i.froala.com/upload",t=!1,r=1,p=2,u=3,h=4,S=5,w=6,a={};function f(){var e=y.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),T&&e.val(T.attr("src")),e.trigger("change")}function o(){var e=y.popups.get("image.edit");if(e||(e=O()),e){var t=Ee();ye()&&(t=t.find(".fr-img-wrap")),y.popups.setContainer("image.edit",y.$sc),y.popups.refresh("image.edit");var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();T.hasClass("fr-uploading")?k():y.popups.show("image.edit",n,r,t.outerHeight(),!0)}}function g(){N()}function i(e){0"),B(T)),a=n,o=e.timeStamp}},!0),y.events.on("keyup",function(){r=1})}}(),!T)return!1;var e=y.$wp||y.$sc;e.append(l),l.data("instance",y);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),n=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);n-=y.helpers.getPX(e.css("border-left-width")),t-=y.helpers.getPX(e.css("border-top-width")),y.$el.is("img")&&y.$sc.is("body")&&(n=t=0);var r=Ee();ye()&&(r=r.find(".fr-img-wrap"));var a=0,o=0;y.opts.iframe&&(a=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-top")),o=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(y.opts.iframe?r.offset().top+a:r.offset().top+t)-1).css("left",(y.opts.iframe?r.offset().left+o:r.offset().left+n)-1).css("width",r.get(0).getBoundingClientRect().width).css("height",r.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'
    ')}function C(e){ye()?T.parents(".fr-img-caption").css("width",e):T.css("width",e)}function E(e){if(!y.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;y.undo.canDo()||y.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var n=y.$oel.get(0).ownerDocument,r=n.defaultView||n.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(s){}a&&r.frameElement&&(t+=y.helpers.getPX(A(r.frameElement).offset().left)+r.frameElement.clientLeft)}(c=A(this)).data("start-x",t),c.data("start-width",T.width()),c.data("start-height",T.height());var o=T.width();if(y.opts.imageResizeWithPercent){var i=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;o=(o/A(i).outerWidth()*100).toFixed(2)+"%"}C(o),d.show(),y.popups.hideAll(),ue()}function _(e){if(!y.core.sameInstance(l))return!0;var t;if(c&&T){if(e.preventDefault(),y.$el.find("img.fr-error").left)return!1;var n=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!n)return!1;var r=n-c.data("start-x"),a=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(r=0-r),y.opts.imageResizeWithPercent){var o=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;a=((a+r)/A(o).outerWidth()*100).toFixed(2),y.opts.imageRoundPercent&&(a=Math.round(a)),C("".concat(a,"%")),(t=ye()?(y.helpers.getPX(T.parents(".fr-img-caption").css("width"))/A(o).outerWidth()*100).toFixed(2):(y.helpers.getPX(T.css("width"))/A(o).outerWidth()*100).toFixed(2))===a||y.opts.imageRoundPercent||C("".concat(t,"%")),T.css("height","").removeAttr("height")}else a+r>=y.opts.imageMinWidth&&(C(a+r),t=ye()?y.helpers.getPX(T.parents(".fr-img-caption").css("width")):y.helpers.getPX(T.css("width"))),t!==a+r&&C(t),((T.attr("style")||"").match(/(^height:)|(; *height:)/)||T.attr("height"))&&(T.css("height",c.data("start-height")*T.width()/c.data("start-width")),T.removeAttr("height"));R(),y.events.trigger("image.resize",[Ce()])}}function x(e){if(!y.core.sameInstance(l))return!0;if(c&&T){if(e&&e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;c=null,d.hide(),R(),o(),y.undo.saveStep(),y.events.trigger("image.resizeEnd",[Ce()])}else l.removeClass("fr-active")}function M(e,t,n){y.edit.on(),T&&T.addClass("fr-error"),a[e]?D(y.language.translate(a[e])):D(y.language.translate("Something went wrong. Please try again.")),!T&&n&&te(n),y.events.trigger("image.error",[{code:e,message:a[e]},t,n])}function O(e){if(e)return y.$wp&&y.events.$on(y.$wp,"scroll.image-edit",function(){T&&y.popups.isVisible("image.edit")&&(y.events.disableBlur(),o())}),!0;var t="";if(0 \n '.concat(y.button.buildList(y.opts.imageEditButtons),"\n ")};return y.popups.create("image.edit",n)}return!1}function k(e){var t=y.popups.get("image.insert");if(t||(t=Y()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),T){var n=Ee();y.popups.setContainer("image.insert",y.$sc);var r=n.offset().left,a=n.offset().top+n.height();y.popups.show("image.insert",r,a,n.outerHeight())}void 0===e&&I(y.language.translate("Uploading"),0)}function N(e){var t=y.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||y.$el.find("img.fr-error").length)){if(y.events.focus(),y.$el.find("img.fr-error").length&&(y.$el.find("img.fr-error").remove(),y.undo.saveStep(),y.undo.run(),y.undo.dropRedo()),!y.$wp&&T){var n=T;de(!0),y.selection.setAfter(n.get(0)),y.selection.restore()}y.popups.hide("image.insert")}}function I(e,t){var n=y.popups.get("image.insert");if(n){var r=n.find(".fr-image-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function D(e){k();var t=y.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),y.events.disableBlur(),n.focus()}function B(e){ce.call(e.get(0))}function F(){var e=A(this);y.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),B(e),y.events.trigger("image.loaded",[e])}function $(i,e,s,l,c){l&&"string"==typeof l&&(l=y.$(l)),y.edit.off(),I(y.language.translate("Loading image")),e&&(i=y.helpers.sanitizeURL(i));var t=new Image;t.onload=function(){var e,t;if(l){y.undo.canDo()||l.hasClass("fr-uploading")||y.undo.saveStep();var n=l.data("fr-old-src");l.data("fr-image-pasted")&&(n=null),y.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),n&&l.attr("src",n),l.replaceWith(e)):e=l;for(var r=e.get(0).attributes,a=0;ay.opts.imageMaxSize)return M(S),!1;if(y.opts.imageAllowedTypes.indexOf(r.type.replace(/image\//g,""))<0)return M(w),!1;if(y.drag_support.formdata&&(n=y.drag_support.formdata?new FormData:null),n){var a;if(!1!==y.opts.imageUploadToS3)for(a in n.append("key",y.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(r.name||"untitled")),n.append("success_action_status","201"),n.append("X-Requested-With","xhr"),n.append("Content-Type",r.type),y.opts.imageUploadToS3.params)y.opts.imageUploadToS3.params.hasOwnProperty(a)&&n.append(a,y.opts.imageUploadToS3.params[a]);for(a in y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(a)&&n.append(a,y.opts.imageUploadParams[a]);n.append(y.opts.imageUploadParam,r,r.name);var o,i,s=y.opts.imageUploadURL,l=y.opts.imageUploadMethod;y.opts.imageUploadToS3&&(s=y.opts.imageUploadToS3.uploadURL?y.opts.imageUploadToS3.uploadURL:"https://".concat(y.opts.imageUploadToS3.region,".amazonaws.com/").concat(y.opts.imageUploadToS3.bucket)),y.opts.imageUploadToAzure&&(o=s=y.opts.imageUploadToAzure.uploadURL?"".concat(y.opts.imageUploadToAzure.uploadURL,"/").concat(r.name):encodeURI("https://".concat(y.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(y.opts.imageUploadToAzure.container,"/").concat(r.name)),y.opts.imageUploadToAzure.SASToken&&(s+=y.opts.imageUploadToAzure.SASToken),l="PUT");var c=y.core.getXHR(s,l);if(y.opts.imageUploadToAzure){var d=(new Date).toUTCString();if(!y.opts.imageUploadToAzure.SASToken&&y.opts.imageUploadToAzure.accessKey){var f=y.opts.imageUploadToAzure.account,p=y.opts.imageUploadToAzure.container;if(y.opts.imageUploadToAzure.uploadURL){var u=y.opts.imageUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var h="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+f+"/"+p+"/"+r.name),m=l+"\n\n\n"+r.size+"\n\n"+r.type+"\n\n\n\n\n\n\n"+h+"\n"+g,v=y.cryptoJSPlugin.cryptoJS.HmacSHA256(m,y.cryptoJSPlugin.cryptoJS.enc.Base64.parse(y.opts.imageUploadToAzure.accessKey)).toString(y.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;i=v,c.setRequestHeader("Authorization",b)}for(a in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",r.type),c.setRequestHeader("x-ms-blob-type","BlockBlob"),y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(a)&&c.setRequestHeader(a,y.opts.imageUploadParams[a]);for(a in y.opts.imageUploadToAzure.params)y.opts.imageUploadToAzure.params.hasOwnProperty(a)&&c.setRequestHeader(a,y.opts.imageUploadToAzure.params[a])}!function E(t,n,r,a,o,i){function s(){var e=A(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),y.placeholder.refresh(),B(e),R(),k(),y.edit.off(),t.onload=function(){P.call(t,e,o,i)},t.onerror=H,t.upload.onprogress=U,t.onabort=z,A(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),a?(a.attr("src",a.data("fr-old-src")),a.removeClass("fr-uploading")):e.remove(),de(!0))}),t.send(y.opts.imageUploadToAzure?r:n)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),n=[],r=0;r'.concat(a,""));var o=y.opts.imageInsertButtons.indexOf("imageUpload"),i=y.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=o&&(t=" fr-active",0<=i&&i').concat(y.language.translate("Drop image"),"
    (").concat(y.language.translate("or click"),')
    '));var l="";0<=i&&(t=" fr-active",0<=o&&o
    "));var c={buttons:r,upload_layer:s,by_url_layer:l,progress_bar:'

    Uploading

    '};return 1<=y.opts.imageInsertButtons.length&&(n=y.popups.create("image.insert",c)),y.$wp&&y.events.$on(y.$wp,"scroll",function(){T&&y.popups.isVisible("image.insert")&&ve()}),function d(r){y.events.$on(r,"dragover dragenter",".fr-image-upload-layer",function(e){return A(this).addClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(r,"dragleave dragend",".fr-image-upload-layer",function(e){return A(this).removeClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(r,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),A(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||y;n.events.disableBlur(),n.image.upload(t.files),n.events.enableBlur()}},!0),y.helpers.isIOS()&&y.events.$on(r,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){A(this).trigger("click")},!0),y.events.$on(r,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||y;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,T)}A(this).val("")},!0)}(n),n}function j(){T&&y.popups.get("image.alt").find("input").val(T.attr("alt")||"").trigger("change")}function q(){var e=y.popups.get("image.alt");e||(e=X()),N(),y.popups.refresh("image.alt"),y.popups.setContainer("image.alt",y.$sc);var t=Ee();ye()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();y.popups.show("image.alt",n,r,t.outerHeight(),!0)}function X(e){if(e)return y.popups.onRefresh("image.alt",j),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageAltButtons),"
    "),alt_layer:'
    ")},n=y.popups.create("image.alt",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-alt",function(){T&&y.popups.isVisible("image.alt")&&q()}),n}function Z(){var e=y.popups.get("image.size"),t=T.get(0).style.height?T.get(0).style.height:"auto",n=T.get(0).style.width?T.get(0).style.width:"auto";if(T)if(ye()){var r=T.parent();r.get(0).style.width||(r=T.parent().parent()),e.find('input[name="width"]').val(n).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(n).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function Q(){var e=y.popups.get("image.size");e||(e=J()),N(),y.popups.refresh("image.size"),y.popups.setContainer("image.size",y.$sc);var t=Ee();ye()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();y.popups.show("image.size",n,r,t.outerHeight(),!0)}function J(e){if(e)return y.popups.onRefresh("image.size",Z),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageSizeButtons),"
    "),size_layer:'
    ")},n=y.popups.create("image.size",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-size",function(){T&&y.popups.isVisible("image.size")&&Q()}),n}function ee(e,t,n,r){return e.pageX=t,E.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),_.call(this,e),x.call(this,e),++r}function te(e){(e=e||Ee())&&!1!==y.events.trigger("image.beforeRemove",[e])&&(y.popups.hideAll(),be(),de(!0),y.undo.canDo()||y.undo.saveStep(),e.get(0)==y.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(y.selection.setBefore(e.get(0).parentNode)||y.selection.setAfter(e.get(0).parentNode)||e.parent().after(Mt.MARKERS),A(e.get(0).parentNode).remove()):(y.selection.setBefore(e.get(0))||y.selection.setAfter(e.get(0))||e.after(Mt.MARKERS),e.remove()),y.html.fillEmptyBlocks(),y.selection.restore()),y.undo.saveStep())}function ne(e){var t=e.which;if(T&&(t==Mt.KEYCODE.BACKSPACE||t==Mt.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(T&&t==Mt.KEYCODE.ESC){var n=T;return de(!0),y.selection.setAfter(n.get(0)),y.selection.restore(),e.preventDefault(),!1}if(!T||t!=Mt.KEYCODE.ARROW_LEFT&&t!=Mt.KEYCODE.ARROW_RIGHT)return T&&t===Mt.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),de(!0),!1):T&&t!=Mt.KEYCODE.F10&&!y.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var r=T.get(0);return de(!0),t==Mt.KEYCODE.ARROW_LEFT?y.selection.setBefore(r):y.selection.setAfter(r),y.selection.restore(),e.preventDefault(),!1}function re(e){if(e&&"IMG"==e.tagName){if(y.node.hasClass(e,"fr-uploading")||y.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):y.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&y.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var n=e.nextSibling;n&&n.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var r=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a"));var r=y.$el.find('img[data-fr-image-pasted="true"]');r&&he(r,y.opts.imageDefaultDisplay,y.opts.imageDefaultAlign),y.events.trigger("paste.after")}function se(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var n=0;n"):A(y.node.blockParent(e.get(0))).after("<".concat(y.html.defaultTag(),">
    ")))})})(),"IMG"==y.el.tagName&&y.$el.addClass("fr-view"),y.events.$on(y.$el,y.helpers.isMobile()&&!y.helpers.isWindowsPhone()?"touchend":"click","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',ce),y.helpers.isMobile()&&(y.events.$on(y.$el,"touchstart","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',function(){n=!1}),y.events.$on(y.$el,"touchmove",function(){n=!0})),y.$wp?(y.events.on("window.keydown keydown",ne,!0),y.events.on("keyup",function(e){if(T&&e.which==Mt.KEYCODE.ENTER)return!1},!0),y.events.$on(y.$el,"keydown",function(){var e=y.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&y.node.isLastSibling(e))&&(e=e.parentNode),y.node.hasClass(e,"fr-inner")||(y.node.hasClass(e,"fr-img-caption")||(e=A(e).parents(".fr-img-caption").get(0)),y.node.hasClass(e,"fr-img-caption")&&(A(e).after(Mt.INVISIBLE_SPACE+Mt.MARKERS),y.selection.restore()))})):y.events.$on(y.$win,"keydown",ne),y.events.on("toolbar.esc",function(){if(T){if(y.$wp)y.events.disableBlur(),y.events.focus();else{var e=T;de(!0),y.selection.setAfter(e.get(0)),y.selection.restore()}return!1}},!0),y.events.on("toolbar.focusEditor",function(){if(T)return!1},!0),y.events.on("window.cut window.copy",function(e){if(T&&y.popups.isVisible("image.edit")&&!y.popups.get("image.edit").find(":focus").length){var t=Ee();ye()?(t.before(Mt.START_MARKER),t.after(Mt.END_MARKER),y.selection.restore(),y.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(be(),y.paste.saveCopiedText(T.get(0).outerHTML,T.attr("alt"))),"copy"==e.type?setTimeout(function(){B(T)}):(de(!0),y.undo.saveStep(),setTimeout(function(){y.undo.saveStep()},0))}},!0),y.browser.msie&&y.events.on("keydown",function(e){if(!y.selection.isCollapsed()||!T)return!0;var t=e.which;t==Mt.KEYCODE.C&&y.keys.ctrlKey(e)?y.events.trigger("window.copy"):t==Mt.KEYCODE.X&&y.keys.ctrlKey(e)&&y.events.trigger("window.cut")}),y.events.$on(A(y.o_win),"keydown",function(e){var t=e.which;if(T&&t==Mt.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),y.events.$on(y.$win,"keydown",function(e){var t=e.which;T&&T.hasClass("fr-uploading")&&t==Mt.KEYCODE.ESC&&T.trigger("abortUpload")}),y.events.on("destroy",function(){T&&T.hasClass("fr-uploading")&&T.trigger("abortUpload")}),y.events.on("paste.before",se),y.events.on("paste.beforeCleanup",le),y.events.on("paste.after",oe),y.events.on("html.set",m),y.events.on("html.inserted",m),m(),y.events.on("destroy",function(){s=[]}),y.events.on("html.processGet",re),y.opts.imageOutputSize&&y.events.on("html.beforeGet",function(){r=y.el.querySelectorAll("img");for(var e=0;e *").first().replaceWith(y.icon.create("image-align-".concat(ge())))},refreshAlignOnShow:function Oe(e,t){T&&t.find('.fr-command[data-param1="'.concat(ge(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function ke(e){var t=Ee();t.removeClass("fr-dii fr-dib"),!y.opts.htmlUntouched&&y.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):he(t,e,ge()),be(),R(),o(),y.selection.clear()},refreshDisplayOnShow:function Ne(e,t){T&&t.find('.fr-command[data-param1="'.concat(me(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ve,back:function e(){T?(y.events.disableBlur(),A(".fr-popup input:focus").blur(),B(T)):(y.events.disableBlur(),y.selection.restore(),y.events.enableBlur(),y.popups.hide("image.insert"),y.toolbar.showInline())},get:Ce,getEl:Ee,insert:$,showProgressBar:k,remove:te,hideProgressBar:N,applyStyle:function Ie(e,t,n){if(void 0===t&&(t=y.opts.imageStyles),void 0===n&&(n=y.opts.imageMultipleStyles),!T)return!1;var r=Ee();if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),r.removeClass(a.join(" "))}"object"==xt(t[e])?(r.removeAttr("style"),r.css(t[e].style)):r.toggleClass(e),B(T)},showAltPopup:q,showSizePopup:Q,setAlt:function De(e){if(T){var t=y.popups.get("image.alt");T.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),B(T)}},setSize:function Be(e,t){if(T){var n=y.popups.get("image.size");e=e||n.find('input[name="width"]').val()||"",t=t||n.find('input[name="height"]').val()||"";var r=/^[\d]+((px)|%)*$/g;T.removeAttr("width").removeAttr("height"),e.match(r)?T.css("width",e):T.css("width",""),t.match(r)?T.css("height",t):T.css("height",""),ye()&&(T.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(r)?T.parents(".fr-img-caption").css("width",e):T.parents(".fr-img-caption").css("width",""),t.match(r)?T.parents(".fr-img-caption").css("height",t):T.parents(".fr-img-caption").css("height","")),n&&n.find("input:focus").blur(),B(T)}},toggleCaption:function Fe(){var e;if(T&&!ye()){(e=T).parent().is("a")&&(e=T.parent());var t,n,r=T.parents("ul")&&0

     

    '),e.wrap(''),T.after('").concat(Mt.START_MARKER).concat(y.language.translate("Image Caption")).concat(Mt.END_MARKER,"")),T.parents(".fr-img-caption").css("width",s),1').concat(this.icon.create("image-align-".concat(n)),'').concat(this.language.translate(t[n]),""));return e+=""},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),Mt.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),Mt.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),Mt.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),Mt.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),Mt.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Mt.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),Mt.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),Mt.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,r=this.image.getEl();r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Mt.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),Mt.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),Mt.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),Mt.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),Mt.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),Mt.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),Mt.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),Mt.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}}),Object.assign(Mt.DEFAULTS,{imageManagerLoadURL:"https://i.froala.com/load-files",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),Mt.PLUGINS.imageManager=function(s){var l,c,o,i,d,f,p,u,h,g,m,v=s.$,b="image_manager",e=10,C=11,E=12,y=13,T=14,A=15,n=21,r=22,a={};function L(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function S(){d.empty();for(var e=0;e')}function w(){if(hd.outerHeight()-o.outerHeight())){u++;for(var e=s.opts.imageManagerPageSize*(u-1);e').concat(e[t],""));n.attr("data-tag",e.join())}else 0===f.find('a[title="'.concat(a.tag.trim(),'"]')).length&&f.append('').concat(a.tag.trim(),"")),n.attr("data-tag",a.tag.trim());for(var r in a.name&&n.attr("alt",a.name),a)a.hasOwnProperty(r)&&"thumb"!==r&&"url"!==r&&"tag"!==r&&n.attr("data-".concat(r),a[r]);i.append(n).append(v(s.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",s.language.translate("Delete"))).append(v(s.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",s.language.translate("Insert"))),f.find(".fr-selected-tag").each(function(e,t){$(n,t.text)||i.hide()}),n.on("load",function(){i.removeClass("fr-empty"),i.height("auto"),h++,x(_(parseInt(n.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),M(!1),h%s.opts.imageManagerPageSize==0&&w()}),s.events.trigger("imageManager.imageLoaded",[n])},o.onerror=function(){h++,i.remove(),x(_(parseInt(i.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),I(e,a),h%s.opts.imageManagerPageSize==0&&w()},o.src=a.thumb||a.url,R().append(i)}function R(){var r,a;return d.find(".fr-list-column").each(function(e,t){var n=v(t);0===e?(a=n.outerHeight(),r=n):n.outerHeight() a").each(function(){0===l.find('#fr-image-list [data-tag*="'.concat(v(this).text(),'"]')).length&&v(this).removeClass("fr-selected-tag").hide()}),B()}(),M(!0)},fail:function(e){I(n,e.response||e.responseText)}})):I(r))}function I(e,t){10<=e&&e<20?i.hide():20<=e&&e<30&&v(".fr-image-deleting").removeClass("fr-image-deleting"),s.events.trigger("imageManager.error",[{code:e,message:a[e]},t])}function D(){var e=c.find(".fr-modal-head-line").outerHeight(),t=f.outerHeight();c.toggleClass("fr-show-tags"),c.hasClass("fr-show-tags")?(c.css("height",e+t),o.css("marginTop",e+t),f.find("a").css("opacity",1)):(c.css("height",e),o.css("marginTop",e),f.find("a").css("opacity",0))}function B(){var e=f.find(".fr-selected-tag");0

    ').concat(s.language.translate("Manage Images"),'

    \n
    ');e=s.opts.imageManagerPreloader?''):'"),e+='
    ';var n=s.modals.create(b,t,e);l=n.$modal,c=n.$head,o=n.$body}l.data("current-image",s.image.get()),s.modals.show(b),i||function r(){i=l.find("#fr-preloader"),d=l.find("#fr-image-list"),f=l.find("#fr-modal-tags"),m=L(),S(),c.css("height",c.find(".fr-modal-head-line").outerHeight()),s.events.$on(v(s.o_win),"resize",function(){M(!!p)}),s.events.bindClick(d,".fr-insert-img",k),s.events.bindClick(d,".fr-delete-img",N),s.helpers.isMobile()&&(s.events.bindClick(d,"div.fr-image-container",function(e){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),v(e.currentTarget).addClass("fr-mobile-selected")}),l.on(s._mousedown,function(){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),l.on(s._mousedown+" "+s._mouseup,function(e){e.stopPropagation()}),l.on(s._mousedown,"*",function(){s.events.disableBlur()}),o.on("scroll",w),s.events.bindClick(l,"button#fr-modal-more-".concat(s.sid),D),s.events.bindClick(f,"a",F)}(),function a(){i.show(),d.find(".fr-list-column").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){s.events.trigger("imageManager.imagesLoaded",[e]),function r(e,t){try{d.find(".fr-list-column").empty(),g=h=u=0,p=JSON.parse(e),w()}catch(n){I(y,t)}}(e,n.response),i.hide()},fail:function(e){I(C,e.response||e.responseText)}}):I(E)}()},hide:function U(){s.modals.hide(b)}}},!Mt.PLUGINS.image)throw new Error("Image manager plugin requires image plugin.");return Mt.DEFAULTS.imageInsertButtons.push("imageManager"),Mt.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),Mt.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),Mt.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),Mt.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"}),Object.assign(Mt.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),Mt.PLUGINS.inlineClass=function(n){var r=n.$;return{apply:function t(e){n.format.toggle("span",{"class":e})},refreshOnShow:function a(e,t){t.find(".fr-command").each(function(){var e=r(this).data("param1"),t=n.format.is("span",{"class":e});r(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}},Mt.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var e='"},callback:function(e,t){this.inlineClass.apply(t)},refreshOnShow:function(e,t){this.inlineClass.refreshOnShow(e,t)},plugin:"inlineClass"}),Mt.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"}),Object.assign(Mt.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),Mt.PLUGINS.inlineStyle=function(a){return{apply:function o(e){for(var t=e.split(";"),n=0;n').concat(this.language.translate(n),"")}return e+=""},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),Mt.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"}),Object.assign(Mt.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),Mt.PLUGINS.lineBreaker=function(h){var g,t,a,m=h.$;function l(e,t){var n,r,a,o,i,s,l,c;if(null==e)i=(o=t.parent()).offset().top,n=(l=t.offset().top)-Math.min((l-i)/2,h.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else if(null==t)(s=(o=e.parent()).offset().top+o.outerHeight())<(c=e.offset().top+e.outerHeight())&&(s=(o=m(o).parent()).offset().top+o.outerHeight()),n=c+Math.min(Math.abs(s-c)/2,h.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else{o=e.parent();var d=e.offset().top+e.height(),f=t.offset().top;if(fh.$box.offset().left&&e").concat(Mt.MARKERS,"
    ")):r.before("".concat(Mt.MARKERS,"
    ")):a&&"TD"!=n.parent().get(0).tagName&&0===n.parents(a).length?n.after("<".concat(a,">").concat(Mt.MARKERS,"
    ")):n.after("".concat(Mt.MARKERS,"
    ")),t.selection.restore(),h.toolbar.enable()}return{_init:function v(){if(!h.$wp)return!1;!function e(){h.shared.$line_breaker||(h.shared.$line_breaker=m(document.createElement("div")).attr("class","fr-line-breaker").html(''))),g=h.shared.$line_breaker,h.events.on("shared.destroy",function(){g.html("").removeData().remove(),g=null},!0),h.events.on("destroy",function(){g.removeData("instance").removeClass("fr-visible"),m("body").first().append(g),clearTimeout(a)},!0),h.events.$on(g,"mousemove",function(e){e.stopPropagation()},!0),h.events.bindClick(g,"a",u)}(),t=!1,h.events.$on(h.$win,"mousemove",r),h.events.$on(m(h.win),"scroll",s),h.events.on("popups.show.table.edit",s),h.events.on("commands.after",s),h.events.$on(m(h.win),"mousedown",f),h.events.$on(m(h.win),"mouseup",p)}}},Object.assign(Mt.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),Mt.PLUGINS.lineHeight=function(r){var s=r.$;return{_init:function e(){},apply:function a(e){r.selection.save(),r.html.wrap(!0,!0,!0,!0),r.selection.restore();var t=r.selection.blocks();t.length&&s(t[0]).parent().is("td")&&r.format.applyStyle("line-height",e.toString()),r.selection.save();for(var n=0;n').concat(this.language.translate(n),""));return e+=""},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),Mt.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"}),Object.assign(Mt.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(Mt.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0}),Mt.PLUGINS.link=function(u){var h=u.$;function g(){var e=u.image?u.image.get():null;if(e||!u.$wp)return"A"==u.el.tagName?u.el:e&&e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=u.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(u.el)||!u.el.contains(t)||u.el==t)&&(t=null)}catch(a){t=null}if(t&&"A"===t.tagName)return t;var n=u.selection.element(),r=u.selection.endElement();"A"==n.tagName||u.node.isElement(n)||(n=h(n).parentsUntil(u.$el,"a").first().get(0)),"A"==r.tagName||u.node.isElement(r)||(r=h(r).parentsUntil(u.$el,"a").first().get(0));try{r&&(r.contains&&r.contains(u.el)||!u.el.contains(r)||u.el==r)&&(r=null)}catch(a){r=null}try{n&&(n.contains&&n.contains(u.el)||!u.el.contains(n)||u.el==n)&&(n=null)}catch(a){n=null}return r&&r==n&&"A"==r.tagName?(u.browser.msie||u.helpers.isMobile())&&(u.selection.info(n).atEnd||u.selection.info(n).atStart)?null:n:null}function m(){var e,t,n,r,a=u.image?u.image.get():null,o=[];if(a)"A"==a.get(0).parentNode.tagName&&o.push(a.get(0).parentNode);else if(u.win.getSelection){var i=u.win.getSelection();if(i.getRangeAt&&i.rangeCount){r=u.doc.createRange();for(var s=0;s'.concat(u.button.buildList(u.opts.linkEditButtons),"
    "));var t={buttons:e},n=u.popups.create("link.edit",t);u.$wp&&u.events.$on(u.$wp,"scroll.link-edit",function(){g()&&u.popups.isVisible("link.edit")&&i(g())});return n}());var n=h(e);u.popups.isVisible("link.edit")||u.popups.refresh("link.edit"),u.popups.setContainer("link.edit",u.$sc);var r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();u.popups.show("link.edit",r,a,n.outerHeight(),!0)}function o(){u.popups.hide("link.edit")}function l(){var e=u.popups.get("link.insert"),t=g();if(t){var n,r,a=h(t),o=e.find('input.fr-link-attr[type="text"]'),i=e.find('input.fr-link-attr[type="checkbox"]');for(n=0;n'.concat(u.button.buildList(u.opts.linkInsertButtons),""));var n="",r=0;for(var a in n='")},s=u.popups.create("link.insert",i);return u.$wp&&u.events.$on(u.$wp,"scroll.link-insert",function(){(u.image?u.image.get():null)&&u.popups.isVisible("link.insert")&&f(),u.popups.isVisible("link.insert")&&d()}),s}function c(e,t,n){if(void 0===n&&(n={}),!1===u.events.trigger("link.beforeInsert",[e,t,n]))return!1;var r=u.image?u.image.get():null;r||"A"==u.el.tagName?"A"==u.el.tagName&&u.$el.focus():(u.selection.restore(),u.popups.hide("link.insert"));var a=e;u.opts.linkConvertEmailAddress&&u.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e="mailto:".concat(e));if(""===u.opts.linkAutoPrefix||new RegExp("^("+Mt.LinkProtocols.join("|")+"):.","i").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||["/","{","[","#","(","."].indexOf((e||"")[0])<0&&(e=u.opts.linkAutoPrefix+e),e=u.helpers.sanitizeURL(e),u.opts.linkAlwaysBlank&&(n.target="_blank"),u.opts.linkAlwaysNoFollow&&(n.rel="nofollow"),u.helpers.isEmail(a)&&(n.target=null,n.rel=null),"_blank"==n.target?(u.opts.linkNoOpener&&(n.rel?n.rel+=" noopener":n.rel="noopener"),u.opts.linkNoReferrer&&(n.rel?n.rel+=" noreferrer":n.rel="noreferrer")):null==n.target&&(n.rel?n.rel=n.rel.replace(/noopener/,"").replace(/noreferrer/,""):n.rel=null),t=t||"",e===u.opts.linkAutoPrefix)return u.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),u.events.trigger("link.bad",[a]),!1;var o,i=g();if(i){if((o=h(i)).attr("href",e),0')),u.image.hasCaption()&&r.parent().append(r.parents(".fr-img-caption").find(".fr-inner"))):(u.format.remove("a"),u.selection.isCollapsed()?(t=0===t.length?a:t,u.html.insert('').concat(Mt.START_MARKER).concat(t.replace(/&/g,"&").replace(/",">")).concat(Mt.END_MARKER,"")),u.selection.restore()):0').concat(Mt.START_MARKER).concat(t.replace(/&/g,"&")).concat(Mt.END_MARKER,"")),u.selection.restore()):(!function p(){if(!u.selection.isCollapsed()){u.selection.save();for(var e=u.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();e.length;){var t=h(e.pop());t.removeClass("fr-unprocessed");var n=u.node.deepestParent(t.get(0));if(n){for(var r=t.get(0),a="",o="";r=r.parentNode,u.node.isBlock(r)||(a+=u.node.closeTagString(r),o=u.node.openTagString(r)+o),r!=n;);var i=u.node.openTagString(t.get(0))+t.html()+u.node.closeTagString(t.get(0));t.replaceWith('');var s=n.outerHTML;s=(s=s.replace(/<\/span>/g,a+i+o)).replace(o+a,""),n.outerHTML=s}e=u.$el.find(".fr-marker.fr-unprocessed").toArray()}u.html.cleanEmptyTags(),u.selection.restore()}}(),u.format.apply("a",{href:e})));for(var c=m(),d=0;d').concat(t[n].displayText||t[n].text,"");return e+=""},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),Mt.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),Mt.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),Mt.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),Mt.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),Mt.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,r=this.link.get();if(r){var a=n(r);t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),Object.assign(Mt.DEFAULTS,{listAdvancedTypes:!0}),Mt.PLUGINS.lists=function(f){var p=f.$;function u(e){return'')}function h(e){return'')}function o(e,t){!function c(e,t){for(var n=[],r=0;r").concat(i.html(),""))}}(e,t);var n,r=f.html.defaultTag(),a=null;e.length&&(n="rtl"==f.opts.direction||"rtl"==p(e[0]).css("direction")?"margin-right":"margin-left");for(var o=0;o'):"<".concat(t,">"),l="");for(i-=a;0"),l+=l,i-=f.opts.indentMargin;r&&e[o].tagName.toLowerCase()==r?p(e[o]).replaceWith("".concat(s,"").concat(p(e[o]).html(),"").concat(l)):p(e[o]).wrap("".concat(s,"
  • ").concat(l))}f.clean.lists()}function i(e){var t,n;for(t=e.length-1;0<=t;t--)for(n=t-1;0<=n;n--)if(p(e[n]).find(e[t]).length||e[n]==e[t]){e.splice(t,1);break}var r=[];for(t=0;t"),a.append(u("LI")),a.prepend(h("LI"))}a.after(u(o.tagName)),"LI"==o.parentNode.tagName&&(o=o.parentNode.parentNode),r.indexOf(o)<0&&r.push(o)}for(t=0;t<\/span>/g,"")).replace(/<\/span>/g,"<$1>"),c.replaceWith(f.node.openTagString(c.get(0))+d+f.node.closeTagString(c.get(0)))}f.$el.find("li:empty").remove(),f.$el.find("ul:empty, ol:empty").remove(),f.clean.lists(),f.html.wrap()}function l(e){f.selection.save();for(var t=0;t ul, > ol").last().get(0);if(r){var a=p(document.createElement("li"));p(r).prepend(a);for(var o=f.node.contents(e[t])[0];o&&!f.node.isList(o);){var i=o.nextSibling;a.append(o),o=i}p(n).append(p(r)),p(e[t]).remove()}else{var s=p(n).find("> ul, > ol").last().get(0);if(s)p(s).append(p(e[t]));else{var l=p("<".concat(e[t].parentNode.tagName,">"));p(n).append(l),l.append(p(e[t]))}}}}f.clean.lists(),f.selection.restore()}function c(e){f.selection.save(),i(e),f.selection.restore()}function e(e){if("indent"==e||"outdent"==e){var t=!1,n=f.selection.blocks(),r=[],a=n[0].previousSibling||n[0].parentElement;if("outdent"==e){if("UL"!=a.parentNode.tagName&&"OL"!=a.parentNode.tagName&&"LI"!=a.parentNode.tagName)return;if(!n[0].previousSibling&&"none"==a.parentNode.style.listStyleType)return void function i(e){for(f.selection.save();0");e.prepend(r);for(var a=p.node.contents(e.get(0))[0];a&&["UL","OL"].indexOf(a.tagName)<0;){var o=a.nextSibling;r.append(a),a=o}}else e.html("<"+t+">"+e.html()+"")}return{apply:function g(e){"N"==e&&(e=p.html.defaultTag()),p.selection.save(),p.html.wrap(!0,!0,!p.opts.paragraphFormat.BLOCKQUOTE,!0,!0),p.selection.restore();var t,n,r,a,o,i,s,l,c=p.selection.blocks();p.selection.save(),p.$el.find("pre").attr("skip",!0);for(var d=0;d").html(i.html()))):0<=["TD","TH"].indexOf(c[d].parentNode.tagName)?(r=f,a=e,o=p.html.defaultTag(),a||(a='div class="fr-temp-div"'+(p.node.isEmpty(r.get(0),!0)?' data-empty="true"':"")),a.toLowerCase()==o?(p.node.isEmpty(r.get(0),!0)||r.append("
    "),r.replaceWith(r.html())):r.replaceWith(u("<"+a+">").html(r.html()))):(t=f,(n=e)||(n='div class="fr-temp-div"'+(p.node.isEmpty(t.get(0),!0)?' data-empty="true"':"")),"H1"!=n&&"H2"!=n&&"H3"!=n&&"H4"!=n&&"H5"!=n||!p.node.attributes(t.get(0)).includes("font-size:")?t.replaceWith(u("<"+n+" "+p.node.attributes(t.get(0))+">").html(t.html()).removeAttr("data-empty")):t.replaceWith(u("<"+n+" "+p.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(t.html()).removeAttr("data-empty")))}p.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){u(this).prev().append("
    "+u(this).html()),u(this).remove()}),p.$el.find("pre").removeAttr("skip"),p.html.unwrap(),p.selection.restore()},refreshOnShow:function i(e,t){var n=p.selection.blocks();if(n.length){var r=n[0],a="N",o=p.html.defaultTag();r.tagName.toLowerCase()!=o&&r!=p.el&&(a=r.tagName),t.find('.fr-command[data-param1="'+a+'"]').addClass("fr-active").attr("aria-selected",!0)}else t.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function o(e){if(p.opts.paragraphFormatSelection){var t=p.selection.blocks();if(t.length){var n=t[0],r="N",a=p.html.defaultTag();n.tagName.toLowerCase()!=a&&n!=p.el&&(r=n.tagName),0<=["LI","TD","TH"].indexOf(r)&&(r="N"),e.find(">span").text(p.language.translate(p.opts.paragraphFormat[r]))}else e.find(">span").text(p.language.translate(p.opts.paragraphFormat.N))}}}},Mt.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(e){return e.opts.paragraphFormatSelection},defaultSelection:function(e){return e.language.translate(e.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var e='"},title:"Paragraph Format",callback:function(e,t){this.paragraphFormat.apply(t)},refresh:function(e){this.paragraphFormat.refresh(e)},refreshOnShow:function(e,t){this.paragraphFormat.refreshOnShow(e,t)},plugin:"paragraphFormat"}),Mt.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"}),Object.assign(Mt.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),Mt.PLUGINS.paragraphStyle=function(s){var l=s.$;return{_init:function e(){},apply:function c(e,t,n){void 0===t&&(t=s.opts.paragraphStyles),void 0===n&&(n=s.opts.paragraphMultipleStyles);var r="";n||((r=Object.keys(t)).splice(r.indexOf(e),1),r=r.join(" ")),s.selection.save(),s.html.wrap(!0,!0,!0,!0),s.selection.restore();var a=s.selection.blocks();s.selection.save();for(var o=l(a[0]).hasClass(e),i=0;i').concat(this.language.translate(t[n]),""));return e+=""},title:"Paragraph Style",callback:function(e,t){this.paragraphStyle.apply(t)},refreshOnShow:function(e,t){this.paragraphStyle.refreshOnShow(e,t)},plugin:"paragraphStyle"}),Mt.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"}),Object.assign(Mt.DEFAULTS,{html2pdf:window.html2pdf}),Mt.PLUGINS.print=function(l){return{run:function e(){!function s(e){var t=l.html.get(),n=null;l.shared.print_iframe?n=l.shared.print_iframe:((n=document.createElement("iframe")).name="fr-print",n.style.position="fixed",n.style.top="0",n.style.left="-9999px",n.style.height="100%",n.style.width="0",n.style.overflow="hidden",n.style["z-index"]="2147483647",n.style.tabIndex="-1",l.events.on("shared.destroy",function(){n.remove()}),l.shared.print_iframe=n);try{document.body.removeChild(n)}catch(i){}document.body.appendChild(n);var r=function r(){e(),n.removeEventListener("load",r)};n.addEventListener("load",r);var a=n.contentWindow;a.document.open(),a.document.write(""+document.title+""),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),a.document.write(e.outerHTML)});var o=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(o,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",a.document.write(t.outerHTML)}),a.document.write('
    '),a.document.write(t),a.document.write("
    "),a.document.close()}(function(){setTimeout(function(){l.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),l.$win.get(0).focus(),l.events.disableBlur(),l.events.focus()},0)})},toPDF:function t(){l.opts.html2pdf&&(l.$el.css("text-align","left"),l.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(l.el).save(),setTimeout(function(){l.$el.css("text-align","")},100))}}},Mt.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),Mt.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),Mt.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),Mt.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}}),Object.assign(Mt.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),Mt.QUICK_INSERT_BUTTONS={},Mt.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),Mt.RegisterQuickInsertButton=function(e,t){Mt.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},Mt.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement("input")).attr("accept","image/"+e.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),t("body").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,"change",function(){var e=t(this).data("inst");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val("")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data("inst",e)[0].click()}}),Mt.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),Mt.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),Mt.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),Mt.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),Mt.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),Mt.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),Mt.PLUGINS.quickInsert=function(i){var s,l,c=i.$;function n(e){var t,n,r;(t=e.offset().top-i.$box.offset().top,n=(i.$iframe&&i.$iframe.offset().left||0)+e.offset().left-e.position().left-4').concat(i.icon.create("quickInsert"),"")));s=i.shared.$quick_insert,i.tooltip.bind(i.$box,".fr-quick-insert > a.fr-floating-btn"),i.events.on("destroy",function(){c("body").first().append(s.removeClass("fr-on")),l&&(f(),c("body").first().append(l.css("left",-9999).css("top",-9999)))},!0),i.events.on("shared.destroy",function(){s.html("").removeData().remove(),s=null,l&&(l.html("").removeData().remove(),l=null)},!0),i.events.on("commands.before",o),i.events.on("commands.after",function(){i.popups.areVisible()||r()}),i.events.bindClick(i.$box,".fr-quick-insert > a",d),i.events.bindClick(i.$box,".fr-qi-helper > a.fr-btn",function(e){var t=c(e.currentTarget).data("cmd");if(!1===i.events.trigger("quickInsert.commands.before",[t]))return!1;Mt.QUICK_INSERT_BUTTONS[t].callback.apply(i,[e.currentTarget]),Mt.QUICK_INSERT_BUTTONS[t].undo&&i.undo.saveStep(),i.events.trigger("quickInsert.commands.after",[t]),i.quickInsert.hide()}),i.events.$on(i.$wp,"scroll",p),i.events.$on(i.$tb,"transitionend",".fr-more-toolbar",p)}(),s.hasClass("fr-on")&&f(),i.$box.append(s),n(e),s.data("tag",e),s.addClass("fr-visible")}function r(){if(i.core.hasFocus()){var e=i.selection.element();if(i.opts.enter==Mt.ENTER_BR||i.node.isBlock(e)||(e=i.node.blockParent(e)),i.opts.enter==Mt.ENTER_BR&&!i.node.isBlock(e)){var t=i.node.deepestParent(e);t&&(e=t)}var n=function n(){return i.opts.enter!=Mt.ENTER_BR&&i.node.isEmpty(e)&&0<=i.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},r=function r(){return i.opts.enter==Mt.ENTER_BR&&("BR"==e.tagName&&(!e.previousSibling||"BR"==e.previousSibling.tagName||i.node.isBlock(e.previousSibling))||i.node.isEmpty(e)&&(!e.previousSibling||"BR"==e.previousSibling.tagName||i.node.isBlock(e.previousSibling))&&(!e.nextSibling||"BR"==e.nextSibling.tagName||i.node.isBlock(e.nextSibling)))};e&&(n()||r())?s&&s.data("tag").is(c(e))&&s.hasClass("fr-on")?f():i.selection.isCollapsed()&&a(c(e)):o()}}function o(){s&&(s.hasClass("fr-on")&&f(),s.removeClass("fr-visible fr-on"),s.css("left",-9999).css("top",-9999))}function d(e){if(e&&e.preventDefault(),s.hasClass("fr-on")&&!s.hasClass("fr-hidden"))f();else{if(!i.shared.$qi_helper){for(var t=i.opts.quickInsertButtons,n='
    ',r=0,a=0;a').concat(i.icon.create(o.icon),""))}n+="
    ",i.shared.$qi_helper=c(n),i.tooltip.bind(i.shared.$qi_helper,"a.fr-btn"),i.events.$on(i.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}l=i.shared.$qi_helper,i.$box.append(l),setTimeout(function(){l.css("top",parseFloat(s.css("top"))),l.css("left",parseFloat(s.css("left"))+s.outerWidth()),l.find("a").addClass("fr-size-1"),s.addClass("fr-on")},10)}}function f(){var n=i.$box.find(".fr-qi-helper");n.length&&function(){for(var t=n.find("a"),e=0;e').concat(this.language.translate(t[n])).concat(r?''.concat(r,""):"","")}return e+=""},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),Mt.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"}),Object.assign(Mt.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),Mt.PLUGINS.save=function(s){var l=s.$,r=null,c=null,t=!1,d=1,f=2,n={};function p(e,t){s.events.trigger("save.error",[{code:e,message:n[e]},t])}function a(e){void 0===e&&(e=s.html.get());var r=e,t=s.events.trigger("save.before",[e]);if(!1===t)return!1;if("string"==typeof t&&(e=t),s.opts.saveURL){var n={};for(var a in s.opts.saveParams)if(s.opts.saveParams.hasOwnProperty(a)){var o=s.opts.saveParams[a];n[a]="function"==typeof o?o.call(this):o}var i={};i[s.opts.saveParam]=e,l(this).ajax({method:s.opts.saveMethod,url:s.opts.saveURL,data:Object.assign(i,n),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){c=r,s.events.trigger("save.after",[e])},fail:function(e){p(f,e.response||e.responseText)}})}else p(d)}function o(){clearTimeout(r),r=setTimeout(function(){var e=s.html.get();(c!=e||t)&&(t=!1,a(c=e))},0)}return n[d]="Missing saveURL option.",n[f]="Something went wrong during save.",{_init:function i(){if(s.opts.letteringClass)for(var e=s.opts.letteringClass,t=s.$el.find(".".concat(e)).length,n=0;n$1
    ");s.opts.saveInterval&&(c=s.html.get(),s.events.on("contentChanged",function(){setTimeout(o,s.opts.saveInterval)}),s.events.on("keydown destroy",function(){clearTimeout(r)}))},save:a,reset:function e(){o(),t=!1},force:function u(){t=!0}}},Mt.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),Mt.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"}),Object.assign(Mt.DEFAULTS,{specialCharactersSets:[{title:"Latin","char":"¡",list:[{"char":"¡",desc:"INVERTED EXCLAMATION MARK"},{"char":"¢",desc:"CENT SIGN"},{"char":"£",desc:"POUND SIGN"},{"char":"¤",desc:"CURRENCY SIGN"},{"char":"¥",desc:"YEN SIGN"},{"char":"¦",desc:"BROKEN BAR"},{"char":"§",desc:"SECTION SIGN"},{"char":"¨",desc:"DIAERESIS"},{"char":"©",desc:"COPYRIGHT SIGN"},{"char":"™",desc:"TRADEMARK SIGN"},{"char":"ª",desc:"FEMININE ORDINAL INDICATOR"},{"char":"«",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¬",desc:"NOT SIGN"},{"char":"®",desc:"REGISTERED SIGN"},{"char":"¯",desc:"MACRON"},{"char":"°",desc:"DEGREE SIGN"},{"char":"±",desc:"PLUS-MINUS SIGN"},{"char":"²",desc:"SUPERSCRIPT TWO"},{"char":"³",desc:"SUPERSCRIPT THREE"},{"char":"´",desc:"ACUTE ACCENT"},{"char":"µ",desc:"MICRO SIGN"},{"char":"¶",desc:"PILCROW SIGN"},{"char":"·",desc:"MIDDLE DOT"},{"char":"¸",desc:"CEDILLA"},{"char":"¹",desc:"SUPERSCRIPT ONE"},{"char":"º",desc:"MASCULINE ORDINAL INDICATOR"},{"char":"»",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¼",desc:"VULGAR FRACTION ONE QUARTER"},{"char":"½",desc:"VULGAR FRACTION ONE HALF"},{"char":"¾",desc:"VULGAR FRACTION THREE QUARTERS"},{"char":"¿",desc:"INVERTED QUESTION MARK"},{"char":"À",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{"char":"Á",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{"char":"Â",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{"char":"Ã",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{"char":"Ä",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{"char":"Å",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{"char":"Æ",desc:"LATIN CAPITAL LETTER AE"},{"char":"Ç",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{"char":"È",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{"char":"É",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{"char":"Ê",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{"char":"Ë",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{"char":"Ì",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{"char":"Í",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{"char":"Î",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{"char":"Ï",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{"char":"Ð",desc:"LATIN CAPITAL LETTER ETH"},{"char":"Ñ",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{"char":"Ò",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{"char":"Ó",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{"char":"Ô",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{"char":"Õ",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{"char":"Ö",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{"char":"×",desc:"MULTIPLICATION SIGN"},{"char":"Ø",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{"char":"Ù",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{"char":"Ú",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{"char":"Û",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{"char":"Ü",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{"char":"Ý",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{"char":"Þ",desc:"LATIN CAPITAL LETTER THORN"},{"char":"ß",desc:"LATIN SMALL LETTER SHARP S"},{"char":"à",desc:"LATIN SMALL LETTER A WITH GRAVE"},{"char":"á",desc:"LATIN SMALL LETTER A WITH ACUTE "},{"char":"â",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{"char":"ã",desc:"LATIN SMALL LETTER A WITH TILDE"},{"char":"ä",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{"char":"å",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{"char":"æ",desc:"LATIN SMALL LETTER AE"},{"char":"ç",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{"char":"è",desc:"LATIN SMALL LETTER E WITH GRAVE"},{"char":"é",desc:"LATIN SMALL LETTER E WITH ACUTE"},{"char":"ê",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{"char":"ë",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{"char":"ì",desc:"LATIN SMALL LETTER I WITH GRAVE"},{"char":"í",desc:"LATIN SMALL LETTER I WITH ACUTE"},{"char":"î",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{"char":"ï",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{"char":"ð",desc:"LATIN SMALL LETTER ETH"},{"char":"ñ",desc:"LATIN SMALL LETTER N WITH TILDE"},{"char":"ò",desc:"LATIN SMALL LETTER O WITH GRAVE"},{"char":"ó",desc:"LATIN SMALL LETTER O WITH ACUTE"},{"char":"ô",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{"char":"õ",desc:"LATIN SMALL LETTER O WITH TILDE"},{"char":"ö",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{"char":"÷",desc:"DIVISION SIGN"},{"char":"ø",desc:"LATIN SMALL LETTER O WITH STROKE"},{"char":"ù",desc:"LATIN SMALL LETTER U WITH GRAVE"},{"char":"ú",desc:"LATIN SMALL LETTER U WITH ACUTE"},{"char":"û",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{"char":"ü",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{"char":"ý",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{"char":"þ",desc:"LATIN SMALL LETTER THORN"},{"char":"ÿ",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek","char":"Α",list:[{"char":"Α",desc:"GREEK CAPITAL LETTER ALPHA"},{"char":"Β",desc:"GREEK CAPITAL LETTER BETA"},{"char":"Γ",desc:"GREEK CAPITAL LETTER GAMMA"},{"char":"Δ",desc:"GREEK CAPITAL LETTER DELTA"},{"char":"Ε",desc:"GREEK CAPITAL LETTER EPSILON"},{"char":"Ζ",desc:"GREEK CAPITAL LETTER ZETA"},{"char":"Η",desc:"GREEK CAPITAL LETTER ETA"},{"char":"Θ",desc:"GREEK CAPITAL LETTER THETA"},{"char":"Ι",desc:"GREEK CAPITAL LETTER IOTA"},{"char":"Κ",desc:"GREEK CAPITAL LETTER KAPPA"},{"char":"Λ",desc:"GREEK CAPITAL LETTER LAMBDA"},{"char":"Μ",desc:"GREEK CAPITAL LETTER MU"},{"char":"Ν",desc:"GREEK CAPITAL LETTER NU"},{"char":"Ξ",desc:"GREEK CAPITAL LETTER XI"},{"char":"Ο",desc:"GREEK CAPITAL LETTER OMICRON"},{"char":"Π",desc:"GREEK CAPITAL LETTER PI"},{"char":"Ρ",desc:"GREEK CAPITAL LETTER RHO"},{"char":"Σ",desc:"GREEK CAPITAL LETTER SIGMA"},{"char":"Τ",desc:"GREEK CAPITAL LETTER TAU"},{"char":"Υ",desc:"GREEK CAPITAL LETTER UPSILON"},{"char":"Φ",desc:"GREEK CAPITAL LETTER PHI"},{"char":"Χ",desc:"GREEK CAPITAL LETTER CHI"},{"char":"Ψ",desc:"GREEK CAPITAL LETTER PSI"},{"char":"Ω",desc:"GREEK CAPITAL LETTER OMEGA"},{"char":"α",desc:"GREEK SMALL LETTER ALPHA"},{"char":"β",desc:"GREEK SMALL LETTER BETA"},{"char":"γ",desc:"GREEK SMALL LETTER GAMMA"},{"char":"δ",desc:"GREEK SMALL LETTER DELTA"},{"char":"ε",desc:"GREEK SMALL LETTER EPSILON"},{"char":"ζ",desc:"GREEK SMALL LETTER ZETA"},{"char":"η",desc:"GREEK SMALL LETTER ETA"},{"char":"θ",desc:"GREEK SMALL LETTER THETA"},{"char":"ι",desc:"GREEK SMALL LETTER IOTA"},{"char":"κ",desc:"GREEK SMALL LETTER KAPPA"},{"char":"λ",desc:"GREEK SMALL LETTER LAMBDA"},{"char":"μ",desc:"GREEK SMALL LETTER MU"},{"char":"ν",desc:"GREEK SMALL LETTER NU"},{"char":"ξ",desc:"GREEK SMALL LETTER XI"},{"char":"ο",desc:"GREEK SMALL LETTER OMICRON"},{"char":"π",desc:"GREEK SMALL LETTER PI"},{"char":"ρ",desc:"GREEK SMALL LETTER RHO"},{"char":"ς",desc:"GREEK SMALL LETTER FINAL SIGMA"},{"char":"σ",desc:"GREEK SMALL LETTER SIGMA"},{"char":"τ",desc:"GREEK SMALL LETTER TAU"},{"char":"υ",desc:"GREEK SMALL LETTER UPSILON"},{"char":"φ",desc:"GREEK SMALL LETTER PHI"},{"char":"χ",desc:"GREEK SMALL LETTER CHI"},{"char":"ψ",desc:"GREEK SMALL LETTER PSI"},{"char":"ω",desc:"GREEK SMALL LETTER OMEGA"},{"char":"ϑ",desc:"GREEK THETA SYMBOL"},{"char":"ϒ",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{"char":"ϕ",desc:"GREEK PHI SYMBOL"},{"char":"ϖ",desc:"GREEK PI SYMBOL"},{"char":"Ϝ",desc:"GREEK LETTER DIGAMMA"},{"char":"ϝ",desc:"GREEK SMALL LETTER DIGAMMA"},{"char":"ϰ",desc:"GREEK KAPPA SYMBOL"},{"char":"ϱ",desc:"GREEK RHO SYMBOL"},{"char":"ϵ",desc:"GREEK LUNATE EPSILON SYMBOL"},{"char":"϶",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic","char":"Ѐ",list:[{"char":"Ѐ",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{"char":"Ё",desc:"CYRILLIC CAPITAL LETTER IO"},{"char":"Ђ",desc:"CYRILLIC CAPITAL LETTER DJE"},{"char":"Ѓ",desc:"CYRILLIC CAPITAL LETTER GJE"},{"char":"Є",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{"char":"Ѕ",desc:"CYRILLIC CAPITAL LETTER DZE"},{"char":"І",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"Ї",desc:"CYRILLIC CAPITAL LETTER YI"},{"char":"Ј",desc:"CYRILLIC CAPITAL LETTER JE"},{"char":"Љ",desc:"CYRILLIC CAPITAL LETTER LJE"},{"char":"Њ",desc:"CYRILLIC CAPITAL LETTER NJE"},{"char":"Ћ",desc:"CYRILLIC CAPITAL LETTER TSHE"},{"char":"Ќ",desc:"CYRILLIC CAPITAL LETTER KJE"},{"char":"Ѝ",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{"char":"Ў",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{"char":"Џ",desc:"CYRILLIC CAPITAL LETTER DZHE"},{"char":"А",desc:"CYRILLIC CAPITAL LETTER A"},{"char":"Б",desc:"CYRILLIC CAPITAL LETTER BE"},{"char":"В",desc:"CYRILLIC CAPITAL LETTER VE"},{"char":"Г",desc:"CYRILLIC CAPITAL LETTER GHE"},{"char":"Д",desc:"CYRILLIC CAPITAL LETTER DE"},{"char":"Е",desc:"CYRILLIC CAPITAL LETTER IE"},{"char":"Ж",desc:"CYRILLIC CAPITAL LETTER ZHE"},{"char":"З",desc:"CYRILLIC CAPITAL LETTER ZE"},{"char":"И",desc:"CYRILLIC CAPITAL LETTER I"},{"char":"Й",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{"char":"К",desc:"CYRILLIC CAPITAL LETTER KA"},{"char":"Л",desc:"CYRILLIC CAPITAL LETTER EL"},{"char":"М",desc:"CYRILLIC CAPITAL LETTER EM"},{"char":"Н",desc:"CYRILLIC CAPITAL LETTER EN"},{"char":"О",desc:"CYRILLIC CAPITAL LETTER O"},{"char":"П",desc:"CYRILLIC CAPITAL LETTER PE"},{"char":"Р",desc:"CYRILLIC CAPITAL LETTER ER"},{"char":"С",desc:"CYRILLIC CAPITAL LETTER ES"},{"char":"Т",desc:"CYRILLIC CAPITAL LETTER TE"},{"char":"У",desc:"CYRILLIC CAPITAL LETTER U"},{"char":"Ф",desc:"CYRILLIC CAPITAL LETTER EF"},{"char":"Х",desc:"CYRILLIC CAPITAL LETTER HA"},{"char":"Ц",desc:"CYRILLIC CAPITAL LETTER TSE"},{"char":"Ч",desc:"CYRILLIC CAPITAL LETTER CHE"},{"char":"Ш",desc:"CYRILLIC CAPITAL LETTER SHA"},{"char":"Щ",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{"char":"Ъ",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{"char":"Ы",desc:"CYRILLIC CAPITAL LETTER YERU"},{"char":"Ь",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{"char":"Э",desc:"CYRILLIC CAPITAL LETTER E"},{"char":"Ю",desc:"CYRILLIC CAPITAL LETTER YU"},{"char":"Я",desc:"CYRILLIC CAPITAL LETTER YA"},{"char":"а",desc:"CYRILLIC SMALL LETTER A"},{"char":"б",desc:"CYRILLIC SMALL LETTER BE"},{"char":"в",desc:"CYRILLIC SMALL LETTER VE"},{"char":"г",desc:"CYRILLIC SMALL LETTER GHE"},{"char":"д",desc:"CYRILLIC SMALL LETTER DE"},{"char":"е",desc:"CYRILLIC SMALL LETTER IE"},{"char":"ж",desc:"CYRILLIC SMALL LETTER ZHE"},{"char":"з",desc:"CYRILLIC SMALL LETTER ZE"},{"char":"и",desc:"CYRILLIC SMALL LETTER I"},{"char":"й",desc:"CYRILLIC SMALL LETTER SHORT I"},{"char":"к",desc:"CYRILLIC SMALL LETTER KA"},{"char":"л",desc:"CYRILLIC SMALL LETTER EL"},{"char":"м",desc:"CYRILLIC SMALL LETTER EM"},{"char":"н",desc:"CYRILLIC SMALL LETTER EN"},{"char":"о",desc:"CYRILLIC SMALL LETTER O"},{"char":"п",desc:"CYRILLIC SMALL LETTER PE"},{"char":"р",desc:"CYRILLIC SMALL LETTER ER"},{"char":"с",desc:"CYRILLIC SMALL LETTER ES"},{"char":"т",desc:"CYRILLIC SMALL LETTER TE"},{"char":"у",desc:"CYRILLIC SMALL LETTER U"},{"char":"ф",desc:"CYRILLIC SMALL LETTER EF"},{"char":"х",desc:"CYRILLIC SMALL LETTER HA"},{"char":"ц",desc:"CYRILLIC SMALL LETTER TSE"},{"char":"ч",desc:"CYRILLIC SMALL LETTER CHE"},{"char":"ш",desc:"CYRILLIC SMALL LETTER SHA"},{"char":"щ",desc:"CYRILLIC SMALL LETTER SHCHA"},{"char":"ъ",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{"char":"ы",desc:"CYRILLIC SMALL LETTER YERU"},{"char":"ь",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{"char":"э",desc:"CYRILLIC SMALL LETTER E"},{"char":"ю",desc:"CYRILLIC SMALL LETTER YU"},{"char":"я",desc:"CYRILLIC SMALL LETTER YA"},{"char":"ѐ",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{"char":"ё",desc:"CYRILLIC SMALL LETTER IO"},{"char":"ђ",desc:"CYRILLIC SMALL LETTER DJE"},{"char":"ѓ",desc:"CYRILLIC SMALL LETTER GJE"},{"char":"є",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{"char":"ѕ",desc:"CYRILLIC SMALL LETTER DZE"},{"char":"і",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"ї",desc:"CYRILLIC SMALL LETTER YI"},{"char":"ј",desc:"CYRILLIC SMALL LETTER JE"},{"char":"љ",desc:"CYRILLIC SMALL LETTER LJE"},{"char":"њ",desc:"CYRILLIC SMALL LETTER NJE"},{"char":"ћ",desc:"CYRILLIC SMALL LETTER TSHE"},{"char":"ќ",desc:"CYRILLIC SMALL LETTER KJE"},{"char":"ѝ",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{"char":"ў",desc:"CYRILLIC SMALL LETTER SHORT U"},{"char":"џ",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation","char":"–",list:[{"char":"–",desc:"EN DASH"},{"char":"—",desc:"EM DASH"},{"char":"‘",desc:"LEFT SINGLE QUOTATION MARK"},{"char":"’",desc:"RIGHT SINGLE QUOTATION MARK"},{"char":"‚",desc:"SINGLE LOW-9 QUOTATION MARK"},{"char":"“",desc:"LEFT DOUBLE QUOTATION MARK"},{"char":"”",desc:"RIGHT DOUBLE QUOTATION MARK"},{"char":"„",desc:"DOUBLE LOW-9 QUOTATION MARK"},{"char":"†",desc:"DAGGER"},{"char":"‡",desc:"DOUBLE DAGGER"},{"char":"•",desc:"BULLET"},{"char":"…",desc:"HORIZONTAL ELLIPSIS"},{"char":"‰",desc:"PER MILLE SIGN"},{"char":"′",desc:"PRIME"},{"char":"″",desc:"DOUBLE PRIME"},{"char":"‹",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{"char":"›",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{"char":"‾",desc:"OVERLINE"},{"char":"⁄",desc:"FRACTION SLASH"}]},{title:"Currency","char":"₠",list:[{"char":"₠",desc:"EURO-CURRENCY SIGN"},{"char":"₡",desc:"COLON SIGN"},{"char":"₢",desc:"CRUZEIRO SIGN"},{"char":"₣",desc:"FRENCH FRANC SIGN"},{"char":"₤",desc:"LIRA SIGN"},{"char":"₥",desc:"MILL SIGN"},{"char":"₦",desc:"NAIRA SIGN"},{"char":"₧",desc:"PESETA SIGN"},{"char":"₨",desc:"RUPEE SIGN"},{"char":"₩",desc:"WON SIGN"},{"char":"₪",desc:"NEW SHEQEL SIGN"},{"char":"₫",desc:"DONG SIGN"},{"char":"€",desc:"EURO SIGN"},{"char":"₭",desc:"KIP SIGN"},{"char":"₮",desc:"TUGRIK SIGN"},{"char":"₯",desc:"DRACHMA SIGN"},{"char":"₰",desc:"GERMAN PENNY SYMBOL"},{"char":"₱",desc:"PESO SIGN"},{"char":"₲",desc:"GUARANI SIGN"},{"char":"₳",desc:"AUSTRAL SIGN"},{"char":"₴",desc:"HRYVNIA SIGN"},{"char":"₵",desc:"CEDI SIGN"},{"char":"₶",desc:"LIVRE TOURNOIS SIGN"},{"char":"₷",desc:"SPESMILO SIGN"},{"char":"₸",desc:"TENGE SIGN"},{"char":"₹",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows","char":"←",list:[{"char":"←",desc:"LEFTWARDS ARROW"},{"char":"↑",desc:"UPWARDS ARROW"},{"char":"→",desc:"RIGHTWARDS ARROW"},{"char":"↓",desc:"DOWNWARDS ARROW"},{"char":"↔",desc:"LEFT RIGHT ARROW"},{"char":"↕",desc:"UP DOWN ARROW"},{"char":"↖",desc:"NORTH WEST ARROW"},{"char":"↗",desc:"NORTH EAST ARROW"},{"char":"↘",desc:"SOUTH EAST ARROW"},{"char":"↙",desc:"SOUTH WEST ARROW"},{"char":"↚",desc:"LEFTWARDS ARROW WITH STROKE"},{"char":"↛",desc:"RIGHTWARDS ARROW WITH STROKE"},{"char":"↜",desc:"LEFTWARDS WAVE ARROW"},{"char":"↝",desc:"RIGHTWARDS WAVE ARROW"},{"char":"↞",desc:"LEFTWARDS TWO HEADED ARROW"},{"char":"↟",desc:"UPWARDS TWO HEADED ARROW"},{"char":"↠",desc:"RIGHTWARDS TWO HEADED ARROW"},{"char":"↡",desc:"DOWNWARDS TWO HEADED ARROW"},{"char":"↢",desc:"LEFTWARDS ARROW WITH TAIL"},{"char":"↣",desc:"RIGHTWARDS ARROW WITH TAIL"},{"char":"↤",desc:"LEFTWARDS ARROW FROM BAR"},{"char":"↥",desc:"UPWARDS ARROW FROM BAR"},{"char":"↦",desc:"RIGHTWARDS ARROW FROM BAR"},{"char":"↧",desc:"DOWNWARDS ARROW FROM BAR"},{"char":"↨",desc:"UP DOWN ARROW WITH BASE"},{"char":"↩",desc:"LEFTWARDS ARROW WITH HOOK"},{"char":"↪",desc:"RIGHTWARDS ARROW WITH HOOK"},{"char":"↫",desc:"LEFTWARDS ARROW WITH LOOP"},{"char":"↬",desc:"RIGHTWARDS ARROW WITH LOOP"},{"char":"↭",desc:"LEFT RIGHT WAVE ARROW"},{"char":"↮",desc:"LEFT RIGHT ARROW WITH STROKE"},{"char":"↯",desc:"DOWNWARDS ZIGZAG ARROW"},{"char":"↰",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↱",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↲",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↳",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↴",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{"char":"↵",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{"char":"↶",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↷",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↸",desc:"NORTH WEST ARROW TO LONG BAR"},{"char":"↹",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{"char":"↺",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{"char":"↻",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{"char":"↼",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{"char":"↽",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"↾",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"↿",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇀",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{"char":"⇁",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"⇂",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"⇃",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇄",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{"char":"⇅",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{"char":"⇆",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{"char":"⇇",desc:"LEFTWARDS PAIRED ARROWS"},{"char":"⇈",desc:"UPWARDS PAIRED ARROWS"},{"char":"⇉",desc:"RIGHTWARDS PAIRED ARROWS"},{"char":"⇊",desc:"DOWNWARDS PAIRED ARROWS"},{"char":"⇋",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{"char":"⇌",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{"char":"⇍",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇎",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{"char":"⇏",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇐",desc:"LEFTWARDS DOUBLE ARROW"},{"char":"⇑",desc:"UPWARDS DOUBLE ARROW"},{"char":"⇒",desc:"RIGHTWARDS DOUBLE ARROW"},{"char":"⇓",desc:"DOWNWARDS DOUBLE ARROW"},{"char":"⇔",desc:"LEFT RIGHT DOUBLE ARROW"},{"char":"⇕",desc:"UP DOWN DOUBLE ARROW"},{"char":"⇖",desc:"NORTH WEST DOUBLE ARROW"},{"char":"⇗",desc:"NORTH EAST DOUBLE ARROW"},{"char":"⇘",desc:"SOUTH EAST DOUBLE ARROW"},{"char":"⇙",desc:"SOUTH WEST DOUBLE ARROW"},{"char":"⇚",desc:"LEFTWARDS TRIPLE ARROW"},{"char":"⇛",desc:"RIGHTWARDS TRIPLE ARROW"},{"char":"⇜",desc:"LEFTWARDS SQUIGGLE ARROW"},{"char":"⇝",desc:"RIGHTWARDS SQUIGGLE ARROW"},{"char":"⇞",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇟",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇠",desc:"LEFTWARDS DASHED ARROW"},{"char":"⇡",desc:"UPWARDS DASHED ARROW"},{"char":"⇢",desc:"RIGHTWARDS DASHED ARROW"},{"char":"⇣",desc:"DOWNWARDS DASHED ARROW"},{"char":"⇤",desc:"LEFTWARDS ARROW TO BAR"},{"char":"⇥",desc:"RIGHTWARDS ARROW TO BAR"},{"char":"⇦",desc:"LEFTWARDS WHITE ARROW"},{"char":"⇧",desc:"UPWARDS WHITE ARROW"},{"char":"⇨",desc:"RIGHTWARDS WHITE ARROW"},{"char":"⇩",desc:"DOWNWARDS WHITE ARROW"},{"char":"⇪",desc:"UPWARDS WHITE ARROW FROM BAR"},{"char":"⇫",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{"char":"⇬",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{"char":"⇭",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"},{"char":"⇮",desc:"UPWARDS WHITE DOUBLE ARROW"},{"char":"⇯",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{"char":"⇰",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{"char":"⇱",desc:"NORTH WEST ARROW TO CORNER"},{"char":"⇲",desc:"SOUTH EAST ARROW TO CORNER"},{"char":"⇳",desc:"UP DOWN WHITE ARROW"},{"char":"⇴",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{"char":"⇵",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{"char":"⇶",desc:"THREE RIGHTWARDS ARROWS"},{"char":"⇷",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇸",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇹",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{"char":"⇺",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇻",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇼",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇽",desc:"LEFTWARDS OPEN-HEADED ARROW"},{"char":"⇾",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{"char":"⇿",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math","char":"∀",list:[{"char":"∀",desc:"FOR ALL"},{"char":"∂",desc:"PARTIAL DIFFERENTIAL"},{"char":"∃",desc:"THERE EXISTS"},{"char":"∅",desc:"EMPTY SET"},{"char":"∇",desc:"NABLA"},{"char":"∈",desc:"ELEMENT OF"},{"char":"∉",desc:"NOT AN ELEMENT OF"},{"char":"∋",desc:"CONTAINS AS MEMBER"},{"char":"∏",desc:"N-ARY PRODUCT"},{"char":"∑",desc:"N-ARY SUMMATION"},{"char":"−",desc:"MINUS SIGN"},{"char":"∗",desc:"ASTERISK OPERATOR"},{"char":"√",desc:"SQUARE ROOT"},{"char":"∝",desc:"PROPORTIONAL TO"},{"char":"∞",desc:"INFINITY"},{"char":"∠",desc:"ANGLE"},{"char":"∧",desc:"LOGICAL AND"},{"char":"∨",desc:"LOGICAL OR"},{"char":"∩",desc:"INTERSECTION"},{"char":"∪",desc:"UNION"},{"char":"∫",desc:"INTEGRAL"},{"char":"∴",desc:"THEREFORE"},{"char":"∼",desc:"TILDE OPERATOR"},{"char":"≅",desc:"APPROXIMATELY EQUAL TO"},{"char":"≈",desc:"ALMOST EQUAL TO"},{"char":"≠",desc:"NOT EQUAL TO"},{"char":"≡",desc:"IDENTICAL TO"},{"char":"≤",desc:"LESS-THAN OR EQUAL TO"},{"char":"≥",desc:"GREATER-THAN OR EQUAL TO"},{"char":"⊂",desc:"SUBSET OF"},{"char":"⊃",desc:"SUPERSET OF"},{"char":"⊄",desc:"NOT A SUBSET OF"},{"char":"⊆",desc:"SUBSET OF OR EQUAL TO"},{"char":"⊇",desc:"SUPERSET OF OR EQUAL TO"},{"char":"⊕",desc:"CIRCLED PLUS"},{"char":"⊗",desc:"CIRCLED TIMES"},{"char":"⊥",desc:"UP TACK"}]},{title:"Misc","char":"♠",list:[{"char":"♠",desc:"BLACK SPADE SUIT"},{"char":"♣",desc:"BLACK CLUB SUIT"},{"char":"♥",desc:"BLACK HEART SUIT"},{"char":"♦",desc:"BLACK DIAMOND SUIT"},{"char":"♩",desc:"QUARTER NOTE"},{"char":"♪",desc:"EIGHTH NOTE"},{"char":"♫",desc:"BEAMED EIGHTH NOTES"},{"char":"♬",desc:"BEAMED SIXTEENTH NOTES"},{"char":"♭",desc:"MUSIC FLAT SIGN"},{"char":"♮",desc:"MUSIC NATURAL SIGN"},{"char":"☀",desc:"BLACK SUN WITH RAYS"},{"char":"☁",desc:"CLOUD"},{"char":"☂",desc:"UMBRELLA"},{"char":"☃",desc:"SNOWMAN"},{"char":"☕",desc:"HOT BEVERAGE"},{"char":"☘",desc:"SHAMROCK"},{"char":"☯",desc:"YIN YANG"},{"char":"✔",desc:"HEAVY CHECK MARK"},{"char":"✖",desc:"HEAVY MULTIPLICATION X"},{"char":"❄",desc:"SNOWFLAKE"},{"char":"❛",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❜",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❝",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❞",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❤",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(Mt.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Mt.PLUGINS.specialCharacters=function(g){var m=g.$,n=g.opts.specialCharactersSets[0],a=g.opts.specialCharactersSets,i="";function s(){return'\n
    \n '.concat(function t(e,n){var r="";return e.forEach(function(e){var t={elementClass:e.title===n.title?"fr-active fr-active-tab":"",title:e.title,dataParam1:e.title,desc:e["char"]};r+='")}),r}(a,n),'\n
    \n
    \n ').concat(function r(e){var n="";return e.list.forEach(function(e){var t={dataParam1:e["char"],title:e.desc,splCharValue:e["char"]};n+='').concat(t.splCharValue,"")}),n}(n),"\n
    ")}return{setSpecialCharacterCategory:function r(t){n=a.filter(function(e){return e.title===t})[0],function e(){g.popups.get("specialCharacters").html(i+s())}()},showSpecialCharsPopup:function l(){var e=g.popups.get("specialCharacters");if(e||(e=function o(){g.opts.toolbarInline&&0'.concat(g.button.buildList(g.opts.specialCharButtons),""));var e={buttons:i,custom_layer:s()},t=g.popups.create("specialCharacters",e);return function n(h){g.events.on("popup.tab",function(e){var t=m(e.currentTarget);if(!g.popups.isVisible("specialCharacters")||!t.is("span, a"))return!0;var n,r,a,o=e.which;if(Mt.KEYCODE.TAB==o){if(t.is("span.fr-icon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var i=h.find(".fr-buttons");n=!g.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==n){var s=h.find("span.fr-icon:focus").first().concat(h.findVisible(" span.fr-icon").first().concat(h.find("a")));t.is("span.fr-icon")&&(s=s.not("span.fr-icon:not(:focus)")),r=s.index(t),r=e.shiftKey?((r-1)%s.length+s.length)%s.length:(r+1)%s.length,a=s.get(r),g.events.disableBlur(),a.focus(),n=!1}}else if(Mt.KEYCODE.ARROW_UP==o||Mt.KEYCODE.ARROW_DOWN==o||Mt.KEYCODE.ARROW_LEFT==o||Mt.KEYCODE.ARROW_RIGHT==o){if(t.is("span.fr-icon")){var l=t.parent().find("span.fr-icon");r=l.index(t);var c=Math.floor(l.length/11),d=r%11,f=Math.floor(r/11),p=11*f+d,u=11*c;Mt.KEYCODE.ARROW_UP==o?p=((p-11)%u+u)%u:Mt.KEYCODE.ARROW_DOWN==o?p=(p+11)%u:Mt.KEYCODE.ARROW_LEFT==o?p=((p-1)%u+u)%u:Mt.KEYCODE.ARROW_RIGHT==o&&(p=(p+1)%u),a=m(l.get(p)),g.events.disableBlur(),a.focus(),n=!1}}else Mt.KEYCODE.ENTER==o&&(t.is("a")?t[0].click():g.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(t),t}()),!e.hasClass("fr-active")){g.popups.refresh("specialCharacters"),g.popups.setContainer("specialCharacters",g.$tb);var t=g.$tb.find('.fr-command[data-cmd="specialCharacters"]'),n=g.button.getPosition(t),r=n.left,a=n.top;g.popups.show("specialCharacters",r,a,outerHeight)}},back:function e(){g.popups.hide("specialCharacters"),g.toolbar.showInline()}}},Mt.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),Mt.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),Mt.RegisterCommand("insertSpecialCharacter",{callback:function(e,t){this.undo.saveStep(),this.html.insert(t),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),Mt.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(e,t){this.specialCharacters.setSpecialCharacterCategory(t)}}),Mt.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}}),Object.assign(Mt.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(Mt.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackground","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),Mt.PLUGINS.table=function(T){var A,c,a,o,r,i,L,S=T.$;function u(){var e=w();if(e){var t=T.popups.get("table.edit");if(t||(t=p()),t){T.popups.setContainer("table.edit",T.$sc);var n=O(e),r=n.left+(n.right-n.left)/2,a=n.bottom;T.popups.show("table.edit",r,a,n.bottom-n.top,!0),T.edit.isDisabled()&&(1"));var t="";T.opts.colorsHEXInput&&(t='
    "));var n={buttons:e,colors:function a(){for(var e='
    ',t=0;t"),"REMOVE"!=T.opts.tableColors[t]?e+='').concat(T.language.translate("Color")," ").concat(T.opts.tableColors[t],"   "):e+='').concat(T.icon.create("tableColorRemove"),'').concat(T.language.translate("Clear Formatting"),"");return e+="
    "}(),custom_color:t},r=T.popups.create("table.colors",n);return T.events.$on(T.$wp,"scroll.table-colors",function(){T.popups.isVisible("table.colors")&&s()}),function o(h){T.events.on("popup.tab",function(e){var t=S(e.currentTarget);if(!T.popups.isVisible("table.colors")||!t.is("span"))return!0;var n=e.which,r=!0;if(Mt.KEYCODE.TAB==n){var a=h.find(".fr-buttons");r=!T.accessibility.focusToolbar(a,!!e.shiftKey)}else if(Mt.KEYCODE.ARROW_UP==n||Mt.KEYCODE.ARROW_DOWN==n||Mt.KEYCODE.ARROW_LEFT==n||Mt.KEYCODE.ARROW_RIGHT==n){var o=t.parent().find("span.fr-command"),i=o.index(t),s=T.opts.colorsStep,l=Math.floor(o.length/s),c=i%s,d=Math.floor(i/s),f=d*s+c,p=l*s;Mt.KEYCODE.ARROW_UP==n?f=((f-s)%p+p)%p:Mt.KEYCODE.ARROW_DOWN==n?f=(f+s)%p:Mt.KEYCODE.ARROW_LEFT==n?f=((f-1)%p+p)%p:Mt.KEYCODE.ARROW_RIGHT==n&&(f=(f+1)%p);var u=S(o.get(f));T.events.disableBlur(),u.focus(),r=!1}else Mt.KEYCODE.ENTER==n&&(T.button.exec(t),r=!1);return!1===r&&(e.preventDefault(),e.stopPropagation()),r},!0)}(r),r}()),T.popups.setContainer("table.colors",T.$sc);var n=O(e),r=(n.left+n.right)/2,a=n.bottom;!function o(){var e=T.popups.get("table.colors"),t=T.$el.find(".fr-selected-cell").first(),n=T.helpers.RGBToHex(t.css("background-color")),r=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),e.find('span[data-param1="'.concat(n,'"]')).addClass("fr-selected-color fr-active-item"),r.val(n).trigger("change")}(),T.popups.show("table.colors",r,a,n.bottom-n.top,!0)}}function l(){0===Q().length&&T.toolbar.enable()}function d(e){if(e)return T.popups.onHide("table.insert",function(){T.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var t="";0'.concat(T.button.buildList(T.opts.tableInsertButtons),""));var n={buttons:t,rows_columns:function o(){for(var e='
    1 × 1
    ',t=1;t<=T.opts.tableInsertMaxSize;t++){for(var n=1;n<=T.opts.tableInsertMaxSize;n++){var r="inline-block";2').concat(t," × ").concat(n,"   ")}e+='
    '}return e+="
    "}()},r=T.popups.create("table.insert",n);return T.events.$on(r,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){f(S(e.currentTarget))},!0),function a(e){T.events.$on(e,"focus","[tabIndex]",function(e){var t=S(e.currentTarget);f(t)}),T.events.on("popup.tab",function(e){var t=S(e.currentTarget);if(!T.popups.isVisible("table.insert")||!t.is("span, a"))return!0;var n,r=e.which;if(Mt.KEYCODE.ARROW_UP==r||Mt.KEYCODE.ARROW_DOWN==r||Mt.KEYCODE.ARROW_LEFT==r||Mt.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-table-cell")){var a=t.parent().find("span.fr-table-cell"),o=a.index(t),i=T.opts.tableInsertMaxSize,s=o%i,l=Math.floor(o/i);Mt.KEYCODE.ARROW_UP==r?l=Math.max(0,l-1):Mt.KEYCODE.ARROW_DOWN==r?l=Math.min(T.opts.tableInsertMaxSize-1,l+1):Mt.KEYCODE.ARROW_LEFT==r?s=Math.max(0,s-1):Mt.KEYCODE.ARROW_RIGHT==r&&(s=Math.min(T.opts.tableInsertMaxSize-1,s+1));var c=l*i+s,d=S(a.get(c));f(d),T.events.disableBlur(),d.focus(),n=!1}}else Mt.KEYCODE.ENTER==r&&(T.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(r),r}function f(e){var t=e.data("row");null!==t&&(t=parseInt(t));var n=e.data("col");null!==n&&(n=parseInt(n));var r=e.parent();r.siblings(".fr-table-size-info").html("".concat(t," × ").concat(n)),r.find("> span").removeClass("hover fr-active-item");for(var a=1;a<=T.opts.tableInsertMaxSize;a++)for(var o=0;o<=T.opts.tableInsertMaxSize;o++){var i=r.find('> span[data-row="'.concat(a,'"][data-col="').concat(o,'"]'));a<=t&&o<=n?i.addClass("hover"):a<=t+1||a<=2&&!T.helpers.isMobile()?i.css("display","inline-block"):2'.concat(T.button.buildList(T.opts.tableEditButtons),"")},n=T.popups.create("table.edit",t);return T.events.$on(T.$wp,"scroll.table-edit",function(){T.popups.isVisible("table.edit")&&u()}),n}return!1}function h(){if(0
    '}s+="",a=0 table tbody"))):S(t.find("tr").not(t.find("> table tr")).get(r)),"below"==e?"TBODY"==a.attr("tagName")?a.prepend(s):a[0].parentNode&&a[0].insertAdjacentHTML("afterend",s):"above"==e&&(a.before(s),T.popups.isVisible("table.edit")&&u())}}function m(e,t,n){var r,a,o,i,s,l=0,c=w(n);if(e<(t=Math.min(t,c[0].length-1)))for(a=e;a<=t;a++)if(!(e table tr")).each(function(s,e){var t=S(e),l=0;t.find("> th, > td").each(function(e,t){for(var n=S(t),r=parseInt(n.attr("colspan"),10)||1,a=parseInt(n.attr("rowspan"),10)||1,o=s;o")),A=T.shared.$table_resizer,T.events.$on(A,"mousedown",function(e){return!T.core.sameInstance(A)||(0n-T.opts.tableResizerOffset?A.css("left",n-T.opts.tableResizerOffset-T.$wp.offset().left):r')),T.events.bindClick(T.shared.$ti_helper,"a",function(){var e=c.data("selected-cell"),t=c.data("position"),n=c.data("instance")||T;"before"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"after"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"above"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"below"==t&&(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()),H()}),T.events.on("shared.destroy",function(){T.shared.$ti_helper.html("").removeData().remove(),T.shared.$ti_helper=null},!0),T.events.$on(T.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),T.events.$on(S(T.o_win),"scroll",function(){H()},!0),T.events.$on(T.$wp,"scroll",function(){H()},!0)),c=T.shared.$ti_helper,T.events.on("destroy",function(){c=null}),T.tooltip.bind(T.$box,".fr-insert-helper > a.fr-floating-btn")}function Z(){r=null,clearTimeout(i)}function Q(){return T.el.querySelectorAll(".fr-selected-cell")}function J(){var e=Q();if(e.length){for(var t=e[0];t&&t.parentNode!=T.el;)t=t.parentNode;return t&&"TABLE"==t.tagName?S(t):S([])}return S([])}function ee(e){a=!1}return{_init:function te(){if(!T.$wp)return!1;if(!T.helpers.isMobile()){L=a=o=!1,T.events.$on(T.$el,"mousedown",e),T.popups.onShow("image.edit",function(){y(),a=o=!1}),T.popups.onShow("link.edit",function(){y(),a=o=!1}),T.events.on("commands.mousedown",function(e){0"),n==t.length-1&&S(t[n]).prepend(Mt.MARKERS);return T.selection.restore(),T.undo.saveStep(),!(t=[])}if(1',o=100/t;for(n=0;n",r=0;r",0===n&&0===r&&(a+=Mt.MARKERS),a+="
    ";a+=""}a+="",T.html.insert(a),T.selection.restore();var i=T.$el.find(".fr-inserted-table");i.removeClass("fr-inserted-table"),T.events.trigger("table.inserted",[i.get(0)])},remove:h,insertRow:g,deleteRow:function re(){var e=J();if(0=o.min_i;t--){for(r=S(e.find("tr").not(e.find("> table tr")).get(t)),n=0;n table tr")).get(t+1)).prepend(l):S(a[t+1][c-1])[0].parentNode&&S(a[t+1][c-1])[0].insertAdjacentElement("afterend",l)}}var d=r.parent();r.remove(),0===d.find("tr").length&&d.remove(),a=w(e)}C(0,a.length-1,0,a[0].length-1,e),0 table tr")).each(function(e){for(var t,n=S(this),r=0,a=0;r-1 th, > td").get(a))){t=null;break}t==d[e][r]?(r+=parseInt(S(t).attr("colspan"),10)||1,a++):(r+=parseInt(S(d[e][r]).attr("colspan"),10)||1,"after"==l&&(t=0===a?-1:n.find("> th, > td").get(a-1)))}var o,i=S(t);if("after"==l&&c
    '):'
    '),-1==t?n.prepend(o):null==t?n.append(o):"before"==l?i.before(o):"after"==l&&i[0].parentNode&&i[0].insertAdjacentHTML("afterend",o)}),e.find("th, td").each(function(){(n=S(this)).data("old-width")&&(n.css("width",(n.data("old-width")*p/f).toFixed(4)+"%"),n.removeData("old-width"))}),T.popups.isVisible("table.edit")&&u()}},deleteColumn:function oe(){var e=J();if(0o.max_j)&&(i+=r.outerWidth()/e.outerWidth()*100));for(i/=a.length,n=o.max_j;n>=o.min_j;n--)for(t=0;t th, > td").length&&(0===l.prev().length||0===l.next().length||l.prev().find("> th[rowspan], > td[rowspan]").length th, > td").length)&&l.remove()}C(0,a.length-1,0,a[0].length-1,e),0"!=(t=S(r[e])).html()&&""!==t.html()&&(s+="
    ".concat(t.html())),t.remove();a.html(s),T.selection.setAtEnd(a.get(0)),T.selection.restore(),T.toolbar.enable(),v(n.min_i,n.max_i,i);var c=i.find("tr:empty");for(e=c.length-1;0<=e;e--)S(c[e]).remove();m(n.min_j,n.max_j,i),u()}},splitCellVertically:function se(){if(1==Q().length){var e=T.$el.find(".fr-selected-cell"),t=parseInt(e.attr("colspan"),10)||1,n=e.parent().outerWidth(),r=e.outerWidth(),a=e.clone().html("
    "),o=w(),i=R(e.get(0),o);if(1");if(1 table tr")).get(l)).prepend(i):S(a[l][c])[0].parentNode&&S(a[l][c])[0].insertAdjacentElement("afterend",i[0])}else{var d,f=S(document.createElement("tr")).append(i);for(d=0;d td").each(function(){var e=S(this);r+=parseInt(e.attr("colspan"),10)||1}),t=0;t
    ";n+="",e.prepend(n),u()}},removeHeader:function de(){var e=J(),t=e.find("thead");if(0'+this.language.translate(t[n])+"");return e+=""},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),Mt.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),Mt.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var e='"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),Mt.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),Mt.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1').concat(this.language.translate(t[n]),""));return e+=""},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var n=this.$,r=this.$el.find(".fr-selected-cell").closest("table");r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Mt.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),Mt.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),Mt.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),Mt.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Mt.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),Mt.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),Mt.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),Mt.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),Mt.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),Mt.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),Mt.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),Mt.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),n=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(n(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),Mt.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),Mt.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var n=this.$,r=this.$el.find(".fr-selected-cell").first();r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Mt.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),Mt.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"}),Mt.URLRegEx="(^| |\\u00A0)(".concat(Mt.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),Mt.PLUGINS.url=function(i){var s=i.$,o=null;function t(e,t,n){for(var r="";n.length&&"."==n[n.length-1];)r+=".",n=n.substring(0,n.length-1);var a=n;if(i.opts.linkConvertEmailAddress)i.helpers.isEmail(a)&&!/^mailto:.*/i.test(a)&&(a="mailto:".concat(a));else if(i.helpers.isEmail(a))return t+n;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(a)||(a="//".concat(a)),(t||"")+"').concat(n.replace(/&/g,"&").replace(/&/g,"&").replace(//g,">"),"").concat(r)}var l=function l(){return new RegExp(Mt.URLRegEx,"gi")};function c(e){return i.opts.linkAlwaysNoFollow&&(o="nofollow"),i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(o?o+=" noopener":o="noopener"),i.opts.linkNoReferrer&&(o?o+=" noreferrer":o="noreferrer")),e.replace(l(),t)}function d(e){var t=e.split(" ");return t[t.length-1]}function n(){var e=i.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||"").length)return!1;if(function o(e){return!!e&&("A"===e.tagName||!(!e.parentNode||e.parentNode==i.el)&&o(e.parentNode))}(t))return!1;if(l().test(d(t.textContent))){s(t).before(c(t.textContent));var n=s(t.parentNode).find("a[data-fr-linked]");n.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),i.events.trigger("url.linked",[n.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var r=t.previousSibling.innerText+t.textContent;if(l().test(d(r))){var a=(new DOMParser).parseFromString(c(r),"text/html").body.childNodes;t.parentNode.replaceChild(a[0],t.previousSibling),a.length&&s(t).before(a[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){i.events.on("keypress",function(e){!i.selection.isCollapsed()||"."!=e.key&&")"!=e.key&&"("!=e.key||n()},!0),i.events.on("keydown",function(e){var t=e.which;!i.selection.isCollapsed()||t!=Mt.KEYCODE.ENTER&&t!=Mt.KEYCODE.SPACE||n()},!0),i.events.on("paste.beforeCleanup",function(e){if(i.helpers.isURL(e)){var t=null;return i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(t?t+=" noopener":t="noopener"),i.opts.linkNoReferrer&&(t?t+=" noreferrer":t="noreferrer")),"').concat(e,"")}})}}},Object.assign(Mt.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(Mt.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),Mt.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],Mt.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,Mt.PLUGINS.video=function(E){var s,d,f,y,r,n,T=E.$,A="https://i.froala.com/upload",p=2,u=3,h=4,L=5,S=6,a={};function g(){var e=E.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function o(){var e=E.popups.get("video.edit");if(e||(e=function i(){var e="";if(0 \n '.concat(E.button.buildList(E.opts.videoEditButtons)," \n ")},n=E.popups.create("video.edit",t);return E.events.$on(E.$wp,"scroll.video-edit",function(){y&&E.popups.isVisible("video.edit")&&(E.events.disableBlur(),C(y))}),n}return!1}()),e){E.popups.setContainer("video.edit",E.$sc),E.popups.refresh("video.edit");var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight(),a=t.get(0).src?t.get(0).src:null,o=!(!(a=(a=a.split("."))[a.length-1]).includes("pdf")&&!a.includes("txt"));t.hasClass("fr-file")||o||y.find("audio").get(0)?(document.getElementById("autoplay-".concat(E.id))&&(document.getElementById("autoplay-".concat(E.id)).style.display="none"),document.getElementById("videoReplace-".concat(E.id))&&(document.getElementById("videoReplace-".concat(E.id)).style.display="none")):(document.getElementById("autoplay-".concat(E.id)).style.display="",document.getElementById("videoReplace-".concat(E.id)).style.display=""),E.popups.show("video.edit",n,r,t.outerHeight(),!0)}}function i(e){if(e)return E.popups.onRefresh("video.insert",g),E.popups.onHide("video.insert",X),!0;var t="";E.opts.videoUpload||-1===E.opts.videoInsertButtons.indexOf("videoUpload")||E.opts.videoInsertButtons.splice(E.opts.videoInsertButtons.indexOf("videoUpload"),1);var n=E.button.buildList(E.opts.videoInsertButtons);""!==n&&(t='
    '+n+"
    ");var r,a="",o=E.opts.videoInsertButtons.indexOf("videoUpload"),i=E.opts.videoInsertButtons.indexOf("videoByURL"),s=E.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=i){r=" fr-active",(o
    ').concat('','
    ")}var l="";0<=s&&(r=" fr-active",(o
    "));var c="";0<=o&&(r=" fr-active",(s').concat(E.language.translate("Drop video"),"
    (").concat(E.language.translate("or click"),')
    '));var d={buttons:t,by_url_layer:a,embed_layer:l,upload_layer:c,progress_bar:'

    Uploading

    '},f=E.popups.create("video.insert",d);return function p(r){E.events.$on(r,"dragover dragenter",".fr-video-upload-layer",function(){return T(this).addClass("fr-drop"),!1},!0),E.events.$on(r,"dragleave dragend",".fr-video-upload-layer",function(){return T(this).removeClass("fr-drop"),!1},!0),E.events.$on(r,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),T(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||E;n.events.disableBlur(),n.video.upload(t.files),n.events.enableBlur()}},!0),E.helpers.isIOS()&&E.events.$on(r,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){T(this).trigger("click")},!0);E.events.$on(r,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||E;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}T(this).val("")},!0)}(f),f}function l(e){E.events.focus(!0),E.selection.restore();var t=!1;y&&(q(),t=!0),E.html.insert(''.concat(e,""),!1,E.opts.videoSplitHTML),E.popups.hide("video.insert");var n=E.$el.find(".fr-jiv");n.removeClass("fr-jiv"),n.toggleClass("fr-rv",E.opts.videoResponsive),Z(n,E.opts.videoDefaultDisplay,E.opts.videoDefaultAlign),n.toggleClass("fr-draggable",E.opts.videoMove),E.events.trigger(t?"video.replaced":"video.inserted",[n])}function m(){var e=T(this);E.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),C(e.parent()),E.events.trigger("video.loaded",[e.parent()])}function w(s,e,c,d,f){E.edit.off(),v("Loading video"),e&&(s=E.helpers.sanitizeURL(s));var p=function p(){var e,t;if(d){E.undo.canDo()||d.find("video").hasClass("fr-uploading")||E.undo.saveStep();var n=d.find("video").data("fr-old-src"),r=d.data("fr-replaced");d.data("fr-replaced",!1),E.$wp?((e=d.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&d.find("video").attr("src",n),d.replaceWith(e)):e=d;for(var a=e.find("video").get(0).attributes,o=0;o"+E.language.translate("Your browser does not support HTML5 video.")+"");i.toggleClass("fr-draggable",E.opts.videoMove),E.edit.on(),E.events.focus(!0),E.selection.restore(),E.undo.saveStep(),E.opts.videoSplitHTML?E.markers.split():E.markers.insert();E.html.wrap();var s=E.$el.find(".fr-marker");E.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent());s.replaceWith(i),E.selection.clear(),i.find("video").get(0).readyState>i.find("video").get(0).HAVE_FUTURE_DATA||E.helpers.isIOS()?n.call(i.find("video").get(0)):i.find("video").on("canplaythrough load",n);return i}(s,c,m),F(),E.undo.saveStep(),E.events.trigger("video.inserted",[e,f])};R("Loading video"),p()}function R(e){var t=E.popups.get("video.insert");if(t||(t=i()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),y){var n=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));E.popups.setContainer("video.insert",E.$sc);var r=n.offset().left,a=n.offset().top+n.height();E.popups.show("video.insert",r,a,n.outerHeight())}void 0===e&&v(E.language.translate("Uploading"),0)}function c(e){var t=E.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||E.$el.find("video.fr-error").length)){if(E.events.focus(),E.$el.find("video.fr-error").length&&(E.$el.find("video.fr-error").parent().remove(),E.undo.saveStep(),E.undo.run(),E.undo.dropRedo()),!E.$wp&&y){var n=y;P(!0),E.selection.setAfter(n.find("video").get(0)),E.selection.restore()}E.popups.hide("video.insert")}}function v(e,t){var n=E.popups.get("video.insert");if(n){var r=n.find(".fr-video-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function b(e){R();var t=E.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),E.events.disableBlur(),n.focus()}function C(e){t.call(e.get(0))}function _(e,t,n){v("Loading video");var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(E.opts.videoUploadToS3||E.opts.videoUploadToAzure)if(201==r){var s;if(E.opts.videoUploadToAzure){if(!1===E.events.trigger("video.uploadedToAzure",[this.responseURL,n,a],!0))return E.edit.on(),!1;s=t}else s=function c(e){try{var t=T(e).find("Location").text(),n=T(e).find("Key").text();return!1===E.events.trigger("video.uploadedToS3",[t,n,e],!0)?(E.edit.on(),!1):t}catch(r){return W(h,e),!1}}(o);s&&w(s,!1,[],e,a||o)}else W(h,a||o);else if(200<=r&&r<300){var l=function d(e){try{if(!1===E.events.trigger("video.uploaded",[e],!0))return E.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(W(p,e),!1)}catch(n){return W(h,e),!1}}(i);l&&w(l.link,!1,l,e,a||i)}else W(u,a||i)}catch(f){W(h,a||i)}}function x(){W(h,this.response||this.responseText||this.responseXML)}function M(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;v(E.language.translate("Uploading"),t)}}function O(){E.edit.on(),c(!0)}function k(e){if(!E.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;if("mousedown"==e.type){var r=E.$oel.get(0).ownerDocument,a=r.defaultView||r.parentWindow,o=!1;try{o=a.location!=a.parent.location&&!(a.$&&a.$.FE)}catch(i){}o&&a.frameElement&&(t+=E.helpers.getPX(T(a.frameElement).offset().left)+a.frameElement.clientLeft,n=e.clientY+E.helpers.getPX(T(a.frameElement).offset().top)+a.frameElement.clientTop)}E.undo.canDo()||E.undo.saveStep(),(d=T(this)).data("start-x",t),d.data("start-y",n),s.show(),E.popups.hideAll(),U()}function N(e){if(!E.core.sameInstance(f))return!0;if(d){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;var r=d.data("start-x"),a=d.data("start-y");d.data("start-x",t),d.data("start-y",n);var o=t-r,i=n-a,s=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),l=s.width(),c=s.height();(d.hasClass("fr-hnw")||d.hasClass("fr-hsw"))&&(o=0-o),(d.hasClass("fr-hnw")||d.hasClass("fr-hne"))&&(i=0-i),s.css("width",l+o),s.css("height",c+i),s.removeAttr("width"),s.removeAttr("height"),$()}}function I(e){if(!E.core.sameInstance(f))return!0;d&&y&&(e&&e.stopPropagation(),d=null,s.hide(),$(),o(),E.undo.saveStep())}function D(e){return'
    ')}function B(e,t,n,r){return e.pageX=t,e.pageY=t,k.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),e.pageY=e.pageY+n*Math.floor(Math.pow(1.1,r)),N.call(this,e),I.call(this,e),++r}function F(){var e,t=Array.prototype.slice.call(E.el.querySelectorAll("video, .fr-video > *")),n=[];for(e=0;eE.opts.videoMaxSize)return W(L),!1;if(E.opts.videoAllowedTypes.indexOf(n.type.replace(/video\//g,""))<0)return W(S),!1;if(E.drag_support.formdata&&(t=E.drag_support.formdata?new FormData:null),t){var r;if(!1!==E.opts.videoUploadToS3)for(r in t.append("key",E.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),E.opts.videoUploadToS3.params)E.opts.videoUploadToS3.params.hasOwnProperty(r)&&t.append(r,E.opts.videoUploadToS3.params[r]);for(r in E.opts.videoUploadParams)E.opts.videoUploadParams.hasOwnProperty(r)&&t.append(r,E.opts.videoUploadParams[r]);t.append(E.opts.videoUploadParam,n);var a,o,i=E.opts.videoUploadURL;E.opts.videoUploadToS3&&(i=E.opts.videoUploadToS3.uploadURL?E.opts.videoUploadToS3.uploadURL:"https://".concat(E.opts.videoUploadToS3.region,".amazonaws.com/").concat(E.opts.videoUploadToS3.bucket));var s=E.opts.videoUploadMethod;E.opts.videoUploadToAzure&&(i=E.opts.videoUploadToAzure.uploadURL?"".concat(E.opts.videoUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(E.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(E.opts.videoUploadToAzure.container,"/").concat(n.name)),a=i,E.opts.videoUploadToAzure.SASToken&&(i+=E.opts.videoUploadToAzure.SASToken),s="PUT");var l=E.core.getXHR(i,s);if(E.opts.videoUploadToAzure){var c=(new Date).toUTCString();if(!E.opts.videoUploadToAzure.SASToken&&E.opts.videoUploadToAzure.accessKey){var d=E.opts.videoUploadToAzure.account,f=E.opts.videoUploadToAzure.container;if(E.opts.videoUploadToAzure.uploadURL){var p=E.opts.videoUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+d+"/"+f+"/"+n.name),g=s+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+u+"\n"+h,m=E.cryptoJSPlugin.cryptoJS.HmacSHA256(g,E.cryptoJSPlugin.cryptoJS.enc.Base64.parse(E.opts.videoUploadToAzure.accessKey)).toString(E.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;o=m,l.setRequestHeader("Authorization",v)}for(r in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",n.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),E.opts.videoUploadParams)E.opts.videoUploadParams.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.videoUploadParams[r]);for(r in E.opts.videoUploadToAzure.params)E.opts.videoUploadToAzure.params.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.videoUploadToAzure.params[r])}l.onload=function(){_.call(l,y,a,o)},l.onerror=x,l.upload.onprogress=M,l.onabort=O,R(),E.events.disableBlur(),E.edit.off(),E.events.enableBlur();var b=E.popups.get("video.insert");b&&T(b.off("abortUpload")).on("abortUpload",function(){4!=l.readyState&&l.abort()}),l.send(E.opts.videoUploadToAzure?n:t)}}}function W(e,t){E.edit.on(),y&&y.find("video").addClass("fr-error"),b(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("video.error",[{code:e,message:a[e]},t])}function V(){if(y){var e=E.popups.get("video.size"),t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function G(e){if(e)return E.popups.onRefresh("video.size",V),!0;var t={buttons:'
    '.concat(E.button.buildList(E.opts.videoSizeButtons),"
    "),size_layer:'
    ")},n=E.popups.create("video.size",t);return E.events.$on(E.$wp,"scroll",function(){y&&E.popups.isVisible("video.size")&&(E.events.disableBlur(),C(y))}),n}function Y(e){if(void 0===e&&(e=y),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function j(e){void 0===e&&(e=y);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function q(){if(y&&!1!==E.events.trigger("video.beforeRemove",[y])){var e=y;E.popups.hideAll(),P(!0),E.selection.setBefore(e.get(0))||E.selection.setAfter(e.get(0)),e.remove(),E.selection.restore(),E.html.fillEmptyBlocks()}}function X(){c()}function Z(e,t,n){!E.opts.htmlUntouched&&E.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function Q(){var e=E.$el.find("video").filter(function(){return 0===T(this).parents("span.fr-video").length});if(0!=e.length){e.wrap(T(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),E.$el.find("embed, iframe").filter(function(){if(E.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0*").first().replaceWith(E.icon.create("video-align-".concat(Y())))},refreshAlignOnShow:function fe(e,t){y&&t.find('.fr-command[data-param1="'.concat(Y(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function pe(e){y.removeClass("fr-dvi fr-dvb"),!E.opts.htmlUntouched&&E.opts.useClasses?"inline"==e?y.addClass("fr-dvi"):"block"==e&&y.addClass("fr-dvb"):Z(y,e,Y()),ee(),$(),o(),E.selection.clear()},refreshDisplayOnShow:function ue(e,t){y&&t.find('.fr-command[data-param1="'.concat(j(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:q,hideProgressBar:c,showSizePopup:function he(){var e=E.popups.get("video.size");e||(e=G()),c(),E.popups.refresh("video.size"),E.popups.setContainer("video.size",E.$sc);var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.height();E.popups.show("video.size",n,r,t.height(),!0)},replace:function ge(){var e=E.popups.get("video.insert");e||(e=i()),E.popups.isVisible("video.insert")||(c(),E.popups.refresh("video.insert"),E.popups.setContainer("video.insert",E.$sc));var t=y.offset().left+y.outerWidth()/2,n=y.offset().top+y.height();E.popups.show("video.insert",t,n,y.outerHeight(),!0)},back:function e(){y?(E.events.disableBlur(),y[0].click()):(E.events.disableBlur(),E.selection.restore(),E.events.enableBlur(),E.popups.hide("video.insert"),E.toolbar.showInline())},setSize:function me(e,t){if(y){var n=E.popups.get("video.size"),r=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));r.css("width",e||n.find('input[name="width"]').val()),r.css("height",t||n.find('input[name="height"]').val()),r.get(0).style.width&&r.removeAttr("width"),r.get(0).style.height&&r.removeAttr("height"),n.find("input:focus").blur(),setTimeout(function(){y.trigger("click")},E.helpers.isAndroid()?50:0)}},get:function ve(){return y},showProgressBar:R,_editVideo:C,setAutoplay:function be(){var e;if(y.find("iframe, embed, audio").get(0))(e=y.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(J("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(J("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=y.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))J("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{J("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),"autoplay",e.get(0).outerHTML.slice(t)].join("")}}}},Mt.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),Mt.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),Mt.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),Mt.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),Mt.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),Mt.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),Mt.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),Mt.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),Mt.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),Mt.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),Mt.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),Mt.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),Mt.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),Mt.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),Mt.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),Mt.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),Mt.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),Mt.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),Mt.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),Mt.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),Mt.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),Mt.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),Mt.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),Mt.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),Mt.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),Mt.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),Mt.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Mt.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),Mt.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Object.assign(Mt.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),Mt.PLUGINS.wordPaste=function(y){var i,a,c=y.$,s="word_paste",p={};function t(e){var t=y.opts.wordAllowedStyleProps;e||(y.opts.wordAllowedStyleProps=[]),0===a.indexOf("")&&(a=""+a+"
    "),a=o(a=a.replace(/([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var n="",r=0;r++/gi,"")}function C(e,t){for(var n=document.createElement(t),r=0;r').remove()}}}}function m(e,t){var n=e.tagName,r=n.toLowerCase();e.firstElementChild&&("I"===e.firstElementChild.tagName?C(e.firstElementChild,"em"):"B"===e.firstElementChild.tagName&&C(e.firstElementChild,"strong"));if(-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(n))return T(e),!1;for(var a=["META","LINK","XML","ST1:","O:","W:","FONT"],o=0;o");for(var i=n.firstElementChild,s=1===n.children.length;i;)"P"!==i.tagName||M(i)||s&&A(i),i=i.nextElementSibling;if(t){var l=n.getAttribute("class");if(l){var c=(l=L(l)).match(/xl[0-9]+/gi);if(c){var d="."+c[0];t[d]&&S(n,t[d])}}t.td&&S(n,t.td)}var f=n.getAttribute("style");f&&(f=L(f))&&";"!==f.slice(-1)&&(f+=";");var p=n.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var h=null;if(f){var g=f.match(/text-align:.+?[; "]{1,1}/gi);g&&(h=g[g.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===h&&(h=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=n.getAttribute("colspan"),C=n.getAttribute("rowspan");b&&n.setAttribute("colspan",b),C&&n.setAttribute("rowspan",C),p&&(n.style["vertical-align"]=p),h&&(n.style["text-align"]=h),m&&(n.style["background-color"]=m),o&&n.setAttribute("width",o),n=n.nextElementSibling}for(n=e.firstElementChild;n;)o=n.getAttribute("width"),a?n.removeAttribute("width"):n.setAttribute("width",100*parseInt(o,10)/r+"%"),n=n.nextElementSibling}(e,t),"A"!==n||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==n&&e.getAttribute("href")&&e.querySelector("img"))for(var m=e.querySelectorAll("span"),v=0;v"),"TABLE"===n&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!==e.getAttribute("style").toLowerCase().indexOf("mso")){var b=L(e.getAttribute("style"));(b=b.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",b):e.removeAttribute("style")}return!0}function o(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function d(e){for(var t=e.split("v:shape"),n=1;n ul, ul > ol, ol > ul, ol > ol"),i=o.length-1;0<=i;i--)o[i].previousElementSibling&&"LI"===o[i].previousElementSibling.tagName&&o[i].previousElementSibling.appendChild(o[i]);u(a,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/
    (\n|\r)/gi,"
    "),!1;if(e.nodeType===Node.ELEMENT_NODE){if(M(e)){var t=e.parentNode,n=e.previousSibling,r=function x(e,t,n,r){var a,o,i=/[0-9a-zA-Z]./gi,s=!1,l=navigator.userAgent.toLowerCase();-1!=l.indexOf("safari")&&(l=-1':"<"+f+' style="margin-left:'+C+v+';">',"list-style-type: upper-alpha;"==p){var E=h.charCodeAt(0)-64;g=p?"<"+f+m+' start="'+E+'" style = "'+p+" margin-left:"+C+v+';">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var y=h.charCodeAt(0)-96;g=p?"<"+f+m+' start="'+y+'" style = "'+p+"margin-left:"+C+v+';">':"<"+f+">"}else g=p?"<"+f+m+' style = "'+p+";margin-left:"+C+v+';">':"<"+f+' style="margin-left:'+C+v+';">';else if("list-style-type: upper-alpha;"==p){var T=h.charCodeAt(0)-64;g=p?"<"+f+m+' style = "'+p+' start="'+T+'">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var A=h.charCodeAt(0)-96;g=p?"<"+f+m+' style = "'+p+' start="'+A+'">':"<"+f+">"}else g=p?"<"+f+m+' style = "'+p+'">':"<"+f+">";for(var L=!1;e;){if(!M(e)){if(e.outerHTML&&0"):(1==S&&(g+="",L=!0,o=null),g+=(d=x(e,t,S,e.style.marginLeft)).el.outerHTML,e=d.currentNode);var R=e&&e.nextElementSibling;if(R&&(o=R.previousElementSibling),e&&!M(e)){if(e.outerHTML&&0");var _=document.createElement("div");return _.innerHTML=g,{el:_,currentNode:e}}(e,s).el,a=null;return(a=n?n.nextSibling:t.firstChild)?t.insertBefore(r,a):t.appendChild(r),!1}return"FONT"===e.tagName&&s["."+e.getAttribute("class")]&&(e=C(e,"span")),m(e,s)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1",t=function a(){var e='
    ';return e+='

    '+y.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

    ",e+='
    ",e+="
    "}(),n=y.modals.create(s,e,t),r=n.$body;i=n.$modal,n.$modal.addClass("fr-middle"),y.events.bindClick(r,"button.fr-remove-word",function(){var e=i.data("instance")||y;e.wordPaste.clean()}),y.events.bindClick(r,"button.fr-keep-word",function(){var e=i.data("instance")||y;e.wordPaste.clean(!0)}),y.events.$on(c(y.o_win),"resize",function(){y.modals.resize(s)})}y.modals.show(s),y.modals.resize(s)}():t(y.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:o}},Mt}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FroalaEditor=t()}(this,function(){"use strict";function xt(e){return(xt="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)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-1")},closeTagString:function u(e){return"")},isFirstSibling:function h(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&t&&i.node.hasClass(n,"fr-marker");)n=n.previousSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&h(n)},isLastSibling:function g(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&t&&i.node.hasClass(n,"fr-marker");)n=n.nextSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&g(n)},isList:function m(e){return!!e&&0<=["UL","OL"].indexOf(e.tagName)},isLink:function v(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&"a"===e.tagName.toLowerCase()},isElement:r,contents:s,isVoid:function b(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=Mt.VOID_ELEMENTS.indexOf((e.tagName||"").toLowerCase())},hasFocus:function C(e){return e===i.doc.activeElement&&(!i.doc.hasFocus||i.doc.hasFocus())&&Boolean(r(e)||e.type||e.href||~e.tabIndex)},isEditable:function E(e){return(!e.getAttribute||"false"!==e.getAttribute("contenteditable"))&&["STYLE","SCRIPT"].indexOf(e.tagName)<0},isDeletable:function y(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=(e.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function T(e,t){return e instanceof n&&(e=e.get(0)),e&&e.classList&&e.classList.contains(t)},filter:function A(e){return i.browser.msie?e:{acceptNode:e}}}},Object.assign(Mt.DEFAULTS,{htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),Mt.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},Mt.MODULES.clean=function(f){var d,p,u,h,g=f.$;function a(e){if(e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=e.getAttribute("class").indexOf("fr-marker"))return!1;var t,n=f.node.contents(e),r=[];for(t=0;t/g,">"):e.textContent.replace(/&/g,"&").replace(//g,">").replace(/\u00A0/g," ").replace(/\u0009/g,"");if(e.nodeType!==Node.ELEMENT_NODE)return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(e.tagName))return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&"svg"===e.tagName){var n=document.createElement("div"),r=e.cloneNode(!0);return n.appendChild(r),n.innerHTML}if("IFRAME"===e.tagName)return e.outerHTML.replace(/</g,"<").replace(/>/g,">");var a=e.childNodes;if(0===a.length)return e.outerHTML;for(var o="",i=0;i)<[^<]*)*<\/script>/gi,function(e){return l.push(e),"[FROALA.EDITOR.SCRIPT ".concat(l.length-1,"]")})).replace(/)<[^<]*)*<\/noscript>/gi,function(e){return l.push(e),"[FROALA.EDITOR.NOSCRIPT ".concat(l.length-1,"]")})).replace(/"),r=g(n);if(r&&r.length){var a=v(r.html(),E);r.html(a),n=r.get(0).outerHTML}return n})).replace(/":t;var o=c(f.html.extractNodeAttrs(n,"head")),i=c(f.html.extractNodeAttrs(n,"body"));return"".concat(r,"").concat(t,"").concat(e,"")}return e}(r,a,e))}function C(e){var t=f.doc.createElement("DIV");return t.innerText=e,t.textContent}function E(e){for(var t=f.node.contents(e),n=0;n"))}(i),i.nodeType===Node.ELEMENT_NODE&&(i.getAttribute("data-fr-src")&&0!==i.getAttribute("data-fr-src").indexOf("blob:")&&i.setAttribute("data-fr-src",f.helpers.sanitizeURL(C(i.getAttribute("data-fr-src")))),i.getAttribute("href")&&i.setAttribute("href",f.helpers.sanitizeURL(C(i.getAttribute("href")))),i.getAttribute("src")&&i.setAttribute("src",f.helpers.sanitizeURL(C(i.getAttribute("src")))),i.getAttribute("srcdoc")&&i.setAttribute("srcdoc",f.clean.html(i.getAttribute("srcdoc"))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(i.tagName)&&(i.innerHTML=i.innerHTML.trim())),!f.opts.pasteAllowLocalImages&&i.nodeType===Node.ELEMENT_NODE&&"IMG"===i.tagName&&i.getAttribute("data-fr-src")&&0===i.getAttribute("data-fr-src").indexOf("file://"))return i.parentNode.removeChild(i),!1;if(i.nodeType===Node.ELEMENT_NODE&&Mt.HTML5Map[i.tagName]&&""===f.node.attributes(i)){var e=Mt.HTML5Map[i.tagName],t="<".concat(e,">").concat(i.innerHTML,"");i.insertAdjacentHTML("beforebegin",t),(i=i.previousSibling).parentNode.removeChild(i.nextSibling)}if(f.opts.htmlAllowComments||i.nodeType!==Node.COMMENT_NODE)if(i.tagName&&i.tagName.match(p))"STYLE"==i.tagName&&f.helpers.isMac()&&function(){var e,n=i.innerHTML.trim(),r=[],t=/{([^}]+)}/g;for(n=n.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*|$/,"");e=t.exec(n);)r.push(e[1]);for(var a=function a(t){var e=n.substring(0,n.indexOf("{")).trim();0==!/^[a-z_-][a-z\d_-]*$/i.test(e)&&i.parentNode.querySelectorAll(e).forEach(function(e){e.removeAttribute("class"),e.setAttribute("style",r[t])}),n=n.substring(n.indexOf("}")+1)},o=0;-1!=n.indexOf("{");o++)a(o)}(),i.parentNode.removeChild(i);else if(i.tagName&&!i.tagName.match(d))"svg"===i.tagName?i.parentNode.removeChild(i):f.browser.safari&&"path"===i.tagName&&i.parentNode&&"svg"===i.parentNode.tagName||(i.outerHTML=i.innerHTML);else{var n=i.attributes;if(n)for(var r=n.length-1;0<=r;r--){var a=n[r],o=a.nodeName.match(u),s=null;"style"===a.nodeName&&f.opts.htmlAllowedStyleProps.length&&(s=a.value.match(h)),o&&s?a.value=m(s.join(";")):o&&("style"!==a.nodeName||s)||i.removeAttribute(a.nodeName)}}else 0!==i.data.indexOf("[FROALA.EDITOR")&&i.parentNode.removeChild(i)}(e)}return{_init:function e(){f.opts.fullPage&&g.merge(f.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function y(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=!1);var a,o=g.merge([],f.opts.htmlAllowedTags);for(a=0;a").concat(e[n].innerHTML,""));t&&f.selection.restore()}},tables:function t(){!function s(){for(var e=f.el.querySelectorAll("tr"),t=0;t ul, ol > ol, ul > ol, ol > ul"),t=0;t"))}}(),function c(){for(var e=f.el.querySelectorAll("li > ul, li > ol"),t=0;t ul, li > ol"),t=0;t");else if(n.previousSibling&&"BR"===n.previousSibling.tagName){for(var r=n.previousSibling.previousSibling;r&&f.node.hasClass(r,"fr-marker");)r=r.previousSibling;r&&"BR"!==r.tagName&&g(n.previousSibling).remove()}}}(),function n(){for(var e=f.el.querySelectorAll("li:empty"),t=0;t/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),new RegExp("^".concat(Mt.LinkRegExHTTP).concat(Mt.LinkRegExEnd,"$"),"gi").test(e))},getAlignment:function T(e){e.css||(e=s(e));var t=(e.css("text-align")||"").replace(/-(.*)-/g,"");if(["left","right","justify","center"].indexOf(t)<0){if(!i){var n=s('
    ..
    '));s("body").first().append(n);var r=n.find("#s1").get(0).getBoundingClientRect().left,a=n.find("#s2").get(0).getBoundingClientRect().left;n.remove(),i=r=(window.innerHeight||document.documentElement.clientHeight)}}},Mt.MODULES.events=function(l){var e,o=l.$,i={};function s(e,t,n){m(e,t,n)}function c(e){if(void 0===e&&(e=!0),!l.$wp)return!1;if(l.helpers.isIOS()&&l.$win.get(0).focus(),l.core.hasFocus())return!1;if(l.selection.isCollapsed()&&""===l.html.get()&&l.html.set(Mt.MARKERS),!l.core.hasFocus()&&e){var t=l.$win.scrollTop();if(l.browser.msie&&l.$box&&l.$box.css("position","fixed"),l.browser.msie&&l.$wp&&l.$wp.css("overflow","visible"),l.browser.msie&&l.$sc&&l.$sc.css("position","fixed"),0==l.browser.msie&&(p(),l.el.focus(),l.events.trigger("focus"),f()),l.browser.msie&&l.$sc&&l.$sc.css("position",""),l.browser.msie&&l.$box&&l.$box.css("position",""),l.browser.msie&&l.$wp&&l.$wp.css("overflow","auto"),t!==l.$win.scrollTop()&&l.$win.scrollTop(t),!l.selection.info(l.el).atStart)return!1}if(!l.core.hasFocus()||0").concat(e,"")),e}var o={bold:function(){e("bold","strong")},subscript:function(){i.format.is("sup")&&i.format.remove("sup"),e("subscript","sub")},superscript:function(){i.format.is("sub")&&i.format.remove("sub"),e("superscript","sup")},italic:function(){e("italic","em")},strikeThrough:function(){e("strikeThrough","s")},underline:function(){e("underline","u")},undo:function(){i.undo.run()},redo:function(){i.undo.redo()},indent:function(){r(1)},outdent:function(){r(-1)},show:function(){i.opts.toolbarInline&&i.toolbar.showInline(null,!0)},insertHR:function(){i.selection.remove();var e="";i.core.isEmpty()&&(e=a(e="
    ")),i.html.insert('
    '.concat(e));var t,n=i.$el.find("hr#fr-just").length?i.$el.find("hr#fr-just"):i.$el.find(".fr-just");if(n.removeAttr("id"),n.removeAttr("class"),0===n.next().length){var r=i.html.defaultTag();r?n.after(s(i.doc.createElement(r)).append("
    ").get(0)):n.after("
    ")}n.prev().is("hr")?t=i.selection.setAfter(n.get(0),!1):n.next().is("hr")?t=i.selection.setBefore(n.get(0),!1):i.selection.setAfter(n.get(0),!1)||i.selection.setBefore(n.get(0),!1),t||void 0===t||(e=a(e="".concat(Mt.MARKERS,"
    ")),n.after(e)),i.selection.restore()},clearFormatting:function(){i.format.remove()},selectAll:function(){i.doc.execCommand("selectAll",!1,!1)},moreText:function(e){t(e)},moreParagraph:function(e){t(e)},moreRich:function(e){t(e)},moreMisc:function(e){t(e)}};function t(e){!function n(e){var t=i.$tb.find('.fr-more-toolbar[data-name="'.concat(e.attr("data-group-name"),'"]'));i.$tb.find(".fr-open").not(e).removeClass("fr-open"),e.toggleClass("fr-open"),i.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),i.$tb.find(".fr-expanded").not(t).length?(i.$tb.find(".fr-expanded").toggleClass("fr-expanded"),t.toggleClass("fr-expanded")):(t.toggleClass("fr-expanded"),i.$box.toggleClass("fr-toolbar-open"),i.$tb.toggleClass("fr-toolbar-open"))}(i.$tb.find("[data-cmd=".concat(e,"]"))),i.toolbar.setMoreToolbarsHeight()}function n(e,t){if(!1!==i.events.trigger("commands.before",s.merge([e],t||[]))){var n=Mt.COMMANDS[e]&&Mt.COMMANDS[e].callback||o[e],r=!0,a=!1;Mt.COMMANDS[e]&&("undefined"!=typeof Mt.COMMANDS[e].focus&&(r=Mt.COMMANDS[e].focus),"undefined"!=typeof Mt.COMMANDS[e].accessibilityFocus&&(a=Mt.COMMANDS[e].accessibilityFocus)),(!i.core.hasFocus()&&r&&!i.popups.areVisible()||!i.core.hasFocus()&&a&&i.accessibility.hasFocus())&&i.events.focus(!0),Mt.COMMANDS[e]&&!1!==Mt.COMMANDS[e].undo&&(i.$el.find(".fr-marker").length&&(i.events.disableBlur(),i.selection.restore()),i.undo.saveStep()),n&&n.apply(i,s.merge([e],t||[])),i.events.trigger("commands.after",s.merge([e],t||[])),Mt.COMMANDS[e]&&!1!==Mt.COMMANDS[e].undo&&i.undo.saveStep()}}function e(e,t){i.format.toggle(t)}function r(e){i.selection.save(),i.html.wrap(!0,!0,!0,!0),i.selection.restore();for(var t=i.selection.blocks(),n=0;n").concat(Mt.MARKERS,"
    ").concat(i):o?"".concat(s,"<").concat(o,">").concat(Mt.MARKERS,"
    ").concat(i):"".concat(s+Mt.MARKERS,"
    ").concat(i);["UL","OL"].indexOf(l.tagName)<0||l.parentNode&&"LI"===l.parentNode.tagName;)l=l.parentNode;m(n).replaceWith('');var d=g.node.openTagString(l)+m(l).html()+g.node.closeTagString(l);d=d.replace(/<\/span>/g,c),m(l).replaceWith(d),g.$el.find("li:empty").remove()}else if(a&&r||!g.node.isEmpty(n,!0)){for(var f="
    ",p=e.parentNode;p&&"LI"!==p.tagName;)f=g.node.openTagString(p)+f+g.node.closeTagString(p),p=p.parentNode;m(n).before("
  • ".concat(f,"
  • ")),m(e).remove()}else if(a){t=b(n);for(var u="".concat(Mt.MARKERS,"
    "),h=e.parentNode;h&&"LI"!==h.tagName;)u=g.node.openTagString(h)+u+g.node.closeTagString(h),h=h.parentNode;t.parentNode&&"LI"===t.parentNode.tagName?m(t.parentNode).after("
  • ".concat(u,"
  • ")):o?m(t).after("<".concat(o,">").concat(u,"")):m(t).after(u),m(n).remove()}else(t=b(n)).parentNode&&"LI"===t.parentNode.tagName?r?m(t.parentNode).before("".concat(g.node.openTagString(n)+Mt.MARKERS,"
    ")):m(t.parentNode).after("".concat(g.node.openTagString(n)+Mt.MARKERS,"
    ")):o?m(t).before("<".concat(o,">").concat(Mt.MARKERS,"
    ")):m(t).before("".concat(Mt.MARKERS,"
    ")),m(n).remove()},_middleEnter:function c(e){for(var t=v(e),n="",r=e,a="",o="",i=!1;r!==t;){var s="A"===(r=r.parentNode).tagName&&g.cursor.isAtEnd(e,r)?"fr-to-remove":"";i||r==t||g.node.isBlock(r)||(i=!0,a+=Mt.INVISIBLE_SPACE),a=g.node.openTagString(m(r).clone().addClass(s).get(0))+a,o=g.node.closeTagString(r)+o}n=o+n+a+Mt.MARKERS+(g.opts.keepFormatOnDelete?Mt.INVISIBLE_SPACE:""),m(e).replaceWith('');var l=g.node.openTagString(t)+m(t).html()+g.node.closeTagString(t);l=l.replace(/<\/span>/g,n),m(t).replaceWith(l)},_endEnter:function l(e){for(var t=v(e),n=Mt.MARKERS,r="",a=e,o=!1;a!==t;)if(!(a=a.parentNode).classList.contains("fr-img-space-wrap")&&!a.classList.contains("fr-img-space-wrap2")){var i="A"===a.tagName&&g.cursor.isAtEnd(e,a)?"fr-to-remove":"";o||a===t||g.node.isBlock(a)||(o=!0,r+=Mt.INVISIBLE_SPACE),r=g.node.openTagString(m(a).clone().addClass(i).get(0))+r,n+=g.node.closeTagString(a)}var s=r+n;m(e).remove(),m(t).after(s)},_backspace:function d(e){var t=v(e),n=t.previousSibling;if(n){n=m(n).find(g.html.blockTagsQuery()).get(-1)||n,m(e).replaceWith(Mt.MARKERS);var r=g.node.contents(n);r.length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))});for(var a,o=g.node.contents(t)[0];o&&!g.node.isList(o);)a=o.nextSibling,m(n).append(o),o=a;for(n=t.previousSibling;o;)a=o.nextSibling,m(n).append(o),o=a;1<(r=g.node.contents(n)).length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).remove()}else{var i=b(t);if(m(e).replaceWith(Mt.MARKERS),i.parentNode&&"LI"===i.parentNode.tagName){var s=i.previousSibling;g.node.isBlock(s)?(m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))}),m(s).append(m(t).html())):m(i).before(m(t).html())}else{var l=g.html.defaultTag();l&&0===m(t).find(g.html.blockTagsQuery()).length?m(i).before("<".concat(l,">").concat(m(t).html(),"")):m(i).before(m(t).html())}m(t).remove(),g.html.wrap(),0===m(i).find("li").length&&m(i).remove()}},_del:function f(e){var t,n=v(e),r=n.nextSibling;if(r){(t=g.node.contents(r)).length&&"BR"===t[0].tagName&&m(t[0]).remove(),m(r).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===r&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"
    "))});for(var a,o=e,i=g.node.contents(r)[0];i&&!g.node.isList(i);)a=i.nextSibling,m(o).after(i),o=i,i=a;for(;i;)a=i.nextSibling,m(n).append(i),i=a;m(e).replaceWith(Mt.MARKERS),m(r).remove()}else{for(var s=n;!s.nextSibling&&s!==g.el;)s=s.parentNode;if(s===g.el)return!1;if(s=s.nextSibling,g.node.isBlock(s))Mt.NO_DELETE_TAGS.indexOf(s.tagName)<0&&(m(e).replaceWith(Mt.MARKERS),(t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(n).append(m(s).html()),m(s).remove());else{for((t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(e).replaceWith(Mt.MARKERS);s&&!g.node.isBlock(s)&&"BR"!==s.tagName;)m(n).append(m(s)),s=s.nextSibling;m(s).remove()}}}}},Mt.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],Mt.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],Mt.MODULES.cursor=function(h){var g=h.$;function d(e){return!!e&&(!!h.node.isBlock(e)||(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?d(e.nextSibling):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&d(e.parentNode)))}function f(e){return!!e&&(!!h.node.isBlock(e)||(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?f(e.previousSibling):!e.previousSibling&&(!(e.previousSibling||!h.node.hasClass(e.parentNode,"fr-inner"))||f(e.parentNode))))}function u(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?u(e.previousSibling,t):!e.previousSibling&&(e.parentNode===t||u(e.parentNode,t))))}function m(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?m(e.nextSibling,t):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&(e.parentNode===t||m(e.parentNode,t))))}function p(e){return 0=h.opts.tabSpaces)0===o.substr(o.length-h.opts.tabSpaces,o.length-1).replace(/ /g,"").replace(new RegExp(Mt.UNICODE_NBSP,"g"),"").length&&(i=o.length-h.opts.tabSpaces+1);n.textContent=o.substring(0,i-v(o)),h.opts.htmlUntouched&&!e.nextSibling&&n.textContent.length&&" "===n.textContent[n.textContent.length-1]&&(n.textContent=n.textContent.substring(0,n.textContent.length-1)+Mt.UNICODE_NBSP);var s=o.length!==n.textContent.length;if(0===n.textContent.length)if(s&&h.opts.keepFormatOnDelete)g(n).after(Mt.INVISIBLE_SPACE+Mt.MARKERS);else if(0!==o.length&&h.node.isBlock(n.parentNode))g(n).after(Mt.MARKERS);else if((2!=n.parentNode.childNodes.length||n.parentNode!=e.parentNode)&&1!=n.parentNode.childNodes.length||h.node.isBlock(n.parentNode)||h.node.isElement(n.parentNode)||!h.node.isDeletable(n.parentNode)){for(var l,c=n;!h.node.isElement(n.parentNode)&&h.node.isEmpty(n.parentNode)&&Mt.NO_DELETE_TAGS.indexOf(n.parentNode.tagName)<0;)if("A"===(n=n.parentNode).tagName){var d=n.childNodes[0];for(g(n).before(d),l=!0;0");var f=n.parentNode;n.parentNode.removeChild(n),h.node.isEmpty(f)&&g(f).html(Mt.INVISIBLE_SPACE+Mt.MARKERS)}else g(n.parentNode).after(Mt.MARKERS),g(n.parentNode).remove();else g(n).after(Mt.MARKERS)}else h.node.isDeletable(n)?(g(n).after(Mt.MARKERS),g(n).remove()):e.nextSibling&&"BR"===e.nextSibling.tagName&&h.node.isVoid(n)&&"BR"!==n.tagName?(g(e.nextSibling).remove(),g(e).replaceWith(Mt.MARKERS)):!1!==h.events.trigger("node.remove",[g(n)])&&(g(n).after(Mt.MARKERS),g(n).remove())}else if(Mt.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(Mt.MARKERS),g(n).remove();else if(h.node.isEmpty(n)&&!h.node.isList(n))g(n).remove(),g(e).replaceWith(Mt.MARKERS);else{for(h.node.isList(n)&&(n=g(n).find("li").last().get(0)),(t=h.node.contents(n))&&"BR"===t[t.length-1].tagName&&g(t[t.length-1]).remove(),t=h.node.contents(n);t&&h.node.isBlock(t[t.length-1]);)n=t[t.length-1],t=h.node.contents(n);g(n).append(Mt.MARKERS);for(var p=e;!p.previousSibling;)p=p.parentNode;for(;p&&"BR"!==p.tagName&&!h.node.isBlock(p);){var u=p;p=p.nextSibling,g(n).append(u)}p&&"BR"===p.tagName&&g(p).remove(),g(e).remove()}else e.nextSibling&&"BR"===e.nextSibling.tagName&&g(e.nextSibling).remove();return!0}function o(e){var t=0"))}),g(n).append(h.node.contents(i.get(0))),i.remove(),0===g(o).find("li").length&&g(o).remove())}else{if((a=h.node.contents(o)).length&&"BR"===a[0].tagName&&g(a[0]).remove(),"BLOCKQUOTE"!==o.tagName&&"BLOCKQUOTE"===n.tagName)for(a=h.node.contents(n);a.length&&h.node.isBlock(a[a.length-1]);)n=a[a.length-1],a=h.node.contents(n);else if("BLOCKQUOTE"===o.tagName&&"BLOCKQUOTE"!==n.tagName)for(a=h.node.contents(o);a.length&&h.node.isBlock(a[0]);)o=a[0],a=h.node.contents(o);g(e).replaceWith(Mt.MARKERS),g(n).append(o.innerHTML),g(o).remove()}else{for(g(e).replaceWith(Mt.MARKERS);o&&"BR"!==o.tagName&&!h.node.isBlock(o)&&h.node.isEditable(o);){var s=o;o=o.nextSibling,g(n).append(s)}o&&"BR"===o.tagName&&h.node.isEditable(o)&&g(o).remove()}}}function n(e){for(var t,n=e;!n.nextSibling;)if(n=n.parentNode,h.node.isElement(n))return!1;if("BR"===(n=n.nextSibling).tagName&&h.node.isEditable(n))if(n.nextSibling){if(h.node.isBlock(n.nextSibling)&&h.node.isEditable(n.nextSibling)){if(!(Mt.NO_DELETE_TAGS.indexOf(n.nextSibling.tagName)<0))return void g(n).remove();n=n.nextSibling,g(n.previousSibling).remove()}}else if(d(n)){if(p(e))h.cursorLists._del(e);else h.node.deepestParent(n)&&((!h.node.isEmpty(h.node.blockParent(n))||(h.node.blockParent(n).nextSibling&&Mt.NO_DELETE_TAGS.indexOf(h.node.blockParent(n).nextSibling.tagName))<0)&&g(n).remove(),o(e));return}if(!h.node.isBlock(n)&&h.node.isEditable(n)){for(t=h.node.contents(n);n.nodeType!==Node.TEXT_NODE&&t.length&&!h.node.isDeletable(n)&&h.node.isEditable(n);)n=t[0],t=h.node.contents(n);n.nodeType===Node.TEXT_NODE?(g(n).before(Mt.MARKERS),n.textContent.length&&(n.textContent=n.textContent.substring(v(n.textContent,!0),n.textContent.length))):h.node.isDeletable(n)?(g(n).before(Mt.MARKERS),g(n).remove()):!1!==h.events.trigger("node.remove",[g(n)])&&(g(n).before(Mt.MARKERS),g(n).remove()),g(e).remove()}else if(Mt.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(Mt.MARKERS),g(n).remove();else if(h.node.isList(n))e.previousSibling?(g(n).find("li").first().prepend(e),h.cursorLists._backspace(e)):(g(n).find("li").first().prepend(Mt.MARKERS),g(e).remove());else if((t=h.node.contents(n))&&"BR"===t[0].tagName&&g(t[0]).remove(),t&&"BLOCKQUOTE"===n.tagName){var r=t[0];for(g(e).before(Mt.MARKERS);r&&"BR"!==r.tagName;){var a=r;r=r.nextSibling,g(e).before(a)}r&&"BR"===r.tagName&&g(r).remove()}else g(e).after(g(n).html()).after(Mt.MARKERS),g(n).remove()}function i(){for(var e=h.el.querySelectorAll("blockquote:empty"),t=0;t"+Mt.MARKERS):r?g(a).after("<".concat(r,">").concat(Mt.MARKERS,"
    ")):g(a).after("".concat(Mt.MARKERS,"
    ")),g(e).remove()):E(e,t,n),!1;if(null===a)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith("<".concat(r,">").concat(Mt.MARKERS,"
    ")):!e.previousSibling||g(e.previousSibling).is("br")||e.nextSibling?g(e).replaceWith("
    ".concat(Mt.MARKERS)):g(e).replaceWith("
    ".concat(Mt.MARKERS,"
    "));else{var o=e,i="";"PRE"!=a.tagName||e.nextSibling||(t=!0),h.node.isBlock(a)&&!t||(i="
    ");var s,l="",c="",d="",f="";(r=h.html.defaultTag())&&h.node.isBlock(a)&&(d="<".concat(r,">"),f=""),a.tagName===r.toUpperCase()&&(d=h.node.openTagString(g(a).clone().removeAttr("id").get(0))));do{if(o=o.parentNode,!t||o!==a||t&&!h.node.isBlock(a))if(l+=h.node.closeTagString(o),o===a&&h.node.isBlock(a))c=d+c;else{var p=("A"===o.tagName||h.node.hasClass(o,"fa"))&&m(e,o)?"fr-to-remove":"";c=h.node.openTagString(g(o).clone().addClass(p).get(0))+c}}while(o!==a);i=l+i+c+(e.parentNode===a&&h.node.isBlock(a)?"":Mt.INVISIBLE_SPACE)+Mt.MARKERS,h.node.isBlock(a)&&!g(a).find("*").last().is("br")&&g(a).append("
    "),g(e).after(''),g(e).remove(),a.nextSibling&&!h.node.isBlock(a.nextSibling)||h.node.isBlock(a)||g(a).after("
    "),s=(s=!t&&h.node.isBlock(a)?h.node.openTagString(a)+g(a).html()+f:h.node.openTagString(a)+g(a).html()+h.node.closeTagString(a)).replace(/<\/span>/g,i),g(a).replaceWith(s)}}function E(e,t,n){var r=h.node.deepestParent(e,[],!n);if(null===r)h.html.defaultTag()&&e.parentNode===h.el?g(e).replaceWith("<".concat(h.html.defaultTag(),">").concat(Mt.MARKERS,"
    ")):(e.nextSibling&&!h.node.isBlock(e.nextSibling)||g(e).after("
    "),g(e).replaceWith("
    ".concat(Mt.MARKERS)));else if(e.previousSibling&&"IMG"==e.previousSibling.tagName||e.nextSibling&&"IMG"==e.nextSibling.tagName)g(e).replaceWith("<"+h.html.defaultTag()+">"+Mt.MARKERS+"
    ");else{var a=e,o="";"PRE"===r.tagName&&(t=!0),h.node.isBlock(r)&&!t||(o="
    ");var i="",s="";do{var l=a;if(a=a.parentNode,"BLOCKQUOTE"===r.tagName&&h.node.isEmpty(l)&&!h.node.hasClass(l,"fr-marker")&&g(l).contains(e)&&g(l).after(e),"BLOCKQUOTE"!==r.tagName||!m(e,a)&&!u(e,a))if(!t||a!==r||t&&!h.node.isBlock(r)){i+=h.node.closeTagString(a);var c="A"==a.tagName&&m(e,a)||h.node.hasClass(a,"fa")?"fr-to-remove":"";s=h.node.openTagString(g(a).clone().addClass(c).removeAttr("id").get(0))+s}else"BLOCKQUOTE"==r.tagName&&t&&(s=i="")}while(a!==r);var d=r===e.parentNode&&h.node.isBlock(r)||e.nextSibling;if("BLOCKQUOTE"===r.tagName)if(e.previousSibling&&h.node.isBlock(e.previousSibling)&&e.nextSibling&&"BR"===e.nextSibling.tagName&&(g(e.nextSibling).after(e),e.nextSibling&&"BR"===e.nextSibling.tagName&&g(e.nextSibling).remove()),t)o=i+o+Mt.MARKERS+s;else{var f=h.html.defaultTag();o="".concat(i+o+(f?"<".concat(f,">"):"")+Mt.MARKERS,"
    ").concat(f?""):"").concat(s)}else o=i+o+s+(d?"":Mt.INVISIBLE_SPACE)+Mt.MARKERS;g(e).replaceWith('');var p=h.node.openTagString(r)+g(r).html()+h.node.closeTagString(r);p=p.replace(/<\/span>/g,o),g(r).replaceWith(p)}}return{enter:function y(e){var t=h.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!h.node.isElement(n);){if("false"===n.getAttribute("contenteditable"))return g(t).replaceWith(Mt.MARKERS),h.selection.restore(),!1;if("true"===n.getAttribute("contenteditable"))break;n=n.parentNode}h.el.normalize();var r=!1;0").concat(Mt.MARKERS,"
    ")):g(a).before("".concat(Mt.MARKERS,"
    ")),g(e).remove(),!1}else m(e,a)?C(e,t,!0):E(e,t,!0);if(null===a)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith("<".concat(r,">").concat(Mt.MARKERS,"
    ")):g(e).replaceWith("
    ".concat(Mt.MARKERS));else{if(r=h.html.defaultTag(),h.node.isBlock(a))if("PRE"===a.tagName&&(t=!0),t)g(e).remove(),g(a).prepend("
    ".concat(Mt.MARKERS));else if(e.nextSibling&&"IMG"==e.nextSibling.tagName||e.nextSibling&&e.nextSibling.nextElementSibling&&"IMG"==e.nextSibling.nextElementSibling)g(e).replaceWith("<"+h.html.defaultTag()+">"+Mt.MARKERS+"
    ");else{if(h.node.isEmpty(a,!0))return C(e,t,n);if(h.opts.keepFormatOnDelete||"DIV"===a.tagName||"div"===h.html.defaultTag())if(!h.opts.keepFormatOnDelete&&"DIV"===a.tagName||"div"===h.html.defaultTag())g(a).before("<"+h.html.defaultTag()+">
    ");else{for(var o=e,i=Mt.INVISIBLE_SPACE;o!==a&&!h.node.isElement(o);)o=o.parentNode,i=h.node.openTagString(o)+i+h.node.closeTagString(o);g(a).before(i)}else g(a).before("".concat(h.node.openTagString(g(a).clone().removeAttr("id").get(0)),"
    ").concat(h.node.closeTagString(a)))}else g(a).before("
    ");g(e).remove()}}(t,e,r):h.cursorLists._startEnter(t):!p(t)||e||r?E(t,e,r):h.cursorLists._middleEnter(t),function c(){h.$el.find(".fr-to-remove").each(function(){for(var e=h.node.contents(this),t=0;ta){var o=h.helpers.scrollTop(),i=h.selection.blocks();if(i&&0 div").first(),C=b.find("> a"),"rtl"===f.opts.direction&&b.css("left","auto").css("right",0).attr("direction","rtl"),e++}function m(e){for(var t=[w("9qqG-7amjlwq=="),w("KA3B3C2A6D1D5H5H1A3=="),w("3B9B3B5F3C4G3E3=="),w("QzbzvxyB2yA-9m=="),w("ji1kacwmgG5bc=="),w("nmA-13aogi1A3c1jd=="),w("BA9ggq=="),w("emznbjbH3fij=="),w("tkC-22d1qC-13sD1wzF-7=="),w("tA3jjf=="),w("1D1brkm==")],n=0;nthis.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}function v(){var e=w(p(n)),t=w(p("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==")).split(".");try{return window.parent.document.querySelector(e)&&window[t[1]][t[2]]}catch(e){return!1}}var b,C,E=f.$,y="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",T="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",n="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",A="lC4B3A3B2B5A1C2E4G1A2==",L="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10uLH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",S=function(){for(var e=0,t=document.domain,n=t.split("."),r="_gd".concat((new Date).getTime());e")}(e)),L.selection.restore()}else{var r;L.selection.save(),m(L.$el.find('.fr-marker[data-type="true"]').length&&L.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling,e,t);do{for(r=L.$el.find("".concat(w(e,t)," > ").concat(w(e,t))),n=0;n
    '),o=l.html().replace(/<\/span>/,i+L.node.closeTagString(l.get(0))+s+c+i+L.node.openTagString(l.get(0))+s),l.replaceWith(L.node.openTagString(l.get(0))+o+L.node.closeTagString(l.get(0))),!0}return!1}function r(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=L.selection.isCollapsed();L.selection.save();for(var r=!0;r;){r=!1;for(var a=L.$el.find(".fr-marker"),o=0;o')){if(L.node.isEmpty(l.get(0)))s=S(L.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat(Mt.INVISIBLE_SPACE).concat(Mt.MARKERS)),l.replaceWith(s);else{var c={};c["style*"]="".concat(e,":"),_(r,"span",c,!0),r=L.$el.find(".fr-marker"),t?(s=S(L.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat(Mt.INVISIBLE_SPACE).concat(Mt.MARKERS)),r.replaceWith(s)):r.replaceWith(Mt.INVISIBLE_SPACE+Mt.MARKERS)}L.html.cleanEmptyTags()}else L.node.isEmpty(l.get(0))&&l.is("span")?(r.replaceWith(Mt.MARKERS),l.css(e,t)):(s=S('').concat(Mt.INVISIBLE_SPACE).concat(Mt.MARKERS,"")),r.replaceWith(s));s&&v(s,e,t)}else{if(L.selection.save(),null===t||"color"===e&&0").concat(c);e.replaceWith('');var h=i.get(0).outerHTML;S(i.get(0)).replaceWith(h.replace(/<\/span>/g,function(){return u}))}}function a(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=L.selection.ranges(0),r=n.startContainer;if(r.nodeType===Node.ELEMENT_NODE&&0"),Mt.END_MARKER='"),Mt.MARKERS=Mt.START_MARKER+Mt.END_MARKER,Mt.MODULES.markers=function(d){var f=d.$;function l(){if(!d.$wp)return null;try{var e=d.selection.ranges(0),t=e.commonAncestorContainer;if(t!==d.el&&!d.$el.contains(t))return null;var n=e.cloneRange(),r=e.cloneRange();n.collapse(!0);var a=f(d.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(Mt.INVISIBLE_SPACE).get(0);if(n.insertNode(a),a=d.$el.find("span.fr-marker").get(0)){for(var o=a.nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)f(o).remove(),o=d.$el.find("span.fr-marker").get(0).nextSibling;return d.selection.clear(),d.selection.get().addRange(r),a}return null}catch(i){}}function c(){d.$el.find(".fr-marker").remove()}return{place:function p(e,t,n){var r,a,o;try{var i=e.cloneRange();if(i.collapse(t),i.insertNode(function l(e,t){var n=f(d.doc.createElement("SPAN"));return n.addClass("fr-marker").attr("data-id",t).attr("data-type",e).attr("style","display: ".concat(d.browser.safari?"none":"inline-block","; line-height: 0;")).html(Mt.INVISIBLE_SPACE),n.get(0)}(t,n)),!0===t)for(o=(r=d.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(n,'"]')).get(0)).nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)f(o).remove(),o=r.nextSibling;if(!0===t&&!e.collapsed){for(;!d.node.isElement(r.parentNode)&&!o;)-1'):f(t).append('');else if(d.cursor.isAtStart(e,t))f(t).before(''),f(e).remove();else if(d.cursor.isAtEnd(e,t))f(t).after(''),f(e).remove();else{for(var n=e,r="",a="";n=n.parentNode,r+=d.node.closeTagString(n),a=d.node.openTagString(n)+a,n!==t;);f(e).replaceWith('');var o=d.node.openTagString(t)+f(t).html()+d.node.closeTagString(t);o=o.replace(/<\/span>/g,"".concat(r,'').concat(a)),f(t).replaceWith(o)}return d.$el.find(".fr-marker").get(0)},insertAtPoint:function u(e){var t,n=e.clientX,r=e.clientY;c();var a=null;if("undefined"!=typeof d.doc.caretPositionFromPoint?(t=d.doc.caretPositionFromPoint(n,r),(a=d.doc.createRange()).setStart(t.offsetNode,t.offset),a.setEnd(t.offsetNode,t.offset)):"undefined"!=typeof d.doc.caretRangeFromPoint&&(t=d.doc.caretRangeFromPoint(n,r),(a=d.doc.createRange()).setStart(t.startContainer,t.startOffset),a.setEnd(t.startContainer,t.startOffset)),null!==a&&"undefined"!=typeof d.win.getSelection){var o=d.win.getSelection();o.removeAllRanges(),o.addRange(a)}else if("undefined"!=typeof d.doc.body.createTextRange)try{(a=d.doc.body.createTextRange()).moveToPoint(n,r);var i=a.duplicate();i.moveToPoint(n,r),a.setEndPoint("EndToEnd",i),a.select()}catch(s){return!1}l()},remove:c}},Mt.MODULES.selection=function(y){var T=y.$;function s(){var e="";return y.win.getSelection?e=y.win.getSelection():y.doc.getSelection?e=y.doc.getSelection():y.doc.selection&&(e=y.doc.selection.createRange().text),e.toString()}function E(){return y.win.getSelection?y.win.getSelection():y.doc.getSelection?y.doc.getSelection():y.doc.selection.createRange()}function f(e){var t=E(),n=[];if(t&&t.getRangeAt&&t.rangeCount){n=[];for(var r=0;r'.concat(t[e].innerHTML));var n=!1,r=a(y.el);for(r.atStart&&r.atEnd&&(n=!0),t=y.el.querySelectorAll(".fr-mk"),e=0;e"):T(a).find(".fr-inner").filter(x).html("
    "):(T(a).empty(),T(a).attr("data-del-cell",!0)):0"),y.spaces.normalize());var v=y.$el.find(".fr-marker").last().get(0),b=y.$el.find(".fr-marker").first().get(0);void 0!==v&&void 0!==b&&!v.nextSibling&&b.previousSibling&&"BR"===b.previousSibling.tagName&&y.node.isElement(v.parentNode)&&y.node.isElement(b.parentNode)&&y.$el.append("
    "),S()},blocks:function h(e){var t,n,r=[],a=E();if(u()&&a.rangeCount){var o=f();for(t=0;t"))}function t(){f.$wp.removeClass("show-placeholder")}function n(){if(!f.$wp)return!1;f.core.isEmpty()?e():t()}return{_init:function r(){if(!f.$wp)return!1;f.events.on("init input keydown keyup contentChanged initialized",n)},show:e,hide:t,refresh:n,isVisible:function a(){return!f.$wp||f.node.hasClass(f.$wp.get(0),"show-placeholder")}}},Mt.UNICODE_NBSP=String.fromCharCode(160),Mt.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],Mt.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign(Mt.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line","hr"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),Mt.MODULES.html=function(x){var h=x.$;function d(){return x.opts.enter===Mt.ENTER_P?"p":x.opts.enter===Mt.ENTER_DIV?"div":x.opts.enter===Mt.ENTER_BR?null:void 0}function s(e,t){return!(!e||e===x.el)&&(t?-1!=["PRE","SCRIPT","STYLE"].indexOf(e.tagName)||s(e.parentNode,t):-1!==["PRE","SCRIPT","STYLE"].indexOf(e.tagName))}function o(e){var t,n=[],r=[];if(e){var a=x.el.querySelectorAll(".fr-marker");for(t=0;t";return t&&(n="")),n}function c(e){var t=e.parentNode;if(t&&(x.node.isBlock(t)||x.node.isElement(t))&&["TD","TH"].indexOf(t.tagName)<0){for(var n=e.previousSibling,r=e.nextSibling;n&&(n.nodeType===Node.TEXT_NODE&&0===n.textContent.replace(/\n|\r/g,"").length||x.node.hasClass(n,"fr-tmp"));)n=n.previousSibling;if(r)return!1;n&&t&&"BR"!==n.tagName&&!x.node.isBlock(n)&&!r&&0").concat(Mt.MARKERS,"
    ")),x.selection.restore()):x.$el.html("<".concat(d(),">
    "))):x.el.querySelector("*:not(.fr-marker):not(br)")||(x.core.hasFocus()?(x.$el.html("".concat(Mt.MARKERS,"
    ")),x.selection.restore()):x.$el.html("
    ")))}function m(e,t){return r(e,"<".concat(t,"[^>]*?>([\\w\\W]*)"),1)}function v(e,t){var n=h("
    ]*?)>"),1)||"",">"));return x.node.rawAttributes(n.get(0))}function b(e){return(r(e,"]*?)>",0)||"").replace(/\n/g," ").replace(/ {2,}/g," ")}function C(e,t){x.opts.htmlExecuteScripts?e.html(t):e.get(0).innerHTML=t}function O(e){var t;(t=/:not\(([^)]*)\)/g).test(e)&&(e=e.replace(t," $1 "));var n=100*(e.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\[[^]]+\])/g)||[]).length+10*(e.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(e.match(/(:[^\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;return n+=((e=(e=e.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}function k(e){if(x.events.trigger("html.processGet",[e]),e&&e.getAttribute&&""===e.getAttribute("class")&&e.removeAttribute("class"),e&&e.getAttribute&&""===e.getAttribute("style")&&e.removeAttribute("style"),e&&e.nodeType===Node.ELEMENT_NODE){var t,n=e.querySelectorAll('[class=""],[style=""]');for(t=0;t")}},cleanEmptyTags:e,cleanWhiteTags:u,cleanBlankSpaces:n,blocks:function A(){return x.$el.get(0).querySelectorAll(p())},getDoctype:M,set:function L(e){var t=x.clean.html((e||"").trim(),[],[],x.opts.fullPage),n=new RegExp("%3A//","g"),r=t.replace(n,"://");if(x.opts.fullPage){var a=m(r,"body")||(0<=r.indexOf("",s=v(r,"head"),l=h("
    ");l.append(i).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var c=l.html().trim();i=h("
    ").append(i).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var d=b(r),f=v(r,"html");C(x.$el,"".concat(c,"\n").concat(a)),x.node.clearAttributes(x.el),x.$el.attr(o),x.$el.addClass("fr-view"),x.$el.attr("spellcheck",x.opts.spellcheck),x.$el.attr("dir",x.opts.direction),C(x.$head,i),x.node.clearAttributes(x.$head.get(0)),x.$head.attr(s),x.node.clearAttributes(x.$html.get(0)),x.$html.attr(f),x.iframe_document.doctype.parentNode.replaceChild(function u(e,t){var n=e.match(//i);return n?t.implementation.createDocumentType(n[1],n[3],n[4]):t.implementation.createDocumentType("html")}(d,x.iframe_document),x.iframe_document.doctype)}else C(x.$el,r);var p=x.edit.isDisabled();x.edit.on(),x.core.injectStyle(x.opts.iframeDefaultStyle+x.opts.iframeStyle),g(),x.opts.useClasses||(x.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")}),x.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")})),p&&x.edit.off(),x.events.trigger("html.set"),x.events.trigger("charCounter.update")},syncInputs:I,get:function D(e,t){if(!x.$wp)return x.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var n="";x.events.trigger("html.beforeGet");var r,a,o=[],i={},s=[];if(I(),!x.opts.useClasses&&!t){var l=new RegExp("^".concat(x.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(r=0;r=i[h[a]][b]&&(i[h[a]][b]=g,m[v].trim().length))){var C=m[v].trim().split(":");C.splice(0,1),s.push([h[a],b.trim(),C.join(":").trim(),g])}}}}}for(s.sort(N),r=0;r").concat(x.$html.find("head").get(0).outerHTML,""));else if(void 0===e&&(e=!1),x.opts.fullPage){n=M(x.iframe_document),x.$el.removeClass("fr-view");var L=x.opts.heightMin,S=x.opts.height,w=x.opts.heightMax;x.opts.heightMin=null,x.opts.height=null,x.opts.heightMax=null,x.size.refresh(),n+="").concat(x.$html.html(),""),x.opts.heightMin=L,x.opts.height=S,x.opts.heightMax=w,x.size.refresh(),x.$el.addClass("fr-view")}else n=x.$el.html();if(!x.opts.useClasses&&!t)for(r=0;r(?:[\w\W]*?)<\/style>/g,"")).replace(/]*)data-fr-style="true"([^>]*)>/g,"")).replace(/(?:[\w\W]*?)<\/style>/g,"")).replace(/((?:[\w\W]*?))<\/body>/g,"$3")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,"$4")).replace(/((?:[\w\W]*?))<\/body>/g,'$6')).replace(/((?:[\w\W]*?))<\/body>/g,"$3")),x.opts.htmlSimpleAmpersand&&(n=n.replace(/&/gi,"&")),x.events.trigger("html.afterGet"),e||(n=n.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),n=x.clean.invisibleSpaces(n),n=x.clean.exec(n,k);var R=x.events.chainTrigger("html.get",n);return"string"==typeof R&&(n=R),n=(n=n.replace(/(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/
    /g,"\n")})).replace(/ ".concat(x.html.defaultTag())),r=n.length-1;0<=r;r--){var a=n[r];x.node.isBlock(a.previousSibling)||(a.previousSibling&&!x.node.isEmpty(a)&&h("
    ").insertAfter(a.previousSibling),a.outerHTML=a.innerHTML)}return t.innerHTML}(r)),!(a=x.markers.split()))return!1;a.outerHTML=r}else a.outerHTML=r}else x.el.innerHTML+=r}g(),x.keys.positionCaret(),x.events.trigger("html.inserted")},wrap:t,unwrap:function R(){x.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&h(this).before("
    "),h(this).attr("data-empty")||!this.nextSibling||x.node.isBlock(this.nextSibling)&&!h(this.nextSibling).hasClass("fr-temp-div")?h(this).replaceWith(h(this).html()):h(this).replaceWith("".concat(h(this).html(),"
    "))}),x.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return""===h(this).attr("class")}).removeAttr("class")},escapeEntities:function _(e){return e.replace(//gi,">").replace(/"/gi,""").replace(/'/gi,"'")},checkIfEmpty:a,extractNode:m,extractNodeAttrs:v,extractDoctype:b,cleanBRs:function B(){for(var e=x.el.getElementsByTagName("br"),t=0;t").concat(Mt.MARKERS,"
    ")):d.$el.html("".concat(Mt.MARKERS,"
    ")),d.selection.restore(),d.placeholder.refresh(),d.button.bulkRefresh(),d.undo.saveStep()},0)}function o(){p=!1}function i(){p=!1}function g(){var e=d.html.defaultTag();e?d.$el.html("<".concat(e,">").concat(Mt.MARKERS,"
    ")):d.$el.html("".concat(Mt.MARKERS,"
    ")),d.selection.restore()}function m(e,t){if((-1/g,"")).length<1?e.parentElement.insertAdjacentHTML("afterbegin"," "):" "!=n&&" "!=n&&"Backspace"==t.key?u(t):" "!=n&&" "!=n&&"Delete"==t.key&&h(t),!0}if(a(e).is("p")){var r=e.innerHTML.replace(/
    /g,"");return r.length<1?e.insertAdjacentHTML("afterbegin"," "):" "!=r&&" "!=r&&"Backspace"==t.key?u(t):" "!=r&&" "!=r&&"Delete"==t.key&&h(t),!0}}return!1}function s(e){var t=d.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&b(e.which))return!0;d.events.disableBlur();var n=e.which;if(16===n)return!0;if((f=n)===Mt.KEYCODE.IME)return p=!0;p=!1;var r=C(n)&&!v(e)&&!e.altKey,a=n===Mt.KEYCODE.BACKSPACE||n===Mt.KEYCODE.DELETE;if((d.selection.isFull()&&!d.opts.keepFormatOnDelete&&!d.placeholder.isVisible()||a&&d.placeholder.isVisible()&&d.opts.keepFormatOnDelete)&&(r||a)&&(g(),!C(n)))return e.preventDefault(),!0;if(n===Mt.KEYCODE.ENTER)e.shiftKey||t.classList.contains("fr-inner")||t.parentElement.classList.contains("fr-inner")?function o(e){e.preventDefault(),e.stopPropagation(),d.opts.multiLine&&(d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter(!0))}(e):function i(e){d.opts.multiLine?(d.helpers.isIOS()||(e.preventDefault(),e.stopPropagation()),d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter()):(e.preventDefault(),e.stopPropagation())}(e);else if(n===Mt.KEYCODE.BACKSPACE&&(e.metaKey||e.ctrlKey))!function s(){setTimeout(function(){d.events.disableBlur(),d.events.focus()},0)}();else if(n!==Mt.KEYCODE.BACKSPACE||v(e)||e.altKey)if(n!==Mt.KEYCODE.DELETE||v(e)||e.altKey||e.shiftKey)n===Mt.KEYCODE.SPACE?function l(e){var t=d.selection.element();if(!d.helpers.isMobile()&&t&&"A"===t.tagName){e.preventDefault(),e.stopPropagation(),d.selection.isCollapsed()||d.selection.remove();var n=d.markers.insert();if(n){var r=n.previousSibling;!n.nextSibling&&n.parentNode&&"A"===n.parentNode.tagName?(n.parentNode.insertAdjacentHTML("afterend"," ".concat(Mt.MARKERS)),n.parentNode.removeChild(n)):(r&&r.nodeType===Node.TEXT_NODE&&1===r.textContent.length&&160===r.textContent.charCodeAt(0)?r.textContent+=" ":n.insertAdjacentHTML("beforebegin"," "),n.outerHTML=Mt.MARKERS),d.selection.restore()}}}(e):n===Mt.KEYCODE.TAB?function c(e){if(0d.$wp.offset().top-d.helpers.scrollTop()+d.$wp.height()-20&&d.$wp.scrollTop(e+d.$wp.scrollTop()-(d.$wp.height()+d.$wp.offset().top)+d.helpers.scrollTop()+20)):(e=d.position.getBoundingRect().top,d.opts.toolbarBottom&&(e+=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),(e+=d.opts.toolbarStickyOffset)>d.o_win.innerHeight-20&&a(d.o_win).scrollTop(e+d.helpers.scrollTop()-d.o_win.innerHeight+20),e=d.position.getBoundingRect().top,d.opts.toolbarBottom||(e-=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),e<100&&a(d.o_win).scrollTop(e+d.helpers.scrollTop()-100))}function c(e){var t=d.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&0===e.which&&f&&(e.which=f),d.helpers.isAndroid()&&d.browser.mozilla)return!0;if(p)return!1;if(e&&d.helpers.isIOS()&&e.which===Mt.KEYCODE.ENTER&&d.doc.execCommand("undo"),!d.selection.isCollapsed())return!0;if(e&&(e.which===Mt.KEYCODE.META||e.which===Mt.KEYCODE.CTRL))return!0;if(e&&b(e.which))return!0;if(e&&!d.helpers.isIOS()&&(e.which===Mt.KEYCODE.ENTER||e.which===Mt.KEYCODE.BACKSPACE||37<=e.which&&e.which<=40&&!d.browser.msie))try{l()}catch(r){}var n=d.selection.element();(function a(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(t)&&0=Mt.KEYCODE.ARROW_LEFT&&e<=Mt.KEYCODE.ARROW_DOWN)return!0}function C(e){if(e>=Mt.KEYCODE.ZERO&&e<=Mt.KEYCODE.NINE)return!0;if(e>=Mt.KEYCODE.NUM_ZERO&&e<=Mt.KEYCODE.NUM_MULTIPLY)return!0;if(e>=Mt.KEYCODE.A&&e<=Mt.KEYCODE.Z)return!0;if(d.browser.webkit&&0===e)return!0;switch(e){case Mt.KEYCODE.SPACE:case Mt.KEYCODE.QUESTION_MARK:case Mt.KEYCODE.NUM_PLUS:case Mt.KEYCODE.NUM_MINUS:case Mt.KEYCODE.NUM_PERIOD:case Mt.KEYCODE.NUM_DIVISION:case Mt.KEYCODE.SEMICOLON:case Mt.KEYCODE.FF_SEMICOLON:case Mt.KEYCODE.DASH:case Mt.KEYCODE.EQUALS:case Mt.KEYCODE.FF_EQUALS:case Mt.KEYCODE.COMMA:case Mt.KEYCODE.PERIOD:case Mt.KEYCODE.SLASH:case Mt.KEYCODE.APOSTROPHE:case Mt.KEYCODE.SINGLE_QUOTE:case Mt.KEYCODE.OPEN_SQUARE_BRACKET:case Mt.KEYCODE.BACKSLASH:case Mt.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function E(e){var t=e.which;if(v(e)||37<=t&&t<=40||!C(t)&&t!==Mt.KEYCODE.DELETE&&t!==Mt.KEYCODE.BACKSPACE&&t!==Mt.KEYCODE.ENTER&&t!==Mt.KEYCODE.IME)return!0;n||(r=d.snapshot.get(),d.undo.canDo()||d.undo.saveStep()),clearTimeout(n),n=setTimeout(function(){n=null,d.undo.saveStep()},Math.max(250,d.opts.typingTimer))}function y(e){var t=e.which;if(v(e)||37<=t&&t<=40)return!0;r&&n?(d.undo.saveStep(r),r=null):void 0!==t&&0!==t||r||n||d.undo.saveStep()}function T(e){if(e&&"BR"===e.tagName)return!1;try{return 0===(e.textContent||"").length&&e.querySelector&&!e.querySelector(":scope > br")||e.childNodes&&1===e.childNodes.length&&e.childNodes[0].getAttribute&&("false"===e.childNodes[0].getAttribute("contenteditable")||d.node.hasClass(e.childNodes[0],"fr-img-caption"))}catch(t){return!1}}function A(e){var t=d.el.childNodes,n=d.html.defaultTag(),r=d.node.blockParent(d.selection.blocks()[0]);return r&&"TR"==r.tagName&&r.getAttribute("contenteditable")==undefined&&(r=r.closest("table")),!d.node.isEditable(e.target)||r&&"false"===r.getAttribute("contenteditable")?d.toolbar.disable():d.toolbar.enable(),!(!e.target||e.target===d.el)||(0===t.length||void(t[0].offsetHeight+t[0].offsetTop<=e.offsetY?T(t[t.length-1])&&(n?d.$el.append("<".concat(n,">").concat(Mt.MARKERS,"
    ")):d.$el.append("".concat(Mt.MARKERS,"
    ")),d.selection.restore(),l()):e.offsetY<=10&&T(t[0])&&(n?d.$el.prepend("<".concat(n,">").concat(Mt.MARKERS,"
    ")):d.$el.prepend("".concat(Mt.MARKERS,"
    ")),d.selection.restore(),l())))}function L(){n&&clearTimeout(n)}return{_init:function S(){d.events.on("keydown",E),d.events.on("input",e),d.events.on("mousedown",i),d.events.on("keyup input",y),d.events.on("keypress",o),d.events.on("keydown",s),d.events.on("keyup",c),d.events.on("destroy",L),d.events.on("html.inserted",c),d.events.on("cut",t),d.opts.multiLine&&d.events.on("click",A)},ctrlKey:v,isCharacter:C,isArrow:b,forceUndo:function w(){n&&(clearTimeout(n),d.undo.saveStep(),r=null)},isIME:function R(){return p},isBrowserAction:function _(e){var t=e.which;return v(e)||t===Mt.KEYCODE.F5},positionCaret:l}},Object.assign(Mt.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1}),Mt.MODULES.paste=function(w){var i,s,R,o,_,x=w.$;function n(e,t){try{w.win.localStorage.setItem("fr-copied-html",e),w.win.localStorage.setItem("fr-copied-text",t)}catch(n){}}function e(e){var t=w.html.getSelected();n(t,x(w.doc.createElement("div")).html(t).text()),"cut"===e.type&&(w.undo.saveStep(),setTimeout(function(){w.selection.save(),w.html.wrap(),w.selection.restore(),w.events.focus(),w.undo.saveStep()},0))}var l=!1;function t(e){if("INPUT"===e.target.nodeName&&"text"===e.target.type)return!0;if(w.edit.isDisabled())return!1;if(c(e.target))return!1;if(l)return!1;if(e.originalEvent&&(e=e.originalEvent),!1===w.events.trigger("paste.before",[e]))return e.preventDefault(),!1;if(e&&e.clipboardData&&e.clipboardData.getData){var t="",n=e.clipboardData.types;if(w.helpers.isArray(n))for(var r=0;r
    '),w.browser.webkit||w.browser.mozilla?(o.css("top",w.$sc.scrollTop()),w.$el.after(o)):w.browser.edge&&w.opts.iframe?w.$el.append(o):w.$box.after(o),w.events.on("destroy",function(){o.remove()}));var e;w.helpers.isIOS()&&w.$sc&&(e=w.$sc.scrollTop());w.opts.iframe&&w.$el.attr("contenteditable","false");o.focus(),w.helpers.isIOS()&&w.$sc&&w.$sc.scrollTop(e);w.win.setTimeout(d,1)}(),!1}function c(e){return e&&"false"===e.contentEditable}function r(e){if(e.originalEvent&&(e=e.originalEvent),c(e.target))return!1;if(e&&e.dataTransfer&&e.dataTransfer.getData){var t="",n=e.dataTransfer.types;if(w.helpers.isArray(n))for(var r=0;r")),""!==i){w.keys.forceUndo(),_=w.snapshot.get(),w.selection.save(),w.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var a=w.markers.insertAtPoint(e);if(w.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),w.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),w.selection.restore(),w.selection.remove(),w.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==a){var o=w.el.querySelector(".fr-marker");return x(o).replaceWith(Mt.MARKERS),w.selection.restore(),d(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1}}else i=null}}function d(){w.opts.iframe&&w.$el.attr("contenteditable","true"),w.browser.edge&&w.opts.iframe&&w.$box.after(o),_||(w.keys.forceUndo(),_=w.snapshot.get()),i||(i=o.get(0).innerHTML,R=o.text(),w.selection.restore(),w.events.enableBlur());var e=i.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),t=w.events.chainTrigger("paste.beforeCleanup",i);t&&"string"==typeof t&&(i=t),(!e||e&&!1!==w.events.trigger("paste.wordPaste",[i]))&&a(i,e)}function M(e){for(var t="",n=0;n++]*(]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),e=(e=(e=i+e.replace(/[.\s\S\w\W<>]*]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/ \n/g,"
    ")})).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var s=!1;0<=e.indexOf('id="docs-internal-guid')&&(e=e.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),s=!0),0<=e.indexOf('content="Sheets"')&&(e=e.replace(/width:0px;/g,""));var l=!1;if(!t)if((l=function y(){var e=null;try{e=w.win.localStorage.getItem("fr-copied-text")}catch(t){}return!(!e||!R||R.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==e.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")&&R.replace(/\s/g,"")!==e.replace(/\s/g,""))}())&&(e=w.win.localStorage.getItem("fr-copied-html")),l)e=w.clean.html(e,w.opts.pasteDeniedTags,w.opts.pasteDeniedAttrs);else{var c=w.opts.htmlAllowedStyleProps;w.opts.htmlAllowedStyleProps=w.opts.pasteAllowedStyleProps,w.opts.htmlAllowComments=!1,e=(e=(e=e.replace(/\s*<\/span>/g,M(w.opts.tabSpaces||4))).replace(/(\t*)<\/span>/g,function(e,t){return M(t.length*(w.opts.tabSpaces||4))})).replace(/\t/g,M(w.opts.tabSpaces||4)),e=w.clean.html(e,w.opts.pasteDeniedTags,w.opts.pasteDeniedAttrs),w.opts.htmlAllowedStyleProps=c,w.opts.htmlAllowComments=!0,e=(e=(e=O(e)).replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!t||w.wordPaste&&n||(0===(e=e.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("")&&(e="".concat(e,"
    ")),e=O(e=function T(e){var t;e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/([\s\S]*?)<\/p>/gi,"
    • $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
    1. $3
    ")).replace(/([\s\S]*?)<\/p>/gi,"
      $5")).replace(/([\s\S]*?)<\/p>/gi,"
        $5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)<\/p>/gi,"$5
    ")).replace(/([\s\S]*?)<\/p>/gi,"$5")).replace(/([\s\S]*?)([\s\S]*?)/gi,"")).replace(/([\s\S]*?)/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(//gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>/gi,"");var n,r=["style","script","applet","embed","noframes","noscript"];for(t=0;t"),"gi");e=e.replace(a,"")}for(e=(e=(e=e.replace(/ /gi," ")).replace(/]*)><\/td>/g,"
    ")).replace(/]*)><\/th>/g,"
    ");(e=(n=e).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==n;);e=(e=e.replace(/]*)>/gi,'
  • ')).replace(/]*)>/gi,""),e=(e=(e=w.clean.html(e,w.opts.pasteDeniedTags,w.opts.pasteDeniedAttrs)).replace(/(.[^<]+)<\/a>/gi,"$1")).replace(/
    */g,"
    ");var o=w.o_doc.createElement("div");o.innerHTML=e;var i=o.querySelectorAll("li[data-indent]");for(t=0;t ul, :scope > ol");c||(c=document.createElement("ul"),l.appendChild(c)),c.appendChild(s)}else s.removeAttribute("data-indent")}return w.html.cleanBlankSpaces(o),e=o.innerHTML}(e))),w.opts.pastePlain&&!l&&(e=function A(e){var t,n=null,r=w.doc.createElement("div");r.innerHTML=e;var a=r.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(t=0;t").concat(n.innerText,"");for(t=(a=r.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=t;t--)(n=a[t]).outerHTML=n.innerHTML;return function o(e){for(var t=w.node.contents(e),n=0;n")?(w.html.cleanBlankSpaces(f),w.spaces.normalize(f,!0)):w.spaces.normalize(f);var p=f.getElementsByTagName("span");for(r=p.length-1;0<=r;r--){var u=p[r];0===u.attributes.length&&(u.outerHTML=u.innerHTML)}if(!0===w.opts.linkAlwaysBlank){var h=f.getElementsByTagName("a");for(r=h.length-1;0<=r;r--){var g=h[r];g.getAttribute("target")||g.setAttribute("target","_blank")}}var m=w.selection.element(),v=!1;if(m&&x(m).parentsUntil(w.el,"ul, ol").length&&(v=!0),v){var b=f.children;1===b.length&&0<=["OL","UL"].indexOf(b[0].tagName)&&(b[0].outerHTML=b[0].innerHTML)}if(!s){var C=f.getElementsByTagName("br");for(r=C.length-1;0<=r;r--){var E=C[r];w.node.isBlock(E.previousSibling)&&E.parentNode.removeChild(E)}}if(w.opts.enter===Mt.ENTER_BR)for(r=(a=f.querySelectorAll("p, div")).length-1;0<=r;r--)0===(o=a[r]).attributes.length&&(o.outerHTML=o.innerHTML+(o.nextSibling&&!w.node.isEmpty(o)?"
    ":""));else if(w.opts.enter===Mt.ENTER_DIV)for(r=(a=f.getElementsByTagName("p")).length-1;0<=r;r--)0===(o=a[r]).attributes.length&&(o.outerHTML="
    ".concat(o.innerHTML,"
    "));else w.opts.enter===Mt.ENTER_P&&1===f.childNodes.length&&"P"===f.childNodes[0].tagName&&0===f.childNodes[0].attributes.length&&(f.childNodes[0].outerHTML=f.childNodes[0].innerHTML);e=f.innerHTML,l&&(e=function L(e){var t,n=w.o_doc.createElement("div");n.innerHTML=e;var r=n.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(Mt.VOID_ELEMENTS.join("):not("),"):not(").concat(w.opts.htmlAllowedEmptyTags.join("):not("),")"));for(;r.length;){for(t=0;t div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));r.length;){var a=r[r.length-1];if(w.html.defaultTag()&&"div"!==w.html.defaultTag())a.querySelector(w.html.blockTagsQuery())?a.outerHTML=a.innerHTML:a.outerHTML="<".concat(w.html.defaultTag(),">").concat(a.innerHTML,"");else{var o=a.querySelectorAll("*");!o.length||"BR"!==o[o.length-1].tagName&&0===a.innerText.length?a.outerHTML=a.innerHTML+(a.nextSibling?"
    ":""):!o.length||"BR"!==o[o.length-1].tagName||o[o.length-1].nextSibling?a.outerHTML=a.innerHTML+(a.nextSibling?"
    ":""):a.outerHTML=a.innerHTML}r=f(Array.prototype.slice.call(n.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(r=f(Array.prototype.slice.call(n.querySelectorAll("div:not([style])")));r.length;){for(t=0;tn.undo_index;)n.undo_stack.pop()}function a(){n.undo_index=0,n.undo_stack=[]}function o(){n.undo_stack=[]}return{_init:function i(){a(),n.events.on("initialized",function(){t=(n.$wp?n.$el.html():n.$oel.get(0).outerHTML).replace(/ style=""/g,"")}),n.events.on("blur",function(){n.el.querySelector(".fr-dragging")||n.undo.saveStep()}),n.events.on("keydown",e),n.events.on("destroy",o)},run:function s(){if(1'.concat(e,""));for(var t=0;t'));n.get(0).addEventListener("load",i.size.syncIframe),i.$head.append(n)}}},hasFocus:function l(){return i.browser.mozilla&&i.helpers.isMobile()?i.selection.inEditor():i.node.hasFocus(i.el)||0 span").css("width")),s=u.helpers.getPX(o.css("paddingLeft")),l=u.helpers.getPX(o.css("paddingRight"));o.css("width",i*u.opts.colorsStep+s+l)}return u.button.bindCommands(a,!1),a}function y(r){var a=g[r];return{_windowResize:function(){var e=a.data("instance")||u;!e.helpers.isMobile()&&a.isVisible()&&(e.events.disableBlur(),e.popups.hide(r),e.events.enableBlur())},_inputFocus:function(e){var t=a.data("instance")||u,n=d(e.currentTarget);if(n.is("input:file")&&n.closest(".fr-layer").addClass("fr-input-focus"),e.preventDefault(),e.stopPropagation(),setTimeout(function(){t.events.enableBlur()},100),t.helpers.isMobile()){var r=d(t.o_win).scrollTop();setTimeout(function(){d(t.o_win).scrollTop(r)},0)}},_inputBlur:function(e){var t=a.data("instance")||u,n=d(e.currentTarget);n.is("input:file")&&n.closest(".fr-layer").removeClass("fr-input-focus"),document.activeElement!==this&&d(this).isVisible()&&(t.events.blurActive()&&t.events.trigger("blur"),t.events.enableBlur())},_editorKeydown:function(e){var t=a.data("instance")||u;t.keys.ctrlKey(e)||e.which===Mt.KEYCODE.ALT||e.which===Mt.KEYCODE.ESC||(v(r)&&a.findVisible(".fr-back").length?t.button.exec(a.findVisible(".fr-back").first()):e.which!==Mt.KEYCODE.ALT&&t.popups.hide(r))},_preventFocus:function(e){var t=a.data("instance")||u,n=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;"mouseup"===e.type||d(n).is(":focus")||t.events.disableBlur(),"mouseup"!==e.type||d(n).hasClass("fr-command")||0').concat(r.attr("placeholder"),"")),r.attr("placeholder",""))}}(a),u.events.$on(a,"focus",i),u.events.$on(a,"blur change",s),u.events.$on(n,"click",".fr-checkbox + label",p),u.accessibility.registerPopup(e),u.helpers.isIOS()&&u.events.$on(n,"touchend","label",function(){d("#".concat(d(this).attr("for"))).prop("checked",function(e,t){return!t})},!0),u.events.$on(d(u.o_win),"resize",r._windowResize,!0),"filesManager.insert"===e&&g["filesManager.insert"].css("zIndex",2147483641),n},get:function L(e){var t=g[e];return t&&!t.data("inst".concat(u.id))&&f(y(e),e),t},show:function S(e,t,n,r,a){if(v(e)||(b()&&0 .fr-dropdown-wrapper").css("height",""),o.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),g[e].data("instance",u),u.$tb&&u.$tb.data("instance",u);var i=v(e);g[e].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var s=g[e].data("container");if(function p(e,t){t.isVisible()||(t=u.$sc),t.contains([g[e].get(0)])||t.append(g[e])}(e,s),u.opts.toolbarInline&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(m(e,u.$sc),n=u.$tb.offset().top-u.helpers.getPX(u.$tb.css("margin-top")),t=u.$tb.offset().left+u.$tb.outerWidth()/2,u.node.hasClass(u.$tb.get(0),"fr-above")&&n&&(n+=u.$tb.outerHeight()),r=0),s=g[e].data("container"),u.opts.iframe&&!r&&!i){var l=u.helpers.getPX(u.$wp.find(".fr-iframe").css("padding-top")),c=u.helpers.getPX(u.$wp.find(".fr-iframe").css("padding-left"));t&&(t-=u.$iframe.offset().left+c),n&&(n-=u.$iframe.offset().top+l)}s.is(u.$tb)?u.$tb.css("zIndex",(u.opts.zIndex||1)+4):g[e].css("zIndex",(u.opts.zIndex||1)+3),u.opts.toolbarBottom&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(g[e].addClass("fr-above"),n&&(n-=g[e].outerHeight())),a&&(t-=g[e].width()/2),t+g[e].outerWidth()>u.$sc.offset().left+u.$sc.width()&&(t-=t+g[e].outerWidth()-u.$sc.offset().left-u.$sc.width()),twindow.innerHeight/2&&(window.innerWidth<500?e.get(0).clientHeight>.6*r&&a(e):400 button.fr-command").first());if(0i(o.o_win).width()&&(n=i(o.o_win).width()-o.$tooltip.outerWidth()),void 0===t&&(t=o.opts.toolbarBottom),e.offset().top-i(window).scrollTop()+e.outerHeight()+10>=i(window).height()&&(t=!0);var r=t?e.offset().top-o.$tooltip.height():e.offset().top+e.outerHeight();o.$tooltip.css("position",""),o.$tooltip.css("left",n),o.$tooltip.css("top",Math.ceil(r)),"static"!==i(o.o_doc).find("body").first().css("position")?(o.$tooltip.css("margin-left",-i(o.o_doc).find("body").first().offset().left),o.$tooltip.css("margin-top",-i(o.o_doc).find("body").first().offset().top)):(o.$tooltip.css("margin-left",""),o.$tooltip.css("margin-top",""))}}return{hide:r,to:a,bind:function s(e,t,n){o.opts.tooltips&&!o.helpers.isMobile()&&(o.events.$on(e,"mouseover",t,function(e){o.node.hasClass(e.currentTarget,"fr-disabled")||o.edit.isDisabled()||a(i(e.currentTarget),n)},!0),o.events.$on(e,"mouseout ".concat(o._mousedown," ").concat(o._mouseup),t,function(){r()},!0))}}},Mt.TOOLBAR_VISIBLE_BUTTONS=3,Mt.MODULES.button=function(g){var h=g.$,i=[];(g.opts.toolbarInline||g.opts.toolbarContainer)&&(g.shared.buttons||(g.shared.buttons=[]),i=g.shared.buttons);var s=[];function l(e,t,n){for(var r=h(),a=0;a .fr-dropdown-wrapper");if(!n){var l=e.data("cmd");t.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),Mt.COMMANDS[l]&&Mt.COMMANDS[l].refreshOnShow&&Mt.COMMANDS[l].refreshOnShow.apply(a,[e,t]),t.css("left",e.offset().left-e.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===g.opts.direction?t.width()-e.outerWidth():0)),t.addClass("test-height"),o=t.outerHeight(),i=g.helpers.getPX(s.css("max-height")),t.removeClass("test-height"),t.css("top","").css("bottom","");var c=e.outerHeight()/10;if(!g.opts.toolbarBottom&&t.offset().top+e.outerHeight()+og.$sc.offset().left+g.$sc.width()&&t.css("margin-left",-(t.offset().left+t.outerWidth()-g.$sc.offset().left-g.$sc.width())),t.offset().left .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),0!==e.parents(".fr-popup").length||g.opts.toolbarInline||(g.node.hasClass(e.get(0),"fr-active")?g.$tb.css("zIndex",(g.opts.zIndex||1)+4):g.$tb.css("zIndex",""));var p=t.find("a.fr-command.fr-active").first();g.helpers.isMobile()||(p.length?(g.accessibility.focusToolbarElement(p),s.scrollTop(Math.abs(p.parents(".fr-dropdown-content").offset().top-p.offset().top)-p.offset().top)):(g.accessibility.focusToolbarElement(e),s.scrollTop(0)))}function o(e){e.addClass("fr-blink"),setTimeout(function(){e.removeClass("fr-blink")},500);for(var t=e.data("cmd"),n=[];void 0!==e.data("param".concat(n.length+1));)n.push(e.data("param".concat(n.length+1)));var r=m(".fr-dropdown.fr-active");r.length&&(r.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),e.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(t,n)}function t(e){var t=e.parents(".fr-popup, .fr-toolbar").data("instance");if(0===e.parents(".fr-popup").length&&e.data("popup")&&!e.hasClass("fr-btn-active-popup")&&e.addClass("fr-btn-active-popup"),0!==e.parents(".fr-popup").length||e.data("popup")||t.popups.hideAll(),t.popups.areVisible()&&!t.popups.areVisible(t)){for(var n=0;n .fr-dropdown-wrapper").css("height",""),t.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),t.prev().removeClass("fr-expanded"))}function f(e){e.preventDefault(),e.stopPropagation()}function p(e){if(e.stopPropagation(),!g.helpers.isMobile())return!1}function v(e){var t=1').concat(g.language.translate(o||t.title),"")}else a=g.icon.create(t.icon||e),a+=''.concat(g.language.translate(t.title)||"","");var i=t.popup?' data-popup="true"':"",s=t.modal?' data-modal="true"':"",l=g.shortcuts.get("".concat(e,"."));l=l?" (".concat(l,")"):"";var c="".concat(e,"-").concat(g.id),d="dropdown-menu-".concat(c),f='");if("dropdown"===t.type||"options"===t.type){var p='
    "}return t.hasOptions&&t.hasOptions.apply(g)&&(f='
    '.concat(f," ").concat(v(e+"Options",Object.assign({},t,{type:"options",hasOptions:!1}),n),"
    ")),f}function e(a){var o=g.$tb&&g.$tb.data("instance")||g;if(!1===g.events.trigger("buttons.refresh"))return!0;setTimeout(function(){for(var e=o.selection.inEditor()&&o.core.hasFocus(),t=0;t
  • ':"-"===a&&(n+=''))}return n},buildGroup:function y(e){var t="",n="";for(var r in e){var a=e[r];if(a.buttons){for(var o="",i="",s=0,l="left",c=Mt.TOOLBAR_VISIBLE_BUTTONS,d=0;d
    ':"-"==f&&(o+='')),!p||p&&"undefined"!=typeof p.plugin&&g.opts.pluginsEnabled.indexOf(p.plugin)<0||(e[r].align!==undefined&&(l=e[r].align),e[r].buttonsVisible!==undefined&&(c=e[r].buttonsVisible),e.showMoreButtons&&c<=s?i+=v(f,p,!0):o+=v(f,p,!0),s++)}if(e.showMoreButtons&&c').concat(o,""),e.showMoreButtons&&0').concat(i,""))}}return g.opts.toolbarBottom?"".concat(n,'
    ').concat(t):"".concat(t,'
    ').concat(n)},bindCommands:function T(t,e){g.events.bindClick(t,".fr-command:not(.fr-disabled)",c),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu",f,!0),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu .fr-dropdown-wrapper",p,!0);var n=t.get(0).ownerDocument,r="defaultView"in n?n.defaultView:n.parentWindow;function a(e){(!e||e.type===g._mouseup&&e.target!==h("html").get(0)||"keydown"===e.type&&(g.keys.isCharacter(e.which)&&!g.keys.ctrlKey(e)||e.which===Mt.KEYCODE.ESC))&&d(t)}g.events.$on(h(r),"".concat(g._mouseup," resize keydown"),a,!0),g.opts.iframe&&g.events.$on(g.$win,g._mouseup,a,!0),g.node.hasClass(t.get(0),"fr-popup")?h.merge(s,t.find(".fr-btn").toArray()):h.merge(i,t.find(".fr-btn").toArray()),g.tooltip.bind(t,".fr-btn, .fr-title",e)},refresh:function A(e){var t,n=e.parents(".fr-popup, .fr-toolbar").data("instance")||g,r=e.data("cmd");g.node.hasClass(e.get(0),"fr-dropdown")?t=e.next():(e.removeClass("fr-active"),e.attr("aria-pressed")&&e.attr("aria-pressed",!1)),Mt.COMMANDS[r]&&Mt.COMMANDS[r].refresh?Mt.COMMANDS[r].refresh.apply(n,[e,t]):g.refresh[r]&&n.refresh[r](e,t)},bulkRefresh:n,exec:o,click:t,hideActiveDropdowns:d,addButtons:function L(e){for(var t=0;t
    ',font_awesome_5:'',font_awesome_5r:'',font_awesome_5l:'',font_awesome_5b:'',text:'[NAME]',image:"[ALT]",svg:'',empty:" "},Mt.ICONS={bold:{NAME:"bold",SVG_KEY:"bold"},italic:{NAME:"italic",SVG_KEY:"italic"},underline:{NAME:"underline",SVG_KEY:"underline"},strikeThrough:{NAME:"strikethrough",SVG_KEY:"strikeThrough"},subscript:{NAME:"subscript",SVG_KEY:"subscript"},superscript:{NAME:"superscript",SVG_KEY:"superscript"},cancel:{NAME:"cancel",SVG_KEY:"cancel"},color:{NAME:"tint",SVG_KEY:"textColor"},outdent:{NAME:"outdent",SVG_KEY:"outdent"},indent:{NAME:"indent",SVG_KEY:"indent"},undo:{NAME:"rotate-left",FA5NAME:"undo",SVG_KEY:"undo"},redo:{NAME:"rotate-right",FA5NAME:"redo",SVG_KEY:"redo"},insert:{NAME:"insert",SVG_KEY:"insert"},insertAll:{NAME:"insertAll",SVG_KEY:"insertAll"},insertHR:{NAME:"minus",SVG_KEY:"horizontalLine"},clearFormatting:{NAME:"eraser",SVG_KEY:"clearFormatting"},selectAll:{NAME:"mouse-pointer",SVG_KEY:"selectAll"},minimize:{NAME:"minimize",SVG_KEY:"minimize"},moreText:{NAME:"ellipsis-v",SVG_KEY:"textMore"},moreParagraph:{NAME:"ellipsis-v",SVG_KEY:"paragraphMore"},moreRich:{NAME:"ellipsis-v",SVG_KEY:"insertMore"},moreMisc:{NAME:"ellipsis-v",SVG_KEY:"more"}},Mt.DefineIconTemplate=function(e,t){Mt.ICON_TEMPLATES[e]=t},Mt.DefineIcon=function(e,t){Mt.ICONS[e]=t},Object.assign(Mt.DEFAULTS,{iconsTemplate:"svg"}),Mt.MODULES.icon=function(a){return{create:function o(n){var e=null,r=Mt.ICONS[n];if(void 0!==r){var t=r.template||Mt.ICON_DEFAULT_TEMPLATE||a.opts.iconsTemplate;t&&t.apply&&(t=t.apply(a)),r.FA5NAME||(r.FA5NAME=r.NAME),"svg"!==t||r.PATH||(r.PATH=Mt.SVG[r.SVG_KEY]||""),t&&(t=Mt.ICON_TEMPLATES[t])&&(e=t.replace(/\[([a-zA-Z0-9]*)\]/g,function(e,t){return"NAME"===t?r[t]||n:r[t]}))}return e||n},getTemplate:function r(e){var t=Mt.ICONS[e],n=a.opts.iconsTemplate;return void 0!==t?n=t.template||Mt.ICON_DEFAULT_TEMPLATE||a.opts.iconsTemplate:n},getFileIcon:function n(e){var t=Mt.FILEICONS[e];return void 0!==t?t:e}}},Mt.SVG={add:"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z",advancedImageEditor:"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4 V3h-2V9z",alignCenter:"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z",alignJustify:"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z",alignLeft:"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z",alignRight:"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z",anchors:"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z",autoplay:"M 7.570312 0.292969 C 7.542969 0.292969 7.515625 0.292969 7.488281 0.296875 C 7.203125 0.324219 6.984375 0.539062 6.980469 0.792969 L 6.925781 3.535156 C 2.796875 3.808594 -0.0078125 6.425781 -0.0859375 10.09375 C -0.121094 11.96875 0.710938 13.6875 2.265625 14.921875 C 3.769531 16.117188 5.839844 16.796875 8.097656 16.828125 C 8.140625 16.828125 12.835938 16.898438 13.035156 16.886719 C 15.171875 16.796875 17.136719 16.128906 18.558594 15.003906 C 20.066406 13.816406 20.882812 12.226562 20.917969 10.40625 C 20.960938 8.410156 20.023438 6.605469 18.289062 5.335938 C 18.214844 5.277344 18.128906 5.230469 18.035156 5.203125 C 17.636719 5.074219 17.222656 5.199219 17 5.476562 L 15.546875 7.308594 C 15.304688 7.609375 15.363281 8.007812 15.664062 8.265625 C 16.351562 8.851562 16.707031 9.625 16.6875 10.5 C 16.652344 12.25 15.070312 13.390625 12.757812 13.535156 C 12.59375 13.539062 8.527344 13.472656 8.164062 13.464844 C 5.703125 13.429688 4.101562 12.191406 4.140625 10.3125 C 4.175781 8.570312 5.132812 7.46875 6.847656 7.199219 L 6.796875 9.738281 C 6.792969 9.992188 7 10.214844 7.285156 10.253906 C 7.3125 10.257812 7.339844 10.257812 7.367188 10.257812 C 7.503906 10.261719 7.632812 10.222656 7.738281 10.148438 L 14.039062 5.785156 C 14.171875 5.691406 14.253906 5.558594 14.253906 5.410156 C 14.257812 5.261719 14.1875 5.125 14.058594 5.027344 L 7.941406 0.414062 C 7.835938 0.335938 7.707031 0.292969 7.570312 0.292969 ",back:"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z",backgroundColor:"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L20.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z",blockquote:"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z",bold:"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z",cancel:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",cellBackground:"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4 l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2 C21,17.2,19,15,19,15z",cellBorderColor:"M22,22H2v2h20V22z",cellOptions:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4 c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4 c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z",cellStyle:"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10 c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7 c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4 z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z",clearFormatting:"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z",close:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",codeView:"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z",cogs:"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z",columns:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17 c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0 V9z",edit:"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0 c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z",exitFullscreen:"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z",fileInsert:"M 8.09375 12.75 L 5.90625 12.75 C 5.542969 12.75 5.25 12.394531 5.25 11.953125 L 5.25 6.375 L 2.851562 6.375 C 2.367188 6.375 2.121094 5.660156 2.464844 5.242188 L 6.625 0.1875 C 6.832031 -0.0585938 7.167969 -0.0585938 7.371094 0.1875 L 11.535156 5.242188 C 11.878906 5.660156 11.632812 6.375 11.148438 6.375 L 8.75 6.375 L 8.75 11.953125 C 8.75 12.394531 8.457031 12.75 8.09375 12.75 Z M 14 12.484375 L 14 16.203125 C 14 16.644531 13.707031 17 13.34375 17 L 0.65625 17 C 0.292969 17 0 16.644531 0 16.203125 L 0 12.484375 C 0 12.042969 0.292969 11.6875 0.65625 11.6875 L 4.375 11.6875 L 4.375 11.953125 C 4.375 12.980469 5.0625 13.8125 5.90625 13.8125 L 8.09375 13.8125 C 8.9375 13.8125 9.625 12.980469 9.625 11.953125 L 9.625 11.6875 L 13.34375 11.6875 C 13.707031 11.6875 14 12.042969 14 12.484375 Z M 10.609375 15.40625 C 10.609375 15.039062 10.363281 14.742188 10.0625 14.742188 C 9.761719 14.742188 9.515625 15.039062 9.515625 15.40625 C 9.515625 15.773438 9.761719 16.070312 10.0625 16.070312 C 10.363281 16.070312 10.609375 15.773438 10.609375 15.40625 Z M 12.359375 15.40625 C 12.359375 15.039062 12.113281 14.742188 11.8125 14.742188 C 11.511719 14.742188 11.265625 15.039062 11.265625 15.40625 C 11.265625 15.773438 11.511719 16.070312 11.8125 16.070312 C 12.113281 16.070312 12.359375 15.773438 12.359375 15.40625 Z M 12.359375 15.40625 ",fileManager:"M 0 5.625 L 20.996094 5.625 L 21 15.75 C 21 16.371094 20.410156 16.875 19.6875 16.875 L 1.3125 16.875 C 0.585938 16.875 0 16.371094 0 15.75 Z M 0 5.625 M 21 4.5 L 0 4.5 L 0 2.25 C 0 1.628906 0.585938 1.125 1.3125 1.125 L 6.921875 1.125 C 7.480469 1.125 8.015625 1.316406 8.40625 1.652344 L 9.800781 2.847656 C 10.195312 3.183594 10.730469 3.375 11.289062 3.375 L 19.6875 3.375 C 20.414062 3.375 21 3.878906 21 4.5 Z M 21 4.5",fontAwesome:"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z",fontFamily:"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z",fontSize:"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z",fullscreen:"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z",help:"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5 C16,6.8,14.2,5,12,5z",horizontalLine:"M5,12h14 M19,11H5v2h14V11z",imageAltText:"M19,7h-6v12h-2V7H5V5h6h2h6V7z",imageCaption:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z",imageClass:"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z",imageDisplay:"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z",imageManager:"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z",imageSize:"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3 L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1 c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15 c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8 l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z",indent:"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",inlineClass:"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z",inlineStyle:"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z",insert:"M13.889,11.611c-0.17,0.17-0.443,0.17-0.612,0l-3.189-3.187l-3.363,3.36c-0.171,0.171-0.441,0.171-0.612,0c-0.172-0.169-0.172-0.443,0-0.611l3.667-3.669c0.17-0.17,0.445-0.172,0.614,0l3.496,3.493C14.058,11.167,14.061,11.443,13.889,11.611 M18.25,10c0,4.558-3.693,8.25-8.25,8.25c-4.557,0-8.25-3.692-8.25-8.25c0-4.557,3.693-8.25,8.25-8.25C14.557,1.75,18.25,5.443,18.25,10 M17.383,10c0-4.07-3.312-7.382-7.383-7.382S2.618,5.93,2.618,10S5.93,17.381,10,17.381S17.383,14.07,17.383,10",insertEmbed:"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z",insertFile:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z",insertImage:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z",insertLink:"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z",insertMore:"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z",insertTable:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3 h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17 v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16z",insertVideo:"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z",upload:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",uploadFiles:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",italic:"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z",search:"M15.5 14h-0.79l-0.28 -0.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09 -0.59 4.23 -1.57l0.27 0.28v0.79l5 4.99L20.49 19l-4.99 -5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",lineHeight:"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z",linkStyles:"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1 c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7 c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z",mention:"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1 c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1 c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3 s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z",minimize:"M5,12h14 M19,11H5v2h14V11z",more:"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z",openLink:"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z",orderedList:"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z",outdent:"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",pageBreaker:"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2 h3V13z",paragraphFormat:"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z",paragraphMore:"M7.682,5a4.11,4.11,0,0,0-4.07,3.18,4,4,0,0,0,3.11,4.725h0l.027.005a3.766,3.766,0,0,0,.82.09v6h2V7h2V19h2V7h2V5ZM5.532,9a2,2,0,0,1,2-2v4A2,2,0,0,1,5.532,9Zm14.94,8.491a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,17.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,13.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,9.491Z",paragraphStyle:"M4,9c0-1.1,0.9-2,2-2v4C4.9,11,4,10.1,4,9z M16.7,20.5l3.2,1.9L19,18.8l3-2.9h-3.7l-1.4-3.5L15.3,16h-3.8l2.9,2.9l-0.9,3.6 L16.7,20.5z M10,17.4V19h1.6L10,17.4z M6.1,5c-1.9,0-3.6,1.3-4,3.2c-0.5,2.1,0.8,4.2,2.9,4.7c0,0,0,0,0,0h0.2C5.5,13,5.8,13,6,13v6 h2V7h2v7h2V7h2V5H6.1z",pdfExport:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z M16.3,13.5 c-0.2-0.6-1.1-0.8-2.6-0.8c-0.1,0-0.1,0-0.2,0c-0.3-0.3-0.8-0.9-1-1.2c-0.2-0.2-0.3-0.3-0.4-0.6c0.2-0.7,0.2-1,0.3-1.5 c0.1-0.9,0-1.6-0.2-1.8c-0.4-0.2-0.7-0.2-0.9-0.2c-0.1,0-0.3,0.2-0.7,0.7c-0.2,0.7-0.1,1.8,0.6,2.8c-0.2,0.8-0.7,1.6-1,2.4 c-0.8,0.2-1.5,0.7-1.9,1.1c-0.7,0.7-0.9,1.1-0.7,1.6c0,0.3,0.2,0.6,0.7,0.6c0.3-0.1,0.3-0.2,0.7-0.3c0.6-0.3,1.2-1.7,1.7-2.4 c0.8-0.2,1.7-0.3,2-0.3c0.1,0,0.3,0,0.6,0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6 C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7 C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1 c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1 c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z",print:"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4 v4h16V15z",redo:"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6 C5.1,10.8,9.3,8.7,13.6,9.4z",removeTable:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",insertAll:"M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 ",remove:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",replaceImage:"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z",row:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5 v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z",selectAll:"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5 z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2 V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z",smile:"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z",spellcheck:"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6 L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z",star:"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1 l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z",strikeThrough:"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z",subscript:"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674 l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617 c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621 c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416 c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465 c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548 c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692 c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437 c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458 c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333 c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612 c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823 c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z",superscript:"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z",symbols:"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z",tags:"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z",tableHeader:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0 H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20 c0.3,0,0.5,0.2,0.5,0.4l0,0V9z",tableStyle:"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z",textColor:"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z",textMore:"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z",underline:"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z",undo:"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9 C18.9,10.8,14.7,8.7,10.4,9.4z",unlink:"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12 C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1 L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z",unorderedList:"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7 S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z",verticalAlignBottom:"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z",verticalAlignMiddle:"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z",verticalAlignTop:"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z"},Mt.FILEICONS={docIcon:{extension:".doc",path:'\n \n \n \n \n '},gifIcon:{extension:".gif",path:'\n \n \n \n \n '},jpegIcon:{extension:".jpeg",path:'\n \n \n \n \n '},logIcon:{extension:".log",path:'\n \n \n \n \n '},movIcon:{extension:".mov",path:'\n \n \n \n \n '},ogvIcon:{extension:".ogv",path:'\n \n \n \n \n '},pngIcon:{extension:".png",path:'\n \n \n \n \n '},txtIcon:{extension:".txt",path:'\n \n \n \n \n '},webmIcon:{extension:".webm",path:'\n \n \n \n \n '},webpIcon:{extension:".webp",path:'\n \n \n \n \n '},wmvIcon:{extension:".wmv",path:'\n \n \n \n \n '},xlsIcon:{extension:".xls",path:'\n \n \n \n \n '},xlsxIcon:{extension:".xlsx",path:'\n \n \n \n \n '},zipIcon:{extension:".zip",path:'\n \n \n \n \n '},docxIcon:{extension:".docx",path:'\n \n \n \n \n \n \n \n \n '},jpgIcon:{extension:".jpg",path:'\n \n \n \n \n '},mp3Icon:{extension:".mp3",path:'\n \n \n \n \n \n \n \n \n \n '},mp4Icon:{extension:".mp4",path:'\n \n \n \n \n \n \n \n \n '},oggIcon:{extension:".ogg",path:'\n \n \n \n \n \n \n \n \n '},pdfIcon:{extension:".pdf",path:'\n \n \n \n \n \n \n '},defaultIcon:{extension:".default",path:'\n \n '}},Mt.MODULES.modals=function(l){var i=l.$;l.shared.modals||(l.shared.modals={});var a,c=l.shared.modals;function e(){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)){var t=c[e];t&&t.$modal&&t.$modal.removeData().remove()}a&&a.removeData().remove(),c={}}function s(e,t){if(c[e]){var n=c[e].$modal,r=n.data("instance")||l;r.events.enableBlur(),n.hide(),a.hide(),i(r.o_doc).find("body").first().removeClass("fr-prevent-scroll fr-mobile"),n.removeClass("fr-active"),t||(r.accessibility.restoreSelection(),r.events.trigger("modals.hide"))}}function n(e){var t;if("string"==typeof e){if(!c[e])return;t=c[e].$modal}else t=e;return t&&l.node.hasClass(t,"fr-active")&&l.core.sameInstance(t)||!1}return{_init:function t(){l.events.on("shared.destroy",e,!0)},get:function r(e){return c[e]},create:function d(n,e,t){if(e='
    '.concat(e,"
    "),l.shared.$overlay||(l.shared.$overlay=i(l.doc.createElement("DIV")).addClass("fr-overlay"),i("body").first().append(l.shared.$overlay)),a=l.shared.$overlay,l.opts.theme&&a.addClass("".concat(l.opts.theme,"-theme")),!c[n]){var r=function o(e,t){var n='
    '),r='');n+='
    '.concat(e).concat(r,"
    "),n+='
    '.concat(t,"
    "),n+="
    ";var a=i(l.doc.createElement("DIV"));return a.html(n),a.find("> .fr-modal")}(e,t);c[n]={$modal:r,$head:r.find(".fr-modal-head"),$body:r.find(".fr-modal-body")},l.helpers.isMobile()||r.addClass("fr-desktop"),i("body").first().append(r),l.events.$on(r,"click",".fr-modal-close",function(){s(n)},!0),c[n].$body.css("margin-top",c[n].$head.outerHeight()),l.events.$on(r,"keydown",function(e){var t=e.which;return t===Mt.KEYCODE.ESC?(s(n),l.accessibility.focusModalButton(r),!1):!(!i(e.currentTarget).is("input[type=text], textarea")&&t!==Mt.KEYCODE.ARROW_UP&&t!==Mt.KEYCODE.ARROW_DOWN&&!l.keys.isBrowserAction(e)&&(e.preventDefault(),e.stopPropagation(),1))},!0),s(n,!0)}return c[n]},show:function o(e){if(c[e]){var t=c[e].$modal;t.data("instance",l),t.show(),a.show(),i(l.o_doc).find("body").first().addClass("fr-prevent-scroll"),l.helpers.isMobile()&&i(l.o_doc).find("body").first().addClass("fr-mobile"),t.addClass("fr-active"),l.accessibility.focusModal(t)}},hide:s,resize:function f(e){if(c[e]){var t=c[e],n=t.$modal,r=t.$body,a=l.o_win.innerHeight,o=n.find(".fr-modal-wrapper"),i=a-o.outerHeight(!0)+(o.height()-(r.outerHeight(!0)-r.height())),s="auto";iE.$sc.get(0).clientWidth-10&&(t=E.$sc.get(0).clientWidth-n-10),t<0&&(t=10),t}(n,e);e&&n.css("left",s),t&&n.css("top",function c(e,t,n){var r=e.outerHeight(!0);if(!E.helpers.isMobile()&&E.$tb&&e.parent().get(0)!==E.$tb.get(0)){var a=e.parent().offset().top,o=t-r-(n||0);e.parent().get(0)===E.$sc.get(0)&&(a-=e.parent().position().top);var i=E.$sc.get(0).clientHeight;a+t+r>E.$sc.offset().top+i&&0E.$wp.scrollTop()&&(t=o,e.addClass("fr-above")):e.removeClass("fr-above")}return t}(n,t,r))}function t(e){var n=y(e),t=n.is(".fr-sticky-on"),r=n.data("sticky-top"),a=n.data("sticky-scheduled");if(void 0===r){n.data("sticky-top",0);var o=y('
    '));E.$box.prepend(o)}else E.$box.find(".fr-sticky-dummy").css("height",n.outerHeight());if(E.core.hasFocus()||0'))),!r){var p="auto"!==t.css("top")||"auto"!==t.css("bottom");p||t.css("position","fixed"),r={top:E.node.hasClass(t.get(0),"fr-top"),bottom:E.node.hasClass(t.get(0),"fr-bottom")},p||t.css("position",""),t.data("sticky-position",r),t.data("top",E.node.hasClass(t.get(0),"fr-top")?t.css("top"):"auto"),t.data("bottom",E.node.hasClass(t.get(0),"fr-bottom")?t.css("bottom"):"auto")}var u=E.helpers.getPX(t.data("top")),h=E.helpers.getPX(t.data("bottom")),g=r.top&&function b(){return d .fr-command, > .fr-btn-wrap");r.each(function(e,t){n+=c(t).outerWidth()});var a,o=l.helpers.getPX(c(r[0]).css("margin-left")),i=l.helpers.getPX(c(r[0]).css("margin-right"));a="rtl"===l.opts.direction?l.$tb.outerWidth()-e.offset().left+l.$tb.offset().left-(n+e.outerWidth()+r.length*(o+i))/2:e.offset().left-l.$tb.offset().left-(n-e.outerWidth()+r.length*(o+i))/2;a+n+r.length*(o+i)>l.$tb.outerWidth()&&(a-=(n+r.length*(o+i)-e.outerWidth())/2);a<0&&(a=0);return a}(e,t);"rtl"===l.opts.direction?t.css("padding-right",n):t.css("padding-left",n)}return{undo:function t(e){o(e,!l.undo.canDo())},redo:function n(e){o(e,!l.undo.canRedo())},outdent:function i(e){if(l.node.hasClass(e.get(0),"fr-no-refresh"))return!1;for(var t=l.selection.blocks(),n=0;n
    '),p.removeClass("fr-visible");else if(!1===d.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass("fr-dragging"),!1===(t=d.events.chainTrigger("element.beforeDrop",t)))return!1;var a=t;if(t.parent().is("A")&&1===t.parent().get(0).childNodes.length&&(a=t.parent()),d.core.isEmpty())d.events.focus();else d.$el.find(".fr-marker").replaceWith(Mt.MARKERS),d.selection.restore();if(n===d||d.undo.canDo()||d.undo.saveStep(),d.core.isEmpty())d.$el.html(a);else{var o=d.markers.insert();0===a.find(o).length?f(o).replaceWith(a):0===t.find(o).length&&f(o).replaceWith(t),t.after(Mt.MARKERS),d.selection.restore()}return d.popups.hideAll(),d.selection.save(),d.$el.find(d.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(d.opts.htmlAllowedEmptyTags.join(",")).remove(),d.html.wrap(),d.html.fillEmptyBlocks(),d.selection.restore(),d.undo.saveStep(),d.opts.iframe&&d.size.syncIframe(),n!==d&&(n.popups.hideAll(),n.$el.find(n.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),n.html.wrap(),n.html.fillEmptyBlocks(),n.undo.saveStep(),n.events.trigger("element.dropped"),n.opts.iframe&&n.size.syncIframe()),d.events.trigger("element.dropped",[a]),!1}p&&p.removeClass("fr-visible"),d.undo.canDo()||d.undo.saveStep(),setTimeout(function(){d.undo.saveStep()},0)}function o(e){if(e&&"DIV"===e.tagName&&d.node.hasClass(e,"fr-drag-helper"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll("div.fr-drag-helper"),n=0;n
    ")};r.popups.create("text.edit",e)}(),e())},update:function t(){var e=r.popups.get("text.edit").find("input").val();0===e.length&&(e=r.opts.placeholderText),"INPUT"===r.el.tagName?r.$el.attr("placeholder",e):r.$el.text(e),r.events.trigger("contentChanged"),r.popups.hide("text.edit")}}},Mt.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}}),Object.assign(Mt.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(Mt.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"},{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"},{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D\u2019ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),Mt.PLUGINS.emoticons=function(m){var v=m.$,a=m.opts.emoticonsSet,o=a&&a[0],i="";function s(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),t=m.selection.endElement();if(e&&m.node.hasClass(e,"fr-emoticon"))return e;if(t&&m.node.hasClass(t,"fr-emoticon"))return t;var n=m.selection.ranges(0),r=n.startContainer;if(r.nodeType==Node.ELEMENT_NODE&&0\n '.concat(function n(e,r){var a="";return e.forEach(function(e){var t={image:e.code.toLowerCase()},n={elementClass:e.id===r.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:m.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:m.language.translate(e.name),dataCmd:"setEmoticonCategory",dataParam1:e.id,image:m.opts.emoticonsUseImage?''):"&#x".concat(t.image,";")};a+='")}),a}(e,t),"\n ")}(a,o),"\n ").concat(function n(e){return'\n
    \n '.concat(function t(e){var a="";return e.emoticons.forEach(function(e){var t=e.code.split("-").reduce(function(e,t){return e?"".concat(e,"‍&#x").concat(t.toLowerCase(),";"):"&#x".concat(t.toLowerCase(),";")},""),n={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:t},r={dataParam1:e.code.toLowerCase(),dataParam2:n.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?''):"".concat(n.compiledCode),desc:m.language.translate(e.desc)};a+='\n ').concat(r.image,'').concat(r.desc,"   ")}),a}(e),"\n
    \n ")}(o),"\n ").concat(function e(){return m.opts.emoticonsUseImage?'

    Emoji free by Emoji One

    ':""}())}return{_init:function e(){var n=function n(){for(var e=m.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),t=0;t=Mt.KEYCODE.ARROW_LEFT&&e.which<=Mt.KEYCODE.ARROW_DOWN)){var r=s();m.node.hasClass(r,"fr-emoticon-img")&&(v(r).append(Mt.MARKERS),m.selection.restore())}})},insert:function c(e,t){var n=s(),r=m.selection.ranges(0);n?(0===r.startOffset&&m.selection.element()===n?v(n).before(Mt.MARKERS+Mt.INVISIBLE_SPACE):0").concat(t?" ":e," ").concat(Mt.MARKERS),!0)):m.html.insert('").concat(t?" ":e," "),!0)},setEmoticonCategory:function n(t){o=a.filter(function(e){return e.id===t})[0],function e(){m.popups.get("emoticons").html(i+l())}()},showEmoticonsPopup:function d(){var e=m.popups.get("emoticons");if(e||(e=function o(){m.opts.toolbarInline&&0'.concat(m.button.buildList(m.opts.emoticonsButtons),""));var e={buttons:i,custom_layer:l()},t=m.popups.create("emoticons",e);return function n(g){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible("emoticons")||!t.is("span, a"))return!0;var n,r,a,o=e.which;if(Mt.KEYCODE.TAB==o){if(t.is("span.fr-emoticon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var i=g.find(".fr-buttons");n=!m.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==n){var s=g.find("span.fr-emoticon:focus").first().concat(g.findVisible(" div.fr-tabs").first().concat(g.find("a")));t.is("span.fr-emoticon")&&(s=s.not("span.fr-emoticon:not(:focus)")),r=s.index(t),r=e.shiftKey?((r-1)%s.length+s.length)%s.length:(r+1)%s.length,a=s.get(r),m.events.disableBlur(),a.focus(),n=!1}}else if(Mt.KEYCODE.ARROW_UP==o||Mt.KEYCODE.ARROW_DOWN==o||Mt.KEYCODE.ARROW_LEFT==o||Mt.KEYCODE.ARROW_RIGHT==o){if(t.is("span.fr-emoticon")){var l=t.parent().find("span.fr-emoticon");r=l.index(t);var c=m.opts.emoticonsStep,d=Math.floor(l.length/c),f=r%c,p=Math.floor(r/c),u=p*c+f,h=d*c;Mt.KEYCODE.ARROW_UP==o?u=((u-c)%h+h)%h:Mt.KEYCODE.ARROW_DOWN==o?u=(u+c)%h:Mt.KEYCODE.ARROW_LEFT==o?u=((u-1)%h+h)%h:Mt.KEYCODE.ARROW_RIGHT==o&&(u=(u+1)%h),a=v(l.get(u)),m.events.disableBlur(),a.focus(),n=!1}}else Mt.KEYCODE.ENTER==o&&(t.is("a")?t[0].click():m.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(t),t}()),!e.hasClass("fr-active")){m.popups.refresh("emoticons"),m.popups.setContainer("emoticons",m.$tb);var t=m.$tb.find('.fr-command[data-cmd="emoticons"]'),n=m.button.getPosition(t),r=n.left,a=n.top;m.popups.show("emoticons",r,a,t.outerHeight())}},back:function t(){m.popups.hide("emoticons"),m.toolbar.showInline()}}},Mt.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),Mt.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),Mt.RegisterCommand("insertEmoticon",{callback:function(e,t,n){this.emoticons.insert(n,this.opts.emoticonsUseImage?"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/".concat(t,".svg"):null),this.popups.hide("emoticons")}}),Mt.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,t){this.emoticons.setEmoticonCategory(t)}}),Mt.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}}),Object.assign(Mt.DEFAULTS,{entities:""'¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿŒœŠšŸƒˆ˜ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψωϑϒϖ   ‌‍‎‏–—‘’‚“”„†‡•…‰′″‹›‾⁄€ℑ℘ℜ™ℵ←↑→↓↔↵⇐⇑⇒⇓⇔∀∂∃∅∇∈∉∋∏∑−∗√∝∞∠∧∨∩∪∫∴∼≅≈≠≡≤≥⊂⊃⊄⊆⊇⊕⊗⊥⋅⌈⌉⌊⌋⟨⟩◊♠♣♥♦"}),Mt.PLUGINS.entities=function(a){var o,i,s=a.$;function r(e){var t=e.textContent;if(t.match(o)){for(var n="",r=0;r span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function m(e,t,n){E.edit.on(),E.events.focus(!0),E.selection.restore(),E.opts.fileUseSelectedText&&E.selection.text().length&&(t=E.selection.text()),E.html.insert('').concat(t,""));var r=E.$el.find("#fr-inserted-file");r.removeAttr("id"),E.popups.hide("file.insert"),E.undo.saveStep(),d(),E.events.trigger("file.inserted",[r,n])}function S(e,t,n){var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(E.opts.fileUploadToS3||E.opts.fileUploadToAzure)if(201===r){var s;if(E.opts.fileUploadToAzure){if(!1===E.events.trigger("file.uploadedToAzure",[this.responseURL,n,a],!0))return E.edit.on(),!1;s=t}else s=function c(e){try{var t=p(e).find("Location").text(),n=p(e).find("Key").text();return!1===E.events.trigger("file.uploadedToS3",[t,n,e],!0)?(E.edit.on(),!1):t}catch(r){return _(g,e),!1}}(o);s&&m(s,e,a||o)}else _(g,a||o);else if(200<=r&&r<300){var l=function d(e){try{if(!1===E.events.trigger("file.uploaded",[e],!0))return E.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(_(u,e),!1)}catch(n){return _(g,e),!1}}(i);l&&m(l.link,e,a||i)}else _(h,a||i)}catch(f){_(g,a||i)}}function w(){_(g,this.response||this.responseText||this.responseXML)}function R(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;a(E.language.translate("Uploading"),t)}}function _(e,t){E.edit.on(),function r(e){L();var t=E.popups.get("file.insert").find(".fr-file-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),E.events.disableBlur(),n.focus()}(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("file.error",[{code:e,message:n[e]},t])}function x(){E.edit.on(),o(!0)}function i(e){if(void 0!==e&&0E.opts.fileMaxSize)return _(T),!1;if(E.opts.fileAllowedTypes.indexOf("*")<0&&E.opts.fileAllowedTypes.indexOf(n.type.replace(/file\//g,""))<0)return _(A),!1;if(E.drag_support.formdata&&(t=E.drag_support.formdata?new FormData:null),t){var r;if(!1!==E.opts.fileUploadToS3)for(r in t.append("key",E.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),E.opts.fileUploadToS3.params)E.opts.fileUploadToS3.params.hasOwnProperty(r)&&t.append(r,E.opts.fileUploadToS3.params[r]);for(r in E.opts.fileUploadParams)E.opts.fileUploadParams.hasOwnProperty(r)&&t.append(r,E.opts.fileUploadParams[r]);t.append(E.opts.fileUploadParam,n);var a,o,i=E.opts.fileUploadURL;E.opts.fileUploadToS3&&(i=E.opts.fileUploadToS3.uploadURL?E.opts.fileUploadToS3.uploadURL:"https://".concat(E.opts.fileUploadToS3.region,".amazonaws.com/").concat(E.opts.fileUploadToS3.bucket));var s=E.opts.fileUploadMethod;E.opts.fileUploadToAzure&&(i=E.opts.fileUploadToAzure.uploadURL?"".concat(E.opts.fileUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(E.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(E.opts.fileUploadToAzure.container,"/").concat(n.name)),a=i,E.opts.fileUploadToAzure.SASToken&&(i+=E.opts.fileUploadToAzure.SASToken),s="PUT");var l=E.core.getXHR(i,s);if(E.opts.fileUploadToAzure){var c=(new Date).toUTCString();if(!E.opts.fileUploadToAzure.SASToken&&E.opts.fileUploadToAzure.accessKey){var d=E.opts.fileUploadToAzure.account,f=E.opts.fileUploadToAzure.container;if(E.opts.fileUploadToAzure.uploadURL){var p=E.opts.fileUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+d+"/"+f+"/"+n.name),g=s+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+u+"\n"+h,m=E.cryptoJSPlugin.cryptoJS.HmacSHA256(g,E.cryptoJSPlugin.cryptoJS.enc.Base64.parse(E.opts.fileUploadToAzure.accessKey)).toString(E.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;o=m,l.setRequestHeader("Authorization",v)}for(r in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",n.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),E.opts.fileUploadParams)E.opts.fileUploadParams.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.fileUploadParams[r]);for(r in E.opts.fileUploadToAzure.params)E.opts.fileUploadToAzure.params.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.fileUploadToAzure.params[r])}l.onload=function(){S.call(l,n.name,a,o)},l.onerror=w,l.upload.onprogress=R,l.onabort=x,L();var b=E.popups.get("file.insert");b&&(b.off("abortUpload"),b.on("abortUpload",function(){4!==l.readyState&&l.abort()})),l.send(E.opts.fileUploadToAzure?n:t)}}}function s(){o()}function l(e){if(e)return E.popups.onHide("file.insert",s),!0;var t;E.opts.fileUpload||E.opts.fileInsertButtons.splice(E.opts.fileInsertButtons.indexOf("fileUpload"),1),t='
    '.concat(E.button.buildList(E.opts.fileInsertButtons),"
    ");var n="";E.opts.fileUpload&&(n='
    ').concat(E.language.translate("Drop file"),"
    (").concat(E.language.translate("or click"),')
    '));var r={buttons:t,upload_layer:n,progress_bar:'

    Uploading

    '},a=E.popups.create("file.insert",r);return function o(n){E.events.$on(n,"dragover dragenter",".fr-file-upload-layer",function(){return p(this).addClass("fr-drop"),!1},!0),E.events.$on(n,"dragleave dragend",".fr-file-upload-layer",function(){return p(this).removeClass("fr-drop"),!1},!0),E.events.$on(n,"drop",".fr-file-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),p(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;t&&t.files&&(n.data("instance")||E).file.upload(t.files)},!0),E.helpers.isIOS()&&E.events.$on(n,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){p(this).trigger("click")}),E.events.$on(n,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||E;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.file.upload(this.files)}p(this).val("")},!0)}(a),a}function t(e){E.node.hasClass(e,"fr-file")}function c(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var n=t.files[0];if(n&&"undefined"!=typeof n.type){if(n.type.indexOf("image")<0){if(!E.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;E.markers.remove(),E.markers.insertAtPoint(e.originalEvent),E.$el.find(".fr-marker").replaceWith(Mt.MARKERS),E.popups.hideAll();var r=E.popups.get("file.insert");return r||(r=l()),E.popups.setContainer("file.insert",E.$sc),E.popups.show("file.insert",e.originalEvent.pageX,e.originalEvent.pageY),L(),i(t.files),e.preventDefault(),e.stopPropagation(),!1}}else n.type.indexOf("image")<0&&(e.preventDefault(),e.stopPropagation())}}function d(){var e,t=Array.prototype.slice.call(E.el.querySelectorAll("a.fr-file")),n=[];for(e=0;e',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],Mt.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,Mt.IMAGE_EMBED_REGEX=/^\W*(((\s|\n)*))\W*$/i,Mt.PLUGINS.filesManager=function(S){var y,i,w,l,c,d,s,f,R=S.$,T="https://i.froala.com/upload",p=!1,t=!1,_=new Map,x=new Map,A=new Map,L=new Map,M=new Map,O=new Map,o=0,a=[],u=-1,k=[],h=0,g=["file","image","imageTUI","video"],N=1,m=2,I=3,D=4,B=5,F=6,$=10,P=["video/avi","video/mpeg","video/x-ms-wmv"],v={};function b(){var e=S.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function C(e){var t;S.hasOwnProperty("imageTUI")||(s="fr-disabled"),O.forEach(function(e,t){X(t)}),E()?(t=S.popups.get("filesManager.insert"))||(t=Ue()):(t=S.popups.get("filesManager.insert"))||(t=function i(){var e='
    '.concat(S.button.buildList(S.opts.fileInsertButtons),"
    "),t="
    \n

    ".concat(S.language.translate(function a(){var e="",t=function n(){var t=[];return g.forEach(function(e){S.opts.pluginsEnabled.indexOf(e)<0&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),t}();e=t.join(", "),1

    \n
    \n \n \n
    "),n={buttons:e,upload_layer:t,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""},r=S.popups.create("filesManager.insert",n);return Ie(r),r}());var n=S.$tb.find('.fr-command[data-cmd="insertFiles"]');if(J(),e||!t.hasClass("fr-active"))if(e||Z(),S.popups.refresh("filesManager.insert"),S.popups.setContainer("filesManager.insert",S.$tb),n.isVisible()){var r=S.button.getPosition(n,_.size),a=r.left,o=r.top;S.popups.show("filesManager.insert",a,o,n.outerHeight())}else S.position.forSelection(t),S.popups.show("filesManager.insert");S.popups.setPopupDimensions(t),E()&&S.popups.setFileListHeight(t),t.find(".fr-upload-progress")&&0==_.size&&t.find(".fr-upload-progress").addClass("fr-none")}function E(){var t=!0;return g.forEach(function(e){S.opts.pluginsEnabled.indexOf(e)<0&&(t=!1)}),t}function H(){J()}function U(){if(l||function i(){var e;S.shared.$image_resizer?(l=S.shared.$image_resizer,d=S.shared.$img_overlay,S.events.on("destroy",function(){R("body").first().append(l.removeClass("fr-active"))},!0)):(S.shared.$image_resizer=R(document.createElement("div")).attr("class","fr-image-resizer"),l=S.shared.$image_resizer,S.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),S.opts.imageResize&&(l.append(K("nw")+K("ne")+K("sw")+K("se")),S.shared.$img_overlay=R(document.createElement("div")).attr("class","fr-image-overlay"),d=S.shared.$img_overlay,e=l.get(0).ownerDocument,R(e).find("body").first().append(d)));S.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,S.opts.imageResize&&(d.remove(),d=null)},!0),S.helpers.isMobile()||S.events.$on(R(S.o_win),"resize",function(){y&&!y.hasClass("fr-uploading")?at(!0):y&&(U(),replace(),Q(!1))});if(S.opts.imageResize){e=l.get(0).ownerDocument,S.events.$on(l,S._mousedown,".fr-handler",W),S.events.$on(R(e),S._mousemove,V),S.events.$on(R(e.defaultView||e.parentWindow),S._mouseup,G),S.events.$on(d,"mouseleave",G);var r=1,a=null,o=0;S.events.on("keydown",function(e){if(y){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==a||200"),Ae(y)),a=n,o=e.timeStamp}},!0),S.events.on("keyup",function(){r=1})}}(),!y)return!1;var e=S.$wp||S.$sc;e.append(l),l.data("instance",S);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),n=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);n-=S.helpers.getPX(e.css("border-left-width")),t-=S.helpers.getPX(e.css("border-top-width")),S.$el.is("img")&&S.$sc.is("body")&&(n=t=0);var r=dt();ft()&&(r=r.find(".fr-img-wrap"));var a=0,o=0;S.opts.iframe&&(a=S.helpers.getPX(S.$wp.find(".fr-iframe").css("padding-top")),o=S.helpers.getPX(S.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(S.opts.iframe?r.offset().top+a:r.offset().top+t)-1).css("left",(S.opts.iframe?r.offset().left+o:r.offset().left+n)-1).css("width",r.get(0).getBoundingClientRect().width).css("height",r.get(0).getBoundingClientRect().height).addClass("fr-active")}function K(e){return'
    ')}function z(e){ft()?y.parents(".fr-img-caption").css("width",e):y.css("width",e)}function W(e){if(!S.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),S.$el.find("img.fr-error").left)return!1;S.undo.canDo()||S.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var n=S.$oel.get(0).ownerDocument,r=n.defaultView||n.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(s){}a&&r.frameElement&&(t+=S.helpers.getPX(R(r.frameElement).offset().left)+r.frameElement.clientLeft)}(c=R(this)).data("start-x",t),c.data("start-width",y.width()),c.data("start-height",y.height());var o=y.width();if(S.opts.imageResizeWithPercent){var i=y.parentsUntil(S.$el,S.html.blockTagsQuery()).get(0)||S.el;o=(o/R(i).outerWidth()*100).toFixed(2)+"%"}z(o),d.show(),S.popups.hideAll(),st()}function V(e){if(!S.core.sameInstance(l))return!0;var t;if(c&&y){if(e.preventDefault(),S.$el.find("img.fr-error").left)return!1;var n=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!n)return!1;var r=n-c.data("start-x"),a=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(r=0-r),S.opts.imageResizeWithPercent){var o=y.parentsUntil(S.$el,S.html.blockTagsQuery()).get(0)||S.el;a=((a+r)/R(o).outerWidth()*100).toFixed(2),S.opts.imageRoundPercent&&(a=Math.round(a)),z("".concat(a,"%")),(t=ft()?(S.helpers.getPX(y.parents(".fr-img-caption").css("width"))/R(o).outerWidth()*100).toFixed(2):(S.helpers.getPX(y.css("width"))/R(o).outerWidth()*100).toFixed(2))===a||S.opts.imageRoundPercent||z("".concat(t,"%")),y.css("height","").removeAttr("height")}else a+r>=S.opts.imageMinWidth&&(z(a+r),t=ft()?S.helpers.getPX(y.parents(".fr-img-caption").css("width")):S.helpers.getPX(y.css("width"))),t!==a+r&&z(t),((y.attr("style")||"").match(/(^height:)|(; *height:)/)||y.attr("height"))&&(y.css("height",c.data("start-height")*y.width()/c.data("start-width")),y.removeAttr("height"));U(),S.events.trigger("image.resize",[ct()])}}function G(e){if(!S.core.sameInstance(l))return!0;if(c&&y){if(e&&e.stopPropagation(),S.$el.find("img.fr-error").left)return!1;c=null,d.hide(),U(),S.undo.saveStep(),S.events.trigger("image.resizeEnd",[ct()])}else l.removeClass("fr-active")}function Y(){O.forEach(function(e,t){var n=S.popups.get("filesManager.insert");n.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),n.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),n.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function j(e,t,n,r){S.edit.on(),y&&y.addClass("fr-error"),v[e]?(e!=I&&e!=m&&e!=D||Ee(100,r,!0),O.set(r,v[e]),Y(),function a(){O.forEach(function(e,t){S.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))})}(),ne(S.language.translate(v[e]),r)):ne(S.language.translate("Something went wrong. Please try again."),r),!y&&n&&Xe(n),S.events.trigger("filesManager.error",[{code:e,message:v[e]},t,n])}function q(){var e=S.popups.get("filesManager.insert"),t=e.find('.fr-command[data-cmd="insertAll"]'),n=e.find('.fr-command[data-cmd="deleteAll"]'),r=!0;M.forEach(function a(e,t,n){M.get(t)&&(r=!1)}),r?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),r?n.addClass("fr-disabled"):n.removeClass("fr-disabled")}function X(e){x.get(e)&&x.get(e).link&&S.events.trigger("filesManager.removed",[x.get(e).link]);var t=S.popups.get("filesManager.insert");t.find(".fr-file-"+e).get(0)!==undefined&&(t.find(".fr-file-"+e).get(0).outerHTML=""),x["delete"](e),_["delete"](e),M["delete"](e),q(),0==_.size&&(h=0),O["delete"](e),S.popups.setPopupDimensions(t,!0),S.opts.toolbarBottom?C(!0):S.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==_.size&&t.find(".fr-upload-progress").addClass("fr-none")}function Z(){for(var e=S.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),n=0;n span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function te(e){Q();var t=S.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),S.events.disableBlur(),n.focus()}function ne(e,t){var n=S.popups.get("filesManager.insert"),r=n.find(".fr-upload-progress-layer"),a=n.find(".fr-file-".concat(t));r.addClass("fr-error"),a.find("h5").text(e)}v[N]="File cannot be loaded from the passed link.",v[m]="No link in upload response.",v[I]="Error during file upload.",v[D]="Parsing response failed.",v[B]="File is too large.",v[F]="File type is invalid.",v[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",v[8]="File is corrupted.",v[9]="Error during file loading.",v[$]="File upload cancelled";var n,re,ae,oe,ie,se,r,le,ce,de,fe="";function pe(e){fe=e,n=document.getElementsByClassName(e),Array.prototype.map.call(n,function(e){!function r(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),re=e.pageX,ae=e.pageY;var t=document.getElementById("filesList");ae+20>t.getBoundingClientRect().bottom&&ue(t,0,10),ae-20a.getBoundingClientRect().bottom&&ue(a,0,5),e.targetTouches[0].clientY-5\n
    \n\n \n
    \n ').concat(S.helpers.isMobile()?"
    \n
    "):"",'\n
    \n \n ').concat('','\n \n
    \n \n
    \n \n
    \n Image preview\n
    \n\n
    \n
    \n ").concat(function s(e,t,n){null==t&&(t=100);null==n&&(n="...");return e.length>t?e.substring(0,t-n.length)+n:e}(t.name,20),'\n ').concat(t.name,"\n \n
    \n
    \n
    ").concat(n,"\n
    \n \n
    \n ").concat(function l(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(t.size),"\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    ")+Ce(e)+"
    \n
    ";r.find(".fr-upload-progress-layer")[0].innerHTML=o+r.find(".fr-upload-progress-layer")[0].innerHTML,_.forEach(function c(e,t,n){M.get(t)&&r.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),k.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),be(e,t),J(),S.opts.toolbarBottom?C(!0):S.popups.setPopupDimensions(r),pe("fr-file-list-item")}function ve(e){switch(e){case"application/msword":return S.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return S.icon.getFileIcon("docxIcon");case"image/gif":return S.icon.getFileIcon("gifIcon");case"image/jpeg":return S.icon.getFileIcon("jpegIcon");case"image/jpeg":return S.icon.getFileIcon("jpgIcon");case"type/text":return S.icon.getFileIcon("logIcon");case"video/quicktime":return S.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return S.icon.getFileIcon("mp3Icon");case"video/mp4":return S.icon.getFileIcon("mp4Icon");case"audio/ogg":return S.icon.getFileIcon("oggIcon");case"video/ogg":return S.icon.getFileIcon("ogvIcon");case"application/pdf":return S.icon.getFileIcon("pdfIcon");case"image/png":return S.icon.getFileIcon("pngIcon");case"text/plain":return S.icon.getFileIcon("txtIcon");case"video/webm":return S.icon.getFileIcon("webmIcon");case"image/webp":return S.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return S.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return S.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return S.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return S.icon.getFileIcon("zipIcon");default:return S.icon.getFileIcon("defaultIcon")}}function be(r,a,e){var o=S.popups.get("filesManager.insert"),t=o.find(".fr-file-item-icon-"+r).get(0);if(Be(_e(a))&&"image/gif"!=_e(a)&&"image/webp"!=_e(a)){"a"!=t.children[0].localName&&(t.innerHTML=""+t.innerHTML+"");o.find(".fr-file-item-icon-"+r).get(0).children[0].children[0];var i=new FileReader;if(null!=e&&e){var n=_.get(r);a.name=n.name,_.set(r,a)}if(i.onloadend=function(){o.find(".fr-file-item-icon-"+r).get(0).children[0].children[0].src=i.result;for(var e=atob(i.result.split(",")[1]),t=[],n=0;n\n '.concat(s.path,"\n ")}}else{var l=ve(_e(a));t.innerHTML='\n '.concat(l.path,"\n ")}}function Ce(e){var t="";if($e(_e(_.get(e)))){var n="fr-files-checkbox",r="";He(_e(_.get(e)))||(n="fr-checkbox-disabled",r="disabled");t='\n
    \n
    \n \n \n\n ").concat(''," \n
    \n \n
    ")}var a="application/msword",o="application/vnd.openxmlformats-officedocument.wordprocessingml.document",i="";return!Pe(_e(_.get(e)))&&He(_e(_.get(e)))||(s="fr-disabled"),$e(_e(_.get(e)))&&(s="fr-disabled"),Fe(_e(_.get(e)))&&(s="fr-disabled",_e(_.get(e))!=a&&_e(_.get(e))!=o||S.opts.googleOptions&&!S.helpers.isMobile()&&S.opts.googleOptions.API_KEY&&S.opts.googleOptions.CLIENT_ID&&(s=""),"text/plain"!=_e(_.get(e))&&_e(_.get(e))!=a&&"application/pdf"!=_e(_.get(e))&&_e(_.get(e))!=o&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=_e(_.get(e))&&"application/vnd.ms-excel"!=_e(_.get(e))&&"type/text"!=_e(_.get(e))||(i="")),"video/url"===_e(_.get(e))&&(s="fr-disabled"),t+='
    \n \n\n \n \n \n\n \n \n
    \n
    \n \n
    \n\n
    \n\n
    \n ")}function Ee(e,t,n){var r=S.popups.get("filesManager.insert");if(!n&&e<=100){r.find(".fr-checkbox-file-"+t).get(0).disabled=!0,r.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),r.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var a=r.find(".fr-file-progress-circle-"+t),o=r.find(".fr-file-upload-percent-"+t);return 50 *")),n=[];for(e=0;e',n.appendChild(r),document.getElementById("signout_button").onclick=a,document.getElementById("cancel_file_edit").onclick=l}function l(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=undefined)});var e=document.getElementById("editDocContainer");e.parentNode.removeChild(e),document.getElementById("user_area-".concat(p.fileIndex))&&(document.getElementById("user_area-".concat(p.fileIndex)).style.display="none"),function r(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),n=0;n'),!0);else S.html.insert('').concat(n,""));var a=S.$el.find("#fr-inserted-file");a.removeAttr("id"),S.undo.saveStep(),function T(){var e,t=Array.prototype.slice.call(S.el.querySelectorAll("a.fr-file")),n=[];for(e=0;e'.concat(x.get(s).video,""),!1,S.opts.videoSplitHTML),S.popups.hide("filesManager.insert");var g=S.$el.find(".fr-jiv");g.removeClass("fr-jiv"),g.toggleClass("fr-rv",S.opts.videoResponsive),function A(e,t,n){!S.opts.htmlUntouched&&S.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(g,S.opts.videoDefaultDisplay,S.opts.videoDefaultAlign),g.toggleClass("fr-draggable",S.opts.videoMove),S.events.trigger("video.inserted",[g]),Le.call(g)}else{var m=x.get(s).link,v=x.get(s).sanitize,b=x.get(s).data,C=x.get(s).$existing_img,E=x.get(s).response;S.edit.off(),v&&(m=S.helpers.sanitizeURL(m)),function L(){var e,t;if(C){S.undo.canDo()||C.find("video").hasClass("fr-uploading")||S.undo.saveStep();var n=C.find("video").data("fr-old-src"),r=C.data("fr-replaced");C.data("fr-replaced",!1),S.$wp?((e=C.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&C.find("video").attr("src",n),C.replaceWith(e)):e=C;for(var a=e.find("video").get(0).attributes,o=0;o"+S.language.translate("Your browser does not support HTML5 video.")+"");else{var c="",d=document.getElementById("fr-file-autoplay-button-"+a).checked;d&&(c="autoplay"),s=R(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+S.opts.videoDefaultDisplay[0]+("center"!=S.opts.videoDefaultAlign?" fr-fv"+S.opts.videoDefaultAlign[0]:"")).html('")}s.toggleClass("fr-draggable",S.opts.videoMove),S.edit.on(),S.events.focus(!0),S.selection.restore(),S.undo.saveStep(),S.opts.videoSplitHTML?S.markers.split():S.markers.insert();S.html.wrap();var f=S.$el.find(".fr-marker");S.node.isLastSibling(f)&&f.parent().hasClass("fr-deletable")&&f.insertAfter(f.parent());f.replaceWith(s);var p="";p=Pe(r)?"audio":"video",s.find(p).get(0).readyState>s.find(p).get(0).HAVE_FUTURE_DATA||S.helpers.isIOS()?n.call(s.find(p).get(0)):(s.find(p).on("canplaythrough load",n),s.find(p).on("error",n));return s}(m,b,Le,_e(x.get(s)),s),Se(),S.undo.saveStep(),S.events.trigger("video.inserted",[e,E])}()}S.popups.hide("filesManager.insert"),M["delete"](s);var y=S.popups.get("filesManager.insert");y.find("input.fr-insert-attr.fr-checkbox-file-".concat(s))[0].checked=!1,y.find(".fr-file-"+s).get(0).classList.add("fr-unchecked"),q(),document.getElementById("fr-file-autoplay-button-"+s)&&(document.getElementById("fr-file-autoplay-button-"+s).checked=!1),k=k.filter(function(e){return e!=s})}function Me(e,t){var n,r;Mt.VIDEO_EMBED_REGEX.test(e)?(n="video",r=S.opts.videoSplitHTML):Mt.IMAGE_EMBED_REGEX.test(e)&&(n="image",r=S.opts.imageSplitHTML),S.events.focus(!0),S.selection.restore();var a=!1;y&&(Xe(),a=!0),S.html.insert('').concat(e,""),!1,r),S.popups.hide("filesManager.insert");var o=S.$el.find(".fr-jiv");o.removeClass("fr-jiv"),"video"==n&&(o.toggleClass("fr-rv",S.opts.videoResponsive),function i(e,t,n){!S.opts.htmlUntouched&&S.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(o,S.opts.videoDefaultDisplay,S.opts.videoDefaultAlign),o.toggleClass("fr-draggable",S.opts.videoMove),S.events.trigger(a?"video.replaced":"video.inserted",[o])),"image"==n&&(lt(o,S.opts.imageDefaultDisplay,S.opts.imageDefaultAlign),o.find("img").removeClass("fr-dii"),o.find("img").addClass("fr-dib"),o.toggleClass("fr-draggable",S.opts.imageMove),S.events.trigger(a?"image.replaced":"image.inserted",[o])),t&&(f=o,S.selection.clear(),S.toolbar.disable(),S.video._editVideo(f))}function Oe(e,t){try{if(!1===S.events.trigger("filesManager.uploaded",[e],!0))return S.edit.on(),!1;var n=JSON.parse(e);return n.link?n:(j(m,e,null,t),!1)}catch(r){return j(D,e,null,t),!1}}function ke(e,t){try{var n=R(e).find("Location").text(),r=R(e).find("Key").text();return!1===S.events.trigger("filesManager.uploadedToS3",[n,r,e],!0)?(S.edit.on(),!1):n}catch(a){return j(D,e,null,t),!1}}function Ne(e,t,n,r){if(-1S.opts.filesManagerMaxSize)return j(B,null,null,r),!1;if(S.opts.filesManagerAllowedTypes.indexOf("*")<0&&S.opts.filesManagerAllowedTypes.indexOf(_e(e))<0)return j(F,null,null,r),!1;var a;if(function E(e){isNaN(e)||(S.popups.get("filesManager.insert").find(".fr-file-item-right-"+e).get(0).innerHTML='
    \n \n\n \n\n
    \n 0%\n
    \n
    \n
    \n
    \n
    \n
    "),L.set(e,0))}(r),S.drag_support.formdata&&(a=S.drag_support.formdata?new FormData:null),a){var o;if(!1!==S.opts.filesManagerUploadToS3)for(o in a.append("key",S.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",_e(e)),S.opts.filesManagerUploadToS3.params)S.opts.filesManagerUploadToS3.params.hasOwnProperty(o)&&a.append(o,S.opts.filesManagerUploadToS3.params[o]);for(o in S.opts.filesManagerUploadParams)S.opts.filesManagerUploadParams.hasOwnProperty(o)&&a.append(o,S.opts.filesManagerUploadParams[o]);a.append(S.opts.filesManagerUploadParam,e,e.name);var i,s,l=S.opts.filesManagerUploadURL;S.opts.filesManagerUploadToS3&&(l=S.opts.filesManagerUploadToS3.uploadURL?S.opts.filesManagerUploadToS3.uploadURL:"https://".concat(S.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(S.opts.filesManagerUploadToS3.bucket)),S.opts.filesManagerUploadToAzure&&(l=S.opts.filesManagerUploadToAzure.uploadURL?"".concat(S.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(S.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(S.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),i=l,S.opts.filesManagerUploadToAzure.SASToken&&(l+=S.opts.filesManagerUploadToAzure.SASToken),S.opts.filesManagerUploadMethod="PUT");var c=S.core.getXHR(l,S.opts.filesManagerUploadMethod);if(S.opts.filesManagerUploadToAzure){var d=(new Date).toUTCString();if(!S.opts.filesManagerUploadToAzure.SASToken&&S.opts.filesManagerUploadToAzure.accessKey){var f=S.opts.filesManagerUploadToAzure.account,p=S.opts.filesManagerUploadToAzure.container;if(S.opts.filesManagerUploadToAzure.uploadURL){var u=S.opts.filesManagerUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var h="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+f+"/"+p+"/"+e.name),m=S.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+_e(e)+"\n\n\n\n\n\n\n"+h+"\n"+g,v=S.cryptoJSPlugin.cryptoJS.HmacSHA256(m,S.cryptoJSPlugin.cryptoJS.enc.Base64.parse(S.opts.filesManagerUploadToAzure.accessKey)).toString(S.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;s=v,c.setRequestHeader("Authorization",b)}for(o in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",_e(e)),c.setRequestHeader("x-ms-blob-type","BlockBlob"),S.opts.filesManagerUploadParams)S.opts.filesManagerUploadParams.hasOwnProperty(o)&&c.setRequestHeader(o,S.opts.filesManagerUploadParams[o]);for(o in S.opts.filesManagerUploadToAzure.params)S.opts.filesManagerUploadToAzure.params.hasOwnProperty(o)&&c.setRequestHeader(o,S.opts.filesManagerUploadToAzure.params[o])}c.onload=function(){Fe(_e(e))?function h(e,t,n,r,a){var o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(S.opts.filesManagerUploadToS3||S.opts.filesManagerUploadToAzure)if(201===o){var c;if(S.opts.filesManagerUploadToAzure){if(!1===S.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,i],!0))return S.edit.on(),!1;c=r}else c=ke(s,t);if(c){var d={link:c,text:e,response:i,type:n};x.set(t,d)}}else j(D,i||s,null,t);else if(200<=o&&o<300){var f=Oe(l,t);if(f){var p={link:f.link,text:e,response:i,type:n};x.set(t,p)}}else j(I,i||l,null,t)}catch(u){j(D,i||l,null,t)}}.call(c,e.name,r,_e(e),i,s):function g(e,t,n,r,a){var o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(S.opts.filesManagerUploadToS3||S.opts.filesManagerUploadToAzure)if(201==o){var c;if(S.opts.filesManagerUploadToAzure){if(!1===S.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,i],!0))return S.edit.on(),!1;c=r}else c=ke(s,t);if(c){var d={link:c,sanitize:!1,data:[],$existing_img:e,response:i||s,type:n};x.set(t,d)}}else j(D,i||s,e,t);else if(200<=o&&o<300){var f=Oe(l,t);if(f){var p={link:f.link,sanitize:!1,data:f,$existing_img:e,response:i||s,type:n};x.set(t,p)}}else j(I,i||l,e,t)}catch(u){j(D,i||l,e,t)}}.call(c,y,r,_e(e),i,s),O.has(r)||Ee(100,r,!0)},c.onerror=function(){j(D,this.response||this.responseText||this.responseXML,null,r)},c.upload.onprogress=function(e){!function n(e,t){e.lengthComputable&&Ee(e.loaded/e.total*100|0,t,!1)}(e,r)},c.onabort=function(e){!function n(e,t){j($,t,y,e)}(r,e)},c.send(S.opts.filesManagerUploadToAzure?e:a),A.set(r,c)}}function Ie(l){S.events.$on(l,"click",".fr-upload-progress-layer",function(e){if(S.helpers.isMobile())return e.stopPropagation(),!1},!0),S.events.$on(l,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t\n \n ";s[0].innerHTML=l+s[0].innerHTML}else if($e(_e(x.get(e)))){var c;if(x.get(e).hasOwnProperty("video")){var d=x.get(e).video.substring(x.get(e).video.indexOf("src")+3),f=d.substring(d.indexOf('"')+1);f=f.substring(0,f.indexOf('"')),c='
    \n
    \n
    ×
    \n \n
    \n
    ')}else c='
    \n
    \n
    ×
    \n \n
    \n
    ";s[0].innerHTML=c+s[0].innerHTML}else if(Pe(_e(x.get(e)))){var p='
    \n
    \n
    ×
    \n \n
    \n
    ');s[0].innerHTML=p+s[0].innerHTML}else if(Fe(_e(x.get(e)))){var u=x.get(e).link,h=x.get(e).text;if(u.endsWith(".pdf")||u.endsWith(".txt")){var g='
    \t\n
    \t\n
    ×
    \t\n \t\n
    \t\n
    ');s[0].innerHTML=g+s[0].innerHTML}else if(0===u.indexOf("blob:")&&S.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(_.get(e),h);else{var m=document.createElement("a");m.href=u,m.download=h,m.click()}}}}(t)}),S.events.$on(l,"click",".fr-file-delete-button",function(e){X(parseInt(this.id.split("-").pop()))}),S.events.$on(l,"click",".fr-file-cancel-upload-button",function(e){!function n(e){var t=S.popups.get("filesManager.insert");t.find(".fr-file-item-right-"+e).get(0).innerHTML=Ce(e),A.get(e).abort(),ye(e,100,!0),t.find(".fr-checkbox-file-"+e).get(0).disabled=!0}(parseInt(this.id.split("-").pop()))}),S.events.$on(l,"click",".fr-upload-delete-button",function(e){!function t(e){0!=A.get(e).readyState&&(A.get(e).abort(),ye(e,100,!0),A["delete"](e)),X(e)}(parseInt(this.id.split("-").pop()))}),S.events.$on(l,"click",".fr-file-view-close",function(e){l.find(".fr-file-view-modal").get(0).outerHTML=""}),S.events.$on(l,"click",".fr-plugins-enable",function(e){!function t(){g.forEach(function(e){S.opts.pluginsEnabled.indexOf(e)<0&&S.opts.pluginsEnabled.push(e)})}(),function n(e){for(var t in e)if(!S[t]){if(Mt.PLUGINS[t]&&S.opts.pluginsEnabled.indexOf(t)<0)continue;S[t]=new e[t](S),S[t]._init&&S[t]._init()}}(Mt.PLUGINS),S.popups.get("filesManager.insert").get(0).outerHTML="",Ue(),C(!0)}),S.events.$on(l,"click",".fr-plugins-cancel",function(e){S.popups.hide("filesManager.insert")}),S.events.$on(l,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),S.events.$on(l,"drop",".fr-files-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),R(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=l.data("instance")||S;n.events.disableBlur();for(var r=[],a=0;a'.concat(a,'').concat(o,""));var i=S.opts.filesInsertButtons.indexOf("filesUpload"),s=S.opts.filesInsertButtons.indexOf("filesByURL"),l=S.opts.filesInsertButtons.indexOf("filesEmbed"),c="";0<=i&&(t=" fr-active",0<=s&&s
    Drag & Drop One or More Files
    OR
    Click Browse Files
    '));var d="";0<=l&&(t=" fr-active",(i
    "));var f="";0<=s&&(t=" fr-active",0<=i&&i
    "));var p={buttons:r,upload_layer:c,by_url_layer:f,embed_layer:d,upload_progress_layer:"
    "),progress_bar:'

    Uploading

    '};return 1<=S.opts.imageInsertButtons.length&&(n=S.popups.create("filesManager.insert",p)),S.$wp&&S.events.$on(S.$wp,"scroll",function(){y&&S.popups.isVisible("filesManager.insert")&&replace()}),Ie(n),S.popups.setPopupDimensions(n),n}function Ke(e){var t=e.split("/").pop();if(t.split(".").length<2){var n=new Date;return t+"-"+n.getDate()+"/"+(n.getMonth()+1)+"/"+n.getFullYear()}return t}function ze(){y&&S.popups.get("image.alt").find("input").val(y.attr("alt")||"").trigger("change")}function We(){var e=S.popups.get("image.alt");e||(e=Ve()),J(),S.popups.refresh("image.alt"),S.popups.setContainer("image.alt",S.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();S.popups.show("image.alt",n,r,t.outerHeight(),!0)}function Ve(e){if(e)return S.popups.onRefresh("image.alt",ze),!0;var t={buttons:'
    '.concat(S.button.buildList(S.opts.imageAltButtons),"
    "),alt_layer:'
    ")},n=S.popups.create("image.alt",t);return S.$wp&&S.events.$on(S.$wp,"scroll.image-alt",function(){y&&S.popups.isVisible("image.alt")&&We()}),n}function Ge(){var e=S.popups.get("image.size");if(y)if(ft()){var t=y.parent();t.get(0).style.width||(t=y.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(y.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(y.get(0).style.height).trigger("change")}function Ye(){var e=S.popups.get("image.size");e||(e=je()),J(),S.popups.refresh("image.size"),S.popups.setContainer("image.size",S.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();S.popups.show("image.size",n,r,t.outerHeight(),!0)}function je(e){if(e)return S.popups.onRefresh("image.size",Ge),!0;var t={buttons:'
    '.concat(S.button.buildList(S.opts.imageSizeButtons),"
    "),size_layer:'
    ")},n=S.popups.create("image.size",t);return S.$wp&&S.events.$on(S.$wp,"scroll.image-size",function(){y&&S.popups.isVisible("image.size")&&Ye()}),n}function qe(e,t,n,r){return e.pageX=t,W.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),V.call(this,e),G.call(this,e),++r}function Xe(e){(e=e||dt())&&!1!==S.events.trigger("image.beforeRemove",[e])&&(S.popups.hideAll(),at(!0),S.undo.canDo()||S.undo.saveStep(),e.get(0)==S.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(S.selection.setBefore(e.get(0).parentNode)||S.selection.setAfter(e.get(0).parentNode)||e.parent().after(Mt.MARKERS),R(e.get(0).parentNode).remove()):(S.selection.setBefore(e.get(0))||S.selection.setAfter(e.get(0))||e.after(Mt.MARKERS),e.remove()),S.html.fillEmptyBlocks(),S.selection.restore()),S.undo.saveStep())}function Ze(e){var t=e.which;if(y&&(t==Mt.KEYCODE.BACKSPACE||t==Mt.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),Xe(),!1;if(y&&t==Mt.KEYCODE.ESC){var n=y;return at(!0),S.selection.setAfter(n.get(0)),S.selection.restore(),e.preventDefault(),!1}if(!y||t!=Mt.KEYCODE.ARROW_LEFT&&t!=Mt.KEYCODE.ARROW_RIGHT)return y&&t===Mt.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),at(!0),!1):y&&t!=Mt.KEYCODE.F10&&!S.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var r=y.get(0);return at(!0),t==Mt.KEYCODE.ARROW_LEFT?S.selection.setBefore(r):S.selection.setAfter(r),S.selection.restore(),e.preventDefault(),!1}function Qe(e){if(e&&"IMG"==e.tagName){if(S.node.hasClass(e,"fr-uploading")||S.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):S.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&S.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var n=e.nextSibling;n&&n.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var r=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a"));var r=S.$el.find('img[data-fr-image-pasted="true"]');r&<(r,S.opts.imageDefaultDisplay,S.opts.imageDefaultAlign),S.events.trigger("paste.after")}function nt(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var n=0;n"):R(S.node.blockParent(e.get(0))).after("<".concat(S.html.defaultTag(),">
    ")))})})(),"IMG"==S.el.tagName&&S.$el.addClass("fr-view"),S.helpers.isMobile()&&(S.events.$on(S.$el,"touchstart","IMG"==S.el.tagName?null:'img:not([contenteditable="false"])',function(){de=!1}),S.events.$on(S.$el,"touchmove",function(){de=!0})),S.$wp?(S.events.on("window.keydown keydown",Ze,!0),S.events.on("keyup",function(e){if(y&&e.which==Mt.KEYCODE.ENTER)return!1},!0),S.events.$on(S.$el,"keydown",function(){var e=S.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&S.node.isLastSibling(e))&&(e=e.parentNode),S.node.hasClass(e,"fr-inner")||(S.node.hasClass(e,"fr-img-caption")||(e=R(e).parents(".fr-img-caption").get(0)),S.node.hasClass(e,"fr-img-caption")&&(R(e).after(Mt.INVISIBLE_SPACE+Mt.MARKERS),S.selection.restore()))})):S.events.$on(S.$win,"keydown",Ze),S.events.on("toolbar.esc",function(){if(y){if(S.$wp)S.events.disableBlur(),S.events.focus();else{var e=y;at(!0),S.selection.setAfter(e.get(0)),S.selection.restore()}return!1}},!0),S.events.on("toolbar.focusEditor",function(){if(y)return!1},!0),S.events.on("window.cut window.copy",function(e){if(y&&S.popups.isVisible("image.edit")&&!S.popups.get("image.edit").find(":focus").length){var t=dt();ft()?(t.before(Mt.START_MARKER),t.after(Mt.END_MARKER),S.selection.restore(),S.paste.saveCopiedText(t.get(0).outerHTML,t.text())):S.paste.saveCopiedText(y.get(0).outerHTML,y.attr("alt")),"copy"==e.type?setTimeout(function(){Ae(y)}):(at(!0),S.undo.saveStep(),setTimeout(function(){S.undo.saveStep()},0))}},!0),S.browser.msie&&S.events.on("keydown",function(e){if(!S.selection.isCollapsed()||!y)return!0;var t=e.which;t==Mt.KEYCODE.C&&S.keys.ctrlKey(e)?S.events.trigger("window.copy"):t==Mt.KEYCODE.X&&S.keys.ctrlKey(e)&&S.events.trigger("window.cut")}),S.events.$on(R(S.o_win),"keydown",function(e){var t=e.which;if(y&&t==Mt.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),S.events.$on(S.$win,"keydown",function(e){var t=e.which;y&&y.hasClass("fr-uploading")&&t==Mt.KEYCODE.ESC&&y.trigger("abortUpload")}),S.events.on("destroy",function(){y&&y.hasClass("fr-uploading")&&y.trigger("abortUpload")}),S.events.on("paste.before",nt),S.events.on("paste.beforeCleanup",rt),S.events.on("paste.after",et),S.events.on("html.processGet",Qe),S.opts.imageOutputSize&&S.events.on("html.beforeGet",function(){r=S.el.querySelectorAll("img");for(var e=0;e \n '.concat(S.button.buildList(S.opts.imageEditButtons),"\n ")};return S.popups.create("image.edit",n)}return!1}(!0),Ue(!0),je(!0),Ve(!0),S.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return Xe(e),!1}),S.events.on("popups.hide.filesManager.insert",function(e){S.filesManager.minimizePopup(w)})},showInsertPopup:C,showLayer:function ut(e){var t,n,r=S.popups.get("filesManager.insert");if(y||S.opts.toolbarInline){if(y){var a=dt();ft()&&(a=a.find(".fr-img-wrap")),n=a.offset().top+a.outerHeight(),t=a.offset().left}}else{var o=S.$tb.find('.fr-command[data-cmd="insertFiles"]');t=o.offset().left,n=o.offset().top+(S.opts.toolbarBottom?10:o.outerHeight()-10)}!y&&S.opts.toolbarInline&&(n=r.offset().top-S.helpers.getPX(r.css("margin-top")),r.hasClass("fr-above")&&(n+=r.outerHeight())),r.find(".fr-layer").removeClass("fr-active"),r.find(".fr-".concat(e,"-layer")).addClass("fr-active"),r.find(".fr-upload-progress-layer").addClass("fr-active"),S.popups.show("filesManager.insert",t,n,y?y.outerHeight():0),S.accessibility.focusPopup(r)},refreshUploadButton:function ht(e){var t=S.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function gt(e){var t=S.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:Ne,insertByURL:function mt(){for(var e,t=S.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),n=t.val().trim().split(/[ ,]+/),r=[],a=0,o=0;o

     

    '),e.wrap(''),y.after('").concat(Mt.START_MARKER).concat(S.language.translate("Image Caption")).concat(Mt.END_MARKER,"")),y.removeAttr("class").removeAttr("style").removeAttr("width"),y.parents(".fr-img-caption").css("width",s),at(!0),S.selection.restore()}else e=dt(),y.insertAfter(e),y.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),Ae(y)},refreshEmbedButton:function Tt(e){var t=S.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function At(e){void 0===e&&(e=S.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0===e.length||!Mt.VIDEO_EMBED_REGEX.test(e)&&!Mt.IMAGE_EMBED_REGEX.test(e)?(te(S.language.translate("Something went wrong. Please try again.")),Mt.VIDEO_EMBED_REGEX.test(e)&&S.events.trigger("video.codeError",[e])):Me(e)},hasCaption:ft,exitEdit:at,edit:Ae,cancelFileInsert:function Lt(){this.file_manager_dialog_open=!1,A.forEach(function(e,t){4!=e.readyState&&(e.abort(),X(t))});var e=S.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),o=0,A=new Map,L=new Map,Z(),S.popups.hide("filesManager.insert")},minimizePopup:function St(e){this.file_manager_dialog_open=!1,S.popups.hide("filesManager.insert"),Z()},editImage:Re,saveImage:function wt(e){var t=x.get(i);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),x.set(i,t)},_showErrorMessage:te,_showFileErrorMessage:ne,getFileThumbnail:be,deleteFile:X,checkAutoplay:De,checkInsertAllState:q,_disableInsertCheckbox:Y,_getFileType:_e,isChildWindowOpen:function Rt(){return p},setChildWindowState:function _t(e){e!==undefined&&(p=e)},resetAllFilesCheckbox:Z}},Mt.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),Mt.RegisterShortcut(Mt.KEYCODE.P,"insertFiles",null,"P"),Mt.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),Mt.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),Mt.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),Mt.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),Mt.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),Mt.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),Mt.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),Mt.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),Mt.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),Mt.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),Mt.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),Mt.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),Mt.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),Mt.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),Mt.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),Mt.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),Mt.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),Mt.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),Mt.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),Mt.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),Mt.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}}),Mt.PLUGINS.cryptoJSPlugin=function(e){var t,d,n,r,a,o,i,f,s,l,c,p,u,h,g,v,m,b,C,E,y,T,A,L,S,w,R,_,x,M,O,k,N,I,D,B,F,$,P,H,U,K,z,W,V,G,Y,j,q,X,Z,Q,J,ee,te,ne,re,ae,oe,ie,se,le,ce,de,fe,pe,ue,he,ge,me,ve=ve||function(d,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&"undefined"!=typeof global&&global.crypto&&(t=global.crypto),!t&&"function"==typeof require)try{t=require("crypto")}catch(g){}var r=function r(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function n(){}return function(e){var t;return n.prototype=e,t=new n,n.prototype=null,t}}(),a={},o=a.lib={},i=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},f=o.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,a=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=i<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=d.ceil(t/4)},clone:function e(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-a%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new f.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>24-a%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new f.init(n,t)}},p=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=o.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,n=this._data,r=n.words,a=n.sigBytes,o=this.blockSize,i=a/(4*o),s=(i=e?d.ceil(i):d.max((0|i)-this._minBufferSize,0))*o,l=d.min(4*s,a);if(s){for(var c=0;c>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var a=0;a>>6-o%4*2,l=i|s;r[a>>>2]|=l<<24-a%4*8,a++}return d.create(r,a)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(d){var e=ve,t=e.lib,n=t.WordArray,r=t.Hasher,a=e.algo,w=[];!function(){for(var e=0;e<64;e++)w[e]=4294967296*d.abs(d.sin(e+1))|0}();var o=a.MD5=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,a=e[r];e[r]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var o=this._hash.words,i=e[t+0],s=e[t+1],l=e[t+2],c=e[t+3],d=e[t+4],f=e[t+5],p=e[t+6],u=e[t+7],h=e[t+8],g=e[t+9],m=e[t+10],v=e[t+11],b=e[t+12],C=e[t+13],E=e[t+14],y=e[t+15],T=o[0],A=o[1],L=o[2],S=o[3];A=M(A=M(A=M(A=M(A=x(A=x(A=x(A=x(A=_(A=_(A=_(A=_(A=R(A=R(A=R(A=R(A,L=R(L,S=R(S,T=R(T,A,L,S,i,7,w[0]),A,L,s,12,w[1]),T,A,l,17,w[2]),S,T,c,22,w[3]),L=R(L,S=R(S,T=R(T,A,L,S,d,7,w[4]),A,L,f,12,w[5]),T,A,p,17,w[6]),S,T,u,22,w[7]),L=R(L,S=R(S,T=R(T,A,L,S,h,7,w[8]),A,L,g,12,w[9]),T,A,m,17,w[10]),S,T,v,22,w[11]),L=R(L,S=R(S,T=R(T,A,L,S,b,7,w[12]),A,L,C,12,w[13]),T,A,E,17,w[14]),S,T,y,22,w[15]),L=_(L,S=_(S,T=_(T,A,L,S,s,5,w[16]),A,L,p,9,w[17]),T,A,v,14,w[18]),S,T,i,20,w[19]),L=_(L,S=_(S,T=_(T,A,L,S,f,5,w[20]),A,L,m,9,w[21]),T,A,y,14,w[22]),S,T,d,20,w[23]),L=_(L,S=_(S,T=_(T,A,L,S,g,5,w[24]),A,L,E,9,w[25]),T,A,c,14,w[26]),S,T,h,20,w[27]),L=_(L,S=_(S,T=_(T,A,L,S,C,5,w[28]),A,L,l,9,w[29]),T,A,u,14,w[30]),S,T,b,20,w[31]),L=x(L,S=x(S,T=x(T,A,L,S,f,4,w[32]),A,L,h,11,w[33]),T,A,v,16,w[34]),S,T,E,23,w[35]),L=x(L,S=x(S,T=x(T,A,L,S,s,4,w[36]),A,L,d,11,w[37]),T,A,u,16,w[38]),S,T,m,23,w[39]),L=x(L,S=x(S,T=x(T,A,L,S,C,4,w[40]),A,L,i,11,w[41]),T,A,c,16,w[42]),S,T,p,23,w[43]),L=x(L,S=x(S,T=x(T,A,L,S,g,4,w[44]),A,L,b,11,w[45]),T,A,y,16,w[46]),S,T,l,23,w[47]),L=M(L,S=M(S,T=M(T,A,L,S,i,6,w[48]),A,L,u,10,w[49]),T,A,E,15,w[50]),S,T,f,21,w[51]),L=M(L,S=M(S,T=M(T,A,L,S,b,6,w[52]),A,L,c,10,w[53]),T,A,m,15,w[54]),S,T,s,21,w[55]),L=M(L,S=M(S,T=M(T,A,L,S,h,6,w[56]),A,L,y,10,w[57]),T,A,p,15,w[58]),S,T,C,21,w[59]),L=M(L,S=M(S,T=M(T,A,L,S,d,6,w[60]),A,L,v,10,w[61]),T,A,l,15,w[62]),S,T,g,21,w[63]),o[0]=o[0]+T|0,o[1]=o[1]+A|0,o[2]=o[2]+L|0,o[3]=o[3]+S|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32;var a=d.floor(n/4294967296),o=n;t[15+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,s=i.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return i},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function R(e,t,n,r,a,o,i){var s=e+(t&n|~t&r)+a+i;return(s<>>32-o)+t}function _(e,t,n,r,a,o,i){var s=e+(t&r|n&~r)+a+i;return(s<>>32-o)+t}function x(e,t,n,r,a,o,i){var s=e+(t^n^r)+a+i;return(s<>>32-o)+t}function M(e,t,n,r,a,o,i){var s=e+(n^(t|~r))+a+i;return(s<>>32-o)+t}e.MD5=r._createHelper(o),e.HmacMD5=r._createHmacHelper(o)}(Math),r=(n=ve).lib,a=r.WordArray,o=r.Hasher,i=n.algo,f=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=0;l<80;l++){if(l<16)f[l]=0|e[t+l];else{var c=f[l-3]^f[l-8]^f[l-14]^f[l-16];f[l]=c<<1|c>>>31}var d=(r<<5|r>>>27)+s+f[l];d+=l<20?1518500249+(a&o|~a&i):l<40?1859775393+(a^o^i):l<60?(a&o|a&i|o&i)-1894007588:(a^o^i)-899497514,s=i,i=o,o=a<<30|a>>>2,a=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=o._createHelper(s),n.HmacSHA1=o._createHmacHelper(s),function(a){var e=ve,t=e.lib,n=t.WordArray,r=t.Hasher,o=e.algo,i=[],C=[];!function(){function e(e){for(var t=a.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,r=0;r<64;)e(n)&&(r<8&&(i[r]=t(a.pow(n,.5))),C[r]=t(a.pow(n,1/3)),r++),n++}();var E=[],s=o.SHA256=r.extend({_doReset:function(){this._hash=new n.init(i.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],d=n[7],f=0;f<64;f++){if(f<16)E[f]=0|e[t+f];else{var p=E[f-15],u=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,h=E[f-2],g=(h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10;E[f]=u+E[f-7]+g+E[f-16]}var m=r&a^r&o^a&o,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&c)+C[f]+E[f];d=c,c=l,l=s,s=i+b|0,i=o,o=a,a=r,r=b+(v+m)|0}n[0]=n[0]+r|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+c|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=a.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=r._createHelper(s),e.HmacSHA256=r._createHmacHelper(s)}(Math),function(){var e=ve,a=e.lib.WordArray,t=e.enc;t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>1]|=e.charCodeAt(r)<<16-r%2*16;return a.create(n,2*t)}};function i(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>1]|=i(e.charCodeAt(r)<<16-r%2*16);return a.create(n,2*t)}}}(),function(){if("function"==typeof ArrayBuffer){var e=ve.lib.WordArray,a=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;a.call(this,n,t)}else a.apply(this,arguments)}).prototype=e}}(),function(e){var t=ve,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,A=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),L=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),S=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),w=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),R=r.create([0,1518500249,1859775393,2400959708,2840853838]),_=r.create([1352829926,1548603684,1836072691,2053994217,0]),i=o.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,a=e[r];e[r]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var o,i,s,l,c,d,f,p,u,h,g,m=this._hash.words,v=R.words,b=_.words,C=A.words,E=L.words,y=S.words,T=w.words;d=o=m[0],f=i=m[1],p=s=m[2],u=l=m[3],h=c=m[4];for(n=0;n<80;n+=1)g=o+e[t+C[n]]|0,g+=n<16?x(i,s,l)+v[0]:n<32?M(i,s,l)+v[1]:n<48?O(i,s,l)+v[2]:n<64?k(i,s,l)+v[3]:N(i,s,l)+v[4],g=(g=I(g|=0,y[n]))+c|0,o=c,c=l,l=I(s,10),s=i,i=g,g=d+e[t+E[n]]|0,g+=n<16?N(f,p,u)+b[0]:n<32?k(f,p,u)+b[1]:n<48?O(f,p,u)+b[2]:n<64?M(f,p,u)+b[3]:x(f,p,u)+b[4],g=(g=I(g|=0,T[n]))+h|0,d=h,h=u,u=I(p,10),p=f,f=g;g=m[1]+s+u|0,m[1]=m[2]+l+h|0,m[2]=m[3]+c+d|0,m[3]=m[4]+o+f|0,m[4]=m[0]+i+p|0,m[0]=g},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var a=this._hash,o=a.words,i=0;i<5;i++){var s=o[i];o[i]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return a},clone:function e(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function x(e,t,n){return e^t^n}function M(e,t,n){return e&t|~e&n}function O(e,t,n){return(e|~t)^n}function k(e,t,n){return e&n|t&~n}function N(e,t,n){return e^(t|~n)}function I(e,t){return e<>>32-t}t.RIPEMD160=a._createHelper(i),t.HmacRIPEMD160=a._createHmacHelper(i)}(Math),c=(l=ve).lib.Base,p=l.enc.Utf8,l.algo.HMAC=c.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=p.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),i=a.words,s=o.words,l=0;l>>24)|4278255360&(o<<24|o>>>8),i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),(L=n[a]).high^=i,L.low^=o}for(var s=0;s<24;s++){for(var l=0;l<5;l++){for(var c=0,d=0,f=0;f<5;f++){c^=(L=n[l+5*f]).high,d^=L.low}var p=k[l];p.high=c,p.low=d}for(l=0;l<5;l++){var u=k[(l+4)%5],h=k[(l+1)%5],g=h.high,m=h.low;for(c=u.high^(g<<1|m>>>31),d=u.low^(m<<1|g>>>31),f=0;f<5;f++){(L=n[l+5*f]).high^=c,L.low^=d}}for(var v=1;v<25;v++){var b=(L=n[v]).high,C=L.low,E=x[v];d=E<32?(c=b<>>32-E,C<>>32-E):(c=C<>>64-E,b<>>64-E);var y=k[M[v]];y.high=c,y.low=d}var T=k[0],A=n[0];T.high=A.high,T.low=A.low;for(l=0;l<5;l++)for(f=0;f<5;f++){var L=n[v=l+5*f],S=k[v],w=k[(l+1)%5+5*f],R=k[(l+2)%5+5*f];L.high=S.high^~w.high&R.high,L.low=S.low^~w.low&R.low}L=n[0];var _=O[s];L.high^=_.high,L.low^=_.low}},_doFinalize:function(){var e=this._data,t=e.words,n=(this._nDataBytes,8*e.sigBytes),r=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(p.ceil((n+1)/r)*r>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var a=this._state,o=this.cfg.outputLength/8,i=o/8,s=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),s.push(f),s.push(d)}return new u.init(s,o)},clone:function e(){for(var e=r.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});e.SHA3=r._createHelper(a),e.HmacSHA3=r._createHmacHelper(a)}(Math),function(){var e=ve,t=e.lib.Hasher,n=e.x64,r=n.Word,a=n.WordArray,o=e.algo;function i(){return r.create.apply(r,arguments)}var Ae=[i(1116352408,3609767458),i(1899447441,602891725),i(3049323471,3964484399),i(3921009573,2173295548),i(961987163,4081628472),i(1508970993,3053834265),i(2453635748,2937671579),i(2870763221,3664609560),i(3624381080,2734883394),i(310598401,1164996542),i(607225278,1323610764),i(1426881987,3590304994),i(1925078388,4068182383),i(2162078206,991336113),i(2614888103,633803317),i(3248222580,3479774868),i(3835390401,2666613458),i(4022224774,944711139),i(264347078,2341262773),i(604807628,2007800933),i(770255983,1495990901),i(1249150122,1856431235),i(1555081692,3175218132),i(1996064986,2198950837),i(2554220882,3999719339),i(2821834349,766784016),i(2952996808,2566594879),i(3210313671,3203337956),i(3336571891,1034457026),i(3584528711,2466948901),i(113926993,3758326383),i(338241895,168717936),i(666307205,1188179964),i(773529912,1546045734),i(1294757372,1522805485),i(1396182291,2643833823),i(1695183700,2343527390),i(1986661051,1014477480),i(2177026350,1206759142),i(2456956037,344077627),i(2730485921,1290863460),i(2820302411,3158454273),i(3259730800,3505952657),i(3345764771,106217008),i(3516065817,3606008344),i(3600352804,1432725776),i(4094571909,1467031594),i(275423344,851169720),i(430227734,3100823752),i(506948616,1363258195),i(659060556,3750685593),i(883997877,3785050280),i(958139571,3318307427),i(1322822218,3812723403),i(1537002063,2003034995),i(1747873779,3602036899),i(1955562222,1575990012),i(2024104815,1125592928),i(2227730452,2716904306),i(2361852424,442776044),i(2428436474,593698344),i(2756734187,3733110249),i(3204031479,2999351573),i(3329325298,3815920427),i(3391569614,3928383900),i(3515267271,566280711),i(3940187606,3454069534),i(4118630271,4000239992),i(116418474,1914138554),i(174292421,2731055270),i(289380356,3203993006),i(460393269,320620315),i(685471733,587496836),i(852142971,1086792851),i(1017036298,365543100),i(1126000580,2618297676),i(1288033470,3409855158),i(1501505948,4234509866),i(1607167915,987167468),i(1816402316,1246189591)],Le=[];!function(){for(var e=0;e<80;e++)Le[e]=i()}();var s=o.SHA512=t.extend({_doReset:function(){this._hash=new a.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],d=n[7],f=r.high,p=r.low,u=a.high,h=a.low,g=o.high,m=o.low,v=i.high,b=i.low,C=s.high,E=s.low,y=l.high,T=l.low,A=c.high,L=c.low,S=d.high,w=d.low,R=f,_=p,x=u,M=h,O=g,k=m,N=v,I=b,D=C,B=E,F=y,$=T,P=A,H=L,U=S,K=w,z=0;z<80;z++){var W,V,G=Le[z];if(z<16)V=G.high=0|e[t+2*z],W=G.low=0|e[t+2*z+1];else{var Y=Le[z-15],j=Y.high,q=Y.low,X=(j>>>1|q<<31)^(j>>>8|q<<24)^j>>>7,Z=(q>>>1|j<<31)^(q>>>8|j<<24)^(q>>>7|j<<25),Q=Le[z-2],J=Q.high,ee=Q.low,te=(J>>>19|ee<<13)^(J<<3|ee>>>29)^J>>>6,ne=(ee>>>19|J<<13)^(ee<<3|J>>>29)^(ee>>>6|J<<26),re=Le[z-7],ae=re.high,oe=re.low,ie=Le[z-16],se=ie.high,le=ie.low;V=(V=(V=X+ae+((W=Z+oe)>>>0>>0?1:0))+te+((W+=ne)>>>0>>0?1:0))+se+((W+=le)>>>0>>0?1:0),G.high=V,G.low=W}var ce,de=D&F^~D&P,fe=B&$^~B&H,pe=R&x^R&O^x&O,ue=_&M^_&k^M&k,he=(R>>>28|_<<4)^(R<<30|_>>>2)^(R<<25|_>>>7),ge=(_>>>28|R<<4)^(_<<30|R>>>2)^(_<<25|R>>>7),me=(D>>>14|B<<18)^(D>>>18|B<<14)^(D<<23|B>>>9),ve=(B>>>14|D<<18)^(B>>>18|D<<14)^(B<<23|D>>>9),be=Ae[z],Ce=be.high,Ee=be.low,ye=U+me+((ce=K+ve)>>>0>>0?1:0),Te=ge+ue;U=P,K=H,P=F,H=$,F=D,$=B,D=N+(ye=(ye=(ye=ye+de+((ce=ce+fe)>>>0>>0?1:0))+Ce+((ce=ce+Ee)>>>0>>0?1:0))+V+((ce=ce+W)>>>0>>0?1:0))+((B=I+ce|0)>>>0>>0?1:0)|0,N=O,I=k,O=x,k=M,x=R,M=_,R=ye+(he+pe+(Te>>>0>>0?1:0))+((_=ce+Te|0)>>>0>>0?1:0)|0}p=r.low=p+_,r.high=f+R+(p>>>0<_>>>0?1:0),h=a.low=h+M,a.high=u+x+(h>>>0>>0?1:0),m=o.low=m+k,o.high=g+O+(m>>>0>>0?1:0),b=i.low=b+I,i.high=v+N+(b>>>0>>0?1:0),E=s.low=E+B,s.high=C+D+(E>>>0>>0?1:0),T=l.low=T+$,l.high=y+F+(T>>>0<$>>>0?1:0),L=c.low=L+H,c.high=A+P+(L>>>0>>0?1:0),w=d.low=w+K,d.high=S+U+(w>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function e(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(s),e.HmacSHA512=t._createHmacHelper(s)}(),P=($=ve).x64,H=P.Word,U=P.WordArray,K=$.algo,z=K.SHA512,W=K.SHA384=z.extend({_doReset:function(){this._hash=new U.init([new H.init(3418070365,3238371032),new H.init(1654270250,914150663),new H.init(2438529370,812702999),new H.init(355462360,4144912697),new H.init(1731405415,4290775857),new H.init(2394180231,1750603025),new H.init(3675008525,1694076839),new H.init(1203062813,3204075428)])},_doFinalize:function(){var e=z._doFinalize.call(this);return e.sigBytes-=16,e}}),$.SHA384=z._createHelper(W),$.HmacSHA384=z._createHmacHelper(W),ve.lib.Cipher||(G=(V=ve).lib,Y=G.Base,j=G.WordArray,q=G.BufferedBlockAlgorithm,(X=V.enc).Utf8,Z=X.Base64,Q=V.algo.EvpKDF,J=G.Cipher=q.extend({cfg:Y.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){q.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function a(e){return"string"==typeof e?le:ie}return function(r){return{encrypt:function(e,t,n){return a(t).encrypt(r,e,t,n)},decrypt:function(e,t,n){return a(t).decrypt(r,e,t,n)}}}}()}),G.StreamCipher=J.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),ee=V.mode={},te=G.BlockCipherMode=Y.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),ne=ee.CBC=function(){var e=te.extend();function o(e,t,n){var r,a=this._iv;a?(r=a,this._iv=void 0):r=this._prevBlock;for(var o=0;o>>2];e.sigBytes-=t}},G.BlockCipher=J.extend({cfg:J.cfg.extend({mode:ne,padding:re}),reset:function(){var e;J.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),ae=G.CipherParams=Y.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),oe=(V.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?j.create([1398893684,1701076831]).concat(n).concat(t):t).toString(Z)},parse:function(e){var t,n=Z.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=j.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),ae.create({ciphertext:n,salt:t})}},ie=G.SerializableCipher=Y.extend({cfg:Y.extend({format:oe}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var a=e.createEncryptor(n,r),o=a.finalize(t),i=a.cfg;return ae.create({ciphertext:o,key:n,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),se=(V.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=j.random(8));var a=Q.create({keySize:t+n}).compute(e,r),o=j.create(a.words.slice(t),4*n);return a.sigBytes=4*t,ae.create({key:a,iv:o,salt:r})}},le=G.PasswordBasedCipher=ie.extend({cfg:ie.cfg.extend({kdf:se}),encrypt:function(e,t,n,r){var a=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=a.iv;var o=ie.encrypt.call(this,e,t,a.key,r);return o.mixIn(a),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var a=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=a.iv,ie.decrypt.call(this,e,t,a.key,r)}})),ve.mode.CFB=function(){var e=ve.lib.BlockCipherMode.extend();function o(e,t,n,r){var a,o=this._iv;o?(a=o.slice(0),this._iv=undefined):a=this._prevBlock,r.encryptBlock(a,0);for(var i=0;i>>2]|=a<<24-o%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso10126={pad:function(e,t){var n=4*t,r=n-e.sigBytes%n;e.concat(ve.lib.WordArray.random(r-1)).concat(ve.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso97971={pad:function(e,t){e.concat(ve.lib.WordArray.create([2147483648],1)),ve.pad.ZeroPadding.pad(e,t)},unpad:function(e){ve.pad.ZeroPadding.unpad(e),e.sigBytes--}},ve.mode.OFB=(de=ve.lib.BlockCipherMode.extend(),fe=de.Encryptor=de.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._keystream;a&&(o=this._keystream=a.slice(0),this._iv=undefined),n.encryptBlock(o,0);for(var i=0;i>>8^255&a^99,c[n]=a;var o=e[d[a]=n],i=e[o],s=e[i],l=257*e[a]^16843008*a;f[n]=l<<24|l>>>8,p[n]=l<<16|l>>>16,u[n]=l<<8|l>>>24,h[n]=l;l=16843009*s^65537*i^257*o^16843008*n;g[a]=l<<24|l>>>8,m[a]=l<<16|l>>>16,v[a]=l<<8|l>>>24,b[a]=l,n?(n=o^e[e[e[s^o]]],r^=e[e[r]]):n=r=1}}();var C=[0,1,2,4,8,16,32,64,128,27,54],r=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]):(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=C[o/n|0]<<24),a[o]=a[o-n]^l);for(var i=this._invKeySchedule=[],s=0;s>>24]]^m[c[l>>>16&255]]^v[c[l>>>8&255]]^b[c[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,f,p,u,h,c)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,g,m,v,b,d);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,a,o,i,s){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],f=e[t+2]^n[2],p=e[t+3]^n[3],u=4,h=1;h>>24]^a[d>>>16&255]^o[f>>>8&255]^i[255&p]^n[u++],m=r[d>>>24]^a[f>>>16&255]^o[p>>>8&255]^i[255&c]^n[u++],v=r[f>>>24]^a[p>>>16&255]^o[c>>>8&255]^i[255&d]^n[u++],b=r[p>>>24]^a[c>>>16&255]^o[d>>>8&255]^i[255&f]^n[u++];c=g,d=m,f=v,p=b}g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^n[u++],m=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^n[u++],v=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[u++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[u++];e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=b},keySize:8});e.AES=t._createHelper(r)}(),function(){var e=ve,t=e.lib,a=t.WordArray,n=t.BlockCipher,r=e.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],d=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],o=r.DES=n.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=c[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var a=this._subKeys=[],o=0;o<16;o++){var i=a[o]=[],s=f[o];for(n=0;n<24;n++)i[n/6|0]|=t[(d[n]-1+s)%28]<<31-n%6,i[4+(n/6|0)]|=t[28+(d[n+24]-1+s)%28]<<31-n%6;i[0]=i[0]<<1|i[0]>>>31;for(n=1;n<7;n++)i[n]=i[n]>>>4*(n-1)+3;i[7]=i[7]<<5|i[7]>>>27}var l=this._invSubKeys=[];for(n=0;n<16;n++)l[n]=a[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),h.call(this,1,1431655765);for(var r=0;r<16;r++){for(var a=n[r],o=this._lBlock,i=this._rBlock,s=0,l=0;l<8;l++)s|=p[l][((i^a[l])&u[l])>>>0];this._lBlock=i,this._rBlock=o^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,h.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),r=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=o.createEncryptor(a.create(t)),this._des2=o.createEncryptor(a.create(n)),this._des3=o.createEncryptor(a.create(r))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=n._createHelper(i)}(),function(){var e=ve,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],a=0;a<256;a++)r[a]=a;a=0;for(var o=0;a<256;a++){var i=a%n,s=t[i>>>2]>>>24-i%4*8&255;o=(o+r[a]+s)%256;var l=r[a];r[a]=r[o],r[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,a=0;a<4;a++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*a}return this._i=t,this._j=n,r}e.RC4=t._createHelper(r);var o=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;0>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}var t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=undefined),function l(e){return 0===(e[0]=c(e[0]))&&(e[1]=c(e[1])),e}(o);var i=o.slice(0);n.encryptBlock(i,0);for(var s=0;s>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(n=this._b=0;n<4;n++)p.call(this);for(n=0;n<8;n++)a[n]^=r[n+4&7];if(t){var o=t.words,i=o[0],s=o[1],l=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;a[0]^=l,a[1]^=d,a[2]^=c,a[3]^=f,a[4]^=l,a[5]^=d,a[6]^=c,a[7]^=f;for(n=0;n<4;n++)p.call(this)}},_doProcessBlock:function(e,t){var n=this._X;p.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)a[r]=16711935&(a[r]<<8|a[r]>>>24)|4278255360&(a[r]<<24|a[r]>>>8),e[t+r]^=a[r]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,n=0;n<8;n++)l[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,o=r>>>16,i=((a*a>>>17)+a*o>>>15)+o*o,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=i^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.Rabbit=t._createHelper(r)}(),ve.mode.CTR=(ge=ve.lib.BlockCipherMode.extend(),me=ge.Encryptor=ge.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=undefined);var i=o.slice(0);n.encryptBlock(i,0),o[r-1]=o[r-1]+1|0;for(var s=0;s>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],a=this._b=0;a<4;a++)p.call(this);for(a=0;a<8;a++)r[a]^=n[a+4&7];if(t){var o=t.words,i=o[0],s=o[1],l=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;r[0]^=l,r[1]^=d,r[2]^=c,r[3]^=f,r[4]^=l,r[5]^=d,r[6]^=c,r[7]^=f;for(a=0;a<4;a++)p.call(this)}},_doProcessBlock:function(e,t){var n=this._X;p.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)a[r]=16711935&(a[r]<<8|a[r]>>>24)|4278255360&(a[r]<<24|a[r]>>>8),e[t+r]^=a[r]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,n=0;n<8;n++)l[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,o=r>>>16,i=((a*a>>>17)+a*o>>>15)+o*o,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=i^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.RabbitLegacy=t._createHelper(r)}(),ve.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;0<=n;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},{init:function be(){},cryptoJS:ve}},Object.assign(Mt.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),Mt.PLUGINS.fontFamily=function(a){var o=a.$;function i(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return o(this).grep(t,function(e){return 0 span").text(a.opts.fontFamily[n()]||t[0]||a.language.translate(a.opts.fontFamilyDefaultSelection))}}}},Mt.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='"},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),Mt.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"}),Object.assign(Mt.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),Mt.PLUGINS.fontSize=function(r){var a=r.$;return{apply:function t(e){r.format.applyStyle("font-size",e)},refreshOnShow:function o(e,t){var n=a(r.selection.element()).css("font-size");"pt"===r.opts.fontSizeUnit&&(n="".concat(Math.round(72*parseFloat(n,10)/96),"pt")),t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(n,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function n(e){if(r.opts.fontSizeSelection){var t=r.helpers.getPX(a(r.selection.element()).css("font-size"));"pt"===r.opts.fontSizeUnit&&(t="".concat(Math.round(72*parseFloat(t,10)/96),"pt")),e.find("> span").text(t)}}}},Mt.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(e){return e.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(e){return e.opts.fontSizeDefaultSelection},html:function(){for(var e='"},callback:function(e,t){this.fontSize.apply(t)},refresh:function(e){this.fontSize.refresh(e)},refreshOnShow:function(e,t){this.fontSize.refreshOnShow(e,t)},plugin:"fontSize"}),Mt.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"}),Object.assign(Mt.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(Mt.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),Mt.PLUGINS.forms=function(i){var s,l=i.$;function t(e){i.selection.clear(),l(this).data("mousedown",!0)}function n(e){l(this).data("mousedown")&&(e.stopPropagation(),l(this).removeData("mousedown"),d(s=this)),e.preventDefault()}function r(){i.$el.find("input, textarea, button").removeData("mousedown")}function a(){l(this).removeData("mousedown")}function c(){return s||null}function d(e){if(-1==["checkbox","radio"].indexOf(e.type)){var t=i.popups.get("forms.edit");t||(t=function o(){var e="";0'.concat(i.button.buildList(i.opts.formEditButtons),""));var t={buttons:e},n=i.popups.create("forms.edit",t);return i.$wp&&i.events.$on(i.$wp,"scroll.link-edit",function(){c()&&i.popups.isVisible("forms.edit")&&d(c())}),n}());var n=l(s=e);i.popups.refresh("forms.edit"),i.popups.setContainer("forms.edit",i.$sc);var r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();i.popups.show("forms.edit",r,a,n.outerHeight())}}function o(){var e=i.popups.get("forms.update"),t=c();if(t){var n=l(t);n.is("button")?e.find('input[type="text"][name="text"]').val(n.text()):n.is("input[type=button]")||n.is("input[type=submit]")||n.is("input[type=reset]")?e.find('input[type="text"][name="text"]').val(n.val()):e.find('input[type="text"][name="text"]').val(n.attr("placeholder"))}e.find('input[type="text"][name="text"]').trigger("change")}function f(){s=null}function p(e){if(e)return i.popups.onRefresh("forms.update",o),i.popups.onHide("forms.update",f),!0;var t="";1<=i.opts.formUpdateButtons.length&&(t='
    '.concat(i.button.buildList(i.opts.formUpdateButtons),"
    "));var n=0,r={buttons:t,text_layer:'
    \n
    \n
    ")};return i.popups.create("forms.update",r)}return{_init:function u(){!function e(){i.events.$on(i.$el,i._mousedown,"input, textarea, button",t),i.events.$on(i.$el,i._mouseup,"input, textarea, button",n),i.events.$on(i.$el,"touchmove","input, textarea, button",a),i.events.$on(i.$el,i._mouseup,r),i.events.$on(i.$win,i._mouseup,r),p(!0)}(),i.events.$on(i.$el,"submit","form",function(e){return e.preventDefault(),!1})},updateInput:function h(){var e=i.popups.get("forms.update"),t=c();if(t){var n=l(t),r=e.find('input[type="text"][name="text"]').val()||"";n.is("button")?r.length?n.text(r):n.text("\u200b"):-1!=["button","submit","reset"].indexOf(t.type)?n.attr("value",r):n.attr("placeholder",r),i.popups.hide("forms.update"),d(t)}},getInput:c,applyStyle:function g(e,t,n){void 0===t&&(t=i.opts.formStyles),void 0===n&&(n=i.opts.formMultipleStyles);var r=c();if(!r)return!1;if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),l(r).removeClass(a.join(" "))}l(r).toggleClass(e)},showUpdatePopup:function m(){var e=c();if(e){var t=l(e),n=i.popups.get("forms.update");n||(n=p()),i.popups.isVisible("forms.update")||i.popups.refresh("forms.update"),i.popups.setContainer("forms.update",i.$sc);var r=t.offset().left+t.outerWidth()/2,a=t.offset().top+t.outerHeight();i.popups.show("forms.update",r,a,t.outerHeight())}},showEditPopup:d,back:function v(){i.events.disableBlur(),i.selection.restore(),i.events.enableBlur();var e=c();e&&i.$wp&&("BUTTON"===e.tagName&&i.selection.restore(),d(e))}}},Mt.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),Mt.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),Mt.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){var n=this.forms.getInput();n&&(this.forms.applyStyle(t),this.forms.showEditPopup(n))},refreshOnShow:function(e,t){var n=this.$,r=this.forms.getInput();if(r){var a=n(r);t.find(".fr-command").each(function(){var e=n(this).data("param1");n(this).toggleClass("fr-active",a.hasClass(e))})}}}),Mt.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),Mt.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),Mt.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),Mt.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),Mt.PLUGINS.fullscreen=function(a){var t,n,r,o,i=a.$,s=function s(){return a.$box.hasClass("fr-fullscreen")};function l(){if(a.helpers.isIOS()&&a.core.hasFocus())return a.$el.blur(),setTimeout(d,250),!1;t=a.helpers.scrollTop(),a.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),a.helpers.isMobile()&&(a.$tb.data("parent",a.$tb.parent()),a.$box.prepend(a.$tb),a.$tb.data("sticky-dummy")&&a.$tb.after(a.$tb.data("sticky-dummy"))),n=a.opts.height,r=a.opts.heightMax,o=a.opts.z_index,a.opts.height=a.o_win.innerHeight-(a.opts.toolbarInline?0:a.$tb.outerHeight()+(a.$second_tb?a.$second_tb.outerHeight():0)),a.opts.zIndex=2147483641,a.opts.heightMax=null,a.size.refresh(),a.opts.toolbarInline&&a.toolbar.showInline();for(var e=a.$box.parent();!e.first().is("body");)e.addClass("fr-fullscreen-wrapper"),e=e.parent();a.opts.toolbarContainer&&a.$box.prepend(a.$tb),a.events.trigger("charCounter.update"),a.events.trigger("codeView.update"),a.$win.trigger("scroll")}function c(){if(a.helpers.isIOS()&&a.core.hasFocus())return a.$el.blur(),setTimeout(d,250),!1;a.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),a.$tb.data("parent")&&a.$tb.data("parent").prepend(a.$tb),a.$tb.data("sticky-dummy")&&a.$tb.after(a.$tb.data("sticky-dummy")),a.opts.height=n,a.opts.heightMax=r,a.opts.zIndex=o,a.size.refresh(),i(a.o_win).scrollTop(t),a.opts.toolbarInline&&a.toolbar.showInline(),a.events.trigger("charCounter.update"),a.opts.toolbarSticky&&a.opts.toolbarStickyOffset&&(a.opts.toolbarBottom?a.$tb.css("bottom",a.opts.toolbarStickyOffset).data("bottom",a.opts.toolbarStickyOffset):a.$tb.css("top",a.opts.toolbarStickyOffset).data("top",a.opts.toolbarStickyOffset));for(var e=a.$box.parent();!e.first().is("body");)e.removeClass("fr-fullscreen-wrapper"),e=e.parent();a.opts.toolbarContainer&&i(a.opts.toolbarContainer).append(a.$tb),i(a.o_win).trigger("scroll"),a.events.trigger("codeView.update")}function d(){s()?c():l(),f(a.$tb.find('.fr-command[data-cmd="fullscreen"]'));var e=a.$tb.find('.fr-command[data-cmd="moreText"]'),t=a.$tb.find('.fr-command[data-cmd="moreParagraph"]'),n=a.$tb.find('.fr-command[data-cmd="moreRich"]'),r=a.$tb.find('.fr-command[data-cmd="moreMisc"]');e.length&&a.refresh.moreText(e),t.length&&a.refresh.moreParagraph(t),n.length&&a.refresh.moreRich(n),r.length&&a.refresh.moreMisc(r)}function f(e){var t=s();e.toggleClass("fr-active",t).attr("aria-pressed",t),e.find("> *").not(".fr-sr-only").replaceWith(t?a.icon.create("fullscreenCompress"):a.icon.create("fullscreen"))}return{_init:function e(){if(!a.$wp)return!1;a.events.$on(i(a.o_win),"resize",function(){s()&&(c(),l())}),a.events.on("toolbar.hide",function(){if(s()&&a.helpers.isMobile())return!1}),a.events.on("position.refresh",function(){if(a.helpers.isIOS())return!s()}),a.events.on("destroy",function(){s()&&c()},!0)},toggle:d,refresh:f,isActive:s}},Mt.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),Mt.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),Mt.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"}),Object.assign(Mt.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),Mt.PLUGINS.help=function(s){var r,a=s.$,o="help";return{_init:function e(){},show:function l(){if(!r){var e="

    ".concat(s.language.translate("Shortcuts"),"

    "),t=function i(){for(var e='
    ',t=0;t";r+="".concat(s.language.translate(n.title),""),r+="";for(var a=0;a",r+="".concat(s.language.translate(o.desc),""),r+="".concat(o.val.replace("OSkey",s.helpers.isMac()?"⌘":"Ctrl+"),""),r+=""}e+=r+=""}return e+="
    "}(),n=s.modals.create(o,e,t);r=n.$modal,s.events.$on(a(s.o_win),"resize",function(){s.modals.resize(o)})}s.modals.show(o),s.modals.resize(o)},hide:function t(){s.modals.hide(o)}}},Mt.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),Mt.RegisterShortcut(Mt.KEYCODE.SLASH,"help",null,"/"),Mt.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1}),Object.assign(Mt.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(Mt.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),Mt.PLUGINS.image=function(y){var T,l,c,d,s,n,A=y.$,L="https://i.froala.com/upload",t=!1,r=1,p=2,u=3,h=4,S=5,w=6,a={};function f(){var e=y.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),T&&e.val(T.attr("src")),e.trigger("change")}function o(){var e=y.popups.get("image.edit");if(e||(e=O()),e){var t=Ee();ye()&&(t=t.find(".fr-img-wrap")),y.popups.setContainer("image.edit",y.$sc),y.popups.refresh("image.edit");var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();T.hasClass("fr-uploading")?k():y.popups.show("image.edit",n,r,t.outerHeight(),!0)}}function g(){N()}function i(e){0"),B(T)),a=n,o=e.timeStamp}},!0),y.events.on("keyup",function(){r=1})}}(),!T)return!1;var e=y.$wp||y.$sc;e.append(l),l.data("instance",y);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),n=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);n-=y.helpers.getPX(e.css("border-left-width")),t-=y.helpers.getPX(e.css("border-top-width")),y.$el.is("img")&&y.$sc.is("body")&&(n=t=0);var r=Ee();ye()&&(r=r.find(".fr-img-wrap"));var a=0,o=0;y.opts.iframe&&(a=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-top")),o=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(y.opts.iframe?r.offset().top+a:r.offset().top+t)-1).css("left",(y.opts.iframe?r.offset().left+o:r.offset().left+n)-1).css("width",r.get(0).getBoundingClientRect().width).css("height",r.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'
    ')}function C(e){ye()?T.parents(".fr-img-caption").css("width",e):T.css("width",e)}function E(e){if(!y.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;y.undo.canDo()||y.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var n=y.$oel.get(0).ownerDocument,r=n.defaultView||n.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(s){}a&&r.frameElement&&(t+=y.helpers.getPX(A(r.frameElement).offset().left)+r.frameElement.clientLeft)}(c=A(this)).data("start-x",t),c.data("start-width",T.width()),c.data("start-height",T.height());var o=T.width();if(y.opts.imageResizeWithPercent){var i=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;o=(o/A(i).outerWidth()*100).toFixed(2)+"%"}C(o),d.show(),y.popups.hideAll(),ue()}function _(e){if(!y.core.sameInstance(l))return!0;var t;if(c&&T){if(e.preventDefault(),y.$el.find("img.fr-error").left)return!1;var n=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!n)return!1;var r=n-c.data("start-x"),a=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(r=0-r),y.opts.imageResizeWithPercent){var o=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;a=((a+r)/A(o).outerWidth()*100).toFixed(2),y.opts.imageRoundPercent&&(a=Math.round(a)),C("".concat(a,"%")),(t=ye()?(y.helpers.getPX(T.parents(".fr-img-caption").css("width"))/A(o).outerWidth()*100).toFixed(2):(y.helpers.getPX(T.css("width"))/A(o).outerWidth()*100).toFixed(2))===a||y.opts.imageRoundPercent||C("".concat(t,"%")),T.css("height","").removeAttr("height")}else a+r>=y.opts.imageMinWidth&&(C(a+r),t=ye()?y.helpers.getPX(T.parents(".fr-img-caption").css("width")):y.helpers.getPX(T.css("width"))),t!==a+r&&C(t),((T.attr("style")||"").match(/(^height:)|(; *height:)/)||T.attr("height"))&&(T.css("height",c.data("start-height")*T.width()/c.data("start-width")),T.removeAttr("height"));R(),y.events.trigger("image.resize",[Ce()])}}function x(e){if(!y.core.sameInstance(l))return!0;if(c&&T){if(e&&e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;c=null,d.hide(),R(),o(),y.undo.saveStep(),y.events.trigger("image.resizeEnd",[Ce()])}else l.removeClass("fr-active")}function M(e,t,n){y.edit.on(),T&&T.addClass("fr-error"),a[e]?D(y.language.translate(a[e])):D(y.language.translate("Something went wrong. Please try again.")),!T&&n&&te(n),y.events.trigger("image.error",[{code:e,message:a[e]},t,n])}function O(e){if(e)return y.$wp&&y.events.$on(y.$wp,"scroll.image-edit",function(){T&&y.popups.isVisible("image.edit")&&(y.events.disableBlur(),o())}),!0;var t="";if(0 \n '.concat(y.button.buildList(y.opts.imageEditButtons),"\n ")};return y.popups.create("image.edit",n)}return!1}function k(e){var t=y.popups.get("image.insert");if(t||(t=Y()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),T){var n=Ee();y.popups.setContainer("image.insert",y.$sc);var r=n.offset().left,a=n.offset().top+n.height();y.popups.show("image.insert",r,a,n.outerHeight())}void 0===e&&I(y.language.translate("Uploading"),0)}function N(e){var t=y.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||y.$el.find("img.fr-error").length)){if(y.events.focus(),y.$el.find("img.fr-error").length&&(y.$el.find("img.fr-error").remove(),y.undo.saveStep(),y.undo.run(),y.undo.dropRedo()),!y.$wp&&T){var n=T;de(!0),y.selection.setAfter(n.get(0)),y.selection.restore()}y.popups.hide("image.insert")}}function I(e,t){var n=y.popups.get("image.insert");if(n){var r=n.find(".fr-image-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function D(e){k();var t=y.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),y.events.disableBlur(),n.focus()}function B(e){ce.call(e.get(0))}function F(){var e=A(this);y.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),B(e),y.events.trigger("image.loaded",[e])}function $(i,e,s,l,c){l&&"string"==typeof l&&(l=y.$(l)),y.edit.off(),I(y.language.translate("Loading image")),e&&(i=y.helpers.sanitizeURL(i));var t=new Image;t.onload=function(){var e,t;if(l){y.undo.canDo()||l.hasClass("fr-uploading")||y.undo.saveStep();var n=l.data("fr-old-src");l.data("fr-image-pasted")&&(n=null),y.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),n&&l.attr("src",n),l.replaceWith(e)):e=l;for(var r=e.get(0).attributes,a=0;ay.opts.imageMaxSize)return M(S),!1;if(y.opts.imageAllowedTypes.indexOf(r.type.replace(/image\//g,""))<0)return M(w),!1;if(y.drag_support.formdata&&(n=y.drag_support.formdata?new FormData:null),n){var a;if(!1!==y.opts.imageUploadToS3)for(a in n.append("key",y.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(r.name||"untitled")),n.append("success_action_status","201"),n.append("X-Requested-With","xhr"),n.append("Content-Type",r.type),y.opts.imageUploadToS3.params)y.opts.imageUploadToS3.params.hasOwnProperty(a)&&n.append(a,y.opts.imageUploadToS3.params[a]);for(a in y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(a)&&n.append(a,y.opts.imageUploadParams[a]);n.append(y.opts.imageUploadParam,r,r.name);var o,i,s=y.opts.imageUploadURL,l=y.opts.imageUploadMethod;y.opts.imageUploadToS3&&(s=y.opts.imageUploadToS3.uploadURL?y.opts.imageUploadToS3.uploadURL:"https://".concat(y.opts.imageUploadToS3.region,".amazonaws.com/").concat(y.opts.imageUploadToS3.bucket)),y.opts.imageUploadToAzure&&(o=s=y.opts.imageUploadToAzure.uploadURL?"".concat(y.opts.imageUploadToAzure.uploadURL,"/").concat(r.name):encodeURI("https://".concat(y.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(y.opts.imageUploadToAzure.container,"/").concat(r.name)),y.opts.imageUploadToAzure.SASToken&&(s+=y.opts.imageUploadToAzure.SASToken),l="PUT");var c=y.core.getXHR(s,l);if(y.opts.imageUploadToAzure){var d=(new Date).toUTCString();if(!y.opts.imageUploadToAzure.SASToken&&y.opts.imageUploadToAzure.accessKey){var f=y.opts.imageUploadToAzure.account,p=y.opts.imageUploadToAzure.container;if(y.opts.imageUploadToAzure.uploadURL){var u=y.opts.imageUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var h="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+f+"/"+p+"/"+r.name),m=l+"\n\n\n"+r.size+"\n\n"+r.type+"\n\n\n\n\n\n\n"+h+"\n"+g,v=y.cryptoJSPlugin.cryptoJS.HmacSHA256(m,y.cryptoJSPlugin.cryptoJS.enc.Base64.parse(y.opts.imageUploadToAzure.accessKey)).toString(y.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;i=v,c.setRequestHeader("Authorization",b)}for(a in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",r.type),c.setRequestHeader("x-ms-blob-type","BlockBlob"),y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(a)&&c.setRequestHeader(a,y.opts.imageUploadParams[a]);for(a in y.opts.imageUploadToAzure.params)y.opts.imageUploadToAzure.params.hasOwnProperty(a)&&c.setRequestHeader(a,y.opts.imageUploadToAzure.params[a])}!function E(t,n,r,a,o,i){function s(){var e=A(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),y.placeholder.refresh(),B(e),R(),k(),y.edit.off(),t.onload=function(){P.call(t,e,o,i)},t.onerror=H,t.upload.onprogress=U,t.onabort=z,A(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),a?(a.attr("src",a.data("fr-old-src")),a.removeClass("fr-uploading")):e.remove(),de(!0))}),t.send(y.opts.imageUploadToAzure?r:n)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),n=[],r=0;r'.concat(a,""));var o=y.opts.imageInsertButtons.indexOf("imageUpload"),i=y.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=o&&(t=" fr-active",0<=i&&i').concat(y.language.translate("Drop image"),"
    (").concat(y.language.translate("or click"),')
    '));var l="";0<=i&&(t=" fr-active",0<=o&&o
    "));var c={buttons:r,upload_layer:s,by_url_layer:l,progress_bar:'

    Uploading

    '};return 1<=y.opts.imageInsertButtons.length&&(n=y.popups.create("image.insert",c)),y.$wp&&y.events.$on(y.$wp,"scroll",function(){T&&y.popups.isVisible("image.insert")&&ve()}),function d(r){y.events.$on(r,"dragover dragenter",".fr-image-upload-layer",function(e){return A(this).addClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(r,"dragleave dragend",".fr-image-upload-layer",function(e){return A(this).removeClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(r,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),A(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||y;n.events.disableBlur(),n.image.upload(t.files),n.events.enableBlur()}},!0),y.helpers.isIOS()&&y.events.$on(r,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){A(this).trigger("click")},!0),y.events.$on(r,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||y;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,T)}A(this).val("")},!0)}(n),n}function j(){T&&y.popups.get("image.alt").find("input").val(T.attr("alt")||"").trigger("change")}function q(){var e=y.popups.get("image.alt");e||(e=X()),N(),y.popups.refresh("image.alt"),y.popups.setContainer("image.alt",y.$sc);var t=Ee();ye()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();y.popups.show("image.alt",n,r,t.outerHeight(),!0)}function X(e){if(e)return y.popups.onRefresh("image.alt",j),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageAltButtons),"
    "),alt_layer:'
    ")},n=y.popups.create("image.alt",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-alt",function(){T&&y.popups.isVisible("image.alt")&&q()}),n}function Z(){var e=y.popups.get("image.size"),t=T.get(0).style.height?T.get(0).style.height:"auto",n=T.get(0).style.width?T.get(0).style.width:"auto";if(T)if(ye()){var r=T.parent();r.get(0).style.width||(r=T.parent().parent()),e.find('input[name="width"]').val(n).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(n).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function Q(){var e=y.popups.get("image.size");e||(e=J()),N(),y.popups.refresh("image.size"),y.popups.setContainer("image.size",y.$sc);var t=Ee();ye()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();y.popups.show("image.size",n,r,t.outerHeight(),!0)}function J(e){if(e)return y.popups.onRefresh("image.size",Z),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageSizeButtons),"
    "),size_layer:'
    ")},n=y.popups.create("image.size",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-size",function(){T&&y.popups.isVisible("image.size")&&Q()}),n}function ee(e,t,n,r){return e.pageX=t,E.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),_.call(this,e),x.call(this,e),++r}function te(e){(e=e||Ee())&&!1!==y.events.trigger("image.beforeRemove",[e])&&(y.popups.hideAll(),be(),de(!0),y.undo.canDo()||y.undo.saveStep(),e.get(0)==y.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(y.selection.setBefore(e.get(0).parentNode)||y.selection.setAfter(e.get(0).parentNode)||e.parent().after(Mt.MARKERS),A(e.get(0).parentNode).remove()):(y.selection.setBefore(e.get(0))||y.selection.setAfter(e.get(0))||e.after(Mt.MARKERS),e.remove()),y.html.fillEmptyBlocks(),y.selection.restore()),y.undo.saveStep())}function ne(e){var t=e.which;if(T&&(t==Mt.KEYCODE.BACKSPACE||t==Mt.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(T&&t==Mt.KEYCODE.ESC){var n=T;return de(!0),y.selection.setAfter(n.get(0)),y.selection.restore(),e.preventDefault(),!1}if(!T||t!=Mt.KEYCODE.ARROW_LEFT&&t!=Mt.KEYCODE.ARROW_RIGHT)return T&&t===Mt.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),de(!0),!1):T&&t!=Mt.KEYCODE.F10&&!y.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var r=T.get(0);return de(!0),t==Mt.KEYCODE.ARROW_LEFT?y.selection.setBefore(r):y.selection.setAfter(r),y.selection.restore(),e.preventDefault(),!1}function re(e){if(e&&"IMG"==e.tagName){if(y.node.hasClass(e,"fr-uploading")||y.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):y.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&y.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var n=e.nextSibling;n&&n.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var r=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a"));var r=y.$el.find('img[data-fr-image-pasted="true"]');r&&he(r,y.opts.imageDefaultDisplay,y.opts.imageDefaultAlign),y.events.trigger("paste.after")}function se(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var n=0;n"):A(y.node.blockParent(e.get(0))).after("<".concat(y.html.defaultTag(),">
    ")))})})(),"IMG"==y.el.tagName&&y.$el.addClass("fr-view"),y.events.$on(y.$el,y.helpers.isMobile()&&!y.helpers.isWindowsPhone()?"touchend":"click","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',ce),y.helpers.isMobile()&&(y.events.$on(y.$el,"touchstart","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',function(){n=!1}),y.events.$on(y.$el,"touchmove",function(){n=!0})),y.$wp?(y.events.on("window.keydown keydown",ne,!0),y.events.on("keyup",function(e){if(T&&e.which==Mt.KEYCODE.ENTER)return!1},!0),y.events.$on(y.$el,"keydown",function(){var e=y.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&y.node.isLastSibling(e))&&(e=e.parentNode),y.node.hasClass(e,"fr-inner")||(y.node.hasClass(e,"fr-img-caption")||(e=A(e).parents(".fr-img-caption").get(0)),y.node.hasClass(e,"fr-img-caption")&&(A(e).after(Mt.INVISIBLE_SPACE+Mt.MARKERS),y.selection.restore()))})):y.events.$on(y.$win,"keydown",ne),y.events.on("toolbar.esc",function(){if(T){if(y.$wp)y.events.disableBlur(),y.events.focus();else{var e=T;de(!0),y.selection.setAfter(e.get(0)),y.selection.restore()}return!1}},!0),y.events.on("toolbar.focusEditor",function(){if(T)return!1},!0),y.events.on("window.cut window.copy",function(e){if(T&&y.popups.isVisible("image.edit")&&!y.popups.get("image.edit").find(":focus").length){var t=Ee();ye()?(t.before(Mt.START_MARKER),t.after(Mt.END_MARKER),y.selection.restore(),y.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(be(),y.paste.saveCopiedText(T.get(0).outerHTML,T.attr("alt"))),"copy"==e.type?setTimeout(function(){B(T)}):(de(!0),y.undo.saveStep(),setTimeout(function(){y.undo.saveStep()},0))}},!0),y.browser.msie&&y.events.on("keydown",function(e){if(!y.selection.isCollapsed()||!T)return!0;var t=e.which;t==Mt.KEYCODE.C&&y.keys.ctrlKey(e)?y.events.trigger("window.copy"):t==Mt.KEYCODE.X&&y.keys.ctrlKey(e)&&y.events.trigger("window.cut")}),y.events.$on(A(y.o_win),"keydown",function(e){var t=e.which;if(T&&t==Mt.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),y.events.$on(y.$win,"keydown",function(e){var t=e.which;T&&T.hasClass("fr-uploading")&&t==Mt.KEYCODE.ESC&&T.trigger("abortUpload")}),y.events.on("destroy",function(){T&&T.hasClass("fr-uploading")&&T.trigger("abortUpload")}),y.events.on("paste.before",se),y.events.on("paste.beforeCleanup",le),y.events.on("paste.after",oe),y.events.on("html.set",m),y.events.on("html.inserted",m),m(),y.events.on("destroy",function(){s=[]}),y.events.on("html.processGet",re),y.opts.imageOutputSize&&y.events.on("html.beforeGet",function(){r=y.el.querySelectorAll("img");for(var e=0;e *").first().replaceWith(y.icon.create("image-align-".concat(ge())))},refreshAlignOnShow:function Oe(e,t){T&&t.find('.fr-command[data-param1="'.concat(ge(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function ke(e){var t=Ee();t.removeClass("fr-dii fr-dib"),!y.opts.htmlUntouched&&y.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):he(t,e,ge()),be(),R(),o(),y.selection.clear()},refreshDisplayOnShow:function Ne(e,t){T&&t.find('.fr-command[data-param1="'.concat(me(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ve,back:function e(){T?(y.events.disableBlur(),A(".fr-popup input:focus").blur(),B(T)):(y.events.disableBlur(),y.selection.restore(),y.events.enableBlur(),y.popups.hide("image.insert"),y.toolbar.showInline())},get:Ce,getEl:Ee,insert:$,showProgressBar:k,remove:te,hideProgressBar:N,applyStyle:function Ie(e,t,n){if(void 0===t&&(t=y.opts.imageStyles),void 0===n&&(n=y.opts.imageMultipleStyles),!T)return!1;var r=Ee();if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),r.removeClass(a.join(" "))}"object"==xt(t[e])?(r.removeAttr("style"),r.css(t[e].style)):r.toggleClass(e),B(T)},showAltPopup:q,showSizePopup:Q,setAlt:function De(e){if(T){var t=y.popups.get("image.alt");T.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),B(T)}},setSize:function Be(e,t){if(T){var n=y.popups.get("image.size");e=e||n.find('input[name="width"]').val()||"",t=t||n.find('input[name="height"]').val()||"";var r=/^[\d]+((px)|%)*$/g;T.removeAttr("width").removeAttr("height"),e.match(r)?T.css("width",e):T.css("width",""),t.match(r)?T.css("height",t):T.css("height",""),ye()&&(T.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(r)?T.parents(".fr-img-caption").css("width",e):T.parents(".fr-img-caption").css("width",""),t.match(r)?T.parents(".fr-img-caption").css("height",t):T.parents(".fr-img-caption").css("height","")),n&&n.find("input:focus").blur(),B(T)}},toggleCaption:function Fe(){var e;if(T&&!ye()){(e=T).parent().is("a")&&(e=T.parent());var t,n,r=T.parents("ul")&&0

     

    '),e.wrap(''),T.after('").concat(Mt.START_MARKER).concat(y.language.translate("Image Caption")).concat(Mt.END_MARKER,"")),T.parents(".fr-img-caption").css("width",s),1').concat(this.icon.create("image-align-".concat(n)),'').concat(this.language.translate(t[n]),""));return e+=""},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),Mt.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),Mt.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),Mt.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),Mt.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),Mt.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Mt.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),Mt.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),Mt.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,r=this.image.getEl();r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Mt.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),Mt.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),Mt.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),Mt.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),Mt.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),Mt.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),Mt.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),Mt.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}}),Object.assign(Mt.DEFAULTS,{imageManagerLoadURL:"https://i.froala.com/load-files",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),Mt.PLUGINS.imageManager=function(s){var l,c,o,i,d,f,p,u,h,g,m,v=s.$,b="image_manager",e=10,C=11,E=12,y=13,T=14,A=15,n=21,r=22,a={};function L(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function S(){d.empty();for(var e=0;e')}function w(){if(hd.outerHeight()-o.outerHeight())){u++;for(var e=s.opts.imageManagerPageSize*(u-1);e').concat(e[t],""));n.attr("data-tag",e.join())}else 0===f.find('a[title="'.concat(a.tag.trim(),'"]')).length&&f.append('').concat(a.tag.trim(),"")),n.attr("data-tag",a.tag.trim());for(var r in a.name&&n.attr("alt",a.name),a)a.hasOwnProperty(r)&&"thumb"!==r&&"url"!==r&&"tag"!==r&&n.attr("data-".concat(r),a[r]);i.append(n).append(v(s.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",s.language.translate("Delete"))).append(v(s.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",s.language.translate("Insert"))),f.find(".fr-selected-tag").each(function(e,t){$(n,t.text)||i.hide()}),n.on("load",function(){i.removeClass("fr-empty"),i.height("auto"),h++,x(_(parseInt(n.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),M(!1),h%s.opts.imageManagerPageSize==0&&w()}),s.events.trigger("imageManager.imageLoaded",[n])},o.onerror=function(){h++,i.remove(),x(_(parseInt(i.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),I(e,a),h%s.opts.imageManagerPageSize==0&&w()},o.src=a.thumb||a.url,R().append(i)}function R(){var r,a;return d.find(".fr-list-column").each(function(e,t){var n=v(t);0===e?(a=n.outerHeight(),r=n):n.outerHeight() a").each(function(){0===l.find('#fr-image-list [data-tag*="'.concat(v(this).text(),'"]')).length&&v(this).removeClass("fr-selected-tag").hide()}),B()}(),M(!0)},fail:function(e){I(n,e.response||e.responseText)}})):I(r))}function I(e,t){10<=e&&e<20?i.hide():20<=e&&e<30&&v(".fr-image-deleting").removeClass("fr-image-deleting"),s.events.trigger("imageManager.error",[{code:e,message:a[e]},t])}function D(){var e=c.find(".fr-modal-head-line").outerHeight(),t=f.outerHeight();c.toggleClass("fr-show-tags"),c.hasClass("fr-show-tags")?(c.css("height",e+t),o.css("marginTop",e+t),f.find("a").css("opacity",1)):(c.css("height",e),o.css("marginTop",e),f.find("a").css("opacity",0))}function B(){var e=f.find(".fr-selected-tag");0

    ').concat(s.language.translate("Manage Images"),'

    \n
    ');e=s.opts.imageManagerPreloader?''):'"),e+='
    ';var n=s.modals.create(b,t,e);l=n.$modal,c=n.$head,o=n.$body}l.data("current-image",s.image.get()),s.modals.show(b),i||function r(){i=l.find("#fr-preloader"),d=l.find("#fr-image-list"),f=l.find("#fr-modal-tags"),m=L(),S(),c.css("height",c.find(".fr-modal-head-line").outerHeight()),s.events.$on(v(s.o_win),"resize",function(){M(!!p)}),s.events.bindClick(d,".fr-insert-img",k),s.events.bindClick(d,".fr-delete-img",N),s.helpers.isMobile()&&(s.events.bindClick(d,"div.fr-image-container",function(e){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),v(e.currentTarget).addClass("fr-mobile-selected")}),l.on(s._mousedown,function(){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),l.on(s._mousedown+" "+s._mouseup,function(e){e.stopPropagation()}),l.on(s._mousedown,"*",function(){s.events.disableBlur()}),o.on("scroll",w),s.events.bindClick(l,"button#fr-modal-more-".concat(s.sid),D),s.events.bindClick(f,"a",F)}(),function a(){i.show(),d.find(".fr-list-column").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){s.events.trigger("imageManager.imagesLoaded",[e]),function r(e,t){try{d.find(".fr-list-column").empty(),g=h=u=0,p=JSON.parse(e),w()}catch(n){I(y,t)}}(e,n.response),i.hide()},fail:function(e){I(C,e.response||e.responseText)}}):I(E)}()},hide:function U(){s.modals.hide(b)}}},!Mt.PLUGINS.image)throw new Error("Image manager plugin requires image plugin.");return Mt.DEFAULTS.imageInsertButtons.push("imageManager"),Mt.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),Mt.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),Mt.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),Mt.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"}),Object.assign(Mt.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),Mt.PLUGINS.inlineClass=function(n){var r=n.$;return{apply:function t(e){n.format.toggle("span",{"class":e})},refreshOnShow:function a(e,t){t.find(".fr-command").each(function(){var e=r(this).data("param1"),t=n.format.is("span",{"class":e});r(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}},Mt.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var e='"},callback:function(e,t){this.inlineClass.apply(t)},refreshOnShow:function(e,t){this.inlineClass.refreshOnShow(e,t)},plugin:"inlineClass"}),Mt.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"}),Object.assign(Mt.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),Mt.PLUGINS.inlineStyle=function(a){return{apply:function o(e){for(var t=e.split(";"),n=0;n').concat(this.language.translate(n),"")}return e+=""},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),Mt.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"}),Object.assign(Mt.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),Mt.PLUGINS.lineBreaker=function(h){var g,t,a,m=h.$;function l(e,t){var n,r,a,o,i,s,l,c;if(null==e)i=(o=t.parent()).offset().top,n=(l=t.offset().top)-Math.min((l-i)/2,h.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else if(null==t)(s=(o=e.parent()).offset().top+o.outerHeight())<(c=e.offset().top+e.outerHeight())&&(s=(o=m(o).parent()).offset().top+o.outerHeight()),n=c+Math.min(Math.abs(s-c)/2,h.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else{o=e.parent();var d=e.offset().top+e.height(),f=t.offset().top;if(fh.$box.offset().left&&e").concat(Mt.MARKERS,"
    ")):r.before("".concat(Mt.MARKERS,"
    ")):a&&"TD"!=n.parent().get(0).tagName&&0===n.parents(a).length?n.after("<".concat(a,">").concat(Mt.MARKERS,"
    ")):n.after("".concat(Mt.MARKERS,"
    ")),t.selection.restore(),h.toolbar.enable()}return{_init:function v(){if(!h.$wp)return!1;!function e(){h.shared.$line_breaker||(h.shared.$line_breaker=m(document.createElement("div")).attr("class","fr-line-breaker").html(''))),g=h.shared.$line_breaker,h.events.on("shared.destroy",function(){g.html("").removeData().remove(),g=null},!0),h.events.on("destroy",function(){g.removeData("instance").removeClass("fr-visible"),m("body").first().append(g),clearTimeout(a)},!0),h.events.$on(g,"mousemove",function(e){e.stopPropagation()},!0),h.events.bindClick(g,"a",u)}(),t=!1,h.events.$on(h.$win,"mousemove",r),h.events.$on(m(h.win),"scroll",s),h.events.on("popups.show.table.edit",s),h.events.on("commands.after",s),h.events.$on(m(h.win),"mousedown",f),h.events.$on(m(h.win),"mouseup",p)}}},Object.assign(Mt.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),Mt.PLUGINS.lineHeight=function(r){var s=r.$;return{_init:function e(){},apply:function a(e){r.selection.save(),r.html.wrap(!0,!0,!0,!0),r.selection.restore();var t=r.selection.blocks();t.length&&s(t[0]).parent().is("td")&&r.format.applyStyle("line-height",e.toString()),r.selection.save();for(var n=0;n').concat(this.language.translate(n),""));return e+=""},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),Mt.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"}),Object.assign(Mt.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(Mt.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0}),Mt.PLUGINS.link=function(u){var h=u.$;function g(){var e=u.image?u.image.get():null;if(e||!u.$wp)return"A"==u.el.tagName?u.el:e&&e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=u.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(u.el)||!u.el.contains(t)||u.el==t)&&(t=null)}catch(a){t=null}if(t&&"A"===t.tagName)return t;var n=u.selection.element(),r=u.selection.endElement();"A"==n.tagName||u.node.isElement(n)||(n=h(n).parentsUntil(u.$el,"a").first().get(0)),"A"==r.tagName||u.node.isElement(r)||(r=h(r).parentsUntil(u.$el,"a").first().get(0));try{r&&(r.contains&&r.contains(u.el)||!u.el.contains(r)||u.el==r)&&(r=null)}catch(a){r=null}try{n&&(n.contains&&n.contains(u.el)||!u.el.contains(n)||u.el==n)&&(n=null)}catch(a){n=null}return r&&r==n&&"A"==r.tagName?(u.browser.msie||u.helpers.isMobile())&&(u.selection.info(n).atEnd||u.selection.info(n).atStart)?null:n:null}function m(){var e,t,n,r,a=u.image?u.image.get():null,o=[];if(a)"A"==a.get(0).parentNode.tagName&&o.push(a.get(0).parentNode);else if(u.win.getSelection){var i=u.win.getSelection();if(i.getRangeAt&&i.rangeCount){r=u.doc.createRange();for(var s=0;s'.concat(u.button.buildList(u.opts.linkEditButtons),"
    "));var t={buttons:e},n=u.popups.create("link.edit",t);u.$wp&&u.events.$on(u.$wp,"scroll.link-edit",function(){g()&&u.popups.isVisible("link.edit")&&i(g())});return n}());var n=h(e);u.popups.isVisible("link.edit")||u.popups.refresh("link.edit"),u.popups.setContainer("link.edit",u.$sc);var r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();u.popups.show("link.edit",r,a,n.outerHeight(),!0)}function o(){u.popups.hide("link.edit")}function l(){var e=u.popups.get("link.insert"),t=g();if(t){var n,r,a=h(t),o=e.find('input.fr-link-attr[type="text"]'),i=e.find('input.fr-link-attr[type="checkbox"]');for(n=0;n'.concat(u.button.buildList(u.opts.linkInsertButtons),""));var n="",r=0;for(var a in n='")},s=u.popups.create("link.insert",i);return u.$wp&&u.events.$on(u.$wp,"scroll.link-insert",function(){(u.image?u.image.get():null)&&u.popups.isVisible("link.insert")&&f(),u.popups.isVisible("link.insert")&&d()}),s}function c(e,t,n){if(void 0===n&&(n={}),!1===u.events.trigger("link.beforeInsert",[e,t,n]))return!1;var r=u.image?u.image.get():null;r||"A"==u.el.tagName?"A"==u.el.tagName&&u.$el.focus():(u.selection.restore(),u.popups.hide("link.insert"));var a=e;u.opts.linkConvertEmailAddress&&u.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e="mailto:".concat(e));if(""===u.opts.linkAutoPrefix||new RegExp("^("+Mt.LinkProtocols.join("|")+"):.","i").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||["/","{","[","#","(","."].indexOf((e||"")[0])<0&&(e=u.opts.linkAutoPrefix+e),e=u.helpers.sanitizeURL(e),u.opts.linkAlwaysBlank&&(n.target="_blank"),u.opts.linkAlwaysNoFollow&&(n.rel="nofollow"),u.helpers.isEmail(a)&&(n.target=null,n.rel=null),"_blank"==n.target?(u.opts.linkNoOpener&&(n.rel?n.rel+=" noopener":n.rel="noopener"),u.opts.linkNoReferrer&&(n.rel?n.rel+=" noreferrer":n.rel="noreferrer")):null==n.target&&(n.rel?n.rel=n.rel.replace(/noopener/,"").replace(/noreferrer/,""):n.rel=null),t=t||"",e===u.opts.linkAutoPrefix)return u.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),u.events.trigger("link.bad",[a]),!1;var o,i=g();if(i){if((o=h(i)).attr("href",e),0')),u.image.hasCaption()&&r.parent().append(r.parents(".fr-img-caption").find(".fr-inner"))):(u.format.remove("a"),u.selection.isCollapsed()?(t=0===t.length?a:t,u.html.insert('').concat(Mt.START_MARKER).concat(t.replace(/&/g,"&").replace(/",">")).concat(Mt.END_MARKER,"")),u.selection.restore()):0').concat(Mt.START_MARKER).concat(t.replace(/&/g,"&")).concat(Mt.END_MARKER,"")),u.selection.restore()):(!function p(){if(!u.selection.isCollapsed()){u.selection.save();for(var e=u.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();e.length;){var t=h(e.pop());t.removeClass("fr-unprocessed");var n=u.node.deepestParent(t.get(0));if(n){for(var r=t.get(0),a="",o="";r=r.parentNode,u.node.isBlock(r)||(a+=u.node.closeTagString(r),o=u.node.openTagString(r)+o),r!=n;);var i=u.node.openTagString(t.get(0))+t.html()+u.node.closeTagString(t.get(0));t.replaceWith('');var s=n.outerHTML;s=(s=s.replace(/<\/span>/g,a+i+o)).replace(o+a,""),n.outerHTML=s}e=u.$el.find(".fr-marker.fr-unprocessed").toArray()}u.html.cleanEmptyTags(),u.selection.restore()}}(),u.format.apply("a",{href:e})));for(var c=m(),d=0;d').concat(t[n].displayText||t[n].text,"");return e+=""},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),Mt.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),Mt.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),Mt.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),Mt.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),Mt.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,r=this.link.get();if(r){var a=n(r);t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),Object.assign(Mt.DEFAULTS,{listAdvancedTypes:!0}),Mt.PLUGINS.lists=function(f){var p=f.$;function u(e){return'')}function h(e){return'')}function o(e,t){!function c(e,t){for(var n=[],r=0;r").concat(i.html(),""))}}(e,t);var n,r=f.html.defaultTag(),a=null;e.length&&(n="rtl"==f.opts.direction||"rtl"==p(e[0]).css("direction")?"margin-right":"margin-left");for(var o=0;o'):"<".concat(t,">"),l="");for(i-=a;0"),l+=l,i-=f.opts.indentMargin;r&&e[o].tagName.toLowerCase()==r?p(e[o]).replaceWith("".concat(s,"").concat(p(e[o]).html(),"").concat(l)):p(e[o]).wrap("".concat(s,"
  • ").concat(l))}f.clean.lists()}function i(e){var t,n;for(t=e.length-1;0<=t;t--)for(n=t-1;0<=n;n--)if(p(e[n]).find(e[t]).length||e[n]==e[t]){e.splice(t,1);break}var r=[];for(t=0;t"),a.append(u("LI")),a.prepend(h("LI"))}a.after(u(o.tagName)),"LI"==o.parentNode.tagName&&(o=o.parentNode.parentNode),r.indexOf(o)<0&&r.push(o)}for(t=0;t<\/span>/g,"")).replace(/<\/span>/g,"<$1>"),c.replaceWith(f.node.openTagString(c.get(0))+d+f.node.closeTagString(c.get(0)))}f.$el.find("li:empty").remove(),f.$el.find("ul:empty, ol:empty").remove(),f.clean.lists(),f.html.wrap()}function l(e){f.selection.save();for(var t=0;t ul, > ol").last().get(0);if(r){var a=p(document.createElement("li"));p(r).prepend(a);for(var o=f.node.contents(e[t])[0];o&&!f.node.isList(o);){var i=o.nextSibling;a.append(o),o=i}p(n).append(p(r)),p(e[t]).remove()}else{var s=p(n).find("> ul, > ol").last().get(0);if(s)p(s).append(p(e[t]));else{var l=p("<".concat(e[t].parentNode.tagName,">"));p(n).append(l),l.append(p(e[t]))}}}}f.clean.lists(),f.selection.restore()}function c(e){f.selection.save(),i(e),f.selection.restore()}function e(e){if("indent"==e||"outdent"==e){var t=!1,n=f.selection.blocks(),r=[],a=n[0].previousSibling||n[0].parentElement;if("outdent"==e){if("UL"!=a.parentNode.tagName&&"OL"!=a.parentNode.tagName&&"LI"!=a.parentNode.tagName)return;if(!n[0].previousSibling&&"none"==a.parentNode.style.listStyleType)return void function i(e){for(f.selection.save();0");e.prepend(r);for(var a=p.node.contents(e.get(0))[0];a&&["UL","OL"].indexOf(a.tagName)<0;){var o=a.nextSibling;r.append(a),a=o}}else e.html("<"+t+">"+e.html()+"")}return{apply:function g(e){"N"==e&&(e=p.html.defaultTag()),p.selection.save(),p.html.wrap(!0,!0,!p.opts.paragraphFormat.BLOCKQUOTE,!0,!0),p.selection.restore();var t,n,r,a,o,i,s,l,c=p.selection.blocks();p.selection.save(),p.$el.find("pre").attr("skip",!0);for(var d=0;d").html(i.html()))):0<=["TD","TH"].indexOf(c[d].parentNode.tagName)?(r=f,a=e,o=p.html.defaultTag(),a||(a='div class="fr-temp-div"'+(p.node.isEmpty(r.get(0),!0)?' data-empty="true"':"")),a.toLowerCase()==o?(p.node.isEmpty(r.get(0),!0)||r.append("
    "),r.replaceWith(r.html())):r.replaceWith(u("<"+a+">").html(r.html()))):(t=f,(n=e)||(n='div class="fr-temp-div"'+(p.node.isEmpty(t.get(0),!0)?' data-empty="true"':"")),"H1"!=n&&"H2"!=n&&"H3"!=n&&"H4"!=n&&"H5"!=n||!p.node.attributes(t.get(0)).includes("font-size:")?t.replaceWith(u("<"+n+" "+p.node.attributes(t.get(0))+">").html(t.html()).removeAttr("data-empty")):t.replaceWith(u("<"+n+" "+p.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(t.html()).removeAttr("data-empty")))}p.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){u(this).prev().append("
    "+u(this).html()),u(this).remove()}),p.$el.find("pre").removeAttr("skip"),p.html.unwrap(),p.selection.restore()},refreshOnShow:function i(e,t){var n=p.selection.blocks();if(n.length){var r=n[0],a="N",o=p.html.defaultTag();r.tagName.toLowerCase()!=o&&r!=p.el&&(a=r.tagName),t.find('.fr-command[data-param1="'+a+'"]').addClass("fr-active").attr("aria-selected",!0)}else t.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function o(e){if(p.opts.paragraphFormatSelection){var t=p.selection.blocks();if(t.length){var n=t[0],r="N",a=p.html.defaultTag();n.tagName.toLowerCase()!=a&&n!=p.el&&(r=n.tagName),0<=["LI","TD","TH"].indexOf(r)&&(r="N"),e.find(">span").text(p.language.translate(p.opts.paragraphFormat[r]))}else e.find(">span").text(p.language.translate(p.opts.paragraphFormat.N))}}}},Mt.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(e){return e.opts.paragraphFormatSelection},defaultSelection:function(e){return e.language.translate(e.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var e='"},title:"Paragraph Format",callback:function(e,t){this.paragraphFormat.apply(t)},refresh:function(e){this.paragraphFormat.refresh(e)},refreshOnShow:function(e,t){this.paragraphFormat.refreshOnShow(e,t)},plugin:"paragraphFormat"}),Mt.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"}),Object.assign(Mt.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),Mt.PLUGINS.paragraphStyle=function(s){var l=s.$;return{_init:function e(){},apply:function c(e,t,n){void 0===t&&(t=s.opts.paragraphStyles),void 0===n&&(n=s.opts.paragraphMultipleStyles);var r="";n||((r=Object.keys(t)).splice(r.indexOf(e),1),r=r.join(" ")),s.selection.save(),s.html.wrap(!0,!0,!0,!0),s.selection.restore();var a=s.selection.blocks();s.selection.save();for(var o=l(a[0]).hasClass(e),i=0;i').concat(this.language.translate(t[n]),""));return e+=""},title:"Paragraph Style",callback:function(e,t){this.paragraphStyle.apply(t)},refreshOnShow:function(e,t){this.paragraphStyle.refreshOnShow(e,t)},plugin:"paragraphStyle"}),Mt.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"}),Object.assign(Mt.DEFAULTS,{html2pdf:window.html2pdf}),Mt.PLUGINS.print=function(l){return{run:function e(){!function s(e){var t=l.html.get(),n=null;l.shared.print_iframe?n=l.shared.print_iframe:((n=document.createElement("iframe")).name="fr-print",n.style.position="fixed",n.style.top="0",n.style.left="-9999px",n.style.height="100%",n.style.width="0",n.style.overflow="hidden",n.style["z-index"]="2147483647",n.style.tabIndex="-1",l.events.on("shared.destroy",function(){n.remove()}),l.shared.print_iframe=n);try{document.body.removeChild(n)}catch(i){}document.body.appendChild(n);var r=function r(){e(),n.removeEventListener("load",r)};n.addEventListener("load",r);var a=n.contentWindow;a.document.open(),a.document.write(""+document.title+""),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),a.document.write(e.outerHTML)});var o=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(o,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",a.document.write(t.outerHTML)}),a.document.write('
    '),a.document.write(t),a.document.write("
    "),a.document.close()}(function(){setTimeout(function(){l.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),l.$win.get(0).focus(),l.events.disableBlur(),l.events.focus()},0)})},toPDF:function t(){l.opts.html2pdf&&(l.$el.css("text-align","left"),l.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(l.el).save(),setTimeout(function(){l.$el.css("text-align","")},100))}}},Mt.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),Mt.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),Mt.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),Mt.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}}),Object.assign(Mt.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),Mt.QUICK_INSERT_BUTTONS={},Mt.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),Mt.RegisterQuickInsertButton=function(e,t){Mt.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},Mt.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement("input")).attr("accept","image/"+e.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),t("body").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,"change",function(){var e=t(this).data("inst");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val("")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data("inst",e)[0].click()}}),Mt.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),Mt.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),Mt.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),Mt.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),Mt.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),Mt.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),Mt.PLUGINS.quickInsert=function(i){var s,l,c=i.$;function n(e){var t,n,r;(t=e.offset().top-i.$box.offset().top,n=(i.$iframe&&i.$iframe.offset().left||0)+e.offset().left-e.position().left-4').concat(i.icon.create("quickInsert"),"")));s=i.shared.$quick_insert,i.tooltip.bind(i.$box,".fr-quick-insert > a.fr-floating-btn"),i.events.on("destroy",function(){c("body").first().append(s.removeClass("fr-on")),l&&(f(),c("body").first().append(l.css("left",-9999).css("top",-9999)))},!0),i.events.on("shared.destroy",function(){s.html("").removeData().remove(),s=null,l&&(l.html("").removeData().remove(),l=null)},!0),i.events.on("commands.before",o),i.events.on("commands.after",function(){i.popups.areVisible()||r()}),i.events.bindClick(i.$box,".fr-quick-insert > a",d),i.events.bindClick(i.$box,".fr-qi-helper > a.fr-btn",function(e){var t=c(e.currentTarget).data("cmd");if(!1===i.events.trigger("quickInsert.commands.before",[t]))return!1;Mt.QUICK_INSERT_BUTTONS[t].callback.apply(i,[e.currentTarget]),Mt.QUICK_INSERT_BUTTONS[t].undo&&i.undo.saveStep(),i.events.trigger("quickInsert.commands.after",[t]),i.quickInsert.hide()}),i.events.$on(i.$wp,"scroll",p),i.events.$on(i.$tb,"transitionend",".fr-more-toolbar",p)}(),s.hasClass("fr-on")&&f(),i.$box.append(s),n(e),s.data("tag",e),s.addClass("fr-visible")}function r(){if(i.core.hasFocus()){var e=i.selection.element();if(i.opts.enter==Mt.ENTER_BR||i.node.isBlock(e)||(e=i.node.blockParent(e)),i.opts.enter==Mt.ENTER_BR&&!i.node.isBlock(e)){var t=i.node.deepestParent(e);t&&(e=t)}var n=function n(){return i.opts.enter!=Mt.ENTER_BR&&i.node.isEmpty(e)&&0<=i.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},r=function r(){return i.opts.enter==Mt.ENTER_BR&&("BR"==e.tagName&&(!e.previousSibling||"BR"==e.previousSibling.tagName||i.node.isBlock(e.previousSibling))||i.node.isEmpty(e)&&(!e.previousSibling||"BR"==e.previousSibling.tagName||i.node.isBlock(e.previousSibling))&&(!e.nextSibling||"BR"==e.nextSibling.tagName||i.node.isBlock(e.nextSibling)))};e&&(n()||r())?s&&s.data("tag").is(c(e))&&s.hasClass("fr-on")?f():i.selection.isCollapsed()&&a(c(e)):o()}}function o(){s&&(s.hasClass("fr-on")&&f(),s.removeClass("fr-visible fr-on"),s.css("left",-9999).css("top",-9999))}function d(e){if(e&&e.preventDefault(),s.hasClass("fr-on")&&!s.hasClass("fr-hidden"))f();else{if(!i.shared.$qi_helper){for(var t=i.opts.quickInsertButtons,n='
    ',r=0,a=0;a').concat(i.icon.create(o.icon),""))}n+="
    ",i.shared.$qi_helper=c(n),i.tooltip.bind(i.shared.$qi_helper,"a.fr-btn"),i.events.$on(i.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}l=i.shared.$qi_helper,i.$box.append(l),setTimeout(function(){l.css("top",parseFloat(s.css("top"))),l.css("left",parseFloat(s.css("left"))+s.outerWidth()),l.find("a").addClass("fr-size-1"),s.addClass("fr-on")},10)}}function f(){var n=i.$box.find(".fr-qi-helper");n.length&&function(){for(var t=n.find("a"),e=0;e').concat(this.language.translate(t[n])).concat(r?''.concat(r,""):"","")}return e+=""},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),Mt.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"}),Object.assign(Mt.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),Mt.PLUGINS.save=function(s){var l=s.$,r=null,c=null,t=!1,d=1,f=2,n={};function p(e,t){s.events.trigger("save.error",[{code:e,message:n[e]},t])}function a(e){void 0===e&&(e=s.html.get());var r=e,t=s.events.trigger("save.before",[e]);if(!1===t)return!1;if("string"==typeof t&&(e=t),s.opts.saveURL){var n={};for(var a in s.opts.saveParams)if(s.opts.saveParams.hasOwnProperty(a)){var o=s.opts.saveParams[a];n[a]="function"==typeof o?o.call(this):o}var i={};i[s.opts.saveParam]=e,l(this).ajax({method:s.opts.saveMethod,url:s.opts.saveURL,data:Object.assign(i,n),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){c=r,s.events.trigger("save.after",[e])},fail:function(e){p(f,e.response||e.responseText)}})}else p(d)}function o(){clearTimeout(r),r=setTimeout(function(){var e=s.html.get();(c!=e||t)&&(t=!1,a(c=e))},0)}return n[d]="Missing saveURL option.",n[f]="Something went wrong during save.",{_init:function i(){if(s.opts.letteringClass)for(var e=s.opts.letteringClass,t=s.$el.find(".".concat(e)).length,n=0;n$1
    ");s.opts.saveInterval&&(c=s.html.get(),s.events.on("contentChanged",function(){setTimeout(o,s.opts.saveInterval)}),s.events.on("keydown destroy",function(){clearTimeout(r)}))},save:a,reset:function e(){o(),t=!1},force:function u(){t=!0}}},Mt.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),Mt.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"}),Object.assign(Mt.DEFAULTS,{specialCharactersSets:[{title:"Latin","char":"¡",list:[{"char":"¡",desc:"INVERTED EXCLAMATION MARK"},{"char":"¢",desc:"CENT SIGN"},{"char":"£",desc:"POUND SIGN"},{"char":"¤",desc:"CURRENCY SIGN"},{"char":"¥",desc:"YEN SIGN"},{"char":"¦",desc:"BROKEN BAR"},{"char":"§",desc:"SECTION SIGN"},{"char":"¨",desc:"DIAERESIS"},{"char":"©",desc:"COPYRIGHT SIGN"},{"char":"™",desc:"TRADEMARK SIGN"},{"char":"ª",desc:"FEMININE ORDINAL INDICATOR"},{"char":"«",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¬",desc:"NOT SIGN"},{"char":"®",desc:"REGISTERED SIGN"},{"char":"¯",desc:"MACRON"},{"char":"°",desc:"DEGREE SIGN"},{"char":"±",desc:"PLUS-MINUS SIGN"},{"char":"²",desc:"SUPERSCRIPT TWO"},{"char":"³",desc:"SUPERSCRIPT THREE"},{"char":"´",desc:"ACUTE ACCENT"},{"char":"µ",desc:"MICRO SIGN"},{"char":"¶",desc:"PILCROW SIGN"},{"char":"·",desc:"MIDDLE DOT"},{"char":"¸",desc:"CEDILLA"},{"char":"¹",desc:"SUPERSCRIPT ONE"},{"char":"º",desc:"MASCULINE ORDINAL INDICATOR"},{"char":"»",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¼",desc:"VULGAR FRACTION ONE QUARTER"},{"char":"½",desc:"VULGAR FRACTION ONE HALF"},{"char":"¾",desc:"VULGAR FRACTION THREE QUARTERS"},{"char":"¿",desc:"INVERTED QUESTION MARK"},{"char":"À",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{"char":"Á",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{"char":"Â",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{"char":"Ã",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{"char":"Ä",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{"char":"Å",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{"char":"Æ",desc:"LATIN CAPITAL LETTER AE"},{"char":"Ç",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{"char":"È",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{"char":"É",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{"char":"Ê",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{"char":"Ë",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{"char":"Ì",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{"char":"Í",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{"char":"Î",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{"char":"Ï",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{"char":"Ð",desc:"LATIN CAPITAL LETTER ETH"},{"char":"Ñ",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{"char":"Ò",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{"char":"Ó",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{"char":"Ô",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{"char":"Õ",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{"char":"Ö",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{"char":"×",desc:"MULTIPLICATION SIGN"},{"char":"Ø",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{"char":"Ù",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{"char":"Ú",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{"char":"Û",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{"char":"Ü",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{"char":"Ý",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{"char":"Þ",desc:"LATIN CAPITAL LETTER THORN"},{"char":"ß",desc:"LATIN SMALL LETTER SHARP S"},{"char":"à",desc:"LATIN SMALL LETTER A WITH GRAVE"},{"char":"á",desc:"LATIN SMALL LETTER A WITH ACUTE "},{"char":"â",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{"char":"ã",desc:"LATIN SMALL LETTER A WITH TILDE"},{"char":"ä",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{"char":"å",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{"char":"æ",desc:"LATIN SMALL LETTER AE"},{"char":"ç",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{"char":"è",desc:"LATIN SMALL LETTER E WITH GRAVE"},{"char":"é",desc:"LATIN SMALL LETTER E WITH ACUTE"},{"char":"ê",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{"char":"ë",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{"char":"ì",desc:"LATIN SMALL LETTER I WITH GRAVE"},{"char":"í",desc:"LATIN SMALL LETTER I WITH ACUTE"},{"char":"î",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{"char":"ï",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{"char":"ð",desc:"LATIN SMALL LETTER ETH"},{"char":"ñ",desc:"LATIN SMALL LETTER N WITH TILDE"},{"char":"ò",desc:"LATIN SMALL LETTER O WITH GRAVE"},{"char":"ó",desc:"LATIN SMALL LETTER O WITH ACUTE"},{"char":"ô",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{"char":"õ",desc:"LATIN SMALL LETTER O WITH TILDE"},{"char":"ö",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{"char":"÷",desc:"DIVISION SIGN"},{"char":"ø",desc:"LATIN SMALL LETTER O WITH STROKE"},{"char":"ù",desc:"LATIN SMALL LETTER U WITH GRAVE"},{"char":"ú",desc:"LATIN SMALL LETTER U WITH ACUTE"},{"char":"û",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{"char":"ü",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{"char":"ý",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{"char":"þ",desc:"LATIN SMALL LETTER THORN"},{"char":"ÿ",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek","char":"Α",list:[{"char":"Α",desc:"GREEK CAPITAL LETTER ALPHA"},{"char":"Β",desc:"GREEK CAPITAL LETTER BETA"},{"char":"Γ",desc:"GREEK CAPITAL LETTER GAMMA"},{"char":"Δ",desc:"GREEK CAPITAL LETTER DELTA"},{"char":"Ε",desc:"GREEK CAPITAL LETTER EPSILON"},{"char":"Ζ",desc:"GREEK CAPITAL LETTER ZETA"},{"char":"Η",desc:"GREEK CAPITAL LETTER ETA"},{"char":"Θ",desc:"GREEK CAPITAL LETTER THETA"},{"char":"Ι",desc:"GREEK CAPITAL LETTER IOTA"},{"char":"Κ",desc:"GREEK CAPITAL LETTER KAPPA"},{"char":"Λ",desc:"GREEK CAPITAL LETTER LAMBDA"},{"char":"Μ",desc:"GREEK CAPITAL LETTER MU"},{"char":"Ν",desc:"GREEK CAPITAL LETTER NU"},{"char":"Ξ",desc:"GREEK CAPITAL LETTER XI"},{"char":"Ο",desc:"GREEK CAPITAL LETTER OMICRON"},{"char":"Π",desc:"GREEK CAPITAL LETTER PI"},{"char":"Ρ",desc:"GREEK CAPITAL LETTER RHO"},{"char":"Σ",desc:"GREEK CAPITAL LETTER SIGMA"},{"char":"Τ",desc:"GREEK CAPITAL LETTER TAU"},{"char":"Υ",desc:"GREEK CAPITAL LETTER UPSILON"},{"char":"Φ",desc:"GREEK CAPITAL LETTER PHI"},{"char":"Χ",desc:"GREEK CAPITAL LETTER CHI"},{"char":"Ψ",desc:"GREEK CAPITAL LETTER PSI"},{"char":"Ω",desc:"GREEK CAPITAL LETTER OMEGA"},{"char":"α",desc:"GREEK SMALL LETTER ALPHA"},{"char":"β",desc:"GREEK SMALL LETTER BETA"},{"char":"γ",desc:"GREEK SMALL LETTER GAMMA"},{"char":"δ",desc:"GREEK SMALL LETTER DELTA"},{"char":"ε",desc:"GREEK SMALL LETTER EPSILON"},{"char":"ζ",desc:"GREEK SMALL LETTER ZETA"},{"char":"η",desc:"GREEK SMALL LETTER ETA"},{"char":"θ",desc:"GREEK SMALL LETTER THETA"},{"char":"ι",desc:"GREEK SMALL LETTER IOTA"},{"char":"κ",desc:"GREEK SMALL LETTER KAPPA"},{"char":"λ",desc:"GREEK SMALL LETTER LAMBDA"},{"char":"μ",desc:"GREEK SMALL LETTER MU"},{"char":"ν",desc:"GREEK SMALL LETTER NU"},{"char":"ξ",desc:"GREEK SMALL LETTER XI"},{"char":"ο",desc:"GREEK SMALL LETTER OMICRON"},{"char":"π",desc:"GREEK SMALL LETTER PI"},{"char":"ρ",desc:"GREEK SMALL LETTER RHO"},{"char":"ς",desc:"GREEK SMALL LETTER FINAL SIGMA"},{"char":"σ",desc:"GREEK SMALL LETTER SIGMA"},{"char":"τ",desc:"GREEK SMALL LETTER TAU"},{"char":"υ",desc:"GREEK SMALL LETTER UPSILON"},{"char":"φ",desc:"GREEK SMALL LETTER PHI"},{"char":"χ",desc:"GREEK SMALL LETTER CHI"},{"char":"ψ",desc:"GREEK SMALL LETTER PSI"},{"char":"ω",desc:"GREEK SMALL LETTER OMEGA"},{"char":"ϑ",desc:"GREEK THETA SYMBOL"},{"char":"ϒ",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{"char":"ϕ",desc:"GREEK PHI SYMBOL"},{"char":"ϖ",desc:"GREEK PI SYMBOL"},{"char":"Ϝ",desc:"GREEK LETTER DIGAMMA"},{"char":"ϝ",desc:"GREEK SMALL LETTER DIGAMMA"},{"char":"ϰ",desc:"GREEK KAPPA SYMBOL"},{"char":"ϱ",desc:"GREEK RHO SYMBOL"},{"char":"ϵ",desc:"GREEK LUNATE EPSILON SYMBOL"},{"char":"϶",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic","char":"Ѐ",list:[{"char":"Ѐ",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{"char":"Ё",desc:"CYRILLIC CAPITAL LETTER IO"},{"char":"Ђ",desc:"CYRILLIC CAPITAL LETTER DJE"},{"char":"Ѓ",desc:"CYRILLIC CAPITAL LETTER GJE"},{"char":"Є",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{"char":"Ѕ",desc:"CYRILLIC CAPITAL LETTER DZE"},{"char":"І",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"Ї",desc:"CYRILLIC CAPITAL LETTER YI"},{"char":"Ј",desc:"CYRILLIC CAPITAL LETTER JE"},{"char":"Љ",desc:"CYRILLIC CAPITAL LETTER LJE"},{"char":"Њ",desc:"CYRILLIC CAPITAL LETTER NJE"},{"char":"Ћ",desc:"CYRILLIC CAPITAL LETTER TSHE"},{"char":"Ќ",desc:"CYRILLIC CAPITAL LETTER KJE"},{"char":"Ѝ",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{"char":"Ў",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{"char":"Џ",desc:"CYRILLIC CAPITAL LETTER DZHE"},{"char":"А",desc:"CYRILLIC CAPITAL LETTER A"},{"char":"Б",desc:"CYRILLIC CAPITAL LETTER BE"},{"char":"В",desc:"CYRILLIC CAPITAL LETTER VE"},{"char":"Г",desc:"CYRILLIC CAPITAL LETTER GHE"},{"char":"Д",desc:"CYRILLIC CAPITAL LETTER DE"},{"char":"Е",desc:"CYRILLIC CAPITAL LETTER IE"},{"char":"Ж",desc:"CYRILLIC CAPITAL LETTER ZHE"},{"char":"З",desc:"CYRILLIC CAPITAL LETTER ZE"},{"char":"И",desc:"CYRILLIC CAPITAL LETTER I"},{"char":"Й",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{"char":"К",desc:"CYRILLIC CAPITAL LETTER KA"},{"char":"Л",desc:"CYRILLIC CAPITAL LETTER EL"},{"char":"М",desc:"CYRILLIC CAPITAL LETTER EM"},{"char":"Н",desc:"CYRILLIC CAPITAL LETTER EN"},{"char":"О",desc:"CYRILLIC CAPITAL LETTER O"},{"char":"П",desc:"CYRILLIC CAPITAL LETTER PE"},{"char":"Р",desc:"CYRILLIC CAPITAL LETTER ER"},{"char":"С",desc:"CYRILLIC CAPITAL LETTER ES"},{"char":"Т",desc:"CYRILLIC CAPITAL LETTER TE"},{"char":"У",desc:"CYRILLIC CAPITAL LETTER U"},{"char":"Ф",desc:"CYRILLIC CAPITAL LETTER EF"},{"char":"Х",desc:"CYRILLIC CAPITAL LETTER HA"},{"char":"Ц",desc:"CYRILLIC CAPITAL LETTER TSE"},{"char":"Ч",desc:"CYRILLIC CAPITAL LETTER CHE"},{"char":"Ш",desc:"CYRILLIC CAPITAL LETTER SHA"},{"char":"Щ",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{"char":"Ъ",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{"char":"Ы",desc:"CYRILLIC CAPITAL LETTER YERU"},{"char":"Ь",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{"char":"Э",desc:"CYRILLIC CAPITAL LETTER E"},{"char":"Ю",desc:"CYRILLIC CAPITAL LETTER YU"},{"char":"Я",desc:"CYRILLIC CAPITAL LETTER YA"},{"char":"а",desc:"CYRILLIC SMALL LETTER A"},{"char":"б",desc:"CYRILLIC SMALL LETTER BE"},{"char":"в",desc:"CYRILLIC SMALL LETTER VE"},{"char":"г",desc:"CYRILLIC SMALL LETTER GHE"},{"char":"д",desc:"CYRILLIC SMALL LETTER DE"},{"char":"е",desc:"CYRILLIC SMALL LETTER IE"},{"char":"ж",desc:"CYRILLIC SMALL LETTER ZHE"},{"char":"з",desc:"CYRILLIC SMALL LETTER ZE"},{"char":"и",desc:"CYRILLIC SMALL LETTER I"},{"char":"й",desc:"CYRILLIC SMALL LETTER SHORT I"},{"char":"к",desc:"CYRILLIC SMALL LETTER KA"},{"char":"л",desc:"CYRILLIC SMALL LETTER EL"},{"char":"м",desc:"CYRILLIC SMALL LETTER EM"},{"char":"н",desc:"CYRILLIC SMALL LETTER EN"},{"char":"о",desc:"CYRILLIC SMALL LETTER O"},{"char":"п",desc:"CYRILLIC SMALL LETTER PE"},{"char":"р",desc:"CYRILLIC SMALL LETTER ER"},{"char":"с",desc:"CYRILLIC SMALL LETTER ES"},{"char":"т",desc:"CYRILLIC SMALL LETTER TE"},{"char":"у",desc:"CYRILLIC SMALL LETTER U"},{"char":"ф",desc:"CYRILLIC SMALL LETTER EF"},{"char":"х",desc:"CYRILLIC SMALL LETTER HA"},{"char":"ц",desc:"CYRILLIC SMALL LETTER TSE"},{"char":"ч",desc:"CYRILLIC SMALL LETTER CHE"},{"char":"ш",desc:"CYRILLIC SMALL LETTER SHA"},{"char":"щ",desc:"CYRILLIC SMALL LETTER SHCHA"},{"char":"ъ",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{"char":"ы",desc:"CYRILLIC SMALL LETTER YERU"},{"char":"ь",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{"char":"э",desc:"CYRILLIC SMALL LETTER E"},{"char":"ю",desc:"CYRILLIC SMALL LETTER YU"},{"char":"я",desc:"CYRILLIC SMALL LETTER YA"},{"char":"ѐ",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{"char":"ё",desc:"CYRILLIC SMALL LETTER IO"},{"char":"ђ",desc:"CYRILLIC SMALL LETTER DJE"},{"char":"ѓ",desc:"CYRILLIC SMALL LETTER GJE"},{"char":"є",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{"char":"ѕ",desc:"CYRILLIC SMALL LETTER DZE"},{"char":"і",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"ї",desc:"CYRILLIC SMALL LETTER YI"},{"char":"ј",desc:"CYRILLIC SMALL LETTER JE"},{"char":"љ",desc:"CYRILLIC SMALL LETTER LJE"},{"char":"њ",desc:"CYRILLIC SMALL LETTER NJE"},{"char":"ћ",desc:"CYRILLIC SMALL LETTER TSHE"},{"char":"ќ",desc:"CYRILLIC SMALL LETTER KJE"},{"char":"ѝ",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{"char":"ў",desc:"CYRILLIC SMALL LETTER SHORT U"},{"char":"џ",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation","char":"–",list:[{"char":"–",desc:"EN DASH"},{"char":"—",desc:"EM DASH"},{"char":"‘",desc:"LEFT SINGLE QUOTATION MARK"},{"char":"’",desc:"RIGHT SINGLE QUOTATION MARK"},{"char":"‚",desc:"SINGLE LOW-9 QUOTATION MARK"},{"char":"“",desc:"LEFT DOUBLE QUOTATION MARK"},{"char":"”",desc:"RIGHT DOUBLE QUOTATION MARK"},{"char":"„",desc:"DOUBLE LOW-9 QUOTATION MARK"},{"char":"†",desc:"DAGGER"},{"char":"‡",desc:"DOUBLE DAGGER"},{"char":"•",desc:"BULLET"},{"char":"…",desc:"HORIZONTAL ELLIPSIS"},{"char":"‰",desc:"PER MILLE SIGN"},{"char":"′",desc:"PRIME"},{"char":"″",desc:"DOUBLE PRIME"},{"char":"‹",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{"char":"›",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{"char":"‾",desc:"OVERLINE"},{"char":"⁄",desc:"FRACTION SLASH"}]},{title:"Currency","char":"₠",list:[{"char":"₠",desc:"EURO-CURRENCY SIGN"},{"char":"₡",desc:"COLON SIGN"},{"char":"₢",desc:"CRUZEIRO SIGN"},{"char":"₣",desc:"FRENCH FRANC SIGN"},{"char":"₤",desc:"LIRA SIGN"},{"char":"₥",desc:"MILL SIGN"},{"char":"₦",desc:"NAIRA SIGN"},{"char":"₧",desc:"PESETA SIGN"},{"char":"₨",desc:"RUPEE SIGN"},{"char":"₩",desc:"WON SIGN"},{"char":"₪",desc:"NEW SHEQEL SIGN"},{"char":"₫",desc:"DONG SIGN"},{"char":"€",desc:"EURO SIGN"},{"char":"₭",desc:"KIP SIGN"},{"char":"₮",desc:"TUGRIK SIGN"},{"char":"₯",desc:"DRACHMA SIGN"},{"char":"₰",desc:"GERMAN PENNY SYMBOL"},{"char":"₱",desc:"PESO SIGN"},{"char":"₲",desc:"GUARANI SIGN"},{"char":"₳",desc:"AUSTRAL SIGN"},{"char":"₴",desc:"HRYVNIA SIGN"},{"char":"₵",desc:"CEDI SIGN"},{"char":"₶",desc:"LIVRE TOURNOIS SIGN"},{"char":"₷",desc:"SPESMILO SIGN"},{"char":"₸",desc:"TENGE SIGN"},{"char":"₹",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows","char":"←",list:[{"char":"←",desc:"LEFTWARDS ARROW"},{"char":"↑",desc:"UPWARDS ARROW"},{"char":"→",desc:"RIGHTWARDS ARROW"},{"char":"↓",desc:"DOWNWARDS ARROW"},{"char":"↔",desc:"LEFT RIGHT ARROW"},{"char":"↕",desc:"UP DOWN ARROW"},{"char":"↖",desc:"NORTH WEST ARROW"},{"char":"↗",desc:"NORTH EAST ARROW"},{"char":"↘",desc:"SOUTH EAST ARROW"},{"char":"↙",desc:"SOUTH WEST ARROW"},{"char":"↚",desc:"LEFTWARDS ARROW WITH STROKE"},{"char":"↛",desc:"RIGHTWARDS ARROW WITH STROKE"},{"char":"↜",desc:"LEFTWARDS WAVE ARROW"},{"char":"↝",desc:"RIGHTWARDS WAVE ARROW"},{"char":"↞",desc:"LEFTWARDS TWO HEADED ARROW"},{"char":"↟",desc:"UPWARDS TWO HEADED ARROW"},{"char":"↠",desc:"RIGHTWARDS TWO HEADED ARROW"},{"char":"↡",desc:"DOWNWARDS TWO HEADED ARROW"},{"char":"↢",desc:"LEFTWARDS ARROW WITH TAIL"},{"char":"↣",desc:"RIGHTWARDS ARROW WITH TAIL"},{"char":"↤",desc:"LEFTWARDS ARROW FROM BAR"},{"char":"↥",desc:"UPWARDS ARROW FROM BAR"},{"char":"↦",desc:"RIGHTWARDS ARROW FROM BAR"},{"char":"↧",desc:"DOWNWARDS ARROW FROM BAR"},{"char":"↨",desc:"UP DOWN ARROW WITH BASE"},{"char":"↩",desc:"LEFTWARDS ARROW WITH HOOK"},{"char":"↪",desc:"RIGHTWARDS ARROW WITH HOOK"},{"char":"↫",desc:"LEFTWARDS ARROW WITH LOOP"},{"char":"↬",desc:"RIGHTWARDS ARROW WITH LOOP"},{"char":"↭",desc:"LEFT RIGHT WAVE ARROW"},{"char":"↮",desc:"LEFT RIGHT ARROW WITH STROKE"},{"char":"↯",desc:"DOWNWARDS ZIGZAG ARROW"},{"char":"↰",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↱",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↲",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↳",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↴",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{"char":"↵",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{"char":"↶",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↷",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↸",desc:"NORTH WEST ARROW TO LONG BAR"},{"char":"↹",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{"char":"↺",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{"char":"↻",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{"char":"↼",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{"char":"↽",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"↾",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"↿",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇀",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{"char":"⇁",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"⇂",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"⇃",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇄",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{"char":"⇅",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{"char":"⇆",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{"char":"⇇",desc:"LEFTWARDS PAIRED ARROWS"},{"char":"⇈",desc:"UPWARDS PAIRED ARROWS"},{"char":"⇉",desc:"RIGHTWARDS PAIRED ARROWS"},{"char":"⇊",desc:"DOWNWARDS PAIRED ARROWS"},{"char":"⇋",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{"char":"⇌",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{"char":"⇍",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇎",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{"char":"⇏",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇐",desc:"LEFTWARDS DOUBLE ARROW"},{"char":"⇑",desc:"UPWARDS DOUBLE ARROW"},{"char":"⇒",desc:"RIGHTWARDS DOUBLE ARROW"},{"char":"⇓",desc:"DOWNWARDS DOUBLE ARROW"},{"char":"⇔",desc:"LEFT RIGHT DOUBLE ARROW"},{"char":"⇕",desc:"UP DOWN DOUBLE ARROW"},{"char":"⇖",desc:"NORTH WEST DOUBLE ARROW"},{"char":"⇗",desc:"NORTH EAST DOUBLE ARROW"},{"char":"⇘",desc:"SOUTH EAST DOUBLE ARROW"},{"char":"⇙",desc:"SOUTH WEST DOUBLE ARROW"},{"char":"⇚",desc:"LEFTWARDS TRIPLE ARROW"},{"char":"⇛",desc:"RIGHTWARDS TRIPLE ARROW"},{"char":"⇜",desc:"LEFTWARDS SQUIGGLE ARROW"},{"char":"⇝",desc:"RIGHTWARDS SQUIGGLE ARROW"},{"char":"⇞",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇟",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇠",desc:"LEFTWARDS DASHED ARROW"},{"char":"⇡",desc:"UPWARDS DASHED ARROW"},{"char":"⇢",desc:"RIGHTWARDS DASHED ARROW"},{"char":"⇣",desc:"DOWNWARDS DASHED ARROW"},{"char":"⇤",desc:"LEFTWARDS ARROW TO BAR"},{"char":"⇥",desc:"RIGHTWARDS ARROW TO BAR"},{"char":"⇦",desc:"LEFTWARDS WHITE ARROW"},{"char":"⇧",desc:"UPWARDS WHITE ARROW"},{"char":"⇨",desc:"RIGHTWARDS WHITE ARROW"},{"char":"⇩",desc:"DOWNWARDS WHITE ARROW"},{"char":"⇪",desc:"UPWARDS WHITE ARROW FROM BAR"},{"char":"⇫",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{"char":"⇬",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{"char":"⇭",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"},{"char":"⇮",desc:"UPWARDS WHITE DOUBLE ARROW"},{"char":"⇯",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{"char":"⇰",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{"char":"⇱",desc:"NORTH WEST ARROW TO CORNER"},{"char":"⇲",desc:"SOUTH EAST ARROW TO CORNER"},{"char":"⇳",desc:"UP DOWN WHITE ARROW"},{"char":"⇴",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{"char":"⇵",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{"char":"⇶",desc:"THREE RIGHTWARDS ARROWS"},{"char":"⇷",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇸",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇹",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{"char":"⇺",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇻",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇼",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇽",desc:"LEFTWARDS OPEN-HEADED ARROW"},{"char":"⇾",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{"char":"⇿",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math","char":"∀",list:[{"char":"∀",desc:"FOR ALL"},{"char":"∂",desc:"PARTIAL DIFFERENTIAL"},{"char":"∃",desc:"THERE EXISTS"},{"char":"∅",desc:"EMPTY SET"},{"char":"∇",desc:"NABLA"},{"char":"∈",desc:"ELEMENT OF"},{"char":"∉",desc:"NOT AN ELEMENT OF"},{"char":"∋",desc:"CONTAINS AS MEMBER"},{"char":"∏",desc:"N-ARY PRODUCT"},{"char":"∑",desc:"N-ARY SUMMATION"},{"char":"−",desc:"MINUS SIGN"},{"char":"∗",desc:"ASTERISK OPERATOR"},{"char":"√",desc:"SQUARE ROOT"},{"char":"∝",desc:"PROPORTIONAL TO"},{"char":"∞",desc:"INFINITY"},{"char":"∠",desc:"ANGLE"},{"char":"∧",desc:"LOGICAL AND"},{"char":"∨",desc:"LOGICAL OR"},{"char":"∩",desc:"INTERSECTION"},{"char":"∪",desc:"UNION"},{"char":"∫",desc:"INTEGRAL"},{"char":"∴",desc:"THEREFORE"},{"char":"∼",desc:"TILDE OPERATOR"},{"char":"≅",desc:"APPROXIMATELY EQUAL TO"},{"char":"≈",desc:"ALMOST EQUAL TO"},{"char":"≠",desc:"NOT EQUAL TO"},{"char":"≡",desc:"IDENTICAL TO"},{"char":"≤",desc:"LESS-THAN OR EQUAL TO"},{"char":"≥",desc:"GREATER-THAN OR EQUAL TO"},{"char":"⊂",desc:"SUBSET OF"},{"char":"⊃",desc:"SUPERSET OF"},{"char":"⊄",desc:"NOT A SUBSET OF"},{"char":"⊆",desc:"SUBSET OF OR EQUAL TO"},{"char":"⊇",desc:"SUPERSET OF OR EQUAL TO"},{"char":"⊕",desc:"CIRCLED PLUS"},{"char":"⊗",desc:"CIRCLED TIMES"},{"char":"⊥",desc:"UP TACK"}]},{title:"Misc","char":"♠",list:[{"char":"♠",desc:"BLACK SPADE SUIT"},{"char":"♣",desc:"BLACK CLUB SUIT"},{"char":"♥",desc:"BLACK HEART SUIT"},{"char":"♦",desc:"BLACK DIAMOND SUIT"},{"char":"♩",desc:"QUARTER NOTE"},{"char":"♪",desc:"EIGHTH NOTE"},{"char":"♫",desc:"BEAMED EIGHTH NOTES"},{"char":"♬",desc:"BEAMED SIXTEENTH NOTES"},{"char":"♭",desc:"MUSIC FLAT SIGN"},{"char":"♮",desc:"MUSIC NATURAL SIGN"},{"char":"☀",desc:"BLACK SUN WITH RAYS"},{"char":"☁",desc:"CLOUD"},{"char":"☂",desc:"UMBRELLA"},{"char":"☃",desc:"SNOWMAN"},{"char":"☕",desc:"HOT BEVERAGE"},{"char":"☘",desc:"SHAMROCK"},{"char":"☯",desc:"YIN YANG"},{"char":"✔",desc:"HEAVY CHECK MARK"},{"char":"✖",desc:"HEAVY MULTIPLICATION X"},{"char":"❄",desc:"SNOWFLAKE"},{"char":"❛",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❜",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❝",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❞",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❤",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(Mt.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Mt.PLUGINS.specialCharacters=function(g){var m=g.$,n=g.opts.specialCharactersSets[0],a=g.opts.specialCharactersSets,i="";function s(){return'\n
    \n '.concat(function t(e,n){var r="";return e.forEach(function(e){var t={elementClass:e.title===n.title?"fr-active fr-active-tab":"",title:e.title,dataParam1:e.title,desc:e["char"]};r+='")}),r}(a,n),'\n
    \n
    \n ').concat(function r(e){var n="";return e.list.forEach(function(e){var t={dataParam1:e["char"],title:e.desc,splCharValue:e["char"]};n+='').concat(t.splCharValue,"")}),n}(n),"\n
    ")}return{setSpecialCharacterCategory:function r(t){n=a.filter(function(e){return e.title===t})[0],function e(){g.popups.get("specialCharacters").html(i+s())}()},showSpecialCharsPopup:function l(){var e=g.popups.get("specialCharacters");if(e||(e=function o(){g.opts.toolbarInline&&0'.concat(g.button.buildList(g.opts.specialCharButtons),""));var e={buttons:i,custom_layer:s()},t=g.popups.create("specialCharacters",e);return function n(h){g.events.on("popup.tab",function(e){var t=m(e.currentTarget);if(!g.popups.isVisible("specialCharacters")||!t.is("span, a"))return!0;var n,r,a,o=e.which;if(Mt.KEYCODE.TAB==o){if(t.is("span.fr-icon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var i=h.find(".fr-buttons");n=!g.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==n){var s=h.find("span.fr-icon:focus").first().concat(h.findVisible(" span.fr-icon").first().concat(h.find("a")));t.is("span.fr-icon")&&(s=s.not("span.fr-icon:not(:focus)")),r=s.index(t),r=e.shiftKey?((r-1)%s.length+s.length)%s.length:(r+1)%s.length,a=s.get(r),g.events.disableBlur(),a.focus(),n=!1}}else if(Mt.KEYCODE.ARROW_UP==o||Mt.KEYCODE.ARROW_DOWN==o||Mt.KEYCODE.ARROW_LEFT==o||Mt.KEYCODE.ARROW_RIGHT==o){if(t.is("span.fr-icon")){var l=t.parent().find("span.fr-icon");r=l.index(t);var c=Math.floor(l.length/11),d=r%11,f=Math.floor(r/11),p=11*f+d,u=11*c;Mt.KEYCODE.ARROW_UP==o?p=((p-11)%u+u)%u:Mt.KEYCODE.ARROW_DOWN==o?p=(p+11)%u:Mt.KEYCODE.ARROW_LEFT==o?p=((p-1)%u+u)%u:Mt.KEYCODE.ARROW_RIGHT==o&&(p=(p+1)%u),a=m(l.get(p)),g.events.disableBlur(),a.focus(),n=!1}}else Mt.KEYCODE.ENTER==o&&(t.is("a")?t[0].click():g.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(t),t}()),!e.hasClass("fr-active")){g.popups.refresh("specialCharacters"),g.popups.setContainer("specialCharacters",g.$tb);var t=g.$tb.find('.fr-command[data-cmd="specialCharacters"]'),n=g.button.getPosition(t),r=n.left,a=n.top;g.popups.show("specialCharacters",r,a,outerHeight)}},back:function e(){g.popups.hide("specialCharacters"),g.toolbar.showInline()}}},Mt.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),Mt.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),Mt.RegisterCommand("insertSpecialCharacter",{callback:function(e,t){this.undo.saveStep(),this.html.insert(t),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),Mt.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(e,t){this.specialCharacters.setSpecialCharacterCategory(t)}}),Mt.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}}),Object.assign(Mt.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(Mt.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackground","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),Mt.PLUGINS.table=function(T){var A,c,a,o,r,i,L,S=T.$;function u(){var e=w();if(e){var t=T.popups.get("table.edit");if(t||(t=p()),t){T.popups.setContainer("table.edit",T.$sc);var n=O(e),r=n.left+(n.right-n.left)/2,a=n.bottom;T.popups.show("table.edit",r,a,n.bottom-n.top,!0),T.edit.isDisabled()&&(1"));var t="";T.opts.colorsHEXInput&&(t='
    "));var n={buttons:e,colors:function a(){for(var e='
    ',t=0;t"),"REMOVE"!=T.opts.tableColors[t]?e+='').concat(T.language.translate("Color")," ").concat(T.opts.tableColors[t],"   "):e+='').concat(T.icon.create("tableColorRemove"),'').concat(T.language.translate("Clear Formatting"),"");return e+="
    "}(),custom_color:t},r=T.popups.create("table.colors",n);return T.events.$on(T.$wp,"scroll.table-colors",function(){T.popups.isVisible("table.colors")&&s()}),function o(h){T.events.on("popup.tab",function(e){var t=S(e.currentTarget);if(!T.popups.isVisible("table.colors")||!t.is("span"))return!0;var n=e.which,r=!0;if(Mt.KEYCODE.TAB==n){var a=h.find(".fr-buttons");r=!T.accessibility.focusToolbar(a,!!e.shiftKey)}else if(Mt.KEYCODE.ARROW_UP==n||Mt.KEYCODE.ARROW_DOWN==n||Mt.KEYCODE.ARROW_LEFT==n||Mt.KEYCODE.ARROW_RIGHT==n){var o=t.parent().find("span.fr-command"),i=o.index(t),s=T.opts.colorsStep,l=Math.floor(o.length/s),c=i%s,d=Math.floor(i/s),f=d*s+c,p=l*s;Mt.KEYCODE.ARROW_UP==n?f=((f-s)%p+p)%p:Mt.KEYCODE.ARROW_DOWN==n?f=(f+s)%p:Mt.KEYCODE.ARROW_LEFT==n?f=((f-1)%p+p)%p:Mt.KEYCODE.ARROW_RIGHT==n&&(f=(f+1)%p);var u=S(o.get(f));T.events.disableBlur(),u.focus(),r=!1}else Mt.KEYCODE.ENTER==n&&(T.button.exec(t),r=!1);return!1===r&&(e.preventDefault(),e.stopPropagation()),r},!0)}(r),r}()),T.popups.setContainer("table.colors",T.$sc);var n=O(e),r=(n.left+n.right)/2,a=n.bottom;!function o(){var e=T.popups.get("table.colors"),t=T.$el.find(".fr-selected-cell").first(),n=T.helpers.RGBToHex(t.css("background-color")),r=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),e.find('span[data-param1="'.concat(n,'"]')).addClass("fr-selected-color fr-active-item"),r.val(n).trigger("change")}(),T.popups.show("table.colors",r,a,n.bottom-n.top,!0)}}function l(){0===Q().length&&T.toolbar.enable()}function d(e){if(e)return T.popups.onHide("table.insert",function(){T.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var t="";0'.concat(T.button.buildList(T.opts.tableInsertButtons),""));var n={buttons:t,rows_columns:function o(){for(var e='
    1 × 1
    ',t=1;t<=T.opts.tableInsertMaxSize;t++){for(var n=1;n<=T.opts.tableInsertMaxSize;n++){var r="inline-block";2').concat(t," × ").concat(n,"   ")}e+='
    '}return e+="
    "}()},r=T.popups.create("table.insert",n);return T.events.$on(r,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){f(S(e.currentTarget))},!0),function a(e){T.events.$on(e,"focus","[tabIndex]",function(e){var t=S(e.currentTarget);f(t)}),T.events.on("popup.tab",function(e){var t=S(e.currentTarget);if(!T.popups.isVisible("table.insert")||!t.is("span, a"))return!0;var n,r=e.which;if(Mt.KEYCODE.ARROW_UP==r||Mt.KEYCODE.ARROW_DOWN==r||Mt.KEYCODE.ARROW_LEFT==r||Mt.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-table-cell")){var a=t.parent().find("span.fr-table-cell"),o=a.index(t),i=T.opts.tableInsertMaxSize,s=o%i,l=Math.floor(o/i);Mt.KEYCODE.ARROW_UP==r?l=Math.max(0,l-1):Mt.KEYCODE.ARROW_DOWN==r?l=Math.min(T.opts.tableInsertMaxSize-1,l+1):Mt.KEYCODE.ARROW_LEFT==r?s=Math.max(0,s-1):Mt.KEYCODE.ARROW_RIGHT==r&&(s=Math.min(T.opts.tableInsertMaxSize-1,s+1));var c=l*i+s,d=S(a.get(c));f(d),T.events.disableBlur(),d.focus(),n=!1}}else Mt.KEYCODE.ENTER==r&&(T.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(r),r}function f(e){var t=e.data("row");null!==t&&(t=parseInt(t));var n=e.data("col");null!==n&&(n=parseInt(n));var r=e.parent();r.siblings(".fr-table-size-info").html("".concat(t," × ").concat(n)),r.find("> span").removeClass("hover fr-active-item");for(var a=1;a<=T.opts.tableInsertMaxSize;a++)for(var o=0;o<=T.opts.tableInsertMaxSize;o++){var i=r.find('> span[data-row="'.concat(a,'"][data-col="').concat(o,'"]'));a<=t&&o<=n?i.addClass("hover"):a<=t+1||a<=2&&!T.helpers.isMobile()?i.css("display","inline-block"):2'.concat(T.button.buildList(T.opts.tableEditButtons),"")},n=T.popups.create("table.edit",t);return T.events.$on(T.$wp,"scroll.table-edit",function(){T.popups.isVisible("table.edit")&&u()}),n}return!1}function h(){if(0
    '}s+="",a=0 table tbody"))):S(t.find("tr").not(t.find("> table tr")).get(r)),"below"==e?"TBODY"==a.attr("tagName")?a.prepend(s):a[0].parentNode&&a[0].insertAdjacentHTML("afterend",s):"above"==e&&(a.before(s),T.popups.isVisible("table.edit")&&u())}}function m(e,t,n){var r,a,o,i,s,l=0,c=w(n);if(e<(t=Math.min(t,c[0].length-1)))for(a=e;a<=t;a++)if(!(e table tr")).each(function(s,e){var t=S(e),l=0;t.find("> th, > td").each(function(e,t){for(var n=S(t),r=parseInt(n.attr("colspan"),10)||1,a=parseInt(n.attr("rowspan"),10)||1,o=s;o")),A=T.shared.$table_resizer,T.events.$on(A,"mousedown",function(e){return!T.core.sameInstance(A)||(0n-T.opts.tableResizerOffset?A.css("left",n-T.opts.tableResizerOffset-T.$wp.offset().left):r')),T.events.bindClick(T.shared.$ti_helper,"a",function(){var e=c.data("selected-cell"),t=c.data("position"),n=c.data("instance")||T;"before"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"after"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"above"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"below"==t&&(T.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()),H()}),T.events.on("shared.destroy",function(){T.shared.$ti_helper.html("").removeData().remove(),T.shared.$ti_helper=null},!0),T.events.$on(T.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),T.events.$on(S(T.o_win),"scroll",function(){H()},!0),T.events.$on(T.$wp,"scroll",function(){H()},!0)),c=T.shared.$ti_helper,T.events.on("destroy",function(){c=null}),T.tooltip.bind(T.$box,".fr-insert-helper > a.fr-floating-btn")}function Z(){r=null,clearTimeout(i)}function Q(){return T.el.querySelectorAll(".fr-selected-cell")}function J(){var e=Q();if(e.length){for(var t=e[0];t&&t.parentNode!=T.el;)t=t.parentNode;return t&&"TABLE"==t.tagName?S(t):S([])}return S([])}function ee(e){a=!1}return{_init:function te(){if(!T.$wp)return!1;if(!T.helpers.isMobile()){L=a=o=!1,T.events.$on(T.$el,"mousedown",e),T.popups.onShow("image.edit",function(){y(),a=o=!1}),T.popups.onShow("link.edit",function(){y(),a=o=!1}),T.events.on("commands.mousedown",function(e){0"),n==t.length-1&&S(t[n]).prepend(Mt.MARKERS);return T.selection.restore(),T.undo.saveStep(),!(t=[])}if(1',o=100/t;for(n=0;n",r=0;r",0===n&&0===r&&(a+=Mt.MARKERS),a+="
    ";a+=""}a+="",T.html.insert(a),T.selection.restore();var i=T.$el.find(".fr-inserted-table");i.removeClass("fr-inserted-table"),T.events.trigger("table.inserted",[i.get(0)])},remove:h,insertRow:g,deleteRow:function re(){var e=J();if(0=o.min_i;t--){for(r=S(e.find("tr").not(e.find("> table tr")).get(t)),n=0;n table tr")).get(t+1)).prepend(l):S(a[t+1][c-1])[0].parentNode&&S(a[t+1][c-1])[0].insertAdjacentElement("afterend",l)}}var d=r.parent();r.remove(),0===d.find("tr").length&&d.remove(),a=w(e)}C(0,a.length-1,0,a[0].length-1,e),0 table tr")).each(function(e){for(var t,n=S(this),r=0,a=0;r-1 th, > td").get(a))){t=null;break}t==d[e][r]?(r+=parseInt(S(t).attr("colspan"),10)||1,a++):(r+=parseInt(S(d[e][r]).attr("colspan"),10)||1,"after"==l&&(t=0===a?-1:n.find("> th, > td").get(a-1)))}var o,i=S(t);if("after"==l&&c
    '):'
    '),-1==t?n.prepend(o):null==t?n.append(o):"before"==l?i.before(o):"after"==l&&i[0].parentNode&&i[0].insertAdjacentHTML("afterend",o)}),e.find("th, td").each(function(){(n=S(this)).data("old-width")&&(n.css("width",(n.data("old-width")*p/f).toFixed(4)+"%"),n.removeData("old-width"))}),T.popups.isVisible("table.edit")&&u()}},deleteColumn:function oe(){var e=J();if(0o.max_j)&&(i+=r.outerWidth()/e.outerWidth()*100));for(i/=a.length,n=o.max_j;n>=o.min_j;n--)for(t=0;t th, > td").length&&(0===l.prev().length||0===l.next().length||l.prev().find("> th[rowspan], > td[rowspan]").length th, > td").length)&&l.remove()}C(0,a.length-1,0,a[0].length-1,e),0"!=(t=S(r[e])).html()&&""!==t.html()&&(s+="
    ".concat(t.html())),t.remove();a.html(s),T.selection.setAtEnd(a.get(0)),T.selection.restore(),T.toolbar.enable(),v(n.min_i,n.max_i,i);var c=i.find("tr:empty");for(e=c.length-1;0<=e;e--)S(c[e]).remove();m(n.min_j,n.max_j,i),u()}},splitCellVertically:function se(){if(1==Q().length){var e=T.$el.find(".fr-selected-cell"),t=parseInt(e.attr("colspan"),10)||1,n=e.parent().outerWidth(),r=e.outerWidth(),a=e.clone().html("
    "),o=w(),i=R(e.get(0),o);if(1");if(1 table tr")).get(l)).prepend(i):S(a[l][c])[0].parentNode&&S(a[l][c])[0].insertAdjacentElement("afterend",i[0])}else{var d,f=S(document.createElement("tr")).append(i);for(d=0;d td").each(function(){var e=S(this);r+=parseInt(e.attr("colspan"),10)||1}),t=0;t
    ";n+="",e.prepend(n),u()}},removeHeader:function de(){var e=J(),t=e.find("thead");if(0'+this.language.translate(t[n])+"");return e+=""},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),Mt.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),Mt.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var e='"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),Mt.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),Mt.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1').concat(this.language.translate(t[n]),""));return e+=""},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var n=this.$,r=this.$el.find(".fr-selected-cell").closest("table");r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Mt.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),Mt.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),Mt.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),Mt.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Mt.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),Mt.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),Mt.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),Mt.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),Mt.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),Mt.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),Mt.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),Mt.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),n=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(n(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),Mt.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),Mt.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var n=this.$,r=this.$el.find(".fr-selected-cell").first();r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Mt.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),Mt.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"}),Mt.URLRegEx="(^| |\\u00A0)(".concat(Mt.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),Mt.PLUGINS.url=function(i){var s=i.$,o=null;function t(e,t,n){for(var r="";n.length&&"."==n[n.length-1];)r+=".",n=n.substring(0,n.length-1);var a=n;if(i.opts.linkConvertEmailAddress)i.helpers.isEmail(a)&&!/^mailto:.*/i.test(a)&&(a="mailto:".concat(a));else if(i.helpers.isEmail(a))return t+n;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(a)||(a="//".concat(a)),(t||"")+"').concat(n.replace(/&/g,"&").replace(/&/g,"&").replace(//g,">"),"").concat(r)}var l=function l(){return new RegExp(Mt.URLRegEx,"gi")};function c(e){return i.opts.linkAlwaysNoFollow&&(o="nofollow"),i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(o?o+=" noopener":o="noopener"),i.opts.linkNoReferrer&&(o?o+=" noreferrer":o="noreferrer")),e.replace(l(),t)}function d(e){var t=e.split(" ");return t[t.length-1]}function n(){var e=i.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||"").length)return!1;if(function o(e){return!!e&&("A"===e.tagName||!(!e.parentNode||e.parentNode==i.el)&&o(e.parentNode))}(t))return!1;if(l().test(d(t.textContent))){s(t).before(c(t.textContent));var n=s(t.parentNode).find("a[data-fr-linked]");n.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),i.events.trigger("url.linked",[n.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var r=t.previousSibling.innerText+t.textContent;if(l().test(d(r))){var a=(new DOMParser).parseFromString(c(r),"text/html").body.childNodes;t.parentNode.replaceChild(a[0],t.previousSibling),a.length&&s(t).before(a[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){i.events.on("keypress",function(e){!i.selection.isCollapsed()||"."!=e.key&&")"!=e.key&&"("!=e.key||n()},!0),i.events.on("keydown",function(e){var t=e.which;!i.selection.isCollapsed()||t!=Mt.KEYCODE.ENTER&&t!=Mt.KEYCODE.SPACE||n()},!0),i.events.on("paste.beforeCleanup",function(e){if(i.helpers.isURL(e)){var t=null;return i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(t?t+=" noopener":t="noopener"),i.opts.linkNoReferrer&&(t?t+=" noreferrer":t="noreferrer")),"').concat(e,"")}})}}},Object.assign(Mt.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(Mt.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),Mt.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],Mt.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,Mt.PLUGINS.video=function(E){var s,d,f,y,r,n,T=E.$,A="https://i.froala.com/upload",p=2,u=3,h=4,L=5,S=6,a={};function g(){var e=E.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function o(){var e=E.popups.get("video.edit");if(e||(e=function i(){var e="";if(0 \n '.concat(E.button.buildList(E.opts.videoEditButtons)," \n ")},n=E.popups.create("video.edit",t);return E.events.$on(E.$wp,"scroll.video-edit",function(){y&&E.popups.isVisible("video.edit")&&(E.events.disableBlur(),C(y))}),n}return!1}()),e){E.popups.setContainer("video.edit",E.$sc),E.popups.refresh("video.edit");var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight(),a=t.get(0).src?t.get(0).src:null,o=!(!(a=(a=a.split("."))[a.length-1]).includes("pdf")&&!a.includes("txt"));t.hasClass("fr-file")||o||y.find("audio").get(0)?(document.getElementById("autoplay-".concat(E.id))&&(document.getElementById("autoplay-".concat(E.id)).style.display="none"),document.getElementById("videoReplace-".concat(E.id))&&(document.getElementById("videoReplace-".concat(E.id)).style.display="none")):(document.getElementById("autoplay-".concat(E.id)).style.display="",document.getElementById("videoReplace-".concat(E.id)).style.display=""),E.popups.show("video.edit",n,r,t.outerHeight(),!0)}}function i(e){if(e)return E.popups.onRefresh("video.insert",g),E.popups.onHide("video.insert",X),!0;var t="";E.opts.videoUpload||-1===E.opts.videoInsertButtons.indexOf("videoUpload")||E.opts.videoInsertButtons.splice(E.opts.videoInsertButtons.indexOf("videoUpload"),1);var n=E.button.buildList(E.opts.videoInsertButtons);""!==n&&(t='
    '+n+"
    ");var r,a="",o=E.opts.videoInsertButtons.indexOf("videoUpload"),i=E.opts.videoInsertButtons.indexOf("videoByURL"),s=E.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=i){r=" fr-active",(o
    ').concat('','
    ")}var l="";0<=s&&(r=" fr-active",(o
    "));var c="";0<=o&&(r=" fr-active",(s').concat(E.language.translate("Drop video"),"
    (").concat(E.language.translate("or click"),')
    '));var d={buttons:t,by_url_layer:a,embed_layer:l,upload_layer:c,progress_bar:'

    Uploading

    '},f=E.popups.create("video.insert",d);return function p(r){E.events.$on(r,"dragover dragenter",".fr-video-upload-layer",function(){return T(this).addClass("fr-drop"),!1},!0),E.events.$on(r,"dragleave dragend",".fr-video-upload-layer",function(){return T(this).removeClass("fr-drop"),!1},!0),E.events.$on(r,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),T(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||E;n.events.disableBlur(),n.video.upload(t.files),n.events.enableBlur()}},!0),E.helpers.isIOS()&&E.events.$on(r,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){T(this).trigger("click")},!0);E.events.$on(r,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||E;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}T(this).val("")},!0)}(f),f}function l(e){E.events.focus(!0),E.selection.restore();var t=!1;y&&(q(),t=!0),E.html.insert(''.concat(e,""),!1,E.opts.videoSplitHTML),E.popups.hide("video.insert");var n=E.$el.find(".fr-jiv");n.removeClass("fr-jiv"),n.toggleClass("fr-rv",E.opts.videoResponsive),Z(n,E.opts.videoDefaultDisplay,E.opts.videoDefaultAlign),n.toggleClass("fr-draggable",E.opts.videoMove),E.events.trigger(t?"video.replaced":"video.inserted",[n])}function m(){var e=T(this);E.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),C(e.parent()),E.events.trigger("video.loaded",[e.parent()])}function w(s,e,c,d,f){E.edit.off(),v("Loading video"),e&&(s=E.helpers.sanitizeURL(s));var p=function p(){var e,t;if(d){E.undo.canDo()||d.find("video").hasClass("fr-uploading")||E.undo.saveStep();var n=d.find("video").data("fr-old-src"),r=d.data("fr-replaced");d.data("fr-replaced",!1),E.$wp?((e=d.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&d.find("video").attr("src",n),d.replaceWith(e)):e=d;for(var a=e.find("video").get(0).attributes,o=0;o"+E.language.translate("Your browser does not support HTML5 video.")+"");i.toggleClass("fr-draggable",E.opts.videoMove),E.edit.on(),E.events.focus(!0),E.selection.restore(),E.undo.saveStep(),E.opts.videoSplitHTML?E.markers.split():E.markers.insert();E.html.wrap();var s=E.$el.find(".fr-marker");E.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent());s.replaceWith(i),E.selection.clear(),i.find("video").get(0).readyState>i.find("video").get(0).HAVE_FUTURE_DATA||E.helpers.isIOS()?n.call(i.find("video").get(0)):i.find("video").on("canplaythrough load",n);return i}(s,c,m),F(),E.undo.saveStep(),E.events.trigger("video.inserted",[e,f])};R("Loading video"),p()}function R(e){var t=E.popups.get("video.insert");if(t||(t=i()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),y){var n=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));E.popups.setContainer("video.insert",E.$sc);var r=n.offset().left,a=n.offset().top+n.height();E.popups.show("video.insert",r,a,n.outerHeight())}void 0===e&&v(E.language.translate("Uploading"),0)}function c(e){var t=E.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||E.$el.find("video.fr-error").length)){if(E.events.focus(),E.$el.find("video.fr-error").length&&(E.$el.find("video.fr-error").parent().remove(),E.undo.saveStep(),E.undo.run(),E.undo.dropRedo()),!E.$wp&&y){var n=y;P(!0),E.selection.setAfter(n.find("video").get(0)),E.selection.restore()}E.popups.hide("video.insert")}}function v(e,t){var n=E.popups.get("video.insert");if(n){var r=n.find(".fr-video-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function b(e){R();var t=E.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),E.events.disableBlur(),n.focus()}function C(e){t.call(e.get(0))}function _(e,t,n){v("Loading video");var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(E.opts.videoUploadToS3||E.opts.videoUploadToAzure)if(201==r){var s;if(E.opts.videoUploadToAzure){if(!1===E.events.trigger("video.uploadedToAzure",[this.responseURL,n,a],!0))return E.edit.on(),!1;s=t}else s=function c(e){try{var t=T(e).find("Location").text(),n=T(e).find("Key").text();return!1===E.events.trigger("video.uploadedToS3",[t,n,e],!0)?(E.edit.on(),!1):t}catch(r){return W(h,e),!1}}(o);s&&w(s,!1,[],e,a||o)}else W(h,a||o);else if(200<=r&&r<300){var l=function d(e){try{if(!1===E.events.trigger("video.uploaded",[e],!0))return E.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(W(p,e),!1)}catch(n){return W(h,e),!1}}(i);l&&w(l.link,!1,l,e,a||i)}else W(u,a||i)}catch(f){W(h,a||i)}}function x(){W(h,this.response||this.responseText||this.responseXML)}function M(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;v(E.language.translate("Uploading"),t)}}function O(){E.edit.on(),c(!0)}function k(e){if(!E.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;if("mousedown"==e.type){var r=E.$oel.get(0).ownerDocument,a=r.defaultView||r.parentWindow,o=!1;try{o=a.location!=a.parent.location&&!(a.$&&a.$.FE)}catch(i){}o&&a.frameElement&&(t+=E.helpers.getPX(T(a.frameElement).offset().left)+a.frameElement.clientLeft,n=e.clientY+E.helpers.getPX(T(a.frameElement).offset().top)+a.frameElement.clientTop)}E.undo.canDo()||E.undo.saveStep(),(d=T(this)).data("start-x",t),d.data("start-y",n),s.show(),E.popups.hideAll(),U()}function N(e){if(!E.core.sameInstance(f))return!0;if(d){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;var r=d.data("start-x"),a=d.data("start-y");d.data("start-x",t),d.data("start-y",n);var o=t-r,i=n-a,s=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),l=s.width(),c=s.height();(d.hasClass("fr-hnw")||d.hasClass("fr-hsw"))&&(o=0-o),(d.hasClass("fr-hnw")||d.hasClass("fr-hne"))&&(i=0-i),s.css("width",l+o),s.css("height",c+i),s.removeAttr("width"),s.removeAttr("height"),$()}}function I(e){if(!E.core.sameInstance(f))return!0;d&&y&&(e&&e.stopPropagation(),d=null,s.hide(),$(),o(),E.undo.saveStep())}function D(e){return'
    ')}function B(e,t,n,r){return e.pageX=t,e.pageY=t,k.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),e.pageY=e.pageY+n*Math.floor(Math.pow(1.1,r)),N.call(this,e),I.call(this,e),++r}function F(){var e,t=Array.prototype.slice.call(E.el.querySelectorAll("video, .fr-video > *")),n=[];for(e=0;eE.opts.videoMaxSize)return W(L),!1;if(E.opts.videoAllowedTypes.indexOf(n.type.replace(/video\//g,""))<0)return W(S),!1;if(E.drag_support.formdata&&(t=E.drag_support.formdata?new FormData:null),t){var r;if(!1!==E.opts.videoUploadToS3)for(r in t.append("key",E.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),E.opts.videoUploadToS3.params)E.opts.videoUploadToS3.params.hasOwnProperty(r)&&t.append(r,E.opts.videoUploadToS3.params[r]);for(r in E.opts.videoUploadParams)E.opts.videoUploadParams.hasOwnProperty(r)&&t.append(r,E.opts.videoUploadParams[r]);t.append(E.opts.videoUploadParam,n);var a,o,i=E.opts.videoUploadURL;E.opts.videoUploadToS3&&(i=E.opts.videoUploadToS3.uploadURL?E.opts.videoUploadToS3.uploadURL:"https://".concat(E.opts.videoUploadToS3.region,".amazonaws.com/").concat(E.opts.videoUploadToS3.bucket));var s=E.opts.videoUploadMethod;E.opts.videoUploadToAzure&&(i=E.opts.videoUploadToAzure.uploadURL?"".concat(E.opts.videoUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(E.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(E.opts.videoUploadToAzure.container,"/").concat(n.name)),a=i,E.opts.videoUploadToAzure.SASToken&&(i+=E.opts.videoUploadToAzure.SASToken),s="PUT");var l=E.core.getXHR(i,s);if(E.opts.videoUploadToAzure){var c=(new Date).toUTCString();if(!E.opts.videoUploadToAzure.SASToken&&E.opts.videoUploadToAzure.accessKey){var d=E.opts.videoUploadToAzure.account,f=E.opts.videoUploadToAzure.container;if(E.opts.videoUploadToAzure.uploadURL){var p=E.opts.videoUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+d+"/"+f+"/"+n.name),g=s+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+u+"\n"+h,m=E.cryptoJSPlugin.cryptoJS.HmacSHA256(g,E.cryptoJSPlugin.cryptoJS.enc.Base64.parse(E.opts.videoUploadToAzure.accessKey)).toString(E.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;o=m,l.setRequestHeader("Authorization",v)}for(r in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",n.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),E.opts.videoUploadParams)E.opts.videoUploadParams.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.videoUploadParams[r]);for(r in E.opts.videoUploadToAzure.params)E.opts.videoUploadToAzure.params.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.videoUploadToAzure.params[r])}l.onload=function(){_.call(l,y,a,o)},l.onerror=x,l.upload.onprogress=M,l.onabort=O,R(),E.events.disableBlur(),E.edit.off(),E.events.enableBlur();var b=E.popups.get("video.insert");b&&T(b.off("abortUpload")).on("abortUpload",function(){4!=l.readyState&&l.abort()}),l.send(E.opts.videoUploadToAzure?n:t)}}}function W(e,t){E.edit.on(),y&&y.find("video").addClass("fr-error"),b(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("video.error",[{code:e,message:a[e]},t])}function V(){if(y){var e=E.popups.get("video.size"),t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function G(e){if(e)return E.popups.onRefresh("video.size",V),!0;var t={buttons:'
    '.concat(E.button.buildList(E.opts.videoSizeButtons),"
    "),size_layer:'
    ")},n=E.popups.create("video.size",t);return E.events.$on(E.$wp,"scroll",function(){y&&E.popups.isVisible("video.size")&&(E.events.disableBlur(),C(y))}),n}function Y(e){if(void 0===e&&(e=y),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function j(e){void 0===e&&(e=y);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function q(){if(y&&!1!==E.events.trigger("video.beforeRemove",[y])){var e=y;E.popups.hideAll(),P(!0),E.selection.setBefore(e.get(0))||E.selection.setAfter(e.get(0)),e.remove(),E.selection.restore(),E.html.fillEmptyBlocks()}}function X(){c()}function Z(e,t,n){!E.opts.htmlUntouched&&E.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function Q(){var e=E.$el.find("video").filter(function(){return 0===T(this).parents("span.fr-video").length});if(0!=e.length){e.wrap(T(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),E.$el.find("embed, iframe").filter(function(){if(E.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0*").first().replaceWith(E.icon.create("video-align-".concat(Y())))},refreshAlignOnShow:function fe(e,t){y&&t.find('.fr-command[data-param1="'.concat(Y(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function pe(e){y.removeClass("fr-dvi fr-dvb"),!E.opts.htmlUntouched&&E.opts.useClasses?"inline"==e?y.addClass("fr-dvi"):"block"==e&&y.addClass("fr-dvb"):Z(y,e,Y()),ee(),$(),o(),E.selection.clear()},refreshDisplayOnShow:function ue(e,t){y&&t.find('.fr-command[data-param1="'.concat(j(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:q,hideProgressBar:c,showSizePopup:function he(){var e=E.popups.get("video.size");e||(e=G()),c(),E.popups.refresh("video.size"),E.popups.setContainer("video.size",E.$sc);var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.height();E.popups.show("video.size",n,r,t.height(),!0)},replace:function ge(){var e=E.popups.get("video.insert");e||(e=i()),E.popups.isVisible("video.insert")||(c(),E.popups.refresh("video.insert"),E.popups.setContainer("video.insert",E.$sc));var t=y.offset().left+y.outerWidth()/2,n=y.offset().top+y.height();E.popups.show("video.insert",t,n,y.outerHeight(),!0)},back:function e(){y?(E.events.disableBlur(),y[0].click()):(E.events.disableBlur(),E.selection.restore(),E.events.enableBlur(),E.popups.hide("video.insert"),E.toolbar.showInline())},setSize:function me(e,t){if(y){var n=E.popups.get("video.size"),r=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));r.css("width",e||n.find('input[name="width"]').val()),r.css("height",t||n.find('input[name="height"]').val()),r.get(0).style.width&&r.removeAttr("width"),r.get(0).style.height&&r.removeAttr("height"),n.find("input:focus").blur(),setTimeout(function(){y.trigger("click")},E.helpers.isAndroid()?50:0)}},get:function ve(){return y},showProgressBar:R,_editVideo:C,setAutoplay:function be(){var e;if(y.find("iframe, embed, audio").get(0))(e=y.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(J("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(J("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=y.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))J("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{J("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),"autoplay",e.get(0).outerHTML.slice(t)].join("")}}}},Mt.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),Mt.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),Mt.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),Mt.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),Mt.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),Mt.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),Mt.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),Mt.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),Mt.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),Mt.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),Mt.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),Mt.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),Mt.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),Mt.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),Mt.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),Mt.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),Mt.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),Mt.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),Mt.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),Mt.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),Mt.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),Mt.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),Mt.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),Mt.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),Mt.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),Mt.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),Mt.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),Mt.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Mt.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),Mt.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Object.assign(Mt.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),Mt.PLUGINS.wordPaste=function(y){var i,a,c=y.$,s="word_paste",p={};function t(e){var t=y.opts.wordAllowedStyleProps;e||(y.opts.wordAllowedStyleProps=[]),0===a.indexOf("")&&(a=""+a+"
    "),a=o(a=a.replace(/([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var n="",r=0;r++/gi,"")}function C(e,t){for(var n=document.createElement(t),r=0;r').remove()}}}}function m(e,t){var n=e.tagName,r=n.toLowerCase();e.firstElementChild&&("I"===e.firstElementChild.tagName?C(e.firstElementChild,"em"):"B"===e.firstElementChild.tagName&&C(e.firstElementChild,"strong"));if(-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(n))return T(e),!1;for(var a=["META","LINK","XML","ST1:","O:","W:","FONT"],o=0;o");for(var i=n.firstElementChild,s=1===n.children.length;i;)"P"!==i.tagName||M(i)||s&&A(i),i=i.nextElementSibling;if(t){var l=n.getAttribute("class");if(l){var c=(l=L(l)).match(/xl[0-9]+/gi);if(c){var d="."+c[0];t[d]&&S(n,t[d])}}t.td&&S(n,t.td)}var f=n.getAttribute("style");f&&(f=L(f))&&";"!==f.slice(-1)&&(f+=";");var p=n.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var h=null;if(f){var g=f.match(/text-align:.+?[; "]{1,1}/gi);g&&(h=g[g.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===h&&(h=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=n.getAttribute("colspan"),C=n.getAttribute("rowspan");b&&n.setAttribute("colspan",b),C&&n.setAttribute("rowspan",C),p&&(n.style["vertical-align"]=p),h&&(n.style["text-align"]=h),m&&(n.style["background-color"]=m),o&&n.setAttribute("width",o),n=n.nextElementSibling}for(n=e.firstElementChild;n;)o=n.getAttribute("width"),a?n.removeAttribute("width"):n.setAttribute("width",100*parseInt(o,10)/r+"%"),n=n.nextElementSibling}(e,t),"A"!==n||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==n&&e.getAttribute("href")&&e.querySelector("img"))for(var m=e.querySelectorAll("span"),v=0;v"),"TABLE"===n&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!==e.getAttribute("style").toLowerCase().indexOf("mso")){var b=L(e.getAttribute("style"));(b=b.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",b):e.removeAttribute("style")}return!0}function o(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function d(e){for(var t=e.split("v:shape"),n=1;n ul, ul > ol, ol > ul, ol > ol"),i=o.length-1;0<=i;i--)o[i].previousElementSibling&&"LI"===o[i].previousElementSibling.tagName&&o[i].previousElementSibling.appendChild(o[i]);u(a,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/
    (\n|\r)/gi,"
    "),!1;if(e.nodeType===Node.ELEMENT_NODE){if(M(e)){var t=e.parentNode,n=e.previousSibling,r=function x(e,t,n,r){var a,o,i=/[0-9a-zA-Z]./gi,s=!1,l=navigator.userAgent.toLowerCase();-1!=l.indexOf("safari")&&(l=-1':"<"+f+' style="margin-left:'+C+v+';">',"list-style-type: upper-alpha;"==p){var E=h.charCodeAt(0)-64;g=p?"<"+f+m+' start="'+E+'" style = "'+p+" margin-left:"+C+v+';">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var y=h.charCodeAt(0)-96;g=p?"<"+f+m+' start="'+y+'" style = "'+p+"margin-left:"+C+v+';">':"<"+f+">"}else g=p?"<"+f+m+' style = "'+p+";margin-left:"+C+v+';">':"<"+f+' style="margin-left:'+C+v+';">';else if("list-style-type: upper-alpha;"==p){var T=h.charCodeAt(0)-64;g=p?"<"+f+m+' style = "'+p+' start="'+T+'">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var A=h.charCodeAt(0)-96;g=p?"<"+f+m+' style = "'+p+' start="'+A+'">':"<"+f+">"}else g=p?"<"+f+m+' style = "'+p+'">':"<"+f+">";for(var L=!1;e;){if(!M(e)){if(e.outerHTML&&0"):(1==S&&(g+="",L=!0,o=null),g+=(d=x(e,t,S,e.style.marginLeft)).el.outerHTML,e=d.currentNode);var R=e&&e.nextElementSibling;if(R&&(o=R.previousElementSibling),e&&!M(e)){if(e.outerHTML&&0");var _=document.createElement("div");return _.innerHTML=g,{el:_,currentNode:e}}(e,s).el,a=null;return(a=n?n.nextSibling:t.firstChild)?t.insertBefore(r,a):t.appendChild(r),!1}return"FONT"===e.tagName&&s["."+e.getAttribute("class")]&&(e=C(e,"span")),m(e,s)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1",t=function a(){var e='
    ';return e+='

    '+y.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

    ",e+='
    ",e+="
    "}(),n=y.modals.create(s,e,t),r=n.$body;i=n.$modal,n.$modal.addClass("fr-middle"),y.events.bindClick(r,"button.fr-remove-word",function(){var e=i.data("instance")||y;e.wordPaste.clean()}),y.events.bindClick(r,"button.fr-keep-word",function(){var e=i.data("instance")||y;e.wordPaste.clean(!0)}),y.events.$on(c(y.o_win),"resize",function(){y.modals.resize(s)})}y.modals.show(s),y.modals.resize(s)}():t(y.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:o}},Mt}); \ No newline at end of file diff --git a/webroot/js/languages/ar.js b/webroot/js/languages/ar.js index e41d6013..5fab5b31 100644 --- a/webroot/js/languages/ar.js +++ b/webroot/js/languages/ar.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/bs.js b/webroot/js/languages/bs.js index f02f581d..ab5256f7 100644 --- a/webroot/js/languages/bs.js +++ b/webroot/js/languages/bs.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/cs.js b/webroot/js/languages/cs.js index c4e803ae..4ace4667 100644 --- a/webroot/js/languages/cs.js +++ b/webroot/js/languages/cs.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/da.js b/webroot/js/languages/da.js index 2629d3e2..60440073 100644 --- a/webroot/js/languages/da.js +++ b/webroot/js/languages/da.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/de.js b/webroot/js/languages/de.js index 05fd89a0..762dfb5b 100644 --- a/webroot/js/languages/de.js +++ b/webroot/js/languages/de.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/el.js b/webroot/js/languages/el.js index 12b72fc6..07479610 100644 --- a/webroot/js/languages/el.js +++ b/webroot/js/languages/el.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/en_ca.js b/webroot/js/languages/en_ca.js index 907002b9..c4476616 100644 --- a/webroot/js/languages/en_ca.js +++ b/webroot/js/languages/en_ca.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/en_gb.js b/webroot/js/languages/en_gb.js index 233db948..fcdf1781 100644 --- a/webroot/js/languages/en_gb.js +++ b/webroot/js/languages/en_gb.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/es.js b/webroot/js/languages/es.js index a471a2d7..df7d9faa 100644 --- a/webroot/js/languages/es.js +++ b/webroot/js/languages/es.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/et.js b/webroot/js/languages/et.js index 8bc7db30..9c50906d 100644 --- a/webroot/js/languages/et.js +++ b/webroot/js/languages/et.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/fa.js b/webroot/js/languages/fa.js index f1576a60..81b3298d 100644 --- a/webroot/js/languages/fa.js +++ b/webroot/js/languages/fa.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/fi.js b/webroot/js/languages/fi.js index 5e81d81a..a55ed0ab 100644 --- a/webroot/js/languages/fi.js +++ b/webroot/js/languages/fi.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/fr.js b/webroot/js/languages/fr.js index cf71f296..a51ab6a4 100644 --- a/webroot/js/languages/fr.js +++ b/webroot/js/languages/fr.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/he.js b/webroot/js/languages/he.js index 6ec80794..17c4c2b6 100644 --- a/webroot/js/languages/he.js +++ b/webroot/js/languages/he.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/hr.js b/webroot/js/languages/hr.js index c48312ec..d5e37433 100644 --- a/webroot/js/languages/hr.js +++ b/webroot/js/languages/hr.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/hu.js b/webroot/js/languages/hu.js index 65baeeb4..5d338977 100644 --- a/webroot/js/languages/hu.js +++ b/webroot/js/languages/hu.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/id.js b/webroot/js/languages/id.js index ea1c208b..535685f1 100644 --- a/webroot/js/languages/id.js +++ b/webroot/js/languages/id.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/it.js b/webroot/js/languages/it.js index f0dc6cf6..48114bcc 100644 --- a/webroot/js/languages/it.js +++ b/webroot/js/languages/it.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/ja.js b/webroot/js/languages/ja.js index da497fb8..8e5540ab 100644 --- a/webroot/js/languages/ja.js +++ b/webroot/js/languages/ja.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/ko.js b/webroot/js/languages/ko.js index d08717b3..8ee3fa46 100644 --- a/webroot/js/languages/ko.js +++ b/webroot/js/languages/ko.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/ku.js b/webroot/js/languages/ku.js index e8fdcaec..d7b08ab4 100644 --- a/webroot/js/languages/ku.js +++ b/webroot/js/languages/ku.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/me.js b/webroot/js/languages/me.js index cca7586f..6affd321 100644 --- a/webroot/js/languages/me.js +++ b/webroot/js/languages/me.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/nb.js b/webroot/js/languages/nb.js index 835cb388..8c58d315 100644 --- a/webroot/js/languages/nb.js +++ b/webroot/js/languages/nb.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/nl.js b/webroot/js/languages/nl.js index 5626ee2e..acb6a877 100644 --- a/webroot/js/languages/nl.js +++ b/webroot/js/languages/nl.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/pl.js b/webroot/js/languages/pl.js index 014b7fe3..2b48c85c 100644 --- a/webroot/js/languages/pl.js +++ b/webroot/js/languages/pl.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/pt_br.js b/webroot/js/languages/pt_br.js index af6f785a..8efb7a12 100644 --- a/webroot/js/languages/pt_br.js +++ b/webroot/js/languages/pt_br.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/pt_pt.js b/webroot/js/languages/pt_pt.js index 81f0e4ed..630d6292 100644 --- a/webroot/js/languages/pt_pt.js +++ b/webroot/js/languages/pt_pt.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/ro.js b/webroot/js/languages/ro.js index c8ad6574..86ca4647 100644 --- a/webroot/js/languages/ro.js +++ b/webroot/js/languages/ro.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/ru.js b/webroot/js/languages/ru.js index ed53ad46..27e11535 100644 --- a/webroot/js/languages/ru.js +++ b/webroot/js/languages/ru.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/sk.js b/webroot/js/languages/sk.js index 4c4ac9c0..7121bdf1 100644 --- a/webroot/js/languages/sk.js +++ b/webroot/js/languages/sk.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/sl.js b/webroot/js/languages/sl.js index f8b99c1c..cb515d1a 100644 --- a/webroot/js/languages/sl.js +++ b/webroot/js/languages/sl.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/sr.js b/webroot/js/languages/sr.js index f2eb5ebb..6b3803cd 100644 --- a/webroot/js/languages/sr.js +++ b/webroot/js/languages/sr.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/sv.js b/webroot/js/languages/sv.js index e84a844e..69137ed4 100644 --- a/webroot/js/languages/sv.js +++ b/webroot/js/languages/sv.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/th.js b/webroot/js/languages/th.js index 8cba9501..f9ac32d3 100644 --- a/webroot/js/languages/th.js +++ b/webroot/js/languages/th.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/tr.js b/webroot/js/languages/tr.js index 1c7ea47d..154d1bbc 100644 --- a/webroot/js/languages/tr.js +++ b/webroot/js/languages/tr.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/uk.js b/webroot/js/languages/uk.js index 470f6e6e..b1f7c1ab 100644 --- a/webroot/js/languages/uk.js +++ b/webroot/js/languages/uk.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/vi.js b/webroot/js/languages/vi.js index 833a5d35..a4149f92 100644 --- a/webroot/js/languages/vi.js +++ b/webroot/js/languages/vi.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/zh_cn.js b/webroot/js/languages/zh_cn.js index 04cb4697..41348a35 100644 --- a/webroot/js/languages/zh_cn.js +++ b/webroot/js/languages/zh_cn.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/languages/zh_tw.js b/webroot/js/languages/zh_tw.js index 9ef5172d..62ff67fc 100644 --- a/webroot/js/languages/zh_tw.js +++ b/webroot/js/languages/zh_tw.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ (function (global, factory) { diff --git a/webroot/js/plugins.pkgd.min.js b/webroot/js/plugins.pkgd.min.js index fafc84a7..dff0bcaa 100644 --- a/webroot/js/plugins.pkgd.min.js +++ b/webroot/js/plugins.pkgd.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(It){"use strict";function xt(e){return(xt="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)}if((It=It&&It.hasOwnProperty("default")?It["default"]:It).PLUGINS.align=function(i){var r=i.$;return{apply:function o(e){var t=i.selection.element();if(r(t).parents(".fr-img-caption").length)r(t).css("text-align",e);else{i.selection.save(),i.html.wrap(!0,!0,!0,!0),i.selection.restore();for(var a=i.selection.blocks(),n=0;n *").first().replaceWith(i.icon.create("align-".concat(a)))}},refreshOnShow:function s(e,t){var a=i.selection.blocks();if(a.length){var n=i.helpers.getAlignment(r(a[0]));t.find('a.fr-command[data-param1="'.concat(n,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function l(e){var t=i.selection.blocks();if(t.length){var a=i.helpers.getAlignment(r(t[0]));a=a.charAt(0).toUpperCase()+a.slice(1),"align".concat(a)===e.attr("data-cmd")&&e.addClass("fr-active")}}}},It.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),It.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),It.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),It.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.align.apply(t)},refresh:function(e){this.align.refresh(e)},refreshOnShow:function(e,t){this.align.refreshOnShow(e,t)},plugin:"align"}),It.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),It.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),It.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),It.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),Object.assign(It.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),It.PLUGINS.charCounter=function(a){var n,t=a.$,i=function i(){return(a.el.textContent||"").replace(/\u200B/g,"").length};function e(e){if(a.opts.charCounterMax<0)return!0;if(i()").html(e).text().length+i()<=a.opts.charCounterMax?e:(a.events.trigger("charCounter.exceeded"),"")}function o(){if(a.opts.charCounterCount){var e=i()+(0a&&(a=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:a,line_indent_level:e?e.line_indent_level:a,start_line_index:c.get_line_number(),ternary_depth:0}}for(u={TK_START_EXPR:function D(){x();var e=Q.Expression;if("["===d.text){if("TK_WORD"===o||")"===f.last_text)return"TK_RESERVED"===o&&j(f.last_text,r.line_starters)&&(c.space_before_token=!0),w(e),C(),R(),void(g.space_in_paren&&(c.space_before_token=!0));e=Q.ArrayLiteral,S(f.mode)&&("["!==f.last_text&&(","!==f.last_text||"]"!==s&&"}"!==s)||g.keep_array_indentation||y())}else"TK_RESERVED"===o&&"for"===f.last_text?e=Q.ForInitializer:"TK_RESERVED"===o&&j(f.last_text,["if","while"])&&(e=Q.Conditional);" "===f.last_text||"TK_START_BLOCK"===o?y():"TK_END_EXPR"===o||"TK_START_EXPR"===o||"TK_END_BLOCK"===o||"."===f.last_text?A(d.wanted_newline):"TK_RESERVED"===o&&"("===d.text||"TK_WORD"===o||"TK_OPERATOR"===o?"TK_RESERVED"===o&&("function"===f.last_word||"typeof"===f.last_word)||"*"===f.last_text&&"function"===s?g.space_after_anon_function&&(c.space_before_token=!0):"TK_RESERVED"!==o||!j(f.last_text,r.line_starters)&&"catch"!==f.last_text||g.space_before_conditional&&(c.space_before_token=!0):c.space_before_token=!0;"("===d.text&&"TK_RESERVED"===o&&"await"===f.last_word&&(c.space_before_token=!0);"("===d.text&&("TK_EQUALS"!==o&&"TK_OPERATOR"!==o||I()||A());w(e),C(),g.space_in_paren&&(c.space_before_token=!0);R()},TK_END_EXPR:function M(){for(;f.mode===Q.Statement;)L();f.multiline_frame&&A("]"===d.text&&S(f.mode)&&!g.keep_array_indentation);g.space_in_paren&&("TK_START_EXPR"!==o||g.space_in_empty_paren?c.space_before_token=!0:(c.trim(),c.space_before_token=!1));"]"===d.text&&g.keep_array_indentation?(C(),L()):(L(),C());c.remove_redundant_indentation(p),f.do_while&&p.mode===Q.Conditional&&(p.mode=Q.Expression,f.do_block=!1,f.do_while=!1)},TK_START_BLOCK:function B(){var e=O(1),t=O(2);t&&(":"===t.text&&j(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||j(e.text,["get","set"])&&j(t.type,["TK_WORD","TK_RESERVED"]))?j(s,["class","interface"])?w(Q.BlockStatement):w(Q.ObjectLiteral):w(Q.BlockStatement);var a=!e.comments_before.length&&"}"===e.text&&"function"===f.last_word&&"TK_END_EXPR"===o;"expand"===g.brace_style||"none"===g.brace_style&&d.wanted_newline?"TK_OPERATOR"!==o&&(a||"TK_EQUALS"===o||"TK_RESERVED"===o&&k(f.last_text)&&"else"!==f.last_text)?c.space_before_token=!0:y(!1,!0):"TK_OPERATOR"!==o&&"TK_START_EXPR"!==o?"TK_START_BLOCK"===o?y():c.space_before_token=!0:S(p.mode)&&","===f.last_text&&("}"===s?c.space_before_token=!0:y());C(),R()},TK_END_BLOCK:function N(){for(;f.mode===Q.Statement;)L();var e="TK_START_BLOCK"===o;"expand"===g.brace_style?e||y():e||(S(f.mode)&&g.keep_array_indentation?(g.keep_array_indentation=!1,y(),g.keep_array_indentation=!0):y());L(),C()},TK_WORD:F,TK_RESERVED:F,TK_SEMICOLON:function P(){x()&&(c.space_before_token=!1);for(;f.mode===Q.Statement&&!f.if_block&&!f.do_block;)L();C()},TK_STRING:function U(){x()?c.space_before_token=!0:"TK_RESERVED"===o||"TK_WORD"===o?c.space_before_token=!0:"TK_COMMA"===o||"TK_START_EXPR"===o||"TK_EQUALS"===o||"TK_OPERATOR"===o?I()||A():y();C()},TK_EQUALS:function H(){x();f.declaration_statement&&(f.declaration_assignment=!0);c.space_before_token=!0,C(),c.space_before_token=!0},TK_OPERATOR:function W(){x();if("TK_RESERVED"===o&&k(f.last_text))return c.space_before_token=!0,void C();if("*"===d.text&&"TK_DOT"===o)return void C();if(":"===d.text&&f.in_case)return f.case_body=!0,R(),C(),y(),void(f.in_case=!1);if("::"===d.text)return void C();"TK_OPERATOR"===o&&A();var e=!0,t=!0;j(d.text,["--","++","!","~"])||j(d.text,["-","+"])&&(j(o,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||j(f.last_text,r.line_starters)||","===f.last_text)?(t=e=!1,!d.wanted_newline||"--"!==d.text&&"++"!==d.text||y(!1,!0)," "===f.last_text&&_(f.mode)&&(e=!0),"TK_RESERVED"===o?e=!0:"TK_END_EXPR"===o?e=!("]"===f.last_text&&("--"===d.text||"++"===d.text)):"TK_OPERATOR"===o&&(e=j(d.text,["--","-","++","+"])&&j(f.last_text,["--","-","++","+"]),j(d.text,["+","-"])&&j(f.last_text,["--","++"])&&(t=!0)),f.mode!==Q.BlockStatement&&f.mode!==Q.Statement||"{"!==f.last_text&&" "!==f.last_text||y()):":"===d.text?0===f.ternary_depth?e=!1:f.ternary_depth-=1:"?"===d.text?f.ternary_depth+=1:"*"===d.text&&"TK_RESERVED"===o&&"function"===f.last_text&&(t=e=!1);c.space_before_token=c.space_before_token||e,C(),c.space_before_token=t},TK_COMMA:function K(){if(f.declaration_statement)return _(f.parent.mode)&&(f.declaration_assignment=!1),C(),void(f.declaration_assignment?y(f.declaration_assignment=!1,!0):(c.space_before_token=!0,g.comma_first&&A()));C(),f.mode===Q.ObjectLiteral||f.mode===Q.Statement&&f.parent.mode===Q.ObjectLiteral?(f.mode===Q.Statement&&L(),y()):(c.space_before_token=!0,g.comma_first&&A())},TK_BLOCK_COMMENT:function $(){if(c.raw)return c.add_raw_token(d),void(d.directives&&"end"===d.directives.preserve&&(g.test_output_raw||(c.raw=!1)));if(d.directives)return y(!1,!0),C(),"start"===d.directives.preserve&&(c.raw=!0),void y(!1,!0);if(!q.newline.test(d.text)&&!d.wanted_newline)return c.space_before_token=!0,C(),void(c.space_before_token=!0);var e,t=function o(e){var t;e=e.replace(/\x0d/g,"");var a=[];t=e.indexOf("\n");for(;-1!==t;)a.push(e.substring(0,t)),e=e.substring(t+1),t=e.indexOf("\n");e.length&&a.push(e);return a}(d.text),a=!1,n=!1,i=d.whitespace_before,r=i.length;y(!1,!0),1r?C(t[e].substring(r)):c.add_token(t[e]);y(!1,!0)},TK_COMMENT:function z(){d.wanted_newline?y(!1,!0):c.trim(!0);c.space_before_token=!0,C(),y(!1,!0)},TK_DOT:function G(){x();"TK_RESERVED"===o&&k(f.last_text)?c.space_before_token=!0:A(")"===f.last_text&&g.break_chained_methods);C()},TK_UNKNOWN:function Y(){C(),"\n"===d.text[d.text.length-1]&&y()},TK_EOF:function V(){for(;f.mode===Q.Statement;)L()}},g={},(e=e||{}).braces_on_own_line!==undefined&&(g.brace_style=e.braces_on_own_line?"expand":"collapse"),g.brace_style=e.brace_style?e.brace_style:g.brace_style?g.brace_style:"collapse","expand-strict"===g.brace_style&&(g.brace_style="expand"),g.indent_size=e.indent_size?parseInt(e.indent_size,10):4,g.indent_char=e.indent_char?e.indent_char:" ",g.eol=e.eol?e.eol:"\n",g.preserve_newlines=e.preserve_newlines===undefined||e.preserve_newlines,g.break_chained_methods=e.break_chained_methods!==undefined&&e.break_chained_methods,g.max_preserve_newlines=e.max_preserve_newlines===undefined?0:parseInt(e.max_preserve_newlines,10),g.space_in_paren=e.space_in_paren!==undefined&&e.space_in_paren,g.space_in_empty_paren=e.space_in_empty_paren!==undefined&&e.space_in_empty_paren,g.jslint_happy=e.jslint_happy!==undefined&&e.jslint_happy,g.space_after_anon_function=e.space_after_anon_function!==undefined&&e.space_after_anon_function,g.keep_array_indentation=e.keep_array_indentation!==undefined&&e.keep_array_indentation,g.space_before_conditional=e.space_before_conditional===undefined||e.space_before_conditional,g.unescape_strings=e.unescape_strings!==undefined&&e.unescape_strings,g.wrap_line_length=e.wrap_line_length===undefined?0:parseInt(e.wrap_line_length,10),g.e4x=e.e4x!==undefined&&e.e4x,g.end_with_newline=e.end_with_newline!==undefined&&e.end_with_newline,g.comma_first=e.comma_first!==undefined&&e.comma_first,g.test_output_raw=e.test_output_raw!==undefined&&e.test_output_raw,g.jslint_happy&&(g.space_after_anon_function=!0),e.indent_with_tabs&&(g.indent_char="\t",g.indent_size=1),g.eol=g.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),l="";0g.max_preserve_newlines&&(t=g.max_preserve_newlines),g.preserve_newlines&&1=g.wrap_line_length&&y(!1,!0)}}function y(e,t){if(!t&&" "!==f.last_text&&","!==f.last_text&&"="!==f.last_text&&"TK_OPERATOR"!==o)for(;f.mode===Q.Statement&&!f.if_block&&!f.do_block;)L();c.add_new_line(e)&&(f.multiline_frame=!0)}function T(){c.just_added_newline()&&(g.keep_array_indentation&&S(f.mode)&&d.wanted_newline?(c.current_line.push(d.whitespace_before),c.space_before_token=!1):c.set_indent(f.indentation_level)&&(f.line_indent_level=f.indentation_level))}function C(e){c.raw?c.add_raw_token(d):(g.comma_first&&"TK_COMMA"===o&&c.just_added_newline()&&","===c.previous_line.last()&&(c.previous_line.pop(),T(),c.add_token(","),c.space_before_token=!0),e=e||d.text,T(),c.add_token(e))}function R(){f.indentation_level+=1}function w(e){p=f?(t.push(f),f):v(null,e),f=v(p,e)}function S(e){return e===Q.ArrayLiteral}function _(e){return j(e,[Q.Expression,Q.ForInitializer,Q.Conditional])}function L(){0=h.length?null:h[t]}function F(){("TK_RESERVED"===d.type&&f.mode!==Q.ObjectLiteral&&j(d.text,["set","get"])&&(d.type="TK_WORD"),"TK_RESERVED"===d.type&&f.mode===Q.ObjectLiteral)&&(":"===O(1).text&&(d.type="TK_WORD"));if(x()||!d.wanted_newline||_(f.mode)||"TK_OPERATOR"===o&&"--"!==f.last_text&&"++"!==f.last_text||"TK_EQUALS"===o||!g.preserve_newlines&&"TK_RESERVED"===o&&j(f.last_text,["const","let","const","set","get"])||y(),f.do_block&&!f.do_while){if("TK_RESERVED"===d.type&&"while"===d.text)return c.space_before_token=!0,C(),c.space_before_token=!0,void(f.do_while=!0);y(),f.do_block=!1}if(f.if_block)if(f.else_block||"TK_RESERVED"!==d.type||"else"!==d.text){for(;f.mode===Q.Statement;)L();f.if_block=!1,f.else_block=!1}else f.else_block=!0;if("TK_RESERVED"===d.type&&("case"===d.text||"default"===d.text&&f.in_case_statement))return y(),(f.case_body||g.jslint_happy)&&(!function e(){0f.parent.indentation_level)&&(f.indentation_level-=1)}(),f.case_body=!1),C(),f.in_case=!0,void(f.in_case_statement=!0);if("TK_RESERVED"===d.type&&"function"===d.text&&((j(f.last_text,["}"," "])||c.just_added_newline()&&!j(f.last_text,["[","{",":","=",","]))&&(c.just_added_blankline()||d.comments_before.length||(y(),y(!0))),"TK_RESERVED"===o||"TK_WORD"===o?"TK_RESERVED"===o&&j(f.last_text,["get","set","new","return","export","async"])?c.space_before_token=!0:"TK_RESERVED"===o&&"default"===f.last_text&&"export"===s?c.space_before_token=!0:y():"TK_OPERATOR"===o||"="===f.last_text?c.space_before_token=!0:(f.multiline_frame||!_(f.mode)&&!S(f.mode))&&y()),"TK_COMMA"!==o&&"TK_START_EXPR"!==o&&"TK_EQUALS"!==o&&"TK_OPERATOR"!==o||I()||A(),"TK_RESERVED"===d.type&&j(d.text,["function","get","set"]))return C(),void(f.last_word=d.text);(a="NONE","TK_END_BLOCK"===o?"TK_RESERVED"===d.type&&j(d.text,["else","catch","finally"])?"expand"===g.brace_style||"end-expand"===g.brace_style||"none"===g.brace_style&&d.wanted_newline?a="NEWLINE":(a="SPACE",c.space_before_token=!0):a="NEWLINE":"TK_SEMICOLON"===o&&f.mode===Q.BlockStatement?a="NEWLINE":"TK_SEMICOLON"===o&&_(f.mode)?a="SPACE":"TK_STRING"===o?a="NEWLINE":"TK_RESERVED"===o||"TK_WORD"===o||"*"===f.last_text&&"function"===s?a="SPACE":"TK_START_BLOCK"===o?a="NEWLINE":"TK_END_EXPR"===o&&(c.space_before_token=!0,a="NEWLINE"),"TK_RESERVED"===d.type&&j(d.text,r.line_starters)&&")"!==f.last_text&&(a="else"===f.last_text||"export"===f.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===d.type&&j(d.text,["else","catch","finally"]))?"TK_END_BLOCK"!==o||"expand"===g.brace_style||"end-expand"===g.brace_style||"none"===g.brace_style&&d.wanted_newline?y():(c.trim(!0),"}"!==c.current_line.last()&&y(),c.space_before_token=!0):"NEWLINE"===a?"TK_RESERVED"===o&&k(f.last_text)?c.space_before_token=!0:"TK_END_EXPR"!==o?"TK_START_EXPR"===o&&"TK_RESERVED"===d.type&&j(d.text,["const","let","const"])||":"===f.last_text||("TK_RESERVED"===d.type&&"if"===d.text&&"else"===f.last_text?c.space_before_token=!0:y()):"TK_RESERVED"===d.type&&j(d.text,r.line_starters)&&")"!==f.last_text&&y():f.multiline_frame&&S(f.mode)&&","===f.last_text&&"}"===s?y():"SPACE"===a&&(c.space_before_token=!0);C(),f.last_word=d.text,"TK_RESERVED"===d.type&&"do"===d.text&&(f.do_block=!0),"TK_RESERVED"===d.type&&"if"===d.text&&(f.if_block=!0)}o="TK_START_BLOCK",s="",(c=new J(l,m)).raw=g.test_output_raw,t=[],w(Q.BlockStatement),this.beautify=function(){var e,t;for(r=new ee(n,g,l),h=r.tokenize(),i=0;e=O();){for(var a=0;a=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>".split(" ");this.line_starters="continue,try,throw,return,const,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var M,B,N,P,U,H,W=this.line_starters.concat(["do","in","else","get","set","new","catch","finally","typeof","yield","async","await"]),K=/([\s\S]*?)((?:\*\/)|$)/g,$=/([^\n\r\u2028\u2029]*)/g,z=/\/\* beautify( \w+[:]\w+)+ \*\//g,G=/ (\w+)[:](\w+)/g,Y=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,V=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function o(){var e,t,a=[];if(M=0,B="",H<=U)return["","TK_EOF"];t=P.length?P[P.length-1]:new Z("TK_START_BLOCK","{");var n=L.charAt(U);for(U+=1;j(n,x);){if(q.newline.test(n)?"\n"===n&&"\r"===L.charAt(U-2)||(M+=1,a=[]):a.push(n),H<=U)return["","TK_EOF"];n=L.charAt(U),U+=1}if(a.length&&(B=a.join("")),k.test(n)){var i=!0,r=!0,o=k;for("0"===n&&U/))&&("TK_RESERVED"===t.type&&j(t.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===t.type&&")"===t.text&&t.parent&&"TK_RESERVED"===t.parent.type&&j(t.parent.text,["if","while","for"])||j(t.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var f=n,p=!1,u=!1;if(e=n,"/"===f)for(var g=!1;U/g,m=L.slice(U-1),v=h.exec(m);if(v&&0===v.index){for(var b=v[2],E=0;v;){var A=!!v[1],y=v[2],T=!!v[v.length-1]||"![CDATA["===y.slice(0,8);if(y!==b||T||(A?--E:++E),E<=0)break;v=h.exec(m)}var C=v?v.index+v[0].length:m.length;return m=m.slice(0,C),U+=C-1,[m=m.replace(q.lineBreak,"\n"),"TK_STRING"]}}else for(;U=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e)):(this.line_char_count++,e.push(" "))},this.get_content=function(){for(var e="",t=[];"<"!=this.input.charAt(this.pos);){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(this.traverse_whitespace())this.space_or_wrap(t);else{if(b){var a=this.input.substr(this.pos,3);if("{{#"===a||"{{/"===a)break;if("{{!"===a)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}e=this.input.charAt(this.pos),this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",a=new RegExp(""),"igm");a.lastIndex=this.pos;var n=a.exec(this.input),i=n?n.index:this.input.length;return this.pos=this.input.length)return e&&(this.pos=l,this.line_char_count=c),i.length?i.join(""):["","TK_EOF"];if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace))o=!0;else{if("'"!==n&&'"'!==n||(n+=this.get_unformatted(n),o=!0),"="===n&&(o=!1),i.length&&"="!=i[i.length-1]&&">"!=n&&o){if(this.space_or_wrap(i),o=!1,!s&&"force"===E&&"/"!=n){this.print_newline(!0,i),this.print_indentation(i);for(var d=0;d"!=n);var p,u,g=i.join("");p=-1!=g.indexOf(" ")?g.indexOf(" "):"{"===g[0]?g.indexOf("}"):g.indexOf(">"),u="<"!==g[0]&&b?"#"===g[2]?3:2:1;var h=g.substring(u,p).toLowerCase();return"/"===g.charAt(g.length-2)||this.Utils.in_array(h,this.Utils.single_token)?e||(this.tag_type="SINGLE"):b&&"{"===g[0]&&"else"===h?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(h,v)?(r=this.get_unformatted(""),g),i.push(r),this.pos,this.tag_type="SINGLE"):"script"===h&&(-1===g.search("type")||-1",n=!0):0===t.indexOf("",n=!0):0===t.indexOf("",n=!0):0===t.indexOf("\x3c!--")?(a="--\x3e",n=!0):0===t.indexOf("{{!")?(a="}}",n=!0):0===t.indexOf("",n=!0):0===t.indexOf("<%")&&(a="%>",n=!0)),i=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(e,t){if(t&&-1!=t.toLowerCase().indexOf(e))return"";var a="",n="",i=0,r=!0;do{if(this.pos>=this.input.length)return n;if(a=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(a,this.Utils.whitespace)){if(!r){this.line_char_count--;continue}if("\n"===a||"\r"===a){n+="\n",this.line_char_count=0;continue}}n+=a,this.line_char_count++,r=!0,b&&"{"===a&&n.length&&"{"===n[n.length-2]&&(i=(n+=this.get_unformatted("}}")).length)}while(-1===n.toLowerCase().indexOf(e,i));return n},this.get_token=function(){var e;if("TK_TAG_SCRIPT"!==this.last_token&&"TK_TAG_STYLE"!==this.last_token)return"CONTENT"===this.current_mode?"string"!=typeof(e=this.get_content())?e:[e,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(e=this.get_tag())?e:[e,"TK_TAG_".concat(this.tag_type)]:void 0;var t=this.last_token.substr(7);return"string"!=typeof(e=this.get_contents_to(t))?e:[e,"TK_".concat(t)]},this.get_full_indent=function(e){return(e=this.indent_level+e||0)<1?"":new Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!=e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var a=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(a&&!this.Utils.in_array(a,t))},this.printer=function(e,t,a,n,i){this.input=e||"",this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=a,this.brace_style=i,this.indent_level=0,this.wrap_line_length=n;for(var r=this.line_char_count=0;r'),c.$wp.append(d),d.attr("dir",c.opts.direction),c.$box.hasClass("fr-basic")||(m=p('')),c.$box.append(m),c.events.bindClick(c.$box,"a.html-switch",function(){c.events.trigger("commands.before",["html"]),A(!1),c.events.trigger("commands.after",["html"])}));var e=function e(){return!u()};c.events.on("buttons.refresh",e),c.events.on("copy",e,!0),c.events.on("cut",e,!0),c.events.on("paste",e,!0),c.events.on("destroy",y,!0),c.events.on("html.set",function(){u()&&A(!0)}),c.events.on("codeView.update",h),c.events.on("codeView.toggle",function(){c.$box.hasClass("fr-code-view")&&A()}),c.events.on("form.submit",function(){u()&&(c.html.set(g()),c.events.trigger("contentChanged",[],!0))},!0)}(),!f&&c.opts.codeMirror?((f=c.opts.codeMirror.fromTextArea(d.get(0),c.opts.codeMirrorOptions)).on("blur",b),f.on("focus",E)):(c.events.$on(d,"keydown keyup change input",function(){c.opts.height?this.removeAttribute("rows"):(this.rows=1,0===this.value.length?this.style.height="auto":this.style.height="".concat(this.scrollHeight,"px"))}),c.events.$on(d,"blur",b),c.events.$on(d,"focus",E))),c.undo.saveStep(),c.html.cleanEmptyTags(),c.html.cleanWhiteTags(!0),c.core.hasFocus()&&(c.core.isEmpty()||(c.selection.save(),c.$el.find('.fr-marker[data-type="true"]').first().replaceWith('F'),c.$el.find('.fr-marker[data-type="false"]').last().replaceWith('F')));var t=c.html.get(!1,!0);c.$el.find("span.fr-tmp").remove(),c.$box.toggleClass("fr-code-view",!0);var a,n,i=!1;if(c.core.hasFocus()&&(i=!0,c.events.disableBlur(),c.$el.blur()),t=(t=t.replace(/F<\/span>/,"FROALA-SM")).replace(/F<\/span>/,"FROALA-EM"),c.codeBeautifier&&!t.includes("fr-embedly")&&(t=c.codeBeautifier.run(t,c.opts.codeBeautifierOptions)),f){a=t.indexOf("FROALA-SM"),(n=t.indexOf("FROALA-EM")) .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(p(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!0),e.addClass("fr-active").attr("aria-pressed",!0),!c.helpers.isMobile()&&c.opts.toolbarInline&&c.toolbar.hide()}function A(e){void 0===e&&(e=!u());var t=c.$tb.find('.fr-command[data-cmd="html"]');e?(c.popups.hideAll(),n(t)):(c.$box.toggleClass("fr-code-view",!1),function a(e){var t=g();c.html.set(t),c.$el.blur(),c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1),c.selection.setAtStart(c.el),c.selection.restore(),c.placeholder.refresh(),c.undo.saveStep()}(t),c.events.trigger("codeView.update"))}function y(){u()&&A(!1),f&&f.toTextArea(),d.val("").removeData().remove(),d=null,m&&(m.remove(),m=null)}return{_init:function e(){if(c.events.on("focus",function(){c.opts.toolbarContainer&&function t(){var e=c.$tb.find('.fr-command[data-cmd="html"]');u()?(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(p(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!1),e.addClass("fr-active").attr("aria-pressed",!1)):(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1))}()}),!c.$wp)return!1},toggle:A,isActive:u,get:g}},It.RegisterCommand("html",{title:"Code View",undo:!1,focus:!1,forcedRefresh:!0,toggle:!0,callback:function(){this.codeView.toggle()},plugin:"codeView"}),It.DefineIcon("html",{NAME:"code",SVG_KEY:"codeView"}),Object.assign(It.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(It.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),It.PLUGINS.colors=function(m){var v=m.$,s='
    ");function l(e){for(var t="text"===e?m.opts.colorsText:m.opts.colorsBackground,a='
    '),n=0;n"),"REMOVE"!==t[n]?a+=' ').concat(m.language.translate("Color")).concat(t[n]," \n    "):a+='').concat(m.icon.create("remove"),' \n ').concat(m.language.translate("Clear Formatting")," ");return"".concat(a,"
    ")}function c(e){var t,a=m.popups.get("".concat(e,"Color.picker")),n=v(m.selection.element());t="background"===e?"background-color":"color";var i=a.find(".fr-".concat(e,"-color .fr-select-color"));for(i.find(".fr-selected-color").remove(),i.removeClass("fr-active-item"),i.not('[data-param1="REMOVE"]').attr("aria-selected",!1);n.get(0)!==m.el;){if("transparent"!==n.css(t)&&"rgba(0, 0, 0, 0)"!==n.css(t)){var r=a.find(".fr-".concat(e,'-color .fr-select-color[data-param1="').concat(m.helpers.RGBToHex(n.css(t)),'"]'));r.append(''),r.addClass("fr-active-item").attr("aria-selected",!0);break}n=n.parent()}!function o(e){var t=m.popups.get("".concat(e,"Color.picker")),a=t.find(".fr-".concat(e,"-color .fr-active-item")).attr("data-param1"),n=t.find(".fr-color-hex-layer input");a||(a="");n.length&&v(n.val(a).input).trigger("change")}(e)}function n(e){"REMOVE"!==e?m.format.applyStyle("background-color",m.helpers.HEXtoRGB(e)):m.format.removeStyle("background-color"),m.popups.hide("backgroundColor.picker")}function i(e){"REMOVE"!==e?m.format.applyStyle("color",m.helpers.HEXtoRGB(e)):m.format.removeStyle("color"),m.popups.hide("textColor.picker")}return{showColorsPopup:function d(e){var t=m.$tb.find('.fr-command[data-cmd="'.concat(e,'"]')),a=m.popups.get("".concat(e,".picker"));if(a||(a=function o(e){var t="";m.opts.toolbarInline&&0\n '.concat(m.button.buildList(m.opts.colorsButtons),"\n "));var a,n="";a="textColor"===e?(m.opts.colorsHEXInput&&(n=s.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(m.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:t,text_colors:l("text"),custom_color:n}):(m.opts.colorsHEXInput&&(n=s.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(m.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),{buttons:t,background_colors:l("background"),custom_color:n});var i=m.popups.create("".concat(e,".picker"),a);return function r(g,h){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible(h)||!t.is("span"))return!0;var a=e.which,n=!0;if(It.KEYCODE.TAB===a){var i=g.find(".fr-buttons");n=!m.accessibility.focusToolbar(i,!!e.shiftKey)}else if(It.KEYCODE.ARROW_UP===a||It.KEYCODE.ARROW_DOWN===a||It.KEYCODE.ARROW_LEFT===a||It.KEYCODE.ARROW_RIGHT===a){if(t.is("span.fr-select-color")){var r=t.parent().find("span.fr-select-color"),o=r.index(t),s=m.opts.colorsStep,l=Math.floor(r.length/s),c=o%s,d=Math.floor(o/s),f=d*s+c,p=l*s;It.KEYCODE.ARROW_UP===a?f=((f-s)%p+p)%p:It.KEYCODE.ARROW_DOWN===a?f=(f+s)%p:It.KEYCODE.ARROW_LEFT===a?f=((f-1)%p+p)%p:It.KEYCODE.ARROW_RIGHT===a&&(f=(f+1)%p);var u=v(r.get(f));m.events.disableBlur(),u.focus(),n=!1}}else It.KEYCODE.ENTER===a&&(m.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(i,"".concat(e,".picker")),i}(e)),!a.hasClass("fr-active"))if(m.popups.setContainer("".concat(e,".picker"),m.$tb),c("textColor"===e?"text":"background"),t.isVisible()){var n=m.button.getPosition(t),i=n.left,r=n.top;m.popups.show("".concat(e,".picker"),i,r,t.outerHeight())}else m.position.forSelection(a),m.popups.show("".concat(e,".picker"))},background:n,customColor:function r(e){var t=m.popups.get("".concat(e,"Color.picker")).find(".fr-color-hex-layer input");if(t.length){var a=t.val();"background"===e?n(a):i(a)}},text:i,back:function e(){m.popups.hide("textColor.picker"),m.popups.hide("backgroundColor.picker"),m.toolbar.showInline()}}},It.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),It.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),It.RegisterCommand("applytextColor",{undo:!0,callback:function(e,t){this.colors.text(t)}}),It.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),It.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),It.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),It.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(e,t){this.colors.background(t)}}),It.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),It.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),It.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"}),Object.assign(It.DEFAULTS,{dragInline:!0}),It.PLUGINS.draggable=function(d){var f=d.$;function e(e){return!(!e.originalEvent||!e.originalEvent.target||e.originalEvent.target.nodeType!==Node.TEXT_NODE)||(e.target&&"A"===e.target.tagName&&1===e.target.childNodes.length&&"IMG"===e.target.childNodes[0].tagName&&(e.target=e.target.childNodes[0]),f(e.target).hasClass("fr-draggable")?(d.undo.canDo()||d.undo.saveStep(),d.opts.dragInline?d.$el.attr("contenteditable",!0):d.$el.attr("contenteditable",!1),d.opts.toolbarInline&&d.toolbar.hide(),f(e.target).addClass("fr-dragging"),d.browser.msie||d.browser.edge||d.selection.clear(),void e.originalEvent.dataTransfer.setData("text","Froala")):(e.preventDefault(),!1))}var p,u=function u(e){return!(e&&("HTML"===e.tagName||"BODY"===e.tagName||d.node.isElement(e)))};function g(e,t,a){if(d.opts.iframe){var n=d.helpers.getPX(d.$wp.find(".fr-iframe").css("padding-top")),i=d.helpers.getPX(d.$wp.find(".fr-iframe").css("padding-left"));e+=d.$iframe.offset().top+n,t+=d.$iframe.offset().left+i}p.offset().top!==e&&p.css("top",e),p.offset().left!==t&&p.css("left",t),p.width()!==a&&p.css("width",a)}function t(e){e.originalEvent.dataTransfer.dropEffect="move",d.opts.dragInline?(!function a(){for(var e=null,t=0;t
    '),p.removeClass("fr-visible");else if(!1===d.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass("fr-dragging"),!1===(t=d.events.chainTrigger("element.beforeDrop",t)))return!1;var i=t;if(t.parent().is("A")&&1===t.parent().get(0).childNodes.length&&(i=t.parent()),d.core.isEmpty())d.events.focus();else d.$el.find(".fr-marker").replaceWith(It.MARKERS),d.selection.restore();if(a===d||d.undo.canDo()||d.undo.saveStep(),d.core.isEmpty())d.$el.html(i);else{var r=d.markers.insert();0===i.find(r).length?f(r).replaceWith(i):0===t.find(r).length&&f(r).replaceWith(t),t.after(It.MARKERS),d.selection.restore()}return d.popups.hideAll(),d.selection.save(),d.$el.find(d.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(d.opts.htmlAllowedEmptyTags.join(",")).remove(),d.html.wrap(),d.html.fillEmptyBlocks(),d.selection.restore(),d.undo.saveStep(),d.opts.iframe&&d.size.syncIframe(),a!==d&&(a.popups.hideAll(),a.$el.find(a.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),a.html.wrap(),a.html.fillEmptyBlocks(),a.undo.saveStep(),a.events.trigger("element.dropped"),a.opts.iframe&&a.size.syncIframe()),d.events.trigger("element.dropped",[i]),!1}p&&p.removeClass("fr-visible"),d.undo.canDo()||d.undo.saveStep(),setTimeout(function(){d.undo.saveStep()},0)}function r(e){if(e&&"DIV"===e.tagName&&d.node.hasClass(e,"fr-drag-helper"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll("div.fr-drag-helper"),a=0;a
    ")};n.popups.create("text.edit",e)}(),e())},update:function t(){var e=n.popups.get("text.edit").find("input").val();0===e.length&&(e=n.opts.placeholderText),"INPUT"===n.el.tagName?n.$el.attr("placeholder",e):n.$el.text(e),n.events.trigger("contentChanged"),n.popups.hide("text.edit")}}},It.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}}),Object.assign(It.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(It.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"},{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"},{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D\u2019ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),It.PLUGINS.emoticons=function(m){var v=m.$,i=m.opts.emoticonsSet,r=i&&i[0],o="";function s(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),t=m.selection.endElement();if(e&&m.node.hasClass(e,"fr-emoticon"))return e;if(t&&m.node.hasClass(t,"fr-emoticon"))return t;var a=m.selection.ranges(0),n=a.startContainer;if(n.nodeType==Node.ELEMENT_NODE&&0\n '.concat(function a(e,n){var i="";return e.forEach(function(e){var t={image:e.code.toLowerCase()},a={elementClass:e.id===n.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:m.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:m.language.translate(e.name),dataCmd:"setEmoticonCategory",dataParam1:e.id,image:m.opts.emoticonsUseImage?''):"&#x".concat(t.image,";")};i+='")}),i}(e,t),"\n ")}(i,r),"\n ").concat(function a(e){return'\n
    \n '.concat(function t(e){var i="";return e.emoticons.forEach(function(e){var t=e.code.split("-").reduce(function(e,t){return e?"".concat(e,"‍&#x").concat(t.toLowerCase(),";"):"&#x".concat(t.toLowerCase(),";")},""),a={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:t},n={dataParam1:e.code.toLowerCase(),dataParam2:a.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?''):"".concat(a.compiledCode),desc:m.language.translate(e.desc)};i+='\n ').concat(n.image,'').concat(n.desc,"   ")}),i}(e),"\n
    \n ")}(r),"\n ").concat(function e(){return m.opts.emoticonsUseImage?'

    Emoji free by Emoji One

    ':""}())}return{_init:function e(){var a=function a(){for(var e=m.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),t=0;t=It.KEYCODE.ARROW_LEFT&&e.which<=It.KEYCODE.ARROW_DOWN)){var n=s();m.node.hasClass(n,"fr-emoticon-img")&&(v(n).append(It.MARKERS),m.selection.restore())}})},insert:function c(e,t){var a=s(),n=m.selection.ranges(0);a?(0===n.startOffset&&m.selection.element()===a?v(a).before(It.MARKERS+It.INVISIBLE_SPACE):0").concat(t?" ":e,"
     ").concat(It.MARKERS),!0)):m.html.insert('").concat(t?" ":e," "),!0)},setEmoticonCategory:function a(t){r=i.filter(function(e){return e.id===t})[0],function e(){m.popups.get("emoticons").html(o+l())}()},showEmoticonsPopup:function d(){var e=m.popups.get("emoticons");if(e||(e=function r(){m.opts.toolbarInline&&0'.concat(m.button.buildList(m.opts.emoticonsButtons),""));var e={buttons:o,custom_layer:l()},t=m.popups.create("emoticons",e);return function a(h){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible("emoticons")||!t.is("span, a"))return!0;var a,n,i,r=e.which;if(It.KEYCODE.TAB==r){if(t.is("span.fr-emoticon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var o=h.find(".fr-buttons");a=!m.accessibility.focusToolbar(o,!!e.shiftKey)}if(!1!==a){var s=h.find("span.fr-emoticon:focus").first().concat(h.findVisible(" div.fr-tabs").first().concat(h.find("a")));t.is("span.fr-emoticon")&&(s=s.not("span.fr-emoticon:not(:focus)")),n=s.index(t),n=e.shiftKey?((n-1)%s.length+s.length)%s.length:(n+1)%s.length,i=s.get(n),m.events.disableBlur(),i.focus(),a=!1}}else if(It.KEYCODE.ARROW_UP==r||It.KEYCODE.ARROW_DOWN==r||It.KEYCODE.ARROW_LEFT==r||It.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-emoticon")){var l=t.parent().find("span.fr-emoticon");n=l.index(t);var c=m.opts.emoticonsStep,d=Math.floor(l.length/c),f=n%c,p=Math.floor(n/c),u=p*c+f,g=d*c;It.KEYCODE.ARROW_UP==r?u=((u-c)%g+g)%g:It.KEYCODE.ARROW_DOWN==r?u=(u+c)%g:It.KEYCODE.ARROW_LEFT==r?u=((u-1)%g+g)%g:It.KEYCODE.ARROW_RIGHT==r&&(u=(u+1)%g),i=v(l.get(u)),m.events.disableBlur(),i.focus(),a=!1}}else It.KEYCODE.ENTER==r&&(t.is("a")?t[0].click():m.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(t),t}()),!e.hasClass("fr-active")){m.popups.refresh("emoticons"),m.popups.setContainer("emoticons",m.$tb);var t=m.$tb.find('.fr-command[data-cmd="emoticons"]'),a=m.button.getPosition(t),n=a.left,i=a.top;m.popups.show("emoticons",n,i,t.outerHeight())}},back:function t(){m.popups.hide("emoticons"),m.toolbar.showInline()}}},It.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),It.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),It.RegisterCommand("insertEmoticon",{callback:function(e,t,a){this.emoticons.insert(a,this.opts.emoticonsUseImage?"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/".concat(t,".svg"):null),this.popups.hide("emoticons")}}),It.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,t){this.emoticons.setEmoticonCategory(t)}}),It.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}}),Object.assign(It.DEFAULTS,{entities:""'¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿŒœŠšŸƒˆ˜ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψωϑϒϖ   ‌‍‎‏–—‘’‚“”„†‡•…‰′″‹›‾⁄€ℑ℘ℜ™ℵ←↑→↓↔↵⇐⇑⇒⇓⇔∀∂∃∅∇∈∉∋∏∑−∗√∝∞∠∧∨∩∪∫∴∼≅≈≠≡≤≥⊂⊃⊄⊆⊇⊕⊗⊥⋅⌈⌉⌊⌋⟨⟩◊♠♣♥♦"}),It.PLUGINS.entities=function(i){var r,o,s=i.$;function n(e){var t=e.textContent;if(t.match(r)){for(var a="",n=0;n span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function m(e,t,a){A.edit.on(),A.events.focus(!0),A.selection.restore(),A.opts.fileUseSelectedText&&A.selection.text().length&&(t=A.selection.text()),A.html.insert('').concat(t,""));var n=A.$el.find("#fr-inserted-file");n.removeAttr("id"),A.popups.hide("file.insert"),A.undo.saveStep(),d(),A.events.trigger("file.inserted",[n,a])}function w(e,t,a){var n=this.status,i=this.response,r=this.responseXML,o=this.responseText;try{if(A.opts.fileUploadToS3||A.opts.fileUploadToAzure)if(201===n){var s;if(A.opts.fileUploadToAzure){if(!1===A.events.trigger("file.uploadedToAzure",[this.responseURL,a,i],!0))return A.edit.on(),!1;s=t}else s=function c(e){try{var t=p(e).find("Location").text(),a=p(e).find("Key").text();return!1===A.events.trigger("file.uploadedToS3",[t,a,e],!0)?(A.edit.on(),!1):t}catch(n){return L(h,e),!1}}(r);s&&m(s,e,i||r)}else L(h,i||r);else if(200<=n&&n<300){var l=function d(e){try{if(!1===A.events.trigger("file.uploaded",[e],!0))return A.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(L(u,e),!1)}catch(a){return L(h,e),!1}}(o);l&&m(l.link,e,i||o)}else L(g,i||o)}catch(f){L(h,i||o)}}function S(){L(h,this.response||this.responseText||this.responseXML)}function _(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;i(A.language.translate("Uploading"),t)}}function L(e,t){A.edit.on(),function n(e){R();var t=A.popups.get("file.insert").find(".fr-file-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),A.events.disableBlur(),a.focus()}(A.language.translate("Something went wrong. Please try again.")),A.events.trigger("file.error",[{code:e,message:a[e]},t])}function I(){A.edit.on(),r(!0)}function o(e){if(void 0!==e&&0A.opts.fileMaxSize)return L(T),!1;if(A.opts.fileAllowedTypes.indexOf("*")<0&&A.opts.fileAllowedTypes.indexOf(a.type.replace(/file\//g,""))<0)return L(C),!1;if(A.drag_support.formdata&&(t=A.drag_support.formdata?new FormData:null),t){var n;if(!1!==A.opts.fileUploadToS3)for(n in t.append("key",A.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",a.type),A.opts.fileUploadToS3.params)A.opts.fileUploadToS3.params.hasOwnProperty(n)&&t.append(n,A.opts.fileUploadToS3.params[n]);for(n in A.opts.fileUploadParams)A.opts.fileUploadParams.hasOwnProperty(n)&&t.append(n,A.opts.fileUploadParams[n]);t.append(A.opts.fileUploadParam,a);var i,r,o=A.opts.fileUploadURL;A.opts.fileUploadToS3&&(o=A.opts.fileUploadToS3.uploadURL?A.opts.fileUploadToS3.uploadURL:"https://".concat(A.opts.fileUploadToS3.region,".amazonaws.com/").concat(A.opts.fileUploadToS3.bucket));var s=A.opts.fileUploadMethod;A.opts.fileUploadToAzure&&(o=A.opts.fileUploadToAzure.uploadURL?"".concat(A.opts.fileUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(A.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.fileUploadToAzure.container,"/").concat(a.name)),i=o,A.opts.fileUploadToAzure.SASToken&&(o+=A.opts.fileUploadToAzure.SASToken),s="PUT");var l=A.core.getXHR(o,s);if(A.opts.fileUploadToAzure){var c=(new Date).toUTCString();if(!A.opts.fileUploadToAzure.SASToken&&A.opts.fileUploadToAzure.accessKey){var d=A.opts.fileUploadToAzure.account,f=A.opts.fileUploadToAzure.container;if(A.opts.fileUploadToAzure.uploadURL){var p=A.opts.fileUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+d+"/"+f+"/"+a.name),h=s+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+u+"\n"+g,m=A.cryptoJSPlugin.cryptoJS.HmacSHA256(h,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.fileUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;r=m,l.setRequestHeader("Authorization",v)}for(n in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",a.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.fileUploadParams)A.opts.fileUploadParams.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.fileUploadParams[n]);for(n in A.opts.fileUploadToAzure.params)A.opts.fileUploadToAzure.params.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.fileUploadToAzure.params[n])}l.onload=function(){w.call(l,a.name,i,r)},l.onerror=S,l.upload.onprogress=_,l.onabort=I,R();var b=A.popups.get("file.insert");b&&(b.off("abortUpload"),b.on("abortUpload",function(){4!==l.readyState&&l.abort()})),l.send(A.opts.fileUploadToAzure?a:t)}}}function s(){r()}function l(e){if(e)return A.popups.onHide("file.insert",s),!0;var t;A.opts.fileUpload||A.opts.fileInsertButtons.splice(A.opts.fileInsertButtons.indexOf("fileUpload"),1),t='
    '.concat(A.button.buildList(A.opts.fileInsertButtons),"
    ");var a="";A.opts.fileUpload&&(a='
    ').concat(A.language.translate("Drop file"),"
    (").concat(A.language.translate("or click"),')
    '));var n={buttons:t,upload_layer:a,progress_bar:'

    Uploading

    '},i=A.popups.create("file.insert",n);return function r(a){A.events.$on(a,"dragover dragenter",".fr-file-upload-layer",function(){return p(this).addClass("fr-drop"),!1},!0),A.events.$on(a,"dragleave dragend",".fr-file-upload-layer",function(){return p(this).removeClass("fr-drop"),!1},!0),A.events.$on(a,"drop",".fr-file-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),p(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;t&&t.files&&(a.data("instance")||A).file.upload(t.files)},!0),A.helpers.isIOS()&&A.events.$on(a,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){p(this).trigger("click")}),A.events.$on(a,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var e=a.data("instance")||A;e.events.disableBlur(),a.find("input:focus").blur(),e.events.enableBlur(),e.file.upload(this.files)}p(this).val("")},!0)}(i),i}function t(e){A.node.hasClass(e,"fr-file")}function c(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var a=t.files[0];if(a&&"undefined"!=typeof a.type){if(a.type.indexOf("image")<0){if(!A.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;A.markers.remove(),A.markers.insertAtPoint(e.originalEvent),A.$el.find(".fr-marker").replaceWith(It.MARKERS),A.popups.hideAll();var n=A.popups.get("file.insert");return n||(n=l()),A.popups.setContainer("file.insert",A.$sc),A.popups.show("file.insert",e.originalEvent.pageX,e.originalEvent.pageY),R(),o(t.files),e.preventDefault(),e.stopPropagation(),!1}}else a.type.indexOf("image")<0&&(e.preventDefault(),e.stopPropagation())}}function d(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("a.fr-file")),a=[];for(e=0;e',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],It.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,It.IMAGE_EMBED_REGEX=/^\W*(((\s|\n)*))\W*$/i,It.PLUGINS.filesManager=function(w){var y,o,S,l,c,d,s,f,_=w.$,T="https://i.froala.com/upload",p=!1,t=!1,L=new Map,I=new Map,C=new Map,R=new Map,x=new Map,k=new Map,r=0,i=[],u=-1,O=[],g=0,h=["file","image","imageTUI","video"],F=1,m=2,D=3,M=4,B=5,N=6,P=10,U=["video/avi","video/mpeg","video/x-ms-wmv"],v={};function b(){var e=w.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function E(e){var t;w.hasOwnProperty("imageTUI")||(s="fr-disabled"),k.forEach(function(e,t){X(t)}),A()?(t=w.popups.get("filesManager.insert"))||(t=We()):(t=w.popups.get("filesManager.insert"))||(t=function o(){var e='
    '.concat(w.button.buildList(w.opts.fileInsertButtons),"
    "),t="
    \n

    ".concat(w.language.translate(function i(){var e="",t=function a(){var t=[];return h.forEach(function(e){w.opts.pluginsEnabled.indexOf(e)<0&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),t}();e=t.join(", "),1

    \n
    \n \n \n
    "),a={buttons:e,upload_layer:t,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""},n=w.popups.create("filesManager.insert",a);return De(n),n}());var a=w.$tb.find('.fr-command[data-cmd="insertFiles"]');if(Z(),e||!t.hasClass("fr-active"))if(e||Q(),w.popups.refresh("filesManager.insert"),w.popups.setContainer("filesManager.insert",w.$tb),a.isVisible()){var n=w.button.getPosition(a,L.size),i=n.left,r=n.top;w.popups.show("filesManager.insert",i,r,a.outerHeight())}else w.position.forSelection(t),w.popups.show("filesManager.insert");w.popups.setPopupDimensions(t),A()&&w.popups.setFileListHeight(t),t.find(".fr-upload-progress")&&0==L.size&&t.find(".fr-upload-progress").addClass("fr-none")}function A(){var t=!0;return h.forEach(function(e){w.opts.pluginsEnabled.indexOf(e)<0&&(t=!1)}),t}function H(){Z()}function W(){if(l||function o(){var e;w.shared.$image_resizer?(l=w.shared.$image_resizer,d=w.shared.$img_overlay,w.events.on("destroy",function(){_("body").first().append(l.removeClass("fr-active"))},!0)):(w.shared.$image_resizer=_(document.createElement("div")).attr("class","fr-image-resizer"),l=w.shared.$image_resizer,w.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),w.opts.imageResize&&(l.append(K("nw")+K("ne")+K("sw")+K("se")),w.shared.$img_overlay=_(document.createElement("div")).attr("class","fr-image-overlay"),d=w.shared.$img_overlay,e=l.get(0).ownerDocument,_(e).find("body").first().append(d)));w.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,w.opts.imageResize&&(d.remove(),d=null)},!0),w.helpers.isMobile()||w.events.$on(_(w.o_win),"resize",function(){y&&!y.hasClass("fr-uploading")?it(!0):y&&(W(),replace(),J(!1))});if(w.opts.imageResize){e=l.get(0).ownerDocument,w.events.$on(l,w._mousedown,".fr-handler",z),w.events.$on(_(e),w._mousemove,G),w.events.$on(_(e.defaultView||e.parentWindow),w._mouseup,Y),w.events.$on(d,"mouseleave",Y);var n=1,i=null,r=0;w.events.on("keydown",function(e){if(y){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,a=e.which;(a!==i||200"),Ce(y)),i=a,r=e.timeStamp}},!0),w.events.on("keyup",function(){n=1})}}(),!y)return!1;var e=w.$wp||w.$sc;e.append(l),l.data("instance",w);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),a=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);a-=w.helpers.getPX(e.css("border-left-width")),t-=w.helpers.getPX(e.css("border-top-width")),w.$el.is("img")&&w.$sc.is("body")&&(a=t=0);var n=dt();ft()&&(n=n.find(".fr-img-wrap"));var i=0,r=0;w.opts.iframe&&(i=w.helpers.getPX(w.$wp.find(".fr-iframe").css("padding-top")),r=w.helpers.getPX(w.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(w.opts.iframe?n.offset().top+i:n.offset().top+t)-1).css("left",(w.opts.iframe?n.offset().left+r:n.offset().left+a)-1).css("width",n.get(0).getBoundingClientRect().width).css("height",n.get(0).getBoundingClientRect().height).addClass("fr-active")}function K(e){return'
    ')}function $(e){ft()?y.parents(".fr-img-caption").css("width",e):y.css("width",e)}function z(e){if(!w.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),w.$el.find("img.fr-error").left)return!1;w.undo.canDo()||w.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var a=w.$oel.get(0).ownerDocument,n=a.defaultView||a.parentWindow,i=!1;try{i=n.location!=n.parent.location&&!(n.$&&n.$.FE)}catch(s){}i&&n.frameElement&&(t+=w.helpers.getPX(_(n.frameElement).offset().left)+n.frameElement.clientLeft)}(c=_(this)).data("start-x",t),c.data("start-width",y.width()),c.data("start-height",y.height());var r=y.width();if(w.opts.imageResizeWithPercent){var o=y.parentsUntil(w.$el,w.html.blockTagsQuery()).get(0)||w.el;r=(r/_(o).outerWidth()*100).toFixed(2)+"%"}$(r),d.show(),w.popups.hideAll(),st()}function G(e){if(!w.core.sameInstance(l))return!0;var t;if(c&&y){if(e.preventDefault(),w.$el.find("img.fr-error").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var n=a-c.data("start-x"),i=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(n=0-n),w.opts.imageResizeWithPercent){var r=y.parentsUntil(w.$el,w.html.blockTagsQuery()).get(0)||w.el;i=((i+n)/_(r).outerWidth()*100).toFixed(2),w.opts.imageRoundPercent&&(i=Math.round(i)),$("".concat(i,"%")),(t=ft()?(w.helpers.getPX(y.parents(".fr-img-caption").css("width"))/_(r).outerWidth()*100).toFixed(2):(w.helpers.getPX(y.css("width"))/_(r).outerWidth()*100).toFixed(2))===i||w.opts.imageRoundPercent||$("".concat(t,"%")),y.css("height","").removeAttr("height")}else i+n>=w.opts.imageMinWidth&&($(i+n),t=ft()?w.helpers.getPX(y.parents(".fr-img-caption").css("width")):w.helpers.getPX(y.css("width"))),t!==i+n&&$(t),((y.attr("style")||"").match(/(^height:)|(; *height:)/)||y.attr("height"))&&(y.css("height",c.data("start-height")*y.width()/c.data("start-width")),y.removeAttr("height"));W(),w.events.trigger("image.resize",[ct()])}}function Y(e){if(!w.core.sameInstance(l))return!0;if(c&&y){if(e&&e.stopPropagation(),w.$el.find("img.fr-error").left)return!1;c=null,d.hide(),W(),w.undo.saveStep(),w.events.trigger("image.resizeEnd",[ct()])}else l.removeClass("fr-active")}function V(){k.forEach(function(e,t){var a=w.popups.get("filesManager.insert");a.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),a.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),a.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function q(e,t,a,n){w.edit.on(),y&&y.addClass("fr-error"),v[e]?(e!=D&&e!=m&&e!=M||Ae(100,n,!0),k.set(n,v[e]),V(),function i(){k.forEach(function(e,t){w.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))})}(),ae(w.language.translate(v[e]),n)):ae(w.language.translate("Something went wrong. Please try again."),n),!y&&a&&Xe(a),w.events.trigger("filesManager.error",[{code:e,message:v[e]},t,a])}function j(){var e=w.popups.get("filesManager.insert"),t=e.find('.fr-command[data-cmd="insertAll"]'),a=e.find('.fr-command[data-cmd="deleteAll"]'),n=!0;x.forEach(function i(e,t,a){x.get(t)&&(n=!1)}),n?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),n?a.addClass("fr-disabled"):a.removeClass("fr-disabled")}function X(e){I.get(e)&&I.get(e).link&&w.events.trigger("filesManager.removed",[I.get(e).link]);var t=w.popups.get("filesManager.insert");t.find(".fr-file-"+e).get(0)!==undefined&&(t.find(".fr-file-"+e).get(0).outerHTML=""),I["delete"](e),L["delete"](e),x["delete"](e),j(),0==L.size&&(g=0),k["delete"](e),w.popups.setPopupDimensions(t,!0),w.opts.toolbarBottom?E(!0):w.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==L.size&&t.find(".fr-upload-progress").addClass("fr-none")}function Q(){for(var e=w.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),a=0;a span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function te(e){J();var t=w.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),w.events.disableBlur(),a.focus()}function ae(e,t){var a=w.popups.get("filesManager.insert"),n=a.find(".fr-upload-progress-layer"),i=a.find(".fr-file-".concat(t));n.addClass("fr-error"),i.find("h5").text(e)}v[F]="File cannot be loaded from the passed link.",v[m]="No link in upload response.",v[D]="Error during file upload.",v[M]="Parsing response failed.",v[B]="File is too large.",v[N]="File type is invalid.",v[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",v[8]="File is corrupted.",v[9]="Error during file loading.",v[P]="File upload cancelled";var a,ne,ie,re,oe,se,n,le,ce,de,fe="";function pe(e){fe=e,a=document.getElementsByClassName(e),Array.prototype.map.call(a,function(e){!function n(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),ne=e.pageX,ie=e.pageY;var t=document.getElementById("filesList");ie+20>t.getBoundingClientRect().bottom&&ue(t,0,10),ie-20i.getBoundingClientRect().bottom&&ue(i,0,5),e.targetTouches[0].clientY-5\n
    \n\n \n
    \n ').concat(w.helpers.isMobile()?"
    \n
    "):"",'\n
    \n \n ').concat('','\n \n
    \n \n
    \n \n
    \n Image preview\n
    \n\n
    \n
    \n ").concat(function s(e,t,a){null==t&&(t=100);null==a&&(a="...");return e.length>t?e.substring(0,t-a.length)+a:e}(t.name,20),'\n ').concat(t.name,"\n \n
    \n
    \n
    ").concat(a,"\n
    \n \n
    \n ").concat(function l(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(t.size),"\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    ")+Ee(e)+"
    \n
    ";n.find(".fr-upload-progress-layer")[0].innerHTML=r+n.find(".fr-upload-progress-layer")[0].innerHTML,L.forEach(function c(e,t,a){x.get(t)&&n.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),O.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),be(e,t),Z(),w.opts.toolbarBottom?E(!0):w.popups.setPopupDimensions(n),pe("fr-file-list-item")}function ve(e){switch(e){case"application/msword":return w.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return w.icon.getFileIcon("docxIcon");case"image/gif":return w.icon.getFileIcon("gifIcon");case"image/jpeg":return w.icon.getFileIcon("jpegIcon");case"image/jpeg":return w.icon.getFileIcon("jpgIcon");case"type/text":return w.icon.getFileIcon("logIcon");case"video/quicktime":return w.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return w.icon.getFileIcon("mp3Icon");case"video/mp4":return w.icon.getFileIcon("mp4Icon");case"audio/ogg":return w.icon.getFileIcon("oggIcon");case"video/ogg":return w.icon.getFileIcon("ogvIcon");case"application/pdf":return w.icon.getFileIcon("pdfIcon");case"image/png":return w.icon.getFileIcon("pngIcon");case"text/plain":return w.icon.getFileIcon("txtIcon");case"video/webm":return w.icon.getFileIcon("webmIcon");case"image/webp":return w.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return w.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return w.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return w.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return w.icon.getFileIcon("zipIcon");default:return w.icon.getFileIcon("defaultIcon")}}function be(n,i,e){var r=w.popups.get("filesManager.insert"),t=r.find(".fr-file-item-icon-"+n).get(0);if(Be(Le(i))&&"image/gif"!=Le(i)&&"image/webp"!=Le(i)){"a"!=t.children[0].localName&&(t.innerHTML=""+t.innerHTML+"");r.find(".fr-file-item-icon-"+n).get(0).children[0].children[0];var o=new FileReader;if(null!=e&&e){var a=L.get(n);i.name=a.name,L.set(n,i)}if(o.onloadend=function(){r.find(".fr-file-item-icon-"+n).get(0).children[0].children[0].src=o.result;for(var e=atob(o.result.split(",")[1]),t=[],a=0;a\n '.concat(s.path,"\n ")}}else{var l=ve(Le(i));t.innerHTML='\n '.concat(l.path,"\n ")}}function Ee(e){var t="";if(Pe(Le(L.get(e)))){var a="fr-files-checkbox",n="";He(Le(L.get(e)))||(a="fr-checkbox-disabled",n="disabled");t='\n
    \n
    \n \n \n\n ").concat(''," \n
    \n \n
    ")}var i="application/msword",r="application/vnd.openxmlformats-officedocument.wordprocessingml.document",o="";return!Ue(Le(L.get(e)))&&He(Le(L.get(e)))||(s="fr-disabled"),Pe(Le(L.get(e)))&&(s="fr-disabled"),Ne(Le(L.get(e)))&&(s="fr-disabled",Le(L.get(e))!=i&&Le(L.get(e))!=r||w.opts.googleOptions&&!w.helpers.isMobile()&&w.opts.googleOptions.API_KEY&&w.opts.googleOptions.CLIENT_ID&&(s=""),"text/plain"!=Le(L.get(e))&&Le(L.get(e))!=i&&"application/pdf"!=Le(L.get(e))&&Le(L.get(e))!=r&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=Le(L.get(e))&&"application/vnd.ms-excel"!=Le(L.get(e))&&"type/text"!=Le(L.get(e))||(o="")),"video/url"===Le(L.get(e))&&(s="fr-disabled"),t+='
    \n \n\n \n \n \n\n \n \n
    \n
    \n \n
    \n\n
    \n\n
    \n ")}function Ae(e,t,a){var n=w.popups.get("filesManager.insert");if(!a&&e<=100){n.find(".fr-checkbox-file-"+t).get(0).disabled=!0,n.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),n.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var i=n.find(".fr-file-progress-circle-"+t),r=n.find(".fr-file-upload-percent-"+t);return 50 *")),a=[];for(e=0;e',a.appendChild(n),document.getElementById("signout_button").onclick=i,document.getElementById("cancel_file_edit").onclick=l}function l(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=undefined)});var e=document.getElementById("editDocContainer");e.parentNode.removeChild(e),document.getElementById("user_area-".concat(p.fileIndex))&&(document.getElementById("user_area-".concat(p.fileIndex)).style.display="none"),function n(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),a=0;a'),!0);else w.html.insert('').concat(a,""));var i=w.$el.find("#fr-inserted-file");i.removeAttr("id"),w.undo.saveStep(),function T(){var e,t=Array.prototype.slice.call(w.el.querySelectorAll("a.fr-file")),a=[];for(e=0;e'.concat(I.get(s).video,""),!1,w.opts.videoSplitHTML),w.popups.hide("filesManager.insert");var h=w.$el.find(".fr-jiv");h.removeClass("fr-jiv"),h.toggleClass("fr-rv",w.opts.videoResponsive),function C(e,t,a){!w.opts.htmlUntouched&&w.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(a[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==a?e.css({"float":"none"}):"left"==a?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==a?e.css({textAlign:"left"}):"right"==a?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(h,w.opts.videoDefaultDisplay,w.opts.videoDefaultAlign),h.toggleClass("fr-draggable",w.opts.videoMove),w.events.trigger("video.inserted",[h]),Re.call(h)}else{var m=I.get(s).link,v=I.get(s).sanitize,b=I.get(s).data,E=I.get(s).$existing_img,A=I.get(s).response;w.edit.off(),v&&(m=w.helpers.sanitizeURL(m)),function R(){var e,t;if(E){w.undo.canDo()||E.find("video").hasClass("fr-uploading")||w.undo.saveStep();var a=E.find("video").data("fr-old-src"),n=E.data("fr-replaced");E.data("fr-replaced",!1),w.$wp?((e=E.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),a&&E.find("video").attr("src",a),E.replaceWith(e)):e=E;for(var i=e.find("video").get(0).attributes,r=0;r"+w.language.translate("Your browser does not support HTML5 video.")+"");else{var c="",d=document.getElementById("fr-file-autoplay-button-"+i).checked;d&&(c="autoplay"),s=_(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+w.opts.videoDefaultDisplay[0]+("center"!=w.opts.videoDefaultAlign?" fr-fv"+w.opts.videoDefaultAlign[0]:"")).html('")}s.toggleClass("fr-draggable",w.opts.videoMove),w.edit.on(),w.events.focus(!0),w.selection.restore(),w.undo.saveStep(),w.opts.videoSplitHTML?w.markers.split():w.markers.insert();w.html.wrap();var f=w.$el.find(".fr-marker");w.node.isLastSibling(f)&&f.parent().hasClass("fr-deletable")&&f.insertAfter(f.parent());f.replaceWith(s);var p="";p=Ue(n)?"audio":"video",s.find(p).get(0).readyState>s.find(p).get(0).HAVE_FUTURE_DATA||w.helpers.isIOS()?a.call(s.find(p).get(0)):(s.find(p).on("canplaythrough load",a),s.find(p).on("error",a));return s}(m,b,Re,Le(I.get(s)),s),we(),w.undo.saveStep(),w.events.trigger("video.inserted",[e,A])}()}w.popups.hide("filesManager.insert"),x["delete"](s);var y=w.popups.get("filesManager.insert");y.find("input.fr-insert-attr.fr-checkbox-file-".concat(s))[0].checked=!1,y.find(".fr-file-"+s).get(0).classList.add("fr-unchecked"),j(),document.getElementById("fr-file-autoplay-button-"+s)&&(document.getElementById("fr-file-autoplay-button-"+s).checked=!1),O=O.filter(function(e){return e!=s})}function xe(e,t){var a,n;It.VIDEO_EMBED_REGEX.test(e)?(a="video",n=w.opts.videoSplitHTML):It.IMAGE_EMBED_REGEX.test(e)&&(a="image",n=w.opts.imageSplitHTML),w.events.focus(!0),w.selection.restore();var i=!1;y&&(Xe(),i=!0),w.html.insert('').concat(e,""),!1,n),w.popups.hide("filesManager.insert");var r=w.$el.find(".fr-jiv");r.removeClass("fr-jiv"),"video"==a&&(r.toggleClass("fr-rv",w.opts.videoResponsive),function o(e,t,a){!w.opts.htmlUntouched&&w.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(a[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==a?e.css({"float":"none"}):"left"==a?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==a?e.css({textAlign:"left"}):"right"==a?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(r,w.opts.videoDefaultDisplay,w.opts.videoDefaultAlign),r.toggleClass("fr-draggable",w.opts.videoMove),w.events.trigger(i?"video.replaced":"video.inserted",[r])),"image"==a&&(lt(r,w.opts.imageDefaultDisplay,w.opts.imageDefaultAlign),r.find("img").removeClass("fr-dii"),r.find("img").addClass("fr-dib"),r.toggleClass("fr-draggable",w.opts.imageMove),w.events.trigger(i?"image.replaced":"image.inserted",[r])),t&&(f=r,w.selection.clear(),w.toolbar.disable(),w.video._editVideo(f))}function ke(e,t){try{if(!1===w.events.trigger("filesManager.uploaded",[e],!0))return w.edit.on(),!1;var a=JSON.parse(e);return a.link?a:(q(m,e,null,t),!1)}catch(n){return q(M,e,null,t),!1}}function Oe(e,t){try{var a=_(e).find("Location").text(),n=_(e).find("Key").text();return!1===w.events.trigger("filesManager.uploadedToS3",[a,n,e],!0)?(w.edit.on(),!1):a}catch(i){return q(M,e,null,t),!1}}function Fe(e,t,a,n){if(-1w.opts.filesManagerMaxSize)return q(B,null,null,n),!1;if(w.opts.filesManagerAllowedTypes.indexOf("*")<0&&w.opts.filesManagerAllowedTypes.indexOf(Le(e))<0)return q(N,null,null,n),!1;var i;if(function A(e){isNaN(e)||(w.popups.get("filesManager.insert").find(".fr-file-item-right-"+e).get(0).innerHTML='
    \n \n\n \n\n
    \n 0%\n
    \n
    \n
    \n
    \n
    \n
    "),R.set(e,0))}(n),w.drag_support.formdata&&(i=w.drag_support.formdata?new FormData:null),i){var r;if(!1!==w.opts.filesManagerUploadToS3)for(r in i.append("key",w.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),i.append("success_action_status","201"),i.append("X-Requested-With","xhr"),i.append("Content-Type",Le(e)),w.opts.filesManagerUploadToS3.params)w.opts.filesManagerUploadToS3.params.hasOwnProperty(r)&&i.append(r,w.opts.filesManagerUploadToS3.params[r]);for(r in w.opts.filesManagerUploadParams)w.opts.filesManagerUploadParams.hasOwnProperty(r)&&i.append(r,w.opts.filesManagerUploadParams[r]);i.append(w.opts.filesManagerUploadParam,e,e.name);var o,s,l=w.opts.filesManagerUploadURL;w.opts.filesManagerUploadToS3&&(l=w.opts.filesManagerUploadToS3.uploadURL?w.opts.filesManagerUploadToS3.uploadURL:"https://".concat(w.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(w.opts.filesManagerUploadToS3.bucket)),w.opts.filesManagerUploadToAzure&&(l=w.opts.filesManagerUploadToAzure.uploadURL?"".concat(w.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(w.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(w.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),o=l,w.opts.filesManagerUploadToAzure.SASToken&&(l+=w.opts.filesManagerUploadToAzure.SASToken),w.opts.filesManagerUploadMethod="PUT");var c=w.core.getXHR(l,w.opts.filesManagerUploadMethod);if(w.opts.filesManagerUploadToAzure){var d=(new Date).toUTCString();if(!w.opts.filesManagerUploadToAzure.SASToken&&w.opts.filesManagerUploadToAzure.accessKey){var f=w.opts.filesManagerUploadToAzure.account,p=w.opts.filesManagerUploadToAzure.container;if(w.opts.filesManagerUploadToAzure.uploadURL){var u=w.opts.filesManagerUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var g="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+f+"/"+p+"/"+e.name),m=w.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+Le(e)+"\n\n\n\n\n\n\n"+g+"\n"+h,v=w.cryptoJSPlugin.cryptoJS.HmacSHA256(m,w.cryptoJSPlugin.cryptoJS.enc.Base64.parse(w.opts.filesManagerUploadToAzure.accessKey)).toString(w.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;s=v,c.setRequestHeader("Authorization",b)}for(r in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",Le(e)),c.setRequestHeader("x-ms-blob-type","BlockBlob"),w.opts.filesManagerUploadParams)w.opts.filesManagerUploadParams.hasOwnProperty(r)&&c.setRequestHeader(r,w.opts.filesManagerUploadParams[r]);for(r in w.opts.filesManagerUploadToAzure.params)w.opts.filesManagerUploadToAzure.params.hasOwnProperty(r)&&c.setRequestHeader(r,w.opts.filesManagerUploadToAzure.params[r])}c.onload=function(){Ne(Le(e))?function g(e,t,a,n,i){var r=this.status,o=this.response,s=this.responseXML,l=this.responseText;try{if(w.opts.filesManagerUploadToS3||w.opts.filesManagerUploadToAzure)if(201===r){var c;if(w.opts.filesManagerUploadToAzure){if(!1===w.events.trigger("filesManager.uploadedToAzure",[this.responseURL,i,o],!0))return w.edit.on(),!1;c=n}else c=Oe(s,t);if(c){var d={link:c,text:e,response:o,type:a};I.set(t,d)}}else q(M,o||s,null,t);else if(200<=r&&r<300){var f=ke(l,t);if(f){var p={link:f.link,text:e,response:o,type:a};I.set(t,p)}}else q(D,o||l,null,t)}catch(u){q(M,o||l,null,t)}}.call(c,e.name,n,Le(e),o,s):function h(e,t,a,n,i){var r=this.status,o=this.response,s=this.responseXML,l=this.responseText;try{if(w.opts.filesManagerUploadToS3||w.opts.filesManagerUploadToAzure)if(201==r){var c;if(w.opts.filesManagerUploadToAzure){if(!1===w.events.trigger("filesManager.uploadedToAzure",[this.responseURL,i,o],!0))return w.edit.on(),!1;c=n}else c=Oe(s,t);if(c){var d={link:c,sanitize:!1,data:[],$existing_img:e,response:o||s,type:a};I.set(t,d)}}else q(M,o||s,e,t);else if(200<=r&&r<300){var f=ke(l,t);if(f){var p={link:f.link,sanitize:!1,data:f,$existing_img:e,response:o||s,type:a};I.set(t,p)}}else q(D,o||l,e,t)}catch(u){q(M,o||l,e,t)}}.call(c,y,n,Le(e),o,s),k.has(n)||Ae(100,n,!0)},c.onerror=function(){q(M,this.response||this.responseText||this.responseXML,null,n)},c.upload.onprogress=function(e){!function a(e,t){e.lengthComputable&&Ae(e.loaded/e.total*100|0,t,!1)}(e,n)},c.onabort=function(e){!function a(e,t){q(P,t,y,e)}(n,e)},c.send(w.opts.filesManagerUploadToAzure?e:i),C.set(n,c)}}function De(l){w.events.$on(l,"click",".fr-upload-progress-layer",function(e){if(w.helpers.isMobile())return e.stopPropagation(),!1},!0),w.events.$on(l,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t\n \n ";s[0].innerHTML=l+s[0].innerHTML}else if(Pe(Le(I.get(e)))){var c;if(I.get(e).hasOwnProperty("video")){var d=I.get(e).video.substring(I.get(e).video.indexOf("src")+3),f=d.substring(d.indexOf('"')+1);f=f.substring(0,f.indexOf('"')),c='
    \n
    \n
    ×
    \n \n
    \n
    ')}else c='
    \n
    \n
    ×
    \n \n
    \n
    ";s[0].innerHTML=c+s[0].innerHTML}else if(Ue(Le(I.get(e)))){var p='
    \n
    \n
    ×
    \n \n
    \n
    ');s[0].innerHTML=p+s[0].innerHTML}else if(Ne(Le(I.get(e)))){var u=I.get(e).link,g=I.get(e).text;if(u.endsWith(".pdf")||u.endsWith(".txt")){var h='
    \t\n
    \t\n
    ×
    \t\n \t\n
    \t\n
    ');s[0].innerHTML=h+s[0].innerHTML}else if(0===u.indexOf("blob:")&&w.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(L.get(e),g);else{var m=document.createElement("a");m.href=u,m.download=g,m.click()}}}}(t)}),w.events.$on(l,"click",".fr-file-delete-button",function(e){X(parseInt(this.id.split("-").pop()))}),w.events.$on(l,"click",".fr-file-cancel-upload-button",function(e){!function a(e){var t=w.popups.get("filesManager.insert");t.find(".fr-file-item-right-"+e).get(0).innerHTML=Ee(e),C.get(e).abort(),ye(e,100,!0),t.find(".fr-checkbox-file-"+e).get(0).disabled=!0}(parseInt(this.id.split("-").pop()))}),w.events.$on(l,"click",".fr-upload-delete-button",function(e){!function t(e){0!=C.get(e).readyState&&(C.get(e).abort(),ye(e,100,!0),C["delete"](e)),X(e)}(parseInt(this.id.split("-").pop()))}),w.events.$on(l,"click",".fr-file-view-close",function(e){l.find(".fr-file-view-modal").get(0).outerHTML=""}),w.events.$on(l,"click",".fr-plugins-enable",function(e){!function t(){h.forEach(function(e){w.opts.pluginsEnabled.indexOf(e)<0&&w.opts.pluginsEnabled.push(e)})}(),function a(e){for(var t in e)if(!w[t]){if(It.PLUGINS[t]&&w.opts.pluginsEnabled.indexOf(t)<0)continue;w[t]=new e[t](w),w[t]._init&&w[t]._init()}}(It.PLUGINS),w.popups.get("filesManager.insert").get(0).outerHTML="",We(),E(!0)}),w.events.$on(l,"click",".fr-plugins-cancel",function(e){w.popups.hide("filesManager.insert")}),w.events.$on(l,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),w.events.$on(l,"drop",".fr-files-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),_(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=l.data("instance")||w;a.events.disableBlur();for(var n=[],i=0;i'.concat(i,'').concat(r,""));var o=w.opts.filesInsertButtons.indexOf("filesUpload"),s=w.opts.filesInsertButtons.indexOf("filesByURL"),l=w.opts.filesInsertButtons.indexOf("filesEmbed"),c="";0<=o&&(t=" fr-active",0<=s&&s
    Drag & Drop One or More Files
    OR
    Click Browse Files
    '));var d="";0<=l&&(t=" fr-active",(o
    "));var f="";0<=s&&(t=" fr-active",0<=o&&o
    "));var p={buttons:n,upload_layer:c,by_url_layer:f,embed_layer:d,upload_progress_layer:"
    "),progress_bar:'

    Uploading

    '};return 1<=w.opts.imageInsertButtons.length&&(a=w.popups.create("filesManager.insert",p)),w.$wp&&w.events.$on(w.$wp,"scroll",function(){y&&w.popups.isVisible("filesManager.insert")&&replace()}),De(a),w.popups.setPopupDimensions(a),a}function Ke(e){var t=e.split("/").pop();if(t.split(".").length<2){var a=new Date;return t+"-"+a.getDate()+"/"+(a.getMonth()+1)+"/"+a.getFullYear()}return t}function $e(){y&&w.popups.get("image.alt").find("input").val(y.attr("alt")||"").trigger("change")}function ze(){var e=w.popups.get("image.alt");e||(e=Ge()),Z(),w.popups.refresh("image.alt"),w.popups.setContainer("image.alt",w.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();w.popups.show("image.alt",a,n,t.outerHeight(),!0)}function Ge(e){if(e)return w.popups.onRefresh("image.alt",$e),!0;var t={buttons:'
    '.concat(w.button.buildList(w.opts.imageAltButtons),"
    "),alt_layer:'
    ")},a=w.popups.create("image.alt",t);return w.$wp&&w.events.$on(w.$wp,"scroll.image-alt",function(){y&&w.popups.isVisible("image.alt")&&ze()}),a}function Ye(){var e=w.popups.get("image.size");if(y)if(ft()){var t=y.parent();t.get(0).style.width||(t=y.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(y.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(y.get(0).style.height).trigger("change")}function Ve(){var e=w.popups.get("image.size");e||(e=qe()),Z(),w.popups.refresh("image.size"),w.popups.setContainer("image.size",w.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();w.popups.show("image.size",a,n,t.outerHeight(),!0)}function qe(e){if(e)return w.popups.onRefresh("image.size",Ye),!0;var t={buttons:'
    '.concat(w.button.buildList(w.opts.imageSizeButtons),"
    "),size_layer:'
    ")},a=w.popups.create("image.size",t);return w.$wp&&w.events.$on(w.$wp,"scroll.image-size",function(){y&&w.popups.isVisible("image.size")&&Ve()}),a}function je(e,t,a,n){return e.pageX=t,z.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,n)),G.call(this,e),Y.call(this,e),++n}function Xe(e){(e=e||dt())&&!1!==w.events.trigger("image.beforeRemove",[e])&&(w.popups.hideAll(),it(!0),w.undo.canDo()||w.undo.saveStep(),e.get(0)==w.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(w.selection.setBefore(e.get(0).parentNode)||w.selection.setAfter(e.get(0).parentNode)||e.parent().after(It.MARKERS),_(e.get(0).parentNode).remove()):(w.selection.setBefore(e.get(0))||w.selection.setAfter(e.get(0))||e.after(It.MARKERS),e.remove()),w.html.fillEmptyBlocks(),w.selection.restore()),w.undo.saveStep())}function Qe(e){var t=e.which;if(y&&(t==It.KEYCODE.BACKSPACE||t==It.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),Xe(),!1;if(y&&t==It.KEYCODE.ESC){var a=y;return it(!0),w.selection.setAfter(a.get(0)),w.selection.restore(),e.preventDefault(),!1}if(!y||t!=It.KEYCODE.ARROW_LEFT&&t!=It.KEYCODE.ARROW_RIGHT)return y&&t===It.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),it(!0),!1):y&&t!=It.KEYCODE.F10&&!w.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var n=y.get(0);return it(!0),t==It.KEYCODE.ARROW_LEFT?w.selection.setBefore(n):w.selection.setAfter(n),w.selection.restore(),e.preventDefault(),!1}function Je(e){if(e&&"IMG"==e.tagName){if(w.node.hasClass(e,"fr-uploading")||w.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):w.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&w.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var a=e.nextSibling;a&&a.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var n=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),i=0;i"));var n=w.$el.find('img[data-fr-image-pasted="true"]');n&<(n,w.opts.imageDefaultDisplay,w.opts.imageDefaultAlign),w.events.trigger("paste.after")}function at(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var a=0;a"):_(w.node.blockParent(e.get(0))).after("<".concat(w.html.defaultTag(),">
    ")))})})(),"IMG"==w.el.tagName&&w.$el.addClass("fr-view"),w.helpers.isMobile()&&(w.events.$on(w.$el,"touchstart","IMG"==w.el.tagName?null:'img:not([contenteditable="false"])',function(){de=!1}),w.events.$on(w.$el,"touchmove",function(){de=!0})),w.$wp?(w.events.on("window.keydown keydown",Qe,!0),w.events.on("keyup",function(e){if(y&&e.which==It.KEYCODE.ENTER)return!1},!0),w.events.$on(w.$el,"keydown",function(){var e=w.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&w.node.isLastSibling(e))&&(e=e.parentNode),w.node.hasClass(e,"fr-inner")||(w.node.hasClass(e,"fr-img-caption")||(e=_(e).parents(".fr-img-caption").get(0)),w.node.hasClass(e,"fr-img-caption")&&(_(e).after(It.INVISIBLE_SPACE+It.MARKERS),w.selection.restore()))})):w.events.$on(w.$win,"keydown",Qe),w.events.on("toolbar.esc",function(){if(y){if(w.$wp)w.events.disableBlur(),w.events.focus();else{var e=y;it(!0),w.selection.setAfter(e.get(0)),w.selection.restore()}return!1}},!0),w.events.on("toolbar.focusEditor",function(){if(y)return!1},!0),w.events.on("window.cut window.copy",function(e){if(y&&w.popups.isVisible("image.edit")&&!w.popups.get("image.edit").find(":focus").length){var t=dt();ft()?(t.before(It.START_MARKER),t.after(It.END_MARKER),w.selection.restore(),w.paste.saveCopiedText(t.get(0).outerHTML,t.text())):w.paste.saveCopiedText(y.get(0).outerHTML,y.attr("alt")),"copy"==e.type?setTimeout(function(){Ce(y)}):(it(!0),w.undo.saveStep(),setTimeout(function(){w.undo.saveStep()},0))}},!0),w.browser.msie&&w.events.on("keydown",function(e){if(!w.selection.isCollapsed()||!y)return!0;var t=e.which;t==It.KEYCODE.C&&w.keys.ctrlKey(e)?w.events.trigger("window.copy"):t==It.KEYCODE.X&&w.keys.ctrlKey(e)&&w.events.trigger("window.cut")}),w.events.$on(_(w.o_win),"keydown",function(e){var t=e.which;if(y&&t==It.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),w.events.$on(w.$win,"keydown",function(e){var t=e.which;y&&y.hasClass("fr-uploading")&&t==It.KEYCODE.ESC&&y.trigger("abortUpload")}),w.events.on("destroy",function(){y&&y.hasClass("fr-uploading")&&y.trigger("abortUpload")}),w.events.on("paste.before",at),w.events.on("paste.beforeCleanup",nt),w.events.on("paste.after",et),w.events.on("html.processGet",Je),w.opts.imageOutputSize&&w.events.on("html.beforeGet",function(){n=w.el.querySelectorAll("img");for(var e=0;e \n '.concat(w.button.buildList(w.opts.imageEditButtons),"\n ")};return w.popups.create("image.edit",a)}return!1}(!0),We(!0),qe(!0),Ge(!0),w.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return Xe(e),!1}),w.events.on("popups.hide.filesManager.insert",function(e){w.filesManager.minimizePopup(S)})},showInsertPopup:E,showLayer:function ut(e){var t,a,n=w.popups.get("filesManager.insert");if(y||w.opts.toolbarInline){if(y){var i=dt();ft()&&(i=i.find(".fr-img-wrap")),a=i.offset().top+i.outerHeight(),t=i.offset().left}}else{var r=w.$tb.find('.fr-command[data-cmd="insertFiles"]');t=r.offset().left,a=r.offset().top+(w.opts.toolbarBottom?10:r.outerHeight()-10)}!y&&w.opts.toolbarInline&&(a=n.offset().top-w.helpers.getPX(n.css("margin-top")),n.hasClass("fr-above")&&(a+=n.outerHeight())),n.find(".fr-layer").removeClass("fr-active"),n.find(".fr-".concat(e,"-layer")).addClass("fr-active"),n.find(".fr-upload-progress-layer").addClass("fr-active"),w.popups.show("filesManager.insert",t,a,y?y.outerHeight():0),w.accessibility.focusPopup(n)},refreshUploadButton:function gt(e){var t=w.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function ht(e){var t=w.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:Fe,insertByURL:function mt(){for(var e,t=w.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),a=t.val().trim().split(/[ ,]+/),n=[],i=0,r=0;r

     

    '),e.wrap(''),y.after('").concat(It.START_MARKER).concat(w.language.translate("Image Caption")).concat(It.END_MARKER,"")),y.removeAttr("class").removeAttr("style").removeAttr("width"),y.parents(".fr-img-caption").css("width",s),it(!0),w.selection.restore()}else e=dt(),y.insertAfter(e),y.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),Ce(y)},refreshEmbedButton:function Tt(e){var t=w.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function Ct(e){void 0===e&&(e=w.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0===e.length||!It.VIDEO_EMBED_REGEX.test(e)&&!It.IMAGE_EMBED_REGEX.test(e)?(te(w.language.translate("Something went wrong. Please try again.")),It.VIDEO_EMBED_REGEX.test(e)&&w.events.trigger("video.codeError",[e])):xe(e)},hasCaption:ft,exitEdit:it,edit:Ce,cancelFileInsert:function Rt(){this.file_manager_dialog_open=!1,C.forEach(function(e,t){4!=e.readyState&&(e.abort(),X(t))});var e=w.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),r=0,C=new Map,R=new Map,Q(),w.popups.hide("filesManager.insert")},minimizePopup:function wt(e){this.file_manager_dialog_open=!1,w.popups.hide("filesManager.insert"),Q()},editImage:_e,saveImage:function St(e){var t=I.get(o);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),I.set(o,t)},_showErrorMessage:te,_showFileErrorMessage:ae,getFileThumbnail:be,deleteFile:X,checkAutoplay:Me,checkInsertAllState:j,_disableInsertCheckbox:V,_getFileType:Le,isChildWindowOpen:function _t(){return p},setChildWindowState:function Lt(e){e!==undefined&&(p=e)},resetAllFilesCheckbox:Q}},It.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),It.RegisterShortcut(It.KEYCODE.P,"insertFiles",null,"P"),It.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),It.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),It.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),It.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),It.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),It.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),It.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),It.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),It.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),It.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),It.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),It.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),It.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),It.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),It.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),It.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),It.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),It.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),It.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),It.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),It.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}}),It.PLUGINS.cryptoJSPlugin=function(e){var t,d,a,n,i,r,o,f,s,l,c,p,u,g,h,v,m,b,E,A,y,T,C,R,w,S,_,L,I,x,k,O,F,D,M,B,N,P,U,H,W,K,$,z,G,Y,V,q,j,X,Q,J,Z,ee,te,ae,ne,ie,re,oe,se,le,ce,de,fe,pe,ue,ge,he,me,ve=ve||function(d,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&"undefined"!=typeof global&&global.crypto&&(t=global.crypto),!t&&"function"==typeof require)try{t=require("crypto")}catch(h){}var n=function n(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(h){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(h){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function a(){}return function(e){var t;return a.prototype=e,t=new a,a.prototype=null,t}}(),i={},r=i.lib={},o=r.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},f=r.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,a=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var r=0;r>>2]>>>24-r%4*8&255;t[n+r>>>2]|=o<<24-(n+r)%4*8}else for(r=0;r>>2]=a[r>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=d.ceil(t/4)},clone:function e(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],a=0;a>>2]>>>24-i%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new f.init(a,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],i=0;i>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new f.init(a,t)}},p=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,a=this._data,n=a.words,i=a.sigBytes,r=this.blockSize,o=i/(4*r),s=(o=e?d.ceil(o):d.max((0|o)-this._minBufferSize,0))*r,l=d.min(4*s,i);if(s){for(var c=0;c>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,a=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-r%4*2,l=o|s;n[i>>>2]|=l<<24-i%4*8,i++}return d.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(d){var e=ve,t=e.lib,a=t.WordArray,n=t.Hasher,i=e.algo,S=[];!function(){for(var e=0;e<64;e++)S[e]=4294967296*d.abs(d.sin(e+1))|0}();var r=i.MD5=n.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var n=t+a,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r=this._hash.words,o=e[t+0],s=e[t+1],l=e[t+2],c=e[t+3],d=e[t+4],f=e[t+5],p=e[t+6],u=e[t+7],g=e[t+8],h=e[t+9],m=e[t+10],v=e[t+11],b=e[t+12],E=e[t+13],A=e[t+14],y=e[t+15],T=r[0],C=r[1],R=r[2],w=r[3];C=x(C=x(C=x(C=x(C=I(C=I(C=I(C=I(C=L(C=L(C=L(C=L(C=_(C=_(C=_(C=_(C,R=_(R,w=_(w,T=_(T,C,R,w,o,7,S[0]),C,R,s,12,S[1]),T,C,l,17,S[2]),w,T,c,22,S[3]),R=_(R,w=_(w,T=_(T,C,R,w,d,7,S[4]),C,R,f,12,S[5]),T,C,p,17,S[6]),w,T,u,22,S[7]),R=_(R,w=_(w,T=_(T,C,R,w,g,7,S[8]),C,R,h,12,S[9]),T,C,m,17,S[10]),w,T,v,22,S[11]),R=_(R,w=_(w,T=_(T,C,R,w,b,7,S[12]),C,R,E,12,S[13]),T,C,A,17,S[14]),w,T,y,22,S[15]),R=L(R,w=L(w,T=L(T,C,R,w,s,5,S[16]),C,R,p,9,S[17]),T,C,v,14,S[18]),w,T,o,20,S[19]),R=L(R,w=L(w,T=L(T,C,R,w,f,5,S[20]),C,R,m,9,S[21]),T,C,y,14,S[22]),w,T,d,20,S[23]),R=L(R,w=L(w,T=L(T,C,R,w,h,5,S[24]),C,R,A,9,S[25]),T,C,c,14,S[26]),w,T,g,20,S[27]),R=L(R,w=L(w,T=L(T,C,R,w,E,5,S[28]),C,R,l,9,S[29]),T,C,u,14,S[30]),w,T,b,20,S[31]),R=I(R,w=I(w,T=I(T,C,R,w,f,4,S[32]),C,R,g,11,S[33]),T,C,v,16,S[34]),w,T,A,23,S[35]),R=I(R,w=I(w,T=I(T,C,R,w,s,4,S[36]),C,R,d,11,S[37]),T,C,u,16,S[38]),w,T,m,23,S[39]),R=I(R,w=I(w,T=I(T,C,R,w,E,4,S[40]),C,R,o,11,S[41]),T,C,c,16,S[42]),w,T,p,23,S[43]),R=I(R,w=I(w,T=I(T,C,R,w,h,4,S[44]),C,R,b,11,S[45]),T,C,y,16,S[46]),w,T,l,23,S[47]),R=x(R,w=x(w,T=x(T,C,R,w,o,6,S[48]),C,R,u,10,S[49]),T,C,A,15,S[50]),w,T,f,21,S[51]),R=x(R,w=x(w,T=x(T,C,R,w,b,6,S[52]),C,R,c,10,S[53]),T,C,m,15,S[54]),w,T,s,21,S[55]),R=x(R,w=x(w,T=x(T,C,R,w,g,6,S[56]),C,R,y,10,S[57]),T,C,p,15,S[58]),w,T,E,21,S[59]),R=x(R,w=x(w,T=x(T,C,R,w,d,6,S[60]),C,R,v,10,S[61]),T,C,l,15,S[62]),w,T,h,21,S[63]),r[0]=r[0]+T|0,r[1]=r[1]+C|0,r[2]=r[2]+R|0,r[3]=r[3]+w|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32;var i=d.floor(a/4294967296),r=a;t[15+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,s=o.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function e(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});function _(e,t,a,n,i,r,o){var s=e+(t&a|~t&n)+i+o;return(s<>>32-r)+t}function L(e,t,a,n,i,r,o){var s=e+(t&n|a&~n)+i+o;return(s<>>32-r)+t}function I(e,t,a,n,i,r,o){var s=e+(t^a^n)+i+o;return(s<>>32-r)+t}function x(e,t,a,n,i,r,o){var s=e+(a^(t|~n))+i+o;return(s<>>32-r)+t}e.MD5=n._createHelper(r),e.HmacMD5=n._createHmacHelper(r)}(Math),n=(a=ve).lib,i=n.WordArray,r=n.Hasher,o=a.algo,f=[],s=o.SHA1=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],i=a[1],r=a[2],o=a[3],s=a[4],l=0;l<80;l++){if(l<16)f[l]=0|e[t+l];else{var c=f[l-3]^f[l-8]^f[l-14]^f[l-16];f[l]=c<<1|c>>>31}var d=(n<<5|n>>>27)+s+f[l];d+=l<20?1518500249+(i&r|~i&o):l<40?1859775393+(i^r^o):l<60?(i&r|i&o|r&o)-1894007588:(i^r^o)-899497514,s=o,o=r,r=i<<30|i>>>2,i=n,n=d}a[0]=a[0]+n|0,a[1]=a[1]+i|0,a[2]=a[2]+r|0,a[3]=a[3]+o|0,a[4]=a[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(a/4294967296),t[15+(n+64>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),a.SHA1=r._createHelper(s),a.HmacSHA1=r._createHmacHelper(s),function(i){var e=ve,t=e.lib,a=t.WordArray,n=t.Hasher,r=e.algo,o=[],E=[];!function(){function e(e){for(var t=i.sqrt(e),a=2;a<=t;a++)if(!(e%a))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var a=2,n=0;n<64;)e(a)&&(n<8&&(o[n]=t(i.pow(a,.5))),E[n]=t(i.pow(a,1/3)),n++),a++}();var A=[],s=r.SHA256=n.extend({_doReset:function(){this._hash=new a.init(o.slice(0))},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],i=a[1],r=a[2],o=a[3],s=a[4],l=a[5],c=a[6],d=a[7],f=0;f<64;f++){if(f<16)A[f]=0|e[t+f];else{var p=A[f-15],u=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=A[f-2],h=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;A[f]=u+A[f-7]+h+A[f-16]}var m=n&i^n&r^i&r,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),b=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&c)+E[f]+A[f];d=c,c=l,l=s,s=o+b|0,o=r,r=i,i=n,n=b+(v+m)|0}a[0]=a[0]+n|0,a[1]=a[1]+i|0,a[2]=a[2]+r|0,a[3]=a[3]+o|0,a[4]=a[4]+s|0,a[5]=a[5]+l|0,a[6]=a[6]+c|0,a[7]=a[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=i.floor(a/4294967296),t[15+(n+64>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=n._createHelper(s),e.HmacSHA256=n._createHmacHelper(s)}(Math),function(){var e=ve,i=e.lib.WordArray,t=e.enc;t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>1]|=e.charCodeAt(n)<<16-n%2*16;return i.create(a,2*t)}};function o(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16LE={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>1]|=o(e.charCodeAt(n)<<16-n%2*16);return i.create(a,2*t)}}}(),function(){if("function"==typeof ArrayBuffer){var e=ve.lib.WordArray,i=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,a=[],n=0;n>>2]|=e[n]<<24-n%4*8;i.call(this,a,t)}else i.apply(this,arguments)}).prototype=e}}(),function(e){var t=ve,a=t.lib,n=a.WordArray,i=a.Hasher,r=t.algo,C=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),R=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),w=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),S=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),_=n.create([0,1518500249,1859775393,2400959708,2840853838]),L=n.create([1352829926,1548603684,1836072691,2053994217,0]),o=r.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var n=t+a,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r,o,s,l,c,d,f,p,u,g,h,m=this._hash.words,v=_.words,b=L.words,E=C.words,A=R.words,y=w.words,T=S.words;d=r=m[0],f=o=m[1],p=s=m[2],u=l=m[3],g=c=m[4];for(a=0;a<80;a+=1)h=r+e[t+E[a]]|0,h+=a<16?I(o,s,l)+v[0]:a<32?x(o,s,l)+v[1]:a<48?k(o,s,l)+v[2]:a<64?O(o,s,l)+v[3]:F(o,s,l)+v[4],h=(h=D(h|=0,y[a]))+c|0,r=c,c=l,l=D(s,10),s=o,o=h,h=d+e[t+A[a]]|0,h+=a<16?F(f,p,u)+b[0]:a<32?O(f,p,u)+b[1]:a<48?k(f,p,u)+b[2]:a<64?x(f,p,u)+b[3]:I(f,p,u)+b[4],h=(h=D(h|=0,T[a]))+g|0,d=g,g=u,u=D(p,10),p=f,f=h;h=m[1]+s+u|0,m[1]=m[2]+l+g|0,m[2]=m[3]+c+d|0,m[3]=m[4]+r+f|0,m[4]=m[0]+o+p|0,m[0]=h},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,r=i.words,o=0;o<5;o++){var s=r[o];r[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function e(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function I(e,t,a){return e^t^a}function x(e,t,a){return e&t|~e&a}function k(e,t,a){return(e|~t)^a}function O(e,t,a){return e&a|t&~a}function F(e,t,a){return e^(t|~a)}function D(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(o),t.HmacRIPEMD160=i._createHmacHelper(o)}(Math),c=(l=ve).lib.Base,p=l.enc.Utf8,l.algo.HMAC=c.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=p.parse(t));var a=e.blockSize,n=4*a;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),r=this._iKey=t.clone(),o=i.words,s=r.words,l=0;l>>24)|4278255360&(r<<24|r>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(R=a[i]).high^=o,R.low^=r}for(var s=0;s<24;s++){for(var l=0;l<5;l++){for(var c=0,d=0,f=0;f<5;f++){c^=(R=a[l+5*f]).high,d^=R.low}var p=O[l];p.high=c,p.low=d}for(l=0;l<5;l++){var u=O[(l+4)%5],g=O[(l+1)%5],h=g.high,m=g.low;for(c=u.high^(h<<1|m>>>31),d=u.low^(m<<1|h>>>31),f=0;f<5;f++){(R=a[l+5*f]).high^=c,R.low^=d}}for(var v=1;v<25;v++){var b=(R=a[v]).high,E=R.low,A=I[v];d=A<32?(c=b<>>32-A,E<>>32-A):(c=E<>>64-A,b<>>64-A);var y=O[x[v]];y.high=c,y.low=d}var T=O[0],C=a[0];T.high=C.high,T.low=C.low;for(l=0;l<5;l++)for(f=0;f<5;f++){var R=a[v=l+5*f],w=O[v],S=O[(l+1)%5+5*f],_=O[(l+2)%5+5*f];R.high=w.high^~S.high&_.high,R.low=w.low^~S.low&_.low}R=a[0];var L=k[s];R.high^=L.high,R.low^=L.low}},_doFinalize:function(){var e=this._data,t=e.words,a=(this._nDataBytes,8*e.sigBytes),n=32*this.blockSize;t[a>>>5]|=1<<24-a%32,t[(p.ceil((a+1)/n)*n>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var i=this._state,r=this.cfg.outputLength/8,o=r/8,s=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),s.push(f),s.push(d)}return new u.init(s,r)},clone:function e(){for(var e=n.clone.call(this),t=e._state=this._state.slice(0),a=0;a<25;a++)t[a]=t[a].clone();return e}});e.SHA3=n._createHelper(i),e.HmacSHA3=n._createHmacHelper(i)}(Math),function(){var e=ve,t=e.lib.Hasher,a=e.x64,n=a.Word,i=a.WordArray,r=e.algo;function o(){return n.create.apply(n,arguments)}var Ce=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],Re=[];!function(){for(var e=0;e<80;e++)Re[e]=o()}();var s=r.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],i=a[1],r=a[2],o=a[3],s=a[4],l=a[5],c=a[6],d=a[7],f=n.high,p=n.low,u=i.high,g=i.low,h=r.high,m=r.low,v=o.high,b=o.low,E=s.high,A=s.low,y=l.high,T=l.low,C=c.high,R=c.low,w=d.high,S=d.low,_=f,L=p,I=u,x=g,k=h,O=m,F=v,D=b,M=E,B=A,N=y,P=T,U=C,H=R,W=w,K=S,$=0;$<80;$++){var z,G,Y=Re[$];if($<16)G=Y.high=0|e[t+2*$],z=Y.low=0|e[t+2*$+1];else{var V=Re[$-15],q=V.high,j=V.low,X=(q>>>1|j<<31)^(q>>>8|j<<24)^q>>>7,Q=(j>>>1|q<<31)^(j>>>8|q<<24)^(j>>>7|q<<25),J=Re[$-2],Z=J.high,ee=J.low,te=(Z>>>19|ee<<13)^(Z<<3|ee>>>29)^Z>>>6,ae=(ee>>>19|Z<<13)^(ee<<3|Z>>>29)^(ee>>>6|Z<<26),ne=Re[$-7],ie=ne.high,re=ne.low,oe=Re[$-16],se=oe.high,le=oe.low;G=(G=(G=X+ie+((z=Q+re)>>>0>>0?1:0))+te+((z+=ae)>>>0>>0?1:0))+se+((z+=le)>>>0>>0?1:0),Y.high=G,Y.low=z}var ce,de=M&N^~M&U,fe=B&P^~B&H,pe=_&I^_&k^I&k,ue=L&x^L&O^x&O,ge=(_>>>28|L<<4)^(_<<30|L>>>2)^(_<<25|L>>>7),he=(L>>>28|_<<4)^(L<<30|_>>>2)^(L<<25|_>>>7),me=(M>>>14|B<<18)^(M>>>18|B<<14)^(M<<23|B>>>9),ve=(B>>>14|M<<18)^(B>>>18|M<<14)^(B<<23|M>>>9),be=Ce[$],Ee=be.high,Ae=be.low,ye=W+me+((ce=K+ve)>>>0>>0?1:0),Te=he+ue;W=U,K=H,U=N,H=P,N=M,P=B,M=F+(ye=(ye=(ye=ye+de+((ce=ce+fe)>>>0>>0?1:0))+Ee+((ce=ce+Ae)>>>0>>0?1:0))+G+((ce=ce+z)>>>0>>0?1:0))+((B=D+ce|0)>>>0>>0?1:0)|0,F=k,D=O,k=I,O=x,I=_,x=L,_=ye+(ge+pe+(Te>>>0>>0?1:0))+((L=ce+Te|0)>>>0>>0?1:0)|0}p=n.low=p+L,n.high=f+_+(p>>>0>>0?1:0),g=i.low=g+x,i.high=u+I+(g>>>0>>0?1:0),m=r.low=m+O,r.high=h+k+(m>>>0>>0?1:0),b=o.low=b+D,o.high=v+F+(b>>>0>>0?1:0),A=s.low=A+B,s.high=E+M+(A>>>0>>0?1:0),T=l.low=T+P,l.high=y+N+(T>>>0

    >>0?1:0),R=c.low=R+H,c.high=C+U+(R>>>0>>0?1:0),S=d.low=S+K,d.high=w+W+(S>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(a/4294967296),t[31+(n+128>>>10<<5)]=a,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function e(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(s),e.HmacSHA512=t._createHmacHelper(s)}(),U=(P=ve).x64,H=U.Word,W=U.WordArray,K=P.algo,$=K.SHA512,z=K.SHA384=$.extend({_doReset:function(){this._hash=new W.init([new H.init(3418070365,3238371032),new H.init(1654270250,914150663),new H.init(2438529370,812702999),new H.init(355462360,4144912697),new H.init(1731405415,4290775857),new H.init(2394180231,1750603025),new H.init(3675008525,1694076839),new H.init(1203062813,3204075428)])},_doFinalize:function(){var e=$._doFinalize.call(this);return e.sigBytes-=16,e}}),P.SHA384=$._createHelper(z),P.HmacSHA384=$._createHmacHelper(z),ve.lib.Cipher||(Y=(G=ve).lib,V=Y.Base,q=Y.WordArray,j=Y.BufferedBlockAlgorithm,(X=G.enc).Utf8,Q=X.Base64,J=G.algo.EvpKDF,Z=Y.Cipher=j.extend({cfg:V.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,a){this.cfg=this.cfg.extend(a),this._xformMode=e,this._key=t,this.reset()},reset:function(){j.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function i(e){return"string"==typeof e?le:oe}return function(n){return{encrypt:function(e,t,a){return i(t).encrypt(n,e,t,a)},decrypt:function(e,t,a){return i(t).decrypt(n,e,t,a)}}}}()}),Y.StreamCipher=Z.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),ee=G.mode={},te=Y.BlockCipherMode=V.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),ae=ee.CBC=function(){var e=te.extend();function r(e,t,a){var n,i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(var r=0;r>>2];e.sigBytes-=t}},Y.BlockCipher=Z.extend({cfg:Z.cfg.extend({mode:ae,padding:ne}),reset:function(){var e;Z.reset.call(this);var t=this.cfg,a=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,a&&a.words):(this._mode=e.call(n,this,a&&a.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),ie=Y.CipherParams=V.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),re=(G.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,a=e.salt;return(a?q.create([1398893684,1701076831]).concat(a).concat(t):t).toString(Q)},parse:function(e){var t,a=Q.parse(e),n=a.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=q.create(n.slice(2,4)),n.splice(0,4),a.sigBytes-=16),ie.create({ciphertext:a,salt:t})}},oe=Y.SerializableCipher=V.extend({cfg:V.extend({format:re}),encrypt:function(e,t,a,n){n=this.cfg.extend(n);var i=e.createEncryptor(a,n),r=i.finalize(t),o=i.cfg;return ie.create({ciphertext:r,key:a,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,a,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(a,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),se=(G.kdf={}).OpenSSL={execute:function(e,t,a,n){n||(n=q.random(8));var i=J.create({keySize:t+a}).compute(e,n),r=q.create(i.words.slice(t),4*a);return i.sigBytes=4*t,ie.create({key:i,iv:r,salt:n})}},le=Y.PasswordBasedCipher=oe.extend({cfg:oe.cfg.extend({kdf:se}),encrypt:function(e,t,a,n){var i=(n=this.cfg.extend(n)).kdf.execute(a,e.keySize,e.ivSize);n.iv=i.iv;var r=oe.encrypt.call(this,e,t,i.key,n);return r.mixIn(i),r},decrypt:function(e,t,a,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(a,e.keySize,e.ivSize,t.salt);return n.iv=i.iv,oe.decrypt.call(this,e,t,i.key,n)}})),ve.mode.CFB=function(){var e=ve.lib.BlockCipherMode.extend();function r(e,t,a,n){var i,r=this._iv;r?(i=r.slice(0),this._iv=undefined):i=this._prevBlock,n.encryptBlock(i,0);for(var o=0;o>>2]|=i<<24-r%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso10126={pad:function(e,t){var a=4*t,n=a-e.sigBytes%a;e.concat(ve.lib.WordArray.random(n-1)).concat(ve.lib.WordArray.create([n<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso97971={pad:function(e,t){e.concat(ve.lib.WordArray.create([2147483648],1)),ve.pad.ZeroPadding.pad(e,t)},unpad:function(e){ve.pad.ZeroPadding.unpad(e),e.sigBytes--}},ve.mode.OFB=(de=ve.lib.BlockCipherMode.extend(),fe=de.Encryptor=de.extend({processBlock:function(e,t){var a=this._cipher,n=a.blockSize,i=this._iv,r=this._keystream;i&&(r=this._keystream=i.slice(0),this._iv=undefined),a.encryptBlock(r,0);for(var o=0;o>>8^255&i^99,c[a]=i;var r=e[d[i]=a],o=e[r],s=e[o],l=257*e[i]^16843008*i;f[a]=l<<24|l>>>8,p[a]=l<<16|l>>>16,u[a]=l<<8|l>>>24,g[a]=l;l=16843009*s^65537*o^257*r^16843008*a;h[i]=l<<24|l>>>8,m[i]=l<<16|l>>>16,v[i]=l<<8|l>>>24,b[i]=l,a?(a=r^e[e[e[s^r]]],n^=e[e[n]]):a=n=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],n=a.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,a=e.sigBytes/4,n=4*((this._nRounds=a+6)+1),i=this._keySchedule=[],r=0;r>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]):(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=E[r/a|0]<<24),i[r]=i[r-a]^l);for(var o=this._invKeySchedule=[],s=0;s>>24]]^m[c[l>>>16&255]]^v[c[l>>>8&255]]^b[c[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,f,p,u,g,c)},decryptBlock:function(e,t){var a=e[t+1];e[t+1]=e[t+3],e[t+3]=a,this._doCryptBlock(e,t,this._invKeySchedule,h,m,v,b,d);a=e[t+1];e[t+1]=e[t+3],e[t+3]=a},_doCryptBlock:function(e,t,a,n,i,r,o,s){for(var l=this._nRounds,c=e[t]^a[0],d=e[t+1]^a[1],f=e[t+2]^a[2],p=e[t+3]^a[3],u=4,g=1;g>>24]^i[d>>>16&255]^r[f>>>8&255]^o[255&p]^a[u++],m=n[d>>>24]^i[f>>>16&255]^r[p>>>8&255]^o[255&c]^a[u++],v=n[f>>>24]^i[p>>>16&255]^r[c>>>8&255]^o[255&d]^a[u++],b=n[p>>>24]^i[c>>>16&255]^r[d>>>8&255]^o[255&f]^a[u++];c=h,d=m,f=v,p=b}h=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^a[u++],m=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^a[u++],v=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^a[u++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^a[u++];e[t]=h,e[t+1]=m,e[t+2]=v,e[t+3]=b},keySize:8});e.AES=t._createHelper(n)}(),function(){var e=ve,t=e.lib,i=t.WordArray,a=t.BlockCipher,n=e.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],d=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=n.DES=a.extend({_doReset:function(){for(var e=this._key.words,t=[],a=0;a<56;a++){var n=c[a]-1;t[a]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],r=0;r<16;r++){var o=i[r]=[],s=f[r];for(a=0;a<24;a++)o[a/6|0]|=t[(d[a]-1+s)%28]<<31-a%6,o[4+(a/6|0)]|=t[28+(d[a+24]-1+s)%28]<<31-a%6;o[0]=o[0]<<1|o[0]>>>31;for(a=1;a<7;a++)o[a]=o[a]>>>4*(a-1)+3;o[7]=o[7]<<5|o[7]>>>27}var l=this._invSubKeys=[];for(a=0;a<16;a++)l[a]=i[15-a]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,a){this._lBlock=e[t],this._rBlock=e[t+1],g.call(this,4,252645135),g.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),g.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=a[n],r=this._lBlock,o=this._rBlock,s=0,l=0;l<8;l++)s|=p[l][((o^i[l])&u[l])>>>0];this._lBlock=o,this._rBlock=r^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,g.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function g(e,t){var a=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=a,this._lBlock^=a<>>e^this._lBlock)&t;this._lBlock^=a,this._rBlock^=a<192.");var t=e.slice(0,2),a=e.length<4?e.slice(0,2):e.slice(2,4),n=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=r.createEncryptor(i.create(t)),this._des2=r.createEncryptor(i.create(a)),this._des3=r.createEncryptor(i.create(n))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=a._createHelper(o)}(),function(){var e=ve,t=e.lib.StreamCipher,a=e.algo,n=a.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,a=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var r=0;i<256;i++){var o=i%a,s=t[o>>>2]>>>24-o%4*8&255;r=(r+n[i]+s)%256;var l=n[i];n[i]=n[r],n[r]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,a=this._j,n=0,i=0;i<4;i++){a=(a+e[t=(t+1)%256])%256;var r=e[t];e[t]=e[a],e[a]=r,n|=e[(e[t]+e[a])%256]<<24-8*i}return this._i=t,this._j=a,n}e.RC4=t._createHelper(n);var r=a.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var e=this.cfg.drop;0>24&255)){var t=e>>16&255,a=e>>8&255,n=255&e;255===t?(t=0,255===a?(a=0,255===n?n=0:++n):++a):++t,e=0,e+=t<<16,e+=a<<8,e+=n}else e+=1<<24;return e}var t=e.Encryptor=e.extend({processBlock:function(e,t){var a=this._cipher,n=a.blockSize,i=this._iv,r=this._counter;i&&(r=this._counter=i.slice(0),this._iv=undefined),function l(e){return 0===(e[0]=c(e[0]))&&(e[1]=c(e[1])),e}(r);var o=r.slice(0);a.encryptBlock(o,0);for(var s=0;s>>24)|4278255360&(e[a]<<24|e[a]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(a=this._b=0;a<4;a++)p.call(this);for(a=0;a<8;a++)i[a]^=n[a+4&7];if(t){var r=t.words,o=r[0],s=r[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=f,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=f;for(a=0;a<4;a++)p.call(this)}},_doProcessBlock:function(e,t){var a=this._X;p.call(this),i[0]=a[0]^a[5]>>>16^a[3]<<16,i[1]=a[2]^a[7]>>>16^a[5]<<16,i[2]=a[4]^a[1]>>>16^a[7]<<16,i[3]=a[6]^a[3]>>>16^a[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,a=0;a<8;a++)l[a]=t[a];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(a=0;a<8;a++){var n=e[a]+t[a],i=65535&n,r=n>>>16,o=((i*i>>>17)+i*r>>>15)+r*r,s=((4294901760&n)*n|0)+((65535&n)*n|0);c[a]=o^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.Rabbit=t._createHelper(n)}(),ve.mode.CTR=(he=ve.lib.BlockCipherMode.extend(),me=he.Encryptor=he.extend({processBlock:function(e,t){var a=this._cipher,n=a.blockSize,i=this._iv,r=this._counter;i&&(r=this._counter=i.slice(0),this._iv=undefined);var o=r.slice(0);a.encryptBlock(o,0),r[n-1]=r[n-1]+1|0;for(var s=0;s>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],i=this._b=0;i<4;i++)p.call(this);for(i=0;i<8;i++)n[i]^=a[i+4&7];if(t){var r=t.words,o=r[0],s=r[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;n[0]^=l,n[1]^=d,n[2]^=c,n[3]^=f,n[4]^=l,n[5]^=d,n[6]^=c,n[7]^=f;for(i=0;i<4;i++)p.call(this)}},_doProcessBlock:function(e,t){var a=this._X;p.call(this),i[0]=a[0]^a[5]>>>16^a[3]<<16,i[1]=a[2]^a[7]>>>16^a[5]<<16,i[2]=a[4]^a[1]>>>16^a[7]<<16,i[3]=a[6]^a[3]>>>16^a[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,a=0;a<8;a++)l[a]=t[a];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(a=0;a<8;a++){var n=e[a]+t[a],i=65535&n,r=n>>>16,o=((i*i>>>17)+i*r>>>15)+r*r,s=((4294901760&n)*n|0)+((65535&n)*n|0);c[a]=o^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.RabbitLegacy=t._createHelper(n)}(),ve.pad.ZeroPadding={pad:function(e,t){var a=4*t;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){var t=e.words,a=e.sigBytes-1;for(a=e.sigBytes-1;0<=a;a--)if(t[a>>>2]>>>24-a%4*8&255){e.sigBytes=a+1;break}}},{init:function be(){},cryptoJS:ve}},Object.assign(It.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),It.PLUGINS.fontFamily=function(i){var r=i.$;function o(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return r(this).grep(t,function(e){return 0 span").text(i.opts.fontFamily[a()]||t[0]||i.language.translate(i.opts.fontFamilyDefaultSelection))}}}},It.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='

    "},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),It.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"}),Object.assign(It.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),It.PLUGINS.fontSize=function(n){var i=n.$;return{apply:function t(e){n.format.applyStyle("font-size",e)},refreshOnShow:function r(e,t){var a=i(n.selection.element()).css("font-size");"pt"===n.opts.fontSizeUnit&&(a="".concat(Math.round(72*parseFloat(a,10)/96),"pt")),t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(a,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function a(e){if(n.opts.fontSizeSelection){var t=n.helpers.getPX(i(n.selection.element()).css("font-size"));"pt"===n.opts.fontSizeUnit&&(t="".concat(Math.round(72*parseFloat(t,10)/96),"pt")),e.find("> span").text(t)}}}},It.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(e){return e.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(e){return e.opts.fontSizeDefaultSelection},html:function(){for(var e='"},callback:function(e,t){this.fontSize.apply(t)},refresh:function(e){this.fontSize.refresh(e)},refreshOnShow:function(e,t){this.fontSize.refreshOnShow(e,t)},plugin:"fontSize"}),It.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"}),Object.assign(It.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(It.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),It.PLUGINS.forms=function(o){var s,l=o.$;function t(e){o.selection.clear(),l(this).data("mousedown",!0)}function a(e){l(this).data("mousedown")&&(e.stopPropagation(),l(this).removeData("mousedown"),d(s=this)),e.preventDefault()}function n(){o.$el.find("input, textarea, button").removeData("mousedown")}function i(){l(this).removeData("mousedown")}function c(){return s||null}function d(e){if(-1==["checkbox","radio"].indexOf(e.type)){var t=o.popups.get("forms.edit");t||(t=function r(){var e="";0'.concat(o.button.buildList(o.opts.formEditButtons),""));var t={buttons:e},a=o.popups.create("forms.edit",t);return o.$wp&&o.events.$on(o.$wp,"scroll.link-edit",function(){c()&&o.popups.isVisible("forms.edit")&&d(c())}),a}());var a=l(s=e);o.popups.refresh("forms.edit"),o.popups.setContainer("forms.edit",o.$sc);var n=a.offset().left+a.outerWidth()/2,i=a.offset().top+a.outerHeight();o.popups.show("forms.edit",n,i,a.outerHeight())}}function r(){var e=o.popups.get("forms.update"),t=c();if(t){var a=l(t);a.is("button")?e.find('input[type="text"][name="text"]').val(a.text()):a.is("input[type=button]")||a.is("input[type=submit]")||a.is("input[type=reset]")?e.find('input[type="text"][name="text"]').val(a.val()):e.find('input[type="text"][name="text"]').val(a.attr("placeholder"))}e.find('input[type="text"][name="text"]').trigger("change")}function f(){s=null}function p(e){if(e)return o.popups.onRefresh("forms.update",r),o.popups.onHide("forms.update",f),!0;var t="";1<=o.opts.formUpdateButtons.length&&(t='
    '.concat(o.button.buildList(o.opts.formUpdateButtons),"
    "));var a=0,n={buttons:t,text_layer:'
    \n
    \n
    ")};return o.popups.create("forms.update",n)}return{_init:function u(){!function e(){o.events.$on(o.$el,o._mousedown,"input, textarea, button",t),o.events.$on(o.$el,o._mouseup,"input, textarea, button",a),o.events.$on(o.$el,"touchmove","input, textarea, button",i),o.events.$on(o.$el,o._mouseup,n),o.events.$on(o.$win,o._mouseup,n),p(!0)}(),o.events.$on(o.$el,"submit","form",function(e){return e.preventDefault(),!1})},updateInput:function g(){var e=o.popups.get("forms.update"),t=c();if(t){var a=l(t),n=e.find('input[type="text"][name="text"]').val()||"";a.is("button")?n.length?a.text(n):a.text("\u200b"):-1!=["button","submit","reset"].indexOf(t.type)?a.attr("value",n):a.attr("placeholder",n),o.popups.hide("forms.update"),d(t)}},getInput:c,applyStyle:function h(e,t,a){void 0===t&&(t=o.opts.formStyles),void 0===a&&(a=o.opts.formMultipleStyles);var n=c();if(!n)return!1;if(!a){var i=Object.keys(t);i.splice(i.indexOf(e),1),l(n).removeClass(i.join(" "))}l(n).toggleClass(e)},showUpdatePopup:function m(){var e=c();if(e){var t=l(e),a=o.popups.get("forms.update");a||(a=p()),o.popups.isVisible("forms.update")||o.popups.refresh("forms.update"),o.popups.setContainer("forms.update",o.$sc);var n=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();o.popups.show("forms.update",n,i,t.outerHeight())}},showEditPopup:d,back:function v(){o.events.disableBlur(),o.selection.restore(),o.events.enableBlur();var e=c();e&&o.$wp&&("BUTTON"===e.tagName&&o.selection.restore(),d(e))}}},It.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),It.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),It.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){var a=this.forms.getInput();a&&(this.forms.applyStyle(t),this.forms.showEditPopup(a))},refreshOnShow:function(e,t){var a=this.$,n=this.forms.getInput();if(n){var i=a(n);t.find(".fr-command").each(function(){var e=a(this).data("param1");a(this).toggleClass("fr-active",i.hasClass(e))})}}}),It.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),It.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),It.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),It.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),It.PLUGINS.fullscreen=function(i){var t,a,n,r,o=i.$,s=function s(){return i.$box.hasClass("fr-fullscreen")};function l(){if(i.helpers.isIOS()&&i.core.hasFocus())return i.$el.blur(),setTimeout(d,250),!1;t=i.helpers.scrollTop(),i.$box.toggleClass("fr-fullscreen"),o("body").first().toggleClass("fr-fullscreen"),i.helpers.isMobile()&&(i.$tb.data("parent",i.$tb.parent()),i.$box.prepend(i.$tb),i.$tb.data("sticky-dummy")&&i.$tb.after(i.$tb.data("sticky-dummy"))),a=i.opts.height,n=i.opts.heightMax,r=i.opts.z_index,i.opts.height=i.o_win.innerHeight-(i.opts.toolbarInline?0:i.$tb.outerHeight()+(i.$second_tb?i.$second_tb.outerHeight():0)),i.opts.zIndex=2147483641,i.opts.heightMax=null,i.size.refresh(),i.opts.toolbarInline&&i.toolbar.showInline();for(var e=i.$box.parent();!e.first().is("body");)e.addClass("fr-fullscreen-wrapper"),e=e.parent();i.opts.toolbarContainer&&i.$box.prepend(i.$tb),i.events.trigger("charCounter.update"),i.events.trigger("codeView.update"),i.$win.trigger("scroll")}function c(){if(i.helpers.isIOS()&&i.core.hasFocus())return i.$el.blur(),setTimeout(d,250),!1;i.$box.toggleClass("fr-fullscreen"),o("body").first().toggleClass("fr-fullscreen"),i.$tb.data("parent")&&i.$tb.data("parent").prepend(i.$tb),i.$tb.data("sticky-dummy")&&i.$tb.after(i.$tb.data("sticky-dummy")),i.opts.height=a,i.opts.heightMax=n,i.opts.zIndex=r,i.size.refresh(),o(i.o_win).scrollTop(t),i.opts.toolbarInline&&i.toolbar.showInline(),i.events.trigger("charCounter.update"),i.opts.toolbarSticky&&i.opts.toolbarStickyOffset&&(i.opts.toolbarBottom?i.$tb.css("bottom",i.opts.toolbarStickyOffset).data("bottom",i.opts.toolbarStickyOffset):i.$tb.css("top",i.opts.toolbarStickyOffset).data("top",i.opts.toolbarStickyOffset));for(var e=i.$box.parent();!e.first().is("body");)e.removeClass("fr-fullscreen-wrapper"),e=e.parent();i.opts.toolbarContainer&&o(i.opts.toolbarContainer).append(i.$tb),o(i.o_win).trigger("scroll"),i.events.trigger("codeView.update")}function d(){s()?c():l(),f(i.$tb.find('.fr-command[data-cmd="fullscreen"]'));var e=i.$tb.find('.fr-command[data-cmd="moreText"]'),t=i.$tb.find('.fr-command[data-cmd="moreParagraph"]'),a=i.$tb.find('.fr-command[data-cmd="moreRich"]'),n=i.$tb.find('.fr-command[data-cmd="moreMisc"]');e.length&&i.refresh.moreText(e),t.length&&i.refresh.moreParagraph(t),a.length&&i.refresh.moreRich(a),n.length&&i.refresh.moreMisc(n)}function f(e){var t=s();e.toggleClass("fr-active",t).attr("aria-pressed",t),e.find("> *").not(".fr-sr-only").replaceWith(t?i.icon.create("fullscreenCompress"):i.icon.create("fullscreen"))}return{_init:function e(){if(!i.$wp)return!1;i.events.$on(o(i.o_win),"resize",function(){s()&&(c(),l())}),i.events.on("toolbar.hide",function(){if(s()&&i.helpers.isMobile())return!1}),i.events.on("position.refresh",function(){if(i.helpers.isIOS())return!s()}),i.events.on("destroy",function(){s()&&c()},!0)},toggle:d,refresh:f,isActive:s}},It.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),It.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),It.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"}),Object.assign(It.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),It.PLUGINS.help=function(s){var n,i=s.$,r="help";return{_init:function e(){},show:function l(){if(!n){var e="

    ".concat(s.language.translate("Shortcuts"),"

    "),t=function o(){for(var e='
    ',t=0;t";n+="".concat(s.language.translate(a.title),""),n+="";for(var i=0;i",n+="".concat(s.language.translate(r.desc),""),n+="".concat(r.val.replace("OSkey",s.helpers.isMac()?"⌘":"Ctrl+"),""),n+=""}e+=n+=""}return e+="
    "}(),a=s.modals.create(r,e,t);n=a.$modal,s.events.$on(i(s.o_win),"resize",function(){s.modals.resize(r)})}s.modals.show(r),s.modals.resize(r)},hide:function t(){s.modals.hide(r)}}},It.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),It.RegisterShortcut(It.KEYCODE.SLASH,"help",null,"/"),It.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1}),Object.assign(It.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(It.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),It.PLUGINS.image=function(y){var T,l,c,d,s,a,C=y.$,R="https://i.froala.com/upload",t=!1,n=1,p=2,u=3,g=4,w=5,S=6,i={};function f(){var e=y.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),T&&e.val(T.attr("src")),e.trigger("change")}function r(){var e=y.popups.get("image.edit");if(e||(e=k()),e){var t=Ae();ye()&&(t=t.find(".fr-img-wrap")),y.popups.setContainer("image.edit",y.$sc),y.popups.refresh("image.edit");var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();T.hasClass("fr-uploading")?O():y.popups.show("image.edit",a,n,t.outerHeight(),!0)}}function h(){F()}function o(e){0"),B(T)),i=a,r=e.timeStamp}},!0),y.events.on("keyup",function(){n=1})}}(),!T)return!1;var e=y.$wp||y.$sc;e.append(l),l.data("instance",y);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),a=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);a-=y.helpers.getPX(e.css("border-left-width")),t-=y.helpers.getPX(e.css("border-top-width")),y.$el.is("img")&&y.$sc.is("body")&&(a=t=0);var n=Ae();ye()&&(n=n.find(".fr-img-wrap"));var i=0,r=0;y.opts.iframe&&(i=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-top")),r=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(y.opts.iframe?n.offset().top+i:n.offset().top+t)-1).css("left",(y.opts.iframe?n.offset().left+r:n.offset().left+a)-1).css("width",n.get(0).getBoundingClientRect().width).css("height",n.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'
    ')}function E(e){ye()?T.parents(".fr-img-caption").css("width",e):T.css("width",e)}function A(e){if(!y.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;y.undo.canDo()||y.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var a=y.$oel.get(0).ownerDocument,n=a.defaultView||a.parentWindow,i=!1;try{i=n.location!=n.parent.location&&!(n.$&&n.$.FE)}catch(s){}i&&n.frameElement&&(t+=y.helpers.getPX(C(n.frameElement).offset().left)+n.frameElement.clientLeft)}(c=C(this)).data("start-x",t),c.data("start-width",T.width()),c.data("start-height",T.height());var r=T.width();if(y.opts.imageResizeWithPercent){var o=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;r=(r/C(o).outerWidth()*100).toFixed(2)+"%"}E(r),d.show(),y.popups.hideAll(),ue()}function L(e){if(!y.core.sameInstance(l))return!0;var t;if(c&&T){if(e.preventDefault(),y.$el.find("img.fr-error").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var n=a-c.data("start-x"),i=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(n=0-n),y.opts.imageResizeWithPercent){var r=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;i=((i+n)/C(r).outerWidth()*100).toFixed(2),y.opts.imageRoundPercent&&(i=Math.round(i)),E("".concat(i,"%")),(t=ye()?(y.helpers.getPX(T.parents(".fr-img-caption").css("width"))/C(r).outerWidth()*100).toFixed(2):(y.helpers.getPX(T.css("width"))/C(r).outerWidth()*100).toFixed(2))===i||y.opts.imageRoundPercent||E("".concat(t,"%")),T.css("height","").removeAttr("height")}else i+n>=y.opts.imageMinWidth&&(E(i+n),t=ye()?y.helpers.getPX(T.parents(".fr-img-caption").css("width")):y.helpers.getPX(T.css("width"))),t!==i+n&&E(t),((T.attr("style")||"").match(/(^height:)|(; *height:)/)||T.attr("height"))&&(T.css("height",c.data("start-height")*T.width()/c.data("start-width")),T.removeAttr("height"));_(),y.events.trigger("image.resize",[Ee()])}}function I(e){if(!y.core.sameInstance(l))return!0;if(c&&T){if(e&&e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;c=null,d.hide(),_(),r(),y.undo.saveStep(),y.events.trigger("image.resizeEnd",[Ee()])}else l.removeClass("fr-active")}function x(e,t,a){y.edit.on(),T&&T.addClass("fr-error"),i[e]?M(y.language.translate(i[e])):M(y.language.translate("Something went wrong. Please try again.")),!T&&a&&te(a),y.events.trigger("image.error",[{code:e,message:i[e]},t,a])}function k(e){if(e)return y.$wp&&y.events.$on(y.$wp,"scroll.image-edit",function(){T&&y.popups.isVisible("image.edit")&&(y.events.disableBlur(),r())}),!0;var t="";if(0 \n '.concat(y.button.buildList(y.opts.imageEditButtons),"\n ")};return y.popups.create("image.edit",a)}return!1}function O(e){var t=y.popups.get("image.insert");if(t||(t=V()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),T){var a=Ae();y.popups.setContainer("image.insert",y.$sc);var n=a.offset().left,i=a.offset().top+a.height();y.popups.show("image.insert",n,i,a.outerHeight())}void 0===e&&D(y.language.translate("Uploading"),0)}function F(e){var t=y.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||y.$el.find("img.fr-error").length)){if(y.events.focus(),y.$el.find("img.fr-error").length&&(y.$el.find("img.fr-error").remove(),y.undo.saveStep(),y.undo.run(),y.undo.dropRedo()),!y.$wp&&T){var a=T;de(!0),y.selection.setAfter(a.get(0)),y.selection.restore()}y.popups.hide("image.insert")}}function D(e,t){var a=y.popups.get("image.insert");if(a){var n=a.find(".fr-image-progress-bar-layer");n.find("h3").text(e+(t?" ".concat(t,"%"):"")),n.removeClass("fr-error"),t?(n.find("div").removeClass("fr-indeterminate"),n.find("div > span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function M(e){O();var t=y.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),y.events.disableBlur(),a.focus()}function B(e){ce.call(e.get(0))}function N(){var e=C(this);y.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),B(e),y.events.trigger("image.loaded",[e])}function P(o,e,s,l,c){l&&"string"==typeof l&&(l=y.$(l)),y.edit.off(),D(y.language.translate("Loading image")),e&&(o=y.helpers.sanitizeURL(o));var t=new Image;t.onload=function(){var e,t;if(l){y.undo.canDo()||l.hasClass("fr-uploading")||y.undo.saveStep();var a=l.data("fr-old-src");l.data("fr-image-pasted")&&(a=null),y.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),a&&l.attr("src",a),l.replaceWith(e)):e=l;for(var n=e.get(0).attributes,i=0;iy.opts.imageMaxSize)return x(w),!1;if(y.opts.imageAllowedTypes.indexOf(n.type.replace(/image\//g,""))<0)return x(S),!1;if(y.drag_support.formdata&&(a=y.drag_support.formdata?new FormData:null),a){var i;if(!1!==y.opts.imageUploadToS3)for(i in a.append("key",y.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",n.type),y.opts.imageUploadToS3.params)y.opts.imageUploadToS3.params.hasOwnProperty(i)&&a.append(i,y.opts.imageUploadToS3.params[i]);for(i in y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(i)&&a.append(i,y.opts.imageUploadParams[i]);a.append(y.opts.imageUploadParam,n,n.name);var r,o,s=y.opts.imageUploadURL,l=y.opts.imageUploadMethod;y.opts.imageUploadToS3&&(s=y.opts.imageUploadToS3.uploadURL?y.opts.imageUploadToS3.uploadURL:"https://".concat(y.opts.imageUploadToS3.region,".amazonaws.com/").concat(y.opts.imageUploadToS3.bucket)),y.opts.imageUploadToAzure&&(r=s=y.opts.imageUploadToAzure.uploadURL?"".concat(y.opts.imageUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(y.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(y.opts.imageUploadToAzure.container,"/").concat(n.name)),y.opts.imageUploadToAzure.SASToken&&(s+=y.opts.imageUploadToAzure.SASToken),l="PUT");var c=y.core.getXHR(s,l);if(y.opts.imageUploadToAzure){var d=(new Date).toUTCString();if(!y.opts.imageUploadToAzure.SASToken&&y.opts.imageUploadToAzure.accessKey){var f=y.opts.imageUploadToAzure.account,p=y.opts.imageUploadToAzure.container;if(y.opts.imageUploadToAzure.uploadURL){var u=y.opts.imageUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var g="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+f+"/"+p+"/"+n.name),m=l+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+g+"\n"+h,v=y.cryptoJSPlugin.cryptoJS.HmacSHA256(m,y.cryptoJSPlugin.cryptoJS.enc.Base64.parse(y.opts.imageUploadToAzure.accessKey)).toString(y.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;o=v,c.setRequestHeader("Authorization",b)}for(i in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",n.type),c.setRequestHeader("x-ms-blob-type","BlockBlob"),y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(i)&&c.setRequestHeader(i,y.opts.imageUploadParams[i]);for(i in y.opts.imageUploadToAzure.params)y.opts.imageUploadToAzure.params.hasOwnProperty(i)&&c.setRequestHeader(i,y.opts.imageUploadToAzure.params[i])}!function A(t,a,n,i,r,o){function s(){var e=C(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),y.placeholder.refresh(),B(e),_(),O(),y.edit.off(),t.onload=function(){U.call(t,e,r,o)},t.onerror=H,t.upload.onprogress=W,t.onabort=$,C(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),i?(i.attr("src",i.data("fr-old-src")),i.removeClass("fr-uploading")):e.remove(),de(!0))}),t.send(y.opts.imageUploadToAzure?n:a)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),a=[],n=0;n'.concat(i,""));var r=y.opts.imageInsertButtons.indexOf("imageUpload"),o=y.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=r&&(t=" fr-active",0<=o&&o').concat(y.language.translate("Drop image"),"
    (").concat(y.language.translate("or click"),')
    '));var l="";0<=o&&(t=" fr-active",0<=r&&r
    "));var c={buttons:n,upload_layer:s,by_url_layer:l,progress_bar:'

    Uploading

    '};return 1<=y.opts.imageInsertButtons.length&&(a=y.popups.create("image.insert",c)),y.$wp&&y.events.$on(y.$wp,"scroll",function(){T&&y.popups.isVisible("image.insert")&&ve()}),function d(n){y.events.$on(n,"dragover dragenter",".fr-image-upload-layer",function(e){return C(this).addClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(n,"dragleave dragend",".fr-image-upload-layer",function(e){return C(this).removeClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(n,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),C(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=n.data("instance")||y;a.events.disableBlur(),a.image.upload(t.files),a.events.enableBlur()}},!0),y.helpers.isIOS()&&y.events.$on(n,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){C(this).trigger("click")},!0),y.events.$on(n,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||y;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,T)}C(this).val("")},!0)}(a),a}function q(){T&&y.popups.get("image.alt").find("input").val(T.attr("alt")||"").trigger("change")}function j(){var e=y.popups.get("image.alt");e||(e=X()),F(),y.popups.refresh("image.alt"),y.popups.setContainer("image.alt",y.$sc);var t=Ae();ye()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();y.popups.show("image.alt",a,n,t.outerHeight(),!0)}function X(e){if(e)return y.popups.onRefresh("image.alt",q),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageAltButtons),"
    "),alt_layer:'
    ")},a=y.popups.create("image.alt",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-alt",function(){T&&y.popups.isVisible("image.alt")&&j()}),a}function Q(){var e=y.popups.get("image.size"),t=T.get(0).style.height?T.get(0).style.height:"auto",a=T.get(0).style.width?T.get(0).style.width:"auto";if(T)if(ye()){var n=T.parent();n.get(0).style.width||(n=T.parent().parent()),e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function J(){var e=y.popups.get("image.size");e||(e=Z()),F(),y.popups.refresh("image.size"),y.popups.setContainer("image.size",y.$sc);var t=Ae();ye()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();y.popups.show("image.size",a,n,t.outerHeight(),!0)}function Z(e){if(e)return y.popups.onRefresh("image.size",Q),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageSizeButtons),"
    "),size_layer:'
    ")},a=y.popups.create("image.size",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-size",function(){T&&y.popups.isVisible("image.size")&&J()}),a}function ee(e,t,a,n){return e.pageX=t,A.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,n)),L.call(this,e),I.call(this,e),++n}function te(e){(e=e||Ae())&&!1!==y.events.trigger("image.beforeRemove",[e])&&(y.popups.hideAll(),be(),de(!0),y.undo.canDo()||y.undo.saveStep(),e.get(0)==y.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(y.selection.setBefore(e.get(0).parentNode)||y.selection.setAfter(e.get(0).parentNode)||e.parent().after(It.MARKERS),C(e.get(0).parentNode).remove()):(y.selection.setBefore(e.get(0))||y.selection.setAfter(e.get(0))||e.after(It.MARKERS),e.remove()),y.html.fillEmptyBlocks(),y.selection.restore()),y.undo.saveStep())}function ae(e){var t=e.which;if(T&&(t==It.KEYCODE.BACKSPACE||t==It.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(T&&t==It.KEYCODE.ESC){var a=T;return de(!0),y.selection.setAfter(a.get(0)),y.selection.restore(),e.preventDefault(),!1}if(!T||t!=It.KEYCODE.ARROW_LEFT&&t!=It.KEYCODE.ARROW_RIGHT)return T&&t===It.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),de(!0),!1):T&&t!=It.KEYCODE.F10&&!y.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var n=T.get(0);return de(!0),t==It.KEYCODE.ARROW_LEFT?y.selection.setBefore(n):y.selection.setAfter(n),y.selection.restore(),e.preventDefault(),!1}function ne(e){if(e&&"IMG"==e.tagName){if(y.node.hasClass(e,"fr-uploading")||y.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):y.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&y.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var a=e.nextSibling;a&&a.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var n=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),i=0;i"));var n=y.$el.find('img[data-fr-image-pasted="true"]');n&&ge(n,y.opts.imageDefaultDisplay,y.opts.imageDefaultAlign),y.events.trigger("paste.after")}function se(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var a=0;a"):C(y.node.blockParent(e.get(0))).after("<".concat(y.html.defaultTag(),">
    ")))})})(),"IMG"==y.el.tagName&&y.$el.addClass("fr-view"),y.events.$on(y.$el,y.helpers.isMobile()&&!y.helpers.isWindowsPhone()?"touchend":"click","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',ce),y.helpers.isMobile()&&(y.events.$on(y.$el,"touchstart","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',function(){a=!1}),y.events.$on(y.$el,"touchmove",function(){a=!0})),y.$wp?(y.events.on("window.keydown keydown",ae,!0),y.events.on("keyup",function(e){if(T&&e.which==It.KEYCODE.ENTER)return!1},!0),y.events.$on(y.$el,"keydown",function(){var e=y.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&y.node.isLastSibling(e))&&(e=e.parentNode),y.node.hasClass(e,"fr-inner")||(y.node.hasClass(e,"fr-img-caption")||(e=C(e).parents(".fr-img-caption").get(0)),y.node.hasClass(e,"fr-img-caption")&&(C(e).after(It.INVISIBLE_SPACE+It.MARKERS),y.selection.restore()))})):y.events.$on(y.$win,"keydown",ae),y.events.on("toolbar.esc",function(){if(T){if(y.$wp)y.events.disableBlur(),y.events.focus();else{var e=T;de(!0),y.selection.setAfter(e.get(0)),y.selection.restore()}return!1}},!0),y.events.on("toolbar.focusEditor",function(){if(T)return!1},!0),y.events.on("window.cut window.copy",function(e){if(T&&y.popups.isVisible("image.edit")&&!y.popups.get("image.edit").find(":focus").length){var t=Ae();ye()?(t.before(It.START_MARKER),t.after(It.END_MARKER),y.selection.restore(),y.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(be(),y.paste.saveCopiedText(T.get(0).outerHTML,T.attr("alt"))),"copy"==e.type?setTimeout(function(){B(T)}):(de(!0),y.undo.saveStep(),setTimeout(function(){y.undo.saveStep()},0))}},!0),y.browser.msie&&y.events.on("keydown",function(e){if(!y.selection.isCollapsed()||!T)return!0;var t=e.which;t==It.KEYCODE.C&&y.keys.ctrlKey(e)?y.events.trigger("window.copy"):t==It.KEYCODE.X&&y.keys.ctrlKey(e)&&y.events.trigger("window.cut")}),y.events.$on(C(y.o_win),"keydown",function(e){var t=e.which;if(T&&t==It.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),y.events.$on(y.$win,"keydown",function(e){var t=e.which;T&&T.hasClass("fr-uploading")&&t==It.KEYCODE.ESC&&T.trigger("abortUpload")}),y.events.on("destroy",function(){T&&T.hasClass("fr-uploading")&&T.trigger("abortUpload")}),y.events.on("paste.before",se),y.events.on("paste.beforeCleanup",le),y.events.on("paste.after",re),y.events.on("html.set",m),y.events.on("html.inserted",m),m(),y.events.on("destroy",function(){s=[]}),y.events.on("html.processGet",ne),y.opts.imageOutputSize&&y.events.on("html.beforeGet",function(){n=y.el.querySelectorAll("img");for(var e=0;e *").first().replaceWith(y.icon.create("image-align-".concat(he())))},refreshAlignOnShow:function ke(e,t){T&&t.find('.fr-command[data-param1="'.concat(he(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function Oe(e){var t=Ae();t.removeClass("fr-dii fr-dib"),!y.opts.htmlUntouched&&y.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):ge(t,e,he()),be(),_(),r(),y.selection.clear()},refreshDisplayOnShow:function Fe(e,t){T&&t.find('.fr-command[data-param1="'.concat(me(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ve,back:function e(){T?(y.events.disableBlur(),C(".fr-popup input:focus").blur(),B(T)):(y.events.disableBlur(),y.selection.restore(),y.events.enableBlur(),y.popups.hide("image.insert"),y.toolbar.showInline())},get:Ee,getEl:Ae,insert:P,showProgressBar:O,remove:te,hideProgressBar:F,applyStyle:function De(e,t,a){if(void 0===t&&(t=y.opts.imageStyles),void 0===a&&(a=y.opts.imageMultipleStyles),!T)return!1;var n=Ae();if(!a){var i=Object.keys(t);i.splice(i.indexOf(e),1),n.removeClass(i.join(" "))}"object"==xt(t[e])?(n.removeAttr("style"),n.css(t[e].style)):n.toggleClass(e),B(T)},showAltPopup:j,showSizePopup:J,setAlt:function Me(e){if(T){var t=y.popups.get("image.alt");T.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),B(T)}},setSize:function Be(e,t){if(T){var a=y.popups.get("image.size");e=e||a.find('input[name="width"]').val()||"",t=t||a.find('input[name="height"]').val()||"";var n=/^[\d]+((px)|%)*$/g;T.removeAttr("width").removeAttr("height"),e.match(n)?T.css("width",e):T.css("width",""),t.match(n)?T.css("height",t):T.css("height",""),ye()&&(T.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(n)?T.parents(".fr-img-caption").css("width",e):T.parents(".fr-img-caption").css("width",""),t.match(n)?T.parents(".fr-img-caption").css("height",t):T.parents(".fr-img-caption").css("height","")),a&&a.find("input:focus").blur(),B(T)}},toggleCaption:function Ne(){var e;if(T&&!ye()){(e=T).parent().is("a")&&(e=T.parent());var t,a,n=T.parents("ul")&&0

     

    '),e.wrap(''),T.after('").concat(It.START_MARKER).concat(y.language.translate("Image Caption")).concat(It.END_MARKER,"")),T.parents(".fr-img-caption").css("width",s),1').concat(this.icon.create("image-align-".concat(a)),'').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),It.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),It.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),It.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),It.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),It.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),It.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),It.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),It.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,n=this.image.getEl();n&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=n.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),It.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),It.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),It.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),It.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),It.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),It.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),It.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),It.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}}),Object.assign(It.DEFAULTS,{imageManagerLoadURL:"https://i.froala.com/load-files",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),It.PLUGINS.imageManager=function(s){var l,c,r,o,d,f,p,u,g,h,m,v=s.$,b="image_manager",e=10,E=11,A=12,y=13,T=14,C=15,a=21,n=22,i={};function R(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function w(){d.empty();for(var e=0;e')}function S(){if(gd.outerHeight()-r.outerHeight())){u++;for(var e=s.opts.imageManagerPageSize*(u-1);e').concat(e[t],""));a.attr("data-tag",e.join())}else 0===f.find('a[title="'.concat(i.tag.trim(),'"]')).length&&f.append('').concat(i.tag.trim(),"")),a.attr("data-tag",i.tag.trim());for(var n in i.name&&a.attr("alt",i.name),i)i.hasOwnProperty(n)&&"thumb"!==n&&"url"!==n&&"tag"!==n&&a.attr("data-".concat(n),i[n]);o.append(a).append(v(s.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",s.language.translate("Delete"))).append(v(s.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",s.language.translate("Insert"))),f.find(".fr-selected-tag").each(function(e,t){P(a,t.text)||o.hide()}),a.on("load",function(){o.removeClass("fr-empty"),o.height("auto"),g++,I(L(parseInt(a.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),x(!1),g%s.opts.imageManagerPageSize==0&&S()}),s.events.trigger("imageManager.imageLoaded",[a])},r.onerror=function(){g++,o.remove(),I(L(parseInt(o.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),D(e,i),g%s.opts.imageManagerPageSize==0&&S()},r.src=i.thumb||i.url,_().append(o)}function _(){var n,i;return d.find(".fr-list-column").each(function(e,t){var a=v(t);0===e?(i=a.outerHeight(),n=a):a.outerHeight() a").each(function(){0===l.find('#fr-image-list [data-tag*="'.concat(v(this).text(),'"]')).length&&v(this).removeClass("fr-selected-tag").hide()}),B()}(),x(!0)},fail:function(e){D(a,e.response||e.responseText)}})):D(n))}function D(e,t){10<=e&&e<20?o.hide():20<=e&&e<30&&v(".fr-image-deleting").removeClass("fr-image-deleting"),s.events.trigger("imageManager.error",[{code:e,message:i[e]},t])}function M(){var e=c.find(".fr-modal-head-line").outerHeight(),t=f.outerHeight();c.toggleClass("fr-show-tags"),c.hasClass("fr-show-tags")?(c.css("height",e+t),r.css("marginTop",e+t),f.find("a").css("opacity",1)):(c.css("height",e),r.css("marginTop",e),f.find("a").css("opacity",0))}function B(){var e=f.find(".fr-selected-tag");0

    ').concat(s.language.translate("Manage Images"),'

    \n
    ');e=s.opts.imageManagerPreloader?''):'"),e+='
    ';var a=s.modals.create(b,t,e);l=a.$modal,c=a.$head,r=a.$body}l.data("current-image",s.image.get()),s.modals.show(b),o||function n(){o=l.find("#fr-preloader"),d=l.find("#fr-image-list"),f=l.find("#fr-modal-tags"),m=R(),w(),c.css("height",c.find(".fr-modal-head-line").outerHeight()),s.events.$on(v(s.o_win),"resize",function(){x(!!p)}),s.events.bindClick(d,".fr-insert-img",O),s.events.bindClick(d,".fr-delete-img",F),s.helpers.isMobile()&&(s.events.bindClick(d,"div.fr-image-container",function(e){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),v(e.currentTarget).addClass("fr-mobile-selected")}),l.on(s._mousedown,function(){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),l.on(s._mousedown+" "+s._mouseup,function(e){e.stopPropagation()}),l.on(s._mousedown,"*",function(){s.events.disableBlur()}),r.on("scroll",S),s.events.bindClick(l,"button#fr-modal-more-".concat(s.sid),M),s.events.bindClick(f,"a",N)}(),function i(){o.show(),d.find(".fr-list-column").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,a){s.events.trigger("imageManager.imagesLoaded",[e]),function n(e,t){try{d.find(".fr-list-column").empty(),h=g=u=0,p=JSON.parse(e),S()}catch(a){D(y,t)}}(e,a.response),o.hide()},fail:function(e){D(E,e.response||e.responseText)}}):D(A)}()},hide:function W(){s.modals.hide(b)}}},!It.PLUGINS.image)throw new Error("Image manager plugin requires image plugin.");It.DEFAULTS.imageInsertButtons.push("imageManager"),It.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),It.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),It.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),It.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"}),Object.assign(It.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),It.PLUGINS.inlineClass=function(a){var n=a.$;return{apply:function t(e){a.format.toggle("span",{"class":e})},refreshOnShow:function i(e,t){t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.format.is("span",{"class":e});n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}},It.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var e='"},callback:function(e,t){this.inlineClass.apply(t)},refreshOnShow:function(e,t){this.inlineClass.refreshOnShow(e,t)},plugin:"inlineClass"}),It.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"}),Object.assign(It.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),It.PLUGINS.inlineStyle=function(i){return{apply:function r(e){for(var t=e.split(";"),a=0;a').concat(this.language.translate(a),"")}return e+=""},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),It.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"}),Object.assign(It.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),It.PLUGINS.lineBreaker=function(g){var h,t,i,m=g.$;function l(e,t){var a,n,i,r,o,s,l,c;if(null==e)o=(r=t.parent()).offset().top,a=(l=t.offset().top)-Math.min((l-o)/2,g.opts.lineBreakerOffset),i=r.outerWidth(),n=r.offset().left;else if(null==t)(s=(r=e.parent()).offset().top+r.outerHeight())<(c=e.offset().top+e.outerHeight())&&(s=(r=m(r).parent()).offset().top+r.outerHeight()),a=c+Math.min(Math.abs(s-c)/2,g.opts.lineBreakerOffset),i=r.outerWidth(),n=r.offset().left;else{r=e.parent();var d=e.offset().top+e.height(),f=t.offset().top;if(fg.$box.offset().left&&e").concat(It.MARKERS,"
    ")):n.before("".concat(It.MARKERS,"
    ")):i&&"TD"!=a.parent().get(0).tagName&&0===a.parents(i).length?a.after("<".concat(i,">").concat(It.MARKERS,"
    ")):a.after("".concat(It.MARKERS,"
    ")),t.selection.restore(),g.toolbar.enable()}return{_init:function v(){if(!g.$wp)return!1;!function e(){g.shared.$line_breaker||(g.shared.$line_breaker=m(document.createElement("div")).attr("class","fr-line-breaker").html(''))),h=g.shared.$line_breaker,g.events.on("shared.destroy",function(){h.html("").removeData().remove(),h=null},!0),g.events.on("destroy",function(){h.removeData("instance").removeClass("fr-visible"),m("body").first().append(h),clearTimeout(i)},!0),g.events.$on(h,"mousemove",function(e){e.stopPropagation()},!0),g.events.bindClick(h,"a",u)}(),t=!1,g.events.$on(g.$win,"mousemove",n),g.events.$on(m(g.win),"scroll",s),g.events.on("popups.show.table.edit",s),g.events.on("commands.after",s),g.events.$on(m(g.win),"mousedown",f),g.events.$on(m(g.win),"mouseup",p)}}},Object.assign(It.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),It.PLUGINS.lineHeight=function(n){var s=n.$;return{_init:function e(){},apply:function i(e){n.selection.save(),n.html.wrap(!0,!0,!0,!0),n.selection.restore();var t=n.selection.blocks();t.length&&s(t[0]).parent().is("td")&&n.format.applyStyle("line-height",e.toString()),n.selection.save();for(var a=0;a').concat(this.language.translate(a),""));return e+=""},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),It.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"}),Object.assign(It.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(It.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0}),It.PLUGINS.link=function(u){var g=u.$;function h(){var e=u.image?u.image.get():null;if(e||!u.$wp)return"A"==u.el.tagName?u.el:e&&e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=u.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(u.el)||!u.el.contains(t)||u.el==t)&&(t=null)}catch(i){t=null}if(t&&"A"===t.tagName)return t;var a=u.selection.element(),n=u.selection.endElement();"A"==a.tagName||u.node.isElement(a)||(a=g(a).parentsUntil(u.$el,"a").first().get(0)),"A"==n.tagName||u.node.isElement(n)||(n=g(n).parentsUntil(u.$el,"a").first().get(0));try{n&&(n.contains&&n.contains(u.el)||!u.el.contains(n)||u.el==n)&&(n=null)}catch(i){n=null}try{a&&(a.contains&&a.contains(u.el)||!u.el.contains(a)||u.el==a)&&(a=null)}catch(i){a=null}return n&&n==a&&"A"==n.tagName?(u.browser.msie||u.helpers.isMobile())&&(u.selection.info(a).atEnd||u.selection.info(a).atStart)?null:a:null}function m(){var e,t,a,n,i=u.image?u.image.get():null,r=[];if(i)"A"==i.get(0).parentNode.tagName&&r.push(i.get(0).parentNode);else if(u.win.getSelection){var o=u.win.getSelection();if(o.getRangeAt&&o.rangeCount){n=u.doc.createRange();for(var s=0;s'.concat(u.button.buildList(u.opts.linkEditButtons),"
    "));var t={buttons:e},a=u.popups.create("link.edit",t);u.$wp&&u.events.$on(u.$wp,"scroll.link-edit",function(){h()&&u.popups.isVisible("link.edit")&&o(h())});return a}());var a=g(e);u.popups.isVisible("link.edit")||u.popups.refresh("link.edit"),u.popups.setContainer("link.edit",u.$sc);var n=a.offset().left+a.outerWidth()/2,i=a.offset().top+a.outerHeight();u.popups.show("link.edit",n,i,a.outerHeight(),!0)}function r(){u.popups.hide("link.edit")}function l(){var e=u.popups.get("link.insert"),t=h();if(t){var a,n,i=g(t),r=e.find('input.fr-link-attr[type="text"]'),o=e.find('input.fr-link-attr[type="checkbox"]');for(a=0;a'.concat(u.button.buildList(u.opts.linkInsertButtons),""));var a="",n=0;for(var i in a='")},s=u.popups.create("link.insert",o);return u.$wp&&u.events.$on(u.$wp,"scroll.link-insert",function(){(u.image?u.image.get():null)&&u.popups.isVisible("link.insert")&&f(),u.popups.isVisible("link.insert")&&d()}),s}function c(e,t,a){if(void 0===a&&(a={}),!1===u.events.trigger("link.beforeInsert",[e,t,a]))return!1;var n=u.image?u.image.get():null;n||"A"==u.el.tagName?"A"==u.el.tagName&&u.$el.focus():(u.selection.restore(),u.popups.hide("link.insert"));var i=e;u.opts.linkConvertEmailAddress&&u.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e="mailto:".concat(e));if(""===u.opts.linkAutoPrefix||new RegExp("^("+It.LinkProtocols.join("|")+"):.","i").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||["/","{","[","#","(","."].indexOf((e||"")[0])<0&&(e=u.opts.linkAutoPrefix+e),e=u.helpers.sanitizeURL(e),u.opts.linkAlwaysBlank&&(a.target="_blank"),u.opts.linkAlwaysNoFollow&&(a.rel="nofollow"),u.helpers.isEmail(i)&&(a.target=null,a.rel=null),"_blank"==a.target?(u.opts.linkNoOpener&&(a.rel?a.rel+=" noopener":a.rel="noopener"),u.opts.linkNoReferrer&&(a.rel?a.rel+=" noreferrer":a.rel="noreferrer")):null==a.target&&(a.rel?a.rel=a.rel.replace(/noopener/,"").replace(/noreferrer/,""):a.rel=null),t=t||"",e===u.opts.linkAutoPrefix)return u.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),u.events.trigger("link.bad",[i]),!1;var r,o=h();if(o){if((r=g(o)).attr("href",e),0')),u.image.hasCaption()&&n.parent().append(n.parents(".fr-img-caption").find(".fr-inner"))):(u.format.remove("a"),u.selection.isCollapsed()?(t=0===t.length?i:t,u.html.insert('').concat(It.START_MARKER).concat(t.replace(/&/g,"&").replace(/",">")).concat(It.END_MARKER,"")),u.selection.restore()):0').concat(It.START_MARKER).concat(t.replace(/&/g,"&")).concat(It.END_MARKER,"")),u.selection.restore()):(!function p(){if(!u.selection.isCollapsed()){u.selection.save();for(var e=u.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();e.length;){var t=g(e.pop());t.removeClass("fr-unprocessed");var a=u.node.deepestParent(t.get(0));if(a){for(var n=t.get(0),i="",r="";n=n.parentNode,u.node.isBlock(n)||(i+=u.node.closeTagString(n),r=u.node.openTagString(n)+r),n!=a;);var o=u.node.openTagString(t.get(0))+t.html()+u.node.closeTagString(t.get(0));t.replaceWith('');var s=a.outerHTML;s=(s=s.replace(/<\/span>/g,i+o+r)).replace(r+i,""),a.outerHTML=s}e=u.$el.find(".fr-marker.fr-unprocessed").toArray()}u.html.cleanEmptyTags(),u.selection.restore()}}(),u.format.apply("a",{href:e})));for(var c=m(),d=0;d').concat(t[a].displayText||t[a].text,"");return e+=""},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),It.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),It.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),It.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),It.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),It.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,n=this.link.get();if(n){var i=a(n);t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=i.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),Object.assign(It.DEFAULTS,{listAdvancedTypes:!0}),It.PLUGINS.lists=function(f){var p=f.$;function u(e){return'')}function g(e){return'')}function r(e,t){!function c(e,t){for(var a=[],n=0;n").concat(o.html(),""))}}(e,t);var a,n=f.html.defaultTag(),i=null;e.length&&(a="rtl"==f.opts.direction||"rtl"==p(e[0]).css("direction")?"margin-right":"margin-left");for(var r=0;r'):"<".concat(t,">"),l="");for(o-=i;0"),l+=l,o-=f.opts.indentMargin;n&&e[r].tagName.toLowerCase()==n?p(e[r]).replaceWith("".concat(s,"").concat(p(e[r]).html(),"").concat(l)):p(e[r]).wrap("".concat(s,"
  • ").concat(l))}f.clean.lists()}function o(e){var t,a;for(t=e.length-1;0<=t;t--)for(a=t-1;0<=a;a--)if(p(e[a]).find(e[t]).length||e[a]==e[t]){e.splice(t,1);break}var n=[];for(t=0;t"),i.append(u("LI")),i.prepend(g("LI"))}i.after(u(r.tagName)),"LI"==r.parentNode.tagName&&(r=r.parentNode.parentNode),n.indexOf(r)<0&&n.push(r)}for(t=0;t<\/span>/g,"")).replace(/<\/span>/g,"<$1>"),c.replaceWith(f.node.openTagString(c.get(0))+d+f.node.closeTagString(c.get(0)))}f.$el.find("li:empty").remove(),f.$el.find("ul:empty, ol:empty").remove(),f.clean.lists(),f.html.wrap()}function l(e){f.selection.save();for(var t=0;t ul, > ol").last().get(0);if(n){var i=p(document.createElement("li"));p(n).prepend(i);for(var r=f.node.contents(e[t])[0];r&&!f.node.isList(r);){var o=r.nextSibling;i.append(r),r=o}p(a).append(p(n)),p(e[t]).remove()}else{var s=p(a).find("> ul, > ol").last().get(0);if(s)p(s).append(p(e[t]));else{var l=p("<".concat(e[t].parentNode.tagName,">"));p(a).append(l),l.append(p(e[t]))}}}}f.clean.lists(),f.selection.restore()}function c(e){f.selection.save(),o(e),f.selection.restore()}function e(e){if("indent"==e||"outdent"==e){var t=!1,a=f.selection.blocks(),n=[],i=a[0].previousSibling||a[0].parentElement;if("outdent"==e){if("UL"!=i.parentNode.tagName&&"OL"!=i.parentNode.tagName&&"LI"!=i.parentNode.tagName)return;if(!a[0].previousSibling&&"none"==i.parentNode.style.listStyleType)return void function o(e){for(f.selection.save();0");e.prepend(n);for(var i=p.node.contents(e.get(0))[0];i&&["UL","OL"].indexOf(i.tagName)<0;){var r=i.nextSibling;n.append(i),i=r}}else e.html("<"+t+">"+e.html()+"")}return{apply:function h(e){"N"==e&&(e=p.html.defaultTag()),p.selection.save(),p.html.wrap(!0,!0,!p.opts.paragraphFormat.BLOCKQUOTE,!0,!0),p.selection.restore();var t,a,n,i,r,o,s,l,c=p.selection.blocks();p.selection.save(),p.$el.find("pre").attr("skip",!0);for(var d=0;d").html(o.html()))):0<=["TD","TH"].indexOf(c[d].parentNode.tagName)?(n=f,i=e,r=p.html.defaultTag(),i||(i='div class="fr-temp-div"'+(p.node.isEmpty(n.get(0),!0)?' data-empty="true"':"")),i.toLowerCase()==r?(p.node.isEmpty(n.get(0),!0)||n.append("
    "),n.replaceWith(n.html())):n.replaceWith(u("<"+i+">").html(n.html()))):(t=f,(a=e)||(a='div class="fr-temp-div"'+(p.node.isEmpty(t.get(0),!0)?' data-empty="true"':"")),"H1"!=a&&"H2"!=a&&"H3"!=a&&"H4"!=a&&"H5"!=a||!p.node.attributes(t.get(0)).includes("font-size:")?t.replaceWith(u("<"+a+" "+p.node.attributes(t.get(0))+">").html(t.html()).removeAttr("data-empty")):t.replaceWith(u("<"+a+" "+p.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(t.html()).removeAttr("data-empty")))}p.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){u(this).prev().append("
    "+u(this).html()),u(this).remove()}),p.$el.find("pre").removeAttr("skip"),p.html.unwrap(),p.selection.restore()},refreshOnShow:function o(e,t){var a=p.selection.blocks();if(a.length){var n=a[0],i="N",r=p.html.defaultTag();n.tagName.toLowerCase()!=r&&n!=p.el&&(i=n.tagName),t.find('.fr-command[data-param1="'+i+'"]').addClass("fr-active").attr("aria-selected",!0)}else t.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function r(e){if(p.opts.paragraphFormatSelection){var t=p.selection.blocks();if(t.length){var a=t[0],n="N",i=p.html.defaultTag();a.tagName.toLowerCase()!=i&&a!=p.el&&(n=a.tagName),0<=["LI","TD","TH"].indexOf(n)&&(n="N"),e.find(">span").text(p.language.translate(p.opts.paragraphFormat[n]))}else e.find(">span").text(p.language.translate(p.opts.paragraphFormat.N))}}}},It.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(e){return e.opts.paragraphFormatSelection},defaultSelection:function(e){return e.language.translate(e.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var e='"},title:"Paragraph Format",callback:function(e,t){this.paragraphFormat.apply(t)},refresh:function(e){this.paragraphFormat.refresh(e)},refreshOnShow:function(e,t){this.paragraphFormat.refreshOnShow(e,t)},plugin:"paragraphFormat"}),It.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"}),Object.assign(It.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),It.PLUGINS.paragraphStyle=function(s){var l=s.$;return{_init:function e(){},apply:function c(e,t,a){void 0===t&&(t=s.opts.paragraphStyles),void 0===a&&(a=s.opts.paragraphMultipleStyles);var n="";a||((n=Object.keys(t)).splice(n.indexOf(e),1),n=n.join(" ")),s.selection.save(),s.html.wrap(!0,!0,!0,!0),s.selection.restore();var i=s.selection.blocks();s.selection.save();for(var r=l(i[0]).hasClass(e),o=0;o').concat(this.language.translate(t[a]),""));return e+=""},title:"Paragraph Style",callback:function(e,t){this.paragraphStyle.apply(t)},refreshOnShow:function(e,t){this.paragraphStyle.refreshOnShow(e,t)},plugin:"paragraphStyle"}),It.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"}),Object.assign(It.DEFAULTS,{html2pdf:window.html2pdf}),It.PLUGINS.print=function(l){return{run:function e(){!function s(e){var t=l.html.get(),a=null;l.shared.print_iframe?a=l.shared.print_iframe:((a=document.createElement("iframe")).name="fr-print",a.style.position="fixed",a.style.top="0",a.style.left="-9999px",a.style.height="100%",a.style.width="0",a.style.overflow="hidden",a.style["z-index"]="2147483647",a.style.tabIndex="-1",l.events.on("shared.destroy",function(){a.remove()}),l.shared.print_iframe=a);try{document.body.removeChild(a)}catch(o){}document.body.appendChild(a);var n=function n(){e(),a.removeEventListener("load",n)};a.addEventListener("load",n);var i=a.contentWindow;i.document.open(),i.document.write(""+document.title+""),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),i.document.write(e.outerHTML)});var r=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(r,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",i.document.write(t.outerHTML)}),i.document.write('
    '),i.document.write(t),i.document.write("
    "),i.document.close()}(function(){setTimeout(function(){l.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),l.$win.get(0).focus(),l.events.disableBlur(),l.events.focus()},0)})},toPDF:function t(){l.opts.html2pdf&&(l.$el.css("text-align","left"),l.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(l.el).save(),setTimeout(function(){l.$el.css("text-align","")},100))}}},It.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),It.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),It.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),It.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}}),Object.assign(It.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),It.QUICK_INSERT_BUTTONS={},It.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),It.RegisterQuickInsertButton=function(e,t){It.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},It.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement("input")).attr("accept","image/"+e.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),t("body").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,"change",function(){var e=t(this).data("inst");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val("")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data("inst",e)[0].click()}}),It.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),It.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),It.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),It.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),It.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),It.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),It.PLUGINS.quickInsert=function(o){var s,l,c=o.$;function a(e){var t,a,n;(t=e.offset().top-o.$box.offset().top,a=(o.$iframe&&o.$iframe.offset().left||0)+e.offset().left-e.position().left-4').concat(o.icon.create("quickInsert"),"")));s=o.shared.$quick_insert,o.tooltip.bind(o.$box,".fr-quick-insert > a.fr-floating-btn"),o.events.on("destroy",function(){c("body").first().append(s.removeClass("fr-on")),l&&(f(),c("body").first().append(l.css("left",-9999).css("top",-9999)))},!0),o.events.on("shared.destroy",function(){s.html("").removeData().remove(),s=null,l&&(l.html("").removeData().remove(),l=null)},!0),o.events.on("commands.before",r),o.events.on("commands.after",function(){o.popups.areVisible()||n()}),o.events.bindClick(o.$box,".fr-quick-insert > a",d),o.events.bindClick(o.$box,".fr-qi-helper > a.fr-btn",function(e){var t=c(e.currentTarget).data("cmd");if(!1===o.events.trigger("quickInsert.commands.before",[t]))return!1;It.QUICK_INSERT_BUTTONS[t].callback.apply(o,[e.currentTarget]),It.QUICK_INSERT_BUTTONS[t].undo&&o.undo.saveStep(),o.events.trigger("quickInsert.commands.after",[t]),o.quickInsert.hide()}),o.events.$on(o.$wp,"scroll",p),o.events.$on(o.$tb,"transitionend",".fr-more-toolbar",p)}(),s.hasClass("fr-on")&&f(),o.$box.append(s),a(e),s.data("tag",e),s.addClass("fr-visible")}function n(){if(o.core.hasFocus()){var e=o.selection.element();if(o.opts.enter==It.ENTER_BR||o.node.isBlock(e)||(e=o.node.blockParent(e)),o.opts.enter==It.ENTER_BR&&!o.node.isBlock(e)){var t=o.node.deepestParent(e);t&&(e=t)}var a=function a(){return o.opts.enter!=It.ENTER_BR&&o.node.isEmpty(e)&&0<=o.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},n=function n(){return o.opts.enter==It.ENTER_BR&&("BR"==e.tagName&&(!e.previousSibling||"BR"==e.previousSibling.tagName||o.node.isBlock(e.previousSibling))||o.node.isEmpty(e)&&(!e.previousSibling||"BR"==e.previousSibling.tagName||o.node.isBlock(e.previousSibling))&&(!e.nextSibling||"BR"==e.nextSibling.tagName||o.node.isBlock(e.nextSibling)))};e&&(a()||n())?s&&s.data("tag").is(c(e))&&s.hasClass("fr-on")?f():o.selection.isCollapsed()&&i(c(e)):r()}}function r(){s&&(s.hasClass("fr-on")&&f(),s.removeClass("fr-visible fr-on"),s.css("left",-9999).css("top",-9999))}function d(e){if(e&&e.preventDefault(),s.hasClass("fr-on")&&!s.hasClass("fr-hidden"))f();else{if(!o.shared.$qi_helper){for(var t=o.opts.quickInsertButtons,a='
    ',n=0,i=0;i').concat(o.icon.create(r.icon),""))}a+="
    ",o.shared.$qi_helper=c(a),o.tooltip.bind(o.shared.$qi_helper,"a.fr-btn"),o.events.$on(o.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}l=o.shared.$qi_helper,o.$box.append(l),setTimeout(function(){l.css("top",parseFloat(s.css("top"))),l.css("left",parseFloat(s.css("left"))+s.outerWidth()),l.find("a").addClass("fr-size-1"),s.addClass("fr-on")},10)}}function f(){var a=o.$box.find(".fr-qi-helper");a.length&&function(){for(var t=a.find("a"),e=0;e').concat(this.language.translate(t[a])).concat(n?''.concat(n,""):"","")}return e+=""},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),It.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"}),Object.assign(It.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),It.PLUGINS.save=function(s){var l=s.$,n=null,c=null,t=!1,d=1,f=2,a={};function p(e,t){s.events.trigger("save.error",[{code:e,message:a[e]},t])}function i(e){void 0===e&&(e=s.html.get());var n=e,t=s.events.trigger("save.before",[e]);if(!1===t)return!1;if("string"==typeof t&&(e=t),s.opts.saveURL){var a={};for(var i in s.opts.saveParams)if(s.opts.saveParams.hasOwnProperty(i)){var r=s.opts.saveParams[i];a[i]="function"==typeof r?r.call(this):r}var o={};o[s.opts.saveParam]=e,l(this).ajax({method:s.opts.saveMethod,url:s.opts.saveURL,data:Object.assign(o,a),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,a){c=n,s.events.trigger("save.after",[e])},fail:function(e){p(f,e.response||e.responseText)}})}else p(d)}function r(){clearTimeout(n),n=setTimeout(function(){var e=s.html.get();(c!=e||t)&&(t=!1,i(c=e))},0)}return a[d]="Missing saveURL option.",a[f]="Something went wrong during save.",{_init:function o(){if(s.opts.letteringClass)for(var e=s.opts.letteringClass,t=s.$el.find(".".concat(e)).length,a=0;a$1
    ");s.opts.saveInterval&&(c=s.html.get(),s.events.on("contentChanged",function(){setTimeout(r,s.opts.saveInterval)}),s.events.on("keydown destroy",function(){clearTimeout(n)}))},save:i,reset:function e(){r(),t=!1},force:function u(){t=!0}}},It.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),It.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"}),Object.assign(It.DEFAULTS,{specialCharactersSets:[{title:"Latin","char":"¡",list:[{"char":"¡",desc:"INVERTED EXCLAMATION MARK"},{"char":"¢",desc:"CENT SIGN"},{"char":"£",desc:"POUND SIGN"},{"char":"¤",desc:"CURRENCY SIGN"},{"char":"¥",desc:"YEN SIGN"},{"char":"¦",desc:"BROKEN BAR"},{"char":"§",desc:"SECTION SIGN"},{"char":"¨",desc:"DIAERESIS"},{"char":"©",desc:"COPYRIGHT SIGN"},{"char":"™",desc:"TRADEMARK SIGN"},{"char":"ª",desc:"FEMININE ORDINAL INDICATOR"},{"char":"«",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¬",desc:"NOT SIGN"},{"char":"®",desc:"REGISTERED SIGN"},{"char":"¯",desc:"MACRON"},{"char":"°",desc:"DEGREE SIGN"},{"char":"±",desc:"PLUS-MINUS SIGN"},{"char":"²",desc:"SUPERSCRIPT TWO"},{"char":"³",desc:"SUPERSCRIPT THREE"},{"char":"´",desc:"ACUTE ACCENT"},{"char":"µ",desc:"MICRO SIGN"},{"char":"¶",desc:"PILCROW SIGN"},{"char":"·",desc:"MIDDLE DOT"},{"char":"¸",desc:"CEDILLA"},{"char":"¹",desc:"SUPERSCRIPT ONE"},{"char":"º",desc:"MASCULINE ORDINAL INDICATOR"},{"char":"»",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¼",desc:"VULGAR FRACTION ONE QUARTER"},{"char":"½",desc:"VULGAR FRACTION ONE HALF"},{"char":"¾",desc:"VULGAR FRACTION THREE QUARTERS"},{"char":"¿",desc:"INVERTED QUESTION MARK"},{"char":"À",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{"char":"Á",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{"char":"Â",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{"char":"Ã",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{"char":"Ä",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{"char":"Å",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{"char":"Æ",desc:"LATIN CAPITAL LETTER AE"},{"char":"Ç",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{"char":"È",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{"char":"É",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{"char":"Ê",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{"char":"Ë",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{"char":"Ì",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{"char":"Í",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{"char":"Î",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{"char":"Ï",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{"char":"Ð",desc:"LATIN CAPITAL LETTER ETH"},{"char":"Ñ",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{"char":"Ò",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{"char":"Ó",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{"char":"Ô",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{"char":"Õ",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{"char":"Ö",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{"char":"×",desc:"MULTIPLICATION SIGN"},{"char":"Ø",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{"char":"Ù",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{"char":"Ú",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{"char":"Û",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{"char":"Ü",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{"char":"Ý",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{"char":"Þ",desc:"LATIN CAPITAL LETTER THORN"},{"char":"ß",desc:"LATIN SMALL LETTER SHARP S"},{"char":"à",desc:"LATIN SMALL LETTER A WITH GRAVE"},{"char":"á",desc:"LATIN SMALL LETTER A WITH ACUTE "},{"char":"â",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{"char":"ã",desc:"LATIN SMALL LETTER A WITH TILDE"},{"char":"ä",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{"char":"å",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{"char":"æ",desc:"LATIN SMALL LETTER AE"},{"char":"ç",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{"char":"è",desc:"LATIN SMALL LETTER E WITH GRAVE"},{"char":"é",desc:"LATIN SMALL LETTER E WITH ACUTE"},{"char":"ê",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{"char":"ë",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{"char":"ì",desc:"LATIN SMALL LETTER I WITH GRAVE"},{"char":"í",desc:"LATIN SMALL LETTER I WITH ACUTE"},{"char":"î",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{"char":"ï",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{"char":"ð",desc:"LATIN SMALL LETTER ETH"},{"char":"ñ",desc:"LATIN SMALL LETTER N WITH TILDE"},{"char":"ò",desc:"LATIN SMALL LETTER O WITH GRAVE"},{"char":"ó",desc:"LATIN SMALL LETTER O WITH ACUTE"},{"char":"ô",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{"char":"õ",desc:"LATIN SMALL LETTER O WITH TILDE"},{"char":"ö",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{"char":"÷",desc:"DIVISION SIGN"},{"char":"ø",desc:"LATIN SMALL LETTER O WITH STROKE"},{"char":"ù",desc:"LATIN SMALL LETTER U WITH GRAVE"},{"char":"ú",desc:"LATIN SMALL LETTER U WITH ACUTE"},{"char":"û",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{"char":"ü",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{"char":"ý",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{"char":"þ",desc:"LATIN SMALL LETTER THORN"},{"char":"ÿ",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek","char":"Α",list:[{"char":"Α",desc:"GREEK CAPITAL LETTER ALPHA"},{"char":"Β",desc:"GREEK CAPITAL LETTER BETA"},{"char":"Γ",desc:"GREEK CAPITAL LETTER GAMMA"},{"char":"Δ",desc:"GREEK CAPITAL LETTER DELTA"},{"char":"Ε",desc:"GREEK CAPITAL LETTER EPSILON"},{"char":"Ζ",desc:"GREEK CAPITAL LETTER ZETA"},{"char":"Η",desc:"GREEK CAPITAL LETTER ETA"},{"char":"Θ",desc:"GREEK CAPITAL LETTER THETA"},{"char":"Ι",desc:"GREEK CAPITAL LETTER IOTA"},{"char":"Κ",desc:"GREEK CAPITAL LETTER KAPPA"},{"char":"Λ",desc:"GREEK CAPITAL LETTER LAMBDA"},{"char":"Μ",desc:"GREEK CAPITAL LETTER MU"},{"char":"Ν",desc:"GREEK CAPITAL LETTER NU"},{"char":"Ξ",desc:"GREEK CAPITAL LETTER XI"},{"char":"Ο",desc:"GREEK CAPITAL LETTER OMICRON"},{"char":"Π",desc:"GREEK CAPITAL LETTER PI"},{"char":"Ρ",desc:"GREEK CAPITAL LETTER RHO"},{"char":"Σ",desc:"GREEK CAPITAL LETTER SIGMA"},{"char":"Τ",desc:"GREEK CAPITAL LETTER TAU"},{"char":"Υ",desc:"GREEK CAPITAL LETTER UPSILON"},{"char":"Φ",desc:"GREEK CAPITAL LETTER PHI"},{"char":"Χ",desc:"GREEK CAPITAL LETTER CHI"},{"char":"Ψ",desc:"GREEK CAPITAL LETTER PSI"},{"char":"Ω",desc:"GREEK CAPITAL LETTER OMEGA"},{"char":"α",desc:"GREEK SMALL LETTER ALPHA"},{"char":"β",desc:"GREEK SMALL LETTER BETA"},{"char":"γ",desc:"GREEK SMALL LETTER GAMMA"},{"char":"δ",desc:"GREEK SMALL LETTER DELTA"},{"char":"ε",desc:"GREEK SMALL LETTER EPSILON"},{"char":"ζ",desc:"GREEK SMALL LETTER ZETA"},{"char":"η",desc:"GREEK SMALL LETTER ETA"},{"char":"θ",desc:"GREEK SMALL LETTER THETA"},{"char":"ι",desc:"GREEK SMALL LETTER IOTA"},{"char":"κ",desc:"GREEK SMALL LETTER KAPPA"},{"char":"λ",desc:"GREEK SMALL LETTER LAMBDA"},{"char":"μ",desc:"GREEK SMALL LETTER MU"},{"char":"ν",desc:"GREEK SMALL LETTER NU"},{"char":"ξ",desc:"GREEK SMALL LETTER XI"},{"char":"ο",desc:"GREEK SMALL LETTER OMICRON"},{"char":"π",desc:"GREEK SMALL LETTER PI"},{"char":"ρ",desc:"GREEK SMALL LETTER RHO"},{"char":"ς",desc:"GREEK SMALL LETTER FINAL SIGMA"},{"char":"σ",desc:"GREEK SMALL LETTER SIGMA"},{"char":"τ",desc:"GREEK SMALL LETTER TAU"},{"char":"υ",desc:"GREEK SMALL LETTER UPSILON"},{"char":"φ",desc:"GREEK SMALL LETTER PHI"},{"char":"χ",desc:"GREEK SMALL LETTER CHI"},{"char":"ψ",desc:"GREEK SMALL LETTER PSI"},{"char":"ω",desc:"GREEK SMALL LETTER OMEGA"},{"char":"ϑ",desc:"GREEK THETA SYMBOL"},{"char":"ϒ",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{"char":"ϕ",desc:"GREEK PHI SYMBOL"},{"char":"ϖ",desc:"GREEK PI SYMBOL"},{"char":"Ϝ",desc:"GREEK LETTER DIGAMMA"},{"char":"ϝ",desc:"GREEK SMALL LETTER DIGAMMA"},{"char":"ϰ",desc:"GREEK KAPPA SYMBOL"},{"char":"ϱ",desc:"GREEK RHO SYMBOL"},{"char":"ϵ",desc:"GREEK LUNATE EPSILON SYMBOL"},{"char":"϶",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic","char":"Ѐ",list:[{"char":"Ѐ",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{"char":"Ё",desc:"CYRILLIC CAPITAL LETTER IO"},{"char":"Ђ",desc:"CYRILLIC CAPITAL LETTER DJE"},{"char":"Ѓ",desc:"CYRILLIC CAPITAL LETTER GJE"},{"char":"Є",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{"char":"Ѕ",desc:"CYRILLIC CAPITAL LETTER DZE"},{"char":"І",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"Ї",desc:"CYRILLIC CAPITAL LETTER YI"},{"char":"Ј",desc:"CYRILLIC CAPITAL LETTER JE"},{"char":"Љ",desc:"CYRILLIC CAPITAL LETTER LJE"},{"char":"Њ",desc:"CYRILLIC CAPITAL LETTER NJE"},{"char":"Ћ",desc:"CYRILLIC CAPITAL LETTER TSHE"},{"char":"Ќ",desc:"CYRILLIC CAPITAL LETTER KJE"},{"char":"Ѝ",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{"char":"Ў",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{"char":"Џ",desc:"CYRILLIC CAPITAL LETTER DZHE"},{"char":"А",desc:"CYRILLIC CAPITAL LETTER A"},{"char":"Б",desc:"CYRILLIC CAPITAL LETTER BE"},{"char":"В",desc:"CYRILLIC CAPITAL LETTER VE"},{"char":"Г",desc:"CYRILLIC CAPITAL LETTER GHE"},{"char":"Д",desc:"CYRILLIC CAPITAL LETTER DE"},{"char":"Е",desc:"CYRILLIC CAPITAL LETTER IE"},{"char":"Ж",desc:"CYRILLIC CAPITAL LETTER ZHE"},{"char":"З",desc:"CYRILLIC CAPITAL LETTER ZE"},{"char":"И",desc:"CYRILLIC CAPITAL LETTER I"},{"char":"Й",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{"char":"К",desc:"CYRILLIC CAPITAL LETTER KA"},{"char":"Л",desc:"CYRILLIC CAPITAL LETTER EL"},{"char":"М",desc:"CYRILLIC CAPITAL LETTER EM"},{"char":"Н",desc:"CYRILLIC CAPITAL LETTER EN"},{"char":"О",desc:"CYRILLIC CAPITAL LETTER O"},{"char":"П",desc:"CYRILLIC CAPITAL LETTER PE"},{"char":"Р",desc:"CYRILLIC CAPITAL LETTER ER"},{"char":"С",desc:"CYRILLIC CAPITAL LETTER ES"},{"char":"Т",desc:"CYRILLIC CAPITAL LETTER TE"},{"char":"У",desc:"CYRILLIC CAPITAL LETTER U"},{"char":"Ф",desc:"CYRILLIC CAPITAL LETTER EF"},{"char":"Х",desc:"CYRILLIC CAPITAL LETTER HA"},{"char":"Ц",desc:"CYRILLIC CAPITAL LETTER TSE"},{"char":"Ч",desc:"CYRILLIC CAPITAL LETTER CHE"},{"char":"Ш",desc:"CYRILLIC CAPITAL LETTER SHA"},{"char":"Щ",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{"char":"Ъ",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{"char":"Ы",desc:"CYRILLIC CAPITAL LETTER YERU"},{"char":"Ь",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{"char":"Э",desc:"CYRILLIC CAPITAL LETTER E"},{"char":"Ю",desc:"CYRILLIC CAPITAL LETTER YU"},{"char":"Я",desc:"CYRILLIC CAPITAL LETTER YA"},{"char":"а",desc:"CYRILLIC SMALL LETTER A"},{"char":"б",desc:"CYRILLIC SMALL LETTER BE"},{"char":"в",desc:"CYRILLIC SMALL LETTER VE"},{"char":"г",desc:"CYRILLIC SMALL LETTER GHE"},{"char":"д",desc:"CYRILLIC SMALL LETTER DE"},{"char":"е",desc:"CYRILLIC SMALL LETTER IE"},{"char":"ж",desc:"CYRILLIC SMALL LETTER ZHE"},{"char":"з",desc:"CYRILLIC SMALL LETTER ZE"},{"char":"и",desc:"CYRILLIC SMALL LETTER I"},{"char":"й",desc:"CYRILLIC SMALL LETTER SHORT I"},{"char":"к",desc:"CYRILLIC SMALL LETTER KA"},{"char":"л",desc:"CYRILLIC SMALL LETTER EL"},{"char":"м",desc:"CYRILLIC SMALL LETTER EM"},{"char":"н",desc:"CYRILLIC SMALL LETTER EN"},{"char":"о",desc:"CYRILLIC SMALL LETTER O"},{"char":"п",desc:"CYRILLIC SMALL LETTER PE"},{"char":"р",desc:"CYRILLIC SMALL LETTER ER"},{"char":"с",desc:"CYRILLIC SMALL LETTER ES"},{"char":"т",desc:"CYRILLIC SMALL LETTER TE"},{"char":"у",desc:"CYRILLIC SMALL LETTER U"},{"char":"ф",desc:"CYRILLIC SMALL LETTER EF"},{"char":"х",desc:"CYRILLIC SMALL LETTER HA"},{"char":"ц",desc:"CYRILLIC SMALL LETTER TSE"},{"char":"ч",desc:"CYRILLIC SMALL LETTER CHE"},{"char":"ш",desc:"CYRILLIC SMALL LETTER SHA"},{"char":"щ",desc:"CYRILLIC SMALL LETTER SHCHA"},{"char":"ъ",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{"char":"ы",desc:"CYRILLIC SMALL LETTER YERU"},{"char":"ь",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{"char":"э",desc:"CYRILLIC SMALL LETTER E"},{"char":"ю",desc:"CYRILLIC SMALL LETTER YU"},{"char":"я",desc:"CYRILLIC SMALL LETTER YA"},{"char":"ѐ",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{"char":"ё",desc:"CYRILLIC SMALL LETTER IO"},{"char":"ђ",desc:"CYRILLIC SMALL LETTER DJE"},{"char":"ѓ",desc:"CYRILLIC SMALL LETTER GJE"},{"char":"є",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{"char":"ѕ",desc:"CYRILLIC SMALL LETTER DZE"},{"char":"і",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"ї",desc:"CYRILLIC SMALL LETTER YI"},{"char":"ј",desc:"CYRILLIC SMALL LETTER JE"},{"char":"љ",desc:"CYRILLIC SMALL LETTER LJE"},{"char":"њ",desc:"CYRILLIC SMALL LETTER NJE"},{"char":"ћ",desc:"CYRILLIC SMALL LETTER TSHE"},{"char":"ќ",desc:"CYRILLIC SMALL LETTER KJE"},{"char":"ѝ",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{"char":"ў",desc:"CYRILLIC SMALL LETTER SHORT U"},{"char":"џ",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation","char":"–",list:[{"char":"–",desc:"EN DASH"},{"char":"—",desc:"EM DASH"},{"char":"‘",desc:"LEFT SINGLE QUOTATION MARK"},{"char":"’",desc:"RIGHT SINGLE QUOTATION MARK"},{"char":"‚",desc:"SINGLE LOW-9 QUOTATION MARK"},{"char":"“",desc:"LEFT DOUBLE QUOTATION MARK"},{"char":"”",desc:"RIGHT DOUBLE QUOTATION MARK"},{"char":"„",desc:"DOUBLE LOW-9 QUOTATION MARK"},{"char":"†",desc:"DAGGER"},{"char":"‡",desc:"DOUBLE DAGGER"},{"char":"•",desc:"BULLET"},{"char":"…",desc:"HORIZONTAL ELLIPSIS"},{"char":"‰",desc:"PER MILLE SIGN"},{"char":"′",desc:"PRIME"},{"char":"″",desc:"DOUBLE PRIME"},{"char":"‹",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{"char":"›",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{"char":"‾",desc:"OVERLINE"},{"char":"⁄",desc:"FRACTION SLASH"}]},{title:"Currency","char":"₠",list:[{"char":"₠",desc:"EURO-CURRENCY SIGN"},{"char":"₡",desc:"COLON SIGN"},{"char":"₢",desc:"CRUZEIRO SIGN"},{"char":"₣",desc:"FRENCH FRANC SIGN"},{"char":"₤",desc:"LIRA SIGN"},{"char":"₥",desc:"MILL SIGN"},{"char":"₦",desc:"NAIRA SIGN"},{"char":"₧",desc:"PESETA SIGN"},{"char":"₨",desc:"RUPEE SIGN"},{"char":"₩",desc:"WON SIGN"},{"char":"₪",desc:"NEW SHEQEL SIGN"},{"char":"₫",desc:"DONG SIGN"},{"char":"€",desc:"EURO SIGN"},{"char":"₭",desc:"KIP SIGN"},{"char":"₮",desc:"TUGRIK SIGN"},{"char":"₯",desc:"DRACHMA SIGN"},{"char":"₰",desc:"GERMAN PENNY SYMBOL"},{"char":"₱",desc:"PESO SIGN"},{"char":"₲",desc:"GUARANI SIGN"},{"char":"₳",desc:"AUSTRAL SIGN"},{"char":"₴",desc:"HRYVNIA SIGN"},{"char":"₵",desc:"CEDI SIGN"},{"char":"₶",desc:"LIVRE TOURNOIS SIGN"},{"char":"₷",desc:"SPESMILO SIGN"},{"char":"₸",desc:"TENGE SIGN"},{"char":"₹",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows","char":"←",list:[{"char":"←",desc:"LEFTWARDS ARROW"},{"char":"↑",desc:"UPWARDS ARROW"},{"char":"→",desc:"RIGHTWARDS ARROW"},{"char":"↓",desc:"DOWNWARDS ARROW"},{"char":"↔",desc:"LEFT RIGHT ARROW"},{"char":"↕",desc:"UP DOWN ARROW"},{"char":"↖",desc:"NORTH WEST ARROW"},{"char":"↗",desc:"NORTH EAST ARROW"},{"char":"↘",desc:"SOUTH EAST ARROW"},{"char":"↙",desc:"SOUTH WEST ARROW"},{"char":"↚",desc:"LEFTWARDS ARROW WITH STROKE"},{"char":"↛",desc:"RIGHTWARDS ARROW WITH STROKE"},{"char":"↜",desc:"LEFTWARDS WAVE ARROW"},{"char":"↝",desc:"RIGHTWARDS WAVE ARROW"},{"char":"↞",desc:"LEFTWARDS TWO HEADED ARROW"},{"char":"↟",desc:"UPWARDS TWO HEADED ARROW"},{"char":"↠",desc:"RIGHTWARDS TWO HEADED ARROW"},{"char":"↡",desc:"DOWNWARDS TWO HEADED ARROW"},{"char":"↢",desc:"LEFTWARDS ARROW WITH TAIL"},{"char":"↣",desc:"RIGHTWARDS ARROW WITH TAIL"},{"char":"↤",desc:"LEFTWARDS ARROW FROM BAR"},{"char":"↥",desc:"UPWARDS ARROW FROM BAR"},{"char":"↦",desc:"RIGHTWARDS ARROW FROM BAR"},{"char":"↧",desc:"DOWNWARDS ARROW FROM BAR"},{"char":"↨",desc:"UP DOWN ARROW WITH BASE"},{"char":"↩",desc:"LEFTWARDS ARROW WITH HOOK"},{"char":"↪",desc:"RIGHTWARDS ARROW WITH HOOK"},{"char":"↫",desc:"LEFTWARDS ARROW WITH LOOP"},{"char":"↬",desc:"RIGHTWARDS ARROW WITH LOOP"},{"char":"↭",desc:"LEFT RIGHT WAVE ARROW"},{"char":"↮",desc:"LEFT RIGHT ARROW WITH STROKE"},{"char":"↯",desc:"DOWNWARDS ZIGZAG ARROW"},{"char":"↰",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↱",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↲",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↳",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↴",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{"char":"↵",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{"char":"↶",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↷",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↸",desc:"NORTH WEST ARROW TO LONG BAR"},{"char":"↹",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{"char":"↺",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{"char":"↻",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{"char":"↼",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{"char":"↽",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"↾",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"↿",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇀",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{"char":"⇁",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"⇂",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"⇃",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇄",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{"char":"⇅",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{"char":"⇆",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{"char":"⇇",desc:"LEFTWARDS PAIRED ARROWS"},{"char":"⇈",desc:"UPWARDS PAIRED ARROWS"},{"char":"⇉",desc:"RIGHTWARDS PAIRED ARROWS"},{"char":"⇊",desc:"DOWNWARDS PAIRED ARROWS"},{"char":"⇋",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{"char":"⇌",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{"char":"⇍",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇎",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{"char":"⇏",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇐",desc:"LEFTWARDS DOUBLE ARROW"},{"char":"⇑",desc:"UPWARDS DOUBLE ARROW"},{"char":"⇒",desc:"RIGHTWARDS DOUBLE ARROW"},{"char":"⇓",desc:"DOWNWARDS DOUBLE ARROW"},{"char":"⇔",desc:"LEFT RIGHT DOUBLE ARROW"},{"char":"⇕",desc:"UP DOWN DOUBLE ARROW"},{"char":"⇖",desc:"NORTH WEST DOUBLE ARROW"},{"char":"⇗",desc:"NORTH EAST DOUBLE ARROW"},{"char":"⇘",desc:"SOUTH EAST DOUBLE ARROW"},{"char":"⇙",desc:"SOUTH WEST DOUBLE ARROW"},{"char":"⇚",desc:"LEFTWARDS TRIPLE ARROW"},{"char":"⇛",desc:"RIGHTWARDS TRIPLE ARROW"},{"char":"⇜",desc:"LEFTWARDS SQUIGGLE ARROW"},{"char":"⇝",desc:"RIGHTWARDS SQUIGGLE ARROW"},{"char":"⇞",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇟",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇠",desc:"LEFTWARDS DASHED ARROW"},{"char":"⇡",desc:"UPWARDS DASHED ARROW"},{"char":"⇢",desc:"RIGHTWARDS DASHED ARROW"},{"char":"⇣",desc:"DOWNWARDS DASHED ARROW"},{"char":"⇤",desc:"LEFTWARDS ARROW TO BAR"},{"char":"⇥",desc:"RIGHTWARDS ARROW TO BAR"},{"char":"⇦",desc:"LEFTWARDS WHITE ARROW"},{"char":"⇧",desc:"UPWARDS WHITE ARROW"},{"char":"⇨",desc:"RIGHTWARDS WHITE ARROW"},{"char":"⇩",desc:"DOWNWARDS WHITE ARROW"},{"char":"⇪",desc:"UPWARDS WHITE ARROW FROM BAR"},{"char":"⇫",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{"char":"⇬",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{"char":"⇭",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"},{"char":"⇮",desc:"UPWARDS WHITE DOUBLE ARROW"},{"char":"⇯",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{"char":"⇰",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{"char":"⇱",desc:"NORTH WEST ARROW TO CORNER"},{"char":"⇲",desc:"SOUTH EAST ARROW TO CORNER"},{"char":"⇳",desc:"UP DOWN WHITE ARROW"},{"char":"⇴",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{"char":"⇵",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{"char":"⇶",desc:"THREE RIGHTWARDS ARROWS"},{"char":"⇷",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇸",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇹",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{"char":"⇺",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇻",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇼",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇽",desc:"LEFTWARDS OPEN-HEADED ARROW"},{"char":"⇾",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{"char":"⇿",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math","char":"∀",list:[{"char":"∀",desc:"FOR ALL"},{"char":"∂",desc:"PARTIAL DIFFERENTIAL"},{"char":"∃",desc:"THERE EXISTS"},{"char":"∅",desc:"EMPTY SET"},{"char":"∇",desc:"NABLA"},{"char":"∈",desc:"ELEMENT OF"},{"char":"∉",desc:"NOT AN ELEMENT OF"},{"char":"∋",desc:"CONTAINS AS MEMBER"},{"char":"∏",desc:"N-ARY PRODUCT"},{"char":"∑",desc:"N-ARY SUMMATION"},{"char":"−",desc:"MINUS SIGN"},{"char":"∗",desc:"ASTERISK OPERATOR"},{"char":"√",desc:"SQUARE ROOT"},{"char":"∝",desc:"PROPORTIONAL TO"},{"char":"∞",desc:"INFINITY"},{"char":"∠",desc:"ANGLE"},{"char":"∧",desc:"LOGICAL AND"},{"char":"∨",desc:"LOGICAL OR"},{"char":"∩",desc:"INTERSECTION"},{"char":"∪",desc:"UNION"},{"char":"∫",desc:"INTEGRAL"},{"char":"∴",desc:"THEREFORE"},{"char":"∼",desc:"TILDE OPERATOR"},{"char":"≅",desc:"APPROXIMATELY EQUAL TO"},{"char":"≈",desc:"ALMOST EQUAL TO"},{"char":"≠",desc:"NOT EQUAL TO"},{"char":"≡",desc:"IDENTICAL TO"},{"char":"≤",desc:"LESS-THAN OR EQUAL TO"},{"char":"≥",desc:"GREATER-THAN OR EQUAL TO"},{"char":"⊂",desc:"SUBSET OF"},{"char":"⊃",desc:"SUPERSET OF"},{"char":"⊄",desc:"NOT A SUBSET OF"},{"char":"⊆",desc:"SUBSET OF OR EQUAL TO"},{"char":"⊇",desc:"SUPERSET OF OR EQUAL TO"},{"char":"⊕",desc:"CIRCLED PLUS"},{"char":"⊗",desc:"CIRCLED TIMES"},{"char":"⊥",desc:"UP TACK"}]},{title:"Misc","char":"♠",list:[{"char":"♠",desc:"BLACK SPADE SUIT"},{"char":"♣",desc:"BLACK CLUB SUIT"},{"char":"♥",desc:"BLACK HEART SUIT"},{"char":"♦",desc:"BLACK DIAMOND SUIT"},{"char":"♩",desc:"QUARTER NOTE"},{"char":"♪",desc:"EIGHTH NOTE"},{"char":"♫",desc:"BEAMED EIGHTH NOTES"},{"char":"♬",desc:"BEAMED SIXTEENTH NOTES"},{"char":"♭",desc:"MUSIC FLAT SIGN"},{"char":"♮",desc:"MUSIC NATURAL SIGN"},{"char":"☀",desc:"BLACK SUN WITH RAYS"},{"char":"☁",desc:"CLOUD"},{"char":"☂",desc:"UMBRELLA"},{"char":"☃",desc:"SNOWMAN"},{"char":"☕",desc:"HOT BEVERAGE"},{"char":"☘",desc:"SHAMROCK"},{"char":"☯",desc:"YIN YANG"},{"char":"✔",desc:"HEAVY CHECK MARK"},{"char":"✖",desc:"HEAVY MULTIPLICATION X"},{"char":"❄",desc:"SNOWFLAKE"},{"char":"❛",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❜",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❝",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❞",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❤",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(It.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),It.PLUGINS.specialCharacters=function(h){var m=h.$,a=h.opts.specialCharactersSets[0],i=h.opts.specialCharactersSets,o="";function s(){return'\n
    \n '.concat(function t(e,a){var n="";return e.forEach(function(e){var t={elementClass:e.title===a.title?"fr-active fr-active-tab":"",title:e.title,dataParam1:e.title,desc:e["char"]};n+='")}),n}(i,a),'\n
    \n
    \n ').concat(function n(e){var a="";return e.list.forEach(function(e){var t={dataParam1:e["char"],title:e.desc,splCharValue:e["char"]};a+='').concat(t.splCharValue,"")}),a}(a),"\n
    ")}return{setSpecialCharacterCategory:function n(t){a=i.filter(function(e){return e.title===t})[0],function e(){h.popups.get("specialCharacters").html(o+s())}()},showSpecialCharsPopup:function l(){var e=h.popups.get("specialCharacters");if(e||(e=function r(){h.opts.toolbarInline&&0'.concat(h.button.buildList(h.opts.specialCharButtons),""));var e={buttons:o,custom_layer:s()},t=h.popups.create("specialCharacters",e);return function a(g){h.events.on("popup.tab",function(e){var t=m(e.currentTarget);if(!h.popups.isVisible("specialCharacters")||!t.is("span, a"))return!0;var a,n,i,r=e.which;if(It.KEYCODE.TAB==r){if(t.is("span.fr-icon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var o=g.find(".fr-buttons");a=!h.accessibility.focusToolbar(o,!!e.shiftKey)}if(!1!==a){var s=g.find("span.fr-icon:focus").first().concat(g.findVisible(" span.fr-icon").first().concat(g.find("a")));t.is("span.fr-icon")&&(s=s.not("span.fr-icon:not(:focus)")),n=s.index(t),n=e.shiftKey?((n-1)%s.length+s.length)%s.length:(n+1)%s.length,i=s.get(n),h.events.disableBlur(),i.focus(),a=!1}}else if(It.KEYCODE.ARROW_UP==r||It.KEYCODE.ARROW_DOWN==r||It.KEYCODE.ARROW_LEFT==r||It.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-icon")){var l=t.parent().find("span.fr-icon");n=l.index(t);var c=Math.floor(l.length/11),d=n%11,f=Math.floor(n/11),p=11*f+d,u=11*c;It.KEYCODE.ARROW_UP==r?p=((p-11)%u+u)%u:It.KEYCODE.ARROW_DOWN==r?p=(p+11)%u:It.KEYCODE.ARROW_LEFT==r?p=((p-1)%u+u)%u:It.KEYCODE.ARROW_RIGHT==r&&(p=(p+1)%u),i=m(l.get(p)),h.events.disableBlur(),i.focus(),a=!1}}else It.KEYCODE.ENTER==r&&(t.is("a")?t[0].click():h.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(t),t}()),!e.hasClass("fr-active")){h.popups.refresh("specialCharacters"),h.popups.setContainer("specialCharacters",h.$tb);var t=h.$tb.find('.fr-command[data-cmd="specialCharacters"]'),a=h.button.getPosition(t),n=a.left,i=a.top;h.popups.show("specialCharacters",n,i,outerHeight)}},back:function e(){h.popups.hide("specialCharacters"),h.toolbar.showInline()}}},It.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),It.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),It.RegisterCommand("insertSpecialCharacter",{callback:function(e,t){this.undo.saveStep(),this.html.insert(t),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),It.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(e,t){this.specialCharacters.setSpecialCharacterCategory(t)}}),It.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}}),Object.assign(It.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(It.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackground","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),It.PLUGINS.table=function(T){var C,c,i,r,n,o,R,w=T.$;function u(){var e=S();if(e){var t=T.popups.get("table.edit");if(t||(t=p()),t){T.popups.setContainer("table.edit",T.$sc);var a=k(e),n=a.left+(a.right-a.left)/2,i=a.bottom;T.popups.show("table.edit",n,i,a.bottom-a.top,!0),T.edit.isDisabled()&&(1"));var t="";T.opts.colorsHEXInput&&(t='
    "));var a={buttons:e,colors:function i(){for(var e='
    ',t=0;t"),"REMOVE"!=T.opts.tableColors[t]?e+='').concat(T.language.translate("Color")," ").concat(T.opts.tableColors[t],"   "):e+='').concat(T.icon.create("tableColorRemove"),'').concat(T.language.translate("Clear Formatting"),"");return e+="
    "}(),custom_color:t},n=T.popups.create("table.colors",a);return T.events.$on(T.$wp,"scroll.table-colors",function(){T.popups.isVisible("table.colors")&&s()}),function r(g){T.events.on("popup.tab",function(e){var t=w(e.currentTarget);if(!T.popups.isVisible("table.colors")||!t.is("span"))return!0;var a=e.which,n=!0;if(It.KEYCODE.TAB==a){var i=g.find(".fr-buttons");n=!T.accessibility.focusToolbar(i,!!e.shiftKey)}else if(It.KEYCODE.ARROW_UP==a||It.KEYCODE.ARROW_DOWN==a||It.KEYCODE.ARROW_LEFT==a||It.KEYCODE.ARROW_RIGHT==a){var r=t.parent().find("span.fr-command"),o=r.index(t),s=T.opts.colorsStep,l=Math.floor(r.length/s),c=o%s,d=Math.floor(o/s),f=d*s+c,p=l*s;It.KEYCODE.ARROW_UP==a?f=((f-s)%p+p)%p:It.KEYCODE.ARROW_DOWN==a?f=(f+s)%p:It.KEYCODE.ARROW_LEFT==a?f=((f-1)%p+p)%p:It.KEYCODE.ARROW_RIGHT==a&&(f=(f+1)%p);var u=w(r.get(f));T.events.disableBlur(),u.focus(),n=!1}else It.KEYCODE.ENTER==a&&(T.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(n),n}()),T.popups.setContainer("table.colors",T.$sc);var a=k(e),n=(a.left+a.right)/2,i=a.bottom;!function r(){var e=T.popups.get("table.colors"),t=T.$el.find(".fr-selected-cell").first(),a=T.helpers.RGBToHex(t.css("background-color")),n=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),e.find('span[data-param1="'.concat(a,'"]')).addClass("fr-selected-color fr-active-item"),n.val(a).trigger("change")}(),T.popups.show("table.colors",n,i,a.bottom-a.top,!0)}}function l(){0===J().length&&T.toolbar.enable()}function d(e){if(e)return T.popups.onHide("table.insert",function(){T.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var t="";0'.concat(T.button.buildList(T.opts.tableInsertButtons),""));var a={buttons:t,rows_columns:function r(){for(var e='
    1 × 1
    ',t=1;t<=T.opts.tableInsertMaxSize;t++){for(var a=1;a<=T.opts.tableInsertMaxSize;a++){var n="inline-block";2').concat(t," × ").concat(a,"   ")}e+='
    '}return e+="
    "}()},n=T.popups.create("table.insert",a);return T.events.$on(n,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){f(w(e.currentTarget))},!0),function i(e){T.events.$on(e,"focus","[tabIndex]",function(e){var t=w(e.currentTarget);f(t)}),T.events.on("popup.tab",function(e){var t=w(e.currentTarget);if(!T.popups.isVisible("table.insert")||!t.is("span, a"))return!0;var a,n=e.which;if(It.KEYCODE.ARROW_UP==n||It.KEYCODE.ARROW_DOWN==n||It.KEYCODE.ARROW_LEFT==n||It.KEYCODE.ARROW_RIGHT==n){if(t.is("span.fr-table-cell")){var i=t.parent().find("span.fr-table-cell"),r=i.index(t),o=T.opts.tableInsertMaxSize,s=r%o,l=Math.floor(r/o);It.KEYCODE.ARROW_UP==n?l=Math.max(0,l-1):It.KEYCODE.ARROW_DOWN==n?l=Math.min(T.opts.tableInsertMaxSize-1,l+1):It.KEYCODE.ARROW_LEFT==n?s=Math.max(0,s-1):It.KEYCODE.ARROW_RIGHT==n&&(s=Math.min(T.opts.tableInsertMaxSize-1,s+1));var c=l*o+s,d=w(i.get(c));f(d),T.events.disableBlur(),d.focus(),a=!1}}else It.KEYCODE.ENTER==n&&(T.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(n),n}function f(e){var t=e.data("row");null!==t&&(t=parseInt(t));var a=e.data("col");null!==a&&(a=parseInt(a));var n=e.parent();n.siblings(".fr-table-size-info").html("".concat(t," × ").concat(a)),n.find("> span").removeClass("hover fr-active-item");for(var i=1;i<=T.opts.tableInsertMaxSize;i++)for(var r=0;r<=T.opts.tableInsertMaxSize;r++){var o=n.find('> span[data-row="'.concat(i,'"][data-col="').concat(r,'"]'));i<=t&&r<=a?o.addClass("hover"):i<=t+1||i<=2&&!T.helpers.isMobile()?o.css("display","inline-block"):2'.concat(T.button.buildList(T.opts.tableEditButtons),"")},a=T.popups.create("table.edit",t);return T.events.$on(T.$wp,"scroll.table-edit",function(){T.popups.isVisible("table.edit")&&u()}),a}return!1}function g(){if(0
    '}s+="",i=0 table tbody"))):w(t.find("tr").not(t.find("> table tr")).get(n)),"below"==e?"TBODY"==i.attr("tagName")?i.prepend(s):i[0].parentNode&&i[0].insertAdjacentHTML("afterend",s):"above"==e&&(i.before(s),T.popups.isVisible("table.edit")&&u())}}function m(e,t,a){var n,i,r,o,s,l=0,c=S(a);if(e<(t=Math.min(t,c[0].length-1)))for(i=e;i<=t;i++)if(!(e table tr")).each(function(s,e){var t=w(e),l=0;t.find("> th, > td").each(function(e,t){for(var a=w(t),n=parseInt(a.attr("colspan"),10)||1,i=parseInt(a.attr("rowspan"),10)||1,r=s;r")),C=T.shared.$table_resizer,T.events.$on(C,"mousedown",function(e){return!T.core.sameInstance(C)||(0a-T.opts.tableResizerOffset?C.css("left",a-T.opts.tableResizerOffset-T.$wp.offset().left):n')),T.events.bindClick(T.shared.$ti_helper,"a",function(){var e=c.data("selected-cell"),t=c.data("position"),a=c.data("instance")||T;"before"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"after"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"above"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"below"==t&&(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()),H()}),T.events.on("shared.destroy",function(){T.shared.$ti_helper.html("").removeData().remove(),T.shared.$ti_helper=null},!0),T.events.$on(T.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),T.events.$on(w(T.o_win),"scroll",function(){H()},!0),T.events.$on(T.$wp,"scroll",function(){H()},!0)),c=T.shared.$ti_helper,T.events.on("destroy",function(){c=null}),T.tooltip.bind(T.$box,".fr-insert-helper > a.fr-floating-btn")}function Q(){n=null,clearTimeout(o)}function J(){return T.el.querySelectorAll(".fr-selected-cell")}function Z(){var e=J();if(e.length){for(var t=e[0];t&&t.parentNode!=T.el;)t=t.parentNode;return t&&"TABLE"==t.tagName?w(t):w([])}return w([])}function ee(e){i=!1}return{_init:function te(){if(!T.$wp)return!1;if(!T.helpers.isMobile()){R=i=r=!1,T.events.$on(T.$el,"mousedown",e),T.popups.onShow("image.edit",function(){y(),i=r=!1}),T.popups.onShow("link.edit",function(){y(),i=r=!1}),T.events.on("commands.mousedown",function(e){0"),a==t.length-1&&w(t[a]).prepend(It.MARKERS);return T.selection.restore(),T.undo.saveStep(),!(t=[])}if(1',r=100/t;for(a=0;a",n=0;n",0===a&&0===n&&(i+=It.MARKERS),i+="
    ";i+=""}i+="",T.html.insert(i),T.selection.restore();var o=T.$el.find(".fr-inserted-table");o.removeClass("fr-inserted-table"),T.events.trigger("table.inserted",[o.get(0)])},remove:g,insertRow:h,deleteRow:function ne(){var e=Z();if(0=r.min_i;t--){for(n=w(e.find("tr").not(e.find("> table tr")).get(t)),a=0;a table tr")).get(t+1)).prepend(l):w(i[t+1][c-1])[0].parentNode&&w(i[t+1][c-1])[0].insertAdjacentElement("afterend",l)}}var d=n.parent();n.remove(),0===d.find("tr").length&&d.remove(),i=S(e)}E(0,i.length-1,0,i[0].length-1,e),0 table tr")).each(function(e){for(var t,a=w(this),n=0,i=0;n-1 th, > td").get(i))){t=null;break}t==d[e][n]?(n+=parseInt(w(t).attr("colspan"),10)||1,i++):(n+=parseInt(w(d[e][n]).attr("colspan"),10)||1,"after"==l&&(t=0===i?-1:a.find("> th, > td").get(i-1)))}var r,o=w(t);if("after"==l&&c
    '):'
    '),-1==t?a.prepend(r):null==t?a.append(r):"before"==l?o.before(r):"after"==l&&o[0].parentNode&&o[0].insertAdjacentHTML("afterend",r)}),e.find("th, td").each(function(){(a=w(this)).data("old-width")&&(a.css("width",(a.data("old-width")*p/f).toFixed(4)+"%"),a.removeData("old-width"))}),T.popups.isVisible("table.edit")&&u()}},deleteColumn:function re(){var e=Z();if(0r.max_j)&&(o+=n.outerWidth()/e.outerWidth()*100));for(o/=i.length,a=r.max_j;a>=r.min_j;a--)for(t=0;t th, > td").length&&(0===l.prev().length||0===l.next().length||l.prev().find("> th[rowspan], > td[rowspan]").length th, > td").length)&&l.remove()}E(0,i.length-1,0,i[0].length-1,e),0"!=(t=w(n[e])).html()&&""!==t.html()&&(s+="
    ".concat(t.html())),t.remove();i.html(s),T.selection.setAtEnd(i.get(0)),T.selection.restore(),T.toolbar.enable(),v(a.min_i,a.max_i,o);var c=o.find("tr:empty");for(e=c.length-1;0<=e;e--)w(c[e]).remove();m(a.min_j,a.max_j,o),u()}},splitCellVertically:function se(){if(1==J().length){var e=T.$el.find(".fr-selected-cell"),t=parseInt(e.attr("colspan"),10)||1,a=e.parent().outerWidth(),n=e.outerWidth(),i=e.clone().html("
    "),r=S(),o=_(e.get(0),r);if(1");if(1 table tr")).get(l)).prepend(o):w(i[l][c])[0].parentNode&&w(i[l][c])[0].insertAdjacentElement("afterend",o[0])}else{var d,f=w(document.createElement("tr")).append(o);for(d=0;d td").each(function(){var e=w(this);n+=parseInt(e.attr("colspan"),10)||1}),t=0;t
    ";a+="",e.prepend(a),u()}},removeHeader:function de(){var e=Z(),t=e.find("thead");if(0'+this.language.translate(t[a])+"");return e+=""},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),It.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),It.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var e='"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),It.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),It.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var a=this.$,n=this.$el.find(".fr-selected-cell").closest("table");n&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=n.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),It.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),It.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),It.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),It.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),It.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),It.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),It.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),It.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),It.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),It.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),a=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(a(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),It.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),It.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var a=this.$,n=this.$el.find(".fr-selected-cell").first();n&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=n.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),It.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),It.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"}),It.URLRegEx="(^| |\\u00A0)(".concat(It.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),It.PLUGINS.url=function(o){var s=o.$,r=null;function t(e,t,a){for(var n="";a.length&&"."==a[a.length-1];)n+=".",a=a.substring(0,a.length-1);var i=a;if(o.opts.linkConvertEmailAddress)o.helpers.isEmail(i)&&!/^mailto:.*/i.test(i)&&(i="mailto:".concat(i));else if(o.helpers.isEmail(i))return t+a;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(i)||(i="//".concat(i)),(t||"")+"').concat(a.replace(/&/g,"&").replace(/&/g,"&").replace(//g,">"),"").concat(n)}var l=function l(){return new RegExp(It.URLRegEx,"gi")};function c(e){return o.opts.linkAlwaysNoFollow&&(r="nofollow"),o.opts.linkAlwaysBlank&&(o.opts.linkNoOpener&&(r?r+=" noopener":r="noopener"),o.opts.linkNoReferrer&&(r?r+=" noreferrer":r="noreferrer")),e.replace(l(),t)}function d(e){var t=e.split(" ");return t[t.length-1]}function a(){var e=o.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||"").length)return!1;if(function r(e){return!!e&&("A"===e.tagName||!(!e.parentNode||e.parentNode==o.el)&&r(e.parentNode))}(t))return!1;if(l().test(d(t.textContent))){s(t).before(c(t.textContent));var a=s(t.parentNode).find("a[data-fr-linked]");a.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),o.events.trigger("url.linked",[a.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var n=t.previousSibling.innerText+t.textContent;if(l().test(d(n))){var i=(new DOMParser).parseFromString(c(n),"text/html").body.childNodes;t.parentNode.replaceChild(i[0],t.previousSibling),i.length&&s(t).before(i[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){o.events.on("keypress",function(e){!o.selection.isCollapsed()||"."!=e.key&&")"!=e.key&&"("!=e.key||a()},!0),o.events.on("keydown",function(e){var t=e.which;!o.selection.isCollapsed()||t!=It.KEYCODE.ENTER&&t!=It.KEYCODE.SPACE||a()},!0),o.events.on("paste.beforeCleanup",function(e){if(o.helpers.isURL(e)){var t=null;return o.opts.linkAlwaysBlank&&(o.opts.linkNoOpener&&(t?t+=" noopener":t="noopener"),o.opts.linkNoReferrer&&(t?t+=" noreferrer":t="noreferrer")),"').concat(e,"")}})}}},Object.assign(It.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(It.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),It.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],It.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,It.PLUGINS.video=function(A){var s,d,f,y,n,a,T=A.$,C="https://i.froala.com/upload",p=2,u=3,g=4,R=5,w=6,i={};function h(){var e=A.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function r(){var e=A.popups.get("video.edit");if(e||(e=function o(){var e="";if(0 \n '.concat(A.button.buildList(A.opts.videoEditButtons)," \n ")},a=A.popups.create("video.edit",t);return A.events.$on(A.$wp,"scroll.video-edit",function(){y&&A.popups.isVisible("video.edit")&&(A.events.disableBlur(),E(y))}),a}return!1}()),e){A.popups.setContainer("video.edit",A.$sc),A.popups.refresh("video.edit");var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight(),i=t.get(0).src?t.get(0).src:null,r=!(!(i=(i=i.split("."))[i.length-1]).includes("pdf")&&!i.includes("txt"));t.hasClass("fr-file")||r||y.find("audio").get(0)?(document.getElementById("autoplay-".concat(A.id))&&(document.getElementById("autoplay-".concat(A.id)).style.display="none"),document.getElementById("videoReplace-".concat(A.id))&&(document.getElementById("videoReplace-".concat(A.id)).style.display="none")):(document.getElementById("autoplay-".concat(A.id)).style.display="",document.getElementById("videoReplace-".concat(A.id)).style.display=""),A.popups.show("video.edit",a,n,t.outerHeight(),!0)}}function o(e){if(e)return A.popups.onRefresh("video.insert",h),A.popups.onHide("video.insert",X),!0;var t="";A.opts.videoUpload||-1===A.opts.videoInsertButtons.indexOf("videoUpload")||A.opts.videoInsertButtons.splice(A.opts.videoInsertButtons.indexOf("videoUpload"),1);var a=A.button.buildList(A.opts.videoInsertButtons);""!==a&&(t='
    '+a+"
    ");var n,i="",r=A.opts.videoInsertButtons.indexOf("videoUpload"),o=A.opts.videoInsertButtons.indexOf("videoByURL"),s=A.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=o){n=" fr-active",(r
    ').concat('','
    ")}var l="";0<=s&&(n=" fr-active",(r
    "));var c="";0<=r&&(n=" fr-active",(s').concat(A.language.translate("Drop video"),"
    (").concat(A.language.translate("or click"),')
    '));var d={buttons:t,by_url_layer:i,embed_layer:l,upload_layer:c,progress_bar:'

    Uploading

    '},f=A.popups.create("video.insert",d);return function p(n){A.events.$on(n,"dragover dragenter",".fr-video-upload-layer",function(){return T(this).addClass("fr-drop"),!1},!0),A.events.$on(n,"dragleave dragend",".fr-video-upload-layer",function(){return T(this).removeClass("fr-drop"),!1},!0),A.events.$on(n,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),T(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=n.data("instance")||A;a.events.disableBlur(),a.video.upload(t.files),a.events.enableBlur()}},!0),A.helpers.isIOS()&&A.events.$on(n,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){T(this).trigger("click")},!0);A.events.$on(n,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||A;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}T(this).val("")},!0)}(f),f}function l(e){A.events.focus(!0),A.selection.restore();var t=!1;y&&(j(),t=!0),A.html.insert(''.concat(e,""),!1,A.opts.videoSplitHTML),A.popups.hide("video.insert");var a=A.$el.find(".fr-jiv");a.removeClass("fr-jiv"),a.toggleClass("fr-rv",A.opts.videoResponsive),Q(a,A.opts.videoDefaultDisplay,A.opts.videoDefaultAlign),a.toggleClass("fr-draggable",A.opts.videoMove),A.events.trigger(t?"video.replaced":"video.inserted",[a])}function m(){var e=T(this);A.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),E(e.parent()),A.events.trigger("video.loaded",[e.parent()])}function S(s,e,c,d,f){A.edit.off(),v("Loading video"),e&&(s=A.helpers.sanitizeURL(s));var p=function p(){var e,t;if(d){A.undo.canDo()||d.find("video").hasClass("fr-uploading")||A.undo.saveStep();var a=d.find("video").data("fr-old-src"),n=d.data("fr-replaced");d.data("fr-replaced",!1),A.$wp?((e=d.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),a&&d.find("video").attr("src",a),d.replaceWith(e)):e=d;for(var i=e.find("video").get(0).attributes,r=0;r"+A.language.translate("Your browser does not support HTML5 video.")+"");o.toggleClass("fr-draggable",A.opts.videoMove),A.edit.on(),A.events.focus(!0),A.selection.restore(),A.undo.saveStep(),A.opts.videoSplitHTML?A.markers.split():A.markers.insert();A.html.wrap();var s=A.$el.find(".fr-marker");A.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent());s.replaceWith(o),A.selection.clear(),o.find("video").get(0).readyState>o.find("video").get(0).HAVE_FUTURE_DATA||A.helpers.isIOS()?a.call(o.find("video").get(0)):o.find("video").on("canplaythrough load",a);return o}(s,c,m),N(),A.undo.saveStep(),A.events.trigger("video.inserted",[e,f])};_("Loading video"),p()}function _(e){var t=A.popups.get("video.insert");if(t||(t=o()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),y){var a=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));A.popups.setContainer("video.insert",A.$sc);var n=a.offset().left,i=a.offset().top+a.height();A.popups.show("video.insert",n,i,a.outerHeight())}void 0===e&&v(A.language.translate("Uploading"),0)}function c(e){var t=A.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||A.$el.find("video.fr-error").length)){if(A.events.focus(),A.$el.find("video.fr-error").length&&(A.$el.find("video.fr-error").parent().remove(),A.undo.saveStep(),A.undo.run(),A.undo.dropRedo()),!A.$wp&&y){var a=y;U(!0),A.selection.setAfter(a.find("video").get(0)),A.selection.restore()}A.popups.hide("video.insert")}}function v(e,t){var a=A.popups.get("video.insert");if(a){var n=a.find(".fr-video-progress-bar-layer");n.find("h3").text(e+(t?" ".concat(t,"%"):"")),n.removeClass("fr-error"),t?(n.find("div").removeClass("fr-indeterminate"),n.find("div > span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function b(e){_();var t=A.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),A.events.disableBlur(),a.focus()}function E(e){t.call(e.get(0))}function L(e,t,a){v("Loading video");var n=this.status,i=this.response,r=this.responseXML,o=this.responseText;try{if(A.opts.videoUploadToS3||A.opts.videoUploadToAzure)if(201==n){var s;if(A.opts.videoUploadToAzure){if(!1===A.events.trigger("video.uploadedToAzure",[this.responseURL,a,i],!0))return A.edit.on(),!1;s=t}else s=function c(e){try{var t=T(e).find("Location").text(),a=T(e).find("Key").text();return!1===A.events.trigger("video.uploadedToS3",[t,a,e],!0)?(A.edit.on(),!1):t}catch(n){return z(g,e),!1}}(r);s&&S(s,!1,[],e,i||r)}else z(g,i||r);else if(200<=n&&n<300){var l=function d(e){try{if(!1===A.events.trigger("video.uploaded",[e],!0))return A.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(z(p,e),!1)}catch(a){return z(g,e),!1}}(o);l&&S(l.link,!1,l,e,i||o)}else z(u,i||o)}catch(f){z(g,i||o)}}function I(){z(g,this.response||this.responseText||this.responseXML)}function x(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;v(A.language.translate("Uploading"),t)}}function k(){A.edit.on(),c(!0)}function O(e){if(!A.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),a=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!a)return!1;if("mousedown"==e.type){var n=A.$oel.get(0).ownerDocument,i=n.defaultView||n.parentWindow,r=!1;try{r=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(o){}r&&i.frameElement&&(t+=A.helpers.getPX(T(i.frameElement).offset().left)+i.frameElement.clientLeft,a=e.clientY+A.helpers.getPX(T(i.frameElement).offset().top)+i.frameElement.clientTop)}A.undo.canDo()||A.undo.saveStep(),(d=T(this)).data("start-x",t),d.data("start-y",a),s.show(),A.popups.hideAll(),W()}function F(e){if(!A.core.sameInstance(f))return!0;if(d){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),a=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!a)return!1;var n=d.data("start-x"),i=d.data("start-y");d.data("start-x",t),d.data("start-y",a);var r=t-n,o=a-i,s=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),l=s.width(),c=s.height();(d.hasClass("fr-hnw")||d.hasClass("fr-hsw"))&&(r=0-r),(d.hasClass("fr-hnw")||d.hasClass("fr-hne"))&&(o=0-o),s.css("width",l+r),s.css("height",c+o),s.removeAttr("width"),s.removeAttr("height"),P()}}function D(e){if(!A.core.sameInstance(f))return!0;d&&y&&(e&&e.stopPropagation(),d=null,s.hide(),P(),r(),A.undo.saveStep())}function M(e){return'
    ')}function B(e,t,a,n){return e.pageX=t,e.pageY=t,O.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,n)),e.pageY=e.pageY+a*Math.floor(Math.pow(1.1,n)),F.call(this,e),D.call(this,e),++n}function N(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("video, .fr-video > *")),a=[];for(e=0;eA.opts.videoMaxSize)return z(R),!1;if(A.opts.videoAllowedTypes.indexOf(a.type.replace(/video\//g,""))<0)return z(w),!1;if(A.drag_support.formdata&&(t=A.drag_support.formdata?new FormData:null),t){var n;if(!1!==A.opts.videoUploadToS3)for(n in t.append("key",A.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",a.type),A.opts.videoUploadToS3.params)A.opts.videoUploadToS3.params.hasOwnProperty(n)&&t.append(n,A.opts.videoUploadToS3.params[n]);for(n in A.opts.videoUploadParams)A.opts.videoUploadParams.hasOwnProperty(n)&&t.append(n,A.opts.videoUploadParams[n]);t.append(A.opts.videoUploadParam,a);var i,r,o=A.opts.videoUploadURL;A.opts.videoUploadToS3&&(o=A.opts.videoUploadToS3.uploadURL?A.opts.videoUploadToS3.uploadURL:"https://".concat(A.opts.videoUploadToS3.region,".amazonaws.com/").concat(A.opts.videoUploadToS3.bucket));var s=A.opts.videoUploadMethod;A.opts.videoUploadToAzure&&(o=A.opts.videoUploadToAzure.uploadURL?"".concat(A.opts.videoUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(A.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.videoUploadToAzure.container,"/").concat(a.name)),i=o,A.opts.videoUploadToAzure.SASToken&&(o+=A.opts.videoUploadToAzure.SASToken),s="PUT");var l=A.core.getXHR(o,s);if(A.opts.videoUploadToAzure){var c=(new Date).toUTCString();if(!A.opts.videoUploadToAzure.SASToken&&A.opts.videoUploadToAzure.accessKey){var d=A.opts.videoUploadToAzure.account,f=A.opts.videoUploadToAzure.container;if(A.opts.videoUploadToAzure.uploadURL){var p=A.opts.videoUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+d+"/"+f+"/"+a.name),h=s+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+u+"\n"+g,m=A.cryptoJSPlugin.cryptoJS.HmacSHA256(h,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.videoUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;r=m,l.setRequestHeader("Authorization",v)}for(n in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",a.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.videoUploadParams)A.opts.videoUploadParams.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.videoUploadParams[n]);for(n in A.opts.videoUploadToAzure.params)A.opts.videoUploadToAzure.params.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.videoUploadToAzure.params[n])}l.onload=function(){L.call(l,y,i,r)},l.onerror=I,l.upload.onprogress=x,l.onabort=k,_(),A.events.disableBlur(),A.edit.off(),A.events.enableBlur();var b=A.popups.get("video.insert");b&&T(b.off("abortUpload")).on("abortUpload",function(){4!=l.readyState&&l.abort()}),l.send(A.opts.videoUploadToAzure?a:t)}}}function z(e,t){A.edit.on(),y&&y.find("video").addClass("fr-error"),b(A.language.translate("Something went wrong. Please try again.")),A.events.trigger("video.error",[{code:e,message:i[e]},t])}function G(){if(y){var e=A.popups.get("video.size"),t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function Y(e){if(e)return A.popups.onRefresh("video.size",G),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.videoSizeButtons),"
    "),size_layer:'
    ")},a=A.popups.create("video.size",t);return A.events.$on(A.$wp,"scroll",function(){y&&A.popups.isVisible("video.size")&&(A.events.disableBlur(),E(y))}),a}function V(e){if(void 0===e&&(e=y),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function q(e){void 0===e&&(e=y);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function j(){if(y&&!1!==A.events.trigger("video.beforeRemove",[y])){var e=y;A.popups.hideAll(),U(!0),A.selection.setBefore(e.get(0))||A.selection.setAfter(e.get(0)),e.remove(),A.selection.restore(),A.html.fillEmptyBlocks()}}function X(){c()}function Q(e,t,a){!A.opts.htmlUntouched&&A.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(a[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==a?e.css({"float":"none"}):"left"==a?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==a?e.css({textAlign:"left"}):"right"==a?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function J(){var e=A.$el.find("video").filter(function(){return 0===T(this).parents("span.fr-video").length});if(0!=e.length){e.wrap(T(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),A.$el.find("embed, iframe").filter(function(){if(A.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0*").first().replaceWith(A.icon.create("video-align-".concat(V())))},refreshAlignOnShow:function fe(e,t){y&&t.find('.fr-command[data-param1="'.concat(V(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function pe(e){y.removeClass("fr-dvi fr-dvb"),!A.opts.htmlUntouched&&A.opts.useClasses?"inline"==e?y.addClass("fr-dvi"):"block"==e&&y.addClass("fr-dvb"):Q(y,e,V()),ee(),P(),r(),A.selection.clear()},refreshDisplayOnShow:function ue(e,t){y&&t.find('.fr-command[data-param1="'.concat(q(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:j,hideProgressBar:c,showSizePopup:function ge(){var e=A.popups.get("video.size");e||(e=Y()),c(),A.popups.refresh("video.size"),A.popups.setContainer("video.size",A.$sc);var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.height();A.popups.show("video.size",a,n,t.height(),!0)},replace:function he(){var e=A.popups.get("video.insert");e||(e=o()),A.popups.isVisible("video.insert")||(c(),A.popups.refresh("video.insert"),A.popups.setContainer("video.insert",A.$sc));var t=y.offset().left+y.outerWidth()/2,a=y.offset().top+y.height();A.popups.show("video.insert",t,a,y.outerHeight(),!0)},back:function e(){y?(A.events.disableBlur(),y[0].click()):(A.events.disableBlur(),A.selection.restore(),A.events.enableBlur(),A.popups.hide("video.insert"),A.toolbar.showInline())},setSize:function me(e,t){if(y){var a=A.popups.get("video.size"),n=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));n.css("width",e||a.find('input[name="width"]').val()),n.css("height",t||a.find('input[name="height"]').val()),n.get(0).style.width&&n.removeAttr("width"),n.get(0).style.height&&n.removeAttr("height"),a.find("input:focus").blur(),setTimeout(function(){y.trigger("click")},A.helpers.isAndroid()?50:0)}},get:function ve(){return y},showProgressBar:_,_editVideo:E,setAutoplay:function be(){var e;if(y.find("iframe, embed, audio").get(0))(e=y.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(Z("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(Z("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=y.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))Z("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{Z("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),"autoplay",e.get(0).outerHTML.slice(t)].join("")}}}},It.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),It.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),It.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),It.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),It.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),It.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),It.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),It.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),It.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),It.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),It.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),It.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),It.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),It.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),It.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),It.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),It.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),It.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),It.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),It.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),It.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),It.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),It.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),It.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),It.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),It.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),It.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),It.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Object.assign(It.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),It.PLUGINS.wordPaste=function(y){var o,i,c=y.$,s="word_paste",p={};function t(e){var t=y.opts.wordAllowedStyleProps;e||(y.opts.wordAllowedStyleProps=[]),0===i.indexOf("")&&(i=""+i+"
    "),i=r(i=i.replace(/([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var a="",n=0;n++/gi,"")}function E(e,t){for(var a=document.createElement(t),n=0;n').remove()}}}}function m(e,t){var a=e.tagName,n=a.toLowerCase();e.firstElementChild&&("I"===e.firstElementChild.tagName?E(e.firstElementChild,"em"):"B"===e.firstElementChild.tagName&&E(e.firstElementChild,"strong"));if(-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(a))return T(e),!1;for(var i=["META","LINK","XML","ST1:","O:","W:","FONT"],r=0;r");for(var o=a.firstElementChild,s=1===a.children.length;o;)"P"!==o.tagName||x(o)||s&&C(o),o=o.nextElementSibling;if(t){var l=a.getAttribute("class");if(l){var c=(l=R(l)).match(/xl[0-9]+/gi);if(c){var d="."+c[0];t[d]&&w(a,t[d])}}t.td&&w(a,t.td)}var f=a.getAttribute("style");f&&(f=R(f))&&";"!==f.slice(-1)&&(f+=";");var p=a.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var g=null;if(f){var h=f.match(/text-align:.+?[; "]{1,1}/gi);h&&(g=h[h.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===g&&(g=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=a.getAttribute("colspan"),E=a.getAttribute("rowspan");b&&a.setAttribute("colspan",b),E&&a.setAttribute("rowspan",E),p&&(a.style["vertical-align"]=p),g&&(a.style["text-align"]=g),m&&(a.style["background-color"]=m),r&&a.setAttribute("width",r),a=a.nextElementSibling}for(a=e.firstElementChild;a;)r=a.getAttribute("width"),i?a.removeAttribute("width"):a.setAttribute("width",100*parseInt(r,10)/n+"%"),a=a.nextElementSibling}(e,t),"A"!==a||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==a&&e.getAttribute("href")&&e.querySelector("img"))for(var m=e.querySelectorAll("span"),v=0;v"),"TABLE"===a&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!==e.getAttribute("style").toLowerCase().indexOf("mso")){var b=R(e.getAttribute("style"));(b=b.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",b):e.removeAttribute("style")}return!0}function r(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function d(e){for(var t=e.split("v:shape"),a=1;a ul, ul > ol, ol > ul, ol > ol"),o=r.length-1;0<=o;o--)r[o].previousElementSibling&&"LI"===r[o].previousElementSibling.tagName&&r[o].previousElementSibling.appendChild(r[o]);u(i,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/
    (\n|\r)/gi,"
    "),!1;if(e.nodeType===Node.ELEMENT_NODE){if(x(e)){var t=e.parentNode,a=e.previousSibling,n=function I(e,t,a,n){var i,r,o=/[0-9a-zA-Z]./gi,s=!1,l=navigator.userAgent.toLowerCase();-1!=l.indexOf("safari")&&(l=-1':"<"+f+' style="margin-left:'+E+v+';">',"list-style-type: upper-alpha;"==p){var A=g.charCodeAt(0)-64;h=p?"<"+f+m+' start="'+A+'" style = "'+p+" margin-left:"+E+v+';">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var y=g.charCodeAt(0)-96;h=p?"<"+f+m+' start="'+y+'" style = "'+p+"margin-left:"+E+v+';">':"<"+f+">"}else h=p?"<"+f+m+' style = "'+p+";margin-left:"+E+v+';">':"<"+f+' style="margin-left:'+E+v+';">';else if("list-style-type: upper-alpha;"==p){var T=g.charCodeAt(0)-64;h=p?"<"+f+m+' style = "'+p+' start="'+T+'">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var C=g.charCodeAt(0)-96;h=p?"<"+f+m+' style = "'+p+' start="'+C+'">':"<"+f+">"}else h=p?"<"+f+m+' style = "'+p+'">':"<"+f+">";for(var R=!1;e;){if(!x(e)){if(e.outerHTML&&0"):(1==w&&(h+="",R=!0,r=null),h+=(d=I(e,t,w,e.style.marginLeft)).el.outerHTML,e=d.currentNode);var _=e&&e.nextElementSibling;if(_&&(r=_.previousElementSibling),e&&!x(e)){if(e.outerHTML&&0");var L=document.createElement("div");return L.innerHTML=h,{el:L,currentNode:e}}(e,s).el,i=null;return(i=a?a.nextSibling:t.firstChild)?t.insertBefore(n,i):t.appendChild(n),!1}return"FONT"===e.tagName&&s["."+e.getAttribute("class")]&&(e=E(e,"span")),m(e,s)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1",t=function i(){var e='
    ';return e+='

    '+y.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

    ",e+='
    ",e+="
    "}(),a=y.modals.create(s,e,t),n=a.$body;o=a.$modal,a.$modal.addClass("fr-middle"),y.events.bindClick(n,"button.fr-remove-word",function(){var e=o.data("instance")||y;e.wordPaste.clean()}),y.events.bindClick(n,"button.fr-keep-word",function(){var e=o.data("instance")||y;e.wordPaste.clean(!0)}),y.events.$on(c(y.o_win),"resize",function(){y.modals.resize(s)})}y.modals.show(s),y.modals.resize(s)}():t(y.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:r}}}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(It){"use strict";function xt(e){return(xt="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)}if((It=It&&It.hasOwnProperty("default")?It["default"]:It).PLUGINS.align=function(i){var r=i.$;return{apply:function o(e){var t=i.selection.element();if(r(t).parents(".fr-img-caption").length)r(t).css("text-align",e);else{i.selection.save(),i.html.wrap(!0,!0,!0,!0),i.selection.restore();for(var a=i.selection.blocks(),n=0;n *").first().replaceWith(i.icon.create("align-".concat(a)))}},refreshOnShow:function s(e,t){var a=i.selection.blocks();if(a.length){var n=i.helpers.getAlignment(r(a[0]));t.find('a.fr-command[data-param1="'.concat(n,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function l(e){var t=i.selection.blocks();if(t.length){var a=i.helpers.getAlignment(r(t[0]));a=a.charAt(0).toUpperCase()+a.slice(1),"align".concat(a)===e.attr("data-cmd")&&e.addClass("fr-active")}}}},It.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),It.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),It.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),It.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.align.apply(t)},refresh:function(e){this.align.refresh(e)},refreshOnShow:function(e,t){this.align.refreshOnShow(e,t)},plugin:"align"}),It.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),It.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),It.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),It.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),Object.assign(It.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),It.PLUGINS.charCounter=function(a){var n,t=a.$,i=function i(){return(a.el.textContent||"").replace(/\u200B/g,"").length};function e(e){if(a.opts.charCounterMax<0)return!0;if(i()").html(e).text().length+i()<=a.opts.charCounterMax?e:(a.events.trigger("charCounter.exceeded"),"")}function o(){if(a.opts.charCounterCount){var e=i()+(0a&&(a=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:a,line_indent_level:e?e.line_indent_level:a,start_line_index:c.get_line_number(),ternary_depth:0}}for(u={TK_START_EXPR:function D(){x();var e=Q.Expression;if("["===d.text){if("TK_WORD"===o||")"===f.last_text)return"TK_RESERVED"===o&&j(f.last_text,r.line_starters)&&(c.space_before_token=!0),w(e),C(),R(),void(g.space_in_paren&&(c.space_before_token=!0));e=Q.ArrayLiteral,S(f.mode)&&("["!==f.last_text&&(","!==f.last_text||"]"!==s&&"}"!==s)||g.keep_array_indentation||y())}else"TK_RESERVED"===o&&"for"===f.last_text?e=Q.ForInitializer:"TK_RESERVED"===o&&j(f.last_text,["if","while"])&&(e=Q.Conditional);" "===f.last_text||"TK_START_BLOCK"===o?y():"TK_END_EXPR"===o||"TK_START_EXPR"===o||"TK_END_BLOCK"===o||"."===f.last_text?A(d.wanted_newline):"TK_RESERVED"===o&&"("===d.text||"TK_WORD"===o||"TK_OPERATOR"===o?"TK_RESERVED"===o&&("function"===f.last_word||"typeof"===f.last_word)||"*"===f.last_text&&"function"===s?g.space_after_anon_function&&(c.space_before_token=!0):"TK_RESERVED"!==o||!j(f.last_text,r.line_starters)&&"catch"!==f.last_text||g.space_before_conditional&&(c.space_before_token=!0):c.space_before_token=!0;"("===d.text&&"TK_RESERVED"===o&&"await"===f.last_word&&(c.space_before_token=!0);"("===d.text&&("TK_EQUALS"!==o&&"TK_OPERATOR"!==o||I()||A());w(e),C(),g.space_in_paren&&(c.space_before_token=!0);R()},TK_END_EXPR:function M(){for(;f.mode===Q.Statement;)L();f.multiline_frame&&A("]"===d.text&&S(f.mode)&&!g.keep_array_indentation);g.space_in_paren&&("TK_START_EXPR"!==o||g.space_in_empty_paren?c.space_before_token=!0:(c.trim(),c.space_before_token=!1));"]"===d.text&&g.keep_array_indentation?(C(),L()):(L(),C());c.remove_redundant_indentation(p),f.do_while&&p.mode===Q.Conditional&&(p.mode=Q.Expression,f.do_block=!1,f.do_while=!1)},TK_START_BLOCK:function B(){var e=O(1),t=O(2);t&&(":"===t.text&&j(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||j(e.text,["get","set"])&&j(t.type,["TK_WORD","TK_RESERVED"]))?j(s,["class","interface"])?w(Q.BlockStatement):w(Q.ObjectLiteral):w(Q.BlockStatement);var a=!e.comments_before.length&&"}"===e.text&&"function"===f.last_word&&"TK_END_EXPR"===o;"expand"===g.brace_style||"none"===g.brace_style&&d.wanted_newline?"TK_OPERATOR"!==o&&(a||"TK_EQUALS"===o||"TK_RESERVED"===o&&k(f.last_text)&&"else"!==f.last_text)?c.space_before_token=!0:y(!1,!0):"TK_OPERATOR"!==o&&"TK_START_EXPR"!==o?"TK_START_BLOCK"===o?y():c.space_before_token=!0:S(p.mode)&&","===f.last_text&&("}"===s?c.space_before_token=!0:y());C(),R()},TK_END_BLOCK:function N(){for(;f.mode===Q.Statement;)L();var e="TK_START_BLOCK"===o;"expand"===g.brace_style?e||y():e||(S(f.mode)&&g.keep_array_indentation?(g.keep_array_indentation=!1,y(),g.keep_array_indentation=!0):y());L(),C()},TK_WORD:F,TK_RESERVED:F,TK_SEMICOLON:function P(){x()&&(c.space_before_token=!1);for(;f.mode===Q.Statement&&!f.if_block&&!f.do_block;)L();C()},TK_STRING:function U(){x()?c.space_before_token=!0:"TK_RESERVED"===o||"TK_WORD"===o?c.space_before_token=!0:"TK_COMMA"===o||"TK_START_EXPR"===o||"TK_EQUALS"===o||"TK_OPERATOR"===o?I()||A():y();C()},TK_EQUALS:function H(){x();f.declaration_statement&&(f.declaration_assignment=!0);c.space_before_token=!0,C(),c.space_before_token=!0},TK_OPERATOR:function W(){x();if("TK_RESERVED"===o&&k(f.last_text))return c.space_before_token=!0,void C();if("*"===d.text&&"TK_DOT"===o)return void C();if(":"===d.text&&f.in_case)return f.case_body=!0,R(),C(),y(),void(f.in_case=!1);if("::"===d.text)return void C();"TK_OPERATOR"===o&&A();var e=!0,t=!0;j(d.text,["--","++","!","~"])||j(d.text,["-","+"])&&(j(o,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||j(f.last_text,r.line_starters)||","===f.last_text)?(t=e=!1,!d.wanted_newline||"--"!==d.text&&"++"!==d.text||y(!1,!0)," "===f.last_text&&_(f.mode)&&(e=!0),"TK_RESERVED"===o?e=!0:"TK_END_EXPR"===o?e=!("]"===f.last_text&&("--"===d.text||"++"===d.text)):"TK_OPERATOR"===o&&(e=j(d.text,["--","-","++","+"])&&j(f.last_text,["--","-","++","+"]),j(d.text,["+","-"])&&j(f.last_text,["--","++"])&&(t=!0)),f.mode!==Q.BlockStatement&&f.mode!==Q.Statement||"{"!==f.last_text&&" "!==f.last_text||y()):":"===d.text?0===f.ternary_depth?e=!1:f.ternary_depth-=1:"?"===d.text?f.ternary_depth+=1:"*"===d.text&&"TK_RESERVED"===o&&"function"===f.last_text&&(t=e=!1);c.space_before_token=c.space_before_token||e,C(),c.space_before_token=t},TK_COMMA:function K(){if(f.declaration_statement)return _(f.parent.mode)&&(f.declaration_assignment=!1),C(),void(f.declaration_assignment?y(f.declaration_assignment=!1,!0):(c.space_before_token=!0,g.comma_first&&A()));C(),f.mode===Q.ObjectLiteral||f.mode===Q.Statement&&f.parent.mode===Q.ObjectLiteral?(f.mode===Q.Statement&&L(),y()):(c.space_before_token=!0,g.comma_first&&A())},TK_BLOCK_COMMENT:function $(){if(c.raw)return c.add_raw_token(d),void(d.directives&&"end"===d.directives.preserve&&(g.test_output_raw||(c.raw=!1)));if(d.directives)return y(!1,!0),C(),"start"===d.directives.preserve&&(c.raw=!0),void y(!1,!0);if(!q.newline.test(d.text)&&!d.wanted_newline)return c.space_before_token=!0,C(),void(c.space_before_token=!0);var e,t=function o(e){var t;e=e.replace(/\x0d/g,"");var a=[];t=e.indexOf("\n");for(;-1!==t;)a.push(e.substring(0,t)),e=e.substring(t+1),t=e.indexOf("\n");e.length&&a.push(e);return a}(d.text),a=!1,n=!1,i=d.whitespace_before,r=i.length;y(!1,!0),1r?C(t[e].substring(r)):c.add_token(t[e]);y(!1,!0)},TK_COMMENT:function z(){d.wanted_newline?y(!1,!0):c.trim(!0);c.space_before_token=!0,C(),y(!1,!0)},TK_DOT:function G(){x();"TK_RESERVED"===o&&k(f.last_text)?c.space_before_token=!0:A(")"===f.last_text&&g.break_chained_methods);C()},TK_UNKNOWN:function Y(){C(),"\n"===d.text[d.text.length-1]&&y()},TK_EOF:function V(){for(;f.mode===Q.Statement;)L()}},g={},(e=e||{}).braces_on_own_line!==undefined&&(g.brace_style=e.braces_on_own_line?"expand":"collapse"),g.brace_style=e.brace_style?e.brace_style:g.brace_style?g.brace_style:"collapse","expand-strict"===g.brace_style&&(g.brace_style="expand"),g.indent_size=e.indent_size?parseInt(e.indent_size,10):4,g.indent_char=e.indent_char?e.indent_char:" ",g.eol=e.eol?e.eol:"\n",g.preserve_newlines=e.preserve_newlines===undefined||e.preserve_newlines,g.break_chained_methods=e.break_chained_methods!==undefined&&e.break_chained_methods,g.max_preserve_newlines=e.max_preserve_newlines===undefined?0:parseInt(e.max_preserve_newlines,10),g.space_in_paren=e.space_in_paren!==undefined&&e.space_in_paren,g.space_in_empty_paren=e.space_in_empty_paren!==undefined&&e.space_in_empty_paren,g.jslint_happy=e.jslint_happy!==undefined&&e.jslint_happy,g.space_after_anon_function=e.space_after_anon_function!==undefined&&e.space_after_anon_function,g.keep_array_indentation=e.keep_array_indentation!==undefined&&e.keep_array_indentation,g.space_before_conditional=e.space_before_conditional===undefined||e.space_before_conditional,g.unescape_strings=e.unescape_strings!==undefined&&e.unescape_strings,g.wrap_line_length=e.wrap_line_length===undefined?0:parseInt(e.wrap_line_length,10),g.e4x=e.e4x!==undefined&&e.e4x,g.end_with_newline=e.end_with_newline!==undefined&&e.end_with_newline,g.comma_first=e.comma_first!==undefined&&e.comma_first,g.test_output_raw=e.test_output_raw!==undefined&&e.test_output_raw,g.jslint_happy&&(g.space_after_anon_function=!0),e.indent_with_tabs&&(g.indent_char="\t",g.indent_size=1),g.eol=g.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),l="";0g.max_preserve_newlines&&(t=g.max_preserve_newlines),g.preserve_newlines&&1=g.wrap_line_length&&y(!1,!0)}}function y(e,t){if(!t&&" "!==f.last_text&&","!==f.last_text&&"="!==f.last_text&&"TK_OPERATOR"!==o)for(;f.mode===Q.Statement&&!f.if_block&&!f.do_block;)L();c.add_new_line(e)&&(f.multiline_frame=!0)}function T(){c.just_added_newline()&&(g.keep_array_indentation&&S(f.mode)&&d.wanted_newline?(c.current_line.push(d.whitespace_before),c.space_before_token=!1):c.set_indent(f.indentation_level)&&(f.line_indent_level=f.indentation_level))}function C(e){c.raw?c.add_raw_token(d):(g.comma_first&&"TK_COMMA"===o&&c.just_added_newline()&&","===c.previous_line.last()&&(c.previous_line.pop(),T(),c.add_token(","),c.space_before_token=!0),e=e||d.text,T(),c.add_token(e))}function R(){f.indentation_level+=1}function w(e){p=f?(t.push(f),f):v(null,e),f=v(p,e)}function S(e){return e===Q.ArrayLiteral}function _(e){return j(e,[Q.Expression,Q.ForInitializer,Q.Conditional])}function L(){0=h.length?null:h[t]}function F(){("TK_RESERVED"===d.type&&f.mode!==Q.ObjectLiteral&&j(d.text,["set","get"])&&(d.type="TK_WORD"),"TK_RESERVED"===d.type&&f.mode===Q.ObjectLiteral)&&(":"===O(1).text&&(d.type="TK_WORD"));if(x()||!d.wanted_newline||_(f.mode)||"TK_OPERATOR"===o&&"--"!==f.last_text&&"++"!==f.last_text||"TK_EQUALS"===o||!g.preserve_newlines&&"TK_RESERVED"===o&&j(f.last_text,["const","let","const","set","get"])||y(),f.do_block&&!f.do_while){if("TK_RESERVED"===d.type&&"while"===d.text)return c.space_before_token=!0,C(),c.space_before_token=!0,void(f.do_while=!0);y(),f.do_block=!1}if(f.if_block)if(f.else_block||"TK_RESERVED"!==d.type||"else"!==d.text){for(;f.mode===Q.Statement;)L();f.if_block=!1,f.else_block=!1}else f.else_block=!0;if("TK_RESERVED"===d.type&&("case"===d.text||"default"===d.text&&f.in_case_statement))return y(),(f.case_body||g.jslint_happy)&&(!function e(){0f.parent.indentation_level)&&(f.indentation_level-=1)}(),f.case_body=!1),C(),f.in_case=!0,void(f.in_case_statement=!0);if("TK_RESERVED"===d.type&&"function"===d.text&&((j(f.last_text,["}"," "])||c.just_added_newline()&&!j(f.last_text,["[","{",":","=",","]))&&(c.just_added_blankline()||d.comments_before.length||(y(),y(!0))),"TK_RESERVED"===o||"TK_WORD"===o?"TK_RESERVED"===o&&j(f.last_text,["get","set","new","return","export","async"])?c.space_before_token=!0:"TK_RESERVED"===o&&"default"===f.last_text&&"export"===s?c.space_before_token=!0:y():"TK_OPERATOR"===o||"="===f.last_text?c.space_before_token=!0:(f.multiline_frame||!_(f.mode)&&!S(f.mode))&&y()),"TK_COMMA"!==o&&"TK_START_EXPR"!==o&&"TK_EQUALS"!==o&&"TK_OPERATOR"!==o||I()||A(),"TK_RESERVED"===d.type&&j(d.text,["function","get","set"]))return C(),void(f.last_word=d.text);(a="NONE","TK_END_BLOCK"===o?"TK_RESERVED"===d.type&&j(d.text,["else","catch","finally"])?"expand"===g.brace_style||"end-expand"===g.brace_style||"none"===g.brace_style&&d.wanted_newline?a="NEWLINE":(a="SPACE",c.space_before_token=!0):a="NEWLINE":"TK_SEMICOLON"===o&&f.mode===Q.BlockStatement?a="NEWLINE":"TK_SEMICOLON"===o&&_(f.mode)?a="SPACE":"TK_STRING"===o?a="NEWLINE":"TK_RESERVED"===o||"TK_WORD"===o||"*"===f.last_text&&"function"===s?a="SPACE":"TK_START_BLOCK"===o?a="NEWLINE":"TK_END_EXPR"===o&&(c.space_before_token=!0,a="NEWLINE"),"TK_RESERVED"===d.type&&j(d.text,r.line_starters)&&")"!==f.last_text&&(a="else"===f.last_text||"export"===f.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===d.type&&j(d.text,["else","catch","finally"]))?"TK_END_BLOCK"!==o||"expand"===g.brace_style||"end-expand"===g.brace_style||"none"===g.brace_style&&d.wanted_newline?y():(c.trim(!0),"}"!==c.current_line.last()&&y(),c.space_before_token=!0):"NEWLINE"===a?"TK_RESERVED"===o&&k(f.last_text)?c.space_before_token=!0:"TK_END_EXPR"!==o?"TK_START_EXPR"===o&&"TK_RESERVED"===d.type&&j(d.text,["const","let","const"])||":"===f.last_text||("TK_RESERVED"===d.type&&"if"===d.text&&"else"===f.last_text?c.space_before_token=!0:y()):"TK_RESERVED"===d.type&&j(d.text,r.line_starters)&&")"!==f.last_text&&y():f.multiline_frame&&S(f.mode)&&","===f.last_text&&"}"===s?y():"SPACE"===a&&(c.space_before_token=!0);C(),f.last_word=d.text,"TK_RESERVED"===d.type&&"do"===d.text&&(f.do_block=!0),"TK_RESERVED"===d.type&&"if"===d.text&&(f.if_block=!0)}o="TK_START_BLOCK",s="",(c=new J(l,m)).raw=g.test_output_raw,t=[],w(Q.BlockStatement),this.beautify=function(){var e,t;for(r=new ee(n,g,l),h=r.tokenize(),i=0;e=O();){for(var a=0;a=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>".split(" ");this.line_starters="continue,try,throw,return,const,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var M,B,N,P,U,H,W=this.line_starters.concat(["do","in","else","get","set","new","catch","finally","typeof","yield","async","await"]),K=/([\s\S]*?)((?:\*\/)|$)/g,$=/([^\n\r\u2028\u2029]*)/g,z=/\/\* beautify( \w+[:]\w+)+ \*\//g,G=/ (\w+)[:](\w+)/g,Y=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,V=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function o(){var e,t,a=[];if(M=0,B="",H<=U)return["","TK_EOF"];t=P.length?P[P.length-1]:new Z("TK_START_BLOCK","{");var n=L.charAt(U);for(U+=1;j(n,x);){if(q.newline.test(n)?"\n"===n&&"\r"===L.charAt(U-2)||(M+=1,a=[]):a.push(n),H<=U)return["","TK_EOF"];n=L.charAt(U),U+=1}if(a.length&&(B=a.join("")),k.test(n)){var i=!0,r=!0,o=k;for("0"===n&&U/))&&("TK_RESERVED"===t.type&&j(t.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===t.type&&")"===t.text&&t.parent&&"TK_RESERVED"===t.parent.type&&j(t.parent.text,["if","while","for"])||j(t.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var f=n,p=!1,u=!1;if(e=n,"/"===f)for(var g=!1;U/g,m=L.slice(U-1),v=h.exec(m);if(v&&0===v.index){for(var b=v[2],E=0;v;){var A=!!v[1],y=v[2],T=!!v[v.length-1]||"![CDATA["===y.slice(0,8);if(y!==b||T||(A?--E:++E),E<=0)break;v=h.exec(m)}var C=v?v.index+v[0].length:m.length;return m=m.slice(0,C),U+=C-1,[m=m.replace(q.lineBreak,"\n"),"TK_STRING"]}}else for(;U=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e)):(this.line_char_count++,e.push(" "))},this.get_content=function(){for(var e="",t=[];"<"!=this.input.charAt(this.pos);){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(this.traverse_whitespace())this.space_or_wrap(t);else{if(b){var a=this.input.substr(this.pos,3);if("{{#"===a||"{{/"===a)break;if("{{!"===a)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}e=this.input.charAt(this.pos),this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",a=new RegExp(""),"igm");a.lastIndex=this.pos;var n=a.exec(this.input),i=n?n.index:this.input.length;return this.pos=this.input.length)return e&&(this.pos=l,this.line_char_count=c),i.length?i.join(""):["","TK_EOF"];if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace))o=!0;else{if("'"!==n&&'"'!==n||(n+=this.get_unformatted(n),o=!0),"="===n&&(o=!1),i.length&&"="!=i[i.length-1]&&">"!=n&&o){if(this.space_or_wrap(i),o=!1,!s&&"force"===E&&"/"!=n){this.print_newline(!0,i),this.print_indentation(i);for(var d=0;d"!=n);var p,u,g=i.join("");p=-1!=g.indexOf(" ")?g.indexOf(" "):"{"===g[0]?g.indexOf("}"):g.indexOf(">"),u="<"!==g[0]&&b?"#"===g[2]?3:2:1;var h=g.substring(u,p).toLowerCase();return"/"===g.charAt(g.length-2)||this.Utils.in_array(h,this.Utils.single_token)?e||(this.tag_type="SINGLE"):b&&"{"===g[0]&&"else"===h?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(h,v)?(r=this.get_unformatted(""),g),i.push(r),this.pos,this.tag_type="SINGLE"):"script"===h&&(-1===g.search("type")||-1",n=!0):0===t.indexOf("",n=!0):0===t.indexOf("",n=!0):0===t.indexOf("\x3c!--")?(a="--\x3e",n=!0):0===t.indexOf("{{!")?(a="}}",n=!0):0===t.indexOf("",n=!0):0===t.indexOf("<%")&&(a="%>",n=!0)),i=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(e,t){if(t&&-1!=t.toLowerCase().indexOf(e))return"";var a="",n="",i=0,r=!0;do{if(this.pos>=this.input.length)return n;if(a=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(a,this.Utils.whitespace)){if(!r){this.line_char_count--;continue}if("\n"===a||"\r"===a){n+="\n",this.line_char_count=0;continue}}n+=a,this.line_char_count++,r=!0,b&&"{"===a&&n.length&&"{"===n[n.length-2]&&(i=(n+=this.get_unformatted("}}")).length)}while(-1===n.toLowerCase().indexOf(e,i));return n},this.get_token=function(){var e;if("TK_TAG_SCRIPT"!==this.last_token&&"TK_TAG_STYLE"!==this.last_token)return"CONTENT"===this.current_mode?"string"!=typeof(e=this.get_content())?e:[e,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(e=this.get_tag())?e:[e,"TK_TAG_".concat(this.tag_type)]:void 0;var t=this.last_token.substr(7);return"string"!=typeof(e=this.get_contents_to(t))?e:[e,"TK_".concat(t)]},this.get_full_indent=function(e){return(e=this.indent_level+e||0)<1?"":new Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!=e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var a=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(a&&!this.Utils.in_array(a,t))},this.printer=function(e,t,a,n,i){this.input=e||"",this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=a,this.brace_style=i,this.indent_level=0,this.wrap_line_length=n;for(var r=this.line_char_count=0;r'),c.$wp.append(d),d.attr("dir",c.opts.direction),c.$box.hasClass("fr-basic")||(m=p('')),c.$box.append(m),c.events.bindClick(c.$box,"a.html-switch",function(){c.events.trigger("commands.before",["html"]),A(!1),c.events.trigger("commands.after",["html"])}));var e=function e(){return!u()};c.events.on("buttons.refresh",e),c.events.on("copy",e,!0),c.events.on("cut",e,!0),c.events.on("paste",e,!0),c.events.on("destroy",y,!0),c.events.on("html.set",function(){u()&&A(!0)}),c.events.on("codeView.update",h),c.events.on("codeView.toggle",function(){c.$box.hasClass("fr-code-view")&&A()}),c.events.on("form.submit",function(){u()&&(c.html.set(g()),c.events.trigger("contentChanged",[],!0))},!0)}(),!f&&c.opts.codeMirror?((f=c.opts.codeMirror.fromTextArea(d.get(0),c.opts.codeMirrorOptions)).on("blur",b),f.on("focus",E)):(c.events.$on(d,"keydown keyup change input",function(){c.opts.height?this.removeAttribute("rows"):(this.rows=1,0===this.value.length?this.style.height="auto":this.style.height="".concat(this.scrollHeight,"px"))}),c.events.$on(d,"blur",b),c.events.$on(d,"focus",E))),c.undo.saveStep(),c.html.cleanEmptyTags(),c.html.cleanWhiteTags(!0),c.core.hasFocus()&&(c.core.isEmpty()||(c.selection.save(),c.$el.find('.fr-marker[data-type="true"]').first().replaceWith('F'),c.$el.find('.fr-marker[data-type="false"]').last().replaceWith('F')));var t=c.html.get(!1,!0);c.$el.find("span.fr-tmp").remove(),c.$box.toggleClass("fr-code-view",!0);var a,n,i=!1;if(c.core.hasFocus()&&(i=!0,c.events.disableBlur(),c.$el.blur()),t=(t=t.replace(/F<\/span>/,"FROALA-SM")).replace(/F<\/span>/,"FROALA-EM"),c.codeBeautifier&&!t.includes("fr-embedly")&&(t=c.codeBeautifier.run(t,c.opts.codeBeautifierOptions)),f){a=t.indexOf("FROALA-SM"),(n=t.indexOf("FROALA-EM")) .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(p(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!0),e.addClass("fr-active").attr("aria-pressed",!0),!c.helpers.isMobile()&&c.opts.toolbarInline&&c.toolbar.hide()}function A(e){void 0===e&&(e=!u());var t=c.$tb.find('.fr-command[data-cmd="html"]');e?(c.popups.hideAll(),n(t)):(c.$box.toggleClass("fr-code-view",!1),function a(e){var t=g();c.html.set(t),c.$el.blur(),c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1),c.selection.setAtStart(c.el),c.selection.restore(),c.placeholder.refresh(),c.undo.saveStep()}(t),c.events.trigger("codeView.update"))}function y(){u()&&A(!1),f&&f.toTextArea(),d.val("").removeData().remove(),d=null,m&&(m.remove(),m=null)}return{_init:function e(){if(c.events.on("focus",function(){c.opts.toolbarContainer&&function t(){var e=c.$tb.find('.fr-command[data-cmd="html"]');u()?(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(p(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!1),e.addClass("fr-active").attr("aria-pressed",!1)):(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1))}()}),!c.$wp)return!1},toggle:A,isActive:u,get:g}},It.RegisterCommand("html",{title:"Code View",undo:!1,focus:!1,forcedRefresh:!0,toggle:!0,callback:function(){this.codeView.toggle()},plugin:"codeView"}),It.DefineIcon("html",{NAME:"code",SVG_KEY:"codeView"}),Object.assign(It.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(It.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),It.PLUGINS.colors=function(m){var v=m.$,s='
    ");function l(e){for(var t="text"===e?m.opts.colorsText:m.opts.colorsBackground,a='
    '),n=0;n"),"REMOVE"!==t[n]?a+=' ').concat(m.language.translate("Color")).concat(t[n]," \n    "):a+='').concat(m.icon.create("remove"),' \n ').concat(m.language.translate("Clear Formatting")," ");return"".concat(a,"
    ")}function c(e){var t,a=m.popups.get("".concat(e,"Color.picker")),n=v(m.selection.element());t="background"===e?"background-color":"color";var i=a.find(".fr-".concat(e,"-color .fr-select-color"));for(i.find(".fr-selected-color").remove(),i.removeClass("fr-active-item"),i.not('[data-param1="REMOVE"]').attr("aria-selected",!1);n.get(0)!==m.el;){if("transparent"!==n.css(t)&&"rgba(0, 0, 0, 0)"!==n.css(t)){var r=a.find(".fr-".concat(e,'-color .fr-select-color[data-param1="').concat(m.helpers.RGBToHex(n.css(t)),'"]'));r.append(''),r.addClass("fr-active-item").attr("aria-selected",!0);break}n=n.parent()}!function o(e){var t=m.popups.get("".concat(e,"Color.picker")),a=t.find(".fr-".concat(e,"-color .fr-active-item")).attr("data-param1"),n=t.find(".fr-color-hex-layer input");a||(a="");n.length&&v(n.val(a).input).trigger("change")}(e)}function n(e){"REMOVE"!==e?m.format.applyStyle("background-color",m.helpers.HEXtoRGB(e)):m.format.removeStyle("background-color"),m.popups.hide("backgroundColor.picker")}function i(e){"REMOVE"!==e?m.format.applyStyle("color",m.helpers.HEXtoRGB(e)):m.format.removeStyle("color"),m.popups.hide("textColor.picker")}return{showColorsPopup:function d(e){var t=m.$tb.find('.fr-command[data-cmd="'.concat(e,'"]')),a=m.popups.get("".concat(e,".picker"));if(a||(a=function o(e){var t="";m.opts.toolbarInline&&0\n '.concat(m.button.buildList(m.opts.colorsButtons),"\n "));var a,n="";a="textColor"===e?(m.opts.colorsHEXInput&&(n=s.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(m.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:t,text_colors:l("text"),custom_color:n}):(m.opts.colorsHEXInput&&(n=s.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(m.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),{buttons:t,background_colors:l("background"),custom_color:n});var i=m.popups.create("".concat(e,".picker"),a);return function r(g,h){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible(h)||!t.is("span"))return!0;var a=e.which,n=!0;if(It.KEYCODE.TAB===a){var i=g.find(".fr-buttons");n=!m.accessibility.focusToolbar(i,!!e.shiftKey)}else if(It.KEYCODE.ARROW_UP===a||It.KEYCODE.ARROW_DOWN===a||It.KEYCODE.ARROW_LEFT===a||It.KEYCODE.ARROW_RIGHT===a){if(t.is("span.fr-select-color")){var r=t.parent().find("span.fr-select-color"),o=r.index(t),s=m.opts.colorsStep,l=Math.floor(r.length/s),c=o%s,d=Math.floor(o/s),f=d*s+c,p=l*s;It.KEYCODE.ARROW_UP===a?f=((f-s)%p+p)%p:It.KEYCODE.ARROW_DOWN===a?f=(f+s)%p:It.KEYCODE.ARROW_LEFT===a?f=((f-1)%p+p)%p:It.KEYCODE.ARROW_RIGHT===a&&(f=(f+1)%p);var u=v(r.get(f));m.events.disableBlur(),u.focus(),n=!1}}else It.KEYCODE.ENTER===a&&(m.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(i,"".concat(e,".picker")),i}(e)),!a.hasClass("fr-active"))if(m.popups.setContainer("".concat(e,".picker"),m.$tb),c("textColor"===e?"text":"background"),t.isVisible()){var n=m.button.getPosition(t),i=n.left,r=n.top;m.popups.show("".concat(e,".picker"),i,r,t.outerHeight())}else m.position.forSelection(a),m.popups.show("".concat(e,".picker"))},background:n,customColor:function r(e){var t=m.popups.get("".concat(e,"Color.picker")).find(".fr-color-hex-layer input");if(t.length){var a=t.val();"background"===e?n(a):i(a)}},text:i,back:function e(){m.popups.hide("textColor.picker"),m.popups.hide("backgroundColor.picker"),m.toolbar.showInline()}}},It.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),It.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),It.RegisterCommand("applytextColor",{undo:!0,callback:function(e,t){this.colors.text(t)}}),It.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),It.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),It.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),It.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(e,t){this.colors.background(t)}}),It.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),It.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),It.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"}),Object.assign(It.DEFAULTS,{dragInline:!0}),It.PLUGINS.draggable=function(d){var f=d.$;function e(e){return!(!e.originalEvent||!e.originalEvent.target||e.originalEvent.target.nodeType!==Node.TEXT_NODE)||(e.target&&"A"===e.target.tagName&&1===e.target.childNodes.length&&"IMG"===e.target.childNodes[0].tagName&&(e.target=e.target.childNodes[0]),f(e.target).hasClass("fr-draggable")?(d.undo.canDo()||d.undo.saveStep(),d.opts.dragInline?d.$el.attr("contenteditable",!0):d.$el.attr("contenteditable",!1),d.opts.toolbarInline&&d.toolbar.hide(),f(e.target).addClass("fr-dragging"),d.browser.msie||d.browser.edge||d.selection.clear(),void e.originalEvent.dataTransfer.setData("text","Froala")):(e.preventDefault(),!1))}var p,u=function u(e){return!(e&&("HTML"===e.tagName||"BODY"===e.tagName||d.node.isElement(e)))};function g(e,t,a){if(d.opts.iframe){var n=d.helpers.getPX(d.$wp.find(".fr-iframe").css("padding-top")),i=d.helpers.getPX(d.$wp.find(".fr-iframe").css("padding-left"));e+=d.$iframe.offset().top+n,t+=d.$iframe.offset().left+i}p.offset().top!==e&&p.css("top",e),p.offset().left!==t&&p.css("left",t),p.width()!==a&&p.css("width",a)}function t(e){e.originalEvent.dataTransfer.dropEffect="move",d.opts.dragInline?(!function a(){for(var e=null,t=0;t
    '),p.removeClass("fr-visible");else if(!1===d.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass("fr-dragging"),!1===(t=d.events.chainTrigger("element.beforeDrop",t)))return!1;var i=t;if(t.parent().is("A")&&1===t.parent().get(0).childNodes.length&&(i=t.parent()),d.core.isEmpty())d.events.focus();else d.$el.find(".fr-marker").replaceWith(It.MARKERS),d.selection.restore();if(a===d||d.undo.canDo()||d.undo.saveStep(),d.core.isEmpty())d.$el.html(i);else{var r=d.markers.insert();0===i.find(r).length?f(r).replaceWith(i):0===t.find(r).length&&f(r).replaceWith(t),t.after(It.MARKERS),d.selection.restore()}return d.popups.hideAll(),d.selection.save(),d.$el.find(d.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(d.opts.htmlAllowedEmptyTags.join(",")).remove(),d.html.wrap(),d.html.fillEmptyBlocks(),d.selection.restore(),d.undo.saveStep(),d.opts.iframe&&d.size.syncIframe(),a!==d&&(a.popups.hideAll(),a.$el.find(a.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),a.html.wrap(),a.html.fillEmptyBlocks(),a.undo.saveStep(),a.events.trigger("element.dropped"),a.opts.iframe&&a.size.syncIframe()),d.events.trigger("element.dropped",[i]),!1}p&&p.removeClass("fr-visible"),d.undo.canDo()||d.undo.saveStep(),setTimeout(function(){d.undo.saveStep()},0)}function r(e){if(e&&"DIV"===e.tagName&&d.node.hasClass(e,"fr-drag-helper"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll("div.fr-drag-helper"),a=0;a
    ")};n.popups.create("text.edit",e)}(),e())},update:function t(){var e=n.popups.get("text.edit").find("input").val();0===e.length&&(e=n.opts.placeholderText),"INPUT"===n.el.tagName?n.$el.attr("placeholder",e):n.$el.text(e),n.events.trigger("contentChanged"),n.popups.hide("text.edit")}}},It.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}}),Object.assign(It.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(It.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"},{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"},{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D\u2019ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),It.PLUGINS.emoticons=function(m){var v=m.$,i=m.opts.emoticonsSet,r=i&&i[0],o="";function s(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),t=m.selection.endElement();if(e&&m.node.hasClass(e,"fr-emoticon"))return e;if(t&&m.node.hasClass(t,"fr-emoticon"))return t;var a=m.selection.ranges(0),n=a.startContainer;if(n.nodeType==Node.ELEMENT_NODE&&0\n '.concat(function a(e,n){var i="";return e.forEach(function(e){var t={image:e.code.toLowerCase()},a={elementClass:e.id===n.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:m.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:m.language.translate(e.name),dataCmd:"setEmoticonCategory",dataParam1:e.id,image:m.opts.emoticonsUseImage?''):"&#x".concat(t.image,";")};i+='")}),i}(e,t),"\n ")}(i,r),"\n ").concat(function a(e){return'\n
    \n '.concat(function t(e){var i="";return e.emoticons.forEach(function(e){var t=e.code.split("-").reduce(function(e,t){return e?"".concat(e,"‍&#x").concat(t.toLowerCase(),";"):"&#x".concat(t.toLowerCase(),";")},""),a={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:t},n={dataParam1:e.code.toLowerCase(),dataParam2:a.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?''):"".concat(a.compiledCode),desc:m.language.translate(e.desc)};i+='\n ').concat(n.image,'').concat(n.desc,"   ")}),i}(e),"\n
    \n ")}(r),"\n ").concat(function e(){return m.opts.emoticonsUseImage?'

    Emoji free by Emoji One

    ':""}())}return{_init:function e(){var a=function a(){for(var e=m.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),t=0;t=It.KEYCODE.ARROW_LEFT&&e.which<=It.KEYCODE.ARROW_DOWN)){var n=s();m.node.hasClass(n,"fr-emoticon-img")&&(v(n).append(It.MARKERS),m.selection.restore())}})},insert:function c(e,t){var a=s(),n=m.selection.ranges(0);a?(0===n.startOffset&&m.selection.element()===a?v(a).before(It.MARKERS+It.INVISIBLE_SPACE):0").concat(t?" ":e,"
     ").concat(It.MARKERS),!0)):m.html.insert('").concat(t?" ":e," "),!0)},setEmoticonCategory:function a(t){r=i.filter(function(e){return e.id===t})[0],function e(){m.popups.get("emoticons").html(o+l())}()},showEmoticonsPopup:function d(){var e=m.popups.get("emoticons");if(e||(e=function r(){m.opts.toolbarInline&&0'.concat(m.button.buildList(m.opts.emoticonsButtons),""));var e={buttons:o,custom_layer:l()},t=m.popups.create("emoticons",e);return function a(h){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible("emoticons")||!t.is("span, a"))return!0;var a,n,i,r=e.which;if(It.KEYCODE.TAB==r){if(t.is("span.fr-emoticon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var o=h.find(".fr-buttons");a=!m.accessibility.focusToolbar(o,!!e.shiftKey)}if(!1!==a){var s=h.find("span.fr-emoticon:focus").first().concat(h.findVisible(" div.fr-tabs").first().concat(h.find("a")));t.is("span.fr-emoticon")&&(s=s.not("span.fr-emoticon:not(:focus)")),n=s.index(t),n=e.shiftKey?((n-1)%s.length+s.length)%s.length:(n+1)%s.length,i=s.get(n),m.events.disableBlur(),i.focus(),a=!1}}else if(It.KEYCODE.ARROW_UP==r||It.KEYCODE.ARROW_DOWN==r||It.KEYCODE.ARROW_LEFT==r||It.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-emoticon")){var l=t.parent().find("span.fr-emoticon");n=l.index(t);var c=m.opts.emoticonsStep,d=Math.floor(l.length/c),f=n%c,p=Math.floor(n/c),u=p*c+f,g=d*c;It.KEYCODE.ARROW_UP==r?u=((u-c)%g+g)%g:It.KEYCODE.ARROW_DOWN==r?u=(u+c)%g:It.KEYCODE.ARROW_LEFT==r?u=((u-1)%g+g)%g:It.KEYCODE.ARROW_RIGHT==r&&(u=(u+1)%g),i=v(l.get(u)),m.events.disableBlur(),i.focus(),a=!1}}else It.KEYCODE.ENTER==r&&(t.is("a")?t[0].click():m.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(t),t}()),!e.hasClass("fr-active")){m.popups.refresh("emoticons"),m.popups.setContainer("emoticons",m.$tb);var t=m.$tb.find('.fr-command[data-cmd="emoticons"]'),a=m.button.getPosition(t),n=a.left,i=a.top;m.popups.show("emoticons",n,i,t.outerHeight())}},back:function t(){m.popups.hide("emoticons"),m.toolbar.showInline()}}},It.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),It.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),It.RegisterCommand("insertEmoticon",{callback:function(e,t,a){this.emoticons.insert(a,this.opts.emoticonsUseImage?"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/".concat(t,".svg"):null),this.popups.hide("emoticons")}}),It.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,t){this.emoticons.setEmoticonCategory(t)}}),It.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}}),Object.assign(It.DEFAULTS,{entities:""'¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿŒœŠšŸƒˆ˜ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψωϑϒϖ   ‌‍‎‏–—‘’‚“”„†‡•…‰′″‹›‾⁄€ℑ℘ℜ™ℵ←↑→↓↔↵⇐⇑⇒⇓⇔∀∂∃∅∇∈∉∋∏∑−∗√∝∞∠∧∨∩∪∫∴∼≅≈≠≡≤≥⊂⊃⊄⊆⊇⊕⊗⊥⋅⌈⌉⌊⌋⟨⟩◊♠♣♥♦"}),It.PLUGINS.entities=function(i){var r,o,s=i.$;function n(e){var t=e.textContent;if(t.match(r)){for(var a="",n=0;n span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function m(e,t,a){A.edit.on(),A.events.focus(!0),A.selection.restore(),A.opts.fileUseSelectedText&&A.selection.text().length&&(t=A.selection.text()),A.html.insert('').concat(t,""));var n=A.$el.find("#fr-inserted-file");n.removeAttr("id"),A.popups.hide("file.insert"),A.undo.saveStep(),d(),A.events.trigger("file.inserted",[n,a])}function w(e,t,a){var n=this.status,i=this.response,r=this.responseXML,o=this.responseText;try{if(A.opts.fileUploadToS3||A.opts.fileUploadToAzure)if(201===n){var s;if(A.opts.fileUploadToAzure){if(!1===A.events.trigger("file.uploadedToAzure",[this.responseURL,a,i],!0))return A.edit.on(),!1;s=t}else s=function c(e){try{var t=p(e).find("Location").text(),a=p(e).find("Key").text();return!1===A.events.trigger("file.uploadedToS3",[t,a,e],!0)?(A.edit.on(),!1):t}catch(n){return L(h,e),!1}}(r);s&&m(s,e,i||r)}else L(h,i||r);else if(200<=n&&n<300){var l=function d(e){try{if(!1===A.events.trigger("file.uploaded",[e],!0))return A.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(L(u,e),!1)}catch(a){return L(h,e),!1}}(o);l&&m(l.link,e,i||o)}else L(g,i||o)}catch(f){L(h,i||o)}}function S(){L(h,this.response||this.responseText||this.responseXML)}function _(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;i(A.language.translate("Uploading"),t)}}function L(e,t){A.edit.on(),function n(e){R();var t=A.popups.get("file.insert").find(".fr-file-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),A.events.disableBlur(),a.focus()}(A.language.translate("Something went wrong. Please try again.")),A.events.trigger("file.error",[{code:e,message:a[e]},t])}function I(){A.edit.on(),r(!0)}function o(e){if(void 0!==e&&0A.opts.fileMaxSize)return L(T),!1;if(A.opts.fileAllowedTypes.indexOf("*")<0&&A.opts.fileAllowedTypes.indexOf(a.type.replace(/file\//g,""))<0)return L(C),!1;if(A.drag_support.formdata&&(t=A.drag_support.formdata?new FormData:null),t){var n;if(!1!==A.opts.fileUploadToS3)for(n in t.append("key",A.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",a.type),A.opts.fileUploadToS3.params)A.opts.fileUploadToS3.params.hasOwnProperty(n)&&t.append(n,A.opts.fileUploadToS3.params[n]);for(n in A.opts.fileUploadParams)A.opts.fileUploadParams.hasOwnProperty(n)&&t.append(n,A.opts.fileUploadParams[n]);t.append(A.opts.fileUploadParam,a);var i,r,o=A.opts.fileUploadURL;A.opts.fileUploadToS3&&(o=A.opts.fileUploadToS3.uploadURL?A.opts.fileUploadToS3.uploadURL:"https://".concat(A.opts.fileUploadToS3.region,".amazonaws.com/").concat(A.opts.fileUploadToS3.bucket));var s=A.opts.fileUploadMethod;A.opts.fileUploadToAzure&&(o=A.opts.fileUploadToAzure.uploadURL?"".concat(A.opts.fileUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(A.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.fileUploadToAzure.container,"/").concat(a.name)),i=o,A.opts.fileUploadToAzure.SASToken&&(o+=A.opts.fileUploadToAzure.SASToken),s="PUT");var l=A.core.getXHR(o,s);if(A.opts.fileUploadToAzure){var c=(new Date).toUTCString();if(!A.opts.fileUploadToAzure.SASToken&&A.opts.fileUploadToAzure.accessKey){var d=A.opts.fileUploadToAzure.account,f=A.opts.fileUploadToAzure.container;if(A.opts.fileUploadToAzure.uploadURL){var p=A.opts.fileUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+d+"/"+f+"/"+a.name),h=s+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+u+"\n"+g,m=A.cryptoJSPlugin.cryptoJS.HmacSHA256(h,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.fileUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;r=m,l.setRequestHeader("Authorization",v)}for(n in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",a.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.fileUploadParams)A.opts.fileUploadParams.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.fileUploadParams[n]);for(n in A.opts.fileUploadToAzure.params)A.opts.fileUploadToAzure.params.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.fileUploadToAzure.params[n])}l.onload=function(){w.call(l,a.name,i,r)},l.onerror=S,l.upload.onprogress=_,l.onabort=I,R();var b=A.popups.get("file.insert");b&&(b.off("abortUpload"),b.on("abortUpload",function(){4!==l.readyState&&l.abort()})),l.send(A.opts.fileUploadToAzure?a:t)}}}function s(){r()}function l(e){if(e)return A.popups.onHide("file.insert",s),!0;var t;A.opts.fileUpload||A.opts.fileInsertButtons.splice(A.opts.fileInsertButtons.indexOf("fileUpload"),1),t='
    '.concat(A.button.buildList(A.opts.fileInsertButtons),"
    ");var a="";A.opts.fileUpload&&(a='
    ').concat(A.language.translate("Drop file"),"
    (").concat(A.language.translate("or click"),')
    '));var n={buttons:t,upload_layer:a,progress_bar:'

    Uploading

    '},i=A.popups.create("file.insert",n);return function r(a){A.events.$on(a,"dragover dragenter",".fr-file-upload-layer",function(){return p(this).addClass("fr-drop"),!1},!0),A.events.$on(a,"dragleave dragend",".fr-file-upload-layer",function(){return p(this).removeClass("fr-drop"),!1},!0),A.events.$on(a,"drop",".fr-file-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),p(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;t&&t.files&&(a.data("instance")||A).file.upload(t.files)},!0),A.helpers.isIOS()&&A.events.$on(a,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){p(this).trigger("click")}),A.events.$on(a,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var e=a.data("instance")||A;e.events.disableBlur(),a.find("input:focus").blur(),e.events.enableBlur(),e.file.upload(this.files)}p(this).val("")},!0)}(i),i}function t(e){A.node.hasClass(e,"fr-file")}function c(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var a=t.files[0];if(a&&"undefined"!=typeof a.type){if(a.type.indexOf("image")<0){if(!A.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;A.markers.remove(),A.markers.insertAtPoint(e.originalEvent),A.$el.find(".fr-marker").replaceWith(It.MARKERS),A.popups.hideAll();var n=A.popups.get("file.insert");return n||(n=l()),A.popups.setContainer("file.insert",A.$sc),A.popups.show("file.insert",e.originalEvent.pageX,e.originalEvent.pageY),R(),o(t.files),e.preventDefault(),e.stopPropagation(),!1}}else a.type.indexOf("image")<0&&(e.preventDefault(),e.stopPropagation())}}function d(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("a.fr-file")),a=[];for(e=0;e',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],It.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,It.IMAGE_EMBED_REGEX=/^\W*(((\s|\n)*))\W*$/i,It.PLUGINS.filesManager=function(w){var y,o,S,l,c,d,s,f,_=w.$,T="https://i.froala.com/upload",p=!1,t=!1,L=new Map,I=new Map,C=new Map,R=new Map,x=new Map,k=new Map,r=0,i=[],u=-1,O=[],g=0,h=["file","image","imageTUI","video"],F=1,m=2,D=3,M=4,B=5,N=6,P=10,U=["video/avi","video/mpeg","video/x-ms-wmv"],v={};function b(){var e=w.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function E(e){var t;w.hasOwnProperty("imageTUI")||(s="fr-disabled"),k.forEach(function(e,t){X(t)}),A()?(t=w.popups.get("filesManager.insert"))||(t=We()):(t=w.popups.get("filesManager.insert"))||(t=function o(){var e='
    '.concat(w.button.buildList(w.opts.fileInsertButtons),"
    "),t="
    \n

    ".concat(w.language.translate(function i(){var e="",t=function a(){var t=[];return h.forEach(function(e){w.opts.pluginsEnabled.indexOf(e)<0&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),t}();e=t.join(", "),1

    \n
    \n \n \n
    "),a={buttons:e,upload_layer:t,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""},n=w.popups.create("filesManager.insert",a);return De(n),n}());var a=w.$tb.find('.fr-command[data-cmd="insertFiles"]');if(Z(),e||!t.hasClass("fr-active"))if(e||Q(),w.popups.refresh("filesManager.insert"),w.popups.setContainer("filesManager.insert",w.$tb),a.isVisible()){var n=w.button.getPosition(a,L.size),i=n.left,r=n.top;w.popups.show("filesManager.insert",i,r,a.outerHeight())}else w.position.forSelection(t),w.popups.show("filesManager.insert");w.popups.setPopupDimensions(t),A()&&w.popups.setFileListHeight(t),t.find(".fr-upload-progress")&&0==L.size&&t.find(".fr-upload-progress").addClass("fr-none")}function A(){var t=!0;return h.forEach(function(e){w.opts.pluginsEnabled.indexOf(e)<0&&(t=!1)}),t}function H(){Z()}function W(){if(l||function o(){var e;w.shared.$image_resizer?(l=w.shared.$image_resizer,d=w.shared.$img_overlay,w.events.on("destroy",function(){_("body").first().append(l.removeClass("fr-active"))},!0)):(w.shared.$image_resizer=_(document.createElement("div")).attr("class","fr-image-resizer"),l=w.shared.$image_resizer,w.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),w.opts.imageResize&&(l.append(K("nw")+K("ne")+K("sw")+K("se")),w.shared.$img_overlay=_(document.createElement("div")).attr("class","fr-image-overlay"),d=w.shared.$img_overlay,e=l.get(0).ownerDocument,_(e).find("body").first().append(d)));w.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,w.opts.imageResize&&(d.remove(),d=null)},!0),w.helpers.isMobile()||w.events.$on(_(w.o_win),"resize",function(){y&&!y.hasClass("fr-uploading")?it(!0):y&&(W(),replace(),J(!1))});if(w.opts.imageResize){e=l.get(0).ownerDocument,w.events.$on(l,w._mousedown,".fr-handler",z),w.events.$on(_(e),w._mousemove,G),w.events.$on(_(e.defaultView||e.parentWindow),w._mouseup,Y),w.events.$on(d,"mouseleave",Y);var n=1,i=null,r=0;w.events.on("keydown",function(e){if(y){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,a=e.which;(a!==i||200"),Ce(y)),i=a,r=e.timeStamp}},!0),w.events.on("keyup",function(){n=1})}}(),!y)return!1;var e=w.$wp||w.$sc;e.append(l),l.data("instance",w);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),a=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);a-=w.helpers.getPX(e.css("border-left-width")),t-=w.helpers.getPX(e.css("border-top-width")),w.$el.is("img")&&w.$sc.is("body")&&(a=t=0);var n=dt();ft()&&(n=n.find(".fr-img-wrap"));var i=0,r=0;w.opts.iframe&&(i=w.helpers.getPX(w.$wp.find(".fr-iframe").css("padding-top")),r=w.helpers.getPX(w.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(w.opts.iframe?n.offset().top+i:n.offset().top+t)-1).css("left",(w.opts.iframe?n.offset().left+r:n.offset().left+a)-1).css("width",n.get(0).getBoundingClientRect().width).css("height",n.get(0).getBoundingClientRect().height).addClass("fr-active")}function K(e){return'
    ')}function $(e){ft()?y.parents(".fr-img-caption").css("width",e):y.css("width",e)}function z(e){if(!w.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),w.$el.find("img.fr-error").left)return!1;w.undo.canDo()||w.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var a=w.$oel.get(0).ownerDocument,n=a.defaultView||a.parentWindow,i=!1;try{i=n.location!=n.parent.location&&!(n.$&&n.$.FE)}catch(s){}i&&n.frameElement&&(t+=w.helpers.getPX(_(n.frameElement).offset().left)+n.frameElement.clientLeft)}(c=_(this)).data("start-x",t),c.data("start-width",y.width()),c.data("start-height",y.height());var r=y.width();if(w.opts.imageResizeWithPercent){var o=y.parentsUntil(w.$el,w.html.blockTagsQuery()).get(0)||w.el;r=(r/_(o).outerWidth()*100).toFixed(2)+"%"}$(r),d.show(),w.popups.hideAll(),st()}function G(e){if(!w.core.sameInstance(l))return!0;var t;if(c&&y){if(e.preventDefault(),w.$el.find("img.fr-error").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var n=a-c.data("start-x"),i=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(n=0-n),w.opts.imageResizeWithPercent){var r=y.parentsUntil(w.$el,w.html.blockTagsQuery()).get(0)||w.el;i=((i+n)/_(r).outerWidth()*100).toFixed(2),w.opts.imageRoundPercent&&(i=Math.round(i)),$("".concat(i,"%")),(t=ft()?(w.helpers.getPX(y.parents(".fr-img-caption").css("width"))/_(r).outerWidth()*100).toFixed(2):(w.helpers.getPX(y.css("width"))/_(r).outerWidth()*100).toFixed(2))===i||w.opts.imageRoundPercent||$("".concat(t,"%")),y.css("height","").removeAttr("height")}else i+n>=w.opts.imageMinWidth&&($(i+n),t=ft()?w.helpers.getPX(y.parents(".fr-img-caption").css("width")):w.helpers.getPX(y.css("width"))),t!==i+n&&$(t),((y.attr("style")||"").match(/(^height:)|(; *height:)/)||y.attr("height"))&&(y.css("height",c.data("start-height")*y.width()/c.data("start-width")),y.removeAttr("height"));W(),w.events.trigger("image.resize",[ct()])}}function Y(e){if(!w.core.sameInstance(l))return!0;if(c&&y){if(e&&e.stopPropagation(),w.$el.find("img.fr-error").left)return!1;c=null,d.hide(),W(),w.undo.saveStep(),w.events.trigger("image.resizeEnd",[ct()])}else l.removeClass("fr-active")}function V(){k.forEach(function(e,t){var a=w.popups.get("filesManager.insert");a.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),a.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),a.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function q(e,t,a,n){w.edit.on(),y&&y.addClass("fr-error"),v[e]?(e!=D&&e!=m&&e!=M||Ae(100,n,!0),k.set(n,v[e]),V(),function i(){k.forEach(function(e,t){w.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))})}(),ae(w.language.translate(v[e]),n)):ae(w.language.translate("Something went wrong. Please try again."),n),!y&&a&&Xe(a),w.events.trigger("filesManager.error",[{code:e,message:v[e]},t,a])}function j(){var e=w.popups.get("filesManager.insert"),t=e.find('.fr-command[data-cmd="insertAll"]'),a=e.find('.fr-command[data-cmd="deleteAll"]'),n=!0;x.forEach(function i(e,t,a){x.get(t)&&(n=!1)}),n?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),n?a.addClass("fr-disabled"):a.removeClass("fr-disabled")}function X(e){I.get(e)&&I.get(e).link&&w.events.trigger("filesManager.removed",[I.get(e).link]);var t=w.popups.get("filesManager.insert");t.find(".fr-file-"+e).get(0)!==undefined&&(t.find(".fr-file-"+e).get(0).outerHTML=""),I["delete"](e),L["delete"](e),x["delete"](e),j(),0==L.size&&(g=0),k["delete"](e),w.popups.setPopupDimensions(t,!0),w.opts.toolbarBottom?E(!0):w.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==L.size&&t.find(".fr-upload-progress").addClass("fr-none")}function Q(){for(var e=w.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),a=0;a span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function te(e){J();var t=w.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),w.events.disableBlur(),a.focus()}function ae(e,t){var a=w.popups.get("filesManager.insert"),n=a.find(".fr-upload-progress-layer"),i=a.find(".fr-file-".concat(t));n.addClass("fr-error"),i.find("h5").text(e)}v[F]="File cannot be loaded from the passed link.",v[m]="No link in upload response.",v[D]="Error during file upload.",v[M]="Parsing response failed.",v[B]="File is too large.",v[N]="File type is invalid.",v[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",v[8]="File is corrupted.",v[9]="Error during file loading.",v[P]="File upload cancelled";var a,ne,ie,re,oe,se,n,le,ce,de,fe="";function pe(e){fe=e,a=document.getElementsByClassName(e),Array.prototype.map.call(a,function(e){!function n(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),ne=e.pageX,ie=e.pageY;var t=document.getElementById("filesList");ie+20>t.getBoundingClientRect().bottom&&ue(t,0,10),ie-20i.getBoundingClientRect().bottom&&ue(i,0,5),e.targetTouches[0].clientY-5\n
    \n\n \n
    \n ').concat(w.helpers.isMobile()?"
    \n
    "):"",'\n
    \n \n ').concat('','\n \n
    \n \n
    \n \n
    \n Image preview\n
    \n\n
    \n
    \n ").concat(function s(e,t,a){null==t&&(t=100);null==a&&(a="...");return e.length>t?e.substring(0,t-a.length)+a:e}(t.name,20),'\n ').concat(t.name,"\n \n
    \n
    \n
    ").concat(a,"\n
    \n \n
    \n ").concat(function l(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(t.size),"\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    ")+Ee(e)+"
    \n
    ";n.find(".fr-upload-progress-layer")[0].innerHTML=r+n.find(".fr-upload-progress-layer")[0].innerHTML,L.forEach(function c(e,t,a){x.get(t)&&n.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),O.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),be(e,t),Z(),w.opts.toolbarBottom?E(!0):w.popups.setPopupDimensions(n),pe("fr-file-list-item")}function ve(e){switch(e){case"application/msword":return w.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return w.icon.getFileIcon("docxIcon");case"image/gif":return w.icon.getFileIcon("gifIcon");case"image/jpeg":return w.icon.getFileIcon("jpegIcon");case"image/jpeg":return w.icon.getFileIcon("jpgIcon");case"type/text":return w.icon.getFileIcon("logIcon");case"video/quicktime":return w.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return w.icon.getFileIcon("mp3Icon");case"video/mp4":return w.icon.getFileIcon("mp4Icon");case"audio/ogg":return w.icon.getFileIcon("oggIcon");case"video/ogg":return w.icon.getFileIcon("ogvIcon");case"application/pdf":return w.icon.getFileIcon("pdfIcon");case"image/png":return w.icon.getFileIcon("pngIcon");case"text/plain":return w.icon.getFileIcon("txtIcon");case"video/webm":return w.icon.getFileIcon("webmIcon");case"image/webp":return w.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return w.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return w.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return w.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return w.icon.getFileIcon("zipIcon");default:return w.icon.getFileIcon("defaultIcon")}}function be(n,i,e){var r=w.popups.get("filesManager.insert"),t=r.find(".fr-file-item-icon-"+n).get(0);if(Be(Le(i))&&"image/gif"!=Le(i)&&"image/webp"!=Le(i)){"a"!=t.children[0].localName&&(t.innerHTML=""+t.innerHTML+"");r.find(".fr-file-item-icon-"+n).get(0).children[0].children[0];var o=new FileReader;if(null!=e&&e){var a=L.get(n);i.name=a.name,L.set(n,i)}if(o.onloadend=function(){r.find(".fr-file-item-icon-"+n).get(0).children[0].children[0].src=o.result;for(var e=atob(o.result.split(",")[1]),t=[],a=0;a\n '.concat(s.path,"\n ")}}else{var l=ve(Le(i));t.innerHTML='\n '.concat(l.path,"\n ")}}function Ee(e){var t="";if(Pe(Le(L.get(e)))){var a="fr-files-checkbox",n="";He(Le(L.get(e)))||(a="fr-checkbox-disabled",n="disabled");t='\n
    \n
    \n \n \n\n ").concat(''," \n
    \n \n
    ")}var i="application/msword",r="application/vnd.openxmlformats-officedocument.wordprocessingml.document",o="";return!Ue(Le(L.get(e)))&&He(Le(L.get(e)))||(s="fr-disabled"),Pe(Le(L.get(e)))&&(s="fr-disabled"),Ne(Le(L.get(e)))&&(s="fr-disabled",Le(L.get(e))!=i&&Le(L.get(e))!=r||w.opts.googleOptions&&!w.helpers.isMobile()&&w.opts.googleOptions.API_KEY&&w.opts.googleOptions.CLIENT_ID&&(s=""),"text/plain"!=Le(L.get(e))&&Le(L.get(e))!=i&&"application/pdf"!=Le(L.get(e))&&Le(L.get(e))!=r&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=Le(L.get(e))&&"application/vnd.ms-excel"!=Le(L.get(e))&&"type/text"!=Le(L.get(e))||(o="")),"video/url"===Le(L.get(e))&&(s="fr-disabled"),t+='
    \n \n\n \n \n \n\n \n \n
    \n
    \n \n
    \n\n
    \n\n
    \n ")}function Ae(e,t,a){var n=w.popups.get("filesManager.insert");if(!a&&e<=100){n.find(".fr-checkbox-file-"+t).get(0).disabled=!0,n.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),n.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var i=n.find(".fr-file-progress-circle-"+t),r=n.find(".fr-file-upload-percent-"+t);return 50 *")),a=[];for(e=0;e',a.appendChild(n),document.getElementById("signout_button").onclick=i,document.getElementById("cancel_file_edit").onclick=l}function l(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=undefined)});var e=document.getElementById("editDocContainer");e.parentNode.removeChild(e),document.getElementById("user_area-".concat(p.fileIndex))&&(document.getElementById("user_area-".concat(p.fileIndex)).style.display="none"),function n(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),a=0;a'),!0);else w.html.insert('').concat(a,""));var i=w.$el.find("#fr-inserted-file");i.removeAttr("id"),w.undo.saveStep(),function T(){var e,t=Array.prototype.slice.call(w.el.querySelectorAll("a.fr-file")),a=[];for(e=0;e'.concat(I.get(s).video,""),!1,w.opts.videoSplitHTML),w.popups.hide("filesManager.insert");var h=w.$el.find(".fr-jiv");h.removeClass("fr-jiv"),h.toggleClass("fr-rv",w.opts.videoResponsive),function C(e,t,a){!w.opts.htmlUntouched&&w.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(a[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==a?e.css({"float":"none"}):"left"==a?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==a?e.css({textAlign:"left"}):"right"==a?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(h,w.opts.videoDefaultDisplay,w.opts.videoDefaultAlign),h.toggleClass("fr-draggable",w.opts.videoMove),w.events.trigger("video.inserted",[h]),Re.call(h)}else{var m=I.get(s).link,v=I.get(s).sanitize,b=I.get(s).data,E=I.get(s).$existing_img,A=I.get(s).response;w.edit.off(),v&&(m=w.helpers.sanitizeURL(m)),function R(){var e,t;if(E){w.undo.canDo()||E.find("video").hasClass("fr-uploading")||w.undo.saveStep();var a=E.find("video").data("fr-old-src"),n=E.data("fr-replaced");E.data("fr-replaced",!1),w.$wp?((e=E.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),a&&E.find("video").attr("src",a),E.replaceWith(e)):e=E;for(var i=e.find("video").get(0).attributes,r=0;r"+w.language.translate("Your browser does not support HTML5 video.")+"");else{var c="",d=document.getElementById("fr-file-autoplay-button-"+i).checked;d&&(c="autoplay"),s=_(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+w.opts.videoDefaultDisplay[0]+("center"!=w.opts.videoDefaultAlign?" fr-fv"+w.opts.videoDefaultAlign[0]:"")).html('")}s.toggleClass("fr-draggable",w.opts.videoMove),w.edit.on(),w.events.focus(!0),w.selection.restore(),w.undo.saveStep(),w.opts.videoSplitHTML?w.markers.split():w.markers.insert();w.html.wrap();var f=w.$el.find(".fr-marker");w.node.isLastSibling(f)&&f.parent().hasClass("fr-deletable")&&f.insertAfter(f.parent());f.replaceWith(s);var p="";p=Ue(n)?"audio":"video",s.find(p).get(0).readyState>s.find(p).get(0).HAVE_FUTURE_DATA||w.helpers.isIOS()?a.call(s.find(p).get(0)):(s.find(p).on("canplaythrough load",a),s.find(p).on("error",a));return s}(m,b,Re,Le(I.get(s)),s),we(),w.undo.saveStep(),w.events.trigger("video.inserted",[e,A])}()}w.popups.hide("filesManager.insert"),x["delete"](s);var y=w.popups.get("filesManager.insert");y.find("input.fr-insert-attr.fr-checkbox-file-".concat(s))[0].checked=!1,y.find(".fr-file-"+s).get(0).classList.add("fr-unchecked"),j(),document.getElementById("fr-file-autoplay-button-"+s)&&(document.getElementById("fr-file-autoplay-button-"+s).checked=!1),O=O.filter(function(e){return e!=s})}function xe(e,t){var a,n;It.VIDEO_EMBED_REGEX.test(e)?(a="video",n=w.opts.videoSplitHTML):It.IMAGE_EMBED_REGEX.test(e)&&(a="image",n=w.opts.imageSplitHTML),w.events.focus(!0),w.selection.restore();var i=!1;y&&(Xe(),i=!0),w.html.insert('').concat(e,""),!1,n),w.popups.hide("filesManager.insert");var r=w.$el.find(".fr-jiv");r.removeClass("fr-jiv"),"video"==a&&(r.toggleClass("fr-rv",w.opts.videoResponsive),function o(e,t,a){!w.opts.htmlUntouched&&w.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(a[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==a?e.css({"float":"none"}):"left"==a?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==a?e.css({textAlign:"left"}):"right"==a?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(r,w.opts.videoDefaultDisplay,w.opts.videoDefaultAlign),r.toggleClass("fr-draggable",w.opts.videoMove),w.events.trigger(i?"video.replaced":"video.inserted",[r])),"image"==a&&(lt(r,w.opts.imageDefaultDisplay,w.opts.imageDefaultAlign),r.find("img").removeClass("fr-dii"),r.find("img").addClass("fr-dib"),r.toggleClass("fr-draggable",w.opts.imageMove),w.events.trigger(i?"image.replaced":"image.inserted",[r])),t&&(f=r,w.selection.clear(),w.toolbar.disable(),w.video._editVideo(f))}function ke(e,t){try{if(!1===w.events.trigger("filesManager.uploaded",[e],!0))return w.edit.on(),!1;var a=JSON.parse(e);return a.link?a:(q(m,e,null,t),!1)}catch(n){return q(M,e,null,t),!1}}function Oe(e,t){try{var a=_(e).find("Location").text(),n=_(e).find("Key").text();return!1===w.events.trigger("filesManager.uploadedToS3",[a,n,e],!0)?(w.edit.on(),!1):a}catch(i){return q(M,e,null,t),!1}}function Fe(e,t,a,n){if(-1w.opts.filesManagerMaxSize)return q(B,null,null,n),!1;if(w.opts.filesManagerAllowedTypes.indexOf("*")<0&&w.opts.filesManagerAllowedTypes.indexOf(Le(e))<0)return q(N,null,null,n),!1;var i;if(function A(e){isNaN(e)||(w.popups.get("filesManager.insert").find(".fr-file-item-right-"+e).get(0).innerHTML='
    \n \n\n \n\n
    \n 0%\n
    \n
    \n
    \n
    \n
    \n
    "),R.set(e,0))}(n),w.drag_support.formdata&&(i=w.drag_support.formdata?new FormData:null),i){var r;if(!1!==w.opts.filesManagerUploadToS3)for(r in i.append("key",w.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),i.append("success_action_status","201"),i.append("X-Requested-With","xhr"),i.append("Content-Type",Le(e)),w.opts.filesManagerUploadToS3.params)w.opts.filesManagerUploadToS3.params.hasOwnProperty(r)&&i.append(r,w.opts.filesManagerUploadToS3.params[r]);for(r in w.opts.filesManagerUploadParams)w.opts.filesManagerUploadParams.hasOwnProperty(r)&&i.append(r,w.opts.filesManagerUploadParams[r]);i.append(w.opts.filesManagerUploadParam,e,e.name);var o,s,l=w.opts.filesManagerUploadURL;w.opts.filesManagerUploadToS3&&(l=w.opts.filesManagerUploadToS3.uploadURL?w.opts.filesManagerUploadToS3.uploadURL:"https://".concat(w.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(w.opts.filesManagerUploadToS3.bucket)),w.opts.filesManagerUploadToAzure&&(l=w.opts.filesManagerUploadToAzure.uploadURL?"".concat(w.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(w.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(w.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),o=l,w.opts.filesManagerUploadToAzure.SASToken&&(l+=w.opts.filesManagerUploadToAzure.SASToken),w.opts.filesManagerUploadMethod="PUT");var c=w.core.getXHR(l,w.opts.filesManagerUploadMethod);if(w.opts.filesManagerUploadToAzure){var d=(new Date).toUTCString();if(!w.opts.filesManagerUploadToAzure.SASToken&&w.opts.filesManagerUploadToAzure.accessKey){var f=w.opts.filesManagerUploadToAzure.account,p=w.opts.filesManagerUploadToAzure.container;if(w.opts.filesManagerUploadToAzure.uploadURL){var u=w.opts.filesManagerUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var g="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+f+"/"+p+"/"+e.name),m=w.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+Le(e)+"\n\n\n\n\n\n\n"+g+"\n"+h,v=w.cryptoJSPlugin.cryptoJS.HmacSHA256(m,w.cryptoJSPlugin.cryptoJS.enc.Base64.parse(w.opts.filesManagerUploadToAzure.accessKey)).toString(w.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;s=v,c.setRequestHeader("Authorization",b)}for(r in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",Le(e)),c.setRequestHeader("x-ms-blob-type","BlockBlob"),w.opts.filesManagerUploadParams)w.opts.filesManagerUploadParams.hasOwnProperty(r)&&c.setRequestHeader(r,w.opts.filesManagerUploadParams[r]);for(r in w.opts.filesManagerUploadToAzure.params)w.opts.filesManagerUploadToAzure.params.hasOwnProperty(r)&&c.setRequestHeader(r,w.opts.filesManagerUploadToAzure.params[r])}c.onload=function(){Ne(Le(e))?function g(e,t,a,n,i){var r=this.status,o=this.response,s=this.responseXML,l=this.responseText;try{if(w.opts.filesManagerUploadToS3||w.opts.filesManagerUploadToAzure)if(201===r){var c;if(w.opts.filesManagerUploadToAzure){if(!1===w.events.trigger("filesManager.uploadedToAzure",[this.responseURL,i,o],!0))return w.edit.on(),!1;c=n}else c=Oe(s,t);if(c){var d={link:c,text:e,response:o,type:a};I.set(t,d)}}else q(M,o||s,null,t);else if(200<=r&&r<300){var f=ke(l,t);if(f){var p={link:f.link,text:e,response:o,type:a};I.set(t,p)}}else q(D,o||l,null,t)}catch(u){q(M,o||l,null,t)}}.call(c,e.name,n,Le(e),o,s):function h(e,t,a,n,i){var r=this.status,o=this.response,s=this.responseXML,l=this.responseText;try{if(w.opts.filesManagerUploadToS3||w.opts.filesManagerUploadToAzure)if(201==r){var c;if(w.opts.filesManagerUploadToAzure){if(!1===w.events.trigger("filesManager.uploadedToAzure",[this.responseURL,i,o],!0))return w.edit.on(),!1;c=n}else c=Oe(s,t);if(c){var d={link:c,sanitize:!1,data:[],$existing_img:e,response:o||s,type:a};I.set(t,d)}}else q(M,o||s,e,t);else if(200<=r&&r<300){var f=ke(l,t);if(f){var p={link:f.link,sanitize:!1,data:f,$existing_img:e,response:o||s,type:a};I.set(t,p)}}else q(D,o||l,e,t)}catch(u){q(M,o||l,e,t)}}.call(c,y,n,Le(e),o,s),k.has(n)||Ae(100,n,!0)},c.onerror=function(){q(M,this.response||this.responseText||this.responseXML,null,n)},c.upload.onprogress=function(e){!function a(e,t){e.lengthComputable&&Ae(e.loaded/e.total*100|0,t,!1)}(e,n)},c.onabort=function(e){!function a(e,t){q(P,t,y,e)}(n,e)},c.send(w.opts.filesManagerUploadToAzure?e:i),C.set(n,c)}}function De(l){w.events.$on(l,"click",".fr-upload-progress-layer",function(e){if(w.helpers.isMobile())return e.stopPropagation(),!1},!0),w.events.$on(l,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t\n \n ";s[0].innerHTML=l+s[0].innerHTML}else if(Pe(Le(I.get(e)))){var c;if(I.get(e).hasOwnProperty("video")){var d=I.get(e).video.substring(I.get(e).video.indexOf("src")+3),f=d.substring(d.indexOf('"')+1);f=f.substring(0,f.indexOf('"')),c='
    \n
    \n
    ×
    \n \n
    \n
    ')}else c='
    \n
    \n
    ×
    \n \n
    \n
    ";s[0].innerHTML=c+s[0].innerHTML}else if(Ue(Le(I.get(e)))){var p='
    \n
    \n
    ×
    \n \n
    \n
    ');s[0].innerHTML=p+s[0].innerHTML}else if(Ne(Le(I.get(e)))){var u=I.get(e).link,g=I.get(e).text;if(u.endsWith(".pdf")||u.endsWith(".txt")){var h='
    \t\n
    \t\n
    ×
    \t\n \t\n
    \t\n
    ');s[0].innerHTML=h+s[0].innerHTML}else if(0===u.indexOf("blob:")&&w.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(L.get(e),g);else{var m=document.createElement("a");m.href=u,m.download=g,m.click()}}}}(t)}),w.events.$on(l,"click",".fr-file-delete-button",function(e){X(parseInt(this.id.split("-").pop()))}),w.events.$on(l,"click",".fr-file-cancel-upload-button",function(e){!function a(e){var t=w.popups.get("filesManager.insert");t.find(".fr-file-item-right-"+e).get(0).innerHTML=Ee(e),C.get(e).abort(),ye(e,100,!0),t.find(".fr-checkbox-file-"+e).get(0).disabled=!0}(parseInt(this.id.split("-").pop()))}),w.events.$on(l,"click",".fr-upload-delete-button",function(e){!function t(e){0!=C.get(e).readyState&&(C.get(e).abort(),ye(e,100,!0),C["delete"](e)),X(e)}(parseInt(this.id.split("-").pop()))}),w.events.$on(l,"click",".fr-file-view-close",function(e){l.find(".fr-file-view-modal").get(0).outerHTML=""}),w.events.$on(l,"click",".fr-plugins-enable",function(e){!function t(){h.forEach(function(e){w.opts.pluginsEnabled.indexOf(e)<0&&w.opts.pluginsEnabled.push(e)})}(),function a(e){for(var t in e)if(!w[t]){if(It.PLUGINS[t]&&w.opts.pluginsEnabled.indexOf(t)<0)continue;w[t]=new e[t](w),w[t]._init&&w[t]._init()}}(It.PLUGINS),w.popups.get("filesManager.insert").get(0).outerHTML="",We(),E(!0)}),w.events.$on(l,"click",".fr-plugins-cancel",function(e){w.popups.hide("filesManager.insert")}),w.events.$on(l,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),w.events.$on(l,"drop",".fr-files-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),_(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=l.data("instance")||w;a.events.disableBlur();for(var n=[],i=0;i'.concat(i,'').concat(r,""));var o=w.opts.filesInsertButtons.indexOf("filesUpload"),s=w.opts.filesInsertButtons.indexOf("filesByURL"),l=w.opts.filesInsertButtons.indexOf("filesEmbed"),c="";0<=o&&(t=" fr-active",0<=s&&s
    Drag & Drop One or More Files
    OR
    Click Browse Files
    '));var d="";0<=l&&(t=" fr-active",(o
    "));var f="";0<=s&&(t=" fr-active",0<=o&&o
    "));var p={buttons:n,upload_layer:c,by_url_layer:f,embed_layer:d,upload_progress_layer:"
    "),progress_bar:'

    Uploading

    '};return 1<=w.opts.imageInsertButtons.length&&(a=w.popups.create("filesManager.insert",p)),w.$wp&&w.events.$on(w.$wp,"scroll",function(){y&&w.popups.isVisible("filesManager.insert")&&replace()}),De(a),w.popups.setPopupDimensions(a),a}function Ke(e){var t=e.split("/").pop();if(t.split(".").length<2){var a=new Date;return t+"-"+a.getDate()+"/"+(a.getMonth()+1)+"/"+a.getFullYear()}return t}function $e(){y&&w.popups.get("image.alt").find("input").val(y.attr("alt")||"").trigger("change")}function ze(){var e=w.popups.get("image.alt");e||(e=Ge()),Z(),w.popups.refresh("image.alt"),w.popups.setContainer("image.alt",w.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();w.popups.show("image.alt",a,n,t.outerHeight(),!0)}function Ge(e){if(e)return w.popups.onRefresh("image.alt",$e),!0;var t={buttons:'
    '.concat(w.button.buildList(w.opts.imageAltButtons),"
    "),alt_layer:'
    ")},a=w.popups.create("image.alt",t);return w.$wp&&w.events.$on(w.$wp,"scroll.image-alt",function(){y&&w.popups.isVisible("image.alt")&&ze()}),a}function Ye(){var e=w.popups.get("image.size");if(y)if(ft()){var t=y.parent();t.get(0).style.width||(t=y.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(y.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(y.get(0).style.height).trigger("change")}function Ve(){var e=w.popups.get("image.size");e||(e=qe()),Z(),w.popups.refresh("image.size"),w.popups.setContainer("image.size",w.$sc);var t=dt();ft()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();w.popups.show("image.size",a,n,t.outerHeight(),!0)}function qe(e){if(e)return w.popups.onRefresh("image.size",Ye),!0;var t={buttons:'
    '.concat(w.button.buildList(w.opts.imageSizeButtons),"
    "),size_layer:'
    ")},a=w.popups.create("image.size",t);return w.$wp&&w.events.$on(w.$wp,"scroll.image-size",function(){y&&w.popups.isVisible("image.size")&&Ve()}),a}function je(e,t,a,n){return e.pageX=t,z.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,n)),G.call(this,e),Y.call(this,e),++n}function Xe(e){(e=e||dt())&&!1!==w.events.trigger("image.beforeRemove",[e])&&(w.popups.hideAll(),it(!0),w.undo.canDo()||w.undo.saveStep(),e.get(0)==w.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(w.selection.setBefore(e.get(0).parentNode)||w.selection.setAfter(e.get(0).parentNode)||e.parent().after(It.MARKERS),_(e.get(0).parentNode).remove()):(w.selection.setBefore(e.get(0))||w.selection.setAfter(e.get(0))||e.after(It.MARKERS),e.remove()),w.html.fillEmptyBlocks(),w.selection.restore()),w.undo.saveStep())}function Qe(e){var t=e.which;if(y&&(t==It.KEYCODE.BACKSPACE||t==It.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),Xe(),!1;if(y&&t==It.KEYCODE.ESC){var a=y;return it(!0),w.selection.setAfter(a.get(0)),w.selection.restore(),e.preventDefault(),!1}if(!y||t!=It.KEYCODE.ARROW_LEFT&&t!=It.KEYCODE.ARROW_RIGHT)return y&&t===It.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),it(!0),!1):y&&t!=It.KEYCODE.F10&&!w.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var n=y.get(0);return it(!0),t==It.KEYCODE.ARROW_LEFT?w.selection.setBefore(n):w.selection.setAfter(n),w.selection.restore(),e.preventDefault(),!1}function Je(e){if(e&&"IMG"==e.tagName){if(w.node.hasClass(e,"fr-uploading")||w.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):w.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&w.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var a=e.nextSibling;a&&a.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var n=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),i=0;i"));var n=w.$el.find('img[data-fr-image-pasted="true"]');n&<(n,w.opts.imageDefaultDisplay,w.opts.imageDefaultAlign),w.events.trigger("paste.after")}function at(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var a=0;a"):_(w.node.blockParent(e.get(0))).after("<".concat(w.html.defaultTag(),">
    ")))})})(),"IMG"==w.el.tagName&&w.$el.addClass("fr-view"),w.helpers.isMobile()&&(w.events.$on(w.$el,"touchstart","IMG"==w.el.tagName?null:'img:not([contenteditable="false"])',function(){de=!1}),w.events.$on(w.$el,"touchmove",function(){de=!0})),w.$wp?(w.events.on("window.keydown keydown",Qe,!0),w.events.on("keyup",function(e){if(y&&e.which==It.KEYCODE.ENTER)return!1},!0),w.events.$on(w.$el,"keydown",function(){var e=w.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&w.node.isLastSibling(e))&&(e=e.parentNode),w.node.hasClass(e,"fr-inner")||(w.node.hasClass(e,"fr-img-caption")||(e=_(e).parents(".fr-img-caption").get(0)),w.node.hasClass(e,"fr-img-caption")&&(_(e).after(It.INVISIBLE_SPACE+It.MARKERS),w.selection.restore()))})):w.events.$on(w.$win,"keydown",Qe),w.events.on("toolbar.esc",function(){if(y){if(w.$wp)w.events.disableBlur(),w.events.focus();else{var e=y;it(!0),w.selection.setAfter(e.get(0)),w.selection.restore()}return!1}},!0),w.events.on("toolbar.focusEditor",function(){if(y)return!1},!0),w.events.on("window.cut window.copy",function(e){if(y&&w.popups.isVisible("image.edit")&&!w.popups.get("image.edit").find(":focus").length){var t=dt();ft()?(t.before(It.START_MARKER),t.after(It.END_MARKER),w.selection.restore(),w.paste.saveCopiedText(t.get(0).outerHTML,t.text())):w.paste.saveCopiedText(y.get(0).outerHTML,y.attr("alt")),"copy"==e.type?setTimeout(function(){Ce(y)}):(it(!0),w.undo.saveStep(),setTimeout(function(){w.undo.saveStep()},0))}},!0),w.browser.msie&&w.events.on("keydown",function(e){if(!w.selection.isCollapsed()||!y)return!0;var t=e.which;t==It.KEYCODE.C&&w.keys.ctrlKey(e)?w.events.trigger("window.copy"):t==It.KEYCODE.X&&w.keys.ctrlKey(e)&&w.events.trigger("window.cut")}),w.events.$on(_(w.o_win),"keydown",function(e){var t=e.which;if(y&&t==It.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),w.events.$on(w.$win,"keydown",function(e){var t=e.which;y&&y.hasClass("fr-uploading")&&t==It.KEYCODE.ESC&&y.trigger("abortUpload")}),w.events.on("destroy",function(){y&&y.hasClass("fr-uploading")&&y.trigger("abortUpload")}),w.events.on("paste.before",at),w.events.on("paste.beforeCleanup",nt),w.events.on("paste.after",et),w.events.on("html.processGet",Je),w.opts.imageOutputSize&&w.events.on("html.beforeGet",function(){n=w.el.querySelectorAll("img");for(var e=0;e \n '.concat(w.button.buildList(w.opts.imageEditButtons),"\n ")};return w.popups.create("image.edit",a)}return!1}(!0),We(!0),qe(!0),Ge(!0),w.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return Xe(e),!1}),w.events.on("popups.hide.filesManager.insert",function(e){w.filesManager.minimizePopup(S)})},showInsertPopup:E,showLayer:function ut(e){var t,a,n=w.popups.get("filesManager.insert");if(y||w.opts.toolbarInline){if(y){var i=dt();ft()&&(i=i.find(".fr-img-wrap")),a=i.offset().top+i.outerHeight(),t=i.offset().left}}else{var r=w.$tb.find('.fr-command[data-cmd="insertFiles"]');t=r.offset().left,a=r.offset().top+(w.opts.toolbarBottom?10:r.outerHeight()-10)}!y&&w.opts.toolbarInline&&(a=n.offset().top-w.helpers.getPX(n.css("margin-top")),n.hasClass("fr-above")&&(a+=n.outerHeight())),n.find(".fr-layer").removeClass("fr-active"),n.find(".fr-".concat(e,"-layer")).addClass("fr-active"),n.find(".fr-upload-progress-layer").addClass("fr-active"),w.popups.show("filesManager.insert",t,a,y?y.outerHeight():0),w.accessibility.focusPopup(n)},refreshUploadButton:function gt(e){var t=w.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function ht(e){var t=w.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:Fe,insertByURL:function mt(){for(var e,t=w.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),a=t.val().trim().split(/[ ,]+/),n=[],i=0,r=0;r

     

    '),e.wrap(''),y.after('").concat(It.START_MARKER).concat(w.language.translate("Image Caption")).concat(It.END_MARKER,"")),y.removeAttr("class").removeAttr("style").removeAttr("width"),y.parents(".fr-img-caption").css("width",s),it(!0),w.selection.restore()}else e=dt(),y.insertAfter(e),y.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),Ce(y)},refreshEmbedButton:function Tt(e){var t=w.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function Ct(e){void 0===e&&(e=w.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0===e.length||!It.VIDEO_EMBED_REGEX.test(e)&&!It.IMAGE_EMBED_REGEX.test(e)?(te(w.language.translate("Something went wrong. Please try again.")),It.VIDEO_EMBED_REGEX.test(e)&&w.events.trigger("video.codeError",[e])):xe(e)},hasCaption:ft,exitEdit:it,edit:Ce,cancelFileInsert:function Rt(){this.file_manager_dialog_open=!1,C.forEach(function(e,t){4!=e.readyState&&(e.abort(),X(t))});var e=w.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),r=0,C=new Map,R=new Map,Q(),w.popups.hide("filesManager.insert")},minimizePopup:function wt(e){this.file_manager_dialog_open=!1,w.popups.hide("filesManager.insert"),Q()},editImage:_e,saveImage:function St(e){var t=I.get(o);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),I.set(o,t)},_showErrorMessage:te,_showFileErrorMessage:ae,getFileThumbnail:be,deleteFile:X,checkAutoplay:Me,checkInsertAllState:j,_disableInsertCheckbox:V,_getFileType:Le,isChildWindowOpen:function _t(){return p},setChildWindowState:function Lt(e){e!==undefined&&(p=e)},resetAllFilesCheckbox:Q}},It.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),It.RegisterShortcut(It.KEYCODE.P,"insertFiles",null,"P"),It.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),It.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),It.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),It.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),It.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),It.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),It.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),It.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),It.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),It.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),It.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),It.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),It.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),It.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),It.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),It.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),It.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),It.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),It.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),It.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),It.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}}),It.PLUGINS.cryptoJSPlugin=function(e){var t,d,a,n,i,r,o,f,s,l,c,p,u,g,h,v,m,b,E,A,y,T,C,R,w,S,_,L,I,x,k,O,F,D,M,B,N,P,U,H,W,K,$,z,G,Y,V,q,j,X,Q,J,Z,ee,te,ae,ne,ie,re,oe,se,le,ce,de,fe,pe,ue,ge,he,me,ve=ve||function(d,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&"undefined"!=typeof global&&global.crypto&&(t=global.crypto),!t&&"function"==typeof require)try{t=require("crypto")}catch(h){}var n=function n(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(h){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(h){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function a(){}return function(e){var t;return a.prototype=e,t=new a,a.prototype=null,t}}(),i={},r=i.lib={},o=r.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},f=r.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,a=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var r=0;r>>2]>>>24-r%4*8&255;t[n+r>>>2]|=o<<24-(n+r)%4*8}else for(r=0;r>>2]=a[r>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=d.ceil(t/4)},clone:function e(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],a=0;a>>2]>>>24-i%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new f.init(a,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],i=0;i>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new f.init(a,t)}},p=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,a=this._data,n=a.words,i=a.sigBytes,r=this.blockSize,o=i/(4*r),s=(o=e?d.ceil(o):d.max((0|o)-this._minBufferSize,0))*r,l=d.min(4*s,i);if(s){for(var c=0;c>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,a=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-r%4*2,l=o|s;n[i>>>2]|=l<<24-i%4*8,i++}return d.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(d){var e=ve,t=e.lib,a=t.WordArray,n=t.Hasher,i=e.algo,S=[];!function(){for(var e=0;e<64;e++)S[e]=4294967296*d.abs(d.sin(e+1))|0}();var r=i.MD5=n.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var n=t+a,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r=this._hash.words,o=e[t+0],s=e[t+1],l=e[t+2],c=e[t+3],d=e[t+4],f=e[t+5],p=e[t+6],u=e[t+7],g=e[t+8],h=e[t+9],m=e[t+10],v=e[t+11],b=e[t+12],E=e[t+13],A=e[t+14],y=e[t+15],T=r[0],C=r[1],R=r[2],w=r[3];C=x(C=x(C=x(C=x(C=I(C=I(C=I(C=I(C=L(C=L(C=L(C=L(C=_(C=_(C=_(C=_(C,R=_(R,w=_(w,T=_(T,C,R,w,o,7,S[0]),C,R,s,12,S[1]),T,C,l,17,S[2]),w,T,c,22,S[3]),R=_(R,w=_(w,T=_(T,C,R,w,d,7,S[4]),C,R,f,12,S[5]),T,C,p,17,S[6]),w,T,u,22,S[7]),R=_(R,w=_(w,T=_(T,C,R,w,g,7,S[8]),C,R,h,12,S[9]),T,C,m,17,S[10]),w,T,v,22,S[11]),R=_(R,w=_(w,T=_(T,C,R,w,b,7,S[12]),C,R,E,12,S[13]),T,C,A,17,S[14]),w,T,y,22,S[15]),R=L(R,w=L(w,T=L(T,C,R,w,s,5,S[16]),C,R,p,9,S[17]),T,C,v,14,S[18]),w,T,o,20,S[19]),R=L(R,w=L(w,T=L(T,C,R,w,f,5,S[20]),C,R,m,9,S[21]),T,C,y,14,S[22]),w,T,d,20,S[23]),R=L(R,w=L(w,T=L(T,C,R,w,h,5,S[24]),C,R,A,9,S[25]),T,C,c,14,S[26]),w,T,g,20,S[27]),R=L(R,w=L(w,T=L(T,C,R,w,E,5,S[28]),C,R,l,9,S[29]),T,C,u,14,S[30]),w,T,b,20,S[31]),R=I(R,w=I(w,T=I(T,C,R,w,f,4,S[32]),C,R,g,11,S[33]),T,C,v,16,S[34]),w,T,A,23,S[35]),R=I(R,w=I(w,T=I(T,C,R,w,s,4,S[36]),C,R,d,11,S[37]),T,C,u,16,S[38]),w,T,m,23,S[39]),R=I(R,w=I(w,T=I(T,C,R,w,E,4,S[40]),C,R,o,11,S[41]),T,C,c,16,S[42]),w,T,p,23,S[43]),R=I(R,w=I(w,T=I(T,C,R,w,h,4,S[44]),C,R,b,11,S[45]),T,C,y,16,S[46]),w,T,l,23,S[47]),R=x(R,w=x(w,T=x(T,C,R,w,o,6,S[48]),C,R,u,10,S[49]),T,C,A,15,S[50]),w,T,f,21,S[51]),R=x(R,w=x(w,T=x(T,C,R,w,b,6,S[52]),C,R,c,10,S[53]),T,C,m,15,S[54]),w,T,s,21,S[55]),R=x(R,w=x(w,T=x(T,C,R,w,g,6,S[56]),C,R,y,10,S[57]),T,C,p,15,S[58]),w,T,E,21,S[59]),R=x(R,w=x(w,T=x(T,C,R,w,d,6,S[60]),C,R,v,10,S[61]),T,C,l,15,S[62]),w,T,h,21,S[63]),r[0]=r[0]+T|0,r[1]=r[1]+C|0,r[2]=r[2]+R|0,r[3]=r[3]+w|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32;var i=d.floor(a/4294967296),r=a;t[15+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,s=o.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function e(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});function _(e,t,a,n,i,r,o){var s=e+(t&a|~t&n)+i+o;return(s<>>32-r)+t}function L(e,t,a,n,i,r,o){var s=e+(t&n|a&~n)+i+o;return(s<>>32-r)+t}function I(e,t,a,n,i,r,o){var s=e+(t^a^n)+i+o;return(s<>>32-r)+t}function x(e,t,a,n,i,r,o){var s=e+(a^(t|~n))+i+o;return(s<>>32-r)+t}e.MD5=n._createHelper(r),e.HmacMD5=n._createHmacHelper(r)}(Math),n=(a=ve).lib,i=n.WordArray,r=n.Hasher,o=a.algo,f=[],s=o.SHA1=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],i=a[1],r=a[2],o=a[3],s=a[4],l=0;l<80;l++){if(l<16)f[l]=0|e[t+l];else{var c=f[l-3]^f[l-8]^f[l-14]^f[l-16];f[l]=c<<1|c>>>31}var d=(n<<5|n>>>27)+s+f[l];d+=l<20?1518500249+(i&r|~i&o):l<40?1859775393+(i^r^o):l<60?(i&r|i&o|r&o)-1894007588:(i^r^o)-899497514,s=o,o=r,r=i<<30|i>>>2,i=n,n=d}a[0]=a[0]+n|0,a[1]=a[1]+i|0,a[2]=a[2]+r|0,a[3]=a[3]+o|0,a[4]=a[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(a/4294967296),t[15+(n+64>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),a.SHA1=r._createHelper(s),a.HmacSHA1=r._createHmacHelper(s),function(i){var e=ve,t=e.lib,a=t.WordArray,n=t.Hasher,r=e.algo,o=[],E=[];!function(){function e(e){for(var t=i.sqrt(e),a=2;a<=t;a++)if(!(e%a))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var a=2,n=0;n<64;)e(a)&&(n<8&&(o[n]=t(i.pow(a,.5))),E[n]=t(i.pow(a,1/3)),n++),a++}();var A=[],s=r.SHA256=n.extend({_doReset:function(){this._hash=new a.init(o.slice(0))},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],i=a[1],r=a[2],o=a[3],s=a[4],l=a[5],c=a[6],d=a[7],f=0;f<64;f++){if(f<16)A[f]=0|e[t+f];else{var p=A[f-15],u=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=A[f-2],h=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;A[f]=u+A[f-7]+h+A[f-16]}var m=n&i^n&r^i&r,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),b=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&c)+E[f]+A[f];d=c,c=l,l=s,s=o+b|0,o=r,r=i,i=n,n=b+(v+m)|0}a[0]=a[0]+n|0,a[1]=a[1]+i|0,a[2]=a[2]+r|0,a[3]=a[3]+o|0,a[4]=a[4]+s|0,a[5]=a[5]+l|0,a[6]=a[6]+c|0,a[7]=a[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=i.floor(a/4294967296),t[15+(n+64>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=n._createHelper(s),e.HmacSHA256=n._createHmacHelper(s)}(Math),function(){var e=ve,i=e.lib.WordArray,t=e.enc;t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>1]|=e.charCodeAt(n)<<16-n%2*16;return i.create(a,2*t)}};function o(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16LE={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n>>1]|=o(e.charCodeAt(n)<<16-n%2*16);return i.create(a,2*t)}}}(),function(){if("function"==typeof ArrayBuffer){var e=ve.lib.WordArray,i=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,a=[],n=0;n>>2]|=e[n]<<24-n%4*8;i.call(this,a,t)}else i.apply(this,arguments)}).prototype=e}}(),function(e){var t=ve,a=t.lib,n=a.WordArray,i=a.Hasher,r=t.algo,C=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),R=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),w=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),S=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),_=n.create([0,1518500249,1859775393,2400959708,2840853838]),L=n.create([1352829926,1548603684,1836072691,2053994217,0]),o=r.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var n=t+a,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r,o,s,l,c,d,f,p,u,g,h,m=this._hash.words,v=_.words,b=L.words,E=C.words,A=R.words,y=w.words,T=S.words;d=r=m[0],f=o=m[1],p=s=m[2],u=l=m[3],g=c=m[4];for(a=0;a<80;a+=1)h=r+e[t+E[a]]|0,h+=a<16?I(o,s,l)+v[0]:a<32?x(o,s,l)+v[1]:a<48?k(o,s,l)+v[2]:a<64?O(o,s,l)+v[3]:F(o,s,l)+v[4],h=(h=D(h|=0,y[a]))+c|0,r=c,c=l,l=D(s,10),s=o,o=h,h=d+e[t+A[a]]|0,h+=a<16?F(f,p,u)+b[0]:a<32?O(f,p,u)+b[1]:a<48?k(f,p,u)+b[2]:a<64?x(f,p,u)+b[3]:I(f,p,u)+b[4],h=(h=D(h|=0,T[a]))+g|0,d=g,g=u,u=D(p,10),p=f,f=h;h=m[1]+s+u|0,m[1]=m[2]+l+g|0,m[2]=m[3]+c+d|0,m[3]=m[4]+r+f|0,m[4]=m[0]+o+p|0,m[0]=h},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,r=i.words,o=0;o<5;o++){var s=r[o];r[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function e(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function I(e,t,a){return e^t^a}function x(e,t,a){return e&t|~e&a}function k(e,t,a){return(e|~t)^a}function O(e,t,a){return e&a|t&~a}function F(e,t,a){return e^(t|~a)}function D(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(o),t.HmacRIPEMD160=i._createHmacHelper(o)}(Math),c=(l=ve).lib.Base,p=l.enc.Utf8,l.algo.HMAC=c.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=p.parse(t));var a=e.blockSize,n=4*a;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),r=this._iKey=t.clone(),o=i.words,s=r.words,l=0;l>>24)|4278255360&(r<<24|r>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(R=a[i]).high^=o,R.low^=r}for(var s=0;s<24;s++){for(var l=0;l<5;l++){for(var c=0,d=0,f=0;f<5;f++){c^=(R=a[l+5*f]).high,d^=R.low}var p=O[l];p.high=c,p.low=d}for(l=0;l<5;l++){var u=O[(l+4)%5],g=O[(l+1)%5],h=g.high,m=g.low;for(c=u.high^(h<<1|m>>>31),d=u.low^(m<<1|h>>>31),f=0;f<5;f++){(R=a[l+5*f]).high^=c,R.low^=d}}for(var v=1;v<25;v++){var b=(R=a[v]).high,E=R.low,A=I[v];d=A<32?(c=b<>>32-A,E<>>32-A):(c=E<>>64-A,b<>>64-A);var y=O[x[v]];y.high=c,y.low=d}var T=O[0],C=a[0];T.high=C.high,T.low=C.low;for(l=0;l<5;l++)for(f=0;f<5;f++){var R=a[v=l+5*f],w=O[v],S=O[(l+1)%5+5*f],_=O[(l+2)%5+5*f];R.high=w.high^~S.high&_.high,R.low=w.low^~S.low&_.low}R=a[0];var L=k[s];R.high^=L.high,R.low^=L.low}},_doFinalize:function(){var e=this._data,t=e.words,a=(this._nDataBytes,8*e.sigBytes),n=32*this.blockSize;t[a>>>5]|=1<<24-a%32,t[(p.ceil((a+1)/n)*n>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var i=this._state,r=this.cfg.outputLength/8,o=r/8,s=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),s.push(f),s.push(d)}return new u.init(s,r)},clone:function e(){for(var e=n.clone.call(this),t=e._state=this._state.slice(0),a=0;a<25;a++)t[a]=t[a].clone();return e}});e.SHA3=n._createHelper(i),e.HmacSHA3=n._createHmacHelper(i)}(Math),function(){var e=ve,t=e.lib.Hasher,a=e.x64,n=a.Word,i=a.WordArray,r=e.algo;function o(){return n.create.apply(n,arguments)}var Ce=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],Re=[];!function(){for(var e=0;e<80;e++)Re[e]=o()}();var s=r.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],i=a[1],r=a[2],o=a[3],s=a[4],l=a[5],c=a[6],d=a[7],f=n.high,p=n.low,u=i.high,g=i.low,h=r.high,m=r.low,v=o.high,b=o.low,E=s.high,A=s.low,y=l.high,T=l.low,C=c.high,R=c.low,w=d.high,S=d.low,_=f,L=p,I=u,x=g,k=h,O=m,F=v,D=b,M=E,B=A,N=y,P=T,U=C,H=R,W=w,K=S,$=0;$<80;$++){var z,G,Y=Re[$];if($<16)G=Y.high=0|e[t+2*$],z=Y.low=0|e[t+2*$+1];else{var V=Re[$-15],q=V.high,j=V.low,X=(q>>>1|j<<31)^(q>>>8|j<<24)^q>>>7,Q=(j>>>1|q<<31)^(j>>>8|q<<24)^(j>>>7|q<<25),J=Re[$-2],Z=J.high,ee=J.low,te=(Z>>>19|ee<<13)^(Z<<3|ee>>>29)^Z>>>6,ae=(ee>>>19|Z<<13)^(ee<<3|Z>>>29)^(ee>>>6|Z<<26),ne=Re[$-7],ie=ne.high,re=ne.low,oe=Re[$-16],se=oe.high,le=oe.low;G=(G=(G=X+ie+((z=Q+re)>>>0>>0?1:0))+te+((z+=ae)>>>0>>0?1:0))+se+((z+=le)>>>0>>0?1:0),Y.high=G,Y.low=z}var ce,de=M&N^~M&U,fe=B&P^~B&H,pe=_&I^_&k^I&k,ue=L&x^L&O^x&O,ge=(_>>>28|L<<4)^(_<<30|L>>>2)^(_<<25|L>>>7),he=(L>>>28|_<<4)^(L<<30|_>>>2)^(L<<25|_>>>7),me=(M>>>14|B<<18)^(M>>>18|B<<14)^(M<<23|B>>>9),ve=(B>>>14|M<<18)^(B>>>18|M<<14)^(B<<23|M>>>9),be=Ce[$],Ee=be.high,Ae=be.low,ye=W+me+((ce=K+ve)>>>0>>0?1:0),Te=he+ue;W=U,K=H,U=N,H=P,N=M,P=B,M=F+(ye=(ye=(ye=ye+de+((ce=ce+fe)>>>0>>0?1:0))+Ee+((ce=ce+Ae)>>>0>>0?1:0))+G+((ce=ce+z)>>>0>>0?1:0))+((B=D+ce|0)>>>0>>0?1:0)|0,F=k,D=O,k=I,O=x,I=_,x=L,_=ye+(ge+pe+(Te>>>0>>0?1:0))+((L=ce+Te|0)>>>0>>0?1:0)|0}p=n.low=p+L,n.high=f+_+(p>>>0>>0?1:0),g=i.low=g+x,i.high=u+I+(g>>>0>>0?1:0),m=r.low=m+O,r.high=h+k+(m>>>0>>0?1:0),b=o.low=b+D,o.high=v+F+(b>>>0>>0?1:0),A=s.low=A+B,s.high=E+M+(A>>>0>>0?1:0),T=l.low=T+P,l.high=y+N+(T>>>0

    >>0?1:0),R=c.low=R+H,c.high=C+U+(R>>>0>>0?1:0),S=d.low=S+K,d.high=w+W+(S>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(a/4294967296),t[31+(n+128>>>10<<5)]=a,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function e(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(s),e.HmacSHA512=t._createHmacHelper(s)}(),U=(P=ve).x64,H=U.Word,W=U.WordArray,K=P.algo,$=K.SHA512,z=K.SHA384=$.extend({_doReset:function(){this._hash=new W.init([new H.init(3418070365,3238371032),new H.init(1654270250,914150663),new H.init(2438529370,812702999),new H.init(355462360,4144912697),new H.init(1731405415,4290775857),new H.init(2394180231,1750603025),new H.init(3675008525,1694076839),new H.init(1203062813,3204075428)])},_doFinalize:function(){var e=$._doFinalize.call(this);return e.sigBytes-=16,e}}),P.SHA384=$._createHelper(z),P.HmacSHA384=$._createHmacHelper(z),ve.lib.Cipher||(Y=(G=ve).lib,V=Y.Base,q=Y.WordArray,j=Y.BufferedBlockAlgorithm,(X=G.enc).Utf8,Q=X.Base64,J=G.algo.EvpKDF,Z=Y.Cipher=j.extend({cfg:V.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,a){this.cfg=this.cfg.extend(a),this._xformMode=e,this._key=t,this.reset()},reset:function(){j.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function i(e){return"string"==typeof e?le:oe}return function(n){return{encrypt:function(e,t,a){return i(t).encrypt(n,e,t,a)},decrypt:function(e,t,a){return i(t).decrypt(n,e,t,a)}}}}()}),Y.StreamCipher=Z.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),ee=G.mode={},te=Y.BlockCipherMode=V.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),ae=ee.CBC=function(){var e=te.extend();function r(e,t,a){var n,i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(var r=0;r>>2];e.sigBytes-=t}},Y.BlockCipher=Z.extend({cfg:Z.cfg.extend({mode:ae,padding:ne}),reset:function(){var e;Z.reset.call(this);var t=this.cfg,a=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,a&&a.words):(this._mode=e.call(n,this,a&&a.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),ie=Y.CipherParams=V.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),re=(G.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,a=e.salt;return(a?q.create([1398893684,1701076831]).concat(a).concat(t):t).toString(Q)},parse:function(e){var t,a=Q.parse(e),n=a.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=q.create(n.slice(2,4)),n.splice(0,4),a.sigBytes-=16),ie.create({ciphertext:a,salt:t})}},oe=Y.SerializableCipher=V.extend({cfg:V.extend({format:re}),encrypt:function(e,t,a,n){n=this.cfg.extend(n);var i=e.createEncryptor(a,n),r=i.finalize(t),o=i.cfg;return ie.create({ciphertext:r,key:a,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,a,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(a,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),se=(G.kdf={}).OpenSSL={execute:function(e,t,a,n){n||(n=q.random(8));var i=J.create({keySize:t+a}).compute(e,n),r=q.create(i.words.slice(t),4*a);return i.sigBytes=4*t,ie.create({key:i,iv:r,salt:n})}},le=Y.PasswordBasedCipher=oe.extend({cfg:oe.cfg.extend({kdf:se}),encrypt:function(e,t,a,n){var i=(n=this.cfg.extend(n)).kdf.execute(a,e.keySize,e.ivSize);n.iv=i.iv;var r=oe.encrypt.call(this,e,t,i.key,n);return r.mixIn(i),r},decrypt:function(e,t,a,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(a,e.keySize,e.ivSize,t.salt);return n.iv=i.iv,oe.decrypt.call(this,e,t,i.key,n)}})),ve.mode.CFB=function(){var e=ve.lib.BlockCipherMode.extend();function r(e,t,a,n){var i,r=this._iv;r?(i=r.slice(0),this._iv=undefined):i=this._prevBlock,n.encryptBlock(i,0);for(var o=0;o>>2]|=i<<24-r%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso10126={pad:function(e,t){var a=4*t,n=a-e.sigBytes%a;e.concat(ve.lib.WordArray.random(n-1)).concat(ve.lib.WordArray.create([n<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso97971={pad:function(e,t){e.concat(ve.lib.WordArray.create([2147483648],1)),ve.pad.ZeroPadding.pad(e,t)},unpad:function(e){ve.pad.ZeroPadding.unpad(e),e.sigBytes--}},ve.mode.OFB=(de=ve.lib.BlockCipherMode.extend(),fe=de.Encryptor=de.extend({processBlock:function(e,t){var a=this._cipher,n=a.blockSize,i=this._iv,r=this._keystream;i&&(r=this._keystream=i.slice(0),this._iv=undefined),a.encryptBlock(r,0);for(var o=0;o>>8^255&i^99,c[a]=i;var r=e[d[i]=a],o=e[r],s=e[o],l=257*e[i]^16843008*i;f[a]=l<<24|l>>>8,p[a]=l<<16|l>>>16,u[a]=l<<8|l>>>24,g[a]=l;l=16843009*s^65537*o^257*r^16843008*a;h[i]=l<<24|l>>>8,m[i]=l<<16|l>>>16,v[i]=l<<8|l>>>24,b[i]=l,a?(a=r^e[e[e[s^r]]],n^=e[e[n]]):a=n=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],n=a.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,a=e.sigBytes/4,n=4*((this._nRounds=a+6)+1),i=this._keySchedule=[],r=0;r>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]):(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=E[r/a|0]<<24),i[r]=i[r-a]^l);for(var o=this._invKeySchedule=[],s=0;s>>24]]^m[c[l>>>16&255]]^v[c[l>>>8&255]]^b[c[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,f,p,u,g,c)},decryptBlock:function(e,t){var a=e[t+1];e[t+1]=e[t+3],e[t+3]=a,this._doCryptBlock(e,t,this._invKeySchedule,h,m,v,b,d);a=e[t+1];e[t+1]=e[t+3],e[t+3]=a},_doCryptBlock:function(e,t,a,n,i,r,o,s){for(var l=this._nRounds,c=e[t]^a[0],d=e[t+1]^a[1],f=e[t+2]^a[2],p=e[t+3]^a[3],u=4,g=1;g>>24]^i[d>>>16&255]^r[f>>>8&255]^o[255&p]^a[u++],m=n[d>>>24]^i[f>>>16&255]^r[p>>>8&255]^o[255&c]^a[u++],v=n[f>>>24]^i[p>>>16&255]^r[c>>>8&255]^o[255&d]^a[u++],b=n[p>>>24]^i[c>>>16&255]^r[d>>>8&255]^o[255&f]^a[u++];c=h,d=m,f=v,p=b}h=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^a[u++],m=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^a[u++],v=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^a[u++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^a[u++];e[t]=h,e[t+1]=m,e[t+2]=v,e[t+3]=b},keySize:8});e.AES=t._createHelper(n)}(),function(){var e=ve,t=e.lib,i=t.WordArray,a=t.BlockCipher,n=e.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],d=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=n.DES=a.extend({_doReset:function(){for(var e=this._key.words,t=[],a=0;a<56;a++){var n=c[a]-1;t[a]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],r=0;r<16;r++){var o=i[r]=[],s=f[r];for(a=0;a<24;a++)o[a/6|0]|=t[(d[a]-1+s)%28]<<31-a%6,o[4+(a/6|0)]|=t[28+(d[a+24]-1+s)%28]<<31-a%6;o[0]=o[0]<<1|o[0]>>>31;for(a=1;a<7;a++)o[a]=o[a]>>>4*(a-1)+3;o[7]=o[7]<<5|o[7]>>>27}var l=this._invSubKeys=[];for(a=0;a<16;a++)l[a]=i[15-a]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,a){this._lBlock=e[t],this._rBlock=e[t+1],g.call(this,4,252645135),g.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),g.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=a[n],r=this._lBlock,o=this._rBlock,s=0,l=0;l<8;l++)s|=p[l][((o^i[l])&u[l])>>>0];this._lBlock=o,this._rBlock=r^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,g.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function g(e,t){var a=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=a,this._lBlock^=a<>>e^this._lBlock)&t;this._lBlock^=a,this._rBlock^=a<192.");var t=e.slice(0,2),a=e.length<4?e.slice(0,2):e.slice(2,4),n=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=r.createEncryptor(i.create(t)),this._des2=r.createEncryptor(i.create(a)),this._des3=r.createEncryptor(i.create(n))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=a._createHelper(o)}(),function(){var e=ve,t=e.lib.StreamCipher,a=e.algo,n=a.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,a=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var r=0;i<256;i++){var o=i%a,s=t[o>>>2]>>>24-o%4*8&255;r=(r+n[i]+s)%256;var l=n[i];n[i]=n[r],n[r]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,a=this._j,n=0,i=0;i<4;i++){a=(a+e[t=(t+1)%256])%256;var r=e[t];e[t]=e[a],e[a]=r,n|=e[(e[t]+e[a])%256]<<24-8*i}return this._i=t,this._j=a,n}e.RC4=t._createHelper(n);var r=a.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var e=this.cfg.drop;0>24&255)){var t=e>>16&255,a=e>>8&255,n=255&e;255===t?(t=0,255===a?(a=0,255===n?n=0:++n):++a):++t,e=0,e+=t<<16,e+=a<<8,e+=n}else e+=1<<24;return e}var t=e.Encryptor=e.extend({processBlock:function(e,t){var a=this._cipher,n=a.blockSize,i=this._iv,r=this._counter;i&&(r=this._counter=i.slice(0),this._iv=undefined),function l(e){return 0===(e[0]=c(e[0]))&&(e[1]=c(e[1])),e}(r);var o=r.slice(0);a.encryptBlock(o,0);for(var s=0;s>>24)|4278255360&(e[a]<<24|e[a]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(a=this._b=0;a<4;a++)p.call(this);for(a=0;a<8;a++)i[a]^=n[a+4&7];if(t){var r=t.words,o=r[0],s=r[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=f,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=f;for(a=0;a<4;a++)p.call(this)}},_doProcessBlock:function(e,t){var a=this._X;p.call(this),i[0]=a[0]^a[5]>>>16^a[3]<<16,i[1]=a[2]^a[7]>>>16^a[5]<<16,i[2]=a[4]^a[1]>>>16^a[7]<<16,i[3]=a[6]^a[3]>>>16^a[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,a=0;a<8;a++)l[a]=t[a];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(a=0;a<8;a++){var n=e[a]+t[a],i=65535&n,r=n>>>16,o=((i*i>>>17)+i*r>>>15)+r*r,s=((4294901760&n)*n|0)+((65535&n)*n|0);c[a]=o^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.Rabbit=t._createHelper(n)}(),ve.mode.CTR=(he=ve.lib.BlockCipherMode.extend(),me=he.Encryptor=he.extend({processBlock:function(e,t){var a=this._cipher,n=a.blockSize,i=this._iv,r=this._counter;i&&(r=this._counter=i.slice(0),this._iv=undefined);var o=r.slice(0);a.encryptBlock(o,0),r[n-1]=r[n-1]+1|0;for(var s=0;s>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],i=this._b=0;i<4;i++)p.call(this);for(i=0;i<8;i++)n[i]^=a[i+4&7];if(t){var r=t.words,o=r[0],s=r[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;n[0]^=l,n[1]^=d,n[2]^=c,n[3]^=f,n[4]^=l,n[5]^=d,n[6]^=c,n[7]^=f;for(i=0;i<4;i++)p.call(this)}},_doProcessBlock:function(e,t){var a=this._X;p.call(this),i[0]=a[0]^a[5]>>>16^a[3]<<16,i[1]=a[2]^a[7]>>>16^a[5]<<16,i[2]=a[4]^a[1]>>>16^a[7]<<16,i[3]=a[6]^a[3]>>>16^a[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,a=0;a<8;a++)l[a]=t[a];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(a=0;a<8;a++){var n=e[a]+t[a],i=65535&n,r=n>>>16,o=((i*i>>>17)+i*r>>>15)+r*r,s=((4294901760&n)*n|0)+((65535&n)*n|0);c[a]=o^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.RabbitLegacy=t._createHelper(n)}(),ve.pad.ZeroPadding={pad:function(e,t){var a=4*t;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){var t=e.words,a=e.sigBytes-1;for(a=e.sigBytes-1;0<=a;a--)if(t[a>>>2]>>>24-a%4*8&255){e.sigBytes=a+1;break}}},{init:function be(){},cryptoJS:ve}},Object.assign(It.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),It.PLUGINS.fontFamily=function(i){var r=i.$;function o(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return r(this).grep(t,function(e){return 0 span").text(i.opts.fontFamily[a()]||t[0]||i.language.translate(i.opts.fontFamilyDefaultSelection))}}}},It.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='

    "},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),It.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"}),Object.assign(It.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),It.PLUGINS.fontSize=function(n){var i=n.$;return{apply:function t(e){n.format.applyStyle("font-size",e)},refreshOnShow:function r(e,t){var a=i(n.selection.element()).css("font-size");"pt"===n.opts.fontSizeUnit&&(a="".concat(Math.round(72*parseFloat(a,10)/96),"pt")),t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(a,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function a(e){if(n.opts.fontSizeSelection){var t=n.helpers.getPX(i(n.selection.element()).css("font-size"));"pt"===n.opts.fontSizeUnit&&(t="".concat(Math.round(72*parseFloat(t,10)/96),"pt")),e.find("> span").text(t)}}}},It.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(e){return e.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(e){return e.opts.fontSizeDefaultSelection},html:function(){for(var e='"},callback:function(e,t){this.fontSize.apply(t)},refresh:function(e){this.fontSize.refresh(e)},refreshOnShow:function(e,t){this.fontSize.refreshOnShow(e,t)},plugin:"fontSize"}),It.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"}),Object.assign(It.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(It.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),It.PLUGINS.forms=function(o){var s,l=o.$;function t(e){o.selection.clear(),l(this).data("mousedown",!0)}function a(e){l(this).data("mousedown")&&(e.stopPropagation(),l(this).removeData("mousedown"),d(s=this)),e.preventDefault()}function n(){o.$el.find("input, textarea, button").removeData("mousedown")}function i(){l(this).removeData("mousedown")}function c(){return s||null}function d(e){if(-1==["checkbox","radio"].indexOf(e.type)){var t=o.popups.get("forms.edit");t||(t=function r(){var e="";0'.concat(o.button.buildList(o.opts.formEditButtons),""));var t={buttons:e},a=o.popups.create("forms.edit",t);return o.$wp&&o.events.$on(o.$wp,"scroll.link-edit",function(){c()&&o.popups.isVisible("forms.edit")&&d(c())}),a}());var a=l(s=e);o.popups.refresh("forms.edit"),o.popups.setContainer("forms.edit",o.$sc);var n=a.offset().left+a.outerWidth()/2,i=a.offset().top+a.outerHeight();o.popups.show("forms.edit",n,i,a.outerHeight())}}function r(){var e=o.popups.get("forms.update"),t=c();if(t){var a=l(t);a.is("button")?e.find('input[type="text"][name="text"]').val(a.text()):a.is("input[type=button]")||a.is("input[type=submit]")||a.is("input[type=reset]")?e.find('input[type="text"][name="text"]').val(a.val()):e.find('input[type="text"][name="text"]').val(a.attr("placeholder"))}e.find('input[type="text"][name="text"]').trigger("change")}function f(){s=null}function p(e){if(e)return o.popups.onRefresh("forms.update",r),o.popups.onHide("forms.update",f),!0;var t="";1<=o.opts.formUpdateButtons.length&&(t='
    '.concat(o.button.buildList(o.opts.formUpdateButtons),"
    "));var a=0,n={buttons:t,text_layer:'
    \n
    \n
    ")};return o.popups.create("forms.update",n)}return{_init:function u(){!function e(){o.events.$on(o.$el,o._mousedown,"input, textarea, button",t),o.events.$on(o.$el,o._mouseup,"input, textarea, button",a),o.events.$on(o.$el,"touchmove","input, textarea, button",i),o.events.$on(o.$el,o._mouseup,n),o.events.$on(o.$win,o._mouseup,n),p(!0)}(),o.events.$on(o.$el,"submit","form",function(e){return e.preventDefault(),!1})},updateInput:function g(){var e=o.popups.get("forms.update"),t=c();if(t){var a=l(t),n=e.find('input[type="text"][name="text"]').val()||"";a.is("button")?n.length?a.text(n):a.text("\u200b"):-1!=["button","submit","reset"].indexOf(t.type)?a.attr("value",n):a.attr("placeholder",n),o.popups.hide("forms.update"),d(t)}},getInput:c,applyStyle:function h(e,t,a){void 0===t&&(t=o.opts.formStyles),void 0===a&&(a=o.opts.formMultipleStyles);var n=c();if(!n)return!1;if(!a){var i=Object.keys(t);i.splice(i.indexOf(e),1),l(n).removeClass(i.join(" "))}l(n).toggleClass(e)},showUpdatePopup:function m(){var e=c();if(e){var t=l(e),a=o.popups.get("forms.update");a||(a=p()),o.popups.isVisible("forms.update")||o.popups.refresh("forms.update"),o.popups.setContainer("forms.update",o.$sc);var n=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();o.popups.show("forms.update",n,i,t.outerHeight())}},showEditPopup:d,back:function v(){o.events.disableBlur(),o.selection.restore(),o.events.enableBlur();var e=c();e&&o.$wp&&("BUTTON"===e.tagName&&o.selection.restore(),d(e))}}},It.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),It.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),It.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){var a=this.forms.getInput();a&&(this.forms.applyStyle(t),this.forms.showEditPopup(a))},refreshOnShow:function(e,t){var a=this.$,n=this.forms.getInput();if(n){var i=a(n);t.find(".fr-command").each(function(){var e=a(this).data("param1");a(this).toggleClass("fr-active",i.hasClass(e))})}}}),It.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),It.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),It.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),It.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),It.PLUGINS.fullscreen=function(i){var t,a,n,r,o=i.$,s=function s(){return i.$box.hasClass("fr-fullscreen")};function l(){if(i.helpers.isIOS()&&i.core.hasFocus())return i.$el.blur(),setTimeout(d,250),!1;t=i.helpers.scrollTop(),i.$box.toggleClass("fr-fullscreen"),o("body").first().toggleClass("fr-fullscreen"),i.helpers.isMobile()&&(i.$tb.data("parent",i.$tb.parent()),i.$box.prepend(i.$tb),i.$tb.data("sticky-dummy")&&i.$tb.after(i.$tb.data("sticky-dummy"))),a=i.opts.height,n=i.opts.heightMax,r=i.opts.z_index,i.opts.height=i.o_win.innerHeight-(i.opts.toolbarInline?0:i.$tb.outerHeight()+(i.$second_tb?i.$second_tb.outerHeight():0)),i.opts.zIndex=2147483641,i.opts.heightMax=null,i.size.refresh(),i.opts.toolbarInline&&i.toolbar.showInline();for(var e=i.$box.parent();!e.first().is("body");)e.addClass("fr-fullscreen-wrapper"),e=e.parent();i.opts.toolbarContainer&&i.$box.prepend(i.$tb),i.events.trigger("charCounter.update"),i.events.trigger("codeView.update"),i.$win.trigger("scroll")}function c(){if(i.helpers.isIOS()&&i.core.hasFocus())return i.$el.blur(),setTimeout(d,250),!1;i.$box.toggleClass("fr-fullscreen"),o("body").first().toggleClass("fr-fullscreen"),i.$tb.data("parent")&&i.$tb.data("parent").prepend(i.$tb),i.$tb.data("sticky-dummy")&&i.$tb.after(i.$tb.data("sticky-dummy")),i.opts.height=a,i.opts.heightMax=n,i.opts.zIndex=r,i.size.refresh(),o(i.o_win).scrollTop(t),i.opts.toolbarInline&&i.toolbar.showInline(),i.events.trigger("charCounter.update"),i.opts.toolbarSticky&&i.opts.toolbarStickyOffset&&(i.opts.toolbarBottom?i.$tb.css("bottom",i.opts.toolbarStickyOffset).data("bottom",i.opts.toolbarStickyOffset):i.$tb.css("top",i.opts.toolbarStickyOffset).data("top",i.opts.toolbarStickyOffset));for(var e=i.$box.parent();!e.first().is("body");)e.removeClass("fr-fullscreen-wrapper"),e=e.parent();i.opts.toolbarContainer&&o(i.opts.toolbarContainer).append(i.$tb),o(i.o_win).trigger("scroll"),i.events.trigger("codeView.update")}function d(){s()?c():l(),f(i.$tb.find('.fr-command[data-cmd="fullscreen"]'));var e=i.$tb.find('.fr-command[data-cmd="moreText"]'),t=i.$tb.find('.fr-command[data-cmd="moreParagraph"]'),a=i.$tb.find('.fr-command[data-cmd="moreRich"]'),n=i.$tb.find('.fr-command[data-cmd="moreMisc"]');e.length&&i.refresh.moreText(e),t.length&&i.refresh.moreParagraph(t),a.length&&i.refresh.moreRich(a),n.length&&i.refresh.moreMisc(n)}function f(e){var t=s();e.toggleClass("fr-active",t).attr("aria-pressed",t),e.find("> *").not(".fr-sr-only").replaceWith(t?i.icon.create("fullscreenCompress"):i.icon.create("fullscreen"))}return{_init:function e(){if(!i.$wp)return!1;i.events.$on(o(i.o_win),"resize",function(){s()&&(c(),l())}),i.events.on("toolbar.hide",function(){if(s()&&i.helpers.isMobile())return!1}),i.events.on("position.refresh",function(){if(i.helpers.isIOS())return!s()}),i.events.on("destroy",function(){s()&&c()},!0)},toggle:d,refresh:f,isActive:s}},It.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),It.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),It.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"}),Object.assign(It.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),It.PLUGINS.help=function(s){var n,i=s.$,r="help";return{_init:function e(){},show:function l(){if(!n){var e="

    ".concat(s.language.translate("Shortcuts"),"

    "),t=function o(){for(var e='
    ',t=0;t";n+="".concat(s.language.translate(a.title),""),n+="";for(var i=0;i",n+="".concat(s.language.translate(r.desc),""),n+="".concat(r.val.replace("OSkey",s.helpers.isMac()?"⌘":"Ctrl+"),""),n+=""}e+=n+=""}return e+="
    "}(),a=s.modals.create(r,e,t);n=a.$modal,s.events.$on(i(s.o_win),"resize",function(){s.modals.resize(r)})}s.modals.show(r),s.modals.resize(r)},hide:function t(){s.modals.hide(r)}}},It.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),It.RegisterShortcut(It.KEYCODE.SLASH,"help",null,"/"),It.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1}),Object.assign(It.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(It.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),It.PLUGINS.image=function(y){var T,l,c,d,s,a,C=y.$,R="https://i.froala.com/upload",t=!1,n=1,p=2,u=3,g=4,w=5,S=6,i={};function f(){var e=y.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),T&&e.val(T.attr("src")),e.trigger("change")}function r(){var e=y.popups.get("image.edit");if(e||(e=k()),e){var t=Ae();ye()&&(t=t.find(".fr-img-wrap")),y.popups.setContainer("image.edit",y.$sc),y.popups.refresh("image.edit");var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();T.hasClass("fr-uploading")?O():y.popups.show("image.edit",a,n,t.outerHeight(),!0)}}function h(){F()}function o(e){0"),B(T)),i=a,r=e.timeStamp}},!0),y.events.on("keyup",function(){n=1})}}(),!T)return!1;var e=y.$wp||y.$sc;e.append(l),l.data("instance",y);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),a=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);a-=y.helpers.getPX(e.css("border-left-width")),t-=y.helpers.getPX(e.css("border-top-width")),y.$el.is("img")&&y.$sc.is("body")&&(a=t=0);var n=Ae();ye()&&(n=n.find(".fr-img-wrap"));var i=0,r=0;y.opts.iframe&&(i=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-top")),r=y.helpers.getPX(y.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(y.opts.iframe?n.offset().top+i:n.offset().top+t)-1).css("left",(y.opts.iframe?n.offset().left+r:n.offset().left+a)-1).css("width",n.get(0).getBoundingClientRect().width).css("height",n.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'
    ')}function E(e){ye()?T.parents(".fr-img-caption").css("width",e):T.css("width",e)}function A(e){if(!y.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;y.undo.canDo()||y.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var a=y.$oel.get(0).ownerDocument,n=a.defaultView||a.parentWindow,i=!1;try{i=n.location!=n.parent.location&&!(n.$&&n.$.FE)}catch(s){}i&&n.frameElement&&(t+=y.helpers.getPX(C(n.frameElement).offset().left)+n.frameElement.clientLeft)}(c=C(this)).data("start-x",t),c.data("start-width",T.width()),c.data("start-height",T.height());var r=T.width();if(y.opts.imageResizeWithPercent){var o=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;r=(r/C(o).outerWidth()*100).toFixed(2)+"%"}E(r),d.show(),y.popups.hideAll(),ue()}function L(e){if(!y.core.sameInstance(l))return!0;var t;if(c&&T){if(e.preventDefault(),y.$el.find("img.fr-error").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var n=a-c.data("start-x"),i=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(n=0-n),y.opts.imageResizeWithPercent){var r=T.parentsUntil(y.$el,y.html.blockTagsQuery()).get(0)||y.el;i=((i+n)/C(r).outerWidth()*100).toFixed(2),y.opts.imageRoundPercent&&(i=Math.round(i)),E("".concat(i,"%")),(t=ye()?(y.helpers.getPX(T.parents(".fr-img-caption").css("width"))/C(r).outerWidth()*100).toFixed(2):(y.helpers.getPX(T.css("width"))/C(r).outerWidth()*100).toFixed(2))===i||y.opts.imageRoundPercent||E("".concat(t,"%")),T.css("height","").removeAttr("height")}else i+n>=y.opts.imageMinWidth&&(E(i+n),t=ye()?y.helpers.getPX(T.parents(".fr-img-caption").css("width")):y.helpers.getPX(T.css("width"))),t!==i+n&&E(t),((T.attr("style")||"").match(/(^height:)|(; *height:)/)||T.attr("height"))&&(T.css("height",c.data("start-height")*T.width()/c.data("start-width")),T.removeAttr("height"));_(),y.events.trigger("image.resize",[Ee()])}}function I(e){if(!y.core.sameInstance(l))return!0;if(c&&T){if(e&&e.stopPropagation(),y.$el.find("img.fr-error").left)return!1;c=null,d.hide(),_(),r(),y.undo.saveStep(),y.events.trigger("image.resizeEnd",[Ee()])}else l.removeClass("fr-active")}function x(e,t,a){y.edit.on(),T&&T.addClass("fr-error"),i[e]?M(y.language.translate(i[e])):M(y.language.translate("Something went wrong. Please try again.")),!T&&a&&te(a),y.events.trigger("image.error",[{code:e,message:i[e]},t,a])}function k(e){if(e)return y.$wp&&y.events.$on(y.$wp,"scroll.image-edit",function(){T&&y.popups.isVisible("image.edit")&&(y.events.disableBlur(),r())}),!0;var t="";if(0 \n '.concat(y.button.buildList(y.opts.imageEditButtons),"\n ")};return y.popups.create("image.edit",a)}return!1}function O(e){var t=y.popups.get("image.insert");if(t||(t=V()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),T){var a=Ae();y.popups.setContainer("image.insert",y.$sc);var n=a.offset().left,i=a.offset().top+a.height();y.popups.show("image.insert",n,i,a.outerHeight())}void 0===e&&D(y.language.translate("Uploading"),0)}function F(e){var t=y.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||y.$el.find("img.fr-error").length)){if(y.events.focus(),y.$el.find("img.fr-error").length&&(y.$el.find("img.fr-error").remove(),y.undo.saveStep(),y.undo.run(),y.undo.dropRedo()),!y.$wp&&T){var a=T;de(!0),y.selection.setAfter(a.get(0)),y.selection.restore()}y.popups.hide("image.insert")}}function D(e,t){var a=y.popups.get("image.insert");if(a){var n=a.find(".fr-image-progress-bar-layer");n.find("h3").text(e+(t?" ".concat(t,"%"):"")),n.removeClass("fr-error"),t?(n.find("div").removeClass("fr-indeterminate"),n.find("div > span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function M(e){O();var t=y.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),y.events.disableBlur(),a.focus()}function B(e){ce.call(e.get(0))}function N(){var e=C(this);y.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),B(e),y.events.trigger("image.loaded",[e])}function P(o,e,s,l,c){l&&"string"==typeof l&&(l=y.$(l)),y.edit.off(),D(y.language.translate("Loading image")),e&&(o=y.helpers.sanitizeURL(o));var t=new Image;t.onload=function(){var e,t;if(l){y.undo.canDo()||l.hasClass("fr-uploading")||y.undo.saveStep();var a=l.data("fr-old-src");l.data("fr-image-pasted")&&(a=null),y.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),a&&l.attr("src",a),l.replaceWith(e)):e=l;for(var n=e.get(0).attributes,i=0;iy.opts.imageMaxSize)return x(w),!1;if(y.opts.imageAllowedTypes.indexOf(n.type.replace(/image\//g,""))<0)return x(S),!1;if(y.drag_support.formdata&&(a=y.drag_support.formdata?new FormData:null),a){var i;if(!1!==y.opts.imageUploadToS3)for(i in a.append("key",y.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",n.type),y.opts.imageUploadToS3.params)y.opts.imageUploadToS3.params.hasOwnProperty(i)&&a.append(i,y.opts.imageUploadToS3.params[i]);for(i in y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(i)&&a.append(i,y.opts.imageUploadParams[i]);a.append(y.opts.imageUploadParam,n,n.name);var r,o,s=y.opts.imageUploadURL,l=y.opts.imageUploadMethod;y.opts.imageUploadToS3&&(s=y.opts.imageUploadToS3.uploadURL?y.opts.imageUploadToS3.uploadURL:"https://".concat(y.opts.imageUploadToS3.region,".amazonaws.com/").concat(y.opts.imageUploadToS3.bucket)),y.opts.imageUploadToAzure&&(r=s=y.opts.imageUploadToAzure.uploadURL?"".concat(y.opts.imageUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(y.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(y.opts.imageUploadToAzure.container,"/").concat(n.name)),y.opts.imageUploadToAzure.SASToken&&(s+=y.opts.imageUploadToAzure.SASToken),l="PUT");var c=y.core.getXHR(s,l);if(y.opts.imageUploadToAzure){var d=(new Date).toUTCString();if(!y.opts.imageUploadToAzure.SASToken&&y.opts.imageUploadToAzure.accessKey){var f=y.opts.imageUploadToAzure.account,p=y.opts.imageUploadToAzure.container;if(y.opts.imageUploadToAzure.uploadURL){var u=y.opts.imageUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var g="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+f+"/"+p+"/"+n.name),m=l+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+g+"\n"+h,v=y.cryptoJSPlugin.cryptoJS.HmacSHA256(m,y.cryptoJSPlugin.cryptoJS.enc.Base64.parse(y.opts.imageUploadToAzure.accessKey)).toString(y.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;o=v,c.setRequestHeader("Authorization",b)}for(i in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",n.type),c.setRequestHeader("x-ms-blob-type","BlockBlob"),y.opts.imageUploadParams)y.opts.imageUploadParams.hasOwnProperty(i)&&c.setRequestHeader(i,y.opts.imageUploadParams[i]);for(i in y.opts.imageUploadToAzure.params)y.opts.imageUploadToAzure.params.hasOwnProperty(i)&&c.setRequestHeader(i,y.opts.imageUploadToAzure.params[i])}!function A(t,a,n,i,r,o){function s(){var e=C(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),y.placeholder.refresh(),B(e),_(),O(),y.edit.off(),t.onload=function(){U.call(t,e,r,o)},t.onerror=H,t.upload.onprogress=W,t.onabort=$,C(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),i?(i.attr("src",i.data("fr-old-src")),i.removeClass("fr-uploading")):e.remove(),de(!0))}),t.send(y.opts.imageUploadToAzure?n:a)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),a=[],n=0;n'.concat(i,""));var r=y.opts.imageInsertButtons.indexOf("imageUpload"),o=y.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=r&&(t=" fr-active",0<=o&&o').concat(y.language.translate("Drop image"),"
    (").concat(y.language.translate("or click"),')
    '));var l="";0<=o&&(t=" fr-active",0<=r&&r
    "));var c={buttons:n,upload_layer:s,by_url_layer:l,progress_bar:'

    Uploading

    '};return 1<=y.opts.imageInsertButtons.length&&(a=y.popups.create("image.insert",c)),y.$wp&&y.events.$on(y.$wp,"scroll",function(){T&&y.popups.isVisible("image.insert")&&ve()}),function d(n){y.events.$on(n,"dragover dragenter",".fr-image-upload-layer",function(e){return C(this).addClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(n,"dragleave dragend",".fr-image-upload-layer",function(e){return C(this).removeClass("fr-drop"),(y.browser.msie||y.browser.edge)&&e.preventDefault(),!1},!0),y.events.$on(n,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),C(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=n.data("instance")||y;a.events.disableBlur(),a.image.upload(t.files),a.events.enableBlur()}},!0),y.helpers.isIOS()&&y.events.$on(n,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){C(this).trigger("click")},!0),y.events.$on(n,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||y;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,T)}C(this).val("")},!0)}(a),a}function q(){T&&y.popups.get("image.alt").find("input").val(T.attr("alt")||"").trigger("change")}function j(){var e=y.popups.get("image.alt");e||(e=X()),F(),y.popups.refresh("image.alt"),y.popups.setContainer("image.alt",y.$sc);var t=Ae();ye()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();y.popups.show("image.alt",a,n,t.outerHeight(),!0)}function X(e){if(e)return y.popups.onRefresh("image.alt",q),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageAltButtons),"
    "),alt_layer:'
    ")},a=y.popups.create("image.alt",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-alt",function(){T&&y.popups.isVisible("image.alt")&&j()}),a}function Q(){var e=y.popups.get("image.size"),t=T.get(0).style.height?T.get(0).style.height:"auto",a=T.get(0).style.width?T.get(0).style.width:"auto";if(T)if(ye()){var n=T.parent();n.get(0).style.width||(n=T.parent().parent()),e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function J(){var e=y.popups.get("image.size");e||(e=Z()),F(),y.popups.refresh("image.size"),y.popups.setContainer("image.size",y.$sc);var t=Ae();ye()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();y.popups.show("image.size",a,n,t.outerHeight(),!0)}function Z(e){if(e)return y.popups.onRefresh("image.size",Q),!0;var t={buttons:'
    '.concat(y.button.buildList(y.opts.imageSizeButtons),"
    "),size_layer:'
    ")},a=y.popups.create("image.size",t);return y.$wp&&y.events.$on(y.$wp,"scroll.image-size",function(){T&&y.popups.isVisible("image.size")&&J()}),a}function ee(e,t,a,n){return e.pageX=t,A.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,n)),L.call(this,e),I.call(this,e),++n}function te(e){(e=e||Ae())&&!1!==y.events.trigger("image.beforeRemove",[e])&&(y.popups.hideAll(),be(),de(!0),y.undo.canDo()||y.undo.saveStep(),e.get(0)==y.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(y.selection.setBefore(e.get(0).parentNode)||y.selection.setAfter(e.get(0).parentNode)||e.parent().after(It.MARKERS),C(e.get(0).parentNode).remove()):(y.selection.setBefore(e.get(0))||y.selection.setAfter(e.get(0))||e.after(It.MARKERS),e.remove()),y.html.fillEmptyBlocks(),y.selection.restore()),y.undo.saveStep())}function ae(e){var t=e.which;if(T&&(t==It.KEYCODE.BACKSPACE||t==It.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(T&&t==It.KEYCODE.ESC){var a=T;return de(!0),y.selection.setAfter(a.get(0)),y.selection.restore(),e.preventDefault(),!1}if(!T||t!=It.KEYCODE.ARROW_LEFT&&t!=It.KEYCODE.ARROW_RIGHT)return T&&t===It.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),de(!0),!1):T&&t!=It.KEYCODE.F10&&!y.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var n=T.get(0);return de(!0),t==It.KEYCODE.ARROW_LEFT?y.selection.setBefore(n):y.selection.setAfter(n),y.selection.restore(),e.preventDefault(),!1}function ne(e){if(e&&"IMG"==e.tagName){if(y.node.hasClass(e,"fr-uploading")||y.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):y.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&y.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var a=e.nextSibling;a&&a.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var n=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),i=0;i"));var n=y.$el.find('img[data-fr-image-pasted="true"]');n&&ge(n,y.opts.imageDefaultDisplay,y.opts.imageDefaultAlign),y.events.trigger("paste.after")}function se(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var a=0;a"):C(y.node.blockParent(e.get(0))).after("<".concat(y.html.defaultTag(),">
    ")))})})(),"IMG"==y.el.tagName&&y.$el.addClass("fr-view"),y.events.$on(y.$el,y.helpers.isMobile()&&!y.helpers.isWindowsPhone()?"touchend":"click","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',ce),y.helpers.isMobile()&&(y.events.$on(y.$el,"touchstart","IMG"==y.el.tagName?null:'img:not([contenteditable="false"])',function(){a=!1}),y.events.$on(y.$el,"touchmove",function(){a=!0})),y.$wp?(y.events.on("window.keydown keydown",ae,!0),y.events.on("keyup",function(e){if(T&&e.which==It.KEYCODE.ENTER)return!1},!0),y.events.$on(y.$el,"keydown",function(){var e=y.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&y.node.isLastSibling(e))&&(e=e.parentNode),y.node.hasClass(e,"fr-inner")||(y.node.hasClass(e,"fr-img-caption")||(e=C(e).parents(".fr-img-caption").get(0)),y.node.hasClass(e,"fr-img-caption")&&(C(e).after(It.INVISIBLE_SPACE+It.MARKERS),y.selection.restore()))})):y.events.$on(y.$win,"keydown",ae),y.events.on("toolbar.esc",function(){if(T){if(y.$wp)y.events.disableBlur(),y.events.focus();else{var e=T;de(!0),y.selection.setAfter(e.get(0)),y.selection.restore()}return!1}},!0),y.events.on("toolbar.focusEditor",function(){if(T)return!1},!0),y.events.on("window.cut window.copy",function(e){if(T&&y.popups.isVisible("image.edit")&&!y.popups.get("image.edit").find(":focus").length){var t=Ae();ye()?(t.before(It.START_MARKER),t.after(It.END_MARKER),y.selection.restore(),y.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(be(),y.paste.saveCopiedText(T.get(0).outerHTML,T.attr("alt"))),"copy"==e.type?setTimeout(function(){B(T)}):(de(!0),y.undo.saveStep(),setTimeout(function(){y.undo.saveStep()},0))}},!0),y.browser.msie&&y.events.on("keydown",function(e){if(!y.selection.isCollapsed()||!T)return!0;var t=e.which;t==It.KEYCODE.C&&y.keys.ctrlKey(e)?y.events.trigger("window.copy"):t==It.KEYCODE.X&&y.keys.ctrlKey(e)&&y.events.trigger("window.cut")}),y.events.$on(C(y.o_win),"keydown",function(e){var t=e.which;if(T&&t==It.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),y.events.$on(y.$win,"keydown",function(e){var t=e.which;T&&T.hasClass("fr-uploading")&&t==It.KEYCODE.ESC&&T.trigger("abortUpload")}),y.events.on("destroy",function(){T&&T.hasClass("fr-uploading")&&T.trigger("abortUpload")}),y.events.on("paste.before",se),y.events.on("paste.beforeCleanup",le),y.events.on("paste.after",re),y.events.on("html.set",m),y.events.on("html.inserted",m),m(),y.events.on("destroy",function(){s=[]}),y.events.on("html.processGet",ne),y.opts.imageOutputSize&&y.events.on("html.beforeGet",function(){n=y.el.querySelectorAll("img");for(var e=0;e *").first().replaceWith(y.icon.create("image-align-".concat(he())))},refreshAlignOnShow:function ke(e,t){T&&t.find('.fr-command[data-param1="'.concat(he(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function Oe(e){var t=Ae();t.removeClass("fr-dii fr-dib"),!y.opts.htmlUntouched&&y.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):ge(t,e,he()),be(),_(),r(),y.selection.clear()},refreshDisplayOnShow:function Fe(e,t){T&&t.find('.fr-command[data-param1="'.concat(me(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ve,back:function e(){T?(y.events.disableBlur(),C(".fr-popup input:focus").blur(),B(T)):(y.events.disableBlur(),y.selection.restore(),y.events.enableBlur(),y.popups.hide("image.insert"),y.toolbar.showInline())},get:Ee,getEl:Ae,insert:P,showProgressBar:O,remove:te,hideProgressBar:F,applyStyle:function De(e,t,a){if(void 0===t&&(t=y.opts.imageStyles),void 0===a&&(a=y.opts.imageMultipleStyles),!T)return!1;var n=Ae();if(!a){var i=Object.keys(t);i.splice(i.indexOf(e),1),n.removeClass(i.join(" "))}"object"==xt(t[e])?(n.removeAttr("style"),n.css(t[e].style)):n.toggleClass(e),B(T)},showAltPopup:j,showSizePopup:J,setAlt:function Me(e){if(T){var t=y.popups.get("image.alt");T.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),B(T)}},setSize:function Be(e,t){if(T){var a=y.popups.get("image.size");e=e||a.find('input[name="width"]').val()||"",t=t||a.find('input[name="height"]').val()||"";var n=/^[\d]+((px)|%)*$/g;T.removeAttr("width").removeAttr("height"),e.match(n)?T.css("width",e):T.css("width",""),t.match(n)?T.css("height",t):T.css("height",""),ye()&&(T.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(n)?T.parents(".fr-img-caption").css("width",e):T.parents(".fr-img-caption").css("width",""),t.match(n)?T.parents(".fr-img-caption").css("height",t):T.parents(".fr-img-caption").css("height","")),a&&a.find("input:focus").blur(),B(T)}},toggleCaption:function Ne(){var e;if(T&&!ye()){(e=T).parent().is("a")&&(e=T.parent());var t,a,n=T.parents("ul")&&0

     

    '),e.wrap(''),T.after('").concat(It.START_MARKER).concat(y.language.translate("Image Caption")).concat(It.END_MARKER,"")),T.parents(".fr-img-caption").css("width",s),1').concat(this.icon.create("image-align-".concat(a)),'').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),It.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),It.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),It.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),It.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),It.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),It.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),It.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),It.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,n=this.image.getEl();n&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=n.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),It.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),It.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),It.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),It.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),It.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),It.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),It.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),It.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}}),Object.assign(It.DEFAULTS,{imageManagerLoadURL:"https://i.froala.com/load-files",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),It.PLUGINS.imageManager=function(s){var l,c,r,o,d,f,p,u,g,h,m,v=s.$,b="image_manager",e=10,E=11,A=12,y=13,T=14,C=15,a=21,n=22,i={};function R(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function w(){d.empty();for(var e=0;e')}function S(){if(gd.outerHeight()-r.outerHeight())){u++;for(var e=s.opts.imageManagerPageSize*(u-1);e').concat(e[t],""));a.attr("data-tag",e.join())}else 0===f.find('a[title="'.concat(i.tag.trim(),'"]')).length&&f.append('').concat(i.tag.trim(),"")),a.attr("data-tag",i.tag.trim());for(var n in i.name&&a.attr("alt",i.name),i)i.hasOwnProperty(n)&&"thumb"!==n&&"url"!==n&&"tag"!==n&&a.attr("data-".concat(n),i[n]);o.append(a).append(v(s.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",s.language.translate("Delete"))).append(v(s.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",s.language.translate("Insert"))),f.find(".fr-selected-tag").each(function(e,t){P(a,t.text)||o.hide()}),a.on("load",function(){o.removeClass("fr-empty"),o.height("auto"),g++,I(L(parseInt(a.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),x(!1),g%s.opts.imageManagerPageSize==0&&S()}),s.events.trigger("imageManager.imageLoaded",[a])},r.onerror=function(){g++,o.remove(),I(L(parseInt(o.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),D(e,i),g%s.opts.imageManagerPageSize==0&&S()},r.src=i.thumb||i.url,_().append(o)}function _(){var n,i;return d.find(".fr-list-column").each(function(e,t){var a=v(t);0===e?(i=a.outerHeight(),n=a):a.outerHeight() a").each(function(){0===l.find('#fr-image-list [data-tag*="'.concat(v(this).text(),'"]')).length&&v(this).removeClass("fr-selected-tag").hide()}),B()}(),x(!0)},fail:function(e){D(a,e.response||e.responseText)}})):D(n))}function D(e,t){10<=e&&e<20?o.hide():20<=e&&e<30&&v(".fr-image-deleting").removeClass("fr-image-deleting"),s.events.trigger("imageManager.error",[{code:e,message:i[e]},t])}function M(){var e=c.find(".fr-modal-head-line").outerHeight(),t=f.outerHeight();c.toggleClass("fr-show-tags"),c.hasClass("fr-show-tags")?(c.css("height",e+t),r.css("marginTop",e+t),f.find("a").css("opacity",1)):(c.css("height",e),r.css("marginTop",e),f.find("a").css("opacity",0))}function B(){var e=f.find(".fr-selected-tag");0

    ').concat(s.language.translate("Manage Images"),'

    \n
    ');e=s.opts.imageManagerPreloader?''):'"),e+='
    ';var a=s.modals.create(b,t,e);l=a.$modal,c=a.$head,r=a.$body}l.data("current-image",s.image.get()),s.modals.show(b),o||function n(){o=l.find("#fr-preloader"),d=l.find("#fr-image-list"),f=l.find("#fr-modal-tags"),m=R(),w(),c.css("height",c.find(".fr-modal-head-line").outerHeight()),s.events.$on(v(s.o_win),"resize",function(){x(!!p)}),s.events.bindClick(d,".fr-insert-img",O),s.events.bindClick(d,".fr-delete-img",F),s.helpers.isMobile()&&(s.events.bindClick(d,"div.fr-image-container",function(e){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),v(e.currentTarget).addClass("fr-mobile-selected")}),l.on(s._mousedown,function(){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),l.on(s._mousedown+" "+s._mouseup,function(e){e.stopPropagation()}),l.on(s._mousedown,"*",function(){s.events.disableBlur()}),r.on("scroll",S),s.events.bindClick(l,"button#fr-modal-more-".concat(s.sid),M),s.events.bindClick(f,"a",N)}(),function i(){o.show(),d.find(".fr-list-column").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,a){s.events.trigger("imageManager.imagesLoaded",[e]),function n(e,t){try{d.find(".fr-list-column").empty(),h=g=u=0,p=JSON.parse(e),S()}catch(a){D(y,t)}}(e,a.response),o.hide()},fail:function(e){D(E,e.response||e.responseText)}}):D(A)}()},hide:function W(){s.modals.hide(b)}}},!It.PLUGINS.image)throw new Error("Image manager plugin requires image plugin.");It.DEFAULTS.imageInsertButtons.push("imageManager"),It.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),It.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),It.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),It.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"}),Object.assign(It.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),It.PLUGINS.inlineClass=function(a){var n=a.$;return{apply:function t(e){a.format.toggle("span",{"class":e})},refreshOnShow:function i(e,t){t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.format.is("span",{"class":e});n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}},It.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var e='"},callback:function(e,t){this.inlineClass.apply(t)},refreshOnShow:function(e,t){this.inlineClass.refreshOnShow(e,t)},plugin:"inlineClass"}),It.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"}),Object.assign(It.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),It.PLUGINS.inlineStyle=function(i){return{apply:function r(e){for(var t=e.split(";"),a=0;a').concat(this.language.translate(a),"")}return e+=""},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),It.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"}),Object.assign(It.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),It.PLUGINS.lineBreaker=function(g){var h,t,i,m=g.$;function l(e,t){var a,n,i,r,o,s,l,c;if(null==e)o=(r=t.parent()).offset().top,a=(l=t.offset().top)-Math.min((l-o)/2,g.opts.lineBreakerOffset),i=r.outerWidth(),n=r.offset().left;else if(null==t)(s=(r=e.parent()).offset().top+r.outerHeight())<(c=e.offset().top+e.outerHeight())&&(s=(r=m(r).parent()).offset().top+r.outerHeight()),a=c+Math.min(Math.abs(s-c)/2,g.opts.lineBreakerOffset),i=r.outerWidth(),n=r.offset().left;else{r=e.parent();var d=e.offset().top+e.height(),f=t.offset().top;if(fg.$box.offset().left&&e").concat(It.MARKERS,"
    ")):n.before("".concat(It.MARKERS,"
    ")):i&&"TD"!=a.parent().get(0).tagName&&0===a.parents(i).length?a.after("<".concat(i,">").concat(It.MARKERS,"
    ")):a.after("".concat(It.MARKERS,"
    ")),t.selection.restore(),g.toolbar.enable()}return{_init:function v(){if(!g.$wp)return!1;!function e(){g.shared.$line_breaker||(g.shared.$line_breaker=m(document.createElement("div")).attr("class","fr-line-breaker").html(''))),h=g.shared.$line_breaker,g.events.on("shared.destroy",function(){h.html("").removeData().remove(),h=null},!0),g.events.on("destroy",function(){h.removeData("instance").removeClass("fr-visible"),m("body").first().append(h),clearTimeout(i)},!0),g.events.$on(h,"mousemove",function(e){e.stopPropagation()},!0),g.events.bindClick(h,"a",u)}(),t=!1,g.events.$on(g.$win,"mousemove",n),g.events.$on(m(g.win),"scroll",s),g.events.on("popups.show.table.edit",s),g.events.on("commands.after",s),g.events.$on(m(g.win),"mousedown",f),g.events.$on(m(g.win),"mouseup",p)}}},Object.assign(It.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),It.PLUGINS.lineHeight=function(n){var s=n.$;return{_init:function e(){},apply:function i(e){n.selection.save(),n.html.wrap(!0,!0,!0,!0),n.selection.restore();var t=n.selection.blocks();t.length&&s(t[0]).parent().is("td")&&n.format.applyStyle("line-height",e.toString()),n.selection.save();for(var a=0;a').concat(this.language.translate(a),""));return e+=""},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),It.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"}),Object.assign(It.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(It.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0}),It.PLUGINS.link=function(u){var g=u.$;function h(){var e=u.image?u.image.get():null;if(e||!u.$wp)return"A"==u.el.tagName?u.el:e&&e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=u.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(u.el)||!u.el.contains(t)||u.el==t)&&(t=null)}catch(i){t=null}if(t&&"A"===t.tagName)return t;var a=u.selection.element(),n=u.selection.endElement();"A"==a.tagName||u.node.isElement(a)||(a=g(a).parentsUntil(u.$el,"a").first().get(0)),"A"==n.tagName||u.node.isElement(n)||(n=g(n).parentsUntil(u.$el,"a").first().get(0));try{n&&(n.contains&&n.contains(u.el)||!u.el.contains(n)||u.el==n)&&(n=null)}catch(i){n=null}try{a&&(a.contains&&a.contains(u.el)||!u.el.contains(a)||u.el==a)&&(a=null)}catch(i){a=null}return n&&n==a&&"A"==n.tagName?(u.browser.msie||u.helpers.isMobile())&&(u.selection.info(a).atEnd||u.selection.info(a).atStart)?null:a:null}function m(){var e,t,a,n,i=u.image?u.image.get():null,r=[];if(i)"A"==i.get(0).parentNode.tagName&&r.push(i.get(0).parentNode);else if(u.win.getSelection){var o=u.win.getSelection();if(o.getRangeAt&&o.rangeCount){n=u.doc.createRange();for(var s=0;s'.concat(u.button.buildList(u.opts.linkEditButtons),"
    "));var t={buttons:e},a=u.popups.create("link.edit",t);u.$wp&&u.events.$on(u.$wp,"scroll.link-edit",function(){h()&&u.popups.isVisible("link.edit")&&o(h())});return a}());var a=g(e);u.popups.isVisible("link.edit")||u.popups.refresh("link.edit"),u.popups.setContainer("link.edit",u.$sc);var n=a.offset().left+a.outerWidth()/2,i=a.offset().top+a.outerHeight();u.popups.show("link.edit",n,i,a.outerHeight(),!0)}function r(){u.popups.hide("link.edit")}function l(){var e=u.popups.get("link.insert"),t=h();if(t){var a,n,i=g(t),r=e.find('input.fr-link-attr[type="text"]'),o=e.find('input.fr-link-attr[type="checkbox"]');for(a=0;a'.concat(u.button.buildList(u.opts.linkInsertButtons),""));var a="",n=0;for(var i in a='")},s=u.popups.create("link.insert",o);return u.$wp&&u.events.$on(u.$wp,"scroll.link-insert",function(){(u.image?u.image.get():null)&&u.popups.isVisible("link.insert")&&f(),u.popups.isVisible("link.insert")&&d()}),s}function c(e,t,a){if(void 0===a&&(a={}),!1===u.events.trigger("link.beforeInsert",[e,t,a]))return!1;var n=u.image?u.image.get():null;n||"A"==u.el.tagName?"A"==u.el.tagName&&u.$el.focus():(u.selection.restore(),u.popups.hide("link.insert"));var i=e;u.opts.linkConvertEmailAddress&&u.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e="mailto:".concat(e));if(""===u.opts.linkAutoPrefix||new RegExp("^("+It.LinkProtocols.join("|")+"):.","i").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||["/","{","[","#","(","."].indexOf((e||"")[0])<0&&(e=u.opts.linkAutoPrefix+e),e=u.helpers.sanitizeURL(e),u.opts.linkAlwaysBlank&&(a.target="_blank"),u.opts.linkAlwaysNoFollow&&(a.rel="nofollow"),u.helpers.isEmail(i)&&(a.target=null,a.rel=null),"_blank"==a.target?(u.opts.linkNoOpener&&(a.rel?a.rel+=" noopener":a.rel="noopener"),u.opts.linkNoReferrer&&(a.rel?a.rel+=" noreferrer":a.rel="noreferrer")):null==a.target&&(a.rel?a.rel=a.rel.replace(/noopener/,"").replace(/noreferrer/,""):a.rel=null),t=t||"",e===u.opts.linkAutoPrefix)return u.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),u.events.trigger("link.bad",[i]),!1;var r,o=h();if(o){if((r=g(o)).attr("href",e),0')),u.image.hasCaption()&&n.parent().append(n.parents(".fr-img-caption").find(".fr-inner"))):(u.format.remove("a"),u.selection.isCollapsed()?(t=0===t.length?i:t,u.html.insert('').concat(It.START_MARKER).concat(t.replace(/&/g,"&").replace(/",">")).concat(It.END_MARKER,"")),u.selection.restore()):0').concat(It.START_MARKER).concat(t.replace(/&/g,"&")).concat(It.END_MARKER,"")),u.selection.restore()):(!function p(){if(!u.selection.isCollapsed()){u.selection.save();for(var e=u.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();e.length;){var t=g(e.pop());t.removeClass("fr-unprocessed");var a=u.node.deepestParent(t.get(0));if(a){for(var n=t.get(0),i="",r="";n=n.parentNode,u.node.isBlock(n)||(i+=u.node.closeTagString(n),r=u.node.openTagString(n)+r),n!=a;);var o=u.node.openTagString(t.get(0))+t.html()+u.node.closeTagString(t.get(0));t.replaceWith('');var s=a.outerHTML;s=(s=s.replace(/<\/span>/g,i+o+r)).replace(r+i,""),a.outerHTML=s}e=u.$el.find(".fr-marker.fr-unprocessed").toArray()}u.html.cleanEmptyTags(),u.selection.restore()}}(),u.format.apply("a",{href:e})));for(var c=m(),d=0;d').concat(t[a].displayText||t[a].text,"");return e+=""},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),It.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),It.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),It.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),It.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),It.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,n=this.link.get();if(n){var i=a(n);t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=i.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),Object.assign(It.DEFAULTS,{listAdvancedTypes:!0}),It.PLUGINS.lists=function(f){var p=f.$;function u(e){return'')}function g(e){return'')}function r(e,t){!function c(e,t){for(var a=[],n=0;n").concat(o.html(),""))}}(e,t);var a,n=f.html.defaultTag(),i=null;e.length&&(a="rtl"==f.opts.direction||"rtl"==p(e[0]).css("direction")?"margin-right":"margin-left");for(var r=0;r'):"<".concat(t,">"),l="");for(o-=i;0"),l+=l,o-=f.opts.indentMargin;n&&e[r].tagName.toLowerCase()==n?p(e[r]).replaceWith("".concat(s,"").concat(p(e[r]).html(),"").concat(l)):p(e[r]).wrap("".concat(s,"
  • ").concat(l))}f.clean.lists()}function o(e){var t,a;for(t=e.length-1;0<=t;t--)for(a=t-1;0<=a;a--)if(p(e[a]).find(e[t]).length||e[a]==e[t]){e.splice(t,1);break}var n=[];for(t=0;t"),i.append(u("LI")),i.prepend(g("LI"))}i.after(u(r.tagName)),"LI"==r.parentNode.tagName&&(r=r.parentNode.parentNode),n.indexOf(r)<0&&n.push(r)}for(t=0;t<\/span>/g,"")).replace(/<\/span>/g,"<$1>"),c.replaceWith(f.node.openTagString(c.get(0))+d+f.node.closeTagString(c.get(0)))}f.$el.find("li:empty").remove(),f.$el.find("ul:empty, ol:empty").remove(),f.clean.lists(),f.html.wrap()}function l(e){f.selection.save();for(var t=0;t ul, > ol").last().get(0);if(n){var i=p(document.createElement("li"));p(n).prepend(i);for(var r=f.node.contents(e[t])[0];r&&!f.node.isList(r);){var o=r.nextSibling;i.append(r),r=o}p(a).append(p(n)),p(e[t]).remove()}else{var s=p(a).find("> ul, > ol").last().get(0);if(s)p(s).append(p(e[t]));else{var l=p("<".concat(e[t].parentNode.tagName,">"));p(a).append(l),l.append(p(e[t]))}}}}f.clean.lists(),f.selection.restore()}function c(e){f.selection.save(),o(e),f.selection.restore()}function e(e){if("indent"==e||"outdent"==e){var t=!1,a=f.selection.blocks(),n=[],i=a[0].previousSibling||a[0].parentElement;if("outdent"==e){if("UL"!=i.parentNode.tagName&&"OL"!=i.parentNode.tagName&&"LI"!=i.parentNode.tagName)return;if(!a[0].previousSibling&&"none"==i.parentNode.style.listStyleType)return void function o(e){for(f.selection.save();0");e.prepend(n);for(var i=p.node.contents(e.get(0))[0];i&&["UL","OL"].indexOf(i.tagName)<0;){var r=i.nextSibling;n.append(i),i=r}}else e.html("<"+t+">"+e.html()+"")}return{apply:function h(e){"N"==e&&(e=p.html.defaultTag()),p.selection.save(),p.html.wrap(!0,!0,!p.opts.paragraphFormat.BLOCKQUOTE,!0,!0),p.selection.restore();var t,a,n,i,r,o,s,l,c=p.selection.blocks();p.selection.save(),p.$el.find("pre").attr("skip",!0);for(var d=0;d").html(o.html()))):0<=["TD","TH"].indexOf(c[d].parentNode.tagName)?(n=f,i=e,r=p.html.defaultTag(),i||(i='div class="fr-temp-div"'+(p.node.isEmpty(n.get(0),!0)?' data-empty="true"':"")),i.toLowerCase()==r?(p.node.isEmpty(n.get(0),!0)||n.append("
    "),n.replaceWith(n.html())):n.replaceWith(u("<"+i+">").html(n.html()))):(t=f,(a=e)||(a='div class="fr-temp-div"'+(p.node.isEmpty(t.get(0),!0)?' data-empty="true"':"")),"H1"!=a&&"H2"!=a&&"H3"!=a&&"H4"!=a&&"H5"!=a||!p.node.attributes(t.get(0)).includes("font-size:")?t.replaceWith(u("<"+a+" "+p.node.attributes(t.get(0))+">").html(t.html()).removeAttr("data-empty")):t.replaceWith(u("<"+a+" "+p.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(t.html()).removeAttr("data-empty")))}p.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){u(this).prev().append("
    "+u(this).html()),u(this).remove()}),p.$el.find("pre").removeAttr("skip"),p.html.unwrap(),p.selection.restore()},refreshOnShow:function o(e,t){var a=p.selection.blocks();if(a.length){var n=a[0],i="N",r=p.html.defaultTag();n.tagName.toLowerCase()!=r&&n!=p.el&&(i=n.tagName),t.find('.fr-command[data-param1="'+i+'"]').addClass("fr-active").attr("aria-selected",!0)}else t.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function r(e){if(p.opts.paragraphFormatSelection){var t=p.selection.blocks();if(t.length){var a=t[0],n="N",i=p.html.defaultTag();a.tagName.toLowerCase()!=i&&a!=p.el&&(n=a.tagName),0<=["LI","TD","TH"].indexOf(n)&&(n="N"),e.find(">span").text(p.language.translate(p.opts.paragraphFormat[n]))}else e.find(">span").text(p.language.translate(p.opts.paragraphFormat.N))}}}},It.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(e){return e.opts.paragraphFormatSelection},defaultSelection:function(e){return e.language.translate(e.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var e='"},title:"Paragraph Format",callback:function(e,t){this.paragraphFormat.apply(t)},refresh:function(e){this.paragraphFormat.refresh(e)},refreshOnShow:function(e,t){this.paragraphFormat.refreshOnShow(e,t)},plugin:"paragraphFormat"}),It.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"}),Object.assign(It.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),It.PLUGINS.paragraphStyle=function(s){var l=s.$;return{_init:function e(){},apply:function c(e,t,a){void 0===t&&(t=s.opts.paragraphStyles),void 0===a&&(a=s.opts.paragraphMultipleStyles);var n="";a||((n=Object.keys(t)).splice(n.indexOf(e),1),n=n.join(" ")),s.selection.save(),s.html.wrap(!0,!0,!0,!0),s.selection.restore();var i=s.selection.blocks();s.selection.save();for(var r=l(i[0]).hasClass(e),o=0;o').concat(this.language.translate(t[a]),""));return e+=""},title:"Paragraph Style",callback:function(e,t){this.paragraphStyle.apply(t)},refreshOnShow:function(e,t){this.paragraphStyle.refreshOnShow(e,t)},plugin:"paragraphStyle"}),It.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"}),Object.assign(It.DEFAULTS,{html2pdf:window.html2pdf}),It.PLUGINS.print=function(l){return{run:function e(){!function s(e){var t=l.html.get(),a=null;l.shared.print_iframe?a=l.shared.print_iframe:((a=document.createElement("iframe")).name="fr-print",a.style.position="fixed",a.style.top="0",a.style.left="-9999px",a.style.height="100%",a.style.width="0",a.style.overflow="hidden",a.style["z-index"]="2147483647",a.style.tabIndex="-1",l.events.on("shared.destroy",function(){a.remove()}),l.shared.print_iframe=a);try{document.body.removeChild(a)}catch(o){}document.body.appendChild(a);var n=function n(){e(),a.removeEventListener("load",n)};a.addEventListener("load",n);var i=a.contentWindow;i.document.open(),i.document.write(""+document.title+""),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),i.document.write(e.outerHTML)});var r=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(r,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",i.document.write(t.outerHTML)}),i.document.write('
    '),i.document.write(t),i.document.write("
    "),i.document.close()}(function(){setTimeout(function(){l.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),l.$win.get(0).focus(),l.events.disableBlur(),l.events.focus()},0)})},toPDF:function t(){l.opts.html2pdf&&(l.$el.css("text-align","left"),l.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(l.el).save(),setTimeout(function(){l.$el.css("text-align","")},100))}}},It.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),It.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),It.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),It.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}}),Object.assign(It.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),It.QUICK_INSERT_BUTTONS={},It.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),It.RegisterQuickInsertButton=function(e,t){It.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},It.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement("input")).attr("accept","image/"+e.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),t("body").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,"change",function(){var e=t(this).data("inst");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val("")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data("inst",e)[0].click()}}),It.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),It.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),It.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),It.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),It.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),It.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),It.PLUGINS.quickInsert=function(o){var s,l,c=o.$;function a(e){var t,a,n;(t=e.offset().top-o.$box.offset().top,a=(o.$iframe&&o.$iframe.offset().left||0)+e.offset().left-e.position().left-4').concat(o.icon.create("quickInsert"),"")));s=o.shared.$quick_insert,o.tooltip.bind(o.$box,".fr-quick-insert > a.fr-floating-btn"),o.events.on("destroy",function(){c("body").first().append(s.removeClass("fr-on")),l&&(f(),c("body").first().append(l.css("left",-9999).css("top",-9999)))},!0),o.events.on("shared.destroy",function(){s.html("").removeData().remove(),s=null,l&&(l.html("").removeData().remove(),l=null)},!0),o.events.on("commands.before",r),o.events.on("commands.after",function(){o.popups.areVisible()||n()}),o.events.bindClick(o.$box,".fr-quick-insert > a",d),o.events.bindClick(o.$box,".fr-qi-helper > a.fr-btn",function(e){var t=c(e.currentTarget).data("cmd");if(!1===o.events.trigger("quickInsert.commands.before",[t]))return!1;It.QUICK_INSERT_BUTTONS[t].callback.apply(o,[e.currentTarget]),It.QUICK_INSERT_BUTTONS[t].undo&&o.undo.saveStep(),o.events.trigger("quickInsert.commands.after",[t]),o.quickInsert.hide()}),o.events.$on(o.$wp,"scroll",p),o.events.$on(o.$tb,"transitionend",".fr-more-toolbar",p)}(),s.hasClass("fr-on")&&f(),o.$box.append(s),a(e),s.data("tag",e),s.addClass("fr-visible")}function n(){if(o.core.hasFocus()){var e=o.selection.element();if(o.opts.enter==It.ENTER_BR||o.node.isBlock(e)||(e=o.node.blockParent(e)),o.opts.enter==It.ENTER_BR&&!o.node.isBlock(e)){var t=o.node.deepestParent(e);t&&(e=t)}var a=function a(){return o.opts.enter!=It.ENTER_BR&&o.node.isEmpty(e)&&0<=o.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},n=function n(){return o.opts.enter==It.ENTER_BR&&("BR"==e.tagName&&(!e.previousSibling||"BR"==e.previousSibling.tagName||o.node.isBlock(e.previousSibling))||o.node.isEmpty(e)&&(!e.previousSibling||"BR"==e.previousSibling.tagName||o.node.isBlock(e.previousSibling))&&(!e.nextSibling||"BR"==e.nextSibling.tagName||o.node.isBlock(e.nextSibling)))};e&&(a()||n())?s&&s.data("tag").is(c(e))&&s.hasClass("fr-on")?f():o.selection.isCollapsed()&&i(c(e)):r()}}function r(){s&&(s.hasClass("fr-on")&&f(),s.removeClass("fr-visible fr-on"),s.css("left",-9999).css("top",-9999))}function d(e){if(e&&e.preventDefault(),s.hasClass("fr-on")&&!s.hasClass("fr-hidden"))f();else{if(!o.shared.$qi_helper){for(var t=o.opts.quickInsertButtons,a='
    ',n=0,i=0;i').concat(o.icon.create(r.icon),""))}a+="
    ",o.shared.$qi_helper=c(a),o.tooltip.bind(o.shared.$qi_helper,"a.fr-btn"),o.events.$on(o.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}l=o.shared.$qi_helper,o.$box.append(l),setTimeout(function(){l.css("top",parseFloat(s.css("top"))),l.css("left",parseFloat(s.css("left"))+s.outerWidth()),l.find("a").addClass("fr-size-1"),s.addClass("fr-on")},10)}}function f(){var a=o.$box.find(".fr-qi-helper");a.length&&function(){for(var t=a.find("a"),e=0;e').concat(this.language.translate(t[a])).concat(n?''.concat(n,""):"","")}return e+=""},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),It.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"}),Object.assign(It.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),It.PLUGINS.save=function(s){var l=s.$,n=null,c=null,t=!1,d=1,f=2,a={};function p(e,t){s.events.trigger("save.error",[{code:e,message:a[e]},t])}function i(e){void 0===e&&(e=s.html.get());var n=e,t=s.events.trigger("save.before",[e]);if(!1===t)return!1;if("string"==typeof t&&(e=t),s.opts.saveURL){var a={};for(var i in s.opts.saveParams)if(s.opts.saveParams.hasOwnProperty(i)){var r=s.opts.saveParams[i];a[i]="function"==typeof r?r.call(this):r}var o={};o[s.opts.saveParam]=e,l(this).ajax({method:s.opts.saveMethod,url:s.opts.saveURL,data:Object.assign(o,a),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,a){c=n,s.events.trigger("save.after",[e])},fail:function(e){p(f,e.response||e.responseText)}})}else p(d)}function r(){clearTimeout(n),n=setTimeout(function(){var e=s.html.get();(c!=e||t)&&(t=!1,i(c=e))},0)}return a[d]="Missing saveURL option.",a[f]="Something went wrong during save.",{_init:function o(){if(s.opts.letteringClass)for(var e=s.opts.letteringClass,t=s.$el.find(".".concat(e)).length,a=0;a$1
    ");s.opts.saveInterval&&(c=s.html.get(),s.events.on("contentChanged",function(){setTimeout(r,s.opts.saveInterval)}),s.events.on("keydown destroy",function(){clearTimeout(n)}))},save:i,reset:function e(){r(),t=!1},force:function u(){t=!0}}},It.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),It.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"}),Object.assign(It.DEFAULTS,{specialCharactersSets:[{title:"Latin","char":"¡",list:[{"char":"¡",desc:"INVERTED EXCLAMATION MARK"},{"char":"¢",desc:"CENT SIGN"},{"char":"£",desc:"POUND SIGN"},{"char":"¤",desc:"CURRENCY SIGN"},{"char":"¥",desc:"YEN SIGN"},{"char":"¦",desc:"BROKEN BAR"},{"char":"§",desc:"SECTION SIGN"},{"char":"¨",desc:"DIAERESIS"},{"char":"©",desc:"COPYRIGHT SIGN"},{"char":"™",desc:"TRADEMARK SIGN"},{"char":"ª",desc:"FEMININE ORDINAL INDICATOR"},{"char":"«",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¬",desc:"NOT SIGN"},{"char":"®",desc:"REGISTERED SIGN"},{"char":"¯",desc:"MACRON"},{"char":"°",desc:"DEGREE SIGN"},{"char":"±",desc:"PLUS-MINUS SIGN"},{"char":"²",desc:"SUPERSCRIPT TWO"},{"char":"³",desc:"SUPERSCRIPT THREE"},{"char":"´",desc:"ACUTE ACCENT"},{"char":"µ",desc:"MICRO SIGN"},{"char":"¶",desc:"PILCROW SIGN"},{"char":"·",desc:"MIDDLE DOT"},{"char":"¸",desc:"CEDILLA"},{"char":"¹",desc:"SUPERSCRIPT ONE"},{"char":"º",desc:"MASCULINE ORDINAL INDICATOR"},{"char":"»",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¼",desc:"VULGAR FRACTION ONE QUARTER"},{"char":"½",desc:"VULGAR FRACTION ONE HALF"},{"char":"¾",desc:"VULGAR FRACTION THREE QUARTERS"},{"char":"¿",desc:"INVERTED QUESTION MARK"},{"char":"À",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{"char":"Á",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{"char":"Â",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{"char":"Ã",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{"char":"Ä",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{"char":"Å",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{"char":"Æ",desc:"LATIN CAPITAL LETTER AE"},{"char":"Ç",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{"char":"È",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{"char":"É",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{"char":"Ê",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{"char":"Ë",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{"char":"Ì",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{"char":"Í",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{"char":"Î",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{"char":"Ï",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{"char":"Ð",desc:"LATIN CAPITAL LETTER ETH"},{"char":"Ñ",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{"char":"Ò",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{"char":"Ó",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{"char":"Ô",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{"char":"Õ",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{"char":"Ö",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{"char":"×",desc:"MULTIPLICATION SIGN"},{"char":"Ø",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{"char":"Ù",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{"char":"Ú",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{"char":"Û",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{"char":"Ü",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{"char":"Ý",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{"char":"Þ",desc:"LATIN CAPITAL LETTER THORN"},{"char":"ß",desc:"LATIN SMALL LETTER SHARP S"},{"char":"à",desc:"LATIN SMALL LETTER A WITH GRAVE"},{"char":"á",desc:"LATIN SMALL LETTER A WITH ACUTE "},{"char":"â",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{"char":"ã",desc:"LATIN SMALL LETTER A WITH TILDE"},{"char":"ä",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{"char":"å",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{"char":"æ",desc:"LATIN SMALL LETTER AE"},{"char":"ç",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{"char":"è",desc:"LATIN SMALL LETTER E WITH GRAVE"},{"char":"é",desc:"LATIN SMALL LETTER E WITH ACUTE"},{"char":"ê",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{"char":"ë",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{"char":"ì",desc:"LATIN SMALL LETTER I WITH GRAVE"},{"char":"í",desc:"LATIN SMALL LETTER I WITH ACUTE"},{"char":"î",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{"char":"ï",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{"char":"ð",desc:"LATIN SMALL LETTER ETH"},{"char":"ñ",desc:"LATIN SMALL LETTER N WITH TILDE"},{"char":"ò",desc:"LATIN SMALL LETTER O WITH GRAVE"},{"char":"ó",desc:"LATIN SMALL LETTER O WITH ACUTE"},{"char":"ô",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{"char":"õ",desc:"LATIN SMALL LETTER O WITH TILDE"},{"char":"ö",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{"char":"÷",desc:"DIVISION SIGN"},{"char":"ø",desc:"LATIN SMALL LETTER O WITH STROKE"},{"char":"ù",desc:"LATIN SMALL LETTER U WITH GRAVE"},{"char":"ú",desc:"LATIN SMALL LETTER U WITH ACUTE"},{"char":"û",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{"char":"ü",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{"char":"ý",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{"char":"þ",desc:"LATIN SMALL LETTER THORN"},{"char":"ÿ",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek","char":"Α",list:[{"char":"Α",desc:"GREEK CAPITAL LETTER ALPHA"},{"char":"Β",desc:"GREEK CAPITAL LETTER BETA"},{"char":"Γ",desc:"GREEK CAPITAL LETTER GAMMA"},{"char":"Δ",desc:"GREEK CAPITAL LETTER DELTA"},{"char":"Ε",desc:"GREEK CAPITAL LETTER EPSILON"},{"char":"Ζ",desc:"GREEK CAPITAL LETTER ZETA"},{"char":"Η",desc:"GREEK CAPITAL LETTER ETA"},{"char":"Θ",desc:"GREEK CAPITAL LETTER THETA"},{"char":"Ι",desc:"GREEK CAPITAL LETTER IOTA"},{"char":"Κ",desc:"GREEK CAPITAL LETTER KAPPA"},{"char":"Λ",desc:"GREEK CAPITAL LETTER LAMBDA"},{"char":"Μ",desc:"GREEK CAPITAL LETTER MU"},{"char":"Ν",desc:"GREEK CAPITAL LETTER NU"},{"char":"Ξ",desc:"GREEK CAPITAL LETTER XI"},{"char":"Ο",desc:"GREEK CAPITAL LETTER OMICRON"},{"char":"Π",desc:"GREEK CAPITAL LETTER PI"},{"char":"Ρ",desc:"GREEK CAPITAL LETTER RHO"},{"char":"Σ",desc:"GREEK CAPITAL LETTER SIGMA"},{"char":"Τ",desc:"GREEK CAPITAL LETTER TAU"},{"char":"Υ",desc:"GREEK CAPITAL LETTER UPSILON"},{"char":"Φ",desc:"GREEK CAPITAL LETTER PHI"},{"char":"Χ",desc:"GREEK CAPITAL LETTER CHI"},{"char":"Ψ",desc:"GREEK CAPITAL LETTER PSI"},{"char":"Ω",desc:"GREEK CAPITAL LETTER OMEGA"},{"char":"α",desc:"GREEK SMALL LETTER ALPHA"},{"char":"β",desc:"GREEK SMALL LETTER BETA"},{"char":"γ",desc:"GREEK SMALL LETTER GAMMA"},{"char":"δ",desc:"GREEK SMALL LETTER DELTA"},{"char":"ε",desc:"GREEK SMALL LETTER EPSILON"},{"char":"ζ",desc:"GREEK SMALL LETTER ZETA"},{"char":"η",desc:"GREEK SMALL LETTER ETA"},{"char":"θ",desc:"GREEK SMALL LETTER THETA"},{"char":"ι",desc:"GREEK SMALL LETTER IOTA"},{"char":"κ",desc:"GREEK SMALL LETTER KAPPA"},{"char":"λ",desc:"GREEK SMALL LETTER LAMBDA"},{"char":"μ",desc:"GREEK SMALL LETTER MU"},{"char":"ν",desc:"GREEK SMALL LETTER NU"},{"char":"ξ",desc:"GREEK SMALL LETTER XI"},{"char":"ο",desc:"GREEK SMALL LETTER OMICRON"},{"char":"π",desc:"GREEK SMALL LETTER PI"},{"char":"ρ",desc:"GREEK SMALL LETTER RHO"},{"char":"ς",desc:"GREEK SMALL LETTER FINAL SIGMA"},{"char":"σ",desc:"GREEK SMALL LETTER SIGMA"},{"char":"τ",desc:"GREEK SMALL LETTER TAU"},{"char":"υ",desc:"GREEK SMALL LETTER UPSILON"},{"char":"φ",desc:"GREEK SMALL LETTER PHI"},{"char":"χ",desc:"GREEK SMALL LETTER CHI"},{"char":"ψ",desc:"GREEK SMALL LETTER PSI"},{"char":"ω",desc:"GREEK SMALL LETTER OMEGA"},{"char":"ϑ",desc:"GREEK THETA SYMBOL"},{"char":"ϒ",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{"char":"ϕ",desc:"GREEK PHI SYMBOL"},{"char":"ϖ",desc:"GREEK PI SYMBOL"},{"char":"Ϝ",desc:"GREEK LETTER DIGAMMA"},{"char":"ϝ",desc:"GREEK SMALL LETTER DIGAMMA"},{"char":"ϰ",desc:"GREEK KAPPA SYMBOL"},{"char":"ϱ",desc:"GREEK RHO SYMBOL"},{"char":"ϵ",desc:"GREEK LUNATE EPSILON SYMBOL"},{"char":"϶",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic","char":"Ѐ",list:[{"char":"Ѐ",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{"char":"Ё",desc:"CYRILLIC CAPITAL LETTER IO"},{"char":"Ђ",desc:"CYRILLIC CAPITAL LETTER DJE"},{"char":"Ѓ",desc:"CYRILLIC CAPITAL LETTER GJE"},{"char":"Є",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{"char":"Ѕ",desc:"CYRILLIC CAPITAL LETTER DZE"},{"char":"І",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"Ї",desc:"CYRILLIC CAPITAL LETTER YI"},{"char":"Ј",desc:"CYRILLIC CAPITAL LETTER JE"},{"char":"Љ",desc:"CYRILLIC CAPITAL LETTER LJE"},{"char":"Њ",desc:"CYRILLIC CAPITAL LETTER NJE"},{"char":"Ћ",desc:"CYRILLIC CAPITAL LETTER TSHE"},{"char":"Ќ",desc:"CYRILLIC CAPITAL LETTER KJE"},{"char":"Ѝ",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{"char":"Ў",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{"char":"Џ",desc:"CYRILLIC CAPITAL LETTER DZHE"},{"char":"А",desc:"CYRILLIC CAPITAL LETTER A"},{"char":"Б",desc:"CYRILLIC CAPITAL LETTER BE"},{"char":"В",desc:"CYRILLIC CAPITAL LETTER VE"},{"char":"Г",desc:"CYRILLIC CAPITAL LETTER GHE"},{"char":"Д",desc:"CYRILLIC CAPITAL LETTER DE"},{"char":"Е",desc:"CYRILLIC CAPITAL LETTER IE"},{"char":"Ж",desc:"CYRILLIC CAPITAL LETTER ZHE"},{"char":"З",desc:"CYRILLIC CAPITAL LETTER ZE"},{"char":"И",desc:"CYRILLIC CAPITAL LETTER I"},{"char":"Й",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{"char":"К",desc:"CYRILLIC CAPITAL LETTER KA"},{"char":"Л",desc:"CYRILLIC CAPITAL LETTER EL"},{"char":"М",desc:"CYRILLIC CAPITAL LETTER EM"},{"char":"Н",desc:"CYRILLIC CAPITAL LETTER EN"},{"char":"О",desc:"CYRILLIC CAPITAL LETTER O"},{"char":"П",desc:"CYRILLIC CAPITAL LETTER PE"},{"char":"Р",desc:"CYRILLIC CAPITAL LETTER ER"},{"char":"С",desc:"CYRILLIC CAPITAL LETTER ES"},{"char":"Т",desc:"CYRILLIC CAPITAL LETTER TE"},{"char":"У",desc:"CYRILLIC CAPITAL LETTER U"},{"char":"Ф",desc:"CYRILLIC CAPITAL LETTER EF"},{"char":"Х",desc:"CYRILLIC CAPITAL LETTER HA"},{"char":"Ц",desc:"CYRILLIC CAPITAL LETTER TSE"},{"char":"Ч",desc:"CYRILLIC CAPITAL LETTER CHE"},{"char":"Ш",desc:"CYRILLIC CAPITAL LETTER SHA"},{"char":"Щ",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{"char":"Ъ",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{"char":"Ы",desc:"CYRILLIC CAPITAL LETTER YERU"},{"char":"Ь",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{"char":"Э",desc:"CYRILLIC CAPITAL LETTER E"},{"char":"Ю",desc:"CYRILLIC CAPITAL LETTER YU"},{"char":"Я",desc:"CYRILLIC CAPITAL LETTER YA"},{"char":"а",desc:"CYRILLIC SMALL LETTER A"},{"char":"б",desc:"CYRILLIC SMALL LETTER BE"},{"char":"в",desc:"CYRILLIC SMALL LETTER VE"},{"char":"г",desc:"CYRILLIC SMALL LETTER GHE"},{"char":"д",desc:"CYRILLIC SMALL LETTER DE"},{"char":"е",desc:"CYRILLIC SMALL LETTER IE"},{"char":"ж",desc:"CYRILLIC SMALL LETTER ZHE"},{"char":"з",desc:"CYRILLIC SMALL LETTER ZE"},{"char":"и",desc:"CYRILLIC SMALL LETTER I"},{"char":"й",desc:"CYRILLIC SMALL LETTER SHORT I"},{"char":"к",desc:"CYRILLIC SMALL LETTER KA"},{"char":"л",desc:"CYRILLIC SMALL LETTER EL"},{"char":"м",desc:"CYRILLIC SMALL LETTER EM"},{"char":"н",desc:"CYRILLIC SMALL LETTER EN"},{"char":"о",desc:"CYRILLIC SMALL LETTER O"},{"char":"п",desc:"CYRILLIC SMALL LETTER PE"},{"char":"р",desc:"CYRILLIC SMALL LETTER ER"},{"char":"с",desc:"CYRILLIC SMALL LETTER ES"},{"char":"т",desc:"CYRILLIC SMALL LETTER TE"},{"char":"у",desc:"CYRILLIC SMALL LETTER U"},{"char":"ф",desc:"CYRILLIC SMALL LETTER EF"},{"char":"х",desc:"CYRILLIC SMALL LETTER HA"},{"char":"ц",desc:"CYRILLIC SMALL LETTER TSE"},{"char":"ч",desc:"CYRILLIC SMALL LETTER CHE"},{"char":"ш",desc:"CYRILLIC SMALL LETTER SHA"},{"char":"щ",desc:"CYRILLIC SMALL LETTER SHCHA"},{"char":"ъ",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{"char":"ы",desc:"CYRILLIC SMALL LETTER YERU"},{"char":"ь",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{"char":"э",desc:"CYRILLIC SMALL LETTER E"},{"char":"ю",desc:"CYRILLIC SMALL LETTER YU"},{"char":"я",desc:"CYRILLIC SMALL LETTER YA"},{"char":"ѐ",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{"char":"ё",desc:"CYRILLIC SMALL LETTER IO"},{"char":"ђ",desc:"CYRILLIC SMALL LETTER DJE"},{"char":"ѓ",desc:"CYRILLIC SMALL LETTER GJE"},{"char":"є",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{"char":"ѕ",desc:"CYRILLIC SMALL LETTER DZE"},{"char":"і",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"ї",desc:"CYRILLIC SMALL LETTER YI"},{"char":"ј",desc:"CYRILLIC SMALL LETTER JE"},{"char":"љ",desc:"CYRILLIC SMALL LETTER LJE"},{"char":"њ",desc:"CYRILLIC SMALL LETTER NJE"},{"char":"ћ",desc:"CYRILLIC SMALL LETTER TSHE"},{"char":"ќ",desc:"CYRILLIC SMALL LETTER KJE"},{"char":"ѝ",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{"char":"ў",desc:"CYRILLIC SMALL LETTER SHORT U"},{"char":"џ",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation","char":"–",list:[{"char":"–",desc:"EN DASH"},{"char":"—",desc:"EM DASH"},{"char":"‘",desc:"LEFT SINGLE QUOTATION MARK"},{"char":"’",desc:"RIGHT SINGLE QUOTATION MARK"},{"char":"‚",desc:"SINGLE LOW-9 QUOTATION MARK"},{"char":"“",desc:"LEFT DOUBLE QUOTATION MARK"},{"char":"”",desc:"RIGHT DOUBLE QUOTATION MARK"},{"char":"„",desc:"DOUBLE LOW-9 QUOTATION MARK"},{"char":"†",desc:"DAGGER"},{"char":"‡",desc:"DOUBLE DAGGER"},{"char":"•",desc:"BULLET"},{"char":"…",desc:"HORIZONTAL ELLIPSIS"},{"char":"‰",desc:"PER MILLE SIGN"},{"char":"′",desc:"PRIME"},{"char":"″",desc:"DOUBLE PRIME"},{"char":"‹",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{"char":"›",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{"char":"‾",desc:"OVERLINE"},{"char":"⁄",desc:"FRACTION SLASH"}]},{title:"Currency","char":"₠",list:[{"char":"₠",desc:"EURO-CURRENCY SIGN"},{"char":"₡",desc:"COLON SIGN"},{"char":"₢",desc:"CRUZEIRO SIGN"},{"char":"₣",desc:"FRENCH FRANC SIGN"},{"char":"₤",desc:"LIRA SIGN"},{"char":"₥",desc:"MILL SIGN"},{"char":"₦",desc:"NAIRA SIGN"},{"char":"₧",desc:"PESETA SIGN"},{"char":"₨",desc:"RUPEE SIGN"},{"char":"₩",desc:"WON SIGN"},{"char":"₪",desc:"NEW SHEQEL SIGN"},{"char":"₫",desc:"DONG SIGN"},{"char":"€",desc:"EURO SIGN"},{"char":"₭",desc:"KIP SIGN"},{"char":"₮",desc:"TUGRIK SIGN"},{"char":"₯",desc:"DRACHMA SIGN"},{"char":"₰",desc:"GERMAN PENNY SYMBOL"},{"char":"₱",desc:"PESO SIGN"},{"char":"₲",desc:"GUARANI SIGN"},{"char":"₳",desc:"AUSTRAL SIGN"},{"char":"₴",desc:"HRYVNIA SIGN"},{"char":"₵",desc:"CEDI SIGN"},{"char":"₶",desc:"LIVRE TOURNOIS SIGN"},{"char":"₷",desc:"SPESMILO SIGN"},{"char":"₸",desc:"TENGE SIGN"},{"char":"₹",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows","char":"←",list:[{"char":"←",desc:"LEFTWARDS ARROW"},{"char":"↑",desc:"UPWARDS ARROW"},{"char":"→",desc:"RIGHTWARDS ARROW"},{"char":"↓",desc:"DOWNWARDS ARROW"},{"char":"↔",desc:"LEFT RIGHT ARROW"},{"char":"↕",desc:"UP DOWN ARROW"},{"char":"↖",desc:"NORTH WEST ARROW"},{"char":"↗",desc:"NORTH EAST ARROW"},{"char":"↘",desc:"SOUTH EAST ARROW"},{"char":"↙",desc:"SOUTH WEST ARROW"},{"char":"↚",desc:"LEFTWARDS ARROW WITH STROKE"},{"char":"↛",desc:"RIGHTWARDS ARROW WITH STROKE"},{"char":"↜",desc:"LEFTWARDS WAVE ARROW"},{"char":"↝",desc:"RIGHTWARDS WAVE ARROW"},{"char":"↞",desc:"LEFTWARDS TWO HEADED ARROW"},{"char":"↟",desc:"UPWARDS TWO HEADED ARROW"},{"char":"↠",desc:"RIGHTWARDS TWO HEADED ARROW"},{"char":"↡",desc:"DOWNWARDS TWO HEADED ARROW"},{"char":"↢",desc:"LEFTWARDS ARROW WITH TAIL"},{"char":"↣",desc:"RIGHTWARDS ARROW WITH TAIL"},{"char":"↤",desc:"LEFTWARDS ARROW FROM BAR"},{"char":"↥",desc:"UPWARDS ARROW FROM BAR"},{"char":"↦",desc:"RIGHTWARDS ARROW FROM BAR"},{"char":"↧",desc:"DOWNWARDS ARROW FROM BAR"},{"char":"↨",desc:"UP DOWN ARROW WITH BASE"},{"char":"↩",desc:"LEFTWARDS ARROW WITH HOOK"},{"char":"↪",desc:"RIGHTWARDS ARROW WITH HOOK"},{"char":"↫",desc:"LEFTWARDS ARROW WITH LOOP"},{"char":"↬",desc:"RIGHTWARDS ARROW WITH LOOP"},{"char":"↭",desc:"LEFT RIGHT WAVE ARROW"},{"char":"↮",desc:"LEFT RIGHT ARROW WITH STROKE"},{"char":"↯",desc:"DOWNWARDS ZIGZAG ARROW"},{"char":"↰",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↱",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↲",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↳",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↴",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{"char":"↵",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{"char":"↶",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↷",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↸",desc:"NORTH WEST ARROW TO LONG BAR"},{"char":"↹",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{"char":"↺",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{"char":"↻",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{"char":"↼",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{"char":"↽",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"↾",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"↿",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇀",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{"char":"⇁",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"⇂",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"⇃",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇄",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{"char":"⇅",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{"char":"⇆",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{"char":"⇇",desc:"LEFTWARDS PAIRED ARROWS"},{"char":"⇈",desc:"UPWARDS PAIRED ARROWS"},{"char":"⇉",desc:"RIGHTWARDS PAIRED ARROWS"},{"char":"⇊",desc:"DOWNWARDS PAIRED ARROWS"},{"char":"⇋",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{"char":"⇌",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{"char":"⇍",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇎",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{"char":"⇏",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇐",desc:"LEFTWARDS DOUBLE ARROW"},{"char":"⇑",desc:"UPWARDS DOUBLE ARROW"},{"char":"⇒",desc:"RIGHTWARDS DOUBLE ARROW"},{"char":"⇓",desc:"DOWNWARDS DOUBLE ARROW"},{"char":"⇔",desc:"LEFT RIGHT DOUBLE ARROW"},{"char":"⇕",desc:"UP DOWN DOUBLE ARROW"},{"char":"⇖",desc:"NORTH WEST DOUBLE ARROW"},{"char":"⇗",desc:"NORTH EAST DOUBLE ARROW"},{"char":"⇘",desc:"SOUTH EAST DOUBLE ARROW"},{"char":"⇙",desc:"SOUTH WEST DOUBLE ARROW"},{"char":"⇚",desc:"LEFTWARDS TRIPLE ARROW"},{"char":"⇛",desc:"RIGHTWARDS TRIPLE ARROW"},{"char":"⇜",desc:"LEFTWARDS SQUIGGLE ARROW"},{"char":"⇝",desc:"RIGHTWARDS SQUIGGLE ARROW"},{"char":"⇞",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇟",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇠",desc:"LEFTWARDS DASHED ARROW"},{"char":"⇡",desc:"UPWARDS DASHED ARROW"},{"char":"⇢",desc:"RIGHTWARDS DASHED ARROW"},{"char":"⇣",desc:"DOWNWARDS DASHED ARROW"},{"char":"⇤",desc:"LEFTWARDS ARROW TO BAR"},{"char":"⇥",desc:"RIGHTWARDS ARROW TO BAR"},{"char":"⇦",desc:"LEFTWARDS WHITE ARROW"},{"char":"⇧",desc:"UPWARDS WHITE ARROW"},{"char":"⇨",desc:"RIGHTWARDS WHITE ARROW"},{"char":"⇩",desc:"DOWNWARDS WHITE ARROW"},{"char":"⇪",desc:"UPWARDS WHITE ARROW FROM BAR"},{"char":"⇫",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{"char":"⇬",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{"char":"⇭",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"},{"char":"⇮",desc:"UPWARDS WHITE DOUBLE ARROW"},{"char":"⇯",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{"char":"⇰",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{"char":"⇱",desc:"NORTH WEST ARROW TO CORNER"},{"char":"⇲",desc:"SOUTH EAST ARROW TO CORNER"},{"char":"⇳",desc:"UP DOWN WHITE ARROW"},{"char":"⇴",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{"char":"⇵",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{"char":"⇶",desc:"THREE RIGHTWARDS ARROWS"},{"char":"⇷",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇸",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇹",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{"char":"⇺",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇻",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇼",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇽",desc:"LEFTWARDS OPEN-HEADED ARROW"},{"char":"⇾",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{"char":"⇿",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math","char":"∀",list:[{"char":"∀",desc:"FOR ALL"},{"char":"∂",desc:"PARTIAL DIFFERENTIAL"},{"char":"∃",desc:"THERE EXISTS"},{"char":"∅",desc:"EMPTY SET"},{"char":"∇",desc:"NABLA"},{"char":"∈",desc:"ELEMENT OF"},{"char":"∉",desc:"NOT AN ELEMENT OF"},{"char":"∋",desc:"CONTAINS AS MEMBER"},{"char":"∏",desc:"N-ARY PRODUCT"},{"char":"∑",desc:"N-ARY SUMMATION"},{"char":"−",desc:"MINUS SIGN"},{"char":"∗",desc:"ASTERISK OPERATOR"},{"char":"√",desc:"SQUARE ROOT"},{"char":"∝",desc:"PROPORTIONAL TO"},{"char":"∞",desc:"INFINITY"},{"char":"∠",desc:"ANGLE"},{"char":"∧",desc:"LOGICAL AND"},{"char":"∨",desc:"LOGICAL OR"},{"char":"∩",desc:"INTERSECTION"},{"char":"∪",desc:"UNION"},{"char":"∫",desc:"INTEGRAL"},{"char":"∴",desc:"THEREFORE"},{"char":"∼",desc:"TILDE OPERATOR"},{"char":"≅",desc:"APPROXIMATELY EQUAL TO"},{"char":"≈",desc:"ALMOST EQUAL TO"},{"char":"≠",desc:"NOT EQUAL TO"},{"char":"≡",desc:"IDENTICAL TO"},{"char":"≤",desc:"LESS-THAN OR EQUAL TO"},{"char":"≥",desc:"GREATER-THAN OR EQUAL TO"},{"char":"⊂",desc:"SUBSET OF"},{"char":"⊃",desc:"SUPERSET OF"},{"char":"⊄",desc:"NOT A SUBSET OF"},{"char":"⊆",desc:"SUBSET OF OR EQUAL TO"},{"char":"⊇",desc:"SUPERSET OF OR EQUAL TO"},{"char":"⊕",desc:"CIRCLED PLUS"},{"char":"⊗",desc:"CIRCLED TIMES"},{"char":"⊥",desc:"UP TACK"}]},{title:"Misc","char":"♠",list:[{"char":"♠",desc:"BLACK SPADE SUIT"},{"char":"♣",desc:"BLACK CLUB SUIT"},{"char":"♥",desc:"BLACK HEART SUIT"},{"char":"♦",desc:"BLACK DIAMOND SUIT"},{"char":"♩",desc:"QUARTER NOTE"},{"char":"♪",desc:"EIGHTH NOTE"},{"char":"♫",desc:"BEAMED EIGHTH NOTES"},{"char":"♬",desc:"BEAMED SIXTEENTH NOTES"},{"char":"♭",desc:"MUSIC FLAT SIGN"},{"char":"♮",desc:"MUSIC NATURAL SIGN"},{"char":"☀",desc:"BLACK SUN WITH RAYS"},{"char":"☁",desc:"CLOUD"},{"char":"☂",desc:"UMBRELLA"},{"char":"☃",desc:"SNOWMAN"},{"char":"☕",desc:"HOT BEVERAGE"},{"char":"☘",desc:"SHAMROCK"},{"char":"☯",desc:"YIN YANG"},{"char":"✔",desc:"HEAVY CHECK MARK"},{"char":"✖",desc:"HEAVY MULTIPLICATION X"},{"char":"❄",desc:"SNOWFLAKE"},{"char":"❛",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❜",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❝",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❞",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❤",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(It.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),It.PLUGINS.specialCharacters=function(h){var m=h.$,a=h.opts.specialCharactersSets[0],i=h.opts.specialCharactersSets,o="";function s(){return'\n
    \n '.concat(function t(e,a){var n="";return e.forEach(function(e){var t={elementClass:e.title===a.title?"fr-active fr-active-tab":"",title:e.title,dataParam1:e.title,desc:e["char"]};n+='")}),n}(i,a),'\n
    \n
    \n ').concat(function n(e){var a="";return e.list.forEach(function(e){var t={dataParam1:e["char"],title:e.desc,splCharValue:e["char"]};a+='').concat(t.splCharValue,"")}),a}(a),"\n
    ")}return{setSpecialCharacterCategory:function n(t){a=i.filter(function(e){return e.title===t})[0],function e(){h.popups.get("specialCharacters").html(o+s())}()},showSpecialCharsPopup:function l(){var e=h.popups.get("specialCharacters");if(e||(e=function r(){h.opts.toolbarInline&&0'.concat(h.button.buildList(h.opts.specialCharButtons),""));var e={buttons:o,custom_layer:s()},t=h.popups.create("specialCharacters",e);return function a(g){h.events.on("popup.tab",function(e){var t=m(e.currentTarget);if(!h.popups.isVisible("specialCharacters")||!t.is("span, a"))return!0;var a,n,i,r=e.which;if(It.KEYCODE.TAB==r){if(t.is("span.fr-icon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var o=g.find(".fr-buttons");a=!h.accessibility.focusToolbar(o,!!e.shiftKey)}if(!1!==a){var s=g.find("span.fr-icon:focus").first().concat(g.findVisible(" span.fr-icon").first().concat(g.find("a")));t.is("span.fr-icon")&&(s=s.not("span.fr-icon:not(:focus)")),n=s.index(t),n=e.shiftKey?((n-1)%s.length+s.length)%s.length:(n+1)%s.length,i=s.get(n),h.events.disableBlur(),i.focus(),a=!1}}else if(It.KEYCODE.ARROW_UP==r||It.KEYCODE.ARROW_DOWN==r||It.KEYCODE.ARROW_LEFT==r||It.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-icon")){var l=t.parent().find("span.fr-icon");n=l.index(t);var c=Math.floor(l.length/11),d=n%11,f=Math.floor(n/11),p=11*f+d,u=11*c;It.KEYCODE.ARROW_UP==r?p=((p-11)%u+u)%u:It.KEYCODE.ARROW_DOWN==r?p=(p+11)%u:It.KEYCODE.ARROW_LEFT==r?p=((p-1)%u+u)%u:It.KEYCODE.ARROW_RIGHT==r&&(p=(p+1)%u),i=m(l.get(p)),h.events.disableBlur(),i.focus(),a=!1}}else It.KEYCODE.ENTER==r&&(t.is("a")?t[0].click():h.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(t),t}()),!e.hasClass("fr-active")){h.popups.refresh("specialCharacters"),h.popups.setContainer("specialCharacters",h.$tb);var t=h.$tb.find('.fr-command[data-cmd="specialCharacters"]'),a=h.button.getPosition(t),n=a.left,i=a.top;h.popups.show("specialCharacters",n,i,outerHeight)}},back:function e(){h.popups.hide("specialCharacters"),h.toolbar.showInline()}}},It.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),It.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),It.RegisterCommand("insertSpecialCharacter",{callback:function(e,t){this.undo.saveStep(),this.html.insert(t),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),It.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(e,t){this.specialCharacters.setSpecialCharacterCategory(t)}}),It.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}}),Object.assign(It.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(It.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackground","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),It.PLUGINS.table=function(T){var C,c,i,r,n,o,R,w=T.$;function u(){var e=S();if(e){var t=T.popups.get("table.edit");if(t||(t=p()),t){T.popups.setContainer("table.edit",T.$sc);var a=k(e),n=a.left+(a.right-a.left)/2,i=a.bottom;T.popups.show("table.edit",n,i,a.bottom-a.top,!0),T.edit.isDisabled()&&(1"));var t="";T.opts.colorsHEXInput&&(t='
    "));var a={buttons:e,colors:function i(){for(var e='
    ',t=0;t"),"REMOVE"!=T.opts.tableColors[t]?e+='').concat(T.language.translate("Color")," ").concat(T.opts.tableColors[t],"   "):e+='').concat(T.icon.create("tableColorRemove"),'').concat(T.language.translate("Clear Formatting"),"");return e+="
    "}(),custom_color:t},n=T.popups.create("table.colors",a);return T.events.$on(T.$wp,"scroll.table-colors",function(){T.popups.isVisible("table.colors")&&s()}),function r(g){T.events.on("popup.tab",function(e){var t=w(e.currentTarget);if(!T.popups.isVisible("table.colors")||!t.is("span"))return!0;var a=e.which,n=!0;if(It.KEYCODE.TAB==a){var i=g.find(".fr-buttons");n=!T.accessibility.focusToolbar(i,!!e.shiftKey)}else if(It.KEYCODE.ARROW_UP==a||It.KEYCODE.ARROW_DOWN==a||It.KEYCODE.ARROW_LEFT==a||It.KEYCODE.ARROW_RIGHT==a){var r=t.parent().find("span.fr-command"),o=r.index(t),s=T.opts.colorsStep,l=Math.floor(r.length/s),c=o%s,d=Math.floor(o/s),f=d*s+c,p=l*s;It.KEYCODE.ARROW_UP==a?f=((f-s)%p+p)%p:It.KEYCODE.ARROW_DOWN==a?f=(f+s)%p:It.KEYCODE.ARROW_LEFT==a?f=((f-1)%p+p)%p:It.KEYCODE.ARROW_RIGHT==a&&(f=(f+1)%p);var u=w(r.get(f));T.events.disableBlur(),u.focus(),n=!1}else It.KEYCODE.ENTER==a&&(T.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(n),n}()),T.popups.setContainer("table.colors",T.$sc);var a=k(e),n=(a.left+a.right)/2,i=a.bottom;!function r(){var e=T.popups.get("table.colors"),t=T.$el.find(".fr-selected-cell").first(),a=T.helpers.RGBToHex(t.css("background-color")),n=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),e.find('span[data-param1="'.concat(a,'"]')).addClass("fr-selected-color fr-active-item"),n.val(a).trigger("change")}(),T.popups.show("table.colors",n,i,a.bottom-a.top,!0)}}function l(){0===J().length&&T.toolbar.enable()}function d(e){if(e)return T.popups.onHide("table.insert",function(){T.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var t="";0'.concat(T.button.buildList(T.opts.tableInsertButtons),""));var a={buttons:t,rows_columns:function r(){for(var e='
    1 × 1
    ',t=1;t<=T.opts.tableInsertMaxSize;t++){for(var a=1;a<=T.opts.tableInsertMaxSize;a++){var n="inline-block";2').concat(t," × ").concat(a,"   ")}e+='
    '}return e+="
    "}()},n=T.popups.create("table.insert",a);return T.events.$on(n,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){f(w(e.currentTarget))},!0),function i(e){T.events.$on(e,"focus","[tabIndex]",function(e){var t=w(e.currentTarget);f(t)}),T.events.on("popup.tab",function(e){var t=w(e.currentTarget);if(!T.popups.isVisible("table.insert")||!t.is("span, a"))return!0;var a,n=e.which;if(It.KEYCODE.ARROW_UP==n||It.KEYCODE.ARROW_DOWN==n||It.KEYCODE.ARROW_LEFT==n||It.KEYCODE.ARROW_RIGHT==n){if(t.is("span.fr-table-cell")){var i=t.parent().find("span.fr-table-cell"),r=i.index(t),o=T.opts.tableInsertMaxSize,s=r%o,l=Math.floor(r/o);It.KEYCODE.ARROW_UP==n?l=Math.max(0,l-1):It.KEYCODE.ARROW_DOWN==n?l=Math.min(T.opts.tableInsertMaxSize-1,l+1):It.KEYCODE.ARROW_LEFT==n?s=Math.max(0,s-1):It.KEYCODE.ARROW_RIGHT==n&&(s=Math.min(T.opts.tableInsertMaxSize-1,s+1));var c=l*o+s,d=w(i.get(c));f(d),T.events.disableBlur(),d.focus(),a=!1}}else It.KEYCODE.ENTER==n&&(T.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(n),n}function f(e){var t=e.data("row");null!==t&&(t=parseInt(t));var a=e.data("col");null!==a&&(a=parseInt(a));var n=e.parent();n.siblings(".fr-table-size-info").html("".concat(t," × ").concat(a)),n.find("> span").removeClass("hover fr-active-item");for(var i=1;i<=T.opts.tableInsertMaxSize;i++)for(var r=0;r<=T.opts.tableInsertMaxSize;r++){var o=n.find('> span[data-row="'.concat(i,'"][data-col="').concat(r,'"]'));i<=t&&r<=a?o.addClass("hover"):i<=t+1||i<=2&&!T.helpers.isMobile()?o.css("display","inline-block"):2'.concat(T.button.buildList(T.opts.tableEditButtons),"")},a=T.popups.create("table.edit",t);return T.events.$on(T.$wp,"scroll.table-edit",function(){T.popups.isVisible("table.edit")&&u()}),a}return!1}function g(){if(0
    '}s+="",i=0 table tbody"))):w(t.find("tr").not(t.find("> table tr")).get(n)),"below"==e?"TBODY"==i.attr("tagName")?i.prepend(s):i[0].parentNode&&i[0].insertAdjacentHTML("afterend",s):"above"==e&&(i.before(s),T.popups.isVisible("table.edit")&&u())}}function m(e,t,a){var n,i,r,o,s,l=0,c=S(a);if(e<(t=Math.min(t,c[0].length-1)))for(i=e;i<=t;i++)if(!(e table tr")).each(function(s,e){var t=w(e),l=0;t.find("> th, > td").each(function(e,t){for(var a=w(t),n=parseInt(a.attr("colspan"),10)||1,i=parseInt(a.attr("rowspan"),10)||1,r=s;r")),C=T.shared.$table_resizer,T.events.$on(C,"mousedown",function(e){return!T.core.sameInstance(C)||(0a-T.opts.tableResizerOffset?C.css("left",a-T.opts.tableResizerOffset-T.$wp.offset().left):n')),T.events.bindClick(T.shared.$ti_helper,"a",function(){var e=c.data("selected-cell"),t=c.data("position"),a=c.data("instance")||T;"before"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"after"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertColumn(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"above"==t?(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()):"below"==t&&(T.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertRow(t),e.removeClass("fr-selected-cell"),T.undo.saveStep()),H()}),T.events.on("shared.destroy",function(){T.shared.$ti_helper.html("").removeData().remove(),T.shared.$ti_helper=null},!0),T.events.$on(T.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),T.events.$on(w(T.o_win),"scroll",function(){H()},!0),T.events.$on(T.$wp,"scroll",function(){H()},!0)),c=T.shared.$ti_helper,T.events.on("destroy",function(){c=null}),T.tooltip.bind(T.$box,".fr-insert-helper > a.fr-floating-btn")}function Q(){n=null,clearTimeout(o)}function J(){return T.el.querySelectorAll(".fr-selected-cell")}function Z(){var e=J();if(e.length){for(var t=e[0];t&&t.parentNode!=T.el;)t=t.parentNode;return t&&"TABLE"==t.tagName?w(t):w([])}return w([])}function ee(e){i=!1}return{_init:function te(){if(!T.$wp)return!1;if(!T.helpers.isMobile()){R=i=r=!1,T.events.$on(T.$el,"mousedown",e),T.popups.onShow("image.edit",function(){y(),i=r=!1}),T.popups.onShow("link.edit",function(){y(),i=r=!1}),T.events.on("commands.mousedown",function(e){0"),a==t.length-1&&w(t[a]).prepend(It.MARKERS);return T.selection.restore(),T.undo.saveStep(),!(t=[])}if(1',r=100/t;for(a=0;a",n=0;n",0===a&&0===n&&(i+=It.MARKERS),i+="
    ";i+=""}i+="",T.html.insert(i),T.selection.restore();var o=T.$el.find(".fr-inserted-table");o.removeClass("fr-inserted-table"),T.events.trigger("table.inserted",[o.get(0)])},remove:g,insertRow:h,deleteRow:function ne(){var e=Z();if(0=r.min_i;t--){for(n=w(e.find("tr").not(e.find("> table tr")).get(t)),a=0;a table tr")).get(t+1)).prepend(l):w(i[t+1][c-1])[0].parentNode&&w(i[t+1][c-1])[0].insertAdjacentElement("afterend",l)}}var d=n.parent();n.remove(),0===d.find("tr").length&&d.remove(),i=S(e)}E(0,i.length-1,0,i[0].length-1,e),0 table tr")).each(function(e){for(var t,a=w(this),n=0,i=0;n-1 th, > td").get(i))){t=null;break}t==d[e][n]?(n+=parseInt(w(t).attr("colspan"),10)||1,i++):(n+=parseInt(w(d[e][n]).attr("colspan"),10)||1,"after"==l&&(t=0===i?-1:a.find("> th, > td").get(i-1)))}var r,o=w(t);if("after"==l&&c
    '):'
    '),-1==t?a.prepend(r):null==t?a.append(r):"before"==l?o.before(r):"after"==l&&o[0].parentNode&&o[0].insertAdjacentHTML("afterend",r)}),e.find("th, td").each(function(){(a=w(this)).data("old-width")&&(a.css("width",(a.data("old-width")*p/f).toFixed(4)+"%"),a.removeData("old-width"))}),T.popups.isVisible("table.edit")&&u()}},deleteColumn:function re(){var e=Z();if(0r.max_j)&&(o+=n.outerWidth()/e.outerWidth()*100));for(o/=i.length,a=r.max_j;a>=r.min_j;a--)for(t=0;t th, > td").length&&(0===l.prev().length||0===l.next().length||l.prev().find("> th[rowspan], > td[rowspan]").length th, > td").length)&&l.remove()}E(0,i.length-1,0,i[0].length-1,e),0"!=(t=w(n[e])).html()&&""!==t.html()&&(s+="
    ".concat(t.html())),t.remove();i.html(s),T.selection.setAtEnd(i.get(0)),T.selection.restore(),T.toolbar.enable(),v(a.min_i,a.max_i,o);var c=o.find("tr:empty");for(e=c.length-1;0<=e;e--)w(c[e]).remove();m(a.min_j,a.max_j,o),u()}},splitCellVertically:function se(){if(1==J().length){var e=T.$el.find(".fr-selected-cell"),t=parseInt(e.attr("colspan"),10)||1,a=e.parent().outerWidth(),n=e.outerWidth(),i=e.clone().html("
    "),r=S(),o=_(e.get(0),r);if(1");if(1 table tr")).get(l)).prepend(o):w(i[l][c])[0].parentNode&&w(i[l][c])[0].insertAdjacentElement("afterend",o[0])}else{var d,f=w(document.createElement("tr")).append(o);for(d=0;d td").each(function(){var e=w(this);n+=parseInt(e.attr("colspan"),10)||1}),t=0;t
    ";a+="",e.prepend(a),u()}},removeHeader:function de(){var e=Z(),t=e.find("thead");if(0'+this.language.translate(t[a])+"");return e+=""},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),It.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),It.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var e='"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),It.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),It.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var a=this.$,n=this.$el.find(".fr-selected-cell").closest("table");n&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=n.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),It.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),It.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),It.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),It.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),It.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),It.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),It.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),It.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),It.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),It.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),a=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(a(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),It.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),It.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var a=this.$,n=this.$el.find(".fr-selected-cell").first();n&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=n.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),It.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),It.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"}),It.URLRegEx="(^| |\\u00A0)(".concat(It.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),It.PLUGINS.url=function(o){var s=o.$,r=null;function t(e,t,a){for(var n="";a.length&&"."==a[a.length-1];)n+=".",a=a.substring(0,a.length-1);var i=a;if(o.opts.linkConvertEmailAddress)o.helpers.isEmail(i)&&!/^mailto:.*/i.test(i)&&(i="mailto:".concat(i));else if(o.helpers.isEmail(i))return t+a;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(i)||(i="//".concat(i)),(t||"")+"').concat(a.replace(/&/g,"&").replace(/&/g,"&").replace(//g,">"),"").concat(n)}var l=function l(){return new RegExp(It.URLRegEx,"gi")};function c(e){return o.opts.linkAlwaysNoFollow&&(r="nofollow"),o.opts.linkAlwaysBlank&&(o.opts.linkNoOpener&&(r?r+=" noopener":r="noopener"),o.opts.linkNoReferrer&&(r?r+=" noreferrer":r="noreferrer")),e.replace(l(),t)}function d(e){var t=e.split(" ");return t[t.length-1]}function a(){var e=o.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||"").length)return!1;if(function r(e){return!!e&&("A"===e.tagName||!(!e.parentNode||e.parentNode==o.el)&&r(e.parentNode))}(t))return!1;if(l().test(d(t.textContent))){s(t).before(c(t.textContent));var a=s(t.parentNode).find("a[data-fr-linked]");a.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),o.events.trigger("url.linked",[a.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var n=t.previousSibling.innerText+t.textContent;if(l().test(d(n))){var i=(new DOMParser).parseFromString(c(n),"text/html").body.childNodes;t.parentNode.replaceChild(i[0],t.previousSibling),i.length&&s(t).before(i[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){o.events.on("keypress",function(e){!o.selection.isCollapsed()||"."!=e.key&&")"!=e.key&&"("!=e.key||a()},!0),o.events.on("keydown",function(e){var t=e.which;!o.selection.isCollapsed()||t!=It.KEYCODE.ENTER&&t!=It.KEYCODE.SPACE||a()},!0),o.events.on("paste.beforeCleanup",function(e){if(o.helpers.isURL(e)){var t=null;return o.opts.linkAlwaysBlank&&(o.opts.linkNoOpener&&(t?t+=" noopener":t="noopener"),o.opts.linkNoReferrer&&(t?t+=" noreferrer":t="noreferrer")),"').concat(e,"")}})}}},Object.assign(It.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(It.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),It.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],It.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,It.PLUGINS.video=function(A){var s,d,f,y,n,a,T=A.$,C="https://i.froala.com/upload",p=2,u=3,g=4,R=5,w=6,i={};function h(){var e=A.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function r(){var e=A.popups.get("video.edit");if(e||(e=function o(){var e="";if(0 \n '.concat(A.button.buildList(A.opts.videoEditButtons)," \n ")},a=A.popups.create("video.edit",t);return A.events.$on(A.$wp,"scroll.video-edit",function(){y&&A.popups.isVisible("video.edit")&&(A.events.disableBlur(),E(y))}),a}return!1}()),e){A.popups.setContainer("video.edit",A.$sc),A.popups.refresh("video.edit");var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight(),i=t.get(0).src?t.get(0).src:null,r=!(!(i=(i=i.split("."))[i.length-1]).includes("pdf")&&!i.includes("txt"));t.hasClass("fr-file")||r||y.find("audio").get(0)?(document.getElementById("autoplay-".concat(A.id))&&(document.getElementById("autoplay-".concat(A.id)).style.display="none"),document.getElementById("videoReplace-".concat(A.id))&&(document.getElementById("videoReplace-".concat(A.id)).style.display="none")):(document.getElementById("autoplay-".concat(A.id)).style.display="",document.getElementById("videoReplace-".concat(A.id)).style.display=""),A.popups.show("video.edit",a,n,t.outerHeight(),!0)}}function o(e){if(e)return A.popups.onRefresh("video.insert",h),A.popups.onHide("video.insert",X),!0;var t="";A.opts.videoUpload||-1===A.opts.videoInsertButtons.indexOf("videoUpload")||A.opts.videoInsertButtons.splice(A.opts.videoInsertButtons.indexOf("videoUpload"),1);var a=A.button.buildList(A.opts.videoInsertButtons);""!==a&&(t='
    '+a+"
    ");var n,i="",r=A.opts.videoInsertButtons.indexOf("videoUpload"),o=A.opts.videoInsertButtons.indexOf("videoByURL"),s=A.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=o){n=" fr-active",(r
    ').concat('','
    ")}var l="";0<=s&&(n=" fr-active",(r
    "));var c="";0<=r&&(n=" fr-active",(s').concat(A.language.translate("Drop video"),"
    (").concat(A.language.translate("or click"),')
    '));var d={buttons:t,by_url_layer:i,embed_layer:l,upload_layer:c,progress_bar:'

    Uploading

    '},f=A.popups.create("video.insert",d);return function p(n){A.events.$on(n,"dragover dragenter",".fr-video-upload-layer",function(){return T(this).addClass("fr-drop"),!1},!0),A.events.$on(n,"dragleave dragend",".fr-video-upload-layer",function(){return T(this).removeClass("fr-drop"),!1},!0),A.events.$on(n,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),T(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=n.data("instance")||A;a.events.disableBlur(),a.video.upload(t.files),a.events.enableBlur()}},!0),A.helpers.isIOS()&&A.events.$on(n,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){T(this).trigger("click")},!0);A.events.$on(n,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||A;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}T(this).val("")},!0)}(f),f}function l(e){A.events.focus(!0),A.selection.restore();var t=!1;y&&(j(),t=!0),A.html.insert(''.concat(e,""),!1,A.opts.videoSplitHTML),A.popups.hide("video.insert");var a=A.$el.find(".fr-jiv");a.removeClass("fr-jiv"),a.toggleClass("fr-rv",A.opts.videoResponsive),Q(a,A.opts.videoDefaultDisplay,A.opts.videoDefaultAlign),a.toggleClass("fr-draggable",A.opts.videoMove),A.events.trigger(t?"video.replaced":"video.inserted",[a])}function m(){var e=T(this);A.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),E(e.parent()),A.events.trigger("video.loaded",[e.parent()])}function S(s,e,c,d,f){A.edit.off(),v("Loading video"),e&&(s=A.helpers.sanitizeURL(s));var p=function p(){var e,t;if(d){A.undo.canDo()||d.find("video").hasClass("fr-uploading")||A.undo.saveStep();var a=d.find("video").data("fr-old-src"),n=d.data("fr-replaced");d.data("fr-replaced",!1),A.$wp?((e=d.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),a&&d.find("video").attr("src",a),d.replaceWith(e)):e=d;for(var i=e.find("video").get(0).attributes,r=0;r"+A.language.translate("Your browser does not support HTML5 video.")+"");o.toggleClass("fr-draggable",A.opts.videoMove),A.edit.on(),A.events.focus(!0),A.selection.restore(),A.undo.saveStep(),A.opts.videoSplitHTML?A.markers.split():A.markers.insert();A.html.wrap();var s=A.$el.find(".fr-marker");A.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent());s.replaceWith(o),A.selection.clear(),o.find("video").get(0).readyState>o.find("video").get(0).HAVE_FUTURE_DATA||A.helpers.isIOS()?a.call(o.find("video").get(0)):o.find("video").on("canplaythrough load",a);return o}(s,c,m),N(),A.undo.saveStep(),A.events.trigger("video.inserted",[e,f])};_("Loading video"),p()}function _(e){var t=A.popups.get("video.insert");if(t||(t=o()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),y){var a=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));A.popups.setContainer("video.insert",A.$sc);var n=a.offset().left,i=a.offset().top+a.height();A.popups.show("video.insert",n,i,a.outerHeight())}void 0===e&&v(A.language.translate("Uploading"),0)}function c(e){var t=A.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||A.$el.find("video.fr-error").length)){if(A.events.focus(),A.$el.find("video.fr-error").length&&(A.$el.find("video.fr-error").parent().remove(),A.undo.saveStep(),A.undo.run(),A.undo.dropRedo()),!A.$wp&&y){var a=y;U(!0),A.selection.setAfter(a.find("video").get(0)),A.selection.restore()}A.popups.hide("video.insert")}}function v(e,t){var a=A.popups.get("video.insert");if(a){var n=a.find(".fr-video-progress-bar-layer");n.find("h3").text(e+(t?" ".concat(t,"%"):"")),n.removeClass("fr-error"),t?(n.find("div").removeClass("fr-indeterminate"),n.find("div > span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function b(e){_();var t=A.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),A.events.disableBlur(),a.focus()}function E(e){t.call(e.get(0))}function L(e,t,a){v("Loading video");var n=this.status,i=this.response,r=this.responseXML,o=this.responseText;try{if(A.opts.videoUploadToS3||A.opts.videoUploadToAzure)if(201==n){var s;if(A.opts.videoUploadToAzure){if(!1===A.events.trigger("video.uploadedToAzure",[this.responseURL,a,i],!0))return A.edit.on(),!1;s=t}else s=function c(e){try{var t=T(e).find("Location").text(),a=T(e).find("Key").text();return!1===A.events.trigger("video.uploadedToS3",[t,a,e],!0)?(A.edit.on(),!1):t}catch(n){return z(g,e),!1}}(r);s&&S(s,!1,[],e,i||r)}else z(g,i||r);else if(200<=n&&n<300){var l=function d(e){try{if(!1===A.events.trigger("video.uploaded",[e],!0))return A.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(z(p,e),!1)}catch(a){return z(g,e),!1}}(o);l&&S(l.link,!1,l,e,i||o)}else z(u,i||o)}catch(f){z(g,i||o)}}function I(){z(g,this.response||this.responseText||this.responseXML)}function x(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;v(A.language.translate("Uploading"),t)}}function k(){A.edit.on(),c(!0)}function O(e){if(!A.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),a=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!a)return!1;if("mousedown"==e.type){var n=A.$oel.get(0).ownerDocument,i=n.defaultView||n.parentWindow,r=!1;try{r=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(o){}r&&i.frameElement&&(t+=A.helpers.getPX(T(i.frameElement).offset().left)+i.frameElement.clientLeft,a=e.clientY+A.helpers.getPX(T(i.frameElement).offset().top)+i.frameElement.clientTop)}A.undo.canDo()||A.undo.saveStep(),(d=T(this)).data("start-x",t),d.data("start-y",a),s.show(),A.popups.hideAll(),W()}function F(e){if(!A.core.sameInstance(f))return!0;if(d){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),a=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!a)return!1;var n=d.data("start-x"),i=d.data("start-y");d.data("start-x",t),d.data("start-y",a);var r=t-n,o=a-i,s=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),l=s.width(),c=s.height();(d.hasClass("fr-hnw")||d.hasClass("fr-hsw"))&&(r=0-r),(d.hasClass("fr-hnw")||d.hasClass("fr-hne"))&&(o=0-o),s.css("width",l+r),s.css("height",c+o),s.removeAttr("width"),s.removeAttr("height"),P()}}function D(e){if(!A.core.sameInstance(f))return!0;d&&y&&(e&&e.stopPropagation(),d=null,s.hide(),P(),r(),A.undo.saveStep())}function M(e){return'
    ')}function B(e,t,a,n){return e.pageX=t,e.pageY=t,O.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,n)),e.pageY=e.pageY+a*Math.floor(Math.pow(1.1,n)),F.call(this,e),D.call(this,e),++n}function N(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("video, .fr-video > *")),a=[];for(e=0;eA.opts.videoMaxSize)return z(R),!1;if(A.opts.videoAllowedTypes.indexOf(a.type.replace(/video\//g,""))<0)return z(w),!1;if(A.drag_support.formdata&&(t=A.drag_support.formdata?new FormData:null),t){var n;if(!1!==A.opts.videoUploadToS3)for(n in t.append("key",A.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",a.type),A.opts.videoUploadToS3.params)A.opts.videoUploadToS3.params.hasOwnProperty(n)&&t.append(n,A.opts.videoUploadToS3.params[n]);for(n in A.opts.videoUploadParams)A.opts.videoUploadParams.hasOwnProperty(n)&&t.append(n,A.opts.videoUploadParams[n]);t.append(A.opts.videoUploadParam,a);var i,r,o=A.opts.videoUploadURL;A.opts.videoUploadToS3&&(o=A.opts.videoUploadToS3.uploadURL?A.opts.videoUploadToS3.uploadURL:"https://".concat(A.opts.videoUploadToS3.region,".amazonaws.com/").concat(A.opts.videoUploadToS3.bucket));var s=A.opts.videoUploadMethod;A.opts.videoUploadToAzure&&(o=A.opts.videoUploadToAzure.uploadURL?"".concat(A.opts.videoUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(A.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.videoUploadToAzure.container,"/").concat(a.name)),i=o,A.opts.videoUploadToAzure.SASToken&&(o+=A.opts.videoUploadToAzure.SASToken),s="PUT");var l=A.core.getXHR(o,s);if(A.opts.videoUploadToAzure){var c=(new Date).toUTCString();if(!A.opts.videoUploadToAzure.SASToken&&A.opts.videoUploadToAzure.accessKey){var d=A.opts.videoUploadToAzure.account,f=A.opts.videoUploadToAzure.container;if(A.opts.videoUploadToAzure.uploadURL){var p=A.opts.videoUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+d+"/"+f+"/"+a.name),h=s+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+u+"\n"+g,m=A.cryptoJSPlugin.cryptoJS.HmacSHA256(h,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.videoUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;r=m,l.setRequestHeader("Authorization",v)}for(n in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",a.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.videoUploadParams)A.opts.videoUploadParams.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.videoUploadParams[n]);for(n in A.opts.videoUploadToAzure.params)A.opts.videoUploadToAzure.params.hasOwnProperty(n)&&l.setRequestHeader(n,A.opts.videoUploadToAzure.params[n])}l.onload=function(){L.call(l,y,i,r)},l.onerror=I,l.upload.onprogress=x,l.onabort=k,_(),A.events.disableBlur(),A.edit.off(),A.events.enableBlur();var b=A.popups.get("video.insert");b&&T(b.off("abortUpload")).on("abortUpload",function(){4!=l.readyState&&l.abort()}),l.send(A.opts.videoUploadToAzure?a:t)}}}function z(e,t){A.edit.on(),y&&y.find("video").addClass("fr-error"),b(A.language.translate("Something went wrong. Please try again.")),A.events.trigger("video.error",[{code:e,message:i[e]},t])}function G(){if(y){var e=A.popups.get("video.size"),t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function Y(e){if(e)return A.popups.onRefresh("video.size",G),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.videoSizeButtons),"
    "),size_layer:'
    ")},a=A.popups.create("video.size",t);return A.events.$on(A.$wp,"scroll",function(){y&&A.popups.isVisible("video.size")&&(A.events.disableBlur(),E(y))}),a}function V(e){if(void 0===e&&(e=y),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function q(e){void 0===e&&(e=y);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function j(){if(y&&!1!==A.events.trigger("video.beforeRemove",[y])){var e=y;A.popups.hideAll(),U(!0),A.selection.setBefore(e.get(0))||A.selection.setAfter(e.get(0)),e.remove(),A.selection.restore(),A.html.fillEmptyBlocks()}}function X(){c()}function Q(e,t,a){!A.opts.htmlUntouched&&A.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(a[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==a?e.css({"float":"none"}):"left"==a?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==a?e.css({textAlign:"left"}):"right"==a?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function J(){var e=A.$el.find("video").filter(function(){return 0===T(this).parents("span.fr-video").length});if(0!=e.length){e.wrap(T(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),A.$el.find("embed, iframe").filter(function(){if(A.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0*").first().replaceWith(A.icon.create("video-align-".concat(V())))},refreshAlignOnShow:function fe(e,t){y&&t.find('.fr-command[data-param1="'.concat(V(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function pe(e){y.removeClass("fr-dvi fr-dvb"),!A.opts.htmlUntouched&&A.opts.useClasses?"inline"==e?y.addClass("fr-dvi"):"block"==e&&y.addClass("fr-dvb"):Q(y,e,V()),ee(),P(),r(),A.selection.clear()},refreshDisplayOnShow:function ue(e,t){y&&t.find('.fr-command[data-param1="'.concat(q(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:j,hideProgressBar:c,showSizePopup:function ge(){var e=A.popups.get("video.size");e||(e=Y()),c(),A.popups.refresh("video.size"),A.popups.setContainer("video.size",A.$sc);var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),a=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.height();A.popups.show("video.size",a,n,t.height(),!0)},replace:function he(){var e=A.popups.get("video.insert");e||(e=o()),A.popups.isVisible("video.insert")||(c(),A.popups.refresh("video.insert"),A.popups.setContainer("video.insert",A.$sc));var t=y.offset().left+y.outerWidth()/2,a=y.offset().top+y.height();A.popups.show("video.insert",t,a,y.outerHeight(),!0)},back:function e(){y?(A.events.disableBlur(),y[0].click()):(A.events.disableBlur(),A.selection.restore(),A.events.enableBlur(),A.popups.hide("video.insert"),A.toolbar.showInline())},setSize:function me(e,t){if(y){var a=A.popups.get("video.size"),n=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));n.css("width",e||a.find('input[name="width"]').val()),n.css("height",t||a.find('input[name="height"]').val()),n.get(0).style.width&&n.removeAttr("width"),n.get(0).style.height&&n.removeAttr("height"),a.find("input:focus").blur(),setTimeout(function(){y.trigger("click")},A.helpers.isAndroid()?50:0)}},get:function ve(){return y},showProgressBar:_,_editVideo:E,setAutoplay:function be(){var e;if(y.find("iframe, embed, audio").get(0))(e=y.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(Z("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(Z("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=y.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))Z("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{Z("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),"autoplay",e.get(0).outerHTML.slice(t)].join("")}}}},It.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),It.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),It.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),It.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),It.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),It.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),It.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),It.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),It.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),It.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),It.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),It.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),It.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),It.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),It.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),It.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),It.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),It.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),It.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),It.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),It.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),It.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),It.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),It.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),It.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),It.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),It.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),It.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),It.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),It.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Object.assign(It.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),It.PLUGINS.wordPaste=function(y){var o,i,c=y.$,s="word_paste",p={};function t(e){var t=y.opts.wordAllowedStyleProps;e||(y.opts.wordAllowedStyleProps=[]),0===i.indexOf("")&&(i=""+i+"
    "),i=r(i=i.replace(/([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var a="",n=0;n++/gi,"")}function E(e,t){for(var a=document.createElement(t),n=0;n').remove()}}}}function m(e,t){var a=e.tagName,n=a.toLowerCase();e.firstElementChild&&("I"===e.firstElementChild.tagName?E(e.firstElementChild,"em"):"B"===e.firstElementChild.tagName&&E(e.firstElementChild,"strong"));if(-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(a))return T(e),!1;for(var i=["META","LINK","XML","ST1:","O:","W:","FONT"],r=0;r");for(var o=a.firstElementChild,s=1===a.children.length;o;)"P"!==o.tagName||x(o)||s&&C(o),o=o.nextElementSibling;if(t){var l=a.getAttribute("class");if(l){var c=(l=R(l)).match(/xl[0-9]+/gi);if(c){var d="."+c[0];t[d]&&w(a,t[d])}}t.td&&w(a,t.td)}var f=a.getAttribute("style");f&&(f=R(f))&&";"!==f.slice(-1)&&(f+=";");var p=a.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var g=null;if(f){var h=f.match(/text-align:.+?[; "]{1,1}/gi);h&&(g=h[h.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===g&&(g=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=a.getAttribute("colspan"),E=a.getAttribute("rowspan");b&&a.setAttribute("colspan",b),E&&a.setAttribute("rowspan",E),p&&(a.style["vertical-align"]=p),g&&(a.style["text-align"]=g),m&&(a.style["background-color"]=m),r&&a.setAttribute("width",r),a=a.nextElementSibling}for(a=e.firstElementChild;a;)r=a.getAttribute("width"),i?a.removeAttribute("width"):a.setAttribute("width",100*parseInt(r,10)/n+"%"),a=a.nextElementSibling}(e,t),"A"!==a||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==a&&e.getAttribute("href")&&e.querySelector("img"))for(var m=e.querySelectorAll("span"),v=0;v"),"TABLE"===a&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!==e.getAttribute("style").toLowerCase().indexOf("mso")){var b=R(e.getAttribute("style"));(b=b.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",b):e.removeAttribute("style")}return!0}function r(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function d(e){for(var t=e.split("v:shape"),a=1;a ul, ul > ol, ol > ul, ol > ol"),o=r.length-1;0<=o;o--)r[o].previousElementSibling&&"LI"===r[o].previousElementSibling.tagName&&r[o].previousElementSibling.appendChild(r[o]);u(i,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/
    (\n|\r)/gi,"
    "),!1;if(e.nodeType===Node.ELEMENT_NODE){if(x(e)){var t=e.parentNode,a=e.previousSibling,n=function I(e,t,a,n){var i,r,o=/[0-9a-zA-Z]./gi,s=!1,l=navigator.userAgent.toLowerCase();-1!=l.indexOf("safari")&&(l=-1':"<"+f+' style="margin-left:'+E+v+';">',"list-style-type: upper-alpha;"==p){var A=g.charCodeAt(0)-64;h=p?"<"+f+m+' start="'+A+'" style = "'+p+" margin-left:"+E+v+';">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var y=g.charCodeAt(0)-96;h=p?"<"+f+m+' start="'+y+'" style = "'+p+"margin-left:"+E+v+';">':"<"+f+">"}else h=p?"<"+f+m+' style = "'+p+";margin-left:"+E+v+';">':"<"+f+' style="margin-left:'+E+v+';">';else if("list-style-type: upper-alpha;"==p){var T=g.charCodeAt(0)-64;h=p?"<"+f+m+' style = "'+p+' start="'+T+'">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var C=g.charCodeAt(0)-96;h=p?"<"+f+m+' style = "'+p+' start="'+C+'">':"<"+f+">"}else h=p?"<"+f+m+' style = "'+p+'">':"<"+f+">";for(var R=!1;e;){if(!x(e)){if(e.outerHTML&&0"):(1==w&&(h+="",R=!0,r=null),h+=(d=I(e,t,w,e.style.marginLeft)).el.outerHTML,e=d.currentNode);var _=e&&e.nextElementSibling;if(_&&(r=_.previousElementSibling),e&&!x(e)){if(e.outerHTML&&0");var L=document.createElement("div");return L.innerHTML=h,{el:L,currentNode:e}}(e,s).el,i=null;return(i=a?a.nextSibling:t.firstChild)?t.insertBefore(n,i):t.appendChild(n),!1}return"FONT"===e.tagName&&s["."+e.getAttribute("class")]&&(e=E(e,"span")),m(e,s)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1",t=function i(){var e='
    ';return e+='

    '+y.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

    ",e+='
    ",e+="
    "}(),a=y.modals.create(s,e,t),n=a.$body;o=a.$modal,a.$modal.addClass("fr-middle"),y.events.bindClick(n,"button.fr-remove-word",function(){var e=o.data("instance")||y;e.wordPaste.clean()}),y.events.bindClick(n,"button.fr-keep-word",function(){var e=o.data("instance")||y;e.wordPaste.clean(!0)}),y.events.$on(c(y.o_win),"resize",function(){y.modals.resize(s)})}y.modals.show(s),y.modals.resize(s)}():t(y.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:r}}}); \ No newline at end of file diff --git a/webroot/js/plugins/align.min.js b/webroot/js/plugins/align.min.js index 10213547..f9906243 100644 --- a/webroot/js/plugins/align.min.js +++ b/webroot/js/plugins/align.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(n.FroalaEditor)}(this,function(i){"use strict";(i=i&&i.hasOwnProperty("default")?i["default"]:i).PLUGINS.align=function(a){var l=a.$;return{apply:function r(n){var t=a.selection.element();if(l(t).parents(".fr-img-caption").length)l(t).css("text-align",n);else{a.selection.save(),a.html.wrap(!0,!0,!0,!0),a.selection.restore();for(var e=a.selection.blocks(),i=0;i *").first().replaceWith(a.icon.create("align-".concat(e)))}},refreshOnShow:function o(n,t){var e=a.selection.blocks();if(e.length){var i=a.helpers.getAlignment(l(e[0]));t.find('a.fr-command[data-param1="'.concat(i,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function s(n){var t=a.selection.blocks();if(t.length){var e=a.helpers.getAlignment(l(t[0]));e=e.charAt(0).toUpperCase()+e.slice(1),"align".concat(e)===n.attr("data-cmd")&&n.addClass("fr-active")}}}},i.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),i.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),i.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),i.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var n='"},callback:function(n,t){this.align.apply(t)},refresh:function(n){this.align.refresh(n)},refreshOnShow:function(n,t){this.align.refreshOnShow(n,t)},plugin:"align"}),i.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"}),i.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"}),i.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"}),i.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"})}); \ No newline at end of file diff --git a/webroot/js/plugins/char_counter.min.js b/webroot/js/plugins/char_counter.min.js index add0a269..e9d7fad8 100644 --- a/webroot/js/plugins/char_counter.min.js +++ b/webroot/js/plugins/char_counter.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],e):e(t.FroalaEditor)}(this,function(i){"use strict";i=i&&i.hasOwnProperty("default")?i["default"]:i,Object.assign(i.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),i.PLUGINS.charCounter=function(n){var r,e=n.$,o=function o(){return(n.el.textContent||"").replace(/\u200B/g,"").length};function t(t){if(n.opts.charCounterMax<0)return!0;if(o()").html(t).text().length+o()<=n.opts.charCounterMax?t:(n.events.trigger("charCounter.exceeded"),"")}function c(){if(n.opts.charCounterCount){var t=o()+(0n&&(n=t.line_indent_level)),{mode:e,parent:t,last_text:t?t.last_text:"",last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:t?t.line_indent_level:n,start_line_index:c.get_line_number(),ternary_depth:0}}for(p={TK_START_EXPR:function L(){O();var t=Z.Expression;if("["===l.text){if("TK_WORD"===a||")"===h.last_text)return"TK_RESERVED"===a&&Y(h.last_text,s.line_starters)&&(c.space_before_token=!0),v(t),m(),b(),void(d.space_in_paren&&(c.space_before_token=!0));t=Z.ArrayLiteral,S(h.mode)&&("["!==h.last_text&&(","!==h.last_text||"]"!==_&&"}"!==_)||d.keep_array_indentation||K())}else"TK_RESERVED"===a&&"for"===h.last_text?t=Z.ForInitializer:"TK_RESERVED"===a&&Y(h.last_text,["if","while"])&&(t=Z.Conditional);" "===h.last_text||"TK_START_BLOCK"===a?K():"TK_END_EXPR"===a||"TK_START_EXPR"===a||"TK_END_BLOCK"===a||"."===h.last_text?w(l.wanted_newline):"TK_RESERVED"===a&&"("===l.text||"TK_WORD"===a||"TK_OPERATOR"===a?"TK_RESERVED"===a&&("function"===h.last_word||"typeof"===h.last_word)||"*"===h.last_text&&"function"===_?d.space_after_anon_function&&(c.space_before_token=!0):"TK_RESERVED"!==a||!Y(h.last_text,s.line_starters)&&"catch"!==h.last_text||d.space_before_conditional&&(c.space_before_token=!0):c.space_before_token=!0;"("===l.text&&"TK_RESERVED"===a&&"await"===h.last_word&&(c.space_before_token=!0);"("===l.text&&("TK_EQUALS"!==a&&"TK_OPERATOR"!==a||y()||w());v(t),m(),d.space_in_paren&&(c.space_before_token=!0);b()},TK_END_EXPR:function I(){for(;h.mode===Z.Statement;)k();h.multiline_frame&&w("]"===l.text&&S(h.mode)&&!d.keep_array_indentation);d.space_in_paren&&("TK_START_EXPR"!==a||d.space_in_empty_paren?c.space_before_token=!0:(c.trim(),c.space_before_token=!1));"]"===l.text&&d.keep_array_indentation?(m(),k()):(k(),m());c.remove_redundant_indentation(u),h.do_while&&u.mode===Z.Conditional&&(u.mode=Z.Expression,h.do_block=!1,h.do_while=!1)},TK_START_BLOCK:function V(){var t=D(1),e=D(2);e&&(":"===e.text&&Y(t.type,["TK_STRING","TK_WORD","TK_RESERVED"])||Y(t.text,["get","set"])&&Y(e.type,["TK_WORD","TK_RESERVED"]))?Y(_,["class","interface"])?v(Z.BlockStatement):v(Z.ObjectLiteral):v(Z.BlockStatement);var n=!t.comments_before.length&&"}"===t.text&&"function"===h.last_word&&"TK_END_EXPR"===a;"expand"===d.brace_style||"none"===d.brace_style&&l.wanted_newline?"TK_OPERATOR"!==a&&(n||"TK_EQUALS"===a||"TK_RESERVED"===a&&N(h.last_text)&&"else"!==h.last_text)?c.space_before_token=!0:K(!1,!0):"TK_OPERATOR"!==a&&"TK_START_EXPR"!==a?"TK_START_BLOCK"===a?K():c.space_before_token=!0:S(u.mode)&&","===h.last_text&&("}"===_?c.space_before_token=!0:K());m(),b()},TK_END_BLOCK:function P(){for(;h.mode===Z.Statement;)k();var t="TK_START_BLOCK"===a;"expand"===d.brace_style?t||K():t||(S(h.mode)&&d.keep_array_indentation?(d.keep_array_indentation=!1,K(),d.keep_array_indentation=!0):K());k(),m()},TK_WORD:C,TK_RESERVED:C,TK_SEMICOLON:function B(){O()&&(c.space_before_token=!1);for(;h.mode===Z.Statement&&!h.if_block&&!h.do_block;)k();m()},TK_STRING:function j(){O()?c.space_before_token=!0:"TK_RESERVED"===a||"TK_WORD"===a?c.space_before_token=!0:"TK_COMMA"===a||"TK_START_EXPR"===a||"TK_EQUALS"===a||"TK_OPERATOR"===a?y()||w():K();m()},TK_EQUALS:function M(){O();h.declaration_statement&&(h.declaration_assignment=!0);c.space_before_token=!0,m(),c.space_before_token=!0},TK_OPERATOR:function U(){O();if("TK_RESERVED"===a&&N(h.last_text))return c.space_before_token=!0,void m();if("*"===l.text&&"TK_DOT"===a)return void m();if(":"===l.text&&h.in_case)return h.case_body=!0,b(),m(),K(),void(h.in_case=!1);if("::"===l.text)return void m();"TK_OPERATOR"===a&&w();var t=!0,e=!0;Y(l.text,["--","++","!","~"])||Y(l.text,["-","+"])&&(Y(a,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||Y(h.last_text,s.line_starters)||","===h.last_text)?(e=t=!1,!l.wanted_newline||"--"!==l.text&&"++"!==l.text||K(!1,!0)," "===h.last_text&&A(h.mode)&&(t=!0),"TK_RESERVED"===a?t=!0:"TK_END_EXPR"===a?t=!("]"===h.last_text&&("--"===l.text||"++"===l.text)):"TK_OPERATOR"===a&&(t=Y(l.text,["--","-","++","+"])&&Y(h.last_text,["--","-","++","+"]),Y(l.text,["+","-"])&&Y(h.last_text,["--","++"])&&(e=!0)),h.mode!==Z.BlockStatement&&h.mode!==Z.Statement||"{"!==h.last_text&&" "!==h.last_text||K()):":"===l.text?0===h.ternary_depth?t=!1:h.ternary_depth-=1:"?"===l.text?h.ternary_depth+=1:"*"===l.text&&"TK_RESERVED"===a&&"function"===h.last_text&&(e=t=!1);c.space_before_token=c.space_before_token||t,m(),c.space_before_token=e},TK_COMMA:function W(){if(h.declaration_statement)return A(h.parent.mode)&&(h.declaration_assignment=!1),m(),void(h.declaration_assignment?K(h.declaration_assignment=!1,!0):(c.space_before_token=!0,d.comma_first&&w()));m(),h.mode===Z.ObjectLiteral||h.mode===Z.Statement&&h.parent.mode===Z.ObjectLiteral?(h.mode===Z.Statement&&k(),K()):(c.space_before_token=!0,d.comma_first&&w())},TK_BLOCK_COMMENT:function z(){if(c.raw)return c.add_raw_token(l),void(l.directives&&"end"===l.directives.preserve&&(d.test_output_raw||(c.raw=!1)));if(l.directives)return K(!1,!0),m(),"start"===l.directives.preserve&&(c.raw=!0),void K(!1,!0);if(!Q.newline.test(l.text)&&!l.wanted_newline)return c.space_before_token=!0,m(),void(c.space_before_token=!0);var t,e=function a(t){var e;t=t.replace(/\x0d/g,"");var n=[];e=t.indexOf("\n");for(;-1!==e;)n.push(t.substring(0,e)),t=t.substring(e+1),e=t.indexOf("\n");t.length&&n.push(t);return n}(l.text),n=!1,i=!1,r=l.whitespace_before,s=r.length;K(!1,!0),1s?m(e[t].substring(s)):c.add_token(e[t]);K(!1,!0)},TK_COMMENT:function G(){l.wanted_newline?K(!1,!0):c.trim(!0);c.space_before_token=!0,m(),K(!1,!0)},TK_DOT:function X(){O();"TK_RESERVED"===a&&N(h.last_text)?c.space_before_token=!0:w(")"===h.last_text&&d.break_chained_methods);m()},TK_UNKNOWN:function F(){m(),"\n"===l.text[l.text.length-1]&&K()},TK_EOF:function $(){for(;h.mode===Z.Statement;)k()}},d={},(t=t||{}).braces_on_own_line!==undefined&&(d.brace_style=t.braces_on_own_line?"expand":"collapse"),d.brace_style=t.brace_style?t.brace_style:d.brace_style?d.brace_style:"collapse","expand-strict"===d.brace_style&&(d.brace_style="expand"),d.indent_size=t.indent_size?parseInt(t.indent_size,10):4,d.indent_char=t.indent_char?t.indent_char:" ",d.eol=t.eol?t.eol:"\n",d.preserve_newlines=t.preserve_newlines===undefined||t.preserve_newlines,d.break_chained_methods=t.break_chained_methods!==undefined&&t.break_chained_methods,d.max_preserve_newlines=t.max_preserve_newlines===undefined?0:parseInt(t.max_preserve_newlines,10),d.space_in_paren=t.space_in_paren!==undefined&&t.space_in_paren,d.space_in_empty_paren=t.space_in_empty_paren!==undefined&&t.space_in_empty_paren,d.jslint_happy=t.jslint_happy!==undefined&&t.jslint_happy,d.space_after_anon_function=t.space_after_anon_function!==undefined&&t.space_after_anon_function,d.keep_array_indentation=t.keep_array_indentation!==undefined&&t.keep_array_indentation,d.space_before_conditional=t.space_before_conditional===undefined||t.space_before_conditional,d.unescape_strings=t.unescape_strings!==undefined&&t.unescape_strings,d.wrap_line_length=t.wrap_line_length===undefined?0:parseInt(t.wrap_line_length,10),d.e4x=t.e4x!==undefined&&t.e4x,d.end_with_newline=t.end_with_newline!==undefined&&t.end_with_newline,d.comma_first=t.comma_first!==undefined&&t.comma_first,d.test_output_raw=t.test_output_raw!==undefined&&t.test_output_raw,d.jslint_happy&&(d.space_after_anon_function=!0),t.indent_with_tabs&&(d.indent_char="\t",d.indent_size=1),d.eol=d.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),o="";0d.max_preserve_newlines&&(e=d.max_preserve_newlines),d.preserve_newlines&&1=d.wrap_line_length&&K(!1,!0)}}function K(t,e){if(!e&&" "!==h.last_text&&","!==h.last_text&&"="!==h.last_text&&"TK_OPERATOR"!==a)for(;h.mode===Z.Statement&&!h.if_block&&!h.do_block;)k();c.add_new_line(t)&&(h.multiline_frame=!0)}function R(){c.just_added_newline()&&(d.keep_array_indentation&&S(h.mode)&&l.wanted_newline?(c.current_line.push(l.whitespace_before),c.space_before_token=!1):c.set_indent(h.indentation_level)&&(h.line_indent_level=h.indentation_level))}function m(t){c.raw?c.add_raw_token(l):(d.comma_first&&"TK_COMMA"===a&&c.just_added_newline()&&","===c.previous_line.last()&&(c.previous_line.pop(),R(),c.add_token(","),c.space_before_token=!0),t=t||l.text,R(),c.add_token(t))}function b(){h.indentation_level+=1}function v(t){u=h?(e.push(h),h):E(null,t),h=E(u,t)}function S(t){return t===Z.ArrayLiteral}function A(t){return Y(t,[Z.Expression,Z.ForInitializer,Z.Conditional])}function k(){0=f.length?null:f[e]}function C(){("TK_RESERVED"===l.type&&h.mode!==Z.ObjectLiteral&&Y(l.text,["set","get"])&&(l.type="TK_WORD"),"TK_RESERVED"===l.type&&h.mode===Z.ObjectLiteral)&&(":"===D(1).text&&(l.type="TK_WORD"));if(O()||!l.wanted_newline||A(h.mode)||"TK_OPERATOR"===a&&"--"!==h.last_text&&"++"!==h.last_text||"TK_EQUALS"===a||!d.preserve_newlines&&"TK_RESERVED"===a&&Y(h.last_text,["const","let","const","set","get"])||K(),h.do_block&&!h.do_while){if("TK_RESERVED"===l.type&&"while"===l.text)return c.space_before_token=!0,m(),c.space_before_token=!0,void(h.do_while=!0);K(),h.do_block=!1}if(h.if_block)if(h.else_block||"TK_RESERVED"!==l.type||"else"!==l.text){for(;h.mode===Z.Statement;)k();h.if_block=!1,h.else_block=!1}else h.else_block=!0;if("TK_RESERVED"===l.type&&("case"===l.text||"default"===l.text&&h.in_case_statement))return K(),(h.case_body||d.jslint_happy)&&(!function t(){0h.parent.indentation_level)&&(h.indentation_level-=1)}(),h.case_body=!1),m(),h.in_case=!0,void(h.in_case_statement=!0);if("TK_RESERVED"===l.type&&"function"===l.text&&((Y(h.last_text,["}"," "])||c.just_added_newline()&&!Y(h.last_text,["[","{",":","=",","]))&&(c.just_added_blankline()||l.comments_before.length||(K(),K(!0))),"TK_RESERVED"===a||"TK_WORD"===a?"TK_RESERVED"===a&&Y(h.last_text,["get","set","new","return","export","async"])?c.space_before_token=!0:"TK_RESERVED"===a&&"default"===h.last_text&&"export"===_?c.space_before_token=!0:K():"TK_OPERATOR"===a||"="===h.last_text?c.space_before_token=!0:(h.multiline_frame||!A(h.mode)&&!S(h.mode))&&K()),"TK_COMMA"!==a&&"TK_START_EXPR"!==a&&"TK_EQUALS"!==a&&"TK_OPERATOR"!==a||y()||w(),"TK_RESERVED"===l.type&&Y(l.text,["function","get","set"]))return m(),void(h.last_word=l.text);(n="NONE","TK_END_BLOCK"===a?"TK_RESERVED"===l.type&&Y(l.text,["else","catch","finally"])?"expand"===d.brace_style||"end-expand"===d.brace_style||"none"===d.brace_style&&l.wanted_newline?n="NEWLINE":(n="SPACE",c.space_before_token=!0):n="NEWLINE":"TK_SEMICOLON"===a&&h.mode===Z.BlockStatement?n="NEWLINE":"TK_SEMICOLON"===a&&A(h.mode)?n="SPACE":"TK_STRING"===a?n="NEWLINE":"TK_RESERVED"===a||"TK_WORD"===a||"*"===h.last_text&&"function"===_?n="SPACE":"TK_START_BLOCK"===a?n="NEWLINE":"TK_END_EXPR"===a&&(c.space_before_token=!0,n="NEWLINE"),"TK_RESERVED"===l.type&&Y(l.text,s.line_starters)&&")"!==h.last_text&&(n="else"===h.last_text||"export"===h.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===l.type&&Y(l.text,["else","catch","finally"]))?"TK_END_BLOCK"!==a||"expand"===d.brace_style||"end-expand"===d.brace_style||"none"===d.brace_style&&l.wanted_newline?K():(c.trim(!0),"}"!==c.current_line.last()&&K(),c.space_before_token=!0):"NEWLINE"===n?"TK_RESERVED"===a&&N(h.last_text)?c.space_before_token=!0:"TK_END_EXPR"!==a?"TK_START_EXPR"===a&&"TK_RESERVED"===l.type&&Y(l.text,["const","let","const"])||":"===h.last_text||("TK_RESERVED"===l.type&&"if"===l.text&&"else"===h.last_text?c.space_before_token=!0:K()):"TK_RESERVED"===l.type&&Y(l.text,s.line_starters)&&")"!==h.last_text&&K():h.multiline_frame&&S(h.mode)&&","===h.last_text&&"}"===_?K():"SPACE"===n&&(c.space_before_token=!0);m(),h.last_word=l.text,"TK_RESERVED"===l.type&&"do"===l.text&&(h.do_block=!0),"TK_RESERVED"===l.type&&"if"===l.text&&(h.if_block=!0)}a="TK_START_BLOCK",_="",(c=new q(o,T)).raw=d.test_output_raw,e=[],v(Z.BlockStatement),this.beautify=function(){var t,e;for(s=new tt(i,d,o),f=s.tokenize(),r=0;t=D();){for(var n=0;n=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(t),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(t){for(var e=0;e < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>".split(" ");this.line_starters="continue,try,throw,return,const,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var I,V,P,B,j,M,U=this.line_starters.concat(["do","in","else","get","set","new","catch","finally","typeof","yield","async","await"]),W=/([\s\S]*?)((?:\*\/)|$)/g,z=/([^\n\r\u2028\u2029]*)/g,G=/\/\* beautify( \w+[:]\w+)+ \*\//g,X=/ (\w+)[:](\w+)/g,F=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,$=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function a(){var t,e,n=[];if(I=0,V="",M<=j)return["","TK_EOF"];e=B.length?B[B.length-1]:new J("TK_START_BLOCK","{");var i=k.charAt(j);for(j+=1;Y(i,O);){if(Q.newline.test(i)?"\n"===i&&"\r"===k.charAt(j-2)||(I+=1,n=[]):n.push(i),M<=j)return["","TK_EOF"];i=k.charAt(j),j+=1}if(n.length&&(V=n.join("")),N.test(i)){var r=!0,s=!0,a=N;for("0"===i&&j/))&&("TK_RESERVED"===e.type&&Y(e.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===e.type&&")"===e.text&&e.parent&&"TK_RESERVED"===e.parent.type&&Y(e.parent.text,["if","while","for"])||Y(e.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var h=i,u=!1,p=!1;if(t=i,"/"===h)for(var d=!1;j/g,T=k.slice(j-1),E=f.exec(T);if(E&&0===E.index){for(var g=E[2],x=0;E;){var w=!!E[1],K=E[2],R=!!E[E.length-1]||"![CDATA["===K.slice(0,8);if(K!==g||R||(w?--x:++x),x<=0)break;E=f.exec(T)}var m=E?E.index+E[0].length:T.length;return T=T.slice(0,m),j+=m-1,[T=T.replace(Q.lineBreak,"\n"),"TK_STRING"]}}else for(;j=this.wrap_line_length?(this.print_newline(!1,t),this.print_indentation(t)):(this.line_char_count++,t.push(" "))},this.get_content=function(){for(var t="",e=[];"<"!=this.input.charAt(this.pos);){if(this.pos>=this.input.length)return e.length?e.join(""):["","TK_EOF"];if(this.traverse_whitespace())this.space_or_wrap(e);else{if(g){var n=this.input.substr(this.pos,3);if("{{#"===n||"{{/"===n)break;if("{{!"===n)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}t=this.input.charAt(this.pos),this.pos++,this.line_char_count++,e.push(t)}}return e.length?e.join(""):""},this.get_contents_to=function(t){if(this.pos===this.input.length)return["","TK_EOF"];var e="",n=new RegExp(""),"igm");n.lastIndex=this.pos;var i=n.exec(this.input),r=i?i.index:this.input.length;return this.pos=this.input.length)return t&&(this.pos=o,this.line_char_count=c),r.length?r.join(""):["","TK_EOF"];if(i=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(i,this.Utils.whitespace))a=!0;else{if("'"!==i&&'"'!==i||(i+=this.get_unformatted(i),a=!0),"="===i&&(a=!1),r.length&&"="!=r[r.length-1]&&">"!=i&&a){if(this.space_or_wrap(r),a=!1,!_&&"force"===x&&"/"!=i){this.print_newline(!0,r),this.print_indentation(r);for(var l=0;l"!=i);var u,p,d=r.join("");u=-1!=d.indexOf(" ")?d.indexOf(" "):"{"===d[0]?d.indexOf("}"):d.indexOf(">"),p="<"!==d[0]&&g?"#"===d[2]?3:2:1;var f=d.substring(p,u).toLowerCase();return"/"===d.charAt(d.length-2)||this.Utils.in_array(f,this.Utils.single_token)?t||(this.tag_type="SINGLE"):g&&"{"===d[0]&&"else"===f?t||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(f,E)?(s=this.get_unformatted(""),d),r.push(s),this.pos,this.tag_type="SINGLE"):"script"===f&&(-1===d.search("type")||-1",i=!0):0===e.indexOf("",i=!0):0===e.indexOf("",i=!0):0===e.indexOf("\x3c!--")?(n="--\x3e",i=!0):0===e.indexOf("{{!")?(n="}}",i=!0):0===e.indexOf("",i=!0):0===e.indexOf("<%")&&(n="%>",i=!0)),r=this.input.charAt(this.pos),this.pos++;return e},this.get_unformatted=function(t,e){if(e&&-1!=e.toLowerCase().indexOf(t))return"";var n="",i="",r=0,s=!0;do{if(this.pos>=this.input.length)return i;if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace)){if(!s){this.line_char_count--;continue}if("\n"===n||"\r"===n){i+="\n",this.line_char_count=0;continue}}i+=n,this.line_char_count++,s=!0,g&&"{"===n&&i.length&&"{"===i[i.length-2]&&(r=(i+=this.get_unformatted("}}")).length)}while(-1===i.toLowerCase().indexOf(t,r));return i},this.get_token=function(){var t;if("TK_TAG_SCRIPT"!==this.last_token&&"TK_TAG_STYLE"!==this.last_token)return"CONTENT"===this.current_mode?"string"!=typeof(t=this.get_content())?t:[t,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(t=this.get_tag())?t:[t,"TK_TAG_".concat(this.tag_type)]:void 0;var e=this.last_token.substr(7);return"string"!=typeof(t=this.get_contents_to(e))?t:[t,"TK_".concat(e)]},this.get_full_indent=function(t){return(t=this.indent_level+t||0)<1?"":new Array(t+1).join(this.indent_string)},this.is_unformatted=function(t,e){if(!this.Utils.in_array(t,e))return!1;if("a"!=t.toLowerCase()||!this.Utils.in_array("a",e))return!0;var n=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(n&&!this.Utils.in_array(n,e))},this.printer=function(t,e,n,i,r){this.input=t||"",this.output=[],this.indent_character=e,this.indent_string="",this.indent_size=n,this.brace_style=r,this.indent_level=0,this.wrap_line_length=i;for(var s=this.line_char_count=0;s'),c.$wp.append(d),d.attr("dir",c.opts.direction),c.$box.hasClass("fr-basic")||(m=h('')),c.$box.append(m),c.events.bindClick(c.$box,"a.html-switch",function(){c.events.trigger("commands.before",["html"]),M(!1),c.events.trigger("commands.after",["html"])}));var e=function e(){return!p()};c.events.on("buttons.refresh",e),c.events.on("copy",e,!0),c.events.on("cut",e,!0),c.events.on("paste",e,!0),c.events.on("destroy",x,!0),c.events.on("html.set",function(){p()&&M(!0)}),c.events.on("codeView.update",g),c.events.on("codeView.toggle",function(){c.$box.hasClass("fr-code-view")&&M()}),c.events.on("form.submit",function(){p()&&(c.html.set(u()),c.events.trigger("contentChanged",[],!0))},!0)}(),!f&&c.opts.codeMirror?((f=c.opts.codeMirror.fromTextArea(d.get(0),c.opts.codeMirrorOptions)).on("blur",v),f.on("focus",w)):(c.events.$on(d,"keydown keyup change input",function(){c.opts.height?this.removeAttribute("rows"):(this.rows=1,0===this.value.length?this.style.height="auto":this.style.height="".concat(this.scrollHeight,"px"))}),c.events.$on(d,"blur",v),c.events.$on(d,"focus",w))),c.undo.saveStep(),c.html.cleanEmptyTags(),c.html.cleanWhiteTags(!0),c.core.hasFocus()&&(c.core.isEmpty()||(c.selection.save(),c.$el.find('.fr-marker[data-type="true"]').first().replaceWith('F'),c.$el.find('.fr-marker[data-type="false"]').last().replaceWith('F')));var t=c.html.get(!1,!0);c.$el.find("span.fr-tmp").remove(),c.$box.toggleClass("fr-code-view",!0);var r,o,n=!1;if(c.core.hasFocus()&&(n=!0,c.events.disableBlur(),c.$el.blur()),t=(t=t.replace(/F<\/span>/,"FROALA-SM")).replace(/F<\/span>/,"FROALA-EM"),c.codeBeautifier&&!t.includes("fr-embedly")&&(t=c.codeBeautifier.run(t,c.opts.codeBeautifierOptions)),f){r=t.indexOf("FROALA-SM"),(o=t.indexOf("FROALA-EM")) .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(h(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!0),e.addClass("fr-active").attr("aria-pressed",!0),!c.helpers.isMobile()&&c.opts.toolbarInline&&c.toolbar.hide()}function M(e){void 0===e&&(e=!p());var t=c.$tb.find('.fr-command[data-cmd="html"]');e?(c.popups.hideAll(),o(t)):(c.$box.toggleClass("fr-code-view",!1),function r(e){var t=u();c.html.set(t),c.$el.blur(),c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1),c.selection.setAtStart(c.el),c.selection.restore(),c.placeholder.refresh(),c.undo.saveStep()}(t),c.events.trigger("codeView.update"))}function x(){p()&&M(!1),f&&f.toTextArea(),d.val("").removeData().remove(),d=null,m&&(m.remove(),m=null)}return{_init:function e(){if(c.events.on("focus",function(){c.opts.toolbarContainer&&function t(){var e=c.$tb.find('.fr-command[data-cmd="html"]');p()?(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(h(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!1),e.addClass("fr-active").attr("aria-pressed",!1)):(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1))}()}),!c.$wp)return!1},toggle:M,isActive:p,get:u}},e.RegisterCommand("html",{title:"Code View",undo:!1,focus:!1,forcedRefresh:!0,toggle:!0,callback:function(){this.codeView.toggle()},plugin:"codeView"}),e.DefineIcon("html",{NAME:"code",SVG_KEY:"codeView"})}); \ No newline at end of file diff --git a/webroot/js/plugins/colors.min.js b/webroot/js/plugins/colors.min.js index 07bdb683..b9085ff6 100644 --- a/webroot/js/plugins/colors.min.js +++ b/webroot/js/plugins/colors.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(o,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(o.FroalaEditor)}(this,function(k){"use strict";k=k&&k.hasOwnProperty("default")?k["default"]:k,Object.assign(k.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(k.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),k.PLUGINS.colors=function(g){var E=g.$,l='
    ");function s(o){for(var t="text"===o?g.opts.colorsText:g.opts.colorsBackground,r='
    '),e=0;e"),"REMOVE"!==t[e]?r+=' ').concat(g.language.translate("Color")).concat(t[e]," \n    "):r+='').concat(g.icon.create("remove"),' \n ').concat(g.language.translate("Clear Formatting")," ");return"".concat(r,"
    ")}function i(o){var t,r=g.popups.get("".concat(o,"Color.picker")),e=E(g.selection.element());t="background"===o?"background-color":"color";var c=r.find(".fr-".concat(o,"-color .fr-select-color"));for(c.find(".fr-selected-color").remove(),c.removeClass("fr-active-item"),c.not('[data-param1="REMOVE"]').attr("aria-selected",!1);e.get(0)!==g.el;){if("transparent"!==e.css(t)&&"rgba(0, 0, 0, 0)"!==e.css(t)){var a=r.find(".fr-".concat(o,'-color .fr-select-color[data-param1="').concat(g.helpers.RGBToHex(e.css(t)),'"]'));a.append(''),a.addClass("fr-active-item").attr("aria-selected",!0);break}e=e.parent()}!function n(o){var t=g.popups.get("".concat(o,"Color.picker")),r=t.find(".fr-".concat(o,"-color .fr-active-item")).attr("data-param1"),e=t.find(".fr-color-hex-layer input");r||(r="");e.length&&E(e.val(r).input).trigger("change")}(o)}function e(o){"REMOVE"!==o?g.format.applyStyle("background-color",g.helpers.HEXtoRGB(o)):g.format.removeStyle("background-color"),g.popups.hide("backgroundColor.picker")}function c(o){"REMOVE"!==o?g.format.applyStyle("color",g.helpers.HEXtoRGB(o)):g.format.removeStyle("color"),g.popups.hide("textColor.picker")}return{showColorsPopup:function p(o){var t=g.$tb.find('.fr-command[data-cmd="'.concat(o,'"]')),r=g.popups.get("".concat(o,".picker"));if(r||(r=function n(o){var t="";g.opts.toolbarInline&&0\n '.concat(g.button.buildList(g.opts.colorsButtons),"\n "));var r,e="";r="textColor"===o?(g.opts.colorsHEXInput&&(e=l.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(g.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:t,text_colors:s("text"),custom_color:e}):(g.opts.colorsHEXInput&&(e=l.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(g.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),{buttons:t,background_colors:s("background"),custom_color:e});var c=g.popups.create("".concat(o,".picker"),r);return function a(C,b){g.events.on("popup.tab",function(o){var t=E(o.currentTarget);if(!g.popups.isVisible(b)||!t.is("span"))return!0;var r=o.which,e=!0;if(k.KEYCODE.TAB===r){var c=C.find(".fr-buttons");e=!g.accessibility.focusToolbar(c,!!o.shiftKey)}else if(k.KEYCODE.ARROW_UP===r||k.KEYCODE.ARROW_DOWN===r||k.KEYCODE.ARROW_LEFT===r||k.KEYCODE.ARROW_RIGHT===r){if(t.is("span.fr-select-color")){var a=t.parent().find("span.fr-select-color"),n=a.index(t),l=g.opts.colorsStep,s=Math.floor(a.length/l),i=n%l,p=Math.floor(n/l),u=p*l+i,d=s*l;k.KEYCODE.ARROW_UP===r?u=((u-l)%d+d)%d:k.KEYCODE.ARROW_DOWN===r?u=(u+l)%d:k.KEYCODE.ARROW_LEFT===r?u=((u-1)%d+d)%d:k.KEYCODE.ARROW_RIGHT===r&&(u=(u+1)%d);var f=E(a.get(u));g.events.disableBlur(),f.focus(),e=!1}}else k.KEYCODE.ENTER===r&&(g.button.exec(t),e=!1);return!1===e&&(o.preventDefault(),o.stopPropagation()),e},!0)}(c,"".concat(o,".picker")),c}(o)),!r.hasClass("fr-active"))if(g.popups.setContainer("".concat(o,".picker"),g.$tb),i("textColor"===o?"text":"background"),t.isVisible()){var e=g.button.getPosition(t),c=e.left,a=e.top;g.popups.show("".concat(o,".picker"),c,a,t.outerHeight())}else g.position.forSelection(r),g.popups.show("".concat(o,".picker"))},background:e,customColor:function a(o){var t=g.popups.get("".concat(o,"Color.picker")).find(".fr-color-hex-layer input");if(t.length){var r=t.val();"background"===o?e(r):c(r)}},text:c,back:function o(){g.popups.hide("textColor.picker"),g.popups.hide("backgroundColor.picker"),g.toolbar.showInline()}}},k.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),k.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),k.RegisterCommand("applytextColor",{undo:!0,callback:function(o,t){this.colors.text(t)}}),k.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),k.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),k.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),k.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(o,t){this.colors.background(t)}}),k.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),k.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),k.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),k.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"})}); \ No newline at end of file diff --git a/webroot/js/plugins/cryptojs.min.js b/webroot/js/plugins/cryptojs.min.js index e0a71def..4cc42221 100644 --- a/webroot/js/plugins/cryptojs.min.js +++ b/webroot/js/plugins/cryptojs.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],e):e(t.FroalaEditor)}(this,function(t){"use strict";(t=t&&t.hasOwnProperty("default")?t["default"]:t).PLUGINS.cryptoJSPlugin=function(t){var e,l,r,i,n,o,s,f,c,a,h,u,d,p,_,y,v,g,B,w,k,S,m,x,b,H,z,A,C,E,D,R,M,P,F,W,O,I,U,K,X,L,j,N,q,T,Z,G,J,V,$,Q,Y,tt,et,rt,it,nt,ot,st,ct,at,ht,lt,ft,ut,dt,pt,_t,vt,yt=yt||function(l,t){var e;if("undefined"!=typeof window&&window.crypto&&(e=window.crypto),!e&&"undefined"!=typeof window&&window.msCrypto&&(e=window.msCrypto),!e&&"undefined"!=typeof global&&global.crypto&&(e=global.crypto),!e&&"function"==typeof require)try{e=require("crypto")}catch(_){}var i=function i(){if(e){if("function"==typeof e.getRandomValues)try{return e.getRandomValues(new Uint32Array(1))[0]}catch(_){}if("function"==typeof e.randomBytes)try{return e.randomBytes(4).readInt32LE()}catch(_){}}throw new Error("Native crypto module could not be used to get secure random number.")},r=Object.create||function(){function r(){}return function(t){var e;return r.prototype=t,e=new r,r.prototype=null,e}}(),n={},o=n.lib={},s=o.Base={extend:function(t){var e=r(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),(e.init.prototype=e).$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},f=o.WordArray=s.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var e=this.words,r=t.words,i=this.sigBytes,n=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o>>2]>>>24-o%4*8&255;e[i+o>>>2]|=s<<24-(i+o)%4*8}else for(o=0;o>>2]=r[o>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=l.ceil(e/4)},clone:function t(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new f.init(r,e/2)}},h=c.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new f.init(r,e)}},u=c.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},d=o.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e,r=this._data,i=r.words,n=r.sigBytes,o=this.blockSize,s=n/(4*o),c=(s=t?l.ceil(s):l.max((0|s)-this._minBufferSize,0))*o,a=l.min(4*c,n);if(c){for(var h=0;h>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,c=0;c<4&&o+.75*c>>6*(3-c)&63));var a=i.charAt(64);if(a)for(;n.length%4;)n.push(a);return n.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var n=0;n>>6-o%4*2,a=s|c;i[n>>>2]|=a<<24-n%4*8,n++}return l.create(i,n)}(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(l){var t=yt,e=t.lib,r=e.WordArray,i=e.Hasher,n=t.algo,H=[];!function(){for(var t=0;t<64;t++)H[t]=4294967296*l.abs(l.sin(t+1))|0}();var o=n.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var i=e+r,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o=this._hash.words,s=t[e+0],c=t[e+1],a=t[e+2],h=t[e+3],l=t[e+4],f=t[e+5],u=t[e+6],d=t[e+7],p=t[e+8],_=t[e+9],v=t[e+10],y=t[e+11],g=t[e+12],B=t[e+13],w=t[e+14],k=t[e+15],S=o[0],m=o[1],x=o[2],b=o[3];m=E(m=E(m=E(m=E(m=C(m=C(m=C(m=C(m=A(m=A(m=A(m=A(m=z(m=z(m=z(m=z(m,x=z(x,b=z(b,S=z(S,m,x,b,s,7,H[0]),m,x,c,12,H[1]),S,m,a,17,H[2]),b,S,h,22,H[3]),x=z(x,b=z(b,S=z(S,m,x,b,l,7,H[4]),m,x,f,12,H[5]),S,m,u,17,H[6]),b,S,d,22,H[7]),x=z(x,b=z(b,S=z(S,m,x,b,p,7,H[8]),m,x,_,12,H[9]),S,m,v,17,H[10]),b,S,y,22,H[11]),x=z(x,b=z(b,S=z(S,m,x,b,g,7,H[12]),m,x,B,12,H[13]),S,m,w,17,H[14]),b,S,k,22,H[15]),x=A(x,b=A(b,S=A(S,m,x,b,c,5,H[16]),m,x,u,9,H[17]),S,m,y,14,H[18]),b,S,s,20,H[19]),x=A(x,b=A(b,S=A(S,m,x,b,f,5,H[20]),m,x,v,9,H[21]),S,m,k,14,H[22]),b,S,l,20,H[23]),x=A(x,b=A(b,S=A(S,m,x,b,_,5,H[24]),m,x,w,9,H[25]),S,m,h,14,H[26]),b,S,p,20,H[27]),x=A(x,b=A(b,S=A(S,m,x,b,B,5,H[28]),m,x,a,9,H[29]),S,m,d,14,H[30]),b,S,g,20,H[31]),x=C(x,b=C(b,S=C(S,m,x,b,f,4,H[32]),m,x,p,11,H[33]),S,m,y,16,H[34]),b,S,w,23,H[35]),x=C(x,b=C(b,S=C(S,m,x,b,c,4,H[36]),m,x,l,11,H[37]),S,m,d,16,H[38]),b,S,v,23,H[39]),x=C(x,b=C(b,S=C(S,m,x,b,B,4,H[40]),m,x,s,11,H[41]),S,m,h,16,H[42]),b,S,u,23,H[43]),x=C(x,b=C(b,S=C(S,m,x,b,_,4,H[44]),m,x,g,11,H[45]),S,m,k,16,H[46]),b,S,a,23,H[47]),x=E(x,b=E(b,S=E(S,m,x,b,s,6,H[48]),m,x,d,10,H[49]),S,m,w,15,H[50]),b,S,f,21,H[51]),x=E(x,b=E(b,S=E(S,m,x,b,g,6,H[52]),m,x,h,10,H[53]),S,m,v,15,H[54]),b,S,c,21,H[55]),x=E(x,b=E(b,S=E(S,m,x,b,p,6,H[56]),m,x,k,10,H[57]),S,m,u,15,H[58]),b,S,B,21,H[59]),x=E(x,b=E(b,S=E(S,m,x,b,l,6,H[60]),m,x,y,10,H[61]),S,m,a,15,H[62]),b,S,_,21,H[63]),o[0]=o[0]+S|0,o[1]=o[1]+m|0,o[2]=o[2]+x|0,o[3]=o[3]+b|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32;var n=l.floor(r/4294967296),o=r;e[15+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(e.length+1),this._process();for(var s=this._hash,c=s.words,a=0;a<4;a++){var h=c[a];c[a]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return s},clone:function t(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function z(t,e,r,i,n,o,s){var c=t+(e&r|~e&i)+n+s;return(c<>>32-o)+e}function A(t,e,r,i,n,o,s){var c=t+(e&i|r&~i)+n+s;return(c<>>32-o)+e}function C(t,e,r,i,n,o,s){var c=t+(e^r^i)+n+s;return(c<>>32-o)+e}function E(t,e,r,i,n,o,s){var c=t+(r^(e|~i))+n+s;return(c<>>32-o)+e}t.MD5=i._createHelper(o),t.HmacMD5=i._createHmacHelper(o)}(Math),i=(r=yt).lib,n=i.WordArray,o=i.Hasher,s=r.algo,f=[],c=s.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],a=0;a<80;a++){if(a<16)f[a]=0|t[e+a];else{var h=f[a-3]^f[a-8]^f[a-14]^f[a-16];f[a]=h<<1|h>>>31}var l=(i<<5|i>>>27)+c+f[a];l+=a<20?1518500249+(n&o|~n&s):a<40?1859775393+(n^o^s):a<60?(n&o|n&s|o&s)-1894007588:(n^o^s)-899497514,c=s,s=o,o=n<<30|n>>>2,n=i,i=l}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(i+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function t(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}}),r.SHA1=o._createHelper(c),r.HmacSHA1=o._createHmacHelper(c),function(n){var t=yt,e=t.lib,r=e.WordArray,i=e.Hasher,o=t.algo,s=[],B=[];!function(){function t(t){for(var e=n.sqrt(t),r=2;r<=e;r++)if(!(t%r))return!1;return!0}function e(t){return 4294967296*(t-(0|t))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=e(n.pow(r,.5))),B[i]=e(n.pow(r,1/3)),i++),r++}();var w=[],c=o.SHA256=i.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],a=r[5],h=r[6],l=r[7],f=0;f<64;f++){if(f<16)w[f]=0|t[e+f];else{var u=w[f-15],d=(u<<25|u>>>7)^(u<<14|u>>>18)^u>>>3,p=w[f-2],_=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;w[f]=d+w[f-7]+_+w[f-16]}var v=i&n^i&o^n&o,y=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),g=l+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&a^~c&h)+B[f]+w[f];l=h,h=a,a=c,c=s+g|0,s=o,o=n,n=i,i=g+(y+v)|0}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0,r[5]=r[5]+a|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=n.floor(r/4294967296),e[15+(i+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function t(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=i._createHelper(c),t.HmacSHA256=i._createHmacHelper(c)}(Math),function(){var t=yt,n=t.lib.WordArray,e=t.enc;e.Utf16=e.Utf16BE={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>16-n%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>1]|=t.charCodeAt(i)<<16-i%2*16;return n.create(r,2*e)}};function s(t){return t<<8&4278255360|t>>>8&16711935}e.Utf16LE={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>16-n%4*8&65535);i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>1]|=s(t.charCodeAt(i)<<16-i%2*16);return n.create(r,2*e)}}}(),function(){if("function"==typeof ArrayBuffer){var t=yt.lib.WordArray,n=t.init;(t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,r=[],i=0;i>>2]|=t[i]<<24-i%4*8;n.call(this,r,e)}else n.apply(this,arguments)}).prototype=t}}(),function(t){var e=yt,r=e.lib,i=r.WordArray,n=r.Hasher,o=e.algo,m=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),x=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),b=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),H=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),z=i.create([0,1518500249,1859775393,2400959708,2840853838]),A=i.create([1352829926,1548603684,1836072691,2053994217,0]),s=o.RIPEMD160=n.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var i=e+r,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o,s,c,a,h,l,f,u,d,p,_,v=this._hash.words,y=z.words,g=A.words,B=m.words,w=x.words,k=b.words,S=H.words;l=o=v[0],f=s=v[1],u=c=v[2],d=a=v[3],p=h=v[4];for(r=0;r<80;r+=1)_=o+t[e+B[r]]|0,_+=r<16?C(s,c,a)+y[0]:r<32?E(s,c,a)+y[1]:r<48?D(s,c,a)+y[2]:r<64?R(s,c,a)+y[3]:M(s,c,a)+y[4],_=(_=P(_|=0,k[r]))+h|0,o=h,h=a,a=P(c,10),c=s,s=_,_=l+t[e+w[r]]|0,_+=r<16?M(f,u,d)+g[0]:r<32?R(f,u,d)+g[1]:r<48?D(f,u,d)+g[2]:r<64?E(f,u,d)+g[3]:C(f,u,d)+g[4],_=(_=P(_|=0,S[r]))+p|0,l=p,p=d,d=P(u,10),u=f,f=_;_=v[1]+c+d|0,v[1]=v[2]+a+p|0,v[2]=v[3]+h+l|0,v[3]=v[4]+o+f|0,v[4]=v[0]+s+u|0,v[0]=_},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var n=this._hash,o=n.words,s=0;s<5;s++){var c=o[s];o[s]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return n},clone:function t(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}});function C(t,e,r){return t^e^r}function E(t,e,r){return t&e|~t&r}function D(t,e,r){return(t|~e)^r}function R(t,e,r){return t&r|e&~r}function M(t,e,r){return t^(e|~r)}function P(t,e){return t<>>32-e}e.RIPEMD160=n._createHelper(s),e.HmacRIPEMD160=n._createHmacHelper(s)}(Math),h=(a=yt).lib.Base,u=a.enc.Utf8,a.algo.HMAC=h.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=u.parse(e));var r=t.blockSize,i=4*r;e.sigBytes>i&&(e=t.finalize(e)),e.clamp();for(var n=this._oKey=e.clone(),o=this._iKey=e.clone(),s=n.words,c=o.words,a=0;a>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(x=r[n]).high^=s,x.low^=o}for(var c=0;c<24;c++){for(var a=0;a<5;a++){for(var h=0,l=0,f=0;f<5;f++){h^=(x=r[a+5*f]).high,l^=x.low}var u=R[a];u.high=h,u.low=l}for(a=0;a<5;a++){var d=R[(a+4)%5],p=R[(a+1)%5],_=p.high,v=p.low;for(h=d.high^(_<<1|v>>>31),l=d.low^(v<<1|_>>>31),f=0;f<5;f++){(x=r[a+5*f]).high^=h,x.low^=l}}for(var y=1;y<25;y++){var g=(x=r[y]).high,B=x.low,w=C[y];l=w<32?(h=g<>>32-w,B<>>32-w):(h=B<>>64-w,g<>>64-w);var k=R[E[y]];k.high=h,k.low=l}var S=R[0],m=r[0];S.high=m.high,S.low=m.low;for(a=0;a<5;a++)for(f=0;f<5;f++){var x=r[y=a+5*f],b=R[y],H=R[(a+1)%5+5*f],z=R[(a+2)%5+5*f];x.high=b.high^~H.high&z.high,x.low=b.low^~H.low&z.low}x=r[0];var A=D[c];x.high^=A.high,x.low^=A.low}},_doFinalize:function(){var t=this._data,e=t.words,r=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;e[r>>>5]|=1<<24-r%32,e[(u.ceil((r+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*e.length,this._process();for(var n=this._state,o=this.cfg.outputLength/8,s=o/8,c=[],a=0;a>>24)|4278255360&(l<<24|l>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(l)}return new d.init(c,o)},clone:function t(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),r=0;r<25;r++)e[r]=e[r].clone();return t}});t.SHA3=i._createHelper(n),t.HmacSHA3=i._createHmacHelper(n)}(Math),function(){var t=yt,e=t.lib.Hasher,r=t.x64,i=r.Word,n=r.WordArray,o=t.algo;function s(){return i.create.apply(i,arguments)}var mt=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],xt=[];!function(){for(var t=0;t<80;t++)xt[t]=s()}();var c=o.SHA512=e.extend({_doReset:function(){this._hash=new n.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],a=r[5],h=r[6],l=r[7],f=i.high,u=i.low,d=n.high,p=n.low,_=o.high,v=o.low,y=s.high,g=s.low,B=c.high,w=c.low,k=a.high,S=a.low,m=h.high,x=h.low,b=l.high,H=l.low,z=f,A=u,C=d,E=p,D=_,R=v,M=y,P=g,F=B,W=w,O=k,I=S,U=m,K=x,X=b,L=H,j=0;j<80;j++){var N,q,T=xt[j];if(j<16)q=T.high=0|t[e+2*j],N=T.low=0|t[e+2*j+1];else{var Z=xt[j-15],G=Z.high,J=Z.low,V=(G>>>1|J<<31)^(G>>>8|J<<24)^G>>>7,$=(J>>>1|G<<31)^(J>>>8|G<<24)^(J>>>7|G<<25),Q=xt[j-2],Y=Q.high,tt=Q.low,et=(Y>>>19|tt<<13)^(Y<<3|tt>>>29)^Y>>>6,rt=(tt>>>19|Y<<13)^(tt<<3|Y>>>29)^(tt>>>6|Y<<26),it=xt[j-7],nt=it.high,ot=it.low,st=xt[j-16],ct=st.high,at=st.low;q=(q=(q=V+nt+((N=$+ot)>>>0<$>>>0?1:0))+et+((N+=rt)>>>0>>0?1:0))+ct+((N+=at)>>>0>>0?1:0),T.high=q,T.low=N}var ht,lt=F&O^~F&U,ft=W&I^~W&K,ut=z&C^z&D^C&D,dt=A&E^A&R^E&R,pt=(z>>>28|A<<4)^(z<<30|A>>>2)^(z<<25|A>>>7),_t=(A>>>28|z<<4)^(A<<30|z>>>2)^(A<<25|z>>>7),vt=(F>>>14|W<<18)^(F>>>18|W<<14)^(F<<23|W>>>9),yt=(W>>>14|F<<18)^(W>>>18|F<<14)^(W<<23|F>>>9),gt=mt[j],Bt=gt.high,wt=gt.low,kt=X+vt+((ht=L+yt)>>>0>>0?1:0),St=_t+dt;X=U,L=K,U=O,K=I,O=F,I=W,F=M+(kt=(kt=(kt=kt+lt+((ht=ht+ft)>>>0>>0?1:0))+Bt+((ht=ht+wt)>>>0>>0?1:0))+q+((ht=ht+N)>>>0>>0?1:0))+((W=P+ht|0)>>>0

    >>0?1:0)|0,M=D,P=R,D=C,R=E,C=z,E=A,z=kt+(pt+ut+(St>>>0<_t>>>0?1:0))+((A=ht+St|0)>>>0>>0?1:0)|0}u=i.low=u+A,i.high=f+z+(u>>>0>>0?1:0),p=n.low=p+E,n.high=d+C+(p>>>0>>0?1:0),v=o.low=v+R,o.high=_+D+(v>>>0>>0?1:0),g=s.low=g+P,s.high=y+M+(g>>>0

    >>0?1:0),w=c.low=w+W,c.high=B+F+(w>>>0>>0?1:0),S=a.low=S+I,a.high=k+O+(S>>>0>>0?1:0),x=h.low=x+K,h.high=m+U+(x>>>0>>0?1:0),H=l.low=H+L,l.high=b+X+(H>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[30+(i+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(i+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function t(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=e._createHelper(c),t.HmacSHA512=e._createHmacHelper(c)}(),U=(I=yt).x64,K=U.Word,X=U.WordArray,L=I.algo,j=L.SHA512,N=L.SHA384=j.extend({_doReset:function(){this._hash=new X.init([new K.init(3418070365,3238371032),new K.init(1654270250,914150663),new K.init(2438529370,812702999),new K.init(355462360,4144912697),new K.init(1731405415,4290775857),new K.init(2394180231,1750603025),new K.init(3675008525,1694076839),new K.init(1203062813,3204075428)])},_doFinalize:function(){var t=j._doFinalize.call(this);return t.sigBytes-=16,t}}),I.SHA384=j._createHelper(N),I.HmacSHA384=j._createHmacHelper(N),yt.lib.Cipher||(T=(q=yt).lib,Z=T.Base,G=T.WordArray,J=T.BufferedBlockAlgorithm,(V=q.enc).Utf8,$=V.Base64,Q=q.algo.EvpKDF,Y=T.Cipher=J.extend({cfg:Z.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,r){this.cfg=this.cfg.extend(r),this._xformMode=t,this._key=e,this.reset()},reset:function(){J.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function n(t){return"string"==typeof t?at:st}return function(i){return{encrypt:function(t,e,r){return n(e).encrypt(i,t,e,r)},decrypt:function(t,e,r){return n(e).decrypt(i,t,e,r)}}}}()}),T.StreamCipher=Y.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),tt=q.mode={},et=T.BlockCipherMode=Z.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),rt=tt.CBC=function(){var t=et.extend();function o(t,e,r){var i,n=this._iv;n?(i=n,this._iv=void 0):i=this._prevBlock;for(var o=0;o>>2];t.sigBytes-=e}},T.BlockCipher=Y.extend({cfg:Y.cfg.extend({mode:rt,padding:it}),reset:function(){var t;Y.reset.call(this);var e=this.cfg,r=e.iv,i=e.mode;this._xformMode==this._ENC_XFORM_MODE?t=i.createEncryptor:(t=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,r&&r.words):(this._mode=t.call(i,this,r&&r.words),this._mode.__creator=t)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),e.unpad(t)),t},blockSize:4}),nt=T.CipherParams=Z.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),ot=(q.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,r=t.salt;return(r?G.create([1398893684,1701076831]).concat(r).concat(e):e).toString($)},parse:function(t){var e,r=$.parse(t),i=r.words;return 1398893684==i[0]&&1701076831==i[1]&&(e=G.create(i.slice(2,4)),i.splice(0,4),r.sigBytes-=16),nt.create({ciphertext:r,salt:e})}},st=T.SerializableCipher=Z.extend({cfg:Z.extend({format:ot}),encrypt:function(t,e,r,i){i=this.cfg.extend(i);var n=t.createEncryptor(r,i),o=n.finalize(e),s=n.cfg;return nt.create({ciphertext:o,key:r,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,r,i){return i=this.cfg.extend(i),e=this._parse(e,i.format),t.createDecryptor(r,i).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),ct=(q.kdf={}).OpenSSL={execute:function(t,e,r,i){i||(i=G.random(8));var n=Q.create({keySize:e+r}).compute(t,i),o=G.create(n.words.slice(e),4*r);return n.sigBytes=4*e,nt.create({key:n,iv:o,salt:i})}},at=T.PasswordBasedCipher=st.extend({cfg:st.cfg.extend({kdf:ct}),encrypt:function(t,e,r,i){var n=(i=this.cfg.extend(i)).kdf.execute(r,t.keySize,t.ivSize);i.iv=n.iv;var o=st.encrypt.call(this,t,e,n.key,i);return o.mixIn(n),o},decrypt:function(t,e,r,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var n=i.kdf.execute(r,t.keySize,t.ivSize,e.salt);return i.iv=n.iv,st.decrypt.call(this,t,e,n.key,i)}})),yt.mode.CFB=function(){var t=yt.lib.BlockCipherMode.extend();function o(t,e,r,i){var n,o=this._iv;o?(n=o.slice(0),this._iv=undefined):n=this._prevBlock,i.encryptBlock(n,0);for(var s=0;s>>2]|=n<<24-o%4*8,t.sigBytes+=n},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},yt.pad.Iso10126={pad:function(t,e){var r=4*e,i=r-t.sigBytes%r;t.concat(yt.lib.WordArray.random(i-1)).concat(yt.lib.WordArray.create([i<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},yt.pad.Iso97971={pad:function(t,e){t.concat(yt.lib.WordArray.create([2147483648],1)),yt.pad.ZeroPadding.pad(t,e)},unpad:function(t){yt.pad.ZeroPadding.unpad(t),t.sigBytes--}},yt.mode.OFB=(lt=yt.lib.BlockCipherMode.extend(),ft=lt.Encryptor=lt.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._keystream;n&&(o=this._keystream=n.slice(0),this._iv=undefined),r.encryptBlock(o,0);for(var s=0;s>>8^255&n^99,h[r]=n;var o=t[l[n]=r],s=t[o],c=t[s],a=257*t[n]^16843008*n;f[r]=a<<24|a>>>8,u[r]=a<<16|a>>>16,d[r]=a<<8|a>>>24,p[r]=a;a=16843009*c^65537*s^257*o^16843008*r;_[n]=a<<24|a>>>8,v[n]=a<<16|a>>>16,y[n]=a<<8|a>>>24,g[n]=a,r?(r=o^t[t[t[c^o]]],i^=t[t[i]]):r=i=1}}();var B=[0,1,2,4,8,16,32,64,128,27,54],i=r.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,i=4*((this._nRounds=r+6)+1),n=this._keySchedule=[],o=0;o>>24]<<24|h[a>>>16&255]<<16|h[a>>>8&255]<<8|h[255&a]):(a=h[(a=a<<8|a>>>24)>>>24]<<24|h[a>>>16&255]<<16|h[a>>>8&255]<<8|h[255&a],a^=B[o/r|0]<<24),n[o]=n[o-r]^a);for(var s=this._invKeySchedule=[],c=0;c>>24]]^v[h[a>>>16&255]]^y[h[a>>>8&255]]^g[h[255&a]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,f,u,d,p,h)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,_,v,y,g,l);r=t[e+1];t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,i,n,o,s,c){for(var a=this._nRounds,h=t[e]^r[0],l=t[e+1]^r[1],f=t[e+2]^r[2],u=t[e+3]^r[3],d=4,p=1;p>>24]^n[l>>>16&255]^o[f>>>8&255]^s[255&u]^r[d++],v=i[l>>>24]^n[f>>>16&255]^o[u>>>8&255]^s[255&h]^r[d++],y=i[f>>>24]^n[u>>>16&255]^o[h>>>8&255]^s[255&l]^r[d++],g=i[u>>>24]^n[h>>>16&255]^o[l>>>8&255]^s[255&f]^r[d++];h=_,l=v,f=y,u=g}_=(c[h>>>24]<<24|c[l>>>16&255]<<16|c[f>>>8&255]<<8|c[255&u])^r[d++],v=(c[l>>>24]<<24|c[f>>>16&255]<<16|c[u>>>8&255]<<8|c[255&h])^r[d++],y=(c[f>>>24]<<24|c[u>>>16&255]<<16|c[h>>>8&255]<<8|c[255&l])^r[d++],g=(c[u>>>24]<<24|c[h>>>16&255]<<16|c[l>>>8&255]<<8|c[255&f])^r[d++];t[e]=_,t[e+1]=v,t[e+2]=y,t[e+3]=g},keySize:8});t.AES=e._createHelper(i)}(),function(){var t=yt,e=t.lib,n=e.WordArray,r=e.BlockCipher,i=t.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],o=i.DES=r.extend({_doReset:function(){for(var t=this._key.words,e=[],r=0;r<56;r++){var i=h[r]-1;e[r]=t[i>>>5]>>>31-i%32&1}for(var n=this._subKeys=[],o=0;o<16;o++){var s=n[o]=[],c=f[o];for(r=0;r<24;r++)s[r/6|0]|=e[(l[r]-1+c)%28]<<31-r%6,s[4+(r/6|0)]|=e[28+(l[r+24]-1+c)%28]<<31-r%6;s[0]=s[0]<<1|s[0]>>>31;for(r=1;r<7;r++)s[r]=s[r]>>>4*(r-1)+3;s[7]=s[7]<<5|s[7]>>>27}var a=this._invSubKeys=[];for(r=0;r<16;r++)a[r]=n[15-r]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,e,r){this._lBlock=t[e],this._rBlock=t[e+1],p.call(this,4,252645135),p.call(this,16,65535),_.call(this,2,858993459),_.call(this,8,16711935),p.call(this,1,1431655765);for(var i=0;i<16;i++){for(var n=r[i],o=this._lBlock,s=this._rBlock,c=0,a=0;a<8;a++)c|=u[a][((s^n[a])&d[a])>>>0];this._lBlock=s,this._rBlock=o^c}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,p.call(this,1,1431655765),_.call(this,8,16711935),_.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),t[e]=this._lBlock,t[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(t,e){var r=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=r,this._lBlock^=r<>>t^this._lBlock)&e;this._lBlock^=r,this._rBlock^=r<192.");var e=t.slice(0,2),r=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=o.createEncryptor(n.create(e)),this._des2=o.createEncryptor(n.create(r)),this._des3=o.createEncryptor(n.create(i))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=r._createHelper(s)}(),function(){var t=yt,e=t.lib.StreamCipher,r=t.algo,i=r.RC4=e.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,i=this._S=[],n=0;n<256;n++)i[n]=n;n=0;for(var o=0;n<256;n++){var s=n%r,c=e[s>>>2]>>>24-s%4*8&255;o=(o+i[n]+c)%256;var a=i[n];i[n]=i[o],i[o]=a}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=n.call(this)},keySize:8,ivSize:0});function n(){for(var t=this._S,e=this._i,r=this._j,i=0,n=0;n<4;n++){r=(r+t[e=(e+1)%256])%256;var o=t[e];t[e]=t[r],t[r]=o,i|=t[(t[e]+t[r])%256]<<24-8*n}return this._i=e,this._j=r,i}t.RC4=e._createHelper(i);var o=r.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var t=this.cfg.drop;0>24&255)){var e=t>>16&255,r=t>>8&255,i=255&t;255===e?(e=0,255===r?(r=0,255===i?i=0:++i):++r):++e,t=0,t+=e<<16,t+=r<<8,t+=i}else t+=1<<24;return t}var e=t.Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=undefined),function a(t){return 0===(t[0]=h(t[0]))&&(t[1]=h(t[1])),t}(o);var s=o.slice(0);r.encryptBlock(s,0);for(var c=0;c>>24)|4278255360&(t[r]<<24|t[r]>>>8);var i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(r=this._b=0;r<4;r++)u.call(this);for(r=0;r<8;r++)n[r]^=i[r+4&7];if(e){var o=e.words,s=o[0],c=o[1],a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),l=a>>>16|4294901760&h,f=h<<16|65535&a;n[0]^=a,n[1]^=l,n[2]^=h,n[3]^=f,n[4]^=a,n[5]^=l,n[6]^=h,n[7]^=f;for(r=0;r<4;r++)u.call(this)}},_doProcessBlock:function(t,e){var r=this._X;u.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),t[e+i]^=n[i]},blockSize:4,ivSize:2});function u(){for(var t=this._X,e=this._C,r=0;r<8;r++)a[r]=e[r];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0>>0?1:0)|0,this._b=e[7]>>>0>>0?1:0;for(r=0;r<8;r++){var i=t[r]+e[r],n=65535&i,o=i>>>16,s=((n*n>>>17)+n*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);h[r]=s^c}t[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,t[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,t[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,t[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,t[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,t[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,t[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,t[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}t.Rabbit=e._createHelper(i)}(),yt.mode.CTR=(_t=yt.lib.BlockCipherMode.extend(),vt=_t.Encryptor=_t.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=undefined);var s=o.slice(0);r.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var c=0;c>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]],n=this._b=0;n<4;n++)u.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(e){var o=e.words,s=o[0],c=o[1],a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),l=a>>>16|4294901760&h,f=h<<16|65535&a;i[0]^=a,i[1]^=l,i[2]^=h,i[3]^=f,i[4]^=a,i[5]^=l,i[6]^=h,i[7]^=f;for(n=0;n<4;n++)u.call(this)}},_doProcessBlock:function(t,e){var r=this._X;u.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),t[e+i]^=n[i]},blockSize:4,ivSize:2});function u(){for(var t=this._X,e=this._C,r=0;r<8;r++)a[r]=e[r];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0>>0?1:0)|0,this._b=e[7]>>>0>>0?1:0;for(r=0;r<8;r++){var i=t[r]+e[r],n=65535&i,o=i>>>16,s=((n*n>>>17)+n*o>>>15)+o*o,c=((4294901760&i)*i|0)+((65535&i)*i|0);h[r]=s^c}t[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,t[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,t[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,t[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,t[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,t[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,t[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,t[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}t.RabbitLegacy=e._createHelper(i)}(),yt.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;0<=r;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},{init:function gt(){},cryptoJS:yt}}}); \ No newline at end of file diff --git a/webroot/js/plugins/draggable.min.js b/webroot/js/plugins/draggable.min.js index 492d8a9a..1ee49fd6 100644 --- a/webroot/js/plugins/draggable.min.js +++ b/webroot/js/plugins/draggable.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(c){"use strict";c=c&&c.hasOwnProperty("default")?c["default"]:c,Object.assign(c.DEFAULTS,{dragInline:!0}),c.PLUGINS.draggable=function(g){var d=g.$;function e(e){return!(!e.originalEvent||!e.originalEvent.target||e.originalEvent.target.nodeType!==Node.TEXT_NODE)||(e.target&&"A"===e.target.tagName&&1===e.target.childNodes.length&&"IMG"===e.target.childNodes[0].tagName&&(e.target=e.target.childNodes[0]),d(e.target).hasClass("fr-draggable")?(g.undo.canDo()||g.undo.saveStep(),g.opts.dragInline?g.$el.attr("contenteditable",!0):g.$el.attr("contenteditable",!1),g.opts.toolbarInline&&g.toolbar.hide(),d(e.target).addClass("fr-dragging"),g.browser.msie||g.browser.edge||g.selection.clear(),void e.originalEvent.dataTransfer.setData("text","Froala")):(e.preventDefault(),!1))}var p,v=function v(e){return!(e&&("HTML"===e.tagName||"BODY"===e.tagName||g.node.isElement(e)))};function m(e,t,r){if(g.opts.iframe){var n=g.helpers.getPX(g.$wp.find(".fr-iframe").css("padding-top")),a=g.helpers.getPX(g.$wp.find(".fr-iframe").css("padding-left"));e+=g.$iframe.offset().top+n,t+=g.$iframe.offset().left+a}p.offset().top!==e&&p.css("top",e),p.offset().left!==t&&p.css("left",t),p.width()!==r&&p.css("width",r)}function t(e){e.originalEvent.dataTransfer.dropEffect="move",g.opts.dragInline?(!function r(){for(var e=null,t=0;t'),p.removeClass("fr-visible");else if(!1===g.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass("fr-dragging"),!1===(t=g.events.chainTrigger("element.beforeDrop",t)))return!1;var a=t;if(t.parent().is("A")&&1===t.parent().get(0).childNodes.length&&(a=t.parent()),g.core.isEmpty())g.events.focus();else g.$el.find(".fr-marker").replaceWith(c.MARKERS),g.selection.restore();if(r===g||g.undo.canDo()||g.undo.saveStep(),g.core.isEmpty())g.$el.html(a);else{var o=g.markers.insert();0===a.find(o).length?d(o).replaceWith(a):0===t.find(o).length&&d(o).replaceWith(t),t.after(c.MARKERS),g.selection.restore()}return g.popups.hideAll(),g.selection.save(),g.$el.find(g.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(g.opts.htmlAllowedEmptyTags.join(",")).remove(),g.html.wrap(),g.html.fillEmptyBlocks(),g.selection.restore(),g.undo.saveStep(),g.opts.iframe&&g.size.syncIframe(),r!==g&&(r.popups.hideAll(),r.$el.find(r.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),r.html.wrap(),r.html.fillEmptyBlocks(),r.undo.saveStep(),r.events.trigger("element.dropped"),r.opts.iframe&&r.size.syncIframe()),g.events.trigger("element.dropped",[a]),!1}p&&p.removeClass("fr-visible"),g.undo.canDo()||g.undo.saveStep(),setTimeout(function(){g.undo.saveStep()},0)}function o(e){if(e&&"DIV"===e.tagName&&g.node.hasClass(e,"fr-drag-helper"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll("div.fr-drag-helper"),r=0;r

    ")};i.popups.create("text.edit",t)}(),t())},update:function e(){var t=i.popups.get("text.edit").find("input").val();0===t.length&&(t=i.opts.placeholderText),"INPUT"===i.el.tagName?i.$el.attr("placeholder",t):i.$el.text(t),i.events.trigger("contentChanged"),i.popups.hide("text.edit")}}},t.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}})}); \ No newline at end of file diff --git a/webroot/js/plugins/emoticons.min.js b/webroot/js/plugins/emoticons.min.js index 5d857ac1..c29f757b 100644 --- a/webroot/js/plugins/emoticons.min.js +++ b/webroot/js/plugins/emoticons.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,c){"object"==typeof exports&&"undefined"!=typeof module?c(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],c):c(e.FroalaEditor)}(this,function(S){"use strict";S=S&&S.hasOwnProperty("default")?S["default"]:S,Object.assign(S.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(S.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"},{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"},{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D\u2019ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),S.PLUGINS.emoticons=function(m){var C=m.$,a=m.opts.emoticonsSet,s=a&&a[0],f="";function i(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),c=m.selection.endElement();if(e&&m.node.hasClass(e,"fr-emoticon"))return e;if(c&&m.node.hasClass(c,"fr-emoticon"))return c;var d=m.selection.ranges(0),o=d.startContainer;if(o.nodeType==Node.ELEMENT_NODE&&0\n '.concat(function d(e,o){var a="";return e.forEach(function(e){var c={image:e.code.toLowerCase()},d={elementClass:e.id===o.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:m.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:m.language.translate(e.name),dataCmd:"setEmoticonCategory",dataParam1:e.id,image:m.opts.emoticonsUseImage?''):"&#x".concat(c.image,";")};a+='")}),a}(e,c),"\n ")}(a,s),"\n ").concat(function d(e){return'\n
    \n '.concat(function c(e){var a="";return e.emoticons.forEach(function(e){var c=e.code.split("-").reduce(function(e,c){return e?"".concat(e,"‍&#x").concat(c.toLowerCase(),";"):"&#x".concat(c.toLowerCase(),";")},""),d={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:c},o={dataParam1:e.code.toLowerCase(),dataParam2:d.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?''):"".concat(d.compiledCode),desc:m.language.translate(e.desc)};a+='\n ').concat(o.image,'').concat(o.desc,"   ")}),a}(e),"\n
    \n ")}(s),"\n ").concat(function e(){return m.opts.emoticonsUseImage?'

    Emoji free by Emoji One

    ':""}())}return{_init:function e(){var d=function d(){for(var e=m.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),c=0;c=S.KEYCODE.ARROW_LEFT&&e.which<=S.KEYCODE.ARROW_DOWN)){var o=i();m.node.hasClass(o,"fr-emoticon-img")&&(C(o).append(S.MARKERS),m.selection.restore())}})},insert:function t(e,c){var d=i(),o=m.selection.ranges(0);d?(0===o.startOffset&&m.selection.element()===d?C(d).before(S.MARKERS+S.INVISIBLE_SPACE):0").concat(c?" ":e,"
     ").concat(S.MARKERS),!0)):m.html.insert('").concat(c?" ":e," "),!0)},setEmoticonCategory:function d(c){s=a.filter(function(e){return e.id===c})[0],function e(){m.popups.get("emoticons").html(f+n())}()},showEmoticonsPopup:function l(){var e=m.popups.get("emoticons");if(e||(e=function s(){m.opts.toolbarInline&&0'.concat(m.button.buildList(m.opts.emoticonsButtons),""));var e={buttons:f,custom_layer:n()},c=m.popups.create("emoticons",e);return function d(h){m.events.on("popup.tab",function(e){var c=C(e.currentTarget);if(!m.popups.isVisible("emoticons")||!c.is("span, a"))return!0;var d,o,a,s=e.which;if(S.KEYCODE.TAB==s){if(c.is("span.fr-emoticon")&&e.shiftKey||c.is("a")&&!e.shiftKey){var f=h.find(".fr-buttons");d=!m.accessibility.focusToolbar(f,!!e.shiftKey)}if(!1!==d){var i=h.find("span.fr-emoticon:focus").first().concat(h.findVisible(" div.fr-tabs").first().concat(h.find("a")));c.is("span.fr-emoticon")&&(i=i.not("span.fr-emoticon:not(:focus)")),o=i.index(c),o=e.shiftKey?((o-1)%i.length+i.length)%i.length:(o+1)%i.length,a=i.get(o),m.events.disableBlur(),a.focus(),d=!1}}else if(S.KEYCODE.ARROW_UP==s||S.KEYCODE.ARROW_DOWN==s||S.KEYCODE.ARROW_LEFT==s||S.KEYCODE.ARROW_RIGHT==s){if(c.is("span.fr-emoticon")){var n=c.parent().find("span.fr-emoticon");o=n.index(c);var t=m.opts.emoticonsStep,l=Math.floor(n.length/t),r=o%t,F=Math.floor(o/t),g=F*t+r,u=l*t;S.KEYCODE.ARROW_UP==s?g=((g-t)%u+u)%u:S.KEYCODE.ARROW_DOWN==s?g=(g+t)%u:S.KEYCODE.ARROW_LEFT==s?g=((g-1)%u+u)%u:S.KEYCODE.ARROW_RIGHT==s&&(g=(g+1)%u),a=C(n.get(g)),m.events.disableBlur(),a.focus(),d=!1}}else S.KEYCODE.ENTER==s&&(c.is("a")?c[0].click():m.button.exec(c),d=!1);return!1===d&&(e.preventDefault(),e.stopPropagation()),d},!0)}(c),c}()),!e.hasClass("fr-active")){m.popups.refresh("emoticons"),m.popups.setContainer("emoticons",m.$tb);var c=m.$tb.find('.fr-command[data-cmd="emoticons"]'),d=m.button.getPosition(c),o=d.left,a=d.top;m.popups.show("emoticons",o,a,c.outerHeight())}},back:function c(){m.popups.hide("emoticons"),m.toolbar.showInline()}}},S.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),S.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),S.RegisterCommand("insertEmoticon",{callback:function(e,c,d){this.emoticons.insert(d,this.opts.emoticonsUseImage?"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/".concat(c,".svg"):null),this.popups.hide("emoticons")}}),S.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,c){this.emoticons.setEmoticonCategory(c)}}),S.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),S.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}})}); \ No newline at end of file diff --git a/webroot/js/plugins/entities.min.js b/webroot/js/plugins/entities.min.js index 313b7d15..f650e02c 100644 --- a/webroot/js/plugins/entities.min.js +++ b/webroot/js/plugins/entities.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{entities:""'¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿŒœŠšŸƒˆ˜ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψωϑϒϖ   ‌‍‎‏–—‘’‚“”„†‡•…‰′″‹›‾⁄€ℑ℘ℜ™ℵ←↑→↓↔↵⇐⇑⇒⇓⇔∀∂∃∅∇∈∉∋∏∑−∗√∝∞∠∧∨∩∪∫∴∼≅≈≠≡≤≥⊂⊃⊄⊆⊇⊕⊗⊥⋅⌈⌉⌊⌋⟨⟩◊♠♣♥♦"}),e.PLUGINS.entities=function(i){var n,o,l=i.$;function r(e){var a=e.textContent;if(a.match(n)){for(var t="",r=0;r span").css("width","".concat(t,"%"))):i.find("div").addClass("fr-indeterminate")}}function h(e,t,o){y.edit.on(),y.events.focus(!0),y.selection.restore(),y.opts.fileUseSelectedText&&y.selection.text().length&&(t=y.selection.text()),y.html.insert('').concat(t,""));var i=y.$el.find("#fr-inserted-file");i.removeAttr("id"),y.popups.hide("file.insert"),y.undo.saveStep(),f(),y.events.trigger("file.inserted",[i,o])}function w(e,t,o){var i=this.status,r=this.response,a=this.responseXML,n=this.responseText;try{if(y.opts.fileUploadToS3||y.opts.fileUploadToAzure)if(201===i){var s;if(y.opts.fileUploadToAzure){if(!1===y.events.trigger("file.uploadedToAzure",[this.responseURL,o,r],!0))return y.edit.on(),!1;s=t}else s=function p(e){try{var t=u(e).find("Location").text(),o=u(e).find("Key").text();return!1===y.events.trigger("file.uploadedToS3",[t,o,e],!0)?(y.edit.on(),!1):t}catch(i){return C(g,e),!1}}(a);s&&h(s,e,r||a)}else C(g,r||a);else if(200<=i&&i<300){var l=function f(e){try{if(!1===y.events.trigger("file.uploaded",[e],!0))return y.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(C(c,e),!1)}catch(o){return C(g,e),!1}}(n);l&&h(l.link,e,r||n)}else C(v,r||n)}catch(d){C(g,r||n)}}function R(){C(g,this.response||this.responseText||this.responseXML)}function k(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;r(y.language.translate("Uploading"),t)}}function C(e,t){y.edit.on(),function i(e){P();var t=y.popups.get("file.insert").find(".fr-file-progress-bar-layer");t.addClass("fr-error");var o=t.find("h3");o.text(e),y.events.disableBlur(),o.focus()}(y.language.translate("Something went wrong. Please try again.")),y.events.trigger("file.error",[{code:e,message:o[e]},t])}function x(){y.edit.on(),a(!0)}function n(e){if(void 0!==e&&0y.opts.fileMaxSize)return C(A),!1;if(y.opts.fileAllowedTypes.indexOf("*")<0&&y.opts.fileAllowedTypes.indexOf(o.type.replace(/file\//g,""))<0)return C(S),!1;if(y.drag_support.formdata&&(t=y.drag_support.formdata?new FormData:null),t){var i;if(!1!==y.opts.fileUploadToS3)for(i in t.append("key",y.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(o.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",o.type),y.opts.fileUploadToS3.params)y.opts.fileUploadToS3.params.hasOwnProperty(i)&&t.append(i,y.opts.fileUploadToS3.params[i]);for(i in y.opts.fileUploadParams)y.opts.fileUploadParams.hasOwnProperty(i)&&t.append(i,y.opts.fileUploadParams[i]);t.append(y.opts.fileUploadParam,o);var r,a,n=y.opts.fileUploadURL;y.opts.fileUploadToS3&&(n=y.opts.fileUploadToS3.uploadURL?y.opts.fileUploadToS3.uploadURL:"https://".concat(y.opts.fileUploadToS3.region,".amazonaws.com/").concat(y.opts.fileUploadToS3.bucket));var s=y.opts.fileUploadMethod;y.opts.fileUploadToAzure&&(n=y.opts.fileUploadToAzure.uploadURL?"".concat(y.opts.fileUploadToAzure.uploadURL,"/").concat(o.name):encodeURI("https://".concat(y.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(y.opts.fileUploadToAzure.container,"/").concat(o.name)),r=n,y.opts.fileUploadToAzure.SASToken&&(n+=y.opts.fileUploadToAzure.SASToken),s="PUT");var l=y.core.getXHR(n,s);if(y.opts.fileUploadToAzure){var p=(new Date).toUTCString();if(!y.opts.fileUploadToAzure.SASToken&&y.opts.fileUploadToAzure.accessKey){var f=y.opts.fileUploadToAzure.account,d=y.opts.fileUploadToAzure.container;if(y.opts.fileUploadToAzure.uploadURL){var u=y.opts.fileUploadToAzure.uploadURL.split("/");d=u.pop(),f=u.pop().split(".")[0]}var c="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(p,"\nx-ms-version:2019-07-07"),v=encodeURI("/"+f+"/"+d+"/"+o.name),g=s+"\n\n\n"+o.size+"\n\n"+o.type+"\n\n\n\n\n\n\n"+c+"\n"+v,h=y.cryptoJSPlugin.cryptoJS.HmacSHA256(g,y.cryptoJSPlugin.cryptoJS.enc.Base64.parse(y.opts.fileUploadToAzure.accessKey)).toString(y.cryptoJSPlugin.cryptoJS.enc.Base64),U="SharedKey "+f+":"+h;a=h,l.setRequestHeader("Authorization",U)}for(i in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",p),l.setRequestHeader("Content-Type",o.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),y.opts.fileUploadParams)y.opts.fileUploadParams.hasOwnProperty(i)&&l.setRequestHeader(i,y.opts.fileUploadParams[i]);for(i in y.opts.fileUploadToAzure.params)y.opts.fileUploadToAzure.params.hasOwnProperty(i)&&l.setRequestHeader(i,y.opts.fileUploadToAzure.params[i])}l.onload=function(){w.call(l,o.name,r,a)},l.onerror=R,l.upload.onprogress=k,l.onabort=x,P();var m=y.popups.get("file.insert");m&&(m.off("abortUpload"),m.on("abortUpload",function(){4!==l.readyState&&l.abort()})),l.send(y.opts.fileUploadToAzure?o:t)}}}function s(){a()}function l(e){if(e)return y.popups.onHide("file.insert",s),!0;var t;y.opts.fileUpload||y.opts.fileInsertButtons.splice(y.opts.fileInsertButtons.indexOf("fileUpload"),1),t='
    '.concat(y.button.buildList(y.opts.fileInsertButtons),"
    ");var o="";y.opts.fileUpload&&(o='
    ').concat(y.language.translate("Drop file"),"
    (").concat(y.language.translate("or click"),')
    '));var i={buttons:t,upload_layer:o,progress_bar:'

    Uploading

    '},r=y.popups.create("file.insert",i);return function a(o){y.events.$on(o,"dragover dragenter",".fr-file-upload-layer",function(){return u(this).addClass("fr-drop"),!1},!0),y.events.$on(o,"dragleave dragend",".fr-file-upload-layer",function(){return u(this).removeClass("fr-drop"),!1},!0),y.events.$on(o,"drop",".fr-file-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),u(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;t&&t.files&&(o.data("instance")||y).file.upload(t.files)},!0),y.helpers.isIOS()&&y.events.$on(o,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){u(this).trigger("click")}),y.events.$on(o,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var e=o.data("instance")||y;e.events.disableBlur(),o.find("input:focus").blur(),e.events.enableBlur(),e.file.upload(this.files)}u(this).val("")},!0)}(r),r}function t(e){y.node.hasClass(e,"fr-file")}function p(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var o=t.files[0];if(o&&"undefined"!=typeof o.type){if(o.type.indexOf("image")<0){if(!y.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;y.markers.remove(),y.markers.insertAtPoint(e.originalEvent),y.$el.find(".fr-marker").replaceWith(m.MARKERS),y.popups.hideAll();var i=y.popups.get("file.insert");return i||(i=l()),y.popups.setContainer("file.insert",y.$sc),y.popups.show("file.insert",e.originalEvent.pageX,e.originalEvent.pageY),P(),n(t.files),e.preventDefault(),e.stopPropagation(),!1}}else o.type.indexOf("image")<0&&(e.preventDefault(),e.stopPropagation())}}function f(){var e,t=Array.prototype.slice.call(y.el.querySelectorAll("a.fr-file")),o=[];for(e=0;e',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],_t.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,_t.IMAGE_EMBED_REGEX=/^\W*(((\s|\n)*))\W*$/i,_t.PLUGINS.filesManager=function(A){var x,s,k,l,d,f,o,c,I=A.$,M="https://i.froala.com/upload",p=!1,t=!1,L=new Map,_=new Map,E=new Map,C=new Map,S=new Map,B=new Map,r=0,a=[],g=-1,T=[],u=0,m=["file","image","imageTUI","video"],R=1,v=2,D=3,U=4,z=5,O=6,$=10,P=["video/avi","video/mpeg","video/x-ms-wmv"],h={};function b(){var e=A.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function y(e){var t;A.hasOwnProperty("imageTUI")||(o="fr-disabled"),B.forEach(function(e,t){q(t)}),w()?(t=A.popups.get("filesManager.insert"))||(t=Fe()):(t=A.popups.get("filesManager.insert"))||(t=function s(){var e='
    '.concat(A.button.buildList(A.opts.fileInsertButtons),"
    "),t="
    \n

    ".concat(A.language.translate(function a(){var e="",t=function i(){var t=[];return m.forEach(function(e){A.opts.pluginsEnabled.indexOf(e)<0&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),t}();e=t.join(", "),1

    \n
    \n \n \n
    "),i={buttons:e,upload_layer:t,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""},n=A.popups.create("filesManager.insert",i);return De(n),n}());var i=A.$tb.find('.fr-command[data-cmd="insertFiles"]');if(Q(),e||!t.hasClass("fr-active"))if(e||Z(),A.popups.refresh("filesManager.insert"),A.popups.setContainer("filesManager.insert",A.$tb),i.isVisible()){var n=A.button.getPosition(i,L.size),a=n.left,r=n.top;A.popups.show("filesManager.insert",a,r,i.outerHeight())}else A.position.forSelection(t),A.popups.show("filesManager.insert");A.popups.setPopupDimensions(t),w()&&A.popups.setFileListHeight(t),t.find(".fr-upload-progress")&&0==L.size&&t.find(".fr-upload-progress").addClass("fr-none")}function w(){var t=!0;return m.forEach(function(e){A.opts.pluginsEnabled.indexOf(e)<0&&(t=!1)}),t}function N(){Q()}function F(){if(l||function s(){var e;A.shared.$image_resizer?(l=A.shared.$image_resizer,f=A.shared.$img_overlay,A.events.on("destroy",function(){I("body").first().append(l.removeClass("fr-active"))},!0)):(A.shared.$image_resizer=I(document.createElement("div")).attr("class","fr-image-resizer"),l=A.shared.$image_resizer,A.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),A.opts.imageResize&&(l.append(H("nw")+H("ne")+H("sw")+H("se")),A.shared.$img_overlay=I(document.createElement("div")).attr("class","fr-image-overlay"),f=A.shared.$img_overlay,e=l.get(0).ownerDocument,I(e).find("body").first().append(f)));A.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,A.opts.imageResize&&(f.remove(),f=null)},!0),A.helpers.isMobile()||A.events.$on(I(A.o_win),"resize",function(){x&&!x.hasClass("fr-uploading")?at(!0):x&&(F(),replace(),J(!1))});if(A.opts.imageResize){e=l.get(0).ownerDocument,A.events.$on(l,A._mousedown,".fr-handler",V),A.events.$on(I(e),A._mousemove,Y),A.events.$on(I(e.defaultView||e.parentWindow),A._mouseup,W),A.events.$on(f,"mouseleave",W);var n=1,a=null,r=0;A.events.on("keydown",function(e){if(x){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,i=e.which;(i!==a||200"),Ee(x)),a=i,r=e.timeStamp}},!0),A.events.on("keyup",function(){n=1})}}(),!x)return!1;var e=A.$wp||A.$sc;e.append(l),l.data("instance",A);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),i=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);i-=A.helpers.getPX(e.css("border-left-width")),t-=A.helpers.getPX(e.css("border-top-width")),A.$el.is("img")&&A.$sc.is("body")&&(i=t=0);var n=ft();ct()&&(n=n.find(".fr-img-wrap"));var a=0,r=0;A.opts.iframe&&(a=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-top")),r=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(A.opts.iframe?n.offset().top+a:n.offset().top+t)-1).css("left",(A.opts.iframe?n.offset().left+r:n.offset().left+i)-1).css("width",n.get(0).getBoundingClientRect().width).css("height",n.get(0).getBoundingClientRect().height).addClass("fr-active")}function H(e){return'
    ')}function K(e){ct()?x.parents(".fr-img-caption").css("width",e):x.css("width",e)}function V(e){if(!A.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;A.undo.canDo()||A.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var i=A.$oel.get(0).ownerDocument,n=i.defaultView||i.parentWindow,a=!1;try{a=n.location!=n.parent.location&&!(n.$&&n.$.FE)}catch(o){}a&&n.frameElement&&(t+=A.helpers.getPX(I(n.frameElement).offset().left)+n.frameElement.clientLeft)}(d=I(this)).data("start-x",t),d.data("start-width",x.width()),d.data("start-height",x.height());var r=x.width();if(A.opts.imageResizeWithPercent){var s=x.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;r=(r/I(s).outerWidth()*100).toFixed(2)+"%"}K(r),f.show(),A.popups.hideAll(),ot()}function Y(e){if(!A.core.sameInstance(l))return!0;var t;if(d&&x){if(e.preventDefault(),A.$el.find("img.fr-error").left)return!1;var i=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!i)return!1;var n=i-d.data("start-x"),a=d.data("start-width");if((d.hasClass("fr-hnw")||d.hasClass("fr-hsw"))&&(n=0-n),A.opts.imageResizeWithPercent){var r=x.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;a=((a+n)/I(r).outerWidth()*100).toFixed(2),A.opts.imageRoundPercent&&(a=Math.round(a)),K("".concat(a,"%")),(t=ct()?(A.helpers.getPX(x.parents(".fr-img-caption").css("width"))/I(r).outerWidth()*100).toFixed(2):(A.helpers.getPX(x.css("width"))/I(r).outerWidth()*100).toFixed(2))===a||A.opts.imageRoundPercent||K("".concat(t,"%")),x.css("height","").removeAttr("height")}else a+n>=A.opts.imageMinWidth&&(K(a+n),t=ct()?A.helpers.getPX(x.parents(".fr-img-caption").css("width")):A.helpers.getPX(x.css("width"))),t!==a+n&&K(t),((x.attr("style")||"").match(/(^height:)|(; *height:)/)||x.attr("height"))&&(x.css("height",d.data("start-height")*x.width()/d.data("start-width")),x.removeAttr("height"));F(),A.events.trigger("image.resize",[dt()])}}function W(e){if(!A.core.sameInstance(l))return!0;if(d&&x){if(e&&e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;d=null,f.hide(),F(),A.undo.saveStep(),A.events.trigger("image.resizeEnd",[dt()])}else l.removeClass("fr-active")}function G(){B.forEach(function(e,t){var i=A.popups.get("filesManager.insert");i.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),i.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),i.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function X(e,t,i,n){A.edit.on(),x&&x.addClass("fr-error"),h[e]?(e!=D&&e!=v&&e!=U||we(100,n,!0),B.set(n,h[e]),G(),function a(){B.forEach(function(e,t){A.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))})}(),ie(A.language.translate(h[e]),n)):ie(A.language.translate("Something went wrong. Please try again."),n),!x&&i&&qe(i),A.events.trigger("filesManager.error",[{code:e,message:h[e]},t,i])}function j(){var e=A.popups.get("filesManager.insert"),t=e.find('.fr-command[data-cmd="insertAll"]'),i=e.find('.fr-command[data-cmd="deleteAll"]'),n=!0;S.forEach(function a(e,t,i){S.get(t)&&(n=!1)}),n?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),n?i.addClass("fr-disabled"):i.removeClass("fr-disabled")}function q(e){_.get(e)&&_.get(e).link&&A.events.trigger("filesManager.removed",[_.get(e).link]);var t=A.popups.get("filesManager.insert");t.find(".fr-file-"+e).get(0)!==undefined&&(t.find(".fr-file-"+e).get(0).outerHTML=""),_["delete"](e),L["delete"](e),S["delete"](e),j(),0==L.size&&(u=0),B["delete"](e),A.popups.setPopupDimensions(t,!0),A.opts.toolbarBottom?y(!0):A.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==L.size&&t.find(".fr-upload-progress").addClass("fr-none")}function Z(){for(var e=A.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),i=0;i span").css("width","".concat(t,"%"))):n.find("div").addClass("fr-indeterminate")}}function te(e){J();var t=A.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var i=t.find("h3");i.text(e),A.events.disableBlur(),i.focus()}function ie(e,t){var i=A.popups.get("filesManager.insert"),n=i.find(".fr-upload-progress-layer"),a=i.find(".fr-file-".concat(t));n.addClass("fr-error"),a.find("h5").text(e)}h[R]="File cannot be loaded from the passed link.",h[v]="No link in upload response.",h[D]="Error during file upload.",h[U]="Parsing response failed.",h[z]="File is too large.",h[O]="File type is invalid.",h[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",h[8]="File is corrupted.",h[9]="Error during file loading.",h[$]="File upload cancelled";var i,ne,ae,re,se,oe,n,le,de,fe,ce="";function pe(e){ce=e,i=document.getElementsByClassName(e),Array.prototype.map.call(i,function(e){!function n(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),ne=e.pageX,ae=e.pageY;var t=document.getElementById("filesList");ae+20>t.getBoundingClientRect().bottom&&ge(t,0,10),ae-20a.getBoundingClientRect().bottom&&ge(a,0,5),e.targetTouches[0].clientY-5\n
    \n\n \n
    \n ').concat(A.helpers.isMobile()?"
    \n
    "):"",'\n
    \n \n ').concat('','\n \n
    \n \n
    \n \n
    \n Image preview\n
    \n\n
    \n
    \n ").concat(function o(e,t,i){null==t&&(t=100);null==i&&(i="...");return e.length>t?e.substring(0,t-i.length)+i:e}(t.name,20),'\n ').concat(t.name,"\n \n
    \n
    \n
    ").concat(i,"\n
    \n \n
    \n ").concat(function l(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(t.size),"\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    ")+ye(e)+"
    \n
    ";n.find(".fr-upload-progress-layer")[0].innerHTML=r+n.find(".fr-upload-progress-layer")[0].innerHTML,L.forEach(function d(e,t,i){S.get(t)&&n.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),T.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),be(e,t),Q(),A.opts.toolbarBottom?y(!0):A.popups.setPopupDimensions(n),pe("fr-file-list-item")}function he(e){switch(e){case"application/msword":return A.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return A.icon.getFileIcon("docxIcon");case"image/gif":return A.icon.getFileIcon("gifIcon");case"image/jpeg":return A.icon.getFileIcon("jpegIcon");case"image/jpeg":return A.icon.getFileIcon("jpgIcon");case"type/text":return A.icon.getFileIcon("logIcon");case"video/quicktime":return A.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return A.icon.getFileIcon("mp3Icon");case"video/mp4":return A.icon.getFileIcon("mp4Icon");case"audio/ogg":return A.icon.getFileIcon("oggIcon");case"video/ogg":return A.icon.getFileIcon("ogvIcon");case"application/pdf":return A.icon.getFileIcon("pdfIcon");case"image/png":return A.icon.getFileIcon("pngIcon");case"text/plain":return A.icon.getFileIcon("txtIcon");case"video/webm":return A.icon.getFileIcon("webmIcon");case"image/webp":return A.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return A.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return A.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return A.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return A.icon.getFileIcon("zipIcon");default:return A.icon.getFileIcon("defaultIcon")}}function be(n,a,e){var r=A.popups.get("filesManager.insert"),t=r.find(".fr-file-item-icon-"+n).get(0);if(ze(Le(a))&&"image/gif"!=Le(a)&&"image/webp"!=Le(a)){"a"!=t.children[0].localName&&(t.innerHTML=""+t.innerHTML+"");r.find(".fr-file-item-icon-"+n).get(0).children[0].children[0];var s=new FileReader;if(null!=e&&e){var i=L.get(n);a.name=i.name,L.set(n,a)}if(s.onloadend=function(){r.find(".fr-file-item-icon-"+n).get(0).children[0].children[0].src=s.result;for(var e=atob(s.result.split(",")[1]),t=[],i=0;i\n '.concat(o.path,"\n ")}}else{var l=he(Le(a));t.innerHTML='\n '.concat(l.path,"\n ")}}function ye(e){var t="";if($e(Le(L.get(e)))){var i="fr-files-checkbox",n="";Ne(Le(L.get(e)))||(i="fr-checkbox-disabled",n="disabled");t='\n
    \n
    \n \n \n\n ").concat(''," \n
    \n \n
    ")}var a="application/msword",r="application/vnd.openxmlformats-officedocument.wordprocessingml.document",s="";return!Pe(Le(L.get(e)))&&Ne(Le(L.get(e)))||(o="fr-disabled"),$e(Le(L.get(e)))&&(o="fr-disabled"),Oe(Le(L.get(e)))&&(o="fr-disabled",Le(L.get(e))!=a&&Le(L.get(e))!=r||A.opts.googleOptions&&!A.helpers.isMobile()&&A.opts.googleOptions.API_KEY&&A.opts.googleOptions.CLIENT_ID&&(o=""),"text/plain"!=Le(L.get(e))&&Le(L.get(e))!=a&&"application/pdf"!=Le(L.get(e))&&Le(L.get(e))!=r&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=Le(L.get(e))&&"application/vnd.ms-excel"!=Le(L.get(e))&&"type/text"!=Le(L.get(e))||(s="")),"video/url"===Le(L.get(e))&&(o="fr-disabled"),t+='
    \n \n\n \n \n \n\n \n \n
    \n
    \n \n
    \n\n
    \n\n
    \n ")}function we(e,t,i){var n=A.popups.get("filesManager.insert");if(!i&&e<=100){n.find(".fr-checkbox-file-"+t).get(0).disabled=!0,n.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),n.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var a=n.find(".fr-file-progress-circle-"+t),r=n.find(".fr-file-upload-percent-"+t);return 50 *")),i=[];for(e=0;e',i.appendChild(n),document.getElementById("signout_button").onclick=a,document.getElementById("cancel_file_edit").onclick=l}function l(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=undefined)});var e=document.getElementById("editDocContainer");e.parentNode.removeChild(e),document.getElementById("user_area-".concat(p.fileIndex))&&(document.getElementById("user_area-".concat(p.fileIndex)).style.display="none"),function n(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),i=0;i'),!0);else A.html.insert('').concat(i,""));var a=A.$el.find("#fr-inserted-file");a.removeAttr("id"),A.undo.saveStep(),function M(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("a.fr-file")),i=[];for(e=0;e'.concat(_.get(o).video,""),!1,A.opts.videoSplitHTML),A.popups.hide("filesManager.insert");var m=A.$el.find(".fr-jiv");m.removeClass("fr-jiv"),m.toggleClass("fr-rv",A.opts.videoResponsive),function E(e,t,i){!A.opts.htmlUntouched&&A.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(i[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==i?e.css({"float":"none"}):"left"==i?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==i?e.css({textAlign:"left"}):"right"==i?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(m,A.opts.videoDefaultDisplay,A.opts.videoDefaultAlign),m.toggleClass("fr-draggable",A.opts.videoMove),A.events.trigger("video.inserted",[m]),Ce.call(m)}else{var v=_.get(o).link,h=_.get(o).sanitize,b=_.get(o).data,y=_.get(o).$existing_img,w=_.get(o).response;A.edit.off(),h&&(v=A.helpers.sanitizeURL(v)),function C(){var e,t;if(y){A.undo.canDo()||y.find("video").hasClass("fr-uploading")||A.undo.saveStep();var i=y.find("video").data("fr-old-src"),n=y.data("fr-replaced");y.data("fr-replaced",!1),A.$wp?((e=y.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),i&&y.find("video").attr("src",i),y.replaceWith(e)):e=y;for(var a=e.find("video").get(0).attributes,r=0;r"+A.language.translate("Your browser does not support HTML5 video.")+"");else{var d="",f=document.getElementById("fr-file-autoplay-button-"+a).checked;f&&(d="autoplay"),o=I(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+A.opts.videoDefaultDisplay[0]+("center"!=A.opts.videoDefaultAlign?" fr-fv"+A.opts.videoDefaultAlign[0]:"")).html('")}o.toggleClass("fr-draggable",A.opts.videoMove),A.edit.on(),A.events.focus(!0),A.selection.restore(),A.undo.saveStep(),A.opts.videoSplitHTML?A.markers.split():A.markers.insert();A.html.wrap();var c=A.$el.find(".fr-marker");A.node.isLastSibling(c)&&c.parent().hasClass("fr-deletable")&&c.insertAfter(c.parent());c.replaceWith(o);var p="";p=Pe(n)?"audio":"video",o.find(p).get(0).readyState>o.find(p).get(0).HAVE_FUTURE_DATA||A.helpers.isIOS()?i.call(o.find(p).get(0)):(o.find(p).on("canplaythrough load",i),o.find(p).on("error",i));return o}(v,b,Ce,Le(_.get(o)),o),Ae(),A.undo.saveStep(),A.events.trigger("video.inserted",[e,w])}()}A.popups.hide("filesManager.insert"),S["delete"](o);var x=A.popups.get("filesManager.insert");x.find("input.fr-insert-attr.fr-checkbox-file-".concat(o))[0].checked=!1,x.find(".fr-file-"+o).get(0).classList.add("fr-unchecked"),j(),document.getElementById("fr-file-autoplay-button-"+o)&&(document.getElementById("fr-file-autoplay-button-"+o).checked=!1),T=T.filter(function(e){return e!=o})}function Se(e,t){var i,n;_t.VIDEO_EMBED_REGEX.test(e)?(i="video",n=A.opts.videoSplitHTML):_t.IMAGE_EMBED_REGEX.test(e)&&(i="image",n=A.opts.imageSplitHTML),A.events.focus(!0),A.selection.restore();var a=!1;x&&(qe(),a=!0),A.html.insert('').concat(e,""),!1,n),A.popups.hide("filesManager.insert");var r=A.$el.find(".fr-jiv");r.removeClass("fr-jiv"),"video"==i&&(r.toggleClass("fr-rv",A.opts.videoResponsive),function s(e,t,i){!A.opts.htmlUntouched&&A.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(i[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==i?e.css({"float":"none"}):"left"==i?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==i?e.css({textAlign:"left"}):"right"==i?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(r,A.opts.videoDefaultDisplay,A.opts.videoDefaultAlign),r.toggleClass("fr-draggable",A.opts.videoMove),A.events.trigger(a?"video.replaced":"video.inserted",[r])),"image"==i&&(lt(r,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),r.find("img").removeClass("fr-dii"),r.find("img").addClass("fr-dib"),r.toggleClass("fr-draggable",A.opts.imageMove),A.events.trigger(a?"image.replaced":"image.inserted",[r])),t&&(c=r,A.selection.clear(),A.toolbar.disable(),A.video._editVideo(c))}function Be(e,t){try{if(!1===A.events.trigger("filesManager.uploaded",[e],!0))return A.edit.on(),!1;var i=JSON.parse(e);return i.link?i:(X(v,e,null,t),!1)}catch(n){return X(U,e,null,t),!1}}function Te(e,t){try{var i=I(e).find("Location").text(),n=I(e).find("Key").text();return!1===A.events.trigger("filesManager.uploadedToS3",[i,n,e],!0)?(A.edit.on(),!1):i}catch(a){return X(U,e,null,t),!1}}function Re(e,t,i,n){if(-1A.opts.filesManagerMaxSize)return X(z,null,null,n),!1;if(A.opts.filesManagerAllowedTypes.indexOf("*")<0&&A.opts.filesManagerAllowedTypes.indexOf(Le(e))<0)return X(O,null,null,n),!1;var a;if(function w(e){isNaN(e)||(A.popups.get("filesManager.insert").find(".fr-file-item-right-"+e).get(0).innerHTML='
    \n \n\n \n\n
    \n 0%\n
    \n
    \n
    \n
    \n
    \n
    "),C.set(e,0))}(n),A.drag_support.formdata&&(a=A.drag_support.formdata?new FormData:null),a){var r;if(!1!==A.opts.filesManagerUploadToS3)for(r in a.append("key",A.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",Le(e)),A.opts.filesManagerUploadToS3.params)A.opts.filesManagerUploadToS3.params.hasOwnProperty(r)&&a.append(r,A.opts.filesManagerUploadToS3.params[r]);for(r in A.opts.filesManagerUploadParams)A.opts.filesManagerUploadParams.hasOwnProperty(r)&&a.append(r,A.opts.filesManagerUploadParams[r]);a.append(A.opts.filesManagerUploadParam,e,e.name);var s,o,l=A.opts.filesManagerUploadURL;A.opts.filesManagerUploadToS3&&(l=A.opts.filesManagerUploadToS3.uploadURL?A.opts.filesManagerUploadToS3.uploadURL:"https://".concat(A.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(A.opts.filesManagerUploadToS3.bucket)),A.opts.filesManagerUploadToAzure&&(l=A.opts.filesManagerUploadToAzure.uploadURL?"".concat(A.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(A.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),s=l,A.opts.filesManagerUploadToAzure.SASToken&&(l+=A.opts.filesManagerUploadToAzure.SASToken),A.opts.filesManagerUploadMethod="PUT");var d=A.core.getXHR(l,A.opts.filesManagerUploadMethod);if(A.opts.filesManagerUploadToAzure){var f=(new Date).toUTCString();if(!A.opts.filesManagerUploadToAzure.SASToken&&A.opts.filesManagerUploadToAzure.accessKey){var c=A.opts.filesManagerUploadToAzure.account,p=A.opts.filesManagerUploadToAzure.container;if(A.opts.filesManagerUploadToAzure.uploadURL){var g=A.opts.filesManagerUploadToAzure.uploadURL.split("/");p=g.pop(),c=g.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(f,"\nx-ms-version:2019-07-07"),m=encodeURI("/"+c+"/"+p+"/"+e.name),v=A.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+Le(e)+"\n\n\n\n\n\n\n"+u+"\n"+m,h=A.cryptoJSPlugin.cryptoJS.HmacSHA256(v,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.filesManagerUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+c+":"+h;o=h,d.setRequestHeader("Authorization",b)}for(r in d.setRequestHeader("x-ms-version","2019-07-07"),d.setRequestHeader("x-ms-date",f),d.setRequestHeader("Content-Type",Le(e)),d.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.filesManagerUploadParams)A.opts.filesManagerUploadParams.hasOwnProperty(r)&&d.setRequestHeader(r,A.opts.filesManagerUploadParams[r]);for(r in A.opts.filesManagerUploadToAzure.params)A.opts.filesManagerUploadToAzure.params.hasOwnProperty(r)&&d.setRequestHeader(r,A.opts.filesManagerUploadToAzure.params[r])}d.onload=function(){Oe(Le(e))?function u(e,t,i,n,a){var r=this.status,s=this.response,o=this.responseXML,l=this.responseText;try{if(A.opts.filesManagerUploadToS3||A.opts.filesManagerUploadToAzure)if(201===r){var d;if(A.opts.filesManagerUploadToAzure){if(!1===A.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,s],!0))return A.edit.on(),!1;d=n}else d=Te(o,t);if(d){var f={link:d,text:e,response:s,type:i};_.set(t,f)}}else X(U,s||o,null,t);else if(200<=r&&r<300){var c=Be(l,t);if(c){var p={link:c.link,text:e,response:s,type:i};_.set(t,p)}}else X(D,s||l,null,t)}catch(g){X(U,s||l,null,t)}}.call(d,e.name,n,Le(e),s,o):function m(e,t,i,n,a){var r=this.status,s=this.response,o=this.responseXML,l=this.responseText;try{if(A.opts.filesManagerUploadToS3||A.opts.filesManagerUploadToAzure)if(201==r){var d;if(A.opts.filesManagerUploadToAzure){if(!1===A.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,s],!0))return A.edit.on(),!1;d=n}else d=Te(o,t);if(d){var f={link:d,sanitize:!1,data:[],$existing_img:e,response:s||o,type:i};_.set(t,f)}}else X(U,s||o,e,t);else if(200<=r&&r<300){var c=Be(l,t);if(c){var p={link:c.link,sanitize:!1,data:c,$existing_img:e,response:s||o,type:i};_.set(t,p)}}else X(D,s||l,e,t)}catch(g){X(U,s||l,e,t)}}.call(d,x,n,Le(e),s,o),B.has(n)||we(100,n,!0)},d.onerror=function(){X(U,this.response||this.responseText||this.responseXML,null,n)},d.upload.onprogress=function(e){!function i(e,t){e.lengthComputable&&we(e.loaded/e.total*100|0,t,!1)}(e,n)},d.onabort=function(e){!function i(e,t){X($,t,x,e)}(n,e)},d.send(A.opts.filesManagerUploadToAzure?e:a),E.set(n,d)}}function De(l){A.events.$on(l,"click",".fr-upload-progress-layer",function(e){if(A.helpers.isMobile())return e.stopPropagation(),!1},!0),A.events.$on(l,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t\n \n ";o[0].innerHTML=l+o[0].innerHTML}else if($e(Le(_.get(e)))){var d;if(_.get(e).hasOwnProperty("video")){var f=_.get(e).video.substring(_.get(e).video.indexOf("src")+3),c=f.substring(f.indexOf('"')+1);c=c.substring(0,c.indexOf('"')),d='
    \n
    \n
    ×
    \n \n
    \n
    ')}else d='
    \n
    \n
    ×
    \n \n
    \n
    ";o[0].innerHTML=d+o[0].innerHTML}else if(Pe(Le(_.get(e)))){var p='
    \n
    \n
    ×
    \n \n
    \n
    ');o[0].innerHTML=p+o[0].innerHTML}else if(Oe(Le(_.get(e)))){var g=_.get(e).link,u=_.get(e).text;if(g.endsWith(".pdf")||g.endsWith(".txt")){var m='
    \t\n
    \t\n
    ×
    \t\n \t\n
    \t\n
    ');o[0].innerHTML=m+o[0].innerHTML}else if(0===g.indexOf("blob:")&&A.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(L.get(e),u);else{var v=document.createElement("a");v.href=g,v.download=u,v.click()}}}}(t)}),A.events.$on(l,"click",".fr-file-delete-button",function(e){q(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-file-cancel-upload-button",function(e){!function i(e){var t=A.popups.get("filesManager.insert");t.find(".fr-file-item-right-"+e).get(0).innerHTML=ye(e),E.get(e).abort(),xe(e,100,!0),t.find(".fr-checkbox-file-"+e).get(0).disabled=!0}(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-upload-delete-button",function(e){!function t(e){0!=E.get(e).readyState&&(E.get(e).abort(),xe(e,100,!0),E["delete"](e)),q(e)}(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-file-view-close",function(e){l.find(".fr-file-view-modal").get(0).outerHTML=""}),A.events.$on(l,"click",".fr-plugins-enable",function(e){!function t(){m.forEach(function(e){A.opts.pluginsEnabled.indexOf(e)<0&&A.opts.pluginsEnabled.push(e)})}(),function i(e){for(var t in e)if(!A[t]){if(_t.PLUGINS[t]&&A.opts.pluginsEnabled.indexOf(t)<0)continue;A[t]=new e[t](A),A[t]._init&&A[t]._init()}}(_t.PLUGINS),A.popups.get("filesManager.insert").get(0).outerHTML="",Fe(),y(!0)}),A.events.$on(l,"click",".fr-plugins-cancel",function(e){A.popups.hide("filesManager.insert")}),A.events.$on(l,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),A.events.$on(l,"drop",".fr-files-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),I(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var i=l.data("instance")||A;i.events.disableBlur();for(var n=[],a=0;a'.concat(a,'').concat(r,""));var s=A.opts.filesInsertButtons.indexOf("filesUpload"),o=A.opts.filesInsertButtons.indexOf("filesByURL"),l=A.opts.filesInsertButtons.indexOf("filesEmbed"),d="";0<=s&&(t=" fr-active",0<=o&&o
    Drag & Drop One or More Files
    OR
    Click Browse Files
    '));var f="";0<=l&&(t=" fr-active",(s
    "));var c="";0<=o&&(t=" fr-active",0<=s&&s
    "));var p={buttons:n,upload_layer:d,by_url_layer:c,embed_layer:f,upload_progress_layer:"
    "),progress_bar:'

    Uploading

    '};return 1<=A.opts.imageInsertButtons.length&&(i=A.popups.create("filesManager.insert",p)),A.$wp&&A.events.$on(A.$wp,"scroll",function(){x&&A.popups.isVisible("filesManager.insert")&&replace()}),De(i),A.popups.setPopupDimensions(i),i}function He(e){var t=e.split("/").pop();if(t.split(".").length<2){var i=new Date;return t+"-"+i.getDate()+"/"+(i.getMonth()+1)+"/"+i.getFullYear()}return t}function Ke(){x&&A.popups.get("image.alt").find("input").val(x.attr("alt")||"").trigger("change")}function Ve(){var e=A.popups.get("image.alt");e||(e=Ye()),Q(),A.popups.refresh("image.alt"),A.popups.setContainer("image.alt",A.$sc);var t=ft();ct()&&(t=t.find(".fr-img-wrap"));var i=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();A.popups.show("image.alt",i,n,t.outerHeight(),!0)}function Ye(e){if(e)return A.popups.onRefresh("image.alt",Ke),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.imageAltButtons),"
    "),alt_layer:'
    ")},i=A.popups.create("image.alt",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-alt",function(){x&&A.popups.isVisible("image.alt")&&Ve()}),i}function We(){var e=A.popups.get("image.size");if(x)if(ct()){var t=x.parent();t.get(0).style.width||(t=x.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(x.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(x.get(0).style.height).trigger("change")}function Ge(){var e=A.popups.get("image.size");e||(e=Xe()),Q(),A.popups.refresh("image.size"),A.popups.setContainer("image.size",A.$sc);var t=ft();ct()&&(t=t.find(".fr-img-wrap"));var i=t.offset().left+t.outerWidth()/2,n=t.offset().top+t.outerHeight();A.popups.show("image.size",i,n,t.outerHeight(),!0)}function Xe(e){if(e)return A.popups.onRefresh("image.size",We),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.imageSizeButtons),"
    "),size_layer:'
    ")},i=A.popups.create("image.size",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-size",function(){x&&A.popups.isVisible("image.size")&&Ge()}),i}function je(e,t,i,n){return e.pageX=t,V.call(this,e),e.pageX=e.pageX+i*Math.floor(Math.pow(1.1,n)),Y.call(this,e),W.call(this,e),++n}function qe(e){(e=e||ft())&&!1!==A.events.trigger("image.beforeRemove",[e])&&(A.popups.hideAll(),at(!0),A.undo.canDo()||A.undo.saveStep(),e.get(0)==A.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(A.selection.setBefore(e.get(0).parentNode)||A.selection.setAfter(e.get(0).parentNode)||e.parent().after(_t.MARKERS),I(e.get(0).parentNode).remove()):(A.selection.setBefore(e.get(0))||A.selection.setAfter(e.get(0))||e.after(_t.MARKERS),e.remove()),A.html.fillEmptyBlocks(),A.selection.restore()),A.undo.saveStep())}function Ze(e){var t=e.which;if(x&&(t==_t.KEYCODE.BACKSPACE||t==_t.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),qe(),!1;if(x&&t==_t.KEYCODE.ESC){var i=x;return at(!0),A.selection.setAfter(i.get(0)),A.selection.restore(),e.preventDefault(),!1}if(!x||t!=_t.KEYCODE.ARROW_LEFT&&t!=_t.KEYCODE.ARROW_RIGHT)return x&&t===_t.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),at(!0),!1):x&&t!=_t.KEYCODE.F10&&!A.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var n=x.get(0);return at(!0),t==_t.KEYCODE.ARROW_LEFT?A.selection.setBefore(n):A.selection.setAfter(n),A.selection.restore(),e.preventDefault(),!1}function Je(e){if(e&&"IMG"==e.tagName){if(A.node.hasClass(e,"fr-uploading")||A.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):A.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&A.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var i=e.nextSibling;i&&i.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var n=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a"));var n=A.$el.find('img[data-fr-image-pasted="true"]');n&<(n,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),A.events.trigger("paste.after")}function it(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var i=0;i"):I(A.node.blockParent(e.get(0))).after("<".concat(A.html.defaultTag(),">
    ")))})})(),"IMG"==A.el.tagName&&A.$el.addClass("fr-view"),A.helpers.isMobile()&&(A.events.$on(A.$el,"touchstart","IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',function(){fe=!1}),A.events.$on(A.$el,"touchmove",function(){fe=!0})),A.$wp?(A.events.on("window.keydown keydown",Ze,!0),A.events.on("keyup",function(e){if(x&&e.which==_t.KEYCODE.ENTER)return!1},!0),A.events.$on(A.$el,"keydown",function(){var e=A.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&A.node.isLastSibling(e))&&(e=e.parentNode),A.node.hasClass(e,"fr-inner")||(A.node.hasClass(e,"fr-img-caption")||(e=I(e).parents(".fr-img-caption").get(0)),A.node.hasClass(e,"fr-img-caption")&&(I(e).after(_t.INVISIBLE_SPACE+_t.MARKERS),A.selection.restore()))})):A.events.$on(A.$win,"keydown",Ze),A.events.on("toolbar.esc",function(){if(x){if(A.$wp)A.events.disableBlur(),A.events.focus();else{var e=x;at(!0),A.selection.setAfter(e.get(0)),A.selection.restore()}return!1}},!0),A.events.on("toolbar.focusEditor",function(){if(x)return!1},!0),A.events.on("window.cut window.copy",function(e){if(x&&A.popups.isVisible("image.edit")&&!A.popups.get("image.edit").find(":focus").length){var t=ft();ct()?(t.before(_t.START_MARKER),t.after(_t.END_MARKER),A.selection.restore(),A.paste.saveCopiedText(t.get(0).outerHTML,t.text())):A.paste.saveCopiedText(x.get(0).outerHTML,x.attr("alt")),"copy"==e.type?setTimeout(function(){Ee(x)}):(at(!0),A.undo.saveStep(),setTimeout(function(){A.undo.saveStep()},0))}},!0),A.browser.msie&&A.events.on("keydown",function(e){if(!A.selection.isCollapsed()||!x)return!0;var t=e.which;t==_t.KEYCODE.C&&A.keys.ctrlKey(e)?A.events.trigger("window.copy"):t==_t.KEYCODE.X&&A.keys.ctrlKey(e)&&A.events.trigger("window.cut")}),A.events.$on(I(A.o_win),"keydown",function(e){var t=e.which;if(x&&t==_t.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),A.events.$on(A.$win,"keydown",function(e){var t=e.which;x&&x.hasClass("fr-uploading")&&t==_t.KEYCODE.ESC&&x.trigger("abortUpload")}),A.events.on("destroy",function(){x&&x.hasClass("fr-uploading")&&x.trigger("abortUpload")}),A.events.on("paste.before",it),A.events.on("paste.beforeCleanup",nt),A.events.on("paste.after",et),A.events.on("html.processGet",Je),A.opts.imageOutputSize&&A.events.on("html.beforeGet",function(){n=A.el.querySelectorAll("img");for(var e=0;e \n '.concat(A.button.buildList(A.opts.imageEditButtons),"\n ")};return A.popups.create("image.edit",i)}return!1}(!0),Fe(!0),Xe(!0),Ye(!0),A.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return qe(e),!1}),A.events.on("popups.hide.filesManager.insert",function(e){A.filesManager.minimizePopup(k)})},showInsertPopup:y,showLayer:function gt(e){var t,i,n=A.popups.get("filesManager.insert");if(x||A.opts.toolbarInline){if(x){var a=ft();ct()&&(a=a.find(".fr-img-wrap")),i=a.offset().top+a.outerHeight(),t=a.offset().left}}else{var r=A.$tb.find('.fr-command[data-cmd="insertFiles"]');t=r.offset().left,i=r.offset().top+(A.opts.toolbarBottom?10:r.outerHeight()-10)}!x&&A.opts.toolbarInline&&(i=n.offset().top-A.helpers.getPX(n.css("margin-top")),n.hasClass("fr-above")&&(i+=n.outerHeight())),n.find(".fr-layer").removeClass("fr-active"),n.find(".fr-".concat(e,"-layer")).addClass("fr-active"),n.find(".fr-upload-progress-layer").addClass("fr-active"),A.popups.show("filesManager.insert",t,i,x?x.outerHeight():0),A.accessibility.focusPopup(n)},refreshUploadButton:function ut(e){var t=A.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function mt(e){var t=A.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:Re,insertByURL:function vt(){for(var e,t=A.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),i=t.val().trim().split(/[ ,]+/),n=[],a=0,r=0;r

     

    '),e.wrap(''),x.after('").concat(_t.START_MARKER).concat(A.language.translate("Image Caption")).concat(_t.END_MARKER,"")),x.removeAttr("class").removeAttr("style").removeAttr("width"),x.parents(".fr-img-caption").css("width",o),at(!0),A.selection.restore()}else e=ft(),x.insertAfter(e),x.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),Ee(x)},refreshEmbedButton:function Mt(e){var t=A.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function Et(e){void 0===e&&(e=A.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0===e.length||!_t.VIDEO_EMBED_REGEX.test(e)&&!_t.IMAGE_EMBED_REGEX.test(e)?(te(A.language.translate("Something went wrong. Please try again.")),_t.VIDEO_EMBED_REGEX.test(e)&&A.events.trigger("video.codeError",[e])):Se(e)},hasCaption:ct,exitEdit:at,edit:Ee,cancelFileInsert:function Ct(){this.file_manager_dialog_open=!1,E.forEach(function(e,t){4!=e.readyState&&(e.abort(),q(t))});var e=A.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),r=0,E=new Map,C=new Map,Z(),A.popups.hide("filesManager.insert")},minimizePopup:function At(e){this.file_manager_dialog_open=!1,A.popups.hide("filesManager.insert"),Z()},editImage:Ie,saveImage:function kt(e){var t=_.get(s);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),_.set(s,t)},_showErrorMessage:te,_showFileErrorMessage:ie,getFileThumbnail:be,deleteFile:q,checkAutoplay:Ue,checkInsertAllState:j,_disableInsertCheckbox:G,_getFileType:Le,isChildWindowOpen:function It(){return p},setChildWindowState:function Lt(e){e!==undefined&&(p=e)},resetAllFilesCheckbox:Z}},_t.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),_t.RegisterShortcut(_t.KEYCODE.P,"insertFiles",null,"P"),_t.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),_t.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),_t.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),_t.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),_t.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),_t.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),_t.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),_t.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),_t.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),_t.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),_t.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),_t.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),_t.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),_t.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),_t.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),_t.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),_t.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),_t.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),_t.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),_t.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),_t.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}})}); \ No newline at end of file diff --git a/webroot/js/plugins/font_family.min.js b/webroot/js/plugins/font_family.min.js index 4c05810f..c49e6f71 100644 --- a/webroot/js/plugins/font_family.min.js +++ b/webroot/js/plugins/font_family.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),e.PLUGINS.fontFamily=function(o){var i=o.$;function r(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return i(this).grep(t,function(e){return 0 span").text(o.opts.fontFamily[n()]||t[0]||o.language.translate(o.opts.fontFamilyDefaultSelection))}}}},e.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='"},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),e.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"})}); \ No newline at end of file diff --git a/webroot/js/plugins/font_size.min.js b/webroot/js/plugins/font_size.min.js index de157f57..88e2cc21 100644 --- a/webroot/js/plugins/font_size.min.js +++ b/webroot/js/plugins/font_size.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],e):e(t.FroalaEditor)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t["default"]:t,Object.assign(t.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),t.PLUGINS.fontSize=function(o){var i=o.$;return{apply:function e(t){o.format.applyStyle("font-size",t)},refreshOnShow:function a(t,e){var n=i(o.selection.element()).css("font-size");"pt"===o.opts.fontSizeUnit&&(n="".concat(Math.round(72*parseFloat(n,10)/96),"pt")),e.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),e.find('.fr-command[data-param1="'.concat(n,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function n(t){if(o.opts.fontSizeSelection){var e=o.helpers.getPX(i(o.selection.element()).css("font-size"));"pt"===o.opts.fontSizeUnit&&(e="".concat(Math.round(72*parseFloat(e,10)/96),"pt")),t.find("> span").text(e)}}}},t.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(t){return t.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(t){return t.opts.fontSizeDefaultSelection},html:function(){for(var t='"},callback:function(t,e){this.fontSize.apply(e)},refresh:function(t){this.fontSize.refresh(t)},refreshOnShow:function(t,e){this.fontSize.refreshOnShow(t,e)},plugin:"fontSize"}),t.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"})}); \ No newline at end of file diff --git a/webroot/js/plugins/forms.min.js b/webroot/js/plugins/forms.min.js index 8f861e32..f64358ac 100644 --- a/webroot/js/plugins/forms.min.js +++ b/webroot/js/plugins/forms.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],e):e(t.FroalaEditor)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t["default"]:t,Object.assign(t.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(t.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),t.PLUGINS.forms=function(s){var u,r=s.$;function e(t){s.selection.clear(),r(this).data("mousedown",!0)}function o(t){r(this).data("mousedown")&&(t.stopPropagation(),r(this).removeData("mousedown"),f(u=this)),t.preventDefault()}function n(){s.$el.find("input, textarea, button").removeData("mousedown")}function a(){r(this).removeData("mousedown")}function p(){return u||null}function f(t){if(-1==["checkbox","radio"].indexOf(t.type)){var e=s.popups.get("forms.edit");e||(e=function i(){var t="";0'.concat(s.button.buildList(s.opts.formEditButtons),""));var e={buttons:t},o=s.popups.create("forms.edit",e);return s.$wp&&s.events.$on(s.$wp,"scroll.link-edit",function(){p()&&s.popups.isVisible("forms.edit")&&f(p())}),o}());var o=r(u=t);s.popups.refresh("forms.edit"),s.popups.setContainer("forms.edit",s.$sc);var n=o.offset().left+o.outerWidth()/2,a=o.offset().top+o.outerHeight();s.popups.show("forms.edit",n,a,o.outerHeight())}}function i(){var t=s.popups.get("forms.update"),e=p();if(e){var o=r(e);o.is("button")?t.find('input[type="text"][name="text"]').val(o.text()):o.is("input[type=button]")||o.is("input[type=submit]")||o.is("input[type=reset]")?t.find('input[type="text"][name="text"]').val(o.val()):t.find('input[type="text"][name="text"]').val(o.attr("placeholder"))}t.find('input[type="text"][name="text"]').trigger("change")}function d(){u=null}function l(t){if(t)return s.popups.onRefresh("forms.update",i),s.popups.onHide("forms.update",d),!0;var e="";1<=s.opts.formUpdateButtons.length&&(e='
    '.concat(s.button.buildList(s.opts.formUpdateButtons),"
    "));var o=0,n={buttons:e,text_layer:'
    \n
    \n
    ")};return s.popups.create("forms.update",n)}return{_init:function c(){!function t(){s.events.$on(s.$el,s._mousedown,"input, textarea, button",e),s.events.$on(s.$el,s._mouseup,"input, textarea, button",o),s.events.$on(s.$el,"touchmove","input, textarea, button",a),s.events.$on(s.$el,s._mouseup,n),s.events.$on(s.$win,s._mouseup,n),l(!0)}(),s.events.$on(s.$el,"submit","form",function(t){return t.preventDefault(),!1})},updateInput:function m(){var t=s.popups.get("forms.update"),e=p();if(e){var o=r(e),n=t.find('input[type="text"][name="text"]').val()||"";o.is("button")?n.length?o.text(n):o.text("\u200b"):-1!=["button","submit","reset"].indexOf(e.type)?o.attr("value",n):o.attr("placeholder",n),s.popups.hide("forms.update"),f(e)}},getInput:p,applyStyle:function v(t,e,o){void 0===e&&(e=s.opts.formStyles),void 0===o&&(o=s.opts.formMultipleStyles);var n=p();if(!n)return!1;if(!o){var a=Object.keys(e);a.splice(a.indexOf(t),1),r(n).removeClass(a.join(" "))}r(n).toggleClass(t)},showUpdatePopup:function h(){var t=p();if(t){var e=r(t),o=s.popups.get("forms.update");o||(o=l()),s.popups.isVisible("forms.update")||s.popups.refresh("forms.update"),s.popups.setContainer("forms.update",s.$sc);var n=e.offset().left+e.outerWidth()/2,a=e.offset().top+e.outerHeight();s.popups.show("forms.update",n,a,e.outerHeight())}},showEditPopup:f,back:function b(){s.events.disableBlur(),s.selection.restore(),s.events.enableBlur();var t=p();t&&s.$wp&&("BUTTON"===t.tagName&&s.selection.restore(),f(t))}}},t.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),t.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),t.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var t='"},callback:function(t,e){var o=this.forms.getInput();o&&(this.forms.applyStyle(e),this.forms.showEditPopup(o))},refreshOnShow:function(t,e){var o=this.$,n=this.forms.getInput();if(n){var a=o(n);e.find(".fr-command").each(function(){var t=o(this).data("param1");o(this).toggleClass("fr-active",a.hasClass(t))})}}}),t.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),t.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),t.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),t.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}})}); \ No newline at end of file diff --git a/webroot/js/plugins/fullscreen.min.js b/webroot/js/plugins/fullscreen.min.js index a5f85f68..e40b949f 100644 --- a/webroot/js/plugins/fullscreen.min.js +++ b/webroot/js/plugins/fullscreen.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";(e=e&&e.hasOwnProperty("default")?e["default"]:e).PLUGINS.fullscreen=function(s){var t,r,o,n,i=s.$,a=function a(){return s.$box.hasClass("fr-fullscreen")};function l(){if(s.helpers.isIOS()&&s.core.hasFocus())return s.$el.blur(),setTimeout(c,250),!1;t=s.helpers.scrollTop(),s.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),s.helpers.isMobile()&&(s.$tb.data("parent",s.$tb.parent()),s.$box.prepend(s.$tb),s.$tb.data("sticky-dummy")&&s.$tb.after(s.$tb.data("sticky-dummy"))),r=s.opts.height,o=s.opts.heightMax,n=s.opts.z_index,s.opts.height=s.o_win.innerHeight-(s.opts.toolbarInline?0:s.$tb.outerHeight()+(s.$second_tb?s.$second_tb.outerHeight():0)),s.opts.zIndex=2147483641,s.opts.heightMax=null,s.size.refresh(),s.opts.toolbarInline&&s.toolbar.showInline();for(var e=s.$box.parent();!e.first().is("body");)e.addClass("fr-fullscreen-wrapper"),e=e.parent();s.opts.toolbarContainer&&s.$box.prepend(s.$tb),s.events.trigger("charCounter.update"),s.events.trigger("codeView.update"),s.$win.trigger("scroll")}function f(){if(s.helpers.isIOS()&&s.core.hasFocus())return s.$el.blur(),setTimeout(c,250),!1;s.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),s.$tb.data("parent")&&s.$tb.data("parent").prepend(s.$tb),s.$tb.data("sticky-dummy")&&s.$tb.after(s.$tb.data("sticky-dummy")),s.opts.height=r,s.opts.heightMax=o,s.opts.zIndex=n,s.size.refresh(),i(s.o_win).scrollTop(t),s.opts.toolbarInline&&s.toolbar.showInline(),s.events.trigger("charCounter.update"),s.opts.toolbarSticky&&s.opts.toolbarStickyOffset&&(s.opts.toolbarBottom?s.$tb.css("bottom",s.opts.toolbarStickyOffset).data("bottom",s.opts.toolbarStickyOffset):s.$tb.css("top",s.opts.toolbarStickyOffset).data("top",s.opts.toolbarStickyOffset));for(var e=s.$box.parent();!e.first().is("body");)e.removeClass("fr-fullscreen-wrapper"),e=e.parent();s.opts.toolbarContainer&&i(s.opts.toolbarContainer).append(s.$tb),i(s.o_win).trigger("scroll"),s.events.trigger("codeView.update")}function c(){a()?f():l(),d(s.$tb.find('.fr-command[data-cmd="fullscreen"]'));var e=s.$tb.find('.fr-command[data-cmd="moreText"]'),t=s.$tb.find('.fr-command[data-cmd="moreParagraph"]'),r=s.$tb.find('.fr-command[data-cmd="moreRich"]'),o=s.$tb.find('.fr-command[data-cmd="moreMisc"]');e.length&&s.refresh.moreText(e),t.length&&s.refresh.moreParagraph(t),r.length&&s.refresh.moreRich(r),o.length&&s.refresh.moreMisc(o)}function d(e){var t=a();e.toggleClass("fr-active",t).attr("aria-pressed",t),e.find("> *").not(".fr-sr-only").replaceWith(t?s.icon.create("fullscreenCompress"):s.icon.create("fullscreen"))}return{_init:function e(){if(!s.$wp)return!1;s.events.$on(i(s.o_win),"resize",function(){a()&&(f(),l())}),s.events.on("toolbar.hide",function(){if(a()&&s.helpers.isMobile())return!1}),s.events.on("position.refresh",function(){if(s.helpers.isIOS())return!a()}),s.events.on("destroy",function(){a()&&f()},!0)},toggle:c,refresh:d,isActive:a}},e.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),e.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),e.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"})}); \ No newline at end of file diff --git a/webroot/js/plugins/help.min.js b/webroot/js/plugins/help.min.js index 8743049d..a1b1b33f 100644 --- a/webroot/js/plugins/help.min.js +++ b/webroot/js/plugins/help.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),e.PLUGINS.help=function(c){var a,o=c.$,s="help";return{_init:function e(){},show:function d(){if(!a){var e="

    ".concat(c.language.translate("Shortcuts"),"

    "),t=function n(){for(var e='
    ',t=0;t";a+="".concat(c.language.translate(l.title),""),a+="";for(var o=0;o",a+="".concat(c.language.translate(s.desc),""),a+="".concat(s.val.replace("OSkey",c.helpers.isMac()?"⌘":"Ctrl+"),""),a+=""}e+=a+=""}return e+="
    "}(),l=c.modals.create(s,e,t);a=l.$modal,c.events.$on(o(c.o_win),"resize",function(){c.modals.resize(s)})}c.modals.show(s),c.modals.resize(s)},hide:function t(){c.modals.hide(s)}}},e.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),e.RegisterShortcut(e.KEYCODE.SLASH,"help",null,"/"),e.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1})}); \ No newline at end of file diff --git a/webroot/js/plugins/image.min.js b/webroot/js/plugins/image.min.js index ea2c739d..7679c254 100644 --- a/webroot/js/plugins/image.min.js +++ b/webroot/js/plugins/image.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(Le){"use strict";function _e(e){return(_e="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)}Le=Le&&Le.hasOwnProperty("default")?Le["default"]:Le,Object.assign(Le.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(Le.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),Le.PLUGINS.image=function(A){var C,l,p,f,s,a,S=A.$,E="https://i.froala.com/upload",t=!1,i=1,c=2,d=3,m=4,R=5,U=6,n={};function g(){var e=A.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),C&&e.val(C.attr("src")),e.trigger("change")}function r(){var e=A.popups.get("image.edit");if(e||(e=P()),e){var t=we();Ae()&&(t=t.find(".fr-img-wrap")),A.popups.setContainer("image.edit",A.$sc),A.popups.refresh("image.edit");var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();C.hasClass("fr-uploading")?I():A.popups.show("image.edit",a,i,t.outerHeight(),!0)}}function u(){z()}function o(e){0"),O(C)),n=a,r=e.timeStamp}},!0),A.events.on("keyup",function(){i=1})}}(),!C)return!1;var e=A.$wp||A.$sc;e.append(l),l.data("instance",A);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),a=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);a-=A.helpers.getPX(e.css("border-left-width")),t-=A.helpers.getPX(e.css("border-top-width")),A.$el.is("img")&&A.$sc.is("body")&&(a=t=0);var i=we();Ae()&&(i=i.find(".fr-img-wrap"));var n=0,r=0;A.opts.iframe&&(n=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-top")),r=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(A.opts.iframe?i.offset().top+n:i.offset().top+t)-1).css("left",(A.opts.iframe?i.offset().left+r:i.offset().left+a)-1).css("width",i.get(0).getBoundingClientRect().width).css("height",i.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'
    ')}function y(e){Ae()?C.parents(".fr-img-caption").css("width",e):C.css("width",e)}function w(e){if(!A.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;A.undo.canDo()||A.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var a=A.$oel.get(0).ownerDocument,i=a.defaultView||a.parentWindow,n=!1;try{n=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(s){}n&&i.frameElement&&(t+=A.helpers.getPX(S(i.frameElement).offset().left)+i.frameElement.clientLeft)}(p=S(this)).data("start-x",t),p.data("start-width",C.width()),p.data("start-height",C.height());var r=C.width();if(A.opts.imageResizeWithPercent){var o=C.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;r=(r/S(o).outerWidth()*100).toFixed(2)+"%"}y(r),f.show(),A.popups.hideAll(),de()}function x(e){if(!A.core.sameInstance(l))return!0;var t;if(p&&C){if(e.preventDefault(),A.$el.find("img.fr-error").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var i=a-p.data("start-x"),n=p.data("start-width");if((p.hasClass("fr-hnw")||p.hasClass("fr-hsw"))&&(i=0-i),A.opts.imageResizeWithPercent){var r=C.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;n=((n+i)/S(r).outerWidth()*100).toFixed(2),A.opts.imageRoundPercent&&(n=Math.round(n)),y("".concat(n,"%")),(t=Ae()?(A.helpers.getPX(C.parents(".fr-img-caption").css("width"))/S(r).outerWidth()*100).toFixed(2):(A.helpers.getPX(C.css("width"))/S(r).outerWidth()*100).toFixed(2))===n||A.opts.imageRoundPercent||y("".concat(t,"%")),C.css("height","").removeAttr("height")}else n+i>=A.opts.imageMinWidth&&(y(n+i),t=Ae()?A.helpers.getPX(C.parents(".fr-img-caption").css("width")):A.helpers.getPX(C.css("width"))),t!==n+i&&y(t),((C.attr("style")||"").match(/(^height:)|(; *height:)/)||C.attr("height"))&&(C.css("height",p.data("start-height")*C.width()/p.data("start-width")),C.removeAttr("height"));D(),A.events.trigger("image.resize",[ye()])}}function T(e){if(!A.core.sameInstance(l))return!0;if(p&&C){if(e&&e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;p=null,f.hide(),D(),r(),A.undo.saveStep(),A.events.trigger("image.resizeEnd",[ye()])}else l.removeClass("fr-active")}function $(e,t,a){A.edit.on(),C&&C.addClass("fr-error"),n[e]?B(A.language.translate(n[e])):B(A.language.translate("Something went wrong. Please try again.")),!C&&a&&te(a),A.events.trigger("image.error",[{code:e,message:n[e]},t,a])}function P(e){if(e)return A.$wp&&A.events.$on(A.$wp,"scroll.image-edit",function(){C&&A.popups.isVisible("image.edit")&&(A.events.disableBlur(),r())}),!0;var t="";if(0 \n '.concat(A.button.buildList(A.opts.imageEditButtons),"\n ")};return A.popups.create("image.edit",a)}return!1}function I(e){var t=A.popups.get("image.insert");if(t||(t=X()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),C){var a=we();A.popups.setContainer("image.insert",A.$sc);var i=a.offset().left,n=a.offset().top+a.height();A.popups.show("image.insert",i,n,a.outerHeight())}void 0===e&&k(A.language.translate("Uploading"),0)}function z(e){var t=A.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||A.$el.find("img.fr-error").length)){if(A.events.focus(),A.$el.find("img.fr-error").length&&(A.$el.find("img.fr-error").remove(),A.undo.saveStep(),A.undo.run(),A.undo.dropRedo()),!A.$wp&&C){var a=C;fe(!0),A.selection.setAfter(a.get(0)),A.selection.restore()}A.popups.hide("image.insert")}}function k(e,t){var a=A.popups.get("image.insert");if(a){var i=a.find(".fr-image-progress-bar-layer");i.find("h3").text(e+(t?" ".concat(t,"%"):"")),i.removeClass("fr-error"),t?(i.find("div").removeClass("fr-indeterminate"),i.find("div > span").css("width","".concat(t,"%"))):i.find("div").addClass("fr-indeterminate")}}function B(e){I();var t=A.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),A.events.disableBlur(),a.focus()}function O(e){pe.call(e.get(0))}function N(){var e=S(this);A.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),O(e),A.events.trigger("image.loaded",[e])}function L(o,e,s,l,p){l&&"string"==typeof l&&(l=A.$(l)),A.edit.off(),k(A.language.translate("Loading image")),e&&(o=A.helpers.sanitizeURL(o));var t=new Image;t.onload=function(){var e,t;if(l){A.undo.canDo()||l.hasClass("fr-uploading")||A.undo.saveStep();var a=l.data("fr-old-src");l.data("fr-image-pasted")&&(a=null),A.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),a&&l.attr("src",a),l.replaceWith(e)):e=l;for(var i=e.get(0).attributes,n=0;nA.opts.imageMaxSize)return $(R),!1;if(A.opts.imageAllowedTypes.indexOf(i.type.replace(/image\//g,""))<0)return $(U),!1;if(A.drag_support.formdata&&(a=A.drag_support.formdata?new FormData:null),a){var n;if(!1!==A.opts.imageUploadToS3)for(n in a.append("key",A.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(i.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",i.type),A.opts.imageUploadToS3.params)A.opts.imageUploadToS3.params.hasOwnProperty(n)&&a.append(n,A.opts.imageUploadToS3.params[n]);for(n in A.opts.imageUploadParams)A.opts.imageUploadParams.hasOwnProperty(n)&&a.append(n,A.opts.imageUploadParams[n]);a.append(A.opts.imageUploadParam,i,i.name);var r,o,s=A.opts.imageUploadURL,l=A.opts.imageUploadMethod;A.opts.imageUploadToS3&&(s=A.opts.imageUploadToS3.uploadURL?A.opts.imageUploadToS3.uploadURL:"https://".concat(A.opts.imageUploadToS3.region,".amazonaws.com/").concat(A.opts.imageUploadToS3.bucket)),A.opts.imageUploadToAzure&&(r=s=A.opts.imageUploadToAzure.uploadURL?"".concat(A.opts.imageUploadToAzure.uploadURL,"/").concat(i.name):encodeURI("https://".concat(A.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.imageUploadToAzure.container,"/").concat(i.name)),A.opts.imageUploadToAzure.SASToken&&(s+=A.opts.imageUploadToAzure.SASToken),l="PUT");var p=A.core.getXHR(s,l);if(A.opts.imageUploadToAzure){var f=(new Date).toUTCString();if(!A.opts.imageUploadToAzure.SASToken&&A.opts.imageUploadToAzure.accessKey){var g=A.opts.imageUploadToAzure.account,c=A.opts.imageUploadToAzure.container;if(A.opts.imageUploadToAzure.uploadURL){var d=A.opts.imageUploadToAzure.uploadURL.split("/");c=d.pop(),g=d.pop().split(".")[0]}var m="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(f,"\nx-ms-version:2019-07-07"),u=encodeURI("/"+g+"/"+c+"/"+i.name),h=l+"\n\n\n"+i.size+"\n\n"+i.type+"\n\n\n\n\n\n\n"+m+"\n"+u,v=A.cryptoJSPlugin.cryptoJS.HmacSHA256(h,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.imageUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+g+":"+v;o=v,p.setRequestHeader("Authorization",b)}for(n in p.setRequestHeader("x-ms-version","2019-07-07"),p.setRequestHeader("x-ms-date",f),p.setRequestHeader("Content-Type",i.type),p.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.imageUploadParams)A.opts.imageUploadParams.hasOwnProperty(n)&&p.setRequestHeader(n,A.opts.imageUploadParams[n]);for(n in A.opts.imageUploadToAzure.params)A.opts.imageUploadToAzure.params.hasOwnProperty(n)&&p.setRequestHeader(n,A.opts.imageUploadToAzure.params[n])}!function w(t,a,i,n,r,o){function s(){var e=S(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),A.placeholder.refresh(),O(e),D(),I(),A.edit.off(),t.onload=function(){_.call(t,e,r,o)},t.onerror=M,t.upload.onprogress=K,t.onabort=H,S(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),n?(n.attr("src",n.data("fr-old-src")),n.removeClass("fr-uploading")):e.remove(),fe(!0))}),t.send(A.opts.imageUploadToAzure?i:a)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),a=[],i=0;i'.concat(n,""));var r=A.opts.imageInsertButtons.indexOf("imageUpload"),o=A.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=r&&(t=" fr-active",0<=o&&o').concat(A.language.translate("Drop image"),"
    (").concat(A.language.translate("or click"),')
    '));var l="";0<=o&&(t=" fr-active",0<=r&&r
    "));var p={buttons:i,upload_layer:s,by_url_layer:l,progress_bar:'

    Uploading

    '};return 1<=A.opts.imageInsertButtons.length&&(a=A.popups.create("image.insert",p)),A.$wp&&A.events.$on(A.$wp,"scroll",function(){C&&A.popups.isVisible("image.insert")&&ve()}),function f(i){A.events.$on(i,"dragover dragenter",".fr-image-upload-layer",function(e){return S(this).addClass("fr-drop"),(A.browser.msie||A.browser.edge)&&e.preventDefault(),!1},!0),A.events.$on(i,"dragleave dragend",".fr-image-upload-layer",function(e){return S(this).removeClass("fr-drop"),(A.browser.msie||A.browser.edge)&&e.preventDefault(),!1},!0),A.events.$on(i,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),S(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=i.data("instance")||A;a.events.disableBlur(),a.image.upload(t.files),a.events.enableBlur()}},!0),A.helpers.isIOS()&&A.events.$on(i,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){S(this).trigger("click")},!0),A.events.$on(i,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=i.data("instance")||A;e.events.disableBlur(),i.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,C)}S(this).val("")},!0)}(a),a}function F(){C&&A.popups.get("image.alt").find("input").val(C.attr("alt")||"").trigger("change")}function q(){var e=A.popups.get("image.alt");e||(e=j()),z(),A.popups.refresh("image.alt"),A.popups.setContainer("image.alt",A.$sc);var t=we();Ae()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();A.popups.show("image.alt",a,i,t.outerHeight(),!0)}function j(e){if(e)return A.popups.onRefresh("image.alt",F),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.imageAltButtons),"
    "),alt_layer:'
    ")},a=A.popups.create("image.alt",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-alt",function(){C&&A.popups.isVisible("image.alt")&&q()}),a}function J(){var e=A.popups.get("image.size"),t=C.get(0).style.height?C.get(0).style.height:"auto",a=C.get(0).style.width?C.get(0).style.width:"auto";if(C)if(Ae()){var i=C.parent();i.get(0).style.width||(i=C.parent().parent()),e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function Q(){var e=A.popups.get("image.size");e||(e=Z()),z(),A.popups.refresh("image.size"),A.popups.setContainer("image.size",A.$sc);var t=we();Ae()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();A.popups.show("image.size",a,i,t.outerHeight(),!0)}function Z(e){if(e)return A.popups.onRefresh("image.size",J),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.imageSizeButtons),"
    "),size_layer:'
    ")},a=A.popups.create("image.size",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-size",function(){C&&A.popups.isVisible("image.size")&&Q()}),a}function ee(e,t,a,i){return e.pageX=t,w.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,i)),x.call(this,e),T.call(this,e),++i}function te(e){(e=e||we())&&!1!==A.events.trigger("image.beforeRemove",[e])&&(A.popups.hideAll(),be(),fe(!0),A.undo.canDo()||A.undo.saveStep(),e.get(0)==A.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(A.selection.setBefore(e.get(0).parentNode)||A.selection.setAfter(e.get(0).parentNode)||e.parent().after(Le.MARKERS),S(e.get(0).parentNode).remove()):(A.selection.setBefore(e.get(0))||A.selection.setAfter(e.get(0))||e.after(Le.MARKERS),e.remove()),A.html.fillEmptyBlocks(),A.selection.restore()),A.undo.saveStep())}function ae(e){var t=e.which;if(C&&(t==Le.KEYCODE.BACKSPACE||t==Le.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(C&&t==Le.KEYCODE.ESC){var a=C;return fe(!0),A.selection.setAfter(a.get(0)),A.selection.restore(),e.preventDefault(),!1}if(!C||t!=Le.KEYCODE.ARROW_LEFT&&t!=Le.KEYCODE.ARROW_RIGHT)return C&&t===Le.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),fe(!0),!1):C&&t!=Le.KEYCODE.F10&&!A.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var i=C.get(0);return fe(!0),t==Le.KEYCODE.ARROW_LEFT?A.selection.setBefore(i):A.selection.setAfter(i),A.selection.restore(),e.preventDefault(),!1}function ie(e){if(e&&"IMG"==e.tagName){if(A.node.hasClass(e,"fr-uploading")||A.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):A.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&A.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var a=e.nextSibling;a&&a.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var i=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),n=0;n"));var i=A.$el.find('img[data-fr-image-pasted="true"]');i&&me(i,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),A.events.trigger("paste.after")}function se(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var a=0;a"):S(A.node.blockParent(e.get(0))).after("<".concat(A.html.defaultTag(),">
    ")))})})(),"IMG"==A.el.tagName&&A.$el.addClass("fr-view"),A.events.$on(A.$el,A.helpers.isMobile()&&!A.helpers.isWindowsPhone()?"touchend":"click","IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',pe),A.helpers.isMobile()&&(A.events.$on(A.$el,"touchstart","IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',function(){a=!1}),A.events.$on(A.$el,"touchmove",function(){a=!0})),A.$wp?(A.events.on("window.keydown keydown",ae,!0),A.events.on("keyup",function(e){if(C&&e.which==Le.KEYCODE.ENTER)return!1},!0),A.events.$on(A.$el,"keydown",function(){var e=A.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&A.node.isLastSibling(e))&&(e=e.parentNode),A.node.hasClass(e,"fr-inner")||(A.node.hasClass(e,"fr-img-caption")||(e=S(e).parents(".fr-img-caption").get(0)),A.node.hasClass(e,"fr-img-caption")&&(S(e).after(Le.INVISIBLE_SPACE+Le.MARKERS),A.selection.restore()))})):A.events.$on(A.$win,"keydown",ae),A.events.on("toolbar.esc",function(){if(C){if(A.$wp)A.events.disableBlur(),A.events.focus();else{var e=C;fe(!0),A.selection.setAfter(e.get(0)),A.selection.restore()}return!1}},!0),A.events.on("toolbar.focusEditor",function(){if(C)return!1},!0),A.events.on("window.cut window.copy",function(e){if(C&&A.popups.isVisible("image.edit")&&!A.popups.get("image.edit").find(":focus").length){var t=we();Ae()?(t.before(Le.START_MARKER),t.after(Le.END_MARKER),A.selection.restore(),A.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(be(),A.paste.saveCopiedText(C.get(0).outerHTML,C.attr("alt"))),"copy"==e.type?setTimeout(function(){O(C)}):(fe(!0),A.undo.saveStep(),setTimeout(function(){A.undo.saveStep()},0))}},!0),A.browser.msie&&A.events.on("keydown",function(e){if(!A.selection.isCollapsed()||!C)return!0;var t=e.which;t==Le.KEYCODE.C&&A.keys.ctrlKey(e)?A.events.trigger("window.copy"):t==Le.KEYCODE.X&&A.keys.ctrlKey(e)&&A.events.trigger("window.cut")}),A.events.$on(S(A.o_win),"keydown",function(e){var t=e.which;if(C&&t==Le.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),A.events.$on(A.$win,"keydown",function(e){var t=e.which;C&&C.hasClass("fr-uploading")&&t==Le.KEYCODE.ESC&&C.trigger("abortUpload")}),A.events.on("destroy",function(){C&&C.hasClass("fr-uploading")&&C.trigger("abortUpload")}),A.events.on("paste.before",se),A.events.on("paste.beforeCleanup",le),A.events.on("paste.after",re),A.events.on("html.set",h),A.events.on("html.inserted",h),h(),A.events.on("destroy",function(){s=[]}),A.events.on("html.processGet",ie),A.opts.imageOutputSize&&A.events.on("html.beforeGet",function(){i=A.el.querySelectorAll("img");for(var e=0;e *").first().replaceWith(A.icon.create("image-align-".concat(ue())))},refreshAlignOnShow:function Pe(e,t){C&&t.find('.fr-command[data-param1="'.concat(ue(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function Ie(e){var t=we();t.removeClass("fr-dii fr-dib"),!A.opts.htmlUntouched&&A.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):me(t,e,ue()),be(),D(),r(),A.selection.clear()},refreshDisplayOnShow:function ze(e,t){C&&t.find('.fr-command[data-param1="'.concat(he(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ve,back:function e(){C?(A.events.disableBlur(),S(".fr-popup input:focus").blur(),O(C)):(A.events.disableBlur(),A.selection.restore(),A.events.enableBlur(),A.popups.hide("image.insert"),A.toolbar.showInline())},get:ye,getEl:we,insert:L,showProgressBar:I,remove:te,hideProgressBar:z,applyStyle:function ke(e,t,a){if(void 0===t&&(t=A.opts.imageStyles),void 0===a&&(a=A.opts.imageMultipleStyles),!C)return!1;var i=we();if(!a){var n=Object.keys(t);n.splice(n.indexOf(e),1),i.removeClass(n.join(" "))}"object"==_e(t[e])?(i.removeAttr("style"),i.css(t[e].style)):i.toggleClass(e),O(C)},showAltPopup:q,showSizePopup:Q,setAlt:function Be(e){if(C){var t=A.popups.get("image.alt");C.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),O(C)}},setSize:function Oe(e,t){if(C){var a=A.popups.get("image.size");e=e||a.find('input[name="width"]').val()||"",t=t||a.find('input[name="height"]').val()||"";var i=/^[\d]+((px)|%)*$/g;C.removeAttr("width").removeAttr("height"),e.match(i)?C.css("width",e):C.css("width",""),t.match(i)?C.css("height",t):C.css("height",""),Ae()&&(C.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(i)?C.parents(".fr-img-caption").css("width",e):C.parents(".fr-img-caption").css("width",""),t.match(i)?C.parents(".fr-img-caption").css("height",t):C.parents(".fr-img-caption").css("height","")),a&&a.find("input:focus").blur(),O(C)}},toggleCaption:function Ne(){var e;if(C&&!Ae()){(e=C).parent().is("a")&&(e=C.parent());var t,a,i=C.parents("ul")&&0

     

    '),e.wrap(''),C.after('").concat(Le.START_MARKER).concat(A.language.translate("Image Caption")).concat(Le.END_MARKER,"")),C.parents(".fr-img-caption").css("width",s),1').concat(this.icon.create("image-align-".concat(a)),'').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),Le.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),Le.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),Le.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),Le.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),Le.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),Le.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Le.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),Le.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),Le.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,i=this.image.getEl();i&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=i.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Le.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),Le.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),Le.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),Le.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),Le.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),Le.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),Le.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),Le.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}})}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(Le){"use strict";function _e(e){return(_e="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)}Le=Le&&Le.hasOwnProperty("default")?Le["default"]:Le,Object.assign(Le.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(Le.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),Le.PLUGINS.image=function(A){var C,l,p,f,s,a,S=A.$,E="https://i.froala.com/upload",t=!1,i=1,c=2,d=3,m=4,R=5,U=6,n={};function g(){var e=A.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),C&&e.val(C.attr("src")),e.trigger("change")}function r(){var e=A.popups.get("image.edit");if(e||(e=P()),e){var t=we();Ae()&&(t=t.find(".fr-img-wrap")),A.popups.setContainer("image.edit",A.$sc),A.popups.refresh("image.edit");var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();C.hasClass("fr-uploading")?I():A.popups.show("image.edit",a,i,t.outerHeight(),!0)}}function u(){z()}function o(e){0"),O(C)),n=a,r=e.timeStamp}},!0),A.events.on("keyup",function(){i=1})}}(),!C)return!1;var e=A.$wp||A.$sc;e.append(l),l.data("instance",A);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),a=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);a-=A.helpers.getPX(e.css("border-left-width")),t-=A.helpers.getPX(e.css("border-top-width")),A.$el.is("img")&&A.$sc.is("body")&&(a=t=0);var i=we();Ae()&&(i=i.find(".fr-img-wrap"));var n=0,r=0;A.opts.iframe&&(n=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-top")),r=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(A.opts.iframe?i.offset().top+n:i.offset().top+t)-1).css("left",(A.opts.iframe?i.offset().left+r:i.offset().left+a)-1).css("width",i.get(0).getBoundingClientRect().width).css("height",i.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'
    ')}function y(e){Ae()?C.parents(".fr-img-caption").css("width",e):C.css("width",e)}function w(e){if(!A.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;A.undo.canDo()||A.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var a=A.$oel.get(0).ownerDocument,i=a.defaultView||a.parentWindow,n=!1;try{n=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(s){}n&&i.frameElement&&(t+=A.helpers.getPX(S(i.frameElement).offset().left)+i.frameElement.clientLeft)}(p=S(this)).data("start-x",t),p.data("start-width",C.width()),p.data("start-height",C.height());var r=C.width();if(A.opts.imageResizeWithPercent){var o=C.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;r=(r/S(o).outerWidth()*100).toFixed(2)+"%"}y(r),f.show(),A.popups.hideAll(),de()}function D(e){if(!A.core.sameInstance(l))return!0;var t;if(p&&C){if(e.preventDefault(),A.$el.find("img.fr-error").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var i=a-p.data("start-x"),n=p.data("start-width");if((p.hasClass("fr-hnw")||p.hasClass("fr-hsw"))&&(i=0-i),A.opts.imageResizeWithPercent){var r=C.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;n=((n+i)/S(r).outerWidth()*100).toFixed(2),A.opts.imageRoundPercent&&(n=Math.round(n)),y("".concat(n,"%")),(t=Ae()?(A.helpers.getPX(C.parents(".fr-img-caption").css("width"))/S(r).outerWidth()*100).toFixed(2):(A.helpers.getPX(C.css("width"))/S(r).outerWidth()*100).toFixed(2))===n||A.opts.imageRoundPercent||y("".concat(t,"%")),C.css("height","").removeAttr("height")}else n+i>=A.opts.imageMinWidth&&(y(n+i),t=Ae()?A.helpers.getPX(C.parents(".fr-img-caption").css("width")):A.helpers.getPX(C.css("width"))),t!==n+i&&y(t),((C.attr("style")||"").match(/(^height:)|(; *height:)/)||C.attr("height"))&&(C.css("height",p.data("start-height")*C.width()/p.data("start-width")),C.removeAttr("height"));x(),A.events.trigger("image.resize",[ye()])}}function T(e){if(!A.core.sameInstance(l))return!0;if(p&&C){if(e&&e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;p=null,f.hide(),x(),r(),A.undo.saveStep(),A.events.trigger("image.resizeEnd",[ye()])}else l.removeClass("fr-active")}function $(e,t,a){A.edit.on(),C&&C.addClass("fr-error"),n[e]?B(A.language.translate(n[e])):B(A.language.translate("Something went wrong. Please try again.")),!C&&a&&te(a),A.events.trigger("image.error",[{code:e,message:n[e]},t,a])}function P(e){if(e)return A.$wp&&A.events.$on(A.$wp,"scroll.image-edit",function(){C&&A.popups.isVisible("image.edit")&&(A.events.disableBlur(),r())}),!0;var t="";if(0 \n '.concat(A.button.buildList(A.opts.imageEditButtons),"\n ")};return A.popups.create("image.edit",a)}return!1}function I(e){var t=A.popups.get("image.insert");if(t||(t=X()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),C){var a=we();A.popups.setContainer("image.insert",A.$sc);var i=a.offset().left,n=a.offset().top+a.height();A.popups.show("image.insert",i,n,a.outerHeight())}void 0===e&&k(A.language.translate("Uploading"),0)}function z(e){var t=A.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||A.$el.find("img.fr-error").length)){if(A.events.focus(),A.$el.find("img.fr-error").length&&(A.$el.find("img.fr-error").remove(),A.undo.saveStep(),A.undo.run(),A.undo.dropRedo()),!A.$wp&&C){var a=C;fe(!0),A.selection.setAfter(a.get(0)),A.selection.restore()}A.popups.hide("image.insert")}}function k(e,t){var a=A.popups.get("image.insert");if(a){var i=a.find(".fr-image-progress-bar-layer");i.find("h3").text(e+(t?" ".concat(t,"%"):"")),i.removeClass("fr-error"),t?(i.find("div").removeClass("fr-indeterminate"),i.find("div > span").css("width","".concat(t,"%"))):i.find("div").addClass("fr-indeterminate")}}function B(e){I();var t=A.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),A.events.disableBlur(),a.focus()}function O(e){pe.call(e.get(0))}function N(){var e=S(this);A.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),O(e),A.events.trigger("image.loaded",[e])}function L(o,e,s,l,p){l&&"string"==typeof l&&(l=A.$(l)),A.edit.off(),k(A.language.translate("Loading image")),e&&(o=A.helpers.sanitizeURL(o));var t=new Image;t.onload=function(){var e,t;if(l){A.undo.canDo()||l.hasClass("fr-uploading")||A.undo.saveStep();var a=l.data("fr-old-src");l.data("fr-image-pasted")&&(a=null),A.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),a&&l.attr("src",a),l.replaceWith(e)):e=l;for(var i=e.get(0).attributes,n=0;nA.opts.imageMaxSize)return $(R),!1;if(A.opts.imageAllowedTypes.indexOf(i.type.replace(/image\//g,""))<0)return $(U),!1;if(A.drag_support.formdata&&(a=A.drag_support.formdata?new FormData:null),a){var n;if(!1!==A.opts.imageUploadToS3)for(n in a.append("key",A.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(i.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",i.type),A.opts.imageUploadToS3.params)A.opts.imageUploadToS3.params.hasOwnProperty(n)&&a.append(n,A.opts.imageUploadToS3.params[n]);for(n in A.opts.imageUploadParams)A.opts.imageUploadParams.hasOwnProperty(n)&&a.append(n,A.opts.imageUploadParams[n]);a.append(A.opts.imageUploadParam,i,i.name);var r,o,s=A.opts.imageUploadURL,l=A.opts.imageUploadMethod;A.opts.imageUploadToS3&&(s=A.opts.imageUploadToS3.uploadURL?A.opts.imageUploadToS3.uploadURL:"https://".concat(A.opts.imageUploadToS3.region,".amazonaws.com/").concat(A.opts.imageUploadToS3.bucket)),A.opts.imageUploadToAzure&&(r=s=A.opts.imageUploadToAzure.uploadURL?"".concat(A.opts.imageUploadToAzure.uploadURL,"/").concat(i.name):encodeURI("https://".concat(A.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.imageUploadToAzure.container,"/").concat(i.name)),A.opts.imageUploadToAzure.SASToken&&(s+=A.opts.imageUploadToAzure.SASToken),l="PUT");var p=A.core.getXHR(s,l);if(A.opts.imageUploadToAzure){var f=(new Date).toUTCString();if(!A.opts.imageUploadToAzure.SASToken&&A.opts.imageUploadToAzure.accessKey){var g=A.opts.imageUploadToAzure.account,c=A.opts.imageUploadToAzure.container;if(A.opts.imageUploadToAzure.uploadURL){var d=A.opts.imageUploadToAzure.uploadURL.split("/");c=d.pop(),g=d.pop().split(".")[0]}var m="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(f,"\nx-ms-version:2019-07-07"),u=encodeURI("/"+g+"/"+c+"/"+i.name),h=l+"\n\n\n"+i.size+"\n\n"+i.type+"\n\n\n\n\n\n\n"+m+"\n"+u,v=A.cryptoJSPlugin.cryptoJS.HmacSHA256(h,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.imageUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+g+":"+v;o=v,p.setRequestHeader("Authorization",b)}for(n in p.setRequestHeader("x-ms-version","2019-07-07"),p.setRequestHeader("x-ms-date",f),p.setRequestHeader("Content-Type",i.type),p.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.imageUploadParams)A.opts.imageUploadParams.hasOwnProperty(n)&&p.setRequestHeader(n,A.opts.imageUploadParams[n]);for(n in A.opts.imageUploadToAzure.params)A.opts.imageUploadToAzure.params.hasOwnProperty(n)&&p.setRequestHeader(n,A.opts.imageUploadToAzure.params[n])}!function w(t,a,i,n,r,o){function s(){var e=S(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),A.placeholder.refresh(),O(e),x(),I(),A.edit.off(),t.onload=function(){_.call(t,e,r,o)},t.onerror=M,t.upload.onprogress=K,t.onabort=H,S(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),n?(n.attr("src",n.data("fr-old-src")),n.removeClass("fr-uploading")):e.remove(),fe(!0))}),t.send(A.opts.imageUploadToAzure?i:a)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),a=[],i=0;i'.concat(n,""));var r=A.opts.imageInsertButtons.indexOf("imageUpload"),o=A.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=r&&(t=" fr-active",0<=o&&o').concat(A.language.translate("Drop image"),"
    (").concat(A.language.translate("or click"),')
    '));var l="";0<=o&&(t=" fr-active",0<=r&&r
    "));var p={buttons:i,upload_layer:s,by_url_layer:l,progress_bar:'

    Uploading

    '};return 1<=A.opts.imageInsertButtons.length&&(a=A.popups.create("image.insert",p)),A.$wp&&A.events.$on(A.$wp,"scroll",function(){C&&A.popups.isVisible("image.insert")&&ve()}),function f(i){A.events.$on(i,"dragover dragenter",".fr-image-upload-layer",function(e){return S(this).addClass("fr-drop"),(A.browser.msie||A.browser.edge)&&e.preventDefault(),!1},!0),A.events.$on(i,"dragleave dragend",".fr-image-upload-layer",function(e){return S(this).removeClass("fr-drop"),(A.browser.msie||A.browser.edge)&&e.preventDefault(),!1},!0),A.events.$on(i,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),S(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=i.data("instance")||A;a.events.disableBlur(),a.image.upload(t.files),a.events.enableBlur()}},!0),A.helpers.isIOS()&&A.events.$on(i,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){S(this).trigger("click")},!0),A.events.$on(i,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=i.data("instance")||A;e.events.disableBlur(),i.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,C)}S(this).val("")},!0)}(a),a}function F(){C&&A.popups.get("image.alt").find("input").val(C.attr("alt")||"").trigger("change")}function q(){var e=A.popups.get("image.alt");e||(e=j()),z(),A.popups.refresh("image.alt"),A.popups.setContainer("image.alt",A.$sc);var t=we();Ae()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();A.popups.show("image.alt",a,i,t.outerHeight(),!0)}function j(e){if(e)return A.popups.onRefresh("image.alt",F),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.imageAltButtons),"
    "),alt_layer:'
    ")},a=A.popups.create("image.alt",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-alt",function(){C&&A.popups.isVisible("image.alt")&&q()}),a}function J(){var e=A.popups.get("image.size"),t=C.get(0).style.height?C.get(0).style.height:"auto",a=C.get(0).style.width?C.get(0).style.width:"auto";if(C)if(Ae()){var i=C.parent();i.get(0).style.width||(i=C.parent().parent()),e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(a).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function Q(){var e=A.popups.get("image.size");e||(e=Z()),z(),A.popups.refresh("image.size"),A.popups.setContainer("image.size",A.$sc);var t=we();Ae()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();A.popups.show("image.size",a,i,t.outerHeight(),!0)}function Z(e){if(e)return A.popups.onRefresh("image.size",J),!0;var t={buttons:'
    '.concat(A.button.buildList(A.opts.imageSizeButtons),"
    "),size_layer:'
    ")},a=A.popups.create("image.size",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-size",function(){C&&A.popups.isVisible("image.size")&&Q()}),a}function ee(e,t,a,i){return e.pageX=t,w.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,i)),D.call(this,e),T.call(this,e),++i}function te(e){(e=e||we())&&!1!==A.events.trigger("image.beforeRemove",[e])&&(A.popups.hideAll(),be(),fe(!0),A.undo.canDo()||A.undo.saveStep(),e.get(0)==A.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(A.selection.setBefore(e.get(0).parentNode)||A.selection.setAfter(e.get(0).parentNode)||e.parent().after(Le.MARKERS),S(e.get(0).parentNode).remove()):(A.selection.setBefore(e.get(0))||A.selection.setAfter(e.get(0))||e.after(Le.MARKERS),e.remove()),A.html.fillEmptyBlocks(),A.selection.restore()),A.undo.saveStep())}function ae(e){var t=e.which;if(C&&(t==Le.KEYCODE.BACKSPACE||t==Le.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(C&&t==Le.KEYCODE.ESC){var a=C;return fe(!0),A.selection.setAfter(a.get(0)),A.selection.restore(),e.preventDefault(),!1}if(!C||t!=Le.KEYCODE.ARROW_LEFT&&t!=Le.KEYCODE.ARROW_RIGHT)return C&&t===Le.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),fe(!0),!1):C&&t!=Le.KEYCODE.F10&&!A.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var i=C.get(0);return fe(!0),t==Le.KEYCODE.ARROW_LEFT?A.selection.setBefore(i):A.selection.setAfter(i),A.selection.restore(),e.preventDefault(),!1}function ie(e){if(e&&"IMG"==e.tagName){if(A.node.hasClass(e,"fr-uploading")||A.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):A.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&A.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var a=e.nextSibling;a&&a.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var i=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),n=0;n"));var i=A.$el.find('img[data-fr-image-pasted="true"]');i&&me(i,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),A.events.trigger("paste.after")}function se(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))t=e.clipboardData.items[0].getAsFile();else for(var a=0;a"):S(A.node.blockParent(e.get(0))).after("<".concat(A.html.defaultTag(),">
    ")))})})(),"IMG"==A.el.tagName&&A.$el.addClass("fr-view"),A.events.$on(A.$el,A.helpers.isMobile()&&!A.helpers.isWindowsPhone()?"touchend":"click","IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',pe),A.helpers.isMobile()&&(A.events.$on(A.$el,"touchstart","IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',function(){a=!1}),A.events.$on(A.$el,"touchmove",function(){a=!0})),A.$wp?(A.events.on("window.keydown keydown",ae,!0),A.events.on("keyup",function(e){if(C&&e.which==Le.KEYCODE.ENTER)return!1},!0),A.events.$on(A.$el,"keydown",function(){var e=A.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&A.node.isLastSibling(e))&&(e=e.parentNode),A.node.hasClass(e,"fr-inner")||(A.node.hasClass(e,"fr-img-caption")||(e=S(e).parents(".fr-img-caption").get(0)),A.node.hasClass(e,"fr-img-caption")&&(S(e).after(Le.INVISIBLE_SPACE+Le.MARKERS),A.selection.restore()))})):A.events.$on(A.$win,"keydown",ae),A.events.on("toolbar.esc",function(){if(C){if(A.$wp)A.events.disableBlur(),A.events.focus();else{var e=C;fe(!0),A.selection.setAfter(e.get(0)),A.selection.restore()}return!1}},!0),A.events.on("toolbar.focusEditor",function(){if(C)return!1},!0),A.events.on("window.cut window.copy",function(e){if(C&&A.popups.isVisible("image.edit")&&!A.popups.get("image.edit").find(":focus").length){var t=we();Ae()?(t.before(Le.START_MARKER),t.after(Le.END_MARKER),A.selection.restore(),A.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(be(),A.paste.saveCopiedText(C.get(0).outerHTML,C.attr("alt"))),"copy"==e.type?setTimeout(function(){O(C)}):(fe(!0),A.undo.saveStep(),setTimeout(function(){A.undo.saveStep()},0))}},!0),A.browser.msie&&A.events.on("keydown",function(e){if(!A.selection.isCollapsed()||!C)return!0;var t=e.which;t==Le.KEYCODE.C&&A.keys.ctrlKey(e)?A.events.trigger("window.copy"):t==Le.KEYCODE.X&&A.keys.ctrlKey(e)&&A.events.trigger("window.cut")}),A.events.$on(S(A.o_win),"keydown",function(e){var t=e.which;if(C&&t==Le.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),A.events.$on(A.$win,"keydown",function(e){var t=e.which;C&&C.hasClass("fr-uploading")&&t==Le.KEYCODE.ESC&&C.trigger("abortUpload")}),A.events.on("destroy",function(){C&&C.hasClass("fr-uploading")&&C.trigger("abortUpload")}),A.events.on("paste.before",se),A.events.on("paste.beforeCleanup",le),A.events.on("paste.after",re),A.events.on("html.set",h),A.events.on("html.inserted",h),h(),A.events.on("destroy",function(){s=[]}),A.events.on("html.processGet",ie),A.opts.imageOutputSize&&A.events.on("html.beforeGet",function(){i=A.el.querySelectorAll("img");for(var e=0;e *").first().replaceWith(A.icon.create("image-align-".concat(ue())))},refreshAlignOnShow:function Pe(e,t){C&&t.find('.fr-command[data-param1="'.concat(ue(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function Ie(e){var t=we();t.removeClass("fr-dii fr-dib"),!A.opts.htmlUntouched&&A.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):me(t,e,ue()),be(),x(),r(),A.selection.clear()},refreshDisplayOnShow:function ze(e,t){C&&t.find('.fr-command[data-param1="'.concat(he(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ve,back:function e(){C?(A.events.disableBlur(),S(".fr-popup input:focus").blur(),O(C)):(A.events.disableBlur(),A.selection.restore(),A.events.enableBlur(),A.popups.hide("image.insert"),A.toolbar.showInline())},get:ye,getEl:we,insert:L,showProgressBar:I,remove:te,hideProgressBar:z,applyStyle:function ke(e,t,a){if(void 0===t&&(t=A.opts.imageStyles),void 0===a&&(a=A.opts.imageMultipleStyles),!C)return!1;var i=we();if(!a){var n=Object.keys(t);n.splice(n.indexOf(e),1),i.removeClass(n.join(" "))}"object"==_e(t[e])?(i.removeAttr("style"),i.css(t[e].style)):i.toggleClass(e),O(C)},showAltPopup:q,showSizePopup:Q,setAlt:function Be(e){if(C){var t=A.popups.get("image.alt");C.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),O(C)}},setSize:function Oe(e,t){if(C){var a=A.popups.get("image.size");e=e||a.find('input[name="width"]').val()||"",t=t||a.find('input[name="height"]').val()||"";var i=/^[\d]+((px)|%)*$/g;C.removeAttr("width").removeAttr("height"),e.match(i)?C.css("width",e):C.css("width",""),t.match(i)?C.css("height",t):C.css("height",""),Ae()&&(C.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(i)?C.parents(".fr-img-caption").css("width",e):C.parents(".fr-img-caption").css("width",""),t.match(i)?C.parents(".fr-img-caption").css("height",t):C.parents(".fr-img-caption").css("height","")),a&&a.find("input:focus").blur(),O(C)}},toggleCaption:function Ne(){var e;if(C&&!Ae()){(e=C).parent().is("a")&&(e=C.parent());var t,a,i=C.parents("ul")&&0

     

    '),e.wrap(''),C.after('").concat(Le.START_MARKER).concat(A.language.translate("Image Caption")).concat(Le.END_MARKER,"")),C.parents(".fr-img-caption").css("width",s),1').concat(this.icon.create("image-align-".concat(a)),'').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),Le.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),Le.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),Le.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),Le.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),Le.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),Le.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Le.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),Le.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),Le.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,i=this.image.getEl();i&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=i.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),Le.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),Le.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),Le.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),Le.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),Le.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),Le.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),Le.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),Le.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}})}); \ No newline at end of file diff --git a/webroot/js/plugins/image_manager.min.js b/webroot/js/plugins/image_manager.min.js index 92fce47f..fcaff0f1 100644 --- a/webroot/js/plugins/image_manager.min.js +++ b/webroot/js/plugins/image_manager.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)}(this,function($){"use strict";if($=$&&$.hasOwnProperty("default")?$["default"]:$,Object.assign($.DEFAULTS,{imageManagerLoadURL:"https://i.froala.com/load-files",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),$.PLUGINS.imageManager=function(s){var g,l,i,o,d,m,c,f,u,p,h,v=s.$,M="image_manager",e=10,b=11,w=12,C=13,L=14,D=15,t=21,r=22,n={};function y(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function I(){d.empty();for(var e=0;e')}function P(){if(ud.outerHeight()-i.outerHeight())){f++;for(var e=s.opts.imageManagerPageSize*(f-1);e').concat(e[a],""));t.attr("data-tag",e.join())}else 0===m.find('a[title="'.concat(n.tag.trim(),'"]')).length&&m.append('').concat(n.tag.trim(),"")),t.attr("data-tag",n.tag.trim());for(var r in n.name&&t.attr("alt",n.name),n)n.hasOwnProperty(r)&&"thumb"!==r&&"url"!==r&&"tag"!==r&&t.attr("data-".concat(r),n[r]);o.append(t).append(v(s.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",s.language.translate("Delete"))).append(v(s.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",s.language.translate("Insert"))),m.find(".fr-selected-tag").each(function(e,a){j(t,a.text)||o.hide()}),t.on("load",function(){o.removeClass("fr-empty"),o.height("auto"),u++,E(T(parseInt(t.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),R(!1),u%s.opts.imageManagerPageSize==0&&P()}),s.events.trigger("imageManager.imageLoaded",[t])},i.onerror=function(){u++,o.remove(),E(T(parseInt(o.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),O(e,n),u%s.opts.imageManagerPageSize==0&&P()},i.src=n.thumb||n.url,S().append(o)}function S(){var r,n;return d.find(".fr-list-column").each(function(e,a){var t=v(a);0===e?(n=t.outerHeight(),r=t):t.outerHeight() a").each(function(){0===g.find('#fr-image-list [data-tag*="'.concat(v(this).text(),'"]')).length&&v(this).removeClass("fr-selected-tag").hide()}),_()}(),R(!0)},fail:function(e){O(t,e.response||e.responseText)}})):O(r))}function O(e,a){10<=e&&e<20?o.hide():20<=e&&e<30&&v(".fr-image-deleting").removeClass("fr-image-deleting"),s.events.trigger("imageManager.error",[{code:e,message:n[e]},a])}function q(){var e=l.find(".fr-modal-head-line").outerHeight(),a=m.outerHeight();l.toggleClass("fr-show-tags"),l.hasClass("fr-show-tags")?(l.css("height",e+a),i.css("marginTop",e+a),m.find("a").css("opacity",1)):(l.css("height",e),i.css("marginTop",e),m.find("a").css("opacity",0))}function _(){var e=m.find(".fr-selected-tag");0

    ').concat(s.language.translate("Manage Images"),'

    \n
    ');e=s.opts.imageManagerPreloader?''):'"),e+='
    ';var t=s.modals.create(M,a,e);g=t.$modal,l=t.$head,i=t.$body}g.data("current-image",s.image.get()),s.modals.show(M),o||function r(){o=g.find("#fr-preloader"),d=g.find("#fr-image-list"),m=g.find("#fr-modal-tags"),h=y(),I(),l.css("height",l.find(".fr-modal-head-line").outerHeight()),s.events.$on(v(s.o_win),"resize",function(){R(!!c)}),s.events.bindClick(d,".fr-insert-img",x),s.events.bindClick(d,".fr-delete-img",H),s.helpers.isMobile()&&(s.events.bindClick(d,"div.fr-image-container",function(e){g.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),v(e.currentTarget).addClass("fr-mobile-selected")}),g.on(s._mousedown,function(){g.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),g.on(s._mousedown+" "+s._mouseup,function(e){e.stopPropagation()}),g.on(s._mousedown,"*",function(){s.events.disableBlur()}),i.on("scroll",P),s.events.bindClick(g,"button#fr-modal-more-".concat(s.sid),q),s.events.bindClick(m,"a",k)}(),function n(){o.show(),d.find(".fr-list-column").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,a,t){s.events.trigger("imageManager.imagesLoaded",[e]),function r(e,a){try{d.find(".fr-list-column").empty(),p=u=f=0,c=JSON.parse(e),P()}catch(t){O(C,a)}}(e,t.response),o.hide()},fail:function(e){O(b,e.response||e.responseText)}}):O(w)}()},hide:function N(){s.modals.hide(M)}}},!$.PLUGINS.image)throw new Error("Image manager plugin requires image plugin.");$.DEFAULTS.imageInsertButtons.push("imageManager"),$.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),$.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),$.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),$.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"})}); \ No newline at end of file diff --git a/webroot/js/plugins/inline_class.min.js b/webroot/js/plugins/inline_class.min.js index 6be669e6..e1e18bc9 100644 --- a/webroot/js/plugins/inline_class.min.js +++ b/webroot/js/plugins/inline_class.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(n,a){"object"==typeof exports&&"undefined"!=typeof module?a(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],a):a(n.FroalaEditor)}(this,function(n){"use strict";n=n&&n.hasOwnProperty("default")?n["default"]:n,Object.assign(n.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),n.PLUGINS.inlineClass=function(e){var i=e.$;return{apply:function a(n){e.format.toggle("span",{"class":n})},refreshOnShow:function s(n,a){a.find(".fr-command").each(function(){var n=i(this).data("param1"),a=e.format.is("span",{"class":n});i(this).toggleClass("fr-active",a).attr("aria-selected",a)})}}},n.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var n='"},callback:function(n,a){this.inlineClass.apply(a)},refreshOnShow:function(n,a){this.inlineClass.refreshOnShow(n,a)},plugin:"inlineClass"}),n.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"})}); \ No newline at end of file diff --git a/webroot/js/plugins/inline_style.min.js b/webroot/js/plugins/inline_style.min.js index b552bfa7..86c889f4 100644 --- a/webroot/js/plugins/inline_style.min.js +++ b/webroot/js/plugins/inline_style.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),e.PLUGINS.inlineStyle=function(i){return{apply:function a(e){for(var t=e.split(";"),n=0;n').concat(this.language.translate(n),"")}return e+=""},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),e.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"})}); \ No newline at end of file diff --git a/webroot/js/plugins/line_breaker.min.js b/webroot/js/plugins/line_breaker.min.js index 2b484634..7b4b47dc 100644 --- a/webroot/js/plugins/line_breaker.min.js +++ b/webroot/js/plugins/line_breaker.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(h){"use strict";h=h&&h.hasOwnProperty("default")?h["default"]:h,Object.assign(h.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),h.PLUGINS.lineBreaker=function(d){var v,t,a,m=d.$;function f(e,t){var n,r,a,o,i,s,f,l;if(null==e)i=(o=t.parent()).offset().top,n=(f=t.offset().top)-Math.min((f-i)/2,d.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else if(null==t)(s=(o=e.parent()).offset().top+o.outerHeight())<(l=e.offset().top+e.outerHeight())&&(s=(o=m(o).parent()).offset().top+o.outerHeight()),n=l+Math.min(Math.abs(s-l)/2,d.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else{o=e.parent();var p=e.offset().top+e.height(),u=t.offset().top;if(ud.$box.offset().left&&e").concat(h.MARKERS,"
    ")):r.before("".concat(h.MARKERS,"
    ")):a&&"TD"!=n.parent().get(0).tagName&&0===n.parents(a).length?n.after("<".concat(a,">").concat(h.MARKERS,"
    ")):n.after("".concat(h.MARKERS,"
    ")),t.selection.restore(),d.toolbar.enable()}return{_init:function b(){if(!d.$wp)return!1;!function e(){d.shared.$line_breaker||(d.shared.$line_breaker=m(document.createElement("div")).attr("class","fr-line-breaker").html(''))),v=d.shared.$line_breaker,d.events.on("shared.destroy",function(){v.html("").removeData().remove(),v=null},!0),d.events.on("destroy",function(){v.removeData("instance").removeClass("fr-visible"),m("body").first().append(v),clearTimeout(a)},!0),d.events.$on(v,"mousemove",function(e){e.stopPropagation()},!0),d.events.bindClick(v,"a",g)}(),t=!1,d.events.$on(d.$win,"mousemove",r),d.events.$on(m(d.win),"scroll",s),d.events.on("popups.show.table.edit",s),d.events.on("commands.after",s),d.events.$on(m(d.win),"mousedown",u),d.events.$on(m(d.win),"mouseup",c)}}}}); \ No newline at end of file diff --git a/webroot/js/plugins/line_height.min.js b/webroot/js/plugins/line_height.min.js index 8a46c190..880a2960 100644 --- a/webroot/js/plugins/line_height.min.js +++ b/webroot/js/plugins/line_height.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),e.PLUGINS.lineHeight=function(n){var o=n.$;return{_init:function e(){},apply:function a(e){n.selection.save(),n.html.wrap(!0,!0,!0,!0),n.selection.restore();var t=n.selection.blocks();t.length&&o(t[0]).parent().is("td")&&n.format.applyStyle("line-height",e.toString()),n.selection.save();for(var i=0;i').concat(this.language.translate(i),""));return e+=""},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),e.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"})}); \ No newline at end of file diff --git a/webroot/js/plugins/link.min.js b/webroot/js/plugins/link.min.js index 24d81539..88572be7 100644 --- a/webroot/js/plugins/link.min.js +++ b/webroot/js/plugins/link.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(y){"use strict";y=y&&y.hasOwnProperty("default")?y["default"]:y,Object.assign(y.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(y.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0}),y.PLUGINS.link=function(u){var k=u.$;function g(){var e=u.image?u.image.get():null;if(e||!u.$wp)return"A"==u.el.tagName?u.el:e&&e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=u.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(u.el)||!u.el.contains(t)||u.el==t)&&(t=null)}catch(r){t=null}if(t&&"A"===t.tagName)return t;var n=u.selection.element(),i=u.selection.endElement();"A"==n.tagName||u.node.isElement(n)||(n=k(n).parentsUntil(u.$el,"a").first().get(0)),"A"==i.tagName||u.node.isElement(i)||(i=k(i).parentsUntil(u.$el,"a").first().get(0));try{i&&(i.contains&&i.contains(u.el)||!u.el.contains(i)||u.el==i)&&(i=null)}catch(r){i=null}try{n&&(n.contains&&n.contains(u.el)||!u.el.contains(n)||u.el==n)&&(n=null)}catch(r){n=null}return i&&i==n&&"A"==i.tagName?(u.browser.msie||u.helpers.isMobile())&&(u.selection.info(n).atEnd||u.selection.info(n).atStart)?null:n:null}function h(){var e,t,n,i,r=u.image?u.image.get():null,a=[];if(r)"A"==r.get(0).parentNode.tagName&&a.push(r.get(0).parentNode);else if(u.win.getSelection){var l=u.win.getSelection();if(l.getRangeAt&&l.rangeCount){i=u.doc.createRange();for(var s=0;s'.concat(u.button.buildList(u.opts.linkEditButtons),"
    "));var t={buttons:e},n=u.popups.create("link.edit",t);u.$wp&&u.events.$on(u.$wp,"scroll.link-edit",function(){g()&&u.popups.isVisible("link.edit")&&l(g())});return n}());var n=k(e);u.popups.isVisible("link.edit")||u.popups.refresh("link.edit"),u.popups.setContainer("link.edit",u.$sc);var i=n.offset().left+n.outerWidth()/2,r=n.offset().top+n.outerHeight();u.popups.show("link.edit",i,r,n.outerHeight(),!0)}function a(){u.popups.hide("link.edit")}function o(){var e=u.popups.get("link.insert"),t=g();if(t){var n,i,r=k(t),a=e.find('input.fr-link-attr[type="text"]'),l=e.find('input.fr-link-attr[type="checkbox"]');for(n=0;n'.concat(u.button.buildList(u.opts.linkInsertButtons),""));var n="",i=0;for(var r in n='")},s=u.popups.create("link.insert",l);return u.$wp&&u.events.$on(u.$wp,"scroll.link-insert",function(){(u.image?u.image.get():null)&&u.popups.isVisible("link.insert")&&f(),u.popups.isVisible("link.insert")&&c()}),s}function p(e,t,n){if(void 0===n&&(n={}),!1===u.events.trigger("link.beforeInsert",[e,t,n]))return!1;var i=u.image?u.image.get():null;i||"A"==u.el.tagName?"A"==u.el.tagName&&u.$el.focus():(u.selection.restore(),u.popups.hide("link.insert"));var r=e;u.opts.linkConvertEmailAddress&&u.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e="mailto:".concat(e));if(""===u.opts.linkAutoPrefix||new RegExp("^("+y.LinkProtocols.join("|")+"):.","i").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||["/","{","[","#","(","."].indexOf((e||"")[0])<0&&(e=u.opts.linkAutoPrefix+e),e=u.helpers.sanitizeURL(e),u.opts.linkAlwaysBlank&&(n.target="_blank"),u.opts.linkAlwaysNoFollow&&(n.rel="nofollow"),u.helpers.isEmail(r)&&(n.target=null,n.rel=null),"_blank"==n.target?(u.opts.linkNoOpener&&(n.rel?n.rel+=" noopener":n.rel="noopener"),u.opts.linkNoReferrer&&(n.rel?n.rel+=" noreferrer":n.rel="noreferrer")):null==n.target&&(n.rel?n.rel=n.rel.replace(/noopener/,"").replace(/noreferrer/,""):n.rel=null),t=t||"",e===u.opts.linkAutoPrefix)return u.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),u.events.trigger("link.bad",[r]),!1;var a,l=g();if(l){if((a=k(l)).attr("href",e),0')),u.image.hasCaption()&&i.parent().append(i.parents(".fr-img-caption").find(".fr-inner"))):(u.format.remove("a"),u.selection.isCollapsed()?(t=0===t.length?r:t,u.html.insert('').concat(y.START_MARKER).concat(t.replace(/&/g,"&").replace(/",">")).concat(y.END_MARKER,"")),u.selection.restore()):0').concat(y.START_MARKER).concat(t.replace(/&/g,"&")).concat(y.END_MARKER,"")),u.selection.restore()):(!function d(){if(!u.selection.isCollapsed()){u.selection.save();for(var e=u.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();e.length;){var t=k(e.pop());t.removeClass("fr-unprocessed");var n=u.node.deepestParent(t.get(0));if(n){for(var i=t.get(0),r="",a="";i=i.parentNode,u.node.isBlock(i)||(r+=u.node.closeTagString(i),a=u.node.openTagString(i)+a),i!=n;);var l=u.node.openTagString(t.get(0))+t.html()+u.node.closeTagString(t.get(0));t.replaceWith('');var s=n.outerHTML;s=(s=s.replace(/<\/span>/g,r+l+a)).replace(a+r,""),n.outerHTML=s}e=u.$el.find(".fr-marker.fr-unprocessed").toArray()}u.html.cleanEmptyTags(),u.selection.restore()}}(),u.format.apply("a",{href:e})));for(var p=h(),c=0;c').concat(t[n].displayText||t[n].text,"");return e+=""},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),y.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),y.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),y.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),y.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),y.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,i=this.link.get();if(i){var r=n(i);t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"})}); \ No newline at end of file diff --git a/webroot/js/plugins/lists.min.js b/webroot/js/plugins/lists.min.js index d682e937..1bc26b6e 100644 --- a/webroot/js/plugins/lists.min.js +++ b/webroot/js/plugins/lists.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(p){"use strict";p=p&&p.hasOwnProperty("default")?p["default"]:p,Object.assign(p.DEFAULTS,{listAdvancedTypes:!0}),p.PLUGINS.lists=function(d){var f=d.$;function g(e){return'')}function m(e){return'')}function o(e,t){!function c(e,t){for(var n=[],a=0;a").concat(i.html(),""))}}(e,t);var n,a=d.html.defaultTag(),r=null;e.length&&(n="rtl"==d.opts.direction||"rtl"==f(e[0]).css("direction")?"margin-right":"margin-left");for(var o=0;o'):"<".concat(t,">"),s="");for(i-=r;0"),s+=s,i-=d.opts.indentMargin;a&&e[o].tagName.toLowerCase()==a?f(e[o]).replaceWith("".concat(l,"").concat(f(e[o]).html(),"").concat(s)):f(e[o]).wrap("".concat(l,"
  • ").concat(s))}d.clean.lists()}function i(e){var t,n;for(t=e.length-1;0<=t;t--)for(n=t-1;0<=n;n--)if(f(e[n]).find(e[t]).length||e[n]==e[t]){e.splice(t,1);break}var a=[];for(t=0;t"),r.append(g("LI")),r.prepend(m("LI"))}r.after(g(o.tagName)),"LI"==o.parentNode.tagName&&(o=o.parentNode.parentNode),a.indexOf(o)<0&&a.push(o)}for(t=0;t<\/span>/g,"")).replace(/<\/span>/g,"<$1>"),c.replaceWith(d.node.openTagString(c.get(0))+p+d.node.closeTagString(c.get(0)))}d.$el.find("li:empty").remove(),d.$el.find("ul:empty, ol:empty").remove(),d.clean.lists(),d.html.wrap()}function s(e){d.selection.save();for(var t=0;t ul, > ol").last().get(0);if(a){var r=f(document.createElement("li"));f(a).prepend(r);for(var o=d.node.contents(e[t])[0];o&&!d.node.isList(o);){var i=o.nextSibling;r.append(o),o=i}f(n).append(f(a)),f(e[t]).remove()}else{var l=f(n).find("> ul, > ol").last().get(0);if(l)f(l).append(f(e[t]));else{var s=f("<".concat(e[t].parentNode.tagName,">"));f(n).append(s),s.append(f(e[t]))}}}}d.clean.lists(),d.selection.restore()}function c(e){d.selection.save(),i(e),d.selection.restore()}function e(e){if("indent"==e||"outdent"==e){var t=!1,n=d.selection.blocks(),a=[],r=n[0].previousSibling||n[0].parentElement;if("outdent"==e){if("UL"!=r.parentNode.tagName&&"OL"!=r.parentNode.tagName&&"LI"!=r.parentNode.tagName)return;if(!n[0].previousSibling&&"none"==r.parentNode.style.listStyleType)return void function i(e){for(d.selection.save();0");a.prepend(r);for(var n=h.node.contents(a.get(0))[0];n&&["UL","OL"].indexOf(n.tagName)<0;){var o=n.nextSibling;r.append(n),n=o}}else a.html("<"+t+">"+a.html()+"")}return{apply:function c(a){"N"==a&&(a=h.html.defaultTag()),h.selection.save(),h.html.wrap(!0,!0,!h.opts.paragraphFormat.BLOCKQUOTE,!0,!0),h.selection.restore();var t,e,r,n,o,i,p,l,s=h.selection.blocks();h.selection.save(),h.$el.find("pre").attr("skip",!0);for(var m=0;m").html(i.html()))):0<=["TD","TH"].indexOf(s[m].parentNode.tagName)?(r=d,n=a,o=h.html.defaultTag(),n||(n='div class="fr-temp-div"'+(h.node.isEmpty(r.get(0),!0)?' data-empty="true"':"")),n.toLowerCase()==o?(h.node.isEmpty(r.get(0),!0)||r.append("
    "),r.replaceWith(r.html())):r.replaceWith(f("<"+n+">").html(r.html()))):(t=d,(e=a)||(e='div class="fr-temp-div"'+(h.node.isEmpty(t.get(0),!0)?' data-empty="true"':"")),"H1"!=e&&"H2"!=e&&"H3"!=e&&"H4"!=e&&"H5"!=e||!h.node.attributes(t.get(0)).includes("font-size:")?t.replaceWith(f("<"+e+" "+h.node.attributes(t.get(0))+">").html(t.html()).removeAttr("data-empty")):t.replaceWith(f("<"+e+" "+h.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(t.html()).removeAttr("data-empty")))}h.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){f(this).prev().append("
    "+f(this).html()),f(this).remove()}),h.$el.find("pre").removeAttr("skip"),h.html.unwrap(),h.selection.restore()},refreshOnShow:function i(a,t){var e=h.selection.blocks();if(e.length){var r=e[0],n="N",o=h.html.defaultTag();r.tagName.toLowerCase()!=o&&r!=h.el&&(n=r.tagName),t.find('.fr-command[data-param1="'+n+'"]').addClass("fr-active").attr("aria-selected",!0)}else t.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function o(a){if(h.opts.paragraphFormatSelection){var t=h.selection.blocks();if(t.length){var e=t[0],r="N",n=h.html.defaultTag();e.tagName.toLowerCase()!=n&&e!=h.el&&(r=e.tagName),0<=["LI","TD","TH"].indexOf(r)&&(r="N"),a.find(">span").text(h.language.translate(h.opts.paragraphFormat[r]))}else a.find(">span").text(h.language.translate(h.opts.paragraphFormat.N))}}}},a.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(a){return a.opts.paragraphFormatSelection},defaultSelection:function(a){return a.language.translate(a.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var a='"},title:"Paragraph Format",callback:function(a,t){this.paragraphFormat.apply(t)},refresh:function(a){this.paragraphFormat.refresh(a)},refreshOnShow:function(a,t){this.paragraphFormat.refreshOnShow(a,t)},plugin:"paragraphFormat"}),a.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"})}); \ No newline at end of file diff --git a/webroot/js/plugins/paragraph_style.min.js b/webroot/js/plugins/paragraph_style.min.js index 2c4601a6..a4b8e9b5 100644 --- a/webroot/js/plugins/paragraph_style.min.js +++ b/webroot/js/plugins/paragraph_style.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],e):e(a.FroalaEditor)}(this,function(a){"use strict";a=a&&a.hasOwnProperty("default")?a["default"]:a,Object.assign(a.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),a.PLUGINS.paragraphStyle=function(n){var i=n.$;return{_init:function a(){},apply:function p(a,e,t){void 0===e&&(e=n.opts.paragraphStyles),void 0===t&&(t=n.opts.paragraphMultipleStyles);var r="";t||((r=Object.keys(e)).splice(r.indexOf(a),1),r=r.join(" ")),n.selection.save(),n.html.wrap(!0,!0,!0,!0),n.selection.restore();var s=n.selection.blocks();n.selection.save();for(var o=i(s[0]).hasClass(a),l=0;l').concat(this.language.translate(e[t]),""));return a+=""},title:"Paragraph Style",callback:function(a,e){this.paragraphStyle.apply(e)},refreshOnShow:function(a,e){this.paragraphStyle.refreshOnShow(a,e)},plugin:"paragraphStyle"}),a.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"})}); \ No newline at end of file diff --git a/webroot/js/plugins/print.min.js b/webroot/js/plugins/print.min.js index 88bbd9c4..26c51585 100644 --- a/webroot/js/plugins/print.min.js +++ b/webroot/js/plugins/print.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{html2pdf:window.html2pdf}),e.PLUGINS.print=function(a){return{run:function e(){!function l(e){var t=a.html.get(),n=null;a.shared.print_iframe?n=a.shared.print_iframe:((n=document.createElement("iframe")).name="fr-print",n.style.position="fixed",n.style.top="0",n.style.left="-9999px",n.style.height="100%",n.style.width="0",n.style.overflow="hidden",n.style["z-index"]="2147483647",n.style.tabIndex="-1",a.events.on("shared.destroy",function(){n.remove()}),a.shared.print_iframe=n);try{document.body.removeChild(n)}catch(d){}document.body.appendChild(n);var i=function i(){e(),n.removeEventListener("load",i)};n.addEventListener("load",i);var o=n.contentWindow;o.document.open(),o.document.write(""+document.title+""),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),o.document.write(e.outerHTML)});var r=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(r,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",o.document.write(t.outerHTML)}),o.document.write('
    '),o.document.write(t),o.document.write("
    "),o.document.close()}(function(){setTimeout(function(){a.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),a.$win.get(0).focus(),a.events.disableBlur(),a.events.focus()},0)})},toPDF:function t(){a.opts.html2pdf&&(a.$el.css("text-align","left"),a.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(a.el).save(),setTimeout(function(){a.$el.css("text-align","")},100))}}},e.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),e.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),e.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),e.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}})}); \ No newline at end of file diff --git a/webroot/js/plugins/quick_insert.min.js b/webroot/js/plugins/quick_insert.min.js index aec110da..6ca60c72 100644 --- a/webroot/js/plugins/quick_insert.min.js +++ b/webroot/js/plugins/quick_insert.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(p){"use strict";p=p&&p.hasOwnProperty("default")?p["default"]:p,Object.assign(p.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),p.QUICK_INSERT_BUTTONS={},p.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),p.RegisterQuickInsertButton=function(e,t){p.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},p.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement("input")).attr("accept","image/"+e.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),t("body").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,"change",function(){var e=t(this).data("inst");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val("")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data("inst",e)[0].click()}}),p.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),p.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),p.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),p.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),p.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),p.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),p.PLUGINS.quickInsert=function(r){var a,l,c=r.$;function n(e){var t,n,i;(t=e.offset().top-r.$box.offset().top,n=(r.$iframe&&r.$iframe.offset().left||0)+e.offset().left-e.position().left-4').concat(r.icon.create("quickInsert"),"")));a=r.shared.$quick_insert,r.tooltip.bind(r.$box,".fr-quick-insert > a.fr-floating-btn"),r.events.on("destroy",function(){c("body").first().append(a.removeClass("fr-on")),l&&(d(),c("body").first().append(l.css("left",-9999).css("top",-9999)))},!0),r.events.on("shared.destroy",function(){a.html("").removeData().remove(),a=null,l&&(l.html("").removeData().remove(),l=null)},!0),r.events.on("commands.before",o),r.events.on("commands.after",function(){r.popups.areVisible()||i()}),r.events.bindClick(r.$box,".fr-quick-insert > a",u),r.events.bindClick(r.$box,".fr-qi-helper > a.fr-btn",function(e){var t=c(e.currentTarget).data("cmd");if(!1===r.events.trigger("quickInsert.commands.before",[t]))return!1;p.QUICK_INSERT_BUTTONS[t].callback.apply(r,[e.currentTarget]),p.QUICK_INSERT_BUTTONS[t].undo&&r.undo.saveStep(),r.events.trigger("quickInsert.commands.after",[t]),r.quickInsert.hide()}),r.events.$on(r.$wp,"scroll",f),r.events.$on(r.$tb,"transitionend",".fr-more-toolbar",f)}(),a.hasClass("fr-on")&&d(),r.$box.append(a),n(e),a.data("tag",e),a.addClass("fr-visible")}function i(){if(r.core.hasFocus()){var e=r.selection.element();if(r.opts.enter==p.ENTER_BR||r.node.isBlock(e)||(e=r.node.blockParent(e)),r.opts.enter==p.ENTER_BR&&!r.node.isBlock(e)){var t=r.node.deepestParent(e);t&&(e=t)}var n=function n(){return r.opts.enter!=p.ENTER_BR&&r.node.isEmpty(e)&&0<=r.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},i=function i(){return r.opts.enter==p.ENTER_BR&&("BR"==e.tagName&&(!e.previousSibling||"BR"==e.previousSibling.tagName||r.node.isBlock(e.previousSibling))||r.node.isEmpty(e)&&(!e.previousSibling||"BR"==e.previousSibling.tagName||r.node.isBlock(e.previousSibling))&&(!e.nextSibling||"BR"==e.nextSibling.tagName||r.node.isBlock(e.nextSibling)))};e&&(n()||i())?a&&a.data("tag").is(c(e))&&a.hasClass("fr-on")?d():r.selection.isCollapsed()&&s(c(e)):o()}}function o(){a&&(a.hasClass("fr-on")&&d(),a.removeClass("fr-visible fr-on"),a.css("left",-9999).css("top",-9999))}function u(e){if(e&&e.preventDefault(),a.hasClass("fr-on")&&!a.hasClass("fr-hidden"))d();else{if(!r.shared.$qi_helper){for(var t=r.opts.quickInsertButtons,n='
    ',i=0,s=0;s').concat(r.icon.create(o.icon),""))}n+="
    ",r.shared.$qi_helper=c(n),r.tooltip.bind(r.shared.$qi_helper,"a.fr-btn"),r.events.$on(r.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}l=r.shared.$qi_helper,r.$box.append(l),setTimeout(function(){l.css("top",parseFloat(a.css("top"))),l.css("left",parseFloat(a.css("left"))+a.outerWidth()),l.find("a").addClass("fr-size-1"),a.addClass("fr-on")},10)}}function d(){var n=r.$box.find(".fr-qi-helper");n.length&&function(){for(var t=n.find("a"),e=0;e').concat(this.language.translate(t[o])).concat(n?''.concat(n,""):"","")}return e+=""},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),e.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"})}); \ No newline at end of file diff --git a/webroot/js/plugins/save.min.js b/webroot/js/plugins/save.min.js index 28677404..f2e80699 100644 --- a/webroot/js/plugins/save.min.js +++ b/webroot/js/plugins/save.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),e.PLUGINS.save=function(i){var f=i.$,n=null,l=null,t=!1,v=1,c=2,s={};function u(e,t){i.events.trigger("save.error",[{code:e,message:s[e]},t])}function a(e){void 0===e&&(e=i.html.get());var n=e,t=i.events.trigger("save.before",[e]);if(!1===t)return!1;if("string"==typeof t&&(e=t),i.opts.saveURL){var s={};for(var a in i.opts.saveParams)if(i.opts.saveParams.hasOwnProperty(a)){var o=i.opts.saveParams[a];s[a]="function"==typeof o?o.call(this):o}var r={};r[i.opts.saveParam]=e,f(this).ajax({method:i.opts.saveMethod,url:i.opts.saveURL,data:Object.assign(r,s),crossDomain:i.opts.requestWithCORS,withCredentials:i.opts.requestWithCredentials,headers:i.opts.requestHeaders,done:function(e,t,s){l=n,i.events.trigger("save.after",[e])},fail:function(e){u(c,e.response||e.responseText)}})}else u(v)}function o(){clearTimeout(n),n=setTimeout(function(){var e=i.html.get();(l!=e||t)&&(t=!1,a(l=e))},0)}return s[v]="Missing saveURL option.",s[c]="Something went wrong during save.",{_init:function r(){if(i.opts.letteringClass)for(var e=i.opts.letteringClass,t=i.$el.find(".".concat(e)).length,s=0;s$1
    ");i.opts.saveInterval&&(l=i.html.get(),i.events.on("contentChanged",function(){setTimeout(o,i.opts.saveInterval)}),i.events.on("keydown destroy",function(){clearTimeout(n)}))},save:a,reset:function e(){o(),t=!1},force:function d(){t=!0}}},e.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),e.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"})}); \ No newline at end of file diff --git a/webroot/js/plugins/special_characters.min.js b/webroot/js/plugins/special_characters.min.js index 63b20a38..1bd8ab2d 100644 --- a/webroot/js/plugins/special_characters.min.js +++ b/webroot/js/plugins/special_characters.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(c,E){"object"==typeof exports&&"undefined"!=typeof module?E(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],E):E(c.FroalaEditor)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t["default"]:t,Object.assign(t.DEFAULTS,{specialCharactersSets:[{title:"Latin","char":"¡",list:[{"char":"¡",desc:"INVERTED EXCLAMATION MARK"},{"char":"¢",desc:"CENT SIGN"},{"char":"£",desc:"POUND SIGN"},{"char":"¤",desc:"CURRENCY SIGN"},{"char":"¥",desc:"YEN SIGN"},{"char":"¦",desc:"BROKEN BAR"},{"char":"§",desc:"SECTION SIGN"},{"char":"¨",desc:"DIAERESIS"},{"char":"©",desc:"COPYRIGHT SIGN"},{"char":"™",desc:"TRADEMARK SIGN"},{"char":"ª",desc:"FEMININE ORDINAL INDICATOR"},{"char":"«",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¬",desc:"NOT SIGN"},{"char":"®",desc:"REGISTERED SIGN"},{"char":"¯",desc:"MACRON"},{"char":"°",desc:"DEGREE SIGN"},{"char":"±",desc:"PLUS-MINUS SIGN"},{"char":"²",desc:"SUPERSCRIPT TWO"},{"char":"³",desc:"SUPERSCRIPT THREE"},{"char":"´",desc:"ACUTE ACCENT"},{"char":"µ",desc:"MICRO SIGN"},{"char":"¶",desc:"PILCROW SIGN"},{"char":"·",desc:"MIDDLE DOT"},{"char":"¸",desc:"CEDILLA"},{"char":"¹",desc:"SUPERSCRIPT ONE"},{"char":"º",desc:"MASCULINE ORDINAL INDICATOR"},{"char":"»",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"¼",desc:"VULGAR FRACTION ONE QUARTER"},{"char":"½",desc:"VULGAR FRACTION ONE HALF"},{"char":"¾",desc:"VULGAR FRACTION THREE QUARTERS"},{"char":"¿",desc:"INVERTED QUESTION MARK"},{"char":"À",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{"char":"Á",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{"char":"Â",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{"char":"Ã",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{"char":"Ä",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{"char":"Å",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{"char":"Æ",desc:"LATIN CAPITAL LETTER AE"},{"char":"Ç",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{"char":"È",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{"char":"É",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{"char":"Ê",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{"char":"Ë",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{"char":"Ì",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{"char":"Í",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{"char":"Î",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{"char":"Ï",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{"char":"Ð",desc:"LATIN CAPITAL LETTER ETH"},{"char":"Ñ",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{"char":"Ò",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{"char":"Ó",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{"char":"Ô",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{"char":"Õ",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{"char":"Ö",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{"char":"×",desc:"MULTIPLICATION SIGN"},{"char":"Ø",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{"char":"Ù",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{"char":"Ú",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{"char":"Û",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{"char":"Ü",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{"char":"Ý",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{"char":"Þ",desc:"LATIN CAPITAL LETTER THORN"},{"char":"ß",desc:"LATIN SMALL LETTER SHARP S"},{"char":"à",desc:"LATIN SMALL LETTER A WITH GRAVE"},{"char":"á",desc:"LATIN SMALL LETTER A WITH ACUTE "},{"char":"â",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{"char":"ã",desc:"LATIN SMALL LETTER A WITH TILDE"},{"char":"ä",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{"char":"å",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{"char":"æ",desc:"LATIN SMALL LETTER AE"},{"char":"ç",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{"char":"è",desc:"LATIN SMALL LETTER E WITH GRAVE"},{"char":"é",desc:"LATIN SMALL LETTER E WITH ACUTE"},{"char":"ê",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{"char":"ë",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{"char":"ì",desc:"LATIN SMALL LETTER I WITH GRAVE"},{"char":"í",desc:"LATIN SMALL LETTER I WITH ACUTE"},{"char":"î",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{"char":"ï",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{"char":"ð",desc:"LATIN SMALL LETTER ETH"},{"char":"ñ",desc:"LATIN SMALL LETTER N WITH TILDE"},{"char":"ò",desc:"LATIN SMALL LETTER O WITH GRAVE"},{"char":"ó",desc:"LATIN SMALL LETTER O WITH ACUTE"},{"char":"ô",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{"char":"õ",desc:"LATIN SMALL LETTER O WITH TILDE"},{"char":"ö",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{"char":"÷",desc:"DIVISION SIGN"},{"char":"ø",desc:"LATIN SMALL LETTER O WITH STROKE"},{"char":"ù",desc:"LATIN SMALL LETTER U WITH GRAVE"},{"char":"ú",desc:"LATIN SMALL LETTER U WITH ACUTE"},{"char":"û",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{"char":"ü",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{"char":"ý",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{"char":"þ",desc:"LATIN SMALL LETTER THORN"},{"char":"ÿ",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek","char":"Α",list:[{"char":"Α",desc:"GREEK CAPITAL LETTER ALPHA"},{"char":"Β",desc:"GREEK CAPITAL LETTER BETA"},{"char":"Γ",desc:"GREEK CAPITAL LETTER GAMMA"},{"char":"Δ",desc:"GREEK CAPITAL LETTER DELTA"},{"char":"Ε",desc:"GREEK CAPITAL LETTER EPSILON"},{"char":"Ζ",desc:"GREEK CAPITAL LETTER ZETA"},{"char":"Η",desc:"GREEK CAPITAL LETTER ETA"},{"char":"Θ",desc:"GREEK CAPITAL LETTER THETA"},{"char":"Ι",desc:"GREEK CAPITAL LETTER IOTA"},{"char":"Κ",desc:"GREEK CAPITAL LETTER KAPPA"},{"char":"Λ",desc:"GREEK CAPITAL LETTER LAMBDA"},{"char":"Μ",desc:"GREEK CAPITAL LETTER MU"},{"char":"Ν",desc:"GREEK CAPITAL LETTER NU"},{"char":"Ξ",desc:"GREEK CAPITAL LETTER XI"},{"char":"Ο",desc:"GREEK CAPITAL LETTER OMICRON"},{"char":"Π",desc:"GREEK CAPITAL LETTER PI"},{"char":"Ρ",desc:"GREEK CAPITAL LETTER RHO"},{"char":"Σ",desc:"GREEK CAPITAL LETTER SIGMA"},{"char":"Τ",desc:"GREEK CAPITAL LETTER TAU"},{"char":"Υ",desc:"GREEK CAPITAL LETTER UPSILON"},{"char":"Φ",desc:"GREEK CAPITAL LETTER PHI"},{"char":"Χ",desc:"GREEK CAPITAL LETTER CHI"},{"char":"Ψ",desc:"GREEK CAPITAL LETTER PSI"},{"char":"Ω",desc:"GREEK CAPITAL LETTER OMEGA"},{"char":"α",desc:"GREEK SMALL LETTER ALPHA"},{"char":"β",desc:"GREEK SMALL LETTER BETA"},{"char":"γ",desc:"GREEK SMALL LETTER GAMMA"},{"char":"δ",desc:"GREEK SMALL LETTER DELTA"},{"char":"ε",desc:"GREEK SMALL LETTER EPSILON"},{"char":"ζ",desc:"GREEK SMALL LETTER ZETA"},{"char":"η",desc:"GREEK SMALL LETTER ETA"},{"char":"θ",desc:"GREEK SMALL LETTER THETA"},{"char":"ι",desc:"GREEK SMALL LETTER IOTA"},{"char":"κ",desc:"GREEK SMALL LETTER KAPPA"},{"char":"λ",desc:"GREEK SMALL LETTER LAMBDA"},{"char":"μ",desc:"GREEK SMALL LETTER MU"},{"char":"ν",desc:"GREEK SMALL LETTER NU"},{"char":"ξ",desc:"GREEK SMALL LETTER XI"},{"char":"ο",desc:"GREEK SMALL LETTER OMICRON"},{"char":"π",desc:"GREEK SMALL LETTER PI"},{"char":"ρ",desc:"GREEK SMALL LETTER RHO"},{"char":"ς",desc:"GREEK SMALL LETTER FINAL SIGMA"},{"char":"σ",desc:"GREEK SMALL LETTER SIGMA"},{"char":"τ",desc:"GREEK SMALL LETTER TAU"},{"char":"υ",desc:"GREEK SMALL LETTER UPSILON"},{"char":"φ",desc:"GREEK SMALL LETTER PHI"},{"char":"χ",desc:"GREEK SMALL LETTER CHI"},{"char":"ψ",desc:"GREEK SMALL LETTER PSI"},{"char":"ω",desc:"GREEK SMALL LETTER OMEGA"},{"char":"ϑ",desc:"GREEK THETA SYMBOL"},{"char":"ϒ",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{"char":"ϕ",desc:"GREEK PHI SYMBOL"},{"char":"ϖ",desc:"GREEK PI SYMBOL"},{"char":"Ϝ",desc:"GREEK LETTER DIGAMMA"},{"char":"ϝ",desc:"GREEK SMALL LETTER DIGAMMA"},{"char":"ϰ",desc:"GREEK KAPPA SYMBOL"},{"char":"ϱ",desc:"GREEK RHO SYMBOL"},{"char":"ϵ",desc:"GREEK LUNATE EPSILON SYMBOL"},{"char":"϶",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic","char":"Ѐ",list:[{"char":"Ѐ",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{"char":"Ё",desc:"CYRILLIC CAPITAL LETTER IO"},{"char":"Ђ",desc:"CYRILLIC CAPITAL LETTER DJE"},{"char":"Ѓ",desc:"CYRILLIC CAPITAL LETTER GJE"},{"char":"Є",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{"char":"Ѕ",desc:"CYRILLIC CAPITAL LETTER DZE"},{"char":"І",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"Ї",desc:"CYRILLIC CAPITAL LETTER YI"},{"char":"Ј",desc:"CYRILLIC CAPITAL LETTER JE"},{"char":"Љ",desc:"CYRILLIC CAPITAL LETTER LJE"},{"char":"Њ",desc:"CYRILLIC CAPITAL LETTER NJE"},{"char":"Ћ",desc:"CYRILLIC CAPITAL LETTER TSHE"},{"char":"Ќ",desc:"CYRILLIC CAPITAL LETTER KJE"},{"char":"Ѝ",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{"char":"Ў",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{"char":"Џ",desc:"CYRILLIC CAPITAL LETTER DZHE"},{"char":"А",desc:"CYRILLIC CAPITAL LETTER A"},{"char":"Б",desc:"CYRILLIC CAPITAL LETTER BE"},{"char":"В",desc:"CYRILLIC CAPITAL LETTER VE"},{"char":"Г",desc:"CYRILLIC CAPITAL LETTER GHE"},{"char":"Д",desc:"CYRILLIC CAPITAL LETTER DE"},{"char":"Е",desc:"CYRILLIC CAPITAL LETTER IE"},{"char":"Ж",desc:"CYRILLIC CAPITAL LETTER ZHE"},{"char":"З",desc:"CYRILLIC CAPITAL LETTER ZE"},{"char":"И",desc:"CYRILLIC CAPITAL LETTER I"},{"char":"Й",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{"char":"К",desc:"CYRILLIC CAPITAL LETTER KA"},{"char":"Л",desc:"CYRILLIC CAPITAL LETTER EL"},{"char":"М",desc:"CYRILLIC CAPITAL LETTER EM"},{"char":"Н",desc:"CYRILLIC CAPITAL LETTER EN"},{"char":"О",desc:"CYRILLIC CAPITAL LETTER O"},{"char":"П",desc:"CYRILLIC CAPITAL LETTER PE"},{"char":"Р",desc:"CYRILLIC CAPITAL LETTER ER"},{"char":"С",desc:"CYRILLIC CAPITAL LETTER ES"},{"char":"Т",desc:"CYRILLIC CAPITAL LETTER TE"},{"char":"У",desc:"CYRILLIC CAPITAL LETTER U"},{"char":"Ф",desc:"CYRILLIC CAPITAL LETTER EF"},{"char":"Х",desc:"CYRILLIC CAPITAL LETTER HA"},{"char":"Ц",desc:"CYRILLIC CAPITAL LETTER TSE"},{"char":"Ч",desc:"CYRILLIC CAPITAL LETTER CHE"},{"char":"Ш",desc:"CYRILLIC CAPITAL LETTER SHA"},{"char":"Щ",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{"char":"Ъ",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{"char":"Ы",desc:"CYRILLIC CAPITAL LETTER YERU"},{"char":"Ь",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{"char":"Э",desc:"CYRILLIC CAPITAL LETTER E"},{"char":"Ю",desc:"CYRILLIC CAPITAL LETTER YU"},{"char":"Я",desc:"CYRILLIC CAPITAL LETTER YA"},{"char":"а",desc:"CYRILLIC SMALL LETTER A"},{"char":"б",desc:"CYRILLIC SMALL LETTER BE"},{"char":"в",desc:"CYRILLIC SMALL LETTER VE"},{"char":"г",desc:"CYRILLIC SMALL LETTER GHE"},{"char":"д",desc:"CYRILLIC SMALL LETTER DE"},{"char":"е",desc:"CYRILLIC SMALL LETTER IE"},{"char":"ж",desc:"CYRILLIC SMALL LETTER ZHE"},{"char":"з",desc:"CYRILLIC SMALL LETTER ZE"},{"char":"и",desc:"CYRILLIC SMALL LETTER I"},{"char":"й",desc:"CYRILLIC SMALL LETTER SHORT I"},{"char":"к",desc:"CYRILLIC SMALL LETTER KA"},{"char":"л",desc:"CYRILLIC SMALL LETTER EL"},{"char":"м",desc:"CYRILLIC SMALL LETTER EM"},{"char":"н",desc:"CYRILLIC SMALL LETTER EN"},{"char":"о",desc:"CYRILLIC SMALL LETTER O"},{"char":"п",desc:"CYRILLIC SMALL LETTER PE"},{"char":"р",desc:"CYRILLIC SMALL LETTER ER"},{"char":"с",desc:"CYRILLIC SMALL LETTER ES"},{"char":"т",desc:"CYRILLIC SMALL LETTER TE"},{"char":"у",desc:"CYRILLIC SMALL LETTER U"},{"char":"ф",desc:"CYRILLIC SMALL LETTER EF"},{"char":"х",desc:"CYRILLIC SMALL LETTER HA"},{"char":"ц",desc:"CYRILLIC SMALL LETTER TSE"},{"char":"ч",desc:"CYRILLIC SMALL LETTER CHE"},{"char":"ш",desc:"CYRILLIC SMALL LETTER SHA"},{"char":"щ",desc:"CYRILLIC SMALL LETTER SHCHA"},{"char":"ъ",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{"char":"ы",desc:"CYRILLIC SMALL LETTER YERU"},{"char":"ь",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{"char":"э",desc:"CYRILLIC SMALL LETTER E"},{"char":"ю",desc:"CYRILLIC SMALL LETTER YU"},{"char":"я",desc:"CYRILLIC SMALL LETTER YA"},{"char":"ѐ",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{"char":"ё",desc:"CYRILLIC SMALL LETTER IO"},{"char":"ђ",desc:"CYRILLIC SMALL LETTER DJE"},{"char":"ѓ",desc:"CYRILLIC SMALL LETTER GJE"},{"char":"є",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{"char":"ѕ",desc:"CYRILLIC SMALL LETTER DZE"},{"char":"і",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"ї",desc:"CYRILLIC SMALL LETTER YI"},{"char":"ј",desc:"CYRILLIC SMALL LETTER JE"},{"char":"љ",desc:"CYRILLIC SMALL LETTER LJE"},{"char":"њ",desc:"CYRILLIC SMALL LETTER NJE"},{"char":"ћ",desc:"CYRILLIC SMALL LETTER TSHE"},{"char":"ќ",desc:"CYRILLIC SMALL LETTER KJE"},{"char":"ѝ",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{"char":"ў",desc:"CYRILLIC SMALL LETTER SHORT U"},{"char":"џ",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation","char":"–",list:[{"char":"–",desc:"EN DASH"},{"char":"—",desc:"EM DASH"},{"char":"‘",desc:"LEFT SINGLE QUOTATION MARK"},{"char":"’",desc:"RIGHT SINGLE QUOTATION MARK"},{"char":"‚",desc:"SINGLE LOW-9 QUOTATION MARK"},{"char":"“",desc:"LEFT DOUBLE QUOTATION MARK"},{"char":"”",desc:"RIGHT DOUBLE QUOTATION MARK"},{"char":"„",desc:"DOUBLE LOW-9 QUOTATION MARK"},{"char":"†",desc:"DAGGER"},{"char":"‡",desc:"DOUBLE DAGGER"},{"char":"•",desc:"BULLET"},{"char":"…",desc:"HORIZONTAL ELLIPSIS"},{"char":"‰",desc:"PER MILLE SIGN"},{"char":"′",desc:"PRIME"},{"char":"″",desc:"DOUBLE PRIME"},{"char":"‹",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{"char":"›",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{"char":"‾",desc:"OVERLINE"},{"char":"⁄",desc:"FRACTION SLASH"}]},{title:"Currency","char":"₠",list:[{"char":"₠",desc:"EURO-CURRENCY SIGN"},{"char":"₡",desc:"COLON SIGN"},{"char":"₢",desc:"CRUZEIRO SIGN"},{"char":"₣",desc:"FRENCH FRANC SIGN"},{"char":"₤",desc:"LIRA SIGN"},{"char":"₥",desc:"MILL SIGN"},{"char":"₦",desc:"NAIRA SIGN"},{"char":"₧",desc:"PESETA SIGN"},{"char":"₨",desc:"RUPEE SIGN"},{"char":"₩",desc:"WON SIGN"},{"char":"₪",desc:"NEW SHEQEL SIGN"},{"char":"₫",desc:"DONG SIGN"},{"char":"€",desc:"EURO SIGN"},{"char":"₭",desc:"KIP SIGN"},{"char":"₮",desc:"TUGRIK SIGN"},{"char":"₯",desc:"DRACHMA SIGN"},{"char":"₰",desc:"GERMAN PENNY SYMBOL"},{"char":"₱",desc:"PESO SIGN"},{"char":"₲",desc:"GUARANI SIGN"},{"char":"₳",desc:"AUSTRAL SIGN"},{"char":"₴",desc:"HRYVNIA SIGN"},{"char":"₵",desc:"CEDI SIGN"},{"char":"₶",desc:"LIVRE TOURNOIS SIGN"},{"char":"₷",desc:"SPESMILO SIGN"},{"char":"₸",desc:"TENGE SIGN"},{"char":"₹",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows","char":"←",list:[{"char":"←",desc:"LEFTWARDS ARROW"},{"char":"↑",desc:"UPWARDS ARROW"},{"char":"→",desc:"RIGHTWARDS ARROW"},{"char":"↓",desc:"DOWNWARDS ARROW"},{"char":"↔",desc:"LEFT RIGHT ARROW"},{"char":"↕",desc:"UP DOWN ARROW"},{"char":"↖",desc:"NORTH WEST ARROW"},{"char":"↗",desc:"NORTH EAST ARROW"},{"char":"↘",desc:"SOUTH EAST ARROW"},{"char":"↙",desc:"SOUTH WEST ARROW"},{"char":"↚",desc:"LEFTWARDS ARROW WITH STROKE"},{"char":"↛",desc:"RIGHTWARDS ARROW WITH STROKE"},{"char":"↜",desc:"LEFTWARDS WAVE ARROW"},{"char":"↝",desc:"RIGHTWARDS WAVE ARROW"},{"char":"↞",desc:"LEFTWARDS TWO HEADED ARROW"},{"char":"↟",desc:"UPWARDS TWO HEADED ARROW"},{"char":"↠",desc:"RIGHTWARDS TWO HEADED ARROW"},{"char":"↡",desc:"DOWNWARDS TWO HEADED ARROW"},{"char":"↢",desc:"LEFTWARDS ARROW WITH TAIL"},{"char":"↣",desc:"RIGHTWARDS ARROW WITH TAIL"},{"char":"↤",desc:"LEFTWARDS ARROW FROM BAR"},{"char":"↥",desc:"UPWARDS ARROW FROM BAR"},{"char":"↦",desc:"RIGHTWARDS ARROW FROM BAR"},{"char":"↧",desc:"DOWNWARDS ARROW FROM BAR"},{"char":"↨",desc:"UP DOWN ARROW WITH BASE"},{"char":"↩",desc:"LEFTWARDS ARROW WITH HOOK"},{"char":"↪",desc:"RIGHTWARDS ARROW WITH HOOK"},{"char":"↫",desc:"LEFTWARDS ARROW WITH LOOP"},{"char":"↬",desc:"RIGHTWARDS ARROW WITH LOOP"},{"char":"↭",desc:"LEFT RIGHT WAVE ARROW"},{"char":"↮",desc:"LEFT RIGHT ARROW WITH STROKE"},{"char":"↯",desc:"DOWNWARDS ZIGZAG ARROW"},{"char":"↰",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↱",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↲",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{"char":"↳",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"↴",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{"char":"↵",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{"char":"↶",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↷",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"↸",desc:"NORTH WEST ARROW TO LONG BAR"},{"char":"↹",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{"char":"↺",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{"char":"↻",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{"char":"↼",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{"char":"↽",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"↾",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"↿",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇀",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{"char":"⇁",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"⇂",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"⇃",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"⇄",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{"char":"⇅",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{"char":"⇆",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{"char":"⇇",desc:"LEFTWARDS PAIRED ARROWS"},{"char":"⇈",desc:"UPWARDS PAIRED ARROWS"},{"char":"⇉",desc:"RIGHTWARDS PAIRED ARROWS"},{"char":"⇊",desc:"DOWNWARDS PAIRED ARROWS"},{"char":"⇋",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{"char":"⇌",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{"char":"⇍",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇎",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{"char":"⇏",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{"char":"⇐",desc:"LEFTWARDS DOUBLE ARROW"},{"char":"⇑",desc:"UPWARDS DOUBLE ARROW"},{"char":"⇒",desc:"RIGHTWARDS DOUBLE ARROW"},{"char":"⇓",desc:"DOWNWARDS DOUBLE ARROW"},{"char":"⇔",desc:"LEFT RIGHT DOUBLE ARROW"},{"char":"⇕",desc:"UP DOWN DOUBLE ARROW"},{"char":"⇖",desc:"NORTH WEST DOUBLE ARROW"},{"char":"⇗",desc:"NORTH EAST DOUBLE ARROW"},{"char":"⇘",desc:"SOUTH EAST DOUBLE ARROW"},{"char":"⇙",desc:"SOUTH WEST DOUBLE ARROW"},{"char":"⇚",desc:"LEFTWARDS TRIPLE ARROW"},{"char":"⇛",desc:"RIGHTWARDS TRIPLE ARROW"},{"char":"⇜",desc:"LEFTWARDS SQUIGGLE ARROW"},{"char":"⇝",desc:"RIGHTWARDS SQUIGGLE ARROW"},{"char":"⇞",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇟",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{"char":"⇠",desc:"LEFTWARDS DASHED ARROW"},{"char":"⇡",desc:"UPWARDS DASHED ARROW"},{"char":"⇢",desc:"RIGHTWARDS DASHED ARROW"},{"char":"⇣",desc:"DOWNWARDS DASHED ARROW"},{"char":"⇤",desc:"LEFTWARDS ARROW TO BAR"},{"char":"⇥",desc:"RIGHTWARDS ARROW TO BAR"},{"char":"⇦",desc:"LEFTWARDS WHITE ARROW"},{"char":"⇧",desc:"UPWARDS WHITE ARROW"},{"char":"⇨",desc:"RIGHTWARDS WHITE ARROW"},{"char":"⇩",desc:"DOWNWARDS WHITE ARROW"},{"char":"⇪",desc:"UPWARDS WHITE ARROW FROM BAR"},{"char":"⇫",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{"char":"⇬",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{"char":"⇭",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"},{"char":"⇮",desc:"UPWARDS WHITE DOUBLE ARROW"},{"char":"⇯",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{"char":"⇰",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{"char":"⇱",desc:"NORTH WEST ARROW TO CORNER"},{"char":"⇲",desc:"SOUTH EAST ARROW TO CORNER"},{"char":"⇳",desc:"UP DOWN WHITE ARROW"},{"char":"⇴",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{"char":"⇵",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{"char":"⇶",desc:"THREE RIGHTWARDS ARROWS"},{"char":"⇷",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇸",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{"char":"⇹",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{"char":"⇺",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇻",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇼",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"⇽",desc:"LEFTWARDS OPEN-HEADED ARROW"},{"char":"⇾",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{"char":"⇿",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math","char":"∀",list:[{"char":"∀",desc:"FOR ALL"},{"char":"∂",desc:"PARTIAL DIFFERENTIAL"},{"char":"∃",desc:"THERE EXISTS"},{"char":"∅",desc:"EMPTY SET"},{"char":"∇",desc:"NABLA"},{"char":"∈",desc:"ELEMENT OF"},{"char":"∉",desc:"NOT AN ELEMENT OF"},{"char":"∋",desc:"CONTAINS AS MEMBER"},{"char":"∏",desc:"N-ARY PRODUCT"},{"char":"∑",desc:"N-ARY SUMMATION"},{"char":"−",desc:"MINUS SIGN"},{"char":"∗",desc:"ASTERISK OPERATOR"},{"char":"√",desc:"SQUARE ROOT"},{"char":"∝",desc:"PROPORTIONAL TO"},{"char":"∞",desc:"INFINITY"},{"char":"∠",desc:"ANGLE"},{"char":"∧",desc:"LOGICAL AND"},{"char":"∨",desc:"LOGICAL OR"},{"char":"∩",desc:"INTERSECTION"},{"char":"∪",desc:"UNION"},{"char":"∫",desc:"INTEGRAL"},{"char":"∴",desc:"THEREFORE"},{"char":"∼",desc:"TILDE OPERATOR"},{"char":"≅",desc:"APPROXIMATELY EQUAL TO"},{"char":"≈",desc:"ALMOST EQUAL TO"},{"char":"≠",desc:"NOT EQUAL TO"},{"char":"≡",desc:"IDENTICAL TO"},{"char":"≤",desc:"LESS-THAN OR EQUAL TO"},{"char":"≥",desc:"GREATER-THAN OR EQUAL TO"},{"char":"⊂",desc:"SUBSET OF"},{"char":"⊃",desc:"SUPERSET OF"},{"char":"⊄",desc:"NOT A SUBSET OF"},{"char":"⊆",desc:"SUBSET OF OR EQUAL TO"},{"char":"⊇",desc:"SUPERSET OF OR EQUAL TO"},{"char":"⊕",desc:"CIRCLED PLUS"},{"char":"⊗",desc:"CIRCLED TIMES"},{"char":"⊥",desc:"UP TACK"}]},{title:"Misc","char":"♠",list:[{"char":"♠",desc:"BLACK SPADE SUIT"},{"char":"♣",desc:"BLACK CLUB SUIT"},{"char":"♥",desc:"BLACK HEART SUIT"},{"char":"♦",desc:"BLACK DIAMOND SUIT"},{"char":"♩",desc:"QUARTER NOTE"},{"char":"♪",desc:"EIGHTH NOTE"},{"char":"♫",desc:"BEAMED EIGHTH NOTES"},{"char":"♬",desc:"BEAMED SIXTEENTH NOTES"},{"char":"♭",desc:"MUSIC FLAT SIGN"},{"char":"♮",desc:"MUSIC NATURAL SIGN"},{"char":"☀",desc:"BLACK SUN WITH RAYS"},{"char":"☁",desc:"CLOUD"},{"char":"☂",desc:"UMBRELLA"},{"char":"☃",desc:"SNOWMAN"},{"char":"☕",desc:"HOT BEVERAGE"},{"char":"☘",desc:"SHAMROCK"},{"char":"☯",desc:"YIN YANG"},{"char":"✔",desc:"HEAVY CHECK MARK"},{"char":"✖",desc:"HEAVY MULTIPLICATION X"},{"char":"❄",desc:"SNOWFLAKE"},{"char":"❛",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❜",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❝",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"❞",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{"char":"❤",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(t.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),t.PLUGINS.specialCharacters=function(W){var N=W.$,T=W.opts.specialCharactersSets[0],L=W.opts.specialCharactersSets,a="";function I(){return'\n
    \n '.concat(function E(c,T){var R="";return c.forEach(function(c){var E={elementClass:c.title===T.title?"fr-active fr-active-tab":"",title:c.title,dataParam1:c.title,desc:c["char"]};R+='")}),R}(L,T),'\n
    \n
    \n ').concat(function R(c){var T="";return c.list.forEach(function(c){var E={dataParam1:c["char"],title:c.desc,splCharValue:c["char"]};T+='').concat(E.splCharValue,"")}),T}(T),"\n
    ")}return{setSpecialCharacterCategory:function R(E){T=L.filter(function(c){return c.title===E})[0],function c(){W.popups.get("specialCharacters").html(a+I())}()},showSpecialCharsPopup:function e(){var c=W.popups.get("specialCharacters");if(c||(c=function A(){W.opts.toolbarInline&&0'.concat(W.button.buildList(W.opts.specialCharButtons),""));var c={buttons:a,custom_layer:I()},E=W.popups.create("specialCharacters",c);return function T(S){W.events.on("popup.tab",function(c){var E=N(c.currentTarget);if(!W.popups.isVisible("specialCharacters")||!E.is("span, a"))return!0;var T,R,L,A=c.which;if(t.KEYCODE.TAB==A){if(E.is("span.fr-icon")&&c.shiftKey||E.is("a")&&!c.shiftKey){var a=S.find(".fr-buttons");T=!W.accessibility.focusToolbar(a,!!c.shiftKey)}if(!1!==T){var I=S.find("span.fr-icon:focus").first().concat(S.findVisible(" span.fr-icon").first().concat(S.find("a")));E.is("span.fr-icon")&&(I=I.not("span.fr-icon:not(:focus)")),R=I.index(E),R=c.shiftKey?((R-1)%I.length+I.length)%I.length:(R+1)%I.length,L=I.get(R),W.events.disableBlur(),L.focus(),T=!1}}else if(t.KEYCODE.ARROW_UP==A||t.KEYCODE.ARROW_DOWN==A||t.KEYCODE.ARROW_LEFT==A||t.KEYCODE.ARROW_RIGHT==A){if(E.is("span.fr-icon")){var e=E.parent().find("span.fr-icon");R=e.index(E);var r=11,s=Math.floor(e.length/r),h=R%r,d=Math.floor(R/r),C=d*r+h,O=s*r;t.KEYCODE.ARROW_UP==A?C=((C-r)%O+O)%O:t.KEYCODE.ARROW_DOWN==A?C=(C+r)%O:t.KEYCODE.ARROW_LEFT==A?C=((C-1)%O+O)%O:t.KEYCODE.ARROW_RIGHT==A&&(C=(C+1)%O),L=N(e.get(C)),W.events.disableBlur(),L.focus(),T=!1}}else t.KEYCODE.ENTER==A&&(E.is("a")?E[0].click():W.button.exec(E),T=!1);return!1===T&&(c.preventDefault(),c.stopPropagation()),T},!0)}(E),E}()),!c.hasClass("fr-active")){W.popups.refresh("specialCharacters"),W.popups.setContainer("specialCharacters",W.$tb);var E=W.$tb.find('.fr-command[data-cmd="specialCharacters"]'),T=W.button.getPosition(E),R=T.left,L=T.top;W.popups.show("specialCharacters",R,L,outerHeight)}},back:function c(){W.popups.hide("specialCharacters"),W.toolbar.showInline()}}},t.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),t.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),t.RegisterCommand("insertSpecialCharacter",{callback:function(c,E){this.undo.saveStep(),this.html.insert(E),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),t.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(c,E){this.specialCharacters.setSpecialCharacterCategory(E)}}),t.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}})}); \ No newline at end of file diff --git a/webroot/js/plugins/table.min.js b/webroot/js/plugins/table.min.js index f58621b6..e89486ef 100644 --- a/webroot/js/plugins/table.min.js +++ b/webroot/js/plugins/table.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(me){"use strict";me=me&&me.hasOwnProperty("default")?me["default"]:me,Object.assign(me.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(me.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackground","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),me.PLUGINS.table=function(R){var O,c,n,r,l,o,A,x=R.$;function h(){var e=_();if(e){var t=R.popups.get("table.edit");if(t||(t=p()),t){R.popups.setContainer("table.edit",R.$sc);var a=S(e),l=a.left+(a.right-a.left)/2,n=a.bottom;R.popups.show("table.edit",l,n,a.bottom-a.top,!0),R.edit.isDisabled()&&(1"));var t="";R.opts.colorsHEXInput&&(t='
    "));var a={buttons:e,colors:function n(){for(var e='
    ',t=0;t"),"REMOVE"!=R.opts.tableColors[t]?e+='').concat(R.language.translate("Color")," ").concat(R.opts.tableColors[t],"   "):e+='').concat(R.icon.create("tableColorRemove"),'').concat(R.language.translate("Clear Formatting"),"");return e+="
    "}(),custom_color:t},l=R.popups.create("table.colors",a);return R.events.$on(R.$wp,"scroll.table-colors",function(){R.popups.isVisible("table.colors")&&s()}),function r(u){R.events.on("popup.tab",function(e){var t=x(e.currentTarget);if(!R.popups.isVisible("table.colors")||!t.is("span"))return!0;var a=e.which,l=!0;if(me.KEYCODE.TAB==a){var n=u.find(".fr-buttons");l=!R.accessibility.focusToolbar(n,!!e.shiftKey)}else if(me.KEYCODE.ARROW_UP==a||me.KEYCODE.ARROW_DOWN==a||me.KEYCODE.ARROW_LEFT==a||me.KEYCODE.ARROW_RIGHT==a){var r=t.parent().find("span.fr-command"),o=r.index(t),s=R.opts.colorsStep,i=Math.floor(r.length/s),c=o%s,f=Math.floor(o/s),d=f*s+c,p=i*s;me.KEYCODE.ARROW_UP==a?d=((d-s)%p+p)%p:me.KEYCODE.ARROW_DOWN==a?d=(d+s)%p:me.KEYCODE.ARROW_LEFT==a?d=((d-1)%p+p)%p:me.KEYCODE.ARROW_RIGHT==a&&(d=(d+1)%p);var h=x(r.get(d));R.events.disableBlur(),h.focus(),l=!1}else me.KEYCODE.ENTER==a&&(R.button.exec(t),l=!1);return!1===l&&(e.preventDefault(),e.stopPropagation()),l},!0)}(l),l}()),R.popups.setContainer("table.colors",R.$sc);var a=S(e),l=(a.left+a.right)/2,n=a.bottom;!function r(){var e=R.popups.get("table.colors"),t=R.$el.find(".fr-selected-cell").first(),a=R.helpers.RGBToHex(t.css("background-color")),l=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),e.find('span[data-param1="'.concat(a,'"]')).addClass("fr-selected-color fr-active-item"),l.val(a).trigger("change")}(),R.popups.show("table.colors",l,n,a.bottom-a.top,!0)}}function i(){0===Z().length&&R.toolbar.enable()}function f(e){if(e)return R.popups.onHide("table.insert",function(){R.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var t="";0'.concat(R.button.buildList(R.opts.tableInsertButtons),""));var a={buttons:t,rows_columns:function r(){for(var e='
    1 × 1
    ',t=1;t<=R.opts.tableInsertMaxSize;t++){for(var a=1;a<=R.opts.tableInsertMaxSize;a++){var l="inline-block";2').concat(t," × ").concat(a,"   ")}e+='
    '}return e+="
    "}()},l=R.popups.create("table.insert",a);return R.events.$on(l,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){d(x(e.currentTarget))},!0),function n(e){R.events.$on(e,"focus","[tabIndex]",function(e){var t=x(e.currentTarget);d(t)}),R.events.on("popup.tab",function(e){var t=x(e.currentTarget);if(!R.popups.isVisible("table.insert")||!t.is("span, a"))return!0;var a,l=e.which;if(me.KEYCODE.ARROW_UP==l||me.KEYCODE.ARROW_DOWN==l||me.KEYCODE.ARROW_LEFT==l||me.KEYCODE.ARROW_RIGHT==l){if(t.is("span.fr-table-cell")){var n=t.parent().find("span.fr-table-cell"),r=n.index(t),o=R.opts.tableInsertMaxSize,s=r%o,i=Math.floor(r/o);me.KEYCODE.ARROW_UP==l?i=Math.max(0,i-1):me.KEYCODE.ARROW_DOWN==l?i=Math.min(R.opts.tableInsertMaxSize-1,i+1):me.KEYCODE.ARROW_LEFT==l?s=Math.max(0,s-1):me.KEYCODE.ARROW_RIGHT==l&&(s=Math.min(R.opts.tableInsertMaxSize-1,s+1));var c=i*o+s,f=x(n.get(c));d(f),R.events.disableBlur(),f.focus(),a=!1}}else me.KEYCODE.ENTER==l&&(R.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(l),l}function d(e){var t=e.data("row");null!==t&&(t=parseInt(t));var a=e.data("col");null!==a&&(a=parseInt(a));var l=e.parent();l.siblings(".fr-table-size-info").html("".concat(t," × ").concat(a)),l.find("> span").removeClass("hover fr-active-item");for(var n=1;n<=R.opts.tableInsertMaxSize;n++)for(var r=0;r<=R.opts.tableInsertMaxSize;r++){var o=l.find('> span[data-row="'.concat(n,'"][data-col="').concat(r,'"]'));n<=t&&r<=a?o.addClass("hover"):n<=t+1||n<=2&&!R.helpers.isMobile()?o.css("display","inline-block"):2'.concat(R.button.buildList(R.opts.tableEditButtons),"")},a=R.popups.create("table.edit",t);return R.events.$on(R.$wp,"scroll.table-edit",function(){R.popups.isVisible("table.edit")&&h()}),a}return!1}function u(){if(0
    '}s+="",n=0 table tbody"))):x(t.find("tr").not(t.find("> table tr")).get(l)),"below"==e?"TBODY"==n.attr("tagName")?n.prepend(s):n[0].parentNode&&n[0].insertAdjacentHTML("afterend",s):"above"==e&&(n.before(s),R.popups.isVisible("table.edit")&&h())}}function g(e,t,a){var l,n,r,o,s,i=0,c=_(a);if(e<(t=Math.min(t,c[0].length-1)))for(n=e;n<=t;n++)if(!(e table tr")).each(function(s,e){var t=x(e),i=0;t.find("> th, > td").each(function(e,t){for(var a=x(t),l=parseInt(a.attr("colspan"),10)||1,n=parseInt(a.attr("rowspan"),10)||1,r=s;r")),O=R.shared.$table_resizer,R.events.$on(O,"mousedown",function(e){return!R.core.sameInstance(O)||(0a-R.opts.tableResizerOffset?O.css("left",a-R.opts.tableResizerOffset-R.$wp.offset().left):l')),R.events.bindClick(R.shared.$ti_helper,"a",function(){var e=c.data("selected-cell"),t=c.data("position"),a=c.data("instance")||R;"before"==t?(R.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertColumn(t),e.removeClass("fr-selected-cell"),R.undo.saveStep()):"after"==t?(R.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertColumn(t),e.removeClass("fr-selected-cell"),R.undo.saveStep()):"above"==t?(R.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertRow(t),e.removeClass("fr-selected-cell"),R.undo.saveStep()):"below"==t&&(R.undo.saveStep(),e.addClass("fr-selected-cell"),a.table.insertRow(t),e.removeClass("fr-selected-cell"),R.undo.saveStep()),W()}),R.events.on("shared.destroy",function(){R.shared.$ti_helper.html("").removeData().remove(),R.shared.$ti_helper=null},!0),R.events.$on(R.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),R.events.$on(x(R.o_win),"scroll",function(){W()},!0),R.events.$on(R.$wp,"scroll",function(){W()},!0)),c=R.shared.$ti_helper,R.events.on("destroy",function(){c=null}),R.tooltip.bind(R.$box,".fr-insert-helper > a.fr-floating-btn")}function J(){l=null,clearTimeout(o)}function Z(){return R.el.querySelectorAll(".fr-selected-cell")}function Q(){var e=Z();if(e.length){for(var t=e[0];t&&t.parentNode!=R.el;)t=t.parentNode;return t&&"TABLE"==t.tagName?x(t):x([])}return x([])}function ee(e){n=!1}return{_init:function te(){if(!R.$wp)return!1;if(!R.helpers.isMobile()){A=n=r=!1,R.events.$on(R.$el,"mousedown",e),R.popups.onShow("image.edit",function(){E(),n=r=!1}),R.popups.onShow("link.edit",function(){E(),n=r=!1}),R.events.on("commands.mousedown",function(e){0"),a==t.length-1&&x(t[a]).prepend(me.MARKERS);return R.selection.restore(),R.undo.saveStep(),!(t=[])}if(1',r=100/t;for(a=0;a",l=0;l",0===a&&0===l&&(n+=me.MARKERS),n+="
    ";n+=""}n+="",R.html.insert(n),R.selection.restore();var o=R.$el.find(".fr-inserted-table");o.removeClass("fr-inserted-table"),R.events.trigger("table.inserted",[o.get(0)])},remove:u,insertRow:b,deleteRow:function le(){var e=Q();if(0=r.min_i;t--){for(l=x(e.find("tr").not(e.find("> table tr")).get(t)),a=0;a table tr")).get(t+1)).prepend(i):x(n[t+1][c-1])[0].parentNode&&x(n[t+1][c-1])[0].insertAdjacentElement("afterend",i)}}var f=l.parent();l.remove(),0===f.find("tr").length&&f.remove(),n=_(e)}w(0,n.length-1,0,n[0].length-1,e),0 table tr")).each(function(e){for(var t,a=x(this),l=0,n=0;l-1 th, > td").get(n))){t=null;break}t==f[e][l]?(l+=parseInt(x(t).attr("colspan"),10)||1,n++):(l+=parseInt(x(f[e][l]).attr("colspan"),10)||1,"after"==i&&(t=0===n?-1:a.find("> th, > td").get(n-1)))}var r,o=x(t);if("after"==i&&c
    '):'
    '),-1==t?a.prepend(r):null==t?a.append(r):"before"==i?o.before(r):"after"==i&&o[0].parentNode&&o[0].insertAdjacentHTML("afterend",r)}),e.find("th, td").each(function(){(a=x(this)).data("old-width")&&(a.css("width",(a.data("old-width")*p/d).toFixed(4)+"%"),a.removeData("old-width"))}),R.popups.isVisible("table.edit")&&h()}},deleteColumn:function re(){var e=Q();if(0r.max_j)&&(o+=l.outerWidth()/e.outerWidth()*100));for(o/=n.length,a=r.max_j;a>=r.min_j;a--)for(t=0;t th, > td").length&&(0===i.prev().length||0===i.next().length||i.prev().find("> th[rowspan], > td[rowspan]").length th, > td").length)&&i.remove()}w(0,n.length-1,0,n[0].length-1,e),0"!=(t=x(l[e])).html()&&""!==t.html()&&(s+="
    ".concat(t.html())),t.remove();n.html(s),R.selection.setAtEnd(n.get(0)),R.selection.restore(),R.toolbar.enable(),m(a.min_i,a.max_i,o);var c=o.find("tr:empty");for(e=c.length-1;0<=e;e--)x(c[e]).remove();g(a.min_j,a.max_j,o),h()}},splitCellVertically:function se(){if(1==Z().length){var e=R.$el.find(".fr-selected-cell"),t=parseInt(e.attr("colspan"),10)||1,a=e.parent().outerWidth(),l=e.outerWidth(),n=e.clone().html("
    "),r=_(),o=$(e.get(0),r);if(1");if(1 table tr")).get(i)).prepend(o):x(n[i][c])[0].parentNode&&x(n[i][c])[0].insertAdjacentElement("afterend",o[0])}else{var f,d=x(document.createElement("tr")).append(o);for(f=0;f td").each(function(){var e=x(this);l+=parseInt(e.attr("colspan"),10)||1}),t=0;t
    ";a+="",e.prepend(a),h()}},removeHeader:function fe(){var e=Q(),t=e.find("thead");if(0'+this.language.translate(t[a])+"");return e+=""},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),me.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),me.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var e='"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),me.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),me.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1').concat(this.language.translate(t[a]),""));return e+=""},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var a=this.$,l=this.$el.find(".fr-selected-cell").closest("table");l&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=l.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),me.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),me.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),me.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),me.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),me.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),me.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),me.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),me.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),me.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),me.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),me.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),me.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),me.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),a=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(a(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),me.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),me.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var a=this.$,l=this.$el.find(".fr-selected-cell").first();l&&t.find(".fr-command").each(function(){var e=a(this).data("param1"),t=l.hasClass(e);a(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),me.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),me.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"})}); \ No newline at end of file diff --git a/webroot/js/plugins/trim_video.min.js b/webroot/js/plugins/trim_video.min.js index 3f668d1f..2c4ee05e 100644 --- a/webroot/js/plugins/trim_video.min.js +++ b/webroot/js/plugins/trim_video.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";(e=e&&e.hasOwnProperty("default")?e["default"]:e).PLUGINS.trimVideoPlugin=function(c){var o,d,s,l,u,m,f,v,r;function p(e){e.preventDefault(),null!=l&&l.abort(),l=null;var t=document.getElementById("videoTrimContainer");t.parentNode.removeChild(t),c.filesManager.setChildWindowState(!1)}function g(e){var t=parseInt(e,10),n=Math.floor(t/3600)?String(Math.floor(t/3600)):"00",a=Math.floor(t/60)%60?String(Math.floor(t/60)%60):"00",i=t%60?String(t%60):"00";return i=i.length<2?"0"+i:i,a=a.length<2?"0"+a:a,(n=n.length<2?"0"+n:n)+":"+a+":"+i}function y(e){e.preventDefault();var t=g(document.getElementById("startTime").value),n=g(document.getElementById("endTime").value);o.constructor===Blob&&(o=new File([o],o.name,{type:o.type||"",lastModified:o.lastModified}));var a=new FormData;a.append("startTime",t),a.append("endTime",n),a.append("file",o);var i=new XMLHttpRequest;document.getElementById("trim-file-loader").classList.add("fr-file-loader"),document.getElementsByClassName("fr-trim-button")[0].style.display="none",i.onload=function(){if(200==this.status){var e=new Blob([this.response],{type:this.response.type||""});e.name=o.name,e.lastModified=o.lastModified,e.lastModifiedDate=o.lastModifiedDate,r.set(d,e),c.filesManager.upload(e,[],null,d),document.getElementById("trim-file-loader").classList.remove("fr-file-loader"),document.getElementsByClassName("fr-trim-button")[0].style.display="block";var t=document.getElementById("videoTrimContainer");t.parentNode.removeChild(t),c.filesManager.setChildWindowState(!1)}},i.open("POST","http://localhost:3000/convert",!0),i.responseType="blob",(l=i).send(a)}return{_init:function e(){},trimVideo:function i(e,t,n){o=e,d=t,r=n,function a(){var e=URL.createObjectURL(o),t=c.o_doc.body,n=c.o_doc.createElement("div");n.setAttribute("id","videoTrimContainer"),n.style.cssText="position: fixed; top: 0;left: 0;padding: 0;overflow-y:auto;width: 100%;height: 100%;background: rgba(0,0,0,0.4);z-index: 9998;display:block",t.appendChild(n);var r=document.createElement("div");r.setAttribute("id","fr-form-container"),r.innerHTML='\n

    '.concat(o.name.replace(/\.[^.]*$/,""),"

    \n
    \n \n "),document.getElementById("videoTrimContainer").appendChild(r),document.getElementById("fr-video-edit").addEventListener("loadedmetadata",function(){s=document.getElementById("fr-video-edit").duration,r.innerHTML+=' \n \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n ");var t=document.getElementById("startTime"),e=document.getElementById("startTimeValue"),n=function n(){u=Number(100*(t.value-t.min)/(t.max-t.min)),m=10-.2*u,f=Number(100*(a.value-a.min)/(a.max-a.min)),v=10-.2*f,e.innerHTML="".concat(g(t.value),""),e.style.left="calc(".concat(u,"% + (").concat(m,"px))"),selectedRange.style.left=e.style.left,selectedRange.style.width="calc((".concat(f,"% + (").concat(v,"px)) - (").concat(u,"% + (").concat(m,"px)))"),selectedRange.style.backgroundColor="#03A9F4"};document.addEventListener("DOMContentLoaded",n);var a=document.getElementById("endTime"),i=document.getElementById("endTimeValue"),o=function o(){u=Number(100*(t.value-t.min)/(t.max-t.min)),m=10-.2*u,f=Number(100*(a.value-a.min)/(a.max-a.min)),v=10-.2*f,i.innerHTML="".concat(g(a.value),""),i.style.left="calc(".concat(f,"% + (").concat(v,"px))");var e=document.getElementById("selectedRange");e.style.left="calc(".concat(u,"% + (").concat(m,"px))"),e.style.width="calc((".concat(f,"% + (").concat(v,"px)) - (").concat(u,"% + (").concat(m,"px)))"),e.style.backgroundColor="#03A9F4"};document.addEventListener("DOMContentLoaded",o),document.getElementById("convert").addEventListener("click",y),document.getElementById("cancel").addEventListener("click",p);var d=document.getElementById("startTime"),l=document.getElementById("endTime");d.oninput=function(e){if(Number(d.value)>=Number(l.value))return e.preventDefault(),d.value=String(Number(l.value)-1),!1;n()},l.oninput=function(e){if(Number(l.value)<=Number(d.value))return e.preventDefault(),l.value=String(Number(d.value)+1),!1;o()}})}()}}}}); \ No newline at end of file diff --git a/webroot/js/plugins/url.min.js b/webroot/js/plugins/url.min.js index 5b1807d9..022c887a 100644 --- a/webroot/js/plugins/url.min.js +++ b/webroot/js/plugins/url.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(r){"use strict";(r=r&&r.hasOwnProperty("default")?r["default"]:r).URLRegEx="(^| |\\u00A0)(".concat(r.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),r.PLUGINS.url=function(i){var l=i.$,a=null;function t(e,t,n){for(var r="";n.length&&"."==n[n.length-1];)r+=".",n=n.substring(0,n.length-1);var o=n;if(i.opts.linkConvertEmailAddress)i.helpers.isEmail(o)&&!/^mailto:.*/i.test(o)&&(o="mailto:".concat(o));else if(i.helpers.isEmail(o))return t+n;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(o)||(o="//".concat(o)),(t||"")+"').concat(n.replace(/&/g,"&").replace(/&/g,"&").replace(//g,">"),"").concat(r)}var s=function s(){return new RegExp(r.URLRegEx,"gi")};function p(e){return i.opts.linkAlwaysNoFollow&&(a="nofollow"),i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(a?a+=" noopener":a="noopener"),i.opts.linkNoReferrer&&(a?a+=" noreferrer":a="noreferrer")),e.replace(s(),t)}function c(e){var t=e.split(" ");return t[t.length-1]}function n(){var e=i.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||"").length)return!1;if(function a(e){return!!e&&("A"===e.tagName||!(!e.parentNode||e.parentNode==i.el)&&a(e.parentNode))}(t))return!1;if(s().test(c(t.textContent))){l(t).before(p(t.textContent));var n=l(t.parentNode).find("a[data-fr-linked]");n.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),i.events.trigger("url.linked",[n.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var r=t.previousSibling.innerText+t.textContent;if(s().test(c(r))){var o=(new DOMParser).parseFromString(p(r),"text/html").body.childNodes;t.parentNode.replaceChild(o[0],t.previousSibling),o.length&&l(t).before(o[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){i.events.on("keypress",function(e){!i.selection.isCollapsed()||"."!=e.key&&")"!=e.key&&"("!=e.key||n()},!0),i.events.on("keydown",function(e){var t=e.which;!i.selection.isCollapsed()||t!=r.KEYCODE.ENTER&&t!=r.KEYCODE.SPACE||n()},!0),i.events.on("paste.beforeCleanup",function(e){if(i.helpers.isURL(e)){var t=null;return i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(t?t+=" noopener":t="noopener"),i.opts.linkNoReferrer&&(t?t+=" noreferrer":t="noreferrer")),"').concat(e,"")}})}}}}); \ No newline at end of file diff --git a/webroot/js/plugins/video.min.js b/webroot/js/plugins/video.min.js index 67b43e17..b80d7966 100644 --- a/webroot/js/plugins/video.min.js +++ b/webroot/js/plugins/video.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(ye){"use strict";ye=ye&&ye.hasOwnProperty("default")?ye["default"]:ye,Object.assign(ye.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(ye.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),ye.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"}],ye.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,ye.PLUGINS.video=function(w){var s,f,p,E,i,o,A=w.$,C="https://i.froala.com/upload",v=2,c=3,u=4,S=5,U=6,r={};function g(){var e=w.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function a(){var e=w.popups.get("video.edit");if(e||(e=function n(){var e="";if(0 \n '.concat(w.button.buildList(w.opts.videoEditButtons)," \n ")},o=w.popups.create("video.edit",t);return w.events.$on(w.$wp,"scroll.video-edit",function(){E&&w.popups.isVisible("video.edit")&&(w.events.disableBlur(),y(E))}),o}return!1}()),e){w.popups.setContainer("video.edit",w.$sc),w.popups.refresh("video.edit");var t=E.find("iframe, embed, ".concat(E.find("iframe, embed, audio").get(0)?"audio":"video")),o=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight(),r=t.get(0).src?t.get(0).src:null,a=!(!(r=(r=r.split("."))[r.length-1]).includes("pdf")&&!r.includes("txt"));t.hasClass("fr-file")||a||E.find("audio").get(0)?(document.getElementById("autoplay-".concat(w.id))&&(document.getElementById("autoplay-".concat(w.id)).style.display="none"),document.getElementById("videoReplace-".concat(w.id))&&(document.getElementById("videoReplace-".concat(w.id)).style.display="none")):(document.getElementById("autoplay-".concat(w.id)).style.display="",document.getElementById("videoReplace-".concat(w.id)).style.display=""),w.popups.show("video.edit",o,i,t.outerHeight(),!0)}}function n(e){if(e)return w.popups.onRefresh("video.insert",g),w.popups.onHide("video.insert",q),!0;var t="";w.opts.videoUpload||-1===w.opts.videoInsertButtons.indexOf("videoUpload")||w.opts.videoInsertButtons.splice(w.opts.videoInsertButtons.indexOf("videoUpload"),1);var o=w.button.buildList(w.opts.videoInsertButtons);""!==o&&(t='
    '+o+"
    ");var i,r="",a=w.opts.videoInsertButtons.indexOf("videoUpload"),n=w.opts.videoInsertButtons.indexOf("videoByURL"),s=w.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=n){i=" fr-active",(a
    ').concat('','
    ")}var d="";0<=s&&(i=" fr-active",(a
    "));var l="";0<=a&&(i=" fr-active",(s').concat(w.language.translate("Drop video"),"
    (").concat(w.language.translate("or click"),')
    '));var f={buttons:t,by_url_layer:r,embed_layer:d,upload_layer:l,progress_bar:'

    Uploading

    '},p=w.popups.create("video.insert",f);return function v(i){w.events.$on(i,"dragover dragenter",".fr-video-upload-layer",function(){return A(this).addClass("fr-drop"),!1},!0),w.events.$on(i,"dragleave dragend",".fr-video-upload-layer",function(){return A(this).removeClass("fr-drop"),!1},!0),w.events.$on(i,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),A(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var o=i.data("instance")||w;o.events.disableBlur(),o.video.upload(t.files),o.events.enableBlur()}},!0),w.helpers.isIOS()&&w.events.$on(i,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){A(this).trigger("click")},!0);w.events.$on(i,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=i.data("instance")||w;e.events.disableBlur(),i.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}A(this).val("")},!0)}(p),p}function d(e){w.events.focus(!0),w.selection.restore();var t=!1;E&&(W(),t=!0),w.html.insert(''.concat(e,""),!1,w.opts.videoSplitHTML),w.popups.hide("video.insert");var o=w.$el.find(".fr-jiv");o.removeClass("fr-jiv"),o.toggleClass("fr-rv",w.opts.videoResponsive),J(o,w.opts.videoDefaultDisplay,w.opts.videoDefaultAlign),o.toggleClass("fr-draggable",w.opts.videoMove),w.events.trigger(t?"video.replaced":"video.inserted",[o])}function h(){var e=A(this);w.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),y(e.parent()),w.events.trigger("video.loaded",[e.parent()])}function x(s,e,l,f,p){w.edit.off(),m("Loading video"),e&&(s=w.helpers.sanitizeURL(s));var v=function v(){var e,t;if(f){w.undo.canDo()||f.find("video").hasClass("fr-uploading")||w.undo.saveStep();var o=f.find("video").data("fr-old-src"),i=f.data("fr-replaced");f.data("fr-replaced",!1),w.$wp?((e=f.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),o&&f.find("video").attr("src",o),f.replaceWith(e)):e=f;for(var r=e.find("video").get(0).attributes,a=0;a"+w.language.translate("Your browser does not support HTML5 video.")+"");n.toggleClass("fr-draggable",w.opts.videoMove),w.edit.on(),w.events.focus(!0),w.selection.restore(),w.undo.saveStep(),w.opts.videoSplitHTML?w.markers.split():w.markers.insert();w.html.wrap();var s=w.$el.find(".fr-marker");w.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent());s.replaceWith(n),w.selection.clear(),n.find("video").get(0).readyState>n.find("video").get(0).HAVE_FUTURE_DATA||w.helpers.isIOS()?o.call(n.find("video").get(0)):n.find("video").on("canplaythrough load",o);return n}(s,l,h),L(),w.undo.saveStep(),w.events.trigger("video.inserted",[e,p])};R("Loading video"),v()}function R(e){var t=w.popups.get("video.insert");if(t||(t=n()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),E){var o=E.find("iframe, embed, ".concat(E.find("iframe, embed, audio").get(0)?"audio":"video"));w.popups.setContainer("video.insert",w.$sc);var i=o.offset().left,r=o.offset().top+o.height();w.popups.show("video.insert",i,r,o.outerHeight())}void 0===e&&m(w.language.translate("Uploading"),0)}function l(e){var t=w.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||w.$el.find("video.fr-error").length)){if(w.events.focus(),w.$el.find("video.fr-error").length&&(w.$el.find("video.fr-error").parent().remove(),w.undo.saveStep(),w.undo.run(),w.undo.dropRedo()),!w.$wp&&E){var o=E;M(!0),w.selection.setAfter(o.find("video").get(0)),w.selection.restore()}w.popups.hide("video.insert")}}function m(e,t){var o=w.popups.get("video.insert");if(o){var i=o.find(".fr-video-progress-bar-layer");i.find("h3").text(e+(t?" ".concat(t,"%"):"")),i.removeClass("fr-error"),t?(i.find("div").removeClass("fr-indeterminate"),i.find("div > span").css("width","".concat(t,"%"))):i.find("div").addClass("fr-indeterminate")}}function b(e){R();var t=w.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var o=t.find("h3");o.text(e),w.events.disableBlur(),o.focus()}function y(e){t.call(e.get(0))}function _(e,t,o){m("Loading video");var i=this.status,r=this.response,a=this.responseXML,n=this.responseText;try{if(w.opts.videoUploadToS3||w.opts.videoUploadToAzure)if(201==i){var s;if(w.opts.videoUploadToAzure){if(!1===w.events.trigger("video.uploadedToAzure",[this.responseURL,o,r],!0))return w.edit.on(),!1;s=t}else s=function l(e){try{var t=A(e).find("Location").text(),o=A(e).find("Key").text();return!1===w.events.trigger("video.uploadedToS3",[t,o,e],!0)?(w.edit.on(),!1):t}catch(i){return K(u,e),!1}}(a);s&&x(s,!1,[],e,r||a)}else K(u,r||a);else if(200<=i&&i<300){var d=function f(e){try{if(!1===w.events.trigger("video.uploaded",[e],!0))return w.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(K(v,e),!1)}catch(o){return K(u,e),!1}}(n);d&&x(d.link,!1,d,e,r||n)}else K(c,r||n)}catch(p){K(u,r||n)}}function B(){K(u,this.response||this.responseText||this.responseXML)}function D(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;m(w.language.translate("Uploading"),t)}}function T(){w.edit.on(),l(!0)}function I(e){if(!w.core.sameInstance(p))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),o=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!o)return!1;if("mousedown"==e.type){var i=w.$oel.get(0).ownerDocument,r=i.defaultView||i.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(n){}a&&r.frameElement&&(t+=w.helpers.getPX(A(r.frameElement).offset().left)+r.frameElement.clientLeft,o=e.clientY+w.helpers.getPX(A(r.frameElement).offset().top)+r.frameElement.clientTop)}w.undo.canDo()||w.undo.saveStep(),(f=A(this)).data("start-x",t),f.data("start-y",o),s.show(),w.popups.hideAll(),Y()}function k(e){if(!w.core.sameInstance(p))return!0;if(f){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),o=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!o)return!1;var i=f.data("start-x"),r=f.data("start-y");f.data("start-x",t),f.data("start-y",o);var a=t-i,n=o-r,s=E.find("iframe, embed, ".concat(E.find("iframe, embed, audio").get(0)?"audio":"video")),d=s.width(),l=s.height();(f.hasClass("fr-hnw")||f.hasClass("fr-hsw"))&&(a=0-a),(f.hasClass("fr-hnw")||f.hasClass("fr-hne"))&&(n=0-n),s.css("width",d+a),s.css("height",l+n),s.removeAttr("width"),s.removeAttr("height"),O()}}function z(e){if(!w.core.sameInstance(p))return!0;f&&E&&(e&&e.stopPropagation(),f=null,s.hide(),O(),a(),w.undo.saveStep())}function P(e){return'
    ')}function $(e,t,o,i){return e.pageX=t,e.pageY=t,I.call(this,e),e.pageX=e.pageX+o*Math.floor(Math.pow(1.1,i)),e.pageY=e.pageY+o*Math.floor(Math.pow(1.1,i)),k.call(this,e),z.call(this,e),++i}function L(){var e,t=Array.prototype.slice.call(w.el.querySelectorAll("video, .fr-video > *")),o=[];for(e=0;ew.opts.videoMaxSize)return K(S),!1;if(w.opts.videoAllowedTypes.indexOf(o.type.replace(/video\//g,""))<0)return K(U),!1;if(w.drag_support.formdata&&(t=w.drag_support.formdata?new FormData:null),t){var i;if(!1!==w.opts.videoUploadToS3)for(i in t.append("key",w.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(o.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",o.type),w.opts.videoUploadToS3.params)w.opts.videoUploadToS3.params.hasOwnProperty(i)&&t.append(i,w.opts.videoUploadToS3.params[i]);for(i in w.opts.videoUploadParams)w.opts.videoUploadParams.hasOwnProperty(i)&&t.append(i,w.opts.videoUploadParams[i]);t.append(w.opts.videoUploadParam,o);var r,a,n=w.opts.videoUploadURL;w.opts.videoUploadToS3&&(n=w.opts.videoUploadToS3.uploadURL?w.opts.videoUploadToS3.uploadURL:"https://".concat(w.opts.videoUploadToS3.region,".amazonaws.com/").concat(w.opts.videoUploadToS3.bucket));var s=w.opts.videoUploadMethod;w.opts.videoUploadToAzure&&(n=w.opts.videoUploadToAzure.uploadURL?"".concat(w.opts.videoUploadToAzure.uploadURL,"/").concat(o.name):encodeURI("https://".concat(w.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(w.opts.videoUploadToAzure.container,"/").concat(o.name)),r=n,w.opts.videoUploadToAzure.SASToken&&(n+=w.opts.videoUploadToAzure.SASToken),s="PUT");var d=w.core.getXHR(n,s);if(w.opts.videoUploadToAzure){var l=(new Date).toUTCString();if(!w.opts.videoUploadToAzure.SASToken&&w.opts.videoUploadToAzure.accessKey){var f=w.opts.videoUploadToAzure.account,p=w.opts.videoUploadToAzure.container;if(w.opts.videoUploadToAzure.uploadURL){var v=w.opts.videoUploadToAzure.uploadURL.split("/");p=v.pop(),f=v.pop().split(".")[0]}var c="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(l,"\nx-ms-version:2019-07-07"),u=encodeURI("/"+f+"/"+p+"/"+o.name),g=s+"\n\n\n"+o.size+"\n\n"+o.type+"\n\n\n\n\n\n\n"+c+"\n"+u,h=w.cryptoJSPlugin.cryptoJS.HmacSHA256(g,w.cryptoJSPlugin.cryptoJS.enc.Base64.parse(w.opts.videoUploadToAzure.accessKey)).toString(w.cryptoJSPlugin.cryptoJS.enc.Base64),m="SharedKey "+f+":"+h;a=h,d.setRequestHeader("Authorization",m)}for(i in d.setRequestHeader("x-ms-version","2019-07-07"),d.setRequestHeader("x-ms-date",l),d.setRequestHeader("Content-Type",o.type),d.setRequestHeader("x-ms-blob-type","BlockBlob"),w.opts.videoUploadParams)w.opts.videoUploadParams.hasOwnProperty(i)&&d.setRequestHeader(i,w.opts.videoUploadParams[i]);for(i in w.opts.videoUploadToAzure.params)w.opts.videoUploadToAzure.params.hasOwnProperty(i)&&d.setRequestHeader(i,w.opts.videoUploadToAzure.params[i])}d.onload=function(){_.call(d,E,r,a)},d.onerror=B,d.upload.onprogress=D,d.onabort=T,R(),w.events.disableBlur(),w.edit.off(),w.events.enableBlur();var b=w.popups.get("video.insert");b&&A(b.off("abortUpload")).on("abortUpload",function(){4!=d.readyState&&d.abort()}),d.send(w.opts.videoUploadToAzure?o:t)}}}function K(e,t){w.edit.on(),E&&E.find("video").addClass("fr-error"),b(w.language.translate("Something went wrong. Please try again.")),w.events.trigger("video.error",[{code:e,message:r[e]},t])}function F(){if(E){var e=w.popups.get("video.size"),t=E.find("iframe, embed, ".concat(E.find("iframe, embed, audio").get(0)?"audio":"video"));e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function X(e){if(e)return w.popups.onRefresh("video.size",F),!0;var t={buttons:'
    '.concat(w.button.buildList(w.opts.videoSizeButtons),"
    "),size_layer:'
    ")},o=w.popups.create("video.size",t);return w.events.$on(w.$wp,"scroll",function(){E&&w.popups.isVisible("video.size")&&(w.events.disableBlur(),y(E))}),o}function G(e){if(void 0===e&&(e=E),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function j(e){void 0===e&&(e=E);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function W(){if(E&&!1!==w.events.trigger("video.beforeRemove",[E])){var e=E;w.popups.hideAll(),M(!0),w.selection.setBefore(e.get(0))||w.selection.setAfter(e.get(0)),e.remove(),w.selection.restore(),w.html.fillEmptyBlocks()}}function q(){l()}function J(e,t,o){!w.opts.htmlUntouched&&w.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(o[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==o?e.css({"float":"none"}):"left"==o?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==o?e.css({textAlign:"left"}):"right"==o?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function Z(){var e=w.$el.find("video").filter(function(){return 0===A(this).parents("span.fr-video").length});if(0!=e.length){e.wrap(A(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),w.$el.find("embed, iframe").filter(function(){if(w.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0*").first().replaceWith(w.icon.create("video-align-".concat(G())))},refreshAlignOnShow:function pe(e,t){E&&t.find('.fr-command[data-param1="'.concat(G(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function ve(e){E.removeClass("fr-dvi fr-dvb"),!w.opts.htmlUntouched&&w.opts.useClasses?"inline"==e?E.addClass("fr-dvi"):"block"==e&&E.addClass("fr-dvb"):J(E,e,G()),ee(),O(),a(),w.selection.clear()},refreshDisplayOnShow:function ce(e,t){E&&t.find('.fr-command[data-param1="'.concat(j(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:W,hideProgressBar:l,showSizePopup:function ue(){var e=w.popups.get("video.size");e||(e=X()),l(),w.popups.refresh("video.size"),w.popups.setContainer("video.size",w.$sc);var t=E.find("iframe, embed, ".concat(E.find("iframe, embed, audio").get(0)?"audio":"video")),o=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.height();w.popups.show("video.size",o,i,t.height(),!0)},replace:function ge(){var e=w.popups.get("video.insert");e||(e=n()),w.popups.isVisible("video.insert")||(l(),w.popups.refresh("video.insert"),w.popups.setContainer("video.insert",w.$sc));var t=E.offset().left+E.outerWidth()/2,o=E.offset().top+E.height();w.popups.show("video.insert",t,o,E.outerHeight(),!0)},back:function e(){E?(w.events.disableBlur(),E[0].click()):(w.events.disableBlur(),w.selection.restore(),w.events.enableBlur(),w.popups.hide("video.insert"),w.toolbar.showInline())},setSize:function he(e,t){if(E){var o=w.popups.get("video.size"),i=E.find("iframe, embed, ".concat(E.find("iframe, embed, audio").get(0)?"audio":"video"));i.css("width",e||o.find('input[name="width"]').val()),i.css("height",t||o.find('input[name="height"]').val()),i.get(0).style.width&&i.removeAttr("width"),i.get(0).style.height&&i.removeAttr("height"),o.find("input:focus").blur(),setTimeout(function(){E.trigger("click")},w.helpers.isAndroid()?50:0)}},get:function me(){return E},showProgressBar:R,_editVideo:y,setAutoplay:function be(){var e;if(E.find("iframe, embed, audio").get(0))(e=E.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(Q("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(Q("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=E.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))Q("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{Q("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),"autoplay",e.get(0).outerHTML.slice(t)].join("")}}}},ye.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),ye.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),ye.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),ye.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),ye.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),ye.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),ye.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),ye.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),ye.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),ye.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),ye.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),ye.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),ye.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),ye.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),ye.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),ye.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),ye.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),ye.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),ye.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),ye.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),ye.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),ye.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),ye.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),ye.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),ye.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),ye.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),ye.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),ye.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),ye.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),ye.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}})}); \ No newline at end of file diff --git a/webroot/js/plugins/word_paste.min.js b/webroot/js/plugins/word_paste.min.js index 60728be8..8ef0f36f 100644 --- a/webroot/js/plugins/word_paste.min.js +++ b/webroot/js/plugins/word_paste.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(w){"use strict";w=w&&w.hasOwnProperty("default")?w["default"]:w,Object.assign(w.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),w.PLUGINS.wordPaste=function(C){var l,n,d=C.$,s="word_paste",u={};function t(e){var t=C.opts.wordAllowedStyleProps;e||(C.opts.wordAllowedStyleProps=[]),0===n.indexOf("")&&(n=""+n+"
    "),n=a(n=n.replace(/([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var r="",i=0;i++/gi,"")}function y(e,t){for(var r=document.createElement(t),i=0;i').remove()}}}}function h(e,t){var r=e.tagName,i=r.toLowerCase();e.firstElementChild&&("I"===e.firstElementChild.tagName?y(e.firstElementChild,"em"):"B"===e.firstElementChild.tagName&&y(e.firstElementChild,"strong"));if(-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(r))return N(e),!1;for(var n=["META","LINK","XML","ST1:","O:","W:","FONT"],a=0;a");for(var l=r.firstElementChild,s=1===r.children.length;l;)"P"!==l.tagName||H(l)||s&&A(l),l=l.nextElementSibling;if(t){var o=r.getAttribute("class");if(o){var d=(o=E(o)).match(/xl[0-9]+/gi);if(d){var f="."+d[0];t[f]&&T(r,t[f])}}t.td&&T(r,t.td)}var g=r.getAttribute("style");g&&(g=E(g))&&";"!==g.slice(-1)&&(g+=";");var u=r.getAttribute("valign");if(!u&&g){var p=g.match(/vertical-align:.+?[; "]{1,1}/gi);p&&(u=p[p.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var c=null;if(g){var m=g.match(/text-align:.+?[; "]{1,1}/gi);m&&(c=m[m.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===c&&(c=null)}var h=null;if(g){var v=g.match(/background:.+?[; "]{1,1}/gi);v&&(h=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=r.getAttribute("colspan"),y=r.getAttribute("rowspan");b&&r.setAttribute("colspan",b),y&&r.setAttribute("rowspan",y),u&&(r.style["vertical-align"]=u),c&&(r.style["text-align"]=c),h&&(r.style["background-color"]=h),a&&r.setAttribute("width",a),r=r.nextElementSibling}for(r=e.firstElementChild;r;)a=r.getAttribute("width"),n?r.removeAttribute("width"):r.setAttribute("width",100*parseInt(a,10)/i+"%"),r=r.nextElementSibling}(e,t),"A"!==r||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==r&&e.getAttribute("href")&&e.querySelector("img"))for(var h=e.querySelectorAll("span"),v=0;v"),"TABLE"===r&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!==e.getAttribute("style").toLowerCase().indexOf("mso")){var b=E(e.getAttribute("style"));(b=b.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",b):e.removeAttribute("style")}return!0}function a(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function f(e){for(var t=e.split("v:shape"),r=1;r ul, ul > ol, ol > ul, ol > ol"),l=a.length-1;0<=l;l--)a[l].previousElementSibling&&"LI"===a[l].previousElementSibling.tagName&&a[l].previousElementSibling.appendChild(a[l]);p(n,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/
    (\n|\r)/gi,"
    "),!1;if(e.nodeType===Node.ELEMENT_NODE){if(H(e)){var t=e.parentNode,r=e.previousSibling,i=function M(e,t,r,i){var n,a,l=/[0-9a-zA-Z]./gi,s=!1,o=navigator.userAgent.toLowerCase();-1!=o.indexOf("safari")&&(o=-1':"<"+g+' style="margin-left:'+y+v+';">',"list-style-type: upper-alpha;"==u){var x=c.charCodeAt(0)-64;m=u?"<"+g+h+' start="'+x+'" style = "'+u+" margin-left:"+y+v+';">':"<"+g+">"}else if("list-style-type: lower-alpha;"==u){var C=c.charCodeAt(0)-96;m=u?"<"+g+h+' start="'+C+'" style = "'+u+"margin-left:"+y+v+';">':"<"+g+">"}else m=u?"<"+g+h+' style = "'+u+";margin-left:"+y+v+';">':"<"+g+' style="margin-left:'+y+v+';">';else if("list-style-type: upper-alpha;"==u){var N=c.charCodeAt(0)-64;m=u?"<"+g+h+' style = "'+u+' start="'+N+'">':"<"+g+">"}else if("list-style-type: lower-alpha;"==u){var A=c.charCodeAt(0)-96;m=u?"<"+g+h+' style = "'+u+' start="'+A+'">':"<"+g+">"}else m=u?"<"+g+h+' style = "'+u+'">':"<"+g+">";for(var E=!1;e;){if(!H(e)){if(e.outerHTML&&0"):(1==T&&(m+="",E=!0,a=null),m+=(f=M(e,t,T,e.style.marginLeft)).el.outerHTML,e=f.currentNode);var S=e&&e.nextElementSibling;if(S&&(a=S.previousElementSibling),e&&!H(e)){if(e.outerHTML&&0");var L=document.createElement("div");return L.innerHTML=m,{el:L,currentNode:e}}(e,s).el,n=null;return(n=r?r.nextSibling:t.firstChild)?t.insertBefore(i,n):t.appendChild(i),!1}return"FONT"===e.tagName&&s["."+e.getAttribute("class")]&&(e=y(e,"span")),h(e,s)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1",t=function n(){var e='
    ';return e+='

    '+C.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

    ",e+='
    ",e+="
    "}(),r=C.modals.create(s,e,t),i=r.$body;l=r.$modal,r.$modal.addClass("fr-middle"),C.events.bindClick(i,"button.fr-remove-word",function(){var e=l.data("instance")||C;e.wordPaste.clean()}),C.events.bindClick(i,"button.fr-keep-word",function(){var e=l.data("instance")||C;e.wordPaste.clean(!0)}),C.events.$on(d(C.o_win),"resize",function(){C.modals.resize(s)})}C.modals.show(s),C.modals.resize(s)}():t(C.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:a}}}); \ No newline at end of file diff --git a/webroot/js/third_party/embedly.min.js b/webroot/js/third_party/embedly.min.js index 0765a101..e8ff5aaa 100644 --- a/webroot/js/third_party/embedly.min.js +++ b/webroot/js/third_party/embedly.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(E){"use strict";E=E&&E.hasOwnProperty("default")?E["default"]:E,Object.assign(E.POPUP_TEMPLATES,{"embedly.insert":"[_BUTTONS_][_URL_LAYER_]","embedly.edit":"[_BUTTONS_]"}),Object.assign(E.DEFAULTS,{embedlyKey:null,embedlyInsertButtons:["embedlyBack","|"],embedlyEditButtons:["embedlyRemove"],embedlyScriptPath:"https://cdn.embedly.com/widgets/platform.js"}),E.PLUGINS.embedly=function(o){var i,d,l=o.$;function t(e){o.events.on("html.processGet",s),e&&o.html._setHtml(o.$el,o.html.get()),o.events.$on(o.$el,"click touchend","div.fr-embedly",a),o.events.on("mousedown window.mousedown",b),o.events.on("window.touchmove",c),o.events.on("mouseup window.mouseup",u),o.events.on("commands.mousedown",function(e){0\n '.concat(o.button.buildList(o.opts.embedlyEditButtons),"\n ")},n=o.popups.create("embedly.edit",t);return o.events.$on(o.$wp,"scroll.emebdly-edit",function(){i&&o.popups.isVisible("embedly.edit")&&(o.events.disableBlur(),function t(e){a.call(e.get(0))}(i))}),n}return!1}());if(e){o.popups.setContainer("embedly.edit",o.$sc),o.popups.refresh("embedly.edit");var t=i.offset().left+i.outerWidth()/2,n=i.offset().top+i.outerHeight();o.popups.show("embedly.edit",t,n,i.outerHeight())}}()}function s(e){if(e&&o.node.hasClass(e,"fr-embedly"))e.innerHTML=e.getAttribute("data-original-embed"),e.removeAttribute("draggable"),e.removeAttribute("contenteditable"),e.setAttribute("class",(e.getAttribute("class")||"").replace("fr-draggable",""));else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var t=e.querySelectorAll(".fr-embedly"),n=0;n");var n={buttons:t,url_layer:'
    "};return o.popups.create("embedly.insert",n)}function r(){o.popups.get("embedly.insert").find(".fr-embedly-layer input").val("").trigger("change")}function e(e){if(e.length){var t="";o.html.insert('
    '+t+"
    "),o.popups.hideAll()}}function m(){if(i&&!1!==o.events.trigger("embedly.beforeRemove",[i])){var e=i;o.popups.hideAll(),u(!0),o.selection.setBefore(e.get(0))||o.selection.setAfter(e.get(0)),e.remove(),o.selection.restore(),o.html.fillEmptyBlocks(),o.undo.saveStep(),o.events.trigger("video.removed",[e])}}function u(e){i&&(function t(){return o.shared.embedly_exit_flag}()||!0===e)&&(d.removeClass("fr-active"),o.toolbar.enable(),i.removeClass("fr-active"),i=null,c())}function b(){o.shared.embedly_exit_flag=!0}function c(){o.shared.embedly_exit_flag=!1}return o.shared.embedly_exit_flag=!1,{_init:function p(){if(!o.$wp)return!1;if("undefined"!=typeof embedly)t(!0);else if(o.shared.embedlyLoaded)o.shared.embedlyCallbacks.push(t);else{o.shared.embedlyLoaded=!0,o.shared.embedlyCallbacks=[],o.shared.embedlyCallbacks.push(t);var e=o.doc.createElement("script");e.type="text/javascript",e.src=o.opts.embedlyScriptPath,e.innerText="",e.onload=function(){if(o.shared.embedlyCallbacks)for(var e=0;e
    ',fontAwesomeSets:[{title:"Web Application Icons",icon:"address-book",list:["address-book","address-book-o","address-card","address-card-o","adjust","american-sign-language-interpreting","anchor","archive","area-chart","arrows","arrows-h","arrows-v","asl-interpreting ","assistive-listening-systems","asterisk","at","audio-description","automobile ","balance-scale","ban","bank ","bar-chart","bar-chart-o ","barcode","bars","bath","bathtub ","battery ","battery-0 ","battery-1 ","battery-2 ","battery-3 ","battery-4 ","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-o","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","blind","bluetooth","bluetooth-b","bolt","bomb","book","bookmark","bookmark-o","braille","briefcase","bug","building","building-o","bullhorn","bullseye","bus","cab ","calculator","calendar","calendar-check-o","calendar-minus-o","calendar-o","calendar-plus-o","calendar-times-o","camera","camera-retro","car","caret-square-o-down","caret-square-o-left","caret-square-o-right","caret-square-o-up","cart-arrow-down","cart-plus","cc","certificate","check","check-circle","check-circle-o","check-square","check-square-o","child","circle","circle-o","circle-o-notch","circle-thin","clock-o","clone","close ","cloud","cloud-download","cloud-upload","code","code-fork","coffee","cog","cogs","comment","comment-o","commenting","commenting-o","comments","comments-o","compass","copyright","creative-commons","credit-card","credit-card-alt","crop","crosshairs","cube","cubes","cutlery","dashboard ","database","deaf","deafness ","desktop","diamond","dot-circle-o","download","drivers-license ","drivers-license-o ","edit ","ellipsis-h","ellipsis-v","envelope","envelope-o","envelope-open","envelope-open-o","envelope-square","eraser","exchange","exclamation","exclamation-circle","exclamation-triangle","external-link","external-link-square","eye","eye-slash","eyedropper","fax","feed ","female","fighter-jet","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o ","file-pdf-o","file-photo-o ","file-picture-o ","file-powerpoint-o","file-sound-o ","file-video-o","file-word-o","file-zip-o ","film","filter","fire","fire-extinguisher","flag","flag-checkered","flag-o","flash ","flask","folder","folder-o","folder-open","folder-open-o","frown-o","futbol-o","gamepad","gavel","gear ","gears ","gift","glass","globe","graduation-cap","group ","hand-grab-o ","hand-lizard-o","hand-paper-o","hand-peace-o","hand-pointer-o","hand-rock-o","hand-scissors-o","hand-spock-o","hand-stop-o ","handshake-o","hard-of-hearing ","hashtag","hdd-o","headphones","heart","heart-o","heartbeat","history","home","hotel ","hourglass","hourglass-1 ","hourglass-2 ","hourglass-3 ","hourglass-end","hourglass-half","hourglass-o","hourglass-start","i-cursor","id-badge","id-card","id-card-o","image ","inbox","industry","info","info-circle","institution ","key","keyboard-o","language","laptop","leaf","legal ","lemon-o","level-down","level-up","life-bouy ","life-buoy ","life-ring","life-saver ","lightbulb-o","line-chart","location-arrow","lock","low-vision","magic","magnet","mail-forward ","mail-reply ","mail-reply-all ","male","map","map-marker","map-o","map-pin","map-signs","meh-o","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","minus-square-o","mobile","mobile-phone ","money","moon-o","mortar-board ","motorcycle","mouse-pointer","music","navicon ","newspaper-o","object-group","object-ungroup","paint-brush","paper-plane","paper-plane-o","paw","pencil","pencil-square","pencil-square-o","percent","phone","phone-square","photo ","picture-o","pie-chart","plane","plug","plus","plus-circle","plus-square","plus-square-o","podcast","power-off","print","puzzle-piece","qrcode","question","question-circle","question-circle-o","quote-left","quote-right","random","recycle","refresh","registered","remove ","reorder ","reply","reply-all","retweet","road","rocket","rss","rss-square","s15 ","search","search-minus","search-plus","send ","send-o ","server","share","share-alt","share-alt-square","share-square","share-square-o","shield","ship","shopping-bag","shopping-basket","shopping-cart","shower","sign-in","sign-language","sign-out","signal","signing ","sitemap","sliders","smile-o","snowflake-o","soccer-ball-o ","sort","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-asc","sort-desc","sort-down ","sort-numeric-asc","sort-numeric-desc","sort-up ","space-shuttle","spinner","spoon","square","square-o","star","star-half","star-half-empty ","star-half-full ","star-half-o","star-o","sticky-note","sticky-note-o","street-view","suitcase","sun-o","support ","tablet","tachometer","tag","tags","tasks","taxi","television","terminal","thermometer ","thermometer-0 ","thermometer-1 ","thermometer-2 ","thermometer-3 ","thermometer-4 ","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","thumb-tack","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up","ticket","times","times-circle","times-circle-o","times-rectangle ","times-rectangle-o ","tint","toggle-down ","toggle-left ","toggle-off","toggle-on","toggle-right ","toggle-up ","trademark","trash","trash-o","tree","trophy","truck","tty","tv ","umbrella","universal-access","university","unlock","unlock-alt","unsorted ","upload","user","user-circle","user-circle-o","user-o","user-plus","user-secret","user-times","users","vcard ","vcard-o ","video-camera","volume-control-phone","volume-down","volume-off","volume-up","warning ","wheelchair","wheelchair-alt","wifi","window-close","window-close-o","window-maximize","window-minimize","window-restore","wrench"]},{title:"Accessibility Icons",icon:"american-sign-language-interpreting",list:["american-sign-language-interpreting","asl-interpreting ","assistive-listening-systems","audio-description","blind","braille","cc","deaf","deafness ","hard-of-hearing ","low-vision","question-circle-o","sign-language","signing ","tty","universal-access","volume-control-phone","wheelchair","wheelchair-alt"]},{title:"Hand Icons",icon:"hand-grab-o",list:["hand-grab-o ","hand-lizard-o","hand-o-down","hand-o-left","hand-o-right","hand-o-up","hand-paper-o","hand-peace-o","hand-pointer-o","hand-rock-o","hand-scissors-o","hand-spock-o","hand-stop-o ","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up"]},{title:"Transportation Icons",icon:"ambulance",list:["ambulance","automobile ","bicycle","bus","cab ","car","fighter-jet","motorcycle","plane","rocket","ship","space-shuttle","subway","taxi","train","truck","wheelchair","wheelchair-alt"]},{title:"Gender Icons",icon:"genderless",list:["genderless","intersex ","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mercury","neuter","transgender","transgender-alt","venus","venus-double","venus-mars"]},{title:"Form Control Icons",icon:"check-square",list:["check-square","check-square-o","circle","circle-o","dot-circle-o","minus-square","minus-square-o","plus-square","plus-square-o","square","square-o"]},{title:"Payment Icons",icon:"cc-amex",list:["cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","credit-card","credit-card-alt","google-wallet","paypal"]},{title:"Chart Icons",icon:"area-chart",list:["area-chart","bar-chart","bar-chart-o ","line-chart","pie-chart"]},{title:"Currency Icons",icon:"bitcoin",list:["bitcoin ","btc","cny ","dollar ","eur","euro ","gbp","gg","gg-circle","ils","inr","jpy","krw","money","rmb ","rouble ","rub","ruble ","rupee ","shekel ","sheqel ","try","turkish-lira ","usd","viacoin","won ","yen"]},{title:"Text Editor Icons",icon:"align-center",list:["align-center","align-justify","align-left","align-right","bold","chain ","chain-broken","clipboard","columns","copy ","cut ","dedent ","eraser","file","file-o","file-text","file-text-o","files-o","floppy-o","font","header","indent","italic","link","list","list-alt","list-ol","list-ul","outdent","paperclip","paragraph","paste ","repeat","rotate-left ","rotate-right ","save ","scissors","strikethrough","subscript","superscript","table","text-height","text-width","th","th-large","th-list","underline","undo","unlink"]},{title:"Brand Icons",icon:"500px",list:["500px","adn","amazon","android","angellist","apple","bandcamp","behance","behance-square","bitbucket","bitbucket-square","bitcoin ","black-tie","bluetooth","bluetooth-b","btc","buysellads","cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","chrome","codepen","codiepie","connectdevelop","contao","css3","dashcube","delicious","deviantart","digg","dribbble","dropbox","drupal","edge","eercast","empire","envira","etsy","expeditedssl","fa ","facebook","facebook-f ","facebook-official","facebook-square","firefox","first-order","flickr","font-awesome","fonticons","fort-awesome","forumbee","foursquare","free-code-camp","ge ","get-pocket","gg","gg-circle","git","git-square","github","github-alt","github-square","gitlab","gittip ","glide","glide-g","google","google-plus","google-plus-circle ","google-plus-official","google-plus-square","google-wallet","gratipay","grav","hacker-news","houzz","html5","imdb","instagram","internet-explorer","ioxhost","joomla","jsfiddle","lastfm","lastfm-square","leanpub","linkedin","linkedin-square","linode","linux","maxcdn","meanpath","medium","meetup","mixcloud","modx","odnoklassniki","odnoklassniki-square","opencart","openid","opera","optin-monster","pagelines","paypal","pied-piper","pied-piper-alt","pied-piper-pp","pinterest","pinterest-p","pinterest-square","product-hunt","qq","quora","ra ","ravelry","rebel","reddit","reddit-alien","reddit-square","renren","resistance ","safari","scribd","sellsy","share-alt","share-alt-square","shirtsinbulk","simplybuilt","skyatlas","skype","slack","slideshare","snapchat","snapchat-ghost","snapchat-square","soundcloud","spotify","stack-exchange","stack-overflow","steam","steam-square","stumbleupon","stumbleupon-circle","superpowers","telegram","tencent-weibo","themeisle","trello","tripadvisor","tumblr","tumblr-square","twitch","twitter","twitter-square","usb","viacoin","viadeo","viadeo-square","vimeo","vimeo-square","vine","vk","wechat ","weibo","weixin","whatsapp","wikipedia-w","windows","wordpress","wpbeginner","wpexplorer","wpforms","xing","xing-square","y-combinator","y-combinator-square ","yahoo","yc ","yc-square ","yelp","yoast","youtube","youtube-play","youtube-square"]}],fontAwesome5Sets:[{title:"Web Application Icons",icon:"address-book",list:["address-book","far address-book","fas address-card","far address-card","adjust","fas american-sign-language-interpreting","anchor","archive","fas chart-area","fas arrows-alt","fas arrows-alt-h","fas arrows-alt-v","assistive-listening-systems","asterisk","at","audio-description","fas car","balance-scale","ban","fas university","far chart-bar","barcode","bars","fas bath","fas battery-full","fas battery-empty","fas battery-quarter","fas battery-half","fas battery-three-quarters","bed","beer","bell","far bell","bell-slash","far bell-slash","bicycle","binoculars","birthday-cake","blind","fab bluetooth","fab bluetooth-b","bolt","bomb","book","bookmark","far bookmark","braille","briefcase","bug","building","far building","bullhorn","bullseye","bus","fas taxi","calculator","calendar","far calendar-check","far calendar-minus","far calendar","far calendar-plus","far calendar-times","camera","camera-retro","car","far caret-square-down","far caret-square-left","far caret-square-right","far caret-square-up","cart-arrow-down","cart-plus","far closed-captioning","certificate","check","check-circle","far check-circle","check-square","far check-square","child","circle","far circle","fas circle-notch","far clock","clone","fas times","cloud","fas cloud-download-alt","fas cloud-upload-alt","code","fas code-branch","coffee","fas cog","fas cogs","comment","far comment","comments","far comments","compass","copyright","fab creative-commons","far credit-card","fas credit-card","crop","crosshairs","cube","cubes","fas utensils","fas tachometer-alt","database","fas deaf","desktop","far gem","far dot-circle","download","fas id-card","far id-card","edit ","ellipsis-h","ellipsis-v","envelope","far envelope","envelope-open","far envelope-open","envelope-square","eraser","fas exchange-alt","exclamation","exclamation-circle","fas exclamation-triangle","fas external-link-alt","fas external-link-square-alt","eye","eye-slash","fas eye-dropper","fax","fas rss","female","fighter-jet","far file-archive","far file-audio","far file-code","far file-excel","far file-image","far file-video","far file-pdf","far file-powerpoint","far file-word","film","filter","fire","fire-extinguisher","flag","flag-checkered","far flag","fas bolt","flask","folder","far folder","folder-open","far folder-open","far frown","far futbol","gamepad","fas gavel","gift","fas glass-martini","globe","fas graduation-cap","fas users","far hand-rock","far hand-lizard","far hand-paper","far hand-peace","far hand-pointer","far hand-scissors","far hand-spock","far handshake","hashtag","far hdd","headphones","heart","far heart","heartbeat","history","home","fas bed","hourglass","fas hourglass-start","fas hourglass-half","fas hourglass-end","far hourglass","i-cursor","id-badge","image ","inbox","industry","info","info-circle","key","far keyboard","language","laptop","leaf","far lemon","fas level-down-alt","fas level-up-alt","far life-ring","far lightbulb","fas chart-line","location-arrow","lock","low-vision","magic","magnet","fas share","fas reply ","fas reply-all ","male","map","map-marker","far map","map-pin","map-signs","far meh","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","far minus-square","mobile","far money-bill-alt","far moon","motorcycle","mouse-pointer","music","fas bars","far newspaper","object-group","object-ungroup","paint-brush","fas paper-plane","far paper-plane","paw","fas pencil-alt","fas pen-square","far edit","percent","phone","phone-square","far image","fas chart-pie","plane","plug","plus","plus-circle","plus-square","far plus-square","podcast","power-off","print","puzzle-piece","qrcode","question","question-circle","far question-circle","quote-left","quote-right","random","recycle","fas sync","registered","reply","reply-all","retweet","road","rocket","rss","rss-square","search","search-minus","search-plus","server","share-alt","share-alt-square","share-square","far share-square","fas shield-alt","ship","shopping-bag","shopping-basket","shopping-cart","shower","fas sign-in-alt","fas sign-language","fas sign-out-alt","signal","sitemap","fas sliders-h","far smile","far snowflake","sort","fas sort-alpha-down","fas sort-alpha-up","fas sort-amount-down","fas sort-amount-up","fas sort-up","fas sort-down","fas sort-numeric-down","fas sort-numeric-up","space-shuttle","spinner","fas utensil-spoon","square","far square","star","far star-half","far star","sticky-note","far sticky-note","street-view","suitcase","far sun","tablet","tag","tags","tasks","taxi","fas tv","terminal","fas thermometer-empty","fas thermometer-full","fas thermometer-half","fas thermometer-quarter","fas thermometer-three-quarters","fas thumbtack","thumbs-down","far thumbs-down","far thumbs-up","thumbs-up","fas ticket-alt","times","times-circle","far times-circle","fas window-close","far window-close ","tint","toggle-off","toggle-on","trademark","trash","far trash-alt","tree","trophy","truck","tty","tv ","umbrella","universal-access","university","unlock","unlock-alt","fas sort","upload","user","user-circle","far user-circle","far user","user-plus","user-secret","user-times","fas video","fas phone-volume","volume-down","volume-off","volume-up","wheelchair","fab accessible-icon","wifi","window-maximize","window-minimize","window-restore","wrench"]},{title:"Accessibility Icons",icon:"american-sign-language-interpreting",list:["fas american-sign-language-interpreting","assistive-listening-systems","audio-description","blind","braille","far closed-captioning","fas deaf","low-vision","far question-circle","fas sign-language","tty","universal-access","fas phone-volume","wheelchair","fab accessible-icon"]},{title:"Hand Icons",icon:"hand-grab-o",list:["far hand-rock","far hand-lizard","far hand-point-down","far hand-point-left","far hand-point-right","far hand-point-up","far hand-paper","far hand-peace","far hand-pointer","far hand-scissors","far hand-spock","thumbs-down","far thumbs-down","far thumbs-up","thumbs-up"]},{title:"Transportation Icons",icon:"ambulance",list:["ambulance","fas car","bicycle","bus","fas taxi","car","fighter-jet","motorcycle","plane","rocket","ship","space-shuttle","subway","taxi","train","truck","wheelchair","fab accessible-icon"]},{title:"Gender Icons",icon:"genderless",list:["genderless","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mercury","neuter","fas transgender","transgender-alt","venus","venus-double","venus-mars"]},{title:"Form Control Icons",icon:"check-square",list:["check-square","far check-square","circle","far circle","far dot-circle","minus-square","far minus-square","plus-square","far plus-square","square","far square"]},{title:"Payment Icons",icon:"cc-amex",list:["fab cc-amex","fab cc-diners-club","fab cc-discover","fab cc-jcb","fab cc-mastercard","fab cc-paypal","fab cc-stripe","fab cc-visa","far credit-card","fas credit-card","fab google-wallet","fab paypal"]},{title:"Chart Icons",icon:"area-chart",list:["fas chart-area","far chart-bar","fas chart-line","fas chart-pie"]},{title:"Currency Icons",icon:"bitcoin",list:["fab btc","fas yen-sign","fas dollar-sign","fas euro-sign","fas pound-sign","fab gg","fab gg-circle","fas shekel-sign","fas rupee-sign","fas won-sign","far money-bill-alt","fas ruble-sign ","fas lira-sign","fab viacoin"]},{title:"Text Editor Icons",icon:"align-center",list:["align-center","align-justify","align-left","align-right","bold","fas link","fas unlink","clipboard","columns","copy ","cut ","fas outdent","eraser","file","far file","fas file-alt","far file-alt","far copy","far save","font","fas heading","indent","italic","list","list-alt","list-ol","list-ul","paperclip","paragraph","paste ","fas undo","fas redo ","save","strikethrough","subscript","superscript","table","text-height","text-width","th","th-large","th-list","underline"]},{title:"Brand Icons",icon:"500px",list:["fab 500px","fab adn","fab amazon","fab android","fab angellist","fab apple","fab bandcamp","fab behance","fab behance-square","fab bitbucket","fab btc","fab black-tie","fab bluetooth","fab bluetooth-b","fab buysellads","fab cc-amex","fab cc-diners-club","fab cc-discover","fab cc-jcb","fab cc-mastercard","fab cc-paypal","fab cc-stripe","fab cc-visa","fab chrome","fab codepen","fab codiepie","fab connectdevelop","fab contao","fab css3","fab dashcube","fab delicious","fab deviantart","fab digg","fab dribbble","fab dropbox","fab drupal","fab edge","fab sellcast","fab empire","fab envira","fab etsy","fab expeditedssl","fab font-awesome","fab facebook-f","fab facebook","fab facebook-square","fab firefox","fab first-order","fab flickr","fab fonticons","fab fort-awesome","fab forumbee","fab foursquare","fab free-code-camp","fab get-pocket","fab gg","fab gg-circle","fab git","fab git-square","fab github","fab github-alt","fab github-square","fab gitlab","fab gratipay","fab glide","fab glide-g","fab google","fab google-plus-g","fab google-plus","fab google-plus-square","fab google-wallet","fab grav","fab hacker-news","fab houzz","fab html5","fab imdb","fab instagram","fab internet-explorer","fab ioxhost","fab joomla","fab jsfiddle","fab lastfm","fab lastfm-square","fab leanpub","fab linkedin-in","fab linkedin","fab linode","fab linux","fab maxcdn","fab medium","fab meetup","fab mixcloud","fab modx","fab odnoklassniki","fab odnoklassniki-square","fab opencart","fab openid","fab opera","fab optin-monster","fab pagelines","fab paypal","fab pied-piper","fab pied-piper-alt","fab pied-piper-pp","fab pinterest","fab pinterest-p","fab pinterest-square","fab product-hunt","fab qq","fab quora","fab rebel","fab ravelry","fab reddit","fab reddit-alien","fab reddit-square","fab renren","fab safari","fab scribd","fab sellsy","share-alt","share-alt-square","fab shirtsinbulk","fab simplybuilt","fab skyatlas","fab skype","fab slack","fab slideshare","fab snapchat","fab snapchat-ghost","fab snapchat-square","fab soundcloud","fab spotify","fab stack-exchange","fab stack-overflow","fab steam","fab steam-square","fab stumbleupon","fab stumbleupon-circle","fab superpowers","fab telegram","fab tencent-weibo","fab themeisle","fab trello","fab tripadvisor","fab tumblr","fab tumblr-square","fab twitch","fab twitter","fab twitter-square","fab usb","fab viacoin","fab viadeo","fab viadeo-square","fab vimeo","fab vimeo-square","fab vine","fab vk","fab weixin","fab weibo","fab whatsapp","fab wikipedia-w","fab windows","fab wordpress","fab wpbeginner","fab wpexplorer","fab wpforms","fab xing","fab xing-square","fab y-combinator","fab yahoo","fab yelp","fab yoast","fab youtube","fab youtube-square"]}],faButtons:["fontAwesomeBack","|"]}),Object.assign(g.POPUP_TEMPLATES,{fontAwesome:"[_BUTTONS_][_CUSTOM_LAYER_]"}),g.PLUGINS.fontAwesome=function(h){var m=h.$;"font_awesome_5"===h.opts.iconsTemplate&&(h.opts.fontAwesomeSets=h.opts.fontAwesome5Sets);var r=h.opts.fontAwesomeSets[0],o=h.opts.fontAwesomeSets,t="";function i(){h.opts.toolbarInline&&0'.concat(h.button.buildList(h.opts.faButtons),""));var e={buttons:t,custom_layer:s()},a=h.popups.create("fontAwesome",e);return function r(d){h.events.on("popup.tab",function(e){var a=m(e.currentTarget);if(!h.popups.isVisible("fontAwesome")||!a.is("span, a"))return!0;var r,t,s,o=e.which;if(g.KEYCODE.TAB==o){if(a.is("span.fr-icon")&&e.shiftKey||a.is("a")&&!e.shiftKey){var i=d.find(".fr-buttons");r=!h.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==r){var n=d.find("span.fr-icon:focus").first().concat(d.findVisible(" span.fr-icon").first().concat(d.find("a")));a.is("span.fr-icon")&&(n=n.not("span.fr-icon:not(:focus)")),t=n.index(a),t=e.shiftKey?((t-1)%n.length+n.length)%n.length:(t+1)%n.length,s=n.get(t),h.events.disableBlur(),s.focus(),r=!1}}else if(g.KEYCODE.ARROW_UP==o||g.KEYCODE.ARROW_DOWN==o||g.KEYCODE.ARROW_LEFT==o||g.KEYCODE.ARROW_RIGHT==o){if(a.is("span.fr-icon")){var l=a.parent().find("span.fr-icon");t=l.index(a);var c=Math.floor(l.length/8),f=t%8,u=Math.floor(t/8),p=8*u+f,b=8*c;g.KEYCODE.ARROW_UP==o?p=((p-8)%b+b)%b:g.KEYCODE.ARROW_DOWN==o?p=(p+8)%b:g.KEYCODE.ARROW_LEFT==o?p=((p-1)%b+b)%b:g.KEYCODE.ARROW_RIGHT==o&&(p=(p+1)%b),s=m(l.get(p)),h.events.disableBlur(),s.focus(),r=!1}}else g.KEYCODE.ENTER==o&&(a.is("a")?a[0].click():h.button.exec(a),r=!1);return!1===r&&(e.preventDefault(),e.stopPropagation()),r},!0)}(a),a}function s(){return"".concat(function t(e,a,r){return'\n
    \n '.concat(function n(e,r,t){var s="";if("font_awesome_5"===h.opts.iconsTemplate){var o="",i=t;e.forEach(function(e){o="cc-amex"===e.icon||"bitcoin"==e.icon||"500px"==e.icon?i.replace("fa ","fab "):t;var a={elementClass:e.title===r.title?"fr-active fr-active-tab":"",title:e.title,dataCmd:"setIconCategory",dataParam1:e.title,iconValue:o.replace(/\[NAME\]/g,e.icon)};s+='
    \n ")}(o,r,h.opts.fontAwesomeTemplate),"\n ").concat(function s(e,a){return'\n
    \n '.concat(function r(e,n){var l="";return e.list.forEach(function(e){if("font_awesome_5"===h.opts.iconsTemplate){var a={name:e,fprefix:"fa"},r=e.trim().split(" ");1'+t+''+h.language.translate("Example of")+a.name+"   "}else{var i={dataParam1:e,title:e,iconValue:n.replace(/\[NAME\]/g,e)};l+='').concat(i.iconValue,"")}}),l}(e,a),"\n
    \n ")}(r,h.opts.fontAwesomeTemplate))}return{setIconCategory:function n(a){r=o.filter(function(e){return e.title===a})[0],function e(){h.popups.get("fontAwesome").html(t+s())}()},showFontAwesomePopup:function l(){var e=h.popups.get("fontAwesome");if(e||(e=i()),!e.hasClass("fr-active")){h.popups.refresh("fontAwesome"),h.popups.setContainer("fontAwesome",h.$tb);var a=h.$tb.find('.fr-command[data-cmd="fontAwesome"]'),r=h.button.getPosition(a),t=r.left,s=r.top;h.popups.show("fontAwesome",t,s,a.outerHeight())}},back:function e(){h.popups.hide("fontAwesome"),h.toolbar.showInline()}}},g.DefineIcon("fontAwesome",{NAME:"flag",SVG_KEY:"fontAwesome"}),g.RegisterCommand("fontAwesome",{title:"Font Awesome",icon:"fontAwesome",undo:!1,focus:!1,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("fontAwesome")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("fontAwesome")):this.fontAwesome.showFontAwesomePopup()},plugin:"fontAwesome",showOnMobile:!0}),g.RegisterCommand("insertIcon",{callback:function(e,a){if("font_awesome_5"===editor.opts.iconsTemplate){var r={name:a,fprefix:"fa"},t=this.opts.fontAwesomeTemplate.replace(/\[NAME\]|\[FPREFIX\]/g,function(e){return r[e.substring(1,e.length-1).toLowerCase()]});this.undo.saveStep(),this.html.insert(t,!0),this.undo.saveStep()}else this.undo.saveStep(),this.html.insert("".concat(this.opts.fontAwesomeTemplate.replace(/\[NAME\]/g,a)," ")),this.undo.saveStep();this.popups.hide("fontAwesome")}}),g.RegisterCommand("setIconCategory",{undo:!1,focus:!1,callback:function(e,a){this.fontAwesome.setIconCategory(a)}}),g.DefineIcon("fontAwesomeBack",{NAME:"arrow-left",SVG_KEY:"back"}),g.RegisterCommand("fontAwesomeBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.fontAwesome.back()}})}); \ No newline at end of file +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],a):a(e.FroalaEditor)}(this,function(g){"use strict";g=g&&g.hasOwnProperty("default")?g["default"]:g,Object.assign(g.DEFAULTS,{fontAwesomeTemplate:'',fontAwesomeSets:[{title:"Web Application Icons",icon:"address-book",list:["address-book","address-book-o","address-card","address-card-o","adjust","american-sign-language-interpreting","anchor","archive","area-chart","arrows","arrows-h","arrows-v","asl-interpreting ","assistive-listening-systems","asterisk","at","audio-description","automobile ","balance-scale","ban","bank ","bar-chart","bar-chart-o ","barcode","bars","bath","bathtub ","battery ","battery-0 ","battery-1 ","battery-2 ","battery-3 ","battery-4 ","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-o","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","blind","bluetooth","bluetooth-b","bolt","bomb","book","bookmark","bookmark-o","braille","briefcase","bug","building","building-o","bullhorn","bullseye","bus","cab ","calculator","calendar","calendar-check-o","calendar-minus-o","calendar-o","calendar-plus-o","calendar-times-o","camera","camera-retro","car","caret-square-o-down","caret-square-o-left","caret-square-o-right","caret-square-o-up","cart-arrow-down","cart-plus","cc","certificate","check","check-circle","check-circle-o","check-square","check-square-o","child","circle","circle-o","circle-o-notch","circle-thin","clock-o","clone","close ","cloud","cloud-download","cloud-upload","code","code-fork","coffee","cog","cogs","comment","comment-o","commenting","commenting-o","comments","comments-o","compass","copyright","creative-commons","credit-card","credit-card-alt","crop","crosshairs","cube","cubes","cutlery","dashboard ","database","deaf","deafness ","desktop","diamond","dot-circle-o","download","drivers-license ","drivers-license-o ","edit ","ellipsis-h","ellipsis-v","envelope","envelope-o","envelope-open","envelope-open-o","envelope-square","eraser","exchange","exclamation","exclamation-circle","exclamation-triangle","external-link","external-link-square","eye","eye-slash","eyedropper","fax","feed ","female","fighter-jet","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o ","file-pdf-o","file-photo-o ","file-picture-o ","file-powerpoint-o","file-sound-o ","file-video-o","file-word-o","file-zip-o ","film","filter","fire","fire-extinguisher","flag","flag-checkered","flag-o","flash ","flask","folder","folder-o","folder-open","folder-open-o","frown-o","futbol-o","gamepad","gavel","gear ","gears ","gift","glass","globe","graduation-cap","group ","hand-grab-o ","hand-lizard-o","hand-paper-o","hand-peace-o","hand-pointer-o","hand-rock-o","hand-scissors-o","hand-spock-o","hand-stop-o ","handshake-o","hard-of-hearing ","hashtag","hdd-o","headphones","heart","heart-o","heartbeat","history","home","hotel ","hourglass","hourglass-1 ","hourglass-2 ","hourglass-3 ","hourglass-end","hourglass-half","hourglass-o","hourglass-start","i-cursor","id-badge","id-card","id-card-o","image ","inbox","industry","info","info-circle","institution ","key","keyboard-o","language","laptop","leaf","legal ","lemon-o","level-down","level-up","life-bouy ","life-buoy ","life-ring","life-saver ","lightbulb-o","line-chart","location-arrow","lock","low-vision","magic","magnet","mail-forward ","mail-reply ","mail-reply-all ","male","map","map-marker","map-o","map-pin","map-signs","meh-o","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","minus-square-o","mobile","mobile-phone ","money","moon-o","mortar-board ","motorcycle","mouse-pointer","music","navicon ","newspaper-o","object-group","object-ungroup","paint-brush","paper-plane","paper-plane-o","paw","pencil","pencil-square","pencil-square-o","percent","phone","phone-square","photo ","picture-o","pie-chart","plane","plug","plus","plus-circle","plus-square","plus-square-o","podcast","power-off","print","puzzle-piece","qrcode","question","question-circle","question-circle-o","quote-left","quote-right","random","recycle","refresh","registered","remove ","reorder ","reply","reply-all","retweet","road","rocket","rss","rss-square","s15 ","search","search-minus","search-plus","send ","send-o ","server","share","share-alt","share-alt-square","share-square","share-square-o","shield","ship","shopping-bag","shopping-basket","shopping-cart","shower","sign-in","sign-language","sign-out","signal","signing ","sitemap","sliders","smile-o","snowflake-o","soccer-ball-o ","sort","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-asc","sort-desc","sort-down ","sort-numeric-asc","sort-numeric-desc","sort-up ","space-shuttle","spinner","spoon","square","square-o","star","star-half","star-half-empty ","star-half-full ","star-half-o","star-o","sticky-note","sticky-note-o","street-view","suitcase","sun-o","support ","tablet","tachometer","tag","tags","tasks","taxi","television","terminal","thermometer ","thermometer-0 ","thermometer-1 ","thermometer-2 ","thermometer-3 ","thermometer-4 ","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","thumb-tack","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up","ticket","times","times-circle","times-circle-o","times-rectangle ","times-rectangle-o ","tint","toggle-down ","toggle-left ","toggle-off","toggle-on","toggle-right ","toggle-up ","trademark","trash","trash-o","tree","trophy","truck","tty","tv ","umbrella","universal-access","university","unlock","unlock-alt","unsorted ","upload","user","user-circle","user-circle-o","user-o","user-plus","user-secret","user-times","users","vcard ","vcard-o ","video-camera","volume-control-phone","volume-down","volume-off","volume-up","warning ","wheelchair","wheelchair-alt","wifi","window-close","window-close-o","window-maximize","window-minimize","window-restore","wrench"]},{title:"Accessibility Icons",icon:"american-sign-language-interpreting",list:["american-sign-language-interpreting","asl-interpreting ","assistive-listening-systems","audio-description","blind","braille","cc","deaf","deafness ","hard-of-hearing ","low-vision","question-circle-o","sign-language","signing ","tty","universal-access","volume-control-phone","wheelchair","wheelchair-alt"]},{title:"Hand Icons",icon:"hand-grab-o",list:["hand-grab-o ","hand-lizard-o","hand-o-down","hand-o-left","hand-o-right","hand-o-up","hand-paper-o","hand-peace-o","hand-pointer-o","hand-rock-o","hand-scissors-o","hand-spock-o","hand-stop-o ","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up"]},{title:"Transportation Icons",icon:"ambulance",list:["ambulance","automobile ","bicycle","bus","cab ","car","fighter-jet","motorcycle","plane","rocket","ship","space-shuttle","subway","taxi","train","truck","wheelchair","wheelchair-alt"]},{title:"Gender Icons",icon:"genderless",list:["genderless","intersex ","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mercury","neuter","transgender","transgender-alt","venus","venus-double","venus-mars"]},{title:"Form Control Icons",icon:"check-square",list:["check-square","check-square-o","circle","circle-o","dot-circle-o","minus-square","minus-square-o","plus-square","plus-square-o","square","square-o"]},{title:"Payment Icons",icon:"cc-amex",list:["cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","credit-card","credit-card-alt","google-wallet","paypal"]},{title:"Chart Icons",icon:"area-chart",list:["area-chart","bar-chart","bar-chart-o ","line-chart","pie-chart"]},{title:"Currency Icons",icon:"bitcoin",list:["bitcoin ","btc","cny ","dollar ","eur","euro ","gbp","gg","gg-circle","ils","inr","jpy","krw","money","rmb ","rouble ","rub","ruble ","rupee ","shekel ","sheqel ","try","turkish-lira ","usd","viacoin","won ","yen"]},{title:"Text Editor Icons",icon:"align-center",list:["align-center","align-justify","align-left","align-right","bold","chain ","chain-broken","clipboard","columns","copy ","cut ","dedent ","eraser","file","file-o","file-text","file-text-o","files-o","floppy-o","font","header","indent","italic","link","list","list-alt","list-ol","list-ul","outdent","paperclip","paragraph","paste ","repeat","rotate-left ","rotate-right ","save ","scissors","strikethrough","subscript","superscript","table","text-height","text-width","th","th-large","th-list","underline","undo","unlink"]},{title:"Brand Icons",icon:"500px",list:["500px","adn","amazon","android","angellist","apple","bandcamp","behance","behance-square","bitbucket","bitbucket-square","bitcoin ","black-tie","bluetooth","bluetooth-b","btc","buysellads","cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","chrome","codepen","codiepie","connectdevelop","contao","css3","dashcube","delicious","deviantart","digg","dribbble","dropbox","drupal","edge","eercast","empire","envira","etsy","expeditedssl","fa ","facebook","facebook-f ","facebook-official","facebook-square","firefox","first-order","flickr","font-awesome","fonticons","fort-awesome","forumbee","foursquare","free-code-camp","ge ","get-pocket","gg","gg-circle","git","git-square","github","github-alt","github-square","gitlab","gittip ","glide","glide-g","google","google-plus","google-plus-circle ","google-plus-official","google-plus-square","google-wallet","gratipay","grav","hacker-news","houzz","html5","imdb","instagram","internet-explorer","ioxhost","joomla","jsfiddle","lastfm","lastfm-square","leanpub","linkedin","linkedin-square","linode","linux","maxcdn","meanpath","medium","meetup","mixcloud","modx","odnoklassniki","odnoklassniki-square","opencart","openid","opera","optin-monster","pagelines","paypal","pied-piper","pied-piper-alt","pied-piper-pp","pinterest","pinterest-p","pinterest-square","product-hunt","qq","quora","ra ","ravelry","rebel","reddit","reddit-alien","reddit-square","renren","resistance ","safari","scribd","sellsy","share-alt","share-alt-square","shirtsinbulk","simplybuilt","skyatlas","skype","slack","slideshare","snapchat","snapchat-ghost","snapchat-square","soundcloud","spotify","stack-exchange","stack-overflow","steam","steam-square","stumbleupon","stumbleupon-circle","superpowers","telegram","tencent-weibo","themeisle","trello","tripadvisor","tumblr","tumblr-square","twitch","twitter","twitter-square","usb","viacoin","viadeo","viadeo-square","vimeo","vimeo-square","vine","vk","wechat ","weibo","weixin","whatsapp","wikipedia-w","windows","wordpress","wpbeginner","wpexplorer","wpforms","xing","xing-square","y-combinator","y-combinator-square ","yahoo","yc ","yc-square ","yelp","yoast","youtube","youtube-play","youtube-square"]}],fontAwesome5Sets:[{title:"Web Application Icons",icon:"address-book",list:["address-book","far address-book","fas address-card","far address-card","adjust","fas american-sign-language-interpreting","anchor","archive","fas chart-area","fas arrows-alt","fas arrows-alt-h","fas arrows-alt-v","assistive-listening-systems","asterisk","at","audio-description","fas car","balance-scale","ban","fas university","far chart-bar","barcode","bars","fas bath","fas battery-full","fas battery-empty","fas battery-quarter","fas battery-half","fas battery-three-quarters","bed","beer","bell","far bell","bell-slash","far bell-slash","bicycle","binoculars","birthday-cake","blind","fab bluetooth","fab bluetooth-b","bolt","bomb","book","bookmark","far bookmark","braille","briefcase","bug","building","far building","bullhorn","bullseye","bus","fas taxi","calculator","calendar","far calendar-check","far calendar-minus","far calendar","far calendar-plus","far calendar-times","camera","camera-retro","car","far caret-square-down","far caret-square-left","far caret-square-right","far caret-square-up","cart-arrow-down","cart-plus","far closed-captioning","certificate","check","check-circle","far check-circle","check-square","far check-square","child","circle","far circle","fas circle-notch","far clock","clone","fas times","cloud","fas cloud-download-alt","fas cloud-upload-alt","code","fas code-branch","coffee","fas cog","fas cogs","comment","far comment","comments","far comments","compass","copyright","fab creative-commons","far credit-card","fas credit-card","crop","crosshairs","cube","cubes","fas utensils","fas tachometer-alt","database","fas deaf","desktop","far gem","far dot-circle","download","fas id-card","far id-card","edit ","ellipsis-h","ellipsis-v","envelope","far envelope","envelope-open","far envelope-open","envelope-square","eraser","fas exchange-alt","exclamation","exclamation-circle","fas exclamation-triangle","fas external-link-alt","fas external-link-square-alt","eye","eye-slash","fas eye-dropper","fax","fas rss","female","fighter-jet","far file-archive","far file-audio","far file-code","far file-excel","far file-image","far file-video","far file-pdf","far file-powerpoint","far file-word","film","filter","fire","fire-extinguisher","flag","flag-checkered","far flag","fas bolt","flask","folder","far folder","folder-open","far folder-open","far frown","far futbol","gamepad","fas gavel","gift","fas glass-martini","globe","fas graduation-cap","fas users","far hand-rock","far hand-lizard","far hand-paper","far hand-peace","far hand-pointer","far hand-scissors","far hand-spock","far handshake","hashtag","far hdd","headphones","heart","far heart","heartbeat","history","home","fas bed","hourglass","fas hourglass-start","fas hourglass-half","fas hourglass-end","far hourglass","i-cursor","id-badge","image ","inbox","industry","info","info-circle","key","far keyboard","language","laptop","leaf","far lemon","fas level-down-alt","fas level-up-alt","far life-ring","far lightbulb","fas chart-line","location-arrow","lock","low-vision","magic","magnet","fas share","fas reply ","fas reply-all ","male","map","map-marker","far map","map-pin","map-signs","far meh","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","far minus-square","mobile","far money-bill-alt","far moon","motorcycle","mouse-pointer","music","fas bars","far newspaper","object-group","object-ungroup","paint-brush","fas paper-plane","far paper-plane","paw","fas pencil-alt","fas pen-square","far edit","percent","phone","phone-square","far image","fas chart-pie","plane","plug","plus","plus-circle","plus-square","far plus-square","podcast","power-off","print","puzzle-piece","qrcode","question","question-circle","far question-circle","quote-left","quote-right","random","recycle","fas sync","registered","reply","reply-all","retweet","road","rocket","rss","rss-square","search","search-minus","search-plus","server","share-alt","share-alt-square","share-square","far share-square","fas shield-alt","ship","shopping-bag","shopping-basket","shopping-cart","shower","fas sign-in-alt","fas sign-language","fas sign-out-alt","signal","sitemap","fas sliders-h","far smile","far snowflake","sort","fas sort-alpha-down","fas sort-alpha-up","fas sort-amount-down","fas sort-amount-up","fas sort-up","fas sort-down","fas sort-numeric-down","fas sort-numeric-up","space-shuttle","spinner","fas utensil-spoon","square","far square","star","far star-half","far star","sticky-note","far sticky-note","street-view","suitcase","far sun","tablet","tag","tags","tasks","taxi","fas tv","terminal","fas thermometer-empty","fas thermometer-full","fas thermometer-half","fas thermometer-quarter","fas thermometer-three-quarters","fas thumbtack","thumbs-down","far thumbs-down","far thumbs-up","thumbs-up","fas ticket-alt","times","times-circle","far times-circle","fas window-close","far window-close ","tint","toggle-off","toggle-on","trademark","trash","far trash-alt","tree","trophy","truck","tty","tv ","umbrella","universal-access","university","unlock","unlock-alt","fas sort","upload","user","user-circle","far user-circle","far user","user-plus","user-secret","user-times","fas video","fas phone-volume","volume-down","volume-off","volume-up","wheelchair","fab accessible-icon","wifi","window-maximize","window-minimize","window-restore","wrench"]},{title:"Accessibility Icons",icon:"american-sign-language-interpreting",list:["fas american-sign-language-interpreting","assistive-listening-systems","audio-description","blind","braille","far closed-captioning","fas deaf","low-vision","far question-circle","fas sign-language","tty","universal-access","fas phone-volume","wheelchair","fab accessible-icon"]},{title:"Hand Icons",icon:"hand-grab-o",list:["far hand-rock","far hand-lizard","far hand-point-down","far hand-point-left","far hand-point-right","far hand-point-up","far hand-paper","far hand-peace","far hand-pointer","far hand-scissors","far hand-spock","thumbs-down","far thumbs-down","far thumbs-up","thumbs-up"]},{title:"Transportation Icons",icon:"ambulance",list:["ambulance","fas car","bicycle","bus","fas taxi","car","fighter-jet","motorcycle","plane","rocket","ship","space-shuttle","subway","taxi","train","truck","wheelchair","fab accessible-icon"]},{title:"Gender Icons",icon:"genderless",list:["genderless","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mercury","neuter","fas transgender","transgender-alt","venus","venus-double","venus-mars"]},{title:"Form Control Icons",icon:"check-square",list:["check-square","far check-square","circle","far circle","far dot-circle","minus-square","far minus-square","plus-square","far plus-square","square","far square"]},{title:"Payment Icons",icon:"cc-amex",list:["fab cc-amex","fab cc-diners-club","fab cc-discover","fab cc-jcb","fab cc-mastercard","fab cc-paypal","fab cc-stripe","fab cc-visa","far credit-card","fas credit-card","fab google-wallet","fab paypal"]},{title:"Chart Icons",icon:"area-chart",list:["fas chart-area","far chart-bar","fas chart-line","fas chart-pie"]},{title:"Currency Icons",icon:"bitcoin",list:["fab btc","fas yen-sign","fas dollar-sign","fas euro-sign","fas pound-sign","fab gg","fab gg-circle","fas shekel-sign","fas rupee-sign","fas won-sign","far money-bill-alt","fas ruble-sign ","fas lira-sign","fab viacoin"]},{title:"Text Editor Icons",icon:"align-center",list:["align-center","align-justify","align-left","align-right","bold","fas link","fas unlink","clipboard","columns","copy ","cut ","fas outdent","eraser","file","far file","fas file-alt","far file-alt","far copy","far save","font","fas heading","indent","italic","list","list-alt","list-ol","list-ul","paperclip","paragraph","paste ","fas undo","fas redo ","save","strikethrough","subscript","superscript","table","text-height","text-width","th","th-large","th-list","underline"]},{title:"Brand Icons",icon:"500px",list:["fab 500px","fab adn","fab amazon","fab android","fab angellist","fab apple","fab bandcamp","fab behance","fab behance-square","fab bitbucket","fab btc","fab black-tie","fab bluetooth","fab bluetooth-b","fab buysellads","fab cc-amex","fab cc-diners-club","fab cc-discover","fab cc-jcb","fab cc-mastercard","fab cc-paypal","fab cc-stripe","fab cc-visa","fab chrome","fab codepen","fab codiepie","fab connectdevelop","fab contao","fab css3","fab dashcube","fab delicious","fab deviantart","fab digg","fab dribbble","fab dropbox","fab drupal","fab edge","fab sellcast","fab empire","fab envira","fab etsy","fab expeditedssl","fab font-awesome","fab facebook-f","fab facebook","fab facebook-square","fab firefox","fab first-order","fab flickr","fab fonticons","fab fort-awesome","fab forumbee","fab foursquare","fab free-code-camp","fab get-pocket","fab gg","fab gg-circle","fab git","fab git-square","fab github","fab github-alt","fab github-square","fab gitlab","fab gratipay","fab glide","fab glide-g","fab google","fab google-plus-g","fab google-plus","fab google-plus-square","fab google-wallet","fab grav","fab hacker-news","fab houzz","fab html5","fab imdb","fab instagram","fab internet-explorer","fab ioxhost","fab joomla","fab jsfiddle","fab lastfm","fab lastfm-square","fab leanpub","fab linkedin-in","fab linkedin","fab linode","fab linux","fab maxcdn","fab medium","fab meetup","fab mixcloud","fab modx","fab odnoklassniki","fab odnoklassniki-square","fab opencart","fab openid","fab opera","fab optin-monster","fab pagelines","fab paypal","fab pied-piper","fab pied-piper-alt","fab pied-piper-pp","fab pinterest","fab pinterest-p","fab pinterest-square","fab product-hunt","fab qq","fab quora","fab rebel","fab ravelry","fab reddit","fab reddit-alien","fab reddit-square","fab renren","fab safari","fab scribd","fab sellsy","share-alt","share-alt-square","fab shirtsinbulk","fab simplybuilt","fab skyatlas","fab skype","fab slack","fab slideshare","fab snapchat","fab snapchat-ghost","fab snapchat-square","fab soundcloud","fab spotify","fab stack-exchange","fab stack-overflow","fab steam","fab steam-square","fab stumbleupon","fab stumbleupon-circle","fab superpowers","fab telegram","fab tencent-weibo","fab themeisle","fab trello","fab tripadvisor","fab tumblr","fab tumblr-square","fab twitch","fab twitter","fab twitter-square","fab usb","fab viacoin","fab viadeo","fab viadeo-square","fab vimeo","fab vimeo-square","fab vine","fab vk","fab weixin","fab weibo","fab whatsapp","fab wikipedia-w","fab windows","fab wordpress","fab wpbeginner","fab wpexplorer","fab wpforms","fab xing","fab xing-square","fab y-combinator","fab yahoo","fab yelp","fab yoast","fab youtube","fab youtube-square"]}],faButtons:["fontAwesomeBack","|"]}),Object.assign(g.POPUP_TEMPLATES,{fontAwesome:"[_BUTTONS_][_CUSTOM_LAYER_]"}),g.PLUGINS.fontAwesome=function(h){var m=h.$;"font_awesome_5"===h.opts.iconsTemplate&&(h.opts.fontAwesomeSets=h.opts.fontAwesome5Sets);var r=h.opts.fontAwesomeSets[0],o=h.opts.fontAwesomeSets,t="";function i(){h.opts.toolbarInline&&0'.concat(h.button.buildList(h.opts.faButtons),""));var e={buttons:t,custom_layer:s()},a=h.popups.create("fontAwesome",e);return function r(d){h.events.on("popup.tab",function(e){var a=m(e.currentTarget);if(!h.popups.isVisible("fontAwesome")||!a.is("span, a"))return!0;var r,t,s,o=e.which;if(g.KEYCODE.TAB==o){if(a.is("span.fr-icon")&&e.shiftKey||a.is("a")&&!e.shiftKey){var i=d.find(".fr-buttons");r=!h.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==r){var n=d.find("span.fr-icon:focus").first().concat(d.findVisible(" span.fr-icon").first().concat(d.find("a")));a.is("span.fr-icon")&&(n=n.not("span.fr-icon:not(:focus)")),t=n.index(a),t=e.shiftKey?((t-1)%n.length+n.length)%n.length:(t+1)%n.length,s=n.get(t),h.events.disableBlur(),s.focus(),r=!1}}else if(g.KEYCODE.ARROW_UP==o||g.KEYCODE.ARROW_DOWN==o||g.KEYCODE.ARROW_LEFT==o||g.KEYCODE.ARROW_RIGHT==o){if(a.is("span.fr-icon")){var l=a.parent().find("span.fr-icon");t=l.index(a);var c=Math.floor(l.length/8),f=t%8,u=Math.floor(t/8),p=8*u+f,b=8*c;g.KEYCODE.ARROW_UP==o?p=((p-8)%b+b)%b:g.KEYCODE.ARROW_DOWN==o?p=(p+8)%b:g.KEYCODE.ARROW_LEFT==o?p=((p-1)%b+b)%b:g.KEYCODE.ARROW_RIGHT==o&&(p=(p+1)%b),s=m(l.get(p)),h.events.disableBlur(),s.focus(),r=!1}}else g.KEYCODE.ENTER==o&&(a.is("a")?a[0].click():h.button.exec(a),r=!1);return!1===r&&(e.preventDefault(),e.stopPropagation()),r},!0)}(a),a}function s(){return"".concat(function t(e,a,r){return'\n
    \n '.concat(function n(e,r,t){var s="";if("font_awesome_5"===h.opts.iconsTemplate){var o="",i=t;e.forEach(function(e){o="cc-amex"===e.icon||"bitcoin"==e.icon||"500px"==e.icon?i.replace("fa ","fab "):t;var a={elementClass:e.title===r.title?"fr-active fr-active-tab":"",title:e.title,dataCmd:"setIconCategory",dataParam1:e.title,iconValue:o.replace(/\[NAME\]/g,e.icon)};s+='
    \n ")}(o,r,h.opts.fontAwesomeTemplate),"\n ").concat(function s(e,a){return'\n
    \n '.concat(function r(e,n){var l="";return e.list.forEach(function(e){if("font_awesome_5"===h.opts.iconsTemplate){var a={name:e,fprefix:"fa"},r=e.trim().split(" ");1'+t+''+h.language.translate("Example of")+a.name+"   "}else{var i={dataParam1:e,title:e,iconValue:n.replace(/\[NAME\]/g,e)};l+='').concat(i.iconValue,"")}}),l}(e,a),"\n
    \n ")}(r,h.opts.fontAwesomeTemplate))}return{setIconCategory:function n(a){r=o.filter(function(e){return e.title===a})[0],function e(){h.popups.get("fontAwesome").html(t+s())}()},showFontAwesomePopup:function l(){var e=h.popups.get("fontAwesome");if(e||(e=i()),!e.hasClass("fr-active")){h.popups.refresh("fontAwesome"),h.popups.setContainer("fontAwesome",h.$tb);var a=h.$tb.find('.fr-command[data-cmd="fontAwesome"]'),r=h.button.getPosition(a),t=r.left,s=r.top;h.popups.show("fontAwesome",t,s,a.outerHeight())}},back:function e(){h.popups.hide("fontAwesome"),h.toolbar.showInline()}}},g.DefineIcon("fontAwesome",{NAME:"flag",SVG_KEY:"fontAwesome"}),g.RegisterCommand("fontAwesome",{title:"Font Awesome",icon:"fontAwesome",undo:!1,focus:!1,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("fontAwesome")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("fontAwesome")):this.fontAwesome.showFontAwesomePopup()},plugin:"fontAwesome",showOnMobile:!0}),g.RegisterCommand("insertIcon",{callback:function(e,a){if(editor.opts&&"font_awesome_5"===editor.opts.iconsTemplate){var r={name:a,fprefix:"fa"},t=this.opts.fontAwesomeTemplate.replace(/\[NAME\]|\[FPREFIX\]/g,function(e){return r[e.substring(1,e.length-1).toLowerCase()]});this.undo.saveStep(),this.html.insert(t,!0),this.undo.saveStep()}else this.undo.saveStep(),this.html.insert("".concat(this.opts.fontAwesomeTemplate.replace(/\[NAME\]/g,a)," ")),this.undo.saveStep();this.popups.hide("fontAwesome")}}),g.RegisterCommand("setIconCategory",{undo:!1,focus:!1,callback:function(e,a){this.fontAwesome.setIconCategory(a)}}),g.DefineIcon("fontAwesomeBack",{NAME:"arrow-left",SVG_KEY:"back"}),g.RegisterCommand("fontAwesomeBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.fontAwesome.back()}})}); \ No newline at end of file diff --git a/webroot/js/third_party/image_tui.min.js b/webroot/js/third_party/image_tui.min.js index f751300c..6ea092d0 100644 --- a/webroot/js/third_party/image_tui.min.js +++ b/webroot/js/third_party/image_tui.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(e){"use strict";function v(e){return(v="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)}if(e=e&&e.hasOwnProperty("default")?e["default"]:e,Object.assign(e.DEFAULTS,{imageTUIOptions:{includeUI:{theme:{"menu.normalIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-d.svg","menu.activeIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-b.svg","menu.disabledIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-a.svg","menu.hoverIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-c.svg","submenu.normalIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-d.svg","submenu.normalIcon.name":"icon-d","submenu.activeIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-c.svg","submenu.activeIcon.name":"icon-c"},initMenu:"filter",menuBarPosition:"left"}},tui:window.tui}),e.PLUGINS.imageTUI=function(c){var l=c.$,m=!0;function g(e,t){l("#tuieditor").remove(),e.style.display="none",m||t===undefined||t.filesManager.setChildWindowState(!1)}function p(e,t,i,n,o){for(var a=e.toDataURL(),d=atob(a.split(",")[1]),r=[],s=0;sCancel '),l(".tui-editor-cancel-btn")[0].addEventListener("click",function(e){g(d,t)}),l(".tui-editor-save-btn")[0].addEventListener("click",function(e){null!=n?p(s,t,o,i,n):p(s,t,o,i),g(d,t)})}}}},e.DefineIcon("imageTUI",{NAME:"sliders",FA5NAME:"sliders-h",SVG_KEY:"advancedImageEditor"}),e.RegisterCommand("imageTUI",{title:"Advanced Edit",undo:!1,focus:!1,callback:function(e,t){this.imageTUI.launch(this,!0)},plugin:"imageTUI"}),!e.PLUGINS.image)throw new Error("TUI image editor plugin requires image plugin.");e.DEFAULTS.imageEditButtons.push("imageTUI")}); \ No newline at end of file diff --git a/webroot/js/third_party/spell_checker.min.js b/webroot/js/third_party/spell_checker.min.js index 46b62dd7..231371e6 100644 --- a/webroot/js/third_party/spell_checker.min.js +++ b/webroot/js/third_party/spell_checker.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v3.2.5 (https://www.froala.com/wysiwyg-editor) + * froala_editor v3.2.5-2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2020 Froala Labs + * Copyright 2014-2021 Froala Labs */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(p){"use strict";(p=p&&p.hasOwnProperty("default")?p["default"]:p).DEFAULT_SCAYT_OPTIONS={enableOnTouchDevices:!1,disableOptionsStorage:["all"],localization:"en",extraModules:"ui",DefaultSelection:"American English",spellcheckLang:"en_US",contextMenuSections:"suggest|moresuggest",serviceProtocol:"https",servicePort:"80",serviceHost:"svc.webspellchecker.net",servicePath:"spellcheck/script/ssrv.cgi",contextMenuForMisspelledOnly:!0,scriptPath:"https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"},Object.assign(p.DEFAULTS,{scaytAutoload:!1,scaytCustomerId:"1:ldogw1-MSDuT3-slyfO-0YJgB1-Wx7262-HIT741-MAMDv4-10qfb3-A4LDP-c60m3-hSQgd2-az2",scaytOptions:{}}),p.PLUGINS.spellChecker=function(s){var l;function e(e){if(l&&l.isDisabled){var t=!l.isDisabled();e.toggleClass("fr-active",t).attr("aria-pressed",t),s.$el.attr("spellcheck",s.opts.spellcheck&&!t)}}function t(e){l&&l.isDisabled&&!l.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&l.removeMarkupInSelectionNode({removeInside:!0})}function o(e){l&&l.isDisabled&&!l.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&l.reloadMarkup()}function a(e){l&&l.isDisabled&&!l.isDisabled()&&(e.which==p.KEYCODE.ENTER&&setTimeout(l.reloadMarkup,0))}function i(e){if(e&&e.getAttribute&&e.getAttribute("data-scayt-word"))e.outerHTML=e.innerHTML;else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var t=e.querySelectorAll("[data-scayt-word], [data-spelling-word]"),s=0;s