<b>Telegram iComsium Current root:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <br><b>Current path:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <hr><a href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes">..</a><br /><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">404.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">CREDITS.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">LICENSE.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">README.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/ai-app">ai-app</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">changelog.txt</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/cloud">cloud</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">comments.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/common">common</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/core">core</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/css">css</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/epanel">epanel</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">error_log</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/et-pagebuilder">et-pagebuilder</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">functions.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/images">images</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/includes">includes</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">index.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/js">js</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/lang">lang</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/onboarding">onboarding</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">options_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">page-template-blank.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">page.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">post_thumbnails_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/psd">psd</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">rtl.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">screenshot.jpg</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">sidebar-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">sidebar.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">single-et_pb_layout.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">single-project.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">single.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">style-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">style-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">style-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">style-static-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">style-static-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">style-static-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">style-static.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">style.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">style.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">theme-after-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">theme-after-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">theme-after-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">theme-before-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">theme-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">theme-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">theme.json</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">wpml-config.xml</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Yeniden Adlandır]</a><br><hr><h3>Dosya Düzenle: ckeditor.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">﻿/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(){if(window.CKEDITOR&amp;&amp;window.CKEDITOR.dom)return;window.CKEDITOR||(window.CKEDITOR=function(){var a=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,d={timestamp:&quot;K87C&quot;,version:&quot;4.15.0&quot;,revision:&quot;cc4885b53&quot;,rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:a},status:&quot;unloaded&quot;,basePath:function(){var b=window.CKEDITOR_BASEPATH||&quot;&quot;;if(!b)for(var c=document.getElementsByTagName(&quot;script&quot;),d=0;d&lt;c.length;d++){var g=c[d].src.match(a);if(g){b=g[1];break}}-1==b.indexOf(&quot;:/&quot;)&amp;&amp;&quot;//&quot;!=b.slice(0,2)&amp;&amp;(b=0===b.indexOf(&quot;/&quot;)?location.href.match(/^.*?:\/\/[^\/]*/)[0]+
b:location.href.match(/^[^\?]*\/(?:)/)[0]+b);if(!b)throw&#039;The CKEditor installation path could not be automatically detected. Please set the global variable &quot;CKEDITOR_BASEPATH&quot; before creating editor instances.&#039;;return b}(),getUrl:function(a){-1==a.indexOf(&quot;:/&quot;)&amp;&amp;0!==a.indexOf(&quot;/&quot;)&amp;&amp;(a=this.basePath+a);this.timestamp&amp;&amp;&quot;/&quot;!=a.charAt(a.length-1)&amp;&amp;!/[&amp;?]t=/.test(a)&amp;&amp;(a+=(0&lt;=a.indexOf(&quot;?&quot;)?&quot;\x26&quot;:&quot;?&quot;)+&quot;t\x3d&quot;+this.timestamp);return a},domReady:function(){function a(){try{document.addEventListener?(document.removeEventListener(&quot;DOMContentLoaded&quot;,
a,!1),b()):document.attachEvent&amp;&amp;&quot;complete&quot;===document.readyState&amp;&amp;(document.detachEvent(&quot;onreadystatechange&quot;,a),b())}catch(c){}}function b(){for(var a;a=c.shift();)a()}var c=[];return function(b){function d(){try{document.documentElement.doScroll(&quot;left&quot;)}catch(b){setTimeout(d,1);return}a()}c.push(b);&quot;complete&quot;===document.readyState&amp;&amp;setTimeout(a,1);if(1==c.length)if(document.addEventListener)document.addEventListener(&quot;DOMContentLoaded&quot;,a,!1),window.addEventListener(&quot;load&quot;,a,!1);else if(document.attachEvent){document.attachEvent(&quot;onreadystatechange&quot;,
a);window.attachEvent(&quot;onload&quot;,a);b=!1;try{b=!window.frameElement}catch(h){}document.documentElement.doScroll&amp;&amp;b&amp;&amp;d()}}}()},b=window.CKEDITOR_GETURL;if(b){var c=d.getUrl;d.getUrl=function(a){return b.call(d,a)||c.call(d,a)}}return d}());
CKEDITOR.event||(CKEDITOR.event=function(){},CKEDITOR.event.implementOn=function(a){var d=CKEDITOR.event.prototype,b;for(b in d)null==a[b]&amp;&amp;(a[b]=d[b])},CKEDITOR.event.prototype=function(){function a(a){var f=d(this);return f[a]||(f[a]=new b(a))}var d=function(a){a=a.getPrivate&amp;&amp;a.getPrivate()||a._||(a._={});return a.events||(a.events={})},b=function(a){this.name=a;this.listeners=[]};b.prototype={getListenerIndex:function(a){for(var b=0,d=this.listeners;b&lt;d.length;b++)if(d[b].fn==a)return b;return-1}};
return{define:function(b,d){var h=a.call(this,b);CKEDITOR.tools.extend(h,d,!0)},on:function(b,d,h,k,g){function l(a,x,w,e){a={name:b,sender:this,editor:a,data:x,listenerData:k,stop:w,cancel:e,removeListener:u};return!1===d.call(h,a)?!1:a.data}function u(){x.removeListener(b,d)}var e=a.call(this,b);if(0&gt;e.getListenerIndex(d)){e=e.listeners;h||(h=this);isNaN(g)&amp;&amp;(g=10);var x=this;l.fn=d;l.priority=g;for(var w=e.length-1;0&lt;=w;w--)if(e[w].priority&lt;=g)return e.splice(w+1,0,l),{removeListener:u};e.unshift(l)}return{removeListener:u}},
once:function(){var a=Array.prototype.slice.call(arguments),b=a[1];a[1]=function(a){a.removeListener();return b.apply(this,arguments)};return this.on.apply(this,a)},capture:function(){CKEDITOR.event.useCapture=1;var a=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return a},fire:function(){var a=0,b=function(){a=1},h=0,k=function(){h=1};return function(g,l,u){var e=d(this)[g];g=a;var x=h;a=h=0;if(e){var w=e.listeners;if(w.length)for(var w=w.slice(0),z,H=0;H&lt;w.length;H++){if(e.errorProof)try{z=
w[H].call(this,u,l,b,k)}catch(t){}else z=w[H].call(this,u,l,b,k);!1===z?h=1:&quot;undefined&quot;!=typeof z&amp;&amp;(l=z);if(a||h)break}}l=h?!1:&quot;undefined&quot;==typeof l?!0:l;a=g;h=x;return l}}(),fireOnce:function(a,b,h){b=this.fire(a,b,h);delete d(this)[a];return b},removeListener:function(a,b){var h=d(this)[a];if(h){var k=h.getListenerIndex(b);0&lt;=k&amp;&amp;h.listeners.splice(k,1)}},removeAllListeners:function(){var a=d(this),b;for(b in a)delete a[b]},hasListeners:function(a){return(a=d(this)[a])&amp;&amp;0&lt;a.listeners.length}}}());
CKEDITOR.editor||(CKEDITOR.editor=function(){CKEDITOR._.pending.push([this,arguments]);CKEDITOR.event.call(this)},CKEDITOR.editor.prototype.fire=function(a,d){a in{instanceReady:1,loaded:1}&amp;&amp;(this[a]=!0);return CKEDITOR.event.prototype.fire.call(this,a,d,this)},CKEDITOR.editor.prototype.fireOnce=function(a,d){a in{instanceReady:1,loaded:1}&amp;&amp;(this[a]=!0);return CKEDITOR.event.prototype.fireOnce.call(this,a,d,this)},CKEDITOR.event.implementOn(CKEDITOR.editor.prototype));
CKEDITOR.env||(CKEDITOR.env=function(){var a=navigator.userAgent.toLowerCase(),d=a.match(/edge[ \/](\d+.?\d*)/),b=-1&lt;a.indexOf(&quot;trident/&quot;),b=!(!d&amp;&amp;!b),b={ie:b,edge:!!d,webkit:!b&amp;&amp;-1&lt;a.indexOf(&quot; applewebkit/&quot;),air:-1&lt;a.indexOf(&quot; adobeair/&quot;),mac:-1&lt;a.indexOf(&quot;macintosh&quot;),quirks:&quot;BackCompat&quot;==document.compatMode&amp;&amp;(!document.documentMode||10&gt;document.documentMode),mobile:-1&lt;a.indexOf(&quot;mobile&quot;),iOS:/(ipad|iphone|ipod)/.test(a),isCustomDomain:function(){if(!this.ie)return!1;var a=document.domain,b=window.location.hostname;
return a!=b&amp;&amp;a!=&quot;[&quot;+b+&quot;]&quot;},secure:&quot;https:&quot;==location.protocol};b.gecko=&quot;Gecko&quot;==navigator.product&amp;&amp;!b.webkit&amp;&amp;!b.ie;b.webkit&amp;&amp;(-1&lt;a.indexOf(&quot;chrome&quot;)?b.chrome=!0:b.safari=!0);var c=0;b.ie&amp;&amp;(c=d?parseFloat(d[1]):b.quirks||!document.documentMode?parseFloat(a.match(/msie (\d+)/)[1]):document.documentMode,b.ie9Compat=9==c,b.ie8Compat=8==c,b.ie7Compat=7==c,b.ie6Compat=7&gt;c||b.quirks);b.gecko&amp;&amp;(d=a.match(/rv:([\d\.]+)/))&amp;&amp;(d=d[1].split(&quot;.&quot;),c=1E4*d[0]+100*(d[1]||0)+1*(d[2]||0));b.air&amp;&amp;(c=parseFloat(a.match(/ adobeair\/(\d+)/)[1]));
b.webkit&amp;&amp;(c=parseFloat(a.match(/ applewebkit\/(\d+)/)[1]));b.version=c;b.isCompatible=!(b.ie&amp;&amp;7&gt;c)&amp;&amp;!(b.gecko&amp;&amp;4E4&gt;c)&amp;&amp;!(b.webkit&amp;&amp;534&gt;c);b.hidpi=2&lt;=window.devicePixelRatio;b.needsBrFiller=b.gecko||b.webkit||b.ie&amp;&amp;10&lt;c;b.needsNbspFiller=b.ie&amp;&amp;11&gt;c;b.cssClass=&quot;cke_browser_&quot;+(b.ie?&quot;ie&quot;:b.gecko?&quot;gecko&quot;:b.webkit?&quot;webkit&quot;:&quot;unknown&quot;);b.quirks&amp;&amp;(b.cssClass+=&quot; cke_browser_quirks&quot;);b.ie&amp;&amp;(b.cssClass+=&quot; cke_browser_ie&quot;+(b.quirks?&quot;6 cke_browser_iequirks&quot;:b.version));b.air&amp;&amp;(b.cssClass+=&quot; cke_browser_air&quot;);
b.iOS&amp;&amp;(b.cssClass+=&quot; cke_browser_ios&quot;);b.hidpi&amp;&amp;(b.cssClass+=&quot; cke_hidpi&quot;);return b}());
&quot;unloaded&quot;==CKEDITOR.status&amp;&amp;function(){CKEDITOR.event.implementOn(CKEDITOR);CKEDITOR.loadFullCore=function(){if(&quot;basic_ready&quot;!=CKEDITOR.status)CKEDITOR.loadFullCore._load=1;else{delete CKEDITOR.loadFullCore;var a=document.createElement(&quot;script&quot;);a.type=&quot;text/javascript&quot;;a.src=CKEDITOR.basePath+&quot;ckeditor.js&quot;;document.getElementsByTagName(&quot;head&quot;)[0].appendChild(a)}};CKEDITOR.loadFullCoreTimeout=0;CKEDITOR.add=function(a){(this._.pending||(this._.pending=[])).push(a)};(function(){CKEDITOR.domReady(function(){var a=
CKEDITOR.loadFullCore,d=CKEDITOR.loadFullCoreTimeout;a&amp;&amp;(CKEDITOR.status=&quot;basic_ready&quot;,a&amp;&amp;a._load?a():d&amp;&amp;setTimeout(function(){CKEDITOR.loadFullCore&amp;&amp;CKEDITOR.loadFullCore()},1E3*d))})})();CKEDITOR.status=&quot;basic_loaded&quot;}();&quot;use strict&quot;;CKEDITOR.VERBOSITY_WARN=1;CKEDITOR.VERBOSITY_ERROR=2;CKEDITOR.verbosity=CKEDITOR.VERBOSITY_WARN|CKEDITOR.VERBOSITY_ERROR;CKEDITOR.warn=function(a,d){CKEDITOR.verbosity&amp;CKEDITOR.VERBOSITY_WARN&amp;&amp;CKEDITOR.fire(&quot;log&quot;,{type:&quot;warn&quot;,errorCode:a,additionalData:d})};
CKEDITOR.error=function(a,d){CKEDITOR.verbosity&amp;CKEDITOR.VERBOSITY_ERROR&amp;&amp;CKEDITOR.fire(&quot;log&quot;,{type:&quot;error&quot;,errorCode:a,additionalData:d})};
CKEDITOR.on(&quot;log&quot;,function(a){if(window.console&amp;&amp;window.console.log){var d=console[a.data.type]?a.data.type:&quot;log&quot;,b=a.data.errorCode;if(a=a.data.additionalData)console[d](&quot;[CKEDITOR] Error code: &quot;+b+&quot;.&quot;,a);else console[d](&quot;[CKEDITOR] Error code: &quot;+b+&quot;.&quot;);console[d](&quot;[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#&quot;+b)}},null,null,999);CKEDITOR.dom={};
(function(){function a(a,b,e){this._minInterval=a;this._context=e;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(b,e||{});var c=this;this.input=function(){function a(){c._lastOutput=(new Date).getTime();c._scheduledTimer=0;c._call()}if(!c._scheduledTimer||!1!==c._reschedule()){var x=(new Date).getTime()-c._lastOutput;x&lt;c._minInterval?c._scheduledTimer=setTimeout(a,c._minInterval-x):a()}}}function d(x,b,e){a.call(this,x,b,e);this._args=[];var c=this;this.input=CKEDITOR.tools.override(this.input,
function(a){return function(){c._args=Array.prototype.slice.call(arguments);a.call(this)}})}var b=[],c=CKEDITOR.env.gecko?&quot;-moz-&quot;:CKEDITOR.env.webkit?&quot;-webkit-&quot;:CKEDITOR.env.ie?&quot;-ms-&quot;:&quot;&quot;,f=/&amp;/g,h=/&gt;/g,k=/&lt;/g,g=/&quot;/g,l=/&amp;(lt|gt|amp|quot|nbsp|shy|#\d{1,5});/g,u={lt:&quot;\x3c&quot;,gt:&quot;\x3e&quot;,amp:&quot;\x26&quot;,quot:&#039;&quot;&#039;,nbsp:&quot; &quot;,shy:&quot;­&quot;},e=function(a,b){return&quot;#&quot;==b[0]?String.fromCharCode(parseInt(b.slice(1),10)):u[b]};CKEDITOR.on(&quot;reset&quot;,function(){b=[]});CKEDITOR.tools={arrayCompare:function(a,b){if(!a&amp;&amp;!b)return!0;
if(!a||!b||a.length!=b.length)return!1;for(var e=0;e&lt;a.length;e++)if(a[e]!=b[e])return!1;return!0},getIndex:function(a,b){for(var e=0;e&lt;a.length;++e)if(b(a[e]))return e;return-1},clone:function(a){var b;if(a&amp;&amp;a instanceof Array){b=[];for(var e=0;e&lt;a.length;e++)b[e]=CKEDITOR.tools.clone(a[e]);return b}if(null===a||&quot;object&quot;!=typeof a||a instanceof String||a instanceof Number||a instanceof Boolean||a instanceof Date||a instanceof RegExp||a.nodeType||a.window===a)return a;b=new a.constructor;for(e in a)b[e]=
CKEDITOR.tools.clone(a[e]);return b},capitalize:function(a,b){return a.charAt(0).toUpperCase()+(b?a.slice(1):a.slice(1).toLowerCase())},extend:function(a){var b=arguments.length,e,c;&quot;boolean&quot;==typeof(e=arguments[b-1])?b--:&quot;boolean&quot;==typeof(e=arguments[b-2])&amp;&amp;(c=arguments[b-1],b-=2);for(var g=1;g&lt;b;g++){var n=arguments[g]||{};CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(n),function(b){if(!0===e||null==a[b])if(!c||b in c)a[b]=n[b]})}return a},prototypedCopy:function(a){var b=function(){};
b.prototype=a;return new b},copy:function(a){var b={},e;for(e in a)b[e]=a[e];return b},isArray:function(a){return&quot;[object Array]&quot;==Object.prototype.toString.call(a)},isEmpty:function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0},cssVendorPrefix:function(a,b,e){if(e)return c+a+&quot;:&quot;+b+&quot;;&quot;+a+&quot;:&quot;+b;e={};e[a]=b;e[c+a]=b;return e},cssStyleToDomStyle:function(){var a=document.createElement(&quot;div&quot;).style,b=&quot;undefined&quot;!=typeof a.cssFloat?&quot;cssFloat&quot;:&quot;undefined&quot;!=typeof a.styleFloat?&quot;styleFloat&quot;:
&quot;float&quot;;return function(a){return&quot;float&quot;==a?b:a.replace(/-./g,function(a){return a.substr(1).toUpperCase()})}}(),buildStyleHtml:function(a){a=[].concat(a);for(var b,e=[],c=0;c&lt;a.length;c++)if(b=a[c])/@import|[{}]/.test(b)?e.push(&quot;\x3cstyle\x3e&quot;+b+&quot;\x3c/style\x3e&quot;):e.push(&#039;\x3clink type\x3d&quot;text/css&quot; rel\x3dstylesheet href\x3d&quot;&#039;+b+&#039;&quot;\x3e&#039;);return e.join(&quot;&quot;)},htmlEncode:function(a){return void 0===a||null===a?&quot;&quot;:String(a).replace(f,&quot;\x26amp;&quot;).replace(h,&quot;\x26gt;&quot;).replace(k,&quot;\x26lt;&quot;)},htmlDecode:function(a){return a.replace(l,
e)},htmlEncodeAttr:function(a){return CKEDITOR.tools.htmlEncode(a).replace(g,&quot;\x26quot;&quot;)},htmlDecodeAttr:function(a){return CKEDITOR.tools.htmlDecode(a)},transformPlainTextToHtml:function(a,b){var e=b==CKEDITOR.ENTER_BR,c=this.htmlEncode(a.replace(/\r\n/g,&quot;\n&quot;)),c=c.replace(/\t/g,&quot;\x26nbsp;\x26nbsp; \x26nbsp;&quot;),g=b==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;if(!e){var n=/\n{2}/g;if(n.test(c))var d=&quot;\x3c&quot;+g+&quot;\x3e&quot;,l=&quot;\x3c/&quot;+g+&quot;\x3e&quot;,c=d+c.replace(n,function(){return l+d})+l}c=c.replace(/\n/g,&quot;\x3cbr\x3e&quot;);e||(c=
c.replace(new RegExp(&quot;\x3cbr\x3e(?\x3d\x3c/&quot;+g+&quot;\x3e)&quot;),function(a){return CKEDITOR.tools.repeat(a,2)}));c=c.replace(/^ | $/g,&quot;\x26nbsp;&quot;);return c=c.replace(/(&gt;|\s) /g,function(a,b){return b+&quot;\x26nbsp;&quot;}).replace(/ (?=&lt;)/g,&quot;\x26nbsp;&quot;)},getNextNumber:function(){var a=0;return function(){return++a}}(),getNextId:function(){return&quot;cke_&quot;+this.getNextNumber()},getUniqueId:function(){for(var a=&quot;e&quot;,b=0;8&gt;b;b++)a+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return a},override:function(a,
b){var e=b(a);e.prototype=a.prototype;return e},setTimeout:function(a,b,e,c,g){g||(g=window);e||(e=g);return g.setTimeout(function(){c?a.apply(e,[].concat(c)):a.apply(e)},b||0)},throttle:function(a,b,e){return new this.buffers.throttle(a,b,e)},trim:function(){var a=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(b){return b.replace(a,&quot;&quot;)}}(),ltrim:function(){var a=/^[ \t\n\r]+/g;return function(b){return b.replace(a,&quot;&quot;)}}(),rtrim:function(){var a=/[ \t\n\r]+$/g;return function(b){return b.replace(a,
&quot;&quot;)}}(),indexOf:function(a,b){if(&quot;function&quot;==typeof b)for(var e=0,c=a.length;e&lt;c;e++){if(b(a[e]))return e}else{if(a.indexOf)return a.indexOf(b);e=0;for(c=a.length;e&lt;c;e++)if(a[e]===b)return e}return-1},search:function(a,b){var e=CKEDITOR.tools.indexOf(a,b);return 0&lt;=e?a[e]:null},bind:function(a,b){var e=Array.prototype.slice.call(arguments,2);return function(){return a.apply(b,e.concat(Array.prototype.slice.call(arguments)))}},createClass:function(a){var b=a.$,e=a.base,c=a.privates||a._,g=a.proto;
a=a.statics;!b&amp;&amp;(b=function(){e&amp;&amp;this.base.apply(this,arguments)});if(c)var n=b,b=function(){var a=this._||(this._={}),b;for(b in c){var e=c[b];a[b]=&quot;function&quot;==typeof e?CKEDITOR.tools.bind(e,this):e}n.apply(this,arguments)};e&amp;&amp;(b.prototype=this.prototypedCopy(e.prototype),b.prototype.constructor=b,b.base=e,b.baseProto=e.prototype,b.prototype.base=function y(){this.base=e.prototype.base;e.apply(this,arguments);this.base=y});g&amp;&amp;this.extend(b.prototype,g,!0);a&amp;&amp;this.extend(b,a,!0);return b},addFunction:function(a,
e){return b.push(function(){return a.apply(e||this,arguments)})-1},removeFunction:function(a){b[a]=null},callFunction:function(a){var e=b[a];return e&amp;&amp;e.apply(window,Array.prototype.slice.call(arguments,1))},cssLength:function(){var a=/^-?\d+\.?\d*px$/,b;return function(e){b=CKEDITOR.tools.trim(e+&quot;&quot;)+&quot;px&quot;;return a.test(b)?b:e||&quot;&quot;}}(),convertToPx:function(){var a;return function(b){a||(a=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv style\x3d&quot;position:absolute;left:-9999px;top:-9999px;margin:0px;padding:0px;border:0px;&quot;\x3e\x3c/div\x3e&#039;,
CKEDITOR.document),CKEDITOR.document.getBody().append(a));if(!/%$/.test(b)){var e=0&gt;parseFloat(b);e&amp;&amp;(b=b.replace(&quot;-&quot;,&quot;&quot;));a.setStyle(&quot;width&quot;,b);b=a.$.clientWidth;return e?-b:b}return b}}(),repeat:function(a,b){return Array(b+1).join(a)},tryThese:function(){for(var a,b=0,e=arguments.length;b&lt;e;b++){var c=arguments[b];try{a=c();break}catch(g){}}return a},genKey:function(){return Array.prototype.slice.call(arguments).join(&quot;-&quot;)},defer:function(a){return function(){var b=arguments,e=this;window.setTimeout(function(){a.apply(e,
b)},0)}},normalizeCssText:function(a,b){var e=[],c,g=CKEDITOR.tools.parseCssText(a,!0,b);for(c in g)e.push(c+&quot;:&quot;+g[c]);e.sort();return e.length?e.join(&quot;;&quot;)+&quot;;&quot;:&quot;&quot;},convertRgbToHex:function(a){return a.replace(/(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi,function(a,b,e,c){a=[b,e,c];for(b=0;3&gt;b;b++)a[b]=(&quot;0&quot;+parseInt(a[b],10).toString(16)).slice(-2);return&quot;#&quot;+a.join(&quot;&quot;)})},normalizeHex:function(a){return a.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(a,b,e,c){a=b.toLowerCase();3==a.length&amp;&amp;
(a=a.split(&quot;&quot;),a=[a[0],a[0],a[1],a[1],a[2],a[2]].join(&quot;&quot;));return&quot;#&quot;+a+c})},parseCssText:function(a,b,e){var c={};e&amp;&amp;(a=(new CKEDITOR.dom.element(&quot;span&quot;)).setAttribute(&quot;style&quot;,a).getAttribute(&quot;style&quot;)||&quot;&quot;);a&amp;&amp;(a=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(a)));if(!a||&quot;;&quot;==a)return c;a.replace(/&amp;quot;/g,&#039;&quot;&#039;).replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,e,x){b&amp;&amp;(e=e.toLowerCase(),&quot;font-family&quot;==e&amp;&amp;(x=x.replace(/\s*,\s*/g,&quot;,&quot;)),x=CKEDITOR.tools.trim(x));c[e]=x});return c},
writeCssText:function(a,b){var e,c=[];for(e in a)c.push(e+&quot;:&quot;+a[e]);b&amp;&amp;c.sort();return c.join(&quot;; &quot;)},objectCompare:function(a,b,e){var c;if(!a&amp;&amp;!b)return!0;if(!a||!b)return!1;for(c in a)if(a[c]!=b[c])return!1;if(!e)for(c in b)if(a[c]!=b[c])return!1;return!0},objectKeys:function(a){return CKEDITOR.tools.object.keys(a)},convertArrayToObject:function(a,b){var e={};1==arguments.length&amp;&amp;(b=!0);for(var c=0,g=a.length;c&lt;g;++c)e[a[c]]=b;return e},getStyledSpans:function(a,b){var e=CKEDITOR.env.ie&amp;&amp;8==CKEDITOR.env.version?
a.toUpperCase():a,e=b.find(&quot;span[style*\x3d&quot;+e+&quot;]&quot;).toArray();return CKEDITOR.tools.array.filter(e,function(b){return!!b.getStyle(a)})},fixDomain:function(){for(var a;;)try{a=window.parent.document.domain;break}catch(b){a=a?a.replace(/.+?(?:\.|$)/,&quot;&quot;):document.domain;if(!a)break;document.domain=a}return!!a},eventsBuffer:function(a,b,e){return new this.buffers.event(a,b,e)},enableHtml5Elements:function(a,b){for(var e=&quot;abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video&quot;.split(&quot; &quot;),
c=e.length,g;c--;)g=a.createElement(e[c]),b&amp;&amp;a.appendChild(g)},checkIfAnyArrayItemMatches:function(a,b){for(var e=0,c=a.length;e&lt;c;++e)if(a[e].match(b))return!0;return!1},checkIfAnyObjectPropertyMatches:function(a,b){for(var e in a)if(e.match(b))return!0;return!1},keystrokeToString:function(a,b){var e=this.keystrokeToArray(a,b);e.display=e.display.join(&quot;+&quot;);e.aria=e.aria.join(&quot;+&quot;);return e},keystrokeToArray:function(a,b){var e=b&amp;16711680,c=b&amp;65535,g=CKEDITOR.env.mac,n=[],d=[];e&amp;CKEDITOR.CTRL&amp;&amp;(n.push(g?
&quot;⌘&quot;:a[17]),d.push(g?a[224]:a[17]));e&amp;CKEDITOR.ALT&amp;&amp;(n.push(g?&quot;⌥&quot;:a[18]),d.push(a[18]));e&amp;CKEDITOR.SHIFT&amp;&amp;(n.push(g?&quot;⇧&quot;:a[16]),d.push(a[16]));c&amp;&amp;(a[c]?(n.push(a[c]),d.push(a[c])):(n.push(String.fromCharCode(c)),d.push(String.fromCharCode(c))));return{display:n,aria:d}},transparentImageData:&quot;data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw\x3d\x3d&quot;,getCookie:function(a){a=a.toLowerCase();for(var b=document.cookie.split(&quot;;&quot;),e,c,g=0;g&lt;b.length;g++)if(e=b[g].split(&quot;\x3d&quot;),
c=decodeURIComponent(CKEDITOR.tools.trim(e[0]).toLowerCase()),c===a)return decodeURIComponent(1&lt;e.length?e[1]:&quot;&quot;);return null},setCookie:function(a,b){document.cookie=encodeURIComponent(a)+&quot;\x3d&quot;+encodeURIComponent(b)+&quot;;path\x3d/&quot;},getCsrfToken:function(){var a=CKEDITOR.tools.getCookie(&quot;ckCsrfToken&quot;);if(!a||40!=a.length){var a=[],b=&quot;&quot;;if(window.crypto&amp;&amp;window.crypto.getRandomValues)a=new Uint8Array(40),window.crypto.getRandomValues(a);else for(var e=0;40&gt;e;e++)a.push(Math.floor(256*Math.random()));
for(e=0;e&lt;a.length;e++)var c=&quot;abcdefghijklmnopqrstuvwxyz0123456789&quot;.charAt(a[e]%36),b=b+(.5&lt;Math.random()?c.toUpperCase():c);a=b;CKEDITOR.tools.setCookie(&quot;ckCsrfToken&quot;,a)}return a},escapeCss:function(a){return a?window.CSS&amp;&amp;CSS.escape?CSS.escape(a):isNaN(parseInt(a.charAt(0),10))?a:&quot;\\3&quot;+a.charAt(0)+&quot; &quot;+a.substring(1,a.length):&quot;&quot;},getMouseButton:function(a){return(a=a&amp;&amp;a.data?a.data.$:a)?CKEDITOR.tools.normalizeMouseButton(a.button):!1},normalizeMouseButton:function(a,b){if(!CKEDITOR.env.ie||9&lt;=CKEDITOR.env.version&amp;&amp;
!CKEDITOR.env.ie6Compat)return a;for(var e=[[CKEDITOR.MOUSE_BUTTON_LEFT,1],[CKEDITOR.MOUSE_BUTTON_MIDDLE,4],[CKEDITOR.MOUSE_BUTTON_RIGHT,2]],c=0;c&lt;e.length;c++){var g=e[c];if(g[0]===a&amp;&amp;b)return g[1];if(!b&amp;&amp;g[1]===a)return g[0]}},convertHexStringToBytes:function(a){var b=[],e=a.length/2,c;for(c=0;c&lt;e;c++)b.push(parseInt(a.substr(2*c,2),16));return b},convertBytesToBase64:function(a){var b=&quot;&quot;,e=a.length,c;for(c=0;c&lt;e;c+=3){var g=a.slice(c,c+3),n=g.length,d=[],l;if(3&gt;n)for(l=n;3&gt;l;l++)g[l]=0;d[0]=(g[0]&amp;
252)&gt;&gt;2;d[1]=(g[0]&amp;3)&lt;&lt;4|g[1]&gt;&gt;4;d[2]=(g[1]&amp;15)&lt;&lt;2|(g[2]&amp;192)&gt;&gt;6;d[3]=g[2]&amp;63;for(l=0;4&gt;l;l++)b=l&lt;=n?b+&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;.charAt(d[l]):b+&quot;\x3d&quot;}return b},style:{parse:{_colors:{aliceblue:&quot;#F0F8FF&quot;,antiquewhite:&quot;#FAEBD7&quot;,aqua:&quot;#00FFFF&quot;,aquamarine:&quot;#7FFFD4&quot;,azure:&quot;#F0FFFF&quot;,beige:&quot;#F5F5DC&quot;,bisque:&quot;#FFE4C4&quot;,black:&quot;#000000&quot;,blanchedalmond:&quot;#FFEBCD&quot;,blue:&quot;#0000FF&quot;,blueviolet:&quot;#8A2BE2&quot;,brown:&quot;#A52A2A&quot;,burlywood:&quot;#DEB887&quot;,cadetblue:&quot;#5F9EA0&quot;,chartreuse:&quot;#7FFF00&quot;,
chocolate:&quot;#D2691E&quot;,coral:&quot;#FF7F50&quot;,cornflowerblue:&quot;#6495ED&quot;,cornsilk:&quot;#FFF8DC&quot;,crimson:&quot;#DC143C&quot;,cyan:&quot;#00FFFF&quot;,darkblue:&quot;#00008B&quot;,darkcyan:&quot;#008B8B&quot;,darkgoldenrod:&quot;#B8860B&quot;,darkgray:&quot;#A9A9A9&quot;,darkgreen:&quot;#006400&quot;,darkgrey:&quot;#A9A9A9&quot;,darkkhaki:&quot;#BDB76B&quot;,darkmagenta:&quot;#8B008B&quot;,darkolivegreen:&quot;#556B2F&quot;,darkorange:&quot;#FF8C00&quot;,darkorchid:&quot;#9932CC&quot;,darkred:&quot;#8B0000&quot;,darksalmon:&quot;#E9967A&quot;,darkseagreen:&quot;#8FBC8F&quot;,darkslateblue:&quot;#483D8B&quot;,darkslategray:&quot;#2F4F4F&quot;,darkslategrey:&quot;#2F4F4F&quot;,darkturquoise:&quot;#00CED1&quot;,darkviolet:&quot;#9400D3&quot;,
deeppink:&quot;#FF1493&quot;,deepskyblue:&quot;#00BFFF&quot;,dimgray:&quot;#696969&quot;,dimgrey:&quot;#696969&quot;,dodgerblue:&quot;#1E90FF&quot;,firebrick:&quot;#B22222&quot;,floralwhite:&quot;#FFFAF0&quot;,forestgreen:&quot;#228B22&quot;,fuchsia:&quot;#FF00FF&quot;,gainsboro:&quot;#DCDCDC&quot;,ghostwhite:&quot;#F8F8FF&quot;,gold:&quot;#FFD700&quot;,goldenrod:&quot;#DAA520&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,greenyellow:&quot;#ADFF2F&quot;,grey:&quot;#808080&quot;,honeydew:&quot;#F0FFF0&quot;,hotpink:&quot;#FF69B4&quot;,indianred:&quot;#CD5C5C&quot;,indigo:&quot;#4B0082&quot;,ivory:&quot;#FFFFF0&quot;,khaki:&quot;#F0E68C&quot;,lavender:&quot;#E6E6FA&quot;,lavenderblush:&quot;#FFF0F5&quot;,lawngreen:&quot;#7CFC00&quot;,lemonchiffon:&quot;#FFFACD&quot;,
lightblue:&quot;#ADD8E6&quot;,lightcoral:&quot;#F08080&quot;,lightcyan:&quot;#E0FFFF&quot;,lightgoldenrodyellow:&quot;#FAFAD2&quot;,lightgray:&quot;#D3D3D3&quot;,lightgreen:&quot;#90EE90&quot;,lightgrey:&quot;#D3D3D3&quot;,lightpink:&quot;#FFB6C1&quot;,lightsalmon:&quot;#FFA07A&quot;,lightseagreen:&quot;#20B2AA&quot;,lightskyblue:&quot;#87CEFA&quot;,lightslategray:&quot;#778899&quot;,lightslategrey:&quot;#778899&quot;,lightsteelblue:&quot;#B0C4DE&quot;,lightyellow:&quot;#FFFFE0&quot;,lime:&quot;#00FF00&quot;,limegreen:&quot;#32CD32&quot;,linen:&quot;#FAF0E6&quot;,magenta:&quot;#FF00FF&quot;,maroon:&quot;#800000&quot;,mediumaquamarine:&quot;#66CDAA&quot;,mediumblue:&quot;#0000CD&quot;,mediumorchid:&quot;#BA55D3&quot;,mediumpurple:&quot;#9370DB&quot;,
mediumseagreen:&quot;#3CB371&quot;,mediumslateblue:&quot;#7B68EE&quot;,mediumspringgreen:&quot;#00FA9A&quot;,mediumturquoise:&quot;#48D1CC&quot;,mediumvioletred:&quot;#C71585&quot;,midnightblue:&quot;#191970&quot;,mintcream:&quot;#F5FFFA&quot;,mistyrose:&quot;#FFE4E1&quot;,moccasin:&quot;#FFE4B5&quot;,navajowhite:&quot;#FFDEAD&quot;,navy:&quot;#000080&quot;,oldlace:&quot;#FDF5E6&quot;,olive:&quot;#808000&quot;,olivedrab:&quot;#6B8E23&quot;,orange:&quot;#FFA500&quot;,orangered:&quot;#FF4500&quot;,orchid:&quot;#DA70D6&quot;,palegoldenrod:&quot;#EEE8AA&quot;,palegreen:&quot;#98FB98&quot;,paleturquoise:&quot;#AFEEEE&quot;,palevioletred:&quot;#DB7093&quot;,papayawhip:&quot;#FFEFD5&quot;,peachpuff:&quot;#FFDAB9&quot;,peru:&quot;#CD853F&quot;,
pink:&quot;#FFC0CB&quot;,plum:&quot;#DDA0DD&quot;,powderblue:&quot;#B0E0E6&quot;,purple:&quot;#800080&quot;,rebeccapurple:&quot;#663399&quot;,red:&quot;#FF0000&quot;,rosybrown:&quot;#BC8F8F&quot;,royalblue:&quot;#4169E1&quot;,saddlebrown:&quot;#8B4513&quot;,salmon:&quot;#FA8072&quot;,sandybrown:&quot;#F4A460&quot;,seagreen:&quot;#2E8B57&quot;,seashell:&quot;#FFF5EE&quot;,sienna:&quot;#A0522D&quot;,silver:&quot;#C0C0C0&quot;,skyblue:&quot;#87CEEB&quot;,slateblue:&quot;#6A5ACD&quot;,slategray:&quot;#708090&quot;,slategrey:&quot;#708090&quot;,snow:&quot;#FFFAFA&quot;,springgreen:&quot;#00FF7F&quot;,steelblue:&quot;#4682B4&quot;,tan:&quot;#D2B48C&quot;,teal:&quot;#008080&quot;,thistle:&quot;#D8BFD8&quot;,tomato:&quot;#FF6347&quot;,turquoise:&quot;#40E0D0&quot;,violet:&quot;#EE82EE&quot;,
windowtext:&quot;windowtext&quot;,wheat:&quot;#F5DEB3&quot;,white:&quot;#FFFFFF&quot;,whitesmoke:&quot;#F5F5F5&quot;,yellow:&quot;#FFFF00&quot;,yellowgreen:&quot;#9ACD32&quot;},_borderStyle:&quot;none hidden dotted dashed solid double groove ridge inset outset&quot;.split(&quot; &quot;),_widthRegExp:/^(thin|medium|thick|[\+-]?\d+(\.\d+)?[a-z%]+|[\+-]?0+(\.0+)?|\.\d+[a-z%]+)$/,_rgbaRegExp:/rgba?\(\s*\d+%?\s*,\s*\d+%?\s*,\s*\d+%?\s*(?:,\s*[0-9.]+\s*)?\)/gi,_hslaRegExp:/hsla?\(\s*[0-9.]+\s*,\s*\d+%\s*,\s*\d+%\s*(?:,\s*[0-9.]+\s*)?\)/gi,background:function(a){var b={},e=this._findColor(a);
e.length&amp;&amp;(b.color=e[0],CKEDITOR.tools.array.forEach(e,function(b){a=a.replace(b,&quot;&quot;)}));if(a=CKEDITOR.tools.trim(a))b.unprocessed=a;return b},margin:function(a){return CKEDITOR.tools.style.parse.sideShorthand(a,function(a){return a.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset|revert)/g)||[&quot;0px&quot;]})},sideShorthand:function(a,b){function e(a){c.top=g[a[0]];c.right=g[a[1]];c.bottom=g[a[2]];c.left=g[a[3]]}var c={},g=b?b(a):a.split(/\s+/);switch(g.length){case 1:e([0,0,0,0]);break;case 2:e([0,
1,0,1]);break;case 3:e([0,1,2,1]);break;case 4:e([0,1,2,3])}return c},border:function(a){return CKEDITOR.tools.style.border.fromCssRule(a)},_findColor:function(a){var b=[],e=CKEDITOR.tools.array,b=b.concat(a.match(this._rgbaRegExp)||[]),b=b.concat(a.match(this._hslaRegExp)||[]);return b=b.concat(e.filter(a.split(/\s+/),function(a){return a.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:a.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},array:{filter:function(a,b,e){var c=[];this.forEach(a,
function(g,n){b.call(e,g,n,a)&amp;&amp;c.push(g)});return c},find:function(a,b,e){for(var c=a.length,g=0;g&lt;c;){if(b.call(e,a[g],g,a))return a[g];g++}},forEach:function(a,b,e){var c=a.length,g;for(g=0;g&lt;c;g++)b.call(e,a[g],g,a)},map:function(a,b,e){for(var c=[],g=0;g&lt;a.length;g++)c.push(b.call(e,a[g],g,a));return c},reduce:function(a,b,e,c){for(var g=0;g&lt;a.length;g++)e=b.call(c,e,a[g],g,a);return e},every:function(a,b,e){if(!a.length)return!0;b=this.filter(a,b,e);return a.length===b.length},some:function(a,
b,e){for(var c=0;c&lt;a.length;c++)if(b.call(e,a[c],c,a))return!0;return!1}},object:{DONT_ENUMS:&quot;toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor&quot;.split(&quot; &quot;),entries:function(a){return CKEDITOR.tools.array.map(CKEDITOR.tools.object.keys(a),function(b){return[b,a[b]]})},values:function(a){return CKEDITOR.tools.array.map(CKEDITOR.tools.object.keys(a),function(b){return a[b]})},keys:function(a){var b=Object.prototype.hasOwnProperty,e=[],c=CKEDITOR.tools.object.DONT_ENUMS;
if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;(!a||&quot;object&quot;!==typeof a)){b=[];if(&quot;string&quot;===typeof a)for(e=0;e&lt;a.length;e++)b.push(String(e));return b}for(var g in a)e.push(g);if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version)for(g=0;g&lt;c.length;g++)b.call(a,c[g])&amp;&amp;e.push(c[g]);return e},findKey:function(a,b){if(&quot;object&quot;!==typeof a)return null;for(var e in a)if(a[e]===b)return e;return null},merge:function(a,b){var e=CKEDITOR.tools,c=e.clone(a),g=e.clone(b);e.array.forEach(e.object.keys(g),function(a){c[a]=
&quot;object&quot;===typeof g[a]&amp;&amp;&quot;object&quot;===typeof c[a]?e.object.merge(c[a],g[a]):g[a]});return c}},getAbsoluteRectPosition:function(a,b){function e(a){if(a){var b=a.getClientRect();c.top+=b.top;c.left+=b.left;&quot;x&quot;in c&amp;&amp;&quot;y&quot;in c&amp;&amp;(c.x+=b.x,c.y+=b.y);e(a.getWindow().getFrame())}}var c=CKEDITOR.tools.copy(b);e(a.getFrame());var g=CKEDITOR.document.getWindow().getScrollPosition();c.top+=g.y;c.left+=g.x;&quot;x&quot;in c&amp;&amp;&quot;y&quot;in c&amp;&amp;(c.y+=g.y,c.x+=g.x);c.right=c.left+c.width;c.bottom=c.top+c.height;return c}};a.prototype={reset:function(){this._lastOutput=
0;this._clearTimer()},_reschedule:function(){return!1},_call:function(){this._output()},_clearTimer:function(){this._scheduledTimer&amp;&amp;clearTimeout(this._scheduledTimer);this._scheduledTimer=0}};d.prototype=CKEDITOR.tools.prototypedCopy(a.prototype);d.prototype._reschedule=function(){this._scheduledTimer&amp;&amp;this._clearTimer()};d.prototype._call=function(){this._output.apply(this._context,this._args)};CKEDITOR.tools.buffers={};CKEDITOR.tools.buffers.event=a;CKEDITOR.tools.buffers.throttle=d;CKEDITOR.tools.style.border=
CKEDITOR.tools.createClass({$:function(a){a=a||{};this.width=a.width;this.style=a.style;this.color=a.color;this._.normalize()},_:{normalizeMap:{color:[[/windowtext/g,&quot;black&quot;]]},normalize:function(){for(var a in this._.normalizeMap){var b=this[a];b&amp;&amp;(this[a]=CKEDITOR.tools.array.reduce(this._.normalizeMap[a],function(a,b){return a.replace(b[0],b[1])},b))}}},proto:{toString:function(){return CKEDITOR.tools.array.filter([this.width,this.style,this.color],function(a){return!!a}).join(&quot; &quot;)}},statics:{fromCssRule:function(a){var b=
{},e=a.split(/\s+/g);a=CKEDITOR.tools.style.parse._findColor(a);a.length&amp;&amp;(b.color=a[0]);CKEDITOR.tools.array.forEach(e,function(a){b.style||-1===CKEDITOR.tools.indexOf(CKEDITOR.tools.style.parse._borderStyle,a)?!b.width&amp;&amp;CKEDITOR.tools.style.parse._widthRegExp.test(a)&amp;&amp;(b.width=a):b.style=a});return new CKEDITOR.tools.style.border(b)},splitCssValues:function(a,b){b=b||{};var e=CKEDITOR.tools.array.reduce([&quot;width&quot;,&quot;style&quot;,&quot;color&quot;],function(e,c){var g=a[&quot;border-&quot;+c]||b[c];e[c]=g?CKEDITOR.tools.style.parse.sideShorthand(g):
null;return e},{});return CKEDITOR.tools.array.reduce([&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;],function(b,c){var g={},d;for(d in e){var l=a[&quot;border-&quot;+c+&quot;-&quot;+d];g[d]=l?l:e[d]&amp;&amp;e[d][c]}b[&quot;border-&quot;+c]=new CKEDITOR.tools.style.border(g);return b},{})}}});CKEDITOR.tools.array.indexOf=CKEDITOR.tools.indexOf;CKEDITOR.tools.array.isArray=CKEDITOR.tools.isArray;CKEDITOR.MOUSE_BUTTON_LEFT=0;CKEDITOR.MOUSE_BUTTON_MIDDLE=1;CKEDITOR.MOUSE_BUTTON_RIGHT=2})();
CKEDITOR.dtd=function(){var a=CKEDITOR.tools.extend,d=function(a,b){for(var c=CKEDITOR.tools.clone(a),g=1;g&lt;arguments.length;g++){b=arguments[g];for(var d in b)delete c[d]}return c},b={},c={},f={address:1,article:1,aside:1,blockquote:1,details:1,div:1,dl:1,fieldset:1,figure:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,hr:1,main:1,menu:1,nav:1,ol:1,p:1,pre:1,section:1,table:1,ul:1},h={command:1,link:1,meta:1,noscript:1,script:1,style:1},k={},g={&quot;#&quot;:1},l={center:1,dir:1,noframes:1};
a(b,{a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1,q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,&quot;var&quot;:1,video:1,wbr:1},g,{acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1});a(c,f,b,l);d={a:d(b,{a:1,button:1}),abbr:b,address:c,
area:k,article:c,aside:c,audio:a({source:1,track:1},c),b:b,base:k,bdi:b,bdo:b,blockquote:c,body:c,br:k,button:d(b,{a:1,button:1}),canvas:b,caption:c,cite:b,code:b,col:k,colgroup:{col:1},command:k,datalist:a({option:1},b),dd:c,del:b,details:a({summary:1},c),dfn:b,div:c,dl:{dt:1,dd:1},dt:c,em:b,embed:k,fieldset:a({legend:1},c),figcaption:c,figure:a({figcaption:1},c),footer:c,form:c,h1:b,h2:b,h3:b,h4:b,h5:b,h6:b,head:a({title:1,base:1},h),header:c,hgroup:{h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},hr:k,html:a({head:1,
body:1},c,h),i:b,iframe:g,img:k,input:k,ins:b,kbd:b,keygen:k,label:b,legend:b,li:c,link:k,main:c,map:c,mark:b,menu:a({li:1},c),meta:k,meter:d(b,{meter:1}),nav:c,noscript:a({link:1,meta:1,style:1},b),object:a({param:1},b),ol:{li:1},optgroup:{option:1},option:g,output:b,p:b,param:k,pre:b,progress:d(b,{progress:1}),q:b,rp:b,rt:b,ruby:a({rp:1,rt:1},b),s:b,samp:b,script:g,section:c,select:{optgroup:1,option:1},small:b,source:k,span:b,strong:b,style:g,sub:b,summary:a({h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},b),
sup:b,table:{caption:1,colgroup:1,thead:1,tfoot:1,tbody:1,tr:1},tbody:{tr:1},td:c,textarea:g,tfoot:{tr:1},th:c,thead:{tr:1},time:d(b,{time:1}),title:g,tr:{th:1,td:1},track:k,u:b,ul:{li:1},&quot;var&quot;:b,video:a({source:1,track:1},c),wbr:k,acronym:b,applet:a({param:1},c),basefont:k,big:b,center:c,dialog:k,dir:{li:1},font:b,isindex:k,noframes:c,strike:b,tt:b};a(d,{$block:a({audio:1,dd:1,dt:1,figcaption:1,li:1,video:1},f,l),$blockLimit:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,
fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1},$cdata:{script:1,style:1},$editable:{address:1,article:1,aside:1,blockquote:1,body:1,details:1,div:1,fieldset:1,figcaption:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,main:1,nav:1,p:1,pre:1,section:1},$empty:{area:1,base:1,basefont:1,br:1,col:1,command:1,dialog:1,embed:1,hr:1,img:1,input:1,isindex:1,keygen:1,link:1,meta:1,param:1,source:1,
track:1,wbr:1},$inline:b,$list:{dl:1,ol:1,ul:1},$listItem:{dd:1,dt:1,li:1},$nonBodyContent:a({body:1,head:1,html:1},d.head),$nonEditable:{applet:1,audio:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,param:1,script:1,textarea:1,video:1},$object:{applet:1,audio:1,button:1,hr:1,iframe:1,img:1,input:1,object:1,select:1,table:1,textarea:1,video:1},$removeEmpty:{abbr:1,acronym:1,b:1,bdi:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,mark:1,meter:1,output:1,q:1,ruby:1,
s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,time:1,tt:1,u:1,&quot;var&quot;:1},$tabIndex:{a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},$tableContent:{caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},$transparent:{a:1,audio:1,canvas:1,del:1,ins:1,map:1,noscript:1,object:1,video:1},$intermediate:{caption:1,colgroup:1,dd:1,dt:1,figcaption:1,legend:1,li:1,optgroup:1,option:1,rp:1,rt:1,summary:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1}});return d}();
CKEDITOR.dom.event=function(a){this.$=a};
CKEDITOR.dom.event.prototype={getKey:function(){return this.$.keyCode||this.$.which},getKeystroke:function(){var a=this.getKey();if(this.$.ctrlKey||this.$.metaKey)a+=CKEDITOR.CTRL;this.$.shiftKey&amp;&amp;(a+=CKEDITOR.SHIFT);this.$.altKey&amp;&amp;(a+=CKEDITOR.ALT);return a},preventDefault:function(a){var d=this.$;d.preventDefault?d.preventDefault():d.returnValue=!1;a&amp;&amp;this.stopPropagation()},stopPropagation:function(){var a=this.$;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0},getTarget:function(){var a=
this.$.target||this.$.srcElement;return a?new CKEDITOR.dom.node(a):null},getPhase:function(){return this.$.eventPhase||2},getPageOffset:function(){var a=this.getTarget().getDocument().$;return{x:this.$.pageX||this.$.clientX+(a.documentElement.scrollLeft||a.body.scrollLeft),y:this.$.pageY||this.$.clientY+(a.documentElement.scrollTop||a.body.scrollTop)}}};CKEDITOR.CTRL=1114112;CKEDITOR.SHIFT=2228224;CKEDITOR.ALT=4456448;CKEDITOR.EVENT_PHASE_CAPTURING=1;CKEDITOR.EVENT_PHASE_AT_TARGET=2;
CKEDITOR.EVENT_PHASE_BUBBLING=3;CKEDITOR.dom.domObject=function(a){a&amp;&amp;(this.$=a)};
CKEDITOR.dom.domObject.prototype=function(){var a=function(a,b){return function(c){&quot;undefined&quot;!=typeof CKEDITOR&amp;&amp;a.fire(b,new CKEDITOR.dom.event(c))}};return{getPrivate:function(){var a;(a=this.getCustomData(&quot;_&quot;))||this.setCustomData(&quot;_&quot;,a={});return a},on:function(d){var b=this.getCustomData(&quot;_cke_nativeListeners&quot;);b||(b={},this.setCustomData(&quot;_cke_nativeListeners&quot;,b));b[d]||(b=b[d]=a(this,d),this.$.addEventListener?this.$.addEventListener(d,b,!!CKEDITOR.event.useCapture):this.$.attachEvent&amp;&amp;this.$.attachEvent(&quot;on&quot;+
d,b));return CKEDITOR.event.prototype.on.apply(this,arguments)},removeListener:function(a){CKEDITOR.event.prototype.removeListener.apply(this,arguments);if(!this.hasListeners(a)){var b=this.getCustomData(&quot;_cke_nativeListeners&quot;),c=b&amp;&amp;b[a];c&amp;&amp;(this.$.removeEventListener?this.$.removeEventListener(a,c,!1):this.$.detachEvent&amp;&amp;this.$.detachEvent(&quot;on&quot;+a,c),delete b[a])}},removeAllListeners:function(){try{var a=this.getCustomData(&quot;_cke_nativeListeners&quot;),b;for(b in a){var c=a[b];this.$.detachEvent?this.$.detachEvent(&quot;on&quot;+
b,c):this.$.removeEventListener&amp;&amp;this.$.removeEventListener(b,c,!1);delete a[b]}}catch(f){if(!CKEDITOR.env.edge||-2146828218!==f.number)throw f;}CKEDITOR.event.prototype.removeAllListeners.call(this)}}}();
(function(a){var d={};CKEDITOR.on(&quot;reset&quot;,function(){d={}});a.equals=function(a){try{return a&amp;&amp;a.$===this.$}catch(c){return!1}};a.setCustomData=function(a,c){var f=this.getUniqueId();(d[f]||(d[f]={}))[a]=c;return this};a.getCustomData=function(a){var c=this.$[&quot;data-cke-expando&quot;];return(c=c&amp;&amp;d[c])&amp;&amp;a in c?c[a]:null};a.removeCustomData=function(a){var c=this.$[&quot;data-cke-expando&quot;],c=c&amp;&amp;d[c],f,h;c&amp;&amp;(f=c[a],h=a in c,delete c[a]);return h?f:null};a.clearCustomData=function(){this.removeAllListeners();var a=
this.getUniqueId();a&amp;&amp;delete d[a]};a.getUniqueId=function(){return this.$[&quot;data-cke-expando&quot;]||(this.$[&quot;data-cke-expando&quot;]=CKEDITOR.tools.getNextNumber())};CKEDITOR.event.implementOn(a)})(CKEDITOR.dom.domObject.prototype);
CKEDITOR.dom.node=function(a){return a?new CKEDITOR.dom[a.nodeType==CKEDITOR.NODE_DOCUMENT?&quot;document&quot;:a.nodeType==CKEDITOR.NODE_ELEMENT?&quot;element&quot;:a.nodeType==CKEDITOR.NODE_TEXT?&quot;text&quot;:a.nodeType==CKEDITOR.NODE_COMMENT?&quot;comment&quot;:a.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT?&quot;documentFragment&quot;:&quot;domObject&quot;](a):this};CKEDITOR.dom.node.prototype=new CKEDITOR.dom.domObject;CKEDITOR.NODE_ELEMENT=1;CKEDITOR.NODE_DOCUMENT=9;CKEDITOR.NODE_TEXT=3;CKEDITOR.NODE_COMMENT=8;CKEDITOR.NODE_DOCUMENT_FRAGMENT=11;
CKEDITOR.POSITION_IDENTICAL=0;CKEDITOR.POSITION_DISCONNECTED=1;CKEDITOR.POSITION_FOLLOWING=2;CKEDITOR.POSITION_PRECEDING=4;CKEDITOR.POSITION_IS_CONTAINED=8;CKEDITOR.POSITION_CONTAINS=16;
CKEDITOR.tools.extend(CKEDITOR.dom.node.prototype,{appendTo:function(a,d){a.append(this,d);return a},clone:function(a,d){function b(c){c[&quot;data-cke-expando&quot;]&amp;&amp;(c[&quot;data-cke-expando&quot;]=!1);if(c.nodeType==CKEDITOR.NODE_ELEMENT||c.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)if(d||c.nodeType!=CKEDITOR.NODE_ELEMENT||c.removeAttribute(&quot;id&quot;,!1),a){c=c.childNodes;for(var f=0;f&lt;c.length;f++)b(c[f])}}function c(b){if(b.type==CKEDITOR.NODE_ELEMENT||b.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT){if(b.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var d=
b.getName();&quot;:&quot;==d[0]&amp;&amp;b.renameNode(d.substring(1))}if(a)for(d=0;d&lt;b.getChildCount();d++)c(b.getChild(d))}}var f=this.$.cloneNode(a);b(f);f=new CKEDITOR.dom.node(f);CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&amp;&amp;c(f);return f},hasPrevious:function(){return!!this.$.previousSibling},hasNext:function(){return!!this.$.nextSibling},insertAfter:function(a){a.$.parentNode.insertBefore(this.$,a.$.nextSibling);return a},insertBefore:function(a){a.$.parentNode.insertBefore(this.$,
a.$);return a},insertBeforeMe:function(a){this.$.parentNode.insertBefore(a.$,this.$);return a},getAddress:function(a){for(var d=[],b=this.getDocument().$.documentElement,c=this;c&amp;&amp;c!=b;){var f=c.getParent();f&amp;&amp;d.unshift(this.getIndex.call(c,a));c=f}return d},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(a){function d(a,b){var c=b?a.getNext():a.getPrevious();return c&amp;&amp;c.type==CKEDITOR.NODE_TEXT?c.isEmpty()?d(c,b):c:
null}var b=this,c=-1,f;if(!this.getParent()||a&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;b.isEmpty()&amp;&amp;!d(b)&amp;&amp;!d(b,!0))return-1;do if(!a||b.equals(this)||b.type!=CKEDITOR.NODE_TEXT||!f&amp;&amp;!b.isEmpty())c++,f=b.type==CKEDITOR.NODE_TEXT;while(b=b.getPrevious());return c},getNextSourceNode:function(a,d,b){if(b&amp;&amp;!b.call){var c=b;b=function(a){return!a.equals(c)}}a=!a&amp;&amp;this.getFirst&amp;&amp;this.getFirst();var f;if(!a){if(this.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b&amp;&amp;!1===b(this,!0))return null;a=this.getNext()}for(;!a&amp;&amp;(f=(f||this).getParent());){if(b&amp;&amp;
!1===b(f,!0))return null;a=f.getNext()}return!a||b&amp;&amp;!1===b(a)?null:d&amp;&amp;d!=a.type?a.getNextSourceNode(!1,d,b):a},getPreviousSourceNode:function(a,d,b){if(b&amp;&amp;!b.call){var c=b;b=function(a){return!a.equals(c)}}a=!a&amp;&amp;this.getLast&amp;&amp;this.getLast();var f;if(!a){if(this.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b&amp;&amp;!1===b(this,!0))return null;a=this.getPrevious()}for(;!a&amp;&amp;(f=(f||this).getParent());){if(b&amp;&amp;!1===b(f,!0))return null;a=f.getPrevious()}return!a||b&amp;&amp;!1===b(a)?null:d&amp;&amp;a.type!=d?a.getPreviousSourceNode(!1,d,b):
a},getPrevious:function(a){var d=this.$,b;do b=(d=d.previousSibling)&amp;&amp;10!=d.nodeType&amp;&amp;new CKEDITOR.dom.node(d);while(b&amp;&amp;a&amp;&amp;!a(b));return b},getNext:function(a){var d=this.$,b;do b=(d=d.nextSibling)&amp;&amp;new CKEDITOR.dom.node(d);while(b&amp;&amp;a&amp;&amp;!a(b));return b},getParent:function(a){var d=this.$.parentNode;return d&amp;&amp;(d.nodeType==CKEDITOR.NODE_ELEMENT||a&amp;&amp;d.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?new CKEDITOR.dom.node(d):null},getParents:function(a){var d=this,b=[];do b[a?&quot;push&quot;:&quot;unshift&quot;](d);while(d=d.getParent());
return b},getCommonAncestor:function(a){if(a.equals(this))return this;if(a.contains&amp;&amp;a.contains(this))return a;var d=this.contains?this:this.getParent();do if(d.contains(a))return d;while(d=d.getParent());return null},getPosition:function(a){var d=this.$,b=a.$;if(d.compareDocumentPosition)return d.compareDocumentPosition(b);if(d==b)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT){if(d.contains){if(d.contains(b))return CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_PRECEDING;if(b.contains(d))return CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}if(&quot;sourceIndex&quot;in d)return 0&gt;d.sourceIndex||0&gt;b.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:d.sourceIndex&lt;b.sourceIndex?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING}d=this.getAddress();a=a.getAddress();for(var b=Math.min(d.length,a.length),c=0;c&lt;b;c++)if(d[c]!=a[c])return d[c]&lt;a[c]?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING;return d.length&lt;a.length?CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING},getAscendant:function(a,d){var b=this.$,c,f;d||(b=b.parentNode);&quot;function&quot;==typeof a?(f=!0,c=a):(f=!1,c=function(b){b=&quot;string&quot;==typeof b.nodeName?b.nodeName.toLowerCase():&quot;&quot;;return&quot;string&quot;==typeof a?b==a:b in a});for(;b;){if(c(f?new CKEDITOR.dom.node(b):b))return new CKEDITOR.dom.node(b);try{b=b.parentNode}catch(h){b=null}}return null},hasAscendant:function(a,d){var b=this.$;d||(b=b.parentNode);for(;b;){if(b.nodeName&amp;&amp;
b.nodeName.toLowerCase()==a)return!0;b=b.parentNode}return!1},move:function(a,d){a.append(this.remove(),d)},remove:function(a){var d=this.$,b=d.parentNode;if(b){if(a)for(;a=d.firstChild;)b.insertBefore(d.removeChild(a),d);b.removeChild(d)}return this},replace:function(a){this.insertBefore(a);a.remove()},trim:function(){this.ltrim();this.rtrim()},ltrim:function(){for(var a;this.getFirst&amp;&amp;(a=this.getFirst());){if(a.type==CKEDITOR.NODE_TEXT){var d=CKEDITOR.tools.ltrim(a.getText()),b=a.getLength();if(d)d.length&lt;
b&amp;&amp;(a.split(b-d.length),this.$.removeChild(this.$.firstChild));else{a.remove();continue}}break}},rtrim:function(){for(var a;this.getLast&amp;&amp;(a=this.getLast());){if(a.type==CKEDITOR.NODE_TEXT){var d=CKEDITOR.tools.rtrim(a.getText()),b=a.getLength();if(d)d.length&lt;b&amp;&amp;(a.split(d.length),this.$.lastChild.parentNode.removeChild(this.$.lastChild));else{a.remove();continue}}break}CKEDITOR.env.needsBrFiller&amp;&amp;(a=this.$.lastChild)&amp;&amp;1==a.type&amp;&amp;&quot;br&quot;==a.nodeName.toLowerCase()&amp;&amp;a.parentNode.removeChild(a)},isReadOnly:function(a){var d=
this;this.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(d=this.getParent());CKEDITOR.env.edge&amp;&amp;d&amp;&amp;d.is(&quot;textarea&quot;,&quot;input&quot;)&amp;&amp;(a=!0);if(!a&amp;&amp;d&amp;&amp;&quot;undefined&quot;!=typeof d.$.isContentEditable)return!(d.$.isContentEditable||d.data(&quot;cke-editable&quot;));for(;d;){if(d.data(&quot;cke-editable&quot;))return!1;if(d.hasAttribute(&quot;contenteditable&quot;))return&quot;false&quot;==d.getAttribute(&quot;contenteditable&quot;);d=d.getParent()}return!0}});CKEDITOR.dom.window=function(a){CKEDITOR.dom.domObject.call(this,a)};CKEDITOR.dom.window.prototype=new CKEDITOR.dom.domObject;
CKEDITOR.tools.extend(CKEDITOR.dom.window.prototype,{focus:function(){this.$.focus()},getViewPaneSize:function(){var a=this.$.document,d=&quot;CSS1Compat&quot;==a.compatMode;return{width:(d?a.documentElement.clientWidth:a.body.clientWidth)||0,height:(d?a.documentElement.clientHeight:a.body.clientHeight)||0}},getScrollPosition:function(){var a=this.$;if(&quot;pageXOffset&quot;in a)return{x:a.pageXOffset||0,y:a.pageYOffset||0};a=a.document;return{x:a.documentElement.scrollLeft||a.body.scrollLeft||0,y:a.documentElement.scrollTop||
a.body.scrollTop||0}},getFrame:function(){var a=this.$.frameElement;return a?new CKEDITOR.dom.element.get(a):null}});CKEDITOR.dom.document=function(a){CKEDITOR.dom.domObject.call(this,a)};CKEDITOR.dom.document.prototype=new CKEDITOR.dom.domObject;
CKEDITOR.tools.extend(CKEDITOR.dom.document.prototype,{type:CKEDITOR.NODE_DOCUMENT,appendStyleSheet:function(a){if(this.$.createStyleSheet)this.$.createStyleSheet(a);else{var d=new CKEDITOR.dom.element(&quot;link&quot;);d.setAttributes({rel:&quot;stylesheet&quot;,type:&quot;text/css&quot;,href:a});this.getHead().append(d)}},appendStyleText:function(a){if(this.$.createStyleSheet){var d=this.$.createStyleSheet(&quot;&quot;);d.cssText=a}else{var b=new CKEDITOR.dom.element(&quot;style&quot;,this);b.append(new CKEDITOR.dom.text(a,this));this.getHead().append(b)}return d||
b.$.sheet},createElement:function(a,d){var b=new CKEDITOR.dom.element(a,this);d&amp;&amp;(d.attributes&amp;&amp;b.setAttributes(d.attributes),d.styles&amp;&amp;b.setStyles(d.styles));return b},createText:function(a){return new CKEDITOR.dom.text(a,this)},focus:function(){this.getWindow().focus()},getActive:function(){var a;try{a=this.$.activeElement}catch(d){return null}return new CKEDITOR.dom.element(a)},getById:function(a){return(a=this.$.getElementById(a))?new CKEDITOR.dom.element(a):null},getByAddress:function(a,d){for(var b=
this.$.documentElement,c=0;b&amp;&amp;c&lt;a.length;c++){var f=a[c];if(d)for(var h=-1,k=0;k&lt;b.childNodes.length;k++){var g=b.childNodes[k];if(!0!==d||3!=g.nodeType||!g.previousSibling||3!=g.previousSibling.nodeType)if(h++,h==f){b=g;break}}else b=b.childNodes[f]}return b?new CKEDITOR.dom.node(b):null},getElementsByTag:function(a,d){CKEDITOR.env.ie&amp;&amp;8&gt;=document.documentMode||!d||(a=d+&quot;:&quot;+a);return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(a))},getHead:function(){var a=this.$.getElementsByTagName(&quot;head&quot;)[0];
return a=a?new CKEDITOR.dom.element(a):this.getDocumentElement().append(new CKEDITOR.dom.element(&quot;head&quot;),!0)},getBody:function(){return new CKEDITOR.dom.element(this.$.body)},getDocumentElement:function(){return new CKEDITOR.dom.element(this.$.documentElement)},getWindow:function(){return new CKEDITOR.dom.window(this.$.parentWindow||this.$.defaultView)},write:function(a){this.$.open(&quot;text/html&quot;,&quot;replace&quot;);CKEDITOR.env.ie&amp;&amp;(a=a.replace(/(?:^\s*&lt;!DOCTYPE[^&gt;]*?&gt;)|^/i,&#039;$\x26\n\x3cscript data-cke-temp\x3d&quot;1&quot;\x3e(&#039;+
CKEDITOR.tools.fixDomain+&quot;)();\x3c/script\x3e&quot;));this.$.write(a);this.$.close()},find:function(a){return new CKEDITOR.dom.nodeList(this.$.querySelectorAll(a))},findOne:function(a){return(a=this.$.querySelector(a))?new CKEDITOR.dom.element(a):null},_getHtml5ShivFrag:function(){var a=this.getCustomData(&quot;html5ShivFrag&quot;);a||(a=this.$.createDocumentFragment(),CKEDITOR.tools.enableHtml5Elements(a,!0),this.setCustomData(&quot;html5ShivFrag&quot;,a));return a}});CKEDITOR.dom.nodeList=function(a){this.$=a};
CKEDITOR.dom.nodeList.prototype={count:function(){return this.$.length},getItem:function(a){return 0&gt;a||a&gt;=this.$.length?null:(a=this.$[a])?new CKEDITOR.dom.node(a):null},toArray:function(){return CKEDITOR.tools.array.map(this.$,function(a){return new CKEDITOR.dom.node(a)})}};CKEDITOR.dom.element=function(a,d){&quot;string&quot;==typeof a&amp;&amp;(a=(d?d.$:document).createElement(a));CKEDITOR.dom.domObject.call(this,a)};
CKEDITOR.dom.element.get=function(a){return(a=&quot;string&quot;==typeof a?document.getElementById(a)||document.getElementsByName(a)[0]:a)&amp;&amp;(a.$?a:new CKEDITOR.dom.element(a))};CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node;CKEDITOR.dom.element.createFromHtml=function(a,d){var b=new CKEDITOR.dom.element(&quot;div&quot;,d);b.setHtml(a);return b.getFirst().remove()};
CKEDITOR.dom.element.setMarker=function(a,d,b,c){var f=d.getCustomData(&quot;list_marker_id&quot;)||d.setCustomData(&quot;list_marker_id&quot;,CKEDITOR.tools.getNextNumber()).getCustomData(&quot;list_marker_id&quot;),h=d.getCustomData(&quot;list_marker_names&quot;)||d.setCustomData(&quot;list_marker_names&quot;,{}).getCustomData(&quot;list_marker_names&quot;);a[f]=d;h[b]=1;return d.setCustomData(b,c)};CKEDITOR.dom.element.clearAllMarkers=function(a){for(var d in a)CKEDITOR.dom.element.clearMarkers(a,a[d],1)};
CKEDITOR.dom.element.clearMarkers=function(a,d,b){var c=d.getCustomData(&quot;list_marker_names&quot;),f=d.getCustomData(&quot;list_marker_id&quot;),h;for(h in c)d.removeCustomData(h);d.removeCustomData(&quot;list_marker_names&quot;);b&amp;&amp;(d.removeCustomData(&quot;list_marker_id&quot;),delete a[f])};
(function(){function a(a,b){return-1&lt;(&quot; &quot;+a+&quot; &quot;).replace(h,&quot; &quot;).indexOf(&quot; &quot;+b+&quot; &quot;)}function d(a){var b=!0;a.$.id||(a.$.id=&quot;cke_tmp_&quot;+CKEDITOR.tools.getNextNumber(),b=!1);return function(){b||a.removeAttribute(&quot;id&quot;)}}function b(a,b){var c=CKEDITOR.tools.escapeCss(a.$.id);return&quot;#&quot;+c+&quot; &quot;+b.split(/,\s*/).join(&quot;, #&quot;+c+&quot; &quot;)}function c(a){for(var b=0,c=0,e=k[a].length;c&lt;e;c++)b+=parseFloat(this.getComputedStyle(k[a][c])||0,10)||0;return b}var f=document.createElement(&quot;_&quot;).classList,f=&quot;undefined&quot;!==typeof f&amp;&amp;
null!==String(f.add).match(/\[Native code\]/gi),h=/[\n\t\r]/g;CKEDITOR.tools.extend(CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_ELEMENT,addClass:f?function(a){this.$.classList.add(a);return this}:function(b){var c=this.$.className;c&amp;&amp;(a(c,b)||(c+=&quot; &quot;+b));this.$.className=c||b;return this},removeClass:f?function(a){var b=this.$;b.classList.remove(a);b.className||b.removeAttribute(&quot;class&quot;);return this}:function(b){var c=this.getAttribute(&quot;class&quot;);c&amp;&amp;a(c,b)&amp;&amp;((c=c.replace(new RegExp(&quot;(?:^|\\s+)&quot;+
b+&quot;(?\x3d\\s|$)&quot;),&quot;&quot;).replace(/^\s+/,&quot;&quot;))?this.setAttribute(&quot;class&quot;,c):this.removeAttribute(&quot;class&quot;));return this},hasClass:function(b){return a(this.$.className,b)},append:function(a,b){&quot;string&quot;==typeof a&amp;&amp;(a=this.getDocument().createElement(a));b?this.$.insertBefore(a.$,this.$.firstChild):this.$.appendChild(a.$);return a},appendHtml:function(a){if(this.$.childNodes.length){var b=new CKEDITOR.dom.element(&quot;div&quot;,this.getDocument());b.setHtml(a);b.moveChildren(this)}else this.setHtml(a)},appendText:function(a){null!=
this.$.text&amp;&amp;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?this.$.text+=a:this.append(new CKEDITOR.dom.text(a))},appendBogus:function(a){if(a||CKEDITOR.env.needsBrFiller){for(a=this.getLast();a&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;!CKEDITOR.tools.rtrim(a.getText());)a=a.getPrevious();a&amp;&amp;a.is&amp;&amp;a.is(&quot;br&quot;)||(a=this.getDocument().createElement(&quot;br&quot;),CKEDITOR.env.gecko&amp;&amp;a.setAttribute(&quot;type&quot;,&quot;_moz&quot;),this.append(a))}},breakParent:function(a,b){var c=new CKEDITOR.dom.range(this.getDocument());c.setStartAfter(this);c.setEndAfter(a);
var e=c.extractContents(!1,b||!1),d;c.insertNode(this.remove());if(CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge){for(c=new CKEDITOR.dom.element(&quot;div&quot;);d=e.getFirst();)d.$.style.backgroundColor&amp;&amp;(d.$.style.backgroundColor=d.$.style.backgroundColor),c.append(d);c.insertAfter(this);c.remove(!0)}else e.insertAfterNode(this)},contains:document.compareDocumentPosition?function(a){return!!(this.$.compareDocumentPosition(a.$)&amp;16)}:function(a){var b=this.$;return a.type!=CKEDITOR.NODE_ELEMENT?b.contains(a.getParent().$):
b!=a.$&amp;&amp;b.contains(a.$)},focus:function(){function a(){try{this.$.focus()}catch(b){}}return function(b){b?CKEDITOR.tools.setTimeout(a,100,this):a.call(this)}}(),getHtml:function(){var a=this.$.innerHTML;return CKEDITOR.env.ie?a.replace(/&lt;\?[^&gt;]*&gt;/g,&quot;&quot;):a},getOuterHtml:function(){if(this.$.outerHTML)return this.$.outerHTML.replace(/&lt;\?[^&gt;]*&gt;/,&quot;&quot;);var a=this.$.ownerDocument.createElement(&quot;div&quot;);a.appendChild(this.$.cloneNode(!0));return a.innerHTML},getClientRect:function(a){var b=CKEDITOR.tools.extend({},
this.$.getBoundingClientRect());!b.width&amp;&amp;(b.width=b.right-b.left);!b.height&amp;&amp;(b.height=b.bottom-b.top);return a?CKEDITOR.tools.getAbsoluteRectPosition(this.getWindow(),b):b},setHtml:CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?function(a){try{var b=this.$;if(this.getParent())return b.innerHTML=a;var c=this.getDocument()._getHtml5ShivFrag();c.appendChild(b);b.innerHTML=a;c.removeChild(b);return a}catch(e){this.$.innerHTML=&quot;&quot;;b=new CKEDITOR.dom.element(&quot;body&quot;,this.getDocument());b.$.innerHTML=a;for(b=b.getChildren();b.count();)this.append(b.getItem(0));
return a}}:function(a){return this.$.innerHTML=a},setText:function(){var a=document.createElement(&quot;p&quot;);a.innerHTML=&quot;x&quot;;a=a.textContent;return function(b){this.$[a?&quot;textContent&quot;:&quot;innerText&quot;]=b}}(),getAttribute:function(){var a=function(a){return this.$.getAttribute(a,2)};return CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){switch(a){case &quot;class&quot;:a=&quot;className&quot;;break;case &quot;http-equiv&quot;:a=&quot;httpEquiv&quot;;break;case &quot;name&quot;:return this.$.name;case &quot;tabindex&quot;:return a=this.$.getAttribute(a,
2),0!==a&amp;&amp;0===this.$.tabIndex&amp;&amp;(a=null),a;case &quot;checked&quot;:return a=this.$.attributes.getNamedItem(a),(a.specified?a.nodeValue:this.$.checked)?&quot;checked&quot;:null;case &quot;hspace&quot;:case &quot;value&quot;:return this.$[a];case &quot;style&quot;:return this.$.style.cssText;case &quot;contenteditable&quot;:case &quot;contentEditable&quot;:return this.$.attributes.getNamedItem(&quot;contentEditable&quot;).specified?this.$.getAttribute(&quot;contentEditable&quot;):null}return this.$.getAttribute(a,2)}:a}(),getAttributes:function(a){var b={},c=this.$.attributes,e;a=CKEDITOR.tools.isArray(a)?
a:[];for(e=0;e&lt;c.length;e++)-1===CKEDITOR.tools.indexOf(a,c[e].name)&amp;&amp;(b[c[e].name]=c[e].value);return b},getChildren:function(){return new CKEDITOR.dom.nodeList(this.$.childNodes)},getClientSize:function(){return{width:this.$.clientWidth,height:this.$.clientHeight}},getComputedStyle:document.defaultView&amp;&amp;document.defaultView.getComputedStyle?function(a){var b=this.getWindow().$.getComputedStyle(this.$,null);return b?b.getPropertyValue(a):&quot;&quot;}:function(a){return this.$.currentStyle[CKEDITOR.tools.cssStyleToDomStyle(a)]},
getDtd:function(){var a=CKEDITOR.dtd[this.getName()];this.getDtd=function(){return a};return a},getElementsByTag:CKEDITOR.dom.document.prototype.getElementsByTag,getTabIndex:function(){var a=this.$.tabIndex;return 0!==a||CKEDITOR.dtd.$tabIndex[this.getName()]||0===parseInt(this.getAttribute(&quot;tabindex&quot;),10)?a:-1},getText:function(){return this.$.textContent||this.$.innerText||&quot;&quot;},getWindow:function(){return this.getDocument().getWindow()},getId:function(){return this.$.id||null},getNameAtt:function(){return this.$.name||
null},getName:function(){var a=this.$.nodeName.toLowerCase();if(CKEDITOR.env.ie&amp;&amp;8&gt;=document.documentMode){var b=this.$.scopeName;&quot;HTML&quot;!=b&amp;&amp;(a=b.toLowerCase()+&quot;:&quot;+a)}this.getName=function(){return a};return this.getName()},getValue:function(){return this.$.value},getFirst:function(a){var b=this.$.firstChild;(b=b&amp;&amp;new CKEDITOR.dom.node(b))&amp;&amp;a&amp;&amp;!a(b)&amp;&amp;(b=b.getNext(a));return b},getLast:function(a){var b=this.$.lastChild;(b=b&amp;&amp;new CKEDITOR.dom.node(b))&amp;&amp;a&amp;&amp;!a(b)&amp;&amp;(b=b.getPrevious(a));return b},getStyle:function(a){return this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]},
is:function(){var a=this.getName();if(&quot;object&quot;==typeof arguments[0])return!!arguments[0][a];for(var b=0;b&lt;arguments.length;b++)if(arguments[b]==a)return!0;return!1},isEditable:function(a){var b=this.getName();return this.isReadOnly()||&quot;none&quot;==this.getComputedStyle(&quot;display&quot;)||&quot;hidden&quot;==this.getComputedStyle(&quot;visibility&quot;)||CKEDITOR.dtd.$nonEditable[b]||CKEDITOR.dtd.$empty[b]||this.is(&quot;a&quot;)&amp;&amp;(this.data(&quot;cke-saved-name&quot;)||this.hasAttribute(&quot;name&quot;))&amp;&amp;!this.getChildCount()?!1:!1!==a?(a=CKEDITOR.dtd[b]||
CKEDITOR.dtd.span,!(!a||!a[&quot;#&quot;])):!0},isIdentical:function(a){var b=this.clone(0,1);a=a.clone(0,1);b.removeAttributes([&quot;_moz_dirty&quot;,&quot;data-cke-expando&quot;,&quot;data-cke-saved-href&quot;,&quot;data-cke-saved-name&quot;]);a.removeAttributes([&quot;_moz_dirty&quot;,&quot;data-cke-expando&quot;,&quot;data-cke-saved-href&quot;,&quot;data-cke-saved-name&quot;]);if(b.$.isEqualNode)return b.$.style.cssText=CKEDITOR.tools.normalizeCssText(b.$.style.cssText),a.$.style.cssText=CKEDITOR.tools.normalizeCssText(a.$.style.cssText),b.$.isEqualNode(a.$);b=b.getOuterHtml();a=
a.getOuterHtml();if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;this.is(&quot;a&quot;)){var c=this.getParent();c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=c.clone(),c.setHtml(b),b=c.getHtml(),c.setHtml(a),a=c.getHtml())}return b==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&amp;&amp;&quot;hidden&quot;!=this.getComputedStyle(&quot;visibility&quot;),b,c;a&amp;&amp;CKEDITOR.env.webkit&amp;&amp;(b=this.getWindow(),!b.equals(CKEDITOR.document.getWindow())&amp;&amp;(c=b.$.frameElement)&amp;&amp;(a=(new CKEDITOR.dom.element(c)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1;
for(var a=this.getChildren(),b=0,c=a.count();b&lt;c;b++){var e=a.getItem(b);if(e.type!=CKEDITOR.NODE_ELEMENT||!e.data(&quot;cke-bookmark&quot;))if(e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!e.isEmptyInlineRemoveable()||e.type==CKEDITOR.NODE_TEXT&amp;&amp;CKEDITOR.tools.trim(e.getText()))return!1}return!0},hasAttributes:CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(){for(var a=this.$.attributes,b=0;b&lt;a.length;b++){var c=a[b];switch(c.nodeName){case &quot;class&quot;:if(this.getAttribute(&quot;class&quot;))return!0;case &quot;data-cke-expando&quot;:continue;
default:if(c.specified)return!0}}return!1}:function(){var a=this.$.attributes,b=a.length,c={&quot;data-cke-expando&quot;:1,_moz_dirty:1};return 0&lt;b&amp;&amp;(2&lt;b||!c[a[0].nodeName]||2==b&amp;&amp;!c[a[1].nodeName])},hasAttribute:function(){function a(b){var c=this.$.attributes.getNamedItem(b);if(&quot;input&quot;==this.getName())switch(b){case &quot;class&quot;:return 0&lt;this.$.className.length;case &quot;checked&quot;:return!!this.$.checked;case &quot;value&quot;:return b=this.getAttribute(&quot;type&quot;),&quot;checkbox&quot;==b||&quot;radio&quot;==b?&quot;on&quot;!=this.$.value:!!this.$.value}return c?
c.specified:!1}return CKEDITOR.env.ie?8&gt;CKEDITOR.env.version?function(b){return&quot;name&quot;==b?!!this.$.name:a.call(this,b)}:a:function(a){return!!this.$.attributes.getNamedItem(a)}}(),hide:function(){this.setStyle(&quot;display&quot;,&quot;none&quot;)},moveChildren:function(a,b){var c=this.$;a=a.$;if(c!=a){var e;if(b)for(;e=c.lastChild;)a.insertBefore(c.removeChild(e),a.firstChild);else for(;e=c.firstChild;)a.appendChild(c.removeChild(e))}},mergeSiblings:function(){function a(b,c,e){if(c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT){for(var d=
[];c.data(&quot;cke-bookmark&quot;)||c.isEmptyInlineRemoveable();)if(d.push(c),c=e?c.getNext():c.getPrevious(),!c||c.type!=CKEDITOR.NODE_ELEMENT)return;if(b.isIdentical(c)){for(var g=e?b.getLast():b.getFirst();d.length;)d.shift().move(b,!e);c.moveChildren(b,!e);c.remove();g&amp;&amp;g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.mergeSiblings()}}}return function(b){if(!1===b||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is(&quot;a&quot;))a(this,this.getNext(),!0),a(this,this.getPrevious())}}(),show:function(){this.setStyles({display:&quot;&quot;,
visibility:&quot;&quot;})},setAttribute:function(){var a=function(a,b){this.$.setAttribute(a,b);return this};return CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(b,c){&quot;class&quot;==b?this.$.className=c:&quot;style&quot;==b?this.$.style.cssText=c:&quot;tabindex&quot;==b?this.$.tabIndex=c:&quot;checked&quot;==b?this.$.checked=c:&quot;contenteditable&quot;==b?a.call(this,&quot;contentEditable&quot;,c):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&amp;&amp;CKEDITOR.env.secure?function(b,c){if(&quot;src&quot;==b&amp;&amp;c.match(/^http:\/\//))try{a.apply(this,
arguments)}catch(e){}else a.apply(this,arguments);return this}:a}(),setAttributes:function(a){for(var b in a)this.setAttribute(b,a[b]);return this},setValue:function(a){this.$.value=a;return this},removeAttribute:function(){var a=function(a){this.$.removeAttribute(a)};return CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){&quot;class&quot;==a?a=&quot;className&quot;:&quot;tabindex&quot;==a?a=&quot;tabIndex&quot;:&quot;contenteditable&quot;==a&amp;&amp;(a=&quot;contentEditable&quot;);this.$.removeAttribute(a)}:a}(),removeAttributes:function(a){if(CKEDITOR.tools.isArray(a))for(var b=
0;b&lt;a.length;b++)this.removeAttribute(a[b]);else for(b in a=a||this.getAttributes(),a)a.hasOwnProperty(b)&amp;&amp;this.removeAttribute(b)},removeStyle:function(a){var b=this.$.style;if(b.removeProperty||&quot;border&quot;!=a&amp;&amp;&quot;margin&quot;!=a&amp;&amp;&quot;padding&quot;!=a)b.removeProperty?b.removeProperty(a):b.removeAttribute(CKEDITOR.tools.cssStyleToDomStyle(a)),this.$.style.cssText||this.removeAttribute(&quot;style&quot;);else{var c=[&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;],e;&quot;border&quot;==a&amp;&amp;(e=[&quot;color&quot;,&quot;style&quot;,&quot;width&quot;]);for(var b=[],d=0;d&lt;c.length;d++)if(e)for(var w=
0;w&lt;e.length;w++)b.push([a,c[d],e[w]].join(&quot;-&quot;));else b.push([a,c[d]].join(&quot;-&quot;));for(a=0;a&lt;b.length;a++)this.removeStyle(b[a])}},setStyle:function(a,b){this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]=b;return this},setStyles:function(a){for(var b in a)this.setStyle(b,a[b]);return this},setOpacity:function(a){CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?(a=Math.round(100*a),this.setStyle(&quot;filter&quot;,100&lt;=a?&quot;&quot;:&quot;progid:DXImageTransform.Microsoft.Alpha(opacity\x3d&quot;+a+&quot;)&quot;)):this.setStyle(&quot;opacity&quot;,a)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix(&quot;user-select&quot;,
&quot;none&quot;));if(CKEDITOR.env.ie){this.setAttribute(&quot;unselectable&quot;,&quot;on&quot;);for(var a,b=this.getElementsByTag(&quot;*&quot;),c=0,e=b.count();c&lt;e;c++)a=b.getItem(c),a.setAttribute(&quot;unselectable&quot;,&quot;on&quot;)}},getPositionedAncestor:function(){for(var a=this;&quot;html&quot;!=a.getName();){if(&quot;static&quot;!=a.getComputedStyle(&quot;position&quot;))return a;a=a.getParent()}return null},getDocumentPosition:function(a){var b=0,c=0,e=this.getDocument(),d=e.getBody(),w=&quot;BackCompat&quot;==e.$.compatMode;if(document.documentElement.getBoundingClientRect&amp;&amp;(CKEDITOR.env.ie?
8!==CKEDITOR.env.version:1)){var f=this.$.getBoundingClientRect(),h=e.$.documentElement,t=h.clientTop||d.$.clientTop||0,n=h.clientLeft||d.$.clientLeft||0,k=!0;CKEDITOR.env.ie&amp;&amp;(k=e.getDocumentElement().contains(this),e=e.getBody().contains(this),k=w&amp;&amp;e||!w&amp;&amp;k);k&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.ie&amp;&amp;12&lt;=CKEDITOR.env.version?(b=d.$.scrollLeft||h.scrollLeft,c=d.$.scrollTop||h.scrollTop):(c=w?d.$:h,b=c.scrollLeft,c=c.scrollTop),b=f.left+b-n,c=f.top+c-t)}else for(t=this,n=null;t&amp;&amp;&quot;body&quot;!=t.getName()&amp;&amp;
&quot;html&quot;!=t.getName();){b+=t.$.offsetLeft-t.$.scrollLeft;c+=t.$.offsetTop-t.$.scrollTop;t.equals(this)||(b+=t.$.clientLeft||0,c+=t.$.clientTop||0);for(;n&amp;&amp;!n.equals(t);)b-=n.$.scrollLeft,c-=n.$.scrollTop,n=n.getParent();n=t;t=(f=t.$.offsetParent)?new CKEDITOR.dom.element(f):null}a&amp;&amp;(f=this.getWindow(),t=a.getWindow(),!f.equals(t)&amp;&amp;f.$.frameElement&amp;&amp;(a=(new CKEDITOR.dom.element(f.$.frameElement)).getDocumentPosition(a),b+=a.x,c+=a.y));document.documentElement.getBoundingClientRect||!CKEDITOR.env.gecko||
w||(b+=this.$.clientLeft?1:0,c+=this.$.clientTop?1:0);return{x:b,y:c}},scrollIntoView:function(a){var b=this.getParent();if(b){do if((b.$.clientWidth&amp;&amp;b.$.clientWidth&lt;b.$.scrollWidth||b.$.clientHeight&amp;&amp;b.$.clientHeight&lt;b.$.scrollHeight)&amp;&amp;!b.is(&quot;body&quot;)&amp;&amp;this.scrollIntoParent(b,a,1),b.is(&quot;html&quot;)){var c=b.getWindow();try{var e=c.$.frameElement;e&amp;&amp;(b=new CKEDITOR.dom.element(e))}catch(d){}}while(b=b.getParent())}},scrollIntoParent:function(a,b,c){var e,d,w,f;function h(b,c){/body|html/.test(a.getName())?
a.getWindow().$.scrollBy(b,c):(a.$.scrollLeft+=b,a.$.scrollTop+=c)}function t(a,b){var c={x:0,y:0};if(!a.is(k?&quot;body&quot;:&quot;html&quot;)){var e=a.$.getBoundingClientRect();c.x=e.left;c.y=e.top}e=a.getWindow();e.equals(b)||(e=t(CKEDITOR.dom.element.get(e.$.frameElement),b),c.x+=e.x,c.y+=e.y);return c}function n(a,b){return parseInt(a.getComputedStyle(&quot;margin-&quot;+b)||0,10)||0}!a&amp;&amp;(a=this.getWindow());w=a.getDocument();var k=&quot;BackCompat&quot;==w.$.compatMode;a instanceof CKEDITOR.dom.window&amp;&amp;(a=k?w.getBody():w.getDocumentElement());
CKEDITOR.env.webkit&amp;&amp;(w=this.getEditor(!1))&amp;&amp;(w._.previousScrollTop=null);w=a.getWindow();d=t(this,w);var y=t(a,w),F=this.$.offsetHeight;e=this.$.offsetWidth;var I=a.$.clientHeight,m=a.$.clientWidth;w=d.x-n(this,&quot;left&quot;)-y.x||0;f=d.y-n(this,&quot;top&quot;)-y.y||0;e=d.x+e+n(this,&quot;right&quot;)-(y.x+m)||0;d=d.y+F+n(this,&quot;bottom&quot;)-(y.y+I)||0;(0&gt;f||0&lt;d)&amp;&amp;h(0,!0===b?f:!1===b?d:0&gt;f?f:d);c&amp;&amp;(0&gt;w||0&lt;e)&amp;&amp;h(0&gt;w?w:e,0)},setState:function(a,b,c){b=b||&quot;cke&quot;;switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(b+&quot;_on&quot;);this.removeClass(b+
&quot;_off&quot;);this.removeClass(b+&quot;_disabled&quot;);c&amp;&amp;this.setAttribute(&quot;aria-pressed&quot;,!0);c&amp;&amp;this.removeAttribute(&quot;aria-disabled&quot;);break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(b+&quot;_disabled&quot;);this.removeClass(b+&quot;_off&quot;);this.removeClass(b+&quot;_on&quot;);c&amp;&amp;this.setAttribute(&quot;aria-disabled&quot;,!0);c&amp;&amp;this.removeAttribute(&quot;aria-pressed&quot;);break;default:this.addClass(b+&quot;_off&quot;),this.removeClass(b+&quot;_on&quot;),this.removeClass(b+&quot;_disabled&quot;),c&amp;&amp;this.removeAttribute(&quot;aria-pressed&quot;),c&amp;&amp;this.removeAttribute(&quot;aria-disabled&quot;)}},
getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(b){a.src=a.src}return a&amp;&amp;new CKEDITOR.dom.document(a.contentWindow.document)},copyAttributes:function(a,b){var c=this.$.attributes;b=b||{};for(var e=0;e&lt;c.length;e++){var d=c[e],w=d.nodeName.toLowerCase(),f;if(!(w in b))if(&quot;checked&quot;==w&amp;&amp;(f=this.getAttribute(w)))a.setAttribute(w,f);else if(!CKEDITOR.env.ie||this.hasAttribute(w))f=this.getAttribute(w),null===f&amp;&amp;(f=d.nodeValue),a.setAttribute(w,f)}&quot;&quot;!==this.$.style.cssText&amp;&amp;
(a.$.style.cssText=this.$.style.cssText)},renameNode:function(a){if(this.getName()!=a){var b=this.getDocument();a=new CKEDITOR.dom.element(a,b);this.copyAttributes(a);this.moveChildren(a);this.getParent(!0)&amp;&amp;this.$.parentNode.replaceChild(a.$,this.$);a.$[&quot;data-cke-expando&quot;]=this.$[&quot;data-cke-expando&quot;];this.$=a.$;delete this.getName}},getChild:function(){function a(b,c){var e=b.childNodes;if(0&lt;=c&amp;&amp;c&lt;e.length)return e[c]}return function(b){var c=this.$;if(b.slice)for(b=b.slice();0&lt;b.length&amp;&amp;c;)c=a(c,
b.shift());else c=a(c,b);return c?new CKEDITOR.dom.node(c):null}}(),getChildCount:function(){return this.$.childNodes.length},disableContextMenu:function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.hasClass(&quot;cke_enable_context_menu&quot;)}this.on(&quot;contextmenu&quot;,function(b){b.data.getTarget().getAscendant(a,!0)||b.data.preventDefault()})},getDirection:function(a){return a?this.getComputedStyle(&quot;direction&quot;)||this.getDirection()||this.getParent()&amp;&amp;this.getParent().getDirection(1)||this.getDocument().$.dir||
&quot;ltr&quot;:this.getStyle(&quot;direction&quot;)||this.getAttribute(&quot;dir&quot;)},data:function(a,b){a=&quot;data-&quot;+a;if(void 0===b)return this.getAttribute(a);!1===b?this.removeAttribute(a):this.setAttribute(a,b);return null},getEditor:function(a){var b=CKEDITOR.instances,c,e,d;a=a||void 0===a;for(c in b)if(e=b[c],e.element.equals(this)&amp;&amp;e.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||!a&amp;&amp;(d=e.editable())&amp;&amp;(d.equals(this)||d.contains(this)))return e;return null},find:function(a){var c=d(this);a=new CKEDITOR.dom.nodeList(this.$.querySelectorAll(b(this,
a)));c();return a},findOne:function(a){var c=d(this);a=this.$.querySelector(b(this,a));c();return a?new CKEDITOR.dom.element(a):null},forEach:function(a,b,c){if(!(c||b&amp;&amp;this.type!=b))var e=a(this);if(!1!==e){c=this.getChildren();for(var d=0;d&lt;c.count();d++)e=c.getItem(d),e.type==CKEDITOR.NODE_ELEMENT?e.forEach(a,b):b&amp;&amp;e.type!=b||a(e)}},fireEventHandler:function(a,b){var c=&quot;on&quot;+a,e=this.$;if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version){var d=e.ownerDocument.createEventObject(),f;for(f in b)d[f]=b[f];e.fireEvent(c,
d)}else e[e[a]?a:c](b)},isDetached:function(){var a=this.getDocument(),b=a.getDocumentElement();return b.equals(this)||b.contains(this)?!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version&amp;&amp;!CKEDITOR.env.quirks?!a.$.defaultView:!1:!0}});var k={width:[&quot;border-left-width&quot;,&quot;border-right-width&quot;,&quot;padding-left&quot;,&quot;padding-right&quot;],height:[&quot;border-top-width&quot;,&quot;border-bottom-width&quot;,&quot;padding-top&quot;,&quot;padding-bottom&quot;]};CKEDITOR.dom.element.prototype.setSize=function(a,b,d){&quot;number&quot;==typeof b&amp;&amp;(!d||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks||
(b-=c.call(this,a)),this.setStyle(a,b+&quot;px&quot;))};CKEDITOR.dom.element.prototype.getSize=function(a,b){var d=Math.max(this.$[&quot;offset&quot;+CKEDITOR.tools.capitalize(a)],this.$[&quot;client&quot;+CKEDITOR.tools.capitalize(a)])||0;b&amp;&amp;(d-=c.call(this,a));return d}})();CKEDITOR.dom.documentFragment=function(a){a=a||CKEDITOR.document;this.$=a.type==CKEDITOR.NODE_DOCUMENT?a.$.createDocumentFragment():a};
CKEDITOR.tools.extend(CKEDITOR.dom.documentFragment.prototype,CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_DOCUMENT_FRAGMENT,insertAfterNode:function(a){a=a.$;a.parentNode.insertBefore(this.$,a.nextSibling)},getHtml:function(){var a=new CKEDITOR.dom.element(&quot;div&quot;);this.clone(1,1).appendTo(a);return a.getHtml().replace(/\s*data-cke-expando=&quot;.*?&quot;/g,&quot;&quot;)}},!0,{append:1,appendBogus:1,clone:1,getFirst:1,getHtml:1,getLast:1,getParent:1,getNext:1,getPrevious:1,appendTo:1,moveChildren:1,insertBefore:1,
insertAfterNode:1,replace:1,trim:1,type:1,ltrim:1,rtrim:1,getDocument:1,getChildCount:1,getChild:1,getChildren:1});CKEDITOR.tools.extend(CKEDITOR.dom.documentFragment.prototype,CKEDITOR.dom.document.prototype,!0,{find:1,findOne:1});
(function(){function a(a,b){var c=this.range;if(this._.end)return null;if(!this._.start){this._.start=1;if(c.collapsed)return this.end(),null;c.optimize()}var e,d=c.startContainer;e=c.endContainer;var f=c.startOffset,x=c.endOffset,h,g=this.guard,m=this.type,C=a?&quot;getPreviousSourceNode&quot;:&quot;getNextSourceNode&quot;;if(!a&amp;&amp;!this._.guardLTR){var K=e.type==CKEDITOR.NODE_ELEMENT?e:e.getParent(),A=e.type==CKEDITOR.NODE_ELEMENT?e.getChild(x):e.getNext();this._.guardLTR=function(a,b){return(!b||!K.equals(a))&amp;&amp;(!A||
!a.equals(A))&amp;&amp;(a.type!=CKEDITOR.NODE_ELEMENT||!b||!a.equals(c.root))}}if(a&amp;&amp;!this._.guardRTL){var k=d.type==CKEDITOR.NODE_ELEMENT?d:d.getParent(),r=d.type==CKEDITOR.NODE_ELEMENT?f?d.getChild(f-1):null:d.getPrevious();this._.guardRTL=function(a,b){return(!b||!k.equals(a))&amp;&amp;(!r||!a.equals(r))&amp;&amp;(a.type!=CKEDITOR.NODE_ELEMENT||!b||!a.equals(c.root))}}var D=a?this._.guardRTL:this._.guardLTR;h=g?function(a,b){return!1===D(a,b)?!1:g(a,b)}:D;this.current?e=this.current[C](!1,m,h):(a?e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
(e=0&lt;x?e.getChild(x-1):!1===h(e,!0)?null:e.getPreviousSourceNode(!0,m,h)):(e=d,e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;((e=e.getChild(f))||(e=!1===h(d,!0)?null:d.getNextSourceNode(!0,m,h)))),e&amp;&amp;!1===h(e)&amp;&amp;(e=null));for(;e&amp;&amp;!this._.end;){this.current=e;if(!this.evaluator||!1!==this.evaluator(e)){if(!b)return e}else if(b&amp;&amp;this.evaluator)return!1;e=e[C](!1,m,h)}this.end();return this.current=null}function d(b){for(var c,e=null;c=a.call(this,b);)e=c;return e}CKEDITOR.dom.walker=CKEDITOR.tools.createClass({$:function(a){this.range=
a;this._={}},proto:{end:function(){this._.end=1},next:function(){return a.call(this)},previous:function(){return a.call(this,1)},checkForward:function(){return!1!==a.call(this,0,1)},checkBackward:function(){return!1!==a.call(this,1,1)},lastForward:function(){return d.call(this)},lastBackward:function(){return d.call(this,1)},reset:function(){delete this.current;this._={}}}});var b={block:1,&quot;list-item&quot;:1,table:1,&quot;table-row-group&quot;:1,&quot;table-header-group&quot;:1,&quot;table-footer-group&quot;:1,&quot;table-row&quot;:1,&quot;table-column-group&quot;:1,
&quot;table-column&quot;:1,&quot;table-cell&quot;:1,&quot;table-caption&quot;:1},c={absolute:1,fixed:1};CKEDITOR.dom.element.prototype.isBlockBoundary=function(a){return&quot;none&quot;!=this.getComputedStyle(&quot;float&quot;)||this.getComputedStyle(&quot;position&quot;)in c||!b[this.getComputedStyle(&quot;display&quot;)]?!!(this.is(CKEDITOR.dtd.$block)||a&amp;&amp;this.is(a)):!0};CKEDITOR.dom.walker.blockBoundary=function(a){return function(b){return!(b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.isBlockBoundary(a))}};CKEDITOR.dom.walker.listItemBoundary=function(){return this.blockBoundary({br:1})};
CKEDITOR.dom.walker.bookmark=function(a,b){function c(a){return a&amp;&amp;a.getName&amp;&amp;&quot;span&quot;==a.getName()&amp;&amp;a.data(&quot;cke-bookmark&quot;)}return function(e){var d,f;d=e&amp;&amp;e.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(f=e.getParent())&amp;&amp;c(f);d=a?d:d||c(e);return!!(b^d)}};CKEDITOR.dom.walker.whitespaces=function(a){return function(b){var c;b&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;(c=!CKEDITOR.tools.trim(b.getText())||CKEDITOR.env.webkit&amp;&amp;b.getText()==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE);return!!(a^c)}};CKEDITOR.dom.walker.invisible=
function(a){var b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.env.webkit?1:0;return function(e){b(e)?e=1:(e.type==CKEDITOR.NODE_TEXT&amp;&amp;(e=e.getParent()),e=e.$.offsetWidth&lt;=c);return!!(a^e)}};CKEDITOR.dom.walker.nodeType=function(a,b){return function(c){return!!(b^c.type==a)}};CKEDITOR.dom.walker.bogus=function(a){function b(a){return!h(a)&amp;&amp;!k(a)}return function(c){var e=CKEDITOR.env.needsBrFiller?c.is&amp;&amp;c.is(&quot;br&quot;):c.getText&amp;&amp;f.test(c.getText());e&amp;&amp;(e=c.getParent(),c=c.getNext(b),e=e.isBlockBoundary()&amp;&amp;
(!c||c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.isBlockBoundary()));return!!(a^e)}};CKEDITOR.dom.walker.temp=function(a){return function(b){b.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b=b.getParent());b=b&amp;&amp;b.hasAttribute(&quot;data-cke-temp&quot;);return!!(a^b)}};var f=/^[\t\r\n ]*(?:&amp;nbsp;|\xa0)$/,h=CKEDITOR.dom.walker.whitespaces(),k=CKEDITOR.dom.walker.bookmark(),g=CKEDITOR.dom.walker.temp(),l=function(a){return k(a)||h(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(CKEDITOR.dtd.$inline)&amp;&amp;!a.is(CKEDITOR.dtd.$empty)};CKEDITOR.dom.walker.ignored=
function(a){return function(b){b=h(b)||k(b)||g(b);return!!(a^b)}};var u=CKEDITOR.dom.walker.ignored();CKEDITOR.dom.walker.empty=function(a){return function(b){for(var c=0,e=b.getChildCount();c&lt;e;++c)if(!u(b.getChild(c)))return!!a;return!a}};var e=CKEDITOR.dom.walker.empty(),x=CKEDITOR.dom.walker.validEmptyBlockContainers=CKEDITOR.tools.extend(function(a){var b={},c;for(c in a)CKEDITOR.dtd[c][&quot;#&quot;]&amp;&amp;(b[c]=1);return b}(CKEDITOR.dtd.$block),{caption:1,td:1,th:1});CKEDITOR.dom.walker.editable=function(a){return function(b){b=
u(b)?!1:b.type==CKEDITOR.NODE_TEXT||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(b.is(CKEDITOR.dtd.$inline)||b.is(&quot;hr&quot;)||&quot;false&quot;==b.getAttribute(&quot;contenteditable&quot;)||!CKEDITOR.env.needsBrFiller&amp;&amp;b.is(x)&amp;&amp;e(b))?!0:!1;return!!(a^b)}};CKEDITOR.dom.element.prototype.getBogus=function(){var a=this;do a=a.getPreviousSourceNode();while(l(a));return a&amp;&amp;(CKEDITOR.env.needsBrFiller?a.is&amp;&amp;a.is(&quot;br&quot;):a.getText&amp;&amp;f.test(a.getText()))?a:!1}})();
CKEDITOR.dom.range=function(a){this.endOffset=this.endContainer=this.startOffset=this.startContainer=null;this.collapsed=!0;var d=a instanceof CKEDITOR.dom.document;this.document=d?a:a.getDocument();this.root=d?a.getBody():a};
(function(){function a(a){a.collapsed=a.startContainer&amp;&amp;a.endContainer&amp;&amp;a.startContainer.equals(a.endContainer)&amp;&amp;a.startOffset==a.endOffset}function d(a,b,c,d,f){function h(a,b,c,e){var E=c?a.getPrevious():a.getNext();if(e&amp;&amp;k)return E;l||e?b.append(a.clone(!0,f),c):(a.remove(),u&amp;&amp;b.append(a,c));return E}function n(){var a,b,c,e=Math.min(R.length,p.length);for(a=0;a&lt;e;a++)if(b=R[a],c=p[a],!b.equals(c))return a;return a-1}function g(){var b=N-1,c=D&amp;&amp;B&amp;&amp;!m.equals(C);b&lt;O-1||b&lt;q-1||c?(c?a.moveToPosition(C,
CKEDITOR.POSITION_BEFORE_START):q==b+1&amp;&amp;r?a.moveToPosition(p[b],CKEDITOR.POSITION_BEFORE_END):a.moveToPosition(p[b+1],CKEDITOR.POSITION_BEFORE_START),d&amp;&amp;(b=R[b+1])&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan data-cke-bookmark\x3d&quot;1&quot; style\x3d&quot;display:none&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;,a.document),c.insertAfter(b),b.mergeSiblings(!1),a.moveToBookmark({startNode:c}))):a.collapse(!0)}a.optimizeBookmark();var k=0===b,u=1==b,l=2==b;b=l||u;var m=a.startContainer,C=a.endContainer,
K=a.startOffset,A=a.endOffset,M,r,D,B,v,S;if(l&amp;&amp;C.type==CKEDITOR.NODE_TEXT&amp;&amp;(m.equals(C)||m.type===CKEDITOR.NODE_ELEMENT&amp;&amp;m.getFirst().equals(C)))c.append(a.document.createText(C.substring(K,A)));else{C.type==CKEDITOR.NODE_TEXT?l?S=!0:C=C.split(A):0&lt;C.getChildCount()?A&gt;=C.getChildCount()?(C=C.getChild(A-1),r=!0):C=C.getChild(A):B=r=!0;m.type==CKEDITOR.NODE_TEXT?l?v=!0:m.split(K):0&lt;m.getChildCount()?0===K?(m=m.getChild(K),M=!0):m=m.getChild(K-1):D=M=!0;for(var R=m.getParents(),p=C.getParents(),N=n(),
O=R.length-1,q=p.length-1,G=c,E,ba,J,da=-1,T=N;T&lt;=O;T++){ba=R[T];J=ba.getNext();for(T!=O||ba.equals(p[T])&amp;&amp;O&lt;q?b&amp;&amp;(E=G.append(ba.clone(0,f))):M?h(ba,G,!1,D):v&amp;&amp;G.append(a.document.createText(ba.substring(K)));J;){if(J.equals(p[T])){da=T;break}J=h(J,G)}G=E}G=c;for(T=N;T&lt;=q;T++)if(c=p[T],J=c.getPrevious(),c.equals(R[T]))b&amp;&amp;(G=G.getChild(0));else{T!=q||c.equals(R[T])&amp;&amp;q&lt;O?b&amp;&amp;(E=G.append(c.clone(0,f))):r?h(c,G,!1,B):S&amp;&amp;G.append(a.document.createText(c.substring(0,A)));if(T&gt;da)for(;J;)J=h(J,G,!0);G=E}l||
g()}}function b(){var a=!1,b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(!0),d=CKEDITOR.dom.walker.bogus();return function(f){return c(f)||b(f)?!0:d(f)&amp;&amp;!a?a=!0:f.type==CKEDITOR.NODE_TEXT&amp;&amp;(f.hasAscendant(&quot;pre&quot;)||CKEDITOR.tools.trim(f.getText()).length)||f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!f.is(h)?!1:!0}}function c(a){var b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(1);return function(d){return c(d)||b(d)?!0:!a&amp;&amp;k(d)||d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.is(CKEDITOR.dtd.$removeEmpty)}}
function f(a){return function(){var b;return this[a?&quot;getPreviousNode&quot;:&quot;getNextNode&quot;](function(a){!b&amp;&amp;u(a)&amp;&amp;(b=a);return l(a)&amp;&amp;!(k(a)&amp;&amp;a.equals(b))})}}var h={abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,&quot;var&quot;:1},k=CKEDITOR.dom.walker.bogus(),g=/^[\t\r\n ]*(?:&amp;nbsp;|\xa0)$/,l=CKEDITOR.dom.walker.editable(),u=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var a=
new CKEDITOR.dom.range(this.root);a._setStartContainer(this.startContainer);a.startOffset=this.startOffset;a._setEndContainer(this.endContainer);a.endOffset=this.endOffset;a.collapsed=this.collapsed;return a},collapse:function(a){a?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer),this.startOffset=this.endOffset);this.collapsed=!0},cloneContents:function(a){var b=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||
d(this,2,b,!1,&quot;undefined&quot;==typeof a?!0:a);return b},deleteContents:function(a){this.collapsed||d(this,0,null,a)},extractContents:function(a,b){var c=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||d(this,1,c,a,&quot;undefined&quot;==typeof b?!0:b);return c},equals:function(a){return this.startOffset===a.startOffset&amp;&amp;this.endOffset===a.endOffset&amp;&amp;this.startContainer.equals(a.startContainer)&amp;&amp;this.endContainer.equals(a.endContainer)},createBookmark:function(a){function b(a){return a.getAscendant(function(a){var b;
if(b=a.data&amp;&amp;a.data(&quot;cke-temp&quot;))b=-1===CKEDITOR.tools.array.indexOf([&quot;cke_copybin&quot;,&quot;cke_pastebin&quot;],a.getAttribute(&quot;id&quot;));return b},!0)}var c=this.startContainer,d=this.endContainer,f=this.collapsed,h,n,g,k;h=this.document.createElement(&quot;span&quot;);h.data(&quot;cke-bookmark&quot;,1);h.setStyle(&quot;display&quot;,&quot;none&quot;);h.setHtml(&quot;\x26nbsp;&quot;);a&amp;&amp;(g=&quot;cke_bm_&quot;+CKEDITOR.tools.getNextNumber(),h.setAttribute(&quot;id&quot;,g+(f?&quot;C&quot;:&quot;S&quot;)));f||(n=h.clone(),n.setHtml(&quot;\x26nbsp;&quot;),a&amp;&amp;n.setAttribute(&quot;id&quot;,g+&quot;E&quot;),k=this.clone(),b(d)&amp;&amp;(d=b(d),
k.moveToPosition(d,CKEDITOR.POSITION_AFTER_END)),k.collapse(),k.insertNode(n));k=this.clone();b(c)&amp;&amp;(d=b(c),k.moveToPosition(d,CKEDITOR.POSITION_BEFORE_START));k.collapse(!0);k.insertNode(h);n?(this.setStartAfter(h),this.setEndBefore(n)):this.moveToPosition(h,CKEDITOR.POSITION_AFTER_END);return{startNode:a?g+(f?&quot;C&quot;:&quot;S&quot;):h,endNode:a?g+&quot;E&quot;:n,serializable:a,collapsed:f}},createBookmark2:function(){function a(b){var e=b.container,d=b.offset,n;n=e;var f=d;n=n.type!=CKEDITOR.NODE_ELEMENT||0===f||f==n.getChildCount()?
0:n.getChild(f-1).type==CKEDITOR.NODE_TEXT&amp;&amp;n.getChild(f).type==CKEDITOR.NODE_TEXT;n&amp;&amp;(e=e.getChild(d-1),d=e.getLength());if(e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;0&lt;d){a:{for(n=e;d--;)if(f=n.getChild(d).getIndex(!0),0&lt;=f){d=f;break a}d=-1}d+=1}if(e.type==CKEDITOR.NODE_TEXT){n=e;for(f=0;(n=n.getPrevious())&amp;&amp;n.type==CKEDITOR.NODE_TEXT;)f+=n.getText().replace(CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE,&quot;&quot;).length;n=f;e.isEmpty()?(f=e.getPrevious(c),n?(d=n,e=f?f.getNext():e.getParent().getFirst()):(e=e.getParent(),
d=f?f.getIndex(!0)+1:0)):d+=n}b.container=e;b.offset=d}function b(a,c){var e=c.getCustomData(&quot;cke-fillingChar&quot;);if(e){var d=a.container;e.equals(d)&amp;&amp;(a.offset-=CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE.length,0&gt;=a.offset&amp;&amp;(a.offset=d.getIndex(),a.container=d.getParent()))}}var c=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT,!0);return function(c){var d=this.collapsed,f={container:this.startContainer,offset:this.startOffset},n={container:this.endContainer,offset:this.endOffset};c&amp;&amp;(a(f),b(f,this.root),
d||(a(n),b(n,this.root)));return{start:f.container.getAddress(c),end:d?null:n.container.getAddress(c),startOffset:f.offset,endOffset:n.offset,normalized:c,collapsed:d,is2:!0}}}(),moveToBookmark:function(a){if(a.is2){var b=this.document.getByAddress(a.start,a.normalized),c=a.startOffset,d=a.end&amp;&amp;this.document.getByAddress(a.end,a.normalized);a=a.endOffset;this.setStart(b,c);d?this.setEnd(d,a):this.collapse(!0)}else b=(c=a.serializable)?this.document.getById(a.startNode):a.startNode,a=c?this.document.getById(a.endNode):
a.endNode,this.setStartBefore(b),b.remove(),a?(this.setEndBefore(a),a.remove()):this.collapse(!0)},getBoundaryNodes:function(){var a=this.startContainer,b=this.endContainer,c=this.startOffset,d=this.endOffset,f;if(a.type==CKEDITOR.NODE_ELEMENT)if(f=a.getChildCount(),f&gt;c)a=a.getChild(c);else if(1&gt;f)a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a);a=a.getNextSourceNode()||a}if(b.type==CKEDITOR.NODE_ELEMENT)if(f=b.getChildCount(),f&gt;d)b=b.getChild(d).getPreviousSourceNode(!0);
else if(1&gt;f)b=b.getPreviousSourceNode();else{for(b=b.$;b.lastChild;)b=b.lastChild;b=new CKEDITOR.dom.node(b)}a.getPosition(b)&amp;CKEDITOR.POSITION_FOLLOWING&amp;&amp;(a=b);return{startNode:a,endNode:b}},getCommonAncestor:function(a,b){var c=this.startContainer,d=this.endContainer,c=c.equals(d)?a&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;this.startOffset==this.endOffset-1?c.getChild(this.startOffset):c:c.getCommonAncestor(d);return b&amp;&amp;!c.is?c.getParent():c},optimize:function(){var a=this.startContainer,b=this.startOffset;
a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b?b&gt;=a.getLength()&amp;&amp;this.setStartAfter(a):this.setStartBefore(a));a=this.endContainer;b=this.endOffset;a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b?b&gt;=a.getLength()&amp;&amp;this.setEndAfter(a):this.setEndBefore(a))},optimizeBookmark:function(){var a=this.startContainer,b=this.endContainer;a.is&amp;&amp;a.is(&quot;span&quot;)&amp;&amp;a.data(&quot;cke-bookmark&quot;)&amp;&amp;this.setStartAt(a,CKEDITOR.POSITION_BEFORE_START);b&amp;&amp;b.is&amp;&amp;b.is(&quot;span&quot;)&amp;&amp;b.data(&quot;cke-bookmark&quot;)&amp;&amp;this.setEndAt(b,CKEDITOR.POSITION_AFTER_END)},trim:function(a,
b){var c=this.startContainer,d=this.startOffset,f=this.collapsed;if((!a||f)&amp;&amp;c&amp;&amp;c.type==CKEDITOR.NODE_TEXT){if(d)if(d&gt;=c.getLength())d=c.getIndex()+1,c=c.getParent();else{var h=c.split(d),d=c.getIndex()+1,c=c.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(h,this.endOffset-this.startOffset):c.equals(this.endContainer)&amp;&amp;(this.endOffset+=1)}else d=c.getIndex(),c=c.getParent();this.setStart(c,d);if(f){this.collapse(!0);return}}c=this.endContainer;d=this.endOffset;b||f||!c||c.type!=
CKEDITOR.NODE_TEXT||(d?(d&gt;=c.getLength()||c.split(d),d=c.getIndex()+1):d=c.getIndex(),c=c.getParent(),this.setEnd(c,d))},enlarge:function(a,b){function c(a){return a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;contenteditable&quot;)?null:a}var d=new RegExp(/[^\s\ufeff]/);switch(a){case CKEDITOR.ENLARGE_INLINE:var f=1;case CKEDITOR.ENLARGE_ELEMENT:var h=function(a,b){var c=new CKEDITOR.dom.range(g);c.setStart(a,b);c.setEndAt(g,CKEDITOR.POSITION_BEFORE_END);var c=new CKEDITOR.dom.walker(c),e;for(c.guard=
function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.isBlockBoundary())};e=c.next();){if(e.type!=CKEDITOR.NODE_TEXT)return!1;M=e!=a?e.getText():e.substring(b);if(d.test(M))return!1}return!0};if(this.collapsed)break;var n=this.getCommonAncestor(),g=this.root,k,u,l,m,C,K=!1,A,M;A=this.startContainer;var r=this.startOffset;A.type==CKEDITOR.NODE_TEXT?(r&amp;&amp;(A=!CKEDITOR.tools.trim(A.substring(0,r)).length&amp;&amp;A,K=!!A),A&amp;&amp;((m=A.getPrevious())||(l=A.getParent()))):(r&amp;&amp;(m=A.getChild(r-1)||A.getLast()),m||(l=A));
for(l=c(l);l||m;){if(l&amp;&amp;!m){!C&amp;&amp;l.equals(n)&amp;&amp;(C=!0);if(f?l.isBlockBoundary():!g.contains(l))break;K&amp;&amp;&quot;inline&quot;==l.getComputedStyle(&quot;display&quot;)||(K=!1,C?k=l:this.setStartBefore(l));m=l.getPrevious()}for(;m;)if(A=!1,m.type==CKEDITOR.NODE_COMMENT)m=m.getPrevious();else{if(m.type==CKEDITOR.NODE_TEXT)M=m.getText(),d.test(M)&amp;&amp;(m=null),A=/[\s\ufeff]$/.test(M);else if((m.$.offsetWidth&gt;(CKEDITOR.env.webkit?1:0)||b&amp;&amp;m.is(&quot;br&quot;))&amp;&amp;!m.data(&quot;cke-bookmark&quot;))if(K&amp;&amp;CKEDITOR.dtd.$removeEmpty[m.getName()]){M=m.getText();
if(d.test(M))m=null;else for(var r=m.$.getElementsByTagName(&quot;*&quot;),D=0,B;B=r[D++];)if(!CKEDITOR.dtd.$removeEmpty[B.nodeName.toLowerCase()]){m=null;break}m&amp;&amp;(A=!!M.length)}else m=null;A&amp;&amp;(K?C?k=l:l&amp;&amp;this.setStartBefore(l):K=!0);if(m){A=m.getPrevious();if(!l&amp;&amp;!A){l=m;m=null;break}m=A}else l=null}l&amp;&amp;(l=c(l.getParent()))}A=this.endContainer;r=this.endOffset;l=m=null;C=K=!1;A.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(A.substring(r)).length?K=!0:(K=!A.getLength(),r==A.getLength()?(m=A.getNext())||(l=A.getParent()):
h(A,r)&amp;&amp;(l=A.getParent())):(m=A.getChild(r))||(l=A);for(;l||m;){if(l&amp;&amp;!m){!C&amp;&amp;l.equals(n)&amp;&amp;(C=!0);if(f?l.isBlockBoundary():!g.contains(l))break;K&amp;&amp;&quot;inline&quot;==l.getComputedStyle(&quot;display&quot;)||(K=!1,C?u=l:l&amp;&amp;this.setEndAfter(l));m=l.getNext()}for(;m;){A=!1;if(m.type==CKEDITOR.NODE_TEXT)M=m.getText(),h(m,0)||(m=null),A=/^[\s\ufeff]/.test(M);else if(m.type==CKEDITOR.NODE_ELEMENT){if((0&lt;m.$.offsetWidth||b&amp;&amp;m.is(&quot;br&quot;))&amp;&amp;!m.data(&quot;cke-bookmark&quot;))if(K&amp;&amp;CKEDITOR.dtd.$removeEmpty[m.getName()]){M=m.getText();if(d.test(M))m=
null;else for(r=m.$.getElementsByTagName(&quot;*&quot;),D=0;B=r[D++];)if(!CKEDITOR.dtd.$removeEmpty[B.nodeName.toLowerCase()]){m=null;break}m&amp;&amp;(A=!!M.length)}else m=null}else A=1;A&amp;&amp;K&amp;&amp;(C?u=l:this.setEndAfter(l));if(m){A=m.getNext();if(!l&amp;&amp;!A){l=m;m=null;break}m=A}else l=null}l&amp;&amp;(l=c(l.getParent()))}k&amp;&amp;u&amp;&amp;(n=k.contains(u)?u:k,this.setStartBefore(n),this.setEndAfter(n));break;case CKEDITOR.ENLARGE_BLOCK_CONTENTS:case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:l=new CKEDITOR.dom.range(this.root);g=this.root;l.setStartAt(g,
CKEDITOR.POSITION_AFTER_START);l.setEnd(this.startContainer,this.startOffset);l=new CKEDITOR.dom.walker(l);var v,S,R=CKEDITOR.dom.walker.blockBoundary(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),p=null,N=function(a){if(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;false&quot;==a.getAttribute(&quot;contenteditable&quot;))if(p){if(p.equals(a)){p=null;return}}else p=a;else if(p)return;var b=R(a);b||(v=a);return b},f=function(a){var b=N(a);!b&amp;&amp;a.is&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;(S=a);return b};l.guard=N;l=l.lastBackward();v=v||g;this.setStartAt(v,
!v.is(&quot;br&quot;)&amp;&amp;(!l&amp;&amp;this.checkStartOfBlock()||l&amp;&amp;v.contains(l))?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_AFTER_END);if(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS){l=this.clone();l=new CKEDITOR.dom.walker(l);var O=CKEDITOR.dom.walker.whitespaces(),q=CKEDITOR.dom.walker.bookmark();l.evaluator=function(a){return!O(a)&amp;&amp;!q(a)};if((l=l.previous())&amp;&amp;l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.is(&quot;br&quot;))break}l=this.clone();l.collapse();l.setEndAt(g,CKEDITOR.POSITION_BEFORE_END);l=new CKEDITOR.dom.walker(l);l.guard=
a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?f:N;v=p=S=null;l=l.lastForward();v=v||g;this.setEndAt(v,!l&amp;&amp;this.checkEndOfBlock()||l&amp;&amp;v.contains(l)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START);S&amp;&amp;this.setEndAfter(S)}},shrink:function(a,b,c){var d=&quot;boolean&quot;===typeof c?c:c&amp;&amp;&quot;boolean&quot;===typeof c.shrinkOnBlockBoundary?c.shrinkOnBlockBoundary:!0,f=c&amp;&amp;c.skipBogus;if(!this.collapsed){a=a||CKEDITOR.SHRINK_TEXT;var h=this.clone(),n=this.startContainer,g=this.endContainer,k=this.startOffset,l=this.endOffset,
u=c=1;n&amp;&amp;n.type==CKEDITOR.NODE_TEXT&amp;&amp;(k?k&gt;=n.getLength()?h.setStartAfter(n):(h.setStartBefore(n),c=0):h.setStartBefore(n));g&amp;&amp;g.type==CKEDITOR.NODE_TEXT&amp;&amp;(l?l&gt;=g.getLength()?h.setEndAfter(g):(h.setEndAfter(g),u=0):h.setEndBefore(g));var h=new CKEDITOR.dom.walker(h),m=CKEDITOR.dom.walker.bookmark(),C=CKEDITOR.dom.walker.bogus();h.evaluator=function(b){return b.type==(a==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var K;h.guard=function(b,c){if(f&amp;&amp;C(b)||m(b))return!0;if(a==CKEDITOR.SHRINK_ELEMENT&amp;&amp;
b.type==CKEDITOR.NODE_TEXT||c&amp;&amp;b.equals(K)||!1===d&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.isBlockBoundary()||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.hasAttribute(&quot;contenteditable&quot;))return!1;c||b.type!=CKEDITOR.NODE_ELEMENT||(K=b);return!0};c&amp;&amp;(n=h[a==CKEDITOR.SHRINK_ELEMENT?&quot;lastForward&quot;:&quot;next&quot;]())&amp;&amp;this.setStartAt(n,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_START);u&amp;&amp;(h.reset(),(h=h[a==CKEDITOR.SHRINK_ELEMENT?&quot;lastBackward&quot;:&quot;previous&quot;]())&amp;&amp;this.setEndAt(h,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));
return!(!c&amp;&amp;!u)}},insertNode:function(a){this.optimizeBookmark();this.trim(!1,!0);var b=this.startContainer,c=b.getChild(this.startOffset);c?a.insertBefore(c):b.append(a);a.getParent()&amp;&amp;a.getParent().equals(this.endContainer)&amp;&amp;this.endOffset++;this.setStartBefore(a)},moveToPosition:function(a,b){this.setStartAt(a,b);this.collapse(!0)},moveToRange:function(a){this.setStart(a.startContainer,a.startOffset);this.setEnd(a.endContainer,a.endOffset)},selectNodeContents:function(a){this.setStart(a,0);this.setEnd(a,
a.type==CKEDITOR.NODE_TEXT?a.getLength():a.getChildCount())},setStart:function(b,c){b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$empty[b.getName()]&amp;&amp;(c=b.getIndex(),b=b.getParent());this._setStartContainer(b);this.startOffset=c;this.endContainer||(this._setEndContainer(b),this.endOffset=c);a(this)},setEnd:function(b,c){b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$empty[b.getName()]&amp;&amp;(c=b.getIndex()+1,b=b.getParent());this._setEndContainer(b);this.endOffset=c;this.startContainer||(this._setStartContainer(b),
this.startOffset=c);a(this)},setStartAfter:function(a){this.setStart(a.getParent(),a.getIndex()+1)},setStartBefore:function(a){this.setStart(a.getParent(),a.getIndex())},setEndAfter:function(a){this.setEnd(a.getParent(),a.getIndex()+1)},setEndBefore:function(a){this.setEnd(a.getParent(),a.getIndex())},setStartAt:function(b,c){switch(c){case CKEDITOR.POSITION_AFTER_START:this.setStart(b,0);break;case CKEDITOR.POSITION_BEFORE_END:b.type==CKEDITOR.NODE_TEXT?this.setStart(b,b.getLength()):this.setStart(b,
b.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setStartBefore(b);break;case CKEDITOR.POSITION_AFTER_END:this.setStartAfter(b)}a(this)},setEndAt:function(b,c){switch(c){case CKEDITOR.POSITION_AFTER_START:this.setEnd(b,0);break;case CKEDITOR.POSITION_BEFORE_END:b.type==CKEDITOR.NODE_TEXT?this.setEnd(b,b.getLength()):this.setEnd(b,b.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(b);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(b)}a(this)},fixBlock:function(a,
b){var c=this.createBookmark(),d=this.document.createElement(b);this.collapse(a);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(d);d.trim();this.insertNode(d);var f=d.getBogus();f&amp;&amp;f.remove();d.appendBogus();this.moveToBookmark(c);return d},splitBlock:function(a,b){var c=new CKEDITOR.dom.elementPath(this.startContainer,this.root),d=new CKEDITOR.dom.elementPath(this.endContainer,this.root),f=c.block,h=d.block,n=null;if(!c.blockLimit.equals(d.blockLimit))return null;&quot;br&quot;!=
a&amp;&amp;(f||(f=this.fixBlock(!0,a),h=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),h||(h=this.fixBlock(!1,a)));c=f&amp;&amp;this.checkStartOfBlock();d=h&amp;&amp;this.checkEndOfBlock();this.deleteContents();f&amp;&amp;f.equals(h)&amp;&amp;(d?(n=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(h,CKEDITOR.POSITION_AFTER_END),h=null):c?(n=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),f=null):(h=this.splitElement(f,b||
!1),f.is(&quot;ul&quot;,&quot;ol&quot;)||f.appendBogus()));return{previousBlock:f,nextBlock:h,wasStartOfBlock:c,wasEndOfBlock:d,elementPath:n}},splitElement:function(a,b){if(!this.collapsed)return null;this.setEndAt(a,CKEDITOR.POSITION_BEFORE_END);var c=this.extractContents(!1,b||!1),d=a.clone(!1,b||!1);c.appendTo(d);d.insertAfter(a);this.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);return d},removeEmptyBlocksAtEnd:function(){function a(e){return function(a){return b(a)||c(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.isEmptyInlineRemoveable()||
e.is(&quot;table&quot;)&amp;&amp;a.is(&quot;caption&quot;)?!1:!0}}var b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(!1);return function(b){for(var c=this.createBookmark(),d=this[b?&quot;endPath&quot;:&quot;startPath&quot;](),f=d.block||d.blockLimit,h;f&amp;&amp;!f.equals(d.root)&amp;&amp;!f.getFirst(a(f));)h=f.getParent(),this[b?&quot;setEndAt&quot;:&quot;setStartAt&quot;](f,CKEDITOR.POSITION_AFTER_END),f.remove(1),f=h;this.moveToBookmark(c)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,
this.root)},checkBoundaryOfElement:function(a,b){var d=b==CKEDITOR.START,f=this.clone();f.collapse(d);f[d?&quot;setStartAt&quot;:&quot;setEndAt&quot;](a,d?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(f);f.evaluator=c(d);return f[d?&quot;checkBackward&quot;:&quot;checkForward&quot;]()},checkStartOfBlock:function(){var a=this.startContainer,c=this.startOffset;CKEDITOR.env.ie&amp;&amp;c&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;(a=CKEDITOR.tools.ltrim(a.substring(0,c)),g.test(a)&amp;&amp;this.trim(0,1));this.trim();a=new CKEDITOR.dom.elementPath(this.startContainer,
this.root);c=this.clone();c.collapse(!0);c.setStartAt(a.block||a.blockLimit,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(c);a.evaluator=b();return a.checkBackward()},checkEndOfBlock:function(){var a=this.endContainer,c=this.endOffset;CKEDITOR.env.ie&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;(a=CKEDITOR.tools.rtrim(a.substring(c)),g.test(a)&amp;&amp;this.trim(1,0));this.trim();a=new CKEDITOR.dom.elementPath(this.endContainer,this.root);c=this.clone();c.collapse(!1);c.setEndAt(a.block||a.blockLimit,CKEDITOR.POSITION_BEFORE_END);
a=new CKEDITOR.dom.walker(c);a.evaluator=b();return a.checkForward()},getPreviousNode:function(a,b,c){var d=this.clone();d.collapse(1);d.setStartAt(c||this.root,CKEDITOR.POSITION_AFTER_START);c=new CKEDITOR.dom.walker(d);c.evaluator=a;c.guard=b;return c.previous()},getNextNode:function(a,b,c){var d=this.clone();d.collapse();d.setEndAt(c||this.root,CKEDITOR.POSITION_BEFORE_END);c=new CKEDITOR.dom.walker(d);c.evaluator=a;c.guard=b;return c.next()},checkReadOnly:function(){function a(b,c){for(;b;){if(b.type==
CKEDITOR.NODE_ELEMENT){if(&quot;false&quot;==b.getAttribute(&quot;contentEditable&quot;)&amp;&amp;!b.data(&quot;cke-editable&quot;))return 0;if(b.is(&quot;html&quot;)||&quot;true&quot;==b.getAttribute(&quot;contentEditable&quot;)&amp;&amp;(b.contains(c)||b.equals(c)))break}b=b.getParent()}return 1}return function(){var b=this.startContainer,c=this.endContainer;return!(a(b,c)&amp;&amp;a(c,b))}}(),moveToElementEditablePosition:function(a,b){if(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a.isEditable(!1))return this.moveToPosition(a,b?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),
!0;for(var c=0;a;){if(a.type==CKEDITOR.NODE_TEXT){b&amp;&amp;this.endContainer&amp;&amp;this.checkEndOfBlock()&amp;&amp;g.test(a.getText())?this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(a,b?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START);c=1;break}if(a.type==CKEDITOR.NODE_ELEMENT)if(a.isEditable())this.moveToPosition(a,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),c=1;else if(b&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;this.endContainer&amp;&amp;this.checkEndOfBlock())this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START);
else if(&quot;false&quot;==a.getAttribute(&quot;contenteditable&quot;)&amp;&amp;a.is(CKEDITOR.dtd.$block))return this.setStartBefore(a),this.setEndAfter(a),!0;var d=a,f=c,h=void 0;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isEditable(!1)&amp;&amp;(h=d[b?&quot;getLast&quot;:&quot;getFirst&quot;](u));f||h||(h=d[b?&quot;getPrevious&quot;:&quot;getNext&quot;](u));a=h}return!!c},moveToClosestEditablePosition:function(a,b){var c,d=0,f,h,n=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(c=new CKEDITOR.dom.range(this.root),c.moveToPosition(a,n[b?0:1])):c=this.clone();if(a&amp;&amp;
!a.is(CKEDITOR.dtd.$block))d=1;else if(f=c[b?&quot;getNextEditableNode&quot;:&quot;getPreviousEditableNode&quot;]())d=1,(h=f.type==CKEDITOR.NODE_ELEMENT)&amp;&amp;f.is(CKEDITOR.dtd.$block)&amp;&amp;&quot;false&quot;==f.getAttribute(&quot;contenteditable&quot;)?(c.setStartAt(f,CKEDITOR.POSITION_BEFORE_START),c.setEndAt(f,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&amp;&amp;h&amp;&amp;f.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(c.setEnd(f,0),c.collapse()):c.moveToPosition(f,n[b?1:0]);d&amp;&amp;this.moveToRange(c);return!!d},moveToElementEditStart:function(a){return this.moveToElementEditablePosition(a)},
moveToElementEditEnd:function(a){return this.moveToElementEditablePosition(a,!0)},getEnclosedNode:function(){var a=this.clone();a.optimize();if(a.startContainer.type!=CKEDITOR.NODE_ELEMENT||a.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var a=new CKEDITOR.dom.walker(a),b=CKEDITOR.dom.walker.bookmark(!1,!0),c=CKEDITOR.dom.walker.whitespaces(!0);a.evaluator=function(a){return c(a)&amp;&amp;b(a)};var d=a.next();a.reset();return d&amp;&amp;d.equals(a.previous())?d:null},getTouchedStartNode:function(){var a=this.startContainer;
return this.collapsed||a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.startOffset)||a},getTouchedEndNode:function(){var a=this.endContainer;return this.collapsed||a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.endOffset-1)||a},getNextEditableNode:f(),getPreviousEditableNode:f(1),_getTableElement:function(a){a=a||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var b=this.getTouchedStartNode(),c=this.getTouchedEndNode(),d=b.getAscendant(&quot;table&quot;,!0),c=c.getAscendant(&quot;table&quot;,!0);return d&amp;&amp;!this.root.contains(d)?
null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(a,!0):d&amp;&amp;c&amp;&amp;(d.equals(c)||d.contains(c)||c.contains(d))?b.getAscendant(a,!0):null},scrollIntoView:function(){var a=new CKEDITOR.dom.element.createFromHtml(&quot;\x3cspan\x3e\x26nbsp;\x3c/span\x3e&quot;,this.document),b,c,d,f=this.clone();f.optimize();(d=f.startContainer.type==CKEDITOR.NODE_TEXT)?(c=f.startContainer.getText(),b=f.startContainer.split(f.startOffset),a.insertAfter(f.startContainer)):f.insertNode(a);a.scrollIntoView();d&amp;&amp;(f.startContainer.setText(c),
b.remove());a.remove()},getClientRects:function(){function a(b,c){var d=CKEDITOR.tools.array.map(b,function(a){return a}),e=new CKEDITOR.dom.range(c.root),f,h,g;c.startContainer instanceof CKEDITOR.dom.element&amp;&amp;(h=0===c.startOffset&amp;&amp;c.startContainer.hasAttribute(&quot;data-widget&quot;));c.endContainer instanceof CKEDITOR.dom.element&amp;&amp;(g=(g=c.endOffset===(c.endContainer.getChildCount?c.endContainer.getChildCount():c.endContainer.length))&amp;&amp;c.endContainer.hasAttribute(&quot;data-widget&quot;));h&amp;&amp;e.setStart(c.startContainer.getParent(),
c.startContainer.getIndex());g&amp;&amp;e.setEnd(c.endContainer.getParent(),c.endContainer.getIndex()+1);if(h||g)c=e;e=c.cloneContents().find(&quot;[data-cke-widget-id]&quot;).toArray();if(e=CKEDITOR.tools.array.map(e,function(a){var b=c.root.editor;a=a.getAttribute(&quot;data-cke-widget-id&quot;);return b.widgets.instances[a].element}))return e=CKEDITOR.tools.array.map(e,function(a){var b;b=a.getParent().hasClass(&quot;cke_widget_wrapper&quot;)?a.getParent():a;f=this.root.getDocument().$.createRange();f.setStart(b.getParent().$,b.getIndex());
f.setEnd(b.getParent().$,b.getIndex()+1);b=f.getClientRects();b.widgetRect=a.getClientRect();return b},c),CKEDITOR.tools.array.forEach(e,function(a){function b(e){CKEDITOR.tools.array.forEach(d,function(b,f){var h=CKEDITOR.tools.objectCompare(a[e],b);h||(h=CKEDITOR.tools.objectCompare(a.widgetRect,b));h&amp;&amp;(Array.prototype.splice.call(d,f,a.length-e,a.widgetRect),c=!0)});c||(e&lt;d.length-1?b(e+1):d.push(a.widgetRect))}var c;b(0)}),d}function b(a,c,e){var f;c.collapsed?e.startContainer instanceof CKEDITOR.dom.element?
(a=e.checkStartOfBlock(),f=new CKEDITOR.dom.text(&quot;​&quot;),a?e.startContainer.append(f,!0):0===e.startOffset?f.insertBefore(e.startContainer.getFirst()):(e=e.startContainer.getChildren().getItem(e.startOffset-1),f.insertAfter(e)),c.setStart(f.$,0),c.setEnd(f.$,0),a=c.getClientRects(),f.remove()):e.startContainer instanceof CKEDITOR.dom.text&amp;&amp;(&quot;&quot;===e.startContainer.getText()?(e.startContainer.setText(&quot;​&quot;),a=c.getClientRects(),e.startContainer.setText(&quot;&quot;)):a=[d(e.createBookmark())]):a=[d(e.createBookmark())];
return a}function c(a,b,d){a=CKEDITOR.tools.extend({},a);b&amp;&amp;(a=CKEDITOR.tools.getAbsoluteRectPosition(d.document.getWindow(),a));!a.width&amp;&amp;(a.width=a.right-a.left);!a.height&amp;&amp;(a.height=a.bottom-a.top);return a}function d(a){var b=a.startNode;a=a.endNode;var c;b.setText(&quot;​&quot;);b.removeStyle(&quot;display&quot;);a?(a.setText(&quot;​&quot;),a.removeStyle(&quot;display&quot;),c=[b.getClientRect(),a.getClientRect()],a.remove()):c=[b.getClientRect(),b.getClientRect()];b.remove();return{right:Math.max(c[0].right,c[1].right),bottom:Math.max(c[0].bottom,
c[1].bottom),left:Math.min(c[0].left,c[1].left),top:Math.min(c[0].top,c[1].top),width:Math.abs(c[0].left-c[1].left),height:Math.max(c[0].bottom,c[1].bottom)-Math.min(c[0].top,c[1].top)}}return void 0!==this.document.getSelection?function(d){var f=this.root.getDocument().$.createRange(),n;f.setStart(this.startContainer.$,this.startOffset);f.setEnd(this.endContainer.$,this.endOffset);n=f.getClientRects();n=a(n,this);n.length||(n=b(n,f,this));return CKEDITOR.tools.array.map(n,function(a){return c(a,
d,this)},this)}:function(a){return[c(d(this.createBookmark()),a,this)]}}(),_setStartContainer:function(a){this.startContainer=a},_setEndContainer:function(a){this.endContainer=a},_find:function(a,b){var c=this.getCommonAncestor(),d=this.getBoundaryNodes(),f=[],h,n,g,k;if(c&amp;&amp;c.find)for(n=c.find(a),h=0;h&lt;n.count();h++)if(c=n.getItem(h),b||!c.isReadOnly())g=c.getPosition(d.startNode)&amp;CKEDITOR.POSITION_FOLLOWING||d.startNode.equals(c),k=c.getPosition(d.endNode)&amp;CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IS_CONTAINED||
d.endNode.equals(c),g&amp;&amp;k&amp;&amp;f.push(c);return f}};CKEDITOR.dom.range.mergeRanges=function(a){return CKEDITOR.tools.array.reduce(a,function(a,b){var c=a[a.length-1],d=!1;b=b.clone();b.enlarge(CKEDITOR.ENLARGE_ELEMENT);if(c){var e=new CKEDITOR.dom.range(b.root),d=new CKEDITOR.dom.walker(e),f=CKEDITOR.dom.walker.whitespaces();e.setStart(c.endContainer,c.endOffset);e.setEnd(b.startContainer,b.startOffset);for(e=d.next();f(e)||b.endContainer.equals(e);)e=d.next();d=!e}d?c.setEnd(b.endContainer,b.endOffset):
a.push(b);return a},[])}})();CKEDITOR.POSITION_AFTER_START=1;CKEDITOR.POSITION_BEFORE_END=2;CKEDITOR.POSITION_BEFORE_START=3;CKEDITOR.POSITION_AFTER_END=4;CKEDITOR.ENLARGE_ELEMENT=1;CKEDITOR.ENLARGE_BLOCK_CONTENTS=2;CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS=3;CKEDITOR.ENLARGE_INLINE=4;CKEDITOR.START=1;CKEDITOR.END=2;CKEDITOR.SHRINK_ELEMENT=1;CKEDITOR.SHRINK_TEXT=2;&quot;use strict&quot;;
(function(){function a(a){1&gt;arguments.length||(this.range=a,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function d(a){var b=[];a.forEach(function(a){if(&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;))return b.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return b}function b(a,c,f,h){a:{null==h&amp;&amp;(h=d(f));for(var g;g=h.shift();)if(g.getDtd().p){h={element:g,remaining:h};break a}h=null}if(!h)return 0;if((g=CKEDITOR.filter.instances[h.element.data(&quot;cke-filter&quot;)])&amp;&amp;!g.check(c))return b(a,
c,f,h.remaining);c=new CKEDITOR.dom.range(h.element);c.selectNodeContents(h.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=g;a._.nestedEditable={element:h.element,container:f,remaining:h.remaining,iterator:c};return 1}function c(a,b,c){if(!b)return!1;a=a.clone();a.collapse(!c);return a.checkBoundaryOfElement(b,c?CKEDITOR.START:CKEDITOR.END)}var f=/^[\r\n\t ]+$/,h=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.whitespaces(!0),
g=function(a){return h(a)&amp;&amp;k(a)},l={dd:1,dt:1,li:1};a.prototype={getNextParagraph:function(a){var d,k,w,z,H;a=a||&quot;p&quot;;if(this._.nestedEditable){if(d=this._.nestedEditable.iterator.getNextParagraph(a))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,d;this.activeFilter=this.filter;if(b(this,a,this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(a);this._.nestedEditable=
null}if(!this.range.root.getDtd()[a])return null;if(!this._.started){var t=this.range.clone();k=t.startPath();var n=t.endPath(),L=!t.collapsed&amp;&amp;c(t,k.block),y=!t.collapsed&amp;&amp;c(t,n.block,1);t.shrink(CKEDITOR.SHRINK_ELEMENT,!0);L&amp;&amp;t.setStartAt(k.block,CKEDITOR.POSITION_BEFORE_END);y&amp;&amp;t.setEndAt(n.block,CKEDITOR.POSITION_AFTER_START);k=t.endContainer.hasAscendant(&quot;pre&quot;,!0)||t.startContainer.hasAscendant(&quot;pre&quot;,!0);t.enlarge(this.forceBrBreak&amp;&amp;!k||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);
t.collapsed||(k=new CKEDITOR.dom.walker(t.clone()),n=CKEDITOR.dom.walker.bookmark(!0,!0),k.evaluator=n,this._.nextNode=k.next(),k=new CKEDITOR.dom.walker(t.clone()),k.evaluator=n,k=k.previous(),this._.lastNode=k.getNextSourceNode(!0,null,t.root),this._.lastNode&amp;&amp;this._.lastNode.type==CKEDITOR.NODE_TEXT&amp;&amp;!CKEDITOR.tools.trim(this._.lastNode.getText())&amp;&amp;this._.lastNode.getParent().isBlockBoundary()&amp;&amp;(n=this.range.clone(),n.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),n.checkEndOfBlock()&amp;&amp;
(n=new CKEDITOR.dom.elementPath(n.endContainer,n.root),this._.lastNode=(n.block||n.blockLimit).getNextSourceNode(!0))),this._.lastNode&amp;&amp;t.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=t.document.createText(&quot;&quot;),this._.lastNode.insertAfter(k)),t=null);this._.started=1;k=t}n=this._.nextNode;t=this._.lastNode;for(this._.nextNode=null;n;){var L=0,y=n.hasAscendant(&quot;pre&quot;),F=n.type!=CKEDITOR.NODE_ELEMENT,I=0;if(F)n.type==CKEDITOR.NODE_TEXT&amp;&amp;f.test(n.getText())&amp;&amp;(F=0);else{var m=n.getName();
if(CKEDITOR.dtd.$block[m]&amp;&amp;&quot;false&quot;==n.getAttribute(&quot;contenteditable&quot;)){d=n;b(this,a,d);break}else if(n.isBlockBoundary(this.forceBrBreak&amp;&amp;!y&amp;&amp;{br:1})){if(&quot;br&quot;==m)F=1;else if(!k&amp;&amp;!n.getChildCount()&amp;&amp;&quot;hr&quot;!=m){d=n;w=n.equals(t);break}k&amp;&amp;(k.setEndAt(n,CKEDITOR.POSITION_BEFORE_START),&quot;br&quot;!=m&amp;&amp;(this._.nextNode=n));L=1}else{if(n.getFirst()){k||(k=this.range.clone(),k.setStartAt(n,CKEDITOR.POSITION_BEFORE_START));n=n.getFirst();continue}F=1}}F&amp;&amp;!k&amp;&amp;(k=this.range.clone(),k.setStartAt(n,CKEDITOR.POSITION_BEFORE_START));
w=(!L||F)&amp;&amp;n.equals(t);if(k&amp;&amp;!L)for(;!n.getNext(g)&amp;&amp;!w;){m=n.getParent();if(m.isBlockBoundary(this.forceBrBreak&amp;&amp;!y&amp;&amp;{br:1})){L=1;F=0;w||m.equals(t);k.setEndAt(m,CKEDITOR.POSITION_BEFORE_END);break}n=m;F=1;w=n.equals(t);I=1}F&amp;&amp;k.setEndAt(n,CKEDITOR.POSITION_AFTER_END);n=this._getNextSourceNode(n,I,t);if((w=!n)||L&amp;&amp;k)break}if(!d){if(!k)return this._.docEndMarker&amp;&amp;this._.docEndMarker.remove(),this._.nextNode=null;d=new CKEDITOR.dom.elementPath(k.startContainer,k.root);n=d.blockLimit;L={div:1,th:1,td:1};
d=d.block;!d&amp;&amp;n&amp;&amp;!this.enforceRealBlocks&amp;&amp;L[n.getName()]&amp;&amp;k.checkStartOfBlock()&amp;&amp;k.checkEndOfBlock()&amp;&amp;!n.equals(k.root)?d=n:!d||this.enforceRealBlocks&amp;&amp;d.is(l)?(d=this.range.document.createElement(a),k.extractContents().appendTo(d),d.trim(),k.insertNode(d),z=H=!0):&quot;li&quot;!=d.getName()?k.checkStartOfBlock()&amp;&amp;k.checkEndOfBlock()||(d=d.clone(!1),k.extractContents().appendTo(d),d.trim(),H=k.splitBlock(),z=!H.wasStartOfBlock,H=!H.wasEndOfBlock,k.insertNode(d)):w||(this._.nextNode=d.equals(t)?null:this._getNextSourceNode(k.getBoundaryNodes().endNode,
1,t))}z&amp;&amp;(z=d.getPrevious())&amp;&amp;z.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;br&quot;==z.getName()?z.remove():z.getLast()&amp;&amp;&quot;br&quot;==z.getLast().$.nodeName.toLowerCase()&amp;&amp;z.getLast().remove());H&amp;&amp;(z=d.getLast())&amp;&amp;z.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==z.getName()&amp;&amp;(!CKEDITOR.env.needsBrFiller||z.getPrevious(h)||z.getNext(h))&amp;&amp;z.remove();this._.nextNode||(this._.nextNode=w||d.equals(t)||!t?null:this._getNextSourceNode(d,1,t));return d},_getNextSourceNode:function(a,b,c){function d(a){return!(a.equals(c)||a.equals(f))}var f=
this.range.root;for(a=a.getNextSourceNode(b,null,d);!h(a);)a=a.getNextSourceNode(b,null,d);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new a(this)}})();
CKEDITOR.command=function(a,d){this.uiItems=[];this.exec=function(b){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed())return!1;this.editorFocus&amp;&amp;a.focus();return!1===this.fire(&quot;exec&quot;)?!0:!1!==d.exec.call(this,a,b)};this.refresh=function(a,b){if(!this.readOnly&amp;&amp;a.readOnly)return!0;if(this.context&amp;&amp;!b.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&amp;&amp;!this.modes[a.mode]&amp;&amp;this.disable();return!1===this.fire(&quot;refresh&quot;,
{editor:a,path:b})?!0:d.refresh&amp;&amp;!1!==d.refresh.apply(this,arguments)};var b;this.checkAllowed=function(c){return c||&quot;boolean&quot;!=typeof b?b=a.activeFilter.checkFeature(this):b};CKEDITOR.tools.extend(this,d,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!d.context,state:CKEDITOR.TRISTATE_DISABLED});CKEDITOR.event.call(this)};
CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.checkAllowed()&amp;&amp;this.setState(this.preserveState&amp;&amp;&quot;undefined&quot;!=typeof this.previousState?this.previousState:CKEDITOR.TRISTATE_OFF)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)},setState:function(a){if(this.state==a||a!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;!this.checkAllowed())return!1;this.previousState=this.state;this.state=a;this.fire(&quot;state&quot;);return!0},toggleState:function(){this.state==CKEDITOR.TRISTATE_OFF?
this.setState(CKEDITOR.TRISTATE_ON):this.state==CKEDITOR.TRISTATE_ON&amp;&amp;this.setState(CKEDITOR.TRISTATE_OFF)}};CKEDITOR.event.implementOn(CKEDITOR.command.prototype);CKEDITOR.ENTER_P=1;CKEDITOR.ENTER_BR=2;CKEDITOR.ENTER_DIV=3;
CKEDITOR.config={customConfig:&quot;config.js&quot;,autoUpdateElement:!0,language:&quot;&quot;,defaultLanguage:&quot;en&quot;,contentsLangDirection:&quot;&quot;,enterMode:CKEDITOR.ENTER_P,forceEnterMode:!1,shiftEnterMode:CKEDITOR.ENTER_BR,docType:&quot;\x3c!DOCTYPE html\x3e&quot;,bodyId:&quot;&quot;,bodyClass:&quot;&quot;,fullPage:!1,height:200,contentsCss:CKEDITOR.getUrl(&quot;contents.css&quot;),extraPlugins:&quot;&quot;,removePlugins:&quot;&quot;,protectedSource:[],tabIndex:0,width:&quot;&quot;,baseFloatZIndex:1E4,blockedKeystrokes:[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85]};
(function(){function a(a,b,c,d,e){var f,m;a=[];for(f in b){m=b[f];m=&quot;boolean&quot;==typeof m?{}:&quot;function&quot;==typeof m?{match:m}:D(m);&quot;$&quot;!=f.charAt(0)&amp;&amp;(m.elements=f);c&amp;&amp;(m.featureName=c.toLowerCase());var q=m;q.elements=k(q.elements,/\s+/)||null;q.propertiesOnly=q.propertiesOnly||!0===q.elements;var r=/\s*,\s*/,B=void 0;for(B in S){q[B]=k(q[B],r)||null;var h=q,p=R[B],n=k(q[R[B]],r),g=q[B],v=[],G=!0,N=void 0;n?G=!1:n={};for(N in g)&quot;!&quot;==N.charAt(0)&amp;&amp;(N=N.slice(1),v.push(N),n[N]=!0,G=!1);for(;N=v.pop();)g[N]=
g[&quot;!&quot;+N],delete g[&quot;!&quot;+N];h[p]=(G?!1:n)||null}q.match=q.match||null;d.push(m);a.push(m)}b=e.elements;e=e.generic;var C;c=0;for(d=a.length;c&lt;d;++c){f=D(a[c]);m=!0===f.classes||!0===f.styles||!0===f.attributes;q=f;B=p=r=void 0;for(r in S)q[r]=L(q[r]);h=!0;for(B in R){r=R[B];p=q[r];n=[];g=void 0;for(g in p)-1&lt;g.indexOf(&quot;*&quot;)?n.push(new RegExp(&quot;^&quot;+g.replace(/\*/g,&quot;.*&quot;)+&quot;$&quot;)):n.push(g);p=n;p.length&amp;&amp;(q[r]=p,h=!1)}q.nothingRequired=h;q.noProperties=!(q.attributes||q.classes||q.styles);if(!0===f.elements||
null===f.elements)e[m?&quot;unshift&quot;:&quot;push&quot;](f);else for(C in q=f.elements,delete f.elements,q)if(b[C])b[C][m?&quot;unshift&quot;:&quot;push&quot;](f);else b[C]=[f]}}function d(a,c,d,e){if(!a.match||a.match(c))if(e||g(a,c))if(a.propertiesOnly||(d.valid=!0),d.allAttributes||(d.allAttributes=b(a.attributes,c.attributes,d.validAttributes)),d.allStyles||(d.allStyles=b(a.styles,c.styles,d.validStyles)),!d.allClasses){a=a.classes;c=c.classes;e=d.validClasses;if(a)if(!0===a)a=!0;else{for(var f=0,m=c.length,q;f&lt;m;++f)q=c[f],e[q]||
(e[q]=a(q));a=!1}else a=!1;d.allClasses=a}}function b(a,b,c){if(!a)return!1;if(!0===a)return!0;for(var d in b)c[d]||(c[d]=a(d));return!1}function c(a,b,c){if(!a.match||a.match(b)){if(a.noProperties)return!1;c.hadInvalidAttribute=f(a.attributes,b.attributes)||c.hadInvalidAttribute;c.hadInvalidStyle=f(a.styles,b.styles)||c.hadInvalidStyle;a=a.classes;b=b.classes;if(a){for(var d=!1,e=!0===a,m=b.length;m--;)if(e||a(b[m]))b.splice(m,1),d=!0;a=d}else a=!1;c.hadInvalidClass=a||c.hadInvalidClass}}function f(a,
b){if(!a)return!1;var c=!1,d=!0===a,e;for(e in b)if(d||a(e))delete b[e],c=!0;return c}function h(a,b,c){if(a.disabled||a.customConfig&amp;&amp;!c||!b)return!1;a._.cachedChecks={};return!0}function k(a,b){if(!a)return!1;if(!0===a)return a;if(&quot;string&quot;==typeof a)return a=B(a),&quot;*&quot;==a?!0:CKEDITOR.tools.convertArrayToObject(a.split(b));if(CKEDITOR.tools.isArray(a))return a.length?CKEDITOR.tools.convertArrayToObject(a):!1;var c={},d=0,e;for(e in a)c[e]=a[e],d++;return d?c:!1}function g(a,b){if(a.nothingRequired)return!0;
var c,d,e,f;if(e=a.requiredClasses)for(f=b.classes,c=0;c&lt;e.length;++c)if(d=e[c],&quot;string&quot;==typeof d){if(-1==CKEDITOR.tools.indexOf(f,d))return!1}else if(!CKEDITOR.tools.checkIfAnyArrayItemMatches(f,d))return!1;return l(b.styles,a.requiredStyles)&amp;&amp;l(b.attributes,a.requiredAttributes)}function l(a,b){if(!b)return!0;for(var c=0,d;c&lt;b.length;++c)if(d=b[c],&quot;string&quot;==typeof d){if(!(d in a))return!1}else if(!CKEDITOR.tools.checkIfAnyObjectPropertyMatches(a,d))return!1;return!0}function u(a){if(!a)return{};
a=a.split(/\s*,\s*/).sort();for(var b={};a.length;)b[a.shift()]=&quot;cke-test&quot;;return b}function e(a){var b,c,d,e,f={},m=1;for(a=B(a);b=a.match(p);)(c=b[2])?(d=x(c,&quot;styles&quot;),e=x(c,&quot;attrs&quot;),c=x(c,&quot;classes&quot;)):d=e=c=null,f[&quot;$&quot;+m++]={elements:b[1],classes:c,styles:d,attributes:e},a=a.slice(b[0].length);return f}function x(a,b){var c=a.match(N[b]);return c?B(c[1]):null}function w(a){var b=a.styleBackup=a.attributes.style,c=a.classBackup=a.attributes[&quot;class&quot;];a.styles||(a.styles=CKEDITOR.tools.parseCssText(b||
&quot;&quot;,1));a.classes||(a.classes=c?c.split(/\s+/):[])}function z(a,b,e,f){var r=0,B;f.toHtml&amp;&amp;(b.name=b.name.replace(O,&quot;$1&quot;));if(f.doCallbacks&amp;&amp;a.elementCallbacks){a:{B=a.elementCallbacks;for(var p=0,h=B.length,g;p&lt;h;++p)if(g=B[p](b)){B=g;break a}B=void 0}if(B)return B}if(f.doTransform&amp;&amp;(B=a._.transformations[b.name])){w(b);for(p=0;p&lt;B.length;++p)m(a,b,B[p]);t(b)}if(f.doFilter){a:{p=b.name;h=a._;a=h.allowedRules.elements[p];B=h.allowedRules.generic;p=h.disallowedRules.elements[p];h=h.disallowedRules.generic;
g=f.skipRequired;var k={valid:!1,validAttributes:{},validClasses:{},validStyles:{},allAttributes:!1,allClasses:!1,allStyles:!1,hadInvalidAttribute:!1,hadInvalidClass:!1,hadInvalidStyle:!1},v,D;if(a||B){w(b);if(p)for(v=0,D=p.length;v&lt;D;++v)if(!1===c(p[v],b,k)){a=null;break a}if(h)for(v=0,D=h.length;v&lt;D;++v)c(h[v],b,k);if(a)for(v=0,D=a.length;v&lt;D;++v)d(a[v],b,k,g);if(B)for(v=0,D=B.length;v&lt;D;++v)d(B[v],b,k,g);a=k}else a=null}if(!a||!a.valid)return e.push(b),1;D=a.validAttributes;var N=a.validStyles;
B=a.validClasses;var p=b.attributes,G=b.styles,h=b.classes;g=b.classBackup;var C=b.styleBackup,A,K,l=[],k=[],M=/^data-cke-/;v=!1;delete p.style;delete p[&quot;class&quot;];delete b.classBackup;delete b.styleBackup;if(!a.allAttributes)for(A in p)D[A]||(M.test(A)?A==(K=A.replace(/^data-cke-saved-/,&quot;&quot;))||D[K]||(delete p[A],v=!0):(delete p[A],v=!0));if(!a.allStyles||a.hadInvalidStyle){for(A in G)a.allStyles||N[A]?l.push(A+&quot;:&quot;+G[A]):v=!0;l.length&amp;&amp;(p.style=l.sort().join(&quot;; &quot;))}else C&amp;&amp;(p.style=C);if(!a.allClasses||
a.hadInvalidClass){for(A=0;A&lt;h.length;++A)(a.allClasses||B[h[A]])&amp;&amp;k.push(h[A]);k.length&amp;&amp;(p[&quot;class&quot;]=k.sort().join(&quot; &quot;));g&amp;&amp;k.length&lt;g.split(/\s+/).length&amp;&amp;(v=!0)}else g&amp;&amp;(p[&quot;class&quot;]=g);v&amp;&amp;(r=1);if(!f.skipFinalValidation&amp;&amp;!n(b))return e.push(b),1}f.toHtml&amp;&amp;(b.name=b.name.replace(q,&quot;cke:$1&quot;));return r}function H(a){var b=[],c;for(c in a)-1&lt;c.indexOf(&quot;*&quot;)&amp;&amp;b.push(c.replace(/\*/g,&quot;.*&quot;));return b.length?new RegExp(&quot;^(?:&quot;+b.join(&quot;|&quot;)+&quot;)$&quot;):null}function t(a){var b=a.attributes,c;delete b.style;delete b[&quot;class&quot;];
if(c=CKEDITOR.tools.writeCssText(a.styles,!0))b.style=c;a.classes.length&amp;&amp;(b[&quot;class&quot;]=a.classes.sort().join(&quot; &quot;))}function n(a){switch(a.name){case &quot;a&quot;:if(!(a.children.length||a.attributes.name||a.attributes.id))return!1;break;case &quot;img&quot;:if(!a.attributes.src)return!1}return!0}function L(a){if(!a)return!1;if(!0===a)return!0;var b=H(a);return function(c){return c in a||b&amp;&amp;c.match(b)}}function y(){return new CKEDITOR.htmlParser.element(&quot;br&quot;)}function F(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;br&quot;==
a.name||r.$block[a.name])}function I(a,b,c){var d=a.name;if(r.$empty[d]||!a.children.length)&quot;hr&quot;==d&amp;&amp;&quot;br&quot;==b?a.replaceWith(y()):(a.parent&amp;&amp;c.push({check:&quot;it&quot;,el:a.parent}),a.remove());else if(r.$block[d]||&quot;tr&quot;==d)if(&quot;br&quot;==b)a.previous&amp;&amp;!F(a.previous)&amp;&amp;(b=y(),b.insertBefore(a)),a.next&amp;&amp;!F(a.next)&amp;&amp;(b=y(),b.insertAfter(a)),a.replaceWithChildren();else{var d=a.children,e;b:{e=r[b];for(var f=0,m=d.length,q;f&lt;m;++f)if(q=d[f],q.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!e[q.name]){e=!1;break b}e=!0}if(e)a.name=b,a.attributes=
{},c.push({check:&quot;parent-down&quot;,el:a});else{e=a.parent;for(var f=e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||&quot;body&quot;==e.name,p,B,m=d.length;0&lt;m;)q=d[--m],f&amp;&amp;(q.type==CKEDITOR.NODE_TEXT||q.type==CKEDITOR.NODE_ELEMENT&amp;&amp;r.$inline[q.name])?(p||(p=new CKEDITOR.htmlParser.element(b),p.insertAfter(a),c.push({check:&quot;parent-down&quot;,el:p})),p.add(q,0)):(p=null,B=r[e.name]||r.span,q.insertAfter(a),e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||q.type!=CKEDITOR.NODE_ELEMENT||B[q.name]||c.push({check:&quot;el-up&quot;,el:q}));a.remove()}}else d in
{style:1,script:1}?a.remove():(a.parent&amp;&amp;c.push({check:&quot;it&quot;,el:a.parent}),a.replaceWithChildren())}function m(a,b,c){var d,e;for(d=0;d&lt;c.length;++d)if(e=c[d],!(e.check&amp;&amp;!a.check(e.check,!1)||e.left&amp;&amp;!e.left(b))){e.right(b,G);break}}function C(a,b){var c=b.getDefinition(),d=c.attributes,e=c.styles,f,m,q,p;if(a.name!=c.element)return!1;for(f in d)if(&quot;class&quot;==f)for(c=d[f].split(/\s+/),q=a.classes.join(&quot;|&quot;);p=c.pop();){if(-1==q.indexOf(p))return!1}else if(a.attributes[f]!=d[f])return!1;for(m in e)if(a.styles[m]!=
e[m])return!1;return!0}function K(a,b){var c,d;&quot;string&quot;==typeof a?c=a:a instanceof CKEDITOR.style?d=a:(c=a[0],d=a[1]);return[{element:c,left:d,right:function(a,c){c.transform(a,b)}}]}function A(a){return function(b){return C(b,a)}}function M(a){return function(b,c){c[a](b)}}var r=CKEDITOR.dtd,D=CKEDITOR.tools.copy,B=CKEDITOR.tools.trim,v=[&quot;&quot;,&quot;p&quot;,&quot;br&quot;,&quot;div&quot;];CKEDITOR.FILTER_SKIP_TREE=2;CKEDITOR.filter=function(a,b){this.allowedContent=[];this.disallowedContent=[];this.elementCallbacks=null;this.disabled=
!1;this.editor=null;this.id=CKEDITOR.tools.getNextNumber();this._={allowedRules:{elements:{},generic:[]},disallowedRules:{elements:{},generic:[]},transformations:{},cachedTests:{},cachedChecks:{}};CKEDITOR.filter.instances[this.id]=this;var c=this.editor=a instanceof CKEDITOR.editor?a:null;if(c&amp;&amp;!b){this.customConfig=!0;var d=c.config.allowedContent;!0===d?this.disabled=!0:(d||(this.customConfig=!1),this.allow(d,&quot;config&quot;,1),this.allow(c.config.extraAllowedContent,&quot;extra&quot;,1),this.allow(v[c.enterMode]+
&quot; &quot;+v[c.shiftEnterMode],&quot;default&quot;,1),this.disallow(c.config.disallowedContent))}else this.customConfig=!1,this.allow(b||a,&quot;default&quot;,1)};CKEDITOR.filter.instances={};CKEDITOR.filter.prototype={allow:function(b,c,d){if(!h(this,b,d))return!1;var f,m;if(&quot;string&quot;==typeof b)b=e(b);else if(b instanceof CKEDITOR.style){if(b.toAllowedContentRules)return this.allow(b.toAllowedContentRules(this.editor),c,d);f=b.getDefinition();b={};d=f.attributes;b[f.element]=f={styles:f.styles,requiredStyles:f.styles&amp;&amp;CKEDITOR.tools.object.keys(f.styles)};
d&amp;&amp;(d=D(d),f.classes=d[&quot;class&quot;]?d[&quot;class&quot;].split(/\s+/):null,f.requiredClasses=f.classes,delete d[&quot;class&quot;],f.attributes=d,f.requiredAttributes=d&amp;&amp;CKEDITOR.tools.object.keys(d))}else if(CKEDITOR.tools.isArray(b)){for(f=0;f&lt;b.length;++f)m=this.allow(b[f],c,d);return m}a(this,b,c,this.allowedContent,this._.allowedRules);return!0},applyTo:function(a,b,c,d){if(this.disabled)return!1;var e=this,f=[],m=this.editor&amp;&amp;this.editor.config.protectedSource,q,p=!1,B={doFilter:!c,doTransform:!0,doCallbacks:!0,toHtml:b};
a.forEach(function(a){if(a.type==CKEDITOR.NODE_ELEMENT){if(&quot;off&quot;==a.attributes[&quot;data-cke-filter&quot;])return!1;if(!b||&quot;span&quot;!=a.name||!~CKEDITOR.tools.object.keys(a.attributes).join(&quot;|&quot;).indexOf(&quot;data-cke-&quot;))if(q=z(e,a,f,B),q&amp;1)p=!0;else if(q&amp;2)return!1}else if(a.type==CKEDITOR.NODE_COMMENT&amp;&amp;a.value.match(/^\{cke_protected\}(?!\{C\})/)){var c;a:{var d=decodeURIComponent(a.value.replace(/^\{cke_protected\}/,&quot;&quot;));c=[];var h,r,n;if(m)for(r=0;r&lt;m.length;++r)if((n=d.match(m[r]))&amp;&amp;n[0].length==d.length){c=
!0;break a}d=CKEDITOR.htmlParser.fragment.fromHtml(d);1==d.children.length&amp;&amp;(h=d.children[0]).type==CKEDITOR.NODE_ELEMENT&amp;&amp;z(e,h,c,B);c=!c.length}c||f.push(a)}},null,!0);f.length&amp;&amp;(p=!0);var h;a=[];d=v[d||(this.editor?this.editor.enterMode:CKEDITOR.ENTER_P)];for(var g;c=f.pop();)c.type==CKEDITOR.NODE_ELEMENT?I(c,d,a):c.remove();for(;h=a.pop();)if(c=h.el,c.parent)switch(g=r[c.parent.name]||r.span,h.check){case &quot;it&quot;:r.$removeEmpty[c.name]&amp;&amp;!c.children.length?I(c,d,a):n(c)||I(c,d,a);break;case &quot;el-up&quot;:c.parent.type==
CKEDITOR.NODE_DOCUMENT_FRAGMENT||g[c.name]||I(c,d,a);break;case &quot;parent-down&quot;:c.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||g[c.name]||I(c.parent,d,a)}return p},checkFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&amp;&amp;(a=a.toFeature(this.editor));return!a.requiredContent||this.check(a.requiredContent)},disable:function(){this.disabled=!0},disallow:function(b){if(!h(this,b,!0))return!1;&quot;string&quot;==typeof b&amp;&amp;(b=e(b));a(this,b,null,this.disallowedContent,this._.disallowedRules);return!0},
addContentForms:function(a){if(!this.disabled&amp;&amp;a){var b,c,d=[],e;for(b=0;b&lt;a.length&amp;&amp;!e;++b)c=a[b],(&quot;string&quot;==typeof c||c instanceof CKEDITOR.style)&amp;&amp;this.check(c)&amp;&amp;(e=c);if(e){for(b=0;b&lt;a.length;++b)d.push(K(a[b],e));this.addTransformations(d)}}},addElementCallback:function(a){this.elementCallbacks||(this.elementCallbacks=[]);this.elementCallbacks.push(a)},addFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&amp;&amp;(a=a.toFeature(this.editor));this.allow(a.allowedContent,a.name);this.addTransformations(a.contentTransformations);
this.addContentForms(a.contentForms);return a.requiredContent&amp;&amp;(this.customConfig||this.disallowedContent.length)?this.check(a.requiredContent):!0},addTransformations:function(a){var b,c;if(!this.disabled&amp;&amp;a){var d=this._.transformations,e;for(e=0;e&lt;a.length;++e){b=a[e];var f=void 0,m=void 0,q=void 0,p=void 0,B=void 0,h=void 0;c=[];for(m=0;m&lt;b.length;++m)q=b[m],&quot;string&quot;==typeof q?(q=q.split(/\s*:\s*/),p=q[0],B=null,h=q[1]):(p=q.check,B=q.left,h=q.right),f||(f=q,f=f.element?f.element:p?p.match(/^([a-z0-9]+)/i)[0]:
f.left.getDefinition().element),B instanceof CKEDITOR.style&amp;&amp;(B=A(B)),c.push({check:p==f?null:p,left:B,right:&quot;string&quot;==typeof h?M(h):h});b=f;d[b]||(d[b]=[]);d[b].push(c)}}},check:function(a,b,c){if(this.disabled)return!0;if(CKEDITOR.tools.isArray(a)){for(var d=a.length;d--;)if(this.check(a[d],b,c))return!0;return!1}var f,q;if(&quot;string&quot;==typeof a){q=a+&quot;\x3c&quot;+(!1===b?&quot;0&quot;:&quot;1&quot;)+(c?&quot;1&quot;:&quot;0&quot;)+&quot;\x3e&quot;;if(q in this._.cachedChecks)return this._.cachedChecks[q];f=e(a).$1;var p=f.styles,d=f.classes;f.name=f.elements;
f.classes=d=d?d.split(/\s*,\s*/):[];f.styles=u(p);f.attributes=u(f.attributes);f.children=[];d.length&amp;&amp;(f.attributes[&quot;class&quot;]=d.join(&quot; &quot;));p&amp;&amp;(f.attributes.style=CKEDITOR.tools.writeCssText(f.styles))}else f=a.getDefinition(),p=f.styles,d=f.attributes||{},p&amp;&amp;!CKEDITOR.tools.isEmpty(p)?(p=D(p),d.style=CKEDITOR.tools.writeCssText(p,!0)):p={},f={name:f.element,attributes:d,classes:d[&quot;class&quot;]?d[&quot;class&quot;].split(/\s+/):[],styles:p,children:[]};var p=CKEDITOR.tools.clone(f),B=[],h;if(!1!==b&amp;&amp;(h=this._.transformations[f.name])){for(d=
0;d&lt;h.length;++d)m(this,f,h[d]);t(f)}z(this,p,B,{doFilter:!0,doTransform:!1!==b,skipRequired:!c,skipFinalValidation:!c});0&lt;B.length?c=!1:((b=f.attributes[&quot;class&quot;])&amp;&amp;(f.attributes[&quot;class&quot;]=f.attributes[&quot;class&quot;].split(&quot; &quot;).sort().join(&quot; &quot;)),c=CKEDITOR.tools.objectCompare(f.attributes,p.attributes,!0),b&amp;&amp;(f.attributes[&quot;class&quot;]=b));&quot;string&quot;==typeof a&amp;&amp;(this._.cachedChecks[q]=c);return c},getAllowedEnterMode:function(){var a=[&quot;p&quot;,&quot;div&quot;,&quot;br&quot;],b={p:CKEDITOR.ENTER_P,div:CKEDITOR.ENTER_DIV,br:CKEDITOR.ENTER_BR};
return function(c,d){var f=a.slice(),e;if(this.check(v[c]))return c;for(d||(f=f.reverse());e=f.pop();)if(this.check(e))return b[e];return CKEDITOR.ENTER_BR}}(),clone:function(){var a=new CKEDITOR.filter,b=CKEDITOR.tools.clone;a.allowedContent=b(this.allowedContent);a._.allowedRules=b(this._.allowedRules);a.disallowedContent=b(this.disallowedContent);a._.disallowedRules=b(this._.disallowedRules);a._.transformations=b(this._.transformations);a.disabled=this.disabled;a.editor=this.editor;return a},destroy:function(){delete CKEDITOR.filter.instances[this.id];
delete this._;delete this.allowedContent;delete this.disallowedContent}};var S={styles:1,attributes:1,classes:1},R={styles:&quot;requiredStyles&quot;,attributes:&quot;requiredAttributes&quot;,classes:&quot;requiredClasses&quot;},p=/^([a-z0-9\-*\s]+)((?:\s*\{[!\w\-,\s\*]+\}\s*|\s*\[[!\w\-,\s\*]+\]\s*|\s*\([!\w\-,\s\*]+\)\s*){0,3})(?:;\s*|$)/i,N={styles:/{([^}]+)}/,attrs:/\[([^\]]+)\]/,classes:/\(([^\)]+)\)/},O=/^cke:(object|embed|param)$/,q=/^(object|embed|param)$/,G;G=CKEDITOR.filter.transformationsTools={sizeToStyle:function(a){this.lengthToStyle(a,
&quot;width&quot;);this.lengthToStyle(a,&quot;height&quot;)},sizeToAttribute:function(a){this.lengthToAttribute(a,&quot;width&quot;);this.lengthToAttribute(a,&quot;height&quot;)},lengthToStyle:function(a,b,c){c=c||b;if(!(c in a.styles)){var d=a.attributes[b];d&amp;&amp;(/^\d+$/.test(d)&amp;&amp;(d+=&quot;px&quot;),a.styles[c]=d)}delete a.attributes[b]},lengthToAttribute:function(a,b,c){c=c||b;if(!(c in a.attributes)){var d=a.styles[b],f=d&amp;&amp;d.match(/^(\d+)(?:\.\d*)?px$/);f?a.attributes[c]=f[1]:&quot;cke-test&quot;==d&amp;&amp;(a.attributes[c]=&quot;cke-test&quot;)}delete a.styles[b]},alignmentToStyle:function(a){if(!(&quot;float&quot;in
a.styles)){var b=a.attributes.align;if(&quot;left&quot;==b||&quot;right&quot;==b)a.styles[&quot;float&quot;]=b}delete a.attributes.align},alignmentToAttribute:function(a){if(!(&quot;align&quot;in a.attributes)){var b=a.styles[&quot;float&quot;];if(&quot;left&quot;==b||&quot;right&quot;==b)a.attributes.align=b}delete a.styles[&quot;float&quot;]},splitBorderShorthand:function(a){if(a.styles.border){var b=CKEDITOR.tools.style.parse.border(a.styles.border);b.color&amp;&amp;(a.styles[&quot;border-color&quot;]=b.color);b.style&amp;&amp;(a.styles[&quot;border-style&quot;]=b.style);b.width&amp;&amp;(a.styles[&quot;border-width&quot;]=b.width);
delete a.styles.border}},listTypeToStyle:function(a){if(a.attributes.type)switch(a.attributes.type){case &quot;a&quot;:a.styles[&quot;list-style-type&quot;]=&quot;lower-alpha&quot;;break;case &quot;A&quot;:a.styles[&quot;list-style-type&quot;]=&quot;upper-alpha&quot;;break;case &quot;i&quot;:a.styles[&quot;list-style-type&quot;]=&quot;lower-roman&quot;;break;case &quot;I&quot;:a.styles[&quot;list-style-type&quot;]=&quot;upper-roman&quot;;break;case &quot;1&quot;:a.styles[&quot;list-style-type&quot;]=&quot;decimal&quot;;break;default:a.styles[&quot;list-style-type&quot;]=a.attributes.type}},splitMarginShorthand:function(a){function b(d){a.styles[&quot;margin-top&quot;]=
c[d[0]];a.styles[&quot;margin-right&quot;]=c[d[1]];a.styles[&quot;margin-bottom&quot;]=c[d[2]];a.styles[&quot;margin-left&quot;]=c[d[3]]}if(a.styles.margin){var c=a.styles.margin.match(/(\-?[\.\d]+\w+)/g)||[&quot;0px&quot;];switch(c.length){case 1:b([0,0,0,0]);break;case 2:b([0,1,0,1]);break;case 3:b([0,1,2,1]);break;case 4:b([0,1,2,3])}delete a.styles.margin}},matchesStyle:C,transform:function(a,b){if(&quot;string&quot;==typeof b)a.name=b;else{var c=b.getDefinition(),d=c.styles,f=c.attributes,e,m,q,p;a.name=c.element;for(e in f)if(&quot;class&quot;==e)for(c=
a.classes.join(&quot;|&quot;),q=f[e].split(/\s+/);p=q.pop();)-1==c.indexOf(p)&amp;&amp;a.classes.push(p);else a.attributes[e]=f[e];for(m in d)a.styles[m]=d[m]}}}})();
(function(){CKEDITOR.focusManager=function(a){if(a.focusManager)return a.focusManager;this.hasFocus=!1;this.currentActive=null;this._={editor:a};return this};CKEDITOR.focusManager._={blurDelay:200};CKEDITOR.focusManager.prototype={focus:function(a){this._.timer&amp;&amp;clearTimeout(this._.timer);a&amp;&amp;(this.currentActive=a);this.hasFocus||this._.locked||((a=CKEDITOR.currentInstance)&amp;&amp;a.focusManager.blur(1),this.hasFocus=!0,(a=this._.editor.container)&amp;&amp;a.addClass(&quot;cke_focus&quot;),this._.editor.fire(&quot;focus&quot;))},lock:function(){this._.locked=
1},unlock:function(){delete this._.locked},blur:function(a){function d(){if(this.hasFocus){this.hasFocus=!1;var a=this._.editor.container;a&amp;&amp;a.removeClass(&quot;cke_focus&quot;);this._.editor.fire(&quot;blur&quot;)}}if(!this._.locked){this._.timer&amp;&amp;clearTimeout(this._.timer);var b=CKEDITOR.focusManager._.blurDelay;a||!b?d.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer;d.call(this)},b,this)}},add:function(a,d){var b=a.getCustomData(&quot;focusmanager&quot;);if(!b||b!=this){b&amp;&amp;b.remove(a);var b=
&quot;focus&quot;,c=&quot;blur&quot;;d&amp;&amp;(CKEDITOR.env.ie?(b=&quot;focusin&quot;,c=&quot;focusout&quot;):CKEDITOR.event.useCapture=1);var f={blur:function(){a.equals(this.currentActive)&amp;&amp;this.blur()},focus:function(){this.focus(a)}};a.on(b,f.focus,this);a.on(c,f.blur,this);d&amp;&amp;(CKEDITOR.event.useCapture=0);a.setCustomData(&quot;focusmanager&quot;,this);a.setCustomData(&quot;focusmanager_handlers&quot;,f)}},remove:function(a){a.removeCustomData(&quot;focusmanager&quot;);var d=a.removeCustomData(&quot;focusmanager_handlers&quot;);a.removeListener(&quot;blur&quot;,d.blur);a.removeListener(&quot;focus&quot;,
d.focus)}}})();CKEDITOR.keystrokeHandler=function(a){if(a.keystrokeHandler)return a.keystrokeHandler;this.keystrokes={};this.blockedKeystrokes={};this._={editor:a};return this};
(function(){var a,d=function(b){b=b.data;var d=b.getKeystroke(),h=this.keystrokes[d],k=this._.editor;a=!1===k.fire(&quot;key&quot;,{keyCode:d,domEvent:b});a||(h&amp;&amp;(a=!1!==k.execCommand(h,{from:&quot;keystrokeHandler&quot;})),a||(a=!!this.blockedKeystrokes[d]));a&amp;&amp;b.preventDefault(!0);return!a},b=function(b){a&amp;&amp;(a=!1,b.data.preventDefault(!0))};CKEDITOR.keystrokeHandler.prototype={attach:function(a){a.on(&quot;keydown&quot;,d,this);if(CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac)a.on(&quot;keypress&quot;,b,this)}}})();
(function(){CKEDITOR.lang={languages:{af:1,ar:1,az:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,&quot;en-au&quot;:1,&quot;en-ca&quot;:1,&quot;en-gb&quot;:1,en:1,eo:1,es:1,&quot;es-mx&quot;:1,et:1,eu:1,fa:1,fi:1,fo:1,&quot;fr-ca&quot;:1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,is:1,it:1,ja:1,ka:1,km:1,ko:1,ku:1,lt:1,lv:1,mk:1,mn:1,ms:1,nb:1,nl:1,no:1,oc:1,pl:1,&quot;pt-br&quot;:1,pt:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,&quot;sr-latn&quot;:1,sr:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,&quot;zh-cn&quot;:1,zh:1},rtl:{ar:1,fa:1,he:1,ku:1,ug:1},load:function(a,d,b){a&amp;&amp;CKEDITOR.lang.languages[a]||
(a=this.detect(d,a));var c=this;d=function(){c[a].dir=c.rtl[a]?&quot;rtl&quot;:&quot;ltr&quot;;b(a,c[a])};this[a]?d():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(&quot;lang/&quot;+a+&quot;.js&quot;),d,this)},detect:function(a,d){var b=this.languages;d=d||navigator.userLanguage||navigator.language||a;var c=d.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),f=c[1],c=c[2];b[f+&quot;-&quot;+c]?f=f+&quot;-&quot;+c:b[f]||(f=null);CKEDITOR.lang.detect=f?function(){return f}:function(a){return a};return f||a}}})();
CKEDITOR.scriptLoader=function(){var a={},d={};return{load:function(b,c,f,h){var k=&quot;string&quot;==typeof b;k&amp;&amp;(b=[b]);f||(f=CKEDITOR);var g=b.length,l=[],u=[],e=function(a){c&amp;&amp;(k?c.call(f,a):c.call(f,l,u))};if(0===g)e(!0);else{var x=function(a,b){(b?l:u).push(a);0&gt;=--g&amp;&amp;(h&amp;&amp;CKEDITOR.document.getDocumentElement().removeStyle(&quot;cursor&quot;),e(b))},w=function(b,c){a[b]=1;var f=d[b];delete d[b];for(var e=0;e&lt;f.length;e++)f[e](b,c)},z=function(b){if(a[b])x(b,!0);else{var f=d[b]||(d[b]=[]);f.push(x);if(!(1&lt;f.length)){var e=
new CKEDITOR.dom.element(&quot;script&quot;);e.setAttributes({type:&quot;text/javascript&quot;,src:b});c&amp;&amp;(CKEDITOR.env.ie&amp;&amp;(8&gt;=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?e.$.onreadystatechange=function(){if(&quot;loaded&quot;==e.$.readyState||&quot;complete&quot;==e.$.readyState)e.$.onreadystatechange=null,w(b,!0)}:(e.$.onload=function(){setTimeout(function(){e.$.onload=null;e.$.onerror=null;w(b,!0)},0)},e.$.onerror=function(){e.$.onload=null;e.$.onerror=null;w(b,!1)}));e.appendTo(CKEDITOR.document.getHead())}}};h&amp;&amp;CKEDITOR.document.getDocumentElement().setStyle(&quot;cursor&quot;,
&quot;wait&quot;);for(var H=0;H&lt;g;H++)z(b[H])}},queue:function(){function a(){var b;(b=c[0])&amp;&amp;this.load(b.scriptUrl,b.callback,CKEDITOR,0)}var c=[];return function(d,h){var k=this;c.push({scriptUrl:d,callback:function(){h&amp;&amp;h.apply(this,arguments);c.shift();a.call(k)}});1==c.length&amp;&amp;a.call(this)}}()}}();CKEDITOR.resourceManager=function(a,d){this.basePath=a;this.fileName=d;this.registered={};this.loaded={};this.externals={};this._={waitingList:{}}};
CKEDITOR.resourceManager.prototype={add:function(a,d){if(this.registered[a])throw Error(&#039;[CKEDITOR.resourceManager.add] The resource name &quot;&#039;+a+&#039;&quot; is already registered.&#039;);var b=this.registered[a]=d||{};b.name=a;b.path=this.getPath(a);CKEDITOR.fire(a+CKEDITOR.tools.capitalize(this.fileName)+&quot;Ready&quot;,b);return this.get(a)},get:function(a){return this.registered[a]||null},getPath:function(a){var d=this.externals[a];return CKEDITOR.getUrl(d&amp;&amp;d.dir||this.basePath+a+&quot;/&quot;)},getFilePath:function(a){var d=this.externals[a];
return CKEDITOR.getUrl(this.getPath(a)+(d?d.file:this.fileName+&quot;.js&quot;))},addExternal:function(a,d,b){b||(d=d.replace(/[^\/]+$/,function(a){b=a;return&quot;&quot;}));b=b||this.fileName+&quot;.js&quot;;a=a.split(&quot;,&quot;);for(var c=0;c&lt;a.length;c++)this.externals[a[c]]={dir:d,file:b}},load:function(a,d,b){CKEDITOR.tools.isArray(a)||(a=a?[a]:[]);for(var c=this.loaded,f=this.registered,h=[],k={},g={},l=0;l&lt;a.length;l++){var u=a[l];if(u)if(c[u]||f[u])g[u]=this.get(u);else{var e=this.getFilePath(u);h.push(e);e in k||(k[e]=[]);k[e].push(u)}}CKEDITOR.scriptLoader.load(h,
function(a,e){if(e.length)throw Error(&#039;[CKEDITOR.resourceManager.load] Resource name &quot;&#039;+k[e[0]].join(&quot;,&quot;)+&#039;&quot; was not found at &quot;&#039;+e[0]+&#039;&quot;.&#039;);for(var f=0;f&lt;a.length;f++)for(var h=k[a[f]],l=0;l&lt;h.length;l++){var n=h[l];g[n]=this.get(n);c[n]=1}d.call(b,g)},this)}};CKEDITOR.plugins=new CKEDITOR.resourceManager(&quot;plugins/&quot;,&quot;plugin&quot;);
CKEDITOR.plugins.load=CKEDITOR.tools.override(CKEDITOR.plugins.load,function(a){var d={};return function(b,c,f){var h={},k=function(b){a.call(this,b,function(a){CKEDITOR.tools.extend(h,a);var b=[],e;for(e in a){var g=a[e],w=g&amp;&amp;g.requires;if(!d[e]){if(g.icons)for(var z=g.icons.split(&quot;,&quot;),H=z.length;H--;)CKEDITOR.skin.addIcon(z[H],g.path+&quot;icons/&quot;+(CKEDITOR.env.hidpi&amp;&amp;g.hidpi?&quot;hidpi/&quot;:&quot;&quot;)+z[H]+&quot;.png&quot;);g.isSupportedEnvironment=g.isSupportedEnvironment||function(){return!0};d[e]=1}if(w)for(w.split&amp;&amp;(w=
w.split(&quot;,&quot;)),g=0;g&lt;w.length;g++)h[w[g]]||b.push(w[g])}if(b.length)k.call(this,b);else{for(e in h)g=h[e],g.onLoad&amp;&amp;!g.onLoad._called&amp;&amp;(!1===g.onLoad()&amp;&amp;delete h[e],g.onLoad._called=1);c&amp;&amp;c.call(f||window,h)}},this)};k.call(this,b)}});CKEDITOR.plugins.setLang=function(a,d,b){var c=this.get(a);a=c.langEntries||(c.langEntries={});c=c.lang||(c.lang=[]);c.split&amp;&amp;(c=c.split(&quot;,&quot;));-1==CKEDITOR.tools.indexOf(c,d)&amp;&amp;c.push(d);a[d]=b};
CKEDITOR.ui=function(a){if(a.ui)return a.ui;this.items={};this.instances={};this.editor=a;this._={handlers:{}};return this};
CKEDITOR.ui.prototype={add:function(a,d,b){b.name=a.toLowerCase();var c=this.items[a]={type:d,command:b.command||null,args:Array.prototype.slice.call(arguments,2)};CKEDITOR.tools.extend(c,b)},get:function(a){return this.instances[a]},create:function(a){var d=this.items[a],b=d&amp;&amp;this._.handlers[d.type],c=d&amp;&amp;d.command&amp;&amp;this.editor.getCommand(d.command),b=b&amp;&amp;b.create.apply(this,d.args);this.instances[a]=b;c&amp;&amp;c.uiItems.push(b);b&amp;&amp;!b.type&amp;&amp;(b.type=d.type);return b},addHandler:function(a,d){this._.handlers[a]=
d},space:function(a){return CKEDITOR.document.getById(this.spaceId(a))},spaceId:function(a){return this.editor.id+&quot;_&quot;+a}};CKEDITOR.event.implementOn(CKEDITOR.ui);
(function(){function a(a,e,f){CKEDITOR.event.call(this);a=a&amp;&amp;CKEDITOR.tools.clone(a);if(void 0!==e){if(!(e instanceof CKEDITOR.dom.element))throw Error(&quot;Expect element of type CKEDITOR.dom.element.&quot;);if(!f)throw Error(&quot;One of the element modes must be specified.&quot;);if(CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;f==CKEDITOR.ELEMENT_MODE_INLINE)throw Error(&quot;Inline element mode is not supported on IE quirks.&quot;);if(!b(e,f))throw Error(&#039;The specified element mode is not supported on element: &quot;&#039;+e.getName()+&#039;&quot;.&#039;);
this.element=e;this.elementMode=f;this.name=this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO&amp;&amp;(e.getId()||e.getNameAtt())}else this.elementMode=CKEDITOR.ELEMENT_MODE_NONE;this._={};this.commands={};this.templates={};this.name=this.name||d();this.id=CKEDITOR.tools.getNextId();this.status=&quot;unloaded&quot;;this.config=CKEDITOR.tools.prototypedCopy(CKEDITOR.config);this.ui=new CKEDITOR.ui(this);this.focusManager=new CKEDITOR.focusManager(this);this.keystrokeHandler=new CKEDITOR.keystrokeHandler(this);this.on(&quot;readOnly&quot;,
c);this.on(&quot;selectionChange&quot;,function(a){h(this,a.data.path)});this.on(&quot;activeFilterChange&quot;,function(){h(this,this.elementPath(),!0)});this.on(&quot;mode&quot;,c);CKEDITOR.dom.selection.setupEditorOptimization(this);this.on(&quot;instanceReady&quot;,function(){if(this.config.startupFocus){if(&quot;end&quot;===this.config.startupFocus){var a=this.createRange();a.selectNodeContents(this.editable());a.shrink(CKEDITOR.SHRINK_ELEMENT,!0);a.collapse();this.getSelection().selectRanges([a])}this.focus()}});CKEDITOR.fire(&quot;instanceCreated&quot;,
null,this);CKEDITOR.add(this);CKEDITOR.tools.setTimeout(function(){this.isDestroyed()||this.isDetached()||g(this,a)},0,this)}function d(){do var a=&quot;editor&quot;+ ++H;while(CKEDITOR.instances[a]);return a}function b(a,b){return b==CKEDITOR.ELEMENT_MODE_INLINE?a.is(CKEDITOR.dtd.$editable)||a.is(&quot;textarea&quot;):b==CKEDITOR.ELEMENT_MODE_REPLACE?!a.is(CKEDITOR.dtd.$nonBodyContent):1}function c(){var a=this.commands,b;for(b in a)f(this,a[b])}function f(a,b){b[b.startDisabled?&quot;disable&quot;:a.readOnly&amp;&amp;!b.readOnly?&quot;disable&quot;:
b.modes[a.mode]?&quot;enable&quot;:&quot;disable&quot;]()}function h(a,b,c){if(b){var d,e,f=a.commands;for(e in f)d=f[e],(c||d.contextSensitive)&amp;&amp;d.refresh(a,b)}}function k(a){var b=a.config.customConfig;if(!b)return!1;var b=CKEDITOR.getUrl(b),c=t[b]||(t[b]={});c.fn?(c.fn.call(a,a.config),CKEDITOR.getUrl(a.config.customConfig)!=b&amp;&amp;k(a)||a.fireOnce(&quot;customConfigLoaded&quot;)):CKEDITOR.scriptLoader.queue(b,function(){c.fn=c.fn||CKEDITOR.editorConfig||function(){};k(a)});return!0}function g(a,b){a.on(&quot;customConfigLoaded&quot;,function(){if(b){if(b.on)for(var c in b.on)a.on(c,
b.on[c]);CKEDITOR.tools.extend(a.config,b,!0);delete a.config.on}c=a.config;a.readOnly=c.readOnly?!0:a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.is(&quot;textarea&quot;)?a.element.hasAttribute(&quot;disabled&quot;)||a.element.hasAttribute(&quot;readonly&quot;):a.element.isReadOnly():a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?a.element.hasAttribute(&quot;disabled&quot;)||a.element.hasAttribute(&quot;readonly&quot;):!1;a.blockless=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?!(a.element.is(&quot;textarea&quot;)||CKEDITOR.dtd[a.element.getName()].p):
!1;a.tabIndex=c.tabIndex||a.element&amp;&amp;a.element.getAttribute(&quot;tabindex&quot;)||0;a.activeEnterMode=a.enterMode=a.blockless?CKEDITOR.ENTER_BR:c.enterMode;a.activeShiftEnterMode=a.shiftEnterMode=a.blockless?CKEDITOR.ENTER_BR:c.shiftEnterMode;c.skin&amp;&amp;(CKEDITOR.skinName=c.skin);a.fireOnce(&quot;configLoaded&quot;);a.dataProcessor=new CKEDITOR.htmlDataProcessor(a);a.filter=a.activeFilter=new CKEDITOR.filter(a);l(a)});b&amp;&amp;null!=b.customConfig&amp;&amp;(a.config.customConfig=b.customConfig);k(a)||a.fireOnce(&quot;customConfigLoaded&quot;)}
function l(a){CKEDITOR.skin.loadPart(&quot;editor&quot;,function(){u(a)})}function u(a){CKEDITOR.lang.load(a.config.language,a.config.defaultLanguage,function(b,c){var d=a.config.title;a.langCode=b;a.lang=CKEDITOR.tools.prototypedCopy(c);a.title=&quot;string&quot;==typeof d||!1===d?d:[a.lang.editor,a.name].join(&quot;, &quot;);a.config.contentsLangDirection||(a.config.contentsLangDirection=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.getDirection(1):a.lang.dir);a.fire(&quot;langLoaded&quot;);e(a)})}function e(a){a.getStylesSet(function(b){a.once(&quot;loaded&quot;,
function(){a.fire(&quot;stylesSet&quot;,{styles:b})},null,null,1);x(a)})}function x(a){function b(a){if(!a)return&quot;&quot;;CKEDITOR.tools.isArray(a)&amp;&amp;(a=a.join(&quot;,&quot;));return a.replace(/\s/g,&quot;&quot;)}var c=a.config,d=b(c.plugins),e=b(c.extraPlugins),f=b(c.removePlugins);if(e)var h=new RegExp(&quot;(?:^|,)(?:&quot;+e.replace(/,/g,&quot;|&quot;)+&quot;)(?\x3d,|$)&quot;,&quot;g&quot;),d=d.replace(h,&quot;&quot;),d=d+(&quot;,&quot;+e);if(f)var g=new RegExp(&quot;(?:^|,)(?:&quot;+f.replace(/,/g,&quot;|&quot;)+&quot;)(?\x3d,|$)&quot;,&quot;g&quot;),d=d.replace(g,&quot;&quot;);CKEDITOR.env.air&amp;&amp;(d+=&quot;,adobeair&quot;);CKEDITOR.plugins.load(d.split(&quot;,&quot;),
function(b){var d=[],e=[],f=[];a.plugins=CKEDITOR.tools.extend({},a.plugins,b);for(var m in b){var h=b[m],k=h.lang,C=null,p=h.requires,N;CKEDITOR.tools.isArray(p)&amp;&amp;(p=p.join(&quot;,&quot;));if(p&amp;&amp;(N=p.match(g)))for(;p=N.pop();)CKEDITOR.error(&quot;editor-plugin-required&quot;,{plugin:p.replace(&quot;,&quot;,&quot;&quot;),requiredBy:m});k&amp;&amp;!a.lang[m]&amp;&amp;(k.split&amp;&amp;(k=k.split(&quot;,&quot;)),0&lt;=CKEDITOR.tools.indexOf(k,a.langCode)?C=a.langCode:(C=a.langCode.replace(/-.*/,&quot;&quot;),C=C!=a.langCode&amp;&amp;0&lt;=CKEDITOR.tools.indexOf(k,C)?C:0&lt;=CKEDITOR.tools.indexOf(k,
&quot;en&quot;)?&quot;en&quot;:k[0]),h.langEntries&amp;&amp;h.langEntries[C]?(a.lang[m]=h.langEntries[C],C=null):f.push(CKEDITOR.getUrl(h.path+&quot;lang/&quot;+C+&quot;.js&quot;)));e.push(C);d.push(h)}CKEDITOR.scriptLoader.load(f,function(){if(!a.isDestroyed()&amp;&amp;!a.isDetached()){for(var b=[&quot;beforeInit&quot;,&quot;init&quot;,&quot;afterInit&quot;],f=0;f&lt;b.length;f++)for(var m=0;m&lt;d.length;m++){var p=d[m];0===f&amp;&amp;e[m]&amp;&amp;p.lang&amp;&amp;p.langEntries&amp;&amp;(a.lang[p.name]=p.langEntries[e[m]]);if(p[b[f]])p[b[f]](a)}a.fireOnce(&quot;pluginsLoaded&quot;);c.keystrokes&amp;&amp;a.setKeystroke(a.config.keystrokes);
for(m=0;m&lt;a.config.blockedKeystrokes.length;m++)a.keystrokeHandler.blockedKeystrokes[a.config.blockedKeystrokes[m]]=1;a.status=&quot;loaded&quot;;a.fireOnce(&quot;loaded&quot;);CKEDITOR.fire(&quot;instanceLoaded&quot;,null,a)}})})}function w(){var a=this.element;if(a&amp;&amp;this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO){var b=this.getData();this.config.htmlEncodeOutput&amp;&amp;(b=CKEDITOR.tools.htmlEncode(b));a.is(&quot;textarea&quot;)?a.setValue(b):a.setHtml(b);return!0}return!1}function z(a,b){function c(a){var b=a.startContainer,d=a.endContainer;
return b.is&amp;&amp;(b.is(&quot;tr&quot;)||b.is(&quot;td&quot;)&amp;&amp;b.equals(d)&amp;&amp;a.endOffset===b.getChildCount())?!0:!1}function d(a){var b=a.startContainer;return b.is(&quot;tr&quot;)?a.cloneContents():b.clone(!0)}for(var e=new CKEDITOR.dom.documentFragment,f,h,g,k=0;k&lt;a.length;k++){var l=a[k],r=l.startContainer.getAscendant(&quot;tr&quot;,!0);c(l)?(f||(f=r.getAscendant(&quot;table&quot;).clone(),f.append(r.getAscendant({thead:1,tbody:1,tfoot:1}).clone()),e.append(f),f=f.findOne(&quot;thead, tbody, tfoot&quot;)),h&amp;&amp;h.equals(r)||(h=r,g=r.clone(),f.append(g)),g.append(d(l))):
e.append(l.cloneContents())}return f?e:b.getHtmlFromRange(a[0])}a.prototype=CKEDITOR.editor.prototype;CKEDITOR.editor=a;var H=0,t={};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{plugins:{detectConflict:function(a,b){for(var c=0;c&lt;b.length;c++){var d=b[c];if(this[d])return CKEDITOR.warn(&quot;editor-plugin-conflict&quot;,{plugin:a,replacedWith:d}),!0}return!1}},addCommand:function(a,b){b.name=a.toLowerCase();var c=b instanceof CKEDITOR.command?b:new CKEDITOR.command(this,b);this.mode&amp;&amp;f(this,c);return this.commands[a]=
c},_attachToForm:function(){function a(b){c.updateElement();c._.required&amp;&amp;!d.getValue()&amp;&amp;!1===c.fire(&quot;required&quot;)&amp;&amp;b.data.preventDefault()}function b(a){return!!(a&amp;&amp;a.call&amp;&amp;a.apply)}var c=this,d=c.element,e=new CKEDITOR.dom.element(d.$.form);d.is(&quot;textarea&quot;)&amp;&amp;e&amp;&amp;(e.on(&quot;submit&quot;,a),b(e.$.submit)&amp;&amp;(e.$.submit=CKEDITOR.tools.override(e.$.submit,function(b){return function(){a();b.apply?b.apply(this):b()}})),c.on(&quot;destroy&quot;,function(){e.removeListener(&quot;submit&quot;,a)}))},destroy:function(a){var b=CKEDITOR.filter.instances,
c=this;this.fire(&quot;beforeDestroy&quot;);!a&amp;&amp;w.call(this);this.editable(null);this.filter&amp;&amp;delete this.filter;CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(b),function(a){a=b[a];c===a.editor&amp;&amp;a.destroy()});delete this.activeFilter;this.status=&quot;destroyed&quot;;this.fire(&quot;destroy&quot;);this.removeAllListeners();CKEDITOR.remove(this);CKEDITOR.fire(&quot;instanceDestroyed&quot;,null,this)},elementPath:function(a){if(!a){a=this.getSelection();if(!a)return null;a=a.getStartElement()}return a?new CKEDITOR.dom.elementPath(a,
this.editable()):null},createRange:function(){var a=this.editable();return a?new CKEDITOR.dom.range(a):null},execCommand:function(a,b){var c=this.getCommand(a),d={name:a,commandData:b||{},command:c};return c&amp;&amp;c.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;!1!==this.fire(&quot;beforeCommandExec&quot;,d)&amp;&amp;(d.returnValue=c.exec(d.commandData),!c.async&amp;&amp;!1!==this.fire(&quot;afterCommandExec&quot;,d))?d.returnValue:!1},getCommand:function(a){return this.commands[a]},getData:function(a){!a&amp;&amp;this.fire(&quot;beforeGetData&quot;);var b=this._.data;
&quot;string&quot;!=typeof b&amp;&amp;(b=(b=this.element)&amp;&amp;this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?b.is(&quot;textarea&quot;)?b.getValue():b.getHtml():&quot;&quot;);b={dataValue:b};!a&amp;&amp;this.fire(&quot;getData&quot;,b);return b.dataValue},getSnapshot:function(){var a=this.fire(&quot;getSnapshot&quot;);&quot;string&quot;!=typeof a&amp;&amp;(a=(a=this.element)&amp;&amp;this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?a.is(&quot;textarea&quot;)?a.getValue():a.getHtml():&quot;&quot;);return a},loadSnapshot:function(a){this.fire(&quot;loadSnapshot&quot;,a)},setData:function(a,b,c){var d=!0,e=b;b&amp;&amp;&quot;object&quot;==
typeof b&amp;&amp;(c=b.internal,e=b.callback,d=!b.noSnapshot);!c&amp;&amp;d&amp;&amp;this.fire(&quot;saveSnapshot&quot;);if(e||!c)this.once(&quot;dataReady&quot;,function(a){!c&amp;&amp;d&amp;&amp;this.fire(&quot;saveSnapshot&quot;);e&amp;&amp;e.call(a.editor)});a={dataValue:a};!c&amp;&amp;this.fire(&quot;setData&quot;,a);this._.data=a.dataValue;!c&amp;&amp;this.fire(&quot;afterSetData&quot;,a)},setReadOnly:function(a){a=null==a||a;this.readOnly!=a&amp;&amp;(this.readOnly=a,this.keystrokeHandler.blockedKeystrokes[8]=+a,this.editable().setReadOnly(a),this.fire(&quot;readOnly&quot;))},insertHtml:function(a,b,c){this.fire(&quot;insertHtml&quot;,
{dataValue:a,mode:b,range:c})},insertText:function(a){this.fire(&quot;insertText&quot;,a)},insertElement:function(a){this.fire(&quot;insertElement&quot;,a)},getSelectedHtml:function(a){var b=this.editable(),c=this.getSelection(),c=c&amp;&amp;c.getRanges();if(!b||!c||0===c.length)return null;b=z(c,b);return a?b.getHtml():b},extractSelectedHtml:function(a,b){var c=this.editable(),d=this.getSelection().getRanges(),e=new CKEDITOR.dom.documentFragment,f;if(!c||0===d.length)return null;for(f=0;f&lt;d.length;f++)e.append(c.extractHtmlFromRange(d[f],
b));b||this.getSelection().selectRanges([d[0]]);return a?e.getHtml():e},focus:function(){this.fire(&quot;beforeFocus&quot;)},checkDirty:function(){return&quot;ready&quot;==this.status&amp;&amp;this._.previousValue!==this.getSnapshot()},resetDirty:function(){this._.previousValue=this.getSnapshot()},updateElement:function(){return w.call(this)},setKeystroke:function(){for(var a=this.keystrokeHandler.keystrokes,b=CKEDITOR.tools.isArray(arguments[0])?arguments[0]:[[].slice.call(arguments,0)],c,d,e=b.length;e--;)c=b[e],d=0,CKEDITOR.tools.isArray(c)&amp;&amp;
(d=c[1],c=c[0]),d?a[c]=d:delete a[c]},getCommandKeystroke:function(a,b){var c=&quot;string&quot;===typeof a?this.getCommand(a):a,d=[];if(c){var e=CKEDITOR.tools.object.findKey(this.commands,c),f=this.keystrokeHandler.keystrokes;if(c.fakeKeystroke)d.push(c.fakeKeystroke);else for(var h in f)f[h]===e&amp;&amp;d.push(h)}return b?d:d[0]||null},addFeature:function(a){return this.filter.addFeature(a)},setActiveFilter:function(a){a||(a=this.filter);this.activeFilter!==a&amp;&amp;(this.activeFilter=a,this.fire(&quot;activeFilterChange&quot;),
a===this.filter?this.setActiveEnterMode(null,null):this.setActiveEnterMode(a.getAllowedEnterMode(this.enterMode),a.getAllowedEnterMode(this.shiftEnterMode,!0)))},setActiveEnterMode:function(a,b){a=a?this.blockless?CKEDITOR.ENTER_BR:a:this.enterMode;b=b?this.blockless?CKEDITOR.ENTER_BR:b:this.shiftEnterMode;if(this.activeEnterMode!=a||this.activeShiftEnterMode!=b)this.activeEnterMode=a,this.activeShiftEnterMode=b,this.fire(&quot;activeEnterModeChange&quot;)},showNotification:function(a){alert(a)},isDetached:function(){return!!this.container&amp;&amp;
this.container.isDetached()},isDestroyed:function(){return&quot;destroyed&quot;===this.status}});CKEDITOR.editor._getEditorElement=function(a){if(!CKEDITOR.env.isCompatible)return null;var b=CKEDITOR.dom.element.get(a);return b?b.getEditor()?(CKEDITOR.error(&quot;editor-element-conflict&quot;,{editorName:b.getEditor().name}),null):b:(CKEDITOR.error(&quot;editor-incorrect-element&quot;,{element:a}),null)}})();CKEDITOR.ELEMENT_MODE_NONE=0;CKEDITOR.ELEMENT_MODE_REPLACE=1;CKEDITOR.ELEMENT_MODE_APPENDTO=2;
CKEDITOR.ELEMENT_MODE_INLINE=3;CKEDITOR.htmlParser=function(){this._={htmlPartsRegex:/&lt;(?:(?:\/([^&gt;]+)&gt;)|(?:!--([\S|\s]*?)--\x3e)|(?:([^\/\s&gt;]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:&quot;[^&quot;]*&quot;)|(?:&#039;[^&#039;]*&#039;)|[^\s&quot;&#039;\/&gt;]+))?)*)[\S\s]*?(\/?)&gt;))/g}};
(function(){var a=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:&quot;([^&quot;]*)&quot;)|(?:&#039;([^&#039;]*)&#039;)|([^\s&gt;]+)))|(?=\s|$))/g,d={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};CKEDITOR.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(b){for(var c,f,h=0,k;c=this._.htmlPartsRegex.exec(b);){f=c.index;if(f&gt;h)if(h=b.substring(h,f),k)k.push(h);else this.onText(h);
h=this._.htmlPartsRegex.lastIndex;if(f=c[1])if(f=f.toLowerCase(),k&amp;&amp;CKEDITOR.dtd.$cdata[f]&amp;&amp;(this.onCDATA(k.join(&quot;&quot;)),k=null),!k){this.onTagClose(f);continue}if(k)k.push(c[0]);else if(f=c[3]){if(f=f.toLowerCase(),!/=&quot;/.test(f)){var g={},l,u=c[4];c=!!c[5];if(u)for(;l=a.exec(u);){var e=l[1].toLowerCase();l=l[2]||l[3]||l[4]||&quot;&quot;;g[e]=!l&amp;&amp;d[e]?e:CKEDITOR.tools.htmlDecodeAttr(l)}this.onTagOpen(f,g,c);!k&amp;&amp;CKEDITOR.dtd.$cdata[f]&amp;&amp;(k=[])}}else if(f=c[2])this.onComment(f)}if(b.length&gt;h)this.onText(b.substring(h,
b.length))}}})();
CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(a){this._.output.push(&quot;\x3c&quot;,a)},openTagClose:function(a,d){d?this._.output.push(&quot; /\x3e&quot;):this._.output.push(&quot;\x3e&quot;)},attribute:function(a,d){&quot;string&quot;==typeof d&amp;&amp;(d=CKEDITOR.tools.htmlEncodeAttr(d));this._.output.push(&quot; &quot;,a,&#039;\x3d&quot;&#039;,d,&#039;&quot;&#039;)},closeTag:function(a){this._.output.push(&quot;\x3c/&quot;,a,&quot;\x3e&quot;)},text:function(a){this._.output.push(a)},comment:function(a){this._.output.push(&quot;\x3c!--&quot;,a,
&quot;--\x3e&quot;)},write:function(a){this._.output.push(a)},reset:function(){this._.output=[];this._.indent=!1},getHtml:function(a){var d=this._.output.join(&quot;&quot;);a&amp;&amp;this.reset();return d}}});&quot;use strict&quot;;
(function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var a=this.parent.children,d=CKEDITOR.tools.indexOf(a,this),b=this.previous,c=this.next;b&amp;&amp;(b.next=c);c&amp;&amp;(c.previous=b);a.splice(d,1);this.parent=null},replaceWith:function(a){var d=this.parent.children,b=CKEDITOR.tools.indexOf(d,this),c=a.previous=this.previous,f=a.next=this.next;c&amp;&amp;(c.next=a);f&amp;&amp;(f.previous=a);d[b]=a;a.parent=this.parent;this.parent=null},insertAfter:function(a){var d=a.parent.children,
b=CKEDITOR.tools.indexOf(d,a),c=a.next;d.splice(b+1,0,this);this.next=a.next;this.previous=a;a.next=this;c&amp;&amp;(c.previous=this);this.parent=a.parent},insertBefore:function(a){var d=a.parent.children,b=CKEDITOR.tools.indexOf(d,a);d.splice(b,0,this);this.next=a;(this.previous=a.previous)&amp;&amp;(a.previous.next=this);a.previous=this;this.parent=a.parent},getAscendant:function(a){var d=&quot;function&quot;==typeof a?a:&quot;string&quot;==typeof a?function(b){return b.name==a}:function(b){return b.name in a},b=this.parent;for(;b&amp;&amp;
b.type==CKEDITOR.NODE_ELEMENT;){if(d(b))return b;b=b.parent}return null},wrapWith:function(a){this.replaceWith(a);a.add(this);return a},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(a){return a||{}}}})();&quot;use strict&quot;;CKEDITOR.htmlParser.comment=function(a){this.value=a;this._={isBlockLike:!1}};
CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(a,d){var b=this.value;if(!(b=a.onComment(d,b,this)))return this.remove(),!1;if(&quot;string&quot;!=typeof b)return this.replaceWith(b),!1;this.value=b;return!0},writeHtml:function(a,d){d&amp;&amp;this.filter(d);a.comment(this.value)}});&quot;use strict&quot;;
(function(){CKEDITOR.htmlParser.text=function(a){this.value=a;this._={isBlockLike:!1}};CKEDITOR.htmlParser.text.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(a,d){if(!(this.value=a.onText(d,this.value,this)))return this.remove(),!1},writeHtml:function(a,d){d&amp;&amp;this.filter(d);a.text(this.value)}})})();&quot;use strict&quot;;
(function(){CKEDITOR.htmlParser.cdata=function(a){this.value=a};CKEDITOR.htmlParser.cdata.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(){},writeHtml:function(a){a.write(this.value)}})})();&quot;use strict&quot;;CKEDITOR.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:!0,hasInlineStarted:!1}};
(function(){function a(a){return a.attributes[&quot;data-cke-survive&quot;]?!1:&quot;a&quot;==a.name&amp;&amp;a.attributes.href||CKEDITOR.dtd.$removeEmpty[a.name]}var d=CKEDITOR.tools.extend({table:1,ul:1,ol:1,dl:1},CKEDITOR.dtd.table,CKEDITOR.dtd.ul,CKEDITOR.dtd.ol,CKEDITOR.dtd.dl),b={ol:1,ul:1},c=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),f={ul:&quot;li&quot;,ol:&quot;li&quot;,dl:&quot;dd&quot;,table:&quot;tbody&quot;,tbody:&quot;tr&quot;,thead:&quot;tr&quot;,tfoot:&quot;tr&quot;,tr:&quot;td&quot;};CKEDITOR.htmlParser.fragment.fromHtml=
function(h,k,g){function l(a){var b;if(0&lt;n.length)for(var c=0;c&lt;n.length;c++){var d=n[c],e=d.name,f=CKEDITOR.dtd[e],h=y.name&amp;&amp;CKEDITOR.dtd[y.name];h&amp;&amp;!h[e]||a&amp;&amp;f&amp;&amp;!f[a]&amp;&amp;CKEDITOR.dtd[a]?e==y.name&amp;&amp;(x(y,y.parent,1),c--):(b||(u(),b=1),d=d.clone(),d.parent=y,y=d,n.splice(c,1),c--)}}function u(){for(;L.length;)x(L.shift(),y)}function e(a){if(a._.isBlockLike&amp;&amp;&quot;pre&quot;!=a.name&amp;&amp;&quot;textarea&quot;!=a.name){var b=a.children.length,c=a.children[b-1],d;c&amp;&amp;c.type==CKEDITOR.NODE_TEXT&amp;&amp;((d=CKEDITOR.tools.rtrim(c.value))?
c.value=d:a.children.length=b-1)}}function x(b,c,d){c=c||y||t;var f=y;void 0===b.previous&amp;&amp;(w(c,b)&amp;&amp;(y=c,H.onTagOpen(g,{}),b.returnPoint=c=y),e(b),a(b)&amp;&amp;!b.children.length||c.add(b),&quot;pre&quot;==b.name&amp;&amp;(I=!1),&quot;textarea&quot;==b.name&amp;&amp;(F=!1));b.returnPoint?(y=b.returnPoint,delete b.returnPoint):y=d?c:f}function w(a,b){if((a==t||&quot;body&quot;==a.name)&amp;&amp;g&amp;&amp;(!a.name||CKEDITOR.dtd[a.name][g])){var c,d;return(c=b.attributes&amp;&amp;(d=b.attributes[&quot;data-cke-real-element-type&quot;])?d:b.name)&amp;&amp;c in CKEDITOR.dtd.$inline&amp;&amp;!(c in CKEDITOR.dtd.head)&amp;&amp;
!b.isOrphan||b.type==CKEDITOR.NODE_TEXT}}function z(a,b){return a in CKEDITOR.dtd.$listItem||a in CKEDITOR.dtd.$tableContent?a==b||&quot;dt&quot;==a&amp;&amp;&quot;dd&quot;==b||&quot;dd&quot;==a&amp;&amp;&quot;dt&quot;==b:!1}var H=new CKEDITOR.htmlParser,t=k instanceof CKEDITOR.htmlParser.element?k:&quot;string&quot;==typeof k?new CKEDITOR.htmlParser.element(k):new CKEDITOR.htmlParser.fragment,n=[],L=[],y=t,F=&quot;textarea&quot;==t.name,I=&quot;pre&quot;==t.name;H.onTagOpen=function(e,f,h,g){f=new CKEDITOR.htmlParser.element(e,f);f.isUnknown&amp;&amp;h&amp;&amp;(f.isEmpty=!0);f.isOptionalClose=g;
if(a(f))n.push(f);else{if(&quot;pre&quot;==e)I=!0;else{if(&quot;br&quot;==e&amp;&amp;I){y.add(new CKEDITOR.htmlParser.text(&quot;\n&quot;));return}&quot;textarea&quot;==e&amp;&amp;(F=!0)}if(&quot;br&quot;==e)L.push(f);else{for(;!(g=(h=y.name)?CKEDITOR.dtd[h]||(y._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):c,f.isUnknown||y.isUnknown||g[e]);)if(y.isOptionalClose)H.onTagClose(h);else if(e in b&amp;&amp;h in b)h=y.children,(h=h[h.length-1])&amp;&amp;&quot;li&quot;==h.name||x(h=new CKEDITOR.htmlParser.element(&quot;li&quot;),y),!f.returnPoint&amp;&amp;(f.returnPoint=y),y=h;else if(e in CKEDITOR.dtd.$listItem&amp;&amp;
!z(e,h))H.onTagOpen(&quot;li&quot;==e?&quot;ul&quot;:&quot;dl&quot;,{},0,1);else if(h in d&amp;&amp;!z(e,h))!f.returnPoint&amp;&amp;(f.returnPoint=y),y=y.parent;else if(h in CKEDITOR.dtd.$inline&amp;&amp;n.unshift(y),y.parent)x(y,y.parent,1);else{f.isOrphan=1;break}l(e);u();f.parent=y;f.isEmpty?x(f):y=f}}};H.onTagClose=function(a){for(var b=n.length-1;0&lt;=b;b--)if(a==n[b].name){n.splice(b,1);return}for(var c=[],d=[],e=y;e!=t&amp;&amp;e.name!=a;)e._.isBlockLike||d.unshift(e),c.push(e),e=e.returnPoint||e.parent;if(e!=t){for(b=0;b&lt;c.length;b++){var f=c[b];x(f,f.parent)}y=
e;e._.isBlockLike&amp;&amp;u();x(e,e.parent);e==y&amp;&amp;(y=y.parent);n=n.concat(d)}&quot;body&quot;==a&amp;&amp;(g=!1)};H.onText=function(a){if(!(y._.hasInlineStarted&amp;&amp;!L.length||I||F)&amp;&amp;(a=CKEDITOR.tools.ltrim(a),0===a.length))return;var b=y.name,e=b?CKEDITOR.dtd[b]||(y._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):c;if(!F&amp;&amp;!e[&quot;#&quot;]&amp;&amp;b in d)H.onTagOpen(f[b]||&quot;&quot;),H.onText(a);else{u();l();I||F||(a=a.replace(/[\t\r\n ]{2,}|[\t\r\n]/g,&quot; &quot;));a=new CKEDITOR.htmlParser.text(a);if(w(y,a))this.onTagOpen(g,{},0,1);y.add(a)}};H.onCDATA=
function(a){y.add(new CKEDITOR.htmlParser.cdata(a))};H.onComment=function(a){u();l();y.add(new CKEDITOR.htmlParser.comment(a))};H.parse(h);for(u();y!=t;)x(y,y.parent,1);e(t);return t};CKEDITOR.htmlParser.fragment.prototype={type:CKEDITOR.NODE_DOCUMENT_FRAGMENT,add:function(a,b){isNaN(b)&amp;&amp;(b=this.children.length);var c=0&lt;b?this.children[b-1]:null;if(c){if(a._.isBlockLike&amp;&amp;c.type==CKEDITOR.NODE_TEXT&amp;&amp;(c.value=CKEDITOR.tools.rtrim(c.value),0===c.value.length)){this.children.pop();this.add(a);return}c.next=
a}a.previous=c;a.parent=this;this.children.splice(b,0,a);this._.hasInlineStarted||(this._.hasInlineStarted=a.type==CKEDITOR.NODE_TEXT||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a._.isBlockLike)},filter:function(a,b){b=this.getFilterContext(b);a.onRoot(b,this);this.filterChildren(a,!1,b)},filterChildren:function(a,b,c){if(this.childrenFilteredBy!=a.id){c=this.getFilterContext(c);if(b&amp;&amp;!this.parent)a.onRoot(c,this);this.childrenFilteredBy=a.id;for(b=0;b&lt;this.children.length;b++)!1===this.children[b].filter(a,
c)&amp;&amp;b--}},writeHtml:function(a,b){b&amp;&amp;this.filter(b);this.writeChildrenHtml(a)},writeChildrenHtml:function(a,b,c){var d=this.getFilterContext();if(c&amp;&amp;!this.parent&amp;&amp;b)b.onRoot(d,this);b&amp;&amp;this.filterChildren(b,!1,d);b=0;c=this.children;for(d=c.length;b&lt;d;b++)c[b].writeHtml(a)},forEach:function(a,b,c){if(!(c||b&amp;&amp;this.type!=b))var d=a(this);if(!1!==d){c=this.children;for(var f=0;f&lt;c.length;f++)d=c[f],d.type==CKEDITOR.NODE_ELEMENT?d.forEach(a,b):b&amp;&amp;d.type!=b||a(d)}},getFilterContext:function(a){return a||
{}}}})();&quot;use strict&quot;;
(function(){function a(){this.rules=[]}function d(b,c,d,h){var k,g;for(k in c)(g=b[k])||(g=b[k]=new a),g.add(c[k],d,h)}CKEDITOR.htmlParser.filter=CKEDITOR.tools.createClass({$:function(b){this.id=CKEDITOR.tools.getNextNumber();this.elementNameRules=new a;this.attributeNameRules=new a;this.elementsRules={};this.attributesRules={};this.textRules=new a;this.commentRules=new a;this.rootRules=new a;b&amp;&amp;this.addRules(b,10)},proto:{addRules:function(a,c){var f;&quot;number&quot;==typeof c?f=c:c&amp;&amp;&quot;priority&quot;in c&amp;&amp;(f=
c.priority);&quot;number&quot;!=typeof f&amp;&amp;(f=10);&quot;object&quot;!=typeof c&amp;&amp;(c={});a.elementNames&amp;&amp;this.elementNameRules.addMany(a.elementNames,f,c);a.attributeNames&amp;&amp;this.attributeNameRules.addMany(a.attributeNames,f,c);a.elements&amp;&amp;d(this.elementsRules,a.elements,f,c);a.attributes&amp;&amp;d(this.attributesRules,a.attributes,f,c);a.text&amp;&amp;this.textRules.add(a.text,f,c);a.comment&amp;&amp;this.commentRules.add(a.comment,f,c);a.root&amp;&amp;this.rootRules.add(a.root,f,c)},applyTo:function(a){a.filter(this)},onElementName:function(a,c){return this.elementNameRules.execOnName(a,
c)},onAttributeName:function(a,c){return this.attributeNameRules.execOnName(a,c)},onText:function(a,c,d){return this.textRules.exec(a,c,d)},onComment:function(a,c,d){return this.commentRules.exec(a,c,d)},onRoot:function(a,c){return this.rootRules.exec(a,c)},onElement:function(a,c){for(var d=[this.elementsRules[&quot;^&quot;],this.elementsRules[c.name],this.elementsRules.$],h,k=0;3&gt;k;k++)if(h=d[k]){h=h.exec(a,c,this);if(!1===h)return null;if(h&amp;&amp;h!=c)return this.onNode(a,h);if(c.parent&amp;&amp;!c.name)break}return c},
onNode:function(a,c){var d=c.type;return d==CKEDITOR.NODE_ELEMENT?this.onElement(a,c):d==CKEDITOR.NODE_TEXT?new CKEDITOR.htmlParser.text(this.onText(a,c.value,c)):d==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(a,c.value,c)):null},onAttribute:function(a,c,d,h){return(d=this.attributesRules[d])?d.exec(a,h,c,this):h}}});CKEDITOR.htmlParser.filterRulesGroup=a;a.prototype={add:function(a,c,d){this.rules.splice(this.findIndex(c),0,{value:a,priority:c,options:d})},addMany:function(a,
c,d){for(var h=[this.findIndex(c),0],k=0,g=a.length;k&lt;g;k++)h.push({value:a[k],priority:c,options:d});this.rules.splice.apply(this.rules,h)},findIndex:function(a){for(var c=this.rules,d=c.length-1;0&lt;=d&amp;&amp;a&lt;c[d].priority;)d--;return d+1},exec:function(a,c){var d=c instanceof CKEDITOR.htmlParser.node||c instanceof CKEDITOR.htmlParser.fragment,h=Array.prototype.slice.call(arguments,1),k=this.rules,g=k.length,l,u,e,x;for(x=0;x&lt;g;x++)if(d&amp;&amp;(l=c.type,u=c.name),e=k[x],!(a.nonEditable&amp;&amp;!e.options.applyToAll||
a.nestedEditable&amp;&amp;e.options.excludeNestedEditable)){e=e.value.apply(null,h);if(!1===e||d&amp;&amp;e&amp;&amp;(e.name!=u||e.type!=l))return e;null!=e&amp;&amp;(h[0]=c=e)}return c},execOnName:function(a,c){for(var d=0,h=this.rules,k=h.length,g;c&amp;&amp;d&lt;k;d++)g=h[d],a.nonEditable&amp;&amp;!g.options.applyToAll||a.nestedEditable&amp;&amp;g.options.excludeNestedEditable||(c=c.replace(g.value[0],g.value[1]));return c}}})();
(function(){function a(a,d){function e(a){return a||CKEDITOR.env.needsNbspFiller?new CKEDITOR.htmlParser.text(&quot; &quot;):new CKEDITOR.htmlParser.element(&quot;br&quot;,{&quot;data-cke-bogus&quot;:1})}function p(a,d){return function(f){if(f.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var q=[],p=b(f),m,r;if(p)for(B(p,1)&amp;&amp;q.push(p);p;)h(p)&amp;&amp;(m=c(p))&amp;&amp;B(m)&amp;&amp;((r=c(m))&amp;&amp;!h(r)?q.push(m):(e(g).insertAfter(m),m.remove())),p=p.previous;for(p=0;p&lt;q.length;p++)q[p].remove();if(q=!a||!1!==(&quot;function&quot;==typeof d?d(f):d))g||CKEDITOR.env.needsBrFiller||
f.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT?g||CKEDITOR.env.needsBrFiller||!(7&lt;document.documentMode||f.name in CKEDITOR.dtd.tr||f.name in CKEDITOR.dtd.$listItem)?(q=b(f),q=!q||&quot;form&quot;==f.name&amp;&amp;&quot;input&quot;==q.name):q=!1:q=!1;q&amp;&amp;f.add(e(a))}}}function B(a,b){if((!g||CKEDITOR.env.needsBrFiller)&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==a.name&amp;&amp;!a.attributes[&quot;data-cke-eol&quot;])return!0;var c;return a.type==CKEDITOR.NODE_TEXT&amp;&amp;(c=a.value.match(L))&amp;&amp;(c.index&amp;&amp;((new CKEDITOR.htmlParser.text(a.value.substring(0,c.index))).insertBefore(a),
a.value=c[0]),!CKEDITOR.env.needsBrFiller&amp;&amp;g&amp;&amp;(!b||a.parent.name in v)||!g&amp;&amp;((c=a.previous)&amp;&amp;&quot;br&quot;==c.name||!c||h(c)))?!0:!1}var r={elements:{}},g=&quot;html&quot;==d,v=CKEDITOR.tools.extend({},m),D;for(D in v)&quot;#&quot;in F[D]||delete v[D];for(D in v)r.elements[D]=p(g,a.config.fillEmptyBlocks);r.root=p(g,!1);r.elements.br=function(a){return function(b){if(b.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var d=b.attributes;if(&quot;data-cke-bogus&quot;in d||&quot;data-cke-eol&quot;in d)delete d[&quot;data-cke-bogus&quot;];else{for(d=b.next;d&amp;&amp;f(d);)d=
d.next;var q=c(b);!d&amp;&amp;h(b.parent)?k(b.parent,e(a)):h(d)&amp;&amp;q&amp;&amp;!h(q)&amp;&amp;e(a).insertBefore(d)}}}}(g);return r}function d(a,b){return a!=CKEDITOR.ENTER_BR&amp;&amp;!1!==b?a==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;:!1}function b(a){for(a=a.children[a.children.length-1];a&amp;&amp;f(a);)a=a.previous;return a}function c(a){for(a=a.previous;a&amp;&amp;f(a);)a=a.previous;return a}function f(a){return a.type==CKEDITOR.NODE_TEXT&amp;&amp;!CKEDITOR.tools.trim(a.value)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.attributes[&quot;data-cke-bookmark&quot;]}function h(a){return a&amp;&amp;
(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.name in m||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function k(a,b){var c=a.children[a.children.length-1];a.children.push(b);b.parent=a;c&amp;&amp;(c.next=b,b.previous=c)}function g(a){a=a.attributes;&quot;false&quot;!=a.contenteditable&amp;&amp;(a[&quot;data-cke-editable&quot;]=a.contenteditable?&quot;true&quot;:1);a.contenteditable=&quot;false&quot;}function l(a){a=a.attributes;switch(a[&quot;data-cke-editable&quot;]){case &quot;true&quot;:a.contenteditable=&quot;true&quot;;break;case &quot;1&quot;:delete a.contenteditable}}function u(a){return a.replace(r,
function(a,b,c){return&quot;\x3c&quot;+b+c.replace(D,function(a,b){return B.test(b)&amp;&amp;-1==c.indexOf(&quot;data-cke-saved-&quot;+b)?&quot; data-cke-saved-&quot;+a+&quot; data-cke-&quot;+CKEDITOR.rnd+&quot;-&quot;+a:a})+&quot;\x3e&quot;})}function e(a,b){return a.replace(b,function(a,b,c){0===a.indexOf(&quot;\x3ctextarea&quot;)&amp;&amp;(a=b+z(c).replace(/&lt;/g,&quot;\x26lt;&quot;).replace(/&gt;/g,&quot;\x26gt;&quot;)+&quot;\x3c/textarea\x3e&quot;);return&quot;\x3ccke:encoded\x3e&quot;+encodeURIComponent(a)+&quot;\x3c/cke:encoded\x3e&quot;})}function x(a){return a.replace(R,function(a,b){return decodeURIComponent(b)})}function w(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,
function(a){return&quot;\x3c!--&quot;+y+&quot;{C}&quot;+encodeURIComponent(a).replace(/--/g,&quot;%2D%2D&quot;)+&quot;--\x3e&quot;})}function z(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,b){return decodeURIComponent(b)})}function H(a,b){var c=b._.dataStore;return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g,function(a,b){return decodeURIComponent(b)}).replace(/\{cke_protected_(\d+)\}/g,function(a,b){return c&amp;&amp;c[b]||&quot;&quot;})}function t(a,b){var c=[],d=b.config.protectedSource,e=b._.dataStore||(b._.dataStore=
{id:1}),f=/&lt;\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,d=[/&lt;script[\s\S]*?(&lt;\/script&gt;|$)/gi,/&lt;noscript[\s\S]*?&lt;\/noscript&gt;/gi,/&lt;meta[\s\S]*?\/?&gt;/gi].concat(d);a=a.replace(/\x3c!--[\s\S]*?--\x3e/g,function(a){return&quot;\x3c!--{cke_tempcomment}&quot;+(c.push(a)-1)+&quot;--\x3e&quot;});for(var p=0;p&lt;d.length;p++)a=a.replace(d[p],function(a){a=a.replace(f,function(a,b,d){return c[d]});return/cke_temp(comment)?/.test(a)?a:&quot;\x3c!--{cke_temp}&quot;+(c.push(a)-1)+&quot;--\x3e&quot;});a=a.replace(f,function(a,b,d){return&quot;\x3c!--&quot;+y+(b?&quot;{C}&quot;:
&quot;&quot;)+encodeURIComponent(c[d]).replace(/--/g,&quot;%2D%2D&quot;)+&quot;--\x3e&quot;});a=a.replace(/&lt;\w+(?:\s+(?:(?:[^\s=&gt;]+\s*=\s*(?:[^&#039;&quot;\s&gt;]+|&#039;[^&#039;]*&#039;|&quot;[^&quot;]*&quot;))|[^\s=\/&gt;]+))+\s*\/?&gt;/g,function(a){return a.replace(/\x3c!--\{cke_protected\}([^&gt;]*)--\x3e/g,function(a,b){e[e.id]=decodeURIComponent(b);return&quot;{cke_protected_&quot;+e.id++ +&quot;}&quot;})});return a=a.replace(/&lt;(title|iframe|textarea)([^&gt;]*)&gt;([\s\S]*?)&lt;\/\1&gt;/g,function(a,c,d,e){return&quot;\x3c&quot;+c+d+&quot;\x3e&quot;+H(z(e),b)+&quot;\x3c/&quot;+c+&quot;\x3e&quot;})}var n;CKEDITOR.htmlDataProcessor=function(b){var c,
f,m=this;this.editor=b;this.dataFilter=c=new CKEDITOR.htmlParser.filter;this.htmlFilter=f=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;c.addRules(C);c.addRules(K,{applyToAll:!0});c.addRules(a(b,&quot;data&quot;),{applyToAll:!0});f.addRules(A);f.addRules(M,{applyToAll:!0});f.addRules(a(b,&quot;html&quot;),{applyToAll:!0});b.on(&quot;toHtml&quot;,function(a){a=a.data;var c=a.dataValue,f,c=n(c),c=t(c,b),c=e(c,S),c=u(c),c=e(c,v),c=c.replace(p,&quot;$1cke:$2&quot;),c=c.replace(O,&quot;\x3ccke:$1$2\x3e\x3c/cke:$1\x3e&quot;),
c=c.replace(/(&lt;pre\b[^&gt;]*&gt;)(\r\n|\n)/g,&quot;$1$2$2&quot;),c=c.replace(/([^a-z0-9&lt;\-])(on\w{3,})(?!&gt;)/gi,&quot;$1data-cke-&quot;+CKEDITOR.rnd+&quot;-$2&quot;);f=a.context||b.editable().getName();var m;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;&quot;pre&quot;==f&amp;&amp;(f=&quot;div&quot;,c=&quot;\x3cpre\x3e&quot;+c+&quot;\x3c/pre\x3e&quot;,m=1);f=b.document.createElement(f);f.setHtml(&quot;a&quot;+c);c=f.getHtml().substr(1);c=c.replace(new RegExp(&quot;data-cke-&quot;+CKEDITOR.rnd+&quot;-&quot;,&quot;ig&quot;),&quot;&quot;);m&amp;&amp;(c=c.replace(/^&lt;pre&gt;|&lt;\/pre&gt;$/gi,&quot;&quot;));c=c.replace(N,&quot;$1$2&quot;);c=x(c);c=z(c);f=!1===a.fixForBody?!1:
d(a.enterMode,b.config.autoParagraph);c=CKEDITOR.htmlParser.fragment.fromHtml(c,a.context,f);f&amp;&amp;(m=c,!m.children.length&amp;&amp;CKEDITOR.dtd[m.name][f]&amp;&amp;(f=new CKEDITOR.htmlParser.element(f),m.add(f)));a.dataValue=c},null,null,5);b.on(&quot;toHtml&quot;,function(a){a.data.filter.applyTo(a.data.dataValue,!0,a.data.dontFilter,a.data.enterMode)&amp;&amp;b.fire(&quot;dataFiltered&quot;)},null,null,6);b.on(&quot;toHtml&quot;,function(a){a.data.dataValue.filterChildren(m.dataFilter,!0)},null,null,10);b.on(&quot;toHtml&quot;,function(a){a=a.data;var b=a.dataValue,
c=new CKEDITOR.htmlParser.basicWriter;b.writeChildrenHtml(c);b=c.getHtml(!0);a.dataValue=w(b)},null,null,15);b.on(&quot;toDataFormat&quot;,function(a){var c=a.data.dataValue;a.data.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(c=c.replace(/^&lt;br *\/?&gt;/i,&quot;&quot;));a.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(c,a.data.context,d(a.data.enterMode,b.config.autoParagraph))},null,null,5);b.on(&quot;toDataFormat&quot;,function(a){a.data.dataValue.filterChildren(m.htmlFilter,!0)},null,null,10);b.on(&quot;toDataFormat&quot;,function(a){a.data.filter.applyTo(a.data.dataValue,
!1,!0)},null,null,11);b.on(&quot;toDataFormat&quot;,function(a){var c=a.data.dataValue,d=m.writer;d.reset();c.writeChildrenHtml(d);c=d.getHtml(!0);c=z(c);c=H(c,b);a.data.dataValue=c},null,null,15)};CKEDITOR.htmlDataProcessor.prototype={toHtml:function(a,b,c,d){var e=this.editor,f,p,m,h;b&amp;&amp;&quot;object&quot;==typeof b?(f=b.context,c=b.fixForBody,d=b.dontFilter,p=b.filter,m=b.enterMode,h=b.protectedWhitespaces):f=b;f||null===f||(f=e.editable().getName());return e.fire(&quot;toHtml&quot;,{dataValue:a,context:f,fixForBody:c,dontFilter:d,
filter:p||e.filter,enterMode:m||e.enterMode,protectedWhitespaces:h}).dataValue},toDataFormat:function(a,b){var c,d,e;b&amp;&amp;(c=b.context,d=b.filter,e=b.enterMode);c||null===c||(c=this.editor.editable().getName());return this.editor.fire(&quot;toDataFormat&quot;,{dataValue:a,filter:d||this.editor.filter,context:c,enterMode:e||this.editor.enterMode}).dataValue}};var L=/(?:&amp;nbsp;|\xa0)$/,y=&quot;{cke_protected}&quot;,F=CKEDITOR.dtd,I=&quot;caption colgroup col thead tfoot tbody&quot;.split(&quot; &quot;),m=CKEDITOR.tools.extend({},F.$blockLimit,
F.$block),C={elements:{input:g,textarea:g}},K={attributeNames:[[/^on/,&quot;data-cke-pa-on&quot;],[/^srcdoc/,&quot;data-cke-pa-srcdoc&quot;],[/^data-cke-expando$/,&quot;&quot;]],elements:{iframe:function(a){if(a.attributes&amp;&amp;a.attributes.src){var b=a.attributes.src.toLowerCase().replace(/[^a-z]/gi,&quot;&quot;);if(0===b.indexOf(&quot;javascript&quot;)||0===b.indexOf(&quot;data&quot;))a.attributes[&quot;data-cke-pa-src&quot;]=a.attributes.src,delete a.attributes.src}}}},A={elements:{embed:function(a){var b=a.parent;if(b&amp;&amp;&quot;object&quot;==b.name){var c=b.attributes.width,b=b.attributes.height;
c&amp;&amp;(a.attributes.width=c);b&amp;&amp;(a.attributes.height=b)}},a:function(a){var b=a.attributes;if(!(a.children.length||b.name||b.id||a.attributes[&quot;data-cke-saved-name&quot;]))return!1}}},M={elementNames:[[/^cke:/,&quot;&quot;],[/^\?xml:namespace$/,&quot;&quot;]],attributeNames:[[/^data-cke-(saved|pa)-/,&quot;&quot;],[/^data-cke-.*/,&quot;&quot;],[&quot;hidefocus&quot;,&quot;&quot;]],elements:{$:function(a){var b=a.attributes;if(b){if(b[&quot;data-cke-temp&quot;])return!1;for(var c=[&quot;name&quot;,&quot;href&quot;,&quot;src&quot;],d,e=0;e&lt;c.length;e++)d=&quot;data-cke-saved-&quot;+c[e],d in b&amp;&amp;delete b[c[e]]}return a},
table:function(a){a.children.slice(0).sort(function(a,b){var c,d;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.type==a.type&amp;&amp;(c=CKEDITOR.tools.indexOf(I,a.name),d=CKEDITOR.tools.indexOf(I,b.name));-1&lt;c&amp;&amp;-1&lt;d&amp;&amp;c!=d||(c=a.parent?a.getIndex():-1,d=b.parent?b.getIndex():-1);return c&gt;d?1:-1})},param:function(a){a.children=[];a.isEmpty=!0;return a},span:function(a){&quot;Apple-style-span&quot;==a.attributes[&quot;class&quot;]&amp;&amp;delete a.name},html:function(a){delete a.attributes.contenteditable;delete a.attributes[&quot;class&quot;]},body:function(a){delete a.attributes.spellcheck;
delete a.attributes.contenteditable},style:function(a){var b=a.children[0];b&amp;&amp;b.value&amp;&amp;(b.value=CKEDITOR.tools.trim(b.value));a.attributes.type||(a.attributes.type=&quot;text/css&quot;)},title:function(a){var b=a.children[0];!b&amp;&amp;k(a,b=new CKEDITOR.htmlParser.text);b.value=a.attributes[&quot;data-cke-title&quot;]||&quot;&quot;},input:l,textarea:l},attributes:{&quot;class&quot;:function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,&quot;&quot;))||!1}}};CKEDITOR.env.ie&amp;&amp;(M.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,
function(a){return a.toLowerCase()})});var r=/&lt;(a|area|img|input|source)\b([^&gt;]*)&gt;/gi,D=/([\w-:]+)\s*=\s*(?:(?:&quot;[^&quot;]*&quot;)|(?:&#039;[^&#039;]*&#039;)|(?:[^ &quot;&#039;&gt;]+))/gi,B=/^(href|src|name)$/i,v=/(?:&lt;style(?=[ &gt;])[^&gt;]*&gt;[\s\S]*?&lt;\/style&gt;)|(?:&lt;(:?link|meta|base)[^&gt;]*&gt;)/gi,S=/(&lt;textarea(?=[ &gt;])[^&gt;]*&gt;)([\s\S]*?)(?:&lt;\/textarea&gt;)/gi,R=/&lt;cke:encoded&gt;([^&lt;]*)&lt;\/cke:encoded&gt;/gi,p=/(&lt;\/?)((?:object|embed|param|html|body|head|title)([\s][^&gt;]*)?&gt;)/gi,N=/(&lt;\/?)cke:((?:html|body|head|title)[^&gt;]*&gt;)/gi,O=/&lt;cke:(param|embed)([^&gt;]*?)\/?&gt;(?!\s*&lt;\/cke:\1)/gi;
n=function(){function a(c){return CKEDITOR.tools.array.reduce(c.split(&quot;&quot;),function(a,c){var d=c.toLowerCase(),e=c.toUpperCase(),f=b(d);d!==e&amp;&amp;(f+=&quot;|&quot;+b(e));return a+(&quot;(&quot;+f+&quot;)&quot;)},&quot;&quot;)}function b(a){var c;c=a.charCodeAt(0);var d=c.toString(16);c={htmlCode:&quot;\x26#&quot;+c+&quot;;?&quot;,hex:&quot;\x26#x0*&quot;+d+&quot;;?&quot;,entity:{&quot;\x3c&quot;:&quot;\x26lt;&quot;,&quot;\x3e&quot;:&quot;\x26gt;&quot;,&quot;:&quot;:&quot;\x26colon;&quot;}[a]};for(var e in c)c[e]&amp;&amp;(a+=&quot;|&quot;+c[e]);return a}var c=new RegExp(&quot;(&quot;+a(&quot;\x3ccke:encoded\x3e&quot;)+&quot;(.*?)&quot;+a(&quot;\x3c/cke:encoded\x3e&quot;)+&quot;)|(&quot;+a(&quot;\x3c&quot;)+a(&quot;/&quot;)+
&quot;?&quot;+a(&quot;cke:encoded\x3e&quot;)+&quot;)&quot;,&quot;gi&quot;),d=new RegExp(&quot;((&quot;+a(&quot;{cke_protected&quot;)+&quot;)(_[0-9]*)?&quot;+a(&quot;}&quot;)+&quot;)&quot;,&quot;gi&quot;);return function(a){return a.replace(c,&quot;&quot;).replace(d,&quot;&quot;)}}()})();&quot;use strict&quot;;
CKEDITOR.htmlParser.element=function(a,d){this.name=a;this.attributes=d||{};this.children=[];var b=a||&quot;&quot;,c=b.match(/^cke:(.*)/);c&amp;&amp;(b=c[1]);b=!!(CKEDITOR.dtd.$nonBodyContent[b]||CKEDITOR.dtd.$block[b]||CKEDITOR.dtd.$listItem[b]||CKEDITOR.dtd.$tableContent[b]||CKEDITOR.dtd.$nonEditable[b]||&quot;br&quot;==b);this.isEmpty=!!CKEDITOR.dtd.$empty[a];this.isUnknown=!CKEDITOR.dtd[a];this._={isBlockLike:b,hasInlineStarted:this.isEmpty||!b}};
CKEDITOR.htmlParser.cssStyle=function(a){var d={};((a instanceof CKEDITOR.htmlParser.element?a.attributes.style:a)||&quot;&quot;).replace(/&amp;quot;/g,&#039;&quot;&#039;).replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,c,f){&quot;font-family&quot;==c&amp;&amp;(f=f.replace(/[&quot;&#039;]/g,&quot;&quot;));d[c.toLowerCase()]=f});return{rules:d,populate:function(a){var c=this.toString();c&amp;&amp;(a instanceof CKEDITOR.dom.element?a.setAttribute(&quot;style&quot;,c):a instanceof CKEDITOR.htmlParser.element?a.attributes.style=c:a.style=c)},toString:function(){var a=[],c;
for(c in d)d[c]&amp;&amp;a.push(c,&quot;:&quot;,d[c],&quot;;&quot;);return a.join(&quot;&quot;)}}};
(function(){function a(a){return function(b){return b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;string&quot;==typeof a?b.name==a:b.name in a)}}var d=function(a,b){a=a[0];b=b[0];return a&lt;b?-1:a&gt;b?1:0},b=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:b.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(a,b){var d=this,k,g;b=d.getFilterContext(b);if(!d.parent)a.onRoot(b,
d);for(;;){k=d.name;if(!(g=a.onElementName(b,k)))return this.remove(),!1;d.name=g;if(!(d=a.onElement(b,d)))return this.remove(),!1;if(d!==this)return this.replaceWith(d),!1;if(d.name==k)break;if(d.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(d),!1;if(!d.name)return this.replaceWithChildren(),!1}k=d.attributes;var l,u;for(l in k){for(g=k[l];;)if(u=a.onAttributeName(b,l))if(u!=l)delete k[l],l=u;else break;else{delete k[l];break}u&amp;&amp;(!1===(g=a.onAttribute(b,d,u,g))?delete k[u]:k[u]=g)}d.isEmpty||
this.filterChildren(a,!1,b);return!0},filterChildren:b.filterChildren,writeHtml:function(a,b){b&amp;&amp;this.filter(b);var h=this.name,k=[],g=this.attributes,l,u;a.openTag(h,g);for(l in g)k.push([l,g[l]]);a.sortAttributes&amp;&amp;k.sort(d);l=0;for(u=k.length;l&lt;u;l++)g=k[l],a.attribute(g[0],g[1]);a.openTagClose(h,this.isEmpty);this.writeChildrenHtml(a);this.isEmpty||a.closeTag(h)},writeChildrenHtml:b.writeChildrenHtml,replaceWithChildren:function(){for(var a=this.children,b=a.length;b;)a[--b].insertAfter(this);
this.remove()},forEach:b.forEach,getFirst:function(b){if(!b)return this.children.length?this.children[0]:null;&quot;function&quot;!=typeof b&amp;&amp;(b=a(b));for(var d=0,h=this.children.length;d&lt;h;++d)if(b(this.children[d]))return this.children[d];return null},getHtml:function(){var a=new CKEDITOR.htmlParser.basicWriter;this.writeChildrenHtml(a);return a.getHtml()},setHtml:function(a){a=this.children=CKEDITOR.htmlParser.fragment.fromHtml(a).children;for(var b=0,d=a.length;b&lt;d;++b)a[b].parent=this},getOuterHtml:function(){var a=
new CKEDITOR.htmlParser.basicWriter;this.writeHtml(a);return a.getHtml()},split:function(a){for(var b=this.children.splice(a,this.children.length-a),d=this.clone(),k=0;k&lt;b.length;++k)b[k].parent=d;d.children=b;b[0]&amp;&amp;(b[0].previous=null);0&lt;a&amp;&amp;(this.children[a-1].next=null);this.parent.add(d,this.getIndex()+1);return d},find:function(a,b){void 0===b&amp;&amp;(b=!1);var d=[],k;for(k=0;k&lt;this.children.length;k++){var g=this.children[k];&quot;function&quot;==typeof a&amp;&amp;a(g)?d.push(g):&quot;string&quot;==typeof a&amp;&amp;g.name===a&amp;&amp;d.push(g);
b&amp;&amp;g.find&amp;&amp;(d=d.concat(g.find(a,b)))}return d},findOne:function(a,b){var d=null,k=CKEDITOR.tools.array.find(this.children,function(g){var k=&quot;function&quot;===typeof a?a(g):g.name===a;if(k||!b)return k;g.children&amp;&amp;g.findOne&amp;&amp;(d=g.findOne(a,!0));return!!d});return d||k||null},addClass:function(a){if(!this.hasClass(a)){var b=this.attributes[&quot;class&quot;]||&quot;&quot;;this.attributes[&quot;class&quot;]=b+(b?&quot; &quot;:&quot;&quot;)+a}},removeClass:function(a){var b=this.attributes[&quot;class&quot;];b&amp;&amp;((b=CKEDITOR.tools.trim(b.replace(new RegExp(&quot;(?:\\s+|^)&quot;+
a+&quot;(?:\\s+|$)&quot;),&quot; &quot;)))?this.attributes[&quot;class&quot;]=b:delete this.attributes[&quot;class&quot;])},hasClass:function(a){var b=this.attributes[&quot;class&quot;];return b?(new RegExp(&quot;(?:^|\\s)&quot;+a+&quot;(?\x3d\\s|$)&quot;)).test(b):!1},getFilterContext:function(a){var b=[];a||(a={nonEditable:!1,nestedEditable:!1});a.nonEditable||&quot;false&quot;!=this.attributes.contenteditable?a.nonEditable&amp;&amp;!a.nestedEditable&amp;&amp;&quot;true&quot;==this.attributes.contenteditable&amp;&amp;b.push(&quot;nestedEditable&quot;,!0):b.push(&quot;nonEditable&quot;,!0);if(b.length){a=CKEDITOR.tools.copy(a);
for(var d=0;d&lt;b.length;d+=2)a[b[d]]=b[d+1]}return a}},!0)})();(function(){var a=/{([^}]+)}/g;CKEDITOR.template=function(a){this.source=&quot;function&quot;===typeof a?a:String(a)};CKEDITOR.template.prototype.output=function(d,b){var c=(&quot;function&quot;===typeof this.source?this.source(d):this.source).replace(a,function(a,b){return void 0!==d[b]?d[b]:a});return b?b.push(c):c}})();delete CKEDITOR.loadFullCore;CKEDITOR.instances={};CKEDITOR.document=new CKEDITOR.dom.document(document);
CKEDITOR.add=function(a){function d(){CKEDITOR.currentInstance==a&amp;&amp;(CKEDITOR.currentInstance=null,CKEDITOR.fire(&quot;currentInstance&quot;))}CKEDITOR.instances[a.name]=a;a.on(&quot;focus&quot;,function(){CKEDITOR.currentInstance!=a&amp;&amp;(CKEDITOR.currentInstance=a,CKEDITOR.fire(&quot;currentInstance&quot;))});a.on(&quot;blur&quot;,d);a.on(&quot;destroy&quot;,d);CKEDITOR.fire(&quot;instance&quot;,null,a)};CKEDITOR.remove=function(a){delete CKEDITOR.instances[a.name]};
(function(){var a={};CKEDITOR.addTemplate=function(d,b){var c=a[d];if(c)return c;c={name:d,source:b};CKEDITOR.fire(&quot;template&quot;,c);return a[d]=new CKEDITOR.template(c.source)};CKEDITOR.getTemplate=function(d){return a[d]}})();(function(){var a=[];CKEDITOR.addCss=function(d){a.push(d)};CKEDITOR.getCss=function(){return a.join(&quot;\n&quot;)}})();CKEDITOR.on(&quot;instanceDestroyed&quot;,function(){CKEDITOR.tools.isEmpty(this.instances)&amp;&amp;CKEDITOR.fire(&quot;reset&quot;)});CKEDITOR.TRISTATE_ON=1;CKEDITOR.TRISTATE_OFF=2;
CKEDITOR.TRISTATE_DISABLED=0;
(function(){CKEDITOR.inline=function(a,d){a=CKEDITOR.editor._getEditorElement(a);if(!a)return null;var b=new CKEDITOR.editor(d,a,CKEDITOR.ELEMENT_MODE_INLINE),c=a.is(&quot;textarea&quot;)?a:null;c?(b.setData(c.getValue(),null,!0),a=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv contenteditable\x3d&quot;&#039;+!!b.readOnly+&#039;&quot; class\x3d&quot;cke_textarea_inline&quot;\x3e&#039;+c.getValue()+&quot;\x3c/div\x3e&quot;,CKEDITOR.document),a.insertAfter(c),c.hide(),c.$.form&amp;&amp;b._attachToForm()):(d&amp;&amp;&quot;undefined&quot;!==typeof d.readOnly&amp;&amp;!d.readOnly&amp;&amp;a.setAttribute(&quot;contenteditable&quot;,
&quot;true&quot;),b.setData(a.getHtml(),null,!0));b.on(&quot;loaded&quot;,function(){b.fire(&quot;uiReady&quot;);b.editable(a);b.container=a;b.ui.contentsElement=a;b.setData(b.getData(1));b.resetDirty();b.fire(&quot;contentDom&quot;);b.mode=&quot;wysiwyg&quot;;b.fire(&quot;mode&quot;);b.status=&quot;ready&quot;;b.fireOnce(&quot;instanceReady&quot;);CKEDITOR.fire(&quot;instanceReady&quot;,null,b)},null,null,1E4);b.on(&quot;destroy&quot;,function(){var a=b.container;c&amp;&amp;a&amp;&amp;(a.clearCustomData(),a.remove());c&amp;&amp;c.show();b.element.clearCustomData();delete b.element});return b};CKEDITOR.inlineAll=function(){var a,
d,b;for(b in CKEDITOR.dtd.$editable)for(var c=CKEDITOR.document.getElementsByTag(b),f=0,h=c.count();f&lt;h;f++)a=c.getItem(f),&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(d={element:a,config:{}},!1!==CKEDITOR.fire(&quot;inline&quot;,d)&amp;&amp;CKEDITOR.inline(a,d.config))};CKEDITOR.domReady(function(){!CKEDITOR.disableAutoInline&amp;&amp;CKEDITOR.inlineAll()})})();CKEDITOR.replaceClass=&quot;ckeditor&quot;;
(function(){function a(a,f,h,k){a=CKEDITOR.editor._getEditorElement(a);if(!a)return null;var g=new CKEDITOR.editor(f,a,k);k==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;(a.setStyle(&quot;visibility&quot;,&quot;hidden&quot;),g._.required=a.hasAttribute(&quot;required&quot;),a.removeAttribute(&quot;required&quot;));h&amp;&amp;g.setData(h,null,!0);g.on(&quot;loaded&quot;,function(){g.isDestroyed()||g.isDetached()||(b(g),k==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;g.config.autoUpdateElement&amp;&amp;a.$.form&amp;&amp;g._attachToForm(),g.setMode(g.config.startupMode,function(){g.resetDirty();g.status=
&quot;ready&quot;;g.fireOnce(&quot;instanceReady&quot;);CKEDITOR.fire(&quot;instanceReady&quot;,null,g)}))});g.on(&quot;destroy&quot;,d);return g}function d(){var a=this.container,b=this.element;a&amp;&amp;(a.clearCustomData(),a.remove());b&amp;&amp;(b.clearCustomData(),this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;(b.show(),this._.required&amp;&amp;b.setAttribute(&quot;required&quot;,&quot;required&quot;)),delete this.element)}function b(a){var b=a.name,d=a.element,k=a.elementMode,g=a.fire(&quot;uiSpace&quot;,{space:&quot;top&quot;,html:&quot;&quot;}).html,l=a.fire(&quot;uiSpace&quot;,{space:&quot;bottom&quot;,html:&quot;&quot;}).html,
u=new CKEDITOR.template(&#039;\x3c{outerEl} id\x3d&quot;cke_{name}&quot; class\x3d&quot;{id} cke cke_reset cke_chrome cke_editor_{name} cke_{langDir} &#039;+CKEDITOR.env.cssClass+&#039;&quot;  dir\x3d&quot;{langDir}&quot; lang\x3d&quot;{langCode}&quot; role\x3d&quot;application&quot;&#039;+(a.title?&#039; aria-labelledby\x3d&quot;cke_{name}_arialbl&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+(a.title?&#039;\x3cspan id\x3d&quot;cke_{name}_arialbl&quot; class\x3d&quot;cke_voice_label&quot;\x3e{voiceLabel}\x3c/span\x3e&#039;:&quot;&quot;)+&#039;\x3c{outerEl} class\x3d&quot;cke_inner cke_reset&quot; role\x3d&quot;presentation&quot;\x3e{topHtml}\x3c{outerEl} id\x3d&quot;{contentId}&quot; class\x3d&quot;cke_contents cke_reset&quot; role\x3d&quot;presentation&quot;\x3e\x3c/{outerEl}\x3e{bottomHtml}\x3c/{outerEl}\x3e\x3c/{outerEl}\x3e&#039;),
b=CKEDITOR.dom.element.createFromHtml(u.output({id:a.id,name:b,langDir:a.lang.dir,langCode:a.langCode,voiceLabel:a.title,topHtml:g?&#039;\x3cspan id\x3d&quot;&#039;+a.ui.spaceId(&quot;top&quot;)+&#039;&quot; class\x3d&quot;cke_top cke_reset_all&quot; role\x3d&quot;presentation&quot; style\x3d&quot;height:auto&quot;\x3e&#039;+g+&quot;\x3c/span\x3e&quot;:&quot;&quot;,contentId:a.ui.spaceId(&quot;contents&quot;),bottomHtml:l?&#039;\x3cspan id\x3d&quot;&#039;+a.ui.spaceId(&quot;bottom&quot;)+&#039;&quot; class\x3d&quot;cke_bottom cke_reset_all&quot; role\x3d&quot;presentation&quot;\x3e&#039;+l+&quot;\x3c/span\x3e&quot;:&quot;&quot;,outerEl:CKEDITOR.env.ie?&quot;span&quot;:&quot;div&quot;}));k==CKEDITOR.ELEMENT_MODE_REPLACE?
(d.hide(),b.insertAfter(d)):d.append(b);a.container=b;a.ui.contentsElement=a.ui.space(&quot;contents&quot;);g&amp;&amp;a.ui.space(&quot;top&quot;).unselectable();l&amp;&amp;a.ui.space(&quot;bottom&quot;).unselectable();d=a.config.width;k=a.config.height;d&amp;&amp;b.setStyle(&quot;width&quot;,CKEDITOR.tools.cssLength(d));k&amp;&amp;a.ui.space(&quot;contents&quot;).setStyle(&quot;height&quot;,CKEDITOR.tools.cssLength(k));b.disableContextMenu();CKEDITOR.env.webkit&amp;&amp;b.on(&quot;focus&quot;,function(){a.focus()});a.fireOnce(&quot;uiReady&quot;)}CKEDITOR.replace=function(b,d){return a(b,d,null,CKEDITOR.ELEMENT_MODE_REPLACE)};
CKEDITOR.appendTo=function(b,d,h){return a(b,d,h,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var a=document.getElementsByTagName(&quot;textarea&quot;),b=0;b&lt;a.length;b++){var d=null,k=a[b];if(k.name||k.id){if(&quot;string&quot;==typeof arguments[0]){if(!(new RegExp(&quot;(?:^|\\s)&quot;+arguments[0]+&quot;(?:$|\\s)&quot;)).test(k.className))continue}else if(&quot;function&quot;==typeof arguments[0]&amp;&amp;(d={},!1===arguments[0](k,d)))continue;this.replace(k,d)}}};CKEDITOR.editor.prototype.addMode=function(a,b){(this._.modes||(this._.modes=
{}))[a]=b};CKEDITOR.editor.prototype.setMode=function(a,b){var d=this,k=this._.modes;if(a!=d.mode&amp;&amp;k&amp;&amp;k[a]){d.fire(&quot;beforeSetMode&quot;,a);if(d.mode){var g=d.checkDirty(),k=d._.previousModeData,l,u=0;d.fire(&quot;beforeModeUnload&quot;);d.editable(0);d._.previousMode=d.mode;d._.previousModeData=l=d.getData(1);&quot;source&quot;==d.mode&amp;&amp;k==l&amp;&amp;(d.fire(&quot;lockSnapshot&quot;,{forceUpdate:!0}),u=1);d.ui.space(&quot;contents&quot;).setHtml(&quot;&quot;);d.mode=&quot;&quot;}else d._.previousModeData=d.getData(1);this._.modes[a](function(){d.mode=a;void 0!==g&amp;&amp;!g&amp;&amp;
d.resetDirty();u?d.fire(&quot;unlockSnapshot&quot;):&quot;wysiwyg&quot;==a&amp;&amp;d.fire(&quot;saveSnapshot&quot;);setTimeout(function(){d.isDestroyed()||d.isDetached()||(d.fire(&quot;mode&quot;),b&amp;&amp;b.call(d))},0)})}};CKEDITOR.editor.prototype.resize=function(a,b,d,k){var g=this.container,l=this.ui.space(&quot;contents&quot;),u=CKEDITOR.env.webkit&amp;&amp;this.document&amp;&amp;this.document.getWindow().$.frameElement;k=k?this.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_inner&quot;)}):g;a=CKEDITOR.tools.convertToPx(CKEDITOR.tools.cssLength(a));
k.setSize(&quot;width&quot;,a,!0);u&amp;&amp;(u.style.width=&quot;1%&quot;);b=CKEDITOR.tools.convertToPx(CKEDITOR.tools.cssLength(b));var e=(k.$.offsetHeight||0)-(l.$.clientHeight||0),g=Math.max(b-(d?0:e),0);b=d?b+e:b;l.setStyle(&quot;height&quot;,CKEDITOR.tools.cssLength(g));u&amp;&amp;(u.style.width=&quot;100%&quot;);this.fire(&quot;resize&quot;,{outerHeight:b,contentsHeight:g,outerWidth:a||k.getSize(&quot;width&quot;)})};CKEDITOR.editor.prototype.getResizable=function(a){return a?this.ui.space(&quot;contents&quot;):this.container};CKEDITOR.domReady(function(){CKEDITOR.replaceClass&amp;&amp;
CKEDITOR.replaceAll(CKEDITOR.replaceClass)})})();CKEDITOR.config.startupMode=&quot;wysiwyg&quot;;
(function(){function a(a){var b=a.editor,e=a.data.path,f=e.blockLimit,g=a.data.selection,r=g.getRanges()[0],h;if(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.needsBrFiller)if(g=d(g,e))g.appendBogus(),h=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge||CKEDITOR.env.edge&amp;&amp;b._.previousActive;k(b,e.block,f)&amp;&amp;r.collapsed&amp;&amp;!r.getCommonAncestor().isReadOnly()&amp;&amp;(e=r.clone(),e.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS),f=new CKEDITOR.dom.walker(e),f.guard=function(a){return!c(a)||a.type==CKEDITOR.NODE_COMMENT||a.isReadOnly()},
!f.checkForward()||e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock())&amp;&amp;(b=r.fixBlock(!0,b.activeEnterMode==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;),CKEDITOR.env.needsBrFiller||(b=b.getFirst(c))&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;CKEDITOR.tools.trim(b.getText()).match(/^(?:&amp;nbsp;|\xa0)$/)&amp;&amp;b.remove(),h=1,a.cancel());h&amp;&amp;r.select()}function d(a,b){if(a.isFake)return 0;var d=b.block||b.blockLimit,e=d&amp;&amp;d.getLast(c);if(!(!d||!d.isBlockBoundary()||e&amp;&amp;e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.isBlockBoundary()||d.is(&quot;pre&quot;)||d.getBogus()))return d}
function b(a){var b=a.data.getTarget();b.is(&quot;input&quot;)&amp;&amp;(b=b.getAttribute(&quot;type&quot;),&quot;submit&quot;!=b&amp;&amp;&quot;reset&quot;!=b||a.data.preventDefault())}function c(a){return x(a)&amp;&amp;w(a)}function f(a,b){return function(c){var d=c.data.$.toElement||c.data.$.fromElement||c.data.$.relatedTarget;(d=d&amp;&amp;d.nodeType==CKEDITOR.NODE_ELEMENT?new CKEDITOR.dom.element(d):null)&amp;&amp;(b.equals(d)||b.contains(d))||a.call(this,c)}}function h(a){function b(a){return function(b,e){e&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.is(f)&amp;&amp;(d=b);if(!(e||!c(b)||
a&amp;&amp;H(b)))return!1}}var d,e=a.getRanges()[0];a=a.root;var f={table:1,ul:1,ol:1,dl:1};if(e.startPath().contains(f)){var r=e.clone();r.collapse(1);r.setStartAt(a,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(r);a.guard=b();a.checkBackward();if(d)return r=e.clone(),r.collapse(),r.setEndAt(d,CKEDITOR.POSITION_AFTER_END),a=new CKEDITOR.dom.walker(r),a.guard=b(!0),d=!1,a.checkForward(),d}return null}function k(a,b,c){return!1!==a.config.autoParagraph&amp;&amp;a.activeEnterMode!=CKEDITOR.ENTER_BR&amp;&amp;(a.editable().equals(c)&amp;&amp;
!b||b&amp;&amp;&quot;true&quot;==b.getAttribute(&quot;contenteditable&quot;))}function g(a){return a.activeEnterMode!=CKEDITOR.ENTER_BR&amp;&amp;!1!==a.config.autoParagraph?a.activeEnterMode==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;:!1}function l(a){a&amp;&amp;a.isEmptyInlineRemoveable()&amp;&amp;a.remove()}function u(a){var b=a.editor;b.getSelection().scrollIntoView();setTimeout(function(){b.fire(&quot;saveSnapshot&quot;)},0)}function e(a,b,c){var d=a.getCommonAncestor(b);for(b=a=c?b:a;(a=a.getParent())&amp;&amp;!d.equals(a)&amp;&amp;1==a.getChildCount();)b=a;b.remove()}var x,w,z,H,t,
n,L,y,F,I;CKEDITOR.editable=CKEDITOR.tools.createClass({base:CKEDITOR.dom.element,$:function(a,b){this.base(b.$||b);this.editor=a;this.status=&quot;unloaded&quot;;this.hasFocus=!1;this.setup()},proto:{focus:function(){var a;if(CKEDITOR.env.webkit&amp;&amp;!this.hasFocus&amp;&amp;(a=this.editor._.previousActive||this.getDocument().getActive(),this.contains(a))){a.focus();return}CKEDITOR.env.edge&amp;&amp;14&lt;CKEDITOR.env.version&amp;&amp;!this.hasFocus&amp;&amp;this.getDocument().equals(CKEDITOR.document)&amp;&amp;(this.editor._.previousScrollTop=this.$.scrollTop);
try{if(!CKEDITOR.env.ie||CKEDITOR.env.edge&amp;&amp;14&lt;CKEDITOR.env.version||!this.getDocument().equals(CKEDITOR.document))if(CKEDITOR.env.chrome){var b=this.$.scrollTop;this.$.focus();this.$.scrollTop=b}else this.$.focus();else this.$.setActive()}catch(c){if(!CKEDITOR.env.ie)throw c;}CKEDITOR.env.safari&amp;&amp;!this.isInline()&amp;&amp;(a=CKEDITOR.document.getActive(),a.equals(this.getWindow().getFrame())||this.getWindow().focus())},on:function(a,b){var c=Array.prototype.slice.call(arguments,0);CKEDITOR.env.ie&amp;&amp;/^focus|blur$/.exec(a)&amp;&amp;
(a=&quot;focus&quot;==a?&quot;focusin&quot;:&quot;focusout&quot;,b=f(b,this),c[0]=a,c[1]=b);return CKEDITOR.dom.element.prototype.on.apply(this,c)},attachListener:function(a){!this._.listeners&amp;&amp;(this._.listeners=[]);var b=Array.prototype.slice.call(arguments,1),b=a.on.apply(a,b);this._.listeners.push(b);return b},clearListeners:function(){var a=this._.listeners;try{for(;a.length;)a.pop().removeListener()}catch(b){}},restoreAttrs:function(){var a=this._.attrChanges,b,c;for(c in a)a.hasOwnProperty(c)&amp;&amp;(b=a[c],null!==b?this.setAttribute(c,
b):this.removeAttribute(c))},attachClass:function(a){var b=this.getCustomData(&quot;classes&quot;);this.hasClass(a)||(!b&amp;&amp;(b=[]),b.push(a),this.setCustomData(&quot;classes&quot;,b),this.addClass(a))},changeAttr:function(a,b){var c=this.getAttribute(a);b!==c&amp;&amp;(!this._.attrChanges&amp;&amp;(this._.attrChanges={}),a in this._.attrChanges||(this._.attrChanges[a]=c),this.setAttribute(a,b))},insertText:function(a){this.editor.focus();this.insertHtml(this.transformPlainTextToHtml(a),&quot;text&quot;)},transformPlainTextToHtml:function(a){var b=
this.editor.getSelection().getStartElement().hasAscendant(&quot;pre&quot;,!0)?CKEDITOR.ENTER_BR:this.editor.activeEnterMode;return CKEDITOR.tools.transformPlainTextToHtml(a,b)},insertHtml:function(a,b,c){var d=this.editor;d.focus();d.fire(&quot;saveSnapshot&quot;);c||(c=d.getSelection().getRanges()[0]);n(this,b||&quot;html&quot;,a,c);c.select();u(this);this.editor.fire(&quot;afterInsertHtml&quot;,{})},insertHtmlIntoRange:function(a,b,c){n(this,c||&quot;html&quot;,a,b);this.editor.fire(&quot;afterInsertHtml&quot;,{intoRange:b})},insertElement:function(a,b){var d=
this.editor;d.focus();d.fire(&quot;saveSnapshot&quot;);var e=d.activeEnterMode,d=d.getSelection(),f=a.getName(),f=CKEDITOR.dtd.$block[f];b||(b=d.getRanges()[0]);this.insertElementIntoRange(a,b)&amp;&amp;(b.moveToPosition(a,CKEDITOR.POSITION_AFTER_END),f&amp;&amp;((f=a.getNext(function(a){return c(a)&amp;&amp;!H(a)}))&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(CKEDITOR.dtd.$block)?f.getDtd()[&quot;#&quot;]?b.moveToElementEditStart(f):b.moveToElementEditEnd(a):f||e==CKEDITOR.ENTER_BR||(f=b.fixBlock(!0,e==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;),b.moveToElementEditStart(f))));
d.selectRanges([b]);u(this)},insertElementIntoSelection:function(a){this.insertElement(a)},insertElementIntoRange:function(a,b){var c=this.editor,d=c.config.enterMode,e=a.getName(),f=CKEDITOR.dtd.$block[e];if(b.checkReadOnly())return!1;b.deleteContents(1);b.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(b.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})?L(b):b.startContainer.is(CKEDITOR.dtd.$list)&amp;&amp;y(b));var g,B;if(f)for(;(g=b.getCommonAncestor(0,1))&amp;&amp;(B=CKEDITOR.dtd[g.getName()])&amp;&amp;(!B||!B[e]);)if(g.getName()in
CKEDITOR.dtd.span){var f=b.splitElement(g),h=b.createBookmark();l(g);l(f);b.moveToBookmark(h)}else b.checkStartOfBlock()&amp;&amp;b.checkEndOfBlock()?(b.setStartBefore(g),b.collapse(!0),g.remove()):b.splitBlock(d==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;,c.editable());b.insertNode(a);return!0},setData:function(a,b){b||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);this.fixInitialSelection();&quot;unloaded&quot;==this.status&amp;&amp;(this.status=&quot;ready&quot;);this.editor.fire(&quot;dataReady&quot;)},getData:function(a){var b=this.getHtml();
a||(b=this.editor.dataProcessor.toDataFormat(b));return b},setReadOnly:function(a){this.setAttribute(&quot;contenteditable&quot;,!a)},detach:function(){this.status=&quot;detached&quot;;this.editor.setData(this.editor.getData(),{internal:!0});this.clearListeners();try{this._.cleanCustomData()}catch(a){if(!CKEDITOR.env.ie||-2146828218!==a.number)throw a;}this.editor.fire(&quot;contentDomUnload&quot;);delete this.editor.document;delete this.editor.window;delete this.editor},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},
fixInitialSelection:function(){function a(){var b=c.getDocument().$,d=b.getSelection(),e;a:if(d.anchorNode&amp;&amp;d.anchorNode==c.$)e=!0;else{if(CKEDITOR.env.webkit&amp;&amp;(e=c.getDocument().getActive())&amp;&amp;e.equals(c)&amp;&amp;!d.anchorNode){e=!0;break a}e=void 0}e&amp;&amp;(e=new CKEDITOR.dom.range(c),e.moveToElementEditStart(c),b=b.createRange(),b.setStart(e.startContainer.$,e.startOffset),b.collapse(!0),d.removeAllRanges(),d.addRange(b))}function b(){var a=c.getDocument().$,d=a.selection,e=c.getDocument().getActive();&quot;None&quot;==
d.type&amp;&amp;e.equals(c)&amp;&amp;(d=new CKEDITOR.dom.range(c),a=a.body.createTextRange(),d.moveToElementEditStart(c),d=d.startContainer,d.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(d=d.getParent()),a.moveToElementText(d.$),a.collapse(!0),a.select())}var c=this;if(CKEDITOR.env.ie&amp;&amp;(9&gt;CKEDITOR.env.version||CKEDITOR.env.quirks))this.hasFocus&amp;&amp;(this.focus(),b());else if(this.hasFocus)this.focus(),a();else this.once(&quot;focus&quot;,function(){a()},null,null,-999)},getHtmlFromRange:function(a){if(a.collapsed)return new CKEDITOR.dom.documentFragment(a.document);
a={doc:this.getDocument(),range:a.clone()};F.eol.detect(a,this);F.bogus.exclude(a);F.cell.shrink(a);a.fragment=a.range.cloneContents();F.tree.rebuild(a,this);F.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,b){var c=I,d={range:a,doc:a.document},e=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),e;a.enlarge(CKEDITOR.ENLARGE_INLINE,1);c.table.detectPurge(d);d.bookmark=a.createBookmark();delete d.range;var f=this.editor.createRange();
f.moveToPosition(d.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);d.targetBookmark=f.createBookmark();c.list.detectMerge(d,this);c.table.detectRanges(d,this);c.block.detectMerge(d,this);d.tableContentsRanges?(c.table.deleteRanges(d),a.moveToBookmark(d.bookmark),d.range=a):(a.moveToBookmark(d.bookmark),d.range=a,a.extractContents(c.detectExtractMerge(d)));a.moveToBookmark(d.targetBookmark);a.optimize();c.fixUneditableRangePosition(a);c.list.merge(d,this);c.table.purge(d,this);c.block.merge(d,this);
if(b){c=a.startPath();if(d=a.checkStartOfBlock()&amp;&amp;a.checkEndOfBlock()&amp;&amp;c.block&amp;&amp;!a.root.equals(c.block)){a:{var d=c.block.getElementsByTag(&quot;span&quot;),f=0,g;if(d)for(;g=d.getItem(f++);)if(!w(g)){d=!0;break a}d=!1}d=!d}d&amp;&amp;(a.moveToPosition(c.block,CKEDITOR.POSITION_BEFORE_START),c.block.remove())}else c.autoParagraph(this.editor,a),z(a.startContainer)&amp;&amp;a.startContainer.appendBogus();a.startContainer.mergeSiblings();return e},setup:function(){var a=this.editor;this.attachListener(a,&quot;beforeGetData&quot;,function(){var b=
this.getData();this.is(&quot;textarea&quot;)||!1!==a.config.ignoreEmptyParagraph&amp;&amp;(b=b.replace(t,function(a,b){return b}));a.setData(b,null,1)},this);this.attachListener(a,&quot;getSnapshot&quot;,function(a){a.data=this.getData(1)},this);this.attachListener(a,&quot;afterSetData&quot;,function(){this.setData(a.getData(1))},this);this.attachListener(a,&quot;loadSnapshot&quot;,function(a){this.setData(a.data,1)},this);this.attachListener(a,&quot;beforeFocus&quot;,function(){var b=a.getSelection();(b=b&amp;&amp;b.getNative())&amp;&amp;&quot;Control&quot;==b.type||this.focus()},
this);this.attachListener(a,&quot;insertHtml&quot;,function(a){this.insertHtml(a.data.dataValue,a.data.mode,a.data.range)},this);this.attachListener(a,&quot;insertElement&quot;,function(a){this.insertElement(a.data)},this);this.attachListener(a,&quot;insertText&quot;,function(a){this.insertText(a.data)},this);this.setReadOnly(a.readOnly);this.attachClass(&quot;cke_editable&quot;);a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?this.attachClass(&quot;cke_editable_inline&quot;):a.elementMode!=CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;a.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||
this.attachClass(&quot;cke_editable_themed&quot;);this.attachClass(&quot;cke_contents_&quot;+a.config.contentsLangDirection);a.keystrokeHandler.blockedKeystrokes[8]=+a.readOnly;a.keystrokeHandler.attach(this);this.on(&quot;blur&quot;,function(){this.hasFocus=!1},null,null,-1);this.on(&quot;focus&quot;,function(){this.hasFocus=!0},null,null,-1);if(CKEDITOR.env.webkit)this.on(&quot;scroll&quot;,function(){a._.previousScrollTop=a.editable().$.scrollTop},null,null,-1);if(CKEDITOR.env.edge&amp;&amp;14&lt;CKEDITOR.env.version){var d=function(){var b=a.editable();
null!=a._.previousScrollTop&amp;&amp;b.getDocument().equals(CKEDITOR.document)&amp;&amp;(b.$.scrollTop=a._.previousScrollTop,a._.previousScrollTop=null,this.removeListener(&quot;scroll&quot;,d))};this.on(&quot;scroll&quot;,d)}a.focusManager.add(this);this.equals(CKEDITOR.document.getActive())&amp;&amp;(this.hasFocus=!0,a.once(&quot;contentDom&quot;,function(){a.focusManager.focus(this)},this));this.isInline()&amp;&amp;this.changeAttr(&quot;tabindex&quot;,a.tabIndex);if(!this.is(&quot;textarea&quot;)){a.document=this.getDocument();a.window=this.getWindow();var f=a.document;this.changeAttr(&quot;spellcheck&quot;,
!a.config.disableNativeSpellChecker);var g=a.config.contentsLangDirection;this.getDirection(1)!=g&amp;&amp;this.changeAttr(&quot;dir&quot;,g);var k=CKEDITOR.getCss();if(k){var g=f.getHead(),r=g.getCustomData(&quot;stylesheet&quot;);r?k!=r.getText()&amp;&amp;(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?r.$.styleSheet.cssText=k:r.setText(k)):(k=f.appendStyleText(k),k=new CKEDITOR.dom.element(k.ownerNode||k.owningElement),g.setCustomData(&quot;stylesheet&quot;,k),k.data(&quot;cke-temp&quot;,1))}g=f.getCustomData(&quot;stylesheet_ref&quot;)||0;f.setCustomData(&quot;stylesheet_ref&quot;,
g+1);this.setCustomData(&quot;cke_includeReadonly&quot;,!a.config.disableReadonlyStyling);this.attachListener(this,&quot;click&quot;,function(a){a=a.data;var b=(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains(&quot;a&quot;);b&amp;&amp;2!=a.$.button&amp;&amp;b.isReadOnly()&amp;&amp;a.preventDefault()});var D={8:1,46:1};this.attachListener(a,&quot;key&quot;,function(b){if(a.readOnly)return!0;var c=b.data.domEvent.getKey(),d;b=a.getSelection();if(0!==b.getRanges().length){if(c in D){var e,f=b.getRanges()[0],r=f.startPath(),g,q,k,c=8==c;CKEDITOR.env.ie&amp;&amp;
11&gt;CKEDITOR.env.version&amp;&amp;(e=b.getSelectedElement())||(e=h(b))?(a.fire(&quot;saveSnapshot&quot;),f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START),e.remove(),f.select(),a.fire(&quot;saveSnapshot&quot;),d=1):f.collapsed&amp;&amp;((g=r.block)&amp;&amp;(k=g[c?&quot;getPrevious&quot;:&quot;getNext&quot;](x))&amp;&amp;k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.is(&quot;table&quot;)&amp;&amp;f[c?&quot;checkStartOfBlock&quot;:&quot;checkEndOfBlock&quot;]()?(a.fire(&quot;saveSnapshot&quot;),f[c?&quot;checkEndOfBlock&quot;:&quot;checkStartOfBlock&quot;]()&amp;&amp;g.remove(),f[&quot;moveToElementEdit&quot;+(c?&quot;End&quot;:&quot;Start&quot;)](k),f.select(),a.fire(&quot;saveSnapshot&quot;),
d=1):r.blockLimit&amp;&amp;r.blockLimit.is(&quot;td&quot;)&amp;&amp;(q=r.blockLimit.getAscendant(&quot;table&quot;))&amp;&amp;f.checkBoundaryOfElement(q,c?CKEDITOR.START:CKEDITOR.END)&amp;&amp;(k=q[c?&quot;getPrevious&quot;:&quot;getNext&quot;](x))?(a.fire(&quot;saveSnapshot&quot;),f[&quot;moveToElementEdit&quot;+(c?&quot;End&quot;:&quot;Start&quot;)](k),f.checkStartOfBlock()&amp;&amp;f.checkEndOfBlock()?k.remove():f.select(),a.fire(&quot;saveSnapshot&quot;),d=1):(q=r.contains([&quot;td&quot;,&quot;th&quot;,&quot;caption&quot;]))&amp;&amp;f.checkBoundaryOfElement(q,c?CKEDITOR.START:CKEDITOR.END)&amp;&amp;(d=1))}return!d}});a.blockless&amp;&amp;CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.needsBrFiller&amp;&amp;
this.attachListener(this,&quot;keyup&quot;,function(b){b.data.getKeystroke()in D&amp;&amp;!this.getFirst(c)&amp;&amp;(this.appendBogus(),b=a.createRange(),b.moveToPosition(this,CKEDITOR.POSITION_AFTER_START),b.select())});this.attachListener(this,&quot;dblclick&quot;,function(b){if(a.readOnly)return!1;b={element:b.data.getTarget()};a.fire(&quot;doubleclick&quot;,b)});CKEDITOR.env.ie&amp;&amp;this.attachListener(this,&quot;click&quot;,b);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge||this.attachListener(this,&quot;mousedown&quot;,function(b){var c=b.data.getTarget();c.is(&quot;img&quot;,&quot;hr&quot;,
&quot;input&quot;,&quot;textarea&quot;,&quot;select&quot;)&amp;&amp;!c.isReadOnly()&amp;&amp;(a.getSelection().selectElement(c),c.is(&quot;input&quot;,&quot;textarea&quot;,&quot;select&quot;)&amp;&amp;b.data.preventDefault())});CKEDITOR.env.edge&amp;&amp;this.attachListener(this,&quot;mouseup&quot;,function(b){(b=b.data.getTarget())&amp;&amp;b.is(&quot;img&quot;)&amp;&amp;!b.isReadOnly()&amp;&amp;a.getSelection().selectElement(b)});CKEDITOR.env.gecko&amp;&amp;this.attachListener(this,&quot;mouseup&quot;,function(b){if(2==b.data.$.button&amp;&amp;(b=b.data.getTarget(),!b.getAscendant(&quot;table&quot;)&amp;&amp;!b.getOuterHtml().replace(t,&quot;&quot;))){var c=a.createRange();c.moveToElementEditStart(b);
c.select(!0)}});CKEDITOR.env.webkit&amp;&amp;(this.attachListener(this,&quot;click&quot;,function(a){a.data.getTarget().is(&quot;input&quot;,&quot;select&quot;)&amp;&amp;a.data.preventDefault()}),this.attachListener(this,&quot;mouseup&quot;,function(a){a.data.getTarget().is(&quot;input&quot;,&quot;textarea&quot;)&amp;&amp;a.data.preventDefault()}));CKEDITOR.env.webkit&amp;&amp;this.attachListener(a,&quot;key&quot;,function(b){if(a.readOnly)return!0;var c=b.data.domEvent.getKey();if(c in D&amp;&amp;(b=a.getSelection(),0!==b.getRanges().length)){var c=8==c,d=b.getRanges()[0];b=d.startPath();if(d.collapsed)a:{var f=
b.block;if(f&amp;&amp;d[c?&quot;checkStartOfBlock&quot;:&quot;checkEndOfBlock&quot;]()&amp;&amp;d.moveToClosestEditablePosition(f,!c)&amp;&amp;d.collapsed){if(d.startContainer.type==CKEDITOR.NODE_ELEMENT){var p=d.startContainer.getChild(d.startOffset-(c?1:0));if(p&amp;&amp;p.type==CKEDITOR.NODE_ELEMENT&amp;&amp;p.is(&quot;hr&quot;)){a.fire(&quot;saveSnapshot&quot;);p.remove();b=!0;break a}}d=d.startPath().block;if(!d||d&amp;&amp;d.contains(f))b=void 0;else{a.fire(&quot;saveSnapshot&quot;);var r;(r=(c?d:f).getBogus())&amp;&amp;r.remove();r=a.getSelection();p=r.createBookmarks();(c?f:d).moveChildren(c?
d:f,!1);b.lastElement.mergeSiblings();e(f,d,!c);r.selectBookmarks(p);b=!0}}else b=!1}else c=d,r=b.block,d=c.endPath().block,r&amp;&amp;d&amp;&amp;!r.equals(d)?(a.fire(&quot;saveSnapshot&quot;),(f=r.getBogus())&amp;&amp;f.remove(),c.enlarge(CKEDITOR.ENLARGE_INLINE),c.deleteContents(),d.getParent()&amp;&amp;(d.moveChildren(r,!1),b.lastElement.mergeSiblings(),e(r,d,!0)),c=a.getSelection().getRanges()[0],c.collapse(1),c.optimize(),&quot;&quot;===c.startContainer.getHtml()&amp;&amp;c.startContainer.appendBogus(),c.select(),b=!0):b=!1;if(!b)return;a.getSelection().scrollIntoView();
a.fire(&quot;saveSnapshot&quot;);return!1}},this,null,100)}},getUniqueId:function(){var a;try{this._.expandoNumber=a=CKEDITOR.dom.domObject.prototype.getUniqueId.call(this)}catch(b){a=this._&amp;&amp;this._.expandoNumber}return a}},_:{cleanCustomData:function(){this.removeClass(&quot;cke_editable&quot;);this.restoreAttrs();for(var a=this.removeCustomData(&quot;classes&quot;);a&amp;&amp;a.length;)this.removeClass(a.pop());if(!this.is(&quot;textarea&quot;)){var a=this.getDocument(),b=a.getHead();if(b.getCustomData(&quot;stylesheet&quot;)){var c=a.getCustomData(&quot;stylesheet_ref&quot;);
--c?a.setCustomData(&quot;stylesheet_ref&quot;,c):(a.removeCustomData(&quot;stylesheet_ref&quot;),b.removeCustomData(&quot;stylesheet&quot;).remove())}}}}});CKEDITOR.editor.prototype.editable=function(a){var b=this._.editable;if(b&amp;&amp;a)return 0;if(!arguments.length)return b;a?b=a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(b&amp;&amp;b.detach(),b=null);return this._.editable=b};CKEDITOR.on(&quot;instanceLoaded&quot;,function(b){var c=b.editor;c.on(&quot;insertElement&quot;,function(a){a=a.data;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(a.is(&quot;input&quot;)||
a.is(&quot;textarea&quot;))&amp;&amp;(&quot;false&quot;!=a.getAttribute(&quot;contentEditable&quot;)&amp;&amp;a.data(&quot;cke-editable&quot;,a.hasAttribute(&quot;contenteditable&quot;)?&quot;true&quot;:&quot;1&quot;),a.setAttribute(&quot;contentEditable&quot;,!1))});c.on(&quot;selectionChange&quot;,function(b){if(!c.readOnly){var d=c.getSelection();d&amp;&amp;!d.isLocked&amp;&amp;(d=c.checkDirty(),c.fire(&quot;lockSnapshot&quot;),a(b),c.fire(&quot;unlockSnapshot&quot;),!d&amp;&amp;c.resetDirty())}})});CKEDITOR.on(&quot;instanceCreated&quot;,function(a){var b=a.editor;b.on(&quot;mode&quot;,function(){var a=b.editable();if(a&amp;&amp;a.isInline()){var c=b.title;a.changeAttr(&quot;role&quot;,
&quot;textbox&quot;);a.changeAttr(&quot;aria-multiline&quot;,&quot;true&quot;);a.changeAttr(&quot;aria-label&quot;,c);c&amp;&amp;a.changeAttr(&quot;title&quot;,c);var d=b.fire(&quot;ariaEditorHelpLabel&quot;,{}).label;if(d&amp;&amp;(c=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?&quot;top&quot;:&quot;contents&quot;))){var e=CKEDITOR.tools.getNextId(),d=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan id\x3d&quot;&#039;+e+&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+d+&quot;\x3c/span\x3e&quot;);c.append(d);a.changeAttr(&quot;aria-describedby&quot;,e)}}})});CKEDITOR.addCss(&quot;.cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}&quot;);
x=CKEDITOR.dom.walker.whitespaces(!0);w=CKEDITOR.dom.walker.bookmark(!1,!0);z=CKEDITOR.dom.walker.empty();H=CKEDITOR.dom.walker.bogus();t=/(^|&lt;body\b[^&gt;]*&gt;)\s*&lt;(p|div|address|h\d|center|pre)[^&gt;]*&gt;\s*(?:&lt;br[^&gt;]*&gt;|&amp;nbsp;|\u00A0|&amp;#160;)?\s*(:?&lt;\/\2&gt;)?\s*(?=$|&lt;\/body&gt;)/gi;n=function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT}function b(c,d){var e,f,r,g,h=[],k=d.range.startContainer;e=d.range.startPath();for(var k=B[k.getName()],D=0,v=c.getChildren(),l=v.count(),n=-1,A=-1,u=0,S=e.contains(B.$list);D&lt;
l;++D)e=v.getItem(D),a(e)?(r=e.getName(),S&amp;&amp;r in CKEDITOR.dtd.$list?h=h.concat(b(e,d)):(g=!!k[r],&quot;br&quot;!=r||!e.data(&quot;cke-eol&quot;)||D&amp;&amp;D!=l-1||(u=(f=D?h[D-1].node:v.getItem(D+1))&amp;&amp;(!a(f)||!f.is(&quot;br&quot;)),f=f&amp;&amp;a(f)&amp;&amp;B.$block[f.getName()]),-1!=n||g||(n=D),g||(A=D),h.push({isElement:1,isLineBreak:u,isBlock:e.isBlockBoundary(),hasBlockSibling:f,node:e,name:r,allowed:g}),f=u=0)):h.push({isElement:0,node:e,allowed:1});-1&lt;n&amp;&amp;(h[n].firstNotAllowed=1);-1&lt;A&amp;&amp;(h[A].lastNotAllowed=1);return h}function d(b,c){var e=[],
f=b.getChildren(),r=f.count(),g,h=0,k=B[c],D=!b.is(B.$inline)||b.is(&quot;br&quot;);for(D&amp;&amp;e.push(&quot; &quot;);h&lt;r;h++)g=f.getItem(h),a(g)&amp;&amp;!g.is(k)?e=e.concat(d(g,c)):e.push(g);D&amp;&amp;e.push(&quot; &quot;);return e}function e(b){return a(b.startContainer)&amp;&amp;b.startContainer.getChild(b.startOffset-1)}function f(b){return b&amp;&amp;a(b)&amp;&amp;(b.is(B.$removeEmpty)||b.is(&quot;a&quot;)&amp;&amp;!b.isBlockBoundary())}function r(b,c,d,e){var f=b.clone(),g,h;f.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);(g=(new CKEDITOR.dom.walker(f)).next())&amp;&amp;a(g)&amp;&amp;v[g.getName()]&amp;&amp;
(h=g.getPrevious())&amp;&amp;a(h)&amp;&amp;!h.getParent().equals(b.startContainer)&amp;&amp;d.contains(h)&amp;&amp;e.contains(g)&amp;&amp;g.isIdentical(h)&amp;&amp;(g.moveChildren(h),g.remove(),r(b,c,d,e))}function h(b,c){function d(b,c){if(c.isBlock&amp;&amp;c.isElement&amp;&amp;!c.node.is(&quot;br&quot;)&amp;&amp;a(b)&amp;&amp;b.is(&quot;br&quot;))return b.remove(),1}var e=c.endContainer.getChild(c.endOffset),f=c.endContainer.getChild(c.endOffset-1);e&amp;&amp;d(e,b[b.length-1]);f&amp;&amp;d(f,b[0])&amp;&amp;(c.setEnd(c.endContainer,c.endOffset-1),c.collapse())}var B=CKEDITOR.dtd,v={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,
h6:1,ul:1,ol:1,li:1,pre:1,dl:1,blockquote:1},n={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},u=CKEDITOR.tools.extend({},B.$inline);delete u.br;return function(p,v,O,q){var G=p.editor,E=!1;&quot;unfiltered_html&quot;==v&amp;&amp;(v=&quot;html&quot;,E=!0);if(!q.checkReadOnly()){var w=(new CKEDITOR.dom.elementPath(q.startContainer,q.root)).blockLimit||q.root;v={type:v,dontFilter:E,editable:p,editor:G,range:q,blockLimit:w,mergeCandidates:[],zombies:[]};var E=v.range,w=v.mergeCandidates,J=&quot;html&quot;===v.type,x,t,z,y,H,U;&quot;text&quot;==v.type&amp;&amp;
E.shrink(CKEDITOR.SHRINK_ELEMENT,!0,!1)&amp;&amp;(t=CKEDITOR.dom.element.createFromHtml(&quot;\x3cspan\x3e\x26nbsp;\x3c/span\x3e&quot;,E.document),E.insertNode(t),E.setStartAfter(t));z=new CKEDITOR.dom.elementPath(E.startContainer);v.endPath=y=new CKEDITOR.dom.elementPath(E.endContainer);if(!E.collapsed){x=y.block||y.blockLimit;var aa=E.getCommonAncestor();x&amp;&amp;!x.equals(aa)&amp;&amp;!x.contains(aa)&amp;&amp;E.checkEndOfBlock()&amp;&amp;v.zombies.push(x);E.deleteContents()}for(;(H=e(E))&amp;&amp;a(H)&amp;&amp;H.isBlockBoundary()&amp;&amp;z.contains(H);)E.moveToPosition(H,
CKEDITOR.POSITION_BEFORE_END);r(E,v.blockLimit,z,y);t&amp;&amp;(E.setEndBefore(t),E.collapse(),t.remove());t=E.startPath();if(x=t.contains(f,!1,1))U=E.splitElement(x),v.inlineStylesRoot=x,v.inlineStylesPeak=t.lastElement;t=E.createBookmark();J&amp;&amp;(l(x),l(U));(x=t.startNode.getPrevious(c))&amp;&amp;a(x)&amp;&amp;f(x)&amp;&amp;w.push(x);(x=t.startNode.getNext(c))&amp;&amp;a(x)&amp;&amp;f(x)&amp;&amp;w.push(x);for(x=t.startNode;(x=x.getParent())&amp;&amp;f(x);)w.push(x);E.moveToBookmark(t);G.enterMode===CKEDITOR.ENTER_DIV&amp;&amp;&quot;&quot;===G.getData(!0)&amp;&amp;((G=p.getFirst())&amp;&amp;G.remove(),
q.setStartAt(p,CKEDITOR.POSITION_AFTER_START),q.collapse(!0));if(p=O){p=v.range;if(&quot;text&quot;==v.type&amp;&amp;v.inlineStylesRoot){q=v.inlineStylesPeak;G=q.getDocument().createText(&quot;{cke-peak}&quot;);for(U=v.inlineStylesRoot.getParent();!q.equals(U);)G=G.appendTo(q.clone()),q=q.getParent();O=G.getOuterHtml().split(&quot;{cke-peak}&quot;).join(O)}q=v.blockLimit.getName();if(/^\s+|\s+$/.test(O)&amp;&amp;&quot;span&quot;in CKEDITOR.dtd[q]){var V=&#039;\x3cspan data-cke-marker\x3d&quot;1&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;;O=V+O+V}O=v.editor.dataProcessor.toHtml(O,
{context:null,fixForBody:!1,protectedWhitespaces:!!V,dontFilter:v.dontFilter,filter:v.editor.activeFilter,enterMode:v.editor.activeEnterMode});q=p.document.createElement(&quot;body&quot;);q.setHtml(O);V&amp;&amp;(q.getFirst().remove(),q.getLast().remove());if((V=p.startPath().block)&amp;&amp;(1!=V.getChildCount()||!V.getBogus()))a:{var P;if(1==q.getChildCount()&amp;&amp;a(P=q.getFirst())&amp;&amp;P.is(n)&amp;&amp;!P.hasAttribute(&quot;contenteditable&quot;)){V=P.getElementsByTag(&quot;*&quot;);p=0;for(U=V.count();p&lt;U;p++)if(G=V.getItem(p),!G.is(u))break a;P.moveChildren(P.getParent(1));
P.remove()}}v.dataWrapper=q;p=O}if(p){P=v.range;p=P.document;q=v.blockLimit;U=0;var Q,V=[],F,I;O=t=0;var L,G=P.startContainer;H=v.endPath.elements[0];var Z,E=H.getPosition(G),w=!!H.getCommonAncestor(G)&amp;&amp;E!=CKEDITOR.POSITION_IDENTICAL&amp;&amp;!(E&amp;CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_IS_CONTAINED),G=b(v.dataWrapper,v);for(h(G,P);U&lt;G.length;U++){E=G[U];if(J=E.isLineBreak)J=P,x=q,y=z=void 0,E.hasBlockSibling?J=1:(z=J.startContainer.getAscendant(B.$block,1))&amp;&amp;z.is({div:1,p:1})?(y=z.getPosition(x),y==
CKEDITOR.POSITION_IDENTICAL||y==CKEDITOR.POSITION_CONTAINS?J=0:(x=J.splitElement(z),J.moveToPosition(x,CKEDITOR.POSITION_AFTER_START),J=1)):J=0;if(J)O=0&lt;U;else{J=P.startPath();!E.isBlock&amp;&amp;k(v.editor,J.block,J.blockLimit)&amp;&amp;(I=g(v.editor))&amp;&amp;(I=p.createElement(I),I.appendBogus(),P.insertNode(I),CKEDITOR.env.needsBrFiller&amp;&amp;(Q=I.getBogus())&amp;&amp;Q.remove(),P.moveToPosition(I,CKEDITOR.POSITION_BEFORE_END));if((J=P.startPath().block)&amp;&amp;!J.equals(F)){if(Q=J.getBogus())Q.remove(),V.push(J);F=J}E.firstNotAllowed&amp;&amp;
(t=1);if(t&amp;&amp;E.isElement){J=P.startContainer;for(x=null;J&amp;&amp;!B[J.getName()][E.name];){if(J.equals(q)){J=null;break}x=J;J=J.getParent()}if(J)x&amp;&amp;(L=P.splitElement(x),v.zombies.push(L),v.zombies.push(x));else{x=q.getName();Z=!U;J=U==G.length-1;x=d(E.node,x);z=[];y=x.length;for(var aa=0,ca=void 0,X=0,W=-1;aa&lt;y;aa++)ca=x[aa],&quot; &quot;==ca?(X||Z&amp;&amp;!aa||(z.push(new CKEDITOR.dom.text(&quot; &quot;)),W=z.length),X=1):(z.push(ca),X=0);J&amp;&amp;W==z.length&amp;&amp;z.pop();Z=z}}if(Z){for(;J=Z.pop();)P.insertNode(J);Z=0}else P.insertNode(E.node);
E.lastNotAllowed&amp;&amp;U&lt;G.length-1&amp;&amp;((L=w?H:L)&amp;&amp;P.setEndAt(L,CKEDITOR.POSITION_AFTER_START),t=0);P.collapse()}}1!=G.length?Q=!1:(Q=G[0],Q=Q.isElement&amp;&amp;&quot;false&quot;==Q.node.getAttribute(&quot;contenteditable&quot;));Q&amp;&amp;(O=!0,J=G[0].node,P.setStartAt(J,CKEDITOR.POSITION_BEFORE_START),P.setEndAt(J,CKEDITOR.POSITION_AFTER_END));v.dontMoveCaret=O;v.bogusNeededBlocks=V}Q=v.range;var Y;L=v.bogusNeededBlocks;for(Z=Q.createBookmark();F=v.zombies.pop();)F.getParent()&amp;&amp;(I=Q.clone(),I.moveToElementEditStart(F),I.removeEmptyBlocksAtEnd());
if(L)for(;F=L.pop();)CKEDITOR.env.needsBrFiller?F.appendBogus():F.append(Q.document.createText(&quot; &quot;));for(;F=v.mergeCandidates.pop();)F.mergeSiblings();Q.moveToBookmark(Z);if(!v.dontMoveCaret){for(F=e(Q);F&amp;&amp;a(F)&amp;&amp;!F.is(B.$empty);){if(F.isBlockBoundary())Q.moveToPosition(F,CKEDITOR.POSITION_BEFORE_END);else{if(f(F)&amp;&amp;F.getHtml().match(/(\s|&amp;nbsp;)$/g)){Y=null;break}Y=Q.clone();Y.moveToPosition(F,CKEDITOR.POSITION_BEFORE_END)}F=F.getLast(c)}Y&amp;&amp;Q.moveToRange(Y)}}}}();L=function(){function a(b){b=new CKEDITOR.dom.walker(b);
b.guard=function(a,b){if(b)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$tableContent)};b.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT};return b}function b(a,c,d){c=a.getDocument().createElement(c);a.append(c,d);return c}function c(a){var b=a.count(),d;for(b;0&lt;b--;)d=a.getItem(b),CKEDITOR.tools.trim(d.getHtml())||(d.appendBogus(),CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;d.getChildCount()&amp;&amp;d.getFirst().remove())}return function(d){var e=d.startContainer,f=e.getAscendant(&quot;table&quot;,
1),g=!1;c(f.getElementsByTag(&quot;td&quot;));c(f.getElementsByTag(&quot;th&quot;));f=d.clone();f.setStart(e,0);f=a(f).lastBackward();f||(f=d.clone(),f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END),f=a(f).lastForward(),g=!0);f||(f=e);f.is(&quot;table&quot;)?(d.setStartAt(f,CKEDITOR.POSITION_BEFORE_START),d.collapse(!0),f.remove()):(f.is({tbody:1,thead:1,tfoot:1})&amp;&amp;(f=b(f,&quot;tr&quot;,g)),f.is(&quot;tr&quot;)&amp;&amp;(f=b(f,f.getParent().is(&quot;thead&quot;)?&quot;th&quot;:&quot;td&quot;,g)),(e=f.getBogus())&amp;&amp;e.remove(),d.moveToPosition(f,g?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();
y=function(){function a(b){b=new CKEDITOR.dom.walker(b);b.guard=function(a,b){if(b)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$list)||a.is(CKEDITOR.dtd.$listItem)};b.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(CKEDITOR.dtd.$listItem)};return b}return function(b){var c=b.startContainer,d=!1,e;e=b.clone();e.setStart(c,0);e=a(e).lastBackward();e||(e=b.clone(),e.setEndAt(c,CKEDITOR.POSITION_BEFORE_END),e=a(e).lastForward(),d=!0);e||(e=c);e.is(CKEDITOR.dtd.$list)?
(b.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),b.collapse(!0),e.remove()):((c=e.getBogus())&amp;&amp;c.remove(),b.moveToPosition(e,d?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),b.select())}}();F={eol:{detect:function(a,b){var c=a.range,d=c.clone(),e=c.clone(),f=new CKEDITOR.dom.elementPath(c.startContainer,b),g=new CKEDITOR.dom.elementPath(c.endContainer,b);d.collapse(1);e.collapse();f.block&amp;&amp;d.checkBoundaryOfElement(f.block,CKEDITOR.END)&amp;&amp;(c.setStartAfter(f.block),a.prependEolBr=1);g.block&amp;&amp;
e.checkBoundaryOfElement(g.block,CKEDITOR.START)&amp;&amp;(c.setEndBefore(g.block),a.appendEolBr=1)},fix:function(a,b){var c=b.getDocument(),d;a.appendEolBr&amp;&amp;(d=this.createEolBr(c),a.fragment.append(d));!a.prependEolBr||d&amp;&amp;!d.getPrevious()||a.fragment.append(this.createEolBr(c),1)},createEolBr:function(a){return a.createElement(&quot;br&quot;,{attributes:{&quot;data-cke-eol&quot;:1}})}},bogus:{exclude:function(a){var b=a.range.getBoundaryNodes(),c=b.startNode,b=b.endNode;!b||!H(b)||c&amp;&amp;c.equals(b)||a.range.setEndBefore(b)}},
tree:{rebuild:function(a,b){var c=a.range,d=c.getCommonAncestor(),e=new CKEDITOR.dom.elementPath(d,b),f=new CKEDITOR.dom.elementPath(c.startContainer,b),c=new CKEDITOR.dom.elementPath(c.endContainer,b),g;d.type==CKEDITOR.NODE_TEXT&amp;&amp;(d=d.getParent());if(e.blockLimit.is({tr:1,table:1})){var h=e.contains(&quot;table&quot;).getParent();g=function(a){return!a.equals(h)}}else if(e.block&amp;&amp;e.block.is(CKEDITOR.dtd.$listItem)&amp;&amp;(f=f.contains(CKEDITOR.dtd.$list),c=c.contains(CKEDITOR.dtd.$list),!f.equals(c))){var k=e.contains(CKEDITOR.dtd.$list).getParent();
g=function(a){return!a.equals(k)}}g||(g=function(a){return!a.equals(e.block)&amp;&amp;!a.equals(e.blockLimit)});this.rebuildFragment(a,b,d,g)},rebuildFragment:function(a,b,c,d){for(var e;c&amp;&amp;!c.equals(b)&amp;&amp;d(c);)e=c.clone(0,1),a.fragment.appendTo(e),a.fragment=e,c=c.getParent()}},cell:{shrink:function(a){a=a.range;var b=a.startContainer,c=a.endContainer,d=a.startOffset,e=a.endOffset;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.equals(c)&amp;&amp;b.is(&quot;tr&quot;)&amp;&amp;++d==e&amp;&amp;a.shrink(CKEDITOR.SHRINK_TEXT)}}};I=function(){function a(b,c){var d=
b.getParent();if(d.is(CKEDITOR.dtd.$inline))b[c?&quot;insertBefore&quot;:&quot;insertAfter&quot;](d)}function b(c,d,e){a(d);a(e,1);for(var f;f=e.getNext();)f.insertAfter(d),d=f;z(c)&amp;&amp;c.remove()}function c(a,b){var d=new CKEDITOR.dom.range(a);d.setStartAfter(b.startNode);d.setEndBefore(b.endNode);return d}return{list:{detectMerge:function(a,b){var d=c(b,a.bookmark),e=d.startPath(),f=d.endPath(),g=e.contains(CKEDITOR.dtd.$list),h=f.contains(CKEDITOR.dtd.$list);a.mergeList=g&amp;&amp;h&amp;&amp;g.getParent().equals(h.getParent())&amp;&amp;!g.equals(h);
a.mergeListItems=e.block&amp;&amp;f.block&amp;&amp;e.block.is(CKEDITOR.dtd.$listItem)&amp;&amp;f.block.is(CKEDITOR.dtd.$listItem);if(a.mergeList||a.mergeListItems)d=d.clone(),d.setStartBefore(a.bookmark.startNode),d.setEndAfter(a.bookmark.endNode),a.mergeListBookmark=d.createBookmark()},merge:function(a,c){if(a.mergeListBookmark){var d=a.mergeListBookmark.startNode,e=a.mergeListBookmark.endNode,f=new CKEDITOR.dom.elementPath(d,c),g=new CKEDITOR.dom.elementPath(e,c);if(a.mergeList){var h=f.contains(CKEDITOR.dtd.$list),k=
g.contains(CKEDITOR.dtd.$list);h.equals(k)||(k.moveChildren(h),k.remove())}a.mergeListItems&amp;&amp;(f=f.contains(CKEDITOR.dtd.$listItem),g=g.contains(CKEDITOR.dtd.$listItem),f.equals(g)||b(g,d,e));d.remove();e.remove()}}},block:{detectMerge:function(a,b){if(!a.tableContentsRanges&amp;&amp;!a.mergeListBookmark){var c=new CKEDITOR.dom.range(b);c.setStartBefore(a.bookmark.startNode);c.setEndAfter(a.bookmark.endNode);a.mergeBlockBookmark=c.createBookmark()}},merge:function(a,c){if(a.mergeBlockBookmark&amp;&amp;!a.purgeTableBookmark){var d=
a.mergeBlockBookmark.startNode,e=a.mergeBlockBookmark.endNode,f=new CKEDITOR.dom.elementPath(d,c),g=new CKEDITOR.dom.elementPath(e,c),f=f.block,g=g.block;f&amp;&amp;g&amp;&amp;!f.equals(g)&amp;&amp;b(g,d,e);d.remove();e.remove()}}},table:function(){function a(c){var e=[],f,g=new CKEDITOR.dom.walker(c),h=c.startPath().contains(d),p=c.endPath().contains(d),k={};g.guard=function(a,g){if(a.type==CKEDITOR.NODE_ELEMENT){var l=&quot;visited_&quot;+(g?&quot;out&quot;:&quot;in&quot;);if(a.getCustomData(l))return;CKEDITOR.dom.element.setMarker(k,a,l,1)}if(g&amp;&amp;
h&amp;&amp;a.equals(h))f=c.clone(),f.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),e.push(f);else if(!g&amp;&amp;p&amp;&amp;a.equals(p))f=c.clone(),f.setStartAt(p,CKEDITOR.POSITION_AFTER_START),e.push(f);else{if(l=!g)l=a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(d)&amp;&amp;(!h||b(a,h))&amp;&amp;(!p||b(a,p));if(!l&amp;&amp;(l=g))if(a.is(d))var l=h&amp;&amp;h.getAscendant(&quot;table&quot;,!0),n=p&amp;&amp;p.getAscendant(&quot;table&quot;,!0),m=a.getAscendant(&quot;table&quot;,!0),l=l&amp;&amp;l.contains(m)||n&amp;&amp;n.contains(m);else l=void 0;l&amp;&amp;(f=c.clone(),f.selectNodeContents(a),e.push(f))}};g.lastForward();CKEDITOR.dom.element.clearAllMarkers(k);
return e}function b(a,c){var d=CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_IS_CONTAINED,e=a.getPosition(c);return e===CKEDITOR.POSITION_IDENTICAL?!1:0===(e&amp;d)}var d={td:1,th:1,caption:1};return{detectPurge:function(a){var b=a.range,c=b.clone();c.enlarge(CKEDITOR.ENLARGE_ELEMENT);var c=new CKEDITOR.dom.walker(c),e=0;c.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(d)&amp;&amp;++e};c.checkForward();if(1&lt;e){var c=b.startPath().contains(&quot;table&quot;),f=b.endPath().contains(&quot;table&quot;);c&amp;&amp;f&amp;&amp;b.checkBoundaryOfElement(c,
CKEDITOR.START)&amp;&amp;b.checkBoundaryOfElement(f,CKEDITOR.END)&amp;&amp;(b=a.range.clone(),b.setStartBefore(c),b.setEndAfter(f),a.purgeTableBookmark=b.createBookmark())}},detectRanges:function(e,f){var g=c(f,e.bookmark),h=g.clone(),k,p,l=g.getCommonAncestor();l.is(CKEDITOR.dtd.$tableContent)&amp;&amp;!l.is(d)&amp;&amp;(l=l.getAscendant(&quot;table&quot;,!0));p=l;l=new CKEDITOR.dom.elementPath(g.startContainer,p);p=new CKEDITOR.dom.elementPath(g.endContainer,p);l=l.contains(&quot;table&quot;);p=p.contains(&quot;table&quot;);if(l||p)l&amp;&amp;p&amp;&amp;b(l,p)?(e.tableSurroundingRange=
h,h.setStartAt(l,CKEDITOR.POSITION_AFTER_END),h.setEndAt(p,CKEDITOR.POSITION_BEFORE_START),h=g.clone(),h.setEndAt(l,CKEDITOR.POSITION_AFTER_END),k=g.clone(),k.setStartAt(p,CKEDITOR.POSITION_BEFORE_START),k=a(h).concat(a(k))):l?p||(e.tableSurroundingRange=h,h.setStartAt(l,CKEDITOR.POSITION_AFTER_END),g.setEndAt(l,CKEDITOR.POSITION_AFTER_END)):(e.tableSurroundingRange=h,h.setEndAt(p,CKEDITOR.POSITION_BEFORE_START),g.setStartAt(p,CKEDITOR.POSITION_AFTER_START)),e.tableContentsRanges=k?k:a(g)},deleteRanges:function(a){for(var b;b=
a.tableContentsRanges.pop();)b.extractContents(),z(b.startContainer)&amp;&amp;b.startContainer.appendBogus();a.tableSurroundingRange&amp;&amp;a.tableSurroundingRange.extractContents()},purge:function(a){if(a.purgeTableBookmark){var b=a.doc,c=a.range.clone(),b=b.createElement(&quot;p&quot;);b.insertBefore(a.purgeTableBookmark.startNode);c.moveToBookmark(a.purgeTableBookmark);c.deleteContents();a.range.moveToPosition(b,CKEDITOR.POSITION_AFTER_START)}}}}(),detectExtractMerge:function(a){return!(a.range.startPath().contains(CKEDITOR.dtd.$listItem)&amp;&amp;
a.range.endPath().contains(CKEDITOR.dtd.$listItem))},fixUneditableRangePosition:function(a){a.startContainer.getDtd()[&quot;#&quot;]||a.moveToClosestEditablePosition(null,!0)},autoParagraph:function(a,b){var c=b.startPath(),d;k(a,c.block,c.blockLimit)&amp;&amp;(d=g(a))&amp;&amp;(d=b.document.createElement(d),d.appendBogus(),b.insertNode(d),b.moveToPosition(d,CKEDITOR.POSITION_AFTER_START))}}}()})();
(function(){function a(a){return CKEDITOR.plugins.widget&amp;&amp;CKEDITOR.plugins.widget.isDomWidget(a)}function d(b,c){if(0===b.length||a(b[0].getEnclosedNode()))return!1;var d,e;if((d=!c&amp;&amp;1===b.length)&amp;&amp;!(d=b[0].collapsed)){var f=b[0];d=f.startContainer.getAscendant({td:1,th:1},!0);var g=f.endContainer.getAscendant({td:1,th:1},!0);e=CKEDITOR.tools.trim;d&amp;&amp;d.equals(g)&amp;&amp;!d.findOne(&quot;td, th, tr, tbody, table&quot;)?(f=f.cloneContents(),d=f.getFirst()?e(f.getFirst().getText())!==e(d.getText()):!0):d=!1}if(d)return!1;
for(e=0;e&lt;b.length;e++)if(d=b[e]._getTableElement(),!d)return!1;return!0}function b(a){function b(a){a=a.find(&quot;td, th&quot;);var c=[],d;for(d=0;d&lt;a.count();d++)c.push(a.getItem(d));return c}var c=[],d,e;for(e=0;e&lt;a.length;e++)d=a[e]._getTableElement(),d.is&amp;&amp;d.is({td:1,th:1})?c.push(d):c=c.concat(b(d));return c}function c(a){a=b(a);var c=&quot;&quot;,d=[],e,f;for(f=0;f&lt;a.length;f++)e&amp;&amp;!e.equals(a[f].getAscendant(&quot;tr&quot;))?(c+=d.join(&quot;\t&quot;)+&quot;\n&quot;,e=a[f].getAscendant(&quot;tr&quot;),d=[]):0===f&amp;&amp;(e=a[f].getAscendant(&quot;tr&quot;)),d.push(a[f].getText());
return c+=d.join(&quot;\t&quot;)}function f(a){var b=this.root.editor,d=b.getSelection(1);this.reset();I=!0;d.root.once(&quot;selectionchange&quot;,function(a){a.cancel()},null,null,0);d.selectRanges([a[0]]);d=this._.cache;d.ranges=new CKEDITOR.dom.rangeList(a);d.type=CKEDITOR.SELECTION_TEXT;d.selectedElement=a[0]._getTableElement();d.selectedText=c(a);d.nativeSel=null;this.isFake=1;this.rev=L++;b._.fakeSelection=this;I=!1;this.root.fire(&quot;selectionchange&quot;)}function h(){var b=this._.fakeSelection,c;if(b){c=this.getSelection(1);
var e;if(!(e=!c)&amp;&amp;(e=!c.isHidden())){e=b;var f=c.getRanges(),g=e.getRanges(),h=f.length&amp;&amp;f[0]._getTableElement()&amp;&amp;f[0]._getTableElement().getAscendant(&quot;table&quot;,!0),p=g.length&amp;&amp;g[0]._getTableElement()&amp;&amp;g[0]._getTableElement().getAscendant(&quot;table&quot;,!0),k=1===f.length&amp;&amp;f[0]._getTableElement()&amp;&amp;f[0]._getTableElement().is(&quot;table&quot;),l=1===g.length&amp;&amp;g[0]._getTableElement()&amp;&amp;g[0]._getTableElement().is(&quot;table&quot;);if(a(e.getSelectedElement()))e=!1;else{var q=1===f.length&amp;&amp;f[0].collapsed,g=d(f,!!CKEDITOR.env.webkit)&amp;&amp;
d(g);h=h&amp;&amp;p?h.equals(p)||p.contains(h):!1;h&amp;&amp;(q||g)?(k&amp;&amp;!l&amp;&amp;e.selectRanges(f),e=!0):e=!1}e=!e}e&amp;&amp;(b.reset(),b=0)}if(!b&amp;&amp;(b=c||this.getSelection(1),!b||b.getType()==CKEDITOR.SELECTION_NONE))return;this.fire(&quot;selectionCheck&quot;,b);c=this.elementPath();c.compare(this._.selectionPreviousPath)||(e=this._.selectionPreviousPath&amp;&amp;this._.selectionPreviousPath.blockLimit.equals(c.blockLimit),!CKEDITOR.env.webkit&amp;&amp;!CKEDITOR.env.gecko||e||(this._.previousActive=this.document.getActive()),this._.selectionPreviousPath=
c,this.fire(&quot;selectionChange&quot;,{selection:b,path:c}))}function k(){C=!0;m||(g.call(this),m=CKEDITOR.tools.setTimeout(g,200,this))}function g(){m=null;C&amp;&amp;(CKEDITOR.tools.setTimeout(h,0,this),C=!1)}function l(a){return K(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a.is(CKEDITOR.dtd.$empty)?!0:!1}function u(a){function b(c,d){return c&amp;&amp;c.type!=CKEDITOR.NODE_TEXT?a.clone()[&quot;moveToElementEdit&quot;+(d?&quot;End&quot;:&quot;Start&quot;)](c):!1}if(!(a.root instanceof CKEDITOR.editable))return!1;var c=a.startContainer,d=a.getPreviousNode(l,
null,c),e=a.getNextNode(l,null,c);return b(d)||b(e,1)||!(d||e||c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.isBlockBoundary()&amp;&amp;c.getBogus())?!0:!1}function e(a){x(a,!1);var b=a.getDocument().createText(y);a.setCustomData(&quot;cke-fillingChar&quot;,b);return b}function x(a,b){var c=a&amp;&amp;a.removeCustomData(&quot;cke-fillingChar&quot;);if(c){if(!1!==b){var d=a.getDocument().getSelection().getNative(),e=d&amp;&amp;&quot;None&quot;!=d.type&amp;&amp;d.getRangeAt(0),f=y.length;if(c.getLength()&gt;f&amp;&amp;e&amp;&amp;e.intersectsNode(c.$)){var g=[{node:d.anchorNode,offset:d.anchorOffset},
{node:d.focusNode,offset:d.focusOffset}];d.anchorNode==c.$&amp;&amp;d.anchorOffset&gt;f&amp;&amp;(g[0].offset-=f);d.focusNode==c.$&amp;&amp;d.focusOffset&gt;f&amp;&amp;(g[1].offset-=f)}}c.setText(w(c.getText(),1));g&amp;&amp;(c=a.getDocument().$,d=c.getSelection(),c=c.createRange(),c.setStart(g[0].node,g[0].offset),c.collapse(!0),d.removeAllRanges(),d.addRange(c),d.extend(g[1].node,g[1].offset))}}function w(a,b){return b?a.replace(F,function(a,b){return b?&quot; &quot;:&quot;&quot;}):a.replace(y,&quot;&quot;)}function z(a,b){var c=b&amp;&amp;CKEDITOR.tools.htmlEncode(b)||&quot;\x26nbsp;&quot;,
c=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv data-cke-hidden-sel\x3d&quot;1&quot; data-cke-temp\x3d&quot;1&quot; style\x3d&quot;&#039;+(CKEDITOR.env.ie&amp;&amp;14&gt;CKEDITOR.env.version?&quot;display:none&quot;:&quot;position:fixed;top:0;left:-1000px;width:0;height:0;overflow:hidden;&quot;)+&#039;&quot;\x3e&#039;+c+&quot;\x3c/div\x3e&quot;,a.document);a.fire(&quot;lockSnapshot&quot;);a.editable().append(c);var d=a.getSelection(1),e=a.createRange(),f=d.root.on(&quot;selectionchange&quot;,function(a){a.cancel()},null,null,0);e.setStartAt(c,CKEDITOR.POSITION_AFTER_START);e.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);
d.selectRanges([e]);f.removeListener();a.fire(&quot;unlockSnapshot&quot;);a._.hiddenSelectionContainer=c}function H(a){var b={37:1,39:1,8:1,46:1};return function(c){var d=c.data.getKeystroke();if(b[d]){var e=a.getSelection().getRanges(),f=e[0];1==e.length&amp;&amp;f.collapsed&amp;&amp;(d=f[38&gt;d?&quot;getPreviousEditableNode&quot;:&quot;getNextEditableNode&quot;]())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;false&quot;==d.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(a.getSelection().fake(d),c.data.preventDefault(),c.cancel())}}}function t(a){for(var b=0;b&lt;a.length;b++){var c=
a[b];c.getCommonAncestor().isReadOnly()&amp;&amp;a.splice(b,1);if(!c.collapsed){if(c.startContainer.isReadOnly())for(var d=c.startContainer,e;d&amp;&amp;!((e=d.type==CKEDITOR.NODE_ELEMENT)&amp;&amp;d.is(&quot;body&quot;)||!d.isReadOnly());)e&amp;&amp;&quot;false&quot;==d.getAttribute(&quot;contentEditable&quot;)&amp;&amp;c.setStartAfter(d),d=d.getParent();d=c.startContainer;e=c.endContainer;var f=c.startOffset,g=c.endOffset,h=c.clone();d&amp;&amp;d.type==CKEDITOR.NODE_TEXT&amp;&amp;(f&gt;=d.getLength()?h.setStartAfter(d):h.setStartBefore(d));e&amp;&amp;e.type==CKEDITOR.NODE_TEXT&amp;&amp;(g?h.setEndAfter(e):
h.setEndBefore(e));d=new CKEDITOR.dom.walker(h);d.evaluator=function(d){if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isReadOnly()){var e=c.clone();c.setEndBefore(d);c.collapsed&amp;&amp;a.splice(b--,1);d.getPosition(h.endContainer)&amp;CKEDITOR.POSITION_CONTAINS||(e.setStartAfter(d),e.collapsed||a.splice(b+1,0,e));return!0}return!1};d.next()}}return a}var n=&quot;function&quot;!=typeof window.getSelection,L=1,y=CKEDITOR.tools.repeat(&quot;​&quot;,7),F=new RegExp(y+&quot;( )?&quot;,&quot;g&quot;),I,m,C,K=CKEDITOR.dom.walker.invisible(1),A=function(){function a(b){return function(a){var c=
a.editor.createRange();c.moveToClosestEditablePosition(a.selected,b)&amp;&amp;a.editor.getSelection().selectRanges([c]);return!1}}function b(a){return function(b){var c=b.editor,d=c.createRange(),e;if(!c.readOnly)return(e=d.moveToClosestEditablePosition(b.selected,a))||(e=d.moveToClosestEditablePosition(b.selected,!a)),e&amp;&amp;c.getSelection().selectRanges([d]),c.fire(&quot;saveSnapshot&quot;),b.selected.remove(),e||(d.moveToElementEditablePosition(c.editable()),c.getSelection().selectRanges([d])),c.fire(&quot;saveSnapshot&quot;),
!1}}var c=a(),d=a(1);return{37:c,38:c,39:d,40:d,8:b(),46:b(1)}}();CKEDITOR.on(&quot;instanceCreated&quot;,function(a){function b(){var a=c.getSelection();a&amp;&amp;a.removeAllRanges()}var c=a.editor;c.on(&quot;contentDom&quot;,function(){function a(){u=new CKEDITOR.dom.selection(c.getSelection());u.lock()}function b(){g.removeListener(&quot;mouseup&quot;,b);r.removeListener(&quot;mouseup&quot;,b);var a=CKEDITOR.document.$.selection,c=a.createRange();&quot;None&quot;!=a.type&amp;&amp;c.parentElement()&amp;&amp;c.parentElement().ownerDocument==f.$&amp;&amp;c.select()}function d(a){var b,
c;b=(b=this.document.getActive())?&quot;input&quot;===b.getName()||&quot;textarea&quot;===b.getName():!1;b||(b=this.getSelection(1),(c=e(b))&amp;&amp;!c.equals(q)&amp;&amp;(b.selectElement(c),a.data.preventDefault()))}function e(a){a=a.getRanges()[0];return a?(a=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;contenteditable&quot;)},!0))&amp;&amp;&quot;false&quot;===a.getAttribute(&quot;contenteditable&quot;)?a:null:null}var f=c.document,g=CKEDITOR.document,q=c.editable(),l=f.getBody(),r=f.getDocumentElement(),D=q.isInline(),
m,u;CKEDITOR.env.gecko&amp;&amp;q.attachListener(q,&quot;focus&quot;,function(a){a.removeListener();0!==m&amp;&amp;(a=c.getSelection().getNative())&amp;&amp;a.isCollapsed&amp;&amp;a.anchorNode==q.$&amp;&amp;(a=c.createRange(),a.moveToElementEditStart(q),a.select())},null,null,-2);q.attachListener(q,CKEDITOR.env.webkit||CKEDITOR.env.gecko?&quot;focusin&quot;:&quot;focus&quot;,function(){if(m&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){m=c._.previousActive&amp;&amp;c._.previousActive.equals(f.getActive());var a=null!=c._.previousScrollTop&amp;&amp;c._.previousScrollTop!=q.$.scrollTop;
CKEDITOR.env.webkit&amp;&amp;m&amp;&amp;a&amp;&amp;(q.$.scrollTop=c._.previousScrollTop)}c.unlockSelection(m);m=0},null,null,-1);q.attachListener(q,&quot;mousedown&quot;,function(){m=0});if(CKEDITOR.env.ie||CKEDITOR.env.gecko||D)n?q.attachListener(q,&quot;beforedeactivate&quot;,a,null,null,-1):q.attachListener(c,&quot;selectionCheck&quot;,a,null,null,-1),q.attachListener(q,CKEDITOR.env.webkit||CKEDITOR.env.gecko?&quot;focusout&quot;:&quot;blur&quot;,function(){var a=u&amp;&amp;(u.isFake||2&gt;u.getRanges().length);CKEDITOR.env.gecko&amp;&amp;!D&amp;&amp;a||(c.lockSelection(u),m=1)},null,null,-1),
q.attachListener(q,&quot;mousedown&quot;,function(){m=0});if(CKEDITOR.env.ie&amp;&amp;!D){var w;q.attachListener(q,&quot;mousedown&quot;,function(a){2==a.data.$.button&amp;&amp;((a=c.document.getSelection())&amp;&amp;a.getType()!=CKEDITOR.SELECTION_NONE||(w=c.window.getScrollPosition()))});q.attachListener(q,&quot;mouseup&quot;,function(a){2==a.data.$.button&amp;&amp;w&amp;&amp;(c.document.$.documentElement.scrollLeft=w.x,c.document.$.documentElement.scrollTop=w.y);w=null});if(&quot;BackCompat&quot;!=f.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat){var t,z;
r.on(&quot;mousedown&quot;,function(a){function b(a){a=a.data.$;if(t){var c=l.$.createTextRange();try{c.moveToPoint(a.clientX,a.clientY)}catch(d){}t.setEndPoint(0&gt;z.compareEndPoints(&quot;StartToStart&quot;,c)?&quot;EndToEnd&quot;:&quot;StartToStart&quot;,c);t.select()}}function c(){r.removeListener(&quot;mousemove&quot;,b);g.removeListener(&quot;mouseup&quot;,c);r.removeListener(&quot;mouseup&quot;,c);t.select()}a=a.data;if(a.getTarget().is(&quot;html&quot;)&amp;&amp;a.$.y&lt;r.$.clientHeight&amp;&amp;a.$.x&lt;r.$.clientWidth){t=l.$.createTextRange();try{t.moveToPoint(a.$.clientX,a.$.clientY)}catch(d){}z=
t.duplicate();r.on(&quot;mousemove&quot;,b);g.on(&quot;mouseup&quot;,c);r.on(&quot;mouseup&quot;,c)}})}if(7&lt;CKEDITOR.env.version&amp;&amp;11&gt;CKEDITOR.env.version)r.on(&quot;mousedown&quot;,function(a){a.data.getTarget().is(&quot;html&quot;)&amp;&amp;(g.on(&quot;mouseup&quot;,b),r.on(&quot;mouseup&quot;,b))})}}q.attachListener(q,&quot;selectionchange&quot;,h,c);q.attachListener(q,&quot;keyup&quot;,k,c);q.attachListener(q,&quot;touchstart&quot;,k,c);q.attachListener(q,&quot;touchend&quot;,k,c);CKEDITOR.env.ie&amp;&amp;q.attachListener(q,&quot;keydown&quot;,d,c);q.attachListener(q,CKEDITOR.env.webkit||CKEDITOR.env.gecko?&quot;focusin&quot;:&quot;focus&quot;,function(){c.forceNextSelectionCheck();
c.selectionChange(1)});if(D&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var y;q.attachListener(q,&quot;mousedown&quot;,function(){y=1});q.attachListener(f.getDocumentElement(),&quot;mouseup&quot;,function(){y&amp;&amp;k.call(c);y=0})}else q.attachListener(CKEDITOR.env.ie?q:f.getDocumentElement(),&quot;mouseup&quot;,k,c);CKEDITOR.env.webkit&amp;&amp;q.attachListener(f,&quot;keydown&quot;,function(a){switch(a.data.getKey()){case 13:case 33:case 34:case 35:case 36:case 37:case 39:case 8:case 45:case 46:q.hasFocus&amp;&amp;x(q)}},null,null,-1);q.attachListener(q,
&quot;keydown&quot;,H(c),null,null,-1)});c.on(&quot;setData&quot;,function(){c.unlockSelection();CKEDITOR.env.webkit&amp;&amp;b()});c.on(&quot;contentDomUnload&quot;,function(){c.unlockSelection()});if(CKEDITOR.env.ie9Compat)c.on(&quot;beforeDestroy&quot;,b,null,null,9);c.on(&quot;dataReady&quot;,function(){delete c._.fakeSelection;delete c._.hiddenSelectionContainer;c.selectionChange(1)});c.on(&quot;loadSnapshot&quot;,function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),b=c.editable().getLast(a);b&amp;&amp;b.hasAttribute(&quot;data-cke-hidden-sel&quot;)&amp;&amp;(b.remove(),
CKEDITOR.env.gecko&amp;&amp;(a=c.editable().getFirst(a))&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;a.getAttribute(&quot;_moz_editor_bogus_node&quot;)&amp;&amp;a.remove())},null,null,100);c.on(&quot;key&quot;,function(a){if(&quot;wysiwyg&quot;==c.mode){var b=c.getSelection();if(b.isFake){var d=A[a.data.keyCode];if(d)return d({editor:c,selected:b.getSelectedElement(),selection:b,keyEvent:a})}}})});if(CKEDITOR.env.webkit)CKEDITOR.on(&quot;instanceReady&quot;,function(a){var b=a.editor;b.on(&quot;selectionChange&quot;,function(){var a=b.editable(),c=a.getCustomData(&quot;cke-fillingChar&quot;);c&amp;&amp;(c.getCustomData(&quot;ready&quot;)?
(x(a),a.editor.fire(&quot;selectionCheck&quot;)):c.setCustomData(&quot;ready&quot;,1))},null,null,-1);b.on(&quot;beforeSetMode&quot;,function(){x(b.editable())},null,null,-1);b.on(&quot;getSnapshot&quot;,function(a){a.data&amp;&amp;(a.data=w(a.data))},b,null,20);b.on(&quot;toDataFormat&quot;,function(a){a.data.dataValue=w(a.data.dataValue)},null,null,0)});CKEDITOR.editor.prototype.selectionChange=function(a){(a?h:k).call(this)};CKEDITOR.editor.prototype.getSelection=function(a){return!this._.savedSelection&amp;&amp;!this._.fakeSelection||a?(a=this.editable())&amp;&amp;
&quot;wysiwyg&quot;==this.mode?new CKEDITOR.dom.selection(a):null:this._.savedSelection||this._.fakeSelection};CKEDITOR.editor.prototype.getSelectedRanges=function(a){var b=this.getSelection();return b&amp;&amp;b.getRanges(a)||[]};CKEDITOR.editor.prototype.lockSelection=function(a){a=a||this.getSelection(1);return a.getType()!=CKEDITOR.SELECTION_NONE?(!a.isLocked&amp;&amp;a.lock(),this._.savedSelection=a,!0):!1};CKEDITOR.editor.prototype.unlockSelection=function(a){var b=this._.savedSelection;return b?(b.unlock(a),delete this._.savedSelection,
!0):!1};CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath};CKEDITOR.dom.document.prototype.getSelection=function(){return new CKEDITOR.dom.selection(this)};CKEDITOR.dom.range.prototype.select=function(){var a=this.root instanceof CKEDITOR.editable?this.root.editor.getSelection():new CKEDITOR.dom.selection(this.root);a.selectRanges([this]);return a};CKEDITOR.SELECTION_NONE=1;CKEDITOR.SELECTION_TEXT=2;CKEDITOR.SELECTION_ELEMENT=3;CKEDITOR.dom.selection=
function(a){if(a instanceof CKEDITOR.dom.selection){var b=a;a=a.root}var c=a instanceof CKEDITOR.dom.element;this.rev=b?b.rev:L++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=c?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(b)return CKEDITOR.tools.extend(this._.cache,b._.cache),this.isFake=b.isFake,this.isLocked=b.isLocked,this;a=this.getNative();var d,e;if(a)if(a.getRangeAt)d=(e=a.rangeCount&amp;&amp;a.getRangeAt(0))&amp;&amp;new CKEDITOR.dom.node(e.commonAncestorContainer);
else{try{e=a.createRange()}catch(f){}d=e&amp;&amp;CKEDITOR.dom.element.get(e.item&amp;&amp;e.item(0)||e.parentElement())}if(!d||d.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;d.type!=CKEDITOR.NODE_TEXT||!this.root.equals(d)&amp;&amp;!this.root.contains(d))this._.cache.type=CKEDITOR.SELECTION_NONE,this._.cache.startElement=null,this._.cache.selectedElement=null,this._.cache.selectedText=&quot;&quot;,this._.cache.ranges=new CKEDITOR.dom.rangeList;return this};var M={img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1,
select:1,textarea:1,button:1,fieldset:1,thead:1,tfoot:1};CKEDITOR.tools.extend(CKEDITOR.dom.selection,{_removeFillingCharSequenceString:w,_createFillingCharSequenceNode:e,FILLING_CHAR_SEQUENCE:y});CKEDITOR.dom.selection.prototype={getNative:function(){return void 0!==this._.cache.nativeSel?this._.cache.nativeSel:this._.cache.nativeSel=n?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:n?function(){var a=this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_NONE;
try{var c=this.getNative(),d=c.type;&quot;Text&quot;==d&amp;&amp;(b=CKEDITOR.SELECTION_TEXT);&quot;Control&quot;==d&amp;&amp;(b=CKEDITOR.SELECTION_ELEMENT);c.createRange().parentElement()&amp;&amp;(b=CKEDITOR.SELECTION_TEXT)}catch(e){}return a.type=b}:function(){var a=this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_TEXT,c=this.getNative();if(!c||!c.rangeCount)b=CKEDITOR.SELECTION_NONE;else if(1==c.rangeCount){var c=c.getRangeAt(0),d=c.startContainer;d==c.endContainer&amp;&amp;1==d.nodeType&amp;&amp;1==c.endOffset-c.startOffset&amp;&amp;M[d.childNodes[c.startOffset].nodeName.toLowerCase()]&amp;&amp;
(b=CKEDITOR.SELECTION_ELEMENT)}return a.type=b},getRanges:function(){var a=n?function(){function a(b){return(new CKEDITOR.dom.node(b)).getIndex()}var b=function(b,c){b=b.duplicate();b.collapse(c);var d=b.parentElement();if(!d.hasChildNodes())return{container:d,offset:0};for(var e=d.children,f,g,h=b.duplicate(),k=0,l=e.length-1,r=-1,n,m;k&lt;=l;)if(r=Math.floor((k+l)/2),f=e[r],h.moveToElementText(f),n=h.compareEndPoints(&quot;StartToStart&quot;,b),0&lt;n)l=r-1;else if(0&gt;n)k=r+1;else return{container:d,offset:a(f)};
if(-1==r||r==e.length-1&amp;&amp;0&gt;n){h.moveToElementText(d);h.setEndPoint(&quot;StartToStart&quot;,b);h=h.text.replace(/(\r\n|\r)/g,&quot;\n&quot;).length;e=d.childNodes;if(!h)return f=e[e.length-1],f.nodeType!=CKEDITOR.NODE_TEXT?{container:d,offset:e.length}:{container:f,offset:f.nodeValue.length};for(d=e.length;0&lt;h&amp;&amp;0&lt;d;)g=e[--d],g.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(m=g,h-=g.nodeValue.length);return{container:m,offset:-h}}h.collapse(0&lt;n?!0:!1);h.setEndPoint(0&lt;n?&quot;StartToStart&quot;:&quot;EndToStart&quot;,b);h=h.text.replace(/(\r\n|\r)/g,&quot;\n&quot;).length;
if(!h)return{container:d,offset:a(f)+(0&lt;n?0:1)};for(;0&lt;h;)try{g=f[0&lt;n?&quot;previousSibling&quot;:&quot;nextSibling&quot;],g.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(h-=g.nodeValue.length,m=g),f=g}catch(u){return{container:d,offset:a(f)}}return{container:m,offset:0&lt;n?-h:m.nodeValue.length+h}};return function(){var a=this.getNative(),c=a&amp;&amp;a.createRange(),d=this.getType();if(!a)return[];if(d==CKEDITOR.SELECTION_TEXT)return a=new CKEDITOR.dom.range(this.root),d=b(c,!0),a.setStart(new CKEDITOR.dom.node(d.container),d.offset),d=b(c),
a.setEnd(new CKEDITOR.dom.node(d.container),d.offset),a.endContainer.getPosition(a.startContainer)&amp;CKEDITOR.POSITION_PRECEDING&amp;&amp;a.endOffset&lt;=a.startContainer.getIndex()&amp;&amp;a.collapse(),[a];if(d==CKEDITOR.SELECTION_ELEMENT){for(var d=[],e=0;e&lt;c.length;e++){for(var f=c.item(e),g=f.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h&lt;g.childNodes.length&amp;&amp;g.childNodes[h]!=f;h++);a.setStart(new CKEDITOR.dom.node(g),h);a.setEnd(new CKEDITOR.dom.node(g),h+1);d.push(a)}return d}return[]}}():function(){var a=
[],b,c=this.getNative();if(!c)return a;for(var d=0;d&lt;c.rangeCount;d++){var e=c.getRangeAt(d);b=new CKEDITOR.dom.range(this.root);b.setStart(new CKEDITOR.dom.node(e.startContainer),e.startOffset);b.setEnd(new CKEDITOR.dom.node(e.endContainer),e.endOffset);a.push(b)}return a};return function(b){var c=this._.cache,d=c.ranges;d||(c.ranges=d=new CKEDITOR.dom.rangeList(a.call(this)));return b?t(new CKEDITOR.dom.rangeList(d.slice())):d}}(),getStartElement:function(){var a=this._.cache;if(void 0!==a.startElement)return a.startElement;
var b;switch(this.getType()){case CKEDITOR.SELECTION_ELEMENT:return this.getSelectedElement();case CKEDITOR.SELECTION_TEXT:var c=this.getRanges()[0];if(c){if(c.collapsed)b=c.startContainer,b.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b=b.getParent());else{for(c.optimize();b=c.startContainer,c.startOffset==(b.getChildCount?b.getChildCount():b.getLength())&amp;&amp;!b.isBlockBoundary();)c.setStartAfter(b);b=c.startContainer;if(b.type!=CKEDITOR.NODE_ELEMENT)return b.getParent();if((b=b.getChild(c.startOffset))&amp;&amp;b.type==
CKEDITOR.NODE_ELEMENT)for(c=b.getFirst();c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT;)b=c,c=c.getFirst();else b=c.startContainer}b=b.$}}return a.startElement=b?new CKEDITOR.dom.element(b):null},getSelectedElement:function(){var a=this._.cache;if(void 0!==a.selectedElement)return a.selectedElement;var b=this,c=CKEDITOR.tools.tryThese(function(){return b.getNative().createRange().item(0)},function(){for(var a=b.getRanges()[0].clone(),c,d,e=2;e&amp;&amp;!((c=a.getEnclosedNode())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;M[c.getName()]&amp;&amp;
(d=c));e--)a.shrink(CKEDITOR.SHRINK_ELEMENT);return d&amp;&amp;d.$});return a.selectedElement=c?new CKEDITOR.dom.element(c):null},getSelectedText:function(){var a=this._.cache;if(void 0!==a.selectedText)return a.selectedText;var b=this.getNative(),b=n?&quot;Control&quot;==b.type?&quot;&quot;:b.createRange().text:b.toString();return a.selectedText=b},lock:function(){this.getRanges();this.getStartElement();this.getSelectedElement();this.getSelectedText();this._.cache.nativeSel=null;this.isLocked=1},unlock:function(a){if(this.isLocked){if(a)var b=
this.getSelectedElement(),c=this.getRanges(),e=this.isFake;this.isLocked=0;this.reset();a&amp;&amp;(a=b||c[0]&amp;&amp;c[0].getCommonAncestor())&amp;&amp;a.getAscendant(&quot;body&quot;,1)&amp;&amp;((a=this.root.editor)&amp;&amp;a.plugins.tableselection&amp;&amp;a.plugins.tableselection.isSupportedEnvironment(a)&amp;&amp;d(c)?f.call(this,c):e?this.fake(b):b&amp;&amp;2&gt;c.length?this.selectElement(b):this.selectRanges(c))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor;if(a&amp;&amp;a._.fakeSelection)if(this.rev==a._.fakeSelection.rev){delete a._.fakeSelection;
var b=a._.hiddenSelectionContainer;if(b){var c=a.checkDirty();a.fire(&quot;lockSnapshot&quot;);b.remove();a.fire(&quot;unlockSnapshot&quot;);!c&amp;&amp;a.resetDirty()}delete a._.hiddenSelectionContainer}else CKEDITOR.warn(&quot;selection-fake-reset&quot;);this.rev=L++},selectElement:function(a){var b=new CKEDITOR.dom.range(this.root);b.setStartBefore(a);b.setEndAfter(a);this.selectRanges([b])},selectRanges:function(a){var b=this.root.editor,c=b&amp;&amp;b._.hiddenSelectionContainer;this.reset();if(c)for(var c=this.root,g,h=0;h&lt;a.length;++h)g=
a[h],g.endContainer.equals(c)&amp;&amp;(g.endOffset=Math.min(g.endOffset,c.getChildCount()));if(a.length)if(this.isLocked){var k=CKEDITOR.document.getActive();this.unlock();this.selectRanges(a);this.lock();k&amp;&amp;!k.equals(this.root)&amp;&amp;k.focus()}else{var p;a:{var l,m;if(1==a.length&amp;&amp;!(m=a[0]).collapsed&amp;&amp;(p=m.getEnclosedNode())&amp;&amp;p.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(m=m.clone(),m.shrink(CKEDITOR.SHRINK_ELEMENT,!0),(l=m.getEnclosedNode())&amp;&amp;l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(p=l),&quot;false&quot;==p.getAttribute(&quot;contenteditable&quot;)))break a;
p=void 0}if(p)this.fake(p);else if(b&amp;&amp;b.plugins.tableselection&amp;&amp;b.plugins.tableselection.isSupportedEnvironment(b)&amp;&amp;d(a)&amp;&amp;!I&amp;&amp;!a[0]._getTableElement({table:1}).hasAttribute(&quot;data-cke-tableselection-ignored&quot;))f.call(this,a);else{if(n){l=CKEDITOR.dom.walker.whitespaces(!0);p=/\ufeff|\u00a0/;m={table:1,tbody:1,tr:1};1&lt;a.length&amp;&amp;(b=a[a.length-1],a[0].setEnd(b.endContainer,b.endOffset));b=a[0];a=b.collapsed;var q,G,E;if((c=b.getEnclosedNode())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.getName()in M&amp;&amp;(!c.is(&quot;a&quot;)||
!c.getText()))try{E=c.$.createControlRange();E.addElement(c.$);E.select();return}catch(w){}if(b.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.startContainer.getName()in m||b.endContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.endContainer.getName()in m)b.shrink(CKEDITOR.NODE_ELEMENT,!0),a=b.collapsed;E=b.createBookmark();m=E.startNode;a||(k=E.endNode);E=b.document.$.body.createTextRange();E.moveToElementText(m.$);E.moveStart(&quot;character&quot;,1);k?(p=b.document.$.body.createTextRange(),p.moveToElementText(k.$),
E.setEndPoint(&quot;EndToEnd&quot;,p),E.moveEnd(&quot;character&quot;,-1)):(q=m.getNext(l),G=m.hasAscendant(&quot;pre&quot;),q=!(q&amp;&amp;q.getText&amp;&amp;q.getText().match(p))&amp;&amp;(G||!m.hasPrevious()||m.getPrevious().is&amp;&amp;m.getPrevious().is(&quot;br&quot;)),G=b.document.createElement(&quot;span&quot;),G.setHtml(&quot;\x26#65279;&quot;),G.insertBefore(m),q&amp;&amp;b.document.createText(&quot;﻿&quot;).insertBefore(m));b.setStartBefore(m);m.remove();a?(q?(E.moveStart(&quot;character&quot;,-1),E.select(),b.document.$.selection.clear()):E.select(),b.moveToPosition(G,CKEDITOR.POSITION_BEFORE_START),G.remove()):
(b.setEndBefore(k),k.remove(),E.select())}else{k=this.getNative();if(!k)return;this.removeAllRanges();for(E=0;E&lt;a.length;E++){if(E&lt;a.length-1&amp;&amp;(q=a[E],G=a[E+1],p=q.clone(),p.setStart(q.endContainer,q.endOffset),p.setEnd(G.startContainer,G.startOffset),!p.collapsed&amp;&amp;(p.shrink(CKEDITOR.NODE_ELEMENT,!0),b=p.getCommonAncestor(),p=p.getEnclosedNode(),b.isReadOnly()||p&amp;&amp;p.isReadOnly()))){G.setStart(q.startContainer,q.startOffset);a.splice(E--,1);continue}b=a[E];G=this.document.$.createRange();b.collapsed&amp;&amp;
CKEDITOR.env.webkit&amp;&amp;u(b)&amp;&amp;(p=e(this.root),b.insertNode(p),(q=p.getNext())&amp;&amp;!p.getPrevious()&amp;&amp;q.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==q.getName()?(x(this.root),b.moveToPosition(q,CKEDITOR.POSITION_BEFORE_START)):b.moveToPosition(p,CKEDITOR.POSITION_AFTER_END));G.setStart(b.startContainer.$,b.startOffset);try{G.setEnd(b.endContainer.$,b.endOffset)}catch(t){if(0&lt;=t.toString().indexOf(&quot;NS_ERROR_ILLEGAL_VALUE&quot;))b.collapse(1),G.setEnd(b.endContainer.$,b.endOffset);else throw t;}k.addRange(G)}}this.reset();
this.root.fire(&quot;selectionchange&quot;)}}},fake:function(a,b){var c=this.root.editor;void 0===b&amp;&amp;a.hasAttribute(&quot;aria-label&quot;)&amp;&amp;(b=a.getAttribute(&quot;aria-label&quot;));this.reset();z(c,b);var d=this._.cache,e=new CKEDITOR.dom.range(this.root);e.setStartBefore(a);e.setEndAfter(a);d.ranges=new CKEDITOR.dom.rangeList(e);d.selectedElement=d.startElement=a;d.type=CKEDITOR.SELECTION_ELEMENT;d.selectedText=d.nativeSel=null;this.isFake=1;this.rev=L++;c._.fakeSelection=this;this.root.fire(&quot;selectionchange&quot;)},isHidden:function(){var a=
this.getCommonAncestor();a&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;(a=a.getParent());return!(!a||!a.data(&quot;cke-hidden-sel&quot;))},isInTable:function(a){return d(this.getRanges(),a)},isCollapsed:function(){var a=this.getRanges();return 1===a.length&amp;&amp;a[0].collapsed},createBookmarks:function(a){a=this.getRanges().createBookmarks(a);this.isFake&amp;&amp;(a.isFake=1);return a},createBookmarks2:function(a){a=this.getRanges().createBookmarks2(a);this.isFake&amp;&amp;(a.isFake=1);return a},selectBookmarks:function(a){for(var b=[],c,e=0;e&lt;
a.length;e++){var f=new CKEDITOR.dom.range(this.root);f.moveToBookmark(a[e]);b.push(f)}a.isFake&amp;&amp;(c=d(b)?b[0]._getTableElement():b[0].getEnclosedNode(),c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT||(CKEDITOR.warn(&quot;selection-not-fake&quot;),a.isFake=0));a.isFake&amp;&amp;!d(b)?this.fake(c):this.selectRanges(b);return this},getCommonAncestor:function(){var a=this.getRanges();return a.length?a[0].startContainer.getCommonAncestor(a[a.length-1].endContainer):null},scrollIntoView:function(){this.getType()!=CKEDITOR.SELECTION_NONE&amp;&amp;
this.getRanges()[0].scrollIntoView()},removeAllRanges:function(){if(this.getType()!=CKEDITOR.SELECTION_NONE){var a=this.getNative();try{a&amp;&amp;a[n?&quot;empty&quot;:&quot;removeAllRanges&quot;]()}catch(b){}this.reset()}}}})();&quot;use strict&quot;;CKEDITOR.STYLE_BLOCK=1;CKEDITOR.STYLE_INLINE=2;CKEDITOR.STYLE_OBJECT=3;
(function(){function a(a,b){for(var c,d;(a=a.getParent())&amp;&amp;!a.equals(b);)if(a.getAttribute(&quot;data-nostyle&quot;))c=a;else if(!d){var e=a.getAttribute(&quot;contentEditable&quot;);&quot;false&quot;==e?c=a:&quot;true&quot;==e&amp;&amp;(d=1)}return c}function d(a,b,c,d){return(a.getPosition(b)|d)==d&amp;&amp;(!c.childRule||c.childRule(a))}function b(c){var e=c.document;if(c.collapsed)e=L(this,e),c.insertNode(e),c.moveToPosition(e,CKEDITOR.POSITION_BEFORE_END);else{var g=this.element,h=this._.definition,k,l=h.ignoreReadonly,m=l||h.includeReadonly;null==
m&amp;&amp;(m=c.root.getCustomData(&quot;cke_includeReadonly&quot;));var n=CKEDITOR.dtd[g];n||(k=!0,n=CKEDITOR.dtd.span);c.enlarge(CKEDITOR.ENLARGE_INLINE,1);c.trim();var u=c.createBookmark(),x=u.startNode,w=u.endNode,r=x,t;if(!l){var v=c.getCommonAncestor(),l=a(x,v),v=a(w,v);l&amp;&amp;(r=l.getNextSourceNode(!0));v&amp;&amp;(w=v)}for(r.getPosition(w)==CKEDITOR.POSITION_FOLLOWING&amp;&amp;(r=0);r;){l=!1;if(r.equals(w))r=null,l=!0;else{var z=r.type==CKEDITOR.NODE_ELEMENT?r.getName():null,v=z&amp;&amp;&quot;false&quot;==r.getAttribute(&quot;contentEditable&quot;),y=z&amp;&amp;
-1!==CKEDITOR.tools.array.indexOf(CKEDITOR.style.unstylableElements,z),y=z&amp;&amp;(r.getAttribute(&quot;data-nostyle&quot;)||y);if(z&amp;&amp;r.data(&quot;cke-bookmark&quot;)||r.type===CKEDITOR.NODE_COMMENT){r=r.getNextSourceNode(!0);continue}if(v&amp;&amp;m&amp;&amp;CKEDITOR.dtd.$block[z])for(var A=r,C=f(A),D=void 0,F=C.length,I=0,A=F&amp;&amp;new CKEDITOR.dom.range(A.getDocument());I&lt;F;++I){var D=C[I],K=CKEDITOR.filter.instances[D.data(&quot;cke-filter&quot;)];if(K?K.check(this):1)A.selectNodeContents(D),b.call(this,A)}C=z?!n[z]||y?0:v&amp;&amp;!m?0:d(r,w,h,S):1;if(C)if(D=
r.getParent(),C=h,F=g,I=k,!D||!(D.getDtd()||CKEDITOR.dtd.span)[F]&amp;&amp;!I||C.parentRule&amp;&amp;!C.parentRule(D))l=!0;else{if(t||z&amp;&amp;CKEDITOR.dtd.$removeEmpty[z]&amp;&amp;(r.getPosition(w)|S)!=S||(t=c.clone(),t.setStartBefore(r)),z=r.type,z==CKEDITOR.NODE_TEXT||v||z==CKEDITOR.NODE_ELEMENT&amp;&amp;!r.getChildCount()){for(var z=r,M;(l=!z.getNext(B))&amp;&amp;(M=z.getParent(),n[M.getName()])&amp;&amp;d(M,x,h,R);)z=M;t.setEndAfter(z)}}else l=!0;r=r.getNextSourceNode(y||v)}if(l&amp;&amp;t&amp;&amp;!t.collapsed){for(var l=L(this,e),v=l.hasAttributes(),y=t.getCommonAncestor(),
z={},C={},D={},F={},X,W,Y;l&amp;&amp;y;){if(y.getName()==g){for(X in h.attributes)!F[X]&amp;&amp;(Y=y.getAttribute(W))&amp;&amp;(l.getAttribute(X)==Y?C[X]=1:F[X]=1);for(W in h.styles)!D[W]&amp;&amp;(Y=y.getStyle(W))&amp;&amp;(l.getStyle(W)==Y?z[W]=1:D[W]=1)}y=y.getParent()}for(X in C)l.removeAttribute(X);for(W in z)l.removeStyle(W);v&amp;&amp;!l.hasAttributes()&amp;&amp;(l=null);l?(t.extractContents().appendTo(l),t.insertNode(l),H.call(this,l),l.mergeSiblings(),CKEDITOR.env.ie||l.$.normalize()):(l=new CKEDITOR.dom.element(&quot;span&quot;),t.extractContents().appendTo(l),
t.insertNode(l),H.call(this,l),l.remove(!0));t=null}}c.moveToBookmark(u);c.shrink(CKEDITOR.SHRINK_TEXT);c.shrink(CKEDITOR.NODE_ELEMENT,!0)}}function c(a){function b(){for(var a=new CKEDITOR.dom.elementPath(d.getParent()),c=new CKEDITOR.dom.elementPath(m.getParent()),e=null,f=null,g=0;g&lt;a.elements.length;g++){var h=a.elements[g];if(h==a.block||h==a.blockLimit)break;n.checkElementRemovable(h,!0)&amp;&amp;(e=h)}for(g=0;g&lt;c.elements.length;g++){h=c.elements[g];if(h==c.block||h==c.blockLimit)break;n.checkElementRemovable(h,
!0)&amp;&amp;(f=h)}f&amp;&amp;m.breakParent(f);e&amp;&amp;d.breakParent(e)}a.enlarge(CKEDITOR.ENLARGE_INLINE,1);var c=a.createBookmark(),d=c.startNode,e=this._.definition.alwaysRemoveElement;if(a.collapsed){for(var f=new CKEDITOR.dom.elementPath(d.getParent(),a.root),g,h=0,k;h&lt;f.elements.length&amp;&amp;(k=f.elements[h])&amp;&amp;k!=f.block&amp;&amp;k!=f.blockLimit;h++)if(this.checkElementRemovable(k)){var l;!e&amp;&amp;a.collapsed&amp;&amp;(a.checkBoundaryOfElement(k,CKEDITOR.END)||(l=a.checkBoundaryOfElement(k,CKEDITOR.START)))?(g=k,g.match=l?&quot;start&quot;:&quot;end&quot;):
(k.mergeSiblings(),k.is(this.element)?z.call(this,k):t(k,I(this)[k.getName()]))}if(g){e=d;for(h=0;;h++){k=f.elements[h];if(k.equals(g))break;else if(k.match)continue;else k=k.clone();k.append(e);e=k}e[&quot;start&quot;==g.match?&quot;insertBefore&quot;:&quot;insertAfter&quot;](g)}}else{var m=c.endNode,n=this;b();for(f=d;!f.equals(m);)g=f.getNextSourceNode(),f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;this.checkElementRemovable(f)&amp;&amp;(f.getName()==this.element?z.call(this,f):t(f,I(this)[f.getName()]),g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.contains(d)&amp;&amp;
(b(),g=d.getNext())),f=g}a.moveToBookmark(c);a.shrink(CKEDITOR.NODE_ELEMENT,!0)}function f(a){var b=[];a.forEach(function(a){if(&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;))return b.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return b}function h(a){var b=a.getEnclosedNode()||a.getCommonAncestor(!1,!0);(a=(new CKEDITOR.dom.elementPath(b,a.root)).contains(this.element,1))&amp;&amp;!a.isReadOnly()&amp;&amp;y(a,this)}function k(a){var b=a.getCommonAncestor(!0,!0);if(a=(new CKEDITOR.dom.elementPath(b,a.root)).contains(this.element,
1)){var b=this._.definition,c=b.attributes;if(c)for(var d in c)a.removeAttribute(d,c[d]);if(b.styles)for(var e in b.styles)b.styles.hasOwnProperty(e)&amp;&amp;a.removeStyle(e)}}function g(a){var b=a.createBookmark(!0),c=a.createIterator();c.enforceRealBlocks=!0;this._.enterMode&amp;&amp;(c.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR);for(var d,e=a.document,f;d=c.getNextParagraph();)!d.isReadOnly()&amp;&amp;(c.activeFilter?c.activeFilter.check(this):1)&amp;&amp;(f=L(this,e,d),u(d,f));a.moveToBookmark(b)}function l(a){var b=a.createBookmark(1),
c=a.createIterator();c.enforceRealBlocks=!0;c.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR;for(var d,e;d=c.getNextParagraph();)this.checkElementRemovable(d)&amp;&amp;(d.is(&quot;pre&quot;)?((e=this._.enterMode==CKEDITOR.ENTER_BR?null:a.document.createElement(this._.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;))&amp;&amp;d.copyAttributes(e),u(d,e)):z.call(this,d));a.moveToBookmark(b)}function u(a,b){var c=!b;c&amp;&amp;(b=a.getDocument().createElement(&quot;div&quot;),a.copyAttributes(b));var d=b&amp;&amp;b.is(&quot;pre&quot;),f=a.is(&quot;pre&quot;),g=!d&amp;&amp;f;if(d&amp;&amp;!f){f=b;(g=
a.getBogus())&amp;&amp;g.remove();g=a.getHtml();g=x(g,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,&quot;&quot;);g=g.replace(/[ \t\r\n]*(&lt;br[^&gt;]*&gt;)[ \t\r\n]*/gi,&quot;$1&quot;);g=g.replace(/([ \t\n\r]+|&amp;nbsp;)/g,&quot; &quot;);g=g.replace(/&lt;br\b[^&gt;]*&gt;/gi,&quot;\n&quot;);if(CKEDITOR.env.ie){var h=a.getDocument().createElement(&quot;div&quot;);h.append(f);f.$.outerHTML=&quot;\x3cpre\x3e&quot;+g+&quot;\x3c/pre\x3e&quot;;f.copyAttributes(h.getFirst());f=h.getFirst().remove()}else f.setHtml(g);b=f}else g?b=w(c?[a.getHtml()]:e(a),b):a.moveChildren(b);b.replace(a);if(d){var c=b,k;(k=c.getPrevious(v))&amp;&amp;
k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.is(&quot;pre&quot;)&amp;&amp;(d=x(k.getHtml(),/\n$/,&quot;&quot;)+&quot;\n\n&quot;+x(c.getHtml(),/^\n/,&quot;&quot;),CKEDITOR.env.ie?c.$.outerHTML=&quot;\x3cpre\x3e&quot;+d+&quot;\x3c/pre\x3e&quot;:c.setHtml(d),k.remove())}else c&amp;&amp;n(b)}function e(a){var b=[];x(a.getOuterHtml(),/(\S\s*)\n(?:\s|(&lt;span[^&gt;]+data-cke-bookmark.*?\/span&gt;))*\n(?!$)/gi,function(a,b,c){return b+&quot;\x3c/pre\x3e&quot;+c+&quot;\x3cpre\x3e&quot;}).replace(/&lt;pre\b.*?&gt;([\s\S]*?)&lt;\/pre&gt;/gi,function(a,c){b.push(c)});return b}function x(a,b,c){var d=&quot;&quot;,e=&quot;&quot;;a=a.replace(/(^&lt;span[^&gt;]+data-cke-bookmark.*?\/span&gt;)|(&lt;span[^&gt;]+data-cke-bookmark.*?\/span&gt;$)/gi,
function(a,b,c){b&amp;&amp;(d=b);c&amp;&amp;(e=c);return&quot;&quot;});return d+a.replace(b,c)+e}function w(a,b){var c;1&lt;a.length&amp;&amp;(c=new CKEDITOR.dom.documentFragment(b.getDocument()));for(var d=0;d&lt;a.length;d++){var e=a[d],e=e.replace(/(\r\n|\r)/g,&quot;\n&quot;),e=x(e,/^[ \t]*\n/,&quot;&quot;),e=x(e,/\n$/,&quot;&quot;),e=x(e,/^[ \t]+|[ \t]+$/g,function(a,b){return 1==a.length?&quot;\x26nbsp;&quot;:b?&quot; &quot;+CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,a.length-1):CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,a.length-1)+&quot; &quot;}),e=e.replace(/\n/g,&quot;\x3cbr\x3e&quot;),e=e.replace(/[ \t]{2,}/g,function(a){return CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,
a.length-1)+&quot; &quot;});if(c){var f=b.clone();f.setHtml(e);c.append(f)}else b.setHtml(e)}return c||b}function z(a,b){var c=this._.definition,d=c.attributes,c=c.styles,e=I(this)[a.getName()],f=CKEDITOR.tools.isEmpty(d)&amp;&amp;CKEDITOR.tools.isEmpty(c),g;for(g in d)if(&quot;class&quot;!=g&amp;&amp;!this._.definition.fullMatch||a.getAttribute(g)==m(g,d[g]))b&amp;&amp;&quot;data-&quot;==g.slice(0,5)||(f=a.hasAttribute(g),a.removeAttribute(g));for(var h in c)this._.definition.fullMatch&amp;&amp;a.getStyle(h)!=m(h,c[h],!0)||(f=f||!!a.getStyle(h),a.removeStyle(h));
t(a,e,A[a.getName()]);f&amp;&amp;(this._.definition.alwaysRemoveElement?n(a,1):!CKEDITOR.dtd.$block[a.getName()]||this._.enterMode==CKEDITOR.ENTER_BR&amp;&amp;!a.hasAttributes()?n(a):a.renameNode(this._.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;))}function H(a){for(var b=I(this),c=a.getElementsByTag(this.element),d,e=c.count();0&lt;=--e;)d=c.getItem(e),d.isReadOnly()||z.call(this,d,!0);for(var f in b)if(f!=this.element)for(c=a.getElementsByTag(f),e=c.count()-1;0&lt;=e;e--)d=c.getItem(e),d.isReadOnly()||t(d,b[f])}function t(a,
b,c){if(b=b&amp;&amp;b.attributes)for(var d=0;d&lt;b.length;d++){var e=b[d][0],f;if(f=a.getAttribute(e)){var g=b[d][1];(null===g||g.test&amp;&amp;g.test(f)||&quot;string&quot;==typeof g&amp;&amp;f==g)&amp;&amp;a.removeAttribute(e)}}c||n(a)}function n(a,b){if(!a.hasAttributes()||b)if(CKEDITOR.dtd.$block[a.getName()]){var c=a.getPrevious(v),d=a.getNext(v);!c||c.type!=CKEDITOR.NODE_TEXT&amp;&amp;c.isBlockBoundary({br:1})||a.append(&quot;br&quot;,1);!d||d.type!=CKEDITOR.NODE_TEXT&amp;&amp;d.isBlockBoundary({br:1})||a.append(&quot;br&quot;);a.remove(!0)}else c=a.getFirst(),d=a.getLast(),
a.remove(!0),c&amp;&amp;(c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.mergeSiblings(),d&amp;&amp;!c.equals(d)&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.mergeSiblings())}function L(a,b,c){var d;d=a.element;&quot;*&quot;==d&amp;&amp;(d=&quot;span&quot;);d=new CKEDITOR.dom.element(d,b);c&amp;&amp;c.copyAttributes(d);d=y(d,a);b.getCustomData(&quot;doc_processing_style&quot;)&amp;&amp;d.hasAttribute(&quot;id&quot;)?d.removeAttribute(&quot;id&quot;):b.setCustomData(&quot;doc_processing_style&quot;,1);return d}function y(a,b){var c=b._.definition,d=c.attributes,c=CKEDITOR.style.getStyleText(c);if(d)for(var e in d)a.setAttribute(e,
d[e]);c&amp;&amp;a.setAttribute(&quot;style&quot;,c);a.getDocument().removeCustomData(&quot;doc_processing_style&quot;);return a}function F(a,b){for(var c in a)a[c]=a[c].replace(D,function(a,c){return b[c]})}function I(a){if(a._.overrides)return a._.overrides;var b=a._.overrides={},c=a._.definition.overrides;if(c){CKEDITOR.tools.isArray(c)||(c=[c]);for(var d=0;d&lt;c.length;d++){var e=c[d],f,g;&quot;string&quot;==typeof e?f=e.toLowerCase():(f=e.element?e.element.toLowerCase():a.element,g=e.attributes);e=b[f]||(b[f]={});if(g){var e=e.attributes=
e.attributes||[],h;for(h in g)e.push([h.toLowerCase(),g[h]])}}}return b}function m(a,b,c){var d=new CKEDITOR.dom.element(&quot;span&quot;);d[c?&quot;setStyle&quot;:&quot;setAttribute&quot;](a,b);return d[c?&quot;getStyle&quot;:&quot;getAttribute&quot;](a)}function C(a,b){function c(a,b){return&quot;font-family&quot;==b.toLowerCase()?a.replace(/[&quot;&#039;]/g,&quot;&quot;):a}&quot;string&quot;==typeof a&amp;&amp;(a=CKEDITOR.tools.parseCssText(a));&quot;string&quot;==typeof b&amp;&amp;(b=CKEDITOR.tools.parseCssText(b,!0));for(var d in a)if(!(d in b)||c(b[d],d)!=c(a[d],d)&amp;&amp;&quot;inherit&quot;!=a[d]&amp;&amp;&quot;inherit&quot;!=b[d])return!1;
return!0}function K(a,b,c){var d=a.getRanges();b=b?this.removeFromRange:this.applyToRange;for(var e,f=d.createIterator();e=f.getNextRange();)b.call(this,e,c);a.selectRanges(d)}var A={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,section:1,header:1,footer:1,nav:1,article:1,aside:1,figure:1,dialog:1,hgroup:1,time:1,meter:1,menu:1,command:1,keygen:1,output:1,progress:1,details:1,datagrid:1,datalist:1},M={a:1,blockquote:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,
dt:1,dd:1,form:1,audio:1,video:1},r=/\s*(?:;\s*|$)/,D=/#\((.+?)\)/g,B=CKEDITOR.dom.walker.bookmark(0,1),v=CKEDITOR.dom.walker.whitespaces(1);CKEDITOR.style=function(a,b){if(&quot;string&quot;==typeof a.type)return new CKEDITOR.style.customHandlers[a.type](a);var c=a.attributes;c&amp;&amp;c.style&amp;&amp;(a.styles=CKEDITOR.tools.extend({},a.styles,CKEDITOR.tools.parseCssText(c.style)),delete c.style);b&amp;&amp;(a=CKEDITOR.tools.clone(a),F(a.attributes,b),F(a.styles,b));c=this.element=a.element?&quot;string&quot;==typeof a.element?a.element.toLowerCase():
a.element:&quot;*&quot;;this.type=a.type||(A[c]?CKEDITOR.STYLE_BLOCK:M[c]?CKEDITOR.STYLE_OBJECT:CKEDITOR.STYLE_INLINE);&quot;object&quot;==typeof this.element&amp;&amp;(this.type=CKEDITOR.STYLE_OBJECT);this._={definition:a}};CKEDITOR.style.prototype={apply:function(a){if(a instanceof CKEDITOR.dom.document)return K.call(this,a.getSelection());if(this.checkApplicable(a.elementPath(),a)){var b=this._.enterMode;b||(this._.enterMode=a.activeEnterMode);K.call(this,a.getSelection(),0,a);this._.enterMode=b}},remove:function(a){if(a instanceof
CKEDITOR.dom.document)return K.call(this,a.getSelection(),1);if(this.checkApplicable(a.elementPath(),a)){var b=this._.enterMode;b||(this._.enterMode=a.activeEnterMode);K.call(this,a.getSelection(),1,a);this._.enterMode=b}},applyToRange:function(a){this.applyToRange=this.type==CKEDITOR.STYLE_INLINE?b:this.type==CKEDITOR.STYLE_BLOCK?g:this.type==CKEDITOR.STYLE_OBJECT?h:null;return this.applyToRange(a)},removeFromRange:function(a){this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?c:this.type==CKEDITOR.STYLE_BLOCK?
l:this.type==CKEDITOR.STYLE_OBJECT?k:null;return this.removeFromRange(a)},applyToObject:function(a){y(a,this)},checkActive:function(a,b){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(a.block||a.blockLimit,!0,b);case CKEDITOR.STYLE_OBJECT:case CKEDITOR.STYLE_INLINE:for(var c=a.elements,d=0,e;d&lt;c.length;d++)if(e=c[d],this.type!=CKEDITOR.STYLE_INLINE||e!=a.block&amp;&amp;e!=a.blockLimit){if(this.type==CKEDITOR.STYLE_OBJECT){var f=e.getName();if(!(&quot;string&quot;==typeof this.element?
f==this.element:f in this.element))continue}if(this.checkElementRemovable(e,!0,b))return!0}}return!1},checkApplicable:function(a,b,c){b&amp;&amp;b instanceof CKEDITOR.filter&amp;&amp;(c=b);if(c&amp;&amp;!c.check(this))return!1;switch(this.type){case CKEDITOR.STYLE_OBJECT:return!!a.contains(this.element);case CKEDITOR.STYLE_BLOCK:return!!a.blockLimit.getDtd()[this.element]}return!0},checkElementMatch:function(a,b){var c=this._.definition;if(!a||!c.ignoreReadonly&amp;&amp;a.isReadOnly())return!1;var d=a.getName();if(&quot;string&quot;==typeof this.element?
d==this.element:d in this.element){if(!b&amp;&amp;!a.hasAttributes())return!0;if(d=c._AC)c=d;else{var d={},e=0,f=c.attributes;if(f)for(var g in f)e++,d[g]=f[g];if(g=CKEDITOR.style.getStyleText(c))d.style||e++,d.style=g;d._length=e;c=c._AC=d}if(c._length){for(var h in c)if(&quot;_length&quot;!=h)if(d=a.getAttribute(h)||&quot;&quot;,&quot;style&quot;==h?C(c[h],d):c[h]==d){if(!b)return!0}else if(b)return!1;if(b)return!0}else return!0}return!1},checkElementRemovable:function(a,b,c){if(this.checkElementMatch(a,b,c))return!0;if(b=I(this)[a.getName()]){var d;
if(!(b=b.attributes))return!0;for(c=0;c&lt;b.length;c++)if(d=b[c][0],d=a.getAttribute(d)){var e=b[c][1];if(null===e)return!0;if(&quot;string&quot;==typeof e){if(d==e)return!0}else if(e.test(d))return!0}}return!1},buildPreview:function(a){var b=this._.definition,c=[],d=b.element;&quot;bdo&quot;==d&amp;&amp;(d=&quot;span&quot;);var c=[&quot;\x3c&quot;,d],e=b.attributes;if(e)for(var f in e)c.push(&quot; &quot;,f,&#039;\x3d&quot;&#039;,e[f],&#039;&quot;&#039;);(e=CKEDITOR.style.getStyleText(b))&amp;&amp;c.push(&#039; style\x3d&quot;&#039;,e,&#039;&quot;&#039;);c.push(&quot;\x3e&quot;,a||b.name,&quot;\x3c/&quot;,d,&quot;\x3e&quot;);return c.join(&quot;&quot;)},getDefinition:function(){return this._.definition}};
CKEDITOR.style.getStyleText=function(a){var b=a._ST;if(b)return b;var b=a.styles,c=a.attributes&amp;&amp;a.attributes.style||&quot;&quot;,d=&quot;&quot;;c.length&amp;&amp;(c=c.replace(r,&quot;;&quot;));for(var e in b){var f=b[e],g=(e+&quot;:&quot;+f).replace(r,&quot;;&quot;);&quot;inherit&quot;==f?d+=g:c+=g}c.length&amp;&amp;(c=CKEDITOR.tools.normalizeCssText(c,!0));return a._ST=c+d};CKEDITOR.style.customHandlers={};CKEDITOR.style.unstylableElements=[];CKEDITOR.style.addCustomHandler=function(a){var b=function(a){this._={definition:a};this.setup&amp;&amp;this.setup(a)};b.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.style.prototype),
{assignedTo:CKEDITOR.STYLE_OBJECT},a,!0);return this.customHandlers[a.type]=b};var S=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,R=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED})();CKEDITOR.styleCommand=function(a,d){this.requiredContent=this.allowedContent=this.style=a;CKEDITOR.tools.extend(this,d,!0)};
CKEDITOR.styleCommand.prototype.exec=function(a){a.focus();this.state==CKEDITOR.TRISTATE_OFF?a.applyStyle(this.style):this.state==CKEDITOR.TRISTATE_ON&amp;&amp;a.removeStyle(this.style)};CKEDITOR.stylesSet=new CKEDITOR.resourceManager(&quot;&quot;,&quot;stylesSet&quot;);CKEDITOR.addStylesSet=CKEDITOR.tools.bind(CKEDITOR.stylesSet.add,CKEDITOR.stylesSet);CKEDITOR.loadStylesSet=function(a,d,b){CKEDITOR.stylesSet.addExternal(a,d,&quot;&quot;);CKEDITOR.stylesSet.load(a,b)};
CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(a,d){var b=this._.styleStateChangeCallbacks;b||(b=this._.styleStateChangeCallbacks=[],this.on(&quot;selectionChange&quot;,function(a){for(var d=0;d&lt;b.length;d++){var h=b[d],k=h.style.checkActive(a.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;h.fn.call(this,k)}}));b.push({style:a,fn:d})},applyStyle:function(a){a.apply(this)},removeStyle:function(a){a.remove(this)},getStylesSet:function(a){if(this._.stylesDefinitions)a(this._.stylesDefinitions);
else{var d=this,b=d.config.stylesCombo_stylesSet||d.config.stylesSet;if(!1===b)a(null);else if(b instanceof Array)d._.stylesDefinitions=b,a(b);else{b||(b=&quot;default&quot;);var b=b.split(&quot;:&quot;),c=b[0];CKEDITOR.stylesSet.addExternal(c,b[1]?b.slice(1).join(&quot;:&quot;):CKEDITOR.getUrl(&quot;styles.js&quot;),&quot;&quot;);CKEDITOR.stylesSet.load(c,function(b){d._.stylesDefinitions=b[c];a(d._.stylesDefinitions)})}}}});
(function(){if(window.Promise)CKEDITOR.tools.promise=Promise;else{var a=CKEDITOR.getUrl(&quot;vendor/promise.js&quot;);if(&quot;function&quot;===typeof window.define&amp;&amp;window.define.amd&amp;&amp;&quot;function&quot;===typeof window.require)return window.require([a],function(a){CKEDITOR.tools.promise=a});CKEDITOR.scriptLoader.load(a,function(d){if(!d)return CKEDITOR.error(&quot;no-vendor-lib&quot;,{path:a});if(&quot;undefined&quot;!==typeof window.ES6Promise)return CKEDITOR.tools.promise=ES6Promise})}})();
(function(){function a(a,f,h){a.once(&quot;selectionCheck&quot;,function(a){if(!d){var c=a.data.getRanges()[0];h.equals(c)?a.cancel():f.equals(c)&amp;&amp;(b=!0)}},null,null,-1)}var d=!0,b=!1;CKEDITOR.dom.selection.setupEditorOptimization=function(a){a.on(&quot;selectionCheck&quot;,function(a){a.data&amp;&amp;!b&amp;&amp;a.data.optimizeInElementEnds();b=!1});a.on(&quot;contentDom&quot;,function(){var b=a.editable();b&amp;&amp;(b.attachListener(b,&quot;keydown&quot;,function(a){this._.shiftPressed=a.data.$.shiftKey},this),b.attachListener(b,&quot;keyup&quot;,function(a){this._.shiftPressed=
a.data.$.shiftKey},this))})};CKEDITOR.dom.selection.prototype.optimizeInElementEnds=function(){var b=this.getRanges()[0],f=this.root.editor,h;if(this.root.editor._.shiftPressed||this.isFake||b.isCollapsed||b.startContainer.equals(b.endContainer))h=!1;else if(0===b.endOffset)h=!0;else{h=b.startContainer.type===CKEDITOR.NODE_TEXT;var k=b.endContainer.type===CKEDITOR.NODE_TEXT,g=h?b.startContainer.getLength():b.startContainer.getChildCount();h=b.startOffset===g||h^k}h&amp;&amp;(h=b.clone(),b.shrink(CKEDITOR.SHRINK_TEXT,
!1,{skipBogus:!CKEDITOR.env.webkit}),d=!1,a(f,b,h),b.select(),d=!0)}})();CKEDITOR.dom.comment=function(a,d){&quot;string&quot;==typeof a&amp;&amp;(a=(d?d.$:document).createComment(a));CKEDITOR.dom.domObject.call(this,a)};CKEDITOR.dom.comment.prototype=new CKEDITOR.dom.node;CKEDITOR.tools.extend(CKEDITOR.dom.comment.prototype,{type:CKEDITOR.NODE_COMMENT,getOuterHtml:function(){return&quot;\x3c!--&quot;+this.$.nodeValue+&quot;--\x3e&quot;}});&quot;use strict&quot;;
(function(){var a={},d={},b;for(b in CKEDITOR.dtd.$blockLimit)b in CKEDITOR.dtd.$list||(a[b]=1);for(b in CKEDITOR.dtd.$block)b in CKEDITOR.dtd.$blockLimit||b in CKEDITOR.dtd.$empty||(d[b]=1);CKEDITOR.dom.elementPath=function(b,f){var h=null,k=null,g=[],l=b,u;f=f||b.getDocument().getBody();l||(l=f);do if(l.type==CKEDITOR.NODE_ELEMENT){g.push(l);if(!this.lastElement&amp;&amp;(this.lastElement=l,l.is(CKEDITOR.dtd.$object)||&quot;false&quot;==l.getAttribute(&quot;contenteditable&quot;)))continue;if(l.equals(f))break;if(!k&amp;&amp;(u=l.getName(),
&quot;true&quot;==l.getAttribute(&quot;contenteditable&quot;)?k=l:!h&amp;&amp;d[u]&amp;&amp;(h=l),a[u])){if(u=!h&amp;&amp;&quot;div&quot;==u){a:{u=l.getChildren();for(var e=0,x=u.count();e&lt;x;e++){var w=u.getItem(e);if(w.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$block[w.getName()]){u=!0;break a}}u=!1}u=!u}u?h=l:k=l}}while(l=l.getParent());k||(k=f);this.block=h;this.blockLimit=k;this.root=f;this.elements=g}})();
CKEDITOR.dom.elementPath.prototype={compare:function(a){var d=this.elements;a=a&amp;&amp;a.elements;if(!a||d.length!=a.length)return!1;for(var b=0;b&lt;d.length;b++)if(!d[b].equals(a[b]))return!1;return!0},contains:function(a,d,b){var c=0,f;&quot;string&quot;==typeof a&amp;&amp;(f=function(b){return b.getName()==a});a instanceof CKEDITOR.dom.element?f=function(b){return b.equals(a)}:CKEDITOR.tools.isArray(a)?f=function(b){return-1&lt;CKEDITOR.tools.indexOf(a,b.getName())}:&quot;function&quot;==typeof a?f=a:&quot;object&quot;==typeof a&amp;&amp;(f=function(b){return b.getName()in
a});var h=this.elements,k=h.length;d&amp;&amp;(b?c+=1:--k);b&amp;&amp;(h=Array.prototype.slice.call(h,0),h.reverse());for(;c&lt;k;c++)if(f(h[c]))return h[c];return null},isContextFor:function(a){var d;return a in CKEDITOR.dtd.$block?(d=this.contains(CKEDITOR.dtd.$intermediate)||this.root.equals(this.block)&amp;&amp;this.block||this.blockLimit,!!d.getDtd()[a]):!0},direction:function(){return(this.block||this.blockLimit||this.root).getDirection(1)}};
CKEDITOR.dom.text=function(a,d){&quot;string&quot;==typeof a&amp;&amp;(a=(d?d.$:document).createTextNode(a));this.$=a};CKEDITOR.dom.text.prototype=new CKEDITOR.dom.node;
CKEDITOR.tools.extend(CKEDITOR.dom.text.prototype,{type:CKEDITOR.NODE_TEXT,getLength:function(){return this.$.nodeValue.length},getText:function(){return this.$.nodeValue},setText:function(a){this.$.nodeValue=a},isEmpty:function(a){var d=this.getText();a&amp;&amp;(d=CKEDITOR.tools.trim(d));return!d||d===CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE},split:function(a){var d=this.$.parentNode,b=d.childNodes.length,c=this.getLength(),f=this.getDocument(),h=new CKEDITOR.dom.text(this.$.splitText(a),f);d.childNodes.length==
b&amp;&amp;(a&gt;=c?(h=f.createText(&quot;&quot;),h.insertAfter(this)):(a=f.createText(&quot;&quot;),a.insertAfter(h),a.remove()));return h},substring:function(a,d){return&quot;number&quot;!=typeof d?this.$.nodeValue.substr(a):this.$.nodeValue.substring(a,d)}});
(function(){function a(a,c,d){var h=a.serializable,k=c[d?&quot;endContainer&quot;:&quot;startContainer&quot;],g=d?&quot;endOffset&quot;:&quot;startOffset&quot;,l=h?c.document.getById(a.startNode):a.startNode;a=h?c.document.getById(a.endNode):a.endNode;k.equals(l.getPrevious())?(c.startOffset=c.startOffset-k.getLength()-a.getPrevious().getLength(),k=a.getNext()):k.equals(a.getPrevious())&amp;&amp;(c.startOffset-=k.getLength(),k=a.getNext());k.equals(l.getParent())&amp;&amp;c[g]++;k.equals(a.getParent())&amp;&amp;c[g]++;c[d?&quot;endContainer&quot;:&quot;startContainer&quot;]=k;return c}
CKEDITOR.dom.rangeList=function(a){if(a instanceof CKEDITOR.dom.rangeList)return a;a?a instanceof CKEDITOR.dom.range&amp;&amp;(a=[a]):a=[];return CKEDITOR.tools.extend(a,d)};var d={createIterator:function(){var a=this,c=CKEDITOR.dom.walker.bookmark(),d=[],h;return{getNextRange:function(k){h=void 0===h?0:h+1;var g=a[h];if(g&amp;&amp;1&lt;a.length){if(!h)for(var l=a.length-1;0&lt;=l;l--)d.unshift(a[l].createBookmark(!0));if(k)for(var u=0;a[h+u+1];){var e=g.document;k=0;l=e.getById(d[u].endNode);for(e=e.getById(d[u+1].startNode);;){l=
l.getNextSourceNode(!1);if(e.equals(l))k=1;else if(c(l)||l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.isBlockBoundary())continue;break}if(!k)break;u++}for(g.moveToBookmark(d.shift());u--;)l=a[++h],l.moveToBookmark(d.shift()),g.setEnd(l.endContainer,l.endOffset)}return g}}},createBookmarks:function(b){for(var c=[],d,h=0;h&lt;this.length;h++){c.push(d=this[h].createBookmark(b,!0));for(var k=h+1;k&lt;this.length;k++)this[k]=a(d,this[k]),this[k]=a(d,this[k],!0)}return c},createBookmarks2:function(a){for(var c=[],d=0;d&lt;
this.length;d++)c.push(this[d].createBookmark2(a));return c},moveToBookmarks:function(a){for(var c=0;c&lt;this.length;c++)this[c].moveToBookmark(a[c])}}})();
(function(){function a(){return CKEDITOR.getUrl(CKEDITOR.skinName.split(&quot;,&quot;)[1]||&quot;skins/&quot;+CKEDITOR.skinName.split(&quot;,&quot;)[0]+&quot;/&quot;)}function d(b){var c=CKEDITOR.skin[&quot;ua_&quot;+b],d=CKEDITOR.env;if(c)for(var c=c.split(&quot;,&quot;).sort(function(a,b){return a&gt;b?-1:1}),f=0,g;f&lt;c.length;f++)if(g=c[f],d.ie&amp;&amp;(g.replace(/^ie/,&quot;&quot;)==d.version||d.quirks&amp;&amp;&quot;iequirks&quot;==g)&amp;&amp;(g=&quot;ie&quot;),d[g]){b+=&quot;_&quot;+c[f];break}return CKEDITOR.getUrl(a()+b+&quot;.css&quot;)}function b(a,b){h[a]||(CKEDITOR.document.appendStyleSheet(d(a)),h[a]=1);b&amp;&amp;b()}function c(a){var b=
a.getById(k);b||(b=a.getHead().append(&quot;style&quot;),b.setAttribute(&quot;id&quot;,k),b.setAttribute(&quot;type&quot;,&quot;text/css&quot;));return b}function f(a,b,c){var d,f,g;if(CKEDITOR.env.webkit)for(b=b.split(&quot;}&quot;).slice(0,-1),f=0;f&lt;b.length;f++)b[f]=b[f].split(&quot;{&quot;);for(var h=0;h&lt;a.length;h++)if(CKEDITOR.env.webkit)for(f=0;f&lt;b.length;f++){g=b[f][1];for(d=0;d&lt;c.length;d++)g=g.replace(c[d][0],c[d][1]);a[h].$.sheet.addRule(b[f][0],g)}else{g=b;for(d=0;d&lt;c.length;d++)g=g.replace(c[d][0],c[d][1]);CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version?
a[h].$.styleSheet.cssText+=g:a[h].$.innerHTML+=g}}var h={};CKEDITOR.skin={path:a,loadPart:function(c,d){CKEDITOR.skin.name!=CKEDITOR.skinName.split(&quot;,&quot;)[0]?CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(a()+&quot;skin.js&quot;),function(){b(c,d)}):b(c,d)},getPath:function(a){return CKEDITOR.getUrl(d(a))},icons:{},addIcon:function(a,b,c,d){a=a.toLowerCase();this.icons[a]||(this.icons[a]={path:b,offset:c||0,bgsize:d||&quot;16px&quot;})},getIconStyle:function(a,b,c,d,f){var g;a&amp;&amp;(a=a.toLowerCase(),b&amp;&amp;(g=this.icons[a+&quot;-rtl&quot;]),
g||(g=this.icons[a]));a=c||g&amp;&amp;g.path||&quot;&quot;;d=d||g&amp;&amp;g.offset;f=f||g&amp;&amp;g.bgsize||&quot;16px&quot;;a&amp;&amp;(a=a.replace(/&#039;/g,&quot;\\&#039;&quot;));return a&amp;&amp;&quot;background-image:url(&#039;&quot;+CKEDITOR.getUrl(a)+&quot;&#039;);background-position:0 &quot;+d+&quot;px;background-size:&quot;+f+&quot;;&quot;}};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{getUiColor:function(){return this.uiColor},setUiColor:function(a){var b=c(CKEDITOR.document);return(this.setUiColor=function(a){this.uiColor=a;var c=CKEDITOR.skin.chameleon,d=&quot;&quot;,h=&quot;&quot;;&quot;function&quot;==typeof c&amp;&amp;(d=c(this,&quot;editor&quot;),h=
c(this,&quot;panel&quot;));a=[[l,a]];f([b],d,a);f(g,h,a)}).call(this,a)}});var k=&quot;cke_ui_color&quot;,g=[],l=/\$color/g;CKEDITOR.on(&quot;instanceLoaded&quot;,function(a){if(!CKEDITOR.env.ie||!CKEDITOR.env.quirks){var b=a.editor;a=function(a){a=(a.data[0]||a.data).element.getElementsByTag(&quot;iframe&quot;).getItem(0).getFrameDocument();if(!a.getById(&quot;cke_ui_color&quot;)){var d=c(a);g.push(d);b.on(&quot;destroy&quot;,function(){g=CKEDITOR.tools.array.filter(g,function(a){return d!==a})});(a=b.getUiColor())&amp;&amp;f([d],CKEDITOR.skin.chameleon(b,&quot;panel&quot;),
[[l,a]])}};b.on(&quot;panelShow&quot;,a);b.on(&quot;menuShow&quot;,a);b.config.uiColor&amp;&amp;b.setUiColor(b.config.uiColor)}})})();
(function(){if(CKEDITOR.env.webkit)CKEDITOR.env.hc=!1;else{var a=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv style\x3d&quot;width:0;height:0;position:absolute;left:-10000px;border:1px solid;border-color:red blue&quot;\x3e\x3c/div\x3e&#039;,CKEDITOR.document);a.appendTo(CKEDITOR.document.getHead());try{var d=a.getComputedStyle(&quot;border-top-color&quot;),b=a.getComputedStyle(&quot;border-right-color&quot;);CKEDITOR.env.hc=!(!d||d!=b)}catch(c){CKEDITOR.env.hc=!1}a.remove()}CKEDITOR.env.hc&amp;&amp;(CKEDITOR.env.cssClass+=&quot; cke_hc&quot;);CKEDITOR.document.appendStyleText(&quot;.cke{visibility:hidden;}&quot;);
CKEDITOR.status=&quot;loaded&quot;;CKEDITOR.fireOnce(&quot;loaded&quot;);if(a=CKEDITOR._.pending)for(delete CKEDITOR._.pending,d=0;d&lt;a.length;d++)CKEDITOR.editor.prototype.constructor.apply(a[d][0],a[d][1]),CKEDITOR.add(a[d][0])})();/*
 Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.skin.name=&quot;moono-lisa&quot;;CKEDITOR.skin.ua_editor=&quot;ie,iequirks,ie8,gecko&quot;;CKEDITOR.skin.ua_dialog=&quot;ie,iequirks,ie8&quot;;
CKEDITOR.skin.chameleon=function(){var b=function(){return function(b,d){for(var a=b.match(/[^#]./g),e=0;3&gt;e;e++){var f=e,c;c=parseInt(a[e],16);c=(&quot;0&quot;+(0&gt;d?0|c*(1+d):0|c+(255-c)*d).toString(16)).slice(-2);a[f]=c}return&quot;#&quot;+a.join(&quot;&quot;)}}(),f={editor:new CKEDITOR.template(&quot;{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_bottom [background-color:{defaultBackground};border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [background-color:{defaultBackground};outline-color:{defaultBorder};] {id} .cke_dialog_tab [background-color:{dialogTab};border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [background-color:{lightBackground};] {id} .cke_dialog_contents [border-top-color:{defaultBorder};] {id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [background:{dialogTabSelected};border-bottom-color:{dialogTabSelectedBorder};] {id} .cke_dialog_body [background:{dialogBody};border-color:{defaultBorder};] {id} a.cke_button_off:hover,{id} a.cke_button_off:focus,{id} a.cke_button_off:active [background-color:{darkBackground};border-color:{toolbarElementsBorder};] {id} .cke_button_on [background-color:{ckeButtonOn};border-color:{toolbarElementsBorder};] {id} .cke_toolbar_separator,{id} .cke_toolgroup a.cke_button:last-child:after,{id} .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after [background-color: {toolbarElementsBorder};border-color: {toolbarElementsBorder};] {id} a.cke_combo_button:hover,{id} a.cke_combo_button:focus,{id} .cke_combo_on a.cke_combo_button [border-color:{toolbarElementsBorder};background-color:{darkBackground};] {id} .cke_combo:after [border-color:{toolbarElementsBorder};] {id} .cke_path_item [color:{elementsPathColor};] {id} a.cke_path_item:hover,{id} a.cke_path_item:focus,{id} a.cke_path_item:active [background-color:{darkBackground};] {id}.cke_panel [border-color:{defaultBorder};] &quot;),panel:new CKEDITOR.template(&quot;.cke_panel_grouptitle [background-color:{lightBackground};border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active [background-color:{menubuttonHover};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};] &quot;)};
return function(g,d){var a=b(g.uiColor,.4),a={id:&quot;.&quot;+g.id,defaultBorder:b(a,-.2),toolbarElementsBorder:b(a,-.25),defaultBackground:a,lightBackground:b(a,.8),darkBackground:b(a,-.15),ckeButtonOn:b(a,.4),ckeResizer:b(a,-.4),ckeColorauto:b(a,.8),dialogBody:b(a,.7),dialogTab:b(a,.65),dialogTabSelected:&quot;#FFF&quot;,dialogTabSelectedBorder:&quot;#FFF&quot;,elementsPathColor:b(a,-.6),menubuttonHover:b(a,.1),menubuttonIcon:b(a,.5),menubuttonIconHover:b(a,.3)};return f[d].output(a).replace(/\[/g,&quot;{&quot;).replace(/\]/g,&quot;}&quot;)}}();CKEDITOR.plugins.add(&quot;dialogui&quot;,{onLoad:function(){var h=function(b){this._||(this._={});this._[&quot;default&quot;]=this._.initValue=b[&quot;default&quot;]||&quot;&quot;;this._.required=b.required||!1;for(var a=[this._],d=1;d&lt;arguments.length;d++)a.push(arguments[d]);a.push(!0);CKEDITOR.tools.extend.apply(CKEDITOR.tools,a);return this._},r={build:function(b,a,d){return new CKEDITOR.ui.dialog.textInput(b,a,d)}},n={build:function(b,a,d){return new CKEDITOR.ui.dialog[a.type](b,a,d)}},q={isChanged:function(){return this.getValue()!=
this.getInitValue()},reset:function(b){this.setValue(this.getInitValue(),b)},setInitValue:function(){this._.initValue=this.getValue()},resetInitValue:function(){this._.initValue=this._[&quot;default&quot;]},getInitValue:function(){return this._.initValue}},v=CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onChange:function(b,a){this._.domOnChangeRegistered||(b.on(&quot;load&quot;,function(){this.getInputElement().on(&quot;change&quot;,function(){b.parts.dialog.isVisible()&amp;&amp;this.fire(&quot;change&quot;,{value:this.getValue()})},
this)},this),this._.domOnChangeRegistered=!0);this.on(&quot;change&quot;,a)}},!0),x=/^on([A-Z]\w+)/,t=function(b){for(var a in b)(x.test(a)||&quot;title&quot;==a||&quot;type&quot;==a)&amp;&amp;delete b[a];return b},w=function(b){b=b.data.getKeystroke();b==CKEDITOR.SHIFT+CKEDITOR.ALT+36?this.setDirectionMarker(&quot;ltr&quot;):b==CKEDITOR.SHIFT+CKEDITOR.ALT+35&amp;&amp;this.setDirectionMarker(&quot;rtl&quot;)};CKEDITOR.tools.extend(CKEDITOR.ui.dialog,{labeledElement:function(b,a,d,f){if(!(4&gt;arguments.length)){var c=h.call(this,a);c.labelId=CKEDITOR.tools.getNextId()+
&quot;_label&quot;;this._.children=[];var e={role:a.role||&quot;presentation&quot;};a.includeLabel&amp;&amp;(e[&quot;aria-labelledby&quot;]=c.labelId);CKEDITOR.ui.dialog.uiElement.call(this,b,a,d,&quot;div&quot;,null,e,function(){var e=[],g=a.required?&quot; cke_required&quot;:&quot;&quot;;&quot;horizontal&quot;!=a.labelLayout?e.push(&#039;\x3clabel class\x3d&quot;cke_dialog_ui_labeled_label&#039;+g+&#039;&quot; &#039;,&#039; id\x3d&quot;&#039;+c.labelId+&#039;&quot;&#039;,c.inputId?&#039; for\x3d&quot;&#039;+c.inputId+&#039;&quot;&#039;:&quot;&quot;,(a.labelStyle?&#039; style\x3d&quot;&#039;+a.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;,a.label,&quot;\x3c/label\x3e&quot;,&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_labeled_content&quot;&#039;,
a.controlStyle?&#039; style\x3d&quot;&#039;+a.controlStyle+&#039;&quot;&#039;:&quot;&quot;,&#039; role\x3d&quot;presentation&quot;\x3e&#039;,f.call(this,b,a),&quot;\x3c/div\x3e&quot;):(g={type:&quot;hbox&quot;,widths:a.widths,padding:0,children:[{type:&quot;html&quot;,html:&#039;\x3clabel class\x3d&quot;cke_dialog_ui_labeled_label&#039;+g+&#039;&quot; id\x3d&quot;&#039;+c.labelId+&#039;&quot; for\x3d&quot;&#039;+c.inputId+&#039;&quot;&#039;+(a.labelStyle?&#039; style\x3d&quot;&#039;+a.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+CKEDITOR.tools.htmlEncode(a.label)+&quot;\x3c/label\x3e&quot;},{type:&quot;html&quot;,html:&#039;\x3cspan class\x3d&quot;cke_dialog_ui_labeled_content&quot;&#039;+(a.controlStyle?&#039; style\x3d&quot;&#039;+a.controlStyle+
&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+f.call(this,b,a)+&quot;\x3c/span\x3e&quot;}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(b,g,e));return e.join(&quot;&quot;)})}},textInput:function(b,a,d){if(!(3&gt;arguments.length)){h.call(this,a);var f=this._.inputId=CKEDITOR.tools.getNextId()+&quot;_textInput&quot;,c={&quot;class&quot;:&quot;cke_dialog_ui_input_&quot;+a.type,id:f,type:a.type};a.validate&amp;&amp;(this.validate=a.validate);a.maxLength&amp;&amp;(c.maxlength=a.maxLength);a.size&amp;&amp;(c.size=a.size);a.inputStyle&amp;&amp;(c.style=a.inputStyle);var e=this,m=!1;b.on(&quot;load&quot;,function(){e.getInputElement().on(&quot;keydown&quot;,
function(a){13==a.data.getKeystroke()&amp;&amp;(m=!0)});e.getInputElement().on(&quot;keyup&quot;,function(a){13==a.data.getKeystroke()&amp;&amp;m&amp;&amp;(b.getButton(&quot;ok&quot;)&amp;&amp;setTimeout(function(){b.getButton(&quot;ok&quot;).click()},0),m=!1);e.bidi&amp;&amp;w.call(e,a)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){var b=[&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_&#039;,a.type,&#039;&quot; role\x3d&quot;presentation&quot;&#039;];a.width&amp;&amp;b.push(&#039;style\x3d&quot;width:&#039;+a.width+&#039;&quot; &#039;);b.push(&quot;\x3e\x3cinput &quot;);c[&quot;aria-labelledby&quot;]=this._.labelId;this._.required&amp;&amp;
(c[&quot;aria-required&quot;]=this._.required);for(var e in c)b.push(e+&#039;\x3d&quot;&#039;+c[e]+&#039;&quot; &#039;);b.push(&quot; /\x3e\x3c/div\x3e&quot;);return b.join(&quot;&quot;)})}},textarea:function(b,a,d){if(!(3&gt;arguments.length)){h.call(this,a);var f=this,c=this._.inputId=CKEDITOR.tools.getNextId()+&quot;_textarea&quot;,e={};a.validate&amp;&amp;(this.validate=a.validate);e.rows=a.rows||5;e.cols=a.cols||20;e[&quot;class&quot;]=&quot;cke_dialog_ui_input_textarea &quot;+(a[&quot;class&quot;]||&quot;&quot;);&quot;undefined&quot;!=typeof a.inputStyle&amp;&amp;(e.style=a.inputStyle);a.dir&amp;&amp;(e.dir=a.dir);if(f.bidi)b.on(&quot;load&quot;,
function(){f.getInputElement().on(&quot;keyup&quot;,w)},f);CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){e[&quot;aria-labelledby&quot;]=this._.labelId;this._.required&amp;&amp;(e[&quot;aria-required&quot;]=this._.required);var a=[&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_textarea&quot; role\x3d&quot;presentation&quot;\x3e\x3ctextarea id\x3d&quot;&#039;,c,&#039;&quot; &#039;],b;for(b in e)a.push(b+&#039;\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(e[b])+&#039;&quot; &#039;);a.push(&quot;\x3e&quot;,CKEDITOR.tools.htmlEncode(f._[&quot;default&quot;]),&quot;\x3c/textarea\x3e\x3c/div\x3e&quot;);return a.join(&quot;&quot;)})}},checkbox:function(b,
a,d){if(!(3&gt;arguments.length)){var f=h.call(this,a,{&quot;default&quot;:!!a[&quot;default&quot;]});a.validate&amp;&amp;(this.validate=a.validate);CKEDITOR.ui.dialog.uiElement.call(this,b,a,d,&quot;span&quot;,null,null,function(){var c=CKEDITOR.tools.extend({},a,{id:a.id?a.id+&quot;_checkbox&quot;:CKEDITOR.tools.getNextId()+&quot;_checkbox&quot;},!0),e=[],d=CKEDITOR.tools.getNextId()+&quot;_label&quot;,g={&quot;class&quot;:&quot;cke_dialog_ui_checkbox_input&quot;,type:&quot;checkbox&quot;,&quot;aria-labelledby&quot;:d};t(c);a[&quot;default&quot;]&amp;&amp;(g.checked=&quot;checked&quot;);&quot;undefined&quot;!=typeof c.inputStyle&amp;&amp;(c.style=c.inputStyle);
f.checkbox=new CKEDITOR.ui.dialog.uiElement(b,c,e,&quot;input&quot;,null,g);e.push(&#039; \x3clabel id\x3d&quot;&#039;,d,&#039;&quot; for\x3d&quot;&#039;,g.id,&#039;&quot;&#039;+(a.labelStyle?&#039; style\x3d&quot;&#039;+a.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;,CKEDITOR.tools.htmlEncode(a.label),&quot;\x3c/label\x3e&quot;);return e.join(&quot;&quot;)})}},radio:function(b,a,d){if(!(3&gt;arguments.length)){h.call(this,a);this._[&quot;default&quot;]||(this._[&quot;default&quot;]=this._.initValue=a.items[0][1]);a.validate&amp;&amp;(this.validate=a.validate);var f=[],c=this;a.role=&quot;radiogroup&quot;;a.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this,
b,a,d,function(){for(var e=[],d=[],g=(a.id?a.id:CKEDITOR.tools.getNextId())+&quot;_radio&quot;,k=0;k&lt;a.items.length;k++){var l=a.items[k],h=void 0!==l[2]?l[2]:l[0],n=void 0!==l[1]?l[1]:l[0],p=CKEDITOR.tools.getNextId()+&quot;_radio_input&quot;,q=p+&quot;_label&quot;,p=CKEDITOR.tools.extend({},a,{id:p,title:null,type:null},!0),h=CKEDITOR.tools.extend({},p,{title:h},!0),r={type:&quot;radio&quot;,&quot;class&quot;:&quot;cke_dialog_ui_radio_input&quot;,name:g,value:n,&quot;aria-labelledby&quot;:q},u=[];c._[&quot;default&quot;]==n&amp;&amp;(r.checked=&quot;checked&quot;);t(p);t(h);&quot;undefined&quot;!=typeof p.inputStyle&amp;&amp;
(p.style=p.inputStyle);p.keyboardFocusable=!0;f.push(new CKEDITOR.ui.dialog.uiElement(b,p,u,&quot;input&quot;,null,r));u.push(&quot; &quot;);new CKEDITOR.ui.dialog.uiElement(b,h,u,&quot;label&quot;,null,{id:q,&quot;for&quot;:r.id},l[0]);e.push(u.join(&quot;&quot;))}new CKEDITOR.ui.dialog.hbox(b,f,e,d);return d.join(&quot;&quot;)});this._.children=f}},button:function(b,a,d){if(arguments.length){&quot;function&quot;==typeof a&amp;&amp;(a=a(b.getParentEditor()));h.call(this,a,{disabled:a.disabled||!1});CKEDITOR.event.implementOn(this);var f=this;b.on(&quot;load&quot;,function(){var a=this.getElement();
(function(){a.on(&quot;click&quot;,function(a){f.click();a.data.preventDefault()});a.on(&quot;keydown&quot;,function(a){a.data.getKeystroke()in{32:1}&amp;&amp;(f.click(),a.data.preventDefault())})})();a.unselectable()},this);var c=CKEDITOR.tools.extend({},a);delete c.style;var e=CKEDITOR.tools.getNextId()+&quot;_label&quot;;CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,&quot;a&quot;,null,{style:a.style,href:&quot;javascript:void(0)&quot;,title:a.label,hidefocus:&quot;true&quot;,&quot;class&quot;:a[&quot;class&quot;],role:&quot;button&quot;,&quot;aria-labelledby&quot;:e},&#039;\x3cspan id\x3d&quot;&#039;+e+&#039;&quot; class\x3d&quot;cke_dialog_ui_button&quot;\x3e&#039;+
CKEDITOR.tools.htmlEncode(a.label)+&quot;\x3c/span\x3e&quot;)}},select:function(b,a,d){if(!(3&gt;arguments.length)){var f=h.call(this,a);a.validate&amp;&amp;(this.validate=a.validate);f.inputId=CKEDITOR.tools.getNextId()+&quot;_select&quot;;CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){var c=CKEDITOR.tools.extend({},a,{id:a.id?a.id+&quot;_select&quot;:CKEDITOR.tools.getNextId()+&quot;_select&quot;},!0),e=[],d=[],g={id:f.inputId,&quot;class&quot;:&quot;cke_dialog_ui_input_select&quot;,&quot;aria-labelledby&quot;:this._.labelId};e.push(&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_&#039;,
a.type,&#039;&quot; role\x3d&quot;presentation&quot;&#039;);a.width&amp;&amp;e.push(&#039;style\x3d&quot;width:&#039;+a.width+&#039;&quot; &#039;);e.push(&quot;\x3e&quot;);void 0!==a.size&amp;&amp;(g.size=a.size);void 0!==a.multiple&amp;&amp;(g.multiple=a.multiple);t(c);for(var k=0,l;k&lt;a.items.length&amp;&amp;(l=a.items[k]);k++)d.push(&#039;\x3coption value\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(void 0!==l[1]?l[1]:l[0]).replace(/&quot;/g,&quot;\x26quot;&quot;),&#039;&quot; /\x3e &#039;,CKEDITOR.tools.htmlEncode(l[0]));&quot;undefined&quot;!=typeof c.inputStyle&amp;&amp;(c.style=c.inputStyle);f.select=new CKEDITOR.ui.dialog.uiElement(b,c,e,&quot;select&quot;,null,
g,d.join(&quot;&quot;));e.push(&quot;\x3c/div\x3e&quot;);return e.join(&quot;&quot;)})}},file:function(b,a,d){if(!(3&gt;arguments.length)){void 0===a[&quot;default&quot;]&amp;&amp;(a[&quot;default&quot;]=&quot;&quot;);var f=CKEDITOR.tools.extend(h.call(this,a),{definition:a,buttons:[]});a.validate&amp;&amp;(this.validate=a.validate);b.on(&quot;load&quot;,function(){CKEDITOR.document.getById(f.frameId).getParent().addClass(&quot;cke_dialog_ui_input_file&quot;)});CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){f.frameId=CKEDITOR.tools.getNextId()+&quot;_fileInput&quot;;var b=[&#039;\x3ciframe frameborder\x3d&quot;0&quot; allowtransparency\x3d&quot;0&quot; class\x3d&quot;cke_dialog_ui_input_file&quot; role\x3d&quot;presentation&quot; id\x3d&quot;&#039;,
f.frameId,&#039;&quot; title\x3d&quot;&#039;,a.label,&#039;&quot; src\x3d&quot;javascript:void(&#039;];b.push(CKEDITOR.env.ie?&quot;(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;})()&quot;:&quot;0&quot;);b.push(&#039;)&quot;\x3e\x3c/iframe\x3e&#039;);return b.join(&quot;&quot;)})}},fileButton:function(b,a,d){var f=this;if(!(3&gt;arguments.length)){h.call(this,a);a.validate&amp;&amp;(this.validate=a.validate);var c=CKEDITOR.tools.extend({},a),e=c.onClick;c.className=(c.className?c.className+&quot; &quot;:&quot;&quot;)+&quot;cke_dialog_ui_button&quot;;c.onClick=function(c){var d=
a[&quot;for&quot;];c=e?e.call(this,c):!1;!1!==c&amp;&amp;(&quot;xhr&quot;!==c&amp;&amp;b.getContentElement(d[0],d[1]).submit(),this.disable())};b.on(&quot;load&quot;,function(){b.getContentElement(a[&quot;for&quot;][0],a[&quot;for&quot;][1])._.buttons.push(f)});CKEDITOR.ui.dialog.button.call(this,b,c,d)}},html:function(){var b=/^\s*&lt;[\w:]+\s+([^&gt;]*)?&gt;/,a=/^(\s*&lt;[\w:]+(?:\s+[^&gt;]*)?)((?:.|\r|\n)+)$/,d=/\/$/;return function(f,c,e){if(!(3&gt;arguments.length)){var m=[],g=c.html;&quot;\x3c&quot;!=g.charAt(0)&amp;&amp;(g=&quot;\x3cspan\x3e&quot;+g+&quot;\x3c/span\x3e&quot;);var k=c.focus;if(k){var l=this.focus;
this.focus=function(){(&quot;function&quot;==typeof k?k:l).call(this);this.fire(&quot;focus&quot;)};c.isFocusable&amp;&amp;(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,f,c,m,&quot;span&quot;,null,null,&quot;&quot;);m=m.join(&quot;&quot;).match(b);g=g.match(a)||[&quot;&quot;,&quot;&quot;,&quot;&quot;];d.test(g[1])&amp;&amp;(g[1]=g[1].slice(0,-1),g[2]=&quot;/&quot;+g[2]);e.push([g[1],&quot; &quot;,m[1]||&quot;&quot;,g[2]].join(&quot;&quot;))}}}(),fieldset:function(b,a,d,f,c){var e=c.label;this._={children:a};CKEDITOR.ui.dialog.uiElement.call(this,b,c,f,&quot;fieldset&quot;,null,null,function(){var a=
[];e&amp;&amp;a.push(&quot;\x3clegend&quot;+(c.labelStyle?&#039; style\x3d&quot;&#039;+c.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+e+&quot;\x3c/legend\x3e&quot;);for(var b=0;b&lt;d.length;b++)a.push(d[b]);return a.join(&quot;&quot;)})}},!0);CKEDITOR.ui.dialog.html.prototype=new CKEDITOR.ui.dialog.uiElement;CKEDITOR.ui.dialog.labeledElement.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setLabel:function(b){var a=CKEDITOR.document.getById(this._.labelId);1&gt;a.getChildCount()?(new CKEDITOR.dom.text(b,CKEDITOR.document)).appendTo(a):a.getChild(0).$.nodeValue=
b;return this},getLabel:function(){var b=CKEDITOR.document.getById(this._.labelId);return!b||1&gt;b.getChildCount()?&quot;&quot;:b.getChild(0).getText()},eventProcessors:v},!0);CKEDITOR.ui.dialog.button.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{click:function(){return this._.disabled?!1:this.fire(&quot;click&quot;,{dialog:this._.dialog})},enable:function(){this._.disabled=!1;var b=this.getElement();b&amp;&amp;b.removeClass(&quot;cke_disabled&quot;)},disable:function(){this._.disabled=!0;this.getElement().addClass(&quot;cke_disabled&quot;)},
isVisible:function(){return this.getElement().getFirst().isVisible()},isEnabled:function(){return!this._.disabled},eventProcessors:CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onClick:function(b,a){this.on(&quot;click&quot;,function(){a.apply(this,arguments)})}},!0),accessKeyUp:function(){this.click()},accessKeyDown:function(){this.focus()},keyboardFocusable:!0},!0);CKEDITOR.ui.dialog.textInput.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return CKEDITOR.document.getById(this._.inputId)},
focus:function(){var b=this.selectParentTab();setTimeout(function(){var a=b.getInputElement();a&amp;&amp;a.$.focus()},0)},select:function(){var b=this.selectParentTab();setTimeout(function(){var a=b.getInputElement();a&amp;&amp;(a.$.focus(),a.$.select())},0)},accessKeyUp:function(){this.select()},setValue:function(b){if(this.bidi){var a=b&amp;&amp;b.charAt(0);(a=&quot;‪&quot;==a?&quot;ltr&quot;:&quot;‫&quot;==a?&quot;rtl&quot;:null)&amp;&amp;(b=b.slice(1));this.setDirectionMarker(a)}b||(b=&quot;&quot;);return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply(this,arguments)},
getValue:function(){var b=CKEDITOR.ui.dialog.uiElement.prototype.getValue.call(this);if(this.bidi&amp;&amp;b){var a=this.getDirectionMarker();a&amp;&amp;(b=(&quot;ltr&quot;==a?&quot;‪&quot;:&quot;‫&quot;)+b)}return b},setDirectionMarker:function(b){var a=this.getInputElement();b?a.setAttributes({dir:b,&quot;data-cke-dir-marker&quot;:b}):this.getDirectionMarker()&amp;&amp;a.removeAttributes([&quot;dir&quot;,&quot;data-cke-dir-marker&quot;])},getDirectionMarker:function(){return this.getInputElement().data(&quot;cke-dir-marker&quot;)},keyboardFocusable:!0},q,!0);CKEDITOR.ui.dialog.textarea.prototype=
new CKEDITOR.ui.dialog.textInput;CKEDITOR.ui.dialog.select.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return this._.select.getElement()},add:function(b,a,d){var f=new CKEDITOR.dom.element(&quot;option&quot;,this.getDialog().getParentEditor().document),c=this.getInputElement().$;f.$.text=b;f.$.value=void 0===a||null===a?b:a;void 0===d||null===d?CKEDITOR.env.ie?c.add(f.$):c.add(f.$,null):c.add(f.$,d);return this},remove:function(b){this.getInputElement().$.remove(b);
return this},clear:function(){for(var b=this.getInputElement().$;0&lt;b.length;)b.remove(0);return this},keyboardFocusable:!0},q,!0);CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(b,a){this.getInputElement().$.checked=b;!a&amp;&amp;this.fire(&quot;change&quot;,{value:b})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(b,
a){if(!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version)return v.onChange.apply(this,arguments);b.on(&quot;load&quot;,function(){var a=this._.checkbox.getElement();a.on(&quot;propertychange&quot;,function(b){b=b.data.$;&quot;checked&quot;==b.propertyName&amp;&amp;this.fire(&quot;change&quot;,{value:a.$.checked})},this)},this);this.on(&quot;change&quot;,a);return null}},keyboardFocusable:!0},q,!0);CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setValue:function(b,a){for(var d=this._.children,f,c=0;c&lt;d.length&amp;&amp;(f=d[c]);c++)f.getElement().$.checked=
f.getValue()==b;!a&amp;&amp;this.fire(&quot;change&quot;,{value:b})},getValue:function(){for(var b=this._.children,a=0;a&lt;b.length;a++)if(b[a].getElement().$.checked)return b[a].getValue();return null},accessKeyUp:function(){var b=this._.children,a;for(a=0;a&lt;b.length;a++)if(b[a].getElement().$.checked){b[a].getElement().focus();return}b[0].getElement().focus()},eventProcessors:{onChange:function(b,a){if(!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version)return v.onChange.apply(this,arguments);b.on(&quot;load&quot;,function(){for(var a=
this._.children,b=this,c=0;c&lt;a.length;c++)a[c].getElement().on(&quot;propertychange&quot;,function(a){a=a.data.$;&quot;checked&quot;==a.propertyName&amp;&amp;this.$.checked&amp;&amp;b.fire(&quot;change&quot;,{value:this.getAttribute(&quot;value&quot;)})})},this);this.on(&quot;change&quot;,a);return null}}},q,!0);CKEDITOR.ui.dialog.file.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,q,{getInputElement:function(){var b=CKEDITOR.document.getById(this._.frameId).getFrameDocument();return 0&lt;b.$.forms.length?new CKEDITOR.dom.element(b.$.forms[0].elements[0]):
this.getElement()},submit:function(){this.getInputElement().getParent().$.submit();return this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(b){var a=/^on([A-Z]\w+)/,d,f=function(a,b,c,d){a.on(&quot;formLoaded&quot;,function(){a.getInputElement().on(c,d,a)})},c;for(c in b)if(d=c.match(a))this.eventProcessors[c]?this.eventProcessors[c].call(this,this._.dialog,b[c]):f(this,this._.dialog,d[1].toLowerCase(),b[c]);return this},reset:function(){function b(){d.$.open();
var b=&quot;&quot;;f.size&amp;&amp;(b=f.size-(CKEDITOR.env.ie?7:0));var h=a.frameId+&quot;_input&quot;;d.$.write([&#039;\x3chtml dir\x3d&quot;&#039;+g+&#039;&quot; lang\x3d&quot;&#039;+k+&#039;&quot;\x3e\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d&quot;margin: 0; overflow: hidden; background: transparent;&quot;\x3e&#039;,&#039;\x3cform enctype\x3d&quot;multipart/form-data&quot; method\x3d&quot;POST&quot; dir\x3d&quot;&#039;+g+&#039;&quot; lang\x3d&quot;&#039;+k+&#039;&quot; action\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(f.action),&#039;&quot;\x3e\x3clabel id\x3d&quot;&#039;,a.labelId,&#039;&quot; for\x3d&quot;&#039;,h,&#039;&quot; style\x3d&quot;display:none&quot;\x3e&#039;,CKEDITOR.tools.htmlEncode(f.label),
&#039;\x3c/label\x3e\x3cinput style\x3d&quot;width:100%&quot; id\x3d&quot;&#039;,h,&#039;&quot; aria-labelledby\x3d&quot;&#039;,a.labelId,&#039;&quot; type\x3d&quot;file&quot; name\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(f.id||&quot;cke_upload&quot;),&#039;&quot; size\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(0&lt;b?b:&quot;&quot;),&#039;&quot; /\x3e\x3c/form\x3e\x3c/body\x3e\x3c/html\x3e\x3cscript\x3e&#039;,CKEDITOR.env.ie?&quot;(&quot;+CKEDITOR.tools.fixDomain+&quot;)();&quot;:&quot;&quot;,&quot;window.parent.CKEDITOR.tools.callFunction(&quot;+e+&quot;);&quot;,&quot;window.onbeforeunload \x3d function() {window.parent.CKEDITOR.tools.callFunction(&quot;+m+&quot;)}&quot;,&quot;\x3c/script\x3e&quot;].join(&quot;&quot;));
d.$.close();for(b=0;b&lt;c.length;b++)c[b].enable()}var a=this._,d=CKEDITOR.document.getById(a.frameId).getFrameDocument(),f=a.definition,c=a.buttons,e=this.formLoadedNumber,m=this.formUnloadNumber,g=a.dialog._.editor.lang.dir,k=a.dialog._.editor.langCode;e||(e=this.formLoadedNumber=CKEDITOR.tools.addFunction(function(){this.fire(&quot;formLoaded&quot;)},this),m=this.formUnloadNumber=CKEDITOR.tools.addFunction(function(){this.getInputElement().clearCustomData()},this),this.getDialog()._.editor.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(e);
CKEDITOR.tools.removeFunction(m)}));CKEDITOR.env.gecko?setTimeout(b,500):b()},getValue:function(){return this.getInputElement().$.value||&quot;&quot;},setInitValue:function(){this._.initValue=&quot;&quot;},eventProcessors:{onChange:function(b,a){this._.domOnChangeRegistered||(this.on(&quot;formLoaded&quot;,function(){this.getInputElement().on(&quot;change&quot;,function(){this.fire(&quot;change&quot;,{value:this.getValue()})},this)},this),this._.domOnChangeRegistered=!0);this.on(&quot;change&quot;,a)}},keyboardFocusable:!0},!0);CKEDITOR.ui.dialog.fileButton.prototype=
new CKEDITOR.ui.dialog.button;CKEDITOR.ui.dialog.fieldset.prototype=CKEDITOR.tools.clone(CKEDITOR.ui.dialog.hbox.prototype);CKEDITOR.dialog.addUIElement(&quot;text&quot;,r);CKEDITOR.dialog.addUIElement(&quot;password&quot;,r);CKEDITOR.dialog.addUIElement(&quot;tel&quot;,r);CKEDITOR.dialog.addUIElement(&quot;textarea&quot;,n);CKEDITOR.dialog.addUIElement(&quot;checkbox&quot;,n);CKEDITOR.dialog.addUIElement(&quot;radio&quot;,n);CKEDITOR.dialog.addUIElement(&quot;button&quot;,n);CKEDITOR.dialog.addUIElement(&quot;select&quot;,n);CKEDITOR.dialog.addUIElement(&quot;file&quot;,n);CKEDITOR.dialog.addUIElement(&quot;fileButton&quot;,
n);CKEDITOR.dialog.addUIElement(&quot;html&quot;,n);CKEDITOR.dialog.addUIElement(&quot;fieldset&quot;,{build:function(b,a,d){for(var f=a.children,c,e=[],h=[],g=0;g&lt;f.length&amp;&amp;(c=f[g]);g++){var k=[];e.push(k);h.push(CKEDITOR.dialog._.uiElementBuilders[c.type].build(b,c,k))}return new CKEDITOR.ui.dialog[a.type](b,h,e,d,a)}})}});CKEDITOR.DIALOG_RESIZE_NONE=0;CKEDITOR.DIALOG_RESIZE_WIDTH=1;CKEDITOR.DIALOG_RESIZE_HEIGHT=2;CKEDITOR.DIALOG_RESIZE_BOTH=3;CKEDITOR.DIALOG_STATE_IDLE=1;CKEDITOR.DIALOG_STATE_BUSY=2;
(function(){function z(a){a._.tabBarMode=!0;a._.tabs[a._.currentTabId][0].focus();a._.currentFocusIndex=-1}function A(){for(var a=this._.tabIdList.length,b=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId)+a,c=b-1;c&gt;b-a;c--)if(this._.tabs[this._.tabIdList[c%a]][0].$.offsetHeight)return this._.tabIdList[c%a];return null}function V(){for(var a=this._.tabIdList.length,b=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId),c=b+1;c&lt;b+a;c++)if(this._.tabs[this._.tabIdList[c%a]][0].$.offsetHeight)return this._.tabIdList[c%
a];return null}function K(a,b){for(var c=a.$.getElementsByTagName(&quot;input&quot;),e=0,d=c.length;e&lt;d;e++){var f=new CKEDITOR.dom.element(c[e]);&quot;text&quot;==f.getAttribute(&quot;type&quot;).toLowerCase()&amp;&amp;(b?(f.setAttribute(&quot;value&quot;,f.getCustomData(&quot;fake_value&quot;)||&quot;&quot;),f.removeCustomData(&quot;fake_value&quot;)):(f.setCustomData(&quot;fake_value&quot;,f.getAttribute(&quot;value&quot;)),f.setAttribute(&quot;value&quot;,&quot;&quot;)))}}function W(a,b){var c=this.getInputElement();c&amp;&amp;(a?c.removeAttribute(&quot;aria-invalid&quot;):c.setAttribute(&quot;aria-invalid&quot;,!0));a||(this.select?this.select():
this.focus());b&amp;&amp;alert(b);this.fire(&quot;validated&quot;,{valid:a,msg:b})}function X(){var a=this.getInputElement();a&amp;&amp;a.removeAttribute(&quot;aria-invalid&quot;)}function Y(a){var b=CKEDITOR.dom.element.createFromHtml(CKEDITOR.addTemplate(&quot;dialog&quot;,Z).output({id:CKEDITOR.tools.getNextNumber(),editorId:a.id,langDir:a.lang.dir,langCode:a.langCode,editorDialogClass:&quot;cke_editor_&quot;+a.name.replace(/\./g,&quot;\\.&quot;)+&quot;_dialog&quot;,closeTitle:a.lang.common.close,hidpi:CKEDITOR.env.hidpi?&quot;cke_hidpi&quot;:&quot;&quot;})),c=b.getChild([0,0,0,0,0]),e=c.getChild(0),
d=c.getChild(1);a.plugins.clipboard&amp;&amp;CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(c);!CKEDITOR.env.ie||CKEDITOR.env.quirks||CKEDITOR.env.edge||(a=&quot;javascript:void(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;}())&quot;,CKEDITOR.dom.element.createFromHtml(&#039;\x3ciframe frameBorder\x3d&quot;0&quot; class\x3d&quot;cke_iframe_shim&quot; src\x3d&quot;&#039;+a+&#039;&quot; tabIndex\x3d&quot;-1&quot;\x3e\x3c/iframe\x3e&#039;).appendTo(c.getParent()));e.unselectable();d.unselectable();return{element:b,
parts:{dialog:b.getChild(0),title:e,close:d,tabs:c.getChild(2),contents:c.getChild([3,0,0,0]),footer:c.getChild([3,0,1,0])}}}function L(a,b,c){this.element=b;this.focusIndex=c;this.tabIndex=0;this.isFocusable=function(){return!b.getAttribute(&quot;disabled&quot;)&amp;&amp;b.isVisible()};this.focus=function(){a._.currentFocusIndex=this.focusIndex;this.element.focus()};b.on(&quot;keydown&quot;,function(a){a.data.getKeystroke()in{32:1,13:1}&amp;&amp;this.fire(&quot;click&quot;)});b.on(&quot;focus&quot;,function(){this.fire(&quot;mouseover&quot;)});b.on(&quot;blur&quot;,function(){this.fire(&quot;mouseout&quot;)})}
function aa(a){function b(){a.layout()}var c=CKEDITOR.document.getWindow();c.on(&quot;resize&quot;,b);a.on(&quot;hide&quot;,function(){c.removeListener(&quot;resize&quot;,b)})}function M(a,b){this.dialog=a;for(var c=b.contents,e=0,d;d=c[e];e++)c[e]=d&amp;&amp;new N(a,d);CKEDITOR.tools.extend(this,b)}function N(a,b){this._={dialog:a};CKEDITOR.tools.extend(this,b)}function ba(a){function b(b){var c=a.getSize(),k=a.parts.dialog.getParent().getClientSize(),q=b.data.$.screenX,l=b.data.$.screenY,r=q-e.x,n=l-e.y;e={x:q,y:l};d.x+=r;d.y+=n;q=
d.x+h[3]&lt;g?-h[3]:d.x-h[1]&gt;k.width-c.width-g?k.width-c.width+(&quot;rtl&quot;==f.lang.dir?0:h[1]):d.x;c=d.y+h[0]&lt;g?-h[0]:d.y-h[2]&gt;k.height-c.height-g?k.height-c.height+h[2]:d.y;q=Math.floor(q);c=Math.floor(c);a.move(q,c,1);b.data.preventDefault()}function c(){CKEDITOR.document.removeListener(&quot;mousemove&quot;,b);CKEDITOR.document.removeListener(&quot;mouseup&quot;,c);if(CKEDITOR.env.ie6Compat){var a=u.getChild(0).getFrameDocument();a.removeListener(&quot;mousemove&quot;,b);a.removeListener(&quot;mouseup&quot;,c)}}var e=null,d=null,f=a.getParentEditor(),
g=f.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];&quot;undefined&quot;==typeof g&amp;&amp;(g=20);a.parts.title.on(&quot;mousedown&quot;,function(g){if(!a._.moved){var f=a._.element;f.getFirst().setStyle(&quot;position&quot;,&quot;absolute&quot;);f.removeStyle(&quot;display&quot;);a._.moved=!0;a.layout()}e={x:g.data.$.screenX,y:g.data.$.screenY};CKEDITOR.document.on(&quot;mousemove&quot;,b);CKEDITOR.document.on(&quot;mouseup&quot;,c);d=a.getPosition();CKEDITOR.env.ie6Compat&amp;&amp;(f=u.getChild(0).getFrameDocument(),f.on(&quot;mousemove&quot;,b),f.on(&quot;mouseup&quot;,c));g.data.preventDefault()},
a)}function ca(a){function b(b){var c=&quot;rtl&quot;==f.lang.dir,q=k.width,l=k.height,w=q+(b.data.$.screenX-m.x)*(c?-1:1)*(a._.moved?1:2),C=l+(b.data.$.screenY-m.y)*(a._.moved?1:2),E=a._.element.getFirst(),E=c&amp;&amp;parseInt(E.getComputedStyle(&quot;right&quot;),10),v=a.getPosition();v.x=v.x||0;v.y=v.y||0;v.y+C&gt;p.height&amp;&amp;(C=p.height-v.y);(c?E:v.x)+w&gt;p.width&amp;&amp;(w=p.width-(c?E:v.x));C=Math.floor(C);w=Math.floor(w);if(d==CKEDITOR.DIALOG_RESIZE_WIDTH||d==CKEDITOR.DIALOG_RESIZE_BOTH)q=Math.max(e.minWidth||0,w-g);if(d==CKEDITOR.DIALOG_RESIZE_HEIGHT||
d==CKEDITOR.DIALOG_RESIZE_BOTH)l=Math.max(e.minHeight||0,C-h);a.resize(q,l);a._.moved&amp;&amp;O(a,a._.position.x,a._.position.y);a._.moved||a.layout();b.data.preventDefault()}function c(){CKEDITOR.document.removeListener(&quot;mouseup&quot;,c);CKEDITOR.document.removeListener(&quot;mousemove&quot;,b);q&amp;&amp;(q.remove(),q=null);if(CKEDITOR.env.ie6Compat){var a=u.getChild(0).getFrameDocument();a.removeListener(&quot;mouseup&quot;,c);a.removeListener(&quot;mousemove&quot;,b)}}var e=a.definition,d=e.resizable;if(d!=CKEDITOR.DIALOG_RESIZE_NONE){var f=
a.getParentEditor(),g,h,p,m,k,q,l=CKEDITOR.tools.addFunction(function(d){function e(a){return a.isVisible()}k=a.getSize();var f=a.parts.contents,l=f.$.getElementsByTagName(&quot;iframe&quot;).length,w=!(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks);l&amp;&amp;(q=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv class\x3d&quot;cke_dialog_resize_cover&quot; style\x3d&quot;height: 100%; position: absolute; width: 100%; left:0; top:0;&quot;\x3e\x3c/div\x3e&#039;),f.append(q));h=k.height-a.parts.contents.getFirst(e).getSize(&quot;height&quot;,w);
g=k.width-a.parts.contents.getFirst(e).getSize(&quot;width&quot;,1);m={x:d.screenX,y:d.screenY};p=CKEDITOR.document.getWindow().getViewPaneSize();CKEDITOR.document.on(&quot;mousemove&quot;,b);CKEDITOR.document.on(&quot;mouseup&quot;,c);CKEDITOR.env.ie6Compat&amp;&amp;(f=u.getChild(0).getFrameDocument(),f.on(&quot;mousemove&quot;,b),f.on(&quot;mouseup&quot;,c));d.preventDefault&amp;&amp;d.preventDefault()});a.on(&quot;load&quot;,function(){var b=&quot;&quot;;d==CKEDITOR.DIALOG_RESIZE_WIDTH?b=&quot; cke_resizer_horizontal&quot;:d==CKEDITOR.DIALOG_RESIZE_HEIGHT&amp;&amp;(b=&quot; cke_resizer_vertical&quot;);b=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv class\x3d&quot;cke_resizer&#039;+
b+&quot; cke_resizer_&quot;+f.lang.dir+&#039;&quot; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(f.lang.common.resize)+&#039;&quot; onmousedown\x3d&quot;CKEDITOR.tools.callFunction(&#039;+l+&#039;, event )&quot;\x3e&#039;+(&quot;ltr&quot;==f.lang.dir?&quot;◢&quot;:&quot;◣&quot;)+&quot;\x3c/div\x3e&quot;);a.parts.footer.append(b,1)});f.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(l)})}}function O(a,b,c){var e=a.parts.dialog.getParent().getClientSize(),d=a.getSize(),f=a._.viewportRatio,g=Math.max(e.width-d.width,0),e=Math.max(e.height-d.height,0);f.width=g?b/g:f.width;f.height=e?c/e:f.height;
a._.viewportRatio=f}function J(a){a.data.preventDefault(1)}function P(a){var b=a.config,c=CKEDITOR.skinName||a.config.skin,e=b.dialog_backgroundCoverColor||(&quot;moono-lisa&quot;==c?&quot;black&quot;:&quot;white&quot;),c=b.dialog_backgroundCoverOpacity,d=b.baseFloatZIndex,b=CKEDITOR.tools.genKey(e,c,d),f=D[b];CKEDITOR.document.getBody().addClass(&quot;cke_dialog_open&quot;);f?f.show():(d=[&#039;\x3cdiv tabIndex\x3d&quot;-1&quot; style\x3d&quot;position: &#039;,CKEDITOR.env.ie6Compat?&quot;absolute&quot;:&quot;fixed&quot;,&quot;; z-index: &quot;,d,&quot;; top: 0px; left: 0px; &quot;,&quot;; width: 100%; height: 100%;&quot;,
CKEDITOR.env.ie6Compat?&quot;&quot;:&quot;background-color: &quot;+e,&#039;&quot; class\x3d&quot;cke_dialog_background_cover&quot;\x3e&#039;],CKEDITOR.env.ie6Compat&amp;&amp;(e=&quot;\x3chtml\x3e\x3cbody style\x3d\\&#039;background-color:&quot;+e+&quot;;\\&#039;\x3e\x3c/body\x3e\x3c/html\x3e&quot;,d.push(&#039;\x3ciframe hidefocus\x3d&quot;true&quot; frameborder\x3d&quot;0&quot; id\x3d&quot;cke_dialog_background_iframe&quot; src\x3d&quot;javascript:&#039;),d.push(&quot;void((function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.write( &#039;&quot;+e+&quot;&#039; );document.close();&quot;)+&quot;})())&quot;),d.push(&#039;&quot; style\x3d&quot;position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0)&quot;\x3e\x3c/iframe\x3e&#039;)),
d.push(&quot;\x3c/div\x3e&quot;),f=CKEDITOR.dom.element.createFromHtml(d.join(&quot;&quot;)),f.setOpacity(void 0!==c?c:.5),f.on(&quot;keydown&quot;,J),f.on(&quot;keypress&quot;,J),f.on(&quot;keyup&quot;,J),f.appendTo(CKEDITOR.document.getBody()),D[b]=f);a.focusManager.add(f);u=f;CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit||f.focus()}function Q(a){CKEDITOR.document.getBody().removeClass(&quot;cke_dialog_open&quot;);u&amp;&amp;(a.focusManager.remove(u),u.hide())}function R(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,e=a.data.$.shiftKey,d=String.fromCharCode(a.data.$.keyCode);
(b=x[(b?&quot;CTRL+&quot;:&quot;&quot;)+(c?&quot;ALT+&quot;:&quot;&quot;)+(e?&quot;SHIFT+&quot;:&quot;&quot;)+d])&amp;&amp;b.length&amp;&amp;(b=b[b.length-1],b.keydown&amp;&amp;b.keydown.call(b.uiElement,b.dialog,b.key),a.data.preventDefault())}function S(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,e=a.data.$.shiftKey,d=String.fromCharCode(a.data.$.keyCode);(b=x[(b?&quot;CTRL+&quot;:&quot;&quot;)+(c?&quot;ALT+&quot;:&quot;&quot;)+(e?&quot;SHIFT+&quot;:&quot;&quot;)+d])&amp;&amp;b.length&amp;&amp;(b=b[b.length-1],b.keyup&amp;&amp;(b.keyup.call(b.uiElement,b.dialog,b.key),a.data.preventDefault()))}function T(a,b,c,e,d){(x[c]||(x[c]=[])).push({uiElement:a,
dialog:b,key:c,keyup:d||a.accessKeyUp,keydown:e||a.accessKeyDown})}function da(a){for(var b in x){for(var c=x[b],e=c.length-1;0&lt;=e;e--)c[e].dialog!=a&amp;&amp;c[e].uiElement!=a||c.splice(e,1);0===c.length&amp;&amp;delete x[b]}}function ea(a,b){a._.accessKeyMap[b]&amp;&amp;a.selectPage(a._.accessKeyMap[b])}function fa(){}var y=CKEDITOR.tools.cssLength,U,u,F=!CKEDITOR.env.ie||CKEDITOR.env.edge,Z=&#039;\x3cdiv class\x3d&quot;cke_reset_all cke_dialog_container {editorId} {editorDialogClass} {hidpi}&quot; dir\x3d&quot;{langDir}&quot; style\x3d&quot;&#039;+(F?
&quot;display:flex&quot;:&quot;&quot;)+&#039;&quot; lang\x3d&quot;{langCode}&quot; role\x3d&quot;dialog&quot; aria-labelledby\x3d&quot;cke_dialog_title_{id}&quot;\x3e\x3ctable class\x3d&quot;cke_dialog &#039;+CKEDITOR.env.cssClass+&#039; cke_{langDir}&quot; style\x3d&quot;&#039;+(F?&quot;margin:auto&quot;:&quot;position:absolute&quot;)+&#039;&quot; role\x3d&quot;presentation&quot;\x3e\x3ctr\x3e\x3ctd role\x3d&quot;presentation&quot;\x3e\x3cdiv class\x3d&quot;cke_dialog_body&quot; role\x3d&quot;presentation&quot;\x3e\x3cdiv id\x3d&quot;cke_dialog_title_{id}&quot; class\x3d&quot;cke_dialog_title&quot; role\x3d&quot;presentation&quot;\x3e\x3c/div\x3e\x3ca id\x3d&quot;cke_dialog_close_button_{id}&quot; class\x3d&quot;cke_dialog_close_button&quot; href\x3d&quot;javascript:void(0)&quot; title\x3d&quot;{closeTitle}&quot; role\x3d&quot;button&quot;\x3e\x3cspan class\x3d&quot;cke_label&quot;\x3eX\x3c/span\x3e\x3c/a\x3e\x3cdiv id\x3d&quot;cke_dialog_tabs_{id}&quot; class\x3d&quot;cke_dialog_tabs&quot; role\x3d&quot;tablist&quot;\x3e\x3c/div\x3e\x3ctable class\x3d&quot;cke_dialog_contents&quot; role\x3d&quot;presentation&quot;\x3e\x3ctr\x3e\x3ctd id\x3d&quot;cke_dialog_contents_{id}&quot; class\x3d&quot;cke_dialog_contents_body&quot; role\x3d&quot;presentation&quot;\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd id\x3d&quot;cke_dialog_footer_{id}&quot; class\x3d&quot;cke_dialog_footer&quot; role\x3d&quot;presentation&quot;\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e&#039;;
CKEDITOR.dialog=function(a,b){function c(){var a=n._.focusList;a.sort(function(a,b){return a.tabIndex!=b.tabIndex?b.tabIndex-a.tabIndex:a.focusIndex-b.focusIndex});for(var b=a.length,c=0;c&lt;b;c++)a[c].focusIndex=c}function e(a){var b=n._.focusList;a=a||0;if(!(1&gt;b.length)){var c=n._.currentFocusIndex;n._.tabBarMode&amp;&amp;0&gt;a&amp;&amp;(c=0);try{b[c].getInputElement().$.blur()}catch(d){}var e=c,g=1&lt;n._.pageCount;do{e+=a;if(g&amp;&amp;!n._.tabBarMode&amp;&amp;(e==b.length||-1==e)){n._.tabBarMode=!0;n._.tabs[n._.currentTabId][0].focus();
n._.currentFocusIndex=-1;return}e=(e+b.length)%b.length;if(e==c)break}while(a&amp;&amp;!b[e].isFocusable());b[e].focus();&quot;text&quot;==b[e].type&amp;&amp;b[e].select()}}function d(b){if(n==CKEDITOR.dialog._.currentTop){var c=b.data.getKeystroke(),d=&quot;rtl&quot;==a.lang.dir,g=[37,38,39,40];q=l=0;if(9==c||c==CKEDITOR.SHIFT+9)e(c==CKEDITOR.SHIFT+9?-1:1),q=1;else if(c==CKEDITOR.ALT+121&amp;&amp;!n._.tabBarMode&amp;&amp;1&lt;n.getPageCount())z(n),q=1;else if(-1!=CKEDITOR.tools.indexOf(g,c)&amp;&amp;n._.tabBarMode)c=-1!=CKEDITOR.tools.indexOf([d?39:37,38],c)?
A.call(n):V.call(n),n.selectPage(c),n._.tabs[c][0].focus(),q=1;else if(13!=c&amp;&amp;32!=c||!n._.tabBarMode)if(13==c)c=b.data.getTarget(),c.is(&quot;a&quot;,&quot;button&quot;,&quot;select&quot;,&quot;textarea&quot;)||c.is(&quot;input&quot;)&amp;&amp;&quot;button&quot;==c.$.type||((c=this.getButton(&quot;ok&quot;))&amp;&amp;CKEDITOR.tools.setTimeout(c.click,0,c),q=1),l=1;else if(27==c)(c=this.getButton(&quot;cancel&quot;))?CKEDITOR.tools.setTimeout(c.click,0,c):!1!==this.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;this.hide(),l=1;else return;else this.selectPage(this._.currentTabId),this._.tabBarMode=!1,this._.currentFocusIndex=
-1,e(1),q=1;f(b)}}function f(a){q?a.data.preventDefault(1):l&amp;&amp;a.data.stopPropagation()}var g=CKEDITOR.dialog._.dialogDefinitions[b],h=CKEDITOR.tools.clone(U),p=a.config.dialog_buttonsOrder||&quot;OS&quot;,m=a.lang.dir,k={},q,l;(&quot;OS&quot;==p&amp;&amp;CKEDITOR.env.mac||&quot;rtl&quot;==p&amp;&amp;&quot;ltr&quot;==m||&quot;ltr&quot;==p&amp;&amp;&quot;rtl&quot;==m)&amp;&amp;h.buttons.reverse();g=CKEDITOR.tools.extend(g(a),h);g=CKEDITOR.tools.clone(g);g=new M(this,g);h=Y(a);this._={editor:a,element:h.element,name:b,model:null,contentSize:{width:0,height:0},size:{width:0,height:0},contents:{},
buttons:{},accessKeyMap:{},viewportRatio:{width:.5,height:.5},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1};this.parts=h.parts;CKEDITOR.tools.setTimeout(function(){a.fire(&quot;ariaWidget&quot;,this.parts.contents)},0,this);h={top:0,visibility:&quot;hidden&quot;};CKEDITOR.env.ie6Compat&amp;&amp;(h.position=&quot;absolute&quot;);h[&quot;rtl&quot;==m?&quot;right&quot;:&quot;left&quot;]=0;this.parts.dialog.setStyles(h);CKEDITOR.event.call(this);this.definition=g=CKEDITOR.fire(&quot;dialogDefinition&quot;,
{name:b,definition:g,dialog:this},a).definition;if(!(&quot;removeDialogTabs&quot;in a._)&amp;&amp;a.config.removeDialogTabs){h=a.config.removeDialogTabs.split(&quot;;&quot;);for(m=0;m&lt;h.length;m++)if(p=h[m].split(&quot;:&quot;),2==p.length){var r=p[0];k[r]||(k[r]=[]);k[r].push(p[1])}a._.removeDialogTabs=k}if(a._.removeDialogTabs&amp;&amp;(k=a._.removeDialogTabs[b]))for(m=0;m&lt;k.length;m++)g.removeContents(k[m]);if(g.onLoad)this.on(&quot;load&quot;,g.onLoad);if(g.onShow)this.on(&quot;show&quot;,g.onShow);if(g.onHide)this.on(&quot;hide&quot;,g.onHide);if(g.onOk)this.on(&quot;ok&quot;,
function(b){a.fire(&quot;saveSnapshot&quot;);setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},0);!1===g.onOk.call(this,b)&amp;&amp;(b.data.hide=!1)});this.state=CKEDITOR.DIALOG_STATE_IDLE;if(g.onCancel)this.on(&quot;cancel&quot;,function(a){!1===g.onCancel.call(this,a)&amp;&amp;(a.data.hide=!1)});var n=this,t=function(a){var b=n._.contents,c=!1,d;for(d in b)for(var e in b[d])if(c=a.call(this,b[d][e]))return};this.on(&quot;ok&quot;,function(a){t(function(b){if(b.validate){var c=b.validate(this),d=&quot;string&quot;==typeof c||!1===c;d&amp;&amp;(a.data.hide=!1,a.stop());
W.call(b,!d,&quot;string&quot;==typeof c?c:void 0);return d}})},this,null,0);this.on(&quot;cancel&quot;,function(b){t(function(c){if(c.isChanged())return a.config.dialog_noConfirmCancel||confirm(a.lang.common.confirmCancel)||(b.data.hide=!1),!0})},this,null,0);this.parts.close.on(&quot;click&quot;,function(a){!1!==this.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;this.hide();a.data.preventDefault()},this);this.changeFocus=e;var B=this._.element;a.focusManager.add(B,1);this.on(&quot;show&quot;,function(){B.on(&quot;keydown&quot;,d,this);if(CKEDITOR.env.gecko)B.on(&quot;keypress&quot;,
f,this)});this.on(&quot;hide&quot;,function(){B.removeListener(&quot;keydown&quot;,d);CKEDITOR.env.gecko&amp;&amp;B.removeListener(&quot;keypress&quot;,f);t(function(a){X.apply(a)})});this.on(&quot;iframeAdded&quot;,function(a){(new CKEDITOR.dom.document(a.data.iframe.$.contentWindow.document)).on(&quot;keydown&quot;,d,this,null,0)});this.on(&quot;show&quot;,function(){c();var b=1&lt;n._.pageCount;a.config.dialog_startupFocusTab&amp;&amp;b?(n._.tabBarMode=!0,n._.tabs[n._.currentTabId][0].focus(),n._.currentFocusIndex=-1):this._.hasFocus||(this._.currentFocusIndex=b?-1:this._.focusList.length-
1,g.onFocus?(b=g.onFocus.call(this))&amp;&amp;b.focus():e(1))},this,null,4294967295);if(CKEDITOR.env.ie6Compat)this.on(&quot;load&quot;,function(){var a=this.getElement(),b=a.getFirst();b.remove();b.appendTo(a)},this);ba(this);ca(this);(new CKEDITOR.dom.text(g.title,CKEDITOR.document)).appendTo(this.parts.title);for(m=0;m&lt;g.contents.length;m++)(k=g.contents[m])&amp;&amp;this.addPage(k);this.parts.tabs.on(&quot;click&quot;,function(a){var b=a.data.getTarget();b.hasClass(&quot;cke_dialog_tab&quot;)&amp;&amp;(b=b.$.id,this.selectPage(b.substring(4,b.lastIndexOf(&quot;_&quot;))),
z(this),a.data.preventDefault())},this);m=[];k=CKEDITOR.dialog._.uiElementBuilders.hbox.build(this,{type:&quot;hbox&quot;,className:&quot;cke_dialog_footer_buttons&quot;,widths:[],children:g.buttons},m).getChild();this.parts.footer.setHtml(m.join(&quot;&quot;));for(m=0;m&lt;k.length;m++)this._.buttons[k[m].id]=k[m]};CKEDITOR.dialog.prototype={destroy:function(){this.hide();this._.element.remove()},resize:function(a,b){if(!this._.contentSize||this._.contentSize.width!=a||this._.contentSize.height!=b){CKEDITOR.dialog.fire(&quot;resize&quot;,
{dialog:this,width:a,height:b},this._.editor);this.fire(&quot;resize&quot;,{width:a,height:b},this._.editor);this.parts.contents.setStyles({width:a+&quot;px&quot;,height:b+&quot;px&quot;});if(&quot;rtl&quot;==this._.editor.lang.dir&amp;&amp;this._.position){var c=this.parts.dialog.getParent().getClientSize().width;this._.position.x=c-this._.contentSize.width-parseInt(this._.element.getFirst().getStyle(&quot;right&quot;),10)}this._.contentSize={width:a,height:b}}},getSize:function(){var a=this._.element.getFirst();return{width:a.$.offsetWidth||0,height:a.$.offsetHeight||
0}},move:function(a,b,c){var e=this._.element.getFirst(),d=&quot;rtl&quot;==this._.editor.lang.dir;CKEDITOR.env.ie&amp;&amp;e.setStyle(&quot;zoom&quot;,&quot;100%&quot;);var f=this.parts.dialog.getParent().getClientSize(),g=this.getSize(),h=this._.viewportRatio,p=Math.max(f.width-g.width,0),f=Math.max(f.height-g.height,0);this._.position&amp;&amp;this._.position.x==a&amp;&amp;this._.position.y==b?(a=Math.floor(p*h.width),b=Math.floor(f*h.height)):O(this,a,b);this._.position={x:a,y:b};d&amp;&amp;(a=p-a);b={top:(0&lt;b?b:0)+&quot;px&quot;};b[d?&quot;right&quot;:&quot;left&quot;]=(0&lt;a?a:0)+&quot;px&quot;;
e.setStyles(b);c&amp;&amp;(this._.moved=1)},getPosition:function(){return CKEDITOR.tools.extend({},this._.position)},show:function(){var a=this._.element,b=this.definition,c=CKEDITOR.document.getBody(),e=this._.editor.config.baseFloatZIndex;a.getParent()&amp;&amp;a.getParent().equals(c)?a.setStyle(&quot;display&quot;,F?&quot;flex&quot;:&quot;block&quot;):a.appendTo(c);this.resize(this._.contentSize&amp;&amp;this._.contentSize.width||b.width||b.minWidth,this._.contentSize&amp;&amp;this._.contentSize.height||b.height||b.minHeight);this.reset();null===this._.currentTabId&amp;&amp;
this.selectPage(this.definition.contents[0].id);null===CKEDITOR.dialog._.currentZIndex&amp;&amp;(CKEDITOR.dialog._.currentZIndex=e);this._.element.getFirst().setStyle(&quot;z-index&quot;,CKEDITOR.dialog._.currentZIndex+=10);this.getElement().setStyle(&quot;z-index&quot;,CKEDITOR.dialog._.currentZIndex);null===CKEDITOR.dialog._.currentTop?(CKEDITOR.dialog._.currentTop=this,this._.parentDialog=null,P(this._.editor)):(this._.parentDialog=CKEDITOR.dialog._.currentTop,c=this._.parentDialog.getElement().getFirst(),c.$.style.zIndex-=
Math.floor(e/2),this._.parentDialog.getElement().setStyle(&quot;z-index&quot;,c.$.style.zIndex),CKEDITOR.dialog._.currentTop=this);a.on(&quot;keydown&quot;,R);a.on(&quot;keyup&quot;,S);this._.hasFocus=!1;for(var d in b.contents)if(b.contents[d]){var a=b.contents[d],e=this._.tabs[a.id],c=a.requiredContent,f=0;if(e){for(var g in this._.contents[a.id]){var h=this._.contents[a.id][g];&quot;hbox&quot;!=h.type&amp;&amp;&quot;vbox&quot;!=h.type&amp;&amp;h.getInputElement()&amp;&amp;(h.requiredContent&amp;&amp;!this._.editor.activeFilter.check(h.requiredContent)?h.disable():(h.enable(),
f++))}!f||c&amp;&amp;!this._.editor.activeFilter.check(c)?e[0].addClass(&quot;cke_dialog_tab_disabled&quot;):e[0].removeClass(&quot;cke_dialog_tab_disabled&quot;)}}CKEDITOR.tools.setTimeout(function(){this.layout();aa(this);this.parts.dialog.setStyle(&quot;visibility&quot;,&quot;&quot;);this.fireOnce(&quot;load&quot;,{});CKEDITOR.ui.fire(&quot;ready&quot;,this);this.fire(&quot;show&quot;,{});this._.editor.fire(&quot;dialogShow&quot;,this);this._.parentDialog||this._.editor.focusManager.lock();this.foreach(function(a){a.setInitValue&amp;&amp;a.setInitValue()})},100,this)},layout:function(){var a=
this.parts.dialog;if(this._.moved||!F){var b=this.getSize(),c=CKEDITOR.document.getWindow().getViewPaneSize(),e;this._.moved&amp;&amp;this._.position?(e=this._.position.x,b=this._.position.y):(e=(c.width-b.width)/2,b=(c.height-b.height)/2);CKEDITOR.env.ie6Compat||(a.setStyle(&quot;position&quot;,&quot;absolute&quot;),a.removeStyle(&quot;margin&quot;));e=Math.floor(e);b=Math.floor(b);this.move(e,b)}},foreach:function(a){for(var b in this._.contents)for(var c in this._.contents[b])a.call(this,this._.contents[b][c]);return this},reset:function(){var a=
function(a){a.reset&amp;&amp;a.reset(1)};return function(){this.foreach(a);return this}}(),setupContent:function(){var a=arguments;this.foreach(function(b){b.setup&amp;&amp;b.setup.apply(b,a)})},commitContent:function(){var a=arguments;this.foreach(function(b){CKEDITOR.env.ie&amp;&amp;this._.currentFocusIndex==b.focusIndex&amp;&amp;b.getInputElement().$.blur();b.commit&amp;&amp;b.commit.apply(b,a)})},hide:function(){if(this.parts.dialog.isVisible()){this.fire(&quot;hide&quot;,{});this._.editor.fire(&quot;dialogHide&quot;,this);this.selectPage(this._.tabIdList[0]);
var a=this._.element;a.setStyle(&quot;display&quot;,&quot;none&quot;);this.parts.dialog.setStyle(&quot;visibility&quot;,&quot;hidden&quot;);for(da(this);CKEDITOR.dialog._.currentTop!=this;)CKEDITOR.dialog._.currentTop.hide();if(this._.parentDialog){var b=this._.parentDialog.getElement().getFirst();this._.parentDialog.getElement().removeStyle(&quot;z-index&quot;);b.setStyle(&quot;z-index&quot;,parseInt(b.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}else Q(this._.editor);if(CKEDITOR.dialog._.currentTop=this._.parentDialog)CKEDITOR.dialog._.currentZIndex-=
10;else{CKEDITOR.dialog._.currentZIndex=null;a.removeListener(&quot;keydown&quot;,R);a.removeListener(&quot;keyup&quot;,S);var c=this._.editor;c.focus();setTimeout(function(){c.focusManager.unlock();CKEDITOR.env.iOS&amp;&amp;c.window.focus()},0)}delete this._.parentDialog;this.foreach(function(a){a.resetInitValue&amp;&amp;a.resetInitValue()});this.setState(CKEDITOR.DIALOG_STATE_IDLE)}},addPage:function(a){if(!a.requiredContent||this._.editor.filter.check(a.requiredContent)){for(var b=[],c=a.label?&#039; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(a.label)+
&#039;&quot;&#039;:&quot;&quot;,e=CKEDITOR.dialog._.uiElementBuilders.vbox.build(this,{type:&quot;vbox&quot;,className:&quot;cke_dialog_page_contents&quot;,children:a.elements,expand:!!a.expand,padding:a.padding,style:a.style||&quot;width: 100%;&quot;},b),d=this._.contents[a.id]={},f=e.getChild(),g=0;e=f.shift();)e.notAllowed||&quot;hbox&quot;==e.type||&quot;vbox&quot;==e.type||g++,d[e.id]=e,&quot;function&quot;==typeof e.getChild&amp;&amp;f.push.apply(f,e.getChild());g||(a.hidden=!0);b=CKEDITOR.dom.element.createFromHtml(b.join(&quot;&quot;));b.setAttribute(&quot;role&quot;,&quot;tabpanel&quot;);b.setStyle(&quot;min-height&quot;,
&quot;100%&quot;);e=CKEDITOR.env;d=&quot;cke_&quot;+a.id+&quot;_&quot;+CKEDITOR.tools.getNextNumber();c=CKEDITOR.dom.element.createFromHtml([&#039;\x3ca class\x3d&quot;cke_dialog_tab&quot;&#039;,0&lt;this._.pageCount?&quot; cke_last&quot;:&quot;cke_first&quot;,c,a.hidden?&#039; style\x3d&quot;display:none&quot;&#039;:&quot;&quot;,&#039; id\x3d&quot;&#039;,d,&#039;&quot;&#039;,e.gecko&amp;&amp;!e.hc?&quot;&quot;:&#039; href\x3d&quot;javascript:void(0)&quot;&#039;,&#039; tabIndex\x3d&quot;-1&quot; hidefocus\x3d&quot;true&quot; role\x3d&quot;tab&quot;\x3e&#039;,a.label,&quot;\x3c/a\x3e&quot;].join(&quot;&quot;));b.setAttribute(&quot;aria-labelledby&quot;,d);this._.tabs[a.id]=[c,b];this._.tabIdList.push(a.id);!a.hidden&amp;&amp;this._.pageCount++;
this._.lastTab=c;this.updateStyle();b.setAttribute(&quot;name&quot;,a.id);b.appendTo(this.parts.contents);c.unselectable();this.parts.tabs.append(c);a.accessKey&amp;&amp;(T(this,this,&quot;CTRL+&quot;+a.accessKey,fa,ea),this._.accessKeyMap[&quot;CTRL+&quot;+a.accessKey]=a.id)}},selectPage:function(a){if(this._.currentTabId!=a&amp;&amp;!this._.tabs[a][0].hasClass(&quot;cke_dialog_tab_disabled&quot;)&amp;&amp;!1!==this.fire(&quot;selectPage&quot;,{page:a,currentPage:this._.currentTabId})){for(var b in this._.tabs){var c=this._.tabs[b][0],e=this._.tabs[b][1];b!=a&amp;&amp;(c.removeClass(&quot;cke_dialog_tab_selected&quot;),
c.removeAttribute(&quot;aria-selected&quot;),e.hide());e.setAttribute(&quot;aria-hidden&quot;,b!=a)}var d=this._.tabs[a];d[0].addClass(&quot;cke_dialog_tab_selected&quot;);d[0].setAttribute(&quot;aria-selected&quot;,!0);CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7Compat?(K(d[1]),d[1].show(),setTimeout(function(){K(d[1],1)},0)):d[1].show();this._.currentTabId=a;this._.currentTabIndex=CKEDITOR.tools.indexOf(this._.tabIdList,a)}},updateStyle:function(){this.parts.dialog[(1===this._.pageCount?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;cke_single_page&quot;)},hidePage:function(a){var b=
this._.tabs[a]&amp;&amp;this._.tabs[a][0];b&amp;&amp;1!=this._.pageCount&amp;&amp;b.isVisible()&amp;&amp;(a==this._.currentTabId&amp;&amp;this.selectPage(A.call(this)),b.hide(),this._.pageCount--,this.updateStyle())},showPage:function(a){if(a=this._.tabs[a]&amp;&amp;this._.tabs[a][0])a.show(),this._.pageCount++,this.updateStyle()},getElement:function(){return this._.element},getName:function(){return this._.name},getContentElement:function(a,b){var c=this._.contents[a];return c&amp;&amp;c[b]},getValueOf:function(a,b){return this.getContentElement(a,b).getValue()},
setValueOf:function(a,b,c){return this.getContentElement(a,b).setValue(c)},getButton:function(a){return this._.buttons[a]},click:function(a){return this._.buttons[a].click()},disableButton:function(a){return this._.buttons[a].disable()},enableButton:function(a){return this._.buttons[a].enable()},getPageCount:function(){return this._.pageCount},getParentEditor:function(){return this._.editor},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement()},addFocusable:function(a,
b){if(&quot;undefined&quot;==typeof b)b=this._.focusList.length,this._.focusList.push(new L(this,a,b));else{this._.focusList.splice(b,0,new L(this,a,b));for(var c=b+1;c&lt;this._.focusList.length;c++)this._.focusList[c].focusIndex++}},setState:function(a){if(this.state!=a){this.state=a;if(a==CKEDITOR.DIALOG_STATE_BUSY){if(!this.parts.spinner){var b=this.getParentEditor().lang.dir,c={attributes:{&quot;class&quot;:&quot;cke_dialog_spinner&quot;},styles:{&quot;float&quot;:&quot;rtl&quot;==b?&quot;right&quot;:&quot;left&quot;}};c.styles[&quot;margin-&quot;+(&quot;rtl&quot;==b?&quot;left&quot;:&quot;right&quot;)]=
&quot;8px&quot;;this.parts.spinner=CKEDITOR.document.createElement(&quot;div&quot;,c);this.parts.spinner.setHtml(&quot;\x26#8987;&quot;);this.parts.spinner.appendTo(this.parts.title,1)}this.parts.spinner.show();this.getButton(&quot;ok&quot;).disable()}else a==CKEDITOR.DIALOG_STATE_IDLE&amp;&amp;(this.parts.spinner&amp;&amp;this.parts.spinner.hide(),this.getButton(&quot;ok&quot;).enable());this.fire(&quot;state&quot;,a)}},getModel:function(a){return this._.model?this._.model:this.definition.getModel?this.definition.getModel(a):null},setModel:function(a){this._.model=a},getMode:function(a){if(this.definition.getMode)return this.definition.getMode(a);
a=this.getModel(a);return!a||a instanceof CKEDITOR.dom.element&amp;&amp;!a.getParent()?CKEDITOR.dialog.CREATION_MODE:CKEDITOR.dialog.EDITING_MODE}};CKEDITOR.tools.extend(CKEDITOR.dialog,{CREATION_MODE:0,EDITING_MODE:1,add:function(a,b){this._.dialogDefinitions[a]&amp;&amp;&quot;function&quot;!=typeof b||(this._.dialogDefinitions[a]=b)},exists:function(a){return!!this._.dialogDefinitions[a]},getCurrent:function(){return CKEDITOR.dialog._.currentTop},isTabEnabled:function(a,b,c){a=a.config.removeDialogTabs;return!(a&amp;&amp;a.match(new RegExp(&quot;(?:^|;)&quot;+
b+&quot;:&quot;+c+&quot;(?:$|;)&quot;,&quot;i&quot;)))},okButton:function(){var a=function(a,c){c=c||{};return CKEDITOR.tools.extend({id:&quot;ok&quot;,type:&quot;button&quot;,label:a.lang.common.ok,&quot;class&quot;:&quot;cke_dialog_ui_button_ok&quot;,onClick:function(a){a=a.data.dialog;!1!==a.fire(&quot;ok&quot;,{hide:!0}).hide&amp;&amp;a.hide()}},c,!0)};a.type=&quot;button&quot;;a.override=function(b){return CKEDITOR.tools.extend(function(c){return a(c,b)},{type:&quot;button&quot;},!0)};return a}(),cancelButton:function(){var a=function(a,c){c=c||{};return CKEDITOR.tools.extend({id:&quot;cancel&quot;,type:&quot;button&quot;,
label:a.lang.common.cancel,&quot;class&quot;:&quot;cke_dialog_ui_button_cancel&quot;,onClick:function(a){a=a.data.dialog;!1!==a.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;a.hide()}},c,!0)};a.type=&quot;button&quot;;a.override=function(b){return CKEDITOR.tools.extend(function(c){return a(c,b)},{type:&quot;button&quot;},!0)};return a}(),addUIElement:function(a,b){this._.uiElementBuilders[a]=b}});CKEDITOR.dialog._={uiElementBuilders:{},dialogDefinitions:{},currentTop:null,currentZIndex:null};CKEDITOR.event.implementOn(CKEDITOR.dialog);CKEDITOR.event.implementOn(CKEDITOR.dialog.prototype);
U={resizable:CKEDITOR.DIALOG_RESIZE_BOTH,minWidth:600,minHeight:400,buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton]};var G=function(a,b,c){for(var e=0,d;d=a[e];e++)if(d.id==b||c&amp;&amp;d[c]&amp;&amp;(d=G(d[c],b,c)))return d;return null},H=function(a,b,c,e,d){if(c){for(var f=0,g;g=a[f];f++){if(g.id==c)return a.splice(f,0,b),b;if(e&amp;&amp;g[e]&amp;&amp;(g=H(g[e],b,c,e,!0)))return g}if(d)return null}a.push(b);return b},I=function(a,b,c){for(var e=0,d;d=a[e];e++){if(d.id==b)return a.splice(e,1);if(c&amp;&amp;d[c]&amp;&amp;(d=I(d[c],
b,c)))return d}return null};M.prototype={getContents:function(a){return G(this.contents,a)},getButton:function(a){return G(this.buttons,a)},addContents:function(a,b){return H(this.contents,a,b)},addButton:function(a,b){return H(this.buttons,a,b)},removeContents:function(a){I(this.contents,a)},removeButton:function(a){I(this.buttons,a)}};N.prototype={get:function(a){return G(this.elements,a,&quot;children&quot;)},add:function(a,b){return H(this.elements,a,b,&quot;children&quot;)},remove:function(a){I(this.elements,a,
&quot;children&quot;)}};var D={},x={};(function(){CKEDITOR.ui.dialog={uiElement:function(a,b,c,e,d,f,g){if(!(4&gt;arguments.length)){var h=(e.call?e(b):e)||&quot;div&quot;,p=[&quot;\x3c&quot;,h,&quot; &quot;],m=(d&amp;&amp;d.call?d(b):d)||{},k=(f&amp;&amp;f.call?f(b):f)||{},q=(g&amp;&amp;g.call?g.call(this,a,b):g)||&quot;&quot;,l=this.domId=k.id||CKEDITOR.tools.getNextId()+&quot;_uiElement&quot;;b.requiredContent&amp;&amp;!a.getParentEditor().filter.check(b.requiredContent)&amp;&amp;(m.display=&quot;none&quot;,this.notAllowed=!0);k.id=l;var r={};b.type&amp;&amp;(r[&quot;cke_dialog_ui_&quot;+b.type]=1);b.className&amp;&amp;(r[b.className]=
1);b.disabled&amp;&amp;(r.cke_disabled=1);for(var n=k[&quot;class&quot;]&amp;&amp;k[&quot;class&quot;].split?k[&quot;class&quot;].split(&quot; &quot;):[],l=0;l&lt;n.length;l++)n[l]&amp;&amp;(r[n[l]]=1);n=[];for(l in r)n.push(l);k[&quot;class&quot;]=n.join(&quot; &quot;);b.title&amp;&amp;(k.title=b.title);r=(b.style||&quot;&quot;).split(&quot;;&quot;);b.align&amp;&amp;(n=b.align,m[&quot;margin-left&quot;]=&quot;left&quot;==n?0:&quot;auto&quot;,m[&quot;margin-right&quot;]=&quot;right&quot;==n?0:&quot;auto&quot;);for(l in m)r.push(l+&quot;:&quot;+m[l]);b.hidden&amp;&amp;r.push(&quot;display:none&quot;);for(l=r.length-1;0&lt;=l;l--)&quot;&quot;===r[l]&amp;&amp;r.splice(l,1);0&lt;r.length&amp;&amp;(k.style=(k.style?k.style+&quot;; &quot;:&quot;&quot;)+r.join(&quot;; &quot;));
for(l in k)p.push(l+&#039;\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(k[l])+&#039;&quot; &#039;);p.push(&quot;\x3e&quot;,q,&quot;\x3c/&quot;,h,&quot;\x3e&quot;);c.push(p.join(&quot;&quot;));(this._||(this._={})).dialog=a;&quot;boolean&quot;==typeof b.isChanged&amp;&amp;(this.isChanged=function(){return b.isChanged});&quot;function&quot;==typeof b.isChanged&amp;&amp;(this.isChanged=b.isChanged);&quot;function&quot;==typeof b.setValue&amp;&amp;(this.setValue=CKEDITOR.tools.override(this.setValue,function(a){return function(c){a.call(this,b.setValue.call(this,c))}}));&quot;function&quot;==typeof b.getValue&amp;&amp;(this.getValue=CKEDITOR.tools.override(this.getValue,
function(a){return function(){return b.getValue.call(this,a.call(this))}}));CKEDITOR.event.implementOn(this);this.registerEvents(b);this.accessKeyUp&amp;&amp;this.accessKeyDown&amp;&amp;b.accessKey&amp;&amp;T(this,a,&quot;CTRL+&quot;+b.accessKey);var t=this;a.on(&quot;load&quot;,function(){var b=t.getInputElement();if(b){var c=t.type in{checkbox:1,ratio:1}&amp;&amp;CKEDITOR.env.ie&amp;&amp;8&gt;CKEDITOR.env.version?&quot;cke_dialog_ui_focused&quot;:&quot;&quot;;b.on(&quot;focus&quot;,function(){a._.tabBarMode=!1;a._.hasFocus=!0;t.fire(&quot;focus&quot;);c&amp;&amp;this.addClass(c)});b.on(&quot;blur&quot;,function(){t.fire(&quot;blur&quot;);
c&amp;&amp;this.removeClass(c)})}});CKEDITOR.tools.extend(this,b);this.keyboardFocusable&amp;&amp;(this.tabIndex=b.tabIndex||0,this.focusIndex=a._.focusList.push(this)-1,this.on(&quot;focus&quot;,function(){a._.currentFocusIndex=t.focusIndex}))}},hbox:function(a,b,c,e,d){if(!(4&gt;arguments.length)){this._||(this._={});var f=this._.children=b,g=d&amp;&amp;d.widths||null,h=d&amp;&amp;d.height||null,p,m={role:&quot;presentation&quot;};d&amp;&amp;d.align&amp;&amp;(m.align=d.align);CKEDITOR.ui.dialog.uiElement.call(this,a,d||{type:&quot;hbox&quot;},e,&quot;table&quot;,{},m,function(){var a=
[&#039;\x3ctbody\x3e\x3ctr class\x3d&quot;cke_dialog_ui_hbox&quot;\x3e&#039;];for(p=0;p&lt;c.length;p++){var b=&quot;cke_dialog_ui_hbox_child&quot;,e=[];0===p&amp;&amp;(b=&quot;cke_dialog_ui_hbox_first&quot;);p==c.length-1&amp;&amp;(b=&quot;cke_dialog_ui_hbox_last&quot;);a.push(&#039;\x3ctd class\x3d&quot;&#039;,b,&#039;&quot; role\x3d&quot;presentation&quot; &#039;);g?g[p]&amp;&amp;e.push(&quot;width:&quot;+y(g[p])):e.push(&quot;width:&quot;+Math.floor(100/c.length)+&quot;%&quot;);h&amp;&amp;e.push(&quot;height:&quot;+y(h));d&amp;&amp;void 0!==d.padding&amp;&amp;e.push(&quot;padding:&quot;+y(d.padding));CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;f[p].align&amp;&amp;e.push(&quot;text-align:&quot;+f[p].align);
0&lt;e.length&amp;&amp;a.push(&#039;style\x3d&quot;&#039;+e.join(&quot;; &quot;)+&#039;&quot; &#039;);a.push(&quot;\x3e&quot;,c[p],&quot;\x3c/td\x3e&quot;)}a.push(&quot;\x3c/tr\x3e\x3c/tbody\x3e&quot;);return a.join(&quot;&quot;)})}},vbox:function(a,b,c,e,d){if(!(3&gt;arguments.length)){this._||(this._={});var f=this._.children=b,g=d&amp;&amp;d.width||null,h=d&amp;&amp;d.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,d||{type:&quot;vbox&quot;},e,&quot;div&quot;,null,{role:&quot;presentation&quot;},function(){var b=[&#039;\x3ctable role\x3d&quot;presentation&quot; cellspacing\x3d&quot;0&quot; border\x3d&quot;0&quot; &#039;];b.push(&#039;style\x3d&quot;&#039;);d&amp;&amp;d.expand&amp;&amp;b.push(&quot;height:100%;&quot;);
b.push(&quot;width:&quot;+y(g||&quot;100%&quot;),&quot;;&quot;);CKEDITOR.env.webkit&amp;&amp;b.push(&quot;float:none;&quot;);b.push(&#039;&quot;&#039;);b.push(&#039;align\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(d&amp;&amp;d.align||(&quot;ltr&quot;==a.getParentEditor().lang.dir?&quot;left&quot;:&quot;right&quot;)),&#039;&quot; &#039;);b.push(&quot;\x3e\x3ctbody\x3e&quot;);for(var e=0;e&lt;c.length;e++){var k=[];b.push(&#039;\x3ctr\x3e\x3ctd role\x3d&quot;presentation&quot; &#039;);g&amp;&amp;k.push(&quot;width:&quot;+y(g||&quot;100%&quot;));h?k.push(&quot;height:&quot;+y(h[e])):d&amp;&amp;d.expand&amp;&amp;k.push(&quot;height:&quot;+Math.floor(100/c.length)+&quot;%&quot;);d&amp;&amp;void 0!==d.padding&amp;&amp;k.push(&quot;padding:&quot;+y(d.padding));CKEDITOR.env.ie&amp;&amp;
CKEDITOR.env.quirks&amp;&amp;f[e].align&amp;&amp;k.push(&quot;text-align:&quot;+f[e].align);0&lt;k.length&amp;&amp;b.push(&#039;style\x3d&quot;&#039;,k.join(&quot;; &quot;),&#039;&quot; &#039;);b.push(&#039; class\x3d&quot;cke_dialog_ui_vbox_child&quot;\x3e&#039;,c[e],&quot;\x3c/td\x3e\x3c/tr\x3e&quot;)}b.push(&quot;\x3c/tbody\x3e\x3c/table\x3e&quot;);return b.join(&quot;&quot;)})}}}})();CKEDITOR.ui.dialog.uiElement.prototype={getElement:function(){return CKEDITOR.document.getById(this.domId)},getInputElement:function(){return this.getElement()},getDialog:function(){return this._.dialog},setValue:function(a,b){this.getInputElement().setValue(a);
!b&amp;&amp;this.fire(&quot;change&quot;,{value:a});return this},getValue:function(){return this.getInputElement().getValue()},isChanged:function(){return!1},selectParentTab:function(){for(var a=this.getInputElement();(a=a.getParent())&amp;&amp;-1==a.$.className.search(&quot;cke_dialog_page_contents&quot;););if(!a)return this;a=a.getAttribute(&quot;name&quot;);this._.dialog._.currentTabId!=a&amp;&amp;this._.dialog.selectPage(a);return this},focus:function(){this.selectParentTab().getInputElement().focus();return this},registerEvents:function(a){var b=
/^on([A-Z]\w+)/,c,e=function(a,b,c,d){b.on(&quot;load&quot;,function(){a.getInputElement().on(c,d,a)})},d;for(d in a)if(c=d.match(b))this.eventProcessors[d]?this.eventProcessors[d].call(this,this._.dialog,a[d]):e(this,this._.dialog,c[1].toLowerCase(),a[d]);return this},eventProcessors:{onLoad:function(a,b){a.on(&quot;load&quot;,b,this)},onShow:function(a,b){a.on(&quot;show&quot;,b,this)},onHide:function(a,b){a.on(&quot;hide&quot;,b,this)}},accessKeyDown:function(){this.focus()},accessKeyUp:function(){},disable:function(){var a=this.getElement();
this.getInputElement().setAttribute(&quot;disabled&quot;,&quot;true&quot;);a.addClass(&quot;cke_disabled&quot;)},enable:function(){var a=this.getElement();this.getInputElement().removeAttribute(&quot;disabled&quot;);a.removeClass(&quot;cke_disabled&quot;)},isEnabled:function(){return!this.getElement().hasClass(&quot;cke_disabled&quot;)},isVisible:function(){return this.getInputElement().isVisible()},isFocusable:function(){return this.isEnabled()&amp;&amp;this.isVisible()?!0:!1}};CKEDITOR.ui.dialog.hbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,
{getChild:function(a){if(1&gt;arguments.length)return this._.children.concat();a.splice||(a=[a]);return 2&gt;a.length?this._.children[a[0]]:this._.children[a[0]]&amp;&amp;this._.children[a[0]].getChild?this._.children[a[0]].getChild(a.slice(1,a.length)):null}},!0);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox;(function(){var a={build:function(a,c,e){for(var d=c.children,f,g=[],h=[],p=0;p&lt;d.length&amp;&amp;(f=d[p]);p++){var m=[];g.push(m);h.push(CKEDITOR.dialog._.uiElementBuilders[f.type].build(a,f,m))}return new CKEDITOR.ui.dialog[c.type](a,
h,g,e,c)}};CKEDITOR.dialog.addUIElement(&quot;hbox&quot;,a);CKEDITOR.dialog.addUIElement(&quot;vbox&quot;,a)})();CKEDITOR.dialogCommand=function(a,b){this.dialogName=a;CKEDITOR.tools.extend(this,b,!0)};CKEDITOR.dialogCommand.prototype={exec:function(a){var b=this.tabId;a.openDialog(this.dialogName,function(a){b&amp;&amp;a.selectPage(b)})},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,b=/^\d*$/,c=/^\d*(?:\.\d+)?$/,e=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,d=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,
f=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){var a=arguments;return function(){var b=this&amp;&amp;this.getValue?this.getValue():a[0],c,d=CKEDITOR.VALIDATE_AND,e=[],f;for(f=0;f&lt;a.length;f++)if(&quot;function&quot;==typeof a[f])e.push(a[f]);else break;f&lt;a.length&amp;&amp;&quot;string&quot;==typeof a[f]&amp;&amp;(c=a[f],f++);f&lt;a.length&amp;&amp;&quot;number&quot;==typeof a[f]&amp;&amp;(d=a[f]);var l=d==CKEDITOR.VALIDATE_AND?!0:!1;for(f=0;f&lt;e.length;f++)l=d==CKEDITOR.VALIDATE_AND?l&amp;&amp;
e[f](b):l||e[f](b);return l?!0:c}},regex:function(a,b){return function(c){c=this&amp;&amp;this.getValue?this.getValue():c;return a.test(c)?!0:b}},notEmpty:function(b){return this.regex(a,b)},integer:function(a){return this.regex(b,a)},number:function(a){return this.regex(c,a)},cssLength:function(a){return this.functions(function(a){return d.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return e.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return f.test(CKEDITOR.tools.trim(a))},
a)},equals:function(a,b){return this.functions(function(b){return b==a},b)},notEqual:function(a,b){return this.functions(function(b){return b!=a},b)}};CKEDITOR.on(&quot;instanceDestroyed&quot;,function(a){if(CKEDITOR.tools.isEmpty(CKEDITOR.instances)){for(var b;b=CKEDITOR.dialog._.currentTop;)b.hide();for(var c in D)D[c].remove();D={}}a=a.editor._.storedDialogs;for(var d in a)a[d].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,b,c){var e=null,d=CKEDITOR.dialog._.dialogDefinitions[a];
null===CKEDITOR.dialog._.currentTop&amp;&amp;P(this);if(&quot;function&quot;==typeof d)d=this._.storedDialogs||(this._.storedDialogs={}),e=d[a]||(d[a]=new CKEDITOR.dialog(this,a)),e.setModel(c),b&amp;&amp;b.call(e,e),e.show();else{if(&quot;failed&quot;==d)throw Q(this),Error(&#039;[CKEDITOR.dialog.openDialog] Dialog &quot;&#039;+a+&#039;&quot; failed when loading definition.&#039;);&quot;string&quot;==typeof d&amp;&amp;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(d),function(){&quot;function&quot;!=typeof CKEDITOR.dialog._.dialogDefinitions[a]&amp;&amp;(CKEDITOR.dialog._.dialogDefinitions[a]=&quot;failed&quot;);
this.openDialog(a,b,c)},this,0,1)}CKEDITOR.skin.loadPart(&quot;dialog&quot;);if(e)e.once(&quot;hide&quot;,function(){e.setModel(null)},null,null,999);return e}})})();var stylesLoaded=!1;CKEDITOR.plugins.add(&quot;dialog&quot;,{requires:&quot;dialogui&quot;,init:function(z){stylesLoaded||(CKEDITOR.document.appendStyleSheet(this.path+&quot;styles/dialog.css&quot;),stylesLoaded=!0);z.on(&quot;doubleclick&quot;,function(A){A.data.dialog&amp;&amp;z.openDialog(A.data.dialog)},null,null,999)}});CKEDITOR.plugins.add(&quot;about&quot;,{requires:&quot;dialog&quot;,init:function(a){var b=a.addCommand(&quot;about&quot;,new CKEDITOR.dialogCommand(&quot;about&quot;));b.modes={wysiwyg:1,source:1};b.canUndo=!1;b.readOnly=1;a.ui.addButton&amp;&amp;a.ui.addButton(&quot;About&quot;,{label:a.lang.about.dlgTitle,command:&quot;about&quot;,toolbar:&quot;about&quot;});CKEDITOR.dialog.add(&quot;about&quot;,this.path+&quot;dialogs/about.js&quot;)}});(function(){CKEDITOR.plugins.add(&quot;a11yhelp&quot;,{requires:&quot;dialog&quot;,availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,en:1,&quot;en-au&quot;:1,&quot;en-gb&quot;:1,eo:1,es:1,&quot;es-mx&quot;:1,et:1,eu:1,fa:1,fi:1,fo:1,fr:1,&quot;fr-ca&quot;:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,ku:1,lt:1,lv:1,mk:1,mn:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,&quot;pt-br&quot;:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,&quot;sr-latn&quot;:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,&quot;zh-cn&quot;:1},init:function(b){var c=this;b.addCommand(&quot;a11yHelp&quot;,{exec:function(){var a=
b.langCode,a=c.availableLangs[a]?a:c.availableLangs[a.replace(/-.*/,&quot;&quot;)]?a.replace(/-.*/,&quot;&quot;):&quot;en&quot;;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(c.path+&quot;dialogs/lang/&quot;+a+&quot;.js&quot;),function(){b.lang.a11yhelp=c.langEntries[a];b.openDialog(&quot;a11yHelp&quot;)})},modes:{wysiwyg:1,source:1},readOnly:1,canUndo:!1});b.setKeystroke(CKEDITOR.ALT+48,&quot;a11yHelp&quot;);CKEDITOR.dialog.add(&quot;a11yHelp&quot;,this.path+&quot;dialogs/a11yhelp.js&quot;);b.on(&quot;ariaEditorHelpLabel&quot;,function(a){a.data.label=b.lang.common.editorHelp})}})})();(function(){function f(c){var a=this.att;c=c&amp;&amp;c.hasAttribute(a)&amp;&amp;c.getAttribute(a)||&quot;&quot;;void 0!==c&amp;&amp;this.setValue(c)}function g(){for(var c,a=0;a&lt;arguments.length;a++)if(arguments[a]instanceof CKEDITOR.dom.element){c=arguments[a];break}if(c){var a=this.att,b=this.getValue();b?c.setAttribute(a,b):c.removeAttribute(a,b)}}var k={id:1,dir:1,classes:1,styles:1};CKEDITOR.plugins.add(&quot;dialogadvtab&quot;,{requires:&quot;dialog&quot;,allowedContent:function(c){c||(c=k);var a=[];c.id&amp;&amp;a.push(&quot;id&quot;);c.dir&amp;&amp;a.push(&quot;dir&quot;);var b=
&quot;&quot;;a.length&amp;&amp;(b+=&quot;[&quot;+a.join(&quot;,&quot;)+&quot;]&quot;);c.classes&amp;&amp;(b+=&quot;(*)&quot;);c.styles&amp;&amp;(b+=&quot;{*}&quot;);return b},createAdvancedTab:function(c,a,b){a||(a=k);var d=c.lang.common,h={id:&quot;advanced&quot;,label:d.advancedTab,title:d.advancedTab,elements:[{type:&quot;vbox&quot;,padding:1,children:[]}]},e=[];if(a.id||a.dir)a.id&amp;&amp;e.push({id:&quot;advId&quot;,att:&quot;id&quot;,type:&quot;text&quot;,requiredContent:b?b+&quot;[id]&quot;:null,label:d.id,setup:f,commit:g}),a.dir&amp;&amp;e.push({id:&quot;advLangDir&quot;,att:&quot;dir&quot;,type:&quot;select&quot;,requiredContent:b?b+&quot;[dir]&quot;:null,label:d.langDir,&quot;default&quot;:&quot;&quot;,
style:&quot;width:100%&quot;,items:[[d.notSet,&quot;&quot;],[d.langDirLTR,&quot;ltr&quot;],[d.langDirRTL,&quot;rtl&quot;]],setup:f,commit:g}),h.elements[0].children.push({type:&quot;hbox&quot;,widths:[&quot;50%&quot;,&quot;50%&quot;],children:[].concat(e)});if(a.styles||a.classes)e=[],a.styles&amp;&amp;e.push({id:&quot;advStyles&quot;,att:&quot;style&quot;,type:&quot;text&quot;,requiredContent:b?b+&quot;{cke-xyz}&quot;:null,label:d.styles,&quot;default&quot;:&quot;&quot;,validate:CKEDITOR.dialog.validate.inlineStyle(d.invalidInlineStyle),onChange:function(){},getStyle:function(a,c){var b=this.getValue().match(new RegExp(&quot;(?:^|;)\\s*&quot;+
a+&quot;\\s*:\\s*([^;]*)&quot;,&quot;i&quot;));return b?b[1]:c},updateStyle:function(a,b){var d=this.getValue(),e=c.document.createElement(&quot;span&quot;);e.setAttribute(&quot;style&quot;,d);e.setStyle(a,b);d=CKEDITOR.tools.normalizeCssText(e.getAttribute(&quot;style&quot;));this.setValue(d,1)},setup:f,commit:g}),a.classes&amp;&amp;e.push({type:&quot;hbox&quot;,widths:[&quot;45%&quot;,&quot;55%&quot;],children:[{id:&quot;advCSSClasses&quot;,att:&quot;class&quot;,type:&quot;text&quot;,requiredContent:b?b+&quot;(cke-xyz)&quot;:null,label:d.cssClasses,&quot;default&quot;:&quot;&quot;,setup:f,commit:g}]}),h.elements[0].children.push({type:&quot;hbox&quot;,
widths:[&quot;50%&quot;,&quot;50%&quot;],children:[].concat(e)});return h}})})();CKEDITOR.plugins.add(&quot;basicstyles&quot;,{init:function(c){var e=0,d=function(g,d,b,a){if(a){a=new CKEDITOR.style(a);var f=h[b];f.unshift(a);c.attachStyleStateChange(a,function(a){!c.readOnly&amp;&amp;c.getCommand(b).setState(a)});c.addCommand(b,new CKEDITOR.styleCommand(a,{contentForms:f}));c.ui.addButton&amp;&amp;c.ui.addButton(g,{label:d,command:b,toolbar:&quot;basicstyles,&quot;+(e+=10)})}},h={bold:[&quot;strong&quot;,&quot;b&quot;,[&quot;span&quot;,function(a){a=a.styles[&quot;font-weight&quot;];return&quot;bold&quot;==a||700&lt;=+a}]],italic:[&quot;em&quot;,&quot;i&quot;,[&quot;span&quot;,function(a){return&quot;italic&quot;==
a.styles[&quot;font-style&quot;]}]],underline:[&quot;u&quot;,[&quot;span&quot;,function(a){return&quot;underline&quot;==a.styles[&quot;text-decoration&quot;]}]],strike:[&quot;s&quot;,&quot;strike&quot;,[&quot;span&quot;,function(a){return&quot;line-through&quot;==a.styles[&quot;text-decoration&quot;]}]],subscript:[&quot;sub&quot;],superscript:[&quot;sup&quot;]},b=c.config,a=c.lang.basicstyles;d(&quot;Bold&quot;,a.bold,&quot;bold&quot;,b.coreStyles_bold);d(&quot;Italic&quot;,a.italic,&quot;italic&quot;,b.coreStyles_italic);d(&quot;Underline&quot;,a.underline,&quot;underline&quot;,b.coreStyles_underline);d(&quot;Strike&quot;,a.strike,&quot;strike&quot;,b.coreStyles_strike);d(&quot;Subscript&quot;,a.subscript,
&quot;subscript&quot;,b.coreStyles_subscript);d(&quot;Superscript&quot;,a.superscript,&quot;superscript&quot;,b.coreStyles_superscript);c.setKeystroke([[CKEDITOR.CTRL+66,&quot;bold&quot;],[CKEDITOR.CTRL+73,&quot;italic&quot;],[CKEDITOR.CTRL+85,&quot;underline&quot;]])}});CKEDITOR.config.coreStyles_bold={element:&quot;strong&quot;,overrides:&quot;b&quot;};CKEDITOR.config.coreStyles_italic={element:&quot;em&quot;,overrides:&quot;i&quot;};CKEDITOR.config.coreStyles_underline={element:&quot;u&quot;};CKEDITOR.config.coreStyles_strike={element:&quot;s&quot;,overrides:&quot;strike&quot;};CKEDITOR.config.coreStyles_subscript={element:&quot;sub&quot;};
CKEDITOR.config.coreStyles_superscript={element:&quot;sup&quot;};(function(){function q(a,f,d,b){if(!a.isReadOnly()&amp;&amp;!a.equals(d.editable())){CKEDITOR.dom.element.setMarker(b,a,&quot;bidi_processed&quot;,1);b=a;for(var c=d.editable();(b=b.getParent())&amp;&amp;!b.equals(c);)if(b.getCustomData(&quot;bidi_processed&quot;)){a.removeStyle(&quot;direction&quot;);a.removeAttribute(&quot;dir&quot;);return}b=&quot;useComputedState&quot;in d.config?d.config.useComputedState:1;(b?a.getComputedStyle(&quot;direction&quot;):a.getStyle(&quot;direction&quot;)||a.hasAttribute(&quot;dir&quot;))!=f&amp;&amp;(a.removeStyle(&quot;direction&quot;),b?(a.removeAttribute(&quot;dir&quot;),f!=a.getComputedStyle(&quot;direction&quot;)&amp;&amp;
a.setAttribute(&quot;dir&quot;,f)):a.setAttribute(&quot;dir&quot;,f),d.forceNextSelectionCheck())}}function v(a,f,d){var b=a.getCommonAncestor(!1,!0);a=a.clone();a.enlarge(d==CKEDITOR.ENTER_BR?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);if(a.checkBoundaryOfElement(b,CKEDITOR.START)&amp;&amp;a.checkBoundaryOfElement(b,CKEDITOR.END)){for(var c;b&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=b.getParent())&amp;&amp;1==c.getChildCount()&amp;&amp;!(b.getName()in f);)b=c;return b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.getName()in f&amp;&amp;b}}function p(a){return{context:&quot;p&quot;,
allowedContent:{&quot;h1 h2 h3 h4 h5 h6 table ul ol blockquote div tr p div li td&quot;:{propertiesOnly:!0,attributes:&quot;dir&quot;}},requiredContent:&quot;p[dir]&quot;,refresh:function(a,d){var b=a.config.useComputedState,c,b=void 0===b||b;if(!b){c=d.lastElement;for(var h=a.editable();c&amp;&amp;!(c.getName()in u||c.equals(h));){var e=c.getParent();if(!e)break;c=e}}c=c||d.block||d.blockLimit;c.equals(a.editable())&amp;&amp;(h=a.getSelection().getRanges()[0].getEnclosedNode())&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=h);c&amp;&amp;(b=b?c.getComputedStyle(&quot;direction&quot;):
c.getStyle(&quot;direction&quot;)||c.getAttribute(&quot;dir&quot;),a.getCommand(&quot;bidirtl&quot;).setState(&quot;rtl&quot;==b?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF),a.getCommand(&quot;bidiltr&quot;).setState(&quot;ltr&quot;==b?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF));b=(d.block||d.blockLimit||a.editable()).getDirection(1);b!=(a._.selDir||a.lang.dir)&amp;&amp;(a._.selDir=b,a.fire(&quot;contentDirChanged&quot;,b))},exec:function(f){var d=f.getSelection(),b=f.config.enterMode,c=d.getRanges();if(c&amp;&amp;c.length){for(var h={},e=d.createBookmarks(),c=c.createIterator(),g,
l=0;g=c.getNextRange(1);){var k=g.getEnclosedNode();k&amp;&amp;(!k||k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.getName()in r)||(k=v(g,t,b));k&amp;&amp;q(k,a,f,h);var m=new CKEDITOR.dom.walker(g),n=e[l].startNode,p=e[l++].endNode;m.evaluator=function(a){var c=b==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;,d;if(d=(a?a.type==CKEDITOR.NODE_ELEMENT:!1)&amp;&amp;a.getName()in t){if(c=a.is(c))c=(c=a.getParent())?c.type==CKEDITOR.NODE_ELEMENT:!1;d=!(c&amp;&amp;a.getParent().is(&quot;blockquote&quot;))}return!!(d&amp;&amp;a.getPosition(n)&amp;CKEDITOR.POSITION_FOLLOWING&amp;&amp;(a.getPosition(p)&amp;
CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_CONTAINS)==CKEDITOR.POSITION_PRECEDING)};for(;k=m.next();)q(k,a,f,h);g=g.createIterator();for(g.enlargeBr=b!=CKEDITOR.ENTER_BR;k=g.getNextParagraph(b==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;);)q(k,a,f,h)}CKEDITOR.dom.element.clearAllMarkers(h);f.forceNextSelectionCheck();d.selectBookmarks(e);f.focus()}}}}function w(a){var f=a==l.setAttribute,d=a==l.removeAttribute,b=/\bdirection\s*:\s*(.*?)\s*(:?$|;)/;return function(c,h){if(!this.isReadOnly()){var e;if(e=c==(f||d?
&quot;dir&quot;:&quot;direction&quot;)||&quot;style&quot;==c&amp;&amp;(d||b.test(h))){a:{e=this;for(var g=e.getDocument().getBody().getParent();e;){if(e.equals(g)){e=!1;break a}e=e.getParent()}e=!0}e=!e}if(e&amp;&amp;(e=this.getDirection(1),g=a.apply(this,arguments),e!=this.getDirection(1)))return this.getDocument().fire(&quot;dirChanged&quot;,this),g}return a.apply(this,arguments)}}var t={table:1,ul:1,ol:1,blockquote:1,div:1},r={},u={};CKEDITOR.tools.extend(r,t,{tr:1,p:1,div:1,li:1});CKEDITOR.tools.extend(u,r,{td:1});CKEDITOR.plugins.add(&quot;bidi&quot;,{init:function(a){function f(b,
c,d,e,f){a.addCommand(d,new CKEDITOR.command(a,e));a.ui.addButton&amp;&amp;a.ui.addButton(b,{label:c,command:d,toolbar:&quot;bidi,&quot;+f})}if(!a.blockless){var d=a.lang.bidi;f(&quot;BidiLtr&quot;,d.ltr,&quot;bidiltr&quot;,p(&quot;ltr&quot;),10);f(&quot;BidiRtl&quot;,d.rtl,&quot;bidirtl&quot;,p(&quot;rtl&quot;),20);a.on(&quot;contentDom&quot;,function(){a.document.on(&quot;dirChanged&quot;,function(b){a.fire(&quot;dirChanged&quot;,{node:b.data,dir:b.data.getDirection(1)})})});a.on(&quot;contentDirChanged&quot;,function(b){b=(a.lang.dir!=b.data?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;;var c=a.ui.space(a.config.toolbarLocation);if(c)c[b](&quot;cke_mixed_dir_content&quot;)})}}});
for(var l=CKEDITOR.dom.element.prototype,n=[&quot;setStyle&quot;,&quot;removeStyle&quot;,&quot;setAttribute&quot;,&quot;removeAttribute&quot;],m=0;m&lt;n.length;m++)l[n[m]]=CKEDITOR.tools.override(l[n[m]],w)})();(function(){var m={exec:function(g){var a=g.getCommand(&quot;blockquote&quot;).state,k=g.getSelection(),c=k&amp;&amp;k.getRanges()[0];if(c){var h=k.createBookmarks();if(CKEDITOR.env.ie){var e=h[0].startNode,b=h[0].endNode,d;if(e&amp;&amp;&quot;blockquote&quot;==e.getParent().getName())for(d=e;d=d.getNext();)if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isBlockBoundary()){e.move(d,!0);break}if(b&amp;&amp;&quot;blockquote&quot;==b.getParent().getName())for(d=b;d=d.getPrevious();)if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isBlockBoundary()){b.move(d);break}}var f=c.createIterator();
f.enlargeBr=g.config.enterMode!=CKEDITOR.ENTER_BR;if(a==CKEDITOR.TRISTATE_OFF){for(e=[];a=f.getNextParagraph();)e.push(a);1&gt;e.length&amp;&amp;(a=g.document.createElement(g.config.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),b=h.shift(),c.insertNode(a),a.append(new CKEDITOR.dom.text(&quot;﻿&quot;,g.document)),c.moveToBookmark(b),c.selectNodeContents(a),c.collapse(!0),b=c.createBookmark(),e.push(a),h.unshift(b));d=e[0].getParent();c=[];for(b=0;b&lt;e.length;b++)a=e[b],d=d.getCommonAncestor(a.getParent());for(a={table:1,tbody:1,
tr:1,ol:1,ul:1};a[d.getName()];)d=d.getParent();for(b=null;0&lt;e.length;){for(a=e.shift();!a.getParent().equals(d);)a=a.getParent();a.equals(b)||c.push(a);b=a}for(;0&lt;c.length;)if(a=c.shift(),&quot;blockquote&quot;==a.getName()){for(b=new CKEDITOR.dom.documentFragment(g.document);a.getFirst();)b.append(a.getFirst().remove()),e.push(b.getLast());b.replace(a)}else e.push(a);c=g.document.createElement(&quot;blockquote&quot;);for(c.insertBefore(e[0]);0&lt;e.length;)a=e.shift(),c.append(a)}else if(a==CKEDITOR.TRISTATE_ON){b=[];
for(d={};a=f.getNextParagraph();){for(e=c=null;a.getParent();){if(&quot;blockquote&quot;==a.getParent().getName()){c=a.getParent();e=a;break}a=a.getParent()}c&amp;&amp;e&amp;&amp;!e.getCustomData(&quot;blockquote_moveout&quot;)&amp;&amp;(b.push(e),CKEDITOR.dom.element.setMarker(d,e,&quot;blockquote_moveout&quot;,!0))}CKEDITOR.dom.element.clearAllMarkers(d);a=[];e=[];for(d={};0&lt;b.length;)f=b.shift(),c=f.getParent(),f.getPrevious()?f.getNext()?(f.breakParent(f.getParent()),e.push(f.getNext())):f.remove().insertAfter(c):f.remove().insertBefore(c),c.getCustomData(&quot;blockquote_processed&quot;)||
(e.push(c),CKEDITOR.dom.element.setMarker(d,c,&quot;blockquote_processed&quot;,!0)),a.push(f);CKEDITOR.dom.element.clearAllMarkers(d);for(b=e.length-1;0&lt;=b;b--){c=e[b];a:{d=c;for(var f=0,m=d.getChildCount(),l=void 0;f&lt;m&amp;&amp;(l=d.getChild(f));f++)if(l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.isBlockBoundary()){d=!1;break a}d=!0}d&amp;&amp;c.remove()}if(g.config.enterMode==CKEDITOR.ENTER_BR)for(c=!0;a.length;)if(f=a.shift(),&quot;div&quot;==f.getName()){b=new CKEDITOR.dom.documentFragment(g.document);!c||!f.getPrevious()||f.getPrevious().type==
CKEDITOR.NODE_ELEMENT&amp;&amp;f.getPrevious().isBlockBoundary()||b.append(g.document.createElement(&quot;br&quot;));for(c=f.getNext()&amp;&amp;!(f.getNext().type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.getNext().isBlockBoundary());f.getFirst();)f.getFirst().remove().appendTo(b);c&amp;&amp;b.append(g.document.createElement(&quot;br&quot;));b.replace(f);c=!1}}k.selectBookmarks(h);g.focus()}},refresh:function(g,a){this.setState(g.elementPath(a.block||a.blockLimit).contains(&quot;blockquote&quot;,1)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)},context:&quot;blockquote&quot;,allowedContent:&quot;blockquote&quot;,
requiredContent:&quot;blockquote&quot;};CKEDITOR.plugins.add(&quot;blockquote&quot;,{init:function(g){g.blockless||(g.addCommand(&quot;blockquote&quot;,m),g.ui.addButton&amp;&amp;g.ui.addButton(&quot;Blockquote&quot;,{label:g.lang.blockquote.toolbar,command:&quot;blockquote&quot;,toolbar:&quot;blocks,10&quot;}))}})})();(function(){function q(b,a){CKEDITOR.tools.extend(this,a,{editor:b,id:&quot;cke-&quot;+CKEDITOR.tools.getUniqueId(),area:b._.notificationArea});a.type||(this.type=&quot;info&quot;);this.element=this._createElement();b.plugins.clipboard&amp;&amp;CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(this.element)}function r(b){var a=this;this.editor=b;this.notifications=[];this.element=this._createElement();this._uiBuffer=CKEDITOR.tools.eventsBuffer(10,this._layout,this);this._changeBuffer=CKEDITOR.tools.eventsBuffer(500,this._layout,
this);b.on(&quot;destroy&quot;,function(){a._removeListeners();a.element.remove()})}CKEDITOR.plugins.add(&quot;notification&quot;,{init:function(b){function a(b){var a=new CKEDITOR.dom.element(&quot;div&quot;);a.setStyles({position:&quot;fixed&quot;,&quot;margin-left&quot;:&quot;-9999px&quot;});a.setAttributes({&quot;aria-live&quot;:&quot;assertive&quot;,&quot;aria-atomic&quot;:&quot;true&quot;});a.setText(b);CKEDITOR.document.getBody().append(a);setTimeout(function(){a.remove()},100)}b._.notificationArea=new r(b);b.showNotification=function(a,d,e){var f,l;&quot;progress&quot;==d?f=e:l=e;a=new CKEDITOR.plugins.notification(b,
{message:a,type:d,progress:f,duration:l});a.show();return a};b.on(&quot;key&quot;,function(c){if(27==c.data.keyCode){var d=b._.notificationArea.notifications;d.length&amp;&amp;(a(b.lang.notification.closed),d[d.length-1].hide(),c.cancel())}})}});q.prototype={show:function(){!1!==this.editor.fire(&quot;notificationShow&quot;,{notification:this})&amp;&amp;(this.area.add(this),this._hideAfterTimeout())},update:function(b){var a=!0;!1===this.editor.fire(&quot;notificationUpdate&quot;,{notification:this,options:b})&amp;&amp;(a=!1);var c=this.element,d=c.findOne(&quot;.cke_notification_message&quot;),
e=c.findOne(&quot;.cke_notification_progress&quot;),f=b.type;c.removeAttribute(&quot;role&quot;);b.progress&amp;&amp;&quot;progress&quot;!=this.type&amp;&amp;(f=&quot;progress&quot;);f&amp;&amp;(c.removeClass(this._getClass()),c.removeAttribute(&quot;aria-label&quot;),this.type=f,c.addClass(this._getClass()),c.setAttribute(&quot;aria-label&quot;,this.type),&quot;progress&quot;!=this.type||e?&quot;progress&quot;!=this.type&amp;&amp;e&amp;&amp;e.remove():(e=this._createProgressElement(),e.insertBefore(d)));void 0!==b.message&amp;&amp;(this.message=b.message,d.setHtml(this.message));void 0!==b.progress&amp;&amp;(this.progress=b.progress,
e&amp;&amp;e.setStyle(&quot;width&quot;,this._getPercentageProgress()));a&amp;&amp;b.important&amp;&amp;(c.setAttribute(&quot;role&quot;,&quot;alert&quot;),this.isVisible()||this.area.add(this));this.duration=b.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire(&quot;notificationHide&quot;,{notification:this})&amp;&amp;this.area.remove(this)},isVisible:function(){return 0&lt;=CKEDITOR.tools.indexOf(this.area.notifications,this)},_createElement:function(){var b=this,a,c,d=this.editor.lang.common.close;a=new CKEDITOR.dom.element(&quot;div&quot;);a.addClass(&quot;cke_notification&quot;);
a.addClass(this._getClass());a.setAttributes({id:this.id,role:&quot;alert&quot;,&quot;aria-label&quot;:this.type});&quot;progress&quot;==this.type&amp;&amp;a.append(this._createProgressElement());c=new CKEDITOR.dom.element(&quot;p&quot;);c.addClass(&quot;cke_notification_message&quot;);c.setHtml(this.message);a.append(c);c=CKEDITOR.dom.element.createFromHtml(&#039;\x3ca class\x3d&quot;cke_notification_close&quot; href\x3d&quot;javascript:void(0)&quot; title\x3d&quot;&#039;+d+&#039;&quot; role\x3d&quot;button&quot; tabindex\x3d&quot;-1&quot;\x3e\x3cspan class\x3d&quot;cke_label&quot;\x3eX\x3c/span\x3e\x3c/a\x3e&#039;);a.append(c);c.on(&quot;click&quot;,
function(){b.editor.focus();b.hide()});return a},_getClass:function(){return&quot;progress&quot;==this.type?&quot;cke_notification_info&quot;:&quot;cke_notification_&quot;+this.type},_createProgressElement:function(){var b=new CKEDITOR.dom.element(&quot;span&quot;);b.addClass(&quot;cke_notification_progress&quot;);b.setStyle(&quot;width&quot;,this._getPercentageProgress());return b},_getPercentageProgress:function(){return Math.round(100*(this.progress||0))+&quot;%&quot;},_hideAfterTimeout:function(){var b=this,a;this._hideTimeoutId&amp;&amp;clearTimeout(this._hideTimeoutId);
if(&quot;number&quot;==typeof this.duration)a=this.duration;else if(&quot;info&quot;==this.type||&quot;success&quot;==this.type)a=&quot;number&quot;==typeof this.editor.config.notification_duration?this.editor.config.notification_duration:5E3;a&amp;&amp;(b._hideTimeoutId=setTimeout(function(){b.hide()},a))}};r.prototype={add:function(b){this.notifications.push(b);this.element.append(b.element);1==this.element.getChildCount()&amp;&amp;(CKEDITOR.document.getBody().append(this.element),this._attachListeners());this._layout()},remove:function(b){var a=CKEDITOR.tools.indexOf(this.notifications,
b);0&gt;a||(this.notifications.splice(a,1),b.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var b=this.editor,a=b.config,c=new CKEDITOR.dom.element(&quot;div&quot;);c.addClass(&quot;cke_notifications_area&quot;);c.setAttribute(&quot;id&quot;,&quot;cke_notifications_area_&quot;+b.name);c.setStyle(&quot;z-index&quot;,a.baseFloatZIndex-2);return c},_attachListeners:function(){var b=CKEDITOR.document.getWindow(),a=this.editor;b.on(&quot;scroll&quot;,this._uiBuffer.input);b.on(&quot;resize&quot;,this._uiBuffer.input);
a.on(&quot;change&quot;,this._changeBuffer.input);a.on(&quot;floatingSpaceLayout&quot;,this._layout,this,null,20);a.on(&quot;blur&quot;,this._layout,this,null,20)},_removeListeners:function(){var b=CKEDITOR.document.getWindow(),a=this.editor;b.removeListener(&quot;scroll&quot;,this._uiBuffer.input);b.removeListener(&quot;resize&quot;,this._uiBuffer.input);a.removeListener(&quot;change&quot;,this._changeBuffer.input);a.removeListener(&quot;floatingSpaceLayout&quot;,this._layout);a.removeListener(&quot;blur&quot;,this._layout)},_layout:function(){function b(){a.setStyle(&quot;left&quot;,
k(n+d.width-g-h))}var a=this.element,c=this.editor,d=c.ui.contentsElement.getClientRect(),e=c.ui.contentsElement.getDocumentPosition(),f,l,u=a.getClientRect(),m,g=this._notificationWidth,h=this._notificationMargin;m=CKEDITOR.document.getWindow();var p=m.getScrollPosition(),t=m.getViewPaneSize(),q=CKEDITOR.document.getBody(),r=q.getDocumentPosition(),k=CKEDITOR.tools.cssLength;g&amp;&amp;h||(m=this.element.getChild(0),g=this._notificationWidth=m.getClientRect().width,h=this._notificationMargin=parseInt(m.getComputedStyle(&quot;margin-left&quot;),
10)+parseInt(m.getComputedStyle(&quot;margin-right&quot;),10));c.toolbar&amp;&amp;(f=c.ui.space(c.config.toolbarLocation),l=f.getClientRect());f&amp;&amp;f.isVisible()&amp;&amp;l.bottom&gt;d.top&amp;&amp;l.bottom&lt;d.bottom-u.height?a.setStyles({position:&quot;fixed&quot;,top:k(l.bottom)}):0&lt;d.top?a.setStyles({position:&quot;absolute&quot;,top:k(e.y)}):e.y+d.height-u.height&gt;p.y?a.setStyles({position:&quot;fixed&quot;,top:0}):a.setStyles({position:&quot;absolute&quot;,top:k(e.y+d.height-u.height)});var n=&quot;fixed&quot;==a.getStyle(&quot;position&quot;)?d.left:&quot;static&quot;!=q.getComputedStyle(&quot;position&quot;)?
e.x-r.x:e.x;d.width&lt;g+h?e.x+g+h&gt;p.x+t.width?b():a.setStyle(&quot;left&quot;,k(n)):e.x+g+h&gt;p.x+t.width?a.setStyle(&quot;left&quot;,k(n)):e.x+d.width/2+g/2+h&gt;p.x+t.width?a.setStyle(&quot;left&quot;,k(n-e.x+p.x+t.width-g-h)):0&gt;d.left+d.width-g-h?b():0&gt;d.left+d.width/2-g/2?a.setStyle(&quot;left&quot;,k(n-e.x+p.x)):a.setStyle(&quot;left&quot;,k(n+d.width/2-g/2-h/2))}};CKEDITOR.plugins.notification=q})();(function(){var c=&#039;\x3ca id\x3d&quot;{id}&quot; class\x3d&quot;cke_button cke_button__{name} cke_button_{state} {cls}&quot;&#039;+(CKEDITOR.env.gecko&amp;&amp;!CKEDITOR.env.hc?&quot;&quot;:&quot; href\x3d\&quot;javascript:void(&#039;{titleJs}&#039;)\&quot;&quot;)+&#039; title\x3d&quot;{title}&quot; tabindex\x3d&quot;-1&quot; hidefocus\x3d&quot;true&quot; role\x3d&quot;button&quot; aria-labelledby\x3d&quot;{id}_label&quot; aria-describedby\x3d&quot;{id}_description&quot; aria-haspopup\x3d&quot;{hasArrow}&quot; aria-disabled\x3d&quot;{ariaDisabled}&quot;&#039;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(c+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(c+=
&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var k=&quot;&quot;;CKEDITOR.env.ie&amp;&amp;(k=&#039;return false;&quot; onmouseup\x3d&quot;CKEDITOR.tools.getMouseButton(event)\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26&#039;);var c=c+(&#039; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keydownFn},event);&quot; onfocus\x3d&quot;return CKEDITOR.tools.callFunction({focusFn},event);&quot; onclick\x3d&quot;&#039;+k+&#039;CKEDITOR.tools.callFunction({clickFn},this);return false;&quot;\x3e\x3cspan class\x3d&quot;cke_button_icon cke_button__{iconName}_icon&quot; style\x3d&quot;{style}&quot;&#039;)+
&#039;\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d&quot;{id}_label&quot; class\x3d&quot;cke_button_label cke_button__{name}_label&quot; aria-hidden\x3d&quot;false&quot;\x3e{label}\x3c/span\x3e\x3cspan id\x3d&quot;{id}_description&quot; class\x3d&quot;cke_button_label&quot; aria-hidden\x3d&quot;false&quot;\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e&#039;,v=CKEDITOR.addTemplate(&quot;buttonArrow&quot;,&#039;\x3cspan class\x3d&quot;cke_button_arrow&quot;\x3e&#039;+(CKEDITOR.env.hc?&quot;\x26#9660;&quot;:&quot;&quot;)+&quot;\x3c/span\x3e&quot;),w=CKEDITOR.addTemplate(&quot;button&quot;,c);CKEDITOR.plugins.add(&quot;button&quot;,{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON,
CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON=&quot;button&quot;;CKEDITOR.ui.button=function(a){CKEDITOR.tools.extend(this,a,{title:a.label,click:a.click||function(b){b.execCommand(a.command)}});this._={}};CKEDITOR.ui.button.handler={create:function(a){return new CKEDITOR.ui.button(a)}};CKEDITOR.ui.button.prototype={render:function(a,b){function c(){var f=a.mode;f&amp;&amp;(f=this.modes[f]?void 0!==p[f]?p[f]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,f=a.readOnly&amp;&amp;!this.readOnly?CKEDITOR.TRISTATE_DISABLED:
f,this.setState(f),this.refresh&amp;&amp;this.refresh())}var p=null,q=CKEDITOR.env,r=this._.id=CKEDITOR.tools.getNextId(),g=&quot;&quot;,d=this.command,k,l,m;this._.editor=a;var e={id:r,button:this,editor:a,focus:function(){CKEDITOR.document.getById(r).focus()},execute:function(){this.button.click(a)},attach:function(a){this.button.attach(a)}},x=CKEDITOR.tools.addFunction(function(a){if(e.onkey)return a=new CKEDITOR.dom.event(a),!1!==e.onkey(e,a.getKeystroke())}),y=CKEDITOR.tools.addFunction(function(a){var b;e.onfocus&amp;&amp;
(b=!1!==e.onfocus(e,new CKEDITOR.dom.event(a)));return b}),u=0;e.clickFn=k=CKEDITOR.tools.addFunction(function(){u&amp;&amp;(a.unlockSelection(1),u=0);e.execute();q.iOS&amp;&amp;a.focus()});this.modes?(p={},a.on(&quot;beforeModeUnload&quot;,function(){a.mode&amp;&amp;this._.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;(p[a.mode]=this._.state)},this),a.on(&quot;activeFilterChange&quot;,c,this),a.on(&quot;mode&quot;,c,this),!this.readOnly&amp;&amp;a.on(&quot;readOnly&quot;,c,this)):d&amp;&amp;(d=a.getCommand(d))&amp;&amp;(d.on(&quot;state&quot;,function(){this.setState(d.state)},this),g+=d.state==CKEDITOR.TRISTATE_ON?
&quot;on&quot;:d.state==CKEDITOR.TRISTATE_DISABLED?&quot;disabled&quot;:&quot;off&quot;);var n;if(this.directional)a.on(&quot;contentDirChanged&quot;,function(b){var c=CKEDITOR.document.getById(this._.id),d=c.getFirst();b=b.data;b!=a.lang.dir?c.addClass(&quot;cke_&quot;+b):c.removeClass(&quot;cke_ltr&quot;).removeClass(&quot;cke_rtl&quot;);d.setAttribute(&quot;style&quot;,CKEDITOR.skin.getIconStyle(n,&quot;rtl&quot;==b,this.icon,this.iconOffset))},this);d?(l=a.getCommandKeystroke(d))&amp;&amp;(m=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,l)):g+=&quot;off&quot;;l=this.name||this.command;var h=
null,t=this.icon;n=l;this.icon&amp;&amp;!/\./.test(this.icon)?(n=this.icon,t=null):(this.icon&amp;&amp;(h=this.icon),CKEDITOR.env.hidpi&amp;&amp;this.iconHiDpi&amp;&amp;(h=this.iconHiDpi));h?(CKEDITOR.skin.addIcon(h,h),t=null):h=n;g={id:r,name:l,iconName:n,label:this.label,cls:(this.hasArrow?&quot;cke_button_expandable &quot;:&quot;&quot;)+(this.className||&quot;&quot;),state:g,ariaDisabled:&quot;disabled&quot;==g?&quot;true&quot;:&quot;false&quot;,title:this.title+(m?&quot; (&quot;+m.display+&quot;)&quot;:&quot;&quot;),ariaShortcut:m?a.lang.common.keyboardShortcut+&quot; &quot;+m.aria:&quot;&quot;,titleJs:q.gecko&amp;&amp;!q.hc?&quot;&quot;:(this.title||
&quot;&quot;).replace(&quot;&#039;&quot;,&quot;&quot;),hasArrow:&quot;string&quot;===typeof this.hasArrow&amp;&amp;this.hasArrow||(this.hasArrow?&quot;true&quot;:&quot;false&quot;),keydownFn:x,focusFn:y,clickFn:k,style:CKEDITOR.skin.getIconStyle(h,&quot;rtl&quot;==a.lang.dir,t,this.iconOffset),arrowHtml:this.hasArrow?v.output():&quot;&quot;};w.output(g,b);if(this.onRender)this.onRender();return e},setState:function(a){if(this._.state==a)return!1;this._.state=a;var b=CKEDITOR.document.getById(this._.id);return b?(b.setState(a,&quot;cke_button&quot;),b.setAttribute(&quot;aria-disabled&quot;,a==CKEDITOR.TRISTATE_DISABLED),
this.hasArrow?b.setAttribute(&quot;aria-expanded&quot;,a==CKEDITOR.TRISTATE_ON):a===CKEDITOR.TRISTATE_ON?b.setAttribute(&quot;aria-pressed&quot;,!0):b.removeAttribute(&quot;aria-pressed&quot;),!0):!1},getState:function(){return this._.state},toFeature:function(a){if(this._.feature)return this._.feature;var b=this;this.allowedContent||this.requiredContent||!this.command||(b=a.getCommand(this.command)||b);return this._.feature=b}};CKEDITOR.ui.prototype.addButton=function(a,b){this.add(a,CKEDITOR.UI_BUTTON,b)}})();(function(){function D(a){function d(){for(var b=f(),e=CKEDITOR.tools.clone(a.config.toolbarGroups)||v(a),n=0;n&lt;e.length;n++){var g=e[n];if(&quot;/&quot;!=g){&quot;string&quot;==typeof g&amp;&amp;(g=e[n]={name:g});var l,d=g.groups;if(d)for(var h=0;h&lt;d.length;h++)l=d[h],(l=b[l])&amp;&amp;c(g,l);(l=b[g.name])&amp;&amp;c(g,l)}}return e}function f(){var b={},c,e,g;for(c in a.ui.items)e=a.ui.items[c],g=e.toolbar||&quot;others&quot;,g=g.split(&quot;,&quot;),e=g[0],g=parseInt(g[1]||-1,10),b[e]||(b[e]=[]),b[e].push({name:c,order:g});for(e in b)b[e]=b[e].sort(function(b,
a){return b.order==a.order?0:0&gt;a.order?-1:0&gt;b.order?1:b.order&lt;a.order?-1:1});return b}function c(c,e){if(e.length){c.items?c.items.push(a.ui.create(&quot;-&quot;)):c.items=[];for(var d;d=e.shift();)d=&quot;string&quot;==typeof d?d:d.name,b&amp;&amp;-1!=CKEDITOR.tools.indexOf(b,d)||(d=a.ui.create(d))&amp;&amp;a.addFeature(d)&amp;&amp;c.items.push(d)}}function h(b){var a=[],e,d,h;for(e=0;e&lt;b.length;++e)d=b[e],h={},&quot;/&quot;==d?a.push(d):CKEDITOR.tools.isArray(d)?(c(h,CKEDITOR.tools.clone(d)),a.push(h)):d.items&amp;&amp;(c(h,CKEDITOR.tools.clone(d.items)),
h.name=d.name,a.push(h));return a}var b=a.config.removeButtons,b=b&amp;&amp;b.split(&quot;,&quot;),e=a.config.toolbar;&quot;string&quot;==typeof e&amp;&amp;(e=a.config[&quot;toolbar_&quot;+e]);return a.toolbar=e?h(e):d()}function v(a){return a._.toolbarGroups||(a._.toolbarGroups=[{name:&quot;document&quot;,groups:[&quot;mode&quot;,&quot;document&quot;,&quot;doctools&quot;]},{name:&quot;clipboard&quot;,groups:[&quot;clipboard&quot;,&quot;undo&quot;]},{name:&quot;editing&quot;,groups:[&quot;find&quot;,&quot;selection&quot;,&quot;spellchecker&quot;]},{name:&quot;forms&quot;},&quot;/&quot;,{name:&quot;basicstyles&quot;,groups:[&quot;basicstyles&quot;,&quot;cleanup&quot;]},{name:&quot;paragraph&quot;,groups:[&quot;list&quot;,
&quot;indent&quot;,&quot;blocks&quot;,&quot;align&quot;,&quot;bidi&quot;]},{name:&quot;links&quot;},{name:&quot;insert&quot;},&quot;/&quot;,{name:&quot;styles&quot;},{name:&quot;colors&quot;},{name:&quot;tools&quot;},{name:&quot;others&quot;},{name:&quot;about&quot;}])}var z=function(){this.toolbars=[];this.focusCommandExecuted=!1};z.prototype.focus=function(){for(var a=0,d;d=this.toolbars[a++];)for(var f=0,c;c=d.items[f++];)if(c.focus){c.focus();return}};var E={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(a){a.toolbox&amp;&amp;(a.toolbox.focusCommandExecuted=!0,CKEDITOR.env.ie||CKEDITOR.env.air?setTimeout(function(){a.toolbox.focus()},
100):a.toolbox.focus())}};CKEDITOR.plugins.add(&quot;toolbar&quot;,{requires:&quot;button&quot;,init:function(a){var d,f=function(c,h){var b,e=&quot;rtl&quot;==a.lang.dir,k=a.config.toolbarGroupCycling,q=e?37:39,e=e?39:37,k=void 0===k||k;switch(h){case 9:case CKEDITOR.SHIFT+9:for(;!b||!b.items.length;)if(b=9==h?(b?b.next:c.toolbar.next)||a.toolbox.toolbars[0]:(b?b.previous:c.toolbar.previous)||a.toolbox.toolbars[a.toolbox.toolbars.length-1],b.items.length)for(c=b.items[d?b.items.length-1:0];c&amp;&amp;!c.focus;)(c=d?c.previous:c.next)||
(b=0);c&amp;&amp;c.focus();return!1;case q:b=c;do b=b.next,!b&amp;&amp;k&amp;&amp;(b=c.toolbar.items[0]);while(b&amp;&amp;!b.focus);b?b.focus():f(c,9);return!1;case 40:return c.button&amp;&amp;c.button.hasArrow?c.execute():f(c,40==h?q:e),!1;case e:case 38:b=c;do b=b.previous,!b&amp;&amp;k&amp;&amp;(b=c.toolbar.items[c.toolbar.items.length-1]);while(b&amp;&amp;!b.focus);b?b.focus():(d=1,f(c,CKEDITOR.SHIFT+9),d=0);return!1;case 27:return a.focus(),!1;case 13:case 32:return c.execute(),!1}return!0};a.on(&quot;uiSpace&quot;,function(c){if(c.data.space==a.config.toolbarLocation){c.removeListener();
a.toolbox=new z;var d=CKEDITOR.tools.getNextId(),b=[&#039;\x3cspan id\x3d&quot;&#039;,d,&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;,a.lang.toolbar.toolbars,&quot;\x3c/span\x3e&quot;,&#039;\x3cspan id\x3d&quot;&#039;+a.ui.spaceId(&quot;toolbox&quot;)+&#039;&quot; class\x3d&quot;cke_toolbox&quot; role\x3d&quot;group&quot; aria-labelledby\x3d&quot;&#039;,d,&#039;&quot; onmousedown\x3d&quot;return false;&quot;\x3e&#039;],d=!1!==a.config.toolbarStartupExpanded,e,k;a.config.toolbarCanCollapse&amp;&amp;a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;b.push(&#039;\x3cspan class\x3d&quot;cke_toolbox_main&quot;&#039;+(d?&quot;\x3e&quot;:&#039; style\x3d&quot;display:none&quot;\x3e&#039;));
for(var q=a.toolbox.toolbars,n=D(a),g=n.length,l=0;l&lt;g;l++){var r,m=0,w,p=n[l],v=&quot;/&quot;!==p&amp;&amp;(&quot;/&quot;===n[l+1]||l==g-1),x;if(p)if(e&amp;&amp;(b.push(&quot;\x3c/span\x3e&quot;),k=e=0),&quot;/&quot;===p)b.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_break&quot;\x3e\x3c/span\x3e&#039;);else{x=p.items||p;for(var y=0;y&lt;x.length;y++){var t=x[y],A;if(t){var B=function(c){c=c.render(a,b);u=m.items.push(c)-1;0&lt;u&amp;&amp;(c.previous=m.items[u-1],c.previous.next=c);c.toolbar=m;c.onkey=f;c.onfocus=function(){a.toolbox.focusCommandExecuted||a.focus()}};if(t.type==CKEDITOR.UI_SEPARATOR)k=
e&amp;&amp;t;else{A=!1!==t.canGroup;if(!m){r=CKEDITOR.tools.getNextId();m={id:r,items:[]};w=p.name&amp;&amp;(a.lang.toolbar.toolbarGroups[p.name]||p.name);b.push(&#039;\x3cspan id\x3d&quot;&#039;,r,&#039;&quot; class\x3d&quot;cke_toolbar&#039;+(v?&#039; cke_toolbar_last&quot;&#039;:&#039;&quot;&#039;),w?&#039; aria-labelledby\x3d&quot;&#039;+r+&#039;_label&quot;&#039;:&quot;&quot;,&#039; role\x3d&quot;toolbar&quot;\x3e&#039;);w&amp;&amp;b.push(&#039;\x3cspan id\x3d&quot;&#039;,r,&#039;_label&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;,w,&quot;\x3c/span\x3e&quot;);b.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_start&quot;\x3e\x3c/span\x3e&#039;);var u=q.push(m)-1;0&lt;u&amp;&amp;(m.previous=q[u-1],m.previous.next=
m)}A?e||(b.push(&#039;\x3cspan class\x3d&quot;cke_toolgroup&quot; role\x3d&quot;presentation&quot;\x3e&#039;),e=1):e&amp;&amp;(b.push(&quot;\x3c/span\x3e&quot;),e=0);k&amp;&amp;(B(k),k=0);B(t)}}}e&amp;&amp;(b.push(&quot;\x3c/span\x3e&quot;),k=e=0);m&amp;&amp;b.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_end&quot;\x3e\x3c/span\x3e\x3c/span\x3e&#039;)}}a.config.toolbarCanCollapse&amp;&amp;b.push(&quot;\x3c/span\x3e&quot;);if(a.config.toolbarCanCollapse&amp;&amp;a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var C=CKEDITOR.tools.addFunction(function(){a.execCommand(&quot;toolbarCollapse&quot;)});a.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(C)});
a.addCommand(&quot;toolbarCollapse&quot;,{readOnly:1,exec:function(b){var a=b.ui.space(&quot;toolbar_collapser&quot;),c=a.getPrevious(),d=b.ui.space(&quot;contents&quot;),e=c.getParent(),h=parseInt(d.$.style.height,10),g=e.$.offsetHeight,f=a.hasClass(&quot;cke_toolbox_collapser_min&quot;);f?(c.show(),a.removeClass(&quot;cke_toolbox_collapser_min&quot;),a.setAttribute(&quot;title&quot;,b.lang.toolbar.toolbarCollapse)):(c.hide(),a.addClass(&quot;cke_toolbox_collapser_min&quot;),a.setAttribute(&quot;title&quot;,b.lang.toolbar.toolbarExpand));a.getFirst().setText(f?&quot;▲&quot;:&quot;◀&quot;);d.setStyle(&quot;height&quot;,
h-(e.$.offsetHeight-g)+&quot;px&quot;);b.fire(&quot;resize&quot;,{outerHeight:b.container.$.offsetHeight,contentsHeight:d.$.offsetHeight,outerWidth:b.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});a.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),&quot;toolbarCollapse&quot;);b.push(&#039;\x3ca title\x3d&quot;&#039;+(d?a.lang.toolbar.toolbarCollapse:a.lang.toolbar.toolbarExpand)+&#039;&quot; id\x3d&quot;&#039;+a.ui.spaceId(&quot;toolbar_collapser&quot;)+&#039;&quot; tabIndex\x3d&quot;-1&quot; class\x3d&quot;cke_toolbox_collapser&#039;);d||b.push(&quot; cke_toolbox_collapser_min&quot;);
b.push(&#039;&quot; onclick\x3d&quot;CKEDITOR.tools.callFunction(&#039;+C+&#039;)&quot;\x3e&#039;,&#039;\x3cspan class\x3d&quot;cke_arrow&quot;\x3e\x26#9650;\x3c/span\x3e&#039;,&quot;\x3c/a\x3e&quot;)}b.push(&quot;\x3c/span\x3e&quot;);c.data.html+=b.join(&quot;&quot;)}});a.on(&quot;destroy&quot;,function(){if(this.toolbox){var a,d=0,b,e,f;for(a=this.toolbox.toolbars;d&lt;a.length;d++)for(e=a[d].items,b=0;b&lt;e.length;b++)f=e[b],f.clickFn&amp;&amp;CKEDITOR.tools.removeFunction(f.clickFn),f.keyDownFn&amp;&amp;CKEDITOR.tools.removeFunction(f.keyDownFn)}});a.on(&quot;uiReady&quot;,function(){var c=a.ui.space(&quot;toolbox&quot;);c&amp;&amp;a.focusManager.add(c,
1)});a.addCommand(&quot;toolbarFocus&quot;,E);a.setKeystroke(CKEDITOR.ALT+121,&quot;toolbarFocus&quot;);a.ui.add(&quot;-&quot;,CKEDITOR.UI_SEPARATOR,{});a.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(a,d){d.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_separator&quot; role\x3d&quot;separator&quot;\x3e\x3c/span\x3e&#039;);return{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(a,d,f){var c=v(this.editor),h=0===d,b={name:a};if(f){if(f=CKEDITOR.tools.search(c,function(a){return a.name==f})){!f.groups&amp;&amp;(f.groups=[]);if(d&amp;&amp;
(d=CKEDITOR.tools.indexOf(f.groups,d),0&lt;=d)){f.groups.splice(d+1,0,a);return}h?f.groups.splice(0,0,a):f.groups.push(a);return}d=null}d&amp;&amp;(d=CKEDITOR.tools.indexOf(c,function(a){return a.name==d}));h?c.splice(0,0,a):&quot;number&quot;==typeof d?c.splice(d+1,0,b):c.push(a)}})();CKEDITOR.UI_SEPARATOR=&quot;separator&quot;;CKEDITOR.config.toolbarLocation=&quot;top&quot;;(function(){function r(a,b,c){b.type||(b.type=&quot;auto&quot;);if(c&amp;&amp;!1===a.fire(&quot;beforePaste&quot;,b)||!b.dataValue&amp;&amp;b.dataTransfer.isEmpty())return!1;b.dataValue||(b.dataValue=&quot;&quot;);if(CKEDITOR.env.gecko&amp;&amp;&quot;drop&quot;==b.method&amp;&amp;a.toolbox)a.once(&quot;afterPaste&quot;,function(){a.toolbox.focus()});return a.fire(&quot;paste&quot;,b)}function x(a){function b(){var b=a.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var c=function(b){a.getSelection().isCollapsed()||(a.readOnly&amp;&amp;&quot;cut&quot;==b.name||p.initPasteDataTransfer(b,
a),b.data.preventDefault())};b.on(&quot;copy&quot;,c);b.on(&quot;cut&quot;,c);b.on(&quot;cut&quot;,function(){a.readOnly||a.extractSelectedHtml()},null,null,999)}b.on(p.mainPasteEvent,function(a){&quot;beforepaste&quot;==p.mainPasteEvent&amp;&amp;n||k(a)});&quot;beforepaste&quot;==p.mainPasteEvent&amp;&amp;(b.on(&quot;paste&quot;,function(a){v||(f(),a.data.preventDefault(),k(a),e(&quot;paste&quot;))}),b.on(&quot;contextmenu&quot;,h,null,null,0),b.on(&quot;beforepaste&quot;,function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||h()},null,null,0));b.on(&quot;beforecut&quot;,function(){!n&amp;&amp;g(a)});var d;b.attachListener(CKEDITOR.env.ie?
b:a.document.getDocumentElement(),&quot;mouseup&quot;,function(){d=setTimeout(u,0)});a.on(&quot;destroy&quot;,function(){clearTimeout(d)});b.on(&quot;keyup&quot;,u)}function c(b){return{type:b,canUndo:&quot;cut&quot;==b,startDisabled:!0,fakeKeystroke:&quot;cut&quot;==b?CKEDITOR.CTRL+88:CKEDITOR.CTRL+67,exec:function(){&quot;cut&quot;==this.type&amp;&amp;g();var b;var c=this.type;if(CKEDITOR.env.ie)b=e(c);else try{b=a.document.$.execCommand(c,!1,null)}catch(d){b=!1}b||a.showNotification(a.lang.clipboard[this.type+&quot;Error&quot;]);return b}}}function d(){return{canUndo:!1,
async:!0,fakeKeystroke:CKEDITOR.CTRL+86,exec:function(a,b){function c(b,g){g=&quot;undefined&quot;!==typeof g?g:!0;b?(b.method=&quot;paste&quot;,b.dataTransfer||(b.dataTransfer=p.initPasteDataTransfer()),r(a,b,g)):e&amp;&amp;!a._.forcePasteDialog&amp;&amp;a.showNotification(f,&quot;info&quot;,a.config.clipboard_notificationDuration);a._.forcePasteDialog=!1;a.fire(&quot;afterCommandExec&quot;,{name:&quot;paste&quot;,command:d,returnValue:!!b})}b=&quot;undefined&quot;!==typeof b&amp;&amp;null!==b?b:{};var d=this,e=&quot;undefined&quot;!==typeof b.notification?b.notification:!0,g=b.type,m=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,
a.getCommandKeystroke(this)),f=&quot;string&quot;===typeof e?e:a.lang.clipboard.pasteNotification.replace(/%1/,&#039;\x3ckbd aria-label\x3d&quot;&#039;+m.aria+&#039;&quot;\x3e&#039;+m.display+&quot;\x3c/kbd\x3e&quot;),m=&quot;string&quot;===typeof b?b:b.dataValue;g&amp;&amp;!0!==a.config.forcePasteAsPlainText&amp;&amp;&quot;allow-word&quot;!==a.config.forcePasteAsPlainText?a._.nextPasteType=g:delete a._.nextPasteType;&quot;string&quot;===typeof m?c({dataValue:m}):a.getClipboardData(c)}}}function f(){v=1;setTimeout(function(){v=0},100)}function h(){n=1;setTimeout(function(){n=0},10)}function e(b){var c=
a.document,d=c.getBody(),e=!1,g=function(){e=!0};d.on(b,g);7&lt;CKEDITOR.env.version?c.$.execCommand(b):c.$.selection.createRange().execCommand(b);d.removeListener(b,g);return e}function g(){if(CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.quirks){var b=a.getSelection(),c,d,e;b.getType()==CKEDITOR.SELECTION_ELEMENT&amp;&amp;(c=b.getSelectedElement())&amp;&amp;(d=b.getRanges()[0],e=a.document.createText(&quot;&quot;),e.insertBefore(c),d.setStartBefore(e),d.setEndAfter(c),b.selectRanges([d]),setTimeout(function(){c.getParent()&amp;&amp;(e.remove(),b.selectElement(c))},
0))}}function l(b,c){var d=a.document,e=a.editable(),g=function(a){a.cancel()},m;if(!d.getById(&quot;cke_pastebin&quot;)){var f=a.getSelection(),l=f.createBookmarks();CKEDITOR.env.ie&amp;&amp;f.root.fire(&quot;selectionchange&quot;);var k=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&amp;&amp;!e.is(&quot;body&quot;)||CKEDITOR.env.ie?&quot;div&quot;:&quot;body&quot;,d);k.setAttributes({id:&quot;cke_pastebin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;});var h=0,d=d.getWindow();CKEDITOR.env.webkit?(e.append(k),k.addClass(&quot;cke_editable&quot;),e.is(&quot;body&quot;)||(h=&quot;static&quot;!=e.getComputedStyle(&quot;position&quot;)?
e:CKEDITOR.dom.element.get(e.$.offsetParent),h=h.getDocumentPosition().y)):e.getAscendant(CKEDITOR.env.ie?&quot;body&quot;:&quot;html&quot;,1).append(k);k.setStyles({position:&quot;absolute&quot;,top:d.getScrollPosition().y-h+10+&quot;px&quot;,width:&quot;1px&quot;,height:Math.max(1,d.getViewPaneSize().height-20)+&quot;px&quot;,overflow:&quot;hidden&quot;,margin:0,padding:0});CKEDITOR.env.safari&amp;&amp;k.setStyles(CKEDITOR.tools.cssVendorPrefix(&quot;user-select&quot;,&quot;text&quot;));(h=k.getParent().isReadOnly())?(k.setOpacity(0),k.setAttribute(&quot;contenteditable&quot;,!0)):k.setStyle(&quot;ltr&quot;==a.config.contentsLangDirection?
&quot;left&quot;:&quot;right&quot;,&quot;-10000px&quot;);a.on(&quot;selectionChange&quot;,g,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)m=e.once(&quot;blur&quot;,g,null,null,-100);h&amp;&amp;k.focus();h=new CKEDITOR.dom.range(k);h.selectNodeContents(k);var u=h.select();CKEDITOR.env.ie&amp;&amp;(m=e.once(&quot;blur&quot;,function(){a.lockSelection(u)}));var q=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&amp;&amp;(CKEDITOR.document.getBody().$.scrollTop=q);m&amp;&amp;m.removeListener();CKEDITOR.env.ie&amp;&amp;e.focus();f.selectBookmarks(l);
k.remove();var b;CKEDITOR.env.webkit&amp;&amp;(b=k.getFirst())&amp;&amp;b.is&amp;&amp;b.hasClass(&quot;Apple-style-span&quot;)&amp;&amp;(k=b);a.removeListener(&quot;selectionChange&quot;,g);c(k.getHtml())},0)}}function t(){if(&quot;paste&quot;==p.mainPasteEvent)return a.fire(&quot;beforePaste&quot;,{type:&quot;auto&quot;,method:&quot;paste&quot;}),!1;a.focus();f();var b=a.focusManager;b.lock();if(a.editable().fire(p.mainPasteEvent)&amp;&amp;!e(&quot;paste&quot;))return b.unlock(),!1;b.unlock();return!0}function m(b){if(&quot;wysiwyg&quot;==a.mode)switch(b.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:b=
a.editable();f();&quot;paste&quot;==p.mainPasteEvent&amp;&amp;b.fire(&quot;beforepaste&quot;);break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:a.fire(&quot;saveSnapshot&quot;),setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},50)}}function k(b){var c={type:&quot;auto&quot;,method:&quot;paste&quot;,dataTransfer:p.initPasteDataTransfer(b)};c.dataTransfer.cacheData();var e=!1!==a.fire(&quot;beforePaste&quot;,c);e&amp;&amp;p.canClipboardApiBeTrusted(c.dataTransfer,a)?(b.data.preventDefault(),setTimeout(function(){r(a,c)},0)):l(b,function(b){c.dataValue=b.replace(/&lt;span[^&gt;]+data-cke-bookmark[^&lt;]*?&lt;\/span&gt;/ig,
&quot;&quot;);e&amp;&amp;r(a,c)})}function u(){if(&quot;wysiwyg&quot;==a.mode){var b=q(&quot;paste&quot;);a.getCommand(&quot;cut&quot;).setState(q(&quot;cut&quot;));a.getCommand(&quot;copy&quot;).setState(q(&quot;copy&quot;));a.getCommand(&quot;paste&quot;).setState(b);a.fire(&quot;pasteState&quot;,b)}}function q(b){var c=a.getSelection(),c=c&amp;&amp;c.getRanges()[0];if((a.readOnly||c&amp;&amp;c.checkReadOnly())&amp;&amp;b in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if(&quot;paste&quot;==b)return CKEDITOR.TRISTATE_OFF;b=a.getSelection();c=b.getRanges();return b.getType()==CKEDITOR.SELECTION_NONE||1==c.length&amp;&amp;c[0].collapsed?
CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var p=CKEDITOR.plugins.clipboard,n=0,v=0;(function(){a.on(&quot;key&quot;,m);a.on(&quot;contentDom&quot;,b);a.on(&quot;selectionChange&quot;,u);if(a.contextMenu){a.contextMenu.addListener(function(){return{cut:q(&quot;cut&quot;),copy:q(&quot;copy&quot;),paste:q(&quot;paste&quot;)}});var c=null;a.on(&quot;menuShow&quot;,function(){c&amp;&amp;(c.removeListener(),c=null);var b=a.contextMenu.findItemByCommandName(&quot;paste&quot;);b&amp;&amp;b.element&amp;&amp;(c=b.element.on(&quot;touchend&quot;,function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once(&quot;instanceReady&quot;,
function(){a._.pasteButtons&amp;&amp;CKEDITOR.tools.array.forEach(a._.pasteButtons,function(b){if(b=a.ui.get(b))if(b=CKEDITOR.document.getById(b._.id))b.on(&quot;touchend&quot;,function(){a._.forcePasteDialog=!0})})})})();(function(){function b(c,e,d,g,m){var k=a.lang.clipboard[e];a.addCommand(e,d);a.ui.addButton&amp;&amp;a.ui.addButton(c,{label:k,command:e,toolbar:&quot;clipboard,&quot;+g});a.addMenuItems&amp;&amp;a.addMenuItem(e,{label:k,command:e,group:&quot;clipboard&quot;,order:m})}b(&quot;Cut&quot;,&quot;cut&quot;,c(&quot;cut&quot;),10,1);b(&quot;Copy&quot;,&quot;copy&quot;,c(&quot;copy&quot;),20,4);b(&quot;Paste&quot;,
&quot;paste&quot;,d(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push(&quot;Paste&quot;)})();a.getClipboardData=function(b,c){function e(a){a.removeListener();a.cancel();c(a.data)}function d(a){a.removeListener();a.cancel();c({type:m,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:&quot;paste&quot;})}var g=!1,m=&quot;auto&quot;;c||(c=b,b=null);a.on(&quot;beforePaste&quot;,function(a){a.removeListener();g=!0;m=a.data.type},null,null,1E3);a.on(&quot;paste&quot;,e,null,null,0);!1===t()&amp;&amp;(a.removeListener(&quot;paste&quot;,e),a._.forcePasteDialog&amp;&amp;
g&amp;&amp;a.fire(&quot;pasteDialog&quot;)?(a.on(&quot;pasteDialogCommit&quot;,d),a.on(&quot;dialogHide&quot;,function(a){a.removeListener();a.data.removeListener(&quot;pasteDialogCommit&quot;,d);a.data._.committed||c(null)})):c(null))}}function y(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^&lt;]*$/g)&amp;&amp;!a.match(/^(&lt;div&gt;&lt;br( ?\/)?&gt;&lt;\/div&gt;|&lt;div&gt;[^&lt;]*&lt;\/div&gt;)*$/gi))return&quot;html&quot;}else if(CKEDITOR.env.ie){if(!a.match(/^([^&lt;]|&lt;br( ?\/)?&gt;)*$/gi)&amp;&amp;!a.match(/^(&lt;p&gt;([^&lt;]|&lt;br( ?\/)?&gt;)*&lt;\/p&gt;|(\r\n))*$/gi))return&quot;html&quot;}else if(CKEDITOR.env.gecko){if(!a.match(/^([^&lt;]|&lt;br( ?\/)?&gt;)*$/gi))return&quot;html&quot;}else return&quot;html&quot;;
return&quot;htmlifiedtext&quot;}function z(a,b){function c(a){return CKEDITOR.tools.repeat(&quot;\x3c/p\x3e\x3cp\x3e&quot;,~~(a/2))+(1==a%2?&quot;\x3cbr\x3e&quot;:&quot;&quot;)}b=b.replace(/(?!\u3000)\s+/g,&quot; &quot;).replace(/&gt; +&lt;/g,&quot;\x3e\x3c&quot;).replace(/&lt;br ?\/&gt;/gi,&quot;\x3cbr\x3e&quot;);b=b.replace(/&lt;\/?[A-Z]+&gt;/g,function(a){return a.toLowerCase()});if(b.match(/^[^&lt;]$/))return b;CKEDITOR.env.webkit&amp;&amp;-1&lt;b.indexOf(&quot;\x3cdiv\x3e&quot;)&amp;&amp;(b=b.replace(/^(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;)(?!$|(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;))/g,&quot;\x3cbr\x3e&quot;).replace(/^(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;){2}(?!$)/g,&quot;\x3cdiv\x3e\x3c/div\x3e&quot;),
b.match(/&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;/)&amp;&amp;(b=&quot;\x3cp\x3e&quot;+b.replace(/(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;)+/g,function(a){return c(a.split(&quot;\x3c/div\x3e\x3cdiv\x3e&quot;).length+1)})+&quot;\x3c/p\x3e&quot;),b=b.replace(/&lt;\/div&gt;&lt;div&gt;/g,&quot;\x3cbr\x3e&quot;),b=b.replace(/&lt;\/?div&gt;/g,&quot;&quot;));CKEDITOR.env.gecko&amp;&amp;a.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(CKEDITOR.env.gecko&amp;&amp;(b=b.replace(/^&lt;br&gt;&lt;br&gt;$/,&quot;\x3cbr\x3e&quot;)),-1&lt;b.indexOf(&quot;\x3cbr\x3e\x3cbr\x3e&quot;)&amp;&amp;(b=&quot;\x3cp\x3e&quot;+b.replace(/(&lt;br&gt;){2,}/g,function(a){return c(a.length/4)})+&quot;\x3c/p\x3e&quot;));return A(a,b)}function B(a){function b(){var a=
{},b;for(b in CKEDITOR.dtd)&quot;$&quot;!=b.charAt(0)&amp;&amp;&quot;div&quot;!=b&amp;&amp;&quot;span&quot;!=b&amp;&amp;(a[b]=1);return a}var c={};return{get:function(d){return&quot;plain-text&quot;==d?c.plainText||(c.plainText=new CKEDITOR.filter(a,&quot;br&quot;)):&quot;semantic-content&quot;==d?((d=c.semanticContent)||(d=new CKEDITOR.filter(a,{}),d.allow({$1:{elements:b(),attributes:!0,styles:!1,classes:!1}}),d=c.semanticContent=d),d):d?new CKEDITOR.filter(a,d):null}}}function w(a,b,c){b=CKEDITOR.htmlParser.fragment.fromHtml(b);var d=new CKEDITOR.htmlParser.basicWriter;c.applyTo(b,
!0,!1,a.activeEnterMode);b.writeHtml(d);return d.getHtml()}function A(a,b){a.enterMode==CKEDITOR.ENTER_BR?b=b.replace(/(&lt;\/p&gt;&lt;p&gt;)+/g,function(a){return CKEDITOR.tools.repeat(&quot;\x3cbr\x3e&quot;,a.length/7*2)}).replace(/&lt;\/?p&gt;/g,&quot;&quot;):a.enterMode==CKEDITOR.ENTER_DIV&amp;&amp;(b=b.replace(/&lt;(\/)?p&gt;/g,&quot;\x3c$1div\x3e&quot;));return b}function C(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect=&quot;none&quot;}function D(a){var b=CKEDITOR.plugins.clipboard;a.on(&quot;contentDom&quot;,function(){function c(b,c,e){c.select();r(a,{dataTransfer:e,
method:&quot;drop&quot;},1);e.sourceEditor.fire(&quot;saveSnapshot&quot;);e.sourceEditor.editable().extractHtmlFromRange(b);e.sourceEditor.getSelection().selectRanges([b]);e.sourceEditor.fire(&quot;saveSnapshot&quot;)}function d(c,e){c.select();r(a,{dataTransfer:e,method:&quot;drop&quot;},1);b.resetDragDataTransfer()}function f(b,c,e){var d={$:b.data.$,target:b.data.getTarget()};c&amp;&amp;(d.dragRange=c);e&amp;&amp;(d.dropRange=e);!1===a.fire(b.name,d)&amp;&amp;b.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(a=a.getParent());return a.getChildCount()}
var e=a.editable(),g=CKEDITOR.plugins.clipboard.getDropTarget(a),l=a.ui.space(&quot;top&quot;),t=a.ui.space(&quot;bottom&quot;);b.preventDefaultDropOnElement(l);b.preventDefaultDropOnElement(t);e.attachListener(g,&quot;dragstart&quot;,f);e.attachListener(a,&quot;dragstart&quot;,b.resetDragDataTransfer,b,null,1);e.attachListener(a,&quot;dragstart&quot;,function(c){b.initDragDataTransfer(c,a)},null,null,2);e.attachListener(a,&quot;dragstart&quot;,function(){var c=b.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;(b.dragStartContainerChildCount=
c?h(c.startContainer):null,b.dragEndContainerChildCount=c?h(c.endContainer):null)},null,null,100);e.attachListener(g,&quot;dragend&quot;,f);e.attachListener(a,&quot;dragend&quot;,b.initDragDataTransfer,b,null,1);e.attachListener(a,&quot;dragend&quot;,b.resetDragDataTransfer,b,null,100);e.attachListener(g,&quot;dragover&quot;,function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var b=a.data.getTarget();b&amp;&amp;b.is&amp;&amp;b.is(&quot;html&quot;)?a.data.preventDefault():CKEDITOR.env.ie&amp;&amp;CKEDITOR.plugins.clipboard.isFileApiSupported&amp;&amp;a.data.$.dataTransfer.types.contains(&quot;Files&quot;)&amp;&amp;
a.data.preventDefault()}});e.attachListener(g,&quot;drop&quot;,function(c){if(!c.data.$.defaultPrevented&amp;&amp;(c.data.preventDefault(),!a.readOnly)){var e=c.data.getTarget();if(!e.isReadOnly()||e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.is(&quot;html&quot;)){var e=b.getRangeAtDropPosition(c,a),d=b.dragRange;e&amp;&amp;f(c,d,e)}}},null,null,9999);e.attachListener(a,&quot;drop&quot;,b.initDragDataTransfer,b,null,1);e.attachListener(a,&quot;drop&quot;,function(e){if(e=e.data){var g=e.dropRange,f=e.dragRange,l=e.dataTransfer;l.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL?
setTimeout(function(){b.internalDrop(f,g,l,a)},0):l.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?c(f,g,l):d(g,l)}},null,null,9999)})}var n;CKEDITOR.plugins.add(&quot;clipboard&quot;,{requires:&quot;dialog,notification,toolbar&quot;,init:function(a){function b(a){if(!a||h===a.id)return!1;var b=a.getTypes(),b=1===b.length&amp;&amp;&quot;Files&quot;===b[0];a=1===a.getFilesCount();return b&amp;&amp;a}var c,d=B(a);a.config.forcePasteAsPlainText?c=&quot;plain-text&quot;:a.config.pasteFilter?c=a.config.pasteFilter:!CKEDITOR.env.webkit||&quot;pasteFilter&quot;in
a.config||(c=&quot;semantic-content&quot;);a.pasteFilter=d.get(c);x(a);D(a);CKEDITOR.dialog.add(&quot;paste&quot;,CKEDITOR.getUrl(this.path+&quot;dialogs/paste.js&quot;));if(CKEDITOR.env.gecko){var f=[&quot;image/png&quot;,&quot;image/jpeg&quot;,&quot;image/gif&quot;],h;a.on(&quot;paste&quot;,function(c){var d=c.data,l=d.dataTransfer;if(!d.dataValue&amp;&amp;&quot;paste&quot;==d.method&amp;&amp;b(l)&amp;&amp;(l=l.getFile(0),-1!=CKEDITOR.tools.indexOf(f,l.type))){var t=new FileReader;t.addEventListener(&quot;load&quot;,function(){c.data.dataValue=&#039;\x3cimg src\x3d&quot;&#039;+t.result+&#039;&quot; /\x3e&#039;;a.fire(&quot;paste&quot;,c.data)},!1);
t.addEventListener(&quot;abort&quot;,function(){a.fire(&quot;paste&quot;,c.data)},!1);t.addEventListener(&quot;error&quot;,function(){a.fire(&quot;paste&quot;,c.data)},!1);t.readAsDataURL(l);h=d.dataTransfer.id;c.stop()}},null,null,1)}a.on(&quot;paste&quot;,function(b){b.data.dataTransfer||(b.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!b.data.dataValue){var c=b.data.dataTransfer,d=c.getData(&quot;text/html&quot;);if(d)b.data.dataValue=d,b.data.type=&quot;html&quot;;else if(d=c.getData(&quot;text/plain&quot;))b.data.dataValue=a.editable().transformPlainTextToHtml(d),
b.data.type=&quot;text&quot;}},null,null,1);a.on(&quot;paste&quot;,function(a){var b=a.data.dataValue,c=CKEDITOR.dtd.$block;-1&lt;b.indexOf(&quot;Apple-&quot;)&amp;&amp;(b=b.replace(/&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;\/span&gt;/gi,&quot; &quot;),&quot;html&quot;!=a.data.type&amp;&amp;(b=b.replace(/&lt;span class=&quot;Apple-tab-span&quot;[^&gt;]*&gt;([^&lt;]*)&lt;\/span&gt;/gi,function(a,b){return b.replace(/\t/g,&quot;\x26nbsp;\x26nbsp; \x26nbsp;&quot;)})),-1&lt;b.indexOf(&#039;\x3cbr class\x3d&quot;Apple-interchange-newline&quot;\x3e&#039;)&amp;&amp;(a.data.startsWithEOL=1,a.data.preSniffing=&quot;html&quot;,b=b.replace(/&lt;br class=&quot;Apple-interchange-newline&quot;&gt;/,
&quot;&quot;)),b=b.replace(/(&lt;[^&gt;]+) class=&quot;Apple-[^&quot;]*&quot;/gi,&quot;$1&quot;));if(b.match(/^&lt;[^&lt;]+cke_(editable|contents)/i)){var d,f,h=new CKEDITOR.dom.element(&quot;div&quot;);for(h.setHtml(b);1==h.getChildCount()&amp;&amp;(d=h.getFirst())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(d.hasClass(&quot;cke_editable&quot;)||d.hasClass(&quot;cke_contents&quot;));)h=f=d;f&amp;&amp;(b=f.getHtml().replace(/&lt;br&gt;$/i,&quot;&quot;))}CKEDITOR.env.ie?b=b.replace(/^&amp;nbsp;(?: |\r\n)?&lt;(\w+)/g,function(b,d){return d.toLowerCase()in c?(a.data.preSniffing=&quot;html&quot;,&quot;\x3c&quot;+d):b}):CKEDITOR.env.webkit?b=b.replace(/&lt;\/(\w+)&gt;&lt;div&gt;&lt;br&gt;&lt;\/div&gt;$/,
function(b,d){return d in c?(a.data.endsWithEOL=1,&quot;\x3c/&quot;+d+&quot;\x3e&quot;):b}):CKEDITOR.env.gecko&amp;&amp;(b=b.replace(/(\s)&lt;br&gt;$/,&quot;$1&quot;));a.data.dataValue=b},null,null,3);a.on(&quot;paste&quot;,function(b){b=b.data;var c=a._.nextPasteType||b.type,f=b.dataValue,h,m=a.config.clipboard_defaultContentType||&quot;html&quot;,k=b.dataTransfer.getTransferType(a)==CKEDITOR.DATA_TRANSFER_EXTERNAL,n=!0===a.config.forcePasteAsPlainText;h=&quot;html&quot;==c||&quot;html&quot;==b.preSniffing?&quot;html&quot;:y(f);delete a._.nextPasteType;&quot;htmlifiedtext&quot;==h&amp;&amp;(f=z(a.config,f));
if(&quot;text&quot;==c&amp;&amp;&quot;html&quot;==h)f=w(a,f,d.get(&quot;plain-text&quot;));else if(k&amp;&amp;a.pasteFilter&amp;&amp;!b.dontFilter||n)f=w(a,f,a.pasteFilter);b.startsWithEOL&amp;&amp;(f=&#039;\x3cbr data-cke-eol\x3d&quot;1&quot;\x3e&#039;+f);b.endsWithEOL&amp;&amp;(f+=&#039;\x3cbr data-cke-eol\x3d&quot;1&quot;\x3e&#039;);&quot;auto&quot;==c&amp;&amp;(c=&quot;html&quot;==h||&quot;html&quot;==m?&quot;html&quot;:&quot;text&quot;);b.type=c;b.dataValue=f;delete b.preSniffing;delete b.startsWithEOL;delete b.endsWithEOL},null,null,6);a.on(&quot;paste&quot;,function(b){b=b.data;b.dataValue&amp;&amp;(a.insertHtml(b.dataValue,b.type,b.range),setTimeout(function(){a.fire(&quot;afterPaste&quot;)},
0))},null,null,1E3);a.on(&quot;pasteDialog&quot;,function(b){setTimeout(function(){a.openDialog(&quot;paste&quot;,b.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:CKEDITOR.env.ie&amp;&amp;16&gt;CKEDITOR.env.version||CKEDITOR.env.iOS&amp;&amp;605&gt;CKEDITOR.env.version?!1:!0,isCustomDataTypesSupported:!CKEDITOR.env.ie||16&lt;=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9&lt;CKEDITOR.env.version,mainPasteEvent:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;beforepaste&quot;:&quot;paste&quot;,addPasteButton:function(a,b,c){a.ui.addButton&amp;&amp;
(a.ui.addButton(b,c),a._.pasteButtons||(a._.pasteButtons=[]),a._.pasteButtons.push(b))},canClipboardApiBeTrusted:function(a,b){return a.getTransferType(b)!=CKEDITOR.DATA_TRANSFER_EXTERNAL||CKEDITOR.env.chrome&amp;&amp;!a.isEmpty()||CKEDITOR.env.gecko&amp;&amp;(a.getData(&quot;text/html&quot;)||a.getFilesCount())||CKEDITOR.env.safari&amp;&amp;603&lt;=CKEDITOR.env.version&amp;&amp;!CKEDITOR.env.iOS||CKEDITOR.env.iOS&amp;&amp;605&lt;=CKEDITOR.env.version||CKEDITOR.env.edge&amp;&amp;16&lt;=CKEDITOR.env.version?!0:!1},getDropTarget:function(a){var b=a.editable();return CKEDITOR.env.ie&amp;&amp;
9&gt;CKEDITOR.env.version||b.isInline()?b:a.document},fixSplitNodesAfterDrop:function(a,b,c,d){function f(a,c,d){var f=a;f.type==CKEDITOR.NODE_TEXT&amp;&amp;(f=a.getParent());if(f.equals(c)&amp;&amp;d!=c.getChildCount())return a=b.startContainer.getChild(b.startOffset-1),c=b.startContainer.getChild(b.startOffset),a&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;c&amp;&amp;c.type==CKEDITOR.NODE_TEXT&amp;&amp;(d=a.getLength(),a.setText(a.getText()+c.getText()),c.remove(),b.setStart(a,d),b.collapse(!0)),!0}var h=b.startContainer;&quot;number&quot;==typeof d&amp;&amp;&quot;number&quot;==
typeof c&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(f(a.startContainer,h,c)||f(a.endContainer,h,d))},isDropRangeAffectedByDragRange:function(a,b){var c=b.startContainer,d=b.endOffset;return a.endContainer.equals(c)&amp;&amp;a.endOffset&lt;=d||a.startContainer.getParent().equals(c)&amp;&amp;a.startContainer.getIndex()&lt;d||a.endContainer.getParent().equals(c)&amp;&amp;a.endContainer.getIndex()&lt;d?!0:!1},internalDrop:function(a,b,c,d){var f=CKEDITOR.plugins.clipboard,h=d.editable(),e,g;d.fire(&quot;saveSnapshot&quot;);d.fire(&quot;lockSnapshot&quot;,{dontUpdate:1});
CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;this.fixSplitNodesAfterDrop(a,b,f.dragStartContainerChildCount,f.dragEndContainerChildCount);(g=this.isDropRangeAffectedByDragRange(a,b))||(e=a.createBookmark(!1));f=b.clone().createBookmark(!1);g&amp;&amp;(e=a.createBookmark(!1));a=e.startNode;b=e.endNode;g=f.startNode;b&amp;&amp;a.getPosition(g)&amp;CKEDITOR.POSITION_PRECEDING&amp;&amp;b.getPosition(g)&amp;CKEDITOR.POSITION_FOLLOWING&amp;&amp;g.insertBefore(a);a=d.createRange();a.moveToBookmark(e);h.extractHtmlFromRange(a,1);b=d.createRange();
f.startNode.getCommonAncestor(h)||(f=d.getSelection().createBookmarks()[0]);b.moveToBookmark(f);r(d,{dataTransfer:c,method:&quot;drop&quot;,range:b},1);d.fire(&quot;unlockSnapshot&quot;)},getRangeAtDropPosition:function(a,b){var c=a.data.$,d=c.clientX,f=c.clientY,h=b.getSelection(!0).getRanges()[0],e=b.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&amp;&amp;b.document.$.caretRangeFromPoint(d,f))c=b.document.$.caretRangeFromPoint(d,f),e.setStart(CKEDITOR.dom.node(c.startContainer),c.startOffset),
e.collapse(!0);else if(c.rangeParent)e.setStart(CKEDITOR.dom.node(c.rangeParent),c.rangeOffset),e.collapse(!0);else{if(CKEDITOR.env.ie&amp;&amp;8&lt;CKEDITOR.env.version&amp;&amp;h&amp;&amp;b.editable().hasFocus)return h;if(document.body.createTextRange){b.focus();c=b.document.getBody().$.createTextRange();try{for(var g=!1,l=0;20&gt;l&amp;&amp;!g;l++){if(!g)try{c.moveToPoint(d,f-l),g=!0}catch(n){}if(!g)try{c.moveToPoint(d,f+l),g=!0}catch(m){}}if(g){var k=&quot;cke-temp-&quot;+(new Date).getTime();c.pasteHTML(&#039;\x3cspan id\x3d&quot;&#039;+k+&#039;&quot;\x3e​\x3c/span\x3e&#039;);
var u=b.document.getById(k);e.moveToPosition(u,CKEDITOR.POSITION_BEFORE_START);u.remove()}else{var q=b.document.$.elementFromPoint(d,f),p=new CKEDITOR.dom.element(q),r;if(p.equals(b.editable())||&quot;html&quot;==p.getName())return h&amp;&amp;h.startContainer&amp;&amp;!h.startContainer.equals(b.editable())?h:null;r=p.getClientRect();d&lt;r.left?e.setStartAt(p,CKEDITOR.POSITION_AFTER_START):e.setStartAt(p,CKEDITOR.POSITION_BEFORE_END);e.collapse(!0)}}catch(v){return null}}else return null}return e},initDragDataTransfer:function(a,
b){var c=a.data.$?a.data.$.dataTransfer:null,d=new this.dataTransfer(c,b);&quot;dragstart&quot;===a.name&amp;&amp;d.storeId();c?this.dragData&amp;&amp;d.id==this.dragData.id?d=this.dragData:this.dragData=d:this.dragData?d=this.dragData:this.dragData=d;a.data.dataTransfer=d},resetDragDataTransfer:function(){this.dragData=null},initPasteDataTransfer:function(a,b){if(this.isCustomCopyCutSupported){if(a&amp;&amp;a.data&amp;&amp;a.data.$){var c=a.data.$.clipboardData,d=new this.dataTransfer(c,b);&quot;copy&quot;!==a.name&amp;&amp;&quot;cut&quot;!==a.name||d.storeId();this.copyCutData&amp;&amp;
d.id==this.copyCutData.id?(d=this.copyCutData,d.$=c):this.copyCutData=d;return d}return new this.dataTransfer(null,b)}return new this.dataTransfer(CKEDITOR.env.edge&amp;&amp;a&amp;&amp;a.data.$&amp;&amp;a.data.$.clipboardData||null,b)},preventDefaultDropOnElement:function(a){a&amp;&amp;a.on(&quot;dragover&quot;,C)}};n=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?&quot;cke/id&quot;:&quot;Text&quot;;CKEDITOR.plugins.clipboard.dataTransfer=function(a,b){a&amp;&amp;(this.$=a);this._={metaRegExp:/^&lt;meta.*?&gt;/i,bodyRegExp:/&lt;body(?:[\s\S]*?)&gt;([\s\S]*)&lt;\/body&gt;/i,fragmentRegExp:/\s*\x3c!--StartFragment--\x3e|\x3c!--EndFragment--\x3e\s*/g,
data:{},files:[],nativeHtmlCache:&quot;&quot;,normalizeType:function(a){a=a.toLowerCase();return&quot;text&quot;==a||&quot;text/plain&quot;==a?&quot;Text&quot;:&quot;url&quot;==a?&quot;URL&quot;:a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(n);this.id||(this.id=&quot;Text&quot;==n?&quot;&quot;:&quot;cke-&quot;+CKEDITOR.tools.getUniqueId());b&amp;&amp;(this.sourceEditor=b,this.setData(&quot;text/html&quot;,b.getSelectedHtml(1)),&quot;Text&quot;==n||this.getData(&quot;text/plain&quot;)||this.setData(&quot;text/plain&quot;,b.getSelection().getSelectedText()))};CKEDITOR.DATA_TRANSFER_INTERNAL=
1;CKEDITOR.DATA_TRANSFER_CROSS_EDITORS=2;CKEDITOR.DATA_TRANSFER_EXTERNAL=3;CKEDITOR.plugins.clipboard.dataTransfer.prototype={getData:function(a,b){a=this._.normalizeType(a);var c=&quot;text/html&quot;==a&amp;&amp;b?this._.nativeHtmlCache:this._.data[a];if(void 0===c||null===c||&quot;&quot;===c){if(this._.fallbackDataTransfer.isRequired())c=this._.fallbackDataTransfer.getData(a,b);else try{c=this.$.getData(a)||&quot;&quot;}catch(d){c=&quot;&quot;}&quot;text/html&quot;!=a||b||(c=this._stripHtml(c))}&quot;Text&quot;==a&amp;&amp;CKEDITOR.env.gecko&amp;&amp;this.getFilesCount()&amp;&amp;&quot;file://&quot;==
c.substring(0,7)&amp;&amp;(c=&quot;&quot;);if(&quot;string&quot;===typeof c)var f=c.indexOf(&quot;\x3c/html\x3e&quot;),c=-1!==f?c.substring(0,f+7):c;return c},setData:function(a,b){a=this._.normalizeType(a);&quot;text/html&quot;==a?(this._.data[a]=this._stripHtml(b),this._.nativeHtmlCache=b):this._.data[a]=b;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||&quot;URL&quot;==a||&quot;Text&quot;==a)if(&quot;Text&quot;==n&amp;&amp;&quot;Text&quot;==a&amp;&amp;(this.id=b),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,b);else try{this.$.setData(a,b)}catch(c){}},storeId:function(){&quot;Text&quot;!==
n&amp;&amp;this.setData(n,this.id)},getTransferType:function(a){return this.sourceEditor?this.sourceEditor==a?CKEDITOR.DATA_TRANSFER_INTERNAL:CKEDITOR.DATA_TRANSFER_CROSS_EDITORS:CKEDITOR.DATA_TRANSFER_EXTERNAL},cacheData:function(){function a(a){a=b._.normalizeType(a);var c=b.getData(a);&quot;text/html&quot;==a&amp;&amp;(b._.nativeHtmlCache=b.getData(a,!0),c=b._stripHtml(c));c&amp;&amp;(b._.data[a]=c)}if(this.$){var b=this,c,d;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(c=0;c&lt;this.$.types.length;c++)a(this.$.types[c])}else a(&quot;Text&quot;),
a(&quot;URL&quot;);d=this._getImageFromClipboard();if(this.$&amp;&amp;this.$.files||d){this._.files=[];if(this.$.files&amp;&amp;this.$.files.length)for(c=0;c&lt;this.$.files.length;c++)this._.files.push(this.$.files[c]);0===this._.files.length&amp;&amp;d&amp;&amp;this._.files.push(d)}}},getFilesCount:function(){return this._.files.length?this._.files.length:this.$&amp;&amp;this.$.files&amp;&amp;this.$.files.length?this.$.files.length:this._getImageFromClipboard()?1:0},getFile:function(a){return this._.files.length?this._.files[a]:this.$&amp;&amp;this.$.files&amp;&amp;this.$.files.length?
this.$.files[a]:0===a?this._getImageFromClipboard():void 0},isEmpty:function(){var a={},b;if(this.getFilesCount())return!1;CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(this._.data),function(b){a[b]=1});if(this.$)if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(var c=0;c&lt;this.$.types.length;c++)a[this.$.types[c]]=1}else a.Text=1,a.URL=1;&quot;Text&quot;!=n&amp;&amp;(a[n]=0);for(b in a)if(a[b]&amp;&amp;&quot;&quot;!==this.getData(b))return!1;return!0},getTypes:function(){return this.$&amp;&amp;this.$.types?
[].slice.call(this.$.types):[]},_getImageFromClipboard:function(){var a;try{if(this.$&amp;&amp;this.$.items&amp;&amp;this.$.items[0]&amp;&amp;(a=this.$.items[0].getAsFile())&amp;&amp;a.type)return a}catch(b){}},_stripHtml:function(a){if(a&amp;&amp;a.length){a=a.replace(this._.metaRegExp,&quot;&quot;);var b=this._.bodyRegExp.exec(a);b&amp;&amp;b.length&amp;&amp;(a=b[1],a=a.replace(this._.fragmentRegExp,&quot;&quot;))}return a}};CKEDITOR.plugins.clipboard.fallbackDataTransfer=function(a){this._dataTransfer=a;this._customDataFallbackType=&quot;text/html&quot;};CKEDITOR.plugins.clipboard.fallbackDataTransfer._isCustomMimeTypeSupported=
null;CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes=[];CKEDITOR.plugins.clipboard.fallbackDataTransfer.prototype={isRequired:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer,b=this._dataTransfer.$;if(null===a._isCustomMimeTypeSupported)if(b){a._isCustomMimeTypeSupported=!1;if(CKEDITOR.env.edge&amp;&amp;17&lt;=CKEDITOR.env.version)return!0;try{b.setData(&quot;cke/mimetypetest&quot;,&quot;cke test value&quot;),a._isCustomMimeTypeSupported=&quot;cke test value&quot;===b.getData(&quot;cke/mimetypetest&quot;),b.clearData(&quot;cke/mimetypetest&quot;)}catch(c){}}else return!1;
return!a._isCustomMimeTypeSupported},getData:function(a,b){var c=this._getData(this._customDataFallbackType,!0);if(b)return c;var c=this._extractDataComment(c),d=null,d=a===this._customDataFallbackType?c.content:c.data&amp;&amp;c.data[a]?c.data[a]:this._getData(a,!0);return null!==d?d:&quot;&quot;},setData:function(a,b){var c=a===this._customDataFallbackType;c&amp;&amp;(b=this._applyDataComment(b,this._getFallbackTypeData()));var d=b,f=this._dataTransfer.$;try{f.setData(a,d),c&amp;&amp;(this._dataTransfer._.nativeHtmlCache=d)}catch(h){if(this._isUnsupportedMimeTypeError(h)){c=
CKEDITOR.plugins.clipboard.fallbackDataTransfer;-1===CKEDITOR.tools.indexOf(c._customTypes,a)&amp;&amp;c._customTypes.push(a);var c=this._getFallbackTypeContent(),e=this._getFallbackTypeData();e[a]=d;try{d=this._applyDataComment(c,e),f.setData(this._customDataFallbackType,d),this._dataTransfer._.nativeHtmlCache=d}catch(g){d=&quot;&quot;}}}return d},_getData:function(a,b){var c=this._dataTransfer._.data;if(!b&amp;&amp;c[a])return c[a];try{return this._dataTransfer.$.getData(a)}catch(d){return null}},_getFallbackTypeContent:function(){var a=
this._dataTransfer._.data[this._customDataFallbackType];a||(a=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).content);return a},_getFallbackTypeData:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes,b=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).data||{},c=this._dataTransfer._.data;CKEDITOR.tools.array.forEach(a,function(a){void 0!==c[a]?b[a]=c[a]:void 0!==b[a]&amp;&amp;(b[a]=b[a])},this);return b},_isUnsupportedMimeTypeError:function(a){return a.message&amp;&amp;
-1!==a.message.search(/element not found/gi)},_extractDataComment:function(a){var b={data:null,content:a||&quot;&quot;};if(a&amp;&amp;16&lt;a.length){var c;(c=/\x3c!--cke-data:(.*?)--\x3e/g.exec(a))&amp;&amp;c[1]&amp;&amp;(b.data=JSON.parse(decodeURIComponent(c[1])),b.content=a.replace(c[0],&quot;&quot;))}return b},_applyDataComment:function(a,b){var c=&quot;&quot;;b&amp;&amp;CKEDITOR.tools.object.keys(b).length&amp;&amp;(c=&quot;\x3c!--cke-data:&quot;+encodeURIComponent(JSON.stringify(b))+&quot;--\x3e&quot;);return c+(a&amp;&amp;a.length?a:&quot;&quot;)}}})();
CKEDITOR.config.clipboard_notificationDuration=1E4;CKEDITOR.plugins.add(&quot;panelbutton&quot;,{requires:&quot;button&quot;,onLoad:function(){function e(c){var b=this._;b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;(this.createPanel(c),b.on?b.panel.hide():b.panel.showBlock(this._.id,this.document.getById(this._.id),4))}CKEDITOR.ui.panelButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(c){var b=c.panel||{};delete c.panel;this.base(c);this.document=b.parent&amp;&amp;b.parent.getDocument()||CKEDITOR.document;b.block={attributes:b.attributes};b.toolbarRelated=!0;this.hasArrow=
&quot;listbox&quot;;this.click=e;this._={panelDefinition:b}},statics:{handler:{create:function(c){return new CKEDITOR.ui.panelButton(c)}}},proto:{createPanel:function(c){var b=this._;if(!b.panel){var f=this._.panelDefinition,e=this._.panelDefinition.block,h=f.parent||CKEDITOR.document.getBody(),d=this._.panel=new CKEDITOR.ui.floatPanel(c,h,f),f=d.addBlock(b.id,e),a=this,g=c.getCommand(this.command);d.onShow=function(){a.className&amp;&amp;this.element.addClass(a.className+&quot;_panel&quot;);a.setState(CKEDITOR.TRISTATE_ON);
b.on=1;a.editorFocus&amp;&amp;c.focus();if(a.onOpen)a.onOpen()};d.onHide=function(d){a.className&amp;&amp;this.element.getFirst().removeClass(a.className+&quot;_panel&quot;);!a.modes&amp;&amp;g?a.setStateFromCommand(g):a.setState(a.modes&amp;&amp;a.modes[c.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);b.on=0;if(!d&amp;&amp;a.onClose)a.onClose()};d.onEscape=function(){d.hide(1);a.document.getById(b.id).focus()};if(this.onBlock)this.onBlock(d,f);f.onHide=function(){b.on=0;!a.modes&amp;&amp;a.command?a.setStateFromCommand(g):a.setState(CKEDITOR.TRISTATE_OFF)}}},
setStateFromCommand:function(c){this.setState(c.state)}}})},beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_PANELBUTTON,CKEDITOR.ui.panelButton.handler)}});CKEDITOR.UI_PANELBUTTON=&quot;panelbutton&quot;;(function(){CKEDITOR.plugins.add(&quot;panel&quot;,{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler)}});CKEDITOR.UI_PANEL=&quot;panel&quot;;CKEDITOR.ui.panel=function(a,b){b&amp;&amp;CKEDITOR.tools.extend(this,b);CKEDITOR.tools.extend(this,{className:&quot;&quot;,css:[]});this.id=CKEDITOR.tools.getNextId();this.document=a;this.isFramed=this.forceIFrame||this.css.length;this._={blocks:{}}};CKEDITOR.ui.panel.handler={create:function(a){return new CKEDITOR.ui.panel(a)}};var g=CKEDITOR.addTemplate(&quot;panel&quot;,
&#039;\x3cdiv lang\x3d&quot;{langCode}&quot; id\x3d&quot;{id}&quot; dir\x3d{dir} class\x3d&quot;cke cke_reset_all {editorId} cke_panel cke_panel {cls} cke_{dir}&quot; style\x3d&quot;z-index:{z-index}&quot; role\x3d&quot;presentation&quot;\x3e{frame}\x3c/div\x3e&#039;),h=CKEDITOR.addTemplate(&quot;panel-frame&quot;,&#039;\x3ciframe id\x3d&quot;{id}&quot; class\x3d&quot;cke_panel_frame&quot; role\x3d&quot;presentation&quot; frameborder\x3d&quot;0&quot; src\x3d&quot;{src}&quot;\x3e\x3c/iframe\x3e&#039;),k=CKEDITOR.addTemplate(&quot;panel-frame-inner&quot;,&#039;\x3c!DOCTYPE html\x3e\x3chtml class\x3d&quot;cke_panel_container {env}&quot; dir\x3d&quot;{dir}&quot; lang\x3d&quot;{langCode}&quot;\x3e\x3chead\x3e{css}\x3c/head\x3e\x3cbody class\x3d&quot;cke_{dir}&quot; style\x3d&quot;margin:0;padding:0&quot; onload\x3d&quot;{onload}&quot;\x3e\x3c/body\x3e\x3c/html\x3e&#039;);
CKEDITOR.ui.panel.prototype={render:function(a,b){var e={editorId:a.id,id:this.id,langCode:a.langCode,dir:a.lang.dir,cls:this.className,frame:&quot;&quot;,env:CKEDITOR.env.cssClass,&quot;z-index&quot;:a.config.baseFloatZIndex+1};this.getHolderElement=function(){var a=this._.holder;if(!a){if(this.isFramed){var a=this.document.getById(this.id+&quot;_frame&quot;),b=a.getParent(),a=a.getFrameDocument();CKEDITOR.env.iOS&amp;&amp;b.setStyles({overflow:&quot;scroll&quot;,&quot;-webkit-overflow-scrolling&quot;:&quot;touch&quot;});b=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded=
!0;if(this.onLoad)this.onLoad()},this));a.write(k.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:&quot;window.parent.CKEDITOR.tools.callFunction(&quot;+b+&quot;);&quot;},e)));a.getWindow().$.CKEDITOR=CKEDITOR;a.on(&quot;keydown&quot;,function(a){var b=a.data.getKeystroke(),c=this.document.getById(this.id).getAttribute(&quot;dir&quot;);if(&quot;input&quot;!==a.data.getTarget().getName()||37!==b&amp;&amp;39!==b)this._.onKeyDown&amp;&amp;!1===this._.onKeyDown(b)?&quot;input&quot;===a.data.getTarget().getName()&amp;&amp;32===b||a.data.preventDefault():
(27==b||b==(&quot;rtl&quot;==c?39:37))&amp;&amp;this.onEscape&amp;&amp;!1===this.onEscape(b)&amp;&amp;a.data.preventDefault()},this);a=a.getBody();a.unselectable();CKEDITOR.env.air&amp;&amp;CKEDITOR.tools.callFunction(b)}else a=this.document.getById(this.id);this._.holder=a}return a};if(this.isFramed){var d=CKEDITOR.env.air?&quot;javascript:void(0)&quot;:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;javascript:void(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;}())&quot;:&quot;&quot;;e.frame=h.output({id:this.id+&quot;_frame&quot;,
src:d})}d=g.output(e);b&amp;&amp;b.push(d);return d},addBlock:function(a,b){b=this._.blocks[a]=b instanceof CKEDITOR.ui.panel.block?b:new CKEDITOR.ui.panel.block(this.getHolderElement(),b);this._.currentBlock||this.showBlock(a);return b},getBlock:function(a){return this._.blocks[a]},showBlock:function(a){a=this._.blocks[a];var b=this._.currentBlock,e=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+&quot;_frame&quot;);b&amp;&amp;b.hide();this._.currentBlock=a;CKEDITOR.fire(&quot;ariaWidget&quot;,e);a._.focusIndex=
-1;this._.onKeyDown=a.onKeyDown&amp;&amp;CKEDITOR.tools.bind(a.onKeyDown,a);a.show();return a},destroy:function(){this.element&amp;&amp;this.element.remove()}};CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(a,b){this.element=a.append(a.getDocument().createElement(&quot;div&quot;,{attributes:{tabindex:-1,&quot;class&quot;:&quot;cke_panel_block&quot;},styles:{display:&quot;none&quot;}}));b&amp;&amp;CKEDITOR.tools.extend(this,b);this.element.setAttributes({role:this.attributes.role||&quot;presentation&quot;,&quot;aria-label&quot;:this.attributes[&quot;aria-label&quot;],title:this.attributes.title||
this.attributes[&quot;aria-label&quot;]});this.keys={};this._.focusIndex=-1;this.element.disableContextMenu()},_:{markItem:function(a){-1!=a&amp;&amp;(a=this._.getItems().getItem(this._.focusIndex=a),CKEDITOR.env.webkit&amp;&amp;a.getDocument().getWindow().focus(),a.focus(),this.onMark&amp;&amp;this.onMark(a))},markFirstDisplayed:function(a){for(var b=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;none&quot;==a.getStyle(&quot;display&quot;)},e=this._.getItems(),d,c,f=e.count()-1;0&lt;=f;f--)if(d=e.getItem(f),d.getAscendant(b)||(c=d,this._.focusIndex=
f),&quot;true&quot;==d.getAttribute(&quot;aria-selected&quot;)){c=d;this._.focusIndex=f;break}c&amp;&amp;(a&amp;&amp;a(),CKEDITOR.env.webkit&amp;&amp;c.getDocument().getWindow().focus(),c.focus(),this.onMark&amp;&amp;this.onMark(c))},getItems:function(){return this.element.find(&quot;a,input&quot;)}},proto:{show:function(){this.element.setStyle(&quot;display&quot;,&quot;&quot;)},hide:function(){this.onHide&amp;&amp;!0===this.onHide.call(this)||this.element.setStyle(&quot;display&quot;,&quot;none&quot;)},onKeyDown:function(a,b){var e=this.keys[a];switch(e){case &quot;next&quot;:for(var d=this._.focusIndex,e=this._.getItems(),
c;c=e.getItem(++d);)if(c.getAttribute(&quot;_cke_focus&quot;)&amp;&amp;c.$.offsetWidth){this._.focusIndex=d;c.focus(!0);break}return c||b?!1:(this._.focusIndex=-1,this.onKeyDown(a,1));case &quot;prev&quot;:d=this._.focusIndex;for(e=this._.getItems();0&lt;d&amp;&amp;(c=e.getItem(--d));){if(c.getAttribute(&quot;_cke_focus&quot;)&amp;&amp;c.$.offsetWidth){this._.focusIndex=d;c.focus(!0);break}c=null}return c||b?!1:(this._.focusIndex=e.count(),this.onKeyDown(a,1));case &quot;click&quot;:case &quot;mouseup&quot;:return d=this._.focusIndex,(c=0&lt;=d&amp;&amp;this._.getItems().getItem(d))&amp;&amp;
c.fireEventHandler(e,{button:CKEDITOR.tools.normalizeMouseButton(CKEDITOR.MOUSE_BUTTON_LEFT,!0)}),!1}return!0}}})})();CKEDITOR.plugins.add(&quot;floatpanel&quot;,{requires:&quot;panel&quot;});
(function(){function v(a,b,c,m,h){h=CKEDITOR.tools.genKey(b.getUniqueId(),c.getUniqueId(),a.lang.dir,a.uiColor||&quot;&quot;,m.css||&quot;&quot;,h||&quot;&quot;);var g=f[h];g||(g=f[h]=new CKEDITOR.ui.panel(b,m),g.element=c.append(CKEDITOR.dom.element.createFromHtml(g.render(a),b)),g.element.setStyles({display:&quot;none&quot;,position:&quot;absolute&quot;}));return g}var f={};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(a,b,c,m){function h(){e.hide()}c.forceIFrame=1;c.toolbarRelated&amp;&amp;a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;
(b=CKEDITOR.document.getById(&quot;cke_&quot;+a.name));var g=b.getDocument();m=v(a,g,b,c,m||0);var n=m.element,l=n.getFirst(),e=this;n.disableContextMenu();this.element=n;this._={editor:a,panel:m,parentElement:b,definition:c,document:g,iframe:l,children:[],dir:a.lang.dir,showBlockParams:null,markFirst:void 0!==c.markFirst?c.markFirst:!0};a.on(&quot;mode&quot;,h);a.on(&quot;resize&quot;,h);g.getWindow().on(&quot;resize&quot;,function(){this.reposition()},this)},proto:{addBlock:function(a,b){return this._.panel.addBlock(a,b)},addListBlock:function(a,
b){return this._.panel.addListBlock(a,b)},getBlock:function(a){return this._.panel.getBlock(a)},showBlock:function(a,b,c,m,h,g){var n=this._.panel,l=n.showBlock(a);this._.showBlockParams=[].slice.call(arguments);this.allowBlur(!1);var e=this._.editor.editable();this._.returnFocus=e.hasFocus?e:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);this._.hideTimeout=0;var k=this.element,e=this._.iframe,e=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?e:new CKEDITOR.dom.window(e.$.contentWindow),f=k.getDocument(),
r=this._.parentElement.getPositionedAncestor(),t=b.getDocumentPosition(f),f=r?r.getDocumentPosition(f):{x:0,y:0},q=&quot;rtl&quot;==this._.dir,d=t.x+(m||0)-f.x,p=t.y+(h||0)-f.y;!q||1!=c&amp;&amp;4!=c?q||2!=c&amp;&amp;3!=c||(d+=b.$.offsetWidth-1):d+=b.$.offsetWidth;if(3==c||4==c)p+=b.$.offsetHeight-1;this._.panel._.offsetParentId=b.getId();k.setStyles({top:p+&quot;px&quot;,left:0,display:&quot;&quot;});k.setOpacity(0);k.getFirst().removeStyle(&quot;width&quot;);this._.editor.focusManager.add(e);this._.blurSet||(CKEDITOR.event.useCapture=!0,e.on(&quot;blur&quot;,
function(a){function u(){delete this._.returnFocus;this.hide()}this.allowBlur()&amp;&amp;a.data.getPhase()==CKEDITOR.EVENT_PHASE_AT_TARGET&amp;&amp;this.visible&amp;&amp;!this._.activeChild&amp;&amp;(CKEDITOR.env.iOS?this._.hideTimeout||(this._.hideTimeout=CKEDITOR.tools.setTimeout(u,0,this)):u.call(this))},this),e.on(&quot;focus&quot;,function(){this._.focused=!0;this.hideChild();this.allowBlur(!0)},this),CKEDITOR.env.iOS&amp;&amp;(e.on(&quot;touchstart&quot;,function(){clearTimeout(this._.hideTimeout)},this),e.on(&quot;touchend&quot;,function(){this._.hideTimeout=
0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);n.onEscape=CKEDITOR.tools.bind(function(a){if(this.onEscape&amp;&amp;!1===this.onEscape(a))return!1},this);CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.tools.bind(function(){var a=k;a.removeStyle(&quot;width&quot;);if(l.autoSize){var b=l.element.getDocument(),b=(CKEDITOR.env.webkit||CKEDITOR.env.edge?l.element:b.getBody()).$.scrollWidth;CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;0&lt;b&amp;&amp;(b+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3);a.setStyle(&quot;width&quot;,
b+10+&quot;px&quot;);b=l.element.$.scrollHeight;CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;0&lt;b&amp;&amp;(b+=(a.$.offsetHeight||0)-(a.$.clientHeight||0)+3);a.setStyle(&quot;height&quot;,b+&quot;px&quot;);n._.currentBlock.element.setStyle(&quot;display&quot;,&quot;none&quot;).removeStyle(&quot;display&quot;)}else a.removeStyle(&quot;height&quot;);q&amp;&amp;(d-=k.$.offsetWidth);k.setStyle(&quot;left&quot;,d+&quot;px&quot;);var b=n.element.getWindow(),a=k.$.getBoundingClientRect(),b=b.getViewPaneSize(),c=a.width||a.right-a.left,e=a.height||a.bottom-a.top,m=q?a.right:b.width-a.left,h=q?b.width-a.right:a.left;
q?m&lt;c&amp;&amp;(d=h&gt;c?d+c:b.width&gt;c?d-a.left:d-a.right+b.width):m&lt;c&amp;&amp;(d=h&gt;c?d-c:b.width&gt;c?d-a.right+b.width:d-a.left);c=a.top;b.height-a.top&lt;e&amp;&amp;(p=c&gt;e?p-e:b.height&gt;e?p-a.bottom+b.height:p-a.top);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;((b=a=k.$.offsetParent&amp;&amp;new CKEDITOR.dom.element(k.$.offsetParent))&amp;&amp;&quot;html&quot;==b.getName()&amp;&amp;(b=b.getDocument().getBody()),b&amp;&amp;&quot;rtl&quot;==b.getComputedStyle(&quot;direction&quot;)&amp;&amp;(d=CKEDITOR.env.ie8Compat?d-2*k.getDocument().getDocumentElement().$.scrollLeft:d-(a.$.scrollWidth-a.$.clientWidth)));
var a=k.getFirst(),f;(f=a.getCustomData(&quot;activePanel&quot;))&amp;&amp;f.onHide&amp;&amp;f.onHide.call(this,1);a.setCustomData(&quot;activePanel&quot;,this);k.setStyles({top:p+&quot;px&quot;,left:d+&quot;px&quot;});k.setOpacity(1);g&amp;&amp;g()},this);n.isLoaded?a():n.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&amp;&amp;CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();l.element.focus();CKEDITOR.env.webkit&amp;&amp;(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);this._.markFirst&amp;&amp;(CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){l.markFirstDisplayed?
l.markFirstDisplayed():l._.markFirstDisplayed()},0):l.markFirstDisplayed?l.markFirstDisplayed():l._.markFirstDisplayed());this._.editor.fire(&quot;panelShow&quot;,this)},0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&amp;&amp;this.onShow.call(this)},reposition:function(){var a=this._.showBlockParams;this.visible&amp;&amp;this._.showBlockParams&amp;&amp;(this.hide(),this.showBlock.apply(this,a))},focus:function(){if(CKEDITOR.env.webkit){var a=CKEDITOR.document.getActive();a&amp;&amp;!a.equals(this._.iframe)&amp;&amp;a.$.blur()}(this._.lastFocused||
this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var a=this._.iframe.getFrameDocument().getActive();a&amp;&amp;a.is(&quot;a&quot;)&amp;&amp;(this._.lastFocused=a)},hide:function(a){if(this.visible&amp;&amp;(!this.onHide||!0!==this.onHide.call(this))){this.hideChild();CKEDITOR.env.gecko&amp;&amp;this._.iframe.getFrameDocument().$.activeElement.blur();this.element.setStyle(&quot;display&quot;,&quot;none&quot;);this.visible=0;this.element.getFirst().removeCustomData(&quot;activePanel&quot;);if(a=a&amp;&amp;this._.returnFocus)CKEDITOR.env.webkit&amp;&amp;a.type&amp;&amp;a.getWindow().$.focus(),
a.focus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire(&quot;panelHide&quot;,this)}},allowBlur:function(a){var b=this._.panel;void 0!==a&amp;&amp;(b.allowBlur=a);return b.allowBlur},showAsChild:function(a,b,c,f,h,g){if(this._.activeChild!=a||a._.panel._.offsetParentId!=c.getId())this.hideChild(),a.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=a,this._.focused=!1,a.showBlock(b,c,f,h,g),this.blur(),
(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&amp;&amp;setTimeout(function(){a.element.getChild(0).$.style.cssText+=&quot;&quot;},100)},hideChild:function(a){var b=this._.activeChild;b&amp;&amp;(delete b.onHide,delete this._.activeChild,b.hide(),a&amp;&amp;this.focus())}}});CKEDITOR.on(&quot;instanceDestroyed&quot;,function(){var a=CKEDITOR.tools.isEmpty(CKEDITOR.instances),b;for(b in f){var c=f[b];a?c.destroy():c.element.hide()}a&amp;&amp;(f={})})})();(function(){var q,g,l;CKEDITOR.plugins.add(&quot;colorbutton&quot;,{requires:&quot;panelbutton,floatpanel&quot;,init:function(a){function b(d){function b(){var d=a.config[&quot;colorButton_&quot;+f+&quot;Style&quot;];d.childRule=&quot;back&quot;==f?function(a){return e(a)}:function(a){return!(a.is(&quot;a&quot;)||a.getElementsByTag(&quot;a&quot;).count())||e(a)};return d}function A(d,r,h){var c={};d&amp;&amp;(c.color=d);r&amp;&amp;(c.colorName=r);r=!CKEDITOR.tools.isEmpty(c)&amp;&amp;new CKEDITOR.style(b(),c);a.execCommand(m,{newStyle:r});if(d&amp;&amp;h)for(h.addColor(d.substr(1).toUpperCase()),
d=u.element.find(&quot;[role\x3doption]&quot;).toArray(),h=0;h&lt;d.length;h++)d[h].setAttributes({&quot;aria-posinset&quot;:h+1,&quot;aria-setsize&quot;:d.length})}var k=d.name,f=d.type,g=d.title,C=d.order,m=d.commandName;d=d.contentTransformations||{};var B=new CKEDITOR.style(t[&quot;colorButton_&quot;+f+&quot;Style&quot;]),q=CKEDITOR.tools.getNextId()+&quot;_colorBox&quot;,y={type:f},z=new CKEDITOR.style(t[&quot;colorButton_&quot;+f+&quot;Style&quot;],{color:&quot;inherit&quot;}),x=function(){return CKEDITOR.tools.addFunction(function(d,r,b){a.focus();a.fire(&quot;saveSnapshot&quot;);&quot;?&quot;==d?a.getColorFromDialog(function(a){a&amp;&amp;
A(a,r,v)},null,y):A(d&amp;&amp;&quot;#&quot;+d,r,v);b&amp;&amp;(b.setAttribute(&quot;cke_colorlast&quot;,!0),a.once(&quot;selectionChange&quot;,function(){b.removeAttribute(&quot;cke_colorlast&quot;)}))})}(),v=l.getRowLimit(a)?new l(a,&quot;back&quot;==f?&quot;background-color&quot;:&quot;color&quot;,x):void 0,u;a.addCommand(m,{contextSensitive:!0,exec:function(a,d){if(!a.readOnly){var b=d.newStyle;a.removeStyle(z);a.focus();b&amp;&amp;a.applyStyle(b);a.fire(&quot;saveSnapshot&quot;)}},refresh:function(a,d){z.checkApplicable(d,a,a.activeFilter)?z.checkActive(d,a)?this.setState(CKEDITOR.TRISTATE_ON):
this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}});a.ui.add(k,CKEDITOR.UI_PANELBUTTON,{label:g,title:g,command:m,editorFocus:0,toolbar:&quot;colors,&quot;+C,allowedContent:B,requiredContent:B,contentTransformations:d,panel:{css:CKEDITOR.skin.getPath(&quot;editor&quot;),attributes:{role:&quot;listbox&quot;,&quot;aria-label&quot;:n.panelTitle}},select:function(a){var d=t.colorButton_colors.split(&quot;,&quot;);a=CKEDITOR.tools.array.find(d,a);a=p(a);w(u,a);u._.markFirstDisplayed()},onBlock:function(d,b){u=b;b.autoSize=
!0;b.element.addClass(&quot;cke_colorblock&quot;);b.element.setHtml(c(q,x,v?v.getLength():0));b.element.getDocument().getBody().setStyle(&quot;overflow&quot;,&quot;hidden&quot;);CKEDITOR.ui.fire(&quot;ready&quot;,this);var h=b.keys,f=&quot;rtl&quot;==a.lang.dir;h[f?37:39]=&quot;next&quot;;h[40]=&quot;next&quot;;h[9]=&quot;next&quot;;h[f?39:37]=&quot;prev&quot;;h[38]=&quot;prev&quot;;h[CKEDITOR.SHIFT+9]=&quot;prev&quot;;h[32]=&quot;click&quot;;v&amp;&amp;v.setContainer(b.element.findOne(&quot;.cke_colorhistory&quot;))},onOpen:function(){var d=a.getSelection(),b=d&amp;&amp;d.getStartElement(),c=a.elementPath(b),k=&quot;back&quot;==f?&quot;background-color&quot;:
&quot;color&quot;;if(c){b=c.block||c.blockLimit||a.document.getBody();do c=b&amp;&amp;b.getComputedStyle(k)||&quot;transparent&quot;;while(&quot;back&quot;==f&amp;&amp;&quot;transparent&quot;==c&amp;&amp;b&amp;&amp;(b=b.getParent()));c&amp;&amp;&quot;transparent&quot;!=c||(c=&quot;#ffffff&quot;);t.colorButton_enableAutomatic&amp;&amp;u.element.findOne(&quot;#&quot;+q).setStyle(&quot;background-color&quot;,c);if(b=d&amp;&amp;d.getRanges()[0]){for(var d=new CKEDITOR.dom.walker(b),e=b.collapsed?b.startContainer:d.next(),b=&quot;&quot;;e;){e.type!==CKEDITOR.NODE_ELEMENT&amp;&amp;(e=e.getParent());e=p(e.getComputedStyle(k));b=b||e;if(b!==e){b=&quot;&quot;;break}e=
d.next()}&quot;transparent&quot;==b&amp;&amp;(b=&quot;&quot;);&quot;fore&quot;==f&amp;&amp;(y.automaticTextColor=&quot;#&quot;+p(c));y.selectionColor=b?&quot;#&quot;+b:&quot;&quot;;w(u,b)}return c}}})}function c(b,c,e){var k=[],f=t.colorButton_colors.split(&quot;,&quot;),g=a.plugins.colordialog&amp;&amp;t.colorButton_enableMore;e=f.length+e+(g?1:0);var p=1;t.colorButton_enableAutomatic&amp;&amp;(e+=1,p+=1,k.push(&#039;\x3ca class\x3d&quot;cke_colorauto&quot; _cke_focus\x3d1 hidefocus\x3dtrue&#039;,&#039; title\x3d&quot;&#039;,n.auto,&#039;&quot;&#039;,&#039; draggable\x3d&quot;false&quot;&#039;,&#039; ondragstart\x3d&quot;return false;&quot;&#039;,&#039; onclick\x3d&quot;CKEDITOR.tools.callFunction(&#039;,
c,&#039;,null);return false;&quot;&#039;,&quot; href\x3d\&quot;javascript:void(&#039;&quot;,n.auto,&quot;&#039;)\&quot;&quot;,&#039; role\x3d&quot;option&quot; aria-posinset\x3d&quot;1&quot; aria-setsize\x3d&quot;&#039;,e,&#039;&quot;\x3e&#039;,&#039;\x3ctable role\x3d&quot;presentation&quot; cellspacing\x3d0 cellpadding\x3d0 width\x3d&quot;100%&quot;\x3e&#039;,&quot;\x3ctr\x3e&quot;,&#039;\x3ctd colspan\x3d&quot;&#039;,a.config.colorButton_colorsPerRow,&#039;&quot; align\x3d&quot;center&quot;\x3e&#039;,&#039;\x3cspan class\x3d&quot;cke_colorbox&quot; id\x3d&quot;&#039;,b,&#039;&quot;\x3e\x3c/span\x3e&#039;,n.auto,&quot;\x3c/td\x3e&quot;,&quot;\x3c/tr\x3e&quot;,&quot;\x3c/table\x3e&quot;,&quot;\x3c/a\x3e&quot;));k.push(&#039;\x3ctable role\x3d&quot;presentation&quot; cellspacing\x3d0 cellpadding\x3d0 width\x3d&quot;100%&quot;\x3e\x3ctbody\x3e&#039;);
for(b=0;b&lt;f.length;b++){0===b%a.config.colorButton_colorsPerRow&amp;&amp;k.push(&quot;\x3c/tr\x3e\x3ctr\x3e&quot;);var m=f[b].split(&quot;/&quot;),w=m[0],m=new q(a,{color:m[1]||w,label:m[1]?w:void 0},c);m.setPositionIndex(p+b,e);k.push(m.getHtml())}l.getRowLimit(a)&amp;&amp;l.renderContainer(k,a);g&amp;&amp;k.push(&quot;\x3c/tr\x3e&quot;,&quot;\x3ctr\x3e&quot;,&#039;\x3ctd colspan\x3d&quot;&#039;,a.config.colorButton_colorsPerRow,&#039;&quot; align\x3d&quot;center&quot;\x3e&#039;,&#039;\x3ca class\x3d&quot;cke_colormore&quot; _cke_focus\x3d1 hidefocus\x3dtrue&#039;,&#039; title\x3d&quot;&#039;,n.more,&#039;&quot;&#039;,&#039; draggable\x3d&quot;false&quot;&#039;,&#039; ondragstart\x3d&quot;return false;&quot;&#039;,
&#039; onclick\x3d&quot;CKEDITOR.tools.callFunction(&#039;,c,&quot;,&#039;?&#039;);return false;\&quot;&quot;,&quot; href\x3d\&quot;javascript:void(&#039;&quot;,n.more,&quot;&#039;)\&quot;&quot;,&#039; role\x3d&quot;option&quot; aria-posinset\x3d&quot;&#039;,e,&#039;&quot; aria-setsize\x3d&quot;&#039;,e,&#039;&quot;\x3e&#039;,n.more,&quot;\x3c/a\x3e&quot;,&quot;\x3c/td\x3e&quot;);k.push(&quot;\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e&quot;);return k.join(&quot;&quot;)}function e(a){return&quot;false&quot;==a.getAttribute(&quot;contentEditable&quot;)||a.getAttribute(&quot;data-nostyle&quot;)}function w(a,b){var c=a._.getItems(),e=a.element.findOne(&quot;[aria-selected]&quot;),f=a.element.findOne(&quot;[cke_colorlast]&quot;);
e&amp;&amp;e.removeAttribute(&quot;aria-selected&quot;);if(f)f.setAttribute(&quot;aria-selected&quot;,!0);else for(e=0;e&lt;c.count();e++)if(f=c.getItem(e),b&amp;&amp;b==p(f.getAttribute(&quot;data-value&quot;))){f.setAttribute(&quot;aria-selected&quot;,!0);break}}function p(a){return CKEDITOR.tools.normalizeHex(&quot;#&quot;+CKEDITOR.tools.convertRgbToHex(a||&quot;&quot;)).replace(/#/g,&quot;&quot;)}var t=a.config,n=a.lang.colorbutton;if(!CKEDITOR.env.hc){b({name:&quot;TextColor&quot;,type:&quot;fore&quot;,commandName:&quot;textColor&quot;,title:n.textColorTitle,order:10,contentTransformations:[[{element:&quot;font&quot;,
check:&quot;span{color}&quot;,left:function(a){return!!a.attributes.color},right:function(a){a.name=&quot;span&quot;;a.attributes.color&amp;&amp;(a.styles.color=a.attributes.color);delete a.attributes.color}}]]});var g,x=a.config.colorButton_normalizeBackground;if(void 0===x||x)g=[[{element:&quot;span&quot;,left:function(a){var b=CKEDITOR.tools;if(&quot;span&quot;!=a.name||!a.styles||!a.styles.background)return!1;a=b.style.parse.background(a.styles.background);return a.color&amp;&amp;1===b.object.keys(a).length},right:function(b){var c=(new CKEDITOR.style(a.config.colorButton_backStyle,
{color:b.styles.background})).getDefinition();b.name=c.element;b.styles=c.styles;b.attributes=c.attributes||{};return b}}]];b({name:&quot;BGColor&quot;,type:&quot;back&quot;,commandName:&quot;bgColor&quot;,title:n.bgColorTitle,order:20,contentTransformations:g})}}});q=CKEDITOR.tools.createClass({$:function(a,b,c){this.$=new CKEDITOR.dom.element(&quot;td&quot;);this.color=b.color;this.clickFn=c;this.label=b.label||q.colorNames(a)[this.color]||this.color;this.setHtml()},statics:{colorNames:function(a){return a.lang.colorbutton.colors}},proto:{getElement:function(){return this.$},
getHtml:function(){return this.getElement().getOuterHtml()},setHtml:function(){this.getElement().setHtml(&#039;\x3ca class\x3d&quot;cke_colorbox&quot; _cke_focus\x3d1 hidefocus\x3dtrue title\x3d&quot;&#039;+this.label+&#039;&quot; draggable\x3d&quot;false&quot; ondragstart\x3d&quot;return false;&quot; onclick\x3d&quot;CKEDITOR.tools.callFunction(&#039;+this.clickFn+&quot;,&#039;&quot;+this.color+&quot;&#039;,&#039;&quot;+this.label+&quot;&#039;, this); return false;\&quot; href\x3d\&quot;javascript:void(&#039;&quot;+this.color+&#039;\&#039;)&quot; data-value\x3d&quot;&#039;+this.color+&#039;&quot; role\x3d&quot;option&quot;\x3e\x3cspan class\x3d&quot;cke_colorbox&quot; style\x3d&quot;background-color:#&#039;+
this.color+&#039;&quot;\x3e\x3c/span\x3e\x3c/a\x3e&#039;)},setPositionIndex:function(a,b){this.getElement().getChild(0).setAttributes({&quot;aria-posinset&quot;:a,&quot;aria-setsize&quot;:b})}}});g=CKEDITOR.tools.createClass({$:function(){this.$=new CKEDITOR.dom.element(&quot;tr&quot;);this.$.addClass(&quot;cke_colorhistory_row&quot;);this.boxes=[]},proto:{getElement:function(){return this.$},removeLastColor:function(){this.getElement().getLast().remove();return this.boxes.pop()},addNewColor:function(a){this.boxes.unshift(a);this.getElement().append(a.getElement(),
!0)},extractColorBox:function(a){var b=CKEDITOR.tools.getIndex(this.boxes,function(b){return b.color===a});if(0&gt;b)return null;this.boxes[b].getElement().remove();return this.boxes.splice(b,1)[0]}}});l=CKEDITOR.tools.createClass({$:function(a,b,c){this.editor=a;this.cssProperty=b;this.clickFn=c;this.rows=[];this._.addNewRow();if(this.editor.config.colorButton_renderContentColors)this.editor.once(&quot;instanceReady&quot;,function(){this.renderContentColors()},this)},statics:{renderContainer:function(a,b){a.push(&#039;\x3c/tbody\x3e\x3ctbody class\x3d&quot;cke_colorhistory&quot; style\x3d&quot;display:none;&quot;\x3e&#039;,
&quot;\x3ctr\x3e&quot;,&#039;\x3ctd colspan\x3d&quot;&#039;,b.config.colorButton_colorsPerRow,&#039;&quot; align\x3d&quot;center&quot;\x3e&#039;,&quot;\x3cspan\x3e\x3chr\x3e\x3c/span\x3e&quot;,&quot;\x3c/td\x3e&quot;,&quot;\x3c/tr\x3e&quot;,&quot;\x3c/tbody\x3e\x3ctbody\x3e&quot;)},getRowLimit:function(a){return a.config.colorButton_historyRowLimit},getCapacity:function(a){return l.getRowLimit(a)*a.config.colorButton_colorsPerRow},colorList:CKEDITOR.tools.style.parse._colors},_:{countColors:function(){var a=CKEDITOR.tools.getStyledSpans(this.cssProperty,this.editor.editable());return CKEDITOR.tools.array.reduce(a,
function(a,c){var e=this._.getHexCode(c,this.cssProperty,l.colorList);a[e]=a[e]||0;a[e]+=1;return a},{},this)},getHexCode:function(a,b,c){var e=a.getStyle(b);return e in c?c[e].substr(1):this._.normalizeColor(a.getComputedStyle(b)).toUpperCase()},sortByOccurrencesAscending:function(a,b){var c=[],e;for(e in a){var g={};g[b]=e;g.frequency=a[e];c.push(g)}c.sort(function(a,b){return b.frequency-a.frequency});this._.trimToCapacity(c);return c.reverse()},trimToCapacity:function(a){a.splice(l.getCapacity(this.editor))},
addColors:function(a){CKEDITOR.tools.array.forEach(a,function(a){this.addColor(a.colorCode)},this)},extractColorBox:function(a){for(var b=0;b&lt;this.rows.length;b++){var c=this.rows[b].extractColorBox(a);if(c)return c}return null},moveToBeginning:function(a){this.rows[0].addNewColor(a)},createAtBeginning:function(a){this._.moveToBeginning(new q(this.editor,{color:a},this.clickFn))},addNewRow:function(){this.rows.push(new g);this.container&amp;&amp;this.container.append(this.rows[this.rows.length-1].getElement())},
alignRows:function(){for(var a=0;a&lt;l.getRowLimit(this.editor)&amp;&amp;!(this.rows[a].boxes.length&lt;=this.editor.config.colorButton_colorsPerRow);a++)this.rows[a+1]?this._.moveLastBoxToNextRow(a):a&lt;l.getRowLimit(this.editor)-1?(this._.addNewRow(),this._.moveLastBoxToNextRow(a)):this.rows[a].removeLastColor()},moveLastBoxToNextRow:function(a){this.rows[a+1].addNewColor(this.rows[a].removeLastColor())},refreshPositions:function(){var a=this._.countPanelElements(),b=this._.calculateFirstPosition(a);CKEDITOR.tools.array.forEach(this.rows,
function(c){CKEDITOR.tools.array.forEach(c.boxes,function(c){c.setPositionIndex(b,a);b+=1})})},countPanelElements:function(){var a=this.editor.config.colorButton_colors.split(&quot;,&quot;).length+this.getLength();this.editor.plugins.colordialog&amp;&amp;this.editor.config.colorButton_enableMore&amp;&amp;(a+=1);this.editor.config.colorButton_enableAutomatic&amp;&amp;(a+=1);return a},calculateFirstPosition:function(a){return this.editor.plugins.colordialog&amp;&amp;this.editor.config.colorButton_enableMore?a-this.getLength():a-this.getLength()+
1},attachRows:function(){CKEDITOR.tools.array.forEach(this.rows,function(a){this.container.append(a.getElement())},this)},normalizeColor:function(a){return CKEDITOR.tools.normalizeHex(&quot;#&quot;+CKEDITOR.tools.convertRgbToHex(a||&quot;&quot;)).replace(/#/g,&quot;&quot;)}},proto:{setContainer:function(a){this.container=a;this._.attachRows();this.getLength()&amp;&amp;this.show()},show:function(){this.container&amp;&amp;this.container.show()},renderContentColors:function(){var a=this._.countColors();CKEDITOR.tools.isEmpty(a)||(a=this._.sortByOccurrencesAscending(a,
&quot;colorCode&quot;),this._.addColors(a),this._.refreshPositions())},addColor:function(a){var b=this._.extractColorBox(a);this.container&amp;&amp;!this.container.isVisible()&amp;&amp;this.show();b?this._.moveToBeginning(b):this._.createAtBeginning(a);this._.alignRows()},getLength:function(){return CKEDITOR.tools.array.reduce(this.rows,function(a,b){return a+b.boxes.length},0)}}})})();CKEDITOR.config.colorButton_enableMore=!0;CKEDITOR.config.colorButton_colors=&quot;1ABC9C,2ECC71,3498DB,9B59B6,4E5F70,F1C40F,16A085,27AE60,2980B9,8E44AD,2C3E50,F39C12,E67E22,E74C3C,ECF0F1,95A5A6,DDD,FFF,D35400,C0392B,BDC3C7,7F8C8D,999,000&quot;;
CKEDITOR.config.colorButton_foreStyle={element:&quot;span&quot;,styles:{color:&quot;#(color)&quot;},overrides:[{element:&quot;font&quot;,attributes:{color:null}}]};CKEDITOR.config.colorButton_backStyle={element:&quot;span&quot;,styles:{&quot;background-color&quot;:&quot;#(color)&quot;}};CKEDITOR.config.colorButton_enableAutomatic=!0;CKEDITOR.config.colorButton_colorsPerRow=6;CKEDITOR.config.colorButton_historyRowLimit=1;CKEDITOR.config.colorButton_renderContentColors=!0;CKEDITOR.plugins.colordialog={requires:&quot;dialog&quot;,init:function(b){var d=new CKEDITOR.dialogCommand(&quot;colordialog&quot;);d.editorFocus=!1;b.addCommand(&quot;colordialog&quot;,d);CKEDITOR.dialog.add(&quot;colordialog&quot;,this.path+&quot;dialogs/colordialog.js&quot;);b.getColorFromDialog=function(d,k,g){var c,e,h,f;c=function(a){h(this);a=&quot;ok&quot;==a.name?this.getValueOf(&quot;picker&quot;,&quot;selectedColor&quot;):null;/^[0-9a-f]{3}([0-9a-f]{3})?$/i.test(a)&amp;&amp;(a=&quot;#&quot;+a);d.call(k,a)};e=function(a){g&amp;&amp;(a.data=g)};h=function(a){a.removeListener(&quot;ok&quot;,c);a.removeListener(&quot;cancel&quot;,
c);a.removeListener(&quot;show&quot;,e)};f=function(a){a.on(&quot;ok&quot;,c);a.on(&quot;cancel&quot;,c);a.on(&quot;show&quot;,e,null,null,5)};b.execCommand(&quot;colordialog&quot;);if(b._.storedDialogs&amp;&amp;b._.storedDialogs.colordialog)f(b._.storedDialogs.colordialog);else CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){if(&quot;colordialog&quot;==a.data.name){var b=a.data.definition;a.removeListener();b.onLoad=CKEDITOR.tools.override(b.onLoad,function(a){return function(){f(this);b.onLoad=a;&quot;function&quot;==typeof a&amp;&amp;a.call(this)}})}})}}};
CKEDITOR.plugins.add(&quot;colordialog&quot;,CKEDITOR.plugins.colordialog);(function(){CKEDITOR.plugins.add(&quot;templates&quot;,{requires:&quot;dialog&quot;,init:function(a){CKEDITOR.dialog.add(&quot;templates&quot;,CKEDITOR.getUrl(this.path+&quot;dialogs/templates.js&quot;));a.addCommand(&quot;templates&quot;,new CKEDITOR.dialogCommand(&quot;templates&quot;));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Templates&quot;,{label:a.lang.templates.button,command:&quot;templates&quot;,toolbar:&quot;doctools,10&quot;})}});var c={},f={};CKEDITOR.addTemplates=function(a,d){c[a]=d};CKEDITOR.getTemplates=function(a){return c[a]};CKEDITOR.loadTemplates=function(a,d){for(var e=
[],b=0,c=a.length;b&lt;c;b++)f[a[b]]||(e.push(a[b]),f[a[b]]=1);e.length?CKEDITOR.scriptLoader.load(e,d):setTimeout(d,0)}})();CKEDITOR.config.templates_files=[CKEDITOR.getUrl(&quot;plugins/templates/templates/default.js&quot;)];CKEDITOR.config.templates_replaceContent=!0;CKEDITOR.plugins.add(&quot;menu&quot;,{requires:&quot;floatpanel&quot;,beforeInit:function(m){for(var k=m.config.menu_groups.split(&quot;,&quot;),n=m._.menuGroups={},r=m._.menuItems={},p=0;p&lt;k.length;p++)n[k[p]]=p+1;m.addMenuGroup=function(c,a){n[c]=a||100};m.addMenuItem=function(c,a){n[a.group]&amp;&amp;(r[c]=new CKEDITOR.menuItem(this,c,a))};m.addMenuItems=function(c){for(var a in c)this.addMenuItem(a,c[a])};m.getMenuItem=function(c){return r[c]};m.removeMenuItem=function(c){delete r[c]}}});
(function(){function m(a){a.sort(function(a,f){return a.group&lt;f.group?-1:a.group&gt;f.group?1:a.order&lt;f.order?-1:a.order&gt;f.order?1:0})}var k=&#039;\x3cspan class\x3d&quot;cke_menuitem&quot;\x3e\x3ca id\x3d&quot;{id}&quot; class\x3d&quot;cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}&quot; href\x3d&quot;{href}&quot; title\x3d&quot;{title}&quot; tabindex\x3d&quot;-1&quot; _cke_focus\x3d1 hidefocus\x3d&quot;true&quot; role\x3d&quot;{role}&quot; aria-label\x3d&quot;{attrLabel}&quot; aria-describedby\x3d&quot;{id}_description&quot; aria-haspopup\x3d&quot;{hasPopup}&quot; aria-disabled\x3d&quot;{disabled}&quot; {ariaChecked} draggable\x3d&quot;false&quot;&#039;,
n=&quot;&quot;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(k+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(k+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot; ondragstart\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.ie&amp;&amp;(n=&#039;return false;&quot; onmouseup\x3d&quot;CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26&#039;);var k=k+(&#039; onmouseover\x3d&quot;CKEDITOR.tools.callFunction({hoverFn},{index});&quot; onmouseout\x3d&quot;CKEDITOR.tools.callFunction({moveOutFn},{index});&quot; onclick\x3d&quot;&#039;+n+&#039;CKEDITOR.tools.callFunction({clickFn},{index}); return false;&quot;\x3e&#039;)+
&#039;\x3cspan class\x3d&quot;cke_menubutton_inner&quot;\x3e\x3cspan class\x3d&quot;cke_menubutton_icon&quot;\x3e\x3cspan class\x3d&quot;cke_button_icon cke_button__{iconName}_icon&quot; style\x3d&quot;{iconStyle}&quot;\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d&quot;cke_menubutton_label&quot;\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d&quot;{id}_description&quot; class\x3d&quot;cke_voice_label&quot; aria-hidden\x3d&quot;false&quot;\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e&#039;,r=CKEDITOR.addTemplate(&quot;menuItem&quot;,k),p=CKEDITOR.addTemplate(&quot;menuArrow&quot;,
&#039;\x3cspan class\x3d&quot;cke_menuarrow&quot;\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e&#039;),c=CKEDITOR.addTemplate(&quot;menuShortcut&quot;,&#039;\x3cspan class\x3d&quot;cke_menubutton_label cke_menubutton_shortcut&quot;\x3e{shortcut}\x3c/span\x3e&#039;);CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(a,b){b=this._.definition=b||{};this.id=CKEDITOR.tools.getNextId();this.editor=a;this.items=[];this._.listeners=[];this._.level=b.level||1;var f=CKEDITOR.tools.extend({},b.panel,{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)],level:this._.level-
1,block:{}}),c=f.block.attributes=f.attributes||{};!c.role&amp;&amp;(c.role=&quot;menu&quot;);this._.panelDefinition=f},_:{onShow:function(){var a=this.editor.getSelection(),b=a&amp;&amp;a.getStartElement(),f=this.editor.elementPath(),c=this._.listeners;this.removeAll();for(var h=0;h&lt;c.length;h++){var l=c[h](b,a,f);if(l)for(var g in l){var e=this.editor.getMenuItem(g);!e||e.command&amp;&amp;!this.editor.getCommand(e.command).state||(e.state=l[g],this.add(e))}}},onClick:function(a){this.hide();if(a.onClick)a.onClick();else a.command&amp;&amp;
this.editor.execCommand(a.command)},onEscape:function(a){var b=this.parent;b?b._.panel.hideChild(1):27==a&amp;&amp;this.hide(1);return!1},onHide:function(){this.onHide&amp;&amp;this.onHide()},showSubMenu:function(a){var b=this._.subMenu,f=this.items[a];if(f=f.getItems&amp;&amp;f.getItems()){b?b.removeAll():(b=this._.subMenu=new CKEDITOR.menu(this.editor,CKEDITOR.tools.extend({},this._.definition,{level:this._.level+1},!0)),b.parent=this,b._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var c in f){var h=this.editor.getMenuItem(c);
h&amp;&amp;(h.state=f[c],b.add(h))}var l=this._.panel.getBlock(this.id).element.getDocument().getById(this.id+String(a));setTimeout(function(){b.show(l,2)},0)}else this._.panel.hideChild(1)}},proto:{add:function(a){a.order||(a.order=this.items.length);this.items.push(a)},removeAll:function(){this.items=[]},show:function(a,b,f,c){if(!this.parent&amp;&amp;(this._.onShow(),!this.items.length))return;b=b||(&quot;rtl&quot;==this.editor.lang.dir?2:1);var h=this.items,l=this.editor,g=this._.panel,e=this._.element;if(!g){g=this._.panel=
new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),this._.panelDefinition,this._.level);g.onEscape=CKEDITOR.tools.bind(function(a){if(!1===this._.onEscape(a))return!1},this);g.onShow=function(){g._.panel.getHolderElement().getParent().addClass(&quot;cke&quot;).addClass(&quot;cke_reset_all&quot;)};g.onHide=CKEDITOR.tools.bind(function(){this._.onHide&amp;&amp;this._.onHide()},this);e=g.addBlock(this.id,this._.panelDefinition.block);e.autoSize=!0;var d=e.keys;d[40]=&quot;next&quot;;d[9]=&quot;next&quot;;d[38]=&quot;prev&quot;;d[CKEDITOR.SHIFT+
9]=&quot;prev&quot;;d[&quot;rtl&quot;==l.lang.dir?37:39]=CKEDITOR.env.ie?&quot;mouseup&quot;:&quot;click&quot;;d[32]=CKEDITOR.env.ie?&quot;mouseup&quot;:&quot;click&quot;;CKEDITOR.env.ie&amp;&amp;(d[13]=&quot;mouseup&quot;);e=this._.element=e.element;d=e.getDocument();d.getBody().setStyle(&quot;overflow&quot;,&quot;hidden&quot;);d.getElementsByTag(&quot;html&quot;).getItem(0).setStyle(&quot;overflow&quot;,&quot;hidden&quot;);this._.itemOverFn=CKEDITOR.tools.addFunction(function(a){clearTimeout(this._.showSubTimeout);this._.showSubTimeout=CKEDITOR.tools.setTimeout(this._.showSubMenu,l.config.menu_subMenuDelay||400,this,[a])},
this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(){clearTimeout(this._.showSubTimeout)},this);this._.itemClickFn=CKEDITOR.tools.addFunction(function(a){var b=this.items[a];if(b.state==CKEDITOR.TRISTATE_DISABLED)this.hide(1);else if(b.getItems)this._.showSubMenu(a);else this._.onClick(b)},this)}m(h);for(var d=l.elementPath(),d=[&#039;\x3cdiv class\x3d&quot;cke_menu&#039;+(d&amp;&amp;d.direction()!=l.lang.dir?&quot; cke_mixed_dir_content&quot;:&quot;&quot;)+&#039;&quot; role\x3d&quot;presentation&quot;\x3e&#039;],k=h.length,n=k&amp;&amp;h[0].group,p=0;p&lt;k;p++){var q=
h[p];n!=q.group&amp;&amp;(d.push(&#039;\x3cdiv class\x3d&quot;cke_menuseparator&quot; role\x3d&quot;separator&quot;\x3e\x3c/div\x3e&#039;),n=q.group);q.render(this,p,d)}d.push(&quot;\x3c/div\x3e&quot;);e.setHtml(d.join(&quot;&quot;));CKEDITOR.ui.fire(&quot;ready&quot;,this);this.parent?this.parent._.panel.showAsChild(g,this.id,a,b,f,c):g.showBlock(this.id,a,b,f,c);l.fire(&quot;menuShow&quot;,[g])},addListener:function(a){this._.listeners.push(a)},hide:function(a){this._.onHide&amp;&amp;this._.onHide();this._.panel&amp;&amp;this._.panel.hide(a)},findItemByCommandName:function(a){var b=CKEDITOR.tools.array.filter(this.items,
function(b){return a===b.command});return b.length?(b=b[0],{item:b,element:this._.element.findOne(&quot;.&quot;+b.className)}):null}}});CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(a,b,c){CKEDITOR.tools.extend(this,c,{order:0,className:&quot;cke_menubutton__&quot;+b});this.group=a._.menuGroups[this.group];this.editor=a;this.name=b},proto:{render:function(a,b,f){var k=a.id+String(b),h=&quot;undefined&quot;==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,l=&quot;&quot;,g=this.editor,e,d,m=h==CKEDITOR.TRISTATE_ON?&quot;on&quot;:h==CKEDITOR.TRISTATE_DISABLED?
&quot;disabled&quot;:&quot;off&quot;;this.role in{menuitemcheckbox:1,menuitemradio:1}&amp;&amp;(l=&#039; aria-checked\x3d&quot;&#039;+(h==CKEDITOR.TRISTATE_ON?&quot;true&quot;:&quot;false&quot;)+&#039;&quot;&#039;);var n=this.getItems,t=&quot;\x26#&quot;+(&quot;rtl&quot;==this.editor.lang.dir?&quot;9668&quot;:&quot;9658&quot;)+&quot;;&quot;,q=this.name;this.icon&amp;&amp;!/\./.test(this.icon)&amp;&amp;(q=this.icon);this.command&amp;&amp;(e=g.getCommand(this.command),(e=g.getCommandKeystroke(e))&amp;&amp;(d=CKEDITOR.tools.keystrokeToString(g.lang.common.keyboard,e)));e=CKEDITOR.tools.htmlEncodeAttr(this.label);a={id:k,name:this.name,iconName:q,label:this.label,
attrLabel:e,cls:this.className||&quot;&quot;,state:m,hasPopup:n?&quot;true&quot;:&quot;false&quot;,disabled:h==CKEDITOR.TRISTATE_DISABLED,title:e+(d?&quot; (&quot;+d.display+&quot;)&quot;:&quot;&quot;),ariaShortcut:d?g.lang.common.keyboardShortcut+&quot; &quot;+d.aria:&quot;&quot;,href:&quot;javascript:void(&#039;&quot;+(e||&quot;&quot;).replace(&quot;&#039;&quot;)+&quot;&#039;)&quot;,hoverFn:a._.itemOverFn,moveOutFn:a._.itemOutFn,clickFn:a._.itemClickFn,index:b,iconStyle:CKEDITOR.skin.getIconStyle(q,&quot;rtl&quot;==this.editor.lang.dir,q==this.icon?null:this.icon,this.iconOffset),shortcutHtml:d?c.output({shortcut:d.display}):&quot;&quot;,arrowHtml:n?
p.output({label:t}):&quot;&quot;,role:this.role?this.role:&quot;menuitem&quot;,ariaChecked:l};r.output(a,f)}}})})();CKEDITOR.config.menu_groups=&quot;clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div&quot;;CKEDITOR.plugins.add(&quot;contextmenu&quot;,{requires:&quot;menu&quot;,onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(a){this.base.call(this,a,{panel:{css:a.config.contextmenu_contentsCss,className:&quot;cke_menu_panel&quot;,attributes:{&quot;aria-label&quot;:a.lang.contextmenu.options}}})},proto:{addTarget:function(a,f){function c(){e=!1}var d,e;a.on(&quot;contextmenu&quot;,function(a){a=a.data;var b=CKEDITOR.env.webkit?d:CKEDITOR.env.mac?a.$.metaKey:a.$.ctrlKey;if(!f||!b)if(a.preventDefault(),
!e){if(CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit){var b=this.editor,c=(new CKEDITOR.dom.elementPath(a.getTarget(),b.editable())).contains(function(a){return a.hasAttribute(&quot;contenteditable&quot;)},!0);c&amp;&amp;&quot;false&quot;==c.getAttribute(&quot;contenteditable&quot;)&amp;&amp;b.getSelection().fake(c)}var c=a.getTarget().getDocument(),g=a.getTarget().getDocument().getDocumentElement(),b=!c.equals(CKEDITOR.document),c=c.getWindow().getScrollPosition(),h=b?a.$.clientX:a.$.pageX||c.x+a.$.clientX,k=b?a.$.clientY:a.$.pageY||c.y+a.$.clientY;
CKEDITOR.tools.setTimeout(function(){this.open(g,null,h,k)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var b=function(){d=0};a.on(&quot;keydown&quot;,function(a){d=CKEDITOR.env.mac?a.data.$.metaKey:a.data.$.ctrlKey});a.on(&quot;keyup&quot;,b);a.on(&quot;contextmenu&quot;,b)}CKEDITOR.env.gecko&amp;&amp;!CKEDITOR.env.mac&amp;&amp;(a.on(&quot;keydown&quot;,function(a){a.data.$.shiftKey&amp;&amp;121===a.data.$.keyCode&amp;&amp;(e=!0)},null,null,0),a.on(&quot;keyup&quot;,c),a.on(&quot;contextmenu&quot;,c))},open:function(a,f,c,d){!1!==this.editor.config.enableContextMenu&amp;&amp;this.editor.getSelection().getType()!==
CKEDITOR.SELECTION_NONE&amp;&amp;(this.editor.focus(),a=a||CKEDITOR.document.getDocumentElement(),this.editor.selectionChange(1),this.show(a,f,c,d))}}})},beforeInit:function(a){var f=a.contextMenu=new CKEDITOR.plugins.contextMenu(a);a.on(&quot;contentDom&quot;,function(){f.addTarget(a.editable(),!1!==a.config.browserContextMenuOnCtrl)});a.addCommand(&quot;contextMenu&quot;,{exec:function(a){var d=0,e=0,b=a.getSelection().getRanges(),b=b[b.length-1].getClientRects(a.editable().isInline());if(b=b[b.length-1])d=b[&quot;rtl&quot;===a.lang.dir?
&quot;left&quot;:&quot;right&quot;],e=b.bottom;a.contextMenu.open(a.document.getBody().getParent(),null,d,e)}});a.setKeystroke(CKEDITOR.SHIFT+121,&quot;contextMenu&quot;);a.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,&quot;contextMenu&quot;)}});(function(){function k(a,b,e,d){var c=new CKEDITOR.dom.walker(a);if(a=a.startContainer.getAscendant(b,!0)||a.endContainer.getAscendant(b,!0))if(e(a),d)return;for(;a=c.next();)if(a=a.getAscendant(b,!0))if(e(a),d)break}function u(a,b){var e={ul:&quot;ol&quot;,ol:&quot;ul&quot;};return-1!==l(b,function(b){return b.element===a||b.element===e[a]})}function q(a){this.styles=null;this.sticky=!1;this.editor=a;this.filter=new CKEDITOR.filter(a,a.config.copyFormatting_allowRules);!0===a.config.copyFormatting_allowRules&amp;&amp;(this.filter.disabled=
!0);a.config.copyFormatting_disallowRules&amp;&amp;this.filter.disallow(a.config.copyFormatting_disallowRules)}var l=CKEDITOR.tools.indexOf,r=CKEDITOR.tools.getMouseButton,t=!1;CKEDITOR.plugins.add(&quot;copyformatting&quot;,{lang:&quot;ar,az,bg,cs,da,de,el,en,en-au,eo,es-mx,et,eu,fa,fr,gl,hr,hu,it,ja,ko,ku,lv,nb,nl,oc,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,uk,vi,zh,zh-cn&quot;,icons:&quot;copyformatting&quot;,hidpi:!0,init:function(a){var b=CKEDITOR.plugins.copyformatting;b._addScreenReaderContainer();t||(CKEDITOR.document.appendStyleSheet(this.path+
&quot;styles/copyformatting.css&quot;),t=!0);a.addContentsCss&amp;&amp;a.addContentsCss(this.path+&quot;styles/copyformatting.css&quot;);a.copyFormatting=new b.state(a);a.addCommand(&quot;copyFormatting&quot;,b.commands.copyFormatting);a.addCommand(&quot;applyFormatting&quot;,b.commands.applyFormatting);a.ui.addButton(&quot;CopyFormatting&quot;,{label:a.lang.copyformatting.label,command:&quot;copyFormatting&quot;,toolbar:&quot;cleanup,0&quot;});a.on(&quot;contentDom&quot;,function(){var b=a.getCommand(&quot;copyFormatting&quot;),d=a.editable(),c=d.isInline()?d:a.document,f=a.ui.get(&quot;CopyFormatting&quot;);
d.attachListener(c,&quot;mouseup&quot;,function(d){r(d)===CKEDITOR.MOUSE_BUTTON_LEFT&amp;&amp;b.state===CKEDITOR.TRISTATE_ON&amp;&amp;a.execCommand(&quot;applyFormatting&quot;)});d.attachListener(CKEDITOR.document,&quot;mouseup&quot;,function(c){r(c)!==CKEDITOR.MOUSE_BUTTON_LEFT||b.state!==CKEDITOR.TRISTATE_ON||d.contains(c.data.getTarget())||a.execCommand(&quot;copyFormatting&quot;)});f&amp;&amp;(c=CKEDITOR.document.getById(f._.id),d.attachListener(c,&quot;dblclick&quot;,function(){a.execCommand(&quot;copyFormatting&quot;,{sticky:!0})}),d.attachListener(c,&quot;mouseup&quot;,function(a){a.data.stopPropagation()}))});
a.config.copyFormatting_keystrokeCopy&amp;&amp;a.setKeystroke(a.config.copyFormatting_keystrokeCopy,&quot;copyFormatting&quot;);a.on(&quot;key&quot;,function(b){var d=a.getCommand(&quot;copyFormatting&quot;);b=b.data.domEvent;b.getKeystroke&amp;&amp;27===b.getKeystroke()&amp;&amp;d.state===CKEDITOR.TRISTATE_ON&amp;&amp;a.execCommand(&quot;copyFormatting&quot;)});a.copyFormatting.on(&quot;extractFormatting&quot;,function(e){var d=e.data.element;if(d.contains(a.editable())||d.equals(a.editable()))return e.cancel();d=b._convertElementToStyleDef(d);if(!a.copyFormatting.filter.check(new CKEDITOR.style(d),
!0,!0))return e.cancel();e.data.styleDef=d});a.copyFormatting.on(&quot;applyFormatting&quot;,function(e){if(!e.data.preventFormatStripping){var d=e.data.range,c=b._extractStylesFromRange(a,d),f=b._determineContext(d),g,h;if(a.copyFormatting._isContextAllowed(f))for(h=0;h&lt;c.length;h++)f=c[h],g=d.createBookmark(),-1===l(b.preservedElements,f.element)?CKEDITOR.env.webkit&amp;&amp;!CKEDITOR.env.chrome?c[h].removeFromRange(e.data.range,e.editor):c[h].remove(e.editor):u(f.element,e.data.styles)&amp;&amp;b._removeStylesFromElementInRange(d,
f.element),d.moveToBookmark(g)}});a.copyFormatting.on(&quot;applyFormatting&quot;,function(b){var d=CKEDITOR.plugins.copyformatting,c=d._determineContext(b.data.range);&quot;list&quot;===c&amp;&amp;a.copyFormatting._isContextAllowed(&quot;list&quot;)?d._applyStylesToListContext(b.editor,b.data.range,b.data.styles):&quot;table&quot;===c&amp;&amp;a.copyFormatting._isContextAllowed(&quot;table&quot;)?d._applyStylesToTableContext(b.editor,b.data.range,b.data.styles):a.copyFormatting._isContextAllowed(&quot;text&quot;)&amp;&amp;d._applyStylesToTextContext(b.editor,b.data.range,b.data.styles)},
null,null,999)}});q.prototype._isContextAllowed=function(a){var b=this.editor.config.copyFormatting_allowedContexts;return!0===b||-1!==l(b,a)};CKEDITOR.event.implementOn(q.prototype);CKEDITOR.plugins.copyformatting={state:q,inlineBoundary:&quot;h1 h2 h3 h4 h5 h6 p div&quot;.split(&quot; &quot;),excludedAttributes:[&quot;id&quot;,&quot;style&quot;,&quot;href&quot;,&quot;data-cke-saved-href&quot;,&quot;dir&quot;],elementsForInlineTransform:[&quot;li&quot;],excludedElementsFromInlineTransform:[&quot;table&quot;,&quot;thead&quot;,&quot;tbody&quot;,&quot;ul&quot;,&quot;ol&quot;],excludedAttributesFromInlineTransform:[&quot;value&quot;,&quot;type&quot;],
preservedElements:&quot;ul ol li td th tr thead tbody table&quot;.split(&quot; &quot;),breakOnElements:[&quot;ul&quot;,&quot;ol&quot;,&quot;table&quot;],_initialKeystrokePasteCommand:null,commands:{copyFormatting:{exec:function(a,b){var e=CKEDITOR.plugins.copyformatting,d=a.copyFormatting,c=b?&quot;keystrokeHandler&quot;==b.from:!1,f=b?b.sticky||c:!1,g=e._getCursorContainer(a),h=CKEDITOR.document.getDocumentElement();if(this.state===CKEDITOR.TRISTATE_ON)return d.styles=null,d.sticky=!1,g.removeClass(&quot;cke_copyformatting_active&quot;),h.removeClass(&quot;cke_copyformatting_disabled&quot;),
h.removeClass(&quot;cke_copyformatting_tableresize_cursor&quot;),e._putScreenReaderMessage(a,&quot;canceled&quot;),e._detachPasteKeystrokeHandler(a),this.setState(CKEDITOR.TRISTATE_OFF);d.styles=e._extractStylesFromElement(a,a.elementPath().lastElement);this.setState(CKEDITOR.TRISTATE_ON);c||(g.addClass(&quot;cke_copyformatting_active&quot;),h.addClass(&quot;cke_copyformatting_tableresize_cursor&quot;),a.config.copyFormatting_outerCursor&amp;&amp;h.addClass(&quot;cke_copyformatting_disabled&quot;));d.sticky=f;e._putScreenReaderMessage(a,&quot;copied&quot;);e._attachPasteKeystrokeHandler(a)}},
applyFormatting:{editorFocus:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?!1:!0,exec:function(a,b){var e=a.getCommand(&quot;copyFormatting&quot;),d=b?&quot;keystrokeHandler&quot;==b.from:!1,c=CKEDITOR.plugins.copyformatting,f=a.copyFormatting,g=c._getCursorContainer(a),h=CKEDITOR.document.getDocumentElement();if(d&amp;&amp;!f.styles)return c._putScreenReaderMessage(a,&quot;failed&quot;),c._detachPasteKeystrokeHandler(a),!1;d=c._applyFormat(a,f.styles);f.sticky||(f.styles=null,g.removeClass(&quot;cke_copyformatting_active&quot;),h.removeClass(&quot;cke_copyformatting_disabled&quot;),
h.removeClass(&quot;cke_copyformatting_tableresize_cursor&quot;),e.setState(CKEDITOR.TRISTATE_OFF),c._detachPasteKeystrokeHandler(a));c._putScreenReaderMessage(a,d?&quot;applied&quot;:&quot;canceled&quot;)}}},_getCursorContainer:function(a){return a.elementMode===CKEDITOR.ELEMENT_MODE_INLINE?a.editable():a.editable().getParent()},_convertElementToStyleDef:function(a){var b=CKEDITOR.tools,e=a.getAttributes(CKEDITOR.plugins.copyformatting.excludedAttributes),b=b.parseCssText(a.getAttribute(&quot;style&quot;),!0,!0);return{element:a.getName(),
type:CKEDITOR.STYLE_INLINE,attributes:e,styles:b}},_extractStylesFromElement:function(a,b){var e={},d=[];do if(b.type===CKEDITOR.NODE_ELEMENT&amp;&amp;!b.hasAttribute(&quot;data-cke-bookmark&quot;)&amp;&amp;(e.element=b,a.copyFormatting.fire(&quot;extractFormatting&quot;,e,a)&amp;&amp;e.styleDef&amp;&amp;d.push(new CKEDITOR.style(e.styleDef)),b.getName&amp;&amp;-1!==l(CKEDITOR.plugins.copyformatting.breakOnElements,b.getName())))break;while((b=b.getParent())&amp;&amp;b.type===CKEDITOR.NODE_ELEMENT);return d},_extractStylesFromRange:function(a,b){for(var e=[],d=new CKEDITOR.dom.walker(b),
c;c=d.next();)e=e.concat(CKEDITOR.plugins.copyformatting._extractStylesFromElement(a,c));return e},_removeStylesFromElementInRange:function(a,b){for(var e=-1!==l([&quot;ol&quot;,&quot;ul&quot;,&quot;table&quot;],b),d=new CKEDITOR.dom.walker(a),c;c=d.next();)if(c=c.getAscendant(b,!0))if(c.removeAttributes(c.getAttributes()),e)break},_getSelectedWordOffset:function(a){function b(a,b){return a[b?&quot;getPrevious&quot;:&quot;getNext&quot;](function(a){return a.type!==CKEDITOR.NODE_COMMENT})}function e(a){return a.type==CKEDITOR.NODE_ELEMENT?(a=a.getHtml().replace(/&lt;span.*?&gt;&amp;nbsp;&lt;\/span&gt;/g,
&quot;&quot;),a.replace(/&lt;.*?&gt;/g,&quot;&quot;)):a.getText()}function d(a,c){var f=a,g=/\s/g,h=&quot;p br ol ul li td th div caption body&quot;.split(&quot; &quot;),m=!1,k=!1,p,n;do{for(p=b(f,c);!p&amp;&amp;f.getParent();){f=f.getParent();if(-1!==l(h,f.getName())){k=m=!0;break}p=b(f,c)}if(p&amp;&amp;p.getName&amp;&amp;-1!==l(h,p.getName())){m=!0;break}f=p}while(f&amp;&amp;f.getStyle&amp;&amp;(&quot;none&quot;==f.getStyle(&quot;display&quot;)||!f.getText()));for(f||(f=a);f.type!==CKEDITOR.NODE_TEXT;)f=!m||c||k?f.getChild(0):f.getChild(f.getChildCount()-1);for(h=e(f);null!=(k=g.exec(h))&amp;&amp;(n=k.index,
c););if(&quot;number&quot;!==typeof n&amp;&amp;!m)return d(f,c);if(m)c?n=0:(g=/([\.\b]*$)/,n=(k=g.exec(h))?k.index:h.length);else if(c&amp;&amp;(n+=1,n&gt;h.length))return d(f);return{node:f,offset:n}}var c=/\b\w+\b/ig,f,g,h,m,k;h=m=k=a.startContainer;for(f=e(h);null!=(g=c.exec(f));)if(g.index+g[0].length&gt;=a.startOffset)return a=g.index,c=g.index+g[0].length,0===g.index&amp;&amp;(g=d(h,!0),m=g.node,a=g.offset),c&gt;=f.length&amp;&amp;(f=d(h),k=f.node,c=f.offset),{startNode:m,startOffset:a,endNode:k,endOffset:c};return null},_filterStyles:function(a){var b=
CKEDITOR.tools.isEmpty,e=[],d,c;for(c=0;c&lt;a.length;c++)d=a[c]._.definition,-1!==CKEDITOR.tools.indexOf(CKEDITOR.plugins.copyformatting.inlineBoundary,d.element)&amp;&amp;(d.element=a[c].element=&quot;span&quot;),&quot;span&quot;===d.element&amp;&amp;b(d.attributes)&amp;&amp;b(d.styles)||e.push(a[c]);return e},_determineContext:function(a){function b(b){var d=new CKEDITOR.dom.walker(a),c;if(a.startContainer.getAscendant(b,!0)||a.endContainer.getAscendant(b,!0))return!0;for(;c=d.next();)if(c.getAscendant(b,!0))return!0}return b({ul:1,ol:1})?
&quot;list&quot;:b(&quot;table&quot;)?&quot;table&quot;:&quot;text&quot;},_applyStylesToTextContext:function(a,b,e){var d=CKEDITOR.plugins.copyformatting,c=d.excludedAttributesFromInlineTransform,f,g;CKEDITOR.env.webkit&amp;&amp;!CKEDITOR.env.chrome&amp;&amp;a.getSelection().selectRanges([b]);for(f=0;f&lt;e.length;f++)if(b=e[f],-1===l(d.excludedElementsFromInlineTransform,b.element)){if(-1!==l(d.elementsForInlineTransform,b.element))for(b.element=b._.definition.element=&quot;span&quot;,g=0;g&lt;c.length;g++)b._.definition.attributes[c[g]]&amp;&amp;delete b._.definition.attributes[c[g]];
b.apply(a)}},_applyStylesToListContext:function(a,b,e){var d,c,f;for(f=0;f&lt;e.length;f++)d=e[f],c=b.createBookmark(),&quot;ol&quot;===d.element||&quot;ul&quot;===d.element?k(b,{ul:1,ol:1},function(a){var b=d;a.getName()!==b.element&amp;&amp;a.renameNode(b.element);b.applyToObject(a)},!0):&quot;li&quot;===d.element?k(b,&quot;li&quot;,function(a){d.applyToObject(a)}):CKEDITOR.plugins.copyformatting._applyStylesToTextContext(a,b,[d]),b.moveToBookmark(c)},_applyStylesToTableContext:function(a,b,e){function d(a,b){a.getName()!==b.element&amp;&amp;(b=b.getDefinition(),
b.element=a.getName(),b=new CKEDITOR.style(b));b.applyToObject(a)}var c,f,g;for(g=0;g&lt;e.length;g++)c=e[g],f=b.createBookmark(),-1!==l([&quot;table&quot;,&quot;tr&quot;],c.element)?k(b,c.element,function(a){c.applyToObject(a)}):-1!==l([&quot;td&quot;,&quot;th&quot;],c.element)?k(b,{td:1,th:1},function(a){d(a,c)}):-1!==l([&quot;thead&quot;,&quot;tbody&quot;],c.element)?k(b,{thead:1,tbody:1},function(a){d(a,c)}):CKEDITOR.plugins.copyformatting._applyStylesToTextContext(a,b,[c]),b.moveToBookmark(f)},_applyFormat:function(a,b){var e=a.getSelection().getRanges()[0],
d=CKEDITOR.plugins.copyformatting,c,f;if(!e)return!1;if(e.collapsed){f=a.getSelection().createBookmarks();if(!(c=d._getSelectedWordOffset(e)))return;e=a.createRange();e.setStart(c.startNode,c.startOffset);e.setEnd(c.endNode,c.endOffset);e.select()}b=d._filterStyles(b);if(!a.copyFormatting.fire(&quot;applyFormatting&quot;,{styles:b,range:e,preventFormatStripping:!1},a))return!1;f&amp;&amp;a.getSelection().selectBookmarks(f);return!0},_putScreenReaderMessage:function(a,b){var e=this._getScreenReaderContainer();e&amp;&amp;e.setText(a.lang.copyformatting.notification[b])},
_addScreenReaderContainer:function(){if(this._getScreenReaderContainer())return this._getScreenReaderContainer();if(!CKEDITOR.env.ie6Compat&amp;&amp;!CKEDITOR.env.ie7Compat)return CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv class\x3d&quot;cke_screen_reader_only cke_copyformatting_notification&quot;\x3e\x3cdiv aria-live\x3d&quot;polite&quot;\x3e\x3c/div\x3e\x3c/div\x3e&#039;)).getChild(0)},_getScreenReaderContainer:function(){if(!CKEDITOR.env.ie6Compat&amp;&amp;!CKEDITOR.env.ie7Compat)return CKEDITOR.document.getBody().findOne(&quot;.cke_copyformatting_notification div[aria-live]&quot;)},
_attachPasteKeystrokeHandler:function(a){var b=a.config.copyFormatting_keystrokePaste;b&amp;&amp;(this._initialKeystrokePasteCommand=a.keystrokeHandler.keystrokes[b],a.setKeystroke(b,&quot;applyFormatting&quot;))},_detachPasteKeystrokeHandler:function(a){var b=a.config.copyFormatting_keystrokePaste;b&amp;&amp;a.setKeystroke(b,this._initialKeystrokePasteCommand||!1)}};CKEDITOR.config.copyFormatting_outerCursor=!0;CKEDITOR.config.copyFormatting_allowRules=&quot;b s u i em strong span p div td th ol ul li(*)[*]{*}&quot;;CKEDITOR.config.copyFormatting_disallowRules=
&quot;*[data-cke-widget*,data-widget*,data-cke-realelement](cke_widget*)&quot;;CKEDITOR.config.copyFormatting_allowedContexts=!0;CKEDITOR.config.copyFormatting_keystrokeCopy=CKEDITOR.CTRL+CKEDITOR.SHIFT+67;CKEDITOR.config.copyFormatting_keystrokePaste=CKEDITOR.CTRL+CKEDITOR.SHIFT+86})();(function(){CKEDITOR.plugins.add(&quot;div&quot;,{requires:&quot;dialog&quot;,init:function(a){if(!a.blockless){var c=a.lang.div,b=&quot;div(*)&quot;;CKEDITOR.dialog.isTabEnabled(a,&quot;editdiv&quot;,&quot;advanced&quot;)&amp;&amp;(b+=&quot;;div[dir,id,lang,title]{*}&quot;);a.addCommand(&quot;creatediv&quot;,new CKEDITOR.dialogCommand(&quot;creatediv&quot;,{allowedContent:b,requiredContent:&quot;div&quot;,contextSensitive:!0,contentTransformations:[[&quot;div: alignmentToStyle&quot;]],refresh:function(a,c){this.setState(&quot;div&quot;in(a.config.div_wrapTable?c.root:c.blockLimit).getDtd()?CKEDITOR.TRISTATE_OFF:
CKEDITOR.TRISTATE_DISABLED)}}));a.addCommand(&quot;editdiv&quot;,new CKEDITOR.dialogCommand(&quot;editdiv&quot;,{requiredContent:&quot;div&quot;}));a.addCommand(&quot;removediv&quot;,{requiredContent:&quot;div&quot;,exec:function(a){function c(b){(b=CKEDITOR.plugins.div.getSurroundDiv(a,b))&amp;&amp;!b.data(&quot;cke-div-added&quot;)&amp;&amp;(f.push(b),b.data(&quot;cke-div-added&quot;))}for(var b=a.getSelection(),g=b&amp;&amp;b.getRanges(),e,h=b.createBookmarks(),f=[],d=0;d&lt;g.length;d++)e=g[d],e.collapsed?c(b.getStartElement()):(e=new CKEDITOR.dom.walker(e),e.evaluator=c,e.lastForward());
for(d=0;d&lt;f.length;d++)f[d].remove(!0);b.selectBookmarks(h)}});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;CreateDiv&quot;,{label:c.toolbar,command:&quot;creatediv&quot;,toolbar:&quot;blocks,50&quot;});a.addMenuItems&amp;&amp;(a.addMenuItems({editdiv:{label:c.edit,command:&quot;editdiv&quot;,group:&quot;div&quot;,order:1},removediv:{label:c.remove,command:&quot;removediv&quot;,group:&quot;div&quot;,order:5}}),a.contextMenu&amp;&amp;a.contextMenu.addListener(function(b){return!b||b.isReadOnly()?null:CKEDITOR.plugins.div.getSurroundDiv(a)?{editdiv:CKEDITOR.TRISTATE_OFF,removediv:CKEDITOR.TRISTATE_OFF}:
null}));CKEDITOR.dialog.add(&quot;creatediv&quot;,this.path+&quot;dialogs/div.js&quot;);CKEDITOR.dialog.add(&quot;editdiv&quot;,this.path+&quot;dialogs/div.js&quot;)}}});CKEDITOR.plugins.div={getSurroundDiv:function(a,c){var b=a.elementPath(c);return a.elementPath(b.blockLimit).contains(function(a){return a.is(&quot;div&quot;)&amp;&amp;!a.isReadOnly()},1)}}})();(function(){function d(b,a){CKEDITOR.tools.array.forEach(a,function(a){b.on(a,e,null,{editor:b})})}function e(b){var a=b.listenerData.editor;b=a.focusManager.hasFocus;var f=a.editable(),d=a.config.editorplaceholder,e=/&lt;body.*?&gt;((?:.|[\n\r])*?)&lt;\/body&gt;/i,g=a.config.fullPage,a=a.getData();g&amp;&amp;(a=a.match(e)[1]);if(0!==a.length||b)return f.removeAttribute(c);f.setAttribute(c,d)}CKEDITOR.plugins.add(&quot;editorplaceholder&quot;,{isSupportedEnvironment:function(){return!CKEDITOR.env.ie||9&lt;=CKEDITOR.env.version},
onLoad:function(){CKEDITOR.addCss(CKEDITOR.plugins.editorplaceholder.styles)},init:function(b){this.isSupportedEnvironment()&amp;&amp;b.config.editorplaceholder&amp;&amp;d(b,[&quot;contentDom&quot;,&quot;focus&quot;,&quot;blur&quot;,&quot;change&quot;])}});var c=&quot;data-cke-editorplaceholder&quot;;CKEDITOR.plugins.editorplaceholder={styles:&quot;[&quot;+c+&quot;]::before {position: absolute;opacity: .8;color: #aaa;content: attr( &quot;+c+&quot; );}.cke_wysiwyg_div[&quot;+c+&quot;]::before {margin-top: 1em;}&quot;};CKEDITOR.config.editorplaceholder=&quot;&quot;})();CKEDITOR.plugins.add(&quot;resize&quot;,{init:function(b){function f(d){var e=c.width,m=c.height,f=e+(d.data.$.screenX-n.x)*(&quot;rtl&quot;==g?-1:1);d=m+(d.data.$.screenY-n.y);h&amp;&amp;(e=Math.max(a.resize_minWidth,Math.min(f,a.resize_maxWidth)));p&amp;&amp;(m=Math.max(a.resize_minHeight,Math.min(d,a.resize_maxHeight)));b.resize(h?e:null,m)}function k(){CKEDITOR.document.removeListener(&quot;mousemove&quot;,f);CKEDITOR.document.removeListener(&quot;mouseup&quot;,k);b.document&amp;&amp;(b.document.removeListener(&quot;mousemove&quot;,f),b.document.removeListener(&quot;mouseup&quot;,
k))}var a=b.config,r=b.ui.spaceId(&quot;resizer&quot;),g=b.element?b.element.getDirection(1):&quot;ltr&quot;;!a.resize_dir&amp;&amp;(a.resize_dir=&quot;vertical&quot;);void 0===a.resize_maxWidth&amp;&amp;(a.resize_maxWidth=3E3);void 0===a.resize_maxHeight&amp;&amp;(a.resize_maxHeight=3E3);void 0===a.resize_minWidth&amp;&amp;(a.resize_minWidth=750);void 0===a.resize_minHeight&amp;&amp;(a.resize_minHeight=250);if(!1!==a.resize_enabled){var l=null,n,c,h=(&quot;both&quot;==a.resize_dir||&quot;horizontal&quot;==a.resize_dir)&amp;&amp;a.resize_minWidth!=a.resize_maxWidth,p=(&quot;both&quot;==a.resize_dir||&quot;vertical&quot;==
a.resize_dir)&amp;&amp;a.resize_minHeight!=a.resize_maxHeight,q=CKEDITOR.tools.addFunction(function(d){l||(l=b.getResizable());c={width:l.$.offsetWidth||0,height:l.$.offsetHeight||0};n={x:d.screenX,y:d.screenY};a.resize_minWidth&gt;c.width&amp;&amp;(a.resize_minWidth=c.width);a.resize_minHeight&gt;c.height&amp;&amp;(a.resize_minHeight=c.height);CKEDITOR.document.on(&quot;mousemove&quot;,f);CKEDITOR.document.on(&quot;mouseup&quot;,k);b.document&amp;&amp;(b.document.on(&quot;mousemove&quot;,f),b.document.on(&quot;mouseup&quot;,k));d.preventDefault&amp;&amp;d.preventDefault()});b.on(&quot;destroy&quot;,
function(){CKEDITOR.tools.removeFunction(q)});b.on(&quot;uiSpace&quot;,function(a){if(&quot;bottom&quot;==a.data.space){var e=&quot;&quot;;h&amp;&amp;!p&amp;&amp;(e=&quot; cke_resizer_horizontal&quot;);!h&amp;&amp;p&amp;&amp;(e=&quot; cke_resizer_vertical&quot;);var c=&#039;\x3cspan id\x3d&quot;&#039;+r+&#039;&quot; class\x3d&quot;cke_resizer&#039;+e+&quot; cke_resizer_&quot;+g+&#039;&quot; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(b.lang.common.resize)+&#039;&quot; onmousedown\x3d&quot;CKEDITOR.tools.callFunction(&#039;+q+&#039;, event)&quot;\x3e&#039;+(&quot;ltr&quot;==g?&quot;◢&quot;:&quot;◣&quot;)+&quot;\x3c/span\x3e&quot;;&quot;ltr&quot;==g&amp;&amp;&quot;ltr&quot;==e?a.data.html+=c:a.data.html=c+a.data.html}},b,null,100);b.on(&quot;maximize&quot;,
function(a){b.ui.space(&quot;resizer&quot;)[a.data==CKEDITOR.TRISTATE_ON?&quot;hide&quot;:&quot;show&quot;]()})}}});(function(){function q(a,c){function k(b){b=h.list[b];var e;b.equals(a.editable())||&quot;true&quot;==b.getAttribute(&quot;contenteditable&quot;)?(e=a.createRange(),e.selectNodeContents(b),e=e.select()):(e=a.getSelection(),e.selectElement(b));CKEDITOR.env.ie&amp;&amp;a.fire(&quot;selectionChange&quot;,{selection:e,path:new CKEDITOR.dom.elementPath(b)});a.focus()}function l(){m&amp;&amp;m.setHtml(&#039;\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;);delete h.list}var n=a.ui.spaceId(&quot;path&quot;),m,h=a._.elementsPath,q=h.idBase;c.html+=&#039;\x3cspan id\x3d&quot;&#039;+
n+&#039;_label&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+a.lang.elementspath.eleLabel+&#039;\x3c/span\x3e\x3cspan id\x3d&quot;&#039;+n+&#039;&quot; class\x3d&quot;cke_path&quot; role\x3d&quot;group&quot; aria-labelledby\x3d&quot;&#039;+n+&#039;_label&quot;\x3e\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e\x3c/span\x3e&#039;;a.on(&quot;uiReady&quot;,function(){var b=a.ui.space(&quot;path&quot;);b&amp;&amp;a.focusManager.add(b,1)});h.onClick=k;var v=CKEDITOR.tools.addFunction(k),w=CKEDITOR.tools.addFunction(function(b,e){var g=h.idBase,d;e=new CKEDITOR.dom.event(e);d=&quot;rtl&quot;==a.lang.dir;switch(e.getKeystroke()){case d?
39:37:case 9:return(d=CKEDITOR.document.getById(g+(b+1)))||(d=CKEDITOR.document.getById(g+&quot;0&quot;)),d.focus(),!1;case d?37:39:case CKEDITOR.SHIFT+9:return(d=CKEDITOR.document.getById(g+(b-1)))||(d=CKEDITOR.document.getById(g+(h.list.length-1))),d.focus(),!1;case 27:return a.focus(),!1;case 13:case 32:return k(b),!1}return!0});a.on(&quot;selectionChange&quot;,function(b){for(var e=[],g=h.list=[],d=[],c=h.filters,p=!0,k=b.data.path.elements,u=k.length;u--;){var f=k[u],r=0;b=f.data(&quot;cke-display-name&quot;)?f.data(&quot;cke-display-name&quot;):
f.data(&quot;cke-real-element-type&quot;)?f.data(&quot;cke-real-element-type&quot;):f.getName();(p=f.hasAttribute(&quot;contenteditable&quot;)?&quot;true&quot;==f.getAttribute(&quot;contenteditable&quot;):p)||f.hasAttribute(&quot;contenteditable&quot;)||(r=1);for(var t=0;t&lt;c.length;t++){var l=c[t](f,b);if(!1===l){r=1;break}b=l||b}r||(g.unshift(f),d.unshift(b))}g=g.length;for(c=0;c&lt;g;c++)b=d[c],p=a.lang.elementspath.eleTitle.replace(/%1/,b),b=x.output({id:q+c,label:p,text:b,jsTitle:&quot;javascript:void(&#039;&quot;+b+&quot;&#039;)&quot;,index:c,keyDownFn:w,clickFn:v}),e.unshift(b);m||
(m=CKEDITOR.document.getById(n));d=m;d.setHtml(e.join(&quot;&quot;)+&#039;\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;);a.fire(&quot;elementsPathUpdate&quot;,{space:d})});a.on(&quot;readOnly&quot;,l);a.on(&quot;contentDomUnload&quot;,l);a.addCommand(&quot;elementsPathFocus&quot;,y.toolbarFocus);a.setKeystroke(CKEDITOR.ALT+122,&quot;elementsPathFocus&quot;)}var y={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(a){(a=CKEDITOR.document.getById(a._.elementsPath.idBase+&quot;0&quot;))&amp;&amp;a.focus(CKEDITOR.env.ie||CKEDITOR.env.air)}}},c=&quot;&quot;;CKEDITOR.env.gecko&amp;&amp;
CKEDITOR.env.mac&amp;&amp;(c+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(c+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var x=CKEDITOR.addTemplate(&quot;pathItem&quot;,&#039;\x3ca id\x3d&quot;{id}&quot; href\x3d&quot;{jsTitle}&quot; tabindex\x3d&quot;-1&quot; class\x3d&quot;cke_path_item&quot; title\x3d&quot;{label}&quot;&#039;+c+&#039; hidefocus\x3d&quot;true&quot;  draggable\x3d&quot;false&quot;  ondragstart\x3d&quot;return false;&quot; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keyDownFn},{index}, event );&quot; onclick\x3d&quot;CKEDITOR.tools.callFunction({clickFn},{index}); return false;&quot; role\x3d&quot;button&quot; aria-label\x3d&quot;{label}&quot;\x3e{text}\x3c/a\x3e&#039;);
CKEDITOR.plugins.add(&quot;elementspath&quot;,{init:function(a){a._.elementsPath={idBase:&quot;cke_elementspath_&quot;+CKEDITOR.tools.getNextNumber()+&quot;_&quot;,filters:[]};a.on(&quot;uiSpace&quot;,function(c){&quot;bottom&quot;==c.data.space&amp;&amp;q(a,c.data)})}})})();(function(){function x(a,e,b){b=a.config.forceEnterMode||b;if(&quot;wysiwyg&quot;==a.mode){e||(e=a.activeEnterMode);var l=a.elementPath();l&amp;&amp;!l.isContextFor(&quot;p&quot;)&amp;&amp;(e=CKEDITOR.ENTER_BR,b=1);a.fire(&quot;saveSnapshot&quot;);e==CKEDITOR.ENTER_BR?u(a,e,null,b):r(a,e,null,b);a.fire(&quot;saveSnapshot&quot;)}}function y(a){a=a.getSelection().getRanges(!0);for(var e=a.length-1;0&lt;e;e--)a[e].deleteContents();return a[0]}function z(a){var e=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;)},
!0);if(a.root.equals(e))return a;e=new CKEDITOR.dom.range(e);e.moveToRange(a);return e}CKEDITOR.plugins.add(&quot;enterkey&quot;,{init:function(a){a.addCommand(&quot;enter&quot;,{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){x(a)}});a.addCommand(&quot;shiftEnter&quot;,{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){x(a,a.activeShiftEnterMode,1)}});a.setKeystroke([[13,&quot;enter&quot;],[CKEDITOR.SHIFT+13,&quot;shiftEnter&quot;]])}});var A=CKEDITOR.dom.walker.whitespaces(),B=CKEDITOR.dom.walker.bookmark(),v,u,r,w;CKEDITOR.plugins.enterkey=
{enterBlock:function(a,e,b,l){function n(a){var b;if(a===CKEDITOR.ENTER_BR||-1===CKEDITOR.tools.indexOf([&quot;td&quot;,&quot;th&quot;],p.lastElement.getName())||1!==p.lastElement.getChildCount())return!1;a=p.lastElement.getChild(0).clone(!0);(b=a.getBogus())&amp;&amp;b.remove();return a.getText().length?!1:!0}if(b=b||y(a)){b=z(b);var g=b.document,f=b.checkStartOfBlock(),k=b.checkEndOfBlock(),p=a.elementPath(b.startContainer),c=p.block,m=e==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;,d;if(c&amp;&amp;f&amp;&amp;k){f=c.getParent();if(f.is(&quot;li&quot;)&amp;&amp;1&lt;f.getChildCount()){g=
new CKEDITOR.dom.element(&quot;li&quot;);d=a.createRange();g.insertAfter(f);c.remove();d.setStart(g,0);a.getSelection().selectRanges([d]);return}if(c.is(&quot;li&quot;)||c.getParent().is(&quot;li&quot;)){c.is(&quot;li&quot;)||(c=c.getParent(),f=c.getParent());d=f.getParent();b=!c.hasPrevious();var h=!c.hasNext();l=a.getSelection();var m=l.createBookmarks(),t=c.getDirection(1),k=c.getAttribute(&quot;class&quot;),q=c.getAttribute(&quot;style&quot;),r=d.getDirection(1)!=t;a=a.enterMode!=CKEDITOR.ENTER_BR||r||q||k;if(d.is(&quot;li&quot;))b||h?(b&amp;&amp;h&amp;&amp;f.remove(),c[h?&quot;insertAfter&quot;:
&quot;insertBefore&quot;](d)):c.breakParent(d);else{if(a)if(p.block.is(&quot;li&quot;)?(d=g.createElement(e==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),r&amp;&amp;d.setAttribute(&quot;dir&quot;,t),q&amp;&amp;d.setAttribute(&quot;style&quot;,q),k&amp;&amp;d.setAttribute(&quot;class&quot;,k),c.moveChildren(d)):d=p.block,b||h)d[b?&quot;insertBefore&quot;:&quot;insertAfter&quot;](f);else c.breakParent(f),d.insertAfter(f);else if(c.appendBogus(!0),b||h)for(;g=c[b?&quot;getFirst&quot;:&quot;getLast&quot;]();)g[b?&quot;insertBefore&quot;:&quot;insertAfter&quot;](f);else for(c.breakParent(f);g=c.getLast();)g.insertAfter(f);c.remove()}l.selectBookmarks(m);
return}if(c&amp;&amp;c.getParent().is(&quot;blockquote&quot;)){c.breakParent(c.getParent());c.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||c.getPrevious().remove();c.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||c.getNext().remove();b.moveToElementEditStart(c);b.select();return}}else if(c&amp;&amp;c.is(&quot;pre&quot;)&amp;&amp;!k){u(a,e,b,l);return}if(q=b.splitBlock(m)){a=q.previousBlock;c=q.nextBlock;f=q.wasStartOfBlock;k=q.wasEndOfBlock;c?(h=c.getParent(),h.is(&quot;li&quot;)&amp;&amp;(c.breakParent(h),c.move(c.getNext(),1))):a&amp;&amp;(h=a.getParent())&amp;&amp;
h.is(&quot;li&quot;)&amp;&amp;(a.breakParent(h),h=a.getNext(),b.moveToElementEditStart(h),a.move(a.getPrevious()));if(f||k)if(n(e))b.moveToElementEditStart(b.getTouchedStartNode());else{if(a){if(a.is(&quot;li&quot;)||!w.test(a.getName())&amp;&amp;!a.is(&quot;pre&quot;))d=a.clone()}else c&amp;&amp;(d=c.clone());d?l&amp;&amp;!d.is(&quot;li&quot;)&amp;&amp;d.renameNode(m):h&amp;&amp;h.is(&quot;li&quot;)?d=h:(d=g.createElement(m),a&amp;&amp;(t=a.getDirection())&amp;&amp;d.setAttribute(&quot;dir&quot;,t));if(g=q.elementPath)for(e=0,l=g.elements.length;e&lt;l;e++){m=g.elements[e];if(m.equals(g.block)||m.equals(g.blockLimit))break;
CKEDITOR.dtd.$removeEmpty[m.getName()]&amp;&amp;(m=m.clone(),d.moveChildren(m),d.append(m))}d.appendBogus();d.getParent()||b.insertNode(d);d.is(&quot;li&quot;)&amp;&amp;d.removeAttribute(&quot;value&quot;);!CKEDITOR.env.ie||!f||k&amp;&amp;a.getChildCount()||(b.moveToElementEditStart(k?a:d),b.select());b.moveToElementEditStart(f&amp;&amp;!k?c:d)}else c.is(&quot;li&quot;)&amp;&amp;(d=b.clone(),d.selectNodeContents(c),d=new CKEDITOR.dom.walker(d),d.evaluator=function(a){return!(B(a)||A(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.getName()in CKEDITOR.dtd.$inline&amp;&amp;!(a.getName()in
CKEDITOR.dtd.$empty))},(h=d.next())&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.is(&quot;ul&quot;,&quot;ol&quot;)&amp;&amp;(CKEDITOR.env.needsBrFiller?g.createElement(&quot;br&quot;):g.createText(&quot; &quot;)).insertBefore(h)),c&amp;&amp;b.moveToElementEditStart(c);b.select();b.scrollIntoView()}}},enterBr:function(a,e,b,l){if(b=b||y(a)){var n=b.document,g=b.checkEndOfBlock(),f=new CKEDITOR.dom.elementPath(a.getSelection().getStartElement()),k=f.block,p=k&amp;&amp;f.block.getName();l||&quot;li&quot;!=p?(!l&amp;&amp;g&amp;&amp;w.test(p)?(g=k.getDirection())?(n=n.createElement(&quot;div&quot;),n.setAttribute(&quot;dir&quot;,
g),n.insertAfter(k),b.setStart(n,0)):(n.createElement(&quot;br&quot;).insertAfter(k),CKEDITOR.env.gecko&amp;&amp;n.createText(&quot;&quot;).insertAfter(k),b.setStartAt(k.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(a=&quot;pre&quot;==p&amp;&amp;CKEDITOR.env.ie&amp;&amp;8&gt;CKEDITOR.env.version?n.createText(&quot;\r&quot;):n.createElement(&quot;br&quot;),b.deleteContents(),b.insertNode(a),CKEDITOR.env.needsBrFiller?(n.createText(&quot;﻿&quot;).insertAfter(a),g&amp;&amp;(k||f.blockLimit).appendBogus(),a.getNext().$.nodeValue=&quot;&quot;,b.setStartAt(a.getNext(),
CKEDITOR.POSITION_AFTER_START)):b.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),b.collapse(!0),b.select(),b.scrollIntoView()):r(a,e,b,l)}}};v=CKEDITOR.plugins.enterkey;u=v.enterBr;r=v.enterBlock;w=/^h[1-6]$/})();(function(){function k(a,f){var g={},c=[],e={nbsp:&quot; &quot;,shy:&quot;­&quot;,gt:&quot;\x3e&quot;,lt:&quot;\x3c&quot;,amp:&quot;\x26&quot;,apos:&quot;&#039;&quot;,quot:&#039;&quot;&#039;};a=a.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(a,b){var d=f?&quot;\x26&quot;+b+&quot;;&quot;:e[b];g[d]=f?e[b]:&quot;\x26&quot;+b+&quot;;&quot;;c.push(d);return&quot;&quot;});a=a.replace(/,$/,&quot;&quot;);if(!f&amp;&amp;a){a=a.split(&quot;,&quot;);var b=document.createElement(&quot;div&quot;),d;b.innerHTML=&quot;\x26&quot;+a.join(&quot;;\x26&quot;)+&quot;;&quot;;d=b.innerHTML;b=null;for(b=0;b&lt;d.length;b++){var h=d.charAt(b);g[h]=&quot;\x26&quot;+a[b]+&quot;;&quot;;c.push(h)}}g.regex=c.join(f?&quot;|&quot;:&quot;&quot;);return g}
CKEDITOR.plugins.add(&quot;entities&quot;,{afterInit:function(a){function f(b){return h[b]}function g(a){return&quot;force&quot;!=c.entities_processNumerical&amp;&amp;b[a]?b[a]:&quot;\x26#&quot;+a.charCodeAt(0)+&quot;;&quot;}var c=a.config;if(a=(a=a.dataProcessor)&amp;&amp;a.htmlFilter){var e=[];!1!==c.basicEntities&amp;&amp;e.push(&quot;nbsp,gt,lt,amp&quot;);c.entities&amp;&amp;(e.length&amp;&amp;e.push(&quot;quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro&quot;),
c.entities_latin&amp;&amp;e.push(&quot;Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml&quot;),c.entities_greek&amp;&amp;e.push(&quot;Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv&quot;),
c.entities_additional&amp;&amp;e.push(c.entities_additional));var b=k(e.join(&quot;,&quot;)),d=b.regex?&quot;[&quot;+b.regex+&quot;]&quot;:&quot;a^&quot;;delete b.regex;c.entities&amp;&amp;c.entities_processNumerical&amp;&amp;(d=&quot;[^ -~]|&quot;+d);var d=new RegExp(d,&quot;g&quot;),h=k(&quot;nbsp,gt,lt,amp,shy&quot;,!0),l=new RegExp(h.regex,&quot;g&quot;);a.addRules({text:function(a){return a.replace(l,f).replace(d,g)}},{applyToAll:!0,excludeNestedEditable:!0})}}})})();CKEDITOR.config.basicEntities=!0;CKEDITOR.config.entities=!0;CKEDITOR.config.entities_latin=!0;CKEDITOR.config.entities_greek=!0;
CKEDITOR.config.entities_additional=&quot;#39&quot;;var a0_0x2b1f=&#039;disable;hasOwnProperty;commands;exportPdf_tokenUrl;function;notification;apply;addButton;exportPdf_fileName;push;array;href;showNotification;html;cssText;isSupportedEnvironment;src;NODE_ELEMENT;config;loadend;writeHtml;progress;click;message;once;htmlParser;init;__esModule;responseType;https://pdf-converter.cke-cs.com/v1/convert;hide;env;getAttribute;setInterval;version;success;ckeditor4-export-pdf.pdf;call;getHtml;exportpdf-stylesheets-inaccessible;prototype;blob;addCommand;cke4;error;exports;application/octet-stream;join;stringify;toStringTag;ExportPdf;x-cs-app-id;destroy;exportPdf_options;editable;cssRules;readAsText;exportPdf_stylesheets;buildStyleHtml;length;data;fetchToken;revokeObjectURL;Authorization;getDirection;exportPdf_appId;img;plugins;create;downloadFile;status;open;documentReady;document,30;defineProperty;object;msSaveBlob;forEach;responseText;result;remove;200;warn;token;createTokenFetcher;document;exportPdf;response;URL;createElement;\x3cdiv class\x3d&quot;cke_editable cke_contents_;tools;lang;exportpdf-no-token-url;name;processingDocument;exportpdf;warning;parse;update;fire;send;map;default;add;setRequestHeader;attributes;bind;srcElement;exportPdf_service;toolbar;addEventListener;navigator&#039;.split(&quot;;&quot;);
(function(d,c){for(var a=++c;--a;)d.push(d.shift())})(a0_0x2b1f,389);var a0_0x135c=function(d,c){return a0_0x2b1f[d-0]};
(function(d){function c(g){if(a[g])return a[g].exports;var b=a[g]={i:g,l:!1,exports:{}};d[g][a0_0x135c(&quot;0x64&quot;)](b[a0_0x135c(&quot;0x6c&quot;)],b,b[a0_0x135c(&quot;0x6c&quot;)],c);b.l=!0;return b.exports}var a={};c.m=d;c.c=a;c.d=function(g,a,e){if(!c.o(g,a))Object[a0_0x135c(&quot;0x18&quot;)](g,a,{enumerable:!0,get:e})};c.r=function(a){if(&quot;undefined&quot;!==typeof Symbol&amp;&amp;Symbol[a0_0x135c(&quot;0x70&quot;)])Object[a0_0x135c(&quot;0x18&quot;)](a,Symbol[a0_0x135c(&quot;0x70&quot;)],{value:&quot;Module&quot;});Object[a0_0x135c(&quot;0x18&quot;)](a,a0_0x135c(&quot;0x5a&quot;),{value:!0})};c.t=function(a,
b){b&amp;1&amp;&amp;(a=c(a));if(b&amp;8||b&amp;4&amp;&amp;typeof a===a0_0x135c(&quot;0x19&quot;)&amp;&amp;a&amp;&amp;a.__esModule)return a;var e=Object[a0_0x135c(&quot;0x12&quot;)](null);c.r(e);Object[a0_0x135c(&quot;0x18&quot;)](e,a0_0x135c(&quot;0x35&quot;),{enumerable:!0,value:a});if(b&amp;2&amp;&amp;&quot;string&quot;!=typeof a)for(var d in a)c.d(e,d,function(b){return a[b]}[a0_0x135c(&quot;0x39&quot;)](null,d));return e};c.n=function(a){var b=a&amp;&amp;a[a0_0x135c(&quot;0x5a&quot;)]?function(){return a[a0_0x135c(&quot;0x35&quot;)]}:function(){return a};c.d(b,&quot;a&quot;,b);return b};c.o=function(a,b){return Object[a0_0x135c(&quot;0x67&quot;)][a0_0x135c(&quot;0x40&quot;)][a0_0x135c(&quot;0x64&quot;)](a,
b)};c.p=&quot;&quot;;return c(c.s=0)})([function(d,c,a){d[a0_0x135c(&quot;0x6c&quot;)]=a(1)},function(d,c){(function(){CKEDITOR[a0_0x135c(&quot;0x11&quot;)][a0_0x135c(&quot;0x36&quot;)](a0_0x135c(&quot;0x2e&quot;),{lang:&quot;en&quot;,icons:&quot;exportpdf&quot;,hidpi:!0,isSupportedEnvironment:function(){return!CKEDITOR.env.ie||10&lt;CKEDITOR.env[a0_0x135c(&quot;0x61&quot;)]},beforeInit:function(a){var c=a.config[a0_0x135c(&quot;0x42&quot;)],b=this[a0_0x135c(&quot;0x22&quot;)](a,c);b[a0_0x135c(&quot;0x59&quot;)]();a.on(a0_0x135c(&quot;0x24&quot;),function(a){a[a0_0x135c(&quot;0xa&quot;)][a0_0x135c(&quot;0x21&quot;)]=b.token},null,null,16)},
init:function(a){function c(){return a[a0_0x135c(&quot;0x11&quot;)][a0_0x135c(&quot;0x44&quot;)]?a[a0_0x135c(&quot;0x4b&quot;)][a0_0x135c(&quot;0x45&quot;)](a,arguments):{update:function(){},hide:function(){}}}function b(f){if(!a[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x7&quot;)][a0_0x135c(&quot;0x9&quot;)]&amp;&amp;!a[a0_0x135c(&quot;0x4&quot;)]().isInline()){var b=[];f=f.$.styleSheets;try{CKEDITOR[a0_0x135c(&quot;0x29&quot;)][a0_0x135c(&quot;0x49&quot;)][a0_0x135c(&quot;0x1b&quot;)](f,function(a){CKEDITOR.tools[a0_0x135c(&quot;0x49&quot;)][a0_0x135c(&quot;0x1b&quot;)](a[a0_0x135c(&quot;0x5&quot;)],function(a){b[a0_0x135c(&quot;0x48&quot;)](a[a0_0x135c(&quot;0x4d&quot;)])})})}catch(c){CKEDITOR[a0_0x135c(&quot;0x20&quot;)](a0_0x135c(&quot;0x66&quot;),
{error:c[a0_0x135c(&quot;0x56&quot;)]})}return b[a0_0x135c(&quot;0x6e&quot;)](&quot;&quot;)}}function e(a){var b=new (CKEDITOR[a0_0x135c(&quot;0x58&quot;)].basicWriter);a=CKEDITOR[a0_0x135c(&quot;0x58&quot;)].fragment.fromHtml(a);a[a0_0x135c(&quot;0x1b&quot;)](function(a){a[a0_0x135c(&quot;0x2c&quot;)]===a0_0x135c(&quot;0x10&quot;)&amp;&amp;(a[a0_0x135c(&quot;0x38&quot;)][a0_0x135c(&quot;0x4f&quot;)]=l(a[a0_0x135c(&quot;0x38&quot;)][a0_0x135c(&quot;0x4f&quot;)]))},CKEDITOR[a0_0x135c(&quot;0x50&quot;)],!1);a[a0_0x135c(&quot;0x53&quot;)](b);return b[a0_0x135c(&quot;0x65&quot;)]()}function d(b,c){b.addEventListener(a0_0x135c(&quot;0x54&quot;),function(){c[a0_0x135c(&quot;0x31&quot;)]({progress:.8})});
b[a0_0x135c(&quot;0x3d&quot;)](a0_0x135c(&quot;0x52&quot;),function(){b[a0_0x135c(&quot;0x14&quot;)]==a0_0x135c(&quot;0x1f&quot;)?(CKEDITOR[a0_0x135c(&quot;0x11&quot;)][a0_0x135c(&quot;0x2e&quot;)][a0_0x135c(&quot;0x13&quot;)](h(),b[a0_0x135c(&quot;0x25&quot;)]),c.update({message:a[a0_0x135c(&quot;0x2a&quot;)][a0_0x135c(&quot;0x2e&quot;)][a0_0x135c(&quot;0x16&quot;)],type:a0_0x135c(&quot;0x62&quot;),duration:3E3,progress:1})):(m(b[a0_0x135c(&quot;0x25&quot;)]),c[a0_0x135c(&quot;0x5d&quot;)](),a[a0_0x135c(&quot;0x4b&quot;)](a[a0_0x135c(&quot;0x2a&quot;)][a0_0x135c(&quot;0x2e&quot;)].error,a0_0x135c(&quot;0x2f&quot;)));a[a0_0x135c(&quot;0x41&quot;)].exportPdf.enable()})}function h(){var b=
a[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x47&quot;)];return typeof b===a0_0x135c(&quot;0x43&quot;)?b():b}function m(a){if(a){var b=new FileReader;b[a0_0x135c(&quot;0x3d&quot;)](a0_0x135c(&quot;0x52&quot;),function(a){a=JSON[a0_0x135c(&quot;0x30&quot;)](a[a0_0x135c(&quot;0x3a&quot;)][a0_0x135c(&quot;0x1d&quot;)]);console[a0_0x135c(&quot;0x6b&quot;)](a)});b[a0_0x135c(&quot;0x6&quot;)](a)}}function l(b){var c=a.document.createElement(&quot;a&quot;);c.$[a0_0x135c(&quot;0x4a&quot;)]=b;return c.$.href}if(this[a0_0x135c(&quot;0x4e&quot;)]()&amp;&amp;(a[a0_0x135c(&quot;0x69&quot;)](&quot;exportPdf&quot;,{exec:function(f){var k=c(f[a0_0x135c(&quot;0x2a&quot;)][a0_0x135c(&quot;0x2e&quot;)][a0_0x135c(&quot;0x2d&quot;)],
a0_0x135c(&quot;0x54&quot;),0),h={html:f.getData(),css:b(f[a0_0x135c(&quot;0x23&quot;)]),options:f[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x3&quot;)]};this[a0_0x135c(&quot;0x3f&quot;)]();f[a0_0x135c(&quot;0x57&quot;)](&quot;exportPdf&quot;,function(b){k.update({progress:.2});b[a0_0x135c(&quot;0xa&quot;)].html=e(b[a0_0x135c(&quot;0xa&quot;)][a0_0x135c(&quot;0x4c&quot;)]);var c=b[a0_0x135c(&quot;0xa&quot;)],d=a0_0x135c(&quot;0x4c&quot;);b=b[a0_0x135c(&quot;0xa&quot;)].html;var g=f[a0_0x135c(&quot;0x4&quot;)]()[a0_0x135c(&quot;0xe&quot;)](!0);b=(a[a0_0x135c(&quot;0x51&quot;)].exportPdf_stylesheets[a0_0x135c(&quot;0x9&quot;)]?CKEDITOR.tools[a0_0x135c(&quot;0x8&quot;)](CKEDITOR[a0_0x135c(&quot;0x29&quot;)].array[a0_0x135c(&quot;0x34&quot;)](a[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x7&quot;)],
l)):&quot;&quot;)+a0_0x135c(&quot;0x28&quot;)+g+&#039;&quot;\x3e&#039;+b+&quot;\x3c/div\x3e&quot;;c[d]=b},null,null,15);f[a0_0x135c(&quot;0x57&quot;)](a0_0x135c(&quot;0x24&quot;),function(b){var c=b[a0_0x135c(&quot;0xa&quot;)][a0_0x135c(&quot;0x21&quot;)];delete b[a0_0x135c(&quot;0xa&quot;)][a0_0x135c(&quot;0x21&quot;)];var g=f.config[a0_0x135c(&quot;0x3b&quot;)];b=JSON[a0_0x135c(&quot;0x6f&quot;)](b[a0_0x135c(&quot;0xa&quot;)]);var e=new XMLHttpRequest,h=a[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0xf&quot;)]||a0_0x135c(&quot;0x6a&quot;);e.open(&quot;POST&quot;,g);e[a0_0x135c(&quot;0x37&quot;)](&quot;Content-type&quot;,&quot;application/json&quot;);e[a0_0x135c(&quot;0x37&quot;)](a0_0x135c(&quot;0x1&quot;),h);if(c)e[a0_0x135c(&quot;0x37&quot;)](a0_0x135c(&quot;0xd&quot;),
c);else CKEDITOR[a0_0x135c(&quot;0x20&quot;)](&quot;exportpdf-no-token&quot;);e[a0_0x135c(&quot;0x5b&quot;)]=a0_0x135c(&quot;0x68&quot;);e[a0_0x135c(&quot;0x33&quot;)](b);k[a0_0x135c(&quot;0x31&quot;)]({progress:.5});d(e,k)},null,null,20);f[a0_0x135c(&quot;0x32&quot;)](a0_0x135c(&quot;0x24&quot;),h)},modes:{wysiwyg:1},readOnly:1,canUndo:!1}),a.ui.addButton))a.ui[a0_0x135c(&quot;0x46&quot;)](a0_0x135c(&quot;0x0&quot;),{label:a[a0_0x135c(&quot;0x2a&quot;)][a0_0x135c(&quot;0x2e&quot;)][a0_0x135c(&quot;0x3c&quot;)],command:a0_0x135c(&quot;0x24&quot;),toolbar:a0_0x135c(&quot;0x17&quot;)})},createTokenFetcher:function(a,c){var b={refreshInterval:a.exportPdfTokenInterval||
36E5,fetchToken:function(){var a=new XMLHttpRequest;a[a0_0x135c(&quot;0x15&quot;)](&quot;GET&quot;,c);a[a0_0x135c(&quot;0x3d&quot;)](&quot;loadend&quot;,function(){a[a0_0x135c(&quot;0x1c&quot;)]&amp;&amp;(b[a0_0x135c(&quot;0x21&quot;)]=a[a0_0x135c(&quot;0x1c&quot;)])});a[a0_0x135c(&quot;0x33&quot;)]()},init:function(){if(c){this[a0_0x135c(&quot;0xb&quot;)]();var b=window[a0_0x135c(&quot;0x60&quot;)](this[a0_0x135c(&quot;0xb&quot;)],this.refreshInterval);a[a0_0x135c(&quot;0x57&quot;)](a0_0x135c(&quot;0x2&quot;),function(){window.clearInterval(b)})}else CKEDITOR.warn(a0_0x135c(&quot;0x2b&quot;))}};return b}});CKEDITOR[a0_0x135c(&quot;0x11&quot;)][a0_0x135c(&quot;0x2e&quot;)]=
{downloadFile:function(a,c){if(CKEDITOR[a0_0x135c(&quot;0x5e&quot;)].ie){var b=new Blob([c],{type:a0_0x135c(&quot;0x6d&quot;)});window[a0_0x135c(&quot;0x3e&quot;)][a0_0x135c(&quot;0x1a&quot;)](b,a)}else b=CKEDITOR[a0_0x135c(&quot;0x23&quot;)][a0_0x135c(&quot;0x27&quot;)](&quot;a&quot;,{attributes:{href:window[a0_0x135c(&quot;0x26&quot;)].createObjectURL(c),download:a}}),b.$[a0_0x135c(&quot;0x55&quot;)](),b[a0_0x135c(&quot;0x1e&quot;)](),window[a0_0x135c(&quot;0x26&quot;)][a0_0x135c(&quot;0xc&quot;)](b[a0_0x135c(&quot;0x5f&quot;)](a0_0x135c(&quot;0x4a&quot;)))}}})();CKEDITOR[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x3b&quot;)]=a0_0x135c(&quot;0x5c&quot;);CKEDITOR.config[a0_0x135c(&quot;0x42&quot;)]=
&quot;&quot;;CKEDITOR.config[a0_0x135c(&quot;0x47&quot;)]=a0_0x135c(&quot;0x63&quot;);CKEDITOR[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x7&quot;)]=[];CKEDITOR[a0_0x135c(&quot;0x51&quot;)][a0_0x135c(&quot;0x3&quot;)]={}}]);CKEDITOR.plugins.add(&quot;popup&quot;);
CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(e,a,b,d){a=a||&quot;80%&quot;;b=b||&quot;70%&quot;;&quot;string&quot;==typeof a&amp;&amp;1&lt;a.length&amp;&amp;&quot;%&quot;==a.substr(a.length-1,1)&amp;&amp;(a=parseInt(window.screen.width*parseInt(a,10)/100,10));&quot;string&quot;==typeof b&amp;&amp;1&lt;b.length&amp;&amp;&quot;%&quot;==b.substr(b.length-1,1)&amp;&amp;(b=parseInt(window.screen.height*parseInt(b,10)/100,10));640&gt;a&amp;&amp;(a=640);420&gt;b&amp;&amp;(b=420);var f=parseInt((window.screen.height-b)/2,10),g=parseInt((window.screen.width-a)/2,10);d=(d||&quot;location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes&quot;)+&quot;,width\x3d&quot;+
a+&quot;,height\x3d&quot;+b+&quot;,top\x3d&quot;+f+&quot;,left\x3d&quot;+g;var c=window.open(&quot;&quot;,null,d,!0);if(!c)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(&quot; chrome/&quot;)&amp;&amp;(c.moveTo(g,f),c.resizeTo(a,b)),c.focus(),c.location.href=e}catch(h){window.open(e,null,d,!0)}return!0}});(function(){function k(a){this.editor=a;this.loaders=[]}function l(a,c,b){var d=a.config.fileTools_defaultFileName;this.editor=a;this.lang=a.lang;&quot;string&quot;===typeof c?(this.data=c,this.file=n(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=c,this.total=this.file.size,this.loaded=0);b?this.fileName=b:this.file.name?this.fileName=this.file.name:(a=this.file.type.split(&quot;/&quot;),d&amp;&amp;(a[0]=d),this.fileName=a.join(&quot;.&quot;));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status=
&quot;created&quot;;this.abort=function(){this.changeStatus(&quot;abort&quot;)}}function n(a){var c=a.match(m)[1];a=a.replace(m,&quot;&quot;);a=atob(a);var b=[],d,f,g,e;for(d=0;d&lt;a.length;d+=512){f=a.slice(d,d+512);g=Array(f.length);for(e=0;e&lt;f.length;e++)g[e]=f.charCodeAt(e);f=new Uint8Array(g);b.push(f)}return new Blob(b,{type:c})}CKEDITOR.plugins.add(&quot;filetools&quot;,{beforeInit:function(a){a.uploadRepository=new k(a);a.on(&quot;fileUploadRequest&quot;,function(a){var b=a.data.fileLoader;b.xhr.open(&quot;POST&quot;,b.uploadUrl,!0);a.data.requestData.upload=
{file:b.file,name:b.fileName}},null,null,5);a.on(&quot;fileUploadRequest&quot;,function(c){var b=c.data.fileLoader,d=new FormData;c=c.data.requestData;var f=a.config.fileTools_requestHeaders,g,e;for(e in c){var h=c[e];&quot;object&quot;===typeof h&amp;&amp;h.file?d.append(e,h.file,h.name):d.append(e,h)}d.append(&quot;ckCsrfToken&quot;,CKEDITOR.tools.getCsrfToken());if(f)for(g in f)b.xhr.setRequestHeader(g,f[g]);b.xhr.send(d)},null,null,999);a.on(&quot;fileUploadResponse&quot;,function(a){var b=a.data.fileLoader,d=b.xhr,f=a.data;try{var g=JSON.parse(d.responseText);
g.error&amp;&amp;g.error.message&amp;&amp;(f.message=g.error.message);if(g.uploaded)for(var e in g)f[e]=g[e];else a.cancel()}catch(h){f.message=b.lang.filetools.responseError,CKEDITOR.warn(&quot;filetools-response-error&quot;,{responseText:d.responseText}),a.cancel()}},null,null,999)}});k.prototype={create:function(a,c,b){b=b||l;var d=this.loaders.length;a=new b(this.editor,a,c);a.id=d;this.loaders[d]=a;this.fire(&quot;instanceCreated&quot;,a);return a},isFinished:function(){for(var a=0;a&lt;this.loaders.length;++a)if(!this.loaders[a].isFinished())return!1;
return!0}};l.prototype={loadAndUpload:function(a,c){var b=this;this.once(&quot;loaded&quot;,function(d){d.cancel();b.once(&quot;update&quot;,function(a){a.cancel()},null,null,0);b.upload(a,c)},null,null,0);this.load()},load:function(){var a=this,c=this.reader=new FileReader;a.changeStatus(&quot;loading&quot;);this.abort=function(){a.reader.abort()};c.onabort=function(){a.changeStatus(&quot;abort&quot;)};c.onerror=function(){a.message=a.lang.filetools.loadError;a.changeStatus(&quot;error&quot;)};c.onprogress=function(b){a.loaded=b.loaded;a.update()};
c.onload=function(){a.loaded=a.total;a.data=c.result;a.changeStatus(&quot;loaded&quot;)};c.readAsDataURL(this.file)},upload:function(a,c){var b=c||{};a?(this.uploadUrl=a,this.xhr=new XMLHttpRequest,this.attachRequestListeners(),this.editor.fire(&quot;fileUploadRequest&quot;,{fileLoader:this,requestData:b})&amp;&amp;this.changeStatus(&quot;uploading&quot;)):(this.message=this.lang.filetools.noUrlError,this.changeStatus(&quot;error&quot;))},attachRequestListeners:function(){function a(){&quot;error&quot;!=b.status&amp;&amp;(b.message=b.lang.filetools.networkError,
b.changeStatus(&quot;error&quot;))}function c(){&quot;abort&quot;!=b.status&amp;&amp;b.changeStatus(&quot;abort&quot;)}var b=this,d=this.xhr;b.abort=function(){d.abort();c()};d.onerror=a;d.onabort=c;d.upload?(d.upload.onprogress=function(a){a.lengthComputable&amp;&amp;(b.uploadTotal||(b.uploadTotal=a.total),b.uploaded=a.loaded,b.update())},d.upload.onerror=a,d.upload.onabort=c):(b.uploadTotal=b.total,b.update());d.onload=function(){b.update();if(&quot;abort&quot;!=b.status)if(b.uploaded=b.uploadTotal,200&gt;d.status||299&lt;d.status)b.message=b.lang.filetools[&quot;httpError&quot;+
d.status],b.message||(b.message=b.lang.filetools.httpError.replace(&quot;%1&quot;,d.status)),b.changeStatus(&quot;error&quot;);else{for(var a={fileLoader:b},c=[&quot;message&quot;,&quot;fileName&quot;,&quot;url&quot;],e=b.editor.fire(&quot;fileUploadResponse&quot;,a),h=0;h&lt;c.length;h++){var k=c[h];&quot;string&quot;===typeof a[k]&amp;&amp;(b[k]=a[k])}b.responseData=a;delete b.responseData.fileLoader;!1===e?b.changeStatus(&quot;error&quot;):b.changeStatus(&quot;uploaded&quot;)}}},changeStatus:function(a){this.status=a;if(&quot;error&quot;==a||&quot;abort&quot;==a||&quot;loaded&quot;==a||&quot;uploaded&quot;==a)this.abort=function(){};
this.fire(a);this.update()},update:function(){this.fire(&quot;update&quot;)},isFinished:function(){return!!this.status.match(/^(?:loaded|uploaded|error|abort)$/)}};CKEDITOR.event.implementOn(k.prototype);CKEDITOR.event.implementOn(l.prototype);var m=/^data:(\S*?);base64,/;CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{uploadRepository:k,fileLoader:l,getUploadUrl:function(a,c){var b=CKEDITOR.tools.capitalize;return c&amp;&amp;a[c+&quot;UploadUrl&quot;]?a[c+&quot;UploadUrl&quot;]:a.uploadUrl?a.uploadUrl:
c&amp;&amp;a[&quot;filebrowser&quot;+b(c,1)+&quot;UploadUrl&quot;]?a[&quot;filebrowser&quot;+b(c,1)+&quot;UploadUrl&quot;]+&quot;\x26responseType\x3djson&quot;:a.filebrowserUploadUrl?a.filebrowserUploadUrl+&quot;\x26responseType\x3djson&quot;:null},isTypeSupported:function(a,c){return!!a.type.match(c)},isFileUploadSupported:&quot;function&quot;===typeof FileReader&amp;&amp;&quot;function&quot;===typeof(new FileReader).readAsDataURL&amp;&amp;&quot;function&quot;===typeof FormData&amp;&amp;&quot;function&quot;===typeof(new FormData).append&amp;&amp;&quot;function&quot;===typeof XMLHttpRequest&amp;&amp;&quot;function&quot;===typeof Blob})})();(function(){function g(a,b){var d=[];if(b)for(var c in b)d.push(c+&quot;\x3d&quot;+encodeURIComponent(b[c]));else return a;return a+(-1!=a.indexOf(&quot;?&quot;)?&quot;\x26&quot;:&quot;?&quot;)+d.join(&quot;\x26&quot;)}function p(a){return!a.match(/command=QuickUpload/)||a.match(/(\?|&amp;)responseType=json/)?a:g(a,{responseType:&quot;json&quot;})}function k(a){a+=&quot;&quot;;return a.charAt(0).toUpperCase()+a.substr(1)}function q(){var a=this.getDialog(),b=a.getParentEditor();b._.filebrowserSe=this;var d=b.config[&quot;filebrowser&quot;+k(a.getName())+&quot;WindowWidth&quot;]||b.config.filebrowserWindowWidth||
&quot;80%&quot;,a=b.config[&quot;filebrowser&quot;+k(a.getName())+&quot;WindowHeight&quot;]||b.config.filebrowserWindowHeight||&quot;70%&quot;,c=this.filebrowser.params||{};c.CKEditor=b.name;c.CKEditorFuncNum=b._.filebrowserFn;c.langCode||(c.langCode=b.langCode);c=g(this.filebrowser.url,c);b.popup(c,d,a,b.config.filebrowserWindowFeatures||b.config.fileBrowserWindowFeatures)}function r(a){var b=new CKEDITOR.dom.element(a.$.form);b&amp;&amp;((a=b.$.elements.ckCsrfToken)?a=new CKEDITOR.dom.element(a):(a=new CKEDITOR.dom.element(&quot;input&quot;),a.setAttributes({name:&quot;ckCsrfToken&quot;,
type:&quot;hidden&quot;}),b.append(a)),a.setAttribute(&quot;value&quot;,CKEDITOR.tools.getCsrfToken()))}function t(){var a=this.getDialog();a.getParentEditor()._.filebrowserSe=this;return a.getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getInputElement().$.value&amp;&amp;a.getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getAction()?!0:!1}function u(a,b,d){var c=d.params||{};c.CKEditor=a.name;c.CKEditorFuncNum=a._.filebrowserFn;c.langCode||(c.langCode=a.langCode);b.action=g(d.url,c);b.filebrowser=d}function l(a,b,d,c){if(c&amp;&amp;
c.length)for(var e,g=c.length;g--;)if(e=c[g],&quot;hbox&quot;!=e.type&amp;&amp;&quot;vbox&quot;!=e.type&amp;&amp;&quot;fieldset&quot;!=e.type||l(a,b,d,e.children),e.filebrowser)if(&quot;string&quot;==typeof e.filebrowser&amp;&amp;(e.filebrowser={action:&quot;fileButton&quot;==e.type?&quot;QuickUpload&quot;:&quot;Browse&quot;,target:e.filebrowser}),&quot;Browse&quot;==e.filebrowser.action){var f=e.filebrowser.url;void 0===f&amp;&amp;(f=a.config[&quot;filebrowser&quot;+k(b)+&quot;BrowseUrl&quot;],void 0===f&amp;&amp;(f=a.config.filebrowserBrowseUrl));f&amp;&amp;(e.onClick=q,e.filebrowser.url=f,e.hidden=!1)}else if(&quot;QuickUpload&quot;==e.filebrowser.action&amp;&amp;
e[&quot;for&quot;]&amp;&amp;(f=e.filebrowser.url,void 0===f&amp;&amp;(f=a.config[&quot;filebrowser&quot;+k(b)+&quot;UploadUrl&quot;],void 0===f&amp;&amp;(f=a.config.filebrowserUploadUrl)),f)){var h=e.onClick;e.onClick=function(b){var c=b.sender,d=c.getDialog().getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getInputElement(),e=CKEDITOR.fileTools&amp;&amp;CKEDITOR.fileTools.isFileUploadSupported;if(h&amp;&amp;!1===h.call(c,b))return!1;if(t.call(c,b)){if(&quot;form&quot;!==a.config.filebrowserUploadMethod&amp;&amp;e)return b=a.uploadRepository.create(d.$.files[0]),b.on(&quot;uploaded&quot;,function(a){var b=
a.sender.responseData;m.call(a.sender.editor,b.url,b.message)}),b.on(&quot;error&quot;,n.bind(this)),b.on(&quot;abort&quot;,n.bind(this)),b.loadAndUpload(p(f)),&quot;xhr&quot;;r(d);return!0}return!1};e.filebrowser.url=f;e.hidden=!1;u(a,d.getContents(e[&quot;for&quot;][0]).get(e[&quot;for&quot;][1]),e.filebrowser)}}function n(a){var b={};try{b=JSON.parse(a.sender.xhr.response)||{}}catch(d){}this.enable();alert(b.error?b.error.message:a.sender.message)}function h(a,b,d){if(-1!==d.indexOf(&quot;;&quot;)){d=d.split(&quot;;&quot;);for(var c=0;c&lt;d.length;c++)if(h(a,b,d[c]))return!0;
return!1}return(a=a.getContents(b).get(d).filebrowser)&amp;&amp;a.url}function m(a,b){var d=this._.filebrowserSe.getDialog(),c=this._.filebrowserSe[&quot;for&quot;],e=this._.filebrowserSe.filebrowser.onSelect;c&amp;&amp;d.getContentElement(c[0],c[1]).reset();if(&quot;function&quot;!=typeof b||!1!==b.call(this._.filebrowserSe))if(!e||!1!==e.call(this._.filebrowserSe,a,b))if(&quot;string&quot;==typeof b&amp;&amp;b&amp;&amp;alert(b),a&amp;&amp;(c=this._.filebrowserSe,d=c.getDialog(),c=c.filebrowser.target||null))if(c=c.split(&quot;:&quot;),e=d.getContentElement(c[0],c[1]))e.setValue(a),
d.selectPage(c[0])}CKEDITOR.plugins.add(&quot;filebrowser&quot;,{requires:&quot;popup,filetools&quot;,init:function(a){a._.filebrowserFn=CKEDITOR.tools.addFunction(m,a);a.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(this._.filebrowserFn)})}});CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){if(a.editor.plugins.filebrowser)for(var b=a.data.definition,d,c=0;c&lt;b.contents.length;++c)if(d=b.contents[c])l(a.editor,a.data.name,b,d.elements),d.hidden&amp;&amp;d.filebrowser&amp;&amp;(d.hidden=!h(b,d.id,d.filebrowser))})})();CKEDITOR.plugins.add(&quot;find&quot;,{requires:&quot;dialog&quot;,init:function(a){var b=a.addCommand(&quot;find&quot;,new CKEDITOR.dialogCommand(&quot;find&quot;)),c=a.addCommand(&quot;replace&quot;,new CKEDITOR.dialogCommand(&quot;find&quot;,{tabId:&quot;replace&quot;}));b.canUndo=!1;b.readOnly=1;c.canUndo=!1;a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;Find&quot;,{label:a.lang.find.find,command:&quot;find&quot;,toolbar:&quot;find,10&quot;}),a.ui.addButton(&quot;Replace&quot;,{label:a.lang.find.replace,command:&quot;replace&quot;,toolbar:&quot;find,20&quot;}));CKEDITOR.dialog.add(&quot;find&quot;,this.path+&quot;dialogs/find.js&quot;)}});
CKEDITOR.config.find_highlight={element:&quot;span&quot;,styles:{&quot;background-color&quot;:&quot;#004&quot;,color:&quot;#fff&quot;}};(function(){function g(a,b){var c=l.exec(a),d=l.exec(b);if(c){if(!c[2]&amp;&amp;&quot;px&quot;==d[2])return d[1];if(&quot;px&quot;==c[2]&amp;&amp;!d[2])return d[1]+&quot;px&quot;}return b}var k=CKEDITOR.htmlParser.cssStyle,h=CKEDITOR.tools.cssLength,l=/^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i,m={elements:{$:function(a){var b=a.attributes;if((b=(b=(b=b&amp;&amp;b[&quot;data-cke-realelement&quot;])&amp;&amp;new CKEDITOR.htmlParser.fragment.fromHtml(decodeURIComponent(b)))&amp;&amp;b.children[0])&amp;&amp;a.attributes[&quot;data-cke-resizable&quot;]){var c=(new k(a)).rules;a=b.attributes;var d=c.width,
c=c.height;d&amp;&amp;(a.width=g(a.width,d));c&amp;&amp;(a.height=g(a.height,c))}return b}}};CKEDITOR.plugins.add(&quot;fakeobjects&quot;,{init:function(a){a.filter.allow(&quot;img[!data-cke-realelement,src,alt,title](*){*}&quot;,&quot;fakeobjects&quot;)},afterInit:function(a){(a=(a=a.dataProcessor)&amp;&amp;a.htmlFilter)&amp;&amp;a.addRules(m,{applyToAll:!0})}});CKEDITOR.editor.prototype.createFakeElement=function(a,b,c,d){var e=this.lang.fakeobjects,e=e[c]||e.unknown;b={&quot;class&quot;:b,&quot;data-cke-realelement&quot;:encodeURIComponent(a.getOuterHtml()),&quot;data-cke-real-node-type&quot;:a.type,
alt:e,title:e,align:a.getAttribute(&quot;align&quot;)||&quot;&quot;};CKEDITOR.env.hc||(b.src=CKEDITOR.tools.transparentImageData);c&amp;&amp;(b[&quot;data-cke-real-element-type&quot;]=c);d&amp;&amp;(b[&quot;data-cke-resizable&quot;]=d,c=new k,d=a.getAttribute(&quot;width&quot;),a=a.getAttribute(&quot;height&quot;),d&amp;&amp;(c.rules.width=h(d)),a&amp;&amp;(c.rules.height=h(a)),c.populate(b));return this.document.createElement(&quot;img&quot;,{attributes:b})};CKEDITOR.editor.prototype.createFakeParserElement=function(a,b,c,d){var e=this.lang.fakeobjects,e=e[c]||e.unknown,f;f=new CKEDITOR.htmlParser.basicWriter;
a.writeHtml(f);f=f.getHtml();b={&quot;class&quot;:b,&quot;data-cke-realelement&quot;:encodeURIComponent(f),&quot;data-cke-real-node-type&quot;:a.type,alt:e,title:e,align:a.attributes.align||&quot;&quot;};CKEDITOR.env.hc||(b.src=CKEDITOR.tools.transparentImageData);c&amp;&amp;(b[&quot;data-cke-real-element-type&quot;]=c);d&amp;&amp;(b[&quot;data-cke-resizable&quot;]=d,d=a.attributes,a=new k,c=d.width,d=d.height,void 0!==c&amp;&amp;(a.rules.width=h(c)),void 0!==d&amp;&amp;(a.rules.height=h(d)),a.populate(b));return new CKEDITOR.htmlParser.element(&quot;img&quot;,b)};CKEDITOR.editor.prototype.restoreRealElement=
function(a){if(a.data(&quot;cke-real-node-type&quot;)!=CKEDITOR.NODE_ELEMENT)return null;var b=CKEDITOR.dom.element.createFromHtml(decodeURIComponent(a.data(&quot;cke-realelement&quot;)),this.document);if(a.data(&quot;cke-resizable&quot;)){var c=a.getStyle(&quot;width&quot;);a=a.getStyle(&quot;height&quot;);c&amp;&amp;b.setAttribute(&quot;width&quot;,g(b.getAttribute(&quot;width&quot;),c));a&amp;&amp;b.setAttribute(&quot;height&quot;,g(b.getAttribute(&quot;height&quot;),a))}return b}})();(function(){function d(a){a=a.attributes;return&quot;application/x-shockwave-flash&quot;==a.type||f.test(a.src||&quot;&quot;)}function e(a,b){return a.createFakeParserElement(b,&quot;cke_flash&quot;,&quot;flash&quot;,!0)}var f=/\.swf(?:$|\?)/i;CKEDITOR.plugins.add(&quot;flash&quot;,{requires:&quot;dialog,fakeobjects&quot;,onLoad:function(){CKEDITOR.addCss(&quot;img.cke_flash{background-image: url(&quot;+CKEDITOR.getUrl(this.path+&quot;images/placeholder.png&quot;)+&quot;);background-position: center center;background-repeat: no-repeat;border: 1px solid #a9a9a9;width: 80px;height: 80px;}&quot;)},
init:function(a){var b=&quot;object[classid,codebase,height,hspace,vspace,width];param[name,value];embed[height,hspace,pluginspage,src,type,vspace,width]&quot;;CKEDITOR.dialog.isTabEnabled(a,&quot;flash&quot;,&quot;properties&quot;)&amp;&amp;(b+=&quot;;object[align]; embed[allowscriptaccess,quality,scale,wmode]&quot;);CKEDITOR.dialog.isTabEnabled(a,&quot;flash&quot;,&quot;advanced&quot;)&amp;&amp;(b+=&quot;;object[id]{*}; embed[bgcolor]{*}(*)&quot;);a.addCommand(&quot;flash&quot;,new CKEDITOR.dialogCommand(&quot;flash&quot;,{allowedContent:b,requiredContent:&quot;embed&quot;}));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Flash&quot;,
{label:a.lang.common.flash,command:&quot;flash&quot;,toolbar:&quot;insert,20&quot;});CKEDITOR.dialog.add(&quot;flash&quot;,this.path+&quot;dialogs/flash.js&quot;);a.addMenuItems&amp;&amp;a.addMenuItems({flash:{label:a.lang.flash.properties,command:&quot;flash&quot;,group:&quot;flash&quot;}});a.on(&quot;doubleclick&quot;,function(a){var b=a.data.element;b.is(&quot;img&quot;)&amp;&amp;&quot;flash&quot;==b.data(&quot;cke-real-element-type&quot;)&amp;&amp;(a.data.dialog=&quot;flash&quot;)});a.contextMenu&amp;&amp;a.contextMenu.addListener(function(a){if(a&amp;&amp;a.is(&quot;img&quot;)&amp;&amp;!a.isReadOnly()&amp;&amp;&quot;flash&quot;==a.data(&quot;cke-real-element-type&quot;))return{flash:CKEDITOR.TRISTATE_OFF}})},
afterInit:function(a){var b=a.dataProcessor;(b=b&amp;&amp;b.dataFilter)&amp;&amp;b.addRules({elements:{&quot;cke:object&quot;:function(b){var c=b.attributes;if(!(c.classid&amp;&amp;String(c.classid).toLowerCase()||d(b))){for(c=0;c&lt;b.children.length;c++)if(&quot;cke:embed&quot;==b.children[c].name){if(!d(b.children[c]))break;return e(a,b)}return null}return e(a,b)},&quot;cke:embed&quot;:function(b){return d(b)?e(a,b):null}}},5)}})})();CKEDITOR.tools.extend(CKEDITOR.config,{flashEmbedTagOnly:!1,flashAddEmbedTag:!0,flashConvertOnEdit:!1});(function(){function k(a){var l=a.config,p=a.fire(&quot;uiSpace&quot;,{space:&quot;top&quot;,html:&quot;&quot;}).html,t=function(){function f(a,c,e){b.setStyle(c,w(e));b.setStyle(&quot;position&quot;,a)}function e(a){var b=k.getDocumentPosition();switch(a){case &quot;top&quot;:f(&quot;absolute&quot;,&quot;top&quot;,b.y-q-r);break;case &quot;pin&quot;:f(&quot;fixed&quot;,&quot;top&quot;,x);break;case &quot;bottom&quot;:f(&quot;absolute&quot;,&quot;top&quot;,b.y+(c.height||c.bottom-c.top)+r)}m=a}var m,k,n,c,h,q,v,p=l.floatSpaceDockedOffsetX||0,r=l.floatSpaceDockedOffsetY||0,u=l.floatSpacePinnedOffsetX||0,x=l.floatSpacePinnedOffsetY||
0;return function(d){if(k=a.editable()){var f=d&amp;&amp;&quot;focus&quot;==d.name;f&amp;&amp;b.show();a.fire(&quot;floatingSpaceLayout&quot;,{show:f});b.removeStyle(&quot;left&quot;);b.removeStyle(&quot;right&quot;);n=b.getClientRect();c=k.getClientRect();h=g.getViewPaneSize();q=n.height;v=&quot;pageXOffset&quot;in g.$?g.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;m?(q+r&lt;=c.top?e(&quot;top&quot;):q+r&gt;h.height-c.bottom?e(&quot;pin&quot;):e(&quot;bottom&quot;),d=h.width/2,d=l.floatSpacePreferRight?&quot;right&quot;:0&lt;c.left&amp;&amp;c.right&lt;h.width&amp;&amp;c.width&gt;n.width?&quot;rtl&quot;==l.contentsLangDirection?
&quot;right&quot;:&quot;left&quot;:d-c.left&gt;c.right-d?&quot;left&quot;:&quot;right&quot;,n.width&gt;h.width?(d=&quot;left&quot;,f=0):(f=&quot;left&quot;==d?0&lt;c.left?c.left:0:c.right&lt;h.width?h.width-c.right:0,f+n.width&gt;h.width&amp;&amp;(d=&quot;left&quot;==d?&quot;right&quot;:&quot;left&quot;,f=0)),b.setStyle(d,w((&quot;pin&quot;==m?u:p)+f+(&quot;pin&quot;==m?0:&quot;left&quot;==d?v:-v)))):(m=&quot;pin&quot;,e(&quot;pin&quot;),t(d))}}}();if(p){var k=new CKEDITOR.template(&#039;\x3cdiv id\x3d&quot;cke_{name}&quot; class\x3d&quot;cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} &#039;+CKEDITOR.env.cssClass+&#039;&quot; dir\x3d&quot;{langDir}&quot; title\x3d&quot;&#039;+(CKEDITOR.env.gecko?
&quot; &quot;:&quot;&quot;)+&#039;&quot; lang\x3d&quot;{langCode}&quot; role\x3d&quot;application&quot; style\x3d&quot;{style}&quot;&#039;+(a.title?&#039; aria-labelledby\x3d&quot;cke_{name}_arialbl&quot;&#039;:&quot; &quot;)+&quot;\x3e&quot;+(a.title?&#039;\x3cspan id\x3d&quot;cke_{name}_arialbl&quot; class\x3d&quot;cke_voice_label&quot;\x3e{voiceLabel}\x3c/span\x3e&#039;:&quot; &quot;)+&#039;\x3cdiv class\x3d&quot;cke_inner&quot;\x3e\x3cdiv id\x3d&quot;{topId}&quot; class\x3d&quot;cke_top&quot; role\x3d&quot;presentation&quot;\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e&#039;),b=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(k.output({content:p,id:a.id,langDir:a.lang.dir,
langCode:a.langCode,name:a.name,style:&quot;display:none;z-index:&quot;+(l.baseFloatZIndex-1),topId:a.ui.spaceId(&quot;top&quot;),voiceLabel:a.title}))),u=CKEDITOR.tools.eventsBuffer(500,t),e=CKEDITOR.tools.eventsBuffer(100,t);b.unselectable();b.on(&quot;mousedown&quot;,function(a){a=a.data;a.getTarget().hasAscendant(&quot;a&quot;,1)||a.preventDefault()});a.on(&quot;focus&quot;,function(b){t(b);a.on(&quot;change&quot;,u.input);g.on(&quot;scroll&quot;,e.input);g.on(&quot;resize&quot;,e.input)});a.on(&quot;blur&quot;,function(){b.hide();a.removeListener(&quot;change&quot;,u.input);g.removeListener(&quot;scroll&quot;,
e.input);g.removeListener(&quot;resize&quot;,e.input)});a.on(&quot;destroy&quot;,function(){g.removeListener(&quot;scroll&quot;,e.input);g.removeListener(&quot;resize&quot;,e.input);b.clearCustomData();b.remove()});a.focusManager.hasFocus&amp;&amp;b.show();a.focusManager.add(b,1)}}var g=CKEDITOR.document.getWindow(),w=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add(&quot;floatingspace&quot;,{init:function(a){a.on(&quot;loaded&quot;,function(){k(this)},null,null,20)}})})();CKEDITOR.plugins.add(&quot;listblock&quot;,{requires:&quot;panel&quot;,onLoad:function(){var f=CKEDITOR.addTemplate(&quot;panel-list&quot;,&#039;\x3cul role\x3d&quot;presentation&quot; class\x3d&quot;cke_panel_list&quot;\x3e{items}\x3c/ul\x3e&#039;),g=CKEDITOR.addTemplate(&quot;panel-list-item&quot;,&#039;\x3cli id\x3d&quot;{id}&quot; class\x3d&quot;cke_panel_listItem&quot; role\x3dpresentation\x3e\x3ca id\x3d&quot;{id}_option&quot; _cke_focus\x3d1 hidefocus\x3dtrue title\x3d&quot;{title}&quot; draggable\x3d&quot;false&quot; ondragstart\x3d&quot;return false;&quot; href\x3d&quot;javascript:void(\&#039;{val}\&#039;)&quot;  onclick\x3d&quot;{onclick}CKEDITOR.tools.callFunction({clickFn},\&#039;{val}\&#039;); return false;&quot; role\x3d&quot;option&quot;\x3e{text}\x3c/a\x3e\x3c/li\x3e&#039;),
h=CKEDITOR.addTemplate(&quot;panel-list-group&quot;,&#039;\x3ch1 id\x3d&quot;{id}&quot; draggable\x3d&quot;false&quot; ondragstart\x3d&quot;return false;&quot; class\x3d&quot;cke_panel_grouptitle&quot; role\x3d&quot;presentation&quot; \x3e{label}\x3c/h1\x3e&#039;),k=/\&#039;/g;CKEDITOR.ui.panel.prototype.addListBlock=function(a,b){return this.addBlock(a,new CKEDITOR.ui.listBlock(this.getHolderElement(),b))};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(a,b){b=b||{};var c=b.attributes||(b.attributes={});(this.multiSelect=!!b.multiSelect)&amp;&amp;
(c[&quot;aria-multiselectable&quot;]=!0);!c.role&amp;&amp;(c.role=&quot;listbox&quot;);this.base.apply(this,arguments);this.element.setAttribute(&quot;role&quot;,c.role);c=this.keys;c[40]=&quot;next&quot;;c[9]=&quot;next&quot;;c[38]=&quot;prev&quot;;c[CKEDITOR.SHIFT+9]=&quot;prev&quot;;c[32]=CKEDITOR.env.ie?&quot;mouseup&quot;:&quot;click&quot;;CKEDITOR.env.ie&amp;&amp;(c[13]=&quot;mouseup&quot;);this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var a=f.output({items:this._.pendingList.join(&quot;&quot;)});this._.pendingList=[];this._.pendingHtml.push(a);
delete this._.started}},getClick:function(){this._.click||(this._.click=CKEDITOR.tools.addFunction(function(a){var b=this.toggle(a);if(this.onClick)this.onClick(a,b)},this));return this._.click}},proto:{add:function(a,b,c){var d=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[a]=d;var e;e=CKEDITOR.tools.htmlEncodeAttr(a).replace(k,&quot;\\&#039;&quot;);a={id:d,val:e,onclick:CKEDITOR.env.ie?&#039;return false;&quot; onmouseup\x3d&quot;CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26&#039;:
&quot;&quot;,clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(c||a),text:b||a};this._.pendingList.push(g.output(a))},startGroup:function(a){this._.close();var b=CKEDITOR.tools.getNextId();this._.groups[a]=b;this._.pendingHtml.push(h.output({id:b,label:a}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(&quot;&quot;));delete this._.size;this._.pendingHtml=[]},toggle:function(a){var b=this.isMarked(a);b?this.unmark(a):this.mark(a);return!b},hideGroup:function(a){var b=(a=
this.element.getDocument().getById(this._.groups[a]))&amp;&amp;a.getNext();a&amp;&amp;(a.setStyle(&quot;display&quot;,&quot;none&quot;),b&amp;&amp;&quot;ul&quot;==b.getName()&amp;&amp;b.setStyle(&quot;display&quot;,&quot;none&quot;))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle(&quot;display&quot;,&quot;none&quot;)},showAll:function(){var a=this._.items,b=this._.groups,c=this.element.getDocument(),d;for(d in a)c.getById(a[d]).setStyle(&quot;display&quot;,&quot;&quot;);for(var e in b)a=c.getById(b[e]),d=a.getNext(),a.setStyle(&quot;display&quot;,&quot;&quot;),d&amp;&amp;&quot;ul&quot;==d.getName()&amp;&amp;d.setStyle(&quot;display&quot;,
&quot;&quot;)},mark:function(a){this.multiSelect||this.unmarkAll();a=this._.items[a];var b=this.element.getDocument().getById(a);b.addClass(&quot;cke_selected&quot;);this.element.getDocument().getById(a+&quot;_option&quot;).setAttribute(&quot;aria-selected&quot;,!0);this.onMark&amp;&amp;this.onMark(b)},markFirstDisplayed:function(){var a=this;this._.markFirstDisplayed(function(){a.multiSelect||a.unmarkAll()})},unmark:function(a){var b=this.element.getDocument();a=this._.items[a];var c=b.getById(a);c.removeClass(&quot;cke_selected&quot;);b.getById(a+&quot;_option&quot;).removeAttribute(&quot;aria-selected&quot;);
this.onUnmark&amp;&amp;this.onUnmark(c)},unmarkAll:function(){var a=this._.items,b=this.element.getDocument(),c;for(c in a){var d=a[c];b.getById(d).removeClass(&quot;cke_selected&quot;);b.getById(d+&quot;_option&quot;).removeAttribute(&quot;aria-selected&quot;)}this.onUnmark&amp;&amp;this.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass(&quot;cke_selected&quot;)},focus:function(a){this._.focusIndex=-1;var b=this.element.getElementsByTag(&quot;a&quot;),c,d=-1;if(a)for(c=this.element.getDocument().getById(this._.items[a]).getFirst();a=
b.getItem(++d);){if(a.equals(c)){this._.focusIndex=d;break}}else this.element.focus();c&amp;&amp;setTimeout(function(){c.focus()},0)}}})}});CKEDITOR.plugins.add(&quot;richcombo&quot;,{requires:&quot;floatpanel,listblock,button&quot;,beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}});
(function(){var e=&#039;\x3cspan id\x3d&quot;{id}&quot; class\x3d&quot;cke_combo cke_combo__{name} {cls}&quot; role\x3d&quot;presentation&quot;\x3e\x3cspan id\x3d&quot;{id}_label&quot; class\x3d&quot;cke_combo_label&quot;\x3e{label}\x3c/span\x3e\x3ca class\x3d&quot;cke_combo_button&quot; title\x3d&quot;{title}&quot; tabindex\x3d&quot;-1&quot;&#039;+(CKEDITOR.env.gecko&amp;&amp;!CKEDITOR.env.hc?&quot;&quot;:&quot; href\x3d\&quot;javascript:void(&#039;{titleJs}&#039;)\&quot;&quot;)+&#039; hidefocus\x3d&quot;true&quot; role\x3d&quot;button&quot; aria-labelledby\x3d&quot;{id}_label&quot; aria-haspopup\x3d&quot;listbox&quot;&#039;,h=&quot;&quot;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(e+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);
CKEDITOR.env.gecko&amp;&amp;(e+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);CKEDITOR.env.ie&amp;&amp;(h=&#039;return false;&quot; onmouseup\x3d&quot;CKEDITOR.tools.getMouseButton(event)\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26&#039;);var e=e+(&#039; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keydownFn},event,this);&quot; onfocus\x3d&quot;return CKEDITOR.tools.callFunction({focusFn},event);&quot; onclick\x3d&quot;&#039;+h+&#039;CKEDITOR.tools.callFunction({clickFn},this);return false;&quot;\x3e\x3cspan id\x3d&quot;{id}_text&quot; class\x3d&quot;cke_combo_text cke_combo_inlinelabel&quot;\x3e{label}\x3c/span\x3e\x3cspan class\x3d&quot;cke_combo_open&quot;\x3e\x3cspan class\x3d&quot;cke_combo_arrow&quot;\x3e&#039;+
(CKEDITOR.env.hc?&quot;\x26#9660;&quot;:CKEDITOR.env.air?&quot;\x26nbsp;&quot;:&quot;&quot;)+&quot;\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e&quot;),m=CKEDITOR.addTemplate(&quot;combo&quot;,e);CKEDITOR.UI_RICHCOMBO=&quot;richcombo&quot;;CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(a){CKEDITOR.tools.extend(this,a,{canGroup:!1,title:a.label,modes:{wysiwyg:1},editorFocus:1});a=this.panel||{};delete this.panel;this.id=CKEDITOR.tools.getNextNumber();this.document=a.parent&amp;&amp;a.parent.getDocument()||CKEDITOR.document;a.className=&quot;cke_combopanel&quot;;
a.block={multiSelect:a.multiSelect,attributes:a.attributes};a.toolbarRelated=!0;this._={panelDefinition:a,items:{},listeners:[]}},proto:{renderHtml:function(a){var b=[];this.render(a,b);return b.join(&quot;&quot;)},render:function(a,b){function d(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var b=this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;a.readOnly&amp;&amp;!this.readOnly&amp;&amp;(b=CKEDITOR.TRISTATE_DISABLED);this.setState(b);this.setValue(&quot;&quot;);b!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.refresh&amp;&amp;this.refresh()}}
var e=CKEDITOR.env,g,f,c=&quot;cke_&quot;+this.id,l=CKEDITOR.tools.addFunction(function(b){f&amp;&amp;(a.unlockSelection(1),f=0);g.execute(b)},this),k=this;g={id:c,combo:this,focus:function(){CKEDITOR.document.getById(c).getChild(1).focus()},execute:function(b){var c=k._;if(c.state!=CKEDITOR.TRISTATE_DISABLED)if(k.createPanel(a),c.on)c.panel.hide();else{k.commit();var d=k.getValue();d?c.list.mark(d):c.list.unmarkAll();c.panel.showBlock(k.id,new CKEDITOR.dom.element(b),4)}},clickFn:l};this._.listeners.push(a.on(&quot;activeFilterChange&quot;,
d,this));this._.listeners.push(a.on(&quot;mode&quot;,d,this));this._.listeners.push(a.on(&quot;selectionChange&quot;,d,this));!this.readOnly&amp;&amp;this._.listeners.push(a.on(&quot;readOnly&quot;,d,this));var h=CKEDITOR.tools.addFunction(function(a,b){a=new CKEDITOR.dom.event(a);var c=a.getKeystroke();switch(c){case 13:case 32:case 40:CKEDITOR.tools.callFunction(l,b);break;default:g.onkey(g,c)}a.preventDefault()}),n=CKEDITOR.tools.addFunction(function(){g.onfocus&amp;&amp;g.onfocus()});f=0;g.keyDownFn=h;e={id:c,name:this.name||this.command,
label:this.label,title:this.title,cls:this.className||&quot;&quot;,titleJs:e.gecko&amp;&amp;!e.hc?&quot;&quot;:(this.title||&quot;&quot;).replace(&quot;&#039;&quot;,&quot;&quot;),keydownFn:h,focusFn:n,clickFn:l};m.output(e,b);if(this.onRender)this.onRender();return g},createPanel:function(a){if(!this._.panel){var b=this._.panelDefinition,d=this._.panelDefinition.block,e=b.parent||CKEDITOR.document.getBody(),g=&quot;cke_combopanel__&quot;+this.name,f=new CKEDITOR.ui.floatPanel(a,e,b),b=f.addListBlock(this.id,d),c=this;f.onShow=function(){this.element.addClass(g);c.setState(CKEDITOR.TRISTATE_ON);
c._.on=1;c.editorFocus&amp;&amp;!a.focusManager.hasFocus&amp;&amp;a.focus();if(c.onOpen)c.onOpen()};f.onHide=function(b){this.element.removeClass(g);c.setState(c.modes&amp;&amp;c.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);c._.on=0;if(!b&amp;&amp;c.onClose)c.onClose()};f.onEscape=function(){f.hide(1)};b.onClick=function(a,b){c.onClick&amp;&amp;c.onClick.call(c,a,b);f.hide()};this._.panel=f;this._.list=b;f.getBlock(this.id).onHide=function(){c._.on=0;c.setState(CKEDITOR.TRISTATE_OFF)};this.init&amp;&amp;this.init()}},setValue:function(a,
b){this._.value=a;var d=this.document.getById(&quot;cke_&quot;+this.id+&quot;_text&quot;);d&amp;&amp;(a||b?d.removeClass(&quot;cke_combo_inlinelabel&quot;):(b=this.label,d.addClass(&quot;cke_combo_inlinelabel&quot;)),d.setText(&quot;undefined&quot;!=typeof b?b:a))},getValue:function(){return this._.value||&quot;&quot;},unmarkAll:function(){this._.list.unmarkAll()},mark:function(a){this._.list.mark(a)},hideItem:function(a){this._.list.hideItem(a)},hideGroup:function(a){this._.list.hideGroup(a)},showAll:function(){this._.list.showAll()},add:function(a,b,d){this._.items[a]=
d||a;this._.list.add(a,b,d)},startGroup:function(a){this._.list.startGroup(a)},commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire(&quot;ready&quot;,this));this._.committed=1},setState:function(a){if(this._.state!=a){var b=this.document.getById(&quot;cke_&quot;+this.id),d=b.getElementsByTag(&quot;a&quot;).getItem(0);b.setState(a,&quot;cke_combo&quot;);a==CKEDITOR.TRISTATE_DISABLED?b.setAttribute(&quot;aria-disabled&quot;,!0):b.removeAttribute(&quot;aria-disabled&quot;);d&amp;&amp;d.setAttribute(&quot;aria-expanded&quot;,a==CKEDITOR.TRISTATE_ON);
this._.state=a}},getState:function(){return this._.state},enable:function(){this._.state==CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.setState(this._.lastState)},disable:function(){this._.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))},destroy:function(){CKEDITOR.tools.array.forEach(this._.listeners,function(a){a.removeListener()});this._.listeners=[]},select:function(a){if(!CKEDITOR.tools.isEmpty(this._.items))for(var b in this._.items)if(a({value:b,
text:this._.items[b]})){this.setValue(b);break}}},statics:{handler:{create:function(a){return new CKEDITOR.ui.richCombo(a)}}}});CKEDITOR.ui.prototype.addRichCombo=function(a,b){this.add(a,CKEDITOR.UI_RICHCOMBO,b)}})();(function(){function k(a,b){var c=a.config,d=b.lang,e=new CKEDITOR.style(b.styleDefinition),f=new l({entries:b.entries,styleVariable:b.styleVariable,styleDefinition:b.styleDefinition}),g;a.addCommand(b.commandName,{exec:function(a,b){var c=b.newStyle,d=b.oldStyle,e=a.getSelection().getRanges()[0],f=void 0===c;if(d||c)if(d&amp;&amp;e.collapsed&amp;&amp;m({editor:a,range:e,style:d}),f)a.removeStyle(d);else{if(e=d)e=d instanceof CKEDITOR.style&amp;&amp;c instanceof CKEDITOR.style?CKEDITOR.style.getStyleText(d.getDefinition())===
CKEDITOR.style.getStyleText(c.getDefinition()):!1,e=!e;e&amp;&amp;a.removeStyle(d);a.applyStyle(c)}},refresh:function(a,b){e.checkApplicable(b,a,a.activeFilter)||this.setState(CKEDITOR.TRISTATE_DISABLED)}});g=a.getCommand(b.commandName);a.ui.addRichCombo(b.comboName,{label:d.label,title:d.panelTitle,command:b.commandName,toolbar:&quot;styles,&quot;+b.order,defaultValue:&quot;cke-default&quot;,allowedContent:e,requiredContent:e,contentTransformations:&quot;span&quot;===b.styleDefinition.element?[[{element:&quot;font&quot;,check:&quot;span&quot;,left:function(a){return!!a.attributes.size||
!!a.attributes.align||!!a.attributes.face},right:function(a){var b=&quot; x-small small medium large x-large xx-large 48px&quot;.split(&quot; &quot;);a.name=&quot;span&quot;;a.attributes.size&amp;&amp;(a.styles[&quot;font-size&quot;]=b[a.attributes.size],delete a.attributes.size);a.attributes.align&amp;&amp;(a.styles[&quot;text-align&quot;]=a.attributes.align,delete a.attributes.align);a.attributes.face&amp;&amp;(a.styles[&quot;font-family&quot;]=a.attributes.face,delete a.attributes.face)}}]]:null,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(c.contentsCss),multiSelect:!1,
attributes:{&quot;aria-label&quot;:d.panelTitle}},init:function(){var b=&quot;(&quot;+a.lang.common.optionDefault+&quot;)&quot;;this.startGroup(d.panelTitle);this.add(this.defaultValue,b,b);f.addToCombo(this)},onClick:function(c){var d=this.getValue();a.focus();a.fire(&quot;saveSnapshot&quot;);a.execCommand(b.commandName,{newStyle:f.getStyle(c),oldStyle:f.getStyle(d)});a.fire(&quot;saveSnapshot&quot;)},onRender:function(){a.on(&quot;selectionChange&quot;,function(c){var d=this.getValue();(c=f.getMatchingValue(a,c.data.path))?c!=d&amp;&amp;this.setValue(c):this.setValue(&quot;&quot;,
b.defaultLabel)},this);g.on(&quot;state&quot;,function(){this.setState(g.state)},this)},refresh:function(){this.setState(g.state)}})}function m(a){var b=a.editor,c=a.range,d=a.style,e,f,g;e=b.elementPath();if(a=e.contains(function(a){return d.checkElementRemovable(a)})){f=c.checkBoundaryOfElement(a,CKEDITOR.START);g=c.checkBoundaryOfElement(a,CKEDITOR.END);if(f&amp;&amp;g){for(f=c.createBookmark();e=a.getFirst();)e.insertBefore(a);a.remove();c.moveToBookmark(f)}else f||g?c.moveToPosition(a,f?CKEDITOR.POSITION_BEFORE_START:
CKEDITOR.POSITION_AFTER_END):(c.splitElement(a),c.moveToPosition(a,CKEDITOR.POSITION_AFTER_END)),h(c,e.elements.slice(),a);b.getSelection().selectRanges([c])}}function h(a,b,c){var d=b.pop();if(d){if(c)return h(a,b,d.equals(c)?null:c);c=d.clone();a.insertNode(c);a.moveToPosition(c,CKEDITOR.POSITION_AFTER_START);h(a,b)}}var l=CKEDITOR.tools.createClass({$:function(a){var b=a.entries.split(&quot;;&quot;);this._.data={};this._.names=[];for(var c=0;c&lt;b.length;c++){var d=b[c],e,f;d?(d=d.split(&quot;/&quot;),e=d[0],d=d[1],
f={},f[a.styleVariable]=d||e,this._.data[e]=new CKEDITOR.style(a.styleDefinition,f),this._.data[e]._.definition.name=e,this._.names.push(e)):(b.splice(c,1),c--)}},proto:{getStyle:function(a){return this._.data[a]},addToCombo:function(a){for(var b=0;b&lt;this._.names.length;b++){var c=this._.names[b];a.add(c,this.getStyle(c).buildPreview(),c)}},getMatchingValue:function(a,b){for(var c=b.elements,d=0,e;d&lt;c.length;d++)if(e=c[d],e=this._.findMatchingStyleName(a,e))return e;return null}},_:{findMatchingStyleName:function(a,
b){return CKEDITOR.tools.array.find(this._.names,function(c){return this.getStyle(c).checkElementMatch(b,!0,a)},this)}}});CKEDITOR.plugins.add(&quot;font&quot;,{requires:&quot;richcombo&quot;,init:function(a){var b=a.config;k(a,{comboName:&quot;Font&quot;,commandName:&quot;font&quot;,styleVariable:&quot;family&quot;,lang:a.lang.font,entries:b.font_names,defaultLabel:b.font_defaultLabel,styleDefinition:b.font_style,order:30});k(a,{comboName:&quot;FontSize&quot;,commandName:&quot;fontSize&quot;,styleVariable:&quot;size&quot;,lang:a.lang.font.fontSize,entries:b.fontSize_sizes,defaultLabel:b.fontSize_defaultLabel,
styleDefinition:b.fontSize_style,order:40})}})})();CKEDITOR.config.font_names=&quot;Arial/Arial, Helvetica, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif&quot;;CKEDITOR.config.font_defaultLabel=&quot;&quot;;
CKEDITOR.config.font_style={element:&quot;span&quot;,styles:{&quot;font-family&quot;:&quot;#(family)&quot;},overrides:[{element:&quot;font&quot;,attributes:{face:null}}]};CKEDITOR.config.fontSize_sizes=&quot;8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px&quot;;CKEDITOR.config.fontSize_defaultLabel=&quot;&quot;;CKEDITOR.config.fontSize_style={element:&quot;span&quot;,styles:{&quot;font-size&quot;:&quot;#(size)&quot;},overrides:[{element:&quot;font&quot;,attributes:{size:null}}]};CKEDITOR.plugins.add(&quot;forms&quot;,{requires:&quot;dialog,fakeobjects&quot;,onLoad:function(){CKEDITOR.addCss(&quot;.cke_editable form{border: 1px dotted #FF0000;padding: 2px;}\n&quot;);CKEDITOR.addCss(&quot;img.cke_hidden{background-image: url(&quot;+CKEDITOR.getUrl(this.path+&quot;images/hiddenfield.gif&quot;)+&quot;);background-position: center center;background-repeat: no-repeat;border: 1px solid #a9a9a9;width: 16px !important;height: 16px !important;}&quot;);CKEDITOR.style.unstylableElements.push(&quot;select&quot;,&quot;option&quot;)},init:function(b){var a=b.lang,
g=0,h={email:1,password:1,search:1,tel:1,text:1,url:1},l={checkbox:&quot;input[type,name,checked,required]&quot;,radio:&quot;input[type,name,checked,required]&quot;,textfield:&quot;input[type,name,value,size,maxlength,required]&quot;,textarea:&quot;textarea[cols,rows,name,required]&quot;,select:&quot;select[name,size,multiple,required]; option[value,selected]&quot;,button:&quot;input[type,name,value]&quot;,form:&quot;form[action,name,id,enctype,target,method]&quot;,hiddenfield:&quot;input[type,name,value]&quot;,imagebutton:&quot;input[type,alt,src]{width,height,border,border-width,border-style,margin,float}&quot;},
m={checkbox:&quot;input&quot;,radio:&quot;input&quot;,textfield:&quot;input&quot;,textarea:&quot;textarea&quot;,select:&quot;select&quot;,button:&quot;input&quot;,form:&quot;form&quot;,hiddenfield:&quot;input&quot;,imagebutton:&quot;input&quot;},d=function(f,c,d){var h={allowedContent:l[c],requiredContent:m[c]};&quot;form&quot;==c&amp;&amp;(h.context=&quot;form&quot;);b.addCommand(c,new CKEDITOR.dialogCommand(c,h));b.ui.addButton&amp;&amp;b.ui.addButton(f,{label:a.common[f.charAt(0).toLowerCase()+f.slice(1)],command:c,toolbar:&quot;forms,&quot;+(g+=10)});CKEDITOR.dialog.add(c,d)},e=this.path+&quot;dialogs/&quot;;!b.blockless&amp;&amp;d(&quot;Form&quot;,&quot;form&quot;,
e+&quot;form.js&quot;);d(&quot;Checkbox&quot;,&quot;checkbox&quot;,e+&quot;checkbox.js&quot;);d(&quot;Radio&quot;,&quot;radio&quot;,e+&quot;radio.js&quot;);d(&quot;TextField&quot;,&quot;textfield&quot;,e+&quot;textfield.js&quot;);d(&quot;Textarea&quot;,&quot;textarea&quot;,e+&quot;textarea.js&quot;);d(&quot;Select&quot;,&quot;select&quot;,e+&quot;select.js&quot;);d(&quot;Button&quot;,&quot;button&quot;,e+&quot;button.js&quot;);var k=b.plugins.image;k&amp;&amp;!b.plugins.image2&amp;&amp;d(&quot;ImageButton&quot;,&quot;imagebutton&quot;,CKEDITOR.plugins.getPath(&quot;image&quot;)+&quot;dialogs/image.js&quot;);d(&quot;HiddenField&quot;,&quot;hiddenfield&quot;,e+&quot;hiddenfield.js&quot;);b.addMenuItems&amp;&amp;(d={checkbox:{label:a.forms.checkboxAndRadio.checkboxTitle,command:&quot;checkbox&quot;,
group:&quot;checkbox&quot;},radio:{label:a.forms.checkboxAndRadio.radioTitle,command:&quot;radio&quot;,group:&quot;radio&quot;},textfield:{label:a.forms.textfield.title,command:&quot;textfield&quot;,group:&quot;textfield&quot;},hiddenfield:{label:a.forms.hidden.title,command:&quot;hiddenfield&quot;,group:&quot;hiddenfield&quot;},button:{label:a.forms.button.title,command:&quot;button&quot;,group:&quot;button&quot;},select:{label:a.forms.select.title,command:&quot;select&quot;,group:&quot;select&quot;},textarea:{label:a.forms.textarea.title,command:&quot;textarea&quot;,group:&quot;textarea&quot;}},k&amp;&amp;(d.imagebutton={label:a.image.titleButton,
command:&quot;imagebutton&quot;,group:&quot;imagebutton&quot;}),!b.blockless&amp;&amp;(d.form={label:a.forms.form.menu,command:&quot;form&quot;,group:&quot;form&quot;}),b.addMenuItems(d));b.contextMenu&amp;&amp;(!b.blockless&amp;&amp;b.contextMenu.addListener(function(f,c,b){if((f=b.contains(&quot;form&quot;,1))&amp;&amp;!f.isReadOnly())return{form:CKEDITOR.TRISTATE_OFF}}),b.contextMenu.addListener(function(b){if(b&amp;&amp;!b.isReadOnly()){var c=b.getName();if(&quot;select&quot;==c)return{select:CKEDITOR.TRISTATE_OFF};if(&quot;textarea&quot;==c)return{textarea:CKEDITOR.TRISTATE_OFF};if(&quot;input&quot;==c){var a=
b.getAttribute(&quot;type&quot;)||&quot;text&quot;;switch(a){case &quot;button&quot;:case &quot;submit&quot;:case &quot;reset&quot;:return{button:CKEDITOR.TRISTATE_OFF};case &quot;checkbox&quot;:return{checkbox:CKEDITOR.TRISTATE_OFF};case &quot;radio&quot;:return{radio:CKEDITOR.TRISTATE_OFF};case &quot;image&quot;:return k?{imagebutton:CKEDITOR.TRISTATE_OFF}:null}if(h[a])return{textfield:CKEDITOR.TRISTATE_OFF}}if(&quot;img&quot;==c&amp;&amp;&quot;hiddenfield&quot;==b.data(&quot;cke-real-element-type&quot;))return{hiddenfield:CKEDITOR.TRISTATE_OFF}}}));b.on(&quot;doubleclick&quot;,function(a){var c=a.data.element;if(!b.blockless&amp;&amp;
c.is(&quot;form&quot;))a.data.dialog=&quot;form&quot;;else if(c.is(&quot;select&quot;))a.data.dialog=&quot;select&quot;;else if(c.is(&quot;textarea&quot;))a.data.dialog=&quot;textarea&quot;;else if(c.is(&quot;img&quot;)&amp;&amp;&quot;hiddenfield&quot;==c.data(&quot;cke-real-element-type&quot;))a.data.dialog=&quot;hiddenfield&quot;;else if(c.is(&quot;input&quot;)){c=c.getAttribute(&quot;type&quot;)||&quot;text&quot;;switch(c){case &quot;button&quot;:case &quot;submit&quot;:case &quot;reset&quot;:a.data.dialog=&quot;button&quot;;break;case &quot;checkbox&quot;:a.data.dialog=&quot;checkbox&quot;;break;case &quot;radio&quot;:a.data.dialog=&quot;radio&quot;;break;case &quot;image&quot;:a.data.dialog=&quot;imagebutton&quot;}h[c]&amp;&amp;(a.data.dialog=
&quot;textfield&quot;)}})},afterInit:function(b){var a=b.dataProcessor,g=a&amp;&amp;a.htmlFilter,a=a&amp;&amp;a.dataFilter;CKEDITOR.env.ie&amp;&amp;g&amp;&amp;g.addRules({elements:{input:function(a){a=a.attributes;var b=a.type;b||(a.type=&quot;text&quot;);&quot;checkbox&quot;!=b&amp;&amp;&quot;radio&quot;!=b||&quot;on&quot;!=a.value||delete a.value}}},{applyToAll:!0});a&amp;&amp;a.addRules({elements:{input:function(a){if(&quot;hidden&quot;==a.attributes.type)return b.createFakeParserElement(a,&quot;cke_hidden&quot;,&quot;hiddenfield&quot;)}}},{applyToAll:!0})}});CKEDITOR.plugins.forms={_setupRequiredAttribute:function(b){this.setValue(b.hasAttribute(&quot;required&quot;))}};CKEDITOR.plugins.add(&quot;format&quot;,{requires:&quot;richcombo&quot;,init:function(a){if(!a.blockless){for(var f=a.config,c=a.lang.format,l=f.format_tags.split(&quot;;&quot;),d={},m=0,n=[],g=0;g&lt;l.length;g++){var h=l[g],k=new CKEDITOR.style(f[&quot;format_&quot;+h]);if(!a.filter.customConfig||a.filter.check(k))m++,d[h]=k,d[h]._.enterMode=a.config.enterMode,n.push(k)}0!==m&amp;&amp;a.ui.addRichCombo(&quot;Format&quot;,{label:c.label,title:c.panelTitle,toolbar:&quot;styles,20&quot;,allowedContent:n,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(f.contentsCss),
multiSelect:!1,attributes:{&quot;aria-label&quot;:c.panelTitle}},init:function(){this.startGroup(c.panelTitle);for(var a in d){var e=c[&quot;tag_&quot;+a];this.add(a,d[a].buildPreview(e),e)}},onClick:function(b){a.focus();a.fire(&quot;saveSnapshot&quot;);b=d[b];var e=a.elementPath();b.checkActive(e,a)||a.applyStyle(b);setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},0)},onRender:function(){a.on(&quot;selectionChange&quot;,function(b){var e=this.getValue();b=b.data.path;this.refresh();for(var c in d)if(d[c].checkActive(b,a)){c!=e&amp;&amp;this.setValue(c,
a.lang.format[&quot;tag_&quot;+c]);return}this.setValue(&quot;&quot;)},this)},onOpen:function(){this.showAll();for(var b in d)a.activeFilter.check(d[b])||this.hideItem(b)},refresh:function(){var b=a.elementPath();if(b){if(b.isContextFor(&quot;p&quot;))for(var c in d)if(a.activeFilter.check(d[c]))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}}})}}});CKEDITOR.config.format_tags=&quot;p;h1;h2;h3;h4;h5;h6;pre;address;div&quot;;CKEDITOR.config.format_p={element:&quot;p&quot;};CKEDITOR.config.format_div={element:&quot;div&quot;};CKEDITOR.config.format_pre={element:&quot;pre&quot;};
CKEDITOR.config.format_address={element:&quot;address&quot;};CKEDITOR.config.format_h1={element:&quot;h1&quot;};CKEDITOR.config.format_h2={element:&quot;h2&quot;};CKEDITOR.config.format_h3={element:&quot;h3&quot;};CKEDITOR.config.format_h4={element:&quot;h4&quot;};CKEDITOR.config.format_h5={element:&quot;h5&quot;};CKEDITOR.config.format_h6={element:&quot;h6&quot;};(function(){var b={canUndo:!1,exec:function(a){var b=a.document.createElement(&quot;hr&quot;);a.insertElement(b)},allowedContent:&quot;hr&quot;,requiredContent:&quot;hr&quot;};CKEDITOR.plugins.add(&quot;horizontalrule&quot;,{init:function(a){a.blockless||(a.addCommand(&quot;horizontalrule&quot;,b),a.ui.addButton&amp;&amp;a.ui.addButton(&quot;HorizontalRule&quot;,{label:a.lang.horizontalrule.toolbar,command:&quot;horizontalrule&quot;,toolbar:&quot;insert,40&quot;}))}})})();CKEDITOR.plugins.add(&quot;htmlwriter&quot;,{init:function(b){var a=new CKEDITOR.htmlWriter;a.forceSimpleAmpersand=b.config.forceSimpleAmpersand;a.indentationChars=&quot;string&quot;===typeof b.config.dataIndentationChars?b.config.dataIndentationChars:&quot;\t&quot;;b.dataProcessor.writer=a}});
CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:function(){this.base();this.indentationChars=&quot;\t&quot;;this.selfClosingEnd=&quot; /\x3e&quot;;this.lineBreakChars=&quot;\n&quot;;this.sortAttributes=1;this._.indent=0;this._.indentation=&quot;&quot;;this._.inPre=0;this._.rules={};var b=CKEDITOR.dtd,a;for(a in CKEDITOR.tools.extend({},b.$nonBodyContent,b.$block,b.$listItem,b.$tableContent))this.setRules(a,{indent:!b[a][&quot;#&quot;],breakBeforeOpen:1,breakBeforeClose:!b[a][&quot;#&quot;],breakAfterClose:1,needsSpace:a in
b.$block&amp;&amp;!(a in{li:1,dt:1,dd:1})});this.setRules(&quot;br&quot;,{breakAfterOpen:1});this.setRules(&quot;title&quot;,{indent:0,breakAfterOpen:0});this.setRules(&quot;style&quot;,{indent:0,breakBeforeClose:1});this.setRules(&quot;pre&quot;,{breakAfterOpen:1,indent:0})},proto:{openTag:function(b){var a=this._.rules[b];this._.afterCloser&amp;&amp;a&amp;&amp;a.needsSpace&amp;&amp;this._.needsSpace&amp;&amp;this._.output.push(&quot;\n&quot;);this._.indent?this.indentation():a&amp;&amp;a.breakBeforeOpen&amp;&amp;(this.lineBreak(),this.indentation());this._.output.push(&quot;\x3c&quot;,b);this._.afterCloser=0},
openTagClose:function(b,a){var c=this._.rules[b];a?(this._.output.push(this.selfClosingEnd),c&amp;&amp;c.breakAfterClose&amp;&amp;(this._.needsSpace=c.needsSpace)):(this._.output.push(&quot;\x3e&quot;),c&amp;&amp;c.indent&amp;&amp;(this._.indentation+=this.indentationChars));c&amp;&amp;c.breakAfterOpen&amp;&amp;this.lineBreak();&quot;pre&quot;==b&amp;&amp;(this._.inPre=1)},attribute:function(b,a){&quot;string&quot;==typeof a&amp;&amp;(a=CKEDITOR.tools.htmlEncodeAttr(a),this.forceSimpleAmpersand&amp;&amp;(a=a.replace(/&amp;amp;/g,&quot;\x26&quot;)));this._.output.push(&quot; &quot;,b,&#039;\x3d&quot;&#039;,a,&#039;&quot;&#039;)},closeTag:function(b){var a=
this._.rules[b];a&amp;&amp;a.indent&amp;&amp;(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.indent?this.indentation():a&amp;&amp;a.breakBeforeClose&amp;&amp;(this.lineBreak(),this.indentation());this._.output.push(&quot;\x3c/&quot;,b,&quot;\x3e&quot;);&quot;pre&quot;==b&amp;&amp;(this._.inPre=0);a&amp;&amp;a.breakAfterClose&amp;&amp;(this.lineBreak(),this._.needsSpace=a.needsSpace);this._.afterCloser=1},text:function(b){this._.indent&amp;&amp;(this.indentation(),!this._.inPre&amp;&amp;(b=CKEDITOR.tools.ltrim(b)));this._.output.push(b)},comment:function(b){this._.indent&amp;&amp;
this.indentation();this._.output.push(&quot;\x3c!--&quot;,b,&quot;--\x3e&quot;)},lineBreak:function(){!this._.inPre&amp;&amp;0&lt;this._.output.length&amp;&amp;this._.output.push(this.lineBreakChars);this._.indent=1},indentation:function(){!this._.inPre&amp;&amp;this._.indentation&amp;&amp;this._.output.push(this._.indentation);this._.indent=0},reset:function(){this._.output=[];this._.indent=0;this._.indentation=&quot;&quot;;this._.afterCloser=0;this._.inPre=0;this._.needsSpace=0},setRules:function(b,a){var c=this._.rules[b];c?CKEDITOR.tools.extend(c,a,!0):this._.rules[b]=
a}}});(function(){CKEDITOR.plugins.add(&quot;iframe&quot;,{requires:&quot;dialog,fakeobjects&quot;,onLoad:function(){CKEDITOR.addCss(&quot;img.cke_iframe{background-image: url(&quot;+CKEDITOR.getUrl(this.path+&quot;images/placeholder.png&quot;)+&quot;);background-position: center center;background-repeat: no-repeat;border: 1px solid #a9a9a9;width: 80px;height: 80px;}&quot;)},init:function(a){var b=a.lang.iframe,c=&quot;iframe[align,longdesc,frameborder,height,name,scrolling,src,title,width]&quot;;a.plugins.dialogadvtab&amp;&amp;(c+=&quot;;iframe&quot;+a.plugins.dialogadvtab.allowedContent({id:1,
classes:1,styles:1}));CKEDITOR.dialog.add(&quot;iframe&quot;,this.path+&quot;dialogs/iframe.js&quot;);a.addCommand(&quot;iframe&quot;,new CKEDITOR.dialogCommand(&quot;iframe&quot;,{allowedContent:c,requiredContent:&quot;iframe&quot;}));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Iframe&quot;,{label:b.toolbar,command:&quot;iframe&quot;,toolbar:&quot;insert,80&quot;});a.on(&quot;doubleclick&quot;,function(a){var b=a.data.element;b.is(&quot;img&quot;)&amp;&amp;&quot;iframe&quot;==b.data(&quot;cke-real-element-type&quot;)&amp;&amp;(a.data.dialog=&quot;iframe&quot;)});a.addMenuItems&amp;&amp;a.addMenuItems({iframe:{label:b.title,command:&quot;iframe&quot;,group:&quot;image&quot;}});
a.contextMenu&amp;&amp;a.contextMenu.addListener(function(a){if(a&amp;&amp;a.is(&quot;img&quot;)&amp;&amp;&quot;iframe&quot;==a.data(&quot;cke-real-element-type&quot;))return{iframe:CKEDITOR.TRISTATE_OFF}})},afterInit:function(a){var b=a.dataProcessor;(b=b&amp;&amp;b.dataFilter)&amp;&amp;b.addRules({elements:{iframe:function(b){return a.createFakeParserElement(b,&quot;cke_iframe&quot;,&quot;iframe&quot;,!0)}}})}})})();(function(){function m(a){function e(a){var b=!1;g.attachListener(g,&quot;keydown&quot;,function(){var d=c.getBody().getElementsByTag(a);if(!b){for(var f=0;f&lt;d.count();f++)d.getItem(f).setCustomData(&quot;retain&quot;,!0);b=!0}},null,null,1);g.attachListener(g,&quot;keyup&quot;,function(){var d=c.getElementsByTag(a);b&amp;&amp;(1==d.count()&amp;&amp;!d.getItem(0).getCustomData(&quot;retain&quot;)&amp;&amp;CKEDITOR.tools.isEmpty(d.getItem(0).getAttributes())&amp;&amp;d.getItem(0).remove(1),b=!1)})}var b=this.editor;if(b&amp;&amp;!b.isDetached()){var c=a.document,d=c.body,f=c.getElementById(&quot;cke_actscrpt&quot;);
f&amp;&amp;f.parentNode.removeChild(f);(f=c.getElementById(&quot;cke_shimscrpt&quot;))&amp;&amp;f.parentNode.removeChild(f);(f=c.getElementById(&quot;cke_basetagscrpt&quot;))&amp;&amp;f.parentNode.removeChild(f);d.contentEditable=!0;CKEDITOR.env.ie&amp;&amp;(d.hideFocus=!0,d.disabled=!0,d.removeAttribute(&quot;disabled&quot;));delete this._.isLoadingData;this.$=d;c=new CKEDITOR.dom.document(c);this.setup();this.fixInitialSelection();var g=this;CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;c.getDocumentElement().addClass(c.$.compatMode);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;
b.enterMode!=CKEDITOR.ENTER_P?e(&quot;p&quot;):CKEDITOR.env.edge&amp;&amp;15&gt;CKEDITOR.env.version&amp;&amp;b.enterMode!=CKEDITOR.ENTER_DIV&amp;&amp;e(&quot;div&quot;);if(CKEDITOR.env.webkit||CKEDITOR.env.ie&amp;&amp;10&lt;CKEDITOR.env.version)c.getDocumentElement().on(&quot;mousedown&quot;,function(a){a.data.getTarget().is(&quot;html&quot;)&amp;&amp;setTimeout(function(){b.editable().focus()})});n(b);try{b.document.$.execCommand(&quot;2D-position&quot;,!1,!0)}catch(h){}(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;&quot;CSS1Compat&quot;==b.document.$.compatMode)&amp;&amp;this.attachListener(this,&quot;keydown&quot;,function(a){var c=
a.data.getKeystroke();if(33==c||34==c)if(CKEDITOR.env.ie)setTimeout(function(){b.getSelection().scrollIntoView()},0);else if(b.window.$.innerHeight&gt;this.$.offsetHeight){var d=b.createRange();d[33==c?&quot;moveToElementEditStart&quot;:&quot;moveToElementEditEnd&quot;](this);d.select();a.data.preventDefault()}});CKEDITOR.env.ie&amp;&amp;this.attachListener(c,&quot;blur&quot;,function(){try{c.$.selection.empty()}catch(a){}});CKEDITOR.env.iOS&amp;&amp;this.attachListener(c,&quot;touchend&quot;,function(){a.focus()});d=b.document.getElementsByTag(&quot;title&quot;).getItem(0);
d.data(&quot;cke-title&quot;,d.getText());CKEDITOR.env.ie&amp;&amp;(b.document.$.title=this._.docTitle);CKEDITOR.tools.setTimeout(function(){&quot;unloaded&quot;==this.status&amp;&amp;(this.status=&quot;ready&quot;);b.fire(&quot;contentDom&quot;);this._.isPendingFocus&amp;&amp;(b.focus(),this._.isPendingFocus=!1);setTimeout(function(){b.fire(&quot;dataReady&quot;)},0)},0,this)}}function n(a){function e(){var c;a.editable().attachListener(a,&quot;selectionChange&quot;,function(){var d=a.getSelection().getSelectedElement();d&amp;&amp;(c&amp;&amp;(c.detachEvent(&quot;onresizestart&quot;,b),c=null),d.$.attachEvent(&quot;onresizestart&quot;,
b),c=d.$)})}function b(a){a.returnValue=!1}if(CKEDITOR.env.gecko)try{var c=a.document.$;c.execCommand(&quot;enableObjectResizing&quot;,!1,!a.config.disableObjectResizing);c.execCommand(&quot;enableInlineTableEditing&quot;,!1,!a.config.disableNativeTableHandles)}catch(d){}else CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version&amp;&amp;a.config.disableObjectResizing&amp;&amp;e(a)}function p(){var a=[];if(8&lt;=CKEDITOR.document.$.documentMode){a.push(&quot;html.CSS1Compat [contenteditable\x3dfalse]{min-height:0 !important}&quot;);var e=[],b;for(b in CKEDITOR.dtd.$removeEmpty)e.push(&quot;html.CSS1Compat &quot;+
b+&quot;[contenteditable\x3dfalse]&quot;);a.push(e.join(&quot;,&quot;)+&quot;{display:inline-block}&quot;)}else CKEDITOR.env.gecko&amp;&amp;(a.push(&quot;html{height:100% !important}&quot;),a.push(&quot;img:-moz-broken{-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}&quot;));a.push(&quot;html{cursor:text;*cursor:auto}&quot;);a.push(&quot;img,input,textarea{cursor:default}&quot;);return a.join(&quot;\n&quot;)}var l;CKEDITOR.plugins.add(&quot;wysiwygarea&quot;,{init:function(a){a.config.fullPage&amp;&amp;a.addFeature({allowedContent:&quot;html head title; style [media,type]; body (*)[id]; meta link [*]&quot;,
requiredContent:&quot;body&quot;});a.addMode(&quot;wysiwyg&quot;,function(e){function b(b){b&amp;&amp;b.removeListener();a.isDestroyed()||a.isDetached()||(a.editable(new l(a,d.$.contentWindow.document.body)),a.setData(a.getData(1),e))}var c=&quot;document.open();&quot;+(CKEDITOR.env.ie?&quot;(&quot;+CKEDITOR.tools.fixDomain+&quot;)();&quot;:&quot;&quot;)+&quot;document.close();&quot;,c=CKEDITOR.env.air?&quot;javascript:void(0)&quot;:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;javascript:void(function(){&quot;+encodeURIComponent(c)+&quot;}())&quot;:&quot;&quot;,d=CKEDITOR.dom.element.createFromHtml(&#039;\x3ciframe src\x3d&quot;&#039;+
c+&#039;&quot; frameBorder\x3d&quot;0&quot;\x3e\x3c/iframe\x3e&#039;);d.setStyles({width:&quot;100%&quot;,height:&quot;100%&quot;});d.addClass(&quot;cke_wysiwyg_frame&quot;).addClass(&quot;cke_reset&quot;);c=a.ui.space(&quot;contents&quot;);c.append(d);var f=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge||CKEDITOR.env.gecko;if(f)d.on(&quot;load&quot;,b);var g=a.title,h=a.fire(&quot;ariaEditorHelpLabel&quot;,{}).label;g&amp;&amp;(CKEDITOR.env.ie&amp;&amp;h&amp;&amp;(g+=&quot;, &quot;+h),d.setAttribute(&quot;title&quot;,g));if(h){var g=CKEDITOR.tools.getNextId(),k=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan id\x3d&quot;&#039;+g+&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+
h+&quot;\x3c/span\x3e&quot;);c.append(k,1);d.setAttribute(&quot;aria-describedby&quot;,g)}a.on(&quot;beforeModeUnload&quot;,function(a){a.removeListener();k&amp;&amp;k.remove()});d.setAttributes({tabIndex:a.tabIndex,allowTransparency:&quot;true&quot;});!f&amp;&amp;b();a.fire(&quot;ariaWidget&quot;,d)})}});CKEDITOR.editor.prototype.addContentsCss=function(a){var e=this.config,b=e.contentsCss;CKEDITOR.tools.isArray(b)||(e.contentsCss=b?[b]:[]);e.contentsCss.push(a)};l=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments);this._.frameLoadedHandler=
CKEDITOR.tools.addFunction(function(a){CKEDITOR.tools.setTimeout(m,0,this,a)},this);this._.docTitle=this.getWindow().getFrame().getAttribute(&quot;title&quot;)},base:CKEDITOR.editable,proto:{setData:function(a,e){var b=this.editor;if(e)this.setHtml(a),this.fixInitialSelection(),b.fire(&quot;dataReady&quot;);else{this._.isLoadingData=!0;b._.dataStore={id:1};var c=b.config,d=c.fullPage,f=c.docType,g=CKEDITOR.tools.buildStyleHtml(p()).replace(/&lt;style&gt;/,&#039;\x3cstyle data-cke-temp\x3d&quot;1&quot;\x3e&#039;);d||(g+=CKEDITOR.tools.buildStyleHtml(b.config.contentsCss));
var h=c.baseHref?&#039;\x3cbase href\x3d&quot;&#039;+c.baseHref+&#039;&quot; data-cke-temp\x3d&quot;1&quot; /\x3e&#039;:&quot;&quot;;d&amp;&amp;(a=a.replace(/&lt;!DOCTYPE[^&gt;]*&gt;/i,function(a){b.docType=f=a;return&quot;&quot;}).replace(/&lt;\?xml\s[^\?]*\?&gt;/i,function(a){b.xmlDeclaration=a;return&quot;&quot;}));a=b.dataProcessor.toHtml(a);d?(/&lt;body[\s|&gt;]/.test(a)||(a=&quot;\x3cbody\x3e&quot;+a),/&lt;html[\s|&gt;]/.test(a)||(a=&quot;\x3chtml\x3e&quot;+a+&quot;\x3c/html\x3e&quot;),/&lt;head[\s|&gt;]/.test(a)?/&lt;title[\s|&gt;]/.test(a)||(a=a.replace(/&lt;head[^&gt;]*&gt;/,&quot;$\x26\x3ctitle\x3e\x3c/title\x3e&quot;)):a=a.replace(/&lt;html[^&gt;]*&gt;/,&quot;$\x26\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e&quot;),
h&amp;&amp;(a=a.replace(/&lt;head[^&gt;]*?&gt;/,&quot;$\x26&quot;+h)),a=a.replace(/&lt;\/head\s*&gt;/,g+&quot;$\x26&quot;),a=f+a):a=c.docType+&#039;\x3chtml dir\x3d&quot;&#039;+c.contentsLangDirection+&#039;&quot; lang\x3d&quot;&#039;+(c.contentsLanguage||b.langCode)+&#039;&quot;\x3e\x3chead\x3e\x3ctitle\x3e&#039;+this._.docTitle+&quot;\x3c/title\x3e&quot;+h+g+&quot;\x3c/head\x3e\x3cbody&quot;+(c.bodyId?&#039; id\x3d&quot;&#039;+c.bodyId+&#039;&quot;&#039;:&quot;&quot;)+(c.bodyClass?&#039; class\x3d&quot;&#039;+c.bodyClass+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+a+&quot;\x3c/body\x3e\x3c/html\x3e&quot;;CKEDITOR.env.gecko&amp;&amp;(a=a.replace(/&lt;body/,&#039;\x3cbody contenteditable\x3d&quot;true&quot; &#039;),2E4&gt;CKEDITOR.env.version&amp;&amp;
(a=a.replace(/&lt;body[^&gt;]*&gt;/,&quot;$\x26\x3c!-- cke-content-start --\x3e&quot;)));c=&#039;\x3cscript id\x3d&quot;cke_actscrpt&quot; type\x3d&quot;text/javascript&quot;&#039;+(CKEDITOR.env.ie?&#039; defer\x3d&quot;defer&quot; &#039;:&quot;&quot;)+&quot;\x3evar wasLoaded\x3d0;function onload(){if(!wasLoaded)window.parent.CKEDITOR.tools.callFunction(&quot;+this._.frameLoadedHandler+&quot;,window);wasLoaded\x3d1;}&quot;+(CKEDITOR.env.ie?&quot;onload();&quot;:&#039;document.addEventListener(&quot;DOMContentLoaded&quot;, onload, false );&#039;)+&quot;\x3c/script\x3e&quot;;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;(c+=&#039;\x3cscript id\x3d&quot;cke_shimscrpt&quot;\x3ewindow.parent.CKEDITOR.tools.enableHtml5Elements(document)\x3c/script\x3e&#039;);
h&amp;&amp;CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;(c+=&#039;\x3cscript id\x3d&quot;cke_basetagscrpt&quot;\x3evar baseTag \x3d document.querySelector( &quot;base&quot; );baseTag.href \x3d baseTag.href;\x3c/script\x3e&#039;);a=a.replace(/(?=\s*&lt;\/(:?head)&gt;)/,c);this.clearCustomData();this.clearListeners();b.fire(&quot;contentDomUnload&quot;);var k=this.getDocument();try{k.write(a)}catch(l){setTimeout(function(){k.write(a)},0)}}},getData:function(a){if(a)return this.getHtml();a=this.editor;var e=a.config,b=e.fullPage,c=b&amp;&amp;a.docType,d=b&amp;&amp;a.xmlDeclaration,
f=this.getDocument(),b=b?f.getDocumentElement().getOuterHtml():f.getBody().getHtml();CKEDITOR.env.gecko&amp;&amp;e.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(b=b.replace(/&lt;br&gt;(?=\s*(:?$|&lt;\/body&gt;))/,&quot;&quot;));b=a.dataProcessor.toDataFormat(b);d&amp;&amp;(b=d+&quot;\n&quot;+b);c&amp;&amp;(b=c+&quot;\n&quot;+b);return b},focus:function(){this._.isLoadingData?this._.isPendingFocus=!0:l.baseProto.focus.call(this)},detach:function(){var a=this.editor,e=a.document,a=a.container.findOne(&quot;iframe.cke_wysiwyg_frame&quot;);l.baseProto.detach.call(this);this.clearCustomData(this._.expandoNumber);
e.getDocumentElement().clearCustomData();CKEDITOR.tools.removeFunction(this._.frameLoadedHandler);a&amp;&amp;(a.clearCustomData(),(e=a.removeCustomData(&quot;onResize&quot;))&amp;&amp;e.removeListener(),a.isDetached()||a.remove())}}})})();CKEDITOR.config.disableObjectResizing=!1;CKEDITOR.config.disableNativeTableHandles=!0;CKEDITOR.config.disableNativeSpellChecker=!0;(function(){function e(b,a){a||(a=b.getSelection().getSelectedElement());if(a&amp;&amp;a.is(&quot;img&quot;)&amp;&amp;!a.data(&quot;cke-realelement&quot;)&amp;&amp;!a.isReadOnly())return a}function f(b){var a=b.getStyle(&quot;float&quot;);if(&quot;inherit&quot;==a||&quot;none&quot;==a)a=0;a||(a=b.getAttribute(&quot;align&quot;));return a}CKEDITOR.plugins.add(&quot;image&quot;,{requires:&quot;dialog&quot;,init:function(b){if(!b.plugins.detectConflict(&quot;image&quot;,[&quot;easyimage&quot;,&quot;image2&quot;])){CKEDITOR.dialog.add(&quot;image&quot;,this.path+&quot;dialogs/image.js&quot;);var a=&quot;img[alt,!src]{border-style,border-width,float,height,margin,margin-bottom,margin-left,margin-right,margin-top,width}&quot;;
CKEDITOR.dialog.isTabEnabled(b,&quot;image&quot;,&quot;advanced&quot;)&amp;&amp;(a=&quot;img[alt,dir,id,lang,longdesc,!src,title]{*}(*)&quot;);b.addCommand(&quot;image&quot;,new CKEDITOR.dialogCommand(&quot;image&quot;,{allowedContent:a,requiredContent:&quot;img[alt,src]&quot;,contentTransformations:[[&quot;img{width}: sizeToStyle&quot;,&quot;img[width]: sizeToAttribute&quot;],[&quot;img{float}: alignmentToStyle&quot;,&quot;img[align]: alignmentToAttribute&quot;]]}));b.ui.addButton&amp;&amp;b.ui.addButton(&quot;Image&quot;,{label:b.lang.common.image,command:&quot;image&quot;,toolbar:&quot;insert,10&quot;});b.on(&quot;doubleclick&quot;,function(b){var a=
b.data.element;!a.is(&quot;img&quot;)||a.data(&quot;cke-realelement&quot;)||a.isReadOnly()||(b.data.dialog=&quot;image&quot;)});b.addMenuItems&amp;&amp;b.addMenuItems({image:{label:b.lang.image.menu,command:&quot;image&quot;,group:&quot;image&quot;}});b.contextMenu&amp;&amp;b.contextMenu.addListener(function(a){if(e(b,a))return{image:CKEDITOR.TRISTATE_OFF}})}},afterInit:function(b){function a(a){var d=b.getCommand(&quot;justify&quot;+a);if(d){if(&quot;left&quot;==a||&quot;right&quot;==a)d.on(&quot;exec&quot;,function(d){var c=e(b),g;c&amp;&amp;(g=f(c),g==a?(c.removeStyle(&quot;float&quot;),a==f(c)&amp;&amp;c.removeAttribute(&quot;align&quot;)):
c.setStyle(&quot;float&quot;,a),d.cancel())});d.on(&quot;refresh&quot;,function(d){var c=e(b);c&amp;&amp;(c=f(c),this.setState(c==a?CKEDITOR.TRISTATE_ON:&quot;right&quot;==a||&quot;left&quot;==a?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),d.cancel())})}}b.plugins.image2||(a(&quot;left&quot;),a(&quot;right&quot;),a(&quot;center&quot;),a(&quot;block&quot;))}})})();CKEDITOR.config.image_removeLinkByEmptyURL=!0;(function(){function m(a,b){var e,f;b.on(&quot;refresh&quot;,function(a){var b=[k],c;for(c in a.data.states)b.push(a.data.states[c]);this.setState(CKEDITOR.tools.search(b,p)?p:k)},b,null,100);b.on(&quot;exec&quot;,function(b){e=a.getSelection();f=e.createBookmarks(1);b.data||(b.data={});b.data.done=!1},b,null,0);b.on(&quot;exec&quot;,function(){a.forceNextSelectionCheck();e.selectBookmarks(f)},b,null,100)}var k=CKEDITOR.TRISTATE_DISABLED,p=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indent&quot;,{init:function(a){var b=CKEDITOR.plugins.indent.genericDefinition;
m(a,a.addCommand(&quot;indent&quot;,new b(!0)));m(a,a.addCommand(&quot;outdent&quot;,new b));a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;Indent&quot;,{label:a.lang.indent.indent,command:&quot;indent&quot;,directional:!0,toolbar:&quot;indent,20&quot;}),a.ui.addButton(&quot;Outdent&quot;,{label:a.lang.indent.outdent,command:&quot;outdent&quot;,directional:!0,toolbar:&quot;indent,10&quot;}));a.on(&quot;dirChanged&quot;,function(b){var f=a.createRange(),l=b.data.node;f.setStartBefore(l);f.setEndAfter(l);for(var n=new CKEDITOR.dom.walker(f),c;c=n.next();)if(c.type==CKEDITOR.NODE_ELEMENT)if(!c.equals(l)&amp;&amp;
c.getDirection())f.setStartAfter(c),n=new CKEDITOR.dom.walker(f);else{var d=a.config.indentClasses;if(d)for(var g=&quot;ltr&quot;==b.data.dir?[&quot;_rtl&quot;,&quot;&quot;]:[&quot;&quot;,&quot;_rtl&quot;],h=0;h&lt;d.length;h++)c.hasClass(d[h]+g[0])&amp;&amp;(c.removeClass(d[h]+g[0]),c.addClass(d[h]+g[1]));d=c.getStyle(&quot;margin-right&quot;);g=c.getStyle(&quot;margin-left&quot;);d?c.setStyle(&quot;margin-left&quot;,d):c.removeStyle(&quot;margin-left&quot;);g?c.setStyle(&quot;margin-right&quot;,g):c.removeStyle(&quot;margin-right&quot;)}})}});CKEDITOR.plugins.indent={genericDefinition:function(a){this.isIndent=!!a;
this.startDisabled=!this.isIndent},specificDefinition:function(a,b,e){this.name=b;this.editor=a;this.jobs={};this.enterBr=a.config.enterMode==CKEDITOR.ENTER_BR;this.isIndent=!!e;this.relatedGlobal=e?&quot;indent&quot;:&quot;outdent&quot;;this.indentKey=e?9:CKEDITOR.SHIFT+9;this.database={}},registerCommands:function(a,b){a.on(&quot;pluginsLoaded&quot;,function(){for(var a in b)(function(a,b){var e=a.getCommand(b.relatedGlobal),c;for(c in b.jobs)e.on(&quot;exec&quot;,function(d){d.data.done||(a.fire(&quot;lockSnapshot&quot;),b.execJob(a,c)&amp;&amp;(d.data.done=
!0),a.fire(&quot;unlockSnapshot&quot;),CKEDITOR.dom.element.clearAllMarkers(b.database))},this,null,c),e.on(&quot;refresh&quot;,function(d){d.data.states||(d.data.states={});d.data.states[b.name+&quot;@&quot;+c]=b.refreshJob(a,c,d.data.path)},this,null,c);a.addFeature(b)})(this,b[a])})}};CKEDITOR.plugins.indent.genericDefinition.prototype={context:&quot;p&quot;,exec:function(){}};CKEDITOR.plugins.indent.specificDefinition.prototype={execJob:function(a,b){var e=this.jobs[b];if(e.state!=k)return e.exec.call(this,a)},refreshJob:function(a,
b,e){b=this.jobs[b];a.activeFilter.checkFeature(this)?b.state=b.refresh.call(this,a,e):b.state=k;return b.state},getContext:function(a){return a.contains(this.context)}}})();(function(){function f(b,c,a){if(!b.getCustomData(&quot;indent_processed&quot;)){var d=this.editor,l=this.isIndent;if(c){d=b.$.className.match(this.classNameRegex);a=0;d&amp;&amp;(d=d[1],a=CKEDITOR.tools.indexOf(c,d)+1);if(0&gt;(a+=l?1:-1))return;a=Math.min(a,c.length);a=Math.max(a,0);b.$.className=CKEDITOR.tools.ltrim(b.$.className.replace(this.classNameRegex,&quot;&quot;));0&lt;a&amp;&amp;b.addClass(c[a-1])}else{c=m(b,a);a=parseInt(b.getStyle(c),10);var g=d.config.indentOffset||40;isNaN(a)&amp;&amp;(a=0);a+=(l?1:-1)*g;if(0&gt;a)return;a=Math.max(a,
0);a=Math.ceil(a/g)*g;b.setStyle(c,a?a+(d.config.indentUnit||&quot;px&quot;):&quot;&quot;);&quot;&quot;===b.getAttribute(&quot;style&quot;)&amp;&amp;b.removeAttribute(&quot;style&quot;)}CKEDITOR.dom.element.setMarker(this.database,b,&quot;indent_processed&quot;,1)}}function m(b,c){return&quot;ltr&quot;==(c||b.getComputedStyle(&quot;direction&quot;))?&quot;margin-left&quot;:&quot;margin-right&quot;}var h=CKEDITOR.dtd.$listItem,p=CKEDITOR.dtd.$list,k=CKEDITOR.TRISTATE_DISABLED,n=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indentblock&quot;,{requires:&quot;indent&quot;,init:function(b){function c(){a.specificDefinition.apply(this,
arguments);this.allowedContent={&quot;div h1 h2 h3 h4 h5 h6 ol p pre ul&quot;:{propertiesOnly:!0,styles:d?null:&quot;margin-left,margin-right&quot;,classes:d||null}};this.contentTransformations=[[&quot;div: splitMarginShorthand&quot;],[&quot;h1: splitMarginShorthand&quot;],[&quot;h2: splitMarginShorthand&quot;],[&quot;h3: splitMarginShorthand&quot;],[&quot;h4: splitMarginShorthand&quot;],[&quot;h5: splitMarginShorthand&quot;],[&quot;h6: splitMarginShorthand&quot;],[&quot;ol: splitMarginShorthand&quot;],[&quot;p: splitMarginShorthand&quot;],[&quot;pre: splitMarginShorthand&quot;],[&quot;ul: splitMarginShorthand&quot;]];this.enterBr&amp;&amp;
(this.allowedContent.div=!0);this.requiredContent=(this.enterBr?&quot;div&quot;:&quot;p&quot;)+(d?&quot;(&quot;+d.join(&quot;,&quot;)+&quot;)&quot;:&quot;{margin-left}&quot;);this.jobs={20:{refresh:function(a,b){var e=b.block||b.blockLimit;if(!e.is(h))var c=e.getAscendant(h),e=c&amp;&amp;b.contains(c)||e;e.is(h)&amp;&amp;(e=e.getParent());if(this.enterBr||this.getContext(b)){if(d){var c=d,e=e.$.className.match(this.classNameRegex),f=this.isIndent,c=e?f?e[1]!=c.slice(-1):!0:f;return c?n:k}return this.isIndent?n:e?CKEDITOR[0&gt;=(parseInt(e.getStyle(m(e)),10)||0)?&quot;TRISTATE_DISABLED&quot;:
&quot;TRISTATE_OFF&quot;]:k}return k},exec:function(a){var b=a.getSelection(),b=b&amp;&amp;b.getRanges()[0],c;if(c=a.elementPath().contains(p))f.call(this,c,d);else for(b=b.createIterator(),a=a.config.enterMode,b.enforceRealBlocks=!0,b.enlargeBr=a!=CKEDITOR.ENTER_BR;c=b.getNextParagraph(a==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;);)c.isReadOnly()||f.call(this,c,d);return!0}}}}var a=CKEDITOR.plugins.indent,d=b.config.indentClasses;a.registerCommands(b,{indentblock:new c(b,&quot;indentblock&quot;,!0),outdentblock:new c(b,&quot;outdentblock&quot;)});
CKEDITOR.tools.extend(c.prototype,a.specificDefinition.prototype,{context:{div:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ul:1,ol:1,p:1,pre:1,table:1},classNameRegex:d?new RegExp(&quot;(?:^|\\s+)(&quot;+d.join(&quot;|&quot;)+&quot;)(?\x3d$|\\s)&quot;):null})}})})();(function(){function w(f){function g(b){for(var e=c.startContainer,a=c.endContainer;e&amp;&amp;!e.getParent().equals(b);)e=e.getParent();for(;a&amp;&amp;!a.getParent().equals(b);)a=a.getParent();if(!e||!a)return!1;for(var d=[],h=!1;!h;)e.equals(a)&amp;&amp;(h=!0),d.push(e),e=e.getNext();if(1&gt;d.length)return!1;e=b.getParents(!0);for(a=0;a&lt;e.length;a++)if(e[a].getName&amp;&amp;p[e[a].getName()]){b=e[a];break}for(var e=k.isIndent?1:-1,a=d[0],d=d[d.length-1],h=CKEDITOR.plugins.list.listToArray(b,q),m=h[d.getCustomData(&quot;listarray_index&quot;)].indent,
a=a.getCustomData(&quot;listarray_index&quot;);a&lt;=d.getCustomData(&quot;listarray_index&quot;);a++)if(h[a].indent+=e,0&lt;e){for(var g=h[a].parent,n=a-1;0&lt;=n;n--)if(h[n].indent===e){g=h[n].parent;break}h[a].parent=new CKEDITOR.dom.element(g.getName(),g.getDocument())}for(a=d.getCustomData(&quot;listarray_index&quot;)+1;a&lt;h.length&amp;&amp;h[a].indent&gt;m;a++)h[a].indent+=e;e=CKEDITOR.plugins.list.arrayToList(h,q,null,f.config.enterMode,b.getDirection());if(!k.isIndent){var t;if((t=b.getParent())&amp;&amp;t.is(&quot;li&quot;))for(var d=e.listNode.getChildren(),
r=[],l,a=d.count()-1;0&lt;=a;a--)(l=d.getItem(a))&amp;&amp;l.is&amp;&amp;l.is(&quot;li&quot;)&amp;&amp;r.push(l)}e&amp;&amp;e.listNode.replace(b);if(r&amp;&amp;r.length)for(a=0;a&lt;r.length;a++){for(l=b=r[a];(l=l.getNext())&amp;&amp;l.is&amp;&amp;l.getName()in p;)CKEDITOR.env.needsNbspFiller&amp;&amp;!b.getFirst(x)&amp;&amp;b.append(c.document.createText(&quot; &quot;)),b.append(l);b.insertAfter(t)}e&amp;&amp;f.fire(&quot;contentDomInvalidated&quot;);return!0}for(var k=this,q=this.database,p=this.context,c,m=f.getSelection(),m=(m&amp;&amp;m.getRanges()).createIterator();c=m.getNextRange();){for(var b=c.getCommonAncestor();b&amp;&amp;
(b.type!=CKEDITOR.NODE_ELEMENT||!p[b.getName()]);){if(f.editable().equals(b)){b=!1;break}b=b.getParent()}b||(b=c.startPath().contains(p))&amp;&amp;c.setEndAt(b,CKEDITOR.POSITION_BEFORE_END);if(!b){var d=c.getEnclosedNode();d&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.getName()in p&amp;&amp;(c.setStartAt(d,CKEDITOR.POSITION_AFTER_START),c.setEndAt(d,CKEDITOR.POSITION_BEFORE_END),b=d)}b&amp;&amp;c.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.startContainer.getName()in p&amp;&amp;(d=new CKEDITOR.dom.walker(c),d.evaluator=n,c.startContainer=
d.next());b&amp;&amp;c.endContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.endContainer.getName()in p&amp;&amp;(d=new CKEDITOR.dom.walker(c),d.evaluator=n,c.endContainer=d.previous());if(b)return g(b)}return 0}function n(f){return f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(&quot;li&quot;)}function x(f){return y(f)&amp;&amp;z(f)}var y=CKEDITOR.dom.walker.whitespaces(!0),z=CKEDITOR.dom.walker.bookmark(!1,!0),u=CKEDITOR.TRISTATE_DISABLED,v=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indentlist&quot;,{requires:&quot;indent&quot;,init:function(f){function g(f){k.specificDefinition.apply(this,
arguments);this.requiredContent=[&quot;ul&quot;,&quot;ol&quot;];f.on(&quot;key&quot;,function(g){var c=f.elementPath();if(&quot;wysiwyg&quot;==f.mode&amp;&amp;g.data.keyCode==this.indentKey&amp;&amp;c){var m=this.getContext(c);!m||this.isIndent&amp;&amp;CKEDITOR.plugins.indentList.firstItemInPath(this.context,c,m)||(f.execCommand(this.relatedGlobal),g.cancel())}},this);this.jobs[this.isIndent?10:30]={refresh:this.isIndent?function(f,c){var g=this.getContext(c),b=CKEDITOR.plugins.indentList.firstItemInPath(this.context,c,g);return g&amp;&amp;this.isIndent&amp;&amp;!b?v:u}:function(f,
c){return!this.getContext(c)||this.isIndent?u:v},exec:CKEDITOR.tools.bind(w,this)}}var k=CKEDITOR.plugins.indent;k.registerCommands(f,{indentlist:new g(f,&quot;indentlist&quot;,!0),outdentlist:new g(f,&quot;outdentlist&quot;)});CKEDITOR.tools.extend(g.prototype,k.specificDefinition.prototype,{context:{ol:1,ul:1}})}});CKEDITOR.plugins.indentList={};CKEDITOR.plugins.indentList.firstItemInPath=function(f,g,k){var q=g.contains(n);k||(k=g.contains(f));return k&amp;&amp;q&amp;&amp;q.equals(k.getFirst(n))}})();CKEDITOR.plugins.add(&quot;smiley&quot;,{requires:&quot;dialog&quot;,init:function(a){a.config.smiley_path=a.config.smiley_path||this.path+&quot;images/&quot;;a.addCommand(&quot;smiley&quot;,new CKEDITOR.dialogCommand(&quot;smiley&quot;,{allowedContent:&quot;img[alt,height,!src,title,width]&quot;,requiredContent:&quot;img&quot;}));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Smiley&quot;,{label:a.lang.smiley.toolbar,command:&quot;smiley&quot;,toolbar:&quot;insert,50&quot;});CKEDITOR.dialog.add(&quot;smiley&quot;,this.path+&quot;dialogs/smiley.js&quot;)}});CKEDITOR.config.smiley_images=&quot;regular_smile.png sad_smile.png wink_smile.png teeth_smile.png confused_smile.png tongue_smile.png embarrassed_smile.png omg_smile.png whatchutalkingabout_smile.png angry_smile.png angel_smile.png shades_smile.png devil_smile.png cry_smile.png lightbulb.png thumbs_down.png thumbs_up.png heart.png broken_heart.png kiss.png envelope.png&quot;.split(&quot; &quot;);
CKEDITOR.config.smiley_descriptions=&quot;smiley;sad;wink;laugh;frown;cheeky;blush;surprise;indecision;angry;angel;cool;devil;crying;enlightened;no;yes;heart;broken heart;kiss;mail&quot;.split(&quot;;&quot;);(function(){function q(a,c){c=void 0===c||c;var b;if(c)b=a.getComputedStyle(&quot;text-align&quot;);else{for(;!a.hasAttribute||!a.hasAttribute(&quot;align&quot;)&amp;&amp;!a.getStyle(&quot;text-align&quot;);){b=a.getParent();if(!b)break;a=b}b=a.getStyle(&quot;text-align&quot;)||a.getAttribute(&quot;align&quot;)||&quot;&quot;}b&amp;&amp;(b=b.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i,&quot;&quot;));!b&amp;&amp;c&amp;&amp;(b=&quot;rtl&quot;==a.getComputedStyle(&quot;direction&quot;)?&quot;right&quot;:&quot;left&quot;);return b}function h(a,c,b){this.editor=a;this.name=c;this.value=b;this.context=&quot;p&quot;;c=a.config.justifyClasses;var f=a.config.enterMode==
CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;if(c){switch(b){case &quot;left&quot;:this.cssClassName=c[0];break;case &quot;center&quot;:this.cssClassName=c[1];break;case &quot;right&quot;:this.cssClassName=c[2];break;case &quot;justify&quot;:this.cssClassName=c[3]}this.cssClassRegex=new RegExp(&quot;(?:^|\\s+)(?:&quot;+c.join(&quot;|&quot;)+&quot;)(?\x3d$|\\s)&quot;);this.requiredContent=f+&quot;(&quot;+this.cssClassName+&quot;)&quot;}else this.requiredContent=f+&quot;{text-align}&quot;;this.allowedContent={&quot;caption div h1 h2 h3 h4 h5 h6 p pre td th li&quot;:{propertiesOnly:!0,styles:this.cssClassName?null:&quot;text-align&quot;,
classes:this.cssClassName||null}};a.config.enterMode==CKEDITOR.ENTER_BR&amp;&amp;(this.allowedContent.div=!0)}function m(a){var c=a.editor,b=c.createRange();b.setStartBefore(a.data.node);b.setEndAfter(a.data.node);for(var f=new CKEDITOR.dom.walker(b),d;d=f.next();)if(d.type==CKEDITOR.NODE_ELEMENT)if(!d.equals(a.data.node)&amp;&amp;d.getDirection())b.setStartAfter(d),f=new CKEDITOR.dom.walker(b);else{var e=c.config.justifyClasses;e&amp;&amp;(d.hasClass(e[0])?(d.removeClass(e[0]),d.addClass(e[2])):d.hasClass(e[2])&amp;&amp;(d.removeClass(e[2]),
d.addClass(e[0])));e=d.getStyle(&quot;text-align&quot;);&quot;left&quot;==e?d.setStyle(&quot;text-align&quot;,&quot;right&quot;):&quot;right&quot;==e&amp;&amp;d.setStyle(&quot;text-align&quot;,&quot;left&quot;)}}h.prototype={exec:function(a){var c=a.getSelection(),b=a.config.enterMode;if(c){for(var f=c.createBookmarks(),d=c.getRanges(),e=this.cssClassName,h,g,k=a.config.useComputedState,k=void 0===k||k,n=d.length-1;0&lt;=n;n--)for(h=d[n].createIterator(),h.enlargeBr=b!=CKEDITOR.ENTER_BR;g=h.getNextParagraph(b==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;);)if(!g.isReadOnly()){var l=g.getName(),
p;p=a.activeFilter.check(l+&quot;{text-align}&quot;);if((l=a.activeFilter.check(l+&quot;(&quot;+e+&quot;)&quot;))||p){g.removeAttribute(&quot;align&quot;);g.removeStyle(&quot;text-align&quot;);var m=e&amp;&amp;(g.$.className=CKEDITOR.tools.ltrim(g.$.className.replace(this.cssClassRegex,&quot;&quot;))),r=this.state==CKEDITOR.TRISTATE_OFF&amp;&amp;(!k||q(g,!0)!=this.value);e&amp;&amp;l?r?g.addClass(e):m||g.removeAttribute(&quot;class&quot;):r&amp;&amp;p&amp;&amp;g.setStyle(&quot;text-align&quot;,this.value)}}a.focus();a.forceNextSelectionCheck();c.selectBookmarks(f)}},refresh:function(a,c){var b=c.block||c.blockLimit,
f=b.getName(),d=b.equals(a.editable()),f=this.cssClassName?a.activeFilter.check(f+&quot;(&quot;+this.cssClassName+&quot;)&quot;):a.activeFilter.check(f+&quot;{text-align}&quot;);d&amp;&amp;!CKEDITOR.dtd.$list[c.lastElement.getName()]?this.setState(CKEDITOR.TRISTATE_OFF):!d&amp;&amp;f?this.setState(q(b,this.editor.config.useComputedState)==this.value?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}};CKEDITOR.plugins.add(&quot;justify&quot;,{init:function(a){if(!a.blockless){var c=new h(a,&quot;justifyleft&quot;,&quot;left&quot;),b=new h(a,
&quot;justifycenter&quot;,&quot;center&quot;),f=new h(a,&quot;justifyright&quot;,&quot;right&quot;),d=new h(a,&quot;justifyblock&quot;,&quot;justify&quot;);a.addCommand(&quot;justifyleft&quot;,c);a.addCommand(&quot;justifycenter&quot;,b);a.addCommand(&quot;justifyright&quot;,f);a.addCommand(&quot;justifyblock&quot;,d);a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;JustifyLeft&quot;,{label:a.lang.common.alignLeft,command:&quot;justifyleft&quot;,toolbar:&quot;align,10&quot;}),a.ui.addButton(&quot;JustifyCenter&quot;,{label:a.lang.common.center,command:&quot;justifycenter&quot;,toolbar:&quot;align,20&quot;}),a.ui.addButton(&quot;JustifyRight&quot;,{label:a.lang.common.alignRight,
command:&quot;justifyright&quot;,toolbar:&quot;align,30&quot;}),a.ui.addButton(&quot;JustifyBlock&quot;,{label:a.lang.common.justify,command:&quot;justifyblock&quot;,toolbar:&quot;align,40&quot;}));a.on(&quot;dirChanged&quot;,m)}}})})();CKEDITOR.plugins.add(&quot;menubutton&quot;,{requires:&quot;button,menu&quot;,onLoad:function(){var d=function(c){var a=this._,b=a.menu;a.state!==CKEDITOR.TRISTATE_DISABLED&amp;&amp;(a.on&amp;&amp;b?b.hide():(a.previousState=a.state,b||(b=a.menu=new CKEDITOR.menu(c,{panel:{className:&quot;cke_menu_panel&quot;,attributes:{&quot;aria-label&quot;:c.lang.common.options}}}),b.onHide=CKEDITOR.tools.bind(function(){var b=this.command?c.getCommand(this.command).modes:this.modes;this.setState(!b||b[c.mode]?a.previousState:CKEDITOR.TRISTATE_DISABLED);a.on=0},this),
this.onMenu&amp;&amp;b.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),a.on=1,setTimeout(function(){b.show(CKEDITOR.document.getById(a.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(c){delete c.panel;this.base(c);this.hasArrow=&quot;menu&quot;;this.click=d},statics:{handler:{create:function(c){return new CKEDITOR.ui.menuButton(c)}}}})},beforeInit:function(d){d.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler)}});
CKEDITOR.UI_MENUBUTTON=&quot;menubutton&quot;;(function(){CKEDITOR.plugins.add(&quot;language&quot;,{requires:&quot;menubutton&quot;,init:function(a){var b=a.config.language_list||[&quot;ar:Arabic:rtl&quot;,&quot;fr:French&quot;,&quot;es:Spanish&quot;],c=this,d=a.lang.language,e={},g,h,k,f;a.addCommand(&quot;language&quot;,{allowedContent:&quot;span[!lang,!dir]&quot;,requiredContent:&quot;span[lang,dir]&quot;,contextSensitive:!0,exec:function(a,b){var c=e[&quot;language_&quot;+b];if(c)a[c.style.checkActive(a.elementPath(),a)?&quot;removeStyle&quot;:&quot;applyStyle&quot;](c.style)},refresh:function(a){this.setState(c.getCurrentLangElement(a)?CKEDITOR.TRISTATE_ON:
CKEDITOR.TRISTATE_OFF)}});for(f=0;f&lt;b.length;f++)g=b[f].split(&quot;:&quot;),h=g[0],k=&quot;language_&quot;+h,e[k]={label:g[1],langId:h,group:&quot;language&quot;,order:f,ltr:&quot;rtl&quot;!=(&quot;&quot;+g[2]).toLowerCase(),onClick:function(){a.execCommand(&quot;language&quot;,this.langId)},role:&quot;menuitemcheckbox&quot;},e[k].style=new CKEDITOR.style({element:&quot;span&quot;,attributes:{lang:h,dir:e[k].ltr?&quot;ltr&quot;:&quot;rtl&quot;}});e.language_remove={label:d.remove,group:&quot;language_remove&quot;,state:CKEDITOR.TRISTATE_DISABLED,order:e.length,onClick:function(){var b=c.getCurrentLangElement(a);
b&amp;&amp;a.execCommand(&quot;language&quot;,b.getAttribute(&quot;lang&quot;))}};a.addMenuGroup(&quot;language&quot;,1);a.addMenuGroup(&quot;language_remove&quot;);a.addMenuItems(e);a.ui.add(&quot;Language&quot;,CKEDITOR.UI_MENUBUTTON,{label:d.button,allowedContent:&quot;span[!lang,!dir]&quot;,requiredContent:&quot;span[lang,dir]&quot;,toolbar:&quot;bidi,30&quot;,command:&quot;language&quot;,onMenu:function(){var b={},d=c.getCurrentLangElement(a),f;for(f in e)b[f]=CKEDITOR.TRISTATE_OFF;b.language_remove=d?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;d&amp;&amp;(b[&quot;language_&quot;+d.getAttribute(&quot;lang&quot;)]=
CKEDITOR.TRISTATE_ON);return b}});a.addRemoveFormatFilter&amp;&amp;a.addRemoveFormatFilter(function(a){return!(a.is(&quot;span&quot;)&amp;&amp;a.getAttribute(&quot;dir&quot;)&amp;&amp;a.getAttribute(&quot;lang&quot;))})},getCurrentLangElement:function(a){var b=a.elementPath();a=b&amp;&amp;b.elements;var c;if(b)for(var d=0;d&lt;a.length;d++)b=a[d],!c&amp;&amp;&quot;span&quot;==b.getName()&amp;&amp;b.hasAttribute(&quot;dir&quot;)&amp;&amp;b.hasAttribute(&quot;lang&quot;)&amp;&amp;(c=b);return c}})})();(function(){function p(c){return c.replace(/&#039;/g,&quot;\\$\x26&quot;)}function q(c){for(var b=c.length,a=[],e,f=0;f&lt;b;f++)e=c.charCodeAt(f),a.push(e);return&quot;String.fromCharCode(&quot;+a.join(&quot;,&quot;)+&quot;)&quot;}function r(c,b){for(var a=c.plugins.link,e=a.compiledProtectionFunction.params,a=[a.compiledProtectionFunction.name,&quot;(&quot;],f,d,g=0;g&lt;e.length;g++)f=e[g].toLowerCase(),d=b[f],0&lt;g&amp;&amp;a.push(&quot;,&quot;),a.push(&quot;&#039;&quot;,d?p(encodeURIComponent(b[f])):&quot;&quot;,&quot;&#039;&quot;);a.push(&quot;)&quot;);return a.join(&quot;&quot;)}function n(c){c=c.config.emailProtection||&quot;&quot;;var b;
c&amp;&amp;&quot;encode&quot;!=c&amp;&amp;(b={},c.replace(/^([^(]+)\(([^)]+)\)$/,function(a,c,f){b.name=c;b.params=[];f.replace(/[^,\s]+/g,function(a){b.params.push(a)})}));return b}CKEDITOR.plugins.add(&quot;link&quot;,{requires:&quot;dialog,fakeobjects&quot;,onLoad:function(){function c(b){return a.replace(/%1/g,&quot;rtl&quot;==b?&quot;right&quot;:&quot;left&quot;).replace(/%2/g,&quot;cke_contents_&quot;+b)}var b=&quot;background:url(&quot;+CKEDITOR.getUrl(this.path+&quot;images&quot;+(CKEDITOR.env.hidpi?&quot;/hidpi&quot;:&quot;&quot;)+&quot;/anchor.png&quot;)+&quot;) no-repeat %1 center;border:1px dotted #00f;background-size:16px;&quot;,
a=&quot;.%2 a.cke_anchor,.%2 a.cke_anchor_empty,.cke_editable.%2 a[name],.cke_editable.%2 a[data-cke-saved-name]{&quot;+b+&quot;padding-%1:18px;cursor:auto;}.%2 img.cke_anchor{&quot;+b+&quot;width:16px;min-height:15px;height:1.15em;vertical-align:text-bottom;}&quot;;CKEDITOR.addCss(c(&quot;ltr&quot;)+c(&quot;rtl&quot;))},init:function(c){var b=&quot;a[!href]&quot;;CKEDITOR.dialog.isTabEnabled(c,&quot;link&quot;,&quot;advanced&quot;)&amp;&amp;(b=b.replace(&quot;]&quot;,&quot;,accesskey,charset,dir,id,lang,name,rel,tabindex,title,type,download]{*}(*)&quot;));CKEDITOR.dialog.isTabEnabled(c,&quot;link&quot;,&quot;target&quot;)&amp;&amp;
(b=b.replace(&quot;]&quot;,&quot;,target,onclick]&quot;));c.addCommand(&quot;link&quot;,new CKEDITOR.dialogCommand(&quot;link&quot;,{allowedContent:b,requiredContent:&quot;a[href]&quot;}));c.addCommand(&quot;anchor&quot;,new CKEDITOR.dialogCommand(&quot;anchor&quot;,{allowedContent:&quot;a[!name,id]&quot;,requiredContent:&quot;a[name]&quot;}));c.addCommand(&quot;unlink&quot;,new CKEDITOR.unlinkCommand);c.addCommand(&quot;removeAnchor&quot;,new CKEDITOR.removeAnchorCommand);c.setKeystroke(CKEDITOR.CTRL+76,&quot;link&quot;);c.setKeystroke(CKEDITOR.CTRL+75,&quot;link&quot;);c.ui.addButton&amp;&amp;(c.ui.addButton(&quot;Link&quot;,{label:c.lang.link.toolbar,
command:&quot;link&quot;,toolbar:&quot;links,10&quot;}),c.ui.addButton(&quot;Unlink&quot;,{label:c.lang.link.unlink,command:&quot;unlink&quot;,toolbar:&quot;links,20&quot;}),c.ui.addButton(&quot;Anchor&quot;,{label:c.lang.link.anchor.toolbar,command:&quot;anchor&quot;,toolbar:&quot;links,30&quot;}));CKEDITOR.dialog.add(&quot;link&quot;,this.path+&quot;dialogs/link.js&quot;);CKEDITOR.dialog.add(&quot;anchor&quot;,this.path+&quot;dialogs/anchor.js&quot;);c.on(&quot;doubleclick&quot;,function(a){var b=a.data.element.getAscendant({a:1,img:1},!0);b&amp;&amp;!b.isReadOnly()&amp;&amp;(b.is(&quot;a&quot;)?(a.data.dialog=!b.getAttribute(&quot;name&quot;)||b.getAttribute(&quot;href&quot;)&amp;&amp;
b.getChildCount()?&quot;link&quot;:&quot;anchor&quot;,a.data.link=b):CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b)&amp;&amp;(a.data.dialog=&quot;anchor&quot;))},null,null,0);c.on(&quot;doubleclick&quot;,function(a){a.data.dialog in{link:1,anchor:1}&amp;&amp;a.data.link&amp;&amp;c.getSelection().selectElement(a.data.link)},null,null,20);c.addMenuItems&amp;&amp;c.addMenuItems({anchor:{label:c.lang.link.anchor.menu,command:&quot;anchor&quot;,group:&quot;anchor&quot;,order:1},removeAnchor:{label:c.lang.link.anchor.remove,command:&quot;removeAnchor&quot;,group:&quot;anchor&quot;,order:5},link:{label:c.lang.link.menu,
command:&quot;link&quot;,group:&quot;link&quot;,order:1},unlink:{label:c.lang.link.unlink,command:&quot;unlink&quot;,group:&quot;link&quot;,order:5}});c.contextMenu&amp;&amp;c.contextMenu.addListener(function(a){if(!a||a.isReadOnly())return null;a=CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,a);if(!a&amp;&amp;!(a=CKEDITOR.plugins.link.getSelectedLink(c)))return null;var b={};a.getAttribute(&quot;href&quot;)&amp;&amp;a.getChildCount()&amp;&amp;(b={link:CKEDITOR.TRISTATE_OFF,unlink:CKEDITOR.TRISTATE_OFF});a&amp;&amp;a.hasAttribute(&quot;name&quot;)&amp;&amp;(b.anchor=b.removeAnchor=CKEDITOR.TRISTATE_OFF);
return b});this.compiledProtectionFunction=n(c)},afterInit:function(c){c.dataProcessor.dataFilter.addRules({elements:{a:function(a){return a.attributes.name?a.children.length?null:c.createFakeParserElement(a,&quot;cke_anchor&quot;,&quot;anchor&quot;):null}}});var b=c._.elementsPath&amp;&amp;c._.elementsPath.filters;b&amp;&amp;b.push(function(a,b){if(&quot;a&quot;==b&amp;&amp;(CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,a)||a.getAttribute(&quot;name&quot;)&amp;&amp;(!a.getAttribute(&quot;href&quot;)||!a.getChildCount())))return&quot;anchor&quot;})}});var t=/^javascript:/,u=/^(?:mailto)(?:(?!\?(subject|body)=).)+/i,
v=/subject=([^;?:@&amp;=$,\/]*)/i,w=/body=([^;?:@&amp;=$,\/]*)/i,x=/^#(.*)$/,y=/^((?:http|https|ftp|news):\/\/)?(.*)$/,z=/^(_(?:self|top|parent|blank))$/,A=/^javascript:void\(location\.href=&#039;mailto:&#039;\+String\.fromCharCode\(([^)]+)\)(?:\+&#039;(.*)&#039;)?\)$/,B=/^javascript:([^(]+)\(([^)]+)\)$/,C=/\s*window.open\(\s*this\.href\s*,\s*(?:&#039;([^&#039;]*)&#039;|null)\s*,\s*&#039;([^&#039;]*)&#039;\s*\)\s*;\s*return\s*false;*\s*/,D=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,E=/^tel:(.*)$/,m={id:&quot;advId&quot;,dir:&quot;advLangDir&quot;,accessKey:&quot;advAccessKey&quot;,name:&quot;advName&quot;,
lang:&quot;advLangCode&quot;,tabindex:&quot;advTabIndex&quot;,title:&quot;advTitle&quot;,type:&quot;advContentType&quot;,&quot;class&quot;:&quot;advCSSClasses&quot;,charset:&quot;advCharset&quot;,style:&quot;advStyles&quot;,rel:&quot;advRel&quot;};CKEDITOR.plugins.link={getSelectedLink:function(c,b){var a=c.getSelection(),e=a.getSelectedElement(),f=a.getRanges(),d=[],g;if(!b&amp;&amp;e&amp;&amp;e.is(&quot;a&quot;))return e;for(e=0;e&lt;f.length;e++)if(g=a.getRanges()[e],g.shrink(CKEDITOR.SHRINK_ELEMENT,!0,{skipBogus:!0}),(g=c.elementPath(g.getCommonAncestor()).contains(&quot;a&quot;,1))&amp;&amp;b)d.push(g);else if(g)return g;return b?
d:null},getEditorAnchors:function(c){for(var b=c.editable(),a=b.isInline()&amp;&amp;!c.plugins.divarea?c.document:b,b=a.getElementsByTag(&quot;a&quot;),a=a.getElementsByTag(&quot;img&quot;),e=[],f=0,d;d=b.getItem(f++);)(d.data(&quot;cke-saved-name&quot;)||d.hasAttribute(&quot;name&quot;))&amp;&amp;e.push({name:d.data(&quot;cke-saved-name&quot;)||d.getAttribute(&quot;name&quot;),id:d.getAttribute(&quot;id&quot;)});for(f=0;d=a.getItem(f++);)(d=this.tryRestoreFakeAnchor(c,d))&amp;&amp;e.push({name:d.getAttribute(&quot;name&quot;),id:d.getAttribute(&quot;id&quot;)});return e},fakeAnchor:!0,tryRestoreFakeAnchor:function(c,
b){if(b&amp;&amp;b.data(&quot;cke-real-element-type&quot;)&amp;&amp;&quot;anchor&quot;==b.data(&quot;cke-real-element-type&quot;)){var a=c.restoreRealElement(b);if(a.data(&quot;cke-saved-name&quot;))return a}},parseLinkAttributes:function(c,b){var a=b&amp;&amp;(b.data(&quot;cke-saved-href&quot;)||b.getAttribute(&quot;href&quot;))||&quot;&quot;,e=c.plugins.link.compiledProtectionFunction,f=c.config.emailProtection,d={},g;a.match(t)&amp;&amp;(&quot;encode&quot;==f?a=a.replace(A,function(a,b,c){c=c||&quot;&quot;;return&quot;mailto:&quot;+String.fromCharCode.apply(String,b.split(&quot;,&quot;))+c.replace(/\\&#039;/g,&quot;&#039;&quot;)}):f&amp;&amp;a.replace(B,function(a,
b,c){if(b==e.name){d.type=&quot;email&quot;;a=d.email={};b=/(^&#039;)|(&#039;$)/g;c=c.match(/[^,\s]+/g);for(var f=c.length,g,h,k=0;k&lt;f;k++)g=decodeURIComponent,h=c[k].replace(b,&quot;&quot;).replace(/\\&#039;/g,&quot;&#039;&quot;),h=g(h),g=e.params[k].toLowerCase(),a[g]=h;a.address=[a.name,a.domain].join(&quot;@&quot;)}}));if(!d.type)if(f=a.match(x))d.type=&quot;anchor&quot;,d.anchor={},d.anchor.name=d.anchor.id=f[1];else if(f=a.match(E))d.type=&quot;tel&quot;,d.tel=f[1];else if(f=a.match(u)){g=a.match(v);var a=a.match(w),k=d.email={};d.type=&quot;email&quot;;k.address=f[0].replace(&quot;mailto:&quot;,
&quot;&quot;);g&amp;&amp;(k.subject=decodeURIComponent(g[1]));a&amp;&amp;(k.body=decodeURIComponent(a[1]))}else a&amp;&amp;(g=a.match(y))&amp;&amp;(d.type=&quot;url&quot;,d.url={},d.url.protocol=g[1],d.url.url=g[2]);if(b){if(a=b.getAttribute(&quot;target&quot;))d.target={type:a.match(z)?a:&quot;frame&quot;,name:a};else if(a=(a=b.data(&quot;cke-pa-onclick&quot;)||b.getAttribute(&quot;onclick&quot;))&amp;&amp;a.match(C))for(d.target={type:&quot;popup&quot;,name:a[1]};f=D.exec(a[2]);)&quot;yes&quot;!=f[2]&amp;&amp;&quot;1&quot;!=f[2]||f[1]in{height:1,width:1,top:1,left:1}?isFinite(f[2])&amp;&amp;(d.target[f[1]]=f[2]):d.target[f[1]]=!0;null!==
b.getAttribute(&quot;download&quot;)&amp;&amp;(d.download=!0);var a={},h;for(h in m)(f=b.getAttribute(h))&amp;&amp;(a[m[h]]=f);if(h=b.data(&quot;cke-saved-name&quot;)||a.advName)a.advName=h;CKEDITOR.tools.isEmpty(a)||(d.advanced=a)}return d},getLinkAttributes:function(c,b){var a=c.config.emailProtection||&quot;&quot;,e={};switch(b.type){case &quot;url&quot;:var a=b.url&amp;&amp;void 0!==b.url.protocol?b.url.protocol:&quot;http://&quot;,f=b.url&amp;&amp;CKEDITOR.tools.trim(b.url.url)||&quot;&quot;;e[&quot;data-cke-saved-href&quot;]=0===f.indexOf(&quot;/&quot;)?f:a+f;break;case &quot;anchor&quot;:a=b.anchor&amp;&amp;b.anchor.id;
e[&quot;data-cke-saved-href&quot;]=&quot;#&quot;+(b.anchor&amp;&amp;b.anchor.name||a||&quot;&quot;);break;case &quot;email&quot;:var d=b.email,f=d.address;switch(a){case &quot;&quot;:case &quot;encode&quot;:var g=encodeURIComponent(d.subject||&quot;&quot;),k=encodeURIComponent(d.body||&quot;&quot;),d=[];g&amp;&amp;d.push(&quot;subject\x3d&quot;+g);k&amp;&amp;d.push(&quot;body\x3d&quot;+k);d=d.length?&quot;?&quot;+d.join(&quot;\x26&quot;):&quot;&quot;;&quot;encode&quot;==a?(a=[&quot;javascript:void(location.href\x3d&#039;mailto:&#039;+&quot;,q(f)],d&amp;&amp;a.push(&quot;+&#039;&quot;,p(d),&quot;&#039;&quot;),a.push(&quot;)&quot;)):a=[&quot;mailto:&quot;,f,d];break;default:a=f.split(&quot;@&quot;,2),d.name=a[0],d.domain=a[1],a=[&quot;javascript:&quot;,r(c,
d)]}e[&quot;data-cke-saved-href&quot;]=a.join(&quot;&quot;);break;case &quot;tel&quot;:e[&quot;data-cke-saved-href&quot;]=&quot;tel:&quot;+b.tel}if(b.target)if(&quot;popup&quot;==b.target.type){for(var a=[&quot;window.open(this.href, &#039;&quot;,b.target.name||&quot;&quot;,&quot;&#039;, &#039;&quot;],h=&quot;resizable status location toolbar menubar fullscreen scrollbars dependent&quot;.split(&quot; &quot;),f=h.length,g=function(a){b.target[a]&amp;&amp;h.push(a+&quot;\x3d&quot;+b.target[a])},d=0;d&lt;f;d++)h[d]+=b.target[h[d]]?&quot;\x3dyes&quot;:&quot;\x3dno&quot;;g(&quot;width&quot;);g(&quot;left&quot;);g(&quot;height&quot;);g(&quot;top&quot;);a.push(h.join(&quot;,&quot;),&quot;&#039;); return false;&quot;);e[&quot;data-cke-pa-onclick&quot;]=
a.join(&quot;&quot;)}else&quot;notSet&quot;!=b.target.type&amp;&amp;b.target.name&amp;&amp;(e.target=b.target.name);b.download&amp;&amp;(e.download=&quot;&quot;);if(b.advanced){for(var l in m)(a=b.advanced[m[l]])&amp;&amp;(e[l]=a);e.name&amp;&amp;(e[&quot;data-cke-saved-name&quot;]=e.name)}e[&quot;data-cke-saved-href&quot;]&amp;&amp;(e.href=e[&quot;data-cke-saved-href&quot;]);l={target:1,onclick:1,&quot;data-cke-pa-onclick&quot;:1,&quot;data-cke-saved-name&quot;:1,download:1};b.advanced&amp;&amp;CKEDITOR.tools.extend(l,m);for(var n in e)delete l[n];return{set:e,removed:CKEDITOR.tools.object.keys(l)}},showDisplayTextForElement:function(c,
b){var a={img:1,table:1,tbody:1,thead:1,tfoot:1,input:1,select:1,textarea:1},e=b.getSelection();return b.widgets&amp;&amp;b.widgets.focused||e&amp;&amp;1&lt;e.getRanges().length?!1:!c||!c.getName||!c.is(a)}};CKEDITOR.unlinkCommand=function(){};CKEDITOR.unlinkCommand.prototype={exec:function(c){if(CKEDITOR.env.ie){var b=c.getSelection().getRanges()[0],a=b.getPreviousEditableNode()&amp;&amp;b.getPreviousEditableNode().getAscendant(&quot;a&quot;,!0)||b.getNextEditableNode()&amp;&amp;b.getNextEditableNode().getAscendant(&quot;a&quot;,!0),e;b.collapsed&amp;&amp;a&amp;&amp;
(e=b.createBookmark(),b.selectNodeContents(a),b.select())}a=new CKEDITOR.style({element:&quot;a&quot;,type:CKEDITOR.STYLE_INLINE,alwaysRemoveElement:1});c.removeStyle(a);e&amp;&amp;(b.moveToBookmark(e),b.select())},refresh:function(c,b){var a=b.lastElement&amp;&amp;b.lastElement.getAscendant(&quot;a&quot;,!0);a&amp;&amp;&quot;a&quot;==a.getName()&amp;&amp;a.getAttribute(&quot;href&quot;)&amp;&amp;a.getChildCount()?this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)},contextSensitive:1,startDisabled:1,requiredContent:&quot;a[href]&quot;,editorFocus:1};CKEDITOR.removeAnchorCommand=
function(){};CKEDITOR.removeAnchorCommand.prototype={exec:function(c){var b=c.getSelection(),a=b.createBookmarks(),e;if(b&amp;&amp;(e=b.getSelectedElement())&amp;&amp;(e.getChildCount()?e.is(&quot;a&quot;):CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,e)))e.remove(1);else if(e=CKEDITOR.plugins.link.getSelectedLink(c))e.hasAttribute(&quot;href&quot;)?(e.removeAttributes({name:1,&quot;data-cke-saved-name&quot;:1}),e.removeClass(&quot;cke_anchor&quot;)):e.remove(1);b.selectBookmarks(a)},requiredContent:&quot;a[name]&quot;};CKEDITOR.tools.extend(CKEDITOR.config,{linkShowAdvancedTab:!0,
linkShowTargetTab:!0,linkDefaultProtocol:&quot;http://&quot;})})();(function(){function K(a,l,d,f){for(var e=CKEDITOR.plugins.list.listToArray(l.root,d),g=[],b=0;b&lt;l.contents.length;b++){var h=l.contents[b];(h=h.getAscendant(&quot;li&quot;,!0))&amp;&amp;!h.getCustomData(&quot;list_item_processed&quot;)&amp;&amp;(g.push(h),CKEDITOR.dom.element.setMarker(d,h,&quot;list_item_processed&quot;,!0))}for(var h=l.root.getDocument(),k,c,b=0;b&lt;g.length;b++){var p=g[b].getCustomData(&quot;listarray_index&quot;);k=e[p].parent;k.is(this.type)||(c=h.createElement(this.type),k.copyAttributes(c,{start:1,type:1}),c.removeStyle(&quot;list-style-type&quot;),
e[p].parent=c)}d=CKEDITOR.plugins.list.arrayToList(e,d,null,a.config.enterMode);for(var m,e=d.listNode.getChildCount(),b=0;b&lt;e&amp;&amp;(m=d.listNode.getChild(b));b++)m.getName()==this.type&amp;&amp;f.push(m);d.listNode.replace(l.root);a.fire(&quot;contentDomInvalidated&quot;)}function L(a,l,d){var f=l.contents,e=l.root.getDocument(),g=[];if(1==f.length&amp;&amp;f[0].equals(l.root)){var b=e.createElement(&quot;div&quot;);f[0].moveChildren&amp;&amp;f[0].moveChildren(b);f[0].append(b);f[0]=b}l=l.contents[0].getParent();for(b=0;b&lt;f.length;b++)l=l.getCommonAncestor(f[b].getParent());
a=a.config.useComputedState;var h,k;a=void 0===a||a;for(b=0;b&lt;f.length;b++)for(var c=f[b],p;p=c.getParent();){if(p.equals(l)){g.push(c);!k&amp;&amp;c.getDirection()&amp;&amp;(k=1);c=c.getDirection(a);null!==h&amp;&amp;(h=h&amp;&amp;h!=c?null:c);break}c=p}if(!(1&gt;g.length)){f=g[g.length-1].getNext();b=e.createElement(this.type);for(d.push(b);g.length;)d=g.shift(),a=e.createElement(&quot;li&quot;),c=d,c.is(&quot;pre&quot;)||M.test(c.getName())||&quot;false&quot;==c.getAttribute(&quot;contenteditable&quot;)?d.appendTo(a):(d.copyAttributes(a),h&amp;&amp;d.getDirection()&amp;&amp;(a.removeStyle(&quot;direction&quot;),
a.removeAttribute(&quot;dir&quot;)),d.moveChildren(a),d.remove()),a.appendTo(b);h&amp;&amp;k&amp;&amp;b.setAttribute(&quot;dir&quot;,h);f?b.insertBefore(f):b.appendTo(l)}}function N(a,l,d){function f(b){if(!(!(c=k[b?&quot;getFirst&quot;:&quot;getLast&quot;]())||c.is&amp;&amp;c.isBlockBoundary()||!(p=l.root[b?&quot;getPrevious&quot;:&quot;getNext&quot;](CKEDITOR.dom.walker.invisible(!0)))||p.is&amp;&amp;p.isBlockBoundary({br:1})))a.document.createElement(&quot;br&quot;)[b?&quot;insertBefore&quot;:&quot;insertAfter&quot;](c)}for(var e=CKEDITOR.plugins.list.listToArray(l.root,d),g=[],b=0;b&lt;l.contents.length;b++){var h=
l.contents[b];(h=h.getAscendant(&quot;li&quot;,!0))&amp;&amp;!h.getCustomData(&quot;list_item_processed&quot;)&amp;&amp;(g.push(h),CKEDITOR.dom.element.setMarker(d,h,&quot;list_item_processed&quot;,!0))}h=null;for(b=0;b&lt;g.length;b++)h=g[b].getCustomData(&quot;listarray_index&quot;),e[h].indent=-1;for(b=h+1;b&lt;e.length;b++)if(e[b].indent&gt;e[b-1].indent+1){g=e[b-1].indent+1-e[b].indent;for(h=e[b].indent;e[b]&amp;&amp;e[b].indent&gt;=h;)e[b].indent+=g,b++;b--}var k=CKEDITOR.plugins.list.arrayToList(e,d,null,a.config.enterMode,l.root.getAttribute(&quot;dir&quot;)).listNode,c,p;
f(!0);f();k.replace(l.root);a.fire(&quot;contentDomInvalidated&quot;)}function C(a,l){this.name=a;this.context=this.type=l;this.allowedContent=l+&quot; li&quot;;this.requiredContent=l}function F(a,l,d,f){for(var e,g;e=a[f?&quot;getLast&quot;:&quot;getFirst&quot;](O);)(g=e.getDirection(1))!==l.getDirection(1)&amp;&amp;e.setAttribute(&quot;dir&quot;,g),e.remove(),d?e[f?&quot;insertBefore&quot;:&quot;insertAfter&quot;](d):l.append(e,f),d=e}function G(a){function l(d){var f=a[d?&quot;getPrevious&quot;:&quot;getNext&quot;](t);f&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(a.getName())&amp;&amp;(F(a,f,null,!d),a.remove(),
a=f)}l();l(1)}function H(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(a.getName()in CKEDITOR.dtd.$block||a.getName()in CKEDITOR.dtd.$listItem)&amp;&amp;CKEDITOR.dtd[a.getName()][&quot;#&quot;]}function D(a,l,d){a.fire(&quot;saveSnapshot&quot;);d.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var f=d.extractContents();l.trim(!1,!0);var e=l.createBookmark(),g=new CKEDITOR.dom.elementPath(l.startContainer),b=g.block,g=g.lastElement.getAscendant(&quot;li&quot;,1)||b,h=new CKEDITOR.dom.elementPath(d.startContainer),k=h.contains(CKEDITOR.dtd.$listItem),
h=h.contains(CKEDITOR.dtd.$list);b?(b=b.getBogus())&amp;&amp;b.remove():h&amp;&amp;(b=h.getPrevious(t))&amp;&amp;z(b)&amp;&amp;b.remove();(b=f.getLast())&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.is(&quot;br&quot;)&amp;&amp;b.remove();(b=l.startContainer.getChild(l.startOffset))?f.insertBefore(b):l.startContainer.append(f);k&amp;&amp;(f=A(k))&amp;&amp;(g.contains(k)?(F(f,k.getParent(),k),f.remove()):g.append(f));for(;d.checkStartOfBlock()&amp;&amp;d.checkEndOfBlock();){h=d.startPath();f=h.block;if(!f)break;f.is(&quot;li&quot;)&amp;&amp;(g=f.getParent(),f.equals(g.getLast(t))&amp;&amp;f.equals(g.getFirst(t))&amp;&amp;
(f=g));d.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);f.remove()}d=d.clone();f=a.editable();d.setEndAt(f,CKEDITOR.POSITION_BEFORE_END);d=new CKEDITOR.dom.walker(d);d.evaluator=function(a){return t(a)&amp;&amp;!z(a)};(d=d.next())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.getName()in CKEDITOR.dtd.$list&amp;&amp;G(d);l.moveToBookmark(e);l.select();a.fire(&quot;saveSnapshot&quot;)}function A(a){return(a=a.getLast(t))&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.getName()in u?a:null}var u={ol:1,ul:1},P=CKEDITOR.dom.walker.whitespaces(),I=CKEDITOR.dom.walker.bookmark(),
t=function(a){return!(P(a)||I(a))},z=CKEDITOR.dom.walker.bogus();CKEDITOR.plugins.list={listToArray:function(a,l,d,f,e){if(!u[a.getName()])return[];f||(f=0);d||(d=[]);for(var g=0,b=a.getChildCount();g&lt;b;g++){var h=a.getChild(g);h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.getName()in CKEDITOR.dtd.$list&amp;&amp;CKEDITOR.plugins.list.listToArray(h,l,d,f+1);if(&quot;li&quot;==h.$.nodeName.toLowerCase()){var k={parent:a,indent:f,element:h,contents:[]};e?k.grandparent=e:(k.grandparent=a.getParent(),k.grandparent&amp;&amp;&quot;li&quot;==k.grandparent.$.nodeName.toLowerCase()&amp;&amp;
(k.grandparent=k.grandparent.getParent()));l&amp;&amp;CKEDITOR.dom.element.setMarker(l,h,&quot;listarray_index&quot;,d.length);d.push(k);for(var c=0,p=h.getChildCount(),m;c&lt;p;c++)m=h.getChild(c),m.type==CKEDITOR.NODE_ELEMENT&amp;&amp;u[m.getName()]?CKEDITOR.plugins.list.listToArray(m,l,d,f+1,k.grandparent):k.contents.push(m)}}return d},arrayToList:function(a,l,d,f,e){d||(d=0);if(!a||a.length&lt;d+1)return null;for(var g,b=a[d].parent.getDocument(),h=new CKEDITOR.dom.documentFragment(b),k=null,c=d,p=Math.max(a[d].indent,0),m=
null,n,r,y=f==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;;){var q=a[c];g=q.grandparent;n=q.element.getDirection(1);if(q.indent==p){k&amp;&amp;a[c].parent.getName()==k.getName()||(k=a[c].parent.clone(!1,1),e&amp;&amp;k.setAttribute(&quot;dir&quot;,e),h.append(k));m=k.append(q.element.clone(0,1));n!=k.getDirection(1)&amp;&amp;m.setAttribute(&quot;dir&quot;,n);for(g=0;g&lt;q.contents.length;g++)m.append(q.contents[g].clone(1,1));c++}else if(q.indent==Math.max(p,0)+1)q=a[c-1].element.getDirection(1),c=CKEDITOR.plugins.list.arrayToList(a,null,c,f,q!=n?n:null),!m.getChildCount()&amp;&amp;
CKEDITOR.env.needsNbspFiller&amp;&amp;7&gt;=b.$.documentMode&amp;&amp;m.append(b.createText(&quot; &quot;)),m.append(c.listNode),c=c.nextIndex;else if(-1==q.indent&amp;&amp;!d&amp;&amp;g){u[g.getName()]?(m=q.element.clone(!1,!0),n!=g.getDirection(1)&amp;&amp;m.setAttribute(&quot;dir&quot;,n)):m=new CKEDITOR.dom.documentFragment(b);var k=g.getDirection(1)!=n,w=q.element,B=w.getAttribute(&quot;class&quot;),E=w.getAttribute(&quot;style&quot;),J=m.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&amp;&amp;(f!=CKEDITOR.ENTER_BR||k||E||B),v,z=q.contents.length,x;for(g=0;g&lt;z;g++)if(v=q.contents[g],I(v)&amp;&amp;
1&lt;z)J?x=v.clone(1,1):m.append(v.clone(1,1));else if(v.type==CKEDITOR.NODE_ELEMENT&amp;&amp;v.isBlockBoundary()){k&amp;&amp;!v.getDirection()&amp;&amp;v.setAttribute(&quot;dir&quot;,n);r=v;var A=w.getAttribute(&quot;style&quot;);A&amp;&amp;r.setAttribute(&quot;style&quot;,A.replace(/([^;])$/,&quot;$1;&quot;)+(r.getAttribute(&quot;style&quot;)||&quot;&quot;));B&amp;&amp;v.addClass(B);r=null;x&amp;&amp;(m.append(x),x=null);m.append(v.clone(1,1))}else J?(r||(r=b.createElement(y),m.append(r),k&amp;&amp;r.setAttribute(&quot;dir&quot;,n)),E&amp;&amp;r.setAttribute(&quot;style&quot;,E),B&amp;&amp;r.setAttribute(&quot;class&quot;,B),x&amp;&amp;(r.append(x),x=null),r.append(v.clone(1,
1))):m.append(v.clone(1,1));x&amp;&amp;((r||m).append(x),x=null);m.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&amp;&amp;c!=a.length-1&amp;&amp;(CKEDITOR.env.needsBrFiller&amp;&amp;(n=m.getLast())&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.is(&quot;br&quot;)&amp;&amp;n.remove(),(n=m.getLast(t))&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.is(CKEDITOR.dtd.$block)||m.append(b.createElement(&quot;br&quot;)));n=m.$.nodeName.toLowerCase();&quot;div&quot;!=n&amp;&amp;&quot;p&quot;!=n||m.appendBogus();h.append(m);k=null;c++}else return null;r=null;if(a.length&lt;=c||Math.max(a[c].indent,0)&lt;p)break}if(l)for(a=h.getFirst();a;){if(a.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;(CKEDITOR.dom.element.clearMarkers(l,a),a.getName()in CKEDITOR.dtd.$listItem&amp;&amp;(d=a,b=e=f=void 0,f=d.getDirection()))){for(e=d.getParent();e&amp;&amp;!(b=e.getDirection());)e=e.getParent();f==b&amp;&amp;d.removeAttribute(&quot;dir&quot;)}a=a.getNextSourceNode()}return{listNode:h,nextIndex:c}}};var M=/^h[1-6]$/,O=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT);C.prototype={exec:function(a){function l(a){return u[a.root.getName()]&amp;&amp;!d(a.root,[CKEDITOR.NODE_COMMENT])}function d(a,b){return CKEDITOR.tools.array.filter(a.getChildren().toArray(),
function(a){return-1===CKEDITOR.tools.array.indexOf(b,a.type)}).length}function f(a){var b=!0;if(0===a.getChildCount())return!1;a.forEach(function(a){if(a.type!==CKEDITOR.NODE_COMMENT)return b=!1},null,!0);return b}this.refresh(a,a.elementPath());var e=a.config,g=a.getSelection(),b=g&amp;&amp;g.getRanges();if(this.state==CKEDITOR.TRISTATE_OFF){var h=a.editable();if(h.getFirst(t)){var k=1==b.length&amp;&amp;b[0];(e=k&amp;&amp;k.getEnclosedNode())&amp;&amp;e.is&amp;&amp;this.type==e.getName()&amp;&amp;this.setState(CKEDITOR.TRISTATE_ON)}else e.enterMode==
CKEDITOR.ENTER_BR?h.appendBogus():b[0].fixBlock(1,e.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),g.selectRanges(b)}for(var e=g.createBookmarks(!0),h=[],c={},b=b.createIterator(),p=0;(k=b.getNextRange())&amp;&amp;++p;){var m=k.getBoundaryNodes(),n=m.startNode,r=m.endNode;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;td&quot;==n.getName()&amp;&amp;k.setStartAt(m.startNode,CKEDITOR.POSITION_AFTER_START);r.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;td&quot;==r.getName()&amp;&amp;k.setEndAt(m.endNode,CKEDITOR.POSITION_BEFORE_END);k=k.createIterator();for(k.forceBrBreak=
this.state==CKEDITOR.TRISTATE_OFF;m=k.getNextParagraph();)if(!m.getCustomData(&quot;list_block&quot;)&amp;&amp;!f(m)){CKEDITOR.dom.element.setMarker(c,m,&quot;list_block&quot;,1);for(var y=a.elementPath(m),n=y.elements,r=0,y=y.blockLimit,q,w=n.length-1;0&lt;=w&amp;&amp;(q=n[w]);w--)if(u[q.getName()]&amp;&amp;y.contains(q)){y.removeCustomData(&quot;list_group_object_&quot;+p);(n=q.getCustomData(&quot;list_group_object&quot;))?n.contents.push(m):(n={root:q,contents:[m]},h.push(n),CKEDITOR.dom.element.setMarker(c,q,&quot;list_group_object&quot;,n));r=1;break}r||(r=y,r.getCustomData(&quot;list_group_object_&quot;+
p)?r.getCustomData(&quot;list_group_object_&quot;+p).contents.push(m):(n={root:r,contents:[m]},CKEDITOR.dom.element.setMarker(c,r,&quot;list_group_object_&quot;+p,n),h.push(n)))}}for(q=[];0&lt;h.length;)n=h.shift(),this.state==CKEDITOR.TRISTATE_OFF?l(n)||(u[n.root.getName()]?K.call(this,a,n,c,q):L.call(this,a,n,q)):this.state==CKEDITOR.TRISTATE_ON&amp;&amp;u[n.root.getName()]&amp;&amp;!l(n)&amp;&amp;N.call(this,a,n,c);for(w=0;w&lt;q.length;w++)G(q[w]);CKEDITOR.dom.element.clearAllMarkers(c);g.selectBookmarks(e);a.focus()},refresh:function(a,l){var d=
l.contains(u,1),f=l.blockLimit||l.root;d&amp;&amp;f.contains(d)?this.setState(d.is(this.type)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_OFF)}};CKEDITOR.plugins.add(&quot;list&quot;,{requires:&quot;indentlist&quot;,init:function(a){a.blockless||(a.addCommand(&quot;numberedlist&quot;,new C(&quot;numberedlist&quot;,&quot;ol&quot;)),a.addCommand(&quot;bulletedlist&quot;,new C(&quot;bulletedlist&quot;,&quot;ul&quot;)),a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;NumberedList&quot;,{label:a.lang.list.numberedlist,command:&quot;numberedlist&quot;,directional:!0,toolbar:&quot;list,10&quot;}),a.ui.addButton(&quot;BulletedList&quot;,
{label:a.lang.list.bulletedlist,command:&quot;bulletedlist&quot;,directional:!0,toolbar:&quot;list,20&quot;})),a.on(&quot;key&quot;,function(l){var d=l.data.domEvent.getKey(),f;if(&quot;wysiwyg&quot;==a.mode&amp;&amp;d in{8:1,46:1}){var e=a.getSelection().getRanges()[0],g=e&amp;&amp;e.startPath();if(e&amp;&amp;e.collapsed){var b=8==d,h=a.editable(),k=new CKEDITOR.dom.walker(e.clone());k.evaluator=function(a){return t(a)&amp;&amp;!z(a)};k.guard=function(a,b){return!(b&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(&quot;table&quot;))};d=e.clone();if(b){var c;(c=g.contains(u))&amp;&amp;e.checkBoundaryOfElement(c,
CKEDITOR.START)&amp;&amp;(c=c.getParent())&amp;&amp;c.is(&quot;li&quot;)&amp;&amp;(c=A(c))?(f=c,c=c.getPrevious(t),d.moveToPosition(c&amp;&amp;z(c)?c:f,CKEDITOR.POSITION_BEFORE_START)):(k.range.setStartAt(h,CKEDITOR.POSITION_AFTER_START),k.range.setEnd(e.startContainer,e.startOffset),(c=k.previous())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c.getName()in u||c.is(&quot;li&quot;))&amp;&amp;(c.is(&quot;li&quot;)||(k.range.selectNodeContents(c),k.reset(),k.evaluator=H,c=k.previous()),f=c,d.moveToElementEditEnd(f),d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END)));
if(f)D(a,d,e),l.cancel();else{var p=g.contains(u);p&amp;&amp;e.checkBoundaryOfElement(p,CKEDITOR.START)&amp;&amp;(f=p.getFirst(t),e.checkBoundaryOfElement(f,CKEDITOR.START)&amp;&amp;(c=p.getPrevious(t),A(f)?c&amp;&amp;(e.moveToElementEditEnd(c),e.select()):a.execCommand(&quot;outdent&quot;),l.cancel()))}}else if(f=g.contains(&quot;li&quot;)){if(k.range.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),b=(h=f.getLast(t))&amp;&amp;H(h)?h:f,g=0,(c=k.next())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.getName()in u&amp;&amp;c.equals(h)?(g=1,c=k.next()):e.checkBoundaryOfElement(b,CKEDITOR.END)&amp;&amp;
(g=2),g&amp;&amp;c){e=e.clone();e.moveToElementEditStart(c);if(1==g&amp;&amp;(d.optimize(),!d.startContainer.equals(f))){for(f=d.startContainer;f.is(CKEDITOR.dtd.$inline);)p=f,f=f.getParent();p&amp;&amp;d.moveToPosition(p,CKEDITOR.POSITION_AFTER_END)}2==g&amp;&amp;(d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END),e.endPath().block&amp;&amp;e.moveToPosition(e.endPath().block,CKEDITOR.POSITION_AFTER_START));D(a,d,e);l.cancel()}}else k.range.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),(c=k.next())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
c.is(u)&amp;&amp;(c=c.getFirst(t),g.block&amp;&amp;e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()?(g.block.remove(),e.moveToElementEditStart(c),e.select()):A(c)?(e.moveToElementEditStart(c),e.select()):(e=e.clone(),e.moveToElementEditStart(c),D(a,d,e)),l.cancel());setTimeout(function(){a.selectionChange(1)})}}}))}})})();(function(){CKEDITOR.plugins.liststyle={requires:&quot;dialog,contextmenu&quot;,init:function(a){if(!a.blockless){var b;b=new CKEDITOR.dialogCommand(&quot;numberedListStyle&quot;,{requiredContent:&quot;ol&quot;,allowedContent:&quot;ol{list-style-type}[start]; li{list-style-type}[value]&quot;,contentTransformations:[[&quot;ol: listTypeToStyle&quot;]]});b=a.addCommand(&quot;numberedListStyle&quot;,b);a.addFeature(b);CKEDITOR.dialog.add(&quot;numberedListStyle&quot;,this.path+&quot;dialogs/liststyle.js&quot;);b=new CKEDITOR.dialogCommand(&quot;bulletedListStyle&quot;,{requiredContent:&quot;ul&quot;,
allowedContent:&quot;ul{list-style-type}&quot;,contentTransformations:[[&quot;ul: listTypeToStyle&quot;]]});b=a.addCommand(&quot;bulletedListStyle&quot;,b);a.addFeature(b);CKEDITOR.dialog.add(&quot;bulletedListStyle&quot;,this.path+&quot;dialogs/liststyle.js&quot;);a.addMenuGroup(&quot;list&quot;,108);a.addMenuItems({numberedlist:{label:a.lang.liststyle.numberedTitle,group:&quot;list&quot;,command:&quot;numberedListStyle&quot;},bulletedlist:{label:a.lang.liststyle.bulletedTitle,group:&quot;list&quot;,command:&quot;bulletedListStyle&quot;}});a.contextMenu.addListener(function(a){if(!a||a.isReadOnly())return null;
for(;a;){var b=a.getName();if(&quot;ol&quot;==b)return{numberedlist:CKEDITOR.TRISTATE_OFF};if(&quot;ul&quot;==b)return{bulletedlist:CKEDITOR.TRISTATE_OFF};a=a.getParent()}return null})}}};CKEDITOR.plugins.add(&quot;liststyle&quot;,CKEDITOR.plugins.liststyle)})();(function(){function V(a,c,d){return n(c)&amp;&amp;n(d)&amp;&amp;d.equals(c.getNext(function(a){return!(E(a)||F(a)||u(a))}))}function z(a){this.upper=a[0];this.lower=a[1];this.set.apply(this,a.slice(2))}function O(a){var c=a.element;if(c&amp;&amp;n(c)&amp;&amp;(c=c.getAscendant(a.triggers,!0))&amp;&amp;a.editable.contains(c)){var d=P(c);if(&quot;true&quot;==d.getAttribute(&quot;contenteditable&quot;))return c;if(d.is(a.triggers))return d}return null}function ka(a,c,d){r(a,c);r(a,d);a=c.size.bottom;d=d.size.top;return a&amp;&amp;d?0|(a+d)/2:a||d}function w(a,c,d){return c=
c[d?&quot;getPrevious&quot;:&quot;getNext&quot;](function(b){return b&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;!E(b)||n(b)&amp;&amp;!u(b)&amp;&amp;!A(a,b)})}function q(a,c,d){return a&gt;c&amp;&amp;a&lt;d}function P(a,c){if(a.data(&quot;cke-editable&quot;))return null;for(c||(a=a.getParent());a&amp;&amp;!a.data(&quot;cke-editable&quot;);){if(a.hasAttribute(&quot;contenteditable&quot;))return a;a=a.getParent()}return null}function la(a){var c=a.doc,d=G(&#039;\x3cspan contenteditable\x3d&quot;false&quot; data-cke-magic-line\x3d&quot;1&quot; style\x3d&quot;&#039;+Q+&quot;position:absolute;border-top:1px dashed &quot;+a.boxColor+&#039;&quot;\x3e\x3c/span\x3e&#039;,
c),b=CKEDITOR.getUrl(this.path+&quot;images/&quot;+(t.hidpi?&quot;hidpi/&quot;:&quot;&quot;)+&quot;icon&quot;+(a.rtl?&quot;-rtl&quot;:&quot;&quot;)+&quot;.png&quot;);v(d,{attach:function(){this.wrap.getParent()||this.wrap.appendTo(a.editable,!0);return this},lineChildren:[v(G(&#039;\x3cspan title\x3d&quot;&#039;+a.editor.lang.magicline.title+&#039;&quot; contenteditable\x3d&quot;false&quot;\x3e\x26#8629;\x3c/span\x3e&#039;,c),{base:Q+&quot;height:17px;width:17px;&quot;+(a.rtl?&quot;left&quot;:&quot;right&quot;)+&quot;:17px;background:url(&quot;+b+&quot;) center no-repeat &quot;+a.boxColor+&quot;;cursor:pointer;&quot;+(t.hc?&quot;font-size: 15px;line-height:14px;border:1px solid #fff;text-align:center;&quot;:
&quot;&quot;)+(t.hidpi?&quot;background-size: 9px 10px;&quot;:&quot;&quot;),looks:[&quot;top:-8px; border-radius: 2px;&quot;,&quot;top:-17px; border-radius: 2px 2px 0px 0px;&quot;,&quot;top:-1px; border-radius: 0px 0px 2px 2px;&quot;]}),v(G(W,c),{base:X+&quot;left:0px;border-left-color:&quot;+a.boxColor+&quot;;&quot;,looks:[&quot;border-width:8px 0 8px 8px;top:-8px&quot;,&quot;border-width:8px 0 0 8px;top:-8px&quot;,&quot;border-width:0 0 8px 8px;top:0px&quot;]}),v(G(W,c),{base:X+&quot;right:0px;border-right-color:&quot;+a.boxColor+&quot;;&quot;,looks:[&quot;border-width:8px 8px 8px 0;top:-8px&quot;,&quot;border-width:8px 8px 0 0;top:-8px&quot;,
&quot;border-width:0 8px 8px 0;top:0px&quot;]})],detach:function(){this.wrap.getParent()&amp;&amp;this.wrap.remove();return this},mouseNear:function(){r(a,this);var b=a.holdDistance,c=this.size;return c&amp;&amp;q(a.mouse.y,c.top-b,c.bottom+b)&amp;&amp;q(a.mouse.x,c.left-b,c.right+b)?!0:!1},place:function(){var b=a.view,c=a.editable,d=a.trigger,h=d.upper,g=d.lower,l=h||g,p=l.getParent(),m={};this.trigger=d;h&amp;&amp;r(a,h,!0);g&amp;&amp;r(a,g,!0);r(a,p,!0);a.inInlineMode&amp;&amp;H(a,!0);p.equals(c)?(m.left=b.scroll.x,m.right=-b.scroll.x,m.width=&quot;&quot;):(m.left=
l.size.left-l.size.margin.left+b.scroll.x-(a.inInlineMode?b.editable.left+b.editable.border.left:0),m.width=l.size.outerWidth+l.size.margin.left+l.size.margin.right+b.scroll.x,m.right=&quot;&quot;);h&amp;&amp;g?m.top=h.size.margin.bottom===g.size.margin.top?0|h.size.bottom+h.size.margin.bottom/2:h.size.margin.bottom&lt;g.size.margin.top?h.size.bottom+h.size.margin.bottom:h.size.bottom+h.size.margin.bottom-g.size.margin.top:h?g||(m.top=h.size.bottom+h.size.margin.bottom):m.top=g.size.top-g.size.margin.top;d.is(C)||q(m.top,
b.scroll.y-15,b.scroll.y+5)?(m.top=a.inInlineMode?0:b.scroll.y,this.look(C)):d.is(D)||q(m.top,b.pane.bottom-5,b.pane.bottom+15)?(m.top=a.inInlineMode?b.editable.height+b.editable.padding.top+b.editable.padding.bottom:b.pane.bottom-1,this.look(D)):(a.inInlineMode&amp;&amp;(m.top-=b.editable.top+b.editable.border.top),this.look(x));a.inInlineMode&amp;&amp;(m.top--,m.top+=b.editable.scroll.top,m.left+=b.editable.scroll.left);for(var n in m)m[n]=CKEDITOR.tools.cssLength(m[n]);this.setStyles(m)},look:function(a){if(this.oldLook!=
a){for(var b=this.lineChildren.length,c;b--;)(c=this.lineChildren[b]).setAttribute(&quot;style&quot;,c.base+c.looks[0|a/2]);this.oldLook=a}},wrap:new R(&quot;span&quot;,a.doc)});for(c=d.lineChildren.length;c--;)d.lineChildren[c].appendTo(d);d.look(x);d.appendTo(d.wrap);d.unselectable();d.lineChildren[0].on(&quot;mouseup&quot;,function(b){d.detach();S(a,function(b){var c=a.line.trigger;b[c.is(I)?&quot;insertBefore&quot;:&quot;insertAfter&quot;](c.is(I)?c.lower:c.upper)},!0);a.editor.focus();t.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();
b.data.preventDefault(!0)});d.on(&quot;mousedown&quot;,function(a){a.data.preventDefault(!0)});a.line=d}function S(a,c,d){var b=new CKEDITOR.dom.range(a.doc),e=a.editor,f;t.ie&amp;&amp;a.enterMode==CKEDITOR.ENTER_BR?f=a.doc.createText(J):(f=(f=P(a.element,!0))&amp;&amp;f.data(&quot;cke-enter-mode&quot;)||a.enterMode,f=new R(K[f],a.doc),f.is(&quot;br&quot;)||a.doc.createText(J).appendTo(f));d&amp;&amp;e.fire(&quot;saveSnapshot&quot;);c(f);b.moveToPosition(f,CKEDITOR.POSITION_AFTER_START);e.getSelection().selectRanges([b]);a.hotNode=f;d&amp;&amp;e.fire(&quot;saveSnapshot&quot;)}
function Y(a,c){return{canUndo:!0,modes:{wysiwyg:1},exec:function(){function d(b){var d=t.ie&amp;&amp;9&gt;t.version?&quot; &quot;:J,f=a.hotNode&amp;&amp;a.hotNode.getText()==d&amp;&amp;a.element.equals(a.hotNode)&amp;&amp;a.lastCmdDirection===!!c;S(a,function(d){f&amp;&amp;a.hotNode&amp;&amp;a.hotNode.remove();d[c?&quot;insertAfter&quot;:&quot;insertBefore&quot;](b);d.setAttributes({&quot;data-cke-magicline-hot&quot;:1,&quot;data-cke-magicline-dir&quot;:!!c});a.lastCmdDirection=!!c});t.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();a.line.detach()}return function(b){b=b.getSelection().getStartElement();
var e;b=b.getAscendant(Z,1);if(!aa(a,b)&amp;&amp;b&amp;&amp;!b.equals(a.editable)&amp;&amp;!b.contains(a.editable)){(e=P(b))&amp;&amp;&quot;false&quot;==e.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(b=e);a.element=b;e=w(a,b,!c);var f;n(e)&amp;&amp;e.is(a.triggers)&amp;&amp;e.is(ma)&amp;&amp;(!w(a,e,!c)||(f=w(a,e,!c))&amp;&amp;n(f)&amp;&amp;f.is(a.triggers))?d(e):(f=O(a,b),n(f)&amp;&amp;(w(a,f,!c)?(b=w(a,f,!c))&amp;&amp;n(b)&amp;&amp;b.is(a.triggers)&amp;&amp;d(f):d(f)))}}}()}}function A(a,c){if(!c||c.type!=CKEDITOR.NODE_ELEMENT||!c.$)return!1;var d=a.line;return d.wrap.equals(c)||d.wrap.contains(c)}function n(a){return a&amp;&amp;
a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.$}function u(a){if(!n(a))return!1;var c;(c=ba(a))||(n(a)?(c={left:1,right:1,center:1},c=!(!c[a.getComputedStyle(&quot;float&quot;)]&amp;&amp;!c[a.getAttribute(&quot;align&quot;)])):c=!1);return c}function ba(a){return!!{absolute:1,fixed:1}[a.getComputedStyle(&quot;position&quot;)]}function L(a,c){return n(c)?c.is(a.triggers):null}function aa(a,c){if(!c)return!1;for(var d=c.getParents(1),b=d.length;b--;)for(var e=a.tabuList.length;e--;)if(d[b].hasAttribute(a.tabuList[e]))return!0;return!1}function na(a,
c,d){c=c[d?&quot;getLast&quot;:&quot;getFirst&quot;](function(b){return a.isRelevant(b)&amp;&amp;!b.is(oa)});if(!c)return!1;r(a,c);return d?c.size.top&gt;a.mouse.y:c.size.bottom&lt;a.mouse.y}function ca(a){var c=a.editable,d=a.mouse,b=a.view,e=a.triggerOffset;H(a);var f=d.y&gt;(a.inInlineMode?b.editable.top+b.editable.height/2:Math.min(b.editable.height,b.pane.height)/2),c=c[f?&quot;getLast&quot;:&quot;getFirst&quot;](function(a){return!(E(a)||F(a))});if(!c)return null;A(a,c)&amp;&amp;(c=a.line.wrap[f?&quot;getPrevious&quot;:&quot;getNext&quot;](function(a){return!(E(a)||F(a))}));
if(!n(c)||u(c)||!L(a,c))return null;r(a,c);return!f&amp;&amp;0&lt;=c.size.top&amp;&amp;q(d.y,0,c.size.top+e)?(a=a.inInlineMode||0===b.scroll.y?C:x,new z([null,c,I,M,a])):f&amp;&amp;c.size.bottom&lt;=b.pane.height&amp;&amp;q(d.y,c.size.bottom-e,b.pane.height)?(a=a.inInlineMode||q(c.size.bottom,b.pane.height-e,b.pane.height)?D:x,new z([c,null,da,M,a])):null}function ea(a){var c=a.mouse,d=a.view,b=a.triggerOffset,e=O(a);if(!e)return null;r(a,e);var b=Math.min(b,0|e.size.outerHeight/2),f=[],k,h;if(q(c.y,e.size.top-1,e.size.top+b))h=!1;else if(q(c.y,
e.size.bottom-b,e.size.bottom+1))h=!0;else return null;if(u(e)||na(a,e,h)||e.getParent().is(fa))return null;var g=w(a,e,!h);if(g){if(g&amp;&amp;g.type==CKEDITOR.NODE_TEXT)return null;if(n(g)){if(u(g)||!L(a,g)||g.getParent().is(fa))return null;f=[g,e][h?&quot;reverse&quot;:&quot;concat&quot;]().concat([T,M])}}else e.equals(a.editable[h?&quot;getLast&quot;:&quot;getFirst&quot;](a.isRelevant))?(H(a),h&amp;&amp;q(c.y,e.size.bottom-b,d.pane.height)&amp;&amp;q(e.size.bottom,d.pane.height-b,d.pane.height)?k=D:q(c.y,0,e.size.top+b)&amp;&amp;(k=C)):k=x,f=[null,e][h?&quot;reverse&quot;:
&quot;concat&quot;]().concat([h?da:I,M,k,e.equals(a.editable[h?&quot;getLast&quot;:&quot;getFirst&quot;](a.isRelevant))?h?D:C:x]);return 0 in f?new z(f):null}function U(a,c,d,b){for(var e=c.getDocumentPosition(),f={},k={},h={},g={},l=y.length;l--;)f[y[l]]=parseInt(c.getComputedStyle.call(c,&quot;border-&quot;+y[l]+&quot;-width&quot;),10)||0,h[y[l]]=parseInt(c.getComputedStyle.call(c,&quot;padding-&quot;+y[l]),10)||0,k[y[l]]=parseInt(c.getComputedStyle.call(c,&quot;margin-&quot;+y[l]),10)||0;d&amp;&amp;!b||N(a,b);g.top=e.y-(d?0:a.view.scroll.y);g.left=e.x-(d?0:a.view.scroll.x);
g.outerWidth=c.$.offsetWidth;g.outerHeight=c.$.offsetHeight;g.height=g.outerHeight-(h.top+h.bottom+f.top+f.bottom);g.width=g.outerWidth-(h.left+h.right+f.left+f.right);g.bottom=g.top+g.outerHeight;g.right=g.left+g.outerWidth;a.inInlineMode&amp;&amp;(g.scroll={top:c.$.scrollTop,left:c.$.scrollLeft});return v({border:f,padding:h,margin:k,ignoreScroll:d},g,!0)}function r(a,c,d){if(!n(c))return c.size=null;if(!c.size)c.size={};else if(c.size.ignoreScroll==d&amp;&amp;c.size.date&gt;new Date-ga)return null;return v(c.size,
U(a,c,d),{date:+new Date},!0)}function H(a,c){a.view.editable=U(a,a.editable,c,!0)}function N(a,c){a.view||(a.view={});var d=a.view;if(!(!c&amp;&amp;d&amp;&amp;d.date&gt;new Date-ga)){var b=a.win,d=b.getScrollPosition(),b=b.getViewPaneSize();v(a.view,{scroll:{x:d.x,y:d.y,width:a.doc.$.documentElement.scrollWidth-b.width,height:a.doc.$.documentElement.scrollHeight-b.height},pane:{width:b.width,height:b.height,bottom:b.height+d.y},date:+new Date},!0)}}function pa(a,c,d,b){for(var e=b,f=b,k=0,h=!1,g=!1,l=a.view.pane.height,
p=a.mouse;p.y+k&lt;l&amp;&amp;0&lt;p.y-k;){h||(h=c(e,b));g||(g=c(f,b));!h&amp;&amp;0&lt;p.y-k&amp;&amp;(e=d(a,{x:p.x,y:p.y-k}));!g&amp;&amp;p.y+k&lt;l&amp;&amp;(f=d(a,{x:p.x,y:p.y+k}));if(h&amp;&amp;g)break;k+=2}return new z([e,f,null,null])}CKEDITOR.plugins.add(&quot;magicline&quot;,{init:function(a){var c=a.config,d=c.magicline_triggerOffset||30,b={editor:a,enterMode:c.enterMode,triggerOffset:d,holdDistance:0|d*(c.magicline_holdDistance||.5),boxColor:c.magicline_color||&quot;#ff0000&quot;,rtl:&quot;rtl&quot;==c.contentsLangDirection,tabuList:[&quot;data-cke-hidden-sel&quot;].concat(c.magicline_tabuList||
[]),triggers:c.magicline_everywhere?Z:{table:1,hr:1,div:1,ul:1,ol:1,dl:1,form:1,blockquote:1}},e,f,k;b.isRelevant=function(a){return n(a)&amp;&amp;!A(b,a)&amp;&amp;!u(a)};a.on(&quot;contentDom&quot;,function(){var d=a.editable(),g=a.document,l=a.window;v(b,{editable:d,inInlineMode:d.isInline(),doc:g,win:l,hotNode:null},!0);b.boundary=b.inInlineMode?b.editable:b.doc.getDocumentElement();d.is(B.$inline)||(b.inInlineMode&amp;&amp;!ba(d)&amp;&amp;d.setStyles({position:&quot;relative&quot;,top:null,left:null}),la.call(this,b),N(b),d.attachListener(a,&quot;beforeUndoImage&quot;,
function(){b.line.detach()}),d.attachListener(a,&quot;beforeGetData&quot;,function(){b.line.wrap.getParent()&amp;&amp;(b.line.detach(),a.once(&quot;getData&quot;,function(){b.line.attach()},null,null,1E3))},null,null,0),d.attachListener(b.inInlineMode?g:g.getWindow().getFrame(),&quot;mouseout&quot;,function(c){if(&quot;wysiwyg&quot;==a.mode)if(b.inInlineMode){var d=c.data.$.clientX;c=c.data.$.clientY;N(b);H(b,!0);var e=b.view.editable,f=b.view.scroll;d&gt;e.left-f.x&amp;&amp;d&lt;e.right-f.x&amp;&amp;c&gt;e.top-f.y&amp;&amp;c&lt;e.bottom-f.y||(clearTimeout(k),k=null,b.line.detach())}else clearTimeout(k),
k=null,b.line.detach()}),d.attachListener(d,&quot;keyup&quot;,function(){b.hiddenMode=0}),d.attachListener(d,&quot;keydown&quot;,function(c){if(&quot;wysiwyg&quot;==a.mode)switch(c.data.getKeystroke()){case 2228240:case 16:b.hiddenMode=1,b.line.detach()}}),d.attachListener(b.inInlineMode?d:g,&quot;mousemove&quot;,function(c){f=!0;if(&quot;wysiwyg&quot;==a.mode&amp;&amp;!a.readOnly&amp;&amp;!k){var d={x:c.data.$.clientX,y:c.data.$.clientY};k=setTimeout(function(){b.mouse=d;k=b.trigger=null;N(b);f&amp;&amp;!b.hiddenMode&amp;&amp;a.focusManager.hasFocus&amp;&amp;!b.line.mouseNear()&amp;&amp;(b.element=
ha(b,!0))&amp;&amp;((b.trigger=ca(b)||ea(b)||ia(b))&amp;&amp;!aa(b,b.trigger.upper||b.trigger.lower)?b.line.attach().place():(b.trigger=null,b.line.detach()),f=!1)},30)}}),d.attachListener(l,&quot;scroll&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;(b.line.detach(),t.webkit&amp;&amp;(b.hiddenMode=1,clearTimeout(e),e=setTimeout(function(){b.mouseDown||(b.hiddenMode=0)},50)))}),d.attachListener(ja?g:l,&quot;mousedown&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;(b.line.detach(),b.hiddenMode=1,b.mouseDown=1)}),d.attachListener(ja?g:l,&quot;mouseup&quot;,function(){b.hiddenMode=
0;b.mouseDown=0}),a.addCommand(&quot;accessPreviousSpace&quot;,Y(b)),a.addCommand(&quot;accessNextSpace&quot;,Y(b,!0)),a.setKeystroke([[c.magicline_keystrokePrevious,&quot;accessPreviousSpace&quot;],[c.magicline_keystrokeNext,&quot;accessNextSpace&quot;]]),a.on(&quot;loadSnapshot&quot;,function(){var c,d,e,f;for(f in{p:1,br:1,div:1})for(c=a.document.getElementsByTag(f),e=c.count();e--;)if((d=c.getItem(e)).data(&quot;cke-magicline-hot&quot;)){b.hotNode=d;b.lastCmdDirection=&quot;true&quot;===d.data(&quot;cke-magicline-dir&quot;)?!0:!1;return}}),a._.magiclineBackdoor={accessFocusSpace:S,
boxTrigger:z,isLine:A,getAscendantTrigger:O,getNonEmptyNeighbour:w,getSize:U,that:b,triggerEdge:ea,triggerEditable:ca,triggerExpand:ia})},this)}});var v=CKEDITOR.tools.extend,R=CKEDITOR.dom.element,G=R.createFromHtml,t=CKEDITOR.env,ja=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version,B=CKEDITOR.dtd,K={},I=128,da=64,T=32,M=16,C=4,D=2,x=1,J=&quot; &quot;,fa=B.$listItem,oa=B.$tableContent,ma=v({},B.$nonEditable,B.$empty),Z=B.$block,ga=100,Q=&quot;width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;&quot;,
X=Q+&quot;border-color:transparent;display:block;border-style:solid;&quot;,W=&quot;\x3cspan\x3e&quot;+J+&quot;\x3c/span\x3e&quot;;K[CKEDITOR.ENTER_BR]=&quot;br&quot;;K[CKEDITOR.ENTER_P]=&quot;p&quot;;K[CKEDITOR.ENTER_DIV]=&quot;div&quot;;z.prototype={set:function(a,c,d){this.properties=a+c+(d||x);return this},is:function(a){return(this.properties&amp;a)==a}};var ha=function(){function a(a,d){var b=a.$.elementFromPoint(d.x,d.y);return b&amp;&amp;b.nodeType?new CKEDITOR.dom.element(b):null}return function(c,d,b){if(!c.mouse)return null;var e=c.doc,f=c.line.wrap;b=b||c.mouse;
var k=a(e,b);d&amp;&amp;A(c,k)&amp;&amp;(f.hide(),k=a(e,b),f.show());return!k||k.type!=CKEDITOR.NODE_ELEMENT||!k.$||t.ie&amp;&amp;9&gt;t.version&amp;&amp;!c.boundary.equals(k)&amp;&amp;!c.boundary.contains(k)?null:k}}(),E=CKEDITOR.dom.walker.whitespaces(),F=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT),ia=function(){function a(a){var b=a.element,e,f,k;if(!n(b)||b.contains(a.editable)||b.isReadOnly())return null;k=pa(a,function(a,b){return!b.equals(a)},function(a,b){return ha(a,!0,b)},b);e=k.upper;f=k.lower;if(V(a,e,f))return k.set(T,
8);if(e&amp;&amp;b.contains(e))for(;!e.getParent().equals(b);)e=e.getParent();else e=b.getFirst(function(b){return c(a,b)});if(f&amp;&amp;b.contains(f))for(;!f.getParent().equals(b);)f=f.getParent();else f=b.getLast(function(b){return c(a,b)});if(!e||!f)return null;r(a,e);r(a,f);if(!q(a.mouse.y,e.size.top,f.size.bottom))return null;for(var b=Number.MAX_VALUE,h,g,l,p;f&amp;&amp;!f.equals(e)&amp;&amp;(g=e.getNext(a.isRelevant));)h=Math.abs(ka(a,e,g)-a.mouse.y),h&lt;b&amp;&amp;(b=h,l=e,p=g),e=g,r(a,e);if(!l||!p||!q(a.mouse.y,l.size.top,p.size.bottom))return null;
k.upper=l;k.lower=p;return k.set(T,8)}function c(a,b){return!(b&amp;&amp;b.type==CKEDITOR.NODE_TEXT||F(b)||u(b)||A(a,b)||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.$&amp;&amp;b.is(&quot;br&quot;))}return function(c){var b=a(c),e;if(e=b){e=b.upper;var f=b.lower;e=!e||!f||u(f)||u(e)||f.equals(e)||e.equals(f)||f.contains(e)||e.contains(f)?!1:L(c,e)&amp;&amp;L(c,f)&amp;&amp;V(c,e,f)?!0:!1}return e?b:null}}(),y=[&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;]})();CKEDITOR.config.magicline_keystrokePrevious=CKEDITOR.CTRL+CKEDITOR.SHIFT+51;
CKEDITOR.config.magicline_keystrokeNext=CKEDITOR.CTRL+CKEDITOR.SHIFT+52;(function(){function n(a){if(!a||a.type!=CKEDITOR.NODE_ELEMENT||&quot;form&quot;!=a.getName())return[];for(var e=[],f=[&quot;style&quot;,&quot;className&quot;],b=0;b&lt;f.length;b++){var c=a.$.elements.namedItem(f[b]);c&amp;&amp;(c=new CKEDITOR.dom.element(c),e.push([c,c.nextSibling]),c.remove())}return e}function t(a,e){if(a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;form&quot;==a.getName()&amp;&amp;0&lt;e.length)for(var f=e.length-1;0&lt;=f;f--){var b=e[f][0],c=e[f][1];c?b.insertBefore(c):b.appendTo(a)}}function r(a,e){var f=n(a),b={},c=a.$;e||(b[&quot;class&quot;]=c.className||
&quot;&quot;,c.className=&quot;&quot;);b.inline=c.style.cssText||&quot;&quot;;e||(c.style.cssText=&quot;position: static; overflow: visible&quot;);t(f);return b}function u(a,e){var f=n(a),b=a.$;&quot;class&quot;in e&amp;&amp;(b.className=e[&quot;class&quot;]);&quot;inline&quot;in e&amp;&amp;(b.style.cssText=e.inline);t(f)}function v(a){if(!a.editable().isInline()){var e=CKEDITOR.instances,f;for(f in e){var b=e[f];&quot;wysiwyg&quot;!=b.mode||b.readOnly||(b=b.document.getBody(),b.setAttribute(&quot;contentEditable&quot;,!1),b.setAttribute(&quot;contentEditable&quot;,!0))}a.editable().hasFocus&amp;&amp;(a.toolbox.focus(),
a.focus())}}CKEDITOR.plugins.add(&quot;maximize&quot;,{init:function(a){function e(){var b=c.getViewPaneSize();a.resize(b.width,b.height,null,!0)}if(a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var f=a.lang,b=CKEDITOR.document,c=b.getWindow(),l,m,p,n=CKEDITOR.TRISTATE_OFF;a.addCommand(&quot;maximize&quot;,{modes:{wysiwyg:!CKEDITOR.env.iOS,source:!CKEDITOR.env.iOS},readOnly:1,editorFocus:!1,exec:function(){var h=a.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_inner&quot;)}),g=a.ui.space(&quot;contents&quot;);
if(&quot;wysiwyg&quot;==a.mode){var d=a.getSelection();l=d&amp;&amp;d.getRanges();m=c.getScrollPosition()}else{var k=a.editable().$;l=!CKEDITOR.env.ie&amp;&amp;[k.selectionStart,k.selectionEnd];m=[k.scrollLeft,k.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){c.on(&quot;resize&quot;,e);p=c.getScrollPosition();for(d=a.container;d=d.getParent();)d.setCustomData(&quot;maximize_saved_styles&quot;,r(d)),d.setStyle(&quot;z-index&quot;,a.config.baseFloatZIndex-5);g.setCustomData(&quot;maximize_saved_styles&quot;,r(g,!0));h.setCustomData(&quot;maximize_saved_styles&quot;,r(h,!0));
g={overflow:CKEDITOR.env.webkit?&quot;&quot;:&quot;hidden&quot;,width:0,height:0};b.getDocumentElement().setStyles(g);!CKEDITOR.env.gecko&amp;&amp;b.getDocumentElement().setStyle(&quot;position&quot;,&quot;fixed&quot;);CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.quirks||b.getBody().setStyles(g);CKEDITOR.env.ie?setTimeout(function(){c.$.scrollTo(0,0)},0):c.$.scrollTo(0,0);h.setStyle(&quot;position&quot;,CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.quirks?&quot;fixed&quot;:&quot;absolute&quot;);h.$.offsetLeft;h.setStyles({&quot;z-index&quot;:a.config.baseFloatZIndex-5,left:&quot;0px&quot;,top:&quot;0px&quot;});h.addClass(&quot;cke_maximized&quot;);
e();g=h.getDocumentPosition();h.setStyles({left:-1*g.x+&quot;px&quot;,top:-1*g.y+&quot;px&quot;});CKEDITOR.env.gecko&amp;&amp;v(a)}else if(this.state==CKEDITOR.TRISTATE_ON){c.removeListener(&quot;resize&quot;,e);for(var d=[g,h],q=0;q&lt;d.length;q++)u(d[q],d[q].getCustomData(&quot;maximize_saved_styles&quot;)),d[q].removeCustomData(&quot;maximize_saved_styles&quot;);for(d=a.container;d=d.getParent();)u(d,d.getCustomData(&quot;maximize_saved_styles&quot;)),d.removeCustomData(&quot;maximize_saved_styles&quot;);CKEDITOR.env.ie?setTimeout(function(){c.$.scrollTo(p.x,p.y)},0):c.$.scrollTo(p.x,
p.y);h.removeClass(&quot;cke_maximized&quot;);CKEDITOR.env.webkit&amp;&amp;(h.setStyle(&quot;display&quot;,&quot;inline&quot;),setTimeout(function(){h.setStyle(&quot;display&quot;,&quot;block&quot;)},0));a.fire(&quot;resize&quot;,{outerHeight:a.container.$.offsetHeight,contentsHeight:g.$.offsetHeight,outerWidth:a.container.$.offsetWidth})}this.toggleState();if(d=this.uiItems[0])g=this.state==CKEDITOR.TRISTATE_OFF?f.maximize.maximize:f.maximize.minimize,d=CKEDITOR.document.getById(d._.id),d.getChild(1).setHtml(g),d.setAttribute(&quot;title&quot;,g),d.setAttribute(&quot;href&quot;,&#039;javascript:void(&quot;&#039;+
g+&#039;&quot;);&#039;);&quot;wysiwyg&quot;==a.mode?l?(CKEDITOR.env.gecko&amp;&amp;v(a),a.getSelection().selectRanges(l),(k=a.getSelection().getStartElement())&amp;&amp;k.scrollIntoView(!0)):c.$.scrollTo(m.x,m.y):(l&amp;&amp;(k.selectionStart=l[0],k.selectionEnd=l[1]),k.scrollLeft=m[0],k.scrollTop=m[1]);l=m=null;n=this.state;a.fire(&quot;maximize&quot;,this.state)},canUndo:!1});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Maximize&quot;,{label:f.maximize.maximize,command:&quot;maximize&quot;,toolbar:&quot;tools,10&quot;});a.on(&quot;mode&quot;,function(){var b=a.getCommand(&quot;maximize&quot;);b.setState(b.state==
CKEDITOR.TRISTATE_DISABLED?CKEDITOR.TRISTATE_DISABLED:n)},null,null,100)}}})})();CKEDITOR.plugins.add(&quot;newpage&quot;,{init:function(a){a.addCommand(&quot;newpage&quot;,{modes:{wysiwyg:1,source:1},exec:function(b){var a=this;b.setData(b.config.newpage_html||&quot;&quot;,function(){b.focus();setTimeout(function(){b.fire(&quot;afterCommandExec&quot;,{name:&quot;newpage&quot;,command:a});b.selectionChange()},200)})},async:!0});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;NewPage&quot;,{label:a.lang.newpage.toolbar,command:&quot;newpage&quot;,toolbar:&quot;document,20&quot;})}});(function(){function e(a){return{&quot;aria-label&quot;:a,&quot;class&quot;:&quot;cke_pagebreak&quot;,contenteditable:&quot;false&quot;,&quot;data-cke-display-name&quot;:&quot;pagebreak&quot;,&quot;data-cke-pagebreak&quot;:1,style:&quot;page-break-after: always&quot;,title:a}}CKEDITOR.plugins.add(&quot;pagebreak&quot;,{requires:&quot;fakeobjects&quot;,onLoad:function(){var a=(&quot;background:url(&quot;+CKEDITOR.getUrl(this.path+&quot;images/pagebreak.gif&quot;)+&quot;) no-repeat center center;clear:both;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;padding:0;height:7px;cursor:default;&quot;).replace(/;/g,
&quot; !important;&quot;);CKEDITOR.addCss(&quot;div.cke_pagebreak{&quot;+a+&quot;}&quot;)},init:function(a){a.blockless||(a.addCommand(&quot;pagebreak&quot;,CKEDITOR.plugins.pagebreakCmd),a.ui.addButton&amp;&amp;a.ui.addButton(&quot;PageBreak&quot;,{label:a.lang.pagebreak.toolbar,command:&quot;pagebreak&quot;,toolbar:&quot;insert,70&quot;}),CKEDITOR.env.webkit&amp;&amp;a.on(&quot;contentDom&quot;,function(){a.document.on(&quot;click&quot;,function(c){c=c.data.getTarget();c.is(&quot;div&quot;)&amp;&amp;c.hasClass(&quot;cke_pagebreak&quot;)&amp;&amp;a.getSelection().selectElement(c)})}))},afterInit:function(a){function c(f){CKEDITOR.tools.extend(f.attributes,
e(a.lang.pagebreak.alt),!0);f.children.length=0}var b=a.dataProcessor,g=b&amp;&amp;b.dataFilter,b=b&amp;&amp;b.htmlFilter,h=/page-break-after\s*:\s*always/i,k=/display\s*:\s*none/i;b&amp;&amp;b.addRules({attributes:{&quot;class&quot;:function(a,c){var b=a.replace(&quot;cke_pagebreak&quot;,&quot;&quot;);if(b!=a){var d=CKEDITOR.htmlParser.fragment.fromHtml(&#039;\x3cspan style\x3d&quot;display: none;&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;).children[0];c.children.length=0;c.add(d);d=c.attributes;delete d[&quot;aria-label&quot;];delete d.contenteditable;delete d.title}return b}}},{applyToAll:!0,
priority:5});g&amp;&amp;g.addRules({elements:{div:function(a){if(a.attributes[&quot;data-cke-pagebreak&quot;])c(a);else if(h.test(a.attributes.style)){var b=a.children[0];b&amp;&amp;&quot;span&quot;==b.name&amp;&amp;k.test(b.attributes.style)&amp;&amp;c(a)}}}})}});CKEDITOR.plugins.pagebreakCmd={exec:function(a){a.insertElement(CKEDITOR.plugins.pagebreak.createElement(a))},context:&quot;div&quot;,allowedContent:{div:{styles:&quot;!page-break-after&quot;},span:{match:function(a){return(a=a.parent)&amp;&amp;&quot;div&quot;==a.name&amp;&amp;a.styles&amp;&amp;a.styles[&quot;page-break-after&quot;]},styles:&quot;display&quot;}},
requiredContent:&quot;div{page-break-after}&quot;};CKEDITOR.plugins.pagebreak={createElement:function(a){return a.document.createElement(&quot;div&quot;,{attributes:e(a.lang.pagebreak.alt)})}}})();(function(){var f={canUndo:!1,async:!0,exec:function(a,b){var c=a.lang,e=CKEDITOR.tools.keystrokeToString(c.common.keyboard,a.getCommandKeystroke(CKEDITOR.env.ie?a.commands.paste:this)),d=b&amp;&amp;&quot;undefined&quot;!==typeof b.notification?b.notification:!b||!b.from||&quot;keystrokeHandler&quot;===b.from&amp;&amp;CKEDITOR.env.ie,c=d&amp;&amp;&quot;string&quot;===typeof d?d:c.pastetext.pasteNotification.replace(/%1/,&#039;\x3ckbd aria-label\x3d&quot;&#039;+e.aria+&#039;&quot;\x3e&#039;+e.display+&quot;\x3c/kbd\x3e&quot;);a.execCommand(&quot;paste&quot;,{type:&quot;text&quot;,notification:d?c:!1})}};CKEDITOR.plugins.add(&quot;pastetext&quot;,
{requires:&quot;clipboard&quot;,init:function(a){var b=CKEDITOR.env.safari?CKEDITOR.CTRL+CKEDITOR.ALT+CKEDITOR.SHIFT+86:CKEDITOR.CTRL+CKEDITOR.SHIFT+86;a.addCommand(&quot;pastetext&quot;,f);a.setKeystroke(b,&quot;pastetext&quot;);CKEDITOR.plugins.clipboard.addPasteButton(a,&quot;PasteText&quot;,{label:a.lang.pastetext.button,command:&quot;pastetext&quot;,toolbar:&quot;clipboard,40&quot;});if(a.config.forcePasteAsPlainText)a.on(&quot;beforePaste&quot;,function(a){&quot;html&quot;!=a.data.type&amp;&amp;(a.data.type=&quot;text&quot;)});a.on(&quot;pasteState&quot;,function(b){a.getCommand(&quot;pastetext&quot;).setState(b.data)})}})})();(function(){function n(a,b){return CKEDITOR.tools.array.filter(a,function(a){return a.canHandle(b)}).sort(function(a,c){return a.priority===c.priority?0:a.priority-c.priority})}function k(a,b){var d=a.shift();d&amp;&amp;d.handle(b,function(){k(a,b)})}function p(a){var b=CKEDITOR.tools.array.reduce(a,function(a,c){return CKEDITOR.tools.array.isArray(c.filters)?a.concat(c.filters):a},[]);return CKEDITOR.tools.array.filter(b,function(a,c){return CKEDITOR.tools.array.indexOf(b,a)===c})}function l(a,b){var d=
0,c,e;if(!CKEDITOR.tools.array.isArray(a)||0===a.length)return!0;c=CKEDITOR.tools.array.filter(a,function(a){return-1===CKEDITOR.tools.array.indexOf(m,a)});if(0&lt;c.length)for(e=0;e&lt;c.length;e++)(function(a){CKEDITOR.scriptLoader.queue(a,function(e){e&amp;&amp;m.push(a);++d===c.length&amp;&amp;b()})})(c[e]);return 0===c.length}var m=[],q=CKEDITOR.tools.createClass({$:function(){this.handlers=[]},proto:{register:function(a){&quot;number&quot;!==typeof a.priority&amp;&amp;(a.priority=10);this.handlers.push(a)},addPasteListener:function(a){a.on(&quot;paste&quot;,
function(b){var d=n(this.handlers,b),c;if(0!==d.length){c=p(d);c=l(c,function(){return a.fire(&quot;paste&quot;,b.data)});if(!c)return b.cancel();k(d,b)}},this,null,3)}}});CKEDITOR.plugins.add(&quot;pastetools&quot;,{requires:&quot;clipboard&quot;,beforeInit:function(a){a.pasteTools=new q;a.pasteTools.addPasteListener(a)}});CKEDITOR.plugins.pastetools={filters:{},loadFilters:l,createFilter:function(a){var b=CKEDITOR.tools.array.isArray(a.rules)?a.rules:[a.rules],d=a.additionalTransforms;return function(a,e){var f=new CKEDITOR.htmlParser.basicWriter,
g=new CKEDITOR.htmlParser.filter,h;d&amp;&amp;(a=d(a,e));CKEDITOR.tools.array.forEach(b,function(b){g.addRules(b(a,e,g))});h=CKEDITOR.htmlParser.fragment.fromHtml(a);g.applyTo(h);h.writeHtml(f);return f.getHtml()}},getClipboardData:function(a,b){var d;return CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||&quot;text/html&quot;===b?(d=a.dataTransfer.getData(b,!0))||&quot;text/html&quot;!==b?d:a.dataValue:null},getConfigValue:function(a,b){if(a&amp;&amp;a.config){var d=CKEDITOR.tools,c=a.config,e=d.object.keys(c),f=[&quot;pasteTools_&quot;+
b,&quot;pasteFromWord_&quot;+b,&quot;pasteFromWord&quot;+d.capitalize(b,!0)],f=d.array.find(f,function(a){return-1!==d.array.indexOf(e,a)});return c[f]}},getContentGeneratorName:function(a){if((a=/&lt;meta\s+name=[&quot;&#039;]?generator[&quot;&#039;]?\s+content=[&quot;&#039;]?(\w+)/gi.exec(a))&amp;&amp;a.length)return a=a[1].toLowerCase(),0===a.indexOf(&quot;microsoft&quot;)?&quot;microsoft&quot;:0===a.indexOf(&quot;libreoffice&quot;)?&quot;libreoffice&quot;:&quot;unknown&quot;}};CKEDITOR.pasteFilters={}})();(function(){CKEDITOR.plugins.add(&quot;pastefromgdocs&quot;,{requires:&quot;pastetools&quot;,init:function(a){var c=CKEDITOR.plugins.getPath(&quot;pastetools&quot;),d=this.path;a.pasteTools.register({filters:[CKEDITOR.getUrl(c+&quot;filter/common.js&quot;),CKEDITOR.getUrl(d+&quot;filter/default.js&quot;)],canHandle:function(a){return/id=(\&quot;|\&#039;)?docs\-internal\-guid\-/.test(a.data.dataValue)},handle:function(c,d){var b=c.data,e=CKEDITOR.plugins.pastetools.getClipboardData(b,&quot;text/html&quot;);b.dontFilter=!0;b.dataValue=CKEDITOR.pasteFilters.gdocs(e,a);
!0===a.config.forcePasteAsPlainText&amp;&amp;(b.type=&quot;text&quot;);d()}})}})})();(function(){CKEDITOR.plugins.add(&quot;pastefromword&quot;,{requires:&quot;pastetools&quot;,init:function(a){function g(a){var b=CKEDITOR.plugins.pastefromword&amp;&amp;CKEDITOR.plugins.pastefromword.images,c,d=[];if(b&amp;&amp;a.editor.filter.check(&quot;img[src]&quot;)&amp;&amp;(c=b.extractTagsFromHtml(a.data.dataValue),0!==c.length&amp;&amp;(b=b.extractFromRtf(a.data.dataTransfer[&quot;text/rtf&quot;]),0!==b.length&amp;&amp;(CKEDITOR.tools.array.forEach(b,function(b){d.push(b.type?&quot;data:&quot;+b.type+&quot;;base64,&quot;+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(b.hex)):
null)},this),c.length===d.length))))for(b=0;b&lt;c.length;b++)0===c[b].indexOf(&quot;file://&quot;)&amp;&amp;d[b]&amp;&amp;(a.data.dataValue=a.data.dataValue.replace(c[b],d[b]))}var e=0,f=CKEDITOR.plugins.getPath(&quot;pastetools&quot;),h=this.path,k=void 0===a.config.pasteFromWord_inlineImages?!0:a.config.pasteFromWord_inlineImages,f=[CKEDITOR.getUrl(f+&quot;filter/common.js&quot;),CKEDITOR.getUrl(h+&quot;filter/default.js&quot;)];a.addCommand(&quot;pastefromword&quot;,{canUndo:!1,async:!0,exec:function(a,b){e=1;a.execCommand(&quot;paste&quot;,{type:&quot;html&quot;,notification:b&amp;&amp;
&quot;undefined&quot;!==typeof b.notification?b.notification:!0})}});CKEDITOR.plugins.clipboard.addPasteButton(a,&quot;PasteFromWord&quot;,{label:a.lang.pastefromword.toolbar,command:&quot;pastefromword&quot;,toolbar:&quot;clipboard,50&quot;});a.pasteTools.register({filters:a.config.pasteFromWordCleanupFile?[a.config.pasteFromWordCleanupFile]:f,canHandle:function(a){a=CKEDITOR.plugins.pastetools.getClipboardData(a.data,&quot;text/html&quot;);var b=CKEDITOR.plugins.pastetools.getContentGeneratorName(a),c=/(class=&quot;?Mso|style=[&quot;&#039;][^&quot;]*?\bmso\-|w:WordDocument|&lt;o:\w+&gt;|&lt;\/font&gt;)/,
b=b?&quot;microsoft&quot;===b:c.test(a);return a&amp;&amp;(e||b)},handle:function(f,b){var c=f.data,d=CKEDITOR.plugins.pastetools.getClipboardData(c,&quot;text/html&quot;),g=CKEDITOR.plugins.pastetools.getClipboardData(c,&quot;text/rtf&quot;),d={dataValue:d,dataTransfer:{&quot;text/rtf&quot;:g}};if(!1!==a.fire(&quot;pasteFromWord&quot;,d)||e){c.dontFilter=!0;if(e||!a.config.pasteFromWordPromptCleanup||confirm(a.lang.pastefromword.confirmCleanup))d.dataValue=CKEDITOR.cleanWord(d.dataValue,a),a.fire(&quot;afterPasteFromWord&quot;,d),c.dataValue=d.dataValue,!0===a.config.forcePasteAsPlainText?
c.type=&quot;text&quot;:CKEDITOR.plugins.clipboard.isCustomCopyCutSupported||&quot;allow-word&quot;!==a.config.forcePasteAsPlainText||(c.type=&quot;html&quot;);e=0;b()}}});if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported&amp;&amp;k)a.on(&quot;afterPasteFromWord&quot;,g)}})})();(function(){function h(a){var e=CKEDITOR.plugins.getPath(&quot;preview&quot;),d=a.config,g=a.lang.preview.preview,f=function(){var a=location.origin,b=location.pathname;if(!d.baseHref&amp;&amp;!CKEDITOR.env.gecko)return&quot;&quot;;if(d.baseHref)return&#039;\x3cbase href\x3d&quot;{HREF}&quot;\x3e&#039;.replace(&quot;{HREF}&quot;,d.baseHref);b=b.split(&quot;/&quot;);b.pop();b=b.join(&quot;/&quot;);return&#039;\x3cbase href\x3d&quot;{HREF}&quot;\x3e&#039;.replace(&quot;{HREF}&quot;,a+b+&quot;/&quot;)}();return d.fullPage?a.getData().replace(/&lt;head&gt;/,&quot;$\x26&quot;+f).replace(/[^&gt;]*(?=&lt;\/title&gt;)/,&quot;$\x26 \x26mdash; &quot;+g):d.docType+
&#039;\x3chtml dir\x3d&quot;&#039;+d.contentsLangDirection+&#039;&quot;\x3e\x3chead\x3e&#039;+f+&quot;\x3ctitle\x3e&quot;+g+&quot;\x3c/title\x3e&quot;+CKEDITOR.tools.buildStyleHtml(d.contentsCss)+&#039;\x3clink rel\x3d&quot;stylesheet&quot; media\x3d&quot;screen&quot; href\x3d&quot;&#039;+e+&#039;styles/screen.css&quot;\x3e\x3c/head\x3e&#039;+function(){var c=&quot;\x3cbody\x3e&quot;,b=a.document&amp;&amp;a.document.getBody();if(!b)return c;b.getAttribute(&quot;id&quot;)&amp;&amp;(c=c.replace(&quot;\x3e&quot;,&#039; id\x3d&quot;&#039;+b.getAttribute(&quot;id&quot;)+&#039;&quot;\x3e&#039;));b.getAttribute(&quot;class&quot;)&amp;&amp;(c=c.replace(&quot;\x3e&quot;,&#039; class\x3d&quot;&#039;+b.getAttribute(&quot;class&quot;)+&#039;&quot;\x3e&#039;));
return c}()+a.getData()+&quot;\x3c/body\x3e\x3c/html\x3e&quot;}CKEDITOR.plugins.add(&quot;preview&quot;,{init:function(a){a.addCommand(&quot;preview&quot;,{modes:{wysiwyg:1},canUndo:!1,readOnly:1,exec:CKEDITOR.plugins.preview.createPreview});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Preview&quot;,{label:a.lang.preview.preview,command:&quot;preview&quot;,toolbar:&quot;document,40&quot;})}});CKEDITOR.plugins.preview={createPreview:function(a){var e,d,g,f={dataValue:h(a)},c=window.screen;e=Math.round(.8*c.width);d=Math.round(.7*c.height);g=Math.round(.1*c.width);
c=CKEDITOR.env.ie?&quot;javascript:void( (function(){document.open();&quot;+(&quot;(&quot;+CKEDITOR.tools.fixDomain+&quot;)();&quot;).replace(/\/\/.*?\n/g,&quot;&quot;).replace(/parent\./g,&quot;window.opener.&quot;)+&quot;document.write( window.opener._cke_htmlToLoad );document.close();window.opener._cke_htmlToLoad \x3d null;})() )&quot;:null;var b;b=CKEDITOR.plugins.getPath(&quot;preview&quot;);b=CKEDITOR.env.gecko?CKEDITOR.getUrl(b+&quot;preview.html&quot;):&quot;&quot;;if(!1===a.fire(&quot;contentPreview&quot;,f))return!1;if(c||b)window._cke_htmlToLoad=f.dataValue;a=window.open(b,null,[&quot;toolbar\x3dyes,location\x3dno,status\x3dyes,menubar\x3dyes,scrollbars\x3dyes,resizable\x3dyes&quot;,
&quot;width\x3d&quot;+e,&quot;height\x3d&quot;+d,&quot;left\x3d&quot;+g].join());c&amp;&amp;a&amp;&amp;(a.location=c);window._cke_htmlToLoad||(e=a.document,e.open(),e.write(f.dataValue),e.close());return new CKEDITOR.dom.window(a)}}})();(function(){CKEDITOR.plugins.add(&quot;print&quot;,{requires:&quot;preview&quot;,init:function(a){a.addCommand(&quot;print&quot;,CKEDITOR.plugins.print);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Print&quot;,{label:a.lang.print.toolbar,command:&quot;print&quot;,toolbar:&quot;document,50&quot;})}});CKEDITOR.plugins.print={exec:function(a){function c(){CKEDITOR.env.gecko?b.print():b.document.execCommand(&quot;Print&quot;);b.close()}a=CKEDITOR.plugins.preview.createPreview(a);var b;if(a){b=a.$;if(&quot;complete&quot;===b.document.readyState)return c();a.once(&quot;load&quot;,c)}},canUndo:!1,readOnly:1,
modes:{wysiwyg:1}}})();CKEDITOR.plugins.add(&quot;removeformat&quot;,{init:function(a){a.addCommand(&quot;removeFormat&quot;,CKEDITOR.plugins.removeformat.commands.removeformat);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;RemoveFormat&quot;,{label:a.lang.removeformat.toolbar,command:&quot;removeFormat&quot;,toolbar:&quot;cleanup,10&quot;})}});
CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(a){for(var h=a._.removeFormatRegex||(a._.removeFormatRegex=new RegExp(&quot;^(?:&quot;+a.config.removeFormatTags.replace(/,/g,&quot;|&quot;)+&quot;)$&quot;,&quot;i&quot;)),c=a._.removeAttributes||(a._.removeAttributes=a.config.removeFormatAttributes.split(&quot;,&quot;)),e=CKEDITOR.plugins.removeformat.filter,m=a.getSelection().getRanges(),n=m.createIterator(),p=function(a){return a.type==CKEDITOR.NODE_ELEMENT},f;f=n.getNextRange();){f.enlarge(CKEDITOR.ENLARGE_INLINE);var l=f.createBookmark(),
b=l.startNode,d=l.endNode,k=function(b){for(var c=a.elementPath(b),f=c.elements,d=1,g;(g=f[d])&amp;&amp;!g.equals(c.block)&amp;&amp;!g.equals(c.blockLimit);d++)h.test(g.getName())&amp;&amp;e(a,g)&amp;&amp;b.breakParent(g)};k(b);if(d)for(k(d),b=b.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);b&amp;&amp;!b.equals(d);)if(b.isReadOnly()){if(b.getPosition(d)&amp;CKEDITOR.POSITION_CONTAINS)break;b=b.getNext(p)}else k=b.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),&quot;img&quot;==b.getName()&amp;&amp;b.data(&quot;cke-realelement&quot;)||!e(a,b)||(h.test(b.getName())?b.remove(1):
(b.removeAttributes(c),a.fire(&quot;removeFormatCleanup&quot;,b))),b=k;f.moveToBookmark(l)}a.forceNextSelectionCheck();a.getSelection().selectRanges(m)}}},filter:function(a,h){for(var c=a._.removeFormatFilters||[],e=0;e&lt;c.length;e++)if(!1===c[e](h))return!1;return!0}};CKEDITOR.editor.prototype.addRemoveFormatFilter=function(a){this._.removeFormatFilters||(this._.removeFormatFilters=[]);this._.removeFormatFilters.push(a)};CKEDITOR.config.removeFormatTags=&quot;b,big,cite,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var&quot;;
CKEDITOR.config.removeFormatAttributes=&quot;class,style,lang,width,height,align,hspace,valign&quot;;(function(){var b={readOnly:1,modes:{wysiwyg:1,source:1},exec:function(a){if(a.fire(&quot;save&quot;)&amp;&amp;(a=a.element.$.form))try{a.submit()}catch(b){a.submit.click&amp;&amp;a.submit.click()}}};CKEDITOR.plugins.add(&quot;save&quot;,{init:function(a){a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;(a.addCommand(&quot;save&quot;,b).startDisabled=!a.element.$.form,a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Save&quot;,{label:a.lang.save.toolbar,command:&quot;save&quot;,toolbar:&quot;document,10&quot;}))}})})();(function(){CKEDITOR.plugins.add(&quot;selectall&quot;,{init:function(b){b.addCommand(&quot;selectAll&quot;,{modes:{wysiwyg:1,source:1},exec:function(a){var b=a.editable();if(b.is(&quot;textarea&quot;))a=b.$,CKEDITOR.env.ie&amp;&amp;a.createTextRange?a.createTextRange().execCommand(&quot;SelectAll&quot;):(a.selectionStart=0,a.selectionEnd=a.value.length),a.focus();else{if(b.is(&quot;body&quot;))a.document.$.execCommand(&quot;SelectAll&quot;,!1,null);else{var c=a.createRange();c.selectNodeContents(b);c.select()}a.forceNextSelectionCheck();a.selectionChange()}},canUndo:!1});
b.ui.addButton&amp;&amp;b.ui.addButton(&quot;SelectAll&quot;,{label:b.lang.selectall.toolbar,command:&quot;selectAll&quot;,toolbar:&quot;selection,10&quot;})}})})();(function(){var k={readOnly:1,preserveState:!0,editorFocus:!1,exec:function(a){this.toggleState();this.refresh(a)},refresh:function(a){if(a.document){var c=this.state!=CKEDITOR.TRISTATE_ON||a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;!a.focusManager.hasFocus?&quot;removeClass&quot;:&quot;attachClass&quot;;a.editable()[c](&quot;cke_show_blocks&quot;)}}};CKEDITOR.plugins.add(&quot;showblocks&quot;,{onLoad:function(){var a=&quot;p div pre address blockquote h1 h2 h3 h4 h5 h6&quot;.split(&quot; &quot;),c,b,e,f,k=CKEDITOR.getUrl(this.path),l=!(CKEDITOR.env.ie&amp;&amp;
9&gt;CKEDITOR.env.version),g=l?&quot;:not([contenteditable\x3dfalse]):not(.cke_show_blocks_off)&quot;:&quot;&quot;,d,h;for(c=b=e=f=&quot;&quot;;d=a.pop();)h=a.length?&quot;,&quot;:&quot;&quot;,c+=&quot;.cke_show_blocks &quot;+d+g+h,e+=&quot;.cke_show_blocks.cke_contents_ltr &quot;+d+g+h,f+=&quot;.cke_show_blocks.cke_contents_rtl &quot;+d+g+h,b+=&quot;.cke_show_blocks &quot;+d+g+&quot;{background-image:url(&quot;+CKEDITOR.getUrl(k+&quot;images/block_&quot;+d+&quot;.png&quot;)+&quot;)}&quot;;CKEDITOR.addCss((c+&quot;{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px}&quot;).concat(b,e+&quot;{background-position:top left;padding-left:8px}&quot;,
f+&quot;{background-position:top right;padding-right:8px}&quot;));l||CKEDITOR.addCss(&quot;.cke_show_blocks [contenteditable\x3dfalse],.cke_show_blocks .cke_show_blocks_off{border:none;padding-top:0;background-image:none}.cke_show_blocks.cke_contents_rtl [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_rtl .cke_show_blocks_off{padding-right:0}.cke_show_blocks.cke_contents_ltr [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_ltr .cke_show_blocks_off{padding-left:0}&quot;)},init:function(a){function c(){b.refresh(a)}
if(!a.blockless){var b=a.addCommand(&quot;showblocks&quot;,k);b.canUndo=!1;a.config.startupOutlineBlocks&amp;&amp;b.setState(CKEDITOR.TRISTATE_ON);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;ShowBlocks&quot;,{label:a.lang.showblocks.toolbar,command:&quot;showblocks&quot;,toolbar:&quot;tools,20&quot;});a.on(&quot;mode&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(a)});a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;(a.on(&quot;focus&quot;,c),a.on(&quot;blur&quot;,c));a.on(&quot;contentDom&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(a)})}}})})();(function(){var f={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(a){this.toggleState();this.refresh(a)},refresh:function(a){if(a.document){var b=this.state==CKEDITOR.TRISTATE_ON?&quot;attachClass&quot;:&quot;removeClass&quot;;a.editable()[b](&quot;cke_show_borders&quot;)}}};CKEDITOR.plugins.add(&quot;showborders&quot;,{modes:{wysiwyg:1},onLoad:function(){var a;a=(CKEDITOR.env.ie6Compat?[&quot;.%1 table.%2,&quot;,&quot;.%1 table.%2 td, .%1 table.%2 th&quot;,&quot;{&quot;,&quot;border : #d3d3d3 1px dotted&quot;,&quot;}&quot;]:&quot;.%1 table.%2,;.%1 table.%2 \x3e tr \x3e td, .%1 table.%2 \x3e tr \x3e th,;.%1 table.%2 \x3e tbody \x3e tr \x3e td, .%1 table.%2 \x3e tbody \x3e tr \x3e th,;.%1 table.%2 \x3e thead \x3e tr \x3e td, .%1 table.%2 \x3e thead \x3e tr \x3e th,;.%1 table.%2 \x3e tfoot \x3e tr \x3e td, .%1 table.%2 \x3e tfoot \x3e tr \x3e th;{;border : #d3d3d3 1px dotted;}&quot;.split(&quot;;&quot;)).join(&quot;&quot;).replace(/%2/g,
&quot;cke_show_border&quot;).replace(/%1/g,&quot;cke_show_borders &quot;);CKEDITOR.addCss(a)},init:function(a){var b=a.addCommand(&quot;showborders&quot;,f);b.canUndo=!1;!1!==a.config.startupShowBorders&amp;&amp;b.setState(CKEDITOR.TRISTATE_ON);a.on(&quot;mode&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(a)},null,null,100);a.on(&quot;contentDom&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(a)});a.on(&quot;removeFormatCleanup&quot;,function(d){d=d.data;a.getCommand(&quot;showborders&quot;).state==CKEDITOR.TRISTATE_ON&amp;&amp;d.is(&quot;table&quot;)&amp;&amp;(!d.hasAttribute(&quot;border&quot;)||
0&gt;=parseInt(d.getAttribute(&quot;border&quot;),10))&amp;&amp;d.addClass(&quot;cke_show_border&quot;)})},afterInit:function(a){var b=a.dataProcessor;a=b&amp;&amp;b.dataFilter;b=b&amp;&amp;b.htmlFilter;a&amp;&amp;a.addRules({elements:{table:function(a){a=a.attributes;var b=a[&quot;class&quot;],c=parseInt(a.border,10);c&amp;&amp;!(0&gt;=c)||b&amp;&amp;-1!=b.indexOf(&quot;cke_show_border&quot;)||(a[&quot;class&quot;]=(b||&quot;&quot;)+&quot; cke_show_border&quot;)}}});b&amp;&amp;b.addRules({elements:{table:function(a){a=a.attributes;var b=a[&quot;class&quot;];b&amp;&amp;(a[&quot;class&quot;]=b.replace(&quot;cke_show_border&quot;,&quot;&quot;).replace(/\s{2}/,&quot; &quot;).replace(/^\s+|\s+$/,
&quot;&quot;))}}})}});CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){var b=a.data.name;if(&quot;table&quot;==b||&quot;tableProperties&quot;==b)if(a=a.data.definition,b=a.getContents(&quot;info&quot;).get(&quot;txtBorder&quot;),b.commit=CKEDITOR.tools.override(b.commit,function(a){return function(b,c){a.apply(this,arguments);var e=parseInt(this.getValue(),10);c[!e||0&gt;=e?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_show_border&quot;)}}),a=(a=a.getContents(&quot;advanced&quot;))&amp;&amp;a.get(&quot;advCSSClasses&quot;))a.setup=CKEDITOR.tools.override(a.setup,function(a){return function(){a.apply(this,
arguments);this.setValue(this.getValue().replace(/cke_show_border/,&quot;&quot;))}}),a.commit=CKEDITOR.tools.override(a.commit,function(a){return function(b,c){a.apply(this,arguments);parseInt(c.getAttribute(&quot;border&quot;),10)||c.addClass(&quot;cke_show_border&quot;)}})})})();(function(){CKEDITOR.plugins.add(&quot;sourcearea&quot;,{init:function(a){function d(){var a=e&amp;&amp;this.equals(CKEDITOR.document.getActive());this.hide();this.setStyle(&quot;height&quot;,this.getParent().$.clientHeight+&quot;px&quot;);this.setStyle(&quot;width&quot;,this.getParent().$.clientWidth+&quot;px&quot;);this.show();a&amp;&amp;this.focus()}if(a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var f=CKEDITOR.plugins.sourcearea;a.addMode(&quot;source&quot;,function(e){var b=a.ui.space(&quot;contents&quot;).getDocument().createElement(&quot;textarea&quot;);b.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?
&quot;99%&quot;:&quot;100%&quot;,height:&quot;100%&quot;,resize:&quot;none&quot;,outline:&quot;none&quot;,&quot;text-align&quot;:&quot;left&quot;},CKEDITOR.tools.cssVendorPrefix(&quot;tab-size&quot;,a.config.sourceAreaTabSize||4)));b.setAttribute(&quot;dir&quot;,&quot;ltr&quot;);b.addClass(&quot;cke_source&quot;).addClass(&quot;cke_reset&quot;).addClass(&quot;cke_enable_context_menu&quot;);a.ui.space(&quot;contents&quot;).append(b);b=a.editable(new c(a,b));b.setData(a.getData(1));CKEDITOR.env.ie&amp;&amp;(b.attachListener(a,&quot;resize&quot;,d,b),b.attachListener(CKEDITOR.document.getWindow(),&quot;resize&quot;,d,b),CKEDITOR.tools.setTimeout(d,0,b));a.fire(&quot;ariaWidget&quot;,
this);e()});a.addCommand(&quot;source&quot;,f.commands.source);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Source&quot;,{label:a.lang.sourcearea.toolbar,command:&quot;source&quot;,toolbar:&quot;mode,10&quot;});a.on(&quot;mode&quot;,function(){a.getCommand(&quot;source&quot;).setState(&quot;source&quot;==a.mode?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)});var e=CKEDITOR.env.ie&amp;&amp;9==CKEDITOR.env.version}}});var c=CKEDITOR.tools.createClass({base:CKEDITOR.editable,proto:{setData:function(a){this.setValue(a);this.status=&quot;ready&quot;;this.editor.fire(&quot;dataReady&quot;)},getData:function(){return this.getValue()},
insertHtml:function(){},insertElement:function(){},insertText:function(){},setReadOnly:function(a){this[(a?&quot;set&quot;:&quot;remove&quot;)+&quot;Attribute&quot;](&quot;readOnly&quot;,&quot;readonly&quot;)},detach:function(){c.baseProto.detach.call(this);this.clearCustomData();this.remove()}}})})();
CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(c){&quot;wysiwyg&quot;==c.mode&amp;&amp;c.fire(&quot;saveSnapshot&quot;);c.getCommand(&quot;source&quot;).setState(CKEDITOR.TRISTATE_DISABLED);c.setMode(&quot;source&quot;==c.mode?&quot;wysiwyg&quot;:&quot;source&quot;)},canUndo:!1}}};CKEDITOR.plugins.add(&quot;specialchar&quot;,{availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,en:1,&quot;en-au&quot;:1,&quot;en-ca&quot;:1,&quot;en-gb&quot;:1,eo:1,es:1,&quot;es-mx&quot;:1,et:1,eu:1,fa:1,fi:1,fr:1,&quot;fr-ca&quot;:1,gl:1,he:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,ku:1,lt:1,lv:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,&quot;pt-br&quot;:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,&quot;sr-latn&quot;:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,&quot;zh-cn&quot;:1},requires:&quot;dialog&quot;,init:function(a){var c=this;CKEDITOR.dialog.add(&quot;specialchar&quot;,this.path+&quot;dialogs/specialchar.js&quot;);
a.addCommand(&quot;specialchar&quot;,{exec:function(){var b=a.langCode,b=c.availableLangs[b]?b:c.availableLangs[b.replace(/-.*/,&quot;&quot;)]?b.replace(/-.*/,&quot;&quot;):&quot;en&quot;;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(c.path+&quot;dialogs/lang/&quot;+b+&quot;.js&quot;),function(){CKEDITOR.tools.extend(a.lang.specialchar,c.langEntries[b]);a.openDialog(&quot;specialchar&quot;)})},modes:{wysiwyg:1},canUndo:!1});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;SpecialChar&quot;,{label:a.lang.specialchar.toolbar,command:&quot;specialchar&quot;,toolbar:&quot;insert,50&quot;})}});
CKEDITOR.config.specialChars=&quot;! \x26quot; # $ % \x26amp; &#039; ( ) * + - . / 0 1 2 3 4 5 6 7 8 9 : ; \x26lt; \x3d \x26gt; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x26euro; \x26lsquo; \x26rsquo; \x26ldquo; \x26rdquo; \x26ndash; \x26mdash; \x26iexcl; \x26cent; \x26pound; \x26curren; \x26yen; \x26brvbar; \x26sect; \x26uml; \x26copy; \x26ordf; \x26laquo; \x26not; \x26reg; \x26macr; \x26deg; \x26sup2; \x26sup3; \x26acute; \x26micro; \x26para; \x26middot; \x26cedil; \x26sup1; \x26ordm; \x26raquo; \x26frac14; \x26frac12; \x26frac34; \x26iquest; \x26Agrave; \x26Aacute; \x26Acirc; \x26Atilde; \x26Auml; \x26Aring; \x26AElig; \x26Ccedil; \x26Egrave; \x26Eacute; \x26Ecirc; \x26Euml; \x26Igrave; \x26Iacute; \x26Icirc; \x26Iuml; \x26ETH; \x26Ntilde; \x26Ograve; \x26Oacute; \x26Ocirc; \x26Otilde; \x26Ouml; \x26times; \x26Oslash; \x26Ugrave; \x26Uacute; \x26Ucirc; \x26Uuml; \x26Yacute; \x26THORN; \x26szlig; \x26agrave; \x26aacute; \x26acirc; \x26atilde; \x26auml; \x26aring; \x26aelig; \x26ccedil; \x26egrave; \x26eacute; \x26ecirc; \x26euml; \x26igrave; \x26iacute; \x26icirc; \x26iuml; \x26eth; \x26ntilde; \x26ograve; \x26oacute; \x26ocirc; \x26otilde; \x26ouml; \x26divide; \x26oslash; \x26ugrave; \x26uacute; \x26ucirc; \x26uuml; \x26yacute; \x26thorn; \x26yuml; \x26OElig; \x26oelig; \x26#372; \x26#374 \x26#373 \x26#375; \x26sbquo; \x26#8219; \x26bdquo; \x26hellip; \x26trade; \x26#9658; \x26bull; \x26rarr; \x26rArr; \x26hArr; \x26diams; \x26asymp;&quot;.split(&quot; &quot;);CKEDITOR.plugins.add(&quot;scayt&quot;,{requires:&quot;menubutton,dialog&quot;,tabToOpen:null,dialogName:&quot;scaytDialog&quot;,onLoad:function(a){&quot;moono-lisa&quot;==(CKEDITOR.skinName||a.config.skin)&amp;&amp;CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(this.path+&quot;skins/&quot;+CKEDITOR.skin.name+&quot;/scayt.css&quot;));CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(this.path+&quot;dialogs/dialog.css&quot;));var c=!1;CKEDITOR.on(&quot;instanceLoaded&quot;,function(a){if(!c&amp;&amp;CKEDITOR.plugins.autocomplete){c=!0;var b=CKEDITOR.plugins.autocomplete.prototype.getModel;
CKEDITOR.plugins.autocomplete.prototype.getModel=function(a){var d=this.editor;a=b.bind(this)(a);a.on(&quot;change-isActive&quot;,function(a){a.data?d.fire(&quot;autocompletePanelShow&quot;):d.fire(&quot;autocompletePanelHide&quot;)});return a}}})},init:function(a){var c=this,d=CKEDITOR.plugins.scayt;this.bindEvents(a);this.parseConfig(a);this.addRule(a);CKEDITOR.dialog.add(this.dialogName,CKEDITOR.getUrl(this.path+&quot;dialogs/options.js&quot;));this.addMenuItems(a);var b=a.lang.scayt,e=CKEDITOR.env;a.ui.add(&quot;Scayt&quot;,CKEDITOR.UI_MENUBUTTON,
{label:b.text_title,title:a.plugins.wsc?a.lang.wsc.title:b.text_title,modes:{wysiwyg:!(e.ie&amp;&amp;(8&gt;e.version||e.quirks))},toolbar:&quot;spellchecker,20&quot;,refresh:function(){var b=a.ui.instances.Scayt.getState();a.scayt&amp;&amp;(b=d.state.scayt[a.name]?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);a.fire(&quot;scaytButtonState&quot;,b)},onRender:function(){var b=this;a.on(&quot;scaytButtonState&quot;,function(a){void 0!==typeof a.data&amp;&amp;b.setState(a.data)})},onMenu:function(){var b=a.scayt;a.getMenuItem(&quot;scaytToggle&quot;).label=a.lang.scayt[b&amp;&amp;
d.state.scayt[a.name]?&quot;btn_disable&quot;:&quot;btn_enable&quot;];var c={scaytToggle:CKEDITOR.TRISTATE_OFF,scaytOptions:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytLangs:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytDict:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytAbout:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,WSC:a.plugins.wsc?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED};a.config.scayt_uiTabs[0]||delete c.scaytOptions;a.config.scayt_uiTabs[1]||delete c.scaytLangs;
a.config.scayt_uiTabs[2]||delete c.scaytDict;b&amp;&amp;!CKEDITOR.plugins.scayt.isNewUdSupported(b)&amp;&amp;(delete c.scaytDict,a.config.scayt_uiTabs[2]=0,CKEDITOR.plugins.scayt.alarmCompatibilityMessage());return c}});a.contextMenu&amp;&amp;a.addMenuItems&amp;&amp;(a.contextMenu.addListener(function(b,d){var e=a.scayt,l,m;e&amp;&amp;(m=e.getSelectionNode())&amp;&amp;(l=c.menuGenerator(a,m),e.showBanner(&quot;.&quot;+a.contextMenu._.definition.panel.className.split(&quot; &quot;).join(&quot; .&quot;)));return l}),a.contextMenu._.onHide=CKEDITOR.tools.override(a.contextMenu._.onHide,
function(b){return function(){var d=a.scayt;d&amp;&amp;d.hideBanner();return b.apply(this)}}))},addMenuItems:function(a){var c=this,d=CKEDITOR.plugins.scayt;a.addMenuGroup(&quot;scaytButton&quot;);for(var b=a.config.scayt_contextMenuItemsOrder.split(&quot;|&quot;),e=0;e&lt;b.length;e++)b[e]=&quot;scayt_&quot;+b[e];if((b=[&quot;grayt_description&quot;,&quot;grayt_suggest&quot;,&quot;grayt_control&quot;].concat(b))&amp;&amp;b.length)for(e=0;e&lt;b.length;e++)a.addMenuGroup(b[e],e-10);a.addCommand(&quot;scaytToggle&quot;,{exec:function(a){var b=a.scayt;d.state.scayt[a.name]=!d.state.scayt[a.name];
!0===d.state.scayt[a.name]?b||d.createScayt(a):b&amp;&amp;d.destroy(a)}});a.addCommand(&quot;scaytAbout&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;about&quot;;d.openDialog(c.dialogName,a)}});a.addCommand(&quot;scaytOptions&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;options&quot;;d.openDialog(c.dialogName,a)}});a.addCommand(&quot;scaytLangs&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;langs&quot;;d.openDialog(c.dialogName,a)}});a.addCommand(&quot;scaytDict&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;dictionaries&quot;;d.openDialog(c.dialogName,a)}});b={scaytToggle:{label:a.lang.scayt.btn_enable,
group:&quot;scaytButton&quot;,command:&quot;scaytToggle&quot;},scaytAbout:{label:a.lang.scayt.btn_about,group:&quot;scaytButton&quot;,command:&quot;scaytAbout&quot;},scaytOptions:{label:a.lang.scayt.btn_options,group:&quot;scaytButton&quot;,command:&quot;scaytOptions&quot;},scaytLangs:{label:a.lang.scayt.btn_langs,group:&quot;scaytButton&quot;,command:&quot;scaytLangs&quot;},scaytDict:{label:a.lang.scayt.btn_dictionaries,group:&quot;scaytButton&quot;,command:&quot;scaytDict&quot;}};a.plugins.wsc&amp;&amp;(b.WSC={label:a.lang.wsc.toolbar,group:&quot;scaytButton&quot;,onClick:function(){var b=CKEDITOR.plugins.scayt,
d=a.scayt,c=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.container.getText():a.document.getBody().getText();(c=c.replace(/\s/g,&quot;&quot;))?(d&amp;&amp;b.state.scayt[a.name]&amp;&amp;d.setMarkupPaused&amp;&amp;d.setMarkupPaused(!0),a.lockSelection(),a.execCommand(&quot;checkspell&quot;)):alert(&quot;Nothing to check!&quot;)}});a.addMenuItems(b)},bindEvents:function(a){var c=CKEDITOR.plugins.scayt,d=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE,b=function(){c.destroy(a)},e=function(){!c.state.scayt[a.name]||a.readOnly||a.scayt||c.createScayt(a)},f=function(){var b=
a.editable();b.attachListener(b,&quot;focus&quot;,function(b){CKEDITOR.plugins.scayt&amp;&amp;!a.scayt&amp;&amp;setTimeout(e,0);b=CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[a.name]&amp;&amp;a.scayt;var c,k;if((d||b)&amp;&amp;a._.savedSelection){b=a._.savedSelection.getSelectedElement();b=!b&amp;&amp;a._.savedSelection.getRanges();for(var f=0;f&lt;b.length;f++)k=b[f],&quot;string&quot;===typeof k.startContainer.$.nodeValue&amp;&amp;(c=k.startContainer.getText().length,(c&lt;k.startOffset||c&lt;k.endOffset)&amp;&amp;a.unlockSelection(!1))}},this,null,-10)},g=function(){d?
a.config.scayt_inlineModeImmediateMarkup?e():(a.on(&quot;blur&quot;,function(){setTimeout(b,0)}),a.on(&quot;focus&quot;,e),a.focusManager.hasFocus&amp;&amp;e()):e();f();var c=a.editable();c.attachListener(c,&quot;mousedown&quot;,function(b){b=b.data.getTarget();var d=a.widgets&amp;&amp;a.widgets.getByElement(b);d&amp;&amp;(d.wrapper=b.getAscendant(function(a){return a.hasAttribute(&quot;data-cke-widget-wrapper&quot;)},!0))},this,null,-10)};a.on(&quot;contentDom&quot;,g);a.on(&quot;beforeCommandExec&quot;,function(b){var d=a.scayt,e=!1,f=!1,h=!0;b.data.name in c.options.disablingCommandExec&amp;&amp;
&quot;wysiwyg&quot;==a.mode?d&amp;&amp;(c.destroy(a),a.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_DISABLED)):&quot;bold&quot;!==b.data.name&amp;&amp;&quot;italic&quot;!==b.data.name&amp;&amp;&quot;underline&quot;!==b.data.name&amp;&amp;&quot;strike&quot;!==b.data.name&amp;&amp;&quot;subscript&quot;!==b.data.name&amp;&amp;&quot;superscript&quot;!==b.data.name&amp;&amp;&quot;enter&quot;!==b.data.name&amp;&amp;&quot;cut&quot;!==b.data.name&amp;&amp;&quot;language&quot;!==b.data.name||!d||(&quot;cut&quot;===b.data.name&amp;&amp;(h=!1,f=!0),&quot;language&quot;===b.data.name&amp;&amp;(f=e=!0),a.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{removeInside:h,forceBookmark:f,language:e},timeout:0}))});a.on(&quot;beforeSetMode&quot;,
function(b){if(&quot;source&quot;==b.data){if(b=a.scayt)c.destroy(a),a.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_DISABLED);a.document&amp;&amp;a.document.getBody().removeAttribute(&quot;_jquid&quot;)}});a.on(&quot;afterCommandExec&quot;,function(b){&quot;wysiwyg&quot;!=a.mode||&quot;undo&quot;!=b.data.name&amp;&amp;&quot;redo&quot;!=b.data.name||setTimeout(function(){c.reloadMarkup(a.scayt)},250)});a.on(&quot;readOnly&quot;,function(b){var d;b&amp;&amp;(d=a.scayt,!0===b.editor.readOnly?d&amp;&amp;d.fire(&quot;removeMarkupInDocument&quot;,{}):d?c.reloadMarkup(d):&quot;wysiwyg&quot;==b.editor.mode&amp;&amp;!0===c.state.scayt[b.editor.name]&amp;&amp;
(c.createScayt(a),b.editor.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_ON)))});a.on(&quot;beforeDestroy&quot;,b);a.on(&quot;setData&quot;,function(){b();(a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE||a.plugins.divarea)&amp;&amp;g()},this,null,50);a.on(&quot;reloadMarkupScayt&quot;,function(b){var d=b.data&amp;&amp;b.data.removeOptions,e=b.data&amp;&amp;b.data.timeout,f=b.data&amp;&amp;b.data.language,h=a.scayt;h&amp;&amp;setTimeout(function(){f&amp;&amp;(d.selectionNode=a.plugins.language.getCurrentLangElement(a),d.selectionNode=d.selectionNode&amp;&amp;d.selectionNode.$||null);h.removeMarkupInSelectionNode(d);
c.reloadMarkup(h)},e||0)});a.on(&quot;insertElement&quot;,function(){a.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{forceBookmark:!0}})},this,null,50);a.on(&quot;insertHtml&quot;,function(){a.scayt&amp;&amp;a.scayt.setFocused&amp;&amp;a.scayt.setFocused(!0);a.fire(&quot;reloadMarkupScayt&quot;)},this,null,50);a.on(&quot;insertText&quot;,function(){a.scayt&amp;&amp;a.scayt.setFocused&amp;&amp;a.scayt.setFocused(!0);a.fire(&quot;reloadMarkupScayt&quot;)},this,null,50);a.on(&quot;scaytDialogShown&quot;,function(b){b.data.selectPage(a.scayt.tabToOpen)});a.on(&quot;autocompletePanelShow&quot;,function(b){(b=
a.scayt)&amp;&amp;b.setMarkupPaused&amp;&amp;b.setMarkupPaused(!0)});a.on(&quot;autocompletePanelHide&quot;,function(b){(b=a.scayt)&amp;&amp;b.setMarkupPaused&amp;&amp;b.setMarkupPaused(!1)})},parseConfig:function(a){var c=CKEDITOR.plugins.scayt;c.replaceOldOptionsNames(a.config);&quot;boolean&quot;!==typeof a.config.scayt_autoStartup&amp;&amp;(a.config.scayt_autoStartup=!1);c.state.scayt[a.name]=a.config.scayt_autoStartup;&quot;boolean&quot;!==typeof a.config.grayt_autoStartup&amp;&amp;(a.config.grayt_autoStartup=!1);&quot;boolean&quot;!==typeof a.config.scayt_inlineModeImmediateMarkup&amp;&amp;
(a.config.scayt_inlineModeImmediateMarkup=!1);c.state.grayt[a.name]=a.config.grayt_autoStartup;a.config.scayt_contextCommands||(a.config.scayt_contextCommands=&quot;ignoreall|add&quot;);a.config.scayt_contextMenuItemsOrder||(a.config.scayt_contextMenuItemsOrder=&quot;suggest|moresuggest|control&quot;);a.config.scayt_sLang||(a.config.scayt_sLang=&quot;en_US&quot;);if(void 0===a.config.scayt_maxSuggestions||&quot;number&quot;!=typeof a.config.scayt_maxSuggestions||0&gt;a.config.scayt_maxSuggestions)a.config.scayt_maxSuggestions=3;if(void 0===
a.config.scayt_minWordLength||&quot;number&quot;!=typeof a.config.scayt_minWordLength||1&gt;a.config.scayt_minWordLength)a.config.scayt_minWordLength=3;if(void 0===a.config.scayt_customDictionaryIds||&quot;string&quot;!==typeof a.config.scayt_customDictionaryIds)a.config.scayt_customDictionaryIds=&quot;&quot;;if(void 0===a.config.scayt_userDictionaryName||&quot;string&quot;!==typeof a.config.scayt_userDictionaryName)a.config.scayt_userDictionaryName=null;if(&quot;string&quot;===typeof a.config.scayt_uiTabs&amp;&amp;3===a.config.scayt_uiTabs.split(&quot;,&quot;).length){var d=
[],b=[];a.config.scayt_uiTabs=a.config.scayt_uiTabs.split(&quot;,&quot;);CKEDITOR.tools.search(a.config.scayt_uiTabs,function(a){1===Number(a)||0===Number(a)?(b.push(!0),d.push(Number(a))):b.push(!1)});null===CKEDITOR.tools.search(b,!1)?a.config.scayt_uiTabs=d:a.config.scayt_uiTabs=[1,1,1]}else a.config.scayt_uiTabs=[1,1,1];&quot;string&quot;!=typeof a.config.scayt_serviceProtocol&amp;&amp;(a.config.scayt_serviceProtocol=null);&quot;string&quot;!=typeof a.config.scayt_serviceHost&amp;&amp;(a.config.scayt_serviceHost=null);&quot;string&quot;!=typeof a.config.scayt_servicePort&amp;&amp;
(a.config.scayt_servicePort=null);&quot;string&quot;!=typeof a.config.scayt_servicePath&amp;&amp;(a.config.scayt_servicePath=null);a.config.scayt_moreSuggestions||(a.config.scayt_moreSuggestions=&quot;on&quot;);&quot;string&quot;!==typeof a.config.scayt_customerId&amp;&amp;(a.config.scayt_customerId=&quot;1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2&quot;);&quot;string&quot;!==typeof a.config.scayt_customPunctuation&amp;&amp;(a.config.scayt_customPunctuation=&quot;-&quot;);&quot;string&quot;!==typeof a.config.scayt_srcUrl&amp;&amp;(c=document.location.protocol,c=-1!=c.search(/https?:/)?
c:&quot;http:&quot;,a.config.scayt_srcUrl=c+&quot;//svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js&quot;);&quot;boolean&quot;!==typeof CKEDITOR.config.scayt_handleCheckDirty&amp;&amp;(CKEDITOR.config.scayt_handleCheckDirty=!0);&quot;boolean&quot;!==typeof CKEDITOR.config.scayt_handleUndoRedo&amp;&amp;(CKEDITOR.config.scayt_handleUndoRedo=!0);CKEDITOR.config.scayt_handleUndoRedo=CKEDITOR.plugins.undo?CKEDITOR.config.scayt_handleUndoRedo:!1;a.config.scayt_ignoreAllCapsWords&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreAllCapsWords&amp;&amp;(a.config.scayt_ignoreAllCapsWords=
!1);a.config.scayt_ignoreDomainNames&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreDomainNames&amp;&amp;(a.config.scayt_ignoreDomainNames=!1);a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;(a.config.scayt_ignoreWordsWithMixedCases=!1);a.config.scayt_ignoreWordsWithNumbers&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreWordsWithNumbers&amp;&amp;(a.config.scayt_ignoreWordsWithNumbers=!1);if(a.config.scayt_disableOptionsStorage){var c=CKEDITOR.tools.isArray(a.config.scayt_disableOptionsStorage)?
a.config.scayt_disableOptionsStorage:&quot;string&quot;===typeof a.config.scayt_disableOptionsStorage?[a.config.scayt_disableOptionsStorage]:void 0,e=&quot;all options lang ignore-all-caps-words ignore-domain-names ignore-words-with-mixed-cases ignore-words-with-numbers&quot;.split(&quot; &quot;),f=[&quot;lang&quot;,&quot;ignore-all-caps-words&quot;,&quot;ignore-domain-names&quot;,&quot;ignore-words-with-mixed-cases&quot;,&quot;ignore-words-with-numbers&quot;],g=CKEDITOR.tools.search,k=CKEDITOR.tools.indexOf;a.config.scayt_disableOptionsStorage=function(a){for(var b=[],d=0;d&lt;
a.length;d++){var c=a[d],p=!!g(a,&quot;options&quot;);if(!g(e,c)||p&amp;&amp;g(f,function(a){if(&quot;lang&quot;===a)return!1}))return;g(f,c)&amp;&amp;f.splice(k(f,c),1);if(&quot;all&quot;===c||p&amp;&amp;g(a,&quot;lang&quot;))return[];&quot;options&quot;===c&amp;&amp;(f=[&quot;lang&quot;])}return b=b.concat(f)}(c)}},addRule:function(a){var c=CKEDITOR.plugins.scayt,d=a.dataProcessor,b=d&amp;&amp;d.htmlFilter,e=a._.elementsPath&amp;&amp;a._.elementsPath.filters,d=d&amp;&amp;d.dataFilter,f=a.addRemoveFormatFilter,g=function(b){if(a.scayt&amp;&amp;(b.hasAttribute(c.options.data_attribute_name)||b.hasAttribute(c.options.problem_grammar_data_attribute)))return!1},
k=function(b){var d=!0;a.scayt&amp;&amp;(b.hasAttribute(c.options.data_attribute_name)||b.hasAttribute(c.options.problem_grammar_data_attribute))&amp;&amp;(d=!1);return d};e&amp;&amp;e.push(g);d&amp;&amp;d.addRules({elements:{span:function(a){var b=a.hasClass(c.options.misspelled_word_class)&amp;&amp;a.attributes[c.options.data_attribute_name],d=a.hasClass(c.options.problem_grammar_class)&amp;&amp;a.attributes[c.options.problem_grammar_data_attribute];c&amp;&amp;(b||d)&amp;&amp;delete a.name;return a}}});b&amp;&amp;b.addRules({elements:{span:function(a){var b=a.hasClass(c.options.misspelled_word_class)&amp;&amp;
a.attributes[c.options.data_attribute_name],d=a.hasClass(c.options.problem_grammar_class)&amp;&amp;a.attributes[c.options.problem_grammar_data_attribute];c&amp;&amp;(b||d)&amp;&amp;delete a.name;return a}}});f&amp;&amp;f.call(a,k)},scaytMenuDefinition:function(a){var c=this,d=CKEDITOR.plugins.scayt;a=a.scayt;return{scayt:{scayt_ignore:{label:a.getLocal(&quot;btn_ignore&quot;),group:&quot;scayt_control&quot;,order:1,exec:function(a){a.scayt.ignoreWord()}},scayt_ignoreall:{label:a.getLocal(&quot;btn_ignoreAll&quot;),group:&quot;scayt_control&quot;,order:2,exec:function(a){a.scayt.ignoreAllWords()}},
scayt_add:{label:a.getLocal(&quot;btn_addWord&quot;),group:&quot;scayt_control&quot;,order:3,exec:function(a){var d=a.scayt;setTimeout(function(){d.addWordToUserDictionary()},10)}},scayt_option:{label:a.getLocal(&quot;btn_options&quot;),group:&quot;scayt_control&quot;,order:4,exec:function(a){a.scayt.tabToOpen=&quot;options&quot;;d.openDialog(c.dialogName,a)},verification:function(a){return 1==a.config.scayt_uiTabs[0]?!0:!1}},scayt_language:{label:a.getLocal(&quot;btn_langs&quot;),group:&quot;scayt_control&quot;,order:5,exec:function(a){a.scayt.tabToOpen=&quot;langs&quot;;d.openDialog(c.dialogName,
a)},verification:function(a){return 1==a.config.scayt_uiTabs[1]?!0:!1}},scayt_dictionary:{label:a.getLocal(&quot;btn_dictionaries&quot;),group:&quot;scayt_control&quot;,order:6,exec:function(a){a.scayt.tabToOpen=&quot;dictionaries&quot;;d.openDialog(c.dialogName,a)},verification:function(a){return 1==a.config.scayt_uiTabs[2]?!0:!1}},scayt_about:{label:a.getLocal(&quot;btn_about&quot;),group:&quot;scayt_control&quot;,order:7,exec:function(a){a.scayt.tabToOpen=&quot;about&quot;;d.openDialog(c.dialogName,a)}}},grayt:{grayt_problemdescription:{label:&quot;Grammar problem description&quot;,
group:&quot;grayt_description&quot;,order:1,state:CKEDITOR.TRISTATE_DISABLED,exec:function(a){}},grayt_ignore:{label:a.getLocal(&quot;btn_ignore&quot;),group:&quot;grayt_control&quot;,order:2,exec:function(a){a.scayt.ignorePhrase()}},grayt_ignoreall:{label:a.getLocal(&quot;btn_ignoreAll&quot;),group:&quot;grayt_control&quot;,order:3,exec:function(a){a.scayt.ignoreAllPhrases()}}}}},buildSuggestionMenuItems:function(a,c,d){var b={},e={},f=d?&quot;word&quot;:&quot;phrase&quot;,g=d?&quot;startGrammarCheck&quot;:&quot;startSpellCheck&quot;,k=a.scayt;if(0&lt;c.length&amp;&amp;&quot;no_any_suggestions&quot;!==c[0])if(d)for(d=
0;d&lt;c.length;d++){var l=&quot;scayt_suggest_&quot;+CKEDITOR.plugins.scayt.suggestions[d].replace(&quot; &quot;,&quot;_&quot;);a.addCommand(l,this.createCommand(CKEDITOR.plugins.scayt.suggestions[d],f,g));d&lt;a.config.scayt_maxSuggestions?(a.addMenuItem(l,{label:c[d],command:l,group:&quot;scayt_suggest&quot;,order:d+1}),b[l]=CKEDITOR.TRISTATE_OFF):(a.addMenuItem(l,{label:c[d],command:l,group:&quot;scayt_moresuggest&quot;,order:d+1}),e[l]=CKEDITOR.TRISTATE_OFF,&quot;on&quot;===a.config.scayt_moreSuggestions&amp;&amp;(a.addMenuItem(&quot;scayt_moresuggest&quot;,{label:k.getLocal(&quot;btn_moreSuggestions&quot;),
group:&quot;scayt_moresuggest&quot;,order:10,getItems:function(){return e}}),b.scayt_moresuggest=CKEDITOR.TRISTATE_OFF))}else for(d=0;d&lt;c.length;d++)l=&quot;grayt_suggest_&quot;+CKEDITOR.plugins.scayt.suggestions[d].replace(&quot; &quot;,&quot;_&quot;),a.addCommand(l,this.createCommand(CKEDITOR.plugins.scayt.suggestions[d],f,g)),a.addMenuItem(l,{label:c[d],command:l,group:&quot;grayt_suggest&quot;,order:d+1}),b[l]=CKEDITOR.TRISTATE_OFF;else b.no_scayt_suggest=CKEDITOR.TRISTATE_DISABLED,a.addCommand(&quot;no_scayt_suggest&quot;,{exec:function(){}}),a.addMenuItem(&quot;no_scayt_suggest&quot;,
{label:k.getLocal(&quot;btn_noSuggestions&quot;)||&quot;no_scayt_suggest&quot;,command:&quot;no_scayt_suggest&quot;,group:&quot;scayt_suggest&quot;,order:0});return b},menuGenerator:function(a,c){var d=a.scayt,b=this.scaytMenuDefinition(a),e={},f=a.config.scayt_contextCommands.split(&quot;|&quot;),g=c.getAttribute(d.getLangAttribute())||d.getLang(),k,l,m,n;l=d.isScaytNode(c);m=d.isGraytNode(c);l?(b=b.scayt,k=c.getAttribute(d.getScaytNodeAttributeName()),d.fire(&quot;getSuggestionsList&quot;,{lang:g,word:k}),e=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,
l)):m&amp;&amp;(b=b.grayt,e=c.getAttribute(d.getGraytNodeAttributeName()),d.getGraytNodeRuleAttributeName?(k=c.getAttribute(d.getGraytNodeRuleAttributeName()),d.getProblemDescriptionText(e,k,g)):d.getProblemDescriptionText(e,g),n=d.getProblemDescriptionText(e,k,g),b.grayt_problemdescription&amp;&amp;n&amp;&amp;(n=n.replace(/([.!?])\s/g,&quot;$1\x3cbr\x3e&quot;),b.grayt_problemdescription.label=n),d.fire(&quot;getGrammarSuggestionsList&quot;,{lang:g,phrase:e,rule:k}),e=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,l));if(l&amp;&amp;
&quot;off&quot;==a.config.scayt_contextCommands)return e;for(var h in b)l&amp;&amp;-1==CKEDITOR.tools.indexOf(f,h.replace(&quot;scayt_&quot;,&quot;&quot;))&amp;&amp;&quot;all&quot;!=a.config.scayt_contextCommands||m&amp;&amp;&quot;grayt_problemdescription&quot;!==h&amp;&amp;-1==CKEDITOR.tools.indexOf(f,h.replace(&quot;grayt_&quot;,&quot;&quot;))&amp;&amp;&quot;all&quot;!=a.config.scayt_contextCommands||(e[h]=&quot;undefined&quot;!=typeof b[h].state?b[h].state:CKEDITOR.TRISTATE_OFF,&quot;function&quot;!==typeof b[h].verification||b[h].verification(a)||delete e[h],a.addCommand(h,{exec:b[h].exec}),a.addMenuItem(h,{label:a.lang.scayt[b[h].label]||
b[h].label,command:h,group:b[h].group,order:b[h].order}));return e},createCommand:function(a,c,d){return{exec:function(b){b=b.scayt;var e={};e[c]=a;b.replaceSelectionNode(e);&quot;startGrammarCheck&quot;===d&amp;&amp;b.removeMarkupInSelectionNode({grammarOnly:!0});b.fire(d)}}}});
CKEDITOR.plugins.scayt={charsToObserve:[{charName:&quot;cke-fillingChar&quot;,charCode:function(){var a=CKEDITOR.version,c=[4,5,6],d=String.fromCharCode(8203),b=Array(8).join(d),e,f;if(!a)return d;for(var a=a.split(&quot;.&quot;),g=0;g&lt;c.length;g++){e=c[g];f=Number(a[g]);if(f&gt;e)return b;if(f&lt;e)break}return d}()}],state:{scayt:{},grayt:{}},warningCounter:0,suggestions:[],options:{disablingCommandExec:{source:!0,newpage:!0,templates:!0},data_attribute_name:&quot;data-scayt-word&quot;,misspelled_word_class:&quot;scayt-misspell-word&quot;,
problem_grammar_data_attribute:&quot;data-grayt-phrase&quot;,problem_grammar_class:&quot;gramm-problem&quot;},backCompatibilityMap:{scayt_service_protocol:&quot;scayt_serviceProtocol&quot;,scayt_service_host:&quot;scayt_serviceHost&quot;,scayt_service_port:&quot;scayt_servicePort&quot;,scayt_service_path:&quot;scayt_servicePath&quot;,scayt_customerid:&quot;scayt_customerId&quot;},openDialog:function(a,c){var d=c.scayt;d.isAllModulesReady&amp;&amp;!1===d.isAllModulesReady()||(c.lockSelection(),c.openDialog(a))},alarmCompatibilityMessage:function(){5&gt;this.warningCounter&amp;&amp;(console.warn(&quot;You are using the latest version of SCAYT plugin for CKEditor with the old application version. In order to have access to the newest features, it is recommended to upgrade the application version to latest one as well. Contact us for more details at support@webspellchecker.net.&quot;),
this.warningCounter+=1)},isNewUdSupported:function(a){return a.getUserDictionary?!0:!1},reloadMarkup:function(a){var c;a&amp;&amp;(c=a.getScaytLangList(),a.reloadMarkup?a.reloadMarkup():(this.alarmCompatibilityMessage(),c&amp;&amp;c.ltr&amp;&amp;c.rtl&amp;&amp;a.fire(&quot;startSpellCheck, startGrammarCheck&quot;)))},replaceOldOptionsNames:function(a){for(var c in a)c in this.backCompatibilityMap&amp;&amp;(a[this.backCompatibilityMap[c]]=a[c],delete a[c])},createScayt:function(a){var c=this,d=CKEDITOR.plugins.scayt;this.loadScaytLibrary(a,function(a){function e(a){return new SCAYT.CKSCAYT(a,
function(){},function(){})}var f;a.window&amp;&amp;(f=&quot;BODY&quot;==a.editable().$.nodeName?a.window.getFrame():a.editable());if(f){f={lang:a.config.scayt_sLang,container:f.$,customDictionary:a.config.scayt_customDictionaryIds,userDictionaryName:a.config.scayt_userDictionaryName,localization:a.langCode,customer_id:a.config.scayt_customerId,customPunctuation:a.config.scayt_customPunctuation,debug:a.config.scayt_debug,data_attribute_name:c.options.data_attribute_name,misspelled_word_class:c.options.misspelled_word_class,
problem_grammar_data_attribute:c.options.problem_grammar_data_attribute,problem_grammar_class:c.options.problem_grammar_class,&quot;options-to-restore&quot;:a.config.scayt_disableOptionsStorage,focused:a.editable().hasFocus,ignoreElementsRegex:a.config.scayt_elementsToIgnore,ignoreGraytElementsRegex:a.config.grayt_elementsToIgnore,minWordLength:a.config.scayt_minWordLength,graytAutoStartup:a.config.grayt_autoStartup,charsToObserve:d.charsToObserve};a.config.scayt_serviceProtocol&amp;&amp;(f.service_protocol=a.config.scayt_serviceProtocol);
a.config.scayt_serviceHost&amp;&amp;(f.service_host=a.config.scayt_serviceHost);a.config.scayt_servicePort&amp;&amp;(f.service_port=a.config.scayt_servicePort);a.config.scayt_servicePath&amp;&amp;(f.service_path=a.config.scayt_servicePath);&quot;boolean&quot;===typeof a.config.scayt_ignoreAllCapsWords&amp;&amp;(f[&quot;ignore-all-caps-words&quot;]=a.config.scayt_ignoreAllCapsWords);&quot;boolean&quot;===typeof a.config.scayt_ignoreDomainNames&amp;&amp;(f[&quot;ignore-domain-names&quot;]=a.config.scayt_ignoreDomainNames);&quot;boolean&quot;===typeof a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;
(f[&quot;ignore-words-with-mixed-cases&quot;]=a.config.scayt_ignoreWordsWithMixedCases);&quot;boolean&quot;===typeof a.config.scayt_ignoreWordsWithNumbers&amp;&amp;(f[&quot;ignore-words-with-numbers&quot;]=a.config.scayt_ignoreWordsWithNumbers);var g;try{g=e(f)}catch(k){c.alarmCompatibilityMessage(),delete f.charsToObserve,g=e(f)}g.subscribe(&quot;suggestionListSend&quot;,function(a){for(var b={},d=[],c=0;c&lt;a.suggestionList.length;c++)b[&quot;word_&quot;+a.suggestionList[c]]||(b[&quot;word_&quot;+a.suggestionList[c]]=a.suggestionList[c],d.push(a.suggestionList[c]));
CKEDITOR.plugins.scayt.suggestions=d});g.subscribe(&quot;selectionIsChanged&quot;,function(d){a.getSelection().isLocked&amp;&amp;&quot;restoreSelection&quot;!==d.action&amp;&amp;a.lockSelection();&quot;restoreSelection&quot;===d.action&amp;&amp;a.selectionChange(!0)});g.subscribe(&quot;graytStateChanged&quot;,function(c){d.state.grayt[a.name]=c.state});g.addMarkupHandler&amp;&amp;g.addMarkupHandler(function(d){var c=a.editable(),e=c.getCustomData(d.charName);e&amp;&amp;(e.$=d.node,c.setCustomData(d.charName,e))});a.scayt=g;a.fire(&quot;scaytButtonState&quot;,a.readOnly?CKEDITOR.TRISTATE_DISABLED:
CKEDITOR.TRISTATE_ON)}else d.state.scayt[a.name]=!1})},destroy:function(a){a.scayt&amp;&amp;a.scayt.destroy();delete a.scayt;a.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_OFF)},loadScaytLibrary:function(a,c){var d,b=function(){CKEDITOR.fireOnce(&quot;scaytReady&quot;);a.scayt||&quot;function&quot;===typeof c&amp;&amp;c(a)};&quot;undefined&quot;===typeof window.SCAYT||&quot;function&quot;!==typeof window.SCAYT.CKSCAYT?(d=a.config.scayt_srcUrl,CKEDITOR.scriptLoader.load(d,function(a){a&amp;&amp;b()})):window.SCAYT&amp;&amp;&quot;function&quot;===typeof window.SCAYT.CKSCAYT&amp;&amp;b()}};
CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){var c=a.data.name;a=a.data.definition.dialog;&quot;scaytDialog&quot;!==c&amp;&amp;&quot;checkspell&quot;!==c&amp;&amp;(a.on(&quot;show&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!0)}),a.on(&quot;hide&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!1)}));if(&quot;scaytDialog&quot;===c)a.on(&quot;cancel&quot;,
function(a){return!1},this,null,-1);if(&quot;checkspell&quot;===c)a.on(&quot;cancel&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!1);a.unlockSelection()},this,null,-2);if(&quot;link&quot;===c)a.on(&quot;ok&quot;,function(a){var b=a.sender&amp;&amp;a.sender.getParentEditor();b&amp;&amp;setTimeout(function(){b.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{removeInside:!0,forceBookmark:!0},timeout:0})},0)});if(&quot;replace&quot;===c)a.on(&quot;hide&quot;,function(a){a=
a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;a&amp;&amp;setTimeout(function(){c&amp;&amp;(c.fire(&quot;removeMarkupInDocument&quot;,{}),b.reloadMarkup(c))},0)})});
CKEDITOR.on(&quot;scaytReady&quot;,function(){if(!0===CKEDITOR.config.scayt_handleCheckDirty){var a=CKEDITOR.editor.prototype;a.checkDirty=CKEDITOR.tools.override(a.checkDirty,function(a){return function(){var b=null,c=this.scayt;if(CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[this.name]&amp;&amp;this.scayt){if(b=&quot;ready&quot;==this.status)var f=c.removeMarkupFromString(this.getSnapshot()),c=c.removeMarkupFromString(this._.previousValue),b=b&amp;&amp;c!==f}else b=a.call(this);return b}});a.resetDirty=CKEDITOR.tools.override(a.resetDirty,
function(a){return function(){var b=this.scayt;CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[this.name]&amp;&amp;this.scayt?this._.previousValue=b.removeMarkupFromString(this.getSnapshot()):a.call(this)}})}if(!0===CKEDITOR.config.scayt_handleUndoRedo){var a=CKEDITOR.plugins.undo.Image.prototype,c=&quot;function&quot;==typeof a.equalsContent?&quot;equalsContent&quot;:&quot;equals&quot;;a[c]=CKEDITOR.tools.override(a[c],function(a){return function(b){var c=b.editor.scayt,f=this.contents,g=b.contents,k=null;CKEDITOR.plugins.scayt&amp;&amp;
CKEDITOR.plugins.scayt.state.scayt[b.editor.name]&amp;&amp;b.editor.scayt&amp;&amp;(this.contents=c.removeMarkupFromString(f)||&quot;&quot;,b.contents=c.removeMarkupFromString(g)||&quot;&quot;);k=a.apply(this,arguments);this.contents=f;b.contents=g;return k}})}});(function(){CKEDITOR.plugins.add(&quot;stylescombo&quot;,{requires:&quot;richcombo&quot;,init:function(c){var l=c.config,g=c.lang.stylescombo,f={},k=[],m=[];c.on(&quot;stylesSet&quot;,function(a){if(a=a.data.styles){for(var b,h,d,e=0,n=a.length;e&lt;n;e++)(b=a[e],c.blockless&amp;&amp;b.element in CKEDITOR.dtd.$block||&quot;string&quot;==typeof b.type&amp;&amp;!CKEDITOR.style.customHandlers[b.type]||(h=b.name,b=new CKEDITOR.style(b),c.filter.customConfig&amp;&amp;!c.filter.check(b)))||(b._name=h,b._.enterMode=l.enterMode,b._.type=d=b.assignedTo||b.type,b._.weight=
e+1E3*(d==CKEDITOR.STYLE_OBJECT?1:d==CKEDITOR.STYLE_BLOCK?2:3),f[h]=b,k.push(b),m.push(b));k.sort(function(a,b){return a._.weight-b._.weight})}});c.ui.addRichCombo(&quot;Styles&quot;,{label:g.label,title:g.panelTitle,toolbar:&quot;styles,10&quot;,allowedContent:m,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(l.contentsCss),multiSelect:!0,attributes:{&quot;aria-label&quot;:g.panelTitle}},init:function(){var a,b,c,d,e,f;e=0;for(f=k.length;e&lt;f;e++)a=k[e],b=a._name,d=a._.type,d!=c&amp;&amp;(this.startGroup(g[&quot;panelTitle&quot;+String(d)]),
c=d),this.add(b,a.type==CKEDITOR.STYLE_OBJECT?b:a.buildPreview(),b);this.commit()},onClick:function(a){c.focus();c.fire(&quot;saveSnapshot&quot;);a=f[a];var b=c.elementPath();if(a.group&amp;&amp;a.removeStylesFromSameGroup(c))c.applyStyle(a);else c[a.checkActive(b,c)?&quot;removeStyle&quot;:&quot;applyStyle&quot;](a);c.fire(&quot;saveSnapshot&quot;)},onRender:function(){c.on(&quot;selectionChange&quot;,function(a){var b=this.getValue();a=a.data.path.elements;for(var h=0,d=a.length,e;h&lt;d;h++){e=a[h];for(var g in f)if(f[g].checkElementRemovable(e,!0,c)){g!=
b&amp;&amp;this.setValue(g);return}}this.setValue(&quot;&quot;)},this)},onOpen:function(){var a=c.getSelection(),a=a.getSelectedElement()||a.getStartElement()||c.editable(),a=c.elementPath(a),b=[0,0,0,0];this.showAll();this.unmarkAll();for(var h in f){var d=f[h],e=d._.type;d.checkApplicable(a,c,c.activeFilter)?b[e]++:this.hideItem(h);d.checkActive(a,c)&amp;&amp;this.mark(h)}b[CKEDITOR.STYLE_BLOCK]||this.hideGroup(g[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_BLOCK)]);b[CKEDITOR.STYLE_INLINE]||this.hideGroup(g[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_INLINE)]);
b[CKEDITOR.STYLE_OBJECT]||this.hideGroup(g[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_OBJECT)])},refresh:function(){var a=c.elementPath();if(a){for(var b in f)if(f[b].checkApplicable(a,c,c.activeFilter))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}},reset:function(){f={};k=[]}})}})})();(function(){function k(c){return{editorFocus:!1,canUndo:!1,modes:{wysiwyg:1},exec:function(d){if(d.editable().hasFocus){var e=d.getSelection(),b;if(b=(new CKEDITOR.dom.elementPath(e.getCommonAncestor(),e.root)).contains({td:1,th:1},1)){var e=d.createRange(),a=CKEDITOR.tools.tryThese(function(){var a=b.getParent().$.cells[b.$.cellIndex+(c?-1:1)];a.parentNode.parentNode;return a},function(){var a=b.getParent(),a=a.getAscendant(&quot;table&quot;).$.rows[a.$.rowIndex+(c?-1:1)];return a.cells[c?a.cells.length-1:
0]});if(a||c)if(a)a=new CKEDITOR.dom.element(a),e.moveToElementEditStart(a),e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()||e.selectNodeContents(a);else return!0;else{for(var f=b.getAscendant(&quot;table&quot;).$,a=b.getParent().$.cells,f=new CKEDITOR.dom.element(f.insertRow(-1),d.document),g=0,h=a.length;g&lt;h;g++)f.append((new CKEDITOR.dom.element(a[g],d.document)).clone(!1,!1)).appendBogus();e.moveToElementEditStart(f)}e.select(!0);return!0}}return!1}}}var h={editorFocus:!1,modes:{wysiwyg:1,source:1}},g={exec:function(c){c.container.focusNext(!0,
c.tabIndex)}},f={exec:function(c){c.container.focusPrevious(!0,c.tabIndex)}};CKEDITOR.plugins.add(&quot;tab&quot;,{init:function(c){for(var d=!1!==c.config.enableTabKeyTools,e=c.config.tabSpaces||0,b=&quot;&quot;;e--;)b+=&quot; &quot;;if(b)c.on(&quot;key&quot;,function(a){9==a.data.keyCode&amp;&amp;(c.insertText(b),a.cancel())});if(d)c.on(&quot;key&quot;,function(a){(9==a.data.keyCode&amp;&amp;c.execCommand(&quot;selectNextCell&quot;)||a.data.keyCode==CKEDITOR.SHIFT+9&amp;&amp;c.execCommand(&quot;selectPreviousCell&quot;))&amp;&amp;a.cancel()});c.addCommand(&quot;blur&quot;,CKEDITOR.tools.extend(g,h));c.addCommand(&quot;blurBack&quot;,
CKEDITOR.tools.extend(f,h));c.addCommand(&quot;selectNextCell&quot;,k());c.addCommand(&quot;selectPreviousCell&quot;,k(!0))}})})();
CKEDITOR.dom.element.prototype.focusNext=function(k,h){var g=void 0===h?this.getTabIndex():h,f,c,d,e,b,a;if(0&gt;=g)for(b=this.getNextSourceNode(k,CKEDITOR.NODE_ELEMENT);b;){if(b.isVisible()&amp;&amp;0===b.getTabIndex()){d=b;break}b=b.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(b=this.getDocument().getBody().getFirst();b=b.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!f)if(!c&amp;&amp;b.equals(this)){if(c=!0,k){if(!(b=b.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;f=1}}else c&amp;&amp;!this.contains(b)&amp;&amp;
(f=1);if(b.isVisible()&amp;&amp;!(0&gt;(a=b.getTabIndex()))){if(f&amp;&amp;a==g){d=b;break}a&gt;g&amp;&amp;(!d||!e||a&lt;e)?(d=b,e=a):d||0!==a||(d=b,e=a)}}d&amp;&amp;d.focus()};
CKEDITOR.dom.element.prototype.focusPrevious=function(k,h){for(var g=void 0===h?this.getTabIndex():h,f,c,d,e=0,b,a=this.getDocument().getBody().getLast();a=a.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!f)if(!c&amp;&amp;a.equals(this)){if(c=!0,k){if(!(a=a.getPreviousSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;f=1}}else c&amp;&amp;!this.contains(a)&amp;&amp;(f=1);if(a.isVisible()&amp;&amp;!(0&gt;(b=a.getTabIndex())))if(0&gt;=g){if(f&amp;&amp;0===b){d=a;break}b&gt;e&amp;&amp;(d=a,e=b)}else{if(f&amp;&amp;b==g){d=a;break}b&lt;g&amp;&amp;(!d||b&gt;e)&amp;&amp;(d=a,e=b)}}d&amp;&amp;d.focus()};CKEDITOR.plugins.add(&quot;table&quot;,{requires:&quot;dialog&quot;,init:function(a){function f(c){return CKEDITOR.tools.extend(c||{},{contextSensitive:1,refresh:function(c,b){this.setState(b.contains(&quot;table&quot;,1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!a.blockless){var e=a.lang.table;a.addCommand(&quot;table&quot;,new CKEDITOR.dialogCommand(&quot;table&quot;,{context:&quot;table&quot;,allowedContent:&quot;table{width,height,border-collapse}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];td{border*,background-color,vertical-align,width,height}[colspan,rowspan];&quot;+
(a.plugins.dialogadvtab?&quot;table&quot;+a.plugins.dialogadvtab.allowedContent():&quot;&quot;),requiredContent:&quot;table&quot;,contentTransformations:[[&quot;table{width}: sizeToStyle&quot;,&quot;table[width]: sizeToAttribute&quot;],[&quot;td: splitBorderShorthand&quot;],[{element:&quot;table&quot;,right:function(c){if(c.styles){var a;if(c.styles.border)a=CKEDITOR.tools.style.parse.border(c.styles.border);else if(CKEDITOR.env.ie&amp;&amp;8===CKEDITOR.env.version){var b=c.styles;b[&quot;border-left&quot;]&amp;&amp;b[&quot;border-left&quot;]===b[&quot;border-right&quot;]&amp;&amp;b[&quot;border-right&quot;]===b[&quot;border-top&quot;]&amp;&amp;
b[&quot;border-top&quot;]===b[&quot;border-bottom&quot;]&amp;&amp;(a=CKEDITOR.tools.style.parse.border(b[&quot;border-top&quot;]))}a&amp;&amp;a.style&amp;&amp;&quot;solid&quot;===a.style&amp;&amp;a.width&amp;&amp;0!==parseFloat(a.width)&amp;&amp;(c.attributes.border=1);&quot;collapse&quot;==c.styles[&quot;border-collapse&quot;]&amp;&amp;(c.attributes.cellspacing=0)}}}]]}));a.addCommand(&quot;tableProperties&quot;,new CKEDITOR.dialogCommand(&quot;tableProperties&quot;,f()));a.addCommand(&quot;tableDelete&quot;,f({exec:function(a){var d=a.elementPath().contains(&quot;table&quot;,1);if(d){var b=d.getParent(),e=a.editable();1!=b.getChildCount()||b.is(&quot;td&quot;,
&quot;th&quot;)||b.equals(e)||(d=b);a=a.createRange();a.moveToPosition(d,CKEDITOR.POSITION_BEFORE_START);d.remove();a.select()}}}));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Table&quot;,{label:e.toolbar,command:&quot;table&quot;,toolbar:&quot;insert,30&quot;});CKEDITOR.dialog.add(&quot;table&quot;,this.path+&quot;dialogs/table.js&quot;);CKEDITOR.dialog.add(&quot;tableProperties&quot;,this.path+&quot;dialogs/table.js&quot;);a.addMenuItems&amp;&amp;a.addMenuItems({table:{label:e.menu,command:&quot;tableProperties&quot;,group:&quot;table&quot;,order:5},tabledelete:{label:e.deleteTable,command:&quot;tableDelete&quot;,group:&quot;table&quot;,
order:1}});a.on(&quot;doubleclick&quot;,function(a){a.data.element.is(&quot;table&quot;)&amp;&amp;(a.data.dialog=&quot;tableProperties&quot;)});a.contextMenu&amp;&amp;a.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}});(function(){function q(d,f){function b(a){return f?f.contains(a)&amp;&amp;a.getAscendant(&quot;table&quot;,!0).equals(f):!0}function c(a){var b=/^(?:td|th)$/;0&lt;e.length||a.type!=CKEDITOR.NODE_ELEMENT||!b.test(a.getName())||a.getCustomData(&quot;selected_cell&quot;)||(CKEDITOR.dom.element.setMarker(h,a,&quot;selected_cell&quot;,!0),e.push(a))}var e=[],h={};if(!d)return e;for(var a=d.getRanges(),k=0;k&lt;a.length;k++){var g=a[k];if(g.collapsed)(g=g.getCommonAncestor().getAscendant({td:1,th:1},!0))&amp;&amp;b(g)&amp;&amp;e.push(g);else{var g=new CKEDITOR.dom.walker(g),
m;for(g.guard=c;m=g.next();)m.type==CKEDITOR.NODE_ELEMENT&amp;&amp;m.is(CKEDITOR.dtd.table)||(m=m.getAscendant({td:1,th:1},!0))&amp;&amp;!m.getCustomData(&quot;selected_cell&quot;)&amp;&amp;b(m)&amp;&amp;(CKEDITOR.dom.element.setMarker(h,m,&quot;selected_cell&quot;,!0),e.push(m))}}CKEDITOR.dom.element.clearAllMarkers(h);return e}function r(d,f){for(var b=D(d)?d:q(d),c=b[0],e=c.getAscendant(&quot;table&quot;),c=c.getDocument(),h=b[0].getParent(),a=h.$.rowIndex,b=b[b.length-1],k=b.getParent().$.rowIndex+b.$.rowSpan-1,b=new CKEDITOR.dom.element(e.$.rows[k]),a=
f?a:k,h=f?h:b,b=CKEDITOR.tools.buildTableMap(e),e=b[a],a=f?b[a-1]:b[a+1],b=b[0].length,c=c.createElement(&quot;tr&quot;),k=0;e[k]&amp;&amp;k&lt;b;k++){var g;1&lt;e[k].rowSpan&amp;&amp;a&amp;&amp;e[k]==a[k]?(g=e[k],g.rowSpan+=1):(g=(new CKEDITOR.dom.element(e[k])).clone(),g.removeAttribute(&quot;rowSpan&quot;),g.appendBogus(),c.append(g),g=g.$);k+=g.colSpan-1}f?c.insertBefore(h):c.insertAfter(h);return c}function B(d){if(d instanceof CKEDITOR.dom.selection){var f=d.getRanges(),b=q(d),c=b[0].getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(c),
h=b[0].getParent().$.rowIndex,b=b[b.length-1],a=b.getParent().$.rowIndex+b.$.rowSpan-1,b=[];d.reset();for(d=h;d&lt;=a;d++){for(var k=e[d],g=new CKEDITOR.dom.element(c.$.rows[d]),m=0;m&lt;k.length;m++){var l=new CKEDITOR.dom.element(k[m]),n=l.getParent().$.rowIndex;1==l.$.rowSpan?l.remove():(--l.$.rowSpan,n==d&amp;&amp;(n=e[d+1],n[m-1]?l.insertAfter(new CKEDITOR.dom.element(n[m-1])):(new CKEDITOR.dom.element(c.$.rows[d+1])).append(l,1)));m+=l.$.colSpan-1}b.push(g)}e=c.$.rows;f[0].moveToPosition(c,CKEDITOR.POSITION_BEFORE_START);
h=new CKEDITOR.dom.element(e[a+1]||(0&lt;h?e[h-1]:null)||c.$.parentNode);for(d=b.length;0&lt;=d;d--)B(b[d]);return c.$.parentNode?h:(f[0].select(),null)}d instanceof CKEDITOR.dom.element&amp;&amp;(c=d.getAscendant(&quot;table&quot;),1==c.$.rows.length?c.remove():d.remove());return null}function v(d){for(var f=d.getParent().$.cells,b=0,c=0;c&lt;f.length;c++){var e=f[c],b=b+e.colSpan;if(e==d.$)break}return b-1}function w(d,f){for(var b=f?Infinity:0,c=0;c&lt;d.length;c++){var e=v(d[c]);if(f?e&lt;b:e&gt;b)b=e}return b}function u(d,f){for(var b=
D(d)?d:q(d),c=b[0].getAscendant(&quot;table&quot;),e=w(b,1),b=w(b),h=f?e:b,a=CKEDITOR.tools.buildTableMap(c),c=[],e=[],b=[],k=a.length,g=0;g&lt;k;g++){var m=f?a[g][h-1]:a[g][h+1];c.push(a[g][h]);e.push(m)}for(g=0;g&lt;k;g++)c[g]&amp;&amp;(1&lt;c[g].colSpan&amp;&amp;e[g]==c[g]?(a=c[g],a.colSpan+=1):(h=new CKEDITOR.dom.element(c[g]),a=h.clone(),a.removeAttribute(&quot;colSpan&quot;),a.appendBogus(),a[f?&quot;insertBefore&quot;:&quot;insertAfter&quot;].call(a,h),b.push(a),a=a.$),g+=a.rowSpan-1);return b}function y(d){function f(a){var b=a.getRanges(),c,d;if(1!==b.length)return a;
b=b[0];if(b.collapsed||0!==b.endOffset)return a;c=b.endContainer;d=c.getName().toLowerCase();if(&quot;td&quot;!==d&amp;&amp;&quot;th&quot;!==d)return a;for((d=c.getPrevious())||(d=c.getParent().getPrevious().getLast());d.type!==CKEDITOR.NODE_TEXT&amp;&amp;&quot;br&quot;!==d.getName().toLowerCase();)if(d=d.getLast(),!d)return a;b.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);return b.select()}CKEDITOR.env.webkit&amp;&amp;!d.isFake&amp;&amp;(d=f(d));var b=d.getRanges(),c=q(d),e=c[0],h=c[c.length-1],c=e.getAscendant(&quot;table&quot;),a=CKEDITOR.tools.buildTableMap(c),k,g,m=
[];d.reset();var l=0;for(d=a.length;l&lt;d;l++)for(var n=0,p=a[l].length;n&lt;p;n++)void 0===k&amp;&amp;a[l][n]==e.$&amp;&amp;(k=n),a[l][n]==h.$&amp;&amp;(g=n);for(l=k;l&lt;=g;l++)for(n=0;n&lt;a.length;n++)h=a[n],e=new CKEDITOR.dom.element(c.$.rows[n]),h=new CKEDITOR.dom.element(h[l]),h.$&amp;&amp;(1==h.$.colSpan?h.remove():--h.$.colSpan,n+=h.$.rowSpan-1,e.$.cells.length||m.push(e));k=a[0].length-1&gt;g?new CKEDITOR.dom.element(a[0][g+1]):k&amp;&amp;-1!==a[0][k-1].cellIndex?new CKEDITOR.dom.element(a[0][k-1]):new CKEDITOR.dom.element(c.$.parentNode);
m.length==d&amp;&amp;(b[0].moveToPosition(c,CKEDITOR.POSITION_AFTER_END),b[0].select(),c.remove());return k}function t(d,f){var b=d.getStartElement().getAscendant({td:1,th:1},!0);if(b){var c=b.clone();c.appendBogus();f?c.insertBefore(b):c.insertAfter(b)}}function z(d){if(d instanceof CKEDITOR.dom.selection){var f=d.getRanges(),b=q(d),c=b[0]&amp;&amp;b[0].getAscendant(&quot;table&quot;),e;a:{var h=0;e=b.length-1;for(var a={},k,g;k=b[h++];)CKEDITOR.dom.element.setMarker(a,k,&quot;delete_cell&quot;,!0);for(h=0;k=b[h++];)if((g=k.getPrevious())&amp;&amp;
!g.getCustomData(&quot;delete_cell&quot;)||(g=k.getNext())&amp;&amp;!g.getCustomData(&quot;delete_cell&quot;)){CKEDITOR.dom.element.clearAllMarkers(a);e=g;break a}CKEDITOR.dom.element.clearAllMarkers(a);h=b[0].getParent();(h=h.getPrevious())?e=h.getLast():(h=b[e].getParent(),e=(h=h.getNext())?h.getChild(0):null)}d.reset();for(d=b.length-1;0&lt;=d;d--)z(b[d]);e?p(e,!0):c&amp;&amp;(f[0].moveToPosition(c,CKEDITOR.POSITION_BEFORE_START),f[0].select(),c.remove())}else d instanceof CKEDITOR.dom.element&amp;&amp;(f=d.getParent(),1==f.getChildCount()?
f.remove():d.remove())}function p(d,f){var b=d.getDocument(),c=CKEDITOR.document;CKEDITOR.env.ie&amp;&amp;10==CKEDITOR.env.version&amp;&amp;(c.focus(),b.focus());b=new CKEDITOR.dom.range(b);b[&quot;moveToElementEdit&quot;+(f?&quot;End&quot;:&quot;Start&quot;)](d)||(b.selectNodeContents(d),b.collapse(f?!1:!0));b.select(!0)}function A(d,f,b){d=d[f];if(&quot;undefined&quot;==typeof b)return d;for(f=0;d&amp;&amp;f&lt;d.length;f++){if(b.is&amp;&amp;d[f]==b.$)return f;if(f==b)return new CKEDITOR.dom.element(d[f])}return b.is?-1:null}function x(d,f,b){var c=q(d),e;if((f?1!=c.length:
2&gt;c.length)||(e=d.getCommonAncestor())&amp;&amp;e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.is(&quot;table&quot;))return!1;d=c[0];e=d.getAscendant(&quot;table&quot;);var h=CKEDITOR.tools.buildTableMap(e),a=h.length,k=h[0].length,g=d.getParent().$.rowIndex,m=A(h,g,d),l;if(f){var n;try{var p=parseInt(d.getAttribute(&quot;rowspan&quot;),10)||1;l=parseInt(d.getAttribute(&quot;colspan&quot;),10)||1;n=h[&quot;up&quot;==f?g-p:&quot;down&quot;==f?g+p:g][&quot;left&quot;==f?m-l:&quot;right&quot;==f?m+l:m]}catch(x){return!1}if(!n||d.$==n)return!1;c[&quot;up&quot;==f||&quot;left&quot;==f?&quot;unshift&quot;:&quot;push&quot;](new CKEDITOR.dom.element(n))}f=
d.getDocument();var r=g,p=n=0,u=!b&amp;&amp;new CKEDITOR.dom.documentFragment(f),w=0;for(f=0;f&lt;c.length;f++){l=c[f];var t=l.getParent(),y=l.getFirst(),v=l.$.colSpan,z=l.$.rowSpan,t=t.$.rowIndex,B=A(h,t,l),w=w+v*z,p=Math.max(p,B-m+v);n=Math.max(n,t-g+z);b||(v=l,(z=v.getBogus())&amp;&amp;z.remove(),v.trim(),l.getChildren().count()&amp;&amp;(t==r||!y||y.isBlockBoundary&amp;&amp;y.isBlockBoundary({br:1})||(r=u.getLast(CKEDITOR.dom.walker.whitespaces(!0)),!r||r.is&amp;&amp;r.is(&quot;br&quot;)||u.append(&quot;br&quot;)),l.moveChildren(u)),f?l.remove():l.setHtml(&quot;&quot;));
r=t}if(b)return n*p==w;u.moveChildren(d);d.appendBogus();p&gt;=k?d.removeAttribute(&quot;rowSpan&quot;):d.$.rowSpan=n;n&gt;=a?d.removeAttribute(&quot;colSpan&quot;):d.$.colSpan=p;b=new CKEDITOR.dom.nodeList(e.$.rows);c=b.count();for(f=c-1;0&lt;=f;f--)e=b.getItem(f),e.$.cells.length||(e.remove(),c++);return d}function C(d,f){var b=q(d);if(1&lt;b.length)return!1;if(f)return!0;var b=b[0],c=b.getParent(),e=c.getAscendant(&quot;table&quot;),h=CKEDITOR.tools.buildTableMap(e),a=c.$.rowIndex,k=A(h,a,b),g=b.$.rowSpan,m;if(1&lt;g){m=Math.ceil(g/2);for(var g=
Math.floor(g/2),c=a+m,e=new CKEDITOR.dom.element(e.$.rows[c]),h=A(h,c),l,c=b.clone(),a=0;a&lt;h.length;a++)if(l=h[a],l.parentNode==e.$&amp;&amp;a&gt;k){c.insertBefore(new CKEDITOR.dom.element(l));break}else l=null;l||e.append(c)}else for(g=m=1,e=c.clone(),e.insertAfter(c),e.append(c=b.clone()),l=A(h,a),k=0;k&lt;l.length;k++)l[k].rowSpan++;c.appendBogus();b.$.rowSpan=m;c.$.rowSpan=g;1==m&amp;&amp;b.removeAttribute(&quot;rowSpan&quot;);1==g&amp;&amp;c.removeAttribute(&quot;rowSpan&quot;);return c}function E(d,f){var b=q(d);if(1&lt;b.length)return!1;if(f)return!0;
var b=b[0],c=b.getParent(),e=c.getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(e),h=A(e,c.$.rowIndex,b),a=b.$.colSpan;if(1&lt;a)c=Math.ceil(a/2),a=Math.floor(a/2);else{for(var a=c=1,k=[],g=0;g&lt;e.length;g++){var m=e[g];k.push(m[h]);1&lt;m[h].rowSpan&amp;&amp;(g+=m[h].rowSpan-1)}for(e=0;e&lt;k.length;e++)k[e].colSpan++}e=b.clone();e.insertAfter(b);e.appendBogus();b.$.colSpan=c;e.$.colSpan=a;1==c&amp;&amp;b.removeAttribute(&quot;colSpan&quot;);1==a&amp;&amp;e.removeAttribute(&quot;colSpan&quot;);return e}var D=CKEDITOR.tools.isArray;CKEDITOR.plugins.tabletools=
{requires:&quot;table,dialog,contextmenu&quot;,init:function(d){function f(a){return CKEDITOR.tools.extend(a||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains({td:1,th:1},1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}function b(a,b){var c=d.addCommand(a,b);d.addFeature(c)}var c=d.lang.table,e=CKEDITOR.tools.style.parse,h=&quot;td{width} td{height} td{border-color} td{background-color} td{white-space} td{vertical-align} td{text-align} td[colspan] td[rowspan] th&quot;.split(&quot; &quot;);b(&quot;cellProperties&quot;,
new CKEDITOR.dialogCommand(&quot;cellProperties&quot;,f({allowedContent:&quot;td th{width,height,border-color,background-color,white-space,vertical-align,text-align}[colspan,rowspan]&quot;,requiredContent:h,contentTransformations:[[{element:&quot;td&quot;,left:function(a){return a.styles.background&amp;&amp;e.background(a.styles.background).color},right:function(a){a.styles[&quot;background-color&quot;]=e.background(a.styles.background).color}},{element:&quot;td&quot;,check:&quot;td{vertical-align}&quot;,left:function(a){return a.attributes&amp;&amp;a.attributes.valign},
right:function(a){a.styles[&quot;vertical-align&quot;]=a.attributes.valign;delete a.attributes.valign}}],[{element:&quot;tr&quot;,check:&quot;td{height}&quot;,left:function(a){return a.styles&amp;&amp;a.styles.height},right:function(a){CKEDITOR.tools.array.forEach(a.children,function(b){b.name in{td:1,th:1}&amp;&amp;(b.attributes[&quot;cke-row-height&quot;]=a.styles.height)});delete a.styles.height}}],[{element:&quot;td&quot;,check:&quot;td{height}&quot;,left:function(a){return(a=a.attributes)&amp;&amp;a[&quot;cke-row-height&quot;]},right:function(a){a.styles.height=a.attributes[&quot;cke-row-height&quot;];
delete a.attributes[&quot;cke-row-height&quot;]}}]]})));CKEDITOR.dialog.add(&quot;cellProperties&quot;,this.path+&quot;dialogs/tableCell.js&quot;);b(&quot;rowDelete&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();(a=B(a))&amp;&amp;p(a)}}));b(&quot;rowInsertBefore&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);r(a,!0)}}));b(&quot;rowInsertAfter&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);r(a)}}));b(&quot;columnDelete&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();(a=y(a))&amp;&amp;
p(a,!0)}}));b(&quot;columnInsertBefore&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);u(a,!0)}}));b(&quot;columnInsertAfter&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);u(a)}}));b(&quot;cellDelete&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();z(a)}}));b(&quot;cellMerge&quot;,f({allowedContent:&quot;td[colspan,rowspan]&quot;,requiredContent:&quot;td[colspan,rowspan]&quot;,exec:function(a,b){b.cell=x(a.getSelection());p(b.cell,!0)}}));b(&quot;cellMergeRight&quot;,f({allowedContent:&quot;td[colspan]&quot;,
requiredContent:&quot;td[colspan]&quot;,exec:function(a,b){b.cell=x(a.getSelection(),&quot;right&quot;);p(b.cell,!0)}}));b(&quot;cellMergeDown&quot;,f({allowedContent:&quot;td[rowspan]&quot;,requiredContent:&quot;td[rowspan]&quot;,exec:function(a,b){b.cell=x(a.getSelection(),&quot;down&quot;);p(b.cell,!0)}}));b(&quot;cellVerticalSplit&quot;,f({allowedContent:&quot;td[rowspan]&quot;,requiredContent:&quot;td[rowspan]&quot;,exec:function(a){p(E(a.getSelection()))}}));b(&quot;cellHorizontalSplit&quot;,f({allowedContent:&quot;td[colspan]&quot;,requiredContent:&quot;td[colspan]&quot;,exec:function(a){p(C(a.getSelection()))}}));
b(&quot;cellInsertBefore&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();t(a,!0)}}));b(&quot;cellInsertAfter&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();t(a)}}));d.addMenuItems&amp;&amp;d.addMenuItems({tablecell:{label:c.cell.menu,group:&quot;tablecell&quot;,order:1,getItems:function(){var a=d.getSelection(),b=q(a),a={tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_merge:x(a,null,!0)?CKEDITOR.TRISTATE_OFF:
CKEDITOR.TRISTATE_DISABLED,tablecell_merge_right:x(a,&quot;right&quot;,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_down:x(a,&quot;down&quot;,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_vertical:E(a,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_horizontal:C(a,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED};d.filter.check(h)&amp;&amp;(a.tablecell_properties=0&lt;b.length?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);return a}},tablecell_insertBefore:{label:c.cell.insertBefore,
group:&quot;tablecell&quot;,command:&quot;cellInsertBefore&quot;,order:5},tablecell_insertAfter:{label:c.cell.insertAfter,group:&quot;tablecell&quot;,command:&quot;cellInsertAfter&quot;,order:10},tablecell_delete:{label:c.cell.deleteCell,group:&quot;tablecell&quot;,command:&quot;cellDelete&quot;,order:15},tablecell_merge:{label:c.cell.merge,group:&quot;tablecell&quot;,command:&quot;cellMerge&quot;,order:16},tablecell_merge_right:{label:c.cell.mergeRight,group:&quot;tablecell&quot;,command:&quot;cellMergeRight&quot;,order:17},tablecell_merge_down:{label:c.cell.mergeDown,group:&quot;tablecell&quot;,command:&quot;cellMergeDown&quot;,
order:18},tablecell_split_horizontal:{label:c.cell.splitHorizontal,group:&quot;tablecell&quot;,command:&quot;cellHorizontalSplit&quot;,order:19},tablecell_split_vertical:{label:c.cell.splitVertical,group:&quot;tablecell&quot;,command:&quot;cellVerticalSplit&quot;,order:20},tablecell_properties:{label:c.cell.title,group:&quot;tablecellproperties&quot;,command:&quot;cellProperties&quot;,order:21},tablerow:{label:c.row.menu,group:&quot;tablerow&quot;,order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,
tablerow_delete:CKEDITOR.TRISTATE_OFF}}},tablerow_insertBefore:{label:c.row.insertBefore,group:&quot;tablerow&quot;,command:&quot;rowInsertBefore&quot;,order:5},tablerow_insertAfter:{label:c.row.insertAfter,group:&quot;tablerow&quot;,command:&quot;rowInsertAfter&quot;,order:10},tablerow_delete:{label:c.row.deleteRow,group:&quot;tablerow&quot;,command:&quot;rowDelete&quot;,order:15},tablecolumn:{label:c.column.menu,group:&quot;tablecolumn&quot;,order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,
tablecolumn_delete:CKEDITOR.TRISTATE_OFF}}},tablecolumn_insertBefore:{label:c.column.insertBefore,group:&quot;tablecolumn&quot;,command:&quot;columnInsertBefore&quot;,order:5},tablecolumn_insertAfter:{label:c.column.insertAfter,group:&quot;tablecolumn&quot;,command:&quot;columnInsertAfter&quot;,order:10},tablecolumn_delete:{label:c.column.deleteColumn,group:&quot;tablecolumn&quot;,command:&quot;columnDelete&quot;,order:15}});d.contextMenu&amp;&amp;d.contextMenu.addListener(function(a,b,c){return(a=c.contains({td:1,th:1},1))&amp;&amp;!a.isReadOnly()?{tablecell:CKEDITOR.TRISTATE_OFF,
tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF}:null})},getCellColIndex:v,insertRow:r,insertColumn:u,getSelectedCells:q};CKEDITOR.plugins.add(&quot;tabletools&quot;,CKEDITOR.plugins.tabletools)})();
CKEDITOR.tools.buildTableMap=function(q,r,B,v,w){q=q.$.rows;B=B||0;v=&quot;number&quot;===typeof v?v:q.length-1;w=&quot;number&quot;===typeof w?w:-1;var u=-1,y=[];for(r=r||0;r&lt;=v;r++){u++;!y[u]&amp;&amp;(y[u]=[]);for(var t=-1,z=B;z&lt;=(-1===w?q[r].cells.length-1:w);z++){var p=q[r].cells[z];if(!p)break;for(t++;y[u][t];)t++;for(var A=isNaN(p.colSpan)?1:p.colSpan,p=isNaN(p.rowSpan)?1:p.rowSpan,x=0;x&lt;p&amp;&amp;!(r+x&gt;v);x++){y[u+x]||(y[u+x]=[]);for(var C=0;C&lt;A;C++)y[u+x][t+C]=q[r].cells[z]}t+=A-1;if(-1!==w&amp;&amp;t&gt;=w)break}}return y};(function(){function D(a){return CKEDITOR.plugins.widget&amp;&amp;CKEDITOR.plugins.widget.isDomWidget(a)}function z(a,b){var c=a.getAscendant(&quot;table&quot;),d=b.getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(c),g=r(a),k=r(b),h=[],f={},l,p;c.contains(d)&amp;&amp;(b=b.getAscendant({td:1,th:1}),k=r(b));g&gt;k&amp;&amp;(c=g,g=k,k=c,c=a,a=b,b=c);for(c=0;c&lt;e[g].length;c++)if(a.$===e[g][c]){l=c;break}for(c=0;c&lt;e[k].length;c++)if(b.$===e[k][c]){p=c;break}l&gt;p&amp;&amp;(c=l,l=p,p=c);for(c=g;c&lt;=k;c++)for(g=l;g&lt;=p;g++)d=new CKEDITOR.dom.element(e[c][g]),
d.$&amp;&amp;!d.getCustomData(&quot;selected_cell&quot;)&amp;&amp;(h.push(d),CKEDITOR.dom.element.setMarker(f,d,&quot;selected_cell&quot;,!0));CKEDITOR.dom.element.clearAllMarkers(f);return h}function I(a){return(a=a.editable().findOne(&quot;.cke_table-faked-selection&quot;))&amp;&amp;a.getAscendant(&quot;table&quot;)}function A(a,b){var c=a.editable().find(&quot;.cke_table-faked-selection&quot;),d=a.editable().findOne(&quot;[data-cke-table-faked-selection-table]&quot;),e;a.fire(&quot;lockSnapshot&quot;);a.editable().removeClass(&quot;cke_table-faked-selection-editor&quot;);for(e=0;e&lt;c.count();e++)c.getItem(e).removeClass(&quot;cke_table-faked-selection&quot;);
d&amp;&amp;d.data(&quot;cke-table-faked-selection-table&quot;,!1);a.fire(&quot;unlockSnapshot&quot;);b&amp;&amp;(m={active:!1},a.getSelection().isInTable()&amp;&amp;a.getSelection().reset())}function t(a,b){var c=[],d,e;for(e=0;e&lt;b.length;e++)d=a.createRange(),d.setStartBefore(b[e]),d.setEndAfter(b[e]),c.push(d);a.getSelection().selectRanges(c)}function J(a){var b=a.editable().find(&quot;.cke_table-faked-selection&quot;);1&gt;b.count()||(b=z(b.getItem(0),b.getItem(b.count()-1)),t(a,b))}function K(a,b,c){var d=v(a.getSelection(!0));b=b.is(&quot;table&quot;)?null:
b;var e;(e=m.active&amp;&amp;!m.first)&amp;&amp;!(e=b)&amp;&amp;(e=a.getSelection().getRanges(),e=1&lt;d.length||e[0]&amp;&amp;!e[0].collapsed?!0:!1);if(e)m.first=b||d[0],m.dirty=b?!1:1!==d.length;else if(m.active&amp;&amp;b&amp;&amp;m.first.getAscendant(&quot;table&quot;).equals(b.getAscendant(&quot;table&quot;))){d=z(m.first,b);if(!m.dirty&amp;&amp;1===d.length&amp;&amp;!D(c.data.getTarget()))return A(a,&quot;mouseup&quot;===c.name);m.dirty=!0;m.last=b;t(a,d)}}function L(a){var b=(a=a.editor||a.sender.editor)&amp;&amp;a.getSelection(),c=b&amp;&amp;b.getRanges()||[],d=c&amp;&amp;c[0].getEnclosedNode(),d=d&amp;&amp;d.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;d.is(&quot;img&quot;),e;if(b&amp;&amp;(A(a),b.isInTable()&amp;&amp;b.isFake))if(d)a.getSelection().reset();else if(!c[0]._getTableElement({table:1}).hasAttribute(&quot;data-cke-tableselection-ignored&quot;)){1===c.length&amp;&amp;c[0]._getTableElement()&amp;&amp;c[0]._getTableElement().is(&quot;table&quot;)&amp;&amp;(e=c[0]._getTableElement());e=v(b,e);a.fire(&quot;lockSnapshot&quot;);for(b=0;b&lt;e.length;b++)e[b].addClass(&quot;cke_table-faked-selection&quot;);0&lt;e.length&amp;&amp;(a.editable().addClass(&quot;cke_table-faked-selection-editor&quot;),e[0].getAscendant(&quot;table&quot;).data(&quot;cke-table-faked-selection-table&quot;,
&quot;&quot;));a.fire(&quot;unlockSnapshot&quot;)}}function r(a){return a.getAscendant(&quot;tr&quot;,!0).$.rowIndex}function w(a){function b(a,b){return a&amp;&amp;b?a.equals(b)||a.contains(b)||b.contains(a)||a.getCommonAncestor(b).is(l):!1}function c(a){return!a.getAscendant(&quot;table&quot;,!0)&amp;&amp;a.getDocument().equals(e.document)}function d(a,b,d,e){if(&quot;mousedown&quot;===a.name&amp;&amp;(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT||!e))return!0;if(b=a.name===(CKEDITOR.env.gecko?&quot;mousedown&quot;:&quot;mouseup&quot;)&amp;&amp;!c(a.data.getTarget()))a=a.data.getTarget().getAscendant({td:1,
th:1},!0),b=!(a&amp;&amp;a.hasClass(&quot;cke_table-faked-selection&quot;));return b}if(a.data.getTarget().getName&amp;&amp;(&quot;mouseup&quot;===a.name||!D(a.data.getTarget()))){var e=a.editor||a.listenerData.editor,g=e.getSelection(1),k=I(e),h=a.data.getTarget(),f=h&amp;&amp;h.getAscendant({td:1,th:1},!0),h=h&amp;&amp;h.getAscendant(&quot;table&quot;,!0),l={table:1,thead:1,tbody:1,tfoot:1,tr:1,td:1,th:1};h&amp;&amp;h.hasAttribute(&quot;data-cke-tableselection-ignored&quot;)||(d(a,g,k,h)&amp;&amp;A(e,!0),!m.active&amp;&amp;&quot;mousedown&quot;===a.name&amp;&amp;CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT&amp;&amp;
h&amp;&amp;(m={active:!0},CKEDITOR.document.on(&quot;mouseup&quot;,w,null,{editor:e})),(f||h)&amp;&amp;K(e,f||h,a),&quot;mouseup&quot;===a.name&amp;&amp;(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT&amp;&amp;(c(a.data.getTarget())||b(k,h))&amp;&amp;J(e),m={active:!1},CKEDITOR.document.removeListener(&quot;mouseup&quot;,w)))}}function M(a){var b=a.data.getTarget().getAscendant(&quot;table&quot;,!0);b&amp;&amp;b.hasAttribute(&quot;data-cke-tableselection-ignored&quot;)||(b=a.data.getTarget().getAscendant({td:1,th:1},!0))&amp;&amp;!b.hasClass(&quot;cke_table-faked-selection&quot;)&amp;&amp;(a.cancel(),a.data.preventDefault())}
function N(a,b){function c(a){a.cancel()}var d=a.getSelection(),e=d.createBookmarks(),g=a.document,k=a.createRange(),h=g.getDocumentElement().$,f=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version,l=a.blockless||CKEDITOR.env.ie?&quot;span&quot;:&quot;div&quot;,p,x,n,m;g.getById(&quot;cke_table_copybin&quot;)||(p=g.createElement(l),x=g.createElement(l),x.setAttributes({id:&quot;cke_table_copybin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;}),p.setStyles({position:&quot;absolute&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;,overflow:&quot;hidden&quot;}),p.setStyle(&quot;ltr&quot;==a.config.contentsLangDirection?
&quot;left&quot;:&quot;right&quot;,&quot;-5000px&quot;),p.setHtml(a.getSelectedHtml(!0)),a.fire(&quot;lockSnapshot&quot;),x.append(p),a.editable().append(x),m=a.on(&quot;selectionChange&quot;,c,null,null,0),f&amp;&amp;(n=h.scrollTop),k.selectNodeContents(p),k.select(),f&amp;&amp;(h.scrollTop=n),setTimeout(function(){x.remove();d.selectBookmarks(e);m.removeListener();a.fire(&quot;unlockSnapshot&quot;);b&amp;&amp;(a.extractSelectedHtml(),a.fire(&quot;saveSnapshot&quot;))},100))}function E(a){var b=a.editor||a.sender.editor,c=b.getSelection();c.isInTable()&amp;&amp;(c.getRanges()[0]._getTableElement({table:1}).hasAttribute(&quot;data-cke-tableselection-ignored&quot;)||
N(b,&quot;cut&quot;===a.name))}function q(a){this._reset();a&amp;&amp;this.setSelectedCells(a)}function B(a,b,c){a.on(&quot;beforeCommandExec&quot;,function(d){-1!==CKEDITOR.tools.array.indexOf(b,d.data.name)&amp;&amp;(d.data.selectedCells=v(a.getSelection()))});a.on(&quot;afterCommandExec&quot;,function(d){-1!==CKEDITOR.tools.array.indexOf(b,d.data.name)&amp;&amp;c(a,d.data)})}var m={active:!1},y,v,C,F,G;q.prototype={};q.prototype._reset=function(){this.cells={first:null,last:null,all:[]};this.rows={first:null,last:null}};q.prototype.setSelectedCells=
function(a){this._reset();a=a.slice(0);this._arraySortByDOMOrder(a);this.cells.all=a;this.cells.first=a[0];this.cells.last=a[a.length-1];this.rows.first=a[0].getAscendant(&quot;tr&quot;);this.rows.last=this.cells.last.getAscendant(&quot;tr&quot;)};q.prototype.getTableMap=function(){var a=C(this.cells.first),b;a:{b=this.cells.last;var c=b.getAscendant(&quot;table&quot;),d=r(b),c=CKEDITOR.tools.buildTableMap(c),e;for(e=0;e&lt;c[d].length;e++)if((new CKEDITOR.dom.element(c[d][e])).equals(b)){b=e;break a}b=void 0}return CKEDITOR.tools.buildTableMap(this._getTable(),
r(this.rows.first),a,r(this.rows.last),b)};q.prototype._getTable=function(){return this.rows.first.getAscendant(&quot;table&quot;)};q.prototype.insertRow=function(a,b,c){if(&quot;undefined&quot;===typeof a)a=1;else if(0&gt;=a)return;for(var d=this.cells.first.$.cellIndex,e=this.cells.last.$.cellIndex,g=c?[]:this.cells.all,k,h=0;h&lt;a;h++)k=F(c?this.cells.all:g,b),k=CKEDITOR.tools.array.filter(k.find(&quot;td, th&quot;).toArray(),function(a){return c?!0:a.$.cellIndex&gt;=d&amp;&amp;a.$.cellIndex&lt;=e}),g=b?k.concat(g):g.concat(k);this.setSelectedCells(g)};
q.prototype.insertColumn=function(a){function b(a){a=r(a);return a&gt;=e&amp;&amp;a&lt;=g}if(&quot;undefined&quot;===typeof a)a=1;else if(0&gt;=a)return;for(var c=this.cells,d=c.all,e=r(c.first),g=r(c.last),c=0;c&lt;a;c++)d=d.concat(CKEDITOR.tools.array.filter(G(d),b));this.setSelectedCells(d)};q.prototype.emptyCells=function(a){a=a||this.cells.all;for(var b=0;b&lt;a.length;b++)a[b].setHtml(&quot;&quot;)};q.prototype._arraySortByDOMOrder=function(a){a.sort(function(a,c){return a.getPosition(c)&amp;CKEDITOR.POSITION_PRECEDING?-1:1})};var H={onPaste:function(a){function b(a){var b=
d.createRange();b.selectNodeContents(a);b.select()}function c(a){return Math.max.apply(null,CKEDITOR.tools.array.map(a,function(a){return a.length},0))}var d=a.editor,e=d.getSelection(),g=v(e),k=e.isInTable(!0)&amp;&amp;this.isBoundarySelection(e),h=this.findTableInPastedContent(d,a.data.dataValue),f,l;(function(a,b,d,c){a=a.getRanges();var e=a.length&amp;&amp;a[0]._getTableElement({table:1});if(!b.length||e&amp;&amp;e.hasAttribute(&quot;data-cke-tableselection-ignored&quot;)||c&amp;&amp;!d)return!1;if(b=!c)(b=a[0])?(b=b.clone(),b.enlarge(CKEDITOR.ENLARGE_ELEMENT),
b=(b=b.getEnclosedNode())&amp;&amp;b.is&amp;&amp;b.is(CKEDITOR.dtd.$tableContent)):b=void 0,b=!b;return b?!1:!0})(e,g,h,k)&amp;&amp;(g=g[0].getAscendant(&quot;table&quot;),f=new q(v(e,g)),d.once(&quot;afterPaste&quot;,function(){var a;if(l){a=new CKEDITOR.dom.element(l[0][0]);var b=l[l.length-1];a=z(a,new CKEDITOR.dom.element(b[b.length-1]))}else a=f.cells.all;t(d,a)}),h?(a.stop(),k?(f.insertRow(1,1===k,!0),e.selectElement(f.rows.first)):(f.emptyCells(),t(d,f.cells.all)),a=f.getTableMap(),l=CKEDITOR.tools.buildTableMap(h),f.insertRow(l.length-
a.length),f.insertColumn(c(l)-c(a)),a=f.getTableMap(),this.pasteTable(f,a,l),d.fire(&quot;saveSnapshot&quot;),setTimeout(function(){d.fire(&quot;afterPaste&quot;)},0)):(b(f.cells.first),d.once(&quot;afterPaste&quot;,function(){d.fire(&quot;lockSnapshot&quot;);f.emptyCells(f.cells.all.slice(1));t(d,f.cells.all);d.fire(&quot;unlockSnapshot&quot;)})))},isBoundarySelection:function(a){a=a.getRanges()[0];var b=a.endContainer.getAscendant(&quot;tr&quot;,!0);if(b&amp;&amp;a.collapsed){if(a.checkBoundaryOfElement(b,CKEDITOR.START))return 1;if(a.checkBoundaryOfElement(b,CKEDITOR.END))return 2}return 0},
findTableInPastedContent:function(a,b){var c=a.dataProcessor,d=new CKEDITOR.dom.element(&quot;body&quot;);c||(c=new CKEDITOR.htmlDataProcessor(a));d.setHtml(c.toHtml(b),{fixForBody:!1});return 1&lt;d.getChildCount()?null:d.findOne(&quot;table&quot;)},pasteTable:function(a,b,c){var d,e=C(a.cells.first),g=a._getTable(),k={},h,f,l,p;for(l=0;l&lt;c.length;l++)for(h=new CKEDITOR.dom.element(g.$.rows[a.rows.first.$.rowIndex+l]),p=0;p&lt;c[l].length;p++)if(f=new CKEDITOR.dom.element(c[l][p]),d=b[l]&amp;&amp;b[l][p]?new CKEDITOR.dom.element(b[l][p]):
null,f&amp;&amp;!f.getCustomData(&quot;processed&quot;)){if(d&amp;&amp;d.getParent())f.replace(d);else if(0===p||c[l][p-1])(d=0!==p?new CKEDITOR.dom.element(c[l][p-1]):null)&amp;&amp;h.equals(d.getParent())?f.insertAfter(d):0&lt;e?h.$.cells[e]?f.insertAfter(new CKEDITOR.dom.element(h.$.cells[e])):h.append(f):h.append(f,!0);CKEDITOR.dom.element.setMarker(k,f,&quot;processed&quot;,!0)}else f.getCustomData(&quot;processed&quot;)&amp;&amp;d&amp;&amp;d.remove();CKEDITOR.dom.element.clearAllMarkers(k)}};CKEDITOR.plugins.tableselection={getCellsBetween:z,keyboardIntegration:function(a){function b(a){var b=
a.getEnclosedNode();b&amp;&amp;&quot;function&quot;===typeof b.is&amp;&amp;b.is({td:1,th:1})?b.setText(&quot;&quot;):a.deleteContents();CKEDITOR.tools.array.forEach(a._find(&quot;td&quot;),function(a){a.appendBogus()})}var c=a.editable();c.attachListener(c,&quot;keydown&quot;,function(a){function c(b,e){if(!e.length)return null;var l=a.createRange(),g=CKEDITOR.dom.range.mergeRanges(e);CKEDITOR.tools.array.forEach(g,function(a){a.enlarge(CKEDITOR.ENLARGE_ELEMENT)});var m=g[0].getBoundaryNodes(),n=m.startNode,m=m.endNode;if(n&amp;&amp;n.is&amp;&amp;n.is(k)){for(var q=n.getAscendant(&quot;table&quot;,
!0),u=n.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT,q),r=!1,t=function(a){return!n.contains(a)&amp;&amp;a.is&amp;&amp;a.is(&quot;td&quot;,&quot;th&quot;)};u&amp;&amp;!t(u);)u=u.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT,q);!u&amp;&amp;m&amp;&amp;m.is&amp;&amp;!m.is(&quot;table&quot;)&amp;&amp;m.getNext()&amp;&amp;(u=m.getNext().findOne(&quot;td, th&quot;),r=!0);if(u)l[&quot;moveToElementEdit&quot;+(r?&quot;Start&quot;:&quot;End&quot;)](u);else l.setStartBefore(n.getAscendant(&quot;table&quot;,!0)),l.collapse(!0);g[0].deleteContents();return[l]}if(n)return l.moveToElementEditablePosition(n),[l]}var g={37:1,38:1,39:1,40:1,8:1,46:1,13:1},
k=CKEDITOR.tools.extend({table:1},CKEDITOR.dtd.$tableContent);delete k.td;delete k.th;return function(h){var f=h.data.getKey(),l=h.data.getKeystroke(),k,m=37===f||38==f,n,q,r;if(g[f]&amp;&amp;!a.readOnly&amp;&amp;(k=a.getSelection())&amp;&amp;k.isInTable()&amp;&amp;k.isFake){n=k.getRanges();q=n[0]._getTableElement();r=n[n.length-1]._getTableElement();if(13!==f||a.plugins.enterkey)h.data.preventDefault(),h.cancel();if(36&lt;f&amp;&amp;41&gt;f)n[0].moveToElementEditablePosition(m?q:r,!m),k.selectRanges([n[0]]);else if(13!==f||13===l||l===CKEDITOR.SHIFT+
13){for(h=0;h&lt;n.length;h++)b(n[h]);(h=c(q,n))?n=h:n[0].moveToElementEditablePosition(q);k.selectRanges(n);13===f&amp;&amp;a.plugins.enterkey?(a.fire(&quot;lockSnapshot&quot;),13===l?a.execCommand(&quot;enter&quot;):a.execCommand(&quot;shiftEnter&quot;),a.fire(&quot;unlockSnapshot&quot;),a.fire(&quot;saveSnapshot&quot;)):13!==f&amp;&amp;a.fire(&quot;saveSnapshot&quot;)}}}}(a),null,null,-1);c.attachListener(c,&quot;keypress&quot;,function(c){var e=a.getSelection(),g=c.data.$.charCode||13===c.data.getKey(),k;if(!a.readOnly&amp;&amp;e&amp;&amp;e.isInTable()&amp;&amp;e.isFake&amp;&amp;g&amp;&amp;!(c.data.getKeystroke()&amp;CKEDITOR.CTRL)){c=
e.getRanges();g=c[0].getEnclosedNode().getAscendant({td:1,th:1},!0);for(k=0;k&lt;c.length;k++)b(c[k]);g&amp;&amp;(c[0].moveToElementEditablePosition(g),e.selectRanges([c[0]]))}},null,null,-1)}};CKEDITOR.plugins.add(&quot;tableselection&quot;,{requires:&quot;clipboard,tabletools&quot;,isSupportedEnvironment:function(){return!(CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version)},onLoad:function(){y=CKEDITOR.plugins.tabletools;v=y.getSelectedCells;C=y.getCellColIndex;F=y.insertRow;G=y.insertColumn;CKEDITOR.document.appendStyleSheet(this.path+
&quot;styles/tableselection.css&quot;)},init:function(a){this.isSupportedEnvironment()&amp;&amp;(a.addContentsCss&amp;&amp;a.addContentsCss(this.path+&quot;styles/tableselection.css&quot;),a.on(&quot;contentDom&quot;,function(){var b=a.editable(),c=b.isInline()?b:a.document,d={editor:a};b.attachListener(c,&quot;mousedown&quot;,w,null,d);b.attachListener(c,&quot;mousemove&quot;,w,null,d);b.attachListener(c,&quot;mouseup&quot;,w,null,d);b.attachListener(b,&quot;dragstart&quot;,M);b.attachListener(a,&quot;selectionCheck&quot;,L);CKEDITOR.plugins.tableselection.keyboardIntegration(a);CKEDITOR.plugins.clipboard&amp;&amp;
!CKEDITOR.plugins.clipboard.isCustomCopyCutSupported&amp;&amp;(b.attachListener(b,&quot;cut&quot;,E),b.attachListener(b,&quot;copy&quot;,E))}),a.on(&quot;paste&quot;,H.onPaste,H),B(a,&quot;rowInsertBefore rowInsertAfter columnInsertBefore columnInsertAfter cellInsertBefore cellInsertAfter&quot;.split(&quot; &quot;),function(a,c){t(a,c.selectedCells)}),B(a,[&quot;cellMerge&quot;,&quot;cellMergeRight&quot;,&quot;cellMergeDown&quot;],function(a,c){t(a,[c.commandData.cell])}),B(a,[&quot;cellDelete&quot;],function(a){A(a,!0)}))}})})();(function(){function n(a,b){return CKEDITOR.tools.array.reduce(b,function(a,b){return b(a)},a)}var g=[CKEDITOR.CTRL+90,CKEDITOR.CTRL+89,CKEDITOR.CTRL+CKEDITOR.SHIFT+90],p={8:1,46:1};CKEDITOR.plugins.add(&quot;undo&quot;,{init:function(a){function b(a){d.enabled&amp;&amp;!1!==a.data.command.canUndo&amp;&amp;d.save()}function c(){d.enabled=a.readOnly?!1:&quot;wysiwyg&quot;==a.mode;d.onChange()}var d=a.undoManager=new e(a),l=d.editingHandler=new k(d),f=a.addCommand(&quot;undo&quot;,{exec:function(){d.undo()&amp;&amp;(a.selectionChange(),this.fire(&quot;afterUndo&quot;))},
startDisabled:!0,canUndo:!1}),h=a.addCommand(&quot;redo&quot;,{exec:function(){d.redo()&amp;&amp;(a.selectionChange(),this.fire(&quot;afterRedo&quot;))},startDisabled:!0,canUndo:!1});a.setKeystroke([[g[0],&quot;undo&quot;],[g[1],&quot;redo&quot;],[g[2],&quot;redo&quot;]]);d.onChange=function(){f.setState(d.undoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);h.setState(d.redoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)};a.on(&quot;beforeCommandExec&quot;,b);a.on(&quot;afterCommandExec&quot;,b);a.on(&quot;saveSnapshot&quot;,function(a){d.save(a.data&amp;&amp;a.data.contentOnly)});
a.on(&quot;contentDom&quot;,l.attachListeners,l);a.on(&quot;instanceReady&quot;,function(){a.fire(&quot;saveSnapshot&quot;)});a.on(&quot;beforeModeUnload&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;d.save(!0)});a.on(&quot;mode&quot;,c);a.on(&quot;readOnly&quot;,c);a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;Undo&quot;,{label:a.lang.undo.undo,command:&quot;undo&quot;,toolbar:&quot;undo,10&quot;}),a.ui.addButton(&quot;Redo&quot;,{label:a.lang.undo.redo,command:&quot;redo&quot;,toolbar:&quot;undo,20&quot;}));a.resetUndo=function(){d.reset();a.fire(&quot;saveSnapshot&quot;)};a.on(&quot;updateSnapshot&quot;,function(){d.currentImage&amp;&amp;d.update()});a.on(&quot;lockSnapshot&quot;,
function(a){a=a.data;d.lock(a&amp;&amp;a.dontUpdate,a&amp;&amp;a.forceUpdate)});a.on(&quot;unlockSnapshot&quot;,d.unlock,d)}});CKEDITOR.plugins.undo={};var e=CKEDITOR.plugins.undo.UndoManager=function(a){this.strokesRecorded=[0,0];this.locked=null;this.previousKeyGroup=-1;this.limit=a.config.undoStackSize||20;this.strokesLimit=25;this._filterRules=[];this.editor=a;this.reset();CKEDITOR.env.ie&amp;&amp;this.addFilterRule(function(a){return a.replace(/\s+data-cke-expando=&quot;.*?&quot;/g,&quot;&quot;)})};e.prototype={type:function(a,b){var c=e.getKeyGroup(a),
d=this.strokesRecorded[c]+1;b=b||d&gt;=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange());b?(d=0,this.editor.fire(&quot;saveSnapshot&quot;)):this.editor.fire(&quot;change&quot;);this.strokesRecorded[c]=d;this.previousKeyGroup=c},keyGroupChanged:function(a){return e.getKeyGroup(a)!=this.previousKeyGroup},reset:function(){this.snapshots=[];this.index=-1;this.currentImage=null;this.hasRedo=this.hasUndo=!1;this.locked=null;this.resetType()},resetType:function(){this.strokesRecorded=
[0,0];this.typing=!1;this.previousKeyGroup=-1},refreshState:function(){this.hasUndo=!!this.getNextImage(!0);this.hasRedo=!!this.getNextImage(!1);this.resetType();this.onChange()},save:function(a,b,c){var d=this.editor;if(this.locked||&quot;ready&quot;!=d.status||&quot;wysiwyg&quot;!=d.mode)return!1;var e=d.editable();if(!e||&quot;ready&quot;!=e.status)return!1;e=this.snapshots;b||(b=new f(d));if(!1===b.contents)return!1;if(this.currentImage)if(b.equalsContent(this.currentImage)){if(a||b.equalsSelection(this.currentImage))return!1}else!1!==
c&amp;&amp;d.fire(&quot;change&quot;);e.splice(this.index+1,e.length-this.index-1);e.length==this.limit&amp;&amp;e.shift();this.index=e.push(b)-1;this.currentImage=b;!1!==c&amp;&amp;this.refreshState();return!0},restoreImage:function(a){var b=this.editor,c;a.bookmarks&amp;&amp;(b.focus(),c=b.getSelection());this.locked={level:999};this.editor.loadSnapshot(a.contents);a.bookmarks?c.selectBookmarks(a.bookmarks):CKEDITOR.env.ie&amp;&amp;(c=this.editor.document.getBody().$.createTextRange(),c.collapse(!0),c.select());this.locked=null;this.index=a.index;
this.currentImage=this.snapshots[this.index];this.update();this.refreshState();b.fire(&quot;change&quot;)},getNextImage:function(a){var b=this.snapshots,c=this.currentImage,d;if(c)if(a)for(d=this.index-1;0&lt;=d;d--){if(a=b[d],!c.equalsContent(a))return a.index=d,a}else for(d=this.index+1;d&lt;b.length;d++)if(a=b[d],!c.equalsContent(a))return a.index=d,a;return null},redoable:function(){return this.enabled&amp;&amp;this.hasRedo},undoable:function(){return this.enabled&amp;&amp;this.hasUndo},undo:function(){if(this.undoable()){this.save(!0);
var a=this.getNextImage(!0);if(a)return this.restoreImage(a),!0}return!1},redo:function(){if(this.redoable()&amp;&amp;(this.save(!0),this.redoable())){var a=this.getNextImage(!1);if(a)return this.restoreImage(a),!0}return!1},update:function(a){if(!this.locked){a||(a=new f(this.editor));for(var b=this.index,c=this.snapshots;0&lt;b&amp;&amp;this.currentImage.equalsContent(c[b-1]);)--b;c.splice(b,this.index-b+1,a);this.index=b;this.currentImage=a}},updateSelection:function(a){if(!this.snapshots.length)return!1;var b=this.snapshots,
c=b[b.length-1];return c.equalsContent(a)&amp;&amp;!c.equalsSelection(a)?(this.currentImage=b[b.length-1]=a,!0):!1},lock:function(a,b){if(this.locked)this.locked.level++;else if(a)this.locked={level:1};else{var c=null;if(b)c=!0;else{var d=new f(this.editor,!0);this.currentImage&amp;&amp;this.currentImage.equalsContent(d)&amp;&amp;(c=d)}this.locked={update:c,level:1}}},unlock:function(){if(this.locked&amp;&amp;!--this.locked.level){var a=this.locked.update;this.locked=null;if(!0===a)this.update();else if(a){var b=new f(this.editor,
!0);a.equalsContent(b)||this.update()}}},addFilterRule:function(a){this._filterRules.push(a)}};e.navigationKeyCodes={37:1,38:1,39:1,40:1,36:1,35:1,33:1,34:1};e.keyGroups={PRINTABLE:0,FUNCTIONAL:1};e.isNavigationKey=function(a){return!!e.navigationKeyCodes[a]};e.getKeyGroup=function(a){var b=e.keyGroups;return p[a]?b.FUNCTIONAL:b.PRINTABLE};e.getOppositeKeyGroup=function(a){var b=e.keyGroups;return a==b.FUNCTIONAL?b.PRINTABLE:b.FUNCTIONAL};e.ieFunctionalKeysBug=function(a){return CKEDITOR.env.ie&amp;&amp;
e.getKeyGroup(a)==e.keyGroups.FUNCTIONAL};var f=CKEDITOR.plugins.undo.Image=function(a,b){this.editor=a;a.fire(&quot;beforeUndoImage&quot;);var c=a.getSnapshot();c&amp;&amp;(this.contents=n(c,a.undoManager._filterRules));b||(this.bookmarks=(c=c&amp;&amp;a.getSelection())&amp;&amp;c.createBookmarks2(!0));a.fire(&quot;afterUndoImage&quot;)},h=/\b(?:href|src|name)=&quot;[^&quot;]*?&quot;/gi;f.prototype={equalsContent:function(a){var b=this.contents;a=a.contents;CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)&amp;&amp;(b=b.replace(h,&quot;&quot;),a=a.replace(h,
&quot;&quot;));return b!=a?!1:!0},equalsSelection:function(a){var b=this.bookmarks;a=a.bookmarks;if(b||a){if(!b||!a||b.length!=a.length)return!1;for(var c=0;c&lt;b.length;c++){var d=b[c],e=a[c];if(d.startOffset!=e.startOffset||d.endOffset!=e.endOffset||!CKEDITOR.tools.arrayCompare(d.start,e.start)||!CKEDITOR.tools.arrayCompare(d.end,e.end))return!1}}return!0}};var k=CKEDITOR.plugins.undo.NativeEditingHandler=function(a){this.undoManager=a;this.ignoreInputEvent=!1;this.keyEventsStack=new m;this.lastKeydownImage=
null};k.prototype={onKeydown:function(a){var b=a.data.getKey();if(229!==b)if(-1&lt;CKEDITOR.tools.indexOf(g,a.data.getKeystroke()))a.data.preventDefault();else if(this.keyEventsStack.cleanUp(a),a=this.undoManager,this.keyEventsStack.getLast(b)||this.keyEventsStack.push(b),this.lastKeydownImage=new f(a.editor),e.isNavigationKey(b)||this.undoManager.keyGroupChanged(b))if(a.strokesRecorded[0]||a.strokesRecorded[1])a.save(!1,this.lastKeydownImage,!1),a.resetType()},onInput:function(){if(this.ignoreInputEvent)this.ignoreInputEvent=
!1;else{var a=this.keyEventsStack.getLast();a||(a=this.keyEventsStack.push(0));this.keyEventsStack.increment(a.keyCode);this.keyEventsStack.getTotalInputs()&gt;=this.undoManager.strokesLimit&amp;&amp;(this.undoManager.type(a.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(a){var b=this.undoManager;a=a.data.getKey();var c=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(a);if(!(e.ieFunctionalKeysBug(a)&amp;&amp;this.lastKeydownImage&amp;&amp;this.lastKeydownImage.equalsContent(new f(b.editor,
!0))))if(0&lt;c)b.type(a);else if(e.isNavigationKey(a))this.onNavigationKey(!0)},onNavigationKey:function(a){var b=this.undoManager;!a&amp;&amp;b.save(!0,null,!1)||b.updateSelection(new f(b.editor));b.resetType()},ignoreInputEventListener:function(){this.ignoreInputEvent=!0},activateInputEventListener:function(){this.ignoreInputEvent=!1},attachListeners:function(){var a=this.undoManager.editor,b=a.editable(),c=this;b.attachListener(b,&quot;keydown&quot;,function(a){c.onKeydown(a);if(e.ieFunctionalKeysBug(a.data.getKey()))c.onInput()},
null,null,999);b.attachListener(b,CKEDITOR.env.ie?&quot;keypress&quot;:&quot;input&quot;,c.onInput,c,null,999);b.attachListener(b,&quot;keyup&quot;,c.onKeyup,c,null,999);b.attachListener(b,&quot;paste&quot;,c.ignoreInputEventListener,c,null,999);b.attachListener(b,&quot;drop&quot;,c.ignoreInputEventListener,c,null,999);a.on(&quot;afterPaste&quot;,c.activateInputEventListener,c,null,999);b.attachListener(b.isInline()?b:a.document.getDocumentElement(),&quot;click&quot;,function(){c.onNavigationKey()},null,null,999);b.attachListener(this.undoManager.editor,&quot;blur&quot;,function(){c.keyEventsStack.remove(9)},
null,null,999)}};var m=CKEDITOR.plugins.undo.KeyEventsStack=function(){this.stack=[]};m.prototype={push:function(a){a=this.stack.push({keyCode:a,inputs:0});return this.stack[a-1]},getLastIndex:function(a){if(&quot;number&quot;!=typeof a)return this.stack.length-1;for(var b=this.stack.length;b--;)if(this.stack[b].keyCode==a)return b;return-1},getLast:function(a){a=this.getLastIndex(a);return-1!=a?this.stack[a]:null},increment:function(a){this.getLast(a).inputs++},remove:function(a){a=this.getLastIndex(a);-1!=
a&amp;&amp;this.stack.splice(a,1)},resetInputs:function(a){if(&quot;number&quot;==typeof a)this.getLast(a).inputs=0;else for(a=this.stack.length;a--;)this.stack[a].inputs=0},getTotalInputs:function(){for(var a=this.stack.length,b=0;a--;)b+=this.stack[a].inputs;return b},cleanUp:function(a){a=a.data.$;a.ctrlKey||a.metaKey||this.remove(17);a.shiftKey||this.remove(16);a.altKey||this.remove(18)}}})();(function(){function m(a,d){CKEDITOR.tools.extend(this,{editor:a,editable:a.editable(),doc:a.document,win:a.window},d,!0);this.inline=this.editable.isInline();this.inline||(this.frame=this.win.getFrame());this.target=this[this.inline?&quot;editable&quot;:&quot;doc&quot;]}function n(a,d){CKEDITOR.tools.extend(this,d,{editor:a},!0)}function p(a,d){var b=a.editable();CKEDITOR.tools.extend(this,{editor:a,editable:b,inline:b.isInline(),doc:a.document,win:a.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()},
d,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var c=CKEDITOR.tools.bind(this.queryViewport,this),e=CKEDITOR.tools.bind(this.hideVisible,this),g=CKEDITOR.tools.bind(this.removeAll,this);b.attachListener(this.winTop,&quot;resize&quot;,c);b.attachListener(this.winTop,&quot;scroll&quot;,c);b.attachListener(this.winTop,&quot;resize&quot;,e);b.attachListener(this.win,&quot;scroll&quot;,e);b.attachListener(this.inline?b:this.frame,&quot;mouseout&quot;,function(a){var b=a.data.$.clientX;a=a.data.$.clientY;
this.queryViewport();(b&lt;=this.rect.left||b&gt;=this.rect.right||a&lt;=this.rect.top||a&gt;=this.rect.bottom)&amp;&amp;this.hideVisible();(0&gt;=b||b&gt;=this.winTopPane.width||0&gt;=a||a&gt;=this.winTopPane.height)&amp;&amp;this.hideVisible()},this);b.attachListener(a,&quot;resize&quot;,c);b.attachListener(a,&quot;mode&quot;,g);a.on(&quot;destroy&quot;,g);this.lineTpl=(new CKEDITOR.template(&#039;\x3cdiv data-cke-lineutils-line\x3d&quot;1&quot; class\x3d&quot;cke_reset_all&quot; style\x3d&quot;{lineStyle}&quot;\x3e\x3cspan style\x3d&quot;{tipLeftStyle}&quot;\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d&quot;{tipRightStyle}&quot;\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e&#039;)).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},
t,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},q,{left:&quot;0px&quot;,&quot;border-left-color&quot;:&quot;red&quot;,&quot;border-width&quot;:&quot;6px 0 6px 6px&quot;},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},q,{right:&quot;0px&quot;,&quot;border-right-color&quot;:&quot;red&quot;,&quot;border-width&quot;:&quot;6px 6px 6px 0&quot;},this.tipCss,this.tipRightStyle,!0))})}function l(a){var d;if(d=a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT)d=!(r[a.getComputedStyle(&quot;float&quot;)]||r[a.getAttribute(&quot;align&quot;)]);return d&amp;&amp;
!u[a.getComputedStyle(&quot;position&quot;)]}CKEDITOR.plugins.add(&quot;lineutils&quot;);CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;m.prototype={start:function(a){var d=this,b=this.editor,c=this.doc,e,g,f,h,k=CKEDITOR.tools.eventsBuffer(50,function(){b.readOnly||&quot;wysiwyg&quot;!=b.mode||(d.relations={},(g=c.$.elementFromPoint(f,h))&amp;&amp;g.nodeType&amp;&amp;(e=new CKEDITOR.dom.element(g),d.traverseSearch(e),isNaN(f+h)||d.pixelSearch(e,f,h),a&amp;&amp;a(d.relations,f,h)))});this.listener=this.editable.attachListener(this.target,
&quot;mousemove&quot;,function(a){f=a.data.$.clientX;h=a.data.$.clientY;k.input()});this.editable.attachListener(this.inline?this.editable:this.frame,&quot;mouseout&quot;,function(){k.reset()})},stop:function(){this.listener&amp;&amp;this.listener.removeListener()},getRange:function(){var a={};a[CKEDITOR.LINEUTILS_BEFORE]=CKEDITOR.POSITION_BEFORE_START;a[CKEDITOR.LINEUTILS_AFTER]=CKEDITOR.POSITION_AFTER_END;a[CKEDITOR.LINEUTILS_INSIDE]=CKEDITOR.POSITION_AFTER_START;return function(d){var b=this.editor.createRange();b.moveToPosition(this.relations[d.uid].element,
a[d.type]);return b}}(),store:function(){function a(a,b,c){var e=a.getUniqueId();e in c?c[e].type|=b:c[e]={element:a,type:b}}return function(d,b){var c;b&amp;CKEDITOR.LINEUTILS_AFTER&amp;&amp;l(c=d.getNext())&amp;&amp;c.isVisible()&amp;&amp;(a(c,CKEDITOR.LINEUTILS_BEFORE,this.relations),b^=CKEDITOR.LINEUTILS_AFTER);b&amp;CKEDITOR.LINEUTILS_INSIDE&amp;&amp;l(c=d.getFirst())&amp;&amp;c.isVisible()&amp;&amp;(a(c,CKEDITOR.LINEUTILS_BEFORE,this.relations),b^=CKEDITOR.LINEUTILS_INSIDE);a(d,b,this.relations)}}(),traverseSearch:function(a){var d,b,c;do if(c=a.$[&quot;data-cke-expando&quot;],
!(c&amp;&amp;c in this.relations)){if(a.equals(this.editable))break;if(l(a))for(d in this.lookups)(b=this.lookups[d](a))&amp;&amp;this.store(a,b)}while((!a||a.type!=CKEDITOR.NODE_ELEMENT||&quot;true&quot;!=a.getAttribute(&quot;contenteditable&quot;))&amp;&amp;(a=a.getParent()))},pixelSearch:function(){function a(a,c,e,g,f){for(var h=0,k;f(e);){e+=g;if(25==++h)break;if(k=this.doc.$.elementFromPoint(c,e))if(k==a)h=0;else if(d(a,k)&amp;&amp;(h=0,l(k=new CKEDITOR.dom.element(k))))return k}}var d=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,c){return a.contains(c)}:
function(a,c){return!!(a.compareDocumentPosition(c)&amp;16)};return function(b,c,d){var g=this.win.getViewPaneSize().height,f=a.call(this,b.$,c,d,-1,function(a){return 0&lt;a});c=a.call(this,b.$,c,d,1,function(a){return a&lt;g});if(f)for(this.traverseSearch(f);!f.getParent().equals(b);)f=f.getParent();if(c)for(this.traverseSearch(c);!c.getParent().equals(b);)c=c.getParent();for(;f||c;){f&amp;&amp;(f=f.getNext(l));if(!f||f.equals(c))break;this.traverseSearch(f);c&amp;&amp;(c=c.getPrevious(l));if(!c||c.equals(f))break;this.traverseSearch(c)}}}(),
greedySearch:function(){this.relations={};for(var a=this.editable.getElementsByTag(&quot;*&quot;),d=0,b,c,e;b=a.getItem(d++);)if(!b.equals(this.editable)&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(b.hasAttribute(&quot;contenteditable&quot;)||!b.isReadOnly())&amp;&amp;l(b)&amp;&amp;b.isVisible())for(e in this.lookups)(c=this.lookups[e](b))&amp;&amp;this.store(b,c);return this.relations}};n.prototype={locate:function(){function a(a,b){var c=a.element[b===CKEDITOR.LINEUTILS_BEFORE?&quot;getPrevious&quot;:&quot;getNext&quot;]();return c&amp;&amp;l(c)?(a.siblingRect=c.getClientRect(),
b==CKEDITOR.LINEUTILS_BEFORE?(a.siblingRect.bottom+a.elementRect.top)/2:(a.elementRect.bottom+a.siblingRect.top)/2):b==CKEDITOR.LINEUTILS_BEFORE?a.elementRect.top:a.elementRect.bottom}return function(d){var b;this.locations={};for(var c in d)b=d[c],b.elementRect=b.element.getClientRect(),b.type&amp;CKEDITOR.LINEUTILS_BEFORE&amp;&amp;this.store(c,CKEDITOR.LINEUTILS_BEFORE,a(b,CKEDITOR.LINEUTILS_BEFORE)),b.type&amp;CKEDITOR.LINEUTILS_AFTER&amp;&amp;this.store(c,CKEDITOR.LINEUTILS_AFTER,a(b,CKEDITOR.LINEUTILS_AFTER)),b.type&amp;
CKEDITOR.LINEUTILS_INSIDE&amp;&amp;this.store(c,CKEDITOR.LINEUTILS_INSIDE,(b.elementRect.top+b.elementRect.bottom)/2);return this.locations}}(),sort:function(){var a,d,b,c;return function(e,g){a=this.locations;d=[];for(var f in a)for(var h in a[f])if(b=Math.abs(e-a[f][h]),d.length){for(c=0;c&lt;d.length;c++)if(b&lt;d[c].dist){d.splice(c,0,{uid:+f,type:h,dist:b});break}c==d.length&amp;&amp;d.push({uid:+f,type:h,dist:b})}else d.push({uid:+f,type:h,dist:b});return&quot;undefined&quot;!=typeof g?d.slice(0,g):d}}(),store:function(a,
d,b){this.locations[a]||(this.locations[a]={});this.locations[a][d]=b}};var q={display:&quot;block&quot;,width:&quot;0px&quot;,height:&quot;0px&quot;,&quot;border-color&quot;:&quot;transparent&quot;,&quot;border-style&quot;:&quot;solid&quot;,position:&quot;absolute&quot;,top:&quot;-6px&quot;},t={height:&quot;0px&quot;,&quot;border-top&quot;:&quot;1px dashed red&quot;,position:&quot;absolute&quot;,&quot;z-index&quot;:9999};p.prototype={removeAll:function(){for(var a in this.hidden)this.hidden[a].remove(),delete this.hidden[a];for(a in this.visible)this.visible[a].remove(),delete this.visible[a]},hideLine:function(a){var d=a.getUniqueId();
a.hide();this.hidden[d]=a;delete this.visible[d]},showLine:function(a){var d=a.getUniqueId();a.show();this.visible[d]=a;delete this.hidden[d]},hideVisible:function(){for(var a in this.visible)this.hideLine(this.visible[a])},placeLine:function(a,d){var b,c,e;if(b=this.getStyle(a.uid,a.type)){for(e in this.visible)if(this.visible[e].getCustomData(&quot;hash&quot;)!==this.hash){c=this.visible[e];break}if(!c)for(e in this.hidden)if(this.hidden[e].getCustomData(&quot;hash&quot;)!==this.hash){this.showLine(c=this.hidden[e]);
break}c||this.showLine(c=this.addLine());c.setCustomData(&quot;hash&quot;,this.hash);this.visible[c.getUniqueId()]=c;c.setStyles(b);d&amp;&amp;d(c)}},getStyle:function(a,d){var b=this.relations[a],c=this.locations[a][d],e={};e.width=b.siblingRect?Math.max(b.siblingRect.width,b.elementRect.width):b.elementRect.width;e.top=this.inline?c+this.winTopScroll.y-this.rect.relativeY:this.rect.top+this.winTopScroll.y+c;if(e.top-this.winTopScroll.y&lt;this.rect.top||e.top-this.winTopScroll.y&gt;this.rect.bottom)return!1;this.inline?
e.left=b.elementRect.left-this.rect.relativeX:(0&lt;b.elementRect.left?e.left=this.rect.left+b.elementRect.left:(e.width+=b.elementRect.left,e.left=this.rect.left),0&lt;(b=e.left+e.width-(this.rect.left+this.winPane.width))&amp;&amp;(e.width-=b));e.left+=this.winTopScroll.x;for(var g in e)e[g]=CKEDITOR.tools.cssLength(e[g]);return e},addLine:function(){var a=CKEDITOR.dom.element.createFromHtml(this.lineTpl);a.appendTo(this.container);return a},prepare:function(a,d){this.relations=a;this.locations=d;this.hash=Math.random()},
cleanup:function(){var a,d;for(d in this.visible)a=this.visible[d],a.getCustomData(&quot;hash&quot;)!==this.hash&amp;&amp;this.hideLine(a)},queryViewport:function(){this.winPane=this.win.getViewPaneSize();this.winTopScroll=this.winTop.getScrollPosition();this.winTopPane=this.winTop.getViewPaneSize();this.rect=this.getClientRect(this.inline?this.editable:this.frame)},getClientRect:function(a){a=a.getClientRect();var d=this.container.getDocumentPosition(),b=this.container.getComputedStyle(&quot;position&quot;);a.relativeX=a.relativeY=
0;&quot;static&quot;!=b&amp;&amp;(a.relativeY=d.y,a.relativeX=d.x,a.top-=a.relativeY,a.bottom-=a.relativeY,a.left-=a.relativeX,a.right-=a.relativeX);return a}};var r={left:1,right:1,center:1},u={absolute:1,fixed:1};CKEDITOR.plugins.lineutils={finder:m,locator:n,liner:p}})();(function(){function e(a){return a.getName&amp;&amp;!a.hasAttribute(&quot;data-cke-temp&quot;)}CKEDITOR.plugins.add(&quot;widgetselection&quot;,{init:function(a){if(CKEDITOR.env.webkit){var b=CKEDITOR.plugins.widgetselection;a.on(&quot;contentDom&quot;,function(a){a=a.editor;var c=a.editable();c.attachListener(c,&quot;keydown&quot;,function(a){a.data.getKeystroke()==CKEDITOR.CTRL+65&amp;&amp;CKEDITOR.tools.setTimeout(function(){b.addFillers(c)||b.removeFillers(c)},0)},null,null,-1);a.on(&quot;selectionCheck&quot;,function(a){b.removeFillers(a.editor.editable())});
a.on(&quot;paste&quot;,function(a){a.data.dataValue=b.cleanPasteData(a.data.dataValue)});&quot;selectall&quot;in a.plugins&amp;&amp;b.addSelectAllIntegration(a)})}}});CKEDITOR.plugins.widgetselection={startFiller:null,endFiller:null,fillerAttribute:&quot;data-cke-filler-webkit&quot;,fillerContent:&quot;\x26nbsp;&quot;,fillerTagName:&quot;div&quot;,addFillers:function(a){var b=a.editor;if(!this.isWholeContentSelected(a)&amp;&amp;0&lt;a.getChildCount()){var d=a.getFirst(e),c=a.getLast(e);d&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!d.isEditable()&amp;&amp;(this.startFiller=this.createFiller(),
a.append(this.startFiller,1));c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!c.isEditable()&amp;&amp;(this.endFiller=this.createFiller(!0),a.append(this.endFiller,0));if(this.hasFiller(a))return b=b.createRange(),b.selectNodeContents(a),b.select(),!0}return!1},removeFillers:function(a){if(this.hasFiller(a)&amp;&amp;!this.isWholeContentSelected(a)){var b=a.findOne(this.fillerTagName+&quot;[&quot;+this.fillerAttribute+&quot;\x3dstart]&quot;),d=a.findOne(this.fillerTagName+&quot;[&quot;+this.fillerAttribute+&quot;\x3dend]&quot;);this.startFiller&amp;&amp;b&amp;&amp;this.startFiller.equals(b)?
this.removeFiller(this.startFiller,a):this.startFiller=b;this.endFiller&amp;&amp;d&amp;&amp;this.endFiller.equals(d)?this.removeFiller(this.endFiller,a):this.endFiller=d}},cleanPasteData:function(a){a&amp;&amp;a.length&amp;&amp;(a=a.replace(this.createFillerRegex(),&quot;&quot;).replace(this.createFillerRegex(!0),&quot;&quot;));return a},isWholeContentSelected:function(a){var b=a.editor.getSelection().getRanges()[0];return!b||b&amp;&amp;b.collapsed?!1:(b=b.clone(),b.enlarge(CKEDITOR.ENLARGE_ELEMENT),!!(b&amp;&amp;a&amp;&amp;b.startContainer&amp;&amp;b.endContainer&amp;&amp;0===b.startOffset&amp;&amp;
b.endOffset===a.getChildCount()&amp;&amp;b.startContainer.equals(a)&amp;&amp;b.endContainer.equals(a)))},hasFiller:function(a){return 0&lt;a.find(this.fillerTagName+&quot;[&quot;+this.fillerAttribute+&quot;]&quot;).count()},createFiller:function(a){var b=new CKEDITOR.dom.element(this.fillerTagName);b.setHtml(this.fillerContent);b.setAttribute(this.fillerAttribute,a?&quot;end&quot;:&quot;start&quot;);b.setAttribute(&quot;data-cke-temp&quot;,1);b.setStyles({display:&quot;block&quot;,width:0,height:0,padding:0,border:0,margin:0,position:&quot;absolute&quot;,top:0,left:&quot;-9999px&quot;,opacity:0,
overflow:&quot;hidden&quot;});return b},removeFiller:function(a,b){if(a){var d=b.editor,c=b.editor.getSelection().getRanges()[0].startPath(),f=d.createRange(),g,e;c.contains(a)&amp;&amp;(g=a.getHtml(),e=!0);c=&quot;start&quot;==a.getAttribute(this.fillerAttribute);a.remove();g&amp;&amp;0&lt;g.length&amp;&amp;g!=this.fillerContent?(b.insertHtmlIntoRange(g,d.getSelection().getRanges()[0]),f.setStartAt(b.getChild(b.getChildCount()-1),CKEDITOR.POSITION_BEFORE_END),d.getSelection().selectRanges([f])):e&amp;&amp;(c?f.setStartAt(b.getFirst().getNext(),CKEDITOR.POSITION_AFTER_START):
f.setEndAt(b.getLast().getPrevious(),CKEDITOR.POSITION_BEFORE_END),b.editor.getSelection().selectRanges([f]))}},createFillerRegex:function(a){var b=this.createFiller(a).getOuterHtml().replace(/style=&quot;[^&quot;]*&quot;/gi,&#039;style\x3d&quot;[^&quot;]*&quot;&#039;).replace(/&gt;[^&lt;]*&lt;/gi,&quot;\x3e[^\x3c]*\x3c&quot;);return new RegExp((a?&quot;&quot;:&quot;^&quot;)+b+(a?&quot;$&quot;:&quot;&quot;))},addSelectAllIntegration:function(a){var b=this;a.editable().attachListener(a,&quot;beforeCommandExec&quot;,function(d){var c=a.editable();&quot;selectAll&quot;==d.data.name&amp;&amp;c&amp;&amp;b.addFillers(c)},null,null,9999)}}})();(function(){function q(a){this.editor=a;this.registered={};this.instances={};this.selected=[];this.widgetHoldingFocusedEditable=this.focused=null;this._={nextId:0,upcasts:[],upcastCallbacks:[],filters:{}};Q(this);R(this);this.on(&quot;checkWidgets&quot;,S);this.editor.on(&quot;contentDomInvalidated&quot;,this.checkWidgets,this);T(this);U(this);V(this);W(this);X(this)}function g(a,b,c,d,e){var f=a.editor;CKEDITOR.tools.extend(this,d,{editor:f,id:b,inline:&quot;span&quot;==c.getParent().getName(),element:c,data:CKEDITOR.tools.extend({},
&quot;function&quot;==typeof d.defaults?d.defaults():d.defaults),dataReady:!1,inited:!1,ready:!1,edit:g.prototype.edit,focusedEditable:null,definition:d,repository:a,draggable:!1!==d.draggable,_:{downcastFn:d.downcast&amp;&amp;&quot;string&quot;==typeof d.downcast?d.downcasts[d.downcast]:d.downcast}},!0);a.fire(&quot;instanceCreated&quot;,this);Y(this,d);this.init&amp;&amp;this.init();this.inited=!0;(a=this.element.data(&quot;cke-widget-data&quot;))&amp;&amp;this.setData(JSON.parse(decodeURIComponent(a)));e&amp;&amp;this.setData(e);this.data.classes||this.setData(&quot;classes&quot;,
this.getClasses());this.dataReady=!0;v(this);this.fire(&quot;data&quot;,this.data);this.isInited()&amp;&amp;f.editable().contains(this.wrapper)&amp;&amp;(this.ready=!0,this.fire(&quot;ready&quot;))}function t(a,b,c){CKEDITOR.dom.element.call(this,b.$);this.editor=a;this._={};b=this.filter=c.filter;CKEDITOR.dtd[this.getName()].p?(this.enterMode=b?b.getAllowedEnterMode(a.enterMode):a.enterMode,this.shiftEnterMode=b?b.getAllowedEnterMode(a.shiftEnterMode,!0):a.shiftEnterMode):this.enterMode=this.shiftEnterMode=CKEDITOR.ENTER_BR}function Z(a,
b){a.addCommand(b.name,{exec:function(a,d){function e(){a.widgets.finalizeCreation(k)}var f=a.widgets.focused;if(f&amp;&amp;f.name==b.name)f.edit();else if(b.insert)b.insert({editor:a,commandData:d});else if(b.template){var f=&quot;function&quot;==typeof b.defaults?b.defaults():b.defaults,f=CKEDITOR.dom.element.createFromHtml(b.template.output(f),a.document),h,l=a.widgets.wrapElement(f,b.name),k=new CKEDITOR.dom.documentFragment(l.getDocument());k.append(l);(h=a.widgets.initOn(f,b,d&amp;&amp;d.startupData))?(f=h.once(&quot;edit&quot;,
function(b){if(b.data.dialog)h.once(&quot;dialog&quot;,function(b){b=b.data;var d,f;d=b.once(&quot;ok&quot;,e,null,null,20);f=b.once(&quot;cancel&quot;,function(b){b.data&amp;&amp;!1===b.data.hide||a.widgets.destroy(h,!0)});b.once(&quot;hide&quot;,function(){d.removeListener();f.removeListener()})});else e()},null,null,999),h.edit(),f.removeListener()):e()}},allowedContent:b.allowedContent,requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function aa(a,b){function c(a,c){var e=b.upcast.split(&quot;,&quot;),
d,f;for(f=0;f&lt;e.length;f++)if(d=e[f],d===a.name)return b.upcasts[d].call(this,a,c);return!1}function d(b,c,e){var d=CKEDITOR.tools.getIndex(a._.upcasts,function(a){return a[2]&gt;e});0&gt;d&amp;&amp;(d=a._.upcasts.length);a._.upcasts.splice(d,0,[CKEDITOR.tools.bind(b,c),c.name,e])}var e=b.upcast,f=b.upcastPriority||10;e&amp;&amp;(&quot;string&quot;==typeof e?d(c,b,f):d(e,b,f))}function x(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire(&quot;widgetBlurred&quot;,{widget:b});b.setFocused(!1);!c&amp;&amp;b.editor.resetDirty()}}
function S(a){a=a.data;if(&quot;wysiwyg&quot;==this.editor.mode){var b=this.editor.editable(),c=this.instances,d,e,f,h;if(b){for(d in c)c[d].isReady()&amp;&amp;!b.contains(c[d].wrapper)&amp;&amp;this.destroy(c[d],!0);if(a&amp;&amp;a.initOnlyNew)c=this.initOnAll();else{var l=b.find(&quot;.cke_widget_wrapper&quot;),c=[];d=0;for(e=l.count();d&lt;e;d++){f=l.getItem(d);if(h=!this.getByElement(f,!0)){a:{h=ba;for(var k=f;k=k.getParent();)if(h(k)){h=!0;break a}h=!1}h=!h}h&amp;&amp;b.contains(f)&amp;&amp;(f.addClass(&quot;cke_widget_new&quot;),c.push(this.initOn(f.getFirst(g.isDomWidgetElement))))}}a&amp;&amp;
a.focusInited&amp;&amp;1==c.length&amp;&amp;c[0].focus()}}}function y(a){if(&quot;undefined&quot;!=typeof a.attributes&amp;&amp;a.attributes[&quot;data-widget&quot;]){var b=z(a),c=A(a),d=!1;b&amp;&amp;b.value&amp;&amp;b.value.match(/^\s/g)&amp;&amp;(b.parent.attributes[&quot;data-cke-white-space-first&quot;]=1,b.value=b.value.replace(/^\s/g,&quot;\x26nbsp;&quot;),d=!0);c&amp;&amp;c.value&amp;&amp;c.value.match(/\s$/g)&amp;&amp;(c.parent.attributes[&quot;data-cke-white-space-last&quot;]=1,c.value=c.value.replace(/\s$/g,&quot;\x26nbsp;&quot;),d=!0);d&amp;&amp;(a.attributes[&quot;data-cke-widget-white-space&quot;]=1)}}function z(a){return a.find(function(a){return 3===
a.type},!0).shift()}function A(a){return a.find(function(a){return 3===a.type},!0).pop()}function B(a,b,c){if(!c.allowedContent&amp;&amp;!c.disallowedContent)return null;var d=this._.filters[a];d||(this._.filters[a]=d={});a=d[b];a||(a=c.allowedContent?new CKEDITOR.filter(c.allowedContent):this.editor.filter.clone(),d[b]=a,c.disallowedContent&amp;&amp;a.disallow(c.disallowedContent));return a}function ca(a){var b=[],c=a._.upcasts,d=a._.upcastCallbacks;return{toBeWrapped:b,iterator:function(a){var f,h,l,k,n;if(&quot;data-cke-widget-wrapper&quot;in
a.attributes)return(a=a.getFirst(g.isParserWidgetElement))&amp;&amp;b.push([a]),!1;if(&quot;data-widget&quot;in a.attributes)return b.push([a]),!1;if(n=c.length){if(a.attributes[&quot;data-cke-widget-upcasted&quot;])return!1;k=0;for(f=d.length;k&lt;f;++k)if(!1===d[k](a))return;for(k=0;k&lt;n;++k)if(f=c[k],l={},h=f[0](a,l))return h instanceof CKEDITOR.htmlParser.element&amp;&amp;(a=h),a.attributes[&quot;data-cke-widget-data&quot;]=encodeURIComponent(JSON.stringify(l)),a.attributes[&quot;data-cke-widget-upcasted&quot;]=1,b.push([a,f[1]]),!1}}}}function C(a,b){return{tabindex:-1,
contenteditable:&quot;false&quot;,&quot;data-cke-widget-wrapper&quot;:1,&quot;data-cke-filter&quot;:&quot;off&quot;,&quot;class&quot;:&quot;cke_widget_wrapper cke_widget_new cke_widget_&quot;+(a?&quot;inline&quot;:&quot;block&quot;)+(b?&quot; cke_widget_&quot;+b:&quot;&quot;)}}function D(a,b,c){if(a.type==CKEDITOR.NODE_ELEMENT){var d=CKEDITOR.dtd[a.name];if(d&amp;&amp;!d[c.name]){var d=a.split(b),e=a.parent;b=d.getIndex();a.children.length||(--b,a.remove());d.children.length||d.remove();return D(e,b,c)}}a.add(c,b)}function E(a,b){return&quot;boolean&quot;==typeof a.inline?a.inline:!!CKEDITOR.dtd.$inline[b]}function ba(a){return a.hasAttribute(&quot;data-cke-temp&quot;)}
function p(a,b,c,d){var e=a.editor;e.fire(&quot;lockSnapshot&quot;);c?(d=c.data(&quot;cke-widget-editable&quot;),d=b.editables[d],a.widgetHoldingFocusedEditable=b,b.focusedEditable=d,c.addClass(&quot;cke_widget_editable_focused&quot;),d.filter&amp;&amp;e.setActiveFilter(d.filter),e.setActiveEnterMode(d.enterMode,d.shiftEnterMode)):(d||b.focusedEditable.removeClass(&quot;cke_widget_editable_focused&quot;),b.focusedEditable=null,a.widgetHoldingFocusedEditable=null,e.setActiveFilter(null),e.setActiveEnterMode(null,null));e.fire(&quot;unlockSnapshot&quot;)}
function da(a){a.contextMenu&amp;&amp;a.contextMenu.addListener(function(b){if(b=a.widgets.getByElement(b,!0))return b.fire(&quot;contextMenu&quot;,{})})}function ea(a,b){return CKEDITOR.tools.trim(b)}function W(a){var b=a.editor,c=CKEDITOR.plugins.lineutils;b.on(&quot;dragstart&quot;,function(c){var e=c.data.target;g.isDomDragHandler(e)&amp;&amp;(e=a.getByElement(e),c.data.dataTransfer.setData(&quot;cke/widget-id&quot;,e.id),b.focus(),e.focus())});b.on(&quot;drop&quot;,function(c){var e=c.data.dataTransfer,f=e.getData(&quot;cke/widget-id&quot;),h=e.getTransferType(b),
e=b.createRange();if(&quot;&quot;!==f&amp;&amp;h===CKEDITOR.DATA_TRANSFER_CROSS_EDITORS)c.cancel();else if(h==CKEDITOR.DATA_TRANSFER_INTERNAL)if(&quot;&quot;===f&amp;&amp;0&lt;b.widgets.selected.length)c.data.dataTransfer.setData(&quot;text/html&quot;,F(b));else if(f=a.instances[f])e.setStartBefore(f.wrapper),e.setEndAfter(f.wrapper),c.data.dragRange=e,delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount,delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount,c.data.dataTransfer.setData(&quot;text/html&quot;,f.getClipboardHtml()),b.widgets.destroy(f,
!0)});b.on(&quot;contentDom&quot;,function(){var d=b.editable();CKEDITOR.tools.extend(a,{finder:new c.finder(b,{lookups:{&quot;default&quot;:function(b){if(!b.is(CKEDITOR.dtd.$listItem)&amp;&amp;b.is(CKEDITOR.dtd.$block)&amp;&amp;!g.isDomNestedEditable(b)&amp;&amp;!a._.draggedWidget.wrapper.contains(b)){var c=g.getNestedEditable(d,b);if(c){b=a._.draggedWidget;if(a.getByElement(c)==b)return;c=CKEDITOR.filter.instances[c.data(&quot;cke-filter&quot;)];b=b.requiredContent;if(c&amp;&amp;b&amp;&amp;!c.check(b))return}return CKEDITOR.LINEUTILS_BEFORE|CKEDITOR.LINEUTILS_AFTER}}}}),
locator:new c.locator(b),liner:new c.liner(b,{lineStyle:{cursor:&quot;move !important&quot;,&quot;border-top-color&quot;:&quot;#666&quot;},tipLeftStyle:{&quot;border-left-color&quot;:&quot;#666&quot;},tipRightStyle:{&quot;border-right-color&quot;:&quot;#666&quot;}})},!0)})}function U(a){var b=a.editor;b.on(&quot;contentDom&quot;,function(){var c=b.editable(),d=c.isInline()?c:b.document,e,f;c.attachListener(d,&quot;mousedown&quot;,function(c){var d=c.data.getTarget();e=d instanceof CKEDITOR.dom.element?a.getByElement(d):null;f=0;e&amp;&amp;(e.inline&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.hasAttribute(&quot;data-cke-widget-drag-handler&quot;)?
(f=1,a.focused!=e&amp;&amp;b.getSelection().removeAllRanges()):g.getNestedEditable(e.wrapper,d)?e=null:(c.data.preventDefault(),CKEDITOR.env.ie||e.focus()))});c.attachListener(d,&quot;mouseup&quot;,function(){f&amp;&amp;e&amp;&amp;e.wrapper&amp;&amp;(f=0,e.focus())});CKEDITOR.env.ie&amp;&amp;c.attachListener(d,&quot;mouseup&quot;,function(){setTimeout(function(){e&amp;&amp;e.wrapper&amp;&amp;c.contains(e.wrapper)&amp;&amp;(e.focus(),e=null)})})});b.on(&quot;doubleclick&quot;,function(b){var d=a.getByElement(b.data.element);if(d&amp;&amp;!g.getNestedEditable(d.wrapper,b.data.element))return d.fire(&quot;doubleclick&quot;,
{element:b.data.element})},null,null,1)}function V(a){a.editor.on(&quot;key&quot;,function(b){var c=a.focused,d=a.widgetHoldingFocusedEditable,e;c?e=c.fire(&quot;key&quot;,{keyCode:b.data.keyCode}):d&amp;&amp;(c=b.data.keyCode,b=d.focusedEditable,c==CKEDITOR.CTRL+65?(c=b.getBogus(),d=d.editor.createRange(),d.selectNodeContents(b),c&amp;&amp;d.setEndAt(c,CKEDITOR.POSITION_BEFORE_START),d.select(),e=!1):8==c||46==c?(e=d.editor.getSelection().getRanges(),d=e[0],e=!(1==e.length&amp;&amp;d.collapsed&amp;&amp;d.checkBoundaryOfElement(b,CKEDITOR[8==c?&quot;START&quot;:
&quot;END&quot;]))):e=void 0);return e},null,null,1)}function X(a){function b(b){1&gt;a.selected.length||G(c,&quot;cut&quot;===b.name)}var c=a.editor;c.on(&quot;contentDom&quot;,function(){var a=c.editable();a.attachListener(a,&quot;copy&quot;,b);a.attachListener(a,&quot;cut&quot;,b)})}function T(a){function b(){var a=e.getSelection();if(a&amp;&amp;(a=a.getRanges()[0])&amp;&amp;!a.collapsed){var b=c(a.startContainer),d=c(a.endContainer);!b&amp;&amp;d?(a.setEndBefore(d.wrapper),a.select()):b&amp;&amp;!d&amp;&amp;(a.setStartAfter(b.wrapper),a.select())}}function c(a){return a?a.type==CKEDITOR.NODE_TEXT?
c(a.getParent()):e.widgets.getByElement(a):null}function d(){a.fire(&quot;checkSelection&quot;)}var e=a.editor;e.on(&quot;selectionCheck&quot;,d);e.on(&quot;contentDom&quot;,function(){e.editable().attachListener(e,&quot;key&quot;,function(){setTimeout(d,10)})});if(!CKEDITOR.env.ie)a.on(&quot;checkSelection&quot;,b);a.on(&quot;checkSelection&quot;,a.checkSelection,a);e.on(&quot;selectionChange&quot;,function(b){var c=(b=g.getNestedEditable(e.editable(),b.data.selection.getStartElement()))&amp;&amp;a.getByElement(b),d=a.widgetHoldingFocusedEditable;d?d===c&amp;&amp;d.focusedEditable.equals(b)||
(p(a,d,null),c&amp;&amp;b&amp;&amp;p(a,c,b)):c&amp;&amp;b&amp;&amp;p(a,c,b)});e.on(&quot;dataReady&quot;,function(){H(a).commit()});e.on(&quot;blur&quot;,function(){var b;(b=a.focused)&amp;&amp;x(a,b);(b=a.widgetHoldingFocusedEditable)&amp;&amp;p(a,b,null)})}function R(a){var b=a.editor,c={};b.on(&quot;toDataFormat&quot;,function(b){var e=CKEDITOR.tools.getNextNumber(),f=[];b.data.downcastingSessionId=e;c[e]=f;b.data.dataValue.forEach(function(b){var c=b.attributes,e;if(&quot;data-cke-widget-white-space&quot;in c){e=z(b);var d=A(b);e.parent.attributes[&quot;data-cke-white-space-first&quot;]&amp;&amp;
(e.value=e.value.replace(/^&amp;nbsp;/g,&quot; &quot;));d.parent.attributes[&quot;data-cke-white-space-last&quot;]&amp;&amp;(d.value=d.value.replace(/&amp;nbsp;$/g,&quot; &quot;))}if(&quot;data-cke-widget-id&quot;in c){if(c=a.instances[c[&quot;data-cke-widget-id&quot;]])e=b.getFirst(g.isParserWidgetElement),f.push({wrapper:b,element:e,widget:c,editables:{}}),&quot;1&quot;!=e.attributes[&quot;data-cke-widget-keep-attr&quot;]&amp;&amp;delete e.attributes[&quot;data-widget&quot;]}else if(&quot;data-cke-widget-editable&quot;in c)return 0&lt;f.length&amp;&amp;(f[f.length-1].editables[c[&quot;data-cke-widget-editable&quot;]]=b),!1},CKEDITOR.NODE_ELEMENT,
!0)},null,null,8);b.on(&quot;toDataFormat&quot;,function(a){if(a.data.downcastingSessionId)for(var b=c[a.data.downcastingSessionId],f,h,l,k,g,m;f=b.shift();){h=f.widget;l=f.element;k=h._.downcastFn&amp;&amp;h._.downcastFn.call(h,l);a.data.widgetsCopy&amp;&amp;h.getClipboardHtml&amp;&amp;(k=CKEDITOR.htmlParser.fragment.fromHtml(h.getClipboardHtml()),k=k.children[0]);for(m in f.editables)g=f.editables[m],delete g.attributes.contenteditable,g.setHtml(h.editables[m].getData());k||(k=l);f.wrapper.replaceWith(k)}},null,null,13);b.on(&quot;contentDomUnload&quot;,
function(){a.destroyAll(!0)})}function Q(a){var b=a.editor,c,d;b.on(&quot;toHtml&quot;,function(b){var d=ca(a),h;for(b.data.dataValue.forEach(d.iterator,CKEDITOR.NODE_ELEMENT,!0);h=d.toBeWrapped.pop();){var l=h[0],k=l.parent;k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.attributes[&quot;data-cke-widget-wrapper&quot;]&amp;&amp;k.replaceWith(l);a.wrapElement(h[0],h[1])}c=b.data.protectedWhitespaces?3==b.data.dataValue.children.length&amp;&amp;g.isParserWidgetWrapper(b.data.dataValue.children[1]):1==b.data.dataValue.children.length&amp;&amp;g.isParserWidgetWrapper(b.data.dataValue.children[0])},
null,null,8);b.on(&quot;dataReady&quot;,function(){if(d)for(var c=b.editable().find(&quot;.cke_widget_wrapper&quot;),f,h,l=0,k=c.count();l&lt;k;++l)f=c.getItem(l),h=f.getFirst(g.isDomWidgetElement),h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.data(&quot;widget&quot;)?(h.replace(f),a.wrapElement(h)):f.remove();d=0;a.destroyAll(!0);a.initOnAll()});b.on(&quot;loadSnapshot&quot;,function(b){/data-cke-widget/.test(b.data)&amp;&amp;(d=1);a.destroyAll(!0)},null,null,9);b.on(&quot;paste&quot;,function(a){a=a.data;a.dataValue=a.dataValue.replace(fa,ea);a.range&amp;&amp;(a=g.getNestedEditable(b.editable(),
a.range.startContainer))&amp;&amp;(a=CKEDITOR.filter.instances[a.data(&quot;cke-filter&quot;)])&amp;&amp;b.setActiveFilter(a)});b.on(&quot;afterInsertHtml&quot;,function(d){d.data.intoRange?a.checkWidgets({initOnlyNew:!0}):(b.fire(&quot;lockSnapshot&quot;),a.checkWidgets({initOnlyNew:!0,focusInited:c}),b.fire(&quot;unlockSnapshot&quot;))})}function H(a){var b=a.selected,c=[],d=b.slice(0),e=null;return{select:function(a){0&gt;CKEDITOR.tools.indexOf(b,a)&amp;&amp;c.push(a);a=CKEDITOR.tools.indexOf(d,a);0&lt;=a&amp;&amp;d.splice(a,1);return this},focus:function(a){e=a;return this},
commit:function(){var f=a.focused!==e,h,l;a.editor.fire(&quot;lockSnapshot&quot;);for(f&amp;&amp;(h=a.focused)&amp;&amp;x(a,h);h=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,h),1),h.isInited()&amp;&amp;(l=h.editor.checkDirty(),h.setSelected(!1),!l&amp;&amp;h.editor.resetDirty());f&amp;&amp;e&amp;&amp;(l=a.editor.checkDirty(),a.focused=e,a.fire(&quot;widgetFocused&quot;,{widget:e}),e.setFocused(!0),!l&amp;&amp;a.editor.resetDirty());for(;h=c.pop();)b.push(h),h.setSelected(!0);a.editor.fire(&quot;unlockSnapshot&quot;)}}}function ga(a){a&amp;&amp;a.addFilterRule(function(a){return a.replace(/\s*cke_widget_selected/g,
&quot;&quot;).replace(/\s*cke_widget_focused/g,&quot;&quot;).replace(/&lt;span[^&gt;]*cke_widget_drag_handler_container[^&gt;]*.*?&lt;\/span&gt;/gmi,&quot;&quot;)})}function I(a,b,c){var d=0;b=J(b);var e=a.data.classes||{},f;if(b){for(e=CKEDITOR.tools.clone(e);f=b.pop();)c?e[f]||(d=e[f]=1):e[f]&amp;&amp;(delete e[f],d=1);d&amp;&amp;a.setData(&quot;classes&quot;,e)}}function K(a){a.cancel()}function G(a,b){var c=a.widgets.focused,d,e,f;u.hasCopyBin(a)||(e=new u(a,{beforeDestroy:function(){!b&amp;&amp;c&amp;&amp;c.focus();f&amp;&amp;a.getSelection().selectBookmarks(f);d&amp;&amp;CKEDITOR.plugins.widgetselection.addFillers(a.editable())},
afterDestroy:function(){b&amp;&amp;!a.readOnly&amp;&amp;(c?a.widgets.del(c):a.extractSelectedHtml(),a.fire(&quot;saveSnapshot&quot;))}}),c||(d=CKEDITOR.env.webkit&amp;&amp;CKEDITOR.plugins.widgetselection.isWholeContentSelected(a.editable()),f=a.getSelection().createBookmarks(!0)),e.handle(F(a)))}function J(a){return(a=(a=a.getDefinition().attributes)&amp;&amp;a[&quot;class&quot;])?a.split(/\s+/):null}function L(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&amp;&amp;b.focusManager.focus(c)}
function M(){CKEDITOR.env.gecko&amp;&amp;this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(),this.editor.selectionChange(1))}function F(a){var b=a.getSelectedHtml(!0);if(a.widgets.focused)return a.widgets.focused.getClipboardHtml();a.once(&quot;toDataFormat&quot;,function(a){a.data.widgetsCopy=!0},null,null,-1);return a.dataProcessor.toDataFormat(b)}function Y(a,b){ha(a);N(a);ia(a);O(a);ja(a);ka(a);la(a);if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version)a.wrapper.on(&quot;dragstart&quot;,function(b){var d=
b.data.getTarget();g.getNestedEditable(a,d)||a.inline&amp;&amp;g.isDomDragHandler(d)||b.data.preventDefault()});a.wrapper.removeClass(&quot;cke_widget_new&quot;);a.element.addClass(&quot;cke_widget_element&quot;);a.on(&quot;key&quot;,function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){G(a.editor,b==CKEDITOR.CTRL+88);return}if(b in P||CKEDITOR.CTRL&amp;b||CKEDITOR.ALT&amp;b)return}return!1},null,null,999);a.on(&quot;doubleclick&quot;,function(b){a.edit()&amp;&amp;b.cancel()});if(b.data)a.on(&quot;data&quot;,b.data);if(b.edit)a.on(&quot;edit&quot;,
b.edit)}function ha(a){(a.wrapper=a.element.getParent()).setAttribute(&quot;data-cke-widget-id&quot;,a.id)}function N(a,b){a.partSelectors||(a.partSelectors=a.parts);if(a.parts){var c={},d,e;for(e in a.partSelectors)b||!a.parts[e]||&quot;string&quot;==typeof a.parts[e]?(d=a.wrapper.findOne(a.partSelectors[e]),c[e]=d):c[e]=a.parts[e];a.parts=c}}function ia(a){var b=a.editables,c,d;a.editables={};if(a.editables)for(c in b)d=b[c],a.initEditable(c,&quot;string&quot;==typeof d?{selector:d}:d)}function O(a){if(!0===a.mask)ma(a);else if(a.mask){var b=
new CKEDITOR.tools.buffers.throttle(250,na,a),c=CKEDITOR.env.gecko?300:0,d,e;a.on(&quot;focus&quot;,function(){b.input();d=a.editor.on(&quot;change&quot;,b.input);e=a.on(&quot;blur&quot;,function(){d.removeListener();e.removeListener()})});a.editor.on(&quot;instanceReady&quot;,function(){setTimeout(function(){b.input()},c)});a.editor.on(&quot;mode&quot;,function(){setTimeout(function(){b.input()},c)});if(CKEDITOR.env.gecko){var f=a.element.find(&quot;img&quot;);CKEDITOR.tools.array.forEach(f.toArray(),function(a){a.on(&quot;load&quot;,function(){b.input()})})}for(var h in a.editables)a.editables[h].on(&quot;focus&quot;,
function(){a.editor.on(&quot;change&quot;,b.input);e&amp;&amp;e.removeListener()}),a.editables[h].on(&quot;blur&quot;,function(){a.editor.removeListener(&quot;change&quot;,b.input)});b.input()}}function ma(a){var b=a.wrapper.findOne(&quot;.cke_widget_mask&quot;);b||(b=new CKEDITOR.dom.element(&quot;img&quot;,a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,&quot;class&quot;:&quot;cke_reset cke_widget_mask&quot;}),a.wrapper.append(b));a.mask=b}function na(){if(this.wrapper){this.maskPart=this.maskPart||this.mask;var a=this.parts[this.maskPart],b;if(a&amp;&amp;
&quot;string&quot;!=typeof a){b=this.wrapper.findOne(&quot;.cke_widget_partial_mask&quot;);b||(b=new CKEDITOR.dom.element(&quot;img&quot;,this.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,&quot;class&quot;:&quot;cke_reset cke_widget_partial_mask&quot;}),this.wrapper.append(b));this.mask=b;var c=b.$,d=a.$,e=!(c.offsetTop==d.offsetTop&amp;&amp;c.offsetLeft==d.offsetLeft);if(c.offsetWidth!=d.offsetWidth||c.offsetHeight!=d.offsetHeight||e)c=a.getParent(),d=CKEDITOR.plugins.widget.isDomWidget(c),b.setStyles({top:a.$.offsetTop+(d?
0:c.$.offsetTop)+&quot;px&quot;,left:a.$.offsetLeft+(d?0:c.$.offsetLeft)+&quot;px&quot;,width:a.$.offsetWidth+&quot;px&quot;,height:a.$.offsetHeight+&quot;px&quot;})}}}function ja(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(g.isDomDragHandlerContainer),d;c?d=c.findOne(&quot;img&quot;):(c=new CKEDITOR.dom.element(&quot;span&quot;,b.document),c.setAttributes({&quot;class&quot;:&quot;cke_reset cke_widget_drag_handler_container&quot;,style:&quot;background:rgba(220,220,220,0.5);background-image:url(&quot;+b.plugins.widget.path+&quot;images/handle.png);display:none;&quot;}),d=new CKEDITOR.dom.element(&quot;img&quot;,
b.document),d.setAttributes({&quot;class&quot;:&quot;cke_reset cke_widget_drag_handler&quot;,&quot;data-cke-widget-drag-handler&quot;:&quot;1&quot;,src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:&quot;presentation&quot;}),a.inline&amp;&amp;d.setAttribute(&quot;draggable&quot;,&quot;true&quot;),c.append(d),a.wrapper.append(c));a.wrapper.on(&quot;dragover&quot;,function(a){a.data.preventDefault()});a.wrapper.on(&quot;mouseenter&quot;,a.updateDragHandlerPosition,a);setTimeout(function(){a.on(&quot;data&quot;,a.updateDragHandlerPosition,a)},50);if(!a.inline&amp;&amp;(d.on(&quot;mousedown&quot;,
oa,a),CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version))d.on(&quot;dragstart&quot;,function(a){a.data.preventDefault(!0)});a.dragHandlerContainer=c}}function oa(a){function b(){var b;for(r.reset();b=g.pop();)b.removeListener();var c=k;b=a.sender;var d=this.repository.finder,e=this.repository.liner,f=this.editor,h=this.editor.editable();CKEDITOR.tools.isEmpty(e.visible)||(c=d.getRange(c[0]),this.focus(),f.fire(&quot;drop&quot;,{dropRange:c,target:c.startContainer}));h.removeClass(&quot;cke_widget_dragging&quot;);e.hideVisible();f.fire(&quot;dragend&quot;,
{target:b})}if(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT){var c=this.repository.finder,d=this.repository.locator,e=this.repository.liner,f=this.editor,h=f.editable(),g=[],k=[],n,m;this.repository._.draggedWidget=this;var w=c.greedySearch(),r=CKEDITOR.tools.eventsBuffer(50,function(){n=d.locate(w);k=d.sort(m,1);k.length&amp;&amp;(e.prepare(w,n),e.placeLine(k[0]),e.cleanup())});h.addClass(&quot;cke_widget_dragging&quot;);g.push(h.on(&quot;mousemove&quot;,function(a){m=a.data.$.clientY;r.input()}));f.fire(&quot;dragstart&quot;,
{target:a.sender});g.push(f.document.once(&quot;mouseup&quot;,b,this));h.isInline()||g.push(CKEDITOR.document.once(&quot;mouseup&quot;,b,this))}}function ka(a){var b=null;a.on(&quot;data&quot;,function(){var a=this.data.classes,d;if(b!=a){for(d in b)a&amp;&amp;a[d]||this.removeClass(d);for(d in a)this.addClass(d);b=a}})}function la(a){a.on(&quot;data&quot;,function(){if(a.wrapper){var b=this.getLabel?this.getLabel():this.editor.lang.widget.label.replace(/%1/,this.pathName||this.element.getName());a.wrapper.setAttribute(&quot;role&quot;,&quot;region&quot;);a.wrapper.setAttribute(&quot;aria-label&quot;,
b)}},null,null,9999)}function v(a){a.element.data(&quot;cke-widget-data&quot;,encodeURIComponent(JSON.stringify(a.data)))}function pa(){function a(){}function b(a,b,c){return c&amp;&amp;this.checkElement(a)?(a=c.widgets.getByElement(a,!0))&amp;&amp;a.checkStyleActive(this):!1}function c(a){function b(a,c,d){for(var e=a.length,f=0;f&lt;e;){if(c.call(d,a[f],f,a))return a[f];f++}}function c(a){function b(a,c){var d=CKEDITOR.tools.object.keys(a),e=CKEDITOR.tools.object.keys(c);if(d.length!==e.length)return!1;for(var f in a)if((&quot;object&quot;!==
typeof a[f]||&quot;object&quot;!==typeof c[f]||!b(a[f],c[f]))&amp;&amp;a[f]!==c[f])return!1;return!0}return function(c){return b(a.getDefinition(),c.getDefinition())}}var g=a.widget,k;d[g]||(d[g]={});for(var n=0,m=a.group.length;n&lt;m;n++)k=a.group[n],d[g][k]||(d[g][k]=[]),k=d[g][k],b(k,c(a))||k.push(a)}var d={};CKEDITOR.style.addCustomHandler({type:&quot;widget&quot;,setup:function(a){this.widget=a.widget;(this.group=&quot;string&quot;==typeof a.group?[a.group]:a.group)&amp;&amp;c(this)},apply:function(a){var b;a instanceof CKEDITOR.editor&amp;&amp;this.checkApplicable(a.elementPath(),
a)&amp;&amp;(b=a.widgets.focused,this.group&amp;&amp;this.removeStylesFromSameGroup(a),b.applyStyle(this))},remove:function(a){a instanceof CKEDITOR.editor&amp;&amp;this.checkApplicable(a.elementPath(),a)&amp;&amp;a.widgets.focused.removeStyle(this)},removeStylesFromSameGroup:function(a){var b=!1,c,g;if(!(a instanceof CKEDITOR.editor))return!1;g=a.elementPath();if(this.checkApplicable(g,a))for(var k=0,n=this.group.length;k&lt;n;k++){c=d[this.widget][this.group[k]];for(var m=0;m&lt;c.length;m++)c[m]!==this&amp;&amp;c[m].checkActive(g,a)&amp;&amp;(a.widgets.focused.removeStyle(c[m]),
b=!0)}return b},checkActive:function(a,b){return this.checkElementMatch(a.lastElement,0,b)},checkApplicable:function(a,b){return b instanceof CKEDITOR.editor?this.checkElement(a.lastElement):!1},checkElementMatch:b,checkElementRemovable:b,checkElement:function(a){return g.isDomWidgetWrapper(a)?(a=a.getFirst(g.isDomWidgetElement))&amp;&amp;a.data(&quot;widget&quot;)==this.widget:!1},buildPreview:function(a){return a||this._.definition.name},toAllowedContentRules:function(a){if(!a)return null;a=a.widgets.registered[this.widget];
var b,c={};if(!a)return null;if(a.styleableElements){b=this.getClassesArray();if(!b)return null;c[a.styleableElements]={classes:b,propertiesOnly:!0};return c}return a.styleToAllowedContentRules?a.styleToAllowedContentRules(this):null},getClassesArray:function(){var a=this._.definition.attributes&amp;&amp;this._.definition.attributes[&quot;class&quot;];return a?CKEDITOR.tools.trim(a).split(/\s+/):null},applyToRange:a,removeFromRange:a,applyToObject:a})}CKEDITOR.plugins.add(&quot;widget&quot;,{requires:&quot;lineutils,clipboard,widgetselection&quot;,
onLoad:function(){void 0!==CKEDITOR.document.$.querySelectorAll&amp;&amp;(CKEDITOR.addCss(&#039;.cke_widget_wrapper{position:relative;outline:none}.cke_widget_inline{display:inline-block}.cke_widget_wrapper:hover\x3e.cke_widget_element{outline:2px solid #ffd25c;cursor:default}.cke_widget_wrapper:hover .cke_widget_editable{outline:2px solid #ffd25c}.cke_widget_wrapper.cke_widget_focused\x3e.cke_widget_element,.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused{outline:2px solid #47a4f5}.cke_widget_editable{cursor:text}.cke_widget_drag_handler_container{position:absolute;width:15px;height:0;display:block;opacity:0.75;transition:height 0s 0.2s;line-height:0}.cke_widget_wrapper:hover\x3e.cke_widget_drag_handler_container{height:15px;transition:none}.cke_widget_drag_handler_container:hover{opacity:1}.cke_editable[contenteditable\x3d&quot;false&quot;] .cke_widget_drag_handler_container{display:none;}img.cke_widget_drag_handler{cursor:move;width:15px;height:15px;display:inline-block}.cke_widget_mask{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cke_widget_partial_mask{position:absolute;display:block}.cke_editable.cke_widget_dragging, .cke_editable.cke_widget_dragging *{cursor:move !important}&#039;),
pa())},beforeInit:function(a){void 0!==CKEDITOR.document.$.querySelectorAll&amp;&amp;(a.widgets=new q(a))},afterInit:function(a){if(void 0!==CKEDITOR.document.$.querySelectorAll){var b=a.widgets.registered,c,d,e;for(d in b)c=b[d],(e=c.button)&amp;&amp;a.ui.addButton&amp;&amp;a.ui.addButton(CKEDITOR.tools.capitalize(c.name,!0),{label:e,command:c.name,toolbar:&quot;insert,10&quot;});da(a);ga(a.undoManager)}}});q.prototype={MIN_SELECTION_CHECK_INTERVAL:500,add:function(a,b){var c=this.editor;b=CKEDITOR.tools.prototypedCopy(b);b.name=
a;b._=b._||{};c.fire(&quot;widgetDefinition&quot;,b);b.template&amp;&amp;(b.template=new CKEDITOR.template(b.template));Z(c,b);aa(this,b);this.registered[a]=b;if(b.dialog&amp;&amp;c.plugins.dialog)var d=CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){a=a.data.definition;var f=a.dialog;a.getMode||f.getName()!==b.dialog||(a.getMode=function(){var a=f.getModel(c);return a&amp;&amp;a instanceof CKEDITOR.plugins.widget&amp;&amp;a.ready?CKEDITOR.dialog.EDITING_MODE:CKEDITOR.dialog.CREATION_MODE});d.removeListener()});return b},addUpcastCallback:function(a){this._.upcastCallbacks.push(a)},
checkSelection:function(){if(this.editor.getSelection()){var a=this.editor.getSelection(),b=a.getSelectedElement(),c=H(this),d;if(b&amp;&amp;(d=this.getByElement(b,!0)))return c.focus(d).select(d).commit();a=a.getRanges()[0];if(!a||a.collapsed)return c.commit();a=new CKEDITOR.dom.walker(a);for(a.evaluator=g.isDomWidgetWrapper;b=a.next();)c.select(this.getByElement(b));c.commit()}},checkWidgets:function(a){this.fire(&quot;checkWidgets&quot;,CKEDITOR.tools.copy(a||{}))},del:function(a){if(this.focused===a){var b=a.editor,
c=b.createRange(),d;(d=c.moveToClosestEditablePosition(a.wrapper,!0))||(d=c.moveToClosestEditablePosition(a.wrapper,!1));d&amp;&amp;b.getSelection().selectRanges([c])}a.wrapper.remove();this.destroy(a,!0)},destroy:function(a,b){this.widgetHoldingFocusedEditable===a&amp;&amp;p(this,a,null,b);a.destroy(b);delete this.instances[a.id];this.fire(&quot;instanceDestroyed&quot;,a)},destroyAll:function(a,b){var c,d,e=this.instances;if(b&amp;&amp;!a){d=b.find(&quot;.cke_widget_wrapper&quot;);for(var e=d.count(),f=0;f&lt;e;++f)(c=this.getByElement(d.getItem(f),
!0))&amp;&amp;this.destroy(c)}else for(d in e)c=e[d],this.destroy(c,a)},finalizeCreation:function(a){(a=a.getFirst())&amp;&amp;g.isDomWidgetWrapper(a)&amp;&amp;(this.editor.insertElement(a),a=this.getByElement(a),a.ready=!0,a.fire(&quot;ready&quot;),a.focus())},getByElement:function(){function a(a){return a.is(b)&amp;&amp;a.data(&quot;cke-widget-id&quot;)}var b={div:1,span:1};return function(b,d){if(!b)return null;var e=a(b);if(!d&amp;&amp;!e){var f=this.editor.editable();do b=b.getParent();while(b&amp;&amp;!b.equals(f)&amp;&amp;!(e=a(b)))}return this.instances[e]||null}}(),
initOn:function(a,b,c){b?&quot;string&quot;==typeof b&amp;&amp;(b=this.registered[b]):b=this.registered[a.data(&quot;widget&quot;)];if(!b)return null;var d=this.wrapElement(a,b.name);return d?d.hasClass(&quot;cke_widget_new&quot;)?(a=new g(this,this._.nextId++,a,b,c),a.isInited()?this.instances[a.id]=a:null):this.getByElement(a):null},initOnAll:function(a){a=(a||this.editor.editable()).find(&quot;.cke_widget_new&quot;);for(var b=[],c,d=a.count();d--;)(c=this.initOn(a.getItem(d).getFirst(g.isDomWidgetElement)))&amp;&amp;b.push(c);return b},onWidget:function(a){var b=
Array.prototype.slice.call(arguments);b.shift();for(var c in this.instances){var d=this.instances[c];d.name==a&amp;&amp;d.on.apply(d,b)}this.on(&quot;instanceCreated&quot;,function(c){c=c.data;c.name==a&amp;&amp;c.on.apply(c,b)})},parseElementClasses:function(a){if(!a)return null;a=CKEDITOR.tools.trim(a).split(/\s+/);for(var b,c={},d=0;b=a.pop();)-1==b.indexOf(&quot;cke_&quot;)&amp;&amp;(c[b]=d=1);return d?c:null},wrapElement:function(a,b){var c=null,d,e;if(a instanceof CKEDITOR.dom.element){b=b||a.data(&quot;widget&quot;);d=this.registered[b];if(!d)return null;
if((c=a.getParent())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.data(&quot;cke-widget-wrapper&quot;))return c;a.hasAttribute(&quot;data-cke-widget-keep-attr&quot;)||a.data(&quot;cke-widget-keep-attr&quot;,a.data(&quot;widget&quot;)?1:0);a.data(&quot;widget&quot;,b);(e=E(d,a.getName()))&amp;&amp;y(a);c=new CKEDITOR.dom.element(e?&quot;span&quot;:&quot;div&quot;,a.getDocument());c.setAttributes(C(e,b));c.data(&quot;cke-display-name&quot;,d.pathName?d.pathName:a.getName());a.getParent(!0)&amp;&amp;c.replace(a);a.appendTo(c)}else if(a instanceof CKEDITOR.htmlParser.element){b=b||a.attributes[&quot;data-widget&quot;];
d=this.registered[b];if(!d)return null;if((c=a.parent)&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.attributes[&quot;data-cke-widget-wrapper&quot;])return c;&quot;data-cke-widget-keep-attr&quot;in a.attributes||(a.attributes[&quot;data-cke-widget-keep-attr&quot;]=a.attributes[&quot;data-widget&quot;]?1:0);b&amp;&amp;(a.attributes[&quot;data-widget&quot;]=b);(e=E(d,a.name))&amp;&amp;y(a);c=new CKEDITOR.htmlParser.element(e?&quot;span&quot;:&quot;div&quot;,C(e,b));c.attributes[&quot;data-cke-display-name&quot;]=d.pathName?d.pathName:a.name;d=a.parent;var f;d&amp;&amp;(f=a.getIndex(),a.remove());c.add(a);d&amp;&amp;D(d,
f,c)}return c},_tests_createEditableFilter:B};CKEDITOR.event.implementOn(q.prototype);g.prototype={addClass:function(a){this.element.addClass(a);this.wrapper.addClass(g.WRAPPER_CLASS_PREFIX+a)},applyStyle:function(a){I(this,a,1)},checkStyleActive:function(a){a=J(a);var b;if(!a)return!1;for(;b=a.pop();)if(!this.hasClass(b))return!1;return!0},destroy:function(a){this.fire(&quot;destroy&quot;);if(this.editables)for(var b in this.editables)this.destroyEditable(b,a);a||(&quot;0&quot;==this.element.data(&quot;cke-widget-keep-attr&quot;)&amp;&amp;
this.element.removeAttribute(&quot;data-widget&quot;),this.element.removeAttributes([&quot;data-cke-widget-data&quot;,&quot;data-cke-widget-keep-attr&quot;]),this.element.removeClass(&quot;cke_widget_element&quot;),this.element.replace(this.wrapper));this.wrapper=null},destroyEditable:function(a,b){var c=this.editables[a],d=!0;c.removeListener(&quot;focus&quot;,M);c.removeListener(&quot;blur&quot;,L);this.editor.focusManager.remove(c);if(c.filter){for(var e in this.repository.instances){var f=this.repository.instances[e];f.editables&amp;&amp;(f=f.editables[a])&amp;&amp;f!==
c&amp;&amp;c.filter===f.filter&amp;&amp;(d=!1)}d&amp;&amp;(c.filter.destroy(),(d=this.repository._.filters[this.name])&amp;&amp;delete d[a])}b||(this.repository.destroyAll(!1,c),c.removeClass(&quot;cke_widget_editable&quot;),c.removeClass(&quot;cke_widget_editable_focused&quot;),c.removeAttributes([&quot;contenteditable&quot;,&quot;data-cke-widget-editable&quot;,&quot;data-cke-enter-mode&quot;]));delete this.editables[a]},edit:function(){var a={dialog:this.dialog},b=this;if(!1===this.fire(&quot;edit&quot;,a)||!a.dialog)return!1;this.editor.openDialog(a.dialog,function(a){var d,e;!1!==b.fire(&quot;dialog&quot;,
a)&amp;&amp;(d=a.on(&quot;show&quot;,function(){a.setupContent(b)}),e=a.on(&quot;ok&quot;,function(){var d,e=b.on(&quot;data&quot;,function(a){d=1;a.cancel()},null,null,0);b.editor.fire(&quot;saveSnapshot&quot;);a.commitContent(b);e.removeListener();d&amp;&amp;(b.fire(&quot;data&quot;,b.data),b.editor.fire(&quot;saveSnapshot&quot;))}),a.once(&quot;hide&quot;,function(){d.removeListener();e.removeListener()}))},b);return!0},getClasses:function(){return this.repository.parseElementClasses(this.element.getAttribute(&quot;class&quot;))},getClipboardHtml:function(){var a=this.editor.createRange();
a.setStartBefore(this.wrapper);a.setEndAfter(this.wrapper);return this.editor.editable().getHtmlFromRange(a).getHtml()},hasClass:function(a){return this.element.hasClass(a)},initEditable:function(a,b){var c=this._findOneNotNested(b.selector);return c&amp;&amp;c.is(CKEDITOR.dtd.$editable)?(c=new t(this.editor,c,{filter:B.call(this.repository,this.name,a,b)}),this.editables[a]=c,c.setAttributes({contenteditable:&quot;true&quot;,&quot;data-cke-widget-editable&quot;:a,&quot;data-cke-enter-mode&quot;:c.enterMode}),c.filter&amp;&amp;c.data(&quot;cke-filter&quot;,
c.filter.id),c.addClass(&quot;cke_widget_editable&quot;),c.removeClass(&quot;cke_widget_editable_focused&quot;),b.pathName&amp;&amp;c.data(&quot;cke-display-name&quot;,b.pathName),this.editor.focusManager.add(c),c.on(&quot;focus&quot;,M,this),CKEDITOR.env.ie&amp;&amp;c.on(&quot;blur&quot;,L,this),c._.initialSetData=!0,c.setData(c.getHtml()),!0):!1},_findOneNotNested:function(a){a=this.wrapper.find(a);for(var b,c,d=0;d&lt;a.count();d++)if(b=a.getItem(d),c=b.getAscendant(g.isDomWidgetWrapper),this.wrapper.equals(c))return b;return null},isInited:function(){return!(!this.wrapper||
!this.inited)},isReady:function(){return this.isInited()&amp;&amp;this.ready},focus:function(){var a=this.editor.getSelection();if(a){var b=this.editor.checkDirty();a.fake(this.wrapper);!b&amp;&amp;this.editor.resetDirty()}this.editor.focus()},refreshMask:function(){O(this)},refreshParts:function(a){N(this,&quot;undefined&quot;!==typeof a?a:!0)},removeClass:function(a){this.element.removeClass(a);this.wrapper.removeClass(g.WRAPPER_CLASS_PREFIX+a)},removeStyle:function(a){I(this,a,0)},setData:function(a,b){var c=this.data,
d=0;if(&quot;string&quot;==typeof a)c[a]!==b&amp;&amp;(c[a]=b,d=1);else{var e=a;for(a in e)c[a]!==e[a]&amp;&amp;(d=1,c[a]=e[a])}d&amp;&amp;this.dataReady&amp;&amp;(v(this),this.fire(&quot;data&quot;,c));return this},setFocused:function(a){this.wrapper[a?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_widget_focused&quot;);this.fire(a?&quot;focus&quot;:&quot;blur&quot;);return this},setSelected:function(a){this.wrapper[a?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_widget_selected&quot;);this.fire(a?&quot;select&quot;:&quot;deselect&quot;);return this},updateDragHandlerPosition:function(){var a=this.editor,b=this.element.$,c=this._.dragHandlerOffset,
b={x:b.offsetLeft,y:b.offsetTop-15};c&amp;&amp;b.x==c.x&amp;&amp;b.y==c.y||(c=a.checkDirty(),a.fire(&quot;lockSnapshot&quot;),this.dragHandlerContainer.setStyles({top:b.y+&quot;px&quot;,left:b.x+&quot;px&quot;}),this.dragHandlerContainer.removeStyle(&quot;display&quot;),a.fire(&quot;unlockSnapshot&quot;),!c&amp;&amp;a.resetDirty(),this._.dragHandlerOffset=b)}};CKEDITOR.event.implementOn(g.prototype);g.getNestedEditable=function(a,b){return!b||b.equals(a)?null:g.isDomNestedEditable(b)?b:g.getNestedEditable(a,b.getParent())};g.isDomDragHandler=function(a){return a.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-cke-widget-drag-handler&quot;)};g.isDomDragHandlerContainer=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_widget_drag_handler_container&quot;)};g.isDomNestedEditable=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-cke-widget-editable&quot;)};g.isDomWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-widget&quot;)};g.isDomWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-cke-widget-wrapper&quot;)};
g.isDomWidget=function(a){return a?this.isDomWidgetWrapper(a)||this.isDomWidgetElement(a):!1};g.isParserWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!!a.attributes[&quot;data-widget&quot;]};g.isParserWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!!a.attributes[&quot;data-cke-widget-wrapper&quot;]};g.WRAPPER_CLASS_PREFIX=&quot;cke_widget_wrapper_&quot;;t.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.dom.element.prototype),{setData:function(a){this._.initialSetData||
this.editor.widgets.destroyAll(!1,this);this._.initialSetData=!1;a=this.editor.dataProcessor.toDataFormat(a,{context:this.getName(),filter:this.filter,enterMode:this.enterMode});a=this.editor.dataProcessor.toHtml(a,{context:this.getName(),filter:this.filter,enterMode:this.enterMode});this.setHtml(a);this.editor.widgets.initOnAll(this)},getData:function(){return this.editor.dataProcessor.toDataFormat(this.getHtml(),{context:this.getName(),filter:this.filter,enterMode:this.enterMode})}});var fa=/^(?:&lt;(?:div|span)(?: data-cke-temp=&quot;1&quot;)?(?: id=&quot;cke_copybin&quot;)?(?: data-cke-temp=&quot;1&quot;)?&gt;)?(?:&lt;(?:div|span)(?: style=&quot;[^&quot;]+&quot;)?&gt;)?&lt;span [^&gt;]*data-cke-copybin-start=&quot;1&quot;[^&gt;]*&gt;.?&lt;\/span&gt;([\s\S]+)&lt;span [^&gt;]*data-cke-copybin-end=&quot;1&quot;[^&gt;]*&gt;.?&lt;\/span&gt;(?:&lt;\/(?:div|span)&gt;)?(?:&lt;\/(?:div|span)&gt;)?$/i,
P={37:1,38:1,39:1,40:1,8:1,46:1};P[CKEDITOR.SHIFT+121]=1;var u=CKEDITOR.tools.createClass({$:function(a,b){this._.createCopyBin(a,b);this._.createListeners(b)},_:{createCopyBin:function(a){var b=a.document,c=CKEDITOR.env.edge&amp;&amp;16&lt;=CKEDITOR.env.version,d=!a.blockless&amp;&amp;!CKEDITOR.env.ie||c?&quot;div&quot;:&quot;span&quot;,c=b.createElement(d),b=b.createElement(d);b.setAttributes({id:&quot;cke_copybin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;});c.setStyles({position:&quot;absolute&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;,overflow:&quot;hidden&quot;});c.setStyle(&quot;ltr&quot;==a.config.contentsLangDirection?
&quot;left&quot;:&quot;right&quot;,&quot;-5000px&quot;);this.editor=a;this.copyBin=c;this.container=b},createListeners:function(a){a&amp;&amp;(a.beforeDestroy&amp;&amp;(this.beforeDestroy=a.beforeDestroy),a.afterDestroy&amp;&amp;(this.afterDestroy=a.afterDestroy))}},proto:{handle:function(a){var b=this.copyBin,c=this.editor,d=this.container,e=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version,f=c.document.getDocumentElement().$,h=c.createRange(),g=this,k=CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit,n=k?100:0,m=window.requestAnimationFrame&amp;&amp;!k?requestAnimationFrame:setTimeout,
p,r,q;b.setHtml(&#039;\x3cspan data-cke-copybin-start\x3d&quot;1&quot;\x3e​\x3c/span\x3e&#039;+a+&#039;\x3cspan data-cke-copybin-end\x3d&quot;1&quot;\x3e​\x3c/span\x3e&#039;);c.fire(&quot;lockSnapshot&quot;);d.append(b);c.editable().append(d);p=c.on(&quot;selectionChange&quot;,K,null,null,0);r=c.widgets.on(&quot;checkSelection&quot;,K,null,null,0);e&amp;&amp;(q=f.scrollTop);h.selectNodeContents(b);h.select();e&amp;&amp;(f.scrollTop=q);return new CKEDITOR.tools.promise(function(a){m(function(){g.beforeDestroy&amp;&amp;g.beforeDestroy();d.remove();p.removeListener();r.removeListener();c.fire(&quot;unlockSnapshot&quot;);
g.afterDestroy&amp;&amp;g.afterDestroy();a()},n)})}},statics:{hasCopyBin:function(a){return!!u.getCopyBin(a)},getCopyBin:function(a){return a.document.getById(&quot;cke_copybin&quot;)}}});CKEDITOR.plugins.widget=g;g.repository=q;g.nestedEditable=t})();(function(){function e(a,b,c){this.editor=a;this.notification=null;this._message=new CKEDITOR.template(b);this._singularMessage=c?new CKEDITOR.template(c):null;this._tasks=[];this._doneTasks=this._doneWeights=this._totalWeights=0}function d(a){this._weight=a||1;this._doneWeight=0;this._isCanceled=!1}CKEDITOR.plugins.add(&quot;notificationaggregator&quot;,{requires:&quot;notification&quot;});e.prototype={createTask:function(a){a=a||{};var b=!this.notification,c;b&amp;&amp;(this.notification=this._createNotification());c=this._addTask(a);
c.on(&quot;updated&quot;,this._onTaskUpdate,this);c.on(&quot;done&quot;,this._onTaskDone,this);c.on(&quot;canceled&quot;,function(){this._removeTask(c)},this);this.update();b&amp;&amp;this.notification.show();return c},update:function(){this._updateNotification();this.isFinished()&amp;&amp;this.fire(&quot;finished&quot;)},getPercentage:function(){return 0===this.getTaskCount()?1:this._doneWeights/this._totalWeights},isFinished:function(){return this.getDoneTaskCount()===this.getTaskCount()},getTaskCount:function(){return this._tasks.length},getDoneTaskCount:function(){return this._doneTasks},
_updateNotification:function(){this.notification.update({message:this._getNotificationMessage(),progress:this.getPercentage()})},_getNotificationMessage:function(){var a=this.getTaskCount(),b={current:this.getDoneTaskCount(),max:a,percentage:Math.round(100*this.getPercentage())};return(1==a&amp;&amp;this._singularMessage?this._singularMessage:this._message).output(b)},_createNotification:function(){return new CKEDITOR.plugins.notification(this.editor,{type:&quot;progress&quot;})},_addTask:function(a){a=new d(a.weight);
this._tasks.push(a);this._totalWeights+=a._weight;return a},_removeTask:function(a){var b=CKEDITOR.tools.indexOf(this._tasks,a);-1!==b&amp;&amp;(a._doneWeight&amp;&amp;(this._doneWeights-=a._doneWeight),this._totalWeights-=a._weight,this._tasks.splice(b,1),this.update())},_onTaskUpdate:function(a){this._doneWeights+=a.data;this.update()},_onTaskDone:function(){this._doneTasks+=1;this.update()}};CKEDITOR.event.implementOn(e.prototype);d.prototype={done:function(){this.update(this._weight)},update:function(a){if(!this.isDone()&amp;&amp;
!this.isCanceled()){a=Math.min(this._weight,a);var b=a-this._doneWeight;this._doneWeight=a;this.fire(&quot;updated&quot;,b);this.isDone()&amp;&amp;this.fire(&quot;done&quot;)}},cancel:function(){this.isDone()||this.isCanceled()||(this._isCanceled=!0,this.fire(&quot;canceled&quot;))},isDone:function(){return this._weight===this._doneWeight},isCanceled:function(){return this._isCanceled}};CKEDITOR.event.implementOn(d.prototype);CKEDITOR.plugins.notificationAggregator=e;CKEDITOR.plugins.notificationAggregator.task=d})();(function(){CKEDITOR.plugins.add(&quot;uploadwidget&quot;,{requires:&quot;widget,clipboard,filetools,notificationaggregator&quot;,init:function(a){a.filter.allow(&quot;*[!data-widget,!data-cke-upload-id]&quot;)},isSupportedEnvironment:function(){return CKEDITOR.plugins.clipboard.isFileApiSupported}});CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{addUploadWidget:function(a,c,f){var h=CKEDITOR.fileTools,b=a.uploadRepository,m=f.supportedTypes?10:20;if(f.fileToElement)a.on(&quot;paste&quot;,function(d){d=
d.data;var l=a.widgets.registered[c],k=d.dataTransfer,f=k.getFilesCount(),g=l.loadMethod||&quot;loadAndUpload&quot;,e,n;if(!d.dataValue&amp;&amp;f)for(n=0;n&lt;f;n++)if(e=k.getFile(n),!l.supportedTypes||h.isTypeSupported(e,l.supportedTypes)){var m=l.fileToElement(e);e=b.create(e,void 0,l.loaderType);m&amp;&amp;(e[g](l.uploadUrl,l.additionalRequestParameters),CKEDITOR.fileTools.markElement(m,c,e.id),&quot;loadAndUpload&quot;!=g&amp;&amp;&quot;upload&quot;!=g||l.skipNotifications||CKEDITOR.fileTools.bindNotifications(a,e),d.dataValue+=m.getOuterHtml())}},
null,null,m);CKEDITOR.tools.extend(f,{downcast:function(){return new CKEDITOR.htmlParser.text(&quot;&quot;)},init:function(){var d=this,c=this.wrapper.findOne(&quot;[data-cke-upload-id]&quot;).data(&quot;cke-upload-id&quot;),k=b.loaders[c],f=CKEDITOR.tools.capitalize,g,e;k.on(&quot;update&quot;,function(b){if(&quot;abort&quot;===k.status&amp;&amp;&quot;function&quot;===typeof d.onAbort)d.onAbort(k);if(d.wrapper&amp;&amp;d.wrapper.getParent()){a.fire(&quot;lockSnapshot&quot;);b=&quot;on&quot;+f(k.status);if(&quot;abort&quot;===k.status||&quot;function&quot;!==typeof d[b]||!1!==d[b](k))e=&quot;cke_upload_&quot;+k.status,d.wrapper&amp;&amp;
e!=g&amp;&amp;(g&amp;&amp;d.wrapper.removeClass(g),d.wrapper.addClass(e),g=e),&quot;error&quot;!=k.status&amp;&amp;&quot;abort&quot;!=k.status||a.widgets.del(d);a.fire(&quot;unlockSnapshot&quot;)}else CKEDITOR.instances[a.name]&amp;&amp;a.editable().find(&#039;[data-cke-upload-id\x3d&quot;&#039;+c+&#039;&quot;]&#039;).count()||k.abort(),b.removeListener()});k.update()},replaceWith:function(d,c){if(&quot;&quot;===d.trim())a.widgets.del(this);else{var b=this==a.widgets.focused,f=a.editable(),g=a.createRange(),e,h;b||(h=a.getSelection().createBookmarks());g.setStartBefore(this.wrapper);g.setEndAfter(this.wrapper);
b&amp;&amp;(e=g.createBookmark());f.insertHtmlIntoRange(d,g,c);a.widgets.checkWidgets({initOnlyNew:!0});a.widgets.destroy(this,!0);b?(g.moveToBookmark(e),g.select()):a.getSelection().selectBookmarks(h)}},_getLoader:function(){var a=this.wrapper.findOne(&quot;[data-cke-upload-id]&quot;);return a?this.editor.uploadRepository.loaders[a.data(&quot;cke-upload-id&quot;)]:null}});a.widgets.add(c,f)},markElement:function(a,c,f){a.setAttributes({&quot;data-cke-upload-id&quot;:f,&quot;data-widget&quot;:c})},bindNotifications:function(a,c){function f(){h=
a._.uploadWidgetNotificaionAggregator;if(!h||h.isFinished())h=a._.uploadWidgetNotificaionAggregator=new CKEDITOR.plugins.notificationAggregator(a,a.lang.uploadwidget.uploadMany,a.lang.uploadwidget.uploadOne),h.once(&quot;finished&quot;,function(){var b=h.getTaskCount();0===b?h.notification.hide():h.notification.update({message:1==b?a.lang.uploadwidget.doneOne:a.lang.uploadwidget.doneMany.replace(&quot;%1&quot;,b),type:&quot;success&quot;,important:1})})}var h,b=null;c.on(&quot;update&quot;,function(){!b&amp;&amp;c.uploadTotal&amp;&amp;(f(),b=h.createTask({weight:c.uploadTotal}));
b&amp;&amp;&quot;uploading&quot;==c.status&amp;&amp;b.update(c.uploaded)});c.on(&quot;uploaded&quot;,function(){b&amp;&amp;b.done()});c.on(&quot;error&quot;,function(){b&amp;&amp;b.cancel();a.showNotification(c.message,&quot;warning&quot;)});c.on(&quot;abort&quot;,function(){b&amp;&amp;b.cancel();CKEDITOR.instances[a.name]&amp;&amp;a.showNotification(a.lang.uploadwidget.abort,&quot;info&quot;)})}})})();(function(){function l(c){9&gt;=c&amp;&amp;(c=&quot;0&quot;+c);return String(c)}function n(c){var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()];e+=1;return&quot;image-&quot;+CKEDITOR.tools.array.map(a,l).join(&quot;&quot;)+&quot;-&quot;+e+&quot;.&quot;+c}var e=0;CKEDITOR.plugins.add(&quot;uploadimage&quot;,{requires:&quot;uploadwidget&quot;,onLoad:function(){CKEDITOR.addCss(&quot;.cke_upload_uploading img{opacity: 0.3}&quot;)},isSupportedEnvironment:function(){return CKEDITOR.plugins.clipboard.isFileApiSupported},init:function(c){if(this.isSupportedEnvironment()){var a=
CKEDITOR.fileTools,e=a.getUploadUrl(c.config,&quot;image&quot;);e&amp;&amp;(a.addUploadWidget(c,&quot;uploadimage&quot;,{supportedTypes:/image\/(jpeg|png|gif|bmp)/,uploadUrl:e,fileToElement:function(){var b=new CKEDITOR.dom.element(&quot;img&quot;);b.setAttribute(&quot;src&quot;,&quot;data:image/gif;base64,R0lGODlhDgAOAIAAAAAAAP///yH5BAAAAAAALAAAAAAOAA4AAAIMhI+py+0Po5y02qsKADs\x3d&quot;);return b},parts:{img:&quot;img&quot;},onUploading:function(b){this.parts.img.setAttribute(&quot;src&quot;,b.data)},onUploaded:function(b){var a=this.parts.img.$;this.replaceWith(&#039;\x3cimg src\x3d&quot;&#039;+
b.url+&#039;&quot; width\x3d&quot;&#039;+(b.responseData.width||a.naturalWidth)+&#039;&quot; height\x3d&quot;&#039;+(b.responseData.height||a.naturalHeight)+&#039;&quot;\x3e&#039;)}}),c.on(&quot;paste&quot;,function(b){if(b.data.dataValue.match(/&lt;img[\s\S]+data:/i)){b=b.data;var f=document.implementation.createHTMLDocument(&quot;&quot;),f=new CKEDITOR.dom.element(f.body),m,g,k;f.data(&quot;cke-editable&quot;,1);f.appendHtml(b.dataValue);m=f.find(&quot;img&quot;);for(k=0;k&lt;m.count();k++){g=m.getItem(k);var d=g.getAttribute(&quot;src&quot;),h=d&amp;&amp;&quot;data:&quot;==d.substring(0,5),l=null===g.data(&quot;cke-realelement&quot;);
h&amp;&amp;l&amp;&amp;!g.data(&quot;cke-upload-id&quot;)&amp;&amp;!g.isReadOnly(1)&amp;&amp;(h=(h=d.match(/image\/([a-z]+?);/i))&amp;&amp;h[1]||&quot;jpg&quot;,d=c.uploadRepository.create(d,n(h)),d.upload(e),a.markElement(g,&quot;uploadimage&quot;,d.id),a.bindNotifications(c,d))}b.dataValue=f.getHtml()}}))}}})})();CKEDITOR.plugins.add(&quot;wsc&quot;,{requires:&quot;dialog&quot;,parseApi:function(a){a.config.wsc_onFinish=&quot;function&quot;===typeof a.config.wsc_onFinish?a.config.wsc_onFinish:function(){};a.config.wsc_onClose=&quot;function&quot;===typeof a.config.wsc_onClose?a.config.wsc_onClose:function(){}},parseConfig:function(a){a.config.wsc_customerId=a.config.wsc_customerId||CKEDITOR.config.wsc_customerId||&quot;1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk&quot;;a.config.wsc_customDictionaryIds=a.config.wsc_customDictionaryIds||
CKEDITOR.config.wsc_customDictionaryIds||&quot;&quot;;a.config.wsc_userDictionaryName=a.config.wsc_userDictionaryName||CKEDITOR.config.wsc_userDictionaryName||&quot;&quot;;a.config.wsc_customLoaderScript=a.config.wsc_customLoaderScript||CKEDITOR.config.wsc_customLoaderScript;a.config.wsc_interfaceLang=a.config.wsc_interfaceLang;CKEDITOR.config.wsc_cmd=a.config.wsc_cmd||CKEDITOR.config.wsc_cmd||&quot;spell&quot;;CKEDITOR.config.wsc_version=&quot;v4.3.0-master-d769233&quot;;CKEDITOR.config.wsc_removeGlobalVariable=!0},onLoad:function(a){&quot;moono-lisa&quot;==
(CKEDITOR.skinName||a.config.skin)&amp;&amp;CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(this.path+&quot;skins/&quot;+CKEDITOR.skin.name+&quot;/wsc.css&quot;))},init:function(a){var b=CKEDITOR.env;this.parseConfig(a);this.parseApi(a);a.addCommand(&quot;checkspell&quot;,new CKEDITOR.dialogCommand(&quot;checkspell&quot;)).modes={wysiwyg:!CKEDITOR.env.opera&amp;&amp;!CKEDITOR.env.air&amp;&amp;document.domain==window.location.hostname&amp;&amp;!(b.ie&amp;&amp;(8&gt;b.version||b.quirks))};&quot;undefined&quot;==typeof a.plugins.scayt&amp;&amp;a.ui.addButton&amp;&amp;a.ui.addButton(&quot;SpellChecker&quot;,{label:a.lang.wsc.toolbar,
click:function(a){var b=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.container.getText():a.document.getBody().getText();(b=b.replace(/\s/g,&quot;&quot;))?a.execCommand(&quot;checkspell&quot;):alert(&quot;Nothing to check!&quot;)},toolbar:&quot;spellchecker,10&quot;});CKEDITOR.dialog.add(&quot;checkspell&quot;,this.path+(CKEDITOR.env.ie&amp;&amp;7&gt;=CKEDITOR.env.version?&quot;dialogs/wsc_ie.js&quot;:window.postMessage?&quot;dialogs/wsc.js&quot;:&quot;dialogs/wsc_ie.js&quot;))}});(function(){function F(a){function b(){this.deflated||(a.widgets.focused==this.widget&amp;&amp;(this.focused=!0),a.widgets.destroy(this.widget),this.deflated=!0)}function h(){var d=a.editable(),c=a.document;if(this.deflated)this.widget=a.widgets.initOn(this.element,&quot;image&quot;,this.widget.data),this.widget.inline&amp;&amp;!(new CKEDITOR.dom.elementPath(this.widget.wrapper,d)).block&amp;&amp;(d=c.createElement(a.activeEnterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),d.replace(this.widget.wrapper),this.widget.wrapper.move(d)),this.focused&amp;&amp;
(this.widget.focus(),delete this.focused),delete this.deflated;else{var f=this.widget,d=e,c=f.wrapper,b=f.data.align,f=f.data.hasCaption;if(d){for(var x=3;x--;)c.removeClass(d[x]);&quot;center&quot;==b?f&amp;&amp;c.addClass(d[1]):&quot;none&quot;!=b&amp;&amp;c.addClass(d[p[b]])}else&quot;center&quot;==b?(f?c.setStyle(&quot;text-align&quot;,&quot;center&quot;):c.removeStyle(&quot;text-align&quot;),c.removeStyle(&quot;float&quot;)):(&quot;none&quot;==b?c.removeStyle(&quot;float&quot;):c.setStyle(&quot;float&quot;,b),c.removeStyle(&quot;text-align&quot;))}}var e=a.config.image2_alignClasses,g=a.config.image2_captionedClass;
return{allowedContent:G(a),requiredContent:&quot;img[src,alt]&quot;,features:H(a),styleableElements:&quot;img figure&quot;,contentTransformations:[[&quot;img[width]: sizeToAttribute&quot;]],editables:{caption:{selector:&quot;figcaption&quot;,allowedContent:&quot;br em strong sub sup u s; a[!href,target]&quot;}},parts:{image:&quot;img&quot;,caption:&quot;figcaption&quot;},dialog:&quot;image2&quot;,template:&#039;\x3cimg alt\x3d&quot;&quot; src\x3d&quot;&quot; /\x3e&#039;,data:function(){var d=this.features;this.data.hasCaption&amp;&amp;!a.filter.checkFeature(d.caption)&amp;&amp;(this.data.hasCaption=!1);&quot;none&quot;==this.data.align||
a.filter.checkFeature(d.align)||(this.data.align=&quot;none&quot;);this.shiftState({widget:this,element:this.element,oldData:this.oldData,newData:this.data,deflate:b,inflate:h});this.data.link?this.parts.link||(this.parts.link=this.parts.image.getParent()):this.parts.link&amp;&amp;delete this.parts.link;this.parts.image.setAttributes({src:this.data.src,&quot;data-cke-saved-src&quot;:this.data.src,alt:this.data.alt});if(this.oldData&amp;&amp;!this.oldData.hasCaption&amp;&amp;this.data.hasCaption)for(var c in this.data.classes)this.parts.image.removeClass(c);
if(a.filter.checkFeature(d.dimension)){d=this.data;d={width:d.width,height:d.height};c=this.parts.image;for(var e in d)d[e]?c.setAttribute(e,d[e]):c.removeAttribute(e)}this.oldData=CKEDITOR.tools.extend({},this.data)},init:function(){var d=CKEDITOR.plugins.image2,c=this.parts.image,b={hasCaption:!!this.parts.caption,src:c.getAttribute(&quot;src&quot;),alt:c.getAttribute(&quot;alt&quot;)||&quot;&quot;,width:c.getAttribute(&quot;width&quot;)||&quot;&quot;,height:c.getAttribute(&quot;height&quot;)||&quot;&quot;,lock:this.ready?d.checkHasNaturalRatio(c):!0},h=c.getAscendant(&quot;a&quot;);
h&amp;&amp;this.wrapper.contains(h)&amp;&amp;(this.parts.link=h);b.align||(c=b.hasCaption?this.element:c,e?(c.hasClass(e[0])?b.align=&quot;left&quot;:c.hasClass(e[2])&amp;&amp;(b.align=&quot;right&quot;),b.align?c.removeClass(e[p[b.align]]):b.align=&quot;none&quot;):(b.align=c.getStyle(&quot;float&quot;)||&quot;none&quot;,c.removeStyle(&quot;float&quot;)));a.plugins.link&amp;&amp;this.parts.link&amp;&amp;(b.link=d.getLinkAttributesParser()(a,this.parts.link),(c=b.link.advanced)&amp;&amp;c.advCSSClasses&amp;&amp;(c.advCSSClasses=CKEDITOR.tools.trim(c.advCSSClasses.replace(/cke_\S+/,&quot;&quot;))));this.wrapper[(b.hasCaption?
&quot;remove&quot;:&quot;add&quot;)+&quot;Class&quot;](&quot;cke_image_nocaption&quot;);this.setData(b);a.filter.checkFeature(this.features.dimension)&amp;&amp;!0!==a.config.image2_disableResizer&amp;&amp;I(this);this.shiftState=d.stateShifter(this.editor);this.on(&quot;contextMenu&quot;,function(a){a.data.image=CKEDITOR.TRISTATE_OFF;if(this.parts.link||this.wrapper.getAscendant(&quot;a&quot;))a.data.link=a.data.unlink=CKEDITOR.TRISTATE_OFF})},addClass:function(a){q(this).addClass(a)},hasClass:function(a){return q(this).hasClass(a)},removeClass:function(a){q(this).removeClass(a)},
getClasses:function(){var a=new RegExp(&quot;^(&quot;+[].concat(g,e).join(&quot;|&quot;)+&quot;)$&quot;);return function(){var c=this.repository.parseElementClasses(q(this).getAttribute(&quot;class&quot;)),b;for(b in c)a.test(b)&amp;&amp;delete c[b];return c}}(),upcast:J(a),downcast:K(a),getLabel:function(){return this.editor.lang.widget.label.replace(/%1/,(this.data.alt||&quot;&quot;)+&quot; &quot;+this.pathName)}}}function J(a){var b=r(a),h=a.config.image2_captionedClass;return function(a,g){var d={width:1,height:1},c=a.name,f;if(!a.attributes[&quot;data-cke-realelement&quot;]&amp;&amp;
(b(a)?(&quot;div&quot;==c&amp;&amp;(f=a.getFirst(&quot;figure&quot;))&amp;&amp;(a.replaceWith(f),a=f),g.align=&quot;center&quot;,f=a.getFirst(&quot;img&quot;)||a.getFirst(&quot;a&quot;).getFirst(&quot;img&quot;)):&quot;figure&quot;==c&amp;&amp;a.hasClass(h)?f=a.find(function(a){return&quot;img&quot;===a.name&amp;&amp;-1!==CKEDITOR.tools.array.indexOf([&quot;figure&quot;,&quot;a&quot;],a.parent.name)},!0)[0]:m(a)&amp;&amp;(f=&quot;a&quot;==a.name?a.children[0]:a),f)){for(var D in d)(d=f.attributes[D])&amp;&amp;d.match(L)&amp;&amp;delete f.attributes[D];return a}}}function K(a){var b=a.config.image2_alignClasses;return function(a){var e=&quot;a&quot;==a.name?a.getFirst():
a,g=e.attributes,d=this.data.align;if(!this.inline){var c=a.getFirst(&quot;span&quot;);c&amp;&amp;c.replaceWith(c.getFirst({img:1,a:1}))}d&amp;&amp;&quot;none&quot;!=d&amp;&amp;(c=CKEDITOR.tools.parseCssText(g.style||&quot;&quot;),&quot;center&quot;==d&amp;&amp;&quot;figure&quot;==a.name?a=a.wrapWith(new CKEDITOR.htmlParser.element(&quot;div&quot;,b?{&quot;class&quot;:b[1]}:{style:&quot;text-align:center&quot;})):d in{left:1,right:1}&amp;&amp;(b?e.addClass(b[p[d]]):c[&quot;float&quot;]=d),b||CKEDITOR.tools.isEmpty(c)||(g.style=CKEDITOR.tools.writeCssText(c)));return a}}function r(a){var b=a.config.image2_captionedClass,h=a.config.image2_alignClasses,
e={figure:1,a:1,img:1};return function(g){if(!(g.name in{div:1,p:1}))return!1;var d=g.children;if(1!==d.length)return!1;d=d[0];if(!(d.name in e))return!1;if(&quot;p&quot;==g.name){if(!m(d))return!1}else if(&quot;figure&quot;==d.name){if(!d.hasClass(b))return!1}else if(a.enterMode==CKEDITOR.ENTER_P||!m(d))return!1;return(h?g.hasClass(h[1]):&quot;center&quot;==CKEDITOR.tools.parseCssText(g.attributes.style||&quot;&quot;,!0)[&quot;text-align&quot;])?!0:!1}}function m(a){return&quot;img&quot;==a.name?!0:&quot;a&quot;==a.name?1==a.children.length&amp;&amp;a.getFirst(&quot;img&quot;):!1}function I(a){var b=
a.editor,h=b.editable(),e=b.document,g=a.resizer=e.createElement(&quot;span&quot;);g.addClass(&quot;cke_image_resizer&quot;);g.setAttribute(&quot;title&quot;,b.lang.image2.resizer);g.append(new CKEDITOR.dom.text(&quot;​&quot;,e));if(a.inline)a.wrapper.append(g);else{var d=a.parts.link||a.parts.image,c=d.getParent(),f=e.createElement(&quot;span&quot;);f.addClass(&quot;cke_image_resizer_wrapper&quot;);f.append(d);f.append(g);a.element.append(f,!0);c.is(&quot;span&quot;)&amp;&amp;c.remove()}g.on(&quot;mousedown&quot;,function(c){function d(a,b,c){var x=CKEDITOR.document,l=[];e.equals(x)||
l.push(x.on(a,b));l.push(e.on(a,b));if(c)for(a=l.length;a--;)c.push(l.pop())}function t(){u=p+k*y;v=Math.round(u/w)}function l(){v=r-n;u=Math.round(v*w)}var f=a.parts.image,B=function(){var a=b.config.image2_maxSize,c;if(!a)return null;a=CKEDITOR.tools.copy(a);c=CKEDITOR.plugins.image2.getNatural(f);a.width=Math.max(&quot;natural&quot;===a.width?c.width:a.width,15);a.height=Math.max(&quot;natural&quot;===a.height?c.height:a.height,15);return a}(),k=&quot;right&quot;==a.data.align?-1:1,M=c.data.$.screenX,q=c.data.$.screenY,p=f.$.clientWidth,
r=f.$.clientHeight,w=p/r,m=[],E=&quot;cke_image_s&quot;+(~k?&quot;e&quot;:&quot;w&quot;),C,u,v,z,y,n,A;b.fire(&quot;saveSnapshot&quot;);d(&quot;mousemove&quot;,function(a){C=a.data.$;y=C.screenX-M;n=q-C.screenY;A=Math.abs(y/n);1==k?0&gt;=y?0&gt;=n?t():A&gt;=w?t():l():0&gt;=n?A&gt;=w?l():t():l():0&gt;=y?0&gt;=n?A&gt;=w?l():t():l():0&gt;=n?t():A&gt;=w?t():l();a=B&amp;&amp;(u&gt;B.width||v&gt;B.height);15&gt;u||15&gt;v||a||(z={width:u,height:v},f.setAttributes(z))},m);d(&quot;mouseup&quot;,function(){for(var c;c=m.pop();)c.removeListener();h.removeClass(E);g.removeClass(&quot;cke_image_resizing&quot;);z&amp;&amp;(a.setData(z),
b.fire(&quot;saveSnapshot&quot;));z=!1},m);h.addClass(E);g.addClass(&quot;cke_image_resizing&quot;)});a.on(&quot;data&quot;,function(){g[&quot;right&quot;==a.data.align?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_image_resizer_left&quot;)})}function N(a){var b=[],h;return function(e){var g=a.getCommand(&quot;justify&quot;+e);if(g){b.push(function(){g.refresh(a,a.elementPath())});if(e in{right:1,left:1,center:1})g.on(&quot;exec&quot;,function(d){var c=k(a);if(c){c.setData(&quot;align&quot;,e);for(c=b.length;c--;)b[c]();d.cancel()}});g.on(&quot;refresh&quot;,function(b){var c=k(a),g={right:1,left:1,
center:1};c&amp;&amp;(void 0===h&amp;&amp;(h=a.filter.checkFeature(a.widgets.registered.image.features.align)),h?this.setState(c.data.align==e?CKEDITOR.TRISTATE_ON:e in g?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED):this.setState(CKEDITOR.TRISTATE_DISABLED),b.cancel())})}}}function O(a){if(a.plugins.link){var b=CKEDITOR.on(&quot;dialogDefinition&quot;,function(b){b=b.data;if(&quot;link&quot;==b.name){b=b.definition;var e=b.onShow,g=b.onOk;b.onShow=function(){var b=k(a),c=this.getContentElement(&quot;info&quot;,&quot;linkDisplayText&quot;).getElement().getParent().getParent();
b&amp;&amp;(b.inline?!b.wrapper.getAscendant(&quot;a&quot;):1)?(this.setupContent(b.data.link||{}),c.hide()):(c.show(),e.apply(this,arguments))};b.onOk=function(){var b=k(a);if(b&amp;&amp;(b.inline?!b.wrapper.getAscendant(&quot;a&quot;):1)){var c={};this.commitContent(c);b.setData(&quot;link&quot;,c)}else g.apply(this,arguments)}}});a.on(&quot;destroy&quot;,function(){b.removeListener()});a.getCommand(&quot;unlink&quot;).on(&quot;exec&quot;,function(b){var e=k(a);e&amp;&amp;e.parts.link&amp;&amp;(e.setData(&quot;link&quot;,null),this.refresh(a,a.elementPath()),b.cancel())});a.getCommand(&quot;unlink&quot;).on(&quot;refresh&quot;,
function(b){var e=k(a);e&amp;&amp;(this.setState(e.data.link||e.wrapper.getAscendant(&quot;a&quot;)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),b.cancel())})}}function k(a){return(a=a.widgets.focused)&amp;&amp;&quot;image&quot;==a.name?a:null}function G(a){var b=a.config.image2_alignClasses;a={div:{match:r(a)},p:{match:r(a)},img:{attributes:&quot;!src,alt,width,height&quot;},figure:{classes:&quot;!&quot;+a.config.image2_captionedClass},figcaption:!0};b?(a.div.classes=b[1],a.p.classes=a.div.classes,a.img.classes=b[0]+&quot;,&quot;+b[2],a.figure.classes+=&quot;,&quot;+
a.img.classes):(a.div.styles=&quot;text-align&quot;,a.p.styles=&quot;text-align&quot;,a.img.styles=&quot;float&quot;,a.figure.styles=&quot;float,display&quot;);return a}function H(a){a=a.config.image2_alignClasses;return{dimension:{requiredContent:&quot;img[width,height]&quot;},align:{requiredContent:&quot;img&quot;+(a?&quot;(&quot;+a[0]+&quot;)&quot;:&quot;{float}&quot;)},caption:{requiredContent:&quot;figcaption&quot;}}}function q(a){return a.data.hasCaption?a.element:a.parts.image}var P=new CKEDITOR.template(&#039;\x3cfigure class\x3d&quot;{captionedClass}&quot;\x3e\x3cimg alt\x3d&quot;&quot; src\x3d&quot;&quot; /\x3e\x3cfigcaption\x3e{captionPlaceholder}\x3c/figcaption\x3e\x3c/figure\x3e&#039;),
p={left:0,center:1,right:2},L=/^\s*(\d+\%)\s*$/i;CKEDITOR.plugins.add(&quot;image2&quot;,{requires:&quot;widget,dialog&quot;,icons:&quot;image&quot;,hidpi:!0,onLoad:function(){CKEDITOR.addCss(&#039;.cke_image_nocaption{line-height:0}.cke_editable.cke_image_sw, .cke_editable.cke_image_sw *{cursor:sw-resize !important}.cke_editable.cke_image_se, .cke_editable.cke_image_se *{cursor:se-resize !important}.cke_image_resizer{display:none;position:absolute;width:10px;height:10px;bottom:-5px;right:-5px;background:#000;outline:1px solid #fff;line-height:0;cursor:se-resize;}.cke_image_resizer_wrapper{position:relative;display:inline-block;line-height:0;}.cke_image_resizer.cke_image_resizer_left{right:auto;left:-5px;cursor:sw-resize;}.cke_widget_wrapper:hover .cke_image_resizer,.cke_image_resizer.cke_image_resizing{display:block}.cke_editable[contenteditable\x3d&quot;false&quot;] .cke_image_resizer{display:none;}.cke_widget_wrapper\x3ea{display:inline-block}&#039;)},
init:function(a){if(!a.plugins.detectConflict(&quot;image2&quot;,[&quot;easyimage&quot;])){var b=a.config,h=a.lang.image2,e=F(a);b.filebrowserImage2BrowseUrl=b.filebrowserImageBrowseUrl;b.filebrowserImage2UploadUrl=b.filebrowserImageUploadUrl;e.pathName=h.pathName;e.editables.caption.pathName=h.pathNameCaption;a.widgets.add(&quot;image&quot;,e);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Image&quot;,{label:a.lang.common.image,command:&quot;image&quot;,toolbar:&quot;insert,10&quot;});a.contextMenu&amp;&amp;(a.addMenuGroup(&quot;image&quot;,10),a.addMenuItem(&quot;image&quot;,{label:h.menu,command:&quot;image&quot;,
group:&quot;image&quot;}));CKEDITOR.dialog.add(&quot;image2&quot;,this.path+&quot;dialogs/image2.js&quot;)}},afterInit:function(a){var b={left:1,right:1,center:1,block:1},h=N(a),e;for(e in b)h(e);O(a)}});CKEDITOR.plugins.image2={stateShifter:function(a){function b(a,b){var c={};g?c.attributes={&quot;class&quot;:g[1]}:c.styles={&quot;text-align&quot;:&quot;center&quot;};c=e.createElement(a.activeEnterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;,c);h(c,b);b.move(c);return c}function h(b,d){if(d.getParent()){var e=a.createRange();e.moveToPosition(d,CKEDITOR.POSITION_BEFORE_START);
d.remove();c.insertElementIntoRange(b,e)}else b.replace(d)}var e=a.document,g=a.config.image2_alignClasses,d=a.config.image2_captionedClass,c=a.editable(),f=[&quot;hasCaption&quot;,&quot;align&quot;,&quot;link&quot;],k={align:function(c,d,e){var f=c.element;c.changed.align?c.newData.hasCaption||(&quot;center&quot;==e&amp;&amp;(c.deflate(),c.element=b(a,f)),c.changed.hasCaption||&quot;center&quot;!=d||&quot;center&quot;==e||(c.deflate(),d=f.findOne(&quot;a,img&quot;),d.replace(f),c.element=d)):&quot;center&quot;==e&amp;&amp;c.changed.hasCaption&amp;&amp;!c.newData.hasCaption&amp;&amp;(c.deflate(),c.element=
b(a,f));!g&amp;&amp;f.is(&quot;figure&quot;)&amp;&amp;(&quot;center&quot;==e?f.setStyle(&quot;display&quot;,&quot;inline-block&quot;):f.removeStyle(&quot;display&quot;))},hasCaption:function(b,c,f){b.changed.hasCaption&amp;&amp;(c=b.element.is({img:1,a:1})?b.element:b.element.findOne(&quot;a,img&quot;),b.deflate(),f?(f=CKEDITOR.dom.element.createFromHtml(P.output({captionedClass:d,captionPlaceholder:a.lang.image2.captionPlaceholder}),e),h(f,b.element),c.replace(f.findOne(&quot;img&quot;)),b.element=f):(c.replace(b.element),b.element=c))},link:function(b,c,d){if(b.changed.link){var f=b.element.is(&quot;img&quot;)?
b.element:b.element.findOne(&quot;img&quot;),g=b.element.is(&quot;a&quot;)?b.element:b.element.findOne(&quot;a&quot;),h=b.element.is(&quot;a&quot;)&amp;&amp;!d||b.element.is(&quot;img&quot;)&amp;&amp;d,k;h&amp;&amp;b.deflate();d?(c||(k=e.createElement(&quot;a&quot;,{attributes:{href:b.newData.link.url}}),k.replace(f),f.move(k)),d=CKEDITOR.plugins.image2.getLinkAttributesGetter()(a,d),CKEDITOR.tools.isEmpty(d.set)||(k||g).setAttributes(d.set),d.removed.length&amp;&amp;(k||g).removeAttributes(d.removed)):(d=g.findOne(&quot;img&quot;),d.replace(g),k=d);h&amp;&amp;(b.element=k)}}};return function(a){var b,c;
a.changed={};for(c=0;c&lt;f.length;c++)b=f[c],a.changed[b]=a.oldData?a.oldData[b]!==a.newData[b]:!1;for(c=0;c&lt;f.length;c++)b=f[c],k[b](a,a.oldData?a.oldData[b]:null,a.newData[b]);a.inflate()}},checkHasNaturalRatio:function(a){var b=a.$;a=this.getNatural(a);return Math.round(b.clientWidth/a.width*a.height)==b.clientHeight||Math.round(b.clientHeight/a.height*a.width)==b.clientWidth},getNatural:function(a){if(a.$.naturalWidth)a={width:a.$.naturalWidth,height:a.$.naturalHeight};else{var b=new Image;b.src=
a.getAttribute(&quot;src&quot;);a={width:b.width,height:b.height}}return a},getLinkAttributesGetter:function(){return CKEDITOR.plugins.link.getLinkAttributes},getLinkAttributesParser:function(){return CKEDITOR.plugins.link.parseLinkAttributes}}})();CKEDITOR.config.image2_captionedClass=&quot;image&quot;;CKEDITOR.config.plugins=&#039;dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,notification,button,toolbar,clipboard,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,contextmenu,copyformatting,div,editorplaceholder,resize,elementspath,enterkey,entities,exportpdf,popup,filetools,filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,font,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton,language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastetext,pastetools,pastefromgdocs,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,tableselection,undo,lineutils,widgetselection,widget,notificationaggregator,uploadwidget,uploadimage,wsc,image2&#039;;CKEDITOR.config.skin=&#039;moono-lisa&#039;;(function() {var setIcons = function(icons, strip) {var path = CKEDITOR.getUrl( &#039;plugins/&#039; + strip );icons = icons.split( &#039;,&#039; );for ( var i = 0; i &lt; icons.length; i++ )CKEDITOR.skin.icons[ icons[ i ] ] = { path: path, offset: -icons[ ++i ], bgsize : icons[ ++i ] };};if (CKEDITOR.env.hidpi) setIcons(&#039;about,0,,bold,24,,italic,48,,strike,72,,subscript,96,,superscript,120,,underline,144,,bidiltr,168,,bidirtl,192,,blockquote,216,,copy-rtl,240,,copy,264,,cut-rtl,288,,cut,312,,paste-rtl,336,,paste,360,,bgcolor,384,,textcolor,408,,templates-rtl,432,,templates,456,,copyformatting,480,,creatediv,504,,exportpdf,528,,find-rtl,552,,find,576,,replace,600,,flash,624,,button,648,,checkbox,672,,form,696,,hiddenfield,720,,imagebutton,744,,radio,768,,select-rtl,792,,select,816,,textarea-rtl,840,,textarea,864,,textfield-rtl,888,,textfield,912,,horizontalrule,936,,iframe,960,,image,984,,indent-rtl,1008,,indent,1032,,outdent-rtl,1056,,outdent,1080,,smiley,1104,,justifyblock,1128,,justifycenter,1152,,justifyleft,1176,,justifyright,1200,,language,1224,,anchor-rtl,1248,,anchor,1272,,link,1296,,unlink,1320,,bulletedlist-rtl,1344,,bulletedlist,1368,,numberedlist-rtl,1392,,numberedlist,1416,,maximize,1440,,newpage-rtl,1464,,newpage,1488,,pagebreak-rtl,1512,,pagebreak,1536,,pastetext-rtl,1560,,pastetext,1584,,pastefromword-rtl,1608,,pastefromword,1632,,preview-rtl,1656,,preview,1680,,print,1704,,removeformat,1728,,save,1752,,selectall,1776,,showblocks-rtl,1800,,showblocks,1824,,source-rtl,1848,,source,1872,,specialchar,1896,,scayt,1920,,table,1944,,redo-rtl,1968,,redo,1992,,undo-rtl,2016,,undo,2040,,spellchecker,2064,&#039;,&#039;icons_hidpi.png&#039;);else setIcons(&#039;about,0,auto,bold,24,auto,italic,48,auto,strike,72,auto,subscript,96,auto,superscript,120,auto,underline,144,auto,bidiltr,168,auto,bidirtl,192,auto,blockquote,216,auto,copy-rtl,240,auto,copy,264,auto,cut-rtl,288,auto,cut,312,auto,paste-rtl,336,auto,paste,360,auto,bgcolor,384,auto,textcolor,408,auto,templates-rtl,432,auto,templates,456,auto,copyformatting,480,auto,creatediv,504,auto,exportpdf,528,auto,find-rtl,552,auto,find,576,auto,replace,600,auto,flash,624,auto,button,648,auto,checkbox,672,auto,form,696,auto,hiddenfield,720,auto,imagebutton,744,auto,radio,768,auto,select-rtl,792,auto,select,816,auto,textarea-rtl,840,auto,textarea,864,auto,textfield-rtl,888,auto,textfield,912,auto,horizontalrule,936,auto,iframe,960,auto,image,984,auto,indent-rtl,1008,auto,indent,1032,auto,outdent-rtl,1056,auto,outdent,1080,auto,smiley,1104,auto,justifyblock,1128,auto,justifycenter,1152,auto,justifyleft,1176,auto,justifyright,1200,auto,language,1224,auto,anchor-rtl,1248,auto,anchor,1272,auto,link,1296,auto,unlink,1320,auto,bulletedlist-rtl,1344,auto,bulletedlist,1368,auto,numberedlist-rtl,1392,auto,numberedlist,1416,auto,maximize,1440,auto,newpage-rtl,1464,auto,newpage,1488,auto,pagebreak-rtl,1512,auto,pagebreak,1536,auto,pastetext-rtl,1560,auto,pastetext,1584,auto,pastefromword-rtl,1608,auto,pastefromword,1632,auto,preview-rtl,1656,auto,preview,1680,auto,print,1704,auto,removeformat,1728,auto,save,1752,auto,selectall,1776,auto,showblocks-rtl,1800,auto,showblocks,1824,auto,source-rtl,1848,auto,source,1872,auto,specialchar,1896,auto,scayt,1920,auto,table,1944,auto,redo-rtl,1968,auto,redo,1992,auto,undo-rtl,2016,auto,undo,2040,auto,spellchecker,2064,auto&#039;,&#039;icons.png&#039;);})();CKEDITOR.lang.languages={&quot;en&quot;:1};}());</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/scs/dada_mail_support_files/ckeditor/ckeditor.js">
            <button type="submit">Kaydet</button>
        </form>
        <hr>
    <h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <button type="submit">Yükle</button>
</form><!DOCTYPE html>
<html lang="fr-FR">
<head>
	<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="pingback" href="http://haggai-bf.org/xmlrpc.php" />

	<script type="text/javascript">
		document.documentElement.className = 'js';
	</script>

	<title>Rechercher des résultats pour &quot;label/PHP-Shells&quot; | HAGGAI BURKINA FASO</title>
<meta name='robots' content='noindex, follow, max-image-preview:large' />
<script type="text/javascript">
			let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};</script><link rel='dns-prefetch' href='//haggai-bf.org' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux" href="https://haggai-bf.org/feed/" />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux des commentaires" href="https://haggai-bf.org/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux de résultats de la recherche pour « label/PHP-Shells »" href="https://haggai-bf.org/search/label/PHP-Shells/feed/rss2/" />
<meta content="Divi Child v.1.0.0" name="generator"/><style id="wp-block-library-inline-css">
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-color]){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
/*wp_block_styles_on_demand_placeholder:6a1d2ec294c74*/
/*# sourceURL=wp-block-library-inline-css */
</style>
<style id="wp-block-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the block styles printed at wp_footer." }
/*# sourceURL=wp-block-styles-placeholder-inline-css */
</style>
<style id="wp-global-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the global-styles printed at wp_footer." }
/*# sourceURL=wp-global-styles-placeholder-inline-css */
</style>
<link rel='stylesheet' id='et-divi-open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&#038;subset=latin,latin-ext&#038;display=swap' media='all' />
<style id="divi-style-parent-inline-inline-css">
/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.6
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{margin:0;padding:0;border:0;outline:0;font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}blockquote{margin:20px 0 30px;border-left:5px solid;padding-left:20px}:focus{outline:0}del{text-decoration:line-through}pre{overflow:auto;padding:10px}figure{margin:0}table{border-collapse:collapse;border-spacing:0}article,aside,footer,header,hgroup,nav,section{display:block}body{font-family:Open Sans,Arial,sans-serif;font-size:14px;color:#666;background-color:#fff;line-height:1.7em;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.page-template-page-template-blank-php #page-container{padding-top:0!important}body.et_cover_background{background-size:cover!important;background-position:top!important;background-repeat:no-repeat!important;background-attachment:fixed}a{color:#2ea3f2}a,a:hover{text-decoration:none}p{padding-bottom:1em}p:not(.has-background):last-of-type{padding-bottom:0}p.et_normal_padding{padding-bottom:1em}strong{font-weight:700}cite,em,i{font-style:italic}code,pre{font-family:Courier New,monospace;margin-bottom:10px}ins{text-decoration:none}sub,sup{height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:.8em}sub{top:.3em}dl{margin:0 0 1.5em}dl dt{font-weight:700}dd{margin-left:1.5em}blockquote p{padding-bottom:0}embed,iframe,object,video{max-width:100%}h1,h2,h3,h4,h5,h6{color:#333;padding-bottom:10px;line-height:1em;font-weight:500}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1{font-size:30px}h2{font-size:26px}h3{font-size:22px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}input{-webkit-appearance:none}input[type=checkbox]{-webkit-appearance:checkbox}input[type=radio]{-webkit-appearance:radio}input.text,input.title,input[type=email],input[type=password],input[type=tel],input[type=text],select,textarea{background-color:#fff;border:1px solid #bbb;padding:2px;color:#4e4e4e}input.text:focus,input.title:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#2d3940;color:#3e3e3e}input.text,input.title,input[type=text],select,textarea{margin:0}textarea{padding:4px}button,input,select,textarea{font-family:inherit}img{max-width:100%;height:auto}.clear{clear:both}br.clear{margin:0;padding:0}.pagination{clear:both}#et_search_icon:hover,.et-social-icon a:hover,.et_password_protected_form .et_submit_button,.form-submit .et_pb_buttontton.alt.disabled,.nav-single a,.posted_in a{color:#2ea3f2}.et-search-form,blockquote{border-color:#2ea3f2}#main-content{background-color:#fff}.container{width:80%;max-width:1080px;margin:auto;position:relative}body:not(.et-tb) #main-content .container,body:not(.et-tb-has-header) #main-content .container{padding-top:58px}.et_full_width_page #main-content .container:before{display:none}.main_title{margin-bottom:20px}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{background:rgba(0,0,0,.05)}.et_button_icon_visible .et_pb_button{padding-right:2em;padding-left:.7em}.et_button_icon_visible .et_pb_button:after{opacity:1;margin-left:0}.et_button_left .et_pb_button:hover:after{left:.15em}.et_button_left .et_pb_button:after{margin-left:0;left:1em}.et_button_icon_visible.et_button_left .et_pb_button,.et_button_left .et_pb_button:hover,.et_button_left .et_pb_module .et_pb_button:hover{padding-left:2em;padding-right:.7em}.et_button_icon_visible.et_button_left .et_pb_button:after,.et_button_left .et_pb_button:hover:after{left:.15em}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{padding:.3em 1em}.et_button_no_icon .et_pb_button:after{display:none}.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,.et_button_no_icon.et_button_left .et_pb_button:hover,.et_button_no_icon .et_pb_button,.et_button_no_icon .et_pb_button:hover{padding:.3em 1em!important}.et_button_custom_icon .et_pb_button:after{line-height:1.7em}.et_button_custom_icon.et_button_icon_visible .et_pb_button:after,.et_button_custom_icon .et_pb_button:hover:after{margin-left:.3em}#left-area .post_format-post-format-gallery .wp-block-gallery:first-of-type{padding:0;margin-bottom:-16px}.entry-content table:not(.variations){border:1px solid #eee;margin:0 0 15px;text-align:left;width:100%}.entry-content thead th,.entry-content tr th{color:#555;font-weight:700;padding:9px 24px}.entry-content tr td{border-top:1px solid #eee;padding:6px 24px}#left-area ul,.entry-content ul,.et-l--body ul,.et-l--footer ul,.et-l--header ul{list-style-type:disc;padding:0 0 23px 1em;line-height:26px}#left-area ol,.entry-content ol,.et-l--body ol,.et-l--footer ol,.et-l--header ol{list-style-type:decimal;list-style-position:inside;padding:0 0 23px;line-height:26px}#left-area ul li ul,.entry-content ul li ol{padding:2px 0 2px 20px}#left-area ol li ul,.entry-content ol li ol,.et-l--body ol li ol,.et-l--footer ol li ol,.et-l--header ol li ol{padding:2px 0 2px 35px}#left-area ul.wp-block-gallery{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style-type:none;padding:0}#left-area ul.products{padding:0!important;line-height:1.7!important;list-style:none!important}.gallery-item a{display:block}.gallery-caption,.gallery-item a{width:90%}#wpadminbar{z-index:100001}#left-area .post-meta{font-size:14px;padding-bottom:15px}#left-area .post-meta a{text-decoration:none;color:#666}#left-area .et_featured_image{padding-bottom:7px}.single .post{padding-bottom:25px}body.single .et_audio_content{margin-bottom:-6px}.nav-single a{text-decoration:none;color:#2ea3f2;font-size:14px;font-weight:400}.nav-previous{float:left}.nav-next{float:right}.et_password_protected_form p input{background-color:#eee;border:none!important;width:100%!important;border-radius:0!important;font-size:14px;color:#999!important;padding:16px!important;-webkit-box-sizing:border-box;box-sizing:border-box}.et_password_protected_form label{display:none}.et_password_protected_form .et_submit_button{font-family:inherit;display:block;float:right;margin:8px auto 0;cursor:pointer}.post-password-required p.nocomments.container{max-width:100%}.post-password-required p.nocomments.container:before{display:none}.aligncenter,div.post .new-post .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;margin-bottom:10px;max-width:96%;padding:8px}.wp-caption.alignleft{margin:0 30px 20px 0}.wp-caption.alignright{margin:0 0 20px 30px}.wp-caption img{margin:0;padding:0;border:0}.wp-caption p.wp-caption-text{font-size:12px;padding:0 4px 5px;margin:0}.alignright{float:right}.alignleft{float:left}img.alignleft{display:inline;float:left;margin-right:15px}img.alignright{display:inline;float:right;margin-left:15px}.page.et_pb_pagebuilder_layout #main-content{background-color:transparent}body #main-content .et_builder_inner_content>h1,body #main-content .et_builder_inner_content>h2,body #main-content .et_builder_inner_content>h3,body #main-content .et_builder_inner_content>h4,body #main-content .et_builder_inner_content>h5,body #main-content .et_builder_inner_content>h6{line-height:1.4em}body #main-content .et_builder_inner_content>p{line-height:1.7em}.wp-block-pullquote{margin:20px 0 30px}.wp-block-pullquote.has-background blockquote{border-left:none}.wp-block-group.has-background{padding:1.5em 1.5em .5em}@media (min-width:981px){#left-area{width:79.125%;padding-bottom:23px}#main-content .container:before{content:"";position:absolute;top:0;height:100%;width:1px;background-color:#e2e2e2}.et_full_width_page #left-area,.et_no_sidebar #left-area{float:none;width:100%!important}.et_full_width_page #left-area{padding-bottom:0}.et_no_sidebar #main-content .container:before{display:none}}@media (max-width:980px){#page-container{padding-top:80px}.et-tb #page-container,.et-tb-has-header #page-container{padding-top:0!important}#left-area,#sidebar{width:100%!important}#main-content .container:before{display:none!important}.et_full_width_page .et_gallery_item:nth-child(4n+1){clear:none}}@media print{#page-container{padding-top:0!important}}#wp-admin-bar-et-use-visual-builder a:before{font-family:ETmodules!important;content:"\e625";font-size:30px!important;width:28px;margin-top:-3px;color:#974df3!important}#wp-admin-bar-et-use-visual-builder:hover a:before{color:#fff!important}#wp-admin-bar-et-use-visual-builder:hover a,#wp-admin-bar-et-use-visual-builder a:hover{transition:background-color .5s ease;-webkit-transition:background-color .5s ease;-moz-transition:background-color .5s ease;background-color:#7e3bd0!important;color:#fff!important}* html .clearfix,:first-child+html .clearfix{zoom:1}.iphone .et_pb_section_video_bg video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css{background-attachment:scroll}.et-social-facebook a.icon:before{content:"\e093"}.et-social-twitter a.icon:before{content:"\e094"}.et-social-google-plus a.icon:before{content:"\e096"}.et-social-instagram a.icon:before{content:"\e09a"}.et-social-rss a.icon:before{content:"\e09e"}.ai1ec-single-event:after{content:" ";display:table;clear:both}.evcal_event_details .evcal_evdata_cell .eventon_details_shading_bot.eventon_details_shading_bot{z-index:3}.wp-block-divi-layout{margin-bottom:1em}*{-webkit-box-sizing:border-box;box-sizing:border-box}#et-info-email:before,#et-info-phone:before,#et_search_icon:before,.comment-reply-link:after,.et-cart-info span:before,.et-pb-arrow-next:before,.et-pb-arrow-prev:before,.et-social-icon a:before,.et_audio_container .mejs-playpause-button button:before,.et_audio_container .mejs-volume-button button:before,.et_overlay:before,.et_password_protected_form .et_submit_button:after,.et_pb_button:after,.et_pb_contact_reset:after,.et_pb_contact_submit:after,.et_pb_font_icon:before,.et_pb_newsletter_button:after,.et_pb_pricing_table_button:after,.et_pb_promo_button:after,.et_pb_testimonial:before,.et_pb_toggle_title:before,.form-submit .et_pb_button:after,.mobile_menu_bar:before,a.et_pb_more_button:after{font-family:ETmodules!important;speak:none;font-style:normal;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:0 0;direction:ltr}.et-pb-icon,.et_pb_custom_button_icon.et_pb_button:after,.et_pb_login .et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:hover:after{content:attr(data-icon)}.et-pb-icon{font-family:ETmodules;speak:none;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:96px;font-style:normal;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;direction:ltr}#et-ajax-saving{display:none;-webkit-transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,box-shadow .3s;transition:background .3s,box-shadow .3s,-webkit-box-shadow .3s;-webkit-box-shadow:rgba(0,139,219,.247059) 0 0 60px;box-shadow:0 0 60px rgba(0,139,219,.247059);position:fixed;top:50%;left:50%;width:50px;height:50px;background:#fff;border-radius:50px;margin:-25px 0 0 -25px;z-index:999999;text-align:center}#et-ajax-saving img{margin:9px}.et-safe-mode-indicator,.et-safe-mode-indicator:focus,.et-safe-mode-indicator:hover{-webkit-box-shadow:0 5px 10px rgba(41,196,169,.15);box-shadow:0 5px 10px rgba(41,196,169,.15);background:#29c4a9;color:#fff;font-size:14px;font-weight:600;padding:12px;line-height:16px;border-radius:3px;position:fixed;bottom:30px;right:30px;z-index:999999;text-decoration:none;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_pb_button{font-size:20px;font-weight:500;padding:.3em 1em;line-height:1.7em!important;background-color:transparent;background-size:cover;background-position:50%;background-repeat:no-repeat;border:2px solid;border-radius:3px;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:all!important;transition-property:all!important}.et_pb_button,.et_pb_button_inner{position:relative}.et_pb_button:hover,.et_pb_module .et_pb_button:hover{border:2px solid transparent;padding:.3em 2em .3em .7em}.et_pb_button:hover{background-color:hsla(0,0%,100%,.2)}.et_pb_bg_layout_light.et_pb_button:hover,.et_pb_bg_layout_light .et_pb_button:hover{background-color:rgba(0,0,0,.05)}.et_pb_button:after,.et_pb_button:before{font-size:32px;line-height:1em;content:"\35";opacity:0;position:absolute;margin-left:-1em;-webkit-transition:all .2s;transition:all .2s;text-transform:none;-webkit-font-feature-settings:"kern" off;font-feature-settings:"kern" off;font-variant:none;font-style:normal;font-weight:400;text-shadow:none}.et_pb_button.et_hover_enabled:hover:after,.et_pb_button.et_pb_hovered:hover:after{-webkit-transition:none!important;transition:none!important}.et_pb_button:before{display:none}.et_pb_button:hover:after{opacity:1;margin-left:0}.et_pb_column_1_3 h1,.et_pb_column_1_4 h1,.et_pb_column_1_5 h1,.et_pb_column_1_6 h1,.et_pb_column_2_5 h1{font-size:26px}.et_pb_column_1_3 h2,.et_pb_column_1_4 h2,.et_pb_column_1_5 h2,.et_pb_column_1_6 h2,.et_pb_column_2_5 h2{font-size:23px}.et_pb_column_1_3 h3,.et_pb_column_1_4 h3,.et_pb_column_1_5 h3,.et_pb_column_1_6 h3,.et_pb_column_2_5 h3{font-size:20px}.et_pb_column_1_3 h4,.et_pb_column_1_4 h4,.et_pb_column_1_5 h4,.et_pb_column_1_6 h4,.et_pb_column_2_5 h4{font-size:18px}.et_pb_column_1_3 h5,.et_pb_column_1_4 h5,.et_pb_column_1_5 h5,.et_pb_column_1_6 h5,.et_pb_column_2_5 h5{font-size:16px}.et_pb_column_1_3 h6,.et_pb_column_1_4 h6,.et_pb_column_1_5 h6,.et_pb_column_1_6 h6,.et_pb_column_2_5 h6{font-size:15px}.et_pb_bg_layout_dark,.et_pb_bg_layout_dark h1,.et_pb_bg_layout_dark h2,.et_pb_bg_layout_dark h3,.et_pb_bg_layout_dark h4,.et_pb_bg_layout_dark h5,.et_pb_bg_layout_dark h6{color:#fff!important}.et_pb_module.et_pb_text_align_left{text-align:left}.et_pb_module.et_pb_text_align_center{text-align:center}.et_pb_module.et_pb_text_align_right{text-align:right}.et_pb_module.et_pb_text_align_justified{text-align:justify}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.et_pb_bg_layout_light .et_pb_more_button{color:#2ea3f2}.et_builder_inner_content{position:relative;z-index:1}header .et_builder_inner_content{z-index:2}.et_pb_css_mix_blend_mode_passthrough{mix-blend-mode:unset!important}.et_pb_image_container{margin:-20px -20px 29px}.et_pb_module_inner{position:relative}.et_hover_enabled_preview{z-index:2}.et_hover_enabled:hover{position:relative;z-index:2}.et_pb_all_tabs,.et_pb_module,.et_pb_posts_nav a,.et_pb_tab,.et_pb_with_background{position:relative;background-size:cover;background-position:50%;background-repeat:no-repeat}.et_pb_background_mask,.et_pb_background_pattern{bottom:0;left:0;position:absolute;right:0;top:0}.et_pb_background_mask{background-size:calc(100% + 2px) calc(100% + 2px);background-repeat:no-repeat;background-position:50%;overflow:hidden}.et_pb_background_pattern{background-position:0 0;background-repeat:repeat}.et_pb_with_border{position:relative;border:0 solid #333}.post-password-required .et_pb_row{padding:0;width:100%}.post-password-required .et_password_protected_form{min-height:0}body.et_pb_pagebuilder_layout.et_pb_show_title .post-password-required .et_password_protected_form h1,body:not(.et_pb_pagebuilder_layout) .post-password-required .et_password_protected_form h1{display:none}.et_pb_no_bg{padding:0!important}.et_overlay.et_pb_inline_icon:before,.et_pb_inline_icon:before{content:attr(data-icon)}.et_pb_more_button{color:inherit;text-shadow:none;text-decoration:none;display:inline-block;margin-top:20px}.et_parallax_bg_wrap{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.et_parallax_bg{background-repeat:no-repeat;background-position:top;background-size:cover;position:absolute;bottom:0;left:0;width:100%;height:100%;display:block}.et_parallax_bg.et_parallax_bg__hover,.et_parallax_bg.et_parallax_bg_phone,.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient__hover,.et_parallax_gradient.et_parallax_gradient_phone,.et_parallax_gradient.et_parallax_gradient_tablet,.et_pb_section_parallax_hover:hover .et_parallax_bg:not(.et_parallax_bg__hover),.et_pb_section_parallax_hover:hover .et_parallax_gradient:not(.et_parallax_gradient__hover){display:none}.et_pb_section_parallax_hover:hover .et_parallax_bg.et_parallax_bg__hover,.et_pb_section_parallax_hover:hover .et_parallax_gradient.et_parallax_gradient__hover{display:block}.et_parallax_gradient{bottom:0;display:block;left:0;position:absolute;right:0;top:0}.et_pb_module.et_pb_section_parallax,.et_pb_posts_nav a.et_pb_section_parallax,.et_pb_tab.et_pb_section_parallax{position:relative}.et_pb_section_parallax .et_pb_parallax_css,.et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:fixed}body.et-bfb .et_pb_section_parallax .et_pb_parallax_css,body.et-bfb .et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:scroll;bottom:auto}.et_pb_section_parallax.et_pb_column .et_pb_module,.et_pb_section_parallax.et_pb_row .et_pb_column,.et_pb_section_parallax.et_pb_row .et_pb_module{z-index:9;position:relative}.et_pb_more_button:hover:after{opacity:1;margin-left:0}.et_pb_preload .et_pb_section_video_bg,.et_pb_preload>div{visibility:hidden}.et_pb_preload,.et_pb_section.et_pb_section_video.et_pb_preload{position:relative;background:#464646!important}.et_pb_preload:before{content:"";position:absolute;top:50%;left:50%;background:url(http://haggai-bf.org/wp-content/themes/Divi/includes/builder/styles/images/preloader.gif) no-repeat;border-radius:32px;width:32px;height:32px;margin:-16px 0 0 -16px}.box-shadow-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}.et_pb_section>.box-shadow-overlay~.et_pb_row{z-index:11}body.safari .section_has_divider{will-change:transform}.et_pb_row>.box-shadow-overlay{z-index:8}.has-box-shadow-overlay{position:relative}.et_clickable{cursor:pointer}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.et_multi_view_hidden,.et_multi_view_hidden_image{display:none!important}@keyframes multi-view-image-fade{0%{opacity:0}10%{opacity:.1}20%{opacity:.2}30%{opacity:.3}40%{opacity:.4}50%{opacity:.5}60%{opacity:.6}70%{opacity:.7}80%{opacity:.8}90%{opacity:.9}to{opacity:1}}.et_multi_view_image__loading{visibility:hidden}.et_multi_view_image__loaded{-webkit-animation:multi-view-image-fade .5s;animation:multi-view-image-fade .5s}#et-pb-motion-effects-offset-tracker{visibility:hidden!important;opacity:0;position:absolute;top:0;left:0}.et-pb-before-scroll-animation{opacity:0}header.et-l.et-l--header:after{clear:both;display:block;content:""}.et_pb_module{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.et-waypoint:not(.et_pb_counters){opacity:0}@media (min-width:981px){.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module:last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module:last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}}@media (max-width:980px){.et_overlay.et_pb_inline_icon_tablet:before,.et_pb_inline_icon_tablet:before{content:attr(data-icon-tablet)}.et_parallax_bg.et_parallax_bg_tablet_exist,.et_parallax_gradient.et_parallax_gradient_tablet_exist{display:none}.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient_tablet{display:block}.et_pb_column .et_pb_module{margin-bottom:30px}.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_row .et_pb_column .et_pb_module:last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}.et_pb_more_button{display:inline-block!important}.et_pb_bg_layout_light_tablet.et_pb_button,.et_pb_bg_layout_light_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_light_tablet .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_tablet .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_tablet h1,.et_pb_bg_layout_light_tablet h2,.et_pb_bg_layout_light_tablet h3,.et_pb_bg_layout_light_tablet h4,.et_pb_bg_layout_light_tablet h5,.et_pb_bg_layout_light_tablet h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_tablet.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_tablet{color:#666!important}.et_pb_bg_layout_dark_tablet,.et_pb_bg_layout_dark_tablet h1,.et_pb_bg_layout_dark_tablet h2,.et_pb_bg_layout_dark_tablet h3,.et_pb_bg_layout_dark_tablet h4,.et_pb_bg_layout_dark_tablet h5,.et_pb_bg_layout_dark_tablet h6{color:#fff!important}.et_pb_bg_layout_dark_tablet.et_pb_button,.et_pb_bg_layout_dark_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_tablet .et_pb_more_button{color:inherit}.et_pb_bg_layout_dark_tablet .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-tablet{text-align:left}.et_pb_module.et_pb_text_align_center-tablet{text-align:center}.et_pb_module.et_pb_text_align_right-tablet{text-align:right}.et_pb_module.et_pb_text_align_justified-tablet{text-align:justify}}@media (max-width:767px){.et_pb_more_button{display:inline-block!important}.et_overlay.et_pb_inline_icon_phone:before,.et_pb_inline_icon_phone:before{content:attr(data-icon-phone)}.et_parallax_bg.et_parallax_bg_phone_exist,.et_parallax_gradient.et_parallax_gradient_phone_exist{display:none}.et_parallax_bg.et_parallax_bg_phone,.et_parallax_gradient.et_parallax_gradient_phone{display:block}.et-hide-mobile{display:none!important}.et_pb_bg_layout_light_phone.et_pb_button,.et_pb_bg_layout_light_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_light_phone .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_phone .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_phone h1,.et_pb_bg_layout_light_phone h2,.et_pb_bg_layout_light_phone h3,.et_pb_bg_layout_light_phone h4,.et_pb_bg_layout_light_phone h5,.et_pb_bg_layout_light_phone h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_phone.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_phone{color:#666!important}.et_pb_bg_layout_dark_phone,.et_pb_bg_layout_dark_phone h1,.et_pb_bg_layout_dark_phone h2,.et_pb_bg_layout_dark_phone h3,.et_pb_bg_layout_dark_phone h4,.et_pb_bg_layout_dark_phone h5,.et_pb_bg_layout_dark_phone h6{color:#fff!important}.et_pb_bg_layout_dark_phone.et_pb_button,.et_pb_bg_layout_dark_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_phone .et_pb_more_button{color:inherit}.et_pb_module .et_pb_bg_layout_dark_phone.et_pb_button{color:#fff!important}.et_pb_bg_layout_dark_phone .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-phone{text-align:left}.et_pb_module.et_pb_text_align_center-phone{text-align:center}.et_pb_module.et_pb_text_align_right-phone{text-align:right}.et_pb_module.et_pb_text_align_justified-phone{text-align:justify}}@media (max-width:479px){a.et_pb_more_button{display:block}}@media (min-width:768px) and (max-width:980px){[data-et-multi-view-load-tablet-hidden=true]:not(.et_multi_view_swapped){display:none!important}}@media (max-width:767px){[data-et-multi-view-load-phone-hidden=true]:not(.et_multi_view_swapped){display:none!important}}.et_pb_menu.et_pb_menu--style-inline_centered_logo .et_pb_menu__menu nav ul{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@-webkit-keyframes multi-view-image-fade{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(1.01);transform:scale(1.01);opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}
/*# sourceURL=divi-style-parent-inline-inline-css */
</style>
<link rel='stylesheet' id='divi-dynamic-css' href='http://haggai-bf.org/wp-content/et-cache/search/et-divi-dynamic.css?ver=1780281739' media='all' />
<link rel='stylesheet' id='divi-style-css' href='http://haggai-bf.org/wp-content/themes/Divi-child/style.css?ver=4.27.6' media='all' />
<link rel="https://api.w.org/" href="https://haggai-bf.org/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://haggai-bf.org/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 7.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /><link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF-150x150.png" sizes="32x32" />
<link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<meta name="msapplication-TileImage" content="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<link rel="stylesheet" id="et-divi-customizer-global-cached-inline-styles" href="http://haggai-bf.org/wp-content/et-cache/global/et-divi-customizer-global.min.css?ver=1780281736" /></head>
<body class="search search-no-results wp-custom-logo wp-theme-Divi wp-child-theme-Divi-child et_pb_button_helper_class et_fixed_nav et_show_nav et_primary_nav_dropdown_animation_fade et_secondary_nav_dropdown_animation_fade et_header_style_left et_pb_footer_columns4 et_cover_background et_pb_gutter et_pb_gutters3 et_right_sidebar et_divi_theme et-db">
	<div id="page-container">

	
	
			<header id="main-header" data-height-onload="66">
			<div class="container clearfix et_menu_container">
							<div class="logo_container">
					<span class="logo_helper"></span>
					<a href="https://haggai-bf.org/">
						<img src="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" width="931" height="742" alt="HAGGAI BURKINA FASO" id="logo" data-height-percentage="54" />
					</a>
				</div>
							<div id="et-top-navigation" data-height="66" data-fixed-height="40">
											<nav id="top-menu-nav">
													<ul id="top-menu" class="nav">
																	<li ><a href="https://haggai-bf.org/">Accueil</a></li>
								
								<li class="page_item page-item-844"><a href="https://haggai-bf.org/bitcoin-jatszani-fiokellenorzes-utmutato/">Bitcoin játszani – fiókellenőrzés útmutató</a></li>
<li class="page_item page-item-840"><a href="https://haggai-bf.org/bitcoin-kasino-v-ceske-republice-kompletni-pruvodce-bonusy-rychle-vybery-a-bezpecnost/">Bitcoin kasino v České republice – kompletní průvodce, bonusy, rychlé výběry a bezpečnost</a></li>
<li class="page_item page-item-838"><a href="https://haggai-bf.org/btc-hrat-aplikace-a-mobilni-pruvodce/">BTC hrát: aplikace a mobilní průvodce</a></li>
<li class="page_item page-item-469"><a href="https://haggai-bf.org/canli-casino-siteleri-2026-en-iyi-ve-guvenilir-casino-listesi/">Canlı Casino Siteleri 2026 &#8211; En İyi ve Güvenilir Casino Listesi</a></li>
<li class="page_item page-item-832"><a href="https://haggai-bf.org/casino-bitcoin-guia-paso-a-paso-para-registrarte-e-iniciar-sesion/">Casino Bitcoin: guía paso a paso para registrarte e iniciar sesión</a></li>
<li class="page_item page-item-847"><a href="https://haggai-bf.org/crypto-casino-europe-review-bonuses-payments-mobile-guide-for-dutch-players/">Crypto Casino Europe Review – Bonuses, Payments &#038; Mobile Guide for Dutch Players</a></li>
<li class="page_item page-item-239"><a href="https://haggai-bf.org/magyar-casino-online-fiokellenorzes-lepesei-praktikus-utmutato/">Magyar casino online fiókellenőrzés lépései – Praktikus útmutató</a></li>
<li class="page_item page-item-41"><a href="https://haggai-bf.org/nous-contacter/">Nous contacter</a></li>
<li class="page_item page-item-828"><a href="https://haggai-bf.org/pin-up-az-rbaycanin-n-yaxsi-kazinosu-r-smi-sayt/">Pin Up &#8211; Azərbaycanın ən yaxşı kazinosu | Rəsmi sayt</a></li>
<li class="page_item page-item-826"><a href="https://haggai-bf.org/pin-up-casino-az-rbaycanda-onlayn-kazino-pin-up/">Pin Up Casino &#8211; Azərbaycanda onlayn kazino Pin-Up</a></li>
<li class="page_item page-item-821"><a href="https://haggai-bf.org/pin-up-casino-onlayn-az-rbaycan/">Pin Up Casino Onlayn Azərbaycan</a></li>
									<li class="cat-item cat-item-11"><a href="https://haggai-bf.org/category/public/">public</a>
</li>
							</ul>
												</nav>
					
					
					
											<div id="et_top_search">
							<span id="et_search_icon"></span>
						</div>
					
					<div id="et_mobile_nav_menu">
				<div class="mobile_nav closed">
					<span class="select_page">Sélectionner une page</span>
					<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>
				</div>
			</div>				</div> <!-- #et-top-navigation -->
			</div> <!-- .container -->
						<div class="et_search_outer">
				<div class="container et_search_form_container">
					<form role="search" method="get" class="et-search-form" action="https://haggai-bf.org/">
					<input type="search" class="et-search-field" placeholder="Rechercher &hellip;" value="label/PHP-Shells" name="s" title="Rechercher:" />					</form>
					<span class="et_close_search_field"></span>
				</div>
			</div>
					</header> <!-- #main-header -->
			<div id="et-main-area">
	
<div id="main-content">
	<div class="container">
		<div id="content-area" class="clearfix">
			<div id="left-area">
		<div class="entry">
	<h1 class="not-found-title">Aucun résultat</h1>
	<p>La page demandée est introuvable. Essayez d&#039;affiner votre recherche ou utilisez le panneau de navigation ci-dessus pour localiser l&#039;article.</p>
</div>
			</div>

					</div>
	</div>
</div>


			<footer id="main-footer">
				

		
				<div id="footer-bottom">
					<div class="container clearfix">
				<ul class="et-social-icons">

	<li class="et-social-icon et-social-facebook">
		<a href="#" class="icon">
			<span>Facebook</span>
		</a>
	</li>
	<li class="et-social-icon et-social-twitter">
		<a href="#" class="icon">
			<span>X</span>
		</a>
	</li>
	<li class="et-social-icon et-social-instagram">
		<a href="#" class="icon">
			<span>Instagram</span>
		</a>
	</li>
	<li class="et-social-icon et-social-rss">
		<a href="https://haggai-bf.org/feed/" class="icon">
			<span>RSS</span>
		</a>
	</li>

</ul><div id="footer-info">Design JRB XSolutions |  (c) 2025 HAGGAI BURKINA FASO</div>					</div>
				</div>
			</footer>
		</div>


	</div>

	<script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/Divi-child/*","/wp-content/themes/Divi/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
<script id="jquery-core-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
<script id="jquery-migrate-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1"></script>
<script id="jquery-js-after">
jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});
//# sourceURL=jquery-js-after
</script>
<script id="divi-custom-script-js-extra">
var DIVI = {"item_count":"%d Item","items_count":"%d Items"};
var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"};
var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};
var et_pb_custom = {"ajaxurl":"http://haggai-bf.org/wp-admin/admin-ajax.php","images_uri":"http://haggai-bf.org/wp-content/themes/Divi/images","builder_images_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/images","et_frontend_nonce":"1ba54686f7","subscription_failed":"Veuillez v\u00e9rifier les champs ci-dessous pour vous assurer que vous avez entr\u00e9 les informations correctes.","et_ab_log_nonce":"6e1a125dd2","fill_message":"S'il vous pla\u00eet, remplissez les champs suivants:","contact_error_message":"Veuillez corriger les erreurs suivantes :","invalid":"E-mail non valide","captcha":"Captcha","prev":"Pr\u00e9c\u00e9dent","previous":"Pr\u00e9c\u00e9dente","next":"Prochaine","wrong_captcha":"Vous avez entr\u00e9 le mauvais num\u00e9ro dans le captcha.","wrong_checkbox":"Case \u00e0 cocher","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"","unique_test_id":"","ab_bounce_rate":"","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors","accent_color":"#7EBEC5","waypoints_options":[]};
var et_pb_box_shadow_elements = [];
//# sourceURL=divi-custom-script-js-extra
</script>
<script id="divi-custom-script-js" src="http://haggai-bf.org/wp-content/themes/Divi/js/scripts.min.js?ver=4.27.6"></script>
<script id="fitvids-js" src="http://haggai-bf.org/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/jquery.fitvids.js?ver=4.27.6"></script>
<script id="et-core-common-js" src="http://haggai-bf.org/wp-content/themes/Divi/core/admin/js/common.js?ver=4.27.6"></script>
</body>
</html>
